123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799 |
- /*
- RequireJS 2.1.11 Copyright (c) 2010-2014, The Dojo Foundation All Rights Reserved.
- Available via the MIT or new BSD license.
- see: http://github.com/jrburke/requirejs for details
- */
- var requirejs, require, define;
- (function (ca) {
- function G(b) {
- return "[object Function]" === M.call(b)
- }
- function H(b) {
- return "[object Array]" === M.call(b)
- }
- function v(b, c) {
- if (b) {
- var d;
- for (d = 0; d < b.length && (!b[d] || !c(b[d], d, b)); d += 1) ;
- }
- }
- function U(b, c) {
- if (b) {
- var d;
- for (d = b.length - 1; -1 < d && (!b[d] || !c(b[d], d, b)); d -= 1) ;
- }
- }
- function s(b, c) {
- return ga.call(b, c)
- }
- function j(b, c) {
- return s(b, c) && b[c]
- }
- function B(b, c) {
- for (var d in b) if (s(b, d) && c(b[d], d)) break
- }
- function V(b, c, d, g) {
- c && B(c, function (c, h) {
- if (d || !s(b, h)) g && "object" === typeof c && c && !H(c) && !G(c) && !(c instanceof
- RegExp) ? (b[h] || (b[h] = {}), V(b[h], c, d, g)) : b[h] = c
- });
- return b
- }
- function t(b, c) {
- return function () {
- return c.apply(b, arguments)
- }
- }
- function da(b) {
- throw b;
- }
- function ea(b) {
- if (!b) return b;
- var c = ca;
- v(b.split("."), function (b) {
- c = c[b]
- });
- return c
- }
- function C(b, c, d, g) {
- c = Error(c + "\nhttp://requirejs.org/docs/errors.html#" + b);
- c.requireType = b;
- c.requireModules = g;
- d && (c.originalError = d);
- return c
- }
- function ha(b) {
- function c(a, e, b) {
- var f, n, c, d, g, h, i, I = e && e.split("/");
- n = I;
- var m = l.map, k = m && m["*"];
- if (a && "." === a.charAt(0)) if (e) {
- n =
- I.slice(0, I.length - 1);
- a = a.split("/");
- e = a.length - 1;
- l.nodeIdCompat && R.test(a[e]) && (a[e] = a[e].replace(R, ""));
- n = a = n.concat(a);
- d = n.length;
- for (e = 0; e < d; e++) if (c = n[e], "." === c) n.splice(e, 1), e -= 1; else if (".." === c) if (1 === e && (".." === n[2] || ".." === n[0])) break; else 0 < e && (n.splice(e - 1, 2), e -= 2);
- a = a.join("/")
- } else 0 === a.indexOf("./") && (a = a.substring(2));
- if (b && m && (I || k)) {
- n = a.split("/");
- e = n.length;
- a:for (; 0 < e; e -= 1) {
- d = n.slice(0, e).join("/");
- if (I) for (c = I.length; 0 < c; c -= 1) if (b = j(m, I.slice(0, c).join("/"))) if (b = j(b, d)) {
- f = b;
- g = e;
- break a
- }
- !h && (k && j(k, d)) && (h = j(k, d), i = e)
- }
- !f && h && (f = h, g = i);
- f && (n.splice(0, g, f), a = n.join("/"))
- }
- return (f = j(l.pkgs, a)) ? f : a
- }
- function d(a) {
- z && v(document.getElementsByTagName("script"), function (e) {
- if (e.getAttribute("data-requiremodule") === a && e.getAttribute("data-requirecontext") === i.contextName) return e.parentNode.removeChild(e), !0
- })
- }
- function g(a) {
- var e = j(l.paths, a);
- if (e && H(e) && 1 < e.length) return e.shift(), i.require.undef(a), i.require([a]), !0
- }
- function u(a) {
- var e, b = a ? a.indexOf("!") : -1;
- -1 < b && (e = a.substring(0,
- b), a = a.substring(b + 1, a.length));
- return [e, a]
- }
- function m(a, e, b, f) {
- var n, d, g = null, h = e ? e.name : null, l = a, m = !0, k = "";
- a || (m = !1, a = "_@r" + (M += 1));
- a = u(a);
- g = a[0];
- a = a[1];
- g && (g = c(g, h, f), d = j(p, g));
- a && (g ? k = d && d.normalize ? d.normalize(a, function (a) {
- return c(a, h, f)
- }) : c(a, h, f) : (k = c(a, h, f), a = u(k), g = a[0], k = a[1], b = !0, n = i.nameToUrl(k)));
- b = g && !d && !b ? "_unnormalized" + (Q += 1) : "";
- return {
- prefix: g,
- name: k,
- parentMap: e,
- unnormalized: !!b,
- url: n,
- originalName: l,
- isDefine: m,
- id: (g ? g + "!" + k : k) + b
- }
- }
- function q(a) {
- var e = a.id, b = j(k, e);
- b || (b = k[e] = new i.Module(a));
- return b
- }
- function r(a, e, b) {
- var f = a.id, n = j(k, f);
- if (s(p, f) && (!n || n.defineEmitComplete)) "defined" === e && b(p[f]); else if (n = q(a), n.error && "error" === e) b(n.error); else n.on(e, b)
- }
- function w(a, e) {
- var b = a.requireModules, f = !1;
- if (e) e(a); else if (v(b, function (e) {
- if (e = j(k, e)) e.error = a, e.events.error && (f = !0, e.emit("error", a))
- }), !f) h.onError(a)
- }
- function x() {
- S.length && (ia.apply(A, [A.length, 0].concat(S)), S = [])
- }
- function y(a) {
- delete k[a];
- delete W[a]
- }
- function F(a, e, b) {
- var f = a.map.id;
- a.error ? a.emit("error", a.error) : (e[f] =
- !0, v(a.depMaps, function (f, c) {
- var d = f.id, g = j(k, d);
- g && (!a.depMatched[c] && !b[d]) && (j(e, d) ? (a.defineDep(c, p[d]), a.check()) : F(g, e, b))
- }), b[f] = !0)
- }
- function D() {
- var a, e, b = (a = 1E3 * l.waitSeconds) && i.startTime + a < (new Date).getTime(), f = [], c = [], h = !1,
- k = !0;
- if (!X) {
- X = !0;
- B(W, function (a) {
- var i = a.map, m = i.id;
- if (a.enabled && (i.isDefine || c.push(a), !a.error)) if (!a.inited && b) g(m) ? h = e = !0 : (f.push(m), d(m)); else if (!a.inited && (a.fetched && i.isDefine) && (h = !0, !i.prefix)) return k = !1
- });
- if (b && f.length) return a = C("timeout", "Load timeout for modules: " +
- f, null, f), a.contextName = i.contextName, w(a);
- k && v(c, function (a) {
- F(a, {}, {})
- });
- if ((!b || e) && h) if ((z || fa) && !Y) Y = setTimeout(function () {
- Y = 0;
- D()
- }, 50);
- X = !1
- }
- }
- function E(a) {
- s(p, a[0]) || q(m(a[0], null, !0)).init(a[1], a[2])
- }
- function K(a) {
- var a = a.currentTarget || a.srcElement, e = i.onScriptLoad;
- a.detachEvent && !Z ? a.detachEvent("onreadystatechange", e) : a.removeEventListener("load", e, !1);
- e = i.onScriptError;
- (!a.detachEvent || Z) && a.removeEventListener("error", e, !1);
- return {node: a, id: a && a.getAttribute("data-requiremodule")}
- }
- function L() {
- var a;
- for (x(); A.length;) {
- a = A.shift();
- if (null === a[0]) return w(C("mismatch", "Mismatched anonymous define() module: " + a[a.length - 1]));
- E(a)
- }
- }
- var X, $, i, N, Y, l = {waitSeconds: 7, baseUrl: "./", paths: {}, bundles: {}, pkgs: {}, shim: {}, config: {}},
- k = {}, W = {}, aa = {}, A = [], p = {}, T = {}, ba = {}, M = 1, Q = 1;
- N = {
- require: function (a) {
- return a.require ? a.require : a.require = i.makeRequire(a.map)
- }, exports: function (a) {
- a.usingExports = !0;
- if (a.map.isDefine) return a.exports ? p[a.map.id] = a.exports : a.exports = p[a.map.id] = {}
- }, module: function (a) {
- return a.module ?
- a.module : a.module = {
- id: a.map.id, uri: a.map.url, config: function () {
- return j(l.config, a.map.id) || {}
- }, exports: a.exports || (a.exports = {})
- }
- }
- };
- $ = function (a) {
- this.events = j(aa, a.id) || {};
- this.map = a;
- this.shim = j(l.shim, a.id);
- this.depExports = [];
- this.depMaps = [];
- this.depMatched = [];
- this.pluginMaps = {};
- this.depCount = 0
- };
- $.prototype = {
- init: function (a, e, b, f) {
- f = f || {};
- if (!this.inited) {
- this.factory = e;
- if (b) this.on("error", b); else this.events.error && (b = t(this, function (a) {
- this.emit("error", a)
- }));
- this.depMaps = a && a.slice(0);
- this.errback =
- b;
- this.inited = !0;
- this.ignore = f.ignore;
- f.enabled || this.enabled ? this.enable() : this.check()
- }
- }, defineDep: function (a, e) {
- this.depMatched[a] || (this.depMatched[a] = !0, this.depCount -= 1, this.depExports[a] = e)
- }, fetch: function () {
- if (!this.fetched) {
- this.fetched = !0;
- i.startTime = (new Date).getTime();
- var a = this.map;
- if (this.shim) i.makeRequire(this.map, {enableBuildCallback: !0})(this.shim.deps || [], t(this, function () {
- return a.prefix ? this.callPlugin() : this.load()
- })); else return a.prefix ? this.callPlugin() : this.load()
- }
- }, load: function () {
- var a =
- this.map.url;
- T[a] || (T[a] = !0, i.load(this.map.id, a))
- }, check: function () {
- if (this.enabled && !this.enabling) {
- var a, e, b = this.map.id;
- e = this.depExports;
- var f = this.exports, c = this.factory;
- if (this.inited) if (this.error) this.emit("error", this.error); else {
- if (!this.defining) {
- this.defining = !0;
- if (1 > this.depCount && !this.defined) {
- if (G(c)) {
- if (this.events.error && this.map.isDefine || h.onError !== da) try {
- f = i.execCb(b, c, e, f)
- } catch (d) {
- a = d
- } else f = i.execCb(b, c, e, f);
- this.map.isDefine && void 0 === f && ((e = this.module) ? f = e.exports : this.usingExports &&
- (f = this.exports));
- if (a) return a.requireMap = this.map, a.requireModules = this.map.isDefine ? [this.map.id] : null, a.requireType = this.map.isDefine ? "define" : "require", w(this.error = a)
- } else f = c;
- this.exports = f;
- if (this.map.isDefine && !this.ignore && (p[b] = f, h.onResourceLoad)) h.onResourceLoad(i, this.map, this.depMaps);
- y(b);
- this.defined = !0
- }
- this.defining = !1;
- this.defined && !this.defineEmitted && (this.defineEmitted = !0, this.emit("defined", this.exports), this.defineEmitComplete = !0)
- }
- } else this.fetch()
- }
- }, callPlugin: function () {
- var a =
- this.map, b = a.id, d = m(a.prefix);
- this.depMaps.push(d);
- r(d, "defined", t(this, function (f) {
- var d, g;
- g = j(ba, this.map.id);
- var J = this.map.name, u = this.map.parentMap ? this.map.parentMap.name : null,
- p = i.makeRequire(a.parentMap, {enableBuildCallback: !0});
- if (this.map.unnormalized) {
- if (f.normalize && (J = f.normalize(J, function (a) {
- return c(a, u, !0)
- }) || ""), f = m(a.prefix + "!" + J, this.map.parentMap), r(f, "defined", t(this, function (a) {
- this.init([], function () {
- return a
- }, null, {enabled: !0, ignore: !0})
- })), g = j(k, f.id)) {
- this.depMaps.push(f);
- if (this.events.error) g.on("error", t(this, function (a) {
- this.emit("error", a)
- }));
- g.enable()
- }
- } else g ? (this.map.url = i.nameToUrl(g), this.load()) : (d = t(this, function (a) {
- this.init([], function () {
- return a
- }, null, {enabled: !0})
- }), d.error = t(this, function (a) {
- this.inited = !0;
- this.error = a;
- a.requireModules = [b];
- B(k, function (a) {
- 0 === a.map.id.indexOf(b + "_unnormalized") && y(a.map.id)
- });
- w(a)
- }), d.fromText = t(this, function (f, c) {
- var g = a.name, J = m(g), k = O;
- c && (f = c);
- k && (O = !1);
- q(J);
- s(l.config, b) && (l.config[g] = l.config[b]);
- try {
- h.exec(f)
- } catch (j) {
- return w(C("fromtexteval",
- "fromText eval for " + b + " failed: " + j, j, [b]))
- }
- k && (O = !0);
- this.depMaps.push(J);
- i.completeLoad(g);
- p([g], d)
- }), f.load(a.name, p, d, l))
- }));
- i.enable(d, this);
- this.pluginMaps[d.id] = d
- }, enable: function () {
- W[this.map.id] = this;
- this.enabling = this.enabled = !0;
- v(this.depMaps, t(this, function (a, b) {
- var c, f;
- if ("string" === typeof a) {
- a = m(a, this.map.isDefine ? this.map : this.map.parentMap, !1, !this.skipMap);
- this.depMaps[b] = a;
- if (c = j(N, a.id)) {
- this.depExports[b] = c(this);
- return
- }
- this.depCount += 1;
- r(a, "defined", t(this, function (a) {
- this.defineDep(b,
- a);
- this.check()
- }));
- this.errback && r(a, "error", t(this, this.errback))
- }
- c = a.id;
- f = k[c];
- !s(N, c) && (f && !f.enabled) && i.enable(a, this)
- }));
- B(this.pluginMaps, t(this, function (a) {
- var b = j(k, a.id);
- b && !b.enabled && i.enable(a, this)
- }));
- this.enabling = !1;
- this.check()
- }, on: function (a, b) {
- var c = this.events[a];
- c || (c = this.events[a] = []);
- c.push(b)
- }, emit: function (a, b) {
- v(this.events[a], function (a) {
- a(b)
- });
- "error" === a && delete this.events[a]
- }
- };
- i = {
- config: l, contextName: b, registry: k, defined: p, urlFetched: T, defQueue: A, Module: $, makeModuleMap: m,
- nextTick: h.nextTick, onError: w, configure: function (a) {
- a.baseUrl && "/" !== a.baseUrl.charAt(a.baseUrl.length - 1) && (a.baseUrl += "/");
- var b = l.shim, c = {paths: !0, bundles: !0, config: !0, map: !0};
- B(a, function (a, b) {
- c[b] ? (l[b] || (l[b] = {}), V(l[b], a, !0, !0)) : l[b] = a
- });
- a.bundles && B(a.bundles, function (a, b) {
- v(a, function (a) {
- a !== b && (ba[a] = b)
- })
- });
- a.shim && (B(a.shim, function (a, c) {
- H(a) && (a = {deps: a});
- if ((a.exports || a.init) && !a.exportsFn) a.exportsFn = i.makeShimExports(a);
- b[c] = a
- }), l.shim = b);
- a.packages && v(a.packages, function (a) {
- var b,
- a = "string" === typeof a ? {name: a} : a;
- b = a.name;
- a.location && (l.paths[b] = a.location);
- l.pkgs[b] = a.name + "/" + (a.main || "main").replace(ja, "").replace(R, "")
- });
- B(k, function (a, b) {
- !a.inited && !a.map.unnormalized && (a.map = m(b))
- });
- if (a.deps || a.callback) i.require(a.deps || [], a.callback)
- }, makeShimExports: function (a) {
- return function () {
- var b;
- a.init && (b = a.init.apply(ca, arguments));
- return b || a.exports && ea(a.exports)
- }
- }, makeRequire: function (a, e) {
- function g(f, c, d) {
- var j, l;
- e.enableBuildCallback && (c && G(c)) && (c.__requireJsBuild =
- !0);
- if ("string" === typeof f) {
- if (G(c)) return w(C("requireargs", "Invalid require call"), d);
- if (a && s(N, f)) return N[f](k[a.id]);
- if (h.get) return h.get(i, f, a, g);
- j = m(f, a, !1, !0);
- j = j.id;
- return !s(p, j) ? w(C("notloaded", 'Module name "' + j + '" has not been loaded yet for context: ' + b + (a ? "" : ". Use require([])"))) : p[j]
- }
- L();
- i.nextTick(function () {
- L();
- l = q(m(null, a));
- l.skipMap = e.skipMap;
- l.init(f, c, d, {enabled: !0});
- D()
- });
- return g
- }
- e = e || {};
- V(g, {
- isBrowser: z, toUrl: function (b) {
- var e, d = b.lastIndexOf("."), g = b.split("/")[0];
- if (-1 !==
- d && (!("." === g || ".." === g) || 1 < d)) e = b.substring(d, b.length), b = b.substring(0, d);
- return i.nameToUrl(c(b, a && a.id, !0), e, !0)
- }, defined: function (b) {
- return s(p, m(b, a, !1, !0).id)
- }, specified: function (b) {
- b = m(b, a, !1, !0).id;
- return s(p, b) || s(k, b)
- }
- });
- a || (g.undef = function (b) {
- x();
- var c = m(b, a, !0), e = j(k, b);
- d(b);
- delete p[b];
- delete T[c.url];
- delete aa[b];
- U(A, function (a, c) {
- a[0] === b && A.splice(c, 1)
- });
- e && (e.events.defined && (aa[b] = e.events), y(b))
- });
- return g
- }, enable: function (a) {
- j(k, a.id) && q(a).enable()
- }, completeLoad: function (a) {
- var b,
- c, f = j(l.shim, a) || {}, d = f.exports;
- for (x(); A.length;) {
- c = A.shift();
- if (null === c[0]) {
- c[0] = a;
- if (b) break;
- b = !0
- } else c[0] === a && (b = !0);
- E(c)
- }
- c = j(k, a);
- if (!b && !s(p, a) && c && !c.inited) {
- if (l.enforceDefine && (!d || !ea(d))) return g(a) ? void 0 : w(C("nodefine", "No define call for " + a, null, [a]));
- E([a, f.deps || [], f.exportsFn])
- }
- D()
- }, nameToUrl: function (a, b, c) {
- var f, d, g;
- (f = j(l.pkgs, a)) && (a = f);
- if (f = j(ba, a)) return i.nameToUrl(f, b, c);
- if (h.jsExtRegExp.test(a)) f = a + (b || ""); else {
- f = l.paths;
- a = a.split("/");
- for (d = a.length; 0 < d; d -= 1) if (g = a.slice(0,
- d).join("/"), g = j(f, g)) {
- H(g) && (g = g[0]);
- a.splice(0, d, g);
- break
- }
- f = a.join("/");
- f += b || (/^data\:|\?/.test(f) || c ? "" : ".js");
- f = ("/" === f.charAt(0) || f.match(/^[\w\+\.\-]+:/) ? "" : l.baseUrl) + f
- }
- return l.urlArgs ? f + ((-1 === f.indexOf("?") ? "?" : "&") + l.urlArgs) : f
- }, load: function (a, b) {
- h.load(i, a, b)
- }, execCb: function (a, b, c, d) {
- return b.apply(d, c)
- }, onScriptLoad: function (a) {
- if ("load" === a.type || ka.test((a.currentTarget || a.srcElement).readyState)) P = null, a = K(a), i.completeLoad(a.id)
- }, onScriptError: function (a) {
- var b = K(a);
- if (!g(b.id)) return w(C("scripterror",
- "Script error for: " + b.id, a, [b.id]))
- }
- };
- i.require = i.makeRequire();
- return i
- }
- var h, x, y, D, K, E, P, L, q, Q, la = /(\/\*([\s\S]*?)\*\/|([^:]|^)\/\/(.*)$)/mg,
- ma = /[^.]\s*require\s*\(\s*["']([^'"\s]+)["']\s*\)/g, R = /\.js$/, ja = /^\.\//;
- x = Object.prototype;
- var M = x.toString, ga = x.hasOwnProperty, ia = Array.prototype.splice,
- z = !!("undefined" !== typeof window && "undefined" !== typeof navigator && window.document),
- fa = !z && "undefined" !== typeof importScripts,
- ka = z && "PLAYSTATION 3" === navigator.platform ? /^complete$/ : /^(complete|loaded)$/,
- Z = "undefined" !== typeof opera && "[object Opera]" === opera.toString(), F = {}, r = {}, S = [], O = !1;
- if ("undefined" === typeof define) {
- if ("undefined" !== typeof requirejs) {
- if (G(requirejs)) return;
- r = requirejs;
- requirejs = void 0
- }
- "undefined" !== typeof require && !G(require) && (r = require, require = void 0);
- h = requirejs = function (b, c, d, g) {
- var u, m = "_";
- !H(b) && "string" !== typeof b && (u = b, H(c) ? (b = c, c = d, d = g) : b = []);
- u && u.context && (m = u.context);
- (g = j(F, m)) || (g = F[m] = h.s.newContext(m));
- u && g.configure(u);
- return g.require(b, c, d)
- };
- h.config = function (b) {
- return h(b)
- };
- h.nextTick = "undefined" !== typeof setTimeout ? function (b) {
- setTimeout(b, 4)
- } : function (b) {
- b()
- };
- require || (require = h);
- h.version = "2.1.11";
- h.jsExtRegExp = /^\/|:|\?|\.js$/;
- h.isBrowser = z;
- x = h.s = {contexts: F, newContext: ha};
- h({});
- v(["toUrl", "undef", "defined", "specified"], function (b) {
- h[b] = function () {
- var c = F._;
- return c.require[b].apply(c, arguments)
- }
- });
- if (z && (y = x.head = document.getElementsByTagName("head")[0], D = document.getElementsByTagName("base")[0])) y = x.head = D.parentNode;
- h.onError = da;
- h.createNode = function (b) {
- var c =
- b.xhtml ? document.createElementNS("http://www.w3.org/1999/xhtml", "html:script") : document.createElement("script");
- c.type = b.scriptType || "text/javascript";
- c.charset = "utf-8";
- c.async = !0;
- return c
- };
- h.load = function (b, c, d) {
- var g = b && b.config || {};
- if (z) return g = h.createNode(g, c, d), g.setAttribute("data-requirecontext", b.contextName), g.setAttribute("data-requiremodule", c), g.attachEvent && !(g.attachEvent.toString && 0 > g.attachEvent.toString().indexOf("[native code")) && !Z ? (O = !0, g.attachEvent("onreadystatechange", b.onScriptLoad)) :
- (g.addEventListener("load", b.onScriptLoad, !1), g.addEventListener("error", b.onScriptError, !1)), g.src = d, L = g, D ? y.insertBefore(g, D) : y.appendChild(g), L = null, g;
- if (fa) try {
- importScripts(d), b.completeLoad(c)
- } catch (j) {
- b.onError(C("importscripts", "importScripts failed for " + c + " at " + d, j, [c]))
- }
- };
- z && !r.skipDataMain && U(document.getElementsByTagName("script"), function (b) {
- y || (y = b.parentNode);
- if (K = b.getAttribute("data-main")) return q = K, r.baseUrl || (E = q.split("/"), q = E.pop(), Q = E.length ? E.join("/") + "/" : "./", r.baseUrl =
- Q), q = q.replace(R, ""), h.jsExtRegExp.test(q) && (q = K), r.deps = r.deps ? r.deps.concat(q) : [q], !0
- });
- define = function (b, c, d) {
- var g, h;
- "string" !== typeof b && (d = c, c = b, b = null);
- H(c) || (d = c, c = null);
- !c && G(d) && (c = [], d.length && (d.toString().replace(la, "").replace(ma, function (b, d) {
- c.push(d)
- }), c = (1 === d.length ? ["require"] : ["require", "exports", "module"]).concat(c)));
- if (O) {
- if (!(g = L)) P && "interactive" === P.readyState || U(document.getElementsByTagName("script"), function (b) {
- if ("interactive" === b.readyState) return P = b
- }), g = P;
- g && (b ||
- (b = g.getAttribute("data-requiremodule")), h = F[g.getAttribute("data-requirecontext")])
- }
- (h ? h.defQueue : S).push([b, c, d])
- };
- define.amd = {jQuery: !0};
- h.exec = function (b) {
- return eval(b)
- };
- h(r)
- }
- })(this);
- if (window.sysinfo.family == "v") {
- try {
- if (window.console && window.console.log) {
- console.log("\x25\x63\u6b22\u8fce\u4f7f\u7528\u5fae\u64ce\u516c\u4f17\u5e73\u53f0\u7ba1\u7406\u7cfb\u7edf\x20\x5e\x5f\x5e\x20\uff1a", "\x68\x65\x69\x67\x68\x74\x3a\x32\x35\x70\x78\x3b\x20\x6c\x69\x6e\x65\x2d\x68\x65\x69\x67\x68\x74\x3a\x32\x35\x70\x78\x3b");
- console.log("\x25\x63\x31\uff0c\u4e00\u6b3e\u514d\u8d39\u5f00\u6e90\u7684\u516c\u4f17\u5e73\u53f0\u7ba1\u7406\u7cfb\u7edf\n\x32\uff0c\u57fa\u4e8e\u76ee\u524d\u6700\u6d41\u884c\u7684\x57\x45\x42\x32\x2e\x30\u7684\u67b6\u6784\uff08\x70\x68\x70\x2b\x6d\x79\x73\x71\x6c\uff09\n\x33\uff0c\u6e90\u7801\u900f\u660e\u3001\u5f00\u653e\uff0c\u4fdd\u8bc1\u72ec\u7acb\u6027\u3001\u5b89\u5168\u6027\u53ca\u53ef\u63a7\u6027\n\x34\uff0c\u62e5\u6709\u8d85\u5f3a\u7684\u6269\u5c55\u6027\u80fd\u548c\u6d3b\u8dc3\u7684\u7b2c\u4e09\u65b9\u5f00\u53d1\u8005\n\x35\uff0c\u826f\u597d\u7684\u5f00\u53d1\u6846\u67b6\u3001\u6587\u6863\uff0c\u8f7b\u677e\u6269\u5c55\u3001\u5b9a\u5236\u79c1\u6709\u529f\u80fd\n", "\x63\x6f\x6c\x6f\x72\x3a\x67\x72\x65\x65\x6e\x3b\x6c\x69\x6e\x65\x2d\x68\x65\x69\x67\x68\x74\x3a\x32\x35\x70\x78\x3b");
- console.log("\x25\x63\u5fae\u64ce\u5b98\u65b9\u7f51\u7ad9\uff1a\x68\x74\x74\x70\x3a\x2f\x2f\x77\x77\x77\x2e\x77\x65\x37\x2e\x63\x63", "\x63\x6f\x6c\x6f\x72\x3a\x72\x65\x64");
- console.log("\x25\x63\u5fae\u64ce\u5b98\u65b9\u8bba\u575b\uff1a\x68\x74\x74\x70\x3a\x2f\x2f\x62\x62\x73\x2e\x77\x65\x37\x2e\x63\x63", "\x63\x6f\x6c\x6f\x72\x3a\x62\x6c\x75\x65")
- }
- } catch (e) {
- }
- ;
- }
- var requireConfig = {
- baseUrl: 'resource/js/app',
- paths: {
- 'datetimepicker': '../../components/datetimepicker/jquery.datetimepicker',
- 'daterangepicker': '../../components/daterangepicker/daterangepicker',
- 'colorpicker': '../../components/colorpicker/spectrum',
- 'map': 'https://api.map.baidu.com/getscript?v=2.0&ak=F51571495f717ff1194de02366bb8da9&services=&t=20140530104353',
- 'qqmap': 'https://map.qq.com/api/js?v=2.exp',
- 'webuploader': '../../components/webuploader/webuploader.min',
- 'fileUploader': '../../components/fileuploader/fileuploader.min',
- 'clockpicker': '../../components/clockpicker/clockpicker.min',
- 'district': '../lib/district',
- 'moment': '../lib/moment',
- 'emoji': '../../components/emoji/emoji',
- 'fontawesome': '../../components/fontawesome/fontawesome',
- 'material': '../../components/fileuploader/fileuploader.min',
- 'trade': '../../components/trade/trade',
- 'hammer': '../lib/hammer.min',
- 'bootstrap.switch': '../../components/switch/bootstrap-switch.min',
- 'filestyle': '../lib/bootstrap-filestyle.min',
- 'validator': '../lib/bootstrapValidator.min',
- 'jquery.ui': '../lib/jquery-ui-1.10.3.min',
- 'jquery.caret': '../lib/jquery.caret',
- 'jquery.jplayer': '../../components/jplayer/jquery.jplayer.min',
- 'jquery.zclip': '../../components/zclip/jquery.zclip.min',
- 'jquery.wookmark': '../lib/jquery.wookmark.min',
- 'jquery.qrcode': '../lib/jquery.qrcode.min',
- 'underscore': '../lib/underscore-min',
- 'biz': '../lib/biz',
- 'swiper': '../../components/swiper/swiper.min',
- 'echarts': '../lib/echarts.min',
- // 滚动条
- 'slimscroll': '../lib/jquery.slimscroll.min',
- //兼容
- 'util': '../app/util',
- 'ueditor': '../../components/ueditor/ueditor.all.min',
- 'angular': '../lib/angular.min',
- 'angular.sanitize': '../lib/angular-sanitize.min',
- 'angular.hotkeys': '../lib/angular.hotkeys',
- 'loadcss': '../lib/loadcss.min', //加载CSS
- 'css': '../lib/css.min', //加载CSS
- /*复制组件(部分浏览器不兼容flash)*/
- 'clipboard': '../lib/clipboard.min',
- /*单选多选组件 待完善*/
- 'we7.check': '../lib/we7.check',
- 'loadjs': '../lib/loadjs', //加载CSS
- 'jszip': '//cdn.bootcss.com/jszip/3.1.5/jszip',
- 'fileSaver': '//cdn.bootcss.com/FileSaver.js/2014-11-29/FileSaver'
- },
- shim: {
- 'ueditor': {
- deps: ['./resource/components/ueditor/third-party/zeroclipboard/ZeroClipboard.min.js', './resource/components/ueditor/ueditor.config.js'],
- exports: 'UE',
- init: function (ZeroClipboard) {
- //导出到全局变量,供ueditor使用
- window.ZeroClipboard = ZeroClipboard;
- }
- },
- 'util': {
- exports: 'util',
- },
- 'daterangepicker': {
- deps: ['moment', 'loadcss!../../components/daterangepicker/daterangepicker.css']
- },
- 'datetimepicker': {
- deps: ['loadcss!../../components/datetimepicker/jquery.datetimepicker.css']
- },
- 'colorpicker': {
- deps: ['loadcss!../../components/colorpicker/spectrum.css']
- },
- 'map': {
- exports: 'BMap'
- },
- 'jquery.wookmark': {
- exports: "$",
- },
- 'jquery.ui': {
- exports: "$",
- },
- 'jquery.caret': {
- exports: "$",
- },
- 'bootstrap': {
- exports: "$",
- },
- 'bootstrap.switch': {
- deps: ['loadcss!../../components/switch/bootstrap-switch.min.css'],
- exports: "$",
- },
- // 'fileUploader': {
- // deps: ['webuploader', 'jquery.jplayer', 'loadcss!../../components/webuploader/webuploader.css', 'loadcss!../../components/webuploader/style.css']
- // },
- 'clockpicker': {
- exports: '$',
- deps: ['loadcss!../../components/clockpicker/clockpicker.min.css']
- },
- 'district': {
- exports: '$'
- },
- 'jquery.toast': {
- deps: ['loadcss!../../components/toast/toastr.min.css']
- },
- 'emoji': {
- deps: ['loadcss!../../components/emoji/emotions.css']
- },
- 'fontawesome': {
- deps: ['loadcss!../../components/fontawesome/style.css']
- },
- 'angular': {
- exports: 'angular',
- deps: ['jquery']
- },
- 'angular.sanitize': {
- exports: 'angular',
- deps: ['angular']
- },
- 'angular.hotkeys': {
- exports: "angular",
- deps: ['angular']
- },
- 'chart': {
- exports: 'Chart'
- },
- 'swiper': {
- deps: ['loadcss!../../components/swiper/swiper.min.css'],
- },
- }
- };
- if (!jQuery.fn.modal) {
- requireConfig['paths']['bootstrap'] = '../lib/bootstrap.min';
- } else {
- define('bootstrap', [], function () {
- if (typeof jQuery.fn.modal == 'undefined') {
- var $ = require(['../lib/bootstrap.min']);
- return jQuery;
- }
- return jQuery;
- });
- }
- require.config(requireConfig);
- define('jquery', [], function () {
- return jQuery;
- });
|