gotify-firefox

Send push notifications to your Gotify server from Firefox
git clone git://fossdaily.xyz/gotify-firefox
Log | Files | Refs | README | LICENSE

materialize.min.js (374415B)


      1 /*!
      2  * Materialize v0.100.2 (http://materializecss.com)
      3  * Copyright 2014-2017 Materialize
      4  * MIT License (https://raw.githubusercontent.com/Dogfalo/materialize/master/LICENSE)
      5  */
      6 function _classCallCheck(t, e) {
      7   if (!(t instanceof e))
      8     throw new TypeError("Cannot call a class as a function");
      9 }
     10 var _createClass = (function () {
     11   function t(t, e) {
     12     for (var i = 0; i < e.length; i++) {
     13       var n = e[i];
     14       (n.enumerable = n.enumerable || !1),
     15         (n.configurable = !0),
     16         "value" in n && (n.writable = !0),
     17         Object.defineProperty(t, n.key, n);
     18     }
     19   }
     20   return function (e, i, n) {
     21     return i && t(e.prototype, i), n && t(e, n), e;
     22   };
     23 })();
     24 "undefined" == typeof jQuery &&
     25   ("function" == typeof require
     26     ? (jQuery = $ = require("jquery"))
     27     : (jQuery = $)),
     28   (function (t) {
     29     "function" == typeof define && define.amd
     30       ? define(["jquery"], function (e) {
     31           return t(e);
     32         })
     33       : "object" == typeof module && "object" == typeof module.exports
     34       ? (exports = t(require("jquery")))
     35       : t(jQuery);
     36   })(function (t) {
     37     function e(t) {
     38       var e = 7.5625,
     39         i = 2.75;
     40       return t < 1 / i
     41         ? e * t * t
     42         : t < 2 / i
     43         ? e * (t -= 1.5 / i) * t + 0.75
     44         : t < 2.5 / i
     45         ? e * (t -= 2.25 / i) * t + 0.9375
     46         : e * (t -= 2.625 / i) * t + 0.984375;
     47     }
     48     t.easing.jswing = t.easing.swing;
     49     var i = Math.pow,
     50       n = Math.sqrt,
     51       o = Math.sin,
     52       a = Math.cos,
     53       r = Math.PI,
     54       s = 1.70158,
     55       l = 1.525 * s,
     56       c = (2 * r) / 3,
     57       u = (2 * r) / 4.5;
     58     t.extend(t.easing, {
     59       def: "easeOutQuad",
     60       swing: function (e) {
     61         return t.easing[t.easing.def](e);
     62       },
     63       easeInQuad: function (t) {
     64         return t * t;
     65       },
     66       easeOutQuad: function (t) {
     67         return 1 - (1 - t) * (1 - t);
     68       },
     69       easeInOutQuad: function (t) {
     70         return t < 0.5 ? 2 * t * t : 1 - i(-2 * t + 2, 2) / 2;
     71       },
     72       easeInCubic: function (t) {
     73         return t * t * t;
     74       },
     75       easeOutCubic: function (t) {
     76         return 1 - i(1 - t, 3);
     77       },
     78       easeInOutCubic: function (t) {
     79         return t < 0.5 ? 4 * t * t * t : 1 - i(-2 * t + 2, 3) / 2;
     80       },
     81       easeInQuart: function (t) {
     82         return t * t * t * t;
     83       },
     84       easeOutQuart: function (t) {
     85         return 1 - i(1 - t, 4);
     86       },
     87       easeInOutQuart: function (t) {
     88         return t < 0.5 ? 8 * t * t * t * t : 1 - i(-2 * t + 2, 4) / 2;
     89       },
     90       easeInQuint: function (t) {
     91         return t * t * t * t * t;
     92       },
     93       easeOutQuint: function (t) {
     94         return 1 - i(1 - t, 5);
     95       },
     96       easeInOutQuint: function (t) {
     97         return t < 0.5 ? 16 * t * t * t * t * t : 1 - i(-2 * t + 2, 5) / 2;
     98       },
     99       easeInSine: function (t) {
    100         return 1 - a((t * r) / 2);
    101       },
    102       easeOutSine: function (t) {
    103         return o((t * r) / 2);
    104       },
    105       easeInOutSine: function (t) {
    106         return -(a(r * t) - 1) / 2;
    107       },
    108       easeInExpo: function (t) {
    109         return 0 === t ? 0 : i(2, 10 * t - 10);
    110       },
    111       easeOutExpo: function (t) {
    112         return 1 === t ? 1 : 1 - i(2, -10 * t);
    113       },
    114       easeInOutExpo: function (t) {
    115         return 0 === t
    116           ? 0
    117           : 1 === t
    118           ? 1
    119           : t < 0.5
    120           ? i(2, 20 * t - 10) / 2
    121           : (2 - i(2, -20 * t + 10)) / 2;
    122       },
    123       easeInCirc: function (t) {
    124         return 1 - n(1 - i(t, 2));
    125       },
    126       easeOutCirc: function (t) {
    127         return n(1 - i(t - 1, 2));
    128       },
    129       easeInOutCirc: function (t) {
    130         return t < 0.5
    131           ? (1 - n(1 - i(2 * t, 2))) / 2
    132           : (n(1 - i(-2 * t + 2, 2)) + 1) / 2;
    133       },
    134       easeInElastic: function (t) {
    135         return 0 === t
    136           ? 0
    137           : 1 === t
    138           ? 1
    139           : -i(2, 10 * t - 10) * o((10 * t - 10.75) * c);
    140       },
    141       easeOutElastic: function (t) {
    142         return 0 === t
    143           ? 0
    144           : 1 === t
    145           ? 1
    146           : i(2, -10 * t) * o((10 * t - 0.75) * c) + 1;
    147       },
    148       easeInOutElastic: function (t) {
    149         return 0 === t
    150           ? 0
    151           : 1 === t
    152           ? 1
    153           : t < 0.5
    154           ? (-i(2, 20 * t - 10) * o((20 * t - 11.125) * u)) / 2
    155           : (i(2, -20 * t + 10) * o((20 * t - 11.125) * u)) / 2 + 1;
    156       },
    157       easeInBack: function (t) {
    158         return 2.70158 * t * t * t - s * t * t;
    159       },
    160       easeOutBack: function (t) {
    161         return 1 + 2.70158 * i(t - 1, 3) + s * i(t - 1, 2);
    162       },
    163       easeInOutBack: function (t) {
    164         return t < 0.5
    165           ? (i(2 * t, 2) * (7.189819 * t - l)) / 2
    166           : (i(2 * t - 2, 2) * ((l + 1) * (2 * t - 2) + l) + 2) / 2;
    167       },
    168       easeInBounce: function (t) {
    169         return 1 - e(1 - t);
    170       },
    171       easeOutBounce: e,
    172       easeInOutBounce: function (t) {
    173         return t < 0.5 ? (1 - e(1 - 2 * t)) / 2 : (1 + e(2 * t - 1)) / 2;
    174       },
    175     });
    176   }),
    177   jQuery.extend(jQuery.easing, {
    178     easeInOutMaterial: function (t, e, i, n, o) {
    179       return (e /= o / 2) < 1
    180         ? (n / 2) * e * e + i
    181         : (n / 4) * ((e -= 2) * e * e + 2) + i;
    182     },
    183   }),
    184   jQuery.Velocity
    185     ? console.log(
    186         "Velocity is already loaded. You may be needlessly importing Velocity again; note that Materialize includes Velocity."
    187       )
    188     : ((function (t) {
    189         function e(t) {
    190           var e = t.length,
    191             n = i.type(t);
    192           return (
    193             "function" !== n &&
    194             !i.isWindow(t) &&
    195             (!(1 !== t.nodeType || !e) ||
    196               "array" === n ||
    197               0 === e ||
    198               ("number" == typeof e && e > 0 && e - 1 in t))
    199           );
    200         }
    201         if (!t.jQuery) {
    202           var i = function (t, e) {
    203             return new i.fn.init(t, e);
    204           };
    205           (i.isWindow = function (t) {
    206             return null != t && t == t.window;
    207           }),
    208             (i.type = function (t) {
    209               return null == t
    210                 ? t + ""
    211                 : "object" == typeof t || "function" == typeof t
    212                 ? o[r.call(t)] || "object"
    213                 : typeof t;
    214             }),
    215             (i.isArray =
    216               Array.isArray ||
    217               function (t) {
    218                 return "array" === i.type(t);
    219               }),
    220             (i.isPlainObject = function (t) {
    221               var e;
    222               if (!t || "object" !== i.type(t) || t.nodeType || i.isWindow(t))
    223                 return !1;
    224               try {
    225                 if (
    226                   t.constructor &&
    227                   !a.call(t, "constructor") &&
    228                   !a.call(t.constructor.prototype, "isPrototypeOf")
    229                 )
    230                   return !1;
    231               } catch (t) {
    232                 return !1;
    233               }
    234               for (e in t);
    235               return void 0 === e || a.call(t, e);
    236             }),
    237             (i.each = function (t, i, n) {
    238               var o = 0,
    239                 a = t.length,
    240                 r = e(t);
    241               if (n) {
    242                 if (r) for (; a > o && !1 !== i.apply(t[o], n); o++);
    243                 else for (o in t) if (!1 === i.apply(t[o], n)) break;
    244               } else if (r) for (; a > o && !1 !== i.call(t[o], o, t[o]); o++);
    245               else for (o in t) if (!1 === i.call(t[o], o, t[o])) break;
    246               return t;
    247             }),
    248             (i.data = function (t, e, o) {
    249               if (void 0 === o) {
    250                 var a = (r = t[i.expando]) && n[r];
    251                 if (void 0 === e) return a;
    252                 if (a && e in a) return a[e];
    253               } else if (void 0 !== e) {
    254                 var r = t[i.expando] || (t[i.expando] = ++i.uuid);
    255                 return (n[r] = n[r] || {}), (n[r][e] = o), o;
    256               }
    257             }),
    258             (i.removeData = function (t, e) {
    259               var o = t[i.expando],
    260                 a = o && n[o];
    261               a &&
    262                 i.each(e, function (t, e) {
    263                   delete a[e];
    264                 });
    265             }),
    266             (i.extend = function () {
    267               var t,
    268                 e,
    269                 n,
    270                 o,
    271                 a,
    272                 r,
    273                 s = arguments[0] || {},
    274                 l = 1,
    275                 c = arguments.length,
    276                 u = !1;
    277               for (
    278                 "boolean" == typeof s &&
    279                   ((u = s), (s = arguments[l] || {}), l++),
    280                   "object" != typeof s && "function" !== i.type(s) && (s = {}),
    281                   l === c && ((s = this), l--);
    282                 c > l;
    283                 l++
    284               )
    285                 if (null != (a = arguments[l]))
    286                   for (o in a)
    287                     (t = s[o]),
    288                       s !== (n = a[o]) &&
    289                         (u && n && (i.isPlainObject(n) || (e = i.isArray(n)))
    290                           ? (e
    291                               ? ((e = !1), (r = t && i.isArray(t) ? t : []))
    292                               : (r = t && i.isPlainObject(t) ? t : {}),
    293                             (s[o] = i.extend(u, r, n)))
    294                           : void 0 !== n && (s[o] = n));
    295               return s;
    296             }),
    297             (i.queue = function (t, n, o) {
    298               if (t) {
    299                 n = (n || "fx") + "queue";
    300                 var a = i.data(t, n);
    301                 return o
    302                   ? (!a || i.isArray(o)
    303                       ? (a = i.data(
    304                           t,
    305                           n,
    306                           (function (t, i) {
    307                             var n = i || [];
    308                             return (
    309                               null != t &&
    310                                 (e(Object(t))
    311                                   ? (function (t, e) {
    312                                       for (
    313                                         var i = +e.length, n = 0, o = t.length;
    314                                         i > n;
    315 
    316                                       )
    317                                         t[o++] = e[n++];
    318                                       if (i !== i)
    319                                         for (; void 0 !== e[n]; )
    320                                           t[o++] = e[n++];
    321                                       t.length = o;
    322                                     })(n, "string" == typeof t ? [t] : t)
    323                                   : [].push.call(n, t)),
    324                               n
    325                             );
    326                           })(o)
    327                         ))
    328                       : a.push(o),
    329                     a)
    330                   : a || [];
    331               }
    332             }),
    333             (i.dequeue = function (t, e) {
    334               i.each(t.nodeType ? [t] : t, function (t, n) {
    335                 e = e || "fx";
    336                 var o = i.queue(n, e),
    337                   a = o.shift();
    338                 "inprogress" === a && (a = o.shift()),
    339                   a &&
    340                     ("fx" === e && o.unshift("inprogress"),
    341                     a.call(n, function () {
    342                       i.dequeue(n, e);
    343                     }));
    344               });
    345             }),
    346             (i.fn = i.prototype = {
    347               init: function (t) {
    348                 if (t.nodeType) return (this[0] = t), this;
    349                 throw new Error("Not a DOM node.");
    350               },
    351               offset: function () {
    352                 var e = this[0].getBoundingClientRect
    353                   ? this[0].getBoundingClientRect()
    354                   : {
    355                       top: 0,
    356                       left: 0,
    357                     };
    358                 return {
    359                   top:
    360                     e.top +
    361                     (t.pageYOffset || document.scrollTop || 0) -
    362                     (document.clientTop || 0),
    363                   left:
    364                     e.left +
    365                     (t.pageXOffset || document.scrollLeft || 0) -
    366                     (document.clientLeft || 0),
    367                 };
    368               },
    369               position: function () {
    370                 function t() {
    371                   for (
    372                     var t = this.offsetParent || document;
    373                     t &&
    374                     "html" === !t.nodeType.toLowerCase &&
    375                     "static" === t.style.position;
    376 
    377                   )
    378                     t = t.offsetParent;
    379                   return t || document;
    380                 }
    381                 var e = this[0],
    382                   t = t.apply(e),
    383                   n = this.offset(),
    384                   o = /^(?:body|html)$/i.test(t.nodeName)
    385                     ? {
    386                         top: 0,
    387                         left: 0,
    388                       }
    389                     : i(t).offset();
    390                 return (
    391                   (n.top -= parseFloat(e.style.marginTop) || 0),
    392                   (n.left -= parseFloat(e.style.marginLeft) || 0),
    393                   t.style &&
    394                     ((o.top += parseFloat(t.style.borderTopWidth) || 0),
    395                     (o.left += parseFloat(t.style.borderLeftWidth) || 0)),
    396                   {
    397                     top: n.top - o.top,
    398                     left: n.left - o.left,
    399                   }
    400                 );
    401               },
    402             });
    403           var n = {};
    404           (i.expando = "velocity" + new Date().getTime()), (i.uuid = 0);
    405           for (
    406             var o = {},
    407               a = o.hasOwnProperty,
    408               r = o.toString,
    409               s = "Boolean Number String Function Array Date RegExp Object Error".split(
    410                 " "
    411               ),
    412               l = 0;
    413             l < s.length;
    414             l++
    415           )
    416             o["[object " + s[l] + "]"] = s[l].toLowerCase();
    417           (i.fn.init.prototype = i.fn),
    418             (t.Velocity = {
    419               Utilities: i,
    420             });
    421         }
    422       })(window),
    423       (function (t) {
    424         "object" == typeof module && "object" == typeof module.exports
    425           ? (module.exports = t())
    426           : "function" == typeof define && define.amd
    427           ? define(t)
    428           : t();
    429       })(function () {
    430         return (function (t, e, i, n) {
    431           function o(t) {
    432             for (var e = -1, i = t ? t.length : 0, n = []; ++e < i; ) {
    433               var o = t[e];
    434               o && n.push(o);
    435             }
    436             return n;
    437           }
    438 
    439           function a(t) {
    440             return (
    441               v.isWrapped(t)
    442                 ? (t = [].slice.call(t))
    443                 : v.isNode(t) && (t = [t]),
    444               t
    445             );
    446           }
    447 
    448           function r(t) {
    449             var e = p.data(t, "velocity");
    450             return null === e ? n : e;
    451           }
    452 
    453           function s(t) {
    454             return function (e) {
    455               return Math.round(e * t) * (1 / t);
    456             };
    457           }
    458 
    459           function l(t, i, n, o) {
    460             function a(t, e) {
    461               return 1 - 3 * e + 3 * t;
    462             }
    463 
    464             function r(t, e) {
    465               return 3 * e - 6 * t;
    466             }
    467 
    468             function s(t) {
    469               return 3 * t;
    470             }
    471 
    472             function l(t, e, i) {
    473               return ((a(e, i) * t + r(e, i)) * t + s(e)) * t;
    474             }
    475 
    476             function c(t, e, i) {
    477               return 3 * a(e, i) * t * t + 2 * r(e, i) * t + s(e);
    478             }
    479 
    480             function u(e, i) {
    481               for (var o = 0; v > o; ++o) {
    482                 var a = c(i, t, n);
    483                 if (0 === a) return i;
    484                 i -= (l(i, t, n) - e) / a;
    485               }
    486               return i;
    487             }
    488 
    489             function d() {
    490               for (var e = 0; b > e; ++e) C[e] = l(e * w, t, n);
    491             }
    492 
    493             function p(e, i, o) {
    494               var a,
    495                 r,
    496                 s = 0;
    497               do {
    498                 (a = l((r = i + (o - i) / 2), t, n) - e) > 0
    499                   ? (o = r)
    500                   : (i = r);
    501               } while (Math.abs(a) > g && ++s < y);
    502               return r;
    503             }
    504 
    505             function h(e) {
    506               for (var i = 0, o = 1, a = b - 1; o != a && C[o] <= e; ++o)
    507                 i += w;
    508               var r = i + ((e - C[--o]) / (C[o + 1] - C[o])) * w,
    509                 s = c(r, t, n);
    510               return s >= m ? u(e, r) : 0 == s ? r : p(e, i, i + w);
    511             }
    512 
    513             function f() {
    514               (T = !0), (t != i || n != o) && d();
    515             }
    516             var v = 4,
    517               m = 0.001,
    518               g = 1e-7,
    519               y = 10,
    520               b = 11,
    521               w = 1 / (b - 1),
    522               k = "Float32Array" in e;
    523             if (4 !== arguments.length) return !1;
    524             for (var x = 0; 4 > x; ++x)
    525               if (
    526                 "number" != typeof arguments[x] ||
    527                 isNaN(arguments[x]) ||
    528                 !isFinite(arguments[x])
    529               )
    530                 return !1;
    531             (t = Math.min(t, 1)),
    532               (n = Math.min(n, 1)),
    533               (t = Math.max(t, 0)),
    534               (n = Math.max(n, 0));
    535             var C = k ? new Float32Array(b) : new Array(b),
    536               T = !1,
    537               S = function (e) {
    538                 return (
    539                   T || f(),
    540                   t === i && n === o
    541                     ? e
    542                     : 0 === e
    543                     ? 0
    544                     : 1 === e
    545                     ? 1
    546                     : l(h(e), i, o)
    547                 );
    548               };
    549             S.getControlPoints = function () {
    550               return [
    551                 {
    552                   x: t,
    553                   y: i,
    554                 },
    555                 {
    556                   x: n,
    557                   y: o,
    558                 },
    559               ];
    560             };
    561             var P = "generateBezier(" + [t, i, n, o] + ")";
    562             return (
    563               (S.toString = function () {
    564                 return P;
    565               }),
    566               S
    567             );
    568           }
    569 
    570           function c(t, e) {
    571             var i = t;
    572             return (
    573               v.isString(t)
    574                 ? b.Easings[t] || (i = !1)
    575                 : (i =
    576                     v.isArray(t) && 1 === t.length
    577                       ? s.apply(null, t)
    578                       : v.isArray(t) && 2 === t.length
    579                       ? w.apply(null, t.concat([e]))
    580                       : !(!v.isArray(t) || 4 !== t.length) && l.apply(null, t)),
    581               !1 === i &&
    582                 (i = b.Easings[b.defaults.easing] ? b.defaults.easing : y),
    583               i
    584             );
    585           }
    586 
    587           function u(t) {
    588             if (t) {
    589               var e = new Date().getTime(),
    590                 i = b.State.calls.length;
    591               i > 1e4 && (b.State.calls = o(b.State.calls));
    592               for (var a = 0; i > a; a++)
    593                 if (b.State.calls[a]) {
    594                   var s = b.State.calls[a],
    595                     l = s[0],
    596                     c = s[2],
    597                     h = s[3],
    598                     f = !!h,
    599                     m = null;
    600                   h || (h = b.State.calls[a][3] = e - 16);
    601                   for (
    602                     var g = Math.min((e - h) / c.duration, 1),
    603                       y = 0,
    604                       w = l.length;
    605                     w > y;
    606                     y++
    607                   ) {
    608                     var x = l[y],
    609                       T = x.element;
    610                     if (r(T)) {
    611                       var S = !1;
    612                       if (
    613                         c.display !== n &&
    614                         null !== c.display &&
    615                         "none" !== c.display
    616                       ) {
    617                         if ("flex" === c.display) {
    618                           var P = [
    619                             "-webkit-box",
    620                             "-moz-box",
    621                             "-ms-flexbox",
    622                             "-webkit-flex",
    623                           ];
    624                           p.each(P, function (t, e) {
    625                             k.setPropertyValue(T, "display", e);
    626                           });
    627                         }
    628                         k.setPropertyValue(T, "display", c.display);
    629                       }
    630                       c.visibility !== n &&
    631                         "hidden" !== c.visibility &&
    632                         k.setPropertyValue(T, "visibility", c.visibility);
    633                       for (var A in x)
    634                         if ("element" !== A) {
    635                           var O,
    636                             E = x[A],
    637                             _ = v.isString(E.easing)
    638                               ? b.Easings[E.easing]
    639                               : E.easing;
    640                           if (1 === g) O = E.endValue;
    641                           else {
    642                             var M = E.endValue - E.startValue;
    643                             if (
    644                               ((O = E.startValue + M * _(g, c, M)),
    645                               !f && O === E.currentValue)
    646                             )
    647                               continue;
    648                           }
    649                           if (((E.currentValue = O), "tween" === A)) m = O;
    650                           else {
    651                             if (k.Hooks.registered[A]) {
    652                               var I = k.Hooks.getRoot(A),
    653                                 D = r(T).rootPropertyValueCache[I];
    654                               D && (E.rootPropertyValue = D);
    655                             }
    656                             var q = k.setPropertyValue(
    657                               T,
    658                               A,
    659                               E.currentValue +
    660                                 (0 === parseFloat(O) ? "" : E.unitType),
    661                               E.rootPropertyValue,
    662                               E.scrollData
    663                             );
    664                             k.Hooks.registered[A] &&
    665                               (r(T).rootPropertyValueCache[I] = k.Normalizations
    666                                 .registered[I]
    667                                 ? k.Normalizations.registered[I](
    668                                     "extract",
    669                                     null,
    670                                     q[1]
    671                                   )
    672                                 : q[1]),
    673                               "transform" === q[0] && (S = !0);
    674                           }
    675                         }
    676                       c.mobileHA &&
    677                         r(T).transformCache.translate3d === n &&
    678                         ((r(T).transformCache.translate3d = "(0px, 0px, 0px)"),
    679                         (S = !0)),
    680                         S && k.flushTransformCache(T);
    681                     }
    682                   }
    683                   c.display !== n &&
    684                     "none" !== c.display &&
    685                     (b.State.calls[a][2].display = !1),
    686                     c.visibility !== n &&
    687                       "hidden" !== c.visibility &&
    688                       (b.State.calls[a][2].visibility = !1),
    689                     c.progress &&
    690                       c.progress.call(
    691                         s[1],
    692                         s[1],
    693                         g,
    694                         Math.max(0, h + c.duration - e),
    695                         h,
    696                         m
    697                       ),
    698                     1 === g && d(a);
    699                 }
    700             }
    701             b.State.isTicking && C(u);
    702           }
    703 
    704           function d(t, e) {
    705             if (!b.State.calls[t]) return !1;
    706             for (
    707               var i = b.State.calls[t][0],
    708                 o = b.State.calls[t][1],
    709                 a = b.State.calls[t][2],
    710                 s = b.State.calls[t][4],
    711                 l = !1,
    712                 c = 0,
    713                 u = i.length;
    714               u > c;
    715               c++
    716             ) {
    717               var d = i[c].element;
    718               if (
    719                 (e ||
    720                   a.loop ||
    721                   ("none" === a.display &&
    722                     k.setPropertyValue(d, "display", a.display),
    723                   "hidden" === a.visibility &&
    724                     k.setPropertyValue(d, "visibility", a.visibility)),
    725                 !0 !== a.loop &&
    726                   (p.queue(d)[1] === n ||
    727                     !/\.velocityQueueEntryFlag/i.test(p.queue(d)[1])) &&
    728                   r(d))
    729               ) {
    730                 (r(d).isAnimating = !1), (r(d).rootPropertyValueCache = {});
    731                 var h = !1;
    732                 p.each(k.Lists.transforms3D, function (t, e) {
    733                   var i = /^scale/.test(e) ? 1 : 0,
    734                     o = r(d).transformCache[e];
    735                   r(d).transformCache[e] !== n &&
    736                     new RegExp("^\\(" + i + "[^.]").test(o) &&
    737                     ((h = !0), delete r(d).transformCache[e]);
    738                 }),
    739                   a.mobileHA &&
    740                     ((h = !0), delete r(d).transformCache.translate3d),
    741                   h && k.flushTransformCache(d),
    742                   k.Values.removeClass(d, "velocity-animating");
    743               }
    744               if (!e && a.complete && !a.loop && c === u - 1)
    745                 try {
    746                   a.complete.call(o, o);
    747                 } catch (t) {
    748                   setTimeout(function () {
    749                     throw t;
    750                   }, 1);
    751                 }
    752               s && !0 !== a.loop && s(o),
    753                 r(d) &&
    754                   !0 === a.loop &&
    755                   !e &&
    756                   (p.each(r(d).tweensContainer, function (t, e) {
    757                     /^rotate/.test(t) &&
    758                       360 === parseFloat(e.endValue) &&
    759                       ((e.endValue = 0), (e.startValue = 360)),
    760                       /^backgroundPosition/.test(t) &&
    761                         100 === parseFloat(e.endValue) &&
    762                         "%" === e.unitType &&
    763                         ((e.endValue = 0), (e.startValue = 100));
    764                   }),
    765                   b(d, "reverse", {
    766                     loop: !0,
    767                     delay: a.delay,
    768                   })),
    769                 !1 !== a.queue && p.dequeue(d, a.queue);
    770             }
    771             b.State.calls[t] = !1;
    772             for (var f = 0, v = b.State.calls.length; v > f; f++)
    773               if (!1 !== b.State.calls[f]) {
    774                 l = !0;
    775                 break;
    776               }
    777             !1 === l &&
    778               ((b.State.isTicking = !1),
    779               delete b.State.calls,
    780               (b.State.calls = []));
    781           }
    782           var p,
    783             h = (function () {
    784               if (i.documentMode) return i.documentMode;
    785               for (var t = 7; t > 4; t--) {
    786                 var e = i.createElement("div");
    787                 if (
    788                   ((e.innerHTML =
    789                     "\x3c!--[if IE " + t + "]><span></span><![endif]--\x3e"),
    790                   e.getElementsByTagName("span").length)
    791                 )
    792                   return (e = null), t;
    793               }
    794               return n;
    795             })(),
    796             f = (function () {
    797               var t = 0;
    798               return (
    799                 e.webkitRequestAnimationFrame ||
    800                 e.mozRequestAnimationFrame ||
    801                 function (e) {
    802                   var i,
    803                     n = new Date().getTime();
    804                   return (
    805                     (i = Math.max(0, 16 - (n - t))),
    806                     (t = n + i),
    807                     setTimeout(function () {
    808                       e(n + i);
    809                     }, i)
    810                   );
    811                 }
    812               );
    813             })(),
    814             v = {
    815               isString: function (t) {
    816                 return "string" == typeof t;
    817               },
    818               isArray:
    819                 Array.isArray ||
    820                 function (t) {
    821                   return "[object Array]" === Object.prototype.toString.call(t);
    822                 },
    823               isFunction: function (t) {
    824                 return (
    825                   "[object Function]" === Object.prototype.toString.call(t)
    826                 );
    827               },
    828               isNode: function (t) {
    829                 return t && t.nodeType;
    830               },
    831               isNodeList: function (t) {
    832                 return (
    833                   "object" == typeof t &&
    834                   /^\[object (HTMLCollection|NodeList|Object)\]$/.test(
    835                     Object.prototype.toString.call(t)
    836                   ) &&
    837                   t.length !== n &&
    838                   (0 === t.length ||
    839                     ("object" == typeof t[0] && t[0].nodeType > 0))
    840                 );
    841               },
    842               isWrapped: function (t) {
    843                 return t && (t.jquery || (e.Zepto && e.Zepto.zepto.isZ(t)));
    844               },
    845               isSVG: function (t) {
    846                 return e.SVGElement && t instanceof e.SVGElement;
    847               },
    848               isEmptyObject: function (t) {
    849                 for (var e in t) return !1;
    850                 return !0;
    851               },
    852             },
    853             m = !1;
    854           if (
    855             (t.fn && t.fn.jquery
    856               ? ((p = t), (m = !0))
    857               : (p = e.Velocity.Utilities),
    858             8 >= h && !m)
    859           )
    860             throw new Error(
    861               "Velocity: IE8 and below require jQuery to be loaded before Velocity."
    862             );
    863           {
    864             if (!(7 >= h)) {
    865               var g = 400,
    866                 y = "swing",
    867                 b = {
    868                   State: {
    869                     isMobile: /Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(
    870                       navigator.userAgent
    871                     ),
    872                     isAndroid: /Android/i.test(navigator.userAgent),
    873                     isGingerbread: /Android 2\.3\.[3-7]/i.test(
    874                       navigator.userAgent
    875                     ),
    876                     isChrome: e.chrome,
    877                     isFirefox: /Firefox/i.test(navigator.userAgent),
    878                     prefixElement: i.createElement("div"),
    879                     prefixMatches: {},
    880                     scrollAnchor: null,
    881                     scrollPropertyLeft: null,
    882                     scrollPropertyTop: null,
    883                     isTicking: !1,
    884                     calls: [],
    885                   },
    886                   CSS: {},
    887                   Utilities: p,
    888                   Redirects: {},
    889                   Easings: {},
    890                   Promise: e.Promise,
    891                   defaults: {
    892                     queue: "",
    893                     duration: g,
    894                     easing: y,
    895                     begin: n,
    896                     complete: n,
    897                     progress: n,
    898                     display: n,
    899                     visibility: n,
    900                     loop: !1,
    901                     delay: !1,
    902                     mobileHA: !0,
    903                     _cacheValues: !0,
    904                   },
    905                   init: function (t) {
    906                     p.data(t, "velocity", {
    907                       isSVG: v.isSVG(t),
    908                       isAnimating: !1,
    909                       computedStyle: null,
    910                       tweensContainer: null,
    911                       rootPropertyValueCache: {},
    912                       transformCache: {},
    913                     });
    914                   },
    915                   hook: null,
    916                   mock: !1,
    917                   version: {
    918                     major: 1,
    919                     minor: 2,
    920                     patch: 2,
    921                   },
    922                   debug: !1,
    923                 };
    924               e.pageYOffset !== n
    925                 ? ((b.State.scrollAnchor = e),
    926                   (b.State.scrollPropertyLeft = "pageXOffset"),
    927                   (b.State.scrollPropertyTop = "pageYOffset"))
    928                 : ((b.State.scrollAnchor =
    929                     i.documentElement || i.body.parentNode || i.body),
    930                   (b.State.scrollPropertyLeft = "scrollLeft"),
    931                   (b.State.scrollPropertyTop = "scrollTop"));
    932               var w = (function () {
    933                 function t(t) {
    934                   return -t.tension * t.x - t.friction * t.v;
    935                 }
    936 
    937                 function e(e, i, n) {
    938                   var o = {
    939                     x: e.x + n.dx * i,
    940                     v: e.v + n.dv * i,
    941                     tension: e.tension,
    942                     friction: e.friction,
    943                   };
    944                   return {
    945                     dx: o.v,
    946                     dv: t(o),
    947                   };
    948                 }
    949 
    950                 function i(i, n) {
    951                   var o = {
    952                       dx: i.v,
    953                       dv: t(i),
    954                     },
    955                     a = e(i, 0.5 * n, o),
    956                     r = e(i, 0.5 * n, a),
    957                     s = e(i, n, r),
    958                     l = (1 / 6) * (o.dx + 2 * (a.dx + r.dx) + s.dx),
    959                     c = (1 / 6) * (o.dv + 2 * (a.dv + r.dv) + s.dv);
    960                   return (i.x = i.x + l * n), (i.v = i.v + c * n), i;
    961                 }
    962                 return function t(e, n, o) {
    963                   var a,
    964                     r,
    965                     s,
    966                     l = {
    967                       x: -1,
    968                       v: 0,
    969                       tension: null,
    970                       friction: null,
    971                     },
    972                     c = [0],
    973                     u = 0;
    974                   for (
    975                     e = parseFloat(e) || 500,
    976                       n = parseFloat(n) || 20,
    977                       o = o || null,
    978                       l.tension = e,
    979                       l.friction = n,
    980                       (a = null !== o)
    981                         ? ((u = t(e, n)), (r = (u / o) * 0.016))
    982                         : (r = 0.016);
    983                     (s = i(s || l, r)),
    984                       c.push(1 + s.x),
    985                       (u += 16),
    986                       Math.abs(s.x) > 1e-4 && Math.abs(s.v) > 1e-4;
    987 
    988                   );
    989                   return a
    990                     ? function (t) {
    991                         return c[(t * (c.length - 1)) | 0];
    992                       }
    993                     : u;
    994                 };
    995               })();
    996               (b.Easings = {
    997                 linear: function (t) {
    998                   return t;
    999                 },
   1000                 swing: function (t) {
   1001                   return 0.5 - Math.cos(t * Math.PI) / 2;
   1002                 },
   1003                 spring: function (t) {
   1004                   return 1 - Math.cos(4.5 * t * Math.PI) * Math.exp(6 * -t);
   1005                 },
   1006               }),
   1007                 p.each(
   1008                   [
   1009                     ["ease", [0.25, 0.1, 0.25, 1]],
   1010                     ["ease-in", [0.42, 0, 1, 1]],
   1011                     ["ease-out", [0, 0, 0.58, 1]],
   1012                     ["ease-in-out", [0.42, 0, 0.58, 1]],
   1013                     ["easeInSine", [0.47, 0, 0.745, 0.715]],
   1014                     ["easeOutSine", [0.39, 0.575, 0.565, 1]],
   1015                     ["easeInOutSine", [0.445, 0.05, 0.55, 0.95]],
   1016                     ["easeInQuad", [0.55, 0.085, 0.68, 0.53]],
   1017                     ["easeOutQuad", [0.25, 0.46, 0.45, 0.94]],
   1018                     ["easeInOutQuad", [0.455, 0.03, 0.515, 0.955]],
   1019                     ["easeInCubic", [0.55, 0.055, 0.675, 0.19]],
   1020                     ["easeOutCubic", [0.215, 0.61, 0.355, 1]],
   1021                     ["easeInOutCubic", [0.645, 0.045, 0.355, 1]],
   1022                     ["easeInQuart", [0.895, 0.03, 0.685, 0.22]],
   1023                     ["easeOutQuart", [0.165, 0.84, 0.44, 1]],
   1024                     ["easeInOutQuart", [0.77, 0, 0.175, 1]],
   1025                     ["easeInQuint", [0.755, 0.05, 0.855, 0.06]],
   1026                     ["easeOutQuint", [0.23, 1, 0.32, 1]],
   1027                     ["easeInOutQuint", [0.86, 0, 0.07, 1]],
   1028                     ["easeInExpo", [0.95, 0.05, 0.795, 0.035]],
   1029                     ["easeOutExpo", [0.19, 1, 0.22, 1]],
   1030                     ["easeInOutExpo", [1, 0, 0, 1]],
   1031                     ["easeInCirc", [0.6, 0.04, 0.98, 0.335]],
   1032                     ["easeOutCirc", [0.075, 0.82, 0.165, 1]],
   1033                     ["easeInOutCirc", [0.785, 0.135, 0.15, 0.86]],
   1034                   ],
   1035                   function (t, e) {
   1036                     b.Easings[e[0]] = l.apply(null, e[1]);
   1037                   }
   1038                 );
   1039               var k = (b.CSS = {
   1040                 RegEx: {
   1041                   isHex: /^#([A-f\d]{3}){1,2}$/i,
   1042                   valueUnwrap: /^[A-z]+\((.*)\)$/i,
   1043                   wrappedValueAlreadyExtracted: /[0-9.]+ [0-9.]+ [0-9.]+( [0-9.]+)?/,
   1044                   valueSplit: /([A-z]+\(.+\))|(([A-z0-9#-.]+?)(?=\s|$))/gi,
   1045                 },
   1046                 Lists: {
   1047                   colors: [
   1048                     "fill",
   1049                     "stroke",
   1050                     "stopColor",
   1051                     "color",
   1052                     "backgroundColor",
   1053                     "borderColor",
   1054                     "borderTopColor",
   1055                     "borderRightColor",
   1056                     "borderBottomColor",
   1057                     "borderLeftColor",
   1058                     "outlineColor",
   1059                   ],
   1060                   transformsBase: [
   1061                     "translateX",
   1062                     "translateY",
   1063                     "scale",
   1064                     "scaleX",
   1065                     "scaleY",
   1066                     "skewX",
   1067                     "skewY",
   1068                     "rotateZ",
   1069                   ],
   1070                   transforms3D: [
   1071                     "transformPerspective",
   1072                     "translateZ",
   1073                     "scaleZ",
   1074                     "rotateX",
   1075                     "rotateY",
   1076                   ],
   1077                 },
   1078                 Hooks: {
   1079                   templates: {
   1080                     textShadow: ["Color X Y Blur", "black 0px 0px 0px"],
   1081                     boxShadow: [
   1082                       "Color X Y Blur Spread",
   1083                       "black 0px 0px 0px 0px",
   1084                     ],
   1085                     clip: ["Top Right Bottom Left", "0px 0px 0px 0px"],
   1086                     backgroundPosition: ["X Y", "0% 0%"],
   1087                     transformOrigin: ["X Y Z", "50% 50% 0px"],
   1088                     perspectiveOrigin: ["X Y", "50% 50%"],
   1089                   },
   1090                   registered: {},
   1091                   register: function () {
   1092                     for (a = 0; a < k.Lists.colors.length; a++) {
   1093                       var t =
   1094                         "color" === k.Lists.colors[a]
   1095                           ? "0 0 0 1"
   1096                           : "255 255 255 1";
   1097                       k.Hooks.templates[k.Lists.colors[a]] = [
   1098                         "Red Green Blue Alpha",
   1099                         t,
   1100                       ];
   1101                     }
   1102                     var e, i, n;
   1103                     if (h)
   1104                       for (e in k.Hooks.templates) {
   1105                         n = (i = k.Hooks.templates[e])[0].split(" ");
   1106                         var o = i[1].match(k.RegEx.valueSplit);
   1107                         "Color" === n[0] &&
   1108                           (n.push(n.shift()),
   1109                           o.push(o.shift()),
   1110                           (k.Hooks.templates[e] = [n.join(" "), o.join(" ")]));
   1111                       }
   1112                     for (e in k.Hooks.templates) {
   1113                       n = (i = k.Hooks.templates[e])[0].split(" ");
   1114                       for (var a in n) {
   1115                         var r = e + n[a],
   1116                           s = a;
   1117                         k.Hooks.registered[r] = [e, s];
   1118                       }
   1119                     }
   1120                   },
   1121                   getRoot: function (t) {
   1122                     var e = k.Hooks.registered[t];
   1123                     return e ? e[0] : t;
   1124                   },
   1125                   cleanRootPropertyValue: function (t, e) {
   1126                     return (
   1127                       k.RegEx.valueUnwrap.test(e) &&
   1128                         (e = e.match(k.RegEx.valueUnwrap)[1]),
   1129                       k.Values.isCSSNullValue(e) &&
   1130                         (e = k.Hooks.templates[t][1]),
   1131                       e
   1132                     );
   1133                   },
   1134                   extractValue: function (t, e) {
   1135                     var i = k.Hooks.registered[t];
   1136                     if (i) {
   1137                       var n = i[0],
   1138                         o = i[1];
   1139                       return (e = k.Hooks.cleanRootPropertyValue(n, e))
   1140                         .toString()
   1141                         .match(k.RegEx.valueSplit)[o];
   1142                     }
   1143                     return e;
   1144                   },
   1145                   injectValue: function (t, e, i) {
   1146                     var n = k.Hooks.registered[t];
   1147                     if (n) {
   1148                       var o,
   1149                         a = n[0],
   1150                         r = n[1];
   1151                       return (
   1152                         (i = k.Hooks.cleanRootPropertyValue(a, i)),
   1153                         (o = i.toString().match(k.RegEx.valueSplit)),
   1154                         (o[r] = e),
   1155                         o.join(" ")
   1156                       );
   1157                     }
   1158                     return i;
   1159                   },
   1160                 },
   1161                 Normalizations: {
   1162                   registered: {
   1163                     clip: function (t, e, i) {
   1164                       switch (t) {
   1165                         case "name":
   1166                           return "clip";
   1167                         case "extract":
   1168                           var n;
   1169                           return (
   1170                             k.RegEx.wrappedValueAlreadyExtracted.test(i)
   1171                               ? (n = i)
   1172                               : ((n = i.toString().match(k.RegEx.valueUnwrap)),
   1173                                 (n = n ? n[1].replace(/,(\s+)?/g, " ") : i)),
   1174                             n
   1175                           );
   1176                         case "inject":
   1177                           return "rect(" + i + ")";
   1178                       }
   1179                     },
   1180                     blur: function (t, e, i) {
   1181                       switch (t) {
   1182                         case "name":
   1183                           return b.State.isFirefox
   1184                             ? "filter"
   1185                             : "-webkit-filter";
   1186                         case "extract":
   1187                           var n = parseFloat(i);
   1188                           if (!n && 0 !== n) {
   1189                             var o = i
   1190                               .toString()
   1191                               .match(/blur\(([0-9]+[A-z]+)\)/i);
   1192                             n = o ? o[1] : 0;
   1193                           }
   1194                           return n;
   1195                         case "inject":
   1196                           return parseFloat(i) ? "blur(" + i + ")" : "none";
   1197                       }
   1198                     },
   1199                     opacity: function (t, e, i) {
   1200                       if (8 >= h)
   1201                         switch (t) {
   1202                           case "name":
   1203                             return "filter";
   1204                           case "extract":
   1205                             var n = i
   1206                               .toString()
   1207                               .match(/alpha\(opacity=(.*)\)/i);
   1208                             return (i = n ? n[1] / 100 : 1);
   1209                           case "inject":
   1210                             return (
   1211                               (e.style.zoom = 1),
   1212                               parseFloat(i) >= 1
   1213                                 ? ""
   1214                                 : "alpha(opacity=" +
   1215                                   parseInt(100 * parseFloat(i), 10) +
   1216                                   ")"
   1217                             );
   1218                         }
   1219                       else
   1220                         switch (t) {
   1221                           case "name":
   1222                             return "opacity";
   1223                           case "extract":
   1224                           case "inject":
   1225                             return i;
   1226                         }
   1227                     },
   1228                   },
   1229                   register: function () {
   1230                     9 >= h ||
   1231                       b.State.isGingerbread ||
   1232                       (k.Lists.transformsBase = k.Lists.transformsBase.concat(
   1233                         k.Lists.transforms3D
   1234                       ));
   1235                     for (t = 0; t < k.Lists.transformsBase.length; t++)
   1236                       !(function () {
   1237                         var e = k.Lists.transformsBase[t];
   1238                         k.Normalizations.registered[e] = function (t, i, o) {
   1239                           switch (t) {
   1240                             case "name":
   1241                               return "transform";
   1242                             case "extract":
   1243                               return r(i) === n || r(i).transformCache[e] === n
   1244                                 ? /^scale/i.test(e)
   1245                                   ? 1
   1246                                   : 0
   1247                                 : r(i).transformCache[e].replace(/[()]/g, "");
   1248                             case "inject":
   1249                               var a = !1;
   1250                               switch (e.substr(0, e.length - 1)) {
   1251                                 case "translate":
   1252                                   a = !/(%|px|em|rem|vw|vh|\d)$/i.test(o);
   1253                                   break;
   1254                                 case "scal":
   1255                                 case "scale":
   1256                                   b.State.isAndroid &&
   1257                                     r(i).transformCache[e] === n &&
   1258                                     1 > o &&
   1259                                     (o = 1),
   1260                                     (a = !/(\d)$/i.test(o));
   1261                                   break;
   1262                                 case "skew":
   1263                                   a = !/(deg|\d)$/i.test(o);
   1264                                   break;
   1265                                 case "rotate":
   1266                                   a = !/(deg|\d)$/i.test(o);
   1267                               }
   1268                               return (
   1269                                 a || (r(i).transformCache[e] = "(" + o + ")"),
   1270                                 r(i).transformCache[e]
   1271                               );
   1272                           }
   1273                         };
   1274                       })();
   1275                     for (var t = 0; t < k.Lists.colors.length; t++)
   1276                       !(function () {
   1277                         var e = k.Lists.colors[t];
   1278                         k.Normalizations.registered[e] = function (t, i, o) {
   1279                           switch (t) {
   1280                             case "name":
   1281                               return e;
   1282                             case "extract":
   1283                               var a;
   1284                               if (k.RegEx.wrappedValueAlreadyExtracted.test(o))
   1285                                 a = o;
   1286                               else {
   1287                                 var r,
   1288                                   s = {
   1289                                     black: "rgb(0, 0, 0)",
   1290                                     blue: "rgb(0, 0, 255)",
   1291                                     gray: "rgb(128, 128, 128)",
   1292                                     green: "rgb(0, 128, 0)",
   1293                                     red: "rgb(255, 0, 0)",
   1294                                     white: "rgb(255, 255, 255)",
   1295                                   };
   1296                                 /^[A-z]+$/i.test(o)
   1297                                   ? (r = s[o] !== n ? s[o] : s.black)
   1298                                   : k.RegEx.isHex.test(o)
   1299                                   ? (r =
   1300                                       "rgb(" +
   1301                                       k.Values.hexToRgb(o).join(" ") +
   1302                                       ")")
   1303                                   : /^rgba?\(/i.test(o) || (r = s.black),
   1304                                   (a = (r || o)
   1305                                     .toString()
   1306                                     .match(k.RegEx.valueUnwrap)[1]
   1307                                     .replace(/,(\s+)?/g, " "));
   1308                               }
   1309                               return (
   1310                                 8 >= h ||
   1311                                   3 !== a.split(" ").length ||
   1312                                   (a += " 1"),
   1313                                 a
   1314                               );
   1315                             case "inject":
   1316                               return (
   1317                                 8 >= h
   1318                                   ? 4 === o.split(" ").length &&
   1319                                     (o = o.split(/\s+/).slice(0, 3).join(" "))
   1320                                   : 3 === o.split(" ").length && (o += " 1"),
   1321                                 (8 >= h ? "rgb" : "rgba") +
   1322                                   "(" +
   1323                                   o
   1324                                     .replace(/\s+/g, ",")
   1325                                     .replace(/\.(\d)+(?=,)/g, "") +
   1326                                   ")"
   1327                               );
   1328                           }
   1329                         };
   1330                       })();
   1331                   },
   1332                 },
   1333                 Names: {
   1334                   camelCase: function (t) {
   1335                     return t.replace(/-(\w)/g, function (t, e) {
   1336                       return e.toUpperCase();
   1337                     });
   1338                   },
   1339                   SVGAttribute: function (t) {
   1340                     var e = "width|height|x|y|cx|cy|r|rx|ry|x1|x2|y1|y2";
   1341                     return (
   1342                       (h || (b.State.isAndroid && !b.State.isChrome)) &&
   1343                         (e += "|transform"),
   1344                       new RegExp("^(" + e + ")$", "i").test(t)
   1345                     );
   1346                   },
   1347                   prefixCheck: function (t) {
   1348                     if (b.State.prefixMatches[t])
   1349                       return [b.State.prefixMatches[t], !0];
   1350                     for (
   1351                       var e = ["", "Webkit", "Moz", "ms", "O"],
   1352                         i = 0,
   1353                         n = e.length;
   1354                       n > i;
   1355                       i++
   1356                     ) {
   1357                       var o;
   1358                       if (
   1359                         ((o =
   1360                           0 === i
   1361                             ? t
   1362                             : e[i] +
   1363                               t.replace(/^\w/, function (t) {
   1364                                 return t.toUpperCase();
   1365                               })),
   1366                         v.isString(b.State.prefixElement.style[o]))
   1367                       )
   1368                         return (b.State.prefixMatches[t] = o), [o, !0];
   1369                     }
   1370                     return [t, !1];
   1371                   },
   1372                 },
   1373                 Values: {
   1374                   hexToRgb: function (t) {
   1375                     var e,
   1376                       i = /^#?([a-f\d])([a-f\d])([a-f\d])$/i,
   1377                       n = /^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i;
   1378                     return (
   1379                       (t = t.replace(i, function (t, e, i, n) {
   1380                         return e + e + i + i + n + n;
   1381                       })),
   1382                       (e = n.exec(t)),
   1383                       e
   1384                         ? [
   1385                             parseInt(e[1], 16),
   1386                             parseInt(e[2], 16),
   1387                             parseInt(e[3], 16),
   1388                           ]
   1389                         : [0, 0, 0]
   1390                     );
   1391                   },
   1392                   isCSSNullValue: function (t) {
   1393                     return (
   1394                       0 == t ||
   1395                       /^(none|auto|transparent|(rgba\(0, ?0, ?0, ?0\)))$/i.test(
   1396                         t
   1397                       )
   1398                     );
   1399                   },
   1400                   getUnitType: function (t) {
   1401                     return /^(rotate|skew)/i.test(t)
   1402                       ? "deg"
   1403                       : /(^(scale|scaleX|scaleY|scaleZ|alpha|flexGrow|flexHeight|zIndex|fontWeight)$)|((opacity|red|green|blue|alpha)$)/i.test(
   1404                           t
   1405                         )
   1406                       ? ""
   1407                       : "px";
   1408                   },
   1409                   getDisplayType: function (t) {
   1410                     var e = t && t.tagName.toString().toLowerCase();
   1411                     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(
   1412                       e
   1413                     )
   1414                       ? "inline"
   1415                       : /^(li)$/i.test(e)
   1416                       ? "list-item"
   1417                       : /^(tr)$/i.test(e)
   1418                       ? "table-row"
   1419                       : /^(table)$/i.test(e)
   1420                       ? "table"
   1421                       : /^(tbody)$/i.test(e)
   1422                       ? "table-row-group"
   1423                       : "block";
   1424                   },
   1425                   addClass: function (t, e) {
   1426                     t.classList
   1427                       ? t.classList.add(e)
   1428                       : (t.className += (t.className.length ? " " : "") + e);
   1429                   },
   1430                   removeClass: function (t, e) {
   1431                     t.classList
   1432                       ? t.classList.remove(e)
   1433                       : (t.className = t.className
   1434                           .toString()
   1435                           .replace(
   1436                             new RegExp(
   1437                               "(^|\\s)" + e.split(" ").join("|") + "(\\s|$)",
   1438                               "gi"
   1439                             ),
   1440                             " "
   1441                           ));
   1442                   },
   1443                 },
   1444                 getPropertyValue: function (t, i, o, a) {
   1445                   function s(t, i) {
   1446                     function o() {
   1447                       c && k.setPropertyValue(t, "display", "none");
   1448                     }
   1449                     var l = 0;
   1450                     if (8 >= h) l = p.css(t, i);
   1451                     else {
   1452                       var c = !1;
   1453                       if (
   1454                         (/^(width|height)$/.test(i) &&
   1455                           0 === k.getPropertyValue(t, "display") &&
   1456                           ((c = !0),
   1457                           k.setPropertyValue(
   1458                             t,
   1459                             "display",
   1460                             k.Values.getDisplayType(t)
   1461                           )),
   1462                         !a)
   1463                       ) {
   1464                         if (
   1465                           "height" === i &&
   1466                           "border-box" !==
   1467                             k
   1468                               .getPropertyValue(t, "boxSizing")
   1469                               .toString()
   1470                               .toLowerCase()
   1471                         ) {
   1472                           var u =
   1473                             t.offsetHeight -
   1474                             (parseFloat(
   1475                               k.getPropertyValue(t, "borderTopWidth")
   1476                             ) || 0) -
   1477                             (parseFloat(
   1478                               k.getPropertyValue(t, "borderBottomWidth")
   1479                             ) || 0) -
   1480                             (parseFloat(k.getPropertyValue(t, "paddingTop")) ||
   1481                               0) -
   1482                             (parseFloat(
   1483                               k.getPropertyValue(t, "paddingBottom")
   1484                             ) || 0);
   1485                           return o(), u;
   1486                         }
   1487                         if (
   1488                           "width" === i &&
   1489                           "border-box" !==
   1490                             k
   1491                               .getPropertyValue(t, "boxSizing")
   1492                               .toString()
   1493                               .toLowerCase()
   1494                         ) {
   1495                           var d =
   1496                             t.offsetWidth -
   1497                             (parseFloat(
   1498                               k.getPropertyValue(t, "borderLeftWidth")
   1499                             ) || 0) -
   1500                             (parseFloat(
   1501                               k.getPropertyValue(t, "borderRightWidth")
   1502                             ) || 0) -
   1503                             (parseFloat(k.getPropertyValue(t, "paddingLeft")) ||
   1504                               0) -
   1505                             (parseFloat(
   1506                               k.getPropertyValue(t, "paddingRight")
   1507                             ) || 0);
   1508                           return o(), d;
   1509                         }
   1510                       }
   1511                       var f;
   1512                       (f =
   1513                         r(t) === n
   1514                           ? e.getComputedStyle(t, null)
   1515                           : r(t).computedStyle
   1516                           ? r(t).computedStyle
   1517                           : (r(t).computedStyle = e.getComputedStyle(t, null))),
   1518                         "borderColor" === i && (i = "borderTopColor"),
   1519                         ("" ===
   1520                           (l =
   1521                             9 === h && "filter" === i
   1522                               ? f.getPropertyValue(i)
   1523                               : f[i]) ||
   1524                           null === l) &&
   1525                           (l = t.style[i]),
   1526                         o();
   1527                     }
   1528                     if ("auto" === l && /^(top|right|bottom|left)$/i.test(i)) {
   1529                       var v = s(t, "position");
   1530                       ("fixed" === v ||
   1531                         ("absolute" === v && /top|left/i.test(i))) &&
   1532                         (l = p(t).position()[i] + "px");
   1533                     }
   1534                     return l;
   1535                   }
   1536                   var l;
   1537                   if (k.Hooks.registered[i]) {
   1538                     var c = i,
   1539                       u = k.Hooks.getRoot(c);
   1540                     o === n &&
   1541                       (o = k.getPropertyValue(t, k.Names.prefixCheck(u)[0])),
   1542                       k.Normalizations.registered[u] &&
   1543                         (o = k.Normalizations.registered[u]("extract", t, o)),
   1544                       (l = k.Hooks.extractValue(c, o));
   1545                   } else if (k.Normalizations.registered[i]) {
   1546                     var d, f;
   1547                     "transform" !==
   1548                       (d = k.Normalizations.registered[i]("name", t)) &&
   1549                       ((f = s(t, k.Names.prefixCheck(d)[0])),
   1550                       k.Values.isCSSNullValue(f) &&
   1551                         k.Hooks.templates[i] &&
   1552                         (f = k.Hooks.templates[i][1])),
   1553                       (l = k.Normalizations.registered[i]("extract", t, f));
   1554                   }
   1555                   if (!/^[\d-]/.test(l))
   1556                     if (r(t) && r(t).isSVG && k.Names.SVGAttribute(i))
   1557                       if (/^(height|width)$/i.test(i))
   1558                         try {
   1559                           l = t.getBBox()[i];
   1560                         } catch (t) {
   1561                           l = 0;
   1562                         }
   1563                       else l = t.getAttribute(i);
   1564                     else l = s(t, k.Names.prefixCheck(i)[0]);
   1565                   return (
   1566                     k.Values.isCSSNullValue(l) && (l = 0),
   1567                     b.debug >= 2 && console.log("Get " + i + ": " + l),
   1568                     l
   1569                   );
   1570                 },
   1571                 setPropertyValue: function (t, i, n, o, a) {
   1572                   var s = i;
   1573                   if ("scroll" === i)
   1574                     a.container
   1575                       ? (a.container["scroll" + a.direction] = n)
   1576                       : "Left" === a.direction
   1577                       ? e.scrollTo(n, a.alternateValue)
   1578                       : e.scrollTo(a.alternateValue, n);
   1579                   else if (
   1580                     k.Normalizations.registered[i] &&
   1581                     "transform" === k.Normalizations.registered[i]("name", t)
   1582                   )
   1583                     k.Normalizations.registered[i]("inject", t, n),
   1584                       (s = "transform"),
   1585                       (n = r(t).transformCache[i]);
   1586                   else {
   1587                     if (k.Hooks.registered[i]) {
   1588                       var l = i,
   1589                         c = k.Hooks.getRoot(i);
   1590                       (o = o || k.getPropertyValue(t, c)),
   1591                         (n = k.Hooks.injectValue(l, n, o)),
   1592                         (i = c);
   1593                     }
   1594                     if (
   1595                       (k.Normalizations.registered[i] &&
   1596                         ((n = k.Normalizations.registered[i]("inject", t, n)),
   1597                         (i = k.Normalizations.registered[i]("name", t))),
   1598                       (s = k.Names.prefixCheck(i)[0]),
   1599                       8 >= h)
   1600                     )
   1601                       try {
   1602                         t.style[s] = n;
   1603                       } catch (t) {
   1604                         b.debug &&
   1605                           console.log(
   1606                             "Browser does not support [" +
   1607                               n +
   1608                               "] for [" +
   1609                               s +
   1610                               "]"
   1611                           );
   1612                       }
   1613                     else
   1614                       r(t) && r(t).isSVG && k.Names.SVGAttribute(i)
   1615                         ? t.setAttribute(i, n)
   1616                         : (t.style[s] = n);
   1617                     b.debug >= 2 &&
   1618                       console.log("Set " + i + " (" + s + "): " + n);
   1619                   }
   1620                   return [s, n];
   1621                 },
   1622                 flushTransformCache: function (t) {
   1623                   function e(e) {
   1624                     return parseFloat(k.getPropertyValue(t, e));
   1625                   }
   1626                   var i = "";
   1627                   if (
   1628                     (h || (b.State.isAndroid && !b.State.isChrome)) &&
   1629                     r(t).isSVG
   1630                   ) {
   1631                     var n = {
   1632                       translate: [e("translateX"), e("translateY")],
   1633                       skewX: [e("skewX")],
   1634                       skewY: [e("skewY")],
   1635                       scale:
   1636                         1 !== e("scale")
   1637                           ? [e("scale"), e("scale")]
   1638                           : [e("scaleX"), e("scaleY")],
   1639                       rotate: [e("rotateZ"), 0, 0],
   1640                     };
   1641                     p.each(r(t).transformCache, function (t) {
   1642                       /^translate/i.test(t)
   1643                         ? (t = "translate")
   1644                         : /^scale/i.test(t)
   1645                         ? (t = "scale")
   1646                         : /^rotate/i.test(t) && (t = "rotate"),
   1647                         n[t] &&
   1648                           ((i += t + "(" + n[t].join(" ") + ") "), delete n[t]);
   1649                     });
   1650                   } else {
   1651                     var o, a;
   1652                     p.each(r(t).transformCache, function (e) {
   1653                       return (
   1654                         (o = r(t).transformCache[e]),
   1655                         "transformPerspective" === e
   1656                           ? ((a = o), !0)
   1657                           : (9 === h && "rotateZ" === e && (e = "rotate"),
   1658                             void (i += e + o + " "))
   1659                       );
   1660                     }),
   1661                       a && (i = "perspective" + a + " " + i);
   1662                   }
   1663                   k.setPropertyValue(t, "transform", i);
   1664                 },
   1665               });
   1666               k.Hooks.register(),
   1667                 k.Normalizations.register(),
   1668                 (b.hook = function (t, e, i) {
   1669                   var o = n;
   1670                   return (
   1671                     (t = a(t)),
   1672                     p.each(t, function (t, a) {
   1673                       if ((r(a) === n && b.init(a), i === n))
   1674                         o === n && (o = b.CSS.getPropertyValue(a, e));
   1675                       else {
   1676                         var s = b.CSS.setPropertyValue(a, e, i);
   1677                         "transform" === s[0] && b.CSS.flushTransformCache(a),
   1678                           (o = s);
   1679                       }
   1680                     }),
   1681                     o
   1682                   );
   1683                 });
   1684               var x = function () {
   1685                 function t() {
   1686                   return s ? P.promise || null : l;
   1687                 }
   1688 
   1689                 function o() {
   1690                   function t(t) {
   1691                     function d(t, e) {
   1692                       var i = n,
   1693                         o = n,
   1694                         r = n;
   1695                       return (
   1696                         v.isArray(t)
   1697                           ? ((i = t[0]),
   1698                             (!v.isArray(t[1]) && /^[\d-]/.test(t[1])) ||
   1699                             v.isFunction(t[1]) ||
   1700                             k.RegEx.isHex.test(t[1])
   1701                               ? (r = t[1])
   1702                               : ((v.isString(t[1]) &&
   1703                                   !k.RegEx.isHex.test(t[1])) ||
   1704                                   v.isArray(t[1])) &&
   1705                                 ((o = e ? t[1] : c(t[1], s.duration)),
   1706                                 t[2] !== n && (r = t[2])))
   1707                           : (i = t),
   1708                         e || (o = o || s.easing),
   1709                         v.isFunction(i) && (i = i.call(a, T, C)),
   1710                         v.isFunction(r) && (r = r.call(a, T, C)),
   1711                         [i || 0, o, r]
   1712                       );
   1713                     }
   1714 
   1715                     function h(t, e) {
   1716                       var i, n;
   1717                       return (
   1718                         (n = (e || "0")
   1719                           .toString()
   1720                           .toLowerCase()
   1721                           .replace(/[%A-z]+$/, function (t) {
   1722                             return (i = t), "";
   1723                           })),
   1724                         i || (i = k.Values.getUnitType(t)),
   1725                         [n, i]
   1726                       );
   1727                     }
   1728                     if (s.begin && 0 === T)
   1729                       try {
   1730                         s.begin.call(f, f);
   1731                       } catch (t) {
   1732                         setTimeout(function () {
   1733                           throw t;
   1734                         }, 1);
   1735                       }
   1736                     if ("scroll" === A) {
   1737                       var g,
   1738                         w,
   1739                         x,
   1740                         S = /^x$/i.test(s.axis) ? "Left" : "Top",
   1741                         O = parseFloat(s.offset) || 0;
   1742                       s.container
   1743                         ? v.isWrapped(s.container) || v.isNode(s.container)
   1744                           ? ((s.container = s.container[0] || s.container),
   1745                             (g = s.container["scroll" + S]),
   1746                             (x = g + p(a).position()[S.toLowerCase()] + O))
   1747                           : (s.container = null)
   1748                         : ((g =
   1749                             b.State.scrollAnchor[
   1750                               b.State["scrollProperty" + S]
   1751                             ]),
   1752                           (w =
   1753                             b.State.scrollAnchor[
   1754                               b.State[
   1755                                 "scrollProperty" +
   1756                                   ("Left" === S ? "Top" : "Left")
   1757                               ]
   1758                             ]),
   1759                           (x = p(a).offset()[S.toLowerCase()] + O)),
   1760                         (l = {
   1761                           scroll: {
   1762                             rootPropertyValue: !1,
   1763                             startValue: g,
   1764                             currentValue: g,
   1765                             endValue: x,
   1766                             unitType: "",
   1767                             easing: s.easing,
   1768                             scrollData: {
   1769                               container: s.container,
   1770                               direction: S,
   1771                               alternateValue: w,
   1772                             },
   1773                           },
   1774                           element: a,
   1775                         }),
   1776                         b.debug &&
   1777                           console.log(
   1778                             "tweensContainer (scroll): ",
   1779                             l.scroll,
   1780                             a
   1781                           );
   1782                     } else if ("reverse" === A) {
   1783                       if (!r(a).tweensContainer)
   1784                         return void p.dequeue(a, s.queue);
   1785                       "none" === r(a).opts.display &&
   1786                         (r(a).opts.display = "auto"),
   1787                         "hidden" === r(a).opts.visibility &&
   1788                           (r(a).opts.visibility = "visible"),
   1789                         (r(a).opts.loop = !1),
   1790                         (r(a).opts.begin = null),
   1791                         (r(a).opts.complete = null),
   1792                         y.easing || delete s.easing,
   1793                         y.duration || delete s.duration,
   1794                         (s = p.extend({}, r(a).opts, s));
   1795                       M = p.extend(!0, {}, r(a).tweensContainer);
   1796                       for (var E in M)
   1797                         if ("element" !== E) {
   1798                           var _ = M[E].startValue;
   1799                           (M[E].startValue = M[E].currentValue = M[E].endValue),
   1800                             (M[E].endValue = _),
   1801                             v.isEmptyObject(y) || (M[E].easing = s.easing),
   1802                             b.debug &&
   1803                               console.log(
   1804                                 "reverse tweensContainer (" +
   1805                                   E +
   1806                                   "): " +
   1807                                   JSON.stringify(M[E]),
   1808                                 a
   1809                               );
   1810                         }
   1811                       l = M;
   1812                     } else if ("start" === A) {
   1813                       var M;
   1814                       r(a).tweensContainer &&
   1815                         !0 === r(a).isAnimating &&
   1816                         (M = r(a).tweensContainer),
   1817                         p.each(m, function (t, e) {
   1818                           if (
   1819                             RegExp("^" + k.Lists.colors.join("$|^") + "$").test(
   1820                               t
   1821                             )
   1822                           ) {
   1823                             var i = d(e, !0),
   1824                               o = i[0],
   1825                               a = i[1],
   1826                               r = i[2];
   1827                             if (k.RegEx.isHex.test(o)) {
   1828                               for (
   1829                                 var s = ["Red", "Green", "Blue"],
   1830                                   l = k.Values.hexToRgb(o),
   1831                                   c = r ? k.Values.hexToRgb(r) : n,
   1832                                   u = 0;
   1833                                 u < s.length;
   1834                                 u++
   1835                               ) {
   1836                                 var p = [l[u]];
   1837                                 a && p.push(a),
   1838                                   c !== n && p.push(c[u]),
   1839                                   (m[t + s[u]] = p);
   1840                               }
   1841                               delete m[t];
   1842                             }
   1843                           }
   1844                         });
   1845                       for (var q in m) {
   1846                         var z = d(m[q]),
   1847                           V = z[0],
   1848                           H = z[1],
   1849                           L = z[2];
   1850                         q = k.Names.camelCase(q);
   1851                         var j = k.Hooks.getRoot(q),
   1852                           $ = !1;
   1853                         if (
   1854                           r(a).isSVG ||
   1855                           "tween" === j ||
   1856                           !1 !== k.Names.prefixCheck(j)[1] ||
   1857                           k.Normalizations.registered[j] !== n
   1858                         ) {
   1859                           ((s.display !== n &&
   1860                             null !== s.display &&
   1861                             "none" !== s.display) ||
   1862                             (s.visibility !== n &&
   1863                               "hidden" !== s.visibility)) &&
   1864                             /opacity|filter/.test(q) &&
   1865                             !L &&
   1866                             0 !== V &&
   1867                             (L = 0),
   1868                             s._cacheValues && M && M[q]
   1869                               ? (L === n && (L = M[q].endValue + M[q].unitType),
   1870                                 ($ = r(a).rootPropertyValueCache[j]))
   1871                               : k.Hooks.registered[q]
   1872                               ? L === n
   1873                                 ? (($ = k.getPropertyValue(a, j)),
   1874                                   (L = k.getPropertyValue(a, q, $)))
   1875                                 : ($ = k.Hooks.templates[j][1])
   1876                               : L === n && (L = k.getPropertyValue(a, q));
   1877                           var N,
   1878                             W,
   1879                             F,
   1880                             Q = !1;
   1881                           if (
   1882                             ((N = h(q, L)),
   1883                             (L = N[0]),
   1884                             (F = N[1]),
   1885                             (N = h(q, V)),
   1886                             (V = N[0].replace(/^([+-\/*])=/, function (t, e) {
   1887                               return (Q = e), "";
   1888                             })),
   1889                             (W = N[1]),
   1890                             (L = parseFloat(L) || 0),
   1891                             (V = parseFloat(V) || 0),
   1892                             "%" === W &&
   1893                               (/^(fontSize|lineHeight)$/.test(q)
   1894                                 ? ((V /= 100), (W = "em"))
   1895                                 : /^scale/.test(q)
   1896                                 ? ((V /= 100), (W = ""))
   1897                                 : /(Red|Green|Blue)$/i.test(q) &&
   1898                                   ((V = (V / 100) * 255), (W = ""))),
   1899                             /[\/*]/.test(Q))
   1900                           )
   1901                             W = F;
   1902                           else if (F !== W && 0 !== L)
   1903                             if (0 === V) W = F;
   1904                             else {
   1905                               o =
   1906                                 o ||
   1907                                 (function () {
   1908                                   var t = {
   1909                                       myParent: a.parentNode || i.body,
   1910                                       position: k.getPropertyValue(
   1911                                         a,
   1912                                         "position"
   1913                                       ),
   1914                                       fontSize: k.getPropertyValue(
   1915                                         a,
   1916                                         "fontSize"
   1917                                       ),
   1918                                     },
   1919                                     n =
   1920                                       t.position === I.lastPosition &&
   1921                                       t.myParent === I.lastParent,
   1922                                     o = t.fontSize === I.lastFontSize;
   1923                                   (I.lastParent = t.myParent),
   1924                                     (I.lastPosition = t.position),
   1925                                     (I.lastFontSize = t.fontSize);
   1926                                   var s = 100,
   1927                                     l = {};
   1928                                   if (o && n)
   1929                                     (l.emToPx = I.lastEmToPx),
   1930                                       (l.percentToPxWidth =
   1931                                         I.lastPercentToPxWidth),
   1932                                       (l.percentToPxHeight =
   1933                                         I.lastPercentToPxHeight);
   1934                                   else {
   1935                                     var c = r(a).isSVG
   1936                                       ? i.createElementNS(
   1937                                           "http://www.w3.org/2000/svg",
   1938                                           "rect"
   1939                                         )
   1940                                       : i.createElement("div");
   1941                                     b.init(c),
   1942                                       t.myParent.appendChild(c),
   1943                                       p.each(
   1944                                         ["overflow", "overflowX", "overflowY"],
   1945                                         function (t, e) {
   1946                                           b.CSS.setPropertyValue(
   1947                                             c,
   1948                                             e,
   1949                                             "hidden"
   1950                                           );
   1951                                         }
   1952                                       ),
   1953                                       b.CSS.setPropertyValue(
   1954                                         c,
   1955                                         "position",
   1956                                         t.position
   1957                                       ),
   1958                                       b.CSS.setPropertyValue(
   1959                                         c,
   1960                                         "fontSize",
   1961                                         t.fontSize
   1962                                       ),
   1963                                       b.CSS.setPropertyValue(
   1964                                         c,
   1965                                         "boxSizing",
   1966                                         "content-box"
   1967                                       ),
   1968                                       p.each(
   1969                                         [
   1970                                           "minWidth",
   1971                                           "maxWidth",
   1972                                           "width",
   1973                                           "minHeight",
   1974                                           "maxHeight",
   1975                                           "height",
   1976                                         ],
   1977                                         function (t, e) {
   1978                                           b.CSS.setPropertyValue(c, e, s + "%");
   1979                                         }
   1980                                       ),
   1981                                       b.CSS.setPropertyValue(
   1982                                         c,
   1983                                         "paddingLeft",
   1984                                         s + "em"
   1985                                       ),
   1986                                       (l.percentToPxWidth = I.lastPercentToPxWidth =
   1987                                         (parseFloat(
   1988                                           k.getPropertyValue(
   1989                                             c,
   1990                                             "width",
   1991                                             null,
   1992                                             !0
   1993                                           )
   1994                                         ) || 1) / s),
   1995                                       (l.percentToPxHeight = I.lastPercentToPxHeight =
   1996                                         (parseFloat(
   1997                                           k.getPropertyValue(
   1998                                             c,
   1999                                             "height",
   2000                                             null,
   2001                                             !0
   2002                                           )
   2003                                         ) || 1) / s),
   2004                                       (l.emToPx = I.lastEmToPx =
   2005                                         (parseFloat(
   2006                                           k.getPropertyValue(c, "paddingLeft")
   2007                                         ) || 1) / s),
   2008                                       t.myParent.removeChild(c);
   2009                                   }
   2010                                   return (
   2011                                     null === I.remToPx &&
   2012                                       (I.remToPx =
   2013                                         parseFloat(
   2014                                           k.getPropertyValue(i.body, "fontSize")
   2015                                         ) || 16),
   2016                                     null === I.vwToPx &&
   2017                                       ((I.vwToPx =
   2018                                         parseFloat(e.innerWidth) / 100),
   2019                                       (I.vhToPx =
   2020                                         parseFloat(e.innerHeight) / 100)),
   2021                                     (l.remToPx = I.remToPx),
   2022                                     (l.vwToPx = I.vwToPx),
   2023                                     (l.vhToPx = I.vhToPx),
   2024                                     b.debug >= 1 &&
   2025                                       console.log(
   2026                                         "Unit ratios: " + JSON.stringify(l),
   2027                                         a
   2028                                       ),
   2029                                     l
   2030                                   );
   2031                                 })();
   2032                               var X =
   2033                                 /margin|padding|left|right|width|text|word|letter/i.test(
   2034                                   q
   2035                                 ) ||
   2036                                 /X$/.test(q) ||
   2037                                 "x" === q
   2038                                   ? "x"
   2039                                   : "y";
   2040                               switch (F) {
   2041                                 case "%":
   2042                                   L *=
   2043                                     "x" === X
   2044                                       ? o.percentToPxWidth
   2045                                       : o.percentToPxHeight;
   2046                                   break;
   2047                                 case "px":
   2048                                   break;
   2049                                 default:
   2050                                   L *= o[F + "ToPx"];
   2051                               }
   2052                               switch (W) {
   2053                                 case "%":
   2054                                   L *=
   2055                                     1 /
   2056                                     ("x" === X
   2057                                       ? o.percentToPxWidth
   2058                                       : o.percentToPxHeight);
   2059                                   break;
   2060                                 case "px":
   2061                                   break;
   2062                                 default:
   2063                                   L *= 1 / o[W + "ToPx"];
   2064                               }
   2065                             }
   2066                           switch (Q) {
   2067                             case "+":
   2068                               V = L + V;
   2069                               break;
   2070                             case "-":
   2071                               V = L - V;
   2072                               break;
   2073                             case "*":
   2074                               V *= L;
   2075                               break;
   2076                             case "/":
   2077                               V = L / V;
   2078                           }
   2079                           (l[q] = {
   2080                             rootPropertyValue: $,
   2081                             startValue: L,
   2082                             currentValue: L,
   2083                             endValue: V,
   2084                             unitType: W,
   2085                             easing: H,
   2086                           }),
   2087                             b.debug &&
   2088                               console.log(
   2089                                 "tweensContainer (" +
   2090                                   q +
   2091                                   "): " +
   2092                                   JSON.stringify(l[q]),
   2093                                 a
   2094                               );
   2095                         } else
   2096                           b.debug &&
   2097                             console.log(
   2098                               "Skipping [" +
   2099                                 j +
   2100                                 "] due to a lack of browser support."
   2101                             );
   2102                       }
   2103                       l.element = a;
   2104                     }
   2105                     l.element &&
   2106                       (k.Values.addClass(a, "velocity-animating"),
   2107                       D.push(l),
   2108                       "" === s.queue &&
   2109                         ((r(a).tweensContainer = l), (r(a).opts = s)),
   2110                       (r(a).isAnimating = !0),
   2111                       T === C - 1
   2112                         ? (b.State.calls.push([D, f, s, null, P.resolver]),
   2113                           !1 === b.State.isTicking &&
   2114                             ((b.State.isTicking = !0), u()))
   2115                         : T++);
   2116                   }
   2117                   var o,
   2118                     a = this,
   2119                     s = p.extend({}, b.defaults, y),
   2120                     l = {};
   2121                   switch (
   2122                     (r(a) === n && b.init(a),
   2123                     parseFloat(s.delay) &&
   2124                       !1 !== s.queue &&
   2125                       p.queue(a, s.queue, function (t) {
   2126                         (b.velocityQueueEntryFlag = !0),
   2127                           (r(a).delayTimer = {
   2128                             setTimeout: setTimeout(t, parseFloat(s.delay)),
   2129                             next: t,
   2130                           });
   2131                       }),
   2132                     s.duration.toString().toLowerCase())
   2133                   ) {
   2134                     case "fast":
   2135                       s.duration = 200;
   2136                       break;
   2137                     case "normal":
   2138                       s.duration = g;
   2139                       break;
   2140                     case "slow":
   2141                       s.duration = 600;
   2142                       break;
   2143                     default:
   2144                       s.duration = parseFloat(s.duration) || 1;
   2145                   }
   2146                   !1 !== b.mock &&
   2147                     (!0 === b.mock
   2148                       ? (s.duration = s.delay = 1)
   2149                       : ((s.duration *= parseFloat(b.mock) || 1),
   2150                         (s.delay *= parseFloat(b.mock) || 1))),
   2151                     (s.easing = c(s.easing, s.duration)),
   2152                     s.begin && !v.isFunction(s.begin) && (s.begin = null),
   2153                     s.progress &&
   2154                       !v.isFunction(s.progress) &&
   2155                       (s.progress = null),
   2156                     s.complete &&
   2157                       !v.isFunction(s.complete) &&
   2158                       (s.complete = null),
   2159                     s.display !== n &&
   2160                       null !== s.display &&
   2161                       ((s.display = s.display.toString().toLowerCase()),
   2162                       "auto" === s.display &&
   2163                         (s.display = b.CSS.Values.getDisplayType(a))),
   2164                     s.visibility !== n &&
   2165                       null !== s.visibility &&
   2166                       (s.visibility = s.visibility.toString().toLowerCase()),
   2167                     (s.mobileHA =
   2168                       s.mobileHA && b.State.isMobile && !b.State.isGingerbread),
   2169                     !1 === s.queue
   2170                       ? s.delay
   2171                         ? setTimeout(t, s.delay)
   2172                         : t()
   2173                       : p.queue(a, s.queue, function (e, i) {
   2174                           return !0 === i
   2175                             ? (P.promise && P.resolver(f), !0)
   2176                             : ((b.velocityQueueEntryFlag = !0), void t(e));
   2177                         }),
   2178                     ("" !== s.queue && "fx" !== s.queue) ||
   2179                       "inprogress" === p.queue(a)[0] ||
   2180                       p.dequeue(a);
   2181                 }
   2182                 var s,
   2183                   l,
   2184                   h,
   2185                   f,
   2186                   m,
   2187                   y,
   2188                   w =
   2189                     arguments[0] &&
   2190                     (arguments[0].p ||
   2191                       (p.isPlainObject(arguments[0].properties) &&
   2192                         !arguments[0].properties.names) ||
   2193                       v.isString(arguments[0].properties));
   2194                 if (
   2195                   (v.isWrapped(this)
   2196                     ? ((s = !1), (h = 0), (f = this), (l = this))
   2197                     : ((s = !0),
   2198                       (h = 1),
   2199                       (f = w
   2200                         ? arguments[0].elements || arguments[0].e
   2201                         : arguments[0])),
   2202                   (f = a(f)))
   2203                 ) {
   2204                   w
   2205                     ? ((m = arguments[0].properties || arguments[0].p),
   2206                       (y = arguments[0].options || arguments[0].o))
   2207                     : ((m = arguments[h]), (y = arguments[h + 1]));
   2208                   var C = f.length,
   2209                     T = 0;
   2210                   if (!/^(stop|finish)$/i.test(m) && !p.isPlainObject(y)) {
   2211                     y = {};
   2212                     for (var S = h + 1; S < arguments.length; S++)
   2213                       v.isArray(arguments[S]) ||
   2214                       (!/^(fast|normal|slow)$/i.test(arguments[S]) &&
   2215                         !/^\d/.test(arguments[S]))
   2216                         ? v.isString(arguments[S]) || v.isArray(arguments[S])
   2217                           ? (y.easing = arguments[S])
   2218                           : v.isFunction(arguments[S]) &&
   2219                             (y.complete = arguments[S])
   2220                         : (y.duration = arguments[S]);
   2221                   }
   2222                   var P = {
   2223                     promise: null,
   2224                     resolver: null,
   2225                     rejecter: null,
   2226                   };
   2227                   s &&
   2228                     b.Promise &&
   2229                     (P.promise = new b.Promise(function (t, e) {
   2230                       (P.resolver = t), (P.rejecter = e);
   2231                     }));
   2232                   var A;
   2233                   switch (m) {
   2234                     case "scroll":
   2235                       A = "scroll";
   2236                       break;
   2237                     case "reverse":
   2238                       A = "reverse";
   2239                       break;
   2240                     case "finish":
   2241                     case "stop":
   2242                       p.each(f, function (t, e) {
   2243                         r(e) &&
   2244                           r(e).delayTimer &&
   2245                           (clearTimeout(r(e).delayTimer.setTimeout),
   2246                           r(e).delayTimer.next && r(e).delayTimer.next(),
   2247                           delete r(e).delayTimer);
   2248                       });
   2249                       var O = [];
   2250                       return (
   2251                         p.each(b.State.calls, function (t, e) {
   2252                           e &&
   2253                             p.each(e[1], function (i, o) {
   2254                               var a = y === n ? "" : y;
   2255                               return (
   2256                                 (!0 !== a &&
   2257                                   e[2].queue !== a &&
   2258                                   (y !== n || !1 !== e[2].queue)) ||
   2259                                 void p.each(f, function (i, n) {
   2260                                   n === o &&
   2261                                     ((!0 === y || v.isString(y)) &&
   2262                                       (p.each(
   2263                                         p.queue(n, v.isString(y) ? y : ""),
   2264                                         function (t, e) {
   2265                                           v.isFunction(e) && e(null, !0);
   2266                                         }
   2267                                       ),
   2268                                       p.queue(n, v.isString(y) ? y : "", [])),
   2269                                     "stop" === m
   2270                                       ? (r(n) &&
   2271                                           r(n).tweensContainer &&
   2272                                           !1 !== a &&
   2273                                           p.each(
   2274                                             r(n).tweensContainer,
   2275                                             function (t, e) {
   2276                                               e.endValue = e.currentValue;
   2277                                             }
   2278                                           ),
   2279                                         O.push(t))
   2280                                       : "finish" === m && (e[2].duration = 1));
   2281                                 })
   2282                               );
   2283                             });
   2284                         }),
   2285                         "stop" === m &&
   2286                           (p.each(O, function (t, e) {
   2287                             d(e, !0);
   2288                           }),
   2289                           P.promise && P.resolver(f)),
   2290                         t()
   2291                       );
   2292                     default:
   2293                       if (!p.isPlainObject(m) || v.isEmptyObject(m)) {
   2294                         if (v.isString(m) && b.Redirects[m]) {
   2295                           var E = (z = p.extend({}, y)).duration,
   2296                             _ = z.delay || 0;
   2297                           return (
   2298                             !0 === z.backwards &&
   2299                               (f = p.extend(!0, [], f).reverse()),
   2300                             p.each(f, function (t, e) {
   2301                               parseFloat(z.stagger)
   2302                                 ? (z.delay = _ + parseFloat(z.stagger) * t)
   2303                                 : v.isFunction(z.stagger) &&
   2304                                   (z.delay = _ + z.stagger.call(e, t, C)),
   2305                                 z.drag &&
   2306                                   ((z.duration =
   2307                                     parseFloat(E) ||
   2308                                     (/^(callout|transition)/.test(m)
   2309                                       ? 1e3
   2310                                       : g)),
   2311                                   (z.duration = Math.max(
   2312                                     z.duration *
   2313                                       (z.backwards ? 1 - t / C : (t + 1) / C),
   2314                                     0.75 * z.duration,
   2315                                     200
   2316                                   ))),
   2317                                 b.Redirects[m].call(
   2318                                   e,
   2319                                   e,
   2320                                   z || {},
   2321                                   t,
   2322                                   C,
   2323                                   f,
   2324                                   P.promise ? P : n
   2325                                 );
   2326                             }),
   2327                             t()
   2328                           );
   2329                         }
   2330                         var M =
   2331                           "Velocity: First argument (" +
   2332                           m +
   2333                           ") was not a property map, a known action, or a registered redirect. Aborting.";
   2334                         return (
   2335                           P.promise ? P.rejecter(new Error(M)) : console.log(M),
   2336                           t()
   2337                         );
   2338                       }
   2339                       A = "start";
   2340                   }
   2341                   var I = {
   2342                       lastParent: null,
   2343                       lastPosition: null,
   2344                       lastFontSize: null,
   2345                       lastPercentToPxWidth: null,
   2346                       lastPercentToPxHeight: null,
   2347                       lastEmToPx: null,
   2348                       remToPx: null,
   2349                       vwToPx: null,
   2350                       vhToPx: null,
   2351                     },
   2352                     D = [];
   2353                   p.each(f, function (t, e) {
   2354                     v.isNode(e) && o.call(e);
   2355                   });
   2356                   var q,
   2357                     z = p.extend({}, b.defaults, y);
   2358                   if (
   2359                     ((z.loop = parseInt(z.loop)), (q = 2 * z.loop - 1), z.loop)
   2360                   )
   2361                     for (var V = 0; q > V; V++) {
   2362                       var H = {
   2363                         delay: z.delay,
   2364                         progress: z.progress,
   2365                       };
   2366                       V === q - 1 &&
   2367                         ((H.display = z.display),
   2368                         (H.visibility = z.visibility),
   2369                         (H.complete = z.complete)),
   2370                         x(f, "reverse", H);
   2371                     }
   2372                   return t();
   2373                 }
   2374               };
   2375               (b = p.extend(x, b)).animate = x;
   2376               var C = e.requestAnimationFrame || f;
   2377               return (
   2378                 b.State.isMobile ||
   2379                   i.hidden === n ||
   2380                   i.addEventListener("visibilitychange", function () {
   2381                     i.hidden
   2382                       ? ((C = function (t) {
   2383                           return setTimeout(function () {
   2384                             t(!0);
   2385                           }, 16);
   2386                         }),
   2387                         u())
   2388                       : (C = e.requestAnimationFrame || f);
   2389                   }),
   2390                 (t.Velocity = b),
   2391                 t !== e &&
   2392                   ((t.fn.velocity = x), (t.fn.velocity.defaults = b.defaults)),
   2393                 p.each(["Down", "Up"], function (t, e) {
   2394                   b.Redirects["slide" + e] = function (t, i, o, a, r, s) {
   2395                     var l = p.extend({}, i),
   2396                       c = l.begin,
   2397                       u = l.complete,
   2398                       d = {
   2399                         height: "",
   2400                         marginTop: "",
   2401                         marginBottom: "",
   2402                         paddingTop: "",
   2403                         paddingBottom: "",
   2404                       },
   2405                       h = {};
   2406                     l.display === n &&
   2407                       (l.display =
   2408                         "Down" === e
   2409                           ? "inline" === b.CSS.Values.getDisplayType(t)
   2410                             ? "inline-block"
   2411                             : "block"
   2412                           : "none"),
   2413                       (l.begin = function () {
   2414                         c && c.call(r, r);
   2415                         for (var i in d) {
   2416                           h[i] = t.style[i];
   2417                           var n = b.CSS.getPropertyValue(t, i);
   2418                           d[i] = "Down" === e ? [n, 0] : [0, n];
   2419                         }
   2420                         (h.overflow = t.style.overflow),
   2421                           (t.style.overflow = "hidden");
   2422                       }),
   2423                       (l.complete = function () {
   2424                         for (var e in h) t.style[e] = h[e];
   2425                         u && u.call(r, r), s && s.resolver(r);
   2426                       }),
   2427                       b(t, d, l);
   2428                   };
   2429                 }),
   2430                 p.each(["In", "Out"], function (t, e) {
   2431                   b.Redirects["fade" + e] = function (t, i, o, a, r, s) {
   2432                     var l = p.extend({}, i),
   2433                       c = {
   2434                         opacity: "In" === e ? 1 : 0,
   2435                       },
   2436                       u = l.complete;
   2437                     (l.complete =
   2438                       o !== a - 1
   2439                         ? (l.begin = null)
   2440                         : function () {
   2441                             u && u.call(r, r), s && s.resolver(r);
   2442                           }),
   2443                       l.display === n &&
   2444                         (l.display = "In" === e ? "auto" : "none"),
   2445                       b(this, c, l);
   2446                   };
   2447                 }),
   2448                 b
   2449               );
   2450             }
   2451             jQuery.fn.velocity = jQuery.fn.animate;
   2452           }
   2453         })(window.jQuery || window.Zepto || window, window, document);
   2454       })),
   2455   (function (t, e, i, n) {
   2456     "use strict";
   2457 
   2458     function o(t, e, i) {
   2459       return setTimeout(u(t, i), e);
   2460     }
   2461 
   2462     function a(t, e, i) {
   2463       return !!Array.isArray(t) && (r(t, i[e], i), !0);
   2464     }
   2465 
   2466     function r(t, e, i) {
   2467       var o;
   2468       if (t)
   2469         if (t.forEach) t.forEach(e, i);
   2470         else if (t.length !== n)
   2471           for (o = 0; o < t.length; ) e.call(i, t[o], o, t), o++;
   2472         else for (o in t) t.hasOwnProperty(o) && e.call(i, t[o], o, t);
   2473     }
   2474 
   2475     function s(t, e, i) {
   2476       for (var o = Object.keys(e), a = 0; a < o.length; )
   2477         (!i || (i && t[o[a]] === n)) && (t[o[a]] = e[o[a]]), a++;
   2478       return t;
   2479     }
   2480 
   2481     function l(t, e) {
   2482       return s(t, e, !0);
   2483     }
   2484 
   2485     function c(t, e, i) {
   2486       var n,
   2487         o = e.prototype;
   2488       ((n = t.prototype = Object.create(o)).constructor = t),
   2489         (n._super = o),
   2490         i && s(n, i);
   2491     }
   2492 
   2493     function u(t, e) {
   2494       return function () {
   2495         return t.apply(e, arguments);
   2496       };
   2497     }
   2498 
   2499     function d(t, e) {
   2500       return typeof t == ut ? t.apply(e ? e[0] || n : n, e) : t;
   2501     }
   2502 
   2503     function p(t, e) {
   2504       return t === n ? e : t;
   2505     }
   2506 
   2507     function h(t, e, i) {
   2508       r(g(e), function (e) {
   2509         t.addEventListener(e, i, !1);
   2510       });
   2511     }
   2512 
   2513     function f(t, e, i) {
   2514       r(g(e), function (e) {
   2515         t.removeEventListener(e, i, !1);
   2516       });
   2517     }
   2518 
   2519     function v(t, e) {
   2520       for (; t; ) {
   2521         if (t == e) return !0;
   2522         t = t.parentNode;
   2523       }
   2524       return !1;
   2525     }
   2526 
   2527     function m(t, e) {
   2528       return t.indexOf(e) > -1;
   2529     }
   2530 
   2531     function g(t) {
   2532       return t.trim().split(/\s+/g);
   2533     }
   2534 
   2535     function y(t, e, i) {
   2536       if (t.indexOf && !i) return t.indexOf(e);
   2537       for (var n = 0; n < t.length; ) {
   2538         if ((i && t[n][i] == e) || (!i && t[n] === e)) return n;
   2539         n++;
   2540       }
   2541       return -1;
   2542     }
   2543 
   2544     function b(t) {
   2545       return Array.prototype.slice.call(t, 0);
   2546     }
   2547 
   2548     function w(t, e, i) {
   2549       for (var n = [], o = [], a = 0; a < t.length; ) {
   2550         var r = e ? t[a][e] : t[a];
   2551         y(o, r) < 0 && n.push(t[a]), (o[a] = r), a++;
   2552       }
   2553       return (
   2554         i &&
   2555           (n = e
   2556             ? n.sort(function (t, i) {
   2557                 return t[e] > i[e];
   2558               })
   2559             : n.sort()),
   2560         n
   2561       );
   2562     }
   2563 
   2564     function k(t, e) {
   2565       for (
   2566         var i, o, a = e[0].toUpperCase() + e.slice(1), r = 0;
   2567         r < lt.length;
   2568 
   2569       ) {
   2570         if (((i = lt[r]), (o = i ? i + a : e) in t)) return o;
   2571         r++;
   2572       }
   2573       return n;
   2574     }
   2575 
   2576     function x() {
   2577       return ft++;
   2578     }
   2579 
   2580     function C(t) {
   2581       var e = t.ownerDocument;
   2582       return e.defaultView || e.parentWindow;
   2583     }
   2584 
   2585     function T(t, e) {
   2586       var i = this;
   2587       (this.manager = t),
   2588         (this.callback = e),
   2589         (this.element = t.element),
   2590         (this.target = t.options.inputTarget),
   2591         (this.domHandler = function (e) {
   2592           d(t.options.enable, [t]) && i.handler(e);
   2593         }),
   2594         this.init();
   2595     }
   2596 
   2597     function S(t) {
   2598       var e = t.options.inputClass;
   2599       return new (e || (gt ? j : yt ? W : mt ? Q : L))(t, P);
   2600     }
   2601 
   2602     function P(t, e, i) {
   2603       var n = i.pointers.length,
   2604         o = i.changedPointers.length,
   2605         a = e & xt && 0 == n - o,
   2606         r = e & (Tt | St) && 0 == n - o;
   2607       (i.isFirst = !!a),
   2608         (i.isFinal = !!r),
   2609         a && (t.session = {}),
   2610         (i.eventType = e),
   2611         A(t, i),
   2612         t.emit("hammer.input", i),
   2613         t.recognize(i),
   2614         (t.session.prevInput = i);
   2615     }
   2616 
   2617     function A(t, e) {
   2618       var i = t.session,
   2619         n = e.pointers,
   2620         o = n.length;
   2621       i.firstInput || (i.firstInput = _(e)),
   2622         o > 1 && !i.firstMultiple
   2623           ? (i.firstMultiple = _(e))
   2624           : 1 === o && (i.firstMultiple = !1);
   2625       var a = i.firstInput,
   2626         r = i.firstMultiple,
   2627         s = r ? r.center : a.center,
   2628         l = (e.center = M(n));
   2629       (e.timeStamp = ht()),
   2630         (e.deltaTime = e.timeStamp - a.timeStamp),
   2631         (e.angle = z(s, l)),
   2632         (e.distance = q(s, l)),
   2633         O(i, e),
   2634         (e.offsetDirection = D(e.deltaX, e.deltaY)),
   2635         (e.scale = r ? H(r.pointers, n) : 1),
   2636         (e.rotation = r ? V(r.pointers, n) : 0),
   2637         E(i, e);
   2638       var c = t.element;
   2639       v(e.srcEvent.target, c) && (c = e.srcEvent.target), (e.target = c);
   2640     }
   2641 
   2642     function O(t, e) {
   2643       var i = e.center,
   2644         n = t.offsetDelta || {},
   2645         o = t.prevDelta || {},
   2646         a = t.prevInput || {};
   2647       (e.eventType === xt || a.eventType === Tt) &&
   2648         ((o = t.prevDelta = {
   2649           x: a.deltaX || 0,
   2650           y: a.deltaY || 0,
   2651         }),
   2652         (n = t.offsetDelta = {
   2653           x: i.x,
   2654           y: i.y,
   2655         })),
   2656         (e.deltaX = o.x + (i.x - n.x)),
   2657         (e.deltaY = o.y + (i.y - n.y));
   2658     }
   2659 
   2660     function E(t, e) {
   2661       var i,
   2662         o,
   2663         a,
   2664         r,
   2665         s = t.lastInterval || e,
   2666         l = e.timeStamp - s.timeStamp;
   2667       if (e.eventType != St && (l > kt || s.velocity === n)) {
   2668         var c = s.deltaX - e.deltaX,
   2669           u = s.deltaY - e.deltaY,
   2670           d = I(l, c, u);
   2671         (o = d.x),
   2672           (a = d.y),
   2673           (i = pt(d.x) > pt(d.y) ? d.x : d.y),
   2674           (r = D(c, u)),
   2675           (t.lastInterval = e);
   2676       } else
   2677         (i = s.velocity),
   2678           (o = s.velocityX),
   2679           (a = s.velocityY),
   2680           (r = s.direction);
   2681       (e.velocity = i), (e.velocityX = o), (e.velocityY = a), (e.direction = r);
   2682     }
   2683 
   2684     function _(t) {
   2685       for (var e = [], i = 0; i < t.pointers.length; )
   2686         (e[i] = {
   2687           clientX: dt(t.pointers[i].clientX),
   2688           clientY: dt(t.pointers[i].clientY),
   2689         }),
   2690           i++;
   2691       return {
   2692         timeStamp: ht(),
   2693         pointers: e,
   2694         center: M(e),
   2695         deltaX: t.deltaX,
   2696         deltaY: t.deltaY,
   2697       };
   2698     }
   2699 
   2700     function M(t) {
   2701       var e = t.length;
   2702       if (1 === e)
   2703         return {
   2704           x: dt(t[0].clientX),
   2705           y: dt(t[0].clientY),
   2706         };
   2707       for (var i = 0, n = 0, o = 0; e > o; )
   2708         (i += t[o].clientX), (n += t[o].clientY), o++;
   2709       return {
   2710         x: dt(i / e),
   2711         y: dt(n / e),
   2712       };
   2713     }
   2714 
   2715     function I(t, e, i) {
   2716       return {
   2717         x: e / t || 0,
   2718         y: i / t || 0,
   2719       };
   2720     }
   2721 
   2722     function D(t, e) {
   2723       return t === e
   2724         ? Pt
   2725         : pt(t) >= pt(e)
   2726         ? t > 0
   2727           ? At
   2728           : Ot
   2729         : e > 0
   2730         ? Et
   2731         : _t;
   2732     }
   2733 
   2734     function q(t, e, i) {
   2735       i || (i = qt);
   2736       var n = e[i[0]] - t[i[0]],
   2737         o = e[i[1]] - t[i[1]];
   2738       return Math.sqrt(n * n + o * o);
   2739     }
   2740 
   2741     function z(t, e, i) {
   2742       i || (i = qt);
   2743       var n = e[i[0]] - t[i[0]],
   2744         o = e[i[1]] - t[i[1]];
   2745       return (180 * Math.atan2(o, n)) / Math.PI;
   2746     }
   2747 
   2748     function V(t, e) {
   2749       return z(e[1], e[0], zt) - z(t[1], t[0], zt);
   2750     }
   2751 
   2752     function H(t, e) {
   2753       return q(e[0], e[1], zt) / q(t[0], t[1], zt);
   2754     }
   2755 
   2756     function L() {
   2757       (this.evEl = Ht),
   2758         (this.evWin = Lt),
   2759         (this.allow = !0),
   2760         (this.pressed = !1),
   2761         T.apply(this, arguments);
   2762     }
   2763 
   2764     function j() {
   2765       (this.evEl = Nt),
   2766         (this.evWin = Wt),
   2767         T.apply(this, arguments),
   2768         (this.store = this.manager.session.pointerEvents = []);
   2769     }
   2770 
   2771     function $() {
   2772       (this.evTarget = Qt),
   2773         (this.evWin = Xt),
   2774         (this.started = !1),
   2775         T.apply(this, arguments);
   2776     }
   2777 
   2778     function N(t, e) {
   2779       var i = b(t.touches),
   2780         n = b(t.changedTouches);
   2781       return e & (Tt | St) && (i = w(i.concat(n), "identifier", !0)), [i, n];
   2782     }
   2783 
   2784     function W() {
   2785       (this.evTarget = Yt), (this.targetIds = {}), T.apply(this, arguments);
   2786     }
   2787 
   2788     function F(t, e) {
   2789       var i = b(t.touches),
   2790         n = this.targetIds;
   2791       if (e & (xt | Ct) && 1 === i.length)
   2792         return (n[i[0].identifier] = !0), [i, i];
   2793       var o,
   2794         a,
   2795         r = b(t.changedTouches),
   2796         s = [],
   2797         l = this.target;
   2798       if (
   2799         ((a = i.filter(function (t) {
   2800           return v(t.target, l);
   2801         })),
   2802         e === xt)
   2803       )
   2804         for (o = 0; o < a.length; ) (n[a[o].identifier] = !0), o++;
   2805       for (o = 0; o < r.length; )
   2806         n[r[o].identifier] && s.push(r[o]),
   2807           e & (Tt | St) && delete n[r[o].identifier],
   2808           o++;
   2809       return s.length ? [w(a.concat(s), "identifier", !0), s] : void 0;
   2810     }
   2811 
   2812     function Q() {
   2813       T.apply(this, arguments);
   2814       var t = u(this.handler, this);
   2815       (this.touch = new W(this.manager, t)),
   2816         (this.mouse = new L(this.manager, t));
   2817     }
   2818 
   2819     function X(t, e) {
   2820       (this.manager = t), this.set(e);
   2821     }
   2822 
   2823     function R(t) {
   2824       if (m(t, Kt)) return Kt;
   2825       var e = m(t, te),
   2826         i = m(t, ee);
   2827       return e && i
   2828         ? te + " " + ee
   2829         : e || i
   2830         ? e
   2831           ? te
   2832           : ee
   2833         : m(t, Jt)
   2834         ? Jt
   2835         : Zt;
   2836     }
   2837 
   2838     function Y(t) {
   2839       (this.id = x()),
   2840         (this.manager = null),
   2841         (this.options = l(t || {}, this.defaults)),
   2842         (this.options.enable = p(this.options.enable, !0)),
   2843         (this.state = ie),
   2844         (this.simultaneous = {}),
   2845         (this.requireFail = []);
   2846     }
   2847 
   2848     function B(t) {
   2849       return t & se
   2850         ? "cancel"
   2851         : t & ae
   2852         ? "end"
   2853         : t & oe
   2854         ? "move"
   2855         : t & ne
   2856         ? "start"
   2857         : "";
   2858     }
   2859 
   2860     function U(t) {
   2861       return t == _t
   2862         ? "down"
   2863         : t == Et
   2864         ? "up"
   2865         : t == At
   2866         ? "left"
   2867         : t == Ot
   2868         ? "right"
   2869         : "";
   2870     }
   2871 
   2872     function G(t, e) {
   2873       var i = e.manager;
   2874       return i ? i.get(t) : t;
   2875     }
   2876 
   2877     function Z() {
   2878       Y.apply(this, arguments);
   2879     }
   2880 
   2881     function J() {
   2882       Z.apply(this, arguments), (this.pX = null), (this.pY = null);
   2883     }
   2884 
   2885     function K() {
   2886       Z.apply(this, arguments);
   2887     }
   2888 
   2889     function tt() {
   2890       Y.apply(this, arguments), (this._timer = null), (this._input = null);
   2891     }
   2892 
   2893     function et() {
   2894       Z.apply(this, arguments);
   2895     }
   2896 
   2897     function it() {
   2898       Z.apply(this, arguments);
   2899     }
   2900 
   2901     function nt() {
   2902       Y.apply(this, arguments),
   2903         (this.pTime = !1),
   2904         (this.pCenter = !1),
   2905         (this._timer = null),
   2906         (this._input = null),
   2907         (this.count = 0);
   2908     }
   2909 
   2910     function ot(t, e) {
   2911       return (
   2912         (e = e || {}),
   2913         (e.recognizers = p(e.recognizers, ot.defaults.preset)),
   2914         new at(t, e)
   2915       );
   2916     }
   2917 
   2918     function at(t, e) {
   2919       (e = e || {}),
   2920         (this.options = l(e, ot.defaults)),
   2921         (this.options.inputTarget = this.options.inputTarget || t),
   2922         (this.handlers = {}),
   2923         (this.session = {}),
   2924         (this.recognizers = []),
   2925         (this.element = t),
   2926         (this.input = S(this)),
   2927         (this.touchAction = new X(this, this.options.touchAction)),
   2928         rt(this, !0),
   2929         r(
   2930           e.recognizers,
   2931           function (t) {
   2932             var e = this.add(new t[0](t[1]));
   2933             t[2] && e.recognizeWith(t[2]), t[3] && e.requireFailure(t[3]);
   2934           },
   2935           this
   2936         );
   2937     }
   2938 
   2939     function rt(t, e) {
   2940       var i = t.element;
   2941       r(t.options.cssProps, function (t, n) {
   2942         i.style[k(i.style, n)] = e ? t : "";
   2943       });
   2944     }
   2945 
   2946     function st(t, i) {
   2947       var n = e.createEvent("Event");
   2948       n.initEvent(t, !0, !0), (n.gesture = i), i.target.dispatchEvent(n);
   2949     }
   2950     var lt = ["", "webkit", "moz", "MS", "ms", "o"],
   2951       ct = e.createElement("div"),
   2952       ut = "function",
   2953       dt = Math.round,
   2954       pt = Math.abs,
   2955       ht = Date.now,
   2956       ft = 1,
   2957       vt = /mobile|tablet|ip(ad|hone|od)|android/i,
   2958       mt = "ontouchstart" in t,
   2959       gt = k(t, "PointerEvent") !== n,
   2960       yt = mt && vt.test(navigator.userAgent),
   2961       bt = "touch",
   2962       wt = "mouse",
   2963       kt = 25,
   2964       xt = 1,
   2965       Ct = 2,
   2966       Tt = 4,
   2967       St = 8,
   2968       Pt = 1,
   2969       At = 2,
   2970       Ot = 4,
   2971       Et = 8,
   2972       _t = 16,
   2973       Mt = At | Ot,
   2974       It = Et | _t,
   2975       Dt = Mt | It,
   2976       qt = ["x", "y"],
   2977       zt = ["clientX", "clientY"];
   2978     T.prototype = {
   2979       handler: function () {},
   2980       init: function () {
   2981         this.evEl && h(this.element, this.evEl, this.domHandler),
   2982           this.evTarget && h(this.target, this.evTarget, this.domHandler),
   2983           this.evWin && h(C(this.element), this.evWin, this.domHandler);
   2984       },
   2985       destroy: function () {
   2986         this.evEl && f(this.element, this.evEl, this.domHandler),
   2987           this.evTarget && f(this.target, this.evTarget, this.domHandler),
   2988           this.evWin && f(C(this.element), this.evWin, this.domHandler);
   2989       },
   2990     };
   2991     var Vt = {
   2992         mousedown: xt,
   2993         mousemove: Ct,
   2994         mouseup: Tt,
   2995       },
   2996       Ht = "mousedown",
   2997       Lt = "mousemove mouseup";
   2998     c(L, T, {
   2999       handler: function (t) {
   3000         var e = Vt[t.type];
   3001         e & xt && 0 === t.button && (this.pressed = !0),
   3002           e & Ct && 1 !== t.which && (e = Tt),
   3003           this.pressed &&
   3004             this.allow &&
   3005             (e & Tt && (this.pressed = !1),
   3006             this.callback(this.manager, e, {
   3007               pointers: [t],
   3008               changedPointers: [t],
   3009               pointerType: wt,
   3010               srcEvent: t,
   3011             }));
   3012       },
   3013     });
   3014     var jt = {
   3015         pointerdown: xt,
   3016         pointermove: Ct,
   3017         pointerup: Tt,
   3018         pointercancel: St,
   3019         pointerout: St,
   3020       },
   3021       $t = {
   3022         2: bt,
   3023         3: "pen",
   3024         4: wt,
   3025         5: "kinect",
   3026       },
   3027       Nt = "pointerdown",
   3028       Wt = "pointermove pointerup pointercancel";
   3029     t.MSPointerEvent &&
   3030       ((Nt = "MSPointerDown"),
   3031       (Wt = "MSPointerMove MSPointerUp MSPointerCancel")),
   3032       c(j, T, {
   3033         handler: function (t) {
   3034           var e = this.store,
   3035             i = !1,
   3036             n = t.type.toLowerCase().replace("ms", ""),
   3037             o = jt[n],
   3038             a = $t[t.pointerType] || t.pointerType,
   3039             r = a == bt,
   3040             s = y(e, t.pointerId, "pointerId");
   3041           o & xt && (0 === t.button || r)
   3042             ? 0 > s && (e.push(t), (s = e.length - 1))
   3043             : o & (Tt | St) && (i = !0),
   3044             0 > s ||
   3045               ((e[s] = t),
   3046               this.callback(this.manager, o, {
   3047                 pointers: e,
   3048                 changedPointers: [t],
   3049                 pointerType: a,
   3050                 srcEvent: t,
   3051               }),
   3052               i && e.splice(s, 1));
   3053         },
   3054       });
   3055     var Ft = {
   3056         touchstart: xt,
   3057         touchmove: Ct,
   3058         touchend: Tt,
   3059         touchcancel: St,
   3060       },
   3061       Qt = "touchstart",
   3062       Xt = "touchstart touchmove touchend touchcancel";
   3063     c($, T, {
   3064       handler: function (t) {
   3065         var e = Ft[t.type];
   3066         if ((e === xt && (this.started = !0), this.started)) {
   3067           var i = N.call(this, t, e);
   3068           e & (Tt | St) &&
   3069             0 == i[0].length - i[1].length &&
   3070             (this.started = !1),
   3071             this.callback(this.manager, e, {
   3072               pointers: i[0],
   3073               changedPointers: i[1],
   3074               pointerType: bt,
   3075               srcEvent: t,
   3076             });
   3077         }
   3078       },
   3079     });
   3080     var Rt = {
   3081         touchstart: xt,
   3082         touchmove: Ct,
   3083         touchend: Tt,
   3084         touchcancel: St,
   3085       },
   3086       Yt = "touchstart touchmove touchend touchcancel";
   3087     c(W, T, {
   3088       handler: function (t) {
   3089         var e = Rt[t.type],
   3090           i = F.call(this, t, e);
   3091         i &&
   3092           this.callback(this.manager, e, {
   3093             pointers: i[0],
   3094             changedPointers: i[1],
   3095             pointerType: bt,
   3096             srcEvent: t,
   3097           });
   3098       },
   3099     }),
   3100       c(Q, T, {
   3101         handler: function (t, e, i) {
   3102           var n = i.pointerType == bt,
   3103             o = i.pointerType == wt;
   3104           if (n) this.mouse.allow = !1;
   3105           else if (o && !this.mouse.allow) return;
   3106           e & (Tt | St) && (this.mouse.allow = !0), this.callback(t, e, i);
   3107         },
   3108         destroy: function () {
   3109           this.touch.destroy(), this.mouse.destroy();
   3110         },
   3111       });
   3112     var Bt = k(ct.style, "touchAction"),
   3113       Ut = Bt !== n,
   3114       Gt = "compute",
   3115       Zt = "auto",
   3116       Jt = "manipulation",
   3117       Kt = "none",
   3118       te = "pan-x",
   3119       ee = "pan-y";
   3120     X.prototype = {
   3121       set: function (t) {
   3122         t == Gt && (t = this.compute()),
   3123           Ut && (this.manager.element.style[Bt] = t),
   3124           (this.actions = t.toLowerCase().trim());
   3125       },
   3126       update: function () {
   3127         this.set(this.manager.options.touchAction);
   3128       },
   3129       compute: function () {
   3130         var t = [];
   3131         return (
   3132           r(this.manager.recognizers, function (e) {
   3133             d(e.options.enable, [e]) && (t = t.concat(e.getTouchAction()));
   3134           }),
   3135           R(t.join(" "))
   3136         );
   3137       },
   3138       preventDefaults: function (t) {
   3139         if (!Ut) {
   3140           var e = t.srcEvent,
   3141             i = t.offsetDirection;
   3142           if (this.manager.session.prevented) return void e.preventDefault();
   3143           var n = this.actions,
   3144             o = m(n, Kt),
   3145             a = m(n, ee),
   3146             r = m(n, te);
   3147           return o || (a && i & Mt) || (r && i & It)
   3148             ? this.preventSrc(e)
   3149             : void 0;
   3150         }
   3151       },
   3152       preventSrc: function (t) {
   3153         (this.manager.session.prevented = !0), t.preventDefault();
   3154       },
   3155     };
   3156     var ie = 1,
   3157       ne = 2,
   3158       oe = 4,
   3159       ae = 8,
   3160       re = ae,
   3161       se = 16;
   3162     (Y.prototype = {
   3163       defaults: {},
   3164       set: function (t) {
   3165         return (
   3166           s(this.options, t),
   3167           this.manager && this.manager.touchAction.update(),
   3168           this
   3169         );
   3170       },
   3171       recognizeWith: function (t) {
   3172         if (a(t, "recognizeWith", this)) return this;
   3173         var e = this.simultaneous;
   3174         return (
   3175           (t = G(t, this)),
   3176           e[t.id] || ((e[t.id] = t), t.recognizeWith(this)),
   3177           this
   3178         );
   3179       },
   3180       dropRecognizeWith: function (t) {
   3181         return a(t, "dropRecognizeWith", this)
   3182           ? this
   3183           : ((t = G(t, this)), delete this.simultaneous[t.id], this);
   3184       },
   3185       requireFailure: function (t) {
   3186         if (a(t, "requireFailure", this)) return this;
   3187         var e = this.requireFail;
   3188         return (
   3189           (t = G(t, this)),
   3190           -1 === y(e, t) && (e.push(t), t.requireFailure(this)),
   3191           this
   3192         );
   3193       },
   3194       dropRequireFailure: function (t) {
   3195         if (a(t, "dropRequireFailure", this)) return this;
   3196         t = G(t, this);
   3197         var e = y(this.requireFail, t);
   3198         return e > -1 && this.requireFail.splice(e, 1), this;
   3199       },
   3200       hasRequireFailures: function () {
   3201         return this.requireFail.length > 0;
   3202       },
   3203       canRecognizeWith: function (t) {
   3204         return !!this.simultaneous[t.id];
   3205       },
   3206       emit: function (t) {
   3207         function e(e) {
   3208           i.manager.emit(i.options.event + (e ? B(n) : ""), t);
   3209         }
   3210         var i = this,
   3211           n = this.state;
   3212         ae > n && e(!0), e(), n >= ae && e(!0);
   3213       },
   3214       tryEmit: function (t) {
   3215         return this.canEmit() ? this.emit(t) : void (this.state = 32);
   3216       },
   3217       canEmit: function () {
   3218         for (var t = 0; t < this.requireFail.length; ) {
   3219           if (!(this.requireFail[t].state & (32 | ie))) return !1;
   3220           t++;
   3221         }
   3222         return !0;
   3223       },
   3224       recognize: function (t) {
   3225         var e = s({}, t);
   3226         return d(this.options.enable, [this, e])
   3227           ? (this.state & (re | se | 32) && (this.state = ie),
   3228             (this.state = this.process(e)),
   3229             void (this.state & (ne | oe | ae | se) && this.tryEmit(e)))
   3230           : (this.reset(), void (this.state = 32));
   3231       },
   3232       process: function () {},
   3233       getTouchAction: function () {},
   3234       reset: function () {},
   3235     }),
   3236       c(Z, Y, {
   3237         defaults: {
   3238           pointers: 1,
   3239         },
   3240         attrTest: function (t) {
   3241           var e = this.options.pointers;
   3242           return 0 === e || t.pointers.length === e;
   3243         },
   3244         process: function (t) {
   3245           var e = this.state,
   3246             i = t.eventType,
   3247             n = e & (ne | oe),
   3248             o = this.attrTest(t);
   3249           return n && (i & St || !o)
   3250             ? e | se
   3251             : n || o
   3252             ? i & Tt
   3253               ? e | ae
   3254               : e & ne
   3255               ? e | oe
   3256               : ne
   3257             : 32;
   3258         },
   3259       }),
   3260       c(J, Z, {
   3261         defaults: {
   3262           event: "pan",
   3263           threshold: 10,
   3264           pointers: 1,
   3265           direction: Dt,
   3266         },
   3267         getTouchAction: function () {
   3268           var t = this.options.direction,
   3269             e = [];
   3270           return t & Mt && e.push(ee), t & It && e.push(te), e;
   3271         },
   3272         directionTest: function (t) {
   3273           var e = this.options,
   3274             i = !0,
   3275             n = t.distance,
   3276             o = t.direction,
   3277             a = t.deltaX,
   3278             r = t.deltaY;
   3279           return (
   3280             o & e.direction ||
   3281               (e.direction & Mt
   3282                 ? ((o = 0 === a ? Pt : 0 > a ? At : Ot),
   3283                   (i = a != this.pX),
   3284                   (n = Math.abs(t.deltaX)))
   3285                 : ((o = 0 === r ? Pt : 0 > r ? Et : _t),
   3286                   (i = r != this.pY),
   3287                   (n = Math.abs(t.deltaY)))),
   3288             (t.direction = o),
   3289             i && n > e.threshold && o & e.direction
   3290           );
   3291         },
   3292         attrTest: function (t) {
   3293           return (
   3294             Z.prototype.attrTest.call(this, t) &&
   3295             (this.state & ne || (!(this.state & ne) && this.directionTest(t)))
   3296           );
   3297         },
   3298         emit: function (t) {
   3299           (this.pX = t.deltaX), (this.pY = t.deltaY);
   3300           var e = U(t.direction);
   3301           e && this.manager.emit(this.options.event + e, t),
   3302             this._super.emit.call(this, t);
   3303         },
   3304       }),
   3305       c(K, Z, {
   3306         defaults: {
   3307           event: "pinch",
   3308           threshold: 0,
   3309           pointers: 2,
   3310         },
   3311         getTouchAction: function () {
   3312           return [Kt];
   3313         },
   3314         attrTest: function (t) {
   3315           return (
   3316             this._super.attrTest.call(this, t) &&
   3317             (Math.abs(t.scale - 1) > this.options.threshold || this.state & ne)
   3318           );
   3319         },
   3320         emit: function (t) {
   3321           if ((this._super.emit.call(this, t), 1 !== t.scale)) {
   3322             var e = t.scale < 1 ? "in" : "out";
   3323             this.manager.emit(this.options.event + e, t);
   3324           }
   3325         },
   3326       }),
   3327       c(tt, Y, {
   3328         defaults: {
   3329           event: "press",
   3330           pointers: 1,
   3331           time: 500,
   3332           threshold: 5,
   3333         },
   3334         getTouchAction: function () {
   3335           return [Zt];
   3336         },
   3337         process: function (t) {
   3338           var e = this.options,
   3339             i = t.pointers.length === e.pointers,
   3340             n = t.distance < e.threshold,
   3341             a = t.deltaTime > e.time;
   3342           if (((this._input = t), !n || !i || (t.eventType & (Tt | St) && !a)))
   3343             this.reset();
   3344           else if (t.eventType & xt)
   3345             this.reset(),
   3346               (this._timer = o(
   3347                 function () {
   3348                   (this.state = re), this.tryEmit();
   3349                 },
   3350                 e.time,
   3351                 this
   3352               ));
   3353           else if (t.eventType & Tt) return re;
   3354           return 32;
   3355         },
   3356         reset: function () {
   3357           clearTimeout(this._timer);
   3358         },
   3359         emit: function (t) {
   3360           this.state === re &&
   3361             (t && t.eventType & Tt
   3362               ? this.manager.emit(this.options.event + "up", t)
   3363               : ((this._input.timeStamp = ht()),
   3364                 this.manager.emit(this.options.event, this._input)));
   3365         },
   3366       }),
   3367       c(et, Z, {
   3368         defaults: {
   3369           event: "rotate",
   3370           threshold: 0,
   3371           pointers: 2,
   3372         },
   3373         getTouchAction: function () {
   3374           return [Kt];
   3375         },
   3376         attrTest: function (t) {
   3377           return (
   3378             this._super.attrTest.call(this, t) &&
   3379             (Math.abs(t.rotation) > this.options.threshold || this.state & ne)
   3380           );
   3381         },
   3382       }),
   3383       c(it, Z, {
   3384         defaults: {
   3385           event: "swipe",
   3386           threshold: 10,
   3387           velocity: 0.65,
   3388           direction: Mt | It,
   3389           pointers: 1,
   3390         },
   3391         getTouchAction: function () {
   3392           return J.prototype.getTouchAction.call(this);
   3393         },
   3394         attrTest: function (t) {
   3395           var e,
   3396             i = this.options.direction;
   3397           return (
   3398             i & (Mt | It)
   3399               ? (e = t.velocity)
   3400               : i & Mt
   3401               ? (e = t.velocityX)
   3402               : i & It && (e = t.velocityY),
   3403             this._super.attrTest.call(this, t) &&
   3404               i & t.direction &&
   3405               t.distance > this.options.threshold &&
   3406               pt(e) > this.options.velocity &&
   3407               t.eventType & Tt
   3408           );
   3409         },
   3410         emit: function (t) {
   3411           var e = U(t.direction);
   3412           e && this.manager.emit(this.options.event + e, t),
   3413             this.manager.emit(this.options.event, t);
   3414         },
   3415       }),
   3416       c(nt, Y, {
   3417         defaults: {
   3418           event: "tap",
   3419           pointers: 1,
   3420           taps: 1,
   3421           interval: 300,
   3422           time: 250,
   3423           threshold: 2,
   3424           posThreshold: 10,
   3425         },
   3426         getTouchAction: function () {
   3427           return [Jt];
   3428         },
   3429         process: function (t) {
   3430           var e = this.options,
   3431             i = t.pointers.length === e.pointers,
   3432             n = t.distance < e.threshold,
   3433             a = t.deltaTime < e.time;
   3434           if ((this.reset(), t.eventType & xt && 0 === this.count))
   3435             return this.failTimeout();
   3436           if (n && a && i) {
   3437             if (t.eventType != Tt) return this.failTimeout();
   3438             var r = !this.pTime || t.timeStamp - this.pTime < e.interval,
   3439               s = !this.pCenter || q(this.pCenter, t.center) < e.posThreshold;
   3440             if (
   3441               ((this.pTime = t.timeStamp),
   3442               (this.pCenter = t.center),
   3443               s && r ? (this.count += 1) : (this.count = 1),
   3444               (this._input = t),
   3445               0 === this.count % e.taps)
   3446             )
   3447               return this.hasRequireFailures()
   3448                 ? ((this._timer = o(
   3449                     function () {
   3450                       (this.state = re), this.tryEmit();
   3451                     },
   3452                     e.interval,
   3453                     this
   3454                   )),
   3455                   ne)
   3456                 : re;
   3457           }
   3458           return 32;
   3459         },
   3460         failTimeout: function () {
   3461           return (
   3462             (this._timer = o(
   3463               function () {
   3464                 this.state = 32;
   3465               },
   3466               this.options.interval,
   3467               this
   3468             )),
   3469             32
   3470           );
   3471         },
   3472         reset: function () {
   3473           clearTimeout(this._timer);
   3474         },
   3475         emit: function () {
   3476           this.state == re &&
   3477             ((this._input.tapCount = this.count),
   3478             this.manager.emit(this.options.event, this._input));
   3479         },
   3480       }),
   3481       (ot.VERSION = "2.0.4"),
   3482       (ot.defaults = {
   3483         domEvents: !1,
   3484         touchAction: Gt,
   3485         enable: !0,
   3486         inputTarget: null,
   3487         inputClass: null,
   3488         preset: [
   3489           [
   3490             et,
   3491             {
   3492               enable: !1,
   3493             },
   3494           ],
   3495           [
   3496             K,
   3497             {
   3498               enable: !1,
   3499             },
   3500             ["rotate"],
   3501           ],
   3502           [
   3503             it,
   3504             {
   3505               direction: Mt,
   3506             },
   3507           ],
   3508           [
   3509             J,
   3510             {
   3511               direction: Mt,
   3512             },
   3513             ["swipe"],
   3514           ],
   3515           [nt],
   3516           [
   3517             nt,
   3518             {
   3519               event: "doubletap",
   3520               taps: 2,
   3521             },
   3522             ["tap"],
   3523           ],
   3524           [tt],
   3525         ],
   3526         cssProps: {
   3527           userSelect: "default",
   3528           touchSelect: "none",
   3529           touchCallout: "none",
   3530           contentZooming: "none",
   3531           userDrag: "none",
   3532           tapHighlightColor: "rgba(0,0,0,0)",
   3533         },
   3534       });
   3535     (at.prototype = {
   3536       set: function (t) {
   3537         return (
   3538           s(this.options, t),
   3539           t.touchAction && this.touchAction.update(),
   3540           t.inputTarget &&
   3541             (this.input.destroy(),
   3542             (this.input.target = t.inputTarget),
   3543             this.input.init()),
   3544           this
   3545         );
   3546       },
   3547       stop: function (t) {
   3548         this.session.stopped = t ? 2 : 1;
   3549       },
   3550       recognize: function (t) {
   3551         var e = this.session;
   3552         if (!e.stopped) {
   3553           this.touchAction.preventDefaults(t);
   3554           var i,
   3555             n = this.recognizers,
   3556             o = e.curRecognizer;
   3557           (!o || (o && o.state & re)) && (o = e.curRecognizer = null);
   3558           for (var a = 0; a < n.length; )
   3559             (i = n[a]),
   3560               2 === e.stopped || (o && i != o && !i.canRecognizeWith(o))
   3561                 ? i.reset()
   3562                 : i.recognize(t),
   3563               !o && i.state & (ne | oe | ae) && (o = e.curRecognizer = i),
   3564               a++;
   3565         }
   3566       },
   3567       get: function (t) {
   3568         if (t instanceof Y) return t;
   3569         for (var e = this.recognizers, i = 0; i < e.length; i++)
   3570           if (e[i].options.event == t) return e[i];
   3571         return null;
   3572       },
   3573       add: function (t) {
   3574         if (a(t, "add", this)) return this;
   3575         var e = this.get(t.options.event);
   3576         return (
   3577           e && this.remove(e),
   3578           this.recognizers.push(t),
   3579           (t.manager = this),
   3580           this.touchAction.update(),
   3581           t
   3582         );
   3583       },
   3584       remove: function (t) {
   3585         if (a(t, "remove", this)) return this;
   3586         var e = this.recognizers;
   3587         return (
   3588           (t = this.get(t)),
   3589           e.splice(y(e, t), 1),
   3590           this.touchAction.update(),
   3591           this
   3592         );
   3593       },
   3594       on: function (t, e) {
   3595         var i = this.handlers;
   3596         return (
   3597           r(g(t), function (t) {
   3598             (i[t] = i[t] || []), i[t].push(e);
   3599           }),
   3600           this
   3601         );
   3602       },
   3603       off: function (t, e) {
   3604         var i = this.handlers;
   3605         return (
   3606           r(g(t), function (t) {
   3607             e ? i[t].splice(y(i[t], e), 1) : delete i[t];
   3608           }),
   3609           this
   3610         );
   3611       },
   3612       emit: function (t, e) {
   3613         this.options.domEvents && st(t, e);
   3614         var i = this.handlers[t] && this.handlers[t].slice();
   3615         if (i && i.length) {
   3616           (e.type = t),
   3617             (e.preventDefault = function () {
   3618               e.srcEvent.preventDefault();
   3619             });
   3620           for (var n = 0; n < i.length; ) i[n](e), n++;
   3621         }
   3622       },
   3623       destroy: function () {
   3624         this.element && rt(this, !1),
   3625           (this.handlers = {}),
   3626           (this.session = {}),
   3627           this.input.destroy(),
   3628           (this.element = null);
   3629       },
   3630     }),
   3631       s(ot, {
   3632         INPUT_START: xt,
   3633         INPUT_MOVE: Ct,
   3634         INPUT_END: Tt,
   3635         INPUT_CANCEL: St,
   3636         STATE_POSSIBLE: ie,
   3637         STATE_BEGAN: ne,
   3638         STATE_CHANGED: oe,
   3639         STATE_ENDED: ae,
   3640         STATE_RECOGNIZED: re,
   3641         STATE_CANCELLED: se,
   3642         STATE_FAILED: 32,
   3643         DIRECTION_NONE: Pt,
   3644         DIRECTION_LEFT: At,
   3645         DIRECTION_RIGHT: Ot,
   3646         DIRECTION_UP: Et,
   3647         DIRECTION_DOWN: _t,
   3648         DIRECTION_HORIZONTAL: Mt,
   3649         DIRECTION_VERTICAL: It,
   3650         DIRECTION_ALL: Dt,
   3651         Manager: at,
   3652         Input: T,
   3653         TouchAction: X,
   3654         TouchInput: W,
   3655         MouseInput: L,
   3656         PointerEventInput: j,
   3657         TouchMouseInput: Q,
   3658         SingleTouchInput: $,
   3659         Recognizer: Y,
   3660         AttrRecognizer: Z,
   3661         Tap: nt,
   3662         Pan: J,
   3663         Swipe: it,
   3664         Pinch: K,
   3665         Rotate: et,
   3666         Press: tt,
   3667         on: h,
   3668         off: f,
   3669         each: r,
   3670         merge: l,
   3671         extend: s,
   3672         inherit: c,
   3673         bindFn: u,
   3674         prefixed: k,
   3675       }),
   3676       typeof define == ut && define.amd
   3677         ? define(function () {
   3678             return ot;
   3679           })
   3680         : "undefined" != typeof module && module.exports
   3681         ? (module.exports = ot)
   3682         : (t.Hammer = ot);
   3683   })(window, document),
   3684   (function (t) {
   3685     "function" == typeof define && define.amd
   3686       ? define(["jquery", "hammerjs"], t)
   3687       : "object" == typeof exports
   3688       ? t(require("jquery"), require("hammerjs"))
   3689       : t(jQuery, Hammer);
   3690   })(function (t, e) {
   3691     function i(i, n) {
   3692       var o = t(i);
   3693       o.data("hammer") || o.data("hammer", new e(o[0], n));
   3694     }
   3695     (t.fn.hammer = function (t) {
   3696       return this.each(function () {
   3697         i(this, t);
   3698       });
   3699     }),
   3700       (e.Manager.prototype.emit = (function (e) {
   3701         return function (i, n) {
   3702           e.call(this, i, n),
   3703             t(this.element).trigger({
   3704               type: i,
   3705               gesture: n,
   3706             });
   3707         };
   3708       })(e.Manager.prototype.emit));
   3709   }),
   3710   (function (t) {
   3711     t.Package ? (Materialize = {}) : (t.Materialize = {});
   3712   })(window),
   3713   "undefined" == typeof exports ||
   3714     exports.nodeType ||
   3715     ("undefined" != typeof module &&
   3716       !module.nodeType &&
   3717       module.exports &&
   3718       (exports = module.exports = Materialize),
   3719     (exports.default = Materialize)),
   3720   (function (t) {
   3721     for (
   3722       var e = 0,
   3723         i = ["webkit", "moz"],
   3724         n = t.requestAnimationFrame,
   3725         o = t.cancelAnimationFrame,
   3726         a = i.length;
   3727       --a >= 0 && !n;
   3728 
   3729     )
   3730       (n = t[i[a] + "RequestAnimationFrame"]),
   3731         (o = t[i[a] + "CancelRequestAnimationFrame"]);
   3732     (n && o) ||
   3733       ((n = function (t) {
   3734         var i = +Date.now(),
   3735           n = Math.max(e + 16, i);
   3736         return setTimeout(function () {
   3737           t((e = n));
   3738         }, n - i);
   3739       }),
   3740       (o = clearTimeout)),
   3741       (t.requestAnimationFrame = n),
   3742       (t.cancelAnimationFrame = o);
   3743   })(window),
   3744   (Materialize.objectSelectorString = function (t) {
   3745     return (
   3746       (t.prop("tagName") || "") +
   3747       (t.attr("id") || "") +
   3748       (t.attr("class") || "")
   3749     ).replace(/\s/g, "");
   3750   }),
   3751   (Materialize.guid = (function () {
   3752     function t() {
   3753       return Math.floor(65536 * (1 + Math.random()))
   3754         .toString(16)
   3755         .substring(1);
   3756     }
   3757     return function () {
   3758       return (
   3759         t() + t() + "-" + t() + "-" + t() + "-" + t() + "-" + t() + t() + t()
   3760       );
   3761     };
   3762   })()),
   3763   (Materialize.escapeHash = function (t) {
   3764     return t.replace(/(:|\.|\[|\]|,|=)/g, "\\$1");
   3765   }),
   3766   (Materialize.elementOrParentIsFixed = function (t) {
   3767     var e = $(t),
   3768       i = !1;
   3769     return (
   3770       e.add(e.parents()).each(function () {
   3771         if ("fixed" === $(this).css("position")) return (i = !0), !1;
   3772       }),
   3773       i
   3774     );
   3775   });
   3776 var getTime =
   3777   Date.now ||
   3778   function () {
   3779     return new Date().getTime();
   3780   };
   3781 Materialize.throttle = function (t, e, i) {
   3782   var n,
   3783     o,
   3784     a,
   3785     r = null,
   3786     s = 0;
   3787   i || (i = {});
   3788   var l = function () {
   3789     (s = !1 === i.leading ? 0 : getTime()),
   3790       (r = null),
   3791       (a = t.apply(n, o)),
   3792       (n = o = null);
   3793   };
   3794   return function () {
   3795     var c = getTime();
   3796     s || !1 !== i.leading || (s = c);
   3797     var u = e - (c - s);
   3798     return (
   3799       (n = this),
   3800       (o = arguments),
   3801       u <= 0
   3802         ? (clearTimeout(r),
   3803           (r = null),
   3804           (s = c),
   3805           (a = t.apply(n, o)),
   3806           (n = o = null))
   3807         : r || !1 === i.trailing || (r = setTimeout(l, u)),
   3808       a
   3809     );
   3810   };
   3811 };
   3812 var Vel;
   3813 (Vel = jQuery ? jQuery.Velocity : $ ? $.Velocity : Velocity),
   3814   (Materialize.Vel = Vel || Velocity),
   3815   (function (t) {
   3816     (t.fn.collapsible = function (e, i) {
   3817       var n = {
   3818           accordion: void 0,
   3819           onOpen: void 0,
   3820           onClose: void 0,
   3821         },
   3822         o = e;
   3823       return (
   3824         (e = t.extend(n, e)),
   3825         this.each(function () {
   3826           function n(e) {
   3827             (p = d.find("> li > .collapsible-header")),
   3828               e.hasClass("active")
   3829                 ? e.parent().addClass("active")
   3830                 : e.parent().removeClass("active"),
   3831               e.parent().hasClass("active")
   3832                 ? e
   3833                     .siblings(".collapsible-body")
   3834                     .stop(!0, !1)
   3835                     .slideDown({
   3836                       duration: 350,
   3837                       easing: "easeOutQuart",
   3838                       queue: !1,
   3839                       complete: function () {
   3840                         t(this).css("height", "");
   3841                       },
   3842                     })
   3843                 : e
   3844                     .siblings(".collapsible-body")
   3845                     .stop(!0, !1)
   3846                     .slideUp({
   3847                       duration: 350,
   3848                       easing: "easeOutQuart",
   3849                       queue: !1,
   3850                       complete: function () {
   3851                         t(this).css("height", "");
   3852                       },
   3853                     }),
   3854               p.not(e).removeClass("active").parent().removeClass("active"),
   3855               p
   3856                 .not(e)
   3857                 .parent()
   3858                 .children(".collapsible-body")
   3859                 .stop(!0, !1)
   3860                 .each(function () {
   3861                   t(this).is(":visible") &&
   3862                     t(this).slideUp({
   3863                       duration: 350,
   3864                       easing: "easeOutQuart",
   3865                       queue: !1,
   3866                       complete: function () {
   3867                         t(this).css("height", ""),
   3868                           s(t(this).siblings(".collapsible-header"));
   3869                       },
   3870                     });
   3871                 });
   3872           }
   3873 
   3874           function a(e) {
   3875             e.hasClass("active")
   3876               ? e.parent().addClass("active")
   3877               : e.parent().removeClass("active"),
   3878               e.parent().hasClass("active")
   3879                 ? e
   3880                     .siblings(".collapsible-body")
   3881                     .stop(!0, !1)
   3882                     .slideDown({
   3883                       duration: 350,
   3884                       easing: "easeOutQuart",
   3885                       queue: !1,
   3886                       complete: function () {
   3887                         t(this).css("height", "");
   3888                       },
   3889                     })
   3890                 : e
   3891                     .siblings(".collapsible-body")
   3892                     .stop(!0, !1)
   3893                     .slideUp({
   3894                       duration: 350,
   3895                       easing: "easeOutQuart",
   3896                       queue: !1,
   3897                       complete: function () {
   3898                         t(this).css("height", "");
   3899                       },
   3900                     });
   3901           }
   3902 
   3903           function r(t, i) {
   3904             i || t.toggleClass("active"),
   3905               e.accordion || "accordion" === h || void 0 === h ? n(t) : a(t),
   3906               s(t);
   3907           }
   3908 
   3909           function s(t) {
   3910             t.hasClass("active")
   3911               ? "function" == typeof e.onOpen && e.onOpen.call(this, t.parent())
   3912               : "function" == typeof e.onClose &&
   3913                 e.onClose.call(this, t.parent());
   3914           }
   3915 
   3916           function l(t) {
   3917             return c(t).length > 0;
   3918           }
   3919 
   3920           function c(t) {
   3921             return t.closest("li > .collapsible-header");
   3922           }
   3923 
   3924           function u() {
   3925             d.off("click.collapse", "> li > .collapsible-header");
   3926           }
   3927           var d = t(this),
   3928             p = t(this).find("> li > .collapsible-header"),
   3929             h = d.data("collapsible");
   3930           if ("destroy" !== o)
   3931             if (i >= 0 && i < p.length) {
   3932               var f = p.eq(i);
   3933               f.length &&
   3934                 ("open" === o || ("close" === o && f.hasClass("active"))) &&
   3935                 r(f);
   3936             } else
   3937               u(),
   3938                 d.on("click.collapse", "> li > .collapsible-header", function (
   3939                   e
   3940                 ) {
   3941                   var i = t(e.target);
   3942                   l(i) && (i = c(i)), r(i);
   3943                 }),
   3944                 e.accordion || "accordion" === h || void 0 === h
   3945                   ? r(p.filter(".active").first(), !0)
   3946                   : p.filter(".active").each(function () {
   3947                       r(t(this), !0);
   3948                     });
   3949           else u();
   3950         })
   3951       );
   3952     }),
   3953       t(document).ready(function () {
   3954         t(".collapsible").collapsible();
   3955       });
   3956   })(jQuery),
   3957   (function (t) {
   3958     (t.fn.scrollTo = function (e) {
   3959       return (
   3960         t(this).scrollTop(
   3961           t(this).scrollTop() - t(this).offset().top + t(e).offset().top
   3962         ),
   3963         this
   3964       );
   3965     }),
   3966       (t.fn.dropdown = function (e) {
   3967         var i = {
   3968           inDuration: 300,
   3969           outDuration: 225,
   3970           constrainWidth: !0,
   3971           hover: !1,
   3972           gutter: 0,
   3973           belowOrigin: !1,
   3974           alignment: "left",
   3975           stopPropagation: !1,
   3976         };
   3977         return "open" === e
   3978           ? (this.each(function () {
   3979               t(this).trigger("open");
   3980             }),
   3981             !1)
   3982           : "close" === e
   3983           ? (this.each(function () {
   3984               t(this).trigger("close");
   3985             }),
   3986             !1)
   3987           : void this.each(function () {
   3988               function n() {
   3989                 void 0 !== r.data("induration") &&
   3990                   (s.inDuration = r.data("induration")),
   3991                   void 0 !== r.data("outduration") &&
   3992                     (s.outDuration = r.data("outduration")),
   3993                   void 0 !== r.data("constrainwidth") &&
   3994                     (s.constrainWidth = r.data("constrainwidth")),
   3995                   void 0 !== r.data("hover") && (s.hover = r.data("hover")),
   3996                   void 0 !== r.data("gutter") && (s.gutter = r.data("gutter")),
   3997                   void 0 !== r.data("beloworigin") &&
   3998                     (s.belowOrigin = r.data("beloworigin")),
   3999                   void 0 !== r.data("alignment") &&
   4000                     (s.alignment = r.data("alignment")),
   4001                   void 0 !== r.data("stoppropagation") &&
   4002                     (s.stopPropagation = r.data("stoppropagation"));
   4003               }
   4004 
   4005               function o(e) {
   4006                 "focus" === e && (l = !0),
   4007                   n(),
   4008                   c.addClass("active"),
   4009                   r.addClass("active");
   4010                 var i = r[0].getBoundingClientRect().width;
   4011                 !0 === s.constrainWidth
   4012                   ? c.css("width", i)
   4013                   : c.css("white-space", "nowrap");
   4014                 var o = window.innerHeight,
   4015                   u = r.innerHeight(),
   4016                   d = r.offset().left,
   4017                   p = r.offset().top - t(window).scrollTop(),
   4018                   h = s.alignment,
   4019                   f = 0,
   4020                   v = 0,
   4021                   m = 0;
   4022                 !0 === s.belowOrigin && (m = u);
   4023                 var g = 0,
   4024                   y = 0,
   4025                   b = r.parent();
   4026                 if (
   4027                   (b.is("body") ||
   4028                     (b[0].scrollHeight > b[0].clientHeight &&
   4029                       (g = b[0].scrollTop),
   4030                     b[0].scrollWidth > b[0].clientWidth &&
   4031                       (y = b[0].scrollLeft)),
   4032                   d + c.innerWidth() > t(window).width()
   4033                     ? (h = "right")
   4034                     : d - c.innerWidth() + r.innerWidth() < 0 && (h = "left"),
   4035                   p + c.innerHeight() > o)
   4036                 )
   4037                   if (p + u - c.innerHeight() < 0) {
   4038                     var w = o - p - m;
   4039                     c.css("max-height", w);
   4040                   } else m || (m += u), (m -= c.innerHeight());
   4041                 "left" === h
   4042                   ? ((f = s.gutter), (v = r.position().left + f))
   4043                   : "right" === h &&
   4044                     (c.stop(!0, !0).css({
   4045                       opacity: 0,
   4046                       left: 0,
   4047                     }),
   4048                     (v = r.position().left + i - c.width() + (f = -s.gutter))),
   4049                   c.css({
   4050                     position: "absolute",
   4051                     top: r.position().top + m + g,
   4052                     left: v + y,
   4053                   }),
   4054                   c
   4055                     .slideDown({
   4056                       queue: !1,
   4057                       duration: s.inDuration,
   4058                       easing: "easeOutCubic",
   4059                       complete: function () {
   4060                         t(this).css("height", "");
   4061                       },
   4062                     })
   4063                     .animate(
   4064                       {
   4065                         opacity: 1,
   4066                       },
   4067                       {
   4068                         queue: !1,
   4069                         duration: s.inDuration,
   4070                         easing: "easeOutSine",
   4071                       }
   4072                     ),
   4073                   setTimeout(function () {
   4074                     t(document).on("click." + c.attr("id"), function (e) {
   4075                       a(), t(document).off("click." + c.attr("id"));
   4076                     });
   4077                   }, 0);
   4078               }
   4079 
   4080               function a() {
   4081                 (l = !1),
   4082                   c.fadeOut(s.outDuration),
   4083                   c.removeClass("active"),
   4084                   r.removeClass("active"),
   4085                   t(document).off("click." + c.attr("id")),
   4086                   setTimeout(function () {
   4087                     c.css("max-height", "");
   4088                   }, s.outDuration);
   4089               }
   4090               var r = t(this),
   4091                 s = t.extend({}, i, e),
   4092                 l = !1,
   4093                 c = t("#" + r.attr("data-activates"));
   4094               if ((n(), r.after(c), s.hover)) {
   4095                 var u = !1;
   4096                 r.off("click." + r.attr("id")),
   4097                   r.on("mouseenter", function (t) {
   4098                     !1 === u && (o(), (u = !0));
   4099                   }),
   4100                   r.on("mouseleave", function (e) {
   4101                     var i = e.toElement || e.relatedTarget;
   4102                     t(i).closest(".dropdown-content").is(c) ||
   4103                       (c.stop(!0, !0), a(), (u = !1));
   4104                   }),
   4105                   c.on("mouseleave", function (e) {
   4106                     var i = e.toElement || e.relatedTarget;
   4107                     t(i).closest(".dropdown-button").is(r) ||
   4108                       (c.stop(!0, !0), a(), (u = !1));
   4109                   });
   4110               } else
   4111                 r.off("click." + r.attr("id")),
   4112                   r.on("click." + r.attr("id"), function (e) {
   4113                     l ||
   4114                       (r[0] != e.currentTarget ||
   4115                       r.hasClass("active") ||
   4116                       0 !== t(e.target).closest(".dropdown-content").length
   4117                         ? r.hasClass("active") &&
   4118                           (a(), t(document).off("click." + c.attr("id")))
   4119                         : (e.preventDefault(),
   4120                           s.stopPropagation && e.stopPropagation(),
   4121                           o("click")));
   4122                   });
   4123               r.on("open", function (t, e) {
   4124                 o(e);
   4125               }),
   4126                 r.on("close", a);
   4127             });
   4128       }),
   4129       t(document).ready(function () {
   4130         t(".dropdown-button").dropdown();
   4131       });
   4132   })(jQuery),
   4133   (function (t, e) {
   4134     "use strict";
   4135     var i = {
   4136         opacity: 0.5,
   4137         inDuration: 250,
   4138         outDuration: 250,
   4139         ready: void 0,
   4140         complete: void 0,
   4141         dismissible: !0,
   4142         startingTop: "4%",
   4143         endingTop: "10%",
   4144       },
   4145       n = (function () {
   4146         function n(e, i) {
   4147           _classCallCheck(this, n),
   4148             e[0].M_Modal && e[0].M_Modal.destroy(),
   4149             (this.$el = e),
   4150             (this.options = t.extend({}, n.defaults, i)),
   4151             (this.isOpen = !1),
   4152             (this.$el[0].M_Modal = this),
   4153             (this.id = e.attr("id")),
   4154             (this.openingTrigger = void 0),
   4155             (this.$overlay = t('<div class="modal-overlay"></div>')),
   4156             n._increment++,
   4157             n._count++,
   4158             (this.$overlay[0].style.zIndex = 1e3 + 2 * n._increment),
   4159             (this.$el[0].style.zIndex = 1e3 + 2 * n._increment + 1),
   4160             this.setupEventHandlers();
   4161         }
   4162         return (
   4163           _createClass(
   4164             n,
   4165             [
   4166               {
   4167                 key: "getInstance",
   4168                 value: function () {
   4169                   return this;
   4170                 },
   4171               },
   4172               {
   4173                 key: "destroy",
   4174                 value: function () {
   4175                   this.removeEventHandlers(),
   4176                     this.$el[0].removeAttribute("style"),
   4177                     this.$overlay[0].parentNode &&
   4178                       this.$overlay[0].parentNode.removeChild(this.$overlay[0]),
   4179                     (this.$el[0].M_Modal = void 0),
   4180                     n._count--;
   4181                 },
   4182               },
   4183               {
   4184                 key: "setupEventHandlers",
   4185                 value: function () {
   4186                   (this.handleOverlayClickBound = this.handleOverlayClick.bind(
   4187                     this
   4188                   )),
   4189                     (this.handleModalCloseClickBound = this.handleModalCloseClick.bind(
   4190                       this
   4191                     )),
   4192                     1 === n._count &&
   4193                       document.body.addEventListener(
   4194                         "click",
   4195                         this.handleTriggerClick
   4196                       ),
   4197                     this.$overlay[0].addEventListener(
   4198                       "click",
   4199                       this.handleOverlayClickBound
   4200                     ),
   4201                     this.$el[0].addEventListener(
   4202                       "click",
   4203                       this.handleModalCloseClickBound
   4204                     );
   4205                 },
   4206               },
   4207               {
   4208                 key: "removeEventHandlers",
   4209                 value: function () {
   4210                   0 === n._count &&
   4211                     document.body.removeEventListener(
   4212                       "click",
   4213                       this.handleTriggerClick
   4214                     ),
   4215                     this.$overlay[0].removeEventListener(
   4216                       "click",
   4217                       this.handleOverlayClickBound
   4218                     ),
   4219                     this.$el[0].removeEventListener(
   4220                       "click",
   4221                       this.handleModalCloseClickBound
   4222                     );
   4223                 },
   4224               },
   4225               {
   4226                 key: "handleTriggerClick",
   4227                 value: function (e) {
   4228                   var i = t(e.target).closest(".modal-trigger");
   4229                   if (e.target && i.length) {
   4230                     var n = i[0].getAttribute("href");
   4231                     n = n ? n.slice(1) : i[0].getAttribute("data-target");
   4232                     var o = document.getElementById(n).M_Modal;
   4233                     o && o.open(i), e.preventDefault();
   4234                   }
   4235                 },
   4236               },
   4237               {
   4238                 key: "handleOverlayClick",
   4239                 value: function () {
   4240                   this.options.dismissible && this.close();
   4241                 },
   4242               },
   4243               {
   4244                 key: "handleModalCloseClick",
   4245                 value: function (e) {
   4246                   var i = t(e.target).closest(".modal-close");
   4247                   e.target && i.length && this.close();
   4248                 },
   4249               },
   4250               {
   4251                 key: "handleKeydown",
   4252                 value: function (t) {
   4253                   27 === t.keyCode && this.options.dismissible && this.close();
   4254                 },
   4255               },
   4256               {
   4257                 key: "animateIn",
   4258                 value: function () {
   4259                   var i = this;
   4260                   t.extend(this.$el[0].style, {
   4261                     display: "block",
   4262                     opacity: 0,
   4263                   }),
   4264                     t.extend(this.$overlay[0].style, {
   4265                       display: "block",
   4266                       opacity: 0,
   4267                     }),
   4268                     e(
   4269                       this.$overlay[0],
   4270                       {
   4271                         opacity: this.options.opacity,
   4272                       },
   4273                       {
   4274                         duration: this.options.inDuration,
   4275                         queue: !1,
   4276                         ease: "easeOutCubic",
   4277                       }
   4278                     );
   4279                   var n = {
   4280                     duration: this.options.inDuration,
   4281                     queue: !1,
   4282                     ease: "easeOutCubic",
   4283                     complete: function () {
   4284                       "function" == typeof i.options.ready &&
   4285                         i.options.ready.call(i, i.$el, i.openingTrigger);
   4286                     },
   4287                   };
   4288                   this.$el[0].classList.contains("bottom-sheet")
   4289                     ? e(
   4290                         this.$el[0],
   4291                         {
   4292                           bottom: 0,
   4293                           opacity: 1,
   4294                         },
   4295                         n
   4296                       )
   4297                     : (e.hook(this.$el[0], "scaleX", 0.7),
   4298                       (this.$el[0].style.top = this.options.startingTop),
   4299                       e(
   4300                         this.$el[0],
   4301                         {
   4302                           top: this.options.endingTop,
   4303                           opacity: 1,
   4304                           scaleX: 1,
   4305                         },
   4306                         n
   4307                       ));
   4308                 },
   4309               },
   4310               {
   4311                 key: "animateOut",
   4312                 value: function () {
   4313                   var t = this;
   4314                   e(
   4315                     this.$overlay[0],
   4316                     {
   4317                       opacity: 0,
   4318                     },
   4319                     {
   4320                       duration: this.options.outDuration,
   4321                       queue: !1,
   4322                       ease: "easeOutQuart",
   4323                     }
   4324                   );
   4325                   var i = {
   4326                     duration: this.options.outDuration,
   4327                     queue: !1,
   4328                     ease: "easeOutCubic",
   4329                     complete: function () {
   4330                       (t.$el[0].style.display = "none"),
   4331                         "function" == typeof t.options.complete &&
   4332                           t.options.complete.call(t, t.$el),
   4333                         t.$overlay[0].parentNode.removeChild(t.$overlay[0]);
   4334                     },
   4335                   };
   4336                   this.$el[0].classList.contains("bottom-sheet")
   4337                     ? e(
   4338                         this.$el[0],
   4339                         {
   4340                           bottom: "-100%",
   4341                           opacity: 0,
   4342                         },
   4343                         i
   4344                       )
   4345                     : e(
   4346                         this.$el[0],
   4347                         {
   4348                           top: this.options.startingTop,
   4349                           opacity: 0,
   4350                           scaleX: 0.7,
   4351                         },
   4352                         i
   4353                       );
   4354                 },
   4355               },
   4356               {
   4357                 key: "open",
   4358                 value: function (t) {
   4359                   if (!this.isOpen) {
   4360                     this.isOpen = !0;
   4361                     var e = document.body;
   4362                     return (
   4363                       (e.style.overflow = "hidden"),
   4364                       this.$el[0].classList.add("open"),
   4365                       e.appendChild(this.$overlay[0]),
   4366                       (this.openingTrigger = t || void 0),
   4367                       this.options.dismissible &&
   4368                         ((this.handleKeydownBound = this.handleKeydown.bind(
   4369                           this
   4370                         )),
   4371                         document.addEventListener(
   4372                           "keydown",
   4373                           this.handleKeydownBound
   4374                         )),
   4375                       this.animateIn(),
   4376                       this
   4377                     );
   4378                   }
   4379                 },
   4380               },
   4381               {
   4382                 key: "close",
   4383                 value: function () {
   4384                   if (this.isOpen)
   4385                     return (
   4386                       (this.isOpen = !1),
   4387                       this.$el[0].classList.remove("open"),
   4388                       (document.body.style.overflow = ""),
   4389                       this.options.dismissible &&
   4390                         document.removeEventListener(
   4391                           "keydown",
   4392                           this.handleKeydownBound
   4393                         ),
   4394                       this.animateOut(),
   4395                       this
   4396                     );
   4397                 },
   4398               },
   4399             ],
   4400             [
   4401               {
   4402                 key: "init",
   4403                 value: function (e, i) {
   4404                   var o = [];
   4405                   return (
   4406                     e.each(function () {
   4407                       o.push(new n(t(this), i));
   4408                     }),
   4409                     o
   4410                   );
   4411                 },
   4412               },
   4413               {
   4414                 key: "defaults",
   4415                 get: function () {
   4416                   return i;
   4417                 },
   4418               },
   4419             ]
   4420           ),
   4421           n
   4422         );
   4423       })();
   4424     (n._increment = 0),
   4425       (n._count = 0),
   4426       (Materialize.Modal = n),
   4427       (t.fn.modal = function (e) {
   4428         return n.prototype[e]
   4429           ? "get" === e.slice(0, 3)
   4430             ? this.first()[0].M_Modal[e]()
   4431             : this.each(function () {
   4432                 this.M_Modal[e]();
   4433               })
   4434           : "object" != typeof e && e
   4435           ? void t.error("Method " + e + " does not exist on jQuery.modal")
   4436           : (n.init(this, arguments[0]), this);
   4437       });
   4438   })(jQuery, Materialize.Vel),
   4439   (function (t) {
   4440     (t.fn.materialbox = function () {
   4441       return this.each(function () {
   4442         function e() {
   4443           a = !1;
   4444           var e = s.parent(".material-placeholder"),
   4445             n = (window.innerWidth, window.innerHeight, s.data("width")),
   4446             l = s.data("height");
   4447           s.velocity("stop", !0),
   4448             t("#materialbox-overlay").velocity("stop", !0),
   4449             t(".materialbox-caption").velocity("stop", !0),
   4450             t(window).off("scroll.materialbox"),
   4451             t(document).off("keyup.materialbox"),
   4452             t(window).off("resize.materialbox"),
   4453             t("#materialbox-overlay").velocity(
   4454               {
   4455                 opacity: 0,
   4456               },
   4457               {
   4458                 duration: r,
   4459                 queue: !1,
   4460                 easing: "easeOutQuad",
   4461                 complete: function () {
   4462                   (o = !1), t(this).remove();
   4463                 },
   4464               }
   4465             ),
   4466             s.velocity(
   4467               {
   4468                 width: n,
   4469                 height: l,
   4470                 left: 0,
   4471                 top: 0,
   4472               },
   4473               {
   4474                 duration: r,
   4475                 queue: !1,
   4476                 easing: "easeOutQuad",
   4477                 complete: function () {
   4478                   e.css({
   4479                     height: "",
   4480                     width: "",
   4481                     position: "",
   4482                     top: "",
   4483                     left: "",
   4484                   }),
   4485                     s.removeAttr("style"),
   4486                     s.attr("style", c),
   4487                     s.removeClass("active"),
   4488                     (a = !0),
   4489                     i && i.css("overflow", "");
   4490                 },
   4491               }
   4492             ),
   4493             t(".materialbox-caption").velocity(
   4494               {
   4495                 opacity: 0,
   4496               },
   4497               {
   4498                 duration: r,
   4499                 queue: !1,
   4500                 easing: "easeOutQuad",
   4501                 complete: function () {
   4502                   t(this).remove();
   4503                 },
   4504               }
   4505             );
   4506         }
   4507         if (!t(this).hasClass("initialized")) {
   4508           t(this).addClass("initialized");
   4509           var i,
   4510             n,
   4511             o = !1,
   4512             a = !0,
   4513             r = 200,
   4514             s = t(this),
   4515             l = t("<div></div>").addClass("material-placeholder"),
   4516             c = s.attr("style");
   4517           s.wrap(l),
   4518             s.on("click", function () {
   4519               var r = s.parent(".material-placeholder"),
   4520                 l = window.innerWidth,
   4521                 c = window.innerHeight,
   4522                 u = s.width(),
   4523                 d = s.height();
   4524               if (!1 === a) return e(), !1;
   4525               if (o && !0 === a) return e(), !1;
   4526               (a = !1),
   4527                 s.addClass("active"),
   4528                 (o = !0),
   4529                 r.css({
   4530                   width: r[0].getBoundingClientRect().width,
   4531                   height: r[0].getBoundingClientRect().height,
   4532                   position: "relative",
   4533                   top: 0,
   4534                   left: 0,
   4535                 }),
   4536                 (i = void 0),
   4537                 (n = r[0].parentNode);
   4538               for (; null !== n && !t(n).is(document); ) {
   4539                 var p = t(n);
   4540                 "visible" !== p.css("overflow") &&
   4541                   (p.css("overflow", "visible"),
   4542                   (i = void 0 === i ? p : i.add(p))),
   4543                   (n = n.parentNode);
   4544               }
   4545               s.css({
   4546                 position: "absolute",
   4547                 "z-index": 1e3,
   4548                 "will-change": "left, top, width, height",
   4549               })
   4550                 .data("width", u)
   4551                 .data("height", d);
   4552               var h = t('<div id="materialbox-overlay"></div>')
   4553                 .css({
   4554                   opacity: 0,
   4555                 })
   4556                 .click(function () {
   4557                   !0 === a && e();
   4558                 });
   4559               s.before(h);
   4560               var f = h[0].getBoundingClientRect();
   4561               if (
   4562                 (h.css({
   4563                   width: l,
   4564                   height: c,
   4565                   left: -1 * f.left,
   4566                   top: -1 * f.top,
   4567                 }),
   4568                 h.velocity(
   4569                   {
   4570                     opacity: 1,
   4571                   },
   4572                   {
   4573                     duration: 275,
   4574                     queue: !1,
   4575                     easing: "easeOutQuad",
   4576                   }
   4577                 ),
   4578                 "" !== s.data("caption"))
   4579               ) {
   4580                 var v = t('<div class="materialbox-caption"></div>');
   4581                 v.text(s.data("caption")),
   4582                   t("body").append(v),
   4583                   v.css({
   4584                     display: "inline",
   4585                   }),
   4586                   v.velocity(
   4587                     {
   4588                       opacity: 1,
   4589                     },
   4590                     {
   4591                       duration: 275,
   4592                       queue: !1,
   4593                       easing: "easeOutQuad",
   4594                     }
   4595                   );
   4596               }
   4597               var m = 0,
   4598                 g = 0;
   4599               u / l > d / c
   4600                 ? ((m = 0.9 * l), (g = 0.9 * l * (d / u)))
   4601                 : ((m = 0.9 * c * (u / d)), (g = 0.9 * c)),
   4602                 s.hasClass("responsive-img")
   4603                   ? s.velocity(
   4604                       {
   4605                         "max-width": m,
   4606                         width: u,
   4607                       },
   4608                       {
   4609                         duration: 0,
   4610                         queue: !1,
   4611                         complete: function () {
   4612                           s.css({
   4613                             left: 0,
   4614                             top: 0,
   4615                           }).velocity(
   4616                             {
   4617                               height: g,
   4618                               width: m,
   4619                               left:
   4620                                 t(document).scrollLeft() +
   4621                                 l / 2 -
   4622                                 s.parent(".material-placeholder").offset()
   4623                                   .left -
   4624                                 m / 2,
   4625                               top:
   4626                                 t(document).scrollTop() +
   4627                                 c / 2 -
   4628                                 s.parent(".material-placeholder").offset().top -
   4629                                 g / 2,
   4630                             },
   4631                             {
   4632                               duration: 275,
   4633                               queue: !1,
   4634                               easing: "easeOutQuad",
   4635                               complete: function () {
   4636                                 a = !0;
   4637                               },
   4638                             }
   4639                           );
   4640                         },
   4641                       }
   4642                     )
   4643                   : s
   4644                       .css("left", 0)
   4645                       .css("top", 0)
   4646                       .velocity(
   4647                         {
   4648                           height: g,
   4649                           width: m,
   4650                           left:
   4651                             t(document).scrollLeft() +
   4652                             l / 2 -
   4653                             s.parent(".material-placeholder").offset().left -
   4654                             m / 2,
   4655                           top:
   4656                             t(document).scrollTop() +
   4657                             c / 2 -
   4658                             s.parent(".material-placeholder").offset().top -
   4659                             g / 2,
   4660                         },
   4661                         {
   4662                           duration: 275,
   4663                           queue: !1,
   4664                           easing: "easeOutQuad",
   4665                           complete: function () {
   4666                             a = !0;
   4667                           },
   4668                         }
   4669                       ),
   4670                 t(window).on("scroll.materialbox", function () {
   4671                   o && e();
   4672                 }),
   4673                 t(window).on("resize.materialbox", function () {
   4674                   o && e();
   4675                 }),
   4676                 t(document).on("keyup.materialbox", function (t) {
   4677                   27 === t.keyCode && !0 === a && o && e();
   4678                 });
   4679             });
   4680         }
   4681       });
   4682     }),
   4683       t(document).ready(function () {
   4684         t(".materialboxed").materialbox();
   4685       });
   4686   })(jQuery),
   4687   (function (t) {
   4688     t.fn.parallax = function () {
   4689       var e = t(window).width();
   4690       return this.each(function (i) {
   4691         function n(i) {
   4692           var n;
   4693           n =
   4694             e < 601
   4695               ? o.height() > 0
   4696                 ? o.height()
   4697                 : o.children("img").height()
   4698               : o.height() > 0
   4699               ? o.height()
   4700               : 500;
   4701           var a = o.children("img").first(),
   4702             r = a.height() - n,
   4703             s = o.offset().top + n,
   4704             l = o.offset().top,
   4705             c = t(window).scrollTop(),
   4706             u = window.innerHeight,
   4707             d = (c + u - l) / (n + u),
   4708             p = Math.round(r * d);
   4709           i && a.css("display", "block"),
   4710             s > c &&
   4711               l < c + u &&
   4712               a.css("transform", "translate3D(-50%," + p + "px, 0)");
   4713         }
   4714         var o = t(this);
   4715         o.addClass("parallax"),
   4716           o
   4717             .children("img")
   4718             .one("load", function () {
   4719               n(!0);
   4720             })
   4721             .each(function () {
   4722               this.complete && t(this).trigger("load");
   4723             }),
   4724           t(window).scroll(function () {
   4725             (e = t(window).width()), n(!1);
   4726           }),
   4727           t(window).resize(function () {
   4728             (e = t(window).width()), n(!1);
   4729           });
   4730       });
   4731     };
   4732   })(jQuery),
   4733   (function (t) {
   4734     var e = {
   4735       init: function (e) {
   4736         var i = {
   4737           onShow: null,
   4738           swipeable: !1,
   4739           responsiveThreshold: 1 / 0,
   4740         };
   4741         e = t.extend(i, e);
   4742         var n = Materialize.objectSelectorString(t(this));
   4743         return this.each(function (i) {
   4744           var o,
   4745             a,
   4746             r,
   4747             s,
   4748             l,
   4749             c = n + i,
   4750             u = t(this),
   4751             d = t(window).width(),
   4752             p = u.find("li.tab a"),
   4753             h = u.width(),
   4754             f = t(),
   4755             v = Math.max(h, u[0].scrollWidth) / p.length,
   4756             m = 0,
   4757             g = 0,
   4758             y = !1,
   4759             b = function (t) {
   4760               return Math.ceil(
   4761                 h -
   4762                   t.position().left -
   4763                   t[0].getBoundingClientRect().width -
   4764                   u.scrollLeft()
   4765               );
   4766             },
   4767             w = function (t) {
   4768               return Math.floor(t.position().left + u.scrollLeft());
   4769             },
   4770             k = function (t) {
   4771               m - t >= 0
   4772                 ? (s.velocity(
   4773                     {
   4774                       right: b(o),
   4775                     },
   4776                     {
   4777                       duration: 300,
   4778                       queue: !1,
   4779                       easing: "easeOutQuad",
   4780                     }
   4781                   ),
   4782                   s.velocity(
   4783                     {
   4784                       left: w(o),
   4785                     },
   4786                     {
   4787                       duration: 300,
   4788                       queue: !1,
   4789                       easing: "easeOutQuad",
   4790                       delay: 90,
   4791                     }
   4792                   ))
   4793                 : (s.velocity(
   4794                     {
   4795                       left: w(o),
   4796                     },
   4797                     {
   4798                       duration: 300,
   4799                       queue: !1,
   4800                       easing: "easeOutQuad",
   4801                     }
   4802                   ),
   4803                   s.velocity(
   4804                     {
   4805                       right: b(o),
   4806                     },
   4807                     {
   4808                       duration: 300,
   4809                       queue: !1,
   4810                       easing: "easeOutQuad",
   4811                       delay: 90,
   4812                     }
   4813                   ));
   4814             };
   4815           e.swipeable && d > e.responsiveThreshold && (e.swipeable = !1),
   4816             0 === (o = t(p.filter('[href="' + location.hash + '"]'))).length &&
   4817               (o = t(this).find("li.tab a.active").first()),
   4818             0 === o.length && (o = t(this).find("li.tab a").first()),
   4819             o.addClass("active"),
   4820             (m = p.index(o)) < 0 && (m = 0),
   4821             void 0 !== o[0] && (a = t(o[0].hash)).addClass("active"),
   4822             u.find(".indicator").length ||
   4823               u.append('<li class="indicator"></li>'),
   4824             (s = u.find(".indicator")),
   4825             u.append(s),
   4826             u.is(":visible") &&
   4827               setTimeout(function () {
   4828                 s.css({
   4829                   right: b(o),
   4830                 }),
   4831                   s.css({
   4832                     left: w(o),
   4833                   });
   4834               }, 0),
   4835             t(window)
   4836               .off("resize.tabs-" + c)
   4837               .on("resize.tabs-" + c, function () {
   4838                 (h = u.width()),
   4839                   (v = Math.max(h, u[0].scrollWidth) / p.length),
   4840                   m < 0 && (m = 0),
   4841                   0 !== v &&
   4842                     0 !== h &&
   4843                     (s.css({
   4844                       right: b(o),
   4845                     }),
   4846                     s.css({
   4847                       left: w(o),
   4848                     }));
   4849               }),
   4850             e.swipeable
   4851               ? (p.each(function () {
   4852                   var e = t(Materialize.escapeHash(this.hash));
   4853                   e.addClass("carousel-item"), (f = f.add(e));
   4854                 }),
   4855                 (r = f.wrapAll('<div class="tabs-content carousel"></div>')),
   4856                 f.css("display", ""),
   4857                 t(".tabs-content.carousel").carousel({
   4858                   fullWidth: !0,
   4859                   noWrap: !0,
   4860                   onCycleTo: function (t) {
   4861                     if (!y) {
   4862                       var i = m;
   4863                       (m = r.index(t)),
   4864                         o.removeClass("active"),
   4865                         (o = p.eq(m)).addClass("active"),
   4866                         k(i),
   4867                         "function" == typeof e.onShow && e.onShow.call(u[0], a);
   4868                     }
   4869                   },
   4870                 }))
   4871               : p.not(o).each(function () {
   4872                   t(Materialize.escapeHash(this.hash)).hide();
   4873                 }),
   4874             u.off("click.tabs").on("click.tabs", "a", function (i) {
   4875               if (t(this).parent().hasClass("disabled")) i.preventDefault();
   4876               else if (!t(this).attr("target")) {
   4877                 (y = !0),
   4878                   (h = u.width()),
   4879                   (v = Math.max(h, u[0].scrollWidth) / p.length),
   4880                   o.removeClass("active");
   4881                 var n = a;
   4882                 (o = t(this)),
   4883                   (a = t(Materialize.escapeHash(this.hash))),
   4884                   (p = u.find("li.tab a"));
   4885                 o.position();
   4886                 o.addClass("active"),
   4887                   (g = m),
   4888                   (m = p.index(t(this))) < 0 && (m = 0),
   4889                   e.swipeable
   4890                     ? f.length &&
   4891                       f.carousel("set", m, function () {
   4892                         "function" == typeof e.onShow && e.onShow.call(u[0], a);
   4893                       })
   4894                     : (void 0 !== a &&
   4895                         (a.show(),
   4896                         a.addClass("active"),
   4897                         "function" == typeof e.onShow &&
   4898                           e.onShow.call(this, a)),
   4899                       void 0 === n ||
   4900                         n.is(a) ||
   4901                         (n.hide(), n.removeClass("active"))),
   4902                   (l = setTimeout(function () {
   4903                     y = !1;
   4904                   }, 300)),
   4905                   k(g),
   4906                   i.preventDefault();
   4907               }
   4908             });
   4909         });
   4910       },
   4911       select_tab: function (t) {
   4912         this.find('a[href="#' + t + '"]').trigger("click");
   4913       },
   4914     };
   4915     (t.fn.tabs = function (i) {
   4916       return e[i]
   4917         ? e[i].apply(this, Array.prototype.slice.call(arguments, 1))
   4918         : "object" != typeof i && i
   4919         ? void t.error("Method " + i + " does not exist on jQuery.tabs")
   4920         : e.init.apply(this, arguments);
   4921     }),
   4922       t(document).ready(function () {
   4923         t("ul.tabs").tabs();
   4924       });
   4925   })(jQuery),
   4926   (function (t) {
   4927     t.fn.tooltip = function (i) {
   4928       var n = {
   4929         delay: 350,
   4930         tooltip: "",
   4931         position: "bottom",
   4932         html: !1,
   4933       };
   4934       return "remove" === i
   4935         ? (this.each(function () {
   4936             t("#" + t(this).attr("data-tooltip-id")).remove(),
   4937               t(this).removeAttr("data-tooltip-id"),
   4938               t(this).off("mouseenter.tooltip mouseleave.tooltip");
   4939           }),
   4940           !1)
   4941         : ((i = t.extend(n, i)),
   4942           this.each(function () {
   4943             var n = Materialize.guid(),
   4944               o = t(this);
   4945             o.attr("data-tooltip-id") &&
   4946               t("#" + o.attr("data-tooltip-id")).remove(),
   4947               o.attr("data-tooltip-id", n);
   4948             var a,
   4949               r,
   4950               s,
   4951               l,
   4952               c,
   4953               u,
   4954               d = function () {
   4955                 (a = o.attr("data-html")
   4956                   ? "true" === o.attr("data-html")
   4957                   : i.html),
   4958                   (r = o.attr("data-delay")),
   4959                   (r = void 0 === r || "" === r ? i.delay : r),
   4960                   (s = o.attr("data-position")),
   4961                   (s = void 0 === s || "" === s ? i.position : s),
   4962                   (l = o.attr("data-tooltip")),
   4963                   (l = void 0 === l || "" === l ? i.tooltip : l);
   4964               };
   4965             d();
   4966             (c = (function () {
   4967               var e = t('<div class="material-tooltip"></div>');
   4968               return (
   4969                 (l = a
   4970                   ? t("<span></span>").html(l)
   4971                   : t("<span></span>").text(l)),
   4972                 e.append(l).appendTo(t("body")).attr("id", n),
   4973                 (u = t('<div class="backdrop"></div>')).appendTo(e),
   4974                 e
   4975               );
   4976             })()),
   4977               o.off("mouseenter.tooltip mouseleave.tooltip");
   4978             var p,
   4979               h = !1;
   4980             o.on({
   4981               "mouseenter.tooltip": function (t) {
   4982                 p = setTimeout(function () {
   4983                   d(),
   4984                     (h = !0),
   4985                     c.velocity("stop"),
   4986                     u.velocity("stop"),
   4987                     c.css({
   4988                       visibility: "visible",
   4989                       left: "0px",
   4990                       top: "0px",
   4991                     });
   4992                   var t,
   4993                     i,
   4994                     n,
   4995                     a = o.outerWidth(),
   4996                     r = o.outerHeight(),
   4997                     l = c.outerHeight(),
   4998                     p = c.outerWidth(),
   4999                     f = "0px",
   5000                     v = "0px",
   5001                     m = u[0].offsetWidth,
   5002                     g = u[0].offsetHeight,
   5003                     y = 8,
   5004                     b = 8,
   5005                     w = 0;
   5006                   "top" === s
   5007                     ? ((t = o.offset().top - l - 5),
   5008                       (i = o.offset().left + a / 2 - p / 2),
   5009                       (n = e(i, t, p, l)),
   5010                       (f = "-10px"),
   5011                       u.css({
   5012                         bottom: 0,
   5013                         left: 0,
   5014                         borderRadius: "14px 14px 0 0",
   5015                         transformOrigin: "50% 100%",
   5016                         marginTop: l,
   5017                         marginLeft: p / 2 - m / 2,
   5018                       }))
   5019                     : "left" === s
   5020                     ? ((t = o.offset().top + r / 2 - l / 2),
   5021                       (i = o.offset().left - p - 5),
   5022                       (n = e(i, t, p, l)),
   5023                       (v = "-10px"),
   5024                       u.css({
   5025                         top: "-7px",
   5026                         right: 0,
   5027                         width: "14px",
   5028                         height: "14px",
   5029                         borderRadius: "14px 0 0 14px",
   5030                         transformOrigin: "95% 50%",
   5031                         marginTop: l / 2,
   5032                         marginLeft: p,
   5033                       }))
   5034                     : "right" === s
   5035                     ? ((t = o.offset().top + r / 2 - l / 2),
   5036                       (i = o.offset().left + a + 5),
   5037                       (n = e(i, t, p, l)),
   5038                       (v = "+10px"),
   5039                       u.css({
   5040                         top: "-7px",
   5041                         left: 0,
   5042                         width: "14px",
   5043                         height: "14px",
   5044                         borderRadius: "0 14px 14px 0",
   5045                         transformOrigin: "5% 50%",
   5046                         marginTop: l / 2,
   5047                         marginLeft: "0px",
   5048                       }))
   5049                     : ((t = o.offset().top + o.outerHeight() + 5),
   5050                       (i = o.offset().left + a / 2 - p / 2),
   5051                       (n = e(i, t, p, l)),
   5052                       (f = "+10px"),
   5053                       u.css({
   5054                         top: 0,
   5055                         left: 0,
   5056                         marginLeft: p / 2 - m / 2,
   5057                       })),
   5058                     c.css({
   5059                       top: n.y,
   5060                       left: n.x,
   5061                     }),
   5062                     (y = (Math.SQRT2 * p) / parseInt(m)),
   5063                     (b = (Math.SQRT2 * l) / parseInt(g)),
   5064                     (w = Math.max(y, b)),
   5065                     c
   5066                       .velocity(
   5067                         {
   5068                           translateY: f,
   5069                           translateX: v,
   5070                         },
   5071                         {
   5072                           duration: 350,
   5073                           queue: !1,
   5074                         }
   5075                       )
   5076                       .velocity(
   5077                         {
   5078                           opacity: 1,
   5079                         },
   5080                         {
   5081                           duration: 300,
   5082                           delay: 50,
   5083                           queue: !1,
   5084                         }
   5085                       ),
   5086                     u
   5087                       .css({
   5088                         visibility: "visible",
   5089                       })
   5090                       .velocity(
   5091                         {
   5092                           opacity: 1,
   5093                         },
   5094                         {
   5095                           duration: 55,
   5096                           delay: 0,
   5097                           queue: !1,
   5098                         }
   5099                       )
   5100                       .velocity(
   5101                         {
   5102                           scaleX: w,
   5103                           scaleY: w,
   5104                         },
   5105                         {
   5106                           duration: 300,
   5107                           delay: 0,
   5108                           queue: !1,
   5109                           easing: "easeInOutQuad",
   5110                         }
   5111                       );
   5112                 }, r);
   5113               },
   5114               "mouseleave.tooltip": function () {
   5115                 (h = !1),
   5116                   clearTimeout(p),
   5117                   setTimeout(function () {
   5118                     !0 !== h &&
   5119                       (c.velocity(
   5120                         {
   5121                           opacity: 0,
   5122                           translateY: 0,
   5123                           translateX: 0,
   5124                         },
   5125                         {
   5126                           duration: 225,
   5127                           queue: !1,
   5128                         }
   5129                       ),
   5130                       u.velocity(
   5131                         {
   5132                           opacity: 0,
   5133                           scaleX: 1,
   5134                           scaleY: 1,
   5135                         },
   5136                         {
   5137                           duration: 225,
   5138                           queue: !1,
   5139                           complete: function () {
   5140                             u.css({
   5141                               visibility: "hidden",
   5142                             }),
   5143                               c.css({
   5144                                 visibility: "hidden",
   5145                               }),
   5146                               (h = !1);
   5147                           },
   5148                         }
   5149                       ));
   5150                   }, 225);
   5151               },
   5152             });
   5153           }));
   5154     };
   5155     var e = function (e, i, n, o) {
   5156       var a = e,
   5157         r = i;
   5158       return (
   5159         a < 0
   5160           ? (a = 4)
   5161           : a + n > window.innerWidth && (a -= a + n - window.innerWidth),
   5162         r < 0
   5163           ? (r = 4)
   5164           : r + o > window.innerHeight + t(window).scrollTop &&
   5165             (r -= r + o - window.innerHeight),
   5166         {
   5167           x: a,
   5168           y: r,
   5169         }
   5170       );
   5171     };
   5172     t(document).ready(function () {
   5173       t(".tooltipped").tooltip();
   5174     });
   5175   })(jQuery),
   5176   (function (t) {
   5177     "use strict";
   5178 
   5179     function e(t) {
   5180       return null !== t && t === t.window;
   5181     }
   5182 
   5183     function i(t) {
   5184       return e(t) ? t : 9 === t.nodeType && t.defaultView;
   5185     }
   5186 
   5187     function n(t) {
   5188       var e,
   5189         n,
   5190         o = {
   5191           top: 0,
   5192           left: 0,
   5193         },
   5194         a = t && t.ownerDocument;
   5195       return (
   5196         (e = a.documentElement),
   5197         void 0 !== t.getBoundingClientRect && (o = t.getBoundingClientRect()),
   5198         (n = i(a)),
   5199         {
   5200           top: o.top + n.pageYOffset - e.clientTop,
   5201           left: o.left + n.pageXOffset - e.clientLeft,
   5202         }
   5203       );
   5204     }
   5205 
   5206     function o(t) {
   5207       var e = "";
   5208       for (var i in t) t.hasOwnProperty(i) && (e += i + ":" + t[i] + ";");
   5209       return e;
   5210     }
   5211 
   5212     function a(t) {
   5213       if (!1 === u.allowEvent(t)) return null;
   5214       for (
   5215         var e = null, i = t.target || t.srcElement;
   5216         null !== i.parentNode;
   5217 
   5218       ) {
   5219         if (
   5220           !(i instanceof SVGElement) &&
   5221           -1 !== i.className.indexOf("waves-effect")
   5222         ) {
   5223           e = i;
   5224           break;
   5225         }
   5226         i = i.parentNode;
   5227       }
   5228       return e;
   5229     }
   5230 
   5231     function r(e) {
   5232       var i = a(e);
   5233       null !== i &&
   5234         (c.show(e, i),
   5235         "ontouchstart" in t &&
   5236           (i.addEventListener("touchend", c.hide, !1),
   5237           i.addEventListener("touchcancel", c.hide, !1)),
   5238         i.addEventListener("mouseup", c.hide, !1),
   5239         i.addEventListener("mouseleave", c.hide, !1),
   5240         i.addEventListener("dragend", c.hide, !1));
   5241     }
   5242     var s = s || {},
   5243       l = document.querySelectorAll.bind(document),
   5244       c = {
   5245         duration: 750,
   5246         show: function (t, e) {
   5247           if (2 === t.button) return !1;
   5248           var i = e || this,
   5249             a = document.createElement("div");
   5250           (a.className = "waves-ripple"), i.appendChild(a);
   5251           var r = n(i),
   5252             s = t.pageY - r.top,
   5253             l = t.pageX - r.left,
   5254             u = "scale(" + (i.clientWidth / 100) * 10 + ")";
   5255           "touches" in t &&
   5256             ((s = t.touches[0].pageY - r.top),
   5257             (l = t.touches[0].pageX - r.left)),
   5258             a.setAttribute("data-hold", Date.now()),
   5259             a.setAttribute("data-scale", u),
   5260             a.setAttribute("data-x", l),
   5261             a.setAttribute("data-y", s);
   5262           var d = {
   5263             top: s + "px",
   5264             left: l + "px",
   5265           };
   5266           (a.className = a.className + " waves-notransition"),
   5267             a.setAttribute("style", o(d)),
   5268             (a.className = a.className.replace("waves-notransition", "")),
   5269             (d["-webkit-transform"] = u),
   5270             (d["-moz-transform"] = u),
   5271             (d["-ms-transform"] = u),
   5272             (d["-o-transform"] = u),
   5273             (d.transform = u),
   5274             (d.opacity = "1"),
   5275             (d["-webkit-transition-duration"] = c.duration + "ms"),
   5276             (d["-moz-transition-duration"] = c.duration + "ms"),
   5277             (d["-o-transition-duration"] = c.duration + "ms"),
   5278             (d["transition-duration"] = c.duration + "ms"),
   5279             (d["-webkit-transition-timing-function"] =
   5280               "cubic-bezier(0.250, 0.460, 0.450, 0.940)"),
   5281             (d["-moz-transition-timing-function"] =
   5282               "cubic-bezier(0.250, 0.460, 0.450, 0.940)"),
   5283             (d["-o-transition-timing-function"] =
   5284               "cubic-bezier(0.250, 0.460, 0.450, 0.940)"),
   5285             (d["transition-timing-function"] =
   5286               "cubic-bezier(0.250, 0.460, 0.450, 0.940)"),
   5287             a.setAttribute("style", o(d));
   5288         },
   5289         hide: function (t) {
   5290           u.touchup(t);
   5291           var e = this,
   5292             i = (e.clientWidth, null),
   5293             n = e.getElementsByClassName("waves-ripple");
   5294           if (!(n.length > 0)) return !1;
   5295           var a = (i = n[n.length - 1]).getAttribute("data-x"),
   5296             r = i.getAttribute("data-y"),
   5297             s = i.getAttribute("data-scale"),
   5298             l = 350 - (Date.now() - Number(i.getAttribute("data-hold")));
   5299           l < 0 && (l = 0),
   5300             setTimeout(function () {
   5301               var t = {
   5302                 top: r + "px",
   5303                 left: a + "px",
   5304                 opacity: "0",
   5305                 "-webkit-transition-duration": c.duration + "ms",
   5306                 "-moz-transition-duration": c.duration + "ms",
   5307                 "-o-transition-duration": c.duration + "ms",
   5308                 "transition-duration": c.duration + "ms",
   5309                 "-webkit-transform": s,
   5310                 "-moz-transform": s,
   5311                 "-ms-transform": s,
   5312                 "-o-transform": s,
   5313                 transform: s,
   5314               };
   5315               i.setAttribute("style", o(t)),
   5316                 setTimeout(function () {
   5317                   try {
   5318                     e.removeChild(i);
   5319                   } catch (t) {
   5320                     return !1;
   5321                   }
   5322                 }, c.duration);
   5323             }, l);
   5324         },
   5325         wrapInput: function (t) {
   5326           for (var e = 0; e < t.length; e++) {
   5327             var i = t[e];
   5328             if ("input" === i.tagName.toLowerCase()) {
   5329               var n = i.parentNode;
   5330               if (
   5331                 "i" === n.tagName.toLowerCase() &&
   5332                 -1 !== n.className.indexOf("waves-effect")
   5333               )
   5334                 continue;
   5335               var o = document.createElement("i");
   5336               o.className = i.className + " waves-input-wrapper";
   5337               var a = i.getAttribute("style");
   5338               a || (a = ""),
   5339                 o.setAttribute("style", a),
   5340                 (i.className = "waves-button-input"),
   5341                 i.removeAttribute("style"),
   5342                 n.replaceChild(o, i),
   5343                 o.appendChild(i);
   5344             }
   5345           }
   5346         },
   5347       },
   5348       u = {
   5349         touches: 0,
   5350         allowEvent: function (t) {
   5351           var e = !0;
   5352           return (
   5353             "touchstart" === t.type
   5354               ? (u.touches += 1)
   5355               : "touchend" === t.type || "touchcancel" === t.type
   5356               ? setTimeout(function () {
   5357                   u.touches > 0 && (u.touches -= 1);
   5358                 }, 500)
   5359               : "mousedown" === t.type && u.touches > 0 && (e = !1),
   5360             e
   5361           );
   5362         },
   5363         touchup: function (t) {
   5364           u.allowEvent(t);
   5365         },
   5366       };
   5367     (s.displayEffect = function (e) {
   5368       "duration" in (e = e || {}) && (c.duration = e.duration),
   5369         c.wrapInput(l(".waves-effect")),
   5370         "ontouchstart" in t &&
   5371           document.body.addEventListener("touchstart", r, !1),
   5372         document.body.addEventListener("mousedown", r, !1);
   5373     }),
   5374       (s.attach = function (e) {
   5375         "input" === e.tagName.toLowerCase() &&
   5376           (c.wrapInput([e]), (e = e.parentNode)),
   5377           "ontouchstart" in t && e.addEventListener("touchstart", r, !1),
   5378           e.addEventListener("mousedown", r, !1);
   5379       }),
   5380       (t.Waves = s),
   5381       document.addEventListener(
   5382         "DOMContentLoaded",
   5383         function () {
   5384           s.displayEffect();
   5385         },
   5386         !1
   5387       );
   5388   })(window),
   5389   (function (t, e) {
   5390     "use strict";
   5391     var i = {
   5392         displayLength: 1 / 0,
   5393         inDuration: 300,
   5394         outDuration: 375,
   5395         className: void 0,
   5396         completeCallback: void 0,
   5397         activationPercent: 0.8,
   5398       },
   5399       n = (function () {
   5400         function n(e, i, o, a) {
   5401           if ((_classCallCheck(this, n), e)) {
   5402             (this.options = {
   5403               displayLength: i,
   5404               className: o,
   5405               completeCallback: a,
   5406             }),
   5407               (this.options = t.extend({}, n.defaults, this.options)),
   5408               (this.message = e),
   5409               (this.panning = !1),
   5410               (this.timeRemaining = this.options.displayLength),
   5411               0 === n._toasts.length && n._createContainer(),
   5412               n._toasts.push(this);
   5413             var r = this.createToast();
   5414             (r.M_Toast = this),
   5415               (this.el = r),
   5416               this._animateIn(),
   5417               this.setTimer();
   5418           }
   5419         }
   5420         return (
   5421           _createClass(
   5422             n,
   5423             [
   5424               {
   5425                 key: "createToast",
   5426                 value: function () {
   5427                   var e = document.createElement("div");
   5428                   if ((e.classList.add("toast"), this.options.className)) {
   5429                     var i = this.options.className.split(" "),
   5430                       o = void 0,
   5431                       a = void 0;
   5432                     for (o = 0, a = i.length; o < a; o++) e.classList.add(i[o]);
   5433                   }
   5434                   return (
   5435                     (
   5436                       "object" == typeof HTMLElement
   5437                         ? this.message instanceof HTMLElement
   5438                         : this.message &&
   5439                           "object" == typeof this.message &&
   5440                           null !== this.message &&
   5441                           1 === this.message.nodeType &&
   5442                           "string" == typeof this.message.nodeName
   5443                     )
   5444                       ? e.appendChild(this.message)
   5445                       : this.message instanceof jQuery
   5446                       ? t(e).append(this.message)
   5447                       : (e.innerHTML = this.message),
   5448                     n._container.appendChild(e),
   5449                     e
   5450                   );
   5451                 },
   5452               },
   5453               {
   5454                 key: "_animateIn",
   5455                 value: function () {
   5456                   e(
   5457                     this.el,
   5458                     {
   5459                       top: 0,
   5460                       opacity: 1,
   5461                     },
   5462                     {
   5463                       duration: 300,
   5464                       easing: "easeOutCubic",
   5465                       queue: !1,
   5466                     }
   5467                   );
   5468                 },
   5469               },
   5470               {
   5471                 key: "setTimer",
   5472                 value: function () {
   5473                   var t = this;
   5474                   this.timeRemaining !== 1 / 0 &&
   5475                     (this.counterInterval = setInterval(function () {
   5476                       t.panning || (t.timeRemaining -= 20),
   5477                         t.timeRemaining <= 0 && t.remove();
   5478                     }, 20));
   5479                 },
   5480               },
   5481               {
   5482                 key: "remove",
   5483                 value: function () {
   5484                   var t = this;
   5485                   window.clearInterval(this.counterInterval);
   5486                   var i = this.el.offsetWidth * this.options.activationPercent;
   5487                   this.wasSwiped &&
   5488                     ((this.el.style.transition =
   5489                       "transform .05s, opacity .05s"),
   5490                     (this.el.style.transform = "translateX(" + i + "px)"),
   5491                     (this.el.style.opacity = 0)),
   5492                     e(
   5493                       this.el,
   5494                       {
   5495                         opacity: 0,
   5496                         marginTop: "-40px",
   5497                       },
   5498                       {
   5499                         duration: this.options.outDuration,
   5500                         easing: "easeOutExpo",
   5501                         queue: !1,
   5502                         complete: function () {
   5503                           "function" == typeof t.options.completeCallback &&
   5504                             t.options.completeCallback(),
   5505                             t.el.parentNode.removeChild(t.el),
   5506                             n._toasts.splice(n._toasts.indexOf(t), 1),
   5507                             0 === n._toasts.length && n._removeContainer();
   5508                         },
   5509                       }
   5510                     );
   5511                 },
   5512               },
   5513             ],
   5514             [
   5515               {
   5516                 key: "_createContainer",
   5517                 value: function () {
   5518                   var t = document.createElement("div");
   5519                   t.setAttribute("id", "toast-container"),
   5520                     t.addEventListener("touchstart", n._onDragStart),
   5521                     t.addEventListener("touchmove", n._onDragMove),
   5522                     t.addEventListener("touchend", n._onDragEnd),
   5523                     t.addEventListener("mousedown", n._onDragStart),
   5524                     document.addEventListener("mousemove", n._onDragMove),
   5525                     document.addEventListener("mouseup", n._onDragEnd),
   5526                     document.body.appendChild(t),
   5527                     (n._container = t);
   5528                 },
   5529               },
   5530               {
   5531                 key: "_removeContainer",
   5532                 value: function () {
   5533                   document.removeEventListener("mousemove", n._onDragMove),
   5534                     document.removeEventListener("mouseup", n._onDragEnd),
   5535                     n._container.parentNode.removeChild(n._container),
   5536                     (n._container = null);
   5537                 },
   5538               },
   5539               {
   5540                 key: "_onDragStart",
   5541                 value: function (e) {
   5542                   if (e.target && t(e.target).closest(".toast").length) {
   5543                     var i = t(e.target).closest(".toast")[0].M_Toast;
   5544                     (i.panning = !0),
   5545                       (n._draggedToast = i),
   5546                       i.el.classList.add("panning"),
   5547                       (i.el.style.transition = ""),
   5548                       (i.startingXPos = n._xPos(e)),
   5549                       (i.time = Date.now()),
   5550                       (i.xPos = n._xPos(e));
   5551                   }
   5552                 },
   5553               },
   5554               {
   5555                 key: "_onDragMove",
   5556                 value: function (t) {
   5557                   if (n._draggedToast) {
   5558                     t.preventDefault();
   5559                     var e = n._draggedToast;
   5560                     (e.deltaX = Math.abs(e.xPos - n._xPos(t))),
   5561                       (e.xPos = n._xPos(t)),
   5562                       (e.velocityX = e.deltaX / (Date.now() - e.time)),
   5563                       (e.time = Date.now());
   5564                     var i = e.xPos - e.startingXPos,
   5565                       o = e.el.offsetWidth * e.options.activationPercent;
   5566                     (e.el.style.transform = "translateX(" + i + "px)"),
   5567                       (e.el.style.opacity = 1 - Math.abs(i / o));
   5568                   }
   5569                 },
   5570               },
   5571               {
   5572                 key: "_onDragEnd",
   5573                 value: function (t) {
   5574                   if (n._draggedToast) {
   5575                     var e = n._draggedToast;
   5576                     (e.panning = !1), e.el.classList.remove("panning");
   5577                     var i = e.xPos - e.startingXPos,
   5578                       o = e.el.offsetWidth * e.options.activationPercent;
   5579                     Math.abs(i) > o || e.velocityX > 1
   5580                       ? ((e.wasSwiped = !0), e.remove())
   5581                       : ((e.el.style.transition = "transform .2s, opacity .2s"),
   5582                         (e.el.style.transform = ""),
   5583                         (e.el.style.opacity = "")),
   5584                       (n._draggedToast = null);
   5585                   }
   5586                 },
   5587               },
   5588               {
   5589                 key: "_xPos",
   5590                 value: function (t) {
   5591                   return t.targetTouches && t.targetTouches.length >= 1
   5592                     ? t.targetTouches[0].clientX
   5593                     : t.clientX;
   5594                 },
   5595               },
   5596               {
   5597                 key: "removeAll",
   5598                 value: function () {
   5599                   for (var t in n._toasts) n._toasts[t].remove();
   5600                 },
   5601               },
   5602               {
   5603                 key: "defaults",
   5604                 get: function () {
   5605                   return i;
   5606                 },
   5607               },
   5608             ]
   5609           ),
   5610           n
   5611         );
   5612       })();
   5613     (n._toasts = []),
   5614       (n._container = null),
   5615       (n._draggedToast = null),
   5616       (Materialize.Toast = n),
   5617       (Materialize.toast = function (t, e, i, o) {
   5618         return new n(t, e, i, o);
   5619       });
   5620   })(jQuery, Materialize.Vel),
   5621   (function (t) {
   5622     var e = {
   5623       init: function (e) {
   5624         var i = {
   5625           menuWidth: 300,
   5626           edge: "left",
   5627           closeOnClick: !1,
   5628           draggable: !0,
   5629           onOpen: null,
   5630           onClose: null,
   5631         };
   5632         (e = t.extend(i, e)),
   5633           t(this).each(function () {
   5634             var i = t(this),
   5635               n = i.attr("data-activates"),
   5636               o = t("#" + n);
   5637             300 != e.menuWidth && o.css("width", e.menuWidth);
   5638             var a = t('.drag-target[data-sidenav="' + n + '"]');
   5639             e.draggable
   5640               ? (a.length && a.remove(),
   5641                 (a = t('<div class="drag-target"></div>').attr(
   5642                   "data-sidenav",
   5643                   n
   5644                 )),
   5645                 t("body").append(a))
   5646               : (a = t()),
   5647               "left" == e.edge
   5648                 ? (o.css("transform", "translateX(-100%)"),
   5649                   a.css({
   5650                     left: 0,
   5651                   }))
   5652                 : (o
   5653                     .addClass("right-aligned")
   5654                     .css("transform", "translateX(100%)"),
   5655                   a.css({
   5656                     right: 0,
   5657                   })),
   5658               o.hasClass("fixed") &&
   5659                 window.innerWidth > 992 &&
   5660                 o.css("transform", "translateX(0)"),
   5661               o.hasClass("fixed") &&
   5662                 t(window).resize(function () {
   5663                   window.innerWidth > 992
   5664                     ? 0 !== t("#sidenav-overlay").length && l
   5665                       ? r(!0)
   5666                       : o.css("transform", "translateX(0%)")
   5667                     : !1 === l &&
   5668                       ("left" === e.edge
   5669                         ? o.css("transform", "translateX(-100%)")
   5670                         : o.css("transform", "translateX(100%)"));
   5671                 }),
   5672               !0 === e.closeOnClick &&
   5673                 o.on(
   5674                   "click.itemclick",
   5675                   "a:not(.collapsible-header)",
   5676                   function () {
   5677                     (window.innerWidth > 992 && o.hasClass("fixed")) || r();
   5678                   }
   5679                 );
   5680             var r = function (i) {
   5681                 (s = !1),
   5682                   (l = !1),
   5683                   t("body").css({
   5684                     overflow: "",
   5685                     width: "",
   5686                   }),
   5687                   t("#sidenav-overlay").velocity(
   5688                     {
   5689                       opacity: 0,
   5690                     },
   5691                     {
   5692                       duration: 200,
   5693                       queue: !1,
   5694                       easing: "easeOutQuad",
   5695                       complete: function () {
   5696                         t(this).remove();
   5697                       },
   5698                     }
   5699                   ),
   5700                   "left" === e.edge
   5701                     ? (a.css({
   5702                         width: "",
   5703                         right: "",
   5704                         left: "0",
   5705                       }),
   5706                       o.velocity(
   5707                         {
   5708                           translateX: "-100%",
   5709                         },
   5710                         {
   5711                           duration: 200,
   5712                           queue: !1,
   5713                           easing: "easeOutCubic",
   5714                           complete: function () {
   5715                             !0 === i &&
   5716                               (o.removeAttr("style"),
   5717                               o.css("width", e.menuWidth));
   5718                           },
   5719                         }
   5720                       ))
   5721                     : (a.css({
   5722                         width: "",
   5723                         right: "0",
   5724                         left: "",
   5725                       }),
   5726                       o.velocity(
   5727                         {
   5728                           translateX: "100%",
   5729                         },
   5730                         {
   5731                           duration: 200,
   5732                           queue: !1,
   5733                           easing: "easeOutCubic",
   5734                           complete: function () {
   5735                             !0 === i &&
   5736                               (o.removeAttr("style"),
   5737                               o.css("width", e.menuWidth));
   5738                           },
   5739                         }
   5740                       )),
   5741                   "function" == typeof e.onClose && e.onClose.call(this, o);
   5742               },
   5743               s = !1,
   5744               l = !1;
   5745             e.draggable &&
   5746               (a.on("click", function () {
   5747                 l && r();
   5748               }),
   5749               a
   5750                 .hammer({
   5751                   prevent_default: !1,
   5752                 })
   5753                 .on("pan", function (i) {
   5754                   if ("touch" == i.gesture.pointerType) {
   5755                     i.gesture.direction;
   5756                     var n = i.gesture.center.x,
   5757                       a = i.gesture.center.y;
   5758                     i.gesture.velocityX;
   5759                     if (0 === n && 0 === a) return;
   5760                     var s = t("body"),
   5761                       c = t("#sidenav-overlay"),
   5762                       u = s.innerWidth();
   5763                     if (
   5764                       (s.css("overflow", "hidden"),
   5765                       s.width(u),
   5766                       0 === c.length &&
   5767                         ((c = t('<div id="sidenav-overlay"></div>'))
   5768                           .css("opacity", 0)
   5769                           .click(function () {
   5770                             r();
   5771                           }),
   5772                         "function" == typeof e.onOpen && e.onOpen.call(this, o),
   5773                         t("body").append(c)),
   5774                       "left" === e.edge &&
   5775                         (n > e.menuWidth
   5776                           ? (n = e.menuWidth)
   5777                           : n < 0 && (n = 0)),
   5778                       "left" === e.edge)
   5779                     )
   5780                       n < e.menuWidth / 2
   5781                         ? (l = !1)
   5782                         : n >= e.menuWidth / 2 && (l = !0),
   5783                         o.css(
   5784                           "transform",
   5785                           "translateX(" + (n - e.menuWidth) + "px)"
   5786                         );
   5787                     else {
   5788                       n < window.innerWidth - e.menuWidth / 2
   5789                         ? (l = !0)
   5790                         : n >= window.innerWidth - e.menuWidth / 2 && (l = !1);
   5791                       var d = n - e.menuWidth / 2;
   5792                       d < 0 && (d = 0),
   5793                         o.css("transform", "translateX(" + d + "px)");
   5794                     }
   5795                     var p;
   5796                     "left" === e.edge
   5797                       ? ((p = n / e.menuWidth),
   5798                         c.velocity(
   5799                           {
   5800                             opacity: p,
   5801                           },
   5802                           {
   5803                             duration: 10,
   5804                             queue: !1,
   5805                             easing: "easeOutQuad",
   5806                           }
   5807                         ))
   5808                       : ((p = Math.abs((n - window.innerWidth) / e.menuWidth)),
   5809                         c.velocity(
   5810                           {
   5811                             opacity: p,
   5812                           },
   5813                           {
   5814                             duration: 10,
   5815                             queue: !1,
   5816                             easing: "easeOutQuad",
   5817                           }
   5818                         ));
   5819                   }
   5820                 })
   5821                 .on("panend", function (i) {
   5822                   if ("touch" == i.gesture.pointerType) {
   5823                     var n = t("#sidenav-overlay"),
   5824                       r = i.gesture.velocityX,
   5825                       c = i.gesture.center.x,
   5826                       u = c - e.menuWidth,
   5827                       d = c - e.menuWidth / 2;
   5828                     u > 0 && (u = 0),
   5829                       d < 0 && (d = 0),
   5830                       (s = !1),
   5831                       "left" === e.edge
   5832                         ? (l && r <= 0.3) || r < -0.5
   5833                           ? (0 !== u &&
   5834                               o.velocity(
   5835                                 {
   5836                                   translateX: [0, u],
   5837                                 },
   5838                                 {
   5839                                   duration: 300,
   5840                                   queue: !1,
   5841                                   easing: "easeOutQuad",
   5842                                 }
   5843                               ),
   5844                             n.velocity(
   5845                               {
   5846                                 opacity: 1,
   5847                               },
   5848                               {
   5849                                 duration: 50,
   5850                                 queue: !1,
   5851                                 easing: "easeOutQuad",
   5852                               }
   5853                             ),
   5854                             a.css({
   5855                               width: "50%",
   5856                               right: 0,
   5857                               left: "",
   5858                             }),
   5859                             (l = !0))
   5860                           : (!l || r > 0.3) &&
   5861                             (t("body").css({
   5862                               overflow: "",
   5863                               width: "",
   5864                             }),
   5865                             o.velocity(
   5866                               {
   5867                                 translateX: [-1 * e.menuWidth - 10, u],
   5868                               },
   5869                               {
   5870                                 duration: 200,
   5871                                 queue: !1,
   5872                                 easing: "easeOutQuad",
   5873                               }
   5874                             ),
   5875                             n.velocity(
   5876                               {
   5877                                 opacity: 0,
   5878                               },
   5879                               {
   5880                                 duration: 200,
   5881                                 queue: !1,
   5882                                 easing: "easeOutQuad",
   5883                                 complete: function () {
   5884                                   "function" == typeof e.onClose &&
   5885                                     e.onClose.call(this, o),
   5886                                     t(this).remove();
   5887                                 },
   5888                               }
   5889                             ),
   5890                             a.css({
   5891                               width: "10px",
   5892                               right: "",
   5893                               left: 0,
   5894                             }))
   5895                         : (l && r >= -0.3) || r > 0.5
   5896                         ? (0 !== d &&
   5897                             o.velocity(
   5898                               {
   5899                                 translateX: [0, d],
   5900                               },
   5901                               {
   5902                                 duration: 300,
   5903                                 queue: !1,
   5904                                 easing: "easeOutQuad",
   5905                               }
   5906                             ),
   5907                           n.velocity(
   5908                             {
   5909                               opacity: 1,
   5910                             },
   5911                             {
   5912                               duration: 50,
   5913                               queue: !1,
   5914                               easing: "easeOutQuad",
   5915                             }
   5916                           ),
   5917                           a.css({
   5918                             width: "50%",
   5919                             right: "",
   5920                             left: 0,
   5921                           }),
   5922                           (l = !0))
   5923                         : (!l || r < -0.3) &&
   5924                           (t("body").css({
   5925                             overflow: "",
   5926                             width: "",
   5927                           }),
   5928                           o.velocity(
   5929                             {
   5930                               translateX: [e.menuWidth + 10, d],
   5931                             },
   5932                             {
   5933                               duration: 200,
   5934                               queue: !1,
   5935                               easing: "easeOutQuad",
   5936                             }
   5937                           ),
   5938                           n.velocity(
   5939                             {
   5940                               opacity: 0,
   5941                             },
   5942                             {
   5943                               duration: 200,
   5944                               queue: !1,
   5945                               easing: "easeOutQuad",
   5946                               complete: function () {
   5947                                 "function" == typeof e.onClose &&
   5948                                   e.onClose.call(this, o),
   5949                                   t(this).remove();
   5950                               },
   5951                             }
   5952                           ),
   5953                           a.css({
   5954                             width: "10px",
   5955                             right: 0,
   5956                             left: "",
   5957                           }));
   5958                   }
   5959                 })),
   5960               i.off("click.sidenav").on("click.sidenav", function () {
   5961                 if (!0 === l) (l = !1), (s = !1), r();
   5962                 else {
   5963                   var i = t("body"),
   5964                     n = t('<div id="sidenav-overlay"></div>'),
   5965                     c = i.innerWidth();
   5966                   i.css("overflow", "hidden"),
   5967                     i.width(c),
   5968                     t("body").append(a),
   5969                     "left" === e.edge
   5970                       ? (a.css({
   5971                           width: "50%",
   5972                           right: 0,
   5973                           left: "",
   5974                         }),
   5975                         o.velocity(
   5976                           {
   5977                             translateX: [0, -1 * e.menuWidth],
   5978                           },
   5979                           {
   5980                             duration: 300,
   5981                             queue: !1,
   5982                             easing: "easeOutQuad",
   5983                           }
   5984                         ))
   5985                       : (a.css({
   5986                           width: "50%",
   5987                           right: "",
   5988                           left: 0,
   5989                         }),
   5990                         o.velocity(
   5991                           {
   5992                             translateX: [0, e.menuWidth],
   5993                           },
   5994                           {
   5995                             duration: 300,
   5996                             queue: !1,
   5997                             easing: "easeOutQuad",
   5998                           }
   5999                         )),
   6000                     n.css("opacity", 0).click(function () {
   6001                       (l = !1),
   6002                         (s = !1),
   6003                         r(),
   6004                         n.velocity(
   6005                           {
   6006                             opacity: 0,
   6007                           },
   6008                           {
   6009                             duration: 300,
   6010                             queue: !1,
   6011                             easing: "easeOutQuad",
   6012                             complete: function () {
   6013                               t(this).remove();
   6014                             },
   6015                           }
   6016                         );
   6017                     }),
   6018                     t("body").append(n),
   6019                     n.velocity(
   6020                       {
   6021                         opacity: 1,
   6022                       },
   6023                       {
   6024                         duration: 300,
   6025                         queue: !1,
   6026                         easing: "easeOutQuad",
   6027                         complete: function () {
   6028                           (l = !0), (s = !1);
   6029                         },
   6030                       }
   6031                     ),
   6032                     "function" == typeof e.onOpen && e.onOpen.call(this, o);
   6033                 }
   6034                 return !1;
   6035               });
   6036           });
   6037       },
   6038       destroy: function () {
   6039         var e = t("#sidenav-overlay"),
   6040           i = t(
   6041             '.drag-target[data-sidenav="' +
   6042               t(this).attr("data-activates") +
   6043               '"]'
   6044           );
   6045         e.trigger("click"), i.remove(), t(this).off("click"), e.remove();
   6046       },
   6047       show: function () {
   6048         this.trigger("click");
   6049       },
   6050       hide: function () {
   6051         t("#sidenav-overlay").trigger("click");
   6052       },
   6053     };
   6054     t.fn.sideNav = function (i) {
   6055       return e[i]
   6056         ? e[i].apply(this, Array.prototype.slice.call(arguments, 1))
   6057         : "object" != typeof i && i
   6058         ? void t.error("Method " + i + " does not exist on jQuery.sideNav")
   6059         : e.init.apply(this, arguments);
   6060     };
   6061   })(jQuery),
   6062   (function (t) {
   6063     function e(e, i, n, o) {
   6064       var r = t();
   6065       return (
   6066         t.each(a, function (t, a) {
   6067           if (a.height() > 0) {
   6068             var s = a.offset().top,
   6069               l = a.offset().left,
   6070               c = l + a.width(),
   6071               u = s + a.height();
   6072             !(l > i || c < o || s > n || u < e) && r.push(a);
   6073           }
   6074         }),
   6075         r
   6076       );
   6077     }
   6078 
   6079     function i(i) {
   6080       ++l;
   6081       var n = o.scrollTop(),
   6082         a = o.scrollLeft(),
   6083         s = a + o.width(),
   6084         u = n + o.height(),
   6085         d = e(n + c.top + i || 200, s + c.right, u + c.bottom, a + c.left);
   6086       t.each(d, function (t, e) {
   6087         "number" != typeof e.data("scrollSpy:ticks") &&
   6088           e.triggerHandler("scrollSpy:enter"),
   6089           e.data("scrollSpy:ticks", l);
   6090       }),
   6091         t.each(r, function (t, e) {
   6092           var i = e.data("scrollSpy:ticks");
   6093           "number" == typeof i &&
   6094             i !== l &&
   6095             (e.triggerHandler("scrollSpy:exit"),
   6096             e.data("scrollSpy:ticks", null));
   6097         }),
   6098         (r = d);
   6099     }
   6100 
   6101     function n() {
   6102       o.trigger("scrollSpy:winSize");
   6103     }
   6104     var o = t(window),
   6105       a = [],
   6106       r = [],
   6107       s = !1,
   6108       l = 0,
   6109       c = {
   6110         top: 0,
   6111         right: 0,
   6112         bottom: 0,
   6113         left: 0,
   6114       };
   6115     (t.scrollSpy = function (e, n) {
   6116       var r = {
   6117         throttle: 100,
   6118         scrollOffset: 200,
   6119         activeClass: "active",
   6120         getActiveElement: function (t) {
   6121           return 'a[href="#' + t + '"]';
   6122         },
   6123       };
   6124       n = t.extend(r, n);
   6125       var l = [];
   6126       (e = t(e)).each(function (e, i) {
   6127         a.push(t(i)),
   6128           t(i).data("scrollSpy:id", e),
   6129           t('a[href="#' + t(i).attr("id") + '"]').click(function (e) {
   6130             e.preventDefault();
   6131             var i = t(Materialize.escapeHash(this.hash)).offset().top + 1;
   6132             t("html, body").animate(
   6133               {
   6134                 scrollTop: i - n.scrollOffset,
   6135               },
   6136               {
   6137                 duration: 400,
   6138                 queue: !1,
   6139                 easing: "easeOutCubic",
   6140               }
   6141             );
   6142           });
   6143       }),
   6144         (c.top = n.offsetTop || 0),
   6145         (c.right = n.offsetRight || 0),
   6146         (c.bottom = n.offsetBottom || 0),
   6147         (c.left = n.offsetLeft || 0);
   6148       var u = Materialize.throttle(function () {
   6149           i(n.scrollOffset);
   6150         }, n.throttle || 100),
   6151         d = function () {
   6152           t(document).ready(u);
   6153         };
   6154       return (
   6155         s || (o.on("scroll", d), o.on("resize", d), (s = !0)),
   6156         setTimeout(d, 0),
   6157         e.on("scrollSpy:enter", function () {
   6158           l = t.grep(l, function (t) {
   6159             return 0 != t.height();
   6160           });
   6161           var e = t(this);
   6162           l[0]
   6163             ? (t(n.getActiveElement(l[0].attr("id"))).removeClass(
   6164                 n.activeClass
   6165               ),
   6166               e.data("scrollSpy:id") < l[0].data("scrollSpy:id")
   6167                 ? l.unshift(t(this))
   6168                 : l.push(t(this)))
   6169             : l.push(t(this)),
   6170             t(n.getActiveElement(l[0].attr("id"))).addClass(n.activeClass);
   6171         }),
   6172         e.on("scrollSpy:exit", function () {
   6173           if (
   6174             (l = t.grep(l, function (t) {
   6175               return 0 != t.height();
   6176             }))[0]
   6177           ) {
   6178             t(n.getActiveElement(l[0].attr("id"))).removeClass(n.activeClass);
   6179             var e = t(this);
   6180             (l = t.grep(l, function (t) {
   6181               return t.attr("id") != e.attr("id");
   6182             }))[0] &&
   6183               t(n.getActiveElement(l[0].attr("id"))).addClass(n.activeClass);
   6184           }
   6185         }),
   6186         e
   6187       );
   6188     }),
   6189       (t.winSizeSpy = function (e) {
   6190         return (
   6191           (t.winSizeSpy = function () {
   6192             return o;
   6193           }),
   6194           (e = e || {
   6195             throttle: 100,
   6196           }),
   6197           o.on("resize", Materialize.throttle(n, e.throttle || 100))
   6198         );
   6199       }),
   6200       (t.fn.scrollSpy = function (e) {
   6201         return t.scrollSpy(t(this), e);
   6202       });
   6203   })(jQuery),
   6204   (function (t) {
   6205     t(document).ready(function () {
   6206       function e(e) {
   6207         var i = e.css("font-family"),
   6208           o = e.css("font-size"),
   6209           a = e.css("line-height"),
   6210           r = e.css("padding");
   6211         o && n.css("font-size", o),
   6212           i && n.css("font-family", i),
   6213           a && n.css("line-height", a),
   6214           r && n.css("padding", r),
   6215           e.data("original-height") || e.data("original-height", e.height()),
   6216           "off" === e.attr("wrap") &&
   6217             n.css("overflow-wrap", "normal").css("white-space", "pre"),
   6218           n.text(e.val() + "\n");
   6219         var s = n.html().replace(/\n/g, "<br>");
   6220         n.html(s),
   6221           e.is(":visible")
   6222             ? n.css("width", e.width())
   6223             : n.css("width", t(window).width() / 2),
   6224           e.data("original-height") <= n.height()
   6225             ? e.css("height", n.height())
   6226             : e.val().length < e.data("previous-length") &&
   6227               e.css("height", e.data("original-height")),
   6228           e.data("previous-length", e.val().length);
   6229       }
   6230       Materialize.updateTextFields = function () {
   6231         t(
   6232           "input[type=text], input[type=password], input[type=email], input[type=url], input[type=tel], input[type=number], input[type=search], textarea"
   6233         ).each(function (e, i) {
   6234           var n = t(this);
   6235           t(i).val().length > 0 ||
   6236           t(i).is(":focus") ||
   6237           i.autofocus ||
   6238           void 0 !== n.attr("placeholder")
   6239             ? n.siblings("label").addClass("active")
   6240             : t(i)[0].validity
   6241             ? n
   6242                 .siblings("label")
   6243                 .toggleClass("active", !0 === t(i)[0].validity.badInput)
   6244             : n.siblings("label").removeClass("active");
   6245         });
   6246       };
   6247       var i =
   6248         "input[type=text], input[type=password], input[type=email], input[type=url], input[type=tel], input[type=number], input[type=search], textarea";
   6249       t(document).on("change", i, function () {
   6250         (0 === t(this).val().length &&
   6251           void 0 === t(this).attr("placeholder")) ||
   6252           t(this).siblings("label").addClass("active"),
   6253           validate_field(t(this));
   6254       }),
   6255         t(document).ready(function () {
   6256           Materialize.updateTextFields();
   6257         }),
   6258         t(document).on("reset", function (e) {
   6259           var n = t(e.target);
   6260           n.is("form") &&
   6261             (n.find(i).removeClass("valid").removeClass("invalid"),
   6262             n.find(i).each(function () {
   6263               "" === t(this).attr("value") &&
   6264                 t(this).siblings("label").removeClass("active");
   6265             }),
   6266             n.find("select.initialized").each(function () {
   6267               var t = n.find("option[selected]").text();
   6268               n.siblings("input.select-dropdown").val(t);
   6269             }));
   6270         }),
   6271         t(document).on("focus", i, function () {
   6272           t(this).siblings("label, .prefix").addClass("active");
   6273         }),
   6274         t(document).on("blur", i, function () {
   6275           var e = t(this),
   6276             i = ".prefix";
   6277           0 === e.val().length &&
   6278             !0 !== e[0].validity.badInput &&
   6279             void 0 === e.attr("placeholder") &&
   6280             (i += ", label"),
   6281             e.siblings(i).removeClass("active"),
   6282             validate_field(e);
   6283         }),
   6284         (window.validate_field = function (t) {
   6285           var e = void 0 !== t.attr("data-length"),
   6286             i = parseInt(t.attr("data-length")),
   6287             n = t.val().length;
   6288           0 !== t.val().length ||
   6289           !1 !== t[0].validity.badInput ||
   6290           t.is(":required")
   6291             ? t.hasClass("validate") &&
   6292               ((t.is(":valid") && e && n <= i) || (t.is(":valid") && !e)
   6293                 ? (t.removeClass("invalid"), t.addClass("valid"))
   6294                 : (t.removeClass("valid"), t.addClass("invalid")))
   6295             : t.hasClass("validate") &&
   6296               (t.removeClass("valid"), t.removeClass("invalid"));
   6297         });
   6298       t(document).on(
   6299         "keyup.radio",
   6300         "input[type=radio], input[type=checkbox]",
   6301         function (e) {
   6302           if (9 === e.which)
   6303             return (
   6304               t(this).addClass("tabbed"),
   6305               void t(this).one("blur", function (e) {
   6306                 t(this).removeClass("tabbed");
   6307               })
   6308             );
   6309         }
   6310       );
   6311       var n = t(".hiddendiv").first();
   6312       n.length ||
   6313         ((n = t('<div class="hiddendiv common"></div>')), t("body").append(n));
   6314       t(".materialize-textarea").each(function () {
   6315         var e = t(this);
   6316         e.data("original-height", e.height()),
   6317           e.data("previous-length", e.val().length);
   6318       }),
   6319         t("body").on(
   6320           "keyup keydown autoresize",
   6321           ".materialize-textarea",
   6322           function () {
   6323             e(t(this));
   6324           }
   6325         ),
   6326         t(document).on("change", '.file-field input[type="file"]', function () {
   6327           for (
   6328             var e = t(this).closest(".file-field").find("input.file-path"),
   6329               i = t(this)[0].files,
   6330               n = [],
   6331               o = 0;
   6332             o < i.length;
   6333             o++
   6334           )
   6335             n.push(i[o].name);
   6336           e.val(n.join(", ")), e.trigger("change");
   6337         });
   6338       var o = "input[type=range]",
   6339         a = !1;
   6340       t(o).each(function () {
   6341         var e = t('<span class="thumb"><span class="value"></span></span>');
   6342         t(this).after(e);
   6343       });
   6344       var r = function (t) {
   6345           var e = -7 + parseInt(t.parent().css("padding-left")) + "px";
   6346           t.velocity(
   6347             {
   6348               height: "30px",
   6349               width: "30px",
   6350               top: "-30px",
   6351               marginLeft: e,
   6352             },
   6353             {
   6354               duration: 300,
   6355               easing: "easeOutExpo",
   6356             }
   6357           );
   6358         },
   6359         s = function (t) {
   6360           var e = t.width() - 15,
   6361             i = parseFloat(t.attr("max")),
   6362             n = parseFloat(t.attr("min"));
   6363           return ((parseFloat(t.val()) - n) / (i - n)) * e;
   6364         };
   6365       t(document).on("change", o, function (e) {
   6366         var i = t(this).siblings(".thumb");
   6367         i.find(".value").html(t(this).val()), i.hasClass("active") || r(i);
   6368         var n = s(t(this));
   6369         i.addClass("active").css("left", n);
   6370       }),
   6371         t(document).on("mousedown touchstart", o, function (e) {
   6372           var i = t(this).siblings(".thumb");
   6373           if (
   6374             (i.length <= 0 &&
   6375               ((i = t(
   6376                 '<span class="thumb"><span class="value"></span></span>'
   6377               )),
   6378               t(this).after(i)),
   6379             i.find(".value").html(t(this).val()),
   6380             (a = !0),
   6381             t(this).addClass("active"),
   6382             i.hasClass("active") || r(i),
   6383             "input" !== e.type)
   6384           ) {
   6385             var n = s(t(this));
   6386             i.addClass("active").css("left", n);
   6387           }
   6388         }),
   6389         t(document).on("mouseup touchend", ".range-field", function () {
   6390           (a = !1), t(this).removeClass("active");
   6391         }),
   6392         t(document).on("input mousemove touchmove", ".range-field", function (
   6393           e
   6394         ) {
   6395           var i = t(this).children(".thumb"),
   6396             n = t(this).find(o);
   6397           if (a) {
   6398             i.hasClass("active") || r(i);
   6399             var l = s(n);
   6400             i.addClass("active").css("left", l),
   6401               i.find(".value").html(i.siblings(o).val());
   6402           }
   6403         }),
   6404         t(document).on("mouseout touchleave", ".range-field", function () {
   6405           if (!a) {
   6406             var e = t(this).children(".thumb"),
   6407               i = 7 + parseInt(t(this).css("padding-left")) + "px";
   6408             e.hasClass("active") &&
   6409               e.velocity(
   6410                 {
   6411                   height: "0",
   6412                   width: "0",
   6413                   top: "10px",
   6414                   marginLeft: i,
   6415                 },
   6416                 {
   6417                   duration: 100,
   6418                 }
   6419               ),
   6420               e.removeClass("active");
   6421           }
   6422         }),
   6423         (t.fn.autocomplete = function (e) {
   6424           var i = {
   6425             data: {},
   6426             limit: 1 / 0,
   6427             onAutocomplete: null,
   6428             minLength: 1,
   6429           };
   6430           return (
   6431             (e = t.extend(i, e)),
   6432             this.each(function () {
   6433               var i,
   6434                 n = t(this),
   6435                 o = e.data,
   6436                 a = 0,
   6437                 r = -1,
   6438                 s = n.closest(".input-field");
   6439               if (t.isEmptyObject(o))
   6440                 n.off("keyup.autocomplete focus.autocomplete");
   6441               else {
   6442                 var l,
   6443                   c = t(
   6444                     '<ul class="autocomplete-content dropdown-content"></ul>'
   6445                   );
   6446                 s.length
   6447                   ? (l = s
   6448                       .children(".autocomplete-content.dropdown-content")
   6449                       .first()).length || s.append(c)
   6450                   : (l = n.next(".autocomplete-content.dropdown-content"))
   6451                       .length || n.after(c),
   6452                   l.length && (c = l);
   6453                 var u = function (t, e) {
   6454                     var i = e.find("img"),
   6455                       n = e
   6456                         .text()
   6457                         .toLowerCase()
   6458                         .indexOf("" + t.toLowerCase()),
   6459                       o = n + t.length - 1,
   6460                       a = e.text().slice(0, n),
   6461                       r = e.text().slice(n, o + 1),
   6462                       s = e.text().slice(o + 1);
   6463                     e.html(
   6464                       "<span>" +
   6465                         a +
   6466                         "<span class='highlight'>" +
   6467                         r +
   6468                         "</span>" +
   6469                         s +
   6470                         "</span>"
   6471                     ),
   6472                       i.length && e.prepend(i);
   6473                   },
   6474                   d = function () {
   6475                     (r = -1), c.find(".active").removeClass("active");
   6476                   },
   6477                   p = function () {
   6478                     c.empty(), d(), (i = void 0);
   6479                   };
   6480                 n.off("blur.autocomplete").on("blur.autocomplete", function () {
   6481                   p();
   6482                 }),
   6483                   n
   6484                     .off("keyup.autocomplete focus.autocomplete")
   6485                     .on("keyup.autocomplete focus.autocomplete", function (r) {
   6486                       a = 0;
   6487                       var s = n.val().toLowerCase();
   6488                       if (13 !== r.which && 38 !== r.which && 40 !== r.which) {
   6489                         if (i !== s && (p(), s.length >= e.minLength))
   6490                           for (var l in o)
   6491                             if (
   6492                               o.hasOwnProperty(l) &&
   6493                               -1 !== l.toLowerCase().indexOf(s)
   6494                             ) {
   6495                               if (a >= e.limit) break;
   6496                               var d = t("<li></li>");
   6497                               o[l]
   6498                                 ? d.append(
   6499                                     '<img src="' +
   6500                                       o[l] +
   6501                                       '" class="right circle"><span>' +
   6502                                       l +
   6503                                       "</span>"
   6504                                   )
   6505                                 : d.append("<span>" + l + "</span>"),
   6506                                 c.append(d),
   6507                                 u(s, d),
   6508                                 a++;
   6509                             }
   6510                         i = s;
   6511                       }
   6512                     }),
   6513                   n
   6514                     .off("keydown.autocomplete")
   6515                     .on("keydown.autocomplete", function (t) {
   6516                       var e,
   6517                         i = t.which,
   6518                         n = c.children("li").length,
   6519                         o = c.children(".active").first();
   6520                       13 === i && r >= 0
   6521                         ? (e = c.children("li").eq(r)).length &&
   6522                           (e.trigger("mousedown.autocomplete"),
   6523                           t.preventDefault())
   6524                         : (38 !== i && 40 !== i) ||
   6525                           (t.preventDefault(),
   6526                           38 === i && r > 0 && r--,
   6527                           40 === i && r < n - 1 && r++,
   6528                           o.removeClass("active"),
   6529                           r >= 0 && c.children("li").eq(r).addClass("active"));
   6530                     }),
   6531                   c
   6532                     .off("mousedown.autocomplete touchstart.autocomplete")
   6533                     .on(
   6534                       "mousedown.autocomplete touchstart.autocomplete",
   6535                       "li",
   6536                       function () {
   6537                         var i = t(this).text().trim();
   6538                         n.val(i),
   6539                           n.trigger("change"),
   6540                           p(),
   6541                           "function" == typeof e.onAutocomplete &&
   6542                             e.onAutocomplete.call(this, i);
   6543                       }
   6544                     );
   6545               }
   6546             })
   6547           );
   6548         });
   6549     }),
   6550       (t.fn.material_select = function (e) {
   6551         function i(t, e, i) {
   6552           var o = t.indexOf(e),
   6553             a = -1 === o;
   6554           return (
   6555             a ? t.push(e) : t.splice(o, 1),
   6556             i
   6557               .siblings("ul.dropdown-content")
   6558               .find("li:not(.optgroup)")
   6559               .eq(e)
   6560               .toggleClass("active"),
   6561             i.find("option").eq(e).prop("selected", a),
   6562             n(t, i),
   6563             a
   6564           );
   6565         }
   6566 
   6567         function n(t, e) {
   6568           for (var i = "", n = 0, o = t.length; n < o; n++) {
   6569             var a = e.find("option").eq(t[n]).text();
   6570             i += 0 === n ? a : ", " + a;
   6571           }
   6572           "" === i && (i = e.find("option:disabled").eq(0).text()),
   6573             e.siblings("input.select-dropdown").val(i);
   6574         }
   6575         t(this).each(function () {
   6576           var n = t(this);
   6577           if (!n.hasClass("browser-default")) {
   6578             var o = !!n.attr("multiple"),
   6579               a = n.attr("data-select-id");
   6580             if (
   6581               (a &&
   6582                 (n.parent().find("span.caret").remove(),
   6583                 n.parent().find("input").remove(),
   6584                 n.unwrap(),
   6585                 t("ul#select-options-" + a).remove()),
   6586               "destroy" === e)
   6587             )
   6588               return (
   6589                 n.removeAttr("data-select-id").removeClass("initialized"),
   6590                 void t(window).off("click.select")
   6591               );
   6592             var r = Materialize.guid();
   6593             n.attr("data-select-id", r);
   6594             var s = t('<div class="select-wrapper"></div>');
   6595             s.addClass(n.attr("class")),
   6596               n.is(":disabled") && s.addClass("disabled");
   6597             var l = t(
   6598                 '<ul id="select-options-' +
   6599                   r +
   6600                   '" class="dropdown-content select-dropdown ' +
   6601                   (o ? "multiple-select-dropdown" : "") +
   6602                   '"></ul>'
   6603               ),
   6604               c = n.children("option, optgroup"),
   6605               u = [],
   6606               d = !1,
   6607               p =
   6608                 n.find("option:selected").html() ||
   6609                 n.find("option:first").html() ||
   6610                 "",
   6611               h = function (e, i, n) {
   6612                 var a = i.is(":disabled") ? "disabled " : "",
   6613                   r = "optgroup-option" === n ? "optgroup-option " : "",
   6614                   s = o
   6615                     ? '<input type="checkbox"' + a + "/><label></label>"
   6616                     : "",
   6617                   c = i.data("icon"),
   6618                   u = i.attr("class");
   6619                 if (c) {
   6620                   var d = "";
   6621                   return (
   6622                     u && (d = ' class="' + u + '"'),
   6623                     l.append(
   6624                       t(
   6625                         '<li class="' +
   6626                           a +
   6627                           r +
   6628                           '"><img alt="" src="' +
   6629                           c +
   6630                           '"' +
   6631                           d +
   6632                           "><span>" +
   6633                           s +
   6634                           i.html() +
   6635                           "</span></li>"
   6636                       )
   6637                     ),
   6638                     !0
   6639                   );
   6640                 }
   6641                 l.append(
   6642                   t(
   6643                     '<li class="' +
   6644                       a +
   6645                       r +
   6646                       '"><span>' +
   6647                       s +
   6648                       i.html() +
   6649                       "</span></li>"
   6650                   )
   6651                 );
   6652               };
   6653             c.length &&
   6654               c.each(function () {
   6655                 if (t(this).is("option"))
   6656                   o ? h(0, t(this), "multiple") : h(0, t(this));
   6657                 else if (t(this).is("optgroup")) {
   6658                   var e = t(this).children("option");
   6659                   l.append(
   6660                     t(
   6661                       '<li class="optgroup"><span>' +
   6662                         t(this).attr("label") +
   6663                         "</span></li>"
   6664                     )
   6665                   ),
   6666                     e.each(function () {
   6667                       h(0, t(this), "optgroup-option");
   6668                     });
   6669                 }
   6670               }),
   6671               l.find("li:not(.optgroup)").each(function (a) {
   6672                 t(this).click(function (r) {
   6673                   if (
   6674                     !t(this).hasClass("disabled") &&
   6675                     !t(this).hasClass("optgroup")
   6676                   ) {
   6677                     var s = !0;
   6678                     o
   6679                       ? (t('input[type="checkbox"]', this).prop(
   6680                           "checked",
   6681                           function (t, e) {
   6682                             return !e;
   6683                           }
   6684                         ),
   6685                         (s = i(u, a, n)),
   6686                         m.trigger("focus"))
   6687                       : (l.find("li").removeClass("active"),
   6688                         t(this).toggleClass("active"),
   6689                         m.val(t(this).text())),
   6690                       g(l, t(this)),
   6691                       n.find("option").eq(a).prop("selected", s),
   6692                       n.trigger("change"),
   6693                       void 0 !== e && e();
   6694                   }
   6695                   r.stopPropagation();
   6696                 });
   6697               }),
   6698               n.wrap(s);
   6699             var f = t('<span class="caret">&#9660;</span>'),
   6700               v = p.replace(/"/g, "&quot;"),
   6701               m = t(
   6702                 '<input type="text" class="select-dropdown" readonly="true" ' +
   6703                   (n.is(":disabled") ? "disabled" : "") +
   6704                   ' data-activates="select-options-' +
   6705                   r +
   6706                   '" value="' +
   6707                   v +
   6708                   '"/>'
   6709               );
   6710             n.before(m),
   6711               m.before(f),
   6712               m.after(l),
   6713               n.is(":disabled") ||
   6714                 m.dropdown({
   6715                   hover: !1,
   6716                 }),
   6717               n.attr("tabindex") &&
   6718                 t(m[0]).attr("tabindex", n.attr("tabindex")),
   6719               n.addClass("initialized"),
   6720               m.on({
   6721                 focus: function () {
   6722                   if (
   6723                     (t("ul.select-dropdown").not(l[0]).is(":visible") &&
   6724                       (t("input.select-dropdown").trigger("close"),
   6725                       t(window).off("click.select")),
   6726                     !l.is(":visible"))
   6727                   ) {
   6728                     t(this).trigger("open", ["focus"]);
   6729                     var e = t(this).val();
   6730                     o && e.indexOf(",") >= 0 && (e = e.split(",")[0]);
   6731                     var i = l.find("li").filter(function () {
   6732                       return t(this).text().toLowerCase() === e.toLowerCase();
   6733                     })[0];
   6734                     g(l, i, !0),
   6735                       t(window)
   6736                         .off("click.select")
   6737                         .on("click.select", function () {
   6738                           o && (d || m.trigger("close")),
   6739                             t(window).off("click.select");
   6740                         });
   6741                   }
   6742                 },
   6743                 click: function (t) {
   6744                   t.stopPropagation();
   6745                 },
   6746               }),
   6747               m.on("blur", function () {
   6748                 o || (t(this).trigger("close"), t(window).off("click.select")),
   6749                   l.find("li.selected").removeClass("selected");
   6750               }),
   6751               l.hover(
   6752                 function () {
   6753                   d = !0;
   6754                 },
   6755                 function () {
   6756                   d = !1;
   6757                 }
   6758               ),
   6759               o &&
   6760                 n.find("option:selected:not(:disabled)").each(function () {
   6761                   var t = this.index;
   6762                   i(u, t, n),
   6763                     l
   6764                       .find("li:not(.optgroup)")
   6765                       .eq(t)
   6766                       .find(":checkbox")
   6767                       .prop("checked", !0);
   6768                 });
   6769             var g = function (e, i, n) {
   6770                 if (i) {
   6771                   e.find("li.selected").removeClass("selected");
   6772                   var a = t(i);
   6773                   a.addClass("selected"), (o && !n) || l.scrollTo(a);
   6774                 }
   6775               },
   6776               y = [];
   6777             m.on("keydown", function (e) {
   6778               if (9 != e.which)
   6779                 if (40 != e.which || l.is(":visible")) {
   6780                   if (13 != e.which || l.is(":visible")) {
   6781                     e.preventDefault();
   6782                     var i = String.fromCharCode(e.which).toLowerCase(),
   6783                       n = [9, 13, 27, 38, 40];
   6784                     if (i && -1 === n.indexOf(e.which)) {
   6785                       y.push(i);
   6786                       var a = y.join(""),
   6787                         r = l.find("li").filter(function () {
   6788                           return 0 === t(this).text().toLowerCase().indexOf(a);
   6789                         })[0];
   6790                       r && g(l, r);
   6791                     }
   6792                     if (13 == e.which) {
   6793                       var s = l.find("li.selected:not(.disabled)")[0];
   6794                       s && (t(s).trigger("click"), o || m.trigger("close"));
   6795                     }
   6796                     40 == e.which &&
   6797                       ((r = l.find("li.selected").length
   6798                         ? l.find("li.selected").next("li:not(.disabled)")[0]
   6799                         : l.find("li:not(.disabled)")[0]),
   6800                       g(l, r)),
   6801                       27 == e.which && m.trigger("close"),
   6802                       38 == e.which &&
   6803                         (r = l
   6804                           .find("li.selected")
   6805                           .prev("li:not(.disabled)")[0]) &&
   6806                         g(l, r),
   6807                       setTimeout(function () {
   6808                         y = [];
   6809                       }, 1e3);
   6810                   }
   6811                 } else m.trigger("open");
   6812               else m.trigger("close");
   6813             });
   6814           }
   6815         });
   6816       });
   6817   })(jQuery),
   6818   (function (t) {
   6819     var e = {
   6820       init: function (e) {
   6821         var i = {
   6822           indicators: !0,
   6823           height: 400,
   6824           transition: 500,
   6825           interval: 6e3,
   6826         };
   6827         return (
   6828           (e = t.extend(i, e)),
   6829           this.each(function () {
   6830             function i(t, e) {
   6831               t.hasClass("center-align")
   6832                 ? t.velocity(
   6833                     {
   6834                       opacity: 0,
   6835                       translateY: -100,
   6836                     },
   6837                     {
   6838                       duration: e,
   6839                       queue: !1,
   6840                     }
   6841                   )
   6842                 : t.hasClass("right-align")
   6843                 ? t.velocity(
   6844                     {
   6845                       opacity: 0,
   6846                       translateX: 100,
   6847                     },
   6848                     {
   6849                       duration: e,
   6850                       queue: !1,
   6851                     }
   6852                   )
   6853                 : t.hasClass("left-align") &&
   6854                   t.velocity(
   6855                     {
   6856                       opacity: 0,
   6857                       translateX: -100,
   6858                     },
   6859                     {
   6860                       duration: e,
   6861                       queue: !1,
   6862                     }
   6863                   );
   6864             }
   6865 
   6866             function n(t) {
   6867               t >= c.length ? (t = 0) : t < 0 && (t = c.length - 1),
   6868                 (u = l.find(".active").index()) != t &&
   6869                   ((o = c.eq(u)),
   6870                   ($caption = o.find(".caption")),
   6871                   o.removeClass("active"),
   6872                   o.velocity(
   6873                     {
   6874                       opacity: 0,
   6875                     },
   6876                     {
   6877                       duration: e.transition,
   6878                       queue: !1,
   6879                       easing: "easeOutQuad",
   6880                       complete: function () {
   6881                         c.not(".active").velocity(
   6882                           {
   6883                             opacity: 0,
   6884                             translateX: 0,
   6885                             translateY: 0,
   6886                           },
   6887                           {
   6888                             duration: 0,
   6889                             queue: !1,
   6890                           }
   6891                         );
   6892                       },
   6893                     }
   6894                   ),
   6895                   i($caption, e.transition),
   6896                   e.indicators && a.eq(u).removeClass("active"),
   6897                   c.eq(t).velocity(
   6898                     {
   6899                       opacity: 1,
   6900                     },
   6901                     {
   6902                       duration: e.transition,
   6903                       queue: !1,
   6904                       easing: "easeOutQuad",
   6905                     }
   6906                   ),
   6907                   c.eq(t).find(".caption").velocity(
   6908                     {
   6909                       opacity: 1,
   6910                       translateX: 0,
   6911                       translateY: 0,
   6912                     },
   6913                     {
   6914                       duration: e.transition,
   6915                       delay: e.transition,
   6916                       queue: !1,
   6917                       easing: "easeOutQuad",
   6918                     }
   6919                   ),
   6920                   c.eq(t).addClass("active"),
   6921                   e.indicators && a.eq(t).addClass("active"));
   6922             }
   6923             var o,
   6924               a,
   6925               r,
   6926               s = t(this),
   6927               l = s.find("ul.slides").first(),
   6928               c = l.find("> li"),
   6929               u = l.find(".active").index();
   6930             -1 != u && (o = c.eq(u)),
   6931               s.hasClass("fullscreen") ||
   6932                 (e.indicators ? s.height(e.height + 40) : s.height(e.height),
   6933                 l.height(e.height)),
   6934               c.find(".caption").each(function () {
   6935                 i(t(this), 0);
   6936               }),
   6937               c.find("img").each(function () {
   6938                 var e =
   6939                   "data:image/gif;base64,R0lGODlhAQABAIABAP///wAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==";
   6940                 t(this).attr("src") !== e &&
   6941                   (t(this).css(
   6942                     "background-image",
   6943                     'url("' + t(this).attr("src") + '")'
   6944                   ),
   6945                   t(this).attr("src", e));
   6946               }),
   6947               e.indicators &&
   6948                 ((a = t('<ul class="indicators"></ul>')),
   6949                 c.each(function (i) {
   6950                   var o = t('<li class="indicator-item"></li>');
   6951                   o.click(function () {
   6952                     n(l.parent().find(t(this)).index()),
   6953                       clearInterval(r),
   6954                       (r = setInterval(function () {
   6955                         (u = l.find(".active").index()),
   6956                           c.length == u + 1 ? (u = 0) : (u += 1),
   6957                           n(u);
   6958                       }, e.transition + e.interval));
   6959                   }),
   6960                     a.append(o);
   6961                 }),
   6962                 s.append(a),
   6963                 (a = s.find("ul.indicators").find("li.indicator-item"))),
   6964               o
   6965                 ? o.show()
   6966                 : (c.first().addClass("active").velocity(
   6967                     {
   6968                       opacity: 1,
   6969                     },
   6970                     {
   6971                       duration: e.transition,
   6972                       queue: !1,
   6973                       easing: "easeOutQuad",
   6974                     }
   6975                   ),
   6976                   (u = 0),
   6977                   (o = c.eq(u)),
   6978                   e.indicators && a.eq(u).addClass("active")),
   6979               o.find("img").each(function () {
   6980                 o.find(".caption").velocity(
   6981                   {
   6982                     opacity: 1,
   6983                     translateX: 0,
   6984                     translateY: 0,
   6985                   },
   6986                   {
   6987                     duration: e.transition,
   6988                     queue: !1,
   6989                     easing: "easeOutQuad",
   6990                   }
   6991                 );
   6992               }),
   6993               (r = setInterval(function () {
   6994                 n((u = l.find(".active").index()) + 1);
   6995               }, e.transition + e.interval));
   6996             var d = !1,
   6997               p = !1,
   6998               h = !1;
   6999             s
   7000               .hammer({
   7001                 prevent_default: !1,
   7002               })
   7003               .on("pan", function (t) {
   7004                 if ("touch" === t.gesture.pointerType) {
   7005                   clearInterval(r);
   7006                   var e = t.gesture.direction,
   7007                     i = t.gesture.deltaX,
   7008                     n = t.gesture.velocityX,
   7009                     o = t.gesture.velocityY;
   7010                   ($curr_slide = l.find(".active")),
   7011                     Math.abs(n) > Math.abs(o) &&
   7012                       $curr_slide.velocity(
   7013                         {
   7014                           translateX: i,
   7015                         },
   7016                         {
   7017                           duration: 50,
   7018                           queue: !1,
   7019                           easing: "easeOutQuad",
   7020                         }
   7021                       ),
   7022                     4 === e && (i > s.innerWidth() / 2 || n < -0.65)
   7023                       ? (h = !0)
   7024                       : 2 === e &&
   7025                         (i < (-1 * s.innerWidth()) / 2 || n > 0.65) &&
   7026                         (p = !0);
   7027                   var a;
   7028                   p &&
   7029                     (0 === (a = $curr_slide.next()).length && (a = c.first()),
   7030                     a.velocity(
   7031                       {
   7032                         opacity: 1,
   7033                       },
   7034                       {
   7035                         duration: 300,
   7036                         queue: !1,
   7037                         easing: "easeOutQuad",
   7038                       }
   7039                     )),
   7040                     h &&
   7041                       (0 === (a = $curr_slide.prev()).length && (a = c.last()),
   7042                       a.velocity(
   7043                         {
   7044                           opacity: 1,
   7045                         },
   7046                         {
   7047                           duration: 300,
   7048                           queue: !1,
   7049                           easing: "easeOutQuad",
   7050                         }
   7051                       ));
   7052                 }
   7053               })
   7054               .on("panend", function (t) {
   7055                 "touch" === t.gesture.pointerType &&
   7056                   (($curr_slide = l.find(".active")),
   7057                   (d = !1),
   7058                   (curr_index = l.find(".active").index()),
   7059                   (!h && !p) || c.length <= 1
   7060                     ? $curr_slide.velocity(
   7061                         {
   7062                           translateX: 0,
   7063                         },
   7064                         {
   7065                           duration: 300,
   7066                           queue: !1,
   7067                           easing: "easeOutQuad",
   7068                         }
   7069                       )
   7070                     : p
   7071                     ? (n(curr_index + 1),
   7072                       $curr_slide.velocity(
   7073                         {
   7074                           translateX: -1 * s.innerWidth(),
   7075                         },
   7076                         {
   7077                           duration: 300,
   7078                           queue: !1,
   7079                           easing: "easeOutQuad",
   7080                           complete: function () {
   7081                             $curr_slide.velocity(
   7082                               {
   7083                                 opacity: 0,
   7084                                 translateX: 0,
   7085                               },
   7086                               {
   7087                                 duration: 0,
   7088                                 queue: !1,
   7089                               }
   7090                             );
   7091                           },
   7092                         }
   7093                       ))
   7094                     : h &&
   7095                       (n(curr_index - 1),
   7096                       $curr_slide.velocity(
   7097                         {
   7098                           translateX: s.innerWidth(),
   7099                         },
   7100                         {
   7101                           duration: 300,
   7102                           queue: !1,
   7103                           easing: "easeOutQuad",
   7104                           complete: function () {
   7105                             $curr_slide.velocity(
   7106                               {
   7107                                 opacity: 0,
   7108                                 translateX: 0,
   7109                               },
   7110                               {
   7111                                 duration: 0,
   7112                                 queue: !1,
   7113                               }
   7114                             );
   7115                           },
   7116                         }
   7117                       )),
   7118                   (p = !1),
   7119                   (h = !1),
   7120                   clearInterval(r),
   7121                   (r = setInterval(function () {
   7122                     (u = l.find(".active").index()),
   7123                       c.length == u + 1 ? (u = 0) : (u += 1),
   7124                       n(u);
   7125                   }, e.transition + e.interval)));
   7126               }),
   7127               s.on("sliderPause", function () {
   7128                 clearInterval(r);
   7129               }),
   7130               s.on("sliderStart", function () {
   7131                 clearInterval(r),
   7132                   (r = setInterval(function () {
   7133                     (u = l.find(".active").index()),
   7134                       c.length == u + 1 ? (u = 0) : (u += 1),
   7135                       n(u);
   7136                   }, e.transition + e.interval));
   7137               }),
   7138               s.on("sliderNext", function () {
   7139                 n((u = l.find(".active").index()) + 1);
   7140               }),
   7141               s.on("sliderPrev", function () {
   7142                 n((u = l.find(".active").index()) - 1);
   7143               });
   7144           })
   7145         );
   7146       },
   7147       pause: function () {
   7148         t(this).trigger("sliderPause");
   7149       },
   7150       start: function () {
   7151         t(this).trigger("sliderStart");
   7152       },
   7153       next: function () {
   7154         t(this).trigger("sliderNext");
   7155       },
   7156       prev: function () {
   7157         t(this).trigger("sliderPrev");
   7158       },
   7159     };
   7160     t.fn.slider = function (i) {
   7161       return e[i]
   7162         ? e[i].apply(this, Array.prototype.slice.call(arguments, 1))
   7163         : "object" != typeof i && i
   7164         ? void t.error("Method " + i + " does not exist on jQuery.tooltip")
   7165         : e.init.apply(this, arguments);
   7166     };
   7167   })(jQuery),
   7168   (function (t) {
   7169     t(document).ready(function () {
   7170       t(document).on("click.card", ".card", function (e) {
   7171         if (t(this).find("> .card-reveal").length) {
   7172           var i = t(e.target).closest(".card");
   7173           void 0 === i.data("initialOverflow") &&
   7174             i.data(
   7175               "initialOverflow",
   7176               void 0 === i.css("overflow") ? "" : i.css("overflow")
   7177             ),
   7178             t(e.target).is(t(".card-reveal .card-title")) ||
   7179             t(e.target).is(t(".card-reveal .card-title i"))
   7180               ? t(this)
   7181                   .find(".card-reveal")
   7182                   .velocity(
   7183                     {
   7184                       translateY: 0,
   7185                     },
   7186                     {
   7187                       duration: 225,
   7188                       queue: !1,
   7189                       easing: "easeInOutQuad",
   7190                       complete: function () {
   7191                         t(this).css({
   7192                           display: "none",
   7193                         }),
   7194                           i.css("overflow", i.data("initialOverflow"));
   7195                       },
   7196                     }
   7197                   )
   7198               : (t(e.target).is(t(".card .activator")) ||
   7199                   t(e.target).is(t(".card .activator i"))) &&
   7200                 (i.css("overflow", "hidden"),
   7201                 t(this)
   7202                   .find(".card-reveal")
   7203                   .css({
   7204                     display: "block",
   7205                   })
   7206                   .velocity("stop", !1)
   7207                   .velocity(
   7208                     {
   7209                       translateY: "-100%",
   7210                     },
   7211                     {
   7212                       duration: 300,
   7213                       queue: !1,
   7214                       easing: "easeInOutQuad",
   7215                     }
   7216                   ));
   7217         }
   7218       });
   7219     });
   7220   })(jQuery),
   7221   (function (t) {
   7222     var e = {
   7223       data: [],
   7224       placeholder: "",
   7225       secondaryPlaceholder: "",
   7226       autocompleteOptions: {},
   7227     };
   7228     t(document).ready(function () {
   7229       t(document).on("click", ".chip .close", function (e) {
   7230         t(this).closest(".chips").attr("data-initialized") ||
   7231           t(this).closest(".chip").remove();
   7232       });
   7233     }),
   7234       (t.fn.material_chip = function (i) {
   7235         var n = this;
   7236         if (
   7237           ((this.$el = t(this)),
   7238           (this.$document = t(document)),
   7239           (this.SELS = {
   7240             CHIPS: ".chips",
   7241             CHIP: ".chip",
   7242             INPUT: "input",
   7243             DELETE: ".material-icons",
   7244             SELECTED_CHIP: ".selected",
   7245           }),
   7246           "data" === i)
   7247         )
   7248           return this.$el.data("chips");
   7249         var o = t.extend({}, e, i);
   7250         (n.hasAutocomplete = !t.isEmptyObject(o.autocompleteOptions.data)),
   7251           (this.init = function () {
   7252             var e = 0;
   7253             n.$el.each(function () {
   7254               var i = t(this),
   7255                 a = Materialize.guid();
   7256               (n.chipId = a),
   7257                 (o.data && o.data instanceof Array) || (o.data = []),
   7258                 i.data("chips", o.data),
   7259                 i.attr("data-index", e),
   7260                 i.attr("data-initialized", !0),
   7261                 i.hasClass(n.SELS.CHIPS) || i.addClass("chips"),
   7262                 n.chips(i, a),
   7263                 e++;
   7264             });
   7265           }),
   7266           (this.handleEvents = function () {
   7267             var e = n.SELS;
   7268             n.$document
   7269               .off("click.chips-focus", e.CHIPS)
   7270               .on("click.chips-focus", e.CHIPS, function (i) {
   7271                 t(i.target).find(e.INPUT).focus();
   7272               }),
   7273               n.$document
   7274                 .off("click.chips-select", e.CHIP)
   7275                 .on("click.chips-select", e.CHIP, function (i) {
   7276                   var o = t(i.target);
   7277                   if (o.length) {
   7278                     var a = o.hasClass("selected"),
   7279                       r = o.closest(e.CHIPS);
   7280                     t(e.CHIP).removeClass("selected"),
   7281                       a || n.selectChip(o.index(), r);
   7282                   }
   7283                 }),
   7284               n.$document
   7285                 .off("keydown.chips")
   7286                 .on("keydown.chips", function (i) {
   7287                   if (!t(i.target).is("input, textarea")) {
   7288                     var o,
   7289                       a = n.$document.find(e.CHIP + e.SELECTED_CHIP),
   7290                       r = a.closest(e.CHIPS),
   7291                       s = a.siblings(e.CHIP).length;
   7292                     if (a.length)
   7293                       if (8 === i.which || 46 === i.which) {
   7294                         i.preventDefault(), (o = a.index()), n.deleteChip(o, r);
   7295                         var l = null;
   7296                         o + 1 < s
   7297                           ? (l = o)
   7298                           : (o !== s && o + 1 !== s) || (l = s - 1),
   7299                           l < 0 && (l = null),
   7300                           null !== l && n.selectChip(l, r),
   7301                           s || r.find("input").focus();
   7302                       } else if (37 === i.which) {
   7303                         if ((o = a.index() - 1) < 0) return;
   7304                         t(e.CHIP).removeClass("selected"), n.selectChip(o, r);
   7305                       } else if (39 === i.which) {
   7306                         if (
   7307                           ((o = a.index() + 1),
   7308                           t(e.CHIP).removeClass("selected"),
   7309                           o > s)
   7310                         )
   7311                           return void r.find("input").focus();
   7312                         n.selectChip(o, r);
   7313                       }
   7314                   }
   7315                 }),
   7316               n.$document
   7317                 .off("focusin.chips", e.CHIPS + " " + e.INPUT)
   7318                 .on("focusin.chips", e.CHIPS + " " + e.INPUT, function (i) {
   7319                   var n = t(i.target).closest(e.CHIPS);
   7320                   n.addClass("focus"),
   7321                     n.siblings("label, .prefix").addClass("active"),
   7322                     t(e.CHIP).removeClass("selected");
   7323                 }),
   7324               n.$document
   7325                 .off("focusout.chips", e.CHIPS + " " + e.INPUT)
   7326                 .on("focusout.chips", e.CHIPS + " " + e.INPUT, function (i) {
   7327                   var n = t(i.target).closest(e.CHIPS);
   7328                   n.removeClass("focus"),
   7329                     (void 0 !== n.data("chips") && n.data("chips").length) ||
   7330                       n.siblings("label").removeClass("active"),
   7331                     n.siblings(".prefix").removeClass("active");
   7332                 }),
   7333               n.$document
   7334                 .off("keydown.chips-add", e.CHIPS + " " + e.INPUT)
   7335                 .on("keydown.chips-add", e.CHIPS + " " + e.INPUT, function (i) {
   7336                   var o = t(i.target),
   7337                     a = o.closest(e.CHIPS),
   7338                     r = a.children(e.CHIP).length;
   7339                   if (13 === i.which) {
   7340                     if (
   7341                       n.hasAutocomplete &&
   7342                       a.find(".autocomplete-content.dropdown-content").length &&
   7343                       a
   7344                         .find(".autocomplete-content.dropdown-content")
   7345                         .children().length
   7346                     )
   7347                       return;
   7348                     return (
   7349                       i.preventDefault(),
   7350                       n.addChip(
   7351                         {
   7352                           tag: o.val(),
   7353                         },
   7354                         a
   7355                       ),
   7356                       void o.val("")
   7357                     );
   7358                   }
   7359                   if (
   7360                     (8 === i.keyCode || 37 === i.keyCode) &&
   7361                     "" === o.val() &&
   7362                     r
   7363                   )
   7364                     return (
   7365                       i.preventDefault(), n.selectChip(r - 1, a), void o.blur()
   7366                     );
   7367                 }),
   7368               n.$document
   7369                 .off("click.chips-delete", e.CHIPS + " " + e.DELETE)
   7370                 .on("click.chips-delete", e.CHIPS + " " + e.DELETE, function (
   7371                   i
   7372                 ) {
   7373                   var o = t(i.target),
   7374                     a = o.closest(e.CHIPS),
   7375                     r = o.closest(e.CHIP);
   7376                   i.stopPropagation(),
   7377                     n.deleteChip(r.index(), a),
   7378                     a.find("input").focus();
   7379                 });
   7380           }),
   7381           (this.chips = function (e, i) {
   7382             e.empty(),
   7383               e.data("chips").forEach(function (t) {
   7384                 e.append(n.renderChip(t));
   7385               }),
   7386               e.append(
   7387                 t('<input id="' + i + '" class="input" placeholder="">')
   7388               ),
   7389               n.setPlaceholder(e);
   7390             var a = e.next("label");
   7391             a.length &&
   7392               (a.attr("for", i),
   7393               void 0 !== e.data("chips") &&
   7394                 e.data("chips").length &&
   7395                 a.addClass("active"));
   7396             var r = t("#" + i);
   7397             n.hasAutocomplete &&
   7398               ((o.autocompleteOptions.onAutocomplete = function (t) {
   7399                 n.addChip(
   7400                   {
   7401                     tag: t,
   7402                   },
   7403                   e
   7404                 ),
   7405                   r.val(""),
   7406                   r.focus();
   7407               }),
   7408               r.autocomplete(o.autocompleteOptions));
   7409           }),
   7410           (this.renderChip = function (e) {
   7411             if (e.tag) {
   7412               var i = t('<div class="chip"></div>');
   7413               return (
   7414                 i.text(e.tag),
   7415                 e.image && i.prepend(t("<img />").attr("src", e.image)),
   7416                 i.append(t('<i class="material-icons close">close</i>')),
   7417                 i
   7418               );
   7419             }
   7420           }),
   7421           (this.setPlaceholder = function (t) {
   7422             void 0 !== t.data("chips") &&
   7423             !t.data("chips").length &&
   7424             o.placeholder
   7425               ? t.find("input").prop("placeholder", o.placeholder)
   7426               : (void 0 === t.data("chips") || t.data("chips").length) &&
   7427                 o.secondaryPlaceholder &&
   7428                 t.find("input").prop("placeholder", o.secondaryPlaceholder);
   7429           }),
   7430           (this.isValid = function (t, e) {
   7431             for (var i = t.data("chips"), n = !1, o = 0; o < i.length; o++)
   7432               if (i[o].tag === e.tag) return void (n = !0);
   7433             return "" !== e.tag && !n;
   7434           }),
   7435           (this.addChip = function (t, e) {
   7436             if (n.isValid(e, t)) {
   7437               for (
   7438                 var i = n.renderChip(t), o = [], a = e.data("chips"), r = 0;
   7439                 r < a.length;
   7440                 r++
   7441               )
   7442                 o.push(a[r]);
   7443               o.push(t),
   7444                 e.data("chips", o),
   7445                 i.insertBefore(e.find("input")),
   7446                 e.trigger("chip.add", t),
   7447                 n.setPlaceholder(e);
   7448             }
   7449           }),
   7450           (this.deleteChip = function (t, e) {
   7451             var i = e.data("chips")[t];
   7452             e.find(".chip").eq(t).remove();
   7453             for (var o = [], a = e.data("chips"), r = 0; r < a.length; r++)
   7454               r !== t && o.push(a[r]);
   7455             e.data("chips", o),
   7456               e.trigger("chip.delete", i),
   7457               n.setPlaceholder(e);
   7458           }),
   7459           (this.selectChip = function (t, e) {
   7460             var i = e.find(".chip").eq(t);
   7461             i &&
   7462               !1 === i.hasClass("selected") &&
   7463               (i.addClass("selected"),
   7464               e.trigger("chip.select", e.data("chips")[t]));
   7465           }),
   7466           (this.getChipsElement = function (t, e) {
   7467             return e.eq(t);
   7468           }),
   7469           this.init(),
   7470           this.handleEvents();
   7471       });
   7472   })(jQuery),
   7473   (function (t) {
   7474     t.fn.pushpin = function (e) {
   7475       var i = {
   7476         top: 0,
   7477         bottom: 1 / 0,
   7478         offset: 0,
   7479       };
   7480       return "remove" === e
   7481         ? (this.each(function () {
   7482             (id = t(this).data("pushpin-id")) &&
   7483               (t(window).off("scroll." + id),
   7484               t(this)
   7485                 .removeData("pushpin-id")
   7486                 .removeClass("pin-top pinned pin-bottom")
   7487                 .removeAttr("style"));
   7488           }),
   7489           !1)
   7490         : ((e = t.extend(i, e)),
   7491           ($index = 0),
   7492           this.each(function () {
   7493             function i(t) {
   7494               t.removeClass("pin-top"),
   7495                 t.removeClass("pinned"),
   7496                 t.removeClass("pin-bottom");
   7497             }
   7498 
   7499             function n(n, o) {
   7500               n.each(function () {
   7501                 e.top <= o &&
   7502                   e.bottom >= o &&
   7503                   !t(this).hasClass("pinned") &&
   7504                   (i(t(this)),
   7505                   t(this).css("top", e.offset),
   7506                   t(this).addClass("pinned")),
   7507                   o < e.top &&
   7508                     !t(this).hasClass("pin-top") &&
   7509                     (i(t(this)),
   7510                     t(this).css("top", 0),
   7511                     t(this).addClass("pin-top")),
   7512                   o > e.bottom &&
   7513                     !t(this).hasClass("pin-bottom") &&
   7514                     (i(t(this)),
   7515                     t(this).addClass("pin-bottom"),
   7516                     t(this).css("top", e.bottom - r));
   7517               });
   7518             }
   7519             var o = Materialize.guid(),
   7520               a = t(this),
   7521               r = t(this).offset().top;
   7522             t(this).data("pushpin-id", o),
   7523               n(a, t(window).scrollTop()),
   7524               t(window).on("scroll." + o, function () {
   7525                 var i = t(window).scrollTop() + e.offset;
   7526                 n(a, i);
   7527               });
   7528           }));
   7529     };
   7530   })(jQuery),
   7531   (function (t) {
   7532     t(document).ready(function () {
   7533       (t.fn.reverse = [].reverse),
   7534         t(document).on(
   7535           "mouseenter.fixedActionBtn",
   7536           ".fixed-action-btn:not(.click-to-toggle):not(.toolbar)",
   7537           function (i) {
   7538             var n = t(this);
   7539             e(n);
   7540           }
   7541         ),
   7542         t(document).on(
   7543           "mouseleave.fixedActionBtn",
   7544           ".fixed-action-btn:not(.click-to-toggle):not(.toolbar)",
   7545           function (e) {
   7546             var n = t(this);
   7547             i(n);
   7548           }
   7549         ),
   7550         t(document).on(
   7551           "click.fabClickToggle",
   7552           ".fixed-action-btn.click-to-toggle > a",
   7553           function (n) {
   7554             var o = t(this).parent();
   7555             o.hasClass("active") ? i(o) : e(o);
   7556           }
   7557         ),
   7558         t(document).on(
   7559           "click.fabToolbar",
   7560           ".fixed-action-btn.toolbar > a",
   7561           function (e) {
   7562             var i = t(this).parent();
   7563             n(i);
   7564           }
   7565         );
   7566     }),
   7567       t.fn.extend({
   7568         openFAB: function () {
   7569           e(t(this));
   7570         },
   7571         closeFAB: function () {
   7572           i(t(this));
   7573         },
   7574         openToolbar: function () {
   7575           n(t(this));
   7576         },
   7577         closeToolbar: function () {
   7578           o(t(this));
   7579         },
   7580       });
   7581     var e = function (e) {
   7582         var i = e;
   7583         if (!1 === i.hasClass("active")) {
   7584           var n, o;
   7585           !0 === i.hasClass("horizontal") ? (o = 40) : (n = 40),
   7586             i.addClass("active"),
   7587             i.find("ul .btn-floating").velocity(
   7588               {
   7589                 scaleY: ".4",
   7590                 scaleX: ".4",
   7591                 translateY: n + "px",
   7592                 translateX: o + "px",
   7593               },
   7594               {
   7595                 duration: 0,
   7596               }
   7597             );
   7598           var a = 0;
   7599           i.find("ul .btn-floating")
   7600             .reverse()
   7601             .each(function () {
   7602               t(this).velocity(
   7603                 {
   7604                   opacity: "1",
   7605                   scaleX: "1",
   7606                   scaleY: "1",
   7607                   translateY: "0",
   7608                   translateX: "0",
   7609                 },
   7610                 {
   7611                   duration: 80,
   7612                   delay: a,
   7613                 }
   7614               ),
   7615                 (a += 40);
   7616             });
   7617         }
   7618       },
   7619       i = function (t) {
   7620         var e,
   7621           i,
   7622           n = t;
   7623         !0 === n.hasClass("horizontal") ? (i = 40) : (e = 40),
   7624           n.removeClass("active");
   7625         n.find("ul .btn-floating").velocity("stop", !0),
   7626           n.find("ul .btn-floating").velocity(
   7627             {
   7628               opacity: "0",
   7629               scaleX: ".4",
   7630               scaleY: ".4",
   7631               translateY: e + "px",
   7632               translateX: i + "px",
   7633             },
   7634             {
   7635               duration: 80,
   7636             }
   7637           );
   7638       },
   7639       n = function (e) {
   7640         if ("true" !== e.attr("data-open")) {
   7641           var i,
   7642             n,
   7643             a,
   7644             r = window.innerWidth,
   7645             s = window.innerHeight,
   7646             l = e[0].getBoundingClientRect(),
   7647             c = e.find("> a").first(),
   7648             u = e.find("> ul").first(),
   7649             d = t('<div class="fab-backdrop"></div>'),
   7650             p = c.css("background-color");
   7651           c.append(d),
   7652             (i = l.left - r / 2 + l.width / 2),
   7653             (n = s - l.bottom),
   7654             (a = r / d.width()),
   7655             e.attr("data-origin-bottom", l.bottom),
   7656             e.attr("data-origin-left", l.left),
   7657             e.attr("data-origin-width", l.width),
   7658             e.addClass("active"),
   7659             e.attr("data-open", !0),
   7660             e.css({
   7661               "text-align": "center",
   7662               width: "100%",
   7663               bottom: 0,
   7664               left: 0,
   7665               transform: "translateX(" + i + "px)",
   7666               transition: "none",
   7667             }),
   7668             c.css({
   7669               transform: "translateY(" + -n + "px)",
   7670               transition: "none",
   7671             }),
   7672             d.css({
   7673               "background-color": p,
   7674             }),
   7675             setTimeout(function () {
   7676               e.css({
   7677                 transform: "",
   7678                 transition:
   7679                   "transform .2s cubic-bezier(0.550, 0.085, 0.680, 0.530), background-color 0s linear .2s",
   7680               }),
   7681                 c.css({
   7682                   overflow: "visible",
   7683                   transform: "",
   7684                   transition: "transform .2s",
   7685                 }),
   7686                 setTimeout(function () {
   7687                   e.css({
   7688                     overflow: "hidden",
   7689                     "background-color": p,
   7690                   }),
   7691                     d.css({
   7692                       transform: "scale(" + a + ")",
   7693                       transition:
   7694                         "transform .2s cubic-bezier(0.550, 0.055, 0.675, 0.190)",
   7695                     }),
   7696                     u.find("> li > a").css({
   7697                       opacity: 1,
   7698                     }),
   7699                     t(window).on("scroll.fabToolbarClose", function () {
   7700                       o(e),
   7701                         t(window).off("scroll.fabToolbarClose"),
   7702                         t(document).off("click.fabToolbarClose");
   7703                     }),
   7704                     t(document).on("click.fabToolbarClose", function (i) {
   7705                       t(i.target).closest(u).length ||
   7706                         (o(e),
   7707                         t(window).off("scroll.fabToolbarClose"),
   7708                         t(document).off("click.fabToolbarClose"));
   7709                     });
   7710                 }, 100);
   7711             }, 0);
   7712         }
   7713       },
   7714       o = function (t) {
   7715         if ("true" === t.attr("data-open")) {
   7716           var e,
   7717             i,
   7718             n = window.innerWidth,
   7719             o = window.innerHeight,
   7720             a = t.attr("data-origin-width"),
   7721             r = t.attr("data-origin-bottom"),
   7722             s = t.attr("data-origin-left"),
   7723             l = t.find("> .btn-floating").first(),
   7724             c = t.find("> ul").first(),
   7725             u = t.find(".fab-backdrop"),
   7726             d = l.css("background-color");
   7727           (e = s - n / 2 + a / 2),
   7728             (i = o - r),
   7729             n / u.width(),
   7730             t.removeClass("active"),
   7731             t.attr("data-open", !1),
   7732             t.css({
   7733               "background-color": "transparent",
   7734               transition: "none",
   7735             }),
   7736             l.css({
   7737               transition: "none",
   7738             }),
   7739             u.css({
   7740               transform: "scale(0)",
   7741               "background-color": d,
   7742             }),
   7743             c.find("> li > a").css({
   7744               opacity: "",
   7745             }),
   7746             setTimeout(function () {
   7747               u.remove(),
   7748                 t.css({
   7749                   "text-align": "",
   7750                   width: "",
   7751                   bottom: "",
   7752                   left: "",
   7753                   overflow: "",
   7754                   "background-color": "",
   7755                   transform: "translate3d(" + -e + "px,0,0)",
   7756                 }),
   7757                 l.css({
   7758                   overflow: "",
   7759                   transform: "translate3d(0," + i + "px,0)",
   7760                 }),
   7761                 setTimeout(function () {
   7762                   t.css({
   7763                     transform: "translate3d(0,0,0)",
   7764                     transition: "transform .2s",
   7765                   }),
   7766                     l.css({
   7767                       transform: "translate3d(0,0,0)",
   7768                       transition:
   7769                         "transform .2s cubic-bezier(0.550, 0.055, 0.675, 0.190)",
   7770                     });
   7771                 }, 20);
   7772             }, 200);
   7773         }
   7774       };
   7775   })(jQuery),
   7776   (function (t) {
   7777     (Materialize.fadeInImage = function (e) {
   7778       var i;
   7779       if ("string" == typeof e) i = t(e);
   7780       else {
   7781         if ("object" != typeof e) return;
   7782         i = e;
   7783       }
   7784       i.css({
   7785         opacity: 0,
   7786       }),
   7787         t(i).velocity(
   7788           {
   7789             opacity: 1,
   7790           },
   7791           {
   7792             duration: 650,
   7793             queue: !1,
   7794             easing: "easeOutSine",
   7795           }
   7796         ),
   7797         t(i).velocity(
   7798           {
   7799             opacity: 1,
   7800           },
   7801           {
   7802             duration: 1300,
   7803             queue: !1,
   7804             easing: "swing",
   7805             step: function (e, i) {
   7806               i.start = 100;
   7807               var n = e / 100,
   7808                 o = 150 - (100 - e) / 1.75;
   7809               o < 100 && (o = 100),
   7810                 e >= 0 &&
   7811                   t(this).css({
   7812                     "-webkit-filter":
   7813                       "grayscale(" + n + ")brightness(" + o + "%)",
   7814                     filter: "grayscale(" + n + ")brightness(" + o + "%)",
   7815                   });
   7816             },
   7817           }
   7818         );
   7819     }),
   7820       (Materialize.showStaggeredList = function (e) {
   7821         var i;
   7822         if ("string" == typeof e) i = t(e);
   7823         else {
   7824           if ("object" != typeof e) return;
   7825           i = e;
   7826         }
   7827         var n = 0;
   7828         i.find("li").velocity(
   7829           {
   7830             translateX: "-100px",
   7831           },
   7832           {
   7833             duration: 0,
   7834           }
   7835         ),
   7836           i.find("li").each(function () {
   7837             t(this).velocity(
   7838               {
   7839                 opacity: "1",
   7840                 translateX: "0",
   7841               },
   7842               {
   7843                 duration: 800,
   7844                 delay: n,
   7845                 easing: [60, 10],
   7846               }
   7847             ),
   7848               (n += 120);
   7849           });
   7850       }),
   7851       t(document).ready(function () {
   7852         var e = !1,
   7853           i = !1;
   7854         t(".dismissable").each(function () {
   7855           t(this)
   7856             .hammer({
   7857               prevent_default: !1,
   7858             })
   7859             .on("pan", function (n) {
   7860               if ("touch" === n.gesture.pointerType) {
   7861                 var o = t(this),
   7862                   a = n.gesture.direction,
   7863                   r = n.gesture.deltaX,
   7864                   s = n.gesture.velocityX;
   7865                 o.velocity(
   7866                   {
   7867                     translateX: r,
   7868                   },
   7869                   {
   7870                     duration: 50,
   7871                     queue: !1,
   7872                     easing: "easeOutQuad",
   7873                   }
   7874                 ),
   7875                   4 === a && (r > o.innerWidth() / 2 || s < -0.75) && (e = !0),
   7876                   2 === a &&
   7877                     (r < (-1 * o.innerWidth()) / 2 || s > 0.75) &&
   7878                     (i = !0);
   7879               }
   7880             })
   7881             .on("panend", function (n) {
   7882               if (
   7883                 (Math.abs(n.gesture.deltaX) < t(this).innerWidth() / 2 &&
   7884                   ((i = !1), (e = !1)),
   7885                 "touch" === n.gesture.pointerType)
   7886               ) {
   7887                 var o = t(this);
   7888                 if (e || i) {
   7889                   var a;
   7890                   (a = e ? o.innerWidth() : -1 * o.innerWidth()),
   7891                     o.velocity(
   7892                       {
   7893                         translateX: a,
   7894                       },
   7895                       {
   7896                         duration: 100,
   7897                         queue: !1,
   7898                         easing: "easeOutQuad",
   7899                         complete: function () {
   7900                           o.css("border", "none"),
   7901                             o.velocity(
   7902                               {
   7903                                 height: 0,
   7904                                 padding: 0,
   7905                               },
   7906                               {
   7907                                 duration: 200,
   7908                                 queue: !1,
   7909                                 easing: "easeOutQuad",
   7910                                 complete: function () {
   7911                                   o.remove();
   7912                                 },
   7913                               }
   7914                             );
   7915                         },
   7916                       }
   7917                     );
   7918                 } else
   7919                   o.velocity(
   7920                     {
   7921                       translateX: 0,
   7922                     },
   7923                     {
   7924                       duration: 100,
   7925                       queue: !1,
   7926                       easing: "easeOutQuad",
   7927                     }
   7928                   );
   7929                 (e = !1), (i = !1);
   7930               }
   7931             });
   7932         });
   7933       });
   7934   })(jQuery),
   7935   (function (t) {
   7936     var e = !1;
   7937     Materialize.scrollFire = function (t) {
   7938       var i = function () {
   7939           for (
   7940             var e = window.pageYOffset + window.innerHeight, i = 0;
   7941             i < t.length;
   7942             i++
   7943           ) {
   7944             var n = t[i],
   7945               o = n.selector,
   7946               a = n.offset,
   7947               r = n.callback,
   7948               s = document.querySelector(o);
   7949             null !== s &&
   7950               e > s.getBoundingClientRect().top + window.pageYOffset + a &&
   7951               !0 !== n.done &&
   7952               ("function" == typeof r
   7953                 ? r.call(this, s)
   7954                 : "string" == typeof r && new Function(r)(s),
   7955               (n.done = !0));
   7956           }
   7957         },
   7958         n = Materialize.throttle(function () {
   7959           i();
   7960         }, t.throttle || 100);
   7961       e ||
   7962         (window.addEventListener("scroll", n),
   7963         window.addEventListener("resize", n),
   7964         (e = !0)),
   7965         setTimeout(n, 0);
   7966     };
   7967   })(jQuery),
   7968   (function (t) {
   7969     Materialize.Picker = t(jQuery);
   7970   })(function (t) {
   7971     function e(a, s, u, d) {
   7972       function p() {
   7973         return e._.node(
   7974           "div",
   7975           e._.node(
   7976             "div",
   7977             e._.node(
   7978               "div",
   7979               e._.node("div", T.component.nodes(b.open), k.box),
   7980               k.wrap
   7981             ),
   7982             k.frame
   7983           ),
   7984           k.holder
   7985         );
   7986       }
   7987 
   7988       function h() {
   7989         x
   7990           .data(s, T)
   7991           .addClass(k.input)
   7992           .attr("tabindex", -1)
   7993           .val(x.data("value") ? T.get("select", w.format) : a.value),
   7994           w.editable ||
   7995             x
   7996               .on("focus." + b.id + " click." + b.id, function (t) {
   7997                 t.preventDefault(), T.$root.eq(0).focus();
   7998               })
   7999               .on("keydown." + b.id, m),
   8000           o(a, {
   8001             haspopup: !0,
   8002             expanded: !1,
   8003             readonly: !1,
   8004             owns: a.id + "_root",
   8005           });
   8006       }
   8007 
   8008       function f() {
   8009         T.$root
   8010           .on({
   8011             keydown: m,
   8012             focusin: function (t) {
   8013               T.$root.removeClass(k.focused), t.stopPropagation();
   8014             },
   8015             "mousedown click": function (e) {
   8016               var i = e.target;
   8017               i != T.$root.children()[0] &&
   8018                 (e.stopPropagation(),
   8019                 "mousedown" != e.type ||
   8020                   t(i).is("input, select, textarea, button, option") ||
   8021                   (e.preventDefault(), T.$root.eq(0).focus()));
   8022             },
   8023           })
   8024           .on({
   8025             focus: function () {
   8026               x.addClass(k.target);
   8027             },
   8028             blur: function () {
   8029               x.removeClass(k.target);
   8030             },
   8031           })
   8032           .on("focus.toOpen", g)
   8033           .on(
   8034             "click",
   8035             "[data-pick], [data-nav], [data-clear], [data-close]",
   8036             function () {
   8037               var e = t(this),
   8038                 i = e.data(),
   8039                 n = e.hasClass(k.navDisabled) || e.hasClass(k.disabled),
   8040                 o = r();
   8041               (o = o && (o.type || o.href) && o),
   8042                 (n || (o && !t.contains(T.$root[0], o))) &&
   8043                   T.$root.eq(0).focus(),
   8044                 !n && i.nav
   8045                   ? T.set("highlight", T.component.item.highlight, {
   8046                       nav: i.nav,
   8047                     })
   8048                   : !n && "pick" in i
   8049                   ? (T.set("select", i.pick), w.closeOnSelect && T.close(!0))
   8050                   : i.clear
   8051                   ? (T.clear(), w.closeOnSelect && T.close(!0))
   8052                   : i.close && T.close(!0);
   8053             }
   8054           ),
   8055           o(T.$root[0], "hidden", !0);
   8056       }
   8057 
   8058       function v() {
   8059         var e;
   8060         !0 === w.hiddenName
   8061           ? ((e = a.name), (a.name = ""))
   8062           : (e =
   8063               (e = [
   8064                 "string" == typeof w.hiddenPrefix ? w.hiddenPrefix : "",
   8065                 "string" == typeof w.hiddenSuffix ? w.hiddenSuffix : "_submit",
   8066               ])[0] +
   8067               a.name +
   8068               e[1]),
   8069           (T._hidden = t(
   8070             '<input type=hidden name="' +
   8071               e +
   8072               '"' +
   8073               (x.data("value") || a.value
   8074                 ? ' value="' + T.get("select", w.formatSubmit) + '"'
   8075                 : "") +
   8076               ">"
   8077           )[0]),
   8078           x.on("change." + b.id, function () {
   8079             T._hidden.value = a.value ? T.get("select", w.formatSubmit) : "";
   8080           }),
   8081           w.container ? t(w.container).append(T._hidden) : x.before(T._hidden);
   8082       }
   8083 
   8084       function m(t) {
   8085         var e = t.keyCode,
   8086           i = /^(8|46)$/.test(e);
   8087         if (27 == e) return T.close(), !1;
   8088         (32 == e || i || (!b.open && T.component.key[e])) &&
   8089           (t.preventDefault(),
   8090           t.stopPropagation(),
   8091           i ? T.clear().close() : T.open());
   8092       }
   8093 
   8094       function g(t) {
   8095         t.stopPropagation(),
   8096           "focus" == t.type && T.$root.addClass(k.focused),
   8097           T.open();
   8098       }
   8099       if (!a) return e;
   8100       var y = !1,
   8101         b = {
   8102           id: a.id || "P" + Math.abs(~~(Math.random() * new Date())),
   8103         },
   8104         w = u ? t.extend(!0, {}, u.defaults, d) : d || {},
   8105         k = t.extend({}, e.klasses(), w.klass),
   8106         x = t(a),
   8107         C = function () {
   8108           return this.start();
   8109         },
   8110         T = (C.prototype = {
   8111           constructor: C,
   8112           $node: x,
   8113           start: function () {
   8114             return b && b.start
   8115               ? T
   8116               : ((b.methods = {}),
   8117                 (b.start = !0),
   8118                 (b.open = !1),
   8119                 (b.type = a.type),
   8120                 (a.autofocus = a == r()),
   8121                 (a.readOnly = !w.editable),
   8122                 (a.id = a.id || b.id),
   8123                 "text" != a.type && (a.type = "text"),
   8124                 (T.component = new u(T, w)),
   8125                 (T.$root = t(
   8126                   e._.node(
   8127                     "div",
   8128                     p(),
   8129                     k.picker,
   8130                     'id="' + a.id + '_root" tabindex="0"'
   8131                   )
   8132                 )),
   8133                 f(),
   8134                 w.formatSubmit && v(),
   8135                 h(),
   8136                 w.container
   8137                   ? t(w.container).append(T.$root)
   8138                   : x.before(T.$root),
   8139                 T.on({
   8140                   start: T.component.onStart,
   8141                   render: T.component.onRender,
   8142                   stop: T.component.onStop,
   8143                   open: T.component.onOpen,
   8144                   close: T.component.onClose,
   8145                   set: T.component.onSet,
   8146                 }).on({
   8147                   start: w.onStart,
   8148                   render: w.onRender,
   8149                   stop: w.onStop,
   8150                   open: w.onOpen,
   8151                   close: w.onClose,
   8152                   set: w.onSet,
   8153                 }),
   8154                 (y = i(T.$root.children()[0])),
   8155                 a.autofocus && T.open(),
   8156                 T.trigger("start").trigger("render"));
   8157           },
   8158           render: function (t) {
   8159             return (
   8160               t
   8161                 ? T.$root.html(p())
   8162                 : T.$root.find("." + k.box).html(T.component.nodes(b.open)),
   8163               T.trigger("render")
   8164             );
   8165           },
   8166           stop: function () {
   8167             return b.start
   8168               ? (T.close(),
   8169                 T._hidden && T._hidden.parentNode.removeChild(T._hidden),
   8170                 T.$root.remove(),
   8171                 x.removeClass(k.input).removeData(s),
   8172                 setTimeout(function () {
   8173                   x.off("." + b.id);
   8174                 }, 0),
   8175                 (a.type = b.type),
   8176                 (a.readOnly = !1),
   8177                 T.trigger("stop"),
   8178                 (b.methods = {}),
   8179                 (b.start = !1),
   8180                 T)
   8181               : T;
   8182           },
   8183           open: function (i) {
   8184             return b.open
   8185               ? T
   8186               : (x.addClass(k.active),
   8187                 o(a, "expanded", !0),
   8188                 setTimeout(function () {
   8189                   T.$root.addClass(k.opened), o(T.$root[0], "hidden", !1);
   8190                 }, 0),
   8191                 !1 !== i &&
   8192                   ((b.open = !0),
   8193                   y &&
   8194                     c
   8195                       .css("overflow", "hidden")
   8196                       .css("padding-right", "+=" + n()),
   8197                   T.$root.eq(0).focus(),
   8198                   l
   8199                     .on("click." + b.id + " focusin." + b.id, function (t) {
   8200                       var e = t.target;
   8201                       e != a &&
   8202                         e != document &&
   8203                         3 != t.which &&
   8204                         T.close(e === T.$root.children()[0]);
   8205                     })
   8206                     .on("keydown." + b.id, function (i) {
   8207                       var n = i.keyCode,
   8208                         o = T.component.key[n],
   8209                         a = i.target;
   8210                       27 == n
   8211                         ? T.close(!0)
   8212                         : a != T.$root[0] || (!o && 13 != n)
   8213                         ? t.contains(T.$root[0], a) &&
   8214                           13 == n &&
   8215                           (i.preventDefault(), a.click())
   8216                         : (i.preventDefault(),
   8217                           o
   8218                             ? e._.trigger(T.component.key.go, T, [
   8219                                 e._.trigger(o),
   8220                               ])
   8221                             : T.$root
   8222                                 .find("." + k.highlighted)
   8223                                 .hasClass(k.disabled) ||
   8224                               (T.set("select", T.component.item.highlight),
   8225                               w.closeOnSelect && T.close(!0)));
   8226                     })),
   8227                 T.trigger("open"));
   8228           },
   8229           close: function (t) {
   8230             return (
   8231               t &&
   8232                 (T.$root.off("focus.toOpen").eq(0).focus(),
   8233                 setTimeout(function () {
   8234                   T.$root.on("focus.toOpen", g);
   8235                 }, 0)),
   8236               x.removeClass(k.active),
   8237               o(a, "expanded", !1),
   8238               setTimeout(function () {
   8239                 T.$root.removeClass(k.opened + " " + k.focused),
   8240                   o(T.$root[0], "hidden", !0);
   8241               }, 0),
   8242               b.open
   8243                 ? ((b.open = !1),
   8244                   y && c.css("overflow", "").css("padding-right", "-=" + n()),
   8245                   l.off("." + b.id),
   8246                   T.trigger("close"))
   8247                 : T
   8248             );
   8249           },
   8250           clear: function (t) {
   8251             return T.set("clear", null, t);
   8252           },
   8253           set: function (e, i, n) {
   8254             var o,
   8255               a,
   8256               r = t.isPlainObject(e),
   8257               s = r ? e : {};
   8258             if (((n = r && t.isPlainObject(i) ? i : n || {}), e)) {
   8259               r || (s[e] = i);
   8260               for (o in s)
   8261                 (a = s[o]),
   8262                   o in T.component.item &&
   8263                     (void 0 === a && (a = null), T.component.set(o, a, n)),
   8264                   ("select" != o && "clear" != o) ||
   8265                     x
   8266                       .val("clear" == o ? "" : T.get(o, w.format))
   8267                       .trigger("change");
   8268               T.render();
   8269             }
   8270             return n.muted ? T : T.trigger("set", s);
   8271           },
   8272           get: function (t, i) {
   8273             if (((t = t || "value"), null != b[t])) return b[t];
   8274             if ("valueSubmit" == t) {
   8275               if (T._hidden) return T._hidden.value;
   8276               t = "value";
   8277             }
   8278             if ("value" == t) return a.value;
   8279             if (t in T.component.item) {
   8280               if ("string" == typeof i) {
   8281                 var n = T.component.get(t);
   8282                 return n
   8283                   ? e._.trigger(T.component.formats.toString, T.component, [
   8284                       i,
   8285                       n,
   8286                     ])
   8287                   : "";
   8288               }
   8289               return T.component.get(t);
   8290             }
   8291           },
   8292           on: function (e, i, n) {
   8293             var o,
   8294               a,
   8295               r = t.isPlainObject(e),
   8296               s = r ? e : {};
   8297             if (e) {
   8298               r || (s[e] = i);
   8299               for (o in s)
   8300                 (a = s[o]),
   8301                   n && (o = "_" + o),
   8302                   (b.methods[o] = b.methods[o] || []),
   8303                   b.methods[o].push(a);
   8304             }
   8305             return T;
   8306           },
   8307           off: function () {
   8308             var t,
   8309               e,
   8310               i = arguments;
   8311             for (t = 0, namesCount = i.length; t < namesCount; t += 1)
   8312               (e = i[t]) in b.methods && delete b.methods[e];
   8313             return T;
   8314           },
   8315           trigger: function (t, i) {
   8316             var n = function (t) {
   8317               var n = b.methods[t];
   8318               n &&
   8319                 n.map(function (t) {
   8320                   e._.trigger(t, T, [i]);
   8321                 });
   8322             };
   8323             return n("_" + t), n(t), T;
   8324           },
   8325         });
   8326       return new C();
   8327     }
   8328 
   8329     function i(t) {
   8330       var e;
   8331       return (
   8332         t.currentStyle
   8333           ? (e = t.currentStyle.position)
   8334           : window.getComputedStyle && (e = getComputedStyle(t).position),
   8335         "fixed" == e
   8336       );
   8337     }
   8338 
   8339     function n() {
   8340       if (c.height() <= s.height()) return 0;
   8341       var e = t('<div style="visibility:hidden;width:100px" />').appendTo(
   8342           "body"
   8343         ),
   8344         i = e[0].offsetWidth;
   8345       e.css("overflow", "scroll");
   8346       var n = t('<div style="width:100%" />').appendTo(e)[0].offsetWidth;
   8347       return e.remove(), i - n;
   8348     }
   8349 
   8350     function o(e, i, n) {
   8351       if (t.isPlainObject(i)) for (var o in i) a(e, o, i[o]);
   8352       else a(e, i, n);
   8353     }
   8354 
   8355     function a(t, e, i) {
   8356       t.setAttribute(("role" == e ? "" : "aria-") + e, i);
   8357     }
   8358 
   8359     function r() {
   8360       try {
   8361         return document.activeElement;
   8362       } catch (t) {}
   8363     }
   8364     var s = t(window),
   8365       l = t(document),
   8366       c = t(document.documentElement);
   8367     return (
   8368       (e.klasses = function (t) {
   8369         return (
   8370           (t = t || "picker"),
   8371           {
   8372             picker: t,
   8373             opened: t + "--opened",
   8374             focused: t + "--focused",
   8375             input: t + "__input",
   8376             active: t + "__input--active",
   8377             target: t + "__input--target",
   8378             holder: t + "__holder",
   8379             frame: t + "__frame",
   8380             wrap: t + "__wrap",
   8381             box: t + "__box",
   8382           }
   8383         );
   8384       }),
   8385       (e._ = {
   8386         group: function (t) {
   8387           for (
   8388             var i, n = "", o = e._.trigger(t.min, t);
   8389             o <= e._.trigger(t.max, t, [o]);
   8390             o += t.i
   8391           )
   8392             (i = e._.trigger(t.item, t, [o])),
   8393               (n += e._.node(t.node, i[0], i[1], i[2]));
   8394           return n;
   8395         },
   8396         node: function (e, i, n, o) {
   8397           return i
   8398             ? ((i = t.isArray(i) ? i.join("") : i),
   8399               (n = n ? ' class="' + n + '"' : ""),
   8400               (o = o ? " " + o : ""),
   8401               "<" + e + n + o + ">" + i + "</" + e + ">")
   8402             : "";
   8403         },
   8404         lead: function (t) {
   8405           return (t < 10 ? "0" : "") + t;
   8406         },
   8407         trigger: function (t, e, i) {
   8408           return "function" == typeof t ? t.apply(e, i || []) : t;
   8409         },
   8410         digits: function (t) {
   8411           return /\d/.test(t[1]) ? 2 : 1;
   8412         },
   8413         isDate: function (t) {
   8414           return (
   8415             {}.toString.call(t).indexOf("Date") > -1 &&
   8416             this.isInteger(t.getDate())
   8417           );
   8418         },
   8419         isInteger: function (t) {
   8420           return {}.toString.call(t).indexOf("Number") > -1 && t % 1 == 0;
   8421         },
   8422         ariaAttr: function (e, i) {
   8423           t.isPlainObject(e) ||
   8424             (e = {
   8425               attribute: i,
   8426             }),
   8427             (i = "");
   8428           for (var n in e) {
   8429             var o = ("role" == n ? "" : "aria-") + n;
   8430             i += null == e[n] ? "" : o + '="' + e[n] + '"';
   8431           }
   8432           return i;
   8433         },
   8434       }),
   8435       (e.extend = function (i, n) {
   8436         (t.fn[i] = function (o, a) {
   8437           var r = this.data(i);
   8438           return "picker" == o
   8439             ? r
   8440             : r && "string" == typeof o
   8441             ? e._.trigger(r[o], r, [a])
   8442             : this.each(function () {
   8443                 t(this).data(i) || new e(this, i, n, o);
   8444               });
   8445         }),
   8446           (t.fn[i].defaults = n.defaults);
   8447       }),
   8448       e
   8449     );
   8450   }),
   8451   (function (t) {
   8452     t(Materialize.Picker, jQuery);
   8453   })(function (t, e) {
   8454     function i(t, e) {
   8455       var i = this,
   8456         n = t.$node[0],
   8457         o = n.value,
   8458         a = t.$node.data("value"),
   8459         r = a || o,
   8460         s = a ? e.formatSubmit : e.format,
   8461         l = function () {
   8462           return n.currentStyle
   8463             ? "rtl" == n.currentStyle.direction
   8464             : "rtl" == getComputedStyle(t.$root[0]).direction;
   8465         };
   8466       (i.settings = e),
   8467         (i.$node = t.$node),
   8468         (i.queue = {
   8469           min: "measure create",
   8470           max: "measure create",
   8471           now: "now create",
   8472           select: "parse create validate",
   8473           highlight: "parse navigate create validate",
   8474           view: "parse create validate viewset",
   8475           disable: "deactivate",
   8476           enable: "activate",
   8477         }),
   8478         (i.item = {}),
   8479         (i.item.clear = null),
   8480         (i.item.disable = (e.disable || []).slice(0)),
   8481         (i.item.enable = -(function (t) {
   8482           return !0 === t[0] ? t.shift() : -1;
   8483         })(i.item.disable)),
   8484         i.set("min", e.min).set("max", e.max).set("now"),
   8485         r
   8486           ? i.set("select", r, {
   8487               format: s,
   8488             })
   8489           : i.set("select", null).set("highlight", i.item.now),
   8490         (i.key = {
   8491           40: 7,
   8492           38: -7,
   8493           39: function () {
   8494             return l() ? -1 : 1;
   8495           },
   8496           37: function () {
   8497             return l() ? 1 : -1;
   8498           },
   8499           go: function (t) {
   8500             var e = i.item.highlight,
   8501               n = new Date(e.year, e.month, e.date + t);
   8502             i.set("highlight", n, {
   8503               interval: t,
   8504             }),
   8505               this.render();
   8506           },
   8507         }),
   8508         t
   8509           .on(
   8510             "render",
   8511             function () {
   8512               t.$root.find("." + e.klass.selectMonth).on("change", function () {
   8513                 var i = this.value;
   8514                 i &&
   8515                   (t.set("highlight", [
   8516                     t.get("view").year,
   8517                     i,
   8518                     t.get("highlight").date,
   8519                   ]),
   8520                   t.$root.find("." + e.klass.selectMonth).trigger("focus"));
   8521               }),
   8522                 t.$root
   8523                   .find("." + e.klass.selectYear)
   8524                   .on("change", function () {
   8525                     var i = this.value;
   8526                     i &&
   8527                       (t.set("highlight", [
   8528                         i,
   8529                         t.get("view").month,
   8530                         t.get("highlight").date,
   8531                       ]),
   8532                       t.$root.find("." + e.klass.selectYear).trigger("focus"));
   8533                   });
   8534             },
   8535             1
   8536           )
   8537           .on(
   8538             "open",
   8539             function () {
   8540               var n = "";
   8541               i.disabled(i.get("now")) &&
   8542                 (n = ":not(." + e.klass.buttonToday + ")"),
   8543                 t.$root.find("button" + n + ", select").attr("disabled", !1);
   8544             },
   8545             1
   8546           )
   8547           .on(
   8548             "close",
   8549             function () {
   8550               t.$root.find("button, select").attr("disabled", !0);
   8551             },
   8552             1
   8553           );
   8554     }
   8555     var n = t._;
   8556     (i.prototype.set = function (t, e, i) {
   8557       var n = this,
   8558         o = n.item;
   8559       return null === e
   8560         ? ("clear" == t && (t = "select"), (o[t] = e), n)
   8561         : ((o["enable" == t ? "disable" : "flip" == t ? "enable" : t] = n.queue[
   8562             t
   8563           ]
   8564             .split(" ")
   8565             .map(function (o) {
   8566               return (e = n[o](t, e, i));
   8567             })
   8568             .pop()),
   8569           "select" == t
   8570             ? n.set("highlight", o.select, i)
   8571             : "highlight" == t
   8572             ? n.set("view", o.highlight, i)
   8573             : t.match(/^(flip|min|max|disable|enable)$/) &&
   8574               (o.select && n.disabled(o.select) && n.set("select", o.select, i),
   8575               o.highlight &&
   8576                 n.disabled(o.highlight) &&
   8577                 n.set("highlight", o.highlight, i)),
   8578           n);
   8579     }),
   8580       (i.prototype.get = function (t) {
   8581         return this.item[t];
   8582       }),
   8583       (i.prototype.create = function (t, i, o) {
   8584         var a,
   8585           r = this;
   8586         return (
   8587           (i = void 0 === i ? t : i),
   8588           i == -1 / 0 || i == 1 / 0
   8589             ? (a = i)
   8590             : e.isPlainObject(i) && n.isInteger(i.pick)
   8591             ? (i = i.obj)
   8592             : e.isArray(i)
   8593             ? ((i = new Date(i[0], i[1], i[2])),
   8594               (i = n.isDate(i) ? i : r.create().obj))
   8595             : (i =
   8596                 n.isInteger(i) || n.isDate(i)
   8597                   ? r.normalize(new Date(i), o)
   8598                   : r.now(t, i, o)),
   8599           {
   8600             year: a || i.getFullYear(),
   8601             month: a || i.getMonth(),
   8602             date: a || i.getDate(),
   8603             day: a || i.getDay(),
   8604             obj: a || i,
   8605             pick: a || i.getTime(),
   8606           }
   8607         );
   8608       }),
   8609       (i.prototype.createRange = function (t, i) {
   8610         var o = this,
   8611           a = function (t) {
   8612             return !0 === t || e.isArray(t) || n.isDate(t) ? o.create(t) : t;
   8613           };
   8614         return (
   8615           n.isInteger(t) || (t = a(t)),
   8616           n.isInteger(i) || (i = a(i)),
   8617           n.isInteger(t) && e.isPlainObject(i)
   8618             ? (t = [i.year, i.month, i.date + t])
   8619             : n.isInteger(i) &&
   8620               e.isPlainObject(t) &&
   8621               (i = [t.year, t.month, t.date + i]),
   8622           {
   8623             from: a(t),
   8624             to: a(i),
   8625           }
   8626         );
   8627       }),
   8628       (i.prototype.withinRange = function (t, e) {
   8629         return (
   8630           (t = this.createRange(t.from, t.to)),
   8631           e.pick >= t.from.pick && e.pick <= t.to.pick
   8632         );
   8633       }),
   8634       (i.prototype.overlapRanges = function (t, e) {
   8635         var i = this;
   8636         return (
   8637           (t = i.createRange(t.from, t.to)),
   8638           (e = i.createRange(e.from, e.to)),
   8639           i.withinRange(t, e.from) ||
   8640             i.withinRange(t, e.to) ||
   8641             i.withinRange(e, t.from) ||
   8642             i.withinRange(e, t.to)
   8643         );
   8644       }),
   8645       (i.prototype.now = function (t, e, i) {
   8646         return (
   8647           (e = new Date()),
   8648           i && i.rel && e.setDate(e.getDate() + i.rel),
   8649           this.normalize(e, i)
   8650         );
   8651       }),
   8652       (i.prototype.navigate = function (t, i, n) {
   8653         var o,
   8654           a,
   8655           r,
   8656           s,
   8657           l = e.isArray(i),
   8658           c = e.isPlainObject(i),
   8659           u = this.item.view;
   8660         if (l || c) {
   8661           for (
   8662             c
   8663               ? ((a = i.year), (r = i.month), (s = i.date))
   8664               : ((a = +i[0]), (r = +i[1]), (s = +i[2])),
   8665               n && n.nav && u && u.month !== r && ((a = u.year), (r = u.month)),
   8666               a = (o = new Date(
   8667                 a,
   8668                 r + (n && n.nav ? n.nav : 0),
   8669                 1
   8670               )).getFullYear(),
   8671               r = o.getMonth();
   8672             new Date(a, r, s).getMonth() !== r;
   8673 
   8674           )
   8675             s -= 1;
   8676           i = [a, r, s];
   8677         }
   8678         return i;
   8679       }),
   8680       (i.prototype.normalize = function (t) {
   8681         return t.setHours(0, 0, 0, 0), t;
   8682       }),
   8683       (i.prototype.measure = function (t, e) {
   8684         var i = this;
   8685         return (
   8686           e
   8687             ? "string" == typeof e
   8688               ? (e = i.parse(t, e))
   8689               : n.isInteger(e) &&
   8690                 (e = i.now(t, e, {
   8691                   rel: e,
   8692                 }))
   8693             : (e = "min" == t ? -1 / 0 : 1 / 0),
   8694           e
   8695         );
   8696       }),
   8697       (i.prototype.viewset = function (t, e) {
   8698         return this.create([e.year, e.month, 1]);
   8699       }),
   8700       (i.prototype.validate = function (t, i, o) {
   8701         var a,
   8702           r,
   8703           s,
   8704           l,
   8705           c = this,
   8706           u = i,
   8707           d = o && o.interval ? o.interval : 1,
   8708           p = -1 === c.item.enable,
   8709           h = c.item.min,
   8710           f = c.item.max,
   8711           v =
   8712             p &&
   8713             c.item.disable.filter(function (t) {
   8714               if (e.isArray(t)) {
   8715                 var o = c.create(t).pick;
   8716                 o < i.pick ? (a = !0) : o > i.pick && (r = !0);
   8717               }
   8718               return n.isInteger(t);
   8719             }).length;
   8720         if (
   8721           (!o || !o.nav) &&
   8722           ((!p && c.disabled(i)) ||
   8723             (p && c.disabled(i) && (v || a || r)) ||
   8724             (!p && (i.pick <= h.pick || i.pick >= f.pick)))
   8725         )
   8726           for (
   8727             p && !v && ((!r && d > 0) || (!a && d < 0)) && (d *= -1);
   8728             c.disabled(i) &&
   8729             (Math.abs(d) > 1 &&
   8730               (i.month < u.month || i.month > u.month) &&
   8731               ((i = u), (d = d > 0 ? 1 : -1)),
   8732             i.pick <= h.pick
   8733               ? ((s = !0),
   8734                 (d = 1),
   8735                 (i = c.create([
   8736                   h.year,
   8737                   h.month,
   8738                   h.date + (i.pick === h.pick ? 0 : -1),
   8739                 ])))
   8740               : i.pick >= f.pick &&
   8741                 ((l = !0),
   8742                 (d = -1),
   8743                 (i = c.create([
   8744                   f.year,
   8745                   f.month,
   8746                   f.date + (i.pick === f.pick ? 0 : 1),
   8747                 ]))),
   8748             !s || !l);
   8749 
   8750           )
   8751             i = c.create([i.year, i.month, i.date + d]);
   8752         return i;
   8753       }),
   8754       (i.prototype.disabled = function (t) {
   8755         var i = this,
   8756           o = i.item.disable.filter(function (o) {
   8757             return n.isInteger(o)
   8758               ? t.day === (i.settings.firstDay ? o : o - 1) % 7
   8759               : e.isArray(o) || n.isDate(o)
   8760               ? t.pick === i.create(o).pick
   8761               : e.isPlainObject(o)
   8762               ? i.withinRange(o, t)
   8763               : void 0;
   8764           });
   8765         return (
   8766           (o =
   8767             o.length &&
   8768             !o.filter(function (t) {
   8769               return (
   8770                 (e.isArray(t) && "inverted" == t[3]) ||
   8771                 (e.isPlainObject(t) && t.inverted)
   8772               );
   8773             }).length),
   8774           -1 === i.item.enable
   8775             ? !o
   8776             : o || t.pick < i.item.min.pick || t.pick > i.item.max.pick
   8777         );
   8778       }),
   8779       (i.prototype.parse = function (t, e, i) {
   8780         var o = this,
   8781           a = {};
   8782         return e && "string" == typeof e
   8783           ? ((i && i.format) || ((i = i || {}).format = o.settings.format),
   8784             o.formats.toArray(i.format).map(function (t) {
   8785               var i = o.formats[t],
   8786                 r = i ? n.trigger(i, o, [e, a]) : t.replace(/^!/, "").length;
   8787               i && (a[t] = e.substr(0, r)), (e = e.substr(r));
   8788             }),
   8789             [a.yyyy || a.yy, +(a.mm || a.m) - 1, a.dd || a.d])
   8790           : e;
   8791       }),
   8792       (i.prototype.formats = (function () {
   8793         function t(t, e, i) {
   8794           var n = t.match(/\w+/)[0];
   8795           return i.mm || i.m || (i.m = e.indexOf(n) + 1), n.length;
   8796         }
   8797 
   8798         function e(t) {
   8799           return t.match(/\w+/)[0].length;
   8800         }
   8801         return {
   8802           d: function (t, e) {
   8803             return t ? n.digits(t) : e.date;
   8804           },
   8805           dd: function (t, e) {
   8806             return t ? 2 : n.lead(e.date);
   8807           },
   8808           ddd: function (t, i) {
   8809             return t ? e(t) : this.settings.weekdaysShort[i.day];
   8810           },
   8811           dddd: function (t, i) {
   8812             return t ? e(t) : this.settings.weekdaysFull[i.day];
   8813           },
   8814           m: function (t, e) {
   8815             return t ? n.digits(t) : e.month + 1;
   8816           },
   8817           mm: function (t, e) {
   8818             return t ? 2 : n.lead(e.month + 1);
   8819           },
   8820           mmm: function (e, i) {
   8821             var n = this.settings.monthsShort;
   8822             return e ? t(e, n, i) : n[i.month];
   8823           },
   8824           mmmm: function (e, i) {
   8825             var n = this.settings.monthsFull;
   8826             return e ? t(e, n, i) : n[i.month];
   8827           },
   8828           yy: function (t, e) {
   8829             return t ? 2 : ("" + e.year).slice(2);
   8830           },
   8831           yyyy: function (t, e) {
   8832             return t ? 4 : e.year;
   8833           },
   8834           toArray: function (t) {
   8835             return t.split(/(d{1,4}|m{1,4}|y{4}|yy|!.)/g);
   8836           },
   8837           toString: function (t, e) {
   8838             var i = this;
   8839             return i.formats
   8840               .toArray(t)
   8841               .map(function (t) {
   8842                 return (
   8843                   n.trigger(i.formats[t], i, [0, e]) || t.replace(/^!/, "")
   8844                 );
   8845               })
   8846               .join("");
   8847           },
   8848         };
   8849       })()),
   8850       (i.prototype.isDateExact = function (t, i) {
   8851         var o = this;
   8852         return (n.isInteger(t) && n.isInteger(i)) ||
   8853           ("boolean" == typeof t && "boolean" == typeof i)
   8854           ? t === i
   8855           : (n.isDate(t) || e.isArray(t)) && (n.isDate(i) || e.isArray(i))
   8856           ? o.create(t).pick === o.create(i).pick
   8857           : !(!e.isPlainObject(t) || !e.isPlainObject(i)) &&
   8858             o.isDateExact(t.from, i.from) &&
   8859             o.isDateExact(t.to, i.to);
   8860       }),
   8861       (i.prototype.isDateOverlap = function (t, i) {
   8862         var o = this,
   8863           a = o.settings.firstDay ? 1 : 0;
   8864         return n.isInteger(t) && (n.isDate(i) || e.isArray(i))
   8865           ? (t = (t % 7) + a) === o.create(i).day + 1
   8866           : n.isInteger(i) && (n.isDate(t) || e.isArray(t))
   8867           ? (i = (i % 7) + a) === o.create(t).day + 1
   8868           : !(!e.isPlainObject(t) || !e.isPlainObject(i)) &&
   8869             o.overlapRanges(t, i);
   8870       }),
   8871       (i.prototype.flipEnable = function (t) {
   8872         var e = this.item;
   8873         e.enable = t || (-1 == e.enable ? 1 : -1);
   8874       }),
   8875       (i.prototype.deactivate = function (t, i) {
   8876         var o = this,
   8877           a = o.item.disable.slice(0);
   8878         return (
   8879           "flip" == i
   8880             ? o.flipEnable()
   8881             : !1 === i
   8882             ? (o.flipEnable(1), (a = []))
   8883             : !0 === i
   8884             ? (o.flipEnable(-1), (a = []))
   8885             : i.map(function (t) {
   8886                 for (var i, r = 0; r < a.length; r += 1)
   8887                   if (o.isDateExact(t, a[r])) {
   8888                     i = !0;
   8889                     break;
   8890                   }
   8891                 i ||
   8892                   ((n.isInteger(t) ||
   8893                     n.isDate(t) ||
   8894                     e.isArray(t) ||
   8895                     (e.isPlainObject(t) && t.from && t.to)) &&
   8896                     a.push(t));
   8897               }),
   8898           a
   8899         );
   8900       }),
   8901       (i.prototype.activate = function (t, i) {
   8902         var o = this,
   8903           a = o.item.disable,
   8904           r = a.length;
   8905         return (
   8906           "flip" == i
   8907             ? o.flipEnable()
   8908             : !0 === i
   8909             ? (o.flipEnable(1), (a = []))
   8910             : !1 === i
   8911             ? (o.flipEnable(-1), (a = []))
   8912             : i.map(function (t) {
   8913                 var i, s, l, c;
   8914                 for (l = 0; l < r; l += 1) {
   8915                   if (((s = a[l]), o.isDateExact(s, t))) {
   8916                     (i = a[l] = null), (c = !0);
   8917                     break;
   8918                   }
   8919                   if (o.isDateOverlap(s, t)) {
   8920                     e.isPlainObject(t)
   8921                       ? ((t.inverted = !0), (i = t))
   8922                       : e.isArray(t)
   8923                       ? (i = t)[3] || i.push("inverted")
   8924                       : n.isDate(t) &&
   8925                         (i = [
   8926                           t.getFullYear(),
   8927                           t.getMonth(),
   8928                           t.getDate(),
   8929                           "inverted",
   8930                         ]);
   8931                     break;
   8932                   }
   8933                 }
   8934                 if (i)
   8935                   for (l = 0; l < r; l += 1)
   8936                     if (o.isDateExact(a[l], t)) {
   8937                       a[l] = null;
   8938                       break;
   8939                     }
   8940                 if (c)
   8941                   for (l = 0; l < r; l += 1)
   8942                     if (o.isDateOverlap(a[l], t)) {
   8943                       a[l] = null;
   8944                       break;
   8945                     }
   8946                 i && a.push(i);
   8947               }),
   8948           a.filter(function (t) {
   8949             return null != t;
   8950           })
   8951         );
   8952       }),
   8953       (i.prototype.nodes = function (t) {
   8954         var e = this,
   8955           i = e.settings,
   8956           o = e.item,
   8957           a = o.now,
   8958           r = o.select,
   8959           s = o.highlight,
   8960           l = o.view,
   8961           c = o.disable,
   8962           u = o.min,
   8963           d = o.max,
   8964           p = (function (t, e) {
   8965             return (
   8966               i.firstDay && (t.push(t.shift()), e.push(e.shift())),
   8967               n.node(
   8968                 "thead",
   8969                 n.node(
   8970                   "tr",
   8971                   n.group({
   8972                     min: 0,
   8973                     max: 6,
   8974                     i: 1,
   8975                     node: "th",
   8976                     item: function (n) {
   8977                       return [
   8978                         t[n],
   8979                         i.klass.weekdays,
   8980                         'scope=col title="' + e[n] + '"',
   8981                       ];
   8982                     },
   8983                   })
   8984                 )
   8985               )
   8986             );
   8987           })(
   8988             (i.showWeekdaysFull ? i.weekdaysFull : i.weekdaysLetter).slice(0),
   8989             i.weekdaysFull.slice(0)
   8990           ),
   8991           h = function (t) {
   8992             return n.node(
   8993               "div",
   8994               " ",
   8995               i.klass["nav" + (t ? "Next" : "Prev")] +
   8996                 ((t && l.year >= d.year && l.month >= d.month) ||
   8997                 (!t && l.year <= u.year && l.month <= u.month)
   8998                   ? " " + i.klass.navDisabled
   8999                   : ""),
   9000               "data-nav=" +
   9001                 (t || -1) +
   9002                 " " +
   9003                 n.ariaAttr({
   9004                   role: "button",
   9005                   controls: e.$node[0].id + "_table",
   9006                 }) +
   9007                 ' title="' +
   9008                 (t ? i.labelMonthNext : i.labelMonthPrev) +
   9009                 '"'
   9010             );
   9011           },
   9012           f = function (o) {
   9013             var a = i.showMonthsShort ? i.monthsShort : i.monthsFull;
   9014             return (
   9015               "short_months" == o && (a = i.monthsShort),
   9016               i.selectMonths && void 0 == o
   9017                 ? n.node(
   9018                     "select",
   9019                     n.group({
   9020                       min: 0,
   9021                       max: 11,
   9022                       i: 1,
   9023                       node: "option",
   9024                       item: function (t) {
   9025                         return [
   9026                           a[t],
   9027                           0,
   9028                           "value=" +
   9029                             t +
   9030                             (l.month == t ? " selected" : "") +
   9031                             ((l.year == u.year && t < u.month) ||
   9032                             (l.year == d.year && t > d.month)
   9033                               ? " disabled"
   9034                               : ""),
   9035                         ];
   9036                       },
   9037                     }),
   9038                     i.klass.selectMonth + " browser-default",
   9039                     (t ? "" : "disabled") +
   9040                       " " +
   9041                       n.ariaAttr({
   9042                         controls: e.$node[0].id + "_table",
   9043                       }) +
   9044                       ' title="' +
   9045                       i.labelMonthSelect +
   9046                       '"'
   9047                   )
   9048                 : "short_months" == o
   9049                 ? null != r
   9050                   ? a[r.month]
   9051                   : a[l.month]
   9052                 : n.node("div", a[l.month], i.klass.month)
   9053             );
   9054           },
   9055           v = function (o) {
   9056             var a = l.year,
   9057               s = !0 === i.selectYears ? 5 : ~~(i.selectYears / 2);
   9058             if (s) {
   9059               var c = u.year,
   9060                 p = d.year,
   9061                 h = a - s,
   9062                 f = a + s;
   9063               if ((c > h && ((f += c - h), (h = c)), p < f)) {
   9064                 var v = h - c,
   9065                   m = f - p;
   9066                 (h -= v > m ? m : v), (f = p);
   9067               }
   9068               if (i.selectYears && void 0 == o)
   9069                 return n.node(
   9070                   "select",
   9071                   n.group({
   9072                     min: h,
   9073                     max: f,
   9074                     i: 1,
   9075                     node: "option",
   9076                     item: function (t) {
   9077                       return [t, 0, "value=" + t + (a == t ? " selected" : "")];
   9078                     },
   9079                   }),
   9080                   i.klass.selectYear + " browser-default",
   9081                   (t ? "" : "disabled") +
   9082                     " " +
   9083                     n.ariaAttr({
   9084                       controls: e.$node[0].id + "_table",
   9085                     }) +
   9086                     ' title="' +
   9087                     i.labelYearSelect +
   9088                     '"'
   9089                 );
   9090             }
   9091             return "raw" === o && null != r
   9092               ? n.node("div", r.year)
   9093               : n.node("div", a, i.klass.year);
   9094           };
   9095         return (
   9096           (createDayLabel = function () {
   9097             return null != r ? r.date : a.date;
   9098           }),
   9099           (createWeekdayLabel = function () {
   9100             var t;
   9101             return (t = null != r ? r.day : a.day), i.weekdaysShort[t];
   9102           }),
   9103           n.node(
   9104             "div",
   9105             n.node("div", v("raw"), i.klass.year_display) +
   9106               n.node(
   9107                 "span",
   9108                 createWeekdayLabel() + ", ",
   9109                 "picker__weekday-display"
   9110               ) +
   9111               n.node("span", f("short_months") + " ", i.klass.month_display) +
   9112               n.node("span", createDayLabel(), i.klass.day_display),
   9113             i.klass.date_display
   9114           ) +
   9115             n.node(
   9116               "div",
   9117               n.node(
   9118                 "div",
   9119                 n.node(
   9120                   "div",
   9121                   (i.selectYears, f() + v() + h() + h(1)),
   9122                   i.klass.header
   9123                 ) +
   9124                   n.node(
   9125                     "table",
   9126                     p +
   9127                       n.node(
   9128                         "tbody",
   9129                         n.group({
   9130                           min: 0,
   9131                           max: 5,
   9132                           i: 1,
   9133                           node: "tr",
   9134                           item: function (t) {
   9135                             var o =
   9136                               i.firstDay &&
   9137                               0 === e.create([l.year, l.month, 1]).day
   9138                                 ? -7
   9139                                 : 0;
   9140                             return [
   9141                               n.group({
   9142                                 min: 7 * t - l.day + o + 1,
   9143                                 max: function () {
   9144                                   return this.min + 7 - 1;
   9145                                 },
   9146                                 i: 1,
   9147                                 node: "td",
   9148                                 item: function (t) {
   9149                                   t = e.create([
   9150                                     l.year,
   9151                                     l.month,
   9152                                     t + (i.firstDay ? 1 : 0),
   9153                                   ]);
   9154                                   var o = r && r.pick == t.pick,
   9155                                     p = s && s.pick == t.pick,
   9156                                     h =
   9157                                       (c && e.disabled(t)) ||
   9158                                       t.pick < u.pick ||
   9159                                       t.pick > d.pick,
   9160                                     f = n.trigger(e.formats.toString, e, [
   9161                                       i.format,
   9162                                       t,
   9163                                     ]);
   9164                                   return [
   9165                                     n.node(
   9166                                       "div",
   9167                                       t.date,
   9168                                       (function (e) {
   9169                                         return (
   9170                                           e.push(
   9171                                             l.month == t.month
   9172                                               ? i.klass.infocus
   9173                                               : i.klass.outfocus
   9174                                           ),
   9175                                           a.pick == t.pick &&
   9176                                             e.push(i.klass.now),
   9177                                           o && e.push(i.klass.selected),
   9178                                           p && e.push(i.klass.highlighted),
   9179                                           h && e.push(i.klass.disabled),
   9180                                           e.join(" ")
   9181                                         );
   9182                                       })([i.klass.day]),
   9183                                       "data-pick=" +
   9184                                         t.pick +
   9185                                         " " +
   9186                                         n.ariaAttr({
   9187                                           role: "gridcell",
   9188                                           label: f,
   9189                                           selected:
   9190                                             !(!o || e.$node.val() !== f) ||
   9191                                             null,
   9192                                           activedescendant: !!p || null,
   9193                                           disabled: !!h || null,
   9194                                         }) +
   9195                                         " " +
   9196                                         (h ? "" : 'tabindex="0"')
   9197                                     ),
   9198                                     "",
   9199                                     n.ariaAttr({
   9200                                       role: "presentation",
   9201                                     }),
   9202                                   ];
   9203                                 },
   9204                               }),
   9205                             ];
   9206                           },
   9207                         })
   9208                       ),
   9209                     i.klass.table,
   9210                     'id="' +
   9211                       e.$node[0].id +
   9212                       '_table" ' +
   9213                       n.ariaAttr({
   9214                         role: "grid",
   9215                         controls: e.$node[0].id,
   9216                         readonly: !0,
   9217                       })
   9218                   ),
   9219                 i.klass.calendar_container
   9220               ) +
   9221                 n.node(
   9222                   "div",
   9223                   n.node(
   9224                     "button",
   9225                     i.today,
   9226                     "btn-flat picker__today waves-effect",
   9227                     "type=button data-pick=" +
   9228                       a.pick +
   9229                       (t && !e.disabled(a) ? "" : " disabled") +
   9230                       " " +
   9231                       n.ariaAttr({
   9232                         controls: e.$node[0].id,
   9233                       })
   9234                   ) +
   9235                     n.node(
   9236                       "button",
   9237                       i.clear,
   9238                       "btn-flat picker__clear waves-effect",
   9239                       "type=button data-clear=1" +
   9240                         (t ? "" : " disabled") +
   9241                         " " +
   9242                         n.ariaAttr({
   9243                           controls: e.$node[0].id,
   9244                         })
   9245                     ) +
   9246                     n.node(
   9247                       "button",
   9248                       i.close,
   9249                       "btn-flat picker__close waves-effect",
   9250                       "type=button data-close=true " +
   9251                         (t ? "" : " disabled") +
   9252                         " " +
   9253                         n.ariaAttr({
   9254                           controls: e.$node[0].id,
   9255                         })
   9256                     ),
   9257                   i.klass.footer
   9258                 ),
   9259               "picker__container__wrapper"
   9260             )
   9261         );
   9262       }),
   9263       (i.defaults = (function (t) {
   9264         return {
   9265           labelMonthNext: "Next month",
   9266           labelMonthPrev: "Previous month",
   9267           labelMonthSelect: "Select a month",
   9268           labelYearSelect: "Select a year",
   9269           monthsFull: [
   9270             "January",
   9271             "February",
   9272             "March",
   9273             "April",
   9274             "May",
   9275             "June",
   9276             "July",
   9277             "August",
   9278             "September",
   9279             "October",
   9280             "November",
   9281             "December",
   9282           ],
   9283           monthsShort: [
   9284             "Jan",
   9285             "Feb",
   9286             "Mar",
   9287             "Apr",
   9288             "May",
   9289             "Jun",
   9290             "Jul",
   9291             "Aug",
   9292             "Sep",
   9293             "Oct",
   9294             "Nov",
   9295             "Dec",
   9296           ],
   9297           weekdaysFull: [
   9298             "Sunday",
   9299             "Monday",
   9300             "Tuesday",
   9301             "Wednesday",
   9302             "Thursday",
   9303             "Friday",
   9304             "Saturday",
   9305           ],
   9306           weekdaysShort: ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"],
   9307           weekdaysLetter: ["S", "M", "T", "W", "T", "F", "S"],
   9308           today: "Today",
   9309           clear: "Clear",
   9310           close: "Ok",
   9311           closeOnSelect: !1,
   9312           format: "d mmmm, yyyy",
   9313           klass: {
   9314             table: t + "table",
   9315             header: t + "header",
   9316             date_display: t + "date-display",
   9317             day_display: t + "day-display",
   9318             month_display: t + "month-display",
   9319             year_display: t + "year-display",
   9320             calendar_container: t + "calendar-container",
   9321             navPrev: t + "nav--prev",
   9322             navNext: t + "nav--next",
   9323             navDisabled: t + "nav--disabled",
   9324             month: t + "month",
   9325             year: t + "year",
   9326             selectMonth: t + "select--month",
   9327             selectYear: t + "select--year",
   9328             weekdays: t + "weekday",
   9329             day: t + "day",
   9330             disabled: t + "day--disabled",
   9331             selected: t + "day--selected",
   9332             highlighted: t + "day--highlighted",
   9333             now: t + "day--today",
   9334             infocus: t + "day--infocus",
   9335             outfocus: t + "day--outfocus",
   9336             footer: t + "footer",
   9337             buttonClear: t + "button--clear",
   9338             buttonToday: t + "button--today",
   9339             buttonClose: t + "button--close",
   9340           },
   9341         };
   9342       })(t.klasses().picker + "__")),
   9343       t.extend("pickadate", i);
   9344   }),
   9345   (function (t) {
   9346     function e(t) {
   9347       return document.createElementNS(l, t);
   9348     }
   9349 
   9350     function i(t) {
   9351       return (t < 10 ? "0" : "") + t;
   9352     }
   9353 
   9354     function n(t) {
   9355       var e = ++m + "";
   9356       return t ? t + e : e;
   9357     }
   9358 
   9359     function o(o, r) {
   9360       function l(t, e) {
   9361         var i = d.offset(),
   9362           n = /^touch/.test(t.type),
   9363           o = i.left + g,
   9364           a = i.top + g,
   9365           l = (n ? t.originalEvent.touches[0] : t).pageX - o,
   9366           c = (n ? t.originalEvent.touches[0] : t).pageY - a,
   9367           u = Math.sqrt(l * l + c * c),
   9368           p = !1;
   9369         if (!e || !(u < y - w || u > y + w)) {
   9370           t.preventDefault();
   9371           var v = setTimeout(function () {
   9372             E.popover.addClass("clockpicker-moving");
   9373           }, 200);
   9374           E.setHand(l, c, !e, !0),
   9375             s.off(h).on(h, function (t) {
   9376               t.preventDefault();
   9377               var e = /^touch/.test(t.type),
   9378                 i = (e ? t.originalEvent.touches[0] : t).pageX - o,
   9379                 n = (e ? t.originalEvent.touches[0] : t).pageY - a;
   9380               (p || i !== l || n !== c) && ((p = !0), E.setHand(i, n, !1, !0));
   9381             }),
   9382             s.off(f).on(f, function (t) {
   9383               s.off(f), t.preventDefault();
   9384               var i = /^touch/.test(t.type),
   9385                 n = (i ? t.originalEvent.changedTouches[0] : t).pageX - o,
   9386                 u = (i ? t.originalEvent.changedTouches[0] : t).pageY - a;
   9387               (e || p) && n === l && u === c && E.setHand(n, u),
   9388                 "hours" === E.currentView
   9389                   ? E.toggleView("minutes", x / 2)
   9390                   : r.autoclose &&
   9391                     (E.minutesView.addClass("clockpicker-dial-out"),
   9392                     setTimeout(function () {
   9393                       E.done();
   9394                     }, x / 2)),
   9395                 d.prepend(z),
   9396                 clearTimeout(v),
   9397                 E.popover.removeClass("clockpicker-moving"),
   9398                 s.off(h);
   9399             });
   9400         }
   9401       }
   9402       var u = t(C),
   9403         d = u.find(".clockpicker-plate"),
   9404         v = u.find(".picker__holder"),
   9405         m = u.find(".clockpicker-hours"),
   9406         T = u.find(".clockpicker-minutes"),
   9407         S = u.find(".clockpicker-am-pm-block"),
   9408         P = "INPUT" === o.prop("tagName"),
   9409         A = P ? o : o.find("input"),
   9410         O = t("label[for=" + A.attr("id") + "]"),
   9411         E = this;
   9412       (this.id = n("cp")),
   9413         (this.element = o),
   9414         (this.holder = v),
   9415         (this.options = r),
   9416         (this.isAppended = !1),
   9417         (this.isShown = !1),
   9418         (this.currentView = "hours"),
   9419         (this.isInput = P),
   9420         (this.input = A),
   9421         (this.label = O),
   9422         (this.popover = u),
   9423         (this.plate = d),
   9424         (this.hoursView = m),
   9425         (this.minutesView = T),
   9426         (this.amPmBlock = S),
   9427         (this.spanHours = u.find(".clockpicker-span-hours")),
   9428         (this.spanMinutes = u.find(".clockpicker-span-minutes")),
   9429         (this.spanAmPm = u.find(".clockpicker-span-am-pm")),
   9430         (this.footer = u.find(".picker__footer")),
   9431         (this.amOrPm = "PM"),
   9432         r.twelvehour &&
   9433           (r.ampmclickable
   9434             ? (this.spanAmPm.empty(),
   9435               t('<div id="click-am">AM</div>')
   9436                 .on("click", function () {
   9437                   E.spanAmPm.children("#click-am").addClass("text-primary"),
   9438                     E.spanAmPm
   9439                       .children("#click-pm")
   9440                       .removeClass("text-primary"),
   9441                     (E.amOrPm = "AM");
   9442                 })
   9443                 .appendTo(this.spanAmPm),
   9444               t('<div id="click-pm">PM</div>')
   9445                 .on("click", function () {
   9446                   E.spanAmPm.children("#click-pm").addClass("text-primary"),
   9447                     E.spanAmPm
   9448                       .children("#click-am")
   9449                       .removeClass("text-primary"),
   9450                     (E.amOrPm = "PM");
   9451                 })
   9452                 .appendTo(this.spanAmPm))
   9453             : (this.spanAmPm.empty(),
   9454               t('<div id="click-am">AM</div>').appendTo(this.spanAmPm),
   9455               t('<div id="click-pm">PM</div>').appendTo(this.spanAmPm))),
   9456         t(
   9457           '<button type="button" class="btn-flat picker__clear" tabindex="' +
   9458             (r.twelvehour ? "3" : "1") +
   9459             '">' +
   9460             r.cleartext +
   9461             "</button>"
   9462         )
   9463           .click(t.proxy(this.clear, this))
   9464           .appendTo(this.footer),
   9465         t(
   9466           '<button type="button" class="btn-flat picker__close" tabindex="' +
   9467             (r.twelvehour ? "3" : "1") +
   9468             '">' +
   9469             r.canceltext +
   9470             "</button>"
   9471         )
   9472           .click(t.proxy(this.hide, this))
   9473           .appendTo(this.footer),
   9474         t(
   9475           '<button type="button" class="btn-flat picker__close" tabindex="' +
   9476             (r.twelvehour ? "3" : "1") +
   9477             '">' +
   9478             r.donetext +
   9479             "</button>"
   9480         )
   9481           .click(t.proxy(this.done, this))
   9482           .appendTo(this.footer),
   9483         this.spanHours.click(t.proxy(this.toggleView, this, "hours")),
   9484         this.spanMinutes.click(t.proxy(this.toggleView, this, "minutes")),
   9485         A.on("focus.clockpicker click.clockpicker", t.proxy(this.show, this));
   9486       var _,
   9487         M,
   9488         I,
   9489         D,
   9490         q = t('<div class="clockpicker-tick"></div>');
   9491       if (r.twelvehour)
   9492         for (_ = 1; _ < 13; _ += 1)
   9493           (M = q.clone()),
   9494             (I = (_ / 6) * Math.PI),
   9495             (D = y),
   9496             M.css({
   9497               left: g + Math.sin(I) * D - w,
   9498               top: g - Math.cos(I) * D - w,
   9499             }),
   9500             M.html(0 === _ ? "00" : _),
   9501             m.append(M),
   9502             M.on(p, l);
   9503       else
   9504         for (_ = 0; _ < 24; _ += 1)
   9505           (M = q.clone()),
   9506             (I = (_ / 6) * Math.PI),
   9507             (D = _ > 0 && _ < 13 ? b : y),
   9508             M.css({
   9509               left: g + Math.sin(I) * D - w,
   9510               top: g - Math.cos(I) * D - w,
   9511             }),
   9512             M.html(0 === _ ? "00" : _),
   9513             m.append(M),
   9514             M.on(p, l);
   9515       for (_ = 0; _ < 60; _ += 5)
   9516         (M = q.clone()),
   9517           (I = (_ / 30) * Math.PI),
   9518           M.css({
   9519             left: g + Math.sin(I) * y - w,
   9520             top: g - Math.cos(I) * y - w,
   9521           }),
   9522           M.html(i(_)),
   9523           T.append(M),
   9524           M.on(p, l);
   9525       if (
   9526         (d.on(p, function (e) {
   9527           0 === t(e.target).closest(".clockpicker-tick").length && l(e, !0);
   9528         }),
   9529         c)
   9530       ) {
   9531         var z = u.find(".clockpicker-canvas"),
   9532           V = e("svg");
   9533         V.setAttribute("class", "clockpicker-svg"),
   9534           V.setAttribute("width", k),
   9535           V.setAttribute("height", k);
   9536         var H = e("g");
   9537         H.setAttribute("transform", "translate(" + g + "," + g + ")");
   9538         var L = e("circle");
   9539         L.setAttribute("class", "clockpicker-canvas-bearing"),
   9540           L.setAttribute("cx", 0),
   9541           L.setAttribute("cy", 0),
   9542           L.setAttribute("r", 4);
   9543         var j = e("line");
   9544         j.setAttribute("x1", 0), j.setAttribute("y1", 0);
   9545         var $ = e("circle");
   9546         $.setAttribute("class", "clockpicker-canvas-bg"),
   9547           $.setAttribute("r", w),
   9548           H.appendChild(j),
   9549           H.appendChild($),
   9550           H.appendChild(L),
   9551           V.appendChild(H),
   9552           z.append(V),
   9553           (this.hand = j),
   9554           (this.bg = $),
   9555           (this.bearing = L),
   9556           (this.g = H),
   9557           (this.canvas = z);
   9558       }
   9559       a(this.options.init);
   9560     }
   9561 
   9562     function a(t) {
   9563       t && "function" == typeof t && t();
   9564     }
   9565     var r = t(window),
   9566       s = t(document),
   9567       l = "http://www.w3.org/2000/svg",
   9568       c =
   9569         "SVGAngle" in window &&
   9570         (function () {
   9571           var t,
   9572             e = document.createElement("div");
   9573           return (
   9574             (e.innerHTML = "<svg/>"),
   9575             (t = (e.firstChild && e.firstChild.namespaceURI) == l),
   9576             (e.innerHTML = ""),
   9577             t
   9578           );
   9579         })(),
   9580       u = (function () {
   9581         var t = document.createElement("div").style;
   9582         return (
   9583           "transition" in t ||
   9584           "WebkitTransition" in t ||
   9585           "MozTransition" in t ||
   9586           "msTransition" in t ||
   9587           "OTransition" in t
   9588         );
   9589       })(),
   9590       d = "ontouchstart" in window,
   9591       p = "mousedown" + (d ? " touchstart" : ""),
   9592       h = "mousemove.clockpicker" + (d ? " touchmove.clockpicker" : ""),
   9593       f = "mouseup.clockpicker" + (d ? " touchend.clockpicker" : ""),
   9594       v = navigator.vibrate
   9595         ? "vibrate"
   9596         : navigator.webkitVibrate
   9597         ? "webkitVibrate"
   9598         : null,
   9599       m = 0,
   9600       g = 135,
   9601       y = 105,
   9602       b = 70,
   9603       w = 20,
   9604       k = 2 * g,
   9605       x = u ? 350 : 1,
   9606       C = [
   9607         '<div class="clockpicker picker">',
   9608         '<div class="picker__holder">',
   9609         '<div class="picker__frame">',
   9610         '<div class="picker__wrap">',
   9611         '<div class="picker__box">',
   9612         '<div class="picker__date-display">',
   9613         '<div class="clockpicker-display">',
   9614         '<div class="clockpicker-display-column">',
   9615         '<span class="clockpicker-span-hours text-primary"></span>',
   9616         ":",
   9617         '<span class="clockpicker-span-minutes"></span>',
   9618         "</div>",
   9619         '<div class="clockpicker-display-column clockpicker-display-am-pm">',
   9620         '<div class="clockpicker-span-am-pm"></div>',
   9621         "</div>",
   9622         "</div>",
   9623         "</div>",
   9624         '<div class="picker__container__wrapper">',
   9625         '<div class="picker__calendar-container">',
   9626         '<div class="clockpicker-plate">',
   9627         '<div class="clockpicker-canvas"></div>',
   9628         '<div class="clockpicker-dial clockpicker-hours"></div>',
   9629         '<div class="clockpicker-dial clockpicker-minutes clockpicker-dial-out"></div>',
   9630         "</div>",
   9631         '<div class="clockpicker-am-pm-block">',
   9632         "</div>",
   9633         "</div>",
   9634         '<div class="picker__footer">',
   9635         "</div>",
   9636         "</div>",
   9637         "</div>",
   9638         "</div>",
   9639         "</div>",
   9640         "</div>",
   9641         "</div>",
   9642       ].join("");
   9643     (o.DEFAULTS = {
   9644       default: "",
   9645       fromnow: 0,
   9646       donetext: "Ok",
   9647       cleartext: "Clear",
   9648       canceltext: "Cancel",
   9649       autoclose: !1,
   9650       ampmclickable: !0,
   9651       darktheme: !1,
   9652       twelvehour: !0,
   9653       vibrate: !0,
   9654     }),
   9655       (o.prototype.toggle = function () {
   9656         this[this.isShown ? "hide" : "show"]();
   9657       }),
   9658       (o.prototype.locate = function () {
   9659         var t = this.element,
   9660           e = this.popover;
   9661         t.offset(), t.outerWidth(), t.outerHeight(), this.options.align;
   9662         e.show();
   9663       }),
   9664       (o.prototype.show = function (e) {
   9665         if (!this.isShown) {
   9666           a(this.options.beforeShow),
   9667             t(":input").each(function () {
   9668               t(this).attr("tabindex", -1);
   9669             });
   9670           var n = this;
   9671           this.input.blur(),
   9672             this.popover.addClass("picker--opened"),
   9673             this.input.addClass("picker__input picker__input--active"),
   9674             t(document.body).css("overflow", "hidden");
   9675           var o = (
   9676             (this.input.prop("value") || this.options.default || "") + ""
   9677           ).split(":");
   9678           if (
   9679             (this.options.twelvehour &&
   9680               void 0 !== o[1] &&
   9681               (o[1].indexOf("AM") > 0
   9682                 ? (this.amOrPm = "AM")
   9683                 : (this.amOrPm = "PM"),
   9684               (o[1] = o[1].replace("AM", "").replace("PM", ""))),
   9685             "now" === o[0])
   9686           ) {
   9687             var l = new Date(+new Date() + this.options.fromnow);
   9688             (o = [l.getHours(), l.getMinutes()]),
   9689               this.options.twelvehour &&
   9690                 (this.amOrPm = o[0] >= 12 && o[0] < 24 ? "PM" : "AM");
   9691           }
   9692           if (
   9693             ((this.hours = +o[0] || 0),
   9694             (this.minutes = +o[1] || 0),
   9695             this.spanHours.html(this.hours),
   9696             this.spanMinutes.html(i(this.minutes)),
   9697             !this.isAppended)
   9698           ) {
   9699             var c = document.querySelector(this.options.container);
   9700             this.options.container && c
   9701               ? c.appendChild(this.popover[0])
   9702               : this.popover.insertAfter(this.input),
   9703               this.options.twelvehour &&
   9704                 ("PM" === this.amOrPm
   9705                   ? (this.spanAmPm
   9706                       .children("#click-pm")
   9707                       .addClass("text-primary"),
   9708                     this.spanAmPm
   9709                       .children("#click-am")
   9710                       .removeClass("text-primary"))
   9711                   : (this.spanAmPm
   9712                       .children("#click-am")
   9713                       .addClass("text-primary"),
   9714                     this.spanAmPm
   9715                       .children("#click-pm")
   9716                       .removeClass("text-primary"))),
   9717               r.on("resize.clockpicker" + this.id, function () {
   9718                 n.isShown && n.locate();
   9719               }),
   9720               (this.isAppended = !0);
   9721           }
   9722           this.toggleView("hours"),
   9723             this.locate(),
   9724             (this.isShown = !0),
   9725             s.on(
   9726               "click.clockpicker." +
   9727                 this.id +
   9728                 " focusin.clockpicker." +
   9729                 this.id,
   9730               function (e) {
   9731                 var i = t(e.target);
   9732                 0 === i.closest(n.popover.find(".picker__wrap")).length &&
   9733                   0 === i.closest(n.input).length &&
   9734                   n.hide();
   9735               }
   9736             ),
   9737             s.on("keyup.clockpicker." + this.id, function (t) {
   9738               27 === t.keyCode && n.hide();
   9739             }),
   9740             a(this.options.afterShow);
   9741         }
   9742       }),
   9743       (o.prototype.hide = function () {
   9744         a(this.options.beforeHide),
   9745           this.input.removeClass("picker__input picker__input--active"),
   9746           this.popover.removeClass("picker--opened"),
   9747           t(document.body).css("overflow", "visible"),
   9748           (this.isShown = !1),
   9749           t(":input").each(function (e) {
   9750             t(this).attr("tabindex", e + 1);
   9751           }),
   9752           s.off(
   9753             "click.clockpicker." + this.id + " focusin.clockpicker." + this.id
   9754           ),
   9755           s.off("keyup.clockpicker." + this.id),
   9756           this.popover.hide(),
   9757           a(this.options.afterHide);
   9758       }),
   9759       (o.prototype.toggleView = function (e, i) {
   9760         var n = !1;
   9761         "minutes" === e &&
   9762           "visible" === t(this.hoursView).css("visibility") &&
   9763           (a(this.options.beforeHourSelect), (n = !0));
   9764         var o = "hours" === e,
   9765           r = o ? this.hoursView : this.minutesView,
   9766           s = o ? this.minutesView : this.hoursView;
   9767         (this.currentView = e),
   9768           this.spanHours.toggleClass("text-primary", o),
   9769           this.spanMinutes.toggleClass("text-primary", !o),
   9770           s.addClass("clockpicker-dial-out"),
   9771           r.css("visibility", "visible").removeClass("clockpicker-dial-out"),
   9772           this.resetClock(i),
   9773           clearTimeout(this.toggleViewTimer),
   9774           (this.toggleViewTimer = setTimeout(function () {
   9775             s.css("visibility", "hidden");
   9776           }, x)),
   9777           n && a(this.options.afterHourSelect);
   9778       }),
   9779       (o.prototype.resetClock = function (t) {
   9780         var e = this.currentView,
   9781           i = this[e],
   9782           n = "hours" === e,
   9783           o = i * (Math.PI / (n ? 6 : 30)),
   9784           a = n && i > 0 && i < 13 ? b : y,
   9785           r = Math.sin(o) * a,
   9786           s = -Math.cos(o) * a,
   9787           l = this;
   9788         c && t
   9789           ? (l.canvas.addClass("clockpicker-canvas-out"),
   9790             setTimeout(function () {
   9791               l.canvas.removeClass("clockpicker-canvas-out"), l.setHand(r, s);
   9792             }, t))
   9793           : this.setHand(r, s);
   9794       }),
   9795       (o.prototype.setHand = function (e, n, o, a) {
   9796         var r,
   9797           s = Math.atan2(e, -n),
   9798           l = "hours" === this.currentView,
   9799           u = Math.PI / (l || o ? 6 : 30),
   9800           d = Math.sqrt(e * e + n * n),
   9801           p = this.options,
   9802           h = l && d < (y + b) / 2,
   9803           f = h ? b : y;
   9804         if (
   9805           (p.twelvehour && (f = y),
   9806           s < 0 && (s = 2 * Math.PI + s),
   9807           (r = Math.round(s / u)),
   9808           (s = r * u),
   9809           p.twelvehour
   9810             ? l
   9811               ? 0 === r && (r = 12)
   9812               : (o && (r *= 5), 60 === r && (r = 0))
   9813             : l
   9814             ? (12 === r && (r = 0),
   9815               (r = h ? (0 === r ? 12 : r) : 0 === r ? 0 : r + 12))
   9816             : (o && (r *= 5), 60 === r && (r = 0)),
   9817           this[this.currentView] !== r &&
   9818             v &&
   9819             this.options.vibrate &&
   9820             (this.vibrateTimer ||
   9821               (navigator[v](10),
   9822               (this.vibrateTimer = setTimeout(
   9823                 t.proxy(function () {
   9824                   this.vibrateTimer = null;
   9825                 }, this),
   9826                 100
   9827               )))),
   9828           (this[this.currentView] = r),
   9829           l ? this.spanHours.html(r) : this.spanMinutes.html(i(r)),
   9830           c)
   9831         ) {
   9832           var m = Math.sin(s) * (f - w),
   9833             g = -Math.cos(s) * (f - w),
   9834             k = Math.sin(s) * f,
   9835             x = -Math.cos(s) * f;
   9836           this.hand.setAttribute("x2", m),
   9837             this.hand.setAttribute("y2", g),
   9838             this.bg.setAttribute("cx", k),
   9839             this.bg.setAttribute("cy", x);
   9840         } else
   9841           this[l ? "hoursView" : "minutesView"]
   9842             .find(".clockpicker-tick")
   9843             .each(function () {
   9844               var e = t(this);
   9845               e.toggleClass("active", r === +e.html());
   9846             });
   9847       }),
   9848       (o.prototype.done = function () {
   9849         a(this.options.beforeDone), this.hide(), this.label.addClass("active");
   9850         var t = this.input.prop("value"),
   9851           e = i(this.hours) + ":" + i(this.minutes);
   9852         this.options.twelvehour && (e += this.amOrPm),
   9853           this.input.prop("value", e),
   9854           e !== t &&
   9855             (this.input.triggerHandler("change"),
   9856             this.isInput || this.element.trigger("change")),
   9857           this.options.autoclose && this.input.trigger("blur"),
   9858           a(this.options.afterDone);
   9859       }),
   9860       (o.prototype.clear = function () {
   9861         this.hide(), this.label.removeClass("active");
   9862         var t = this.input.prop("value");
   9863         this.input.prop("value", ""),
   9864           "" !== t &&
   9865             (this.input.triggerHandler("change"),
   9866             this.isInput || this.element.trigger("change")),
   9867           this.options.autoclose && this.input.trigger("blur");
   9868       }),
   9869       (o.prototype.remove = function () {
   9870         this.element.removeData("clockpicker"),
   9871           this.input.off("focus.clockpicker click.clockpicker"),
   9872           this.isShown && this.hide(),
   9873           this.isAppended &&
   9874             (r.off("resize.clockpicker" + this.id), this.popover.remove());
   9875       }),
   9876       (t.fn.pickatime = function (e) {
   9877         var i = Array.prototype.slice.call(arguments, 1);
   9878         return this.each(function () {
   9879           var n = t(this),
   9880             a = n.data("clockpicker");
   9881           if (a) "function" == typeof a[e] && a[e].apply(a, i);
   9882           else {
   9883             var r = t.extend(
   9884               {},
   9885               o.DEFAULTS,
   9886               n.data(),
   9887               "object" == typeof e && e
   9888             );
   9889             n.data("clockpicker", new o(n, r));
   9890           }
   9891         });
   9892       });
   9893   })(jQuery),
   9894   (function (t) {
   9895     function e() {
   9896       var e = +t(this).attr("data-length"),
   9897         i = +t(this).val().length,
   9898         n = i <= e;
   9899       t(this)
   9900         .parent()
   9901         .find('span[class="character-counter"]')
   9902         .html(i + "/" + e),
   9903         o(n, t(this));
   9904     }
   9905 
   9906     function i(e) {
   9907       var i = e.parent().find('span[class="character-counter"]');
   9908       i.length ||
   9909         ((i = t("<span/>")
   9910           .addClass("character-counter")
   9911           .css("float", "right")
   9912           .css("font-size", "12px")
   9913           .css("height", 1)),
   9914         e.parent().append(i));
   9915     }
   9916 
   9917     function n() {
   9918       t(this).parent().find('span[class="character-counter"]').html("");
   9919     }
   9920 
   9921     function o(t, e) {
   9922       var i = e.hasClass("invalid");
   9923       t && i
   9924         ? e.removeClass("invalid")
   9925         : t || i || (e.removeClass("valid"), e.addClass("invalid"));
   9926     }
   9927     (t.fn.characterCounter = function () {
   9928       return this.each(function () {
   9929         var o = t(this);
   9930         o.parent().find('span[class="character-counter"]').length ||
   9931           (void 0 !== o.attr("data-length") &&
   9932             (o.on("input", e), o.on("focus", e), o.on("blur", n), i(o)));
   9933       });
   9934     }),
   9935       t(document).ready(function () {
   9936         t("input, textarea").characterCounter();
   9937       });
   9938   })(jQuery),
   9939   (function (t) {
   9940     var e = {
   9941       init: function (e) {
   9942         var i = {
   9943           duration: 200,
   9944           dist: -100,
   9945           shift: 0,
   9946           padding: 0,
   9947           fullWidth: !1,
   9948           indicators: !1,
   9949           noWrap: !1,
   9950           onCycleTo: null,
   9951         };
   9952         e = t.extend(i, e);
   9953         var n = Materialize.objectSelectorString(t(this));
   9954         return this.each(function (i) {
   9955           function o(t) {
   9956             return t.targetTouches && t.targetTouches.length >= 1
   9957               ? t.targetTouches[0].clientX
   9958               : t.clientX;
   9959           }
   9960 
   9961           function a(t) {
   9962             return t.targetTouches && t.targetTouches.length >= 1
   9963               ? t.targetTouches[0].clientY
   9964               : t.clientY;
   9965           }
   9966 
   9967           function r(t) {
   9968             return t >= C ? t % C : t < 0 ? r(C + (t % C)) : t;
   9969           }
   9970 
   9971           function s(i) {
   9972             (E = !0),
   9973               j.hasClass("scrolling") || j.addClass("scrolling"),
   9974               null != H && window.clearTimeout(H),
   9975               (H = window.setTimeout(function () {
   9976                 (E = !1), j.removeClass("scrolling");
   9977               }, e.duration));
   9978             var n,
   9979               o,
   9980               a,
   9981               s,
   9982               l,
   9983               c,
   9984               u,
   9985               d = w;
   9986             if (
   9987               ((b = "number" == typeof i ? i : b),
   9988               (w = Math.floor((b + x / 2) / x)),
   9989               (a = b - w * x),
   9990               (s = a < 0 ? 1 : -1),
   9991               (l = (-s * a * 2) / x),
   9992               (o = C >> 1),
   9993               e.fullWidth
   9994                 ? (u = "translateX(0)")
   9995                 : ((u = "translateX(" + (j[0].clientWidth - m) / 2 + "px) "),
   9996                   (u += "translateY(" + (j[0].clientHeight - g) / 2 + "px)")),
   9997               N)
   9998             ) {
   9999               var p = w % C,
  10000                 h = V.find(".indicator-item.active");
  10001               h.index() !== p &&
  10002                 (h.removeClass("active"),
  10003                 V.find(".indicator-item").eq(p).addClass("active"));
  10004             }
  10005             for (
  10006               (!W || (w >= 0 && w < C)) &&
  10007                 ((c = v[r(w)]),
  10008                 t(c).hasClass("active") ||
  10009                   (j.find(".carousel-item").removeClass("active"),
  10010                   t(c).addClass("active")),
  10011                 (c.style[_] =
  10012                   u +
  10013                   " translateX(" +
  10014                   -a / 2 +
  10015                   "px) translateX(" +
  10016                   s * e.shift * l * n +
  10017                   "px) translateZ(" +
  10018                   e.dist * l +
  10019                   "px)"),
  10020                 (c.style.zIndex = 0),
  10021                 e.fullWidth
  10022                   ? (tweenedOpacity = 1)
  10023                   : (tweenedOpacity = 1 - 0.2 * l),
  10024                 (c.style.opacity = tweenedOpacity),
  10025                 (c.style.display = "block")),
  10026                 n = 1;
  10027               n <= o;
  10028               ++n
  10029             )
  10030               e.fullWidth
  10031                 ? ((zTranslation = e.dist),
  10032                   (tweenedOpacity = n === o && a < 0 ? 1 - l : 1))
  10033                 : ((zTranslation = e.dist * (2 * n + l * s)),
  10034                   (tweenedOpacity = 1 - 0.2 * (2 * n + l * s))),
  10035                 (!W || w + n < C) &&
  10036                   (((c = v[r(w + n)]).style[_] =
  10037                     u +
  10038                     " translateX(" +
  10039                     (e.shift + (x * n - a) / 2) +
  10040                     "px) translateZ(" +
  10041                     zTranslation +
  10042                     "px)"),
  10043                   (c.style.zIndex = -n),
  10044                   (c.style.opacity = tweenedOpacity),
  10045                   (c.style.display = "block")),
  10046                 e.fullWidth
  10047                   ? ((zTranslation = e.dist),
  10048                     (tweenedOpacity = n === o && a > 0 ? 1 - l : 1))
  10049                   : ((zTranslation = e.dist * (2 * n - l * s)),
  10050                     (tweenedOpacity = 1 - 0.2 * (2 * n - l * s))),
  10051                 (!W || w - n >= 0) &&
  10052                   (((c = v[r(w - n)]).style[_] =
  10053                     u +
  10054                     " translateX(" +
  10055                     (-e.shift + (-x * n - a) / 2) +
  10056                     "px) translateZ(" +
  10057                     zTranslation +
  10058                     "px)"),
  10059                   (c.style.zIndex = -n),
  10060                   (c.style.opacity = tweenedOpacity),
  10061                   (c.style.display = "block"));
  10062             if (
  10063               ((!W || (w >= 0 && w < C)) &&
  10064                 (((c = v[r(w)]).style[_] =
  10065                   u +
  10066                   " translateX(" +
  10067                   -a / 2 +
  10068                   "px) translateX(" +
  10069                   s * e.shift * l +
  10070                   "px) translateZ(" +
  10071                   e.dist * l +
  10072                   "px)"),
  10073                 (c.style.zIndex = 0),
  10074                 e.fullWidth
  10075                   ? (tweenedOpacity = 1)
  10076                   : (tweenedOpacity = 1 - 0.2 * l),
  10077                 (c.style.opacity = tweenedOpacity),
  10078                 (c.style.display = "block")),
  10079               d !== w && "function" == typeof e.onCycleTo)
  10080             ) {
  10081               var f = j.find(".carousel-item").eq(r(w));
  10082               e.onCycleTo.call(this, f, q);
  10083             }
  10084             "function" == typeof L && (L.call(this, f, q), (L = null));
  10085           }
  10086 
  10087           function l() {
  10088             var t, e, i;
  10089             (e = (t = Date.now()) - I),
  10090               (I = t),
  10091               (i = b - M),
  10092               (M = b),
  10093               (O = 0.8 * ((1e3 * i) / (1 + e)) + 0.2 * O);
  10094           }
  10095 
  10096           function c() {
  10097             var t, i;
  10098             P &&
  10099               ((t = Date.now() - I),
  10100               (i = P * Math.exp(-t / e.duration)) > 2 || i < -2
  10101                 ? (s(A - i), requestAnimationFrame(c))
  10102                 : s(A));
  10103           }
  10104 
  10105           function u(i) {
  10106             if (q) return i.preventDefault(), i.stopPropagation(), !1;
  10107             if (!e.fullWidth) {
  10108               var n = t(i.target).closest(".carousel-item").index();
  10109               0 !== r(w) - n && (i.preventDefault(), i.stopPropagation()), d(n);
  10110             }
  10111           }
  10112 
  10113           function d(t) {
  10114             var e = (w % C) - t;
  10115             W ||
  10116               (e < 0
  10117                 ? Math.abs(e + C) < Math.abs(e) && (e += C)
  10118                 : e > 0 && Math.abs(e - C) < e && (e -= C)),
  10119               e < 0
  10120                 ? j.trigger("carouselNext", [Math.abs(e)])
  10121                 : e > 0 && j.trigger("carouselPrev", [e]);
  10122           }
  10123 
  10124           function p(e) {
  10125             "mousedown" === e.type &&
  10126               t(e.target).is("img") &&
  10127               e.preventDefault(),
  10128               (k = !0),
  10129               (q = !1),
  10130               (z = !1),
  10131               (T = o(e)),
  10132               (S = a(e)),
  10133               (O = P = 0),
  10134               (M = b),
  10135               (I = Date.now()),
  10136               clearInterval(D),
  10137               (D = setInterval(l, 100));
  10138           }
  10139 
  10140           function h(t) {
  10141             var e, i;
  10142             if (k)
  10143               if (
  10144                 ((e = o(t)),
  10145                 (y = a(t)),
  10146                 (i = T - e),
  10147                 Math.abs(S - y) < 30 && !z)
  10148               )
  10149                 (i > 2 || i < -2) && ((q = !0), (T = e), s(b + i));
  10150               else {
  10151                 if (q) return t.preventDefault(), t.stopPropagation(), !1;
  10152                 z = !0;
  10153               }
  10154             if (q) return t.preventDefault(), t.stopPropagation(), !1;
  10155           }
  10156 
  10157           function f(t) {
  10158             if (k)
  10159               return (
  10160                 (k = !1),
  10161                 clearInterval(D),
  10162                 (A = b),
  10163                 (O > 10 || O < -10) && (A = b + (P = 0.9 * O)),
  10164                 (A = Math.round(A / x) * x),
  10165                 W && (A >= x * (C - 1) ? (A = x * (C - 1)) : A < 0 && (A = 0)),
  10166                 (P = A - b),
  10167                 (I = Date.now()),
  10168                 requestAnimationFrame(c),
  10169                 q && (t.preventDefault(), t.stopPropagation()),
  10170                 !1
  10171               );
  10172           }
  10173           var v,
  10174             m,
  10175             g,
  10176             b,
  10177             w,
  10178             k,
  10179             x,
  10180             C,
  10181             T,
  10182             S,
  10183             P,
  10184             A,
  10185             O,
  10186             E,
  10187             _,
  10188             M,
  10189             I,
  10190             D,
  10191             q,
  10192             z,
  10193             V = t('<ul class="indicators"></ul>'),
  10194             H = null,
  10195             L = null,
  10196             j = t(this),
  10197             $ = j.find(".carousel-item").length > 1,
  10198             N = (j.attr("data-indicators") || e.indicators) && $,
  10199             W = j.attr("data-no-wrap") || e.noWrap || !$,
  10200             F = j.attr("data-namespace") || n + i;
  10201           j.attr("data-namespace", F);
  10202           var Q = function (e) {
  10203             var i = j.find(".carousel-item.active").length
  10204                 ? j.find(".carousel-item.active").first()
  10205                 : j.find(".carousel-item").first(),
  10206               n = i.find("img").first();
  10207             if (n.length)
  10208               if (n[0].complete)
  10209                 if (n.height() > 0) j.css("height", n.height());
  10210                 else {
  10211                   var o = n[0].naturalWidth,
  10212                     a = n[0].naturalHeight,
  10213                     r = (j.width() / o) * a;
  10214                   j.css("height", r);
  10215                 }
  10216               else
  10217                 n.on("load", function () {
  10218                   j.css("height", t(this).height());
  10219                 });
  10220             else if (!e) {
  10221               var s = i.height();
  10222               j.css("height", s);
  10223             }
  10224           };
  10225           if (
  10226             (e.fullWidth &&
  10227               ((e.dist = 0),
  10228               Q(),
  10229               N && j.find(".carousel-fixed-item").addClass("with-indicators")),
  10230             j.hasClass("initialized"))
  10231           )
  10232             return (
  10233               t(window).trigger("resize"), j.trigger("carouselNext", [1e-6]), !0
  10234             );
  10235           j.addClass("initialized"),
  10236             (k = !1),
  10237             (b = A = 0),
  10238             (v = []),
  10239             (m = j.find(".carousel-item").first().innerWidth()),
  10240             (g = j.find(".carousel-item").first().innerHeight()),
  10241             (x = 2 * m + e.padding),
  10242             j.find(".carousel-item").each(function (e) {
  10243               if ((v.push(t(this)[0]), N)) {
  10244                 var i = t('<li class="indicator-item"></li>');
  10245                 0 === e && i.addClass("active"),
  10246                   i.click(function (e) {
  10247                     e.stopPropagation(), d(t(this).index());
  10248                   }),
  10249                   V.append(i);
  10250               }
  10251             }),
  10252             N && j.append(V),
  10253             (C = v.length),
  10254             (_ = "transform"),
  10255             ["webkit", "Moz", "O", "ms"].every(function (t) {
  10256               var e = t + "Transform";
  10257               return void 0 === document.body.style[e] || ((_ = e), !1);
  10258             });
  10259           var X = Materialize.throttle(function () {
  10260             if (e.fullWidth) {
  10261               m = j.find(".carousel-item").first().innerWidth();
  10262               j.find(".carousel-item.active").height();
  10263               (x = 2 * m + e.padding), (A = b = 2 * w * m), Q(!0);
  10264             } else s();
  10265           }, 200);
  10266           t(window)
  10267             .off("resize.carousel-" + F)
  10268             .on("resize.carousel-" + F, X),
  10269             void 0 !== window.ontouchstart &&
  10270               (j.on("touchstart.carousel", p),
  10271               j.on("touchmove.carousel", h),
  10272               j.on("touchend.carousel", f)),
  10273             j.on("mousedown.carousel", p),
  10274             j.on("mousemove.carousel", h),
  10275             j.on("mouseup.carousel", f),
  10276             j.on("mouseleave.carousel", f),
  10277             j.on("click.carousel", u),
  10278             s(b),
  10279             t(this).on("carouselNext", function (t, e, i) {
  10280               void 0 === e && (e = 1),
  10281                 "function" == typeof i && (L = i),
  10282                 (A = x * Math.round(b / x) + x * e),
  10283                 b !== A &&
  10284                   ((P = A - b), (I = Date.now()), requestAnimationFrame(c));
  10285             }),
  10286             t(this).on("carouselPrev", function (t, e, i) {
  10287               void 0 === e && (e = 1),
  10288                 "function" == typeof i && (L = i),
  10289                 (A = x * Math.round(b / x) - x * e),
  10290                 b !== A &&
  10291                   ((P = A - b), (I = Date.now()), requestAnimationFrame(c));
  10292             }),
  10293             t(this).on("carouselSet", function (t, e, i) {
  10294               void 0 === e && (e = 0), "function" == typeof i && (L = i), d(e);
  10295             });
  10296         });
  10297       },
  10298       next: function (e, i) {
  10299         t(this).trigger("carouselNext", [e, i]);
  10300       },
  10301       prev: function (e, i) {
  10302         t(this).trigger("carouselPrev", [e, i]);
  10303       },
  10304       set: function (e, i) {
  10305         t(this).trigger("carouselSet", [e, i]);
  10306       },
  10307       destroy: function () {
  10308         var e = t(this).attr("data-namespace");
  10309         t(this).removeAttr("data-namespace"),
  10310           t(this).removeClass("initialized"),
  10311           t(this).find(".indicators").remove(),
  10312           t(this).off("carouselNext carouselPrev carouselSet"),
  10313           t(window).off("resize.carousel-" + e),
  10314           void 0 !== window.ontouchstart &&
  10315             t(this).off(
  10316               "touchstart.carousel touchmove.carousel touchend.carousel"
  10317             ),
  10318           t(this).off(
  10319             "mousedown.carousel mousemove.carousel mouseup.carousel mouseleave.carousel click.carousel"
  10320           );
  10321       },
  10322     };
  10323     t.fn.carousel = function (i) {
  10324       return e[i]
  10325         ? e[i].apply(this, Array.prototype.slice.call(arguments, 1))
  10326         : "object" != typeof i && i
  10327         ? void t.error("Method " + i + " does not exist on jQuery.carousel")
  10328         : e.init.apply(this, arguments);
  10329     };
  10330   })(jQuery),
  10331   (function (t) {
  10332     var e = {
  10333       init: function (e) {
  10334         return this.each(function () {
  10335           var i = t("#" + t(this).attr("data-activates")),
  10336             n = (t("body"), t(this)),
  10337             o = n.parent(".tap-target-wrapper"),
  10338             a = o.find(".tap-target-wave"),
  10339             r = o.find(".tap-target-origin"),
  10340             s = n.find(".tap-target-content");
  10341           o.length ||
  10342             (o = n.wrap(t('<div class="tap-target-wrapper"></div>')).parent()),
  10343             s.length ||
  10344               ((s = t('<div class="tap-target-content"></div>')), n.append(s)),
  10345             a.length ||
  10346               ((a = t('<div class="tap-target-wave"></div>')),
  10347               r.length ||
  10348                 ((r = i.clone(!0, !0)).addClass("tap-target-origin"),
  10349                 r.removeAttr("id"),
  10350                 r.removeAttr("style"),
  10351                 a.append(r)),
  10352               o.append(a));
  10353           var l = function () {
  10354               o.is(".open") &&
  10355                 (o.removeClass("open"),
  10356                 r.off("click.tapTarget"),
  10357                 t(document).off("click.tapTarget"),
  10358                 t(window).off("resize.tapTarget"));
  10359             },
  10360             c = function () {
  10361               var e = "fixed" === i.css("position");
  10362               if (!e)
  10363                 for (
  10364                   var r = i.parents(), l = 0;
  10365                   l < r.length && !(e = "fixed" == t(r[l]).css("position"));
  10366                   l++
  10367                 );
  10368               var c = i.outerWidth(),
  10369                 u = i.outerHeight(),
  10370                 d = e
  10371                   ? i.offset().top - t(document).scrollTop()
  10372                   : i.offset().top,
  10373                 p = e
  10374                   ? i.offset().left - t(document).scrollLeft()
  10375                   : i.offset().left,
  10376                 h = t(window).width(),
  10377                 f = t(window).height(),
  10378                 v = h / 2,
  10379                 m = f / 2,
  10380                 g = p <= v,
  10381                 y = p > v,
  10382                 b = d <= m,
  10383                 w = d > m,
  10384                 k = p >= 0.25 * h && p <= 0.75 * h,
  10385                 x = n.outerWidth(),
  10386                 C = n.outerHeight(),
  10387                 T = d + u / 2 - C / 2,
  10388                 S = p + c / 2 - x / 2,
  10389                 P = e ? "fixed" : "absolute",
  10390                 A = k ? x : x / 2 + c,
  10391                 O = C / 2,
  10392                 E = b ? C / 2 : 0,
  10393                 _ = g && !k ? x / 2 - c : 0,
  10394                 M = c,
  10395                 I = w ? "bottom" : "top",
  10396                 D = 2 * c,
  10397                 q = D,
  10398                 z = C / 2 - q / 2,
  10399                 V = x / 2 - D / 2,
  10400                 H = {};
  10401               (H.top = b ? T : ""),
  10402                 (H.right = y ? h - S - x : ""),
  10403                 (H.bottom = w ? f - T - C : ""),
  10404                 (H.left = g ? S : ""),
  10405                 (H.position = P),
  10406                 o.css(H),
  10407                 s.css({
  10408                   width: A,
  10409                   height: O,
  10410                   top: E,
  10411                   right: 0,
  10412                   bottom: 0,
  10413                   left: _,
  10414                   padding: M,
  10415                   verticalAlign: I,
  10416                 }),
  10417                 a.css({
  10418                   top: z,
  10419                   left: V,
  10420                   width: D,
  10421                   height: q,
  10422                 });
  10423             };
  10424           "open" == e &&
  10425             (c(),
  10426             o.is(".open") ||
  10427               (o.addClass("open"),
  10428               setTimeout(function () {
  10429                 r.off("click.tapTarget").on("click.tapTarget", function (t) {
  10430                   l(), r.off("click.tapTarget");
  10431                 }),
  10432                   t(document)
  10433                     .off("click.tapTarget")
  10434                     .on("click.tapTarget", function (e) {
  10435                       l(), t(document).off("click.tapTarget");
  10436                     });
  10437                 var e = Materialize.throttle(function () {
  10438                   c();
  10439                 }, 200);
  10440                 t(window).off("resize.tapTarget").on("resize.tapTarget", e);
  10441               }, 0))),
  10442             "close" == e && l();
  10443         });
  10444       },
  10445       open: function () {},
  10446       close: function () {},
  10447     };
  10448     t.fn.tapTarget = function (i) {
  10449       if (e[i] || "object" == typeof i) return e.init.apply(this, arguments);
  10450       t.error("Method " + i + " does not exist on jQuery.tap-target");
  10451     };
  10452   })(jQuery);