vendor: 25,494 bytes, lines 1-611
1var CmsRequireJS, CmsRequire,CmsDefine; 2(function () { 3 /** vim: et:ts=4:sw=4:sts=4 4 * @license RequireJS 2.3.6 Copyright jQuery Foundation and other contributors. 5 * Released under MIT license, github.com/requirejs/requirejs/blob/master/LICENSE 6 */ 7var requirejs, require, define; 8! function (global, setTimeout) { 9 var req, s, head, baseElement, dataMain, src, interactiveScript, currentlyAddingScript, mainScript, subPath, version = "2.3.6", 10 commentRegExp = /\/\*[\s\S]*?\*\/|([^:"'=]|^)\/\/.*$/gm, 11 cjsRequireRegExp = /[^.]\s*require\s*\(\s*["']([^'"\s]+)["']\s*\)/g, 12 jsSuffixRegExp = /\.js$/, 13 currDirRegExp = /^\.\//, 14 op = Object.prototype, 15 ostring = op.toString, 16 hasOwn = op.hasOwnProperty, 17 isBrowser = !("undefined" == typeof window || "undefined" == typeof navigator || !window.document), 18 isWebWorker = !isBrowser && "undefined" != typeof importScripts, 19 readyRegExp = isBrowser && "PLAYSTATION 3" === navigator.platform ? /^complete$/ : /^(complete|loaded)$/, 20 defContextName = "_", 21 isOpera = "undefined" != typeof opera && "[object Opera]" === opera.toString(), 22 contexts = {}, 23 cfg = {}, 24 globalDefQueue = [], 25 useInteractive = !1; 26 27 function commentReplace(e, t) { 28 return t || "" 29 } 30 31 function isFunction(e) { 32 return "[object Function]" === ostring.call(e) 33 } 34 35 function isArray(e) { 36 return "[object Array]" === ostring.call(e) 37 } 38 39 function each(e, t) { 40 var i; 41 if (e) 42 for (i = 0; i < e.length && (!e[i] || !t(e[i], i, e)); i += 1); 43 } 44 45 function eachReverse(e, t) { 46 var i; 47 if (e) 48 for (i = e.length - 1; - 1 < i && (!e[i] || !t(e[i], i, e)); i -= 1); 49 } 50 51 function hasProp(e, t) { 52 return hasOwn.call(e, t) 53 } 54 55 function getOwn(e, t) { 56 return hasProp(e, t) && e[t] 57 } 58 59 function eachProp(e, t) { 60 var i; 61 for (i in e) 62 if (hasProp(e, i) && t(e[i], i)) break 63 } 64 65 function mixin(i, e, r, n) { 66 return e && eachProp(e, function (e, t) { 67 !r && hasProp(i, t) || (!n || "object" != typeof e || !e || isArray(e) || isFunction(e) || e instanceof RegExp ? i[t] = e : (i[t] || (i[t] = {}), mixin(i[t], e, r, n))) 68 }), i 69 } 70 71 function bind(e, t) { 72 return function () { 73 return t.apply(e, arguments) 74 } 75 } 76 77 function scripts() { 78 return document.getElementsByTagName("script") 79 } 80 81 function defaultOnError(e) { 82 throw e 83 } 84 85 function getGlobal(e) { 86 if (!e) return e; 87 var t = global; 88 return each(e.split("."), function (e) { 89 t = t[e] 90 }), t 91 } 92 93 function makeError(e, t, i, r) { 94 var n = new Error(t + "\n" + e); 95 return n.requireType = e, n.requireModules = r, i && (n.originalError = i), n 96 } 97 if (void 0 === define) { 98 if (void 0 !== requirejs) { 99 if (isFunction(requirejs)) return; 100 cfg = requirejs, requirejs = void 0 101 } 102 void 0 === require || isFunction(require) || (cfg = require, require = void 0), req = requirejs = function (e, t, i, r) { 103 var n, o, a = defContextName; 104 return isArray(e) || "string" == typeof e || (o = e, isArray(t) ? (e = t, t = i, i = r) : e = []), o && o.context && (a = o.context), (n = getOwn(contexts, a)) || (n = contexts[a] = req.s.newContext(a)), o && n.configure(o), n.require(e, t, i) 105 }, req.config = function (e) { 106 return req(e) 107 }, req.nextTick = void 0 !== setTimeout ? function (e) { 108 setTimeout(e, 4) 109 } : function (e) { 110 e() 111 }, require || (require = req), req.version = version, req.jsExtRegExp = /^\/|:|\?|\.js$/, req.isBrowser = isBrowser, s = req.s = { 112 contexts: contexts, 113 newContext: newContext 114 }, req({}), each(["toUrl", "undef", "defined", "specified"], function (t) { 115 req[t] = function () { 116 var e = contexts[defContextName]; 117 return e.require[t].apply(e, arguments) 118 } 119 }), 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 (e, t, i) { 120 var r = e.xhtml ? document.createElementNS("http://www.w3.org/1999/xhtml", "html:script") : document.createElement("script"); 121 return r.type = e.scriptType || "text/javascript", r.charset = "utf-8", r.async = !0, r 122 }, req.load = function (t, i, r) { 123 var e, n = t && t.config || {}; 124 if (isBrowser) return (e = req.createNode(n, i, r)).setAttribute("data-requirecontext", t.contextName), e.setAttribute("data-requiremodule", i), !e.attachEvent || e.attachEvent.toString && e.attachEvent.toString().indexOf("[native code") < 0 || isOpera ? (e.addEventListener("load", t.onScriptLoad, !1), e.addEventListener("error", t.onScriptError, !1)) : (useInteractive = !0, e.attachEvent("onreadystatechange", t.onScriptLoad)), e.src = r, n.onNodeCreated && n.onNodeCreated(e, n, i, r), currentlyAddingScript = e, baseElement ? head.insertBefore(e, baseElement) : head.appendChild(e), currentlyAddingScript = null, e; 125 if (isWebWorker) try { 126 setTimeout(function () {}, 0), importScripts(r), t.completeLoad(i) 127 } catch (e) { 128 t.onError(makeError("importscripts", "importScripts failed for " + i + " at " + r, e, [i])) 129 } 130 }, isBrowser && !cfg.skipDataMain && eachReverse(scripts(), function (e) { 131 if (head || (head = e.parentNode), dataMain = e.getAttribute("data-main")) return mainScript = dataMain, cfg.baseUrl || -1 !== mainScript.indexOf("!") || (mainScript = (src = mainScript.split("/")).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 132 }), define = function (e, i, t) { 133 var r, n; 134 "string" != typeof e && (t = i, i = e, e = null), isArray(i) || (t = i, i = null), !i && isFunction(t) && (i = [], t.length && (t.toString().replace(commentRegExp, commentReplace).replace(cjsRequireRegExp, function (e, t) { 135 i.push(t) 136 }), i = (1 === t.length ? ["require"] : ["require", "exports", "module"]).concat(i))), useInteractive && (r = currentlyAddingScript || getInteractiveScript()) && (e || (e = r.getAttribute("data-requiremodule")), n = contexts[r.getAttribute("data-requirecontext")]), n ? (n.defQueue.push([e, i, t]), n.defQueueMap[e] = !0) : globalDefQueue.push([e, i, t]) 137 }, define.amd = { 138 jQuery: !0 139 }, req.exec = function (text) { 140 return eval(text) 141 }, req(cfg) 142 } 143 144 function newContext(u) { 145 var i, e, l, c, d, g = { 146 waitSeconds: 7, 147 baseUrl: "./", 148 paths: {}, 149 bundles: {}, 150 pkgs: {}, 151 shim: {}, 152 config: {} 153 }, 154 p = {}, 155 f = {}, 156 r = {}, 157 h = [], 158 m = {}, 159 n = {}, 160 v = {}, 161 x = 1, 162 b = 1; 163 164 function q(e, t, i) { 165 var r, n, o, a, s, u, c, d, p, f, l = t && t.split("/"), 166 h = g.map, 167 m = h && h["*"]; 168 if (e && (u = (e = e.split("/")).length - 1, g.nodeIdCompat && jsSuffixRegExp.test(e[u]) && (e[u] = e[u].replace(jsSuffixRegExp, "")), "." === e[0].charAt(0) && l && (e = l.slice(0, l.length - 1).concat(e)), function (e) { 169 var t, i; 170 for (t = 0; t < e.length; t++) 171 if ("." === (i = e[t])) e.splice(t, 1), t -= 1; 172 else if (".." === i) { 173 if (0 === t || 1 === t && ".." === e[2] || ".." === e[t - 1]) continue; 174 0 < t && (e.splice(t - 1, 2), t -= 2) 175 } 176 }(e), e = e.join("/")), i && h && (l || m)) { 177 e: for (o = (n = e.split("/")).length; 0 < o; o -= 1) { 178 if (s = n.slice(0, o).join("/"), l) 179 for (a = l.length; 0 < a; a -= 1) 180 if ((r = getOwn(h, l.slice(0, a).join("/"))) && (r = getOwn(r, s))) { 181 c = r, d = o; 182 break e 183 }! p && m && getOwn(m, s) && (p = getOwn(m, s), f = o) 184 }!c && p && (c = p, d = f), 185 c && (n.splice(0, d, c), e = n.join("/")) 186 } 187 return getOwn(g.pkgs, e) || e 188 } 189 190 function E(t) { 191 isBrowser && each(scripts(), function (e) { 192 if (e.getAttribute("data-requiremodule") === t && e.getAttribute("data-requirecontext") === l.contextName) return e.parentNode.removeChild(e), !0 193 }) 194 } 195 196 function w(e) { 197 var t = getOwn(g.paths, e); 198 if (t && isArray(t) && 1 < t.length) return t.shift(), l.require.undef(e), l.makeRequire(null, { 199 skipMap: !0 200 })([e]), !0 201 } 202 203 function y(e) { 204 var t, i = e ? e.indexOf("!") : -1; 205 return -1 < i && (t = e.substring(0, i), e = e.substring(i + 1, e.length)), [t, e] 206 } 207 208 function S(e, t, i, r) { 209 var n, o, a, s, u = null, 210 c = t ? t.name : null, 211 d = e, 212 p = !0, 213 f = ""; 214 return e || (p = !1, e = "_@r" + (x += 1)), u = (s = y(e))[0], e = s[1], u && (u = q(u, c, r), o = getOwn(m, u)), e && (u ? f = i ? e : o && o.normalize ? o.normalize(e, function (e) { 215 return q(e, c, r) 216 }) : -1 === e.indexOf("!") ? q(e, c, r) : e : (u = (s = y(f = q(e, c, r)))[0], f = s[1], i = !0, n = l.nameToUrl(f))), { 217 prefix: u, 218 name: f, 219 parentMap: t, 220 unnormalized: !!(a = !u || o || i ? "" : "_unnormalized" + (b += 1)), 221 url: n, 222 originalName: d, 223 isDefine: p, 224 id: (u ? u + "!" + f : f) + a 225 } 226 } 227 228 function k(e) { 229 var t = e.id, 230 i = getOwn(p, t); 231 return i || (i = p[t] = new l.Module(e)), i 232 } 233 234 function M(e, t, i) { 235 var r = e.id, 236 n = getOwn(p, r); 237 !hasProp(m, r) || n && !n.defineEmitComplete ? (n = k(e)).error && "error" === t ? i(n.error) : n.on(t, i) : "defined" === t && i(m[r]) 238 } 239 240 function O(i, e) { 241 var t = i.requireModules, 242 r = !1; 243 e ? e(i) : (each(t, function (e) { 244 var t = getOwn(p, e); 245 t && (t.error = i, t.events.error && (r = !0, t.emit("error", i))) 246 }), r || req.onError(i)) 247 } 248 249 function j() { 250 globalDefQueue.length && (each(globalDefQueue, function (e) { 251 var t = e[0]; 252 "string" == typeof t && (l.defQueueMap[t] = !0), h.push(e) 253 }), globalDefQueue = []) 254 } 255 256 function P(e) { 257 delete p[e], delete f[e] 258 } 259 260 function R() { 261 var e, r, t = 1e3 * g.waitSeconds, 262 n = t && l.startTime + t < (new Date).getTime(), 263 o = [], 264 a = [], 265 s = !1, 266 u = !0; 267 if (!i) { 268 if (i = !0, eachProp(f, function (e) { 269 var t = e.map, 270 i = t.id; 271 if (e.enabled && (t.isDefine || a.push(e), !e.error)) 272 if (!e.inited && n) w(i) ? s = r = !0 : (o.push(i), E(i)); 273 else if (!e.inited && e.fetched && t.isDefine && (s = !0, !t.prefix)) return u = !1 274 }), n && o.length) return (e = makeError("timeout", "Load timeout for modules: " + o, null, o)).contextName = l.contextName, O(e); 275 u && each(a, function (e) { 276 ! function n(o, a, s) { 277 var e = o.map.id; 278 o.error ? o.emit("error", o.error) : (a[e] = !0, each(o.depMaps, function (e, t) { 279 var i = e.id, 280 r = getOwn(p, i); 281 !r || o.depMatched[t] || s[i] || (getOwn(a, i) ? (o.defineDep(t, m[i]), o.check()) : n(r, a, s)) 282 }), s[e] = !0) 283 }(e, {}, {}) 284 }), n && !r || !s || !isBrowser && !isWebWorker || d || (d = setTimeout(function () { 285 d = 0, R() 286 }, 50)), i = !1 287 } 288 } 289 290 function a(e) { 291 hasProp(m, e[0]) || k(S(e[0], null, !0)).init(e[1], e[2]) 292 } 293 294 function o(e, t, i, r) { 295 e.detachEvent && !isOpera ? r && e.detachEvent(r, t) : e.removeEventListener(i, t, !1) 296 } 297 298 function s(e) { 299 var t = e.currentTarget || e.srcElement; 300 return o(t, l.onScriptLoad, "load", "onreadystatechange"), o(t, l.onScriptError, "error"), { 301 node: t, 302 id: t && t.getAttribute("data-requiremodule") 303 } 304 } 305 306 function T() { 307 var e; 308 for (j(); h.length;) { 309 if (null === (e = h.shift())[0]) return O(makeError("mismatch", "Mismatched anonymous define() module: " + e[e.length - 1])); 310 a(e) 311 } 312 l.defQueueMap = {} 313 } 314 return c = { 315 require: function (e) { 316 return e.require ? e.require : e.require = l.makeRequire(e.map) 317 }, 318 exports: function (e) { 319 if (e.usingExports = !0, e.map.isDefine) return e.exports ? m[e.map.id] = e.exports : e.exports = m[e.map.id] = {} 320 }, 321 module: function (e) { 322 return e.module ? e.module : e.module = { 323 id: e.map.id, 324 uri: e.map.url, 325 config: function () { 326 return getOwn(g.config, e.map.id) || {} 327 }, 328 exports: e.exports || (e.exports = {}) 329 } 330 } 331 }, (e = function (e) { 332 this.events = getOwn(r, e.id) || {}, this.map = e, this.shim = getOwn(g.shim, e.id), this.depExports = [], this.depMaps = [], this.depMatched = [], this.pluginMaps = {}, this.depCount = 0 333 }).prototype = { 334 init: function (e, t, i, r) { 335 r = r || {}, this.inited || (this.factory = t, i ? this.on("error", i) : this.events.error && (i = bind(this, function (e) { 336 this.emit("error", e) 337 })), this.depMaps = e && e.slice(0), this.errback = i, this.inited = !0, this.ignore = r.ignore, r.enabled || this.enabled ? this.enable() : this.check()) 338 }, 339 defineDep: function (e, t) { 340 this.depMatched[e] || (this.depMatched[e] = !0, this.depCount -= 1, this.depExports[e] = t) 341 }, 342 fetch: function () { 343 if (!this.fetched) { 344 this.fetched = !0, l.startTime = (new Date).getTime(); 345 var e = this.map; 346 if (!this.shim) return e.prefix ? this.callPlugin() : this.load(); 347 l.makeRequire(this.map, { 348 enableBuildCallback: !0 349 })(this.shim.deps || [], bind(this, function () { 350 return e.prefix ? this.callPlugin() : this.load() 351 })) 352 } 353 }, 354 load: function () { 355 var e = this.map.url; 356 n[e] || (n[e] = !0, l.load(this.map.id, e)) 357 }, 358 check: function () { 359 if (this.enabled && !this.enabling) { 360 var t, e, i = this.map.id, 361 r = this.depExports, 362 n = this.exports, 363 o = this.factory; 364 if (this.inited) { 365 if (this.error) this.emit("error", this.error); 366 else if (!this.defining) { 367 if (this.defining = !0, this.depCount < 1 && !this.defined) { 368 if (isFunction(o)) { 369 if (this.events.error && this.map.isDefine || req.onError !== defaultOnError) try { 370 n = l.execCb(i, o, r, n) 371 } catch (e) { 372 t = e 373 } else n = l.execCb(i, o, r, n); 374 if (this.map.isDefine && void 0 === n && ((e = this.module) ? n = e.exports : this.usingExports && (n = this.exports)), t) return t.requireMap = this.map, t.requireModules = this.map.isDefine ? [this.map.id] : null, t.requireType = this.map.isDefine ? "define" : "require", O(this.error = t) 375 } else n = o; 376 if (this.exports = n, this.map.isDefine && !this.ignore && (m[i] = n, req.onResourceLoad)) { 377 var a = []; 378 each(this.depMaps, function (e) { 379 a.push(e.normalizedMap || e) 380 }), req.onResourceLoad(l, this.map, a) 381 } 382 P(i), this.defined = !0 383 } 384 this.defining = !1, this.defined && !this.defineEmitted && (this.defineEmitted = !0, this.emit("defined", this.exports), this.defineEmitComplete = !0) 385 } 386 } else hasProp(l.defQueueMap, i) || this.fetch() 387 } 388 }, 389 callPlugin: function () { 390 var u = this.map, 391 c = u.id, 392 e = S(u.prefix); 393 this.depMaps.push(e), M(e, "defined", bind(this, function (e) { 394 var o, t, i, r = getOwn(v, this.map.id), 395 n = this.map.name, 396 a = this.map.parentMap ? this.map.parentMap.name : null, 397 s = l.makeRequire(u.parentMap, { 398 enableBuildCallback: !0 399 }); 400 return this.map.unnormalized ? (e.normalize && (n = e.normalize(n, function (e) { 401 return q(e, a, !0) 402 }) || ""), M(t = S(u.prefix + "!" + n, this.map.parentMap, !0), "defined", bind(this, function (e) { 403 this.map.normalizedMap = t, this.init([], function () { 404 return e 405 }, null, { 406 enabled: !0, 407 ignore: !0 408 }) 409 })), void((i = getOwn(p, t.id)) && (this.depMaps.push(t), this.events.error && i.on("error", bind(this, function (e) { 410 this.emit("error", e) 411 })), i.enable()))) : r ? (this.map.url = l.nameToUrl(r), void this.load()) : ((o = bind(this, function (e) { 412 this.init([], function () { 413 return e 414 }, null, { 415 enabled: !0 416 }) 417 })).error = bind(this, function (e) { 418 this.inited = !0, (this.error = e).requireModules = [c], eachProp(p, function (e) { 419 0 === e.map.id.indexOf(c + "_unnormalized") && P(e.map.id) 420 }), O(e) 421 }), o.fromText = bind(this, function (e, t) { 422 var i = u.name, 423 r = S(i), 424 n = useInteractive; 425 t && (e = t), n && (useInteractive = !1), k(r), hasProp(g.config, c) && (g.config[i] = g.config[c]); 426 try { 427 req.exec(e) 428 } catch (e) { 429 return O(makeError("fromtexteval", "fromText eval for " + c + " failed: " + e, e, [c])) 430 } 431 n && (useInteractive = !0), this.depMaps.push(r), l.completeLoad(i), s([i], o) 432 }), void e.load(u.name, s, o, g)) 433 })), l.enable(e, this), this.pluginMaps[e.id] = e 434 }, 435 enable: function () { 436 (f[this.map.id] = this).enabled = !0, this.enabling = !0, each(this.depMaps, bind(this, function (e, t) { 437 var i, r, n; 438 if ("string" == typeof e) { 439 if (e = S(e, this.map.isDefine ? this.map : this.map.parentMap, !1, !this.skipMap), this.depMaps[t] = e, n = getOwn(c, e.id)) return void(this.depExports[t] = n(this)); 440 this.depCount += 1, M(e, "defined", bind(this, function (e) { 441 this.undefed || (this.defineDep(t, e), this.check()) 442 })), this.errback ? M(e, "error", bind(this, this.errback)) : this.events.error && M(e, "error", bind(this, function (e) { 443 this.emit("error", e) 444 })) 445 } 446 i = e.id, r = p[i], hasProp(c, i) || !r || r.enabled || l.enable(e, this) 447 })), eachProp(this.pluginMaps, bind(this, function (e) { 448 var t = getOwn(p, e.id); 449 t && !t.enabled && l.enable(e, this) 450 })), this.enabling = !1, this.check() 451 }, 452 on: function (e, t) { 453 var i = this.events[e]; 454 i || (i = this.events[e] = []), i.push(t) 455 }, 456 emit: function (e, t) { 457 each(this.events[e], function (e) { 458 e(t) 459 }), "error" === e && delete this.events[e] 460 } 461 }, (l = { 462 config: g, 463 contextName: u, 464 registry: p, 465 defined: m, 466 urlFetched: n, 467 defQueue: h, 468 defQueueMap: {}, 469 Module: e, 470 makeModuleMap: S, 471 nextTick: req.nextTick, 472 onError: O, 473 configure: function (e) { 474 if (e.baseUrl && "/" !== e.baseUrl.charAt(e.baseUrl.length - 1) && (e.baseUrl += "/"), "string" == typeof e.urlArgs) { 475 var i = e.urlArgs; 476 e.urlArgs = function (e, t) { 477 return (-1 === t.indexOf("?") ? "?" : "&") + i 478 } 479 } 480 var r = g.shim, 481 n = { 482 paths: !0, 483 bundles: !0, 484 config: !0, 485 map: !0 486 }; 487 eachProp(e, function (e, t) { 488 n[t] ? (g[t] || (g[t] = {}), mixin(g[t], e, !0, !0)) : g[t] = e 489 }), e.bundles && eachProp(e.bundles, function (e, t) { 490 each(e, function (e) { 491 e !== t && (v[e] = t) 492 }) 493 }), e.shim && (eachProp(e.shim, function (e, t) { 494 isArray(e) && (e = { 495 deps: e 496 }), !e.exports && !e.init || e.exportsFn || (e.exportsFn = l.makeShimExports(e)), r[t] = e 497 }), g.shim = r), e.packages && each(e.packages, function (e) { 498 var t; 499 t = (e = "string" == typeof e ? { 500 name: e 501 } : e).name, e.location && (g.paths[t] = e.location), g.pkgs[t] = e.name + "/" + (e.main || "main").replace(currDirRegExp, "").replace(jsSuffixRegExp, "") 502 }), eachProp(p, function (e, t) { 503 e.inited || e.map.unnormalized || (e.map = S(t, null, !0)) 504 }), (e.deps || e.callback) && l.require(e.deps || [], e.callback) 505 }, 506 makeShimExports: function (t) { 507 return function () { 508 var e; 509 return t.init && (e = t.init.apply(global, arguments)), e || t.exports && getGlobal(t.exports) 510 } 511 }, 512 makeRequire: function (o, a) { 513 function s(e, t, i) { 514 var r, n; 515 return a.enableBuildCallback && t && isFunction(t) && (t.__requireJsBuild = !0), "string" == typeof e ? isFunction(t) ? O(makeError("requireargs", "Invalid require call"), i) : o && hasProp(c, e) ? c[e](p[o.id]) : req.get ? req.get(l, e, o, s) : (r = S(e, o, !1, !0).id, hasProp(m, r) ? m[r] : O(makeError("notloaded", 'Module name "' + r + '" has not been loaded yet for context: ' + u + (o ? "" : ". Use require([])")))) : (T(), l.nextTick(function () { 516 T(), (n = k(S(null, o))).skipMap = a.skipMap, n.init(e, t, i, { 517 enabled: !0 518 }), R() 519 }), s) 520 } 521 return a = a || {}, mixin(s, { 522 isBrowser: isBrowser, 523 toUrl: function (e) { 524 var t, i = e.lastIndexOf("."), 525 r = e.split("/")[0]; 526 return -1 !== i && (!("." === r || ".." === r) || 1 < i) && (t = e.substring(i, e.length), e = e.substring(0, i)), l.nameToUrl(q(e, o && o.id, !0), t, !0) 527 }, 528 defined: function (e) { 529 return hasProp(m, S(e, o, !1, !0).id) 530 }, 531 specified: function (e) { 532 return e = S(e, o, !1, !0).id, hasProp(m, e) || hasProp(p, e) 533 } 534 }), o || (s.undef = function (i) { 535 j(); 536 var e = S(i, o, !0), 537 t = getOwn(p, i); 538 t.undefed = !0, E(i), delete m[i], delete n[e.url], delete r[i], eachReverse(h, function (e, t) { 539 e[0] === i && h.splice(t, 1) 540 }), delete l.defQueueMap[i], t && (t.events.defined && (r[i] = t.events), P(i)) 541 }), s 542 }, 543 enable: function (e) { 544 getOwn(p, e.id) && k(e).enable() 545 }, 546 completeLoad: function (e) { 547 var t, i, r, n = getOwn(g.shim, e) || {}, 548 o = n.exports; 549 for (j(); h.length;) { 550 if (null === (i = h.shift())[0]) { 551 if (i[0] = e, t) break; 552 t = !0 553 } else i[0] === e && (t = !0); 554 a(i) 555 } 556 if (l.defQueueMap = {}, r = getOwn(p, e), !t && !hasProp(m, e) && r && !r.inited) { 557 if (!(!g.enforceDefine || o && getGlobal(o))) return w(e) ? void 0 : O(makeError("nodefine", "No define call for " + e, null, [e])); 558 a([e, n.deps || [], n.exportsFn]) 559 } 560 R() 561 }, 562 nameToUrl: function (e, t, i) { 563 var r, n, o, a, s, u, c = getOwn(g.pkgs, e); 564 if (c && (e = c), u = getOwn(v, e)) return l.nameToUrl(u, t, i); 565 if (req.jsExtRegExp.test(e)) a = e + (t || ""); 566 else { 567 for (r = g.paths, o = (n = e.split("/")).length; 0 < o; o -= 1) 568 if (s = getOwn(r, n.slice(0, o).join("/"))) { 569 isArray(s) && (s = s[0]), n.splice(0, o, s); 570 break 571 } a = n.join("/"), a = ("/" === (a += t || (/^data\:|^blob\:|\?/.test(a) || i ? "" : ".js")).charAt(0) || a.match(/^[\w\+\.\-]+:/) ? "" : g.baseUrl) + a 572 } 573 return g.urlArgs && !/^blob\:/.test(a) ? a + g.urlArgs(e, a) : a 574 }, 575 load: function (e, t) { 576 req.load(l, e, t) 577 }, 578 execCb: function (e, t, i, r) { 579 return t.apply(r, i) 580 }, 581 onScriptLoad: function (e) { 582 if ("load" === e.type || readyRegExp.test((e.currentTarget || e.srcElement).readyState)) { 583 interactiveScript = null; 584 var t = s(e); 585 l.completeLoad(t.id) 586 } 587 }, 588 onScriptError: function (e) { 589 var i = s(e); 590 if (!w(i.id)) { 591 var r = []; 592 return eachProp(p, function (e, t) { 593 0 !== t.indexOf("_@r") && each(e.depMaps, function (e) { 594 if (e.id === i.id) return r.push(t), !0 595 }) 596 }), O(makeError("scripterror", 'Script error for "' + i.id + (r.length ? '", needed by: ' + r.join(", ") : '"'), e, [i.id])) 597 } 598 } 599 }).require = l.makeRequire(), l 600 } 601 602 function getInteractiveScript() { 603 return interactiveScript && "interactive" === interactiveScript.readyState || eachReverse(scripts(), function (e) { 604 if ("interactive" === e.readyState) return interactiveScript = e 605 }), interactiveScript 606 } 607}(this, "undefined" == typeof setTimeout ? void 0 : setTimeout); 608CmsRequireJS = requirejs; 609CmsRequire = require; 610CmsDefine = define; 611})()
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.