/*!
* fullpage 4.0.9
* https://github.com/alvarotrigo/fullpage.js
*
* @license gplv3 for open source use only
* or fullpage commercial license for commercial use
* http://alvarotrigo.com/fullpage/pricing/
*
* copyright (c) 2018 http://alvarotrigo.com/fullpage - a project by alvaro trigo
*/
!(function (n, t) {
"object" == typeof exports && "undefined" != typeof module
? (module.exports = t())
: "function" == typeof define && define.amd
? define(t)
: ((n =
"undefined" != typeof globalthis ? globalthis : n || self).fullpage =
t());
})(this, function () {
"use strict";
var n, t, e, o;
array.prototype.find ||
object.defineproperty(array.prototype, "find", {
value: function (n) {
if (null == this) throw new typeerror('"this" is null or not defined');
var t = object(this),
e = t.length >>> 0;
if ("function" != typeof n)
throw new typeerror("predicate must be a function");
for (var o = arguments[1], i = 0; i < e; ) {
var r = t[i];
if (n.call(o, r, i, t)) return r;
i++;
}
}
}),
array.from ||
(array.from =
((n = object.prototype.tostring),
(t = function (t) {
return "function" == typeof t || "[object function]" === n.call(t);
}),
(e = math.pow(2, 53) - 1),
(o = function (n) {
var t = (function (n) {
var t = number(n);
return isnan(t)
? 0
: 0 !== t && isfinite(t)
? (t > 0 ? 1 : -1) * math.floor(math.abs(t))
: t;
})(n);
return math.min(math.max(t, 0), e);
}),
function (n) {
var e = this,
i = object(n);
if (null == n)
throw new typeerror(
"array.from requires an array-like object - not null or undefined"
);
var r,
a = arguments.length > 1 ? arguments[1] : void 0;
if (void 0 !== a) {
if (!t(a))
throw new typeerror(
"array.from: when provided, the second argument must be a function"
);
arguments.length > 2 && (r = arguments[2]);
}
for (
var u,
c = o(i.length),
l = t(e) ? object(new e(c)) : new array(c),
f = 0;
f < c;
)
(u = i[f]),
(l[f] = a ? (void 0 === r ? a(u, f) : a.call(r, u, f)) : u),
(f += 1);
return (l.length = c), l;
}));
var i = window,
r = document,
a = navigator.useragent.match(
/(iphone|ipod|ipad|android|playbook|silk|blackberry|bb10|windows phone|tizen|bada|webos|iemobile|opera mini)/
),
u = /(mac|iphone|ipod|ipad)/i.test(i.navigator.useragent),
c =
"ontouchstart" in i ||
navigator.msmaxtouchpoints > 0 ||
navigator.maxtouchpoints,
l = { test: {}, shared: {} },
f = [
"parallax",
"scrolloverflowreset",
"dragandmove",
"offsetsections",
"fadingeffect",
"responsiveslides",
"continuoushorizontal",
"interlockedslides",
"scrollhorizontally",
"resetsliders",
"cards",
"dropeffect",
"watereffect"
];
function s(n, t) {
}
function v(n) {
return "none" !== i.getcomputedstyle(n).display;
}
function d(n) {
return array.from(n).filter(function (n) {
return v(n);
});
}
function h(n, t) {
return (t = arguments.length > 1 ? t : document)
? t.queryselectorall(n)
: null;
}
function p(n) {
n = n || {};
for (var t = 1, e = arguments.length; t < e; ++t) {
var o = arguments[t];
if (o)
for (var i in o)
o.hasownproperty(i) &&
"__proto__" != i &&
"constructor" != i &&
("[object object]" !== object.prototype.tostring.call(o[i])
? (n[i] = o[i])
: (n[i] = p(n[i], o[i])));
}
return n;
}
function g(n, t) {
return null != n && n.classlist.contains(t);
}
function m() {
return "innerheight" in i ? i.innerheight : r.documentelement.offsetheight;
}
function w() {
return i.innerwidth;
}
function b(n, t) {
var e;
for (e in ((n = m(n)), t))
if (t.hasownproperty(e) && null !== e)
for (var o = 0; o < n.length; o++) n[o].style[e] = t[e];
return n;
}
function y(n) {
return n.previouselementsibling;
}
function s(n) {
return n.nextelementsibling;
}
function t(n, t) {
n = a(n) ? n[0] : n;
for (
var e = null != t ? h(t, n.parentnode) : n.parentnode.childnodes,
o = 0,
i = 0;
i < e.length;
i++
) {
if (e[i] == n) return o;
1 == e[i].nodetype && o++;
}
return -1;
}
function m(n) {
return a(n) ? n : [n];
}
function x(n) {
n = m(n);
for (var t = 0; t < n.length; t++) n[t].style.display = "none";
return n;
}
function k(n) {
n = m(n);
for (var t = 0; t < n.length; t++) n[t].style.display = "block";
return n;
}
function a(n) {
return (
"[object array]" === object.prototype.tostring.call(n) ||
"[object nodelist]" === object.prototype.tostring.call(n)
);
}
function o(n, t) {
n = m(n);
for (var e = 0; e < n.length; e++) n[e].classlist.add(t);
return n;
}
function d(n, t) {
n = m(n);
for (var e = t.split(" "), o = 0; o < e.length; o++) {
t = e[o];
for (var i = 0; i < n.length; i++) n[i].classlist.remove(t);
}
return n;
}
function j(n, t) {
t.appendchild(n);
}
function e(n, t, e) {
var o;
t = t || r.createelement("div");
for (var i = 0; i < n.length; i++) {
var a = n[i];
((e && !i) || !e) &&
((o = t.clonenode(!0)), a.parentnode.insertbefore(o, a)),
o.appendchild(a);
}
return n;
}
function l(n, t) {
e(n, t, !0);
}
function r(n) {
for (var t = r.createdocumentfragment(); n.firstchild; )
t.appendchild(n.firstchild);
n.parentnode.replacechild(t, n);
}
function p(n, t) {
return n && 1 === n.nodetype ? (g(n, t) ? n : p(n.parentnode, t)) : null;
}
function c(n, t) {
f(n, n.nextsibling, t);
}
function z(n, t) {
f(n, n, t);
}
function f(n, t, e) {
a(e) || ("string" == typeof e && (e = q(e)), (e = [e]));
for (var o = 0; o < e.length; o++) n.parentnode.insertbefore(e[o], t);
}
function n(n) {
if (void 0 !== n && n.fittosection) return r.body.scrolltop;
var t = r.documentelement;
return (i.pageyoffset || t.scrolltop) - (t.clienttop || 0);
}
function b(n) {
return array.prototype.filter.call(n.parentnode.children, function (t) {
return t !== n;
});
}
function i(n) {
n.preventdefault();
}
function h(n, t) {
return n.getattribute(t);
}
function w(n, t, e) {
r.addeventlistener(n, t, "undefined" === e ? null : e);
}
function v(n, t, e) {
i.addeventlistener(n, t, "undefined" === e ? null : e);
}
function u(n, t, e) {
r.removeeventlistener(n, t, "undefined" === e ? null : e);
}
function k(n, t, e) {
i.removeeventlistener(n, t, "undefined" === e ? null : e);
}
function _(n) {
if ("function" == typeof n) return !0;
var t = object.prototype.tostring.call(n);
return "[object function]" === t || "[object generatorfunction]" === t;
}
function q(n, t, e) {
var o;
(e = void 0 === e ? {} : e),
"function" == typeof i.customevent
? (o = new customevent(t, { detail: e }))
: (o = r.createevent("customevent")).initcustomevent(t, !0, !0, e),
n.dispatchevent(o);
}
function g(n, t) {
return (
n.matches ||
n.t ||
n.msmatchesselector ||
n.mozmatchesselector ||
n.webkitmatchesselector ||
n.omatchesselector
).call(n, t);
}
function y(n, t) {
if ("boolean" == typeof t)
for (var e = 0; e < n.length; e++)
n[e].style.display = t ? "block" : "none";
return n;
}
function q(n) {
var t = r.createelement("div");
return (t.innerhtml = n.trim()), t.firstchild;
}
function x(n) {
n = m(n);
for (var t = 0; t < n.length; t++) {
var e = n[t];
e && e.parentelement && e.parentnode.removechild(e);
}
}
function $(n, t, e) {
for (var o = n[e], i = []; o; )
(g(o, t) || null == t) && i.push(o), (o = o[e]);
return i;
}
function j(n, t) {
return $(n, t, "nextelementsibling");
}
function z(n, t) {
return $(n, t, "previouselementsibling");
}
function nn(n) {
return n[n.length - 1];
}
function tn(n, t) {
for (
var e = 0, o = n.slice(math.max(n.length - t, 1)), i = 0;
i < o.length;
i++
)
e += o[i];
return math.ceil(e / t);
}
function en(n, t) {
n.setattribute(t, h(n, "data-" + t)), n.removeattribute("data-" + t);
}
function on(n) {
return (
(on =
"function" == typeof symbol && "symbol" == typeof symbol.iterator
? function (n) {
return typeof n;
}
: function (n) {
return n &&
"function" == typeof symbol &&
n.constructor === symbol &&
n !== symbol.prototype
? "symbol"
: typeof n;
}),
on(n)
);
}
i.nodelist &&
!nodelist.prototype.foreach &&
(nodelist.prototype.foreach = function (n, t) {
t = t || window;
for (var e = 0; e < this.length; e++) n.call(t, this[e], e, this);
}),
"function" != typeof object.assign &&
object.defineproperty(object, "assign", {
value: function (n, t) {
if (null == n)
throw new typeerror("cannot convert undefined or null to object");
for (var e = object(n), o = 1; o < arguments.length; o++) {
var i = arguments[o];
if (null != i)
for (var r in i)
object.prototype.hasownproperty.call(i, r) && (e[r] = i[r]);
}
return e;
},
writable: !0,
o: !0
}),
(window.fp_utils = {
$: h,
deepextend: p,
hasclass: g,
getwindowheight: m,
css: b,
prev: y,
next: s,
last: function (n) {
return n[n.length - 1];
},
index: t,
getlist: m,
hide: x,
show: k,
isarrayorlist: a,
addclass: o,
removeclass: d,
appendto: j,
wrap: e,
wrapall: l,
unwrap: r,
closest: p,
after: c,
before: z,
insertbefore: f,
getscrolltop: n,
siblings: b,
preventdefault: i,
isfunction: _,
trigger: q,
matches: g,
toggle: y,
createelementfromhtml: q,
remove: x,
untilall: $,
nextall: j,
prevall: z,
showerror: s
});
var rn = {
i: {},
u: function (n, t) {
var e = this;
return (
"object" !== on(this.i[n]) && (this.i[n] = []),
this.i[n].push(t),
function () {
return e.removelistener(n, t);
}
);
},
removelistener: function (n, t) {
if ("object" === on(this.i[n])) {
var e = this.i[n].indexof(t);
e > -1 && this.i[n].splice(e, 1);
}
},
l: function (n) {
for (
var t = this,
e = arguments.length,
o = new array(e > 1 ? e - 1 : 0),
i = 1;
i < e;
i++
)
o[i - 1] = arguments[i];
"object" === on(this.i[n]) &&
this.i[n].foreach(function (n) {
return n.apply(t, o);
});
},
once: function (n, t) {
var e = this,
o = this.u(n, function () {
o();
for (var n = arguments.length, i = new array(n), r = 0; r < n; r++)
i[r] = arguments[r];
t.apply(e, i);
});
}
},
an = {
v: 0,
h: 0,
slides: [],
p: [],
g: null,
s: null,
t: !1,
m: !1,
a: !1,
o: !1,
d: !1,
j: void 0,
l: void 0,
r: !1,
p: !0,
c: "none",
f: "none",
n: !1,
b: !1,
i: !0,
h: 0,
w: m(),
v: !1,
u: {},
scrolly: 0,
scrollx: 0
};
function un(n) {
object.assign(an, n);
}
function cn() {
return an;
}
function ln(n) {
rn.l("onclickortouch", { e: n, target: n.target });
}
function fn() {
["click", "touchstart"].foreach(function (n) {
u(n, ln);
});
}
function sn() {
un({ i: !0 });
}
(i.state = an),
rn.u("bindevents", function () {
["click", "touchstart"].foreach(function (n) {
w(n, ln);
}),
v("focus", sn),
rn.u("ondestroy", fn);
});
var vn = "fullpage-wrapper",
dn = "." + vn,
hn = "fp-responsive",
pn = "fp-notransition",
gn = "fp-destroyed",
mn = "fp-enabled",
wn = "active",
bn = ".active",
yn = "fp-completely",
sn = "fp-section",
tn = "." + sn,
mn = ".fp-tablecell",
xn = "fp-auto-height",
kn = "#fp-nav",
an = "fp-slide",
on = "." + an,
dn = ".fp-slide.active",
jn = "fp-slides",
en = ".fp-slides",
ln = "fp-slidescontainer",
rn = "." + ln,
pn = "fp-table",
cn = "fp-overflow",
zn = "." + cn,
fn = ".fp-slidesnav",
nn = ".fp-slidesnav a",
bn = "fp-controlarrow",
in = "." + bn,
hn = "fp-prev",
wn = ".fp-controlarrow.fp-prev",
vn = ".fp-controlarrow.fp-next",
un = {
menu: !1,
anchors: [],
lockanchors: !1,
navigation: !1,
navigationposition: "right",
navigationtooltips: [],
showactivetooltip: !1,
slidesnavigation: !1,
slidesnavposition: "bottom",
scrollbar: !1,
hybrid: !1,
licensekey: "",
credits: {
enabled: !0,
label: "made with fullpage.js",
position: "right"
},
css3: !0,
scrollingspeed: 700,
autoscrolling: !0,
fittosection: !0,
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: !0,
scrolloverflowreset: !1,
touchsensitivity: 5,
touchwrapper: null,
bigsectionsdestination: null,
keyboardscrolling: !0,
animateanchor: !0,
recordhistory: !0,
allowcorrectdirection: !1,
scrolloverflowmacstyle: !0,
controlarrows: !0,
controlarrowshtml: [
'
',
''
],
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",
afterload: null,
beforeleave: null,
onleave: null,
afterrender: null,
afterresize: null,
afterrebuild: null,
afterslideload: null,
onslideleave: null,
afterresponsive: null,
onscrolloverflow: null,
lazyloading: !0,
observer: !0
},
kn = null,
_n = !1,
qn = p({}, un),
gn = null;
function yn(n) {
return kn;
}
function qn() {
return gn || un;
}
function xn() {
return qn;
}
function $n(n, t, e) {
(gn[n] = t), "internal" !== e && (qn[n] = t);
}
function jn() {
if (!qn().anchors.length) {
var n = h(
qn().sectionselector.split(",").join("[data-anchor],") +
"[data-anchor]",
kn
);
n.length &&
n.length === h(qn().sectionselector, kn).length &&
((_n = !0),
n.foreach(function (n) {
qn().anchors.push(h(n, "data-anchor").tostring());
}));
}
if (!qn().navigationtooltips.length) {
var t = h(
qn().sectionselector.split(",").join("[data-tooltip],") +
"[data-tooltip]",
kn
);
t.length &&
t.foreach(function (n) {
qn().navigationtooltips.push(h(n, "data-tooltip").tostring());
});
}
}
var zn = function (n) {
(this.anchor = n.anchor),
(this.item = n.item),
(this.index = n.index()),
(this.islast =
this.index ===
n.item.parentelement.queryselectorall(n.selector).length - 1),
(this.isfirst = !this.index),
(this.isactive = n.isactive);
},
nt = function (n, t) {
(this.parent = this.parent || null),
(this.selector = t),
(this.anchor =
h(n, "data-anchor") || qn().anchors[t(n, qn().sectionselector)]),
(this.item = n),
(this.isvisible = v(n)),
(this.isactive = g(n, wn)),
(this.k = g(n, cn)),
(this._ = t === qn().sectionselector),
(this.q = p(n, rn) || p(n, dn)),
(this.index = function () {
return this.siblings().indexof(this);
});
};
function tt(n) {
return n.map(function (n) {
return n.item;
});
}
function et(n, t) {
return n.find(function (n) {
return n.item === t;
});
}
(nt.prototype.siblings = function () {
return this._
? this.isvisible
? an.p
: an.g
: this.parent
? this.parent.slides
: 0;
}),
(nt.prototype.prev = function () {
var n = this.siblings(),
t = (this._ ? n.indexof(this) : this.parent.slides.indexof(this)) - 1;
return t >= 0 ? n[t] : null;
}),
(nt.prototype.next = function () {
var n = this.siblings(),
t = (this._ ? n.indexof(this) : this.parent.slides.indexof(this)) + 1;
return t < n.length ? n[t] : null;
}),
(nt.prototype.y = function () {
return this._ ? an.p : an.x;
});
var ot,
it = function (n) {
zn.call(this, n);
},
rt = function (n) {
zn.call(this, n);
};
function at(n) {
var t = h(dn, n);
return t.length && (n = t[0]), n;
}
function ut(n) {
var t,
e,
o = qn();
return (
o.autoscrolling && !o.scrollbar
? ((t = -n), (e = h(dn)[0]))
: o.fittosection
? ((t = n), (e = r.body))
: ((t = n), (e = window)),
{ options: t, element: e }
);
}
function ct(n, t) {
!qn().autoscrolling || qn().scrollbar || (n.self != window && g(n, jn))
? n.self != window && g(n, jn)
? (n.scrollleft = t)
: n.scrollto(0, t)
: (n.style.top = t + "px");
}
function lt(n) {
var t = "transform " + qn().scrollingspeed + "ms " + qn().easingcss3;
return d(n, pn), b(n, { "-webkit-transition": t, transition: t });
}
function ft(n, t) {
var e = n.index(),
o = t(t, tn);
return e == o ? "none" : e > o ? "up" : "down";
}
function st(n) {
return o(n, pn);
}
function vt(n) {
return {
"-webkit-transform": n,
"-moz-transform": n,
"-ms-transform": n,
transform: n
};
}
function dt(n, t) {
t ? lt(yn()) : st(yn()),
cleartimeout(ot),
b(yn(), vt(n)),
(l.test.j = n),
(ot = settimeout(function () {
d(yn(), pn);
}, 10));
}
function ht(n) {
var t = math.round(n);
if (qn().css3 && qn().autoscrolling && !qn().scrollbar)
dt("translate3d(0px, -" + t + "px, 0px)", !1);
else if (qn().autoscrolling && !qn().scrollbar)
b(yn(), { top: -t + "px" }), (l.test.top = -t + "px");
else {
var e = ut(t);
ct(e.element, e.options);
}
}
function pt(n, t) {
$n("scrollingspeed", n, t);
}
function gt(n, t, e, o) {
var a,
u = (function (n) {
return n.self != i && g(n, jn)
? n.scrollleft
: !qn().autoscrolling || qn().scrollbar
? n(qn())
: n.offsettop;
})(n),
c = t - u,
l = !1;
un({ r: !0 }),
n === r.body && b(r.body, { "scroll-snap-type": "none" }),
window.requestanimationframe(function r(f) {
a || (a = f);
var s = math.floor(f - a);
if (an.r) {
var v = t;
e && (v = i.fp_easings[qn().easing](s, u, c, e)),
s <= e && ct(n, v),
s < e
? window.requestanimationframe(r)
: void 0 === o || l || (o(), (l = !0));
} else l || (o(), (l = !0));
});
}
function mt(n) {
return n && !n.item ? new it(new qt(n)) : n ? new it(n) : null;
}
function wt(n) {
return n ? new rt(n) : null;
}
function bt(n, t) {
var e,
o = (function (n, t) {
var e = {
afterrender: function () {
return { section: mt(cn().g), z: wt(cn().g.activeslide) };
},
onleave: function () {
return {
origin: mt(t.items.origin),
destination: mt(t.items.destination),
direction: t.direction,
trigger: cn().s
};
},
afterload: function () {
return e.onleave();
},
afterslideload: function () {
return {
section: mt(t.items.section),
origin: mt(t.items.origin),
destination: mt(t.items.destination),
direction: t.direction,
trigger: cn().s
};
},
onslideleave: function () {
return e.afterslideload();
},
beforeleave: function () {
return e.onleave();
},
onscrolloverflow: function () {
return {
section: mt(cn().g),
z: wt(cn().g.activeslide),
position: t.position,
direction: t.direction
};
}
};
return e[n]();
})(n, t);
return (
q(yn(), n, o),
!1 !==
qn()[n].apply(
o[object.keys(o)[0]],
((e = o),
object.keys(e).map(function (n) {
return e[n];
}))
)
);
}
function yt(n) {
var t = at(n);
h("video, audio", t).foreach(function (n) {
n.hasattribute("data-autoplay") &&
"function" == typeof n.play &&
n.play();
}),
h('iframe[src*="youtube.com/embed/"]', t).foreach(function (n) {
n.hasattribute("data-autoplay") && st(n),
(n.onload = function () {
n.hasattribute("data-autoplay") && st(n);
});
});
}
function st(n) {
n.contentwindow.postmessage(
'{"event":"command","func":"playvideo","args":""}',
"*"
);
}
function tt(n) {
var t = at(n);
h("video, audio", t).foreach(function (n) {
n.hasattribute("data-keepplaying") ||
"function" != typeof n.pause ||
n.pause();
}),
h('iframe[src*="youtube.com/embed/"]', t).foreach(function (n) {
/youtube\.com\/embed\//.test(h(n, "src")) &&
!n.hasattribute("data-keepplaying") &&
n.contentwindow.postmessage(
'{"event":"command","func":"pausevideo","args":""}',
"*"
);
});
}
function mt(n) {
qn().lazyloading &&
h(
"img[data-src], img[data-srcset], source[data-src], source[data-srcset], video[data-src], audio[data-src], iframe[data-src]",
at(n)
).foreach(function (n) {
if (
(["src", "srcset"].foreach(function (t) {
var e = h(n, "data-" + t);
null != e &&
e &&
(en(n, t), n.addeventlistener("load", function () {}));
}),
g(n, "source"))
) {
var t = p(n, "video, audio");
t && (t.load(), (t.onloadeddata = function () {}));
}
});
}
l.setscrollingspeed = pt;
var xt = null,
kt = null,
at = null;
function ot() {
var n = cn().g.item,
t = cn().g.activeslide,
e = dt(n),
o = string(e);
t && (o = o + "-" + dt(t.item)), (o = o.replace("/", "-").replace("#", ""));
var i = new regexp("\\b\\s?fp-viewing-[^\\s]+\\b", "g");
(xt.classname = xt.classname.replace(i, "")), o(xt, "fp-viewing-" + o);
}
function dt(n) {
if (!n) return null;
var t = h(n, "data-anchor"),
e = t(n);
return null == t && (t = e), t;
}
function jt(n, t, e) {
var o = "";
qn().anchors.length &&
!qn().lockanchors &&
(n
? (null != e && (o = e),
null == t && (t = n),
un({ l: t }),
et(o + "/" + t))
: null != n
? (un({ l: t }), et(e))
: et(e)),
ot();
}
function et(n) {
if (qn().recordhistory) location.hash = n;
else if (a || c) i.history.replacestate(void 0, void 0, "#" + n);
else {
var t = i.location.href.split("#")[0];
i.location.replace(t + "#" + n);
}
}
function lt(n, t, e) {
var o = "section" === t ? qn().anchors[n] : h(e, "data-anchor");
return encodeuri(qn().navigationtooltips[n] || o || t + " " + (n + 1));
}
function rt(n) {
i(n), un({ s: "horizontalnav" });
var t = p(this, tn),
e = h(en, p(this, tn))[0],
o = et(cn().p, t).slides[t(p(this, "li"))];
rn.l("landscapescroll", { slides: e, destination: o.item });
}
var pt,
ct = {};
function zt(n, t, e) {
"all" !== t
? (ct[e][t] = n)
: object.keys(ct[e]).foreach(function (t) {
ct[e][t] = n;
});
}
function ft() {
return ct;
}
function nt() {
var n = p(this, tn);
g(this, hn)
? ft().m.left &&
(un({ s: "slidearrow" }), rn.l("moveslideleft", { section: n }))
: ft().m.right &&
(un({ s: "slidearrow" }), rn.l("moveslideright", { section: n }));
}
function bt() {
cleartimeout(pt);
}
function it(n, t, e) {
var o,
i,
r = p(n, tn),
a = cn().p.filter(function (n) {
return n.item == r;
})[0],
u = a.slides.filter(function (n) {
return n.item == t;
})[0],
c = {
slides: n,
destiny: t,
direction: e,
destinypos: { left: t.offsetleft },
slideindex: u.index(),
section: r,
sectionindex: a.index(),
anchorlink: a.anchor,
slidesnav: h(fn, r)[0],
slideanchor: u.anchor,
prevslide: a.activeslide.item,
prevslideindex: a.activeslide.index(),
items: { section: a, origin: a.activeslide, destination: u },
localisresizing: an.o
};
(c.nn =
((o = c.prevslideindex),
(i = c.slideindex),
o == i ? "none" : o > i ? "left" : "right")),
(c.direction = c.direction ? c.direction : c.nn),
c.localisresizing || un({ p: !1 }),
qn().onslideleave &&
!c.localisresizing &&
"none" !== c.nn &&
_(qn().onslideleave) &&
!1 === bt("onslideleave", c)
? un({ a: !1 })
: (o(t, wn),
d(b(t), wn),
_t(),
c.localisresizing || (tt(c.prevslide), mt(t)),
(function (n) {
!qn().loophorizontal &&
qn().controlarrows &&
(y(h(wn, n.section), 0 !== n.slideindex),
y(h(vn, n.section), null != s(n.destiny)));
})(c),
a.isactive &&
!c.localisresizing &&
jt(c.slideindex, c.slideanchor, c.anchorlink),
(function (n, t, e) {
var o,
i,
r = t.destinypos;
if (
((o = t.slidesnav),
(i = t.slideindex),
qn().slidesnavigation &&
null != o &&
(d(h(bn, o), wn), o(h("a", h("li", o)[i]), wn)),
un({ scrollx: math.round(r.left) }),
qn().css3)
) {
var a = "translate3d(-" + math.round(r.left) + "px, 0px, 0px)";
(l.test.tn[t.sectionindex] = a),
b(lt(h(rn, n)), vt(a)),
cleartimeout(pt),
(pt = settimeout(function () {
wt(t);
}, qn().scrollingspeed));
} else
(l.test.left[t.sectionindex] = math.round(r.left)),
gt(n, math.round(r.left), qn().scrollingspeed, function () {
wt(t);
});
})(n, c));
}
function ht() {
cleartimeout(pt);
}
function wt(n) {
n.localisresizing ||
(_(qn().afterslideload) && bt("afterslideload", n),
un({ p: !0 }),
yt(n.destiny)),
un({ a: !1 });
}
function vt(n, t) {
pt(0, "internal"),
void 0 !== t && un({ o: !0 }),
it(p(n, en), n),
void 0 !== t && un({ o: !1 }),
pt(xn().scrollingspeed, "internal");
}
(ct.m = { up: !0, down: !0, left: !0, right: !0 }),
(ct.k = p({}, ct.m)),
rn.u("onclickortouch", function (n) {
var t = n.target;
(g(t, in) || p(t, in)) && nt.call(t, n);
}),
(l.landscapescroll = it),
rn.u("bindevents", function () {
rn.u("onperformmovement", bt);
});
var ut = null,
kt = null;
function _t() {
(an.g = null),
an.p.map(function (n) {
var t = g(n.item, wn);
(n.isactive = t),
(n.k = g(n.item, cn)),
t && (an.g = n),
n.slides.length &&
((n.activeslide = null),
n.slides.map(function (t) {
var e = g(t.item, wn);
(t.k = g(t.item, cn)), (t.isactive = e), e && (n.activeslide = t);
}));
}),
(function () {
var n = an.g,
t = !!an.g && an.g.slides.length,
e = an.g ? an.g.activeslide : null;
if (!n && an.p.length && !cn().t && ut) {
var o = yt(ut, an.p);
o && ((an.g = o), (an.g.isactive = !0), o(an.g.item, wn)),
an.g && ht(an.g.item.offsettop);
}
if (t && !e && kt) {
var i = yt(kt, an.g.slides);
i &&
((an.g.activeslide = i),
(an.g.activeslide.isactive = !0),
o(an.g.activeslide.item, wn)),
an.g.activeslide && vt(an.g.activeslide.item, "internal");
}
})();
}
function qt() {
var n = h(qn().sectionselector, yn()),
t = d(n),
e = array.from(n).map(function (n) {
return new qt(n);
}),
o = e.filter(function (n) {
return n.isvisible;
}),
i = o.reduce(function (n, t) {
return n.concat(t.slides);
}, []);
(ut = gt(an.g)),
(kt = gt(an.g ? an.g.activeslide : null)),
(an.v = t.length),
(an.h = o.reduce(function (n, t) {
return n + t.slides.length;
}, 0)),
(an.p = o),
(an.g = e),
(an.slides = i),
(an.x = an.p.concat(an.slides));
}
function gt(n) {
if (!n) return null;
var t = n ? n.item : null,
e = n._ ? an.g : an.g.en;
if (t) {
var o = et(e, t);
return o ? o.index() : null;
}
return null;
}
function yt(n, t) {
var e,
o = n - 1,
i = n;
do {
if ((e = t[o] || t[i])) break;
(o -= 1), (i += 1);
} while (o >= 0 || i < t.length);
return e;
}
var qt = function (n) {
var t = this;
[].push.call(arguments, qn().sectionselector),
nt.apply(this, arguments),
(this.on = h(qn().slideselector, n)),
(this.en = array.from(this.on).map(function (n) {
return new xt(n, t);
})),
(this.slides = this.en.filter(function (n) {
return n.isvisible;
})),
(this.activeslide = this.slides.length
? this.slides.filter(function (n) {
return n.isactive;
})[0] || this.slides[0]
: null);
};
(qt.prototype = nt.prototype), (qt.prototype.constructor = qt);
var xt = function (n, t) {
(this.parent = t), nt.call(this, n, qn().slideselector);
};
function $t() {
o(h(qn().sectionselector, yn()), sn), o(h(qn().slideselector, yn()), an);
}
function jt() {
q(y(this), "click");
}
function zt() {
x(h(kn));
var n = r.createelement("div");
n.setattribute("id", "fp-nav");
var t = r.createelement("ul");
n.appendchild(t), j(n, xt);
var e = h(kn)[0];
o(e, "fp-" + qn().navigationposition),
qn().showactivetooltip && o(e, "fp-show-active");
for (var o = "", i = 0; i < cn().p.length; i++) {
var a = cn().p[i],
u = "";
qn().anchors.length && (u = a.anchor),
(o +=
'' +
lt(a.index(), "section") +
"");
var c = qn().navigationtooltips[a.index()];
void 0 !== c &&
"" !== c &&
(o +=
'' +
c +
"
"),
(o += "");
}
h("ul", e)[0].innerhtml = o;
var l = h("li", h(kn)[0])[cn().g.index()];
o(h("a", l), wn);
}
function ne(n) {
n.preventdefault && i(n), un({ s: "verticalnav" });
var t = t(p(this, "#fp-nav li"));
rn.l("scrollpage", { destination: cn().p[t] });
}
function te(n, t) {
$n("recordhistory", n, t);
}
function ee(n, t) {
n || ht(0), $n("autoscrolling", n, t);
var e = cn().g.item;
if (qn().autoscrolling && !qn().scrollbar)
b(at, { overflow: "hidden", height: "100%" }),
d(xt, "fp-scrollable"),
te(xn().recordhistory, "internal"),
b(yn(), { "-ms-touch-action": "none", "touch-action": "none" }),
null != e && ht(e.offsettop);
else if (
(b(at, { overflow: "visible", height: "initial" }),
o(xt, "fp-scrollable"),
te(!!qn().autoscrolling && xn().recordhistory, "internal"),
b(yn(), { "-ms-touch-action": "", "touch-action": "" }),
null != e)
) {
b(at, { "scroll-behavior": "unset" });
var o = ut(e.offsettop);
o.element.scrollto(0, o.options);
}
}
(xt.prototype = nt.prototype),
(xt.prototype.constructor = qt),
(l.setrecordhistory = te),
(l.setautoscrolling = ee),
(l.test.setautoscrolling = ee),
(l.setfittosection = re),
(l.fittosection = function () {});
var oe,
ie =
"scrollsnapalign" in (oe = r.documentelement.style) ||
"rn" in oe ||
"an" in oe;
function re(n, t) {
ae(n), $n("fittosection", n, t);
}
function ae(n) {
ie &&
(qn().fittosection && (!qn().autoscrolling || qn().scrollbar) && n
? o
: d)(kt, "fp-snaps");
}
function ue() {
var n = qn().responsive || qn().responsivewidth,
t = qn().responsiveheight,
e = n && i.innerwidth < n,
o = t && i.innerheight < t;
n && t ? ce(e || o) : n ? ce(e) : t && ce(o);
}
function ce(n) {
var t = le();
n
? t ||
(ee(!1, "internal"),
re(!1, "internal"),
x(h(kn)),
o(xt, hn),
_(qn().afterresponsive) && qn().afterresponsive.call(yn(), n))
: t &&
(ee(xn().autoscrolling, "internal"),
re(xn().autoscrolling, "internal"),
k(h(kn)),
d(xt, hn),
_(qn().afterresponsive) && qn().afterresponsive.call(yn(), n));
}
function le() {
return g(xt, hn);
}
(l.setresponsive = ce),
rn.u("bindevents", function () {
i.addeventlistener("load", function () {
qn().scrolloverflow && !qn().scrollbar && (se.un(), se.cn());
}),
qn().scrolloverflow &&
tt(cn().x).foreach(function (n) {
n.addeventlistener("scroll", se.ln),
n.addeventlistener("wheel", se.sn),
n.addeventlistener("keydown", se.sn),
n.addeventlistener("keydown", se.vn);
});
});
var fe,
se = {
dn: null,
hn: null,
pn: null,
sn: function (n) {
if (!an.p) return i(n), !1;
},
cn: function () {
r.activeelement === this.dn && this.dn.blur(),
h(".fp-overflow.active", cn().g.item)[0] &&
((this.dn = h(zn, cn().g.item)[0]), this.dn.focus());
},
un: function () {
qn().scrolloverflowmacstyle && !u && o(xt, "fp-scroll-mac"),
cn().x.foreach(function (n) {
if (
!(
g(n.item, "fp-noscroll") ||
g(n.item, xn) ||
(g(n.item, "fp-auto-height-responsive") && le())
)
) {
var t = se.gn(n.item),
e = se.mn(n.item);
e
? (o(t, cn), t.setattribute("tabindex", "-1"))
: (d(t, cn), t.removeattribute("tabindex")),
(n.k = e);
}
});
},
gn: function (n) {
return h(dn, n)[0] || n;
},
wn: function (n) {
return n._ && n.activeslide ? n.activeslide.k : n.k;
},
mn: function (n) {
return n.scrollheight > i.innerheight;
},
bn: function (n, t) {
if (!an.p) return !1;
if (!qn().scrolloverflow) return !0;
var e = se.gn(t),
o = e.scrolltop,
i = "up" === n && o <= 0,
r = "down" === n && e.scrollheight <= math.ceil(e.offsetheight + o),
a = i || r;
return a || (this.hn = new date().gettime()), a;
},
yn: function () {
this.pn = new date().gettime();
var n = this.pn - se.hn,
t = (a || c) && an.n,
e = an.b && n > 600;
return (t && n > 400) || e;
},
ln:
((fe = 0),
function (n) {
var t = n.target.scrolltop,
e = "none" !== an.c ? an.c : fe < t ? "down" : "up";
(fe = t),
_(qn().onscrolloverflow) &&
bt("onscrolloverflow", { position: t, direction: e }),
g(n.target, cn) &&
an.p &&
se.bn(e, n.target) &&
se.yn() &&
rn.l("onscrolloverflowscrolled", { direction: e });
})
};
function ve(n) {
qn().verticalcentered && (se.wn(n) || g(n.item, pn) || o(n.item, pn));
}
function de(n) {
var t = n.slides.length,
e = n.on,
o = n.slides,
i = 100 * t,
a = 100 / t;
if (!h(en, n.item)[0]) {
var u = r.createelement("div");
(u.classname = jn), l(e, u);
var c = r.createelement("div");
(c.classname = ln), l(e, c);
}
b(h(rn, n.item), { width: i + "%" }),
t > 1 &&
(qn().controlarrows &&
(function (n) {
var t = n.item,
e = [q(qn().controlarrowshtml[0]), q(qn().controlarrowshtml[1])];
c(h(en, t)[0], e),
o(e, bn),
o(e[0], hn),
o(e[1], "fp-next"),
"#fff" !== qn().controlarrowcolor &&
(b(h(vn, t), {
"border-color":
"transparent transparent transparent " +
qn().controlarrowcolor
}),
b(h(wn, t), {
"border-color":
"transparent " +
qn().controlarrowcolor +
" transparent transparent"
})),
qn().loophorizontal || x(h(wn, t));
})(n),
qn().slidesnavigation &&
(function (n) {
var t = n.item,
e = n.slides.length;
j(q(''), t);
var o = h(fn, t)[0];
o(o, "fp-" + qn().slidesnavposition);
for (var i = 0; i < e; i++)
j(
q(
'' +
lt(i, "slide", h(on, t)[i]) +
""
),
h("ul", o)[0]
);
b(o, { "margin-left": "-" + o.innerwidth / 2 + "px" });
var r = n.activeslide ? n.activeslide.index() : 0;
o(h("a", h("li", o)[r]), wn);
})(n)),
o.foreach(function (n) {
b(n.item, { width: a + "%" }), qn().verticalcentered && ve(n);
});
var l = n.activeslide || null;
null != l &&
an.g &&
(0 !== an.g.index() || (0 === an.g.index() && 0 !== l.index()))
? vt(l.item, "internal")
: o(e[0], wn);
}
var he,
pe = null;
function ge(n) {
var t = n.item,
e = n.on.length,
o = n.index();
!cn().g && n.isvisible && (o(t, wn), _t()),
(pe = cn().g.item),
qn().paddingtop && b(t, { "padding-top": qn().paddingtop }),
qn().paddingbottom && b(t, { "padding-bottom": qn().paddingbottom }),
void 0 !== qn().sectionscolor[o] &&
b(t, { "background-color": qn().sectionscolor[o] }),
void 0 !== qn().anchors[o] && t.setattribute("data-anchor", n.anchor),
e || ve(n);
}
l.getactivesection = function () {
return cn().g;
};
var me = { attributes: !1, subtree: !0, childlist: !0, characterdata: !0 };
function we() {
return d(h(qn().slideselector, yn())).length !== cn().h;
}
function be(n) {
var t = we();
(we() || d(h(qn().sectionselector, yn())).length !== cn().v) &&
!an.v &&
(qn().observer && he && he.disconnect(),
qt(),
_t(),
(qn().anchors = []),
x(h(kn)),
$t(),
jn(),
qn().navigation && zt(),
t && (x(h(fn)), x(h(in))),
cn().p.foreach(function (n) {
n.slides.length ? t && de(n) : ge(n);
})),
qn().observer && he && h(dn)[0] && he.observe(h(dn)[0], me);
}
rn.u("bindevents", function () {
var n, t, e;
qn().observer &&
"mutationobserver" in window &&
h(dn)[0] &&
((n = h(dn)[0]),
(t = me),
(e = new mutationobserver(be)).observe(n, t),
(he = e)),
rn.u("contentchanged", be);
}),
(l.sn = be);
var ye = (function () {
var n = !1;
try {
var t = object.defineproperty({}, "passive", {
get: function () {
n = !0;
}
});
v("testpassive", null, t), k("testpassive", null, t);
} catch (n) {}
return function () {
return n;
};
})();
function se() {
return !!ye() && { passive: !1 };
}
new date().gettime();
var te,
me,
xe,
ke,
ae,
oe,
de =
((me = new date().gettime()),
function (n, t) {
var e = new date().gettime(),
o = "wheel" === n ? qn().scrollingspeed : 100;
return e - me >= o && ((te = t()), (me = e)), void 0 === te || te;
}),
je =
((ae = new date().gettime()),
(oe = []),
{
tn: function (n) {
var t = (n = n || i.event).wheeldelta || -n.deltay || -n.detail,
e = math.max(-1, math.min(1, t)),
o = void 0 !== n.wheeldeltax || void 0 !== n.deltax;
xe =
math.abs(n.wheeldeltax) < math.abs(n.wheeldelta) ||
math.abs(n.deltax) < math.abs(n.deltay) ||
!o;
var r = new date().gettime();
(ke = e < 0 ? "down" : "up"),
oe.length > 149 && oe.shift(),
oe.push(math.abs(t));
var a = r - ae;
(ae = r), a > 200 && (oe = []);
},
mn: function () {
var n = tn(oe, 10) >= tn(oe, 70);
return !!oe.length && n && xe;
},
xn: function () {
return ke;
}
});
function ee() {
var n = qn().css3
? n(qn()) + m()
: nn(cn().p).item.offsettop + nn(cn().p).item.offsetheight,
t = ut(n);
(l.test.top = -n + "px"),
b(r.body, { "scroll-snap-type": "none" }),
b(at, { "scroll-behavior": "unset" }),
un({ p: !1 }),
gt(t.element, t.options, qn().scrollingspeed, function () {
settimeout(function () {
un({ t: !0 }), un({ p: !0 });
}, 30);
});
}
function le() {
yn().getboundingclientrect().bottom >= 0 && re();
}
function re() {
var n = ut(nn(cn().p).item.offsettop);
un({ p: !1 }),
gt(n.element, n.options, qn().scrollingspeed, function () {
un({ p: !0 }), un({ t: !1 }), un({ kn: !1 });
});
}
var pe,
ce,
ze,
fe,
ne,
be =
((pe = !1),
(ce = {}),
(ze = {}),
function (n, t, e) {
switch (n) {
case "set":
(ce[t] = new date().gettime()), (ze[t] = e);
break;
case "isnewkeyframe":
var o = new date().gettime();
pe = o - ce[t] > ze[t];
}
return pe;
});
function ie() {
var n =
h(".fp-auto-height")[0] || (le() && h(".fp-auto-height-responsive")[0]);
qn().lazyloading &&
n &&
h(".fp-section:not(.active)").foreach(function (n) {
var t, e, o, i, r;
(e = (t = n.getboundingclientrect()).top),
(o = t.bottom),
(i = e + 2 < an.w && e > 0),
(r = o > 2 && o < an.w),
(i || r) && mt(n);
});
}
function he(n, t) {
var e;
(e = n),
qn().menu &&
qn().menu.length &&
h(qn().menu).foreach(function (n) {
null != n &&
(d(h(bn, n), wn), o(h('[data-menuanchor="' + e + '"]', n), wn));
}),
(function (n, t) {
var e = h(kn)[0];
qn().navigation &&
null != e &&
"none" !== e.style.display &&
(d(h(bn, e), wn),
o(n ? h('a[href="#' + n + '"]', e) : h("a", h("li", e)[t]), wn));
})(n, t);
}
function we(n, t) {
if (_(qn().beforeleave))
return de(cn().s, function () {
return bt(n, t);
});
}
function ve(n, t, e) {
var o = n.item;
if (null != o) {
var i,
r,
a = (function (n) {
var t = n.offsetheight,
e = n.offsettop,
o = e,
i = e > an.h,
r = o - m() + t,
a = qn().bigsectionsdestination;
return (
t > m()
? ((i || a) && "bottom" !== a) || (o = r)
: (i || (an.o && null == s(n))) && (o = r),
un({ h: o }),
o
);
})(o),
u = {
element: o,
callback: t,
ismovementup: e,
dtop: a,
ymovement: ft(cn().g, o),
anchorlink: n.anchor,
sectionindex: n.index(),
activeslide: n.activeslide ? n.activeslide.item : null,
leavingsection: cn().g.index() + 1,
localisresizing: an.o,
items: { origin: cn().g, destination: n },
direction: null
};
if (
!(
(cn().g.item == o && !an.o) ||
(qn().scrollbar && n(qn()) === u.dtop && !g(o, xn))
)
) {
if (
(null != u.activeslide &&
((i = h(u.activeslide, "data-anchor")),
(r = t(u.activeslide, null))),
!u.localisresizing)
) {
var c = u.ymovement;
if (
(void 0 !== e && (c = e ? "up" : "down"),
(u.direction = c),
_(qn().beforeleave) && !1 === we("beforeleave", u))
)
return;
if (_(qn().onleave) && !bt("onleave", u)) return;
}
qn().autoscrolling &&
qn().continuousvertical &&
void 0 !== u.ismovementup &&
((!u.ismovementup && "up" == u.ymovement) ||
(u.ismovementup && "down" == u.ymovement)) &&
(u = (function (n) {
un({ v: !0 });
var t = cn().g.item;
return (
n.ismovementup ? z(t, j(t, tn)) : c(t, z(t, tn).reverse()),
ht(cn().g.item.offsettop),
(function () {
for (var n = h(dn), t = 0; t < n.length; t++)
vt(n[t], "internal");
})(),
(n.an = t),
(n.dtop = n.element.offsettop),
(n.ymovement = ft(cn().g, n.element)),
n
);
})(u)),
u.localisresizing || tt(cn().g.item),
o(o, wn),
d(b(o), wn),
_t(),
mt(o),
un({ p: l.test.on }),
jt(r, i, u.anchorlink),
(function (n) {
var t = qn().scrollingspeed < 700,
e = t ? 700 : qn().scrollingspeed;
if (
(un({ c: "none", scrolly: math.round(n.dtop) }),
rn.l("onperformmovement"),
qn().css3 && qn().autoscrolling && !qn().scrollbar)
)
dt("translate3d(0px, -" + math.round(n.dtop) + "px, 0px)", !0),
qn().scrollingspeed
? (cleartimeout(fe),
(fe = settimeout(function () {
ue(n), un({ p: !t || l.test.on });
}, qn().scrollingspeed)))
: ue(n);
else {
var o = ut(n.dtop);
(l.test.top = -n.dtop + "px"),
b(at, { "scroll-behavior": "unset" }),
cleartimeout(fe),
gt(o.element, o.options, qn().scrollingspeed, function () {
qn().scrollbar
? (fe = settimeout(function () {
ue(n);
}, 30))
: (ue(n), un({ p: !t || l.test.on }));
});
}
t &&
(cleartimeout(ne),
(ne = settimeout(function () {
un({ p: !0 });
}, e)));
})(u),
un({ j: u.anchorlink }),
he(u.anchorlink, u.sectionindex);
}
}
}
function ue(n) {
qn().fittosection &&
g(h(".fp-section.active")[0], xn) &&
b(r.body, { "scroll-snap-type": "none" }),
un({ t: !1 }),
(function (n) {
null != n.an &&
(n.ismovementup
? z(h(tn)[0], n.an)
: c(h(tn)[cn().p.length - 1], n.an),
ht(cn().g.item.offsettop),
(function () {
for (var n = h(dn), t = 0; t < n.length; t++) vt(n[t], "internal");
})(),
un({ v: !1 }));
})(n),
_(qn().afterload) && !n.localisresizing && bt("afterload", n),
_t(),
n.localisresizing || yt(n.element),
o(n.element, yn),
d(b(n.element), yn),
ie(),
se.cn(),
un({ p: !0 }),
_(n.callback) && n.callback();
}
function ke() {
var n = cn().g.next();
n || (!qn().loopbottom && !qn().continuousvertical) || (n = cn().p[0]),
null != n
? ve(n, null, !1)
: yn().scrollheight < xt.scrollheight && rn.l("scrollbeyondfullpage");
}
function _e() {
var n = cn().g.prev();
n || (!qn().looptop && !qn().continuousvertical) || (n = nn(cn().p)),
null != n && ve(n, null, !0);
}
(l.moveto = moveto),
(l.getscrolly = function () {
return an.scrolly;
}),
rn.u("ondestroy", function () {
cleartimeout(fe), cleartimeout(ne);
}),
(l.movesectiondown = ke),
(l.movesectionup = _e);
var qe = 0;
function ge(n) {
qn().autoscrolling &&
(an.p &&
(n.pagey < qe && ft().m.up
? _e()
: n.pagey > qe && ft().m.down && ke()),
(qe = n.pagey));
}
function ye(n) {
if (ft().m[n]) {
var t = "down" === n ? ke : _e;
qn().scrolloverflow && se.wn(cn().g)
? se.bn(n, cn().g.item) && se.yn() && t()
: t();
}
}
var qe,
xe,
$e,
je = 0,
ze = 0,
no = 0,
to = 0,
eo =
(i.pointerevent && ($e = { down: "pointerdown", move: "pointermove" }),
$e),
oo = {
dn: "ontouchmove" in window ? "touchmove" : eo ? eo.move : null,
jn: "ontouchstart" in window ? "touchstart" : eo ? eo.down : null
};
function io(n) {
var t = p(n.target, tn) || cn().g.item,
e = se.wn(cn().g);
if (ro(n)) {
un({ n: !0, b: !1 }), qn().autoscrolling && (!e || (e && !an.p)) && i(n);
var o = co(n);
(no = o.y), (to = o.x);
var r = math.abs(je - no) > (i.innerheight / 100) * qn().touchsensitivity,
a = math.abs(ze - to) > (w() / 100) * qn().touchsensitivity,
u = h(en, t).length && math.abs(ze - to) > math.abs(je - no),
c = je > no ? "down" : "up";
un({ c: u ? (ze > to ? "right" : "left") : c }),
u
? !an.a &&
a &&
(ze > to
? ft().m.right && rn.l("moveslideright", { section: t })
: ft().m.left && rn.l("moveslideleft", { section: t }))
: qn().autoscrolling && an.p && r && ye(c);
}
}
function ro(n) {
return void 0 === n.pointertype || "mouse" != n.pointertype;
}
function ao(n) {
if ((qn().fittosection && un({ r: !1 }), ro(n))) {
var t = co(n);
(je = t.y), (ze = t.x);
}
v("touchend", uo);
}
function uo() {
k("touchend", uo), un({ n: !1 });
}
function co(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),
c &&
ro(n) &&
qn().scrollbar &&
void 0 !== n.touches &&
((t.y = n.touches[0].pagey), (t.x = n.touches[0].pagex)),
t
);
}
function lo(n) {
qn().autoscrolling && ro(n) && ft().m.up && (an.p || i(n));
}
function fo(n, t) {
var e = null == t ? cn().g.item : t,
o = et(an.p, e),
i = h(en, e)[0];
if (!(null == i || an.a || o.slides.length < 2)) {
var r = o.activeslide,
a = "left" === n ? r.prev() : r.next();
if (!a) {
if (!qn().loophorizontal) return;
a = "left" === n ? nn(o.slides) : o.slides[0];
}
un({ a: !l.test.on }), it(i, a.item, n);
}
}
function so(n) {
fo("left", n);
}
function vo(n) {
fo("right", n);
}
function ho(n) {
var t = cn().p.filter(function (t) {
return t.anchor === n;
})[0];
if (!t) {
var e = void 0 !== n ? n - 1 : 0;
t = cn().p[e];
}
return t;
}
function po(n) {
null != n && it(p(n, en), n);
}
function go(n, t) {
var e = ho(n);
if (null != e) {
var o = (function (n, t) {
var e = t.slides.filter(function (t) {
return t.anchor === n;
})[0];
return (
null == e && ((n = void 0 !== n ? n : 0), (e = t.slides[n])),
e ? e.item : null
);
})(t, e);
e.anchor === an.j || g(e.item, wn)
? po(o)
: ve(e, function () {
po(o);
});
}
}
function mo(n, t) {
var e = ho(n);
void 0 !== t ? go(n, t) : null != e && ve(e);
}
function wo() {
cleartimeout(xe), u("keydown", yo), u("keyup", so);
}
function bo() {
var n = r.activeelement;
return (
g(n, "textarea") ||
g(n, "input") ||
g(n, "select") ||
"true" == h(n, "contenteditable") ||
"" == h(n, "contenteditable")
);
}
function yo(n) {
cleartimeout(xe);
var t = n.keycode,
e = [37, 39].indexof(t) > -1,
o = qn().autoscrolling || e;
9 === t
? (function (n) {
var t = n.shiftkey,
e = r.activeelement,
o = mo(at(cn().g.item));
function i(n) {
return i(n), o[0] ? o[0].focus() : null;
}
(function (n) {
var t = mo(r),
e = t.indexof(r.activeelement),
o = t[n.shiftkey ? e - 1 : e + 1],
i = p(o, on),
a = p(o, tn);
return !i && !a;
})(n) ||
(e
? null ==
p(
e,
".fp-section.active,.fp-section.active .fp-slide.active"
) && (e = i(n))
: i(n),
((!t && e == o[o.length - 1]) || (t && e == o[0])) && i(n));
})(n)
: !bo() &&
qn().keyboardscrolling &&
o &&
((qe = n.ctrlkey),
(xe = settimeout(function () {
!(function (n) {
var t = n.shiftkey,
e = r.activeelement,
o = g(e, "video") || g(e, "audio"),
i = se.bn("up", cn().g.item),
a = se.bn("down", cn().g.item),
u = [37, 39].indexof(n.keycode) > -1;
if ((ko(n), an.p || u))
switch ((un({ s: "keydown" }), n.keycode)) {
case 38:
case 33:
ft().k.up && i && (an.t ? rn.l("onkeydown", { e: n }) : _e());
break;
case 32:
if (t && ft().k.up && !o && i) {
_e();
break;
}
case 40:
case 34:
if (ft().k.down && a) {
if (an.t) return;
(32 === n.keycode && o) || ke();
}
break;
case 36:
ft().k.up && mo(1);
break;
case 35:
ft().k.down && mo(cn().p.length);
break;
case 37:
ft().k.left && so();
break;
case 39:
ft().k.right && vo();
}
})(n);
}, 0)));
}
function so(n) {
an.i && (qe = n.ctrlkey);
}
function to() {
un({ i: !1 }), (qe = !1);
}
function mo(n) {
return [].slice
.call(
h(
'a[href], area[href], input:not([disabled]), select:not([disabled]), textarea:not([disabled]), button:not([disabled]), iframe, object, embed, [tabindex="0"], [contenteditable]',
n
)
)
.filter(function (n) {
return "-1" !== h(n, "tabindex") && null !== n.offsetparent;
});
}
function xo(n) {
bo() || ko(n);
}
function ko(n) {
(function (n) {
return [40, 38, 32, 33, 34].indexof(n.keycode) > -1 && !an.t;
})(n) &&
!p(n.target, zn) &&
n.preventdefault();
}
(l.moveslideleft = so),
(l.moveslideright = vo),
(l.moveto = mo),
rn.u("bindevents", function () {
v("blur", to),
w("keydown", yo),
xt.addeventlistener("keydown", xo),
w("keyup", so),
rn.u("ondestroy", wo);
});
var ao = new date().gettime(),
oo = [];
function do(n) {
n
? ((function () {
var n,
t = "";
i.addeventlistener
? (n = "addeventlistener")
: ((n = "attachevent"), (t = "on"));
var e =
"onwheel" in r.createelement("div")
? "wheel"
: void 0 !== r.onmousewheel
? "mousewheel"
: "dommousescroll",
o = se();
"dommousescroll" == e
? r[n](t + "mozmousepixelscroll", jo, o)
: r[n](t + e, jo, o);
})(),
yn().addeventlistener("mousedown", eo),
yn().addeventlistener("mouseup", lo))
: (r.addeventlistener
? (u("mousewheel", jo, !1),
u("wheel", jo, !1),
u("mozmousepixelscroll", jo, !1))
: r.detachevent("onmousewheel", jo),
yn().removeeventlistener("mousedown", eo),
yn().removeeventlistener("mouseup", lo));
}
function jo(n) {
var t = new date().gettime(),
e = g(h(".fp-completely")[0], "fp-normal-scroll"),
o = (function (n, t) {
new date().gettime();
var e =
cn().t && n.getboundingclientrect().bottom >= 0 && "up" === je.xn(),
o = cn().kn;
if (o) return i(t), !1;
if (cn().t) {
if (e) {
var i;
if (!(o || (be("isnewkeyframe", "beyondfullpage") && je.mn())))
return (
(i = ut(
nn(cn().p).item.offsettop + nn(cn().p).item.offsetheight
)).element.scrollto(0, i.options),
un({ kn: !1 }),
i(t),
!1
);
if (je.mn())
return (
(e = !1), un({ kn: !0 }), un({ s: "wheel" }), re(), i(t), !1
);
} else be("set", "beyondfullpage", 1e3);
if (!o && !e) return !0;
}
})(yn(), n);
if ((an.b || un({ n: !1, b: !0, c: "none" }), !ft().m.down && !ft().m.up))
return i(n), !1;
if (o) return !0;
if (!1 === o) return i(n), !1;
if (qn().autoscrolling && !qe && !e) {
var r = (n = n || i.event).wheeldelta || -n.deltay || -n.detail,
a = math.max(-1, math.min(1, r)),
u = void 0 !== n.wheeldeltax || void 0 !== n.deltax,
c =
math.abs(n.wheeldeltax) < math.abs(n.wheeldelta) ||
math.abs(n.deltax) < math.abs(n.deltay) ||
!u,
l = a < 0 ? "down" : a > 0 ? "up" : "none";
oo.length > 149 && oo.shift(),
oo.push(math.abs(r)),
qn().scrollbar && i(n);
var f = t - ao;
return (
(ao = t),
f > 200 && (oo = []),
un({ f: l }),
an.p &&
tn(oo, 10) >= tn(oo, 70) &&
c &&
(un({ s: "wheel" }), ye(a < 0 ? "down" : "up")),
!1
);
}
qn().fittosection && un({ r: !1 });
}
function eo(n) {
var t;
2 == n.which &&
((t = n.pagey), (qe = t), yn().addeventlistener("mousemove", ge));
}
function lo(n) {
2 == n.which && yn().removeeventlistener("mousemove", ge);
}
function ro(n) {
n
? (do(!0),
(function () {
if (oo.dn && (a || c)) {
qn().autoscrolling &&
(xt.removeeventlistener(oo.dn, lo, { passive: !1 }),
xt.addeventlistener(oo.dn, lo, { passive: !1 }));
var n = qn().touchwrapper;
n.removeeventlistener(oo.jn, ao),
n.removeeventlistener(oo.dn, io, { passive: !1 }),
n.addeventlistener(oo.jn, ao),
n.addeventlistener(oo.dn, io, { passive: !1 });
}
})())
: (do(!1),
(function () {
if (oo.dn && (a || c)) {
qn().autoscrolling &&
(xt.removeeventlistener(oo.dn, io, { passive: !1 }),
xt.removeeventlistener(oo.dn, lo, { passive: !1 }));
var n = qn().touchwrapper;
n.removeeventlistener(oo.jn, ao),
n.removeeventlistener(oo.dn, io, { passive: !1 });
}
})());
}
l.setmousewheelscrolling = do;
var po = !0;
function co() {
["mouseenter", "touchstart", "mouseleave", "touchend"].foreach(function (
n
) {
u(n, fo, !0);
});
}
function zo(n, t) {
(document["fp_" + n] = t), w(n, fo, !0);
}
function fo(n) {
var t = n.type,
e = !1,
o = "mouseleave" === t ? n.toelement || n.relatedtarget : n.target;
o != document && o
? ("touchend" === t &&
((po = !1),
settimeout(function () {
po = !0;
}, 800)),
("mouseenter" !== t || po) &&
(qn()
.normalscrollelements.split(",")
.foreach(function (n) {
if (!e) {
var t = g(o, n),
i = p(o, n);
(t || i) &&
(l.shared.en || ro(!1), (l.shared.en = !0), (e = !0));
}
}),
!e && l.shared.en && (ro(!0), (l.shared.en = !1))))
: ro(!0);
}
function no(n, t) {
pt(0, "internal"), mo(n, t), pt(xn().scrollingspeed, "internal");
}
rn.u("bindevents", function () {
qn().normalscrollelements &&
(["mouseenter", "touchstart"].foreach(function (n) {
zo(n, !1);
}),
["mouseleave", "touchend"].foreach(function (n) {
zo(n, !0);
})),
rn.u("ondestroy", co);
}),
(l.silentmoveto = no);
var bo,
io,
ho = m(),
wo = w(),
vo = !1;
function uo() {
cleartimeout(bo), cleartimeout(io), k("resize", ko);
}
function ko() {
vo ||
(((qn().autoscrolling && !qn().scrollbar) || !qn().fittosection) &&
qo(m())),
(function () {
if (a)
for (var n = 0; n < 4; n++)
io = settimeout(function () {
window.requestanimationframe(function () {
qn().autoscrolling && !qn().scrollbar && no(an.g.index() + 1);
});
}, 200 * n);
})(),
(vo = !0),
cleartimeout(bo),
(bo = settimeout(function () {
!(function () {
if (
(un({ o: !0 }),
qo(""),
!qn().fittosection ||
qn().autoscrolling ||
an.t ||
(function () {
if (!qn().autoscrolling || qn().scrollbar) {
var n = 0.01 * i.innerheight;
r.documentelement.style.setproperty(
"--vh",
"".concat(n, "px")
);
}
})(),
rn.l("contentchanged"),
_t(),
ue(),
a)
) {
var n = r.activeelement;
if (!g(n, "textarea") && !g(n, "input") && !g(n, "select")) {
var t = m();
math.abs(t - ho) > (20 * math.max(ho, t)) / 100 &&
(_o(!0), (ho = t));
}
} else
(e = m()),
(o = w()),
(an.w === e && wo === o) || (un({ w: e }), (wo = o), _o(!0));
var e, o;
un({ o: !1 });
})(),
(vo = !1);
}, 400));
}
function _o(n) {
if (!g(yn(), gn)) {
un({ o: !0, w: m(), ln: w() });
for (var t = cn().p, e = 0; e < t.length; ++e) {
var o = t[e],
r = h(en, o.item)[0];
o.slides.length > 1 && it(r, o.activeslide.item);
}
qn().scrolloverflow && se.un();
var a = cn().g.index();
an.t || (a && no(a + 1)),
un({ o: !1 }),
_(qn().afterresize) &&
n &&
qn().afterresize.call(yn(), i.innerwidth, i.innerheight),
_(qn().afterrebuild) && !n && qn().afterrebuild.call(yn()),
q(yn(), "afterrebuild");
}
}
function qo(n) {
var t = "" === n ? "" : n + "px";
cn().p.foreach(function (n) {
b(n.item, { height: t });
});
}
function go() {
var n,
t,
e = i.location.hash;
if (e.length) {
var o = e.replace("#", "").split("/"),
r = e.indexof("#/") > -1;
n = r ? "/" + o[1] : decodeuricomponent(o[0]);
var a = r ? o[2] : o[1];
a && a.length && (t = decodeuricomponent(a));
}
return { section: n, z: t };
}
function yo() {
k("hashchange", qo);
}
function qo() {
if (!an.d && !qn().lockanchors) {
var n = go(),
t = n.section,
e = n.z,
o = void 0 === an.j,
i = void 0 === an.j && void 0 === e && !an.a;
t &&
t.length &&
((t && t !== an.j && !o) || i || (!an.a && an.l != e)) &&
rn.l("onscrollpageandslide", { rn: t, slideanchor: e });
}
}
function xo(n) {
var t = n.target;
p(t, qn().menu + " [data-menuanchor]") && $o.call(t, n);
}
function $o(n) {
un({ s: "menu" }),
!h(qn().menu)[0] ||
(!qn().lockanchors && qn().anchors.length) ||
(i(n), rn.l("onmenuclick", { anchor: h(this, "data-menuanchor") }));
}
function jo(n) {
var t = n.target;
t && p(t, "#fp-nav a")
? ne.call(t, n.e)
: g(t, ".fp-tooltip")
? jt.call(t)
: (g(t, nn) || null != p(t, nn)) && rt.call(t, n.e);
}
(l.rebuild = _o),
rn.u("bindevents", function () {
v("resize", ko), rn.u("ondestroy", uo);
}),
(l.setlockanchors = function (n) {
qn().lockanchors = n;
}),
rn.u("bindevents", function () {
v("hashchange", qo), rn.u("ondestroy", yo);
}),
rn.u("bindevents", function () {
w("wheel", je.tn, se()),
rn.u("scrollbeyondfullpage", ee),
rn.u("onkeydown", le);
}),
rn.u("bindevents", function () {
rn.u("onclickortouch", xo);
}),
rn.u("bindevents", function () {
rn.u("onclickortouch", jo);
});
var zo,
ni = 0;
function ti(n) {
var t, e, o, i, a;
if (
!an.o &&
cn().g &&
(nn(cn().p),
!cn().t && !cn().kn && (!qn().autoscrolling || qn().scrollbar))
) {
var u = n(qn()),
c = (function (n) {
var t = n > ni ? "down" : "up";
return (ni = n), un({ h: n }), t;
})(u),
l = 0,
f = u + m() / 2,
s = xt.scrollheight - m() === u,
v = cn().p;
if ((un({ scrolly: u }), s)) l = v.length - 1;
else if (u)
for (var d = 0; d < v.length; ++d) v[d].item.offsettop <= f && (l = d);
else l = 0;
if (
((o = c),
(i = cn().g.item.offsettop),
(a = i + m()),
("up" == o ? a >= n(qn()) + m() : i <= n(qn())) &&
(g(cn().g.item, yn) || (o(cn().g.item, yn), d(b(cn().g.item), yn))),
(e = (t = v[l]).item),
!t.isactive)
) {
un({ d: !0 });
var h,
p,
w = cn().g.item,
y = cn().g.index() + 1,
s = ft(cn().g, e),
t = t.anchor,
m = t.index() + 1,
x = t.activeslide,
k = {
g: w,
sectionindex: m - 1,
anchorlink: t,
element: e,
leavingsection: y,
direction: s,
items: { origin: cn().g, destination: t }
};
x && ((p = x.anchor), (h = x.index())),
an.p &&
(o(e, wn),
d(b(e), wn),
_(qn().beforeleave) && we("beforeleave", k),
_(qn().onleave) && bt("onleave", k),
_(qn().afterload) && bt("afterload", k),
tt(w),
mt(e),
yt(e),
he(t, m - 1),
qn().anchors.length && un({ j: t }),
jt(h, p, t),
_t()),
qn().fittosection &&
an.p &&
(cleartimeout(zo),
(zo = settimeout(function () {
un({ d: !1 }),
an.p.filter(function (n) {
var t = n.item.getboundingclientrect();
return (
math.round(t.bottom) === math.round(m()) ||
0 === math.round(t.top)
);
}).length || b(r.body, { "scroll-snap-type": "y mandatory" });
}, 300)));
}
}
}
function ei(n, t) {
void 0 !== t
? (t = t.replace(/ /g, "").split(",")).foreach(function (t) {
zt(n, t, "k");
})
: (zt(n, "all", "k"), (qn().keyboardscrolling = n));
}
function oi(n) {
var t = n.index();
void 0 !== qn().anchors[t] && n.isactive && he(qn().anchors[t], t),
qn().menu &&
qn().css3 &&
null != p(h(qn().menu)[0], dn) &&
h(qn().menu).foreach(function (n) {
xt.appendchild(n);
});
}
function ii() {
b(
(function (n, t) {
var e = [n];
do {
(n = n.parentnode), e.push(n);
} while (!g(n, "body"));
return e;
})(yn()),
{ height: "100%", position: "relative" }
),
o(yn(), vn),
o(kt, mn),
un({ w: m() }),
d(yn(), gn),
$t();
for (var n = cn().g, t = 0; t < n.length; t++) {
var e = n[t],
o = e.on;
e.item.setattribute("data-fp-styles", h(e.item, "style")),
ge(e),
oi(e),
o.length > 0 && de(e);
}
qn().fixedelements &&
qn().css3 &&
h(qn().fixedelements).foreach(function (n) {
xt.appendchild(n);
}),
qn().navigation && zt(),
h('iframe[src*="youtube.com/embed/"]', yn()).foreach(function (n) {
var t, e;
(e = h((t = n), "src")),
t.setattribute(
"src",
e + (/\?/.test(e) ? "&" : "?") + "enablejsapi=1"
);
});
}
function ri() {
var n,
t,
e = cn().g,
o = cn().g.item;
o(o, yn),
mt(o),
ie(),
yt(o),
(t = ho((n = go()).section)),
(n.section && t && (void 0 === t || t.index() !== t(pe))) ||
!_(qn().afterload) ||
bt("afterload", {
g: o,
element: o,
direction: null,
anchorlink: e.anchor,
sectionindex: e.index(),
items: { origin: cn().g, destination: cn().g }
}),
_(qn().afterrender) && bt("afterrender");
}
function ai(n, t) {
void 0 !== t
? (t = t.replace(/ /g, "").split(",")).foreach(function (t) {
zt(n, t, "m");
})
: zt(n, "all", "m");
}
function ui() {
var n = go(),
t = n.section,
e = n.z;
t && (qn().animateanchor ? go(t, e) : no(t, e));
}
function ci() {
var n = qn().licensekey;
(qn() && an.pn) || r.domain.indexof("alvarotrigo.com") > -1
? n && n.length
: (s(
"error",
"fullpage.js requires a `licensekey` option. read about it on the following url:"
),
s("error", "https://github.com/alvarotrigo/fullpage.js#options")),
g(kt, mn)
? s(
"error",
"fullpage.js can only be initialized once and you are doing it multiple times!"
)
: (qn().continuousvertical &&
(qn().looptop || qn().loopbottom) &&
((qn().continuousvertical = !1),
s(
"warn",
"option `looptop/loopbottom` is mutually exclusive with `continuousvertical`; `continuousvertical` disabled"
)),
!qn().scrolloverflow ||
(!qn().scrollbar && qn().autoscrolling) ||
s(
"warn",
"options scrollbar:true and autoscrolling:false are mutually exclusive with scrolloverflow:true. sections with scrolloverflow might not work well in firefox"
),
!qn().continuousvertical ||
(!qn().scrollbar && qn().autoscrolling) ||
((qn().continuousvertical = !1),
s(
"warn",
"scroll bars (`scrollbar:true` or `autoscrolling:false`) are mutually exclusive with `continuousvertical`; `continuousvertical` disabled"
)),
f.foreach(function (n) {
qn()[n] &&
s(
"warn",
"fullpage.js extensions require fullpage.extensions.min.js file instead of the usual fullpage.js. requested: " +
n
);
}),
qn().anchors.foreach(function (n) {
var t = [].slice.call(h("[name]")).filter(function (t) {
return (
h(t, "name") && h(t, "name").tolowercase() == n.tolowercase()
);
}),
e = [].slice.call(h("[id]")).filter(function (t) {
return (
h(t, "id") && h(t, "id").tolowercase() == n.tolowercase()
);
});
if (e.length || t.length) {
s(
"error",
"data-anchor tags can not have the same value as any `id` element on the site (or `name` element for ie)."
);
var o = e.length ? "id" : "name";
(e.length || t.length) &&
s(
"error",
'"' +
n +
'" is is being used by another element `' +
o +
"` property"
);
}
}));
}
function li(n, t) {
var e;
if (
((xt = h("body")[0]),
(kt = h("html")[0]),
(at = h("html, body")),
!g(kt, mn))
)
return (
"touchwrapper",
(e = "string" == typeof n ? h(n)[0] : n),
(un.touchwrapper = e),
(function (n) {
(gn = p({}, un, n)), (qn = object.assign({}, gn));
})(t),
(function (n) {
kn = n;
})("string" == typeof n ? h(n)[0] : n),
rn.l("oninitialise"),
ci(),
(l.getfullpagedata = function () {
return { options: qn() };
}),
(l.version = "4.0.9"),
(l.test = object.assign(l.test, {
top: "0px",
j: "translate3d(0px, 0px, 0px)",
tn: (function () {
for (
var n = [], t = 0;
t < h(qn().sectionselector, yn()).length;
t++
)
n.push("translate3d(0px, 0px, 0px)");
return n;
})(),
left: (function () {
for (
var n = [], t = 0;
t < h(qn().sectionselector, yn()).length;
t++
)
n.push(0);
return n;
})(),
options: qn(),
setautoscrolling: null
})),
(l.shared = object.assign(l.shared, { cn: null, en: !1 })),
(i.fullpage_api = l),
yn() &&
(rn.l("beforeinit"),
qt(),
_t(),
(qn().scrollbar = qn().scrollbar || qn().hybrid),
jn(),
ii(),
ae(!0),
ai(!0),
ro(!0),
ee(qn().autoscrolling, "internal"),
ue(),
ot(),
"complete" === r.readystate && ui(),
v("load", ui),
ri(),
qt(),
_t(),
rn.l("bindevents")),
i.fullpage_api
);
ci();
}
return (
rn.u("ondestroy", function () {
cleartimeout(zo), cleartimeout(void 0);
}),
rn.u("bindevents", function () {
v("scroll", ti),
r.body.addeventlistener("scroll", ti),
rn.u("onscrollpageandslide", function (n) {
go(n.rn, n.slideanchor);
}),
rn.u("onmenuclick", function (n) {
mo(n.anchor, void 0);
}),
rn.u("onscrolloverflowscrolled", function (n) {
("down" === n.direction ? ke : _e)();
}),
rn.u("scrollpage", function (n) {
ve(n.destination);
});
}),
rn.u("ondestroy", function () {
k("scroll", ti);
}),
(l.getactiveslide = function () {
return wt(cn().g.activeslide);
}),
(l.getscrollx = function () {
return an.scrollx;
}),
rn.u("bindevents", function () {
rn.u("ondestroy", ht),
rn.u("landscapescroll", function (n) {
it(n.slides, n.destination);
}),
rn.u("moveslideright", function (n) {
vo(n.section);
}),
rn.u("moveslideleft", function (n) {
so(n.section);
});
}),
rn.u("bindevents", function () {
var n = qn().credits.position,
t = ["left", "right"].indexof(n) > -1 ? "".concat(n, ": 0;") : "",
e = '',
o = nn(an.p),
i = qn().credits.enabled && !an.pn;
o && o.item && i && o.item.insertadjacenthtml("beforeend", e);
}),
(function () {
rn.u("oninitialise", function () {
var t, u;
un({
pn:
(qn().licensekey,
(t = qn().licensekey),
(u = (function (t) {
var e = parseint("514").tostring(16);
if (!t || t.length < 29 || 4 === t.split(n[0]).length)
return null;
var o = ["each", "for"][i()]().join(""),
u = t[["split"]]("-"),
c = [];
u[o](function (n, t) {
if (t < 4) {
var o = (function (n) {
var t = n[n.length - 1],
e = ["nan", "is"][i()]().join("");
return window[e](t)
? r(t)
: (function (n) {
return n - wn.length;
})(t);
})(n);
c.push(o);
var a = r(n[o]);
if (1 === t) {
var u = ["pa", "ds", "t", "art"].join("");
a = a.tostring()[u](2, "0");
}
(e += a), (0 !== t && 1 !== t) || (e += "-");
}
});
var l = 0,
f = "";
return (
t.split("-").foreach(function (n, t) {
if (t < 4) {
for (var e = 0, o = 0; o < 4; o++)
o !== c[t] &&
((e += math.abs(r(n[o]))), isnan(n[o]) || l++);
var i = a(e);
f += i;
}
}),
(f += a(l)),
{
zn: new date(e + "t00:00"),
fn: e.split("-")[2] === 8 * (wn.length - 2) + "",
nn: f
}
);
})(t)),
(u &&
((qn().credits && u && e <= u.zn && u.nn === t.split(n[0])[4]) ||
(function (n) {
var t = o[i()]().join("");
return n && 0 === t.indexof(n) && n.length === t.length;
})(t) ||
u.fn)) ||
!1)
});
});
var n = ["-"],
t = "2022-4-30".split("-"),
e = new date(t[0], t[1], t[2]),
o = ["se", "licen", "-", "v3", "l", "gp"];
function i() {
return [["re", "verse"].join("")]["".length];
}
function r(n) {
return n ? (isnan(n) ? n.charcodeat(0) - 72 : n) : "";
}
function a(n) {
var t = 72 + n;
return (
t > 90 && t < 97 && (t += 15), string.fromcharcode(t).touppercase()
);
}
})(),
(l.setkeyboardscrolling = ei),
(l.shared.cn = ri),
(l.setallowscrolling = ai),
(l.destroy = function (n) {
ee(!1, "internal"),
ai(!0),
ro(!1),
ei(!1),
o(yn(), gn),
rn.l("ondestroy"),
n &&
(ht(0),
h(
"img[data-src], source[data-src], audio[data-src], iframe[data-src]",
yn()
).foreach(function (n) {
en(n, "src");
}),
h("img[data-srcset]").foreach(function (n) {
en(n, "srcset");
}),
x(h("#fp-nav, .fp-slidesnav, .fp-controlarrow")),
b(tt(cn().p), { height: "", "background-color": "", padding: "" }),
b(tt(cn().slides), { width: "" }),
b(yn(), {
height: "",
position: "",
"-ms-touch-action": "",
"touch-action": ""
}),
b(at, { overflow: "", height: "" }),
d(kt, mn),
d(xt, hn),
xt.classname.split(/\s+/).foreach(function (n) {
0 === n.indexof("fp-viewing") && d(xt, n);
}),
tt(cn().x).foreach(function (n) {
qn().scrolloverflow && d(n, cn),
d(n, "fp-table active " + yn),
h(n, "data-fp-styles") &&
n.setattribute("style", h(n, "data-fp-styles")),
g(n, sn) && !_n && n.removeattribute("data-anchor");
}),
st(yn()),
[mn, rn, en].foreach(function (n) {
h(n, yn()).foreach(function (n) {
r(n);
});
}),
b(yn(), { "-webkit-transition": "none", transition: "none" }),
i.scrollto(0, 0),
[sn, an, ln].foreach(function (n) {
d(h("." + n), n);
}));
}),
(i.fp_easings = p(i.fp_easings, {
easeinoutcubic: function (n, t, e, o) {
return (n /= o / 2) < 1
? (e / 2) * n * n * n + t
: (e / 2) * ((n -= 2) * n * n + 2) + t;
}
})),
i.jquery &&
(function (n, t) {
n && t
? (n.fn.fullpage = function (e) {
(e = n.extend({}, e, { $: n })),
new t(this[0], e),
object.keys(l).foreach(function (n) {
qn().$.fn.fullpage[n] = l[n];
});
})
: s(
"error",
"jquery is required to use the jquery fullpage adapter!"
);
})(i.jquery, li),
li
);
});