1!(function (e) { 2 var t = {}; 3 function n(r) { 4 if (t[r]) return t[r].exports; 5 var i = (t[r] = { i: r, l: !1, exports: {} }); 6 return e[r].call(i.exports, i, i.exports, n), (i.l = !0), i.exports; 7 } 8 (n.m = e), 9 (n.c = t), 10 (n.d = function (e, t, r) { 11 n.o(e, t) || Object.defineProperty(e, t, { enumerable: !0, get: r }); 12 }), 13 (n.r = function (e) { 14 "undefined" != typeof Symbol && Symbol.toStringTag && Object.defineProperty(e, Symbol.toStringTag, { value: "Module" }), Object.defineProperty(e, "__esModule", { value: !0 }); 15 }), 16 (n.t = function (e, t) { 17 if ((1 & t && (e = n(e)), 8 & t)) return e; 18 if (4 & t && "object" == typeof e && e && e.__esModule) return e; 19 var r = Object.create(null); 20 if ((n.r(r), Object.defineProperty(r, "default", { enumerable: !0, value: e }), 2 & t && "string" != typeof e)) 21 for (var i in e) 22 n.d( 23 r, 24 i, 25 function (t) { 26 return e[t]; 27 }.bind(null, i) 28 ); 29 return r; 30 }), 31 (n.n = function (e) { 32 var t = 33 e && e.__esModule 34 ? function () { 35 return e.default; 36 } 37 : function () { 38 return e; 39 }; 40 return n.d(t, "a", t), t; 41 }), 42 (n.o = function (e, t) { 43 return Object.prototype.hasOwnProperty.call(e, t); 44 }), 45 (n.p = ""), 46 n((n.s = 21)); 47})([ 48 function (e, t, n) { 49 var r; 50 !(function (t, n) { 51 "use strict"; 52 "object" == typeof e.exports 53 ? (e.exports = t.document 54 ? n(t, !0) 55 : function (e) { 56 if (!e.document) throw new Error("jQuery requires a window with a document"); 57 return n(e); 58 }) 59 : n(t); 60 })("undefined" != typeof window ? window : this, function (n, i) { 61 "use strict"; 62 var o = [], 63 a = Object.getPrototypeOf, 64 s = o.slice, 65 u = o.flat 66 ? function (e) { 67 return o.flat.call(e); 68 } 69 : function (e) { 70 return o.concat.apply([], e); 71 }, 72 l = o.push, 73 c = o.indexOf, 74 d = {}, 75 f = d.toString, 76 h = d.hasOwnProperty, 77 p = h.toString, 78 m = p.call(Object), 79 g = {}, 80 v = function (e) { 81 return "function" == typeof e && "number" != typeof e.nodeType; 82 }, 83 y = function (e) { 84 return null != e && e === e.window; 85 }, 86 b = n.document, 87 w = { type: !0, src: !0, nonce: !0, noModule: !0 }; 88 function x(e, t, n) { 89 var r, 90 i, 91 o = (n = n || b).createElement("script"); 92 if (((o.text = e), t)) for (r in w) (i = t[r] || (t.getAttribute && t.getAttribute(r))) && o.setAttribute(r, i); 93 n.head.appendChild(o).parentNode.removeChild(o); 94 } 95 function T(e) { 96 return null == e ? e + "" : "object" == typeof e || "function" == typeof e ? d[f.call(e)] || "object" : typeof e; 97 } 98 var k = function (e, t) { 99 return new k.fn.init(e, t); 100 }; 101 function S(e) { 102 var t = !!e && "length" in e && e.length, 103 n = T(e); 104 return !v(e) && !y(e) && ("array" === n || 0 === t || ("number" == typeof t && t > 0 && t - 1 in e)); 105 } 106 (k.fn = k.prototype = { 107 jquery: "3.5.1", 108 constructor: k, 109 length: 0, 110 toArray: function () { 111 return s.call(this); 112 }, 113 get: function (e) { 114 return null == e ? s.call(this) : e < 0 ? this[e + this.length] : this[e]; 115 }, 116 pushStack: function (e) { 117 var t = k.merge(this.constructor(), e); 118 return (t.prevObject = this), t; 119 }, 120 each: function (e) { 121 return k.each(this, e); 122 }, 123 map: function (e) { 124 return this.pushStack( 125 k.map(this, function (t, n) { 126 return e.call(t, n, t); 127 }) 128 ); 129 }, 130 slice: function () { 131 return this.pushStack(s.apply(this, arguments)); 132 }, 133 first: function () { 134 return this.eq(0); 135 }, 136 last: function () { 137 return this.eq(-1); 138 }, 139 even: function () { 140 return this.pushStack( 141 k.grep(this, function (e, t) { 142 return (t + 1) % 2; 143 }) 144 ); 145 }, 146 odd: function () { 147 return this.pushStack( 148 k.grep(this, function (e, t) { 149 return t % 2; 150 }) 151 ); 152 }, 153 eq: function (e) { 154 var t = this.length, 155 n = +e + (e < 0 ? t : 0); 156 return this.pushStack(n >= 0 && n < t ? [this[n]] : []); 157 }, 158 end: function () { 159 return this.prevObject || this.constructor(); 160 }, 161 push: l, 162 sort: o.sort, 163 splice: o.splice, 164 }), 165 (k.extend = k.fn.extend = function () { 166 var e, 167 t, 168 n, 169 r, 170 i, 171 o, 172 a = arguments[0] || {}, 173 s = 1, 174 u = arguments.length, 175 l = !1; 176 for ("boolean" == typeof a && ((l = a), (a = arguments[s] || {}), s++), "object" == typeof a || v(a) || (a = {}), s === u && ((a = this), s--); s < u; s++) 177 if (null != (e = arguments[s])) 178 for (t in e) 179 (r = e[t]), 180 "__proto__" !== t && 181 a !== r && 182 (l && r && (k.isPlainObject(r) || (i = Array.isArray(r))) 183 ? ((n = a[t]), (o = i && !Array.isArray(n) ? [] : i || k.isPlainObject(n) ? n : {}), (i = !1), (a[t] = k.extend(l, o, r))) 184 : void 0 !== r && (a[t] = r)); 185 return a; 186 }), 187 k.extend({ 188 expando: "jQuery" + ("3.5.1" + Math.random()).replace(/\D/g, ""), 189 isReady: !0, 190 error: function (e) { 191 throw new Error(e); 192 }, 193 noop: function () {}, 194 isPlainObject: function (e) { 195 var t, n; 196 return !(!e || "[object Object]" !== f.call(e)) && (!(t = a(e)) || ("function" == typeof (n = h.call(t, "constructor") && t.constructor) && p.call(n) === m)); 197 }, 198 isEmptyObject: function (e) { 199 var t; 200 for (t in e) return !1; 201 return !0; 202 }, 203 globalEval: function (e, t, n) { 204 x(e, { nonce: t && t.nonce }, n); 205 }, 206 each: function (e, t) { 207 var n, 208 r = 0; 209 if (S(e)) for (n = e.length; r < n && !1 !== t.call(e[r], r, e[r]); r++); 210 else for (r in e) if (!1 === t.call(e[r], r, e[r])) break; 211 return e; 212 }, 213 makeArray: function (e, t) { 214 var n = t || []; 215 return null != e && (S(Object(e)) ? k.merge(n, "string" == typeof e ? [e] : e) : l.call(n, e)), n; 216 }, 217 inArray: function (e, t, n) { 218 return null == t ? -1 : c.call(t, e, n); 219 }, 220 merge: function (e, t) { 221 for (var n = +t.length, r = 0, i = e.length; r < n; r++) e[i++] = t[r]; 222 return (e.length = i), e; 223 }, 224 grep: function (e, t, n) { 225 for (var r = [], i = 0, o = e.length, a = !n; i < o; i++) !t(e[i], i) !== a && r.push(e[i]); 226 return r; 227 }, 228 map: function (e, t, n) { 229 var r, 230 i, 231 o = 0, 232 a = []; 233 if (S(e)) for (r = e.length; o < r; o++) null != (i = t(e[o], o, n)) && a.push(i); 234 else for (o in e) null != (i = t(e[o], o, n)) && a.push(i); 235 return u(a); 236 }, 237 guid: 1, 238 support: g, 239 }), 240 "function" == typeof Symbol && (k.fn[Symbol.iterator] = o[Symbol.iterator]), 241 k.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "), function (e, t) { 242 d["[object " + t + "]"] = t.toLowerCase(); 243 }); 244 var E = (function (e) { 245 var t, 246 n, 247 r, 248 i, 249 o, 250 a, 251 s, 252 u, 253 l, 254 c, 255 d, 256 f, 257 h, 258 p, 259 m, 260 g, 261 v, 262 y, 263 b, 264 w = "sizzle" + 1 * new Date(), 265 x = e.document, 266 T = 0, 267 k = 0, 268 S = ue(), 269 E = ue(), 270 C = ue(), 271 D = ue(), 272 j = function (e, t) { 273 return e === t && (d = !0), 0; 274 }, 275 O = {}.hasOwnProperty, 276 _ = [], 277 N = _.pop, 278 A = _.push, 279 L = _.push, 280 M = _.slice, 281 I = function (e, t) { 282 for (var n = 0, r = e.length; n < r; n++) if (e[n] === t) return n; 283 return -1; 284 }, 285 $ = "checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped", 286 q = "[\\x20\\t\\r\\n\\f]", 287 P = "(?:\\\\[\\da-fA-F]{1,6}" + q + "?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+", 288 H = "\\[" + q + "*(" + P + ")(?:" + q + "*([*^$|!~]?=)" + q + "*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|(" + P + "))|)" + q + "*\\]", 289 F = ":(" + P + ")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|" + H + ")*)|.*)\\)|)", 290 z = new RegExp(q + "+", "g"), 291 R = new RegExp("^" + q + "+|((?:^|[^\\\\])(?:\\\\.)*)" + q + "+$", "g"), 292 V = new RegExp("^" + q + "*," + q + "*"), 293 W = new RegExp("^" + q + "*([>+~]|" + q + ")" + q + "*"), 294 U = new RegExp(q + "|>"), 295 B = new RegExp(F), 296 Q = new RegExp("^" + P + "$"), 297 Z = { 298 ID: new RegExp("^#(" + P + ")"), 299 CLASS: new RegExp("^\\.(" + P + ")"), 300 TAG: new RegExp("^(" + P + "|[*])"), 301 ATTR: new RegExp("^" + H), 302 PSEUDO: new RegExp("^" + F), 303 CHILD: new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\(" + q + "*(even|odd|(([+-]|)(\\d*)n|)" + q + "*(?:([+-]|)" + q + "*(\\d+)|))" + q + "*\\)|)", "i"), 304 bool: new RegExp("^(?:" + $ + ")$", "i"), 305 needsContext: new RegExp("^" + q + "*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\(" + q + "*((?:-\\d)?\\d*)" + q + "*\\)|)(?=[^-]|$)", "i"), 306 }, 307 J = /HTML$/i, 308 Y = /^(?:input|select|textarea|button)$/i, 309 G = /^h\d$/i, 310 X = /^[^{]+\{\s*\[native \w/, 311 K = /^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/, 312 ee = /[+~]/, 313 te = new RegExp("\\\\[\\da-fA-F]{1,6}" + q + "?|\\\\([^\\r\\n\\f])", "g"), 314 ne = function (e, t) { 315 var n = "0x" + e.slice(1) - 65536; 316 return t || (n < 0 ? String.fromCharCode(n + 65536) : String.fromCharCode((n >> 10) | 55296, (1023 & n) | 56320)); 317 }, 318 re = /([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g, 319 ie = function (e, t) { 320 return t ? ("\0" === e ? "�" : e.slice(0, -1) + "\\" + e.charCodeAt(e.length - 1).toString(16) + " ") : "\\" + e; 321 }, 322 oe = function () { 323 f(); 324 }, 325 ae = we( 326 function (e) { 327 return !0 === e.disabled && "fieldset" === e.nodeName.toLowerCase(); 328 }, 329 { dir: "parentNode", next: "legend" } 330 );
331 try { 332 L.apply((_ = M.call(x.childNodes)), x.childNodes), _[x.childNodes.length].nodeType; 333 } catch (e) { 334 L = { 335 apply: _.length 336 ? function (e, t) { 337 A.apply(e, M.call(t)); 338 } 339 : function (e, t) { 340 for (var n = e.length, r = 0; (e[n++] = t[r++]); ); 341 e.length = n - 1; 342 }, 343 }; 344 } 345 function se(e, t, r, i) { 346 var o, 347 s, 348 l, 349 c, 350 d, 351 p, 352 v, 353 y = t && t.ownerDocument, 354 x = t ? t.nodeType : 9; 355 if (((r = r || []), "string" != typeof e || !e || (1 !== x && 9 !== x && 11 !== x))) return r; 356 if (!i && (f(t), (t = t || h), m)) { 357 if (11 !== x && (d = K.exec(e))) 358 if ((o = d[1])) { 359 if (9 === x) { 360 if (!(l = t.getElementById(o))) return r; 361 if (l.id === o) return r.push(l), r; 362 } else if (y && (l = y.getElementById(o)) && b(t, l) && l.id === o) return r.push(l), r; 363 } else { 364 if (d[2]) return L.apply(r, t.getElementsByTagName(e)), r; 365 if ((o = d[3]) && n.getElementsByClassName && t.getElementsByClassName) return L.apply(r, t.getElementsByClassName(o)), r; 366 } 367 if (n.qsa && !D[e + " "] && (!g || !g.test(e)) && (1 !== x || "object" !== t.nodeName.toLowerCase())) { 368 if (((v = e), (y = t), 1 === x && (U.test(e) || W.test(e)))) { 369 for (((y = (ee.test(e) && ve(t.parentNode)) || t) === t && n.scope) || ((c = t.getAttribute("id")) ? (c = c.replace(re, ie)) : t.setAttribute("id", (c = w))), s = (p = a(e)).length; s--; ) 370 p[s] = (c ? "#" + c : ":scope") + " " + be(p[s]); 371 v = p.join(","); 372 } 373 try { 374 return L.apply(r, y.querySelectorAll(v)), r; 375 } catch (t) { 376 D(e, !0); 377 } finally { 378 c === w && t.removeAttribute("id"); 379 } 380 } 381 } 382 return u(e.replace(R, "$1"), t, r, i); 383 } 384 function ue() { 385 var e = []; 386 return function t(n, i) { 387 return e.push(n + " ") > r.cacheLength && delete t[e.shift()], (t[n + " "] = i); 388 }; 389 } 390 function le(e) { 391 return (e[w] = !0), e; 392 } 393 function ce(e) { 394 var t = h.createElement("fieldset"); 395 try { 396 return !!e(t); 397 } catch (e) { 398 return !1; 399 } finally { 400 t.parentNode && t.parentNode.removeChild(t), (t = null); 401 } 402 } 403 function de(e, t) { 404 for (var n = e.split("|"), i = n.length; i--; ) r.attrHandle[n[i]] = t; 405 } 406 function fe(e, t) { 407 var n = t && e, 408 r = n && 1 === e.nodeType && 1 === t.nodeType && e.sourceIndex - t.sourceIndex; 409 if (r) return r; 410 if (n) for (; (n = n.nextSibling); ) if (n === t) return -1; 411 return e ? 1 : -1; 412 } 413 function he(e) { 414 return function (t) { 415 return "input" === t.nodeName.toLowerCase() && t.type === e; 416 }; 417 } 418 function pe(e) { 419 return function (t) { 420 var n = t.nodeName.toLowerCase(); 421 return ("input" === n || "button" === n) && t.type === e; 422 }; 423 } 424 function me(e) { 425 return function (t) { 426 return "form" in t 427 ? t.parentNode && !1 === t.disabled 428 ? "label" in t 429 ? "label" in t.parentNode 430 ? t.parentNode.disabled === e 431 : t.disabled === e 432 : t.isDisabled === e || (t.isDisabled !== !e && ae(t) === e) 433 : t.disabled === e 434 : "label" in t && t.disabled === e; 435 }; 436 } 437 function ge(e) { 438 return le(function (t) { 439 return ( 440 (t = +t), 441 le(function (n, r) { 442 for (var i, o = e([], n.length, t), a = o.length; a--; ) n[(i = o[a])] && (n[i] = !(r[i] = n[i])); 443 }) 444 ); 445 }); 446 } 447 function ve(e) { 448 return e && void 0 !== e.getElementsByTagName && e; 449 } 450 for (t in ((n = se.support = {}), 451 (o = se.isXML = function (e) { 452 var t = e.namespaceURI, 453 n = (e.ownerDocument || e).documentElement; 454 return !J.test(t || (n && n.nodeName) || "HTML"); 455 }), 456 (f = se.setDocument = function (e) { 457 var t, 458 i, 459 a = e ? e.ownerDocument || e : x; 460 return a != h && 9 === a.nodeType && a.documentElement 461 ? ((p = (h = a).documentElement), 462 (m = !o(h)), 463 x != h && (i = h.defaultView) && i.top !== i && (i.addEventListener ? i.addEventListener("unload", oe, !1) : i.attachEvent && i.attachEvent("onunload", oe)), 464 (n.scope = ce(function (e) { 465 return p.appendChild(e).appendChild(h.createElement("div")), void 0 !== e.querySelectorAll && !e.querySelectorAll(":scope fieldset div").length; 466 })), 467 (n.attributes = ce(function (e) { 468 return (e.className = "i"), !e.getAttribute("className"); 469 })), 470 (n.getElementsByTagName = ce(function (e) { 471 return e.appendChild(h.createComment("")), !e.getElementsByTagName("*").length; 472 })), 473 (n.getElementsByClassName = X.test(h.getElementsByClassName)), 474 (n.getById = ce(function (e) { 475 return (p.appendChild(e).id = w), !h.getElementsByName || !h.getElementsByName(w).length; 476 })), 477 n.getById 478 ? ((r.filter.ID = function (e) { 479 var t = e.replace(te, ne); 480 return function (e) { 481 return e.getAttribute("id") === t; 482 }; 483 }), 484 (r.find.ID = function (e, t) { 485 if (void 0 !== t.getElementById && m) { 486 var n = t.getElementById(e); 487 return n ? [n] : []; 488 } 489 })) 490 : ((r.filter.ID = function (e) { 491 var t = e.replace(te, ne); 492 return function (e) { 493 var n = void 0 !== e.getAttributeNode && e.getAttributeNode("id"); 494 return n && n.value === t; 495 }; 496 }), 497 (r.find.ID = function (e, t) { 498 if (void 0 !== t.getElementById && m) { 499 var n, 500 r, 501 i, 502 o = t.getElementById(e); 503 if (o) { 504 if ((n = o.getAttributeNode("id")) && n.value === e) return [o]; 505 for (i = t.getElementsByName(e), r = 0; (o = i[r++]); ) if ((n = o.getAttributeNode("id")) && n.value === e) return [o]; 506 } 507 return []; 508 } 509 })), 510 (r.find.TAG = n.getElementsByTagName 511 ? function (e, t) { 512 return void 0 !== t.getElementsByTagName ? t.getElementsByTagName(e) : n.qsa ? t.querySelectorAll(e) : void 0; 513 } 514 : function (e, t) { 515 var n, 516 r = [], 517 i = 0, 518 o = t.getElementsByTagName(e); 519 if ("*" === e) { 520 for (; (n = o[i++]); ) 1 === n.nodeType && r.push(n); 521 return r; 522 } 523 return o; 524 }), 525 (r.find.CLASS = 526 n.getElementsByClassName && 527 function (e, t) { 528 if (void 0 !== t.getElementsByClassName && m) return t.getElementsByClassName(e); 529 }), 530 (v = []), 531 (g = []), 532 (n.qsa = X.test(h.querySelectorAll)) && 533 (ce(function (e) { 534 var t; 535 (p.appendChild(e).innerHTML = "<a id='" + w + "'></a><select id='" + w + "-\r\\' msallowcapture=''><option selected=''></option></select>"), 536 e.querySelectorAll("[msallowcapture^='']").length && g.push("[*^$]=" + q + "*(?:''|\"\")"), 537 e.querySelectorAll("[selected]").length || g.push("\\[" + q + "*(?:value|" + $ + ")"), 538 e.querySelectorAll("[id~=" + w + "-]").length || g.push("~="), 539 (t = h.createElement("input")).setAttribute("name", ""), 540 e.appendChild(t), 541 e.querySelectorAll("[name='']").length || g.push("\\[" + q + "*name" + q + "*="
541+ q + "*(?:''|\"\")"), 542 e.querySelectorAll(":checked").length || g.push(":checked"), 543 e.querySelectorAll("a#" + w + "+*").length || g.push(".#.+[+~]"), 544 e.querySelectorAll("\\\f"), 545 g.push("[\\r\\n\\f]"); 546 }), 547 ce(function (e) { 548 e.innerHTML = "<a href='' disabled='disabled'></a><select disabled='disabled'><option/></select>"; 549 var t = h.createElement("input"); 550 t.setAttribute("type", "hidden"), 551 e.appendChild(t).setAttribute("name", "D"), 552 e.querySelectorAll("[name=d]").length && g.push("name" + q + "*[*^$|!~]?="), 553 2 !== e.querySelectorAll(":enabled").length && g.push(":enabled", ":disabled"), 554 (p.appendChild(e).disabled = !0), 555 2 !== e.querySelectorAll(":disabled").length && g.push(":enabled", ":disabled"), 556 e.querySelectorAll("*,:x"), 557 g.push(",.*:"); 558 })), 559 (n.matchesSelector = X.test((y = p.matches || p.webkitMatchesSelector || p.mozMatchesSelector || p.oMatchesSelector || p.msMatchesSelector))) && 560 ce(function (e) { 561 (n.disconnectedMatch = y.call(e, "*")), y.call(e, "[s!='']:x"), v.push("!=", F); 562 }), 563 (g = g.length && new RegExp(g.join("|"))), 564 (v = v.length && new RegExp(v.join("|"))), 565 (t = X.test(p.compareDocumentPosition)), 566 (b = 567 t || X.test(p.contains) 568 ? function (e, t) { 569 var n = 9 === e.nodeType ? e.documentElement : e, 570 r = t && t.parentNode; 571 return e === r || !(!r || 1 !== r.nodeType || !(n.contains ? n.contains(r) : e.compareDocumentPosition && 16 & e.compareDocumentPosition(r))); 572 } 573 : function (e, t) { 574 if (t) for (; (t = t.parentNode); ) if (t === e) return !0; 575 return !1; 576 }), 577 (j = t 578 ? function (e, t) { 579 if (e === t) return (d = !0), 0; 580 var r = !e.compareDocumentPosition - !t.compareDocumentPosition; 581 return ( 582 r || 583 (1 & (r = (e.ownerDocument || e) == (t.ownerDocument || t) ? e.compareDocumentPosition(t) : 1) || (!n.sortDetached && t.compareDocumentPosition(e) === r) 584 ? e == h || (e.ownerDocument == x && b(x, e)) 585 ? -1 586 : t == h || (t.ownerDocument == x && b(x, t)) 587 ? 1 588 : c 589 ? I(c, e) - I(c, t) 590 : 0 591 : 4 & r 592 ? -1 593 : 1) 594 ); 595 } 596 : function (e, t) { 597 if (e === t) return (d = !0), 0; 598 var n, 599 r = 0, 600 i = e.parentNode, 601 o = t.parentNode, 602 a = [e], 603 s = [t]; 604 if (!i || !o) return e == h ? -1 : t == h ? 1 : i ? -1 : o ? 1 : c ? I(c, e) - I(c, t) : 0; 605 if (i === o) return fe(e, t); 606 for (n = e; (n = n.parentNode); ) a.unshift(n); 607 for (n = t; (n = n.parentNode); ) s.unshift(n); 608 for (; a[r] === s[r]; ) r++; 609 return r ? fe(a[r], s[r]) : a[r] == x ? -1 : s[r] == x ? 1 : 0; 610 }), 611 h) 612: h; 613}), 614(se.matches = function (e, t) { 615 return se(e, null, null, t); 616}), 617(se.matchesSelector = function (e, t) { 618 if ((f(e), n.matchesSelector && m && !D[t + " "] && (!v || !v.test(t)) && (!g || !g.test(t)))) 619 try { 620 var r = y.call(e, t); 621 if (r || n.disconnectedMatch || (e.document && 11 !== e.document.nodeType)) return r; 622 } catch (e) { 623 D(t, !0); 624 } 625 return se(t, h, null, [e]).length > 0; 626 }), 627(se.contains = function (e, t) { 628 return (e.ownerDocument || e) != h && f(e), b(e, t); 629}), 630(se.attr = function (e, t) { 631 (e.ownerDocument || e) != h && f(e); 632 var i = r.attrHandle[t.toLowerCase()], 633 o = i && O.call(r.attrHandle, t.toLowerCase()) ? i(e, t, !m) : void 0; 634 return void 0 !== o ? o : n.attributes || !m ? e.getAttribute(t) : (o = e.getAttributeNode(t)) && o.specified ? o.value : null; 635}), 636(se.escape = function (e) { 637 return (e + "").replace(re, ie); 638}), 639(se.error = function (e) { 640 throw new Error("Syntax error, unrecognized expression: " + e); 641}), 642(se.uniqueSort = function (e) { 643 var t, 644 r = [], 645 i = 0, 646 o = 0; 647 if (((d = !n.detectDuplicates), (c = !n.sortStable && e.slice(0)), e.sort(j), d)) { 648 for (; (t = e[o++]); ) t === e[o] && (i = r.push(o)); 649 for (; i--; ) e.splice(r[i], 1); 650 } 651 return (c = null), e; 652}), 653(i = se.getText = function (e) { 654 var t, 655 n = "", 656 r = 0,
657 o = e.nodeType; 658 if (o) { 659 if (1 === o || 9 === o || 11 === o) { 660 if ("string" == typeof e.textContent) return e.textContent; 661 for (e = e.firstChild; e; e = e.nextSibling) n += i(e); 662 } else if (3 === o || 4 === o) return e.nodeValue; 663} else for (; (t = e[r++]); ) n += i(t); 664return n; 665}), 666((r = se.selectors = { 667 cacheLength: 50, 668 createPseudo: le, 669 match: Z, 670 attrHandle: {}, 671 find: {}, 672 relative: { ">": { dir: "parentNode", first: !0 }, " ": { dir: "parentNode" }, "+": { dir: "previousSibling", first: !0 }, "~": { dir: "previousSibling" } }, 673 preFilter: { 674 ATTR: function (e) { 675 return (e[1] = e[1].replace(te, ne)), (e[3] = (e[3] || e[4] || e[5] || "").replace(te, ne)), "~=" === e[2] && (e[3] = " " + e[3] + " "), e.slice(0, 4); 676 }, 677 CHILD: function (e) { 678 return ( 679 (e[1] = e[1].toLowerCase()), 680 "nth" === e[1].slice(0, 3) ? (e[3] || se.error(e[0]), (e[4] = +(e[4] ? e[5] + (e[6] || 1) : 2 * ("even" === e[3] || "odd" === e[3]))), (e[5] = +(e[7] + e[8] || "odd" === e[3]))) : e[3] && se.error(e[0]), 681 e 682 ); 683 }, 684 PSEUDO: function (e) { 685 var t, 686 n = !e[6] && e[2]; 687 return Z.CHILD.test(e[0]) 688 ? null 689 : (e[3] ? (e[2] = e[4] || e[5] || "") : n && B.test(n) && (t = a(n, !0)) && (t = n.indexOf(")", n.length - t) - n.length) && ((e[0] = e[0].slice(0, t)), (e[2] = n.slice(0, t))), e.slice(0, 3)); 690 }, 691 }, 692 filter: { 693 TAG: function (e) { 694 var t = e.replace(te, ne).toLowerCase(); 695 return "*" === e 696 ? function () { 697 return !0; 698 } 699 : function (e) { 700 return e.nodeName && e.nodeName.toLowerCase() === t; 701 }; 702 }, 703 CLASS: function (e) { 704 var t = S[e + " "]; 705 return ( 706 t || 707 ((t = new RegExp("(^|" + q + ")" + e + "(" + q + "|$)")) && 708 S(e, function (e) { 709 return t.test(("string" == typeof e.className && e.className) || (void 0 !== e.getAttribute && e.getAttribute("class")) || ""); 710 })) 711 ); 712 }, 713 ATTR: function (e, t, n) { 714 return function (r) { 715 var i = se.attr(r, e); 716 return null == i 717 ? "!=" === t 718 : !t || 719 ((i += ""), 720 "=" === t 721 ? i === n 722 : "!=" === t 723 ? i !== n 724 : "^=" === t 725 ? n && 0 === i.indexOf(n) 726 : "*=" === t 727 ? n && i.indexOf(n) > -1 728 : "$=" === t 729 ? n && i.slice(-n.length) === n 730 : "~=" === t 731 ? (" " + i.replace(z, " ") + " ").indexOf(n) > -1 732 : "|=" === t && (i === n || i.slice(0, n.length + 1) === n + "-")); 733 }; 734 }, 735 CHILD: function (e, t, n, r, i) { 736 var o = "nth" !== e.slice(0, 3), 737 a = "last" !== e.slice(-4), 738 s = "of-type" === t; 739 return 1 === r && 0 === i 740 ? function (e) { 741 return !!e.parentNode; 742 } 743 : function (t, n, u) { 744 var l, 745 c, 746 d, 747 f, 748 h, 749 p, 750 m = o !== a ? "nextSibling" : "previousSibling", 751 g = t.parentNode, 752 v = s && t.nodeName.toLowerCase(), 753 y = !u && !s, 754 b = !1; 755 if (g) { 756 if (o) { 757 for (; m; ) { 758 for (f = t; (f = f[m]); ) if (s ? f.nodeName.toLowerCase() === v : 1 === f.nodeType) return !1; 759 p = m = "only" === e && !p && "nextSibling"; 760 } 761 return !0; 762 } 763 if (((p = [a ? g.firstChild : g.lastChild]), a && y)) { 764 for ( 765 b = (h = (l = (c = (d = (f = g)[w] || (f[w] = {}))[f.uniqueID] || (d[f.uniqueID] = {}))[e] || [])[0] === T && l[1]) && l[2], f = h && g.childNodes[h]; 766 (f = (++h && f && f[m]) || (b = h = 0) || p.pop()); 767 768 ) 769 if (1 === f.nodeType && ++b && f === t) { 770 c[e] = [T, h, b]; 771 break; 772 } 773 } else if ((y && (b = h = (l = (c = (d = (f = t)[w] || (f[w] = {}))[f.uniqueID] || (d[f.uniqueID] = {}))[e] || [])[0] === T && l[1]), !1 === b)) 774 for ( 775 ; 776 (f = (++h && f && f[m]) || (b = h = 0) || p.pop()) && 777 ((s ? f.nodeName.toLowerCase() !== v : 1 !== f.nodeType) || !++b || (y && ((c = (d = f[w] || (f[w] = {}))[f.uniqueID] || (d[f.uniqueID] = {}))[e] = [T, b]), f !== t)); 778 779 ); 780 return (b -= i) === r || (b % r == 0 && b / r >= 0); 781 } 782 }; 783 }, 784 PSEUDO: function (e, t) { 785 var n, 786 i = r.pseudos[e] || r.setFilters[e.toLowerCase()] || se.error("unsupported pseudo: " + e); 787 return i[w] 788 ? i(t) 789 : i.length > 1 790 ? ((n = [e, e, "", t]), 791 r.setFilters.hasOwnProperty(e.toLowerCase()) 792 ? le(function (e, n) { 793 for (var r, o = i(e, t), a = o.length; a--;
793 ) e[(r = I(e, o[a]))] = !(n[r] = o[a]); 794 }) 795 : function (e) { 796 return i(e, 0, n); 797 }) 798 : i; 799 }, 800 }, 801 pseudos: { 802 not: le(function (e) { 803 var t = [], 804 n = [], 805 r = s(e.replace(R, "$1")); 806 return r[w] 807 ? le(function (e, t, n, i) { 808 for (var o, a = r(e, null, i, []), s = e.length; s--; ) (o = a[s]) && (e[s] = !(t[s] = o)); 809 }) 810 : function (e, i, o) { 811 return (t[0] = e), r(t, null, o, n), (t[0] = null), !n.pop(); 812 }; 813 }), 814 has: le(function (e) { 815 return function (t) { 816 return se(e, t).length > 0; 817 }; 818 }), 819 contains: le(function (e) { 820 return ( 821 (e = e.replace(te, ne)), 822 function (t) { 823 return (t.textContent || i(t)).indexOf(e) > -1; 824 } 825 ); 826 }), 827 lang: le(function (e) { 828 return ( 829 Q.test(e || "") || se.error("unsupported lang: " + e), 830 (e = e.replace(te, ne).toLowerCase()), 831 function (t) { 832 var n; 833 do { 834 if ((n = m ? t.lang : t.getAttribute("xml:lang") || t.getAttribute("lang"))) return (n = n.toLowerCase()) === e || 0 === n.indexOf(e + "-"); 835 } while ((t = t.parentNode) && 1 === t.nodeType); 836 return !1; 837 } 838 ); 839 }), 840 target: function (t) { 841 var n = e.location && e.location.hash; 842 return n && n.slice(1) === t.id; 843 }, 844 root: function (e) { 845 return e === p; 846 }, 847 focus: function (e) { 848 return e === h.activeElement && (!h.hasFocus || h.hasFocus()) && !!(e.type || e.href || ~e.tabIndex); 849 }, 850 enabled: me(!1), 851 disabled: me(!0), 852 checked: function (e) { 853 var t = e.nodeName.toLowerCase(); 854 return ("input" === t && !!e.checked) || ("option" === t && !!e.selected); 855 }, 856 selected: function (e) { 857 return e.parentNode && e.parentNode.selectedIndex, !0 === e.selected; 858 }, 859 empty: function (e) { 860 for (e = e.firstChild; e; e = e.nextSibling) if (e.nodeType < 6) return !1; 861 return !0; 862 }, 863 parent: function (e) { 864 return !r.pseudos.empty(e); 865 }, 866 header: function (e) { 867 return G.test(e.nodeName); 868 }, 869 input: function (e) { 870 return Y.test(e.nodeName); 871 }, 872 button: function (e) { 873 var t = e.nodeName.toLowerCase(); 874 return ("input" === t && "button" === e.type) || "button" === t; 875 }, 876 text: function (e) { 877 var t; 878 return "input" === e.nodeName.toLowerCase() && "text" === e.type && (null == (t = e.getAttribute("type")) || "text" === t.toLowerCase()); 879 }, 880 first: ge(function () { 881 return [0]; 882 }), 883 last: ge(function (e, t) { 884 return [t - 1]; 885 }), 886 eq: ge(function (e, t, n) { 887 return [n < 0 ? n + t : n]; 888 }), 889 even: ge(function (e, t) { 890 for (var n = 0; n < t; n += 2) e.push(n); 891 return e; 892 }), 893 odd: ge(function (e, t) { 894 for (var n = 1; n < t; n += 2) e.push(n); 895 return e; 896 }), 897 lt: ge(function (e, t, n) { 898 for (var r = n < 0 ? n + t : n > t ? t : n; --r >= 0; ) e.push(r); 899 return e; 900 }), 901 gt: ge(function (e, t, n) { 902 for (var r = n < 0 ? n + t : n; ++r < t; ) e.push(r); 903 return e; 904 }), 905 }, 906 }).pseudos.nth = r.pseudos.eq), 907{ radio: !0, checkbox: !0, file: !0, password: !0, image: !0 })) 908r.pseudos[t] = he(t); 909for (t in { submit: !0, reset: !0 }) r.pseudos[t] = pe(t); 910 function ye() {} 911function be(e) { 912 for (var t = 0, n = e.length, r = ""; t < n; t++) r += e[t].value; 913 return r; 914} 915function we(e, t, n) { 916 var r = t.dir, 917 i = t.next, 918 o = i || r, 919 a = n && "parentNode" === o, 920 s = k++; 921 return t.first 922 ? function (t, n, i) { 923 for (; (t = t[r]); ) if (1 === t.nodeType || a) return e(t, n, i); 924 return !1; 925 } 926 : function (t, n, u) { 927 var l, 928 c, 929 d, 930 f = [T, s]; 931 if (u) { 932 for (; (t = t[r]); ) if ((1 === t.nodeType || a) && e(t, n, u)) return !0; 933 } else 934 for (; (t = t[r]); ) 935 if (1 === t.nodeType || a) 936 if (((c = (d = t[w] || (t[w] = {}))[t.uniqueID] || (d[t.uniqueID] = {})), i && i === t.nodeName.toLowerCase())) t = t[r] || t; 937 else { 938 if ((l = c[o]) && l[0] === T && l[1] === s) return (f[2] = l[2]); 939 if (((c[o] = f), (f[2] = e(t, n, u)))) return !0; 940 } 941 return !1; 942 }; 943} 944function xe(e) { 945 return e.length > 1 946 ? function (t, n, r) { 947 for (var i = e.length; i--; ) if (!e[i](t, n, r)) return !1; 948 return !0; 949 } 950 : e[0]; 951} 952function Te(e, t, n, r, i) { 953 for (var o, a = [], s = 0, u = e.length, l = null != t; s < u; s++) (o = e[s]) && ((n && !n(o, r, i)) || (a.push(o), l && t.push(s))); 954 return a; 955} 956function ke(e, t, n, r, i, o) { 957 return ( 958 r && !r[w] && (r = ke(r)), 959 i && !i[w] && (i = ke(i, o)), 960 le(function (o, a, s, u) { 961 var l, 962 c, 963 d, 964 f = [], 965 h = [], 966 p = a.length, 967 m = 968 o || 969 (function (e, t, n) { 970 for (var r = 0, i = t.length; r < i; r++) se(e, t[r], n); 971 return n; 972 })(t || "*", s.nodeType ? [s] : s, []), 973 g = !e || (!o && t) ? m : Te(m, f, e, s, u), 974 v = n ? (i || (o ? e : p || r) ? [] : a) : g; 975 if ((n && n(g, v, s, u), r)) for (l = Te(v, h), r(l, [], s, u), c = l.length; c--; ) (d = l[c]) && (v[h[c]] = !(g[h[c]] = d)); 976 if (o) { 977 if (i || e) { 978 if (i) { 979 for (l = [], c = v.length; c--; ) (d = v[c]) && l.push((g[c] = d)); 980 i(null, (v = []), l, u); 981 } 982 for (c = v.length; c--; ) (d = v[c]) && (l = i ? I(o, d) : f[c]) > -1 && (o[l] = !(a[l] = d)); 983 } 984 } else (v = Te(v === a ? v.splice(p, v.length) : v)), i ? i(null, a, v, u) : L.apply(a, v); 985 }) 986 ); 987} 988function Se(e) { 989 for ( 990 var t, 991 n, 992 i, 993 o = e.length, 994 a = r.relative[e[0].type], 995 s = a || r.relative[" "],
996 u = a ? 1 : 0, 997 c = we( 998 function (e) { 999 return e === t; 1000 }, 1001 s, 1002 !0 1003 ), 1004 d = we( 1005 function (e) { 1006 return I(t, e) > -1; 1007 }, 1008 s, 1009 !0 1010 ), 1011 f = [ 1012 function (e, n, r) { 1013 var i = (!a && (r || n !== l)) || ((t = n).nodeType ? c(e, n, r) : d(e, n, r)); 1014 return (t = null), i; 1015 }, 1016 ]; 1017 u < o; 1018 u++ 1019 ) 1020 if ((n = r.relative[e[u].type])) f = [we(xe(f), n)]; 1021 else { 1022 if ((n = r.filter[e[u].type].apply(null, e[u].matches))[w]) { 1023 for (i = ++u; i < o && !r.relative[e[i].type]; i++); 1024 return ke(u > 1 && xe(f), u > 1 && be(e.slice(0, u - 1).concat({ value: " " === e[u - 2].type ? "*" : "" })).replace(R, "$1"), n, u < i && Se(e.slice(u, i)), i < o && Se((e = e.slice(i))), i < o && be(e)); 1025 } 1026 f.push(n); 1027 } 1028 return xe(f); 1029} 1030return ( 1031 (ye.prototype = r.filters = r.pseudos), 1032 (r.setFilters = new ye()), 1033 (a = se.tokenize = function (e, t) { 1034 var n, 1035 i, 1036 o, 1037 a, 1038 s, 1039 u, 1040 l, 1041 c = E[e + " "]; 1042 if (c) return t ? 0 : c.slice(0); 1043 for (s = e, u = [], l = r.preFilter; s; ) { 1044 for (a in ((n && !(i = V.exec(s))) || (i && (s = s.slice(i[0].length) || s), u.push((o = []))), 1045 (n = !1), 1046 (i = W.exec(s)) && ((n = i.shift()), o.push({ value: n, type: i[0].replace(R, " ") }), (s = s.slice(n.length))), 1047 r.filter)) 1048 !(i = Z[a].exec(s)) || (l[a] && !(i = l[a](i))) || ((n = i.shift()), o.push({ value: n, type: a, matches: i }), (s = s.slice(n.length))); 1049 if (!n) break; 1050 } 1051 return t ? s.length : s ? se.error(e) : E(e, u).slice(0); 1052 }), 1053 (s = se.compile = function (e, t) { 1054 var n, 1055 i = [], 1056 o = [], 1057 s = C[e + " "]; 1058 if (!s) { 1059 for (t || (t = a(e)), n = t.length; n--; ) (s = Se(t[n]))[w] ? i.push(s) : o.push(s); 1060 (s = C( 1061 e, 1062 (function (e, t) { 1063 var n = t.length > 0, 1064 i = e.length > 0, 1065 o = function (o, a, s, u, c) { 1066 var d, 1067 p, 1068 g, 1069 v = 0, 1070 y = "0", 1071 b = o && [], 1072 w = [], 1073 x = l, 1074 k = o || (i && r.find.TAG("*", c)), 1075 S = (T += null == x ? 1 : Math.random() || 0.1), 1076 E = k.length; 1077 for (c && (l = a == h || a || c); y !== E && null != (d = k[y]); y++) { 1078 if (i && d) { 1079 for (p = 0, a || d.ownerDocument == h || (f(d), (s = !m)); (g = e[p++]); ) 1080 if (g(d, a || h, s)) { 1081 u.push(d); 1082 break; 1083 } 1084 c && (T = S); 1085 } 1086 n && ((d = !g && d) && v--, o && b.push(d)); 1087 } 1088 if (((v += y), n && y !== v)) { 1089 for (p = 0; (g = t[p++]); ) g(b, w, a, s); 1090 if (o) { 1091 if (v > 0) for (; y--; ) b[y] || w[y] || (w[y] = N.call(u)); 1092 w = Te(w); 1093 } 1094 L.apply(u, w), c && !o && w.length > 0 && v + t.length > 1 && se.uniqueSort(u); 1095 } 1096 return c && ((T = S), (l = x)), b; 1097 }; 1098 return n ? le(o) : o; 1099 })(o, i) 1100 )).selector = e; 1101 } 1102 return s; 1103 }), 1104 (u = se.select = function (e, t, n, i) { 1105 var o, 1106 u, 1107 l, 1108 c, 1109 d, 1110 f = "function" == typeof e && e, 1111 h = !i && a((e = f.selector || e)); 1112 if (((n = n || []), 1 === h.length)) { 1113 if ((u = h[0] = h[0].slice(0)).length > 2 && "ID" === (l = u[0]).type && 9 === t.nodeType && m && r.relative[u[1].type]) { 1114 if (!(t = (r.find.ID(l.matches[0].replace(te, ne), t) || [])[0])) return n; 1115 f && (t = t.parentNode), (e = e.slice(u.shift().value.length)); 1116 } 1117 for (o = Z.needsContext.test(e) ? 0 : u.length; o-- && ((l = u[o]), !r.relative[(c = l.type)]); ) 1118 if ((d = r.find[c]) && (i = d(l.matches[0].replace(te, ne), (ee.test(u[0].type) && ve(t.parentNode)) || t))) { 1119 if ((u.splice(o, 1), !(e = i.length && be(u)))) return L.apply(n, i), n; 1120 break; 1121 } 1122 } 1123 return (f || s(e, h))(i, t, !m, n, !t || (ee.test(e) && ve(t.parentNode)) || t), n; 1124 }), 1125 (n.sortStable = w.split("").sort(j).join("") === w), 1126 (n.detectDuplicates = !!d), 1127 f(), 1128 (n.sortDetached = ce(function (e) { 1129 return 1 & e.compareDocumentPosition(h.createElement("fieldset")); 1130 })), 1131 ce(function (e) { 1132 return (e.innerHTML = "<a href='#'></a>"), "#" === e.firstChild.getAttribute("href"); 1133 }) || 1134 de("type|href|height|width", function (e, t, n) { 1135 if (!n) return e.getAttribute(t, "type" === t.toLowerCase() ? 1 : 2); 1136 }), 1137 (n.attributes && 1138 ce(function (e) { 1139 return (e.innerHTML = "<input/>"), e.firstChild.setAttribute("value", ""), "" === e.firstChild.getAttribute("value"); 1140 })) || 1141 de("value", function (e, t, n) { 1142 if (!n && "input" === e.nodeName.toLowerCase()) return e.defaultValue; 1143 }), 1144 ce(function (e) { 1145 return null == e.getAttribute("disabled"); 1146 }) || 1147 de($, function (e, t, n) { 1148 var r; 1149 if (!n) return !0 === e[t] ? t.toLowerCase() : (r = e.getAttributeNode(t)) && r.specified ? r.value : null; 1150 }), 1151 se 1152 ); 1153})(n); 1154(k.find = E), (k.expr = E.selectors), (k.expr[":"] = k.expr.pseudos), (k.uniqueSort = k.unique = E.uniqueSort), (k.text = E.getText), (k.isXMLDoc = E.isXML), (k.contains = E.contains), (k.escapeSelector = E.escape); 1155var C = function (e, t, n) { 1156 for (var r = [], i = void 0 !== n; (e = e[t]) && 9 !== e.nodeType; ) 1157 if (1 === e.nodeType) { 1158 if (i && k(e).is(n)) break; 1159 r.push(e); 1160 } 1161 return r; 1162 }, 1163 D = function (e, t) { 1164 for (var n = []; e; e = e.nextSibling) 1 === e.nodeType && e !== t && n.push(e); 1165 return n; 1166 }, 1167 j = k.expr.match.needsContext; 1168 function O(e, t) {
1169 return e.nodeName && e.nodeName.toLowerCase() === t.toLowerCase(); 1170 } 1171 var _ = /^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i; 1172 function N(e, t, n) { 1173 return v(t) 1174 ? k.grep(e, function (e, r) { 1175 return !!t.call(e, r, e) !== n; 1176 }) 1177 : t.nodeType 1178 ? k.grep(e, function (e) { 1179 return (e === t) !== n; 1180 }) 1181 : "string" != typeof t 1182 ? k.grep(e, function (e) { 1183 return c.call(t, e) > -1 !== n; 1184 }) 1185 : k.filter(t, e, n); 1186 } 1187 (k.filter = function (e, t, n) { 1188 var r = t[0]; 1189 return ( 1190 n && (e = ":not(" + e + ")"), 1191 1 === t.length && 1 === r.nodeType 1192 ? k.find.matchesSelector(r, e) 1193 ? [r] 1194 : [] 1195 : k.find.matches( 1196 e, 1197 k.grep(t, function (e) { 1198 return 1 === e.nodeType; 1199 }) 1200 ) 1201 ); 1202 }), 1203 k.fn.extend({ 1204 find: function (e) { 1205 var t, 1206 n, 1207 r = this.length, 1208 i = this; 1209 if ("string" != typeof e) 1210 return this.pushStack( 1211 k(e).filter(function () { 1212 for (t = 0; t < r; t++) if (k.contains(i[t], this)) return !0; 1213 }) 1214 ); 1215 for (n = this.pushStack([]), t = 0; t < r; t++) k.find(e, i[t], n); 1216 return r > 1 ? k.uniqueSort(n) : n; 1217 }, 1218 filter: function (e) { 1219 return this.pushStack(N(this, e || [], !1)); 1220 }, 1221 not: function (e) { 1222 return this.pushStack(N(this, e || [], !0)); 1223 }, 1224 is: function (e) { 1225 return !!N(this, "string" == typeof e && j.test(e) ? k(e) : e || [], !1).length; 1226 }, 1227 }); 1228 var A, 1229 L = /^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/; 1230 ((k.fn.init = function (e, t, n) { 1231 var r, i; 1232 if (!e) return this; 1233 if (((n = n || A), "string" == typeof e)) { 1234 if (!(r = "<" === e[0] && ">" === e[e.length - 1] && e.length >= 3 ? [null, e, null] : L.exec(e)) || (!r[1] && t)) return !t || t.jquery ? (t || n).find(e) : this.constructor(t).find(e); 1235 if (r[1]) { 1236 if (((t = t instanceof k ? t[0] : t), k.merge(this, k.parseHTML(r[1], t && t.nodeType ? t.ownerDocument || t : b, !0)), _.test(r[1]) && k.isPlainObject(t))) 1237 for (r in t) v(this[r]) ? this[r](t[r]) : this.attr(r, t[r]); 1238 return this; 1239 } 1240 return (i = b.getElementById(r[2])) && ((this[0] = i), (this.length = 1)), this; 1241 } 1242 return e.nodeType ? ((this[0] = e), (this.length = 1), this) : v(e) ? (void 0 !== n.ready ? n.ready(e) : e(k)) : k.makeArray(e, this); 1243 }).prototype = k.fn), 1244 (A = k(b)); 1245 var M = /^(?:parents|prev(?:Until|All))/, 1246 I = { children: !0, contents: !0, next: !0, prev: !0 }; 1247 function $(e, t) { 1248 for (; (e = e[t]) && 1 !== e.nodeType; ); 1249 return e; 1250 } 1251 k.fn.extend({ 1252 has: function (e) { 1253 var t = k(e, this), 1254 n = t.length; 1255 return this.filter(function () { 1256 for (var e = 0; e < n; e++) if (k.contains(this, t[e])) return !0; 1257 }); 1258 }, 1259 closest: function (e, t) { 1260 var n, 1261 r = 0, 1262 i = this.length, 1263 o = [], 1264 a = "string" != typeof e && k(e); 1265 if (!j.test(e)) 1266 for (; r < i; r++) 1267 for (n = this[r]; n && n !== t; n = n.parentNode) 1268 if (n.nodeType < 11 && (a ? a.index(n) > -1 : 1 === n.nodeType && k.find.matchesSelector(n, e))) { 1269 o.push(n); 1270 break; 1271 } 1272 return this.pushStack(o.length > 1 ? k.uniqueSort(o) : o); 1273 }, 1274 index: function (e) { 1275 return e ? ("string" == typeof e ? c.call(k(e), this[0]) : c.call(this, e.jquery ? e[0] : e)) : this[0] && this[0].parentNode ? this.first().prevAll().length : -1; 1276 }, 1277 add: function (e, t) { 1278 return this.pushStack(k.uniqueSort(k.merge(this.get(), k(e, t)))); 1279 }, 1280 addBack: function (e) { 1281 return this.add(null == e ? this.prevObject : this.prevObject.filter(e)); 1282 }, 1283 }), 1284 k.each( 1285 { 1286 parent: function (e) { 1287 var t = e.parentNode; 1288 return t && 11 !== t.nodeType ? t : null; 1289 }, 1290 parents: function (e) { 1291 return C(e, "parentNode"); 1292 }, 1293 parentsUntil: function (e, t, n) { 1294 return C(e, "parentNode", n); 1295 }, 1296 next: function (e) { 1297 return $(e, "nextSibling"); 1298 }, 1299 prev: function (e) { 1300 return $(e, "previousSibling"); 1301 }, 1302 nextAll: function (e) { 1303 return C(e, "nextSibling"); 1304 }, 1305 prevAll: function (e) { 1306 return C(e, "previousSibling"); 1307 }, 1308 nextUntil: function (e, t, n) { 1309 return C(e, "nextSibling", n); 1310 }, 1311 prevUntil: function (e, t, n) { 1312 return C(e, "previousSibling", n); 1313 }, 1314 siblings: function (e) { 1315 return D((e.parentNode || {}).firstChild, e); 1316 }, 1317 children: function (e) { 1318 return D(e.firstChild); 1319 }, 1320 contents: function (e) { 1321 return null != e.contentDocument && a(e.contentDocument) ? e.contentDocument : (O(e, "template") && (e = e.content || e), k.merge([], e.childNodes)); 1322 }, 1323 }, 1324 function (e, t) { 1325 k.fn[e] = function (n, r) { 1326 var i = k.map(this, t, n); 1327 return "Until" !== e.slice(-5) && (r = n), r && "string" == typeof r && (i = k.filter(r, i)), this.length > 1 && (I[e] || k.uniqueSort(i), M.test(e) && i.reverse()), this.pushStack(i); 1328 }; 1329 } 1330 ); 1331 var q = /[^\x20\t\r\n\f]+/g; 1332 function P(e) { 1333 return e; 1334 } 1335 function H(e) { 1336 throw e; 1337 } 1338 function F(e, t, n, r) { 1339 var i; 1340 try { 1341 e && v((i = e.promise)) ? i.call(e).done(t).fail(n) : e && v((i = e.then)) ? i.call(e, t, n) : t.apply(void 0, [e].slice(r)); 1342 } catch (e) { 1343 n.apply(void 0, [e]); 1344 } 1345 } 1346 (k.Callbacks = function (e) { 1347 e = 1348 "string" == typeof e 1349 ? (function (e) { 1350 var t = {}; 1351 return ( 1352 k.each(e.match(q) || [], function (e, n) { 1353 t[n] = !0; 1354 }), 1355 t 1356 ); 1357 })(e) 1358 : k.extend({}, e); 1359 var t, 1360 n, 1361 r, 1362 i, 1363 o = [], 1364 a = [], 1365 s = -1, 1366 u = function () { 1367 for (i = i || e.once, r = t = !0; a.length; s = -1) for (n = a.shift(); ++s < o.length; ) !1 === o[s].apply(n[0], n[1]) && e.stopOnFalse && ((s = o.length), (n = !1)); 1368 e.memory || (n = !1), (t = !1), i && (o = n ? [] : ""); 1369 }, 1370 l = { 1371 add: function () { 1372 return ( 1373 o && 1374 (n && !t && ((s = o.length - 1), a.push(n)), 1375 (function t(n) { 1376 k.each(n, function (n, r) { 1377 v(r) ? (e.unique && l.has(r)) || o.push(r) : r && r.length && "string" !== T(r) && t(r); 1378 }); 1379 })(arguments), 1380 n && !t && u()), 1381 this 1382 ); 1383 }, 1384 remove: function () { 1385 return ( 1386 k.each(arguments, function (e, t) { 1387 for (var n; (n = k.inArray(t, o, n)) > -1; ) o.splice(n, 1), n <= s && s--; 1388 }), 1389 this 1390 ); 1391 }, 1392 has: function (e) { 1393 return e ? k.inArray(e, o) > -1 : o.length > 0; 1394 }, 1395 empty: function () { 1396 return o && (o = []), this; 1397 }, 1398 disable: function () {
1399 return (i = a = []), (o = n = ""), this; 1400 }, 1401 disabled: function () { 1402 return !o; 1403 }, 1404 lock: function () { 1405 return (i = a = []), n || t || (o = n = ""), this; 1406 }, 1407 locked: function () { 1408 return !!i; 1409 }, 1410 fireWith: function (e, n) { 1411 return i || ((n = [e, (n = n || []).slice ? n.slice() : n]), a.push(n), t || u()), this; 1412 }, 1413 fire: function () { 1414 return l.fireWith(this, arguments), this; 1415 }, 1416 fired: function () { 1417 return !!r; 1418 }, 1419 }; 1420 return l; 1421 }), 1422 k.extend({ 1423 Deferred: function (e) { 1424 var t = [ 1425 ["notify", "progress", k.Callbacks("memory"), k.Callbacks("memory"), 2], 1426 ["resolve", "done", k.Callbacks("once memory"), k.Callbacks("once memory"), 0, "resolved"], 1427 ["reject", "fail", k.Callbacks("once memory"), k.Callbacks("once memory"), 1, "rejected"], 1428 ], 1429 r = "pending", 1430 i = { 1431 state: function () { 1432 return r; 1433 }, 1434 always: function () { 1435 return o.done(arguments).fail(arguments), this; 1436 }, 1437 catch: function (e) { 1438 return i.then(null, e); 1439 }, 1440 pipe: function () { 1441 var e = arguments; 1442 return k 1443 .Deferred(function (n) { 1444 k.each(t, function (t, r) { 1445 var i = v(e[r[4]]) && e[r[4]]; 1446 o[r[1]](function () { 1447 var e = i && i.apply(this, arguments); 1448 e && v(e.promise) ? e.promise().progress(n.notify).done(n.resolve).fail(n.reject) : n[r[0] + "With"](this, i ? [e] : arguments); 1449 }); 1450 }), 1451 (e = null); 1452 }) 1453 .promise(); 1454 }, 1455 then: function (e, r, i) { 1456 var o = 0; 1457 function a(e, t, r, i) { 1458 return function () { 1459 var s = this, 1460 u = arguments, 1461 l = function () { 1462 var n, l; 1463 if (!(e < o)) { 1464 if ((n = r.apply(s, u)) === t.promise()) throw new TypeError("Thenable self-resolution"); 1465 (l = n && ("object" == typeof n || "function" == typeof n) && n.then), 1466 v(l) 1467 ? i 1468 ? l.call(n, a(o, t, P, i), a(o, t, H, i)) 1469 : (o++, l.call(n, a(o, t, P, i), a(o, t, H, i), a(o, t, P, t.notifyWith))) 1470 : (r !== P && ((s = void 0), (u = [n])), (i || t.resolveWith)(s, u)); 1471 } 1472 }, 1473 c = i 1474 ? l 1475 : function () { 1476 try { 1477 l(); 1478 } catch (n) { 1479 k.Deferred.exceptionHook && k.Deferred.exceptionHook(n, c.stackTrace), e + 1 >= o && (r !== H && ((s = void 0), (u = [n])), t.rejectWith(s, u)); 1480 } 1481 }; 1482 e ? c() : (k.Deferred.getStackHook && (c.stackTrace = k.Deferred.getStackHook()), n.setTimeout(c)); 1483 }; 1484 } 1485 return k 1486 .Deferred(function (n) { 1487 t[0][3].add(a(0, n, v(i) ? i : P, n.notifyWith)), t[1][3].add(a(0, n, v(e) ? e : P)), t[2][3].add(a(0, n, v(r) ? r : H)); 1488 }) 1489 .promise(); 1490 }, 1491 promise: function (e) { 1492 return null != e ? k.extend(e, i) : i; 1493 }, 1494 }, 1495 o = {}; 1496 return ( 1497 k.each(t, function (e, n) { 1498 var a = n[2], 1499 s = n[5]; 1500 (i[n[1]] = a.add), 1501 s && 1502 a.add( 1503 function () { 1504 r = s; 1505 }, 1506 t[3 - e][2].disable, 1507 t[3 - e][3].disable, 1508 t[0][2].lock, 1509 t[0][3].lock 1510 ), 1511 a.add(n[3].fire), 1512 (o[n[0]] = function () { 1513 return o[n[0] + "With"](this === o ? void 0 : this, arguments), this; 1514 }), 1515 (o[n[0] + "With"] = a.fireWith); 1516 }), 1517 i.promise(o), 1518 e && e.call(o, o), 1519 o 1520 ); 1521 }, 1522 when: function (e) { 1523 var t = arguments.length, 1524 n = t, 1525 r = Array(n), 1526 i = s.call(arguments), 1527 o = k.Deferred(), 1528 a = function (e) { 1529 return function (n) { 1530 (r[e] = this), (i[e] = arguments.length > 1 ? s.call(arguments) : n), --t || o.resolveWith(r, i); 1531 }; 1532 }; 1533 if (t <= 1 && (F(e, o.done(a(n)).resolve, o.reject, !t), "pending" === o.state() || v(i[n] && i[n].then))) return o.then(); 1534 for (; n--; ) F(i[n], a(n), o.reject); 1535 return o.promise(); 1536 }, 1537 }); 1538 var z = /^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/; 1539 (k.Deferred.exceptionHook = function (e, t) { 1540 n.console && n.console.warn && e && z.test(e.name) && n.console.warn("jQuery.Deferred exception: " + e.message, e.stack, t); 1541 }), 1542 (k.readyException = function (e) { 1543 n.setTimeout(function () { 1544 throw e; 1545 }); 1546 }); 1547 var R = k.Deferred(); 1548 function V() { 1549 b.removeEventListener("DOMContentLoaded", V), n.removeEventListener("load", V), k.ready(); 1550 } 1551 (k.fn.ready = function (e) { 1552 return ( 1553 R.then(e).catch(function (e) { 1554 k.readyException(e); 1555 }), 1556 this 1557 ); 1558 }), 1559 k.extend({ 1560 isReady: !1, 1561 readyWait: 1, 1562 ready: function (e) { 1563 (!0 === e ? --k.readyWait : k.isReady) || ((k.isReady = !0), (!0 !== e && --k.readyWait > 0) || R.resolveWith(b, [k])); 1564 }, 1565 }), 1566 (k.ready.then = R.then), 1567 "complete" === b.readyState || ("loading" !== b.readyState && !b.documentElement.doScroll) ? n.setTimeout(k.ready) : (b.addEventListener("DOMContentLoaded", V), n.addEventListener("load", V)); 1568 var W = function (e, t, n, r, i, o, a) { 1569 var s = 0, 1570 u = e.length, 1571 l = null == n; 1572 if ("object" === T(n)) for (s in ((i = !0), n)) W(e, t, s, n[s], !0, o, a); 1573 else if ( 1574 void 0 !== r && 1575 ((i = !0), 1576 v(r) || (a = !0), 1577 l && 1578 (a 1579 ? (t.call(e, r), (t = null)) 1580 : ((l = t), 1581 (t = function (e, t, n) { 1582 return l.call(k(e), n); 1583 }))), 1584 t) 1585 ) 1586 for (; s < u;
1586 s++) t(e[s], n, a ? r : r.call(e[s], s, t(e[s], n))); 1587 return i ? e : l ? t.call(e) : u ? t(e[0], n) : o; 1588 }, 1589 U = /^-ms-/, 1590 B = /-([a-z])/g; 1591 function Q(e, t) { 1592 return t.toUpperCase(); 1593 } 1594 function Z(e) { 1595 return e.replace(U, "ms-").replace(B, Q); 1596 } 1597 var J = function (e) { 1598 return 1 === e.nodeType || 9 === e.nodeType || !+e.nodeType; 1599 }; 1600 function Y() { 1601 this.expando = k.expando + Y.uid++; 1602 } 1603 (Y.uid = 1), 1604 (Y.prototype = { 1605 cache: function (e) { 1606 var t = e[this.expando]; 1607 return t || ((t = {}), J(e) && (e.nodeType ? (e[this.expando] = t) : Object.defineProperty(e, this.expando, { value: t, configurable: !0 }))), t; 1608 }, 1609 set: function (e, t, n) { 1610 var r, 1611 i = this.cache(e); 1612 if ("string" == typeof t) i[Z(t)] = n; 1613 else for (r in t) i[Z(r)] = t[r]; 1614 return i; 1615 }, 1616 get: function (e, t) { 1617 return void 0 === t ? this.cache(e) : e[this.expando] && e[this.expando][Z(t)]; 1618 }, 1619 access: function (e, t, n) { 1620 return void 0 === t || (t && "string" == typeof t && void 0 === n) ? this.get(e, t) : (this.set(e, t, n), void 0 !== n ? n : t); 1621 }, 1622 remove: function (e, t) { 1623 var n, 1624 r = e[this.expando]; 1625 if (void 0 !== r) { 1626 if (void 0 !== t) { 1627 n = (t = Array.isArray(t) ? t.map(Z) : (t = Z(t)) in r ? [t] : t.match(q) || []).length; 1628 for (; n--; ) delete r[t[n]]; 1629 } 1630 (void 0 === t || k.isEmptyObject(r)) && (e.nodeType ? (e[this.expando] = void 0) : delete e[this.expando]); 1631 } 1632 }, 1633 hasData: function (e) { 1634 var t = e[this.expando]; 1635 return void 0 !== t && !k.isEmptyObject(t); 1636 }, 1637 }); 1638 var G = new Y(), 1639 X = new Y(), 1640 K = /^(?:\{[\w\W]*\}|\[[\w\W]*\])$/, 1641 ee = /[A-Z]/g; 1642 function te(e, t, n) { 1643 var r; 1644 if (void 0 === n && 1 === e.nodeType) 1645 if (((r = "data-" + t.replace(ee, "-$&").toLowerCase()), "string" == typeof (n = e.getAttribute(r)))) { 1646 try { 1647 n = (function (e) { 1648 return "true" === e || ("false" !== e && ("null" === e ? null : e === +e + "" ? +e : K.test(e) ? JSON.parse(e) : e)); 1649 })(n); 1650 } catch (e) {} 1651 X.set(e, t, n); 1652 } else n = void 0; 1653 return n; 1654 } 1655 k.extend({ 1656 hasData: function (e) { 1657 return X.hasData(e) || G.hasData(e); 1658 }, 1659 data: function (e, t, n) { 1660 return X.access(e, t, n); 1661 }, 1662 removeData: function (e, t) { 1663 X.remove(e, t); 1664 }, 1665 _data: function (e, t, n) { 1666 return G.access(e, t, n); 1667 }, 1668 _removeData: function (e, t) { 1669 G.remove(e, t); 1670 }, 1671 }), 1672 k.fn.extend({ 1673 data: function (e, t) { 1674 var n, 1675 r, 1676 i, 1677 o = this[0], 1678 a = o && o.attributes; 1679 if (void 0 === e) { 1680 if (this.length && ((i = X.get(o)), 1 === o.nodeType && !G.get(o, "hasDataAttrs"))) { 1681 for (n = a.length; n--; ) a[n] && 0 === (r = a[n].name).indexOf("data-") && ((r = Z(r.slice(5))), te(o, r, i[r])); 1682 G.set(o, "hasDataAttrs", !0); 1683 } 1684 return i; 1685 } 1686 return "object" == typeof e 1687 ? this.each(function () { 1688 X.set(this, e); 1689 }) 1690 : W( 1691 this, 1692 function (t) { 1693 var n; 1694 if (o && void 0 === t) return void 0 !== (n = X.get(o, e)) || void 0 !== (n = te(o, e)) ? n : void 0; 1695 this.each(function () { 1696 X.set(this, e, t); 1697 }); 1698 }, 1699 null, 1700 t, 1701 arguments.length > 1, 1702 null, 1703 !0 1704 ); 1705 }, 1706 removeData: function (e) { 1707 return this.each(function () { 1708 X.remove(this, e); 1709 }); 1710 }, 1711 }), 1712 k.extend({ 1713 queue: function (e, t, n) { 1714 var r; 1715 if (e) return (t = (t || "fx") + "queue"), (r = G.get(e, t)), n && (!r || Array.isArray(n) ? (r = G.access(e, t, k.makeArray(n))) : r.push(n)), r || []; 1716 }, 1717 dequeue: function (e, t) { 1718 t = t || "fx"; 1719 var n = k.queue(e, t), 1720 r = n.length, 1721 i = n.shift(), 1722 o = k._queueHooks(e, t); 1723 "inprogress" === i && ((i = n.shift()), r--), 1724 i && 1725 ("fx" === t && n.unshift("inprogress"), 1726 delete o.stop, 1727 i.call( 1728 e, 1729 function () { 1730 k.dequeue(e, t); 1731 }, 1732 o 1733 )), 1734 !r && o && o.empty.fire(); 1735 }, 1736 _queueHooks: function (e, t) { 1737 var n = t + "queueHooks"; 1738 return ( 1739 G.get(e, n) || 1740 G.access(e, n, { 1741 empty: k.Callbacks("once memory").add(function () { 1742 G.remove(e, [t + "queue", n]); 1743 }), 1744 }) 1745 ); 1746 }, 1747 }), 1748 k.fn.extend({ 1749 queue: function (e, t) { 1750 var n = 2; 1751 return ( 1752 "string" != typeof e && ((t = e), (e = "fx"), n--), 1753 arguments.length < n 1754 ? k.queue(this[0], e) 1755 : void 0 === t 1756 ? this 1757 : this.each(function () { 1758 var n = k.queue(this, e, t); 1759 k._queueHooks(this, e), "fx" === e && "inprogress" !== n[0] && k.dequeue(this, e); 1760 }) 1761 ); 1762 }, 1763 dequeue: function (e) { 1764 return this.each(function () { 1765 k.dequeue(this, e); 1766 }); 1767 }, 1768 clearQueue: function (e) { 1769 return this.queue(e || "fx", []); 1770 }, 1771 promise: function (e, t) { 1772 var n, 1773 r = 1, 1774 i = k.Deferred(), 1775 o = this, 1776 a = this.length, 1777 s = function () { 1778 --r || i.resolveWith(o, [o]); 1779 }; 1780 for ("string" != typeof e && ((t = e), (e = void 0)), e = e || "fx"; a--; ) (n = G.get(o[a], e + "queueHooks")) && n.empty && (r++, n.empty.add(s)); 1781 return s(), i.promise(t); 1782 }, 1783 }); 1784 var ne = /[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,
1785 re = new RegExp("^(?:([+-])=|)(" + ne + ")([a-z%]*)$", "i"), 1786 ie = ["Top", "Right", "Bottom", "Left"], 1787 oe = b.documentElement, 1788 ae = function (e) { 1789 return k.contains(e.ownerDocument, e); 1790 }, 1791 se = { composed: !0 }; 1792 oe.getRootNode && 1793 (ae = function (e) { 1794 return k.contains(e.ownerDocument, e) || e.getRootNode(se) === e.ownerDocument; 1795 }); 1796 var ue = function (e, t) { 1797 return "none" === (e = t || e).style.display || ("" === e.style.display && ae(e) && "none" === k.css(e, "display")); 1798 }; 1799 function le(e, t, n, r) { 1800 var i, 1801 o, 1802 a = 20, 1803 s = r 1804 ? function () { 1805 return r.cur(); 1806 } 1807 : function () { 1808 return k.css(e, t, ""); 1809 }, 1810 u = s(), 1811 l = (n && n[3]) || (k.cssNumber[t] ? "" : "px"), 1812 c = e.nodeType && (k.cssNumber[t] || ("px" !== l && +u)) && re.exec(k.css(e, t)); 1813 if (c && c[3] !== l) { 1814 for (u /= 2, l = l || c[3], c = +u || 1; a--; ) k.style(e, t, c + l), (1 - o) * (1 - (o = s() / u || 0.5)) <= 0 && (a = 0), (c /= o); 1815 (c *= 2), k.style(e, t, c + l), (n = n || []); 1816 } 1817 return n && ((c = +c || +u || 0), (i = n[1] ? c + (n[1] + 1) * n[2] : +n[2]), r && ((r.unit = l), (r.start = c), (r.end = i))), i; 1818 } 1819 var ce = {}; 1820 function de(e) { 1821 var t, 1822 n = e.ownerDocument, 1823 r = e.nodeName, 1824 i = ce[r]; 1825 return i || ((t = n.body.appendChild(n.createElement(r))), (i = k.css(t, "display")), t.parentNode.removeChild(t), "none" === i && (i = "block"), (ce[r] = i), i); 1826 } 1827 function fe(e, t) { 1828 for (var n, r, i = [], o = 0, a = e.length; o < a; o++) 1829 (r = e[o]).style && 1830 ((n = r.style.display),
1831 t ? ("none" === n && ((i[o] = G.get(r, "display") || null), i[o] || (r.style.display = "")), "" === r.style.display && ue(r) && (i[o] = de(r))) : "none" !== n && ((i[o] = "none"), G.set(r, "display", n))); 1832 for (o = 0; o < a; o++) null != i[o] && (e[o].style.display = i[o]); 1833 return e; 1834 } 1835 k.fn.extend({ 1836 show: function () { 1837 return fe(this, !0); 1838 }, 1839 hide: function () { 1840 return fe(this); 1841 }, 1842 toggle: function (e) { 1843 return "boolean" == typeof e 1844 ? e 1845 ? this.show() 1846 : this.hide() 1847 : this.each(function () { 1848 ue(this) ? k(this).show() : k(this).hide(); 1849 }); 1850 }, 1851 }); 1852 var he, 1853 pe, 1854 me = /^(?:checkbox|radio)$/i, 1855 ge = /<([a-z][^\/\0>\x20\t\r\n\f]*)/i, 1856 ve = /^$|^module$|\/(?:java|ecma)script/i; 1857 (he = b.createDocumentFragment().appendChild(b.createElement("div"))), 1858 (pe = b.createElement("input")).setAttribute("type", "radio"), 1859 pe.setAttribute("checked", "checked"), 1860 pe.setAttribute("name", "t"), 1861 he.appendChild(pe), 1862 (g.checkClone = he.cloneNode(!0).cloneNode(!0).lastChild.checked), 1863 (he.innerHTML = "<textarea>x</textarea>"), 1864 (g.noCloneChecked = !!he.cloneNode(!0).lastChild.defaultValue), 1865 (he.innerHTML = "<option></option>"), 1866 (g.option = !!he.lastChild); 1867 var ye = { thead: [1, "<table>", "</table>"], col: [2, "<table><colgroup>", "</colgroup></table>"], tr: [2, "<table><tbody>", "</tbody></table>"], td: [3, "<table><tbody><tr>", "</tr></tbody></table>"], _default: [0, "", ""] }; 1868 function be(e, t) { 1869 var n; 1870 return (n = void 0 !== e.getElementsByTagName ? e.getElementsByTagName(t || "*") : void 0 !== e.querySelectorAll ? e.querySelectorAll(t || "*") : []), void 0 === t || (t && O(e, t)) ? k.merge([e], n) : n; 1871 } 1872 function we(e, t) { 1873 for (var n = 0, r = e.length; n < r; n++) G.set(e[n], "globalEval", !t || G.get(t[n], "globalEval")); 1874 } 1875 (ye.tbody = ye.tfoot = ye.colgroup = ye.caption = ye.thead), (ye.th = ye.td), g.option || (ye.optgroup = ye.option = [1, "<select multiple='multiple'>", "</select>"]); 1876 var xe = /<|&#?\w+;/; 1877 function Te(e, t, n, r, i) { 1878 for (var o, a, s, u, l, c, d = t.createDocumentFragment(), f = [], h = 0, p = e.length; h < p; h++) 1879 if ((o = e[h]) || 0 === o) 1880 if ("object" === T(o)) k.merge(f, o.nodeType ? [o] : o); 1881 else if (xe.test(o)) { 1882 for (a = a || d.appendChild(t.createElement("div")), s = (ge.exec(o) || ["", ""])[1].toLowerCase(), u = ye[s] || ye._default, a.innerHTML = u[1] + k.htmlPrefilter(o) + u[2], c = u[0]; c--; ) a = a.lastChild; 1883 k.merge(f, a.childNodes), ((a = d.firstChild).textContent = ""); 1884 } else f.push(t.createTextNode(o)); 1885 for (d.textContent = "", h = 0; (o = f[h++]); ) 1886 if (r && k.inArray(o, r) > -1) i && i.push(o); 1887 else if (((l = ae(o)), (a = be(d.appendChild(o), "script")), l && we(a), n)) for (c = 0; (o = a[c++]); ) ve.test(o.type || "") && n.push(o); 1888 return d; 1889 } 1890 var ke = /^key/, 1891 Se = /^(?:mouse|pointer|contextmenu|drag|drop)|click/, 1892 Ee = /^([^.]*)(?:\.(.+)|)/; 1893 function Ce() { 1894 return !0; 1895 } 1896 function De() { 1897 return !1; 1898 } 1899 function je(e, t) { 1900 return ( 1901 (e === 1902 (function () { 1903 try { 1904 return b.activeElement; 1905 } catch (e) {} 1906 })()) == 1907 ("focus" === t) 1908 ); 1909 } 1910 function Oe(e, t, n, r, i, o) { 1911 var a, s; 1912 if ("object" == typeof t) { 1913 for (s in ("string" != typeof n && ((r = r || n), (n = void 0)), t)) Oe(e, s, n, r, t[s], o); 1914 return e; 1915 } 1916 if ((null == r && null == i ? ((i = n), (r = n = void 0)) : null == i && ("string" == typeof n ? ((i = r), (r = void 0)) : ((i = r), (r = n), (n = void 0))), !1 === i)) i = De; 1917 else if (!i) return e; 1918 return ( 1919 1 === o && 1920 ((a = i), 1921 ((i = function (e) { 1922 return k().off(e), a.apply(this, arguments); 1923 }).guid = a.guid || (a.guid = k.guid++))), 1924 e.each(function () { 1925 k.event.add(this, t, i, r, n); 1926 }) 1927 ); 1928 } 1929 function _e(e, t, n) { 1930 n 1931 ? (G.set(e, t, !1), 1932 k.event.add(e, t, { 1933 namespace: !1, 1934 handler: function (e) { 1935 var r, 1936 i, 1937 o = G.get(this, t); 1938 if (1 & e.isTrigger && this[t]) { 1939 if (o.length) (k.event.special[t] || {}).delegateType && e.stopPropagation(); 1940 else if (((o = s.call(arguments)), G.set(this, t, o), (r = n(this, t)), this[t](), o !== (i = G.get(this, t)) || r ? G.set(this, t, !1) : (i = {}), o !== i)) 1941 return e.stopImmediatePropagation(), e.preventDefault(), i.value; 1942 } else o.length && (G.set(this, t, { value: k.event.trigger(k.extend(o[0], k.Event.prototype), o.slice(1), this) }), e.stopImmediatePropagation()); 1943 }, 1944 })) 1945 : void 0 === G.get(e, t) && k.event.add(e, t, Ce); 1946 } 1947 (k.event = { 1948 global: {}, 1949 add: function (e, t, n, r, i) { 1950 var o, 1951 a, 1952 s, 1953 u, 1954 l, 1955 c, 1956 d, 1957 f, 1958 h, 1959 p, 1960 m, 1961 g = G.get(e); 1962 if (J(e)) 1963 for ( 1964 n.handler && ((n = (o = n).handler), (i = o.selector)), 1965 i && k.find.matchesSelector(oe, i), 1966 n.guid || (n.guid = k.guid++), 1967 (u = g.events) || (u = g.events = Object.create(null)), 1968 (a = g.handle) || 1969 (a = g.handle = function (t) { 1970 return void 0 !== k && k.event.triggered !== t.type ? k.event.dispatch.apply(e, arguments) : void 0; 1971 }), 1972 l = (t = (t || "").match(q) || [""]).length; 1973 l--; 1974 1975 ) 1976 (h = m = (s = Ee.exec(t[l]) || [])[1]), 1977 (p = (s[2] || "").split(".").sort()), 1978 h && 1979 ((d = k.event.special[h] || {}), 1980 (h = (i ? d.delegateType : d.bindType) || h), 1981 (d = k.event.special[h] || {}), 1982 (c = k.extend({ type: h, origType: m, data: r, handler: n, guid: n.guid, selector: i, needsContext: i && k.expr.match.needsContext.test(i), namespace: p.join(".") }, o)), 1983 (f = u[h]) || (((f = u[h] = []).delegateCount = 0), (d.setup && !1 !== d.setup.call(e, r, p, a)) || (e.addEventListener && e.addEventListener(h, a))), 1984 d.add && (d.add.call(e, c), c.handler.guid || (c.handler.guid = n.guid)), 1985 i ? f.splice(f.delegateCount++, 0, c) : f.push(c), 1986 (k.event.global[h] = !0)); 1987 }, 1988 remove: function (e, t, n, r, i) { 1989 var o, 1990 a, 1991 s, 1992 u, 1993 l, 1994 c, 1995 d, 1996 f, 1997 h, 1998 p, 1999 m, 2000 g = G.hasData(e) && G.get(e); 2001 if (g && (u = g.events)) { 2002 for (l = (t = (t || "").match(q) || [""]).length; l--; ) 2003 if (((h = m = (s = Ee.exec(t[l]) || [])[1]), (p = (s[2] || "").split(".").sort()), h)) { 2004 for (d = k.event.special[h] || {}, f = u[(h = (r ? d.delegateType : d.bindType) || h)] || [], s = s[2] && new RegExp("(^|\\.)" + p.join("\\.(?:.*\\.|)") + "(\\.|$)"), a = o = f.length; o--; ) 2005 (c = f[o]), 2006 (!i && m !== c.origType) || 2007 (n && n.guid !== c.guid) || 2008 (s && !s.test(c.namespace)) || 2009 (r && r !== c.selector && ("**" !== r || !c.selector)) || 2010 (f.splice(o, 1), c.selector && f.delegateCount--, d.remove && d.remove.call(e, c)); 2011 a && !f.length && ((d.teardown && !1 !== d.teardown.call(e, p, g.handle)) || k.removeEvent(e, h, g.handle), delete u[h]); 2012 } else for (h in u) k.event.remove(e, h + t[l], n, r, !0); 2013 k.isEmptyObject(u) && G.remove(e, "handle events"); 2014 } 2015 }, 2016 dispatch: function (e) { 2017 var t, 2018 n, 2019 r, 2020 i, 2021 o, 2022 a, 2023 s = new Array(arguments.length), 2024 u = k.event.fix(e), 2025 l = (G.get(this, "events") || Object.create(null))[u.type] || [], 2026 c = k.event.special[u.type] || {}; 2027 for (s[0] = u, t = 1; t < arguments.length; t++) s[t] = arguments[t]; 2028 if (((u.delegateTarget = this), !c.preDispatch || !1 !== c.preDispatch.call(this, u))) { 2029 for (a = k.event.handlers.call(this, u, l), t = 0; (i = a[t++]) && !u.isPropagationStopped(); ) 2030 for (u.currentTarget = i.elem, n = 0; (o = i.handlers[n++]) && !u.isImmediatePropagationStopped(); ) 2031 (u.rnamespace && !1 !== o.namespace && !u.rnamespace.test(o.namespace)) || 2032 ((u.handleObj = o), (u.data = o.data), void 0 !== (r = ((k.event.special[o.origType] || {}).handle || o.handler).apply(i.elem, s)) && !1 === (u.result = r) && (u.preventDefault(), u.stopPropagation())); 2033 return c.postDispatch && c.postDispatch.call(this, u), u.result; 2034 } 2035 }, 2036 handlers: function (e, t) { 2037 var n, 2038 r, 2039 i, 2040 o, 2041 a, 2042 s = [], 2043 u = t.delegateCount, 2044 l = e.target; 2045 if (u && l.nodeType && !("click" === e.type && e.button >= 1)) 2046 for (; l !== this; l = l.parentNode || this) 2047 if (1 === l.nodeType && ("click" !== e.type || !0 !== l.disabled)) { 2048 for (o = [], a = {}, n = 0; n < u; n++) void 0 === a[(i = (r = t[n]).selector + " ")] && (a[i] = r.needsContext ? k(i, this).index(l) > -1 : k.find(i, this, null, [l]).length), a[i] && o.push(r); 2049 o.length && s.push({ elem: l, handlers: o }); 2050 } 2051 return (l = this), u < t.length && s.push({ elem: l, handlers: t.slice(u) }), s; 2052 }, 2053 addProp: function (e, t) { 2054 Object.defineProperty(k.Event.prototype, e, { 2055 enumerable: !0, 2056 configurable: !0, 2057 get: v(t) 2058 ? function () { 2059 if (this.originalEvent) return t(this.originalEvent); 2060 } 2061 : function () { 2062 if (this.originalEvent) return this.originalEvent[e]; 2063 }, 2064 set: function (t) { 2065 Object.defineProperty(this, e, { enumerable: !0, configurable: !0, writable: !0, value: t }); 2066 }, 2067 }); 2068 }, 2069 fix: function (e) { 2070 return e[k.expando] ? e : new k.Event(e); 2071 }, 2072 special: { 2073 load: { noBubble: !0 },
2074 click: { 2075 setup: function (e) { 2076 var t = this || e; 2077 return me.test(t.type) && t.click && O(t, "input") && _e(t, "click", Ce), !1; 2078 }, 2079 trigger: function (e) { 2080 var t = this || e; 2081 return me.test(t.type) && t.click && O(t, "input") && _e(t, "click"), !0; 2082 }, 2083 _default: function (e) { 2084 var t = e.target; 2085 return (me.test(t.type) && t.click && O(t, "input") && G.get(t, "click")) || O(t, "a"); 2086 }, 2087 }, 2088 beforeunload: { 2089 postDispatch: function (e) { 2090 void 0 !== e.result && e.originalEvent && (e.originalEvent.returnValue = e.result); 2091 }, 2092 }, 2093 }, 2094 }), 2095(k.removeEvent = function (e, t, n) { 2096 e.removeEventListener && e.removeEventListener(t, n); 2097}), 2098(k.Event = function (e, t) { 2099 if (!(this instanceof k.Event)) return new k.Event(e, t); 2100 e && e.type 2101 ? ((this.originalEvent = e), 2102 (this.type = e.type), 2103 (this.isDefaultPrevented = e.defaultPrevented || (void 0 === e.defaultPrevented && !1 === e.returnValue) ? Ce : De), 2104 (this.target = e.target && 3 === e.target.nodeType ? e.target.parentNode : e.target), 2105 (this.currentTarget = e.currentTarget), 2106 (this.relatedTarget = e.relatedTarget)) 2107 : (this.type = e), 2108 t && k.extend(this, t), 2109 (this.timeStamp = (e && e.timeStamp) || Date.now()), 2110 (this[k.expando] = !0); 2111}), 2112(k.Event.prototype = { 2113 constructor: k.Event, 2114 isDefaultPrevented: De, 2115 isPropagationStopped: De, 2116 isImmediatePropagationStopped: De, 2117 isSimulated: !1, 2118 preventDefault: function () { 2119 var e = this.originalEvent; 2120 (this.isDefaultPrevented = Ce), e && !this.isSimulated && e.preventDefault(); 2121 }, 2122 stopPropagation: function () { 2123 var e = this.originalEvent; 2124 (this.isPropagationStopped = Ce), e && !this.isSimulated && e.stopPropagation(); 2125 }, 2126 stopImmediatePropagation: function () { 2127 var e = this.originalEvent; 2128 (this.isImmediatePropagationStopped = Ce), e && !this.isSimulated && e.stopImmediatePropagation(), this.stopPropagation(); 2129 }, 2130}), 2131k.each( 2132{ 2133 altKey: !0, 2134 bubbles: !0, 2135 cancelable: !0, 2136 changedTouches: !0, 2137 ctrlKey: !0, 2138 detail: !0, 2139 eventPhase: !0, 2140 metaKey: !0, 2141 pageX: !0, 2142 pageY: !0, 2143 shiftKey: !0, 2144 view: !0, 2145 char: !0, 2146 code: !0, 2147 charCode: !0, 2148 key: !0, 2149 keyCode: !0, 2150 button: !0, 2151 buttons: !0, 2152 clientX: !0, 2153 clientY: !0, 2154 offsetX: !0, 2155 offsetY: !0, 2156 pointerId: !0, 2157 pointerType: !0, 2158 screenX: !0, 2159 screenY: !0, 2160 targetTouches: !0, 2161 toElement: !0, 2162 touches: !0, 2163 which: function (e) { 2164 var t = e.button; 2165 return null == e.which && ke.test(e.type) ? (null != e.charCode ? e.charCode : e.keyCode) : !e.which && void 0 !== t && Se.test(e.type) ? (1 & t ? 1 : 2 & t ? 3 : 4 & t ? 2 : 0) : e.which; 2166 }, 2167}, 2168k.event.addProp 2169), 2170k.each({ focus: "focusin", blur: "focusout" }, function (e, t) { 2171 k.event.special[e] = { 2172 setup: function () { 2173 return _e(this, e, je), !1; 2174 }, 2175 trigger: function () { 2176 return _e(this, e), !0; 2177 }, 2178 delegateType: t, 2179 }; 2180}), 2181k.each({ mouseenter: "mouseover", mouseleave: "mouseout", pointerenter: "pointerover", pointerleave: "pointerout" }, function (e, t) { 2182 k.event.special[e] = { 2183 delegateType: t, 2184 bindType: t, 2185 handle: function (e) { 2186 var n, 2187 r = this, 2188 i = e.relatedTarget, 2189 o = e.handleObj; 2190 return (i && (i === r || k.contains(r, i))) || ((e.type = o.origType), (n = o.handler.apply(this, arguments)), (e.type = t)), n; 2191 }, 2192 }; 2193}), 2194k.fn.extend({ 2195 on: function (e, t, n, r) { 2196 return Oe(this, e, t, n, r); 2197 }, 2198 one: function (e, t, n, r) { 2199 return Oe(this, e, t, n, r, 1); 2200 }, 2201 off: function (e, t, n) { 2202 var r, i; 2203 if (e && e.preventDefault && e.handleObj) return (r = e.handleObj), k(e.delegateTarget).off(r.namespace ? r.origType + "." + r.namespace : r.origType, r.selector, r.handler), this; 2204 if ("object" == typeof e) { 2205 for (i in e) this.off(i, t, e[i]); 2206 return this; 2207 } 2208 return ( 2209 (!1 !== t && "function" != typeof t) || ((n = t), (t = void 0)), 2210 !1 === n && (n = De), 2211 this.each(function () { 2212 k.event.remove(this, e, n, t); 2213 }) 2214 ); 2215 }, 2216}); 2217var Ne = /<script|<style|<link/i, 2218Ae = /checked\s*(?:[^=]|=\s*.checked.)/i, 2219Le = /^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g; 2220function Me(e, t) { 2221 return (O(e, "table") && O(11 !== t.nodeType ? t : t.firstChild, "tr") && k(e).children("tbody")[0]) || e; 2222} 2223function Ie(e) { 2224 return (e.type = (null !== e.getAttribute("type")) + "/" + e.type), e; 2225} 2226function $e(e) { 2227 return "true/" === (e.type || "").slice(0, 5) ? (e.type = e.type.slice(5)) : e.removeAttribute("type"), e; 2228} 2229function qe(e, t) { 2230 var n, r, i, o, a, s; 2231 if (1 === t.nodeType) { 2232 if (G.hasData(e) && (s = G.get(e).events)) for (i in (G.remove(t, "handle events"), s)) for (n = 0, r = s[i].length; n < r; n++) k.event.add(t, i, s[i][n]); 2233 X.hasData(e) && ((o = X.access(e)), (a = k.extend({}, o)), X.set(t, a)); 2234 } 2235} 2236function Pe(e, t) { 2237 var n = t.nodeName.toLowerCase(); 2238 "input" === n && me.test(e.type) ? (t.checked = e.checked) : ("input" !== n && "textarea" !== n) || (t.defaultValue = e.defaultValue); 2239} 2240function He(e, t, n, r) { 2241 t = u(t); 2242 var i, 2243 o, 2244 a, 2245 s, 2246 l, 2247 c, 2248 d = 0, 2249 f = e.length, 2250 h = f - 1, 2251 p = t[0], 2252 m = v(p); 2253 if (m || (f > 1 && "string" == typeof p && !g.checkClone && Ae.test(p))) 2254 return e.each(function (i) { 2255 var o = e.eq(i); 2256 m && (t[0] = p.call(this, i, o.html())), He(o, t, n, r); 2257 }); 2258 if (f && ((o = (i = Te(t, e[0].ownerDocument, !1, e, r)).firstChild), 1 === i.childNodes.length && (i = o), o || r)) { 2259 for (s = (a = k.map(be(i, "script"), Ie)).length; d < f; d++) (l = i), d !== h && ((l = k.clone(l, !0, !0)), s && k.merge(a, be(l, "script"))), n.call(e[d], l, d); 2260 if (s) 2261 for (c = a[a.length - 1].ownerDocument, k.map(a, $e), d = 0; d < s; d++) 2262 (l = a[d]), 2263 ve.test(l.type || "") && 2264 !G.access(l, "globalEval") && 2265 k.contains(c, l) && 2266 (l.src && "module" !== (l.type || "").toLowerCase() ? k._evalUrl && !l.noModule && k._evalUrl(l.src, { nonce: l.nonce || l.getAttribute("nonce") }, c) : x(l.textContent.replace(Le, ""), l, c)); 2267 } 2268 return e; 2269 } 2270 function Fe(e, t, n) { 2271 for (var r, i = t ? k.filter(t, e) : e, o = 0; null != (r = i[o]); o++) n || 1 !== r.nodeType || k.cleanData(be(r)), r.parentNode && (n && ae(r) && we(be(r, "script")), r.parentNode.removeChild(r)); 2272 return e; 2273 } 2274 k.extend({ 2275 htmlPrefilter: function (e) { 2276 return e; 2277 }, 2278 clone: function (e, t, n) { 2279 var r, 2280 i, 2281 o, 2282 a, 2283 s = e.cloneNode(!0), 2284 u = ae(e);
2285 if (!(g.noCloneChecked || (1 !== e.nodeType && 11 !== e.nodeType) || k.isXMLDoc(e))) for (a = be(s), r = 0, i = (o = be(e)).length; r < i; r++) Pe(o[r], a[r]); 2286 if (t) 2287 if (n) for (o = o || be(e), a = a || be(s), r = 0, i = o.length; r < i; r++) qe(o[r], a[r]); 2288 else qe(e, s); 2289 return (a = be(s, "script")).length > 0 && we(a, !u && be(e, "script")), s; 2290 }, 2291 cleanData: function (e) { 2292 for (var t, n, r, i = k.event.special, o = 0; void 0 !== (n = e[o]); o++) 2293 if (J(n)) { 2294 if ((t = n[G.expando])) { 2295 if (t.events) for (r in t.events) i[r] ? k.event.remove(n, r) : k.removeEvent(n, r, t.handle); 2296 n[G.expando] = void 0; 2297 } 2298 n[X.expando] && (n[X.expando] = void 0); 2299 } 2300 }, 2301 }), 2302 k.fn.extend({ 2303 detach: function (e) { 2304 return Fe(this, e, !0); 2305 }, 2306 remove: function (e) { 2307 return Fe(this, e); 2308 }, 2309 text: function (e) { 2310 return W( 2311 this, 2312 function (e) { 2313 return void 0 === e 2314 ? k.text(this) 2315 : this.empty().each(function () { 2316 (1 !== this.nodeType && 11 !== this.nodeType && 9 !== this.nodeType) || (this.textContent = e); 2317 }); 2318 }, 2319 null, 2320 e, 2321 arguments.length 2322 ); 2323 }, 2324 append: function () { 2325 return He(this, arguments, function (e) { 2326 (1 !== this.nodeType && 11 !== this.nodeType && 9 !== this.nodeType) || Me(this, e).appendChild(e); 2327 }); 2328 }, 2329 prepend: function () { 2330 return He(this, arguments, function (e) { 2331 if (1 === this.nodeType || 11 === this.nodeType || 9 === this.nodeType) { 2332 var t = Me(this, e); 2333 t.insertBefore(e, t.firstChild); 2334 } 2335 }); 2336 }, 2337 before: function () { 2338 return He(this, arguments, function (e) { 2339 this.parentNode && this.parentNode.insertBefore(e, this); 2340 }); 2341 }, 2342 after: function () { 2343 return He(this, arguments, function (e) { 2344 this.parentNode && this.parentNode.insertBefore(e, this.nextSibling); 2345 }); 2346 }, 2347 empty: function () { 2348 for (var e, t = 0; null != (e = this[t]); t++) 1 === e.nodeType && (k.cleanData(be(e, !1)), (e.textContent = "")); 2349 return this; 2350 }, 2351 clone: function (e, t) { 2352 return ( 2353 (e = null != e && e), 2354 (t = null == t ? e : t), 2355 this.map(function () { 2356 return k.clone(this, e, t); 2357 }) 2358 ); 2359 }, 2360 html: function (e) { 2361 return W( 2362 this, 2363 function (e) { 2364 var t = this[0] || {}, 2365 n = 0, 2366 r = this.length; 2367 if (void 0 === e && 1 === t.nodeType) return t.innerHTML; 2368 if ("string" == typeof e && !Ne.test(e) && !ye[(ge.exec(e) || ["", ""])[1].toLowerCase()]) { 2369 e = k.htmlPrefilter(e); 2370 try { 2371 for (; n < r; n++) 1 === (t = this[n] || {}).nodeType && (k.cleanData(be(t, !1)), (t.innerHTML = e)); 2372 t = 0; 2373 } catch (e) {} 2374 } 2375 t && this.empty().append(e); 2376 }, 2377 null, 2378 e, 2379 arguments.length 2380 ); 2381 }, 2382 replaceWith: function () { 2383 var e = []; 2384 return He( 2385 this, 2386 arguments, 2387 function (t) { 2388 var n = this.parentNode; 2389 k.inArray(this, e) < 0 && (k.cleanData(be(this)), n && n.replaceChild(t, this)); 2390 }, 2391 e 2392 ); 2393 }, 2394 }), 2395 k.each({ appendTo: "append", prependTo: "prepend", insertBefore: "before", insertAfter: "after", replaceAll: "replaceWith" }, function (e, t) { 2396 k.fn[e] = function (e) { 2397 for (var n, r = [], i = k(e), o = i.length - 1, a = 0; a <= o; a++) (n = a === o ? this : this.clone(!0)), k(i[a])[t](n), l.apply(r, n.get()); 2398 return this.pushStack(r); 2399 }; 2400 }); 2401 var ze = new RegExp("^(" + ne + ")(?!px)[a-z%]+$", "i"), 2402 Re = function (e) { 2403 var t = e.ownerDocument.defaultView; 2404 return (t && t.opener) || (t = n), t.getComputedStyle(e); 2405 }, 2406 Ve = function (e, t, n) { 2407 var r, 2408 i, 2409 o = {}; 2410 for (i in t) (o[i] = e.style[i]), (e.style[i] = t[i]); 2411 for (i in ((r = n.call(e)), t)) e.style[i] = o[i]; 2412 return r; 2413 }, 2414 We = new RegExp(ie.join("|"), "i"); 2415 function Ue(e, t, n) { 2416 var r, 2417 i, 2418 o, 2419 a, 2420 s = e.style; 2421 return ( 2422 (n = n || Re(e)) && 2423 ("" !== (a = n.getPropertyValue(t) || n[t]) || ae(e) || (a = k.style(e, t)), 2424 !g.pixelBoxStyles() && ze.test(a) && We.test(t) && ((r = s.width), (i = s.minWidth), (o = s.maxWidth), (s.minWidth = s.maxWidth = s.width = a), (a = n.width), (s.width = r), (s.minWidth = i), (s.maxWidth = o))
2424), 2425 void 0 !== a ? a + "" : a 2426 ); 2427 } 2428 function Be(e, t) { 2429 return { 2430 get: function () { 2431 if (!e()) return (this.get = t).apply(this, arguments); 2432 delete this.get; 2433 }, 2434 }; 2435 } 2436 !(function () { 2437 function e() { 2438 if (c) { 2439 (l.style.cssText = "position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0"), 2440 (c.style.cssText = "position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%"), 2441 oe.appendChild(l).appendChild(c); 2442 var e = n.getComputedStyle(c); 2443 (r = "1%" !== e.top), 2444 (u = 12 === t(e.marginLeft)), 2445 (c.style.right = "60%"), 2446 (a = 36 === t(e.right)), 2447 (i = 36 === t(e.width)), 2448 (c.style.position = "absolute"), 2449 (o = 12 === t(c.offsetWidth / 3)), 2450 oe.removeChild(l), 2451 (c = null); 2452 } 2453 } 2454 function t(e) { 2455 return Math.round(parseFloat(e)); 2456 } 2457 var r, 2458 i, 2459 o, 2460 a, 2461 s, 2462 u, 2463 l = b.createElement("div"), 2464 c = b.createElement("div"); 2465 c.style && 2466 ((c.style.backgroundClip = "content-box"), 2467 (c.cloneNode(!0).style.backgroundClip = ""), 2468 (g.clearCloneStyle = "content-box" === c.style.backgroundClip), 2469 k.extend(g, { 2470 boxSizingReliable: function () { 2471 return e(), i; 2472 }, 2473 pixelBoxStyles: function () { 2474 return e(), a; 2475 }, 2476 pixelPosition: function () { 2477 return e(), r; 2478 }, 2479 reliableMarginLeft: function () { 2480 return e(), u; 2481 }, 2482 scrollboxSize: function () { 2483 return e(), o; 2484 }, 2485 reliableTrDimensions: function () { 2486 var e, t, r, i; 2487 return ( 2488 null == s && 2489 ((e = b.createElement("table")), 2490 (t = b.createElement("tr")), 2491 (r = b.createElement("div")), 2492 (e.style.cssText = "position:absolute;left:-11111px"), 2493 (t.style.height = "1px"), 2494 (r.style.height = "9px"), 2495 oe.appendChild(e).appendChild(t).appendChild(r), 2496 (i = n.getComputedStyle(t)), 2497 (s = parseInt(i.height) > 3), 2498 oe.removeChild(e)), 2499 s 2500 ); 2501 }, 2502 })); 2503 })(); 2504 var Qe = ["Webkit", "Moz", "ms"], 2505 Ze = b.createElement("div").style, 2506 Je = {}; 2507 function Ye(e) { 2508 var t = k.cssProps[e] || Je[e]; 2509 return ( 2510 t || 2511 (e in Ze 2512 ? e 2513 : (Je[e] = 2514 (function (e) { 2515 for (var t = e[0].toUpperCase() + e.slice(1), n = Qe.length; n--; ) if ((e = Qe[n] + t) in Ze) return e; 2516 })(e) || e)) 2517 ); 2518 } 2519 var Ge = /^(none|table(?!-c[ea]).+)/, 2520 Xe = /^--/, 2521 Ke = { position: "absolute", visibility: "hidden", display: "block" }, 2522 et = { letterSpacing: "0", fontWeight: "400" }; 2523 function tt(e, t, n) { 2524 var r = re.exec(t); 2525 return r ? Math.max(0, r[2] - (n || 0)) + (r[3] || "px") : t; 2526 } 2527 function nt(e, t, n, r, i, o) { 2528 var a = "width" === t ? 1 : 0, 2529 s = 0, 2530 u = 0; 2531 if (n === (r ? "border" : "content")) return 0; 2532 for (; a < 4; a += 2) 2533 "margin" === n && (u += k.css(e, n + ie[a], !0, i)), 2534 r 2535 ? ("content" === n && (u -= k.css(e, "padding" + ie[a], !0, i)), "margin" !== n && (u -= k.css(e, "border" + ie[a] + "Width", !0, i))) 2536 : ((u += k.css(e, "padding" + ie[a], !0, i)), "padding" !== n ? (u += k.css(e, "border" + ie[a] + "Width", !0, i)) : (s += k.css(e, "border" + ie[a] + "Width", !0, i))); 2537 return !r && o >= 0 && (u += Math.max(0, Math.ceil(e["offset" + t[0].toUpperCase() + t.slice(1)] - o - u - s - 0.5)) || 0), u; 2538 } 2539 function rt(e, t, n) { 2540 var r = Re(e), 2541 i = (!g.boxSizingReliable() || n) && "border-box" === k.css(e, "boxSizing", !1, r), 2542 o = i, 2543 a = Ue(e, t, r), 2544 s = "offset" + t[0].toUpperCase() + t.slice(1); 2545 if (ze.test(a)) { 2546 if (!n) return a; 2547 a = "auto"; 2548 } 2549 return ( 2550 ((!g.boxSizingReliable() && i) || (!g.reliableTrDimensions() && O(e, "tr")) || "auto" === a || (!parseFloat(a) && "inline" === k.css(e, "display", !1, r))) && 2551 e.getClientRects().length && 2552 ((i = "border-box" === k.css(e, "boxSizing", !1, r)), (o = s in e) && (a = e[s])), 2553 (a = parseFloat(a) || 0) + nt(e, t, n || (i ? "border" : "content"), o, r, a) + "px" 2554 ); 2555 } 2556 function it(e, t, n, r, i) { 2557 return new it.prototype.init(e, t, n, r, i); 2558 } 2559 k.extend({ 2560 cssHooks: { 2561 opacity: { 2562 get: function (e, t) { 2563 if (t) { 2564 var n = Ue(e, "opacity"); 2565 return "" === n ? "1" : n; 2566 } 2567 }, 2568 }, 2569 }, 2570 cssNumber: { 2571 animationIterationCount: !0, 2572 columnCount: !0, 2573 fillOpacity: !0, 2574 flexGrow: !0, 2575 flexShrink: !0, 2576 fontWeight: !0, 2577 gridArea: !0, 2578 gridColumn: !0, 2579 gridColumnEnd: !0, 2580 gridColumnStart: !0, 2581 gridRow: !0, 2582 gridRowEnd: !0, 2583 gridRowStart: !0, 2584 lineHeight: !0, 2585 opacity: !0, 2586 order: !0, 2587 orphans: !0, 2588 widows: !0, 2589 zIndex: !0, 2590 zoom: !0, 2591 }, 2592 cssProps: {}, 2593 style: function (e, t, n, r) { 2594 if (e && 3 !== e.nodeType && 8 !== e.nodeType && e.style) { 2595 var i, 2596 o, 2597 a, 2598 s = Z(t), 2599 u = Xe.test(t), 2600 l = e.style; 2601 if ((u || (t = Ye(s)), (a = k.cssHooks[t] || k.cssHooks[s]), void 0 === n)) return a && "get" in a && void 0 !== (i = a.get(e, !1, r)) ? i : l[t]; 2602 "string" === (o = typeof n) && (i = re.exec(n)) && i[1] && ((n = le(e, t, i)), (o = "number")), 2603 null != n && 2604 n == n && 2605 ("number" !== o || u || (n += (i && i[3]) || (k.cssNumber[s] ? "" : "px")), 2606 g.clearCloneStyle || "" !== n || 0 !== t.indexOf("background") || (l[t] = "inherit"), 2607 (a && "set" in a && void 0 === (n = a.set(e, n, r))) || (u ? l.setProperty(t, n) : (l[t] = n))); 2608 } 2609 }, 2610 css: function (e, t, n, r) { 2611 var i, 2612 o, 2613 a, 2614 s = Z(t); 2615 return ( 2616 Xe.test(t) || (t = Ye(s)), 2617 (a = k.cssHooks[t] || k.cssHooks[s]) && "get" in a && (i = a.get(e, !0, n)), 2618 void 0 === i && (i = Ue(e, t, r)), 2619 "normal" === i && t in et && (i = et[t]), 2620 "" === n || n ? ((o = parseFloat(i)), !0 === n || isFinite(o) ? o || 0 : i) : i 2621 ); 2622 }, 2623 }), 2624 k.each(["height", "width"], function (e, t) { 2625 k.cssHooks[t] = { 2626 get: function (e, n, r) { 2627 if (n) 2628 return !Ge.test(k.css(e, "display")) || (e.getClientRects().length && e.getBoundingClientRect().width) 2629 ? rt(e, t, r) 2630 : Ve(e, Ke, function () { 2631 return rt(e, t, r); 2632 }); 2633 }, 2634 set: function (e, n, r) { 2635 var i, 2636 o = Re(e), 2637 a = !g.scrollboxSize() && "absolute" === o.position, 2638 s = (a || r) && "border-box" === k.css(e, "boxSizing", !1, o), 2639 u = r ? nt(e, t, r, s, o) : 0; 2640 return ( 2641 s && a && (u -= Math.ceil(e["offset" + t[0].toUpperCase() + t.slice(1)] - parseFloat(o[t]) - nt(e, t, "border", !1, o) - 0.5)), 2642 u && (i = re.exec(n)) && "px" !== (i[3] || "px") && ((e.style[t] = n), (n = k.css(e, t))), 2643 tt(0, n, u) 2644 ); 2645 }, 2646 }; 2647 }), 2648 (k.cssHooks.marginLeft = Be(g.reliableMarginLeft, function (e, t) { 2649 if (t) 2650 return ( 2651 (parseFloat(Ue(e, "marginLeft")) || 2652 e.getBoundingClientRect().left - 2653 Ve(e, { marginLeft: 0 }, function () { 2654 return e.getBoundingClientRect().left; 2655 })) + "px" 2656 ); 2657 })), 2658 k.each({ margin: "", padding: "", border: "Width" }, function (e, t) { 2659 (k.cssHooks[e + t] = { 2660 expand: function (n) { 2661 for (var r = 0, i = {}, o = "string" == typeof n ? n.split(" ") : [n]; r < 4; r++) i[e + ie[r] + t] = o[r] || o[r - 2] || o[0]; 2662 return i; 2663 }, 2664 }), 2665 "margin" !== e && (k.cssHooks[e + t].set = tt); 2666 }), 2667 k.fn.extend({ 2668 css: function (e, t) { 2669 return W( 2670 this, 2671 function (e, t, n) { 2672 var r, 2673 i, 2674 o = {}, 2675 a = 0; 2676 if (Array.isArray(t)) { 2677 for (r = Re(e), i = t.length; a < i; a++) o[t[a]] = k.css(e, t[a], !1, r); 2678 return o; 2679 } 2680 return void 0 !== n ? k.style(e, t, n) : k.css(e, t); 2681 }, 2682 e, 2683 t, 2684 arguments.length > 1 2685 ); 2686 }, 2687 }), 2688 (k.Tween = it), 2689 (it.prototype = { 2690 constructor: it, 2691 init: function (e, t, n, r, i, o) { 2692 (this.elem = e), (this.prop = n), (this.easing = i || k.easing._default), (this.options = t), (this.start = this.now = this.cur()), (this.end = r), (this.unit = o || (k.cssNumber[n] ? "" : "px")); 2693 }, 2694 cur: function () { 2695 var e = it.propHooks[this.prop]; 2696 return e && e.get ? e.get(this) : it.propHooks._default.get(this); 2697 }, 2698 run: function (e) { 2699 var t, 2700 n = it.propHooks[this.prop]; 2701 return ( 2702 this.options.duration ? (this.pos = t = k.easing[this.easing](e, this.options.duration * e, 0, 1, this.options.duration)) : (this.pos = t = e),
2703 (this.now = (this.end - this.start) * t + this.start), 2704 this.options.step && this.options.step.call(this.elem, this.now, this), 2705 n && n.set ? n.set(this) : it.propHooks._default.set(this), 2706 this 2707 ); 2708 }, 2709 }), 2710 (it.prototype.init.prototype = it.prototype), 2711 (it.propHooks = { 2712 _default: { 2713 get: function (e) { 2714 var t; 2715 return 1 !== e.elem.nodeType || (null != e.elem[e.prop] && null == e.elem.style[e.prop]) ? e.elem[e.prop] : (t = k.css(e.elem, e.prop, "")) && "auto" !== t ? t : 0; 2716 }, 2717 set: function (e) { 2718 k.fx.step[e.prop] ? k.fx.step[e.prop](e) : 1 !== e.elem.nodeType || (!k.cssHooks[e.prop] && null == e.elem.style[Ye(e.prop)]) ? (e.elem[e.prop] = e.now) : k.style(e.elem, e.prop, e.now + e.unit); 2719 }, 2720 }, 2721 }), 2722 (it.propHooks.scrollTop = it.propHooks.scrollLeft = { 2723 set: function (e) { 2724 e.elem.nodeType && e.elem.parentNode && (e.elem[e.prop] = e.now); 2725 }, 2726 }), 2727 (k.easing = { 2728 linear: function (e) { 2729 return e; 2730 }, 2731 swing: function (e) { 2732 return 0.5 - Math.cos(e * Math.PI) / 2; 2733 }, 2734 _default: "swing", 2735 }), 2736 (k.fx = it.prototype.init), 2737 (k.fx.step = {}); 2738 var ot, 2739 at, 2740 st = /^(?:toggle|show|hide)$/, 2741 ut = /queueHooks$/; 2742 function lt() { 2743 at && (!1 === b.hidden && n.requestAnimationFrame ? n.requestAnimationFrame(lt) : n.setTimeout(lt, k.fx.interval), k.fx.tick()); 2744 } 2745 function ct() { 2746 return ( 2747 n.setTimeout(function () { 2748 ot = void 0; 2749 }), 2750 (ot = Date.now()) 2751 ); 2752 } 2753 function dt(e, t) { 2754 var n, 2755 r = 0, 2756 i = { height: e }; 2757 for (t = t ? 1 : 0; r < 4; r += 2 - t) i["margin" + (n = ie[r])] = i["padding" + n] = e; 2758 return t && (i.opacity = i.width = e), i; 2759 } 2760 function ft(e, t, n) { 2761 for (var r, i = (ht.tweeners[t] || []).concat(ht.tweeners["*"]), o = 0, a = i.length; o < a; o++) if ((r = i[o].call(n, t, e))) return r; 2762 } 2763 function ht(e, t, n) { 2764 var r, 2765 i, 2766 o = 0, 2767 a = ht.prefilters.length, 2768 s = k.Deferred().always(function () { 2769 delete u.elem; 2770 }), 2771 u = function () { 2772 if (i) return !1; 2773 for (var t = ot || ct(), n = Math.max(0, l.startTime + l.duration - t), r = 1 - (n / l.duration || 0), o = 0, a = l.tweens.length; o < a; o++) l.tweens[o].run(r); 2774 return s.notifyWith(e, [l, r, n]), r < 1 && a ? n : (a || s.notifyWith(e, [l, 1, 0]), s.resolveWith(e, [l]), !1); 2775 }, 2776 l = s.promise({ 2777 elem: e, 2778 props: k.extend({}, t), 2779 opts: k.extend(!0, { specialEasing: {}, easing: k.easing._default }, n), 2780 originalProperties: t, 2781 originalOptions: n, 2782 startTime: ot || ct(), 2783 duration: n.duration, 2784 tweens: [], 2785 createTween: function (t, n) { 2786 var r = k.Tween(e, l.opts, t, n, l.opts.specialEasing[t] || l.opts.easing); 2787 return l.tweens.push(r), r; 2788 }, 2789 stop: function (t) { 2790 var n = 0, 2791 r = t ? l.tweens.length : 0; 2792 if (i) return this; 2793 for (i = !0; n < r; n++) l.tweens[n].run(1); 2794 return t ? (s.notifyWith(e, [l, 1, 0]), s.resolveWith(e, [l, t])) : s.rejectWith(e, [l, t]), this; 2795 }, 2796 }), 2797 c = l.props; 2798 for ( 2799 !(function (e, t) { 2800 var n, r, i, o, a; 2801 for (n in e) 2802 if (((i = t[(r = Z(n))]), (o = e[n]), Array.isArray(o) && ((i = o[1]), (o = e[n] = o[0])), n !== r && ((e[r] = o), delete e[n]), (a = k.cssHooks[r]) && ("expand" in a))) 2803 for (n in ((o = a.expand(o)), delete e[r], o)) (n in e) || ((e[n] = o[n]), (t[n] = i)); 2804 else t[r] = i; 2805 })(c, l.opts.specialEasing); 2806 o < a; 2807 o++ 2808 ) 2809 if ((r = ht.prefilters[o].call(l, e, c, l.opts))) return v(r.stop) && (k._queueHooks(l.elem, l.opts.queue).stop = r.stop.bind(r)), r; 2810 return ( 2811 k.map(c, ft, l), 2812 v(l.opts.start) && l.opts.start.call(e, l), 2813 l.progress(l.opts.progress).done(l.opts.done, l.opts.complete).fail(l.opts.fail).always(l.opts.always), 2814 k.fx.timer(k.extend(u, { elem: e, anim: l, queue: l.opts.queue })), 2815 l 2816 ); 2817 } 2818 (k.Animation = k.extend(ht, { 2819 tweeners: { 2820 "*": [ 2821 function (e, t) { 2822 var n = this.createTween(e, t); 2823 return le(n.elem, e, re.exec(t), n), n; 2824 }, 2825 ], 2826 }, 2827 tweener: function (e, t) { 2828 v(e) ? ((t = e), (e = ["*"])) : (e = e.match(q)); 2829 for (var n, r = 0, i = e.length; r < i; r++) (n = e[r]), (ht.tweeners[n] = ht.tweeners[n] || []), ht.tweeners[n].unshift(t); 2830 }, 2831 prefilters: [ 2832 function (e, t, n) { 2833 var r, 2834 i, 2835 o, 2836 a, 2837 s, 2838 u, 2839 l, 2840 c, 2841 d = "width" in t || "height" in t, 2842 f = this, 2843 h = {}, 2844 p = e.style, 2845 m = e.nodeType && ue(e), 2846 g = G.get(e, "fxshow"); 2847 for (r in (n.queue || 2848 (null == (a = k._queueHooks(e, "fx")).unqueued && 2849 ((a.unqueued = 0), 2850 (s = a.empty.fire), 2851 (a.empty.fire = function () { 2852 a.unqueued || s(); 2853 })), 2854 a.unqueued++, 2855 f.always(function () { 2856 f.always(function () { 2857 a.unqueued--, k.queue(e, "fx").length || a.empty.fire(); 2858 }); 2859 })), 2860 t)) 2861 if (((i = t[r]), st.test(i))) { 2862 if ((delete t[r], (o = o || "toggle" === i), i === (m ? "hide" : "show"))) { 2863 if ("show" !== i || !g || void 0 === g[r]) continue; 2864 m = !0; 2865 } 2866 h[r] = (g && g[r]) || k.style(e, r); 2867 } 2868 if ((u = !k.isEmptyObject(t)) || !k.isEmptyObject(h)) 2869 for (r in (d && 2870 1 === e.nodeType && 2871 ((n.overflow = [p.overflow, p.overflowX, p.overflowY]), 2872 null == (l = g && g.display) && (l = G.get(e, "display")), 2873 "none" === (c = k.css(e, "display")) && (l ? (c = l) : (fe([e], !0), (l = e.style.display || l), (c = k.css(e, "display")), fe([e]))), 2874 ("inline" === c || ("inline-block" === c && null != l)) && 2875 "none" === k.css(e, "float") && 2876 (u || 2877 (f.done(function () { 2878 p.display = l; 2879 }), 2880 null == l && ((c = p.display), (l = "none" === c ? "" : c))), 2881 (p.display = "inline-block"))), 2882 n.overflow && 2883 ((p.overflow = "hidden"), 2884 f.always(function () { 2885 (p.overflow = n.overflow[0]), (p.overflowX = n.overflow[1]), (p.overflowY = n.overflow[2]); 2886 })), 2887 (u = !1), 2888 h)) 2889 u || 2890 (g ? "hidden" in g && (m = g.hidden) : (g = G.access(e, "fxshow", { display: l })), 2891 o && (g.hidden = !m), 2892 m && fe([e], !0), 2893 f.done(function () { 2894 for (r in (m || fe([e]), G.remove(e, "fxshow"), h)) k.style(e, r, h[r]); 2895 })), 2896 (u = ft(m ? g[r] : 0, r, f)), 2897 r in g || ((g[r] = u.start), m && ((u.end = u.start), (u.start = 0))); 2898 }, 2899 ], 2900 prefilter: function (e, t) { 2901 t ? ht.prefilters.unshift(e) : ht.prefilters.push(e); 2902 }, 2903 })), 2904 (k.speed = function (e, t, n) { 2905 var r = e && "object" == typeof e ? k.extend({}, e) : { complete: n || (!n && t) || (v(e) && e), duration: e, easing: (n && t) || (t && !v(t) && t) }; 2906 return ( 2907 k.fx.off ? (r.duration = 0) : "number" != typeof r.duration && (r.duration in k.fx.speeds ? (r.duration = k.fx.speeds[r.duration]) : (r.duration = k.fx.speeds._default)), 2908 (null != r.queue && !0 !== r.queue) || (r.queue = "fx"), 2909 (r.old = r.complete), 2910 (r.complete = function () { 2911 v(r.old) && r.old.call(this), r.queue && k.dequeue(this, r.queue); 2912 }), 2913 r 2914 ); 2915 }), 2916 k.fn.extend({ 2917 fadeTo: function (e, t, n, r) { 2918 return this.filter(ue).css("opacity", 0).show().end().animate({ opacity: t }, e, n, r); 2919 }, 2920 animate: function (e, t, n, r) { 2921 var i = k.isEmptyObject(e), 2922 o = k.speed(t, n, r), 2923 a = function () { 2924 var t = ht(this, k.extend({}, e), o); 2925 (i || G.get(this, "finish")) && t.stop(!0); 2926 }; 2927 return (a.finish = a), i || !1 === o.queue ? this.each(a) : this.queue(o.queue, a); 2928 }, 2929 stop: function (e, t, n) { 2930 var r = function (e) { 2931 var t = e.stop; 2932 delete e.stop, t(n); 2933 }; 2934 return ( 2935 "string" != typeof e && ((n = t), (t = e), (e = void 0)), 2936 t && this.queue(e || "fx", []), 2937 this.each(function () { 2938 var t = !0,
2939 i = null != e && e + "queueHooks", 2940 o = k.timers, 2941 a = G.get(this); 2942 if (i) a[i] && a[i].stop && r(a[i]); 2943 else for (i in a) a[i] && a[i].stop && ut.test(i) && r(a[i]); 2944 for (i = o.length; i--; ) o[i].elem !== this || (null != e && o[i].queue !== e) || (o[i].anim.stop(n), (t = !1), o.splice(i, 1)); 2945 (!t && n) || k.dequeue(this, e); 2946 }) 2947 ); 2948 }, 2949 finish: function (e) { 2950 return ( 2951 !1 !== e && (e = e || "fx"), 2952 this.each(function () { 2953 var t, 2954 n = G.get(this), 2955 r = n[e + "queue"], 2956 i = n[e + "queueHooks"], 2957 o = k.timers, 2958 a = r ? r.length : 0; 2959 for (n.finish = !0, k.queue(this, e, []), i && i.stop && i.stop.call(this, !0), t = o.length; t--; ) o[t].elem === this && o[t].queue === e && (o[t].anim.stop(!0), o.splice(t, 1)); 2960 for (t = 0; t < a; t++) r[t] && r[t].finish && r[t].finish.call(this); 2961 delete n.finish; 2962 }) 2963 ); 2964 }, 2965 }), 2966 k.each(["toggle", "show", "hide"], function (e, t) { 2967 var n = k.fn[t]; 2968 k.fn[t] = function (e, r, i) { 2969 return null == e || "boolean" == typeof e ? n.apply(this, arguments) : this.animate(dt(t, !0), e, r, i); 2970 }; 2971 }), 2972 k.each({ slideDown: dt("show"), slideUp: dt("hide"), slideToggle: dt("toggle"), fadeIn: { opacity: "show" }, fadeOut: { opacity: "hide" }, fadeToggle: { opacity: "toggle" } }, function (e, t) { 2973 k.fn[e] = function (e, n, r) { 2974 return this.animate(t, e, n, r); 2975 }; 2976 }), 2977 (k.timers = []), 2978 (k.fx.tick = function () { 2979 var e, 2980 t = 0, 2981 n = k.timers; 2982 for (ot = Date.now(); t < n.length; t++) (e = n[t])() || n[t] !== e || n.splice(t--, 1); 2983 n.length || k.fx.stop(), (ot = void 0); 2984 }), 2985 (k.fx.timer = function (e) { 2986 k.timers.push(e), k.fx.start(); 2987 }), 2988 (k.fx.interval = 13), 2989 (k.fx.start = function () { 2990 at || ((at = !0), lt()); 2991 }), 2992 (k.fx.stop = function () { 2993 at = null; 2994 }), 2995 (k.fx.speeds = { slow: 600, fast: 200, _default: 400 }), 2996 (k.fn.delay = function (e, t) { 2997 return ( 2998 (e = (k.fx && k.fx.speeds[e]) || e), 2999 (t = t || "fx"), 3000 this.queue(t, function (t, r) { 3001 var i = n.setTimeout(t, e); 3002 r.stop = function () { 3003 n.clearTimeout(i); 3004 }; 3005 }) 3006 ); 3007 }), 3008 (function () { 3009 var e = b.createElement("input"), 3010 t = b.createElement("select").appendChild(b.createElement("option")); 3011 (e.type = "checkbox"), (g.checkOn = "" !== e.value), (g.optSelected = t.selected), ((e = b.createElement("input")).value = "t"), (e.type = "radio"), (g.radioValue = "t" === e.value); 3012 })(); 3013 var pt, 3014 mt = k.expr.attrHandle; 3015 k.fn.extend({ 3016 attr: function (e, t) { 3017 return W(this, k.attr, e, t, arguments.length > 1); 3018 }, 3019 removeAttr: function (e) { 3020 return this.each(function () { 3021 k.removeAttr(this, e); 3022 }); 3023 }, 3024 }), 3025 k.extend({ 3026 attr: function (e, t, n) { 3027 var r, 3028 i, 3029 o = e.nodeType; 3030 if (3 !== o && 8 !== o && 2 !== o) 3031 return void 0 === e.getAttribute 3032 ? k.prop(e, t, n) 3033 : ((1 === o && k.isXMLDoc(e)) || (i = k.attrHooks[t.toLowerCase()] || (k.expr.match.bool.test(t) ? pt : void 0)), 3034 void 0 !== n 3035 ? null === n 3036 ? void k.removeAttr(e, t) 3037 : i && "set" in i && void 0 !== (r = i.set(e, n, t)) 3038 ? r 3039 : (e.setAttribute(t, n + ""), n) 3040 : i && "get" in i && null !== (r = i.get(e, t)) 3041 ? r 3042 : null == (r = k.find.attr(e, t)) 3043 ? void 0 3044 : r); 3045 }, 3046 attrHooks: { 3047 type: { 3048 set: function (e, t) { 3049 if (!g.radioValue && "radio" === t && O(e, "input")) { 3050 var n = e.value; 3051 return e.setAttribute("type", t), n && (e.value = n), t; 3052 } 3053 }, 3054 }, 3055 }, 3056 removeAttr: function (e, t) { 3057 var n, 3058 r = 0, 3059 i = t && t.match(q); 3060 if (i && 1 === e.nodeType) for (; (n = i[r++]); ) e.removeAttribute(n); 3061 }, 3062 }), 3063 (pt = { 3064 set: function (e, t, n) { 3065 return !1 === t ? k.removeAttr(e, n) : e.setAttribute(n, n), n; 3066 }, 3067 }), 3068 k.each(k.expr.match.bool.source.match(/\w+/g), function (e, t) { 3069 var n = mt[t] || k.find.attr; 3070 mt[t] = function (e, t, r) { 3071 var i, 3072 o, 3073 a = t.toLowerCase(); 3074 return r || ((o = mt[a]), (mt[a] = i), (i = null != n(e, t, r) ? a : null), (mt[a] = o)), i; 3075 }; 3076 }); 3077 var gt = /^(?:input|select|textarea|button)$/i, 3078 vt = /^(?:a|area)$/i; 3079 function yt(e) { 3080 return (e.match(q) || []).join(" "); 3081 } 3082 function bt(e) { 3083 return (e.getAttribute && e.getAttribute("class")) || ""; 3084 } 3085 function wt(e) { 3086 return Array.isArray(e) ? e : ("string" == typeof e && e.match(q)) || []; 3087 } 3088 k.fn.extend({ 3089 prop: function (e, t) { 3090 return W(this, k.prop, e, t, arguments.length > 1); 3091 }, 3092 removeProp: function (e) { 3093 return this.each(function () { 3094 delete this[k.propFix[e] || e]; 3095 }); 3096 }, 3097 }), 3098 k.extend({ 3099 prop: function (e, t, n) { 3100 var r, 3101 i,
3102 o = e.nodeType; 3103 if (3 !== o && 8 !== o && 2 !== o) 3104 return ( 3105 (1 === o && k.isXMLDoc(e)) || ((t = k.propFix[t] || t), (i = k.propHooks[t])), 3106 void 0 !== n ? (i && "set" in i && void 0 !== (r = i.set(e, n, t)) ? r : (e[t] = n)) : i && "get" in i && null !== (r = i.get(e, t)) ? r : e[t] 3107 ); 3108 }, 3109 propHooks: { 3110 tabIndex: { 3111 get: function (e) { 3112 var t = k.find.attr(e, "tabindex"); 3113 return t ? parseInt(t, 10) : gt.test(e.nodeName) || (vt.test(e.nodeName) && e.href) ? 0 : -1; 3114 }, 3115 }, 3116 }, 3117 propFix: { for: "htmlFor", class: "className" }, 3118 }), 3119 g.optSelected || 3120 (k.propHooks.selected = { 3121 get: function (e) { 3122 var t = e.parentNode; 3123 return t && t.parentNode && t.parentNode.selectedIndex, null; 3124 }, 3125 set: function (e) { 3126 var t = e.parentNode; 3127 t && (t.selectedIndex, t.parentNode && t.parentNode.selectedIndex); 3128 }, 3129 }), 3130 k.each(["tabIndex", "readOnly", "maxLength", "cellSpacing", "cellPadding", "rowSpan", "colSpan", "useMap", "frameBorder", "contentEditable"], function () { 3131 k.propFix[this.toLowerCase()] = this; 3132 }), 3133 k.fn.extend({ 3134 addClass: function (e) { 3135 var t, 3136 n, 3137 r, 3138 i, 3139 o, 3140 a, 3141 s, 3142 u = 0; 3143 if (v(e)) 3144 return this.each(function (t) { 3145 k(this).addClass(e.call(this, t, bt(this))); 3146 }); 3147 if ((t = wt(e)).length) 3148 for (; (n = this[u++]); ) 3149 if (((i = bt(n)), (r = 1 === n.nodeType && " " + yt(i) + " "))) { 3150 for (a = 0; (o = t[a++]); ) r.indexOf(" " + o + " ") < 0 && (r += o + " "); 3151 i !== (s = yt(r)) && n.setAttribute("class", s); 3152 } 3153 return this; 3154 }, 3155 removeClass: function (e) { 3156 var t, 3157 n, 3158 r, 3159 i, 3160 o, 3161 a, 3162 s, 3163 u = 0; 3164 if (v(e)) 3165 return this.each(function (t) { 3166 k(this).removeClass(e.call(this, t, bt(this))); 3167 }); 3168 if (!arguments.length) return this.attr("class", ""); 3169 if ((t = wt(e)).length) 3170 for (; (n = this[u++]); ) 3171 if (((i = bt(n)), (r = 1 === n.nodeType && " " + yt(i) + " "))) { 3172 for (a = 0; (o = t[a++]); ) for (; r.indexOf(" " + o + " ") > -1; ) r = r.replace(" " + o + " ", " "); 3173 i !== (s = yt(r)) && n.setAttribute("class", s); 3174 } 3175 return this; 3176 }, 3177 toggleClass: function (e, t) { 3178 var n = typeof e, 3179 r = "string" === n || Array.isArray(e); 3180 return "boolean" == typeof t && r 3181 ? t 3182 ? this.addClass(e) 3183 : this.removeClass(e) 3184 : v(e) 3185 ? this.each(function (n) { 3186 k(this).toggleClass(e.call(this, n, bt(this), t), t); 3187 }) 3188 : this.each(function () { 3189 var t, i, o, a; 3190 if (r) for (i = 0, o = k(this), a = wt(e); (t = a[i++]); ) o.hasClass(t) ? o.removeClass(t) : o.addClass(t); 3191 else (void 0 !== e && "boolean" !== n) || ((t = bt(this)) && G.set(this, "__className__", t), this.setAttribute && this.setAttribute("class", t || !1 === e ? "" : G.get(this, "__className__") || "")); 3192 }); 3193 }, 3194 hasClass: function (e) { 3195 var t, 3196 n, 3197 r = 0; 3198 for (t = " " + e + " "; (n = this[r++]); ) if (1 === n.nodeType && (" " + yt(bt(n)) + " ").indexOf(t) > -1) return !0; 3199 return !1; 3200 }, 3201 }); 3202 var xt = /\r/g; 3203 k.fn.extend({ 3204 val: function (e) { 3205 var t, 3206 n, 3207 r, 3208 i = this[0]; 3209 return arguments.length 3210 ? ((r = v(e)), 3211 this.each(function (n) { 3212 var i; 3213 1 === this.nodeType && 3214 (null == (i = r ? e.call(this, n, k(this).val()) : e) 3215 ? (i = "") 3216 : "number" == typeof i 3217 ? (i += "") 3218 : Array.isArray(i) && 3219 (i = k.map(i, function (e) { 3220 return null == e ? "" : e + ""; 3221 })), 3222 ((t = k.valHooks[this.type] || k.valHooks[this.nodeName.toLowerCase()]) && "set" in t && void 0 !== t.set(this, i, "value")) || (this.value = i)); 3223 })) 3224 : i 3225 ? (t = k.valHooks[i.type] || k.valHooks[i.nodeName.toLowerCase()]) && "get" in t && void 0 !== (n = t.get(i, "value")) 3226 ? n 3227 : "string" == typeof (n = i.value) 3228 ? n.replace(xt, "") 3229 : null == n 3230 ? "" 3231 : n 3232 : void 0; 3233 }, 3234 }), 3235 k.extend({ 3236 valHooks: { 3237 option: { 3238 get: function (e) { 3239 var t = k.find.attr(e, "value"); 3240 return null != t ? t : yt(k.text(e)); 3241 }, 3242 }, 3243 select: { 3244 get: function (e) { 3245 var t, 3246 n, 3247 r, 3248 i = e.options, 3249 o = e.selectedIndex, 3250 a = "select-one" === e.type, 3251 s = a ? null : [], 3252 u = a ? o + 1 : i.length; 3253 for (r = o < 0 ? u : a ? o : 0; r < u; r++) 3254 if (((n = i[r]).selected || r === o) && !n.disabled && (!n.parentNode.disabled || !O(n.parentNode, "optgroup"))) { 3255 if (((t = k(n).val()), a)) return t; 3256 s.push(t); 3257 } 3258 return s; 3259 }, 3260 set: function (e, t) { 3261 for (var n, r, i = e.options, o = k.makeArray(t), a = i.length; a--; ) ((r = i[a]).selected = k.inArray(k.valHooks.option.get(r), o) > -1) && (n = !0); 3262 return n || (e.selectedIndex = -1), o; 3263 }, 3264 }, 3265 }, 3266 }), 3267 k.each(["radio", "checkbox"], function () { 3268 (k.valHooks[this] = { 3269 set: function (e, t) { 3270 if (Array.isArray(t)) return (e.checked = k.inArray(k(e).val(), t) > -1); 3271 }, 3272 }), 3273 g.checkOn || 3274 (k.valHooks[this].get = function (e) { 3275 return null === e.getAttribute("value") ? "on" : e.value; 3276 }); 3277 }), 3278 (g.focusin = "onfocusin" in n); 3279 var Tt = /^(?:focusinfocus|focusoutblur)$/, 3280 kt = function (e) { 3281 e.stopPropagation(); 3282 }; 3283 k.extend(k.event, { 3284 trigger: function (e, t, r, i) { 3285 var o, 3286 a, 3287 s, 3288 u, 3289 l, 3290 c, 3291 d, 3292 f, 3293 p = [r || b], 3294 m = h.call(e, "type") ? e.type : e, 3295 g = h.call(e, "namespace") ? e.namespace.split(".") : []; 3296 if ( 3297 ((a = f = s = r = r || b), 3298 3 !== r.nodeType && 3299 8 !== r.nodeType && 3300 !Tt.test(m + k.event.triggered) && 3301 (m.indexOf(".") > -1 && ((g = m.split(".")), (m = g.shift()), g.sort()),
3302 (l = m.indexOf(":") < 0 && "on" + m), 3303 ((e = e[k.expando] ? e : new k.Event(m, "object" == typeof e && e)).isTrigger = i ? 2 : 3), 3304 (e.namespace = g.join(".")), 3305 (e.rnamespace = e.namespace ? new RegExp("(^|\\.)" + g.join("\\.(?:.*\\.|)") + "(\\.|$)") : null), 3306 (e.result = void 0), 3307 e.target || (e.target = r), 3308 (t = null == t ? [e] : k.makeArray(t, [e])), 3309 (d = k.event.special[m] || {}), 3310 i || !d.trigger || !1 !== d.trigger.apply(r, t))) 3311 ) { 3312 if (!i && !d.noBubble && !y(r)) { 3313 for (u = d.delegateType || m, Tt.test(u + m) || (a = a.parentNode); a; a = a.parentNode) p.push(a), (s = a); 3314 s === (r.ownerDocument || b) && p.push(s.defaultView || s.parentWindow || n); 3315 } 3316 for (o = 0; (a = p[o++]) && !e.isPropagationStopped(); ) 3317 (f = a), 3318 (e.type = o > 1 ? u : d.bindType || m), 3319 (c = (G.get(a, "events") || Object.create(null))[e.type] && G.get(a, "handle")) && c.apply(a, t), 3320 (c = l && a[l]) && c.apply && J(a) && ((e.result = c.apply(a, t)), !1 === e.result && e.preventDefault()); 3321 return ( 3322 (e.type = m), 3323 i || 3324 e.isDefaultPrevented() || 3325 (d._default && !1 !== d._default.apply(p.pop(), t)) || 3326 !J(r) || 3327 (l && 3328 v(r[m]) && 3329 !y(r) && 3330 ((s = r[l]) && (r[l] = null),
3331 (k.event.triggered = m), 3332 e.isPropagationStopped() && f.addEventListener(m, kt), 3333 r[m](), 3334 e.isPropagationStopped() && f.removeEventListener(m, kt), 3335 (k.event.triggered = void 0), 3336 s && (r[l] = s))), 3337 e.result 3338 ); 3339 } 3340 }, 3341 simulate: function (e, t, n) { 3342 var r = k.extend(new k.Event(), n, { type: e, isSimulated: !0 }); 3343 k.event.trigger(r, null, t); 3344 }, 3345 }), 3346 k.fn.extend({ 3347 trigger: function (e, t) { 3348 return this.each(function () { 3349 k.event.trigger(e, t, this); 3350 }); 3351 }, 3352 triggerHandler: function (e, t) { 3353 var n = this[0]; 3354 if (n) return k.event.trigger(e, t, n, !0); 3355 }, 3356 }), 3357 g.focusin || 3358 k.each({ focus: "focusin", blur: "focusout" }, function (e, t) { 3359 var n = function (e) { 3360 k.event.simulate(t, e.target, k.event.fix(e)); 3361 }; 3362 k.event.special[t] = { 3363 setup: function () { 3364 var r = this.ownerDocument || this.document || this, 3365 i = G.access(r, t); 3366 i || r.addEventListener(e, n, !0), G.access(r, t, (i || 0) + 1); 3367 }, 3368 teardown: function () { 3369 var r = this.ownerDocument || this.document || this, 3370 i = G.access(r, t) - 1; 3371 i ? G.access(r, t, i) : (r.removeEventListener(e, n, !0), G.remove(r, t)); 3372 }, 3373 }; 3374 }); 3375 var St = n.location, 3376 Et = { guid: Date.now() }, 3377 Ct = /\?/; 3378 k.parseXML = function (e) { 3379 var t; 3380 if (!e || "string" != typeof e) return null; 3381 try { 3382 t = new n.DOMParser().parseFromString(e, "text/xml"); 3383 } catch (e) { 3384 t = void 0; 3385 } 3386 return (t && !t.getElementsByTagName("parsererror").length) || k.error("Invalid XML: " + e), t; 3387 }; 3388 var Dt = /\[\]$/, 3389 jt = /\r?\n/g, 3390 Ot = /^(?:submit|button|image|reset|file)$/i, 3391 _t = /^(?:input|select|textarea|keygen)/i; 3392 function Nt(e, t, n, r) { 3393 var i; 3394 if (Array.isArray(t)) 3395 k.each(t, function (t, i) { 3396 n || Dt.test(e) ? r(e, i) : Nt(e + "[" + ("object" == typeof i && null != i ? t : "") + "]", i, n, r); 3397 }); 3398 else if (n || "object" !== T(t)) r(e, t); 3399 else for (i in t) Nt(e + "[" + i + "]", t[i], n, r); 3400 } 3401 (k.param = function (e, t) { 3402 var n, 3403 r = [], 3404 i = function (e, t) { 3405 var n = v(t) ? t() : t; 3406 r[r.length] = encodeURIComponent(e) + "=" + encodeURIComponent(null == n ? "" : n); 3407 }; 3408 if (null == e) return ""; 3409 if (Array.isArray(e) || (e.jquery && !k.isPlainObject(e))) 3410 k.each(e, function () { 3411 i(this.name, this.value); 3412 }); 3413 else for (n in e) Nt(n, e[n], t, i); 3414 return r.join("&"); 3415 }), 3416 k.fn.extend({ 3417 serialize: function () { 3418 return k.param(this.serializeArray()); 3419 }, 3420 serializeArray: function () { 3421 return this.map(function () { 3422 var e = k.prop(this, "elements"); 3423 return e ? k.makeArray(e) : this; 3424 }) 3425 .filter(function () { 3426 var e = this.type; 3427 return this.name && !k(this).is(":disabled") && _t.test(this.nodeName) && !Ot.test(e) && (this.checked || !me.test(e)); 3428 }) 3429 .map(function (e, t) { 3430 var n = k(this).val(); 3431 return null == n 3432 ? null 3433 : Array.isArray(n) 3434 ? k.map(n, function (e) { 3435 return { name: t.name, value: e.replace(jt, "\r\n") }; 3436 }) 3437 : { name: t.name, value: n.replace(jt, "\r\n") }; 3438 }) 3439 .get(); 3440 }, 3441 }); 3442 var At = /%20/g, 3443 Lt = /#.*$/, 3444 Mt = /([?&])_=[^&]*/, 3445 It = /^(.*?):[ \t]*([^\r\n]*)$/gm, 3446 $t = /^(?:GET|HEAD)$/, 3447 qt = /^\/\//, 3448 Pt = {}, 3449 Ht = {}, 3450 Ft = "*/".concat("*"), 3451 zt = b.createElement("a"); 3452 function Rt(e) { 3453 return function (t, n) { 3454 "string" != typeof t && ((n = t), (t = "*")); 3455 var r, 3456 i = 0, 3457 o = t.toLowerCase().match(q) || []; 3458 if (v(n)) for (; (r = o[i++]); ) "+" === r[0] ? ((r = r.slice(1) || "*"), (e[r] = e[r] || []).unshift(n)) : (e[r] = e[r] || []).push(n); 3459 }; 3460 } 3461 function Vt(e, t, n, r) { 3462 var i = {}, 3463 o = e === Ht; 3464 function a(s) { 3465 var u; 3466 return ( 3467 (i[s] = !0), 3468 k.each(e[s] || [], function (e, s) { 3469 var l = s(t, n, r); 3470 return "string" != typeof l || o || i[l] ? (o ? !(u = l) : void 0) : (t.dataTypes.unshift(l), a(l), !1); 3471 }), 3472 u 3473 ); 3474 } 3475 return a(t.dataTypes[0]) || (!i["*"] && a("*")); 3476 } 3477 function Wt(e, t) { 3478 var n, 3479 r, 3480 i = k.ajaxSettings.flatOptions || {}; 3481 for (n in t) void 0 !== t[n] && ((i[n] ? e : r || (r = {}))[n] = t[n]); 3482 return r && k.extend(!0, e, r), e; 3483 } 3484 (zt.href = St.href), 3485 k.extend({ 3486 active: 0, 3487 lastModified: {}, 3488 etag: {}, 3489 ajaxSettings: { 3490 url: St.href, 3491 type: "GET", 3492 isLocal: /^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(St.protocol), 3493 global: !0, 3494 processData: !0, 3495 async: !0, 3496 contentType: "application/x-www-form-urlencoded; charset=UTF-8", 3497 accepts: { "*": Ft, text: "text/plain", html: "text/html", xml: "application/xml, text/xml", json: "application/json, text/javascript" }, 3498 contents: { xml: /\bxml\b/, html: /\bhtml/, json: /\bjson\b/ }, 3499 responseFields: { xml: "responseXML", text: "responseText", json: "responseJSON" }, 3500 converters: { "* text": String, "text html": !0, "text json": JSON.parse, "text xml": k.parseXML }, 3501 flatOptions: { url: !0, context: !0 },
3502 }, 3503 ajaxSetup: function (e, t) { 3504 return t ? Wt(Wt(e, k.ajaxSettings), t) : Wt(k.ajaxSettings, e); 3505 }, 3506 ajaxPrefilter: Rt(Pt), 3507 ajaxTransport: Rt(Ht), 3508 ajax: function (e, t) { 3509 "object" == typeof e && ((t = e), (e = void 0)), (t = t || {}); 3510 var r, 3511 i, 3512 o, 3513 a, 3514 s, 3515 u, 3516 l, 3517 c, 3518 d, 3519 f, 3520 h = k.ajaxSetup({}, t), 3521 p = h.context || h, 3522 m = h.context && (p.nodeType || p.jquery) ? k(p) : k.event, 3523 g = k.Deferred(), 3524 v = k.Callbacks("once memory"), 3525 y = h.statusCode || {}, 3526 w = {}, 3527 x = {}, 3528 T = "canceled", 3529 S = { 3530 readyState: 0, 3531 getResponseHeader: function (e) { 3532 var t; 3533 if (l) { 3534 if (!a) for (a = {}; (t = It.exec(o)); ) a[t[1].toLowerCase() + " "] = (a[t[1].toLowerCase() + " "] || []).concat(t[2]); 3535 t = a[e.toLowerCase() + " "]; 3536 } 3537 return null == t ? null : t.join(", "); 3538 }, 3539 getAllResponseHeaders: function () { 3540 return l ? o : null; 3541 }, 3542 setRequestHeader: function (e, t) { 3543 return null == l && ((e = x[e.toLowerCase()] = x[e.toLowerCase()] || e), (w[e] = t)), this; 3544 }, 3545 overrideMimeType: function (e) { 3546 return null == l && (h.mimeType = e), this; 3547 }, 3548 statusCode: function (e) { 3549 var t; 3550 if (e) 3551 if (l) S.always(e[S.status]); 3552 else for (t in e) y[t] = [y[t], e[t]]; 3553 return this; 3554 }, 3555 abort: function (e) { 3556 var t = e || T; 3557 return r && r.abort(t), E(0, t), this; 3558 }, 3559 }; 3560 if ( 3561 (g.promise(S), 3562 (h.url = ((e || h.url || St.href) + "").replace(qt, St.protocol + "//")), 3563 (h.type = t.method || t.type || h.method || h.type), 3564 (h.dataTypes = (h.dataType || "*").toLowerCase().match(q) || [""]), 3565 null == h.crossDomain) 3566 ) { 3567 u = b.createElement("a"); 3568 try { 3569 (u.href = h.url), (u.href = u.href), (h.crossDomain = zt.protocol + "//" + zt.host != u.protocol + "//" + u.host); 3570 } catch (e) { 3571 h.crossDomain = !0; 3572 } 3573 } 3574 if ((h.data && h.processData && "string" != typeof h.data && (h.data = k.param(h.data, h.traditional)), Vt(Pt, h, t, S), l)) return S; 3575 for (d in ((c = k.event && h.global) && 0 == k.active++ && k.event.trigger("ajaxStart"), 3576 (h.type = h.type.toUpperCase()), 3577 (h.hasContent = !$t.test(h.type)), 3578 (i = h.url.replace(Lt, "")), 3579 h.hasContent 3580 ? h.data && h.processData && 0 === (h.contentType || "").indexOf("application/x-www-form-urlencoded") && (h.data = h.data.replace(At, "+")) 3581 : ((f = h.url.slice(i.length)), 3582 h.data && (h.processData || "string" == typeof h.data) && ((i += (Ct.test(i) ? "&" : "?") + h.data), delete h.data), 3583 !1 === h.cache && ((i = i.replace(Mt, "$1")), (f = (Ct.test(i) ? "&" : "?") + "_=" + Et.guid++ + f)), 3584 (h.url = i + f)), 3585 h.ifModified && (k.lastModified[i] && S.setRequestHeader("If-Modified-Since", k.lastModified[i]), k.etag[i] && S.setRequestHeader("If-None-Match", k.etag[i])), 3586 ((h.data && h.hasContent && !1 !== h.contentType) || t.contentType) && S.setRequestHeader("Content-Type", h.contentType), 3587 S.setRequestHeader("Accept", h.dataTypes[0] && h.accepts[h.dataTypes[0]] ? h.accepts[h.dataTypes[0]] + ("*" !== h.dataTypes[0] ? ", " + Ft + "; q=0.01" : "") : h.accepts["*"]), 3588 h.headers)) 3589 S.setRequestHeader(d, h.headers[d]); 3590 if (h.beforeSend && (!1 === h.beforeSend.call(p, S, h) || l)) return S.abort(); 3591 if (((T = "abort"), v.add(h.complete), S.done(h.success), S.fail(h.error), (r = Vt(Ht, h, t, S)))) { 3592 if (((S.readyState = 1), c && m.trigger("ajaxSend", [S, h]), l)) return S; 3593 h.async && 3594 h.timeout > 0 && 3595 (s = n.setTimeout(function () { 3596 S.abort("timeout"); 3597 }, h.timeout)); 3598 try { 3599 (l = !1), r.send(w, E); 3600 } catch (e) { 3601 if (l) throw e; 3602 E(-1, e); 3603 } 3604 } else E(-1, "No Transport"); 3605 function E(e, t, a, u) { 3606 var d, 3607 f, 3608 b, 3609 w, 3610 x, 3611 T = t; 3612 l || 3613 ((l = !0), 3614 s && n.clearTimeout(s), 3615 (r = void 0), 3616 (o = u || ""), 3617 (S.readyState = e > 0 ? 4 : 0), 3618 (d = (e >= 200 && e < 300) || 304 === e), 3619 a && 3620 (w = (function (e, t, n) { 3621 for (var r, i, o, a, s = e.contents, u = e.dataTypes; "*" === u[0]; ) u.shift(), void 0 === r && (r = e.mimeType || t.getResponseHeader("Content-Type")); 3622 if (r) 3623 for (i in s) 3624 if (s[i] && s[i].test(r)) { 3625 u.unshift(i); 3626 break; 3627 } 3628 if (u[0] in n) o = u[0]; 3629 else { 3630 for (i in n) { 3631 if (!u[0] || e.converters[i + " " + u[0]]) { 3632 o = i; 3633 break; 3634 } 3635 a || (a = i); 3636 } 3637 o = o || a; 3638 } 3639 if (o) return o !== u[0] && u.unshift(o), n[o]; 3640 })(h, S, a)), 3641 !d && k.inArray("script", h.dataTypes) > -1 && (h.converters["text script"] = function () {}), 3642 (w = (function (e, t, n, r) { 3643 var i, 3644 o, 3645 a, 3646 s, 3647 u, 3648 l = {}, 3649 c = e.dataTypes.slice(); 3650 if (c[1]) for (a in e.converters) l[a.toLowerCase()] = e.converters[a]; 3651 for (o = c.shift(); o; ) 3652 if ((e.responseFields[o] && (n[e.responseFields[o]] = t), !u && r && e.dataFilter && (t = e.dataFilter(t, e.dataType)), (u = o), (o = c.shift()))) 3653 if ("*" === o) o = u; 3654 else if ("*" !== u && u !== o) { 3655 if (!(a = l[u + " " + o] || l["* " + o])) 3656 for (i in l) 3657 if ((s = i.split(" "))[1] === o && (a = l[u + " " + s[0]] || l["* " + s[0]])) { 3658 !0 === a ? (a = l[i]) : !0 !== l[i] && ((o = s[0]), c.unshift(s[1])); 3659 break; 3660 } 3661 if (!0 !== a) 3662 if (a && e.throws) t = a(t); 3663 else 3664 try { 3665 t = a(t); 3666 } catch (e) { 3667 return { state: "parsererror", error: a ? e : "No conversion from " + u + " to " + o }; 3668 } 3669 } 3670 return { state: "success", data: t }; 3671 })(h, w, S, d)), 3672 d 3673 ? (h.ifModified && ((x = S.getResponseHeader("Last-Modified")) && (k.lastModified[i] = x), (x = S.getResponseHeader("etag")) && (k.etag[i] = x)), 3674 204 === e || "HEAD" === h.type ? (T = "nocontent") : 304 === e ? (T = "notmodified") : ((T = w.state), (f = w.data), (d = !(b = w.error)))) 3675 : ((b = T), (!e && T) || ((T = "error"), e < 0 && (e = 0))), 3676 (S.status = e), 3677 (S.statusText = (t || T) + ""), 3678 d ? g.resolveWith(p, [f, T, S]) : g.rejectWith(p, [S, T, b]), 3679 S.statusCode(y), 3680 (y = void 0), 3681 c && m.trigger(d ? "ajaxSuccess" : "ajaxError", [S, h, d ? f : b]), 3682 v.fireWith(p, [S, T]), 3683 c && (m.trigger("ajaxComplete", [S, h]), --k.active || k.event.trigger("ajaxStop"))); 3684 } 3685 return S; 3686 }, 3687 getJSON: function (e, t, n) { 3688 return k.get(e, t, n, "json"); 3689 }, 3690 getScript: function (e, t) { 3691 return k.get(e, void 0, t, "script"); 3692 }, 3693 }), 3694k.each(["get", "post"], function (e, t) { 3695 k[t] = function (e, n, r, i) { 3696 return v(n) && ((i = i || r), (r = n), (n = void 0)), k.ajax(k.extend({ url: e, type: t, dataType: i, data: n, success: r }, k.isPlainObject(e) && e)); 3697 }; 3698}), 3699k.ajaxPrefilter(function (e) { 3700 var t; 3701 for (t in e.headers) "content-type" === t.toLowerCase() && (e.contentType = e.headers[t] || ""); 3702}), 3703(k._evalUrl = function (e, t, n) { 3704 return k.ajax({ 3705 url: e, 3706 type: "GET", 3707 dataType: "script", 3708 cache: !0, 3709 async: !1, 3710 global: !1, 3711 converters: { "text script": function () {} }, 3712 dataFilter: function (e) { 3713 k.globalEval(e, t, n); 3714 }, 3715 }); 3716}), 3717k.fn.extend({ 3718 wrapAll: function (e) { 3719 var t; 3720 return ( 3721 this[0] && 3722 (v(e) && (e = e.call(this[0])), 3723 (t = k(e, this[0].ownerDocument).eq(0).clone(!0)), 3724 this[0].parentNode && t.insertBefore(this[0]), 3725 t 3726 .map(function () { 3727 for (var e = this; e.firstElementChild; ) e = e.firstElementChild; 3728 return e; 3729 }) 3730 .append(this)), 3731 this 3732 ); 3733 }, 3734 wrapInner: function (e) { 3735 return v(e) 3736 ? this.each(function (t) { 3737 k(this).wrapInner(e.call(this, t)); 3738 }) 3739 : this.each(function () { 3740 var t = k(this), 3741 n = t.contents(); 3742 n.length ? n.wrapAll(e) : t.append(e); 3743 }); 3744 }, 3745 wrap: function (e) { 3746 var t = v(e); 3747 return this.each(function (n) { 3748 k(this).wrapAll(t ? e.call(this, n) : e); 3749 }); 3750 }, 3751 unwrap: function (e) { 3752 return ( 3753 this.parent(e) 3754 .not("body") 3755 .each(function () { 3756 k(this).replaceWith(this.childNodes); 3757 }), 3758 this 3759 ); 3760 }, 3761}), 3762(k.expr.pseudos.hidden = function (e) { 3763 return !k.expr.pseudos.visible(e); 3764}), 3765(k.expr.pseudos.visible = function (e) { 3766 return !!(e.offsetWidth || e.offsetHeight || e.getClientRects().length); 3767}), 3768(k.ajaxSettings.xhr = function () { 3769 try { 3770 return new n.XMLHttpRequest(); 3771 } catch (e) {} 3772}); 3773var Ut = { 0: 200, 1223: 204 }, 3774Bt = k.ajaxSettings.xhr(); 3775(g.cors = !!Bt && "withCredentials" in Bt), 3776(g.ajax = Bt = !!Bt), 3777k.ajaxTransport(function (e) { 3778 var t, r; 3779 if (g.cors || (Bt && !e.crossDomain)) 3780 return { 3781 send: function (i, o) { 3782 var a, 3783 s = e.xhr(); 3784 if ((s.open(e.type, e.url, e.async, e.username, e.password), e.xhrFields)) for (a in e.xhrFields) s[a] = e.xhrFields[a]; 3785 for (a in (e.mimeType && s.overrideMimeType && s.overrideMimeType(e.mimeType), e.crossDomain || i["X-Requested-With"] || (i["X-Requested-With"] = "XMLHttpRequest"), i)) s.setRequestHeader(a, i[a]); 3786 (t = function (e) { 3787 return function () { 3788 t && 3789 ((t = r = s.onload = s.onerror = s.onabort = s.ontimeout = s.onreadystatechange = null),
3790 "abort" === e 3791 ? s.abort() 3792 : "error" === e 3793 ? "number" != typeof s.status 3794 ? o(0, "error") 3795 : o(s.status, s.statusText) 3796 : o( 3797 Ut[s.status] || s.status, 3798 s.statusText, 3799 "text" !== (s.responseType || "text") || "string" != typeof s.responseText ? { binary: s.response } : { text: s.responseText }, 3800 s.getAllResponseHeaders() 3801 )); 3802 }; 3803 }), 3804 (s.onload = t()), 3805 (r = s.onerror = s.ontimeout = t("error")), 3806 void 0 !== s.onabort 3807 ? (s.onabort = r) 3808 : (s.onreadystatechange = function () { 3809 4 === s.readyState && 3810 n.setTimeout(function () { 3811 t && r(); 3812 }); 3813 }), 3814 (t = t("abort")); 3815 try { 3816 s.send((e.hasContent && e.data) || null); 3817 } catch (e) { 3818 if (t) throw e; 3819 } 3820 }, 3821 abort: function () { 3822 t && t(); 3823 }, 3824 }; 3825 }), 3826k.ajaxPrefilter(function (e) { 3827 e.crossDomain && (e.contents.script = !1); 3828}), 3829k.ajaxSetup({ 3830 accepts: { script: "text/javascript, application/javascript, application/ecmascript, application/x-ecmascript" }, 3831 contents: { script: /\b(?:java|ecma)script\b/ }, 3832 converters: { 3833 "text script": function (e) { 3834 return k.globalEval(e), e; 3835 }, 3836 }, 3837}), 3838k.ajaxPrefilter("script", function (e) { 3839 void 0 === e.cache && (e.cache = !1), e.crossDomain && (e.type = "GET"); 3840}), 3841k.ajaxTransport("script", function (e) { 3842 var t, n; 3843 if (e.crossDomain || e.scriptAttrs) 3844 return { 3845 send: function (r, i) { 3846 (t = k("<script>") 3847 .attr(e.scriptAttrs || {}) 3848 .prop({ charset: e.scriptCharset, src: e.url }) 3849 .on( 3850 "load error", 3851 (n = function (e) { 3852 t.remove(), (n = null), e && i("error" === e.type ? 404 : 200, e.type); 3853 }) 3854 )), 3855 b.head.appendChild(t[0]); 3856 }, 3857 abort: function () { 3858 n && n(); 3859 }, 3860 }; 3861 }); 3862var Qt, 3863Zt = [], 3864Jt = /(=)\?(?=&|$)|\?\?/; 3865k.ajaxSetup({ 3866 jsonp: "callback", 3867 jsonpCallback: function () { 3868 var e = Zt.pop() || k.expando + "_" + Et.guid++; 3869 return (this[e] = !0), e; 3870 }, 3871}), 3872k.ajaxPrefilter("json jsonp", function (e, t, r) { 3873 var i, 3874 o, 3875 a, 3876 s = !1 !== e.jsonp && (Jt.test(e.url) ? "url" : "string" == typeof e.data && 0 === (e.contentType || "").indexOf("application/x-www-form-urlencoded") && Jt.test(e.data) && "data"); 3877 if (s || "jsonp" === e.dataTypes[0]) 3878 return ( 3879 (i = e.jsonpCallback = v(e.jsonpCallback) ? e.jsonpCallback() : e.jsonpCallback), 3880 s ? (e[s] = e[s].replace(Jt, "$1" + i)) : !1 !== e.jsonp && (e.url += (Ct.test(e.url) ? "&" : "?") + e.jsonp + "=" + i), 3881 (e.converters["script json"] = function () { 3882 return a || k.error(i + " was not called"), a[0]; 3883 }), 3884 (e.dataTypes[0] = "json"), 3885 (o = n[i]), 3886 (n[i] = function () { 3887 a = arguments; 3888 }), 3889 r.always(function () { 3890 void 0 === o ? k(n).removeProp(i) : (n[i] = o), e[i] && ((e.jsonpCallback = t.jsonpCallback), Zt.push(i)), a && v(o) && o(a[0]), (a = o = void 0); 3891 }), 3892 "script" 3893 ); 3894}), 3895(g.createHTMLDocument = (((Qt = b.implementation.createHTMLDocument("").body).innerHTML = "<form></form><form></form>"), 2 === Qt.childNodes.length)), 3896(k.parseHTML = function (e, t, n) { 3897 return "string" != typeof e 3898 ? [] 3899 : ("boolean" == typeof t && ((n = t), (t = !1)), 3900 t || (g.createHTMLDocument ? (((r = (t = b.implementation.createHTMLDocument("")).createElement("base")).href = b.location.href), t.head.appendChild(r)) : (t = b)), 3901 (o = !n && []), 3902 (i = _.exec(e)) ? [t.createElement(i[1])] : ((i = Te([e], t, o)), o && o.length && k(o).remove(), k.merge([], i.childNodes))); 3903 var r, i, o; 3904}), 3905(k.fn.load = function (e, t, n) { 3906 var r, 3907 i, 3908 o, 3909 a = this, 3910 s = e.indexOf(" "); 3911 return ( 3912 s > -1 && ((r = yt(e.slice(s))), (e = e.slice(0, s))), 3913 v(t) ? ((n = t), (t = void 0)) : t && "object" == typeof t && (i = "POST"), 3914 a.length > 0 && 3915 k 3916 .ajax({ url: e, type: i || "GET", dataType: "html", data: t }) 3917 .done(function (e) { 3918 (o = arguments), a.html(r ? k("<div>").append(k.parseHTML(e)).find(r) : e); 3919 }) 3920 .always( 3921 n && 3922 function (e, t) { 3923 a.each(function () { 3924 n.apply(this, o || [e.responseText, t, e]); 3925 }); 3926 } 3927 ), 3928 this 3929 ); 3930}), 3931(k.expr.pseudos.animated = function (e) { 3932 return k.grep(k.timers, function (t) { 3933 return e === t.elem; 3934 }).length; 3935}), 3936(k.offset = { 3937 setOffset: function (e, t, n) { 3938 var r, 3939 i, 3940 o, 3941 a, 3942 s, 3943 u, 3944 l = k.css(e, "position"), 3945 c = k(e), 3946 d = {}; 3947 "static" === l && (e.style.position = "relative"), 3948 (s = c.offset()), 3949 (o = k.css(e, "top")), 3950 (u = k.css(e, "left")),
3951 ("absolute" === l || "fixed" === l) && (o + u).indexOf("auto") > -1 ? ((a = (r = c.position()).top), (i = r.left)) : ((a = parseFloat(o) || 0), (i = parseFloat(u) || 0)), 3952 v(t) && (t = t.call(e, n, k.extend({}, s))), 3953 null != t.top && (d.top = t.top - s.top + a), 3954 null != t.left && (d.left = t.left - s.left + i), 3955 "using" in t ? t.using.call(e, d) : ("number" == typeof d.top && (d.top += "px"), "number" == typeof d.left && (d.left += "px"), c.css(d)); 3956 }, 3957}), 3958k.fn.extend({ 3959 offset: function (e) { 3960 if (arguments.length) 3961 return void 0 === e 3962 ? this 3963 : this.each(function (t) { 3964 k.offset.setOffset(this, e, t); 3965 }); 3966 var t, 3967 n, 3968 r = this[0]; 3969 return r ? (r.getClientRects().length ? ((t = r.getBoundingClientRect()), (n = r.ownerDocument.defaultView), { top: t.top + n.pageYOffset, left: t.left + n.pageXOffset }) : { top: 0, left: 0 }) : void 0; 3970 }, 3971 position: function () { 3972 if (this[0]) { 3973 var e, 3974 t, 3975 n, 3976 r = this[0], 3977 i = { top: 0, left: 0 }; 3978 if ("fixed" === k.css(r, "position")) t = r.getBoundingClientRect(); 3979 else { 3980 for (t = this.offset(), n = r.ownerDocument, e = r.offsetParent || n.documentElement; e && (e === n.body || e === n.documentElement) && "static" === k.css(e, "position"); ) e = e.parentNode; 3981 e && e !== r && 1 === e.nodeType && (((i = k(e).offset()).top += k.css(e, "borderTopWidth", !0)), (i.left += k.css(e, "borderLeftWidth", !0))); 3982 } 3983 return { top: t.top - i.top - k.css(r, "marginTop", !0), left: t.left - i.left - k.css(r, "marginLeft", !0) }; 3984 } 3985 }, 3986 offsetParent: function () { 3987 return this.map(function () { 3988 for (var e = this.offsetParent; e && "static" === k.css(e, "position"); ) e = e.offsetParent; 3989 return e || oe; 3990 }); 3991 }, 3992}), 3993k.each({ scrollLeft: "pageXOffset", scrollTop: "pageYOffset" }, function (e, t) { 3994 var n = "pageYOffset" === t; 3995 k.fn[e] = function (r) { 3996 return W( 3997 this, 3998 function (e, r, i) { 3999 var o;
4000 if ((y(e) ? (o = e) : 9 === e.nodeType && (o = e.defaultView), void 0 === i)) return o ? o[t] : e[r]; 4001 o ? o.scrollTo(n ? o.pageXOffset : i, n ? i : o.pageYOffset) : (e[r] = i); 4002 }, 4003 e, 4004 r, 4005 arguments.length 4006 ); 4007 }; 4008}), 4009k.each(["top", "left"], function (e, t) { 4010 k.cssHooks[t] = Be(g.pixelPosition, function (e, n) { 4011 if (n) return (n = Ue(e, t)), ze.test(n) ? k(e).position()[t] + "px" : n; 4012 }); 4013}), 4014k.each({ Height: "height", Width: "width" }, function (e, t) { 4015 k.each({ padding: "inner" + e, content: t, "": "outer" + e }, function (n, r) { 4016 k.fn[r] = function (i, o) { 4017 var a = arguments.length && (n || "boolean" != typeof i), 4018 s = n || (!0 === i || !0 === o ? "margin" : "border"); 4019 return W( 4020 this, 4021 function (t, n, i) { 4022 var o; 4023 return y(t) 4024 ? 0 === r.indexOf("outer") 4025 ? t["inner" + e] 4026 : t.document.documentElement["client" + e] 4027 : 9 === t.nodeType 4028 ? ((o = t.documentElement), Math.max(t.body["scroll" + e], o["scroll" + e], t.body["offset" + e], o["offset" + e], o["client" + e])) 4029 : void 0 === i 4030 ? k.css(t, n, s) 4031 : k.style(t, n, i, s); 4032 }, 4033 t, 4034 a ? i : void 0, 4035 a 4036 ); 4037 }; 4038 }); 4039}), 4040k.each(["ajaxStart", "ajaxStop", "ajaxComplete", "ajaxError", "ajaxSuccess", "ajaxSend"], function (e, t) { 4041 k.fn[t] = function (e) { 4042 return this.on(t, e); 4043 }; 4044}), 4045k.fn.extend({ 4046 bind: function (e, t, n) { 4047 return this.on(e, null, t, n); 4048 }, 4049 unbind: function (e, t) { 4050 return this.off(e, null, t); 4051 }, 4052 delegate: function (e, t, n, r) { 4053 return this.on(t, e, n, r); 4054 }, 4055 undelegate: function (e, t, n) { 4056 return 1 === arguments.length ? this.off(e, "**") : this.off(t, e || "**", n); 4057 }, 4058 hover: function (e, t) { 4059 return this.mouseenter(e).mouseleave(t || e); 4060 }, 4061}), 4062k.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "), function (e, t) { 4063 k.fn[t] = function (e, n) { 4064 return arguments.length > 0 ? this.on(t, null, e, n) : this.trigger(t); 4065 }; 4066}); 4067var Yt = /^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g; 4068(k.proxy = function (e, t) { 4069 var n, r, i; 4070 if (("string" == typeof t && ((n = e[t]), (t = e), (e = n)), v(e))) 4071 return ( 4072 (r = s.call(arguments, 2)), 4073 ((i = function () { 4074 return e.apply(t || this, r.concat(s.call(arguments))); 4075 }).guid = e.guid = e.guid || k.guid++), 4076 i 4077 ); 4078}), 4079(k.holdReady = function (e) { 4080 e ? k.readyWait++ : k.ready(!0); 4081}), 4082(k.isArray = Array.isArray), 4083(k.parseJSON = JSON.parse), 4084(k.nodeName = O), 4085(k.isFunction = v), 4086(k.isWindow = y), 4087(k.camelCase = Z), 4088(k.type = T), 4089(k.now = Date.now), 4090(k.isNumeric = function (e) { 4091 var t = k.type(e); 4092 return ("number" === t || "string" === t) && !isNaN(e - parseFloat(e)); 4093}), 4094(k.trim = function (e) { 4095 return null == e ? "" : (e + "").replace(Yt, ""); 4096}), 4097void 0 === 4098(r = function () { 4099 return k; 4100}.apply(t, [])) || (e.exports = r); 4101var Gt = n.jQuery, 4102Xt = n.$; 4103return ( 4104 (k.noConflict = function (e) { 4105 return n.$ === k && (n.$ = Xt), e && n.jQuery === k && (n.jQuery = Gt), k; 4106 }), 4107 void 0 === i && (n.jQuery = n.$ = k), 4108 k 4109 ); 4110}); 4111}, 4112function (e, t, n) { 4113 var r; 4114 window, 4115 (e.exports = 4116 ((r = n(6)), 4117 (function (e) { 4118 function t(r) { 4119 if (n[r]) return n[r].exports; 4120 var i = (n[r] = { i: r, l: !1, exports: {} }); 4121 return e[r].call(i.exports, i, i.exports, t), (i.l = !0), i.exports; 4122 } 4123 var n = {}; 4124 return ( 4125 (t.m = e), 4126 (t.c = n), 4127 (t.d = function (e, n, r) { 4128 t.o(e, n) || Object.defineProperty(e, n, { enumerable: !0, get: r }); 4129 }), 4130 (t.r = function (e) { 4131 "undefined" != typeof Symbol && Symbol.toStringTag && Object.defineProperty(e, Symbol.toStringTag, { value: "Module" }), Object.defineProperty(e, "__esModule", { value: !0 }); 4132 }), 4133 (t.t = function (e, n) { 4134 if ((1 & n && (e = t(e)), 8 & n)) return e; 4135 if (4 & n && "object" == typeof e && e && e.__esModule) return e; 4136 var r = Object.create(null); 4137 if ((t.r(r), Object.defineProperty(r, "default", { enumerable: !0, value: e }), 2 & n && "string" != typeof e)) 4138 for (var i in e) 4139 t.d( 4140 r, 4141 i, 4142 function (t) { 4143 return e[t]; 4144 }.bind(null, i) 4145 ); 4146 return r; 4147 }), 4148 (t.n = function (e) { 4149 var n =
4150 e && e.__esModule 4151 ? function () { 4152 return e.default; 4153 } 4154 : function () { 4155 return e; 4156 }; 4157 return t.d(n, "a", n), n; 4158 }), 4159 (t.o = function (e, t) { 4160 return Object.prototype.hasOwnProperty.call(e, t); 4161 }), 4162 (t.p = ""), 4163 t((t.s = 2)) 4164 ); 4165 })([ 4166 function (e, t) { 4167 !(function () { 4168 function e(e, t) { 4169 t = t || { bubbles: !1, cancelable: !1, detail: void 0 }; 4170 var n = document.createEvent("CustomEvent"); 4171 return n.initCustomEvent(e, t.bubbles, t.cancelable, t.detail), n; 4172 } 4173 "function" != typeof window.CustomEvent && ((e.prototype = window.Event.prototype), (window.CustomEvent = e)); 4174 })(); 4175 }, 4176 function (e, t) { 4177 e.exports = r; 4178 }, 4179 function (e, t, n) { 4180 "use strict"; 4181 function r(e, t) { 4182 if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function"); 4183 } 4184 function i(e, t) { 4185 for (var n = 0; n < t.length; n++) { 4186 var r = t[n]; 4187 (r.enumerable = r.enumerable || !1), (r.configurable = !0), "value" in r && (r.writable = !0), Object.defineProperty(e, r.key, r); 4188 } 4189 } 4190 function o(e, t, n) { 4191 var r; 4192 return function () { 4193 var i = this, 4194 o = arguments, 4195 a = function () { 4196 (r = null), n || e.apply(i, o); 4197 }, 4198 s = n && !r; 4199 clearTimeout(r), (r = setTimeout(a, t)), s && e.apply(i, o); 4200 }; 4201 } 4202 function a(e, t) { 4203 if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function"); 4204 } 4205 function s(e, t) { 4206 for (var n = 0; n < t.length; n++) { 4207 var r = t[n]; 4208 (r.enumerable = r.enumerable || !1), (r.configurable = !0), "value" in r && (r.writable = !0), Object.defineProperty(e, r.key, r); 4209 } 4210 } 4211 function u(e, t) { 4212 if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function"); 4213 } 4214 function l(e, t) { 4215 for (var n = 0; n < t.length; n++) { 4216 var r = t[n]; 4217 (r.enumerable = r.enumerable || !1), (r.configurable = !0), "value" in r && (r.writable = !0), Object.defineProperty(e, r.key, r); 4218 } 4219 } 4220 function c(e, t) { 4221 if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function"); 4222 } 4223 function d(e, t) { 4224 for (var n = 0; n < t.length; n++) { 4225 var r = t[n]; 4226 (r.enumerable = r.enumerable || !1), (r.configurable = !0), "value" in r && (r.writable = !0), Object.defineProperty(e, r.key, r); 4227 } 4228 } 4229 function f(e, t) { 4230 if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function"); 4231 } 4232 function h(e, t) { 4233 for (var n = 0; n < t.length; n++) { 4234 var r = t[n]; 4235 (r.enumerable = r.enumerable || !1), (r.configurable = !0), "value" in r && (r.writable = !0), Object.defineProperty(e, r.key, r); 4236 } 4237 } 4238 function p(e, t) { 4239 if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function"); 4240 } 4241 function m(e, t) { 4242 for (var n = 0; n < t.length; n++) { 4243 var r = t[n]; 4244 (r.enumerable = r.enumerable || !1), (r.configurable = !0), "value" in r && (r.writable = !0), Object.defineProperty(e, r.key, r); 4245 } 4246 } 4247 function g(e, t) { 4248 if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function"); 4249 } 4250 function v(e, t) { 4251 for (var n = 0; n < t.length; n++) { 4252 var r = t[n]; 4253 (r.enumerable = r.enumerable || !1), (r.configurable = !0), "value" in r && (r.writable = !0), Object.defineProperty(e, r.key, r); 4254 } 4255 } 4256 function y(e, t) { 4257 if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function"); 4258 } 4259 function b(e, t) { 4260 for (var n = 0; n < t.length; n++) { 4261 var r = t[n]; 4262 (r.enumerable = r.enumerable || !1), (r.configurable = !0), "value" in r && (r.writable = !0), Object.defineProperty(e, r.key, r); 4263 } 4264 } 4265 n.r(t); 4266 var w = 4267 (n(1), 4268 (function () { 4269 function e() { 4270 var t = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : null; 4271 r(this, e), (this.namespace = "focusTrap"), this.initJqueryPlugins(), this.attach(t); 4272 } 4273 return ( 4274 (function (e, t, n) { 4275 t && i(e.prototype, t), n && i(e, n); 4276 })(e, [ 4277 { 4278 key: "attach", 4279 value: function (e) { 4280 return e 4281 ? ((this.element = e instanceof jQuery ? e : $(e)), 4282 (this.lastFocusedElement = null),
4283 (this.focusableElements = !1), 4284 (this.firstFocusableElement = !1), 4285 void (this.lastFocusableElement = !1)) 4286 : void 0; 4287 }, 4288 }, 4289 { 4290 key: "start", 4291 value: function () { 4292 var e = this, 4293 t = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : null; 4294 return ( 4295 t && this.attach(t), 4296 this.element 4297 ? (null == this.lastFocusedElement && (this.lastFocusedElement = $(document.activeElement)), 4298 (this.focusableElements = this.element.find(":focusable").sort(function (e, t) { 4299 return (isNaN(parseInt($(e).attr("tabindex"))) ? 9999 : parseInt($(e).attr("tabindex"))) - (isNaN(parseInt($(t).attr("tabindex"))) ? 9999 : parseInt($(t).attr("tabindex"))); 4300 })), 4301 (this.firstFocusableElement = this.focusableElements.first()), 4302 (this.lastFocusableElement = this.focusableElements.last()), 4303 this.firstFocusableElement.focus(), 4304 void this.element.off("keydown.".concat(this.namespace)).on("keydown.".concat(this.namespace), function (t) { 4305 return e.keyHandler(t); 4306 })) 4307 : void 0 4308 ); 4309 }, 4310 }, 4311 { 4312 key: "stop", 4313 value: function () { 4314 this.element && (this.element.off("keydown.".concat(this.namespace)), this.lastFocusedElement.focus()); 4315 }, 4316 }, 4317 { 4318 key: "keyHandler", 4319 value: function (e) { 4320 var t = this; 4321 switch (e.keyCode) { 4322 case 9: 4323 if (1 === this.focusableElements.length) { 4324 e.preventDefault(); 4325 break; 4326 } 4327 e.shiftKey 4328 ? $(document.activeElement).is(t.firstFocusableElement) && (e.preventDefault(), t.lastFocusableElement.focus()) 4329 : $(document.activeElement).is(t.lastFocusableElement) && (e.preventDefault(), t.firstFocusableElement.focus()); 4330 } 4331 }, 4332 }, 4333 { 4334 key: "initJqueryPlugins", 4335 value: function () { 4336 jQuery.extend(jQuery.expr[":"], { 4337 focusable: function (e, t, n) { 4338 return $(e).is('button, [href], :input:not([disabled]):not([type="hidden"]), [tabindex]:not([tabindex="-1"]), iframe, object, embed'); 4339 }, 4340 }); 4341 }, 4342 }, 4343 ]), 4344 e 4345 ); 4346 })()), 4347 x = function () { 4348 var e = document.createElement("fakeelement"), 4349 t = { transition: "transitionend", OTransition: "oTransitionEnd", MozTransition: "transitionend", WebkitTransition: "webkitTransitionEnd" }; 4350 for (var n in t) if (void 0 !== e.style[n]) return t[n]; 4351 }, 4352 T = 4353 (n(0), 4354 (function () { 4355 function e() { 4356 var t = this, 4357 n = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {}; 4358 a(this, e); 4359 var r = { bodyOpenClass: "modal--open", modalOpenClass: "open", overlayClass: "modal-overlay", modalClass: "modal", openSelector: "[data-modal]", closeSelector: "[data-close-modal]" }; 4360 (this.options = Object.assign({}, r, n)), 4361 (this.namespace = "modal"), 4362 (this.scrollPosition = 0), 4363 (this.modalElement = null), 4364 $(".".concat(this.options.overlayClass)) 4365 .on("click.".concat(this.namespace), function (e) { 4366 $(e.target).hasClass(t.options.overlayClass) && (e.preventDefault(), t.close()); 4367 }) 4368 .find(".".concat(this.options.modalClass, " ").concat(this.options.closeSelector)) 4369 .on("click.".concat(this.namespace), function (e) { 4370 e.preventDefault(), t.close(); 4371 }), 4372 $(document) 4373 .off(".".concat(this.namespace)) 4374 .on("click.".concat(this.namespace), this.options.openSelector, function (e) { 4375 e.preventDefault(), t.open($(e.currentTarget).attr("href")); 4376 }); 4377 } 4378 return ( 4379 (function (e, t, n) { 4380 t && s(e.prototype, t), n && s(e, n); 4381 })(e, [ 4382 { 4383 key: "open", 4384 value: function (e) { 4385 var t = this; 4386 if ( 4387 ((this.scrollPosition = $(window).scrollTop()), (this.modalElement = e instanceof jQuery ? e : $(e)), this.modalElement.length && this.modalElement.hasClass(this.options.overlayClass)) 4388 ) { 4389 this.modalElement.off("show.".concat(this.namespace)).on("show.".concat(this.namespace), function (e) { 4390 t.focusTrap.start(), 4391 t.modalElement.find("form").trigger("reset"), 4392 $(document).on("keydown.".concat(t.namespace), function (e) { 4393 return t.keyHandler(e); 4394 }); 4395 }), 4396 (this.focusTrap = new w(this.modalElement)); 4397 var n = function () {
4398 $("body").addClass(t.options.bodyOpenClass), 4399 t.modalElement.addClass(t.options.modalOpenClass).trigger("show.".concat(t.namespace)), 4400 document.dispatchEvent(new CustomEvent("".concat(t.namespace, "Open"), { detail: { el: t.modalElement } })); 4401 }; 4402 $(".".concat(this.options.overlayClass, ".").concat(this.options.modalOpenClass)).length && 4403 $(".".concat(this.options.overlayClass, ".").concat(this.options.modalOpenClass))[0] != this.modalElement[0] 4404 ? this.close($(".".concat(this.options.overlayClass, ".").concat(this.options.modalOpenClass)), function () { 4405 return n(); 4406 }) 4407 : n(); 4408 } 4409 }, 4410 }, 4411 { 4412 key: "close", 4413 value: function () { 4414 var e = this, 4415 t = arguments.length > 0 && void 0 !== arguments[0] && arguments[0], 4416 n = 4417 arguments.length > 1 && void 0 !== arguments[1] 4418 ? arguments[1] 4419 : function () { 4420 return null; 4421 }, 4422 r = t || this.modalElement; 4423 r.off("hide.".concat(this.namespace)).on("hide.".concat(this.namespace), function (t) { 4424 r == e.modalElement && e.focusTrap.stop(), $(document).off("keydown.".concat(e.namespace)); 4425 }), 4426 $("body").removeClass(this.options.bodyOpenClass), 4427 $(".".concat(this.options.overlayClass, ".").concat(this.options.modalOpenClass)) 4428 .off("".concat(x(), ".").concat(this.namespace)) 4429 .one("".concat(x(), ".").concat(this.namespace), function (e) { 4430 n(); 4431 }) 4432 .removeClass(this.options.modalOpenClass) 4433 .trigger("hide.".concat(this.namespace)), 4434 $(window).scrollTop(this.scrollPosition).trigger("scroll.".concat(this.namespace)), 4435 document.dispatchEvent(new CustomEvent("".concat(this.namespace, "Close"), { detail: { el: r } })); 4436 }, 4437 }, 4438 { 4439 key: "refresh", 4440 value: function (e) { 4441 (e instanceof jQuery ? e : $(e)).is(this.modalElement) && this.modalElement.hasClass(this.options.modalOpenClass) && this.modalElement.trigger("show.".concat(this.namespace)); 4442 }, 4443 }, 4444 { 4445 key: "keyHandler", 4446 value: function (e) { 4447 switch (e.keyCode) { 4448 case 27: 4449 this.close(); 4450 } 4451 }, 4452 }, 4453 ]), 4454 e 4455 ); 4456 })()), 4457k = (function () { 4458 function e() { 4459 var t = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {}; 4460 u(this, e); 4461 var n = { bodyOpenClass: "lightbox--open", selector: "[data-lightbox]", closeButton: !1 }; 4462 (this.options = Object.assign({}, n, t)), (this.namespace = "lightbox"), (this.lightboxes = $(this.options.selector)), (this.lightboxElement = null), (this.focusTrap = new w()), this.init(); 4463 } 4464 return ( 4465 (function (e, t, n) { 4466 t && l(e.prototype, t), n && l(e, n); 4467 })(e, [ 4468 { 4469 key: "init", 4470 value: function () { 4471 var e = this; 4472 this.lightboxes.off("click.".concat(this.namespace)).on("click.".concat(this.namespace), function (t) { 4473 t.preventDefault(), e.createLightbox(t); 4474 }); 4475 }, 4476 }, 4477 { 4478 key: "getNextLightbox", 4479 value: function (e) { 4480 var t = this.lightboxes.index(e); 4481 return t < this.lightboxes.length - 1 && (t++, this.lightboxes.get(t)); 4482 }, 4483 }, 4484 { 4485 key: "getPrevLightbox", 4486 value: function (e) { 4487 var t = this.lightboxes.index(e); 4488 return t > 0 && (t--, this.lightboxes.get(t)); 4489 }, 4490 }, 4491 { 4492 key: "createLightbox", 4493 value: function (e) { 4494 var t = this, 4495 n = $("<img />"), 4496 r = e.currentTarget.href, 4497 i = $('<div class="lightbox__nav" />'), 4498 o = $('<div class="lightbox__image" />'), 4499 a = $('<div class="lightbox__caption" />'), 4500 s = this.getNextLightbox(e.currentTarget), 4501 u = this.getPrevLightbox(e.currentTarget), 4502 l = $('<a href="#" class="nav nav--next">Next image</a>'), 4503 c = $('<a href="#" class="nav nav--prev">Previous image</a>'), 4504 d = $('<a href="#" class="nav nav--close">Close</a>'); 4505 (this.lightboxElement = $('<div class="lightbox" />')), 4506 n.attr("src", r).on("load", function (e) { 4507 t.lightboxElement.trigger("loaded.".concat(t.namespace)).addClass("lightbox--loaded"); 4508 }), 4509 o.css("backgroundImage", "url(".concat(r, ")")),
4510 this.lightboxElement.prependTo($("body")).append(o), 4511 ($(e.currentTarget).attr("alt") || $(e.currentTarget).attr("title")) && a.text($(e.currentTarget).attr("alt") || $(e.currentTarget).attr("title")).appendTo(this.lightboxElement), 4512 (s || u) && i.prependTo(this.lightboxElement), 4513 s && 4514 l 4515 .on("click.".concat(this.namespace), function (e) { 4516 e.preventDefault(), t.destroy(), t.createLightbox({ currentTarget: s }); 4517 }) 4518 .appendTo(i), 4519 u && 4520 c 4521 .on("click.".concat(this.namespace), function (e) { 4522 e.preventDefault(), t.destroy(), t.createLightbox({ currentTarget: u }); 4523 }) 4524 .appendTo(i), 4525 this.options.closeButton && 4526 d 4527 .on("click.".concat(this.namespace), function (e) { 4528 e.preventDefault(), t.hide(); 4529 }) 4530 .appendTo(i), 4531 this.lightboxElement.on("click.".concat(this.namespace), function (e) { 4532 t.hide(); 4533 }), 4534 $("body").hasClass("lightbox--open") 4535 ? this.show() 4536 : setTimeout(function () { 4537 t.show(); 4538 }, 50); 4539 }, 4540 }, 4541 { 4542 key: "show", 4543 value: function () { 4544 var e = this; 4545 this.lightboxElement.trigger("show.".concat(this.namespace)).addClass("lightbox--open"), 4546 $("body").addClass(this.options.bodyOpenClass), 4547 $(document).on("keydown.".concat(this.namespace), function (t) { 4548 return e.keyHandler(t); 4549 }), 4550 document.dispatchEvent(new CustomEvent("".concat(this.namespace, "Open"), { detail: { el: this.lightboxElement } })), 4551 this.focusTrap.start(this.lightboxElement); 4552 }, 4553 }, 4554 { 4555 key: "hide", 4556 value: function () { 4557 var e = this; 4558 this.lightboxElement 4559 .one("".concat(x()), function (t) { 4560 e.destroy(); 4561 }) 4562 .trigger("hide.".concat(this.namespace)) 4563 .removeClass("lightbox--open"), 4564 $("body").removeClass(this.options.bodyOpenClass), 4565 $(document).off("keydown.".concat(this.namespace)), 4566 document.dispatchEvent(new CustomEvent("".concat(this.namespace, "Close"), { detail: {} })), 4567 this.focusTrap.stop(); 4568 }, 4569 }, 4570 { 4571 key: "destroy", 4572 value: function () { 4573 this.lightboxElement.remove(); 4574 }, 4575 }, 4576 { 4577 key: "keyHandler", 4578 value: function (e) { 4579 switch (e.keyCode) { 4580 case 27: 4581 this.hide(); 4582 break; 4583 case 39: 4584 this.lightboxElement.find(".nav--next").trigger("click.".concat(this.namespace)); 4585 break; 4586 case 37: 4587 this.lightboxElement.find(".nav--prev").trigger("click.".concat(this.namespace)); 4588 } 4589 }, 4590 }, 4591 ]), 4592 e 4593 ); 4594})(), 4595S = (function () { 4596 function e() { 4597 var t = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {}; 4598 c(this, e); 4599 var n = { contentSelector: "#content" }; 4600 (this.options = Object.assign({}, n, t)), (this.namespace = "drawer"), this.init(); 4601 } 4602 return ( 4603 (function (e, t, n) { 4604 t && d(e.prototype, t), n && d(e, n); 4605 })(e, [ 4606 { 4607 key: "init", 4608 value: function () { 4609 var e = this; 4610 $(document).on("click.".concat(this.namespace), "[data-drawer-toggle]", function (t) { 4611 return e.toggle(); 4612 }); 4613 }, 4614 }, 4615 { 4616 key: "toggle", 4617 value: function (e) { 4618 var t = this; 4619 $("body").hasClass("drawer--open") 4620 ? (document.dispatchEvent(new CustomEvent("".concat(this.namespace, "Close"), { detail: {} })), $(document).off("keydown.".concat(this.namespace))) 4621 : (document.dispatchEvent(new CustomEvent("".concat(this.namespace, "Open"), { detail: {} })), 4622 $(document).on("keydown.".concat(this.namespace), function (e) { 4623 return t.keyHandler(e); 4624 })), 4625 $(this.options.contentSelector).off("click.".concat(this.namespace)), 4626 $("body").toggleClass("drawer--open"), 4627 $(".drawer--open ".concat(this.options.contentSelector)).one("click.".concat(this.namespace), function (e) { 4628 return t.toggle(); 4629 }), 4630 e && e.preventDefault(); 4631 }, 4632 }, 4633 { 4634 key: "open", 4635 value: function () { 4636 $("body").hasClass("drawer--open") || this.toggle(); 4637 }, 4638 }, 4639 { 4640 key: "close", 4641 value: function () { 4642 $("body").hasClass("drawer--open") && this.toggle(); 4643 }, 4644 }, 4645 { 4646 key: "keyHandler", 4647 value: function (e) { 4648 switch (e.keyCode) { 4649 case 27: 4650 this.close(); 4651 } 4652 }, 4653 }, 4654 ]), 4655 e 4656 ); 4657})(), 4658E = (function () { 4659 function e() { 4660 var t = this, 4661 n = 4662 arguments.length > 0 && void 0 !== arguments[0] 4663 ? arguments[0] 4664 : function () { 4665 return null; 4666 }, 4667 r = arguments.length > 1 && void 0 !== arguments[1] && arguments[1]; 4668 f(this, e), (this.namespace = "scrollListener"), (this.lastScrollY = 0), (this.ticking = !1); 4669 var i = function () { 4670 n(), (t.ticking = !1); 4671 }, 4672 o = function () { 4673 t.ticking || (window.requestAnimationFrame(i), (t.ticking = !0)); 4674 }; 4675 (this.onScroll = function () { 4676 (t.lastScrollY = window.scrollY), o(); 4677 }), 4678 this.on(), 4679 r && n(); 4680 } 4681 return ( 4682 (function (e, t, n) { 4683 t && h(e.prototype, t), n && h(e, n); 4684 })(e, [ 4685 { 4686 key: "off", 4687 value: function () { 4688 var e = this; 4689 $(window).off("scroll.".concat(this.namespace), function (t) { 4690 return e.onScroll(); 4691 }); 4692 }, 4693 }, 4694 { 4695 key: "on", 4696 value: function () { 4697 var e = this; 4698 $(window).on("scroll.".concat(this.namespace), function (t) { 4699 return e.onScroll(); 4700 }); 4701 }, 4702 }, 4703 ]), 4704 e 4705 ); 4706})(), 4707C = (function () { 4708 function e() { 4709 var t = this, 4710 n = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {}; 4711 p(this, e); 4712 var r = { selector: "[data-scroll], [data-scroll-from], [data-scroll-to]" }; 4713 (this.options = Object.assign({}, r, n)), 4714 (this.namespace = "scrollEffects"), 4715 (this.items = []), 4716 $(this.options.selector).each(function (e, n) { 4717 try { 4718 var r = new TimelineLite({ paused: !0 }), 4719 i = $(n).data("scroll-to") || $(n).data("scroll") || $(n).data("scroll-from") || {}, 4720 o = $(n).data("scroll-to") ? "to" : "from"; 4721 for (var a in i) n.style[a] = null; 4722 r[o]($(n), 1, i), t.items.push({ el: n, tl: r }); 4723 } catch (e) {} 4724 }), 4725 new E(function () { 4726 return t.onScroll(); 4727 }, !0), 4728 $(window).on( 4729 "resize.".concat(this.namespace), 4730 o(function (e) { 4731 return t.onScroll(); 4732 }, 250) 4733 ); 4734 } 4735 return ( 4736 (function (e, t, n) { 4737 t && m(e.prototype, t), n && m(e, n); 4738 })(e, [ 4739 { 4740 key: "onScroll", 4741 value: function () { 4742 var e = $(window).height(), 4743 t = $(window).scrollTop(); 4744 $.each(this.items, function (n, r) { 4745 if ( 4746 (function (e) { 4747 var t = e.getBoundingClientRect(); 4748 return ( 4749 t.top >= -t.width && 4750 t.left >= -t.height && 4751 t.bottom <= (window.innerHeight || document.documentElement.clientHeight) + t.height && 4752 t.right <= (window.innerWidth || document.documentElement.clientWidth) + t.width 4753 ); 4754 })(r.el) 4755 ) { 4756 var i = $(r.el).offset().top, 4757 o = $(r.el).outerHeight(), 4758 a = $.isNumeric($(r.el).data("scroll-end")) ? $(r.el).data("scroll-end") : 1, 4759 s = $.isNumeric($(r.el).data("scroll-start")) ? $(r.el).data("scroll-start") : 0, 4760 u = i + e * (s - 1), 4761 l = $(r.el).data("scroll-exit") ? i + o + e * (a - 1) : i + e * (a - 1), 4762 c = Math.max(0, Math.min(1, (t - u) / (l - u))); 4763 r.tl.progress(c); 4764 } 4765 }); 4766 }, 4767 }, 4768 ]), 4769 e 4770 ); 4771})(), 4772D = (function () { 4773 function e() { 4774 var t = this, 4775 n = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {}; 4776 g(this, e); 4777 var r = { startEvent: "DOMContentLoaded", easing: "ease-in-out", duration: 500, delay: 0 }; 4778 (this.options = Object.assign({}, r, n)), 4779 (this.options.easing = $("body").data("appear-easing") || this.options.easing), 4780 (this.options.duration = $("body").data("appear-duration") || this.options.duration), 4781 (this.options.delay = $("body").data("appear-delay") || this.options.delay), 4782 $("body").attr("data-appear-easing", this.options.easing).attr("data-appear-duration", this.options.duration).attr("data-appear-delay", this.options.delay), 4783 "DOMContentLoaded" != this.options.startEvent || ("complete" !== document.readyState && ("loading" === document.readyState || document.documentElement.doScroll)) 4784 ? document.addEventListener(this.options.startEvent, function (e) { 4785 t.initAnimations(); 4786 }) 4787 : this.initAnimations(); 4788 } 4789 return ( 4790 (function (e, t, n) { 4791 t && v(e.prototype, t), n && v(e, n); 4792 })(e, [ 4793 { 4794 key: "initAnimations", 4795 value: function () { 4796 $("[data-appear]:not(.appear-animate)").addClass("appear-animate"); 4797 }, 4798 }, 4799 ]), 4800 e 4801 ); 4802})(), 4803j = (function () { 4804 function e() { 4805 var t = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {}; 4806 y(this, e); 4807 var n = { selector: "form[data-ajax]", alertClass: "alert", alertHolderClass: "alert-wrapper", submittedClass: "form--submitting", ajaxUrl: "" }; 4808 (this.options = Object.assign({}, n, t)), (this.namespace = "ajax"), this.init(); 4809 } 4810 return ( 4811 (function (e, t, n) { 4812 t && b(e.prototype, t), n && b(e, n); 4813 })(e, [ 4814 { 4815 key: "init", 4816 value: function () { 4817 var e = this; 4818 $(this.options.selector).each(function (t, n) { 4819 var r = $(n), 4820 i = e.options.ajaxUrl || r.data("ajax") || r.attr("action"); 4821 r.on("clear.".concat(e.namespace), function () { 4822 r.find(".".concat(e.options.alertClass)).remove(); 4823 }).on("submit.".concat(e.namespace), function () { 4824 var t = r.serialize(); 4825 return ( 4826 r.addClass(e.options.submittedClass), 4827 r.trigger("clear.".concat(e.namespace)), 4828 i 4829 ? ($.getJSON({ url: i, type: "post", data: t }).always(function (t) { 4830 var n, i; 4831 r.removeClass(e.options.submittedClass), 4832 r.trigger("complete.".concat(e.namespace), [t]), 4833 t.success 4834 ? ((n = (t.data && t.data.message) || "Your submission was received"), 4835 (i = '<div class="' + e.options.alertClass + ' success">' + n + "</div>"), 4836 r.trigger("reset.".concat(e.namespace)), 4837 r.trigger("success.".concat(e.namespace), [t])) 4838 : ((n = (t.data && t.data.message) || "There was a problem â please try again"), 4839 (i = '<div class="' + e.options.alertClass + ' error">' + n + "</div>"), 4840 r.trigger("error.".concat(e.namespace), [t])), 4841 r.find(".".concat(e.options.alertHolderClass)).length ? r.find(".".concat(e.options.alertHolderClass)).append(i) : r.append(i); 4842 }), 4843 !1) 4844 : void 0 4845 ); 4846 }); 4847 }); 4848 }, 4849 }, 4850 ]), 4851 e 4852 ); 4853})(); 4854t.default = { Modal: T, Lightbox: k, Drawer: S, AjaxForms: j, FocusTrap: w, ScrollListener: E, ScrollEffects: C, Appear: D }; 4855}, 4856]).default)); 4857}, 4858function (e, t, n) { 4859 "use strict"; 4860 function r(e, t) { 4861 for (var n = 0; n < t.length; n++) { 4862 var r = t[n]; 4863 (r.enumerable = r.enumerable || !1), (r.configurable = !0), "value" in r && (r.writable = !0), Object.defineProperty(e, r.key, r); 4864 } 4865 } 4866 function i(e, t, n) { 4867 return t && r(e.prototype, t), n && r(e, n), e; 4868 } 4869 function o(e, t) { 4870 (e.prototype = Object.create(t.prototype)), (e.prototype.constructor = e), (e.__proto__ = t); 4871 } 4872 function a(e) { 4873 return (a = Object.setPrototypeOf 4874 ? Object.getPrototypeOf 4875 : function (e) { 4876 return e.__proto__ || Object.getPrototypeOf(e); 4877 })(e); 4878 } 4879 function s(e, t) { 4880 return (s = 4881 Object.setPrototypeOf || 4882 function (e, t) { 4883 return (e.__proto__ = t), e; 4884 })(e, t); 4885 } 4886 function u() { 4887 if ("undefined" == typeof Reflect || !Reflect.construct) return !1; 4888 if (Reflect.construct.sham) return !1; 4889 if ("function" == typeof Proxy) return !0;
4890 try { 4891 return Date.prototype.toString.call(Reflect.construct(Date, [], function () {})), !0; 4892 } catch (e) { 4893 return !1; 4894 } 4895 } 4896 function l(e, t, n) { 4897 return (l = u() 4898 ? Reflect.construct 4899 : function (e, t, n) { 4900 var r = [null]; 4901 r.push.apply(r, t); 4902 var i = new (Function.bind.apply(e, r))(); 4903 return n && s(i, n.prototype), i; 4904 }).apply(null, arguments); 4905 } 4906 function c(e) { 4907 var t = "function" == typeof Map ? new Map() : void 0; 4908 return (c = function (e) { 4909 if (null === e || ((n = e), -1 === Function.toString.call(n).indexOf("[native code]"))) return e; 4910 var n; 4911 if ("function" != typeof e) throw new TypeError("Super expression must either be null or a function"); 4912 if (void 0 !== t) { 4913 if (t.has(e)) return t.get(e); 4914 t.set(e, r); 4915 } 4916 function r() { 4917 return l(e, arguments, a(this).constructor); 4918 } 4919 return (r.prototype = Object.create(e.prototype, { constructor: { value: r, enumerable: !1, writable: !0, configurable: !0 } })), s(r, e); 4920 })(e); 4921 } 4922 function d(e, t) { 4923 (null == t || t > e.length) && (t = e.length); 4924 for (var n = 0, r = new Array(t); n < t; n++) r[n] = e[n]; 4925 return r; 4926 } 4927 function f(e) { 4928 var t = 0; 4929 if ("undefined" == typeof Symbol || null == e[Symbol.iterator]) { 4930 if ( 4931 Array.isArray(e) || 4932 (e = (function (e, t) { 4933 if (e) { 4934 if ("string" == typeof e) return d(e, t); 4935 var n = Object.prototype.toString.call(e).slice(8, -1); 4936 return "Object" === n && e.constructor && (n = e.constructor.name), "Map" === n || "Set" === n ? Array.from(n) : "Arguments" === n || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? d(e, t) : void 0; 4937 } 4938 })(e)) 4939 ) 4940 return function () { 4941 return t >= e.length ? { done: !0 } : { done: !1, value: e[t++] }; 4942 }; 4943 throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); 4944 } 4945 return (t = e[Symbol.iterator]()).next.bind(t); 4946 } 4947 Object.defineProperty(t, "__esModule", { value: !0 }); 4948 var h = (function (e) { 4949 function t() { 4950 return e.apply(this, arguments) || this; 4951 } 4952 return o(t, e), t; 4953 })(c(Error)), 4954 p = (function (e) { 4955 function t(t) { 4956 return e.call(this, "Invalid DateTime: " + t.toMessage()) || this; 4957 } 4958 return o(t, e), t; 4959 })(h), 4960 m = (function (e) { 4961 function t(t) { 4962 return e.call(this, "Invalid Interval: " + t.toMessage()) || this; 4963 } 4964 return o(t, e), t; 4965 })(h), 4966 g = (function (e) { 4967 function t(t) { 4968 return e.call(this, "Invalid Duration: " + t.toMessage()) || this; 4969 } 4970 return o(t, e), t; 4971 })(h), 4972 v = (function (e) { 4973 function t() { 4974 return e.apply(this, arguments) || this; 4975 } 4976 return o(t, e), t; 4977 })(h), 4978 y = (function (e) { 4979 function t(t) { 4980 return e.call(this, "Invalid unit " + t) || this; 4981 } 4982 return o(t, e), t; 4983 })(h), 4984 b = (function (e) { 4985 function t() { 4986 return e.apply(this, arguments) || this; 4987 } 4988 return o(t, e), t; 4989 })(h), 4990 w = (function (e) { 4991 function t() { 4992 return e.call(this, "Zone is an abstract class") || this; 4993 } 4994 return o(t, e), t; 4995 })(h), 4996 x = "numeric", 4997 T = "short", 4998 k = "long", 4999 S = { year: x, month: x, day: x }, 5000 E = { year: x, month: T, day: x }, 5001 C = { year: x, month: T, day: x, weekday: T }, 5002 D = { year: x, month: k, day: x }, 5003 j = { year: x, month: k, day: x, weekday: k }, 5004 O = { hour: x, minute: x }, 5005 _ = { hour: x, minute: x, second: x }, 5006 N = { hour: x, minute: x, second: x, timeZoneName: T }, 5007 A = { hour: x, minute: x, second: x, timeZoneName: k }, 5008 L = { hour: x, minute: x, hour12: !1 }, 5009 M = { hour: x, minute: x, second: x, hour12: !1 }, 5010 I = { hour: x, minute: x, second: x, hour12: !1, timeZoneName: T }, 5011 $ = { hour: x, minute: x, second: x, hour12: !1, timeZoneName: k }, 5012 q = { year: x, month: x, day: x, hour: x, minute: x }, 5013 P = { year: x, month: x, day: x, hour: x, minute: x, second: x },
5014 H = { year: x, month: T, day: x, hour: x, minute: x }, 5015 F = { year: x, month: T, day: x, hour: x, minute: x, second: x }, 5016 z = { year: x, month: T, day: x, weekday: T, hour: x, minute: x }, 5017 R = { year: x, month: k, day: x, hour: x, minute: x, timeZoneName: T }, 5018 V = { year: x, month: k, day: x, hour: x, minute: x, second: x, timeZoneName: T }, 5019 W = { year: x, month: k, day: x, weekday: k, hour: x, minute: x, timeZoneName: k }, 5020 U = { year: x, month: k, day: x, weekday: k, hour: x, minute: x, second: x, timeZoneName: k }; 5021 function B(e) { 5022 return void 0 === e; 5023 } 5024 function Q(e) { 5025 return "number" == typeof e; 5026 } 5027 function Z(e) { 5028 return "number" == typeof e && e % 1 == 0; 5029 } 5030 function J() { 5031 try { 5032 return "undefined" != typeof Intl && Intl.DateTimeFormat; 5033 } catch (e) { 5034 return !1; 5035 } 5036 } 5037 function Y() { 5038 return !B(Intl.DateTimeFormat.prototype.formatToParts); 5039 } 5040 function G() { 5041 try { 5042 return "undefined" != typeof Intl && !!Intl.RelativeTimeFormat; 5043 } catch (e) { 5044 return !1; 5045 } 5046 } 5047 function X(e, t, n) { 5048 if (0 !== e.length) 5049 return e.reduce(function (e, r) { 5050 var i = [t(r), r]; 5051 return e && n(e[0], i[0]) === e[0] ? e : i; 5052 }, null)[1]; 5053 } 5054 function K(e, t) { 5055 return t.reduce(function (t, n) { 5056 return (t[n] = e[n]), t; 5057 }, {}); 5058 } 5059 function ee(e, t) { 5060 return Object.prototype.hasOwnProperty.call(e, t); 5061 } 5062 function te(e, t, n) { 5063 return Z(e) && e >= t && e <= n; 5064 } 5065 function ne(e, t) { 5066 return void 0 === t && (t = 2), e.toString().length < t ? ("0".repeat(t) + e).slice(-t) : e.toString(); 5067 } 5068 function re(e) { 5069 return B(e) || null === e || "" === e ? void 0 : parseInt(e, 10); 5070 } 5071 function ie(e) { 5072 if (!B(e) && null !== e && "" !== e) { 5073 var t = 1e3 * parseFloat("0." + e); 5074 return Math.floor(t); 5075 } 5076 } 5077 function oe(e, t, n) { 5078 void 0 === n && (n = !1); 5079 var r = Math.pow(10, t); 5080 return (n ? Math.trunc : Math.round)(e * r) / r; 5081 } 5082 function ae(e) { 5083 return e % 4 == 0 && (e % 100 != 0 || e % 400 == 0); 5084 } 5085 function se(e) { 5086 return ae(e) ? 366 : 365; 5087 } 5088 function ue(e, t) { 5089 var n = 5090 (function (e, t) { 5091 return e - t * Math.floor(e / t); 5092 })(t - 1, 12) + 1; 5093 return 2 === n ? (ae(e + (t - n) / 12) ? 29 : 28) : [31, null, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31][n - 1]; 5094 } 5095 function le(e) { 5096 var t = Date.UTC(e.year, e.month - 1, e.day, e.hour, e.minute, e.second, e.millisecond); 5097 return e.year < 100 && e.year >= 0 && (t = new Date(t)).setUTCFullYear(t.getUTCFullYear() - 1900), +t; 5098 } 5099 function ce(e) { 5100 var t = (e + Math.floor(e / 4) - Math.floor(e / 100) + Math.floor(e / 400)) % 7, 5101 n = e - 1, 5102 r = (n + Math.floor(n / 4) - Math.floor(n / 100) + Math.floor(n / 400)) % 7; 5103 return 4 === t || 3 === r ? 53 : 52; 5104 } 5105 function de(e) { 5106 return e > 99 ? e : e > 60 ? 1900 + e : 2e3 + e; 5107 } 5108 function fe(e, t, n, r) { 5109 void 0 === r && (r = null); 5110 var i = new Date(e), 5111 o = { hour12: !1, year: "numeric", month: "2-digit", day: "2-digit", hour: "2-digit", minute: "2-digit" }; 5112 r && (o.timeZone = r); 5113 var a = Object.assign({ timeZoneName: t }, o), 5114 s = J(); 5115 if (s && Y()) { 5116 var u = new Intl.DateTimeFormat(n, a).formatToParts(i).find(function (e) { 5117 return "timezonename" === e.type.toLowerCase(); 5118 }); 5119 return u ? u.value : null; 5120 } 5121 if (s) { 5122 var l = new Intl.DateTimeFormat(n, o).format(i); 5123 return new Intl.DateTimeFormat(n, a) 5124 .format(i) 5125 .substring(l.length) 5126 .replace(/^[, \u200e]+/, ""); 5127 } 5128 return null; 5129 } 5130 function he(e, t) { 5131 var n = parseInt(e, 10); 5132 Number.isNaN(n) && (n = 0); 5133 var r = parseInt(t, 10) || 0; 5134 return 60 * n + (n < 0 || Object.is(n, -0) ? -r : r); 5135 } 5136 function pe(e) { 5137 var t = Number(e); 5138 if ("boolean" == typeof e || "" === e || Number.isNaN(t)) throw new b("Invalid unit value " + e); 5139 return t; 5140 } 5141 function me(e, t, n) { 5142 var r = {}; 5143 for (var i in e) 5144 if (ee(e, i)) { 5145 if (n.indexOf(i) >= 0) continue; 5146 var o = e[i]; 5147 if (null == o) continue;
5148 r[t(i)] = pe(o); 5149 } 5150 return r; 5151 } 5152 function ge(e, t) { 5153 var n = Math.trunc(Math.abs(e / 60)), 5154 r = Math.trunc(Math.abs(e % 60)), 5155 i = e >= 0 ? "+" : "-"; 5156 switch (t) { 5157 case "short": 5158 return "" + i + ne(n, 2) + ":" + ne(r, 2); 5159 case "narrow": 5160 return "" + i + n + (r > 0 ? ":" + r : ""); 5161 case "techie": 5162 return "" + i + ne(n, 2) + ne(r, 2); 5163 default: 5164 throw new RangeError("Value format " + t + " is out of range for property format"); 5165 } 5166 } 5167 function ve(e) { 5168 return K(e, ["hour", "minute", "second", "millisecond"]); 5169 } 5170 var ye = /[A-Za-z_+-]{1,256}(:?\/[A-Za-z_+-]{1,256}(\/[A-Za-z_+-]{1,256})?)?/; 5171 function be(e) { 5172 return JSON.stringify(e, Object.keys(e).sort()); 5173 } 5174 var we = ["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"], 5175 xe = ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"], 5176 Te = ["J", "F", "M", "A", "M", "J", "J", "A", "S", "O", "N", "D"]; 5177 function ke(e) { 5178 switch (e) { 5179 case "narrow": 5180 return Te; 5181 case "short": 5182 return xe; 5183 case "long": 5184 return we; 5185 case "numeric": 5186 return ["1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12"]; 5187 case "2-digit": 5188 return ["01", "02", "03", "04", "05", "06", "07", "08", "09", "10", "11", "12"]; 5189 default: 5190 return null; 5191 } 5192 } 5193 var Se = ["Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday", "Sunday"], 5194 Ee = ["Mon", "Tue", "Wed", "Thu", "Fri", "Sat", "Sun"], 5195 Ce = ["M", "T", "W", "T", "F", "S", "S"]; 5196 function De(e) { 5197 switch (e) { 5198 case "narrow": 5199 return Ce; 5200 case "short": 5201 return Ee; 5202 case "long": 5203 return Se; 5204 case "numeric": 5205 return ["1", "2", "3", "4", "5", "6", "7"]; 5206 default: 5207 return null; 5208 } 5209 } 5210 var je = ["AM", "PM"], 5211 Oe = ["Before Christ", "Anno Domini"], 5212 _e = ["BC", "AD"], 5213 Ne = ["B", "A"]; 5214 function Ae(e) { 5215 switch (e) { 5216 case "narrow": 5217 return Ne; 5218 case "short": 5219 return _e; 5220 case "long": 5221 return Oe; 5222 default: 5223 return null; 5224 } 5225 } 5226 function Le(e, t) { 5227 for (var n, r = "", i = f(e); !(n = i()).done; ) { 5228 var o = n.value; 5229 o.literal ? (r += o.val) : (r += t(o.val)); 5230 } 5231 return r; 5232 } 5233 var Me = { D: S, DD: E, DDD: D, DDDD: j, t: O, tt: _, ttt: N, tttt: A, T: L, TT: M, TTT: I, TTTT: $, f: q, ff: H, fff: R, ffff: W, F: P, FF: F, FFF: V, FFFF: U }, 5234 Ie = (function () { 5235 function e(e, t) { 5236 (this.opts = t), (this.loc = e), (this.systemLoc = null); 5237 } 5238 (e.create = function (t, n) { 5239 return void 0 === n && (n = {}), new e(t, n); 5240 }), 5241 (e.parseFormat = function (e) { 5242 for (var t = null, n = "", r = !1, i = [], o = 0; o < e.length; o++) { 5243 var a = e.charAt(o); 5244 "'" === a ? (n.length > 0 && i.push({ literal: r, val: n }), (t = null), (n = ""), (r = !r)) : r || a === t ? (n += a) : (n.length > 0 && i.push({ literal: !1, val: n }), (n = a), (t = a)); 5245 } 5246 return n.length > 0 && i.push({ literal: r, val: n }), i; 5247 }), 5248 (e.macroTokenToFormatOpts = function (e) { 5249 return Me[e]; 5250 }); 5251 var t = e.prototype; 5252 return ( 5253 (t.formatWithSystemDefault = function (e, t) { 5254 return null === this.systemLoc && (this.systemLoc = this.loc.redefaultToSystem()), this.systemLoc.dtFormatter(e, Object.assign({}, this.opts, t)).format(); 5255 }), 5256 (t.formatDateTime = function (e, t) { 5257 return void 0 === t && (t = {}), this.loc.dtFormatter(e, Object.assign({}, this.opts, t)).format(); 5258 }), 5259 (t.formatDateTimeParts = function (e, t) { 5260 return void 0 === t && (t = {}), this.loc.dtFormatter(e, Object.assign({}, this.opts, t)).formatToParts(); 5261 }), 5262 (t.resolvedOptions = function (e, t) { 5263 return void 0 === t && (t = {}), this.loc.dtFormatter(e, Object.assign({}, this.opts, t)).resolvedOptions(); 5264 }), 5265 (t.num = function (e, t) { 5266 if ((void 0 === t && (t = 0), this.opts.forceSimple)) return ne(e, t); 5267 var n = Object.assign({}, this.opts); 5268 return t > 0 && (n.padTo = t), this.loc.numberFormatter(n).format(e); 5269 }), 5270 (t.formatDateTimeFromString = function (t, n) { 5271 var r = this, 5272 i = "en" === this.loc.listingMode(), 5273 o = this.loc.outputCalendar && "gregory" !== this.loc.outputCalendar && Y(), 5274 a = function (e, n) { 5275 return r.loc.extract(t, e, n); 5276 }, 5277 s = function (e) { 5278 return t.isOffsetFixed && 0 === t.offset && e.allowZ ? "Z" : t.isValid ? t.zone.formatOffset(t.ts, e.format) : ""; 5279 }, 5280 u = function () { 5281 return i 5282 ? (function (e) { 5283 return je[e.hour < 12 ? 0 : 1]; 5284 })(t) 5285 : a({ hour: "numeric", hour12: !0 }, "dayperiod"); 5286 }, 5287 l = function (e, n) { 5288 return i 5289 ? (function (e, t) { 5290 return ke(t)[e.month - 1]; 5291 })(t, e) 5292 : a(n ? { month: e }
5292 : { month: e, day: "numeric" }, "month"); 5293 }, 5294 c = function (e, n) { 5295 return i 5296 ? (function (e, t) { 5297 return De(t)[e.weekday - 1]; 5298 })(t, e) 5299 : a(n ? { weekday: e } : { weekday: e, month: "long", day: "numeric" }, "weekday"); 5300 }, 5301 d = function (e) { 5302 return i 5303 ? (function (e, t) { 5304 return Ae(t)[e.year < 0 ? 0 : 1]; 5305 })(t, e) 5306 : a({ era: e }, "era"); 5307 }; 5308 return Le(e.parseFormat(n), function (n) { 5309 switch (n) { 5310 case "S": 5311 return r.num(t.millisecond); 5312 case "u": 5313 case "SSS": 5314 return r.num(t.millisecond, 3); 5315 case "s": 5316 return r.num(t.second); 5317 case "ss": 5318 return r.num(t.second, 2); 5319 case "m": 5320 return r.num(t.minute); 5321 case "mm": 5322 return r.num(t.minute, 2); 5323 case "h": 5324 return r.num(t.hour % 12 == 0 ? 12 : t.hour % 12); 5325 case "hh": 5326 return r.num(t.hour % 12 == 0 ? 12 : t.hour % 12, 2); 5327 case "H": 5328 return r.num(t.hour); 5329 case "HH": 5330 return r.num(t.hour, 2); 5331 case "Z": 5332 return s({ format: "narrow", allowZ: r.opts.allowZ }); 5333 case "ZZ": 5334 return s({ format: "short", allowZ: r.opts.allowZ }); 5335 case "ZZZ": 5336 return s({ format: "techie", allowZ: r.opts.allowZ }); 5337 case "ZZZZ": 5338 return t.zone.offsetName(t.ts, { format: "short", locale: r.loc.locale }); 5339 case "ZZZZZ": 5340 return t.zone.offsetName(t.ts, { format: "long", locale: r.loc.locale }); 5341 case "z": 5342 return t.zoneName; 5343 case "a": 5344 return u(); 5345 case "d":
5346 return o ? a({ day: "numeric" }, "day") : r.num(t.day); 5347 case "dd": 5348 return o ? a({ day: "2-digit" }, "day") : r.num(t.day, 2); 5349 case "c": 5350 return r.num(t.weekday); 5351 case "ccc": 5352 return c("short", !0); 5353 case "cccc": 5354 return c("long", !0); 5355 case "ccccc": 5356 return c("narrow", !0); 5357 case "E": 5358 return r.num(t.weekday); 5359 case "EEE": 5360 return c("short", !1); 5361 case "EEEE": 5362 return c("long", !1); 5363 case "EEEEE": 5364 return c("narrow", !1); 5365 case "L": 5366 return o ? a({ month: "numeric", day: "numeric" }, "month") : r.num(t.month); 5367 case "LL": 5368 return o ? a({ month: "2-digit", day: "numeric" }, "month") : r.num(t.month, 2); 5369 case "LLL": 5370 return l("short", !0); 5371 case "LLLL": 5372 return l("long", !0); 5373 case "LLLLL": 5374 return l("narrow", !0); 5375 case "M": 5376 return o ? a({ month: "numeric" }, "month") : r.num(t.month); 5377 case "MM": 5378 return o ? a({ month: "2-digit" }, "month") : r.num(t.month, 2); 5379 case "MMM": 5380 return l("short", !1); 5381 case "MMMM": 5382 return l("long", !1); 5383 case "MMMMM": 5384 return l("narrow", !1); 5385 case "y": 5386 return o ? a({ year: "numeric" }, "year") : r.num(t.year); 5387 case "yy": 5388 return o ? a({ year: "2-digit" }, "year") : r.num(t.year.toString().slice(-2), 2); 5389 case "yyyy": 5390 return o ? a({ year: "numeric" }, "year") : r.num(t.year, 4); 5391 case "yyyyyy": 5392 return o ? a({ year: "numeric" }, "year") : r.num(t.year, 6); 5393 case "G": 5394 return d("short"); 5395 case "GG": 5396 return d("long"); 5397 case "GGGGG": 5398 return d("narrow"); 5399 case "kk": 5400 return r.num(t.weekYear.toString().slice(-2), 2); 5401 case "kkkk": 5402 return r.num(t.weekYear, 4); 5403 case "W": 5404 return r.num(t.weekNumber); 5405 case "WW": 5406 return r.num(t.weekNumber, 2); 5407 case "o": 5408 return r.num(t.ordinal); 5409 case "ooo": 5410 return r.num(t.ordinal, 3); 5411 case "q": 5412 return r.num(t.quarter); 5413 case "qq": 5414 return r.num(t.quarter, 2); 5415 case "X": 5416 return r.num(Math.floor(t.ts / 1e3)); 5417 case "x": 5418 return r.num(t.ts); 5419 default: 5420 return (function (n) { 5421 var i = e.macroTokenToFormatOpts(n); 5422 return i ? r.formatWithSystemDefault(t, i) : n; 5423 })(n); 5424 } 5425 }); 5426}), 5427(t.formatDurationFromString = function (t, n) { 5428 var r, 5429 i = this, 5430 o = function (e) { 5431 switch (e[0]) { 5432 case "S": 5433 return "millisecond"; 5434 case "s": 5435 return "second"; 5436 case "m": 5437 return "minute"; 5438 case "h": 5439 return "hour"; 5440 case "d": 5441 return "day"; 5442 case "M": 5443 return "month"; 5444 case "y": 5445 return "year"; 5446 default: 5447 return null; 5448 } 5449 }, 5450 a = e.parseFormat(n), 5451 s = a.reduce(function (e, t) { 5452 var n = t.literal, 5453 r = t.val; 5454 return n ? e : e.concat(r); 5455 }, []), 5456 u = t.shiftTo.apply( 5457 t, 5458 s.map(o).filter(function (e) { 5459 return e; 5460 }) 5461 ); 5462 return Le( 5463 a, 5464 ((r = u), 5465 function (e) { 5466 var t = o(e); 5467 return t ? i.num(r.get(t), e.length) : e; 5468 }) 5469 ); 5470}), 5471e 5472); 5473})(), 5474$e = (function () { 5475 function e(e, t) { 5476 (this.reason = e), (this.explanation = t); 5477 } 5478 return ( 5479 (e.prototype.toMessage = function () { 5480 return this.explanation ? this.reason + ": " + this.explanation : this.reason; 5481 }), 5482 e 5483 ); 5484})(), 5485qe = (function () { 5486 function e() {} 5487 var t = e.prototype; 5488 return ( 5489 (t.offsetName = function (e, t) { 5490 throw new w(); 5491 }), 5492 (t.formatOffset = function (e, t) { 5493 throw new w(); 5494 }), 5495 (t.offset = function (e) { 5496 throw new w(); 5497 }), 5498 (t.equals = function (e) { 5499 throw new w(); 5500 }), 5501 i(e, [ 5502 { 5503 key: "type", 5504 get: function () { 5505 throw new w(); 5506 }, 5507 }, 5508 { 5509 key: "name", 5510 get: function () { 5511 throw new w(); 5512 }, 5513 }, 5514 { 5515 key: "universal", 5516 get: function () { 5517 throw new w(); 5518 }, 5519 }, 5520 { 5521 key: "isValid", 5522 get: function () { 5523 throw new w(); 5524 }, 5525 }, 5526 ]), 5527 e 5528 ); 5529})(), 5530Pe = null, 5531He = (function (e) { 5532 function t() { 5533 return e.apply(this, arguments) || this; 5534 } 5535 o(t, e); 5536 var n = t.prototype; 5537 return ( 5538 (n.offsetName = function (e, t) { 5539 return fe(e, t.format, t.locale); 5540 }), 5541 (n.formatOffset = function (e, t) { 5542 return ge(this.offset(e), t); 5543 }), 5544 (n.offset = function (e) { 5545 return -new Date(e).getTimezoneOffset(); 5546 }), 5547 (n.equals = function (e) { 5548 return "local" === e.type; 5549 }), 5550 i( 5551 t, 5552 [ 5553 { 5554 key: "type", 5555 get: function () { 5556 return "local"; 5557 }, 5558 }, 5559 { 5560 key: "name", 5561 get: function () { 5562 return J() ? new Intl.DateTimeFormat().resolvedOptions().timeZone : "local"; 5563 }, 5564 }, 5565 { 5566 key: "universal", 5567 get: function () { 5568 return !1; 5569 }, 5570 }, 5571 { 5572 key: "isValid", 5573 get: function () { 5574 return !0; 5575 }, 5576 }, 5577 ], 5578 [ 5579 { 5580 key: "instance", 5581 get: function () {
5582 return null === Pe && (Pe = new t()), Pe; 5583 }, 5584 }, 5585 ] 5586 ), 5587 t 5588 ); 5589})(qe), 5590Fe = RegExp("^" + ye.source + "$"), 5591ze = {}; 5592var Re = { year: 0, month: 1, day: 2, hour: 3, minute: 4, second: 5 }; 5593var Ve = {}, 5594We = (function (e) { 5595 function t(n) { 5596 var r; 5597 return ((r = e.call(this) || this).zoneName = n), (r.valid = t.isValidZone(n)), r; 5598 } 5599 o(t, e), 5600 (t.create = function (e) { 5601 return Ve[e] || (Ve[e] = new t(e)), Ve[e]; 5602 }), 5603 (t.resetCache = function () { 5604 (Ve = {}), (ze = {}); 5605 }), 5606 (t.isValidSpecifier = function (e) { 5607 return !(!e || !e.match(Fe)); 5608 }), 5609 (t.isValidZone = function (e) { 5610 try { 5611 return new Intl.DateTimeFormat("en-US", { timeZone: e }).format(), !0; 5612 } catch (e) { 5613 return !1; 5614 } 5615 }), 5616 (t.parseGMTOffset = function (e) { 5617 if (e) { 5618 var t = e.match(/^Etc\/GMT([+-]\d{1,2})$/i); 5619 if (t) return -60 * parseInt(t[1]); 5620 } 5621 return null; 5622 }); 5623 var n = t.prototype; 5624 return ( 5625 (n.offsetName = function (e, t) { 5626 return fe(e, t.format, t.locale, this.name); 5627 }), 5628 (n.formatOffset = function (e, t) { 5629 return ge(this.offset(e), t); 5630 }), 5631 (n.offset = function (e) { 5632 var t, 5633 n = new Date(e), 5634 r = 5635 ((t = this.name), 5636 ze[t] || (ze[t] = new Intl.DateTimeFormat("en-US", { hour12: !1, timeZone: t, year: "numeric", month: "2-digit", day: "2-digit", hour: "2-digit", minute: "2-digit", second: "2-digit" })), 5637 ze[t]), 5638 i = r.formatToParts 5639 ? (function (e, t) { 5640 for (var n = e.formatToParts(t), r = [], i = 0; i < n.length; i++) { 5641 var o = n[i], 5642 a = o.type, 5643 s = o.value, 5644 u = Re[a]; 5645 B(u) || (r[u] = parseInt(s, 10)); 5646 } 5647 return r; 5648 })(r, n) 5649 : (function (e, t) { 5650 var n = e.format(t).replace(/\u200E/g, ""), 5651 r = /(\d+)\/(\d+)\/(\d+),? (\d+):(\d+):(\d+)/.exec(n), 5652 i = r[1], 5653 o = r[2]; 5654 return [r[3], i, o, r[4], r[5], r[6]]; 5655 })(r, n), 5656 o = i[0], 5657 a = i[1], 5658 s = i[2], 5659 u = i[3], 5660 l = +n, 5661 c = l % 1e3; 5662 return (le({ year: o, month: a, day: s, hour: 24 === u ? 0 : u, minute: i[4], second: i[5], millisecond: 0 }) - (l -= c >= 0 ? c : 1e3 + c)) / 6e4; 5663 }), 5664 (n.equals = function (e) { 5665 return "iana" === e.type && e.name === this.name; 5666 }), 5667 i(t, [ 5668 { 5669 key: "type", 5670 get: function () { 5671 return "iana"; 5672 }, 5673 }, 5674 { 5675 key: "name", 5676 get: function () { 5677 return this.zoneName; 5678 }, 5679 }, 5680 { 5681 key: "universal", 5682 get: function () { 5683 return !1; 5684 }, 5685 }, 5686 { 5687 key: "isValid", 5688 get: function () { 5689 return this.valid; 5690 }, 5691 }, 5692 ]), 5693 t 5694 ); 5695})(qe), 5696Ue = null, 5697Be = (function (e) { 5698 function t(t) { 5699 var n; 5700 return ((n = e.call(this) || this).fixed = t), n; 5701 } 5702 o(t, e), 5703 (t.instance = function (e) { 5704 return 0 === e ? t.utcInstance : new t(e); 5705 }), 5706 (t.parseSpecifier = function (e) { 5707 if (e) { 5708 var n = e.match(/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i); 5709 if (n) return new t(he(n[1], n[2])); 5710 } 5711 return null; 5712 }), 5713 i(t, null, [ 5714 { 5715 key: "utcInstance", 5716 get: function () { 5717 return null === Ue && (Ue = new t(0)), Ue; 5718 }, 5719 }, 5720 ]); 5721 var n = t.prototype; 5722 return ( 5723 (n.offsetName = function () { 5724 return this.name; 5725 }), 5726 (n.formatOffset = function (e, t) { 5727 return ge(this.fixed, t); 5728 }), 5729 (n.offset = function () { 5730 return this.fixed; 5731 }), 5732 (n.equals = function (e) { 5733 return "fixed" === e.type && e.fixed === this.fixed; 5734 }), 5735 i(t, [ 5736 { 5737 key: "type", 5738 get: function () { 5739 return "fixed"; 5740 }, 5741 }, 5742 { 5743 key: "name", 5744 get: function () { 5745 return 0 === this.fixed ? "UTC" : "UTC" + ge(this.fixed, "narrow"); 5746 }, 5747 }, 5748 { 5749 key: "universal", 5750 get: function () { 5751 return !0; 5752 }, 5753 }, 5754 { 5755 key: "isValid", 5756 get: function () { 5757 return !0; 5758 }, 5759 }, 5760 ]), 5761 t 5762 ); 5763})(qe), 5764Qe = (function (e) { 5765 function t(t) { 5766 var n; 5767 return ((n = e.call(this) || this).zoneName = t), n; 5768 } 5769 o(t, e); 5770 var n = t.prototype; 5771 return ( 5772 (n.offsetName = function () { 5773 return null; 5774 }), 5775 (n.formatOffset = function () { 5776 return ""; 5777 }), 5778 (n.offset = function () { 5779 return NaN; 5780 }), 5781 (n.equals = function () { 5782 return !1; 5783 }), 5784 i(t, [ 5785 { 5786 key: "type", 5787 get: function () {
5788 return "invalid"; 5789 }, 5790 }, 5791 { 5792 key: "name", 5793 get: function () { 5794 return this.zoneName; 5795 }, 5796 }, 5797 { 5798 key: "universal", 5799 get: function () { 5800 return !1; 5801 }, 5802 }, 5803 { 5804 key: "isValid", 5805 get: function () { 5806 return !1; 5807 }, 5808 }, 5809 ]), 5810 t 5811 ); 5812})(qe); 5813function Ze(e, t) { 5814 var n; 5815 if (B(e) || null === e) return t; 5816 if (e instanceof qe) return e; 5817 if ("string" == typeof e) { 5818 var r = e.toLowerCase(); 5819 return "local" === r ? t : "utc" === r || "gmt" === r ? Be.utcInstance : null != (n = We.parseGMTOffset(e)) ? Be.instance(n) : We.isValidSpecifier(r) ? We.create(e) : Be.parseSpecifier(r) || new Qe(e); 5820 } 5821 return Q(e) ? Be.instance(e) : "object" == typeof e && e.offset && "number" == typeof e.offset ? e : new Qe(e); 5822} 5823var Je = function () { 5824 return Date.now(); 5825}, 5826Ye = null, 5827Ge = null, 5828Xe = null, 5829Ke = null, 5830et = !1, 5831tt = (function () { 5832 function e() {} 5833 return ( 5834 (e.resetCaches = function () { 5835 ft.resetCache(), We.resetCache(); 5836 }), 5837 i(e, null, [ 5838 { 5839 key: "now", 5840 get: function () { 5841 return Je; 5842 }, 5843 set: function (e) { 5844 Je = e; 5845 }, 5846 }, 5847 { 5848 key: "defaultZoneName", 5849 get: function () { 5850 return e.defaultZone.name; 5851 }, 5852 set: function (e) { 5853 Ye = e ? Ze(e) : null; 5854 }, 5855 }, 5856 { 5857 key: "defaultZone", 5858 get: function () { 5859 return Ye || He.instance; 5860 }, 5861 }, 5862 { 5863 key: "defaultLocale", 5864 get: function () { 5865 return Ge; 5866 }, 5867 set: function (e) { 5868 Ge = e; 5869 }, 5870 }, 5871 { 5872 key: "defaultNumberingSystem", 5873 get: function () { 5874 return Xe; 5875 }, 5876 set: function (e) { 5877 Xe = e; 5878 }, 5879 }, 5880 { 5881 key: "defaultOutputCalendar", 5882 get: function () { 5883 return Ke; 5884 }, 5885 set: function (e) { 5886 Ke = e; 5887 }, 5888 }, 5889 { 5890 key: "throwOnInvalid", 5891 get: function () { 5892 return et; 5893 }, 5894 set: function (e) { 5895 et = e; 5896 }, 5897 }, 5898 ]), 5899 e 5900 ); 5901})(), 5902nt = {}; 5903function rt(e, t) { 5904 void 0 === t && (t = {}); 5905 var n = JSON.stringify([e, t]), 5906 r = nt[n]; 5907 return r || ((r = new Intl.DateTimeFormat(e, t)), (nt[n] = r)), r; 5908} 5909var it = {}; 5910var ot = {}; 5911function at(e, t) { 5912 void 0 === t && (t = {}); 5913 var n = t, 5914 r = 5915 (n.base, 5916 (function (e, t) { 5917 if (null == e) return {}; 5918 var n, 5919 r, 5920 i = {}, 5921 o = Object.keys(e); 5922 for (r = 0; r < o.length; r++) (n = o[r]), t.indexOf(n) >= 0 || (i[n] = e[n]); 5923 return i; 5924 })(n, ["base"])), 5925 i = JSON.stringify([e, r]), 5926 o = ot[i]; 5927 return o || ((o = new Intl.RelativeTimeFormat(e, t)), (ot[i] = o)), o; 5928} 5929var st = null; 5930function ut(e, t, n, r, i) { 5931 var o = e.listingMode(n); 5932 return "error" === o ? null : "en" === o ? r(t) : i(t); 5933} 5934var lt = (function () { 5935 function e(e, t, n) { 5936 if (((this.padTo = n.padTo || 0), (this.floor = n.floor || !1), !t && J())) { 5937 var r = { useGrouping: !1 }; 5938 n.padTo > 0 && (r.minimumIntegerDigits = n.padTo), 5939 (this.inf = (function (e, t) { 5940 void 0 === t && (t = {}); 5941 var n = JSON.stringify([e, t]), 5942 r = it[n]; 5943 return r || ((r = new Intl.NumberFormat(e, t)), (it[n] = r)), r; 5944 })(e, r)); 5945 } 5946 } 5947 return ( 5948 (e.prototype.format = function (e) { 5949 if (this.inf) { 5950 var t = this.floor ? Math.floor(e) : e; 5951 return this.inf.format(t); 5952 } 5953 return ne(this.floor ? Math.floor(e) : oe(e, 3), this.padTo); 5954 }), 5955 e 5956 ); 5957})(), 5958ct = (function () { 5959 function e(e, t, n) { 5960 var r; 5961 if ( 5962 ((this.opts = n), 5963 (this.hasIntl = J()), 5964 e.zone.universal && this.hasIntl 5965 ? ((r = "UTC"), n.timeZoneName ? (this.dt = e) : (this.dt = 0 === e.offset ? e : ur.fromMillis(e.ts + 60 * e.offset * 1e3))) 5966 : "local" === e.zone.type 5967 ? (this.dt = e) 5968 : ((this.dt = e), (r = e.zone.name)), 5969 this.hasIntl) 5970 ) { 5971 var i = Object.assign({}, this.opts); 5972 r && (i.timeZone = r), (this.dtf = rt(t, i)); 5973 } 5974} 5975var t = e.prototype; 5976return ( 5977 (t.format = function () { 5978 if (this.hasIntl) return this.dtf.format(this.dt.toJSDate()); 5979 var e = (function (e) { 5980 switch (be(K(e, ["weekday", "era", "year", "month", "day", "hour", "minute", "second", "timeZoneName", "hour12"]))) { 5981 case be(S): 5982 return "M/d/yyyy"; 5983 case be(E): 5984 return "LLL d, yyyy"; 5985 case be(C): 5986 return "EEE, LLL d, yyyy"; 5987 case be(D): 5988 return "LLLL d, yyyy"; 5989 case be(j):
5990 return "EEEE, LLLL d, yyyy"; 5991 case be(O): 5992 return "h:mm a"; 5993 case be(_): 5994 return "h:mm:ss a"; 5995 case be(N): 5996 case be(A): 5997 return "h:mm a"; 5998 case be(L): 5999 return "HH:mm"; 6000 case be(M): 6001 return "HH:mm:ss"; 6002 case be(I): 6003 case be($): 6004 return "HH:mm"; 6005 case be(q): 6006 return "M/d/yyyy, h:mm a"; 6007 case be(H): 6008 return "LLL d, yyyy, h:mm a"; 6009 case be(R): 6010 return "LLLL d, yyyy, h:mm a"; 6011 case be(W): 6012 return "EEEE, LLLL d, yyyy, h:mm a"; 6013 case be(P): 6014 return "M/d/yyyy, h:mm:ss a"; 6015 case be(F): 6016 return "LLL d, yyyy, h:mm:ss a"; 6017 case be(z): 6018 return "EEE, d LLL yyyy, h:mm a"; 6019 case be(V): 6020 return "LLLL d, yyyy, h:mm:ss a"; 6021 case be(U): 6022 return "EEEE, LLLL d, yyyy, h:mm:ss a"; 6023 default: 6024 return "EEEE, LLLL d, yyyy, h:mm a"; 6025 } 6026 })(this.opts), 6027 t = ft.create("en-US"); 6028 return Ie.create(t).formatDateTimeFromString(this.dt, e); 6029 }), 6030 (t.formatToParts = function () { 6031 return this.hasIntl && Y() ? this.dtf.formatToParts(this.dt.toJSDate()) : []; 6032 }), 6033 (t.resolvedOptions = function () { 6034 return this.hasIntl ? this.dtf.resolvedOptions() : { locale: "en-US", numberingSystem: "latn", outputCalendar: "gregory" }; 6035 }), 6036 e 6037 ); 6038})(), 6039dt = (function () { 6040 function e(e, t, n) { 6041 (this.opts = Object.assign({ style: "long" }, n)), !t && G() && (this.rtf = at(e, n)); 6042 } 6043 var t = e.prototype; 6044 return ( 6045 (t.format = function (e, t) { 6046 return this.rtf 6047 ? this.rtf.format(e, t) 6048 : (function (e, t, n, r) { 6049 void 0 === n && (n = "always"), void 0 === r && (r = !1); 6050 var i = { 6051 years: ["year", "yr."], 6052 quarters: ["quarter", "qtr."], 6053 months: ["month", "mo."], 6054 weeks: ["week", "wk."], 6055 days: ["day", "day", "days"], 6056 hours: ["hour", "hr."], 6057 minutes: ["minute", "min."], 6058 seconds: ["second", "sec."], 6059 }, 6060 o = -1 === ["hours", "minutes", "seconds"].indexOf(e); 6061 if ("auto" === n && o) { 6062 var a = "days" === e; 6063 switch (t) { 6064 case 1: 6065 return a ? "tomorrow" : "next " + i[e][0]; 6066 case -1: 6067 return a ? "yesterday" : "last " + i[e][0]; 6068 case 0: 6069 return a ? "today" : "this " + i[e][0]; 6070 } 6071 } 6072 var s = Object.is(t, -0) || t < 0, 6073 u = Math.abs(t), 6074 l = 1 === u, 6075 c = i[e],
6076 d = r ? (l ? c[1] : c[2] || c[1]) : l ? i[e][0] : e; 6077 return s ? u + " " + d + " ago" : "in " + u + " " + d; 6078 })(t, e, this.opts.numeric, "long" !== this.opts.style); 6079 }), 6080 (t.formatToParts = function (e, t) { 6081 return this.rtf ? this.rtf.formatToParts(e, t) : []; 6082 }), 6083 e 6084 ); 6085})(), 6086ft = (function () { 6087 function e(e, t, n, r) { 6088 var i = (function (e) { 6089 var t = e.indexOf("-u-"); 6090 if (-1 === t) return [e]; 6091 var n, 6092 r = e.substring(0, t); 6093 try { 6094 n = rt(e).resolvedOptions(); 6095 } catch (e) { 6096 n = rt(r).resolvedOptions(); 6097 } 6098 var i = n; 6099 return [r, i.numberingSystem, i.calendar]; 6100 })(e), 6101 o = i[0], 6102 a = i[1], 6103 s = i[2]; 6104 (this.locale = o), 6105 (this.numberingSystem = t || a || null), 6106 (this.outputCalendar = n || s || null), 6107 (this.intl = (function (e, t, n) { 6108 return J() ? (n || t ? ((e += "-u"), n && (e += "-ca-" + n), t && (e += "-nu-" + t), e) : e) : []; 6109 })(this.locale, this.numberingSystem, this.outputCalendar)), 6110 (this.weekdaysCache = { format: {}, standalone: {} }), 6111 (this.monthsCache = { format: {}, standalone: {} }), 6112 (this.meridiemCache = null), 6113 (this.eraCache = {}), 6114 (this.specifiedLocale = r), 6115 (this.fastNumbersCached = null); 6116 } 6117 (e.fromOpts = function (t) { 6118 return e.create(t.locale, t.numberingSystem, t.outputCalendar, t.defaultToEN); 6119 }), 6120 (e.create = function (t, n, r, i) { 6121 void 0 === i && (i = !1); 6122 var o = t || tt.defaultLocale; 6123 return new e( 6124 o || 6125 (i 6126 ? "en-US" 6127 : (function () { 6128 if (st) return st; 6129 if (J()) { 6130 var e = new Intl.DateTimeFormat().resolvedOptions().locale; 6131 return (st = e && "und" !== e ? e : "en-US"); 6132 } 6133 return (st = "en-US"); 6134 })()), 6135 n || tt.defaultNumberingSystem, 6136 r || tt.defaultOutputCalendar, 6137 o 6138 ); 6139 }), 6140 (e.resetCache = function () { 6141 (st = null), (nt = {}), (it = {}), (ot = {}); 6142 }), 6143 (e.fromObject = function (t) { 6144 var n = void 0 === t ? {} : t, 6145 r = n.locale, 6146 i = n.numberingSystem, 6147 o = n.outputCalendar; 6148 return e.create(r, i, o); 6149 }); 6150 var t = e.prototype; 6151 return ( 6152 (t.listingMode = function (e) { 6153 void 0 === e && (e = !0); 6154 var t = J() && Y(), 6155 n = this.isEnglish(), 6156 r = !((null !== this.numberingSystem && "latn" !== this.numberingSystem) || (null !== this.outputCalendar && "gregory" !== this.outputCalendar)); 6157 return t || (n && r) || e ? (!t || (n && r) ? "en" : "intl") : "error"; 6158 }), 6159 (t.clone = function (t) { 6160 return t && 0 !== Object.getOwnPropertyNames(t).length ? e.create(t.locale || this.specifiedLocale, t.numberingSystem || this.numberingSystem, t.outputCalendar || this.outputCalendar, t.defaultToEN || !1) : this; 6161 }), 6162 (t.redefaultToEN = function (e) { 6163 return void 0 === e && (e = {}), this.clone(Object.assign({}, e, { defaultToEN: !0 })); 6164 }), 6165 (t.redefaultToSystem = function (e) { 6166 return void 0 === e && (e = {}), this.clone(Object.assign({}, e, { defaultToEN: !1 })); 6167 }), 6168 (t.months = function (e, t, n) { 6169 var r = this; 6170 return ( 6171 void 0 === t && (t = !1), 6172 void 0 === n && (n = !0), 6173 ut(this, e, n, ke, function () { 6174 var n = t ? { month: e, day: "numeric" } : { month: e }, 6175 i = t ? "format" : "standalone"; 6176 return ( 6177 r.monthsCache[i][e] || 6178 (r.monthsCache[i][e] = (function (e) { 6179 for (var t = [], n = 1; n <= 12; n++) { 6180 var r = ur.utc(2016, n, 1); 6181 t.push(e(r)); 6182 } 6183 return t; 6184 })(function (e) { 6185 return r.extract(e, n, "month"); 6186 })), 6187 r.monthsCache[i][e] 6188 ); 6189 }) 6190 ); 6191 }), 6192 (t.weekdays = function (e, t, n) { 6193 var r = this; 6194 return ( 6195 void 0 === t && (t = !1), 6196 void 0 === n && (n = !0), 6197 ut(this, e, n, De, function () { 6198 var n = t ? { weekday: e, year: "numeric", month: "long", day: "numeric" } : { weekday: e }, 6199 i = t ? "format" : "standalone"; 6200 return ( 6201 r.weekdaysCache[i][e] || 6202 (r.weekdaysCache[i][e] = (function (e) { 6203 for (var t = [], n = 1; n <= 7; n++) { 6204 var r = ur.utc(2016, 11, 13 + n); 6205 t.push(e(r)); 6206 } 6207 return t; 6208 })(function (e) { 6209 return r.extract(e, n, "weekday"); 6210 })), 6211 r.weekdaysCache[i][e] 6212 ); 6213 }) 6214 ); 6215 }), 6216 (t.meridiems = function (e) { 6217 var t = this; 6218 return ( 6219 void 0 === e && (e = !0), 6220 ut( 6221 this, 6222 void 0, 6223 e, 6224 function () { 6225 return je; 6226 }, 6227 function () { 6228 if (!t.meridiemCache) { 6229 var e = { hour: "numeric", hour12: !0 }; 6230 t.meridiemCache = [ur.utc(2016, 11, 13, 9), ur.utc(2016, 11, 13, 19)].map(function (n) { 6231 return t.extract(n, e, "dayperiod"); 6232 }); 6233 } 6234 return t.meridiemCache; 6235 } 6236 ) 6237 ); 6238 }), 6239 (t.eras = function (e, t) { 6240 var n = this; 6241 return ( 6242 void 0 === t && (t = !0), 6243 ut(this, e, t, Ae, function () { 6244 var t = { era: e }; 6245 return ( 6246 n.eraCache[e] || 6247 (n.eraCache[e] = [ur.utc(-40, 1, 1), ur.utc(2017, 1, 1)].map(function (e) { 6248 return n.extract(e, t, "era"); 6249 })), 6250 n.eraCache[e] 6251 ); 6252 }) 6253 ); 6254 }), 6255 (t.extract = function (e, t, n) { 6256 var r = this.dtFormatter(e, t) 6257 .formatToParts() 6258 .find(function (e) { 6259 return e.type.toLowerCase() === n; 6260 }); 6261 return r ? r.value : null; 6262 }), 6263 (t.numberFormatter = function (e) { 6264 return void 0 === e && (e = {}), new lt(this.intl, e.forceSimple || this.fastNumbers, e); 6265 }), 6266 (t.dtFormatter = function (e, t) { 6267 return void 0 === t && (t = {}), new ct(e, this.intl, t); 6268 }), 6269 (t.relFormatter = function (e) { 6270 return void 0 === e && (e = {}), new dt(this.intl, this.isEnglish(), e); 6271 }), 6272 (t.isEnglish = function () { 6273 return "en" === this.locale || "en-us" === this.locale.toLowerCase() || (J() && new Intl.DateTimeFormat(this.intl).resolvedOptions().locale.startsWith("en-us")); 6274 }), 6275 (t.equals = function (e) { 6276 return this.locale === e.locale && this.numberingSystem === e.
6276numberingSystem && this.outputCalendar === e.outputCalendar; 6277 }), 6278 i(e, [ 6279 { 6280 key: "fastNumbers", 6281 get: function () { 6282 var e; 6283 return ( 6284 null == this.fastNumbersCached && 6285 (this.fastNumbersCached = 6286 (!(e = this).numberingSystem || "latn" === e.numberingSystem) && 6287 ("latn" === e.numberingSystem || !e.locale || e.locale.startsWith("en") || (J() && "latn" === new Intl.DateTimeFormat(e.intl).resolvedOptions().numberingSystem))), 6288 this.fastNumbersCached 6289 ); 6290 }, 6291 }, 6292 ]), 6293 e 6294 ); 6295})(); 6296function ht() { 6297 for (var e = arguments.length, t = new Array(e), n = 0; n < e; n++) t[n] = arguments[n]; 6298 var r = t.reduce(function (e, t) { 6299 return e + t.source; 6300 }, ""); 6301 return RegExp("^" + r + "$"); 6302} 6303function pt() { 6304 for (var e = arguments.length, t = new Array(e), n = 0; n < e; n++) t[n] = arguments[n]; 6305 return function (e) { 6306 return t 6307 .reduce( 6308 function (t, n) { 6309 var r = t[0], 6310 i = t[1], 6311 o = t[2], 6312 a = n(e, o), 6313 s = a[0], 6314 u = a[1], 6315 l = a[2]; 6316 return [Object.assign(r, s), i || u, l]; 6317 }, 6318 [{}, null, 1] 6319 ) 6320 .slice(0, 2); 6321 }; 6322 } 6323 function mt(e) { 6324 if (null == e) return [null, null]; 6325 for (var t = arguments.length, n = new Array(t > 1 ? t - 1 : 0), r = 1; r < t; r++) n[r - 1] = arguments[r]; 6326 for (var i = 0, o = n; i < o.length; i++) { 6327 var a = o[i], 6328 s = a[0], 6329 u = a[1], 6330 l = s.exec(e); 6331 if (l) return u(l); 6332 } 6333 return [null, null]; 6334 } 6335 function gt() { 6336 for (var e = arguments.length, t = new Array(e), n = 0; n < e; n++) t[n] = arguments[n]; 6337 return function (e, n) { 6338 var r, 6339 i = {}; 6340 for (r = 0; r < t.length; r++) i[t[r]] = re(e[n + r]); 6341 return [i, null, n + r]; 6342 }; 6343 } 6344 var vt = /(?:(Z)|([+-]\d\d)(?::?(\d\d))?)/, 6345 yt = /(\d\d)(?::?(\d\d)(?::?(\d\d)(?:[.,](\d{1,30}))?)?)?/, 6346 bt = RegExp("" + yt.source + vt.source + "?"), 6347 wt = RegExp("(?:T" + bt.source + ")?"), 6348 xt = gt("weekYear", "weekNumber", "weekDay"), 6349 Tt = gt("year", "ordinal"), 6350 kt = RegExp(yt.source + " ?(?:" + vt.source + "|(" + ye.source + "))?"), 6351 St = RegExp("(?: " + kt.source + ")?"); 6352 function Et(e, t, n) { 6353 var r = e[t]; 6354 return B(r) ? n : re(r); 6355 } 6356 function Ct(e, t) { 6357 return [{ year: Et(e, t), month: Et(e, t + 1, 1), day: Et(e, t + 2, 1) }, null, t + 3]; 6358 } 6359 function Dt(e, t) { 6360 return [{ hour: Et(e, t, 0), minute: Et(e, t + 1, 0), second: Et(e, t + 2, 0), millisecond: ie(e[t + 3]) }, null, t + 4]; 6361 } 6362 function jt(e, t) { 6363 var n = !e[t] && !e[t + 1], 6364 r = he(e[t + 1], e[t + 2]); 6365 return [{}, n ? null : Be.instance(r), t + 3]; 6366 } 6367 function Ot(e, t) { 6368 return [{}, e[t] ? We.create(e[t]) : null, t + 1]; 6369 } 6370 var _t = /^-?P(?:(?:(-?\d{1,9})Y)?(?:(-?\d{1,9})M)?(?:(-?\d{1,9})W)?(?:(-?\d{1,9})D)?(?:T(?:(-?\d{1,9})H)?(?:(-?\d{1,9})M)?(?:(-?\d{1,20})(?:[.,](-?\d{1,9}))?S)?)?)$/; 6371 function Nt(e) { 6372 var t = e[0], 6373 n = e[1], 6374 r = e[2], 6375 i = e[3], 6376 o = e[4], 6377 a = e[5], 6378 s = e[6], 6379 u = e[7], 6380 l = e[8], 6381 c = "-" === t[0], 6382 d = function (e) { 6383 return e && c ? -e : e; 6384 }; 6385 return [{ years: d(re(n)), months: d(re(r)), weeks: d(re(i)), days: d(re(o)), hours: d(re(a)), minutes: d(re(s)), seconds: d(re(u)), milliseconds: d(ie(l)) }]; 6386 } 6387 var At = { GMT: 0, EDT: -240, EST: -300, CDT: -300, CST: -360, MDT: -360, MST: -420, PDT: -420, PST: -480 }; 6388 function Lt(e, t, n, r, i, o, a) { 6389 var s = { year: 2 === t.length ? de(re(t)) : re(t), month: xe.indexOf(n) + 1, day: re(r), hour: re(i), minute: re(o) }; 6390 return a && (s.second = re(a)), e && (s.weekday = e.length > 3 ? Se.indexOf(e) + 1 : Ee.indexOf(e) + 1), s; 6391 } 6392 var Mt = /^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|(?:([+-]\d\d)(\d\d)))$/; 6393 function It(e) { 6394 var t, 6395 n = e[1], 6396 r = e[2], 6397 i = e[3], 6398 o = e[4], 6399 a = e[5], 6400 s = e[6], 6401 u = e[7], 6402 l = e[8], 6403 c = e[9], 6404 d = e[10], 6405 f = e[11], 6406 h = Lt(n, o, i, r, a, s, u); 6407 return (t = l ? At[l] : c ? 0 : he(d, f)), [h, new Be(t)]; 6408 } 6409 var $t = /^(Mon|Tue|Wed|Thu|Fri|Sat|Sun), (\d\d) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) (\d{4}) (\d\d):(\d\d):(\d\d) GMT$/,
6410 qt = /^(Monday|Tuesday|Wedsday|Thursday|Friday|Saturday|Sunday), (\d\d)-(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)-(\d\d) (\d\d):(\d\d):(\d\d) GMT$/, 6411 Pt = /^(Mon|Tue|Wed|Thu|Fri|Sat|Sun) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) ( \d|\d\d) (\d\d):(\d\d):(\d\d) (\d{4})$/; 6412 function Ht(e) { 6413 var t = e[1], 6414 n = e[2], 6415 r = e[3]; 6416 return [Lt(t, e[4], r, n, e[5], e[6], e[7]), Be.utcInstance]; 6417 } 6418 function Ft(e) { 6419 var t = e[1], 6420 n = e[2], 6421 r = e[3], 6422 i = e[4], 6423 o = e[5], 6424 a = e[6]; 6425 return [Lt(t, e[7], n, r, i, o, a), Be.utcInstance]; 6426 } 6427 var zt = ht(/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/, wt), 6428 Rt = ht(/(\d{4})-?W(\d\d)(?:-?(\d))?/, wt), 6429 Vt = ht(/(\d{4})-?(\d{3})/, wt), 6430 Wt = ht(bt), 6431 Ut = pt(Ct, Dt, jt), 6432 Bt = pt(xt, Dt, jt), 6433 Qt = pt(Tt, Dt), 6434 Zt = pt(Dt, jt); 6435 var Jt = ht(/(\d{4})-(\d\d)-(\d\d)/, St), 6436 Yt = ht(kt), 6437 Gt = pt(Ct, Dt, jt, Ot), 6438 Xt = pt(Dt, jt, Ot); 6439 var Kt = { 6440 weeks: { days: 7, hours: 168, minutes: 10080, seconds: 604800, milliseconds: 6048e5 }, 6441 days: { hours: 24, minutes: 1440, seconds: 86400, milliseconds: 864e5 }, 6442 hours: { minutes: 60, seconds: 3600, milliseconds: 36e5 }, 6443 minutes: { seconds: 60, milliseconds: 6e4 }, 6444 seconds: { milliseconds: 1e3 }, 6445 }, 6446 en = Object.assign( 6447 { 6448 years: { quarters: 4, months: 12, weeks: 52, days: 365, hours: 8760, minutes: 525600, seconds: 31536e3, milliseconds: 31536e6 }, 6449 quarters: { months: 3, weeks: 13, days: 91, hours: 2184, minutes: 131040, seconds: 7862400, milliseconds: 78624e5 }, 6450 months: { weeks: 4, days: 30, hours: 720, minutes: 43200, seconds: 2592e3, milliseconds: 2592e6 }, 6451 }, 6452 Kt 6453 ), 6454 tn = Object.assign( 6455 { 6456 years: { quarters: 4, months: 12, weeks: 52.1775, days: 365.2425, hours: 8765.82, minutes: 525949.2, seconds: 525949.2 * 60, milliseconds: 525949.2 * 60 * 1e3 }, 6457 quarters: { months: 3, weeks: 13.044375, days: 91.310625, hours: 2191.455, minutes: 131487.3, seconds: (525949.2 * 60) / 4, milliseconds: 7889237999.999999 }, 6458 months: { weeks: 30.436875 / 7, days: 30.436875, hours: 730.485, minutes: 43829.1, seconds: 2629746, milliseconds: 2629746e3 }, 6459 }, 6460 Kt 6461 ), 6462 nn = ["years", "quarters", "months", "weeks", "days", "hours", "minutes", "seconds", "milliseconds"], 6463 rn = nn.slice(0).reverse(); 6464 function on(e, t, n) { 6465 void 0 === n && (n = !1); 6466 var r = { values: n ? t.values : Object.assign({}, e.values, t.values || {}), loc: e.loc.clone(t.loc), conversionAccuracy: t.conversionAccuracy || e.conversionAccuracy }; 6467 return new sn(r); 6468 } 6469 function an(e, t, n, r, i) { 6470 var o = e[i][n], 6471 a = t[n] / o, 6472 s = 6473 !(Math.sign(a) === Math.sign(r[i])) && 0 !== r[i] && Math.abs(a) <= 1 6474 ? (function (e) { 6475 return e < 0 ? Math.floor(e) : Math.ceil(e); 6476 })(a) 6477 : Math.trunc(a); 6478 (r[i] += s), (t[n] -= s * o); 6479 } 6480 var sn = (function () { 6481 function e(e) { 6482 var t = "longterm" === e.conversionAccuracy || !1; 6483 (this.values = e.values), (this.loc = e.loc || ft.create()), (this.conversionAccuracy = t ? "longterm" : "casual"), (this.invalid = e.invalid || null), (this.matrix = t ? tn : en), (this.isLuxonDuration = !0); 6484 } 6485 (e.fromMillis = function (t, n) { 6486 return e.fromObject(Object.assign({ milliseconds: t }, n)); 6487 }), 6488 (e.fromObject = function (t) { 6489 if (null == t || "object" != typeof t) throw new b("Duration.fromObject: argument expected to be an object, got " + (null === t ? "null" : typeof t)); 6490 return new e({ values: me(t, e.normalizeUnit, ["locale", "numberingSystem", "conversionAccuracy", "zone"]), loc: ft.fromObject(t), conversionAccuracy: t.conversionAccuracy }); 6491 }), 6492 (e.fromISO = function (t, n) { 6493 var r = (function (e) { 6494 return mt(e, [_t, Nt]); 6495 })(t)[0]; 6496 if (r) { 6497 var i = Object.assign(r, n); 6498 return e.fromObject(i); 6499 } 6500 return e.invalid("unparsable", 'the input "' + t + "\" can't be parsed as ISO 8601"); 6501 }), 6502 (e.invalid = function (t, n) { 6503 if ((void 0 === n && (n = null), !t)) throw new b("need to specify a reason the Duration is invali
6503d"); 6504 var r = t instanceof $e ? t : new $e(t, n); 6505 if (tt.throwOnInvalid) throw new g(r); 6506 return new e({ invalid: r }); 6507 }), 6508 (e.normalizeUnit = function (e) { 6509 var t = { 6510 year: "years", 6511 years: "years", 6512 quarter: "quarters", 6513 quarters: "quarters", 6514 month: "months", 6515 months: "months", 6516 week: "weeks", 6517 weeks: "weeks", 6518 day: "days", 6519 days: "days", 6520 hour: "hours", 6521 hours: "hours", 6522 minute: "minutes", 6523 minutes: "minutes", 6524 second: "seconds", 6525 seconds: "seconds", 6526 millisecond: "milliseconds", 6527 milliseconds: "milliseconds", 6528 }[e ? e.toLowerCase() : e]; 6529 if (!t) throw new y(e); 6530 return t; 6531 }), 6532 (e.isDuration = function (e) { 6533 return (e && e.isLuxonDuration) || !1; 6534 }); 6535 var t = e.prototype; 6536 return ( 6537 (t.toFormat = function (e, t) { 6538 void 0 === t && (t = {}); 6539 var n = Object.assign({}, t, { floor: !1 !== t.round && !1 !== t.floor }); 6540 return this.isValid ? Ie.create(this.loc, n).formatDurationFromString(this, e) : "Invalid Duration"; 6541 }), 6542 (t.toObject = function (e) { 6543 if ((void 0 === e && (e = {}), !this.isValid)) return {}; 6544 var t = Object.assign({}, this.values); 6545 return e.includeConfig && ((t.conversionAccuracy = this.conversionAccuracy), (t.numberingSystem = this.loc.numberingSystem), (t.locale = this.loc.locale)), t; 6546 }), 6547 (t.toISO = function () { 6548 if (!this.isValid) return null; 6549 var e = "P"; 6550 return ( 6551 0 !== this.years && (e += this.years + "Y"), 6552 (0 === this.months && 0 === this.quarters) || (e += this.months + 3 * this.quarters + "M"), 6553 0 !== this.weeks && (e += this.weeks + "W"), 6554 0 !== this.days && (e += this.days + "D"), 6555 (0 === this.hours && 0 === this.minutes && 0 === this.seconds && 0 === this.milliseconds) || (e += "T"), 6556 0 !== this.hours && (e += this.hours + "H"), 6557 0 !== this.minutes && (e += this.minutes + "M"), 6558 (0 === this.seconds && 0 === this.milliseconds) || (e += oe(this.seconds + this.milliseconds / 1e3, 3) + "S"), 6559 "P" === e && (e += "T0S"), 6560 e 6561 ); 6562 }), 6563 (t.toJSON = function () { 6564 return this.toISO(); 6565 }), 6566 (t.toString = function () { 6567 return this.toISO(); 6568 }), 6569 (t.valueOf = function () { 6570 return this.as("milliseconds"); 6571 }), 6572 (t.plus = function (e) { 6573 if (!this.isValid) return this; 6574 for (var t, n = un(e), r = {}, i = f(nn); !(t = i()).done; ) { 6575 var o = t.value; 6576 (ee(n.values, o) || ee(this.values, o)) && (r[o] = n.get(o) + this.get(o)); 6577 } 6578 return on(this, { values: r }, !0); 6579 }), 6580 (t.minus = function (e) { 6581 if (!this.isValid) return this; 6582 var t = un(e); 6583 return this.plus(t.negate()); 6584 }), 6585 (t.mapUnits = function (e) { 6586 if (!this.isValid) return this; 6587 for (var t = {}, n = 0, r = Object.keys(this.values); n < r.length; n++) { 6588 var i = r[n]; 6589 t[i] = pe(e(this.values[i], i)); 6590 } 6591 return on(this, { values: t }, !0); 6592 }), 6593 (t.get = function (t) { 6594 return this[e.normalizeUnit(t)]; 6595 }), 6596 (t.set = function (t) { 6597 return this.isValid ? on(this, { values: Object.assign(this.values, me(t, e.normalizeUnit, [])) }) : this; 6598 }), 6599 (t.reconfigure = function (e) { 6600 var t = void 0 === e ? {} : e, 6601 n = t.locale, 6602 r = t.numberingSystem, 6603 i = t.conversionAccuracy, 6604 o = { loc: this.loc.clone({ locale: n, numberingSystem: r }) }; 6605 return i && (o.conversionAccuracy = i), on(this, o); 6606 }), 6607 (t.as = function (e) { 6608 return this.isValid ? this.shiftTo(e).get(e) : NaN; 6609 }), 6610 (t.normalize = function () { 6611 if (!this.isValid) return this; 6612 var e = this.toObject(); 6613 return ( 6614 (function (e, t) { 6615 rn.reduce(function (n, r) { 6616 return B(t[r]) ? n : (n && an(e, t, n, t, r), r); 6617 }, null); 6618 })(this.matrix, e), 6619 on(this, { values: e }, !0) 6620 ); 6621 }), 6622 (t.shiftTo = function () { 6623 for (var t = arguments.length, n = new Array(t), r = 0; r < t; r++) n[r] = arguments[r]; 6624 if (!this.isValid) return this; 6625 if (0 === n.length) return this; 6626 n = n.map(function (t) { 6627 return e.normalizeUnit(t); 6628 }); 6629 for (var i, o, a = {}, s = {}, u = this.toObject(), l = f(nn); !(o = l()).done; ) { 6630 var c = o.value; 6631 if (n.indexOf(c) >= 0) { 6632 i = c; 6633 var d = 0;
6634 for (var h in s) (d += this.matrix[h][c] * s[h]), (s[h] = 0); 6635 Q(u[c]) && (d += u[c]); 6636 var p = Math.trunc(d); 6637 for (var m in ((a[c] = p), (s[c] = d - p), u)) nn.indexOf(m) > nn.indexOf(c) && an(this.matrix, u, m, a, c); 6638 } else Q(u[c]) && (s[c] = u[c]); 6639 } 6640 for (var g in s) 0 !== s[g] && (a[i] += g === i ? s[g] : s[g] / this.matrix[i][g]); 6641 return on(this, { values: a }, !0).normalize(); 6642 }), 6643 (t.negate = function () { 6644 if (!this.isValid) return this; 6645 for (var e = {}, t = 0, n = Object.keys(this.values); t < n.length; t++) { 6646 var r = n[t]; 6647 e[r] = -this.values[r]; 6648 } 6649 return on(this, { values: e }, !0); 6650 }), 6651 (t.equals = function (e) { 6652 if (!this.isValid || !e.isValid) return !1; 6653 if (!this.loc.equals(e.loc)) return !1; 6654 for (var t, n = f(nn); !(t = n()).done; ) { 6655 var r = t.value; 6656 if (this.values[r] !== e.values[r]) return !1; 6657 } 6658 return !0; 6659 }), 6660 i(e, [ 6661 { 6662 key: "locale", 6663 get: function () { 6664 return this.isValid ? this.loc.locale : null; 6665 }, 6666 }, 6667 { 6668 key: "numberingSystem", 6669 get: function () { 6670 return this.isValid ? this.loc.numberingSystem : null; 6671 }, 6672 }, 6673 { 6674 key: "years", 6675 get: function () { 6676 return this.isValid ? this.values.years || 0 : NaN; 6677 }, 6678 }, 6679 { 6680 key: "quarters", 6681 get: function () { 6682 return this.isValid ? this.values.quarters || 0 : NaN; 6683 }, 6684 }, 6685 { 6686 key: "months", 6687 get: function () { 6688 return this.isValid ? this.values.months || 0 : NaN; 6689 }, 6690 }, 6691 { 6692 key: "weeks", 6693 get: function () { 6694 return this.isValid ? this.values.weeks || 0 : NaN; 6695 }, 6696 }, 6697 { 6698 key: "days", 6699 get: function () { 6700 return this.isValid ? this.values.days || 0 : NaN; 6701 }, 6702 }, 6703 { 6704 key: "hours", 6705 get: function () { 6706 return this.isValid ? this.values.hours || 0 : NaN; 6707 }, 6708 }, 6709 { 6710 key: "minutes", 6711 get: function () { 6712 return this.isValid ? this.values.minutes || 0 : NaN; 6713 }, 6714 }, 6715 { 6716 key: "seconds", 6717 get: function () { 6718 return this.isValid ? this.values.seconds || 0 : NaN; 6719 }, 6720 }, 6721 { 6722 key: "milliseconds", 6723 get: function () { 6724 return this.isValid ? this.values.milliseconds || 0 : NaN; 6725 }, 6726 }, 6727 { 6728 key: "isValid", 6729 get: function () { 6730 return null === this.invalid; 6731 }, 6732 }, 6733 { 6734 key: "invalidReason", 6735 get: function () { 6736 return this.invalid ? this.invalid.reason : null; 6737 }, 6738 }, 6739 { 6740 key: "invalidExplanation", 6741 get: function () { 6742 return this.invalid ? this.invalid.explanation : null; 6743 }, 6744 }, 6745 ]), 6746 e 6747 ); 6748})(); 6749function un(e) { 6750 if (Q(e)) return sn.fromMillis(e); 6751 if (sn.isDuration(e)) return e; 6752 if ("object" == typeof e) return sn.fromObject(e); 6753 throw new b("Unknown duration argument " + e + " of type " + typeof e); 6754} 6755var ln = "Invalid Interval"; 6756function cn(e, t) { 6757 return e && e.isValid 6758 ? t && t.isValid 6759 ? t < e 6760 ? dn.invalid("end before start", "The end of an interval must be after its start, but you had start=" + e.toISO() + " and end=" + t.toISO()) 6761 : null 6762 : dn.invalid("missing or invalid end") 6763 : dn.invalid("missing or invalid start"); 6764} 6765var dn = (function () { 6766 function e(e) { 6767 (this.s = e.start), (this.e = e.end), (this.invalid = e.invalid || null), (this.isLuxonInterval = !0); 6768 } 6769 (e.invalid = function (t, n) { 6770 if ((void 0 === n && (n = null), !t)) throw new b("need to specify a reason the Interval is invalid"); 6771 var r = t instanceof $e ? t : new $e(t, n); 6772 if (tt.throwOnInvalid) throw new m(r); 6773 return new e({ invalid: r }); 6774 }), 6775 (e.fromDateTimes = function (t, n) { 6776 var r = lr(t), 6777 i = lr(n), 6778 o = cn(r, i); 6779 return null == o ? new e({ start: r, end: i }) : o; 6780 }), 6781 (e.after = function (t, n) { 6782 var r = un(n), 6783 i = lr(t); 6784 return e.fromDateTimes(i, i.plus(r)); 6785 }), 6786 (e.before = function (t, n) { 6787 var r = un(n), 6788 i = lr(t); 6789 return e.fromDateTimes(i.minus(r), i); 6790 }), 6791 (e.fromISO = function (t, n) { 6792 var r = (t || "").split("/", 2), 6793 i = r[0], 6794 o = r[1]; 6795 if (i && o) { 6796 var a, s, u, l; 6797 try { 6798 s = (a = ur.fromISO(i, n)).isValid; 6799 } catch (o) { 6800 s = !1; 6801 } 6802 try {
6803 l = (u = ur.fromISO(o, n)).isValid; 6804 } catch (o) { 6805 l = !1; 6806 } 6807 if (s && l) return e.fromDateTimes(a, u); 6808 if (s) { 6809 var c = sn.fromISO(o, n); 6810 if (c.isValid) return e.after(a, c); 6811 } else if (l) { 6812 var d = sn.fromISO(i, n); 6813 if (d.isValid) return e.before(u, d); 6814 } 6815 } 6816 return e.invalid("unparsable", 'the input "' + t + "\" can't be parsed as ISO 8601"); 6817 }), 6818 (e.isInterval = function (e) { 6819 return (e && e.isLuxonInterval) || !1; 6820 }); 6821 var t = e.prototype; 6822 return ( 6823 (t.length = function (e) { 6824 return void 0 === e && (e = "milliseconds"), this.isValid ? this.toDuration.apply(this, [e]).get(e) : NaN; 6825 }), 6826 (t.count = function (e) { 6827 if ((void 0 === e && (e = "milliseconds"), !this.isValid)) return NaN; 6828 var t = this.start.startOf(e), 6829 n = this.end.startOf(e); 6830 return Math.floor(n.diff(t, e).get(e)) + 1; 6831 }), 6832 (t.hasSame = function (e) { 6833 return !!this.isValid && (this.isEmpty() || this.e.minus(1).hasSame(this.s, e)); 6834 }), 6835 (t.isEmpty = function () { 6836 return this.s.valueOf() === this.e.valueOf(); 6837 }), 6838 (t.isAfter = function (e) { 6839 return !!this.isValid && this.s > e; 6840 }), 6841 (t.isBefore = function (e) { 6842 return !!this.isValid && this.e <= e; 6843 }), 6844 (t.contains = function (e) { 6845 return !!this.isValid && this.s <= e && this.e > e; 6846 }), 6847 (t.set = function (t) { 6848 var n = void 0 === t ? {} : t, 6849 r = n.start, 6850 i = n.end; 6851 return this.isValid ? e.fromDateTimes(r || this.s, i || this.e) : this; 6852 }), 6853 (t.splitAt = function () { 6854 var t = this; 6855 if (!this.isValid) return []; 6856 for (var n = arguments.length, r = new Array(n), i = 0; i < n; i++) r[i] = arguments[i]; 6857 for ( 6858 var o = r 6859 .map(lr) 6860 .filter(function (e) { 6861 return t.contains(e); 6862 }) 6863 .sort(), 6864 a = [], 6865 s = this.s, 6866 u = 0; 6867 s < this.e; 6868 6869 ) { 6870 var l = o[u] || this.e, 6871 c = +l > +this.e ? this.e : l; 6872 a.push(e.fromDateTimes(s, c)), (s = c), (u += 1); 6873 } 6874 return a; 6875 }), 6876 (t.splitBy = function (t) { 6877 var n = un(t); 6878 if (!this.isValid || !n.isValid || 0 === n.as("milliseconds")) return []; 6879 for (var r, i, o = this.s, a = []; o < this.e; ) (i = +(r = o.plus(n)) > +this.e ? this.e : r), a.push(e.fromDateTimes(o, i)), (o = i); 6880 return a; 6881 }), 6882 (t.divideEqually = function (e) { 6883 return this.isValid ? this.splitBy(this.length() / e).slice(0, e) : []; 6884 }), 6885 (t.overlaps = function (e) { 6886 return this.e > e.s && this.s < e.e; 6887 }), 6888 (t.abutsStart = function (e) { 6889 return !!this.isValid && +this.e == +e.s; 6890 }), 6891 (t.abutsEnd = function (e) { 6892 return !!this.isValid && +e.e == +this.s; 6893 }), 6894 (t.engulfs = function (e) { 6895 return !!this.isValid && this.s <= e.s && this.e >= e.e; 6896 }), 6897 (t.equals = function (e) { 6898 return !(!this.isValid || !e.isValid) && this.s.equals(e.s) && this.e.equals(e.e); 6899 }), 6900 (t.intersection = function (t) { 6901 if (!this.isValid) return this; 6902 var n = this.s > t.s ? this.s : t.s, 6903 r = this.e < t.e ? this.e : t.e; 6904 return n > r ? null : e.fromDateTimes(n, r); 6905 }), 6906 (t.union = function (t) { 6907 if (!this.isValid) return this; 6908 var n = this.s < t.s ? this.s : t.s, 6909 r = this.e > t.e ? this.e : t.e; 6910 return e.fromDateTimes(n, r); 6911 }), 6912 (e.merge = function (e) { 6913 var t = e 6914 .sort(function (e, t) { 6915 return e.s - t.s; 6916 }) 6917 .reduce( 6918 function (e, t) { 6919 var n = e[0], 6920 r = e[1]; 6921 return r ? (r.overlaps(t) || r.abutsStart(t) ? [n, r.union(t)] : [n.concat([r]), t]) : [n, t]; 6922 }, 6923 [[], null] 6924 ), 6925 n = t[0], 6926 r = t[1]; 6927 return r && n.push(r), n; 6928 }), 6929 (e.xor = function (t) { 6930 for ( 6931 var n, 6932 r, 6933 i = null, 6934 o = 0, 6935 a = [], 6936 s = t.map(function (e) { 6937 return [ 6938 { time: e.s, type: "s" }, 6939 { time: e.e, type: "e" }, 6940 ]; 6941 }), 6942 u = f( 6943 (n = Array.prototype).concat.apply(n, s).sort(function (e, t) { 6944 return e.time - t.time; 6945 }) 6946 ); 6947 !(r = u()).done; 6948 6949 ) { 6950 var l = r.value; 6951 1 === (o += "s" === l.type ? 1 : -1) ? (i = l.time) : (i && +i != +l.time && a.push(e.fromDateTimes(i, l.time)), (i = null)); 6952 } 6953 return e.merge(a); 6954 }), 6955 (t.difference = function () { 6956 for (var t = this, n = arguments.length, r = new Array(n), i = 0; i < n; i++) r[i] = arguments[i]; 6957 return e 6958 .xor([this].concat(r)) 6959 .map(function (e) { 6960 return t.intersection(e); 6961 }) 6962 .filter(function (e) { 6963 return e && !e.isEmpty(); 6964 }); 6965 }), 6966 (t.toString = function () { 6967 return this.isValid ? "[" + this.s.toISO() + " â " + this.e.toISO() + ")" : ln; 6968 }), 6969 (t.toISO = function (e) { 6970 return this.isValid ? this.s.toISO(e) + "/" + this.e.toISO(e) : ln; 6971 }), 6972 (t.toISODate = function () { 6973 return this.isValid ? this.s.toISODate() + "/" + this.e.toISODate() : ln; 6974 }), 6975 (t.toISOTime = function (e) { 6976 return this.isValid ? this.s.toISOTime(e) + "/" + this.e.toISOTime(e) : ln; 6977 }), 6978 (t.toFormat = function (e, t) { 6979 var n = (void 0 === t ? {} : t).separator, 6980 r = void 0 === n ? " â " : n; 6981 return this.isValid ? "" + this.s.toFormat(e) + r + this.e.toFormat(e) : ln; 6982 }), 6983 (t.toDuration = function (e, t) { 6984 return this.isValid ? this.e.diff(this.s, e, t) : sn.invalid(this.invalidReason); 6985 }), 6986 (t.mapEndpoints = function (t) { 6987 return e.fromDateTimes(t(this.s), t(this.e)); 6988 }), 6989 i(e, [ 6990 { 6991 key: "start", 6992 get: function () { 6993 return this.isValid ? this.s : null; 6994 }, 6995 }, 6996 { 6997 key: "end", 6998 get: function () { 6999 return this.isValid ? this.e : null; 7000 }, 7001 }, 7002 { 7003 key: "isValid", 7004 get: function () { 7005 return null === this.invalidReason; 7006 }, 7007 }, 7008 {
7009 key: "invalidReason", 7010 get: function () { 7011 return this.invalid ? this.invalid.reason : null; 7012 }, 7013 }, 7014 { 7015 key: "invalidExplanation", 7016 get: function () { 7017 return this.invalid ? this.invalid.explanation : null; 7018 }, 7019 }, 7020 ]), 7021 e 7022 ); 7023})(), 7024fn = (function () { 7025 function e() {} 7026 return ( 7027 (e.hasDST = function (e) { 7028 void 0 === e && (e = tt.defaultZone); 7029 var t = ur.local().setZone(e).set({ month: 12 }); 7030 return !e.universal && t.offset !== t.set({ month: 6 }).offset; 7031 }), 7032 (e.isValidIANAZone = function (e) { 7033 return We.isValidSpecifier(e) && We.isValidZone(e); 7034 }), 7035 (e.normalizeZone = function (e) { 7036 return Ze(e, tt.defaultZone); 7037 }), 7038 (e.months = function (e, t) { 7039 void 0 === e && (e = "long"); 7040 var n = void 0 === t ? {} : t, 7041 r = n.locale, 7042 i = void 0 === r ? null : r, 7043 o = n.numberingSystem, 7044 a = void 0 === o ? null : o, 7045 s = n.outputCalendar, 7046 u = void 0 === s ? "gregory" : s; 7047 return ft.create(i, a, u).months(e); 7048 }), 7049 (e.monthsFormat = function (e, t) { 7050 void 0 === e && (e = "long"); 7051 var n = void 0 === t ? {} : t, 7052 r = n.locale, 7053 i = void 0 === r ? null : r, 7054 o = n.numberingSystem, 7055 a = void 0 === o ? null : o, 7056 s = n.outputCalendar, 7057 u = void 0 === s ? "gregory" : s; 7058 return ft.create(i, a, u).months(e, !0); 7059 }), 7060 (e.weekdays = function (e, t) { 7061 void 0 === e && (e = "long"); 7062 var n = void 0 === t ? {} : t, 7063 r = n.locale, 7064 i = void 0 === r ? null : r, 7065 o = n.numberingSystem, 7066 a = void 0 === o ? null : o; 7067 return ft.create(i, a, null).weekdays(e); 7068 }), 7069 (e.weekdaysFormat = function (e, t) { 7070 void 0 === e && (e = "long"); 7071 var n = void 0 === t ? {} : t, 7072 r = n.locale, 7073 i = void 0 === r ? null : r, 7074 o = n.numberingSystem, 7075 a = void 0 === o ? null : o; 7076 return ft.create(i, a, null).weekdays(e, !0); 7077 }), 7078 (e.meridiems = function (e) { 7079 var t = (void 0 === e ? {} : e).locale, 7080 n = void 0 === t ? null : t; 7081 return ft.create(n).meridiems(); 7082 }), 7083 (e.eras = function (e, t) { 7084 void 0 === e && (e = "short"); 7085 var n = (void 0 === t ? {} : t).locale, 7086 r = void 0 === n ? null : n; 7087 return ft.create(r, null, "gregory").eras(e); 7088 }), 7089 (e.features = function () { 7090 var e = !1, 7091 t = !1, 7092 n = !1, 7093 r = !1; 7094 if (J()) { 7095 (e = !0), (t = Y()), (r = G()); 7096 try { 7097 n = "America/New_York" === new Intl.DateTimeFormat("en", { timeZone: "America/New_York" }).resolvedOptions().timeZone; 7098 } catch (e) { 7099 n = !1; 7100 } 7101 } 7102 return { intl: e, intlTokens: t, zones: n, relative: r }; 7103 }), 7104 e 7105 ); 7106})(); 7107function hn(e, t) { 7108 var n = function (e) { 7109 return e.toUTC(0, { keepLocalTime: !0 }).startOf("day").valueOf(); 7110 }, 7111 r = n(t) - n(e); 7112 return Math.floor(sn.fromMillis(r).as("days")); 7113} 7114function pn(e, t, n, r) { 7115 var i = (function (e, t, n) { 7116 for ( 7117 var r, 7118 i, 7119 o = {}, 7120 a = 0, 7121 s = [ 7122 [ 7123 "years", 7124 function (e, t) { 7125 return t.year - e.year; 7126 }, 7127 ], 7128 [ 7129 "months", 7130 function (e, t) { 7131 return t.month - e.month + 12 * (t.year - e.year); 7132 }, 7133 ], 7134 [ 7135 "weeks", 7136 function (e, t) { 7137 var n = hn(e, t); 7138 return (n - (n % 7)) / 7; 7139 }, 7140 ], 7141 ["days", hn], 7142 ]; 7143 a < s.length; 7144 a++ 7145 ) { 7146 var u = s[a], 7147 l = u[0], 7148 c = u[1]; 7149 if (n.indexOf(l) >= 0) { 7150 var d; 7151 r = l; 7152 var f, 7153 h = c(e, t); 7154 if ((i = e.plus((((d = {})[l] = h), d))) > t) (e = e.plus((((f = {})[l] = h - 1), f))), (h -= 1); 7155 else e = i; 7156 o[l] = h; 7157 } 7158 } 7159 return [e, o, i, r]; 7160})(e, t, n), 7161o = i[0], 7162a = i[1], 7163s = i[2], 7164u = i[3], 7165l = t - o, 7166c = n.filter(function (e) { 7167 return ["hours", "minutes", "seconds", "milliseconds"].indexOf(e) >= 0; 7168}); 7169if (0 === c.length) { 7170 var d; 7171 if (s < t) s = o.plus((((d = {})[u] = 1), d)); 7172 s !== o && (a[u] = (a[u] || 0) + l / (s - o)); 7173} 7174var f, 7175h = sn.fromObject(Object.assign(a, r)); 7176return c.length > 0 ? (f = sn.fromMillis(l, r)).shiftTo.apply(f, c).plus(h) : h; 7177} 7178var mn = { 7179 arab: "[Ù -Ù©]", 7180 arabext: "[Û°-Û¹]", 7181 bali: "[á-á]", 7182 beng: "[০-৯]", 7183 deva: "[०-९]", 7184 fullwide: "[ï¼-ï¼]", 7185 gujr: "[૦-૯]", 7186 hanidec: "[ã|ä¸|äº|ä¸|å|äº|å |ä¸|å «|ä¹]", 7187 khmr: "[á -á©]", 7188 knda: "[೦-೯]", 7189 laoo: "[à»-à»]", 7190 limb: "[á¥-á¥]", 7191 mlym: "[൦-൯]", 7192 mong: "[á -á ]", 7193 mymr: "[á-á]", 7194 orya: "[à¦-à¯]", 7195 tamldec: "[௦-௯]", 7196 telu: "[౦-౯]", 7197 thai: "[à¹-à¹]", 7198 tibt: "[༠-༩]", 7199 latn: "\\d", 7200}, 7201gn = { 7202 arab: [1632, 1641], 7203 arabext: [1776, 1785], 7204 bali: [6992, 7001], 7205 beng: [2534, 2543], 7206 deva: [2406, 2415], 7207 fullwide: [65296, 65303], 7208 gujr: [2790, 2799], 7209 khmr: [6112, 6121], 7210 knda: [3302, 3311], 7211 laoo: [3792, 3801], 7212 limb: [6470, 6479], 7213 mlym: [3430, 3439], 7214 mong: [6160, 6169], 7215 mymr: [4160, 4169], 7216 orya: [2918, 2927], 7217 tamldec: [3046, 3055], 7218 telu: [3174, 3183], 7219 thai: [3664, 3673], 7220 tibt: [3872, 3881], 7221}, 7222vn = mn.hanidec.replace(/[\[|\]]/g, "").split(""); 7223function yn(e, t) { 7224 var n = e.numberingSystem; 7225 return void 0 === t && (t = ""), new RegExp("" + mn[n || "latn"] + t); 7226} 7227function bn(e, t) { 7228 return ( 7229 void 0 === t && 7230 (t = function (e) { 7231 return e; 7232 }), 7233 { 7234 regex: e, 7235 deser: function (e) { 7236 var n = e[0]; 7237 return t( 7238 (function (e) { 7239 var t = parseInt(e, 10); 7240 if (isNaN(t)) { 7241 t = ""; 7242 for (var n = 0; n < e.length; n++) { 7243 var r = e.charCodeAt(n); 7244 if (-1 !== e[n].search(mn.hanidec)) t += vn.indexOf(e[n]); 7245 else 7246 for (var i in gn) { 7247 var o = gn[i], 7248 a = o[0], 7249 s = o[1]; 7250 r >= a && r <= s && (t += r - a); 7251 } 7252 } 7253 return parseInt(t, 10); 7254 } 7255 return t; 7256 })(n) 7257 ); 7258 }, 7259 } 7260 ); 7261} 7262var wn = "( |" + String.fromCharCode(160) + ")", 7263xn = new RegExp(wn, "g"); 7264function Tn(e) { 7265 return e.replace(/\./g, "\\.?").replace(xn, wn); 7266} 7267function kn(e) { 7268 return e.replace(/\./g, "").replace(xn, " ").toLowerCase(); 7269} 7270function Sn(e, t) { 7271 return null === e 7272 ? null 7273 : { 7274 regex: RegExp(e.map(Tn).join("|")), 7275 deser: function (n) { 7276 var r = n[0]; 7277 return ( 7278 e.findIndex(function (e) { 7279 return kn(r) === kn(e); 7280 }) + t 7281 ); 7282 }, 7283 }; 7284} 7285function En(e, t) { 7286 return { 7287 regex: e, 7288 deser: function (e) { 7289 return he(e[1], e[2]); 7290 }, 7291 groups: t, 7292 }; 7293} 7294function Cn(e) { 7295 return { 7296 regex: e, 7297 deser: function (e) { 7298 return e[0]; 7299 }, 7300 }; 7301} 7302var Dn = { 7303 year: { "2-digit": "yy", numeric: "yyyyy" }, 7304 month: { numeric: "M", "2-digit": "MM", short: "MMM", long: "MMMM" }, 7305 day: { numeric: "d", "2-digit": "dd" }, 7306 weekday: { short: "EEE", long: "EEEE" }, 7307 dayperiod: "a", 7308 dayPeriod: "a", 7309 hour: { numeric: "h", "2-digit": "hh" }, 7310 minute: { numeric: "m", "2-digit": "mm" }, 7311 second: { numeric: "s", "2-digit": "ss" }, 7312}; 7313var jn = null; 7314function On(e, t) { 7315 if (e.literal) return e; 7316 var n = Ie.macroTokenToFormatOpts(e.val); 7317 if (!n) return e; 7318 var r = Ie.create(t, n) 7319 .formatDateTimeParts((jn || (jn = ur.fromMillis(1555555555555)), jn)) 7320 .map(function (e) { 7321 return (function (e, t, n) { 7322 var r = e.type, 7323 i = e.value; 7324 if ("literal" === r) return { literal: !0, val: i }; 7325 var o = n[r], 7326 a = Dn[r]; 7327 return "object" == typeof a && (a = a[o]), a ? { literal: !1, val: a } : void 0; 7328 })(e, 0, n); 7329 }); 7330 return r.includes(void 0) ? e : r; 7331} 7332function _n(e, t, n) { 7333 var r = (function (e, t) { 7334 var n; 7335 return (n = Array.prototype).concat.apply( 7336 n, 7337 e.map(function (e) { 7338 return On(e, t); 7339 }) 7340 ); 7341 })(Ie.parseFormat(n), e), 7342 i = r.map(function (t) { 7343 return ( 7344 (n = t), 7345 (i = yn((r = e))), 7346 (o = yn(r, "{2}")), 7347 (a = yn(r, "{3}")), 7348 (s = yn(r, "{4}")), 7349 (u = yn(r, "{6}")), 7350 (l = yn(r, "{1,2}")), 7351 (c = yn(r, "{1,3}")), 7352 (d = yn(r, "{1,6}")), 7353 (f = yn(r, "{1,9}")), 7354 (h = yn(r, "{2,4}")), 7355 (p = yn(r, "{4,6}")), 7356 (m = function (e) { 7357 return { 7358 regex: RegExp(((t = e.val), t.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g, "\\$&"))), 7359 deser: function (e) { 7360 return e[0]; 7361 }, 7362 literal: !0, 7363 }; 7364 var t; 7365 }), 7366 ((g = (function (e) { 7367 if (n.literal) return m(e); 7368 switch (e.val) { 7369 case "G": 7370 return Sn(r.eras("short", !1), 0); 7371 case "GG": 7372 return Sn(r.eras("long", !1), 0); 7373 case "y": 7374 return bn(d); 7375 case "yy": 7376 return bn(h, de); 7377 case "yyyy": 7378 return bn(s); 7379 case "yyyyy": 7380 return bn(p); 7381 case "yyyyyy": 7382 return bn(u); 7383 case "M": 7384 return bn(l); 7385 case "MM": 7386 return bn(o); 7387 case "MMM": 7388 return Sn(r.months("short", !0, !1), 1); 7389 case "MMMM": 7390 return Sn(r.months("long", !0, !1), 1); 7391 case "L": 7392 return bn(l); 7393 case "LL": 7394 return bn(o); 7395 case "LLL": 7396 return Sn(r.months("short", !1, !1), 1); 7397 case "LLLL": 7398 return Sn(r.months("long", !1, !1), 1); 7399 case "d": 7400 return bn(l); 7401 case "dd": 7402 return bn(o); 7403 case "o": 7404 return bn(c); 7405 case "ooo": 7406 return bn(a); 7407 case "HH": 7408 return bn(o); 7409 case "H": 7410 return bn(l); 7411 case "hh": 7412 return bn(o); 7413 case "h": 7414 return bn(l); 7415 case "mm": 7416 return bn(o); 7417 case "m": 7418 case "q": 7419 return bn(l); 7420 case "qq": 7421 return bn(o); 7422 case "s": 7423 return bn(l); 7424 case "ss": 7425 return bn(o); 7426 case "S": 7427 return bn(c); 7428 case "SSS": 7429 return bn(a); 7430 case "u": 7431 return Cn(f); 7432 case "a": 7433 return Sn(r.meridiems(), 0); 7434 case "kkkk": 7435 return bn(s); 7436 case "kk": 7437 return bn(h, de); 7438 case "W": 7439 return bn(l); 7440 case "WW": 7441 return bn(o); 7442 case "E":
7443 case "c": 7444 return bn(i); 7445 case "EEE": 7446 return Sn(r.weekdays("short", !1, !1), 1); 7447 case "EEEE": 7448 return Sn(r.weekdays("long", !1, !1), 1); 7449 case "ccc": 7450 return Sn(r.weekdays("short", !0, !1), 1); 7451 case "cccc": 7452 return Sn(r.weekdays("long", !0, !1), 1); 7453 case "Z": 7454 case "ZZ": 7455 return En(new RegExp("([+-]" + l.source + ")(?::(" + o.source + "))?"), 2); 7456 case "ZZZ": 7457 return En(new RegExp("([+-]" + l.source + ")(" + o.source + ")?"), 2); 7458 case "z": 7459 return Cn(/[a-z_+-/]{1,256}?/i); 7460 default: 7461 return m(e); 7462 } 7463 })(n) || { invalidReason: "missing Intl.DateTimeFormat.formatToParts support" }).token = n), 7464 g 7465 ); 7466 var n, r, i, o, a, s, u, l, c, d, f, h, p, m, g; 7467 }), 7468 o = i.find(function (e) { 7469 return e.invalidReason; 7470 }); 7471 if (o) return { input: t, tokens: r, invalidReason: o.invalidReason }; 7472 var a = (function (e) { 7473 return [ 7474 "^" + 7475 e 7476 .map(function (e) { 7477 return e.regex; 7478 }) 7479 .reduce(function (e, t) { 7480 return e + "(" + t.source + ")"; 7481 }, "") + 7482 "$", 7483 e, 7484 ]; 7485 })(i), 7486 s = a[0], 7487 u = a[1], 7488 l = RegExp(s, "i"), 7489 c = (function (e, t, n) { 7490 var r = e.match(t); 7491 if (r) { 7492 var i = {}, 7493 o = 1; 7494 for (var a in n) 7495 if (ee(n, a)) { 7496 var s = n[a], 7497 u = s.groups ? s.groups + 1 : 1; 7498 !s.literal && s.token && (i[s.token.val[0]] = s.deser(r.slice(o, o + u))), (o += u); 7499 } 7500 return [r, i]; 7501 } 7502 return [r, {}]; 7503 })(t, l, u), 7504 d = c[0], 7505 f = c[1], 7506 h = f 7507 ? (function (e) { 7508 var t; 7509 return ( 7510 (t = B(e.Z) ? (B(e.z) ? null : We.create(e.z)) : new Be(e.Z)), 7511 B(e.q) || (e.M = 3 * (e.q - 1) + 1), 7512 B(e.h) || (e.h < 12 && 1 === e.a ? (e.h += 12) : 12 === e.h && 0 === e.a && (e.h = 0)), 7513 0 === e.G && e.y && (e.y = -e.y), 7514 B(e.u) || (e.S = ie(e.u)), 7515 [ 7516 Object.keys(e).reduce(function (t, n) { 7517 var r = (function (e) { 7518 switch (e) { 7519 case "S": 7520 return "millisecond"; 7521 case "s": 7522 return "second"; 7523 case "m": 7524 return "minute"; 7525 case "h": 7526 case "H": 7527 return "hour"; 7528 case "d": 7529 return "day"; 7530 case "o": 7531 return "ordinal"; 7532 case "L": 7533 case "M": 7534 return "month"; 7535 case "y": 7536 return "year"; 7537 case "E": 7538 case "c": 7539 return "weekday"; 7540 case "W": 7541 return "weekNumber"; 7542 case "k": 7543 return "weekYear"; 7544 case "q": 7545 return "quarter"; 7546 default: 7547 return null; 7548 } 7549 })(n); 7550 return r && (t[r] = e[n]), t; 7551 }, {}), 7552 t, 7553 ] 7554 ); 7555 })(f) 7556 : [null, null], 7557 p = h[0], 7558 m = h[1]; 7559 if (ee(f, "a") && ee(f, "H")) throw new v("Can't include meridiem when specifying 24-hour format"); 7560 return { input: t, tokens: r, regex: l, rawMatches: d, matches: f, result: p, zone: m }; 7561 } 7562 var Nn = [0, 31, 59, 90, 120, 151, 181, 212, 243, 273, 304, 334], 7563 An = [0, 31, 60, 91, 121, 152, 182, 213, 244, 274, 305, 335]; 7564 function Ln(e, t) { 7565 return new $e("unit out of range", "you specified " + t + " (of type " + typeof t + ") as a " + e + ", which is invalid"); 7566 } 7567 function Mn(e, t, n) { 7568 var r = new Date(Date.UTC(e, t - 1, n)).getUTCDay(); 7569 return 0 === r ? 7 : r; 7570 } 7571 function In(e, t, n) { 7572 return n + (ae(e) ? An : Nn)[t - 1]; 7573 } 7574 function $n(e, t) { 7575 var n = ae(e) ? An : Nn, 7576 r = n.findIndex(function (e) { 7577 return e < t; 7578 }); 7579 return { month: r + 1, day: t - n[r] }; 7580 } 7581 function qn(e) { 7582 var t, 7583 n = e.year, 7584 r = e.month, 7585 i = e.day, 7586 o = In(n, r, i), 7587 a = Mn(n, r, i), 7588 s = Math.floor((o - a + 10) / 7); 7589 return s < 1 ? (s = ce((t = n - 1))) : s > ce(n) ? ((t = n + 1), (s = 1)) : (t = n), Object.assign({ weekYear: t, weekNumber: s, weekday: a }, ve(e)); 7590 } 7591 function Pn(e) { 7592 var t, 7593 n = e.weekYear, 7594 r = e.weekNumber, 7595 i = e.weekday, 7596 o = Mn(n, 1, 4), 7597 a = se(n), 7598 s = 7 * r + i - o - 3; 7599 s < 1 ? (s += se((t = n - 1))) : s > a ? ((t = n + 1), (s -= se(n))) : (t = n); 7600 var u = $n(t, s), 7601 l = u.month, 7602 c = u.day; 7603 return Object.assign({ year: t, month: l, day: c }, ve(e)); 7604 } 7605 function Hn(e) { 7606 var t = e.year, 7607 n = In(t, e.month, e.day); 7608 return Object.assign({ year: t, ordinal: n }, ve(e)); 7609 } 7610 function Fn(e) { 7611 var t = e.year, 7612 n = $n(t, e.ordinal), 7613 r = n.month, 7614 i = n.day; 7615 return Object.assign({ year: t, month: r, day: i }, ve(e)); 7616 } 7617 function zn(e) { 7618 var t = Z(e.year), 7619 n = te(e.month, 1, 12), 7620 r = te(e.day, 1, ue(e.year, e.month)); 7621 return t ? (n ? !r && Ln("day", e.day) : Ln("month", e.month)) : Ln("year", e.year); 7622 } 7623 function Rn(e) { 7624 var t = e.hour, 7625 n = e.minute, 7626 r = e.second, 7627 i = e.millisecond, 7628 o = te(t, 0, 23) || (24 === t && 0 === n && 0 === r && 0 === i), 7629 a = te(n, 0, 59), 7630 s = te(r, 0, 59), 7631 u = te(i, 0, 999); 7632 return o ? (a ? (s ? !u && Ln("millisecond", i) : Ln("second", r)) : Ln("minute", n)) : Ln("hour", t); 7633 } 7634 function Vn(e) { 7635 return new $e("unsupported zone", 'the zone "' + e.name + '" is not supported'); 7636 } 7637 function Wn(e) { 7638 return null === e.weekData && (e.weekData = qn(e.c)), e.weekData; 7639 } 7640 function Un(e, t) { 7641 var n = { ts: e.ts, zone: e.zone, c: e.c, o: e.o, loc: e.loc, invalid: e.invali
7641d }; 7642 return new ur(Object.assign({}, n, t, { old: n })); 7643 } 7644 function Bn(e, t, n) { 7645 var r = e - 60 * t * 1e3, 7646 i = n.offset(r); 7647 if (t === i) return [r, t]; 7648 r -= 60 * (i - t) * 1e3; 7649 var o = n.offset(r); 7650 return i === o ? [r, i] : [e - 60 * Math.min(i, o) * 1e3, Math.max(i, o)]; 7651 } 7652 function Qn(e, t) { 7653 var n = new Date((e += 60 * t * 1e3)); 7654 return { year: n.getUTCFullYear(), month: n.getUTCMonth() + 1, day: n.getUTCDate(), hour: n.getUTCHours(), minute: n.getUTCMinutes(), second: n.getUTCSeconds(), millisecond: n.getUTCMilliseconds() }; 7655 } 7656 function Zn(e, t, n) { 7657 return Bn(le(e), t, n); 7658 } 7659 function Jn(e, t) { 7660 var n = e.o, 7661 r = e.c.year + Math.trunc(t.years), 7662 i = e.c.month + Math.trunc(t.months) + 3 * Math.trunc(t.quarters), 7663 o = Object.assign({}, e.c, { year: r, month: i, day: Math.min(e.c.day, ue(r, i)) + Math.trunc(t.days) + 7 * Math.trunc(t.weeks) }), 7664 a = sn 7665 .fromObject({ 7666 years: t.years - Math.trunc(t.years), 7667 quarters: t.quarters - Math.trunc(t.quarters), 7668 months: t.months - Math.trunc(t.months), 7669 weeks: t.weeks - Math.trunc(t.weeks), 7670 days: t.days - Math.trunc(t.days), 7671 hours: t.hours, 7672 minutes: t.minutes, 7673 seconds: t.seconds, 7674 milliseconds: t.milliseconds, 7675 }) 7676 .as("milliseconds"), 7677 s = Bn(le(o), n, e.zone), 7678 u = s[0], 7679 l = s[1]; 7680 return 0 !== a && ((u += a), (l = e.zone.offset(u))), { ts: u, o: l }; 7681 } 7682 function Yn(e, t, n, r, i) { 7683 var o = n.setZone, 7684 a = n.zone; 7685 if (e && 0 !== Object.keys(e).length) { 7686 var s = t || a, 7687 u = ur.fromObject(Object.assign(e, n, { zone: s, setZone: void 0 })); 7688 return o ? u : u.setZone(a); 7689 } 7690 return ur.invalid(new $e("unparsable", 'the input "' + i + "\" can't be parsed as " + r)); 7691 } 7692 function Gn(e, t, n) { 7693 return void 0 === n && (n = !0), e.isValid ? Ie.create(ft.create("en-US"), { allowZ: n, forceSimple: !0 }).formatDateTimeFromString(e, t) : null; 7694 } 7695 function Xn(e, t) { 7696 var n = t.suppressSeconds, 7697 r = void 0 !== n && n, 7698 i = t.suppressMilliseconds, 7699 o = void 0 !== i && i, 7700 a = t.includeOffset, 7701 s = t.includeZone, 7702 u = void 0 !== s && s, 7703 l = t.spaceZone, 7704 c = void 0 !== l && l, 7705 d = t.format, 7706 f = void 0 === d ? "extended" : d, 7707 h = "basic" === f ? "HHmm" : "HH:mm"; 7708 return ( 7709 (r && 0 === e.second && 0 === e.millisecond) || ((h += "basic" === f ? "ss" : ":ss"), (o && 0 === e.millisecond) || (h += ".SSS")), 7710 (u || a) && c && (h += " "), 7711 u ? (h += "z") : a && (h += "basic" === f ? "ZZZ" : "ZZ"), 7712 Gn(e, h) 7713 ); 7714 } 7715 var Kn = { month: 1, day: 1, hour: 0, minute: 0, second: 0, millisecond: 0 }, 7716 er = { weekNumber: 1, weekday: 1, hour: 0, minute: 0, second: 0, millisecond: 0 }, 7717 tr = { ordinal: 1, hour: 0, minute: 0, second: 0, millisecond: 0 }, 7718 nr = ["year", "month", "day", "hour", "minute", "second", "millisecond"], 7719 rr = ["weekYear", "weekNumber", "weekday", "hour", "minute", "second", "millisecond"], 7720 ir = ["year", "ordinal", "hour", "minute", "second", "millisecond"]; 7721 function or(e) { 7722 var t = { 7723 year: "year", 7724 years: "year", 7725 month: "month", 7726 months: "month", 7727 day: "day", 7728 days: "day", 7729 hour: "hour", 7730 hours: "hour", 7731 minute: "minute", 7732 minutes: "minute", 7733 quarter: "quarter", 7734 quarters: "quarter", 7735 second: "second", 7736 seconds: "second", 7737 millisecond: "millisecond", 7738 milliseconds: "millisecond", 7739 weekday: "weekday", 7740 weekdays: "weekday", 7741 weeknumber: "weekNumber", 7742 weeksnumber: "weekNumber", 7743 weeknumbers: "weekNumber", 7744 weekyear: "weekYear", 7745 weekyears: "weekYear", 7746 ordinal: "ordinal", 7747 }[e.toLowerCase()]; 7748 if (!t) throw new y(e); 7749 return t; 7750 } 7751 function ar(e, t) { 7752 for (var n, r = f(nr); !(n = r()).done; ) { 7753 var i = n.value; 7754 B(e[i]) && (e[i] = Kn[i]); 7755 } 7756 var o = zn(e) || Rn(e); 7757 if (o) return ur.invalid(o); 7758 var a = tt.now(), 7759 s = Zn(e, t.offset(a), t), 7760 u = s[0], 7761 l = s[1]; 7762 return new ur({ ts: u, zone: t, o: l }); 7763 } 7764 function sr(e, t, n) { 7765 var r = !!B(n.round) || n.round, 7766 i = function (e, i) { 7767 return (e = oe(e, r || n.calendary ? 0 : 2, !0)), t.loc.clone(n).relFormatter(n).format(e, i); 7768 }, 7769 o = function (r) { 7770 return n.calendary ? (t.hasSame(e, r) ? 0 : t.startOf(r).diff(e.startOf(r), r).get(r)) : t.diff(e, r).get(r); 7771 }; 7772 if (n.unit) return i(o(n.unit), n.unit); 7773 for (var a, s = f(n.units); !(a = s()).done; ) { 7774 var u = a.value, 7775 l = o(u); 7776 if (Math.abs(l) >= 1) return i(l, u); 7777 } 7778 return i(0, n.units[n.units.length - 1]); 7779 } 7780 var ur = (function () { 7781 function e(e) { 7782 var t = e.zone || tt.defaultZone,
7783 n = e.invalid || (Number.isNaN(e.ts) ? new $e("invalid input") : null) || (t.isValid ? null : Vn(t)); 7784 this.ts = B(e.ts) ? tt.now() : e.ts; 7785 var r = null, 7786 i = null; 7787 if (!n) 7788 if (e.old && e.old.ts === this.ts && e.old.zone.equals(t)) { 7789 var o = [e.old.c, e.old.o]; 7790 (r = o[0]), (i = o[1]); 7791 } else { 7792 var a = t.offset(this.ts); 7793 (r = Qn(this.ts, a)), (r = (n = Number.isNaN(r.year) ? new $e("invalid input") : null) ? null : r), (i = n ? null : a); 7794 } 7795 (this._zone = t), (this.loc = e.loc || ft.create()), (this.invalid = n), (this.weekData = null), (this.c = r), (this.o = i), (this.isLuxonDateTime = !0); 7796 } 7797 (e.local = function (t, n, r, i, o, a, s) { 7798 return B(t) ? new e({ ts: tt.now() }) : ar({ year: t, month: n, day: r, hour: i, minute: o, second: a, millisecond: s }, tt.defaultZone); 7799 }), 7800 (e.utc = function (t, n, r, i, o, a, s) { 7801 return B(t) ? new e({ ts: tt.now(), zone: Be.utcInstance }) : ar({ year: t, month: n, day: r, hour: i, minute: o, second: a, millisecond: s }, Be.utcInstance); 7802 }), 7803 (e.fromJSDate = function (t, n) { 7804 void 0 === n && (n = {}); 7805 var r, 7806 i = ((r = t), "[object Date]" === Object.prototype.toString.call(r) ? t.valueOf() : NaN); 7807 if (Number.isNaN(i)) return e.invalid("invalid input"); 7808 var o = Ze(n.zone, tt.defaultZone); 7809 return o.isValid ? new e({ ts: i, zone: o, loc: ft.fromObject(n) }) : e.invalid(Vn(o)); 7810 }), 7811 (e.fromMillis = function (t, n) { 7812 if ((void 0 === n && (n = {}), Q(t))) return t < -864e13 || t > 864e13 ? e.invalid("Timestamp out of range") : new e({ ts: t, zone: Ze(n.zone, tt.defaultZone), loc: ft.fromObject(n) }); 7813 throw new b("fromMillis requires a numerical input, but received a " + typeof t + " with value " + t); 7814 }), 7815 (e.fromSeconds = function (t, n) { 7816 if ((void 0 === n && (n = {}), Q(t))) return new e({ ts: 1e3 * t, zone: Ze(n.zone, tt.defaultZone), loc: ft.fromObject(n) }); 7817 throw new b("fromSeconds requires a numerical input"); 7818 }), 7819 (e.fromObject = function (t) { 7820 var n = Ze(t.zone, tt.defaultZone); 7821 if (!n.isValid) return e.invalid(Vn(n)); 7822 var r = tt.now(), 7823 i = n.offset(r), 7824 o = me(t, or, ["zone", "locale", "outputCalendar", "numberingSystem"]), 7825 a = !B(o.ordinal), 7826 s = !B(o.year), 7827 u = !B(o.month) || !B(o.day), 7828 l = s || u, 7829 c = o.weekYear || o.weekNumber, 7830 d = ft.fromObject(t); 7831 if ((l || a) && c) throw new v("Can't mix weekYear/weekNumber units with year/month/day or ordinals"); 7832 if (u && a) throw new v("Can't mix ordinal dates with month/day"); 7833 var h, 7834 p, 7835 m = c || (o.weekday && !l), 7836 g = Qn(r, i); 7837 m ? ((h = rr), (p = er), (g = qn(g))) : a ? ((h = ir), (p = tr), (g = Hn(g))) : ((h = nr), (p = Kn)); 7838 for (var y, b = !1, w = f(h); !(y = w()).done; ) { 7839 var x = y.value; 7840 B(o[x]) ? (o[x] = b ? p[x] : g[x]) : (b = !0); 7841 } 7842 var T = 7843 (m 7844 ? (function (e) { 7845 var t = Z(e.weekYear), 7846 n = te(e.weekNumber, 1, ce(e.weekYear)), 7847 r = te(e.weekday, 1, 7); 7848 return t ? (n ? !r && Ln("weekday", e.weekday) : Ln("week", e.week)) : Ln("weekYear", e.weekYear); 7849 })(o) 7850 : a 7851 ? (function (e) { 7852 var t = Z(e.year), 7853 n = te(e.ordinal, 1, se(e.year)); 7854 return t ? !n && Ln("ordinal", e.ordinal) : Ln("year", e.year); 7855 })(o) 7856 : zn(o)) || Rn(o); 7857 if (T) return e.invalid(T); 7858 var k = Zn(m ? Pn(o) : a ? Fn(o) : o, i, n), 7859 S = new e({ ts: k[0], zone: n, o: k[1], loc: d }); 7860 return o.weekday && l && t.weekday !== S.weekday ? e.invalid("mismatched weekday", "you can't specify both a weekday of " + o.weekday + " and a date of " + S.toISO()) : S; 7861 }), 7862 (e.fromISO = function (e, t) { 7863 void 0 === t && (t = {}); 7864 var n = (function (e) { 7865 return mt(e, [zt, Ut], [Rt, Bt], [Vt, Qt], [Wt, Zt]); 7866 })(e); 7867 return Yn(n[0], n[1], t, "ISO 8601", e); 7868 }), 7869 (e.fromRFC2822 = function (e, t) { 7870 void 0 === t && (t = {}); 7871 var n = (function (e) { 7872 return mt( 7873 (function (e) { 7874 return e 7875 .replace(/\([^)]*\)|[\n\t]/g, " ") 7876 .replace(/(\s\s+)/g, " ") 7877 .trim(); 7878 })(e), 7879 [Mt, It] 7880 ); 7881 })(e); 7882 return Yn(n[0], n[1], t, "RFC 2822", e); 7883 }), 7884 (e.fromHTTP = function (e, t) { 7885 void 0 === t && (t = {}); 7886 var n = (function (e) { 7887 return mt(e, [$t, Ht], [qt, Ht], [Pt, Ft]); 7888 })(e); 7889 return Yn(n[0], n[1], t, "HTTP", t); 7890 }), 7891 (e.fromFormat = function (t, n, r) { 7892 if ((void 0 === r && (r = {}), B(t) || B(n))) throw new b("fromFormat requires an input string and a format"); 7893 var i = r, 7894 o = i.locale, 7895 a = void 0 === o ? null : o, 7896 s = i.numberingSystem, 7897 u = void 0 === s ? null : s, 7898 l = (function (e, t, n) { 7899 var r = _n(e, t, n); 7900 return [r.result, r.zone, r.invalidReason]; 7901 })(ft.fromOpts({ locale: a, numberingSystem: u, defaultToEN: !0 }), t, n), 7902 c = l[0], 7903 d = l[1], 7904 f = l[2];
7905 return f ? e.invalid(f) : Yn(c, d, r, "format " + n, t); 7906 }), 7907 (e.fromString = function (t, n, r) { 7908 return void 0 === r && (r = {}), e.fromFormat(t, n, r); 7909 }), 7910 (e.fromSQL = function (e, t) { 7911 void 0 === t && (t = {}); 7912 var n = (function (e) { 7913 return mt(e, [Jt, Gt], [Yt, Xt]); 7914 })(e); 7915 return Yn(n[0], n[1], t, "SQL", e); 7916 }), 7917 (e.invalid = function (t, n) { 7918 if ((void 0 === n && (n = null), !t)) throw new b("need to specify a reason the DateTime is invalid"); 7919 var r = t instanceof $e ? t : new $e(t, n); 7920 if (tt.throwOnInvalid) throw new p(r); 7921 return new e({ invalid: r }); 7922 }), 7923 (e.isDateTime = function (e) { 7924 return (e && e.isLuxonDateTime) || !1; 7925 }); 7926 var t = e.prototype; 7927 return ( 7928 (t.get = function (e) { 7929 return this[e]; 7930 }), 7931 (t.resolvedLocaleOpts = function (e) { 7932 void 0 === e && (e = {}); 7933 var t = Ie.create(this.loc.clone(e), e).resolvedOptions(this); 7934 return { locale: t.locale, numberingSystem: t.numberingSystem, outputCalendar: t.calendar }; 7935 }), 7936 (t.toUTC = function (e, t) { 7937 return void 0 === e && (e = 0), void 0 === t && (t = {}), this.setZone(Be.instance(e), t); 7938 }), 7939 (t.toLocal = function () { 7940 return this.setZone(tt.defaultZone); 7941 }), 7942 (t.setZone = function (t, n) { 7943 var r = void 0 === n ? {} : n, 7944 i = r.keepLocalTime, 7945 o = void 0 !== i && i, 7946 a = r.keepCalendarTime, 7947 s = void 0 !== a && a; 7948 if ((t = Ze(t, tt.defaultZone)).equals(this.zone)) return this; 7949 if (t.isValid) { 7950 var u = this.ts; 7951 if (o || s) { 7952 var l = t.offset(this.ts); 7953 u = Zn(this.toObject(), l, t)[0]; 7954 } 7955 return Un(this, { ts: u, zone: t }); 7956 } 7957 return e.invalid(Vn(t)); 7958 }), 7959 (t.reconfigure = function (e) { 7960 var t = void 0 === e ? {} : e, 7961 n = t.locale, 7962 r = t.numberingSystem, 7963 i = t.outputCalendar; 7964 return Un(this, { loc: this.loc.clone({ locale: n, numberingSystem: r, outputCalendar: i }) }); 7965 }), 7966 (t.setLocale = function (e) { 7967 return this.reconfigure({ locale: e }); 7968 }), 7969 (t.set = function (e) { 7970 if (!this.isValid) return this; 7971 var t, 7972 n = me(e, or, []); 7973 !B(n.weekYear) || !B(n.weekNumber) || !B(n.weekday) 7974 ? (t = Pn(Object.assign(qn(this.c), n))) 7975 : B(n.ordinal) 7976 ? ((t = Object.assign(this.toObject(), n)), B(n.day) && (t.day = Math.min(ue(t.year, t.month), t.day))) 7977 : (t = Fn(Object.assign(Hn(this.c), n))); 7978 var r = Zn(t, this.o, this.zone); 7979 return Un(this, { ts: r[0], o: r[1] }); 7980 }), 7981 (t.plus = function (e) { 7982 return this.isValid ? Un(this, Jn(this, un(e))) : this; 7983 }), 7984 (t.minus = function (e) { 7985 return this.isValid ? Un(this, Jn(this, un(e).negate())) : this; 7986 }), 7987 (t.startOf = function (e) { 7988 if (!this.isValid) return this; 7989 var t = {}, 7990 n = sn.normalizeUnit(e); 7991 switch (n) { 7992 case "years": 7993 t.month = 1; 7994 case "quarters": 7995 case "months": 7996 t.day = 1; 7997 case "weeks": 7998 case "days": 7999 t.hour = 0; 8000 case "hours": 8001 t.minute = 0; 8002 case "minutes": 8003 t.second = 0; 8004 case "seconds": 8005 t.millisecond = 0; 8006 } 8007 if (("weeks" === n && (t.weekday = 1), "quarters" === n)) {
8008 var r = Math.ceil(this.month / 3); 8009 t.month = 3 * (r - 1) + 1; 8010 } 8011 return this.set(t); 8012 }), 8013 (t.endOf = function (e) { 8014 var t; 8015 return this.isValid 8016 ? this.plus(((t = {}), (t[e] = 1), t)) 8017 .startOf(e) 8018 .minus(1) 8019 : this; 8020 }), 8021 (t.toFormat = function (e, t) { 8022 return void 0 === t && (t = {}), this.isValid ? Ie.create(this.loc.redefaultToEN(t)).formatDateTimeFromString(this, e) : "Invalid DateTime"; 8023 }), 8024 (t.toLocaleString = function (e) { 8025 return void 0 === e && (e = S), this.isValid ? Ie.create(this.loc.clone(e), e).formatDateTime(this) : "Invalid DateTime"; 8026 }), 8027 (t.toLocaleParts = function (e) { 8028 return void 0 === e && (e = {}), this.isValid ? Ie.create(this.loc.clone(e), e).formatDateTimeParts(this) : []; 8029 }), 8030 (t.toISO = function (e) { 8031 return void 0 === e && (e = {}), this.isValid ? this.toISODate(e) + "T" + this.toISOTime(e) : null; 8032 }), 8033 (t.toISODate = function (e) { 8034 var t = (void 0 === e ? {} : e).format, 8035 n = "basic" === (void 0 === t ? "extended" : t) ? "yyyyMMdd" : "yyyy-MM-dd"; 8036 return this.year > 9999 && (n = "+" + n), Gn(this, n); 8037 }), 8038 (t.toISOWeekDate = function () { 8039 return Gn(this, "kkkk-'W'WW-c"); 8040 }), 8041 (t.toISOTime = function (e) { 8042 var t = void 0 === e ? {} : e, 8043 n = t.suppressMilliseconds, 8044 r = void 0 !== n && n, 8045 i = t.suppressSeconds, 8046 o = void 0 !== i && i, 8047 a = t.includeOffset, 8048 s = void 0 === a || a, 8049 u = t.format; 8050 return Xn(this, { suppressSeconds: o, suppressMilliseconds: r, includeOffset: s, format: void 0 === u ? "extended" : u }); 8051 }), 8052 (t.toRFC2822 = function () { 8053 return Gn(this, "EEE, dd LLL yyyy HH:mm:ss ZZZ", !1); 8054 }), 8055 (t.toHTTP = function () { 8056 return Gn(this.toUTC(), "EEE, dd LLL yyyy HH:mm:ss 'GMT'"); 8057 }), 8058 (t.toSQLDate = function () { 8059 return Gn(this, "yyyy-MM-dd"); 8060 }), 8061 (t.toSQLTime = function (e) { 8062 var t = void 0 === e ? {} : e, 8063 n = t.includeOffset, 8064 r = void 0 === n || n, 8065 i = t.includeZone; 8066 return Xn(this, { includeOffset: r, includeZone: void 0 !== i && i, spaceZone: !0 }); 8067 }), 8068 (t.toSQL = function (e) { 8069 return void 0 === e && (e = {}), this.isValid ? this.toSQLDate() + " " + this.toSQLTime(e) : null; 8070 }), 8071 (t.toString = function () { 8072 return this.isValid ? this.toISO() : "Invalid DateTime"; 8073 }), 8074 (t.valueOf = function () { 8075 return this.toMillis(); 8076 }), 8077 (t.toMillis = function () { 8078 return this.isValid ? this.ts : NaN; 8079 }), 8080 (t.toSeconds = function () { 8081 return this.isValid ? this.ts / 1e3 : NaN; 8082 }), 8083 (t.toJSON = function () { 8084 return this.toISO(); 8085 }), 8086 (t.toBSON = function () { 8087 return this.toJSDate(); 8088 }), 8089 (t.toObject = function (e) { 8090 if ((void 0 === e && (e = {}), !this.isValid)) return {}; 8091 var t = Object.assign({}, this.c); 8092 return e.includeConfig && ((t.outputCalendar = this.outputCalendar), (t.numberingSystem = this.loc.numberingSystem), (t.locale = this.loc.locale)), t; 8093 }), 8094 (t.toJSDate = function () { 8095 return new Date(this.isValid ? this.ts : NaN); 8096 }), 8097 (t.diff = function (e, t, n) { 8098 if ((void 0 === t && (t = "milliseconds"), void 0 === n && (n = {}), !this.isValid || !e.isValid)) return sn.invalid(this.invalid || e.invalid, "created by diffing an invalid DateTime"); 8099 var r, 8100 i = Object.assign({ locale: this.locale, numberingSystem: this.numberingSystem }, n), 8101 o = ((r = t), Array.isArray(r) ? r : [r]).map(sn.normalizeUnit), 8102 a = e.valueOf() > this.valueOf(), 8103 s = pn(a ? this : e, a ? e : this, o, i); 8104 return a ? s.negate() : s; 8105 }), 8106 (t.diffNow = function (t, n) { 8107 return void 0 === t && (t = "milliseconds"), void 0 === n && (n = {}), this.diff(e.local(), t, n); 8108 }), 8109 (t.until = function (e) { 8110 return this.isValid ? dn.fromDateTimes(this, e) : this; 8111 }), 8112 (t.hasSame = function (e, t) { 8113 if (!this.isValid) return !1; 8114 if ("millisecond" === t) return this.valueOf() === e.valueOf(); 8115 var n = e.valueOf(); 8116 return this.startOf(t) <= n && n <= this.endOf(t); 8117 }), 8118 (t.equals = function (e) { 8119 return this.isValid && e.isValid && this.valueOf() === e.valueOf() && this.zone.equals(e.zone) && this.loc.equals(e.loc); 8120 }), 8121 (t.toRelative = function (t) { 8122 if ((void 0 === t && (t = {}), !this.isValid)) return null; 8123 var n = t.base || e.fromObject({ zone: this.zone }), 8124 r = t.padding ? (this < n ? -t.padding : t.padding) : 0; 8125 return sr(n, this.plus(r), Object.assign(t, { numeric: "always", units: ["years", "months", "days", "hours", "minutes", "seconds"] })); 8126 }), 8127 (t.toRelativeCalendar = function (t) { 8128 return void 0 === t && (t = {}), this.isValid ? sr(t.base || e.fromObject({ zone: this.zone }), this, Object.assign(t, { numeric: "auto", units: ["years", "months", "days"], calendary: !0 })) : null; 8129 }), 8130 (e.min = function () { 8131 for (var t = arguments.length, n = new Array(t), r = 0; r < t; r++) n[r] = arguments[r]; 8132 if (!n.every(e.isDateTime)) throw new b("min requires all arguments be DateTimes"); 8133 return X( 8134 n, 8135 function (e) { 8136 return e.valueOf(); 8137 }, 8138 Math.min 8139 ); 8140 }), 8141 (e.max = function () { 8142 for (var t = arguments.length, n = new Array(t), r = 0; r < t; r++) n[r] = arguments[r]; 8143 if (!n.every(e.isDateTime)) throw new b("max requires all arguments be DateTimes"); 8144 return X( 8145 n, 8146 function (e) { 8147 return e.valueOf(); 8148 }, 8149 Math.max 8150 ); 8151 }), 8152 (e.fromFormatExplain = function (e, t, n) { 8153 void 0 === n && (n = {}); 8154 var r = n, 8155 i = r.locale, 8156 o = void 0 === i ? null : i, 8157 a = r.numberingSystem, 8158 s = void 0 === a ? null : a; 8159 return _n(ft.fromOpts({ locale: o, numberingSystem: s, defaultToEN: !0 }), e, t); 8160 }), 8161 (e.fromStringExplain = function (t, n, r) { 8162 return void 0 === r && (r = {}), e.fromFormatExplain(t, n, r); 8163 }), 8164 i( 8165 e, 8166 [ 8167 { 8168 key: "isValid", 8169 get: function () { 8170 return null === this.invalid; 8171 }, 8172 }, 8173 {
8174 key: "invalidReason", 8175 get: function () { 8176 return this.invalid ? this.invalid.reason : null; 8177 }, 8178 }, 8179 { 8180 key: "invalidExplanation", 8181 get: function () { 8182 return this.invalid ? this.invalid.explanation : null; 8183 }, 8184 }, 8185 { 8186 key: "locale", 8187 get: function () { 8188 return this.isValid ? this.loc.locale : null; 8189 }, 8190 }, 8191 { 8192 key: "numberingSystem", 8193 get: function () { 8194 return this.isValid ? this.loc.numberingSystem : null; 8195 }, 8196 }, 8197 { 8198 key: "outputCalendar", 8199 get: function () { 8200 return this.isValid ? this.loc.outputCalendar : null; 8201 }, 8202 }, 8203 { 8204 key: "zone", 8205 get: function () { 8206 return this._zone; 8207 }, 8208 }, 8209 { 8210 key: "zoneName", 8211 get: function () { 8212 return this.isValid ? this.zone.name : null; 8213 }, 8214 }, 8215 { 8216 key: "year", 8217 get: function () { 8218 return this.isValid ? this.c.year : NaN; 8219 }, 8220 }, 8221 { 8222 key: "quarter", 8223 get: function () { 8224 return this.isValid ? Math.ceil(this.c.month / 3) : NaN; 8225 }, 8226 }, 8227 { 8228 key: "month", 8229 get: function () { 8230 return this.isValid ? this.c.month : NaN; 8231 }, 8232 }, 8233 { 8234 key: "day", 8235 get: function () { 8236 return this.isValid ? this.c.day : NaN; 8237 }, 8238 }, 8239 { 8240 key: "hour", 8241 get: function () { 8242 return this.isValid ? this.c.hour : NaN; 8243 }, 8244 }, 8245 { 8246 key: "minute", 8247 get: function () { 8248 return this.isValid ? this.c.minute : NaN; 8249 }, 8250 }, 8251 { 8252 key: "second", 8253 get: function () { 8254 return this.isValid ? this.c.second : NaN; 8255 }, 8256 }, 8257 { 8258 key: "millisecond", 8259 get: function () { 8260 return this.isValid ? this.c.millisecond : NaN; 8261 }, 8262 }, 8263 { 8264 key: "weekYear", 8265 get: function () { 8266 return this.isValid ? Wn(this).weekYear : NaN; 8267 }, 8268 }, 8269 { 8270 key: "weekNumber", 8271 get: function () { 8272 return this.isValid ? Wn(this).weekNumber : NaN; 8273 }, 8274 }, 8275 { 8276 key: "weekday", 8277 get: function () { 8278 return this.isValid ? Wn(this).weekday : NaN; 8279 }, 8280 }, 8281 { 8282 key: "ordinal", 8283 get: function () { 8284 return this.isValid ? Hn(this.c).ordinal : NaN; 8285 }, 8286 }, 8287 { 8288 key: "monthShort", 8289 get: function () { 8290 return this.isValid ? fn.months("short", { locale: this.locale })[this.month - 1] : null; 8291 }, 8292 }, 8293 { 8294 key: "monthLong", 8295 get: function () { 8296 return this.isValid ? fn.months("long", { locale: this.locale })[this.month - 1] : null; 8297 }, 8298 }, 8299 { 8300 key: "weekdayShort", 8301 get: function () { 8302 return this.isValid ? fn.weekdays("short", { locale: this.locale })[this.weekday - 1] : null; 8303 }, 8304 }, 8305 { 8306 key: "weekdayLong", 8307 get: function () { 8308 return this.isValid ? fn.weekdays("long", { locale: this.locale })[this.weekday - 1] : null; 8309 }, 8310 }, 8311 { 8312 key: "offset", 8313 get: function () { 8314 return this.isValid ? +this.o : NaN; 8315 }, 8316 }, 8317 { 8318 key: "offsetNameShort", 8319 get: function () { 8320 return this.isValid ? this.zone.offsetName(this.ts, { format: "short", locale: this.locale }) : null; 8321 }, 8322 }, 8323 { 8324 key: "offsetNameLong", 8325 get: function () { 8326 return this.isValid ? this.zone.offsetName(this.ts, { format: "long", locale: this.locale }) : null; 8327 }, 8328 }, 8329 { 8330 key: "isOffsetFixed", 8331 get: function () { 8332 return this.isValid ? this.zone.universal : null; 8333 }, 8334 }, 8335 { 8336 key: "isInDST", 8337 get: function () { 8338 return !this.isOffsetFixed && (this.offset > this.set({ month: 1 }).offset || this.offset > this.set({ month: 5 }).offset); 8339 }, 8340 }, 8341 { 8342 key: "isInLeapYear", 8343 get: function () { 8344 return ae(this.year); 8345 }, 8346 }, 8347 { 8348 key: "daysInMonth", 8349 get: function () { 8350 return ue(this.year, this.month); 8351 }, 8352 }, 8353 { 8354 key: "daysInYear", 8355 get: function () { 8356 return this.isValid ? se(this.year) : NaN; 8357 }, 8358 }, 8359 { 8360 key: "weeksInWeekYear", 8361 get: function () { 8362 return this.isValid ? ce(this.weekYear) : NaN; 8363 }, 8364 }, 8365 ], 8366[ 8367{ 8368 key: "DATE_SHORT", 8369 get: function () { 8370 return S; 8371 }, 8372}, 8373{ 8374 key: "DATE_MED", 8375 get: function () { 8376 return E; 8377 }, 8378}, 8379{ 8380 key: "DATE_MED_WITH_WEEKDAY", 8381 get: function () { 8382 return C; 8383 }, 8384}, 8385{ 8386 key: "DATE_FULL", 8387 get: function () { 8388 return D; 8389 }, 8390}, 8391{ 8392 key: "DATE_HUGE", 8393 get: function () { 8394 return j; 8395 }, 8396}, 8397{ 8398 key: "TIME_SIMPLE", 8399 get: function () { 8400 return O; 8401 }, 8402}, 8403{ 8404 key: "TIME_WITH_SECONDS", 8405 get: function () { 8406 return _; 8407 }, 8408}, 8409{ 8410 key: "TIME_WITH_SHORT_OFFSET", 8411 get: function () { 8412 return N; 8413 }, 8414}, 8415{ 8416 key: "TIME_WITH_LONG_OFFSET", 8417 get: function () { 8418 return A; 8419 }, 8420}, 8421{ 8422 key: "TIME_24_SIMPLE", 8423 get: function () { 8424 return L; 8425 }, 8426}, 8427{ 8428 key: "TIME_24_WITH_SECONDS", 8429 get: function () { 8430 return M; 8431 }, 8432}, 8433{ 8434 key: "TIME_24_WITH_SHORT_OFFSET", 8435 get: function () { 8436 return I; 8437 }, 8438}, 8439{ 8440 key: "TIME_24_WITH_LONG_OFFSET", 8441 get: function () { 8442 return $; 8443 }, 8444}, 8445{ 8446 key: "DATETIME_SHORT", 8447 get: function () { 8448 return q; 8449 }, 8450}, 8451{ 8452 key: "DATETIME_SHORT_WITH_SECONDS", 8453 get: function () { 8454 return P; 8455 }, 8456}, 8457{ 8458 key: "DATETIME_MED", 8459 get: function () { 8460 return H; 8461 }, 8462}, 8463{ 8464 key: "DATETIME_MED_WITH_SECONDS", 8465 get: function () { 8466 return F; 8467 }, 8468}, 8469{ 8470 key: "DATETIME_MED_WITH_WEEKDAY", 8471 get: function () { 8472 return z; 8473 }, 8474}, 8475{ 8476 key: "DATETIME_FULL", 8477 get: function () { 8478 return R; 8479 }, 8480}, 8481{ 8482 key: "DATETIME_FULL_WITH_SECONDS", 8483 get: function () { 8484 return V; 8485 }, 8486}, 8487{ 8488 key: "DATETIME_HUGE", 8489 get: function () { 8490 return W; 8491 }, 8492}, 8493{ 8494 key: "DATETIME_HUGE_WITH_SECONDS", 8495 get: function () { 8496 return U; 8497 }, 8498}, 8499] 8500), 8501e 8502); 8503})(); 8504function lr(e) { 8505 if (ur.isDateTime(e)) return e; 8506 if (e && e.valueOf && Q(e.valueOf())) return ur.fromJSDate(e); 8507 if (e && "object" == typeof e) return ur.fromObject(e); 8508 throw new b("Unknown datetime argument: " + e + ", of type " + typeof e); 8509} 8510(t.DateTime = ur), (t.Duration = sn), (t.FixedOffsetZone = Be), (t.IANAZone = We), (t.Info = fn), (t.Interval = dn), (t.InvalidZone = Qe), (t.LocalZone = He), (t.Settings = tt), (t.Zone = qe); 8511}, 8512function (e, t, n) { 8513 var r, i, o; 8514 !(function (a, s) { 8515 "use strict"; 8516 e.exports ? (e.exports = s(n(7), n(8), n(9))) : ((i = [n(7), n(8), n(9)]), void 0 === (o = "function" == typeof (r = s) ? r.apply(t, i) : r) || (e.exports = o)); 8517 })(0, function (e, t, n, r) { 8518 "use strict"; 8519 var i = r && r.URI; 8520 function o(e, t) { 8521 var n = arguments.length >= 1, 8522 r = arguments.length >= 2; 8523 if (!(this instanceof o)) return n ? (r ? new o(e, t) : new o(e)) : new o(); 8524 if (void 0 === e) { 8525 if (n) throw new TypeError("undefined is not a valid argument for URI"); 8526 e = "undefined" != typeof location ? location.href + "" : ""; 8527 } 8528 if (null === e && n) throw new TypeError("null is not a valid argument for URI"); 8529 return this.href(e), void 0 !== t ? this.absoluteTo(t) : this; 8530 } 8531 o.version = "1.19.2"; 8532 var a = o.prototype, 8533 s = Object.prototype.hasOwnProperty; 8534 function u(e) { 8535 return e.replace(/([.*+?^=!:${}()|[\]\/\\])/g, "\\$1"); 8536 } 8537 function l(e) { 8538 return void 0 === e ? "Undefined" : String(Object.prototype.toString.call(e)).slice(8, -1); 8539 } 8540 function c(e) {
8541 return "Array" === l(e); 8542 } 8543 function d(e, t) { 8544 var n, 8545 r, 8546 i = {}; 8547 if ("RegExp" === l(t)) i = null; 8548 else if (c(t)) for (n = 0, r = t.length; n < r; n++) i[t[n]] = !0; 8549 else i[t] = !0; 8550 for (n = 0, r = e.length; n < r; n++) { 8551 ((i && void 0 !== i[e[n]]) || (!i && t.test(e[n]))) && (e.splice(n, 1), r--, n--); 8552 } 8553 return e; 8554 } 8555 function f(e, t) { 8556 var n, r; 8557 if (c(t)) { 8558 for (n = 0, r = t.length; n < r; n++) if (!f(e, t[n])) return !1; 8559 return !0; 8560 } 8561 var i = l(t); 8562 for (n = 0, r = e.length; n < r; n++) 8563 if ("RegExp" === i) { 8564 if ("string" == typeof e[n] && e[n].match(t)) return !0; 8565 } else if (e[n] === t) return !0; 8566 return !1; 8567 } 8568 function h(e, t) { 8569 if (!c(e) || !c(t)) return !1; 8570 if (e.length !== t.length) return !1; 8571 e.sort(), t.sort(); 8572 for (var n = 0, r = e.length; n < r; n++) if (e[n] !== t[n]) return !1; 8573 return !0; 8574 } 8575 function p(e) { 8576 return e.replace(/^\/+|\/+$/g, ""); 8577 } 8578 function m(e) { 8579 return escape(e); 8580 } 8581 function g(e) { 8582 return encodeURIComponent(e) 8583 .replace(/[!'()*]/g, m) 8584 .replace(/\*/g, "%2A"); 8585 } 8586 (o._parts = function () { 8587 return { 8588 protocol: null, 8589 username: null, 8590 password: null, 8591 hostname: null, 8592 urn: null, 8593 port: null, 8594 path: null, 8595 query: null, 8596 fragment: null, 8597 preventInvalidHostname: o.preventInvalidHostname, 8598 duplicateQueryParameters: o.duplicateQueryParameters, 8599 escapeQuerySpace: o.escapeQuerySpace, 8600 }; 8601 }), 8602 (o.preventInvalidHostname = !1), 8603 (o.duplicateQueryParameters = !1), 8604 (o.escapeQuerySpace = !0), 8605 (o.protocol_expression = /^[a-z][a-z0-9.+-]*$/i), 8606 (o.idn_expression = /[^a-z0-9\._-]/i), 8607 (o.punycode_expression = /(xn--)/i), 8608 (o.ip4_expression = /^\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}$/), 8609 (o.ip6_expression = /^\s*((([0-9A-Fa-f]{1,4}:){7}([0-9A-Fa-f]{1,4}|:))|(([0-9A-Fa-f]{1,4}:){6}(:[0-9A-Fa-f]{1,4}|((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){5}(((:[0-9A-Fa-f]{1,4}){1,2})|:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){4}(((:[0-9A-Fa-f]{1,4}){1,3})|((:[0-9A-Fa-f]{1,4})?:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){3}(((:[0-9A-Fa-f]{1,4}){1,4})|((:[0-9A-Fa-f]{1,4}){0,2}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){2}(((:[0-9A-Fa-f]{1,4}){1,5})|((:[0-9A-Fa-f]{1,4}){0,3}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){1}(((:[0-9A-Fa-f]{1,4}){1,6})|((:[0-9A-Fa-f]{1,4}){0,4}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(:(((:[0-9A-Fa-f]{1,4}){1,7})|((:[0-9A-Fa-f]{1,4}){0,5}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:)))(%.+)?\s*$/), 8610 (o.find_uri_expression = /\b((?:[a-z][\w-]+:(?:\/{1,3}|[a-z0-9%])|www\d{0,3}[.]|[a-z0-9.\-]+[.][a-z]{2,4}\/)(?:[^\s()<>]+|\(([^\s()<>]+|(\([^\s()<>]+\)))*\))+(?:\(([^\s()<>]+|(\([^\s()<>]+\)))*\)|[^\s`!()\[\]{};:'".,<>?«»ââââ]))/gi), 8611 (o.findUri = { start: /\b(?:([a-z][a-z0-9.+-]*:\/\/)|www\.)/gi, end: /[\s\r\n]|$/, trim: /[`!()\[\]{};:'".,<>?«»âââââ]+$/, parens: /(\([^\)]*\)|\[[^\]]*\]|\{[^}]*\}|<[^>]*>)/g }), 8612 (o.defaultPorts = { http: "80", https: "443", ftp: "21", gopher: "70", ws: "80", wss: "443" }), 8613 (o.hostProtocols = ["http", "https"]), 8614 (o.invalid_hostname_characters = /[^a-zA-Z0-9\.\-:_]/), 8615 (o.domAttributes = { 8616 a: "href", 8617 blockquote: "cite", 8618 link: "href", 8619 base: "href", 8620 script: "src", 8621 form: "action", 8622 img: "src", 8623 area: "href", 8624 iframe: "src", 8625 embed: "src", 8626 source: "src", 8627 track: "src", 8628 input: "src", 8629 audio: "src", 8630 video: "src", 8631 }), 8632 (o.getDomAttribute = function (e) { 8633 if (e && e.nodeName) { 8634 var t = e.nodeName.toLowerCase(); 8635 if ("input" !== t || "image" === e.type) return o.domAttributes[t]; 8636 } 8637 }), 8638 (o.encode = g), 8639 (o.decode = decodeURIComponent), 8640 (o.iso8859 = function () {
8641 (o.encode = escape), (o.decode = unescape); 8642 }), 8643 (o.unicode = function () { 8644 (o.encode = g), (o.decode = decodeURIComponent); 8645 }), 8646 (o.characters = { 8647 pathname: { 8648 encode: { expression: /%(24|26|2B|2C|3B|3D|3A|40)/gi, map: { "%24": "$", "%26": "&", "%2B": "+", "%2C": ",", "%3B": ";", "%3D": "=", "%3A": ":", "%40": "@" } }, 8649 decode: { expression: /[\/\?#]/g, map: { "/": "%2F", "?": "%3F", "#": "%23" } }, 8650 }, 8651 reserved: { 8652 encode: { 8653 expression: /%(21|23|24|26|27|28|29|2A|2B|2C|2F|3A|3B|3D|3F|40|5B|5D)/gi, 8654 map: { 8655 "%3A": ":", 8656 "%2F": "/", 8657 "%3F": "?", 8658 "%23": "#", 8659 "%5B": "[", 8660 "%5D": "]", 8661 "%40": "@", 8662 "%21": "!", 8663 "%24": "$", 8664 "%26": "&", 8665 "%27": "'", 8666 "%28": "(", 8667 "%29": ")", 8668 "%2A": "*", 8669 "%2B": "+", 8670 "%2C": ",", 8671 "%3B": ";", 8672 "%3D": "=", 8673 }, 8674 }, 8675 }, 8676 urnpath: { 8677 encode: { expression: /%(21|24|27|28|29|2A|2B|2C|3B|3D|40)/gi, map: { "%21": "!", "%24": "$", "%27": "'", "%28": "(", "%29": ")", "%2A": "*", "%2B": "+", "%2C": ",", "%3B": ";", "%3D": "=", "%40": "@" } }, 8678 decode: { expression: /[\/\?#:]/g, map: { "/": "%2F", "?": "%3F", "#": "%23", ":": "%3A" } }, 8679 }, 8680 }), 8681 (o.encodeQuery = function (e, t) { 8682 var n = o.encode(e + ""); 8683 return void 0 === t && (t = o.escapeQuerySpace), t ? n.replace(/%20/g, "+") : n; 8684 }), 8685 (o.decodeQuery = function (e, t) { 8686 (e += ""), void 0 === t && (t = o.escapeQuerySpace); 8687 try { 8688 return o.decode(t ? e.replace(/\+/g, "%20") : e); 8689 } catch (t) { 8690 return e; 8691 } 8692 }); 8693 var v, 8694 y = { encode: "encode", decode: "decode" }, 8695 b = function (e, t) { 8696 return function (n) { 8697 try { 8698 return o[t](n + "").replace(o.characters[e][t].expression, function (n) { 8699 return o.characters[e][t].map[n]; 8700 }); 8701 } catch (e) { 8702 return n; 8703 } 8704 }; 8705 }; 8706 for (v in y) (o[v + "PathSegment"] = b("pathname", y[v])), (o[v + "UrnPathSegment"] = b("urnpath", y[v])); 8707 var w = function (e, t, n) { 8708 return function (r) { 8709 var i; 8710 i = n 8711 ? function (e) { 8712 return o[t](o[n](e)); 8713 } 8714 : o[t]; 8715 for (var a = (r + "").split(e), s = 0, u = a.length; s < u; s++) a[s] = i(a[s]); 8716 return a.join(e); 8717 }; 8718 }; 8719 function x(e) { 8720 return function (t, n) { 8721 return void 0 === t ? this._parts[e] || "" : ((this._parts[e] = t || null), this.build(!n), this); 8722 }; 8723 } 8724 function T(e, t) { 8725 return function (n, r) { 8726 return void 0 === n ? this._parts[e] || "" : (null !== n && (n += "").charAt(0) === t && (n = n.substring(1)), (this._parts[e] = n), this.build(!r), this); 8727 }; 8728 } 8729 (o.decodePath = w("/", "decodePathSegment")), 8730 (o.decodeUrnPath = w(":", "decodeUrnPathSegment")), 8731 (o.recodePath = w("/", "encodePathSegment", "decode")), 8732 (o.recodeUrnPath = w(":", "encodeUrnPathSegment", "decode")), 8733 (o.encodeReserved = b("reserved", "encode")), 8734 (o.parse = function (e, t) { 8735 var n; 8736 return ( 8737 t || (t = { preventInvalidHostname: o.preventInvalidHostname }), 8738 (n = e.indexOf("#")) > -1 && ((t.fragment = e.substring(n + 1) || null), (e = e.substring(0, n))), 8739 (n = e.indexOf("?")) > -1 && ((t.query = e.substring(n + 1) || null), (e = e.substring(0, n))), 8740 "//" === e.substring(0, 2) 8741 ? ((t.protocol = null), (e = e.substring(2)), (e = o.parseAuthority(e, t))) 8742 : (n = e.indexOf(":")) > -1 && 8743 ((t.protocol = e.substring(0, n) || null), 8744 t.protocol && !t.protocol.match(o.protocol_expression) 8745 ? (t.protocol = void 0) 8746 : "//" === e.substring(n + 1, n + 3) 8747 ? ((e = e.substring(n + 3)), (e = o.parseAuthority(e, t))) 8748 : ((e = e.substring(n + 1)), (t.urn = !0))), 8749 (t.path = e), 8750 t 8751 ); 8752 }), 8753 (o.parseHost = function (e, t) { 8754 e || (e = ""); 8755 var n, 8756 r, 8757 i = (e = e.replace(/\\/g, "/")).indexOf("/"); 8758 if ((-1 === i && (i = e.length), "[" === e.charAt(0))) (n = e.indexOf("]")), (t.hostname = e.substring(1, n) || null), (t.port = e.substring(n + 2, i) || null), "/" === t.port && (t.port = null); 8759 else { 8760 var a = e.indexOf(":"), 8761 s = e.indexOf("/"), 8762 u = e.indexOf(":", a + 1); 8763 -1 !== u && (-1 === s || u < s) ? ((t.hostname = e.substring(0, i) || null), (t.port = null)) : ((r = e.substring(0, i).split(":")), (t.hostname = r[0] || null), (t.port = r[1] || null)); 8764 } 8765 return t.hostname && "/" !== e.substring(i).charAt(0) && (i++, (e = "/" + e)), t.preventInvalidHostname && o.ensureValidHostname(t.hostname, t.protocol), t.port && o.ensureValidPort(t.port), e.substring(i) || "/"; 8766 }),
8767 (o.parseAuthority = function (e, t) { 8768 return (e = o.parseUserinfo(e, t)), o.parseHost(e, t); 8769 }), 8770 (o.parseUserinfo = function (e, t) { 8771 var n, 8772 r = e.indexOf("/"), 8773 i = e.lastIndexOf("@", r > -1 ? r : e.length - 1); 8774 return ( 8775 i > -1 && (-1 === r || i < r) 8776 ? ((n = e.substring(0, i).split(":")), (t.username = n[0] ? o.decode(n[0]) : null), n.shift(), (t.password = n[0] ? o.decode(n.join(":")) : null), (e = e.substring(i + 1))) 8777 : ((t.username = null), (t.password = null)), 8778 e 8779 ); 8780 }), 8781 (o.parseQuery = function (e, t) { 8782 if (!e) return {}; 8783 if (!(e = e.replace(/&+/g, "&").replace(/^\?*&*|&+$/g, ""))) return {}; 8784 for (var n, r, i, a = {}, u = e.split("&"), l = u.length, c = 0; c < l; c++) 8785 (n = u[c].split("=")), 8786 (r = o.decodeQuery(n.shift(), t)), 8787 (i = n.length ? o.decodeQuery(n.join("="), t) : null), 8788 s.call(a, r) ? (("string" != typeof a[r] && null !== a[r]) || (a[r] = [a[r]]), a[r].push(i)) : (a[r] = i); 8789 return a; 8790 }), 8791 (o.build = function (e) { 8792 var t = "", 8793 n = !1; 8794 return ( 8795 e.protocol && (t += e.protocol + ":"), 8796 e.urn || (!t && !e.hostname) || ((t += "//"), (n = !0)), 8797 (t += o.buildAuthority(e) || ""), 8798 "string" == typeof e.path && ("/" !== e.path.charAt(0) && n && (t += "/"), (t += e.path)), 8799 "string" == typeof e.query && e.query && (t += "?" + e.query), 8800 "string" == typeof e.fragment && e.fragment && (t += "#" + e.fragment), 8801 t 8802 ); 8803 }), 8804 (o.buildHost = function (e) { 8805 var t = ""; 8806 return e.hostname ? (o.ip6_expression.test(e.hostname) ? (t += "[" + e.hostname + "]") : (t += e.hostname), e.port && (t += ":" + e.port), t) : ""; 8807 }), 8808 (o.buildAuthority = function (e) { 8809 return o.buildUserinfo(e) + o.buildHost(e); 8810 }), 8811 (o.buildUserinfo = function (e) { 8812 var t = ""; 8813 return e.username && (t += o.encode(e.username)), e.password && (t += ":" + o.encode(e.password)), t && (t += "@"), t; 8814 }), 8815 (o.buildQuery = function (e, t, n) { 8816 var r, 8817 i, 8818 a, 8819 u, 8820 l = ""; 8821 for (i in e) 8822 if (s.call(e, i)) 8823 if (c(e[i])) for (r = {}, a = 0, u = e[i].length; a < u; a++) void 0 !== e[i][a] && void 0 === r[e[i][a] + ""] && ((l += "&" + o.buildQueryParameter(i, e[i][a], n)), !0 !== t && (r[e[i][a] + ""] = !0)); 8824 else void 0 !== e[i] && (l += "&" + o.buildQueryParameter(i, e[i], n)); 8825 return l.substring(1); 8826 }), 8827 (o.buildQueryParameter = function (e, t, n) { 8828 return o.encodeQuery(e, n) + (null !== t ? "=" + o.encodeQuery(t, n) : ""); 8829 }), 8830 (o.addQuery = function (e, t, n) { 8831 if ("object" == typeof t) for (var r in t) s.call(t, r) && o.addQuery(e, r, t[r]); 8832 else { 8833 if ("string" != typeof t) throw new TypeError("URI.addQuery() accepts an object, string as the name parameter"); 8834 if (void 0 === e[t]) return void (e[t] = n); 8835 "string" == typeof e[t] && (e[t] = [e[t]]), c(n) || (n = [n]), (e[t] = (e[t] || []).concat(n)); 8836 } 8837 }), 8838 (o.setQuery = function (e, t, n) { 8839 if ("object" == typeof t) for (var r in t) s.call(t, r) && o.setQuery(e, r, t[r]); 8840 else { 8841 if ("string" != typeof t) throw new TypeError("URI.setQuery() accepts an object, string as the name parameter"); 8842 e[t] = void 0 === n ? null : n; 8843 } 8844 }), 8845 (o.removeQuery = function (e, t, n) { 8846 var r, i, a; 8847 if (c(t)) for (r = 0, i = t.length; r < i; r++) e[t[r]] = void 0; 8848 else if ("RegExp" === l(t)) for (a in e) t.test(a) && (e[a] = void 0); 8849 else if ("object" == typeof t) for (a in t) s.call(t, a) && o.removeQuery(e, a, t[a]); 8850 else { 8851 if ("string" != typeof t) throw new TypeError("URI.removeQuery() accepts an object, string, RegExp as the first parameter"); 8852 void 0 !== n 8853 ? "RegExp" === l(n) 8854 ? !c(e[t]) && n.test(e[t]) 8855 ? (e[t] = void 0) 8856 : (e[t] = d(e[t], n)) 8857 : e[t] !== String(n) || (c(n) && 1 !== n.length) 8858 ? c(e[t]) && (e[t] = d(e[t], n)) 8859 : (e[t] = void 0) 8860 : (e[t] = void 0); 8861 } 8862 }), 8863 (o.hasQuery = function (e, t, n, r) { 8864 switch (l(t)) { 8865 case "String": 8866 break; 8867 case "RegExp": 8868 for (var i in e) if (s.call(e, i) && t.test(i) && (void 0 === n || o.hasQuery(e, i, n))) return !0; 8869 return !1; 8870 case "Object": 8871 for (var a in t) if (s.call(t, a) && !o.hasQuery(e, a, t[a])) return !1; 8872 return !0; 8873 default: 8874 throw new TypeError("URI.hasQuery() accepts a string, regular expression or object as the name parameter"); 8875 } 8876 switch (l(n)) { 8877 case "Undefined": 8878 return t in e; 8879 case "Boolean": 8880 return n === Boolean(c(e[t]) ? e[t].length : e[t]); 8881 case "Function": 8882 return !!n(e[t], t, e); 8883 case "Array": 8884 return !!c(e[t]) && (r ? f : h)(e[t], n); 8885 case "RegExp": 8886 return c(e[t]) ? !!r && f(e[t], n) : Boolean(e[t] && e[t].match(n)); 8887 case "Number": 8888 n = String(n); 8889 case "String": 8890 return c(e[t]) ? !!r && f(e[t], n) : e[t] === n; 8891 default: 8892 throw new TypeError("URI.hasQuery() accepts undefined, boolean, string, number, RegExp, Function as the value parameter"); 8893 } 8894 }),
8895 (o.joinPaths = function () { 8896 for (var e = [], t = [], n = 0, r = 0; r < arguments.length; r++) { 8897 var i = new o(arguments[r]); 8898 e.push(i); 8899 for (var a = i.segment(), s = 0; s < a.length; s++) "string" == typeof a[s] && t.push(a[s]), a[s] && n++; 8900 } 8901 if (!t.length || !n) return new o(""); 8902 var u = new o("").segment(t); 8903 return ("" !== e[0].path() && "/" !== e[0].path().slice(0, 1)) || u.path("/" + u.path()), u.normalize(); 8904 }), 8905 (o.commonPath = function (e, t) { 8906 var n, 8907 r = Math.min(e.length, t.length); 8908 for (n = 0; n < r; n++) 8909 if (e.charAt(n) !== t.charAt(n)) { 8910 n--; 8911 break; 8912 } 8913 return n < 1 ? (e.charAt(0) === t.charAt(0) && "/" === e.charAt(0) ? "/" : "") : (("/" === e.charAt(n) && "/" === t.charAt(n)) || (n = e.substring(0, n).lastIndexOf("/")), e.substring(0, n + 1)); 8914 }), 8915 (o.withinString = function (e, t, n) { 8916 n || (n = {}); 8917 var r = n.start || o.findUri.start, 8918 i = n.end || o.findUri.end, 8919 a = n.trim || o.findUri.trim, 8920 s = n.parens || o.findUri.parens, 8921 u = /[a-z0-9-]=["']?$/i; 8922 for (r.lastIndex = 0; ; ) { 8923 var l = r.exec(e); 8924 if (!l) break; 8925 var c = l.index; 8926 if (n.ignoreHtml) { 8927 var d = e.slice(Math.max(c - 3, 0), c); 8928 if (d && u.test(d)) continue; 8929 } 8930 for (var f = c + e.slice(c).search(i), h = e.slice(c, f), p = -1; ; ) { 8931 var m = s.exec(h); 8932 if (!m) break; 8933 var g = m.index + m[0].length; 8934 p = Math.max(p, g); 8935 } 8936 if (!((h = p > -1 ? h.slice(0, p) + h.slice(p).replace(a, "") : h.replace(a, "")).length <= l[0].length || (n.ignore && n.ignore.test(h)))) { 8937 var v = t(h, c, (f = c + h.length), e); 8938 void 0 !== v ? ((v = String(v)), (e = e.slice(0, c) + v + e.slice(f)), (r.lastIndex = c + v.length)) : (r.lastIndex = f); 8939 } 8940 } 8941 return (r.lastIndex = 0), e; 8942 }), 8943 (o.ensureValidHostname = function (t, n) { 8944 var r = !!t, 8945 i = !1; 8946 if ((!!n && (i = f(o.hostProtocols, n)), i && !r)) throw new TypeError("Hostname cannot be empty, if protocol is " + n); 8947 if (t && t.match(o.invalid_hostname_characters)) { 8948 if (!e) throw new TypeError('Hostname "' + t + '" contains characters other than [A-Z0-9.-:_] and Punycode.js is not available'); 8949 if (e.toASCII(t).match(o.invalid_hostname_characters)) throw new TypeError('Hostname "' + t + '" contains characters other than [A-Z0-9.-:_]'); 8950 } 8951 }), 8952 (o.ensureValidPort = function (e) { 8953 if (e) { 8954 var t = Number(e); 8955 if (!(/^[0-9]+$/.test(t) && t > 0 && t < 65536)) throw new TypeError('Port "' + e + '" is not a valid port'); 8956 } 8957 }), 8958 (o.noConflict = function (e) { 8959 if (e) { 8960 var t = { URI: this.noConflict() }; 8961 return ( 8962 r.URITemplate && "function" == typeof r.URITemplate.noConflict && (t.URITemplate = r.URITemplate.noConflict()), 8963 r.IPv6 && "function" == typeof r.IPv6.noConflict && (t.IPv6 = r.IPv6.noConflict()), 8964 r.SecondLevelDomains && "function" == typeof r.SecondLevelDomains.noConflict && (t.SecondLevelDomains = r.SecondLevelDomains.noConflict()), 8965 t 8966 ); 8967 } 8968 return r.URI === this && (r.URI = i), this; 8969 }), 8970 (a.build = function (e) { 8971 return !0 === e ? (this._deferred_build = !0) : (void 0 === e || this._deferred_build) && ((this._string = o.build(this._parts)), (this._deferred_build = !1)), this; 8972 }), 8973 (a.clone = function () { 8974 return new o(this); 8975 }), 8976 (a.valueOf = a.toString = function () { 8977 return this.build(!1)._string; 8978 }), 8979 (a.protocol = x("protocol")), 8980 (a.username = x("username")), 8981 (a.password = x("password")), 8982 (a.hostname = x("hostname")), 8983 (a.port = x("port")), 8984 (a.query = T("query", "?")), 8985 (a.fragment = T("fragment", "#")), 8986 (a.search = function (e, t) { 8987 var n = this.query(e, t); 8988 return "string" == typeof n && n.length ? "?" + n : n; 8989 }), 8990 (a.hash = function (e, t) { 8991 var n = this.fragment(e, t); 8992 return "string" == typeof n && n.length ? "#" + n : n; 8993 }), 8994 (a.pathname = function (e, t) { 8995 if (void 0 === e || !0 === e) { 8996 var n = this._parts.path || (this._parts.hostname ? "/" : ""); 8997 return e ? (this._parts.urn ? o.decodeUrnPath : o.decodePath)(n) : n; 8998 } 8999 return this._parts.urn ? (this._parts.path = e ? o.recodeUrnPath(e) : "") : (this._parts.path = e ? o.recodePath(e) : "/"), this.build(!t), this; 9000 }), 9001 (a.path = a.pathname), 9002 (a.href = function (e, t) { 9003 var n; 9004 if (void 0 === e) return this.toString(); 9005 (this._string = ""), (this._parts = o._parts()); 9006 var r = e instanceof o, 9007 i = "object" == typeof e && (e.hostname || e.path || e.pathname); 9008 e.nodeName && ((e = e[o.getDomAttribute(e)] || ""), (i = !1)); 9009 if ((!r && i && void 0 !== e.pathname && (e = e.toString()), "string" == typeof e || e instanceof String)) this._parts = o.parse(String(e), this._parts); 9010 else { 9011 if (!r && !i) throw new TypeError("invalid input"); 9012 var a = r ? e._parts : e; 9013 for (n in a) "query" !== n && s.call(this._parts, n) && (this._parts[n] = a[n]); 9014 a.query && this.query(a.query, !1); 9015 } 9016 return this.build(!t), this; 9017 }), 9018 (a.is = function (e) { 9019 var t = !1, 9020 r = !1, 9021 i = !1, 9022 a = !1, 9023 s = !1, 9024 u = !1, 9025 l = !1, 9026 c = !this._parts.urn; 9027 switch ( 9028 (this._parts.hostname && 9029 ((c = !1), 9030 (r = o.ip4_expression.test(this._parts.hostname)), 9031 (i = o.ip6_expression.test(this._parts.hostname)), 9032 (s = (a = !(t = r || i)) && n && n.has(this._parts.hostname)), 9033 (u = a && o.idn_expression.test(this._parts.hostname)), 9034 (l = a && o.punycode_expression.test(this._parts.hostname))), 9035 e.toLowerCase()) 9036 ) { 9037 case "relative": 9038 return c; 9039 case "absolute": 9040 return !c; 9041 case "domain": 9042 case "name": 9043 return a; 9044 case "sld": 9045 return s; 9046 case "ip": 9047 return t; 9048 case "ip4": 9049 case "ipv4": 9050 case "inet4": 9051 return r; 9052 case "ip6": 9053 case "ipv6": 9054 case "inet6": 9055 return i; 9056 case "idn": 9057 return u; 9058 case "url": 9059 return !this._parts.urn; 9060 case "urn": 9061 return !!this._parts.urn; 9062 case "punycode": 9063 return l; 9064 } 9065 return null; 9066 }); 9067 var k = a.protocol, 9068 S = a.port, 9069 E = a.hostname; 9070 (a.protocol = function (e, t) { 9071 if (e && !(e = e.replace(/:(\/\/)?$/, "")).match(o.protocol_expression)) throw new TypeError('Protocol "' + e + "\" contains characters other than [A-Z0-9.+-] or doesn't start with [A-Z]"); 9072 return k.call(this, e, t); 9073 }), 9074 (a.scheme = a.protocol), 9075 (a.port = function (e, t) { 9076 return this._parts.urn ? (void 0 === e ? "" : this) : (void 0 !== e && (0 === e && (e = null), e && (":" === (e += "").charAt(0) && (e = e.substring(1)), o.ensureValidPort(e))), S.call(this, e, t)); 9077 }), 9078 (a.hostname = function (e, t) { 9079 if (this._parts.urn) return void 0 === e ? "" : this; 9080 if (void 0 !== e) { 9081 var n = { preventInvalidHostname: this._parts.preventInvalidHostname }; 9082 if ("/" !== o.parseHost(e, n)) throw new TypeError('Hostname "' + e + '" contains characters other than [A-Z0-9.-]'); 9083 (e = n.hostname), this._parts.preventInvalidHostname && o.ensureValidHostname(e, this._parts.protocol); 9084 } 9085 return E.call(this, e, t); 9086 }), 9087 (a.origin = function (e, t) { 9088 if (this._parts.urn) return void 0 === e ? "" : this; 9089 if (void 0 === e) { 9090 var n = this.protocol(); 9091 return this.authority() ? (n ? n + "://" : "") + this.authority() : ""; 9092 } 9093 var r = o(e); 9094 return this.protocol(r.protocol()).authority(r.authority()).build(!t), this; 9095 }), 9096 (a.host = function (e, t) { 9097 if (this._parts.urn) return void 0 === e ? "" : this; 9098 if (void 0 === e) return this._parts.hostname ? o.buildHost(this._parts) : ""; 9099 if ("/" !== o.parseHost(e, this._parts)) throw new TypeError('Hostname "' + e + '" contains characters other than [A-Z0-9.-]'); 9100 return this.build(!t), this; 9101 }), 9102 (a.authority = function (e, t) { 9103 if (this._parts.urn) return void 0 === e ? "" : this; 9104 if (void 0 === e) return this._parts.hostname ? o.buildAuthority(this._parts) : ""; 9105 if ("/" !== o.parseAuthority(e, this._parts)) throw new TypeError('Hostname "' + e + '" contains characters other than [A-Z0-9.-]'); 9106 return this.build(!t), this; 9107 }), 9108 (a.userinfo = function (e, t) { 9109 if (this._parts.urn) return void 0 === e ? "" : this; 9110 if (void 0 === e) { 9111 var n = o.buildUserinfo(this._parts); 9112 return n ? n.substring(0, n.length - 1) : n; 9113 } 9114 return "@" !== e[e.length - 1] && (e += "@"), o.parseUserinfo(e, this._parts), this.build(!t), this; 9115 }), 9116 (a.resource = function (e, t) { 9117 var n; 9118 return void 0 === e ? this.path() + this.search() + this.hash() : ((n = o.parse(e)), (this._parts.path = n.path), (this._parts.query = n.query
9118), (this._parts.fragment = n.fragment), this.build(!t), this); 9119 }), 9120 (a.subdomain = function (e, t) { 9121 if (this._parts.urn) return void 0 === e ? "" : this; 9122 if (void 0 === e) { 9123 if (!this._parts.hostname || this.is("IP")) return ""; 9124 var n = this._parts.hostname.length - this.domain().length - 1; 9125 return this._parts.hostname.substring(0, n) || ""; 9126 } 9127 var r = this._parts.hostname.length - this.domain().length, 9128 i = this._parts.hostname.substring(0, r), 9129 a = new RegExp("^" + u(i)); 9130 if ((e && "." !== e.charAt(e.length - 1) && (e += "."), -1 !== e.indexOf(":"))) throw new TypeError("Domains cannot contain colons"); 9131 return e && o.ensureValidHostname(e, this._parts.protocol), (this._parts.hostname = this._parts.hostname.replace(a, e)), this.build(!t), this; 9132 }), 9133 (a.domain = function (e, t) { 9134 if (this._parts.urn) return void 0 === e ? "" : this; 9135 if (("boolean" == typeof e && ((t = e), (e = void 0)), void 0 === e)) { 9136 if (!this._parts.hostname || this.is("IP")) return ""; 9137 var n = this._parts.hostname.match(/\./g); 9138 if (n && n.length < 2) return this._parts.hostname; 9139 var r = this._parts.hostname.length - this.tld(t).length - 1; 9140 return (r = this._parts.hostname.lastIndexOf(".", r - 1) + 1), this._parts.hostname.substring(r) || ""; 9141 } 9142 if (!e) throw new TypeError("cannot set domain empty"); 9143 if (-1 !== e.indexOf(":")) throw new TypeError("Domains cannot contain colons"); 9144 if ((o.ensureValidHostname(e, this._parts.protocol), !this._parts.hostname || this.is("IP"))) this._parts.hostname = e; 9145 else { 9146 var i = new RegExp(u(this.domain()) + "$"); 9147 this._parts.hostname = this._parts.hostname.replace(i, e); 9148 } 9149 return this.build(!t), this; 9150 }), 9151 (a.tld = function (e, t) { 9152 if (this._parts.urn) return void 0 === e ? "" : this; 9153 if (("boolean" == typeof e && ((t = e), (e = void 0)), void 0 === e)) { 9154 if (!this._parts.hostname || this.is("IP")) return ""; 9155 var r = this._parts.hostname.lastIndexOf("."), 9156 i = this._parts.hostname.substring(r + 1); 9157 return (!0 !== t && n && n.list[i.toLowerCase()] && n.get(this._parts.hostname)) || i; 9158 } 9159 var o; 9160 if (!e) throw new TypeError("cannot set TLD empty"); 9161 if (e.match(/[^a-zA-Z0-9-]/)) { 9162 if (!n || !n.is(e)) throw new TypeError('TLD "' + e + '" contains characters other than [A-Z0-9]'); 9163 (o = new RegExp(u(this.tld()) + "$")), (this._parts.hostname = this._parts.hostname.replace(o, e)); 9164 } else { 9165 if (!this._parts.hostname || this.is("IP")) throw new ReferenceError("cannot set TLD on non-domain host"); 9166 (o = new RegExp(u(this.tld()) + "$")), (this._parts.hostname = this._parts.hostname.replace(o, e)); 9167 } 9168 return this.build(!t), this; 9169 }), 9170 (a.directory = function (e, t) { 9171 if (this._parts.urn) return void 0 === e ? "" : this; 9172 if (void 0 === e || !0 === e) { 9173 if (!this._parts.path && !this._parts.hostname) return ""; 9174 if ("/" === this._parts.path) return "/"; 9175 var n = this._parts.path.length - this.filename().length - 1, 9176 r = this._parts.path.substring(0, n) || (this._parts.hostname ? "/" : ""); 9177 return e ? o.decodePath(r) : r; 9178 } 9179 var i = this._parts.path.length - this.filename().length, 9180 a = this._parts.path.substring(0, i), 9181 s = new RegExp("^" + u(a)); 9182 return ( 9183 this.is("relative") || (e || (e = "/"), "/" !== e.charAt(0) && (e = "/" + e)), 9184 e && "/" !== e.charAt(e.length - 1) && (e += "/"), 9185 (e = o.recodePath(e)), 9186 (this._parts.path = this._parts.path.replace(s, e)), 9187 this.build(!t), 9188 this 9189 ); 9190 }), 9191 (a.filename = function (e, t) { 9192 if (this._parts.urn) return void 0 === e ? "" : this; 9193 if ("string" != typeof e) { 9194 if (!this._parts.path || "/" === this._parts.path) return ""; 9195 var n = this._parts.path.lastIndexOf("/"), 9196 r = this._parts.path.substring(n + 1); 9197 return e ? o.decodePathSegment(r) : r; 9198 } 9199 var i = !1; 9200 "/" === e.charAt(0) && (e = e.substring(1)), e.match(/\.?\//) && (i = !0); 9201 var a = new RegExp(u(this.filename()) + "$"); 9202 return (e = o.recodePath(e)), (this._parts.path = this._parts.path.replace(a, e)), i ? this.normalizePath(t) : this.build(!t), this; 9203 }), 9204 (a.suffix = function (e, t) { 9205 if (this._parts.urn) return void 0 === e ? "" : this; 9206 if (void 0 === e || !0 === e) { 9207 if (!this._parts.path || "/" === this._parts.path) return ""; 9208 var n, 9209 r, 9210 i = this.filename(), 9211 a = i.lastIndexOf("."); 9212 return -1 === a ? "" : ((n = i.substring(a + 1)), (r = /^[a-z0-9%]+$/i.test(n) ? n : ""), e ? o.decodePathSegment(r) : r); 9213 } 9214 "." === e.charAt(0) && (e = e.substring(1)); 9215 var s, 9216 l = this.suffix(); 9217 if (l) s = e ? new RegExp(u(l) + "$") : new RegExp(u("." + l) + "$"); 9218 else { 9219 if (!e) return this; 9220 this._parts.path += "." + o.recodePath(e); 9221 } 9222 return s && ((e = o.recodePath(e)), (this._parts.path = this._parts.path.replace(s, e))), this.build(!t), this; 9223 }), 9224 (a.segment = function (e, t, n) { 9225 var r = this._parts.urn ? ":" : "/", 9226 i = this.path(), 9227 o = "/" === i.substring(0, 1), 9228 a = i.split(r); 9229 if ((void 0 !== e && "number" != typeof e && ((n = t), (t = e), (e = void 0)), void 0 !== e && "number" != typeof e)) throw new Error('Bad segment "' + e + '", must be 0-based integer'); 9230 if ((o && a.shift(), e < 0 && (e = Math.max(a.length + e, 0)), void 0 === t)) return void 0 === e ? a : a[e]; 9231 if (null === e || void 0 === a[e]) 9232 if (c(t)) { 9233 a = []; 9234 for (var s = 0, u = t.length; s < u; s++) (t[s].length || (a.length && a[a.length - 1].length)) && (a.length && !a[a.length - 1].length && a.pop(), a.push(p(t[s]))); 9235 } else (t || "string" == typeof t) && ((t = p(t)), "" === a[a.length - 1] ? (a[a.length - 1] = t) : a.push(t)); 9236 else t ? (a[e] = p(t)) : a.splice(e, 1); 9237 return o && a.unshift(""), this.path(a.join(r), n); 9238 }), 9239 (a.segmentCoded = function (e, t, n) { 9240 var r, i, a; 9241 if (("number" != typeof e && ((n = t), (t = e), (e = void 0)), void 0 === t)) { 9242 if (c((r = this.segment(e, t, n)))) for (i = 0, a = r.length; i < a; i++) r[i] = o.decode(r[i]); 9243 else r = void 0 !== r ? o.decode(r) : void 0; 9244 return r; 9245 } 9246 if (c(t)) for (i = 0, a = t.length; i < a; i++) t[i] = o.encode(t[i]); 9247 else t = "string" == typeof t || t instanceof String ? o.encode(t) : t; 9248 return this.segment(e, t, n); 9249 }); 9250 var C = a.query; 9251 return ( 9252 (a.query = function (e, t) { 9253 if (!0 === e) return o.parseQuery(this._parts.query, this._parts.escapeQuerySpace); 9254 if ("function" == typeof e) { 9255 var n = o.parseQuery(this._parts.query, this._parts.escapeQuerySpace), 9256 r = e.call(this, n); 9257 return (this._parts.query = o.buildQuery(r || n, this._parts.duplicateQueryParameters, this._parts.escapeQuerySpace)), this.build(!t), this; 9258 } 9259 return void 0 !== e && "string" != typeof e ? ((this._parts.query = o.buildQuery(e, this._parts.duplicateQueryParameters, this._parts.escapeQuerySpace)), this.build(!t), this) : C.call(this, e, t); 9260 }), 9261 (a.setQuery = function (e, t, n) { 9262 var r = o.parseQuery(this._parts.query, this._parts.escapeQuerySpace); 9263 if ("string" == typeof e || e instanceof String) r[e] = void 0 !== t ? t : null; 9264 else { 9265 if ("object" != typeof e) throw new TypeError("URI.addQuery() accepts an object, string as the name parameter");
9266 for (var i in e) s.call(e, i) && (r[i] = e[i]); 9267 } 9268 return (this._parts.query = o.buildQuery(r, this._parts.duplicateQueryParameters, this._parts.escapeQuerySpace)), "string" != typeof e && (n = t), this.build(!n), this; 9269 }), 9270 (a.addQuery = function (e, t, n) { 9271 var r = o.parseQuery(this._parts.query, this._parts.escapeQuerySpace); 9272 return o.addQuery(r, e, void 0 === t ? null : t), (this._parts.query = o.buildQuery(r, this._parts.duplicateQueryParameters, this._parts.escapeQuerySpace)), "string" != typeof e && (n = t), this.build(!n), this; 9273 }), 9274 (a.removeQuery = function (e, t, n) { 9275 var r = o.parseQuery(this._parts.query, this._parts.escapeQuerySpace); 9276 return o.removeQuery(r, e, t), (this._parts.query = o.buildQuery(r, this._parts.duplicateQueryParameters, this._parts.escapeQuerySpace)), "string" != typeof e && (n = t), this.build(!n), this; 9277 }), 9278 (a.hasQuery = function (e, t, n) { 9279 var r = o.parseQuery(this._parts.query, this._parts.escapeQuerySpace); 9280 return o.hasQuery(r, e, t, n); 9281 }), 9282 (a.setSearch = a.setQuery), 9283 (a.addSearch = a.addQuery), 9284 (a.removeSearch = a.removeQuery), 9285 (a.hasSearch = a.hasQuery), 9286 (a.normalize = function () { 9287 return this._parts.urn 9288 ? this.normalizeProtocol(!1).normalizePath(!1).normalizeQuery(!1).normalizeFragment(!1).build() 9289 : this.normalizeProtocol(!1).normalizeHostname(!1).normalizePort(!1).normalizePath(!1).normalizeQuery(!1).normalizeFragment(!1).build(); 9290 }), 9291 (a.normalizeProtocol = function (e) { 9292 return "string" == typeof this._parts.protocol && ((this._parts.protocol = this._parts.protocol.toLowerCase()), this.build(!e)), this; 9293 }), 9294 (a.normalizeHostname = function (n) { 9295 return ( 9296 this._parts.hostname && 9297 (this.is("IDN") && e ? (this._parts.hostname = e.toASCII(this._parts.hostname)) : this.is("IPv6") && t && (this._parts.hostname = t.best(this._parts.hostname)), 9298 (this._parts.hostname = this._parts.hostname.toLowerCase()), 9299 this.build(!n)), 9300 this 9301 ); 9302 }), 9303 (a.normalizePort = function (e) { 9304 return "string" == typeof this._parts.protocol && this._parts.port === o.defaultPorts[this._parts.protocol] && ((this._parts.port = null), this.build(!e)), this; 9305 }), 9306 (a.normalizePath = function (e) { 9307 var t, 9308 n = this._parts.path; 9309 if (!n) return this; 9310 if (this._parts.urn) return (this._parts.path = o.recodeUrnPath(this._parts.path)), this.build(!e), this; 9311 if ("/" === this._parts.path) return this; 9312 var r, 9313 i, 9314 a = ""; 9315 for ( 9316 "/" !== (n = o.recodePath(n)).charAt(0) && ((t = !0), (n = "/" + n)), 9317 ("/.." !== n.slice(-3) && "/." !== n.slice(-2)) || (n += "/"), 9318 n = n.replace(/(\/(\.\/)+)|(\/\.$)/g, "/").replace(/\/{2,}/g, "/"), 9319 t && (a = n.substring(1).match(/^(\.\.\/)+/) || "") && (a = a[0]); 9320 -1 !== (r = n.search(/\/\.\.(\/|$)/)); 9321 9322 ) 9323 0 !== r ? (-1 === (i = n.substring(0, r).lastIndexOf("/")) && (i = r), (n = n.substring(0, i) + n.substring(r + 3))) : (n = n.substring(3)); 9324 return t && this.is("relative") && (n = a + n.substring(1)), (this._parts.path = n), this.build(!e), this; 9325 }), 9326 (a.normalizePathname = a.normalizePath), 9327 (a.normalizeQuery = function (e) { 9328 return "string" == typeof this._parts.query && (this._parts.query.length ? this.query(o.parseQuery(this._parts.query, this._parts.escapeQuerySpace)) : (this._parts.query = null), this.build(!e)), this; 9329 }), 9330 (a.normalizeFragment = function (e) { 9331 return this._parts.fragment || ((this._parts.fragment = null), this.build(!e)), this; 9332 }), 9333 (a.normalizeSearch = a.normalizeQuery), 9334 (a.normalizeHash = a.normalizeFragment), 9335 (a.iso8859 = function () { 9336 var e = o.encode, 9337 t = o.decode; 9338 (o.encode = escape), (o.decode = decodeURIComponent); 9339 try { 9340 this.normalize(); 9341 } finally { 9342 (o.encode = e), (o.decode = t); 9343 } 9344 return this; 9345 }), 9346 (a.unicode = function () { 9347 var e = o.encode, 9348 t = o.decode; 9349 (o.encode = g), (o.decode = unescape); 9350 try { 9351 this.normalize(); 9352 } finally { 9353 (o.encode = e), (o.decode = t); 9354 } 9355 return this; 9356 }), 9357 (a.readable = function () { 9358 var t = this.clone(); 9359 t.username("").password("").normalize(); 9360 var n = ""; 9361 if ( 9362 (t._parts.protocol && (n += t._parts.protocol + "://"), 9363 t._parts.hostname && (t.is("punycode") && e ? ((n += e.toUnicode(t._parts.hostname)), t._parts.port && (n += ":" + t._parts.port)) : (n += t.host())), 9364 t._parts.hostname && t._parts.path && "/" !== t._parts.path.
9364charAt(0) && (n += "/"), 9365 (n += t.path(!0)), 9366 t._parts.query) 9367 ) { 9368 for (var r = "", i = 0, a = t._parts.query.split("&"), s = a.length; i < s; i++) { 9369 var u = (a[i] || "").split("="); 9370 (r += "&" + o.decodeQuery(u[0], this._parts.escapeQuerySpace).replace(/&/g, "%26")), void 0 !== u[1] && (r += "=" + o.decodeQuery(u[1], this._parts.escapeQuerySpace).replace(/&/g, "%26")); 9371 } 9372 n += "?" + r.substring(1); 9373 } 9374 return (n += o.decodeQuery(t.hash(), !0)); 9375 }), 9376 (a.absoluteTo = function (e) { 9377 var t, 9378 n, 9379 r, 9380 i = this.clone(), 9381 a = ["protocol", "username", "password", "hostname", "port"]; 9382 if (this._parts.urn) throw new Error("URNs do not have any generally defined hierarchical components"); 9383 if ((e instanceof o || (e = new o(e)), i._parts.protocol)) return i; 9384 if (((i._parts.protocol = e._parts.protocol), this._parts.hostname)) return i; 9385 for (n = 0; (r = a[n]); n++) i._parts[r] = e._parts[r]; 9386 return ( 9387 i._parts.path 9388 ? (".." === i._parts.path.substring(-2) && (i._parts.path += "/"), 9389 "/" !== i.path().charAt(0) && ((t = (t = e.directory()) || (0 === e.path().indexOf("/") ? "/" : "")), (i._parts.path = (t ? t + "/" : "") + i._parts.path), i.normalizePath())) 9390 : ((i._parts.path = e._parts.path), i._parts.query || (i._parts.query = e._parts.query)), 9391 i.build(), 9392 i 9393 ); 9394 }), 9395 (a.relativeTo = function (e) { 9396 var t, 9397 n, 9398 r, 9399 i, 9400 a, 9401 s = this.clone().normalize(); 9402 if (s._parts.urn) throw new Error("URNs do not have any generally defined hierarchical components"); 9403 if (((e = new o(e).normalize()), (t = s._parts), (n = e._parts), (i = s.path()), (a = e.path()), "/" !== i.charAt(0))) throw new Error("URI is already relative"); 9404 if ("/" !== a.charAt(0)) throw new Error("Cannot calculate a URI relative to another relative URI"); 9405 if ((t.protocol === n.protocol && (t.protocol = null), t.username !== n.username || t.password !== n.password)) return s.build(); 9406 if (null !== t.protocol || null !== t.username || null !== t.password) return s.build(); 9407 if (t.hostname !== n.hostname || t.port !== n.port) return s.build(); 9408 if (((t.hostname = null), (t.port = null), i === a)) return (t.path = ""), s.build(); 9409 if (!(r = o.commonPath(i, a))) return s.build(); 9410 var u = n.path 9411 .substring(r.length) 9412 .replace(/[^\/]*$/, "") 9413 .replace(/.*?\//g, "../"); 9414 return (t.path = u + t.path.substring(r.length) || "./"), s.build(); 9415 }), 9416 (a.equals = function (e) { 9417 var t, 9418 n, 9419 r, 9420 i, 9421 a, 9422 u = this.clone(), 9423 l = new o(e), 9424 d = {}; 9425 if ((u.normalize(), l.normalize(), u.toString() === l.toString())) return !0; 9426 if (((r = u.query()), (i = l.query()), u.query(""), l.query(""), u.toString() !== l.toString())) return !1; 9427 if (r.length !== i.length) return !1; 9428 for (a in ((t = o.parseQuery(r, this._parts.escapeQuerySpace)), (n = o.parseQuery(i, this._parts.escapeQuerySpace)), t)) 9429 if (s.call(t, a)) { 9430 if (c(t[a])) { 9431 if (!h(t[a], n[a])) return !1; 9432 } else if (t[a] !== n[a]) return !1; 9433 d[a] = !0; 9434 } 9435 for (a in n) if (s.call(n, a) && !d[a]) return !1; 9436 return !0; 9437 }), 9438 (a.preventInvalidHostname = function (e) { 9439 return (this._parts.preventInvalidHostname = !!e), this; 9440 }), 9441 (a.duplicateQueryParameters = function (e) { 9442 return (this._parts.duplicateQueryParameters = !!e), this; 9443 }), 9444 (a.escapeQuerySpace = function (e) { 9445 return (this._parts.escapeQuerySpace = !!e), this; 9446 }), 9447 o 9448 ); 9449}); 9450}, 9451function (e, t, n) { 9452 "use strict"; 9453 n.d(t, "b", function () { 9454 return u; 9455 }); 9456 var r = n(1), 9457 i = n(3), 9458 o = n.n(i), 9459 a = n(0), 9460 s = n.n(a); 9461 n(14); 9462 const u = (e, t) => { 9463 const n = ((e) => ({ 9464 memberName: e.find("[data-project-members] [data-project-member]").detach(), 9465 member: e.find("[data-project-member-biographies] [data-project-member]").detach(),
9466 award: e.find("[data-project-awards] [data-project-award]").detach(), 9467 }))(e), 9468 r = new o.a() 9469 .segment() 9470 .filter((e) => e) 9471 .pop(), 9472 i = (isNaN(r) && t.project_id) || ""; 9473 e.attr("data-loading", !1), 9474 e.find("[data-project-event-name]").html(t.event_name || ""), 9475 e.find("[data-project-name]").html(t.project_title || ""), 9476 e.find("[data-project-link]").attr("href", i), 9477 e.find("[data-project-url]").attr("href", t.external_project_url || ""), 9478 e.find("[data-project-challenge]").html(t.challenge || ""), 9479 e.find("[data-project-category]").html(t.category || ""), 9480 e.find("[data-project-region]").html(t.region_name || ""), 9481 e.find("[data-project-city]").html(t.city || ""), 9482 e.find("[data-project-school]").html(t.school || ""), 9483 e.find("[data-project-summary]").html(t.project_summary || ""), 9484 t.project_image_url && e.find("[data-project-image]").attr("src", t.project_image_url || ""), 9485 (t.users || []).forEach((t) => { 9486 const r = n.member.clone(); 9487 r.find("[data-project-member-name]").html(t.name || ""), r.find("[data-project-member-biography]").html(t.biography || ""), r.appendTo(e.find("[data-project-member-biographies]")); 9488 const i = n.memberName.clone(); 9489 i.html(t.name || ""), i.appendTo(e.find("[data-project-members]")); 9490 }), 9491 e.find("[data-project-member-biographies-section]").toggle((t.users || []).length > 0), 9492 (t.awards || []).forEach((t) => { 9493 const r = n.award.clone(); 9494 r.find("[data-project-award-name]").html(t.title || ""), 9495 r.find("[data-project-award-medal]").html(t.award_level || ""), 9496 r.find("[data-project-award-sponsor]").html(t.sponsor || ""), 9497 r 9498 .find("[data-project-award-value]") 9499 .html("$" + t.value || !1) 9500 .toggle(t.value > 0), 9501 r.appendTo(e.find("[data-project-awards]")); 9502 }), 9503 e.find("[data-project-awards-section]").toggle((t.awards || []).length > 0); 9504 }; 9505 t.a = { 9506 init() { 9507 const e = env.portal.apiBaseUrl || !1, 9508 t = s()("html").attr("lang") || "en", 9509 n = s()("[data-project-detail]"), 9510 i = s()("[data-project-item]").show().detach(), 9511 a = s()("[data-load-more]"), 9512 l = s()(":input[data-province]"), 9513 c = s()(":input[data-category]"), 9514 d = s()(":input[data-year]"), 9515 f = s()(":input[data-keyword]"), 9516 h = s()("[data-clear-filters]"); 9517 let p, 9518 m = 1, 9519 g = "", 9520 v = "", 9521 y = "", 9522 b = "", 9523 w = 0, 9524 x = "child-ysc" == env.theme ? s()(":not(:input)[data-year]").data("year") || new Date().getFullYear() : "", 9525 T = !0, 9526 k = -1, 9527 S = !1; 9528 const E = (e) => { 9529 s()("[data-load-more]").attr("data-loading", e), (T = e); 9530 }, 9531 C = () => { 9532 l.length && ((v = ""), l.val("")), 9533 c.length && ((y = ""), c.val("")), 9534 f.length && ((b = ""), f.val("")), 9535 d.length && ((x = ""), d.val("")), 9536 (g = ""), 9537 s()("[data-challenge]").removeClass("active"), 9538 s()('[data-challenge=""]').addClass("active"); 9539 }, 9540 D = (n = !1) => { 9541 n || (s()("[data-results]").empty(), (m = 1), (w = 0), (k = -1), (S = !1), s()("[data-total-projects]").html(w.toString())), E(!0); 9542 const r = Date.now(); 9543 s.a 9544 .getJSON(e + "/projects?" + ["province=" + v, "challenge=" + g, "category=" + y, "fulltext_keyword=" + b, "page=" + m, "per_page=8", "event_year=" + x, "lang=" + t].join("&")) 9545 .then((e) => ((w = e.meta.total), s()("[data-total-projects]").html(w.toString()), (S = e.meta.last_page === e.meta.current_page), e.data)) 9546 .then(j) 9547 .then((e) => { 9548 const t = Date.now() - r; 9549 setTimeout(() => { 9550 E(!1); 9551 }, Math.max(500 - t, 0)), 9552 e && m++; 9553 }); 9554 }, 9555 j = (t) => 9556 0 !== t.length && 9557 (t.forEach((t) => { 9558 const r = i.clone(); 9559 s()(r.find("[data-project-name]")).html(t.project_title || ""), s()(r.find("[data-project-year]")).html(t.event_year || ""); 9560 const a = s()(r.find("[data-project-member]")).detach(); 9561 (t.users || []).forEach((e) => { 9562 const t = a.clone(); 9563 t.html(e || ""), t.appendTo(s()(r.find("[data-project-members]"))); 9564 }), 9565 r.on("click", (r) => 9566 (async (t) => { 9567 n.attr("data-loading", !0); 9568 const r = new o.a(); 9569 r.setQuery({ id: t.id }), window.history.replaceState({}, "", r); 9570 const i = (await s.a.getJSON(`${e}/project/${t.id}`)).data; 9571 u(n, i); 9572 })({ ...t }) 9573 ), 9574 r.appendTo("[data-results]"); 9575 }), 9576 !0); 9577 (() => { 9578 const e = o.a.parseQuery(location.search).id; 9579 if (!e) return !1; 9580 const t = new o.a(); 9581 return t.removeQuery("id"), window.history.replaceState({}, "", t), (location.href = o.a.joinPaths(t, e)), !0; 9582 })() || 9583 ((() => { 9584 const e = o.a.parseQuery(location.search); 9585 e.challenge && s()(`[data-challenge="${e.challenge}"]`).length && (s()("[data-challenge]").removeClass("active"), s()(`[data-challenge="${e.challenge}"]`).addClass("active"), (g = e.challenge)); 9586 })(), 9587 s.a 9588 .getJSON(`${e}/challenges?event_year=${x}&lang=${t}`) 9589 .then((e) => e.data) 9590 .then((e) => { 9591 e.forEach((e) => { 9592 s()(`[data-challenge=${e.slug}]`).find("[data-challenge-name]").html(e.challenge); 9593 }); 9594 }), 9595 s.a 9596 .getJSON(`${e}/categories?event_year=${x}&lang=${t}`) 9597 .then((e) => e.data) 9598 .then((e) => { 9599 e.forEach((e) => { 9600 s()("[data-category]").append(`<option value="${e.slug}">${e.category_name}</option>`); 9601 }); 9602 }), 9603 s.a 9604 .getJSON(`${e}/provinces?event_year=${x}&lang=${t}`) 9605 .then((e) => e.data) 9606 .then((e) => { 9607 e.forEach((e) => { 9608 s()("[data-province]").append(`<option value="${e.id}">${e.province}</option>`); 9609 }); 9610 }), 9611 (() => { 9612 l.attr("disabled", !1).on("change", (e) => { 9613 (v = s()(e.currentTarget).val()), D(); 9614 }), 9615 c.attr("disabled", !1).on("change", (e) => { 9616 (y = s()(e.currentTarget).val()), D(); 9617 }), 9618 d.attr("disabled", !1).on("change", (e) => { 9619 (x = s()(e.currentTarget).val()), D(); 9620 }), 9621 "child-ysc" == env.theme && d.hide(), 9622 f.attr("disabled", !1).on("input", (e) => { 9623 clearTimeout(p), 9624 (p = setTimeout(() => { 9625 (b = s()(e.currentTarget).val()), D(), (p = void 0); 9626 }, 200)); 9627 }), 9628 h.on("click", (e) => { 9629 e.preventDefault(), C(), D(); 9630 }), 9631 s()("[data-challenge]").on("click", (e) => { 9632 E(!0), 9633 s()("[data-challenge]").removeClass("active"), 9634 (g = s()(e.currentTarget).data("challenge")), 9635 s()(e.currentTarget).addClass("active"), 9636 D(), 9637 s.a.smoothScroll({ scrollTarget: "#results", offset: -0.5 * s()(window).height() }); 9638 }); 9639 new r.ScrollListener(() => { 9640 const e = s()(window).scrollTop(); 9641 a.offset().top - s()(window).innerHeight() < e && !T && k < e && !S && ((k = e), D(!0)); 9642 }); 9643 })(), 9644 s()(document) 9645 .on("modalOpen", (e) => {}) 9646 .on("modalClose", (e) => { 9647 const t = new o.a(); 9648 t.removeQuery("id"), window.history.replaceState({}, "", t); 9649 }), 9650 D()); 9651 }, 9652 finalize() {}, 9653 }; 9654}, 9655function (e, t, n) { 9656 "use strict"; 9657 n.d(t, "a", function () { 9658 return i; 9659 }); 9660 var r = (e) => 9661 `${e.charAt(0).toLowerCase()}${e 9662 .replace(/[\W_]/g, "|") 9663 .split("|") 9664 .map((e) => `${e.charAt(0).toUpperCase()}${e.slice(1)}`) 9665 .join("") 9666 .slice(1)}`; 9667 class i { 9668 constructor(e) { 9669 this.routes = e; 9670 } 9671 fire(e, t = "init", n) { 9672 "" !== e && this.routes[e] && "function" == typeof this.routes[e][t] && this.routes[e][t](n); 9673 } 9674 loadEvents() { 9675 this.fire("common"), 9676 document.body.className 9677 .toLowerCase() 9678 .replace(/-/g, "_") 9679 .split(/\s+/) 9680 .map(r) 9681 .forEach((e) => { 9682 this.fire(e), this.fire(e, "finalize"); 9683 }), 9684 this.fire("common", "finalize"); 9685 } 9686 } 9687}, 9688function (e, t, n) { 9689 var r; 9690 !(function (t, n) { 9691 "use strict"; 9692 "object" == typeof e.exports 9693 ? (e.exports = t.document 9694 ? n(t, !0) 9695 : function (e) { 9696 if (!e.document) throw new Error("jQuery requires a window with a document"); 9697 return n(e); 9698 }) 9699 : n(t); 9700 })("undefined" != typeof window ? window : this, function (n, i) { 9701 "use strict"; 9702 var o = [], 9703 a = Object.getPrototypeOf, 9704 s = o.slice, 9705 u = o.flat 9706 ? function (e) { 9707 return o.flat.call(e); 9708 } 9709 : function (e) { 9710 return o.concat.apply([], e); 9711 }, 9712 l = o.push, 9713 c = o.indexOf, 9714 d = {}, 9715 f = d.toString, 9716 h = d.hasOwnProperty, 9717 p = h.toString, 9718 m = p.call(Object), 9719 g = {}, 9720 v = function (e) { 9721 return "function" == typeof e && "number" != typeof e.nodeType; 9722 }, 9723 y = function (e) { 9724 return null != e && e === e.window; 9725 }, 9726 b = n.document, 9727 w = { type: !0, src: !0, nonce: !0, noModule: !0 }; 9728 function x(e, t, n) { 9729 var r, 9730 i, 9731 o = (n = n || b).createElement("script"); 9732 if (((o.text = e), t)) for (r in w) (i = t[r] || (t.getAttribute && t.getAttribute(r))) && o.setAttribute(r, i); 9733 n.head.appendChild(o).parentNode.removeChild(o); 9734 } 9735 function T(e) { 9736 return null == e ? e + "" : "object" == typeof e || "function" == typeof e ? d[f.call(e)] || "object" : typeof e; 9737 } 9738 var k = function (e, t) { 9739 return new k.fn.init(e, t); 9740 }; 9741 function S(e) { 9742 var t = !!e && "length" in e && e.length, 9743 n = T(e); 9744 return !v(e) && !y(e) && ("array" === n || 0 === t || ("number" == typeof t && t > 0 && t - 1 in e)); 9745 } 9746 (k.fn = k.prototype = { 9747 jquery: "3.5.1", 9748 constructor: k, 9749 length: 0, 9750 toArray: function () { 9751 return s.call(this); 9752 }, 9753 get: function (e) { 9754 return null == e ? s.call(this) : e < 0 ? this[e + this.length] : this[e]; 9755 }, 9756 pushStack: function (e) { 9757 var t = k.merge(this.constructor(), e); 9758 return (t.prevObject = this), t;
9759 }, 9760 each: function (e) { 9761 return k.each(this, e); 9762 }, 9763 map: function (e) { 9764 return this.pushStack( 9765 k.map(this, function (t, n) { 9766 return e.call(t, n, t); 9767 }) 9768 ); 9769 }, 9770 slice: function () { 9771 return this.pushStack(s.apply(this, arguments)); 9772 }, 9773 first: function () { 9774 return this.eq(0); 9775 }, 9776 last: function () { 9777 return this.eq(-1); 9778 }, 9779 even: function () { 9780 return this.pushStack( 9781 k.grep(this, function (e, t) { 9782 return (t + 1) % 2; 9783 }) 9784 ); 9785 }, 9786 odd: function () { 9787 return this.pushStack( 9788 k.grep(this, function (e, t) { 9789 return t % 2; 9790 }) 9791 ); 9792 }, 9793 eq: function (e) { 9794 var t = this.length, 9795 n = +e + (e < 0 ? t : 0); 9796 return this.pushStack(n >= 0 && n < t ? [this[n]] : []); 9797 }, 9798 end: function () { 9799 return this.prevObject || this.constructor(); 9800 }, 9801 push: l, 9802 sort: o.sort, 9803 splice: o.splice, 9804 }), 9805 (k.extend = k.fn.extend = function () { 9806 var e, 9807 t, 9808 n, 9809 r, 9810 i, 9811 o, 9812 a = arguments[0] || {}, 9813 s = 1, 9814 u = arguments.length, 9815 l = !1; 9816 for ("boolean" == typeof a && ((l = a), (a = arguments[s] || {}), s++), "object" == typeof a || v(a) || (a = {}), s === u && ((a = this), s--); s < u; s++) 9817 if (null != (e = arguments[s])) 9818 for (t in e) 9819 (r = e[t]), 9820 "__proto__" !== t && 9821 a !== r && 9822 (l && r && (k.isPlainObject(r) || (i = Array.isArray(r))) 9823 ? ((n = a[t]), (o = i && !Array.isArray(n) ? [] : i || k.isPlainObject(n) ? n : {}), (i = !1), (a[t] = k.extend(l, o, r))) 9824 : void 0 !== r && (a[t] = r)); 9825 return a; 9826 }), 9827 k.extend({ 9828 expando: "jQuery" + ("3.5.1" + Math.random()).replace(/\D/g, ""), 9829 isReady: !0, 9830 error: function (e) { 9831 throw new Error(e); 9832 }, 9833 noop: function () {}, 9834 isPlainObject: function (e) { 9835 var t, n; 9836 return !(!e || "[object Object]" !== f.call(e)) && (!(t = a(e)) || ("function" == typeof (n = h.call(t, "constructor") && t.constructor) && p.call(n) === m)); 9837 }, 9838 isEmptyObject: function (e) { 9839 var t; 9840 for (t in e) return !1; 9841 return !0; 9842 }, 9843 globalEval: function (e, t, n) { 9844 x(e, { nonce: t && t.nonce }, n); 9845 }, 9846 each: function (e, t) { 9847 var n, 9848 r = 0; 9849 if (S(e)) for (n = e.length; r < n && !1 !== t.call(e[r], r, e[r]); r++); 9850 else for (r in e) if (!1 === t.call(e[r], r, e[r])) break; 9851 return e; 9852 }, 9853 makeArray: function (e, t) { 9854 var n = t || []; 9855 return null != e && (S(Object(e)) ? k.merge(n, "string" == typeof e ? [e] : e) : l.call(n, e)), n; 9856 }, 9857 inArray: function (e, t, n) { 9858 return null == t ? -1 : c.call(t, e, n); 9859 }, 9860 merge: function (e, t) { 9861 for (var n = +t.length, r = 0, i = e.length; r < n; r++) e[i++] = t[r]; 9862 return (e.length = i), e; 9863 }, 9864 grep: function (e, t, n) { 9865 for (var r = [], i = 0, o = e.length, a = !n; i < o; i++) !t(e[i], i) !== a && r.push(e[i]); 9866 return r; 9867 }, 9868 map: function (e, t, n) { 9869 var r, 9870 i, 9871 o = 0, 9872 a = []; 9873 if (S(e)) for (r = e.length; o < r; o++) null != (i = t(e[o], o, n)) && a.push(i); 9874 else for (o in e) null != (i = t(e[o], o, n)) && a.push(i); 9875 return u(a); 9876 }, 9877 guid: 1, 9878 support: g, 9879 }), 9880 "function" == typeof Symbol && (k.fn[Symbol.iterator] = o[Symbol.iterator]), 9881 k.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "), function (e, t) { 9882 d["[object " + t + "]"] = t.toLowerCase(); 9883 }); 9884 var E = (function (e) { 9885 var t, 9886 n, 9887 r, 9888 i, 9889 o, 9890 a, 9891 s, 9892 u, 9893 l, 9894 c, 9895 d, 9896 f, 9897 h, 9898 p, 9899 m, 9900 g, 9901 v, 9902 y, 9903 b, 9904 w = "sizzle" + 1 * new Date(), 9905 x = e.document, 9906 T = 0, 9907 k = 0, 9908 S = ue(), 9909 E = ue(), 9910 C = ue(), 9911 D = ue(), 9912 j = function (e, t) { 9913 return e === t && (d = !0), 0; 9914 }, 9915 O = {}.hasOwnProperty, 9916 _ = [], 9917 N = _.pop, 9918 A = _.push, 9919 L = _.push, 9920 M = _.slice, 9921 I = function (e, t) { 9922 for (var n = 0, r = e.length; n < r; n++) if (e[n] === t) return n; 9923 return -1; 9924 }, 9925 $ = "checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped", 9926 q = "[\\x20\\t\\r\\n\\f]", 9927 P = "(?:\\\\[\\da-fA-F]{1,6}" + q + "?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+", 9928 H = "\\[" + q + "*(" + P + ")(?:" + q + "*([*^$|!~]?=)" + q + "*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|(" + P + "))|)" + q + "*\\]", 9929 F = ":(" + P + ")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|" + H + ")*)|.*)\\)|)", 9930 z = new RegExp(q + "+", "g"), 9931 R = new RegExp("^" + q + "+|((?:^|[^\\\\])(?:\\\\.)*)" + q + "+$", "g"), 9932 V = new RegExp("^" + q + "*," + q + "*"), 9933 W = new RegExp("^" + q + "*([>+~]|" + q + ")" + q + "*"), 9934 U = new RegExp(q + "|>"), 9935 B = new RegExp(F), 9936 Q = new RegExp("^" + P + "$"), 9937 Z = { 9938 ID: new RegExp("^#(" + P + ")"), 9939 CLASS: new RegExp("^\\.(" + P + ")"), 9940 TAG: new RegExp("^(" + P + "|[*])"), 9941 ATTR: new RegExp("^" + H), 9942 PSEUDO: new RegExp("^" + F), 9943 CHILD: new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\(" + q + "*(even|odd|(([+-]|)(\\d*)n|)" + q + "*(?:([+-]|)" + q + "*(\\d+)|))" + q + "*\\)|)", "i"), 9944 bool: new RegExp("^(?:" + $ + ")$", "i"), 9945 needsContext: new RegExp("^" + q + "*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\(" + q + "*((?:-\\d)?\\d*)" + q + "*\\)|)(?=[^-]|$)", "i"), 9946 }, 9947 J = /HTML$/i, 9948 Y = /^(?:input|select|textarea|button)$/i, 9949 G = /^h\d$/i, 9950 X = /^[^{]+\{\s*\[native \w/, 9951 K = /^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/, 9952 ee = /[+~]/, 9953 te = new RegExp("\\\\[\\da-fA-F]{1,6}" + q + "?|\\\\([^\\r\\n\\f])", "g"), 9954 ne = function (e, t) { 9955 var n = "0x" + e.slice(1) - 65536; 9956 return t || (n < 0 ? String.fromCharCode(n + 65536) : String.fromCharCode((n >> 10) | 55296, (1023 & n) | 56320)); 9957 }, 9958 re = /([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g, 9959 ie = function (e, t) { 9960 return t ? ("\0" === e ? "�" : e.slice(0, -1) + "\\" + e.charCodeAt(e.length - 1).toString(16) + " ") : "\\" + e; 9961 }, 9962 oe = function () { 9963 f(); 9964 }, 9965 ae = we( 9966 function (e) { 9967 return !0 === e.disabled && "fieldset" === e.nodeName.toLowerCase(); 9968 }, 9969 { dir: "parentNode", next: "legend" } 9970 ); 9971 try { 9972 L.apply((_ = M.call(x.childNodes)), x.childNodes), _[x.childNodes.length].nodeType; 9973 } catch (e) { 9974 L = { 9975 apply: _.length 9976 ? function (e, t) { 9977 A.apply(e, M.call(t)); 9978 } 9979 : function (e, t) { 9980 for (var n = e.length, r = 0; (e[n++] = t[r++]); ); 9981 e.length = n - 1; 9982 }, 9983 }; 9984 } 9985 function se(e, t, r, i) { 9986 var o, 9987 s, 9988 l, 9989 c, 9990 d, 9991 p, 9992 v, 9993 y = t && t.ownerDocument, 9994 x = t ? t.nodeType : 9; 9995 if (((r = r || []), "string" != typeof e || !e || (1 !== x && 9 !== x && 11 !== x))) return r; 9996 if (!i && (f(t), (t = t || h), m)) { 9997 if (11 !== x && (d = K.exec(e))) 9998 if ((o = d[1])) { 9999 if (9 === x) { 10000 if (!(l = t.getElementById(o))) return r; 10001 if (l.id === o) return r.push(l), r; 10002 } else if (y && (l = y.getElementById(o)) && b(t, l) && l.id === o) return r.push(l), r; 10003 } else { 10004 if (d[2]) return L.apply(r, t.getElementsByTagName(e)), r; 10005 if ((o = d[3]) && n.getElementsByClassName && t.getElementsByClassName) return L.apply(r, t.getElementsByClassName(o)), r; 10006 } 10007 if (n.qsa && !D[e + " "] && (!g || !g.test(e)) && (1 !== x || "object" !== t.nodeName.toLowerCase())) { 10008 if (((v = e), (y = t), 1 === x && (U.test(e) || W.test(e)))) { 10009 for (((y = (ee.test(e) && ve(t.parentNode)) || t) === t && n.scope) || ((c = t.getAttribute("id")) ? (c = c.replace(re, ie)) : t.setAttribute("id", (c = w))), s = (p = a(e)).length; s--; ) 10010 p[s] = (c ? "#" + c : ":scope") + " " + be(p[s]); 10011 v = p.join(","); 10012 } 10013 try { 10014 return L.apply(r, y.querySelectorAll(v)), r; 10015 } catch (t) { 10016 D(e, !0); 10017 } finally { 10018 c === w && t.removeAttribute("id"); 10019 } 10020 } 10021 } 10022 return u(e.replace(R, "$1"), t, r, i); 10023 } 10024 function ue() { 10025 var e = []; 10026 return function t(n, i) { 10027 return e.push(n + " ") >
10027 r.cacheLength && delete t[e.shift()], (t[n + " "] = i); 10028 }; 10029 } 10030 function le(e) { 10031 return (e[w] = !0), e; 10032 } 10033 function ce(e) { 10034 var t = h.createElement("fieldset"); 10035 try { 10036 return !!e(t); 10037 } catch (e) { 10038 return !1; 10039 } finally { 10040 t.parentNode && t.parentNode.removeChild(t), (t = null); 10041 } 10042 } 10043 function de(e, t) { 10044 for (var n = e.split("|"), i = n.length; i--; ) r.attrHandle[n[i]] = t; 10045 } 10046 function fe(e, t) { 10047 var n = t && e, 10048 r = n && 1 === e.nodeType && 1 === t.nodeType && e.sourceIndex - t.sourceIndex; 10049 if (r) return r; 10050 if (n) for (; (n = n.nextSibling); ) if (n === t) return -1; 10051 return e ? 1 : -1; 10052 } 10053 function he(e) { 10054 return function (t) { 10055 return "input" === t.nodeName.toLowerCase() && t.type === e; 10056 }; 10057 } 10058 function pe(e) { 10059 return function (t) { 10060 var n = t.nodeName.toLowerCase(); 10061 return ("input" === n || "button" === n) && t.type === e; 10062 }; 10063 } 10064 function me(e) { 10065 return function (t) { 10066 return "form" in t 10067 ? t.parentNode && !1 === t.disabled 10068 ? "label" in t 10069 ? "label" in t.parentNode 10070 ? t.parentNode.disabled === e 10071 : t.disabled === e 10072 : t.isDisabled === e || (t.isDisabled !== !e && ae(t) === e) 10073 : t.disabled === e 10074 : "label" in t && t.disabled === e; 10075 }; 10076 } 10077 function ge(e) { 10078 return le(function (t) { 10079 return ( 10080 (t = +t), 10081 le(function (n, r) { 10082 for (var i, o = e([], n.length, t), a = o.length; a--; ) n[(i = o[a])] && (n[i] = !(r[i] = n[i])); 10083 }) 10084 ); 10085 }); 10086 } 10087 function ve(e) { 10088 return e && void 0 !== e.getElementsByTagName && e; 10089 } 10090 for (t in ((n = se.support = {}), 10091 (o = se.isXML = function (e) { 10092 var t = e.namespaceURI, 10093 n = (e.ownerDocument || e).documentElement; 10094 return !J.test(t || (n && n.nodeName) || "HTML"); 10095 }), 10096 (f = se.setDocument = function (e) { 10097 var t, 10098 i, 10099 a = e ? e.ownerDocument || e : x; 10100 return a != h && 9 === a.nodeType && a.documentElement 10101 ? ((p = (h = a).documentElement), 10102 (m = !o(h)), 10103 x != h && (i = h.defaultView) && i.top !== i && (i.addEventListener ? i.addEventListener("unload", oe, !1) : i.attachEvent && i.attachEvent("onunload", oe)), 10104 (n.scope = ce(function (e) { 10105 return p.appendChild(e).appendChild(h.createElement("div")), void 0 !== e.querySelectorAll && !e.querySelectorAll(":scope fieldset div").length; 10106 })), 10107 (n.attributes = ce(function (e) { 10108 return (e.className = "i"), !e.getAttribute("className"); 10109 })), 10110 (n.getElementsByTagName = ce(function (e) { 10111 return e.appendChild(h.createComment("")), !e.getElementsByTagName("*").length; 10112 })), 10113 (n.getElementsByClassName = X.test(h.getElementsByClassName)), 10114 (n.getById = ce(function (e) { 10115 return (p.appendChild(e).id = w), !h.getElementsByName || !h.getElementsByName(w).length; 10116 })), 10117 n.getById 10118 ? ((r.filter.ID = function (e) { 10119 var t = e.replace(te, ne); 10120 return function (e) { 10121 return e.getAttribute("id") === t; 10122 }; 10123 }), 10124 (r.find.ID = function (e, t) { 10125 if (void 0 !== t.getElementById && m) { 10126 var n = t.getElementById(e); 10127 return n ? [n] : []; 10128 } 10129 })) 10130 : ((r.filter.ID = function (e) { 10131 var t = e.replace(te, ne); 10132 return function (e) { 10133 var n = void 0 !== e.getAttributeNode && e.getAttributeNode("id"); 10134 return n && n.value === t; 10135 }; 10136 }), 10137 (r.find.ID = function (e, t) { 10138 if (void 0 !== t.getElementById && m) { 10139 var n, 10140 r, 10141 i, 10142 o = t.getElementById(e); 10143 if (o) { 10144 if ((n = o.getAttributeNode("id")) && n.value === e) return [o]; 10145 for (i = t.getElementsByName(e), r = 0; (o = i[r++]); ) if ((n = o.getAttributeNode("id")) && n.value === e) return [o]; 10146 } 10147 return []; 10148 } 10149 })), 10150 (r.find.TAG = n.getElementsByTagName 10151 ? function (e, t) { 10152 return void 0 !== t.getElementsByTagName ? t.getElementsByTagName(e) : n.qsa ? t.querySelectorAll(e) : void 0; 10153 } 10154 : function (e, t) { 10155 var n, 10156 r = [], 10157 i = 0, 10158 o = t.getElementsByTagName(e); 10159 if ("*" === e) { 10160 for (; (n = o[i++]); ) 1 === n.nodeType && r.push(n); 10161 return r; 10162 } 10163 return o; 10164 }), 10165 (r.find.CLASS = 10166 n.getElementsByClassName && 10167 function (e, t) { 10168 if (void 0 !== t.getElementsByClassName && m) return t.getElementsByClassName(e); 10169 }), 10170 (v = []), 10171 (g = []), 10172 (n.qsa = X.test(h.querySelectorAll)) && 10173 (ce(function (e) { 10174 var t; 10175 (p.appendChild(e).innerHTML = "<a id='" + w + "'></a><select id='" + w + "-\r\\' msallowcapture=''><option selected=''></option></select>"), 10176 e.querySelectorAll("[msallowcapture^='']").length && g.push("[*^$]=" + q + "*(?:''|\"\")"), 10177 e.querySelectorAll("[selected]").length || g.push("\\[" + q + "*(?:value|" + $ + ")"), 10178 e.querySelectorAll("[id~=" + w + "-]").length || g.push("~="), 10179 (t = h.createElement("input")).setAttribute("name", ""), 10180 e.appendChild(t), 10181 e.querySelectorAll("[name='']").length || g.push("\\[" + q + "*name" + q + "*="
10181+ q + "*(?:''|\"\")"), 10182 e.querySelectorAll(":checked").length || g.push(":checked"), 10183 e.querySelectorAll("a#" + w + "+*").length || g.push(".#.+[+~]"), 10184 e.querySelectorAll("\\\f"), 10185 g.push("[\\r\\n\\f]"); 10186 }), 10187 ce(function (e) { 10188 e.innerHTML = "<a href='' disabled='disabled'></a><select disabled='disabled'><option/></select>"; 10189 var t = h.createElement("input"); 10190 t.setAttribute("type", "hidden"), 10191 e.appendChild(t).setAttribute("name", "D"), 10192 e.querySelectorAll("[name=d]").length && g.push("name" + q + "*[*^$|!~]?="), 10193 2 !== e.querySelectorAll(":enabled").length && g.push(":enabled", ":disabled"), 10194 (p.appendChild(e).disabled = !0), 10195 2 !== e.querySelectorAll(":disabled").length && g.push(":enabled", ":disabled"), 10196 e.querySelectorAll("*,:x"), 10197 g.push(",.*:"); 10198 })), 10199 (n.matchesSelector = X.test((y = p.matches || p.webkitMatchesSelector || p.mozMatchesSelector || p.oMatchesSelector || p.msMatchesSelector))) && 10200 ce(function (e) { 10201 (n.disconnectedMatch = y.call(e, "*")), y.call(e, "[s!='']:x"), v.push("!=", F); 10202 }), 10203 (g = g.length && new RegExp(g.join("|"))), 10204 (v = v.length && new RegExp(v.join("|"))), 10205 (t = X.test(p.compareDocumentPosition)), 10206 (b = 10207 t || X.test(p.contains) 10208 ? function (e, t) { 10209 var n = 9 === e.nodeType ? e.documentElement : e, 10210 r = t && t.parentNode; 10211 return e === r || !(!r || 1 !== r.nodeType || !(n.contains ? n.contains(r) : e.compareDocumentPosition && 16 & e.compareDocumentPosition(r))); 10212 } 10213 : function (e, t) { 10214 if (t) for (; (t = t.parentNode); ) if (t === e) return !0; 10215 return !1; 10216 }), 10217 (j = t 10218 ? function (e, t) { 10219 if (e === t) return (d = !0), 0; 10220 var r = !e.compareDocumentPosition - !t.compareDocumentPosition; 10221 return ( 10222 r || 10223 (1 & (r = (e.ownerDocument || e) == (t.ownerDocument || t) ? e.compareDocumentPosition(t) : 1) || (!n.sortDetached && t.compareDocumentPosition(e) === r) 10224 ? e == h || (e.ownerDocument == x && b(x, e)) 10225 ? -1 10226 : t == h || (t.ownerDocument == x && b(x, t)) 10227 ? 1 10228 : c 10229 ? I(c, e) - I(c, t) 10230 : 0 10231 : 4 & r 10232 ? -1 10233 : 1) 10234 ); 10235 } 10236 : function (e, t) { 10237 if (e === t) return (d = !0), 0; 10238 var n, 10239 r = 0, 10240 i = e.parentNode, 10241 o = t.parentNode, 10242 a = [e], 10243 s = [t]; 10244 if (!i || !o) return e == h ? -1 : t == h ? 1 : i ? -1 : o ? 1 : c ? I(c, e) - I(c, t) : 0; 10245 if (i === o) return fe(e, t); 10246 for (n = e; (n = n.parentNode); ) a.unshift(n); 10247 for (n = t; (n = n.parentNode); ) s.unshift(n); 10248 for (; a[r] === s[r]; ) r++; 10249 return r ? fe(a[r], s[r]) : a[r] == x ? -1 : s[r] == x ? 1 : 0; 10250 }), 10251 h) 10252: h; 10253}), 10254(se.matches = function (e, t) { 10255 return se(e, null, null, t); 10256}), 10257(se.matchesSelector = function (e, t) { 10258 if ((f(e), n.matchesSelector && m && !D[t + " "] && (!v || !v.test(t)) && (!g || !g.test(t)))) 10259 try { 10260 var r = y.call(e, t); 10261 if (r || n.disconnectedMatch || (e.document && 11 !== e.document.nodeType)) return r; 10262 } catch (e) { 10263 D(t, !0); 10264 } 10265 return se(t, h, null, [e]).length > 0; 10266 }), 10267(se.contains = function (e, t) { 10268 return (e.ownerDocument || e) != h && f(e), b(e, t); 10269}), 10270(se.attr = function (e, t) { 10271 (e.ownerDocument || e) != h && f(e); 10272 var i = r.attrHandle[t.toLowerCase()], 10273 o = i && O.call(r.attrHandle, t.toLowerCase()) ? i(e, t, !m) : void 0; 10274 return void 0 !== o ? o : n.attributes || !m ? e.getAttribute(t) : (o = e.getAttributeNode(t)) && o.specified ? o.value : null; 10275}), 10276(se.escape = function (e) { 10277 return (e + "").replace(re, ie); 10278}), 10279(se.error = function (e) { 10280 throw new Error("Syntax error, unrecognized expression: " + e); 10281}), 10282(se.uniqueSort = function (e) { 10283 var t, 10284 r = [], 10285 i = 0, 10286 o = 0; 10287 if (((d = !n.detectDuplicates), (c = !n.sortStable && e.slice(0)), e.sort(j), d)) { 10288 for (; (t = e[o++]); ) t === e[o] && (i = r.push(o)); 10289 for (; i--; ) e.splice(r[i], 1); 10290 } 10291 return (c = null), e; 10292}), 10293(i = se.getText = function (e) { 10294 var t, 10295 n = "", 10296 r = 0,
10297 o = e.nodeType; 10298 if (o) { 10299 if (1 === o || 9 === o || 11 === o) { 10300 if ("string" == typeof e.textContent) return e.textContent; 10301 for (e = e.firstChild; e; e = e.nextSibling) n += i(e); 10302 } else if (3 === o || 4 === o) return e.nodeValue; 10303} else for (; (t = e[r++]); ) n += i(t); 10304return n; 10305}), 10306((r = se.selectors = { 10307 cacheLength: 50, 10308 createPseudo: le, 10309 match: Z, 10310 attrHandle: {}, 10311 find: {}, 10312 relative: { ">": { dir: "parentNode", first: !0 }, " ": { dir: "parentNode" }, "+": { dir: "previousSibling", first: !0 }, "~": { dir: "previousSibling" } }, 10313 preFilter: { 10314 ATTR: function (e) { 10315 return (e[1] = e[1].replace(te, ne)), (e[3] = (e[3] || e[4] || e[5] || "").replace(te, ne)), "~=" === e[2] && (e[3] = " " + e[3] + " "), e.slice(0, 4); 10316 }, 10317 CHILD: function (e) { 10318 return ( 10319 (e[1] = e[1].toLowerCase()), 10320 "nth" === e[1].slice(0, 3) ? (e[3] || se.error(e[0]), (e[4] = +(e[4] ? e[5] + (e[6] || 1) : 2 * ("even" === e[3] || "odd" === e[3]))), (e[5] = +(e[7] + e[8] || "odd" === e[3]))) : e[3] && se.error(e[0]), 10321 e 10322 ); 10323 }, 10324 PSEUDO: function (e) { 10325 var t, 10326 n = !e[6] && e[2]; 10327 return Z.CHILD.test(e[0]) 10328 ? null 10329 : (e[3] ? (e[2] = e[4] || e[5] || "") : n && B.test(n) && (t = a(n, !0)) && (t = n.indexOf(")", n.length - t) - n.length) && ((e[0] = e[0].slice(0, t)), (e[2] = n.slice(0, t))), e.slice(0, 3)); 10330 }, 10331 }, 10332 filter: { 10333 TAG: function (e) { 10334 var t = e.replace(te, ne).toLowerCase(); 10335 return "*" === e 10336 ? function () { 10337 return !0; 10338 } 10339 : function (e) { 10340 return e.nodeName && e.nodeName.toLowerCase() === t; 10341 }; 10342 }, 10343 CLASS: function (e) { 10344 var t = S[e + " "]; 10345 return ( 10346 t || 10347 ((t = new RegExp("(^|" + q + ")" + e + "(" + q + "|$)")) && 10348 S(e, function (e) { 10349 return t.test(("string" == typeof e.className && e.className) || (void 0 !== e.getAttribute && e.getAttribute("class")) || ""); 10350 })) 10351 ); 10352 }, 10353 ATTR: function (e, t, n) { 10354 return function (r) { 10355 var i = se.attr(r, e); 10356 return null == i 10357 ? "!=" === t 10358 : !t || 10359 ((i += ""), 10360 "=" === t 10361 ? i === n 10362 : "!=" === t 10363 ? i !== n 10364 : "^=" === t 10365 ? n && 0 === i.indexOf(n) 10366 : "*=" === t 10367 ? n && i.indexOf(n) > -1 10368 : "$=" === t 10369 ? n && i.slice(-n.length) === n 10370 : "~=" === t 10371 ? (" " + i.replace(z, " ") + " ").indexOf(n) > -1 10372 : "|=" === t && (i === n || i.slice(0, n.length + 1) === n + "-")); 10373 }; 10374 }, 10375 CHILD: function (e, t, n, r, i) { 10376 var o = "nth" !== e.slice(0, 3), 10377 a = "last" !== e.slice(-4), 10378 s = "of-type" === t; 10379 return 1 === r && 0 === i 10380 ? function (e) { 10381 return !!e.parentNode; 10382 } 10383 : function (t, n, u) { 10384 var l, 10385 c, 10386 d, 10387 f, 10388 h, 10389 p, 10390 m = o !== a ? "nextSibling" : "previousSibling", 10391 g = t.parentNode, 10392 v = s && t.nodeName.toLowerCase(), 10393 y = !u && !s, 10394 b = !1; 10395 if (g) { 10396 if (o) { 10397 for (; m; ) { 10398 for (f = t; (f = f[m]); ) if (s ? f.nodeName.toLowerCase() === v : 1 === f.nodeType) return !1; 10399 p = m = "only" === e && !p && "nextSibling"; 10400 } 10401 return !0; 10402 } 10403 if (((p = [a ? g.firstChild : g.lastChild]), a && y)) { 10404 for ( 10405 b = (h = (l = (c = (d = (f = g)[w] || (f[w] = {}))[f.uniqueID] || (d[f.uniqueID] = {}))[e] || [])[0] === T && l[1]) && l[2], f = h && g.childNodes[h]; 10406 (f = (++h && f && f[m]) || (b = h = 0) || p.pop()); 10407 10408 ) 10409 if (1 === f.nodeType && ++b && f === t) { 10410 c[e] = [T, h, b]; 10411 break; 10412 } 10413 } else if ((y && (b = h = (l = (c = (d = (f = t)[w] || (f[w] = {}))[f.uniqueID] || (d[f.uniqueID] = {}))[e] || [])[0] === T && l[1]), !1 === b)) 10414 for ( 10415 ; 10416 (f = (++h && f && f[m]) || (b = h = 0) || p.pop()) && 10417 ((s ? f.nodeName.toLowerCase() !== v : 1 !== f.nodeType) || !++b || (y && ((c = (d = f[w] || (f[w] = {}))[f.uniqueID] || (d[f.uniqueID] = {}))[e] = [T, b]), f !== t)); 10418 10419 ); 10420 return (b -= i) === r || (b % r == 0 && b / r >= 0); 10421 } 10422 }; 10423 }, 10424 PSEUDO: function (e, t) { 10425 var n, 10426 i = r.pseudos[e] || r.setFilters[e.toLowerCase()] || se.error("unsupported pseudo: " + e); 10427 return i[w] 10428 ? i(t) 10429 : i.length > 1 10430 ? ((n = [e, e, "", t]), 10431 r.setFilters.hasOwnProperty(e.toLowerCase()) 10432 ? le(function (e, n) { 10433 for (var r, o = i(e, t), a = o.length; a--;
10433 ) e[(r = I(e, o[a]))] = !(n[r] = o[a]); 10434 }) 10435 : function (e) { 10436 return i(e, 0, n); 10437 }) 10438 : i; 10439 }, 10440 }, 10441 pseudos: { 10442 not: le(function (e) { 10443 var t = [], 10444 n = [], 10445 r = s(e.replace(R, "$1")); 10446 return r[w] 10447 ? le(function (e, t, n, i) { 10448 for (var o, a = r(e, null, i, []), s = e.length; s--; ) (o = a[s]) && (e[s] = !(t[s] = o)); 10449 }) 10450 : function (e, i, o) { 10451 return (t[0] = e), r(t, null, o, n), (t[0] = null), !n.pop(); 10452 }; 10453 }), 10454 has: le(function (e) { 10455 return function (t) { 10456 return se(e, t).length > 0; 10457 }; 10458 }), 10459 contains: le(function (e) { 10460 return ( 10461 (e = e.replace(te, ne)), 10462 function (t) { 10463 return (t.textContent || i(t)).indexOf(e) > -1; 10464 } 10465 ); 10466 }), 10467 lang: le(function (e) { 10468 return ( 10469 Q.test(e || "") || se.error("unsupported lang: " + e), 10470 (e = e.replace(te, ne).toLowerCase()), 10471 function (t) { 10472 var n; 10473 do { 10474 if ((n = m ? t.lang : t.getAttribute("xml:lang") || t.getAttribute("lang"))) return (n = n.toLowerCase()) === e || 0 === n.indexOf(e + "-"); 10475 } while ((t = t.parentNode) && 1 === t.nodeType); 10476 return !1; 10477 } 10478 ); 10479 }), 10480 target: function (t) { 10481 var n = e.location && e.location.hash; 10482 return n && n.slice(1) === t.id; 10483 }, 10484 root: function (e) { 10485 return e === p; 10486 }, 10487 focus: function (e) { 10488 return e === h.activeElement && (!h.hasFocus || h.hasFocus()) && !!(e.type || e.href || ~e.tabIndex); 10489 }, 10490 enabled: me(!1), 10491 disabled: me(!0), 10492 checked: function (e) { 10493 var t = e.nodeName.toLowerCase(); 10494 return ("input" === t && !!e.checked) || ("option" === t && !!e.selected); 10495 }, 10496 selected: function (e) { 10497 return e.parentNode && e.parentNode.selectedIndex, !0 === e.selected; 10498 }, 10499 empty: function (e) { 10500 for (e = e.firstChild; e; e = e.nextSibling) if (e.nodeType < 6) return !1; 10501 return !0; 10502 }, 10503 parent: function (e) { 10504 return !r.pseudos.empty(e); 10505 }, 10506 header: function (e) { 10507 return G.test(e.nodeName); 10508 }, 10509 input: function (e) { 10510 return Y.test(e.nodeName); 10511 }, 10512 button: function (e) { 10513 var t = e.nodeName.toLowerCase(); 10514 return ("input" === t && "button" === e.type) || "button" === t; 10515 }, 10516 text: function (e) { 10517 var t; 10518 return "input" === e.nodeName.toLowerCase() && "text" === e.type && (null == (t = e.getAttribute("type")) || "text" === t.toLowerCase()); 10519 }, 10520 first: ge(function () { 10521 return [0]; 10522 }), 10523 last: ge(function (e, t) { 10524 return [t - 1]; 10525 }), 10526 eq: ge(function (e, t, n) { 10527 return [n < 0 ? n + t : n]; 10528 }), 10529 even: ge(function (e, t) { 10530 for (var n = 0; n < t; n += 2) e.push(n); 10531 return e; 10532 }), 10533 odd: ge(function (e, t) { 10534 for (var n = 1; n < t; n += 2) e.push(n); 10535 return e; 10536 }), 10537 lt: ge(function (e, t, n) { 10538 for (var r = n < 0 ? n + t : n > t ? t : n; --r >= 0; ) e.push(r); 10539 return e; 10540 }), 10541 gt: ge(function (e, t, n) { 10542 for (var r = n < 0 ? n + t : n; ++r < t; ) e.push(r); 10543 return e; 10544 }), 10545 }, 10546 }).pseudos.nth = r.pseudos.eq), 10547{ radio: !0, checkbox: !0, file: !0, password: !0, image: !0 })) 10548r.pseudos[t] = he(t); 10549for (t in { submit: !0, reset: !0 }) r.pseudos[t] = pe(t); 10550 function ye() {} 10551function be(e) { 10552 for (var t = 0, n = e.length, r = ""; t < n; t++) r += e[t].value; 10553 return r; 10554} 10555function we(e, t, n) { 10556 var r = t.dir, 10557 i = t.next, 10558 o = i || r, 10559 a = n && "parentNode" === o, 10560 s = k++; 10561 return t.first 10562 ? function (t, n, i) { 10563 for (; (t = t[r]); ) if (1 === t.nodeType || a) return e(t, n, i); 10564 return !1; 10565 } 10566 : function (t, n, u) { 10567 var l, 10568 c, 10569 d, 10570 f = [T, s]; 10571 if (u) { 10572 for (; (t = t[r]); ) if ((1 === t.nodeType || a) && e(t, n, u)) return !0; 10573 } else 10574 for (; (t = t[r]); ) 10575 if (1 === t.nodeType || a) 10576 if (((c = (d = t[w] || (t[w] = {}))[t.uniqueID] || (d[t.uniqueID] = {})), i && i === t.nodeName.toLowerCase())) t = t[r] || t; 10577 else { 10578 if ((l = c[o]) && l[0] === T && l[1] === s) return (f[2] = l[2]); 10579 if (((c[o] = f), (f[2] = e(t, n, u)))) return !0; 10580 } 10581 return !1; 10582 }; 10583} 10584function xe(e) { 10585 return e.length > 1 10586 ? function (t, n, r) { 10587 for (var i = e.length; i--; ) if (!e[i](t, n, r)) return !1; 10588 return !0; 10589 } 10590 : e[0]; 10591} 10592function Te(e, t, n, r, i) { 10593 for (var o, a = [], s = 0, u = e.length, l = null != t; s < u; s++) (o = e[s]) && ((n && !n(o, r, i)) || (a.push(o), l && t.push(s))); 10594 return a; 10595} 10596function ke(e, t, n, r, i, o) { 10597 return ( 10598 r && !r[w] && (r = ke(r)), 10599 i && !i[w] && (i = ke(i, o)), 10600 le(function (o, a, s, u) { 10601 var l, 10602 c, 10603 d, 10604 f = [], 10605 h = [], 10606 p = a.length, 10607 m = 10608 o || 10609 (function (e, t, n) { 10610 for (var r = 0, i = t.length; r < i; r++) se(e, t[r], n); 10611 return n; 10612 })(t || "*", s.nodeType ? [s] : s, []), 10613 g = !e || (!o && t) ? m : Te(m, f, e, s, u), 10614 v = n ? (i || (o ? e : p || r) ? [] : a) : g; 10615 if ((n && n(g, v, s, u), r)) for (l = Te(v, h), r(l, [], s, u), c = l.length; c--; ) (d = l[c]) && (v[h[c]] = !(g[h[c]] = d)); 10616 if (o) { 10617 if (i || e) { 10618 if (i) { 10619 for (l = [], c = v.length; c--; ) (d = v[c]) && l.push((g[c] = d)); 10620 i(null, (v = []), l, u); 10621 } 10622 for (c = v.length; c--; ) (d = v[c]) && (l = i ? I(o, d) : f[c]) > -1 && (o[l] = !(a[l] = d)); 10623 } 10624 } else (v = Te(v === a ? v.splice(p, v.length) : v)), i ? i(null, a, v, u) : L.apply(a, v); 10625 }) 10626 ); 10627} 10628function Se(e) { 10629 for ( 10630 var t, 10631 n, 10632 i, 10633 o = e.length, 10634 a = r.relative[e[0].type], 10635 s = a || r.relative[" "],
10636 u = a ? 1 : 0, 10637 c = we( 10638 function (e) { 10639 return e === t; 10640 }, 10641 s, 10642 !0 10643 ), 10644 d = we( 10645 function (e) { 10646 return I(t, e) > -1; 10647 }, 10648 s, 10649 !0 10650 ), 10651 f = [ 10652 function (e, n, r) { 10653 var i = (!a && (r || n !== l)) || ((t = n).nodeType ? c(e, n, r) : d(e, n, r)); 10654 return (t = null), i; 10655 }, 10656 ]; 10657 u < o; 10658 u++ 10659 ) 10660 if ((n = r.relative[e[u].type])) f = [we(xe(f), n)]; 10661 else { 10662 if ((n = r.filter[e[u].type].apply(null, e[u].matches))[w]) { 10663 for (i = ++u; i < o && !r.relative[e[i].type]; i++); 10664 return ke(u > 1 && xe(f), u > 1 && be(e.slice(0, u - 1).concat({ value: " " === e[u - 2].type ? "*" : "" })).replace(R, "$1"), n, u < i && Se(e.slice(u, i)), i < o && Se((e = e.slice(i))), i < o && be(e)); 10665 } 10666 f.push(n); 10667 } 10668 return xe(f); 10669} 10670return ( 10671 (ye.prototype = r.filters = r.pseudos), 10672 (r.setFilters = new ye()), 10673 (a = se.tokenize = function (e, t) { 10674 var n, 10675 i, 10676 o, 10677 a, 10678 s, 10679 u, 10680 l, 10681 c = E[e + " "]; 10682 if (c) return t ? 0 : c.slice(0); 10683 for (s = e, u = [], l = r.preFilter; s; ) { 10684 for (a in ((n && !(i = V.exec(s))) || (i && (s = s.slice(i[0].length) || s), u.push((o = []))), 10685 (n = !1), 10686 (i = W.exec(s)) && ((n = i.shift()), o.push({ value: n, type: i[0].replace(R, " ") }), (s = s.slice(n.length))), 10687 r.filter)) 10688 !(i = Z[a].exec(s)) || (l[a] && !(i = l[a](i))) || ((n = i.shift()), o.push({ value: n, type: a, matches: i }), (s = s.slice(n.length))); 10689 if (!n) break; 10690 } 10691 return t ? s.length : s ? se.error(e) : E(e, u).slice(0); 10692 }), 10693 (s = se.compile = function (e, t) { 10694 var n, 10695 i = [], 10696 o = [], 10697 s = C[e + " "]; 10698 if (!s) { 10699 for (t || (t = a(e)), n = t.length; n--; ) (s = Se(t[n]))[w] ? i.push(s) : o.push(s); 10700 (s = C( 10701 e, 10702 (function (e, t) { 10703 var n = t.length > 0, 10704 i = e.length > 0, 10705 o = function (o, a, s, u, c) { 10706 var d, 10707 p, 10708 g, 10709 v = 0, 10710 y = "0", 10711 b = o && [], 10712 w = [], 10713 x = l, 10714 k = o || (i && r.find.TAG("*", c)), 10715 S = (T += null == x ? 1 : Math.random() || 0.1), 10716 E = k.length; 10717 for (c && (l = a == h || a || c); y !== E && null != (d = k[y]); y++) { 10718 if (i && d) { 10719 for (p = 0, a || d.ownerDocument == h || (f(d), (s = !m)); (g = e[p++]); ) 10720 if (g(d, a || h, s)) { 10721 u.push(d); 10722 break; 10723 } 10724 c && (T = S); 10725 } 10726 n && ((d = !g && d) && v--, o && b.push(d)); 10727 } 10728 if (((v += y), n && y !== v)) { 10729 for (p = 0; (g = t[p++]); ) g(b, w, a, s); 10730 if (o) { 10731 if (v > 0) for (; y--; ) b[y] || w[y] || (w[y] = N.call(u)); 10732 w = Te(w); 10733 } 10734 L.apply(u, w), c && !o && w.length > 0 && v + t.length > 1 && se.uniqueSort(u); 10735 } 10736 return c && ((T = S), (l = x)), b; 10737 }; 10738 return n ? le(o) : o; 10739 })(o, i) 10740 )).selector = e; 10741 } 10742 return s; 10743 }), 10744 (u = se.select = function (e, t, n, i) { 10745 var o, 10746 u, 10747 l, 10748 c, 10749 d, 10750 f = "function" == typeof e && e, 10751 h = !i && a((e = f.selector || e)); 10752 if (((n = n || []), 1 === h.length)) { 10753 if ((u = h[0] = h[0].slice(0)).length > 2 && "ID" === (l = u[0]).type && 9 === t.nodeType && m && r.relative[u[1].type]) { 10754 if (!(t = (r.find.ID(l.matches[0].replace(te, ne), t) || [])[0])) return n; 10755 f && (t = t.parentNode), (e = e.slice(u.shift().value.length)); 10756 } 10757 for (o = Z.needsContext.test(e) ? 0 : u.length; o-- && ((l = u[o]), !r.relative[(c = l.type)]); ) 10758 if ((d = r.find[c]) && (i = d(l.matches[0].replace(te, ne), (ee.test(u[0].type) && ve(t.parentNode)) || t))) { 10759 if ((u.splice(o, 1), !(e = i.length && be(u)))) return L.apply(n, i), n; 10760 break; 10761 } 10762 } 10763 return (f || s(e, h))(i, t, !m, n, !t || (ee.test(e) && ve(t.parentNode)) || t), n; 10764 }), 10765 (n.sortStable = w.split("").sort(j).join("") === w), 10766 (n.detectDuplicates = !!d), 10767 f(), 10768 (n.sortDetached = ce(function (e) { 10769 return 1 & e.compareDocumentPosition(h.createElement("fieldset")); 10770 })), 10771 ce(function (e) { 10772 return (e.innerHTML = "<a href='#'></a>"), "#" === e.firstChild.getAttribute("href"); 10773 }) || 10774 de("type|href|height|width", function (e, t, n) { 10775 if (!n) return e.getAttribute(t, "type" === t.toLowerCase() ? 1 : 2); 10776 }), 10777 (n.attributes && 10778 ce(function (e) { 10779 return (e.innerHTML = "<input/>"), e.firstChild.setAttribute("value", ""), "" === e.firstChild.getAttribute("value"); 10780 })) || 10781 de("value", function (e, t, n) { 10782 if (!n && "input" === e.nodeName.toLowerCase()) return e.defaultValue; 10783 }), 10784 ce(function (e) { 10785 return null == e.getAttribute("disabled"); 10786 }) || 10787 de($, function (e, t, n) { 10788 var r; 10789 if (!n) return !0 === e[t] ? t.toLowerCase() : (r = e.getAttributeNode(t)) && r.specified ? r.value : null; 10790 }), 10791 se 10792 ); 10793})(n); 10794(k.find = E), (k.expr = E.selectors), (k.expr[":"] = k.expr.pseudos), (k.uniqueSort = k.unique = E.uniqueSort), (k.text = E.getText), (k.isXMLDoc = E.isXML), (k.contains = E.contains), (k.escapeSelector = E.escape); 10795var C = function (e, t, n) { 10796 for (var r = [], i = void 0 !== n; (e = e[t]) && 9 !== e.nodeType; ) 10797 if (1 === e.nodeType) { 10798 if (i && k(e).is(n)) break; 10799 r.push(e); 10800 } 10801 return r; 10802 }, 10803 D = function (e, t) { 10804 for (var n = []; e; e = e.nextSibling) 1 === e.nodeType && e !== t && n.push(e); 10805 return n; 10806 }, 10807 j = k.expr.match.needsContext; 10808 function O(e, t) {
10809 return e.nodeName && e.nodeName.toLowerCase() === t.toLowerCase(); 10810 } 10811 var _ = /^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i; 10812 function N(e, t, n) { 10813 return v(t) 10814 ? k.grep(e, function (e, r) { 10815 return !!t.call(e, r, e) !== n; 10816 }) 10817 : t.nodeType 10818 ? k.grep(e, function (e) { 10819 return (e === t) !== n; 10820 }) 10821 : "string" != typeof t 10822 ? k.grep(e, function (e) { 10823 return c.call(t, e) > -1 !== n; 10824 }) 10825 : k.filter(t, e, n); 10826 } 10827 (k.filter = function (e, t, n) { 10828 var r = t[0]; 10829 return ( 10830 n && (e = ":not(" + e + ")"), 10831 1 === t.length && 1 === r.nodeType 10832 ? k.find.matchesSelector(r, e) 10833 ? [r] 10834 : [] 10835 : k.find.matches( 10836 e, 10837 k.grep(t, function (e) { 10838 return 1 === e.nodeType; 10839 }) 10840 ) 10841 ); 10842 }), 10843 k.fn.extend({ 10844 find: function (e) { 10845 var t, 10846 n, 10847 r = this.length, 10848 i = this; 10849 if ("string" != typeof e) 10850 return this.pushStack( 10851 k(e).filter(function () { 10852 for (t = 0; t < r; t++) if (k.contains(i[t], this)) return !0; 10853 }) 10854 ); 10855 for (n = this.pushStack([]), t = 0; t < r; t++) k.find(e, i[t], n); 10856 return r > 1 ? k.uniqueSort(n) : n; 10857 }, 10858 filter: function (e) { 10859 return this.pushStack(N(this, e || [], !1)); 10860 }, 10861 not: function (e) { 10862 return this.pushStack(N(this, e || [], !0)); 10863 }, 10864 is: function (e) { 10865 return !!N(this, "string" == typeof e && j.test(e) ? k(e) : e || [], !1).length; 10866 }, 10867 }); 10868 var A, 10869 L = /^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/; 10870 ((k.fn.init = function (e, t, n) { 10871 var r, i; 10872 if (!e) return this; 10873 if (((n = n || A), "string" == typeof e)) { 10874 if (!(r = "<" === e[0] && ">" === e[e.length - 1] && e.length >= 3 ? [null, e, null] : L.exec(e)) || (!r[1] && t)) return !t || t.jquery ? (t || n).find(e) : this.constructor(t).find(e); 10875 if (r[1]) { 10876 if (((t = t instanceof k ? t[0] : t), k.merge(this, k.parseHTML(r[1], t && t.nodeType ? t.ownerDocument || t : b, !0)), _.test(r[1]) && k.isPlainObject(t))) 10877 for (r in t) v(this[r]) ? this[r](t[r]) : this.attr(r, t[r]); 10878 return this; 10879 } 10880 return (i = b.getElementById(r[2])) && ((this[0] = i), (this.length = 1)), this; 10881 } 10882 return e.nodeType ? ((this[0] = e), (this.length = 1), this) : v(e) ? (void 0 !== n.ready ? n.ready(e) : e(k)) : k.makeArray(e, this); 10883 }).prototype = k.fn), 10884 (A = k(b)); 10885 var M = /^(?:parents|prev(?:Until|All))/, 10886 I = { children: !0, contents: !0, next: !0, prev: !0 }; 10887 function $(e, t) { 10888 for (; (e = e[t]) && 1 !== e.nodeType; ); 10889 return e; 10890 } 10891 k.fn.extend({ 10892 has: function (e) { 10893 var t = k(e, this), 10894 n = t.length; 10895 return this.filter(function () { 10896 for (var e = 0; e < n; e++) if (k.contains(this, t[e])) return !0; 10897 }); 10898 }, 10899 closest: function (e, t) { 10900 var n, 10901 r = 0, 10902 i = this.length, 10903 o = [], 10904 a = "string" != typeof e && k(e); 10905 if (!j.test(e)) 10906 for (; r < i; r++) 10907 for (n = this[r]; n && n !== t; n = n.parentNode) 10908 if (n.nodeType < 11 && (a ? a.index(n) > -1 : 1 === n.nodeType && k.find.matchesSelector(n, e))) { 10909 o.push(n); 10910 break; 10911 } 10912 return this.pushStack(o.length > 1 ? k.uniqueSort(o) : o); 10913 }, 10914 index: function (e) { 10915 return e ? ("string" == typeof e ? c.call(k(e), this[0]) : c.call(this, e.jquery ? e[0] : e)) : this[0] && this[0].parentNode ? this.first().prevAll().length : -1; 10916 }, 10917 add: function (e, t) { 10918 return this.pushStack(k.uniqueSort(k.merge(this.get(), k(e, t)))); 10919 }, 10920 addBack: function (e) { 10921 return this.add(null == e ? this.prevObject : this.prevObject.filter(e)); 10922 }, 10923 }), 10924 k.each( 10925 { 10926 parent: function (e) { 10927 var t = e.parentNode; 10928 return t && 11 !== t.nodeType ? t : null; 10929 }, 10930 parents: function (e) { 10931 return C(e, "parentNode"); 10932 }, 10933 parentsUntil: function (e, t, n) { 10934 return C(e, "parentNode", n); 10935 }, 10936 next: function (e) { 10937 return $(e, "nextSibling"); 10938 }, 10939 prev: function (e) { 10940 return $(e, "previousSibling"); 10941 }, 10942 nextAll: function (e) { 10943 return C(e, "nextSibling"); 10944 }, 10945 prevAll: function (e) { 10946 return C(e, "previousSibling"); 10947 }, 10948 nextUntil: function (e, t, n) { 10949 return C(e, "nextSibling", n); 10950 }, 10951 prevUntil: function (e, t, n) { 10952 return C(e, "previousSibling", n); 10953 }, 10954 siblings: function (e) { 10955 return D((e.parentNode || {}).firstChild, e); 10956 }, 10957 children: function (e) { 10958 return D(e.firstChild); 10959 }, 10960 contents: function (e) { 10961 return null != e.contentDocument && a(e.contentDocument) ? e.contentDocument : (O(e, "template") && (e = e.content || e), k.merge([], e.childNodes)); 10962 }, 10963 }, 10964 function (e, t) { 10965 k.fn[e] = function (n, r) { 10966 var i = k.map(this, t, n); 10967 return "Until" !== e.slice(-5) && (r = n), r && "string" == typeof r && (i = k.filter(r, i)), this.length > 1 && (I[e] || k.uniqueSort(i), M.test(e) && i.reverse()), this.pushStack(i); 10968 }; 10969 } 10970 ); 10971 var q = /[^\x20\t\r\n\f]+/g; 10972 function P(e) { 10973 return e; 10974 } 10975 function H(e) { 10976 throw e; 10977 } 10978 function F(e, t, n, r) { 10979 var i; 10980 try { 10981 e && v((i = e.promise)) ? i.call(e).done(t).fail(n) : e && v((i = e.then)) ? i.call(e, t, n) : t.apply(void 0, [e].slice(r)); 10982 } catch (e) { 10983 n.apply(void 0, [e]); 10984 } 10985 } 10986 (k.Callbacks = function (e) { 10987 e = 10988 "string" == typeof e 10989 ? (function (e) { 10990 var t = {}; 10991 return ( 10992 k.each(e.match(q) || [], function (e, n) { 10993 t[n] = !0; 10994 }), 10995 t 10996 ); 10997 })(e) 10998 : k.extend({}, e); 10999 var t, 11000 n, 11001 r, 11002 i, 11003 o = [], 11004 a = [], 11005 s = -1, 11006 u = function () { 11007 for (i = i || e.once, r = t = !0; a.length; s = -1) for (n = a.shift(); ++s < o.length; ) !1 === o[s].apply(n[0], n[1]) && e.stopOnFalse && ((s = o.length), (n = !1)); 11008 e.memory || (n = !1), (t = !1), i && (o = n ? [] : ""); 11009 }, 11010 l = { 11011 add: function () { 11012 return ( 11013 o && 11014 (n && !t && ((s = o.length - 1), a.push(n)), 11015 (function t(n) { 11016 k.each(n, function (n, r) { 11017 v(r) ? (e.unique && l.has(r)) || o.push(r) : r && r.length && "string" !== T(r) && t(r); 11018 }); 11019 })(arguments), 11020 n && !t && u()), 11021 this 11022 ); 11023 }, 11024 remove: function () { 11025 return ( 11026 k.each(arguments, function (e, t) { 11027 for (var n; (n = k.inArray(t, o, n)) > -1; ) o.splice(n, 1), n <= s && s--; 11028 }), 11029 this 11030 ); 11031 }, 11032 has: function (e) { 11033 return e ? k.inArray(e, o) > -1 : o.length > 0; 11034 }, 11035 empty: function () { 11036 return o && (o = []), this; 11037 }, 11038 disable: function () {
11039 return (i = a = []), (o = n = ""), this; 11040 }, 11041 disabled: function () { 11042 return !o; 11043 }, 11044 lock: function () { 11045 return (i = a = []), n || t || (o = n = ""), this; 11046 }, 11047 locked: function () { 11048 return !!i; 11049 }, 11050 fireWith: function (e, n) { 11051 return i || ((n = [e, (n = n || []).slice ? n.slice() : n]), a.push(n), t || u()), this; 11052 }, 11053 fire: function () { 11054 return l.fireWith(this, arguments), this; 11055 }, 11056 fired: function () { 11057 return !!r; 11058 }, 11059 }; 11060 return l; 11061 }), 11062 k.extend({ 11063 Deferred: function (e) { 11064 var t = [ 11065 ["notify", "progress", k.Callbacks("memory"), k.Callbacks("memory"), 2], 11066 ["resolve", "done", k.Callbacks("once memory"), k.Callbacks("once memory"), 0, "resolved"], 11067 ["reject", "fail", k.Callbacks("once memory"), k.Callbacks("once memory"), 1, "rejected"], 11068 ], 11069 r = "pending", 11070 i = { 11071 state: function () { 11072 return r; 11073 }, 11074 always: function () { 11075 return o.done(arguments).fail(arguments), this; 11076 }, 11077 catch: function (e) { 11078 return i.then(null, e); 11079 }, 11080 pipe: function () { 11081 var e = arguments; 11082 return k 11083 .Deferred(function (n) { 11084 k.each(t, function (t, r) { 11085 var i = v(e[r[4]]) && e[r[4]]; 11086 o[r[1]](function () { 11087 var e = i && i.apply(this, arguments); 11088 e && v(e.promise) ? e.promise().progress(n.notify).done(n.resolve).fail(n.reject) : n[r[0] + "With"](this, i ? [e] : arguments); 11089 }); 11090 }), 11091 (e = null); 11092 }) 11093 .promise(); 11094 }, 11095 then: function (e, r, i) { 11096 var o = 0; 11097 function a(e, t, r, i) { 11098 return function () { 11099 var s = this, 11100 u = arguments, 11101 l = function () { 11102 var n, l; 11103 if (!(e < o)) { 11104 if ((n = r.apply(s, u)) === t.promise()) throw new TypeError("Thenable self-resolution"); 11105 (l = n && ("object" == typeof n || "function" == typeof n) && n.then), 11106 v(l) 11107 ? i 11108 ? l.call(n, a(o, t, P, i), a(o, t, H, i)) 11109 : (o++, l.call(n, a(o, t, P, i), a(o, t, H, i), a(o, t, P, t.notifyWith))) 11110 : (r !== P && ((s = void 0), (u = [n])), (i || t.resolveWith)(s, u)); 11111 } 11112 }, 11113 c = i 11114 ? l 11115 : function () { 11116 try { 11117 l(); 11118 } catch (n) { 11119 k.Deferred.exceptionHook && k.Deferred.exceptionHook(n, c.stackTrace), e + 1 >= o && (r !== H && ((s = void 0), (u = [n])), t.rejectWith(s, u)); 11120 } 11121 }; 11122 e ? c() : (k.Deferred.getStackHook && (c.stackTrace = k.Deferred.getStackHook()), n.setTimeout(c)); 11123 }; 11124 } 11125 return k 11126 .Deferred(function (n) { 11127 t[0][3].add(a(0, n, v(i) ? i : P, n.notifyWith)), t[1][3].add(a(0, n, v(e) ? e : P)), t[2][3].add(a(0, n, v(r) ? r : H)); 11128 }) 11129 .promise(); 11130 }, 11131 promise: function (e) { 11132 return null != e ? k.extend(e, i) : i; 11133 }, 11134 }, 11135 o = {}; 11136 return ( 11137 k.each(t, function (e, n) { 11138 var a = n[2], 11139 s = n[5]; 11140 (i[n[1]] = a.add), 11141 s && 11142 a.add( 11143 function () { 11144 r = s; 11145 }, 11146 t[3 - e][2].disable, 11147 t[3 - e][3].disable, 11148 t[0][2].lock, 11149 t[0][3].lock 11150 ), 11151 a.add(n[3].fire), 11152 (o[n[0]] = function () { 11153 return o[n[0] + "With"](this === o ? void 0 : this, arguments), this; 11154 }), 11155 (o[n[0] + "With"] = a.fireWith); 11156 }), 11157 i.promise(o), 11158 e && e.call(o, o), 11159 o 11160 ); 11161 }, 11162 when: function (e) { 11163 var t = arguments.length, 11164 n = t, 11165 r = Array(n), 11166 i = s.call(arguments), 11167 o = k.Deferred(), 11168 a = function (e) { 11169 return function (n) { 11170 (r[e] = this), (i[e] = arguments.length > 1 ? s.call(arguments) : n), --t || o.resolveWith(r, i); 11171 }; 11172 }; 11173 if (t <= 1 && (F(e, o.done(a(n)).resolve, o.reject, !t), "pending" === o.state() || v(i[n] && i[n].then))) return o.then(); 11174 for (; n--; ) F(i[n], a(n), o.reject); 11175 return o.promise(); 11176 }, 11177 }); 11178 var z = /^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/; 11179 (k.Deferred.exceptionHook = function (e, t) { 11180 n.console && n.console.warn && e && z.test(e.name) && n.console.warn("jQuery.Deferred exception: " + e.message, e.stack, t); 11181 }), 11182 (k.readyException = function (e) { 11183 n.setTimeout(function () { 11184 throw e; 11185 }); 11186 }); 11187 var R = k.Deferred(); 11188 function V() { 11189 b.removeEventListener("DOMContentLoaded", V), n.removeEventListener("load", V), k.ready(); 11190 } 11191 (k.fn.ready = function (e) { 11192 return ( 11193 R.then(e).catch(function (e) { 11194 k.readyException(e); 11195 }), 11196 this 11197 ); 11198 }), 11199 k.extend({ 11200 isReady: !1, 11201 readyWait: 1, 11202 ready: function (e) { 11203 (!0 === e ? --k.readyWait : k.isReady) || ((k.isReady = !0), (!0 !== e && --k.readyWait > 0) || R.resolveWith(b, [k])); 11204 }, 11205 }), 11206 (k.ready.then = R.then), 11207 "complete" === b.readyState || ("loading" !== b.readyState && !b.documentElement.doScroll) ? n.setTimeout(k.ready) : (b.addEventListener("DOMContentLoaded", V), n.addEventListener("load", V)); 11208 var W = function (e, t, n, r, i, o, a) { 11209 var s = 0, 11210 u = e.length, 11211 l = null == n; 11212 if ("object" === T(n)) for (s in ((i = !0), n)) W(e, t, s, n[s], !0, o, a); 11213 else if ( 11214 void 0 !== r && 11215 ((i = !0), 11216 v(r) || (a = !0), 11217 l && 11218 (a 11219 ? (t.call(e, r), (t = null)) 11220 : ((l = t), 11221 (t = function (e, t, n) { 11222 return l.call(k(e), n); 11223 }))), 11224 t) 11225 ) 11226 for (; s < u;
11226 s++) t(e[s], n, a ? r : r.call(e[s], s, t(e[s], n))); 11227 return i ? e : l ? t.call(e) : u ? t(e[0], n) : o; 11228 }, 11229 U = /^-ms-/, 11230 B = /-([a-z])/g; 11231 function Q(e, t) { 11232 return t.toUpperCase(); 11233 } 11234 function Z(e) { 11235 return e.replace(U, "ms-").replace(B, Q); 11236 } 11237 var J = function (e) { 11238 return 1 === e.nodeType || 9 === e.nodeType || !+e.nodeType; 11239 }; 11240 function Y() { 11241 this.expando = k.expando + Y.uid++; 11242 } 11243 (Y.uid = 1), 11244 (Y.prototype = { 11245 cache: function (e) { 11246 var t = e[this.expando]; 11247 return t || ((t = {}), J(e) && (e.nodeType ? (e[this.expando] = t) : Object.defineProperty(e, this.expando, { value: t, configurable: !0 }))), t; 11248 }, 11249 set: function (e, t, n) { 11250 var r, 11251 i = this.cache(e); 11252 if ("string" == typeof t) i[Z(t)] = n; 11253 else for (r in t) i[Z(r)] = t[r]; 11254 return i; 11255 }, 11256 get: function (e, t) { 11257 return void 0 === t ? this.cache(e) : e[this.expando] && e[this.expando][Z(t)]; 11258 }, 11259 access: function (e, t, n) { 11260 return void 0 === t || (t && "string" == typeof t && void 0 === n) ? this.get(e, t) : (this.set(e, t, n), void 0 !== n ? n : t); 11261 }, 11262 remove: function (e, t) { 11263 var n, 11264 r = e[this.expando]; 11265 if (void 0 !== r) { 11266 if (void 0 !== t) { 11267 n = (t = Array.isArray(t) ? t.map(Z) : (t = Z(t)) in r ? [t] : t.match(q) || []).length; 11268 for (; n--; ) delete r[t[n]]; 11269 } 11270 (void 0 === t || k.isEmptyObject(r)) && (e.nodeType ? (e[this.expando] = void 0) : delete e[this.expando]); 11271 } 11272 }, 11273 hasData: function (e) { 11274 var t = e[this.expando]; 11275 return void 0 !== t && !k.isEmptyObject(t); 11276 }, 11277 }); 11278 var G = new Y(), 11279 X = new Y(), 11280 K = /^(?:\{[\w\W]*\}|\[[\w\W]*\])$/, 11281 ee = /[A-Z]/g; 11282 function te(e, t, n) { 11283 var r; 11284 if (void 0 === n && 1 === e.nodeType) 11285 if (((r = "data-" + t.replace(ee, "-$&").toLowerCase()), "string" == typeof (n = e.getAttribute(r)))) { 11286 try { 11287 n = (function (e) { 11288 return "true" === e || ("false" !== e && ("null" === e ? null : e === +e + "" ? +e : K.test(e) ? JSON.parse(e) : e)); 11289 })(n); 11290 } catch (e) {} 11291 X.set(e, t, n); 11292 } else n = void 0; 11293 return n; 11294 } 11295 k.extend({ 11296 hasData: function (e) { 11297 return X.hasData(e) || G.hasData(e); 11298 }, 11299 data: function (e, t, n) { 11300 return X.access(e, t, n); 11301 }, 11302 removeData: function (e, t) { 11303 X.remove(e, t); 11304 }, 11305 _data: function (e, t, n) { 11306 return G.access(e, t, n); 11307 }, 11308 _removeData: function (e, t) { 11309 G.remove(e, t); 11310 }, 11311 }), 11312 k.fn.extend({ 11313 data: function (e, t) { 11314 var n, 11315 r, 11316 i, 11317 o = this[0], 11318 a = o && o.attributes; 11319 if (void 0 === e) { 11320 if (this.length && ((i = X.get(o)), 1 === o.nodeType && !G.get(o, "hasDataAttrs"))) { 11321 for (n = a.length; n--; ) a[n] && 0 === (r = a[n].name).indexOf("data-") && ((r = Z(r.slice(5))), te(o, r, i[r])); 11322 G.set(o, "hasDataAttrs", !0); 11323 } 11324 return i; 11325 } 11326 return "object" == typeof e 11327 ? this.each(function () { 11328 X.set(this, e); 11329 }) 11330 : W( 11331 this, 11332 function (t) { 11333 var n; 11334 if (o && void 0 === t) return void 0 !== (n = X.get(o, e)) || void 0 !== (n = te(o, e)) ? n : void 0; 11335 this.each(function () { 11336 X.set(this, e, t); 11337 }); 11338 }, 11339 null, 11340 t, 11341 arguments.length > 1, 11342 null, 11343 !0 11344 ); 11345 }, 11346 removeData: function (e) { 11347 return this.each(function () { 11348 X.remove(this, e); 11349 }); 11350 }, 11351 }), 11352 k.extend({ 11353 queue: function (e, t, n) { 11354 var r; 11355 if (e) return (t = (t || "fx") + "queue"), (r = G.get(e, t)), n && (!r || Array.isArray(n) ? (r = G.access(e, t, k.makeArray(n))) : r.push(n)), r || []; 11356 }, 11357 dequeue: function (e, t) { 11358 t = t || "fx"; 11359 var n = k.queue(e, t), 11360 r = n.length, 11361 i = n.shift(), 11362 o = k._queueHooks(e, t); 11363 "inprogress" === i && ((i = n.shift()), r--), 11364 i && 11365 ("fx" === t && n.unshift("inprogress"), 11366 delete o.stop, 11367 i.call( 11368 e, 11369 function () { 11370 k.dequeue(e, t); 11371 }, 11372 o 11373 )), 11374 !r && o && o.empty.fire(); 11375 }, 11376 _queueHooks: function (e, t) { 11377 var n = t + "queueHooks"; 11378 return ( 11379 G.get(e, n) || 11380 G.access(e, n, { 11381 empty: k.Callbacks("once memory").add(function () { 11382 G.remove(e, [t + "queue", n]); 11383 }), 11384 }) 11385 ); 11386 }, 11387 }), 11388 k.fn.extend({ 11389 queue: function (e, t) { 11390 var n = 2; 11391 return ( 11392 "string" != typeof e && ((t = e), (e = "fx"), n--), 11393 arguments.length < n 11394 ? k.queue(this[0], e) 11395 : void 0 === t 11396 ? this 11397 : this.each(function () { 11398 var n = k.queue(this, e, t); 11399 k._queueHooks(this, e), "fx" === e && "inprogress" !== n[0] && k.dequeue(this, e); 11400 }) 11401 ); 11402 }, 11403 dequeue: function (e) { 11404 return this.each(function () { 11405 k.dequeue(this, e); 11406 }); 11407 }, 11408 clearQueue: function (e) { 11409 return this.queue(e || "fx", []); 11410 }, 11411 promise: function (e, t) { 11412 var n, 11413 r = 1, 11414 i = k.Deferred(), 11415 o = this, 11416 a = this.length, 11417 s = function () { 11418 --r || i.resolveWith(o, [o]); 11419 }; 11420 for ("string" != typeof e && ((t = e), (e = void 0)), e = e || "fx"; a--; ) (n = G.get(o[a], e + "queueHooks")) && n.empty && (r++, n.empty.add(s)); 11421 return s(), i.promise(t); 11422 }, 11423 }); 11424 var ne = /[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,
11425 re = new RegExp("^(?:([+-])=|)(" + ne + ")([a-z%]*)$", "i"), 11426 ie = ["Top", "Right", "Bottom", "Left"], 11427 oe = b.documentElement, 11428 ae = function (e) { 11429 return k.contains(e.ownerDocument, e); 11430 }, 11431 se = { composed: !0 }; 11432 oe.getRootNode && 11433 (ae = function (e) { 11434 return k.contains(e.ownerDocument, e) || e.getRootNode(se) === e.ownerDocument; 11435 }); 11436 var ue = function (e, t) { 11437 return "none" === (e = t || e).style.display || ("" === e.style.display && ae(e) && "none" === k.css(e, "display")); 11438 }; 11439 function le(e, t, n, r) { 11440 var i, 11441 o, 11442 a = 20, 11443 s = r 11444 ? function () { 11445 return r.cur(); 11446 } 11447 : function () { 11448 return k.css(e, t, ""); 11449 }, 11450 u = s(), 11451 l = (n && n[3]) || (k.cssNumber[t] ? "" : "px"), 11452 c = e.nodeType && (k.cssNumber[t] || ("px" !== l && +u)) && re.exec(k.css(e, t)); 11453 if (c && c[3] !== l) { 11454 for (u /= 2, l = l || c[3], c = +u || 1; a--; ) k.style(e, t, c + l), (1 - o) * (1 - (o = s() / u || 0.5)) <= 0 && (a = 0), (c /= o); 11455 (c *= 2), k.style(e, t, c + l), (n = n || []); 11456 } 11457 return n && ((c = +c || +u || 0), (i = n[1] ? c + (n[1] + 1) * n[2] : +n[2]), r && ((r.unit = l), (r.start = c), (r.end = i))), i; 11458 } 11459 var ce = {}; 11460 function de(e) { 11461 var t, 11462 n = e.ownerDocument, 11463 r = e.nodeName, 11464 i = ce[r]; 11465 return i || ((t = n.body.appendChild(n.createElement(r))), (i = k.css(t, "display")), t.parentNode.removeChild(t), "none" === i && (i = "block"), (ce[r] = i), i); 11466 } 11467 function fe(e, t) { 11468 for (var n, r, i = [], o = 0, a = e.length; o < a; o++) 11469 (r = e[o]).style && 11470 ((n = r.style.display),
11471 t ? ("none" === n && ((i[o] = G.get(r, "display") || null), i[o] || (r.style.display = "")), "" === r.style.display && ue(r) && (i[o] = de(r))) : "none" !== n && ((i[o] = "none"), G.set(r, "display", n))); 11472 for (o = 0; o < a; o++) null != i[o] && (e[o].style.display = i[o]); 11473 return e; 11474 } 11475 k.fn.extend({ 11476 show: function () { 11477 return fe(this, !0); 11478 }, 11479 hide: function () { 11480 return fe(this); 11481 }, 11482 toggle: function (e) { 11483 return "boolean" == typeof e 11484 ? e 11485 ? this.show() 11486 : this.hide() 11487 : this.each(function () { 11488 ue(this) ? k(this).show() : k(this).hide(); 11489 }); 11490 }, 11491 }); 11492 var he, 11493 pe, 11494 me = /^(?:checkbox|radio)$/i, 11495 ge = /<([a-z][^\/\0>\x20\t\r\n\f]*)/i, 11496 ve = /^$|^module$|\/(?:java|ecma)script/i; 11497 (he = b.createDocumentFragment().appendChild(b.createElement("div"))), 11498 (pe = b.createElement("input")).setAttribute("type", "radio"), 11499 pe.setAttribute("checked", "checked"), 11500 pe.setAttribute("name", "t"), 11501 he.appendChild(pe), 11502 (g.checkClone = he.cloneNode(!0).cloneNode(!0).lastChild.checked), 11503 (he.innerHTML = "<textarea>x</textarea>"), 11504 (g.noCloneChecked = !!he.cloneNode(!0).lastChild.defaultValue), 11505 (he.innerHTML = "<option></option>"), 11506 (g.option = !!he.lastChild); 11507 var ye = { thead: [1, "<table>", "</table>"], col: [2, "<table><colgroup>", "</colgroup></table>"], tr: [2, "<table><tbody>", "</tbody></table>"], td: [3, "<table><tbody><tr>", "</tr></tbody></table>"], _default: [0, "", ""] }; 11508 function be(e, t) { 11509 var n; 11510 return (n = void 0 !== e.getElementsByTagName ? e.getElementsByTagName(t || "*") : void 0 !== e.querySelectorAll ? e.querySelectorAll(t || "*") : []), void 0 === t || (t && O(e, t)) ? k.merge([e], n) : n; 11511 } 11512 function we(e, t) { 11513 for (var n = 0, r = e.length; n < r; n++) G.set(e[n], "globalEval", !t || G.get(t[n], "globalEval")); 11514 } 11515 (ye.tbody = ye.tfoot = ye.colgroup = ye.caption = ye.thead), (ye.th = ye.td), g.option || (ye.optgroup = ye.option = [1, "<select multiple='multiple'>", "</select>"]); 11516 var xe = /<|&#?\w+;/; 11517 function Te(e, t, n, r, i) { 11518 for (var o, a, s, u, l, c, d = t.createDocumentFragment(), f = [], h = 0, p = e.length; h < p; h++) 11519 if ((o = e[h]) || 0 === o) 11520 if ("object" === T(o)) k.merge(f, o.nodeType ? [o] : o); 11521 else if (xe.test(o)) { 11522 for (a = a || d.appendChild(t.createElement("div")), s = (ge.exec(o) || ["", ""])[1].toLowerCase(), u = ye[s] || ye._default, a.innerHTML = u[1] + k.htmlPrefilter(o) + u[2], c = u[0]; c--; ) a = a.lastChild; 11523 k.merge(f, a.childNodes), ((a = d.firstChild).textContent = ""); 11524 } else f.push(t.createTextNode(o)); 11525 for (d.textContent = "", h = 0; (o = f[h++]); ) 11526 if (r && k.inArray(o, r) > -1) i && i.push(o); 11527 else if (((l = ae(o)), (a = be(d.appendChild(o), "script")), l && we(a), n)) for (c = 0; (o = a[c++]); ) ve.test(o.type || "") && n.push(o); 11528 return d; 11529 } 11530 var ke = /^key/, 11531 Se = /^(?:mouse|pointer|contextmenu|drag|drop)|click/, 11532 Ee = /^([^.]*)(?:\.(.+)|)/; 11533 function Ce() { 11534 return !0; 11535 } 11536 function De() { 11537 return !1; 11538 } 11539 function je(e, t) { 11540 return ( 11541 (e === 11542 (function () { 11543 try { 11544 return b.activeElement; 11545 } catch (e) {} 11546 })()) == 11547 ("focus" === t) 11548 ); 11549 } 11550 function Oe(e, t, n, r, i, o) { 11551 var a, s; 11552 if ("object" == typeof t) { 11553 for (s in ("string" != typeof n && ((r = r || n), (n = void 0)), t)) Oe(e, s, n, r, t[s], o); 11554 return e; 11555 } 11556 if ((null == r && null == i ? ((i = n), (r = n = void 0)) : null == i && ("string" == typeof n ? ((i = r), (r = void 0)) : ((i = r), (r = n), (n = void 0))), !1 === i)) i = De; 11557 else if (!i) return e; 11558 return ( 11559 1 === o && 11560 ((a = i), 11561 ((i = function (e) { 11562 return k().off(e), a.apply(this, arguments); 11563 }).guid = a.guid || (a.guid = k.guid++))), 11564 e.each(function () { 11565 k.event.add(this, t, i, r, n); 11566 }) 11567 ); 11568 } 11569 function _e(e, t, n) { 11570 n 11571 ? (G.set(e, t, !1), 11572 k.event.add(e, t, { 11573 namespace: !1, 11574 handler: function (e) { 11575 var r, 11576 i, 11577 o = G.get(this, t); 11578 if (1 & e.isTrigger && this[t]) { 11579 if (o.length) (k.event.special[t] || {}).delegateType && e.stopPropagation(); 11580 else if (((o = s.call(arguments)), G.set(this, t, o), (r = n(this, t)), this[t](), o !== (i = G.get(this, t)) || r ? G.set(this, t, !1) : (i = {}), o !== i)) 11581 return e.stopImmediatePropagation(), e.preventDefault(), i.value; 11582 } else o.length && (G.set(this, t, { value: k.event.trigger(k.extend(o[0], k.Event.prototype), o.slice(1), this) }), e.stopImmediatePropagation()); 11583 }, 11584 })) 11585 : void 0 === G.get(e, t) && k.event.add(e, t, Ce); 11586 } 11587 (k.event = { 11588 global: {}, 11589 add: function (e, t, n, r, i) { 11590 var o, 11591 a, 11592 s, 11593 u, 11594 l, 11595 c, 11596 d, 11597 f, 11598 h, 11599 p, 11600 m, 11601 g = G.get(e); 11602 if (J(e)) 11603 for ( 11604 n.handler && ((n = (o = n).handler), (i = o.selector)), 11605 i && k.find.matchesSelector(oe, i), 11606 n.guid || (n.guid = k.guid++), 11607 (u = g.events) || (u = g.events = Object.create(null)), 11608 (a = g.handle) || 11609 (a = g.handle = function (t) { 11610 return void 0 !== k && k.event.triggered !== t.type ? k.event.dispatch.apply(e, arguments) : void 0; 11611 }), 11612 l = (t = (t || "").match(q) || [""]).length; 11613 l--; 11614 11615 ) 11616 (h = m = (s = Ee.exec(t[l]) || [])[1]), 11617 (p = (s[2] || "").split(".").sort()), 11618 h && 11619 ((d = k.event.special[h] || {}), 11620 (h = (i ? d.delegateType : d.bindType) || h), 11621 (d = k.event.special[h] || {}), 11622 (c = k.extend({ type: h, origType: m, data: r, handler: n, guid: n.guid, selector: i, needsContext: i && k.expr.match.needsContext.test(i), namespace: p.join(".") }, o)), 11623 (f = u[h]) || (((f = u[h] = []).delegateCount = 0), (d.setup && !1 !== d.setup.call(e, r, p, a)) || (e.addEventListener && e.addEventListener(h, a))), 11624 d.add && (d.add.call(e, c), c.handler.guid || (c.handler.guid = n.guid)), 11625 i ? f.splice(f.delegateCount++, 0, c) : f.push(c), 11626 (k.event.global[h] = !0)); 11627 }, 11628 remove: function (e, t, n, r, i) { 11629 var o, 11630 a, 11631 s, 11632 u, 11633 l, 11634 c, 11635 d, 11636 f, 11637 h, 11638 p, 11639 m, 11640 g = G.hasData(e) && G.get(e); 11641 if (g && (u = g.events)) { 11642 for (l = (t = (t || "").match(q) || [""]).length; l--; ) 11643 if (((h = m = (s = Ee.exec(t[l]) || [])[1]), (p = (s[2] || "").split(".").sort()), h)) { 11644 for (d = k.event.special[h] || {}, f = u[(h = (r ? d.delegateType : d.bindType) || h)] || [], s = s[2] && new RegExp("(^|\\.)" + p.join("\\.(?:.*\\.|)") + "(\\.|$)"), a = o = f.length; o--; ) 11645 (c = f[o]), 11646 (!i && m !== c.origType) || 11647 (n && n.guid !== c.guid) || 11648 (s && !s.test(c.namespace)) || 11649 (r && r !== c.selector && ("**" !== r || !c.selector)) || 11650 (f.splice(o, 1), c.selector && f.delegateCount--, d.remove && d.remove.call(e, c)); 11651 a && !f.length && ((d.teardown && !1 !== d.teardown.call(e, p, g.handle)) || k.removeEvent(e, h, g.handle), delete u[h]); 11652 } else for (h in u) k.event.remove(e, h + t[l], n, r, !0); 11653 k.isEmptyObject(u) && G.remove(e, "handle events"); 11654 } 11655 }, 11656 dispatch: function (e) { 11657 var t, 11658 n, 11659 r, 11660 i, 11661 o, 11662 a, 11663 s = new Array(arguments.length), 11664 u = k.event.fix(e), 11665 l = (G.get(this, "events") || Object.create(null))[u.type] || [], 11666 c = k.event.special[u.type] || {}; 11667 for (s[0] = u, t = 1; t < arguments.length; t++) s[t] = arguments[t]; 11668 if (((u.delegateTarget = this), !c.preDispatch || !1 !== c.preDispatch.call(this, u))) { 11669 for (a = k.event.handlers.call(this, u, l), t = 0; (i = a[t++]) && !u.isPropagationStopped(); ) 11670 for (u.currentTarget = i.elem, n = 0; (o = i.handlers[n++]) && !u.isImmediatePropagationStopped(); ) 11671 (u.rnamespace && !1 !== o.namespace && !u.rnamespace.test(o.namespace)) || 11672 ((u.handleObj = o), (u.data = o.data), void 0 !== (r = ((k.event.special[o.origType] || {}).handle || o.handler).apply(i.elem, s)) && !1 === (u.result = r) && (u.preventDefault(), u.stopPropagation())); 11673 return c.postDispatch && c.postDispatch.call(this, u), u.result; 11674 } 11675 }, 11676 handlers: function (e, t) { 11677 var n, 11678 r, 11679 i, 11680 o, 11681 a, 11682 s = [], 11683 u = t.delegateCount, 11684 l = e.target; 11685 if (u && l.nodeType && !("click" === e.type && e.button >= 1)) 11686 for (; l !== this; l = l.parentNode || this) 11687 if (1 === l.nodeType && ("click" !== e.type || !0 !== l.disabled)) { 11688 for (o = [], a = {}, n = 0; n < u; n++) void 0 === a[(i = (r = t[n]).selector + " ")] && (a[i] = r.needsContext ? k(i, this).index(l) > -1 : k.find(i, this, null, [l]).length), a[i] && o.push(r); 11689 o.length && s.push({ elem: l, handlers: o }); 11690 } 11691 return (l = this), u < t.length && s.push({ elem: l, handlers: t.slice(u) }), s; 11692 }, 11693 addProp: function (e, t) { 11694 Object.defineProperty(k.Event.prototype, e, { 11695 enumerable: !0, 11696 configurable: !0, 11697 get: v(t) 11698 ? function () { 11699 if (this.originalEvent) return t(this.originalEvent); 11700 } 11701 : function () { 11702 if (this.originalEvent) return this.originalEvent[e]; 11703 }, 11704 set: function (t) { 11705 Object.defineProperty(this, e, { enumerable: !0, configurable: !0, writable: !0, value: t }); 11706 }, 11707 }); 11708 }, 11709 fix: function (e) { 11710 return e[k.expando] ? e : new k.Event(e); 11711 }, 11712 special: { 11713 load: { noBubble: !0 },
11714 click: { 11715 setup: function (e) { 11716 var t = this || e; 11717 return me.test(t.type) && t.click && O(t, "input") && _e(t, "click", Ce), !1; 11718 }, 11719 trigger: function (e) { 11720 var t = this || e; 11721 return me.test(t.type) && t.click && O(t, "input") && _e(t, "click"), !0; 11722 }, 11723 _default: function (e) { 11724 var t = e.target; 11725 return (me.test(t.type) && t.click && O(t, "input") && G.get(t, "click")) || O(t, "a"); 11726 }, 11727 }, 11728 beforeunload: { 11729 postDispatch: function (e) { 11730 void 0 !== e.result && e.originalEvent && (e.originalEvent.returnValue = e.result); 11731 }, 11732 }, 11733 }, 11734 }), 11735(k.removeEvent = function (e, t, n) { 11736 e.removeEventListener && e.removeEventListener(t, n); 11737}), 11738(k.Event = function (e, t) { 11739 if (!(this instanceof k.Event)) return new k.Event(e, t); 11740 e && e.type 11741 ? ((this.originalEvent = e), 11742 (this.type = e.type), 11743 (this.isDefaultPrevented = e.defaultPrevented || (void 0 === e.defaultPrevented && !1 === e.returnValue) ? Ce : De), 11744 (this.target = e.target && 3 === e.target.nodeType ? e.target.parentNode : e.target), 11745 (this.currentTarget = e.currentTarget), 11746 (this.relatedTarget = e.relatedTarget)) 11747 : (this.type = e), 11748 t && k.extend(this, t), 11749 (this.timeStamp = (e && e.timeStamp) || Date.now()), 11750 (this[k.expando] = !0); 11751}), 11752(k.Event.prototype = { 11753 constructor: k.Event, 11754 isDefaultPrevented: De, 11755 isPropagationStopped: De, 11756 isImmediatePropagationStopped: De, 11757 isSimulated: !1, 11758 preventDefault: function () { 11759 var e = this.originalEvent; 11760 (this.isDefaultPrevented = Ce), e && !this.isSimulated && e.preventDefault(); 11761 }, 11762 stopPropagation: function () { 11763 var e = this.originalEvent; 11764 (this.isPropagationStopped = Ce), e && !this.isSimulated && e.stopPropagation(); 11765 }, 11766 stopImmediatePropagation: function () { 11767 var e = this.originalEvent; 11768 (this.isImmediatePropagationStopped = Ce), e && !this.isSimulated && e.stopImmediatePropagation(), this.stopPropagation(); 11769 }, 11770}), 11771k.each( 11772{ 11773 altKey: !0, 11774 bubbles: !0, 11775 cancelable: !0, 11776 changedTouches: !0, 11777 ctrlKey: !0, 11778 detail: !0, 11779 eventPhase: !0, 11780 metaKey: !0, 11781 pageX: !0, 11782 pageY: !0, 11783 shiftKey: !0, 11784 view: !0, 11785 char: !0, 11786 code: !0, 11787 charCode: !0, 11788 key: !0, 11789 keyCode: !0, 11790 button: !0, 11791 buttons: !0, 11792 clientX: !0, 11793 clientY: !0, 11794 offsetX: !0, 11795 offsetY: !0, 11796 pointerId: !0, 11797 pointerType: !0, 11798 screenX: !0, 11799 screenY: !0, 11800 targetTouches: !0, 11801 toElement: !0, 11802 touches: !0, 11803 which: function (e) { 11804 var t = e.button; 11805 return null == e.which && ke.test(e.type) ? (null != e.charCode ? e.charCode : e.keyCode) : !e.which && void 0 !== t && Se.test(e.type) ? (1 & t ? 1 : 2 & t ? 3 : 4 & t ? 2 : 0) : e.which; 11806 }, 11807}, 11808k.event.addProp 11809), 11810k.each({ focus: "focusin", blur: "focusout" }, function (e, t) { 11811 k.event.special[e] = { 11812 setup: function () { 11813 return _e(this, e, je), !1; 11814 }, 11815 trigger: function () { 11816 return _e(this, e), !0; 11817 }, 11818 delegateType: t, 11819 }; 11820}), 11821k.each({ mouseenter: "mouseover", mouseleave: "mouseout", pointerenter: "pointerover", pointerleave: "pointerout" }, function (e, t) { 11822 k.event.special[e] = { 11823 delegateType: t, 11824 bindType: t, 11825 handle: function (e) { 11826 var n, 11827 r = this, 11828 i = e.relatedTarget, 11829 o = e.handleObj; 11830 return (i && (i === r || k.contains(r, i))) || ((e.type = o.origType), (n = o.handler.apply(this, arguments)), (e.type = t)), n; 11831 }, 11832 }; 11833}), 11834k.fn.extend({ 11835 on: function (e, t, n, r) { 11836 return Oe(this, e, t, n, r); 11837 }, 11838 one: function (e, t, n, r) { 11839 return Oe(this, e, t, n, r, 1); 11840 }, 11841 off: function (e, t, n) { 11842 var r, i; 11843 if (e && e.preventDefault && e.handleObj) return (r = e.handleObj), k(e.delegateTarget).off(r.namespace ? r.origType + "." + r.namespace : r.origType, r.selector, r.handler), this; 11844 if ("object" == typeof e) { 11845 for (i in e) this.off(i, t, e[i]); 11846 return this; 11847 } 11848 return ( 11849 (!1 !== t && "function" != typeof t) || ((n = t), (t = void 0)), 11850 !1 === n && (n = De), 11851 this.each(function () { 11852 k.event.remove(this, e, n, t); 11853 }) 11854 ); 11855 }, 11856}); 11857var Ne = /<script|<style|<link/i, 11858Ae = /checked\s*(?:[^=]|=\s*.checked.)/i, 11859Le = /^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g; 11860function Me(e, t) { 11861 return (O(e, "table") && O(11 !== t.nodeType ? t : t.firstChild, "tr") && k(e).children("tbody")[0]) || e; 11862} 11863function Ie(e) { 11864 return (e.type = (null !== e.getAttribute("type")) + "/" + e.type), e; 11865} 11866function $e(e) { 11867 return "true/" === (e.type || "").slice(0, 5) ? (e.type = e.type.slice(5)) : e.removeAttribute("type"), e; 11868} 11869function qe(e, t) { 11870 var n, r, i, o, a, s; 11871 if (1 === t.nodeType) { 11872 if (G.hasData(e) && (s = G.get(e).events)) for (i in (G.remove(t, "handle events"), s)) for (n = 0, r = s[i].length; n < r; n++) k.event.add(t, i, s[i][n]); 11873 X.hasData(e) && ((o = X.access(e)), (a = k.extend({}, o)), X.set(t, a)); 11874 } 11875} 11876function Pe(e, t) { 11877 var n = t.nodeName.toLowerCase(); 11878 "input" === n && me.test(e.type) ? (t.checked = e.checked) : ("input" !== n && "textarea" !== n) || (t.defaultValue = e.defaultValue); 11879} 11880function He(e, t, n, r) { 11881 t = u(t); 11882 var i, 11883 o, 11884 a, 11885 s, 11886 l, 11887 c, 11888 d = 0, 11889 f = e.length, 11890 h = f - 1, 11891 p = t[0], 11892 m = v(p); 11893 if (m || (f > 1 && "string" == typeof p && !g.checkClone && Ae.test(p))) 11894 return e.each(function (i) { 11895 var o = e.eq(i); 11896 m && (t[0] = p.call(this, i, o.html())), He(o, t, n, r); 11897 }); 11898 if (f && ((o = (i = Te(t, e[0].ownerDocument, !1, e, r)).firstChild), 1 === i.childNodes.length && (i = o), o || r)) { 11899 for (s = (a = k.map(be(i, "script"), Ie)).length; d < f; d++) (l = i), d !== h && ((l = k.clone(l, !0, !0)), s && k.merge(a, be(l, "script"))), n.call(e[d], l, d); 11900 if (s) 11901 for (c = a[a.length - 1].ownerDocument, k.map(a, $e), d = 0; d < s; d++) 11902 (l = a[d]), 11903 ve.test(l.type || "") && 11904 !G.access(l, "globalEval") && 11905 k.contains(c, l) && 11906 (l.src && "module" !== (l.type || "").toLowerCase() ? k._evalUrl && !l.noModule && k._evalUrl(l.src, { nonce: l.nonce || l.getAttribute("nonce") }, c) : x(l.textContent.replace(Le, ""), l, c)); 11907 } 11908 return e; 11909 } 11910 function Fe(e, t, n) { 11911 for (var r, i = t ? k.filter(t, e) : e, o = 0; null != (r = i[o]); o++) n || 1 !== r.nodeType || k.cleanData(be(r)), r.parentNode && (n && ae(r) && we(be(r, "script")), r.parentNode.removeChild(r)); 11912 return e; 11913 } 11914 k.extend({ 11915 htmlPrefilter: function (e) { 11916 return e; 11917 }, 11918 clone: function (e, t, n) { 11919 var r, 11920 i, 11921 o, 11922 a, 11923 s = e.cloneNode(!0), 11924 u = ae(e);
11925 if (!(g.noCloneChecked || (1 !== e.nodeType && 11 !== e.nodeType) || k.isXMLDoc(e))) for (a = be(s), r = 0, i = (o = be(e)).length; r < i; r++) Pe(o[r], a[r]); 11926 if (t) 11927 if (n) for (o = o || be(e), a = a || be(s), r = 0, i = o.length; r < i; r++) qe(o[r], a[r]); 11928 else qe(e, s); 11929 return (a = be(s, "script")).length > 0 && we(a, !u && be(e, "script")), s; 11930 }, 11931 cleanData: function (e) { 11932 for (var t, n, r, i = k.event.special, o = 0; void 0 !== (n = e[o]); o++) 11933 if (J(n)) { 11934 if ((t = n[G.expando])) { 11935 if (t.events) for (r in t.events) i[r] ? k.event.remove(n, r) : k.removeEvent(n, r, t.handle); 11936 n[G.expando] = void 0; 11937 } 11938 n[X.expando] && (n[X.expando] = void 0); 11939 } 11940 }, 11941 }), 11942 k.fn.extend({ 11943 detach: function (e) { 11944 return Fe(this, e, !0); 11945 }, 11946 remove: function (e) { 11947 return Fe(this, e); 11948 }, 11949 text: function (e) { 11950 return W( 11951 this, 11952 function (e) { 11953 return void 0 === e 11954 ? k.text(this) 11955 : this.empty().each(function () { 11956 (1 !== this.nodeType && 11 !== this.nodeType && 9 !== this.nodeType) || (this.textContent = e); 11957 }); 11958 }, 11959 null, 11960 e, 11961 arguments.length 11962 ); 11963 }, 11964 append: function () { 11965 return He(this, arguments, function (e) { 11966 (1 !== this.nodeType && 11 !== this.nodeType && 9 !== this.nodeType) || Me(this, e).appendChild(e); 11967 }); 11968 }, 11969 prepend: function () { 11970 return He(this, arguments, function (e) { 11971 if (1 === this.nodeType || 11 === this.nodeType || 9 === this.nodeType) { 11972 var t = Me(this, e); 11973 t.insertBefore(e, t.firstChild); 11974 } 11975 }); 11976 }, 11977 before: function () { 11978 return He(this, arguments, function (e) { 11979 this.parentNode && this.parentNode.insertBefore(e, this); 11980 }); 11981 }, 11982 after: function () { 11983 return He(this, arguments, function (e) { 11984 this.parentNode && this.parentNode.insertBefore(e, this.nextSibling); 11985 }); 11986 }, 11987 empty: function () { 11988 for (var e, t = 0; null != (e = this[t]); t++) 1 === e.nodeType && (k.cleanData(be(e, !1)), (e.textContent = "")); 11989 return this; 11990 }, 11991 clone: function (e, t) { 11992 return ( 11993 (e = null != e && e), 11994 (t = null == t ? e : t), 11995 this.map(function () { 11996 return k.clone(this, e, t); 11997 }) 11998 ); 11999 }, 12000 html: function (e) { 12001 return W( 12002 this, 12003 function (e) { 12004 var t = this[0] || {}, 12005 n = 0, 12006 r = this.length; 12007 if (void 0 === e && 1 === t.nodeType) return t.innerHTML; 12008 if ("string" == typeof e && !Ne.test(e) && !ye[(ge.exec(e) || ["", ""])[1].toLowerCase()]) { 12009 e = k.htmlPrefilter(e); 12010 try { 12011 for (; n < r; n++) 1 === (t = this[n] || {}).nodeType && (k.cleanData(be(t, !1)), (t.innerHTML = e)); 12012 t = 0; 12013 } catch (e) {} 12014 } 12015 t && this.empty().append(e); 12016 }, 12017 null, 12018 e, 12019 arguments.length 12020 ); 12021 }, 12022 replaceWith: function () { 12023 var e = []; 12024 return He( 12025 this, 12026 arguments, 12027 function (t) { 12028 var n = this.parentNode; 12029 k.inArray(this, e) < 0 && (k.cleanData(be(this)), n && n.replaceChild(t, this)); 12030 }, 12031 e 12032 ); 12033 }, 12034 }), 12035 k.each({ appendTo: "append", prependTo: "prepend", insertBefore: "before", insertAfter: "after", replaceAll: "replaceWith" }, function (e, t) { 12036 k.fn[e] = function (e) { 12037 for (var n, r = [], i = k(e), o = i.length - 1, a = 0; a <= o; a++) (n = a === o ? this : this.clone(!0)), k(i[a])[t](n), l.apply(r, n.get()); 12038 return this.pushStack(r); 12039 }; 12040 }); 12041 var ze = new RegExp("^(" + ne + ")(?!px)[a-z%]+$", "i"), 12042 Re = function (e) { 12043 var t = e.ownerDocument.defaultView; 12044 return (t && t.opener) || (t = n), t.getComputedStyle(e); 12045 }, 12046 Ve = function (e, t, n) { 12047 var r, 12048 i, 12049 o = {}; 12050 for (i in t) (o[i] = e.style[i]), (e.style[i] = t[i]); 12051 for (i in ((r = n.call(e)), t)) e.style[i] = o[i]; 12052 return r; 12053 }, 12054 We = new RegExp(ie.join("|"), "i"); 12055 function Ue(e, t, n) { 12056 var r, 12057 i, 12058 o, 12059 a, 12060 s = e.style; 12061 return ( 12062 (n = n || Re(e)) && 12063 ("" !== (a = n.getPropertyValue(t) || n[t]) || ae(e) || (a = k.style(e, t)), 12064 !g.pixelBoxStyles() && ze.test(a) && We.test(t) && ((r = s.width), (i = s.minWidth), (o = s.maxWidth), (s.minWidth = s.maxWidth = s.width = a), (a = n.width), (s.width = r), (s.minWidth = i), (s.maxWidth = o))
12064), 12065 void 0 !== a ? a + "" : a 12066 ); 12067 } 12068 function Be(e, t) { 12069 return { 12070 get: function () { 12071 if (!e()) return (this.get = t).apply(this, arguments); 12072 delete this.get; 12073 }, 12074 }; 12075 } 12076 !(function () { 12077 function e() { 12078 if (c) { 12079 (l.style.cssText = "position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0"), 12080 (c.style.cssText = "position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%"), 12081 oe.appendChild(l).appendChild(c); 12082 var e = n.getComputedStyle(c); 12083 (r = "1%" !== e.top), 12084 (u = 12 === t(e.marginLeft)), 12085 (c.style.right = "60%"), 12086 (a = 36 === t(e.right)), 12087 (i = 36 === t(e.width)), 12088 (c.style.position = "absolute"), 12089 (o = 12 === t(c.offsetWidth / 3)), 12090 oe.removeChild(l), 12091 (c = null); 12092 } 12093 } 12094 function t(e) { 12095 return Math.round(parseFloat(e)); 12096 } 12097 var r, 12098 i, 12099 o, 12100 a, 12101 s, 12102 u, 12103 l = b.createElement("div"), 12104 c = b.createElement("div"); 12105 c.style && 12106 ((c.style.backgroundClip = "content-box"), 12107 (c.cloneNode(!0).style.backgroundClip = ""), 12108 (g.clearCloneStyle = "content-box" === c.style.backgroundClip), 12109 k.extend(g, { 12110 boxSizingReliable: function () { 12111 return e(), i; 12112 }, 12113 pixelBoxStyles: function () { 12114 return e(), a; 12115 }, 12116 pixelPosition: function () { 12117 return e(), r; 12118 }, 12119 reliableMarginLeft: function () { 12120 return e(), u; 12121 }, 12122 scrollboxSize: function () { 12123 return e(), o; 12124 }, 12125 reliableTrDimensions: function () { 12126 var e, t, r, i; 12127 return ( 12128 null == s && 12129 ((e = b.createElement("table")), 12130 (t = b.createElement("tr")), 12131 (r = b.createElement("div")), 12132 (e.style.cssText = "position:absolute;left:-11111px"), 12133 (t.style.height = "1px"), 12134 (r.style.height = "9px"), 12135 oe.appendChild(e).appendChild(t).appendChild(r), 12136 (i = n.getComputedStyle(t)), 12137 (s = parseInt(i.height) > 3), 12138 oe.removeChild(e)), 12139 s 12140 ); 12141 }, 12142 })); 12143 })(); 12144 var Qe = ["Webkit", "Moz", "ms"], 12145 Ze = b.createElement("div").style, 12146 Je = {}; 12147 function Ye(e) { 12148 var t = k.cssProps[e] || Je[e]; 12149 return ( 12150 t || 12151 (e in Ze 12152 ? e 12153 : (Je[e] = 12154 (function (e) { 12155 for (var t = e[0].toUpperCase() + e.slice(1), n = Qe.length; n--; ) if ((e = Qe[n] + t) in Ze) return e; 12156 })(e) || e)) 12157 ); 12158 } 12159 var Ge = /^(none|table(?!-c[ea]).+)/, 12160 Xe = /^--/, 12161 Ke = { position: "absolute", visibility: "hidden", display: "block" }, 12162 et = { letterSpacing: "0", fontWeight: "400" }; 12163 function tt(e, t, n) { 12164 var r = re.exec(t); 12165 return r ? Math.max(0, r[2] - (n || 0)) + (r[3] || "px") : t; 12166 } 12167 function nt(e, t, n, r, i, o) { 12168 var a = "width" === t ? 1 : 0, 12169 s = 0, 12170 u = 0; 12171 if (n === (r ? "border" : "content")) return 0; 12172 for (; a < 4; a += 2) 12173 "margin" === n && (u += k.css(e, n + ie[a], !0, i)), 12174 r 12175 ? ("content" === n && (u -= k.css(e, "padding" + ie[a], !0, i)), "margin" !== n && (u -= k.css(e, "border" + ie[a] + "Width", !0, i))) 12176 : ((u += k.css(e, "padding" + ie[a], !0, i)), "padding" !== n ? (u += k.css(e, "border" + ie[a] + "Width", !0, i)) : (s += k.css(e, "border" + ie[a] + "Width", !0, i))); 12177 return !r && o >= 0 && (u += Math.max(0, Math.ceil(e["offset" + t[0].toUpperCase() + t.slice(1)] - o - u - s - 0.5)) || 0), u; 12178 } 12179 function rt(e, t, n) { 12180 var r = Re(e), 12181 i = (!g.boxSizingReliable() || n) && "border-box" === k.css(e, "boxSizing", !1, r), 12182 o = i, 12183 a = Ue(e, t, r), 12184 s = "offset" + t[0].toUpperCase() + t.slice(1); 12185 if (ze.test(a)) { 12186 if (!n) return a; 12187 a = "auto"; 12188 } 12189 return ( 12190 ((!g.boxSizingReliable() && i) || (!g.reliableTrDimensions() && O(e, "tr")) || "auto" === a || (!parseFloat(a) && "inline" === k.css(e, "display", !1, r))) && 12191 e.getClientRects().length && 12192 ((i = "border-box" === k.css(e, "boxSizing", !1, r)), (o = s in e) && (a = e[s])), 12193 (a = parseFloat(a) || 0) + nt(e, t, n || (i ? "border" : "content"), o, r, a) + "px" 12194 ); 12195 } 12196 function it(e, t, n, r, i) { 12197 return new it.prototype.init(e, t, n, r, i); 12198 } 12199 k.extend({ 12200 cssHooks: { 12201 opacity: { 12202 get: function (e, t) { 12203 if (t) { 12204 var n = Ue(e, "opacity"); 12205 return "" === n ? "1" : n; 12206 } 12207 }, 12208 }, 12209 }, 12210 cssNumber: { 12211 animationIterationCount: !0, 12212 columnCount: !0, 12213 fillOpacity: !0, 12214 flexGrow: !0, 12215 flexShrink: !0, 12216 fontWeight: !0, 12217 gridArea: !0, 12218 gridColumn: !0, 12219 gridColumnEnd: !0, 12220 gridColumnStart: !0, 12221 gridRow: !0, 12222 gridRowEnd: !0, 12223 gridRowStart: !0, 12224 lineHeight: !0, 12225 opacity: !0, 12226 order: !0, 12227 orphans: !0, 12228 widows: !0, 12229 zIndex: !0, 12230 zoom: !0, 12231 }, 12232 cssProps: {}, 12233 style: function (e, t, n, r) { 12234 if (e && 3 !== e.nodeType && 8 !== e.nodeType && e.style) { 12235 var i, 12236 o, 12237 a, 12238 s = Z(t), 12239 u = Xe.test(t), 12240 l = e.style; 12241 if ((u || (t = Ye(s)), (a = k.cssHooks[t] || k.cssHooks[s]), void 0 === n)) return a && "get" in a && void 0 !== (i = a.get(e, !1, r)) ? i : l[t]; 12242 "string" === (o = typeof n) && (i = re.exec(n)) && i[1] && ((n = le(e, t, i)), (o = "number")), 12243 null != n && 12244 n == n && 12245 ("number" !== o || u || (n += (i && i[3]) || (k.cssNumber[s] ? "" : "px")), 12246 g.clearCloneStyle || "" !== n || 0 !== t.indexOf("background") || (l[t] = "inherit"), 12247 (a && "set" in a && void 0 === (n = a.set(e, n, r))) || (u ? l.setProperty(t, n) : (l[t] = n))); 12248 } 12249 }, 12250 css: function (e, t, n, r) { 12251 var i, 12252 o, 12253 a, 12254 s = Z(t); 12255 return ( 12256 Xe.test(t) || (t = Ye(s)), 12257 (a = k.cssHooks[t] || k.cssHooks[s]) && "get" in a && (i = a.get(e, !0, n)), 12258 void 0 === i && (i = Ue(e, t, r)), 12259 "normal" === i && t in et && (i = et[t]), 12260 "" === n || n ? ((o = parseFloat(i)), !0 === n || isFinite(o) ? o || 0 : i) : i 12261 ); 12262 }, 12263 }), 12264 k.each(["height", "width"], function (e, t) { 12265 k.cssHooks[t] = { 12266 get: function (e, n, r) { 12267 if (n) 12268 return !Ge.test(k.css(e, "display")) || (e.getClientRects().length && e.getBoundingClientRect().width) 12269 ? rt(e, t, r) 12270 : Ve(e, Ke, function () { 12271 return rt(e, t, r); 12272 }); 12273 }, 12274 set: function (e, n, r) { 12275 var i, 12276 o = Re(e), 12277 a = !g.scrollboxSize() && "absolute" === o.position, 12278 s = (a || r) && "border-box" === k.css(e, "boxSizing", !1, o), 12279 u = r ? nt(e, t, r, s, o) : 0; 12280 return ( 12281 s && a && (u -= Math.ceil(e["offset" + t[0].toUpperCase() + t.slice(1)] - parseFloat(o[t]) - nt(e, t, "border", !1, o) - 0.5)), 12282 u && (i = re.exec(n)) && "px" !== (i[3] || "px") && ((e.style[t] = n), (n = k.css(e, t))), 12283 tt(0, n, u) 12284 ); 12285 }, 12286 }; 12287 }), 12288 (k.cssHooks.marginLeft = Be(g.reliableMarginLeft, function (e, t) { 12289 if (t) 12290 return ( 12291 (parseFloat(Ue(e, "marginLeft")) || 12292 e.getBoundingClientRect().left - 12293 Ve(e, { marginLeft: 0 }, function () { 12294 return e.getBoundingClientRect().left; 12295 })) + "px" 12296 ); 12297 })), 12298 k.each({ margin: "", padding: "", border: "Width" }, function (e, t) { 12299 (k.cssHooks[e + t] = { 12300 expand: function (n) { 12301 for (var r = 0, i = {}, o = "string" == typeof n ? n.split(" ") : [n]; r < 4; r++) i[e + ie[r] + t] = o[r] || o[r - 2] || o[0]; 12302 return i; 12303 }, 12304 }), 12305 "margin" !== e && (k.cssHooks[e + t].set = tt); 12306 }), 12307 k.fn.extend({ 12308 css: function (e, t) { 12309 return W( 12310 this, 12311 function (e, t, n) { 12312 var r, 12313 i, 12314 o = {}, 12315 a = 0; 12316 if (Array.isArray(t)) { 12317 for (r = Re(e), i = t.length; a < i; a++) o[t[a]] = k.css(e, t[a], !1, r); 12318 return o; 12319 } 12320 return void 0 !== n ? k.style(e, t, n) : k.css(e, t); 12321 }, 12322 e, 12323 t, 12324 arguments.length > 1 12325 ); 12326 }, 12327 }), 12328 (k.Tween = it), 12329 (it.prototype = { 12330 constructor: it, 12331 init: function (e, t, n, r, i, o) { 12332 (this.elem = e), (this.prop = n), (this.easing = i || k.easing._default), (this.options = t), (this.start = this.now = this.cur()), (this.end = r), (this.unit = o || (k.cssNumber[n] ? "" : "px")); 12333 }, 12334 cur: function () { 12335 var e = it.propHooks[this.prop]; 12336 return e && e.get ? e.get(this) : it.propHooks._default.get(this); 12337 }, 12338 run: function (e) { 12339 var t, 12340 n = it.propHooks[this.prop]; 12341 return ( 12342 this.options.duration ? (this.pos = t = k.easing[this.easing](e, this.options.duration * e, 0, 1, this.options.duration)) : (this.pos = t = e),
12343 (this.now = (this.end - this.start) * t + this.start), 12344 this.options.step && this.options.step.call(this.elem, this.now, this), 12345 n && n.set ? n.set(this) : it.propHooks._default.set(this), 12346 this 12347 ); 12348 }, 12349 }), 12350 (it.prototype.init.prototype = it.prototype), 12351 (it.propHooks = { 12352 _default: { 12353 get: function (e) { 12354 var t; 12355 return 1 !== e.elem.nodeType || (null != e.elem[e.prop] && null == e.elem.style[e.prop]) ? e.elem[e.prop] : (t = k.css(e.elem, e.prop, "")) && "auto" !== t ? t : 0; 12356 }, 12357 set: function (e) { 12358 k.fx.step[e.prop] ? k.fx.step[e.prop](e) : 1 !== e.elem.nodeType || (!k.cssHooks[e.prop] && null == e.elem.style[Ye(e.prop)]) ? (e.elem[e.prop] = e.now) : k.style(e.elem, e.prop, e.now + e.unit); 12359 }, 12360 }, 12361 }), 12362 (it.propHooks.scrollTop = it.propHooks.scrollLeft = { 12363 set: function (e) { 12364 e.elem.nodeType && e.elem.parentNode && (e.elem[e.prop] = e.now); 12365 }, 12366 }), 12367 (k.easing = { 12368 linear: function (e) { 12369 return e; 12370 }, 12371 swing: function (e) { 12372 return 0.5 - Math.cos(e * Math.PI) / 2; 12373 }, 12374 _default: "swing", 12375 }), 12376 (k.fx = it.prototype.init), 12377 (k.fx.step = {}); 12378 var ot, 12379 at, 12380 st = /^(?:toggle|show|hide)$/, 12381 ut = /queueHooks$/; 12382 function lt() { 12383 at && (!1 === b.hidden && n.requestAnimationFrame ? n.requestAnimationFrame(lt) : n.setTimeout(lt, k.fx.interval), k.fx.tick()); 12384 } 12385 function ct() { 12386 return ( 12387 n.setTimeout(function () { 12388 ot = void 0; 12389 }), 12390 (ot = Date.now()) 12391 ); 12392 } 12393 function dt(e, t) { 12394 var n, 12395 r = 0, 12396 i = { height: e }; 12397 for (t = t ? 1 : 0; r < 4; r += 2 - t) i["margin" + (n = ie[r])] = i["padding" + n] = e; 12398 return t && (i.opacity = i.width = e), i; 12399 } 12400 function ft(e, t, n) { 12401 for (var r, i = (ht.tweeners[t] || []).concat(ht.tweeners["*"]), o = 0, a = i.length; o < a; o++) if ((r = i[o].call(n, t, e))) return r; 12402 } 12403 function ht(e, t, n) { 12404 var r, 12405 i, 12406 o = 0, 12407 a = ht.prefilters.length, 12408 s = k.Deferred().always(function () { 12409 delete u.elem; 12410 }), 12411 u = function () { 12412 if (i) return !1; 12413 for (var t = ot || ct(), n = Math.max(0, l.startTime + l.duration - t), r = 1 - (n / l.duration || 0), o = 0, a = l.tweens.length; o < a; o++) l.tweens[o].run(r); 12414 return s.notifyWith(e, [l, r, n]), r < 1 && a ? n : (a || s.notifyWith(e, [l, 1, 0]), s.resolveWith(e, [l]), !1); 12415 }, 12416 l = s.promise({ 12417 elem: e, 12418 props: k.extend({}, t), 12419 opts: k.extend(!0, { specialEasing: {}, easing: k.easing._default }, n), 12420 originalProperties: t, 12421 originalOptions: n, 12422 startTime: ot || ct(), 12423 duration: n.duration, 12424 tweens: [], 12425 createTween: function (t, n) { 12426 var r = k.Tween(e, l.opts, t, n, l.opts.specialEasing[t] || l.opts.easing); 12427 return l.tweens.push(r), r; 12428 }, 12429 stop: function (t) { 12430 var n = 0, 12431 r = t ? l.tweens.length : 0; 12432 if (i) return this; 12433 for (i = !0; n < r; n++) l.tweens[n].run(1); 12434 return t ? (s.notifyWith(e, [l, 1, 0]), s.resolveWith(e, [l, t])) : s.rejectWith(e, [l, t]), this; 12435 }, 12436 }), 12437 c = l.props; 12438 for ( 12439 !(function (e, t) { 12440 var n, r, i, o, a; 12441 for (n in e) 12442 if (((i = t[(r = Z(n))]), (o = e[n]), Array.isArray(o) && ((i = o[1]), (o = e[n] = o[0])), n !== r && ((e[r] = o), delete e[n]), (a = k.cssHooks[r]) && ("expand" in a))) 12443 for (n in ((o = a.expand(o)), delete e[r], o)) (n in e) || ((e[n] = o[n]), (t[n] = i)); 12444 else t[r] = i; 12445 })(c, l.opts.specialEasing); 12446 o < a; 12447 o++ 12448 ) 12449 if ((r = ht.prefilters[o].call(l, e, c, l.opts))) return v(r.stop) && (k._queueHooks(l.elem, l.opts.queue).stop = r.stop.bind(r)), r; 12450 return ( 12451 k.map(c, ft, l), 12452 v(l.opts.start) && l.opts.start.call(e, l), 12453 l.progress(l.opts.progress).done(l.opts.done, l.opts.complete).fail(l.opts.fail).always(l.opts.always), 12454 k.fx.timer(k.extend(u, { elem: e, anim: l, queue: l.opts.queue })), 12455 l 12456 ); 12457 } 12458 (k.Animation = k.extend(ht, { 12459 tweeners: { 12460 "*": [ 12461 function (e, t) { 12462 var n = this.createTween(e, t); 12463 return le(n.elem, e, re.exec(t), n), n; 12464 }, 12465 ], 12466 }, 12467 tweener: function (e, t) { 12468 v(e) ? ((t = e), (e = ["*"])) : (e = e.match(q)); 12469 for (var n, r = 0, i = e.length; r < i; r++) (n = e[r]), (ht.tweeners[n] = ht.tweeners[n] || []), ht.tweeners[n].unshift(t); 12470 }, 12471 prefilters: [ 12472 function (e, t, n) { 12473 var r, 12474 i, 12475 o, 12476 a, 12477 s, 12478 u, 12479 l, 12480 c, 12481 d = "width" in t || "height" in t, 12482 f = this, 12483 h = {}, 12484 p = e.style, 12485 m = e.nodeType && ue(e), 12486 g = G.get(e, "fxshow"); 12487 for (r in (n.queue || 12488 (null == (a = k._queueHooks(e, "fx")).unqueued && 12489 ((a.unqueued = 0), 12490 (s = a.empty.fire), 12491 (a.empty.fire = function () { 12492 a.unqueued || s(); 12493 })), 12494 a.unqueued++, 12495 f.always(function () { 12496 f.always(function () { 12497 a.unqueued--, k.queue(e, "fx").length || a.empty.fire(); 12498 }); 12499 })), 12500 t)) 12501 if (((i = t[r]), st.test(i))) { 12502 if ((delete t[r], (o = o || "toggle" === i), i === (m ? "hide" : "show"))) { 12503 if ("show" !== i || !g || void 0 === g[r]) continue; 12504 m = !0; 12505 } 12506 h[r] = (g && g[r]) || k.style(e, r); 12507 } 12508 if ((u = !k.isEmptyObject(t)) || !k.isEmptyObject(h)) 12509 for (r in (d && 12510 1 === e.nodeType && 12511 ((n.overflow = [p.overflow, p.overflowX, p.overflowY]), 12512 null == (l = g && g.display) && (l = G.get(e, "display")), 12513 "none" === (c = k.css(e, "display")) && (l ? (c = l) : (fe([e], !0), (l = e.style.display || l), (c = k.css(e, "display")), fe([e]))), 12514 ("inline" === c || ("inline-block" === c && null != l)) && 12515 "none" === k.css(e, "float") && 12516 (u || 12517 (f.done(function () { 12518 p.display = l; 12519 }), 12520 null == l && ((c = p.display), (l = "none" === c ? "" : c))), 12521 (p.display = "inline-block"))), 12522 n.overflow && 12523 ((p.overflow = "hidden"), 12524 f.always(function () { 12525 (p.overflow = n.overflow[0]), (p.overflowX = n.overflow[1]), (p.overflowY = n.overflow[2]); 12526 })), 12527 (u = !1), 12528 h)) 12529 u || 12530 (g ? "hidden" in g && (m = g.hidden) : (g = G.access(e, "fxshow", { display: l })), 12531 o && (g.hidden = !m), 12532 m && fe([e], !0), 12533 f.done(function () { 12534 for (r in (m || fe([e]), G.remove(e, "fxshow"), h)) k.style(e, r, h[r]); 12535 })), 12536 (u = ft(m ? g[r] : 0, r, f)), 12537 r in g || ((g[r] = u.start), m && ((u.end = u.start), (u.start = 0))); 12538 }, 12539 ], 12540 prefilter: function (e, t) { 12541 t ? ht.prefilters.unshift(e) : ht.prefilters.push(e); 12542 }, 12543 })), 12544 (k.speed = function (e, t, n) { 12545 var r = e && "object" == typeof e ? k.extend({}, e) : { complete: n || (!n && t) || (v(e) && e), duration: e, easing: (n && t) || (t && !v(t) && t) }; 12546 return ( 12547 k.fx.off ? (r.duration = 0) : "number" != typeof r.duration && (r.duration in k.fx.speeds ? (r.duration = k.fx.speeds[r.duration]) : (r.duration = k.fx.speeds._default)), 12548 (null != r.queue && !0 !== r.queue) || (r.queue = "fx"), 12549 (r.old = r.complete), 12550 (r.complete = function () { 12551 v(r.old) && r.old.call(this), r.queue && k.dequeue(this, r.queue); 12552 }), 12553 r 12554 ); 12555 }), 12556 k.fn.extend({ 12557 fadeTo: function (e, t, n, r) { 12558 return this.filter(ue).css("opacity", 0).show().end().animate({ opacity: t }, e, n, r); 12559 }, 12560 animate: function (e, t, n, r) { 12561 var i = k.isEmptyObject(e), 12562 o = k.speed(t, n, r), 12563 a = function () { 12564 var t = ht(this, k.extend({}, e), o); 12565 (i || G.get(this, "finish")) && t.stop(!0); 12566 }; 12567 return (a.finish = a), i || !1 === o.queue ? this.each(a) : this.queue(o.queue, a); 12568 }, 12569 stop: function (e, t, n) { 12570 var r = function (e) { 12571 var t = e.stop; 12572 delete e.stop, t(n); 12573 }; 12574 return ( 12575 "string" != typeof e && ((n = t), (t = e), (e = void 0)), 12576 t && this.queue(e || "fx", []), 12577 this.each(function () { 12578 var t = !0,
12579 i = null != e && e + "queueHooks", 12580 o = k.timers, 12581 a = G.get(this); 12582 if (i) a[i] && a[i].stop && r(a[i]); 12583 else for (i in a) a[i] && a[i].stop && ut.test(i) && r(a[i]); 12584 for (i = o.length; i--; ) o[i].elem !== this || (null != e && o[i].queue !== e) || (o[i].anim.stop(n), (t = !1), o.splice(i, 1)); 12585 (!t && n) || k.dequeue(this, e); 12586 }) 12587 ); 12588 }, 12589 finish: function (e) { 12590 return ( 12591 !1 !== e && (e = e || "fx"), 12592 this.each(function () { 12593 var t, 12594 n = G.get(this), 12595 r = n[e + "queue"], 12596 i = n[e + "queueHooks"], 12597 o = k.timers, 12598 a = r ? r.length : 0; 12599 for (n.finish = !0, k.queue(this, e, []), i && i.stop && i.stop.call(this, !0), t = o.length; t--; ) o[t].elem === this && o[t].queue === e && (o[t].anim.stop(!0), o.splice(t, 1)); 12600 for (t = 0; t < a; t++) r[t] && r[t].finish && r[t].finish.call(this); 12601 delete n.finish; 12602 }) 12603 ); 12604 }, 12605 }), 12606 k.each(["toggle", "show", "hide"], function (e, t) { 12607 var n = k.fn[t]; 12608 k.fn[t] = function (e, r, i) { 12609 return null == e || "boolean" == typeof e ? n.apply(this, arguments) : this.animate(dt(t, !0), e, r, i); 12610 }; 12611 }), 12612 k.each({ slideDown: dt("show"), slideUp: dt("hide"), slideToggle: dt("toggle"), fadeIn: { opacity: "show" }, fadeOut: { opacity: "hide" }, fadeToggle: { opacity: "toggle" } }, function (e, t) { 12613 k.fn[e] = function (e, n, r) { 12614 return this.animate(t, e, n, r); 12615 }; 12616 }), 12617 (k.timers = []), 12618 (k.fx.tick = function () { 12619 var e, 12620 t = 0, 12621 n = k.timers; 12622 for (ot = Date.now(); t < n.length; t++) (e = n[t])() || n[t] !== e || n.splice(t--, 1); 12623 n.length || k.fx.stop(), (ot = void 0); 12624 }), 12625 (k.fx.timer = function (e) { 12626 k.timers.push(e), k.fx.start(); 12627 }), 12628 (k.fx.interval = 13), 12629 (k.fx.start = function () { 12630 at || ((at = !0), lt()); 12631 }), 12632 (k.fx.stop = function () { 12633 at = null; 12634 }), 12635 (k.fx.speeds = { slow: 600, fast: 200, _default: 400 }), 12636 (k.fn.delay = function (e, t) { 12637 return ( 12638 (e = (k.fx && k.fx.speeds[e]) || e), 12639 (t = t || "fx"), 12640 this.queue(t, function (t, r) { 12641 var i = n.setTimeout(t, e); 12642 r.stop = function () { 12643 n.clearTimeout(i); 12644 }; 12645 }) 12646 ); 12647 }), 12648 (function () { 12649 var e = b.createElement("input"), 12650 t = b.createElement("select").appendChild(b.createElement("option")); 12651 (e.type = "checkbox"), (g.checkOn = "" !== e.value), (g.optSelected = t.selected), ((e = b.createElement("input")).value = "t"), (e.type = "radio"), (g.radioValue = "t" === e.value); 12652 })(); 12653 var pt, 12654 mt = k.expr.attrHandle; 12655 k.fn.extend({ 12656 attr: function (e, t) { 12657 return W(this, k.attr, e, t, arguments.length > 1); 12658 }, 12659 removeAttr: function (e) { 12660 return this.each(function () { 12661 k.removeAttr(this, e); 12662 }); 12663 }, 12664 }), 12665 k.extend({ 12666 attr: function (e, t, n) { 12667 var r, 12668 i, 12669 o = e.nodeType; 12670 if (3 !== o && 8 !== o && 2 !== o) 12671 return void 0 === e.getAttribute 12672 ? k.prop(e, t, n) 12673 : ((1 === o && k.isXMLDoc(e)) || (i = k.attrHooks[t.toLowerCase()] || (k.expr.match.bool.test(t) ? pt : void 0)), 12674 void 0 !== n 12675 ? null === n 12676 ? void k.removeAttr(e, t) 12677 : i && "set" in i && void 0 !== (r = i.set(e, n, t)) 12678 ? r 12679 : (e.setAttribute(t, n + ""), n) 12680 : i && "get" in i && null !== (r = i.get(e, t)) 12681 ? r 12682 : null == (r = k.find.attr(e, t)) 12683 ? void 0 12684 : r); 12685 }, 12686 attrHooks: { 12687 type: { 12688 set: function (e, t) { 12689 if (!g.radioValue && "radio" === t && O(e, "input")) { 12690 var n = e.value; 12691 return e.setAttribute("type", t), n && (e.value = n), t; 12692 } 12693 }, 12694 }, 12695 }, 12696 removeAttr: function (e, t) { 12697 var n, 12698 r = 0, 12699 i = t && t.match(q); 12700 if (i && 1 === e.nodeType) for (; (n = i[r++]); ) e.removeAttribute(n); 12701 }, 12702 }), 12703 (pt = { 12704 set: function (e, t, n) { 12705 return !1 === t ? k.removeAttr(e, n) : e.setAttribute(n, n), n; 12706 }, 12707 }), 12708 k.each(k.expr.match.bool.source.match(/\w+/g), function (e, t) { 12709 var n = mt[t] || k.find.attr; 12710 mt[t] = function (e, t, r) { 12711 var i, 12712 o, 12713 a = t.toLowerCase(); 12714 return r || ((o = mt[a]), (mt[a] = i), (i = null != n(e, t, r) ? a : null), (mt[a] = o)), i; 12715 }; 12716 }); 12717 var gt = /^(?:input|select|textarea|button)$/i, 12718 vt = /^(?:a|area)$/i; 12719 function yt(e) { 12720 return (e.match(q) || []).join(" "); 12721 } 12722 function bt(e) { 12723 return (e.getAttribute && e.getAttribute("class")) || ""; 12724 } 12725 function wt(e) { 12726 return Array.isArray(e) ? e : ("string" == typeof e && e.match(q)) || []; 12727 } 12728 k.fn.extend({ 12729 prop: function (e, t) { 12730 return W(this, k.prop, e, t, arguments.length > 1); 12731 }, 12732 removeProp: function (e) { 12733 return this.each(function () { 12734 delete this[k.propFix[e] || e]; 12735 }); 12736 }, 12737 }), 12738 k.extend({ 12739 prop: function (e, t, n) { 12740 var r, 12741 i,
12742 o = e.nodeType; 12743 if (3 !== o && 8 !== o && 2 !== o) 12744 return ( 12745 (1 === o && k.isXMLDoc(e)) || ((t = k.propFix[t] || t), (i = k.propHooks[t])), 12746 void 0 !== n ? (i && "set" in i && void 0 !== (r = i.set(e, n, t)) ? r : (e[t] = n)) : i && "get" in i && null !== (r = i.get(e, t)) ? r : e[t] 12747 ); 12748 }, 12749 propHooks: { 12750 tabIndex: { 12751 get: function (e) { 12752 var t = k.find.attr(e, "tabindex"); 12753 return t ? parseInt(t, 10) : gt.test(e.nodeName) || (vt.test(e.nodeName) && e.href) ? 0 : -1; 12754 }, 12755 }, 12756 }, 12757 propFix: { for: "htmlFor", class: "className" }, 12758 }), 12759 g.optSelected || 12760 (k.propHooks.selected = { 12761 get: function (e) { 12762 var t = e.parentNode; 12763 return t && t.parentNode && t.parentNode.selectedIndex, null; 12764 }, 12765 set: function (e) { 12766 var t = e.parentNode; 12767 t && (t.selectedIndex, t.parentNode && t.parentNode.selectedIndex); 12768 }, 12769 }), 12770 k.each(["tabIndex", "readOnly", "maxLength", "cellSpacing", "cellPadding", "rowSpan", "colSpan", "useMap", "frameBorder", "contentEditable"], function () { 12771 k.propFix[this.toLowerCase()] = this; 12772 }), 12773 k.fn.extend({ 12774 addClass: function (e) { 12775 var t, 12776 n, 12777 r, 12778 i, 12779 o, 12780 a, 12781 s, 12782 u = 0; 12783 if (v(e)) 12784 return this.each(function (t) { 12785 k(this).addClass(e.call(this, t, bt(this))); 12786 }); 12787 if ((t = wt(e)).length) 12788 for (; (n = this[u++]); ) 12789 if (((i = bt(n)), (r = 1 === n.nodeType && " " + yt(i) + " "))) { 12790 for (a = 0; (o = t[a++]); ) r.indexOf(" " + o + " ") < 0 && (r += o + " "); 12791 i !== (s = yt(r)) && n.setAttribute("class", s); 12792 } 12793 return this; 12794 }, 12795 removeClass: function (e) { 12796 var t, 12797 n, 12798 r, 12799 i, 12800 o, 12801 a, 12802 s, 12803 u = 0; 12804 if (v(e)) 12805 return this.each(function (t) { 12806 k(this).removeClass(e.call(this, t, bt(this))); 12807 }); 12808 if (!arguments.length) return this.attr("class", ""); 12809 if ((t = wt(e)).length) 12810 for (; (n = this[u++]); ) 12811 if (((i = bt(n)), (r = 1 === n.nodeType && " " + yt(i) + " "))) { 12812 for (a = 0; (o = t[a++]); ) for (; r.indexOf(" " + o + " ") > -1; ) r = r.replace(" " + o + " ", " "); 12813 i !== (s = yt(r)) && n.setAttribute("class", s); 12814 } 12815 return this; 12816 }, 12817 toggleClass: function (e, t) { 12818 var n = typeof e, 12819 r = "string" === n || Array.isArray(e); 12820 return "boolean" == typeof t && r 12821 ? t 12822 ? this.addClass(e) 12823 : this.removeClass(e) 12824 : v(e) 12825 ? this.each(function (n) { 12826 k(this).toggleClass(e.call(this, n, bt(this), t), t); 12827 }) 12828 : this.each(function () { 12829 var t, i, o, a; 12830 if (r) for (i = 0, o = k(this), a = wt(e); (t = a[i++]); ) o.hasClass(t) ? o.removeClass(t) : o.addClass(t); 12831 else (void 0 !== e && "boolean" !== n) || ((t = bt(this)) && G.set(this, "__className__", t), this.setAttribute && this.setAttribute("class", t || !1 === e ? "" : G.get(this, "__className__") || "")); 12832 }); 12833 }, 12834 hasClass: function (e) { 12835 var t, 12836 n, 12837 r = 0; 12838 for (t = " " + e + " "; (n = this[r++]); ) if (1 === n.nodeType && (" " + yt(bt(n)) + " ").indexOf(t) > -1) return !0; 12839 return !1; 12840 }, 12841 }); 12842 var xt = /\r/g; 12843 k.fn.extend({ 12844 val: function (e) { 12845 var t, 12846 n, 12847 r, 12848 i = this[0]; 12849 return arguments.length 12850 ? ((r = v(e)), 12851 this.each(function (n) { 12852 var i; 12853 1 === this.nodeType && 12854 (null == (i = r ? e.call(this, n, k(this).val()) : e) 12855 ? (i = "") 12856 : "number" == typeof i 12857 ? (i += "") 12858 : Array.isArray(i) && 12859 (i = k.map(i, function (e) { 12860 return null == e ? "" : e + ""; 12861 })), 12862 ((t = k.valHooks[this.type] || k.valHooks[this.nodeName.toLowerCase()]) && "set" in t && void 0 !== t.set(this, i, "value")) || (this.value = i)); 12863 })) 12864 : i 12865 ? (t = k.valHooks[i.type] || k.valHooks[i.nodeName.toLowerCase()]) && "get" in t && void 0 !== (n = t.get(i, "value")) 12866 ? n 12867 : "string" == typeof (n = i.value) 12868 ? n.replace(xt, "") 12869 : null == n 12870 ? "" 12871 : n 12872 : void 0; 12873 }, 12874 }), 12875 k.extend({ 12876 valHooks: { 12877 option: { 12878 get: function (e) { 12879 var t = k.find.attr(e, "value"); 12880 return null != t ? t : yt(k.text(e)); 12881 }, 12882 }, 12883 select: { 12884 get: function (e) { 12885 var t, 12886 n, 12887 r, 12888 i = e.options, 12889 o = e.selectedIndex, 12890 a = "select-one" === e.type, 12891 s = a ? null : [], 12892 u = a ? o + 1 : i.length; 12893 for (r = o < 0 ? u : a ? o : 0; r < u; r++) 12894 if (((n = i[r]).selected || r === o) && !n.disabled && (!n.parentNode.disabled || !O(n.parentNode, "optgroup"))) { 12895 if (((t = k(n).val()), a)) return t; 12896 s.push(t); 12897 } 12898 return s; 12899 }, 12900 set: function (e, t) { 12901 for (var n, r, i = e.options, o = k.makeArray(t), a = i.length; a--; ) ((r = i[a]).selected = k.inArray(k.valHooks.option.get(r), o) > -1) && (n = !0); 12902 return n || (e.selectedIndex = -1), o; 12903 }, 12904 }, 12905 }, 12906 }), 12907 k.each(["radio", "checkbox"], function () { 12908 (k.valHooks[this] = { 12909 set: function (e, t) { 12910 if (Array.isArray(t)) return (e.checked = k.inArray(k(e).val(), t) > -1); 12911 }, 12912 }), 12913 g.checkOn || 12914 (k.valHooks[this].get = function (e) { 12915 return null === e.getAttribute("value") ? "on" : e.value; 12916 }); 12917 }), 12918 (g.focusin = "onfocusin" in n); 12919 var Tt = /^(?:focusinfocus|focusoutblur)$/, 12920 kt = function (e) { 12921 e.stopPropagation(); 12922 }; 12923 k.extend(k.event, { 12924 trigger: function (e, t, r, i) { 12925 var o, 12926 a, 12927 s, 12928 u, 12929 l, 12930 c, 12931 d, 12932 f, 12933 p = [r || b], 12934 m = h.call(e, "type") ? e.type : e, 12935 g = h.call(e, "namespace") ? e.namespace.split(".") : []; 12936 if ( 12937 ((a = f = s = r = r || b), 12938 3 !== r.nodeType && 12939 8 !== r.nodeType && 12940 !Tt.test(m + k.event.triggered) && 12941 (m.indexOf(".") > -1 && ((g = m.split(".")), (m = g.shift()), g.sort()),
12942 (l = m.indexOf(":") < 0 && "on" + m), 12943 ((e = e[k.expando] ? e : new k.Event(m, "object" == typeof e && e)).isTrigger = i ? 2 : 3), 12944 (e.namespace = g.join(".")), 12945 (e.rnamespace = e.namespace ? new RegExp("(^|\\.)" + g.join("\\.(?:.*\\.|)") + "(\\.|$)") : null), 12946 (e.result = void 0), 12947 e.target || (e.target = r), 12948 (t = null == t ? [e] : k.makeArray(t, [e])), 12949 (d = k.event.special[m] || {}), 12950 i || !d.trigger || !1 !== d.trigger.apply(r, t))) 12951 ) { 12952 if (!i && !d.noBubble && !y(r)) { 12953 for (u = d.delegateType || m, Tt.test(u + m) || (a = a.parentNode); a; a = a.parentNode) p.push(a), (s = a); 12954 s === (r.ownerDocument || b) && p.push(s.defaultView || s.parentWindow || n); 12955 } 12956 for (o = 0; (a = p[o++]) && !e.isPropagationStopped(); ) 12957 (f = a), 12958 (e.type = o > 1 ? u : d.bindType || m), 12959 (c = (G.get(a, "events") || Object.create(null))[e.type] && G.get(a, "handle")) && c.apply(a, t), 12960 (c = l && a[l]) && c.apply && J(a) && ((e.result = c.apply(a, t)), !1 === e.result && e.preventDefault()); 12961 return ( 12962 (e.type = m), 12963 i || 12964 e.isDefaultPrevented() || 12965 (d._default && !1 !== d._default.apply(p.pop(), t)) || 12966 !J(r) || 12967 (l && 12968 v(r[m]) && 12969 !y(r) && 12970 ((s = r[l]) && (r[l] = null),
12971 (k.event.triggered = m), 12972 e.isPropagationStopped() && f.addEventListener(m, kt), 12973 r[m](), 12974 e.isPropagationStopped() && f.removeEventListener(m, kt), 12975 (k.event.triggered = void 0), 12976 s && (r[l] = s))), 12977 e.result 12978 ); 12979 } 12980 }, 12981 simulate: function (e, t, n) { 12982 var r = k.extend(new k.Event(), n, { type: e, isSimulated: !0 }); 12983 k.event.trigger(r, null, t); 12984 }, 12985 }), 12986 k.fn.extend({ 12987 trigger: function (e, t) { 12988 return this.each(function () { 12989 k.event.trigger(e, t, this); 12990 }); 12991 }, 12992 triggerHandler: function (e, t) { 12993 var n = this[0]; 12994 if (n) return k.event.trigger(e, t, n, !0); 12995 }, 12996 }), 12997 g.focusin || 12998 k.each({ focus: "focusin", blur: "focusout" }, function (e, t) { 12999 var n = function (e) { 13000 k.event.simulate(t, e.target, k.event.fix(e)); 13001 }; 13002 k.event.special[t] = { 13003 setup: function () { 13004 var r = this.ownerDocument || this.document || this, 13005 i = G.access(r, t); 13006 i || r.addEventListener(e, n, !0), G.access(r, t, (i || 0) + 1); 13007 }, 13008 teardown: function () { 13009 var r = this.ownerDocument || this.document || this, 13010 i = G.access(r, t) - 1; 13011 i ? G.access(r, t, i) : (r.removeEventListener(e, n, !0), G.remove(r, t)); 13012 }, 13013 }; 13014 }); 13015 var St = n.location, 13016 Et = { guid: Date.now() }, 13017 Ct = /\?/; 13018 k.parseXML = function (e) { 13019 var t; 13020 if (!e || "string" != typeof e) return null; 13021 try { 13022 t = new n.DOMParser().parseFromString(e, "text/xml"); 13023 } catch (e) { 13024 t = void 0; 13025 } 13026 return (t && !t.getElementsByTagName("parsererror").length) || k.error("Invalid XML: " + e), t; 13027 }; 13028 var Dt = /\[\]$/, 13029 jt = /\r?\n/g, 13030 Ot = /^(?:submit|button|image|reset|file)$/i, 13031 _t = /^(?:input|select|textarea|keygen)/i; 13032 function Nt(e, t, n, r) { 13033 var i; 13034 if (Array.isArray(t)) 13035 k.each(t, function (t, i) { 13036 n || Dt.test(e) ? r(e, i) : Nt(e + "[" + ("object" == typeof i && null != i ? t : "") + "]", i, n, r); 13037 }); 13038 else if (n || "object" !== T(t)) r(e, t); 13039 else for (i in t) Nt(e + "[" + i + "]", t[i], n, r); 13040 } 13041 (k.param = function (e, t) { 13042 var n, 13043 r = [], 13044 i = function (e, t) { 13045 var n = v(t) ? t() : t; 13046 r[r.length] = encodeURIComponent(e) + "=" + encodeURIComponent(null == n ? "" : n); 13047 }; 13048 if (null == e) return ""; 13049 if (Array.isArray(e) || (e.jquery && !k.isPlainObject(e))) 13050 k.each(e, function () { 13051 i(this.name, this.value); 13052 }); 13053 else for (n in e) Nt(n, e[n], t, i); 13054 return r.join("&"); 13055 }), 13056 k.fn.extend({ 13057 serialize: function () { 13058 return k.param(this.serializeArray()); 13059 }, 13060 serializeArray: function () { 13061 return this.map(function () { 13062 var e = k.prop(this, "elements"); 13063 return e ? k.makeArray(e) : this; 13064 }) 13065 .filter(function () { 13066 var e = this.type; 13067 return this.name && !k(this).is(":disabled") && _t.test(this.nodeName) && !Ot.test(e) && (this.checked || !me.test(e)); 13068 }) 13069 .map(function (e, t) { 13070 var n = k(this).val(); 13071 return null == n 13072 ? null 13073 : Array.isArray(n) 13074 ? k.map(n, function (e) { 13075 return { name: t.name, value: e.replace(jt, "\r\n") }; 13076 }) 13077 : { name: t.name, value: n.replace(jt, "\r\n") }; 13078 }) 13079 .get(); 13080 }, 13081 }); 13082 var At = /%20/g, 13083 Lt = /#.*$/, 13084 Mt = /([?&])_=[^&]*/, 13085 It = /^(.*?):[ \t]*([^\r\n]*)$/gm, 13086 $t = /^(?:GET|HEAD)$/, 13087 qt = /^\/\//, 13088 Pt = {}, 13089 Ht = {}, 13090 Ft = "*/".concat("*"), 13091 zt = b.createElement("a"); 13092 function Rt(e) { 13093 return function (t, n) { 13094 "string" != typeof t && ((n = t), (t = "*")); 13095 var r, 13096 i = 0, 13097 o = t.toLowerCase().match(q) || []; 13098 if (v(n)) for (; (r = o[i++]); ) "+" === r[0] ? ((r = r.slice(1) || "*"), (e[r] = e[r] || []).unshift(n)) : (e[r] = e[r] || []).push(n); 13099 }; 13100 } 13101 function Vt(e, t, n, r) { 13102 var i = {}, 13103 o = e === Ht; 13104 function a(s) { 13105 var u; 13106 return ( 13107 (i[s] = !0), 13108 k.each(e[s] || [], function (e, s) { 13109 var l = s(t, n, r); 13110 return "string" != typeof l || o || i[l] ? (o ? !(u = l) : void 0) : (t.dataTypes.unshift(l), a(l), !1); 13111 }), 13112 u 13113 ); 13114 } 13115 return a(t.dataTypes[0]) || (!i["*"] && a("*")); 13116 } 13117 function Wt(e, t) { 13118 var n, 13119 r, 13120 i = k.ajaxSettings.flatOptions || {}; 13121 for (n in t) void 0 !== t[n] && ((i[n] ? e : r || (r = {}))[n] = t[n]); 13122 return r && k.extend(!0, e, r), e; 13123 } 13124 (zt.href = St.href), 13125 k.extend({ 13126 active: 0, 13127 lastModified: {}, 13128 etag: {}, 13129 ajaxSettings: { 13130 url: St.href, 13131 type: "GET", 13132 isLocal: /^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(St.protocol), 13133 global: !0, 13134 processData: !0, 13135 async: !0, 13136 contentType: "application/x-www-form-urlencoded; charset=UTF-8", 13137 accepts: { "*": Ft, text: "text/plain", html: "text/html", xml: "application/xml, text/xml", json: "application/json, text/javascript" }, 13138 contents: { xml: /\bxml\b/, html: /\bhtml/, json: /\bjson\b/ }, 13139 responseFields: { xml: "responseXML", text: "responseText", json: "responseJSON" }, 13140 converters: { "* text": String, "text html": !0, "text json": JSON.parse, "text xml": k.parseXML }, 13141 flatOptions: { url: !0, context: !0 },
13142 }, 13143 ajaxSetup: function (e, t) { 13144 return t ? Wt(Wt(e, k.ajaxSettings), t) : Wt(k.ajaxSettings, e); 13145 }, 13146 ajaxPrefilter: Rt(Pt), 13147 ajaxTransport: Rt(Ht), 13148 ajax: function (e, t) { 13149 "object" == typeof e && ((t = e), (e = void 0)), (t = t || {}); 13150 var r, 13151 i, 13152 o, 13153 a, 13154 s, 13155 u, 13156 l, 13157 c, 13158 d, 13159 f, 13160 h = k.ajaxSetup({}, t), 13161 p = h.context || h, 13162 m = h.context && (p.nodeType || p.jquery) ? k(p) : k.event, 13163 g = k.Deferred(), 13164 v = k.Callbacks("once memory"), 13165 y = h.statusCode || {}, 13166 w = {}, 13167 x = {}, 13168 T = "canceled", 13169 S = { 13170 readyState: 0, 13171 getResponseHeader: function (e) { 13172 var t; 13173 if (l) { 13174 if (!a) for (a = {}; (t = It.exec(o)); ) a[t[1].toLowerCase() + " "] = (a[t[1].toLowerCase() + " "] || []).concat(t[2]); 13175 t = a[e.toLowerCase() + " "]; 13176 } 13177 return null == t ? null : t.join(", "); 13178 }, 13179 getAllResponseHeaders: function () { 13180 return l ? o : null; 13181 }, 13182 setRequestHeader: function (e, t) { 13183 return null == l && ((e = x[e.toLowerCase()] = x[e.toLowerCase()] || e), (w[e] = t)), this; 13184 }, 13185 overrideMimeType: function (e) { 13186 return null == l && (h.mimeType = e), this; 13187 }, 13188 statusCode: function (e) { 13189 var t; 13190 if (e) 13191 if (l) S.always(e[S.status]); 13192 else for (t in e) y[t] = [y[t], e[t]]; 13193 return this; 13194 }, 13195 abort: function (e) { 13196 var t = e || T; 13197 return r && r.abort(t), E(0, t), this; 13198 }, 13199 }; 13200 if ( 13201 (g.promise(S), 13202 (h.url = ((e || h.url || St.href) + "").replace(qt, St.protocol + "//")), 13203 (h.type = t.method || t.type || h.method || h.type), 13204 (h.dataTypes = (h.dataType || "*").toLowerCase().match(q) || [""]), 13205 null == h.crossDomain) 13206 ) { 13207 u = b.createElement("a"); 13208 try { 13209 (u.href = h.url), (u.href = u.href), (h.crossDomain = zt.protocol + "//" + zt.host != u.protocol + "//" + u.host); 13210 } catch (e) { 13211 h.crossDomain = !0; 13212 } 13213 } 13214 if ((h.data && h.processData && "string" != typeof h.data && (h.data = k.param(h.data, h.traditional)), Vt(Pt, h, t, S), l)) return S; 13215 for (d in ((c = k.event && h.global) && 0 == k.active++ && k.event.trigger("ajaxStart"), 13216 (h.type = h.type.toUpperCase()), 13217 (h.hasContent = !$t.test(h.type)), 13218 (i = h.url.replace(Lt, "")), 13219 h.hasContent 13220 ? h.data && h.processData && 0 === (h.contentType || "").indexOf("application/x-www-form-urlencoded") && (h.data = h.data.replace(At, "+")) 13221 : ((f = h.url.slice(i.length)), 13222 h.data && (h.processData || "string" == typeof h.data) && ((i += (Ct.test(i) ? "&" : "?") + h.data), delete h.data), 13223 !1 === h.cache && ((i = i.replace(Mt, "$1")), (f = (Ct.test(i) ? "&" : "?") + "_=" + Et.guid++ + f)), 13224 (h.url = i + f)), 13225 h.ifModified && (k.lastModified[i] && S.setRequestHeader("If-Modified-Since", k.lastModified[i]), k.etag[i] && S.setRequestHeader("If-None-Match", k.etag[i])), 13226 ((h.data && h.hasContent && !1 !== h.contentType) || t.contentType) && S.setRequestHeader("Content-Type", h.contentType), 13227 S.setRequestHeader("Accept", h.dataTypes[0] && h.accepts[h.dataTypes[0]] ? h.accepts[h.dataTypes[0]] + ("*" !== h.dataTypes[0] ? ", " + Ft + "; q=0.01" : "") : h.accepts["*"]), 13228 h.headers)) 13229 S.setRequestHeader(d, h.headers[d]); 13230 if (h.beforeSend && (!1 === h.beforeSend.call(p, S, h) || l)) return S.abort(); 13231 if (((T = "abort"), v.add(h.complete), S.done(h.success), S.fail(h.error), (r = Vt(Ht, h, t, S)))) { 13232 if (((S.readyState = 1), c && m.trigger("ajaxSend", [S, h]), l)) return S; 13233 h.async && 13234 h.timeout > 0 && 13235 (s = n.setTimeout(function () { 13236 S.abort("timeout"); 13237 }, h.timeout)); 13238 try { 13239 (l = !1), r.send(w, E); 13240 } catch (e) { 13241 if (l) throw e; 13242 E(-1, e); 13243 } 13244 } else E(-1, "No Transport"); 13245 function E(e, t, a, u) { 13246 var d, 13247 f, 13248 b, 13249 w, 13250 x, 13251 T = t; 13252 l || 13253 ((l = !0), 13254 s && n.clearTimeout(s), 13255 (r = void 0), 13256 (o = u || ""), 13257 (S.readyState = e > 0 ? 4 : 0), 13258 (d = (e >= 200 && e < 300) || 304 === e), 13259 a && 13260 (w = (function (e, t, n) { 13261 for (var r, i, o, a, s = e.contents, u = e.dataTypes; "*" === u[0]; ) u.shift(), void 0 === r && (r = e.mimeType || t.getResponseHeader("Content-Type")); 13262 if (r) 13263 for (i in s) 13264 if (s[i] && s[i].test(r)) { 13265 u.unshift(i); 13266 break; 13267 } 13268 if (u[0] in n) o = u[0]; 13269 else { 13270 for (i in n) { 13271 if (!u[0] || e.converters[i + " " + u[0]]) { 13272 o = i; 13273 break; 13274 } 13275 a || (a = i); 13276 } 13277 o = o || a; 13278 } 13279 if (o) return o !== u[0] && u.unshift(o), n[o]; 13280 })(h, S, a)), 13281 !d && k.inArray("script", h.dataTypes) > -1 && (h.converters["text script"] = function () {}), 13282 (w = (function (e, t, n, r) { 13283 var i, 13284 o, 13285 a, 13286 s, 13287 u, 13288 l = {}, 13289 c = e.dataTypes.slice(); 13290 if (c[1]) for (a in e.converters) l[a.toLowerCase()] = e.converters[a]; 13291 for (o = c.shift(); o; ) 13292 if ((e.responseFields[o] && (n[e.responseFields[o]] = t), !u && r && e.dataFilter && (t = e.dataFilter(t, e.dataType)), (u = o), (o = c.shift()))) 13293 if ("*" === o) o = u; 13294 else if ("*" !== u && u !== o) { 13295 if (!(a = l[u + " " + o] || l["* " + o])) 13296 for (i in l) 13297 if ((s = i.split(" "))[1] === o && (a = l[u + " " + s[0]] || l["* " + s[0]])) { 13298 !0 === a ? (a = l[i]) : !0 !== l[i] && ((o = s[0]), c.unshift(s[1])); 13299 break; 13300 } 13301 if (!0 !== a) 13302 if (a && e.throws) t = a(t); 13303 else 13304 try { 13305 t = a(t); 13306 } catch (e) { 13307 return { state: "parsererror", error: a ? e : "No conversion from " + u + " to " + o }; 13308 } 13309 } 13310 return { state: "success", data: t }; 13311 })(h, w, S, d)), 13312 d 13313 ? (h.ifModified && ((x = S.getResponseHeader("Last-Modified")) && (k.lastModified[i] = x), (x = S.getResponseHeader("etag")) && (k.etag[i] = x)), 13314 204 === e || "HEAD" === h.type ? (T = "nocontent") : 304 === e ? (T = "notmodified") : ((T = w.state), (f = w.data), (d = !(b = w.error)))) 13315 : ((b = T), (!e && T) || ((T = "error"), e < 0 && (e = 0))), 13316 (S.status = e), 13317 (S.statusText = (t || T) + ""), 13318 d ? g.resolveWith(p, [f, T, S]) : g.rejectWith(p, [S, T, b]), 13319 S.statusCode(y), 13320 (y = void 0), 13321 c && m.trigger(d ? "ajaxSuccess" : "ajaxError", [S, h, d ? f : b]), 13322 v.fireWith(p, [S, T]), 13323 c && (m.trigger("ajaxComplete", [S, h]), --k.active || k.event.trigger("ajaxStop"))); 13324 } 13325 return S; 13326 }, 13327 getJSON: function (e, t, n) { 13328 return k.get(e, t, n, "json"); 13329 }, 13330 getScript: function (e, t) { 13331 return k.get(e, void 0, t, "script"); 13332 }, 13333 }), 13334k.each(["get", "post"], function (e, t) { 13335 k[t] = function (e, n, r, i) { 13336 return v(n) && ((i = i || r), (r = n), (n = void 0)), k.ajax(k.extend({ url: e, type: t, dataType: i, data: n, success: r }, k.isPlainObject(e) && e)); 13337 }; 13338}), 13339k.ajaxPrefilter(function (e) { 13340 var t; 13341 for (t in e.headers) "content-type" === t.toLowerCase() && (e.contentType = e.headers[t] || ""); 13342}), 13343(k._evalUrl = function (e, t, n) { 13344 return k.ajax({ 13345 url: e, 13346 type: "GET", 13347 dataType: "script", 13348 cache: !0, 13349 async: !1, 13350 global: !1, 13351 converters: { "text script": function () {} }, 13352 dataFilter: function (e) { 13353 k.globalEval(e, t, n); 13354 }, 13355 }); 13356}), 13357k.fn.extend({ 13358 wrapAll: function (e) { 13359 var t; 13360 return ( 13361 this[0] && 13362 (v(e) && (e = e.call(this[0])), 13363 (t = k(e, this[0].ownerDocument).eq(0).clone(!0)), 13364 this[0].parentNode && t.insertBefore(this[0]), 13365 t 13366 .map(function () { 13367 for (var e = this; e.firstElementChild; ) e = e.firstElementChild; 13368 return e; 13369 }) 13370 .append(this)), 13371 this 13372 ); 13373 }, 13374 wrapInner: function (e) { 13375 return v(e) 13376 ? this.each(function (t) { 13377 k(this).wrapInner(e.call(this, t)); 13378 }) 13379 : this.each(function () { 13380 var t = k(this), 13381 n = t.contents(); 13382 n.length ? n.wrapAll(e) : t.append(e); 13383 }); 13384 }, 13385 wrap: function (e) { 13386 var t = v(e); 13387 return this.each(function (n) { 13388 k(this).wrapAll(t ? e.call(this, n) : e); 13389 }); 13390 }, 13391 unwrap: function (e) { 13392 return ( 13393 this.parent(e) 13394 .not("body") 13395 .each(function () { 13396 k(this).replaceWith(this.childNodes); 13397 }), 13398 this 13399 ); 13400 }, 13401}), 13402(k.expr.pseudos.hidden = function (e) { 13403 return !k.expr.pseudos.visible(e); 13404}), 13405(k.expr.pseudos.visible = function (e) { 13406 return !!(e.offsetWidth || e.offsetHeight || e.getClientRects().length); 13407}), 13408(k.ajaxSettings.xhr = function () { 13409 try { 13410 return new n.XMLHttpRequest(); 13411 } catch (e) {} 13412}); 13413var Ut = { 0: 200, 1223: 204 }, 13414Bt = k.ajaxSettings.xhr(); 13415(g.cors = !!Bt && "withCredentials" in Bt), 13416(g.ajax = Bt = !!Bt), 13417k.ajaxTransport(function (e) { 13418 var t, r; 13419 if (g.cors || (Bt && !e.crossDomain)) 13420 return { 13421 send: function (i, o) { 13422 var a, 13423 s = e.xhr(); 13424 if ((s.open(e.type, e.url, e.async, e.username, e.password), e.xhrFields)) for (a in e.xhrFields) s[a] = e.xhrFields[a]; 13425 for (a in (e.mimeType && s.overrideMimeType && s.overrideMimeType(e.mimeType), e.crossDomain || i["X-Requested-With"] || (i["X-Requested-With"] = "XMLHttpRequest"), i)) s.setRequestHeader(a, i[a]); 13426 (t = function (e) { 13427 return function () { 13428 t && 13429 ((t = r = s.onload = s.onerror = s.onabort = s.ontimeout = s.onreadystatechange = null),
13430 "abort" === e 13431 ? s.abort() 13432 : "error" === e 13433 ? "number" != typeof s.status 13434 ? o(0, "error") 13435 : o(s.status, s.statusText) 13436 : o( 13437 Ut[s.status] || s.status, 13438 s.statusText, 13439 "text" !== (s.responseType || "text") || "string" != typeof s.responseText ? { binary: s.response } : { text: s.responseText }, 13440 s.getAllResponseHeaders() 13441 )); 13442 }; 13443 }), 13444 (s.onload = t()), 13445 (r = s.onerror = s.ontimeout = t("error")), 13446 void 0 !== s.onabort 13447 ? (s.onabort = r) 13448 : (s.onreadystatechange = function () { 13449 4 === s.readyState && 13450 n.setTimeout(function () { 13451 t && r(); 13452 }); 13453 }), 13454 (t = t("abort")); 13455 try { 13456 s.send((e.hasContent && e.data) || null); 13457 } catch (e) { 13458 if (t) throw e; 13459 } 13460 }, 13461 abort: function () { 13462 t && t(); 13463 }, 13464 }; 13465 }), 13466k.ajaxPrefilter(function (e) { 13467 e.crossDomain && (e.contents.script = !1); 13468}), 13469k.ajaxSetup({ 13470 accepts: { script: "text/javascript, application/javascript, application/ecmascript, application/x-ecmascript" }, 13471 contents: { script: /\b(?:java|ecma)script\b/ }, 13472 converters: { 13473 "text script": function (e) { 13474 return k.globalEval(e), e; 13475 }, 13476 }, 13477}), 13478k.ajaxPrefilter("script", function (e) { 13479 void 0 === e.cache && (e.cache = !1), e.crossDomain && (e.type = "GET"); 13480}), 13481k.ajaxTransport("script", function (e) { 13482 var t, n; 13483 if (e.crossDomain || e.scriptAttrs) 13484 return { 13485 send: function (r, i) { 13486 (t = k("<script>") 13487 .attr(e.scriptAttrs || {}) 13488 .prop({ charset: e.scriptCharset, src: e.url }) 13489 .on( 13490 "load error", 13491 (n = function (e) { 13492 t.remove(), (n = null), e && i("error" === e.type ? 404 : 200, e.type); 13493 }) 13494 )), 13495 b.head.appendChild(t[0]); 13496 }, 13497 abort: function () { 13498 n && n(); 13499 }, 13500 }; 13501 }); 13502var Qt, 13503Zt = [], 13504Jt = /(=)\?(?=&|$)|\?\?/; 13505k.ajaxSetup({ 13506 jsonp: "callback", 13507 jsonpCallback: function () { 13508 var e = Zt.pop() || k.expando + "_" + Et.guid++; 13509 return (this[e] = !0), e; 13510 }, 13511}), 13512k.ajaxPrefilter("json jsonp", function (e, t, r) { 13513 var i, 13514 o, 13515 a, 13516 s = !1 !== e.jsonp && (Jt.test(e.url) ? "url" : "string" == typeof e.data && 0 === (e.contentType || "").indexOf("application/x-www-form-urlencoded") && Jt.test(e.data) && "data"); 13517 if (s || "jsonp" === e.dataTypes[0]) 13518 return ( 13519 (i = e.jsonpCallback = v(e.jsonpCallback) ? e.jsonpCallback() : e.jsonpCallback), 13520 s ? (e[s] = e[s].replace(Jt, "$1" + i)) : !1 !== e.jsonp && (e.url += (Ct.test(e.url) ? "&" : "?") + e.jsonp + "=" + i), 13521 (e.converters["script json"] = function () { 13522 return a || k.error(i + " was not called"), a[0]; 13523 }), 13524 (e.dataTypes[0] = "json"), 13525 (o = n[i]), 13526 (n[i] = function () { 13527 a = arguments; 13528 }), 13529 r.always(function () { 13530 void 0 === o ? k(n).removeProp(i) : (n[i] = o), e[i] && ((e.jsonpCallback = t.jsonpCallback), Zt.push(i)), a && v(o) && o(a[0]), (a = o = void 0); 13531 }), 13532 "script" 13533 ); 13534}), 13535(g.createHTMLDocument = (((Qt = b.implementation.createHTMLDocument("").body).innerHTML = "<form></form><form></form>"), 2 === Qt.childNodes.length)), 13536(k.parseHTML = function (e, t, n) { 13537 return "string" != typeof e 13538 ? [] 13539 : ("boolean" == typeof t && ((n = t), (t = !1)), 13540 t || (g.createHTMLDocument ? (((r = (t = b.implementation.createHTMLDocument("")).createElement("base")).href = b.location.href), t.head.appendChild(r)) : (t = b)), 13541 (o = !n && []), 13542 (i = _.exec(e)) ? [t.createElement(i[1])] : ((i = Te([e], t, o)), o && o.length && k(o).remove(), k.merge([], i.childNodes))); 13543 var r, i, o; 13544}), 13545(k.fn.load = function (e, t, n) { 13546 var r, 13547 i, 13548 o, 13549 a = this, 13550 s = e.indexOf(" "); 13551 return ( 13552 s > -1 && ((r = yt(e.slice(s))), (e = e.slice(0, s))), 13553 v(t) ? ((n = t), (t = void 0)) : t && "object" == typeof t && (i = "POST"), 13554 a.length > 0 && 13555 k 13556 .ajax({ url: e, type: i || "GET", dataType: "html", data: t }) 13557 .done(function (e) { 13558 (o = arguments), a.html(r ? k("<div>").append(k.parseHTML(e)).find(r) : e); 13559 }) 13560 .always( 13561 n && 13562 function (e, t) { 13563 a.each(function () { 13564 n.apply(this, o || [e.responseText, t, e]); 13565 }); 13566 } 13567 ), 13568 this 13569 ); 13570}), 13571(k.expr.pseudos.animated = function (e) { 13572 return k.grep(k.timers, function (t) { 13573 return e === t.elem; 13574 }).length; 13575}), 13576(k.offset = { 13577 setOffset: function (e, t, n) { 13578 var r, 13579 i, 13580 o, 13581 a, 13582 s, 13583 u, 13584 l = k.css(e, "position"), 13585 c = k(e), 13586 d = {}; 13587 "static" === l && (e.style.position = "relative"), 13588 (s = c.offset()), 13589 (o = k.css(e, "top")), 13590 (u = k.css(e, "left")),
13591 ("absolute" === l || "fixed" === l) && (o + u).indexOf("auto") > -1 ? ((a = (r = c.position()).top), (i = r.left)) : ((a = parseFloat(o) || 0), (i = parseFloat(u) || 0)), 13592 v(t) && (t = t.call(e, n, k.extend({}, s))), 13593 null != t.top && (d.top = t.top - s.top + a), 13594 null != t.left && (d.left = t.left - s.left + i), 13595 "using" in t ? t.using.call(e, d) : ("number" == typeof d.top && (d.top += "px"), "number" == typeof d.left && (d.left += "px"), c.css(d)); 13596 }, 13597}), 13598k.fn.extend({ 13599 offset: function (e) { 13600 if (arguments.length) 13601 return void 0 === e 13602 ? this 13603 : this.each(function (t) { 13604 k.offset.setOffset(this, e, t); 13605 }); 13606 var t, 13607 n, 13608 r = this[0]; 13609 return r ? (r.getClientRects().length ? ((t = r.getBoundingClientRect()), (n = r.ownerDocument.defaultView), { top: t.top + n.pageYOffset, left: t.left + n.pageXOffset }) : { top: 0, left: 0 }) : void 0; 13610 }, 13611 position: function () { 13612 if (this[0]) { 13613 var e, 13614 t, 13615 n, 13616 r = this[0], 13617 i = { top: 0, left: 0 }; 13618 if ("fixed" === k.css(r, "position")) t = r.getBoundingClientRect(); 13619 else { 13620 for (t = this.offset(), n = r.ownerDocument, e = r.offsetParent || n.documentElement; e && (e === n.body || e === n.documentElement) && "static" === k.css(e, "position"); ) e = e.parentNode; 13621 e && e !== r && 1 === e.nodeType && (((i = k(e).offset()).top += k.css(e, "borderTopWidth", !0)), (i.left += k.css(e, "borderLeftWidth", !0))); 13622 } 13623 return { top: t.top - i.top - k.css(r, "marginTop", !0), left: t.left - i.left - k.css(r, "marginLeft", !0) }; 13624 } 13625 }, 13626 offsetParent: function () { 13627 return this.map(function () { 13628 for (var e = this.offsetParent; e && "static" === k.css(e, "position"); ) e = e.offsetParent; 13629 return e || oe; 13630 }); 13631 }, 13632}), 13633k.each({ scrollLeft: "pageXOffset", scrollTop: "pageYOffset" }, function (e, t) { 13634 var n = "pageYOffset" === t; 13635 k.fn[e] = function (r) { 13636 return W( 13637 this, 13638 function (e, r, i) { 13639 var o;
13640 if ((y(e) ? (o = e) : 9 === e.nodeType && (o = e.defaultView), void 0 === i)) return o ? o[t] : e[r]; 13641 o ? o.scrollTo(n ? o.pageXOffset : i, n ? i : o.pageYOffset) : (e[r] = i); 13642 }, 13643 e, 13644 r, 13645 arguments.length 13646 ); 13647 }; 13648}), 13649k.each(["top", "left"], function (e, t) { 13650 k.cssHooks[t] = Be(g.pixelPosition, function (e, n) { 13651 if (n) return (n = Ue(e, t)), ze.test(n) ? k(e).position()[t] + "px" : n; 13652 }); 13653}), 13654k.each({ Height: "height", Width: "width" }, function (e, t) { 13655 k.each({ padding: "inner" + e, content: t, "": "outer" + e }, function (n, r) { 13656 k.fn[r] = function (i, o) { 13657 var a = arguments.length && (n || "boolean" != typeof i), 13658 s = n || (!0 === i || !0 === o ? "margin" : "border"); 13659 return W( 13660 this, 13661 function (t, n, i) { 13662 var o; 13663 return y(t) 13664 ? 0 === r.indexOf("outer") 13665 ? t["inner" + e] 13666 : t.document.documentElement["client" + e] 13667 : 9 === t.nodeType 13668 ? ((o = t.documentElement), Math.max(t.body["scroll" + e], o["scroll" + e], t.body["offset" + e], o["offset" + e], o["client" + e])) 13669 : void 0 === i 13670 ? k.css(t, n, s) 13671 : k.style(t, n, i, s); 13672 }, 13673 t, 13674 a ? i : void 0, 13675 a 13676 ); 13677 }; 13678 }); 13679}), 13680k.each(["ajaxStart", "ajaxStop", "ajaxComplete", "ajaxError", "ajaxSuccess", "ajaxSend"], function (e, t) { 13681 k.fn[t] = function (e) { 13682 return this.on(t, e); 13683 }; 13684}), 13685k.fn.extend({ 13686 bind: function (e, t, n) { 13687 return this.on(e, null, t, n); 13688 }, 13689 unbind: function (e, t) { 13690 return this.off(e, null, t); 13691 }, 13692 delegate: function (e, t, n, r) { 13693 return this.on(t, e, n, r); 13694 }, 13695 undelegate: function (e, t, n) { 13696 return 1 === arguments.length ? this.off(e, "**") : this.off(t, e || "**", n); 13697 }, 13698 hover: function (e, t) { 13699 return this.mouseenter(e).mouseleave(t || e); 13700 }, 13701}), 13702k.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "), function (e, t) { 13703 k.fn[t] = function (e, n) { 13704 return arguments.length > 0 ? this.on(t, null, e, n) : this.trigger(t); 13705 }; 13706}); 13707var Yt = /^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g; 13708(k.proxy = function (e, t) { 13709 var n, r, i; 13710 if (("string" == typeof t && ((n = e[t]), (t = e), (e = n)), v(e))) 13711 return ( 13712 (r = s.call(arguments, 2)), 13713 ((i = function () { 13714 return e.apply(t || this, r.concat(s.call(arguments))); 13715 }).guid = e.guid = e.guid || k.guid++), 13716 i 13717 ); 13718}), 13719(k.holdReady = function (e) { 13720 e ? k.readyWait++ : k.ready(!0); 13721}), 13722(k.isArray = Array.isArray), 13723(k.parseJSON = JSON.parse), 13724(k.nodeName = O), 13725(k.isFunction = v), 13726(k.isWindow = y), 13727(k.camelCase = Z), 13728(k.type = T), 13729(k.now = Date.now), 13730(k.isNumeric = function (e) { 13731 var t = k.type(e); 13732 return ("number" === t || "string" === t) && !isNaN(e - parseFloat(e)); 13733}), 13734(k.trim = function (e) { 13735 return null == e ? "" : (e + "").replace(Yt, ""); 13736}), 13737void 0 === 13738(r = function () { 13739 return k; 13740}.apply(t, [])) || (e.exports = r); 13741var Gt = n.jQuery, 13742Xt = n.$; 13743return ( 13744 (k.noConflict = function (e) { 13745 return n.$ === k && (n.$ = Xt), e && n.jQuery === k && (n.jQuery = Gt), k; 13746 }), 13747 void 0 === i && (n.jQuery = n.$ = k), 13748 k 13749 ); 13750}); 13751}, 13752function (e, t, n) { 13753 (function (e, r) { 13754 var i; 13755 !(function (o) { 13756 t && t.nodeType, e && e.nodeType; 13757 var a = "object" == typeof r && r; 13758 a.global !== a && a.window !== a && a.self; 13759 var s, 13760 u = 2147483647, 13761 l = /^xn--/, 13762 c = /[^\x20-\x7E]/, 13763 d = /[\x2E\u3002\uFF0E\uFF61]/g, 13764 f = { overflow: "Overflow: input needs wider integers to process", "not-basic": "Illegal input >= 0x80 (not a basic code point)", "invalid-input": "Invalid input" }, 13765 h = Math.floor, 13766 p = String.fromCharCode; 13767 function m(e) { 13768 throw new RangeError(f[e]); 13769 } 13770 function g(e, t) { 13771 for (var n = e.length, r = []; n--; ) r[n] = t(e[n]); 13772 return r; 13773 } 13774 function v(e, t) { 13775 var n = e.split("@"), 13776 r = ""; 13777 return n.length > 1 && ((r = n[0] + "@"), (e = n[1])), r + g((e = e.replace(d, ".")).split("."), t).join("."); 13778 } 13779 function y(e) { 13780 for (var t, n, r = [], i = 0, o = e.length; i < o; ) 13781 (t = e.charCodeAt(i++)) >= 55296 && t <= 56319 && i < o ? (56320 == (64512 & (n = e.charCodeAt(i++))) ? r.push(((1023 & t) << 10) + (1023 & n) + 65536) : (r.push(t), i--)) : r.push(t); 13782 return r; 13783 } 13784 function b(e) { 13785 return g(e, function (e) { 13786 var t = ""; 13787 return e > 65535 && ((t += p((((e -= 65536) >>> 10) & 1023) | 55296)), (e = 56320 | (1023 & e))), (t += p(e)); 13788 }).join(""); 13789 } 13790 function w(e, t) { 13791 return e + 22 + 75 * (e < 26) - ((0 != t) << 5); 13792 } 13793 function x(e, t, n) { 13794 var r = 0; 13795 for (e = n ? h(e / 700) : e >> 1, e += h(e / t); e > 455; r += 36) e = h(e / 35); 13796 return h(r + (36 * e) / (e + 38)); 13797 } 13798 function T(e) { 13799 var t, 13800 n, 13801 r, 13802 i, 13803 o, 13804 a, 13805 s, 13806 l, 13807 c, 13808 d, 13809 f, 13810 p = [], 13811 g = e.length, 13812 v = 0, 13813 y = 128, 13814 w = 72; 13815 for ((n = e.lastIndexOf("-")) < 0 && (n = 0), r = 0; r < n; ++r) e.charCodeAt(r) >= 128 && m("not-basic"), p.push(e.charCodeAt(r)); 13816 for (i = n > 0 ? n + 1 : 0; i < g; ) { 13817 for ( 13818 o = v, a = 1, s = 36; 13819 i >= g && m("invalid-input"), 13820 ((l = (f = e.charCodeAt(i++)) - 48 < 10 ? f - 22 : f - 65 < 26 ? f - 65 : f - 97 < 26 ? f - 97 : 36) >= 36 || l > h((u - v) / a)) && m("overflow"), 13821 (v += l * a), 13822 !(l < (c = s <= w ? 1 : s >= w + 26 ? 26 : s - w)); 13823 s += 36 13824 ) 13825 a > h(u / (d = 36 - c)) && m("overflow"), (a *= d); 13826 (w = x(v - o, (t = p.length + 1), 0 == o)), h(v / t) > u - y && m("overflow"), (y += h(v / t)), (v %= t), p.splice(v++, 0, y); 13827 } 13828 return b(p); 13829 } 13830 function k(e) { 13831 var t, 13832 n, 13833 r, 13834 i, 13835 o, 13836 a, 13837 s, 13838 l, 13839 c, 13840 d, 13841 f, 13842 g, 13843 v, 13844 b, 13845 T, 13846 k = []; 13847 for (g = (e = y(e)).length, t = 128, n = 0, o = 72, a = 0; a < g; ++a) (f = e[a]) < 128 && k.push(p(f)); 13848 for (r = i = k.length, i && k.push("-"); r < g; ) { 13849 for (s = u, a = 0; a < g; ++a) (f = e[a]) >= t && f < s && (s = f); 13850 for (s - t > h((u - n) / (v = r + 1)) && m("overflow"), n += (s - t) * v, t = s, a = 0; a < g; ++a) 13851 if (((f = e[a]) < t && ++n > u && m("overflow"), f == t)) { 13852 for (l = n, c = 36; !(l < (d = c <= o ? 1 : c >= o + 26 ? 26 : c - o)); c += 36) (T = l - d), (b = 36 - d), k.push(p(w(d + (T % b), 0))), (l = h(T / b)); 13853 k.push(p(w(l, 0))), (o = x(n, v, r == i)), (n = 0), ++r; 13854 } 13855 ++n, ++t; 13856 } 13857 return k.join(""); 13858 } 13859 (s = { 13860 version: "1.3.2", 13861 ucs2: { decode: y, encode: b }, 13862 decode: T, 13863 encode: k, 13864 toASCII: function (e) { 13865 return v(e, function (e) { 13866 return c.test(e) ? "xn--" + k(e) : e; 13867 }); 13868 }, 13869 toUnicode: function (e) { 13870 return v(e, function (e) { 13871 return l.test(e) ? T(e.slice(4).toLowerCase()) : e; 13872 }); 13873 }, 13874 }), 13875 void 0 === 13876 (i = function () { 13877 return s; 13878 }.call(t, n, t, e)) || (e.exports = i); 13879 })(); 13880 }.call(this, n(12)(e), n(13))); 13881}, 13882function (e, t, n) { 13883 var r, i; 13884 !(function (o, a) { 13885 "use strict"; 13886 e.exports ? (e.exports = a()) : void 0 === (i = "function" == typeof (r = a) ? r.call(t, n, t, e) : r) || (e.exports = i); 13887 })(0, function (e) { 13888 "use strict"; 13889 var t = e && e.IPv6; 13890 return { 13891 best: function (e) { 13892 var t, 13893 n, 13894 r = e.toLowerCase().split(":"), 13895 i = r.length, 13896 o = 8; 13897 for ( 13898 "" === r[0] && "" === r[1] && "" === r[2] ? (r.shift(), r.shift()) : "" === r[0] && "" === r[1] ? r.shift() : "" === r[i - 1] && "" === r[i - 2] && r.pop(), 13899 -1 !== r[(i = r.length) - 1].indexOf(".") && (o = 7), 13900 t = 0; 13901 t < i && "" !== r[t]; 13902 t++ 13903 ); 13904 if (t < o) for (r.splice(t, 1, "0000"); r.length < o; ) r.splice(t, 0, "0000"); 13905 for (var a = 0; a < o; a++) { 13906 n = r[a].split(""); 13907 for (var s = 0; s < 3 && "0" === n[0] && n.length > 1; s++) n.splice(0, 1); 13908 r[a] = n.join(""); 13909 } 13910 var u = -1, 13911 l = 0, 13912 c = 0, 13913 d = -1, 13914 f = !1; 13915 for (a = 0; a < o; a++) f ? ("0" === r[a] ? (c += 1) : ((f = !1), c > l && ((u = d), (l = c)))) : "0" === r[a] && ((f = !0), (d = a), (c = 1)); 13916 c > l && ((u = d), (l = c)), l > 1 && r.splice(u, l, ""), (i = r.length); 13917 var h = ""; 13918 for ("" === r[0] && (h = ":"), a = 0; a < i && ((h += r[a]), a !== i - 1); a++) h += ":"; 13919 return "" === r[i - 1] && (h += ":"), h; 13920 }, 13921 noConflict: function () { 13922 return e.IPv6 === this && (e.IPv6 = t), this; 13923 }, 13924 }; 13925 }); 13926}, 13927function (e, t, n) { 13928 var r, i; 13929 !(function (o, a) { 13930 "use strict"; 13931 e.exports ? (e.exports = a()) : void 0 === (i = "function" == typeof (r = a) ? r.call(t, n, t, e) : r) || (e.exports = i); 13932 })(0, function (e) { 13933 "use strict"; 13934 var t = e && e.SecondLevelDomains, 13935 n = { 13936 list: { 13937 ac: " com gov mil net org ", 13938 ae: " ac co gov mil name net org pro sch ", 13939 af: " com edu gov net org ", 13940 al: " com edu gov mil net org ", 13941 ao: " co ed gv it og pb ", 13942 ar: " com edu gob gov int mil net org tur ", 13943 at: " ac co gv or ", 13944 au: " asn com csiro edu gov id net org ", 13945 ba: " co com edu gov mil net org rs unbi unmo unsa untz unze ", 13946 bb: " biz co com edu gov info net org store tv ", 13947 bh: " biz cc com edu gov info net org ", 13948 bn: " com edu gov net org ", 13949 bo: " com edu gob gov int mil net org tv ", 13950 br: 13951 " adm adv agr am arq art ato b bio blog bmd cim cng cnt com coop ecn edu eng esp etc eti far flog fm fnd fot fst g12 ggf gov imb ind inf jor jus lel mat med mil mus net nom not ntr odo org ppg pro psc psi qsl rec slg srv tmp trd tur tv vet vlog wiki zlg ", 13952 bs: " com edu gov net org ", 13953 bz: " du et om ov rg ", 13954 ca: " ab bc mb nb nf nl ns nt nu on pe qc sk yk ", 13955 ck: " biz co edu gen gov info net org ", 13956 cn: " ac ah bj com cq edu fj gd gov gs gx gz ha hb he hi hl hn jl js jx ln mil net nm nx org qh sc sd sh sn sx tj tw xj xz yn zj ", 13957 co: " com edu gov mil net nom org ", 13958 cr: " ac c co ed fi go or sa ", 13959 cy: " ac biz com ekloges gov ltd name net org parliament press pro tm ", 13960 do: " art com edu gob gov mil net org sld web ", 13961 dz: " art asso com edu gov net org pol ", 13962 ec: " com edu fin gov info med mil net org pro ", 13963 eg: " com edu eun gov mil name net org sci ", 13964 er: " com edu gov ind mil net org rochest w ", 13965 es: " com edu gob nom org ", 13966 et: " biz com edu gov info name net org ", 13967 fj: " ac biz com info mil name net org pro ", 13968 fk: " ac co gov net nom org ", 13969 fr: " asso com f gouv nom prd presse tm ", 13970 gg: " co net org ", 13971 gh: " com edu gov mil org ", 13972 gn: " ac com gov net org ", 13973 gr: " com edu gov mil net org ", 13974 gt: " com edu gob ind mil net org ", 13975 gu: " com edu gov net org ", 13976 hk: " com edu gov idv net org ", 13977 hu: " 2000 agrar bolt casino city co erotica erotika film forum games hotel info ingatlan jogasz konyvelo lakas media news org priv reklam sex shop sport suli szex tm tozsde utazas video ", 13978 id: " ac co go mil net or sch web ", 13979 il: " ac co gov idf k12 muni net org ", 13980 in: " ac co edu ernet firm gen gov i ind mil net nic org res ", 13981 iq: " com edu gov i mil net org ", 13982 ir: " ac co dnssec gov i id net org sch ", 13983 it: " edu gov ", 13984 je: " co net org ", 13985 jo: " com edu gov mil name net org sch ", 13986 jp: " ac ad co ed go gr lg ne or ", 13987 ke: " ac co go info me mobi ne or sc ", 13988 kh: " com edu gov mil net org per ", 13989 ki: " biz com de edu gov info mob net org tel ", 13990 km: " asso com coop edu gouv k medecin mil nom notaires pharmaciens presse tm veterinaire ", 13991 kn: " edu gov net org ", 13992 kr: " ac busan chungbuk chungnam co daegu daejeon es gangwon go gwangju gyeongbuk gyeonggi gyeongnam hs incheon jeju jeonbuk jeonnam k kg mil ms ne or pe re sc seoul ulsan ", 13993 kw: " com edu gov net org ", 13994 ky: " com edu gov net org ", 13995 kz: " com edu gov mil net org ", 13996 lb: " com edu gov net org ", 13997 lk: " assn com edu gov grp hotel int ltd net ngo org sch soc web ", 13998 lr: " com edu gov net org ", 13999 lv: " asn com conf edu gov id mil net org ", 14000 ly: " com edu gov id med net org plc sch ", 14001 ma: " ac co gov m net org press ", 14002 mc: " asso tm ", 14003 me: " ac co edu gov its net org priv ", 14004 mg: " com edu gov mil nom org prd tm ", 14005 mk: " com edu gov inf name net org pro ", 14006 ml: " com edu gov net org presse ", 14007 mn: " edu gov org ", 14008 mo: " com edu gov net org ", 14009 mt: " com edu gov net org ", 14010 mv: " aero biz com coop edu gov info int mil museum name net org pro ", 14011 mw: " ac co com coop edu gov int museum net org ", 14012 mx: " com edu gob net org ", 14013 my: " com edu gov mil name net org sch ", 14014 nf: " arts com firm info net other per rec store web ", 14015 ng: " biz com edu gov mil mobi name net org sch ", 14016 ni: " ac co com edu gob mil net nom org ", 14017 np: " com edu gov mil net org ", 14018 nr: " biz com edu gov info net org ", 14019 om: " ac biz co com edu gov med mil museum net org pro sch ", 14020 pe: " com edu gob mil net nom org sld ", 14021 ph: " com edu gov i mil net ngo org ", 14022 pk: " biz com edu fam gob gok gon gop gos gov net org web ", 14023 pl: " art bialystok biz com edu gda gdansk gorzow gov info katowice krakow lodz lublin mil net ngo olsztyn org poznan pwr radom slupsk szczecin torun warszawa waw wroc wroclaw zgora ", 14024 pr: " ac biz com edu est gov info isla name net org pro prof ", 14025 ps: " com edu gov net org plo sec ", 14026 pw: " belau co ed go ne or ", 14027 ro: " arts com firm info nom nt org rec store tm www ", 14028 rs: " ac co edu gov in org ", 14029 sb: " com edu gov net org ", 14030 sc: " com edu gov net org ", 14031 sh: " co com edu gov net nom org ", 14032 sl: " com edu gov net org ", 14033 st: " co com consulado edu embaixada gov mil net org principe saotome store ", 14034 sv: " com edu gob org red ", 14035 sz: " ac co org ", 14036 tr: " av bbs bel biz com dr edu gen gov info k12 name net org pol tel tsk tv web ", 14037 tt: " aero biz cat co com coop edu gov info int jobs mil mobi museum name net org pro tel travel ", 14038 tw: " club com ebiz edu game gov idv mil net org ", 14039 mu: " ac co com gov net or org ", 14040 mz: " ac co edu gov org ", 14041 na: " co com ", 14042 nz: " ac co cri geek gen govt health iwi maori mil net org parliament school ", 14043 pa: " abo ac com edu gob ing med net nom org sld ", 14044 pt: " com edu gov int net nome org publ ", 14045 py: " com edu gov mil net org ", 14046 qa: " com edu gov mil net org ", 14047 re: " asso com nom ", 14048 ru: 14049 " ac adygeya altai amur arkhangelsk astrakhan bashkiria belgorod bir bryansk buryatia cbg chel chelyabinsk chita chukotka chuvashia com dagestan e-burg edu gov grozny int ir
14049kutsk ivanovo izhevsk jar joshkar-ola kalmykia kaluga kamchatka karelia kazan kchr kemerovo khabarovsk khakassia khv kirov koenig komi kostroma kranoyarsk kuban kurgan kursk lipetsk magadan mari mari-el marine mil mordovia mosreg msk murmansk nalchik net nnov nov novosibirsk nsk omsk orenburg org oryol penza perm pp pskov ptz rnd ryazan sakhalin samara saratov simbirsk smolensk spb stavropol stv surgut tambov tatarstan tom tomsk tsaritsyn tsk tula tuva tver tyumen udm udmurtia ulan-ude vladikavkaz vladimir vladivostok volgograd vologda voronezh vrn vyatka yakutia yamal yekaterinburg yuzhno-sakhalinsk ", 14050 rw: " ac co com edu gouv gov int mil net ", 14051 sa: " com edu gov med net org pub sch ", 14052 sd: " com edu gov info med net org tv ", 14053 se: " a ac b bd c d e f g h i k l m n o org p parti pp press r s t tm u w x y z ", 14054 sg: " com edu gov idn net org per ", 14055 sn: " art com edu gouv org perso univ ", 14056 sy: " com edu gov mil net news org ", 14057 th: " ac co go in mi net or ", 14058 tj: " ac biz co com edu go gov info int mil name net nic org test web ", 14059 tn: " agrinet com defense edunet ens fin gov ind info intl mincom nat net org perso rnrt rns rnu tourism ", 14060 tz: " ac co go ne or ", 14061 ua: 14062 " biz cherkassy chernigov chernovtsy ck cn co com crimea cv dn dnepropetrovsk donetsk dp edu gov if in ivano-frankivsk kh kharkov kherson khmelnitskiy kiev kirovograd km kr ks kv lg lugansk lutsk lviv me mk net nikolaev od odessa org pl poltava pp rovno rv sebastopol sumy te ternopil uzhgorod vinnica vn zaporizhzhe zhitomir zp zt ", 14063 ug: " ac co go ne or org sc ", 14064 uk: " ac bl british-library co cym gov govt icnet jet lea ltd me mil mod national-library-scotland nel net nhs nic nls org orgn parliament plc police sch scot soc ", 14065 us: " dni fed isa kids nsn ", 14066 uy: " com edu gub mil net org ", 14067 ve: " co com edu gob info mil net org web ", 14068 vi: " co com k12 net org ", 14069 vn: " ac biz com edu gov health info int name net org pro ", 14070 ye: " co com gov ltd me net org plc ", 14071 yu: " ac co edu gov org ", 14072 za: " ac agric alt bourse city co cybernet db edu gov grondar iaccess imt inca landesign law mil net ngo nis nom olivetti org pix school tm web ", 14073 zm: " ac co com edu gov net org sch ", 14074 com: "ar br cn de eu gb gr hu jpn kr no qc ru sa se uk us uy za ", 14075 net: "gb jp se uk ", 14076 org: "ae", 14077 de: "com ", 14078 }, 14079 has: function (e) { 14080 var t = e.lastIndexOf("."); 14081 if (t <= 0 || t >= e.length - 1) return !1; 14082 var r = e.lastIndexOf(".", t - 1); 14083 if (r <= 0 || r >= t - 1) return !1; 14084 var i = n.list[e.slice(t + 1)]; 14085 return !!i && i.indexOf(" " + e.slice(r + 1, t) + " ") >= 0; 14086 }, 14087 is: function (e) { 14088 var t = e.lastIndexOf("."); 14089 if (t <= 0 || t >= e.length - 1) return !1; 14090 if (e.lastIndexOf(".", t - 1) >= 0) return !1; 14091 var r = n.list[e.slice(t + 1)]; 14092 return !!r && r.indexOf(" " + e.slice(0, t) + " ") >= 0; 14093 }, 14094 get: function (e) { 14095 var t = e.lastIndexOf("."); 14096 if (t <= 0 || t >= e.length - 1) return null; 14097 var r = e.lastIndexOf(".", t - 1); 14098 if (r <= 0 || r >= t - 1) return null; 14099 var i = n.list[e.slice(t + 1)]; 14100 return i ? (i.indexOf(" " + e.slice(r + 1, t) + " ") < 0 ? null : e.slice(r + 1)) : null; 14101 }, 14102 noConflict: function () { 14103 return e.SecondLevelDomains === this && (e.SecondLevelDomains = t), this; 14104 }, 14105 }; 14106 return n; 14107 }); 14108}, 14109function (e, t, n) { 14110 "use strict"; 14111 t.a = { init() {}, finalize() {} }; 14112}, 14113function (e, t, n) { 14114 "use strict"; 14115 var r = n(4); 14116 t.a = { 14117 init() { 14118 const e = env.portal.apiBaseUrl || !1, 14119 t = $("[data-project-id]").data("projectId"); 14120 (async () => { 14121 try { 14122 const r = (await $.getJSON(`${e}/project/${t}`)).data; 14123 n(r); 14124 } catch (e) {} 14125 })(); 14126 const n = (e) => { 14127 const t = $("[data-project-detail]"); 14128 Object(r.b)(t, e); 14129 }; 14130 }, 14131 finalize() {}, 14132 }; 14133}, 14134function (e, t) { 14135 e.exports = function (e) { 14136 return ( 14137 e.webpackPolyfill || 14138 ((e.deprecate = function () {}), 14139 (e.paths = []), 14140 e.children || (e.children = []), 14141 Object.defineProperty(e, "loaded", { 14142 enumerable: !0, 14143 get: function () { 14144 return e.l; 14145 }, 14146 }), 14147 Object.defineProperty(e, "id", { 14148 enumerable: !0, 14149 get: function () { 14150 return e.i; 14151 }, 14152 }), 14153 (e.webpackPolyfill = 1)), 14154 e 14155 ); 14156 }; 14157}, 14158function (e, t) { 14159 var n; 14160 n = (function () { 14161 return this; 14162 })(); 14163 try { 14164 n = n || new Function("return this")(); 14165 } catch (e) { 14166 "object" == typeof window && (n = window); 14167 } 14168 e.exports = n; 14169}, 14170function (e, t, n) { 14171 var r, i, o; 14172 (i = [n(0)]), 14173 void 0 === 14174 (o = 14175 "function" == 14176 typeof (r = function (e) { 14177 var t = {}, 14178 n = function (t) { 14179 var n = [], 14180 r = t.dir && "left" === t.dir ? "scrollLeft" : "scrollTop"; 14181 return ( 14182 this.each(function () { 14183 var t = e(this); 14184 if (this !== document && this !== window) 14185 return !document.scrollingElement || (this !== document.documentElement && this !== document.body) 14186 ? void (t[r]() > 0 ? n.push(this) : (t[r](1), t[r]() > 0 && n.push(this), t[r](0))) 14187 : (n.push(document.scrollingElement), !1); 14188 }), 14189 n.length || 14190 this.each(function () { 14191 this === document.documentElement && "smooth" === e(this).css("scrollBehavior") && (n = [this]), n.length || "BODY"
14191!== this.nodeName || (n = [this]); 14192 }), 14193 "first" === t.el && n.length > 1 && (n = [n[0]]), 14194 n 14195 ); 14196 }, 14197 r = /^([\-\+]=)(\d+)/; 14198 e.fn.extend({ 14199 scrollable: function (e) { 14200 var t = n.call(this, { dir: e }); 14201 return this.pushStack(t); 14202 }, 14203 firstScrollable: function (e) { 14204 var t = n.call(this, { el: "first", dir: e }); 14205 return this.pushStack(t); 14206 }, 14207 smoothScroll: function (t, n) { 14208 if ("options" === (t = t || {})) 14209 return n 14210 ? this.each(function () { 14211 var t = e(this), 14212 r = e.extend(t.data("ssOpts") || {}, n); 14213 e(this).data("ssOpts", r); 14214 }) 14215 : this.first().data("ssOpts"); 14216 var r = e.extend({}, e.fn.smoothScroll.defaults, t), 14217 i = function (t) { 14218 var n = function (e) { 14219 return e.replace(/(:|\.|\/)/g, "\\$1"); 14220 }, 14221 i = e(this), 14222 o = e.extend({}, r, i.data("ssOpts") || {}), 14223 a = r.exclude, 14224 s = o.excludeWithin, 14225 u = 0, 14226 l = 0, 14227 c = !0, 14228 d = {}, 14229 f = e.smoothScroll.filterPath(location.pathname), 14230 h = e.smoothScroll.filterPath(this.pathname), 14231 p = location.hostname === this.hostname || !this.hostname, 14232 m = o.scrollTarget || h === f, 14233 g = n(this.hash); 14234 if ((g && !e(g).length && (c = !1), o.scrollTarget || (p && m && g))) { 14235 for (; c && u < a.length; ) i.is(n(a[u++])) && (c = !1); 14236 for (; c && l < s.length; ) i.closest(s[l++]).length && (c = !1); 14237 } else c = !1; 14238 c && (o.preventDefault && t.preventDefault(), e.extend(d, o, { scrollTarget: o.scrollTarget || g, link: this }), e.smoothScroll(d)); 14239 }; 14240 return null !== t.delegateSelector ? this.off("click.smoothscroll", t.delegateSelector).on("click.smoothscroll", t.delegateSelector, i) : this.off("click.smoothscroll").on("click.smoothscroll", i), this; 14241 }, 14242 }); 14243 var i = function (e) { 14244 var t = { relative: "" }, 14245 n = "string" == typeof e && r.exec(e); 14246 return "number" == typeof e ? (t.px = e) : n && ((t.relative = n[1]), (t.px = parseFloat(n[2]) || 0)), t; 14247 }, 14248 o = function (t) { 14249 var n = e(t.scrollTarget); 14250 t.autoFocus && n.length && (n[0].focus(), n.is(document.activeElement) || (n.prop({ tabIndex: -1 }), n[0].focus())), t.afterScroll.call(t.link, t); 14251 }; 14252 (e.smoothScroll = function (n, r) { 14253 if ("options" === n && "object" == typeof r) return e.extend(t, r); 14254 var a, 14255 s, 14256 u, 14257 l, 14258 c = i(n), 14259 d = 0, 14260 f = "offset", 14261 h = "scrollTop", 14262 p = {}, 14263 m = {}; 14264 c.px 14265 ? (a = e.extend({ link: null }, e.fn.smoothScroll.defaults, t)) 14266 : ((a = e.extend({ link: null }, e.fn.smoothScroll.defaults, n || {}, t)).scrollElement && ((f = "position"), "static" === a.scrollElement.css("position") && a.scrollElement.css("position", "relative")), 14267 r && (c = i(r))), 14268 (h = "left" === a.direction ? "scrollLeft" : h), 14269 a.scrollElement ? ((s = a.scrollElement), c.px || /^(?:HTML|BODY)$/.test(s[0].nodeName) || (d = s[h]())) : (s = e("html, body").firstScrollable(a.direction)), 14270 a.beforeScroll.call(s, a), 14271 (l = c.px ? c : { relative: "", px: (e(a.scrollTarget)[f]() && e(a.scrollTarget)[f]()[a.direction]) || 0 }), 14272 (p[h] = l.relative + (l.px + d + a.offset)), 14273 "auto" === (u = a.speed) && (u = Math.abs(p[h] - s[h]()) / a.autoCoefficient), 14274 (m = { 14275 duration: u, 14276 easing: a.easing, 14277 complete: function () { 14278 o(a); 14279 }, 14280 }), 14281 a.step && (m.step = a.step), 14282 s.length ? s.stop().animate(p, m) : o(a); 14283 }), 14284 (e.smoothScroll.version = "2.2.0"), 14285 (e.smoothScroll.filterPath = function (e) { 14286 return (e = e || "") 14287 .replace(/^\//, "") 14288 .replace(/(?:index|default).[a-zA-Z]{3,4}$/, "") 14289 .replace(/\/$/, ""); 14290 }), 14291 (e.fn.smoothScroll.defaults = { 14292 exclude: [], 14293 excludeWithin: [], 14294 offset: 0, 14295 direction: "top", 14296 delegateSelector: null, 14297 scrollElement: null, 14298 scrollTarget: null, 14299 autoFocus: !1, 14300 beforeScroll: function () {}, 14301 afterScroll: function () {}, 14302 easing: "swing", 14303 speed: 400, 14304 autoCoefficient: 2, 14305 preventDefault: !0, 14306 }); 14307 }) 14308? r.apply(t, i) 14309: r) || (e.exports = o); 14310}, 14311function (e) { 14312 e.exports = JSON.parse( 14313 '[{"featureType":"landscape.man_made","elementType":"geometry","stylers":[{"color":"#f7f1df"}]},{"featureType":"landscape.natural","elementType":"geometry","stylers":[{"color":"#d0e3b4"}]},{"featureType":"landscape.natural.terrain","elementType":"geometry","stylers":[{"visibility":"off"}]},{"featureType":"poi","elementType":"labels","stylers":[{"visibility":"off"}]},{"featureType":"poi.business","elementType":"all","stylers":[{"visibility":"off"}]},{"featureType":"poi.medical","elementType":"geometry","stylers":[{"color":"#fbd3da"}]},{"featureType":"poi.park","elementType":"geometry","stylers":[{"color":"#bde6ab"}]},{"featureType":"road","elementType":"geometry.stroke","stylers":[{"visibility":"off"}]},{"featureType":"road.highway","elementType":"geometry.fill","stylers":[{"color":"#ffe15f"}]},{"featureType":"road.highway","elementType":"geometry.stroke","stylers":[{"color":"#efd151"}]},{"featureType":"road.arterial","elementType":"geometry.fill","stylers":[{"color":"#ffffff"}]},{"featureType":"road.local","elementType":"geometry.fill","stylers":[{"color":"black"}]},{"featureType":"transit.station.airport","elementType":"geometry.fill","stylers":[{"color":"#cfb2db"}]},{"featureType":"water","elementType":"geometry","stylers":[{"color":"#a2daf2"}]}]' 14314 ); 14315}, 14316, 14317, 14318, 14319function (e, t, n) {}, 14320, 14321function (e, t, n) { 14322 "use strict"; 14323 n.r(t); 14324 n(19); 14325 var r = n(5), 14326 i = { init() {}, finalize() {} }, 14327 o = { init() {}, finalize() {} }, 14328 a = n(10), 14329 s = n(4), 14330 u = n(11), 14331 l = n(0), 14332 c = n.n(l), 14333 d = n(15), 14334 f = { 14335 init(e = () => null, t) { 14336 const n = env.googleMapsApiKey || !1; 14337 let r, 14338 i, 14339 o, 14340 a, 14341 s = []; 14342 const u = (e, t = "CA", n = 0) => 14343 new Promise((r, o) => { 14344 i.geocode({ address: e, componentRestrictions: { country: t } }, (i, o) => { 14345 o === google.maps.GeocoderStatus.OK 14346 ? r(i[0].geometry.location) 14347 : ++n < 3 14348 ? setTimeout(async () => { 14349 const i = await u(e, t, n); 14350 r(i); 14351 }, 100) 14352 : r(!1); 14353 }); 14354 }); 14355 return ( 14356 (() => { 14357 if (!n) return; 14358 let s = document.createElement("script");
14359 (s.src = `https://maps.googleapis.com/maps/api/js?key=${n}&language=${env.locale}®ion=CA&callback=initMap`), 14360 (s.defer = !0), 14361 (window.initMap = () => { 14362 (r = new google.maps.InfoWindow()), 14363 (i = new google.maps.Geocoder()), 14364 (a = new google.maps.LatLngBounds()), 14365 t && 14366 ((o = new google.maps.Map(t, { 14367 center: new google.maps.LatLng(0, 0), 14368 zoom: 14, 14369 maxZoom: 18, 14370 mapTypeControl: !1, 14371 scaleControl: !1, 14372 streetViewControl: !1, 14373 rotateControl: !1, 14374 fullscreenControl: !1, 14375 styles: d, 14376 })), 14377 google.maps.event.addListenerOnce(o, "idle", () => { 14378 try { 14379 e(o); 14380 } catch (e) {} 14381 })); 14382 }), 14383 document.head.appendChild(s); 14384 })(), 14385 { 14386 getMap: () => o, 14387 getInfoWindow: () => r, 14388 addMarker: (e, t, n = null) => { 14389 const i = new google.maps.Marker({ position: e.latLng, map: o, label: t, title: e.location }), 14390 u = 14391 n || 14392 function (e) { 14393 r.setPosition(this.position), r.setContent(this.title), r.setOptions({ pixelOffset: new google.maps.Size(0, -30) }), r.open(this.map); 14394 }; 14395 return i.addListener("click", u.bind(i)), s.push(i), a.extend(e.latLng), 1 == s.length ? o.setCenter(e.latLng) : o.fitBounds(a), i; 14396 }, 14397 geocodeLocation: u, 14398 } 14399 ); 14400 }, 14401 }, 14402 h = n(2); 14403 const p = async (e, t) => { 14404 for (let n = 0; n < e.length; n++) await t(e[n], n, e); 14405 }, 14406m = (e, t, n = env.locale) => { 14407 const r = function (e, t) { 14408 return `<time itemprop="startDate" datetime="${e.toISODate()}">${t}</time>`; 14409 }, 14410 i = function (e, t) { 14411 return `<time itemprop="endDate" datetime="${e.toISODate()}">${t}</time>`; 14412 }, 14413 o = h.DateTime.fromISO(e).setLocale(n); 14414 if (t) { 14415 const e = h.DateTime.fromISO(t).setLocale(n), 14416 a = o.year === e.year, 14417 s = o.month === e.month, 14418 u = o.day === e.day; 14419 return a 14420 ? a && !s 14421 ? "fr" === n.toLowerCase() 14422 ? r(o, o.toFormat("d LLL")) + " â " + i(e, e.toFormat("d LLL, y")) 14423 : r(o, o.toFormat("LLL d")) + " â " + i(e, e.toFormat("LLL d, y")) 14424 : a && s && u 14425 ? o.toLocaleString(h.DateTime.DATE_MED) 14426 : "fr" === n.toLowerCase() 14427 ? r(o, o.toFormat("d")) + "â" + i(e, e.toFormat("d LLL, y")) 14428 : r(o, o.toFormat("LLL d")) + "â" + i(e, e.toFormat("d, y")) 14429 : r(o, o.toLocaleString(h.DateTime.DATE_MED)) + " â " + i(e, e.toLocaleString(h.DateTime.DATE_MED)); 14430 } 14431 return r(o, o.toLocaleString(h.DateTime.DATE_MED)); 14432}, 14433g = (e, t, n, r = env.locale) => 14434((e, t, n = env.locale) => { 14435 const r = h.DateTime.fromISO(e).setLocale(n); 14436 if (t) { 14437 const e = h.DateTime.fromISO(t).setLocale(n), 14438 i = r.year === e.year, 14439 o = r.month === e.month, 14440 a = r.day === e.day, 14441 s = r.hour === e.hour, 14442 u = r.minute === e.minute; 14443 return i && o && a 14444 ? s && u 14445 ? r.toLocaleString(h.DateTime.TIME_SIMPLE) 14446 : `${r.toLocaleString(h.DateTime.TIME_SIMPLE)}â${e.toLocaleString(h.DateTime.TIME_SIMPLE)}` 14447 : `${r.toLocaleString(h.DateTime.DATETIME_MED)}â${e.toLocaleString(h.DateTime.DATETIME_MED)}`; 14448 } 14449 return r.toLocaleString(h.DateTime.DATETIME_MED); 14450})(h.DateTime.fromFormat(e, n), h.DateTime.fromFormat(t, n), r); 14451var v = { 14452 init() { 14453 const e = c()("#map")[0], 14454 t = c()("#province-dropdown"), 14455 n = c()("#event-list"), 14456 r = c()("[data-four-h-region-id]").data("fourHRegionId"), 14457 i = env.portal.apiBaseUrl || !1; 14458 let o, 14459 a = []; 14460 try { 14461 c.a 14462 .getJSON(`${i}/regional-fair/region/${r}?lang=${env.locale}`) 14463 .then((e) => e.data) 14464 .then((e) => { 14465 c()("[data-four-h-fair-virtual]").hide().filter(`[data-four-h-fair-virtual="${e.is_virtual}"]`).show(), 14466 c()("[data-four-h-fair-city]").html(e.city), 14467 c()("[data-four-h-fair-province]").html(e.province.name[env.locale]); 14468 }); 14469 } catch (e) {} 14470 try { 14471 c.a 14472 .getJSON(`${i}/provinces?lang=${env.locale}`) 14473 .then((e) => e.data) 14474 .then((e) => { 14475 let t = ["IN"]; 14476 e = e.filter((e) => !t.includes(e.province_code)); 14477 let n = ["CA"]; 14478 e 14479 .filter((e) => !n.includes(e.province_code)) 14480 .sort((e, t) => e.province.localeCompare(t.province)) 14481 .forEach((e) => { 14482 c()("[data-province]").append(`<option value="${e.id}">${e.province}</option>`); 14483 }), 14484 e 14485 .filter((e) => n.includes(e.province_code)) 14486 .forEach((e) => { 14487 c()("[data-province]").append(`<option value="${e.id}">${e.province}</option>`); 14488 }); 14489 }); 14490 } catch (e) {} 14491 const { getMap: s, getInfoWindow: u, addMarker: l, geocodeLocation: d } = f.init((r) => { 14492 r.addListener("idle", v.bind(r)), 14493 (async () => { 14494 new google.maps.LatLngBounds(); 14495 c()(e).wrap('<div style="position: relative" />').before('<div class="loading-overlay" />'), t.find('option:not([value="all"])').prop("disabled", !0);
14496 try { 14497 var urlgot = i + "/regional-fairs"; 14498 let current_url = window.location.href; 14499 let provinceId = new URL(current_url).searchParams.get('province_id'); 14500 if (provinceId && provinceId != '') { 14501 console.log(provinceId); 14502 urlgot = urlgot+'?province_id='+provinceId; 14503 } 14504 (a = (await c.a.getJSON(urlgot)).data), (a = a.filter((e) => !!e.region_name)), a.sort((e, t) => (e.region_name > t.region_name ? 1 : -1)); 14505 } catch (e) {} 14506 a.forEach((e, r) => { 14507 const i = (r + 1).toString(); 14508 e.province.id && t.find(`[value="${e.province.id}"]`).prop("disabled", !1); 14509 const o = c()('<li class="location-list-item" />'), 14510 a = e.is_virtual ? "icons/world" : "icons/map-pin", 14511 s = c()( 14512 `<h2 class="location-name text--bold text--gray-dark"><span class="number text--bold text--red">${i}</span> ${e.region_name} <svg class="icon ${a}"><use xlink:href="#sprite-${a}"></use></svg></h2>` 14513 ), 14514 u = e.event_start_date && e.event_end_date ? c()(`<p class="location-dates">${m(e.event_start_date, e.event_end_date)}</p>`) : "", 14515 l = e.location && e.address && e.city && e.province.code ? c()(`<address>${e.location}<br/>${e.address}<br/>${e.city}, ${e.province.code}</address>`) : "", 14516 d = c()(`<a class="link-more-info link link--purple link-underline" href="#fair-modal" data-modal>${env.lang.more_info}</a>`); 14517 d.on("click", (t) => { 14518 h({ ...e }); 14519 }), 14520 c()(o) 14521 .attr("data-id", i) 14522 .data("location", e) 14523 .append(s) 14524 .append(u) 14525 .append(e.is_virtual ? "" : l) 14526 .append(d) 14527 .appendTo(n), 14528 (e.listItem = o); 14529 }), 14530 t.attr("disabled", !1).on("change", y), 14531 await p(a, async (e, t) => { 14532 const n = (t + 1).toString(); 14533 if ((e.latLng && (e.marker = l(e, n, g)), parseFloat(e.region_latitude) && parseFloat(e.region_longitude))) 14534 (e.latLng = new google.maps.LatLng(parseFloat(e.region_latitude), parseFloat(e.region_longitude))), (e.marker = l(e, n, g)); 14535 else if (!e.is_virtual && e.address && e.city) { 14536 const t = `${e.address}, ${e.city}, ${e.postal_code}`, 14537 r = await d(t); 14538 r && ((e.latLng = r), (e.marker = l(e, n, g))); 14539 } 14540 }), 14541 c()(e).siblings(".loading-overlay").addClass("hidden"); 14542 })(); 14543 }, e), 14544 h = (e) => { 14545 c()("[data-fair-virtual]").hide().filter(`[data-fair-virtual="${e.is_virtual}"]`).show(), 14546 c()("[data-is-fair]").hide().filter(`[data-is-fair="${e.is_fair}"]`).show(), 14547 c()("[data-fair-region-name]").html(e.region_name || ""), 14548 c()("[data-fair-location]").html(e.location || ""), 14549 c()("[data-fair-address]").html(e.address || ""), 14550 c()("[data-fair-city]").html(e.city || ""), 14551 c()("[data-fair-province]").html(e.region_province.code || ""), 14552 c()("[data-fair-postal-code]").html(e.postal_code || ""), 14553 c()("[data-fair-link]").attr("href", e.event_id || "#"), 14554 e.event_start_date && e.event_end_date && c()("[data-fair-dates]").html(m(e.event_start_date, e.event_end_date)); 14555 const t = encodeURIComponent((e.address || "") + " " + (e.city || "") + ", " + (e.province.code || "") + " " + (e.postal_code || "")), 14556 n = `https://maps.googleapis.com/maps/api/staticmap?key=${env.googleMapsApiKey}¢er=${t}&zoom=12&size=1000x500&style=feature:poi|visibility:off`; 14557 c()("[data-fair-map-image]").css("background-image", `url(${n})`); 14558 }; 14559 function g(e) { 14560 const t = u(), 14561 r = n.find(`[data-id=${this.label}]:visible`), 14562 i = r.data("location"), 14563 o = i.latLng, 14564 a = "" + i.region_name; 14565 o && a && (t.setPosition(o), t.setContent(a), t.setOptions({ pixelOffset: new google.maps.Size(0, -30) }), t.open(s())), r.find("[data-modal]").trigger("click"); 14566 } 14567 function v(e) { 14568 o && clearTimeout(o), 14569 (o = setTimeout(() => { 14570 ((e) => { 14571 const t = s().getBounds(); 14572 e && 14573 (a.forEach((e) => { 14574 e.listItem && e.listItem.hide(); 14575 }), 14576 a 14577 .filter((t) => t.province.id == e || "all" === e) 14578 .filter((e) => !e.marker || (e.latLng && t.contains(e.latLng))) 14579 .forEach((e, t, n) => { 14580 e.marker ? e.listItem.show().attr("data-id", e.marker.label).find(".number").html(e.marker.label) : e.listItem.show(); 14581 })); 14582 })(t.val()); 14583 }, 250)); 14584 } 14585 const y = (e) => { 14586 ((e) => { 14587 let t = new google.maps.LatLngBounds(); 14588 a.forEach((e) => { 14589 e.marker && e.marker.setMap(null); 14590 }), 14591 a 14592 .filter((t) => t.province.id == e || "all" === e) 14593 .forEach((e, n, r) => { 14594 const i = (n + 1).toString(); 14595 e.marker && (e.marker.setLabel(i), e.marker.setMap(s()), t.extend(e.marker.position)), s().fitBounds(t); 14596 }); 14597 })(c()(e.currentTarget).val()); 14598 }; 14599 }, 14600 finalize() {}, 14601}, 14602y = { 14603 init() { 14604 const e = $("#map")[0], 14605 t = $("[data-event-id]").data("eventId"), 14606 n = env.portal.apiBaseUrl || !1; 14607 let r = null; 14608 if ("single-fair" == t) return void (location.href = $("[data-back-link]").attr("href")); 14609 let i = $.getJSON(`${n}/regional-fair/${t}`); 14610 const o = () => { 14611 $("[data-fair-virtual]").hide().filter(`[data-fair-virtual="${r.is_virtual}"]`).show(), 14612 $("[data-fair-event-year]").html(r.event_year || ""), 14613 $("[data-fair-location]").html(r.location || ""), 14614 $("[data-fair-address]").html(r.address || ""), 14615 $("[data-fair-city]").html(r.city || ""), 14616 $("[data-fair-province]").html(r.province.code || ""), 14617 $("[data-fair-postal-code]").html(r.postal_code || ""), 14618 $("[data-fair-region-name]").html(r.region_name || ""), 14619 $("[data-fair-description]").html(r.description || ""), 14620 $("[data-fair-region-province]").html(r.region_province.name || ""), 14621 $("[data-fair-date-range]").html(m(r.event_start_date, r.event_end_date)), 14622 $("[data-fair-registration-date-range]").html(m(r.student_registration_start, r.student_registration_end)), 14623 $("[data-fair-contact-name]").html(r.contact_name || ""), 14624 $("[data-fair-has-description").toggle(!!r.description), 14625 $("[data-fair-has-region-province").toggle(!!r.region_province.name), 14626 $("[data-fair-has-event-date").toggle(!!r.event_start_date && !!r.event_end_date), 14627 $("[data-fair-has-registration-date").toggle(!!r.student_registration_start && !!r.student_registration_end), 14628 $("[data-fair-has-contact").toggle(!!r.contact_name || !!r.contact_email || !!r.website), 14629 $("[data-fair-contact-email]") 14630 .html(r.contact_email || "") 14631 .attr("href", "mailto:" + (r.contact_email || "")), 14632 $("[data-fair-website]") 14633 .toggle(!!r.website) 14634 .html((r.website || "").replace(/(^\w+:|^)\/\//, "")) 14635 .attr("href", r.website); 14636 const e = !!r.external_registration_url && ("http" === r.external_registration_url.slice(0, 4) ? r.external_registration_url : "http://" + r.external_registration_url); 14637 $("[data-fair-has-external-registration-url]").toggle(!!e), 14638 $("[data-fair-external-registration-url]") 14639 .toggle(!!e) 14640 .html((e || "").replace(/(^\w+:|^)\/\//, "")) 14641 .attr("href", e),
14642 $("[ data-fair-has-schedule]").toggle((!!r.public_viewing.date && "NULL" !== r.public_viewing.date) || (!!r.awards_ceremony.date && "NULL" !== r.awards_ceremony.date)); 14643 let t = Array.isArray(r.additional_schedules) ? r.additional_schedules : []; 14644 if ( 14645 ([ 14646 { attr: "public_viewing", type: "public-viewing" }, 14647 { attr: "awards_ceremony", type: "awards-ceremony" }, 14648 ].forEach(({ attr: e, type: n }) => { 14649 if (r[e] && ($(`[data-fair-has-${n}]`).toggle(!!r[e].date), $(`[data-fair-${n}-date-range]`).html(m(r[e].date, null)), r[e].date)) { 14650 let i = $(`[data-${n}-schedules] .fair-schedule-date-time`).detach(), 14651 o = [{ ...r[e] }]; 14652 t.forEach((e) => { 14653 e.type === n && o.push({ ...e }); 14654 }), 14655 o.forEach((e) => { 14656 const t = i.clone(); 14657 e.start_time && e.end_time 14658 ? ($(t.find("[data-date]")).html(m(e.date, null)), $(t.find("[data-time-range]")).html(g(e.start_time, e.end_time, "HH:mm")), t.appendTo(`[data-${n}-schedules]`)) 14659 : $("<div>â</div>").appendTo(`[data-${n}-schedules]`); 14660 }); 14661 } 14662 }), 14663 Array.isArray(r.additional_addresses) && r.additional_addresses.length > 0) 14664 ) { 14665 const e = $("[data-fair-additional-address]").detach(); 14666 r.additional_addresses.forEach((t, n) => { 14667 const r = e.clone(), 14668 i = (n + 2).toString(); 14669 $(r.find("[data-fair-additional-address-marker-label]")).html(i), 14670 $(r.find("[data-fair-additional-address-activity]")).html(t.activity || ""), 14671 $(r.find("[data-fair-additional-address-location]")).html(t.location || ""), 14672 $(r.find("[data-fair-additional-address-address]")).html(t.address || ""), 14673 $(r.find("[data-fair-additional-address-city]")).html(t.city || ""), 14674 $(r.find("[data-fair-additional-address-province]")).html(t.province.code || ""), 14675 $(r.find("[data-fair-additional-address-postal-code]")).html(t.postal_code || ""), 14676 r.appendTo("[data-fair-additional-addresses]"); 14677 }); 14678 } else $("[data-fair-additional-addresses]").hide(); 14679 if (Array.isArray(r.additional_schedules) && r.additional_schedules.length > 0) { 14680 const e = $("[data-fair-additional-schedule]").detach(); 14681 r.additional_schedules.forEach((t) => { 14682 const n = e.clone(); 14683 $(n.find("[data-fair-additional-schedule-type]")).html(t.type || ""), 14684 $(n.find("[data-fair-additional-schedule-time-range]")).html(g(t.start_time, t.end_time, "HH:mm")), 14685 n.appendTo("[data-fair-additional-schedules]"); 14686 }); 14687 } else $("[data-fair-additional-schedules]").hide(); 14688 r.event_year ? (document.title = `${r.event_year} ${env.lang.regional_fair}: ${r.region_name}`) : (document.title = `${env.lang.regional_fair}: ${r.region_name}`), $("[data-event-id]").attr("data-loading", !1); 14689 }, 14690 a = async () => { 14691 r 14692 ? await p([r, ...(r.additional_addresses || [])], async (e, t) => { 14693 const n = (t + 1).toString(); 14694 let r, i; 14695 e.latLng ? (e.marker = u(e, n)) : ((r = `${e.address}, ${e.city}, ${e.province.code} ${e.postal_code}`), (i = await l(r)), i && ((e.latLng = i), (e.marker = u(e, n)))); 14696 }) 14697 : setTimeout(() => a(), 500); 14698 }; 14699 (async () => { 14700 try { 14701 r = (await i).data; 14702 if (Array.isArray(r) && r.length === 0) { 14703 $(".section--nodata").css("display", "block"); 14704 $(".section--fair").css("display", "none"); 14705 return; 14706 } 14707 o(r); 14708 } catch (e) { 14709 const t = document.createElement("meta"); 14710 return (t.name = "robots"), (t.content = "noindex"), void document.head.appendChild(t); 14711 } 14712 })(); 14713 const { getMap: s, addMarker: u, geocodeLocation: l } = f.init(a, e); 14714}, 14715finalize() {}, 14716}; 14717const b = new r.a({ common: i, home: o, singlePost: a.a, projectDirectory: s.a, project: u.a, regionalFairs: v, singleFair: y }); 14718jQuery(document).ready(() => b.loadEvents()); 14719}, 14720]); 14721//# sourceMappingURL=bundle.d9b98d9f.js.map 14722 14723 14724jQuery(function() { 14725 jQuery('.event-filter').click(function(){ 14726 console.log('wewewew'); 14727 jQuery('#province-dropdown option').attr('disabled',false); 14728 }); 14729 function load_pre_selected() { 14730 let current_url = window.location.href; 14731 let provinceId = new URL(current_url).searchParams.get('province_id'); 14732 if (provinceId) { 14733 jQuery('#province-dropdown option[value="'+provinceId+'"]').attr('selected',true); 14734 jQuery('#province-dropdown option').attr('disabled',false); 14735 } 14736 } 14737 setTimeout(load_pre_selected,1000); 14738 setTimeout(load_pre_selected,2000); 14739 setTimeout(load_pre_selected,3000); 14740 14741 jQuery(document).on('change', '#province-dropdown', function() { 14742 var url = 'https://youthscience.ca/science-fairs/regional-fairs/'; 14743 var vv = jQuery(this).val(); 14744 if (vv && vv != 'all') { 14745 url = url+'?province_id='+vv; 14746 } 14747 location.href = url; 14748 }); 14749});
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.