var requirejs,
require,
define;
!function (global, setTimeout) {
function commentReplace(a, b) {
return b || ''
}
function isFunction(a) {
return '[object Function]' === ostring.call(a)
}
function isArray(a) {
return '[object Array]' === ostring.call(a)
}
function each(a, b) {
if (a) {
var c;
for (c = 0; c < a.length && (!a[c] || !b(a[c], c, a)); c += 1);
}
}
function eachReverse(a, b) {
if (a) {
var c;
for (c = a.length - 1; c > - 1 && (!a[c] || !b(a[c], c, a)); c -= 1);
}
}
function hasProp(a, b) {
return hasOwn.call(a, b)
}
function getOwn(a, b) {
return hasProp(a, b) && a[b]
}
function eachProp(a, b) {
var c;
for (c in a) if (hasProp(a, c) && b(a[c], c)) break
}
function mixin(a, b, c, d) {
return b && eachProp(b, function (b, e) {
!c && hasProp(a, e) || (!d || 'object' != typeof b || !b || isArray(b) || isFunction(b) || b instanceof RegExp ? a[e] = b : (a[e] || (a[e] = {
}), mixin(a[e], b, c, d)))
}),
a
}
function bind(a, b) {
return function () {
return b.apply(a, arguments)
}
}
function scripts() {
return document.getElementsByTagName('script')
}
function defaultOnError(a) {
throw a
}
function getGlobal(a) {
if (!a) return a;
var b = global;
return each(a.split('.'), function (a) {
b = b[a]
}),
b
}
function makeError(a, b, c, d) {
var e = new Error(b + '\
nhttp://requirejs.org/docs/errors.html#' + a);
return e.requireType = a,
e.requireModules = d,
c && (e.originalError = c),
e
}
function newContext(a) {
function b(a) {
var b,
c;
for (b = 0; b < a.length; b++) if (c = a[b], '.' === c) a.splice(b, 1),
b -= 1;
else if ('..' === c) {
if (0 === b || 1 === b && '..' === a[2] || '..' === a[b - 1]) continue;
b > 0 && (a.splice(b - 1, 2), b -= 2)
}
}
function c(a, c, d) {
var e,
f,
g,
h,
i,
j,
k,
l,
m,
n,
o,
p,
q = c && c.split('/'),
r = x.map,
s = r && r['*'];
if (a && (a = a.split('/'), k = a.length - 1, x.nodeIdCompat && jsSuffixRegExp.test(a[k]) && (a[k] = a[k].replace(jsSuffixRegExp, '')), '.' === a[0].charAt(0) && q && (p = q.slice(0, q.length - 1), a = p.concat(a)), b(a), a = a.join('/')), d && r && (q || s)) {
g = a.split('/');
a: for (h = g.length; h > 0; h -= 1) {
if (j = g.slice(0, h).join('/'), q) for (i = q.length; i > 0; i -= 1) if (f = getOwn(r, q.slice(0, i).join('/')), f && (f = getOwn(f, j))) {
l = f,
m = h;
break a
}
!n && s && getOwn(s, j) && (n = getOwn(s, j), o = h)
}
!l && n && (l = n, m = o),
l && (g.splice(0, m, l), a = g.join('/'))
}
return e = getOwn(x.pkgs, a),
e ? e : a
}
function d(a) {
isBrowser && each(scripts(), function (b) {
if (b.getAttribute('data-requiremodule') === a && b.getAttribute('data-requirecontext') === u.contextName) return b.parentNode.removeChild(b),
!0
})
}
function e(a) {
var b = getOwn(x.paths, a);
if (b && isArray(b) && b.length > 1) return b.shift(),
u.require.undef(a),
u.makeRequire(null, {
skipMap: !0
}) ([a]),
!0
}
function f(a) {
var b,
c = a ? a.indexOf('!') : - 1;
return c > - 1 && (b = a.substring(0, c), a = a.substring(c + 1, a.length)),
[
b,
a
]
}
function g(a, b, d, e) {
var g,
h,
i,
j,
k = null,
l = b ? b.name : null,
m = a,
n = !0,
o = '';
return a || (n = !1, a = '_@r' + (F += 1)),
j = f(a),
k = j[0],
a = j[1],
k && (k = c(k, l, e), h = getOwn(C, k)),
a && (k ? o = d ? a : h && h.normalize ? h.normalize(a, function (a) {
return c(a, l, e)
}) : a.indexOf('!') === - 1 ? c(a, l, e) : a : (o = c(a, l, e), j = f(o), k = j[0], o = j[1], d = !0, g = u.nameToUrl(o))),
i = !k || h || d ? '' : '_unnormalized' + (G += 1),
{
prefix: k,
name: o,
parentMap: b,
unnormalized: !!i,
url: g,
originalName: m,
isDefine: n,
id: (k ? k + '!' + o : o) + i
}
}
function h(a) {
var b = a.id,
c = getOwn(y, b);
return c || (c = y[b] = new u.Module(a)),
c
}
function i(a, b, c) {
var d = a.id,
e = getOwn(y, d);
!hasProp(C, d) || e && !e.defineEmitComplete ? (e = h(a), e.error && 'error' === b ? c(e.error) : e.on(b, c)) : 'defined' === b && c(C[d])
}
function j(a, b) {
var c = a.requireModules,
d = !1;
b ? b(a) : (each(c, function (b) {
var c = getOwn(y, b);
c && (c.error = a, c.events.error && (d = !0, c.emit('error', a)))
}), d || req.onError(a))
}
function k() {
globalDefQueue.length && (each(globalDefQueue, function (a) {
var b = a[0];
'string' == typeof b && (u.defQueueMap[b] = !0),
B.push(a)
}), globalDefQueue = [
])
}
function l(a) {
delete y[a],
delete z[a]
}
function m(a, b, c) {
var d = a.map.id;
a.error ? a.emit('error', a.error) : (b[d] = !0, each(a.depMaps, function (d, e) {
var f = d.id,
g = getOwn(y, f);
!g || a.depMatched[e] || c[f] || (getOwn(b, f) ? (a.defineDep(e, C[f]), a.check()) : m(g, b, c))
}), c[d] = !0)
}
function n() {
var a,
b,
c = 1000 * x.waitSeconds,
f = c && u.startTime + c < (new Date).getTime(),
g = [
],
h = [
],
i = !1,
k = !0;
if (!s) {
if (s = !0, eachProp(z, function (a) {
var c = a.map,
j = c.id;
if (a.enabled && (c.isDefine || h.push(a), !a.error)) if (!a.inited && f) e(j) ? (b = !0, i = !0) : (g.push(j), d(j));
else if (!a.inited && a.fetched && c.isDefine && (i = !0, !c.prefix)) return k = !1
}), f && g.length) return a = makeError('timeout', 'Load timeout for modules: ' + g, null, g),
a.contextName = u.contextName,
j(a);
k && each(h, function (a) {
m(a, {
}, {
})
}),
f && !b || !i || !isBrowser && !isWebWorker || w || (w = setTimeout(function () {
w = 0,
n()
}, 50)),
s = !1
}
}
function o(a) {
hasProp(C, a[0]) || h(g(a[0], null, !0)).init(a[1], a[2])
}
function p(a, b, c, d) {
a.detachEvent && !isOpera ? d && a.detachEvent(d, b) : a.removeEventListener(c, b, !1)
}
function q(a) {
var b = a.currentTarget || a.srcElement;
return p(b, u.onScriptLoad, 'load', 'onreadystatechange'),
p(b, u.onScriptError, 'error'),
{
node: b,
id: b && b.getAttribute('data-requiremodule')
}
}
function r() {
var a;
for (k(); B.length; ) {
if (a = B.shift(), null === a[0]) return j(makeError('mismatch', 'Mismatched anonymous define() module: ' + a[a.length - 1]));
o(a)
}
u.defQueueMap = {
}
}
var s,
t,
u,
v,
w,
x = {
waitSeconds: 7,
baseUrl: './',
paths: {
},
bundles: {
},
pkgs: {
},
shim: {
},
config: {
}
},
y = {
},
z = {
},
A = {
},
B = [
],
C = {
},
D = {
},
E = {
},
F = 1,
G = 1;
return v = {
require: function (a) {
return a.require ? a.require : a.require = u.makeRequire(a.map)
},
exports: function (a) {
if (a.usingExports = !0, a.map.isDefine) return a.exports ? C[a.map.id] = a.exports : a.exports = C[a.map.id] = {
}
},
module: function (a) {
return a.module ? a.module : a.module = {
id: a.map.id,
uri: a.map.url,
config: function () {
return getOwn(x.config, a.map.id) || {
}
},
exports: a.exports || (a.exports = {
})
}
}
},
t = function (a) {
this.events = getOwn(A, a.id) || {
},
this.map = a,
this.shim = getOwn(x.shim, a.id),
this.depExports = [
],
this.depMaps = [
],
this.depMatched = [
],
this.pluginMaps = {
},
this.depCount = 0
},
t.prototype = {
init: function (a, b, c, d) {
d = d || {
},
this.inited || (this.factory = b, c ? this.on('error', c) : this.events.error && (c = bind(this, function (a) {
this.emit('error', a)
})), this.depMaps = a && a.slice(0), this.errback = c, this.inited = !0, this.ignore = d.ignore, d.enabled || this.enabled ? this.enable() : this.check())
},
defineDep: function (a, b) {
this.depMatched[a] || (this.depMatched[a] = !0, this.depCount -= 1, this.depExports[a] = b)
},
fetch: function () {
if (!this.fetched) {
this.fetched = !0,
u.startTime = (new Date).getTime();
var a = this.map;
return this.shim ? void u.makeRequire(this.map, {
enableBuildCallback: !0
}) (this.shim.deps || [
], bind(this, function () {
return a.prefix ? this.callPlugin() : this.load()
})) : a.prefix ? this.callPlugin() : this.load()
}
},
load: function () {
var a = this.map.url;
D[a] || (D[a] = !0, u.load(this.map.id, a))
},
check: function () {
if (this.enabled && !this.enabling) {
var a,
b,
c = this.map.id,
d = this.depExports,
e = this.exports,
f = this.factory;
if (this.inited) {
if (this.error) this.emit('error', this.error);
else if (!this.defining) {
if (this.defining = !0, this.depCount < 1 && !this.defined) {
if (isFunction(f)) {
if (this.events.error && this.map.isDefine || req.onError !== defaultOnError) try {
e = u.execCb(c, f, d, e)
} catch (g) {
a = g
} else e = u.execCb(c, f, d, e);
if (this.map.isDefine && void 0 === e && (b = this.module, b ? e = b.exports : this.usingExports && (e = this.exports)), a) return a.requireMap = this.map,
a.requireModules = this.map.isDefine ? [
this.map.id
] : null,
a.requireType = this.map.isDefine ? 'define' : 'require',
j(this.error = a)
} else e = f;
if (this.exports = e, this.map.isDefine && !this.ignore && (C[c] = e, req.onResourceLoad)) {
var h = [
];
each(this.depMaps, function (a) {
h.push(a.normalizedMap || a)
}),
req.onResourceLoad(u, this.map, h)
}
l(c),
this.defined = !0
}
this.defining = !1,
this.defined && !this.defineEmitted && (this.defineEmitted = !0, this.emit('defined', this.exports), this.defineEmitComplete = !0)
}
} else hasProp(u.defQueueMap, c) || this.fetch()
}
},
callPlugin: function () {
var a = this.map,
b = a.id,
d = g(a.prefix);
this.depMaps.push(d),
i(d, 'defined', bind(this, function (d) {
var e,
f,
k,
m = getOwn(E, this.map.id),
n = this.map.name,
o = this.map.parentMap ? this.map.parentMap.name : null,
p = u.makeRequire(a.parentMap, {
enableBuildCallback: !0
});
return this.map.unnormalized ? (d.normalize && (n = d.normalize(n, function (a) {
return c(a, o, !0)
}) || ''), f = g(a.prefix + '!' + n, this.map.parentMap, !0), i(f, 'defined', bind(this, function (a) {
this.map.normalizedMap = f,
this.init([], function () {
return a
}, null, {
enabled: !0,
ignore: !0
})
})), k = getOwn(y, f.id), void (k && (this.depMaps.push(f), this.events.error && k.on('error', bind(this, function (a) {
this.emit('error', a)
})), k.enable()))) : m ? (this.map.url = u.nameToUrl(m), void this.load()) : (e = bind(this, function (a) {
this.init([], function () {
return a
}, null, {
enabled: !0
})
}), e.error = bind(this, function (a) {
this.inited = !0,
this.error = a,
a.requireModules = [
b
],
eachProp(y, function (a) {
0 === a.map.id.indexOf(b + '_unnormalized') && l(a.map.id)
}),
j(a)
}), e.fromText = bind(this, function (c, d) {
var f = a.name,
i = g(f),
k = useInteractive;
d && (c = d),
k && (useInteractive = !1),
h(i),
hasProp(x.config, b) && (x.config[f] = x.config[b]);
try {
req.exec(c)
} catch (l) {
return j(makeError('fromtexteval', 'fromText eval for ' + b + ' failed: ' + l, l, [
b
]))
}
k && (useInteractive = !0),
this.depMaps.push(i),
u.completeLoad(f),
p([f], e)
}), void d.load(a.name, p, e, x))
})),
u.enable(d, this),
this.pluginMaps[d.id] = d
},
enable: function () {
z[this.map.id] = this,
this.enabled = !0,
this.enabling = !0,
each(this.depMaps, bind(this, function (a, b) {
var c,
d,
e;
if ('string' == typeof a) {
if (a = g(a, this.map.isDefine ? this.map : this.map.parentMap, !1, !this.skipMap), this.depMaps[b] = a, e = getOwn(v, a.id)) return void (this.depExports[b] = e(this));
this.depCount += 1,
i(a, 'defined', bind(this, function (a) {
this.undefed || (this.defineDep(b, a), this.check())
})),
this.errback ? i(a, 'error', bind(this, this.errback)) : this.events.error && i(a, 'error', bind(this, function (a) {
this.emit('error', a)
}))
}
c = a.id,
d = y[c],
hasProp(v, c) || !d || d.enabled || u.enable(a, this)
})),
eachProp(this.pluginMaps, bind(this, function (a) {
var b = getOwn(y, a.id);
b && !b.enabled && u.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) {
each(this.events[a], function (a) {
a(b)
}),
'error' === a && delete this.events[a]
}
},
u = {
config: x,
contextName: a,
registry: y,
defined: C,
urlFetched: D,
defQueue: B,
defQueueMap: {
},
Module: t,
makeModuleMap: g,
nextTick: req.nextTick,
onError: j,
configure: function (a) {
if (a.baseUrl && '/' !== a.baseUrl.charAt(a.baseUrl.length - 1) && (a.baseUrl += '/'), 'string' == typeof a.urlArgs) {
var b = a.urlArgs;
a.urlArgs = function (a, c) {
return (c.indexOf('?') === - 1 ? '?' : '&') + b
}
}
var c = x.shim,
d = {
paths: !0,
bundles: !0,
config: !0,
map: !0
};
eachProp(a, function (a, b) {
d[b] ? (x[b] || (x[b] = {
}), mixin(x[b], a, !0, !0)) : x[b] = a
}),
a.bundles && eachProp(a.bundles, function (a, b) {
each(a, function (a) {
a !== b && (E[a] = b)
})
}),
a.shim && (eachProp(a.shim, function (a, b) {
isArray(a) && (a = {
deps: a
}),
!a.exports && !a.init || a.exportsFn || (a.exportsFn = u.makeShimExports(a)),
c[b] = a
}), x.shim = c),
a.packages && each(a.packages, function (a) {
var b,
c;
a = 'string' == typeof a ? {
name: a
}
: a,
c = a.name,
b = a.location,
b && (x.paths[c] = a.location),
x.pkgs[c] = a.name + '/' + (a.main || 'main').replace(currDirRegExp, '').replace(jsSuffixRegExp, '')
}),
eachProp(y, function (a, b) {
a.inited || a.map.unnormalized || (a.map = g(b, null, !0))
}),
(a.deps || a.callback) && u.require(a.deps || [
], a.callback)
},
makeShimExports: function (a) {
function b() {
var b;
return a.init && (b = a.init.apply(global, arguments)),
b || a.exports && getGlobal(a.exports)
}
return b
},
makeRequire: function (b, e) {
function f(c, d, i) {
var k,
l,
m;
return e.enableBuildCallback && d && isFunction(d) && (d.__requireJsBuild = !0),
'string' == typeof c ? isFunction(d) ? j(makeError('requireargs', 'Invalid require call'), i) : b && hasProp(v, c) ? v[c](y[b.id]) : req.get ? req.get(u, c, b, f) : (l = g(c, b, !1, !0), k = l.id, hasProp(C, k) ? C[k] : j(makeError('notloaded', 'Module name "' + k + '" has not been loaded yet for context: ' + a + (b ? '' : '. Use require([])')))) : (r(), u.nextTick(function () {
r(),
m = h(g(null, b)),
m.skipMap = e.skipMap,
m.init(c, d, i, {
enabled: !0
}),
n()
}), f)
}
return e = e || {
},
mixin(f, {
isBrowser: isBrowser,
toUrl: function (a) {
var d,
e = a.lastIndexOf('.'),
f = a.split('/') [0],
g = '.' === f || '..' === f;
return e !== - 1 && (!g || e > 1) && (d = a.substring(e, a.length), a = a.substring(0, e)),
u.nameToUrl(c(a, b && b.id, !0), d, !0)
},
defined: function (a) {
return hasProp(C, g(a, b, !1, !0).id)
},
specified: function (a) {
return a = g(a, b, !1, !0).id,
hasProp(C, a) || hasProp(y, a)
}
}),
b || (f.undef = function (a) {
k();
var c = g(a, b, !0),
e = getOwn(y, a);
e.undefed = !0,
d(a),
delete C[a],
delete D[c.url],
delete A[a],
eachReverse(B, function (b, c) {
b[0] === a && B.splice(c, 1)
}),
delete u.defQueueMap[a],
e && (e.events.defined && (A[a] = e.events), l(a))
}),
f
},
enable: function (a) {
var b = getOwn(y, a.id);
b && h(a).enable()
},
completeLoad: function (a) {
var b,
c,
d,
f = getOwn(x.shim, a) || {
},
g = f.exports;
for (k(); B.length; ) {
if (c = B.shift(), null === c[0]) {
if (c[0] = a, b) break;
b = !0
} else c[0] === a && (b = !0);
o(c)
}
if (u.defQueueMap = {
}, d = getOwn(y, a), !b && !hasProp(C, a) && d && !d.inited) {
if (!(!x.enforceDefine || g && getGlobal(g))) return e(a) ? void 0 : j(makeError('nodefine', 'No define call for ' + a, null, [
a
]));
o([a,
f.deps || [
],
f.exportsFn])
}
n()
},
nameToUrl: function (a, b, c) {
var d,
e,
f,
g,
h,
i,
j,
k = getOwn(x.pkgs, a);
if (k && (a = k), j = getOwn(E, a)) return u.nameToUrl(j, b, c);
if (req.jsExtRegExp.test(a)) h = a + (b || '');
else {
for (d = x.paths, e = a.split('/'), f = e.length; f > 0; f -= 1) if (g = e.slice(0, f).join('/'), i = getOwn(d, g)) {
isArray(i) && (i = i[0]),
e.splice(0, f, i);
break
}
h = e.join('/'),
h += b || (/^data\:|^blob\:|\?/.test(h) || c ? '' : '.js'),
h = ('/' === h.charAt(0) || h.match(/^[\w\+\.\-]+:/) ? '' : x.baseUrl) + h
}
return x.urlArgs && !/^blob\:/.test(h) ? h + x.urlArgs(a, h) : h
},
load: function (a, b) {
req.load(u, a, b)
},
execCb: function (a, b, c, d) {
return b.apply(d, c)
},
onScriptLoad: function (a) {
if ('load' === a.type || readyRegExp.test((a.currentTarget || a.srcElement).readyState)) {
interactiveScript = null;
var b = q(a);
u.completeLoad(b.id)
}
},
onScriptError: function (a) {
var b = q(a);
if (!e(b.id)) {
var c = [
];
return eachProp(y, function (a, d) {
0 !== d.indexOf('_@r') && each(a.depMaps, function (a) {
if (a.id === b.id) return c.push(d),
!0
})
}),
j(makeError('scripterror', 'Script error for "' + b.id + (c.length ? '", needed by: ' + c.join(', ') : '"'), a, [
b.id
]))
}
}
},
u.require = u.makeRequire(),
u
}
function getInteractiveScript() {
return interactiveScript && 'interactive' === interactiveScript.readyState ? interactiveScript : (eachReverse(scripts(), function (a) {
if ('interactive' === a.readyState) return interactiveScript = a
}), interactiveScript)
}
var req,
s,
head,
baseElement,
dataMain,
src,
interactiveScript,
currentlyAddingScript,
mainScript,
subPath,
version = '2.3.3',
commentRegExp = /\/\*[\s\S]*?\*\/|([^:"'=]|^)\/\/.*$/gm,
cjsRequireRegExp = /[^.]\s*require\s*\(\s*["']([^'"\s]+)["']\s*\)/g,
jsSuffixRegExp = /\.js$/,
currDirRegExp = /^\.\//,
op = Object.prototype,
ostring = op.toString,
hasOwn = op.hasOwnProperty,
isBrowser = !('undefined' == typeof window || 'undefined' == typeof navigator || !window.document),
isWebWorker = !isBrowser && 'undefined' != typeof importScripts,
readyRegExp = isBrowser && 'PLAYSTATION 3' === navigator.platform ? /^complete$/ : /^(complete|loaded)$/,
defContextName = '_',
isOpera = 'undefined' != typeof opera && '[object Opera]' === opera.toString(),
contexts = {
},
cfg = {
},
globalDefQueue = [
],
useInteractive = !1;
if ('undefined' == typeof define) {
if ('undefined' != typeof requirejs) {
if (isFunction(requirejs)) return;
cfg = requirejs,
requirejs = void 0
}
'undefined' == typeof require || isFunction(require) || (cfg = require, require = void 0),
req = requirejs = function (a, b, c, d) {
var e,
f,
g = defContextName;
return isArray(a) || 'string' == typeof a || (f = a, isArray(b) ? (a = b, b = c, c = d) : a = [
]),
f && f.context && (g = f.context),
e = getOwn(contexts, g),
e || (e = contexts[g] = req.s.newContext(g)),
f && e.configure(f),
e.require(a, b, c)
},
req.config = function (a) {
return req(a)
},
req.nextTick = 'undefined' != typeof setTimeout ? function (a) {
setTimeout(a, 4)
}
: function (a) {
a()
},
require || (require = req),
req.version = version,
req.jsExtRegExp = /^\/|:|\?|\.js$/,
req.isBrowser = isBrowser,
s = req.s = {
contexts: contexts,
newContext: newContext
},
req({
}),
each(['toUrl',
'undef',
'defined',
'specified'], function (a) {
req[a] = function () {
var b = contexts[defContextName];
return b.require[a].apply(b, arguments)
}
}),
isBrowser && (head = s.head = document.getElementsByTagName('head') [0], baseElement = document.getElementsByTagName('base') [0], baseElement && (head = s.head = baseElement.parentNode)),
req.onError = defaultOnError,
req.createNode = function (a, b, c) {
var d = a.xhtml ? document.createElementNS('
http://www.w3.org/1999/xhtml', '
html:script') : document.createElement('script');
return d.type = a.scriptType || 'text/javascript',
d.charset = 'utf-8',
d.async = !0,
d
},
req.load = function (a, b, c) {
var d,
e = a && a.config || {
};
if (isBrowser) return d = req.createNode(e, b, c),
d.setAttribute('data-requirecontext', a.contextName),
d.setAttribute('data-requiremodule', b),
!d.attachEvent || d.attachEvent.toString && d.attachEvent.toString().indexOf('[native code') < 0 || isOpera ? (d.addEventListener('load', a.onScriptLoad, !1), d.addEventListener('error', a.onScriptError, !1)) : (useInteractive = !0, d.attachEvent('onreadystatechange', a.onScriptLoad)),
d.src = c,
e.onNodeCreated && e.onNodeCreated(d, e, b, c),
currentlyAddingScript = d,
baseElement ? head.insertBefore(d, baseElement) : head.appendChild(d),
currentlyAddingScript = null,
d;
if (isWebWorker) try {
setTimeout(function () {
}, 0),
importScripts(c),
a.completeLoad(b)
} catch (f) {
a.onError(makeError('importscripts', 'importScripts failed for ' + b + ' at ' + c, f, [
b
]))
}
},
isBrowser && !cfg.skipDataMain && eachReverse(scripts(), function (a) {
if (head || (head = a.parentNode), dataMain = a.getAttribute('data-main')) return mainScript = dataMain,
cfg.baseUrl || mainScript.indexOf('!') !== - 1 || (src = mainScript.split('/'), mainScript = src.pop(), subPath = src.length ? src.join('/') + '/' : './', cfg.baseUrl = subPath),
mainScript = mainScript.replace(jsSuffixRegExp, ''),
req.jsExtRegExp.test(mainScript) && (mainScript = dataMain),
cfg.deps = cfg.deps ? cfg.deps.concat(mainScript) : [
mainScript
],
!0
}),
define = function (a, b, c) {
var d,
e;
'string' != typeof a && (c = b, b = a, a = null),
isArray(b) || (c = b, b = null),
!b && isFunction(c) && (b = [
], c.length && (c.toString().replace(commentRegExp, commentReplace).replace(cjsRequireRegExp, function (a, c) {
b.push(c)
}), b = (1 === c.length ? [
'require'
] : [
'require',
'exports',
'module'
]).concat(b))),
useInteractive && (d = currentlyAddingScript || getInteractiveScript(), d && (a || (a = d.getAttribute('data-requiremodule')), e = contexts[d.getAttribute('data-requirecontext')])),
e ? (e.defQueue.push([a,
b,
c]), e.defQueueMap[a] = !0) : globalDefQueue.push([a,
b,
c])
},
define.amd = {
jQuery: !0
},
req.exec = function (text) {
return eval(text)
},
req(cfg)
}
}(this, 'undefined' == typeof setTimeout ? void 0 : setTimeout),
define('../../../node_modules/requirejs/require', function () {
}),
function (a, b, c) {
b[a] = b[a] || c(),
'undefined' != typeof module && module.exports ? module.exports = b[a] : 'function' == typeof define && define.amd && define('native-promise-only', [
], function () {
return b[a]
})
}('Promise', 'undefined' != typeof global ? global : this, function () {
'use strict';
function a(a, b) {
m.add(a, b),
l || (l = o(m.drain))
}
function b(a) {
var b,
c = typeof a;
return null == a || 'object' != c && 'function' != c || (b = a.then),
'function' == typeof b && b
}
function c() {
for (var a = 0; a < this.chain.length; a++) d(this, 1 === this.state ? this.chain[a].success : this.chain[a].failure, this.chain[a]);
this.chain.length = 0
}
function d(a, c, d) {
var e,
f;
try {
c === !1 ? d.reject(a.msg) : (e = c === !0 ? a.msg : c.call(void 0, a.msg), e === d.promise ? d.reject(TypeError('Promise-chain cycle')) : (f = b(e)) ? f.call(e, d.resolve, d.reject) : d.resolve(e))
} catch (g) {
d.reject(g)
}
}
function e(d) {
var g,
i = this;
if (!i.triggered) {
i.triggered = !0,
i.def && (i = i.def);
try {
(g = b(d)) ? a(function () {
var a = new h(i);
try {
g.call(d, function () {
e.apply(a, arguments)
}, function () {
f.apply(a, arguments)
})
} catch (b) {
f.call(a, b)
}
}) : (i.msg = d, i.state = 1, i.chain.length > 0 && a(c, i))
} catch (j) {
f.call(new h(i), j)
}
}
}
function f(b) {
var d = this;
d.triggered || (d.triggered = !0, d.def && (d = d.def), d.msg = b, d.state = 2, d.chain.length > 0 && a(c, d))
}
function g(a, b, c, d) {
for (var e = 0; e < b.length; e++) !function (e) {
a.resolve(b[e]).then(function (a) {
c(e, a)
}, d)
}(e)
}
function h(a) {
this.def = a,
this.triggered = !1
}
function i(a) {
this.promise = a,
this.state = 0,
this.triggered = !1,
this.chain = [
],
this.msg = void 0
}
function j(b) {
if ('function' != typeof b) throw TypeError('Not a function');
if (0 !== this.__NPO__) throw TypeError('Not a promise');
this.__NPO__ = 1;
var d = new i(this);
this.then = function (b, e) {
var f = {
success: 'function' != typeof b || b,
failure: 'function' == typeof e && e
};
return f.promise = new this.constructor(function (a, b) {
if ('function' != typeof a || 'function' != typeof b) throw TypeError('Not a function');
f.resolve = a,
f.reject = b
}),
d.chain.push(f),
0 !== d.state && a(c, d),
f.promise
},
this['catch'] = function (a) {
return this.then(void 0, a)
};
try {
b.call(void 0, function (a) {
e.call(d, a)
}, function (a) {
f.call(d, a)
})
} catch (g) {
f.call(d, g)
}
}
var k,
l,
m,
n = Object.prototype.toString,
o = 'undefined' != typeof setImmediate ? function (a) {
return setImmediate(a)
}
: setTimeout;
try {
Object.defineProperty({
}, 'x', {
}),
k = function (a, b, c, d) {
return Object.defineProperty(a, b, {
value: c,
writable: !0,
configurable: d !== !1
})
}
} catch (p) {
k = function (a, b, c) {
return a[b] = c,
a
}
}
m = function () {
function a(a, b) {
this.fn = a,
this.self = b,
this.next = void 0
}
var b,
c,
d;
return {
add: function (e, f) {
d = new a(e, f),
c ? c.next = d : b = d,
c = d,
d = void 0
},
drain: function () {
var a = b;
for (b = c = l = void 0; a; ) a.fn.call(a.self),
a = a.next
}
}
}();
var q = k({
}, 'constructor', j, !1);
return j.prototype = q,
k(q, '__NPO__', 0, !1),
k(j, 'resolve', function (a) {
var b = this;
return a && 'object' == typeof a && 1 === a.__NPO__ ? a : new b(function (b, c) {
if ('function' != typeof b || 'function' != typeof c) throw TypeError('Not a function');
b(a)
})
}),
k(j, 'reject', function (a) {
return new this(function (b, c) {
if ('function' != typeof b || 'function' != typeof c) throw TypeError('Not a function');
c(a)
})
}),
k(j, 'all', function (a) {
var b = this;
return '[object Array]' != n.call(a) ? b.reject(TypeError('Not an array')) : 0 === a.length ? b.resolve([]) : new b(function (c, d) {
if ('function' != typeof c || 'function' != typeof d) throw TypeError('Not a function');
var e = a.length,
f = Array(e),
h = 0;
g(b, a, function (a, b) {
f[a] = b,
++h === e && c(f)
}, d)
})
}),
k(j, 'race', function (a) {
var b = this;
return '[object Array]' != n.call(a) ? b.reject(TypeError('Not an array')) : new b(function (c, d) {
if ('function' != typeof c || 'function' != typeof d) throw TypeError('Not a function');
g(b, a, function (a, b) {
c(b)
}, d)
})
}),
j
}),
function (a, b) {
'object' == typeof module && 'object' == typeof module.exports ? module.exports = a.document ? b(a, !0) : function (a) {
if (!a.document) throw new Error('jQuery requires a window with a document');
return b(a)
}
: b(a)
}('undefined' != typeof window ? window : this, function (a, b) {
function c(a) {
var b = !!a && 'length' in a && a.length,
c = fa.type(a);
return 'function' !== c && !fa.isWindow(a) && ('array' === c || 0 === b || 'number' == typeof b && b > 0 && b - 1 in a)
}
function d(a, b, c) {
if (fa.isFunction(b)) return fa.grep(a, function (a, d) {
return !!b.call(a, d, a) !== c
});
if (b.nodeType) return fa.grep(a, function (a) {
return a === b !== c
});
if ('string' == typeof b) {
if (pa.test(b)) return fa.filter(b, a, c);
b = fa.filter(b, a)
}
return fa.grep(a, function (a) {
return _.call(b, a) > - 1 !== c
})
}
function e(a, b) {
for (; (a = a[b]) && 1 !== a.nodeType; );
return a
}
function f(a) {
var b = {
};
return fa.each(a.match(va) || [
], function (a, c) {
b[c] = !0
}),
b
}
function g() {
X.removeEventListener('DOMContentLoaded', g),
a.removeEventListener('load', g),
fa.ready()
}
function h() {
this.expando = fa.expando + h.uid++
}
function i(a, b, c) {
var d;
if (void 0 === c && 1 === a.nodeType) if (d = 'data-' + b.replace(Ca, '-$&').toLowerCase(), c = a.getAttribute(d), 'string' == typeof c) {
try {
c = 'true' === c || 'false' !== c && ('null' === c ? null : + c + '' === c ? + c : Ba.test(c) ? fa.parseJSON(c) : c)
} catch (e) {
}
Aa.set(a, b, c)
} else c = void 0;
return c
}
function j(a, b, c, d) {
var e,
f = 1,
g = 20,
h = d ? function () {
return d.cur()
}
: function () {
return fa.css(a, b, '')
},
i = h(),
j = c && c[3] || (fa.cssNumber[b] ? '' : 'px'),
k = (fa.cssNumber[b] || 'px' !== j && + i) && Ea.exec(fa.css(a, b));
if (k && k[3] !== j) {
j = j || k[3],
c = c || [
],
k = + i || 1;
do f = f || '.5',
k /= f,
fa.style(a, b, k + j);
while (f !== (f = h() / i) && 1 !== f && --g)
}
return c && (k = + k || + i || 0, e = c[1] ? k + (c[1] + 1) * c[2] : + c[2], d && (d.unit = j, d.start = k, d.end = e)),
e
}
function k(a, b) {
var c = 'undefined' != typeof a.getElementsByTagName ? a.getElementsByTagName(b || '*') : 'undefined' != typeof a.querySelectorAll ? a.querySelectorAll(b || '*') : [
];
return void 0 === b || b && fa.nodeName(a, b) ? fa.merge([a], c) : c
}
function l(a, b) {
for (var c = 0, d = a.length; c < d; c++) za.set(a[c], 'globalEval', !b || za.get(b[c], 'globalEval'))
}
function m(a, b, c, d, e) {
for (var f, g, h, i, j, m, n = b.createDocumentFragment(), o = [
], p = 0, q = a.length; p < q; p++) if (f = a[p], f || 0 === f) if ('object' === fa.type(f)) fa.merge(o, f.nodeType ? [
f
] : f);
else if (La.test(f)) {
for (g = g || n.appendChild(b.createElement('div')), h = (Ia.exec(f) || [
'',
''
]) [1].toLowerCase(), i = Ka[h] || Ka._default, g.innerHTML = i[1] + fa.htmlPrefilter(f) + i[2], m = i[0]; m--; ) g = g.lastChild;
fa.merge(o, g.childNodes),
g = n.firstChild,
g.textContent = ''
} else o.push(b.createTextNode(f));
for (n.textContent = '', p = 0; f = o[p++]; ) if (d && fa.inArray(f, d) > - 1) e && e.push(f);
else if (j = fa.contains(f.ownerDocument, f), g = k(n.appendChild(f), 'script'), j && l(g), c) for (m = 0; f = g[m++]; ) Ja.test(f.type || '') && c.push(f);
return n
}
function n() {
return !0
}
function o() {
return !1
}
function p() {
try {
return X.activeElement
} catch (a) {
}
}
function q(a, b, c, d, e, f) {
var g,
h;
if ('object' == typeof b) {
'string' != typeof c && (d = d || c, c = void 0);
for (h in b) q(a, h, c, d, b[h], f);
return a
}
if (null == d && null == e ? (e = c, d = c = void 0) : null == e && ('string' == typeof c ? (e = d, d = void 0) : (e = d, d = c, c = void 0)), e === !1) e = o;
else if (!e) return a;
return 1 === f && (g = e, e = function (a) {
return fa().off(a),
g.apply(this, arguments)
}, e.guid = g.guid || (g.guid = fa.guid++)),
a.each(function () {
fa.event.add(this, b, e, d, c)
})
}
function r(a, b) {
return fa.nodeName(a, 'table') && fa.nodeName(11 !== b.nodeType ? b : b.firstChild, 'tr') ? a.getElementsByTagName('tbody') [0] || a.appendChild(a.ownerDocument.createElement('tbody')) : a
}
function s(a) {
return a.type = (null !== a.getAttribute('type')) + '/' + a.type,
a
}
function t(a) {
var b = Sa.exec(a.type);
return b ? a.type = b[1] : a.removeAttribute('type'),
a
}
function u(a, b) {
var c,
d,
e,
f,
g,
h,
i,
j;
if (1 === b.nodeType) {
if (za.hasData(a) && (f = za.access(a), g = za.set(b, f), j = f.events)) {
delete g.handle,
g.events = {
};
for (e in j) for (c = 0, d = j[e].length; c < d; c++) fa.event.add(b, e, j[e][c])
}
Aa.hasData(a) && (h = Aa.access(a), i = fa.extend({
}, h), Aa.set(b, i))
}
}
function v(a, b) {
var c = b.nodeName.toLowerCase();
'input' === c && Ha.test(a.type) ? b.checked = a.checked : 'input' !== c && 'textarea' !== c || (b.defaultValue = a.defaultValue)
}
function w(a, b, c, d) {
b = Z.apply([], b);
var e,
f,
g,
h,
i,
j,
l = 0,
n = a.length,
o = n - 1,
p = b[0],
q = fa.isFunction(p);
if (q || n > 1 && 'string' == typeof p && !da.checkClone && Ra.test(p)) return a.each(function (e) {
var f = a.eq(e);
q && (b[0] = p.call(this, e, f.html())),
w(f, b, c, d)
});
if (n && (e = m(b, a[0].ownerDocument, !1, a, d), f = e.firstChild, 1 === e.childNodes.length && (e = f), f || d)) {
for (g = fa.map(k(e, 'script'), s), h = g.length; l < n; l++) i = e,
l !== o && (i = fa.clone(i, !0, !0), h && fa.merge(g, k(i, 'script'))),
c.call(a[l], i, l);
if (h) for (j = g[g.length - 1].ownerDocument, fa.map(g, t), l = 0; l < h; l++) i = g[l],
Ja.test(i.type || '') && !za.access(i, 'globalEval') && fa.contains(j, i) && (i.src ? fa._evalUrl && fa._evalUrl(i.src) : fa.globalEval(i.textContent.replace(Ta, '')))
}
return a
}
function x(a, b, c) {
for (var d, e = b ? fa.filter(b, a) : a, f = 0; null != (d = e[f]); f++) c || 1 !== d.nodeType || fa.cleanData(k(d)),
d.parentNode && (c && fa.contains(d.ownerDocument, d) && l(k(d, 'script')), d.parentNode.removeChild(d));
return a
}
function y(a, b) {
var c = fa(b.createElement(a)).appendTo(b.body),
d = fa.css(c[0], 'display');
return c.detach(),
d
}
function z(a) {
var b = X,
c = Va[a];
return c || (c = y(a, b), 'none' !== c && c || (Ua = (Ua || fa('')).appendTo(b.documentElement), b = Ua[0].contentDocument, b.write(), b.close(), c = y(a, b), Ua.detach()), Va[a] = c),
c
}
function A(a, b, c) {
var d,
e,
f,
g,
h = a.style;
return c = c || Ya(a),
g = c ? c.getPropertyValue(b) || c[b] : void 0,
'' !== g && void 0 !== g || fa.contains(a.ownerDocument, a) || (g = fa.style(a, b)),
c && !da.pixelMarginRight() && Xa.test(g) && Wa.test(b) && (d = h.width, e = h.minWidth, f = h.maxWidth, h.minWidth = h.maxWidth = h.width = g, g = c.width, h.width = d, h.minWidth = e, h.maxWidth = f),
void 0 !== g ? g + '' : g
}
function B(a, b) {
return {
get: function () {
return a() ? void delete this.get : (this.get = b).apply(this, arguments)
}
}
}
function C(a) {
if (a in db) return a;
for (var b = a[0].toUpperCase() + a.slice(1), c = cb.length; c--; ) if (a = cb[c] + b, a in db) return a
}
function D(a, b, c) {
var d = Ea.exec(b);
return d ? Math.max(0, d[2] - (c || 0)) + (d[3] || 'px') : b
}
function E(a, b, c, d, e) {
for (var f = c === (d ? 'border' : 'content') ? 4 : 'width' === b ? 1 : 0, g = 0; f < 4; f += 2) 'margin' === c && (g += fa.css(a, c + Fa[f], !0, e)),
d ? ('content' === c && (g -= fa.css(a, 'padding' + Fa[f], !0, e)), 'margin' !== c && (g -= fa.css(a, 'border' + Fa[f] + 'Width', !0, e))) : (g += fa.css(a, 'padding' + Fa[f], !0, e), 'padding' !== c && (g += fa.css(a, 'border' + Fa[f] + 'Width', !0, e)));
return g
}
function F(a, b, c) {
var d = !0,
e = 'width' === b ? a.offsetWidth : a.offsetHeight,
f = Ya(a),
g = 'border-box' === fa.css(a, 'boxSizing', !1, f);
if (e = 0 && c < b ? [
this[c]
] : [
])
},
end: function () {
return this.prevObject || this.constructor()
},
push: $,
sort: W.sort,
splice: W.splice
},
fa.extend = fa.fn.extend = function () {
var a,
b,
c,
d,
e,
f,
g = arguments[0] || {
},
h = 1,
i = arguments.length,
j = !1;
for ('boolean' == typeof g && (j = g, g = arguments[h] || {
}, h++), 'object' == typeof g || fa.isFunction(g) || (g = {
}), h === i && (g = this, h--); h < i; h++) if (null != (a = arguments[h])) for (b in a) c = g[b],
d = a[b],
g !== d && (j && d && (fa.isPlainObject(d) || (e = fa.isArray(d))) ? (e ? (e = !1, f = c && fa.isArray(c) ? c : [
]) : f = c && fa.isPlainObject(c) ? c : {
}, g[b] = fa.extend(j, f, d)) : void 0 !== d && (g[b] = d));
return g
},
fa.extend({
expando: 'jQuery' + (ea + Math.random()).replace(/\D/g, ''),
isReady: !0,
error: function (a) {
throw new Error(a)
},
noop: function () {
},
isFunction: function (a) {
return 'function' === fa.type(a)
},
isArray: Array.isArray,
isWindow: function (a) {
return null != a && a === a.window
},
isNumeric: function (a) {
var b = a && a.toString();
return !fa.isArray(a) && b - parseFloat(b) + 1 >= 0
},
isPlainObject: function (a) {
var b;
if ('object' !== fa.type(a) || a.nodeType || fa.isWindow(a)) return !1;
if (a.constructor && !ca.call(a, 'constructor') && !ca.call(a.constructor.prototype || {
}, 'isPrototypeOf')) return !1;
for (b in a);
return void 0 === b || ca.call(a, b)
},
isEmptyObject: function (a) {
var b;
for (b in a) return !1;
return !0
},
type: function (a) {
return null == a ? a + '' : 'object' == typeof a || 'function' == typeof a ? aa[ba.call(a)] || 'object' : typeof a
},
globalEval: function (a) {
var b,
c = eval;
a = fa.trim(a),
a && (1 === a.indexOf('use strict') ? (b = X.createElement('script'), b.text = a, X.head.appendChild(b).parentNode.removeChild(b)) : c(a))
},
camelCase: function (a) {
return a.replace(ha, 'ms-').replace(ia, ja)
},
nodeName: function (a, b) {
return a.nodeName && a.nodeName.toLowerCase() === b.toLowerCase()
},
each: function (a, b) {
var d,
e = 0;
if (c(a)) for (d = a.length; e < d && b.call(a[e], e, a[e]) !== !1; e++);
else for (e in a) if (b.call(a[e], e, a[e]) === !1) break;
return a
},
trim: function (a) {
return null == a ? '' : (a + '').replace(ga, '')
},
makeArray: function (a, b) {
var d = b || [
];
return null != a && (c(Object(a)) ? fa.merge(d, 'string' == typeof a ? [
a
] : a) : $.call(d, a)),
d
},
inArray: function (a, b, c) {
return null == b ? - 1 : _.call(b, a, c)
},
merge: function (a, b) {
for (var c = + b.length, d = 0, e = a.length; d < c; d++) a[e++] = b[d];
return a.length = e,
a
},
grep: function (a, b, c) {
for (var d, e = [
], f = 0, g = a.length, h = !c; f < g; f++) d = !b(a[f], f),
d !== h && e.push(a[f]);
return e
},
map: function (a, b, d) {
var e,
f,
g = 0,
h = [
];
if (c(a)) for (e = a.length; g < e; g++) f = b(a[g], g, d),
null != f && h.push(f);
else for (g in a) f = b(a[g], g, d),
null != f && h.push(f);
return Z.apply([], h)
},
guid: 1,
proxy: function (a, b) {
var c,
d,
e;
if ('string' == typeof b && (c = a[b], b = a, a = c), fa.isFunction(a)) return d = Y.call(arguments, 2),
e = function () {
return a.apply(b || this, d.concat(Y.call(arguments)))
},
e.guid = a.guid = a.guid || fa.guid++,
e
},
now: Date.now,
support: da
}),
'function' == typeof Symbol && (fa.fn[Symbol.iterator] = W[Symbol.iterator]),
fa.each('Boolean Number String Function Array Date RegExp Object Error Symbol'.split(' '), function (a, b) {
aa['[object ' + b + ']'] = b.toLowerCase()
});
var ka = function (a) {
function b(a, b, c, d) {
var e,
f,
g,
h,
i,
j,
l,
n,
o = b && b.ownerDocument,
p = b ? b.nodeType : 9;
if (c = c || [
], 'string' != typeof a || !a || 1 !== p && 9 !== p && 11 !== p) return c;
if (!d && ((b ? b.ownerDocument || b : O) !== G && F(b), b = b || G, I)) {
if (11 !== p && (j = ra.exec(a))) if (e = j[1]) {
if (9 === p) {
if (!(g = b.getElementById(e))) return c;
if (g.id === e) return c.push(g),
c
} else if (o && (g = o.getElementById(e)) && M(b, g) && g.id === e) return c.push(g),
c
} else {
if (j[2]) return $.apply(c, b.getElementsByTagName(a)),
c;
if ((e = j[3]) && v.getElementsByClassName && b.getElementsByClassName) return $.apply(c, b.getElementsByClassName(e)),
c
}
if (v.qsa && !T[a + ' '] && (!J || !J.test(a))) {
if (1 !== p) o = b,
n = a;
else if ('object' !== b.nodeName.toLowerCase()) {
for ((h = b.getAttribute('id')) ? h = h.replace(ta, '\\$&') : b.setAttribute('id', h = N), l = z(a), f = l.length, i = ma.test(h) ? '#' + h : '[id=\'' + h + '\']'; f--; ) l[f] = i + ' ' + m(l[f]);
n = l.join(','),
o = sa.test(a) && k(b.parentNode) || b
}
if (n) try {
return $.apply(c, o.querySelectorAll(n)),
c
} catch (q) {
} finally {
h === N && b.removeAttribute('id')
}
}
}
return B(a.replace(ha, '$1'), b, c, d)
}
function c() {
function a(c, d) {
return b.push(c + ' ') > w.cacheLength && delete a[b.shift()],
a[c + ' '] = d
}
var b = [
];
return a
}
function d(a) {
return a[N] = !0,
a
}
function e(a) {
var b = G.createElement('div');
try {
return !!a(b)
} catch (c) {
return !1
} finally {
b.parentNode && b.parentNode.removeChild(b),
b = null
}
}
function f(a, b) {
for (var c = a.split('|'), d = c.length; d--; ) w.attrHandle[c[d]] = b
}
function g(a, b) {
var c = b && a,
d = c && 1 === a.nodeType && 1 === b.nodeType && (~b.sourceIndex || V) - (~a.sourceIndex || V);
if (d) return d;
if (c) for (; c = c.nextSibling; ) if (c === b) return - 1;
return a ? 1 : - 1
}
function h(a) {
return function (b) {
var c = b.nodeName.toLowerCase();
return 'input' === c && b.type === a
}
}
function i(a) {
return function (b) {
var c = b.nodeName.toLowerCase();
return ('input' === c || 'button' === c) && b.type === a
}
}
function j(a) {
return d(function (b) {
return b = + b,
d(function (c, d) {
for (var e, f = a([], c.length, b), g = f.length; g--; ) c[e = f[g]] && (c[e] = !(d[e] = c[e]))
})
})
}
function k(a) {
return a && 'undefined' != typeof a.getElementsByTagName && a
}
function l() {
}
function m(a) {
for (var b = 0, c = a.length, d = ''; b < c; b++) d += a[b].value;
return d
}
function n(a, b, c) {
var d = b.dir,
e = c && 'parentNode' === d,
f = Q++;
return b.first ? function (b, c, f) {
for (; b = b[d]; ) if (1 === b.nodeType || e) return a(b, c, f)
}
: function (b, c, g) {
var h,
i,
j,
k = [
P,
f
];
if (g) {
for (; b = b[d]; ) if ((1 === b.nodeType || e) && a(b, c, g)) return !0
} else for (; b = b[d]; ) if (1 === b.nodeType || e) {
if (j = b[N] || (b[N] = {
}), i = j[b.uniqueID] || (j[b.uniqueID] = {
}), (h = i[d]) && h[0] === P && h[1] === f) return k[2] = h[2];
if (i[d] = k, k[2] = a(b, c, g)) return !0
}
}
}
function o(a) {
return a.length > 1 ? function (b, c, d) {
for (var e = a.length; e--; ) if (!a[e](b, c, d)) return !1;
return !0
}
: a[0]
}
function p(a, c, d) {
for (var e = 0, f = c.length; e < f; e++) b(a, c[e], d);
return d
}
function q(a, b, c, d, e) {
for (var f, g = [
], h = 0, i = a.length, j = null != b; h < i; h++) (f = a[h]) && (c && !c(f, d, e) || (g.push(f), j && b.push(h)));
return g
}
function r(a, b, c, e, f, g) {
return e && !e[N] && (e = r(e)),
f && !f[N] && (f = r(f, g)),
d(function (d, g, h, i) {
var j,
k,
l,
m = [
],
n = [
],
o = g.length,
r = d || p(b || '*', h.nodeType ? [
h
] : h, [
]),
s = !a || !d && b ? r : q(r, m, a, h, i),
t = c ? f || (d ? a : o || e) ? [
] : g : s;
if (c && c(s, t, h, i), e) for (j = q(t, n), e(j, [
], h, i), k = j.length; k--; ) (l = j[k]) && (t[n[k]] = !(s[n[k]] = l));
if (d) {
if (f || a) {
if (f) {
for (j = [
], k = t.length; k--; ) (l = t[k]) && j.push(s[k] = l);
f(null, t = [
], j, i)
}
for (k = t.length; k--; ) (l = t[k]) && (j = f ? aa(d, l) : m[k]) > - 1 && (d[j] = !(g[j] = l))
}
} else t = q(t === g ? t.splice(o, t.length) : t),
f ? f(null, g, t, i) : $.apply(g, t)
})
}
function s(a) {
for (var b, c, d, e = a.length, f = w.relative[a[0].type], g = f || w.relative[' '], h = f ? 1 : 0, i = n(function (a) {
return a === b
}, g, !0), j = n(function (a) {
return aa(b, a) > - 1
}, g, !0), k = [
function (a, c, d) {
var e = !f && (d || c !== C) || ((b = c).nodeType ? i(a, c, d) : j(a, c, d));
return b = null,
e
}
]; h < e; h++) if (c = w.relative[a[h].type]) k = [
n(o(k), c)
];
else {
if (c = w.filter[a[h].type].apply(null, a[h].matches), c[N]) {
for (d = ++h; d < e && !w.relative[a[d].type]; d++);
return r(h > 1 && o(k), h > 1 && m(a.slice(0, h - 1).concat({
value: ' ' === a[h - 2].type ? '*' : ''
})).replace(ha, '$1'), c, h < d && s(a.slice(h, d)), d < e && s(a = a.slice(d)), d < e && m(a))
}
k.push(c)
}
return o(k)
}
function t(a, c) {
var e = c.length > 0,
f = a.length > 0,
g = function (d, g, h, i, j) {
var k,
l,
m,
n = 0,
o = '0',
p = d && [
],
r = [
],
s = C,
t = d || f && w.find.TAG('*', j),
u = P += null == s ? 1 : Math.random() || 0.1,
v = t.length;
for (j && (C = g === G || g || j); o !== v && null != (k = t[o]); o++) {
if (f && k) {
for (l = 0, g || k.ownerDocument === G || (F(k), h = !I); m = a[l++]; ) if (m(k, g || G, h)) {
i.push(k);
break
}
j && (P = u)
}
e && ((k = !m && k) && n--, d && p.push(k))
}
if (n += o, e && o !== n) {
for (l = 0; m = c[l++]; ) m(p, r, g, h);
if (d) {
if (n > 0) for (; o--; ) p[o] || r[o] || (r[o] = Y.call(i));
r = q(r)
}
$.apply(i, r),
j && !d && r.length > 0 && n + c.length > 1 && b.uniqueSort(i)
}
return j && (P = u, C = s),
p
};
return e ? d(g) : g
}
var u,
v,
w,
x,
y,
z,
A,
B,
C,
D,
E,
F,
G,
H,
I,
J,
K,
L,
M,
N = 'sizzle' + 1 * new Date,
O = a.document,
P = 0,
Q = 0,
R = c(),
S = c(),
T = c(),
U = function (a, b) {
return a === b && (E = !0),
0
},
V = 1 +~]|' + ca + ')' + ca + '*'),
ka = new RegExp('=' + ca + '*([^\\]\'"]*?)' + ca + '*\\]', 'g'),
la = new RegExp(fa),
ma = new RegExp('^' + da + '$'),
na = {
ID: new RegExp('^#(' + da + ')'),
CLASS: new RegExp('^\\.(' + da + ')'),
TAG: new RegExp('^(' + da + '|[*])'),
ATTR: new RegExp('^' + ea),
PSEUDO: new RegExp('^' + fa),
CHILD: new RegExp('^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\(' + ca + '*(even|odd|(([+-]|)(\\d*)n|)' + ca + '*(?:([+-]|)' + ca + '*(\\d+)|))' + ca + '*\\)|)', 'i'),
bool: new RegExp('^(?:' + ba + ')$', 'i'),
needsContext: new RegExp('^' + ca + '*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\(' + ca + '*((?:-\\d)?\\d*)' + ca + '*\\)|)(?=[^-]|$)', 'i')
},
oa = /^(?:input|select|textarea|button)$/i,
pa = /^h\d$/i,
qa = /^[^{]+\{\s*\[native \w/,
ra = /^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,
sa = /[+~]/,
ta = /'|\\/g,
ua = new RegExp('\\\\([\\da-f]{1,6}' + ca + '?|(' + ca + ')|.)', 'ig'),
va = function (a, b, c) {
var d = '0x' + b - 65536;
return d !== d || c ? b : d < 0 ? String.fromCharCode(d + 65536) : String.fromCharCode(d >> 10 | 55296, 1023 & d | 56320)
},
wa = function () {
F()
};
try {
$.apply(X = _.call(O.childNodes), O.childNodes),
X[O.childNodes.length].nodeType
} catch (xa) {
$ = {
apply: X.length ? function (a, b) {
Z.apply(a, _.call(b))
}
: function (a, b) {
for (var c = a.length, d = 0; a[c++] = b[d++]; );
a.length = c - 1
}
}
}
v = b.support = {
},
y = b.isXML = function (a) {
var b = a && (a.ownerDocument || a).documentElement;
return !!b && 'HTML' !== b.nodeName
},
F = b.setDocument = function (a) {
var b,
c,
d = a ? a.ownerDocument || a : O;
return d !== G && 9 === d.nodeType && d.documentElement ? (G = d, H = G.documentElement, I = !y(G), (c = G.defaultView) && c.top !== c && (c.addEventListener ? c.addEventListener('unload', wa, !1) : c.attachEvent && c.attachEvent('onunload', wa)), v.attributes = e(function (a) {
return a.className = 'i',
!a.getAttribute('className')
}), v.getElementsByTagName = e(function (a) {
return a.appendChild(G.createComment('')),
!a.getElementsByTagName('*').length
}), v.getElementsByClassName = qa.test(G.getElementsByClassName), v.getById = e(function (a) {
return H.appendChild(a).id = N,
!G.getElementsByName || !G.getElementsByName(N).length
}), v.getById ? (w.find.ID = function (a, b) {
if ('undefined' != typeof b.getElementById && I) {
var c = b.getElementById(a);
return c ? [
c
] : [
]
}
}, w.filter.ID = function (a) {
var b = a.replace(ua, va);
return function (a) {
return a.getAttribute('id') === b
}
}) : (delete w.find.ID, w.filter.ID = function (a) {
var b = a.replace(ua, va);
return function (a) {
var c = 'undefined' != typeof a.getAttributeNode && a.getAttributeNode('id');
return c && c.value === b
}
}), w.find.TAG = v.getElementsByTagName ? function (a, b) {
return 'undefined' != typeof b.getElementsByTagName ? b.getElementsByTagName(a) : v.qsa ? b.querySelectorAll(a) : void 0
}
: function (a, b) {
var c,
d = [
],
e = 0,
f = b.getElementsByTagName(a);
if ('*' === a) {
for (; c = f[e++]; ) 1 === c.nodeType && d.push(c);
return d
}
return f
}, w.find.CLASS = v.getElementsByClassName && function (a, b) {
if ('undefined' != typeof b.getElementsByClassName && I) return b.getElementsByClassName(a)
}, K = [
], J = [
], (v.qsa = qa.test(G.querySelectorAll)) && (e(function (a) {
H.appendChild(a).innerHTML = '',
a.querySelectorAll('[msallowcapture^=\'\']').length && J.push('[*^$]=' + ca + '*(?:\'\'|"")'),
a.querySelectorAll('[selected]').length || J.push('\\[' + ca + '*(?:value|' + ba + ')'),
a.querySelectorAll('[id~=' + N + '-]').length || J.push('~='),
a.querySelectorAll(':checked').length || J.push(':checked'),
a.querySelectorAll('a#' + N + '+*').length || J.push('.#.+[+~]')
}), e(function (a) {
var b = G.createElement('input');
b.setAttribute('type', 'hidden'),
a.appendChild(b).setAttribute('name', 'D'),
a.querySelectorAll('[name=d]').length && J.push('name' + ca + '*[*^$|!~]?='),
a.querySelectorAll(':enabled').length || J.push(':enabled', ':disabled'),
a.querySelectorAll('*,:x'),
J.push(',.*:')
})), (v.matchesSelector = qa.test(L = H.matches || H.webkitMatchesSelector || H.mozMatchesSelector || H.oMatchesSelector || H.msMatchesSelector)) && e(function (a) {
v.disconnectedMatch = L.call(a, 'div'),
L.call(a, '[s!=\'\']:x'),
K.push('!=', fa)
}), J = J.length && new RegExp(J.join('|')), K = K.length && new RegExp(K.join('|')), b = qa.test(H.compareDocumentPosition), M = b || qa.test(H.contains) ? function (a, b) {
var c = 9 === a.nodeType ? a.documentElement : a,
d = b && b.parentNode;
return a === d || !(!d || 1 !== d.nodeType || !(c.contains ? c.contains(d) : a.compareDocumentPosition && 16 & a.compareDocumentPosition(d)))
}
: function (a, b) {
if (b) for (; b = b.parentNode; ) if (b === a) return !0;
return !1
}, U = b ? function (a, b) {
if (a === b) return E = !0,
0;
var c = !a.compareDocumentPosition - !b.compareDocumentPosition;
return c ? c : (c = (a.ownerDocument || a) === (b.ownerDocument || b) ? a.compareDocumentPosition(b) : 1, 1 & c || !v.sortDetached && b.compareDocumentPosition(a) === c ? a === G || a.ownerDocument === O && M(O, a) ? - 1 : b === G || b.ownerDocument === O && M(O, b) ? 1 : D ? aa(D, a) - aa(D, b) : 0 : 4 & c ? - 1 : 1)
}
: function (a, b) {
if (a === b) return E = !0,
0;
var c,
d = 0,
e = a.parentNode,
f = b.parentNode,
h = [
a
],
i = [
b
];
if (!e || !f) return a === G ? - 1 : b === G ? 1 : e ? - 1 : f ? 1 : D ? aa(D, a) - aa(D, b) : 0;
if (e === f) return g(a, b);
for (c = a; c = c.parentNode; ) h.unshift(c);
for (c = b; c = c.parentNode; ) i.unshift(c);
for (; h[d] === i[d]; ) d++;
return d ? g(h[d], i[d]) : h[d] === O ? - 1 : i[d] === O ? 1 : 0
}, G) : G
},
b.matches = function (a, c) {
return b(a, null, null, c)
},
b.matchesSelector = function (a, c) {
if ((a.ownerDocument || a) !== G && F(a), c = c.replace(ka, '=\'$1\']'), v.matchesSelector && I && !T[c + ' '] && (!K || !K.test(c)) && (!J || !J.test(c))) try {
var d = L.call(a, c);
if (d || v.disconnectedMatch || a.document && 11 !== a.document.nodeType) return d
} catch (e) {
}
return b(c, G, null, [
a
]).length > 0
},
b.contains = function (a, b) {
return (a.ownerDocument || a) !== G && F(a),
M(a, b)
},
b.attr = function (a, b) {
(a.ownerDocument || a) !== G && F(a);
var c = w.attrHandle[b.toLowerCase()],
d = c && W.call(w.attrHandle, b.toLowerCase()) ? c(a, b, !I) : void 0;
return void 0 !== d ? d : v.attributes || !I ? a.getAttribute(b) : (d = a.getAttributeNode(b)) && d.specified ? d.value : null
},
b.error = function (a) {
throw new Error('Syntax error, unrecognized expression: ' + a)
},
b.uniqueSort = function (a) {
var b,
c = [
],
d = 0,
e = 0;
if (E = !v.detectDuplicates, D = !v.sortStable && a.slice(0), a.sort(U), E) {
for (; b = a[e++]; ) b === a[e] && (d = c.push(e));
for (; d--; ) a.splice(c[d], 1)
}
return D = null,
a
},
x = b.getText = function (a) {
var b,
c = '',
d = 0,
e = a.nodeType;
if (e) {
if (1 === e || 9 === e || 11 === e) {
if ('string' == typeof a.textContent) return a.textContent;
for (a = a.firstChild; a; a = a.nextSibling) c += x(a)
} else if (3 === e || 4 === e) return a.nodeValue
} else for (; b = a[d++]; ) c += x(b);
return c
},
w = b.selectors = {
cacheLength: 50,
createPseudo: d,
match: na,
attrHandle: {
},
find: {
},
relative: {
'>': {
dir: 'parentNode',
first: !0
},
' ': {
dir: 'parentNode'
},
'+': {
dir: 'previousSibling',
first: !0
},