"use strict";
var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; };
(function () {
var n, e, o, t, i, r, d, a, c, l;e = window.device, n = {}, window.device = n, t = window.document.documentElement, l = window.navigator.userAgent.toLowerCase(), n.ios = function () {
return n.iphone() || n.ipod() || n.ipad();
}, n.iphone = function () {
return !n.windows() && i("iphone");
}, n.ipod = function () {
return i("ipod");
}, n.ipad = function () {
return i("ipad");
}, n.android = function () {
return !n.windows() && i("android");
}, n.androidPhone = function () {
return n.android() && i("mobile");
}, n.androidTablet = function () {
return n.android() && !i("mobile");
}, n.blackberry = function () {
return i("blackberry") || i("bb10") || i("rim");
}, n.blackberryPhone = function () {
return n.blackberry() && !i("tablet");
}, n.blackberryTablet = function () {
return n.blackberry() && i("tablet");
}, n.windows = function () {
return i("windows");
}, n.windowsPhone = function () {
return n.windows() && i("phone");
}, n.windowsTablet = function () {
return n.windows() && i("touch") && !n.windowsPhone();
}, n.fxos = function () {
return (i("(mobile;") || i("(tablet;")) && i("; rv:");
}, n.fxosPhone = function () {
return n.fxos() && i("mobile");
}, n.fxosTablet = function () {
return n.fxos() && i("tablet");
}, n.meego = function () {
return i("meego");
}, n.cordova = function () {
return window.cordova && "file:" === location.protocol;
}, n.nodeWebkit = function () {
return "object" == _typeof(window.process);
}, n.mobile = function () {
return n.androidPhone() || n.iphone() || n.ipod() || n.windowsPhone() || n.blackberryPhone() || n.fxosPhone() || n.meego();
}, n.tablet = function () {
return n.ipad() || n.androidTablet() || n.blackberryTablet() || n.windowsTablet() || n.fxosTablet();
}, n.desktop = function () {
return !n.tablet() && !n.mobile();
}, n.television = function () {
var n,
e = ["googletv", "viera", "smarttv", "internet.tv", "netcast", "nettv", "appletv", "boxee", "kylo", "roku", "dlnadoc", "roku", "pov_tv", "hbbtv", "ce-html"];for (n = 0; n < e.length;) {
if (i(e[n])) return !0;n++;
}return !1;
}, n.portrait = function () {
return window.innerHeight / window.innerWidth > 1;
}, n.landscape = function () {
return window.innerHeight / window.innerWidth < 1;
}, n.noConflict = function () {
return window.device = e, this;
}, i = function i(n) {
return -1 !== l.indexOf(n);
}, d = function d(n) {
var e;return e = new RegExp(n, "i"), t.className.match(e);
}, o = function o(n) {
var e = null;d(n) || (e = t.className.replace(/^\s+|\s+$/g, ""), t.className = e + " " + n);
}, c = function c(n) {
d(n) && (t.className = t.className.replace(" " + n, ""));
}, n.ios() ? n.ipad() ? o("ios ipad tablet") : n.iphone() ? o("ios iphone mobile") : n.ipod() && o("ios ipod mobile") : n.android() ? o(n.androidTablet() ? "android tablet" : "android mobile") : n.blackberry() ? o(n.blackberryTablet() ? "blackberry tablet" : "blackberry mobile") : n.windows() ? o(n.windowsTablet() ? "windows tablet" : n.windowsPhone() ? "windows mobile" : "desktop") : n.fxos() ? o(n.fxosTablet() ? "fxos tablet" : "fxos mobile") : n.meego() ? o("meego mobile") : n.nodeWebkit() ? o("node-webkit") : n.television() ? o("television") : n.desktop() && o("desktop"), n.cordova() && o("cordova"), r = function r() {
n.landscape() ? (c("portrait"), o("landscape")) : (c("landscape"), o("portrait"));
}, a = Object.prototype.hasOwnProperty.call(window, "onorientationchange") ? "orientationchange" : "resize", window.addEventListener ? window.addEventListener(a, r, !1) : window.attachEvent ? window.attachEvent(a, r) : window[a] = r, r(), "function" == typeof define && "object" == _typeof(define.amd) && define.amd ? define(function () {
return n;
}) : "undefined" != typeof module && module.exports ? module.exports = n : window.device = n;
}).call(undefined);
"use strict";
// ==================================================
// fancyBox v3.0.29
//
// Licensed GPLv3 for open source use
// or fancyBox Commercial License for commercial use
//
// http://fancyapps.com/fancybox/
// Copyright 2017 fancyApps
//
// ==================================================
!function (t, e, n, o) {
"use strict";
function s(t) {
var e = t.currentTarget,
o = t.data ? t.data.options : {},
s = t.data ? t.data.items : [],
i = "",
a = 0;t.preventDefault(), t.stopPropagation(), n(e).attr("data-fancybox") && (i = n(e).data("fancybox")), i ? (s = s.length ? s.filter('[data-fancybox="' + i + '"]') : n("[data-fancybox=" + i + "]"), a = s.index(e)) : s = [e], n.fancybox.open(s, o, a);
}if (!n) return o;var i = { speed: 330, loop: !0, opacity: "auto", margin: [44, 0], gutter: 30, infobar: !0, buttons: !0, slideShow: !0, fullScreen: !0, thumbs: !0, closeBtn: !0, smallBtn: "auto", image: { preload: "auto", protect: !1 }, ajax: { settings: { data: { fancybox: !0 } } }, iframe: { tpl: '<iframe id="fancybox-frame{rnd}" name="fancybox-frame{rnd}" class="fancybox-iframe" frameborder="0" vspace="0" hspace="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen allowtransparency="true" src=""></iframe>', preload: !0, scrolling: "no", css: {} }, baseClass: "", slideClass: "", baseTpl: '<div class="fancybox-container" role="dialog" tabindex="-1"><div class="fancybox-bg"></div><div class="fancybox-controls"><div class="fancybox-infobar"><button data-fancybox-previous class="fancybox-button fancybox-button--left" title="Previous"></button><div class="fancybox-infobar__body"><span class="js-fancybox-index"></span> / <span class="js-fancybox-count"></span></div><button data-fancybox-next class="fancybox-button fancybox-button--right" title="Next"></button></div><div class="fancybox-buttons"><button data-fancybox-close class="fancybox-button fancybox-button--close" title="Close (Esc)"></button></div></div><div class="fancybox-slider-wrap"><div class="fancybox-slider"></div></div><div class="fancybox-caption-wrap"><div class="fancybox-caption"></div></div></div>', spinnerTpl: '<div class="fancybox-loading"></div>', errorTpl: '<div class="fancybox-error"><p>The requested content cannot be loaded. <br /> Please try again later.<p></div>', closeTpl: '<button data-fancybox-close class="fancybox-close-small">×</button>', parentEl: "body", touch: !0, keyboard: !0, focus: !0, closeClickOutside: !0, beforeLoad: n.noop, afterLoad: n.noop, beforeMove: n.noop, afterMove: n.noop, onComplete: n.noop, onInit: n.noop, beforeClose: n.noop, afterClose: n.noop, onActivate: n.noop, onDeactivate: n.noop },
a = n(t),
r = n(e),
c = 0,
l = function l(t) {
return t && t.hasOwnProperty && t instanceof n;
},
u = function () {
return t.requestAnimationFrame || t.webkitRequestAnimationFrame || t.mozRequestAnimationFrame || function (e) {
t.setTimeout(e, 1e3 / 60);
};
}(),
d = function d(o) {
var s;return "function" == typeof n && o instanceof n && (o = o[0]), s = o.getBoundingClientRect(), s.bottom > 0 && s.right > 0 && s.left < (t.innerWidth || e.documentElement.clientWidth) && s.top < (t.innerHeight || e.documentElement.clientHeight);
},
p = function p(t, o, s) {
var a = this;a.opts = n.extend(!0, { index: s }, i, o || {}), a.id = a.opts.id || ++c, a.group = [], a.currIndex = parseInt(a.opts.index, 10) || 0, a.prevIndex = null, a.prevPos = null, a.currPos = 0, a.firstRun = null, a.createGroup(t), a.group.length && (a.$lastFocus = n(e.activeElement), a.elems = {}, a.slides = {}, a.init(t));
};n.extend(p.prototype, { init: function