",
options: { disabled: !1, create: null },
_createWidget: function (t, i) {
i = n(i || this.defaultElement || this)[0];
this.element = n(i);
this.uuid = r++;
this.eventNamespace = "." + this.widgetName + this.uuid;
this.options = n.widget.extend(
{},
this.options,
this._getCreateOptions(),
t
);
this.bindings = n();
this.hoverable = n();
this.focusable = n();
i !== this &&
(n.data(i, this.widgetName, this),
n.data(i, this.widgetFullName, this),
this._on(!0, this.element, {
remove: function (n) {
n.target === i && this.destroy();
},
}),
(this.document = n(i.style ? i.ownerDocument : i.document || i)),
(this.window = n(
this.document[0].defaultView || this.document[0].parentWindow
)));
this._create();
this._trigger("create", null, this._getCreateEventData());
this._init();
},
_getCreateOptions: n.noop,
_getCreateEventData: n.noop,
_create: n.noop,
_init: n.noop,
destroy: function () {
this._destroy();
this.element
.unbind(this.eventNamespace)
.removeData(this.widgetName)
.removeData(this.widgetFullName)
.removeData(n.camelCase(this.widgetFullName));
this.widget()
.unbind(this.eventNamespace)
.removeAttr("aria-disabled")
.removeClass(this.widgetFullName + "-disabled ui-state-disabled");
this.bindings.unbind(this.eventNamespace);
this.hoverable.removeClass("ui-state-hover");
this.focusable.removeClass("ui-state-focus");
},
_destroy: n.noop,
widget: function () {
return this.element;
},
option: function (i, r) {
var u,
f,
e,
o = i;
if (0 === arguments.length) return n.widget.extend({}, this.options);
if ("string" == typeof i)
if (((o = {}), (u = i.split(".")), (i = u.shift()), u.length)) {
for (
f = o[i] = n.widget.extend({}, this.options[i]), e = 0;
u.length - 1 > e;
e++
)
(f[u[e]] = f[u[e]] || {}), (f = f[u[e]]);
if (((i = u.pop()), r === t)) return f[i] === t ? null : f[i];
f[i] = r;
} else {
if (r === t) return this.options[i] === t ? null : this.options[i];
o[i] = r;
}
return this._setOptions(o), this;
},
_setOptions: function (n) {
for (var t in n) this._setOption(t, n[t]);
return this;
},
_setOption: function (n, t) {
return (
(this.options[n] = t),
"disabled" === n &&
(this.widget()
.toggleClass(
this.widgetFullName + "-disabled ui-state-disabled",
!!t
)
.attr("aria-disabled", t),
this.hoverable.removeClass("ui-state-hover"),
this.focusable.removeClass("ui-state-focus")),
this
);
},
enable: function () {
return this._setOption("disabled", !1);
},
disable: function () {
return this._setOption("disabled", !0);
},
_on: function (i, r, u) {
var e,
f = this;
"boolean" != typeof i && ((u = r), (r = i), (i = !1));
u
? ((r = e = n(r)), (this.bindings = this.bindings.add(r)))
: ((u = r), (r = this.element), (e = this.widget()));
n.each(u, function (u, o) {
function s() {
return i ||
(f.options.disabled !== !0 &&
!n(this).hasClass("ui-state-disabled"))
? ("string" == typeof o ? f[o] : o).apply(f, arguments)
: t;
}
"string" != typeof o &&
(s.guid = o.guid = o.guid || s.guid || n.guid++);
var h = u.match(/^(\w+)\s*(.*)$/),
c = h[1] + f.eventNamespace,
l = h[2];
l ? e.delegate(l, c, s) : r.bind(c, s);
});
},
_off: function (n, t) {
t =
(t || "").split(" ").join(this.eventNamespace + " ") +
this.eventNamespace;
n.unbind(t).undelegate(t);
},
_delay: function (n, t) {
function r() {
return ("string" == typeof n ? i[n] : n).apply(i, arguments);
}
var i = this;
return setTimeout(r, t || 0);
},
_hoverable: function (t) {
this.hoverable = this.hoverable.add(t);
this._on(t, {
mouseenter: function (t) {
n(t.currentTarget).addClass("ui-state-hover");
},
mouseleave: function (t) {
n(t.currentTarget).removeClass("ui-state-hover");
},
});
},
_focusable: function (t) {
this.focusable = this.focusable.add(t);
this._on(t, {
focusin: function (t) {
n(t.currentTarget).addClass("ui-state-focus");
},
focusout: function (t) {
n(t.currentTarget).removeClass("ui-state-focus");
},
});
},
_trigger: function (t, i, r) {
var u,
f,
e = this.options[t];
if (
((r = r || {}),
(i = n.Event(i)),
(i.type = (
t === this.widgetEventPrefix ? t : this.widgetEventPrefix + t
).toLowerCase()),
(i.target = this.element[0]),
(f = i.originalEvent))
)
for (u in f) u in i || (i[u] = f[u]);
return (
this.element.trigger(i, r),
!(
(n.isFunction(e) &&
e.apply(this.element[0], [i].concat(r)) === !1) ||
i.isDefaultPrevented()
)
);
},
};
n.each({ show: "fadeIn", hide: "fadeOut" }, function (t, i) {
n.Widget.prototype["_" + t] = function (r, u, f) {
"string" == typeof u && (u = { effect: u });
var o,
e = u ? (u === !0 || "number" == typeof u ? i : u.effect || i) : t;
u = u || {};
"number" == typeof u && (u = { duration: u });
o = !n.isEmptyObject(u);
u.complete = f;
u.delay && r.delay(u.delay);
o &&
n.effects &&
(n.effects.effect[e] || (n.uiBackCompat !== !1 && n.effects[e]))
? r[t](u)
: e !== t && r[e]
? r[e](u.duration, u.easing, f)
: r.queue(function (i) {
n(this)[t]();
f && f.call(r[0]);
i();
});
};
});
n.uiBackCompat !== !1 &&
(n.Widget.prototype._getCreateOptions = function () {
return n.metadata && n.metadata.get(this.element[0])[this.widgetName];
});
})(jQuery),
(function (n, t) {
function e(n, t, i) {
return [
parseInt(n[0], 10) * (a.test(n[0]) ? t / 100 : 1),
parseInt(n[1], 10) * (a.test(n[1]) ? i / 100 : 1),
];
}
function r(t, i) {
return parseInt(n.css(t, i), 10) || 0;
}
n.ui = n.ui || {};
var f,
u = Math.max,
i = Math.abs,
o = Math.round,
s = /left|center|right/,
h = /top|center|bottom/,
c = /[\+\-]\d+%?/,
l = /^\w+/,
a = /%$/,
v = n.fn.position;
n.position = {
scrollbarWidth: function () {
if (f !== t) return f;
var u,
r,
i = n(
"
"
),
e = i.children()[0];
return (
n("body").append(i),
(u = e.offsetWidth),
i.css("overflow", "scroll"),
(r = e.offsetWidth),
u === r && (r = i[0].clientWidth),
i.remove(),
(f = u - r)
);
},
getScrollInfo: function (t) {
var i = t.isWindow ? "" : t.element.css("overflow-x"),
r = t.isWindow ? "" : t.element.css("overflow-y"),
u =
"scroll" === i ||
("auto" === i && t.width < t.element[0].scrollWidth),
f =
"scroll" === r ||
("auto" === r && t.height < t.element[0].scrollHeight);
return {
width: u ? n.position.scrollbarWidth() : 0,
height: f ? n.position.scrollbarWidth() : 0,
};
},
getWithinInfo: function (t) {
var i = n(t || window),
r = n.isWindow(i[0]);
return {
element: i,
isWindow: r,
offset: i.offset() || { left: 0, top: 0 },
scrollLeft: i.scrollLeft(),
scrollTop: i.scrollTop(),
width: r ? i.width() : i.outerWidth(),
height: r ? i.height() : i.outerHeight(),
};
},
};
n.fn.position = function (t) {
if (!t || !t.of) return v.apply(this, arguments);
t = n.extend({}, t);
var b,
f,
a,
p,
w,
y = n(t.of),
nt = n.position.getWithinInfo(t.within),
tt = n.position.getScrollInfo(nt),
k = y[0],
d = (t.collision || "flip").split(" "),
g = {};
return (
9 === k.nodeType
? ((f = y.width()), (a = y.height()), (p = { top: 0, left: 0 }))
: n.isWindow(k)
? ((f = y.width()),
(a = y.height()),
(p = { top: y.scrollTop(), left: y.scrollLeft() }))
: k.preventDefault
? ((t.at = "left top"),
(f = a = 0),
(p = { top: k.pageY, left: k.pageX }))
: ((f = y.outerWidth()), (a = y.outerHeight()), (p = y.offset())),
(w = n.extend({}, p)),
n.each(["my", "at"], function () {
var i,
r,
n = (t[this] || "").split(" ");
1 === n.length &&
(n = s.test(n[0])
? n.concat(["center"])
: h.test(n[0])
? ["center"].concat(n)
: ["center", "center"]);
n[0] = s.test(n[0]) ? n[0] : "center";
n[1] = h.test(n[1]) ? n[1] : "center";
i = c.exec(n[0]);
r = c.exec(n[1]);
g[this] = [i ? i[0] : 0, r ? r[0] : 0];
t[this] = [l.exec(n[0])[0], l.exec(n[1])[0]];
}),
1 === d.length && (d[1] = d[0]),
"right" === t.at[0]
? (w.left += f)
: "center" === t.at[0] && (w.left += f / 2),
"bottom" === t.at[1]
? (w.top += a)
: "center" === t.at[1] && (w.top += a / 2),
(b = e(g.at, f, a)),
(w.left += b[0]),
(w.top += b[1]),
this.each(function () {
var k,
it,
h = n(this),
c = h.outerWidth(),
l = h.outerHeight(),
rt = r(this, "marginLeft"),
ut = r(this, "marginTop"),
ft = c + rt + r(this, "marginRight") + tt.width,
et = l + ut + r(this, "marginBottom") + tt.height,
s = n.extend({}, w),
v = e(g.my, h.outerWidth(), h.outerHeight());
"right" === t.my[0]
? (s.left -= c)
: "center" === t.my[0] && (s.left -= c / 2);
"bottom" === t.my[1]
? (s.top -= l)
: "center" === t.my[1] && (s.top -= l / 2);
s.left += v[0];
s.top += v[1];
n.support.offsetFractions ||
((s.left = o(s.left)), (s.top = o(s.top)));
k = { marginLeft: rt, marginTop: ut };
n.each(["left", "top"], function (i, r) {
n.ui.position[d[i]] &&
n.ui.position[d[i]][r](s, {
targetWidth: f,
targetHeight: a,
elemWidth: c,
elemHeight: l,
collisionPosition: k,
collisionWidth: ft,
collisionHeight: et,
offset: [b[0] + v[0], b[1] + v[1]],
my: t.my,
at: t.at,
within: nt,
elem: h,
});
});
n.fn.bgiframe && h.bgiframe();
t.using &&
(it = function (n) {
var r = p.left - s.left,
v = r + f - c,
e = p.top - s.top,
w = e + a - l,
o = {
target: {
element: y,
left: p.left,
top: p.top,
width: f,
height: a,
},
element: {
element: h,
left: s.left,
top: s.top,
width: c,
height: l,
},
horizontal: 0 > v ? "left" : r > 0 ? "right" : "center",
vertical: 0 > w ? "top" : e > 0 ? "bottom" : "middle",
};
c > f && f > i(r + v) && (o.horizontal = "center");
l > a && a > i(e + w) && (o.vertical = "middle");
o.important =
u(i(r), i(v)) > u(i(e), i(w)) ? "horizontal" : "vertical";
t.using.call(this, n, o);
});
h.offset(n.extend(s, { using: it }));
})
);
};
(n.ui.position = {
fit: {
left: function (n, t) {
var h,
e = t.within,
r = e.isWindow ? e.scrollLeft : e.offset.left,
o = e.width,
s = n.left - t.collisionPosition.marginLeft,
i = r - s,
f = s + t.collisionWidth - o - r;
t.collisionWidth > o
? i > 0 && 0 >= f
? ((h = n.left + i + t.collisionWidth - o - r), (n.left += i - h))
: (n.left =
f > 0 && 0 >= i ? r : i > f ? r + o - t.collisionWidth : r)
: i > 0
? (n.left += i)
: f > 0
? (n.left -= f)
: (n.left = u(n.left - s, n.left));
},
top: function (n, t) {
var h,
o = t.within,
r = o.isWindow ? o.scrollTop : o.offset.top,
e = t.within.height,
s = n.top - t.collisionPosition.marginTop,
i = r - s,
f = s + t.collisionHeight - e - r;
t.collisionHeight > e
? i > 0 && 0 >= f
? ((h = n.top + i + t.collisionHeight - e - r), (n.top += i - h))
: (n.top =
f > 0 && 0 >= i ? r : i > f ? r + e - t.collisionHeight : r)
: i > 0
? (n.top += i)
: f > 0
? (n.top -= f)
: (n.top = u(n.top - s, n.top));
},
},
flip: {
left: function (n, t) {
var o,
s,
r = t.within,
y = r.offset.left + r.scrollLeft,
c = r.width,
h = r.isWindow ? r.scrollLeft : r.offset.left,
l = n.left - t.collisionPosition.marginLeft,
a = l - h,
v = l + t.collisionWidth - c - h,
u =
"left" === t.my[0]
? -t.elemWidth
: "right" === t.my[0]
? t.elemWidth
: 0,
f =
"left" === t.at[0]
? t.targetWidth
: "right" === t.at[0]
? -t.targetWidth
: 0,
e = -2 * t.offset[0];
0 > a
? ((o = n.left + u + f + e + t.collisionWidth - c - y),
(0 > o || i(a) > o) && (n.left += u + f + e))
: v > 0 &&
((s = n.left - t.collisionPosition.marginLeft + u + f + e - h),
(s > 0 || v > i(s)) && (n.left += u + f + e));
},
top: function (n, t) {
var o,
s,
r = t.within,
y = r.offset.top + r.scrollTop,
a = r.height,
h = r.isWindow ? r.scrollTop : r.offset.top,
v = n.top - t.collisionPosition.marginTop,
c = v - h,
l = v + t.collisionHeight - a - h,
p = "top" === t.my[1],
u = p ? -t.elemHeight : "bottom" === t.my[1] ? t.elemHeight : 0,
f =
"top" === t.at[1]
? t.targetHeight
: "bottom" === t.at[1]
? -t.targetHeight
: 0,
e = -2 * t.offset[1];
0 > c
? ((s = n.top + u + f + e + t.collisionHeight - a - y),
n.top + u + f + e > c &&
(0 > s || i(c) > s) &&
(n.top += u + f + e))
: l > 0 &&
((o = n.top - t.collisionPosition.marginTop + u + f + e - h),
n.top + u + f + e > l &&
(o > 0 || l > i(o)) &&
(n.top += u + f + e));
},
},
flipfit: {
left: function () {
n.ui.position.flip.left.apply(this, arguments);
n.ui.position.fit.left.apply(this, arguments);
},
top: function () {
n.ui.position.flip.top.apply(this, arguments);
n.ui.position.fit.top.apply(this, arguments);
},
},
}),
(function () {
var t,
i,
r,
u,
f,
e = document.getElementsByTagName("body")[0],
o = document.createElement("div");
t = document.createElement(e ? "div" : "body");
r = {
visibility: "hidden",
width: 0,
height: 0,
border: 0,
margin: 0,
background: "none",
};
e &&
n.extend(r, {
position: "absolute",
left: "-1000px",
top: "-1000px",
});
for (f in r) t.style[f] = r[f];
t.appendChild(o);
i = e || document.documentElement;
i.insertBefore(t, i.firstChild);
o.style.cssText = "position: absolute; left: 10.7432222px;";
u = n(o).offset().left;
n.support.offsetFractions = u > 10 && 11 > u;
t.innerHTML = "";
i.removeChild(t);
})();
n.uiBackCompat !== !1 &&
(function (n) {
var i = n.fn.position;
n.fn.position = function (r) {
if (!r || !r.offset) return i.call(this, r);
var u = r.offset.split(" "),
f = r.at.split(" ");
return (
1 === u.length && (u[1] = u[0]),
/^\d/.test(u[0]) && (u[0] = "+" + u[0]),
/^\d/.test(u[1]) && (u[1] = "+" + u[1]),
1 === f.length &&
(/left|center|right/.test(f[0])
? (f[1] = "center")
: ((f[1] = f[0]), (f[0] = "center"))),
i.call(
this,
n.extend(r, { at: f[0] + u[0] + " " + f[1] + u[1], offset: t })
)
);
};
})(jQuery);
})(jQuery),
(function (n) {
var t = 0;
n.widget("ui.autocomplete", {
version: "1.9.2",
defaultElement: "
",
options: {
appendTo: "body",
autoFocus: !1,
delay: 300,
minLength: 1,
position: { my: "left top", at: "left bottom", collision: "none" },
source: null,
change: null,
close: null,
focus: null,
open: null,
response: null,
search: null,
select: null,
},
pending: 0,
_create: function () {
var t, i, r;
this.isMultiLine = this._isMultiLine();
this.valueMethod =
this.element[this.element.is("input,textarea") ? "val" : "text"];
this.isNewMenu = !0;
this.element
.addClass("ui-autocomplete-input")
.attr("autocomplete", "off");
this._on(this.element, {
keydown: function (u) {
if (this.element.prop("readOnly"))
return (t = !0), (r = !0), (i = !0), undefined;
t = !1;
r = !1;
i = !1;
var f = n.ui.keyCode;
switch (u.keyCode) {
case f.PAGE_UP:
t = !0;
this._move("previousPage", u);
break;
case f.PAGE_DOWN:
t = !0;
this._move("nextPage", u);
break;
case f.UP:
t = !0;
this._keyEvent("previous", u);
break;
case f.DOWN:
t = !0;
this._keyEvent("next", u);
break;
case f.ENTER:
case f.NUMPAD_ENTER:
this.menu.active &&
((t = !0), u.preventDefault(), this.menu.select(u));
break;
case f.TAB:
this.menu.active && this.menu.select(u);
break;
case f.ESCAPE:
this.menu.element.is(":visible") &&
(this._value(this.term), this.close(u), u.preventDefault());
break;
default:
i = !0;
this._searchTimeout(u);
}
},
keypress: function (r) {
if (t) return (t = !1), r.preventDefault(), undefined;
if (!i) {
var u = n.ui.keyCode;
switch (r.keyCode) {
case u.PAGE_UP:
this._move("previousPage", r);
break;
case u.PAGE_DOWN:
this._move("nextPage", r);
break;
case u.UP:
this._keyEvent("previous", r);
break;
case u.DOWN:
this._keyEvent("next", r);
}
}
},
input: function (n) {
return r
? ((r = !1), n.preventDefault(), undefined)
: (this._searchTimeout(n), undefined);
},
focus: function () {
this.selectedItem = null;
this.previous = this._value();
},
blur: function (n) {
return this.cancelBlur
? (delete this.cancelBlur, undefined)
: (clearTimeout(this.searching),
this.close(n),
this._change(n),
undefined);
},
});
this._initSource();
this.menu = n("
")
.addClass("ui-autocomplete")
.appendTo(this.document.find(this.options.appendTo || "body")[0])
.menu({ input: n(), role: null })
.zIndex(this.element.zIndex() + 1)
.hide()
.data("menu");
this._on(this.menu.element, {
mousedown: function (t) {
t.preventDefault();
this.cancelBlur = !0;
this._delay(function () {
delete this.cancelBlur;
});
var i = this.menu.element[0];
n(t.target).closest(".ui-menu-item").length ||
this._delay(function () {
var t = this;
this.document.one("mousedown", function (r) {
r.target === t.element[0] ||
r.target === i ||
n.contains(i, r.target) ||
t.close();
});
});
},
menufocus: function (t, i) {
if (
this.isNewMenu &&
((this.isNewMenu = !1),
t.originalEvent && /^mouse/.test(t.originalEvent.type))
)
return (
this.menu.blur(),
this.document.one("mousemove", function () {
n(t.target).trigger(t.originalEvent);
}),
undefined
);
var r =
i.item.data("ui-autocomplete-item") ||
i.item.data("item.autocomplete");
!1 !== this._trigger("focus", t, { item: r })
? t.originalEvent &&
/^key/.test(t.originalEvent.type) &&
this._value(r.value)
: this.liveRegion.text(r.value);
},
menuselect: function (n, t) {
var i =
t.item.data("ui-autocomplete-item") ||
t.item.data("item.autocomplete"),
r = this.previous;
this.element[0] !== this.document[0].activeElement &&
(this.element.focus(),
(this.previous = r),
this._delay(function () {
this.previous = r;
this.selectedItem = i;
}));
!1 !== this._trigger("select", n, { item: i }) &&
this._value(i.value);
this.term = this._value();
this.close(n);
this.selectedItem = i;
},
});
this.liveRegion = n("", { role: "status", "aria-live": "polite" })
.addClass("ui-helper-hidden-accessible")
.insertAfter(this.element);
n.fn.bgiframe && this.menu.element.bgiframe();
this._on(this.window, {
beforeunload: function () {
this.element.removeAttr("autocomplete");
},
});
},
_destroy: function () {
clearTimeout(this.searching);
this.element
.removeClass("ui-autocomplete-input")
.removeAttr("autocomplete");
this.menu.element.remove();
this.liveRegion.remove();
},
_setOption: function (n, t) {
this._super(n, t);
"source" === n && this._initSource();
"appendTo" === n &&
this.menu.element.appendTo(this.document.find(t || "body")[0]);
"disabled" === n && t && this.xhr && this.xhr.abort();
},
_isMultiLine: function () {
return this.element.is("textarea")
? !0
: this.element.is("input")
? !1
: this.element.prop("isContentEditable");
},
_initSource: function () {
var i,
r,
t = this;
n.isArray(this.options.source)
? ((i = this.options.source),
(this.source = function (t, r) {
r(n.ui.autocomplete.filter(i, t.term));
}))
: "string" == typeof this.options.source
? ((r = this.options.source),
(this.source = function (i, u) {
t.xhr && t.xhr.abort();
t.xhr = n.ajax({
url: r,
data: i,
dataType: "json",
success: function (n) {
u(n);
},
error: function () {
u([]);
},
});
}))
: (this.source = this.options.source);
},
_searchTimeout: function (n) {
clearTimeout(this.searching);
this.searching = this._delay(function () {
this.term !== this._value() &&
((this.selectedItem = null), this.search(null, n));
}, this.options.delay);
},
search: function (n, t) {
return (
(n = null != n ? n : this._value()),
(this.term = this._value()),
n.length < this.options.minLength
? this.close(t)
: this._trigger("search", t) !== !1
? this._search(n)
: undefined
);
},
_search: function (n) {
this.pending++;
this.element.addClass("ui-autocomplete-loading");
this.cancelSearch = !1;
this.source({ term: n }, this._response());
},
_response: function () {
var n = this,
i = ++t;
return function (r) {
i === t && n.__response(r);
n.pending--;
n.pending || n.element.removeClass("ui-autocomplete-loading");
};
},
__response: function (n) {
n && (n = this._normalize(n));
this._trigger("response", null, { content: n });
!this.options.disabled && n && n.length && !this.cancelSearch
? (this._suggest(n), this._trigger("open"))
: this._close();
},
close: function (n) {
this.cancelSearch = !0;
this._close(n);
},
_close: function (n) {
this.menu.element.is(":visible") &&
(this.menu.element.hide(),
this.menu.blur(),
(this.isNewMenu = !0),
this._trigger("close", n));
},
_change: function (n) {
this.previous !== this._value() &&
this._trigger("change", n, { item: this.selectedItem });
},
_normalize: function (t) {
return t.length && t[0].label && t[0].value
? t
: n.map(t, function (t) {
return "string" == typeof t
? { label: t, value: t }
: n.extend(
{ label: t.label || t.value, value: t.value || t.label },
t
);
});
},
_suggest: function (t) {
var i = this.menu.element.empty().zIndex(this.element.zIndex() + 1);
this._renderMenu(i, t);
this.menu.refresh();
i.show();
this._resizeMenu();
i.position(n.extend({ of: this.element }, this.options.position));
this.options.autoFocus && this.menu.next();
},
_resizeMenu: function () {
var n = this.menu.element;
n.outerWidth(
Math.max(n.width("").outerWidth() + 1, this.element.outerWidth())
);
},
_renderMenu: function (t, i) {
var r = this;
n.each(i, function (n, i) {
r._renderItemData(t, i);
});
},
_renderItemData: function (n, t) {
return this._renderItem(n, t).data("ui-autocomplete-item", t);
},
_renderItem: function (t, i) {
return n("- ").append(n("").text(i.label)).appendTo(t);
},
_move: function (n, t) {
return this.menu.element.is(":visible")
? (this.menu.isFirstItem() && /^previous/.test(n)) ||
(this.menu.isLastItem() && /^next/.test(n))
? (this._value(this.term), this.menu.blur(), undefined)
: (this.menu[n](t), undefined)
: (this.search(null, t), undefined);
},
widget: function () {
return this.menu.element;
},
_value: function () {
return this.valueMethod.apply(this.element, arguments);
},
_keyEvent: function (n, t) {
(!this.isMultiLine || this.menu.element.is(":visible")) &&
(this._move(n, t), t.preventDefault());
},
});
n.extend(n.ui.autocomplete, {
escapeRegex: function (n) {
return n.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g, "\\$&");
},
filter: function (t, i) {
var r = RegExp(n.ui.autocomplete.escapeRegex(i), "i");
return n.grep(t, function (n) {
return r.test(n.label || n.value || n);
});
},
});
n.widget("ui.autocomplete", n.ui.autocomplete, {
options: {
messages: {
noResults: "No search results.",
results: function (n) {
return (
n +
(n > 1 ? " results are" : " result is") +
" available, use up and down arrow keys to navigate."
);
},
},
},
__response: function (n) {
var t;
this._superApply(arguments);
this.options.disabled ||
this.cancelSearch ||
((t =
n && n.length
? this.options.messages.results(n.length)
: this.options.messages.noResults),
this.liveRegion.text(t));
},
});
})(jQuery),
(function (n) {
var t = !1;
n.widget("ui.menu", {
version: "1.9.2",
defaultElement: "
",
delay: 300,
options: {
icons: { submenu: "ui-icon-carat-1-e" },
menus: "ul",
position: { my: "left top", at: "right top" },
role: "menu",
blur: null,
focus: null,
select: null,
},
_create: function () {
this.activeMenu = this.element;
this.element
.uniqueId()
.addClass("ui-menu ui-widget ui-widget-content ui-corner-all")
.toggleClass("ui-menu-icons", !!this.element.find(".ui-icon").length)
.attr({ role: this.options.role, tabIndex: 0 })
.bind(
"click" + this.eventNamespace,
n.proxy(function (n) {
this.options.disabled && n.preventDefault();
}, this)
);
this.options.disabled &&
this.element
.addClass("ui-state-disabled")
.attr("aria-disabled", "true");
this._on({
"mousedown .ui-menu-item > a": function (n) {
n.preventDefault();
},
"click .ui-state-disabled > a": function (n) {
n.preventDefault();
},
"click .ui-menu-item:has(a)": function (i) {
var r = n(i.target).closest(".ui-menu-item");
!t &&
r.not(".ui-state-disabled").length &&
((t = !0),
this.select(i),
r.has(".ui-menu").length
? this.expand(i)
: this.element.is(":focus") ||
(this.element.trigger("focus", [!0]),
this.active &&
1 === this.active.parents(".ui-menu").length &&
clearTimeout(this.timer)));
},
"mouseenter .ui-menu-item": function (t) {
var i = n(t.currentTarget);
i.siblings()
.children(".ui-state-active")
.removeClass("ui-state-active");
this.focus(t, i);
},
mouseleave: "collapseAll",
"mouseleave .ui-menu": "collapseAll",
focus: function (n, t) {
var i = this.active || this.element.children(".ui-menu-item").eq(0);
t || this.focus(n, i);
},
blur: function (t) {
this._delay(function () {
n.contains(this.element[0], this.document[0].activeElement) ||
this.collapseAll(t);
});
},
keydown: "_keydown",
});
this.refresh();
this._on(this.document, {
click: function (i) {
n(i.target).closest(".ui-menu").length || this.collapseAll(i);
t = !1;
},
});
},
_destroy: function () {
this.element
.removeAttr("aria-activedescendant")
.find(".ui-menu")
.andSelf()
.removeClass(
"ui-menu ui-widget ui-widget-content ui-corner-all ui-menu-icons"
)
.removeAttr("role")
.removeAttr("tabIndex")
.removeAttr("aria-labelledby")
.removeAttr("aria-expanded")
.removeAttr("aria-hidden")
.removeAttr("aria-disabled")
.removeUniqueId()
.show();
this.element
.find(".ui-menu-item")
.removeClass("ui-menu-item")
.removeAttr("role")
.removeAttr("aria-disabled")
.children("a")
.removeUniqueId()
.removeClass("ui-corner-all ui-state-hover")
.removeAttr("tabIndex")
.removeAttr("role")
.removeAttr("aria-haspopup")
.children()
.each(function () {
var t = n(this);
t.data("ui-menu-submenu-carat") && t.remove();
});
this.element
.find(".ui-menu-divider")
.removeClass("ui-menu-divider ui-widget-content");
},
_keydown: function (t) {
function o(n) {
return n.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g, "\\$&");
}
var i,
f,
r,
e,
u,
s = !0;
switch (t.keyCode) {
case n.ui.keyCode.PAGE_UP:
this.previousPage(t);
break;
case n.ui.keyCode.PAGE_DOWN:
this.nextPage(t);
break;
case n.ui.keyCode.HOME:
this._move("first", "first", t);
break;
case n.ui.keyCode.END:
this._move("last", "last", t);
break;
case n.ui.keyCode.UP:
this.previous(t);
break;
case n.ui.keyCode.DOWN:
this.next(t);
break;
case n.ui.keyCode.LEFT:
this.collapse(t);
break;
case n.ui.keyCode.RIGHT:
this.active &&
!this.active.is(".ui-state-disabled") &&
this.expand(t);
break;
case n.ui.keyCode.ENTER:
case n.ui.keyCode.SPACE:
this._activate(t);
break;
case n.ui.keyCode.ESCAPE:
this.collapse(t);
break;
default:
s = !1;
f = this.previousFilter || "";
r = String.fromCharCode(t.keyCode);
e = !1;
clearTimeout(this.filterTimer);
r === f ? (e = !0) : (r = f + r);
u = RegExp("^" + o(r), "i");
i = this.activeMenu.children(".ui-menu-item").filter(function () {
return u.test(n(this).children("a").text());
});
i =
e && -1 !== i.index(this.active.next())
? this.active.nextAll(".ui-menu-item")
: i;
i.length ||
((r = String.fromCharCode(t.keyCode)),
(u = RegExp("^" + o(r), "i")),
(i = this.activeMenu
.children(".ui-menu-item")
.filter(function () {
return u.test(n(this).children("a").text());
})));
i.length
? (this.focus(t, i),
i.length > 1
? ((this.previousFilter = r),
(this.filterTimer = this._delay(function () {
delete this.previousFilter;
}, 1e3)))
: delete this.previousFilter)
: delete this.previousFilter;
}
s && t.preventDefault();
},
_activate: function (n) {
this.active.is(".ui-state-disabled") ||
(this.active.children("a[aria-haspopup='true']").length
? this.expand(n)
: this.select(n));
},
refresh: function () {
var t,
r = this.options.icons.submenu,
i = this.element.find(this.options.menus);
i.filter(":not(.ui-menu)")
.addClass("ui-menu ui-widget ui-widget-content ui-corner-all")
.hide()
.attr({
role: this.options.role,
"aria-hidden": "true",
"aria-expanded": "false",
})
.each(function () {
var t = n(this),
i = t.prev("a"),
u = n("")
.addClass("ui-menu-icon ui-icon " + r)
.data("ui-menu-submenu-carat", !0);
i.attr("aria-haspopup", "true").prepend(u);
t.attr("aria-labelledby", i.attr("id"));
});
t = i.add(this.element);
t.children(":not(.ui-menu-item):has(a)")
.addClass("ui-menu-item")
.attr("role", "presentation")
.children("a")
.uniqueId()
.addClass("ui-corner-all")
.attr({ tabIndex: -1, role: this._itemRole() });
t.children(":not(.ui-menu-item)").each(function () {
var t = n(this);
/[^\-—–\s]/.test(t.text()) ||
t.addClass("ui-widget-content ui-menu-divider");
});
t.children(".ui-state-disabled").attr("aria-disabled", "true");
this.active &&
!n.contains(this.element[0], this.active[0]) &&
this.blur();
},
_itemRole: function () {
return { menu: "menuitem", listbox: "option" }[this.options.role];
},
focus: function (n, t) {
var i, r;
this.blur(n, n && "focus" === n.type);
this._scrollIntoView(t);
this.active = t.first();
r = this.active.children("a").addClass("ui-state-focus");
this.options.role &&
this.element.attr("aria-activedescendant", r.attr("id"));
this.active
.parent()
.closest(".ui-menu-item")
.children("a:first")
.addClass("ui-state-active");
n && "keydown" === n.type
? this._close()
: (this.timer = this._delay(function () {
this._close();
}, this.delay));
i = t.children(".ui-menu");
i.length && /^mouse/.test(n.type) && this._startOpening(i);
this.activeMenu = t.parent();
this._trigger("focus", n, { item: t });
},
_scrollIntoView: function (t) {
var e, o, i, r, u, f;
this._hasScroll() &&
((e = parseFloat(n.css(this.activeMenu[0], "borderTopWidth")) || 0),
(o = parseFloat(n.css(this.activeMenu[0], "paddingTop")) || 0),
(i = t.offset().top - this.activeMenu.offset().top - e - o),
(r = this.activeMenu.scrollTop()),
(u = this.activeMenu.height()),
(f = t.height()),
0 > i
? this.activeMenu.scrollTop(r + i)
: i + f > u && this.activeMenu.scrollTop(r + i - u + f));
},
blur: function (n, t) {
t || clearTimeout(this.timer);
this.active &&
(this.active.children("a").removeClass("ui-state-focus"),
(this.active = null),
this._trigger("blur", n, { item: this.active }));
},
_startOpening: function (n) {
clearTimeout(this.timer);
"true" === n.attr("aria-hidden") &&
(this.timer = this._delay(function () {
this._close();
this._open(n);
}, this.delay));
},
_open: function (t) {
var i = n.extend({ of: this.active }, this.options.position);
clearTimeout(this.timer);
this.element
.find(".ui-menu")
.not(t.parents(".ui-menu"))
.hide()
.attr("aria-hidden", "true");
t.show()
.removeAttr("aria-hidden")
.attr("aria-expanded", "true")
.position(i);
},
collapseAll: function (t, i) {
clearTimeout(this.timer);
this.timer = this._delay(function () {
var r = i
? this.element
: n(t && t.target).closest(this.element.find(".ui-menu"));
r.length || (r = this.element);
this._close(r);
this.blur(t);
this.activeMenu = r;
}, this.delay);
},
_close: function (n) {
n || (n = this.active ? this.active.parent() : this.element);
n.find(".ui-menu")
.hide()
.attr("aria-hidden", "true")
.attr("aria-expanded", "false")
.end()
.find("a.ui-state-active")
.removeClass("ui-state-active");
},
collapse: function (n) {
var t =
this.active &&
this.active.parent().closest(".ui-menu-item", this.element);
t && t.length && (this._close(), this.focus(n, t));
},
expand: function (n) {
var t =
this.active &&
this.active.children(".ui-menu ").children(".ui-menu-item").first();
t &&
t.length &&
(this._open(t.parent()),
this._delay(function () {
this.focus(n, t);
}));
},
next: function (n) {
this._move("next", "first", n);
},
previous: function (n) {
this._move("prev", "last", n);
},
isFirstItem: function () {
return this.active && !this.active.prevAll(".ui-menu-item").length;
},
isLastItem: function () {
return this.active && !this.active.nextAll(".ui-menu-item").length;
},
_move: function (n, t, i) {
var r;
this.active &&
(r =
"first" === n || "last" === n
? this.active["first" === n ? "prevAll" : "nextAll"](
".ui-menu-item"
).eq(-1)
: this.active[n + "All"](".ui-menu-item").eq(0));
(r && r.length && this.active) ||
(r = this.activeMenu.children(".ui-menu-item")[t]());
this.focus(i, r);
},
nextPage: function (t) {
var i, r, u;
return this.active
? (this.isLastItem() ||
(this._hasScroll()
? ((r = this.active.offset().top),
(u = this.element.height()),
this.active.nextAll(".ui-menu-item").each(function () {
return (i = n(this)), 0 > i.offset().top - r - u;
}),
this.focus(t, i))
: this.focus(
t,
this.activeMenu
.children(".ui-menu-item")
[this.active ? "last" : "first"]()
)),
undefined)
: (this.next(t), undefined);
},
previousPage: function (t) {
var i, r, u;
return this.active
? (this.isFirstItem() ||
(this._hasScroll()
? ((r = this.active.offset().top),
(u = this.element.height()),
this.active.prevAll(".ui-menu-item").each(function () {
return (i = n(this)), i.offset().top - r + u > 0;
}),
this.focus(t, i))
: this.focus(
t,
this.activeMenu.children(".ui-menu-item").first()
)),
undefined)
: (this.next(t), undefined);
},
_hasScroll: function () {
return this.element.outerHeight() < this.element.prop("scrollHeight");
},
select: function (t) {
this.active = this.active || n(t.target).closest(".ui-menu-item");
var i = { item: this.active };
this.active.has(".ui-menu").length || this.collapseAll(t, !0);
this._trigger("select", t, i);
},
});
})(jQuery);
!(function (n, t, i, r) {
"function" == typeof define && define.amd
? define(function () {
return (n.fullpage = r(t, i)), n.fullpage;
})
: "object" == typeof exports
? (module.exports = r(t, i))
: (t.fullpage = r(t, i));
})(this, window, document, function (n, t) {
"use strict";
function b(t, i) {
n.console && n.console[t] && n.console[t]("fullPage: " + i);
}
function i(n, i) {
return (i = 1 < arguments.length ? i : t) ? i.querySelectorAll(n) : null;
}
function ft(n) {
var r, u, t, i;
for (n = n || {}, r = 1, u = arguments.length; r < u; ++r)
if (((t = arguments[r]), t))
for (i in t)
t.hasOwnProperty(i) &&
(n[i] =
"[object Object]" !== Object.prototype.toString.call(t[i])
? t[i]
: ft(n[i], t[i]));
return n;
}
function h(n, t) {
return (
null != n &&
(n.classList
? n.classList.contains(t)
: new RegExp("(^| )" + t + "( |$)", "gi").test(n.className))
);
}
function d() {
return "innerHeight" in n ? n.innerHeight : t.documentElement.offsetHeight;
}
function vt() {
return n.innerWidth;
}
function f(n, t) {
var i, r;
for (i in ((n = tt(n)), t))
if (t.hasOwnProperty(i) && null !== i)
for (r = 0; r < n.length; r++) n[r].style[i] = t[i];
return n;
}
function ui(n, t, i) {
for (var r = n[i]; r && !a(r, t); ) r = r[i];
return r;
}
function fi(n, t) {
return ui(n, t, "previousElementSibling");
}
function ei(n, t) {
return ui(n, t, "nextElementSibling");
}
function ir(n) {
return n.previousElementSibling;
}
function oi(n) {
return n.nextElementSibling;
}
function rr(n) {
return n[n.length - 1];
}
function o(n, t) {
n = yt(n) ? n[0] : n;
for (
var u = null != t ? i(t, n.parentNode) : n.parentNode.childNodes,
f = 0,
r = 0;
r < u.length;
r++
) {
if (u[r] == n) return f;
1 == u[r].nodeType && f++;
}
return -1;
}
function tt(n) {
return yt(n) ? n : [n];
}
function si(n) {
n = tt(n);
for (var t = 0; t < n.length; t++) n[t].style.display = "none";
return n;
}
function ur(n) {
n = tt(n);
for (var t = 0; t < n.length; t++) n[t].style.display = "block";
return n;
}
function yt(n) {
return (
"[object Array]" === Object.prototype.toString.call(n) ||
"[object NodeList]" === Object.prototype.toString.call(n)
);
}
function e(n, t) {
var i, r;
for (n = tt(n), i = 0; i < n.length; i++)
(r = n[i]), r.classList ? r.classList.add(t) : (r.className += " " + t);
return n;
}
function l(n, t) {
var f, r, u, i;
for (n = tt(n), f = t.split(" "), r = 0; r < f.length; r++)
for (t = f[r], u = 0; u < n.length; u++)
(i = n[u]),
i.classList
? i.classList.remove(t)
: (i.className = i.className.replace(
new RegExp(
"(^|\\b)" + t.split(" ").join("|") + "(\\b|$)",
"gi"
),
" "
));
return n;
}
function pt(n, t) {
t.appendChild(n);
}
function fr(n, i, r) {
var e, u, f;
for (i = i || t.createElement("div"), u = 0; u < n.length; u++)
(f = n[u]),
((!r || u) && r) ||
((e = i.cloneNode(!0)), f.parentNode.insertBefore(e, f)),
e.appendChild(f);
return n;
}
function hi(n, t) {
fr(n, t, !0);
}
function er(n, t) {
for (
"string" == typeof t && (t = rt(t)), n.appendChild(t);
n.firstChild !== t;
)
t.appendChild(n.firstChild);
}
function or(n) {
for (var i = t.createDocumentFragment(); n.firstChild; )
i.appendChild(n.firstChild);
n.parentNode.replaceChild(i, n);
}
function c(n, t) {
return n && 1 === n.nodeType ? (a(n, t) ? n : c(n.parentNode, t)) : null;
}
function wt(n, t) {
li(n, n.nextSibling, t);
}
function ci(n, t) {
li(n, n, t);
}
function li(n, t, i) {
yt(i) || ("string" == typeof i && (i = rt(i)), (i = [i]));
for (var r = 0; r < i.length; r++) n.parentNode.insertBefore(i[r], t);
}
function et() {
var i = t.documentElement;
return (n.pageYOffset || i.scrollTop) - (i.clientTop || 0);
}
function it(n) {
return Array.prototype.filter.call(n.parentNode.children, function (t) {
return t !== n;
});
}
function k(n) {
n.preventDefault ? n.preventDefault() : (n.returnValue = !1);
}
function y(n) {
if ("function" == typeof n) return !0;
var t = Object.prototype.toString(n);
return "[object Function]" === t || "[object GeneratorFunction]" === t;
}
function ai(i, r, u) {
var f;
u = void 0 === u ? {} : u;
"function" == typeof n.CustomEvent
? (f = new CustomEvent(r, { detail: u }))
: (f = t.createEvent("CustomEvent")).initCustomEvent(r, !0, !0, u);
i.dispatchEvent(f);
}
function a(n, t) {
return (
n.matches ||
n.matchesSelector ||
n.msMatchesSelector ||
n.mozMatchesSelector ||
n.webkitMatchesSelector ||
n.oMatchesSelector
).call(n, t);
}
function vi(n, t) {
if ("boolean" == typeof t)
for (var i = 0; i < n.length; i++)
n[i].style.display = t ? "block" : "none";
return n;
}
function rt(n) {
var i = t.createElement("div");
return (i.innerHTML = n.trim()), i.firstChild;
}
function sr(n) {
var i, t;
for (n = tt(n), i = 0; i < n.length; i++)
(t = n[i]), t && t.parentElement && t.parentNode.removeChild(t);
}
function yi(n, t, i) {
for (var r = n[i], u = []; r; )
(a(r, t) || null == t) && u.push(r), (r = r[i]);
return u;
}
function hr(n, t) {
return yi(n, t, "nextElementSibling");
}
function cr(n, t) {
return yi(n, t, "previousElementSibling");
}
var pi = "fullpage-wrapper",
wi = "." + pi,
ot = "fp-responsive",
bt = "fp-notransition",
kt = "fp-destroyed",
ct = "fp-enabled",
dt = "fp-viewing",
s = "active",
ut = "." + s,
nt = "fp-completely",
st = "fp-section",
r = "." + st,
u = r + ut,
bi = "fp-tableCell",
ki = "." + bi,
lr = "fp-auto-height",
ar = "fp-normal-scroll",
di = "fp-nav",
w = "#" + di,
vr = "fp-tooltip",
gt = "fp-slide",
v = "." + gt,
p = v + ut,
ht = "fp-slides",
g = "." + ht,
ni = "fp-slidesContainer",
ti = "." + ni,
ii = "fp-table",
gi = "fp-slidesNav",
lt = "." + gi,
nr = lt + " a",
at = ".fp-controlArrow",
yr = "fp-prev",
ri = at + ".fp-prev",
tr = at + ".fp-next";
return (
n.NodeList &&
!NodeList.prototype.forEach &&
(NodeList.prototype.forEach = function (t, i) {
i = i || n;
for (var r = 0; r < this.length; r++) t.call(i, this[r], r, this);
}),
(n.fp_utils = {
$: i,
deepExtend: ft,
hasClass: h,
getWindowHeight: d,
css: f,
until: ui,
prevUntil: fi,
nextUntil: ei,
prev: ir,
next: oi,
last: rr,
index: o,
getList: tt,
hide: si,
show: ur,
isArrayOrList: yt,
addClass: e,
removeClass: l,
appendTo: pt,
wrap: fr,
wrapAll: hi,
wrapInner: er,
unwrap: or,
closest: c,
after: wt,
before: ci,
insertBefore: li,
getScrollTop: et,
siblings: it,
preventDefault: k,
isFunction: y,
trigger: ai,
matches: a,
toggle: vi,
createElementFromHTML: rt,
remove: sr,
filter: function (n, t) {
Array.prototype.filter.call(n, t);
},
untilAll: yi,
nextAll: hr,
prevAll: cr,
showError: b,
}),
function (tt, yt) {
function ru(n, t) {
var r, e;
n || wu(0);
bf("autoScrolling", n, t);
r = i(u)[0];
yt.autoScrolling && !yt.scrollBar
? (f(kf, { overflow: "hidden", height: "100%" }),
le(nu.recordHistory, "internal"),
f(li, { "-ms-touch-action": "none", "touch-action": "none" }),
null != r && wu(r.offsetTop))
: (f(kf, { overflow: "visible", height: "initial" }),
le(!!yt.autoScrolling && nu.recordHistory, "internal"),
f(li, { "-ms-touch-action": "", "touch-action": "" }),
null != r) &&
((e = ge(r.offsetTop)), e.element.scrollTo(0, e.options));
}
function le(n, t) {
bf("recordHistory", n, t);
}
function su(n, t) {
bf("scrollingSpeed", n, t);
}
function ae(n, t) {
bf("fitToSection", n, t);
}
function ve(i) {
i
? ((function () {
var i,
r = "",
u,
f;
n.addEventListener
? (i = "addEventListener")
: ((i = "attachEvent"), (r = "on"));
u =
"onwheel" in t.createElement("div")
? "wheel"
: void 0 !== t.onmousewheel
? "mousewheel"
: "DOMMouseScroll";
f = !!yo && { passive: !1 };
"DOMMouseScroll" == u
? t[i](r + "MozMousePixelScroll", uu, f)
: t[i](r + u, uu, f);
})(),
li.addEventListener("mousedown", ds),
li.addEventListener("mouseup", gs))
: (t.addEventListener
? (t.removeEventListener("mousewheel", uu, !1),
t.removeEventListener("wheel", uu, !1),
t.removeEventListener("MozMousePixelScroll", uu, !1))
: t.detachEvent("onmousewheel", uu),
li.removeEventListener("mousedown", ds),
li.removeEventListener("mouseup", gs));
}
function ye(n, t) {
void 0 !== t
? (t = t.replace(/ /g, "").split(",")).forEach(function (t) {
wf(n, t, "m");
})
: wf(n, "all", "m");
}
function hu(n) {
n
? (ve(!0),
(function () {
if (du || gu) {
yt.autoScrolling &&
(fr.removeEventListener(kr.touchmove, ke, { passive: !1 }),
fr.addEventListener(kr.touchmove, ke, { passive: !1 }));
var n = yt.touchWrapper;
n.removeEventListener(kr.touchstart, de);
n.removeEventListener(kr.touchmove, cf, { passive: !1 });
n.addEventListener(kr.touchstart, de);
n.addEventListener(kr.touchmove, cf, { passive: !1 });
}
})())
: (ve(!1),
(function () {
if (du || gu) {
yt.autoScrolling &&
(fr.removeEventListener(kr.touchmove, cf, { passive: !1 }),
fr.removeEventListener(kr.touchmove, ke, { passive: !1 }));
var n = yt.touchWrapper;
n.removeEventListener(kr.touchstart, de);
n.removeEventListener(kr.touchmove, cf, { passive: !1 });
}
})());
}
function go(n, t) {
void 0 !== t
? (t = t.replace(/ /g, "").split(",")).forEach(function (t) {
wf(n, t, "k");
})
: (wf(n, "all", "k"), (yt.keyboardScrolling = n));
}
function cu() {
var n = fi(i(u)[0], r);
!n && (yt.loopTop || yt.continuousVertical) && (n = rr(i(r)));
null != n && fu(n, null, !0);
}
function ef() {
var n = ei(i(u)[0], r);
!n && (yt.loopBottom || yt.continuousVertical) && (n = i(r)[0]);
null != n && fu(n, null, !1);
}
function pe(n, t) {
su(0, "internal");
lu(n, t);
su(nu.scrollingSpeed, "internal");
}
function lu(n, t) {
var i = fo(n);
void 0 !== t ? eo(n, t) : null != i && fu(i);
}
function of(n) {
cs("right", n);
}
function sf(n) {
cs("left", n);
}
function we(t) {
var c, s, l;
if (!h(li, kt)) {
for (
br = !0, pr = d(), gf = vt(), c = i(r), s = 0;
s < c.length;
++s
) {
var e = c[s],
a = i(g, e)[0],
w = i(v, e);
yt.verticalCentered && f(i(ki, e), { height: sh(e) + "px" });
f(e, { height: pr + "px" });
1 < w.length && pu(a, i(p, a)[0]);
}
yt.scrollOverflow && nf.createScrollBarForAll();
l = o(i(u)[0], r);
l && pe(l + 1);
br = !1;
y(yt.afterResize) &&
t &&
yt.afterResize.call(li, n.innerWidth, n.innerHeight);
y(yt.afterReBuild) && !t && yt.afterReBuild.call(li);
}
}
function ns() {
return h(fr, ot);
}
function hf(n) {
var t = ns();
n
? t ||
(ru(!1, "internal"),
ae(!1, "internal"),
si(i(w)),
e(fr, ot),
y(yt.afterResponsive) && yt.afterResponsive.call(li, n),
yt.scrollOverflow && nf.createScrollBarForAll())
: t &&
(ru(nu.autoScrolling, "internal"),
ae(nu.autoScrolling, "internal"),
ur(i(w)),
l(fr, ot),
y(yt.afterResponsive) && yt.afterResponsive.call(li, n));
}
function ts(n) {
var t = n.target;
t && c(t, w + " a")
? function (n) {
k(n);
var t = o(c(this, w + " li"));
fu(i(r)[t]);
}.call(t, n)
: a(t, ".fp-tooltip")
? function () {
ai(ir(this), "click");
}.call(t)
: a(t, at)
? function () {
var n = c(this, r);
h(this, yr) ? yi.m.left && sf(n) : yi.m.right && of(n);
}.call(t, n)
: a(t, nr) || null != c(t, nr)
? function (n) {
k(n);
var t = i(g, c(this, r))[0],
u = i(v, t)[o(c(this, "li"))];
pu(t, u);
}.call(t, n)
: c(t, yt.menu + " [data-menuanchor]") &&
function (n) {
i(yt.menu)[0] &&
(yt.lockAnchors || !yt.anchors.length) &&
(k(n), lu(this.getAttribute("data-menuanchor")));
}.call(t, n);
}
function is(n, i) {
t["fp_" + n] = i;
t.addEventListener(n, rs, !0);
}
function rs(n) {
var r = n.type,
u = !1,
f = yt.scrollOverflow,
i = "mouseleave" === r ? n.toElement || n.relatedTarget : n.target;
if (i == t || !i)
return hu(!0), void (f && yt.scrollOverflowHandler.setIscroll(i, !0));
"touchend" === r &&
((oe = !1),
setTimeout(function () {
oe = !0;
}, 800));
("mouseenter" !== r || oe) &&
(yt.normalScrollElements.split(",").forEach(function (n) {
if (!u) {
var t = a(i, n),
r = c(i, n);
(t || r) &&
(ui.shared.isNormalScrollElement ||
(hu(!1), f && yt.scrollOverflowHandler.setIscroll(i, !1)),
(ui.shared.isNormalScrollElement = !0),
(u = !0));
}
}),
!u &&
ui.shared.isNormalScrollElement &&
(hu(!0),
f && yt.scrollOverflowHandler.setIscroll(i, !0),
(ui.shared.isNormalScrollElement = !1)));
}
function us() {
var n = d(),
t = vt();
(pr === n && gf === t) || ((pr = n), (gf = t), we(!0));
}
function rc(n, h, c) {
var k = 100 * c,
d = 100 / c,
w = t.createElement("div"),
l,
b,
y,
a;
w.className = ht;
hi(h, w);
y = t.createElement("div");
y.className = ni;
hi(h, y);
f(i(ti, n), { width: k + "%" });
1 < c &&
(yt.controlArrows &&
((l = n),
(b = [
rt(''),
rt(''),
]),
wt(i(g, l)[0], b),
"#fff" !== yt.controlArrowColor &&
(f(i(tr, l), {
"border-color":
"transparent transparent transparent " + yt.controlArrowColor,
}),
f(i(ri, l), {
"border-color":
"transparent " +
yt.controlArrowColor +
" transparent transparent",
})),
yt.loopHorizontal || si(i(ri, l))),
yt.slidesNavigation &&
(function (n, t) {
var r, u, o;
for (
pt(rt(''), n),
r = i(lt, n)[0],
e(r, "fp-" + yt.slidesNavPosition),
u = 0;
u < t;
u++
)
(o = i(v, n)[u]),
pt(
rt(
'- ' +
fs(u, "Slide", o) +
"
"
),
i("ul", r)[0]
);
f(r, { "margin-left": "-" + r.innerWidth / 2 + "px" });
e(i("a", i("li", r)[0]), s);
})(n, c));
h.forEach(function (n) {
f(n, { width: d + "%" });
yt.verticalCentered && oh(n);
});
a = i(p, n)[0];
null != a && (0 !== o(i(u), r) || (0 === o(i(u), r) && 0 !== o(a)))
? yh(a, "internal")
: e(h[0], s);
}
function fs(n, t, i) {
var r = "Section" === t ? yt.anchors[n] : i.getAttribute("data-anchor");
return yt.navigationTooltips[n] || r || t + " " + (n + 1);
}
function es() {
var f,
t,
n = i(u)[0];
e(n, nt);
yu(n);
as();
vf(n);
yt.scrollOverflow && yt.scrollOverflowHandler.afterLoad();
f = io();
t = fo(f.section);
(f.section && t && (void 0 === t || o(t) !== o(so))) ||
!y(yt.afterLoad) ||
dr("afterLoad", {
activeSection: n,
element: n,
direction: null,
anchorLink: n.getAttribute("data-anchor"),
sectionIndex: o(n, r),
});
y(yt.afterRender) && dr("afterRender");
}
function os() {
var n, g, w, tt, rt, ut, t;
if (!br && (!yt.autoScrolling || yt.scrollBar)) {
var f = et(),
ct = ((ut = bo < (rt = f) ? "down" : "up"), (he = bo = rt), ut),
c = 0,
lt = f + d() / 2,
at = fr.offsetHeight - d() === f,
a = i(r);
if (at) c = a.length - 1;
else if (f)
for (t = 0; t < a.length; ++t) a[t].offsetTop <= lt && (c = t);
else c = 0;
if (
((g = ct),
(w = i(u)[0].offsetTop),
(tt = w + d()),
("up" != g ? w <= et() : tt >= et() + d()) &&
(h(i(u)[0], nt) || (e(i(u)[0], nt), l(it(i(u)[0]), nt))),
!h((n = a[c]), s))
) {
se = !0;
var ft,
ot,
b = i(u)[0],
vt = o(b, r) + 1,
pt = uo(n),
v = n.getAttribute("data-anchor"),
st = o(n, r) + 1,
k = i(p, n)[0],
ht = {
activeSection: b,
sectionIndex: st - 1,
anchorLink: v,
element: n,
leavingSection: vt,
direction: pt,
};
k && ((ot = k.getAttribute("data-anchor")), (ft = o(k)));
wr &&
(e(n, s),
l(it(n), s),
y(yt.onLeave) && dr("onLeave", ht),
y(yt.afterLoad) && dr("afterLoad", ht),
to(b),
yu(n),
vf(n),
ro(v, st - 1),
yt.anchors.length && (tu = v),
oo(ft, ot, v));
clearTimeout(re);
re = setTimeout(function () {
se = !1;
}, 100);
}
yt.fitToSection &&
(clearTimeout(ue),
(ue = setTimeout(function () {
yt.fitToSection && i(u)[0].offsetHeight <= pr && ss();
}, yt.fitToSectionDelay)));
}
}
function ss() {
wr && ((br = !0), fu(i(u)[0]), (br = !1));
}
function be(n) {
var t, r, f;
if (yi.m[n])
if (((t = "down" === n ? ef : cu), yt.scrollOverflow))
if (
((r = yt.scrollOverflowHandler.scrollable(i(u)[0])),
(f = "down" === n ? "bottom" : "top"),
null != r)
) {
if (!yt.scrollOverflowHandler.isScrolled(f, r)) return !0;
t();
} else t();
else t();
}
function ke(n) {
yt.autoScrolling && lf(n) && yi.m.up && k(n);
}
function cf(t) {
var f = c(t.target, r) || i(u)[0],
e;
lf(t) &&
(yt.autoScrolling && k(t),
(e = vh(t)),
(ou = e.y),
(uf = e.x),
i(g, f).length && Math.abs(rf - uf) > Math.abs(eu - ou)
? !gr &&
Math.abs(rf - uf) > (vt() / 100) * yt.touchSensitivity &&
(uf < rf ? yi.m.right && of(f) : yi.m.left && sf(f))
: yt.autoScrolling &&
wr &&
Math.abs(eu - ou) > (n.innerHeight / 100) * yt.touchSensitivity &&
(ou < eu ? be("down") : eu < ou && be("up")));
}
function lf(n) {
return void 0 === n.pointerType || "mouse" != n.pointerType;
}
function de(n) {
if ((yt.fitToSection && (tf = !1), lf(n))) {
var t = vh(n);
eu = t.y;
rf = t.x;
}
}
function hs(n, t) {
for (
var r = 0, u = n.slice(Math.max(n.length - t, 1)), i = 0;
i < u.length;
i++
)
r += u[i];
return Math.ceil(r / t);
}
function uu(t) {
var r = new Date().getTime(),
o = h(i(".fp-completely")[0], ar),
f,
e;
if (!yi.m.down && !yi.m.up) return k(t), !1;
if (yt.autoScrolling && !ku && !o) {
var u = (t = t || n.event).wheelDelta || -t.deltaY || -t.detail,
s = Math.max(-1, Math.min(1, u)),
c = void 0 !== t.wheelDeltaX || void 0 !== t.deltaX,
l =
Math.abs(t.wheelDeltaX) < Math.abs(t.wheelDelta) ||
Math.abs(t.deltaX) < Math.abs(t.deltaY) ||
!c;
return (
149 < iu.length && iu.shift(),
iu.push(Math.abs(u)),
yt.scrollBar && k(t),
(f = r - ko),
((ko = r), 200 < f && (iu = []), wr) &&
((e = hs(iu, 10)),
hs(iu, 70) <= e && l && be(s < 0 ? "down" : "up")),
!1
);
}
yt.fitToSection && (tf = !1);
}
function cs(n, t) {
var s = null == t ? i(u)[0] : t,
r = i(g, s)[0],
f,
e,
o;
if (!(null == r || gr || i(v, r).length < 2)) {
if (
((f = i(p, r)[0]),
(e = null),
null == (e = "left" === n ? fi(f, v) : ei(f, v)))
) {
if (!yt.loopHorizontal) return;
o = it(f);
e = "left" === n ? o[o.length - 1] : o[0];
}
gr = !ui.test.isTesting;
pu(r, e, n);
}
}
function ls() {
for (var t = i(p), n = 0; n < t.length; n++) yh(t[n], "internal");
}
function fu(n, t, f) {
var w, b, tt, v, k, d, g, rt, ut, c, nt, a;
if (
null != n &&
((c = {
element: n,
callback: t,
isMovementUp: f,
dtop:
((b = (w = n).offsetHeight),
(tt = w.offsetTop),
(k = he < (v = tt)),
(d = v - pr + b),
(g = yt.bigSectionsDestination),
pr < b
? ((k || g) && "bottom" !== g) || (v = d)
: (k || (br && null == oi(w))) && (v = d),
(he = v)),
yMovement: uo(n),
anchorLink: n.getAttribute("data-anchor"),
sectionIndex: o(n, r),
activeSlide: i(p, n)[0],
activeSection: i(u)[0],
leavingSection: o(i(u), r) + 1,
localIsResizing: br,
}),
!(
(c.activeSection == n && !br) ||
(yt.scrollBar && et() === c.dtop && !h(n, lr))
))
) {
if (
(null != c.activeSlide &&
((rt = c.activeSlide.getAttribute("data-anchor")),
(ut = o(c.activeSlide))),
!c.localIsResizing) &&
((nt = c.yMovement),
void 0 !== f && (nt = f ? "up" : "down"),
(c.direction = nt),
y(yt.onLeave) && !1 === dr("onLeave", c))
)
return;
yt.autoScrolling &&
yt.continuousVertical &&
void 0 !== c.isMovementUp &&
((!c.isMovementUp && "up" == c.yMovement) ||
(c.isMovementUp && "down" == c.yMovement)) &&
((a = c).isMovementUp
? ci(i(u)[0], hr(a.activeSection, r))
: wt(i(u)[0], cr(a.activeSection, r).reverse()),
wu(i(u)[0].offsetTop),
ls(),
(a.wrapAroundElements = a.activeSection),
(a.dtop = a.element.offsetTop),
(a.yMovement = uo(a.element)),
(c = a));
c.localIsResizing || to(c.activeSection);
yt.scrollOverflow && yt.scrollOverflowHandler.beforeLeave();
e(n, s);
l(it(n), s);
yu(n);
yt.scrollOverflow && yt.scrollOverflowHandler.onLeave();
wr = ui.test.isTesting;
oo(ut, rt, c.anchorLink, c.sectionIndex),
(function (n) {
var t = yt.scrollingSpeed < 700,
u = t ? 700 : yt.scrollingSpeed,
r,
i;
yt.css3 && yt.autoScrolling && !yt.scrollBar
? ((r = "translate3d(0px, -" + Math.round(n.dtop) + "px, 0px)"),
hh(r, !0),
yt.scrollingSpeed
? (clearTimeout(ie),
(ie = setTimeout(function () {
af(n);
wr = !t;
}, yt.scrollingSpeed)))
: af(n))
: ((i = ge(n.dtop)),
(ui.test.top = -n.dtop + "px"),
bh(i.element, i.options, yt.scrollingSpeed, function () {
yt.scrollBar
? setTimeout(function () {
af(n);
}, 30)
: (af(n), (wr = !t));
}));
t &&
(clearTimeout(ee),
(ee = setTimeout(function () {
wr = !0;
}, u)));
})(c);
tu = c.anchorLink;
ro(c.anchorLink, c.sectionIndex);
}
}
function dr(n, t) {
var e,
s,
r,
o,
f =
((s = n),
(r = t),
(o = yt.v2compatible
? {
afterRender: function () {
return [li];
},
onLeave: function () {
return [
r.activeSection,
r.leavingSection,
r.sectionIndex + 1,
r.direction,
];
},
afterLoad: function () {
return [r.element, r.anchorLink, r.sectionIndex + 1];
},
afterSlideLoad: function () {
return [
r.destiny,
r.anchorLink,
r.sectionIndex + 1,
r.slideAnchor,
r.slideIndex,
];
},
onSlideLeave: function () {
return [
r.prevSlide,
r.anchorLink,
r.sectionIndex + 1,
r.prevSlideIndex,
r.direction,
r.slideIndex,
];
},
}
: {
afterRender: function () {
return {
section: au(i(u)[0]),
slide: vu(i(p, i(u)[0])[0]),
};
},
onLeave: function () {
return {
origin: au(r.activeSection),
destination: au(r.element),
direction: r.direction,
};
},
afterLoad: function () {
return o.onLeave();
},
afterSlideLoad: function () {
return {
section: au(r.section),
origin: vu(r.prevSlide),
destination: vu(r.destiny),
direction: r.direction,
};
},
onSlideLeave: function () {
return o.afterSlideLoad();
},
})[s]());
if (yt.v2compatible) {
if (!1 === yt[n].apply(f[0], f.slice(1))) return !1;
} else if (
(ai(li, n, f),
!1 ===
yt[n].apply(
f[Object.keys(f)[0]],
((e = f),
Object.keys(e).map(function (n) {
return e[n];
}))
))
)
return !1;
return !0;
}
function au(n) {
return n ? new gh(n) : null;
}
function vu(n) {
return n ? new oc(n) : null;
}
function ge(t) {
var r = {};
return (
yt.autoScrolling && !yt.scrollBar
? ((r.options = -t), (r.element = i(wi)[0]))
: ((r.options = t), (r.element = n)),
r
);
}
function af(n) {
var t;
null != (t = n).wrapAroundElements &&
(t.isMovementUp
? ci(i(r)[0], t.wrapAroundElements)
: wt(i(r)[i(r).length - 1], t.wrapAroundElements),
wu(i(u)[0].offsetTop),
ls());
y(yt.afterLoad) && !n.localIsResizing && dr("afterLoad", n);
yt.scrollOverflow && yt.scrollOverflowHandler.afterLoad();
n.localIsResizing || vf(n.element);
e(n.element, nt);
l(it(n.element), nt);
as();
wr = !0;
y(n.callback) && n.callback();
}
function no(n, t) {
n.setAttribute(t, n.getAttribute("data-" + t));
n.removeAttribute("data-" + t);
}
function as() {
var n =
i(".fp-auto-height")[0] ||
(ns() && i(".fp-auto-height-responsive")[0]);
yt.lazyLoading &&
n &&
i(r + ":not(" + ut + ")").forEach(function (n) {
var t, i, r;
t = n.getBoundingClientRect();
i = t.top;
r = t.bottom;
((i + 2 < pr && 0 < i) || (2 < r && r < pr)) && yu(n);
});
}
function yu(n) {
yt.lazyLoading &&
i(
"img[data-src], img[data-srcset], source[data-src], source[data-srcset], video[data-src], audio[data-src], iframe[data-src]",
yf(n)
).forEach(function (t) {
if (
(["src", "srcset"].forEach(function (i) {
var r = t.getAttribute("data-" + i);
null != r &&
r &&
(no(t, i),
t.addEventListener("load", function () {
vs(n);
}));
}),
a(t, "source"))
) {
var i = c(t, "video, audio");
i &&
(i.load(),
(i.onloadeddata = function () {
vs(n);
}));
}
});
}
function vs(n) {
yt.scrollOverflow &&
(clearTimeout(po),
(po = setTimeout(function () {
h(fr, ot) || nf.createScrollBar(n);
}, 200)));
}
function vf(n) {
var t = yf(n);
i("video, audio", t).forEach(function (n) {
n.hasAttribute("data-autoplay") &&
"function" == typeof n.play &&
n.play();
});
i('iframe[src*="youtube.com/embed/"]', t).forEach(function (n) {
n.hasAttribute("data-autoplay") && ys(n);
n.onload = function () {
n.hasAttribute("data-autoplay") && ys(n);
};
});
}
function ys(n) {
n.contentWindow.postMessage(
'{"event":"command","func":"playVideo","args":""}',
"*"
);
}
function to(n) {
var t = yf(n);
i("video, audio", t).forEach(function (n) {
n.hasAttribute("data-keepplaying") ||
"function" != typeof n.pause ||
n.pause();
});
i('iframe[src*="youtube.com/embed/"]', t).forEach(function (n) {
/youtube\.com\/embed\//.test(n.getAttribute("src")) &&
!n.hasAttribute("data-keepplaying") &&
n.contentWindow.postMessage(
'{"event":"command","func":"pauseVideo","args":""}',
"*"
);
});
}
function yf(n) {
var t = i(p, n);
return t.length && (n = t[0]), n;
}
function ps() {
var t = io(),
n = t.section,
i = t.slide;
n && (yt.animateAnchor ? eo(n, i) : pe(n, i));
}
function ws() {
if (!se && !yt.lockAnchors) {
var i = io(),
n = i.section,
t = i.slide,
r = void 0 === tu,
u = void 0 === tu && void 0 === t && !gr;
n &&
n.length &&
((n && n !== tu && !r) || u || (!gr && df != t)) &&
eo(n, t);
}
}
function io() {
var f,
e,
r = n.location.hash,
t,
u,
i;
return (
r.length &&
((t = r.replace("#", "").split("/")),
(u = -1 < r.indexOf("#/")),
(f = u ? "/" + t[1] : decodeURIComponent(t[0])),
(i = u ? t[2] : t[1]),
i && i.length && (e = decodeURIComponent(i))),
{ section: f, slide: e }
);
}
function bs(n) {
clearTimeout(lo);
var f = t.activeElement,
e = n.keyCode;
9 === e
? (function (n) {
function d(n) {
return k(n), e[0] ? e[0].focus() : null;
}
var l,
o,
s,
a,
h,
y,
w,
b = n.shiftKey,
f = t.activeElement,
e = nh(yf(i(u)[0]));
((l = n),
(o = nh(t)),
(s = o.indexOf(t.activeElement)),
(a = l.shiftKey ? s - 1 : s + 1),
(h = o[a]),
(y = vu(c(h, v))),
(w = au(c(h, r))),
y || w) &&
(f ? null == c(f, u + "," + u + " " + p) && (f = d(n)) : d(n),
((!b && f == e[e.length - 1]) || (b && f == e[0])) && k(n));
})(n)
: a(f, "textarea") ||
a(f, "input") ||
a(f, "select") ||
"true" === f.getAttribute("contentEditable") ||
"" === f.getAttribute("contentEditable") ||
!yt.keyboardScrolling ||
!yt.autoScrolling ||
(-1 < [40, 38, 32, 33, 34].indexOf(e) && k(n),
(ku = n.ctrlKey),
(lo = setTimeout(function () {
!(function (n) {
var e = n.shiftKey,
u = t.activeElement,
f = a(u, "video") || a(u, "audio");
if (wr || !([37, 39].indexOf(n.keyCode) < 0))
switch (n.keyCode) {
case 38:
case 33:
yi.k.up && cu();
break;
case 32:
if (e && yi.k.up && !f) {
cu();
break;
}
case 40:
case 34:
yi.k.down && ((32 === n.keyCode && f) || ef());
break;
case 36:
yi.k.up && lu(1);
break;
case 35:
yi.k.down && lu(i(r).length);
break;
case 37:
yi.k.left && sf();
break;
case 39:
yi.k.right && of();
}
})(n);
}, 150)));
}
function ks(n) {
ne && (ku = n.ctrlKey);
}
function ds(n) {
2 == n.which && ((ff = n.pageY), li.addEventListener("mousemove", th));
}
function gs(n) {
2 == n.which && li.removeEventListener("mousemove", th);
}
function nh(n) {
return [].slice.call(i(tc, n)).filter(function (n) {
return "-1" !== n.getAttribute("tabindex") && null !== n.offsetParent;
});
}
function uc() {
ne = !0;
}
function fc() {
ku = ne = !1;
}
function th(n) {
yt.autoScrolling &&
(wr &&
(n.pageY < ff && yi.m.up
? cu()
: n.pageY > ff && yi.m.down && ef()),
(ff = n.pageY));
}
function pu(n, t, u) {
var w,
b,
v = c(n, r),
a = {
slides: n,
destiny: t,
direction: u,
destinyPos: { left: t.offsetLeft },
slideIndex: o(t),
section: v,
sectionIndex: o(v, r),
anchorLink: v.getAttribute("data-anchor"),
slidesNav: i(lt, v)[0],
slideAnchor: pf(t),
prevSlide: i(p, v)[0],
prevSlideIndex: o(i(p, v)[0]),
localIsResizing: br,
};
a.xMovement =
((w = a.prevSlideIndex),
(b = a.slideIndex),
w == b ? "none" : b < w ? "left" : "right");
a.direction = a.direction ? a.direction : a.xMovement;
a.localIsResizing || (wr = !1);
yt.onSlideLeave &&
!a.localIsResizing &&
"none" !== a.xMovement &&
y(yt.onSlideLeave) &&
!1 === dr("onSlideLeave", a)
? (gr = !1)
: (e(t, s),
l(it(t), s),
a.localIsResizing || (to(a.prevSlide), yu(t)),
!yt.loopHorizontal &&
yt.controlArrows &&
(vi(i(ri, v), 0 !== a.slideIndex), vi(i(tr, v), null != oi(t))),
h(v, s) &&
!a.localIsResizing &&
oo(a.slideIndex, a.slideAnchor, a.anchorLink, a.sectionIndex),
(function (n, t, r) {
var u = t.destinyPos,
e;
yt.css3
? ((e = "translate3d(-" + Math.round(u.left) + "px, 0px, 0px)"),
(ui.test.translate3dH[t.sectionIndex] = e),
f(fh(i(ti, n)), ph(e)),
(co = setTimeout(function () {
r && ih(t);
}, yt.scrollingSpeed)))
: ((ui.test.left[t.sectionIndex] = Math.round(u.left)),
bh(n, Math.round(u.left), yt.scrollingSpeed, function () {
r && ih(t);
}));
})(n, a, !0));
}
function ih(n) {
var t, r;
t = n.slidesNav;
r = n.slideIndex;
yt.slidesNavigation &&
null != t &&
(l(i(ut, t), s), e(i("a", i("li", t)[r]), s));
n.localIsResizing ||
(y(yt.afterSlideLoad) && dr("afterSlideLoad", n),
(wr = !0),
vf(n.destiny));
gr = !1;
}
function rh() {
br = !0;
clearTimeout(te);
te = setTimeout(function () {
for (var n = 0; n < 4; n++) ho = setTimeout(ec, 200 * n);
}, 200);
}
function ec() {
var n, i;
(uh(), du)
? ((n = t.activeElement),
a(n, "textarea") ||
a(n, "input") ||
a(n, "select") ||
((i = d()),
Math.abs(i - ce) > Math.max(ce, i) / 5 && (we(!0), (ce = i))))
: us();
}
function uh() {
var t = yt.responsive || yt.responsiveWidth,
i = yt.responsiveHeight,
r = t && n.innerWidth < t,
u = i && n.innerHeight < i;
t && i ? hf(r || u) : t ? hf(r) : i && hf(u);
}
function fh(n) {
var t = "all " + yt.scrollingSpeed + "ms " + yt.easingcss3;
return l(n, bt), f(n, { "-webkit-transition": t, transition: t });
}
function eh(n) {
return e(n, bt);
}
function ro(n, t) {
var u, r, f;
u = n;
i(yt.menu).forEach(function (n) {
yt.menu &&
null != n &&
(l(i(ut, n), s), e(i('[data-menuanchor="' + u + '"]', n), s));
});
r = n;
f = t;
yt.navigation &&
null != i(w)[0] &&
(l(i(ut, i(w)[0]), s),
e(
r
? i('a[href="#' + r + '"]', i(w)[0])
: i("a", i("li", i(w)[0])[f]),
s
));
}
function uo(n) {
var t = o(i(u)[0], r),
f = o(n, r);
return t == f ? "none" : f < t ? "up" : "down";
}
function oh(n) {
if (!h(n, ii)) {
var i = t.createElement("div");
i.className = bi;
i.style.height = sh(n) + "px";
e(n, ii);
er(n, i);
}
}
function sh(n) {
var i = pr,
t,
u;
return (
(yt.paddingTop || yt.paddingBottom) &&
((t = n),
h(t, st) || (t = c(n, r)),
(u =
parseInt(getComputedStyle(t)["padding-top"]) +
parseInt(getComputedStyle(t)["padding-bottom"])),
(i = pr - u)),
i
);
}
function hh(n, t) {
t ? fh(li) : eh(li);
f(li, ph(n));
ui.test.translate3d = n;
setTimeout(function () {
l(li, bt);
}, 10);
}
function fo(n) {
var t = i(r + '[data-anchor="' + n + '"]', li)[0],
u;
return t || ((u = void 0 !== n ? n - 1 : 0), (t = i(r)[u])), t;
}
function eo(n, t) {
var r = fo(n),
u,
o,
f,
e;
null != r &&
((e =
(null ==
(f = i(v + '[data-anchor="' + (u = t) + '"]', (o = r))[0]) &&
((u = void 0 !== u ? u : 0), (f = i(v, o)[u])),
f)),
pf(r) === tu || h(r, s)
? ch(e)
: fu(r, function () {
ch(e);
}));
}
function ch(n) {
null != n && pu(c(n, g), n);
}
function oo(n, t, i) {
var r = "";
yt.anchors.length &&
!yt.lockAnchors &&
(n
? (null != i && (r = i),
null == t && (t = n),
lh(r + "/" + (df = t)))
: (null != n && (df = t), lh(i)));
ah();
}
function lh(t) {
if (yt.recordHistory) location.hash = t;
else if (du || gu) n.history.replaceState(void 0, void 0, "#" + t);
else {
var i = n.location.href.split("#")[0];
n.location.replace(i + "#" + t);
}
}
function pf(n) {
if (!n) return null;
var t = n.getAttribute("data-anchor"),
i = o(n);
return null == t && (t = i), t;
}
function ah() {
var t = i(u)[0],
r = i(p, t)[0],
o = pf(t),
s = pf(r),
n = String(o),
f;
r && (n = n + "-" + s);
n = n.replace("/", "-").replace("#", "");
f = new RegExp("\\b\\s?" + dt + "-[^\\s]+\\b", "g");
fr.className = fr.className.replace(f, "");
e(fr, dt + "-" + n);
}
function vh(n) {
var t = [];
return (
(t.y =
void 0 !== n.pageY && (n.pageY || n.pageX)
? n.pageY
: n.touches[0].pageY),
(t.x =
void 0 !== n.pageX && (n.pageY || n.pageX)
? n.pageX
: n.touches[0].pageX),
gu &&
lf(n) &&
yt.scrollBar &&
void 0 !== n.touches &&
((t.y = n.touches[0].pageY), (t.x = n.touches[0].pageX)),
t
);
}
function yh(n, t) {
su(0, "internal");
void 0 !== t && (br = !0);
pu(c(n, g), n);
void 0 !== t && (br = !1);
su(nu.scrollingSpeed, "internal");
}
function wu(n) {
var t = Math.round(n),
i;
yt.css3 && yt.autoScrolling && !yt.scrollBar
? hh("translate3d(0px, -" + t + "px, 0px)", !1)
: yt.autoScrolling && !yt.scrollBar
? (f(li, { top: -t + "px" }), (ui.test.top = -t + "px"))
: ((i = ge(t)), kh(i.element, i.options));
}
function ph(n) {
return {
"-webkit-transform": n,
"-moz-transform": n,
"-ms-transform": n,
transform: n,
};
}
function wf(n, t, i) {
"all" !== t
? (yi[i][t] = n)
: Object.keys(yi[i]).forEach(function (t) {
yi[i][t] = n;
});
}
function bf(n, t, i) {
yt[n] = t;
"internal" !== i && (nu[n] = t);
}
function wh() {
var n = yt.licenseKey,
t = "font-size: 15px;background:yellow;";
nc
? n &&
n.length < 20 &&
(console.warn(
"%c This website was made using fullPage.js slider. More info on the following website:",
t
),
console.warn("%c https://alvarotrigo.com/fullPage/", t))
: (b(
"error",
"Fullpage.js version 3 has changed its license to GPLv3 and it requires a `licenseKey` option. Read about it here:"
),
b("error", "https://github.com/alvarotrigo/fullPage.js#options."));
h(bu, ct)
? b(
"error",
"Fullpage.js can only be initialized once and you are doing it multiple times!"
)
: (yt.continuousVertical &&
(yt.loopTop || yt.loopBottom) &&
((yt.continuousVertical = !1),
b(
"warn",
"Option `loopTop/loopBottom` is mutually exclusive with `continuousVertical`; `continuousVertical` disabled"
)),
!yt.scrollOverflow ||
(!yt.scrollBar && yt.autoScrolling) ||
b(
"warn",
"Options scrollBar:true and autoScrolling:false are mutually exclusive with scrollOverflow:true. Sections with scrollOverflow might not work well in Firefox"
),
!yt.continuousVertical ||
(!yt.scrollBar && yt.autoScrolling) ||
((yt.continuousVertical = !1),
b(
"warn",
"Scroll bars (`scrollBar:true` or `autoScrolling:false`) are mutually exclusive with `continuousVertical`; `continuousVertical` disabled"
)),
yt.scrollOverflow &&
null == yt.scrollOverflowHandler &&
((yt.scrollOverflow = !1),
b(
"error",
"The option `scrollOverflow:true` requires the file `scrolloverflow.min.js`. Please include it before fullPage.js."
)),
ic.forEach(function (n) {
yt[n] &&
b(
"warn",
"fullpage.js extensions require fullpage.extensions.min.js file instead of the usual fullpage.js. Requested: " +
n
);
}),
yt.anchors.forEach(function (n) {
var r = [].slice.call(i("[name]")).filter(function (t) {
return (
t.getAttribute("name") &&
t.getAttribute("name").toLowerCase() == n.toLowerCase()
);
}),
t = [].slice.call(i("[id]")).filter(function (t) {
return (
t.getAttribute("id") &&
t.getAttribute("id").toLowerCase() == n.toLowerCase()
);
}),
u;
(t.length || r.length) &&
(b(
"error",
"data-anchor tags can not have the same value as any `id` element on the site (or `name` element for IE)."
),
(u = t.length ? "id" : "name"),
(t.length || r.length) &&
b(
"error",
'"' +
n +
'" is is being used by another element `' +
u +
"` property"
));
}));
}
function bh(t, i, r, u) {
var f,
s =
(f = t).self != n && h(f, ht)
? f.scrollLeft
: !yt.autoScrolling || yt.scrollBar
? et()
: f.offsetTop,
c = i - s,
e = 0,
o;
tf = !0;
o = function () {
if (tf) {
var f = i;
e += 20;
r && (f = n.fp_easings[yt.easing](e, s, c, r));
kh(t, f);
e < r ? setTimeout(o, 20) : void 0 !== u && u();
} else e < r && u();
};
o();
}
function kh(t, i) {
!yt.autoScrolling || yt.scrollBar || (t.self != n && h(t, ht))
? t.self != n && h(t, ht)
? (t.scrollLeft = i)
: t.scrollTo(0, i)
: (t.style.top = i + "px");
}
function dh(n, t) {
this.anchor = n.getAttribute("data-anchor");
this.item = n;
this.index = o(n, t);
this.isLast =
this.index === n.parentElement.querySelectorAll(t).length - 1;
this.isFirst = !this.index;
}
function gh(n) {
dh.call(this, n, r);
}
function oc(n) {
dh.call(this, n, v);
}
var nc =
(yt &&
new RegExp(
"([\\d\\w]{8}-){3}[\\d\\w]{8}|^(?=.*?[A-Y])(?=.*?[a-y])(?=.*?[0-8])(?=.*?[#?!@$%^&*-]).{8,}$"
).test(yt.licenseKey)) ||
-1 < t.domain.indexOf("alvarotrigo.com"),
kf = i("html, body"),
bu = i("html")[0],
fr = i("body")[0],
ui,
fe;
if (!h(bu, ct)) {
ui = {};
yt = ft(
{
menu: !1,
anchors: [],
lockAnchors: !1,
navigation: !1,
navigationPosition: "right",
navigationTooltips: [],
showActiveTooltip: !1,
slidesNavigation: !1,
slidesNavPosition: "bottom",
scrollBar: !1,
hybrid: !1,
css3: !0,
scrollingSpeed: 700,
autoScrolling: !0,
fitToSection: !0,
fitToSectionDelay: 1e3,
easing: "easeInOutCubic",
easingcss3: "ease",
loopBottom: !1,
loopTop: !1,
loopHorizontal: !0,
continuousVertical: !1,
continuousHorizontal: !1,
scrollHorizontally: !1,
interlockedSlides: !1,
dragAndMove: !1,
offsetSections: !1,
resetSliders: !1,
fadingEffect: !1,
normalScrollElements: null,
scrollOverflow: !1,
scrollOverflowReset: !1,
scrollOverflowHandler: n.fp_scrolloverflow
? n.fp_scrolloverflow.iscrollHandler
: null,
scrollOverflowOptions: null,
touchSensitivity: 5,
touchWrapper: "string" == typeof tt ? i(tt)[0] : tt,
bigSectionsDestination: null,
keyboardScrolling: !0,
animateAnchor: !0,
recordHistory: !0,
controlArrows: !0,
controlArrowColor: "#fff",
verticalCentered: !0,
sectionsColor: [],
paddingTop: 0,
paddingBottom: 0,
fixedElements: null,
responsive: 0,
responsiveWidth: 0,
responsiveHeight: 0,
responsiveSlides: !1,
parallax: !1,
parallaxOptions: {
type: "reveal",
percentage: 62,
property: "translate",
},
cards: !1,
cardsOptions: {
perspective: 100,
fadeContent: !0,
fadeBackground: !0,
},
sectionSelector: ".section",
slideSelector: ".slide",
v2compatible: !1,
afterLoad: null,
onLeave: null,
afterRender: null,
afterResize: null,
afterReBuild: null,
afterSlideLoad: null,
onSlideLeave: null,
afterResponsive: null,
lazyLoading: !0,
},
yt
);
var tu,
df,
ku,
so,
gr = !1,
du = navigator.userAgent.match(
/(iPhone|iPod|iPad|Android|playbook|silk|BlackBerry|BB10|Windows Phone|Tizen|Bada|webOS|IEMobile|Opera Mini)/
),
gu =
"ontouchstart" in n ||
0 < navigator.msMaxTouchPoints ||
navigator.maxTouchPoints,
li = "string" == typeof tt ? i(tt)[0] : tt,
pr = d(),
gf = vt(),
br = !1,
ne = !0,
wr = !0,
iu = [],
yi = { m: { up: !0, down: !0, left: !0, right: !0 } };
yi.k = ft({}, yi.m);
var nf,
te,
ho,
ie,
co,
re,
ue,
lo,
ao,
vo = n.PointerEvent
? { down: "pointerdown", move: "pointermove" }
: { down: "MSPointerDown", move: "MSPointerMove" },
kr = {
touchmove: "ontouchmove" in n ? "touchmove" : vo.move,
touchstart: "ontouchstart" in n ? "touchstart" : vo.down,
},
tc =
'a[href], area[href], input:not([disabled]), select:not([disabled]), textarea:not([disabled]), button:not([disabled]), iframe, object, embed, [tabindex="0"], [contenteditable]',
yo = !1;
try {
fe = Object.defineProperty({}, "passive", {
get: function () {
yo = !0;
},
});
n.addEventListener("testPassive", null, fe);
n.removeEventListener("testPassive", null, fe);
} catch (tt) {}
var tf,
po,
ee,
nu = ft({}, yt),
wo = !1,
oe = !0,
ic = [
"parallax",
"scrollOverflowReset",
"dragAndMove",
"offsetSections",
"fadingEffect",
"responsiveSlides",
"continuousHorizontal",
"interlockedSlides",
"scrollHorizontally",
"resetSliders",
"cards",
];
wh();
n.fp_easings = ft(n.fp_easings, {
easeInOutCubic: function (n, t, i, r) {
return (n /= r / 2) < 1
? (i / 2) * n * n * n + t
: (i / 2) * ((n -= 2) * n * n + 2) + t;
},
});
li &&
((ui.version = "3.0.8"),
(ui.setAutoScrolling = ru),
(ui.setRecordHistory = le),
(ui.setScrollingSpeed = su),
(ui.setFitToSection = ae),
(ui.setLockAnchors = function (n) {
yt.lockAnchors = n;
}),
(ui.setMouseWheelScrolling = ve),
(ui.setAllowScrolling = ye),
(ui.setKeyboardScrolling = go),
(ui.moveSectionUp = cu),
(ui.moveSectionDown = ef),
(ui.silentMoveTo = pe),
(ui.moveTo = lu),
(ui.moveSlideRight = of),
(ui.moveSlideLeft = sf),
(ui.fitToSection = ss),
(ui.reBuild = we),
(ui.setResponsive = hf),
(ui.getFullpageData = function () {
return yt;
}),
(ui.destroy = function (u) {
ru(!1, "internal");
ye(!0);
hu(!1);
go(!1);
e(li, kt);
[co, ie, te, re, ue, ao, ho, ee].forEach(function (n) {
clearTimeout(n);
});
n.removeEventListener("scroll", os);
n.removeEventListener("hashchange", ws);
n.removeEventListener("resize", rh);
t.removeEventListener("keydown", bs);
t.removeEventListener("keyup", ks);
["click", "touchstart"].forEach(function (n) {
t.removeEventListener(n, ts);
});
["mouseenter", "touchstart", "mouseleave", "touchend"].forEach(
function (n) {
t.removeEventListener(n, rs, !0);
}
);
u &&
(wu(0),
i(
"img[data-src], source[data-src], audio[data-src], iframe[data-src]",
li
).forEach(function (n) {
no(n, "src");
}),
i("img[data-srcset]").forEach(function (n) {
no(n, "srcset");
}),
sr(i(w + ", " + lt + ", " + at)),
f(i(r), { height: "", "background-color": "", padding: "" }),
f(i(v), { width: "" }),
f(li, {
height: "",
position: "",
"-ms-touch-action": "",
"touch-action": "",
}),
f(kf, { overflow: "", height: "" }),
l(bu, ct),
l(fr, ot),
fr.className.split(/\s+/).forEach(function (n) {
0 === n.indexOf(dt) && l(fr, n);
}),
i(r + ", " + v).forEach(function (n) {
yt.scrollOverflowHandler &&
yt.scrollOverflow &&
yt.scrollOverflowHandler.remove(n);
l(n, ii + " " + s + " " + nt);
var t = n.getAttribute("data-fp-styles");
t && n.setAttribute("style", n.getAttribute("data-fp-styles"));
h(n, st) && !wo && n.removeAttribute("data-anchor");
}),
eh(li),
[ki, ti, g].forEach(function (n) {
i(n, li).forEach(function (n) {
or(n);
});
}),
f(li, { "-webkit-transition": "none", transition: "none" }),
n.scrollTo(0, 0),
[st, gt, ni].forEach(function (n) {
l(i("." + n), n);
}));
}),
(ui.getActiveSection = function () {
return new gh(i(u)[0]);
}),
(ui.getActiveSlide = function () {
return vu(i(p, i(u)[0])[0]);
}),
(ui.test = {
top: "0px",
translate3d: "translate3d(0px, 0px, 0px)",
translate3dH: (function () {
for (var n = [], t = 0; t < i(yt.sectionSelector, li).length; t++)
n.push("translate3d(0px, 0px, 0px)");
return n;
})(),
left: (function () {
for (var n = [], t = 0; t < i(yt.sectionSelector, li).length; t++)
n.push(0);
return n;
})(),
options: yt,
setAutoScrolling: ru,
}),
(ui.shared = { afterRenderActions: es, isNormalScrollElement: !1 }),
(n.fullpage_api = ui),
yt.$ &&
Object.keys(ui).forEach(function (n) {
yt.$.fn.fullpage[n] = ui[n];
}),
yt.css3 &&
(yt.css3 = (function () {
var r,
i = t.createElement("p"),
f = {
webkitTransform: "-webkit-transform",
OTransform: "-o-transform",
msTransform: "-ms-transform",
MozTransform: "-moz-transform",
transform: "transform",
};
for (var u in ((i.style.display = "block"),
t.body.insertBefore(i, null),
f))
void 0 !== i.style[u] &&
((i.style[u] = "translate3d(1px,1px,1px)"),
(r = n.getComputedStyle(i).getPropertyValue(f[u])));
return (
t.body.removeChild(i),
void 0 !== r && 0 < r.length && "none" !== r
);
})()),
(yt.scrollBar = yt.scrollBar || yt.hybrid),
(function () {
var t, n, u, f;
yt.anchors.length ||
((t = "[data-anchor]"),
(n = i(yt.sectionSelector.split(",").join(t + ",") + t, li)),
n.length &&
n.length === i(r).length &&
((wo = !0),
n.forEach(function (n) {
yt.anchors.push(n.getAttribute("data-anchor").toString());
})));
yt.navigationTooltips.length ||
((u = "[data-tooltip]"),
(f = i(yt.sectionSelector.split(",").join(u + ",") + u, li)),
f.length &&
f.forEach(function (n) {
yt.navigationTooltips.push(
n.getAttribute("data-tooltip").toString()
);
}));
})(),
(function () {
var k, y, it, b, a, p;
for (
f(li, { height: "100%", position: "relative" }),
e(li, pi),
e(bu, ct),
pr = d(),
l(li, kt),
e(i(yt.sectionSelector, li), st),
e(i(yt.slideSelector, li), gt),
k = i(r),
y = 0;
y < k.length;
y++
) {
var g = y,
n = k[y],
nt = i(v, n),
tt = nt.length;
n.setAttribute("data-fp-styles", n.getAttribute("style"));
a = n;
(p = g) || null != i(u)[0] || e(a, s);
so = i(u)[0];
f(a, { height: pr + "px" });
yt.paddingTop && f(a, { "padding-top": yt.paddingTop });
yt.paddingBottom && f(a, { "padding-bottom": yt.paddingBottom });
void 0 !== yt.sectionsColor[p] &&
f(a, { "background-color": yt.sectionsColor[p] });
void 0 !== yt.anchors[p] &&
a.setAttribute("data-anchor", yt.anchors[p]);
it = n;
b = g;
void 0 !== yt.anchors[b] && h(it, s) && ro(yt.anchors[b], b);
yt.menu &&
yt.css3 &&
null != c(i(yt.menu)[0], wi) &&
i(yt.menu).forEach(function (n) {
fr.appendChild(n);
});
0 < tt ? rc(n, nt, tt) : yt.verticalCentered && oh(n);
}
yt.fixedElements &&
yt.css3 &&
i(yt.fixedElements).forEach(function (n) {
fr.appendChild(n);
});
yt.navigation &&
(function () {
var l = t.createElement("div"),
v,
h,
f,
n,
a,
c;
for (
l.setAttribute("id", di),
v = t.createElement("ul"),
l.appendChild(v),
pt(l, fr),
h = i(w)[0],
e(h, "fp-" + yt.navigationPosition),
yt.showActiveTooltip && e(h, "fp-show-active"),
f = "",
n = 0;
n < i(r).length;
n++
)
(a = ""),
yt.anchors.length && (a = yt.anchors[n]),
(f +=
'- ' +
fs(n, "Section") +
""),
(c = yt.navigationTooltips[n]),
void 0 !== c &&
"" !== c &&
(f +=
'
' +
c +
"
"),
(f += " ");
i("ul", h)[0].innerHTML = f;
e(i("a", i("li", i(w)[0])[o(i(u)[0], r)]), s);
})();
i('iframe[src*="youtube.com/embed/"]', li).forEach(function (n) {
var i, r, t;
r = "enablejsapi=1";
t = (i = n).getAttribute("src");
i.setAttribute("src", t + (/\?/.test(t) ? "&" : "?") + r);
});
yt.scrollOverflow && (nf = yt.scrollOverflowHandler.init(yt));
})(),
ye(!0),
hu(!0),
ru(yt.autoScrolling, "internal"),
uh(),
ah(),
"complete" === t.readyState && ps(),
n.addEventListener("load", ps),
yt.scrollOverflow || es(),
(function () {
for (var n = 1; n < 4; n++) ao = setTimeout(us, 350 * n);
})(),
n.addEventListener("scroll", os),
n.addEventListener("hashchange", ws),
n.addEventListener("focus", uc),
n.addEventListener("blur", fc),
n.addEventListener("resize", rh),
t.addEventListener("keydown", bs),
t.addEventListener("keyup", ks),
["click", "touchstart"].forEach(function (n) {
t.addEventListener(n, ts);
}),
yt.normalScrollElements &&
(["mouseenter", "touchstart"].forEach(function (n) {
is(n, !1);
}),
["mouseleave", "touchend"].forEach(function (n) {
is(n, !0);
})));
var se = !1,
bo = 0,
eu = 0,
rf = 0,
ou = 0,
uf = 0,
ko = new Date().getTime(),
he = 0,
ff = 0,
ce = pr;
return ui;
}
wh();
}
);
});
window.jQuery &&
window.fullpage &&
(function (n, t) {
"use strict";
n && t
? (n.fn.fullpage = function (i) {
i = n.extend({}, i, { $: n });
new t(this[0], i);
})
: window.fp_utils.showError(
"error",
"jQuery is required to use the jQuery fullpage adapter!"
);
})(window.jQuery, window.fullpage);
!(function (n, t, i, r) {
"function" == typeof define && define.amd
? define(function () {
return (n.fullpage = r(t, i)), n.fullpage;
})
: "object" == typeof exports
? (module.exports = r(t, i))
: (t.fullpage = r(t, i));
})(this, window, document, function (n, t) {
"use strict";
function d(t, i) {
n.console && n.console[t] && n.console[t]("fullPage: " + i);
}
function i(n, i) {
return (i = 1 < arguments.length ? i : t) ? i.querySelectorAll(n) : null;
}
function ut(n) {
var r, u, t, i;
for (n = n || {}, r = 1, u = arguments.length; r < u; ++r)
if (((t = arguments[r]), t))
for (i in t)
t.hasOwnProperty(i) &&
(n[i] =
"[object Object]" !== Object.prototype.toString.call(t[i])
? t[i]
: ut(n[i], t[i]));
return n;
}
function h(n, t) {
return (
null != n &&
(n.classList
? n.classList.contains(t)
: new RegExp("(^| )" + t + "( |$)", "gi").test(n.className))
);
}
function g() {
return "innerHeight" in n ? n.innerHeight : t.documentElement.offsetHeight;
}
function pt() {
return n.innerWidth;
}
function o(n, t) {
var i, r;
for (i in ((n = tt(n)), t))
if (t.hasOwnProperty(i) && null !== i)
for (r = 0; r < n.length; r++) n[r].style[i] = t[i];
return n;
}
function oi(n, t, i) {
for (var r = n[i]; r && !l(r, t); ) r = r[i];
return r;
}
function si(n, t) {
return oi(n, t, "previousElementSibling");
}
function hi(n, t) {
return oi(n, t, "nextElementSibling");
}
function ci(n, t) {
if (null == t) return n.previousElementSibling;
var i = ci(n);
return i && l(i, t) ? i : null;
}
function wt(n, t) {
if (null == t) return n.nextElementSibling;
var i = wt(n);
return i && l(i, t) ? i : null;
}
function rr(n) {
return n[n.length - 1];
}
function f(n, t) {
n = ht(n) ? n[0] : n;
for (
var u = null != t ? i(t, n.parentNode) : n.parentNode.childNodes,
f = 0,
r = 0;
r < u.length;
r++
) {
if (u[r] == n) return f;
1 == u[r].nodeType && f++;
}
return -1;
}
function tt(n) {
return ht(n) ? n : [n];
}
function li(n) {
n = tt(n);
for (var t = 0; t < n.length; t++) n[t].style.display = "none";
return n;
}
function ur(n) {
n = tt(n);
for (var t = 0; t < n.length; t++) n[t].style.display = "block";
return n;
}
function ht(n) {
return (
"[object Array]" === Object.prototype.toString.call(n) ||
"[object NodeList]" === Object.prototype.toString.call(n)
);
}
function e(n, t) {
var i, r;
for (n = tt(n), i = 0; i < n.length; i++)
(r = n[i]), r.classList ? r.classList.add(t) : (r.className += " " + t);
return n;
}
function a(n, t) {
var f, r, u, i;
for (n = tt(n), f = t.split(" "), r = 0; r < f.length; r++)
for (t = f[r], u = 0; u < n.length; u++)
(i = n[u]),
i.classList
? i.classList.remove(t)
: (i.className = i.className.replace(
new RegExp(
"(^|\\b)" + t.split(" ").join("|") + "(\\b|$)",
"gi"
),
" "
));
return n;
}
function ct(n, t) {
t.appendChild(n);
}
function fr(n, i, r) {
var e, u, f;
for (i = i || t.createElement("div"), u = 0; u < n.length; u++)
(f = n[u]),
((!r || u) && r) ||
((e = i.cloneNode(!0)), f.parentNode.insertBefore(e, f)),
e.appendChild(f);
return n;
}
function ai(n, t) {
fr(n, t, !0);
}
function er(n, t) {
for (
"string" == typeof t && (t = it(t)), n.appendChild(t);
n.firstChild !== t;
)
t.appendChild(n.firstChild);
}
function or(n) {
for (var i = t.createDocumentFragment(); n.firstChild; )
i.appendChild(n.firstChild);
n.parentNode.replaceChild(i, n);
}
function c(n, t) {
return n && 1 === n.nodeType ? (l(n, t) ? n : c(n.parentNode, t)) : null;
}
function bt(n, t) {
yi(n, n.nextSibling, t);
}
function vi(n, t) {
yi(n, n, t);
}
function yi(n, t, i) {
ht(i) || ("string" == typeof i && (i = it(i)), (i = [i]));
for (var r = 0; r < i.length; r++) n.parentNode.insertBefore(i[r], t);
}
function kt() {
var i = t.documentElement;
return (n.pageYOffset || i.scrollTop) - (i.clientTop || 0);
}
function ft(n) {
return Array.prototype.filter.call(n.parentNode.children, function (t) {
return t !== n;
});
}
function k(n) {
n.preventDefault ? n.preventDefault() : (n.returnValue = !1);
}
function y(n) {
if ("function" == typeof n) return !0;
var t = Object.prototype.toString(n);
return "[object Function]" === t || "[object GeneratorFunction]" === t;
}
function w(i, r, u) {
var f;
u = void 0 === u ? {} : u;
"function" == typeof n.CustomEvent
? (f = new CustomEvent(r, { detail: u }))
: (f = t.createEvent("CustomEvent")).initCustomEvent(r, !0, !0, u);
i.dispatchEvent(f);
}
function l(n, t) {
return (
n.matches ||
n.matchesSelector ||
n.msMatchesSelector ||
n.mozMatchesSelector ||
n.webkitMatchesSelector ||
n.oMatchesSelector
).call(n, t);
}
function pi(n, t) {
if ("boolean" == typeof t)
for (var i = 0; i < n.length; i++)
n[i].style.display = t ? "block" : "none";
return n;
}
function it(n) {
var i = t.createElement("div");
return (i.innerHTML = n.trim()), i.firstChild;
}
function sr(n) {
var i, t;
for (n = tt(n), i = 0; i < n.length; i++)
(t = n[i]), t && t.parentElement && t.parentNode.removeChild(t);
}
function wi(n, t, i) {
for (var r = n[i], u = []; r; )
(l(r, t) || null == t) && u.push(r), (r = r[i]);
return u;
}
function hr(n, t) {
return wi(n, t, "nextElementSibling");
}
function cr(n, t) {
return wi(n, t, "previousElementSibling");
}
function lr(n, t) {
n.insertBefore(t, n.firstChild);
}
var bi = "fullpage-wrapper",
dt = "." + bi,
et = "fp-responsive",
gt = "fp-notransition",
ni = "fp-destroyed",
lt = "fp-enabled",
ti = "fp-viewing",
s = "active",
rt = "." + s,
at = "fp-completely",
ot = "fp-section",
r = "." + ot,
u = r + rt,
ki = "fp-tableCell",
di = "." + ki,
ar = "fp-auto-height",
vr = "fp-normal-scroll",
gi = "fp-nav",
b = "#" + gi,
yr = "fp-tooltip",
ii = "fp-slide",
v = "." + ii,
p = v + rt,
st = "fp-slides",
nt = "." + st,
ri = "fp-slidesContainer",
ui = "." + ri,
fi = "fp-table",
nr = "fp-slidesNav",
vt = "." + nr,
tr = vt + " a",
yt = ".fp-controlArrow",
pr = "fp-prev",
ei = yt + ".fp-prev",
ir = yt + ".fp-next";
return (
n.NodeList &&
!NodeList.prototype.forEach &&
(NodeList.prototype.forEach = function (t, i) {
i = i || n;
for (var r = 0; r < this.length; r++) t.call(i, this[r], r, this);
}),
(n.fp_utils = {
$: i,
deepExtend: ut,
hasClass: h,
getWindowHeight: g,
css: o,
until: oi,
prevUntil: si,
nextUntil: hi,
prev: ci,
next: wt,
last: rr,
index: f,
getList: tt,
hide: li,
show: ur,
isArrayOrList: ht,
addClass: e,
removeClass: a,
appendTo: ct,
wrap: fr,
wrapAll: ai,
wrapInner: er,
unwrap: or,
closest: c,
after: bt,
before: vi,
insertBefore: yi,
getScrollTop: kt,
siblings: ft,
preventDefault: k,
isFunction: y,
trigger: w,
matches: l,
toggle: pi,
createElementFromHTML: it,
remove: sr,
filter: function (n, t) {
Array.prototype.filter.call(n, t);
},
untilAll: wi,
nextAll: hr,
prevAll: cr,
showError: d,
prependTo: lr,
toggleClass: function (n, t, i) {
if (n.classList && null == i) n.classList.toggle(t);
else {
var r = h(n, t);
(r && null == i) || !i
? a(n, t)
: ((!r && null == i) || i) && e(n, t);
}
},
}),
function (tt, oi) {
function au(n, t) {
var r, f;
n || wu(0);
oe("autoScrolling", n, t);
r = i(u)[0];
oi.autoScrolling && !oi.scrollBar
? (o(se, { overflow: "hidden", height: "100%" }),
to(ou.recordHistory, "internal"),
o(wi, { "-ms-touch-action": "none", "touch-action": "none" }),
null != r && wu(r.offsetTop))
: (o(se, { overflow: "visible", height: "initial" }),
to(!!oi.autoScrolling && ou.recordHistory, "internal"),
o(wi, { "-ms-touch-action": "", "touch-action": "" }),
kc(wi),
null != r) &&
((f = ao(r.offsetTop)), f.element.scrollTo(0, f.options));
w(wi, "setAutoScrolling", n);
}
function to(n, t) {
oe("recordHistory", n, t);
}
function gu(n, t) {
"internal" !== t && br("fadingEffect") && yi.fadingEffect.update(n);
br("cards") && yi.cards.update(n);
oe("scrollingSpeed", n, t);
}
function io(n, t) {
oe("fitToSection", n, t);
}
function ro(i) {
i
? ((function () {
var i,
r = "",
u,
f;
n.addEventListener
? (i = "addEventListener")
: ((i = "attachEvent"), (r = "on"));
u =
"onwheel" in t.createElement("div")
? "wheel"
: void 0 !== t.onmousewheel
? "mousewheel"
: "DOMMouseScroll";
f = !!ys && { passive: !1 };
"DOMMouseScroll" == u
? t[i](r + "MozMousePixelScroll", vu, f)
: t[i](r + u, vu, f);
})(),
wi.addEventListener("mousedown", tc),
wi.addEventListener("mouseup", ic))
: (t.addEventListener
? (t.removeEventListener("mousewheel", vu, !1),
t.removeEventListener("wheel", vu, !1),
t.removeEventListener("MozMousePixelScroll", vu, !1))
: t.detachEvent("onmousewheel", vu),
wi.removeEventListener("mousedown", tc),
wi.removeEventListener("mouseup", ic));
}
function uo(n, t) {
void 0 !== t
? (t = t.replace(/ /g, "").split(",")).forEach(function (t) {
ee(n, t, "m");
})
: ee(n, "all", "m");
w(wi, "setAllowScrolling", { value: n, directions: t });
}
function nf(n) {
n
? (ro(!0),
(function () {
if (
(cf || bu) &&
(!br("dragAndMove") || "mouseonly" === oi.dragAndMove)
) {
oi.autoScrolling &&
(wr.removeEventListener(ru.touchmove, co, { passive: !1 }),
wr.addEventListener(ru.touchmove, co, { passive: !1 }));
var n = oi.touchWrapper;
n.removeEventListener(ru.touchstart, te);
n.removeEventListener(ru.touchmove, uf, { passive: !1 });
n.addEventListener(ru.touchstart, te);
n.addEventListener(ru.touchmove, uf, { passive: !1 });
}
})())
: (ro(!1),
(function () {
if (cf || bu) {
oi.autoScrolling &&
(wr.removeEventListener(ru.touchmove, uf, { passive: !1 }),
wr.removeEventListener(ru.touchmove, co, { passive: !1 }));
var n = oi.touchWrapper;
n.removeEventListener(ru.touchstart, te);
n.removeEventListener(ru.touchmove, uf, { passive: !1 });
}
})());
}
function gs(n, t) {
void 0 !== t
? (t = t.replace(/ /g, "").split(",")).forEach(function (t) {
ee(n, t, "k");
})
: (ee(n, "all", "k"), (oi.keyboardScrolling = n));
}
function tf() {
var n = si(i(u)[0], r);
!n && (oi.loopTop || oi.continuousVertical) && (n = rr(i(r)));
null != n && yu(n, null, !0);
}
function kf() {
var n = hi(i(u)[0], r);
!n && (oi.loopBottom || oi.continuousVertical) && (n = i(r)[0]);
null != n && yu(n, null, !1);
}
function fo(n, t) {
gu(0, "internal");
rf(n, t);
gu(ou.scrollingSpeed, "internal");
}
function rf(n, t) {
var i = ns(n);
void 0 !== t ? ts(n, t) : null != i && yu(i);
}
function df(n) {
lh("right", n);
}
function gf(n) {
lh("left", n);
}
function eo(t) {
var c, s, l;
if (!h(wi, ni)) {
for (
gr = !0, iu = g(), ce = pt(), c = i(r), s = 0;
s < c.length;
++s
) {
var e = c[s],
a = i(nt, e)[0],
b = i(v, e);
oi.verticalCentered && o(i(di, e), { height: ac(e) + "px" });
o(e, { height: oo(e) + "px" });
1 < b.length && su(a, i(p, a)[0]);
}
oi.scrollOverflow && lf.createScrollBarForAll();
l = f(i(u)[0], r);
l && !br("fadingEffect") && fo(l + 1);
gr = !1;
y(oi.afterResize) &&
t &&
oi.afterResize.call(wi, n.innerWidth, n.innerHeight);
y(oi.afterReBuild) && !t && oi.afterReBuild.call(wi);
w(wi, "afterRebuild");
}
}
function nh() {
return h(wr, et);
}
function ne(n) {
var t = nh();
n
? t ||
(au(!1, "internal"),
io(!1, "internal"),
li(i(b)),
e(wr, et),
y(oi.afterResponsive) && oi.afterResponsive.call(wi, n),
kr("responsiveSlides", "toSections"),
w(wi, "afterResponsive", n),
oi.scrollOverflow && lf.createScrollBarForAll())
: t &&
(au(ou.autoScrolling, "internal"),
io(ou.autoScrolling, "internal"),
ur(i(b)),
a(wr, et),
y(oi.afterResponsive) && oi.afterResponsive.call(wi, n),
kr("responsiveSlides", "toSlides"),
w(wi, "afterResponsive", n));
}
function th(n) {
var t = n.target;
t && c(t, b + " a")
? function (n) {
k(n);
var t = f(c(this, b + " li"));
yu(i(r)[t]);
}.call(t, n)
: l(t, ".fp-tooltip")
? function () {
w(ci(this), "click");
}.call(t)
: l(t, yt)
? function () {
var n = c(this, r);
h(this, pr) ? fr.m.left && gf(n) : fr.m.right && df(n);
}.call(t, n)
: l(t, tr) || null != c(t, tr)
? function (n) {
k(n);
var t = i(nt, c(this, r))[0],
u = i(v, t)[f(c(this, "li"))];
su(t, u);
}.call(t, n)
: c(t, oi.menu + " [data-menuanchor]") &&
function (n) {
i(oi.menu)[0] &&
(oi.lockAnchors || !oi.anchors.length) &&
(k(n), rf(this.getAttribute("data-menuanchor")));
}.call(t, n);
}
function ih(n, i) {
t["fp_" + n] = i;
t.addEventListener(n, rh, !0);
}
function rh(n) {
var r = n.type,
u = !1,
f = oi.scrollOverflow,
i = "mouseleave" === r ? n.toElement || n.relatedTarget : n.target;
if (i == t || !i)
return nf(!0), void (f && oi.scrollOverflowHandler.setIscroll(i, !0));
"touchend" === r &&
((de = !1),
setTimeout(function () {
de = !0;
}, 800));
("mouseenter" !== r || de) &&
(oi.normalScrollElements.split(",").forEach(function (n) {
if (!u) {
var t = l(i, n),
r = c(i, n);
(t || r) &&
(yi.shared.isNormalScrollElement ||
(nf(!1), f && oi.scrollOverflowHandler.setIscroll(i, !1)),
(yi.shared.isNormalScrollElement = !0),
(u = !0));
}
}),
!u &&
yi.shared.isNormalScrollElement &&
(nf(!0),
f && oi.scrollOverflowHandler.setIscroll(i, !0),
(yi.shared.isNormalScrollElement = !1)));
}
function uh() {
var n = g(),
t = pt();
(iu === n && ce === t) || ((iu = n), (ce = t), eo(!0));
}
function nu(t) {
var i = "fp_" + t + "Extension";
lu[t] = oi[t + "Key"];
yi[t] = void 0 !== n[i] ? new n[i]() : null;
yi[t] && yi[t].c(t);
}
function fh(n, h, c) {
var k = 100 * c,
d = 100 / c,
w = t.createElement("div"),
l,
b,
y,
a;
w.className = st;
ai(h, w);
y = t.createElement("div");
y.className = ri;
ai(h, y);
o(i(ui, n), { width: k + "%" });
1 < c &&
(oi.controlArrows &&
((l = n),
(b = [
it(''),
it(''),
]),
bt(i(nt, l)[0], b),
"#fff" !== oi.controlArrowColor &&
(o(i(ir, l), {
"border-color":
"transparent transparent transparent " + oi.controlArrowColor,
}),
o(i(ei, l), {
"border-color":
"transparent " +
oi.controlArrowColor +
" transparent transparent",
})),
oi.loopHorizontal || li(i(ei, l))),
oi.slidesNavigation &&
(function (n, t) {
var r, u, f;
for (
ct(it(''), n),
r = i(vt, n)[0],
e(r, "fp-" + oi.slidesNavPosition),
u = 0;
u < t;
u++
)
(f = i(v, n)[u]),
ct(
it(
'- ' +
oh(u, "Slide", f) +
"
"
),
i("ul", r)[0]
);
o(r, { "margin-left": "-" + r.innerWidth / 2 + "px" });
e(i("a", i("li", r)[0]), s);
})(n, c));
h.forEach(function (n) {
o(n, { width: d + "%" });
oi.verticalCentered && lc(n);
});
a = i(p, n)[0];
null != a && (0 !== f(i(u), r) || (0 === f(i(u), r) && 0 !== f(a)))
? (us(a, "internal"), e(a, "fp-initial"))
: e(h[0], s);
}
function oo(n) {
return oi.offsetSections && yi.offsetSections
? Math.round(yi.offsetSections.getWindowHeight(n))
: g();
}
function eh(n, t) {
t || null != i(u)[0] || e(n, s);
os = i(u)[0];
o(n, { height: oo(n) + "px" });
oi.paddingTop && o(n, { "padding-top": oi.paddingTop });
oi.paddingBottom && o(n, { "padding-bottom": oi.paddingBottom });
void 0 !== oi.sectionsColor[t] &&
o(n, { "background-color": oi.sectionsColor[t] });
void 0 !== oi.anchors[t] &&
n.setAttribute("data-anchor", oi.anchors[t]);
}
function oh(n, t, i) {
var r = "Section" === t ? oi.anchors[n] : i.getAttribute("data-anchor");
return oi.navigationTooltips[n] || r || t + " " + (n + 1);
}
function sh() {
var o,
t,
n = i(u)[0];
e(n, at);
pu(n);
vh();
re(n);
oi.scrollOverflow && oi.scrollOverflowHandler.afterLoad();
o = po();
t = ns(o.section);
(o.section && t && (void 0 === t || f(t) !== f(os))) ||
!y(oi.afterLoad) ||
fu("afterLoad", {
activeSection: n,
element: n,
direction: null,
anchorLink: n.getAttribute("data-anchor"),
sectionIndex: f(n, r),
});
y(oi.afterRender) && fu("afterRender");
w(wi, "afterRender");
}
function so() {
var n, t;
if (
(w(wi, "onScroll"),
(!oi.autoScrolling || oi.scrollBar || br("dragAndMove")) && !dc())
) {
var v = br("dragAndMove")
? Math.abs(yi.dragAndMove.getCurrentScroll())
: kt(),
o = 0,
ut = v + g() / 2,
et =
(br("dragAndMove")
? yi.dragAndMove.getDocumentHeight()
: wr.offsetHeight - g()) === v,
c = i(r);
if (et) o = c.length - 1;
else if (v)
for (t = 0; t < c.length; ++t) c[t].offsetTop <= ut && (o = t);
else o = 0;
if (!h((n = c[o]), s)) {
ge = !0;
var d,
nt,
b = i(u)[0],
tt = f(b, r) + 1,
ot = go(n),
l = n.getAttribute("data-anchor"),
it = f(n, r) + 1,
k = i(p, n)[0],
rt = {
activeSection: b,
sectionIndex: it - 1,
anchorLink: l,
element: n,
leavingSection: tt,
direction: ot,
};
k && ((nt = k.getAttribute("data-anchor")), (d = f(k)));
dr &&
(e(n, s),
a(ft(n), s),
kr("parallax", "afterLoad"),
y(oi.onLeave) && fu("onLeave", rt),
y(oi.afterLoad) && fu("afterLoad", rt),
br("resetSliders") &&
yi.resetSliders.apply({
localIsResizing: gr,
leavingSection: tt,
}),
yo(b),
pu(n),
re(n),
ko(l, it - 1),
oi.anchors.length && (hu = l),
is(d, nt, l));
clearTimeout(ye);
ye = setTimeout(function () {
ge = !1;
}, 100);
}
oi.fitToSection &&
(clearTimeout(pe),
(pe = setTimeout(function () {
oi.fitToSection && i(u)[0].offsetHeight <= iu && hh();
}, oi.fitToSectionDelay)));
}
}
function hh() {
dr && ((gr = !0), yu(i(u)[0]), (gr = !1));
}
function ho(n) {
var t, r, f;
if (fr.m[n])
if (
((t = "down" === n ? kf : tf),
br("scrollHorizontally") &&
(t = yi.scrollHorizontally.getScrollSection(n, t)),
oi.scrollOverflow)
)
if (
((r = oi.scrollOverflowHandler.scrollable(i(u)[0])),
(f = "down" === n ? "bottom" : "top"),
null != r)
) {
if (!oi.scrollOverflowHandler.isScrolled(f, r)) return !0;
t();
} else t();
else t();
}
function co(n) {
oi.autoScrolling && ff(n) && fr.m.up && k(n);
}
function uf(t) {
var f = c(t.target, r) || i(u)[0],
e;
ff(t) &&
(oi.autoScrolling && k(t),
(e = rs(t)),
(du = e.y),
(wf = e.x),
i(nt, f).length && Math.abs(pf - wf) > Math.abs(ku - du)
? !eu &&
Math.abs(pf - wf) > (pt() / 100) * oi.touchSensitivity &&
(wf < pf ? fr.m.right && df(f) : fr.m.left && gf(f))
: oi.autoScrolling &&
dr &&
Math.abs(ku - du) > (n.innerHeight / 100) * oi.touchSensitivity &&
(du < ku ? ho("down") : ku < du && ho("up")));
}
function ff(n) {
return void 0 === n.pointerType || "mouse" != n.pointerType;
}
function te(n) {
if ((oi.fitToSection && (vf = !1), ff(n))) {
var t = rs(n);
ku = t.y;
pf = t.x;
}
}
function ch(n, t) {
for (
var r = 0, u = n.slice(Math.max(n.length - t, 1)), i = 0;
i < u.length;
i++
)
r += u[i];
return Math.ceil(r / t);
}
function vu(t) {
var r = new Date().getTime(),
o = h(i(".fp-completely")[0], vr),
f,
e;
if (!fr.m.down && !fr.m.up) return k(t), !1;
if (oi.autoScrolling && !hf && !o) {
var u = (t = t || n.event).wheelDelta || -t.deltaY || -t.detail,
s = Math.max(-1, Math.min(1, u)),
c = void 0 !== t.wheelDeltaX || void 0 !== t.deltaX,
l =
Math.abs(t.wheelDeltaX) < Math.abs(t.wheelDelta) ||
Math.abs(t.deltaX) < Math.abs(t.deltaY) ||
!c;
return (
149 < cu.length && cu.shift(),
cu.push(Math.abs(u)),
oi.scrollBar && k(t),
(f = r - ks),
((ks = r), 200 < f && (cu = []), dr && !es()) &&
((e = ch(cu, 10)),
ch(cu, 70) <= e && l && ho(s < 0 ? "down" : "up")),
!1
);
}
oi.fitToSection && (vf = !1);
}
function lh(n, t) {
var s = null == t ? i(u)[0] : t,
r = i(nt, s)[0],
f,
e,
o;
if (!(null == r || es() || eu || i(v, r).length < 2)) {
if (
((f = i(p, r)[0]),
(e = null),
null == (e = "left" === n ? si(f, v) : hi(f, v)))
) {
if (!oi.loopHorizontal) return;
o = ft(f);
e = "left" === n ? o[o.length - 1] : o[0];
}
eu = !yi.test.isTesting;
su(r, e, n);
}
}
function lo() {
for (var t = i(p), n = 0; n < t.length; n++) us(t[n], "internal");
}
function ah(n) {
var r = n.offsetHeight,
u = n.offsetTop,
t = u,
i =
br("dragAndMove") && yi.dragAndMove.isGrabbing
? yi.dragAndMove.isScrollingDown()
: ds < u,
f = t - iu + r,
e = oi.bigSectionsDestination;
return (
iu < r
? ((i || e) && "bottom" !== e) || (t = f)
: (i || (gr && null == wt(n))) && (t = f),
oi.offsetSections &&
yi.offsetSections &&
(t = yi.offsetSections.getSectionPosition(i, t, n)),
(ds = t)
);
}
function yu(n, t, o) {
var k, d, c, v, b, l;
if (
null != n &&
((c = {
element: n,
callback: t,
isMovementUp: o,
dtop: ah(n),
yMovement: go(n),
anchorLink: n.getAttribute("data-anchor"),
sectionIndex: f(n, r),
activeSlide: i(p, n)[0],
activeSection: i(u)[0],
leavingSection: f(i(u), r) + 1,
localIsResizing: gr,
}),
!(
(c.activeSection == n && !gr) ||
(oi.scrollBar && kt() === c.dtop && !h(n, ar))
))
) {
if (
(null != c.activeSlide &&
((k = c.activeSlide.getAttribute("data-anchor")),
(d = f(c.activeSlide))),
!c.localIsResizing) &&
((v = c.yMovement),
void 0 !== o && (v = o ? "up" : "down"),
(c.direction = v),
y(oi.onLeave) && !1 === fu("onLeave", c))
)
return;
kr("parallax", "apply", c);
kr("cards", "apply", c);
oi.autoScrolling &&
oi.continuousVertical &&
void 0 !== c.isMovementUp &&
((!c.isMovementUp && "up" == c.yMovement) ||
(c.isMovementUp && "down" == c.yMovement)) &&
((l = c).isMovementUp
? vi(i(u)[0], hr(l.activeSection, r))
: bt(i(u)[0], cr(l.activeSection, r).reverse()),
wu(i(u)[0].offsetTop),
lo(),
(l.wrapAroundElements = l.activeSection),
(l.dtop = l.element.offsetTop),
(l.yMovement = go(l.element)),
(l.leavingSection = f(l.activeSection, r) + 1),
(l.sectionIndex = f(l.element, r)),
w(i(dt)[0], "onContinuousVertical", l),
(c = l));
br("scrollOverflowReset") &&
yi.scrollOverflowReset.setPrevious(c.activeSection);
c.localIsResizing || yo(c.activeSection);
oi.scrollOverflow && oi.scrollOverflowHandler.beforeLeave();
e(n, s);
a(ft(n), s);
pu(n);
oi.scrollOverflow && oi.scrollOverflowHandler.onLeave();
dr = yi.test.isTesting;
is(d, k, c.anchorLink, c.sectionIndex),
(function (n) {
var t = oi.scrollingSpeed < 700,
u = t ? 700 : oi.scrollingSpeed,
r,
i;
oi.css3 && oi.autoScrolling && !oi.scrollBar
? ((r = "translate3d(0px, -" + Math.round(n.dtop) + "px, 0px)"),
vc(r, !0),
oi.scrollingSpeed
? (clearTimeout(ve),
(ve = setTimeout(function () {
ie(n);
dr = !t;
}, oi.scrollingSpeed)))
: ie(n))
: ((i = ao(n.dtop)),
(yi.test.top = -n.dtop + "px"),
nl(i.element, i.options, oi.scrollingSpeed, function () {
oi.scrollBar
? setTimeout(function () {
ie(n);
}, 30)
: (ie(n), (dr = !t));
}));
t &&
(clearTimeout(ke),
(ke = setTimeout(function () {
dr = !0;
}, u)));
})(c);
hu = c.anchorLink;
ko(
c.anchorLink,
null == (b = c).wrapAroundElements
? b.sectionIndex
: b.isMovementUp
? i(r).length - 1
: 0
);
}
}
function fu(n, t) {
var e,
s,
r,
o,
f =
((s = n),
(r = t),
(o = oi.v2compatible
? {
afterRender: function () {
return [wi];
},
onLeave: function () {
return [
r.activeSection,
r.leavingSection,
r.sectionIndex + 1,
r.direction,
];
},
afterLoad: function () {
return [r.element, r.anchorLink, r.sectionIndex + 1];
},
afterSlideLoad: function () {
return [
r.destiny,
r.anchorLink,
r.sectionIndex + 1,
r.slideAnchor,
r.slideIndex,
];
},
onSlideLeave: function () {
return [
r.prevSlide,
r.anchorLink,
r.sectionIndex + 1,
r.prevSlideIndex,
r.direction,
r.slideIndex,
];
},
}
: {
afterRender: function () {
return {
section: ef(i(u)[0]),
slide: of(i(p, i(u)[0])[0]),
};
},
onLeave: function () {
return {
origin: ef(r.activeSection),
destination: ef(r.element),
direction: r.direction,
};
},
afterLoad: function () {
return o.onLeave();
},
afterSlideLoad: function () {
return {
section: ef(r.section),
origin: of(r.prevSlide),
destination: of(r.destiny),
direction: r.direction,
};
},
onSlideLeave: function () {
return o.afterSlideLoad();
},
})[s]());
if (oi.v2compatible) {
if (!1 === oi[n].apply(f[0], f.slice(1))) return !1;
} else if (
(w(wi, n, f),
!1 ===
oi[n].apply(
f[Object.keys(f)[0]],
((e = f),
Object.keys(e).map(function (n) {
return e[n];
}))
))
)
return !1;
return !0;
}
function ef(n) {
return n ? new rl(n) : null;
}
function of(n) {
return n ? new al(n) : null;
}
function ao(t) {
var r = {};
return (
oi.autoScrolling && !oi.scrollBar
? ((r.options = -t), (r.element = i(dt)[0]))
: ((r.options = t), (r.element = n)),
r
);
}
function ie(n) {
var t;
null != (t = n).wrapAroundElements &&
(t.isMovementUp
? vi(i(r)[0], t.wrapAroundElements)
: bt(i(r)[i(r).length - 1], t.wrapAroundElements),
wu(i(u)[0].offsetTop),
lo(),
(t.sectionIndex = f(t.element, r)),
(t.leavingSection = f(t.activeSection, r) + 1));
y(oi.afterLoad) && !n.localIsResizing && fu("afterLoad", n);
oi.scrollOverflow && oi.scrollOverflowHandler.afterLoad();
kr("parallax", "afterLoad");
kr("scrollOverflowReset", "reset");
br("resetSliders") && yi.resetSliders.apply(n);
n.localIsResizing || re(n.element);
e(n.element, at);
a(ft(n.element), at);
vh();
dr = !0;
y(n.callback) && n.callback();
}
function vo(n, t) {
n.setAttribute(t, n.getAttribute("data-" + t));
n.removeAttribute("data-" + t);
}
function vh() {
var n =
i(".fp-auto-height")[0] ||
(nh() && i(".fp-auto-height-responsive")[0]);
oi.lazyLoading &&
n &&
i(r + ":not(" + rt + ")").forEach(function (n) {
var t, i, r;
t = n.getBoundingClientRect();
i = t.top;
r = t.bottom;
((i + 2 < iu && 0 < i) || (2 < r && r < iu)) && pu(n);
});
}
function pu(n) {
oi.lazyLoading &&
i(
"img[data-src], img[data-srcset], source[data-src], source[data-srcset], video[data-src], audio[data-src], iframe[data-src]",
ue(n)
).forEach(function (t) {
if (
(["src", "srcset"].forEach(function (i) {
var r = t.getAttribute("data-" + i);
null != r &&
r &&
(vo(t, i),
t.addEventListener("load", function () {
yh(n);
}));
}),
l(t, "source"))
) {
var i = c(t, "video, audio");
i &&
(i.load(),
(i.onloadeddata = function () {
yh(n);
}));
}
});
}
function yh(n) {
oi.scrollOverflow &&
(clearTimeout(ps),
(ps = setTimeout(function () {
h(wr, et) || lf.createScrollBar(n);
}, 200)));
}
function re(n) {
var t = ue(n);
i("video, audio", t).forEach(function (n) {
n.hasAttribute("data-autoplay") &&
"function" == typeof n.play &&
n.play();
});
i('iframe[src*="youtube.com/embed/"]', t).forEach(function (n) {
n.hasAttribute("data-autoplay") && ph(n);
n.onload = function () {
n.hasAttribute("data-autoplay") && ph(n);
};
});
}
function ph(n) {
n.contentWindow.postMessage(
'{"event":"command","func":"playVideo","args":""}',
"*"
);
}
function yo(n) {
var t = ue(n);
i("video, audio", t).forEach(function (n) {
n.hasAttribute("data-keepplaying") ||
"function" != typeof n.pause ||
n.pause();
});
i('iframe[src*="youtube.com/embed/"]', t).forEach(function (n) {
/youtube\.com\/embed\//.test(n.getAttribute("src")) &&
!n.hasAttribute("data-keepplaying") &&
n.contentWindow.postMessage(
'{"event":"command","func":"pauseVideo","args":""}',
"*"
);
});
}
function ue(n) {
var t = i(p, n);
return t.length && (n = t[0]), n;
}
function tu(n) {
function i(n) {
var f,
e,
o,
s,
u,
h,
r = "",
i = 0;
for (n = n.replace(/[^A-Za-z0-9+/=]/g, ""); i < n.length; )
(f =
(t.indexOf(n.charAt(i++)) << 2) |
((s = t.indexOf(n.charAt(i++))) >> 4)),
(e = ((15 & s) << 4) | ((u = t.indexOf(n.charAt(i++))) >> 2)),
(o = ((3 & u) << 6) | (h = t.indexOf(n.charAt(i++)))),
(r += String.fromCharCode(f)),
64 != u && (r += String.fromCharCode(e)),
64 != h && (r += String.fromCharCode(o));
return (function (n) {
for (var f, r = "", t = 0, i = 0, u = 0; t < n.length; )
(i = n.charCodeAt(t)) < 128
? ((r += String.fromCharCode(i)), t++)
: 191 < i && i < 224
? ((u = n.charCodeAt(t + 1)),
(r += String.fromCharCode(((31 & i) << 6) | (63 & u))),
(t += 2))
: ((u = n.charCodeAt(t + 1)),
(f = n.charCodeAt(t + 2)),
(r += String.fromCharCode(
((15 & i) << 12) | ((63 & u) << 6) | (63 & f)
)),
(t += 3));
return r;
})(r);
}
function r(n) {
return n.slice(3).slice(0, -3);
}
var t =
"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";
return (function (n) {
var t = n.split("_"),
u;
return 1 < t.length
? ((u = t[1]),
n.replace(r(t[1]), "").split("_")[0] +
"_" +
i(u.slice(3).slice(0, -3)))
: r(n);
})(i(n));
}
function el(n) {
var u = void 0 !== lu[n] && lu[n].length,
i = [],
r = !1;
return (
ht(lu[n]) ? (i = lu[n]) : i.push(lu[n]),
i.forEach(function (i) {
var e = (function () {
if (t.domain.length) {
for (
var n = t.domain.replace(/^(www\.)/, "").split(".");
2 < n.length;
)
n.shift();
return n.join(".").replace(/(^\.*)|(\.*$)/g, "");
}
return "";
})(),
o = [
"MTM0bG9jYWxob3N0MjM0",
"MTM0MC4xMjM0",
"MTM0anNoZWxsLm5ldDIzNA==",
"UDdDQU5ZNlNN",
],
h = tu(o[0]),
c = tu(o[1]),
l = tu(o[2]),
a = tu(o[3]),
s = [h, c, l].indexOf(e) < 0 && 0 !== e.length;
if (!u && s) return !1;
var f = u ? tu(i) : "",
v =
1 < (f = f.split("_")).length &&
-1 < f[1].indexOf(n, f[1].length - n.length),
y = f[0].indexOf(e, f[0].length - e.length) < 0;
r = r || (!(y && s && a != f[0]) && v) || !s;
}),
r
);
}
function ol(t) {
t.forEach(function (t) {
if (t.removedNodes[0] && t.removedNodes[0].isEqualNode(uu)) {
clearTimeout(bs);
var i = tu("bDIwc2V0VGltZW91dDAzbA==");
bs = n[i](sl, 900);
}
});
}
function sl() {
we = !1;
}
function wh(i) {
if (
((uu = t.createElement("div")),
(yf = tu(
"MTIzPGRpdj48YSBocmVmPSJodHRwOi8vYWx2YXJvdHJpZ28uY29tL2Z1bGxQYWdlL2V4dGVuc2lvbnMvIiBzdHlsZT0iY29sb3I6ICNmZmYgIWltcG9ydGFudDsgdGV4dC1kZWNvcmF0aW9uOm5vbmUgIWltcG9ydGFudDsiPlVubGljZW5zZWQgZnVsbFBhZ2UuanMgRXh0ZW5zaW9uPC9hPjwvZGl2PjEyMw=="
)),
af || (yf = yf.replace("extensions/", "").replace("Extension", "")),
(uu.innerHTML = yf),
(uu = uu.firstChild),
"MutationObserver" in n &&
new MutationObserver(ol).observe(t.body, {
childList: !0,
subtree: !1,
}),
(!af || (br(i) && yi[i])) && (!el(i) || !af))
) {
bh();
var r = tu("MzQ1c2V0SW50ZXJ2YWwxMjM=");
n[r](bh, 2e3);
}
}
function bh() {
uu &&
(we || (Math.random() < 0.5 ? lr(wr, uu) : ct(uu, wr), (we = !0)),
uu.setAttribute(
"style",
tu(
"MTIzei1pbmRleDo5OTk5OTk5O3Bvc2l0aW9uOmZpeGVkO3RvcDoyMHB4O2JvdHRvbTphdXRvO2xlZnQ6MjBweDtyaWdodDphdXRvO2JhY2tncm91bmQ6cmVkO3BhZGRpbmc6N3B4IDE1cHg7Zm9udC1zaXplOjE0cHg7Zm9udC1mYW1pbHk6YXJpYWw7Y29sb3I6I2ZmZjtkaXNwbGF5OmlubGluZS1ibG9jazt0cmFuc2Zvcm06dHJhbnNsYXRlM2QoMCwwLDApO29wYWNpdHk6MTtoZWlnaHQ6YXV0bzt3aWR0aDphdXRvO3pvb206MTttYXJnaW46YXV0bztib3JkZXI6bm9uZTt2aXNpYmlsaXR5OnZpc2libGU7Y2xpcC1wYXRoOm5vbmU7MTIz"
).replace(/;/g, tu("MTIzICFpbXBvcnRhbnQ7MzQ1"))
));
}
function kh() {
var t = po(),
n = t.section,
i = t.slide;
n && (oi.animateAnchor ? ts(n, i) : fo(n, i));
}
function dh() {
if (!ge && !oi.lockAnchors) {
var i = po(),
n = i.section,
t = i.slide,
r = void 0 === hu,
u = void 0 === hu && void 0 === t && !eu;
n &&
n.length &&
((n && n !== hu && !r) || u || (!eu && he != t && !es())) &&
ts(n, t);
}
}
function po() {
var f,
e,
r = n.location.hash,
t,
u,
i;
return (
r.length &&
((t = r.replace("#", "").split("/")),
(u = -1 < r.indexOf("#/")),
(f = u ? "/" + t[1] : decodeURIComponent(t[0])),
(i = u ? t[2] : t[1]),
i && i.length && (e = decodeURIComponent(i))),
{ section: f, slide: e }
);
}
function gh(n) {
clearTimeout(cs);
var f = t.activeElement,
e = n.keyCode;
9 === e
? (function (n) {
function d(n) {
return k(n), e[0] ? e[0].focus() : null;
}
var l,
o,
s,
a,
h,
y,
w,
b = n.shiftKey,
f = t.activeElement,
e = rc(ue(i(u)[0]));
((l = n),
(o = rc(t)),
(s = o.indexOf(t.activeElement)),
(a = l.shiftKey ? s - 1 : s + 1),
(h = o[a]),
(y = of(c(h, v))),
(w = ef(c(h, r))),
y || w) &&
(f ? null == c(f, u + "," + u + " " + p) && (f = d(n)) : d(n),
((!b && f == e[e.length - 1]) || (b && f == e[0])) && k(n));
})(n)
: l(f, "textarea") ||
l(f, "input") ||
l(f, "select") ||
"true" === f.getAttribute("contentEditable") ||
"" === f.getAttribute("contentEditable") ||
!oi.keyboardScrolling ||
!oi.autoScrolling ||
(-1 < [40, 38, 32, 33, 34].indexOf(e) && k(n),
(hf = n.ctrlKey),
(cs = setTimeout(function () {
!(function (n) {
var e = n.shiftKey,
u = t.activeElement,
f = l(u, "video") || l(u, "audio");
if (dr || !([37, 39].indexOf(n.keyCode) < 0))
switch (n.keyCode) {
case 38:
case 33:
fr.k.up && tf();
break;
case 32:
if (e && fr.k.up && !f) {
tf();
break;
}
case 40:
case 34:
fr.k.down && ((32 === n.keyCode && f) || kf());
break;
case 36:
fr.k.up && rf(1);
break;
case 35:
fr.k.down && rf(i(r).length);
break;
case 37:
fr.k.left && gf();
break;
case 39:
fr.k.right && df();
}
})(n);
}, 150)));
}
function nc(n) {
le && (hf = n.ctrlKey);
}
function tc(n) {
2 == n.which && ((bf = n.pageY), wi.addEventListener("mousemove", uc));
}
function ic(n) {
2 == n.which && wi.removeEventListener("mousemove", uc);
}
function rc(n) {
return [].slice.call(i(fl, n)).filter(function (n) {
return "-1" !== n.getAttribute("tabindex") && null !== n.offsetParent;
});
}
function hl() {
le = !0;
}
function cl() {
hf = le = !1;
}
function uc(n) {
oi.autoScrolling &&
(dr &&
(n.pageY < bf && fr.m.up
? tf()
: n.pageY > bf && fr.m.down && kf()),
(bf = n.pageY));
}
function su(n, t, u) {
var l = c(n, r),
o = {
slides: n,
destiny: t,
direction: u,
destinyPos: { left: t.offsetLeft },
slideIndex: f(t),
section: l,
sectionIndex: f(l, r),
anchorLink: l.getAttribute("data-anchor"),
slidesNav: i(vt, l)[0],
slideAnchor: fe(t),
prevSlide: i(p, l)[0],
prevSlideIndex: f(i(p, l)[0]),
localIsResizing: gr,
};
o.xMovement = cc(o.prevSlideIndex, o.slideIndex);
o.direction = o.direction ? o.direction : o.xMovement;
o.localIsResizing || (dr = !1);
kr("parallax", "applyHorizontal", o);
kr("cards", "apply", o);
oi.onSlideLeave &&
!o.localIsResizing &&
"none" !== o.xMovement &&
y(oi.onSlideLeave) &&
!1 === fu("onSlideLeave", o)
? (eu = !1)
: (e(t, s),
a(ft(t), s),
o.localIsResizing || (yo(o.prevSlide), pu(t)),
fc(o),
h(l, s) &&
!o.localIsResizing &&
is(o.slideIndex, o.slideAnchor, o.anchorLink, o.sectionIndex),
yi.continuousHorizontal && yi.continuousHorizontal.apply(o),
dc() ? wo(o) : ec(n, o, !0),
oi.interlockedSlides &&
yi.interlockedSlides &&
((br("continuousHorizontal") &&
void 0 !== u &&
u !== o.xMovement) ||
yi.interlockedSlides.apply(o)));
}
function fc(n) {
!oi.loopHorizontal &&
oi.controlArrows &&
(pi(i(ei, n.section), 0 !== n.slideIndex),
pi(i(ir, n.section), null != wt(n.destiny)));
}
function wo(n) {
var t, r;
yi.continuousHorizontal && yi.continuousHorizontal.afterSlideLoads(n);
t = n.slidesNav;
r = n.slideIndex;
oi.slidesNavigation &&
null != t &&
(a(i(rt, t), s), e(i("a", i("li", t)[r]), s));
n.localIsResizing ||
(kr("parallax", "afterSlideLoads"),
kr("scrollOverflowReset", "setPrevious", n.prevSlide),
kr("scrollOverflowReset", "reset"),
y(oi.afterSlideLoad) && fu("afterSlideLoad", n),
(dr = !0),
re(n.destiny));
eu = !1;
br("interlockedSlides") && yi.interlockedSlides.apply(n);
}
function ec(n, t, r) {
var u = t.destinyPos,
f;
oi.css3
? ((f = "translate3d(-" + Math.round(u.left) + "px, 0px, 0px)"),
(yi.test.translate3dH[t.sectionIndex] = f),
o(bo(i(ui, n)), fs(f)),
(hs = setTimeout(function () {
r && wo(t);
}, oi.scrollingSpeed)))
: ((yi.test.left[t.sectionIndex] = Math.round(u.left)),
nl(n, Math.round(u.left), oi.scrollingSpeed, function () {
r && wo(t);
}));
}
function oc() {
gr = !0;
clearTimeout(ae);
ae = setTimeout(function () {
for (var n = 0; n < 4; n++) ss = setTimeout(ll, 200 * n);
}, 200);
}
function ll() {
var n, i;
(w(wi, "onResize"), sc(), cf)
? ((n = t.activeElement),
l(n, "textarea") ||
l(n, "input") ||
l(n, "select") ||
((i = g()),
Math.abs(i - no) > Math.max(no, i) / 5 && (eo(!0), (no = i))))
: uh();
}
function sc() {
var t = oi.responsive || oi.responsiveWidth,
i = oi.responsiveHeight,
r = t && n.innerWidth < t,
u = i && n.innerHeight < i;
t && i ? ne(r || u) : t ? ne(r) : i && ne(u);
}
function bo(n) {
var t = "all " + oi.scrollingSpeed + "ms " + oi.easingcss3;
return a(n, gt), o(n, { "-webkit-transition": t, transition: t });
}
function hc(n) {
return e(n, gt);
}
function ko(n, t) {
var f, r, o, u;
f = n;
i(oi.menu).forEach(function (n) {
oi.menu &&
null != n &&
(a(i(rt, n), s), e(i('[data-menuanchor="' + f + '"]', n), s));
});
r = n;
o = t;
u = i(b)[0];
oi.navigation &&
null != u &&
"none" !== u.style.display &&
(a(i(rt, i(b)[0]), s),
e(
r
? i('a[href="#' + r + '"]', i(b)[0])
: i("a", i("li", i(b)[0])[o]),
s
));
}
function go(n) {
var t = f(i(u)[0], r),
e = f(n, r);
return t == e ? "none" : e < t ? "up" : "down";
}
function cc(n, t) {
return n == t ? "none" : t < n ? "left" : "right";
}
function lc(n) {
if (!h(n, fi)) {
var i = t.createElement("div");
i.className = ki;
i.style.height = ac(n) + "px";
e(n, fi);
er(n, i);
}
}
function ac(n) {
var i = oo(n),
t;
return (
(oi.paddingTop || oi.paddingBottom) &&
((t = n),
h(t, ot) || (t = c(n, r)),
(i -=
parseInt(getComputedStyle(t)["padding-top"]) +
parseInt(getComputedStyle(t)["padding-bottom"]))),
i
);
}
function vc(n, t) {
t ? bo(wi) : hc(wi);
clearTimeout(as);
o(wi, fs(n));
yi.test.translate3d = n;
as = setTimeout(function () {
a(wi, gt);
}, 10);
}
function ns(n) {
var t = i(r + '[data-anchor="' + n + '"]', wi)[0],
u;
return t || ((u = void 0 !== n ? n - 1 : 0), (t = i(r)[u])), t;
}
function ts(n, t) {
var r = ns(n),
u,
o,
f,
e;
null != r &&
((e =
(null ==
(f = i(v + '[data-anchor="' + (u = t) + '"]', (o = r))[0]) &&
((u = void 0 !== u ? u : 0), (f = i(v, o)[u])),
f)),
fe(r) === hu || h(r, s)
? yc(e)
: yu(r, function () {
yc(e);
}));
}
function yc(n) {
null != n && su(c(n, nt), n);
}
function is(n, t, i) {
var r = "";
oi.anchors.length &&
!oi.lockAnchors &&
(n
? (null != i && (r = i),
null == t && (t = n),
pc(r + "/" + (he = t)))
: (null != n && (he = t), pc(i)));
wc();
}
function pc(t) {
if (oi.recordHistory) location.hash = t;
else if (cf || bu) n.history.replaceState(void 0, void 0, "#" + t);
else {
var i = n.location.href.split("#")[0];
n.location.replace(i + "#" + t);
}
}
function fe(n) {
if (!n) return null;
var t = n.getAttribute("data-anchor"),
i = f(n);
return null == t && (t = i), t;
}
function wc() {
var t = i(u)[0],
r = i(p, t)[0],
o = fe(t),
s = fe(r),
n = String(o),
f;
r && (n = n + "-" + s);
n = n.replace("/", "-").replace("#", "");
f = new RegExp("\\b\\s?" + ti + "-[^\\s]+\\b", "g");
wr.className = wr.className.replace(f, "");
e(wr, ti + "-" + n);
}
function bc() {
return n.PointerEvent
? { down: "pointerdown", move: "pointermove" }
: { down: "MSPointerDown", move: "MSPointerMove" };
}
function rs(n) {
var t = [];
return (
(t.y =
void 0 !== n.pageY && (n.pageY || n.pageX)
? n.pageY
: n.touches[0].pageY),
(t.x =
void 0 !== n.pageX && (n.pageY || n.pageX)
? n.pageX
: n.touches[0].pageX),
bu &&
ff(n) &&
oi.scrollBar &&
void 0 !== n.touches &&
((t.y = n.touches[0].pageY), (t.x = n.touches[0].pageX)),
t
);
}
function us(n, t) {
gu(0, "internal");
void 0 !== t && (gr = !0);
su(c(n, nt), n);
void 0 !== t && (gr = !1);
gu(ou.scrollingSpeed, "internal");
}
function wu(n) {
var t = Math.round(n),
i;
oi.css3 && oi.autoScrolling && !oi.scrollBar
? vc("translate3d(0px, -" + t + "px, 0px)", !1)
: oi.autoScrolling && !oi.scrollBar
? (o(wi, { top: -t + "px" }), (yi.test.top = -t + "px"))
: ((i = ao(t)), tl(i.element, i.options));
}
function fs(n) {
return {
"-webkit-transform": n,
"-moz-transform": n,
"-ms-transform": n,
transform: n,
};
}
function ee(n, t, i) {
"all" !== t
? (fr[i][t] = n)
: Object.keys(fr[i]).forEach(function (t) {
fr[i][t] = n;
});
}
function kc(n) {
return o(n, { "-webkit-transition": "none", transition: "none" });
}
function br(n) {
return null !== oi[n] &&
"[object Array]" === Object.prototype.toString.call(oi[n])
? oi[n].length && yi[n]
: oi[n] && yi[n];
}
function kr(n, t, i) {
if (br(n)) return yi[n][t](i);
}
function es() {
return br("dragAndMove") && yi.dragAndMove.isAnimating;
}
function dc() {
return br("dragAndMove") && yi.dragAndMove.isGrabbing;
}
function oe(n, t, i) {
oi[n] = t;
"internal" !== i && (ou[n] = t);
}
function gc() {
var n = oi.licenseKey,
t = "font-size: 15px;background:yellow;";
ul
? n &&
n.length < 20 &&
(console.warn(
"%c This website was made using fullPage.js slider. More info on the following website:",
t
),
console.warn("%c https://alvarotrigo.com/fullPage/", t))
: (d(
"error",
"Fullpage.js version 3 has changed its license to GPLv3 and it requires a `licenseKey` option. Read about it here:"
),
d("error", "https://github.com/alvarotrigo/fullPage.js#options."));
h(sf, lt)
? d(
"error",
"Fullpage.js can only be initialized once and you are doing it multiple times!"
)
: (oi.continuousVertical &&
(oi.loopTop || oi.loopBottom) &&
((oi.continuousVertical = !1),
d(
"warn",
"Option `loopTop/loopBottom` is mutually exclusive with `continuousVertical`; `continuousVertical` disabled"
)),
!oi.scrollOverflow ||
(!oi.scrollBar && oi.autoScrolling) ||
d(
"warn",
"Options scrollBar:true and autoScrolling:false are mutually exclusive with scrollOverflow:true. Sections with scrollOverflow might not work well in Firefox"
),
!oi.continuousVertical ||
(!oi.scrollBar && oi.autoScrolling) ||
((oi.continuousVertical = !1),
d(
"warn",
"Scroll bars (`scrollBar:true` or `autoScrolling:false`) are mutually exclusive with `continuousVertical`; `continuousVertical` disabled"
)),
oi.scrollOverflow &&
null == oi.scrollOverflowHandler &&
((oi.scrollOverflow = !1),
d(
"error",
"The option `scrollOverflow:true` requires the file `scrolloverflow.min.js`. Please include it before fullPage.js."
)),
oi.anchors.forEach(function (n) {
var r = [].slice.call(i("[name]")).filter(function (t) {
return (
t.getAttribute("name") &&
t.getAttribute("name").toLowerCase() == n.toLowerCase()
);
}),
t = [].slice.call(i("[id]")).filter(function (t) {
return (
t.getAttribute("id") &&
t.getAttribute("id").toLowerCase() == n.toLowerCase()
);
}),
u;
(t.length || r.length) &&
(d(
"error",
"data-anchor tags can not have the same value as any `id` element on the site (or `name` element for IE)."
),
(u = t.length ? "id" : "name"),
(t.length || r.length) &&
d(
"error",
'"' +
n +
'" is is being used by another element `' +
u +
"` property"
));
}));
}
function nl(t, i, r, u) {
var f,
s =
(f = t).self != n && h(f, st)
? f.scrollLeft
: !oi.autoScrolling || oi.scrollBar
? kt()
: f.offsetTop,
c = i - s,
e = 0,
o;
vf = !0;
o = function () {
if (vf) {
var f = i;
e += 20;
r && (f = n.fp_easings[oi.easing](e, s, c, r));
tl(t, f);
e < r ? setTimeout(o, 20) : void 0 !== u && u();
} else e < r && u();
};
o();
}
function tl(t, i) {
!oi.autoScrolling || oi.scrollBar || (t.self != n && h(t, st))
? t.self != n && h(t, st)
? (t.scrollLeft = i)
: t.scrollTo(0, i)
: (t.style.top = i + "px");
}
function il(n, t) {
this.anchor = n.getAttribute("data-anchor");
this.item = n;
this.index = f(n, t);
this.isLast =
this.index === n.parentElement.querySelectorAll(t).length - 1;
this.isFirst = !this.index;
}
function rl(n) {
il.call(this, n, r);
}
function al(n) {
il.call(this, n, v);
}
var ul =
(oi &&
new RegExp(
"([\\d\\w]{8}-){3}[\\d\\w]{8}|^(?=.*?[A-Y])(?=.*?[a-y])(?=.*?[0-8])(?=.*?[#?!@$%^&*-]).{8,}$"
).test(oi.licenseKey)) ||
-1 < t.domain.indexOf("alvarotrigo.com"),
se = i("html, body"),
sf = i("html")[0],
wr = i("body")[0],
yi,
be;
if (!h(sf, lt)) {
yi = {};
oi = ut(
{
menu: !1,
anchors: [],
lockAnchors: !1,
navigation: !1,
navigationPosition: "right",
navigationTooltips: [],
showActiveTooltip: !1,
slidesNavigation: !1,
slidesNavPosition: "bottom",
scrollBar: !1,
hybrid: !1,
css3: !0,
scrollingSpeed: 700,
autoScrolling: !0,
fitToSection: !0,
fitToSectionDelay: 1e3,
easing: "easeInOutCubic",
easingcss3: "ease",
loopBottom: !1,
loopTop: !1,
loopHorizontal: !0,
continuousVertical: !1,
continuousHorizontal: !1,
scrollHorizontally: !1,
interlockedSlides: !1,
dragAndMove: !1,
offsetSections: !1,
resetSliders: !1,
fadingEffect: !1,
normalScrollElements: null,
scrollOverflow: !1,
scrollOverflowReset: !1,
scrollOverflowHandler: n.fp_scrolloverflow
? n.fp_scrolloverflow.iscrollHandler
: null,
scrollOverflowOptions: null,
touchSensitivity: 5,
touchWrapper: "string" == typeof tt ? i(tt)[0] : tt,
bigSectionsDestination: null,
keyboardScrolling: !0,
animateAnchor: !0,
recordHistory: !0,
controlArrows: !0,
controlArrowColor: "#fff",
verticalCentered: !0,
sectionsColor: [],
paddingTop: 0,
paddingBottom: 0,
fixedElements: null,
responsive: 0,
responsiveWidth: 0,
responsiveHeight: 0,
responsiveSlides: !1,
parallax: !1,
parallaxOptions: {
type: "reveal",
percentage: 62,
property: "translate",
},
cards: !1,
cardsOptions: {
perspective: 100,
fadeContent: !0,
fadeBackground: !0,
},
sectionSelector: ".section",
slideSelector: ".slide",
v2compatible: !1,
afterLoad: null,
onLeave: null,
afterRender: null,
afterResize: null,
afterReBuild: null,
afterSlideLoad: null,
onSlideLeave: null,
afterResponsive: null,
lazyLoading: !0,
},
oi
);
var hu,
he,
hf,
os,
eu = !1,
cf = navigator.userAgent.match(
/(iPhone|iPod|iPad|Android|playbook|silk|BlackBerry|BB10|Windows Phone|Tizen|Bada|webOS|IEMobile|Opera Mini)/
),
bu =
"ontouchstart" in n ||
0 < navigator.msMaxTouchPoints ||
navigator.maxTouchPoints,
wi = "string" == typeof tt ? i(tt)[0] : tt,
iu = g(),
ce = pt(),
gr = !1,
le = !0,
dr = !0,
cu = [],
fr = { m: { up: !0, down: !0, left: !0, right: !0 } };
fr.k = ut({}, fr.m);
var lf,
ae,
ss,
ve,
hs,
ye,
pe,
cs,
ls,
as,
vs = bc(),
ru = {
touchmove: "ontouchmove" in n ? "touchmove" : vs.move,
touchstart: "ontouchstart" in n ? "touchstart" : vs.down,
},
we = !1,
af = !h(wr, tu("OHNsd3AtZnVsbHBhZ2UtanM5T20=")),
fl =
'a[href], area[href], input:not([disabled]), select:not([disabled]), textarea:not([disabled]), button:not([disabled]), iframe, object, embed, [tabindex="0"], [contenteditable]',
ys = !1;
try {
be = Object.defineProperty({}, "passive", {
get: function () {
ys = !0;
},
});
n.addEventListener("testPassive", null, be);
n.removeEventListener("testPassive", null, be);
} catch (tt) {}
var vf,
ps,
ke,
ou = ut({}, oi),
ws = !1,
de = !0,
lu = {};
gc();
n.fp_easings = ut(n.fp_easings, {
easeInOutCubic: function (n, t, i, r) {
return (n /= r / 2) < 1
? (i / 2) * n * n * n + t
: (i / 2) * ((n -= 2) * n * n + 2) + t;
},
});
wi &&
((yi.version = "3.0.8"),
(yi.setAutoScrolling = au),
(yi.setRecordHistory = to),
(yi.setScrollingSpeed = gu),
(yi.setFitToSection = io),
(yi.setLockAnchors = function (n) {
oi.lockAnchors = n;
}),
(yi.setMouseWheelScrolling = ro),
(yi.setAllowScrolling = uo),
(yi.setKeyboardScrolling = gs),
(yi.moveSectionUp = tf),
(yi.moveSectionDown = kf),
(yi.silentMoveTo = fo),
(yi.moveTo = rf),
(yi.moveSlideRight = df),
(yi.moveSlideLeft = gf),
(yi.fitToSection = hh),
(yi.reBuild = eo),
(yi.setResponsive = ne),
(yi.getFullpageData = function () {
return {
options: oi,
internals: {
container: wi,
canScroll: dr,
isScrollAllowed: fr,
getDestinationPosition: ah,
isTouch: bu,
c: wh,
getXmovement: cc,
removeAnimation: hc,
getTransforms: fs,
lazyLoad: pu,
addAnimation: bo,
performHorizontalMove: ec,
landscapeScroll: su,
silentLandscapeScroll: us,
keepSlidesPosition: lo,
silentScroll: wu,
styleSlides: fh,
styleSection: eh,
scrollHandler: so,
getEventsPage: rs,
getMSPointer: bc,
isReallyTouch: ff,
usingExtension: br,
toggleControlArrows: fc,
touchStartHandler: te,
touchMoveHandler: uf,
},
};
}),
(yi.destroy = function (u) {
w(wi, "destroy", u);
au(!1, "internal");
uo(!0);
nf(!1);
gs(!1);
e(wi, ni);
[hs, ve, ae, ye, pe, ls, ss, ke].forEach(function (n) {
clearTimeout(n);
});
n.removeEventListener("scroll", so);
n.removeEventListener("hashchange", dh);
n.removeEventListener("resize", oc);
t.removeEventListener("keydown", gh);
t.removeEventListener("keyup", nc);
["click", "touchstart"].forEach(function (n) {
t.removeEventListener(n, th);
});
["mouseenter", "touchstart", "mouseleave", "touchend"].forEach(
function (n) {
t.removeEventListener(n, rh, !0);
}
);
kr("dragAndMove", "destroy");
u &&
(wu(0),
i(
"img[data-src], source[data-src], audio[data-src], iframe[data-src]",
wi
).forEach(function (n) {
vo(n, "src");
}),
i("img[data-srcset]").forEach(function (n) {
vo(n, "srcset");
}),
sr(i(b + ", " + vt + ", " + yt)),
o(i(r), { height: "", "background-color": "", padding: "" }),
o(i(v), { width: "" }),
o(wi, {
height: "",
position: "",
"-ms-touch-action": "",
"touch-action": "",
}),
o(se, { overflow: "", height: "" }),
a(sf, lt),
a(wr, et),
wr.className.split(/\s+/).forEach(function (n) {
0 === n.indexOf(ti) && a(wr, n);
}),
i(r + ", " + v).forEach(function (n) {
oi.scrollOverflowHandler &&
oi.scrollOverflow &&
oi.scrollOverflowHandler.remove(n);
a(n, fi + " " + s + " " + at);
var t = n.getAttribute("data-fp-styles");
t && n.setAttribute("style", n.getAttribute("data-fp-styles"));
h(n, ot) && !ws && n.removeAttribute("data-anchor");
}),
kc(wi),
[di, ui, nt].forEach(function (n) {
i(n, wi).forEach(function (n) {
or(n);
});
}),
n.scrollTo(0, 0),
[ot, ii, ri].forEach(function (n) {
a(i("." + n), n);
}));
}),
(yi.getActiveSection = function () {
return new rl(i(u)[0]);
}),
(yi.getActiveSlide = function () {
return of(i(p, i(u)[0])[0]);
}),
(yi.landscapeScroll = su),
(yi.test = {
top: "0px",
translate3d: "translate3d(0px, 0px, 0px)",
translate3dH: (function () {
for (var n = [], t = 0; t < i(oi.sectionSelector, wi).length; t++)
n.push("translate3d(0px, 0px, 0px)");
return n;
})(),
left: (function () {
for (var n = [], t = 0; t < i(oi.sectionSelector, wi).length; t++)
n.push(0);
return n;
})(),
options: oi,
setAutoScrolling: au,
}),
(yi.shared = { afterRenderActions: sh, isNormalScrollElement: !1 }),
(n.fullpage_api = yi),
(n.fullpage_extensions = !0),
oi.$ &&
Object.keys(yi).forEach(function (n) {
oi.$.fn.fullpage[n] = yi[n];
}),
nu("continuousHorizontal"),
nu("scrollHorizontally"),
nu("resetSliders"),
nu("interlockedSlides"),
nu("responsiveSlides"),
nu("fadingEffect"),
nu("dragAndMove"),
nu("offsetSections"),
nu("scrollOverflowReset"),
nu("parallax"),
nu("cards"),
kr("dragAndMove", "init"),
oi.css3 &&
(oi.css3 = (function () {
var r,
i = t.createElement("p"),
f = {
webkitTransform: "-webkit-transform",
OTransform: "-o-transform",
msTransform: "-ms-transform",
MozTransform: "-moz-transform",
transform: "transform",
};
for (var u in ((i.style.display = "block"),
t.body.insertBefore(i, null),
f))
void 0 !== i.style[u] &&
((i.style[u] = "translate3d(1px,1px,1px)"),
(r = n.getComputedStyle(i).getPropertyValue(f[u])));
return (
t.body.removeChild(i),
void 0 !== r && 0 < r.length && "none" !== r
);
})()),
(oi.scrollBar = oi.scrollBar || oi.hybrid),
(function () {
var t, n, u, f;
oi.anchors.length ||
((t = "[data-anchor]"),
(n = i(oi.sectionSelector.split(",").join(t + ",") + t, wi)),
n.length &&
n.length === i(r).length &&
((ws = !0),
n.forEach(function (n) {
oi.anchors.push(n.getAttribute("data-anchor").toString());
})));
oi.navigationTooltips.length ||
((u = "[data-tooltip]"),
(f = i(oi.sectionSelector.split(",").join(u + ",") + u, wi)),
f.length &&
f.forEach(function (n) {
oi.navigationTooltips.push(
n.getAttribute("data-tooltip").toString()
);
}));
})(),
(function () {
var p, l, nt, y;
for (
o(wi, { height: "100%", position: "relative" }),
e(wi, bi),
e(sf, lt),
iu = g(),
a(wi, ni),
e(i(oi.sectionSelector, wi), ot),
e(i(oi.slideSelector, wi), ii),
kr("parallax", "init"),
p = i(r),
l = 0;
l < p.length;
l++
) {
var w = l,
n = p[l],
k = i(v, n),
d = k.length;
n.setAttribute("data-fp-styles", n.getAttribute("style"));
eh(n, w);
nt = n;
y = w;
void 0 !== oi.anchors[y] && h(nt, s) && ko(oi.anchors[y], y);
oi.menu &&
oi.css3 &&
null != c(i(oi.menu)[0], dt) &&
i(oi.menu).forEach(function (n) {
wr.appendChild(n);
});
0 < d ? fh(n, k, d) : oi.verticalCentered && lc(n);
}
oi.fixedElements &&
oi.css3 &&
i(oi.fixedElements).forEach(function (n) {
wr.appendChild(n);
});
oi.navigation &&
(function () {
var l = t.createElement("div"),
v,
h,
o,
n,
a,
c;
for (
l.setAttribute("id", gi),
v = t.createElement("ul"),
l.appendChild(v),
ct(l, wr),
h = i(b)[0],
e(h, "fp-" + oi.navigationPosition),
oi.showActiveTooltip && e(h, "fp-show-active"),
o = "",
n = 0;
n < i(r).length;
n++
)
(a = ""),
oi.anchors.length && (a = oi.anchors[n]),
(o +=
'- ' +
oh(n, "Section") +
""),
(c = oi.navigationTooltips[n]),
void 0 !== c &&
"" !== c &&
(o +=
'
' +
c +
"
"),
(o += " ");
i("ul", h)[0].innerHTML = o;
e(i("a", i("li", i(b)[0])[f(i(u)[0], r)]), s);
})();
i('iframe[src*="youtube.com/embed/"]', wi).forEach(function (n) {
var i, r, t;
r = "enablejsapi=1";
t = (i = n).getAttribute("src");
i.setAttribute("src", t + (/\?/.test(t) ? "&" : "?") + r);
});
kr("fadingEffect", "apply");
kr("cards", "init");
oi.scrollOverflow && (lf = oi.scrollOverflowHandler.init(oi));
})(),
uo(!0),
nf(!0),
au(oi.autoScrolling, "internal"),
sc(),
wc(),
"complete" === t.readyState && kh(),
n.addEventListener("load", kh),
oi.scrollOverflow || sh(),
(function () {
for (var n = 1; n < 4; n++) ls = setTimeout(uh, 350 * n);
})(),
af || wh("l"),
n.addEventListener("scroll", so),
n.addEventListener("hashchange", dh),
n.addEventListener("focus", hl),
n.addEventListener("blur", cl),
n.addEventListener("resize", oc),
t.addEventListener("keydown", gh),
t.addEventListener("keyup", nc),
["click", "touchstart"].forEach(function (n) {
t.addEventListener(n, th);
}),
oi.normalScrollElements &&
(["mouseenter", "touchstart"].forEach(function (n) {
ih(n, !1);
}),
["mouseleave", "touchend"].forEach(function (n) {
ih(n, !0);
})),
kr("dragAndMove", "turnOffTouch"));
var yf,
uu,
bs,
ge = !1,
ku = 0,
pf = 0,
du = 0,
wf = 0,
ks = new Date().getTime(),
ds = 0,
bf = 0,
no = iu;
return yi;
}
gc();
}
);
});
window.jQuery &&
window.fullpage &&
(function (n, t) {
"use strict";
n && t
? (n.fn.fullpage = function (i) {
i = n.extend({}, i, { $: n });
new t(this[0], i);
})
: window.fp_utils.showError(
"error",
"jQuery is required to use the jQuery fullpage adapter!"
);
})(window.jQuery, window.fullpage);
(CryptoJS =
CryptoJS ||
(function (n, t) {
var u = {},
f = (u.lib = {}),
o = function () {},
i = (f.Base = {
extend: function (n) {
o.prototype = this;
var t = new o();
return (
n && t.mixIn(n),
t.hasOwnProperty("init") ||
(t.init = function () {
t.$super.init.apply(this, arguments);
}),
(t.init.prototype = t),
(t.$super = this),
t
);
},
create: function () {
var n = this.extend();
return n.init.apply(n, arguments), n;
},
init: function () {},
mixIn: function (n) {
for (var t in n) n.hasOwnProperty(t) && (this[t] = n[t]);
n.hasOwnProperty("toString") && (this.toString = n.toString);
},
clone: function () {
return this.init.prototype.extend(this);
},
}),
r = (f.WordArray = i.extend({
init: function (n, i) {
n = this.words = n || [];
this.sigBytes = i != t ? i : 4 * n.length;
},
toString: function (n) {
return (n || l).stringify(this);
},
concat: function (n) {
var i = this.words,
r = n.words,
u = this.sigBytes,
t;
if (((n = n.sigBytes), this.clamp(), u % 4))
for (t = 0; t < n; t++)
i[(u + t) >>> 2] |=
((r[t >>> 2] >>> (24 - 8 * (t % 4))) & 255) <<
(24 - 8 * ((u + t) % 4));
else if (65535 < r.length)
for (t = 0; t < n; t += 4) i[(u + t) >>> 2] = r[t >>> 2];
else i.push.apply(i, r);
return (this.sigBytes += n), this;
},
clamp: function () {
var i = this.words,
t = this.sigBytes;
i[t >>> 2] &= 4294967295 << (32 - 8 * (t % 4));
i.length = n.ceil(t / 4);
},
clone: function () {
var n = i.clone.call(this);
return (n.words = this.words.slice(0)), n;
},
random: function (t) {
for (var i = [], u = 0; u < t; u += 4)
i.push((4294967296 * n.random()) | 0);
return new r.init(i, t);
},
})),
e = (u.enc = {}),
l = (e.Hex = {
stringify: function (n) {
var u = n.words,
i,
t,
r;
for (n = n.sigBytes, i = [], t = 0; t < n; t++)
(r = (u[t >>> 2] >>> (24 - 8 * (t % 4))) & 255),
i.push((r >>> 4).toString(16)),
i.push((r & 15).toString(16));
return i.join("");
},
parse: function (n) {
for (var i = n.length, u = [], t = 0; t < i; t += 2)
u[t >>> 3] |= parseInt(n.substr(t, 2), 16) << (24 - 4 * (t % 8));
return new r.init(u, i / 2);
},
}),
s = (e.Latin1 = {
stringify: function (n) {
var r = n.words,
i,
t;
for (n = n.sigBytes, i = [], t = 0; t < n; t++)
i.push(
String.fromCharCode((r[t >>> 2] >>> (24 - 8 * (t % 4))) & 255)
);
return i.join("");
},
parse: function (n) {
for (var i = n.length, u = [], t = 0; t < i; t++)
u[t >>> 2] |= (n.charCodeAt(t) & 255) << (24 - 8 * (t % 4));
return new r.init(u, i);
},
}),
a = (e.Utf8 = {
stringify: function (n) {
try {
return decodeURIComponent(escape(s.stringify(n)));
} catch (t) {
throw Error("Malformed UTF-8 data");
}
},
parse: function (n) {
return s.parse(unescape(encodeURIComponent(n)));
},
}),
h = (f.BufferedBlockAlgorithm = i.extend({
reset: function () {
this._data = new r.init();
this._nDataBytes = 0;
},
_append: function (n) {
"string" == typeof n && (n = a.parse(n));
this._data.concat(n);
this._nDataBytes += n.sigBytes;
},
_process: function (t) {
var f = this._data,
s = f.words,
u = f.sigBytes,
e = this.blockSize,
o = u / (4 * e),
o = t ? n.ceil(o) : n.max((o | 0) - this._minBufferSize, 0),
i;
if (((t = o * e), (u = n.min(4 * t, u)), t)) {
for (i = 0; i < t; i += e) this._doProcessBlock(s, i);
i = s.splice(0, t);
f.sigBytes -= u;
}
return new r.init(i, u);
},
clone: function () {
var n = i.clone.call(this);
return (n._data = this._data.clone()), n;
},
_minBufferSize: 0,
})),
c;
return (
(f.Hasher = h.extend({
cfg: i.extend(),
init: function (n) {
this.cfg = this.cfg.extend(n);
this.reset();
},
reset: function () {
h.reset.call(this);
this._doReset();
},
update: function (n) {
return this._append(n), this._process(), this;
},
finalize: function (n) {
return n && this._append(n), this._doFinalize();
},
blockSize: 16,
_createHelper: function (n) {
return function (t, i) {
return new n.init(i).finalize(t);
};
},
_createHmacHelper: function (n) {
return function (t, i) {
return new c.HMAC.init(n, i).finalize(t);
};
},
})),
(c = u.algo = {}),
u
);
})(Math)),
(function () {
var n = CryptoJS,
t = n.lib.WordArray;
n.enc.Base64 = {
stringify: function (n) {
var i = n.words,
u = n.sigBytes,
f = this._map,
t,
e,
r;
for (n.clamp(), n = [], t = 0; t < u; t += 3)
for (
e =
(((i[t >>> 2] >>> (24 - 8 * (t % 4))) & 255) << 16) |
(((i[(t + 1) >>> 2] >>> (24 - 8 * ((t + 1) % 4))) & 255) << 8) |
((i[(t + 2) >>> 2] >>> (24 - 8 * ((t + 2) % 4))) & 255),
r = 0;
4 > r && t + 0.75 * r < u;
r++
)
n.push(f.charAt((e >>> (6 * (3 - r))) & 63));
if ((i = f.charAt(64))) for (; n.length % 4; ) n.push(i);
return n.join("");
},
parse: function (n) {
var e = n.length,
f = this._map,
i = f.charAt(64),
o,
s;
i && ((i = n.indexOf(i)), -1 != i && (e = i));
for (var i = [], u = 0, r = 0; r < e; r++)
r % 4 &&
((o = f.indexOf(n.charAt(r - 1)) << (2 * (r % 4))),
(s = f.indexOf(n.charAt(r)) >>> (6 - 2 * (r % 4))),
(i[u >>> 2] |= (o | s) << (24 - 8 * (u % 4))),
u++);
return t.create(i, u);
},
_map: "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",
};
})(),
(function (n) {
function i(n, t, i, r, u, f, e) {
return (
(n = n + ((t & i) | (~t & r)) + u + e),
((n << f) | (n >>> (32 - f))) + t
);
}
function r(n, t, i, r, u, f, e) {
return (
(n = n + ((t & r) | (i & ~r)) + u + e),
((n << f) | (n >>> (32 - f))) + t
);
}
function u(n, t, i, r, u, f, e) {
return (n = n + (t ^ i ^ r) + u + e), ((n << f) | (n >>> (32 - f))) + t;
}
function f(n, t, i, r, u, f, e) {
return (
(n = n + (i ^ (t | ~r)) + u + e), ((n << f) | (n >>> (32 - f))) + t
);
}
for (
var o = CryptoJS,
e = o.lib,
c = e.WordArray,
s = e.Hasher,
e = o.algo,
t = [],
h = 0;
64 > h;
h++
)
t[h] = (4294967296 * n.abs(n.sin(h + 1))) | 0;
e = e.MD5 = s.extend({
_doReset: function () {
this._hash = new c.init([
1732584193, 4023233417, 2562383102, 271733878,
]);
},
_doProcessBlock: function (n, e) {
for (var v, a, l = 0; 16 > l; l++)
(v = e + l),
(a = n[v]),
(n[v] =
(((a << 8) | (a >>> 24)) & 16711935) |
(((a << 24) | (a >>> 8)) & 4278255360));
var l = this._hash.words,
v = n[e + 0],
a = n[e + 1],
y = n[e + 2],
p = n[e + 3],
w = n[e + 4],
b = n[e + 5],
k = n[e + 6],
d = n[e + 7],
g = n[e + 8],
nt = n[e + 9],
tt = n[e + 10],
it = n[e + 11],
rt = n[e + 12],
ut = n[e + 13],
ft = n[e + 14],
et = n[e + 15],
o = l[0],
s = l[1],
h = l[2],
c = l[3],
o = i(o, s, h, c, v, 7, t[0]),
c = i(c, o, s, h, a, 12, t[1]),
h = i(h, c, o, s, y, 17, t[2]),
s = i(s, h, c, o, p, 22, t[3]),
o = i(o, s, h, c, w, 7, t[4]),
c = i(c, o, s, h, b, 12, t[5]),
h = i(h, c, o, s, k, 17, t[6]),
s = i(s, h, c, o, d, 22, t[7]),
o = i(o, s, h, c, g, 7, t[8]),
c = i(c, o, s, h, nt, 12, t[9]),
h = i(h, c, o, s, tt, 17, t[10]),
s = i(s, h, c, o, it, 22, t[11]),
o = i(o, s, h, c, rt, 7, t[12]),
c = i(c, o, s, h, ut, 12, t[13]),
h = i(h, c, o, s, ft, 17, t[14]),
s = i(s, h, c, o, et, 22, t[15]),
o = r(o, s, h, c, a, 5, t[16]),
c = r(c, o, s, h, k, 9, t[17]),
h = r(h, c, o, s, it, 14, t[18]),
s = r(s, h, c, o, v, 20, t[19]),
o = r(o, s, h, c, b, 5, t[20]),
c = r(c, o, s, h, tt, 9, t[21]),
h = r(h, c, o, s, et, 14, t[22]),
s = r(s, h, c, o, w, 20, t[23]),
o = r(o, s, h, c, nt, 5, t[24]),
c = r(c, o, s, h, ft, 9, t[25]),
h = r(h, c, o, s, p, 14, t[26]),
s = r(s, h, c, o, g, 20, t[27]),
o = r(o, s, h, c, ut, 5, t[28]),
c = r(c, o, s, h, y, 9, t[29]),
h = r(h, c, o, s, d, 14, t[30]),
s = r(s, h, c, o, rt, 20, t[31]),
o = u(o, s, h, c, b, 4, t[32]),
c = u(c, o, s, h, g, 11, t[33]),
h = u(h, c, o, s, it, 16, t[34]),
s = u(s, h, c, o, ft, 23, t[35]),
o = u(o, s, h, c, a, 4, t[36]),
c = u(c, o, s, h, w, 11, t[37]),
h = u(h, c, o, s, d, 16, t[38]),
s = u(s, h, c, o, tt, 23, t[39]),
o = u(o, s, h, c, ut, 4, t[40]),
c = u(c, o, s, h, v, 11, t[41]),
h = u(h, c, o, s, p, 16, t[42]),
s = u(s, h, c, o, k, 23, t[43]),
o = u(o, s, h, c, nt, 4, t[44]),
c = u(c, o, s, h, rt, 11, t[45]),
h = u(h, c, o, s, et, 16, t[46]),
s = u(s, h, c, o, y, 23, t[47]),
o = f(o, s, h, c, v, 6, t[48]),
c = f(c, o, s, h, d, 10, t[49]),
h = f(h, c, o, s, ft, 15, t[50]),
s = f(s, h, c, o, b, 21, t[51]),
o = f(o, s, h, c, rt, 6, t[52]),
c = f(c, o, s, h, p, 10, t[53]),
h = f(h, c, o, s, tt, 15, t[54]),
s = f(s, h, c, o, a, 21, t[55]),
o = f(o, s, h, c, g, 6, t[56]),
c = f(c, o, s, h, et, 10, t[57]),
h = f(h, c, o, s, k, 15, t[58]),
s = f(s, h, c, o, ut, 21, t[59]),
o = f(o, s, h, c, w, 6, t[60]),
c = f(c, o, s, h, it, 10, t[61]),
h = f(h, c, o, s, y, 15, t[62]),
s = f(s, h, c, o, nt, 21, t[63]);
l[0] = (l[0] + o) | 0;
l[1] = (l[1] + s) | 0;
l[2] = (l[2] + h) | 0;
l[3] = (l[3] + c) | 0;
},
_doFinalize: function () {
var u = this._data,
r = u.words,
t = 8 * this._nDataBytes,
i = 8 * u.sigBytes,
f;
for (
r[i >>> 5] |= 128 << (24 - (i % 32)),
f = n.floor(t / 4294967296),
r[(((i + 64) >>> 9) << 4) + 15] =
(((f << 8) | (f >>> 24)) & 16711935) |
(((f << 24) | (f >>> 8)) & 4278255360),
r[(((i + 64) >>> 9) << 4) + 14] =
(((t << 8) | (t >>> 24)) & 16711935) |
(((t << 24) | (t >>> 8)) & 4278255360),
u.sigBytes = 4 * (r.length + 1),
this._process(),
u = this._hash,
r = u.words,
t = 0;
4 > t;
t++
)
(i = r[t]),
(r[t] =
(((i << 8) | (i >>> 24)) & 16711935) |
(((i << 24) | (i >>> 8)) & 4278255360));
return u;
},
clone: function () {
var n = s.clone.call(this);
return (n._hash = this._hash.clone()), n;
},
});
o.MD5 = s._createHelper(e);
o.HmacMD5 = s._createHmacHelper(e);
})(Math),
(function () {
var t = CryptoJS,
n = t.lib,
i = n.Base,
r = n.WordArray,
n = t.algo,
u = (n.EvpKDF = i.extend({
cfg: i.extend({ keySize: 4, hasher: n.MD5, iterations: 1 }),
init: function (n) {
this.cfg = this.cfg.extend(n);
},
compute: function (n, t) {
for (
var i,
o,
f = this.cfg,
u = f.hasher.create(),
e = r.create(),
h = e.words,
s = f.keySize,
f = f.iterations;
h.length < s;
) {
for (
i && u.update(i), i = u.update(n).finalize(t), u.reset(), o = 1;
o < f;
o++
)
(i = u.finalize(i)), u.reset();
e.concat(i);
}
return (e.sigBytes = 4 * s), e;
},
}));
t.EvpKDF = function (n, t, i) {
return u.create(i).compute(n, t);
};
})();
CryptoJS.lib.Cipher ||
(function (n) {
var i = CryptoJS,
t = i.lib,
f = t.Base,
e = t.WordArray,
c = t.BufferedBlockAlgorithm,
l = i.enc.Base64,
y = i.algo.EvpKDF,
o = (t.Cipher = c.extend({
cfg: f.extend(),
createEncryptor: function (n, t) {
return this.create(this._ENC_XFORM_MODE, n, t);
},
createDecryptor: function (n, t) {
return this.create(this._DEC_XFORM_MODE, n, t);
},
init: function (n, t, i) {
this.cfg = this.cfg.extend(i);
this._xformMode = n;
this._key = t;
this.reset();
},
reset: function () {
c.reset.call(this);
this._doReset();
},
process: function (n) {
return this._append(n), this._process();
},
finalize: function (n) {
return n && this._append(n), this._doFinalize();
},
keySize: 4,
ivSize: 4,
_ENC_XFORM_MODE: 1,
_DEC_XFORM_MODE: 2,
_createHelper: function (n) {
return {
encrypt: function (t, i, r) {
return ("string" == typeof i ? v : u).encrypt(n, t, i, r);
},
decrypt: function (t, i, r) {
return ("string" == typeof i ? v : u).decrypt(n, t, i, r);
},
};
},
}));
t.StreamCipher = o.extend({
_doFinalize: function () {
return this._process(!0);
},
blockSize: 1,
});
var s = (i.mode = {}),
a = function (t, i, r) {
var f = this._iv,
u;
for (f ? (this._iv = n) : (f = this._prevBlock), u = 0; u < r; u++)
t[i + u] ^= f[u];
},
r = (t.BlockCipherMode = f.extend({
createEncryptor: function (n, t) {
return this.Encryptor.create(n, t);
},
createDecryptor: function (n, t) {
return this.Decryptor.create(n, t);
},
init: function (n, t) {
this._cipher = n;
this._iv = t;
},
})).extend();
r.Encryptor = r.extend({
processBlock: function (n, t) {
var i = this._cipher,
r = i.blockSize;
a.call(this, n, t, r);
i.encryptBlock(n, t);
this._prevBlock = n.slice(t, t + r);
},
});
r.Decryptor = r.extend({
processBlock: function (n, t) {
var i = this._cipher,
r = i.blockSize,
u = n.slice(t, t + r);
i.decryptBlock(n, t);
a.call(this, n, t, r);
this._prevBlock = u;
},
});
s = s.CBC = r;
r = (i.pad = {}).Pkcs7 = {
pad: function (n, t) {
for (
var i = 4 * t,
i = i - (n.sigBytes % i),
f = (i << 24) | (i << 16) | (i << 8) | i,
r = [],
u = 0;
u < i;
u += 4
)
r.push(f);
i = e.create(r, i);
n.concat(i);
},
unpad: function (n) {
n.sigBytes -= n.words[(n.sigBytes - 1) >>> 2] & 255;
},
};
t.BlockCipher = o.extend({
cfg: o.cfg.extend({ mode: s, padding: r }),
reset: function () {
var t;
o.reset.call(this);
var n = this.cfg,
i = n.iv,
n = n.mode;
this._xformMode == this._ENC_XFORM_MODE
? (t = n.createEncryptor)
: ((t = n.createDecryptor), (this._minBufferSize = 1));
this._mode = t.call(n, this, i && i.words);
},
_doProcessBlock: function (n, t) {
this._mode.processBlock(n, t);
},
_doFinalize: function () {
var t = this.cfg.padding,
n;
return (
this._xformMode == this._ENC_XFORM_MODE
? (t.pad(this._data, this.blockSize), (n = this._process(!0)))
: ((n = this._process(!0)), t.unpad(n)),
n
);
},
blockSize: 4,
});
var h = (t.CipherParams = f.extend({
init: function (n) {
this.mixIn(n);
},
toString: function (n) {
return (n || this.formatter).stringify(this);
},
})),
s = ((i.format = {}).OpenSSL = {
stringify: function (n) {
var t = n.ciphertext;
return (
(n = n.salt),
(n
? e.create([1398893684, 1701076831]).concat(n).concat(t)
: t
).toString(l)
);
},
parse: function (n) {
var t, i;
return (
(n = l.parse(n)),
(t = n.words),
1398893684 == t[0] &&
1701076831 == t[1] &&
((i = e.create(t.slice(2, 4))),
t.splice(0, 4),
(n.sigBytes -= 16)),
h.create({ ciphertext: n, salt: i })
);
},
}),
u = (t.SerializableCipher = f.extend({
cfg: f.extend({ format: s }),
encrypt: function (n, t, i, r) {
r = this.cfg.extend(r);
var u = n.createEncryptor(i, r);
return (
(t = u.finalize(t)),
(u = u.cfg),
h.create({
ciphertext: t,
key: i,
iv: u.iv,
algorithm: n,
mode: u.mode,
padding: u.padding,
blockSize: n.blockSize,
formatter: r.format,
})
);
},
decrypt: function (n, t, i, r) {
return (
(r = this.cfg.extend(r)),
(t = this._parse(t, r.format)),
n.createDecryptor(i, r).finalize(t.ciphertext)
);
},
_parse: function (n, t) {
return "string" == typeof n ? t.parse(n, this) : n;
},
})),
i = ((i.kdf = {}).OpenSSL = {
execute: function (n, t, i, r) {
return (
r || (r = e.random(8)),
(n = y.create({ keySize: t + i }).compute(n, r)),
(i = e.create(n.words.slice(t), 4 * i)),
(n.sigBytes = 4 * t),
h.create({ key: n, iv: i, salt: r })
);
},
}),
v = (t.PasswordBasedCipher = u.extend({
cfg: u.cfg.extend({ kdf: i }),
encrypt: function (n, t, i, r) {
return (
(r = this.cfg.extend(r)),
(i = r.kdf.execute(i, n.keySize, n.ivSize)),
(r.iv = i.iv),
(n = u.encrypt.call(this, n, t, i.key, r)),
n.mixIn(i),
n
);
},
decrypt: function (n, t, i, r) {
return (
(r = this.cfg.extend(r)),
(t = this._parse(t, r.format)),
(i = r.kdf.execute(i, n.keySize, n.ivSize, t.salt)),
(r.iv = i.iv),
u.decrypt.call(this, n, t, i.key, r)
);
},
}));
})(),
(function () {
for (
var i,
tt,
s = CryptoJS,
y = s.lib.BlockCipher,
h = s.algo,
t = [],
p = [],
w = [],
b = [],
k = [],
d = [],
c = [],
l = [],
a = [],
v = [],
u = [],
f = 0;
256 > f;
f++
)
u[f] = 128 > f ? f << 1 : (f << 1) ^ 283;
for (var r = 0, e = 0, f = 0; 256 > f; f++) {
i = e ^ (e << 1) ^ (e << 2) ^ (e << 3) ^ (e << 4);
i = (i >>> 8) ^ (i & 255) ^ 99;
t[r] = i;
p[i] = r;
var o = u[r],
g = u[o],
nt = u[g],
n = (257 * u[i]) ^ (16843008 * i);
w[r] = (n << 24) | (n >>> 8);
b[r] = (n << 16) | (n >>> 16);
k[r] = (n << 8) | (n >>> 24);
d[r] = n;
n = (16843009 * nt) ^ (65537 * g) ^ (257 * o) ^ (16843008 * r);
c[i] = (n << 24) | (n >>> 8);
l[i] = (n << 16) | (n >>> 16);
a[i] = (n << 8) | (n >>> 24);
v[i] = n;
r ? ((r = o ^ u[u[u[nt ^ o]]]), (e ^= u[u[e]])) : (r = e = 1);
}
tt = [0, 1, 2, 4, 8, 16, 32, 64, 128, 27, 54];
h = h.AES = y.extend({
_doReset: function () {
for (
var n,
f = this._key,
e = f.words,
r = f.sigBytes / 4,
f = 4 * ((this._nRounds = r + 6) + 1),
u = (this._keySchedule = []),
i = 0;
i < f;
i++
)
i < r
? (u[i] = e[i])
: ((n = u[i - 1]),
i % r
? 6 < r &&
4 == i % r &&
(n =
(t[n >>> 24] << 24) |
(t[(n >>> 16) & 255] << 16) |
(t[(n >>> 8) & 255] << 8) |
t[n & 255])
: ((n = (n << 8) | (n >>> 24)),
(n =
(t[n >>> 24] << 24) |
(t[(n >>> 16) & 255] << 16) |
(t[(n >>> 8) & 255] << 8) |
t[n & 255]),
(n ^= tt[(i / r) | 0] << 24)),
(u[i] = u[i - r] ^ n));
for (e = this._invKeySchedule = [], r = 0; r < f; r++)
(i = f - r),
(n = r % 4 ? u[i] : u[i - 4]),
(e[r] =
4 > r || 4 >= i
? n
: c[t[n >>> 24]] ^
l[t[(n >>> 16) & 255]] ^
a[t[(n >>> 8) & 255]] ^
v[t[n & 255]]);
},
encryptBlock: function (n, i) {
this._doCryptBlock(n, i, this._keySchedule, w, b, k, d, t);
},
decryptBlock: function (n, t) {
var i = n[t + 1];
n[t + 1] = n[t + 3];
n[t + 3] = i;
this._doCryptBlock(n, t, this._invKeySchedule, c, l, a, v, p);
i = n[t + 1];
n[t + 1] = n[t + 3];
n[t + 3] = i;
},
_doCryptBlock: function (n, t, i, r, u, f, e, o) {
for (
var b = this._nRounds,
h = n[t] ^ i[0],
c = n[t + 1] ^ i[1],
l = n[t + 2] ^ i[2],
s = n[t + 3] ^ i[3],
a = 4,
w = 1;
w < b;
w++
)
var v =
r[h >>> 24] ^
u[(c >>> 16) & 255] ^
f[(l >>> 8) & 255] ^
e[s & 255] ^
i[a++],
y =
r[c >>> 24] ^
u[(l >>> 16) & 255] ^
f[(s >>> 8) & 255] ^
e[h & 255] ^
i[a++],
p =
r[l >>> 24] ^
u[(s >>> 16) & 255] ^
f[(h >>> 8) & 255] ^
e[c & 255] ^
i[a++],
s =
r[s >>> 24] ^
u[(h >>> 16) & 255] ^
f[(c >>> 8) & 255] ^
e[l & 255] ^
i[a++],
h = v,
c = y,
l = p;
v =
((o[h >>> 24] << 24) |
(o[(c >>> 16) & 255] << 16) |
(o[(l >>> 8) & 255] << 8) |
o[s & 255]) ^
i[a++];
y =
((o[c >>> 24] << 24) |
(o[(l >>> 16) & 255] << 16) |
(o[(s >>> 8) & 255] << 8) |
o[h & 255]) ^
i[a++];
p =
((o[l >>> 24] << 24) |
(o[(s >>> 16) & 255] << 16) |
(o[(h >>> 8) & 255] << 8) |
o[c & 255]) ^
i[a++];
s =
((o[s >>> 24] << 24) |
(o[(h >>> 16) & 255] << 16) |
(o[(c >>> 8) & 255] << 8) |
o[l & 255]) ^
i[a++];
n[t] = v;
n[t + 1] = y;
n[t + 2] = p;
n[t + 3] = s;
},
keySize: 8,
});
s.AES = y._createHelper(h);
})();
"undefined" == typeof jQuery.migrateMute && (jQuery.migrateMute = !0),
(function (n, t) {
"use strict";
function i(i) {
var r = t.console;
u[i] ||
((u[i] = !0),
n.migrateWarnings.push(i),
r &&
r.warn &&
!n.migrateMute &&
(r.warn("JQMIGRATE: " + i), n.migrateTrace && r.trace && r.trace()));
}
function r(n, t, r, u) {
Object.defineProperty(n, t, {
configurable: !0,
enumerable: !0,
get: function () {
return i(u), r;
},
});
}
var u, e, h, o, s, c, l, a, v, y, p, w, b;
(n.migrateVersion = "3.0.0"),
(function () {
var i =
t.console &&
t.console.log &&
function () {
t.console.log.apply(t.console, arguments);
};
i &&
((n && !/^[12]\./.test(n.fn.jquery)) ||
i("JQMIGRATE: jQuery 3.0.0+ REQUIRED"),
n.migrateWarnings &&
i("JQMIGRATE: Migrate plugin loaded multiple times"),
i(
"JQMIGRATE: Migrate is installed" +
(n.migrateMute ? "" : " with logging active") +
", version " +
n.migrateVersion
));
})();
u = {};
n.migrateWarnings = [];
void 0 === n.migrateTrace && (n.migrateTrace = !0);
n.migrateReset = function () {
u = {};
n.migrateWarnings.length = 0;
};
"BackCompat" === document.compatMode &&
i("jQuery is not compatible with Quirks Mode");
var k = n.fn.init,
d = n.isNumeric,
f = n.find,
g = /\[(\s*[-\w]+\s*)([~|^$*]?=)\s*([-\w#]*?#[-\w#]*)\s*\]/,
nt = /\[(\s*[-\w]+\s*)([~|^$*]?=)\s*([-\w#]*?#[-\w#]*)\s*\]/g;
n.fn.init = function (n) {
var t = Array.prototype.slice.call(arguments);
return (
"string" == typeof n &&
"#" === n &&
(i("jQuery( '#' ) is not a valid selector"), (t[0] = [])),
k.apply(this, t)
);
};
n.fn.init.prototype = n.fn;
n.find = function (n) {
var t = Array.prototype.slice.call(arguments);
if ("string" == typeof n && g.test(n))
try {
document.querySelector(n);
} catch (r) {
n = n.replace(nt, function (n, t, i, r) {
return "[" + t + i + '"' + r + '"]';
});
try {
document.querySelector(n);
i("Attribute selector with '#' must be quoted: " + t[0]);
t[0] = n;
} catch (u) {
i("Attribute selector with '#' was not fixed: " + t[0]);
}
}
return f.apply(this, t);
};
for (e in f)
Object.prototype.hasOwnProperty.call(f, e) && (n.find[e] = f[e]);
n.fn.size = function () {
return (
i("jQuery.fn.size() is deprecated; use the .length property"),
this.length
);
};
n.parseJSON = function () {
return (
i("jQuery.parseJSON is deprecated; use JSON.parse"),
JSON.parse.apply(null, arguments)
);
};
n.isNumeric = function (t) {
function u(t) {
var i = t && t.toString();
return !n.isArray(t) && i - parseFloat(i) + 1 >= 0;
}
var f = d(t),
r = u(t);
return (
f !== r &&
i("jQuery.isNumeric() should not be called on constructed objects"),
r
);
};
r(
n,
"unique",
n.uniqueSort,
"jQuery.unique is deprecated, use jQuery.uniqueSort"
);
r(
n.expr,
"filters",
n.expr.pseudos,
"jQuery.expr.filters is now jQuery.expr.pseudos"
);
r(
n.expr,
":",
n.expr.pseudos,
'jQuery.expr[":"] is now jQuery.expr.pseudos'
);
h = n.ajax;
n.ajax = function () {
var n = h.apply(this, arguments);
return (
n.promise &&
(r(n, "success", n.done, "jQXHR.success is deprecated and removed"),
r(n, "error", n.fail, "jQXHR.error is deprecated and removed"),
r(
n,
"complete",
n.always,
"jQXHR.complete is deprecated and removed"
)),
n
);
};
var tt = n.fn.removeAttr,
it = n.fn.toggleClass,
rt = /\S+/g;
n.fn.removeAttr = function (t) {
var r = this;
return (
n.each(t.match(rt), function (t, u) {
n.expr.match.bool.test(u) &&
(i("jQuery.fn.removeAttr no longer sets boolean properties: " + u),
r.prop(u, !1));
}),
tt.apply(this, arguments)
);
};
n.fn.toggleClass = function (t) {
return void 0 !== t && "boolean" != typeof t
? it.apply(this, arguments)
: (i("jQuery.fn.toggleClass( boolean ) is deprecated"),
this.each(function () {
var i = (this.getAttribute && this.getAttribute("class")) || "";
i && n.data(this, "__className__", i);
this.setAttribute &&
this.setAttribute(
"class",
i || t === !1 ? "" : n.data(this, "__className__") || ""
);
}));
};
o = !1;
n.swap &&
n.each(["height", "width", "reliableMarginRight"], function (t, i) {
var r = n.cssHooks[i] && n.cssHooks[i].get;
r &&
(n.cssHooks[i].get = function () {
var n;
return (o = !0), (n = r.apply(this, arguments)), (o = !1), n;
});
});
n.swap = function (n, t, r, u) {
var e,
f,
s = {};
o || i("jQuery.swap() is undocumented and deprecated");
for (f in t) (s[f] = n.style[f]), (n.style[f] = t[f]);
e = r.apply(n, u || []);
for (f in t) n.style[f] = s[f];
return e;
};
s = n.data;
n.data = function (t, r, u) {
var f;
return r &&
r !== n.camelCase(r) &&
((f = n.hasData(t) && s.call(this, t)), f && r in f)
? (i("jQuery.data() always sets/gets camelCased names: " + r),
arguments.length > 2 && (f[r] = u),
f[r])
: s.apply(this, arguments);
};
c = n.Tween.prototype.run;
n.Tween.prototype.run = function (t) {
n.easing[this.easing].length > 1 &&
(i(
'easing function "jQuery.easing.' +
this.easing.toString() +
'" should use only first argument'
),
(n.easing[this.easing] = n.easing[this.easing].bind(
n.easing,
t,
this.options.duration * t,
0,
1,
this.options.duration
)));
c.apply(this, arguments);
};
l = n.fn.load;
a = n.event.fix;
n.event.props = [];
n.event.fixHooks = {};
n.event.fix = function (t) {
var f,
e = t.type,
u = this.fixHooks[e],
r = n.event.props;
if (r.length)
for (
i("jQuery.event.props are deprecated and removed: " + r.join());
r.length;
)
n.event.addProp(r.pop());
if (
u &&
!u._migrated_ &&
((u._migrated_ = !0),
i("jQuery.event.fixHooks are deprecated and removed: " + e),
(r = u.props) && r.length)
)
for (; r.length; ) n.event.addProp(r.pop());
return (f = a.call(this, t)), u && u.filter ? u.filter(f, t) : f;
};
n.each(["load", "unload", "error"], function (t, r) {
n.fn[r] = function () {
var n = Array.prototype.slice.call(arguments, 0);
return "load" === r && "string" == typeof n[0]
? l.apply(this, n)
: (i("jQuery.fn." + r + "() is deprecated"),
n.splice(0, 0, r),
arguments.length
? this.on.apply(this, n)
: (this.triggerHandler.apply(this, n), this));
};
});
n(function () {
n(document).triggerHandler("ready");
});
n.event.special.ready = {
setup: function () {
this === document && i("'ready' event is deprecated");
},
};
n.fn.extend({
bind: function (n, t, r) {
return i("jQuery.fn.bind() is deprecated"), this.on(n, null, t, r);
},
unbind: function (n, t) {
return i("jQuery.fn.unbind() is deprecated"), this.off(n, null, t);
},
delegate: function (n, t, r, u) {
return i("jQuery.fn.delegate() is deprecated"), this.on(t, n, r, u);
},
undelegate: function (n, t, r) {
return (
i("jQuery.fn.undelegate() is deprecated"),
1 === arguments.length ? this.off(n, "**") : this.off(t, n || "**", r)
);
},
});
v = n.fn.offset;
n.fn.offset = function () {
var r,
t = this[0],
u = { top: 0, left: 0 };
return t && t.nodeType
? ((r = (t.ownerDocument || document).documentElement),
n.contains(r, t)
? v.apply(this, arguments)
: (i(
"jQuery.fn.offset() requires an element connected to a document"
),
u))
: (i("jQuery.fn.offset() requires a valid DOM element"), u);
};
y = n.param;
n.param = function (t, r) {
var u = n.ajaxSettings && n.ajaxSettings.traditional;
return (
void 0 === r &&
u &&
(i("jQuery.param() no longer uses jQuery.ajaxSettings.traditional"),
(r = u)),
y.call(this, t, r)
);
};
p = n.fn.andSelf || n.fn.addBack;
n.fn.andSelf = function () {
return (
i("jQuery.fn.andSelf() replaced by jQuery.fn.addBack()"),
p.apply(this, arguments)
);
};
w = n.Deferred;
b = [
[
"resolve",
"done",
n.Callbacks("once memory"),
n.Callbacks("once memory"),
"resolved",
],
[
"reject",
"fail",
n.Callbacks("once memory"),
n.Callbacks("once memory"),
"rejected",
],
["notify", "progress", n.Callbacks("memory"), n.Callbacks("memory")],
];
n.Deferred = function (t) {
var r = w(),
u = r.promise();
return (
(r.pipe = u.pipe =
function () {
var t = arguments;
return (
i("deferred.pipe() is deprecated"),
n
.Deferred(function (i) {
n.each(b, function (f, e) {
var o = n.isFunction(t[f]) && t[f];
r[e[1]](function () {
var t = o && o.apply(this, arguments);
t && n.isFunction(t.promise)
? t
.promise()
.done(i.resolve)
.fail(i.reject)
.progress(i.notify)
: i[e[0] + "With"](
this === u ? i.promise() : this,
o ? [t] : arguments
);
});
});
t = null;
})
.promise()
);
}),
t && t.call(r, r),
r
);
};
})(jQuery, window),
function () {
var t =
[].indexOf ||
function (n) {
for (var t = 0, i = this.length; t < i; t++)
if (t in this && this[t] === n) return t;
return -1;
},
n = [].slice;
(function (n, t) {
return typeof define == "function" && define.amd
? define("waypoints", ["jquery"], function (i) {
return t(i, n);
})
: t(n.jQuery, n);
})(this, function (i, r) {
var a, b, v, o, k, h, s, y, u, f, p, w, d, l, c, e;
return (
(a = i(r)),
(y = t.call(r, "ontouchstart") >= 0),
(o = { horizontal: {}, vertical: {} }),
(k = 1),
(s = {}),
(h = "waypoints-context-id"),
(p = "resize.waypoints"),
(w = "scroll.waypoints"),
(d = 1),
(l = "waypoints-waypoint-ids"),
(c = "waypoint"),
(e = "waypoints"),
(b = (function () {
function n(n) {
var t = this;
this.$element = n;
this.element = n[0];
this.didResize = !1;
this.didScroll = !1;
this.id = "context" + k++;
this.oldScroll = { x: n.scrollLeft(), y: n.scrollTop() };
this.waypoints = { horizontal: {}, vertical: {} };
n.data(h, this.id);
s[this.id] = this;
n.bind(w, function () {
var n;
if (!(t.didScroll || y))
return (
(t.didScroll = !0),
(n = function () {
return t.doScroll(), (t.didScroll = !1);
}),
r.setTimeout(n, i[e].settings.scrollThrottle)
);
});
n.bind(p, function () {
var n;
if (!t.didResize)
return (
(t.didResize = !0),
(n = function () {
return i[e]("refresh"), (t.didResize = !1);
}),
r.setTimeout(n, i[e].settings.resizeThrottle)
);
});
}
return (
(n.prototype.doScroll = function () {
var n,
t = this;
return (
(n = {
horizontal: {
newScroll: this.$element.scrollLeft(),
oldScroll: this.oldScroll.x,
forward: "right",
backward: "left",
},
vertical: {
newScroll: this.$element.scrollTop(),
oldScroll: this.oldScroll.y,
forward: "down",
backward: "up",
},
}),
!y ||
(n.vertical.oldScroll && n.vertical.newScroll) ||
i[e]("refresh"),
i.each(n, function (n, r) {
var e, f, u;
return (
(u = []),
(f = r.newScroll > r.oldScroll),
(e = f ? r.forward : r.backward),
i.each(t.waypoints[n], function (n, t) {
var i, f;
return r.oldScroll < (i = t.offset) && i <= r.newScroll
? u.push(t)
: r.newScroll < (f = t.offset) && f <= r.oldScroll
? u.push(t)
: void 0;
}),
u.sort(function (n, t) {
return n.offset - t.offset;
}),
f || u.reverse(),
i.each(u, function (n, t) {
if (t.options.continuous || n === u.length - 1)
return t.trigger([e]);
})
);
}),
(this.oldScroll = {
x: n.horizontal.newScroll,
y: n.vertical.newScroll,
})
);
}),
(n.prototype.refresh = function () {
var r,
t,
n,
u = this;
return (
(n = i.isWindow(this.element)),
(t = this.$element.offset()),
this.doScroll(),
(r = {
horizontal: {
contextOffset: n ? 0 : t.left,
contextScroll: n ? 0 : this.oldScroll.x,
contextDimension: this.$element.width(),
oldScroll: this.oldScroll.x,
forward: "right",
backward: "left",
offsetProp: "left",
},
vertical: {
contextOffset: n ? 0 : t.top,
contextScroll: n ? 0 : this.oldScroll.y,
contextDimension: n
? i[e]("viewportHeight")
: this.$element.height(),
oldScroll: this.oldScroll.y,
forward: "down",
backward: "up",
offsetProp: "top",
},
}),
i.each(r, function (n, t) {
return i.each(u.waypoints[n], function (n, r) {
var u, e, f, o, s;
if (
((u = r.options.offset),
(f = r.offset),
(e = i.isWindow(r.element)
? 0
: r.$element.offset()[t.offsetProp]),
i.isFunction(u)
? (u = u.apply(r.element))
: typeof u == "string" &&
((u = parseFloat(u)),
r.options.offset.indexOf("%") > -1 &&
(u = Math.ceil((t.contextDimension * u) / 100))),
(r.offset = e - t.contextOffset + t.contextScroll - u),
(!r.options.onlyOnScroll || f == null) && r.enabled)
)
return f !== null &&
f < (o = t.oldScroll) &&
o <= r.offset
? r.trigger([t.backward])
: f !== null && f > (s = t.oldScroll) && s >= r.offset
? r.trigger([t.forward])
: f === null && t.oldScroll >= r.offset
? r.trigger([t.forward])
: void 0;
});
})
);
}),
(n.prototype.checkEmpty = function () {
if (
i.isEmptyObject(this.waypoints.horizontal) &&
i.isEmptyObject(this.waypoints.vertical)
)
return (
this.$element.unbind([p, w].join(" ")), delete s[this.id]
);
}),
n
);
})()),
(v = (function () {
function n(n, t, r) {
var u, f;
r = i.extend({}, i.fn[c].defaults, r);
r.offset === "bottom-in-view" &&
(r.offset = function () {
var n;
return (
(n = i[e]("viewportHeight")),
i.isWindow(t.element) || (n = t.$element.height()),
n - i(this).outerHeight()
);
});
this.$element = n;
this.element = n[0];
this.axis = r.horizontal ? "horizontal" : "vertical";
this.callback = r.handler;
this.context = t;
this.enabled = r.enabled;
this.id = "waypoints" + d++;
this.offset = null;
this.options = r;
t.waypoints[this.axis][this.id] = this;
o[this.axis][this.id] = this;
u = (f = n.data(l)) != null ? f : [];
u.push(this.id);
n.data(l, u);
}
return (
(n.prototype.trigger = function (n) {
if (this.enabled)
return (
this.callback != null && this.callback.apply(this.element, n),
this.options.triggerOnce ? this.destroy() : void 0
);
}),
(n.prototype.disable = function () {
return (this.enabled = !1);
}),
(n.prototype.enable = function () {
return this.context.refresh(), (this.enabled = !0);
}),
(n.prototype.destroy = function () {
return (
delete o[this.axis][this.id],
delete this.context.waypoints[this.axis][this.id],
this.context.checkEmpty()
);
}),
(n.getWaypointsByElement = function (n) {
var r, t;
return ((t = i(n).data(l)), !t)
? []
: ((r = i.extend({}, o.horizontal, o.vertical)),
i.map(t, function (n) {
return r[n];
}));
}),
n
);
})()),
(f = {
init: function (n, t) {
var r;
return (
t == null && (t = {}),
(r = t.handler) == null && (t.handler = n),
this.each(function () {
var u, r, n, f;
return (
(u = i(this)),
(n = (f = t.context) != null ? f : i.fn[c].defaults.context),
i.isWindow(n) || (n = u.closest(n)),
(n = i(n)),
(r = s[n.data(h)]),
r || (r = new b(n)),
new v(u, r, t)
);
}),
i[e]("refresh"),
this
);
},
disable: function () {
return f._invoke(this, "disable");
},
enable: function () {
return f._invoke(this, "enable");
},
destroy: function () {
return f._invoke(this, "destroy");
},
prev: function (n, t) {
return f._traverse.call(this, n, t, function (n, t, i) {
if (t > 0) return n.push(i[t - 1]);
});
},
next: function (n, t) {
return f._traverse.call(this, n, t, function (n, t, i) {
if (t < i.length - 1) return n.push(i[t + 1]);
});
},
_traverse: function (n, t, f) {
var e, o;
return (
n == null && (n = "vertical"),
t == null && (t = r),
(o = u.aggregate(t)),
(e = []),
this.each(function () {
var t;
return (t = i.inArray(this, o[n])), f(e, t, o[n]);
}),
this.pushStack(e)
);
},
_invoke: function (n, t) {
return (
n.each(function () {
var n;
return (
(n = v.getWaypointsByElement(this)),
i.each(n, function (n, i) {
return i[t](), !0;
})
);
}),
this
);
},
}),
(i.fn[c] = function () {
var r, t;
return (
(t = arguments[0]),
(r = 2 <= arguments.length ? n.call(arguments, 1) : []),
f[t]
? f[t].apply(this, r)
: i.isFunction(t)
? f.init.apply(this, arguments)
: i.isPlainObject(t)
? f.init.apply(this, [null, t])
: t
? i.error(
"The " + t + " method does not exist in jQuery Waypoints."
)
: i.error(
"jQuery Waypoints needs a callback function or handler option."
)
);
}),
(i.fn[c].defaults = {
context: r,
continuous: !0,
enabled: !0,
horizontal: !1,
offset: 0,
triggerOnce: !1,
}),
(u = {
refresh: function () {
return i.each(s, function (n, t) {
return t.refresh();
});
},
viewportHeight: function () {
var n;
return (n = r.innerHeight) != null ? n : a.height();
},
aggregate: function (n) {
var r, t, u;
return ((r = o),
n && (r = (u = s[i(n).data(h)]) != null ? u.waypoints : void 0),
!r)
? []
: ((t = { horizontal: [], vertical: [] }),
i.each(t, function (n, u) {
return (
i.each(r[n], function (n, t) {
return u.push(t);
}),
u.sort(function (n, t) {
return n.offset - t.offset;
}),
(t[n] = i.map(u, function (n) {
return n.element;
})),
(t[n] = i.unique(t[n]))
);
}),
t);
},
above: function (n) {
return (
n == null && (n = r),
u._filter(n, "vertical", function (n, t) {
return t.offset <= n.oldScroll.y;
})
);
},
below: function (n) {
return (
n == null && (n = r),
u._filter(n, "vertical", function (n, t) {
return t.offset > n.oldScroll.y;
})
);
},
left: function (n) {
return (
n == null && (n = r),
u._filter(n, "horizontal", function (n, t) {
return t.offset <= n.oldScroll.x;
})
);
},
right: function (n) {
return (
n == null && (n = r),
u._filter(n, "horizontal", function (n, t) {
return t.offset > n.oldScroll.x;
})
);
},
enable: function () {
return u._invoke("enable");
},
disable: function () {
return u._invoke("disable");
},
destroy: function () {
return u._invoke("destroy");
},
extendFn: function (n, t) {
return (f[n] = t);
},
_invoke: function (n) {
var t;
return (
(t = i.extend({}, o.vertical, o.horizontal)),
i.each(t, function (t, i) {
return i[n](), !0;
})
);
},
_filter: function (n, t, r) {
var u, f;
return ((u = s[i(n).data(h)]), !u)
? []
: ((f = []),
i.each(u.waypoints[t], function (n, t) {
if (r(u, t)) return f.push(t);
}),
f.sort(function (n, t) {
return n.offset - t.offset;
}),
i.map(f, function (n) {
return n.element;
}));
},
}),
(i[e] = function () {
var i, t;
return (
(t = arguments[0]),
(i = 2 <= arguments.length ? n.call(arguments, 1) : []),
u[t] ? u[t].apply(null, i) : u.aggregate.call(null, t)
);
}),
(i[e].settings = { resizeThrottle: 100, scrollThrottle: 30 }),
a.load(function () {
return i[e]("refresh");
})
);
});
}.call(this),
(function (n) {
"use strict";
n.fn.counterUp = function (t) {
var i = n.extend({ time: 400, delay: 10 }, t);
return this.each(function () {
var t = n(this),
r = i,
u = function () {
var e = [],
f = r.time / r.delay,
n = t.text(),
h = /[0-9]+,[0-9]+/.test(n),
u,
i,
s;
n = n.replace(/,/g, "");
var l = /^[0-9]+$/.test(n),
o = /^[0-9]+\.[0-9]+$/.test(n),
c = o ? (n.split(".")[1] || []).length : 0;
for (u = f; u >= 1; u--) {
if (
((i = parseInt((n / f) * u)),
o && (i = parseFloat((n / f) * u).toFixed(c)),
h)
)
while (/(\d+)(\d{3})/.test(i.toString()))
i = i.toString().replace(/(\d+)(\d{3})/, "$1,$2");
e.unshift(i);
}
t.data("counterup-nums", e);
t.text("0");
s = function () {
t.text(t.data("counterup-nums").shift());
t.data("counterup-nums").length
? setTimeout(t.data("counterup-func"), r.delay)
: (delete t.data("counterup-nums"),
t.data("counterup-nums", null),
t.data("counterup-func", null));
};
t.data("counterup-func", s);
setTimeout(t.data("counterup-func"), r.delay);
};
t.waypoint(u, { offset: "100%", triggerOnce: !0 });
});
};
})(jQuery);
markers = [];
onloadCaptchaCallback = function () {
try {
$(".g-recaptcha").each(function () {
var n = grecaptcha.render($(this).attr("id"), {
sitekey: $(this).data("sitekey"),
});
$(this).attr("data-widget-id", n);
});
} catch (n) {}
};