1var jQuery; 2void 0 === jQuery && 3 (jQuery = "function" == typeof require ? ($ = require("jquery")) : $); 4(jQuery.easing.jswing = jQuery.easing.swing), 5 jQuery.extend(jQuery.easing, { 6 def: "easeOutQuad", 7 swing: function (e, t, i, n, o) { 8 return jQuery.easing[jQuery.easing.def](e, t, i, n, o); 9 }, 10 easeInQuad: function (e, t, i, n, o) { 11 return n * (t /= o) * t + i; 12 }, 13 easeOutQuad: function (e, t, i, n, o) { 14 return -n * (t /= o) * (t - 2) + i; 15 }, 16 easeInOutQuad: function (e, t, i, n, o) { 17 return (t /= o / 2) < 1 18 ? (n / 2) * t * t + i 19 : (-n / 2) * (--t * (t - 2) - 1) + i; 20 }, 21 easeInCubic: function (e, t, i, n, o) { 22 return n * (t /= o) * t * t + i; 23 }, 24 easeOutCubic: function (e, t, i, n, o) { 25 return n * ((t = t / o - 1) * t * t + 1) + i; 26 }, 27 easeInOutCubic: function (e, t, i, n, o) { 28 return (t /= o / 2) < 1 29 ? (n / 2) * t * t * t + i 30 : (n / 2) * ((t -= 2) * t * t + 2) + i; 31 }, 32 easeInQuart: function (e, t, i, n, o) { 33 return n * (t /= o) * t * t * t + i; 34 }, 35 easeOutQuart: function (e, t, i, n, o) { 36 return -n * ((t = t / o - 1) * t * t * t - 1) + i; 37 }, 38 easeInOutQuart: function (e, t, i, n, o) { 39 return (t /= o / 2) < 1 40 ? (n / 2) * t * t * t * t + i 41 : (-n / 2) * ((t -= 2) * t * t * t - 2) + i; 42 }, 43 easeInQuint: function (e, t, i, n, o) { 44 return n * (t /= o) * t * t * t * t + i; 45 }, 46 easeOutQuint: function (e, t, i, n, o) { 47 return n * ((t = t / o - 1) * t * t * t * t + 1) + i; 48 }, 49 easeInOutQuint: function (e, t, i, n, o) { 50 return (t /= o / 2) < 1 51 ? (n / 2) * t * t * t * t * t + i 52 : (n / 2) * ((t -= 2) * t * t * t * t + 2) + i; 53 }, 54 easeInSine: function (e, t, i, n, o) { 55 return -n * Math.cos((t / o) * (Math.PI / 2)) + n + i; 56 }, 57 easeOutSine: function (e, t, i, n, o) { 58 return n * Math.sin((t / o) * (Math.PI / 2)) + i; 59 }, 60 easeInOutSine: function (e, t, i, n, o) { 61 return (-n / 2) * (Math.cos((Math.PI * t) / o) - 1) + i; 62 }, 63 easeInExpo: function (e, t, i, n, o) { 64 return 0 == t ? i : n * Math.pow(2, 10 * (t / o - 1)) + i; 65 }, 66 easeOutExpo: function (e, t, i, n, o) { 67 return t == o ? i + n : n * (1 - Math.pow(2, (-10 * t) / o)) + i; 68 }, 69 easeInOutExpo: function (e, t, i, n, o) { 70 return 0 == t 71 ? i 72 : t == o 73 ? i + n 74 : (t /= o / 2) < 1 75 ? (n / 2) * Math.pow(2, 10 * (t - 1)) + i 76 : (n / 2) * (2 - Math.pow(2, -10 * --t)) + i; 77 }, 78 easeInCirc: function (e, t, i, n, o) { 79 return -n * (Math.sqrt(1 - (t /= o) * t) - 1) + i; 80 }, 81 easeOutCirc: function (e, t, i, n, o) { 82 return n * Math.sqrt(1 - (t = t / o - 1) * t) + i; 83 }, 84 easeInOutCirc: function (e, t, i, n, o) { 85 return (t /= o / 2) < 1 86 ? (-n / 2) * (Math.sqrt(1 - t * t) - 1) + i 87 : (n / 2) * (Math.sqrt(1 - (t -= 2) * t) + 1) + i; 88 }, 89 easeInElastic: function (e, t, i, n, o) { 90 var s = 1.70158, 91 a = 0, 92 r = n; 93 return 0 == t 94 ? i 95 : 1 == (t /= o) 96 ? i + n 97 : (a || (a = 0.3 * o), 98 r < Math.abs(n) 99 ? ((r = n), (s = a / 4)) 100 : (s = (a / (2 * Math.PI)) * Math.asin(n / r)), 101 -r * 102 Math.pow(2, 10 * (t -= 1)) * 103 Math.sin(((t * o - s) * (2 * Math.PI)) / a) + 104 i); 105 }, 106 easeOutElastic: function (e, t, i, n, o) { 107 var s = 1.70158, 108 a = 0, 109 r = n; 110 return 0 == t 111 ? i 112 : 1 == (t /= o) 113 ? i + n 114 : (a || (a = 0.3 * o), 115 r < Math.abs(n) 116 ? ((r = n), (s = a / 4)) 117 : (s = (a / (2 * Math.PI)) * Math.asin(n / r)), 118 r * 119 Math.pow(2, -10 * t) * 120 Math.sin(((t * o - s) * (2 * Math.PI)) / a) + 121 n + 122 i); 123 }, 124 easeInOutElastic: function (e, t, i, n, o) { 125 var s = 1.70158, 126 a = 0, 127 r = n; 128 return 0 == t 129 ? i 130 : 2 == (t /= o / 2) 131 ? i + n 132 : (a || (a = o * (0.3 * 1.5)), 133 r < Math.abs(n) 134 ? ((r = n), (s = a / 4)) 135 : (s = (a / (2 * Math.PI)) * Math.asin(n / r)), 136 t < 1 137 ? r * 138 Math.pow(2, 10 * (t -= 1)) * 139 Math.sin(((t * o - s) * (2 * Math.PI)) / a) * 140 -0.5 + 141 i 142 : r * 143 Math.pow(2, -10 * (t -= 1)) * 144 Math.sin(((t * o - s) * (2 * Math.PI)) / a) * 145 0.5 + 146 n + 147 i); 148 }, 149 easeInBack: function (e, t, i, n, o, s) { 150 return ( 151 null == s && (s = 1.70158), n * (t /= o) * t * ((s + 1) * t - s) + i 152 ); 153 }, 154 easeOutBack: function (e, t, i, n, o, s) { 155 return ( 156 null == s && (s = 1.70158),
157 n * ((t = t / o - 1) * t * ((s + 1) * t + s) + 1) + i 158 ); 159 }, 160 easeInOutBack: function (e, t, i, n, o, s) { 161 return ( 162 null == s && (s = 1.70158), 163 (t /= o / 2) < 1 164 ? (n / 2) * (t * t * ((1 + (s *= 1.525)) * t - s)) + i 165 : (n / 2) * ((t -= 2) * t * ((1 + (s *= 1.525)) * t + s) + 2) + i 166 ); 167 }, 168 easeInBounce: function (e, t, i, n, o) { 169 return n - jQuery.easing.easeOutBounce(e, o - t, 0, n, o) + i; 170 }, 171 easeOutBounce: function (e, t, i, n, o) { 172 return (t /= o) < 1 / 2.75 173 ? n * (7.5625 * t * t) + i 174 : t < 2 / 2.75 175 ? n * (7.5625 * (t -= 1.5 / 2.75) * t + 0.75) + i 176 : t < 2.5 / 2.75 177 ? n * (7.5625 * (t -= 2.25 / 2.75) * t + 0.9375) + i 178 : n * (7.5625 * (t -= 2.625 / 2.75) * t + 0.984375) + i; 179 }, 180 easeInOutBounce: function (e, t, i, n, o) { 181 return t < o / 2 182 ? 0.5 * jQuery.easing.easeInBounce(e, 2 * t, 0, n, o) + i 183 : 0.5 * jQuery.easing.easeOutBounce(e, 2 * t - o, 0, n, o) + 184 0.5 * n + 185 i; 186 }, 187 }), 188 jQuery.extend(jQuery.easing, { 189 easeInOutMaterial: function (e, t, i, n, o) { 190 return (t /= o / 2) < 1 191 ? (n / 2) * t * t + i 192 : (n / 4) * ((t -= 2) * t * t + 2) + i; 193 }, 194 }), 195 jQuery.Velocity 196 ? console.log( 197 "Velocity is already loaded. You may be needlessly importing Velocity again; note that Materialize includes Velocity." 198 ) 199 : ((function (e) { 200 function t(e) { 201 var t = e.length, 202 n = i.type(e); 203 return ( 204 "function" !== n && 205 !i.isWindow(e) && 206 (!(1 !== e.nodeType || !t) || 207 "array" === n || 208 0 === t || 209 ("number" == typeof t && t > 0 && t - 1 in e)) 210 ); 211 } 212 if (!e.jQuery) { 213 var i = function (e, t) { 214 return new i.fn.init(e, t); 215 }; 216 (i.isWindow = function (e) { 217 return null != e && e == e.window; 218 }), 219 (i.type = function (e) { 220 return null == e 221 ? e + "" 222 : "object" == typeof e || "function" == typeof e 223 ? o[a.call(e)] || "object" 224 : typeof e; 225 }), 226 (i.isArray = 227 Array.isArray || 228 function (e) { 229 return "array" === i.type(e); 230 }), 231 (i.isPlainObject = function (e) { 232 var t; 233 if (!e || "object" !== i.type(e) || e.nodeType || i.isWindow(e)) 234 return !1; 235 try { 236 if ( 237 e.constructor && 238 !s.call(e, "constructor") && 239 !s.call(e.constructor.prototype, "isPrototypeOf") 240 ) 241 return !1; 242 } catch (e) { 243 return !1; 244 } 245 for (t in e); 246 return void 0 === t || s.call(e, t); 247 }), 248 (i.each = function (e, i, n) { 249 var o = 0, 250 s = e.length, 251 a = t(e); 252 if (n) { 253 if (a) for (; s > o && !1 !== i.apply(e[o], n); o++); 254 else for (o in e) if (!1 === i.apply(e[o], n)) break; 255 } else if (a) for (; s > o && !1 !== i.call(e[o], o, e[o]); o++); 256 else for (o in e) if (!1 === i.call(e[o], o, e[o])) break; 257 return e; 258 }), 259 (i.data = function (e, t, o) { 260 if (void 0 === o) { 261 var s = (a = e[i.expando]) && n[a]; 262 if (void 0 === t) return s; 263 if (s && t in s) return s[t]; 264 } else if (void 0 !== t) { 265 var a = e[i.expando] || (e[i.expando] = ++i.uuid); 266 return (n[a] = n[a] || {}), (n[a][t] = o), o; 267 } 268 }), 269 (i.removeData = function (e, t) { 270 var o = e[i.expando], 271 s = o && n[o]; 272 s && 273 i.each(t, function (e, t) { 274 delete s[t]; 275 }); 276 }), 277 (i.extend = function () { 278 var e, 279 t, 280 n, 281 o, 282 s, 283 a, 284 r = arguments[0] || {}, 285 l = 1, 286 c = arguments.length, 287 d = !1; 288 for ( 289 "boolean" == typeof r && 290 ((d = r), (r = arguments[l] || {}), l++), 291 "object" != typeof r && "function" !== i.type(r) && (r = {}), 292 l === c && ((r = this), l--); 293 c > l; 294 l++ 295 ) 296 if (null != (s = arguments[l])) 297 for (o in s) 298 (e = r[o]), 299 r !== (n = s[o]) && 300 (d && n && (i.isPlainObject(n) || (t = i.isArray(n))) 301 ? (t 302 ? ((t = !1), (a = e && i.isArray(e) ? e : [])) 303 : (a = e && i.isPlainObject(e) ? e : {}), 304 (r[o] = i.extend(d, a, n))) 305 : void 0 !== n && (r[o] = n)); 306 return r; 307 }), 308 (i.queue = function (e, n, o) { 309 if (e) { 310 n = (n || "fx") + "queue"; 311 var s = i.data(e, n); 312 return o 313 ? (!s || i.isArray(o) 314 ? (s = i.data( 315 e, 316 n, 317 (function (e, i) { 318 var n = []; 319 return ( 320 null != e && 321 (t(Object(e)) 322 ? (function (e, t) { 323 for ( 324 var i = +t.length, n = 0, o = e.length; 325 i > n; 326 327 ) 328 e[o++] = t[n++]; 329 if (i != i) 330 for (; void 0 !== t[n]; ) 331 e[o++] = t[n++]; 332 e.length = o; 333 })(n, "string" == typeof e ? [e] : e) 334 : [].push.call(n, e)), 335 n 336 ); 337 })(o) 338 )) 339 : s.push(o), 340 s) 341 : s || []; 342 } 343 }), 344 (i.dequeue = function (e, t) { 345 i.each(e.nodeType ? [e] : e, function (e, n) { 346 t = t || "fx"; 347 var o = i.queue(n, t), 348 s = o.shift(); 349 "inprogress" === s && (s = o.shift()), 350 s && 351 ("fx" === t && o.unshift("inprogress"), 352 s.call(n, function () { 353 i.dequeue(n, t); 354 })); 355 }); 356 }), 357 (i.fn = i.prototype = 358 { 359 init: function (e) { 360 if (e.nodeType) return (this[0] = e), this; 361 throw new Error("Not a DOM node."); 362 }, 363 offset: function () { 364 var t = this[0].getBoundingClientRect 365 ? this[0].getBoundingClientRect() 366 : { top: 0, left: 0 }; 367 return { 368 top: 369 t.top + 370 (e.pageYOffset || document.scrollTop || 0) - 371 (document.clientTop || 0), 372 left: 373 t.left + 374 (e.pageXOffset || document.scrollLeft || 0) - 375 (document.clientLeft || 0), 376 }; 377 }, 378 position: function () { 379 function e() { 380 for ( 381 var e = this.offsetParent || document; 382 e && 383 "html" === !e.nodeType.toLowerCase && 384 "static" === e.style.position; 385 386 ) 387 e = e.offsetParent; 388 return e || document; 389 } 390 var t = this[0], 391 e = e.apply(t), 392 n = this.offset(), 393 o = /^(?:body|html)$/i.test(e.nodeName) 394 ? { top: 0, left: 0 } 395 : i(e).offset(); 396 return ( 397 (n.top -= parseFloat(t.style.marginTop) || 0), 398 (n.left -= parseFloat(t.style.marginLeft) || 0), 399 e.style && 400 ((o.top += parseFloat(e.style.borderTopWidth) || 0), 401 (o.left += parseFloat(e.style.borderLeftWidth) || 0)), 402 { top: n.top - o.top, left: n.left - o.left } 403 ); 404 }, 405 }); 406 var n = {}; 407 (i.expando = "velocity" + new Date().getTime()), (i.uuid = 0); 408 for ( 409 var o = {}, 410 s = o.hasOwnProperty, 411 a = o.toString, 412 r = 413 "Boolean Number String Function Array Date RegExp Object Error".split( 414 " " 415 ), 416 l = 0; 417 l < r.length; 418 l++ 419 ) 420 o["[object " + r[l] + "]"] = r[l].toLowerCase(); 421 (i.fn.init.prototype = i.fn), (e.Velocity = { Utilities: i }); 422 } 423 })(window), 424 (function (e) { 425 "object" == typeof module && "object" == typeof module.exports 426 ? (module.exports = e()) 427 : "function" == typeof define && define.amd 428 ? define(e) 429 : e(); 430 })(function () { 431 return (function (e, t, i, n) { 432 function o(e) { 433 return ( 434 h.isWrapped(e) 435 ? (e = [].slice.call(e)) 436 : h.isNode(e) && (e = [e]), 437 e 438 ); 439 } 440 function s(e) { 441 var t = u.data(e, "velocity"); 442 return null === t ? n : t; 443 } 444 function a(e) { 445 return function (t) { 446 return Math.round(t * e) * (1 / e); 447 }; 448 } 449 function r(e, i, n, o) { 450 function s(e, t) { 451 return 1 - 3 * t + 3 * e; 452 } 453 function a(e, t) { 454 return 3 * t - 6 * e; 455 } 456 function r(e) { 457 return 3 * e; 458 } 459 function l(e, t, i) { 460 return ((s(t, i) * e + a(t, i)) * e + r(t)) * e; 461 } 462 function c(e, t, i) { 463 return 3 * s(t, i) * e * e + 2 * a(t, i) * e + r(t); 464 } 465 function d(t, i) { 466 for (var o = 0; v > o; ++o) { 467 var s = c(i, e, n); 468 if (0 === s) return i;
469 i -= (l(i, e, n) - t) / s; 470 } 471 return i; 472 } 473 function u() { 474 for (var t = 0; b > t; ++t) C[t] = l(t * w, e, n); 475 } 476 function p(t, i, o) { 477 var s, 478 a, 479 r = 0; 480 do { 481 (s = l((a = i + (o - i) / 2), e, n) - t) > 0 482 ? (o = a) 483 : (i = a); 484 } while (Math.abs(s) > m && ++r < y); 485 return a; 486 } 487 function f(t) { 488 for (var i = 0, o = 1, s = b - 1; o != s && C[o] <= t; ++o) 489 i += w; 490 var a = i + ((t - C[--o]) / (C[o + 1] - C[o])) * w, 491 r = c(a, e, n); 492 return r >= g ? d(t, a) : 0 == r ? a : p(t, i, i + w); 493 } 494 function h() { 495 (x = !0), (e != i || n != o) && u(); 496 } 497 var v = 4, 498 g = 0.001, 499 m = 1e-7, 500 y = 10, 501 b = 11, 502 w = 1 / (b - 1), 503 k = "Float32Array" in t; 504 if (4 !== arguments.length) return !1; 505 for (var T = 0; 4 > T; ++T) 506 if ( 507 "number" != typeof arguments[T] || 508 isNaN(arguments[T]) || 509 !isFinite(arguments[T]) 510 ) 511 return !1; 512 (e = Math.min(e, 1)), 513 (n = Math.min(n, 1)), 514 (e = Math.max(e, 0)), 515 (n = Math.max(n, 0)); 516 var C = k ? new Float32Array(b) : new Array(b), 517 x = !1, 518 S = function (t) { 519 return ( 520 x || h(), 521 e === i && n === o 522 ? t 523 : 0 === t 524 ? 0 525 : 1 === t 526 ? 1 527 : l(f(t), i, o) 528 ); 529 }; 530 S.getControlPoints = function () { 531 return [ 532 { x: e, y: i }, 533 { x: n, y: o }, 534 ]; 535 }; 536 var A = "generateBezier(" + [e, i, n, o] + ")"; 537 return ( 538 (S.toString = function () { 539 return A; 540 }), 541 S 542 ); 543 } 544 function l(e, t) { 545 var i = e; 546 return ( 547 h.isString(e) 548 ? y.Easings[e] || (i = !1) 549 : (i = 550 h.isArray(e) && 1 === e.length 551 ? a.apply(null, e) 552 : h.isArray(e) && 2 === e.length 553 ? b.apply(null, e.concat([t])) 554 : !(!h.isArray(e) || 4 !== e.length) && r.apply(null, e)), 555 !1 === i && 556 (i = y.Easings[y.defaults.easing] ? y.defaults.easing : m), 557 i 558 ); 559 } 560 function c(e) { 561 if (e) { 562 var t = new Date().getTime(), 563 i = y.State.calls.length; 564 i > 1e4 && 565 (y.State.calls = (function (e) { 566 for (var t = -1, i = e ? e.length : 0, n = []; ++t < i; ) { 567 var o = e[t]; 568 o && n.push(o); 569 } 570 return n; 571 })(y.State.calls)); 572 for (var o = 0; i > o; o++) 573 if (y.State.calls[o]) { 574 var a = y.State.calls[o], 575 r = a[0], 576 l = a[2], 577 p = a[3], 578 f = !!p, 579 v = null; 580 p || (p = y.State.calls[o][3] = t - 16); 581 for ( 582 var g = Math.min((t - p) / l.duration, 1), 583 m = 0, 584 b = r.length; 585 b > m; 586 m++ 587 ) { 588 var k = r[m], 589 C = k.element; 590 if (s(C)) { 591 var x = !1; 592 if ( 593 l.display !== n && 594 null !== l.display && 595 "none" !== l.display 596 ) { 597 if ("flex" === l.display) { 598 u.each( 599 [ 600 "-webkit-box", 601 "-moz-box", 602 "-ms-flexbox", 603 "-webkit-flex", 604 ], 605 function (e, t) { 606 w.setPropertyValue(C, "display", t); 607 } 608 ); 609 } 610 w.setPropertyValue(C, "display", l.display); 611 } 612 for (var S in (l.visibility !== n && 613 "hidden" !== l.visibility && 614 w.setPropertyValue(C, "visibility", l.visibility), 615 k)) 616 if ("element" !== S) { 617 var A, 618 $ = k[S], 619 P = h.isString($.easing) 620 ? y.Easings[$.easing] 621 : $.easing; 622 if (1 === g) A = $.endValue; 623 else { 624 var O = $.endValue - $.startValue; 625 if ( 626 ((A = $.startValue + O * P(g, l, O)), 627 !f && A === $.currentValue) 628 ) 629 continue; 630 } 631 if ((($.currentValue = A), "tween" === S)) v = A; 632 else { 633 if (w.Hooks.registered[S]) { 634 var E = w.Hooks.getRoot(S), 635 I = s(C).rootPropertyValueCache[E]; 636 I && ($.rootPropertyValue = I); 637 } 638 var M = w.setPropertyValue( 639 C, 640 S, 641 $.currentValue + 642 (0 === parseFloat(A) ? "" : $.unitType), 643 $.rootPropertyValue, 644 $.scrollData 645 ); 646 w.Hooks.registered[S] && 647 (s(C).rootPropertyValueCache[E] = w.Normalizations 648 .registered[E] 649 ? w.Normalizations.registered[E]( 650 "extract", 651 null, 652 M[1] 653 ) 654 : M[1]), 655 "transform" === M[0] && (x = !0); 656 } 657 } 658 l.mobileHA && 659 s(C).transformCache.translate3d === n && 660 ((s(C).transformCache.translate3d = "(0px, 0px, 0px)"), 661 (x = !0)), 662 x && w.flushTransformCache(C); 663 } 664 } 665 l.display !== n && 666 "none" !== l.display && 667 (y.State.calls[o][2].display = !1), 668 l.visibility !== n && 669 "hidden" !== l.visibility && 670 (y.State.calls[o][2].visibility = !1), 671 l.progress && 672 l.progress.call( 673 a[1], 674 a[1], 675 g, 676 Math.max(0, p + l.duration - t), 677 p, 678 v 679 ), 680 1 === g && d(o); 681 } 682 } 683 y.State.isTicking && T(c); 684 } 685 function d(e, t) { 686 if (!y.State.calls[e]) return !1; 687 for ( 688 var i = y.State.calls[e][0], 689 o = y.State.calls[e][1], 690 a = y.State.calls[e][2], 691 r = y.State.calls[e][4], 692 l = !1, 693 c = 0, 694 d = i.length; 695 d > c; 696 c++ 697 ) { 698 var p = i[c].element; 699 if ( 700 (t || 701 a.loop || 702 ("none" === a.display && 703 w.setPropertyValue(p, "display", a.display), 704 "hidden" === a.visibility && 705 w.setPropertyValue(p, "visibility", a.visibility)), 706 !0 !== a.loop && 707 (u.queue(p)[1] === n || 708 !/\.velocityQueueEntryFlag/i.test(u.queue(p)[1])) && 709 s(p)) 710 ) { 711 (s(p).isAnimating = !1), (s(p).rootPropertyValueCache = {}); 712 var f = !1; 713 u.each(w.Lists.transforms3D, function (e, t) { 714 var i = /^scale/.test(t) ? 1 : 0, 715 o = s(p).transformCache[t]; 716 s(p).transformCache[t] !== n && 717 new RegExp("^\\(" + i + "[^.]").test(o) && 718 ((f = !0), delete s(p).transformCache[t]); 719 }), 720 a.mobileHA && 721 ((f = !0), delete s(p).transformCache.translate3d), 722 f && w.flushTransformCache(p),
723 w.Values.removeClass(p, "velocity-animating"); 724 } 725 if (!t && a.complete && !a.loop && c === d - 1) 726 try { 727 a.complete.call(o, o); 728 } catch (e) { 729 setTimeout(function () { 730 throw e; 731 }, 1); 732 } 733 r && !0 !== a.loop && r(o), 734 s(p) && 735 !0 === a.loop && 736 !t && 737 (u.each(s(p).tweensContainer, function (e, t) { 738 /^rotate/.test(e) && 739 360 === parseFloat(t.endValue) && 740 ((t.endValue = 0), (t.startValue = 360)), 741 /^backgroundPosition/.test(e) && 742 100 === parseFloat(t.endValue) && 743 "%" === t.unitType && 744 ((t.endValue = 0), (t.startValue = 100)); 745 }), 746 y(p, "reverse", { loop: !0, delay: a.delay })), 747 !1 !== a.queue && u.dequeue(p, a.queue); 748 } 749 y.State.calls[e] = !1; 750 for (var h = 0, v = y.State.calls.length; v > h; h++) 751 if (!1 !== y.State.calls[h]) { 752 l = !0; 753 break; 754 } 755 !1 === l && 756 ((y.State.isTicking = !1), 757 delete y.State.calls, 758 (y.State.calls = [])); 759 } 760 var u, 761 p = (function () { 762 if (i.documentMode) return i.documentMode; 763 for (var e = 7; e > 4; e--) { 764 var t = i.createElement("div"); 765 if ( 766 ((t.innerHTML = 767 "\x3c!--[if IE " + e + "]><span></span><![endif]--\x3e"), 768 t.getElementsByTagName("span").length) 769 ) 770 return (t = null), e; 771 } 772 return n; 773 })(), 774 f = (function () { 775 var e = 0; 776 return ( 777 t.webkitRequestAnimationFrame || 778 t.mozRequestAnimationFrame || 779 function (t) { 780 var i, 781 n = new Date().getTime(); 782 return ( 783 (i = Math.max(0, 16 - (n - e))), 784 (e = n + i), 785 setTimeout(function () { 786 t(n + i); 787 }, i) 788 ); 789 } 790 ); 791 })(), 792 h = { 793 isString: function (e) { 794 return "string" == typeof e; 795 }, 796 isArray: 797 Array.isArray || 798 function (e) { 799 return "[object Array]" === Object.prototype.toString.call(e); 800 }, 801 isFunction: function (e) { 802 return ( 803 "[object Function]" === Object.prototype.toString.call(e) 804 ); 805 }, 806 isNode: function (e) { 807 return e && e.nodeType; 808 }, 809 isNodeList: function (e) { 810 return ( 811 "object" == typeof e && 812 /^\[object (HTMLCollection|NodeList|Object)\]$/.test( 813 Object.prototype.toString.call(e) 814 ) && 815 e.length !== n && 816 (0 === e.length || 817 ("object" == typeof e[0] && e[0].nodeType > 0)) 818 ); 819 }, 820 isWrapped: function (e) { 821 return e && (e.jquery || (t.Zepto && t.Zepto.zepto.isZ(e))); 822 }, 823 isSVG: function (e) { 824 return t.SVGElement && e instanceof t.SVGElement; 825 }, 826 isEmptyObject: function (e) { 827 for (var t in e) return !1; 828 return !0; 829 }, 830 }, 831 v = !1; 832 if ( 833 (e.fn && e.fn.jquery 834 ? ((u = e), (v = !0)) 835 : (u = t.Velocity.Utilities), 836 8 >= p && !v) 837 ) 838 throw new Error( 839 "Velocity: IE8 and below require jQuery to be loaded before Velocity." 840 ); 841 if (!(7 >= p)) { 842 var g = 400, 843 m = "swing", 844 y = { 845 State: { 846 isMobile: 847 /Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test( 848 navigator.userAgent 849 ), 850 isAndroid: /Android/i.test(navigator.userAgent), 851 isGingerbread: /Android 2\.3\.[3-7]/i.test( 852 navigator.userAgent 853 ), 854 isChrome: t.chrome, 855 isFirefox: /Firefox/i.test(navigator.userAgent), 856 prefixElement: i.createElement("div"), 857 prefixMatches: {}, 858 scrollAnchor: null, 859 scrollPropertyLeft: null, 860 scrollPropertyTop: null, 861 isTicking: !1, 862 calls: [], 863 }, 864 CSS: {}, 865 Utilities: u, 866 Redirects: {}, 867 Easings: {}, 868 Promise: t.Promise, 869 defaults: { 870 queue: "", 871 duration: g, 872 easing: m, 873 begin: n, 874 complete: n, 875 progress: n, 876 display: n, 877 visibility: n, 878 loop: !1, 879 delay: !1, 880 mobileHA: !0, 881 _cacheValues: !0, 882 }, 883 init: function (e) { 884 u.data(e, "velocity", { 885 isSVG: h.isSVG(e), 886 isAnimating: !1, 887 computedStyle: null, 888 tweensContainer: null, 889 rootPropertyValueCache: {}, 890 transformCache: {}, 891 }); 892 }, 893 hook: null, 894 mock: !1, 895 version: { major: 1, minor: 2, patch: 2 }, 896 debug: !1, 897 }; 898 t.pageYOffset !== n 899 ? ((y.State.scrollAnchor = t), 900 (y.State.scrollPropertyLeft = "pageXOffset"), 901 (y.State.scrollPropertyTop = "pageYOffset")) 902 : ((y.State.scrollAnchor = 903 i.documentElement || i.body.parentNode || i.body), 904 (y.State.scrollPropertyLeft = "scrollLeft"), 905 (y.State.scrollPropertyTop = "scrollTop")); 906 var b = (function () { 907 function e(e) { 908 return -e.tension * e.x - e.friction * e.v; 909 } 910 function t(t, i, n) { 911 var o = { 912 x: t.x + n.dx * i, 913 v: t.v + n.dv * i, 914 tension: t.tension, 915 friction: t.friction, 916 }; 917 return { dx: o.v, dv: e(o) }; 918 } 919 function i(i, n) { 920 var o = { dx: i.v, dv: e(i) }, 921 s = t(i, 0.5 * n, o), 922 a = t(i, 0.5 * n, s), 923 r = t(i, n, a), 924 l = (1 / 6) * (o.dx + 2 * (s.dx + a.dx) + r.dx), 925 c = (1 / 6) * (o.dv + 2 * (s.dv + a.dv) + r.dv); 926 return (i.x = i.x + l * n), (i.v = i.v + c * n), i; 927 } 928 return function e(t, n, o) { 929 var s, 930 a, 931 r, 932 l = { x: -1, v: 0, tension: null, friction: null }, 933 c = [0], 934 d = 0; 935 for ( 936 t = parseFloat(t) || 500, 937 n = parseFloat(n) || 20, 938 o = o || null, 939 l.tension = t, 940 l.friction = n, 941 (s = null !== o) 942 ? (a = ((d = e(t, n)) / o) * 0.016) 943 : (a = 0.016); 944 (r = i(r || l, a)), 945 c.push(1 + r.x), 946 (d += 16), 947 Math.abs(r.x) > 1e-4 && Math.abs(r.v) > 1e-4; 948 949 ); 950 return s 951 ? function (e) { 952 return c[(e * (c.length - 1)) | 0]; 953 } 954 : d; 955 }; 956 })(); 957 (y.Easings = { 958 linear: function (e) { 959 return e; 960 }, 961 swing: function (e) { 962 return 0.5 - Math.cos(e * Math.PI) / 2; 963 }, 964 spring: function (e) { 965 return 1 - Math.cos(4.5 * e * Math.PI) * Math.exp(6 * -e); 966 }, 967 }), 968 u.each( 969 [ 970 ["ease", [0.25, 0.1, 0.25, 1]], 971 ["ease-in", [0.42, 0, 1, 1]], 972 ["ease-out", [0, 0, 0.58, 1]], 973 ["ease-in-out", [0.42, 0, 0.58, 1]], 974 ["easeInSine", [0.47, 0, 0.745, 0.715]], 975 ["easeOutSine", [0.39, 0.575, 0.565, 1]], 976 ["easeInOutSine", [0.445, 0.05, 0.55, 0.95]], 977 ["easeInQuad", [0.55, 0.085, 0.68, 0.53]], 978 ["easeOutQuad", [0.25, 0.46, 0.45, 0.94]],
979 ["easeInOutQuad", [0.455, 0.03, 0.515, 0.955]], 980 ["easeInCubic", [0.55, 0.055, 0.675, 0.19]], 981 ["easeOutCubic", [0.215, 0.61, 0.355, 1]], 982 ["easeInOutCubic", [0.645, 0.045, 0.355, 1]], 983 ["easeInQuart", [0.895, 0.03, 0.685, 0.22]], 984 ["easeOutQuart", [0.165, 0.84, 0.44, 1]], 985 ["easeInOutQuart", [0.77, 0, 0.175, 1]], 986 ["easeInQuint", [0.755, 0.05, 0.855, 0.06]], 987 ["easeOutQuint", [0.23, 1, 0.32, 1]], 988 ["easeInOutQuint", [0.86, 0, 0.07, 1]], 989 ["easeInExpo", [0.95, 0.05, 0.795, 0.035]], 990 ["easeOutExpo", [0.19, 1, 0.22, 1]], 991 ["easeInOutExpo", [1, 0, 0, 1]], 992 ["easeInCirc", [0.6, 0.04, 0.98, 0.335]], 993 ["easeOutCirc", [0.075, 0.82, 0.165, 1]], 994 ["easeInOutCirc", [0.785, 0.135, 0.15, 0.86]], 995 ], 996 function (e, t) { 997 y.Easings[t[0]] = r.apply(null, t[1]); 998 } 999 ); 1000 var w = (y.CSS = { 1001 RegEx: { 1002 isHex: /^#([A-f\d]{3}){1,2}$/i, 1003 valueUnwrap: /^[A-z]+\((.*)\)$/i, 1004 wrappedValueAlreadyExtracted: 1005 /[0-9.]+ [0-9.]+ [0-9.]+( [0-9.]+)?/, 1006 valueSplit: /([A-z]+\(.+\))|(([A-z0-9#-.]+?)(?=\s|$))/gi, 1007 }, 1008 Lists: { 1009 colors: [ 1010 "fill", 1011 "stroke", 1012 "stopColor", 1013 "color", 1014 "backgroundColor", 1015 "borderColor", 1016 "borderTopColor", 1017 "borderRightColor", 1018 "borderBottomColor", 1019 "borderLeftColor", 1020 "outlineColor", 1021 ], 1022 transformsBase: [ 1023 "translateX", 1024 "translateY", 1025 "scale", 1026 "scaleX", 1027 "scaleY", 1028 "skewX", 1029 "skewY", 1030 "rotateZ", 1031 ], 1032 transforms3D: [ 1033 "transformPerspective", 1034 "translateZ", 1035 "scaleZ", 1036 "rotateX", 1037 "rotateY", 1038 ], 1039 }, 1040 Hooks: { 1041 templates: { 1042 textShadow: ["Color X Y Blur", "black 0px 0px 0px"], 1043 boxShadow: ["Color X Y Blur Spread", "black 0px 0px 0px 0px"], 1044 clip: ["Top Right Bottom Left", "0px 0px 0px 0px"], 1045 backgroundPosition: ["X Y", "0% 0%"], 1046 transformOrigin: ["X Y Z", "50% 50% 0px"], 1047 perspectiveOrigin: ["X Y", "50% 50%"], 1048 }, 1049 registered: {}, 1050 register: function () { 1051 for (s = 0; s < w.Lists.colors.length; s++) { 1052 var e = 1053 "color" === w.Lists.colors[s] 1054 ? "0 0 0 1" 1055 : "255 255 255 1"; 1056 w.Hooks.templates[w.Lists.colors[s]] = [ 1057 "Red Green Blue Alpha", 1058 e, 1059 ]; 1060 } 1061 var t, i, n; 1062 if (p) 1063 for (t in w.Hooks.templates) { 1064 n = (i = w.Hooks.templates[t])[0].split(" "); 1065 var o = i[1].match(w.RegEx.valueSplit); 1066 "Color" === n[0] && 1067 (n.push(n.shift()), 1068 o.push(o.shift()), 1069 (w.Hooks.templates[t] = [n.join(" "), o.join(" ")])); 1070 } 1071 for (t in w.Hooks.templates) 1072 for (var s in (n = (i = w.Hooks.templates[t])[0].split( 1073 " " 1074 ))) { 1075 var a = t + n[s], 1076 r = s; 1077 w.Hooks.registered[a] = [t, r]; 1078 } 1079 }, 1080 getRoot: function (e) { 1081 var t = w.Hooks.registered[e]; 1082 return t ? t[0] : e; 1083 }, 1084 cleanRootPropertyValue: function (e, t) { 1085 return ( 1086 w.RegEx.valueUnwrap.test(t) &&
1087 (t = t.match(w.RegEx.valueUnwrap)[1]), 1088 w.Values.isCSSNullValue(t) && (t = w.Hooks.templates[e][1]), 1089 t 1090 ); 1091 }, 1092 extractValue: function (e, t) { 1093 var i = w.Hooks.registered[e]; 1094 if (i) { 1095 var n = i[0], 1096 o = i[1]; 1097 return (t = w.Hooks.cleanRootPropertyValue(n, t)) 1098 .toString() 1099 .match(w.RegEx.valueSplit)[o]; 1100 } 1101 return t; 1102 }, 1103 injectValue: function (e, t, i) { 1104 var n = w.Hooks.registered[e]; 1105 if (n) { 1106 var o, 1107 s = n[0], 1108 a = n[1]; 1109 return ( 1110 ((o = (i = w.Hooks.cleanRootPropertyValue(s, i)) 1111 .toString() 1112 .match(w.RegEx.valueSplit))[a] = t), 1113 o.join(" ") 1114 ); 1115 } 1116 return i; 1117 }, 1118 }, 1119 Normalizations: { 1120 registered: { 1121 clip: function (e, t, i) { 1122 switch (e) { 1123 case "name": 1124 return "clip"; 1125 case "extract": 1126 var n; 1127 return ( 1128 w.RegEx.wrappedValueAlreadyExtracted.test(i) 1129 ? (n = i) 1130 : (n = (n = i.toString().match(w.RegEx.valueUnwrap)) 1131 ? n[1].replace(/,(\s+)?/g, " ") 1132 : i), 1133 n 1134 ); 1135 case "inject": 1136 return "rect(" + i + ")"; 1137 } 1138 }, 1139 blur: function (e, t, i) { 1140 switch (e) { 1141 case "name": 1142 return y.State.isFirefox ? "filter" : "-webkit-filter"; 1143 case "extract": 1144 var n = parseFloat(i); 1145 if (!n && 0 !== n) { 1146 var o = i.toString().match(/blur\(([0-9]+[A-z]+)\)/i); 1147 n = o ? o[1] : 0; 1148 } 1149 return n; 1150 case "inject": 1151 return parseFloat(i) ? "blur(" + i + ")" : "none"; 1152 } 1153 }, 1154 opacity: function (e, t, i) { 1155 if (8 >= p) 1156 switch (e) { 1157 case "name": 1158 return "filter"; 1159 case "extract": 1160 var n = i.toString().match(/alpha\(opacity=(.*)\)/i); 1161 return n ? n[1] / 100 : 1; 1162 case "inject": 1163 return ( 1164 (t.style.zoom = 1), 1165 parseFloat(i) >= 1 1166 ? "" 1167 : "alpha(opacity=" + 1168 parseInt(100 * parseFloat(i), 10) + 1169 ")" 1170 ); 1171 } 1172 else 1173 switch (e) { 1174 case "name": 1175 return "opacity"; 1176 case "extract": 1177 case "inject": 1178 return i; 1179 } 1180 }, 1181 }, 1182 register: function () { 1183 for ( 1184 9 >= p || 1185 y.State.isGingerbread || 1186 (w.Lists.transformsBase = w.Lists.transformsBase.concat( 1187 w.Lists.transforms3D 1188 )), 1189 e = 0; 1190 e < w.Lists.transformsBase.length; 1191 e++ 1192 ) 1193 !(function () { 1194 var t = w.Lists.transformsBase[e]; 1195 w.Normalizations.registered[t] = function (e, i, o) { 1196 switch (e) { 1197 case "name": 1198 return "transform"; 1199 case "extract": 1200 return s(i) === n || s(i).transformCache[t] === n 1201 ? /^scale/i.test(t) 1202 ? 1 1203 : 0 1204 : s(i).transformCache[t].replace(/[()]/g, ""); 1205 case "inject": 1206 var a = !1; 1207 switch (t.substr(0, t.length - 1)) { 1208 case "translate": 1209 a = !/(%|px|em|rem|vw|vh|\d)$/i.test(o); 1210 break; 1211 case "scal": 1212 case "scale": 1213 y.State.isAndroid && 1214 s(i).transformCache[t] === n && 1215 1 > o && 1216 (o = 1), 1217 (a = !/(\d)$/i.test(o)); 1218 break; 1219 case "skew": 1220 a = !/(deg|\d)$/i.test(o); 1221 break; 1222 case "rotate": 1223 a = !/(deg|\d)$/i.test(o); 1224 } 1225 return ( 1226 a || (s(i).transformCache[t] = "(" + o + ")"), 1227 s(i).transformCache[t] 1228 ); 1229 } 1230 }; 1231 })(); 1232 for (var e = 0; e < w.Lists.colors.length; e++) 1233 !(function () { 1234 var t = w.Lists.colors[e]; 1235 w.Normalizations.registered[t] = function (e, i, o) { 1236 switch (e) { 1237 case "name": 1238 return t; 1239 case "extract": 1240 var s; 1241 if (w.RegEx.wrappedValueAlreadyExtracted.test(o)) 1242 s = o; 1243 else { 1244 var a, 1245 r = { 1246 black: "rgb(0, 0, 0)", 1247 blue: "rgb(0, 0, 255)", 1248 gray: "rgb(128, 128, 128)", 1249 green: "rgb(0, 128, 0)", 1250 red: "rgb(255, 0, 0)", 1251 white: "rgb(255, 255, 255)", 1252 }; 1253 /^[A-z]+$/i.test(o) 1254 ? (a = r[o] !== n ? r[o] : r.black) 1255 : w.RegEx.isHex.test(o) 1256 ? (a = 1257 "rgb(" +
1258 w.Values.hexToRgb(o).join(" ") + 1259 ")") 1260 : /^rgba?\(/i.test(o) || (a = r.black), 1261 (s = (a || o) 1262 .toString() 1263 .match(w.RegEx.valueUnwrap)[1] 1264 .replace(/,(\s+)?/g, " ")); 1265 } 1266 return ( 1267 8 >= p || 1268 3 !== s.split(" ").length || 1269 (s += " 1"), 1270 s 1271 ); 1272 case "inject": 1273 return ( 1274 8 >= p 1275 ? 4 === o.split(" ").length && 1276 (o = o.split(/\s+/).slice(0, 3).join(" ")) 1277 : 3 === o.split(" ").length && (o += " 1"), 1278 (8 >= p ? "rgb" : "rgba") + 1279 "(" + 1280 o 1281 .replace(/\s+/g, ",") 1282 .replace(/\.(\d)+(?=,)/g, "") + 1283 ")" 1284 ); 1285 } 1286 }; 1287 })(); 1288 }, 1289 }, 1290 Names: { 1291 camelCase: function (e) { 1292 return e.replace(/-(\w)/g, function (e, t) { 1293 return t.toUpperCase(); 1294 }); 1295 }, 1296 SVGAttribute: function (e) { 1297 var t = "width|height|x|y|cx|cy|r|rx|ry|x1|x2|y1|y2"; 1298 return ( 1299 (p || (y.State.isAndroid && !y.State.isChrome)) && 1300 (t += "|transform"), 1301 new RegExp("^(" + t + ")$", "i").test(e) 1302 ); 1303 }, 1304 prefixCheck: function (e) { 1305 if (y.State.prefixMatches[e]) 1306 return [y.State.prefixMatches[e], !0]; 1307 for ( 1308 var t = ["", "Webkit", "Moz", "ms", "O"], 1309 i = 0, 1310 n = t.length; 1311 n > i; 1312 i++ 1313 ) { 1314 var o; 1315 if ( 1316 ((o = 1317 0 === i 1318 ? e 1319 : t[i] + 1320 e.replace(/^\w/, function (e) { 1321 return e.toUpperCase(); 1322 })), 1323 h.isString(y.State.prefixElement.style[o])) 1324 ) 1325 return (y.State.prefixMatches[e] = o), [o, !0]; 1326 } 1327 return [e, !1]; 1328 }, 1329 }, 1330 Values: { 1331 hexToRgb: function (e) { 1332 var t; 1333 return ( 1334 (e = e.replace( 1335 /^#?([a-f\d])([a-f\d])([a-f\d])$/i, 1336 function (e, t, i, n) { 1337 return t + t + i + i + n + n; 1338 } 1339 )), 1340 (t = /^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(e)) 1341 ? [ 1342 parseInt(t[1], 16), 1343 parseInt(t[2], 16), 1344 parseInt(t[3], 16), 1345 ] 1346 : [0, 0, 0] 1347 ); 1348 }, 1349 isCSSNullValue: function (e) { 1350 return ( 1351 0 == e || 1352 /^(none|auto|transparent|(rgba\(0, ?0, ?0, ?0\)))$/i.test(e) 1353 ); 1354 }, 1355 getUnitType: function (e) { 1356 return /^(rotate|skew)/i.test(e) 1357 ? "deg" 1358 : /(^(scale|scaleX|scaleY|scaleZ|alpha|flexGrow|flexHeight|zIndex|fontWeight)$)|((opacity|red|green|blue|alpha)$)/i.test( 1359 e 1360 ) 1361 ? "" 1362 : "px"; 1363 }, 1364 getDisplayType: function (e) { 1365 var t = e && e.tagName.toString().toLowerCase(); 1366 return /^(b|big|i|small|tt|abbr|acronym|cite|code|dfn|em|kbd|strong|samp|var|a|bdo|br|img|map|object|q|script|span|sub|sup|button|input|label|select|textarea)$/i.test( 1367 t 1368 ) 1369 ? "inline" 1370 : /^(li)$/i.test(t) 1371 ? "list-item" 1372 : /^(tr)$/i.test(t) 1373 ? "table-row" 1374 : /^(table)$/i.test(t) 1375 ? "table" 1376 : /^(tbody)$/i.test(t) 1377 ? "table-row-group" 1378 : "block"; 1379 }, 1380 addClass: function (e, t) { 1381 e.classList 1382 ? e.classList.add(t) 1383 : (e.className += (e.className.length ? " " : "") + t); 1384 }, 1385 removeClass: function (e, t) { 1386 e.classList 1387 ? e.classList.remove(t) 1388 : (e.className = e.className 1389 .toString() 1390 .replace( 1391 new RegExp( 1392 "(^|\\s)" + t.split(" ").join("|") + "(\\s|$)", 1393 "gi" 1394 ), 1395 " " 1396 )); 1397 }, 1398 }, 1399 getPropertyValue: function (e, i, o, a) { 1400 function r(e, i) { 1401 function o() { 1402 d && w.setPropertyValue(e, "display", "none"); 1403 } 1404 var l = 0; 1405 if (8 >= p) l = u.css(e, i); 1406 else { 1407 var c, 1408 d = !1; 1409 if ( 1410 (/^(width|height)$/.test(i) && 1411 0 === w.getPropertyValue(e, "display") && 1412 ((d = !0), 1413 w.setPropertyValue( 1414 e, 1415 "display",
1416 w.Values.getDisplayType(e) 1417 )), 1418 !a) 1419 ) { 1420 if ( 1421 "height" === i && 1422 "border-box" !== 1423 w 1424 .getPropertyValue(e, "boxSizing") 1425 .toString() 1426 .toLowerCase() 1427 ) { 1428 var f = 1429 e.offsetHeight - 1430 (parseFloat( 1431 w.getPropertyValue(e, "borderTopWidth") 1432 ) || 0) - 1433 (parseFloat( 1434 w.getPropertyValue(e, "borderBottomWidth") 1435 ) || 0) - 1436 (parseFloat(w.getPropertyValue(e, "paddingTop")) || 1437 0) - 1438 (parseFloat(w.getPropertyValue(e, "paddingBottom")) || 1439 0); 1440 return o(), f; 1441 } 1442 if ( 1443 "width" === i && 1444 "border-box" !== 1445 w 1446 .getPropertyValue(e, "boxSizing") 1447 .toString() 1448 .toLowerCase() 1449 ) { 1450 var h = 1451 e.offsetWidth - 1452 (parseFloat( 1453 w.getPropertyValue(e, "borderLeftWidth") 1454 ) || 0) - 1455 (parseFloat( 1456 w.getPropertyValue(e, "borderRightWidth") 1457 ) || 0) - 1458 (parseFloat(w.getPropertyValue(e, "paddingLeft")) || 1459 0) - 1460 (parseFloat(w.getPropertyValue(e, "paddingRight")) || 1461 0); 1462 return o(), h; 1463 } 1464 } 1465 (c = 1466 s(e) === n 1467 ? t.getComputedStyle(e, null) 1468 : s(e).computedStyle 1469 ? s(e).computedStyle 1470 : (s(e).computedStyle = t.getComputedStyle(e, null))), 1471 "borderColor" === i && (i = "borderTopColor"), 1472 ("" === 1473 (l = 1474 9 === p && "filter" === i 1475 ? c.getPropertyValue(i) 1476 : c[i]) || 1477 null === l) && 1478 (l = e.style[i]), 1479 o(); 1480 } 1481 if ("auto" === l && /^(top|right|bottom|left)$/i.test(i)) { 1482 var v = r(e, "position"); 1483 ("fixed" === v || 1484 ("absolute" === v && /top|left/i.test(i))) && 1485 (l = u(e).position()[i] + "px"); 1486 } 1487 return l; 1488 } 1489 var l; 1490 if (w.Hooks.registered[i]) { 1491 var c = i, 1492 d = w.Hooks.getRoot(c); 1493 o === n && 1494 (o = w.getPropertyValue(e, w.Names.prefixCheck(d)[0])), 1495 w.Normalizations.registered[d] && 1496 (o = w.Normalizations.registered[d]("extract", e, o)), 1497 (l = w.Hooks.extractValue(c, o)); 1498 } else if (w.Normalizations.registered[i]) { 1499 var f, h; 1500 "transform" !== 1501 (f = w.Normalizations.registered[i]("name", e)) && 1502 ((h = r(e, w.Names.prefixCheck(f)[0])), 1503 w.Values.isCSSNullValue(h) && 1504 w.Hooks.templates[i] && 1505 (h = w.Hooks.templates[i][1])), 1506 (l = w.Normalizations.registered[i]("extract", e, h)); 1507 } 1508 if (!/^[\d-]/.test(l)) 1509 if (s(e) && s(e).isSVG && w.Names.SVGAttribute(i)) 1510 if (/^(height|width)$/i.test(i)) 1511 try { 1512 l = e.getBBox()[i]; 1513 } catch (e) { 1514 l = 0; 1515 } 1516 else l = e.getAttribute(i); 1517 else l = r(e, w.Names.prefixCheck(i)[0]); 1518 return (
1519 w.Values.isCSSNullValue(l) && (l = 0), 1520 y.debug >= 2 && console.log("Get " + i + ": " + l), 1521 l 1522 ); 1523 }, 1524 setPropertyValue: function (e, i, n, o, a) { 1525 var r = i; 1526 if ("scroll" === i) 1527 a.container 1528 ? (a.container["scroll" + a.direction] = n) 1529 : "Left" === a.direction 1530 ? t.scrollTo(n, a.alternateValue) 1531 : t.scrollTo(a.alternateValue, n); 1532 else if ( 1533 w.Normalizations.registered[i] && 1534 "transform" === w.Normalizations.registered[i]("name", e) 1535 ) 1536 w.Normalizations.registered[i]("inject", e, n), 1537 (r = "transform"), 1538 (n = s(e).transformCache[i]); 1539 else { 1540 if (w.Hooks.registered[i]) { 1541 var l = i, 1542 c = w.Hooks.getRoot(i); 1543 (o = o || w.getPropertyValue(e, c)), 1544 (n = w.Hooks.injectValue(l, n, o)), 1545 (i = c); 1546 } 1547 if ( 1548 (w.Normalizations.registered[i] && 1549 ((n = w.Normalizations.registered[i]("inject", e, n)), 1550 (i = w.Normalizations.registered[i]("name", e))), 1551 (r = w.Names.prefixCheck(i)[0]), 1552 8 >= p) 1553 ) 1554 try { 1555 e.style[r] = n; 1556 } catch (e) { 1557 y.debug && 1558 console.log( 1559 "Browser does not support [" + n + "] for [" + r + "]" 1560 ); 1561 } 1562 else 1563 s(e) && s(e).isSVG && w.Names.SVGAttribute(i) 1564 ? e.setAttribute(i, n) 1565 : (e.style[r] = n); 1566 y.debug >= 2 && 1567 console.log("Set " + i + " (" + r + "): " + n); 1568 } 1569 return [r, n]; 1570 }, 1571 flushTransformCache: function (e) { 1572 function t(t) { 1573 return parseFloat(w.getPropertyValue(e, t)); 1574 } 1575 var i = ""; 1576 if ( 1577 (p || (y.State.isAndroid && !y.State.isChrome)) && 1578 s(e).isSVG 1579 ) { 1580 var n = { 1581 translate: [t("translateX"), t("translateY")], 1582 skewX: [t("skewX")], 1583 skewY: [t("skewY")], 1584 scale: 1585 1 !== t("scale") 1586 ? [t("scale"), t("scale")] 1587 : [t("scaleX"), t("scaleY")], 1588 rotate: [t("rotateZ"), 0, 0], 1589 }; 1590 u.each(s(e).transformCache, function (e) { 1591 /^translate/i.test(e) 1592 ? (e = "translate") 1593 : /^scale/i.test(e) 1594 ? (e = "scale") 1595 : /^rotate/i.test(e) && (e = "rotate"), 1596 n[e] && 1597 ((i += e + "(" + n[e].join(" ") + ") "), delete n[e]); 1598 }); 1599 } else { 1600 var o, a; 1601 u.each(s(e).transformCache, function (t) { 1602 return ( 1603 (o = s(e).transformCache[t]), 1604 "transformPerspective" === t 1605 ? ((a = o), !0) 1606 : (9 === p && "rotateZ" === t && (t = "rotate"), 1607 void (i += t + o + " ")) 1608 ); 1609 }), 1610 a && (i = "perspective" + a + " " + i); 1611 } 1612 w.setPropertyValue(e, "transform", i); 1613 }, 1614 }); 1615 w.Hooks.register(), 1616 w.Normalizations.register(), 1617 (y.hook = function (e, t, i) { 1618 var a = n; 1619 return ( 1620 (e = o(e)), 1621 u.each(e, function (e, o) { 1622 if ((s(o) === n && y.init(o), i === n)) 1623 a === n && (a = y.CSS.getPropertyValue(o, t)); 1624 else { 1625 var r = y.CSS.setPropertyValue(o, t, i); 1626 "transform" === r[0] && y.CSS.flushTransformCache(o), 1627 (a = r); 1628 } 1629 }), 1630 a 1631 ); 1632 }); 1633 var k = function () { 1634 function e() { 1635 return r ? $.promise || null : p; 1636 } 1637 function a() { 1638 function e(e) { 1639 function p(e, t) { 1640 var i = n, 1641 o = n, 1642 s = n; 1643 return ( 1644 h.isArray(e) 1645 ? ((i = e[0]), 1646 (!h.isArray(e[1]) && /^[\d-]/.test(e[1])) || 1647 h.isFunction(e[1]) || 1648 w.RegEx.isHex.test(e[1]) 1649 ? (s = e[1]) 1650 : ((h.isString(e[1]) && 1651 !w.RegEx.isHex.test(e[1])) || 1652 h.isArray(e[1])) && 1653 ((o = t ? e[1] : l(e[1], r.duration)), 1654 e[2] !== n && (s = e[2]))) 1655 : (i = e), 1656 t || (o = o || r.easing), 1657 h.isFunction(i) && (i = i.call(a, x, C)), 1658 h.isFunction(s) && (s = s.call(a, x, C)), 1659 [i || 0, o, s] 1660 ); 1661 } 1662 function f(e, t) { 1663 var i, n; 1664 return ( 1665 (n = (t || "0") 1666 .toString() 1667 .toLowerCase() 1668 .replace(/[%A-z]+$/, function (e) { 1669 return (i = e), ""; 1670 })), 1671 i || (i = w.Values.getUnitType(e)), 1672 [n, i] 1673 ); 1674 } 1675 if (r.begin && 0 === x) 1676 try { 1677 r.begin.call(v, v); 1678 } catch (e) { 1679 setTimeout(function () { 1680 throw e; 1681 }, 1); 1682 } 1683 if ("scroll" === A) { 1684 var g, 1685 k, 1686 T, 1687 S = /^x$/i.test(r.axis) ? "Left" : "Top", 1688 P = parseFloat(r.offset) || 0; 1689 r.container 1690 ? h.isWrapped(r.container) || h.isNode(r.container) 1691 ? ((r.container = r.container[0] || r.container), 1692 (T = 1693 (g = r.container["scroll" + S]) + 1694 u(a).position()[S.toLowerCase()] + 1695 P)) 1696 : (r.container = null) 1697 : ((g = 1698 y.State.scrollAnchor[y.State["scrollProperty" + S]]), 1699 (k = 1700 y.State.scrollAnchor[ 1701 y.State[ 1702 "scrollProperty" + ("Left" === S ? "Top" : "Left") 1703 ] 1704 ]), 1705 (T = u(a).offset()[S.toLowerCase()] + P)), 1706 (d = { 1707 scroll: { 1708 rootPropertyValue: !1, 1709 startValue: g, 1710 currentValue: g, 1711 endValue: T, 1712 unitType: "", 1713 easing: r.easing, 1714 scrollData: { 1715 container: r.container, 1716 direction: S, 1717 alternateValue: k, 1718 }, 1719 }, 1720 element: a, 1721 }), 1722 y.debug && 1723 console.log("tweensContainer (scroll): ", d.scroll, a); 1724 } else if ("reverse" === A) { 1725 if (!s(a).tweensContainer) 1726 return void u.dequeue(a, r.queue); 1727 for (var O in ("none" === s(a).opts.display && 1728 (s(a).opts.display = "auto"), 1729 "hidden" === s(a).opts.visibility && 1730 (s(a).opts.visibility = "visible"), 1731 (s(a).opts.loop = !1), 1732 (s(a).opts.begin = null),
1733 (s(a).opts.complete = null), 1734 b.easing || delete r.easing, 1735 b.duration || delete r.duration, 1736 (r = u.extend({}, s(a).opts, r)), 1737 (I = u.extend(!0, {}, s(a).tweensContainer)))) 1738 if ("element" !== O) { 1739 var E = I[O].startValue; 1740 (I[O].startValue = I[O].currentValue = I[O].endValue), 1741 (I[O].endValue = E), 1742 h.isEmptyObject(b) || (I[O].easing = r.easing), 1743 y.debug && 1744 console.log( 1745 "reverse tweensContainer (" + 1746 O + 1747 "): " + 1748 JSON.stringify(I[O]), 1749 a 1750 ); 1751 } 1752 d = I; 1753 } else if ("start" === A) { 1754 var I; 1755 for (var L in (s(a).tweensContainer && 1756 !0 === s(a).isAnimating && 1757 (I = s(a).tweensContainer), 1758 u.each(m, function (e, t) { 1759 if ( 1760 RegExp("^" + w.Lists.colors.join("$|^") + "$").test(e) 1761 ) { 1762 var i = p(t, !0), 1763 o = i[0], 1764 s = i[1], 1765 a = i[2]; 1766 if (w.RegEx.isHex.test(o)) { 1767 for ( 1768 var r = ["Red", "Green", "Blue"], 1769 l = w.Values.hexToRgb(o), 1770 c = a ? w.Values.hexToRgb(a) : n, 1771 d = 0; 1772 d < r.length; 1773 d++ 1774 ) { 1775 var u = [l[d]]; 1776 s && u.push(s), 1777 c !== n && u.push(c[d]), 1778 (m[e + r[d]] = u); 1779 } 1780 delete m[e]; 1781 } 1782 } 1783 }), 1784 m)) { 1785 var D = p(m[L]), 1786 H = D[0], 1787 _ = D[1], 1788 q = D[2]; 1789 L = w.Names.camelCase(L); 1790 var j = w.Hooks.getRoot(L), 1791 N = !1; 1792 if ( 1793 s(a).isSVG || 1794 "tween" === j || 1795 !1 !== w.Names.prefixCheck(j)[1] || 1796 w.Normalizations.registered[j] !== n 1797 ) { 1798 ((r.display !== n && 1799 null !== r.display && 1800 "none" !== r.display) || 1801 (r.visibility !== n && "hidden" !== r.visibility)) && 1802 /opacity|filter/.test(L) && 1803 !q && 1804 0 !== H && 1805 (q = 0), 1806 r._cacheValues && I && I[L] 1807 ? (q === n && (q = I[L].endValue + I[L].unitType), 1808 (N = s(a).rootPropertyValueCache[j])) 1809 : w.Hooks.registered[L] 1810 ? q === n 1811 ? ((N = w.getPropertyValue(a, j)), 1812 (q = w.getPropertyValue(a, L, N))) 1813 : (N = w.Hooks.templates[j][1]) 1814 : q === n && (q = w.getPropertyValue(a, L)); 1815 var W, 1816 V, 1817 R, 1818 F = !1; 1819 if ( 1820 ((q = (W = f(L, q))[0]), 1821 (R = W[1]), 1822 (H = (W = f(L, H))[0].replace( 1823 /^([+-\/*])=/, 1824 function (e, t) { 1825 return (F = t), ""; 1826 } 1827 )),
1828 (V = W[1]), 1829 (q = parseFloat(q) || 0), 1830 (H = parseFloat(H) || 0), 1831 "%" === V && 1832 (/^(fontSize|lineHeight)$/.test(L) 1833 ? ((H /= 100), (V = "em")) 1834 : /^scale/.test(L) 1835 ? ((H /= 100), (V = "")) 1836 : /(Red|Green|Blue)$/i.test(L) && 1837 ((H = (H / 100) * 255), (V = ""))), 1838 /[\/*]/.test(F)) 1839 ) 1840 V = R; 1841 else if (R !== V && 0 !== q) 1842 if (0 === H) V = R; 1843 else { 1844 o = 1845 o || 1846 (function () { 1847 var e = { 1848 myParent: a.parentNode || i.body, 1849 position: w.getPropertyValue(a, "position"), 1850 fontSize: w.getPropertyValue(a, "fontSize"), 1851 }, 1852 n = 1853 e.position === M.lastPosition && 1854 e.myParent === M.lastParent, 1855 o = e.fontSize === M.lastFontSize; 1856 (M.lastParent = e.myParent), 1857 (M.lastPosition = e.position), 1858 (M.lastFontSize = e.fontSize); 1859 var r = 100, 1860 l = {}; 1861 if (o && n) 1862 (l.emToPx = M.lastEmToPx), 1863 (l.percentToPxWidth = 1864 M.lastPercentToPxWidth), 1865 (l.percentToPxHeight = 1866 M.lastPercentToPxHeight); 1867 else { 1868 var c = s(a).isSVG 1869 ? i.createElementNS( 1870 "http://www.w3.org/2000/svg", 1871 "rect" 1872 ) 1873 : i.createElement("div"); 1874 y.init(c), 1875 e.myParent.appendChild(c), 1876 u.each( 1877 ["overflow", "overflowX", "overflowY"], 1878 function (e, t) { 1879 y.CSS.setPropertyValue(c, t, "hidden"); 1880 } 1881 ), 1882 y.CSS.setPropertyValue( 1883 c, 1884 "position", 1885 e.position 1886 ), 1887 y.CSS.setPropertyValue( 1888 c, 1889 "fontSize", 1890 e.fontSize 1891 ), 1892 y.CSS.setPropertyValue( 1893 c, 1894 "boxSizing", 1895 "content-box" 1896 ), 1897 u.each( 1898 [ 1899 "minWidth", 1900 "maxWidth", 1901 "width", 1902 "minHeight", 1903 "maxHeight", 1904 "height", 1905 ], 1906 function (e, t) { 1907 y.CSS.setPropertyValue(c, t, r + "%"); 1908 } 1909 ), 1910 y.CSS.setPropertyValue( 1911 c, 1912 "paddingLeft", 1913 r + "em" 1914 ), 1915 (l.percentToPxWidth = 1916 M.lastPercentToPxWidth = 1917 (parseFloat( 1918 w.getPropertyValue( 1919 c, 1920 "width", 1921 null, 1922 !0 1923 ) 1924 ) || 1) / r), 1925 (l.percentToPxHeight = 1926 M.lastPercentToPxHeight = 1927 (parseFloat( 1928 w.getPropertyValue( 1929 c, 1930 "height", 1931 null, 1932 !0 1933 ) 1934 ) || 1) / r), 1935 (l.emToPx = M.lastEmToPx = 1936 (parseFloat( 1937 w.getPropertyValue(c, "paddingLeft") 1938 ) || 1) / r), 1939 e.myParent.removeChild(c); 1940 } 1941 return ( 1942 null === M.remToPx && 1943 (M.remToPx = 1944 parseFloat( 1945 w.getPropertyValue(i.body, "fontSize") 1946 ) || 16), 1947 null === M.vwToPx && 1948 ((M.vwToPx = 1949 parseFloat(t.innerWidth) / 100), 1950 (M.vhToPx =
1951 parseFloat(t.innerHeight) / 100)), 1952 (l.remToPx = M.remToPx), 1953 (l.vwToPx = M.vwToPx), 1954 (l.vhToPx = M.vhToPx), 1955 y.debug >= 1 && 1956 console.log( 1957 "Unit ratios: " + JSON.stringify(l), 1958 a 1959 ), 1960 l 1961 ); 1962 })(); 1963 var B = 1964 /margin|padding|left|right|width|text|word|letter/i.test( 1965 L 1966 ) || 1967 /X$/.test(L) || 1968 "x" === L 1969 ? "x" 1970 : "y"; 1971 switch (R) { 1972 case "%": 1973 q *= 1974 "x" === B 1975 ? o.percentToPxWidth 1976 : o.percentToPxHeight; 1977 break; 1978 case "px": 1979 break; 1980 default: 1981 q *= o[R + "ToPx"]; 1982 } 1983 switch (V) { 1984 case "%": 1985 q *= 1986 1 / 1987 ("x" === B 1988 ? o.percentToPxWidth 1989 : o.percentToPxHeight); 1990 break; 1991 case "px": 1992 break; 1993 default: 1994 q *= 1 / o[V + "ToPx"]; 1995 } 1996 } 1997 switch (F) { 1998 case "+": 1999 H = q + H; 2000 break; 2001 case "-": 2002 H = q - H; 2003 break; 2004 case "*": 2005 H *= q; 2006 break; 2007 case "/": 2008 H = q / H; 2009 } 2010 (d[L] = { 2011 rootPropertyValue: N, 2012 startValue: q, 2013 currentValue: q, 2014 endValue: H, 2015 unitType: V, 2016 easing: _, 2017 }), 2018 y.debug && 2019 console.log( 2020 "tweensContainer (" + 2021 L + 2022 "): " + 2023 JSON.stringify(d[L]), 2024 a 2025 ); 2026 } else 2027 y.debug && 2028 console.log( 2029 "Skipping [" + 2030 j + 2031 "] due to a lack of browser support." 2032 ); 2033 } 2034 d.element = a; 2035 } 2036 d.element && 2037 (w.Values.addClass(a, "velocity-animating"), 2038 z.push(d), 2039 "" === r.queue && 2040 ((s(a).tweensContainer = d), (s(a).opts = r)), 2041 (s(a).isAnimating = !0), 2042 x === C - 1 2043 ? (y.State.calls.push([z, v, r, null, $.resolver]), 2044 !1 === y.State.isTicking && 2045 ((y.State.isTicking = !0), c())) 2046 : x++); 2047 } 2048 var o, 2049 a = this, 2050 r = u.extend({}, y.defaults, b), 2051 d = {}; 2052 switch ( 2053 (s(a) === n && y.init(a), 2054 parseFloat(r.delay) && 2055 !1 !== r.queue && 2056 u.queue(a, r.queue, function (e) { 2057 (y.velocityQueueEntryFlag = !0), 2058 (s(a).delayTimer = { 2059 setTimeout: setTimeout(e, parseFloat(r.delay)), 2060 next: e, 2061 }); 2062 }), 2063 r.duration.toString().toLowerCase()) 2064 ) { 2065 case "fast": 2066 r.duration = 200; 2067 break; 2068 case "normal": 2069 r.duration = g; 2070 break; 2071 case "slow": 2072 r.duration = 600; 2073 break; 2074 default: 2075 r.duration = parseFloat(r.duration) || 1; 2076 } 2077 !1 !== y.mock && 2078 (!0 === y.mock 2079 ? (r.duration = r.delay = 1) 2080 : ((r.duration *= parseFloat(y.mock) || 1), 2081 (r.delay *= parseFloat(y.mock) || 1))), 2082 (r.easing = l(r.easing, r.duration)), 2083 r.begin && !h.isFunction(r.begin) && (r.begin = null),
2084 r.progress && 2085 !h.isFunction(r.progress) && 2086 (r.progress = null), 2087 r.complete && 2088 !h.isFunction(r.complete) && 2089 (r.complete = null), 2090 r.display !== n && 2091 null !== r.display && 2092 ((r.display = r.display.toString().toLowerCase()), 2093 "auto" === r.display && 2094 (r.display = y.CSS.Values.getDisplayType(a))), 2095 r.visibility !== n && 2096 null !== r.visibility && 2097 (r.visibility = r.visibility.toString().toLowerCase()), 2098 (r.mobileHA = 2099 r.mobileHA && y.State.isMobile && !y.State.isGingerbread), 2100 !1 === r.queue 2101 ? r.delay 2102 ? setTimeout(e, r.delay) 2103 : e() 2104 : u.queue(a, r.queue, function (t, i) { 2105 return !0 === i 2106 ? ($.promise && $.resolver(v), !0) 2107 : ((y.velocityQueueEntryFlag = !0), void e(t)); 2108 }), 2109 ("" !== r.queue && "fx" !== r.queue) || 2110 "inprogress" === u.queue(a)[0] || 2111 u.dequeue(a); 2112 } 2113 var r, 2114 p, 2115 f, 2116 v, 2117 m, 2118 b, 2119 T = 2120 arguments[0] && 2121 (arguments[0].p || 2122 (u.isPlainObject(arguments[0].properties) && 2123 !arguments[0].properties.names) || 2124 h.isString(arguments[0].properties)); 2125 if ( 2126 (h.isWrapped(this) 2127 ? ((r = !1), (f = 0), (v = this), (p = this)) 2128 : ((r = !0), 2129 (f = 1), 2130 (v = T 2131 ? arguments[0].elements || arguments[0].e 2132 : arguments[0])), 2133 (v = o(v))) 2134 ) { 2135 T 2136 ? ((m = arguments[0].properties || arguments[0].p), 2137 (b = arguments[0].options || arguments[0].o)) 2138 : ((m = arguments[f]), (b = arguments[f + 1])); 2139 var C = v.length, 2140 x = 0; 2141 if (!/^(stop|finish)$/i.test(m) && !u.isPlainObject(b)) { 2142 b = {}; 2143 for (var S = f + 1; S < arguments.length; S++) 2144 h.isArray(arguments[S]) || 2145 (!/^(fast|normal|slow)$/i.test(arguments[S]) && 2146 !/^\d/.test(arguments[S])) 2147 ? h.isString(arguments[S]) || h.isArray(arguments[S]) 2148 ? (b.easing = arguments[S]) 2149 : h.isFunction(arguments[S]) && 2150 (b.complete = arguments[S]) 2151 : (b.duration = arguments[S]); 2152 } 2153 var A, 2154 $ = { promise: null, resolver: null, rejecter: null }; 2155 switch ( 2156 (r && 2157 y.Promise && 2158 ($.promise = new y.Promise(function (e, t) { 2159 ($.resolver = e), ($.rejecter = t); 2160 })), 2161 m) 2162 ) { 2163 case "scroll": 2164 A = "scroll"; 2165 break; 2166 case "reverse": 2167 A = "reverse"; 2168 break; 2169 case "finish": 2170 case "stop": 2171 u.each(v, function (e, t) { 2172 s(t) && 2173 s(t).delayTimer && 2174 (clearTimeout(s(t).delayTimer.setTimeout), 2175 s(t).delayTimer.next && s(t).delayTimer.next(), 2176 delete s(t).delayTimer); 2177 }); 2178 var P = []; 2179 return ( 2180 u.each(y.State.calls, function (e, t) { 2181 t && 2182 u.each(t[1], function (i, o) { 2183 var a = b === n ? "" : b; 2184 return ( 2185 (!0 !== a && 2186 t[2].queue !== a && 2187 (b !== n || !1 !== t[2].queue)) || 2188 void u.each(v, function (i, n) { 2189 n === o && 2190 ((!0 === b || h.isString(b)) && 2191 (u.each( 2192 u.queue(n, h.isString(b) ? b : ""), 2193 function (e, t) { 2194 h.isFunction(t) && t(null, !0); 2195 } 2196 ), 2197 u.queue(n, h.isString(b) ? b : "", [])), 2198 "stop" === m 2199 ? (s(n) && 2200 s(n).tweensContainer && 2201 !1 !== a && 2202 u.each( 2203 s(n).tweensContainer, 2204 function (e, t) { 2205 t.endValue = t.currentValue; 2206 } 2207 ), 2208 P.push(e)) 2209 : "finish" === m && (t[2].duration = 1)); 2210 }) 2211 ); 2212 }); 2213 }), 2214 "stop" === m && 2215 (u.each(P, function (e, t) { 2216 d(t, !0); 2217 }), 2218 $.promise && $.resolver(v)), 2219 e() 2220 ); 2221 default: 2222 if (!u.isPlainObject(m) || h.isEmptyObject(m)) { 2223 if (h.isString(m) && y.Redirects[m]) { 2224 var O = (D = u.extend({}, b)).duration, 2225 E = D.delay || 0; 2226 return ( 2227 !0 === D.backwards && 2228 (v = u.extend(!0, [], v).reverse()), 2229 u.each(v, function (e, t) { 2230 parseFloat(D.stagger)
2231 ? (D.delay = E + parseFloat(D.stagger) * e) 2232 : h.isFunction(D.stagger) && 2233 (D.delay = E + D.stagger.call(t, e, C)), 2234 D.drag && 2235 ((D.duration = 2236 parseFloat(O) || 2237 (/^(callout|transition)/.test(m) ? 1e3 : g)), 2238 (D.duration = Math.max( 2239 D.duration * 2240 (D.backwards ? 1 - e / C : (e + 1) / C), 2241 0.75 * D.duration, 2242 200 2243 ))), 2244 y.Redirects[m].call( 2245 t, 2246 t, 2247 D || {}, 2248 e, 2249 C, 2250 v, 2251 $.promise ? $ : n 2252 ); 2253 }), 2254 e() 2255 ); 2256 } 2257 var I = 2258 "Velocity: First argument (" + 2259 m + 2260 ") was not a property map, a known action, or a registered redirect. Aborting."; 2261 return ( 2262 $.promise ? $.rejecter(new Error(I)) : console.log(I), 2263 e() 2264 ); 2265 } 2266 A = "start"; 2267 } 2268 var M = { 2269 lastParent: null, 2270 lastPosition: null, 2271 lastFontSize: null, 2272 lastPercentToPxWidth: null, 2273 lastPercentToPxHeight: null, 2274 lastEmToPx: null, 2275 remToPx: null, 2276 vwToPx: null, 2277 vhToPx: null, 2278 }, 2279 z = []; 2280 u.each(v, function (e, t) { 2281 h.isNode(t) && a.call(t); 2282 }); 2283 var L, 2284 D = u.extend({}, y.defaults, b); 2285 if (((D.loop = parseInt(D.loop)), (L = 2 * D.loop - 1), D.loop)) 2286 for (var H = 0; L > H; H++) { 2287 var _ = { delay: D.delay, progress: D.progress }; 2288 H === L - 1 && 2289 ((_.display = D.display), 2290 (_.visibility = D.visibility), 2291 (_.complete = D.complete)), 2292 k(v, "reverse", _); 2293 } 2294 return e(); 2295 } 2296 }; 2297 (y = u.extend(k, y)).animate = k; 2298 var T = t.requestAnimationFrame || f; 2299 return ( 2300 y.State.isMobile || 2301 i.hidden === n || 2302 i.addEventListener("visibilitychange", function () { 2303 i.hidden 2304 ? ((T = function (e) { 2305 return setTimeout(function () { 2306 e(!0); 2307 }, 16); 2308 }), 2309 c()) 2310 : (T = t.requestAnimationFrame || f); 2311 }), 2312 (e.Velocity = y), 2313 e !== t && 2314 ((e.fn.velocity = k), (e.fn.velocity.defaults = y.defaults)), 2315 u.each(["Down", "Up"], function (e, t) { 2316 y.Redirects["slide" + t] = function (e, i, o, s, a, r) { 2317 var l = u.extend({}, i), 2318 c = l.begin, 2319 d = l.complete, 2320 p = { 2321 height: "", 2322 marginTop: "", 2323 marginBottom: "", 2324 paddingTop: "", 2325 paddingBottom: "", 2326 }, 2327 f = {}; 2328 l.display === n && 2329 (l.display = 2330 "Down" === t 2331 ? "inline" === y.CSS.Values.getDisplayType(e) 2332 ? "inline-block" 2333 : "block" 2334 : "none"), 2335 (l.begin = function () { 2336 for (var i in (c && c.call(a, a), p)) { 2337 f[i] = e.style[i]; 2338 var n = y.CSS.getPropertyValue(e, i); 2339 p[i] = "Down" === t ? [n, 0] : [0, n]; 2340 } 2341 (f.overflow = e.style.overflow), 2342 (e.style.overflow = "hidden"); 2343 }), 2344 (l.complete = function () { 2345 for (var t in f) e.style[t] = f[t]; 2346 d && d.call(a, a), r && r.resolver(a); 2347 }), 2348 y(e, p, l); 2349 }; 2350 }), 2351 u.each(["In", "Out"], function (e, t) { 2352 y.Redirects["fade" + t] = function (e, i, o, s, a, r) { 2353 var l = u.extend({}, i), 2354 c = { opacity: "In" === t ? 1 : 0 }, 2355 d = l.complete; 2356 (l.complete = 2357 o !== s - 1 2358 ? (l.begin = null) 2359 : function () { 2360 d && d.call(a, a), r && r.resolver(a); 2361 }), 2362 l.display === n &&
2363 (l.display = "In" === t ? "auto" : "none"), 2364 y(this, c, l); 2365 }; 2366 }), 2367 y 2368 ); 2369 } 2370 jQuery.fn.velocity = jQuery.fn.animate; 2371 })(window.jQuery || window.Zepto || window, window, document); 2372 })), 2373 (function (e, t, i, n) { 2374 "use strict"; 2375 function o(e, t, i) { 2376 return setTimeout(d(e, i), t); 2377 } 2378 function s(e, t, i) { 2379 return !!Array.isArray(e) && (a(e, i[t], i), !0); 2380 } 2381 function a(e, t, i) { 2382 var o; 2383 if (e) 2384 if (e.forEach) e.forEach(t, i); 2385 else if (e.length !== n) 2386 for (o = 0; o < e.length; ) t.call(i, e[o], o, e), o++; 2387 else for (o in e) e.hasOwnProperty(o) && t.call(i, e[o], o, e); 2388 } 2389 function r(e, t, i) { 2390 for (var o = Object.keys(t), s = 0; s < o.length; ) 2391 (!i || (i && e[o[s]] === n)) && (e[o[s]] = t[o[s]]), s++; 2392 return e; 2393 } 2394 function l(e, t) { 2395 return r(e, t, !0); 2396 } 2397 function c(e, t, i) { 2398 var n, 2399 o = t.prototype; 2400 ((n = e.prototype = Object.create(o)).constructor = e), 2401 (n._super = o), 2402 i && r(n, i); 2403 } 2404 function d(e, t) { 2405 return function () { 2406 return e.apply(t, arguments); 2407 }; 2408 } 2409 function u(e, t) { 2410 return typeof e == te ? e.apply((t && t[0]) || n, t) : e; 2411 } 2412 function p(e, t) { 2413 return e === n ? t : e; 2414 } 2415 function f(e, t, i) { 2416 a(m(t), function (t) { 2417 e.addEventListener(t, i, !1); 2418 }); 2419 } 2420 function h(e, t, i) { 2421 a(m(t), function (t) { 2422 e.removeEventListener(t, i, !1); 2423 }); 2424 } 2425 function v(e, t) { 2426 for (; e; ) { 2427 if (e == t) return !0; 2428 e = e.parentNode; 2429 } 2430 return !1; 2431 } 2432 function g(e, t) { 2433 return e.indexOf(t) > -1; 2434 } 2435 function m(e) { 2436 return e.trim().split(/\s+/g); 2437 } 2438 function y(e, t, i) { 2439 if (e.indexOf && !i) return e.indexOf(t); 2440 for (var n = 0; n < e.length; ) { 2441 if ((i && e[n][i] == t) || (!i && e[n] === t)) return n; 2442 n++; 2443 } 2444 return -1; 2445 } 2446 function b(e) { 2447 return Array.prototype.slice.call(e, 0); 2448 } 2449 function w(e, t, i) { 2450 for (var n = [], o = [], s = 0; s < e.length; ) { 2451 var a = t ? e[s][t] : e[s]; 2452 y(o, a) < 0 && n.push(e[s]), (o[s] = a), s++; 2453 } 2454 return ( 2455 i && 2456 (n = t 2457 ? n.sort(function (e, i) { 2458 return e[t] > i[t]; 2459 }) 2460 : n.sort()), 2461 n 2462 ); 2463 } 2464 function k(e, t) { 2465 for ( 2466 var i, o, s = t[0].toUpperCase() + t.slice(1), a = 0; 2467 a < K.length; 2468 2469 ) { 2470 if ((o = (i = K[a]) ? i + s : t) in e) return o; 2471 a++; 2472 } 2473 return n; 2474 } 2475 function T(e) { 2476 var t = e.ownerDocument; 2477 return t.defaultView || t.parentWindow; 2478 } 2479 function C(e, t) { 2480 var i = this; 2481 (this.manager = e), 2482 (this.callback = t), 2483 (this.element = e.element), 2484 (this.target = e.options.inputTarget), 2485 (this.domHandler = function (t) { 2486 u(e.options.enable, [e]) && i.handler(t); 2487 }), 2488 this.init(); 2489 } 2490 function x(e, t, i) { 2491 var n = i.pointers.length, 2492 o = i.changedPointers.length, 2493 s = t & pe && 0 == n - o, 2494 a = t & (he | ve) && 0 == n - o; 2495 (i.isFirst = !!s), 2496 (i.isFinal = !!a), 2497 s && (e.session = {}), 2498 (i.eventType = t), 2499 (function (e, t) { 2500 var i = e.session, 2501 n = t.pointers, 2502 o = n.length; 2503 i.firstInput || (i.firstInput = A(t)), 2504 o > 1 && !i.firstMultiple 2505 ? (i.firstMultiple = A(t)) 2506 : 1 === o && (i.firstMultiple = !1); 2507 var s = i.firstInput, 2508 a = i.firstMultiple, 2509 r = a ? a.center : s.center, 2510 l = (t.center = $(n)); 2511 (t.timeStamp = oe()), 2512 (t.deltaTime = t.timeStamp - s.timeStamp), 2513 (t.angle = E(r, l)), 2514 (t.distance = O(r, l)), 2515 (function (e, t) { 2516 var i = t.center, 2517 n = e.offsetDelta || {}, 2518 o = e.prevDelta || {}, 2519 s = e.prevInput || {}; 2520 (t.eventType === pe || s.eventType === he) && 2521 ((o = e.prevDelta = { x: s.deltaX || 0, y: s.deltaY || 0 }), 2522 (n = e.offsetDelta = { x: i.x, y: i.y })), 2523 (t.deltaX = o.x + (i.x - n.x)), 2524 (t.deltaY = o.y + (i.y - n.y)); 2525 })(i, t), 2526 (t.offsetDirection = P(t.deltaX, t.deltaY)), 2527 (t.scale = a 2528 ? (function (e, t) { 2529 return O(t[0], t[1], Se) / O(e[0], e[1], Se); 2530 })(a.pointers, n) 2531 : 1), 2532 (t.rotation = a 2533 ? (function (e, t) { 2534 return E(t[1], t[0], Se) - E(e[1], e[0], Se); 2535 })(a.pointers, n) 2536 : 0), 2537 S(i, t); 2538 var c = e.element; 2539 v(t.srcEvent.target, c) && (c = t.srcEvent.target), (t.target = c); 2540 })(e, i), 2541 e.emit("hammer.input", i), 2542 e.recognize(i), 2543 (e.session.prevInput = i); 2544 } 2545 function S(e, t) { 2546 var i, 2547 o, 2548 s, 2549 a, 2550 r = e.lastInterval || t, 2551 l = t.timeStamp - r.timeStamp; 2552 if (t.eventType != ve && (l > ue || r.velocity === n)) { 2553 var c = r.deltaX - t.deltaX, 2554 d = r.deltaY - t.deltaY, 2555 u = (function (e, t, i) { 2556 return { x: t / e || 0, y: i / e || 0 }; 2557 })(l, c, d); 2558 (o = u.x), 2559 (s = u.y), 2560 (i = ne(u.x) > ne(u.y) ? u.x : u.y), 2561 (a = P(c, d)), 2562 (e.lastInterval = t); 2563 } else 2564 (i = r.velocity), 2565 (o = r.velocityX), 2566 (s = r.velocityY), 2567 (a = r.direction); 2568 (t.velocity = i), (t.velocityX = o), (t.velocityY = s), (t.direction = a); 2569 } 2570 function A(e) { 2571 for (var t = [], i = 0; i < e.pointers.length; ) 2572 (t[i] = { 2573 clientX: ie(e.pointers[i].clientX), 2574 clientY: ie(e.pointers[i].clientY), 2575 }), 2576 i++; 2577 return { 2578 timeStamp: oe(), 2579 pointers: t, 2580 center: $(t), 2581 deltaX: e.deltaX, 2582 deltaY: e.deltaY, 2583 }; 2584 } 2585 function $(e) { 2586 var t = e.length; 2587 if (1 === t) return { x: ie(e[0].clientX), y: ie(e[0].clientY) }; 2588 for (var i = 0, n = 0, o = 0; t > o; ) 2589 (i += e[o].clientX), (n += e[o].clientY), o++; 2590 return { x: ie(i / t), y: ie(n / t) }; 2591 } 2592 function P(e, t) { 2593 return e === t 2594 ? ge 2595 : ne(e) >= ne(t) 2596 ? e > 0 2597 ? me 2598 : ye 2599 : t > 0 2600 ? be 2601 : we; 2602 } 2603 function O(e, t, i) { 2604 i || (i = xe); 2605 var n = t[i[0]] - e[i[0]], 2606 o = t[i[1]] - e[i[1]]; 2607 return Math.sqrt(n * n + o * o); 2608 } 2609 function E(e, t, i) { 2610 i || (i = xe); 2611 var n = t[i[0]] - e[i[0]], 2612 o = t[i[1]] - e[i[1]]; 2613 return (180 * Math.atan2(o, n)) / Math.PI; 2614 } 2615 function I() { 2616 (this.evEl = $e), 2617 (this.evWin = Pe), 2618 (this.allow = !0), 2619 (this.pressed = !1), 2620 C.apply(this, arguments); 2621 } 2622 function M() { 2623 (this.evEl = Ie), 2624 (this.evWin = Me), 2625 C.apply(this, arguments), 2626 (this.store = this.manager.session.pointerEvents = []); 2627 } 2628 function z() { 2629 (this.evTarget = Le), 2630 (this.evWin = De), 2631 (this.started = !1), 2632 C.apply(this, arguments); 2633 } 2634 function L(e, t) { 2635 var i = b(e.touches), 2636 n = b(e.changedTouches); 2637 return t & (he | ve) && (i = w(i.concat(n), "identifier", !0)), [i, n]; 2638 } 2639 function D() { 2640 (this.evTarget = _e), (this.targetIds = {}), C.apply(this, arguments); 2641 } 2642 function H(e, t) { 2643 var i = b(e.touches), 2644 n = this.targetIds; 2645 if (t & (pe | fe) && 1 === i.length) 2646 return (n[i[0].identifier] = !0), [i, i]; 2647 var o, 2648 s, 2649 a = b(e.changedTouches), 2650 r = [], 2651 l = this.target; 2652 if ( 2653 ((s = i.filter(function (e) { 2654 return v(e.target, l); 2655 })), 2656 t === pe) 2657 ) 2658 for (o = 0; o < s.length; ) (n[s[o].identifier] = !0), o++; 2659 for (o = 0; o < a.length; ) 2660 n[a[o].identifier] && r.push(a[o]), 2661 t & (he | ve) && delete n[a[o].identifier], 2662 o++; 2663 return r.length ? [w(s.concat(r), "identifier", !0), r] : void 0; 2664 } 2665 function _() { 2666 C.apply(this, arguments); 2667 var e = d(this.handler, this); 2668 (this.touch = new D(this.manager, e)), 2669 (this.mouse = new I(this.manager, e)); 2670 } 2671 function q(e, t) { 2672 (this.manager = e), this.set(t); 2673 } 2674 function j(e) { 2675 (this.id = se++), 2676 (this.manager = null),
2677 (this.options = l(e || {}, this.defaults)), 2678 (this.options.enable = p(this.options.enable, !0)), 2679 (this.state = Qe), 2680 (this.simultaneous = {}), 2681 (this.requireFail = []); 2682 } 2683 function N(e) { 2684 return e == we 2685 ? "down" 2686 : e == be 2687 ? "up" 2688 : e == me 2689 ? "left" 2690 : e == ye 2691 ? "right" 2692 : ""; 2693 } 2694 function W(e, t) { 2695 var i = t.manager; 2696 return i ? i.get(e) : e; 2697 } 2698 function V() { 2699 j.apply(this, arguments); 2700 } 2701 function R() { 2702 V.apply(this, arguments), (this.pX = null), (this.pY = null); 2703 } 2704 function F() { 2705 V.apply(this, arguments); 2706 } 2707 function B() { 2708 j.apply(this, arguments), (this._timer = null), (this._input = null); 2709 } 2710 function Q() { 2711 V.apply(this, arguments); 2712 } 2713 function X() { 2714 V.apply(this, arguments); 2715 } 2716 function Y() { 2717 j.apply(this, arguments), 2718 (this.pTime = !1), 2719 (this.pCenter = !1), 2720 (this._timer = null), 2721 (this._input = null), 2722 (this.count = 0); 2723 } 2724 function U(e, t) { 2725 return ( 2726 ((t = t || {}).recognizers = p(t.recognizers, U.defaults.preset)), 2727 new G(e, t) 2728 ); 2729 } 2730 function G(e, t) { 2731 (t = t || {}), 2732 (this.options = l(t, U.defaults)), 2733 (this.options.inputTarget = this.options.inputTarget || e), 2734 (this.handlers = {}), 2735 (this.session = {}), 2736 (this.recognizers = []), 2737 (this.element = e), 2738 (this.input = (function (e) { 2739 return new (e.options.inputClass || (re ? M : le ? D : ae ? _ : I))( 2740 e, 2741 x 2742 ); 2743 })(this)), 2744 (this.touchAction = new q(this, this.options.touchAction)), 2745 Z(this, !0), 2746 a( 2747 t.recognizers, 2748 function (e) { 2749 var t = this.add(new e[0](e[1])); 2750 e[2] && t.recognizeWith(e[2]), e[3] && t.requireFailure(e[3]); 2751 }, 2752 this 2753 ); 2754 } 2755 function Z(e, t) { 2756 var i = e.element; 2757 a(e.options.cssProps, function (e, n) { 2758 i.style[k(i.style, n)] = t ? e : ""; 2759 }); 2760 } 2761 function J(e, i) { 2762 var n = t.createEvent("Event"); 2763 n.initEvent(e, !0, !0), (n.gesture = i), i.target.dispatchEvent(n); 2764 } 2765 var K = ["", "webkit", "moz", "MS", "ms", "o"], 2766 ee = t.createElement("div"), 2767 te = "function", 2768 ie = Math.round, 2769 ne = Math.abs, 2770 oe = Date.now, 2771 se = 1, 2772 ae = "ontouchstart" in e, 2773 re = k(e, "PointerEvent") !== n, 2774 le = 2775 ae && /mobile|tablet|ip(ad|hone|od)|android/i.test(navigator.userAgent), 2776 ce = "touch", 2777 de = "mouse", 2778 ue = 25, 2779 pe = 1, 2780 fe = 2, 2781 he = 4, 2782 ve = 8, 2783 ge = 1, 2784 me = 2, 2785 ye = 4, 2786 be = 8, 2787 we = 16, 2788 ke = me | ye, 2789 Te = be | we, 2790 Ce = ke | Te, 2791 xe = ["x", "y"], 2792 Se = ["clientX", "clientY"]; 2793 C.prototype = { 2794 handler: function () {}, 2795 init: function () { 2796 this.evEl && f(this.element, this.evEl, this.domHandler), 2797 this.evTarget && f(this.target, this.evTarget, this.domHandler), 2798 this.evWin && f(T(this.element), this.evWin, this.domHandler); 2799 }, 2800 destroy: function () { 2801 this.evEl && h(this.element, this.evEl, this.domHandler), 2802 this.evTarget && h(this.target, this.evTarget, this.domHandler), 2803 this.evWin && h(T(this.element), this.evWin, this.domHandler); 2804 }, 2805 }; 2806 var Ae = { mousedown: pe, mousemove: fe, mouseup: he }, 2807 $e = "mousedown", 2808 Pe = "mousemove mouseup"; 2809 c(I, C, { 2810 handler: function (e) { 2811 var t = Ae[e.type]; 2812 t & pe && 0 === e.button && (this.pressed = !0), 2813 t & fe && 1 !== e.which && (t = he), 2814 this.pressed && 2815 this.allow && 2816 (t & he && (this.pressed = !1), 2817 this.callback(this.manager, t, { 2818 pointers: [e], 2819 changedPointers: [e], 2820 pointerType: de, 2821 srcEvent: e, 2822 })); 2823 }, 2824 }); 2825 var Oe = { 2826 pointerdown: pe, 2827 pointermove: fe, 2828 pointerup: he, 2829 pointercancel: ve, 2830 pointerout: ve, 2831 }, 2832 Ee = { 2: ce, 3: "pen", 4: de, 5: "kinect" }, 2833 Ie = "pointerdown", 2834 Me = "pointermove pointerup pointercancel"; 2835 e.MSPointerEvent && 2836 ((Ie = "MSPointerDown"), 2837 (Me = "MSPointerMove MSPointerUp MSPointerCancel")), 2838 c(M, C, { 2839 handler: function (e) { 2840 var t = this.store, 2841 i = !1, 2842 n = e.type.toLowerCase().replace("ms", ""), 2843 o = Oe[n], 2844 s = Ee[e.pointerType] || e.pointerType, 2845 a = s == ce, 2846 r = y(t, e.pointerId, "pointerId"); 2847 o & pe && (0 === e.button || a) 2848 ? 0 > r && (t.push(e), (r = t.length - 1)) 2849 : o & (he | ve) && (i = !0), 2850 0 > r || 2851 ((t[r] = e), 2852 this.callback(this.manager, o, { 2853 pointers: t, 2854 changedPointers: [e], 2855 pointerType: s, 2856 srcEvent: e, 2857 }), 2858 i && t.splice(r, 1)); 2859 }, 2860 }); 2861 var ze = { touchstart: pe, touchmove: fe, touchend: he, touchcancel: ve }, 2862 Le = "touchstart", 2863 De = "touchstart touchmove touchend touchcancel"; 2864 c(z, C, { 2865 handler: function (e) { 2866 var t = ze[e.type]; 2867 if ((t === pe && (this.started = !0), this.started)) { 2868 var i = L.call(this, e, t); 2869 t & (he | ve) && 2870 0 == i[0].length - i[1].length && 2871 (this.started = !1), 2872 this.callback(this.manager, t, { 2873 pointers: i[0], 2874 changedPointers: i[1], 2875 pointerType: ce, 2876 srcEvent: e, 2877 }); 2878 } 2879 }, 2880 }); 2881 var He = { touchstart: pe, touchmove: fe, touchend: he, touchcancel: ve }, 2882 _e = "touchstart touchmove touchend touchcancel"; 2883 c(D, C, { 2884 handler: function (e) { 2885 var t = He[e.type], 2886 i = H.call(this, e, t); 2887 i && 2888 this.callback(this.manager, t, { 2889 pointers: i[0], 2890 changedPointers: i[1], 2891 pointerType: ce, 2892 srcEvent: e, 2893 }); 2894 }, 2895 }), 2896 c(_, C, { 2897 handler: function (e, t, i) { 2898 var n = i.pointerType == ce, 2899 o = i.pointerType == de; 2900 if (n) this.mouse.allow = !1; 2901 else if (o && !this.mouse.allow) return; 2902 t & (he | ve) && (this.mouse.allow = !0), this.callback(e, t, i); 2903 }, 2904 destroy: function () { 2905 this.touch.destroy(), this.mouse.destroy(); 2906 }, 2907 }); 2908 var qe = k(ee.style, "touchAction"), 2909 je = qe !== n, 2910 Ne = "compute", 2911 We = "auto", 2912 Ve = "manipulation", 2913 Re = "none", 2914 Fe = "pan-x", 2915 Be = "pan-y"; 2916 q.prototype = { 2917 set: function (e) { 2918 e == Ne && (e = this.compute()), 2919 je && (this.manager.element.style[qe] = e), 2920 (this.actions = e.toLowerCase().trim()); 2921 }, 2922 update: function () { 2923 this.set(this.manager.options.touchAction); 2924 }, 2925 compute: function () { 2926 var e = []; 2927 return ( 2928 a(this.manager.recognizers, function (t) { 2929 u(t.options.enable, [t]) && (e = e.concat(t.getTouchAction())); 2930 }), 2931 (function (e) { 2932 if (g(e, Re)) return Re; 2933 var t = g(e, Fe), 2934 i = g(e, Be); 2935 return t && i 2936 ? Fe + " " + Be 2937 : t || i 2938 ? t 2939 ? Fe 2940 : Be 2941 : g(e, Ve) 2942 ? Ve 2943 : We; 2944 }
2944)(e.join(" ")) 2945 ); 2946 }, 2947 preventDefaults: function (e) { 2948 if (!je) { 2949 var t = e.srcEvent, 2950 i = e.offsetDirection; 2951 if (this.manager.session.prevented) return void t.preventDefault(); 2952 var n = this.actions, 2953 o = g(n, Re), 2954 s = g(n, Be), 2955 a = g(n, Fe); 2956 return o || (s && i & ke) || (a && i & Te) 2957 ? this.preventSrc(t) 2958 : void 0; 2959 } 2960 }, 2961 preventSrc: function (e) { 2962 (this.manager.session.prevented = !0), e.preventDefault(); 2963 }, 2964 }; 2965 var Qe = 1, 2966 Xe = 2, 2967 Ye = 4, 2968 Ue = 8, 2969 Ge = Ue, 2970 Ze = 16; 2971 (j.prototype = { 2972 defaults: {}, 2973 set: function (e) { 2974 return ( 2975 r(this.options, e), 2976 this.manager && this.manager.touchAction.update(), 2977 this 2978 ); 2979 }, 2980 recognizeWith: function (e) { 2981 if (s(e, "recognizeWith", this)) return this; 2982 var t = this.simultaneous; 2983 return ( 2984 t[(e = W(e, this)).id] || ((t[e.id] = e), e.recognizeWith(this)), this 2985 ); 2986 }, 2987 dropRecognizeWith: function (e) { 2988 return ( 2989 s(e, "dropRecognizeWith", this) || 2990 ((e = W(e, this)), delete this.simultaneous[e.id]), 2991 this 2992 ); 2993 }, 2994 requireFailure: function (e) { 2995 if (s(e, "requireFailure", this)) return this; 2996 var t = this.requireFail; 2997 return ( 2998 -1 === y(t, (e = W(e, this))) && (t.push(e), e.requireFailure(this)), 2999 this 3000 ); 3001 }, 3002 dropRequireFailure: function (e) { 3003 if (s(e, "dropRequireFailure", this)) return this; 3004 e = W(e, this); 3005 var t = y(this.requireFail, e); 3006 return t > -1 && this.requireFail.splice(t, 1), this; 3007 }, 3008 hasRequireFailures: function () { 3009 return this.requireFail.length > 0; 3010 }, 3011 canRecognizeWith: function (e) { 3012 return !!this.simultaneous[e.id]; 3013 }, 3014 emit: function (e) { 3015 function t(t) { 3016 i.manager.emit( 3017 i.options.event + 3018 (t 3019 ? (function (e) { 3020 return e & Ze 3021 ? "cancel" 3022 : e & Ue 3023 ? "end" 3024 : e & Ye 3025 ? "move" 3026 : e & Xe 3027 ? "start" 3028 : ""; 3029 })(n) 3030 : ""), 3031 e 3032 ); 3033 } 3034 var i = this, 3035 n = this.state; 3036 Ue > n && t(!0), t(), n >= Ue && t(!0); 3037 }, 3038 tryEmit: function (e) { 3039 return this.canEmit() ? this.emit(e) : void (this.state = 32); 3040 }, 3041 canEmit: function () { 3042 for (var e = 0; e < this.requireFail.length; ) { 3043 if (!(this.requireFail[e].state & (32 | Qe))) return !1; 3044 e++; 3045 } 3046 return !0; 3047 }, 3048 recognize: function (e) { 3049 var t = r({}, e); 3050 return u(this.options.enable, [this, t]) 3051 ? (this.state & (Ge | Ze | 32) && (this.state = Qe), 3052 (this.state = this.process(t)), 3053 void (this.state & (Xe | Ye | Ue | Ze) && this.tryEmit(t))) 3054 : (this.reset(), void (this.state = 32)); 3055 }, 3056 process: function () {}, 3057 getTouchAction: function () {}, 3058 reset: function () {}, 3059 }), 3060 c(V, j, { 3061 defaults: { pointers: 1 }, 3062 attrTest: function (e) { 3063 var t = this.options.pointers; 3064 return 0 === t || e.pointers.length === t; 3065 }, 3066 process: function (e) { 3067 var t = this.state, 3068 i = e.eventType, 3069 n = t & (Xe | Ye), 3070 o = this.attrTest(e); 3071 return n && (i & ve || !o) 3072 ? t | Ze 3073 : n || o 3074 ? i & he 3075 ? t | Ue 3076 : t & Xe 3077 ? t | Ye 3078 : Xe 3079 : 32; 3080 }, 3081 }), 3082 c(R, V, { 3083 defaults: { event: "pan", threshold: 10, pointers: 1, direction: Ce }, 3084 getTouchAction: function () { 3085 var e = this.options.direction, 3086 t = []; 3087 return e & ke && t.push(Be), e & Te && t.push(Fe), t; 3088 }, 3089 directionTest: function (e) { 3090 var t = this.options, 3091 i = !0, 3092 n = e.distance, 3093 o = e.direction, 3094 s = e.deltaX, 3095 a = e.deltaY; 3096 return ( 3097 o & t.direction || 3098 (t.direction & ke 3099 ? ((o = 0 === s ? ge : 0 > s ? me : ye), 3100 (i = s != this.pX), 3101 (n = Math.abs(e.deltaX))) 3102 : ((o = 0 === a ? ge : 0 > a ? be : we), 3103 (i = a != this.pY), 3104 (n = Math.abs(e.deltaY)))), 3105 (e.direction = o), 3106 i && n > t.threshold && o & t.direction 3107 ); 3108 }, 3109 attrTest: function (e) { 3110 return ( 3111 V.prototype.attrTest.call(this, e) && 3112 (this.state & Xe || (!(this.state & Xe) && this.directionTest(e))) 3113 ); 3114 }, 3115 emit: function (e) { 3116 (this.pX = e.deltaX), (this.pY = e.deltaY); 3117 var t = N(e.direction); 3118 t && this.manager.emit(this.options.event + t, e), 3119 this._super.emit.call(this, e); 3120 }, 3121 }), 3122 c(F, V, { 3123 defaults: { event: "pinch", threshold: 0, pointers: 2 }, 3124 getTouchAction: function () { 3125 return [Re]; 3126 }, 3127 attrTest: function (e) { 3128 return ( 3129 this._super.attrTest.call(this, e) && 3130 (Math.abs(e.scale - 1) > this.options.threshold || this.state & Xe) 3131 ); 3132 }, 3133 emit: function (e) { 3134 if ((this._super.emit.call(this, e), 1 !== e.scale)) { 3135 var t = e.scale < 1 ? "in" : "out"; 3136 this.manager.emit(this.options.event + t, e); 3137 } 3138 }, 3139 }), 3140 c(B, j, { 3141 defaults: { event: "press", pointers: 1, time: 500, threshold: 5 }, 3142 getTouchAction: function () { 3143 return [We]; 3144 }, 3145 process: function (e) { 3146 var t = this.options, 3147 i = e.pointers.length === t.pointers, 3148 n = e.distance < t.threshold, 3149 s = e.deltaTime > t.time; 3150 if (((this._input = e), !n || !i || (e.eventType & (he | ve) && !s))) 3151 this.reset(); 3152 else if (e.eventType & pe) 3153 this.reset(), 3154 (this._timer = o( 3155 function () { 3156 (this.state = Ge), this.tryEmit(); 3157 }, 3158 t.time, 3159 this 3160 )); 3161 else if (e.eventType & he) return Ge; 3162 return 32; 3163 }, 3164 reset: function () { 3165 clearTimeout(this._timer); 3166 }, 3167 emit: function (e) { 3168 this.state === Ge && 3169 (e && e.eventType & he 3170 ? this.manager.emit(this.options.event + "up", e)
3171 : ((this._input.timeStamp = oe()), 3172 this.manager.emit(this.options.event, this._input))); 3173 }, 3174 }), 3175 c(Q, V, { 3176 defaults: { event: "rotate", threshold: 0, pointers: 2 }, 3177 getTouchAction: function () { 3178 return [Re]; 3179 }, 3180 attrTest: function (e) { 3181 return ( 3182 this._super.attrTest.call(this, e) && 3183 (Math.abs(e.rotation) > this.options.threshold || this.state & Xe) 3184 ); 3185 }, 3186 }), 3187 c(X, V, { 3188 defaults: { 3189 event: "swipe", 3190 threshold: 10, 3191 velocity: 0.65, 3192 direction: ke | Te, 3193 pointers: 1, 3194 }, 3195 getTouchAction: function () { 3196 return R.prototype.getTouchAction.call(this); 3197 }, 3198 attrTest: function (e) { 3199 var t, 3200 i = this.options.direction; 3201 return ( 3202 i & (ke | Te) 3203 ? (t = e.velocity) 3204 : i & ke 3205 ? (t = e.velocityX) 3206 : i & Te && (t = e.velocityY), 3207 this._super.attrTest.call(this, e) && 3208 i & e.direction && 3209 e.distance > this.options.threshold && 3210 ne(t) > this.options.velocity && 3211 e.eventType & he 3212 ); 3213 }, 3214 emit: function (e) { 3215 var t = N(e.direction); 3216 t && this.manager.emit(this.options.event + t, e), 3217 this.manager.emit(this.options.event, e); 3218 }, 3219 }), 3220 c(Y, j, { 3221 defaults: { 3222 event: "tap", 3223 pointers: 1, 3224 taps: 1, 3225 interval: 300, 3226 time: 250, 3227 threshold: 2, 3228 posThreshold: 10, 3229 }, 3230 getTouchAction: function () { 3231 return [Ve]; 3232 }, 3233 process: function (e) { 3234 var t = this.options, 3235 i = e.pointers.length === t.pointers, 3236 n = e.distance < t.threshold, 3237 s = e.deltaTime < t.time; 3238 if ((this.reset(), e.eventType & pe && 0 === this.count)) 3239 return this.failTimeout(); 3240 if (n && s && i) { 3241 if (e.eventType != he) return this.failTimeout(); 3242 var a = !this.pTime || e.timeStamp - this.pTime < t.interval, 3243 r = !this.pCenter || O(this.pCenter, e.center) < t.posThreshold; 3244 if ( 3245 ((this.pTime = e.timeStamp), 3246 (this.pCenter = e.center), 3247 r && a ? (this.count += 1) : (this.count = 1), 3248 (this._input = e), 3249 0 == this.count % t.taps) 3250 ) 3251 return this.hasRequireFailures() 3252 ? ((this._timer = o( 3253 function () { 3254 (this.state = Ge), this.tryEmit(); 3255 }, 3256 t.interval, 3257 this 3258 )), 3259 Xe) 3260 : Ge; 3261 } 3262 return 32; 3263 }, 3264 failTimeout: function () { 3265 return ( 3266 (this._timer = o( 3267 function () { 3268 this.state = 32; 3269 }, 3270 this.options.interval, 3271 this 3272 )), 3273 32 3274 ); 3275 }, 3276 reset: function () { 3277 clearTimeout(this._timer); 3278 }, 3279 emit: function () { 3280 this.state == Ge && 3281 ((this._input.tapCount = this.count), 3282 this.manager.emit(this.options.event, this._input)); 3283 }, 3284 }), 3285 (U.VERSION = "2.0.4"), 3286 (U.defaults = { 3287 domEvents: !1, 3288 touchAction: Ne, 3289 enable: !0, 3290 inputTarget: null, 3291 inputClass: null, 3292 preset: [ 3293 [Q, { enable: !1 }], 3294 [F, { enable: !1 }, ["rotate"]], 3295 [X, { direction: ke }], 3296 [R, { direction: ke }, ["swipe"]], 3297 [Y], 3298 [Y, { event: "doubletap", taps: 2 }, ["tap"]], 3299 [B], 3300 ], 3301 cssProps: { 3302 userSelect: "default", 3303 touchSelect: "none", 3304 touchCallout: "none", 3305 contentZooming: "none", 3306 userDrag: "none", 3307 tapHighlightColor: "rgba(0,0,0,0)", 3308 }, 3309 }), 3310 (G.prototype = { 3311 set: function (e) { 3312 return ( 3313 r(this.options, e), 3314 e.touchAction && this.touchAction.update(), 3315 e.inputTarget && 3316 (this.input.destroy(), 3317 (this.input.target = e.inputTarget), 3318 this.input.init()), 3319 this 3320 ); 3321 }, 3322 stop: function (e) { 3323 this.session.stopped = e ? 2 : 1; 3324 }, 3325 recognize: function (e) { 3326 var t = this.session; 3327 if (!t.stopped) { 3328 this.touchAction.preventDefaults(e); 3329 var i, 3330 n = this.recognizers, 3331 o = t.curRecognizer; 3332 (!o || (o && o.state & Ge)) && (o = t.curRecognizer = null); 3333 for (var s = 0; s < n.length; ) 3334 (i = n[s]),
3335 2 === t.stopped || (o && i != o && !i.canRecognizeWith(o)) 3336 ? i.reset() 3337 : i.recognize(e), 3338 !o && i.state & (Xe | Ye | Ue) && (o = t.curRecognizer = i), 3339 s++; 3340 } 3341 }, 3342 get: function (e) { 3343 if (e instanceof j) return e; 3344 for (var t = this.recognizers, i = 0; i < t.length; i++) 3345 if (t[i].options.event == e) return t[i]; 3346 return null; 3347 }, 3348 add: function (e) { 3349 if (s(e, "add", this)) return this; 3350 var t = this.get(e.options.event); 3351 return ( 3352 t && this.remove(t), 3353 this.recognizers.push(e), 3354 (e.manager = this), 3355 this.touchAction.update(), 3356 e 3357 ); 3358 }, 3359 remove: function (e) { 3360 if (s(e, "remove", this)) return this; 3361 var t = this.recognizers; 3362 return ( 3363 (e = this.get(e)), 3364 t.splice(y(t, e), 1), 3365 this.touchAction.update(), 3366 this 3367 ); 3368 }, 3369 on: function (e, t) { 3370 var i = this.handlers; 3371 return ( 3372 a(m(e), function (e) { 3373 (i[e] = i[e] || []), i[e].push(t); 3374 }), 3375 this 3376 ); 3377 }, 3378 off: function (e, t) { 3379 var i = this.handlers; 3380 return ( 3381 a(m(e), function (e) { 3382 t ? i[e].splice(y(i[e], t), 1) : delete i[e]; 3383 }), 3384 this 3385 ); 3386 }, 3387 emit: function (e, t) { 3388 this.options.domEvents && J(e, t); 3389 var i = this.handlers[e] && this.handlers[e].slice(); 3390 if (i && i.length) { 3391 (t.type = e), 3392 (t.preventDefault = function () { 3393 t.srcEvent.preventDefault(); 3394 }); 3395 for (var n = 0; n < i.length; ) i[n](t), n++; 3396 } 3397 }, 3398 destroy: function () { 3399 this.element && Z(this, !1), 3400 (this.handlers = {}), 3401 (this.session = {}), 3402 this.input.destroy(), 3403 (this.element = null); 3404 }, 3405 }), 3406 r(U, { 3407 INPUT_START: pe, 3408 INPUT_MOVE: fe, 3409 INPUT_END: he, 3410 INPUT_CANCEL: ve, 3411 STATE_POSSIBLE: Qe, 3412 STATE_BEGAN: Xe, 3413 STATE_CHANGED: Ye, 3414 STATE_ENDED: Ue, 3415 STATE_RECOGNIZED: Ge, 3416 STATE_CANCELLED: Ze, 3417 STATE_FAILED: 32, 3418 DIRECTION_NONE: ge, 3419 DIRECTION_LEFT: me, 3420 DIRECTION_RIGHT: ye, 3421 DIRECTION_UP: be, 3422 DIRECTION_DOWN: we, 3423 DIRECTION_HORIZONTAL: ke, 3424 DIRECTION_VERTICAL: Te, 3425 DIRECTION_ALL: Ce, 3426 Manager: G, 3427 Input: C, 3428 TouchAction: q, 3429 TouchInput: D, 3430 MouseInput: I, 3431 PointerEventInput: M, 3432 TouchMouseInput: _, 3433 SingleTouchInput: z, 3434 Recognizer: j, 3435 AttrRecognizer: V, 3436 Tap: Y, 3437 Pan: R, 3438 Swipe: X, 3439 Pinch: F, 3440 Rotate: Q, 3441 Press: B, 3442 on: f, 3443 off: h, 3444 each: a, 3445 merge: l, 3446 extend: r, 3447 inherit: c, 3448 bindFn: d, 3449 prefixed: k, 3450 }), 3451 typeof define == te && define.amd 3452 ? define(function () { 3453 return U; 3454 }) 3455 : "undefined" != typeof module && module.exports 3456 ? (module.exports = U) 3457 : (e.Hammer = U); 3458 })(window, document), 3459 (function (e) { 3460 "function" == typeof define && define.amd 3461 ? define(["jquery", "hammerjs"], e) 3462 : "object" == typeof exports 3463 ? e(require("jquery"), require("hammerjs")) 3464 : e(jQuery, Hammer); 3465 })(function (e, t) { 3466 function i(i, n) { 3467 var o = e(i); 3468 o.data("hammer") || o.data("hammer", new t(o[0], n)); 3469 } 3470 (e.fn.hammer = function (e) { 3471 return this.each(function () { 3472 i(this, e); 3473 }); 3474 }), 3475 (t.Manager.prototype.emit = (function (t) { 3476 return function (i, n) { 3477 t.call(this, i, n), e(this.element).trigger({ type: i, gesture: n }); 3478 }; 3479 })(t.Manager.prototype.emit)); 3480 }), 3481 (function (e) { 3482 e.Package ? (Materialize = {}) : (e.Materialize = {}); 3483 })(window), 3484 (function (e) { 3485 for ( 3486 var t = 0, 3487 i = ["webkit", "moz"], 3488 n = e.requestAnimationFrame, 3489 o = e.cancelAnimationFrame, 3490 s = i.length; 3491 --s >= 0 && !n; 3492 3493 ) 3494 (n = e[i[s] + "RequestAnimationFrame"]), 3495 (o = e[i[s] + "CancelRequestAnimationFrame"]); 3496 (n && o) || 3497 ((n = function (e) { 3498 var i = +Date.now(), 3499 n = Math.max(t + 16, i); 3500 return setTimeout(function () { 3501 e((t = n)); 3502 }, n - i); 3503 }), 3504 (o = clearTimeout)), 3505 (e.requestAnimationFrame = n), 3506 (e.cancelAnimationFrame = o); 3507 })(window),
3508 (Materialize.objectSelectorString = function (e) { 3509 return ( 3510 (e.prop("tagName") || "") + 3511 (e.attr("id") || "") + 3512 (e.attr("class") || "") 3513 ).replace(/\s/g, ""); 3514 }), 3515 (Materialize.guid = (function () { 3516 function e() { 3517 return Math.floor(65536 * (1 + Math.random())) 3518 .toString(16) 3519 .substring(1); 3520 } 3521 return function () { 3522 return ( 3523 e() + e() + "-" + e() + "-" + e() + "-" + e() + "-" + e() + e() + e() 3524 ); 3525 }; 3526 })()), 3527 (Materialize.escapeHash = function (e) { 3528 return e.replace(/(:|\.|\[|\]|,|=)/g, "\\$1"); 3529 }), 3530 (Materialize.elementOrParentIsFixed = function (e) { 3531 var t = $(e), 3532 i = !1; 3533 return ( 3534 t.add(t.parents()).each(function () { 3535 if ("fixed" === $(this).css("position")) return (i = !0), !1; 3536 }), 3537 i 3538 ); 3539 }); 3540var Vel, 3541 getTime = 3542 Date.now || 3543 function () { 3544 return new Date().getTime(); 3545 }; 3546(Materialize.throttle = function (e, t, i) { 3547 var n, 3548 o, 3549 s, 3550 a = null, 3551 r = 0; 3552 i || (i = {}); 3553 var l = function () { 3554 (r = !1 === i.leading ? 0 : getTime()), 3555 (a = null), 3556 (s = e.apply(n, o)), 3557 (n = o = null); 3558 }; 3559 return function () { 3560 var c = getTime(); 3561 r || !1 !== i.leading || (r = c); 3562 var d = t - (c - r); 3563 return ( 3564 (n = this), 3565 (o = arguments), 3566 d <= 0 3567 ? (clearTimeout(a), 3568 (a = null), 3569 (r = c), 3570 (s = e.apply(n, o)), 3571 (n = o = null)) 3572 : a || !1 === i.trailing || (a = setTimeout(l, d)), 3573 s 3574 ); 3575 }; 3576}), 3577 (Vel = jQuery ? jQuery.Velocity : $ ? $.Velocity : Velocity), 3578 (function (e) { 3579 (e.fn.collapsible = function (t, i) { 3580 var n = t; 3581 return ( 3582 (t = e.extend( 3583 { accordion: void 0, onOpen: void 0, onClose: void 0 }, 3584 t 3585 )), 3586 this.each(function () { 3587 function o(t) { 3588 (u = d.find("> li > .collapsible-header")), 3589 t.hasClass("active") 3590 ? t.parent().addClass("active") 3591 : t.parent().removeClass("active"), 3592 t.parent().hasClass("active") 3593 ? t 3594 .siblings(".collapsible-body") 3595 .stop(!0, !1) 3596 .slideDown({ 3597 duration: 350, 3598 easing: "easeOutQuart", 3599 queue: !1, 3600 complete: function () { 3601 e(this).css("height", ""); 3602 }, 3603 }) 3604 : t 3605 .siblings(".collapsible-body") 3606 .stop(!0, !1) 3607 .slideUp({ 3608 duration: 350, 3609 easing: "easeOutQuart", 3610 queue: !1, 3611 complete: function () { 3612 e(this).css("height", ""); 3613 }, 3614 }), 3615 u.not(t).removeClass("active").parent().removeClass("active"), 3616 u 3617 .not(t) 3618 .parent() 3619 .children(".collapsible-body") 3620 .stop(!0, !1) 3621 .each(function () { 3622 e(this).is(":visible") && 3623 e(this).slideUp({ 3624 duration: 350, 3625 easing: "easeOutQuart", 3626 queue: !1, 3627 complete: function () { 3628 e(this).css("height", ""), 3629 r(e(this).siblings(".collapsible-header")); 3630 }, 3631 }); 3632 }); 3633 } 3634 function s(t) { 3635 t.hasClass("active") 3636 ? t.parent().addClass("active") 3637 : t.parent().removeClass("active"), 3638 t.parent().hasClass("active") 3639 ? t 3640 .siblings(".collapsible-body") 3641 .stop(!0, !1) 3642 .slideDown({ 3643 duration: 350, 3644 easing: "easeOutQuart", 3645 queue: !1, 3646 complete: function () { 3647 e(this).css("height", ""); 3648 }, 3649 }) 3650 : t 3651 .siblings(".collapsible-body") 3652 .stop(!0, !1) 3653 .slideUp({ 3654 duration: 350, 3655 easing: "easeOutQuart", 3656 queue: !1, 3657 complete: function () { 3658 e(this).css("height", ""); 3659 }, 3660 }); 3661 } 3662 function a(e, i) { 3663 i || e.toggleClass("active"), 3664 t.accordion || "accordion" === p || void 0 === p ? o(e) : s(e), 3665 r(e); 3666 } 3667 function r(e) { 3668 e.hasClass("active") 3669 ? "function" == typeof t.onOpen && t.onOpen.call(this, e.parent()) 3670 : "function" == typeof t.onClose && 3671 t.onClose.call(this, e.parent()); 3672 } 3673 function l(e) { 3674 return e.closest("li > .collapsible-header"); 3675 } 3676 function c() {
3677 d.off("click.collapse", "> li > .collapsible-header"); 3678 } 3679 var d = e(this), 3680 u = e(this).find("> li > .collapsible-header"), 3681 p = d.data("collapsible"); 3682 if ("destroy" !== n) 3683 if (i >= 0 && i < u.length) { 3684 var f = u.eq(i); 3685 f.length && 3686 ("open" === n || ("close" === n && f.hasClass("active"))) && 3687 a(f); 3688 } else 3689 c(), 3690 d.on( 3691 "click.collapse", 3692 "> li > .collapsible-header", 3693 function (t) { 3694 var i = e(t.target); 3695 (function (e) { 3696 return l(e).length > 0; 3697 })(i) && (i = l(i)), 3698 a(i); 3699 } 3700 ), 3701 t.accordion || "accordion" === p || void 0 === p 3702 ? a(u.filter(".active").first(), !0) 3703 : u.filter(".active").each(function () { 3704 a(e(this), !0); 3705 }); 3706 else c(); 3707 }) 3708 ); 3709 }), 3710 e(document).ready(function () { 3711 e(".collapsible").collapsible(); 3712 }); 3713 })(jQuery), 3714 (function (e) { 3715 (e.fn.scrollTo = function (t) { 3716 return ( 3717 e(this).scrollTop( 3718 e(this).scrollTop() - e(this).offset().top + e(t).offset().top 3719 ), 3720 this 3721 ); 3722 }), 3723 (e.fn.dropdown = function (t) { 3724 var i = { 3725 inDuration: 300, 3726 outDuration: 225, 3727 constrainWidth: !0, 3728 hover: !1, 3729 gutter: 0, 3730 belowOrigin: !1, 3731 alignment: "left", 3732 stopPropagation: !1, 3733 }; 3734 return "open" === t 3735 ? (this.each(function () { 3736 e(this).trigger("open"); 3737 }), 3738 !1) 3739 : "close" === t 3740 ? (this.each(function () { 3741 e(this).trigger("close"); 3742 }), 3743 !1) 3744 : void this.each(function () { 3745 function n() { 3746 void 0 !== a.data("induration") && 3747 (r.inDuration = a.data("induration")), 3748 void 0 !== a.data("outduration") && 3749 (r.outDuration = a.data("outduration")), 3750 void 0 !== a.data("constrainwidth") && 3751 (r.constrainWidth = a.data("constrainwidth")), 3752 void 0 !== a.data("hover") && (r.hover = a.data("hover")), 3753 void 0 !== a.data("gutter") && (r.gutter = a.data("gutter")), 3754 void 0 !== a.data("beloworigin") && 3755 (r.belowOrigin = a.data("beloworigin")), 3756 void 0 !== a.data("alignment") && 3757 (r.alignment = a.data("alignment")), 3758 void 0 !== a.data("stoppropagation") && 3759 (r.stopPropagation = a.data("stoppropagation")); 3760 } 3761 function o(t) { 3762 "focus" === t && (l = !0), 3763 n(), 3764 c.addClass("active"), 3765 a.addClass("active"), 3766 !0 === r.constrainWidth 3767 ? c.css("width", a.outerWidth()) 3768 : c.css("white-space", "nowrap"); 3769 var i = window.innerHeight, 3770 o = a.innerHeight(), 3771 d = a.offset().left, 3772 u = a.offset().top - e(window).scrollTop(), 3773 p = r.alignment, 3774 f = 0, 3775 h = 0, 3776 v = 0; 3777 !0 === r.belowOrigin && (v = o); 3778 var g = 0, 3779 m = 0, 3780 y = a.parent(); 3781 if ( 3782 (y.is("body") || 3783 (y[0].scrollHeight > y[0].clientHeight && 3784 (g = y[0].scrollTop), 3785 y[0].scrollWidth > y[0].clientWidth && 3786 (m = y[0].scrollLeft)), 3787 d + c.innerWidth() > e(window).width() 3788 ? (p = "right") 3789 : d - c.innerWidth() + a.innerWidth() < 0 && (p = "left"), 3790 u + c.innerHeight() > i) 3791 ) 3792 if (u + o - c.innerHeight() < 0) { 3793 var b = i - u - v; 3794 c.css("max-height", b); 3795 } else v || (v += o), (v -= c.innerHeight()); 3796 "left" === p 3797 ? ((f = r.gutter), (h = a.position().left + f)) 3798 : "right" === p && 3799 (h = 3800 a.position().left + 3801 a.outerWidth() - 3802 c.outerWidth() + 3803 (f = -r.gutter)), 3804 c.css({ 3805 position: "absolute", 3806 top: a.position().top + v + g, 3807 left: h + m, 3808 }), 3809 c 3810 .stop(!0, !0) 3811 .css("opacity", 0) 3812 .slideDown({ 3813 queue: !1, 3814 duration: r.inDuration, 3815 easing: "easeOutCubic", 3816 complete: function () { 3817 e(this).css("height", ""); 3818 }, 3819 }) 3820 .animate( 3821 { opacity: 1 }, 3822 { 3823 queue: !1, 3824 duration: r.inDuration, 3825 easing: "easeOutSine", 3826 } 3827 ), 3828 setTimeout(function () { 3829 e(document).bind("click." + c.attr("id"), function (t) { 3830 s(), e(document).unbind("click." + c.attr("id")); 3831 }); 3832 }, 0); 3833 } 3834 function s() { 3835 (l = !1), 3836 c.fadeOut(r.outDuration), 3837 c.removeClass("active"), 3838 a.removeClass("active"), 3839 e(document).unbind("click." + c.attr("id")), 3840 setTimeout(function () { 3841 c.css("max-height", ""); 3842 }, r.outDuration); 3843 } 3844 var a = e(this), 3845 r = e.extend({}, i, t), 3846 l = !1, 3847 c = e("#" + a.attr("data-activates")); 3848 if ((n(), a.after(c), r.hover)) { 3849 var d = !1; 3850 a.unbind("click." + a.attr("id")), 3851 a.on("mouseenter", function (e) { 3852 !1 === d && (o(), (d = !0)); 3853 }), 3854 a.on("mouseleave", function (t) { 3855 var i = t.toElement || t.relatedTarget; 3856 e(i).closest(".dropdown-content").is(c) || 3857 (c.stop(!0, !0), s(), (d = !1)); 3858 }), 3859 c.on("mouseleave", function (t) { 3860 var i = t.toElement || t.relatedTarget; 3861 e(i).closest(".dropdown-button").is(a) || 3862 (c.stop(!0, !0), s(), (d = !1)); 3863 }); 3864 } else 3865 a.unbind("click." + a.attr("id")), 3866 a.bind("click." + a.attr("id"), function (t) { 3867 l || 3868 (a[0] != t.currentTarget || 3869 a.hasClass("active") || 3870 0 !== e(t.target).closest(".dropdown-content").length 3871 ? a.hasClass("active") && 3872 (s(), e(document).unbind("click." + c.attr("id"))) 3873 : (t.preventDefault(), 3874 r.stopPropagation && t.stopPropagation(), 3875 o("click"))); 3876 }); 3877 a.on("open", function (e, t) { 3878 o(t); 3879 }), 3880 a.on("close", s); 3881 }); 3882 }), 3883 e(document).ready(function () { 3884 e(".dropdown-button").dropdown(); 3885 }); 3886 })(jQuery), 3887 (function (e) { 3888 var t = 0, 3889 i = 0, 3890 n = function () { 3891 return "materialize-modal-overlay-" + ++i; 3892 }, 3893 o = { 3894 init: function (i) { 3895 return ( 3896 (i = e.extend( 3897 { 3898 opacity: 0.5, 3899 inDuration: 350, 3900 outDuration: 250, 3901 ready: void 0, 3902 complete: void 0,
3903 dismissible: !0, 3904 startingTop: "4%", 3905 endingTop: "10%", 3906 }, 3907 i 3908 )), 3909 this.each(function () { 3910 var o = e(this), 3911 s = e(this).attr("id") || "#" + e(this).data("target"), 3912 a = function () { 3913 var n = o.data("overlay-id"), 3914 s = e("#" + n); 3915 o.removeClass("open"), 3916 e("body").css({ overflow: "", width: "" }), 3917 o.find(".modal-close").off("click.close"), 3918 e(document).off("keyup.modal" + n), 3919 s.velocity( 3920 { opacity: 0 }, 3921 { 3922 duration: i.outDuration, 3923 queue: !1, 3924 ease: "easeOutQuart", 3925 } 3926 ); 3927 var a = { 3928 duration: i.outDuration, 3929 queue: !1, 3930 ease: "easeOutCubic", 3931 complete: function () { 3932 e(this).css({ display: "none" }), 3933 "function" == typeof i.complete && 3934 i.complete.call(this, o), 3935 s.remove(), 3936 t--; 3937 }, 3938 }; 3939 o.hasClass("bottom-sheet") 3940 ? o.velocity({ bottom: "-100%", opacity: 0 }, a) 3941 : o.velocity( 3942 { top: i.startingTop, opacity: 0, scaleX: 0.7 }, 3943 a 3944 ); 3945 }, 3946 r = function (s) { 3947 var r = e("body"), 3948 l = r.innerWidth(); 3949 if ( 3950 (r.css("overflow", "hidden"), 3951 r.width(l), 3952 !o.hasClass("open")) 3953 ) { 3954 var c = n(), 3955 d = e('<div class="modal-overlay"></div>'); 3956 (lStack = ++t), 3957 d.attr("id", c).css("z-index", 1e3 + 2 * lStack), 3958 o 3959 .data("overlay-id", c) 3960 .css("z-index", 1e3 + 2 * lStack + 1), 3961 o.addClass("open"), 3962 e("body").append(d), 3963 i.dismissible && 3964 (d.click(function () { 3965 a(); 3966 }), 3967 e(document).on("keyup.modal" + c, function (e) { 3968 27 === e.keyCode && a(); 3969 })), 3970 o.find(".modal-close").on("click.close", function (e) { 3971 a(); 3972 }), 3973 d.css({ display: "block", opacity: 0 }), 3974 o.css({ display: "block", opacity: 0 }), 3975 d.velocity( 3976 { opacity: i.opacity }, 3977 { 3978 duration: i.inDuration, 3979 queue: !1, 3980 ease: "easeOutCubic", 3981 } 3982 ), 3983 o.data("associated-overlay", d[0]); 3984 var u = { 3985 duration: i.inDuration, 3986 queue: !1, 3987 ease: "easeOutCubic", 3988 complete: function () { 3989 "function" == typeof i.ready && 3990 i.ready.call(this, o, s); 3991 }, 3992 }; 3993 o.hasClass("bottom-sheet") 3994 ? o.velocity({ bottom: "0", opacity: 1 }, u) 3995 : (e.Velocity.hook(o, "scaleX", 0.7), 3996 o.css({ top: i.startingTop }), 3997 o.velocity( 3998 { top: i.endingTop, opacity: 1, scaleX: "1" }, 3999 u 4000 )); 4001 } 4002 }; 4003 e(document).off( 4004 "click.modalTrigger", 4005 'a[href="#' + s + '"], [data-target="' + s + '"]' 4006 ), 4007 e(this).off("openModal"), 4008 e(this).off("closeModal"), 4009 e(document).on( 4010 "click.modalTrigger", 4011 'a[href="#' + s + '"], [data-target="' + s + '"]', 4012 function (t) { 4013 (i.startingTop = 4014 (e(this).offset().top - e(window).scrollTop()) / 1.15), 4015 r(e(this)), 4016 t.preventDefault(); 4017 } 4018 ), 4019 e(this).on("openModal", function () { 4020 e(this).attr("href") || e(this).data("target"), r(); 4021 }), 4022 e(this).on("closeModal", function () { 4023 a(); 4024 }); 4025 }) 4026 ); 4027 }, 4028 open: function () { 4029 e(this).trigger("openModal"); 4030 }, 4031 close: function () { 4032 e(this).trigger("closeModal"); 4033 }, 4034 }; 4035 e.fn.modal = function (t) { 4036 return o[t] 4037 ? o[t].apply(this, Array.prototype.slice.call(arguments, 1)) 4038 : "object" != typeof t && t 4039 ? void e.error("Method " + t + " does not exist on jQuery.modal") 4040 : o.init.apply(this, arguments); 4041 }; 4042 })(jQuery), 4043 (function (e) { 4044 (e.fn.materialbox = function () { 4045 return this.each(function () { 4046 function t() { 4047 s = !1; 4048 var t = r.parent(".material-placeholder"), 4049 n = (window.innerWidth, window.innerHeight, r.data("width")), 4050 l = r.data("height"); 4051 r.velocity("stop", !0), 4052 e("#materialbox-overlay").velocity("stop", !0), 4053 e(".materialbox-caption").velocity("stop", !0), 4054 e("#materialbox-overlay").velocity( 4055 { opacity: 0 }, 4056 { 4057 duration: a, 4058 queue: !1, 4059 easing: "easeOutQuad", 4060 complete: function () { 4061 (o = !1), e(this).remove(); 4062 }, 4063 } 4064 ), 4065 r.velocity( 4066 { width: n, height: l, left: 0, top: 0 }, 4067 { 4068 duration: a, 4069 queue: !1, 4070 easing: "easeOutQuad", 4071 complete: function () { 4072 t.css({ 4073 height: "", 4074 width: "", 4075 position: "", 4076 top: "", 4077 left: "", 4078 }), 4079 r.removeAttr("style"), 4080 r.attr("style", c), 4081 r.removeClass("active"), 4082 (s = !0), 4083 i && i.css("overflow", ""); 4084 }, 4085 } 4086 ), 4087 e(".materialbox-caption").velocity( 4088 { opacity: 0 }, 4089 { 4090 duration: a, 4091 queue: !1, 4092 easing: "easeOutQuad", 4093 complete: function () { 4094 e(this).remove(); 4095 }, 4096 } 4097 ); 4098 } 4099 if (!e(this).hasClass("initialized")) { 4100 e(this).addClass("initialized"); 4101 var i, 4102 n, 4103 o = !1, 4104 s = !0, 4105 a = 200, 4106 r = e(this), 4107 l = e("<div></div>").addClass("material-placeholder"), 4108 c = r.attr("style"); 4109 r.wrap(l), 4110 r.on("click", function () { 4111 var a = r.parent(".material-placeholder"), 4112 l = window.innerWidth, 4113 c = window.innerHeight, 4114 d = r.width(), 4115 u = r.height(); 4116 if (!1 === s) return t(), !1; 4117 if (o && !0 === s) return t(), !1; 4118 for ( 4119 s = !1, 4120 r.addClass("active"), 4121 o = !0, 4122 a.css({ 4123 width: a[0].getBoundingClientRect().width, 4124 height: a[0].getBoundingClientRect().height, 4125 position: "relative", 4126 top: 0, 4127 left: 0, 4128 }), 4129 i = void 0, 4130 n = a[0].parentNode; 4131 null !== n && !e(n).is(document); 4132 4133 ) { 4134 var p = e(n); 4135 "visible" !== p.css("overflow") && 4136 (p.css("overflow", "visible"), 4137 (i = void 0 === i ? p : i.add(p))), 4138 (n = n.parentNode); 4139 } 4140 r.css({ 4141 position: "absolute", 4142 "z-index": 1e3, 4143 "will-change": "left, top, width, height", 4144 }) 4145 .data("width", d) 4146 .data("height", u); 4147 var f = e('<div id="materialbox-overlay"></div>') 4148 .css({ opacity: 0 }) 4149 .click(function () { 4150 !0 === s && t(); 4151 }); 4152 r.before(f); 4153 var h = f[0].getBoundingClientRect(); 4154 if ( 4155 (f.css({ 4156 width: l, 4157 height: c, 4158 left: -1 * h.left, 4159 top: -1 * h.top, 4160 }), 4161 f.velocity( 4162 { opacity: 1 }, 4163 { duration: 275, queue: !1, easing: "easeOutQuad" } 4164 ), 4165 "" !== r.data("caption")) 4166 ) { 4167 var v = e('<div class="materialbox-caption"></div>'); 4168 v.text(r.data("caption")), 4169 e("body").append(v), 4170 v.css({ display: "inline" }), 4171 v.velocity( 4172 { opacity: 1 }, 4173 { duration: 275, queue: !1, easing: "easeOutQuad" } 4174 ); 4175 } 4176 var g = 0, 4177 m = 0; 4178 d / l > u / c 4179 ? ((g = 0.9 * l), (m = 0.9 * l * (u / d))) 4180 : ((g = 0.9 * c * (d / u)), (m = 0.9 * c)), 4181 r.hasClass("responsive-img") 4182 ? r.velocity( 4183 { "max-width": g, width: d }, 4184 { 4185 duration: 0, 4186 queue: !1, 4187 complete: function () { 4188 r.css({ left: 0, top: 0 }).velocity( 4189 { 4190 height: m, 4191 width: g, 4192 left: 4193 e(document).scrollLeft() + 4194 l / 2 - 4195 r.parent(".material-placeholder").offset() 4196 .left - 4197 g / 2, 4198 top: 4199 e(document).scrollTop() + 4200 c / 2 - 4201 r.parent(".material-placeholder").offset().top - 4202 m / 2, 4203 }, 4204 { 4205 duration: 275, 4206 queue: !1, 4207 easing: "easeOutQuad", 4208 complete: function () { 4209 s = !0; 4210 }, 4211 } 4212 ); 4213 }, 4214 } 4215 ) 4216 : r 4217 .css("left", 0) 4218 .css("top", 0) 4219 .velocity( 4220 { 4221 height: m, 4222 width: g, 4223 left: 4224 e(document).scrollLeft() + 4225 l / 2 - 4226 r.parent(".material-placeholder").offset().left - 4227 g / 2, 4228 top: 4229 e(document).scrollTop() + 4230 c / 2 - 4231 r.parent(".material-placeholder").offset().top - 4232 m / 2, 4233 }, 4234 { 4235 duration: 275, 4236 queue: !1, 4237 easing: "easeOutQuad", 4238 complete: function () { 4239 s = !0; 4240 }, 4241 } 4242 ); 4243 }), 4244 e(window).scroll(function () { 4245 o && t(); 4246 }), 4247 e(document).keyup(function (e) { 4248 27 === e.keyCode && !0 === s && o && t(); 4249 }); 4250 } 4251 }); 4252 }), 4253 e(document).ready(function () { 4254 e(".materialboxed").materialbox(); 4255 }); 4256 })(jQuery), 4257 (function (e) { 4258 e.fn.parallax = function () { 4259 var t = e(window).width(); 4260 return this.each(function (i) { 4261 function n(i) { 4262 var n; 4263 n = 4264 t < 601 4265 ? o.height() > 0 4266 ? o.height() 4267 : o.children("img").height() 4268 : o.height() > 0 4269 ? o.height() 4270 : 500; 4271 var s = o.children("img").first(), 4272 a = s.height() - n, 4273 r = o.offset().top + n, 4274 l = o.offset().top, 4275 c = e(window).scrollTop(), 4276 d = window.innerHeight, 4277 u = (c + d - l) / (n + d), 4278 p = Math.round(a * u); 4279 i && s.css("display", "block"), 4280 r > c && 4281 l < c + d && 4282 s.css("transform", "translate3D(-50%," + p + "px, 0)"); 4283 } 4284 var o = e(this); 4285 o.addClass("parallax"), 4286 o 4287 .children("img") 4288 .one("load", function () { 4289 n(!0); 4290 }) 4291 .each(function () { 4292 this.complete && e(this).trigger("load"); 4293 }), 4294 e(window).scroll(function () { 4295 (t = e(window).width()), n(!1); 4296 }), 4297 e(window).resize(function () { 4298 (t = e(window).width()), n(!1); 4299 }); 4300 }); 4301 }; 4302 })(jQuery), 4303 (function (e) { 4304 var t = { 4305 init: function (t) { 4306 t = e.extend( 4307 { onShow: null, swipeable: !1, responsiveThreshold: 1 / 0 }, 4308 t 4309 );
4310 var i = Materialize.objectSelectorString(e(this)); 4311 return this.each(function (n) { 4312 var o, 4313 s, 4314 a, 4315 r, 4316 l = i + n, 4317 c = e(this), 4318 d = e(window).width(), 4319 u = c.find("li.tab a"), 4320 p = c.width(), 4321 f = e(), 4322 h = Math.max(p, c[0].scrollWidth) / u.length, 4323 v = (prev_index = 0), 4324 g = !1, 4325 m = function (e) { 4326 return Math.ceil( 4327 p - e.position().left - e.outerWidth() - c.scrollLeft() 4328 ); 4329 }, 4330 y = function (e) { 4331 return Math.floor(e.position().left + c.scrollLeft()); 4332 }, 4333 b = function (e) { 4334 v - e >= 0 4335 ? (r.velocity( 4336 { right: m(o) }, 4337 { duration: 300, queue: !1, easing: "easeOutQuad" } 4338 ), 4339 r.velocity( 4340 { left: y(o) }, 4341 { 4342 duration: 300, 4343 queue: !1, 4344 easing: "easeOutQuad", 4345 delay: 90, 4346 } 4347 )) 4348 : (r.velocity( 4349 { left: y(o) }, 4350 { duration: 300, queue: !1, easing: "easeOutQuad" } 4351 ), 4352 r.velocity( 4353 { right: m(o) }, 4354 { 4355 duration: 300, 4356 queue: !1, 4357 easing: "easeOutQuad", 4358 delay: 90, 4359 } 4360 )); 4361 }; 4362 t.swipeable && d > t.responsiveThreshold && (t.swipeable = !1), 4363 0 === (o = e(u.filter('[href="' + location.hash + '"]'))).length && 4364 (o = e(this).find("li.tab a.active").first()), 4365 0 === o.length && (o = e(this).find("li.tab a").first()), 4366 o.addClass("active"), 4367 (v = u.index(o)) < 0 && (v = 0), 4368 void 0 !== o[0] && (s = e(o[0].hash)).addClass("active"), 4369 c.find(".indicator").length || 4370 c.append('<div class="indicator"></div>'), 4371 (r = c.find(".indicator")), 4372 c.append(r), 4373 c.is(":visible") && 4374 setTimeout(function () { 4375 r.css({ right: m(o) }), r.css({ left: y(o) }); 4376 }, 0), 4377 e(window) 4378 .off("resize.tabs-" + l) 4379 .on("resize.tabs-" + l, function () { 4380 (p = c.width()), 4381 (h = Math.max(p, c[0].scrollWidth) / u.length), 4382 v < 0 && (v = 0), 4383 0 !== h && 4384 0 !== p && 4385 (r.css({ right: m(o) }), r.css({ left: y(o) })); 4386 }), 4387 t.swipeable 4388 ? (u.each(function () { 4389 var t = e(Materialize.escapeHash(this.hash)); 4390 t.addClass("carousel-item"), (f = f.add(t)); 4391 }), 4392 (a = f.wrapAll('<div class="tabs-content carousel"></div>')), 4393 f.css("display", ""), 4394 e(".tabs-content.carousel").carousel({ 4395 fullWidth: !0, 4396 noWrap: !0, 4397 onCycleTo: function (e) { 4398 if (!g) { 4399 var t = v; 4400 (v = a.index(e)), (o = u.eq(v)), b(t); 4401 } 4402 }, 4403 })) 4404 : u.not(o).each(function () { 4405 e(Materialize.escapeHash(this.hash)).hide(); 4406 }), 4407 c.off("click.tabs").on("click.tabs", "a", function (i) { 4408 if (e(this).parent().hasClass("disabled")) i.preventDefault(); 4409 else if (!e(this).attr("target")) { 4410 (g = !0), 4411 (p = c.width()), 4412 (h = Math.max(p, c[0].scrollWidth) / u.length), 4413 o.removeClass("active"); 4414 var n = s; 4415 (o = e(this)), 4416 (s = e(Materialize.escapeHash(this.hash))), 4417 (u = c.find("li.tab a")), 4418 o.position(), 4419 o.addClass("active"), 4420 (prev_index = v), 4421 (v = u.index(e(this))) < 0 && (v = 0), 4422 t.swipeable 4423 ? f.length && f.carousel("set", v) 4424 : (void 0 !== s && 4425 (s.show(), 4426 s.addClass("active"), 4427 "function" == typeof t.onShow && 4428 t.onShow.call(this, s)), 4429 void 0 === n || 4430 n.is(s) || 4431 (n.hide(), n.removeClass("active"))), 4432 setTimeout(function () { 4433 g = !1; 4434 }, 300), 4435 b(prev_index), 4436 i.preventDefault(); 4437 } 4438 }); 4439 }); 4440 }, 4441 select_tab: function (e) { 4442 this.find('a[href="#' + e + '"]').trigger("click"); 4443 }, 4444 }; 4445 (e.fn.tabs = function (i) { 4446 return t[i] 4447 ? t[i].apply(this, Array.prototype.slice.call(arguments, 1)) 4448 : "object" != typeof i && i 4449 ? void e.error("Method " + i + " does not exist on jQuery.tabs")
4450 : t.init.apply(this, arguments); 4451 }), 4452 e(document).ready(function () { 4453 e("ul.tabs").tabs(); 4454 }); 4455 })(jQuery), 4456 (function (e) { 4457 e.fn.tooltip = function (i) { 4458 return "remove" === i 4459 ? (this.each(function () { 4460 e("#" + e(this).attr("data-tooltip-id")).remove(), 4461 e(this).off("mouseenter.tooltip mouseleave.tooltip"); 4462 }), 4463 !1) 4464 : ((i = e.extend( 4465 { delay: 350, tooltip: "", position: "bottom", html: !1 }, 4466 i 4467 )), 4468 this.each(function () { 4469 var n = Materialize.guid(), 4470 o = e(this); 4471 o.attr("data-tooltip-id") && 4472 e("#" + o.attr("data-tooltip-id")).remove(), 4473 o.attr("data-tooltip-id", n); 4474 var s, 4475 a, 4476 r, 4477 l, 4478 c, 4479 d, 4480 u = function () { 4481 (s = o.attr("data-html") 4482 ? "true" === o.attr("data-html") 4483 : i.html), 4484 (a = 4485 void 0 === (a = o.attr("data-delay")) || "" === a 4486 ? i.delay 4487 : a), 4488 (r = 4489 void 0 === (r = o.attr("data-position")) || "" === r 4490 ? i.position 4491 : r), 4492 (l = 4493 void 0 === (l = o.attr("data-tooltip")) || "" === l 4494 ? i.tooltip 4495 : l); 4496 }; 4497 u(), 4498 (c = (function () { 4499 var t = e('<div class="material-tooltip"></div>'); 4500 return ( 4501 (l = s 4502 ? e("<span></span>").html(l) 4503 : e("<span></span>").text(l)), 4504 t.append(l).appendTo(e("body")).attr("id", n), 4505 (d = e('<div class="backdrop"></div>')).appendTo(t), 4506 t 4507 ); 4508 })()), 4509 o.off("mouseenter.tooltip mouseleave.tooltip"); 4510 var p, 4511 f = !1; 4512 o.on({ 4513 "mouseenter.tooltip": function (e) { 4514 p = setTimeout(function () { 4515 u(), 4516 (f = !0), 4517 c.velocity("stop"), 4518 d.velocity("stop"), 4519 c.css({ visibility: "visible", left: "0px", top: "0px" }); 4520 var e, 4521 i, 4522 n, 4523 s, 4524 a, 4525 l, 4526 p = o.outerWidth(), 4527 h = o.outerHeight(), 4528 v = c.outerHeight(), 4529 g = c.outerWidth(), 4530 m = "0px", 4531 y = "0px", 4532 b = d[0].offsetWidth, 4533 w = d[0].offsetHeight; 4534 "top" === r 4535 ? ((e = o.offset().top - v - 5), 4536 (i = o.offset().left + p / 2 - g / 2), 4537 (n = t(i, e, g, v)), 4538 (m = "-10px"), 4539 d.css({ 4540 bottom: 0, 4541 left: 0, 4542 borderRadius: "14px 14px 0 0", 4543 transformOrigin: "50% 100%", 4544 marginTop: v, 4545 marginLeft: g / 2 - b / 2, 4546 })) 4547 : "left" === r 4548 ? ((e = o.offset().top + h / 2 - v / 2), 4549 (i = o.offset().left - g - 5), 4550 (n = t(i, e, g, v)), 4551 (y = "-10px"), 4552 d.css({ 4553 top: "-7px", 4554 right: 0, 4555 width: "14px", 4556 height: "14px", 4557 borderRadius: "14px 0 0 14px", 4558 transformOrigin: "95% 50%", 4559 marginTop: v / 2, 4560 marginLeft: g, 4561 })) 4562 : "right" === r 4563 ? ((e = o.offset().top + h / 2 - v / 2), 4564 (i = o.offset().left + p + 5), 4565 (n = t(i, e, g, v)), 4566 (y = "+10px"), 4567 d.css({ 4568 top: "-7px", 4569 left: 0, 4570 width: "14px", 4571 height: "14px", 4572 borderRadius: "0 14px 14px 0", 4573 transformOrigin: "5% 50%", 4574 marginTop: v / 2, 4575 marginLeft: "0px", 4576 })) 4577 : ((e = o.offset().top + o.outerHeight() + 5), 4578 (i = o.offset().left + p / 2 - g / 2), 4579 (n = t(i, e, g, v)), 4580 (m = "+10px"), 4581 d.css({ top: 0, left: 0, marginLeft: g / 2 - b / 2 })), 4582 c.css({ top: n.y, left: n.x }), 4583 (s = (Math.SQRT2 * g) / parseInt(b)), 4584 (a = (Math.SQRT2 * v) / parseInt(w)), 4585 (l = Math.max(s, a)), 4586 c 4587 .velocity( 4588 { translateY: m, translateX: y }, 4589 { duration: 350, queue: !1 } 4590 ) 4591 .velocity( 4592 { opacity: 1 }, 4593 { duration: 300, delay: 50, queue: !1 } 4594 ), 4595 d 4596 .css({ visibility: "visible" }) 4597 .velocity( 4598 { opacity: 1 }, 4599 { duration: 55, delay: 0, queue: !1 } 4600 ) 4601 .velocity( 4602 { scaleX: l, scaleY: l }, 4603 { 4604 duration: 300, 4605 delay: 0, 4606 queue: !1, 4607 easing: "easeInOutQuad", 4608 } 4609 ); 4610 }, a); 4611 }, 4612 "mouseleave.tooltip": function () { 4613 (f = !1), 4614 clearTimeout(p), 4615 setTimeout(function () { 4616 !0 !== f && 4617 (c.velocity( 4618 { opacity: 0, translateY: 0, translateX: 0 }, 4619 { duration: 225, queue: !1 } 4620 ), 4621 d.velocity( 4622 { opacity: 0, scaleX: 1, scaleY: 1 }, 4623 { 4624 duration: 225, 4625 queue: !1, 4626 complete: function () { 4627 d.css({ visibility: "hidden" }), 4628 c.css({ visibility: "hidden" }), 4629 (f = !1); 4630 }, 4631 } 4632 )); 4633 }, 225); 4634 }, 4635 }); 4636 })); 4637 }; 4638 var t = function (t, i, n, o) { 4639 var s = t, 4640 a = i; 4641 return ( 4642 s < 0 4643 ? (s = 4) 4644 : s + n >
4644 window.innerWidth && (s -= s + n - window.innerWidth), 4645 a < 0 4646 ? (a = 4) 4647 : a + o > window.innerHeight + e(window).scrollTop && 4648 (a -= a + o - window.innerHeight), 4649 { x: s, y: a } 4650 ); 4651 }; 4652 e(document).ready(function () { 4653 e(".tooltipped").tooltip(); 4654 }); 4655 })(jQuery), 4656 (function (e) { 4657 "use strict"; 4658 function t(e) { 4659 return (function (e) { 4660 return null !== e && e === e.window; 4661 })(e) 4662 ? e 4663 : 9 === e.nodeType && e.defaultView; 4664 } 4665 function i(e) { 4666 var i, 4667 n, 4668 o = { top: 0, left: 0 }, 4669 s = e && e.ownerDocument; 4670 return ( 4671 (i = s.documentElement), 4672 void 0 !== e.getBoundingClientRect && (o = e.getBoundingClientRect()), 4673 (n = t(s)), 4674 { 4675 top: o.top + n.pageYOffset - i.clientTop, 4676 left: o.left + n.pageXOffset - i.clientLeft, 4677 } 4678 ); 4679 } 4680 function n(e) { 4681 var t = ""; 4682 for (var i in e) e.hasOwnProperty(i) && (t += i + ":" + e[i] + ";"); 4683 return t; 4684 } 4685 function o(t) { 4686 var i = (function (e) { 4687 if (!1 === l.allowEvent(e)) return null; 4688 for ( 4689 var t = null, i = e.target || e.srcElement; 4690 null !== i.parentElement; 4691 4692 ) { 4693 if ( 4694 !( 4695 i instanceof SVGElement || 4696 -1 === i.className.indexOf("waves-effect") 4697 ) 4698 ) { 4699 t = i; 4700 break; 4701 } 4702 if (i.classList.contains("waves-effect")) { 4703 t = i; 4704 break; 4705 } 4706 i = i.parentElement; 4707 } 4708 return t; 4709 })(t); 4710 null !== i && 4711 (r.show(t, i), 4712 "ontouchstart" in e && 4713 (i.addEventListener("touchend", r.hide, !1), 4714 i.addEventListener("touchcancel", r.hide, !1)), 4715 i.addEventListener("mouseup", r.hide, !1), 4716 i.addEventListener("mouseleave", r.hide, !1)); 4717 } 4718 var s = s || {}, 4719 a = document.querySelectorAll.bind(document), 4720 r = { 4721 duration: 750, 4722 show: function (e, t) { 4723 if (2 === e.button) return !1; 4724 var o = t || this, 4725 s = document.createElement("div"); 4726 (s.className = "waves-ripple"), o.appendChild(s); 4727 var a = i(o), 4728 l = e.pageY - a.top, 4729 c = e.pageX - a.left, 4730 d = "scale(" + (o.clientWidth / 100) * 10 + ")"; 4731 "touches" in e && 4732 ((l = e.touches[0].pageY - a.top), 4733 (c = e.touches[0].pageX - a.left)), 4734 s.setAttribute("data-hold", Date.now()), 4735 s.setAttribute("data-scale", d), 4736 s.setAttribute("data-x", c), 4737 s.setAttribute("data-y", l); 4738 var u = { top: l + "px", left: c + "px" }; 4739 (s.className = s.className + " waves-notransition"), 4740 s.setAttribute("style", n(u)), 4741 (s.className = s.className.replace("waves-notransition", "")), 4742 (u["-webkit-transform"] = d), 4743 (u["-moz-transform"] = d), 4744 (u["-ms-transform"] = d), 4745 (u["-o-transform"] = d), 4746 (u.transform = d), 4747 (u.opacity = "1"), 4748 (u["-webkit-transition-duration"] = r.duration + "ms"), 4749 (u["-moz-transition-duration"] = r.duration + "ms"), 4750 (u["-o-transition-duration"] = r.duration + "ms"), 4751 (u["transition-duration"] = r.duration + "ms"), 4752 (u["-webkit-transition-timing-function"] = 4753 "cubic-bezier(0.250, 0.460, 0.450, 0.940)"), 4754 (u["-moz-transition-timing-function"] = 4755 "cubic-bezier(0.250, 0.460, 0.450, 0.940)"), 4756 (u["-o-transition-timing-function"] = 4757 "cubic-bezier(0.250, 0.460, 0.450, 0.940)"), 4758 (u["transition-timing-function"] = 4759 "cubic-bezier(0.250, 0.460, 0.450, 0.940)"), 4760 s.setAttribute("style", n(u)); 4761 }, 4762 hide: function (e) { 4763 l.touchup(e); 4764 var t = this, 4765 i = (t.clientWidth, null), 4766 o = t.getElementsByClassName("waves-ripple"); 4767 if (!(o.length > 0)) return !1; 4768 var s = (i = o[o.length - 1]).getAttribute("data-x"), 4769 a = i.getAttribute("data-y"), 4770 c = i.getAttribute("data-scale"), 4771 d = 350 - (Date.now() - Number(i.getAttribute("data-hold"))); 4772 d < 0 && (d = 0), 4773 setTimeout(function () { 4774 var e = { 4775 top: a + "px", 4776 left: s + "px", 4777 opacity: "0", 4778 "-webkit-transition-duration": r.duration + "ms", 4779 "-moz-transition-duration": r.duration + "ms", 4780 "-o-transition-duration": r.duration + "ms", 4781 "transition-duration": r.duration + "ms", 4782 "-webkit-transform": c, 4783 "-moz-transform": c, 4784 "-ms-transform": c, 4785 "-o-transform": c, 4786 transform: c, 4787 }; 4788 i.setAttribute("style", n(e)), 4789 setTimeout(function () { 4790 try { 4791 t.removeChild(i); 4792 } catch (e) { 4793 return !1; 4794 } 4795 }, r.duration); 4796 }, d); 4797 }, 4798 wrapInput: function (e) { 4799 for (var t = 0; t < e.length; t++) { 4800 var i = e[t]; 4801 if ("input" === i.tagName.toLowerCase()) { 4802 var n = i.parentNode; 4803 if ( 4804 "i" === n.tagName.toLowerCase() && 4805 -1 !== n.className.indexOf("waves-effect") 4806 ) 4807 continue; 4808 var o = document.createElement("i"); 4809 o.className = i.className + " waves-input-wrapper"; 4810 var s = i.getAttribute("style"); 4811 s || (s = ""), 4812 o.setAttribute("style", s), 4813 (i.className = "waves-button-input"), 4814 i.removeAttribute("style"), 4815 n.replaceChild(o, i), 4816 o.appendChild(i); 4817 } 4818 } 4819 }, 4820 }, 4821 l = { 4822 touches: 0, 4823 allowEvent: function (e) { 4824 var t = !0; 4825 return ( 4826 "touchstart" === e.type 4827 ? (l.touches += 1) 4828 : "touchend" === e.type || "touchcancel" === e.type 4829 ? setTimeout(function () { 4830 l.touches > 0 && (l.touches -= 1); 4831 }, 500) 4832 : "mousedown" === e.type && l.touches > 0 && (t = !1), 4833 t 4834 ); 4835 }, 4836 touchup: function (e) { 4837 l.allowEvent(e); 4838 }, 4839 }; 4840 (s.displayEffect = function (t) { 4841 "duration" in (t = t || {}) && (r.duration = t.duration), 4842 r.wrapInput(a(".waves-effect")), 4843 "ontouchstart" in e && 4844 document.body.addEventListener("touchstart", o, !1), 4845 document.body.addEventListener("mousedown", o, !1); 4846 }), 4847 (s.attach = function (t) { 4848 "input" === t.tagName.toLowerCase() && 4849 (r.wrapInput([t]), (t = t.parentElement)), 4850 "ontouchstart" in e && t.addEventListener("touchstart", o, !1), 4851 t.addEventListener("mousedown", o, !1); 4852 }), 4853 (e.Waves = s), 4854 document.addEventListener( 4855 "DOMContentLoaded", 4856 function () { 4857 s.displayEffect(); 4858 }, 4859 !1 4860 ); 4861 })(window), 4862 (Materialize.toast = function (e, t, i, n) { 4863 i = i || ""; 4864 var o = document.getElementById("toast-container"); 4865 null === o && 4866 (((o = document.createElement("div")).id = "toast-container"), 4867 document.body.appendChild(o)); 4868 var s = (function (e) { 4869 var t = document.createElement("div");
4870 if ((t.classList.add("toast"), i)) 4871 for (var o = i.split(" "), s = 0, a = o.length; s < a; s++) 4872 t.classList.add(o[s]); 4873 ( 4874 "object" == typeof HTMLElement 4875 ? e instanceof HTMLElement 4876 : e && 4877 "object" == typeof e && 4878 null !== e && 4879 1 === e.nodeType && 4880 "string" == typeof e.nodeName 4881 ) 4882 ? t.appendChild(e) 4883 : e instanceof jQuery 4884 ? t.appendChild(e[0]) 4885 : (t.innerHTML = e); 4886 var r = new Hammer(t, { prevent_default: !1 }); 4887 return ( 4888 r.on("pan", function (e) { 4889 var i = e.deltaX; 4890 t.classList.contains("panning") || t.classList.add("panning"); 4891 var n = 1 - Math.abs(i / 80); 4892 n < 0 && (n = 0), 4893 Vel( 4894 t, 4895 { left: i, opacity: n }, 4896 { duration: 50, queue: !1, easing: "easeOutQuad" } 4897 ); 4898 }), 4899 r.on("panend", function (e) { 4900 var i = e.deltaX; 4901 Math.abs(i) > 80 4902 ? Vel( 4903 t, 4904 { marginTop: "-40px" }, 4905 { 4906 duration: 375, 4907 easing: "easeOutExpo", 4908 queue: !1, 4909 complete: function () { 4910 "function" == typeof n && n(), t.parentNode.removeChild(t); 4911 }, 4912 } 4913 ) 4914 : (t.classList.remove("panning"), 4915 Vel( 4916 t, 4917 { left: 0, opacity: 1 }, 4918 { duration: 300, easing: "easeOutExpo", queue: !1 } 4919 )); 4920 }), 4921 t 4922 ); 4923 })(e); 4924 e && o.appendChild(s), 4925 (s.style.opacity = 0), 4926 Vel( 4927 s, 4928 { translateY: "-35px", opacity: 1 }, 4929 { duration: 300, easing: "easeOutCubic", queue: !1 } 4930 ); 4931 var a, 4932 r = t; 4933 null != r && 4934 (a = setInterval(function () { 4935 null === s.parentNode && window.clearInterval(a), 4936 s.classList.contains("panning") || (r -= 20), 4937 r <= 0 && 4938 (Vel( 4939 s, 4940 { opacity: 0, marginTop: "-40px" }, 4941 { 4942 duration: 375, 4943 easing: "easeOutExpo", 4944 queue: !1, 4945 complete: function () { 4946 "function" == typeof n && n(), 4947 this[0].parentNode.removeChild(this[0]); 4948 }, 4949 } 4950 ), 4951 window.clearInterval(a)); 4952 }, 20)); 4953 }), 4954 (function (e) { 4955 var t = { 4956 init: function (t) { 4957 (t = e.extend( 4958 { menuWidth: 300, edge: "left", closeOnClick: !1, draggable: !0 }, 4959 t 4960 )), 4961 e(this).each(function () { 4962 var i = e(this), 4963 n = i.attr("data-activates"), 4964 o = e("#" + n); 4965 300 != t.menuWidth && o.css("width", t.menuWidth); 4966 var s = e('.drag-target[data-sidenav="' + n + '"]'); 4967 t.draggable 4968 ? (s.length && s.remove(), 4969 (s = e('<div class="drag-target"></div>').attr( 4970 "data-sidenav", 4971 n 4972 )), 4973 e("body").append(s)) 4974 : (s = e()), 4975 "left" == t.edge 4976 ? (o.css("transform", "translateX(-100%)"), s.css({ left: 0 })) 4977 : (o 4978 .addClass("right-aligned") 4979 .css("transform", "translateX(100%)"), 4980 s.css({ right: 0 })), 4981 o.hasClass("fixed") && 4982 window.innerWidth > 992 && 4983 o.css("transform", "translateX(0)"), 4984 o.hasClass("fixed") && 4985 e(window).resize(function () { 4986 window.innerWidth > 992 4987 ? 0 !== e("#sidenav-overlay").length && r 4988 ? a(!0) 4989 : o.css("transform", "translateX(0%)") 4990 : !1 === r && 4991 ("left" === t.edge 4992 ? o.css("transform", "translateX(-100%)") 4993 : o.css("transform", "translateX(100%)")); 4994 }), 4995 !0 === t.closeOnClick && 4996 o.on( 4997 "click.itemclick", 4998 "a:not(.collapsible-header)", 4999 function () { 5000 a(); 5001 } 5002 ); 5003 var a = function (i) { 5004 !1, 5005 (r = !1), 5006 e("body").css({ overflow: "", width: "" }), 5007 e("#sidenav-overlay").velocity( 5008 { opacity: 0 }, 5009 { 5010 duration: 200, 5011 queue: !1, 5012 easing: "easeOutQuad", 5013 complete: function () { 5014 e(this).remove(); 5015 }, 5016 } 5017 ), 5018 "left" === t.edge 5019 ? (s.css({ width: "", right: "", left: "0" }), 5020 o.velocity( 5021 { translateX: "-100%" }, 5022 { 5023 duration: 200, 5024 queue: !1, 5025 easing: "easeOutCubic", 5026 complete: function () { 5027 !0 === i && 5028 (o.removeAttr("style"), 5029 o.css("width", t.menuWidth)); 5030 }, 5031 } 5032 )) 5033 : (s.css({ width: "", right: "0", left: "" }), 5034 o.velocity( 5035 { translateX: "100%" }, 5036 { 5037 duration: 200, 5038 queue: !1, 5039 easing: "easeOutCubic", 5040 complete: function () { 5041 !0 === i && 5042 (o.removeAttr("style"), 5043 o.css("width", t.menuWidth)); 5044 }, 5045 } 5046 )); 5047 }, 5048 r = !1; 5049 t.draggable && 5050 (s.on("click", function () { 5051 r && a(); 5052 }), 5053 s 5054 .hammer({ prevent_default: !1 }) 5055 .bind("pan", function (i) { 5056 if ("touch" == i.gesture.pointerType) { 5057 i.gesture.direction; 5058 var n, 5059 s = i.gesture.center.x, 5060 l = (i.gesture.center.y, i.gesture.velocityX, e("body")), 5061 c = e("#sidenav-overlay"), 5062 d = l.innerWidth(); 5063 if ( 5064 (l.css("overflow", "hidden"), 5065 l.width(d), 5066 0 === c.length && 5067 ((c = e('<div id="sidenav-overlay"></div>')) 5068 .css("opacity", 0) 5069 .click(function () { 5070 a(); 5071 }), 5072 e("body").append(c)), 5073 "left" === t.edge && 5074 (s > t.menuWidth 5075 ? (s = t.menuWidth) 5076 : s < 0 && (s = 0)), 5077 "left" === t.edge) 5078 ) 5079 s < t.menuWidth / 2 5080 ? (r = !1) 5081 : s >= t.menuWidth / 2 && (r = !0), 5082 o.css( 5083 "transform",
5084 "translateX(" + (s - t.menuWidth) + "px)" 5085 ); 5086 else { 5087 s < window.innerWidth - t.menuWidth / 2 5088 ? (r = !0) 5089 : s >= window.innerWidth - t.menuWidth / 2 && (r = !1); 5090 var u = s - t.menuWidth / 2; 5091 u < 0 && (u = 0), 5092 o.css("transform", "translateX(" + u + "px)"); 5093 } 5094 "left" === t.edge 5095 ? ((n = s / t.menuWidth), 5096 c.velocity( 5097 { opacity: n }, 5098 { duration: 10, queue: !1, easing: "easeOutQuad" } 5099 )) 5100 : ((n = Math.abs((s - window.innerWidth) / t.menuWidth)), 5101 c.velocity( 5102 { opacity: n }, 5103 { duration: 10, queue: !1, easing: "easeOutQuad" } 5104 )); 5105 } 5106 }) 5107 .bind("panend", function (i) { 5108 if ("touch" == i.gesture.pointerType) { 5109 var n = e("#sidenav-overlay"), 5110 a = i.gesture.velocityX, 5111 l = i.gesture.center.x, 5112 c = l - t.menuWidth, 5113 d = l - t.menuWidth / 2; 5114 c > 0 && (c = 0), 5115 d < 0 && (d = 0), 5116 !1, 5117 "left" === t.edge 5118 ? (r && a <= 0.3) || a < -0.5 5119 ? (0 !== c && 5120 o.velocity( 5121 { translateX: [0, c] }, 5122 { 5123 duration: 300, 5124 queue: !1, 5125 easing: "easeOutQuad", 5126 } 5127 ), 5128 n.velocity( 5129 { opacity: 1 }, 5130 { duration: 50, queue: !1, easing: "easeOutQuad" } 5131 ), 5132 s.css({ width: "50%", right: 0, left: "" }), 5133 (r = !0)) 5134 : (!r || a > 0.3) && 5135 (e("body").css({ overflow: "", width: "" }), 5136 o.velocity( 5137 { translateX: [-1 * t.menuWidth - 10, c] }, 5138 { 5139 duration: 200, 5140 queue: !1, 5141 easing: "easeOutQuad", 5142 } 5143 ), 5144 n.velocity( 5145 { opacity: 0 }, 5146 { 5147 duration: 200, 5148 queue: !1, 5149 easing: "easeOutQuad", 5150 complete: function () { 5151 e(this).remove(); 5152 }, 5153 } 5154 ), 5155 s.css({ width: "10px", right: "", left: 0 })) 5156 : (r && a >= -0.3) || a > 0.5 5157 ? (0 !== d && 5158 o.velocity( 5159 { translateX: [0, d] }, 5160 { 5161 duration: 300, 5162 queue: !1, 5163 easing: "easeOutQuad", 5164 } 5165 ), 5166 n.velocity( 5167 { opacity: 1 }, 5168 { duration: 50, queue: !1, easing: "easeOutQuad" } 5169 ), 5170 s.css({ width: "50%", right: "", left: 0 }), 5171 (r = !0)) 5172 : (!r || a < -0.3) && 5173 (e("body").css({ overflow: "", width: "" }), 5174 o.velocity( 5175 { translateX: [t.menuWidth + 10, d] }, 5176 { duration: 200, queue: !1, easing: "easeOutQuad" } 5177 ), 5178 n.velocity( 5179 { opacity: 0 }, 5180 { 5181 duration: 200, 5182 queue: !1, 5183 easing: "easeOutQuad", 5184 complete: function () { 5185 e(this).remove(); 5186 }, 5187 } 5188 ), 5189 s.css({ width: "10px", right: 0, left: "" })); 5190 } 5191 })), 5192 i.off("click.sidenav").on("click.sidenav", function () { 5193 if (!0 === r) (r = !1), !1, a(); 5194 else { 5195 var i = e("body"), 5196 n = e('<div id="sidenav-overlay"></div>'), 5197 l = i.innerWidth(); 5198 i.css("overflow", "hidden"), 5199 i.width(l), 5200 e("body").append(s), 5201 "left" === t.edge 5202 ? (s.css({ width: "50%", right: 0, left: "" }), 5203 o.velocity( 5204 { translateX: [0, -1 * t.menuWidth] }, 5205 { duration: 300, queue: !1, easing: "easeOutQuad" } 5206 )) 5207 : (s.css({ width: "50%", right: "", left: 0 }), 5208 o.velocity( 5209 { translateX: [0, t.menuWidth] }, 5210 { duration: 300, queue: !1, easing: "easeOutQuad" } 5211 )), 5212 n.css("opacity", 0).click(function () { 5213 (r = !1), 5214 !1, 5215 a(), 5216 n.velocity( 5217 { opacity: 0 }, 5218 { 5219 duration: 300, 5220 queue: !1, 5221 easing: "easeOutQuad", 5222 complete: function () { 5223 e(this).remove(); 5224 }, 5225 } 5226 ); 5227 }), 5228 e("body").append(n), 5229 n.velocity( 5230 { opacity: 1 }, 5231 { 5232 duration: 300, 5233 queue: !1, 5234 easing: "easeOutQuad", 5235 complete: function () { 5236 (r = !0), !1; 5237 }, 5238 } 5239 ); 5240 } 5241 return !1; 5242 }); 5243 }); 5244 }, 5245 destroy: function () { 5246 var t = e("#sidenav-overlay"), 5247 i = e( 5248 '.drag-target[data-sidenav="' + 5249 e(this).attr("data-activates") + 5250 '"]' 5251 ); 5252 t.trigger("click"), i.remove(), e(this).off("click"), t.remove(); 5253 }, 5254 show: function () { 5255 this.trigger("click"); 5256 }, 5257 hide: function () { 5258 e("#sidenav-overlay").trigger("click"); 5259 }, 5260 }; 5261 e.fn.sideNav = function (i) { 5262 return t[i] 5263 ? t[i].apply(this, Array.prototype.slice.call(arguments, 1)) 5264 : "object" != typeof i && i 5265 ? void e.error("Method " + i + " does not exist on jQuery.sideNav")
5266 : t.init.apply(this, arguments); 5267 }; 5268 })(jQuery), 5269 (function (e) { 5270 function t(t, i, n, o) { 5271 var a = e(); 5272 return ( 5273 e.each(s, function (e, s) { 5274 if (s.height() > 0) { 5275 var r = s.offset().top, 5276 l = s.offset().left, 5277 c = l + s.width(), 5278 d = r + s.height(); 5279 !(l > i || c < o || r > n || d < t) && a.push(s); 5280 } 5281 }), 5282 a 5283 ); 5284 } 5285 function i(i) { 5286 ++l; 5287 var n = o.scrollTop(), 5288 s = o.scrollLeft(), 5289 r = s + o.width(), 5290 d = n + o.height(), 5291 u = t(n + c.top + i || 200, r + c.right, d + c.bottom, s + c.left); 5292 e.each(u, function (e, t) { 5293 "number" != typeof t.data("scrollSpy:ticks") && 5294 t.triggerHandler("scrollSpy:enter"), 5295 t.data("scrollSpy:ticks", l); 5296 }), 5297 e.each(a, function (e, t) { 5298 var i = t.data("scrollSpy:ticks"); 5299 "number" == typeof i && 5300 i !== l && 5301 (t.triggerHandler("scrollSpy:exit"), 5302 t.data("scrollSpy:ticks", null)); 5303 }), 5304 (a = u); 5305 } 5306 function n() { 5307 o.trigger("scrollSpy:winSize"); 5308 } 5309 var o = e(window), 5310 s = [], 5311 a = [], 5312 r = !1, 5313 l = 0, 5314 c = { top: 0, right: 0, bottom: 0, left: 0 }; 5315 (e.scrollSpy = function (t, n) { 5316 n = e.extend({ throttle: 100, scrollOffset: 200 }, n); 5317 var a = []; 5318 (t = e(t)).each(function (t, i) { 5319 s.push(e(i)), 5320 e(i).data("scrollSpy:id", t), 5321 e('a[href="#' + e(i).attr("id") + '"]').click(function (t) { 5322 t.preventDefault(); 5323 var i = e(Materialize.escapeHash(this.hash)).offset().top + 1; 5324 e("html, body").animate( 5325 { scrollTop: i - n.scrollOffset }, 5326 { duration: 400, queue: !1, easing: "easeOutCubic" } 5327 ); 5328 }); 5329 }), 5330 (c.top = n.offsetTop || 0), 5331 (c.right = n.offsetRight || 0), 5332 (c.bottom = n.offsetBottom || 0), 5333 (c.left = n.offsetLeft || 0); 5334 var l = Materialize.throttle(function () { 5335 i(n.scrollOffset); 5336 }, n.throttle || 100), 5337 d = function () { 5338 e(document).ready(l); 5339 }; 5340 return ( 5341 r || (o.on("scroll", d), o.on("resize", d), (r = !0)), 5342 setTimeout(d, 0), 5343 t.on("scrollSpy:enter", function () { 5344 a = e.grep(a, function (e) { 5345 return 0 != e.height(); 5346 }); 5347 var t = e(this); 5348 a[0] 5349 ? (e('a[href="#' + a[0].attr("id") + '"]').removeClass("active"), 5350 t.data("scrollSpy:id") < a[0].data("scrollSpy:id") 5351 ? a.unshift(e(this)) 5352 : a.push(e(this))) 5353 : a.push(e(this)), 5354 e('a[href="#' + a[0].attr("id") + '"]').addClass("active"); 5355 }), 5356 t.on("scrollSpy:exit", function () { 5357 if ( 5358 (a = e.grep(a, function (e) { 5359 return 0 != e.height(); 5360 }))[0] 5361 ) { 5362 e('a[href="#' + a[0].attr("id") + '"]').removeClass("active"); 5363 var t = e(this); 5364 (a = e.grep(a, function (e) { 5365 return e.attr("id") != t.attr("id"); 5366 }))[0] && 5367 e('a[href="#' + a[0].attr("id") + '"]').addClass("active"); 5368 } 5369 }), 5370 t 5371 ); 5372 }), 5373 (e.winSizeSpy = function (t) { 5374 return ( 5375 (e.winSizeSpy = function () { 5376 return o; 5377 }), 5378 (t = t || { throttle: 100 }), 5379 o.on("resize", Materialize.throttle(n, t.throttle || 100)) 5380 ); 5381 }), 5382 (e.fn.scrollSpy = function (t) { 5383 return e.scrollSpy(e(this), t); 5384 }); 5385 })(jQuery), 5386 (function (e) { 5387 e(document).ready(function () { 5388 Materialize.updateTextFields = function () { 5389 e( 5390 "input[type=text], input[type=password], input[type=email], input[type=url], input[type=tel], input[type=number], input[type=search], textarea" 5391 ).each(function (t, i) { 5392 var n = e(this); 5393 e(i).val().length > 0 || 5394 i.autofocus || 5395 void 0 !== n.attr("placeholder") 5396 ? n.siblings("label").addClass("active") 5397 : e(i)[0].validity 5398 ? n 5399 .siblings("label") 5400 .toggleClass("active", !0 === e(i)[0].validity.badInput) 5401 : n.siblings("label").removeClass("active"); 5402 }); 5403 }; 5404 var t = 5405 "input[type=text], input[type=password], input[type=email], input[type=url], input[type=tel], input[type=number], input[type=search], textarea"; 5406 e(document).on("change", t, function () { 5407 (0 === e(this).val().length && 5408 void 0 === e(this).attr("placeholder")) || 5409 e(this).siblings("label").addClass("active"), 5410 validate_field(e(this)); 5411 }), 5412 e(document).ready(function () { 5413 Materialize.updateTextFields(); 5414 }), 5415 e(document).on("reset", function (i) { 5416 var n = e(i.target); 5417 n.is("form") &&
5418 (n.find(t).removeClass("valid").removeClass("invalid"), 5419 n.find(t).each(function () { 5420 "" === e(this).attr("value") && 5421 e(this).siblings("label").removeClass("active"); 5422 }), 5423 n.find("select.initialized").each(function () { 5424 var e = n.find("option[selected]").text(); 5425 n.siblings("input.select-dropdown").val(e); 5426 })); 5427 }), 5428 e(document).on("focus", t, function () { 5429 e(this).siblings("label, .prefix").addClass("active"); 5430 }), 5431 e(document).on("blur", t, function () { 5432 var t = e(this), 5433 i = ".prefix"; 5434 0 === t.val().length && 5435 !0 !== t[0].validity.badInput && 5436 void 0 === t.attr("placeholder") && 5437 (i += ", label"), 5438 t.siblings(i).removeClass("active"), 5439 validate_field(t); 5440 }), 5441 (window.validate_field = function (e) { 5442 var t = void 0 !== e.attr("data-length"), 5443 i = parseInt(e.attr("data-length")), 5444 n = e.val().length; 5445 0 === e.val().length && !1 === e[0].validity.badInput
5446 ? e.hasClass("validate") && 5447 (e.removeClass("valid"), e.removeClass("invalid")) 5448 : e.hasClass("validate") && 5449 ((e.is(":valid") && t && n <= i) || (e.is(":valid") && !t) 5450 ? (e.removeClass("invalid"), e.addClass("valid")) 5451 : (e.removeClass("valid"), e.addClass("invalid"))); 5452 }), 5453 e(document).on( 5454 "keyup.radio", 5455 "input[type=radio], input[type=checkbox]", 5456 function (t) { 5457 if (9 === t.which) 5458 return ( 5459 e(this).addClass("tabbed"), 5460 void e(this).one("blur", function (t) { 5461 e(this).removeClass("tabbed"); 5462 }) 5463 ); 5464 } 5465 ); 5466 var i = e(".hiddendiv").first(); 5467 i.length || 5468 ((i = e('<div class="hiddendiv common"></div>')), e("body").append(i)), 5469 e(".materialize-textarea").each(function () { 5470 var t = e(this); 5471 t.data("original-height", t.height()), 5472 t.data("previous-length", t.val().length); 5473 }), 5474 e("body").on( 5475 "keyup keydown autoresize", 5476 ".materialize-textarea", 5477 function () { 5478 !(function (t) { 5479 var n = t.css("font-family"), 5480 o = t.css("font-size"), 5481 s = t.css("line-height"); 5482 o && i.css("font-size", o), 5483 n && i.css("font-family", n), 5484 s && i.css("line-height", s), 5485 "off" === t.attr("wrap") && 5486 i.css("overflow-wrap", "normal").css("white-space", "pre"), 5487 i.text(t.val() + "\n"); 5488 var a = i.html().replace(/\n/g, "<br>"); 5489 i.html(a), 5490 t.is(":visible") 5491 ? i.css("width", t.width()) 5492 : i.css("width", e(window).width() / 2), 5493 t.data("original-height") <= i.height() 5494 ? t.css("height", i.height()) 5495 : t.val().length < t.data("previous-length") && 5496 t.css("height", t.data("original-height")), 5497 t.data("previous-length", t.val().length); 5498 })(e(this)); 5499 } 5500 ), 5501 e(document).on("change", '.file-field input[type="file"]', function () { 5502 for ( 5503 var t = e(this).closest(".file-field").find("input.file-path"), 5504 i = e(this)[0].files, 5505 n = [], 5506 o = 0; 5507 o < i.length; 5508 o++ 5509 ) 5510 n.push(i[o].name); 5511 t.val(n.join(", ")), t.trigger("change"); 5512 }); 5513 var n = "input[type=range]", 5514 o = !1; 5515 e(n).each(function () { 5516 var t = e('<span class="thumb"><span class="value"></span></span>'); 5517 e(this).after(t); 5518 }); 5519 var s = function (e) { 5520 var t = -7 + parseInt(e.parent().css("padding-left")) + "px"; 5521 e.velocity( 5522 { height: "30px", width: "30px", top: "-30px", marginLeft: t }, 5523 { duration: 300, easing: "easeOutExpo" } 5524 ); 5525 }, 5526 a = function (e) { 5527 var t = e.width() - 15, 5528 i = parseFloat(e.attr("max")), 5529 n = parseFloat(e.attr("min")); 5530 return ((parseFloat(e.val()) - n) / (i - n)) * t; 5531 }; 5532 e(document).on("change", n, function (t) { 5533 var i = e(this).siblings(".thumb"); 5534 i.find(".value").html(e(this).val()), i.hasClass("active") || s(i); 5535 var n = a(e(this)); 5536 i.addClass("active").css("left", n); 5537 }), 5538 e(document).on("mousedown touchstart", n, function (t) { 5539 var i = e(this).siblings(".thumb"); 5540 if ( 5541 (i.length <= 0 && 5542 ((i = e( 5543 '<span class="thumb"><span class="value"></span></span>' 5544 )), 5545 e(this).after(i)), 5546 i.find(".value").html(e(this).val()), 5547 (o = !0), 5548 e(this).addClass("active"), 5549 i.hasClass("active") || s(i), 5550 "input" !== t.type) 5551 ) { 5552 var n = a(e(this)); 5553 i.addClass("active").css("left", n); 5554 } 5555 }), 5556 e(document).on("mouseup touchend", ".range-field", function () { 5557 (o = !1), e(this).removeClass("active"); 5558 }), 5559 e(document).on( 5560 "input mousemove touchmove", 5561 ".range-field", 5562 function (t) { 5563 var i = e(this).children(".thumb"), 5564 r = e(this).find(n); 5565 if (o) { 5566 i.hasClass("active") || s(i); 5567 var l = a(r); 5568 i.addClass("active").css("left", l), 5569 i.find(".value").html(i.siblings(n).val()); 5570 } 5571 } 5572 ), 5573 e(document).on("mouseout touchleave", ".range-field", function () { 5574 if (!o) { 5575 var t = e(this).children(".thumb"), 5576 i = 7 + parseInt(e(this).css("padding-left")) + "px"; 5577 t.hasClass("active") && 5578 t.velocity( 5579 { height: "0", width: "0", top: "10px", marginLeft: i }, 5580 { duration: 100 } 5581 ), 5582 t.removeClass("active"); 5583 } 5584 }), 5585 (e.fn.autocomplete = function (t) { 5586 return ( 5587 (t = e.extend( 5588 { data: {}, limit: 1 / 0, onAutocomplete: null, minLength: 1 }, 5589 t 5590 )), 5591 this.each(function () { 5592 var i, 5593 n = e(this), 5594 o = t.data, 5595 s = 0, 5596 a = -1, 5597 r = n.closest(".input-field"); 5598 if (!e.isEmptyObject(o)) { 5599 var l, 5600 c = e( 5601 '<ul class="autocomplete-content dropdown-content"></ul>' 5602 ); 5603 r.length 5604 ? (l = r 5605 .children(".autocomplete-content.dropdown-content") 5606 .first()).length || r.append(c) 5607 : (l = n.next(".autocomplete-content.dropdown-content")) 5608 .length || n.after(c), 5609 l.length && (c = l); 5610 var d = function (e, t) { 5611 var i = t.find("img"), 5612 n = t 5613 .text() 5614 .toLowerCase() 5615 .indexOf("" + e.toLowerCase()), 5616 o = n + e.length - 1, 5617 s = t.text().slice(0, n), 5618 a = t.text().slice(n, o + 1), 5619 r = t.text().slice(o + 1); 5620 t.html( 5621 "<span>" + 5622 s + 5623 "<span class='highlight'>" + 5624 a + 5625 "</span>" + 5626 r + 5627 "</span>" 5628 ), 5629 i.length && t.prepend(i); 5630 }, 5631 u = function () { 5632 c.empty(), 5633 (a = -1), 5634 c.find(".active").removeClass("active"), 5635 (i = void 0); 5636 }; 5637 n.off("blur.autocomplete").on("blur.autocomplete", function () { 5638 u(); 5639 }), 5640 n 5641 .off("keyup.autocomplete focus.autocomplete") 5642 .on("keyup.autocomplete focus.autocomplete", function (a) { 5643 s = 0; 5644 var r = n.val().toLowerCase(); 5645 if (13 !== a.which && 38 !== a.which && 40 !== a.which) { 5646 if (i !== r && (u(), r.length >= t.minLength)) 5647 for (var l in o) 5648 if ( 5649 o.hasOwnProperty(l) && 5650 -1 !== l.toLowerCase().indexOf(r) && 5651 l.toLowerCase() !== r 5652 ) { 5653 if (s >= t.limit) break; 5654 var p = e("<li></li>"); 5655 o[l] 5656 ? p.append( 5657 '<img src="' + 5658 o[l] + 5659 '" class="right circle"><span>' + 5660 l + 5661 "</span>" 5662 ) 5663 : p.append("<span>" + l + "</span>"), 5664 c.append(p), 5665 d(r, p), 5666 s++; 5667 } 5668 i = r; 5669 } 5670 }), 5671 n 5672 .off("keydown.autocomplete")
5673 .on("keydown.autocomplete", function (e) { 5674 var t, 5675 i = e.which, 5676 n = c.children("li").length, 5677 o = c.children(".active").first(); 5678 13 === i && a >= 0 5679 ? (t = c.children("li").eq(a)).length && 5680 (t.trigger("mousedown.autocomplete"), 5681 e.preventDefault()) 5682 : (38 !== i && 40 !== i) || 5683 (e.preventDefault(), 5684 38 === i && a > 0 && a--, 5685 40 === i && a < n - 1 && a++, 5686 o.removeClass("active"), 5687 a >= 0 && c.children("li").eq(a).addClass("active")); 5688 }), 5689 c.on( 5690 "mousedown.autocomplete touchstart.autocomplete", 5691 "li", 5692 function () { 5693 var i = e(this).text().trim(); 5694 n.val(i), 5695 n.trigger("change"), 5696 u(), 5697 "function" == typeof t.onAutocomplete && 5698 t.onAutocomplete.call(this, i); 5699 } 5700 ); 5701 } 5702 }) 5703 ); 5704 }); 5705 }), 5706 (e.fn.material_select = function (t) { 5707 function i(e, t, i) { 5708 var n = e.indexOf(t), 5709 o = -1 === n; 5710 return ( 5711 o ? e.push(t) : e.splice(n, 1), 5712 i 5713 .siblings("ul.dropdown-content") 5714 .find("li:not(.optgroup)") 5715 .eq(t) 5716 .toggleClass("active"), 5717 i.find("option").eq(t).prop("selected", o), 5718 (function (e, t) { 5719 for (var i = "", n = 0, o = e.length; n < o; n++) { 5720 var s = t.find("option").eq(e[n]).text(); 5721 i += 0 === n ? s : ", " + s; 5722 } 5723 "" === i && (i = t.find("option:disabled").eq(0).text()), 5724 t.siblings("input.select-dropdown").val(i); 5725 })(e, i), 5726 o 5727 ); 5728 } 5729 e(this).each(function () { 5730 var n = e(this); 5731 if (!n.hasClass("browser-default")) { 5732 var o = !!n.attr("multiple"), 5733 s = n.data("select-id"); 5734 if ( 5735 (s && 5736 (n.parent().find("span.caret").remove(), 5737 n.parent().find("input").remove(), 5738 n.unwrap(), 5739 e("ul#select-options-" + s).remove()), 5740 "destroy" !== t) 5741 ) { 5742 var a = Materialize.guid(); 5743 n.data("select-id", a); 5744 var r = e('<div class="select-wrapper"></div>'); 5745 r.addClass(n.attr("class")); 5746 var l = e( 5747 '<ul id="select-options-' + 5748 a + 5749 '" class="dropdown-content select-dropdown ' + 5750 (o ? "multiple-select-dropdown" : "") + 5751 '"></ul>' 5752 ), 5753 c = n.children("option, optgroup"), 5754 d = [], 5755 u = !1, 5756 p = 5757 n.find("option:selected").html() || 5758 n.find("option:first").html() || 5759 "", 5760 f = function (t, i, n) { 5761 var s = i.is(":disabled") ? "disabled " : "", 5762 a = "optgroup-option" === n ? "optgroup-option " : "", 5763 r = o 5764 ? '<input type="checkbox"' + s + "/><label></label>" 5765 : "", 5766 c = i.data("icon"), 5767 d = i.attr("class"); 5768 if (c) { 5769 var u = ""; 5770 return ( 5771 d && (u = ' class="' + d + '"'), 5772 l.append( 5773 e( 5774 '<li class="' + 5775 s + 5776 a + 5777 '"><img alt="" src="' + 5778 c + 5779 '"' + 5780 u + 5781 "><span>" + 5782 r + 5783 i.html() + 5784 "</span></li>" 5785 ) 5786 ), 5787 !0 5788 ); 5789 } 5790 l.append( 5791 e( 5792 '<li class="' + 5793 s + 5794 a + 5795 '"><span>' + 5796 r + 5797 i.html() + 5798 "</span></li>" 5799 ) 5800 ); 5801 }; 5802 c.length && 5803 c.each(function () { 5804 if (e(this).is("option")) 5805 o ? f(0, e(this), "multiple") : f(0, e(this)); 5806 else if (e(this).is("optgroup")) { 5807 var t = e(this).children("option"); 5808 l.append( 5809 e( 5810 '<li class="optgroup"><span>' + 5811 e(this).attr("label") + 5812 "</span></li>" 5813 ) 5814 ), 5815 t.each(function () { 5816 f(0, e(this), "optgroup-option"); 5817 }); 5818 } 5819 }), 5820 l.find("li:not(.optgroup)").each(function (s) { 5821 e(this).click(function (a) { 5822 if ( 5823 !e(this).hasClass("disabled") && 5824 !e(this).hasClass("optgroup") 5825 ) { 5826 var r = !0; 5827 o 5828 ? (e('input[type="checkbox"]', this).prop( 5829 "checked", 5830 function (e, t) { 5831 return !t; 5832 } 5833 ), 5834 (r = i(d, s, n)), 5835 g.trigger("focus")) 5836 : (l.find("li").removeClass("active"), 5837 e(this).toggleClass("active"), 5838 g.val(e(this).text())), 5839 m(l, e(this)), 5840 n.find("option").eq(s).prop("selected", r), 5841 n.trigger("change"), 5842 void 0 !== t && t(); 5843 } 5844 a.stopPropagation(); 5845 }); 5846 }), 5847 n.wrap(r); 5848 var h = e('<span class="caret"><i class="fa-solid fa-chevron-down"></i></span>'); 5849 n.is(":disabled") && h.addClass("disabled"); 5850 var v = p.replace(/"/g, """), 5851 g = e( 5852 '<input type="text" class="select-dropdown" readonly="true" ' + 5853 (n.is(":disabled") ? "disabled" : "") + 5854 ' data-activates="select-options-' + 5855 a + 5856 '" value="' + 5857 v + 5858 '"/>' 5859 ); 5860 n.before(g), 5861 g.before(h), 5862 g.after(l), 5863 n.is(":disabled") || g.dropdown({ hover: !1 }), 5864 n.attr("tabindex") && 5865 e(g[0]).attr("tabindex", n.attr("tabindex")), 5866 n.addClass("initialized"),
5867 g.on({ 5868 focus: function () { 5869 if ( 5870 (e("ul.select-dropdown").not(l[0]).is(":visible") && 5871 e("input.select-dropdown").trigger("close"), 5872 !l.is(":visible")) 5873 ) { 5874 e(this).trigger("open", ["focus"]); 5875 var t = e(this).val(); 5876 o && t.indexOf(",") >= 0 && (t = t.split(",")[0]); 5877 var i = l.find("li").filter(function () { 5878 return e(this).text().toLowerCase() === t.toLowerCase(); 5879 })[0]; 5880 m(l, i, !0); 5881 } 5882 }, 5883 click: function (e) { 5884 e.stopPropagation(); 5885 }, 5886 }), 5887 g.on("blur", function () { 5888 o || e(this).trigger("close"), 5889 l.find("li.selected").removeClass("selected"); 5890 }), 5891 l.hover( 5892 function () { 5893 u = !0; 5894 }, 5895 function () { 5896 u = !1; 5897 } 5898 ), 5899 e(window).on({ 5900 click: function () { 5901 o && (u || g.trigger("close")); 5902 }, 5903 }), 5904 o && 5905 n.find("option:selected:not(:disabled)").each(function () { 5906 var t = e(this).index(); 5907 i(d, t, n), 5908 l.find("li").eq(t).find(":checkbox").prop("checked", !0); 5909 }); 5910 var m = function (t, i, n) { 5911 if (i) { 5912 t.find("li.selected").removeClass("selected"); 5913 var s = e(i); 5914 s.addClass("selected"), (o && !n) || l.scrollTo(s); 5915 } 5916 }, 5917 y = []; 5918 g.on("keydown", function (t) { 5919 if (9 != t.which) 5920 if (40 != t.which || l.is(":visible")) { 5921 if (13 != t.which || l.is(":visible")) { 5922 t.preventDefault(); 5923 var i = String.fromCharCode(t.which).toLowerCase(); 5924 if (i && -1 === [9, 13, 27, 38, 40].indexOf(t.which)) { 5925 y.push(i); 5926 var n = y.join(""), 5927 s = l.find("li").filter(function () { 5928 return ( 5929 0 === e(this).text().toLowerCase().indexOf(n) 5930 ); 5931 })[0]; 5932 s && m(l, s); 5933 } 5934 if (13 == t.which) { 5935 var a = l.find("li.selected:not(.disabled)")[0]; 5936 a && (e(a).trigger("click"), o || g.trigger("close")); 5937 } 5938 40 == t.which && 5939 ((s = l.find("li.selected").length 5940 ? l.find("li.selected").next("li:not(.disabled)")[0] 5941 : l.find("li:not(.disabled)")[0]), 5942 m(l, s)), 5943 27 == t.which && g.trigger("close"), 5944 38 == t.which && 5945 (s = l 5946 .find("li.selected") 5947 .prev("li:not(.disabled)")[0]) && 5948 m(l, s), 5949 setTimeout(function () { 5950 y = []; 5951 }, 1e3); 5952 } 5953 } else g.trigger("open"); 5954 else g.trigger("close"); 5955 }); 5956 } else n.data("select-id", null).removeClass("initialized"); 5957 } 5958 }); 5959 }); 5960 })(jQuery), 5961 (function (e) { 5962 var t = { 5963 init: function (t) { 5964 return ( 5965 (t = e.extend( 5966 { indicators: !0, height: 400, transition: 500, interval: 6e3 }, 5967 t 5968 )), 5969 this.each(function () { 5970 function i(e, t) { 5971 e.hasClass("center-align") 5972 ? e.velocity( 5973 { opacity: 0, translateY: -100 }, 5974 { duration: t, queue: !1 } 5975 ) 5976 : e.hasClass("right-align") 5977 ? e.velocity( 5978 { opacity: 0, translateX: 100 }, 5979 { duration: t, queue: !1 } 5980 ) 5981 : e.hasClass("left-align") && 5982 e.velocity( 5983 { opacity: 0, translateX: -100 }, 5984 { duration: t, queue: !1 } 5985 ); 5986 } 5987 function n(e) { 5988 e >= c.length ? (e = 0) : e < 0 && (e = c.length - 1), 5989 (d = l.find(".active").index()) != e && 5990 ((o = c.eq(d)), 5991 ($caption = o.find(".caption")), 5992 o.removeClass("active"), 5993 o.velocity( 5994 { opacity: 0 }, 5995 { 5996 duration: t.transition, 5997 queue: !1, 5998 easing: "easeOutQuad", 5999 complete: function () { 6000 c.not(".active").velocity( 6001 { opacity: 0, translateX: 0, translateY: 0 }, 6002 { duration: 0, queue: !1 } 6003 ); 6004 }, 6005 } 6006 ), 6007 i($caption, t.transition), 6008 t.indicators && s.eq(d).removeClass("active"), 6009 c.eq(e).velocity( 6010 { opacity: 1 }, 6011 { 6012 duration: t.transition, 6013 queue: !1, 6014 easing: "easeOutQuad", 6015 } 6016 ), 6017 c.eq(e).find(".caption").velocity( 6018 { opacity: 1, translateX: 0, translateY: 0 }, 6019 { 6020 duration: t.transition, 6021 delay: t.transition, 6022 queue: !1, 6023 easing: "easeOutQuad", 6024 } 6025 ), 6026 c.eq(e).addClass("active"), 6027 t.indicators && s.eq(e).addClass("active")); 6028 } 6029 var o, 6030 s, 6031 a, 6032 r = e(this), 6033 l = r.find("ul.slides").first(), 6034 c = l.find("> li"), 6035 d = l.find(".active").index(); 6036 -1 != d && (o = c.eq(d)), 6037 r.hasClass("fullscreen") || 6038 (t.indicators ? r.height(t.height + 40) : r.height(t.height), 6039 l.height(t.height)), 6040 c.find(".caption").each(function () { 6041 i(e(this), 0); 6042 }), 6043 c.find("img").each(function () { 6044 var t = 6045 "data:image/gif;base64,R0lGODlhAQABAIABAP///wAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw=="; 6046 e(this).attr("src") !== t && 6047 (e(this).css( 6048 "background-image", 6049 "url(" + e(this).attr("src") + ")" 6050 ), 6051 e(this).attr("src", t)); 6052 }), 6053 t.indicators && 6054 ((s = e('<ul class="indicators"></ul>')), 6055 c.each(function (i) { 6056 var o = e('<li class="indicator-item"></li>'); 6057 o.click(function () { 6058 n(l.parent().find(e(this)).index()), 6059 clearInterval(a), 6060 (a = setInterval(function () { 6061 (d = l.find(".active").index()), 6062 c.length == d + 1 ? (d = 0) : (d += 1), 6063 n(d); 6064 }, t.transition + t.interval)); 6065 }), 6066 s.append(o); 6067 }), 6068 r.append(s), 6069 (s = r.find("ul.indicators").find("li.indicator-item"))), 6070 o 6071 ? o.show() 6072 : (c.first().addClass("active").velocity( 6073 { opacity: 1 }, 6074 { 6075 duration: t.transition, 6076 queue: !1, 6077 easing: "easeOutQuad", 6078 } 6079 ), 6080 (d = 0), 6081 (o = c.eq(d)), 6082 t.indicators && s.eq(d).addClass("active")), 6083 o.find("img").each(function () { 6084 o.find(".caption").velocity( 6085 { opacity: 1, translateX: 0, translateY: 0 }, 6086 { duration: t.transition, queue: !1, easing: "easeOutQuad" } 6087 ); 6088 }), 6089 (a = setInterval(function () { 6090 n((d = l.find(".active").index()) + 1); 6091 }, t.transition + t.interval)); 6092 var u = !1, 6093 p = !1; 6094 r 6095 .hammer({ prevent_default: !1 }) 6096 .bind("pan", function (e) { 6097 if ("touch" === e.gesture.pointerType) { 6098 clearInterval(a); 6099 var t, 6100 i = e.gesture.direction, 6101 n = e.gesture.deltaX, 6102 o = e.gesture.velocityX, 6103 s = e.gesture.velocityY; 6104 ($curr_slide = l.find(".active")), 6105 Math.abs(o) > Math.abs(s) && 6106 $curr_slide.velocity( 6107 { translateX: n }, 6108 { duration: 50, queue: !1, easing: "easeOutQuad" } 6109 ), 6110 4 === i && (n > r.innerWidth() / 2 || o < -0.65) 6111 ? (p = !0) 6112 : 2 === i && 6113 (n < (-1 * r.innerWidth()) / 2 || o > 0.65) && 6114 (u = !0), 6115 u && 6116 (0 === (t = $curr_slide.next()).length && (t = c.first()), 6117 t.velocity( 6118 { opacity: 1 }, 6119 { duration: 300, queue: !1, easing: "easeOutQuad" } 6120 )), 6121 p && 6122 (0 === (t = $curr_slide.prev()).length && (t = c.last(
6122)), 6123 t.velocity( 6124 { opacity: 1 }, 6125 { duration: 300, queue: !1, easing: "easeOutQuad" } 6126 )); 6127 } 6128 }) 6129 .bind("panend", function (e) { 6130 "touch" === e.gesture.pointerType && 6131 (($curr_slide = l.find(".active")), 6132 !1, 6133 (curr_index = l.find(".active").index()), 6134 (!p && !u) || c.length <= 1 6135 ? $curr_slide.velocity( 6136 { translateX: 0 }, 6137 { duration: 300, queue: !1, easing: "easeOutQuad" } 6138 ) 6139 : u 6140 ? (n(curr_index + 1), 6141 $curr_slide.velocity( 6142 { translateX: -1 * r.innerWidth() }, 6143 { 6144 duration: 300, 6145 queue: !1, 6146 easing: "easeOutQuad", 6147 complete: function () { 6148 $curr_slide.velocity( 6149 { opacity: 0, translateX: 0 }, 6150 { duration: 0, queue: !1 } 6151 ); 6152 }, 6153 } 6154 )) 6155 : p && 6156 (n(curr_index - 1), 6157 $curr_slide.velocity( 6158 { translateX: r.innerWidth() }, 6159 { 6160 duration: 300, 6161 queue: !1, 6162 easing: "easeOutQuad", 6163 complete: function () { 6164 $curr_slide.velocity( 6165 { opacity: 0, translateX: 0 }, 6166 { duration: 0, queue: !1 } 6167 ); 6168 }, 6169 } 6170 )), 6171 (u = !1), 6172 (p = !1), 6173 clearInterval(a), 6174 (a = setInterval(function () { 6175 (d = l.find(".active").index()), 6176 c.length == d + 1 ? (d = 0) : (d += 1), 6177 n(d); 6178 }, t.transition + t.interval))); 6179 }), 6180 r.on("sliderPause", function () { 6181 clearInterval(a); 6182 }), 6183 r.on("sliderStart", function () { 6184 clearInterval(a), 6185 (a = setInterval(function () { 6186 (d = l.find(".active").index()), 6187 c.length == d + 1 ? (d = 0) : (d += 1), 6188 n(d); 6189 }, t.transition + t.interval)); 6190 }), 6191 r.on("sliderNext", function () { 6192 n((d = l.find(".active").index()) + 1); 6193 }), 6194 r.on("sliderPrev", function () { 6195 n((d = l.find(".active").index()) - 1); 6196 }); 6197 }) 6198 ); 6199 }, 6200 pause: function () { 6201 e(this).trigger("sliderPause"); 6202 }, 6203 start: function () { 6204 e(this).trigger("sliderStart"); 6205 }, 6206 next: function () { 6207 e(this).trigger("sliderNext"); 6208 }, 6209 prev: function () { 6210 e(this).trigger("sliderPrev"); 6211 }, 6212 }; 6213 e.fn.slider = function (i) { 6214 return t[i] 6215 ? t[i].apply(this, Array.prototype.slice.call(arguments, 1)) 6216 : "object" != typeof i && i 6217 ? void e.error("Method " + i + " does not exist on jQuery.tooltip") 6218 : t.init.apply(this, arguments); 6219 }; 6220 })(jQuery), 6221 (function (e) { 6222 e(document).ready(function () { 6223 e(document).on("click.card", ".card", function (t) { 6224 e(this).find("> .card-reveal").length && 6225 (e(t.target).is(e(".card-reveal .card-title")) || 6226 e(t.target).is(e(".card-reveal .card-title i")) 6227 ? e(this) 6228 .find(".card-reveal") 6229 .velocity( 6230 { translateY: 0 }, 6231 { 6232 duration: 225, 6233 queue: !1, 6234 easing: "easeInOutQuad", 6235 complete: function () { 6236 e(this).css({ display: "none" }); 6237 }, 6238 } 6239 ) 6240 : (e(t.target).is(e(".card .activator")) || 6241 e(t.target).is(e(".card .activator i"))) && 6242 (e(t.target).closest(".card").css("overflow", "hidden"), 6243 e(this) 6244 .find(".card-reveal") 6245 .css({ display: "block" }) 6246 .velocity("stop", !1) 6247 .velocity( 6248 { translateY: "-100%" }, 6249 { duration: 300, queue: !1, easing: "easeInOutQuad" } 6250 ))); 6251 }); 6252 }); 6253 })(jQuery), 6254 (function (e) { 6255 var t = { 6256 data: [], 6257 placeholder: "", 6258 secondaryPlaceholder: "", 6259 autocompleteOptions: {}, 6260 }; 6261 e(document).ready(function () { 6262 e(document).on("click", ".chip .close", function (t) { 6263 e(this).closest(".chips").attr("data-initialized") || 6264 e(this).closest(".chip").remove(); 6265 }); 6266 }), 6267 (e.fn.material_chip = function (i) { 6268 var n = this; 6269 if ( 6270 ((this.$el = e(this)), 6271 (this.$document = e(document)), 6272 (this.SELS = { 6273 CHIPS: ".chips", 6274 CHIP: ".chip", 6275 INPUT: "input", 6276 DELETE: ".material-icons", 6277 SELECTED_CHIP: ".selected", 6278 }), 6279 "data" === i) 6280 ) 6281 return this.$el.data("chips"); 6282 var o = e.extend({}, t, i); 6283 (n.hasAutocomplete = !e.isEmptyObject(o.autocompleteOptions.data)), 6284 (this.init = function () { 6285 var t = 0; 6286 n.$el.each(function () { 6287 var i = e(this), 6288 s = Materialize.guid(); 6289 (n.chipId = s), 6290 (o.data && o.data instanceof Array) || (o.data = []), 6291 i.data("chips", o.data), 6292 i.attr("data-index", t), 6293 i.attr("data-initialized", !0), 6294 i.hasClass(n.SELS.CHIPS) || i.addClass("chips"), 6295 n.chips(i, s), 6296 t++; 6297 }); 6298 }), 6299 (this.handleEvents = function () { 6300 var t = n.SELS; 6301 n.$document 6302 .off("click.chips-focus", t.CHIPS) 6303 .on("click.chips-focus", t.CHIPS, function (i) { 6304 e(i.target).find(t.INPUT).focus(); 6305 }), 6306 n.$document 6307 .off("click.chips-select", t.CHIP) 6308 .on("click.chips-select", t.CHIP, function (i) { 6309 var o = e(i.target); 6310 if (o.length) { 6311 var s = o.hasClass("selected"), 6312 a = o.closest(t.CHIPS); 6313 e(t.CHIP).removeClass("selected"), 6314 s || n.selectChip(o.index(), a); 6315 } 6316 }), 6317 n.$document 6318 .off("keydown.chips")
6319 .on("keydown.chips", function (i) { 6320 if (!e(i.target).is("input, textarea")) { 6321 var o, 6322 s = n.$document.find(t.CHIP + t.SELECTED_CHIP), 6323 a = s.closest(t.CHIPS), 6324 r = s.siblings(t.CHIP).length; 6325 if (s.length) 6326 if (8 === i.which || 46 === i.which) { 6327 i.preventDefault(), (o = s.index()), n.deleteChip(o, a); 6328 var l = null; 6329 o + 1 < r 6330 ? (l = o) 6331 : (o !== r && o + 1 !== r) || (l = r - 1), 6332 l < 0 && (l = null), 6333 null !== l && n.selectChip(l, a), 6334 r || a.find("input").focus(); 6335 } else if (37 === i.which) { 6336 if ((o = s.index() - 1) < 0) return; 6337 e(t.CHIP).removeClass("selected"), n.selectChip(o, a); 6338 } else if (39 === i.which) { 6339 if ( 6340 ((o = s.index() + 1), 6341 e(t.CHIP).removeClass("selected"), 6342 o > r) 6343 ) 6344 return void a.find("input").focus(); 6345 n.selectChip(o, a); 6346 } 6347 } 6348 }), 6349 n.$document 6350 .off("focusin.chips", t.CHIPS + " " + t.INPUT) 6351 .on("focusin.chips", t.CHIPS + " " + t.INPUT, function (i) { 6352 var n = e(i.target).closest(t.CHIPS); 6353 n.addClass("focus"), 6354 n.siblings("label, .prefix").addClass("active"), 6355 e(t.CHIP).removeClass("selected"); 6356 }), 6357 n.$document 6358 .off("focusout.chips", t.CHIPS + " " + t.INPUT) 6359 .on("focusout.chips", t.CHIPS + " " + t.INPUT, function (i) { 6360 var n = e(i.target).closest(t.CHIPS); 6361 n.removeClass("focus"), 6362 n.data("chips").length || 6363 n.siblings("label").removeClass("active"), 6364 n.siblings(".prefix").removeClass("active"); 6365 }), 6366 n.$document 6367 .off("keydown.chips-add", t.CHIPS + " " + t.INPUT) 6368 .on("keydown.chips-add", t.CHIPS + " " + t.INPUT, function (i) { 6369 var o = e(i.target), 6370 s = o.closest(t.CHIPS), 6371 a = s.children(t.CHIP).length; 6372 if (13 === i.which) { 6373 if ( 6374 n.hasAutocomplete && 6375 s.find(".autocomplete-content.dropdown-content").length && 6376 s 6377 .find(".autocomplete-content.dropdown-content") 6378 .children().length 6379 ) 6380 return; 6381 return ( 6382 i.preventDefault(), 6383 n.addChip({ tag: o.val() }, s), 6384 void o.val("") 6385 ); 6386 } 6387 if ( 6388 (8 === i.keyCode || 37 === i.keyCode) && 6389 "" === o.val() && 6390 a 6391 ) 6392 return ( 6393 i.preventDefault(), n.selectChip(a - 1, s), void o.blur() 6394 ); 6395 }), 6396 n.$document 6397 .off("click.chips-delete", t.CHIPS + " " + t.DELETE) 6398 .on( 6399 "click.chips-delete", 6400 t.CHIPS + " " + t.DELETE, 6401 function (i) { 6402 var o = e(i.target), 6403 s = o.closest(t.CHIPS), 6404 a = o.closest(t.CHIP); 6405 i.stopPropagation(), 6406 n.deleteChip(a.index(), s), 6407 s.find("input").focus(); 6408 } 6409 ); 6410 }), 6411 (this.chips = function (t, i) { 6412 t.empty(), 6413 t.data("chips").forEach(function (e) { 6414 t.append(n.renderChip(e)); 6415 }), 6416 t.append( 6417 e('<input id="' + i + '" class="input" placeholder="">') 6418 ), 6419 n.setPlaceholder(t); 6420 var s = t.next("label"); 6421 s.length && 6422 (s.attr("for", i), 6423 t.data("chips").length && s.addClass("active")); 6424 var a = e("#" + i); 6425 n.hasAutocomplete && 6426 ((o.autocompleteOptions.onAutocomplete = function (e) { 6427 n.addChip({ tag: e }, t), a.val(""), a.focus(); 6428 }), 6429 a.autocomplete(o.autocompleteOptions)); 6430 }), 6431 (this.renderChip = function (t) { 6432 if (t.tag) { 6433 var i = e('<div class="chip"></div>'); 6434 return ( 6435 i.text(t.tag), 6436 i.append(e('<i class="material-icons close">close</i>')), 6437 i 6438 ); 6439 } 6440 }), 6441 (this.setPlaceholder = function (e) { 6442 e.data("chips").length && o.placeholder 6443 ? e.find("input").prop("placeholder", o.placeholder) 6444 : !e.data("chips").length && 6445 o.secondaryPlaceholder && 6446 e.find("input").prop("placeholder", o.secondaryPlaceholder); 6447 }), 6448 (this.isValid = function (e, t) { 6449 for (var i = e.data("chips"), n = !1, o = 0; o < i.length; o++) 6450 if (i[o].tag === t.tag) return void (n = !0); 6451 return "" !== t.tag && !n; 6452 }), 6453 (this.addChip = function (e, t) { 6454 if (n.isValid(t, e)) { 6455 for ( 6456 var i = n.renderChip(e), o = [], s = t.data("chips"), a = 0; 6457 a < s.length; 6458 a++ 6459 ) 6460 o.push(s[a]); 6461 o.push(e), 6462 t.data("chips", o), 6463 i.insertBefore(t.find("input")), 6464 t.trigger("chip.add", e), 6465 n.setPlaceholder(t); 6466 } 6467 }), 6468 (this.deleteChip = function (e, t) { 6469 var i = t.data("chips")[e]; 6470 t.find(".chip").eq(e).remove(); 6471 for (var o = [], s = t.data("chips"), a = 0; a < s.length; a++) 6472 a !== e && o.push(s[a]); 6473 t.data("chips", o), 6474 t.trigger("chip.delete", i), 6475 n.setPlaceholder(t); 6476 }), 6477 (this.selectChip = function (e, t) { 6478 var i = t.find(".chip").eq(e); 6479 i && 6480 !1 === i.hasClass("selected") && 6481 (i.addClass("selected"), 6482 t.trigger("chip.select", t.data("chips")[e])); 6483 }), 6484 (this.getChipsElement = function (e, t) { 6485 return t.eq(e); 6486 }), 6487 this.init(), 6488 this.handleEvents(); 6489 }); 6490 })(jQuery), 6491 (function (e) { 6492 e.fn.pushpin = function (t) { 6493 return "remove" === t 6494 ? (this.each(function () { 6495 (id = e(this).data("pushpin-id")) && 6496 (e(window).off("scroll." + id), 6497 e(this) 6498 .removeData("pushpin-id") 6499 .removeClass("pin-top pinned pin-bottom") 6500 .removeAttr("style")); 6501 }), 6502 !1) 6503 : ((t = e.extend({ top: 0, bottom: 1 / 0, offset: 0 }, t)), 6504 ($index = 0), 6505 this.each(function () { 6506 function i(e) { 6507 e.removeClass("pin-top"), 6508 e.removeClass("pinned"), 6509 e.removeClass("pin-bottom"); 6510 } 6511 function n(n, o) { 6512 n.each(function () { 6513 t.top <= o && 6514 t.bottom >= o && 6515 !e(this).hasClass("pinned") && 6516 (i(e(this)), 6517 e(this).css("top", t.offset), 6518 e(this).addClass("pinned")), 6519 o < t.top && 6520 !e(this).hasClass("pin-top") && 6521 (i(e(this)), 6522 e(this).css("top", 0), 6523 e(this).addClass("pin-top")), 6524 o > t.bottom && 6525 !e(this).hasClass("pin-bottom") && 6526 (i(e(this)), 6527 e(this).addClass("pin-bottom"), 6528 e(this).css("top", t.bottom - a)); 6529 }); 6530 } 6531 var o = Materialize.guid(), 6532 s = e(this), 6533 a = e(this).offset().top; 6534 e(this).data("pushpin-id", o), 6535 n(s, e(window).scrollTop()), 6536 e(window).on("scroll." + o, function () { 6537 var i = e(window).scrollTop() + t.offset; 6538 n(s, i); 6539 }); 6540 })); 6541 }; 6542 })(jQuery), 6543 (function (e) { 6544 e(document).ready(function () { 6545 (e.fn.reverse = [].reverse), 6546 e(document).on( 6547 "mouseenter.fixedActionBtn", 6548 ".fixed-action-btn:not(.click-to-toggle):not(.toolbar)", 6549 function (i) { 6550 var n = e(this); 6551 t(n); 6552 } 6553 ), 6554 e(document).on( 6555 "mouseleave.fixedActionBtn", 6556 ".fixed-action-btn:not(.click-to-toggle):not(.toolbar)", 6557 function (t) { 6558 var n = e(this); 6559 i(n); 6560 } 6561 ), 6562 e(document).on( 6563 "click.fabClickToggle", 6564 ".fixed-action-btn.click-to-toggle > a", 6565 function (n) { 6566 var o = e(this).parent(); 6567 o.hasClass("active") ? i(o) : t(o); 6568 } 6569 ), 6570 e(document).on( 6571 "click.fabToolbar", 6572 ".fixed-action-btn.toolbar > a", 6573 function (t) { 6574 var i = e(this).parent(); 6575 n(i); 6576 } 6577 ); 6578 }), 6579 e.fn.extend({ 6580 openFAB: function () { 6581 t(e(this)); 6582 }, 6583 closeFAB: function () { 6584 i(e(this)); 6585 }, 6586 openToolbar: function () { 6587 n(e(this)); 6588 }, 6589 closeToolbar: function () { 6590 o(e(this)); 6591 }, 6592 }); 6593 var t = function (t) { 6594 var i = t; 6595 if (!1 === i.hasClass("active")) { 6596 var n, o; 6597 !0 === i.hasClass("horizontal") ? (o = 40) : (n = 40), 6598 i.addClass("active"), 6599 i.find("ul .btn-floating").velocity( 6600 { 6601 scaleY: ".4", 6602 scaleX: ".4", 6603 translateY: n + "px", 6604 translateX: o + "px", 6605 }, 6606 { duration: 0 } 6607 ); 6608 var s = 0; 6609 i.find("ul .btn-floating") 6610 .reverse() 6611 .each(function () { 6612 e(this).velocity( 6613 { 6614 opacity: "1", 6615 scaleX: "1", 6616 scaleY: "1", 6617 translateY: "0", 6618 translateX: "0", 6619 },
6620 { duration: 80, delay: s } 6621 ), 6622 (s += 40); 6623 }); 6624 } 6625 }, 6626 i = function (e) { 6627 var t, 6628 i, 6629 n = e; 6630 !0 === n.hasClass("horizontal") ? (i = 40) : (t = 40), 6631 n.removeClass("active"), 6632 n.find("ul .btn-floating").velocity("stop", !0), 6633 n.find("ul .btn-floating").velocity( 6634 { 6635 opacity: "0", 6636 scaleX: ".4", 6637 scaleY: ".4", 6638 translateY: t + "px", 6639 translateX: i + "px", 6640 }, 6641 { duration: 80 } 6642 ); 6643 }, 6644 n = function (t) { 6645 if ("true" !== t.attr("data-open")) { 6646 var i, 6647 n, 6648 s, 6649 a = window.innerWidth, 6650 r = window.innerHeight, 6651 l = t[0].getBoundingClientRect(), 6652 c = t.find("> a").first(), 6653 d = t.find("> ul").first(), 6654 u = e('<div class="fab-backdrop"></div>'), 6655 p = c.css("background-color"); 6656 c.append(u), 6657 (i = l.left - a / 2 + l.width / 2), 6658 (n = r - l.bottom), 6659 (s = a / u.width()), 6660 t.attr("data-origin-bottom", l.bottom), 6661 t.attr("data-origin-left", l.left), 6662 t.attr("data-origin-width", l.width), 6663 t.addClass("active"), 6664 t.attr("data-open", !0), 6665 t.css({ 6666 "text-align": "center", 6667 width: "100%", 6668 bottom: 0, 6669 left: 0, 6670 transform: "translateX(" + i + "px)", 6671 transition: "none", 6672 }), 6673 c.css({ 6674 transform: "translateY(" + -n + "px)", 6675 transition: "none", 6676 }), 6677 u.css({ "background-color": p }), 6678 setTimeout(function () { 6679 t.css({ 6680 transform: "", 6681 transition: 6682 "transform .2s cubic-bezier(0.550, 0.085, 0.680, 0.530), background-color 0s linear .2s", 6683 }), 6684 c.css({ 6685 overflow: "visible", 6686 transform: "", 6687 transition: "transform .2s", 6688 }), 6689 setTimeout(function () { 6690 t.css({ overflow: "hidden", "background-color": p }), 6691 u.css({ 6692 transform: "scale(" + s + ")", 6693 transition: 6694 "transform .2s cubic-bezier(0.550, 0.055, 0.675, 0.190)", 6695 }), 6696 d.find("> li > a").css({ opacity: 1 }), 6697 e(window).on("scroll.fabToolbarClose", function () { 6698 o(t), 6699 e(window).off("scroll.fabToolbarClose"), 6700 e(document).off("click.fabToolbarClose"); 6701 }), 6702 e(document).on("click.fabToolbarClose", function (i) { 6703 e(i.target).closest(d).length || 6704 (o(t), 6705 e(window).off("scroll.fabToolbarClose"), 6706 e(document).off("click.fabToolbarClose")); 6707 }); 6708 }, 100); 6709 }, 0); 6710 } 6711 }, 6712 o = function (e) { 6713 if ("true" === e.attr("data-open")) { 6714 var t, 6715 i, 6716 n = window.innerWidth, 6717 o = window.innerHeight, 6718 s = e.attr("data-origin-width"), 6719 a = e.attr("data-origin-bottom"), 6720 r = e.attr("data-origin-left"), 6721 l = e.find("> .btn-floating").first(), 6722 c = e.find("> ul").first(), 6723 d = e.find(".fab-backdrop"), 6724 u = l.css("background-color"); 6725 (t = r - n / 2 + s / 2), 6726 (i = o - a), 6727 d.width(), 6728 e.removeClass("active"), 6729 e.attr("data-open", !1), 6730 e.css({ "background-color": "transparent", transition: "none" }), 6731 l.css({ transition: "none" }), 6732 d.css({ transform: "scale(0)", "background-color": u }), 6733 c.find("> li > a").css({ opacity: "" }), 6734 setTimeout(function () { 6735 d.remove(), 6736 e.css({ 6737 "text-align": "", 6738 width: "", 6739 bottom: "", 6740 left: "", 6741 overflow: "", 6742 "background-color": "", 6743 transform: "translate3d(" + -t + "px,0,0)", 6744 }), 6745 l.css({ 6746 overflow: "", 6747 transform: "translate3d(0," + i + "px,0)", 6748 }), 6749 setTimeout(function () { 6750 e.css({
6751 transform: "translate3d(0,0,0)", 6752 transition: "transform .2s", 6753 }), 6754 l.css({ 6755 transform: "translate3d(0,0,0)", 6756 transition: 6757 "transform .2s cubic-bezier(0.550, 0.055, 0.675, 0.190)", 6758 }); 6759 }, 20); 6760 }, 200); 6761 } 6762 }; 6763 })(jQuery), 6764 (function (e) { 6765 (Materialize.fadeInImage = function (t) { 6766 var i; 6767 if ("string" == typeof t) i = e(t); 6768 else { 6769 if ("object" != typeof t) return; 6770 i = t; 6771 } 6772 i.css({ opacity: 0 }), 6773 e(i).velocity( 6774 { opacity: 1 }, 6775 { duration: 650, queue: !1, easing: "easeOutSine" } 6776 ), 6777 e(i).velocity( 6778 { opacity: 1 }, 6779 { 6780 duration: 1300, 6781 queue: !1, 6782 easing: "swing", 6783 step: function (t, i) { 6784 i.start = 100; 6785 var n = t / 100, 6786 o = 150 - (100 - t) / 1.75; 6787 o < 100 && (o = 100), 6788 t >= 0 && 6789 e(this).css({ 6790 "-webkit-filter": 6791 "grayscale(" + n + ")brightness(" + o + "%)", 6792 filter: "grayscale(" + n + ")brightness(" + o + "%)", 6793 }); 6794 }, 6795 } 6796 ); 6797 }), 6798 (Materialize.showStaggeredList = function (t) { 6799 var i; 6800 if ("string" == typeof t) i = e(t); 6801 else { 6802 if ("object" != typeof t) return; 6803 i = t; 6804 } 6805 var n = 0; 6806 i.find("li").velocity({ translateX: "-100px" }, { duration: 0 }), 6807 i.find("li").each(function () { 6808 e(this).velocity( 6809 { opacity: "1", translateX: "0" }, 6810 { duration: 800, delay: n, easing: [60, 10] } 6811 ), 6812 (n += 120); 6813 }); 6814 }), 6815 e(document).ready(function () { 6816 var t = !1, 6817 i = !1; 6818 e(".dismissable").each(function () { 6819 e(this) 6820 .hammer({ prevent_default: !1 }) 6821 .bind("pan", function (n) { 6822 if ("touch" === n.gesture.pointerType) { 6823 var o = e(this), 6824 s = n.gesture.direction, 6825 a = n.gesture.deltaX, 6826 r = n.gesture.velocityX; 6827 o.velocity( 6828 { translateX: a }, 6829 { duration: 50, queue: !1, easing: "easeOutQuad" } 6830 ), 6831 4 === s && (a > o.innerWidth() / 2 || r < -0.75) && (t = !0), 6832 2 === s && 6833 (a < (-1 * o.innerWidth()) / 2 || r > 0.75) && 6834 (i = !0); 6835 } 6836 }) 6837 .bind("panend", function (n) { 6838 if ( 6839 (Math.abs(n.gesture.deltaX) < e(this).innerWidth() / 2 && 6840 ((i = !1), (t = !1)), 6841 "touch" === n.gesture.pointerType) 6842 ) { 6843 var o, 6844 s = e(this); 6845 if (t || i) 6846 (o = t ? s.innerWidth() : -1 * s.innerWidth()), 6847 s.velocity( 6848 { translateX: o }, 6849 { 6850 duration: 100, 6851 queue: !1, 6852 easing: "easeOutQuad", 6853 complete: function () { 6854 s.css("border", "none"), 6855 s.velocity( 6856 { height: 0, padding: 0 }, 6857 { 6858 duration: 200, 6859 queue: !1, 6860 easing: "easeOutQuad", 6861 complete: function () { 6862 s.remove(); 6863 }, 6864 } 6865 ); 6866 }, 6867 } 6868 ); 6869 else 6870 s.velocity( 6871 { translateX: 0 }, 6872 { duration: 100, queue: !1, easing: "easeOutQuad" } 6873 ); 6874 (t = !1), (i = !1); 6875 } 6876 }); 6877 }); 6878 }); 6879 })(jQuery), 6880 (function (e) { 6881 var t = !1; 6882 Materialize.scrollFire = function (e) { 6883 var i = Materialize.throttle(function () { 6884 !(function () { 6885 for ( 6886 var t = window.pageYOffset + window.innerHeight, i = 0; 6887 i < e.length; 6888 i++ 6889 ) { 6890 var n = e[i], 6891 o = n.selector, 6892 s = n.offset, 6893 a = n.callback, 6894 r = document.querySelector(o); 6895 null !== r && 6896 t > r.getBoundingClientRect().top + window.pageYOffset + s && 6897 !0 !== n.done && 6898 ("function" == typeof a 6899 ? a.call(this, r) 6900 : "string" == typeof a && new Function(a)(r), 6901 (n.done = !0)); 6902 } 6903 })(); 6904 }, e.throttle || 100); 6905 t || 6906 (window.addEventListener("scroll", i), 6907 window.addEventListener("resize", i), 6908 (t = !0)), 6909 setTimeout(i, 0); 6910 }; 6911 })(), 6912 (function (e) { 6913 "function" == typeof define && define.amd 6914 ? define("picker", ["jquery"], e) 6915 : "object" == typeof exports 6916 ? (module.exports = e(require("jquery"))) 6917 : (this.Picker = e(jQuery)); 6918 })(function (e) { 6919 function t(o, a, c, d) { 6920 function u() { 6921 return t._.node( 6922 "div",
6923 t._.node( 6924 "div", 6925 t._.node( 6926 "div", 6927 t._.node("div", w.component.nodes(v.open), m.box), 6928 m.wrap 6929 ), 6930 m.frame 6931 ), 6932 m.holder 6933 ); 6934 } 6935 function p(e) { 6936 var t = e.keyCode, 6937 i = /^(8|46)$/.test(t); 6938 if (27 == t) return w.close(), !1; 6939 (32 == t || i || (!v.open && w.component.key[t])) && 6940 (e.preventDefault(), 6941 e.stopPropagation(), 6942 i ? w.clear().close() : w.open()); 6943 } 6944 function f(e) { 6945 e.stopPropagation(), 6946 "focus" == e.type && w.$root.addClass(m.focused), 6947 w.open(); 6948 } 6949 if (!o) return t; 6950 var h = !1, 6951 v = { id: o.id || "P" + Math.abs(~~(Math.random() * new Date())) }, 6952 g = c ? e.extend(!0, {}, c.defaults, d) : d || {}, 6953 m = e.extend({}, t.klasses(), g.klass), 6954 y = e(o), 6955 b = function () { 6956 return this.start(); 6957 }, 6958 w = (b.prototype = { 6959 constructor: b, 6960 $node: y, 6961 start: function () { 6962 return v && v.start 6963 ? w 6964 : ((v.methods = {}), 6965 (v.start = !0), 6966 (v.open = !1), 6967 (v.type = o.type), 6968 (o.autofocus = o == s()), 6969 (o.readOnly = !g.editable), 6970 (o.id = o.id || v.id), 6971 "text" != o.type && (o.type = "text"), 6972 (w.component = new c(w, g)), 6973 (w.$root = e( 6974 t._.node( 6975 "div", 6976 u(), 6977 m.picker, 6978 'id="' + o.id + '_root" tabindex="0"' 6979 ) 6980 )), 6981 w.$root 6982 .on({ 6983 keydown: p, 6984 focusin: function (e) { 6985 w.$root.removeClass(m.focused), e.stopPropagation(); 6986 }, 6987 "mousedown click": function (t) { 6988 var i = t.target; 6989 i != w.$root.children()[0] && 6990 (t.stopPropagation(), 6991 "mousedown" != t.type || 6992 e(i).is("input, select, textarea, button, option") || 6993 (t.preventDefault(), w.$root.eq(0).focus())); 6994 }, 6995 }) 6996 .on({ 6997 focus: function () { 6998 y.addClass(m.target); 6999 }, 7000 blur: function () { 7001 y.removeClass(m.target); 7002 }, 7003 }) 7004 .on("focus.toOpen", f) 7005 .on( 7006 "click", 7007 "[data-pick], [data-nav], [data-clear], [data-close]", 7008 function () { 7009 var t = e(this), 7010 i = t.data(), 7011 n = t.hasClass(m.navDisabled) || t.hasClass(m.disabled), 7012 o = s(); 7013 (o = o && (o.type || o.href)), 7014 (n || (o && !e.contains(w.$root[0], o))) && 7015 w.$root.eq(0).focus(), 7016 !n && i.nav 7017 ? w.set("highlight", w.component.item.highlight, { 7018 nav: i.nav, 7019 }) 7020 : !n && "pick" in i 7021 ? w.set("select", i.pick) 7022 : i.clear 7023 ? w.clear().close(!0) 7024 : i.close && w.close(!0); 7025 } 7026 ), 7027 n(w.$root[0], "hidden", !0), 7028 g.formatSubmit && 7029 (function () { 7030 var t; 7031 !0 === g.hiddenName 7032 ? ((t = o.name), (o.name = "")) 7033 : (t = 7034 (t = [ 7035 "string" == typeof g.hiddenPrefix 7036 ? g.hiddenPrefix 7037 : "", 7038 "string" == typeof g.hiddenSuffix 7039 ? g.hiddenSuffix 7040 : "_submit", 7041 ])[0] + 7042 o.name + 7043 t[1]), 7044 (w._hidden = e( 7045 '<input type=hidden name="' + 7046 t + 7047 '"' + 7048 (y.data("value") || o.value 7049 ? ' value="' + w.get("select", g.formatSubmit) + '"' 7050 : "") + 7051 ">" 7052 )[0]), 7053 y.on("change." + v.id, function () { 7054 w._hidden.value = o.value 7055 ? w.get("select", g.formatSubmit) 7056 : ""; 7057 }), 7058 g.container 7059 ? e(g.container).append(w._hidden) 7060 : y.after(w._hidden); 7061 })(), 7062 y 7063 .data(a, w) 7064 .addClass(m.input) 7065 .attr("tabindex", -1) 7066 .val(y.data("value") ? w.get("select", g.format) : o.value), 7067 g.editable || 7068 y 7069 .on("focus." + v.id + " click." + v.id, function (e) { 7070 e.preventDefault(), w.$root.eq(0).focus(); 7071 })
7072 .on("keydown." + v.id, p), 7073 n(o, { 7074 haspopup: !0, 7075 expanded: !1, 7076 readonly: !1, 7077 owns: o.id + "_root", 7078 }), 7079 g.container ? e(g.container).append(w.$root) : y.after(w.$root), 7080 w 7081 .on({ 7082 start: w.component.onStart, 7083 render: w.component.onRender, 7084 stop: w.component.onStop, 7085 open: w.component.onOpen, 7086 close: w.component.onClose, 7087 set: w.component.onSet, 7088 }) 7089 .on({ 7090 start: g.onStart, 7091 render: g.onRender, 7092 stop: g.onStop, 7093 open: g.onOpen, 7094 close: g.onClose, 7095 set: g.onSet, 7096 }), 7097 (h = (function (e) { 7098 var t; 7099 return ( 7100 e.currentStyle 7101 ? (t = e.currentStyle.position) 7102 : window.getComputedStyle && 7103 (t = getComputedStyle(e).position), 7104 "fixed" == t 7105 ); 7106 })(w.$root.children()[0])), 7107 o.autofocus && w.open(), 7108 w.trigger("start").trigger("render")); 7109 }, 7110 render: function (e) { 7111 return ( 7112 e 7113 ? w.$root.html(u()) 7114 : w.$root.find("." + m.box).html(w.component.nodes(v.open)), 7115 w.trigger("render") 7116 ); 7117 }, 7118 stop: function () { 7119 return v.start 7120 ? (w.close(), 7121 w._hidden && w._hidden.parentNode.removeChild(w._hidden), 7122 w.$root.remove(), 7123 y.removeClass(m.input).removeData(a), 7124 setTimeout(function () { 7125 y.off("." + v.id); 7126 }, 0), 7127 (o.type = v.type), 7128 (o.readOnly = !1), 7129 w.trigger("stop"), 7130 (v.methods = {}), 7131 (v.start = !1), 7132 w) 7133 : w; 7134 }, 7135 open: function (s) { 7136 return v.open 7137 ? w 7138 : (y.addClass(m.active), 7139 n(o, "expanded", !0), 7140 setTimeout(function () { 7141 w.$root.addClass(m.opened), n(w.$root[0], "hidden", !1); 7142 }, 0), 7143 !1 !== s && 7144 ((v.open = !0), 7145 h && 7146 l 7147 .css("overflow", "hidden") 7148 .css("padding-right", "+=" + i()), 7149 w.$root.eq(0).focus(), 7150 r 7151 .on("click." + v.id + " focusin." + v.id, function (e) { 7152 var t = e.target; 7153 t != o && 7154 t != document && 7155 3 != e.which && 7156 w.close(t === w.$root.children()[0]); 7157 }) 7158 .on("keydown." + v.id, function (i) { 7159 var n = i.keyCode, 7160 o = w.component.key[n], 7161 s = i.target; 7162 27 == n 7163 ? w.close(!0) 7164 : s != w.$root[0] || (!o && 13 != n) 7165 ? e.contains(w.$root[0], s) && 7166 13 == n && 7167 (i.preventDefault(), s.click()) 7168 : (i.preventDefault(), 7169 o 7170 ? t._.trigger(w.component.key.go, w, [ 7171 t._.trigger(o), 7172 ]) 7173 : w.$root 7174 .find("." + m.highlighted) 7175 .hasClass(m.disabled) || 7176 w 7177 .set("select", w.component.item.highlight) 7178 .close()); 7179 })), 7180 w.trigger("open")); 7181 }, 7182 close: function (e) { 7183 return ( 7184 e && 7185 (w.$root.off("focus.toOpen").eq(0).focus(), 7186 setTimeout(function () { 7187 w.$root.on("focus.toOpen", f); 7188 }, 0)), 7189 y.removeClass(m.active), 7190 n(o, "expanded", !1), 7191 setTimeout(function () { 7192 w.$root.removeClass(m.opened + " " + m.focused), 7193 n(w.$root[0], "hidden", !0); 7194 }, 0), 7195 v.open 7196 ? ((v.open = !1), 7197 h && l.css("overflow", "").css("padding-right", "-=" + i()), 7198 r.off("." + v.id), 7199 w.trigger("close")) 7200 : w 7201 ); 7202 }, 7203 clear: function (e) { 7204 return w.set("clear", null, e); 7205 }, 7206 set: function (t, i, n) { 7207 var o, 7208 s, 7209 a = e.isPlainObject(t), 7210 r = a ? t : {}; 7211 if (((n = a && e.isPlainObject(i) ? i : n || {}), t)) { 7212 for (o in (a || (r[t] = i), r)) 7213 (s = r[o]), 7214 o in w.component.item && 7215 (void 0 === s && (s = null), w.component.set(o, s, n)), 7216 ("select" != o && "clear" != o) || 7217 y 7218 .val("clear" == o ? "" : w.get(o, g.format)) 7219 .trigger("change"); 7220 w.render(); 7221 } 7222 return n.muted ? w : w.trigger("set", r); 7223 }, 7224 get: function (e, i) { 7225 if (null != v[(e = e || "value")]) return v[e]; 7226 if ("valueSubmit" == e) { 7227 if (w._hidden) return w._hidden.value; 7228 e = "value"; 7229 } 7230 if ("value" == e) return o.value; 7231 if (e in w.component.item) { 7232 if ("string" == typeof i) { 7233 var n = w.component.get(e); 7234 return n 7235 ? t._.trigger(w.component.formats.toString, w.component, [ 7236 i, 7237 n, 7238 ]) 7239 : ""; 7240 } 7241 return w.component.get(e); 7242 } 7243 }, 7244 on: function (t, i, n) { 7245 var o, 7246 s, 7247 a = e.isPlainObject(t), 7248 r = a ? t : {}; 7249 if (t) 7250 for (o in (a || (r[t] = i), r)) 7251 (s = r[o]), 7252 n && (o = "_" + o), 7253 (v.methods[o] = v.methods[o] || []), 7254 v.methods[o].push(s); 7255 return w; 7256 }, 7257 off: function () { 7258 var e, 7259 t, 7260 i = arguments; 7261 for (e = 0, namesCount = i.length; e < namesCount;
7261 e += 1) 7262 (t = i[e]) in v.methods && delete v.methods[t]; 7263 return w; 7264 }, 7265 trigger: function (e, i) { 7266 var n = function (e) { 7267 var n = v.methods[e]; 7268 n && 7269 n.map(function (e) { 7270 t._.trigger(e, w, [i]); 7271 }); 7272 }; 7273 return n("_" + e), n(e), w; 7274 }, 7275 }); 7276 return new b(); 7277 } 7278 function i() { 7279 if (l.height() <= a.height()) return 0; 7280 var t = e('<div style="visibility:hidden;width:100px" />').appendTo( 7281 "body" 7282 ), 7283 i = t[0].offsetWidth; 7284 t.css("overflow", "scroll"); 7285 var n = e('<div style="width:100%" />').appendTo(t)[0].offsetWidth; 7286 return t.remove(), i - n; 7287 } 7288 function n(t, i, n) { 7289 if (e.isPlainObject(i)) for (var s in i) o(t, s, i[s]); 7290 else o(t, i, n); 7291 } 7292 function o(e, t, i) { 7293 e.setAttribute(("role" == t ? "" : "aria-") + t, i); 7294 } 7295 function s() { 7296 try { 7297 return document.activeElement; 7298 } catch (e) {} 7299 } 7300 var a = e(window), 7301 r = e(document), 7302 l = e(document.documentElement); 7303 return ( 7304 (t.klasses = function (e) { 7305 return { 7306 picker: (e = e || "picker"), 7307 opened: e + "--opened", 7308 focused: e + "--focused", 7309 input: e + "__input", 7310 active: e + "__input--active", 7311 target: e + "__input--target", 7312 holder: e + "__holder", 7313 frame: e + "__frame", 7314 wrap: e + "__wrap", 7315 box: e + "__box", 7316 }; 7317 }), 7318 (t._ = { 7319 group: function (e) { 7320 for ( 7321 var i, n = "", o = t._.trigger(e.min, e); 7322 o <= t._.trigger(e.max, e, [o]); 7323 o += e.i 7324 ) 7325 (i = t._.trigger(e.item, e, [o])), 7326 (n += t._.node(e.node, i[0], i[1], i[2])); 7327 return n; 7328 }, 7329 node: function (t, i, n, o) { 7330 return i 7331 ? "<" + 7332 t + 7333 (n = n ? ' class="' + n + '"' : "") + 7334 (o = o ? " " + o : "") + 7335 ">" + 7336 (i = e.isArray(i) ? i.join("") : i) + 7337 "</" + 7338 t + 7339 ">" 7340 : ""; 7341 }, 7342 lead: function (e) { 7343 return (e < 10 ? "0" : "") + e; 7344 }, 7345 trigger: function (e, t, i) { 7346 return "function" == typeof e ? e.apply(t, i || []) : e; 7347 }, 7348 digits: function (e) { 7349 return /\d/.test(e[1]) ? 2 : 1; 7350 }, 7351 isDate: function (e) { 7352 return ( 7353 {}.toString.call(e).indexOf("Date") > -1 && 7354 this.isInteger(e.getDate()) 7355 ); 7356 }, 7357 isInteger: function (e) { 7358 return {}.toString.call(e).indexOf("Number") > -1 && e % 1 == 0; 7359 }, 7360 ariaAttr: function (t, i) { 7361 for (var n in (e.isPlainObject(t) || (t = { attribute: i }), 7362 (i = ""), 7363 t)) { 7364 var o = ("role" == n ? "" : "aria-") + n; 7365 i += null == t[n] ? "" : o + '="' + t[n] + '"'; 7366 } 7367 return i; 7368 }, 7369 }), 7370 (t.extend = function (i, n) { 7371 (e.fn[i] = function (o, s) { 7372 var a = this.data(i); 7373 return "picker" == o 7374 ? a 7375 : a && "string" == typeof o 7376 ? t._.trigger(a[o], a, [s]) 7377 : this.each(function () { 7378 e(this).data(i) || new t(this, i, n, o); 7379 }); 7380 }), 7381 (e.fn[i].defaults = n.defaults); 7382 }), 7383 t 7384 ); 7385 }), 7386 (function (e) { 7387 "function" == typeof define && define.amd 7388 ? define(["picker", "jquery"], e) 7389 : "object" == typeof exports 7390 ? (module.exports = e(require("./picker.js"), require("jquery"))) 7391 : e(Picker, jQuery); 7392 })(function (e, t) { 7393 function i(e, t) { 7394 var i = this, 7395 n = e.$node[0], 7396 o = n.value, 7397 s = e.$node.data("value"), 7398 a = s || o, 7399 r = s ? t.formatSubmit : t.format, 7400 l = function () { 7401 return n.currentStyle 7402 ? "rtl" == n.currentStyle.direction 7403 : "rtl" == getComputedStyle(e.$root[0]).direction; 7404 }; 7405 (i.settings = t), 7406 (i.$node = e.$node), 7407 (i.queue = { 7408 min: "measure create", 7409 max: "measure create", 7410 now: "now create", 7411 select: "parse create validate", 7412 highlight: "parse navigate create validate", 7413 view: "parse create validate viewset", 7414 disable: "deactivate", 7415 enable: "activate", 7416 }), 7417 (i.item = {}), 7418 (i.item.clear = null),
7419 (i.item.disable = (t.disable || []).slice(0)), 7420 (i.item.enable = -(function (e) { 7421 return !0 === e[0] ? e.shift() : -1; 7422 })(i.item.disable)), 7423 i.set("min", t.min).set("max", t.max).set("now"), 7424 a 7425 ? i.set("select", a, { format: r }) 7426 : i.set("select", null).set("highlight", i.item.now), 7427 (i.key = { 7428 40: 7, 7429 38: -7, 7430 39: function () { 7431 return l() ? -1 : 1; 7432 }, 7433 37: function () { 7434 return l() ? 1 : -1; 7435 }, 7436 go: function (e) { 7437 var t = i.item.highlight, 7438 n = new Date(t.year, t.month, t.date + e); 7439 i.set("highlight", n, { interval: e }), this.render(); 7440 }, 7441 }), 7442 e 7443 .on( 7444 "render", 7445 function () { 7446 e.$root.find("." + t.klass.selectMonth).on("change", function () { 7447 var i = this.value; 7448 i && 7449 (e.set("highlight", [ 7450 e.get("view").year, 7451 i, 7452 e.get("highlight").date, 7453 ]), 7454 e.$root.find("." + t.klass.selectMonth).trigger("focus")); 7455 }), 7456 e.$root 7457 .find("." + t.klass.selectYear) 7458 .on("change", function () { 7459 var i = this.value; 7460 i && 7461 (e.set("highlight", [ 7462 i, 7463 e.get("view").month, 7464 e.get("highlight").date, 7465 ]), 7466 e.$root.find("." + t.klass.selectYear).trigger("focus")); 7467 }); 7468 }, 7469 1 7470 ) 7471 .on( 7472 "open", 7473 function () { 7474 var n = ""; 7475 i.disabled(i.get("now")) && 7476 (n = ":not(." + t.klass.buttonToday + ")"), 7477 e.$root.find("button" + n + ", select").attr("disabled", !1); 7478 }, 7479 1 7480 ) 7481 .on( 7482 "close", 7483 function () { 7484 e.$root.find("button, select").attr("disabled", !0); 7485 }, 7486 1 7487 ); 7488 } 7489 var n = e._; 7490 (i.prototype.set = function (e, t, i) { 7491 var n = this, 7492 o = n.item; 7493 return null === t 7494 ? ("clear" == e && (e = "select"), (o[e] = t), n) 7495 : ((o["enable" == e ? "disable" : "flip" == e ? "enable" : e] = n.queue[ 7496 e 7497 ] 7498 .split(" ") 7499 .map(function (o) { 7500 return (t = n[o](e, t, i)); 7501 }) 7502 .pop()), 7503 "select" == e 7504 ? n.set("highlight", o.select, i) 7505 : "highlight" == e 7506 ? n.set("view", o.highlight, i) 7507 : e.match(/^(flip|min|max|disable|enable)$/) && 7508 (o.select && n.disabled(o.select) && n.set("select", o.select, i), 7509 o.highlight && 7510 n.disabled(o.highlight) && 7511 n.set("highlight", o.highlight, i)), 7512 n); 7513 }), 7514 (i.prototype.get = function (e) { 7515 return this.item[e]; 7516 }), 7517 (i.prototype.create = function (e, i, o) { 7518 var s, 7519 a = this; 7520 return ( 7521 (i = void 0 === i ? e : i) == -1 / 0 || i == 1 / 0 7522 ? (s = i) 7523 : t.isPlainObject(i) && n.isInteger(i.pick) 7524 ? (i = i.obj) 7525 : t.isArray(i) 7526 ? ((i = new Date(i[0], i[1], i[2])), 7527 (i = n.isDate(i) ? i : a.create().obj)) 7528 : (i = 7529 n.isInteger(i) || n.isDate(i) 7530 ? a.normalize(new Date(i), o) 7531 : a.now(e, i, o)), 7532 { 7533 year: s || i.getFullYear(), 7534 month: s || i.getMonth(), 7535 date: s || i.getDate(), 7536 day: s || i.getDay(), 7537 obj: s || i, 7538 pick: s || i.getTime(), 7539 } 7540 ); 7541 }), 7542 (i.prototype.createRange = function (e, i) { 7543 var o = this, 7544 s = function (e) { 7545 return !0 === e || t.isArray(e) || n.isDate(e) ? o.create(e) : e; 7546 }; 7547 return ( 7548 n.isInteger(e) || (e = s(e)), 7549 n.isInteger(i) || (i = s(i)), 7550 n.isInteger(e) && t.isPlainObject(i) 7551 ? (e = [i.year, i.month, i.date + e]) 7552 : n.isInteger(i) && 7553 t.isPlainObject(e) && 7554 (i = [e.year, e.month, e.date + i]), 7555 { from: s(e), to: s(i) } 7556 ); 7557 }), 7558 (i.prototype.withinRange = function (e, t) { 7559 return ( 7560 (e = this.createRange(e.from, e.to)), 7561 t.pick >= e.from.pick && t.pick <= e.to.pick 7562 ); 7563 }), 7564 (i.prototype.overlapRanges = function (e, t) { 7565 var i = this; 7566 return ( 7567 (e = i.createRange(e.from, e.to)), 7568 (t = i.createRange(t.from, t.to)), 7569 i.withinRange(e, t.from) || 7570 i.withinRange(e, t.to) || 7571 i.withinRange(t, e.from) || 7572 i.withinRange(t, e.to) 7573 ); 7574 }), 7575 (i.prototype.now = function (e, t, i) { 7576 return ( 7577 (t = new Date()), 7578 i && i.rel && t.setDate(t.getDate() + i.rel), 7579 this.normalize(t, i) 7580 ); 7581 }), 7582 (i.prototype.navigate = function (e, i, n) { 7583 var o, 7584 s, 7585 a, 7586 r, 7587 l = t.isArray(i), 7588 c = t.isPlainObject(i), 7589 d = this.item.view; 7590 if (l || c) { 7591 for ( 7592 c
7593 ? ((s = i.year), (a = i.month), (r = i.date)) 7594 : ((s = +i[0]), (a = +i[1]), (r = +i[2])), 7595 n && n.nav && d && d.month !== a && ((s = d.year), (a = d.month)), 7596 s = (o = new Date( 7597 s, 7598 a + (n && n.nav ? n.nav : 0), 7599 1 7600 )).getFullYear(), 7601 a = o.getMonth(); 7602 new Date(s, a, r).getMonth() !== a; 7603 7604 ) 7605 r -= 1; 7606 i = [s, a, r]; 7607 } 7608 return i; 7609 }), 7610 (i.prototype.normalize = function (e) { 7611 return e.setHours(0, 0, 0, 0), e; 7612 }), 7613 (i.prototype.measure = function (e, t) { 7614 return ( 7615 t 7616 ? "string" == typeof t 7617 ? (t = this.parse(e, t)) 7618 : n.isInteger(t) && (t = this.now(e, t, { rel: t })) 7619 : (t = "min" == e ? -1 / 0 : 1 / 0), 7620 t 7621 ); 7622 }), 7623 (i.prototype.viewset = function (e, t) { 7624 return this.create([t.year, t.month, 1]); 7625 }), 7626 (i.prototype.validate = function (e, i, o) { 7627 var s, 7628 a, 7629 r, 7630 l, 7631 c = this, 7632 d = i, 7633 u = o && o.interval ? o.interval : 1, 7634 p = -1 === c.item.enable, 7635 f = c.item.min, 7636 h = c.item.max, 7637 v = 7638 p && 7639 c.item.disable.filter(function (e) { 7640 if (t.isArray(e)) { 7641 var o = c.create(e).pick; 7642 o < i.pick ? (s = !0) : o > i.pick && (a = !0); 7643 } 7644 return n.isInteger(e); 7645 }).length; 7646 if ( 7647 (!o || !o.nav) && 7648 ((!p && c.disabled(i)) || 7649 (p && c.disabled(i) && (v || s || a)) || 7650 (!p && (i.pick <= f.pick || i.pick >= h.pick))) 7651 ) 7652 for ( 7653 p && !v && ((!a && u > 0) || (!s && u < 0)) && (u *= -1); 7654 c.disabled(i) && 7655 (Math.abs(u) > 1 && 7656 (i.month < d.month || i.month > d.month) && 7657 ((i = d), (u = u > 0 ? 1 : -1)), 7658 i.pick <= f.pick 7659 ? ((r = !0), 7660 (u = 1), 7661 (i = c.create([ 7662 f.year, 7663 f.month, 7664 f.date + (i.pick === f.pick ? 0 : -1), 7665 ]))) 7666 : i.pick >= h.pick && 7667 ((l = !0), 7668 (u = -1), 7669 (i = c.create([ 7670 h.year, 7671 h.month, 7672 h.date + (i.pick === h.pick ? 0 : 1), 7673 ]))), 7674 !r || !l); 7675 7676 ) 7677 i = c.create([i.year, i.month, i.date + u]); 7678 return i; 7679 }), 7680 (i.prototype.disabled = function (e) { 7681 var i = this, 7682 o = i.item.disable.filter(function (o) { 7683 return n.isInteger(o) 7684 ? e.day === (i.settings.firstDay ? o : o - 1) % 7 7685 : t.isArray(o) || n.isDate(o) 7686 ? e.pick === i.create(o).pick 7687 : t.isPlainObject(o) 7688 ? i.withinRange(o, e) 7689 : void 0; 7690 }); 7691 return ( 7692 (o = 7693 o.length && 7694 !o.filter(function (e) { 7695 return ( 7696 (t.isArray(e) && "inverted" == e[3]) || 7697 (t.isPlainObject(e) && e.inverted) 7698 ); 7699 }).length), 7700 -1 === i.item.enable 7701 ? !o 7702 : o || e.pick < i.item.min.pick || e.pick > i.item.max.pick 7703 ); 7704 }), 7705 (i.prototype.parse = function (e, t, i) { 7706 var o = this, 7707 s = {}; 7708 return t && "string" == typeof t 7709 ? ((i && i.format) || ((i = i || {}).format = o.settings.format), 7710 o.formats.toArray(i.format).map(function (e) { 7711 var i = o.formats[e], 7712 a = i ? n.trigger(i, o, [t, s]) : e.replace(/^!/, "").length; 7713 i && (s[e] = t.substr(0, a)), (t = t.substr(a)); 7714 }), 7715 [s.yyyy || s.yy, +(s.mm || s.m) - 1, s.dd || s.d]) 7716 : t; 7717 }), 7718 (i.prototype.formats = (function () { 7719 function e(e, t, i) { 7720 var n = e.match(/\w+/)[0]; 7721 return i.mm || i.m || (i.m = t.indexOf(n) + 1), n.length; 7722 } 7723 function t(e) { 7724 return e.match(/\w+/)[0].length; 7725 } 7726 return { 7727 d: function (e, t) { 7728 return e ? n.digits(e) : t.date; 7729 }, 7730 dd: function (e, t) { 7731 return e ? 2 : n.lead(t.date); 7732 }, 7733 ddd: function (e, i) { 7734 return e ? t(e) : this.settings.weekdaysShort[i.day]; 7735 }, 7736 dddd: function (e, i) { 7737 return e ? t(e) : this.settings.weekdaysFull[i.day]; 7738 }, 7739 m: function (e, t) { 7740 return e ? n.digits(e) : t.month + 1; 7741 }, 7742 mm: function (e, t) { 7743 return e ? 2 : n.lead(t.month + 1); 7744 }, 7745 mmm: function (t, i) { 7746 var n = this.settings.monthsShort; 7747 return t ? e(t, n, i) : n[i.month]; 7748 }, 7749 mmmm: function (t, i) { 7750 var n = this.settings.monthsFull; 7751 return t ? e(t, n, i) : n[i.month]; 7752 }, 7753 yy: function (e, t) { 7754 return e ? 2 : ("" + t.year).slice(2); 7755 }, 7756 yyyy: function (e, t) { 7757 return e ? 4 : t.year; 7758 }, 7759 toArray: function (e) { 7760 return e.split(/(d{1,4}|m{1,4}|y{4}|yy|!.)/g); 7761 }, 7762 toString: function (e, t) { 7763 var i = this; 7764 return i.formats 7765 .toArray(e) 7766 .map(function (e) { 7767 return ( 7768 n.trigger(i.formats[e], i, [0, t]) || e.replace(/^!/, "") 7769 ); 7770 }) 7771 .join(""); 7772 }, 7773 }; 7774 })()), 7775 (i.prototype.isDateExact = function (e, i) { 7776 var o = this; 7777 return (n.isInteger(e) && n.isInteger(i)) || 7778 ("boolean" == typeof e && "boolean" == typeof i) 7779 ? e === i 7780 : (n.isDate(e) || t.isArray(e)) && (n.isDate(i) || t.isArray(i)) 7781 ? o.create(e).pick === o.create(i).pick 7782 : !(!t.isPlainObject(e) || !t.isPlainObject(i)) && 7783 o.isDateExact(e.from, i.from) && 7784 o.isDateExact(e.to, i.to); 7785 }), 7786 (i.prototype.isDateOverlap = function (e, i) { 7787 var o = this, 7788 s = o.settings.firstDay ? 1 : 0; 7789 return n.isInteger(e) && (n.isDate(i) || t.isArray(i)) 7790 ? (e = (e % 7) + s) === o.create(i).day + 1 7791 : n.isInteger(i) && (n.isDate(e) || t.isArray(e)) 7792 ? (i = (i % 7) + s) === o.create(e).day + 1 7793 : !(!t.isPlainObject(e) || !t.isPlainObject(i)) && 7794 o.overlapRanges(e, i); 7795 }), 7796 (i.prototype.flipEnable = function (e) { 7797 var t = this.item; 7798 t.enable = e || (-1 == t.enable ? 1 : -1); 7799 }), 7800 (i.prototype.deactivate = function (e, i) { 7801 var o = this, 7802 s = o.item.disable.slice(0); 7803 return ( 7804 "flip" == i 7805 ? o.flipEnable() 7806 : !1 === i 7807 ? (o.flipEnable(1), (s = [])) 7808 : !0 === i 7809 ? (o.flipEnable(-1), (s = [])) 7810 : i.map(function (e) { 7811 for (var i, a = 0; a < s.length; a += 1) 7812 if (o.isDateExact(e, s[a])) { 7813 i = !0; 7814 break; 7815 } 7816 i || 7817 ((n.isInteger(e) || 7818 n.isDate(e) || 7819 t.isArray(e) || 7820 (t.isPlainObject(e) && e.from && e.to)) && 7821 s.push(e)); 7822 }), 7823 s 7824 ); 7825 }), 7826 (i.prototype.activate = function (e, i) { 7827 var o = this, 7828 s = o.item.disable, 7829 a = s.length; 7830 return ( 7831 "flip" == i 7832 ? o.flipEnable() 7833 : !0 === i 7834 ? (o.flipEnable(1), (s = [])) 7835 : !1 === i 7836 ? (o.flipEnable(-1), (s = [])) 7837 : i.map(function (e) { 7838 var i, r, l, c; 7839 for (l = 0; l < a; l += 1) { 7840 if (((r = s[l]), o.isDateExact(r, e))) { 7841 (i = s[l] = null), (c = !0); 7842 break; 7843 } 7844 if (o.isDateOverlap(r, e)) { 7845 t.isPlainObject(e) 7846 ? ((e.inverted = !0), (i = e)) 7847 : t.isArray(e) 7848 ? (i = e)[3] || i.push("inverted") 7849 : n.isDate(e) && 7850 (i = [ 7851 e.getFullYear(), 7852 e.getMonth(), 7853 e.getDate(), 7854 "inverted", 7855 ]); 7856 break; 7857 } 7858 } 7859 if (i) 7860 for (l = 0; l < a; l += 1) 7861 if (o.isDateExact(s[l], e)) { 7862 s[l] = null; 7863 break; 7864 } 7865 if (c) 7866 for (l = 0; l < a; l += 1) 7867 if (o.isDateOverlap(s[l], e)) { 7868 s[l] = null; 7869 break; 7870 } 7871 i && s.push(i); 7872 }), 7873 s.filter(function (e) { 7874 return null != e; 7875 }) 7876 ); 7877 }), 7878 (i.prototype.nodes = function (e) { 7879 var t = this, 7880 i = t.settings, 7881 o = t.item, 7882 s = o.now, 7883 a = o.select, 7884 r = o.highlight, 7885 l = o.view, 7886 c = o.disable, 7887 d = o.min, 7888 u = o.max, 7889 p = (function (e, t) { 7890 return ( 7891 i.firstDay && (e.push(e.shift()), t.push(t.shift())), 7892 n.node( 7893 "thead", 7894 n.node( 7895 "tr", 7896 n.group({ 7897 min: 0, 7898 max: 6, 7899 i: 1, 7900 node: "th", 7901 item: function (n) { 7902 return [ 7903 e[n], 7904 i.klass.weekdays, 7905 'scope=col title="' + t[n] + '"', 7906 ]; 7907 }, 7908 }) 7909 ) 7910 ) 7911 ); 7912 })( 7913 (i.showWeekdaysFull ? i.weekdaysFull : i.weekdaysLetter).slice(0), 7914 i.weekdaysFull.slice(0) 7915 ), 7916 f = function (e) { 7917 return n.node( 7918 "div", 7919 " ", 7920 i.klass["nav" + (e ? "Next" : "Prev")] + 7921 ((e && l.year >= u.year && l.month >= u.month) || 7922 (!e && l.year <= d.year && l.month <= d.month) 7923 ? " " + i.klass.navDisabled 7924 : ""), 7925 "data-nav=" + 7926 (e || -1) + 7927 " " + 7928 n.ariaAttr({ 7929 role: "button", 7930 controls: t.$node[0].id + "_table", 7931 }) + 7932 ' title="' + 7933 (e ? i.labelMonthNext : i.labelMonthPrev) + 7934 '"' 7935 ); 7936 }, 7937 h = function (o) { 7938 var s = i.showMonthsShort ? i.monthsShort : i.monthsFull; 7939 return ( 7940 "short_months" == o && (s = i.monthsShort), 7941 i.selectMonths && null == o 7942 ? n.node( 7943 "select", 7944 n.group({ 7945 min: 0, 7946 max: 11, 7947 i: 1, 7948 node: "option", 7949 item: function (e) { 7950 return [ 7951 s[e], 7952 0, 7953 "value=" + 7954 e + 7955 (l.month == e ? " selected" : "") + 7956 ((l.year == d.year && e < d.month) || 7957 (l.year == u.year && e > u.month) 7958 ? " disabled" 7959 : ""), 7960 ]; 7961 }, 7962 }), 7963 i.klass.selectMonth + " browser-default", 7964 (e ? "" : "disabled") + 7965 " " + 7966 n.ariaAttr({ controls: t.$node[0].id + "_table" }) + 7967 ' title="' + 7968 i.labelMonthSelect + 7969 '"' 7970 ) 7971 : "short_months" == o 7972 ? null != a 7973 ? n.node("div", s[a.month]) 7974 : n.node("div", s[l.month]) 7975 : n.node("div", s[l.month], i.klass.month) 7976 ); 7977 }, 7978 v = function (o) { 7979 var s = l.year, 7980 a = !0 === i.selectYears ? 5 : ~~(i.selectYears / 2); 7981 if (a) { 7982 var r = d.year, 7983 c = u.year, 7984 p = s - a, 7985 f = s + a; 7986 if ((r > p && ((f += r - p), (p = r)), c < f)) { 7987 var h = p - r, 7988 v = f - c; 7989 (p -= h > v ? v : h), (f = c); 7990 } 7991 if (i.selectYears && null == o) 7992 return n.node( 7993 "select", 7994 n.group({ 7995 min: p, 7996 max: f, 7997 i: 1, 7998 node: "option", 7999 item: function (e) { 8000 return [e, 0, "value=" + e + (s == e ? " selected" : "")]; 8001 }, 8002 }), 8003 i.klass.selectYear + " browser-default", 8004 (e ? "" : "disabled") + 8005 " " + 8006 n.ariaAttr({ controls: t.$node[0].id + "_table" }) + 8007 ' title="' + 8008 i.labelYearSelect + 8009 '"' 8010 ); 8011 } 8012 return "raw" == o 8013 ? n.node("div", s) 8014 : n.node("div", s, i.klass.year); 8015 }; 8016 return ( 8017 (createDayLabel = function () { 8018 return null != a ? n.node("div", a.date) : n.node("div", s.date); 8019 }), 8020 (createWeekdayLabel = function () { 8021 var e; 8022 return (e = null != a ? a.day : s.day), i.weekdaysFull[e]; 8023 }), 8024 n.node( 8025 "div", 8026 n.node("div", createWeekdayLabel(), "picker__weekday-display") + 8027 n.node("div", h("short_months"), i.klass.month_display) + 8028 n.node("div", createDayLabel(), i.klass.day_display) + 8029 n.node("div", v("raw"), i.klass.year_display), 8030 i.klass.date_display 8031 ) + 8032 n.node( 8033 "div", 8034 n.node( 8035 "div", 8036 (i.selectYears, h() + v() + f() + f(1)), 8037 i.klass.header 8038 ) + 8039 n.node( 8040 "table", 8041 p + 8042 n.node( 8043 "tbody", 8044 n.group({ 8045 min: 0, 8046 max: 5, 8047 i: 1, 8048 node: "tr", 8049 item: function (e) { 8050 var o = 8051 i.firstDay && 8052 0 === t.create([l.year, l.month, 1]).day 8053 ? -7 8054 : 0; 8055 return [ 8056 n.group({ 8057 min: 7 * e - l.day + o + 1, 8058 max: function () { 8059 return this.min + 7 - 1; 8060 }, 8061 i: 1, 8062 node: "td", 8063 item: function (e) { 8064 e = t.create([ 8065 l.year, 8066 l.month, 8067 e + (i.firstDay ? 1 : 0), 8068 ]); 8069 var o = a && a.pick == e.pick, 8070 p = r && r.pick == e.pick, 8071 f = 8072 (c && t.disabled(e)) || 8073 e.pick <
8073 d.pick || 8074 e.pick > u.pick, 8075 h = n.trigger(t.formats.toString, t, [ 8076 i.format, 8077 e, 8078 ]); 8079 return [ 8080 n.node( 8081 "div", 8082 e.date, 8083 (function (t) { 8084 return ( 8085 t.push( 8086 l.month == e.month 8087 ? i.klass.infocus 8088 : i.klass.outfocus 8089 ), 8090 s.pick == e.pick && t.push(i.klass.now), 8091 o && t.push(i.klass.selected), 8092 p && t.push(i.klass.highlighted), 8093 f && t.push(i.klass.disabled), 8094 t.join(" ") 8095 ); 8096 })([i.klass.day]), 8097 "data-pick=" + 8098 e.pick + 8099 " " + 8100 n.ariaAttr({ 8101 role: "gridcell", 8102 label: h, 8103 selected: 8104 !(!o || t.$node.val() !== h) || null, 8105 activedescendant: !!p || null, 8106 disabled: !!f || null, 8107 }) 8108 ), 8109 "", 8110 n.ariaAttr({ role: "presentation" }), 8111 ]; 8112 }, 8113 }), 8114 ]; 8115 }, 8116 }) 8117 ), 8118 i.klass.table, 8119 'id="' + 8120 t.$node[0].id + 8121 '_table" ' + 8122 n.ariaAttr({ 8123 role: "grid", 8124 controls: t.$node[0].id, 8125 readonly: !0, 8126 }) 8127 ), 8128 i.klass.calendar_container 8129 ) + 8130 n.node( 8131 "div", 8132 n.node( 8133 "button", 8134 i.today, 8135 "btn-flat picker__today", 8136 "type=button data-pick=" + 8137 s.pick + 8138 (e && !t.disabled(s) ? "" : " disabled") + 8139 " " + 8140 n.ariaAttr({ controls: t.$node[0].id }) 8141 ) + 8142 n.node( 8143 "button", 8144 i.clear, 8145 "btn-flat picker__clear", 8146 "type=button data-clear=1" + 8147 (e ? "" : " disabled") + 8148 " " + 8149 n.ariaAttr({ controls: t.$node[0].id }) 8150 ) + 8151 n.node( 8152 "button", 8153 i.close, 8154 "btn-flat picker__close", 8155 "type=button data-close=true " + 8156 (e ? "" : " disabled") + 8157 " " + 8158 n.ariaAttr({ controls: t.$node[0].id }) 8159 ), 8160 i.klass.footer 8161 ) 8162 ); 8163 }), 8164 (i.defaults = (function (e) { 8165 return { 8166 labelMonthNext: "Mes siguiente", 8167 labelMonthPrev: "Mes anterior", 8168 labelMonthSelect: "Seleccione un mes", 8169 labelYearSelect: "Seleccione un año", 8170 monthsFull: [ 8171 "Enero", 8172 "Febrero", 8173 "Marzo", 8174 "Abril", 8175 "Mayo", 8176 "Junio", 8177 "Julio", 8178 "Agosto", 8179 "Septiembre", 8180 "Octubre", 8181 "Noviembre", 8182 "Diciembre", 8183 ], 8184 monthsShort: [ 8185 "En", 8186 "Feb", 8187 "Mar", 8188 "Abr", 8189 "May", 8190 "Jun", 8191 "Jul", 8192 "Ago", 8193 "Sep", 8194 "Oct", 8195 "Nov", 8196 "Dic", 8197 ], 8198 weekdaysFull: [ 8199 "Domingo", 8200 "Lunes", 8201 "Martes", 8202 "Miércoles", 8203 "Jueves", 8204 "Viernes", 8205 "Sábado", 8206 ], 8207 weekdaysShort: ["D", "L", "M", "X", "J", "V", "S"], 8208 weekdaysLetter: ["S", "L", "M", "X", "J", "V", "S"], 8209 today: "Hoy", 8210 clear: "Limpiar", 8211 close: "Cerrar", 8212 format: "d mmmm, yyyy", 8213 klass: { 8214 table: e + "table", 8215 header: e + "header", 8216 date_display: e + "date-display", 8217 day_display: e + "day-display", 8218 month_display: e + "month-display", 8219 year_display: e + "year-display", 8220 calendar_container: e + "calendar-container", 8221 navPrev: e + "nav--prev", 8222 navNext: e + "nav--next", 8223 navDisabled: e + "nav--disabled", 8224 month: e + "month", 8225 year: e + "year", 8226 selectMonth: e + "select--month", 8227 selectYear: e + "select--year", 8228 weekdays: e + "weekday", 8229 day: e + "day", 8230 disabled: e + "day--disabled", 8231 selected: e + "day--selected", 8232 highlighted: e + "day--highlighted", 8233 now: e + "day--today", 8234 infocus: e + "day--infocus", 8235 outfocus: e + "day--outfocus", 8236 footer: e + "footer", 8237 buttonClear: e + "button--clear", 8238 buttonToday: e + "button--today", 8239 buttonClose: e + "button--close", 8240 }, 8241 }; 8242 })(e.klasses().picker + "__")), 8243 e.extend("pickadate", i); 8244 }), 8245 (function (e) { 8246 function t() { 8247 var t = +e(this).attr("data-length"), 8248 i = +e(this).val().length, 8249 n = i <= t; 8250 e(this) 8251 .parent() 8252 .find('span[class="character-counter"]') 8253 .html(i + "/" + t), 8254 (function (e, t) { 8255 var i = t.hasClass("invalid"); 8256 e && i 8257 ? t.removeClass("invalid")
8258 : e || i || (t.removeClass("valid"), t.addClass("invalid")); 8259 })(n, e(this)); 8260 } 8261 function i() { 8262 e(this).parent().find('span[class="character-counter"]').html(""); 8263 } 8264 (e.fn.characterCounter = function () { 8265 return this.each(function () { 8266 var n = e(this); 8267 n.parent().find('span[class="character-counter"]').length || 8268 (void 0 !== n.attr("data-length") && 8269 (n.on("input", t), 8270 n.on("focus", t), 8271 n.on("blur", i), 8272 (function (t) { 8273 var i = t.parent().find('span[class="character-counter"]'); 8274 i.length || 8275 ((i = e("<span/>") 8276 .addClass("character-counter") 8277 .css("float", "right") 8278 .css("font-size", "12px") 8279 .css("height", 1)), 8280 t.parent().append(i)); 8281 })(n))); 8282 }); 8283 }), 8284 e(document).ready(function () { 8285 e("input, textarea").characterCounter(); 8286 }); 8287 })(jQuery), 8288 (function (e) { 8289 var t = { 8290 init: function (t) { 8291 t = e.extend( 8292 { 8293 duration: 200, 8294 dist: -100, 8295 shift: 0, 8296 padding: 0, 8297 fullWidth: !1, 8298 indicators: !1, 8299 noWrap: !1, 8300 onCycleTo: null, 8301 }, 8302 t 8303 ); 8304 var i = Materialize.objectSelectorString(e(this)); 8305 return this.each(function (n) { 8306 function o(e) { 8307 return e.targetTouches && e.targetTouches.length >= 1 8308 ? e.targetTouches[0].clientX 8309 : e.clientX; 8310 } 8311 function s(e) { 8312 return e.targetTouches && e.targetTouches.length >= 1 8313 ? e.targetTouches[0].clientY 8314 : e.clientY; 8315 } 8316 function a(e) { 8317 return e >= T ? e % T : e < 0 ? a(T + (e % T)) : e; 8318 } 8319 function r(i) { 8320 !0, 8321 _.hasClass("scrolling") || _.addClass("scrolling"), 8322 null != H && window.clearTimeout(H), 8323 (H = window.setTimeout(function () { 8324 !1, _.removeClass("scrolling"); 8325 }, t.duration)); 8326 var n, 8327 o, 8328 s, 8329 r, 8330 l, 8331 c, 8332 d, 8333 u = b; 8334 if ( 8335 ((m = "number" == typeof i ? i : m), 8336 (b = Math.floor((m + k / 2) / k)), 8337 (l = (-(r = (s = m - b * k) < 0 ? 1 : -1) * s * 2) / k), 8338 (o = T >> 1), 8339 t.fullWidth 8340 ? (d = "translateX(0)") 8341 : ((d = "translateX(" + (_[0].clientWidth - v) / 2 + "px) "), 8342 (d += "translateY(" + (_[0].clientHeight - g) / 2 + "px)")), 8343 q) 8344 ) { 8345 var p = b % T, 8346 f = D.find(".indicator-item.active"); 8347 f.index() !== p && 8348 (f.removeClass("active"), 8349 D.find(".indicator-item").eq(p).addClass("active")); 8350 } 8351 for ( 8352 (!t.noWrap || (b >= 0 && b < T)) && 8353 ((c = h[a(b)]), 8354 e(c).hasClass("active") || 8355 (_.find(".carousel-item").removeClass("active"), 8356 e(c).addClass("active")), 8357 (c.style[P] = 8358 d + 8359 " translateX(" + 8360 -s / 2 + 8361 "px) translateX(" + 8362 r * t.shift * l * n + 8363 "px) translateZ(" + 8364 t.dist * l + 8365 "px)"), 8366 (c.style.zIndex = 0), 8367 t.fullWidth 8368 ? (tweenedOpacity = 1) 8369 : (tweenedOpacity = 1 - 0.2 * l), 8370 (c.style.opacity = tweenedOpacity), 8371 (c.style.display = "block")), 8372 n = 1; 8373 n <= o; 8374 ++n 8375 ) 8376 t.fullWidth 8377 ? ((zTranslation = t.dist), 8378 (tweenedOpacity = n === o && s < 0 ? 1 - l : 1)) 8379 : ((zTranslation = t.dist * (2 * n + l * r)), 8380 (tweenedOpacity = 1 - 0.2 * (2 * n + l * r))), 8381 (!t.noWrap || b + n < T) && 8382 (((c = h[a(b + n)]).style[P] = 8383 d +
8384 " translateX(" + 8385 (t.shift + (k * n - s) / 2) + 8386 "px) translateZ(" + 8387 zTranslation + 8388 "px)"), 8389 (c.style.zIndex = -n), 8390 (c.style.opacity = tweenedOpacity), 8391 (c.style.display = "block")), 8392 t.fullWidth 8393 ? ((zTranslation = t.dist), 8394 (tweenedOpacity = n === o && s > 0 ? 1 - l : 1)) 8395 : ((zTranslation = t.dist * (2 * n - l * r)), 8396 (tweenedOpacity = 1 - 0.2 * (2 * n - l * r))), 8397 (!t.noWrap || b - n >= 0) && 8398 (((c = h[a(b - n)]).style[P] = 8399 d + 8400 " translateX(" + 8401 (-t.shift + (-k * n - s) / 2) + 8402 "px) translateZ(" + 8403 zTranslation + 8404 "px)"), 8405 (c.style.zIndex = -n), 8406 (c.style.opacity = tweenedOpacity), 8407 (c.style.display = "block")); 8408 if ( 8409 ((!t.noWrap || (b >= 0 && b < T)) && 8410 (((c = h[a(b)]).style[P] = 8411 d + 8412 " translateX(" + 8413 -s / 2 + 8414 "px) translateX(" + 8415 r * t.shift * l + 8416 "px) translateZ(" + 8417 t.dist * l + 8418 "px)"), 8419 (c.style.zIndex = 0), 8420 t.fullWidth 8421 ? (tweenedOpacity = 1) 8422 : (tweenedOpacity = 1 - 0.2 * l), 8423 (c.style.opacity = tweenedOpacity), 8424 (c.style.display = "block")), 8425 u !== b && "function" == typeof t.onCycleTo) 8426 ) { 8427 var y = _.find(".carousel-item").eq(a(b)); 8428 t.onCycleTo.call(this, y, M); 8429 } 8430 } 8431 function l() { 8432 var e, t, i; 8433 (t = (e = Date.now()) - E), 8434 (E = e), 8435 (i = m - O), 8436 (O = m), 8437 ($ = ((1e3 * i) / (1 + t)) * 0.8 + 0.2 * $); 8438 } 8439 function c() { 8440 var e, i; 8441 S && 8442 ((e = Date.now() - E), 8443 (i = S * Math.exp(-e / t.duration)) > 2 || i < -2 8444 ? (r(A - i), requestAnimationFrame(c)) 8445 : r(A)); 8446 } 8447 function d(e) { 8448 var i = (b % T) - e; 8449 t.noWrap || 8450 (i < 0 8451 ? Math.abs(i + T) < Math.abs(i) && (i += T) 8452 : i > 0 && Math.abs(i - T) < i && (i -= T)), 8453 i < 0 8454 ? _.trigger("carouselNext", [Math.abs(i)]) 8455 : i > 0 && _.trigger("carouselPrev", [i]); 8456 } 8457 function u(e) { 8458 e.preventDefault(), 8459 (w = !0), 8460 (M = !1), 8461 (z = !1), 8462 (C = o(e)), 8463 (x = s(e)), 8464 ($ = S = 0), 8465 (O = m), 8466 (E = Date.now()), 8467 clearInterval(I), 8468 (I = setInterval(l, 100)); 8469 } 8470 function p(e) { 8471 var t, i; 8472 if (w) 8473 if ( 8474 ((t = o(e)), 8475 (y = s(e)), 8476 (i = C - t), 8477 Math.abs(x - y) < 30 && !z) 8478 ) 8479 (i > 2 || i < -2) && ((M = !0), (C = t), r(m + i)); 8480 else { 8481 if (M) return e.preventDefault(), e.stopPropagation(), !1; 8482 z = !0; 8483 } 8484 if (M) return e.preventDefault(), e.stopPropagation(), !1; 8485 } 8486 function f(e) { 8487 if (w) 8488 return ( 8489 (w = !1), 8490 clearInterval(I), 8491 (A = m), 8492 ($ > 10 || $ < -10) && (A = m + (S = 0.9 * $)), 8493 (A = Math.round(A / k) * k), 8494 t.noWrap && 8495 (A >= k * (T - 1) ? (A = k * (T - 1)) : A < 0 && (A = 0)), 8496 (S = A - m), 8497 (E = Date.now()), 8498 requestAnimationFrame(c), 8499 M && (e.preventDefault(), e.stopPropagation()), 8500 !1 8501 ); 8502 } 8503 var h, 8504 v, 8505 g, 8506 m, 8507 b, 8508 w, 8509 k, 8510 T, 8511 C, 8512 x, 8513 S, 8514 A, 8515 $, 8516 P, 8517 O, 8518 E, 8519 I, 8520 M, 8521 z, 8522 L = i + n, 8523 D = e('<ul class="indicators"></ul>'), 8524 H = null, 8525 _ = e(this), 8526 q = _.attr("data-indicators") || t.indicators; 8527 if ( 8528 (t.fullWidth && 8529 ((t.dist = 0), 8530 (function () { 8531 var t = _.find(".carousel-item img").first(); 8532 if (t.length) 8533 t.prop("complete") 8534 ? _.css("height", t.height()) 8535 : t.on("load", function () { 8536 _.css("height", e(this).height()); 8537 }); 8538 else { 8539 var i = _.find(".carousel-item").first().height(); 8540 _.css("height", i); 8541 } 8542 })(), 8543 q && _.find(".carousel-fixed-item").addClass("with-indicators")), 8544 _.hasClass("initialized")) 8545 ) 8546 return ( 8547 e(window).trigger("resize"), 8548 e(this).trigger("carouselNext", [1e-6]), 8549 !0 8550 ); 8551 _.addClass("initialized"),
8552 (w = !1), 8553 (m = A = 0), 8554 (h = []), 8555 (v = _.find(".carousel-item").first().innerWidth()), 8556 (g = _.find(".carousel-item").first().innerHeight()), 8557 (k = 2 * v + t.padding), 8558 _.find(".carousel-item").each(function (t) { 8559 if ((h.push(e(this)[0]), q)) { 8560 var i = e('<li class="indicator-item"></li>'); 8561 0 === t && i.addClass("active"), 8562 i.click(function (t) { 8563 t.stopPropagation(), d(e(this).index()); 8564 }), 8565 D.append(i); 8566 } 8567 }), 8568 q && _.append(D), 8569 (T = h.length), 8570 (P = "transform"), 8571 ["webkit", "Moz", "O", "ms"].every(function (e) { 8572 var t = e + "Transform"; 8573 return void 0 === document.body.style[t] || ((P = t), !1); 8574 }), 8575 e(window) 8576 .off("resize.carousel-" + L) 8577 .on("resize.carousel-" + L, function () { 8578 t.fullWidth 8579 ? ((v = _.find(".carousel-item").first().innerWidth()), 8580 (g = _.find(".carousel-item").first().innerHeight()), 8581 (k = 2 * v + t.padding), 8582 (A = m = 2 * b * v)) 8583 : r(); 8584 }), 8585 void 0 !== window.ontouchstart && 8586 (_[0].addEventListener("touchstart", u), 8587 _[0].addEventListener("touchmove", p), 8588 _[0].addEventListener("touchend", f)), 8589 _[0].addEventListener("mousedown", u), 8590 _[0].addEventListener("mousemove", p), 8591 _[0].addEventListener("mouseup", f), 8592 _[0].addEventListener("mouseleave", f), 8593 _[0].addEventListener("click", function (i) { 8594 if (M) return i.preventDefault(), i.stopPropagation(), !1; 8595 if (!t.fullWidth) { 8596 var n = e(i.target).closest(".carousel-item").index(); 8597 0 != (b % T) - n && (i.preventDefault(), i.stopPropagation()), 8598 d(n); 8599 } 8600 }), 8601 r(m), 8602 e(this).on("carouselNext", function (e, t) { 8603 void 0 === t && (t = 1), 8604 (A = k * Math.round(m / k) + k * t), 8605 m !== A && 8606 ((S = A - m), (E = Date.now()), requestAnimationFrame(c)); 8607 }), 8608 e(this).on("carouselPrev", function (e, t) { 8609 void 0 === t && (t = 1), 8610 (A = k * Math.round(m / k) - k * t), 8611 m !== A && 8612 ((S = A - m), (E = Date.now()), requestAnimationFrame(c)); 8613 }), 8614 e(this).on("carouselSet", function (e, t) { 8615 void 0 === t && (t = 0), d(t); 8616 }); 8617 }); 8618 }, 8619 next: function (t) { 8620 e(this).trigger("carouselNext", [t]); 8621 }, 8622 prev: function (t) { 8623 e(this).trigger("carouselPrev", [t]); 8624 }, 8625 set: function (t) { 8626 e(this).trigger("carouselSet", [t]); 8627 }, 8628 }; 8629 e.fn.carousel = function (i) { 8630 return t[i] 8631 ? t[i].apply(this, Array.prototype.slice.call(arguments, 1)) 8632 : "object" != typeof i && i 8633 ? void e.error("Method " + i + " does not exist on jQuery.carousel") 8634 : t.init.apply(this, arguments); 8635 }; 8636 })(jQuery), 8637 (function (e) { 8638 var t = { 8639 init: function (t) { 8640 return this.each(function () { 8641 var i = e("#" + e(this).attr("data-activates")), 8642 n = (e("body"), e(this)), 8643 o = n.parent(".tap-target-wrapper"), 8644 s = o.find(".tap-target-wave"), 8645 a = o.find(".tap-target-origin"), 8646 r = n.find(".tap-target-content"); 8647 o.length || 8648 (o = n.wrap(e('<div class="tap-target-wrapper"></div>')).parent()), 8649 r.length || 8650 ((r = e('<div class="tap-target-content"></div>')), n.append(r)), 8651 s.length || 8652 ((s = e('<div class="tap-target-wave"></div>')), 8653 a.length || 8654 ((a = i.clone(!0, !0)).addClass("tap-target-origin"), 8655 a.removeAttr("id"), 8656 a.removeAttr("style"), 8657 s.append(a)), 8658 o.append(s)); 8659 var l = function () { 8660 o.is(".open") && 8661 (o.removeClass("open"),
8662 a.off("click.tapTarget"), 8663 e(document).off("click.tapTarget"), 8664 e(window).off("resize.tapTarget")); 8665 }, 8666 c = function () { 8667 var t = "fixed" === i.css("position"); 8668 if (!t) 8669 for ( 8670 var a = i.parents(), l = 0; 8671 l < a.length && !(t = "fixed" == e(a[l]).css("position")); 8672 l++ 8673 ); 8674 var c = i.outerWidth(), 8675 d = i.outerHeight(), 8676 u = t 8677 ? i.offset().top - e(document).scrollTop() 8678 : i.offset().top, 8679 p = t 8680 ? i.offset().left - e(document).scrollLeft() 8681 : i.offset().left, 8682 f = e(window).width(), 8683 h = e(window).height(), 8684 v = f / 2, 8685 g = h / 2, 8686 m = p <= v, 8687 y = p > v, 8688 b = u <= g, 8689 w = u > g, 8690 k = p >= 0.25 * f && p <= 0.75 * f, 8691 T = n.outerWidth(), 8692 C = n.outerHeight(), 8693 x = u + d / 2 - C / 2, 8694 S = p + c / 2 - T / 2, 8695 A = t ? "fixed" : "absolute", 8696 $ = k ? T : T / 2 + c, 8697 P = C / 2, 8698 O = b ? C / 2 : 0, 8699 E = m && !k ? T / 2 - c : 0, 8700 I = c, 8701 M = w ? "bottom" : "top", 8702 z = 2 * c, 8703 L = z, 8704 D = C / 2 - L / 2, 8705 H = T / 2 - z / 2, 8706 _ = {}; 8707 (_.top = b ? x : ""), 8708 (_.right = y ? f - S - T : ""), 8709 (_.bottom = w ? h - x - C : ""), 8710 (_.left = m ? S : ""), 8711 (_.position = A), 8712 o.css(_), 8713 r.css({ 8714 width: $, 8715 height: P, 8716 top: O, 8717 right: 0, 8718 bottom: 0, 8719 left: E, 8720 padding: I, 8721 verticalAlign: M, 8722 }), 8723 s.css({ top: D, left: H, width: z, height: L }); 8724 }; 8725 "open" == t && 8726 (c(), 8727 o.is(".open") || 8728 (o.addClass("open"), 8729 setTimeout(function () { 8730 a.off("click.tapTarget").on("click.tapTarget", function (e) {
8731 l(), a.off("click.tapTarget"); 8732 }), 8733 e(document) 8734 .off("click.tapTarget") 8735 .on("click.tapTarget", function (t) { 8736 l(), e(document).off("click.tapTarget"); 8737 }); 8738 var t = Materialize.throttle(function () { 8739 c(); 8740 }, 200); 8741 e(window).off("resize.tapTarget").on("resize.tapTarget", t); 8742 }, 0))), 8743 "close" == t && l(); 8744 }); 8745 }, 8746 open: function () {}, 8747 close: function () {}, 8748 }; 8749 e.fn.tapTarget = function (i) { 8750 if (t[i] || "object" == typeof i) return t.init.apply(this, arguments); 8751 e.error("Method " + i + " does not exist on jQuery.tap-target"); 8752 }; 8753 })(jQuery), 8754 console.log("Footer = JS : MATERIALIZE"), 8755 jQuery(document).ready(function (e) { 8756 function t() { 8757 e(".cd-nav-trigger").removeClass("nav-is-visible"), 8758 e(".cd-main-header").removeClass("nav-is-visible"), 8759 e(".cd-primary-nav").removeClass("nav-is-visible"), 8760 e(".has-children ul").addClass("is-hidden"), 8761 e(".has-children a").removeClass("selected"), 8762 e(".moves-out").removeClass("moves-out"), 8763 e(".cd-main-content") 8764 .removeClass("nav-is-visible") 8765 .one( 8766 "webkitTransitionEnd otransitionend oTransitionEnd msTransitionEnd transitionend", 8767 function () { 8768 e("body").removeClass("overflow-hidden"); 8769 } 8770 ); 8771 } 8772 function i(t) { 8773 "close" == t 8774 ? (e(".cd-search").removeClass("is-visible"), 8775 e(".cd-search-trigger").removeClass("search-is-visible"), 8776 e(".cd-overlay").removeClass("search-is-visible")) 8777 : (e(".cd-search").toggleClass("is-visible"), 8778 e(".cd-search-trigger").toggleClass("search-is-visible"), 8779 e(".cd-overlay").toggleClass("search-is-visible"), 8780 e(window).width() > 1200 && 8781 e(".cd-search").hasClass("is-visible") && 8782 e(".cd-search").find('input[type="search"]').focus(), 8783 e(".cd-search").hasClass("is-visible") 8784 ? e(".cd-overlay").addClass("is-visible") 8785 : e(".cd-overlay").removeClass("is-visible")); 8786 } 8787 function n() { 8788 var e = window, 8789 t = "inner"; 8790 return ( 8791 "innerWidth" in window || 8792 ((t = "client"), (e = document.documentElement || document.body)), 8793 e[t + "Width"] >= 1200 8794 ); 8795 } 8796 function o() { 8797 var t = e(".cd-nav"); 8798 n() 8799 ? (t.detach(), t.insertBefore(".cd-header-buttons")) 8800 : (t.detach(), t.insertAfter(".cd-main-content")); 8801 } 8802 o(), 8803 e(window).on("resize", function () { 8804 window.requestAnimationFrame 8805 ? window.requestAnimationFrame(o) 8806 : setTimeout(o, 300); 8807 }), 8808 e(".cd-nav-trigger").on("click", function (n) { 8809 n.preventDefault(), 8810 e(".cd-main-content").hasClass("nav-is-visible") 8811 ? (t(), e(".cd-overlay").removeClass("is-visible")) 8812 : (e(this).addClass("nav-is-visible"), 8813 e(".cd-primary-nav").addClass("nav-is-visible"), 8814 e(".cd-main-header").addClass("nav-is-visible"), 8815 e(".cd-main-content") 8816 .addClass("nav-is-visible") 8817 .one( 8818 "webkitTransitionEnd otransitionend oTransitionEnd msTransitionEnd transitionend", 8819 function () { 8820 e("body").addClass("overflow-hidden"); 8821 } 8822 ), 8823 i("close"), 8824 e(".cd-overlay").addClass("is-visible")); 8825 }), 8826 e(".cd-search-trigger").on("click", function (e) { 8827 e.preventDefault(), i(), t(); 8828 }), 8829 e(".cd-overlay").on("swiperight", function () { 8830 e(".cd-primary-nav").hasClass("nav-is-visible") && 8831 (t(), e(".cd-overlay").removeClass("is-visible")); 8832 }), 8833 e(".nav-on-left .cd-overlay").on("swipeleft", function () { 8834 e(".cd-primary-nav").hasClass("nav-is-visible") && 8835 (t(), e(".cd-overlay").removeClass("is-visible")); 8836 }), 8837 e(".cd-overlay").on("click", function () { 8838 t(), i("close"), e(".cd-overlay").removeClass("is-visible"); 8839 }), 8840 e(".cd-primary-nav") 8841 .children(".has-children") 8842 .children("a") 8843 .on("click", function (e) { 8844 e.preventDefault(); 8845 }), 8846 e(".has-children") 8847 .children("a") 8848 .on("click", function (t) { 8849 n() || t.preventDefault(); 8850 var o = e(this); 8851 o.next("ul").hasClass("is-hidden") 8852 ? (o 8853 .addClass("selected") 8854 .next("ul") 8855 .removeClass("is-hidden") 8856 .end() 8857 .parent(".has-children") 8858 .parent("ul") 8859 .addClass("moves-out"), 8860 o 8861 .parent(".has-children") 8862 .siblings(".has-children") 8863 .children("ul") 8864 .addClass("is-hidden") 8865 .end() 8866 .children("a") 8867 .removeClass("selected"), 8868 e(".cd-overlay").addClass("is-visible")) 8869 : (o 8870 .removeClass("selected") 8871 .next("ul") 8872 .addClass("is-hidden") 8873 .end() 8874 .parent(".has-children") 8875 .parent("ul") 8876 .removeClass("moves-out"), 8877 e(".cd-overlay").removeClass("is-visible")), 8878 i("close"); 8879 }), 8880 e(".go-back").on("click", function () { 8881 e(this) 8882 .parent("ul") 8883 .addClass("is-hidden") 8884 .parent(".has-children") 8885 .parent("ul") 8886 .removeClass("moves-out"); 8887 }); 8888 }), 8889 (function (e) { 8890 "use strict"; 8891 "function" == typeof define && define.amd 8892 ? define(["jquery"], e) 8893 : "undefined" != typeof exports 8894 ? (module.exports = e(require("jquery"))) 8895 : e(jQuery); 8896 })(function (e) { 8897 "use strict"; 8898 var t = window.Slick || {}; 8899 ((t = (function () { 8900 var t = 0; 8901 return function (i, n) { 8902 var o, 8903 s = this; 8904 (s.defaults = { 8905 accessibility: !0, 8906 adaptiveHeight: !1,
8907 appendArrows: e(i), 8908 appendDots: e(i), 8909 arrows: !0, 8910 infinite:false, 8911 asNavFor: null, 8912 prevArrow: 8913 '<div class="slid-prev"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 576 512" class="icon onm-icon onm-icon-prev" role="img" aria-hidden="true" focusable="false"><path fill="var(--primary)" d="M566.6 278.6c12.5-12.5 12.5-32.8 0-45.3l-128-128c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L466.7 224 32 224c-17.7 0-32 14.3-32 32s14.3 32 32 32l434.7 0-73.4 73.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0l128-128z"></path></svg></div>', 8914 nextArrow: 8915 '<div class="slid-next"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 576 512" class="icon onm-icon onm-icon-next" role="img" aria-hidden="true" focusable="false"><path fill="var(--primary)" d="M566.6 278.6c12.5-12.5 12.5-32.8 0-45.3l-128-128c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L466.7 224 32 224c-17.7 0-32 14.3-32 32s14.3 32 32 32l434.7 0-73.4 73.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0l128-128z"></path></svg></div>', 8916 autoplay: !1, 8917 autoplaySpeed: 3e3, 8918 centerMode: !1, 8919 centerPadding: "50px", 8920 cssEase: "ease", 8921 customPaging: function (t, i) { 8922 return e( 8923 '<button type="button" data-role="none" role="button" tabindex="0" />' 8924 ).text(i + 1); 8925 }, 8926 dots: !1, 8927 dotsClass: "slick-dots", 8928 draggable: !0, 8929 easing: "linear", 8930 edgeFriction: 0.35, 8931 fade: !1, 8932 focusOnSelect: !1, 8933 infinite: !0, 8934 initialSlide: 0, 8935 lazyLoad: "ondemand", 8936 accessibility: false, 8937 mobileFirst: !1, 8938 pauseOnHover: !0, 8939 pauseOnFocus: !0, 8940 pauseOnDotsHover: !1, 8941 respondTo: "window", 8942 responsive: null, 8943 rows: 1, 8944 rtl: !1, 8945 slide: "", 8946 slidesPerRow: 1, 8947 slidesToShow: 1, 8948 slidesToScroll: 1, 8949 speed: 500, 8950 swipe: !0, 8951 swipeToSlide: !1, 8952 touchMove: !0, 8953 touchThreshold: 5, 8954 useCSS: !0, 8955 useTransform: !0, 8956 variableWidth: !1, 8957 vertical: !1, 8958 verticalSwiping: !1, 8959 waitForAnimate: !0, 8960 zIndex: 1e3, 8961 }), 8962 (s.initials = { 8963 animating: !1, 8964 dragging: !1, 8965 autoPlayTimer: null, 8966 currentDirection: 0, 8967 currentLeft: null, 8968 currentSlide: 0, 8969 direction: 1, 8970 $dots: null, 8971 listWidth: null, 8972 listHeight: null, 8973 loadIndex: 0, 8974 $nextArrow: null, 8975 $prevArrow: null, 8976 slideCount: null, 8977 slideWidth: null, 8978 $slideTrack: null, 8979 $slides: null, 8980 sliding: !1, 8981 slideOffset: 0, 8982 swipeLeft: null, 8983 $list: null, 8984 touchObject: {}, 8985 transformsEnabled: !1, 8986 unslicked: !1, 8987 }), 8988 e.extend(s, s.initials), 8989 (s.activeBreakpoint = null), 8990 (s.animType = null), 8991 (s.animProp = null), 8992 (s.breakpoints = []), 8993 (s.breakpointSettings = []), 8994 (s.cssTransitions = !1), 8995 (s.focussed = !1), 8996 (s.interrupted = !1), 8997 (s.hidden = "hidden"), 8998 (s.paused = !0), 8999 (s.positionProp = null), 9000 (s.respondTo = null),
9001 (s.rowCount = 1), 9002 (s.shouldClick = !0), 9003 (s.$slider = e(i)), 9004 (s.$slidesCache = null), 9005 (s.transformType = null), 9006 (s.transitionType = null), 9007 (s.visibilityChange = "visibilitychange"), 9008 (s.windowWidth = 0), 9009 (s.windowTimer = null), 9010 (o = e(i).data("slick") || {}), 9011 (s.options = e.extend({}, s.defaults, n, o)), 9012 (s.currentSlide = s.options.initialSlide), 9013 (s.originalSettings = s.options), 9014 void 0 !== document.mozHidden 9015 ? ((s.hidden = "mozHidden"), 9016 (s.visibilityChange = "mozvisibilitychange")) 9017 : void 0 !== document.webkitHidden && 9018 ((s.hidden = "webkitHidden"), 9019 (s.visibilityChange = "webkitvisibilitychange")), 9020 (s.autoPlay = e.proxy(s.autoPlay, s)), 9021 (s.autoPlayClear = e.proxy(s.autoPlayClear, s)), 9022 (s.autoPlayIterator = e.proxy(s.autoPlayIterator, s)), 9023 (s.changeSlide = e.proxy(s.changeSlide, s)), 9024 (s.clickHandler = e.proxy(s.clickHandler, s)), 9025 (s.selectHandler = e.proxy(s.selectHandler, s)), 9026 (s.setPosition = e.proxy(s.setPosition, s)), 9027 (s.swipeHandler = e.proxy(s.swipeHandler, s)), 9028 (s.dragHandler = e.proxy(s.dragHandler, s)), 9029 (s.keyHandler = e.proxy(s.keyHandler, s)), 9030 (s.instanceUid = t++), 9031 (s.htmlExpr = /^(?:\s*(<[\w\W]+>)[^>]*)$/), 9032 s.registerBreakpoints(), 9033 s.init(!0); 9034 }; 9035 })()).prototype.activateADA = function () { 9036 this.$slideTrack 9037 .find(".slick-active") 9038 .attr({ "aria-hidden": "false" }) 9039 .find("a, input, button, select") 9040 .attr({ tabindex: "0" }); 9041 }), 9042 (t.prototype.addSlide = t.prototype.slickAdd = 9043 function (t, i, n) { 9044 var o = this; 9045 if ("boolean" == typeof i) (n = i), (i = null); 9046 else if (0 > i || i >= o.slideCount) return !1; 9047 o.unload(), 9048 "number" == typeof i 9049 ? 0 === i && 0 === o.$slides.length 9050 ? e(t).appendTo(o.$slideTrack) 9051 : n 9052 ? e(t).insertBefore(o.$slides.eq(i)) 9053 : e(t).insertAfter(o.$slides.eq(i)) 9054 : !0 === n 9055 ? e(t).prependTo(o.$slideTrack) 9056 : e(t).appendTo(o.$slideTrack), 9057 (o.$slides = o.$slideTrack.children(this.options.slide)), 9058 o.$slideTrack.children(this.options.slide).detach(), 9059 o.$slideTrack.append(o.$slides), 9060 o.$slides.each(function (t, i) { 9061 e(i).attr("data-slick-index", t); 9062 }), 9063 (o.$slidesCache = o.$slides), 9064 o.reinit(); 9065 }), 9066 (t.prototype.animateHeight = function () { 9067 var e = this; 9068 if ( 9069 1 === e.options.slidesToShow && 9070 !0 === e.options.adaptiveHeight && 9071 !1 === e.options.vertical 9072 ) { 9073 var t = e.$slides.eq(e.currentSlide).outerHeight(!0); 9074 e.$list.animate({ height: t }, e.options.speed); 9075 } 9076 }), 9077 (t.prototype.animateSlide = function (t, i) { 9078 var n = {}, 9079 o = this; 9080 o.animateHeight(), 9081 !0 === o.options.rtl && !1 === o.options.vertical && (t = -t), 9082 !1 === o.transformsEnabled 9083 ? !1 === o.options.vertical 9084 ? o.$slideTrack.animate( 9085 { left: t }, 9086 o.options.speed, 9087 o.options.easing, 9088 i 9089 ) 9090 : o.$slideTrack.animate( 9091 { top: t }, 9092 o.options.speed, 9093 o.options.easing, 9094 i 9095 ) 9096 : !1 === o.cssTransitions 9097 ? (!0 === o.options.rtl && (o.currentLeft = -o.currentLeft), 9098 e({ animStart: o.currentLeft }).animate( 9099 { animStart: t }, 9100 { 9101 duration: o.options.speed, 9102 easing: o.options.easing, 9103 step: function (e) {
9104 (e = Math.ceil(e)), 9105 !1 === o.options.vertical 9106 ? ((n[o.animType] = "translate(" + e + "px, 0px)"), 9107 o.$slideTrack.css(n)) 9108 : ((n[o.animType] = "translate(0px," + e + "px)"), 9109 o.$slideTrack.css(n)); 9110 }, 9111 complete: function () { 9112 i && i.call(); 9113 }, 9114 } 9115 )) 9116 : (o.applyTransition(), 9117 (t = Math.ceil(t)), 9118 !1 === o.options.vertical 9119 ? (n[o.animType] = "translate3d(" + t + "px, 0px, 0px)") 9120 : (n[o.animType] = "translate3d(0px," + t + "px, 0px)"), 9121 o.$slideTrack.css(n), 9122 i && 9123 setTimeout(function () { 9124 o.disableTransition(), i.call(); 9125 }, o.options.speed)); 9126 }), 9127 (t.prototype.getNavTarget = function () { 9128 var t = this.options.asNavFor; 9129 return t && null !== t && (t = e(t).not(this.$slider)), t; 9130 }), 9131 (t.prototype.asNavFor = function (t) { 9132 var i = this.getNavTarget(); 9133 null !== i && 9134 "object" == typeof i && 9135 i.each(function () { 9136 var i = e(this).slick("getSlick"); 9137 i.unslicked || i.slideHandler(t, !0); 9138 }); 9139 }), 9140 (t.prototype.applyTransition = function (e) { 9141 var t = this, 9142 i = {}; 9143 !1 === t.options.fade 9144 ? (i[t.transitionType] = 9145 t.transformType + 9146 " " + 9147 t.options.speed + 9148 "ms " + 9149 t.options.cssEase) 9150 : (i[t.transitionType] = 9151 "opacity " + t.options.speed + "ms " + t.options.cssEase), 9152 !1 === t.options.fade ? t.$slideTrack.css(i) : t.$slides.eq(e).css(i); 9153 }), 9154 (t.prototype.autoPlay = function () { 9155 var e = this; 9156 e.autoPlayClear(), 9157 e.slideCount > e.options.slidesToShow && 9158 (e.autoPlayTimer = setInterval( 9159 e.autoPlayIterator, 9160 e.options.autoplaySpeed 9161 )); 9162 }), 9163 (t.prototype.autoPlayClear = function () { 9164 this.autoPlayTimer && clearInterval(this.autoPlayTimer); 9165 }), 9166 (t.prototype.autoPlayIterator = function () { 9167 var e = this, 9168 t = e.currentSlide + e.options.slidesToScroll; 9169 e.paused || 9170 e.interrupted || 9171 e.focussed || 9172 (!1 === e.options.infinite && 9173 (1 === e.direction && e.currentSlide + 1 === e.slideCount - 1 9174 ? (e.direction = 0) 9175 : 0 === e.direction && 9176 ((t = e.currentSlide - e.options.slidesToScroll), 9177 e.currentSlide - 1 == 0 && (e.direction = 1))), 9178 e.slideHandler(t)); 9179 }), 9180 (t.prototype.buildArrows = function () { 9181 var t = this; 9182 !0 === t.options.arrows && 9183 ((t.$prevArrow = e(t.options.prevArrow).addClass("slick-arrow")), 9184 (t.$nextArrow = e(t.options.nextArrow).addClass("slick-arrow")), 9185 t.slideCount > t.options.slidesToShow 9186 ? (t.$prevArrow 9187 .removeClass("slick-hidden") 9188 .removeAttr("aria-hidden tabindex"), 9189 t.$nextArrow 9190 .removeClass("slick-hidden") 9191 .removeAttr("aria-hidden tabindex"), 9192 t.htmlExpr.test(t.options.prevArrow) && 9193 t.$prevArrow.prependTo(t.options.appendArrows), 9194 t.htmlExpr.test(t.options.nextArrow) && 9195 t.$nextArrow.appendTo(t.options.appendArrows), 9196 !0 !== t.options.infinite && 9197 t.$prevArrow 9198 .addClass("slick-disabled") 9199 .attr("aria-disabled", "true")) 9200 : t.$prevArrow 9201 .add(t.$nextArrow) 9202 .addClass("slick-hidden") 9203 .attr({ "aria-disabled": "true", tabindex: "-1" })); 9204 }), 9205 (t.prototype.buildDots = function () { 9206 var t, 9207 i, 9208 n = this; 9209 if (!0 === n.options.dots && n.slideCount > n.options.slidesToShow) { 9210 for ( 9211 n.$slider.addClass("slick-dotted"), 9212 i = e("<ul />").addClass(n.options.dotsClass), 9213 t = 0; 9214 t <= n.getDotCount(); 9215 t += 1 9216 ) 9217 i.append( 9218 e("<li />").append(n.options.customPaging.call(this, n, t)) 9219 ); 9220 (n.$dots = i.appendTo(n.options.appendDots)), 9221 n.$dots 9222 .find("li") 9223 .first() 9224 .addClass("slick-active") 9225 .attr("aria-hidden", "false"); 9226 } 9227 }), 9228 (t.prototype.buildOut = function () { 9229 var t = this; 9230 (t.$slides = t.$slider 9231 .children(t.options.slide + ":not(.slick-cloned)") 9232 .addClass("slick-slide")), 9233 (t.slideCount = t.$slides.length), 9234 t.$slides.each(function (t, i) { 9235 e(i) 9236 .attr("data-slick-index", t) 9237 .data("originalStyling", e(i).attr("style") || ""); 9238 }), 9239 t.$slider.addClass("slick-slider"), 9240 (t.$slideTrack = 9241 0 === t.slideCount 9242 ? e('<div class="slick-track"/>').appendTo(t.$slider) 9243 : t.$slides.wrapAll('<div class="slick-track"/>').parent()), 9244 (t.$list = t.$slideTrack 9245 .wrap('<div aria-live="polite" class="slick-list"/>') 9246 .parent()), 9247 t.$slideTrack.css("opacity", 0), 9248 (!0 === t.options.centerMode || !0 === t.options.swipeToSlide) && 9249 (t.options.slidesToScroll = 1), 9250 e("img[data-lazy]", t.$slider).not("[src]").addClass("slick-loading"), 9251 t.setupInfinite(), 9252 t.buildArrows(), 9253 t.buildDots(), 9254 t.updateDots(), 9255 t.setSlideClasses( 9256 "number" == typeof t.currentSlide ? t.currentSlide : 0 9257 ), 9258 !0 === t.options.draggable && t.$list.addClass("draggable"); 9259 }), 9260 (t.prototype.buildRows = function () { 9261 var e, 9262 t, 9263 i, 9264 n, 9265 o, 9266 s, 9267 a, 9268 r = this; 9269 if ( 9270 ((n = document.createDocumentFragment()), 9271 (s = r.$slider.children()), 9272 r.options.rows > 1) 9273 ) { 9274 for ( 9275 a = r.options.slidesPerRow * r.options.rows, 9276 o = Math.ceil(s.length / a), 9277 e = 0; 9278 o > e; 9279 e++ 9280 ) { 9281 var l = document.createElement("div"); 9282 for (t = 0; t < r.options.rows; t++) { 9283 var c = document.createElement("div"); 9284 for (i = 0; i < r.options.slidesPerRow; i++) { 9285 var d = e * a + (t * r.options.slidesPerRow + i); 9286 s.get(d) && c.appendChild(s.get(d)); 9287 } 9288 l.appendChild(c); 9289 } 9290 n.appendChild(l); 9291 } 9292 r.$slider.empty().append(n), 9293 r.$slider 9294 .children() 9295 .children() 9296 .children() 9297 .css({ 9298 width: 100 / r.options.slidesPerRow + "%", 9299 display: "inline-block", 9300 }); 9301 } 9302 }), 9303 (t.prototype.checkResponsive = function (t, i) { 9304 var n, 9305 o, 9306 s, 9307 a = this, 9308 r = !1, 9309 l = a.$slider.width(), 9310 c = window.innerWidth || e(window).width(); 9311 if ( 9312 ("window" === a.respondTo 9313 ? (s = c) 9314 : "slider" === a.respondTo 9315 ? (s = l) 9316 : "min" === a.respondTo && (s = Math.min(c, l)), 9317 a.options.responsive && 9318 a.options.responsive.length && 9319 null !== a.options.responsive) 9320 ) { 9321 for (n in ((o = null), a.breakpoints)) 9322 a.breakpoints.hasOwnProperty(n) && 9323 (!1 === a.originalSettings.mobileFirst 9324 ? s < a.breakpoints[n] && (o = a.breakpoints[n]) 9325 : s > a.breakpoints[n] && (o = a.breakpoints[n])); 9326 null !== o 9327 ? null !== a.activeBreakpoint 9328 ? (o !== a.activeBreakpoint || i) && 9329 ((a.activeBreakpoint = o), 9330 "unslick" === a.breakpointSettings[o] 9331 ? a.unslick(o) 9332 : ((a.options = e.extend( 9333 {}, 9334 a.originalSettings, 9335 a.breakpointSettings[o] 9336 )), 9337 !0 === t && (a.currentSlide = a.options.initialSlide), 9338 a.refresh(t)), 9339 (r = o)) 9340 : ((a.activeBreakpoint = o), 9341 "unslick" === a.breakpointSettings[o] 9342 ? a.unslick(o) 9343 : ((a.options = e.extend( 9344 {}, 9345 a.originalSettings, 9346 a.breakpointSettings[o] 9347 )), 9348 !0 === t && (a.currentSlide = a.options.initialSlide), 9349 a.refresh(t)), 9350 (r = o)) 9351 : null !== a.activeBreakpoint && 9352 ((a.activeBreakpoint = null),
9353 (a.options = a.originalSettings), 9354 !0 === t && (a.currentSlide = a.options.initialSlide), 9355 a.refresh(t), 9356 (r = o)), 9357 t || !1 === r || a.$slider.trigger("breakpoint", [a, r]); 9358 } 9359 }), 9360 (t.prototype.changeSlide = function (t, i) { 9361 var n, 9362 o, 9363 s = this, 9364 a = e(t.currentTarget); 9365 switch ( 9366 (a.is("a") && t.preventDefault(), 9367 a.is("li") || (a = a.closest("li")), 9368 (n = 9369 s.slideCount % s.options.slidesToScroll != 0 9370 ? 0 9371 : (s.slideCount - s.currentSlide) % s.options.slidesToScroll), 9372 t.data.message) 9373 ) { 9374 case "previous": 9375 (o = 9376 0 === n ? s.options.slidesToScroll : s.options.slidesToShow - n), 9377 s.slideCount > s.options.slidesToShow && 9378 s.slideHandler(s.currentSlide - o, !1, i); 9379 break; 9380 case "next": 9381 (o = 0 === n ? s.options.slidesToScroll : n), 9382 s.slideCount > s.options.slidesToShow && 9383 s.slideHandler(s.currentSlide + o, !1, i); 9384 break; 9385 case "index": 9386 var r = 9387 0 === t.data.index 9388 ? 0 9389 : t.data.index || a.index() * s.options.slidesToScroll; 9390 s.slideHandler(s.checkNavigable(r), !1, i), 9391 a.children().trigger("focus"); 9392 break; 9393 default: 9394 return; 9395 } 9396 }), 9397 (t.prototype.checkNavigable = function (e) { 9398 var t, i; 9399 if (((i = 0), e > (t = this.getNavigableIndexes())[t.length - 1])) 9400 e = t[t.length - 1]; 9401 else 9402 for (var n in t) { 9403 if (e < t[n]) { 9404 e = i; 9405 break; 9406 } 9407 i = t[n]; 9408 } 9409 return e; 9410 }), 9411 (t.prototype.cleanUpEvents = function () { 9412 var t = this; 9413 t.options.dots && 9414 null !== t.$dots && 9415 e("li", t.$dots) 9416 .off("click.slick", t.changeSlide) 9417 .off("mouseenter.slick", e.proxy(t.interrupt, t, !0)) 9418 .off("mouseleave.slick", e.proxy(t.interrupt, t, !1)), 9419 t.$slider.off("focus.slick blur.slick"), 9420 !0 === t.options.arrows && 9421 t.slideCount > t.options.slidesToShow && 9422 (t.$prevArrow && t.$prevArrow.off("click.slick", t.changeSlide), 9423 t.$nextArrow && t.$nextArrow.off("click.slick", t.changeSlide)), 9424 t.$list.off("touchstart.slick mousedown.slick", t.swipeHandler), 9425 t.$list.off("touchmove.slick mousemove.slick", t.swipeHandler), 9426 t.$list.off("touchend.slick mouseup.slick", t.swipeHandler),
9427 t.$list.off("touchcancel.slick mouseleave.slick", t.swipeHandler), 9428 t.$list.off("click.slick", t.clickHandler), 9429 e(document).off(t.visibilityChange, t.visibility), 9430 t.cleanUpSlideEvents(), 9431 !0 === t.options.accessibility && 9432 t.$list.off("keydown.slick", t.keyHandler), 9433 !0 === t.options.focusOnSelect && 9434 e(t.$slideTrack).children().off("click.slick", t.selectHandler), 9435 e(window).off( 9436 "orientationchange.slick.slick-" + t.instanceUid, 9437 t.orientationChange 9438 ), 9439 e(window).off("resize.slick.slick-" + t.instanceUid, t.resize), 9440 e("[draggable!=true]", t.$slideTrack).off( 9441 "dragstart", 9442 t.preventDefault 9443 ), 9444 e(window).off("load.slick.slick-" + t.instanceUid, t.setPosition), 9445 e(document).off("ready.slick.slick-" + t.instanceUid, t.setPosition); 9446 }), 9447 (t.prototype.cleanUpSlideEvents = function () { 9448 var t = this; 9449 t.$list.off("mouseenter.slick", e.proxy(t.interrupt, t, !0)), 9450 t.$list.off("mouseleave.slick", e.proxy(t.interrupt, t, !1)); 9451 }), 9452 (t.prototype.cleanUpRows = function () { 9453 var e, 9454 t = this; 9455 t.options.rows > 1 && 9456 ((e = t.$slides.children().children()).removeAttr("style"), 9457 t.$slider.empty().append(e)); 9458 }), 9459 (t.prototype.clickHandler = function (e) { 9460 !1 === this.shouldClick && 9461 (e.stopImmediatePropagation(), 9462 e.stopPropagation(), 9463 e.preventDefault()); 9464 }), 9465 (t.prototype.destroy = function (t) { 9466 var i = this; 9467 i.autoPlayClear(), 9468 (i.touchObject = {}), 9469 i.cleanUpEvents(), 9470 e(".slick-cloned", i.$slider).detach(), 9471 i.$dots && i.$dots.remove(), 9472 i.$prevArrow && 9473 i.$prevArrow.length && 9474 (i.$prevArrow 9475 .removeClass("slick-disabled slick-arrow slick-hidden") 9476 .removeAttr("aria-hidden aria-disabled tabindex") 9477 .css("display", ""), 9478 i.htmlExpr.test(i.options.prevArrow) && i.$prevArrow.remove()), 9479 i.$nextArrow && 9480 i.$nextArrow.length && 9481 (i.$nextArrow 9482 .removeClass("slick-disabled slick-arrow slick-hidden") 9483 .removeAttr("aria-hidden aria-disabled tabindex") 9484 .css("display", ""), 9485 i.htmlExpr.test(i.options.nextArrow) && i.$nextArrow.remove()), 9486 i.$slides && 9487 (i.$slides 9488 .removeClass( 9489 "slick-slide slick-active slick-center slick-visible slick-current" 9490 ) 9491 .removeAttr("aria-hidden") 9492 .removeAttr("data-slick-index") 9493 .each(function () { 9494 e(this).attr("style", e(this).data("originalStyling")); 9495 }), 9496 i.$slideTrack.children(this.options.slide).detach(), 9497 i.$slideTrack.detach(), 9498 i.$list.detach(), 9499 i.$slider.append(i.$slides)), 9500 i.cleanUpRows(), 9501 i.$slider.removeClass("slick-slider"), 9502 i.$slider.removeClass("slick-initialized"), 9503 i.$slider.removeClass("slick-dotted"), 9504 (i.unslicked = !0), 9505 t || i.$slider.trigger("destroy", [i]); 9506 }), 9507 (t.prototype.disableTransition = function (e) { 9508 var t = this, 9509 i = {}; 9510 (i[t.transitionType] = ""), 9511 !1 === t.options.fade ? t.$slideTrack.css(i) : t.$slides.eq(e).css(i); 9512 }), 9513 (t.prototype.fadeSlide = function (e, t) { 9514 var i = this; 9515 !1 === i.cssTransitions 9516 ? (i.$slides.eq(e).css({ zIndex: i.options.zIndex }), 9517 i.$slides 9518 .eq(e) 9519 .animate({ opacity: 1 }, i.options.speed, i.options.easing, t)) 9520 : (i.applyTransition(e), 9521 i.$slides.eq(e).css({ opacity: 1, zIndex: i.options.zIndex }), 9522 t && 9523 setTimeout(function () { 9524 i.disableTransition(e), t.call(); 9525 }, i.options.speed)); 9526 }), 9527 (t.prototype.fadeSlideOut = function (e) { 9528 var t = this; 9529 !1 === t.cssTransitions 9530 ? t.$slides 9531 .eq(e) 9532 .animate( 9533 { opacity: 0, zIndex: t.options.zIndex - 2 }, 9534 t.options.speed, 9535 t.options.easing 9536 ) 9537 : (t.applyTransition(e), 9538 t.$slides.eq(e).css({ opacity: 0, zIndex: t.options.zIndex - 2 })); 9539 }),
9540 (t.prototype.filterSlides = t.prototype.slickFilter = 9541 function (e) { 9542 var t = this; 9543 null !== e && 9544 ((t.$slidesCache = t.$slides), 9545 t.unload(), 9546 t.$slideTrack.children(this.options.slide).detach(), 9547 t.$slidesCache.filter(e).appendTo(t.$slideTrack), 9548 t.reinit()); 9549 }), 9550 (t.prototype.focusHandler = function () { 9551 var t = this; 9552 t.$slider 9553 .off("focus.slick blur.slick") 9554 .on("focus.slick blur.slick", "*:not(.slick-arrow)", function (i) { 9555 i.stopImmediatePropagation(); 9556 var n = e(this); 9557 setTimeout(function () { 9558 t.options.pauseOnFocus && 9559 ((t.focussed = n.is(":focus")), t.autoPlay()); 9560 }, 0); 9561 }); 9562 }), 9563 (t.prototype.getCurrent = t.prototype.slickCurrentSlide = 9564 function () { 9565 return this.currentSlide; 9566 }), 9567 (t.prototype.getDotCount = function () { 9568 var e = this, 9569 t = 0, 9570 i = 0, 9571 n = 0; 9572 if (!0 === e.options.infinite) 9573 for (; t < e.slideCount; ) 9574 ++n, 9575 (t = i + e.options.slidesToScroll), 9576 (i += 9577 e.options.slidesToScroll <= e.options.slidesToShow 9578 ? e.options.slidesToScroll 9579 : e.options.slidesToShow); 9580 else if (!0 === e.options.centerMode) n = e.slideCount; 9581 else if (e.options.asNavFor) 9582 for (; t < e.slideCount; ) 9583 ++n, 9584 (t = i + e.options.slidesToScroll), 9585 (i += 9586 e.options.slidesToScroll <= e.options.slidesToShow 9587 ? e.options.slidesToScroll 9588 : e.options.slidesToShow); 9589 else 9590 n = 9591 1 + 9592 Math.ceil( 9593 (e.slideCount - e.options.slidesToShow) / e.options.slidesToScroll 9594 ); 9595 return n - 1; 9596 }), 9597 (t.prototype.getLeft = function (e) { 9598 var t, 9599 i, 9600 n, 9601 o = this, 9602 s = 0; 9603 return ( 9604 (o.slideOffset = 0), 9605 (i = o.$slides.first().outerHeight(!0)), 9606 !0 === o.options.infinite 9607 ? (o.slideCount > o.options.slidesToShow && 9608 ((o.slideOffset = o.slideWidth * o.options.slidesToShow * -1), 9609 (s = i * o.options.slidesToShow * -1)), 9610 o.slideCount % o.options.slidesToScroll != 0 && 9611 e + o.options.slidesToScroll > o.slideCount && 9612 o.slideCount > o.options.slidesToShow && 9613 (e > o.slideCount 9614 ? ((o.slideOffset = 9615 (o.options.slidesToShow - (e - o.slideCount)) * 9616 o.slideWidth * 9617 -1), 9618 (s = 9619 (o.options.slidesToShow - (e - o.slideCount)) * i * -1)) 9620 : ((o.slideOffset = 9621 (o.slideCount % o.options.slidesToScroll) * 9622 o.slideWidth * 9623 -1), 9624 (s = (o.slideCount % o.options.slidesToScroll) * i * -1)))) 9625 : e + o.options.slidesToShow > o.slideCount && 9626 ((o.slideOffset = 9627 (e + o.options.slidesToShow - o.slideCount) * o.slideWidth), 9628 (s = (e + o.options.slidesToShow - o.slideCount) * i)), 9629 o.slideCount <= o.options.slidesToShow && 9630 ((o.slideOffset = 0), (s = 0)), 9631 !0 === o.options.centerMode && !0 === o.options.infinite 9632 ? (o.slideOffset += 9633 o.slideWidth * Math.floor(o.options.slidesToShow / 2) - 9634 o.slideWidth) 9635 : !0 === o.options.centerMode && 9636 ((o.slideOffset = 0), 9637 (o.slideOffset += 9638 o.slideWidth * Math.floor(o.options.slidesToShow / 2))), 9639 (t = 9640 !1 === o.options.vertical 9641 ? e * o.slideWidth * -1 + o.slideOffset 9642 : e * i * -1 + s), 9643 !0 === o.options.variableWidth && 9644 ((n = 9645 o.slideCount <= o.options.slidesToShow || 9646 !1 === o.options.infinite 9647 ? o.$slideTrack.children(".slick-slide").eq(e) 9648 : o.$slideTrack 9649 .children(".slick-slide") 9650 .eq(e + o.options.slidesToShow)), 9651 (t = 9652 !0 === o.options.rtl 9653 ? n[0] 9654 ? -1 * (o.$slideTrack.width() - n[0].offsetLeft - n.width()) 9655 : 0 9656 : n[0] 9657 ? -1 * n[0].offsetLeft 9658 : 0), 9659 !0 === o.options.centerMode && 9660 ((n = 9661 o.slideCount <= o.options.slidesToShow || 9662 !1 === o.options.infinite 9663 ? o.$slideTrack.children(".slick-slide").eq(e) 9664 : o.$slideTrack 9665 .children(".slick-slide") 9666 .eq(e + o.options.slidesToShow + 1)), 9667 (t = 9668 !0 === o.options.rtl 9669 ? n[0] 9670 ? -1 * (o.$slideTrack.width() - n[0].offsetLeft - n.width()) 9671 : 0 9672 : n[0] 9673 ? -1 * n[0].offsetLeft 9674 : 0), 9675 (t += (o.$list.width() - n.outerWidth()) / 2))), 9676 t 9677 ); 9678 }), 9679 (t.prototype.getOption = t.prototype.slickGetOption = 9680 function (e) { 9681 return this.options[e]; 9682 }), 9683 (t.prototype.getNavigableIndexes = function () { 9684 var e, 9685 t = this, 9686 i = 0, 9687 n = 0, 9688 o = []; 9689 for ( 9690 !1 === t.options.infinite 9691 ? (e = t.slideCount) 9692 : ((i = -1 * t.options.slidesToScroll), 9693 (n = -1 * t.options.slidesToScroll), 9694 (e = 2 * t.slideCount)); 9695 e > i; 9696 9697 ) 9698 o.push(i), 9699 (i = n + t.options.slidesToScroll), 9700 (n += 9701 t.options.slidesToScroll <= t.options.slidesToShow 9702 ? t.options.slidesToScroll 9703 : t.options.slidesToShow); 9704 return o; 9705 }), 9706 (t.prototype.getSlick = function () { 9707 return this; 9708 }), 9709 (t.prototype.getSlideCount = function () { 9710 var t, 9711 i, 9712 n = this; 9713 return ( 9714 (i = 9715 !0 === n.options.centerMode 9716 ? n.slideWidth * Math.floor(n.options.slidesToShow / 2) 9717 : 0), 9718 !0 === n.options.swipeToSlide 9719 ? (n.$slideTrack.find(".slick-slide").each(function (o, s) { 9720 return s.offsetLeft - i + e(s).outerWidth() / 2 > 9721 -1 * n.swipeLeft 9722 ? ((t = s), !1) 9723 : void 0; 9724 }), 9725 Math.abs(e(t).attr("data-slick-index") - n.currentSlide) || 1) 9726 : n.options.slidesToScroll 9727 ); 9728 }), 9729 (t.prototype.goTo = t.prototype.slickGoTo = 9730 function (e, t) { 9731 this.changeSlide( 9732 { data: { message: "index", index: parseInt(e) } }, 9733 t 9734 ); 9735 }), 9736 (t.prototype.init = function (t) { 9737 var i = this; 9738 e(i.$slider).hasClass("slick-initialized") || 9739 (e(i.$slider).addClass("slick-initialized"),
9740 i.buildRows(), 9741 i.buildOut(), 9742 i.setProps(), 9743 i.startLoad(), 9744 i.loadSlider(), 9745 i.initializeEvents(), 9746 i.updateArrows(), 9747 i.updateDots(), 9748 i.checkResponsive(!0), 9749 i.focusHandler()), 9750 t && i.$slider.trigger("init", [i]), 9751 !0 === i.options.accessibility && i.initADA(), 9752 i.options.autoplay && ((i.paused = !1), i.autoPlay()); 9753 }), 9754 (t.prototype.initADA = function () { 9755 var t = this; 9756 t.$slides 9757 .add(t.$slideTrack.find(".slick-cloned")) 9758 .attr({ "aria-hidden": "true", tabindex: "-1" }) 9759 .find("a, input, button, select") 9760 .attr({ tabindex: "-1" }), 9761 t.$slideTrack.attr("role", "listbox"), 9762 t.$slides.not(t.$slideTrack.find(".slick-cloned")).each(function (i) { 9763 e(this).attr({ 9764 role: "option", 9765 "aria-describedby": "slick-slide" + t.instanceUid + i, 9766 }); 9767 }), 9768 null !== t.$dots && 9769 t.$dots 9770 .attr("role", "tablist") 9771 .find("li") 9772 .each(function (i) { 9773 e(this).attr({ 9774 role: "presentation", 9775 "aria-selected": "false", 9776 "aria-controls": "navigation" + t.instanceUid + i, 9777 id: "slick-slide" + t.instanceUid + i, 9778 }); 9779 }) 9780 .first() 9781 .attr("aria-selected", "true") 9782 .end() 9783 .find("button") 9784 .attr("role", "button") 9785 .end() 9786 .closest("div") 9787 .attr("role", "toolbar"), 9788 t.activateADA(); 9789 }), 9790 (t.prototype.initArrowEvents = function () { 9791 var e = this; 9792 !0 === e.options.arrows && 9793 e.slideCount > e.options.slidesToShow && 9794 (e.$prevArrow 9795 .off("click.slick") 9796 .on("click.slick", { message: "previous" }, e.changeSlide), 9797 e.$nextArrow 9798 .off("click.slick") 9799 .on("click.slick", { message: "next" }, e.changeSlide)); 9800 }), 9801 (t.prototype.initDotEvents = function () { 9802 var t = this; 9803 !0 === t.options.dots && 9804 t.slideCount > t.options.slidesToShow && 9805 e("li", t.$dots).on( 9806 "click.slick", 9807 { message: "index" }, 9808 t.changeSlide 9809 ), 9810 !0 === t.options.dots && 9811 !0 === t.options.pauseOnDotsHover && 9812 e("li", t.$dots) 9813 .on("mouseenter.slick", e.proxy(t.interrupt, t, !0)) 9814 .on("mouseleave.slick", e.proxy(t.interrupt, t, !1)); 9815 }), 9816 (t.prototype.initSlideEvents = function () { 9817 var t = this; 9818 t.options.pauseOnHover && 9819 (t.$list.on("mouseenter.slick", e.proxy(t.interrupt, t, !0)), 9820 t.$list.on("mouseleave.slick", e.proxy(t.interrupt, t, !1))); 9821 }), 9822 (t.prototype.initializeEvents = function () { 9823 var t = this; 9824 t.initArrowEvents(), 9825 t.initDotEvents(), 9826 t.initSlideEvents(), 9827 t.$list.on( 9828 "touchstart.slick mousedown.slick", 9829 { action: "start" }, 9830 t.swipeHandler 9831 ), 9832 t.$list.on( 9833 "touchmove.slick mousemove.slick", 9834 { action: "move" }, 9835 t.swipeHandler 9836 ), 9837 t.$list.on( 9838 "touchend.slick mouseup.slick", 9839 { action: "end" }, 9840 t.swipeHandler 9841 ), 9842 t.$list.on(
9843 "touchcancel.slick mouseleave.slick", 9844 { action: "end" }, 9845 t.swipeHandler 9846 ), 9847 t.$list.on("click.slick", t.clickHandler), 9848 e(document).on(t.visibilityChange, e.proxy(t.visibility, t)), 9849 !0 === t.options.accessibility && 9850 t.$list.on("keydown.slick", t.keyHandler), 9851 !0 === t.options.focusOnSelect && 9852 e(t.$slideTrack).children().on("click.slick", t.selectHandler), 9853 e(window).on( 9854 "orientationchange.slick.slick-" + t.instanceUid, 9855 e.proxy(t.orientationChange, t) 9856 ), 9857 e(window).on( 9858 "resize.slick.slick-" + t.instanceUid, 9859 e.proxy(t.resize, t) 9860 ), 9861 e("[draggable!=true]", t.$slideTrack).on( 9862 "dragstart", 9863 t.preventDefault 9864 ), 9865 e(window).on("load.slick.slick-" + t.instanceUid, t.setPosition), 9866 e(document).on("ready.slick.slick-" + t.instanceUid, t.setPosition); 9867 }), 9868 (t.prototype.initUI = function () { 9869 var e = this; 9870 !0 === e.options.arrows && 9871 e.slideCount > e.options.slidesToShow && 9872 (e.$prevArrow.show(), e.$nextArrow.show()), 9873 !0 === e.options.dots && 9874 e.slideCount > e.options.slidesToShow && 9875 e.$dots.show(); 9876 }), 9877 (t.prototype.keyHandler = function (e) { 9878 var t = this; 9879 e.target.tagName.match("TEXTAREA|INPUT|SELECT") || 9880 (37 === e.keyCode && !0 === t.options.accessibility 9881 ? t.changeSlide({ 9882 data: { message: !0 === t.options.rtl ? "next" : "previous" }, 9883 }) 9884 : 39 === e.keyCode && 9885 !0 === t.options.accessibility && 9886 t.changeSlide({ 9887 data: { message: !0 === t.options.rtl ? "previous" : "next" }, 9888 })); 9889 }), 9890 (t.prototype.lazyLoad = function () { 9891 function t(t) { 9892 e("img[data-lazy]", t).each(function () { 9893 var t = e(this), 9894 i = e(this).attr("data-lazy"), 9895 n = document.createElement("img"); 9896 (n.onload = function () { 9897 t.animate({ opacity: 0 }, 100, function () { 9898 t.attr("src", i).animate({ opacity: 1 }, 200, function () { 9899 t.removeAttr("data-lazy").removeClass("slick-loading"); 9900 }), 9901 o.$slider.trigger("lazyLoaded", [o, t, i]); 9902 }); 9903 }), 9904 (n.onerror = function () { 9905 t 9906 .removeAttr("data-lazy") 9907 .removeClass("slick-loading") 9908 .addClass("slick-lazyload-error"), 9909 o.$slider.trigger("lazyLoadError", [o, t, i]); 9910 }), 9911 (n.src = i); 9912 }); 9913 } 9914 var i, 9915 n, 9916 o = this; 9917 !0 === o.options.centerMode 9918 ? !0 === o.options.infinite 9919 ? (n = 9920 (i = o.currentSlide + (o.options.slidesToShow / 2 + 1)) + 9921 o.options.slidesToShow + 9922 2) 9923 : ((i = Math.max( 9924 0, 9925 o.currentSlide - (o.options.slidesToShow / 2 + 1) 9926 )), 9927 (n = o.options.slidesToShow / 2 + 1 + 2 + o.currentSlide)) 9928 : ((i = o.options.infinite 9929 ? o.options.slidesToShow + o.currentSlide 9930 : o.currentSlide), 9931 (n = Math.ceil(i + o.options.slidesToShow)), 9932 !0 === o.options.fade && (i > 0 && i--, n <= o.slideCount && n++)), 9933 t(o.$slider.find(".slick-slide").slice(i, n)), 9934 o.slideCount <= o.options.slidesToShow 9935 ? t(o.$slider.find(".slick-slide")) 9936 : o.currentSlide >= o.slideCount - o.options.slidesToShow 9937 ? t( 9938 o.$slider.find(".slick-cloned").slice(0, o.options.slidesToShow) 9939 ) 9940 : 0 === o.currentSlide && 9941 t( 9942 o.$slider 9943 .find(".slick-cloned") 9944 .slice(-1 * o.options.slidesToShow) 9945 ); 9946 }), 9947 (t.prototype.loadSlider = function () { 9948 var e = this; 9949 e.setPosition(), 9950 e.$slideTrack.css({ opacity: 1 }), 9951 e.$slider.removeClass("slick-loading"), 9952 e.initUI(), 9953 "progressive" === e.options.lazyLoad && e.progressiveLazyLoad(); 9954 }), 9955 (t.prototype.next = t.prototype.slickNext = 9956 function () { 9957 this.changeSlide({ data: { message: "next" } }); 9958 }), 9959 (t.prototype.orientationChange = function () { 9960 this.checkResponsive(), this.setPosition(); 9961 }), 9962 (t.prototype.pause = t.prototype.slickPause = 9963 function () { 9964 this.autoPlayClear(), (this.paused = !0); 9965 }), 9966 (t.prototype.play = t.prototype.slickPlay = 9967 function () { 9968 var e = this; 9969 e.autoPlay(), 9970 (e.options.autoplay = !0), 9971 (e.paused = !1), 9972 (e.focussed = !1), 9973 (e.interrupted = !1); 9974 }), 9975 (t.prototype.postSlide = function (e) { 9976 var t = this; 9977 t.unslicked || 9978 (t.$slider.trigger("afterChange", [t, e]), 9979 (t.animating = !1), 9980 t.setPosition(), 9981 (t.swipeLeft = null),
9982 t.options.autoplay && t.autoPlay(), 9983 !0 === t.options.accessibility && t.initADA()); 9984 }), 9985 (t.prototype.prev = t.prototype.slickPrev = 9986 function () { 9987 this.changeSlide({ data: { message: "previous" } }); 9988 }), 9989 (t.prototype.preventDefault = function (e) { 9990 e.preventDefault(); 9991 }), 9992 (t.prototype.progressiveLazyLoad = function (t) { 9993 t = t || 1; 9994 var i, 9995 n, 9996 o, 9997 s = this, 9998 a = e("img[data-lazy]", s.$slider); 9999 a.length 10000 ? ((i = a.first()), 10001 (n = i.attr("data-lazy")), 10002 ((o = document.createElement("img")).onload = function () { 10003 i 10004 .attr("src", n) 10005 .removeAttr("data-lazy") 10006 .removeClass("slick-loading"), 10007 !0 === s.options.adaptiveHeight && s.setPosition(), 10008 s.$slider.trigger("lazyLoaded", [s, i, n]), 10009 s.progressiveLazyLoad(); 10010 }), 10011 (o.onerror = function () { 10012 3 > t 10013 ? setTimeout(function () { 10014 s.progressiveLazyLoad(t + 1); 10015 }, 500) 10016 : (i 10017 .removeAttr("data-lazy") 10018 .removeClass("slick-loading") 10019 .addClass("slick-lazyload-error"), 10020 s.$slider.trigger("lazyLoadError", [s, i, n]), 10021 s.progressiveLazyLoad()); 10022 }), 10023 (o.src = n)) 10024 : s.$slider.trigger("allImagesLoaded", [s]); 10025 }), 10026 (t.prototype.refresh = function (t) { 10027 var i, 10028 n, 10029 o = this; 10030 (n = o.slideCount - o.options.slidesToShow), 10031 !o.options.infinite && o.currentSlide > n && (o.currentSlide = n), 10032 o.slideCount <= o.options.slidesToShow && (o.currentSlide = 0), 10033 (i = o.currentSlide), 10034 o.destroy(!0), 10035 e.extend(o, o.initials, { currentSlide: i }), 10036 o.init(), 10037 t || o.changeSlide({ data: { message: "index", index: i } }, !1); 10038 }), 10039 (t.prototype.registerBreakpoints = function () { 10040 var t, 10041 i, 10042 n, 10043 o = this, 10044 s = o.options.responsive || null; 10045 if ("array" === e.type(s) && s.length) { 10046 for (t in ((o.respondTo = o.options.respondTo || "window"), s)) 10047 if ( 10048 ((n = o.breakpoints.length - 1), 10049 (i = s[t].breakpoint), 10050 s.hasOwnProperty(t)) 10051 ) { 10052 for (; n >= 0; ) 10053 o.breakpoints[n] && 10054 o.breakpoints[n] === i && 10055 o.breakpoints.splice(n, 1), 10056 n--; 10057 o.breakpoints.push(i), (o.breakpointSettings[i] = s[t].settings); 10058 } 10059 o.breakpoints.sort(function (e, t) { 10060 return o.options.mobileFirst ? e - t : t - e; 10061 }); 10062 } 10063 }), 10064 (t.prototype.reinit = function () { 10065 var t = this; 10066 (t.$slides = t.$slideTrack 10067 .children(t.options.slide) 10068 .addClass("slick-slide")), 10069 (t.slideCount = t.$slides.length), 10070 t.currentSlide >= t.slideCount && 10071 0 !== t.currentSlide && 10072 (t.currentSlide = t.currentSlide - t.options.slidesToScroll), 10073 t.slideCount <= t.options.slidesToShow && (t.currentSlide = 0), 10074 t.registerBreakpoints(), 10075 t.setProps(), 10076 t.setupInfinite(), 10077 t.buildArrows(), 10078 t.updateArrows(), 10079 t.initArrowEvents(), 10080 t.buildDots(), 10081 t.updateDots(), 10082 t.initDotEvents(), 10083 t.cleanUpSlideEvents(), 10084 t.initSlideEvents(), 10085 t.checkResponsive(!1, !0), 10086 !0 === t.options.focusOnSelect && 10087 e(t.$slideTrack).children().on("click.slick", t.selectHandler), 10088 t.setSlideClasses( 10089 "number" == typeof t.currentSlide ? t.currentSlide : 0 10090 ), 10091 t.setPosition(), 10092 t.focusHandler(), 10093 (t.paused = !t.options.autoplay), 10094 t.autoPlay(), 10095 t.$slider.trigger("reInit", [t]); 10096 }), 10097 (t.prototype.resize = function () { 10098 var t = this; 10099 e(window).width() !== t.windowWidth && 10100 (clearTimeout(t.windowDelay), 10101 (t.windowDelay = window.setTimeout(function () { 10102 (t.windowWidth = e(window).width()), 10103 t.checkResponsive(), 10104 t.unslicked || t.setPosition(); 10105 }, 50))); 10106 }), 10107 (t.prototype.removeSlide = t.prototype.slickRemove = 10108 function (e, t, i) { 10109 var n = this; 10110 return ( 10111 "boolean" == typeof e 10112 ? (e = !0 === (t = e) ? 0 : n.slideCount - 1) 10113 : (e = !0 === t ? --e : e), 10114 !(n.slideCount < 1 || 0 > e || e > n.slideCount - 1) && 10115 (n.unload(), 10116 !0 === i 10117 ? n.$slideTrack.children().remove() 10118 : n.$slideTrack.children(this.options.slide).eq(e).remove(), 10119 (n.$slides = n.$slideTrack.children(this.options.slide)), 10120 n.$slideTrack.children(this.options.slide).detach(), 10121 n.$slideTrack.append(n.$slides), 10122 (n.$slidesCache = n.$slides), 10123 void n.reinit()) 10124 ); 10125 }), 10126 (t.prototype.setCSS = function (e) { 10127 var t, 10128 i, 10129 n = this, 10130 o = {}; 10131 !0 === n.options.rtl && (e = -e), 10132 (t = "left" == n.positionProp ? Math.ceil(e) + "px" : "0px"), 10133 (i = "top" == n.positionProp ? Math.ceil(e) + "px" : "0px"), 10134 (o[n.positionProp] = e), 10135 !1 === n.transformsEnabled 10136 ? n.$slideTrack.css(o) 10137 : ((o = {}), 10138 !1 === n.cssTransitions 10139 ? ((o[n.animType] = "translate(" + t + ", " + i + ")"), 10140 n.$slideTrack.css(o)) 10141 : ((o[n.animType] = "translate3d(" + t + ", " + i + ", 0px)"), 10142 n.$slideTrack.css(o))); 10143 }), 10144 (t.prototype.setDimensions = function () { 10145 var e = this; 10146 !1 === e.options.vertical 10147 ? !0 === e.options.centerMode && 10148 e.$list.css({ padding: "0px " + e.options.centerPadding }) 10149 : (e.$list.height( 10150 e.$slides.first().outerHeight(!0) * e.options.slidesToShow 10151 ), 10152 !0 === e.options.centerMode && 10153 e.$list.css({ padding: e.options.centerPadding + " 0px" })), 10154 (e.listWidth = e.$list.width()), 10155 (e.listHeight = e.$list.height()), 10156 !1 === e.options.vertical && !1 === e.options.variableWidth 10157 ? ((e.slideWidth = Math.ceil(e.listWidth / e.options.slidesToShow)), 10158 e.$slideTrack.width( 10159 Math.ceil( 10160 e.slideWidth * e.$slideTrack.children(".slick-slide").length 10161 ) 10162 )) 10163 : !0 === e.options.variableWidth 10164 ? e.$slideTrack.width(5e3 * e.slideCount) 10165 : ((e.slideWidth = Math.ceil(e.listWidth)), 10166 e.$slideTrack.height( 10167 Math.ceil( 10168 e.$slides.first().outerHeight(!0) * 10169 e.$slideTrack.children(".slick-slide").length 10170 ) 10171 )); 10172 var t = e.$slides.first().outerWidth(!0) - e.$slides.first().width(); 10173 !1 === e.options.variableWidth && 10174 e.$slideTrack.children(".slick-slide").width(e.slideWidth - t); 10175 }), 10176 (t.prototype.setFade = function () { 10177 var t, 10178 i = this; 10179 i.$slides.each(function (n, o) { 10180 (t = i.slideWidth * n * -1), 10181 !0 === i.options.rtl 10182 ? e(o).css({ 10183 position: "relative", 10184 right: t, 10185 top: 0, 10186 zIndex: i.options.zIndex - 2, 10187 opacity: 0, 10188 }) 10189 : e(o).css({ 10190 position: "relative", 10191 left: t, 10192 top: 0, 10193 zIndex: i.options.zIndex - 2, 10194 opacity: 0, 10195 }); 10196 }), 10197 i.$slides 10198 .eq(i.currentSlide) 10199 .css({ zIndex: i.options.zIndex - 1, opacity: 1 }); 10200 }), 10201 (t.prototype.setHeight = function () { 10202 var e = this; 10203 if ( 10204 1 === e.options.slidesToShow && 10205 !0 === e.options.adaptiveHeight && 10206 !1 === e.options.vertical 10207 ) { 10208 var t = e.$slides.eq(e.currentSlide).outerHeight(!0); 10209 e.$list.css("height", t); 10210 } 10211 }), 10212 (t.prototype.setOption = t.prototype.slickSetOption = 10213 function () { 10214 var t, 10215 i, 10216 n, 10217 o, 10218 s, 10219 a = this, 10220 r = !1; 10221 if ( 10222 ("object" === e.type(arguments[0]) 10223 ? ((n = arguments[0]), (r = arguments[1]), (s = "multiple")) 10224 : "string" === e.type(arguments[0]) && 10225 ((n = arguments[0]), 10226 (o = arguments[1]), 10227 (r = arguments[2]), 10228 "responsive" === arguments[0] && 10229 "array" === e.type(arguments[1]) 10230 ? (s = "responsive") 10231 : void 0 !== arguments[1] && (s = "single")), 10232 "single" === s) 10233 ) 10234 a.options[n] = o; 10235 else if ("multiple" === s) 10236 e.each(n, function (e, t) { 10237 a.options[e] = t; 10238 }); 10239 else if ("responsive" === s) 10240 for (i in o) 10241 if ("array" !== e.type(a.options.responsive)) 10242 a.options.responsive = [o[i]]; 10243 else { 10244 for (t = a.options.responsive.length - 1; t >= 0; ) 10245 a.options.responsive[t].breakpoint === o[i].breakpoint && 10246 a.options.responsive.splice(t, 1), 10247 t--; 10248 a.options.responsive.push(o[i]); 10249 } 10250 r && (a.unload(), a.reinit()); 10251 }), 10252 (t.prototype.setPosition = function () { 10253 var e = this; 10254 e.setDimensions(), 10255 e.setHeight(), 10256 !1 === e.options.fade 10257 ? e.setCSS(e.getLeft(e.currentSlide)) 10258 : e.setFade(), 10259 e.$slider.trigger("setPosition", [e]); 10260 }), 10261 (t.prototype.setProps = function () { 10262 var e = this, 10263 t = document.body.style; 10264 (e.positionProp = !0 === e.options.vertical ? "top" : "left"), 10265 "top" === e.positionProp 10266 ? e.$slider.addClass("slick-vertical") 10267 : e.$slider.removeClass("slick-vertical"), 10268 (void 0 !== t.WebkitTransition || 10269 void 0 !== t.MozTransition || 10270 void 0 !== t.msTransition) && 10271 !0 === e.options.useCSS && 10272 (e.cssTransitions = !0), 10273 e.options.fade &&
10274 ("number" == typeof e.options.zIndex 10275 ? e.options.zIndex < 3 && (e.options.zIndex = 3) 10276 : (e.options.zIndex = e.defaults.zIndex)), 10277 void 0 !== t.OTransform && 10278 ((e.animType = "OTransform"), 10279 (e.transformType = "-o-transform"), 10280 (e.transitionType = "OTransition"), 10281 void 0 === t.perspectiveProperty && 10282 void 0 === t.webkitPerspective && 10283 (e.animType = !1)), 10284 void 0 !== t.MozTransform && 10285 ((e.animType = "MozTransform"), 10286 (e.transformType = "-moz-transform"), 10287 (e.transitionType = "MozTransition"), 10288 void 0 === t.perspectiveProperty && 10289 void 0 === t.MozPerspective && 10290 (e.animType = !1)), 10291 void 0 !== t.webkitTransform && 10292 ((e.animType = "webkitTransform"), 10293 (e.transformType = "-webkit-transform"), 10294 (e.transitionType = "webkitTransition"), 10295 void 0 === t.perspectiveProperty && 10296 void 0 === t.webkitPerspective && 10297 (e.animType = !1)), 10298 void 0 !== t.msTransform && 10299 ((e.animType = "msTransform"), 10300 (e.transformType = "-ms-transform"), 10301 (e.transitionType = "msTransition"), 10302 void 0 === t.msTransform && (e.animType = !1)), 10303 void 0 !== t.transform && 10304 !1 !== e.animType && 10305 ((e.animType = "transform"), 10306 (e.transformType = "transform"), 10307 (e.transitionType = "transition")), 10308 (e.transformsEnabled = 10309 e.options.useTransform && null !== e.animType && !1 !== e.animType); 10310 }), 10311 (t.prototype.setSlideClasses = function (e) { 10312 var t, 10313 i, 10314 n, 10315 o, 10316 s = this; 10317 (i = s.$slider 10318 .find(".slick-slide") 10319 .removeClass("slick-active slick-center slick-current") 10320 .attr("aria-hidden", "true")), 10321 s.$slides.eq(e).addClass("slick-current"), 10322 !0 === s.options.centerMode 10323 ? ((t = Math.floor(s.options.slidesToShow / 2)), 10324 !0 === s.options.infinite && 10325 (e >= t && e <= s.slideCount - 1 - t 10326 ? s.$slides 10327 .slice(e - t, e + t + 1) 10328 .addClass("slick-active") 10329 .attr("aria-hidden", "false") 10330 : ((n = s.options.slidesToShow + e), 10331 i 10332 .slice(n - t + 1, n + t + 2) 10333 .addClass("slick-active") 10334 .attr("aria-hidden", "false")), 10335 0 === e 10336 ? i 10337 .eq(i.length - 1 - s.options.slidesToShow) 10338 .addClass("slick-center") 10339 : e === s.slideCount - 1 && 10340 i.eq(s.options.slidesToShow).addClass("slick-center")), 10341 s.$slides.eq(e).addClass("slick-center")) 10342 : e >= 0 && e <= s.slideCount - s.options.slidesToShow 10343 ? s.$slides 10344 .slice(e, e + s.options.slidesToShow) 10345 .addClass("slick-active") 10346 .attr("aria-hidden", "false") 10347 : i.length <= s.options.slidesToShow 10348 ? i.addClass("slick-active").attr("aria-hidden", "false") 10349 : ((o = s.slideCount % s.options.slidesToShow), 10350 (n = !0 === s.options.infinite ? s.options.slidesToShow + e : e), 10351 s.options.slidesToShow == s.options.slidesToScroll && 10352 s.slideCount - e < s.options.slidesToShow 10353 ? i 10354 .slice(n - (s.options.slidesToShow - o), n + o) 10355 .addClass("slick-active") 10356 .attr("aria-hidden", "false") 10357 : i 10358 .slice(n, n + s.options.slidesToShow) 10359 .addClass("slick-active") 10360 .attr("aria-hidden", "false")), 10361 "ondemand" === s.options.lazyLoad && s.lazyLoad(); 10362 }), 10363 (t.prototype.setupInfinite = function () { 10364 var t, 10365 i, 10366 n, 10367 o = this; 10368 if ( 10369 (!0 === o.options.fade && (o.options.centerMode = !1), 10370 !0 === o.options.infinite && 10371 !1 === o.options.fade && 10372 ((i = null), o.slideCount > o.options.slidesToShow)) 10373 ) { 10374 for ( 10375 n = 10376 !0 === o.options.centerMode 10377 ? o.options.slidesToShow + 1 10378 : o.options.slidesToShow, 10379 t = o.slideCount; 10380 t > o.slideCount - n; 10381 t -= 1 10382 ) 10383 (i = t - 1), 10384 e(o.$slides[i]) 10385 .clone(!0) 10386 .attr("id", "") 10387 .attr("data-slick-index", i - o.slideCount) 10388 .prependTo(o.$slideTrack) 10389 .addClass("slick-cloned"); 10390 for (t = 0; n > t; t += 1) 10391 (i = t), 10392 e(o.$slides[i]) 10393 .clone(!0) 10394 .attr("id", "") 10395 .attr("data-slick-index", i + o.slideCount) 10396 .appendTo(o.$slideTrack) 10397 .addClass("slick-cloned"); 10398 o.$slideTrack 10399 .find(".slick-cloned") 10400 .find("[id]") 10401 .each(function () { 10402 e(this).attr("id", ""); 10403 }); 10404 } 10405 }), 10406 (t.prototype.interrupt = function (e) { 10407 e || this.autoPlay(), (this.interrupted = e); 10408 }), 10409 (t.prototype.selectHandler = function (t) { 10410 var i = this, 10411 n = e(t.target).is(".slick-slide") 10412 ? e(t.target) 10413 : e(t.target).parents(".slick-slide"), 10414 o = parseInt(n.attr("data-slick-index")); 10415 return ( 10416 o || (o = 0), 10417 i.slideCount <= i.options.slidesToShow 10418 ? (i.setSlideClasses(o), void i.asNavFor(o)) 10419 : void i.slideHandler(o) 10420 ); 10421 }), 10422 (t.prototype.slideHandler = function (e, t, i) { 10423 var n, 10424 o, 10425 s, 10426 a, 10427 r, 10428 l = null, 10429 c = this; 10430 return ( 10431 (t = t || !1), 10432 (!0 === c.animating && !0 === c.options.waitForAnimate) || 10433 (!0 === c.options.fade && c.currentSlide === e) || 10434 c.slideCount <= c.options.slidesToShow 10435 ? void 0 10436 : (!1 === t && c.asNavFor(e), 10437 (n = e), 10438 (l = c.getLeft(n)),
10439 (a = c.getLeft(c.currentSlide)), 10440 (c.currentLeft = null === c.swipeLeft ? a : c.swipeLeft), 10441 (!1 === c.options.infinite && 10442 !1 === c.options.centerMode && 10443 (0 > e || e > c.getDotCount() * c.options.slidesToScroll)) || 10444 (!1 === c.options.infinite && 10445 !0 === c.options.centerMode && 10446 (0 > e || e > c.slideCount - c.options.slidesToScroll)) 10447 ? void ( 10448 !1 === c.options.fade && 10449 ((n = c.currentSlide), 10450 !0 !== i 10451 ? c.animateSlide(a, function () { 10452 c.postSlide(n); 10453 }) 10454 : c.postSlide(n)) 10455 ) 10456 : (c.options.autoplay && clearInterval(c.autoPlayTimer), 10457 (o = 10458 0 > n 10459 ? c.slideCount % c.options.slidesToScroll != 0 10460 ? c.slideCount - 10461 (c.slideCount % c.options.slidesToScroll) 10462 : c.slideCount + n 10463 : n >= c.slideCount 10464 ? c.slideCount % c.options.slidesToScroll != 0 10465 ? 0 10466 : n - c.slideCount 10467 : n), 10468 (c.animating = !0), 10469 c.$slider.trigger("beforeChange", [c, c.currentSlide, o]), 10470 (s = c.currentSlide), 10471 (c.currentSlide = o), 10472 c.setSlideClasses(c.currentSlide), 10473 c.options.asNavFor && 10474 (r = (r = c.getNavTarget()).slick("getSlick")).slideCount <= 10475 r.options.slidesToShow && 10476 r.setSlideClasses(c.currentSlide), 10477 c.updateDots(), 10478 c.updateArrows(), 10479 !0 === c.options.fade 10480 ? (!0 !== i 10481 ? (c.fadeSlideOut(s), 10482 c.fadeSlide(o, function () { 10483 c.postSlide(o); 10484 })) 10485 : c.postSlide(o), 10486 void c.animateHeight()) 10487 : void (!0 !== i 10488 ? c.animateSlide(l, function () { 10489 c.postSlide(o); 10490 }) 10491 : c.postSlide(o)))) 10492 ); 10493 }), 10494 (t.prototype.startLoad = function () { 10495 var e = this; 10496 !0 === e.options.arrows && 10497 e.slideCount > e.options.slidesToShow && 10498 (e.$prevArrow.hide(), e.$nextArrow.hide()), 10499 !0 === e.options.dots && 10500 e.slideCount > e.options.slidesToShow && 10501 e.$dots.hide(), 10502 e.$slider.addClass("slick-loading"); 10503 }), 10504 (t.prototype.swipeDirection = function () { 10505 var e, 10506 t, 10507 i, 10508 n, 10509 o = this; 10510 return ( 10511 (e = o.touchObject.startX - o.touchObject.curX), 10512 (t = o.touchObject.startY - o.touchObject.curY), 10513 (i = Math.atan2(t, e)), 10514 0 > (n = Math.round((180 * i) / Math.PI)) && (n = 360 - Math.abs(n)), 10515 (45 >= n && n >= 0) || (360 >= n && n >= 315) 10516 ? !1 === o.options.rtl 10517 ? "left" 10518 : "right" 10519 : n >= 135 && 225 >= n 10520 ? !1 === o.options.rtl 10521 ? "right" 10522 : "left" 10523 : !0 === o.options.verticalSwiping 10524 ? n >= 35 && 135 >= n 10525 ? "down" 10526 : "up" 10527 : "vertical" 10528 ); 10529 }), 10530 (t.prototype.swipeEnd = function (e) { 10531 var t, 10532 i, 10533 n = this; 10534 if ( 10535 ((n.dragging = !1), 10536 (n.interrupted = !1), 10537 (n.shouldClick = !(n.touchObject.swipeLength > 10)), 10538 void 0 === n.touchObject.curX) 10539 ) 10540 return !1; 10541 if ( 10542 (!0 === n.touchObject.edgeHit && 10543 n.$slider.trigger("edge", [n, n.swipeDirection()]), 10544 n.touchObject.swipeLength >= n.touchObject.minSwipe) 10545 ) { 10546 switch ((i = n.swipeDirection())) {
10547 case "left": 10548 case "down": 10549 (t = n.options.swipeToSlide 10550 ? n.checkNavigable(n.currentSlide + n.getSlideCount()) 10551 : n.currentSlide + n.getSlideCount()), 10552 (n.currentDirection = 0); 10553 break; 10554 case "right": 10555 case "up": 10556 (t = n.options.swipeToSlide 10557 ? n.checkNavigable(n.currentSlide - n.getSlideCount()) 10558 : n.currentSlide - n.getSlideCount()), 10559 (n.currentDirection = 1); 10560 } 10561 "vertical" != i && 10562 (n.slideHandler(t), 10563 (n.touchObject = {}), 10564 n.$slider.trigger("swipe", [n, i])); 10565 } else 10566 n.touchObject.startX !== n.touchObject.curX && 10567 (n.slideHandler(n.currentSlide), (n.touchObject = {})); 10568 }), 10569 (t.prototype.swipeHandler = function (e) { 10570 var t = this; 10571 if ( 10572 !( 10573 !1 === t.options.swipe || 10574 ("ontouchend" in document && !1 === t.options.swipe) || 10575 (!1 === t.options.draggable && -1 !== e.type.indexOf("mouse")) 10576 ) 10577 ) 10578 switch ( 10579 ((t.touchObject.fingerCount = 10580 e.originalEvent && void 0 !== e.originalEvent.touches 10581 ? e.originalEvent.touches.length 10582 : 1), 10583 (t.touchObject.minSwipe = t.listWidth / t.options.touchThreshold), 10584 !0 === t.options.verticalSwiping && 10585 (t.touchObject.minSwipe = 10586 t.listHeight / t.options.touchThreshold), 10587 e.data.action) 10588 ) { 10589 case "start": 10590 t.swipeStart(e); 10591 break; 10592 case "move": 10593 t.swipeMove(e); 10594 break; 10595 case "end": 10596 t.swipeEnd(e); 10597 } 10598 }), 10599 (t.prototype.swipeMove = function (e) { 10600 var t, 10601 i, 10602 n, 10603 o, 10604 s, 10605 a = this; 10606 return ( 10607 (s = void 0 !== e.originalEvent ? e.originalEvent.touches : null), 10608 !(!a.dragging || (s && 1 !== s.length)) && 10609 ((t = a.getLeft(a.currentSlide)), 10610 (a.touchObject.curX = void 0 !== s ? s[0].pageX : e.clientX), 10611 (a.touchObject.curY = void 0 !== s ? s[0].pageY : e.clientY), 10612 (a.touchObject.swipeLength = Math.round( 10613 Math.sqrt(Math.pow(a.touchObject.curX - a.touchObject.startX, 2)) 10614 )), 10615 !0 === a.options.verticalSwiping && 10616 (a.touchObject.swipeLength = Math.round( 10617 Math.sqrt( 10618 Math.pow(a.touchObject.curY - a.touchObject.startY, 2) 10619 ) 10620 )), 10621 "vertical" !== (i = a.swipeDirection()) 10622 ? (void 0 !== e.originalEvent && 10623 a.touchObject.swipeLength > 4 && 10624 e.preventDefault(), 10625 (o = 10626 (!1 === a.options.rtl ? 1 : -1) * 10627 (a.touchObject.curX > a.touchObject.startX ? 1 : -1)), 10628 !0 === a.options.verticalSwiping && 10629 (o = a.touchObject.curY > a.touchObject.startY ? 1 : -1), 10630 (n = a.touchObject.swipeLength), 10631 (a.touchObject.edgeHit = !1), 10632 !1 === a.options.infinite && 10633 ((0 === a.currentSlide && "right" === i) || 10634 (a.currentSlide >= a.getDotCount() && "left" === i)) && 10635 ((n = a.touchObject.swipeLength * a.options.edgeFriction), 10636 (a.touchObject.edgeHit = !0)), 10637 !1 === a.options.vertical 10638 ? (a.swipeLeft = t + n * o) 10639 : (a.swipeLeft = 10640 t + n * (a.$list.height() / a.listWidth) * o), 10641 !0 === a.options.verticalSwiping && (a.swipeLeft = t + n * o), 10642 !0 !== a.options.fade && 10643 !1 !== a.options.touchMove && 10644 (!0 === a.animating 10645 ? ((a.swipeLeft = null), !1) 10646 : void a.setCSS(a.swipeLeft))) 10647 : void 0) 10648 ); 10649 }), 10650 (t.prototype.swipeStart = function (e) { 10651 var t, 10652 i = this; 10653 return ( 10654 (i.interrupted = !0), 10655 1 !== i.touchObject.fingerCount || 10656 i.slideCount <= i.options.slidesToShow 10657 ? ((i.touchObject = {}), !1) 10658 : (void 0 !== e.originalEvent && 10659 void 0 !== e.originalEvent.touches && 10660 (t = e.originalEvent.touches[0]), 10661 (i.touchObject.startX = i.touchObject.curX = 10662 void 0 !== t ? t.pageX : e.clientX), 10663 (i.touchObject.startY = i.touchObject.curY = 10664 void 0 !== t ? t.pageY : e.clientY), 10665 void (i.dragging = !0)) 10666 ); 10667 }), 10668 (t.prototype.unfilterSlides = t.prototype.slickUnfilter = 10669 function () { 10670 var e = this; 10671 null !== e.$slidesCache && 10672 (e.unload(), 10673 e.$slideTrack.children(this.options.slide).detach(), 10674 e.$slidesCache.appendTo(e.$slideTrack), 10675 e.reinit()); 10676 }), 10677 (t.prototype.unload = function () { 10678 var t = this; 10679 e(".slick-cloned", t.$slider).remove(), 10680 t.$dots && t.$dots.remove(), 10681 t.$prevArrow && 10682 t.htmlExpr.test(t.options.prevArrow) && 10683 t.$prevArrow.remove(), 10684 t.$nextArrow && 10685 t.htmlExpr.test(t.options.nextArrow) && 10686 t.$nextArrow.remove(), 10687 t.$slides 10688 .removeClass("slick-slide slick-active slick-visible slick-current") 10689 .attr("aria-hidden", "true") 10690 .css("width", ""); 10691 }),
10692 (t.prototype.unslick = function (e) { 10693 var t = this; 10694 t.$slider.trigger("unslick", [t, e]), t.destroy(); 10695 }), 10696 (t.prototype.updateArrows = function () { 10697 var e = this; 10698 Math.floor(e.options.slidesToShow / 2), 10699 !0 === e.options.arrows && 10700 e.slideCount > e.options.slidesToShow && 10701 !e.options.infinite && 10702 (e.$prevArrow 10703 .removeClass("slick-disabled") 10704 .attr("aria-disabled", "false"), 10705 e.$nextArrow 10706 .removeClass("slick-disabled") 10707 .attr("aria-disabled", "false"), 10708 0 === e.currentSlide 10709 ? (e.$prevArrow 10710 .addClass("slick-disabled") 10711 .attr("aria-disabled", "true"), 10712 e.$nextArrow 10713 .removeClass("slick-disabled") 10714 .attr("aria-disabled", "false")) 10715 : ((e.currentSlide >= e.slideCount - e.options.slidesToShow && 10716 !1 === e.options.centerMode) || 10717 (e.currentSlide >= e.slideCount - 1 && 10718 !0 === e.options.centerMode)) && 10719 (e.$nextArrow 10720 .addClass("slick-disabled") 10721 .attr("aria-disabled", "true"), 10722 e.$prevArrow 10723 .removeClass("slick-disabled") 10724 .attr("aria-disabled", "false"))); 10725 }), 10726 (t.prototype.updateDots = function () { 10727 var e = this; 10728 null !== e.$dots && 10729 (e.$dots 10730 .find("li") 10731 .removeClass("slick-active") 10732 .attr("aria-hidden", "true"), 10733 e.$dots 10734 .find("li") 10735 .eq(Math.floor(e.currentSlide / e.options.slidesToScroll)) 10736 .addClass("slick-active") 10737 .attr("aria-hidden", "false")); 10738 }), 10739 (t.prototype.visibility = function () { 10740 var e = this; 10741 e.options.autoplay && 10742 (document[e.hidden] ? (e.interrupted = !0) : (e.interrupted = !1)); 10743 }), 10744 (e.fn.slick = function () { 10745 var e, 10746 i, 10747 n = this, 10748 o = arguments[0], 10749 s = Array.prototype.slice.call(arguments, 1), 10750 a = n.length; 10751 for (e = 0; a > e; e++) 10752 if ( 10753 ("object" == typeof o || void 0 === o 10754 ? (n[e].slick = new t(n[e], o)) 10755 : (i = n[e].slick[o].apply(n[e].slick, s)), 10756 void 0 !== i) 10757 ) 10758 return i; 10759 return n; 10760 }); 10761 }), 10762 (function (e, t) { 10763 "use strict"; 10764 function i(i, n, s, r, l) { 10765 function c() { 10766 (C = e.devicePixelRatio > 1), 10767 (s = d(s)), 10768 n.delay >= 0 && 10769 setTimeout(function () { 10770 u(!0); 10771 }, n.delay), 10772 (n.delay < 0 || n.combined) && 10773 ((r.e = (function (e, t) { 10774 var o, 10775 s = 0; 10776 return function (a, r) { 10777 function l() { 10778 (s = +new Date()), t.call(i, a); 10779 } 10780 var c = +new Date() - s; 10781 o && clearTimeout(o), 10782 c > e || !n.enableThrottle || r 10783 ? l() 10784 : (o = setTimeout(l, e - c)); 10785 }; 10786 })(n.throttle, function (e) { 10787 "resize" === e.type && (k = T = -1), u(e.all); 10788 })), 10789 (r.a = function (e) { 10790 (e = d(e)), s.push.apply(s, e); 10791 }), 10792 (r.g = function () { 10793 return (s = o(s).filter(function () { 10794 return !o(this).data(n.loadedName); 10795 })); 10796 }), 10797 (r.f = function (e) { 10798 for (var t = 0; t < e.length; t++) { 10799 var i = s.filter(function () { 10800 return this === e[t]; 10801 }); 10802 i.length && u(!1, i); 10803 } 10804 }), 10805 u(), 10806 o(n.appendScroll).on("scroll." + l + " resize." + l, r.e)); 10807 } 10808 function d(e) { 10809 for ( 10810 var s = n.defaultImage, 10811 a = n.placeholder, 10812 r = n.imageBase, 10813 l = n.srcsetAttribute, 10814 c = n.loaderAttribute, 10815 d = n._f || {}, 10816 u = 0, 10817 p = (e = o(e) 10818 .filter(function () { 10819 var e = o(this), 10820 i = g(this); 10821 return ( 10822 !e.data(n.handledName) && 10823 (e.attr(n.attribute) || e.attr(l) || e.attr(c) || d[i] !== t) 10824 ); 10825 }) 10826 .data("plugin_" + n.name, i)).length; 10827 u < p; 10828 u++ 10829 ) { 10830 var f = o(e[u]), 10831 h = g(e[u]), 10832 v = f.attr(n.imageBaseAttribute) || r; 10833 h === $ && v && f.attr(l) && f.attr(l, m(f.attr(l), v)), 10834 d[h] === t || f.attr(c) || f.attr(c, d[h]), 10835 h === $ && s && !f.attr(P) 10836 ? f.attr(P, s) 10837 : h === $ || 10838 !a ||
10839 (f.css(I) && "none" !== f.css(I)) || 10840 f.css(I, "url('" + a + "')"); 10841 } 10842 return e; 10843 } 10844 function u(e, t) { 10845 if (s.length) { 10846 for ( 10847 var a = t || s, 10848 r = !1, 10849 l = n.imageBase || "", 10850 c = n.srcsetAttribute, 10851 d = n.handledName, 10852 u = 0; 10853 u < a.length; 10854 u++ 10855 ) 10856 if (e || t || f(a[u])) { 10857 var h = o(a[u]), 10858 v = g(a[u]), 10859 m = h.attr(n.attribute), 10860 y = h.attr(n.imageBaseAttribute) || l, 10861 b = h.attr(n.loaderAttribute); 10862 h.data(d) || 10863 (n.visibleOnly && !h.is(":visible")) || 10864 !( 10865 ((m || h.attr(c)) && 10866 ((v === $ && 10867 (y + m !== h.attr(P) || h.attr(c) !== h.attr(O))) || 10868 (v !== $ && y + m !== h.css(I)))) || 10869 b 10870 ) || 10871 ((r = !0), h.data(d, !0), p(h, v, y, b)); 10872 } 10873 r && 10874 (s = o(s).filter(function () { 10875 return !o(this).data(d); 10876 })); 10877 } else n.autoDestroy && i.destroy(); 10878 } 10879 function p(e, t, i, s) { 10880 ++w; 10881 var a = function () { 10882 b("onError", e), y(), (a = o.noop); 10883 }; 10884 b("beforeLoad", e); 10885 var r = n.attribute, 10886 l = n.srcsetAttribute, 10887 c = n.sizesAttribute, 10888 d = n.retinaAttribute, 10889 u = n.removeAttribute, 10890 p = n.loadedName, 10891 f = e.attr(d); 10892 if (s) { 10893 var h = function () { 10894 u && e.removeAttr(n.loaderAttribute), 10895 e.data(p, !0), 10896 b(x, e), 10897 setTimeout(y, 1), 10898 (h = o.noop); 10899 }; 10900 e.off(A).one(A, a).one(S, h), 10901 b(s, e, function (t) { 10902 t ? (e.off(S), h()) : (e.off(A), a()); 10903 }) || e.trigger(A); 10904 } else { 10905 var v = o(new Image()); 10906 v.one(A, a).one(S, function () { 10907 e.hide(), 10908 t === $ 10909 ? e.attr(E, v.attr(E)).attr(O, v.attr(O)).attr(P, v.attr(P)) 10910 : e.css(I, "url('" + v.attr(P) + "')"), 10911 e[n.effect](n.effectTime), 10912 u && 10913 (e.removeAttr( 10914 r + " " + l + " " + d + " " + n.imageBaseAttribute 10915 ), 10916 c !== E && e.removeAttr(c)), 10917 e.data(p, !0), 10918 b(x, e), 10919 v.remove(), 10920 y(); 10921 }); 10922 var g = (C && f ? f : e.attr(r)) || ""; 10923 v 10924 .attr(E, e.attr(c)) 10925 .attr(O, e.attr(l)) 10926 .attr(P, g ? i + g : null), 10927 v.complete && v.trigger(S); 10928 } 10929 } 10930 function f(e) { 10931 var t = e.getBoundingClientRect(), 10932 i = n.scrollDirection, 10933 o = n.threshold, 10934 s = v() + o > t.top && -o < t.bottom, 10935 a = h() + o > t.left && -o < t.right; 10936 return "vertical" === i ? s : ("horizontal" === i || s) && a; 10937 } 10938 function h() { 10939 return k >= 0 ? k : (k = o(e).width()); 10940 } 10941 function v() { 10942 return T >= 0 ? T : (T = o(e).height()); 10943 } 10944 function g(e) { 10945 return e.tagName.toLowerCase(); 10946 } 10947 function m(e, t) { 10948 if (t) { 10949 var i = e.split(","); 10950 e = ""; 10951 for (var n = 0, o = i.length; n < o; n++) 10952 e += t + i[n].trim() + (n !== o - 1 ? "," : ""); 10953 } 10954 return e; 10955 } 10956 function y() { 10957 --w, s.length || w || b("onFinishedAll"); 10958 } 10959 function b(e, t, o) { 10960 return !!(e = n[e]) && (e.apply(i, [].slice.call(arguments, 1)), !0); 10961 } 10962 var w = 0, 10963 k = -1, 10964 T = -1, 10965 C = !1, 10966 x = "afterLoad", 10967 S = "load", 10968 A = "error", 10969 $ = "img", 10970 P = "src", 10971 O = "srcset", 10972 E = "sizes", 10973 I = "background-image"; 10974 "event" === n.bind || a ? c() : o(e).on(S + "." + l, c); 10975 } 10976 function n(n, a) { 10977 var r = this, 10978 l = o.extend({}, r.config, a), 10979 c = {}, 10980 d = l.name + "-" + ++s; 10981 return ( 10982 (r.config = function (e, i) { 10983 return i === t ? l[e] : ((l[e] = i), r); 10984 }), 10985 (r.addItems = function (e) { 10986 return c.a && c.a("string" === o.type(e) ? o(e) : e), r; 10987 }), 10988 (r.getItems = function () { 10989 return c.g ? c.g() : {}; 10990 }), 10991 (r.update = function (e) { 10992 return c.e && c.e({}, !e), r; 10993 }), 10994 (r.force = function (e) { 10995 return c.f && c.f("string" === o.type(e) ? o(e) : e), r; 10996 }), 10997 (r.loadAll = function () { 10998 return c.e && c.e({ all: !0 }, !0), r; 10999 }), 11000 (r.destroy = function () { 11001 return ( 11002 o(l.appendScroll).off("." + d, c.e), o(e).off("." + d), (c = {}), t 11003 ); 11004 }), 11005 i(r, l, n, c, d), 11006 l.chainable ? n : r 11007 ); 11008 } 11009 var o = e.jQuery || e.Zepto, 11010 s = 0, 11011 a = !1; 11012 (o.fn.Lazy = o.fn.lazy = 11013 function (e) { 11014 return new n(this, e); 11015 }), 11016 (o.Lazy = o.lazy = 11017 function (e, i, s) { 11018 if ((o.isFunction(i) && ((s = i), (i = [])), o.isFunction(s))) { 11019 (e = o.isArray(e) ? e : [e]), (i = o.isArray(i) ? i : [i]); 11020 for ( 11021 var a = n.prototype.config, 11022 r = a._f || (a._f = {}), 11023 l = 0, 11024 c = e.length; 11025 l < c; 11026 l++ 11027 ) 11028 (a[e[l]] === t || o.isFunction(a[e[l]])) && (a[e[l]] = s); 11029 for (var d = 0, u = i.length; d < u; d++) r[i[d]] = e[0]; 11030 } 11031 }), 11032 (n.prototype.config = { 11033 name: "lazy", 11034 chainable: !0, 11035 autoDestroy: !0, 11036 bind: "load", 11037 threshold: 500, 11038 visibleOnly: !1, 11039 appendScroll: e, 11040 scrollDirection: "both", 11041 imageBase: null, 11042 defaultImage: 11043 "data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw==", 11044 placeholder: null, 11045 delay: -1, 11046 combined: !1, 11047 attribute: "data-src", 11048 srcsetAttribute: "data-srcset", 11049 sizesAttribute: "data-sizes", 11050 retinaAttribute: "data-retina", 11051 loaderAttribute: "data-loader", 11052 imageBaseAttribute: "data-imagebase", 11053 removeAttribute: !0, 11054 handledName: "handled", 11055 loadedName: "loaded", 11056 effect: "show", 11057 effectTime: 0, 11058 enableThrottle: !0, 11059 throttle: 250, 11060 beforeLoad: t, 11061 afterLoad: t, 11062 onError: t, 11063 onFinishedAll: t, 11064 }), 11065 o(e).on("load", function () { 11066 a = !0; 11067 }); 11068 })(window), 11069 (function (e) { 11070 "function" == typeof define && define.amd 11071 ? define(["jquery"], e) 11072 : "object" == typeof exports 11073 ? (module.exports = e(require("jquery"))) 11074 : e(jQuery); 11075 })(function (e) { 11076 e.fn.extend(e.easing, { 11077 def: "easeInOutExpo", 11078 easeInOutExpo: function (e, t, i, n, o) { 11079 return 0 === t 11080 ? i 11081 : t === o 11082 ? i + n 11083 : (t /= o / 2) < 1 11084 ? (n / 2) * Math.pow(2, 10 * (t - 1)) + i 11085 : (n / 2) * (2 - Math.pow(2, -10 * --t)) + i; 11086 }, 11087 }), 11088 e(document).keydown(function (t) { 11089 var i = t.keyCode, 11090 n = e(".currentGridder"), 11091 o = n.find(".gridder-show"); 11092 n.length && 11093 (37 === i && (o.prev().prev().trigger("click"), t.preventDefault()), 11094 39 === i && (o.next().trigger("click"), t.preventDefault())); 11095 }), 11096 (e.fn.gridderExpander = function (t) { 11097 var i = e.extend({}, e.fn.gridderExpander.defaults, t); 11098 return this.each(function () { 11099 function t(t) { 11100 i.scroll && 11101 e("html, body").animate( 11102 { 11103 scrollTop: 11104 t.find(".selectedItem").offset().top - i.scrollOffset, 11105 }, 11106 { duration: 200, easing: i.animationEasing } 11107 ), 11108 a.removeClass("hasSelectedItem"), 11109 (r = !1), 11110 t.find(".selectedItem").removeClass("selectedItem"), 11111 t 11112 .find(".gridder-show") 11113 .slideUp(i.animationSpeed, i.animationEasing, function () { 11114 t.find(".gridder-show").remove(), i.onClosed(t); 11115 }), 11116 e(".currentGridder").removeClass("currentGridder"); 11117 } 11118 function n(i) { 11119 if ( 11120 (e(".currentGridder").removeClass("currentGridder"), 11121 a.addClass("currentGridder"), 11122 i.hasClass("selectedItem")) 11123 ) 11124 t(a); 11125 else { 11126 a.find(".selectedItem").removeClass("selectedItem"), 11127 i.addClass("selectedItem"), 11128 a.find(".gridder-show").remove(), 11129 a.hasClass("hasSelectedItem") || a.addClass("hasSelectedItem"); 11130 var n = e('<div class="gridder-show loading"></div>'); 11131 s = n.insertAfter(i); 11132 var r = ""; 11133 0 === i.data("griddercontent").indexOf("#") 11134 ? ((r = e(i.data("griddercontent")).html()), o(i, r)) 11135 : e.ajax({ 11136 type: "GET", 11137 url: i.data("griddercontent"), 11138 success: function (e) { 11139 o(i, (r = e)); 11140 }, 11141 error: function (e) { 11142 (r = e.responseText), o(i, r); 11143 }, 11144 }); 11145 } 11146 } 11147 function o(t, n) { 11148 var o = '<div class="gridder-padding">'; 11149 if (i.showNav) { 11150 var a = e(".selectedItem").prev(), 11151 l = e(".selectedItem").next().next(); 11152 (o += '<div class="gridder-navigation">'), 11153 (o += 11154 '<a href="#" class="gridder-close">' + i.closeText + "</a>"), 11155 (o += 11156 '<a href="#" class="gridder-nav prev ' + 11157 (a.length ? "" : "disabled") + 11158 '">' + 11159 i.prevText + 11160 "</a>"), 11161 (o += 11162 '<a href="#" class="gridder-nav next ' + 11163 (l.length ? "" : "disabled") + 11164 '">' + 11165 i.nextText + 11166 "</a>"), 11167 (o += "</div>"); 11168 } 11169 if ( 11170 ((o += '<div class="gridder-expanded-content">'), 11171 (o += n), 11172 (o += "</div>"), 11173 (o += "</div>"), 11174 r 11175 ? (s.html(o), 11176 s 11177 .find(".gridder-padding") 11178 .fadeIn(i.animationSpeed, i.animationEasing, function () { 11179 (r = !0), 11180 "function" == typeof i.onContent && i.onContent(s); 11181 })) 11182 : s 11183 .hide() 11184 .append(o) 11185 .slideDown( 11186 i.animationSpeed, 11187 i.animationEasing, 11188 function () { 11189 (r = !0), 11190 "function" == typeof i.onContent && i.onContent(s); 11191 } 11192 ), 11193 i.scroll) 11194 ) { 11195 var c = 11196 "panel" === i.scrollTo 11197 ? t.offset().top + t.height() - i.scrollOffset 11198 : t.offset().top - i.scrollOffset; 11199 e("html, body").animate( 11200 { scrollTop: c }, 11201 { duration: i.animationSpeed, easing: i.animationEasing } 11202 ); 11203 } 11204 s.removeClass("loading"); 11205 } 11206 var s, 11207 a = e(this), 11208 r = !1; 11209 i.onStart(a), 11210 a.on("click", ".gridder-list", function (t) { 11211 t.preventDefault(), n(e(this)); 11212 }), 11213 a.on("click", ".gridder-nav.next", function (t) { 11214 t.preventDefault(), 11215 e(this).parents(".gridder-show").next().trigger("click"); 11216 }), 11217 a.on("click", ".gridder-nav.prev", function (t) { 11218 t.preventDefault(), 11219 e(this).parents(".gridder-show").prev().prev().trigger("click"); 11220 }), 11221 a.on("click", ".gridder-close", function (e) { 11222 e.preventDefault(), t(a); 11223 }); 11224 }); 11225 }), 11226 (e.fn.gridderExpander.defaults = { 11227 scroll: !0, 11228 scrollOffset: 30, 11229 scrollTo: "panel", 11230 animationSpeed: 400, 11231 animationEasing: "easeInOutExpo", 11232 showNav: !0, 11233 nextText: "Next", 11234 prevText: "Previous", 11235 closeText: "Close", 11236 onStart: function () {}, 11237 onContent: function () {}, 11238 onClosed: function () {}, 11239 }); 11240 }), 11241 (function (e, t) { 11242 function i(t, i) { 11243 var a = this; 11244 (a.element = t), 11245 (a.options = e.extend(!0, {}, s, i)),
11246 (a.defaults = s), 11247 (a.name = o), 11248 (a.cssRules = ""), 11249 (a.breakpoints = []), 11250 (a.grids = []), 11251 (a.activeTab = a.options.config.activeTab - 1), 11252 (a.tabs = e(a.element).find("> dt")), 11253 (a.contents = e(a.element).find("> dd")), 11254 a.init(), 11255 a.generateStylesheet(a.cssRules), 11256 n++; 11257 } 11258 var n = 0, 11259 o = "gridtab", 11260 s = { 11261 grid: 4, 11262 borderWidth: 2, 11263 tabBorderColor: "#ddd", 11264 tabPadding: 25, 11265 contentBorderColor: "#ddd", 11266 contentPadding: 35, 11267 contentBackground: "#fff", 11268 activeTabBackground: "#fff", 11269 responsive: null, 11270 selectors: { 11271 tab: ">dt", 11272 closeButton: ".gridtab__close", 11273 nextArrow: ".gridtab__next.gridtab__arrow", 11274 prevArrow: ".gridtab__prev.gridtab__arrow", 11275 disabledArrow: ".is-disabled", 11276 }, 11277 config: { 11278 layout: "grid", 11279 keepOpen: !1, 11280 speed: 500, 11281 activeTab: 0, 11282 showClose: !1, 11283 showArrows: !1, 11284 scrollToTab: !1, 11285 rtl: !1, 11286 }, 11287 callbacks: { open: !1, close: !1 }, 11288 }; 11289 (i.prototype.init = function () { 11290 var t = this; 11291 e(t.element).addClass("gridtab gridtab--" + n), 11292 t.options.config.rtl && e(t.element).attr("dir", "rtl"), 11293 t.setTabOrder(), 11294 t.showControls(), 11295 t.addCssRules( 11296 t.options.grid, 11297 t.options.borderWidth, 11298 t.options.tabPadding, 11299 t.options.tabBorderColor, 11300 t.options.contentPadding, 11301 t.options.contentBorderColor, 11302 t.options.contentBackground,
11303 t.options.activeTabBackground, 11304 null 11305 ), 11306 null !== t.options.responsive 11307 ? t.responsiveBreakpoints() 11308 : t.setContentOrder(t.options.grid), 11309 t.activeTab > -1 && 11310 t.activeTab < t.tabs.length && 11311 t.slideContent(t.tabs[t.activeTab], !1, !1), 11312 e(t.element).on("click", t.options.selectors.tab, function (i) { 11313 e(this).attr("href") && i.preventDefault(), 11314 i.stopPropagation(), 11315 i.stopImmediatePropagation(), 11316 t.slideContent( 11317 e(this).closest("dt"), 11318 !1, 11319 t.options.config.scrollToTab 11320 ); 11321 }); 11322 }), 11323 (i.prototype.showControls = function () { 11324 var t = this; 11325 if (t.options.config.showClose || t.options.config.showArrows) { 11326 var i = e('<div class="gridtab__controls"></div>').appendTo( 11327 t.contents 11328 ); 11329 if ( 11330 (t.options.config.showClose && 11331 e( 11332 '<a class="' + 11333 t.options.selectors.closeButton.replace(/\./g, " ") + 11334 '" href="#">Close</a>' 11335 ).appendTo(i), 11336 t.options.config.showArrows && 11337 t.contents.length && 11338 t.contents.length >= 2) 11339 ) { 11340 var n = t.options.selectors.nextArrow.replace(/\./g, " "), 11341 o = t.options.selectors.prevArrow.replace(/\./g, " "), 11342 s = t.options.selectors.disabledArrow.replace(/\./g, " "), 11343 a = '<a class="' + o + '" title="previous" href="#">Prev</a>', 11344 r = '<a class="' + n + '" title="next" href="#">Next</a>', 11345 l = '<span class="' + o + " " + s + '">Prev</span>', 11346 c = '<span class="' + n + " " + s + '">Next</span>'; 11347 t.contents.length > 2 && 11348 e(a + r).appendTo(t.contents.slice(1, -1).find(i)), 11349 e(a + c).appendTo(e(t.contents[t.contents.length - 1]).find(i)), 11350 e(l + r).appendTo(e(t.contents[0]).find(i)); 11351 } 11352 e(i).on("click", "a", function (i) { 11353 i.preventDefault(); 11354 var s = t.contents.index(e(this).parent().parent()); 11355 e(this).hasClass(o) 11356 ? t.slideContent(t.tabs[s - 1], !1, t.options.config.scrollToTab) 11357 : e(this).hasClass(n) 11358 ? t.slideContent(t.tabs[s + 1], !1, t.options.config.scrollToTab) 11359 : t.slideContent(t.tabs[s], !0, !1); 11360 }); 11361 } 11362 }), 11363 (i.prototype.setContentOrder = function (e) { 11364 for (var t = Math.ceil(this.contents.length / e), i = 0; t > i; i++) { 11365 var n = i + 1; 11366 this.contents 11367 .slice(i * e, e * n) 11368 .css({ order: "" + n * e, "flex-order": "" + n * e }); 11369 } 11370 }), 11371 (i.prototype.setTabOrder = function () { 11372 this.tabs.each(function (t) { 11373 e(this).css({ order: "" + t, "flex-order": "" + t }); 11374 }); 11375 }), 11376 (i.prototype.addCssRules = function (e, t, i, o, s, a, r, l, c) { 11377 if ( 11378 null !== e || 11379 null !== t || 11380 null !== i || 11381 null !== o || 11382 null !== a || 11383 null !== s || 11384 null !== r || 11385 null !== l 11386 ) { 11387 var d = "", 11388 u = ""; 11389 null !== e && (u = Math.floor((100 / e) * 100) / 100), 11390 (null !== e || null !== t || null !== o || null !== i) && 11391 (null !== t && 11392 (d += 11393 ".gridtab--" + n + "{padding:" + t + "px 0 0 " + t + "px;}"), 11394 (d += ".gridtab--" + n + " > dt{"), 11395 null !== t && (d += "margin:-" + t + "px 0 0 -" + t + "px;"), 11396 null !== e && 11397 (d += 11398 "min-width:calc(" + 11399 u + 11400 "% + " + 11401 t + 11402 "px);width:calc(" + 11403 u + 11404 "% + " + 11405 t + 11406 "px);"), 11407 null !== t && (d += "border-width:" + t + "px;"), 11408 null !== i && (d += "padding:" + i + "px;"), 11409 null !== o && (d += "border-color:" + o + ";"), 11410 (d += "}")), 11411 null !== l && 11412 (d += ".gridtab--" + n + " >dt.is-active{background:" + l + ";}"), 11413 "tab" == this.options.config.layout && 11414 null !== l && 11415 null !== t && 11416 (d += 11417 ".gridtab--" + 11418 n + 11419 " >dt.is-active:after{background:" + 11420 l + 11421 ";height:" + 11422 t + 11423 "px;bottom:-" + 11424 t + 11425 "px;}"), 11426 (null !== a || null !== t || null !== r || null !== s) && 11427 ((d += ".gridtab--" + n + ">dd{"), 11428 (d += 11429 "min-width:calc(" + 11430 u * e + 11431 "% + " + 11432 t + 11433 "px);max-width:calc(" + 11434 u * e + 11435 "% + " + 11436 t + 11437 "px);"), 11438 null !== t && 11439 (d += 11440 "margin:-" + 11441 t + 11442 "px 0 0 -" + 11443 t + 11444 "px !important;border-width:" + 11445 t + 11446 "px;"), 11447 null !== a && (d += "border-color:" + a + ";"), 11448 null !== s && (d += "padding:" + s + "px;"), 11449 null !== r && (d += "background:" + r + ";"), 11450 (d += "}")), 11451 (this.cssRules += 11452 null !== c ? "@media (max-width:" + c + "px){" + d + "}" : d); 11453 } 11454 }), 11455 (i.prototype.generateStylesheet = function (t) { 11456 e("head").append("<style>" + t + "</style>"); 11457 }), 11458 (i.prototype.responsiveBreakpoints = function () { 11459 function e() { 11460 var e = []; 11461 n.filter(function (t) { 11462 t.matches && e.push(parseInt(t.media.replace(/[^\d.]/g, ""))); 11463 }); 11464 var t = e.length 11465 ? i.grids[i.breakpoints.indexOf(Math.min.apply(null, e))] 11466 : i.options.grid; 11467 i.setContentOrder(t); 11468 } 11469 var i = this; 11470 if (i.options.responsive && i.options.responsive.length) { 11471 i.options.responsive.sort(function (e, t) { 11472 return parseFloat(t.breakpoint) - parseFloat(e.breakpoint); 11473 }); 11474 var n = []; 11475 for (var o in i.options.responsive) { 11476 var s = i.options.responsive[o].settings, 11477 a = s.grid || i.options.grid, 11478 r = s.borderWidth || i.options.borderWidth, 11479 l = s.tabBorderColor || null, 11480 c = s.tabPadding || null,
11481 d = s.activeTabBackground || null, 11482 u = s.contentPadding || null, 11483 p = s.contentBorderColor || null, 11484 f = s.contentBackground || null, 11485 h = i.options.responsive[o].breakpoint || null; 11486 i.addCssRules(a, r, c, l, u, p, f, d, h), 11487 i.breakpoints.push(h), 11488 i.grids.push(a), 11489 n.push(t.matchMedia("(max-width:" + i.breakpoints[o] + "px)")), 11490 e(t.matchMedia("(max-width:" + i.breakpoints[o] + "px)")); 11491 } 11492 for (o = 0; o < n.length; o++) n[o].addListener(e); 11493 } 11494 }), 11495 (i.prototype.scrollToTab = function () { 11496 var t = e("html, body"); 11497 t.on( 11498 "scroll mousedown wheel DOMMouseScroll mousewheel keyup touchmove", 11499 function () { 11500 t.stop(); 11501 } 11502 ), 11503 t.animate( 11504 { scrollTop: e(this.element).find(".is-active").offset().top }, 11505 1e3, 11506 function () { 11507 t.off( 11508 "scroll mousedown wheel DOMMouseScroll mousewheel keyup touchmove" 11509 ); 11510 } 11511 ); 11512 }), 11513 (i.prototype.slideContent = function (t, i, n) { 11514 var o = this, 11515 s = e(t), 11516 a = e(o.element).find(">dt.is-active").not(t); 11517 if (!s.hasClass("is-disabled")) { 11518 if (a.length) 11519 o.tabs.addClass("is-disabled"), 11520 a 11521 .next() 11522 .stop(!0) 11523 .slideUp(o.options.config.speed, function () { 11524 return ( 11525 a.removeClass("is-active"), 11526 o.tabs.next().stop(!0), 11527 o.options.callbacks.close && 11528 o.options.callbacks.close.call(this), 11529 s 11530 .addClass("is-active") 11531 .next() 11532 .stop(!0) 11533 .slideDown(o.options.config.speed, function () { 11534 return ( 11535 o.options.callbacks.open && 11536 o.options.callbacks.open.call(this), 11537 n && o.scrollToTab(), 11538 o.tabs.removeClass("is-disabled"), 11539 !1 11540 ); 11541 }), 11542 !1 11543 ); 11544 }); 11545 else if (o.options.config.keepOpen && !i) { 11546 if (!s.hasClass("is-active")) 11547 return ( 11548 s 11549 .addClass("is-active") 11550 .next() 11551 .stop(!0) 11552 .slideDown(o.options.config.speed, function () { 11553 o.options.callbacks.open && 11554 o.options.callbacks.open.call(this), 11555 n && o.scrollToTab(); 11556 }), 11557 !1 11558 ); 11559 } else 11560 o.tabs.addClass("is-disabled"), 11561 s 11562 .toggleClass("is-active") 11563 .next() 11564 .stop(!0) 11565 .slideToggle(o.options.config.speed, function () { 11566 return ( 11567 e(this).is(":hidden") 11568 ? o.options.callbacks.close && 11569 o.options.callbacks.close.call(this) 11570 : (o.options.callbacks.open && 11571 o.options.callbacks.open.call(this), 11572 n && o.scrollToTab()), 11573 o.tabs.removeClass("is-disabled"), 11574 !1 11575 ); 11576 }); 11577 return !1; 11578 } 11579 }), 11580 (e.fn[o] = function (t) { 11581 return this.each(function () { 11582 e.data(this, "plugin_" + o) || 11583 e.data(this, "plugin_" + o, new i(this, t)); 11584 }); 11585 }); 11586 })(jQuery, window, document); 11587var MENU_NAVEGACION = function () { 11588 $(".wrap-HEADER").pushpin({ top: 40, offset: 0 }), 11589 $(".wrap-NAV").pushpin({ top: 100, offset: 0 }); 11590 // if (window.innerWidth <= 768) { 11591 // $(".wrap-HEADER").pushpin({ top: 40, offset: -40 }), 11592 // $(".wrap-NAV").pushpin({ top: 100, offset: 0 }); 11593 // } 11594 var e = document.querySelector(".wrap-HEADER"); 11595 new MutationObserver(function (t, i) { 11596 for (var n of t) 11597 "attributes" === n.type && 11598 ("fixed" === $(e).css("position") 11599 ? $("body").css("padding-top", "171px") 11600 : $("body").css("padding-top", "")); 11601 }).observe(e, { attributes: !0, childList: !1, subtree: !1 }); 11602 }, 11603 BOLDS_MENU = function () { 11604 $(".cd-primary-nav .cd-secondary-nav a:contains('AlmerÃa')").css( 11605 "font-weight", 11606 "bold" 11607 ), 11608 $(".cd-primary-nav .cd-secondary-nav a:contains('Córdoba')").css( 11609 "font-weight", 11610 "bold" 11611 ), 11612 $(".cd-primary-nav .cd-secondary-nav a:contains('Granada')").css( 11613 "font-weight", 11614 "bold" 11615 ), 11616 $(".cd-primary-nav .cd-secondary-nav a:contains('Sevilla')").css( 11617 "font-weight", 11618 "bold" 11619 ), 11620 $(".cd-primary-nav .cd-secondary-nav a:contains('Huelva')").css( 11621 "font-weight", 11622 "bold" 11623 ), 11624 $(".cd-primary-nav .cd-secondary-nav a:contains('Jaén')").css( 11625 "font-weight", 11626 "bold" 11627 ), 11628 $(".cd-primary-nav .cd-secondary-nav a:contains('Málaga')").css( 11629 "font-weight", 11630 "bold" 11631 ), 11632 $(".cd-primary-nav .cd-secondary-nav a:contains('Vélez Málaga')").css( 11633 "font-weight", 11634 "normal" 11635 ), 11636 $(".cd-primary-nav .cd-secondary-nav a:contains('Jerez')").css( 11637 "font-weight", 11638 "bold" 11639 ), 11640 $(".cd-primary-nav .cd-secondary-nav a:contains('Cádiz')").css( 11641 "font-weight", 11642 "bold" 11643 ), 11644 $( 11645 ".cd-primary-nav .cd-secondary-nav a:contains('Campo de Gibraltar')" 11646 ).css("font-weight", "bold"), 11647 $( 11648 ".cd-primary-nav .cd-secondary-nav a:contains('Provincia de Cádiz')" 11649 ).css("font-weight", "normal"), 11650 $( 11651 ".cd-primary-nav .cd-secondary-nav a:contains('Zona Franca Cádiz')" 11652 ).css("font-weight", "normal"); 11653 }, 11654 HEMEROTECA_HOVER = function () { 11655 $(".wrap-hemeroteca").hover(function () { 11656 $(".wrap-CORPORATIVO").toggleClass("hemerohover"); 11657 }); 11658 }, 11659 SLICK_SLIDER = function () { 11660 function e(e) { 11661 (tallest = 0), 11662 e.each(function () { 11663 (thisHeight = $(this).height()), 11664 thisHeight > tallest && (tallest = thisHeight); 11665 }), 11666 e.height(tallest); 11667 } 11668 $(".slider-x1").not(".slick-initialized").slick({ 11669 autoplay: !1, 11670 lazyLoad: "ondemand", 11671 accessibility: false, 11672 arrows: !0, 11673 infinite:false, 11674 autoplaySpeed: 7e3, 11675 adaptiveHeight: !0, 11676 dots: !0, 11677 }), 11678 $(".slider-x3") 11679 .not(".slick-initialized") 11680 .slick({ 11681 autoplay: !1, 11682 lazyLoad: "ondemand", 11683 accessibility: false, 11684 arrows: !0, 11685 infinite:false, 11686 centerMode: !1, 11687 slidesToShow: 3, 11688 slidesToScroll: 1, 11689 adaptiveHeight: !0, 11690 dots: !1, 11691 responsive: [ 11692 { breakpoint: 992, settings: { slidesToShow: 2 } }, 11693 { breakpoint: 768, settings: { slidesToShow: 1, dots: true } }, 11694 ], 11695 }), 11696 11697 $(".slider-x4") 11698 .not(".slick-initialized") 11699 .slick({ 11700 autoplay: !1, 11701 lazyLoad: "ondemand", 11702 accessibility: false, 11703 arrows: !0, 11704 infinite:false, 11705 centerMode: !1, 11706 slidesToShow: 4, 11707 slidesToScroll: 1, 11708 adaptiveHeight: !0, 11709 dots: !1, 11710 responsive: [ 11711 { breakpoint: 992, settings: { slidesToShow: 2 } }, 11712 { breakpoint: 768, settings: { slidesToShow: 2, dots: true } }, 11713 ], 11714 }), 11715 $(".slider-x6") 11716 .not(".slick-initialized") 11717 .slick({ 11718 autoplay: !1, 11719 lazyLoad: "ondemand", 11720 accessibility: false, 11721 arrows: !0, 11722 infinite:false, 11723 centerMode: !1, 11724 slidesToShow: 6, 11725 slidesToScroll: 1, 11726 adaptiveHeight: !0, 11727 dots: !1, 11728 responsive: [ 11729 { breakpoint: 1300, settings: { slidesToShow: 5 } }, 11730 { breakpoint: 1200, settings: { slidesToShow: 4 } }, 11731 { breakpoint: 992, settings: { slidesToShow: 3 } }, 11732 { breakpoint: 768, settings: { slidesToShow: 1, dots: true } }, 11733 { breakpoint: 600, settings: { slidesToShow: 1, dots: true } }, 11734 { breakpoint: 360, settings: { slidesToShow: 1, dots: true } }, 11735 ], 11736 }), 11737 $(".slider-x8") 11738 .not(".slick-initialized") 11739 .slick({ 11740 autoplay: !1, 11741 lazyLoad: "ondemand", 11742 accessibility: false, 11743 arrows: !0, 11744 infinite:false, 11745 centerMode: !1, 11746 slidesToShow: 8, 11747 slidesToScroll: 1, 11748 responsive: [ 11749 { breakpoint: 1300, settings: { slidesToShow: 6 } }, 11750 { breakpoint: 992, settings: { slidesToShow: 4 } }, 11751 { breakpoint: 768, settings: { slidesToShow: 3 } }, 11752 { breakpoint: 600, settings: { slidesToShow: 1 } }, 11753 ], 11754 }), 11755 $(".slider-opinion") 11756 .not(".slick-initialized") 11757 .slick({ 11758 autoplay: !1, 11759 lazyLoad: "ondemand", 11760 accessibility: false, 11761 arrows: !0, 11762 infinite:false, 11763 centerMode: !1, 11764 slidesToShow: 4, 11765 slidesToScroll: 4, 11766 adaptiveHeight: !0, 11767 dots: !0, 11768 responsive: [ 11769 { 11770 breakpoint: 1200, 11771 settings: { slidesToShow: 3, slidesToScroll: 3 }, 11772 }, 11773 { 11774 breakpoint: 992, 11775 settings: { slidesToShow: 2, slidesToScroll: 2 }, 11776 }, 11777 { 11778 breakpoint: 600, 11779 settings: { slidesToShow: 1, centerMode: !0, slidesToScroll: 1 }, 11780 }, 11781 ], 11782 }), 11783 $(".slick-list").on("beforeChange", function (e, t, i, n) { 11784 $(function () { 11785 $(".lazy").lazy({ effect: "fadeIn", effectTime: 2e3, threshold: 0 }); 11786 }); 11787 }), 11788 e($("#estilo-portada-blogs .wrap-text header")), 11789 e($("#estilo-portada-cine .wrap-text")); 11790 }, 11791 TICKER_ULTIMAHORA = function () { 11792 !(function (e) { 11793 e.simpleTicker = function (t, i) { 11794 var n = { speed: 500, delay: 4e3, easing: "swing", effectType: "fade" }, 11795 o = { 11796 ul: "", 11797 li: "", 11798 initList: "", 11799 ulWidth: "", 11800 liHeight: "", 11801 tickerHook: "tickerHook", 11802 effect: {}, 11803 }, 11804 s = this; 11805 s.settings = {}; 11806 e(t), (t = t); 11807 (s.init = function () { 11808 switch ( 11809 ((s.settings = e.extend({}, n, i)), 11810 (o.ul = t.children("ul")), 11811 (o.li = t.find("li")), 11812 (o.initList = t.find("li:first")), 11813 (o.ulWidth = o.ul.width()), 11814 (o.liHeight = o.li.height()), 11815 t.css({ height: o.liHeight }), 11816 o.li.css({ top: "0", left: "0", position: "absolute" }), 11817 s.settings.effectType) 11818 ) { 11819 case "roll":
11820 s.effect.roll(); 11821 } 11822 s.effect.exec(); 11823 }), 11824 (s.effect = {}), 11825 (s.effect.exec = function () { 11826 o.initList 11827 .css(o.effect.init.css) 11828 .animate( 11829 o.effect.init.animate, 11830 s.settings.speed, 11831 s.settings.easing 11832 ) 11833 .addClass(o.tickerHook), 11834 setInterval(function () { 11835 t.find("." + o.tickerHook) 11836 .animate( 11837 o.effect.start.animate, 11838 s.settings.speed, 11839 s.settings.easing 11840 ) 11841 .next() 11842 .css(o.effect.next.css) 11843 .animate( 11844 o.effect.next.animate, 11845 s.settings.speed, 11846 s.settings.easing 11847 ) 11848 .addClass(o.tickerHook) 11849 .end() 11850 .appendTo(o.ul) 11851 .css(o.effect.end.css) 11852 .removeClass(o.tickerHook); 11853 }, s.settings.delay); 11854 }), 11855 (s.effect.roll = function () { 11856 o.effect = { 11857 init: { 11858 css: { top: "3em", display: "block", opacity: "0" }, 11859 animate: { top: "0", opacity: "1", zIndex: "98" }, 11860 }, 11861 start: { animate: { top: "-3em", opacity: "0" } }, 11862 next: { 11863 css: { 11864 top: "3em", 11865 display: "block", 11866 opacity: "0", 11867 zIndex: "99", 11868 }, 11869 animate: { top: "0", opacity: "1" }, 11870 }, 11871 end: { css: { zIndex: "98" } }, 11872 }; 11873 }), 11874 s.init(); 11875 }; 11876 })(jQuery), 11877 $(function () { 11878 $.simpleTicker($("#js-ticker-roll"), { effectType: "roll" }); 11879 }); 11880 }, 11881 MATERIAL_SELECT = function () { 11882 $("select").material_select(); 11883 }, 11884 LAZY_LOAD = function () { 11885 $(function () { 11886 $(".lazy").lazy({ effect: "fadeIn", effectTime: 2e3, threshold: 0 }); 11887 }); 11888 }, 11889 ADBLOCK_DETECT = function () { 11890 var e, t; 11891 (e = this), 11892 (t = function () { 11893 function e(t, i) { 11894 var n, 11895 o, 11896 s, 11897 a, 11898 r = 11899 ((n = (i = (function (e, t) { 11900 var i = {}; 11901 for (var n in e) 11902 (i[n] = e[n]), t.hasOwnProperty(n) && (i[n] = t[n]); 11903 return i; 11904 })(e.defaults, i || {})).testNodeClasses), 11905 (o = i.testNodeStyle), 11906 ((a = (s = window.document).createElement("div")).innerHTML = 11907 " "), 11908 a.setAttribute("class", n), 11909 a.setAttribute("style", o), 11910 s.body.appendChild(a), 11911 a), 11912 l = 0, 11913 c = !1, 11914 d = setInterval(function () { 11915 var e; 11916 l++, 11917 ((c = 11918 0 === (e = r).offsetHeight || 11919 !document.body.contains(e) || 11920 "none" === e.style.display || 11921 "hidden" === e.style.visibility) || 11922 l === i.testRuns) && 11923 (clearInterval(d), 11924 r.parentNode && r.parentNode.removeChild(r), 11925 t(c)); 11926 }, i.testInterval); 11927 } 11928 return ( 11929 (e.defaults = { 11930 testNodeClasses: 11931 "pub_300x250 pub_300x250m pub_728x90 text-ad textAd text_ad text_ads text-ads text-ad-links", 11932 testNodeStyle: 11933 "height: 10px !important; font-size: 20px; color: transparent; position: absolute; bottom: 0; left: -10000px;", 11934 testInterval: 51, 11935 testRuns: 4, 11936 }), 11937 e 11938 ); 11939 }), 11940 "function" == typeof define && define.amd 11941 ? define([], t) 11942 : "object" == typeof module && module.exports 11943 ? (module.exports = t()) 11944 : (e.adblockDetect = t()), 11945 adblockDetect( 11946 function (e) {
11947 e && $("#modal-adblock").modal({ dismissible: !1 }).modal("open"); 11948 }, 11949 { testInterval: 40, testRuns: 5 } 11950 ); 11951 }, 11952 MODALES = function () { 11953 $(".modal").modal({ dismissible: !0, preventScrolling: !1 }); 11954 }, 11955 SWIPENAV = function () { 11956 $(".wrap-FICHA-ARTICULO").length && $(".navi-movil").addClass("mostrar"); 11957 }, 11958 SCROLL_TO = function () { 11959 $(".logo-foot").click(function () { 11960 return $("body,html").animate({ scrollTop: 0 }, 1600), !1; 11961 }), 11962 $(document).on("click", ".BoletinScroll", function (e) { 11963 e.preventDefault(), 11964 $("html, body").animate( 11965 { scrollTop: $("#BOLETIN").offset().top - 170 }, 11966 1e3 11967 ), 11968 setTimeout(function () { 11969 $(".wrap-newsletterform").addClass("boletin-resaltado"); 11970 }, 1200); 11971 }); 11972 }, 11973 QUANTCAST = function () { 11974 var e = document.createElement("script"); 11975 (e.src = "https://quantcast.mgr.consensu.org/cmp.js"), 11976 (e.async = !0), 11977 (e.type = "text/javascript"); 11978 var t = document.getElementsByTagName("script")[0]; 11979 t.parentNode.insertBefore(e, t), 11980 (function () { 11981 var e = !0; 11982 function t(e) { 11983 var t, 11984 i = "string" == typeof e.data; 11985 if ( 11986 (t = i 11987 ? -1 != e.data.indexOf("__cmpCall") 11988 ? JSON.parse(e.data) 11989 : {} 11990 : e.data).__cmpCall 11991 ) { 11992 var n = t.__cmpCall; 11993 window.__cmp(n.command, n.parameter, function (t, o) { 11994 var s = { 11995 __cmpReturn: { returnValue: t, success: o, callId: n.callId }, 11996 }; 11997 e.source.postMessage(i ? JSON.stringify(s) : s, "*"); 11998 }); 11999 } 12000 } 12001 !(function e() { 12002 if (!window.frames.__cmpLocator) 12003 if (document.body) { 12004 var t = document.body, 12005 i = document.createElement("iframe"); 12006 (i.style = "display:none"), 12007 (i.name = "__cmpLocator"), 12008 t.appendChild(i); 12009 } else setTimeout(e, 5); 12010 })(), 12011 (window.__cmp = function (t) { 12012 var i = arguments; 12013 if (!i.length) return __cmp.a; 12014 if ("ping" === i[0]) 12015 i[2]({ gdprAppliesGlobally: e, cmpLoaded: !1 }, !0); 12016 else { 12017 if ("__cmp" == t) return !1; 12018 void 0 === __cmp.a && (__cmp.a = []), 12019 __cmp.a.push([].slice.apply(i)); 12020 } 12021 }), 12022 (window.__cmp.gdprAppliesGlobally = e), 12023 (window.__cmp.msgHandler = t), 12024 window.addEventListener 12025 ? window.addEventListener("message", t, !1) 12026 : window.attachEvent("onmessage", t); 12027 })(), 12028 window.__cmp("init", { 12029 Language: "es", 12030 "Initial Screen Title Text": 12031 "Tu privacidad es importante para nosotros", 12032 "Initial Screen Reject Button Text": "No acepto", 12033 "Initial Screen Accept Button Text": "Acepto", 12034 "Initial Screen Purpose Link Text": "Más información", 12035 "Purpose Screen Title Text": 12036 "Tu privacidad es importante para nosotros", 12037 "Purpose Screen Body Text": 12038 "Puedes configurar tus preferencias y elegir como quieres que tus datos sean utilizados para los siguientes propósitos. Puedes elegir configurar tus preferencias solo con nosotros independientemente del resto de nuestros partners. Cada propósito tiene una descripción para que puedas saber como nosotros y nuestros partners utilizamos tus datos", 12039 "Purpose Screen Vendor Link Text": "Ver lista completa de partners", 12040 "Purpose Screen Cancel Button Text": "Cancelar", 12041 "Purpose Screen Save and Exit Button Text": "Guardar y salir", 12042 "Vendor Screen Title Text": "Tu privacidad es importante para nosotros", 12043 "Vendor Screen Body Text": 12044 "Puedes dar tu consentimiento de manera individual a cada partner. Ver la lista de todos los propósitos para los cuales utilizan tus datos para tener más información. En algunos casos, las empresas pueden revelar que usan tus datos sin pedir tu c
12044onsentimiento, en función de intereses legÃtimos. Puedes hacer click en su polÃtica de privacidad para obtener más información al respecto o para rechazarlo.", 12045 "Vendor Screen Accept All Button Text": "Aceptar todo", 12046 "Vendor Screen Reject All Button Text": "Rechazar todo", 12047 "Vendor Screen Purposes Link Text": "Ver propósitos", 12048 "Vendor Screen Cancel Button Text": "Cancelar", 12049 "Vendor Screen Save and Exit Button Text": "Guardar y salir", 12050 "Initial Screen Body Text": 12051 "Tanto nuestros partners como nosotros utilizamos cookies en nuestro sitio web para personalizar contenido y publicidad, proporcionar funcionalidades a las redes sociales, o analizar nuestro tráfico. Haciendo click consientes el uso de esta tecnología en nuestra web. Puedes cambiar de opinión y personalizar tu consentimiento siempre que quieras volviendo a esta web.", 12052 "Initial Screen Body Text Option": 1, 12053 "Publisher Name": "AndalucÃa Información", 12054 "Display UI": "always", 12055 "Min Days Between UI Displays": 365, 12056 "Publisher Purpose IDs": [1], 12057 "Consent Scope": "service", 12058 "Post Consent Page": "#", 12059 "UI Layout": "banner", 12060 }); 12061 }, 12062 HACKS = function () { 12063 $(".VIDEOBANNER .BANNER").append( 12064 "<a target='_blank' href='https://7tvandalucia.es'> </a>" 12065 ), 12066 $(".button-collapse").sideNav(), 12067 window.location.href.indexOf("vivagalicia.tv/") > 0 && 12068 (console.log("GALICIA"), 12069 $(".footer-mid .container .row .s12:nth-child(1)").hide(), 12070 $(".footer-mid .container .row .s12:nth-child(2)").hide(), 12071 $(".footer-mid .container .row .s12:nth-child(3)").hide(), 12072 $(".footer-mid .container .row .s12:nth-child(3)").hide(), 12073 $(".footer-mid .container .row .s12:nth-child(4) .row .s12").show()); 12074 }, 12075 CHECK_NEWSLETTER = function () { 12076 $("#popup_edicion_id").val(0); 12077 }, 12078 SHOWEXTRA = function () { 12079 $(".btn-extra").click(function () { 12080 $(".NAV-right").toggleClass("showextra"); 12081 }); 12082 }, 12083 GRIDTAB_XL = function () { 12084 $("#gridtab-1").gridtab({ 12085 grid: 5, 12086 borderWidth: 2, 12087 tabPadding: 0, 12088 contentPadding: 0, 12089 contentBackground: "#fff",
12090 activeTabBackground: "#f2f2f2", 12091 contentBorderColor: "#d9d9d9", 12092 config: { showClose: !0, showArrows: !0, layout: "tab", scrollToTab: !0 }, 12093 }); 12094 }, 12095 GRIDTAB_L = function () { 12096 $("#gridtab-1").gridtab({ 12097 grid: 4, 12098 borderWidth: 2, 12099 tabPadding: 0, 12100 contentPadding: 0, 12101 contentBackground: "#fff", 12102 activeTabBackground: "#f2f2f2", 12103 contentBorderColor: "#d9d9d9", 12104 config: { showClose: !0, showArrows: !0, layout: "tab", scrollToTab: !0 }, 12105 }); 12106 }, 12107 GRIDTAB_M = function () { 12108 $("#gridtab-1").gridtab({ 12109 grid: 3, 12110 borderWidth: 2, 12111 tabPadding: 0, 12112 contentPadding: 0, 12113 contentBackground: "#fff", 12114 activeTabBackground: "#f2f2f2", 12115 contentBorderColor: "#d9d9d9", 12116 config: { showClose: !0, showArrows: !0, layout: "tab", scrollToTab: !0 }, 12117 }); 12118 }, 12119 GRIDTAB_S = function () { 12120 $("#gridtab-1").gridtab({ 12121 grid: 2, 12122 borderWidth: 2, 12123 tabPadding: 0, 12124 contentPadding: 0, 12125 contentBackground: "#fff",
12126 activeTabBackground: "#f2f2f2", 12127 contentBorderColor: "#d9d9d9", 12128 config: { showClose: !0, showArrows: !0, layout: "tab", scrollToTab: !0 }, 12129 }); 12130 }, 12131 GRIDTAB_XS = function () { 12132 $("#gridtab-1").gridtab({ 12133 grid: 1, 12134 borderWidth: 2, 12135 tabPadding: 0, 12136 contentPadding: 0, 12137 contentBackground: "#fff", 12138 activeTabBackground: "#f2f2f2", 12139 contentBorderColor: "#d9d9d9", 12140 config: { showClose: !0, showArrows: !0, layout: "tab", scrollToTab: !0 }, 12141 }); 12142 }, 12143 JS_Scripts = function () { 12144 MENU_NAVEGACION(), 12145 BOLDS_MENU(), 12146 HEMEROTECA_HOVER(), 12147 SLICK_SLIDER(), 12148 TICKER_ULTIMAHORA(), 12149 MATERIAL_SELECT(), 12150 LAZY_LOAD(), 12151 ADBLOCK_DETECT(), 12152 MODALES(), 12153 SWIPENAV(), 12154 SCROLL_TO(), 12155 SWIPENAV(), 12156 HACKS(), 12157 CHECK_NEWSLETTER(), 12158 SHOWEXTRA(), 12159 $(window).width() > 1200 12160 ? GRIDTAB_XL() 12161 : $(window).width() > 899 && $(window).width() < 1999 12162 ? GRIDTAB_L() 12163 : $(window).width() > 767 && $(window).width() < 900 12164 ? GRIDTAB_M() 12165 : $(window).width() > 480 && $(window).width() < 768 12166 ? GRIDTAB_S() 12167 : GRIDTAB_XS(); 12168 }; 12169$(document).ready(function () { 12170 JS_Scripts(); 12171}), 12172 console.log("Load script.js"); 12173var app = {}; 12174//# sourceMappingURL=all.js.map
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.