vendor: 5,986 bytes, line 1
1"undefined"==typeof $&&"undefined"!=jQuery&&($=jQuery),function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):t.Popper=e()}(this,function(){"use strict";function t(t){return t&&"[object Function]"==={}.toString.call(t)}function e(t,e){if(1!==t.nodeType)return[];var i=t.ownerDocument.defaultView.getComputedStyle(t,null);return e?i[e]:i}function i(t){return"HTML"===t.nodeName?t:t.parentNode||t.host}function n(t){if(!t)return document.body;switch(t.nodeName){case"HTML":case"BODY":return t.ownerDocument.body;case"#document":return t.body}var o=e(t),s=o.overflow,r=o.overflowX,a=o.overflowY;return/(auto|scroll|overlay)/.test(s+a+r)?t:n(i(t))}function o(t){return t&&t.referenceNode?t.referenceNode:t}function s(t){return 11===t?Y:10===t?V:Y||V}function r(t){if(!t)return document.documentElement;for(var i=s(10)?document.body:null,n=t.offsetParent||null;n===i&&t.nextElementSibling;)n=(t=t.nextElementSibling).offsetParent;var o=n&&n.nodeName;return o&&"BODY"!==o&&"HTML"!==o?-1!==["TH","TD","TABLE"].indexOf(n.nodeName)&&"static"===e(n,"position")?r(n):n:t?t.ownerDocument.documentElement:document.documentElement}function a(t){return null===t.parentNode?t:a(t.parentNode)}function l(t,e){if(!(t&&t.nodeType&&e&&e.nodeType))return document.documentElement;var i=t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_FOLLOWING,n=i?t:e,o=i?e:t,s=document.createRange();s.setStart(n,0),s.setEnd(o,0);var c=s.commonAncestorContainer;if(t!==c&&e!==c||n.contains(o))return function(t){var e=t.nodeName;return"BODY"!==e&&("HTML"===e||r(t.firstElementChild)===t)}(c)?c:r(c);var d=a(t);return d.host?l(d.host,e):l(t,a(e).host)}function c(t){var e="top"===(1<arguments.length&&void 0!==arguments[1]?arguments[1]:"top")?"scrollTop":"scrollLeft",i=t.nodeName;if("BODY"===i||"HTML"===i){var n=t.ownerDocument.documentElement;return(t.ownerDocument.scrollingElement||n)[e]}return t[e]}function d(t,e){var i=2<arguments.length&&void 0!==arguments[2]&&arguments[2],n=c(e,"top"),o=c(e,"left"),s=i?-1:1;return t.top+=n*s,t.bottom+=n*s,t.left+=o*s,t.right+=o*s,t}function h(t,e){var i="x"===e?"Left":"Top",n="Left"==i?"Right":"Bottom";return parseFloat(t["border"+i+"Width"])+parseFloat(t["border"+n+"Width"])}function u(t,e,i,n){return W(e["offset"+t],e["scroll"+t],i["client"+t],i["offset"+t],i["scroll"+t],s(10)?parseInt(i["offset"+t])+parseInt(n["margin"+("Height"===t?"Top":"Left")])+parseInt(n["margin"+("Height"===t?"Bottom":"Right")]):0)}function p(t){var e=t.body,i=t.documentElement,n=s(10)&&getComputedStyle(i);return{height:u("Height",e,i,n),width:u("Width",e,i,n)}}function f(t){return G({},t,{right:t.left+t.width,bottom:t.top+t.height})}function m(t){var i={};try{if(s(10)){i=t.getBoundingClientRect();var n=c(t,"top"),o=c(t,"left");i.top+=n,i.left+=o,i.bottom+=n,i.right+=o}else i=t.getBoundingClientRect()}catch(t){}var r={left:i.left,top:i.top,width:i.right-i.left,height:i.bottom-i.top},a="HTML"===t.nodeName?p(t.ownerDocument):{},l=a.width||t.clientWidth||r.width,d=a.height||t.clientHeight||r.height,u=t.offsetWidth-l,m=t.offsetHeight-d;if(u||m){var g=e(t);u-=h(g,"x"),m-=h(g,"y"),r.width-=u,r.height-=m}return f(r)}function g(t,i){var o=2<arguments.length&&void 0!==arguments[2]&&arguments[2],r=s(10),a="HTML"===i.nodeName,l=m(t),c=m(i),h=n(t),u=e(i),p=parseFloat(u.borderTopWidth),g=parseFloat(u.borderLeftWidth);o&&a&&(c.top=W(c.top,0),c.left=W(c.left,0));var v=f({top:l.top-c.top-p,left:l.left-c.left-g,width:l.width,height:l.height});if(v.marginTop=0,v.marginLeft=0,!r&&a){var y=parseFloat(u.marginTop),b=parseFloat(u.marginLeft);v.top-=p-y,v.bottom-=p-y,v.left-=g-b,v.right-=g-b,v.marginTop=y,v.marginLeft=b}return(r&&!o?i.contains(h):i===h&&"BODY"!==h.nodeName)&&(v=d(v,i)),v}function v(t){var e=1<arguments.length&&void 0!==arguments[1]&&arguments[1],i=t.ownerDocument.documentElement,n=g(t,i),o=W(i.clientWidth,window.innerWidth||0),s=W(i.clientHeight,window.innerHeight||0),r=e?0:c(i),a=e?0:c(i,"left");return f({top:r-n.top+n.marginTop,left:a-n.left+n.marginLeft,width:o,height:s})}function y(t){var n=t.nodeName;if("BODY"===n||"HTML"===n)return!1;if("fixed"===e(t,"position"))return!0;var o=i(t);return!!o&&y(o)}function b(t){if(!t||!t.parentElement||s())return document.documentElement;for(var i=t.parentElement;i&&"none"===e(i,"transform");)i=i.parentElement;return i||document.documentElement}function w(t,e,s,r){var a=4<arguments.length&&void 0!==arguments[4]&&arguments[4],c={top:0,left:0},d=a?b(t):l(t,o(e));if("viewport"===r)c=v(d,a);else{var h;"scrollParent"===r?"BODY"===(h=n(i(e))).nodeName&&(h=t.ownerDocument.documentElement):h="window"===r?t.ownerDocument.documentElement:r;var u=g(h,d,a);if("HTML"!==h.nodeName||y(d))c=u;else{var f=p(t.ownerDocument),m=f.height,w=f.width;c.top+=u.top-u.marginTop,c.bottom=m+u.top,c.left+=u.left-u.marginLeft,c.right=w+u.left}}var x="number"==typeof(s=s||0);return c.left+=x?s:s.left||0,c.top+=x?s:s.top||0,c.right-=x?s:s.right||0,c.bottom-=x?s:s.bottom||0,c}function x(t,e,i,n,o){var s=5<arguments.length&&void 0!==arguments[5]?arguments[5]:0;if(-1===t.indexOf("auto"))return t;var r=w(i,n,s,o),a={top:{width:r.width,height:e.top-r.top},right:{width:r.right-e.right,height:r.height},bottom:{width:r.width,height:r.bottom-e.bottom},left:{width:e.left-r.left,height:r.height}},l=Object.keys(a).map(function(t){return G({key:t},a[t],{area:function(t){return t.width*t.height}(a[t])})}).sort(function(t,e){return e.area-t.area}),c=l.filter(function(t){var e=t.width,n=t.height;return e>=i.clientWidth&&n>=i.clientHeight}),d=0<c.length?c[0].key:l[0].key,h=t.split("-")[1];return d+(h?"-"+h:"")}function _(t,e,i){var n=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return g(i,n?b(e):l(e,o(i)),n)}function C(t){var e=t.ownerDocument.defaultView.getComputedStyle(t),i=parseFloat(e.marginTop||0)+parseFloat(e.marginBottom||0),n=parseFloat(e.marginLeft||0)+parseFloat(e.marginRight||0);return{width:t.offsetWidth+n,height:t.offsetHeight+i}}
vendor: 8,862 bytes, line 1
1function k(t){var e={left:"right",right:"left",bottom:"top",top:"bottom"};return t.replace(/left|right|bottom|top/g,function(t){return e[t]})}function T(t,e,i){i=i.split("-")[0];var n=C(t),o={width:n.width,height:n.height},s=-1!==["right","left"].indexOf(i),r=s?"top":"left",a=s?"left":"top",l=s?"height":"width",c=s?"width":"height";return o[r]=e[r]+e[l]/2-n[l]/2,o[a]=i===a?e[a]-n[c]:e[k(a)],o}function E(t,e){return Array.prototype.find?t.find(e):t.filter(e)[0]}function S(e,i,n){return(void 0===n?e:e.slice(0,function(t,e,i){if(Array.prototype.findIndex)return t.findIndex(function(t){return t[e]===i});var n=E(t,function(t){return t[e]===i});return t.indexOf(n)}(e,"name",n))).forEach(function(e){e.function&&console.warn("`modifier.function` is deprecated, use `modifier.fn`!");var n=e.function||e.fn;e.enabled&&t(n)&&(i.offsets.popper=f(i.offsets.popper),i.offsets.reference=f(i.offsets.reference),i=n(i,e))}),i}function I(t,e){return t.some(function(t){var i=t.name;return t.enabled&&i===e})}function A(t){for(var e=[!1,"ms","Webkit","Moz","O"],i=t.charAt(0).toUpperCase()+t.slice(1),n=0;n<e.length;n++){var o=e[n],s=o?""+o+i:t;if(void 0!==document.body.style[s])return s}return null}function D(t){var e=t.ownerDocument;return e?e.defaultView:window}function O(t,e,i,o){i.updateBound=o,D(t).addEventListener("resize",i.updateBound,{passive:!0});var s=n(t);return function t(e,i,o,s){var r="BODY"===e.nodeName,a=r?e.ownerDocument.defaultView:e;a.addEventListener(i,o,{passive:!0}),r||t(n(a.parentNode),i,o,s),s.push(a)}(s,"scroll",i.updateBound,i.scrollParents),i.scrollElement=s,i.eventsEnabled=!0,i}function P(){var t,e;this.state.eventsEnabled&&(cancelAnimationFrame(this.scheduleUpdate),this.state=(t=this.reference,e=this.state,D(t).removeEventListener("resize",e.updateBound),e.scrollParents.forEach(function(t){t.removeEventListener("scroll",e.updateBound)}),e.updateBound=null,e.scrollParents=[],e.scrollElement=null,e.eventsEnabled=!1,e))}function L(t){return""!==t&&!isNaN(parseFloat(t))&&isFinite(t)}function j(t,e){Object.keys(e).forEach(function(i){var n="";-1!==["width","height","top","right","bottom","left"].indexOf(i)&&L(e[i])&&(n="px"),t.style[i]=e[i]+n})}function $(t,e,i){var n=E(t,function(t){return t.name===e}),o=!!n&&t.some(function(t){return t.name===i&&t.enabled&&t.order<n.order});if(!o){var s="`"+e+"`";console.warn("`"+i+"` modifier is required by "+s+" modifier in order to work, be sure to include it before "+s+"!")}return o}function z(t){var e=1<arguments.length&&void 0!==arguments[1]&&arguments[1],i=J.indexOf(t),n=J.slice(i+1).concat(J.slice(0,i));return e?n.reverse():n}function M(t,e,i,n){var o=[0,0],s=-1!==["right","left"].indexOf(n),r=t.split(/(\+|\-)/).map(function(t){return t.trim()}),a=r.indexOf(E(r,function(t){return-1!==t.search(/,|\s/)}));r[a]&&-1===r[a].indexOf(",")&&console.warn("Offsets separated by white space(s) are deprecated, use a comma (,) instead.");var l=/\s*,\s*|\s+/,c=-1===a?[r]:[r.slice(0,a).concat([r[a].split(l)[0]]),[r[a].split(l)[1]].concat(r.slice(a+1))];return(c=c.map(function(t,n){var o=(1===n?!s:s)?"height":"width",r=!1;return t.reduce(function(t,e){return""===t[t.length-1]&&-1!==["+","-"].indexOf(e)?(t[t.length-1]=e,r=!0,t):r?(t[t.length-1]+=e,r=!1,t):t.concat(e)},[]).map(function(t){return function(t,e,i,n){var o=t.match(/((?:\-|\+)?\d*\.?\d*)(.*)/),s=+o[1],r=o[2];if(!s)return t;if(0===r.indexOf("%")){var a;switch(r){case"%p":a=i;break;case"%":case"%r":default:a=n}return f(a)[e]/100*s}return"vh"===r||"vw"===r?("vh"===r?W(document.documentElement.clientHeight,window.innerHeight||0):W(document.documentElement.clientWidth,window.innerWidth||0))/100*s:s}(t,o,e,i)})})).forEach(function(t,e){t.forEach(function(i,n){L(i)&&(o[e]+=i*("-"===t[n-1]?-1:1))})}),o}var N=Math.min,H=Math.floor,R=Math.round,W=Math.max,B="undefined"!=typeof window&&"undefined"!=typeof document&&"undefined"!=typeof navigator,F=function(){for(var t=["Edge","Trident","Firefox"],e=0;e<t.length;e+=1)if(B&&0<=navigator.userAgent.indexOf(t[e]))return 1;return 0}(),q=B&&window.Promise?function(t){var e=!1;return function(){e||(e=!0,window.Promise.resolve().then(function(){e=!1,t()}))}}:function(t){var e=!1;return function(){e||(e=!0,setTimeout(function(){e=!1,t()},F))}},Y=B&&!(!window.MSInputMethodContext||!document.documentMode),V=B&&/MSIE 10/.test(navigator.userAgent),U=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")},X=function(){function t(t,e){for(var i,n=0;n<e.length;n++)(i=e[n]).enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}return function(e,i,n){return i&&t(e.prototype,i),n&&t(e,n),e}}(),Q=function(t,e,i){return e in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t},G=Object.assign||function(t){for(var e,i=1;i<arguments.length;i++)for(var n in e=arguments[i])Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t},K=B&&/Firefox/i.test(navigator.userAgent),Z=["auto-start","auto","auto-end","top-start","top","top-end","right-start","right","right-end","bottom-end","bottom","bottom-start","left-end","left","left-start"],J=Z.slice(3),tt="flip",et="clockwise",it="counterclockwise",nt=function(){function e(i,n){var o=this,s=2<arguments.length&&void 0!==arguments[2]?arguments[2]:{};U(this,e),this.scheduleUpdate=function(){return requestAnimationFrame(o.update)},this.update=q(this.update.bind(this)),this.options=G({},e.Defaults,s),this.state={isDestroyed:!1,isCreated:!1,scrollParents:[]},this.reference=i&&i.jquery?i[0]:i,this.popper=n&&n.jquery?n[0]:n,this.options.modifiers={},Object.keys(G({},e.Defaults.modifiers,s.modifiers)).forEach(function(t){o.options.modifiers[t]=G({},e.Defaults.modifiers[t]||{},s.modifiers?s.modifiers[t]:{})}),this.modifiers=Object.keys(this.options.modifiers).map(function(t){return G({name:t},o.options.modifiers[t])}).sort(function(t,e){return t.order-e.order}),this.modifiers.forEach(function(e){e.enabled&&t(e.onLoad)&&e.onLoad(o.reference,o.popper,o.options,e,o.state)}),this.update();var r=this.options.eventsEnabled;r&&this.enableEventListeners(),this.state.eventsEnabled=r}return X(e,[{key:"update",value:function(){return function(){if(!this.state.isDestroyed){var t={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}};t.offsets.reference=_(this.state,this.popper,this.reference,this.options.positionFixed),t.placement=x(this.options.placement,t.offsets.reference,this.popper,this.reference,this.options.modifiers.flip.boundariesElement,this.options.modifiers.flip.padding),t.originalPlacement=t.placement,t.positionFixed=this.options.positionFixed,t.offsets.popper=T(this.popper,t.offsets.reference,t.placement),t.offsets.popper.position=this.options.positionFixed?"fixed":"absolute",t=S(this.modifiers,t),this.state.isCreated?this.options.onUpdate(t):(this.state.isCreated=!0,this.options.onCreate(t))}}.call(this)}},{key:"destroy",value:function(){return function(){return this.state.isDestroyed=!0,I(this.modifiers,"applyStyle")&&(this.popper.removeAttribute("x-placement"),this.popper.style.position="",this.popper.style.top="",this.popper.style.left="",this.popper.style.right="",this.popper.style.bottom="",this.popper.style.willChange="",this.popper.style[A("transform")]=""),this.disableEventListeners(),this.options.removeOnDestroy&&this.popper.parentNode.removeChild(this.popper),this}.call(this)}},{key:"enableEventListeners",value:function(){return function(){this.state.eventsEnabled||(this.state=O(this.reference,this.options,this.state,this.scheduleUpdate))}.call(this)}},{key:"disableEventListeners",value:function(){return P.call(this)}}]),e}();return nt.Utils=("undefined"==typeof window?global:window).PopperUtils,nt.placements=Z,nt.Defaults={placement:"bottom",positionFixed:!1,eventsEnabled:!0,removeOnDestroy:!1,onCreate:function(){},onUpdate:function(){},modifiers:{shift:{order:100,enabled:!0,fn:function(t){var e=t.placement,i=e.split("-")[0],n=e.split("-")[1];if(n){var o=t.offsets,s=o.reference,r=o.popper,a=-1!==["bottom","top"].indexOf(i),l=a?"left":"top",c=a?"width":"height",d={start:Q({},l,s[l]),end:Q({},l,s[l]+s[c]-r[c])};t.offsets.popper=G({},r,d[n])}return t}},offset:{order:200,enabled:!0,fn:function(t,e){var i,n=e.offset,o=t.placement,s=t.offsets,r=s.popper,a=s.reference,l=o.split("-")[0];return i=L(+n)?[+n,0]:M(n,r,a,l),"left"===l?(r.top+=i[0],r.left-=i[1]):"right"===l?(r.top+=i[0],r.left+=i[1]):"top"===l?(r.left+=i[0],r.top-=i[1]):"bottom"===l&&(r.left+=i[0],r.top+=i[1]),t.popper=r,t},offset:0},preventOverflow:{order:300,enabled:!0,fn:function(t,e){var i=e.boundariesElement||r(t.instance.popper);t.instance.reference===i&&(i=r(i));var n=A("transform"),o=t.instance.popper.style,s=o.top,a=o.left,l=o[n];o.top="",o.left="",o[n]="";var c=w(t.instance.popper,t.instance.reference,e.padding,i,t.positionFixed);
vendor: 5,346 bytes, line 1
1o.top=s,o.left=a,o[n]=l,e.boundaries=c;var d=e.priority,h=t.offsets.popper,u={primary:function(t){var i=h[t];return h[t]<c[t]&&!e.escapeWithReference&&(i=W(h[t],c[t])),Q({},t,i)},secondary:function(t){var i="right"===t?"left":"top",n=h[i];return h[t]>c[t]&&!e.escapeWithReference&&(n=N(h[i],c[t]-("right"===t?h.width:h.height))),Q({},i,n)}};return d.forEach(function(t){var e=-1===["left","top"].indexOf(t)?"secondary":"primary";h=G({},h,u[e](t))}),t.offsets.popper=h,t},priority:["left","right","top","bottom"],padding:5,boundariesElement:"scrollParent"},keepTogether:{order:400,enabled:!0,fn:function(t){var e=t.offsets,i=e.popper,n=e.reference,o=t.placement.split("-")[0],s=H,r=-1!==["top","bottom"].indexOf(o),a=r?"right":"bottom",l=r?"left":"top",c=r?"width":"height";return i[a]<s(n[l])&&(t.offsets.popper[l]=s(n[l])-i[c]),i[l]>s(n[a])&&(t.offsets.popper[l]=s(n[a])),t}},arrow:{order:500,enabled:!0,fn:function(t,i){var n;if(!$(t.instance.modifiers,"arrow","keepTogether"))return t;var o=i.element;if("string"==typeof o){if(!(o=t.instance.popper.querySelector(o)))return t}else if(!t.instance.popper.contains(o))return console.warn("WARNING: `arrow.element` must be child of its popper element!"),t;var s=t.placement.split("-")[0],r=t.offsets,a=r.popper,l=r.reference,c=-1!==["left","right"].indexOf(s),d=c?"height":"width",h=c?"Top":"Left",u=h.toLowerCase(),p=c?"left":"top",m=c?"bottom":"right",g=C(o)[d];l[m]-g<a[u]&&(t.offsets.popper[u]-=a[u]-(l[m]-g)),l[u]+g>a[m]&&(t.offsets.popper[u]+=l[u]+g-a[m]),t.offsets.popper=f(t.offsets.popper);var v=l[u]+l[d]/2-g/2,y=e(t.instance.popper),b=parseFloat(y["margin"+h]),w=parseFloat(y["border"+h+"Width"]),x=v-t.offsets.popper[u]-b-w;return x=W(N(a[d]-g,x),0),t.arrowElement=o,t.offsets.arrow=(Q(n={},u,R(x)),Q(n,p,""),n),t},element:"[x-arrow]"},flip:{order:600,enabled:!0,fn:function(t,e){if(I(t.instance.modifiers,"inner"))return t;if(t.flipped&&t.placement===t.originalPlacement)return t;var i=w(t.instance.popper,t.instance.reference,e.padding,e.boundariesElement,t.positionFixed),n=t.placement.split("-")[0],o=k(n),s=t.placement.split("-")[1]||"",r=[];switch(e.behavior){case tt:r=[n,o];break;case et:r=z(n);break;case it:r=z(n,!0);break;default:r=e.behavior}return r.forEach(function(a,l){if(n!==a||r.length===l+1)return t;n=t.placement.split("-")[0],o=k(n);var c=t.offsets.popper,d=t.offsets.reference,h=H,u="left"===n&&h(c.right)>h(d.left)||"right"===n&&h(c.left)<h(d.right)||"top"===n&&h(c.bottom)>h(d.top)||"bottom"===n&&h(c.top)<h(d.bottom),p=h(c.left)<h(i.left),f=h(c.right)>h(i.right),m=h(c.top)<h(i.top),g=h(c.bottom)>h(i.bottom),v="left"===n&&p||"right"===n&&f||"top"===n&&m||"bottom"===n&&g,y=-1!==["top","bottom"].indexOf(n),b=!!e.flipVariations&&(y&&"start"===s&&p||y&&"end"===s&&f||!y&&"start"===s&&m||!y&&"end"===s&&g),w=!!e.flipVariationsByContent&&(y&&"start"===s&&f||y&&"end"===s&&p||!y&&"start"===s&&g||!y&&"end"===s&&m),x=b||w;(u||v||x)&&(t.flipped=!0,(u||v)&&(n=r[l+1]),x&&(s=function(t){return"end"===t?"start":"start"===t?"end":t}(s)),t.placement=n+(s?"-"+s:""),t.offsets.popper=G({},t.offsets.popper,T(t.instance.popper,t.offsets.reference,t.placement)),t=S(t.instance.modifiers,t,"flip"))}),t},behavior:"flip",padding:5,boundariesElement:"viewport",flipVariations:!1,flipVariationsByContent:!1},inner:{order:700,enabled:!1,fn:function(t){var e=t.placement,i=e.split("-")[0],n=t.offsets,o=n.popper,s=n.reference,r=-1!==["left","right"].indexOf(i),a=-1===["top","left"].indexOf(i);return o[r?"left":"top"]=s[i]-(a?o[r?"width":"height"]:0),t.placement=k(e),t.offsets.popper=f(o),t}},hide:{order:800,enabled:!0,fn:function(t){if(!$(t.instance.modifiers,"hide","preventOverflow"))return t;var e=t.offsets.reference,i=E(t.instance.modifiers,function(t){return"preventOverflow"===t.name}).boundaries;if(e.bottom<i.top||e.left>i.right||e.top>i.bottom||e.right<i.left){if(!0===t.hide)return t;t.hide=!0,t.attributes["x-out-of-boundaries"]=""}else{if(!1===t.hide)return t;t.hide=!1,t.attributes["x-out-of-boundaries"]=!1}return t}},computeStyle:{order:850,enabled:!0,fn:function(t,e){var i=e.x,n=e.y,o=t.offsets.popper,s=E(t.instance.modifiers,function(t){return"applyStyle"===t.name}).gpuAcceleration;void 0!==s&&console.warn("WARNING: `gpuAcceleration` option moved to `computeStyle` modifier and will not be supported in future versions of Popper.js!");var a,l,c=void 0===s?e.gpuAcceleration:s,d=r(t.instance.popper),h=m(d),u={position:o.position},p=function(t,e){var i=t.offsets,n=i.popper,o=i.reference,s=R,r=function(t){return t},a=s(o.width),l=s(n.width),c=-1!==["left","right"].indexOf(t.placement),d=-1!==t.placement.indexOf("-"),h=e?c||d||a%2==l%2?s:H:r,u=e?s:r;return{left:h(1==a%2&&1==l%2&&!d&&e?n.left-1:n.left),top:u(n.top),bottom:u(n.bottom),right:h(n.right)}}(t,2>window.devicePixelRatio||!K),f="bottom"===i?"top":"bottom",g="right"===n?"left":"right",v=A("transform");if(l="bottom"==f?"HTML"===d.nodeName?-d.clientHeight+p.bottom:-h.height+p.bottom:p.top,a="right"==g?"HTML"===d.nodeName?-d.clientWidth+p.right:-h.width+p.right:p.left,c&&v)u[v]="translate3d("+a+"px, "+l+"px, 0)",u[f]=0,u[g]=0,u.willChange="transform";else{var y="bottom"==f?-1:1,b="right"==g?-1:1;u[f]=l*y,u[g]=a*b,u.willChange=f+", "+g}var w={"x-placement":t.placement};return t.attributes=G({},w,t.attributes),t.styles=G({},u,t.styles),t.arrowStyles=G({},t.offsets.arrow,t.arrowStyles),t}
1,gpuAcceleration:!0,x:"bottom",y:"right"},applyStyle:{order:900,enabled:!0,fn:function(t){return j(t.instance.popper,t.styles),function(t,e){Object.keys(e).forEach(function(i){!1===e[i]?t.removeAttribute(i):t.setAttribute(i,e[i])})}(t.instance.popper,t.attributes),t.arrowElement&&Object.keys(t.arrowStyles).length&&j(t.arrowElement,t.arrowStyles),t},onLoad:function(t,e,i,n,o){var s=_(o,e,t,i.positionFixed),r=x(i.placement,s,e,t,i.modifiers.flip.boundariesElement,i.modifiers.flip.padding);return e.setAttribute("x-placement",r),j(e,{position:i.positionFixed?"fixed":"absolute"}),i},gpuAcceleration:void 0}}},nt}),function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports,require("jquery"),require("popper.js")):"function"==typeof define&&define.amd?define(["exports","jquery","popper.js"],e):e((t="undefined"!=typeof globalThis?globalThis:t||self).bootstrap={},t.jQuery,t.Popper)}(this,function(t,e,i){"use strict";function n(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function o(t,e,i){return e&&n(t.prototype,e),i&&n(t,i),t}function s(){return(s=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var i=arguments[e];for(var n in i)Object.prototype.hasOwnProperty.call(i,n)&&(t[n]=i[n])}return t}).apply(this,arguments)}e=e&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e,i=i&&Object.prototype.hasOwnProperty.call(i,"default")?i.default:i;var r={TRANSITION_END:"bsTransitionEnd",getUID:function(t){do{t+=~~(1e6*Math.random())}while(document.getElementById(t));return t},getSelectorFromElement:function(t){var e=t.getAttribute("data-target");if(!e||"#"===e){var i=t.getAttribute("href");e=i&&"#"!==i?i.trim():""}try{return document.querySelector(e)?e:null}catch(t){return null}},getTransitionDurationFromElement:function(t){if(!t)return 0;var i=e(t).css("transition-duration"),n=e(t).css("transition-delay"),o=parseFloat(i),s=parseFloat(n);return o||s?(i=i.split(",")[0],n=n.split(",")[0],1e3*(parseFloat(i)+parseFloat(n))):0},reflow:function(t){return t.offsetHeight},triggerTransitionEnd:function(t){e(t).trigger("transitionend")},supportsTransitionEnd:function(){return Boolean("transitionend")},isElement:function(t){return(t[0]||t).nodeType},typeCheckConfig:function(t,e,i){for(var n in i)if(Object.prototype.hasOwnProperty.call(i,n)){var o=i[n],s=e[n],a=s&&r.isElement(s)?"element":null===(l=s)||void 0===l?""+l:{}.toString.call(l).match(/\s([a-z]+)/i)[1].toLowerCase();if(!new RegExp(o).test(a))throw new Error(t.toUpperCase()+': Option "'+n+'" provided type "'+a+'" but expected type "'+o+'".')}var l},findShadowRoot:function(t){if(!document.documentElement.attachShadow)return null;if("function"==typeof t.getRootNode){var e=t.getRootNode();return e instanceof ShadowRoot?e:null}return t instanceof ShadowRoot?t:t.parentNode?r.findShadowRoot(t.parentNode):null},jQueryDetection:function(){if(void 0===e)throw new TypeError("Bootstrap's JavaScript requires jQuery. jQuery must be included before Bootstrap's JavaScript.");var t=e.fn.jquery.split(" ")[0].split(".");if(t[0]<2&&t[1]<9||1===t[0]&&9===t[1]&&t[2]<1||t[0]>=4)throw new Error("Bootstrap's JavaScript requires at least jQuery v1.9.1 but less than v4.0.0")}};r.jQueryDetection(),e.fn.emulateTransitionEnd=function(t){var i=this,n=!1;return e(this).one(r.TRANSITION_END,function(){n=!0}),setTimeout(function(){n||r.triggerTransitionEnd(i)},t),this},e.event.special[r.TRANSITION_END]={bindType:"transitionend",delegateType:"transitionend",handle:function(t){if(e(t.target).is(this))return t.handleObj.handler.apply(this,arguments)}};var a="alert",l=e.fn[a],c=function(){function t(t){this._element=t}var i=t.prototype;return i.close=function(t){var e=this._element;t&&(e=this._getRootElement(t)),this._triggerCloseEvent(e).isDefaultPrevented()||this._removeElement(e)},i.dispose=function(){e.removeData(this._element,"bs.alert"),this._element=null},i._getRootElement=function(t){var i=r.getSelectorFromElement(t),n=!1;return i&&(n=document.querySelector(i)),n||(n=e(t).closest(".alert")[0]),n},i._triggerCloseEvent=function(t){var i=e.Event("close.bs.alert");return e(t).trigger(i),i},i._removeElement=function(t){var i=this;if(e(t).removeClass("show"),e(t).hasClass("fade")){var n=r.getTransitionDurationFromElement(t);e(t).one(r.TRANSITION_END,function(e){return i._destroyElement(t,e)}).emulateTransitionEnd(n)}else this._destroyElement(t)},i._destroyElement=function(t){e(t).detach().trigger("closed.bs.alert").remove()},t._jQueryInterface=function(i){return this.each(function(){var n=e(this),o=n.data("bs.alert");o||(o=new t(this),n.data("bs.alert",o)),"close"===i&&o[i](this)})},t._handleDismiss=function(t){return function(e){e&&e.preventDefault(),t.close(this)}},o(t,null,[{key:"VERSION",get:function(){return"4.5.2"}}]),t}();e(document).on("click.bs.alert.data-api",'[data-dismiss="alert"]',c._handleDismiss(new c)),e.fn[a]=c._jQueryInterface,e.fn[a].Constructor=c,e.fn[a].noConflict=function(){return e.fn[a]=l,c._jQueryInterface};var d=e.fn.button,h=function(){function t(t){this._element=t}var i=t.prototype;return i.toggle=function(){var t=!0,i=!0,n=e(this._element).closest('[data-toggle="buttons"]')[0];if(n){var o=this._element.querySelector('input:not([type="hidden"])');if(o){if("radio"===o.type)if(o.checked&&this._element.classList.contains("active"))t=!1;else{var s=n.querySelector(".active");s&&e(s).removeClass("active")}t&&("checkbox"!==o.type&&"radio"!==o.type||(o.checked=!this._element.classList.contains("active")),e(o).trigger("change")),o.focus(),i=!1}}this._element.hasAttribute("disabled")||this._element.classList.contains("disabled")||(i&&this._element.setAttribute("aria-pressed",!this._element.classList.contains("active")),t&&e(this._element).toggleClass("active"))}
1,i.dispose=function(){e.removeData(this._element,"bs.button"),this._element=null},t._jQueryInterface=function(i){return this.each(function(){var n=e(this).data("bs.button");n||(n=new t(this),e(this).data("bs.button",n)),"toggle"===i&&n[i]()})},o(t,null,[{key:"VERSION",get:function(){return"4.5.2"}}]),t}();e(document).on("click.bs.button.data-api",'[data-toggle^="button"]',function(t){var i=t.target,n=i;if(e(i).hasClass("btn")||(i=e(i).closest(".btn")[0]),!i||i.hasAttribute("disabled")||i.classList.contains("disabled"))t.preventDefault();else{var o=i.querySelector('input:not([type="hidden"])');if(o&&(o.hasAttribute("disabled")||o.classList.contains("disabled")))return void t.preventDefault();("LABEL"!==n.tagName||o&&"checkbox"!==o.type)&&h._jQueryInterface.call(e(i),"toggle")}}).on("focus.bs.button.data-api blur.bs.button.data-api",'[data-toggle^="button"]',function(t){var i=e(t.target).closest(".btn")[0];e(i).toggleClass("focus",/^focus(in)?$/.test(t.type))}),e(window).on("load.bs.button.data-api",function(){for(var t=[].slice.call(document.querySelectorAll('[data-toggle="buttons"] .btn')),e=0,i=t.length;e<i;e++){var n=t[e],o=n.querySelector('input:not([type="hidden"])');o.checked||o.hasAttribute("checked")?n.classList.add("active"):n.classList.remove("active")}for(var s=0,r=(t=[].slice.call(document.querySelectorAll('[data-toggle="button"]'))).length;s<r;s++){var a=t[s];"true"===a.getAttribute("aria-pressed")?a.classList.add("active"):a.classList.remove("active")}}),e.fn.button=h._jQueryInterface,e.fn.button.Constructor=h,e.fn.button.noConflict=function(){return e.fn.button=d,h._jQueryInterface};var u="carousel",p=e.fn[u],f={interval:5e3,keyboard:!0,slide:!1,pause:"hover",wrap:!0,touch:!0},m={interval:"(number|boolean)",keyboard:"boolean",slide:"(boolean|string)",pause:"(string|boolean)",wrap:"boolean",touch:"boolean"},g={TOUCH:"touch",PEN:"pen"},v=function(){function t(t,e){this._items=null,this._interval=null,this._activeElement=null,this._isPaused=!1,this._isSliding=!1,this.touchTimeout=null,this.touchStartX=0,this.touchDeltaX=0,this._config=this._getConfig(e),this._element=t,this._indicatorsElement=this._element.querySelector(".carousel-indicators"),this._touchSupported="ontouchstart"in document.documentElement||navigator.maxTouchPoints>0,this._pointerEvent=Boolean(window.PointerEvent||window.MSPointerEvent),this._addEventListeners()}var i=t.prototype;return i.next=function(){this._isSliding||this._slide("next")},i.nextWhenVisible=function(){!document.hidden&&e(this._element).is(":visible")&&"hidden"!==e(this._element).css("visibility")&&this.next()},i.prev=function(){this._isSliding||this._slide("prev")},i.pause=function(t){t||(this._isPaused=!0),this._element.querySelector(".carousel-item-next, .carousel-item-prev")&&(r.triggerTransitionEnd(this._element),this.cycle(!0)),clearInterval(this._interval),this._interval=null},i.cycle=function(t){t||(this._isPaused=!1),this._interval&&(clearInterval(this._interval),this._interval=null),this._config.interval&&!this._isPaused&&(this._interval=setInterval((document.visibilityState?this.nextWhenVisible:this.next).bind(this),this._config.interval))},i.to=function(t){var i=this;this._activeElement=this._element.querySelector(".active.carousel-item");var n=this._getItemIndex(this._activeElement);if(!(t>this._items.length-1||t<0))if(this._isSliding)e(this._element).one("slid.bs.carousel",function(){return i.to(t)});else{if(n===t)return this.pause(),void this.cycle();var o=t>n?"next":"prev";this._slide(o,this._items[t])}},i.dispose=function(){e(this._element).off(".bs.carousel"),e.removeData(this._element,"bs.carousel"),this._items=null,this._config=null,this._element=null,this._interval=null,this._isPaused=null,this._isSliding=null,this._activeElement=null,this._indicatorsElement=null},i._getConfig=function(t){return t=s({},f,t),r.typeCheckConfig(u,t,m),t},i._handleSwipe=function(){var t=Math.abs(this.touchDeltaX);if(!(t<=40)){var e=t/this.touchDeltaX;this.touchDeltaX=0,e>0&&this.prev(),e<0&&this.next()}},i._addEventListeners=function(){var t=this;this._config.keyboard&&e(this._element).on("keydown.bs.carousel",function(e){return t._keydown(e)}),"hover"===this._config.pause&&e(this._element).on("mouseenter.bs.carousel",function(e){return t.pause(e)}).on("mouseleave.bs.carousel",function(e){return t.cycle(e)}),this._config.touch&&this._addTouchEventListeners()},i._addTouchEventListeners=function(){var t=this;if(this._touchSupported){var i=function(e){t._pointerEvent&&g[e.originalEvent.pointerType.toUpperCase()]?t.touchStartX=e.originalEvent.clientX:t._pointerEvent||(t.touchStartX=e.originalEvent.touches[0].clientX)},n=function(e){t._pointerEvent&&g[e.originalEvent.pointerType.toUpperCase()]&&(t.touchDeltaX=e.originalEvent.clientX-t.touchStartX),t._handleSwipe(),"hover"===t._config.pause&&(t.pause(),t.touchTimeout&&clearTimeout(t.touchTimeout),t.touchTimeout=setTimeout(function(e){return t.cycle(e)},500+t._config.interval))};e(this._element.querySelectorAll(".carousel-item img")).on("dragstart.bs.c
1arousel",function(t){return t.preventDefault()}),this._pointerEvent?(e(this._element).on("pointerdown.bs.carousel",function(t){return i(t)}),e(this._element).on("pointerup.bs.carousel",function(t){return n(t)}),this._element.classList.add("pointer-event")):(e(this._element).on("touchstart.bs.carousel",function(t){return i(t)}),e(this._element).on("touchmove.bs.carousel",function(e){return function(e){e.originalEvent.touches&&e.originalEvent.touches.length>1?t.touchDeltaX=0:t.touchDeltaX=e.originalEvent.touches[0].clientX-t.touchStartX}(e)}),e(this._element).on("touchend.bs.carousel",function(t){return n(t)}))}},i._keydown=function(t){if(!/input|textarea/i.test(t.target.tagName))switch(t.which){case 37:t.preventDefault(),this.prev();break;case 39:t.preventDefault(),this.next()}},i._getItemIndex=function(t){return this._items=t&&t.parentNode?[].slice.call(t.parentNode.querySelectorAll(".carousel-item")):[],this._items.indexOf(t)},i._getItemByDirection=function(t,e){var i="next"===t,n="prev"===t,o=this._getItemIndex(e),s=this._items.length-1;if((n&&0===o||i&&o===s)&&!this._config.wrap)return e;var r=(o+("prev"===t?-1:1))%this._items.length;return-1===r?this._items[this._items.length-1]:this._items[r]},i._triggerSlideEvent=function(t,i){var n=this._getItemIndex(t),o=this._getItemIndex(this._element.querySelector(".active.carousel-item")),s=e.Event("slide.bs.carousel",{relatedTarget:t,direction:i,from:o,to:n});return e(this._element).trigger(s),s},i._setActiveIndicatorElement=function(t){if(this._indicatorsElement){var i=[].slice.call(this._indicatorsElement.querySelectorAll(".active"));e(i).removeClass("active");var n=this._indicatorsElement.children[this._getItemIndex(t)];n&&e(n).addClass("active")}},i._slide=function(t,i){var n,o,s,a=this,l=this._element.querySelector(".active.carousel-item"),c=this._getItemIndex(l),d=i||l&&this._getItemByDirection(t,l),h=this._getItemIndex(d),u=Boolean(this._interval);if("next"===t?(n="carousel-item-left",o="carousel-item-next",s="left"):(n="carousel-item-right",o="carousel-item-prev",s="right"),d&&e(d).hasClass("active"))this._isSliding=!1;else if(!this._triggerSlideEvent(d,s).isDefaultPrevented()&&l&&d){this._isSliding=!0,u&&this.pause(),this._setActiveIndicatorElement(d);var p=e.Event("slid.bs.carousel",{relatedTarget:d,direction:s,from:c,to:h});if(e(this._element).hasClass("slide")){e(d).addClass(o),r.reflow(d),e(l).addClass(n),e(d).addClass(n);var f=parseInt(d.getAttribute("data-interval"),10);f?(this._config.defaultInterval=this._config.defaultInterval||this._config.interval,this._config.interval=f):this._config.interval=this._config.defaultInterval||this._config.interval;var m=r.getTransitionDurationFromElement(l);e(l).one(r.TRANSITION_END,function(){e(d).removeClass(n+" "+o).addClass("active"),e(l).removeClass("active "+o+" "+n),a._isSliding=!1,setTimeout(function(){return e(a._element).trigger(p)},0)}).emulateTransitionEnd(m)}else e(l).removeClass("active"),e(d).addClass("active"),this._isSliding=!1,e(this._element).trigger(p);u&&this.cycle()}},t._jQueryInterface=function(i){return this.each(function(){var n=e(this).data("bs.carousel"),o=s({},f,e(this).data());"object"==typeof i&&(o=s({},o,i));var r="string"==typeof i?i:o.slide;if(n||(n=new t(this,o),e(this).data("bs.carousel",n)),"number"==typeof i)n.to(i);else if("string"==typeof r){if(void 0===n[r])throw new TypeError('No method named "'+r+'"');n[r]()}else o.interval&&o.ride&&(n.pause(),n.cycle())})},t._dataApiClickHandler=function(i){var n=r.getSelectorFromElement(this);if(n){var o=e(n)[0];if(o&&e(o).hasClass("carousel")){var a=s({},e(o).data(),e(this).data()),l=this.getAttribute("data-slide-to");l&&(a.interval=!1),t._jQueryInterface.call(e(o),a),l&&e(o).data("bs.carousel").to(l),i.preventDefault()}}},o(t,null,[{key:"VERSION",get:function(){return"4.5.2"}},{key:"Default",get:function(){return f}}]),t}();e(document).on("click.bs.carousel.data-api","[data-slide], [data-slide-to]",v._dataApiClickHandler),e(window).on("load.bs.carousel.data-api",function(){for(var t=[].slice.call(document.querySelectorAll('[data-ride="carousel"]')),i=0,n=t.length;i<n;i++){var o=e(t[i]);v._jQueryInterface.call(o,o.data())}}),e.fn[u]=v._jQueryInterface,e.fn[u].Constructor=v,e.fn[u].noConflict=function(){return e.fn[u]=p,v._jQueryInterface};var y="collapse",b=e.fn[y],w={toggle:!0,parent:""},x={toggle:"boolean",parent:"(string|element)"},_=function(){function t(t,e){this._isTransitioning=!1,this._element=t,this._config=this._getConfig(e),this._triggerArray=[].slice.call(document.querySelectorAll('[data-toggle="collapse"][href="#'+t.id+'"],[data-toggle="collapse"][data-target="#'+t.id+'"]'));for(var i=[].slice.call(document.querySelectorAll('[data-toggle="collapse"]')),n=0,o=i.length;n<o;n++){var s=i[n],a=r.getSelectorFromElement(s),l=[].slice.call(document.querySelectorAll(a)).filter(function(e){return e===t});null!==a&&l.length>0&&(this._selector=a,this._triggerArray.push(s))}this._parent=this._config.parent?this._getParent():null,this._config.parent||this._addAriaAndCollapsedClass(this._element,this._triggerArray),this._config.toggle&&this.toggle()}var i=t.prototype;return i.toggle=function(){e(this._element).hasClass("show")?this.hide():this.show()},i.show=function(){var i,n,o=this;if(!(this._isTransitioning||e(this._element).hasClass("show")||(this._parent&&0===(i=[].slice.call(this._parent.querySelectorAll(".show, .collapsing")).filter(function(t){return"string"==typeof o._config.parent?t.getAttribute("data-parent")===o._config.parent:t.classList.contains("collapse")})).length&&(i=null),i&&(n=e(i).not(this._selector).data("bs.collapse"))&&n._isTransitioning))){var s=e.Event("show.bs.collapse");
1if(e(this._element).trigger(s),!s.isDefaultPrevented()){i&&(t._jQueryInterface.call(e(i).not(this._selector),"hide"),n||e(i).data("bs.collapse",null));var a=this._getDimension();e(this._element).removeClass("collapse").addClass("collapsing"),this._element.style[a]=0,this._triggerArray.length&&e(this._triggerArray).removeClass("collapsed").attr("aria-expanded",!0),this.setTransitioning(!0);var l="scroll"+(a[0].toUpperCase()+a.slice(1)),c=r.getTransitionDurationFromElement(this._element);e(this._element).one(r.TRANSITION_END,function(){e(o._element).removeClass("collapsing").addClass("collapse show"),o._element.style[a]="",o.setTransitioning(!1),e(o._element).trigger("shown.bs.collapse")}).emulateTransitionEnd(c),this._element.style[a]=this._element[l]+"px"}}},i.hide=function(){var t=this;if(!this._isTransitioning&&e(this._element).hasClass("show")){var i=e.Event("hide.bs.collapse");if(e(this._element).trigger(i),!i.isDefaultPrevented()){var n=this._getDimension();this._element.style[n]=this._element.getBoundingClientRect()[n]+"px",r.reflow(this._element),e(this._element).addClass("collapsing").removeClass("collapse show");var o=this._triggerArray.length;if(o>0)for(var s=0;s<o;s++){var a=this._triggerArray[s],l=r.getSelectorFromElement(a);null!==l&&(e([].slice.call(document.querySelectorAll(l))).hasClass("show")||e(a).addClass("collapsed").attr("aria-expanded",!1))}this.setTransitioning(!0),this._element.style[n]="";var c=r.getTransitionDurationFromElement(this._element);e(this._element).one(r.TRANSITION_END,function(){t.setTransitioning(!1),e(t._element).removeClass("collapsing").addClass("collapse").trigger("hidden.bs.collapse")}).emulateTransitionEnd(c)}}},i.setTransitioning=function(t){this._isTransitioning=t},i.dispose=function(){e.removeData(this._element,"bs.collapse"),this._config=null,this._parent=null,this._element=null,this._triggerArray=null,this._isTransitioning=null},i._getConfig=function(t){return(t=s({},w,t)).toggle=Boolean(t.toggle),r.typeCheckConfig(y,t,x),t},i._getDimension=function(){return e(this._element).hasClass("width")?"width":"height"},i._getParent=function(){var i,n=this;r.isElement(this._config.parent)?(i=this._config.parent,void 0!==this._config.parent.jquery&&(i=this._config.parent[0])):i=document.querySelector(this._config.parent);var o='[data-toggle="collapse"][data-parent="'+this._config.parent+'"]',s=[].slice.call(i.querySelectorAll(o));return e(s).each(function(e,i){n._addAriaAndCollapsedClass(t._getTargetFromElement(i),[i])}),i},i._addAriaAndCollapsedClass=function(t,i){var n=e(t).hasClass("show");i.length&&e(i).toggleClass("collapsed",!n).attr("aria-expanded",n)},t._getTargetFromElement=function(t){var e=r.getSelectorFromElement(t);return e?document.querySelector(e):null},t._jQueryInterface=function(i){return this.each(function(){var n=e(this),o=n.data("bs.collapse"),r=s({},w,n.data(),"object"==typeof i&&i?i:{});if(!o&&r.toggle&&"string"==typeof i&&/show|hide/.test(i)&&(r.toggle=!1),o||(o=new t(this,r),n.data("bs.collapse",o)),"string"==typeof i){if(void 0===o[i])throw new TypeError('No method named "'+i+'"');o[i]()}})},o(t,null,[{key:"VERSION",get:function(){return"4.5.2"}},{key:"Default",get:function(){return w}}]),t}();e(document).on("click.bs.collapse.data-api",'[data-toggle="collapse"]',function(t){"A"===t.currentTarget.tagName&&t.preventDefault();var i=e(this),n=r.getSelectorFromElement(this),o=[].slice.call(document.querySelectorAll(n));e(o).each(function(){var t=e(this),n=t.data("bs.collapse")?"toggle":i.data();_._jQueryInterface.call(t,n)})}),e.fn[y]=_._jQueryInterface,e.fn[y].Constructor=_,e.fn[y].noConflict=function(){return e.fn[y]=b,_._jQueryInterface};var C="dropdown",k=e.fn[C],T=new RegExp("38|40|27"),E={offset:0,flip:!0,boundary:"scrollParent",reference:"toggle",display:"dynamic",popperConfig:null},S={offset:"(number|string|function)",flip:"boolean",boundary:"(string|element)",reference:"(string|element)",display:"string",popperConfig:"(null|object)"},I=function(){function t(t,e){this._element=t,this._popper=null,this._config=this._getConfig(e),this._menu=this._getMenuElement(),this._inNavbar=this._detectNavbar(),this._addEventListeners()}var n=t.prototype;return n.toggle=function(){if(!this._element.disabled&&!e(this._element).hasClass("disabled")){var i=e(this._menu).hasClass("show");t._clearMenus(),i||this.show(!0)}},n.show=function(n){if(void 0===n&&(n=!1),!(this._element.disabled||e(this._element).hasClass("disabled")||e(this._menu).hasClass("show"))){var o={relatedTarget:this._element},s=e.Event("show.bs.dropdown",o),a=t._getParentFromElement(this._element);
1if(e(a).trigger(s),!s.isDefaultPrevented()){if(!this._inNavbar&&n){if(void 0===i)throw new TypeError("Bootstrap's dropdowns require Popper.js (https://popper.js.org/)");var l=this._element;"parent"===this._config.reference?l=a:r.isElement(this._config.reference)&&(l=this._config.reference,void 0!==this._config.reference.jquery&&(l=this._config.reference[0])),"scrollParent"!==this._config.boundary&&e(a).addClass("position-static"),this._popper=new i(l,this._menu,this._getPopperConfig())}"ontouchstart"in document.documentElement&&0===e(a).closest(".navbar-nav").length&&e(document.body).children().on("mouseover",null,e.noop),this._element.focus(),this._element.setAttribute("aria-expanded",!0),e(this._menu).toggleClass("show"),e(a).toggleClass("show").trigger(e.Event("shown.bs.dropdown",o))}}},n.hide=function(){if(!this._element.disabled&&!e(this._element).hasClass("disabled")&&e(this._menu).hasClass("show")){var i={relatedTarget:this._element},n=e.Event("hide.bs.dropdown",i),o=t._getParentFromElement(this._element);e(o).trigger(n),n.isDefaultPrevented()||(this._popper&&this._popper.destroy(),e(this._menu).toggleClass("show"),e(o).toggleClass("show").trigger(e.Event("hidden.bs.dropdown",i)))}},n.dispose=function(){e.removeData(this._element,"bs.dropdown"),e(this._element).off(".bs.dropdown"),this._element=null,this._menu=null,null!==this._popper&&(this._popper.destroy(),this._popper=null)},n.update=function(){this._inNavbar=this._detectNavbar(),null!==this._popper&&this._popper.scheduleUpdate()},n._addEventListeners=function(){var t=this;e(this._element).on("click.bs.dropdown",function(e){e.preventDefault(),e.stopPropagation(),t.toggle()})},n._getConfig=function(t){return t=s({},this.constructor.Default,e(this._element).data(),t),r.typeCheckConfig(C,t,this.constructor.DefaultType),t},n._getMenuElement=function(){if(!this._menu){var e=t._getParentFromElement(this._element);e&&(this._menu=e.querySelector(".dropdown-menu"))}return this._menu},n._getPlacement=function(){var t=e(this._element.parentNode),i="bottom-start";return t.hasClass("dropup")?i=e(this._menu).hasClass("dropdown-menu-right")?"top-end":"top-start":t.hasClass("dropright")?i="right-start":t.hasClass("dropleft")?i="left-start":e(this._menu).hasClass("dropdown-menu-right")&&(i="bottom-end"),i},n._detectNavbar=function(){return e(this._element).closest(".navbar").length>0},n._getOffset=function(){var t=this,e={};return"function"==typeof this._config.offset?e.fn=function(e){return e.offsets=s({},e.offsets,t._config.offset(e.offsets,t._element)||{}),e}:e.offset=this._config.offset,e},n._getPopperConfig=function(){var t={placement:this._getPlacement(),modifiers:{offset:this._getOffset(),flip:{enabled:this._config.flip},preventOverflow:{boundariesElement:this._config.boundary}}};return"static"===this._config.display&&(t.modifiers.applyStyle={enabled:!1}),s({},t,this._config.popperConfig)},t._jQueryInterface=function(i){return this.each(function(){var n=e(this).data("bs.dropdown");if(n||(n=new t(this,"object"==typeof i?i:null),e(this).data("bs.dropdown",n)),"string"==typeof i){if(void 0===n[i])throw new TypeError('No method named "'+i+'"');n[i]()}})},t._clearMenus=function(i){if(!i||3!==i.which&&("keyup"!==i.type||9===i.which))for(var n=[].slice.call(document.querySelectorAll('[data-toggle="dropdown"]')),o=0,s=n.length;o<s;o++){var r=t._getParentFromElement(n[o]),a=e(n[o]).data("bs.dropdown"),l={relatedTarget:n[o]};if(i&&"click"===i.type&&(l.clickEvent=i),a){var c=a._menu;if(e(r).hasClass("show")&&!(i&&("click"===i.type&&/input|textarea/i.test(i.target.tagName)||"keyup"===i.t
1ype&&9===i.which)&&e.contains(r,i.target))){var d=e.Event("hide.bs.dropdown",l);e(r).trigger(d),d.isDefaultPrevented()||("ontouchstart"in document.documentElement&&e(document.body).children().off("mouseover",null,e.noop),n[o].setAttribute("aria-expanded","false"),a._popper&&a._popper.destroy(),e(c).removeClass("show"),e(r).removeClass("show").trigger(e.Event("hidden.bs.dropdown",l)))}}}},t._getParentFromElement=function(t){var e,i=r.getSelectorFromElement(t);return i&&(e=document.querySelector(i)),e||t.parentNode},t._dataApiKeydownHandler=function(i){if(!(/input|textarea/i.test(i.target.tagName)?32===i.which||27!==i.which&&(40!==i.which&&38!==i.which||e(i.target).closest(".dropdown-menu").length):!T.test(i.which))&&!this.disabled&&!e(this).hasClass("disabled")){var n=t._getParentFromElement(this),o=e(n).hasClass("show");if(o||27!==i.which){if(i.preventDefault(),i.stopPropagation(),!o||o&&(27===i.which||32===i.which))return 27===i.which&&e(n.querySelector('[data-toggle="dropdown"]')).trigger("focus"),void e(this).trigger("click");var s=[].slice.call(n.querySelectorAll(".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)")).filter(function(t){return e(t).is(":visible")});if(0!==s.length){var r=s.indexOf(i.target);38===i.which&&r>0&&r--,40===i.which&&r<s.length-1&&r++,r<0&&(r=0),s[r].focus()}}}},o(t,null,[{key:"VERSION",get:function(){return"4.5.2"}},{key:"Default",get:function(){return E}},{key:"DefaultType",get:function(){return S}}]),t}();e(document).on("keydown.bs.dropdown.data-api",'[data-toggle="dropdown"]',I._dataApiKeydownHandler).on("keydown.bs.dropdown.data-api",".dropdown-menu",I._dataApiKeydownHandler).on("click.bs.dropdown.data-api keyup.bs.dropdown.data-api",I._clearMenus).on("click.bs.dropdown.data-api",'[data-toggle="dropdown"]',function(t){t.preventDefault(),t.stopPropagation(),I._jQueryInterface.call(e(this),"toggle")}).on("click.bs.dropdown.data-api",".dropdown form",function(t){t.stopPropagation()}),e.fn[C]=I._jQueryInterface,e.fn[C].Constructor=I,e.fn[C].noConflict=function(){return e.fn[C]=k,I._jQueryInterface};var A=e.fn.modal,D={backdrop:!0,keyboard:!0,focus:!0,show:!0},O={backdrop:"(boolean|string)",keyboard:"boolean",focus:"boolean",show:"boolean"},P=function(){function t(t,e){this._config=this._getConfig(e),this._element=t,this._dialog=t.querySelector(".modal-dialog"),this._backdrop=null,this._isShown=!1,this._isBodyOverflowing=!1,this._ignoreBackdropClick=!1,this._isTransitioning=!1,this._scrollbarWidth=0}var i=t.prototype;return i.toggle=function(t){return this._isShown?this.hide():this.show(t)},i.show=function(t){var i=this;if(!this._isShown&&!this._isTransitioning){e(this._element).hasClass("fade")&&(this._isTransitioning=!0);var n=e.Event("show.bs.modal",{relatedTarget:t});e(this._element).trigger(n),this._isShown||n.isDefaultPrevented()||(this._isShown=!0,this._checkScrollbar(),this._setScrollbar(),this._adjustDialog(),this._setEscapeEvent(),this._setResizeEvent(),e(this._element).on("click.dismiss.bs.modal",'[data-dismiss="modal"]',function(t){return i.hide(t)}),e(this._dialog).on("mousedown.dismiss.bs.modal",function(){e(i._element).one("mouseup.dismiss.bs.modal",function(t){e(t.target).is(i._element)&&(i._ignoreBackdropClick=!0)})}),this._showBackdrop(function(){return i._showElement(t)}))}},i.hide=function(t){var i=this;if(t&&t.preventDefault(),this._isShown&&!this._isTransitioning){var n=e.Event("hide.bs.modal");if(e(this._element).trigger(n),this._isShown&&!n.isDefaultPrevented()){this._isShown=!1;var o=e(this._element).hasClass("fade");if(o&&(this._isTransitioning=!0),this._setEscapeEvent(),this._setResizeEvent(),e(document).off("focusin.bs.modal"),e(this._element).removeClass("show"),e(this._element).off("click.dismiss.bs.modal"),e(this._dialog).off("mousedown.dismiss.bs.modal"),o){var s=r.getTransitionDurationFromElement(this._element);e(this._element).one(r.TRANSITION_END,function(t){return i._hideModal(t)}).emulateTransitionEnd(s)}else this._hideModal()}}},i.dispose=function(){[window,this._element,this._dialog].forEach(function(t){return e(t).off(".bs.modal")}),e(document).off("focusin.bs.modal"),e.removeData(this._element,"b
1s.modal"),this._config=null,this._element=null,this._dialog=null,this._backdrop=null,this._isShown=null,this._isBodyOverflowing=null,this._ignoreBackdropClick=null,this._isTransitioning=null,this._scrollbarWidth=null},i.handleUpdate=function(){this._adjustDialog()},i._getConfig=function(t){return t=s({},D,t),r.typeCheckConfig("modal",t,O),t},i._triggerBackdropTransition=function(){var t=this;if("static"===this._config.backdrop){var i=e.Event("hidePrevented.bs.modal");if(e(this._element).trigger(i),i.defaultPrevented)return;var n=this._element.scrollHeight>document.documentElement.clientHeight;n||(this._element.style.overflowY="hidden"),this._element.classList.add("modal-static");var o=r.getTransitionDurationFromElement(this._dialog);e(this._element).off(r.TRANSITION_END),e(this._element).one(r.TRANSITION_END,function(){t._element.classList.remove("modal-static"),n||e(t._element).one(r.TRANSITION_END,function(){t._element.style.overflowY=""}).emulateTransitionEnd(t._element,o)}).emulateTransitionEnd(o),this._element.focus()}else this.hide()},i._showElement=function(t){var i=this,n=e(this._element).hasClass("fade"),o=this._dialog?this._dialog.querySelector(".modal-body"):null;this._element.parentNode&&this._element.parentNode.nodeType===Node.ELEMENT_NODE||document.body.appendChild(this._element),this._element.style.display="block",this._element.removeAttribute("aria-hidden"),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),e(this._dialog).hasClass("modal-dialog-scrollable")&&o?o.scrollTop=0:this._element.scrollTop=0,n&&r.reflow(this._element),e(this._element).addClass("show"),this._config.focus&&this._enforceFocus();var s=e.Event("shown.bs.modal",{relatedTarget:t}),a=function(){i._config.focus&&i._element.focus(),i._isTransitioning=!1,e(i._element).trigger(s)};if(n){var l=r.getTransitionDurationFromElement(this._dialog);e(this._dialog).one(r.TRANSITION_END,a).emulateTransitionEnd(l)}else a()},i._enforceFocus=function(){var t=this;e(document).off("focusin.bs.modal").on("focusin.bs.modal",function(i){document!==i.target&&t._element!==i.target&&0===e(t._element).has(i.target).length&&t._element.focus()})},i._setEscapeEvent=function(){var t=this;this._isShown?e(this._element).on("keydown.dismiss.bs.modal",function(e){t._config.keyboard&&27===e.which?(e.preventDefault(),t.hide()):t._config.keyboard||27!==e.which||t._triggerBackdropTransition()}):this._isShown||e(this._element).off("keydown.dismiss.bs.modal")},i._setResizeEvent=function(){var t=this;this._isShown?e(window).on("resize.bs.modal",function(e){return t.handleUpdate(e)}):e(window).off("resize.bs.modal")},i._hideModal=function(){var t=this;this._element.style.display="none",this._element.setAttribute("aria-hidden",!0),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._isTransitioning=!1,this._showBackdrop(function(){e(document.body).removeClass("modal-open"),t._resetAdjustments(),t._resetScrollbar(),e(t._element).trigger("hidden.bs.modal")})},i._removeBackdrop=function(){this._backdrop&&(e(this._backdrop).remove(),this._backdrop=null)},i._showBackdrop=function(t){var i=this,n=e(this._element).hasClass("fade")?"fade":"";if(this._isShown&&this._config.backdrop){if(this._backdrop=document.createElement("div"),this._backdrop.className="modal-backdrop",n&&this._backdrop.classList.add(n),e(this._backdrop).appendTo(document.body),e(this._element).on("click.dismiss.bs.modal",function(t){i._ignoreBackdropClick?i._ignoreBackdropClick=!1:t.target===t.currentTarget&&i._triggerBackdropTransition()}),n&&r.reflow(this._backdrop),e(this._backdrop).addClass("show"),!t)return;if(!n)return void t();var o=r.getTransitionDurationFromElement(this._backdrop);e(this._backdrop).one(r.TRANSITION_END,t).emulateTransitionEnd(o)}else if(!this._isShown&&this._backdrop){e(this._backdrop).removeClass("show");var s=function(){i._removeBackdrop(),t&&t()};if(e(this._element).hasClass("fade")){var a=r.getTransitionDurationFromElement(this._backdrop);e(this._backdrop).one(r.TRANSITION_END,s).emulateTransitionEnd(a)}else s()}else t&&t()},i._adjustDialog=function(){var t=this._element.scrollHeight>document.documentElement.clientHeight;!this._isBodyOverflowing&&t&&(this._element.style.paddingLeft=this._scrollbarWidth+"px"),this._isBodyOverflowing&&!t&&(this._element.style.paddingRight=this._scrollbarWidth+"px")},i._resetAdjustments=function(){this._element.style.paddingLeft="",this._element.style.paddingRight=""},i._checkScrollbar=function(){var t=document.body.getBoundingClientRect();this._isBodyOverflowing=Math.round(t.left+t.right)<window.innerWidth,this._scrollbarWidth=this._getScrollbarWidth()},i._setScrollbar=function(){var t=this;if(this._isBodyOverflowing){var i=[].slice.call(document.querySelectorAll(".fixed-top, .fixed-bottom, .is-fixed, .sticky-top")),n=[].slice.call(document.querySelectorAll(".sticky-top"));e(i).each(function(i,n){var o=n.style.paddingRight,s=e(n).css("padding-right");e(n).data("padding-right",o).css("padding-right",parseFloat(s)+t._scrollbarWidth+"px")}),e(n).each(function(i,n){var o=n.style.marginRight,s=e(n).css("margin-right");e(n).data("margin-right",o).css("margin-right",parseFloat(s)-t._scrollbarWidth+"px")});var o=document.body.style.paddingRight,s=e(document.body).css("padding-right");e(document.body).data("padding-right",o).css("padding-right",parseFloat(s)+this._scrollbarWidth+"px")}e(document.body).addClass("modal-open")},i._resetScrollbar=function(){var t=[].slice.call(document.querySelectorAll(".fixed-top, .fixed-bottom, .is-fixed, .sticky-top"));e(t).each(function(t,i){var n=e(i).data("padding-right");e(i).removeData("padding-right"),i.style.paddingRight=n||""});var i=[].slice.call(document.querySelectorAll(".sticky-top"));e(i).each(function(t,i){var n=e(i).data("margin-right");void 0!==n&&e(i).css("margin-right",n).removeData("margin-right")});var n=e(document.body).data("padding-right");e(document.body).removeData("padding-right"),document.body.style.paddingRight=n||""},i._getScrollbarWidth=function(){var t=document.createElement("div");t.className="modal-scrollbar-measure",document.body.appendChild(t);var e=t.getBoundingClientRect().width-t.clientWidth;return document.body.removeChild(t),e},t._jQueryInterface=function(i,n){return this.each(function(){var o=e(this).data("bs.modal"),r=s({},D,e(this).data(),"object"==typeof i&&i?i:{});if(o||(o=new t(this,r),e(this).data("bs.modal",o)),"string"==typeof i){if(void 0===o[i])throw new TypeError('No method n
1amed "'+i+'"');o[i](n)}else r.show&&o.show(n)})},o(t,null,[{key:"VERSION",get:function(){return"4.5.2"}},{key:"Default",get:function(){return D}}]),t}();e(document).on("click.bs.modal.data-api",'[data-toggle="modal"]',function(t){var i,n=this,o=r.getSelectorFromElement(this);o&&(i=document.querySelector(o));var a=e(i).data("bs.modal")?"toggle":s({},e(i).data(),e(this).data());"A"!==this.tagName&&"AREA"!==this.tagName||t.preventDefault();var l=e(i).one("show.bs.modal",function(t){t.isDefaultPrevented()||l.one("hidden.bs.modal",function(){e(n).is(":visible")&&n.focus()})});P._jQueryInterface.call(e(i),a,this)}),e.fn.modal=P._jQueryInterface,e.fn.modal.Constructor=P,e.fn.modal.noConflict=function(){return e.fn.modal=A,P._jQueryInterface};var L=["background","cite","href","itemtype","longdesc","poster","src","xlink:href"],j=/^(?:(?:https?|mailto|ftp|tel|file):|[^#&/:?]*(?:[#/?]|$))/gi,$=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[\d+/a-z]+=*$/i;function z(t,e,i){if(0===t.length)return t;if(i&&"function"==typeof i)return i(t);for(var n=(new window.DOMParser).parseFromString(t,"text/html"),o=Object.keys(e),s=[].slice.call(n.body.querySelectorAll("*")),r=function(t,i){var n=s[t],r=n.nodeName.toLowerCase();if(-1===o.indexOf(n.nodeName.toLowerCase()))return n.parentNode.removeChild(n),"continue";var a=[].slice.call(n.attributes),l=[].concat(e["*"]||[],e[r]||[]);a.forEach(function(t){(function(t,e){var i=t.nodeName.toLowerCase();if(-1!==e.indexOf(i))return-1===L.indexOf(i)||Boolean(t.nodeValue.match(j)||t.nodeValue.match($));for(var n=e.filter(function(t){return t instanceof RegExp}),o=0,s=n.length;o<s;o++)if(i.match(n[o]))return!0;return!1})(t,l)||n.removeAttribute(t.nodeName)})},a=0,l=s.length;a<l;a++)r(a);return n.body.innerHTML}var M="tooltip",N=e.fn[M],H=new RegExp("(^|\\s)bs-tooltip\\S+","g"),R=["sanitize","whiteList","sanitizeFn"],W={animation:"boolean",template:"string",title:"(string|element|function)",trigger:"string",delay:"(number|object)",html:"boolean",selector:"(string|boolean)",placement:"(string|function)",offset:"(number|string|function)",container:"(string|element|boolean)",fallbackPlacement:"(string|array)",boundary:"(string|element)",sanitize:"boolean",sanitizeFn:"(null|function)",whiteList:"object",popperConfig:"(null|object)"},B={AUTO:"auto",TOP:"top",RIGHT:"right",BOTTOM:"bottom",LEFT:"left"},F={animation:!0,template:'<div class="tooltip" role="tooltip"><div class="arrow"></div><div class="tooltip-inner"></div></div>',trigger:"hover focus",title:"",delay:0,html:!1,selector:!1,placement:"top",offset:0,container:!1,fallbackPlacement:"flip",boundary:"scrollParent",sanitize:!0,sanitizeFn:null,whiteList:{"*":["class","dir","id","lang","role",/^aria-[\w-]*$/i],a:["target","href","title","rel"],area:[],b:[],br:[],col:[],code:[],div:[],em:[],hr:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],i:[],img:["src","srcset","alt","title","width","height"],li:[],ol:[],p:[],pre:[],s:[],small:[],span:[],sub:[],sup:[],strong:[],u:[],ul:[]},popperConfig:null},q={HIDE:"hide.bs.tooltip",HIDDEN:"hidden.bs.tooltip",SHOW:"show.bs.tooltip",SHOWN:"shown.bs.tooltip",INSERTED:"inserted.bs.tooltip",CLICK:"click.bs.tooltip",FOCUSIN:"focusin.bs.tooltip",FOCUSOUT:"focusout.bs.tooltip",MOUSEENTER:"mouseenter.bs.tooltip",MOUSELEAVE:"mouseleave.bs.tooltip"},Y=function(){function t(t,e){if(void 0===i)throw new TypeError("Bootstrap's tooltips require Popper.js (https://popper.js.org/)");this._isEnabled=!0,this._timeout=0,this._hoverState="",this._activeTrigger={},this._popper=null,this.element=t,this.config=this._getConfig(e),this.tip=null,this._setListeners()}var n=t.prototype;return n.enable=function(){this._isEnabled=!0},n.disable=function(){this._isEnabled=!1},n.toggleEnabled=function(){this._isEnabled=!this._isEnabled},n.toggle=function(t){if(this._isEnabled)if(t){var i=this.constructor.DATA_KEY,n=e(t.currentTarget).data(i);n||(n=new this.constructor(t.currentTarget,this._getDelegateConfig()),e(t.currentTarget).data(i,n)),n._activeTrigger.click=!n._activeTrigger.click,n._isWithActiveTrigger()?n._enter(null,n):n._leave(null,n)}else{if(e(this.getTipElement()).hasClass("show"))return void this._leave(null,this);this._enter(null,this)}},n.dispose=function(){clearTimeout(this._timeout),e.removeData(this.element,this.constructor.DATA_KEY),e(this.element).off(this.constructor.EVENT_KEY),e(this.element).closest(".modal").off("hide.bs.modal",this._hideModalHandler),this.tip&&e(this.tip).remove(),this._isEnabled=null,this._timeout=null,this._hoverState=null,this._activeTrigger=null,this._popper&&this._popper.destroy(),this._popper=null,this.element=null,this.config=null,this.tip=null},n.show=function(){var t=this;if("none"===e(this.element).css("display"))throw new Error("Please use show on visible elements");var n=e.Event(this.constructor.Event.SHOW);if(this.isWithContent()&&this._isEnabled){e(this.element).trigger(n);var o=r.findShadowRoot(this.element),s=e.contains(null!==o?o:this.element.ownerDocument.documentElement,this.element);if(n.isDefaultPrevented()||!s)return;var a=this.getTipElement(),l=r.getUID(this.constructor.NAME);a.setAttribute("id",l),this.element.setAttribute("aria-describedby",l),this.setContent(),this.config.animation&&e(a).addClass("fade");var c="function"==typeof this.config.placement?this.config.placement.call(this,a,this.element):this.config.placement,d=this._getAttachment(c);this.addAttachmentClass(d);var h=this._getContainer();e(a).data(this.constructor.DATA_KEY,this),e.contains(this.element.ownerDocument.documentElement,this.tip)||e(a).appendTo(h),e(this.element).trigger(this.constructor.Event.INSERTED),this._popper=new i(this.element,a,this._getPopperConfig(d)),e(a).addClass("show"),"ontouchstart"in document.documentElement&&e(document.body).children().on("mouseover",null,e.noop);var u=function(){t.config.animation&&t._fixTransition();var i=t._hoverState;t._hoverState=null,e(t.element).trigger(t.constructor.Event.SHOWN),"out"===i&&t._leave(null,t)};if(e(this.tip).hasClass("fade")){var p=r.getTransitionDurationFromElement(this.tip);e(this.tip).one(r.TRANSITION_END,u).emulateTransitionEnd(p)}else u()}},n.hide=function(t){var i=this,n=this.getTipElement(),o=e.Event(this.constructor.Event.HIDE),s=function(){"show"!==i._hoverState&&n.parentNode&&n.parentNode.removeChild(n),i._cleanTipClass(),i.element.removeAttribute("aria-describedby"),e(i.element).trigger(i.constructor.Event.HIDDEN),null!==i._popper&&i._popper.destroy(),t&&t()};
1if(e(this.element).trigger(o),!o.isDefaultPrevented()){if(e(n).removeClass("show"),"ontouchstart"in document.documentElement&&e(document.body).children().off("mouseover",null,e.noop),this._activeTrigger.click=!1,this._activeTrigger.focus=!1,this._activeTrigger.hover=!1,e(this.tip).hasClass("fade")){var a=r.getTransitionDurationFromElement(n);e(n).one(r.TRANSITION_END,s).emulateTransitionEnd(a)}else s();this._hoverState=""}},n.update=function(){null!==this._popper&&this._popper.scheduleUpdate()},n.isWithContent=function(){return Boolean(this.getTitle())},n.addAttachmentClass=function(t){e(this.getTipElement()).addClass("bs-tooltip-"+t)},n.getTipElement=function(){return this.tip=this.tip||e(this.config.template)[0],this.tip},n.setContent=function(){var t=this.getTipElement();this.setElementContent(e(t.querySelectorAll(".tooltip-inner")),this.getTitle()),e(t).removeClass("fade show")},n.setElementContent=function(t,i){"object"!=typeof i||!i.nodeType&&!i.jquery?this.config.html?(this.config.sanitize&&(i=z(i,this.config.whiteList,this.config.sanitizeFn)),t.html(i)):t.text(i):this.config.html?e(i).parent().is(t)||t.empty().append(i):t.text(e(i).text())},n.getTitle=function(){var t=this.element.getAttribute("data-original-title");return t||(t="function"==typeof this.config.title?this.config.title.call(this.element):this.config.title),t},n._getPopperConfig=function(t){var e=this;return s({},{placement:t,modifiers:{offset:this._getOffset(),flip:{behavior:this.config.fallbackPlacement},arrow:{element:".arrow"},preventOverflow:{boundariesElement:this.config.boundary}},onCreate:function(t){t.originalPlacement!==t.placement&&e._handlePopperPlacementChange(t)},onUpdate:function(t){return e._handlePopperPlacementChange(t)}},this.config.popperConfig)},n._getOffset=function(){var t=this,e={};return"function"==typeof this.config.offset?e.fn=function(e){return e.offsets=s({},e.offsets,t.config.offset(e.offsets,t.element)||{}),e}:e.offset=this.config.offset,e},n._getContainer=function(){return!1===this.config.container?document.body:r.isElement(this.config.container)?e(this.config.container):e(document).find(this.config.container)},n._getAttachment=function(t){return B[t.toUpperCase()]},n._setListeners=function(){var t=this;this.config.trigger.split(" ").forEach(function(i){if("click"===i)e(t.element).on(t.constructor.Event.CLICK,t.config.selector,function(e){return t.toggle(e)});else if("manual"!==i){var n="hover"===i?t.constructor.Event.MOUSEENTER:t.constructor.Event.FOCUSIN,o="hover"===i?t.constructor.Event.MOUSELEAVE:t.constructor.Event.FOCUSOUT;e(t.element).on(n,t.config.selector,function(e){return t._enter(e)}).on(o,t.config.selector,function(e){return t._leave(e)})}}),this._hideModalHandler=function(){t.element&&t.hide()},e(this.element).closest(".modal").on("hide.bs.modal",this._hideModalHandler),this.config.selector?this.config=s({},this.config,{trigger:"manual",selector:""}):this._fixTitle()},n._fixTitle=function(){var t=typeof this.element.getAttribute("data-original-title");(this.element.getAttribute("title")||"string"!==t)&&(this.element.setAttribute("data-original-title",this.element.getAttribute("title")||""),this.element.setAttribute("title",""))},n._enter=function(t,i){var n=this.constructor.DATA_KEY;(i=i||e(t.currentTarget).data(n))||(i=new this.constructor(t.currentTarget,this._getDelegateConfig()),e(t.currentTarget).data(n,i)),t&&(i._activeTrigger["focusin"===t.type?"focus":"hover"]=!0),e(i.getTipElement()).hasClass("show")||"show"===i._hoverState?i._hoverState="show":(clearTimeout(i._timeout),i._hoverState="show",i.config.delay&&i.config.delay.show?i._timeout=setTimeout(function(){"show"===i._hoverState&&i.show()},i.config.delay.show):i.show())},n._leave=function(t,i){var n=this.constructor.DATA_KEY;(i=i||e(t.currentTarget).data(n))||(i=new this.constructor(t.currentTarget,this._getDelegateConfig()),e(t.currentTarget).data(n,i)),t&&(i._activeTrigger["focusout"===t.type?"focus":"hover"]=!1),i._isWithActiveTrigger()||(clearTimeout(i._timeout),i._hoverState="out",i.config.delay&&i.config.delay.hide?i._timeout=setTimeout(function(){"out"===i._hoverState&&i.hide()},i.config.delay.hide):i.hide())},n._isWithActiveTrigger=function(){for(var t in this._activeTrigger)if(this._activeTrigger[t])return!0;return!1},n._getConfig=function(t){var i=e(this.element).data();
1return Object.keys(i).forEach(function(t){-1!==R.indexOf(t)&&delete i[t]}),"number"==typeof(t=s({},this.constructor.Default,i,"object"==typeof t&&t?t:{})).delay&&(t.delay={show:t.delay,hide:t.delay}),"number"==typeof t.title&&(t.title=t.title.toString()),"number"==typeof t.content&&(t.content=t.content.toString()),r.typeCheckConfig(M,t,this.constructor.DefaultType),t.sanitize&&(t.template=z(t.template,t.whiteList,t.sanitizeFn)),t},n._getDelegateConfig=function(){var t={};if(this.config)for(var e in this.config)this.constructor.Default[e]!==this.config[e]&&(t[e]=this.config[e]);return t},n._cleanTipClass=function(){var t=e(this.getTipElement()),i=t.attr("class").match(H);null!==i&&i.length&&t.removeClass(i.join(""))},n._handlePopperPlacementChange=function(t){this.tip=t.instance.popper,this._cleanTipClass(),this.addAttachmentClass(this._getAttachment(t.placement))},n._fixTransition=function(){var t=this.getTipElement(),i=this.config.animation;null===t.getAttribute("x-placement")&&(e(t).removeClass("fade"),this.config.animation=!1,this.hide(),this.show(),this.config.animation=i)},t._jQueryInterface=function(i){return this.each(function(){var n=e(this).data("bs.tooltip"),o="object"==typeof i&&i;if((n||!/dispose|hide/.test(i))&&(n||(n=new t(this,o),e(this).data("bs.tooltip",n)),"string"==typeof i)){if(void 0===n[i])throw new TypeError('No method named "'+i+'"');n[i]()}})},o(t,null,[{key:"VERSION",get:function(){return"4.5.2"}},{key:"Default",get:function(){return F}},{key:"NAME",get:function(){return M}},{key:"DATA_KEY",get:function(){return"bs.tooltip"}},{key:"Event",get:function(){return q}},{key:"EVENT_KEY",get:function(){return".bs.tooltip"}},{key:"DefaultType",get:function(){return W}}]),t}();e.fn[M]=Y._jQueryInterface,e.fn[M].Constructor=Y,e.fn[M].noConflict=function(){return e.fn[M]=N,Y._jQueryInterface};var V="popover",U=e.fn[V],X=new RegExp("(^|\\s)bs-popover\\S+","g"),Q=s({},Y.Default,{placement:"right",trigger:"click",content:"",template:'<div class="popover" role="tooltip"><div class="arrow"></div><h3 class="popover-header"></h3><div class="popover-body"></div></div>'}),G=s({},Y.DefaultType,{content:"(string|element|function)"}),K={HIDE:"hide.bs.popover",HIDDEN:"hidden.bs.popover",SHOW:"show.bs.popover",SHOWN:"shown.bs.popover",INSERTED:"inserted.bs.popover",CLICK:"click.bs.popover",FOCUSIN:"focusin.bs.popover",FOCUSOUT:"focusout.bs.popover",MOUSEENTER:"mouseenter.bs.popover",MOUSELEAVE:"mouseleave.bs.popover"},Z=function(t){var i,n;function s(){return t.apply(this,arguments)||this}n=t,(i=s).prototype=Object.create(n.prototype),i.prototype.constructor=i,i.__proto__=n;var r=s.prototype;return r.isWithContent=function(){return this.getTitle()||this._getContent()},r.addAttachmentClass=function(t){e(this.getTipElement()).addClass("bs-popover-"+t)},r.getTipElement=function(){return this.tip=this.tip||e(this.config.template)[0],this.tip},r.setContent=function(){var t=e(this.getTipElement());this.setElementContent(t.find(".popover-header"),this.getTitle());var i=this._getContent();"function"==typeof i&&(i=i.call(this.element)),this.setElementContent(t.find(".popover-body"),i),t.removeClass("fade show")},r._getContent=function(){return this.element.getAttribute("data-content")||this.config.content},r._cleanTipClass=function(){var t=e(this.getTipElement()),i=t.attr("class").match(X);null!==i&&i.length>0&&t.removeClass(i.join(""))},s._jQueryInterface=function(t){return this.each(function(){var i=e(this).data("bs.popover"),n="object"==typeof t?t:null;if((i||!/dispose|hide/.test(t))&&(i||(i=new s(this,n),e(this).data("bs.popover",i)),"string"==typeof t)){if(void 0===i[t])throw new TypeError('No method named "'+t+'"');i[t]()}})},o(s,null,[{key:"VERSION",get:function(){return"4.5.2"}},{key:"Default",get:function(){return Q}},{key:"NAME",get:function(){return V}},{key:"DATA_KEY",get:function(){return"bs.popover"}},{key:"Event",get:function(){return K}},{key:"EVENT_KEY",get:function(){return".bs.popover"}},{key:"DefaultType",get:function(){return G}}]),s}(Y);e.fn[V]=Z._jQueryInterface,e.fn[V].Constructor=Z,e.fn[V].noConflict=function(){return e.fn[V]=U,Z._jQueryInterface};var J="scrollspy",tt=e.fn[J],et={offset:10,method:"auto",target:""},it={offset:"number",method:"string",target:"(string|element)"},nt=function(){function t(t,i){var n=this;this._element=t,this._scrollElement="BODY"===t.tagName?window:t,this._config=this._getConfig(i),this._selector=this._config.target+" .nav-link,"+this._config.target+" .list-group-item,"+this._config.target+" .dropdown-item",this._offsets=[],this._targets=[],this._activeTarget=null,this._scrollHeight=0,e(this._scrollElement).on("scroll.bs.scrollspy",function(t){return n._process(t)}),this.refresh(),this._process()}var i=t.prototype;return i.refresh=function(){var t=this,i=this._scrollElement===this._scrollElement.window?"offset":"position",n="auto"===this._config.method?i:this._config.method,o="position"===n?this._getScrollTop():0;this._offsets=[],this._targets=[],this._scrollHeight=this._getScrollHeight(),[].slice.call(document.querySelectorAll(this._selector)).map(function(t){var i,s=r.getSelectorFromElement(t);if(s&&(i=document.querySelector(s)),i){var a=i.getBoundingClientRect();if(a.width||a.height)return[e(i)[n]().top+o,s]}return null}).filter(function(t){return t}).sort(function(t,e){return t[0]-e[0]}
1).forEach(function(e){t._offsets.push(e[0]),t._targets.push(e[1])})},i.dispose=function(){e.removeData(this._element,"bs.scrollspy"),e(this._scrollElement).off(".bs.scrollspy"),this._element=null,this._scrollElement=null,this._config=null,this._selector=null,this._offsets=null,this._targets=null,this._activeTarget=null,this._scrollHeight=null},i._getConfig=function(t){if("string"!=typeof(t=s({},et,"object"==typeof t&&t?t:{})).target&&r.isElement(t.target)){var i=e(t.target).attr("id");i||(i=r.getUID(J),e(t.target).attr("id",i)),t.target="#"+i}return r.typeCheckConfig(J,t,it),t},i._getScrollTop=function(){return this._scrollElement===window?this._scrollElement.pageYOffset:this._scrollElement.scrollTop},i._getScrollHeight=function(){return this._scrollElement.scrollHeight||Math.max(document.body.scrollHeight,document.documentElement.scrollHeight)},i._getOffsetHeight=function(){return this._scrollElement===window?window.innerHeight:this._scrollElement.getBoundingClientRect().height},i._process=function(){var t=this._getScrollTop()+this._config.offset,e=this._getScrollHeight(),i=this._config.offset+e-this._getOffsetHeight();if(this._scrollHeight!==e&&this.refresh(),t>=i){var n=this._targets[this._targets.length-1];this._activeTarget!==n&&this._activate(n)}else{if(this._activeTarget&&t<this._offsets[0]&&this._offsets[0]>0)return this._activeTarget=null,void this._clear();for(var o=this._offsets.length;o--;)this._activeTarget!==this._targets[o]&&t>=this._offsets[o]&&(void 0===this._offsets[o+1]||t<this._offsets[o+1])&&this._activate(this._targets[o])}},i._activate=function(t){this._activeTarget=t,this._clear();var i=this._selector.split(",").map(function(e){return e+'[data-target="'+t+'"],'+e+'[href="'+t+'"]'}),n=e([].slice.call(document.querySelectorAll(i.join(","))));n.hasClass("dropdown-item")?(n.closest(".dropdown").find(".dropdown-toggle").addClass("active"),n.addClass("active")):(n.addClass("active"),n.parents(".nav, .list-group").prev(".nav-link, .list-group-item").addClass("active"),n.parents(".nav, .list-group").prev(".nav-item").children(".nav-link").addClass("active")),e(this._scrollElement).trigger("activate.bs.scrollspy",{relatedTarget:t})},i._clear=function(){[].slice.call(document.querySelectorAll(this._selector)).filter(function(t){return t.classList.contains("active")}).forEach(function(t){return t.classList.remove("active")})},t._jQueryInterface=function(i){return this.each(function(){var n=e(this).data("bs.scrollspy");if(n||(n=new t(this,"object"==typeof i&&i),e(this).data("bs.scrollspy",n)),"string"==typeof i){if(void 0===n[i])throw new TypeError('No method named "'+i+'"');n[i]()}})},o(t,null,[{key:"VERSION",get:function(){return"4.5.2"}},{key:"Default",get:function(){return et}}]),t}();e(window).on("load.bs.scrollspy.data-api",function(){for(var t=[].slice.call(document.querySelectorAll('[data-spy="scroll"]')),i=t.length;i--;){var n=e(t[i]);nt._jQueryInterface.call(n,n.data())}}),e.fn[J]=nt._jQueryInterface,e.fn[J].Constructor=nt,e.fn[J].noConflict=function(){return e.fn[J]=tt,nt._jQueryInterface};var ot=e.fn.tab,st=function(){function t(t){this._element=t}var i=t.prototype;return i.show=function(){var t=this;if(!(this._element.parentNode&&this._element.parentNode.nodeType===Node.ELEMENT_NODE&&e(this._element).hasClass("active")||e(this._element).hasClass("disabled"))){var i,n,o=e(this._element).closest(".nav, .list-group")[0],s=r.getSelectorFromElement(this._element);if(o){var a="UL"===o.nodeName||"OL"===o.nodeName?"> li > .active":".active";n=(n=e.makeArray(e(o).find(a)))[n.length-1]}var l=e.Event("hide.bs.tab",{relatedTarget:this._element}),c=e.Event("show.bs.tab",{relatedTarget:n});if(n&&e(n).trigger(l),e(this._element).trigger(c),!c.isDefaultPrevented()&&!l.isDefaultPrevented()){s&&(i=document.querySelector(s)),this._activate(this._element,o);var d=function(){var i=e.Event("hidden.bs.tab",{relatedTarget:t._element}),o=e.Event("shown.bs.tab",{relatedTarget:n});e(n).trigger(i),e(t._element).trigger(o)};i?this._activate(i,i.parentNode,d):d()}}},i.dispose=function(){e.removeData(this._element,"bs.tab"),this._element=null},i._activate=function(t,i,n){var o=this,s=(!i||"UL"!==i.nodeName&&"OL"!==i.nodeName?e(i).children(".active"):e(i).find("> li > .active"))[0],a=n&&s&&e(s).hasClass("fade"),l=function(){return o._transitionComplete(t,s,n)};if(s&&a){var c=r.getTransitionDurationFromElement(s);e(s).removeClass("show").one(r.TRANSITION_END,l).emulateTransitionEnd(c)}else l()},i._transitionComplete=function(t,i,n){if(i){e(i).removeClass("active");var o=e(i.parentNode).find("> .dropdown-menu .active")[0];o&&e(o).removeClass("active"),"tab"===i.getAttribute("role")&&i.setAttribute("aria-selected",!1)}if(e(t).addClass("active"),"tab"===t.getAttribute("role")&&t.setAttribute("aria-selected",!0),r.reflow(t),t.classList.contains("fade")&&t.classList.add("show"),t.parentNode&&e(t.parentNode).hasClass("dropdown-menu")){var s=e(t).closest(".dropdown")[0];if(s){var a=[].slice.call(s.querySelectorAll(".dropdown-toggle"));e(a).addClass("active")}t.setAttribute("aria-expanded",!0)}n&&n()},t._jQueryInterface=function(i){return this.each(function(){var n=e(this),o=n.data("bs.tab");if(o||(o=new t(this),n.data("bs.tab",o)),"string"==typeof i){if(void 0===o[i])throw new TypeError('No method n
1amed "'+i+'"');o[i]()}})},o(t,null,[{key:"VERSION",get:function(){return"4.5.2"}}]),t}();e(document).on("click.bs.tab.data-api",'[data-toggle="tab"], [data-toggle="pill"], [data-toggle="list"]',function(t){t.preventDefault(),st._jQueryInterface.call(e(this),"show")}),e.fn.tab=st._jQueryInterface,e.fn.tab.Constructor=st,e.fn.tab.noConflict=function(){return e.fn.tab=ot,st._jQueryInterface};var rt=e.fn.toast,at={animation:"boolean",autohide:"boolean",delay:"number"},lt={animation:!0,autohide:!0,delay:500},ct=function(){function t(t,e){this._element=t,this._config=this._getConfig(e),this._timeout=null,this._setListeners()}var i=t.prototype;return i.show=function(){var t=this,i=e.Event("show.bs.toast");if(e(this._element).trigger(i),!i.isDefaultPrevented()){this._clearTimeout(),this._config.animation&&this._element.classList.add("fade");var n=function(){t._element.classList.remove("showing"),t._element.classList.add("show"),e(t._element).trigger("shown.bs.toast"),t._config.autohide&&(t._timeout=setTimeout(function(){t.hide()},t._config.delay))};if(this._element.classList.remove("hide"),r.reflow(this._element),this._element.classList.add("showing"),this._config.animation){var o=r.getTransitionDurationFromElement(this._element);e(this._element).one(r.TRANSITION_END,n).emulateTransitionEnd(o)}else n()}},i.hide=function(){if(this._element.classList.contains("show")){var t=e.Event("hide.bs.toast");e(this._element).trigger(t),t.isDefaultPrevented()||this._close()}},i.dispose=function(){this._clearTimeout(),this._element.classList.contains("show")&&this._element.classList.remove("show"),e(this._element).off("click.dismiss.bs.toast"),e.removeData(this._element,"bs.toast"),this._element=null,this._config=null},i._getConfig=function(t){return t=s({},lt,e(this._element).data(),"object"==typeof t&&t?t:{}),r.typeCheckConfig("toast",t,this.constructor.DefaultType),t},i._setListeners=function(){var t=this;e(this._element).on("click.dismiss.bs.toast",'[data-dismiss="toast"]',function(){return t.hide()})},i._close=function(){var t=this,i=function(){t._element.classList.add("hide"),e(t._element).trigger("hidden.bs.toast")};if(this._element.classList.remove("show"),this._config.animation){var n=r.getTransitionDurationFromElement(this._element);e(this._element).one(r.TRANSITION_END,i).emulateTransitionEnd(n)}else i()},i._clearTimeout=function(){clearTimeout(this._timeout),this._timeout=null},t._jQueryInterface=function(i){return this.each(function(){var n=e(this),o=n.data("bs.toast");if(o||(o=new t(this,"object"==typeof i&&i),n.data("bs.toast",o)),"string"==typeof i){if(void 0===o[i])throw new TypeError('No method named "'+i+'"');o[i](this)}})},o(t,null,[{key:"VERSION",get:function(){return"4.5.2"}},{key:"DefaultType",get:function(){return at}},{key:"Default",get:function(){return lt}}]),t}();e.fn.toast=ct._jQueryInterface,e.fn.toast.Constructor=ct,e.fn.toast.noConflict=function(){return e.fn.toast=rt,ct._jQueryInterface},t.Alert=c,t.Button=h,t.Carousel=v,t.Collapse=_,t.Dropdown=I,t.Modal=P,t.Popover=Z,t.Scrollspy=nt,t.Tab=st,t.Toast=ct,t.Tooltip=Y,t.Util=r,Object.defineProperty(t,"__esModule",{value:!0})}),function(){"use strict";function t(n){if(!n)throw new Error("No options passed to Waypoint constructor");if(!n.element)throw new Error("No element option passed to Waypoint constructor");if(!n.handler)throw new Error("No handler option passed to Waypoint constructor");this.key="waypoint-"+e,this.options=t.Adapter.extend({},t.defaults,n),this.element=this.options.element,this.adapter=new t.Adapter(this.element),this.callback=n.handler,this.axis=this.options.horizontal?"horizontal":"vertical",this.enabled=this.options.enabled,this.triggerPoint=null,this.group=t.Group.findOrCreate({name:this.options.group,axis:this.axis}),this.context=t.Context.findOrCreateByElement(this.options.context),t.offsetAliases[this.options.offset]&&(this.options.offset=t.offsetAliases[this.options.offset]),this.group.add(this),this.context.add(this),i[this.key]=this,e+=1}var e=0,i={};t.prototype.queueTrigger=function(t){this.group.queueTrigger(this,t)},t.prototype.trigger=function(t){this.enabled&&this.callback&&this.callback.apply(this,t)},t.prototype.destroy=function(){this.context.remove(this),this.group.remove(this),delete i[this.key]},t.prototype.disable=function(){return this.enabled=!1,this},t.prototype.enable=function(){return this.context.refresh(),this.enabled=!0,this},t.prototype.next=function(){return this.group.next(this)},t.prototype.previous=function(){return this.group.previous(this)},t.invokeAll=function(t){var e=[];for(var n in i)e.push(i[n]);for(var o=0,s=e.length;s>o;o++)e[o][t]()},t.destroyAll=function(){t.invokeAll("destroy")},t.disableAll=function(){t.invokeAll("disable")},t.enableAll=function(){for(var e in t.Context.refreshAll(),i)i[e].enabled=!0;return this},t.refreshAll=function(){t.Context.refreshAll()}
vendor: 5,233 bytes, line 1
1,t.viewportHeight=function(){return window.innerHeight||document.documentElement.clientHeight},t.viewportWidth=function(){return document.documentElement.clientWidth},t.adapters=[],t.defaults={context:window,continuous:!0,enabled:!0,group:"default",horizontal:!1,offset:0},t.offsetAliases={"bottom-in-view":function(){return this.context.innerHeight()-this.adapter.outerHeight()},"right-in-view":function(){return this.context.innerWidth()-this.adapter.outerWidth()}},window.Waypoint=t}(),function(){"use strict";function t(t){window.setTimeout(t,1e3/60)}function e(t){this.element=t,this.Adapter=o.Adapter,this.adapter=new this.Adapter(t),this.key="waypoint-context-"+i,this.didScroll=!1,this.didResize=!1,this.oldScroll={x:this.adapter.scrollLeft(),y:this.adapter.scrollTop()},this.waypoints={vertical:{},horizontal:{}},t.waypointContextKey=this.key,n[t.waypointContextKey]=this,i+=1,o.windowContext||(o.windowContext=!0,o.windowContext=new e(window)),this.createThrottledScrollHandler(),this.createThrottledResizeHandler()}var i=0,n={},o=window.Waypoint,s=window.onload;e.prototype.add=function(t){var e=t.options.horizontal?"horizontal":"vertical";this.waypoints[e][t.key]=t,this.refresh()},e.prototype.checkEmpty=function(){var t=this.Adapter.isEmptyObject(this.waypoints.horizontal),e=this.Adapter.isEmptyObject(this.waypoints.vertical),i=this.element==this.element.window;t&&e&&!i&&(this.adapter.off(".waypoints"),delete n[this.key])},e.prototype.createThrottledResizeHandler=function(){function t(){e.handleResize(),e.didResize=!1}var e=this;this.adapter.on("resize.waypoints",function(){e.didResize||(e.didResize=!0,o.requestAnimationFrame(t))})},e.prototype.createThrottledScrollHandler=function(){function t(){e.handleScroll(),e.didScroll=!1}var e=this;this.adapter.on("scroll.waypoints",function(){(!e.didScroll||o.isTouch)&&(e.didScroll=!0,o.requestAnimationFrame(t))})},e.prototype.handleResize=function(){o.Context.refreshAll()},e.prototype.handleScroll=function(){var t={},e={horizontal:{newScroll:this.adapter.scrollLeft(),oldScroll:this.oldScroll.x,forward:"right",backward:"left"},vertical:{newScroll:this.adapter.scrollTop(),oldScroll:this.oldScroll.y,forward:"down",backward:"up"}};for(var i in e){var n=e[i],o=n.newScroll>n.oldScroll?n.forward:n.backward;for(var s in this.waypoints[i]){var r=this.waypoints[i][s];if(null!==r.triggerPoint){var a=n.oldScroll<r.triggerPoint,l=n.newScroll>=r.triggerPoint;(a&&l||!a&&!l)&&(r.queueTrigger(o),t[r.group.id]=r.group)}}}for(var c in t)t[c].flushTriggers();this.oldScroll={x:e.horizontal.newScroll,y:e.vertical.newScroll}},e.prototype.innerHeight=function(){return this.element==this.element.window?o.viewportHeight():this.adapter.innerHeight()},e.prototype.remove=function(t){delete this.waypoints[t.axis][t.key],this.checkEmpty()},e.prototype.innerWidth=function(){return this.element==this.element.window?o.viewportWidth():this.adapter.innerWidth()},e.prototype.destroy=function(){var t=[];for(var e in this.waypoints)for(var i in this.waypoints[e])t.push(this.waypoints[e][i]);for(var n=0,o=t.length;o>n;n++)t[n].destroy()},e.prototype.refresh=function(){var t,e=this.element==this.element.window,i=e?void 0:this.adapter.offset(),n={};for(var s in this.handleScroll(),t={horizontal:{contextOffset:e?0:i.left,contextScroll:e?0:this.oldScroll.x,contextDimension:this.innerWidth(),oldScroll:this.oldScroll.x,forward:"right",backward:"left",offsetProp:"left"},vertical:{contextOffset:e?0:i.top,contextScroll:e?0:this.oldScroll.y,contextDimension:this.innerHeight(),oldScroll:this.oldScroll.y,forward:"down",backward:"up",offsetProp:"top"}}){var r=t[s];for(var a in this.waypoints[s]){var l,c,d,h,u=this.waypoints[s][a],p=u.options.offset,f=u.triggerPoint,m=0,g=null==f;u.element!==u.element.window&&(m=u.adapter.offset()[r.offsetProp]),"function"==typeof p?p=p.apply(u):"string"==typeof p&&(p=parseFloat(p),u.options.offset.indexOf("%")>-1&&(p=Math.ceil(r.contextDimension*p/100))),l=r.contextScroll-r.contextOffset,u.triggerPoint=Math.floor(m+l-p),c=f<r.oldScroll,d=u.triggerPoint>=r.oldScroll,h=!c&&!d,!g&&(c&&d)?(u.queueTrigger(r.backward),n[u.group.id]=u.group):!g&&h?(u.queueTrigger(r.forward),n[u.group.id]=u.group):g&&r.oldScroll>=u.triggerPoint&&(u.queueTrigger(r.forward),n[u.group.id]=u.group)}}return o.requestAnimationFrame(function(){for(var t in n)n[t].flushTriggers()}),this},e.findOrCreateByElement=function(t){return e.findByElement(t)||new e(t)},e.refreshAll=function(){for(var t in n)n[t].refresh()},e.findByElement=function(t){return n[t.waypointContextKey]},window.onload=function(){s&&s(),e.refreshAll()},o.requestAnimationFrame=function(e){(window.requestAnimationFrame||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame||t).call(window,e)},o.Context=e}(),function(){"use strict";function t(t,e){return t.triggerPoint-e.triggerPoint}function e(t,e){return e.triggerPoint-t.triggerPoint}function i(t){this.name=t.name,this.axis=t.axis,this.id=this.name+"-"+this.axis,this.waypoints=[],this.clearTriggerQueues(),n[this.axis][this.name]=this}var n={vertical:{},horizontal:{}},o=window.Waypoint;i.prototype.add=function(t){this.waypoints.push(t)},i.prototype.clearTriggerQueues=function(){this.triggerQueues={up:[],down:[],left:[],r
1ight:[]}},i.prototype.flushTriggers=function(){for(var i in this.triggerQueues){var n=this.triggerQueues[i],o="up"===i||"left"===i;n.sort(o?e:t);for(var s=0,r=n.length;r>s;s+=1){var a=n[s];(a.options.continuous||s===n.length-1)&&a.trigger([i])}}this.clearTriggerQueues()},i.prototype.next=function(e){this.waypoints.sort(t);var i=o.Adapter.inArray(e,this.waypoints);return i===this.waypoints.length-1?null:this.waypoints[i+1]},i.prototype.previous=function(e){this.waypoints.sort(t);var i=o.Adapter.inArray(e,this.waypoints);return i?this.waypoints[i-1]:null},i.prototype.queueTrigger=function(t,e){this.triggerQueues[e].push(t)},i.prototype.remove=function(t){var e=o.Adapter.inArray(t,this.waypoints);e>-1&&this.waypoints.splice(e,1)},i.prototype.first=function(){return this.waypoints[0]},i.prototype.last=function(){return this.waypoints[this.waypoints.length-1]},i.findOrCreate=function(t){return n[t.axis][t.name]||new i(t)},o.Group=i}(),function(){"use strict";function t(t){this.$element=e(t)}var e=window.jQuery,i=window.Waypoint;e.each(["innerHeight","innerWidth","off","offset","on","outerHeight","outerWidth","scrollLeft","scrollTop"],function(e,i){t.prototype[i]=function(){var t=Array.prototype.slice.call(arguments);return this.$element[i].apply(this.$element,t)}}),e.each(["extend","inArray","isEmptyObject"],function(i,n){t[n]=e[n]}),i.adapters.push({name:"jquery",Adapter:t}),i.Adapter=t}(),function(){"use strict";function t(t){return function(){var i=[],n=arguments[0];return t.isFunction(arguments[0])&&((n=t.extend({},arguments[1])).handler=arguments[0]),this.each(function(){var o=t.extend({},n,{element:this});"string"==typeof o.context&&(o.context=t(this).closest(o.context)[0]),i.push(new e(o))}),i}}var e=window.Waypoint;window.jQuery&&(window.jQuery.fn.waypoint=t(window.jQuery)),window.Zepto&&(window.Zepto.fn.waypoint=t(window.Zepto))}(),function(t,e){"function"==typeof define&&define.amd?define(["jquery"],function(t){return e(t)}):"object"==typeof exports?module.exports=e(require("jquery")):e(jQuery)}(0,function(t){var e=function(t,e){var i,n=document.createElement("canvas");t.appendChild(n),"object"==typeof G_vmlCanvasManager&&G_vmlCanvasManager.initElement(n);var o=n.getContext("2d");n.width=n.height=e.size;var s=1;window.devicePixelRatio>1&&(s=window.devicePixelRatio,n.style.width=n.style.height=[e.size,"px"].join(""),n.width=n.height=e.size*s,o.scale(s,s)),o.translate(e.size/2,e.size/2),o.rotate((e.rotate/180-.5)*Math.PI);var r=(e.size-e.lineWidth)/2;e.scaleColor&&e.scaleLength&&(r-=e.scaleLength+2),Date.now=Date.now||function(){return+new Date};var a=function(t,e,i){var n=0>=(i=Math.min(Math.max(-1,i||0),1));o.beginPath(),o.arc(0,0,r,0,2*Math.PI*i,n),o.strokeStyle=t,o.lineWidth=e,o.stroke()},l=window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||function(t){window.setTimeout(t,1e3/60)},c=function(){e.scaleColor&&function(){var t,i;o.lineWidth=1,o.fillStyle=e.scaleColor,o.save();for(var n=24;n>0;--n)n%6==0?(i=e.scaleLength,t=0):(i=.6*e.scaleLength,t=e.scaleLength-i),o.fillRect(-e.size/2+t,0,i,1),o.rotate(Math.PI/12);o.restore()}(),e.trackColor&&a(e.trackColor,e.trackWidth||e.lineWidth,1)};this.getCanvas=function(){return n},this.getCtx=function(){return o},this.clear=function(){o.clearRect(e.size/-2,e.size/-2,e.size,e.size)},this.draw=function(t){var n;e.scaleColor||e.trackColor?o.getImageData&&o.putImageData?i?o.putImageData(i,0,0):(c(),i=o.getImageData(0,0,e.size*s,e.size*s)):(this.clear(),c()):this.clear(),o.lineCap=e.lineCap,n="function"==typeof e.barColor?e.barColor(t):e.barColor,a(n,e.lineWidth,t/100)}.bind(this),this.animate=function(t,i){var n=Date.now();e.onStart(t,i);var o=function(){var s=Math.min(Date.now()-n,e.animate.duration),r=e.easing(this,s,t,i-t,e.animate.duration);this.draw(r),e.onStep(t,i,r),s>=e.animate.duration?e.onStop(t,i):l(o)}.bind(this);l(o)}.bind(this)},i=function(t,i){var n={barColor:"#ef1e25",trackColor:"#f9f9f9",scaleColor:"#dfe0e0",scaleLength:5,lineCap:"round",lineWidth:3,trackWidth:void 0,size:110,rotate:0,animate:{duration:1e3,enabled:!0}
1,easing:function(t,e,i,n,o){return 1>(e/=o/2)?n/2*e*e+i:-n/2*(--e*(e-2)-1)+i},onStart:function(t,e){},onStep:function(t,e,i){},onStop:function(t,e){}};if(void 0!==e)n.renderer=e;else{if("undefined"==typeof SVGRenderer)throw new Error("Please load either the SVG- or the CanvasRenderer");n.renderer=SVGRenderer}var o={},s=0,r=function(){for(var e in this.el=t,this.options=o,n)n.hasOwnProperty(e)&&(o[e]=i&&void 0!==i[e]?i[e]:n[e],"function"==typeof o[e]&&(o[e]=o[e].bind(this)));"string"==typeof o.easing&&"undefined"!=typeof jQuery&&jQuery.isFunction(jQuery.easing[o.easing])?o.easing=jQuery.easing[o.easing]:o.easing=n.easing,"number"==typeof o.animate&&(o.animate={duration:o.animate,enabled:!0}),"boolean"!=typeof o.animate||o.animate||(o.animate={duration:1e3,enabled:o.animate}),this.renderer=new o.renderer(t,o),this.renderer.draw(s),t.dataset&&t.dataset.percent?this.update(parseFloat(t.dataset.percent)):t.getAttribute&&t.getAttribute("data-percent")&&this.update(parseFloat(t.getAttribute("data-percent")))}.bind(this);this.update=function(t){return t=parseFloat(t),o.animate.enabled?this.renderer.animate(s,t):this.renderer.draw(t),s=t,this}.bind(this),this.disableAnimation=function(){return o.animate.enabled=!1,this},this.enableAnimation=function(){return o.animate.enabled=!0,this},r()};t.fn.easyPieChart=function(e){return this.each(function(){var n;t.data(this,"easyPieChart")||(n=t.extend({},e,t(this).data()),t.data(this,"easyPieChart",new i(this,n)))})}}),function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define("UniversalTilt",[],e):"object"==typeof exports?exports.UniversalTilt=e():t.UniversalTilt=e()}("object"!=typeof window?global.window=global:window,function(){return function(t){var e={};function i(n){if(e[n])return e[n].exports;var o=e[n]={i:n,l:!1,exports:{}};return t[n].call(o.exports,o,o.exports,i),o.l=!0,o.exports}return i.m=t,i.c=e,i.d=function(t,e,n){i.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},i.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},i.t=function(t,e){if(1&e&&(t=i(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(i.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)i.d(n,o,function(e){return t[e]}.bind(null,o));return n},i.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return i.d(e,"a",e),e},i.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},i.p="",i(i.s=0)}([function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n,o=(n=i(1))&&n.__esModule?n:{default:n},s=o.default;e.default=s,e.default=o.default,t.exports=e.default},function(t,e,i){"use strict";function n(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=function(){function t(e){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),e.length>0?this.init(e,i):0!==e.length&&(this.element=e,this.settings=this.settings(i),this.reverse=this.settings.reverse?-1:1,this.settings.shine&&this.shine(),this.element.style.transform="perspective(".concat(this.settings.perspective,"px)"),this.addEventListeners())}var e,i;return e=t,(i=[{key:"init",value:function(e,i){var n=!0,o=!1,s=void 0;try{for(var r,a=e[Symbol.iterator]();!(n=(r=a.next()).done);n=!0){var l=r.value;this.universalTilt=new t(l,i)}}catch(t){o=!0,s=t}finally{try{n||null==a.return||a.return()}finally{if(o)throw s}}}},{key:"isMobile",value:function(){if(window.DeviceMotionEvent&&"ontouchstart"in document.documentElement)return!0}},{key:"addEventListeners",value:function(){var t=this;navigator.userAgent.match(this.settings.exclude)||(this.isMobile()?window.addEventListener("devicemotion",function(e){return t.onDeviceMove(e)}):("element"===this.settings["position-base"]?this.base=this.element:"window"===this.settings["position-base"]&&(this.base=window),this.base.addEventListener("mouseenter",function(){return t.onMouseEnter()}),this.base.addEventListener("mousemove",function(e){return t.onMouseMove(e)}),this.base.addEventListener("mouseleave",function(){return t.onMouseLeave()})))}},{key:"onMouseEnter",value:function(){this.updateElementPosition(),this.transitions(),"function"==typeof this.settings.onMouseEnter&&this.settings.onMouseEnter(this.element)}},{key:"onMouseMove",value:function(t){var e=this;this.event=t,this.updateElementPosition(),window.requestAnimationFrame(function(){return e.update(
1)}),"function"==typeof this.settings.onMouseMove&&this.settings.onMouseMove(this.element)}},{key:"onMouseLeave",value:function(){var t=this;this.transitions(),window.requestAnimationFrame(function(){return t.reset()}),"function"==typeof this.settings.onMouseLeave&&this.settings.onMouseLeave(this.element)}},{key:"onDeviceMove",value:function(t){this.event=t,this.update(),this.updateElementPosition(),this.transitions(),"function"==typeof this.settings.onDeviceMove&&this.settings.onDeviceMove(this.element)}},{key:"reset",value:function(){this.event={pageX:this.left+this.width/2,pageY:this.top+this.height/2},this.settings.reset&&(this.element.style.transform="perspective(".concat(this.settings.perspective,"px) rotateX(0deg) rotateY(0deg) scale3d(1, 1, 1)")),this.settings.shine&&!this.settings["shine-save"]&&Object.assign(this.shineElement.style,{transform:"rotate(180deg) translate3d(-50%, -50%, 0)",opacity:"0"})}},{key:"getValues",value:function(){var t,e,i;this.isMobile()?(t=this.event.accelerationIncludingGravity.x/4,e=this.event.accelerationIncludingGravity.y/4,90===window.orientation?(i=(1-e)/2,e=(1+t)/2,t=i):-90===window.orientation?(i=(1+e)/2,e=(1-t)/2,t=i):0===window.orientation?(e=i=(1+e)/2,t=(1+t)/2):180===window.orientation&&(e=i=(1-e)/2,t=(1-t)/2)):"element"===this.settings["position-base"]?(t=(this.event.clientX-this.left)/this.width,e=(this.event.clientY-this.top)/this.height):"window"===this.settings["position-base"]&&(t=this.event.clientX/window.innerWidth,e=this.event.clientY/window.innerHeight),t=Math.min(Math.max(t,0),1),e=Math.min(Math.max(e,0),1);var n=(this.settings.max/2-t*this.settings.max).toFixed(2),o=(e*this.settings.max-this.settings.max/2).toFixed(2),s=Math.atan2(t-.5,.5-e)*(180/Math.PI);return{tiltX:this.reverse*n,tiltY:this.reverse*o,angle:s}}},{key:"updateElementPosition",value:function(){var t=this.element.getBoundingClientRect();this.width=this.element.offsetWidth,this.height=this.element.offsetHeight,this.left=t.left,this.top=t.top}},{key:"update",value:function(){var t=this.getValues();this.element.style.transform="perspective(".concat(this.settings.perspective,"px)\n rotateX(").concat(this.settings.disabled&&"X"===this.settings.disabled.toUpperCase()?0:t.tiltY,"deg)\n rotateY(").concat(this.settings.disabled&&"Y"===this.settings.disabled.toUpperCase()?0:t.tiltX,"deg)\n scale3d(").concat(this.settings.scale,", ").concat(this.settings.scale,", ").concat(this.settings.scale,")"),this.settings.shine&&Object.assign(this.shineElement.style,{transform:"rotate(".concat(t.angle,"deg) translate3d(-50%, -50%, 0)"),opacity:"".concat(this.settings["shine-opacity"])}),this.element.dispatchEvent(new CustomEvent("tiltChange",{detail:t}))}},{key:"shine",value:function(){var t=document.createElement("div"),e=document.createElement("div");t.classList.add("shine"),e.classList.add("shine-inner"),t.appendChild(e),this.element.appendChild(t),this.shineWrapper=this.element.querySelector(".shine"),this.shineElement=this.element.querySelector(".shine-inner"),Object.assign(this.shineWrapper.style,{position:"absolute",top:"0",left:"0",height:"100%",width:"100%",overflow:"hidden"}),Object.assign(this.shineElement.style,{position:"absolute",top:"50%",left:"50%","pointer-events":"none","background-image":"linear-gradient(0deg, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 100%)",width:"".concat(2*this.element.offsetWidth,"px"),height:"".concat(2*this.element.offsetWidth,"px"),transform:"rotate(180deg) translate3d(-50%, -50%, 0)","transform-origin":"0% 0%",opacity:"0"})}},{key:"transitions",value:function(){var t=this;clearTimeout(this.timeout),this.element.style.transition="all ".concat(this.settings.speed,"ms ").concat(this.settings.easing),this.settings.shine&&(this.shineElement.style.transition="opacity ".concat(this.settings.speed,"ms ").concat(this.settings.easing)),this.timeout=setTimeout(function(){t.element.style.transition="",t.settings.shine&&(t.shineElement.style.transition="")},this.settings.speed)}},{key:"settings",value:function(t){var e={"position-base":"element",reset:!0,exclude:null,shine:!1,"shine-opacity":0,"shine-save":!1,max:35,perspective:1e3,scale:1,disabled:null,reverse:!1,speed:300,easing:"cubic-bezier(.03, .98, .52, .99)",onMouseEnter:null,onMouseMove:null,onMouseLeave:null,onDeviceMove:null},i={};for(var n in e)if(n in t)i[n]=t[n];else if(this.element.getAttribute("data-".concat(n))){var o=this.element.getAttribute("data-".concat(n));try{i[n]=JSON.parse(o)}catch(t){i[n]=o}}else i[n]=e[n];return i}}
1])&&n(e.prototype,i),t}();if(e.default=o,"undefined"!=typeof document){var s=document.querySelectorAll("[data-tilt]");s.length&&new o(s)}window.jQuery&&(window.jQuery.fn.universalTilt=function(t){new o(this,t)})}])}),function(t,e){"function"==typeof define&&define.amd?define("jquery-bridget/jquery-bridget",["jquery"],function(i){return e(t,i)}):"object"==typeof module&&module.exports?module.exports=e(t,require("jquery")):t.jQueryBridget=e(t,t.jQuery)}(window,function(t,e){"use strict";var i=Array.prototype.slice,n=t.console,o=void 0===n?function(){}:function(t){n.error(t)};function s(n,s,a){(a=a||e||t.jQuery)&&(s.prototype.option||(s.prototype.option=function(t){a.isPlainObject(t)&&(this.options=a.extend(!0,this.options,t))}),a.fn[n]=function(t){return"string"==typeof t?function(t,e,i){var s,r="$()."+n+'("'+e+'")';return t.each(function(t,l){var c=a.data(l,n);if(c){var d=c[e];if(d&&"_"!=e.charAt(0)){var h=d.apply(c,i);s=void 0===s?h:s}else o(r+" is not a valid method")}else o(n+" not initialized. Cannot call methods, i.e. "+r)}),void 0!==s?s:t}(this,t,i.call(arguments,1)):(function(t,e){t.each(function(t,i){var o=a.data(i,n);o?(o.option(e),o._init()):(o=new s(i,e),a.data(i,n,o))})}(this,t),this)},r(a))}function r(t){!t||t&&t.bridget||(t.bridget=s)}return r(e||t.jQuery),s}),function(t,e){"function"==typeof define&&define.amd?define("ev-emitter/ev-emitter",e):"object"==typeof module&&module.exports?module.exports=e():t.EvEmitter=e()}("undefined"!=typeof window?window:this,function(){function t(){}var e=t.prototype;return e.on=function(t,e){if(t&&e){var i=this._events=this._events||{},n=i[t]=i[t]||[];return-1==n.indexOf(e)&&n.push(e),this}},e.once=function(t,e){if(t&&e){this.on(t,e);var i=this._onceEvents=this._onceEvents||{};return(i[t]=i[t]||{})[e]=!0,this}},e.off=function(t,e){var i=this._events&&this._events[t];if(i&&i.length){var n=i.indexOf(e);return-1!=n&&i.splice(n,1),this}},e.emitEvent=function(t,e){var i=this._events&&this._events[t];if(i&&i.length){i=i.slice(0),e=e||[];for(var n=this._onceEvents&&this._onceEvents[t],o=0;o<i.length;o++){var s=i[o];n&&n[s]&&(this.off(t,s),delete n[s]),s.apply(this,e)}return this}},e.allOff=function(){delete this._events,delete this._onceEvents},t}),function(t,e){"function"==typeof define&&define.amd?define("get-size/get-size",e):"object"==typeof module&&module.exports?module.exports=e():t.getSize=e()}(window,function(){"use strict";function t(t){var e=parseFloat(t);return-1==t.indexOf("%")&&!isNaN(e)&&e}var e="undefined"==typeof console?function(){}:function(t){console.error(t)},i=["paddingLeft","paddingRight","paddingTop","paddingBottom","marginLeft","marginRight","marginTop","marginBottom","borderLeftWidth","borderRightWidth","borderTopWidth","borderBottomWidth"],n=i.length;function o(t){var i=getComputedStyle(t);return i||e("Style returned "+i+". Are you running this code in a hidden iframe on Firefox? See https://bit.ly/getsizebug1"),i}var s,r=!1;return function e(a){if(function(){if(!r){r=!0;var i=document.createElement("div");i.style.width="200px",i.style.padding="1px 2px 3px 4px",i.style.borderStyle="solid",i.style.borderWidth="1px 2px 3px 4px",i.style.boxSizing="border-box";var n=document.body||document.documentElement;n.appendChild(i);var a=o(i);s=200==Math.round(t(a.width)),e.isBoxSizeOuter=s,n.removeChild(i)}}(),"string"==typeof a&&(a=document.querySelector(a)),a&&"object"==typeof a&&a.nodeType){var l=o(a);if("none"==l.display)return function(){for(var t={width:0,height:0,innerWidth:0,innerHeight:0,outerWidth:0,outerHeight:0},e=0;e<n;e++)t[i[e]]=0;return t}();var c={};c.width=a.offsetWidth,c.height=a.offsetHeight;for(var d=c.isBorderBox="border-box"==l.boxSizing,h=0;h<n;h++){var u=i[h],p=l[u],f=parseFloat(p);c[u]=isNaN(f)?0:f}var m=c.paddingLeft+c.paddingRight,g=c.paddingTop+c.paddingBottom,v=c.marginLeft+c.marginRight,y=c.marginTop+c.marginBottom,b=c.borderLeftWidth+c.borderRightWidth,w=c.borderTopWidth+c.borderBottomWidth,x=d&&s,_=t(l.width);!1!==_&&(c.width=_+(x?0:m+b));var C=t(l.height);return!1!==C&&(c.height=C+(x?0:g+w)),c.innerWidth=c.width-(m+b),c.innerHeight=c.height-(g+w),c.outerWidth=c.width+v,c.outerHeight=c.height+y,c}}}),function(t,e){"use strict";"function"==typeof define&&define.amd?define("desandro-matches-selector/matches-selector",e):"object"==typeof module&&module.exports?module.exports=e():t.matchesSelector=e()}(window,function(){"use strict";var t=function(){var t=window.Element.prototype;if(t.matches)return"matches";if(t.matchesSelector)return"matchesSelector";for(var e=["webkit","moz","ms","o"],i=0;i<e.length;i++){var n=e[i]+"MatchesSelector";if(t[n])return n}}();return function(e,i){return e[t](i)}}),function(t,e){"function"==typeof define&&define.amd?define("fizzy-ui-utils/utils",["de
1sandro-matches-selector/matches-selector"],function(i){return e(t,i)}):"object"==typeof module&&module.exports?module.exports=e(t,require("desandro-matches-selector")):t.fizzyUIUtils=e(t,t.matchesSelector)}(window,function(t,e){var i={extend:function(t,e){for(var i in e)t[i]=e[i];return t},modulo:function(t,e){return(t%e+e)%e}},n=Array.prototype.slice;i.makeArray=function(t){return Array.isArray(t)?t:null==t?[]:"object"==typeof t&&"number"==typeof t.length?n.call(t):[t]},i.removeFrom=function(t,e){var i=t.indexOf(e);-1!=i&&t.splice(i,1)},i.getParent=function(t,i){for(;t.parentNode&&t!=document.body;)if(t=t.parentNode,e(t,i))return t},i.getQueryElement=function(t){return"string"==typeof t?document.querySelector(t):t},i.handleEvent=function(t){var e="on"+t.type;this[e]&&this[e](t)},i.filterFindElements=function(t,n){var o=[];return(t=i.makeArray(t)).forEach(function(t){if(t instanceof HTMLElement)if(n){e(t,n)&&o.push(t);for(var i=t.querySelectorAll(n),s=0;s<i.length;s++)o.push(i[s])}else o.push(t)}),o},i.debounceMethod=function(t,e,i){i=i||100;var n=t.prototype[e],o=e+"Timeout";t.prototype[e]=function(){var t=this[o];clearTimeout(t);var e=arguments,s=this;this[o]=setTimeout(function(){n.apply(s,e),delete s[o]},i)}},i.docReady=function(t){var e=document.readyState;"complete"==e||"interactive"==e?setTimeout(t):document.addEventListener("DOMContentLoaded",t)},i.toDashed=function(t){return t.replace(/(.)([A-Z])/g,function(t,e,i){return e+"-"+i}).toLowerCase()};var o=t.console;return i.htmlInit=function(e,n){i.docReady(function(){var s=i.toDashed(n),r="data-"+s,a=document.querySelectorAll("["+r+"]"),l=document.querySelectorAll(".js-"+s),c=i.makeArray(a).concat(i.makeArray(l)),d=r+"-options",h=t.jQuery;c.forEach(function(t){var i,s=t.getAttribute(r)||t.getAttribute(d);try{i=s&&JSON.parse(s)}catch(i){return void(o&&o.error("Error parsing "+r+" on "+t.className+": "+i))}var a=new e(t,i);h&&h.data(t,n,a)})})},i}),function(t,e){"function"==typeof define&&define.amd?define("flickity/js/cell",["get-size/get-size"],function(i){return e(t,i)}):"object"==typeof module&&module.exports?module.exports=e(t,require("get-size")):(t.Flickity=t.Flickity||{},t.Flickity.Cell=e(t,t.getSize))}(window,function(t,e){function i(t,e){this.element=t,this.parent=e,this.create()}var n=i.prototype;return n.create=function(){this.element.style.position="absolute",this.element.setAttribute("aria-hidden","true"),this.x=0,this.shift=0},n.destroy=function(){this.unselect(),this.element.style.position="";var t=this.parent.originSide;this.element.style[t]=""},n.getSize=function(){this.size=e(this.element)},n.setPosition=function(t){this.x=t,this.updateTarget(),this.renderPosition(t)},n.updateTarget=n.setDefaultTarget=function(){var t="left"==this.parent.originSide?"marginLeft":"marginRight";this.target=this.x+this.size[t]+this.size.width*this.parent.cellAlign},n.renderPosition=function(t){var e=this.parent.originSide;this.element.style[e]=this.parent.getPositionValue(t)},n.select=function(){this.element.classList.add("is-selected"),this.element.removeAttribute("aria-hidden")},n.unselect=function(){this.element.classList.remove("is-selected"),this.element.setAttribute("aria-hidden","true")},n.wrapShift=function(t){this.shift=t,this.renderPosition(this.x+this.parent.slideableWidth*t)},n.remove=function(){this.element.parentNode.removeChild(this.element)},i}),function(t,e){"function"==typeof define&&define.amd?define("flickity/js/slide",e):"object"==typeof module&&module.exports?module.exports=e():(t.Flickity=t.Flickity||{},t.Flickity.Slide=e())}(window,function(){"use strict";function t(t){this.parent=t,this.isOriginLeft="left"==t.originSide,this.cells=[],this.outerWidth=0,this.height=0}var e=t.prototype;return e.addCell=function(t){if(this.cells.push(t),this.outerWidth+=t.size.outerWidth,this.height=Math.max(t.size.outerHeight,this.height),1==this.cells.length){this.x=t.x;var e=this.isOriginLeft?"marginLeft":"marginRight";this.firstMargin=t.size[e]}},e.updateTarget=function(){var t=this.isOriginLeft?"marginRight":"marginLeft",e=this.getLastCell(),i=e?e.size[t]:0,n=this.outerWidth-(this.firstMargin+i);this.target=this.x+this.firstMargin+n*this.parent.cellAlign},e.getLastCell=function(){return this.cells[this.cells.length-1]}
1,e.select=function(){this.cells.forEach(function(t){t.select()})},e.unselect=function(){this.cells.forEach(function(t){t.unselect()})},e.getCellElements=function(){return this.cells.map(function(t){return t.element})},t}),function(t,e){"function"==typeof define&&define.amd?define("flickity/js/animate",["fizzy-ui-utils/utils"],function(i){return e(t,i)}):"object"==typeof module&&module.exports?module.exports=e(t,require("fizzy-ui-utils")):(t.Flickity=t.Flickity||{},t.Flickity.animatePrototype=e(t,t.fizzyUIUtils))}(window,function(t,e){return{startAnimation:function(){this.isAnimating||(this.isAnimating=!0,this.restingFrames=0,this.animate())},animate:function(){this.applyDragForce(),this.applySelectedAttraction();var t=this.x;if(this.integratePhysics(),this.positionSlider(),this.settle(t),this.isAnimating){var e=this;requestAnimationFrame(function(){e.animate()})}},positionSlider:function(){var t=this.x;this.options.wrapAround&&1<this.cells.length&&(t=e.modulo(t,this.slideableWidth),t-=this.slideableWidth,this.shiftWrapCells(t)),this.setTranslateX(t,this.isAnimating),this.dispatchScrollEvent()},setTranslateX:function(t,e){t+=this.cursorPosition,t=this.options.rightToLeft?-t:t;var i=this.getPositionValue(t);this.slider.style.transform=e?"translate3d("+i+",0,0)":"translateX("+i+")"},dispatchScrollEvent:function(){var t=this.slides[0];if(t){var e=-this.x-t.target,i=e/this.slidesWidth;this.dispatchEvent("scroll",null,[i,e])}},positionSliderAtSelected:function(){this.cells.length&&(this.x=-this.selectedSlide.target,this.velocity=0,this.positionSlider())},getPositionValue:function(t){return this.options.percentPosition?.01*Math.round(t/this.size.innerWidth*1e4)+"%":Math.round(t)+"px"},settle:function(t){this.isPointerDown||Math.round(100*this.x)!=Math.round(100*t)||this.restingFrames++,2<this.restingFrames&&(this.isAnimating=!1,delete this.isFreeScrolling,this.positionSlider(),this.dispatchEvent("settle",null,[this.selectedIndex]))},shiftWrapCells:function(t){var e=this.cursorPosition+t;this._shiftCells(this.beforeShiftCells,e,-1);var i=this.size.innerWidth-(t+this.slideableWidth+this.cursorPosition);this._shiftCells(this.afterShiftCells,i,1)},_shiftCells:function(t,e,i){for(var n=0;n<t.length;n++){var o=t[n],s=0<e?i:0;o.wrapShift(s),e-=o.size.outerWidth}},_unshiftCells:function(t){if(t&&t.length)for(var e=0;e<t.length;e++)t[e].wrapShift(0)},integratePhysics:function(){this.x+=this.velocity,this.velocity*=this.getFrictionFactor()},applyForce:function(t){this.velocity+=t},getFrictionFactor:function(){return 1-this.options[this.isFreeScrolling?"freeScrollFriction":"friction"]},getRestingPosition:function(){return this.x+this.velocity/(1-this.getFrictionFactor())},applyDragForce:function(){if(this.isDraggable&&this.isPointerDown){var t=this.dragX-this.x-this.velocity;this.applyForce(t)}},applySelectedAttraction:function(){if((!this.isDraggable||!this.isPointerDown)&&!this.isFreeScrolling&&this.slides.length){var t=(-1*this.selectedSlide.target-this.x)*this.options.selectedAttraction;this.applyForce(t)}}}}),function(t,e){if("function"==typeof define&&define.amd)define("flickity/js/flickity",["ev-emitter/ev-emitter","get-size/get-size","fizzy-ui-utils/utils","./cell","./slide","./animate"],function(i,n,o,s,r,a){return e(t,i,n,o,s,r,a)});else if("object"==typeof module&&module.exports)module.exports=e(t,require("ev-emitter"),require("get-size"),require("fizzy-ui-utils"),require("./cell"),require("./sli
vendor: 13,017 bytes, line 1
1de"),require("./animate"));else{var i=t.Flickity;t.Flickity=e(t,t.EvEmitter,t.getSize,t.fizzyUIUtils,i.Cell,i.Slide,i.animatePrototype)}}(window,function(t,e,i,n,o,s,r){var a=t.jQuery,l=t.getComputedStyle,c=t.console;function d(t,e){for(t=n.makeArray(t);t.length;)e.appendChild(t.shift())}var h=0,u={};function p(t,e){var i=n.getQueryElement(t);if(i){if(this.element=i,this.element.flickityGUID){var o=u[this.element.flickityGUID];return o.option(e),o}a&&(this.$element=a(this.element)),this.options=n.extend({},this.constructor.defaults),this.option(e),this._create()}else c&&c.error("Bad element for Flickity: "+(i||t))}p.defaults={accessibility:!0,cellAlign:"center",freeScrollFriction:.075,friction:.28,namespaceJQueryEvents:!0,percentPosition:!0,resize:!0,selectedAttraction:.025,setGallerySize:!0},p.createMethods=[];var f=p.prototype;n.extend(f,e.prototype),f._create=function(){var e=this.guid=++h;for(var i in this.element.flickityGUID=e,(u[e]=this).selectedIndex=0,this.restingFrames=0,this.x=0,this.velocity=0,this.originSide=this.options.rightToLeft?"right":"left",this.viewport=document.createElement("div"),this.viewport.className="flickity-viewport",this._createSlider(),(this.options.resize||this.options.watchCSS)&&t.addEventListener("resize",this),this.options.on){var n=this.options.on[i];this.on(i,n)}p.createMethods.forEach(function(t){this[t]()},this),this.options.watchCSS?this.watchCSS():this.activate()},f.option=function(t){n.extend(this.options,t)},f.activate=function(){this.isActive||(this.isActive=!0,this.element.classList.add("flickity-enabled"),this.options.rightToLeft&&this.element.classList.add("flickity-rtl"),this.getSize(),d(this._filterFindCellElements(this.element.children),this.slider),this.viewport.appendChild(this.slider),this.element.appendChild(this.viewport),this.reloadCells(),this.options.accessibility&&(this.element.tabIndex=0,this.element.addEventListener("keydown",this)),this.emitEvent("activate"),this.selectInitialIndex(),this.isInitActivated=!0,this.dispatchEvent("ready"))},f._createSlider=function(){var t=document.createElement("div");t.className="flickity-slider",t.style[this.originSide]=0,this.slider=t},f._filterFindCellElements=function(t){return n.filterFindElements(t,this.options.cellSelector)},f.reloadCells=function(){this.cells=this._makeCells(this.slider.children),this.positionCells(),this._getWrapShiftCells(),this.setGallerySize()},f._makeCells=function(t){return this._filterFindCellElements(t).map(function(t){return new o(t,this)},this)},f.getLastCell=function(){return this.cells[this.cells.length-1]},f.getLastSlide=function(){return this.slides[this.slides.length-1]},f.positionCells=function(){this._sizeCells(this.cells),this._positionCells(0)},f._positionCells=function(t){t=t||0,this.maxCellHeight=t&&this.maxCellHeight||0;var e=0;if(0<t){var i=this.cells[t-1];e=i.x+i.size.outerWidth}for(var n=this.cells.length,o=t;o<n;o++){var s=this.cells[o];s.setPosition(e),e+=s.size.outerWidth,this.maxCellHeight=Math.max(s.size.outerHeight,this.maxCellHeight)}this.slideableWidth=e,this.updateSlides(),this._containSlides(),this.slidesWidth=n?this.getLastSlide().target-this.slides[0].target:0},f._sizeCells=function(t){t.forEach(function(t){t.getSize()})},f.updateSlides=function(){if(this.slides=[],this.cells.length){var t=new s(this);this.slides.push(t);var e="left"==this.originSide?"marginRight":"marginLeft",i=this._getCanCellFit();this.cells.forEach(function(n,o){if(t.cells.length){var r=t.outerWidth-t.firstMargin+(n.size.outerWidth-n.size[e]);i.call(this,o,r)||(t.updateTarget(),t=new s(this),this.slides.push(t)),t.addCell(n)}else t.addCell(n)},this),t.updateTarget(),this.updateSelectedSlide()}},f._getCanCellFit=function(){var t=this.options.groupCells;if(!t)return function(){return!1};if("number"==typeof t){var e=parseInt(t,10);return function(t){return t%e!=0}}var i="string"==typeof t&&t.match(/^(\d+)%$/),n=i?parseInt(i[1],10)/100:1;return function(t,e){return e<=(this.size.innerWidth+1)*n}},f._init=f.reposition=function(){this.positionCells(),this.positionSliderAtSelected()},f.getSize=function(){this.size=i(this.element),this.setCellAlign(),this.cursorPosition=this.size.innerWidth*this.cellAlign};var m={center:{left:.5,right:.5},left:{left:0,right:1},right:{right:0,left:1}};return f.setCellAlign=function(){var t=m[this.options.cellAlign];this.cellAlign=t?t[this.originSide]:this.options.cellAlign},f.setGallerySize=function(){if(this.options.setGallerySize){var t=this.options.adaptiveHeight&&this.selectedSlide?this.selectedSlide.height:this.maxCellHeight;this.viewport.style.height=t+"px"}},f._getWrapShiftCells=function(){if(this.options.wrapAround){this._unshiftCells(this.beforeShiftCells),this._unshiftCells(this.afterShiftCells);var t=this.cursorPosition,e=this.cells.length-1;this.beforeShiftCells=this._getGapCells(t,e,-1),t=this.size.innerWidth-this.cursorPosition,this.afterShiftCells=this._getGapCells(t,0,1)}},f._getGapCells=function(t,e,i){for(var n=[];0<t;){var o=this.cells[e];if(!o)break;n.push(o),e+=i,t-=o.size.outerWidth}return n},f._containSlides=function(){if(this.options.contain&&!this.options.wrapAround&&this.cells.length){var t=this.options.rightToLeft,e=t?"marginRight":"marginLeft",i=t?"marginLeft":"marginRight",n=this.slideableWidth-this.getLastCell().size[i],o=n<this.size.innerWidth,s=this.cursorPosition+this.cells[0].size[e],r=n-this.size.innerWidth*(1-this.cellAlign);this.slides.forEach(function(t){o?t.target=n*this.cellAlign:(t.target=Math.max(t.target,s),t.target=Math.min(t.target,r))},this)}},f.dispatchEvent=function(t,e,i){var n=e?[e].concat(i):i;if(this.emitEvent(t,n),a&&this.$element){var o=t+=this.options.namespaceJQueryEvents?".flickity":"";if(e){var s=a.Event(e);s.type=t,o=s}this.$element.trigger(o,i)}},f.select=function(t,e,i){if(this.isActive&&(t=parseInt(t,10),this._wrapSelect(t),(this.options.wrapAround||e)&&(t=n.modulo(t,this.slides.length)),this.slides[t])){var o=this.selectedIndex;this.selectedIndex=t,this.updateSelectedSlide(),i?this.positionSliderAtSelected():this.startAnimation(),this.options.adaptiveHeight&&this.setGallerySize(),this.dispatchEvent("select",null,[t]),t!=o&&this.dispatchEvent("change",null,[t]),this.dispatchEvent("cellSelect")}},f._wrapSelect=function(t){var e=this.slides.length;if(!(this.options.wrapAround&&1<e))return t;var i=n.modulo(t,e),o=Math.abs(i-this.selectedIndex),s=Math.abs(i+e-this.selectedIndex),r=Math.abs(i-e-this.selectedIndex);!this.isDragSelect&&s<o?t+=e:!this.isDragSelect&&r<o&&(t-=e),t<0?this.x-=this.slideableWidth:e<=t&&(this.x+=this.slideableWidth)},f.previous=function(t,e){this.select(this.selectedIndex-1,t,e)},f.next=function(t,e){this.select(this.selectedIndex+1,t,e)},f.updateSelectedSlide=function(){var t=this.slides[this.selectedIndex];t&&(this.unselectSelectedSlide(),(this.selectedSlide=t).select(),this.selectedCells=t.cells,this.selectedElements=t.getCellElements(),this.selectedCell=t.cells[0],this.selectedElement=this.selectedElements[0])},f.unselectSelectedSlide=function(){this.selectedSlide&&this.selectedSlide.unselect()},f.selectInitialIndex=function(){var t=this.options.initialIndex;if(this.isInitActivated)this.select(this.selectedIndex,!1,!0);else{if(t&&"string"==typeof t&&this.queryCell(t))return void this.selectCell(t,!1,!0);var e=0;t&&this.slides[t]&&(e=t),this.select(e,!1,!0)}},f.selectCell=function(t,e,i){var n=this.queryCell(t);if(n){var o=this.getCellSlideIndex(n);this.select(o,e,i)}},f.getCellSlideIndex=function(t){for(var e=0;e<this.slides.length;e++)if(-1!=this.slides[e].cells.indexOf(t))return e},f.getCell=function(t){for(var e=0;e<this.cells.length;e++){var i=this.cells[e];if(i.element==t)return i}},f.getCells=function(t){var e=[];return(t=n.makeArray(t)).forEach(function(t){var i=this.getCell(t);i&&e.push(i)},this),e},f.getCellElements=function(){return this.cells.map(function(t){return t.element})},f.getParentCell=function(t){return this.getCell(t)||(t=n.getParent(t,".flickity-slider > *"),this.getCell(t))},f.getAdjacentCellElements=function(t,e){if(!t)return this.selectedSlide.getCellElements();e=void 0===e?this.selectedIndex:e;var i=this.slides.length;if(i<=1+2*t)return this.getCellElements();for(var o=[],s=e-t;s<=e+t;s++){var r=this.options.wrapAround?n.modulo(s,i):s,a=this.slides[r];a&&(o=o.concat(a.getCellElements()))}return o},f.queryCell=function(t){if("number"==typeof t)return this.cells[t];if("string"==typeof t){if(t.match(/^[#\.]?[\d\/]/))return;t=this.element.querySelector(t)}return this.getCell(t)},f.uiChange=function(){this.emitEvent("uiChange")},f.childUIPointerDown=function(t){"touchstart"!=t.type&&t.preventDefault(),this.focus()},f.onresize=function(){this.watchCSS(),this.resize()},n.debounceMethod(p,"onresize",150),f.resize=function(){if(this.isActive){this.getSize(),this.options.wrapAround&&(this.x=n.modulo(this.x,this.slideableWidth)),this.positionCells(),this._getWrapShiftCells(),this.setGallerySize(),this.emitEvent("resize");var t=this.selectedElements&&this.selectedElements[0];this.selectCell(t,!1,!0)}},f.watchCSS=function(){this.options.watchCSS&&(-1!=l(this.element,":after").content.indexOf("flickity")?this.activate():this.deactivate())},f.onkeydown=function(t){var e=document.activeElement&&document.activeElement!=this.element;if(this.options.accessibility&&!e){var i=p.keyboardHandlers[t.keyCode];i&&i.call(this)}},p.keyboardHandlers={37:function(){var t=this.options.rightToLeft?"next":"previous";this.uiChange(),this[t]()},39:function(){var t=this.options.rightToLeft?"previous":"next";this.uiChange(),this[t]()}},f.focus=function(){var e=t.pageYOffset;this.element.focus({preventScroll:!0}),t.pageYOffset!=e&&t.scrollTo(t.pageXOffset,e)},f.deactivate=function(){this.isActive&&(this.element.classList.remove("flickity-enabled"),this.element.classList.remove("flickity-rtl"),this.unselectSelectedSlide(),this.cells.forEach(function(t){t.destroy()}),this.element.removeChild(this.viewport),d(this.slider.children,this.element),this.options.accessibility&&(this.element.removeAttribute("tabIndex"),this.element.removeEventListener("keydown",this)),this.isActive=!1,this.emitEvent("deactivate"))},f.destroy=function(){this.deactivate(),t.removeEventListener("resize",this),this.allOff(),this.emitEvent("destroy"),a&&this.$element&&a.removeData(this.element,"flickity"),delete this.element.flickityGUID,delete u[this.guid]},n.extend(f,r),p.data=function(t){var e=(t=n.getQueryElement(t))&&t.flickityGUID;return e&&u[e]},n.htmlInit(p,"flickity"),a&&a.bridget&&a.bridget("flickity",p),p.setJQuery=function(t){a=t},p.Cell=o,p.Slide=s,p}),function(t,e){"function"==typeof define&&define.amd?define("unipointer/unipointer",["ev-emitter/ev-emitter"],function(i){return e(t,i)}):"object"==typeof module&&module.exports?module.exports=e(t,require("ev-emitter")):t.Unipointer=e(t,t.EvEmitter)}(window,function(t,e){function i(){}var n=i.prototype=Object.create(e.prototype);n.bindStartEvent=function(t){this._bindStartEvent(t,!0)},n.unbindStartEvent=function(t){this._bindStartEvent(t,!1)},n._bindStartEvent=function(e,i){var n=(i=void 0===i||i)?"addEventListener":"removeEventListener",o="mousedown";t.PointerEvent?o="pointerdown":"ontouchstart"in t&&(o="touchstart"),e[n](o,this)},n.handleEvent=function(t){var e="on"+t.type;this[e]&&this[e](t)},n.getTouch=function(t){for(var e=0;e<t.length;e++){var i=t[e];if(i.identifier==this.pointerIdentifier)return i}},n.onmousedown=function(t){var e=t.button;e&&0!==e&&1!==e||this._pointerDown(t,t)},n.ontouchstart=function(t){this._pointerDown(t,t.changedTouches[0])},n.onpointerdown=function(t){this._pointerDown(t,t)},n._pointerDown=function(t,e){t.button||this.isPointerDown||(this.isPointerDown=!0,this.pointerIdentifier=void 0!==e.pointerId?e.pointerId:e.identifier,this.pointerDown(t,e))},n.pointerDown=function(t,e){this._bindPostStartEvents(t),this.emitEvent("pointerDown",[t,e])};var o={mousedown:["mousemove","mouseup"],touchstart:["touchmove","touchend","touchcancel"],pointerdown:["pointermove","pointerup","pointercancel"]};return n._bindPostStartEvents=function(e){if(e){var i=o[e.type];i.forEach(function(e){t.addEventListener(e,this)},this),this._boundPointerEvents=i}},n._unbindPostStartEvents=function(){this._boundPointerEvents&&(this._boundPointerEvents.forEach(function(e){t.removeEventListener(e,this)},this),delete this._boundPointerEvents)},n.onmousemove=function(t){this._pointerMove(t,t)},n.onpointermove=function(t){t.pointerId==this.pointerIdentifier&&this._pointerMove(t,t)},n.ontouchmove=function(t){var e=this.getTouch(t.changedTouches);e&&this._pointerMove(t,e)},n._pointerMove=function(t,e){this.pointerMove(t,e)},n.pointerMove=function(t,e){this.emitEvent("pointerMove",[t,e])},n.onmouseup=function(t){this._pointerUp(t,t)},n.onpointerup=function(t){t.pointerId==this.pointerIdentifier&&this._pointerUp(t,t)},n.ontouchend=function(t){var e=this.getTouch(t.changedTouches);e&&this._pointerUp(t,e)},n._pointerUp=function(t,e){this._pointerDone(),this.pointerUp(t,e)},n.pointerUp=function(t,e){this.emitEvent("pointerUp",[t,e])}
1,n._pointerDone=function(){this._pointerReset(),this._unbindPostStartEvents(),this.pointerDone()},n._pointerReset=function(){this.isPointerDown=!1,delete this.pointerIdentifier},n.pointerDone=function(){},n.onpointercancel=function(t){t.pointerId==this.pointerIdentifier&&this._pointerCancel(t,t)},n.ontouchcancel=function(t){var e=this.getTouch(t.changedTouches);e&&this._pointerCancel(t,e)},n._pointerCancel=function(t,e){this._pointerDone(),this.pointerCancel(t,e)},n.pointerCancel=function(t,e){this.emitEvent("pointerCancel",[t,e])},i.getPointerPoint=function(t){return{x:t.pageX,y:t.pageY}},i}),function(t,e){"function"==typeof define&&define.amd?define("unidragger/unidragger",["unipointer/unipointer"],function(i){return e(t,i)}):"object"==typeof module&&module.exports?module.exports=e(t,require("unipointer")):t.Unidragger=e(t,t.Unipointer)}(window,function(t,e){function i(){}var n=i.prototype=Object.create(e.prototype);n.bindHandles=function(){this._bindHandles(!0)},n.unbindHandles=function(){this._bindHandles(!1)},n._bindHandles=function(e){for(var i=(e=void 0===e||e)?"addEventListener":"removeEventListener",n=e?this._touchActionValue:"",o=0;o<this.handles.length;o++){var s=this.handles[o];this._bindStartEvent(s,e),s[i]("click",this),t.PointerEvent&&(s.style.touchAction=n)}},n._touchActionValue="none",n.pointerDown=function(t,e){this.okayPointerDown(t)&&(this.pointerDownPointer=e,t.preventDefault(),this.pointerDownBlur(),this._bindPostStartEvents(t),this.emitEvent("pointerDown",[t,e]))};var o={TEXTAREA:!0,INPUT:!0,SELECT:!0,OPTION:!0},s={radio:!0,checkbox:!0,button:!0,submit:!0,image:!0,file:!0};return n.okayPointerDown=function(t){var e=o[t.target.nodeName],i=s[t.target.type],n=!e||i;return n||this._pointerReset(),n},n.pointerDownBlur=function(){var t=document.activeElement;t&&t.blur&&t!=document.body&&t.blur()},n.pointerMove=function(t,e){var i=this._dragPointerMove(t,e);this.emitEvent("pointerMove",[t,e,i]),this._dragMove(t,e,i)},n._dragPointerMove=function(t,e){var i={x:e.pageX-this.pointerDownPointer.pageX,y:e.pageY-this.pointerDownPointer.pageY};return!this.isDragging&&this.hasDragStarted(i)&&this._dragStart(t,e),i},n.hasDragStarted=function(t){return 3<Math.abs(t.x)||3<Math.abs(t.y)},n.pointerUp=function(t,e){this.emitEvent("pointerUp",[t,e]),this._dragPointerUp(t,e)},n._dragPointerUp=function(t,e){this.isDragging?this._dragEnd(t,e):this._staticClick(t,e)},n._dragStart=function(t,e){this.isDragging=!0,this.isPreventing
vendor: 5,054 bytes, line 1
1Clicks=!0,this.dragStart(t,e)},n.dragStart=function(t,e){this.emitEvent("dragStart",[t,e])},n._dragMove=function(t,e,i){this.isDragging&&this.dragMove(t,e,i)},n.dragMove=function(t,e,i){t.preventDefault(),this.emitEvent("dragMove",[t,e,i])},n._dragEnd=function(t,e){this.isDragging=!1,setTimeout(function(){delete this.isPreventingClicks}.bind(this)),this.dragEnd(t,e)},n.dragEnd=function(t,e){this.emitEvent("dragEnd",[t,e])},n.onclick=function(t){this.isPreventingClicks&&t.preventDefault()},n._staticClick=function(t,e){this.isIgnoringMouseUp&&"mouseup"==t.type||(this.staticClick(t,e),"mouseup"!=t.type&&(this.isIgnoringMouseUp=!0,setTimeout(function(){delete this.isIgnoringMouseUp}.bind(this),400)))},n.staticClick=function(t,e){this.emitEvent("staticClick",[t,e])},i.getPointerPoint=e.getPointerPoint,i}),function(t,e){"function"==typeof define&&define.amd?define("flickity/js/drag",["./flickity","unidragger/unidragger","fizzy-ui-utils/utils"],function(i,n,o){return e(t,i,n,o)}):"object"==typeof module&&module.exports?module.exports=e(t,require("./flickity"),require("unidragger"),require("fizzy-ui-utils")):t.Flickity=e(t,t.Flickity,t.Unidragger,t.fizzyUIUtils)}(window,function(t,e,i,n){n.extend(e.defaults,{draggable:">1",dragThreshold:3}),e.createMethods.push("_createDrag");var o=e.prototype;n.extend(o,i.prototype),o._touchActionValue="pan-y";var s="createTouch"in document,r=!1;o._createDrag=function(){this.on("activate",this.onActivateDrag),this.on("uiChange",this._uiChangeDrag),this.on("deactivate",this.onDeactivateDrag),this.on("cellChange",this.updateDraggable),s&&!r&&(t.addEventListener("touchmove",function(){}),r=!0)},o.onActivateDrag=function(){this.handles=[this.viewport],this.bindHandles(),this.updateDraggable()},o.onDeactivateDrag=function(){this.unbindHandles(),this.element.classList.remove("is-draggable")},o.updateDraggable=function(){">1"==this.options.draggable?this.isDraggable=1<this.slides.length:this.isDraggable=this.options.draggable,this.isDraggable?this.element.classList.add("is-draggable"):this.element.classList.remove("is-draggable")},o.bindDrag=function(){this.options.draggable=!0,this.updateDraggable()},o.unbindDrag=function(){this.options.draggable=!1,this.updateDraggable()},o._uiChangeDrag=function(){delete this.isFreeScrolling},o.pointerDown=function(e,i){this.isDraggable?this.okayPointerDown(e)&&(this._pointerDownPreventDefault(e),this.pointerDownFocus(e),document.activeElement!=this.element&&this.pointerDownBlur(),this.dragX=this.x,this.viewport.classList.add("is-pointer-down"),this.pointerDownScroll=l(),t.addEventListener("scroll",this),this._pointerDownDefault(e,i)):this._pointerDownDefault(e,i)},o._pointerDownDefault=function(t,e){this.pointerDownPointer={pageX:e.pageX,pageY:e.pageY},this._bindPostStartEvents(t),this.dispatchEvent("pointerDown",t,[e])};var a={INPUT:!0,TEXTAREA:!0,SELECT:!0};function l(){return{x:t.pageXOffset,y:t.pageYOffset}}return o.pointerDownFocus=function(t){a[t.target.nodeName]||this.focus()},o._pointerDownPreventDefault=function(t){var e="touchstart"==t.type,i="touch"==t.pointerType,n=a[t.target.nodeName];e||i||n||t.preventDefault()},o.hasDragStarted=function(t){return Math.abs(t.x)>this.options.dragThreshold},o.pointerUp=function(t,e){delete this.isTouchScrolling,this.viewport.classList.remove("is-pointer-down"),this.dispatchEvent("pointerUp",t,[e]),this._dragPointerUp(t,e)},o.pointerDone=function(){t.removeEventListener("scroll",this),delete this.pointerDownScroll},o.dragStart=function(e,i){this.isDraggable&&(this.dragStartPosition=this.x,this.startAnimation(),t.removeEventListener("scroll",this),this.dispatchEvent("dragStart",e,[i]))},o.pointerMove=function(t,e){var i=this._dragPointerMove(t,e);this.dispatchEvent("pointerMove",t,[e,i]),this._dragMove(t,e,i)},o.dragMove=function(t,e,i){if(this.isDraggable){t.preventDefault(),this.previousDragX=this.dragX;var n=this.options.rightToLeft?-1:1;this.options.wrapAround&&(i.x=i.x%this.slideableWidth);var o=this.dragStartPosition+i.x*n;if(!this.options.wrapAround&&this.slides.length){var s=Math.max(-this.slides[0].target,this.dragStartPosition);o=s<o?.5*(o+s):o;var r=Math.min(-this.getLastSlide().target,this.dragStartPosition);o=o<r?.5*(o+r):o}this.dragX=o,this.dragMoveTime=new Date,this.dispatchEvent("dragMove",t,[e,i])}},o.dragEnd=function(t,e){if(this.isDraggable){this.options.freeScroll&&(this.isFreeScrolling=!0);var i=this.dragEndRestingSelect();if(this.options.freeScroll&&!this.options.wrapAround){var n=this.getRestingPosition();this.isFreeScrolling=-n>this.slides[0].target&&-n<this.getLastSlide().target}else this.options.freeScroll||i!=this.selectedIndex||(i+=this.dragEndBoostSelect());delete this.previousDragX,this.isDragSelect=this.options.wrapAround,this.select(i),delete this.isDragSelect,this.dispatchEvent("dragEnd",t,[e])}},o.dragEndRestingSelect=function(){var t=this.getRestingPosition(),e=Math.abs(this.getSlideDistance(-t,this.selectedIndex)),i=this._getClosestResting(t,e,1),n=this._getClosestResting(t,e,-1);return i.distance<n.distance?i.index:n.index}
1,o._getClosestResting=function(t,e,i){for(var n=this.selectedIndex,o=1/0,s=this.options.contain&&!this.options.wrapAround?function(t,e){return t<=e}:function(t,e){return t<e};s(e,o)&&(n+=i,o=e,null!==(e=this.getSlideDistance(-t,n)));)e=Math.abs(e);return{distance:o,index:n-i}},o.getSlideDistance=function(t,e){var i=this.slides.length,o=this.options.wrapAround&&1<i,s=o?n.modulo(e,i):e,r=this.slides[s];if(!r)return null;var a=o?this.slideableWidth*Math.floor(e/i):0;return t-(r.target+a)},o.dragEndBoostSelect=function(){if(void 0===this.previousDragX||!this.dragMoveTime||100<new Date-this.dragMoveTime)return 0;var t=this.getSlideDistance(-this.dragX,this.selectedIndex),e=this.previousDragX-this.dragX;return 0<t&&0<e?1:t<0&&e<0?-1:0},o.staticClick=function(t,e){var i=this.getParentCell(t.target),n=i&&i.element,o=i&&this.cells.indexOf(i);this.dispatchEvent("staticClick",t,[e,n,o])},o.onscroll=function(){var t=l(),e=this.pointerDownScroll.x-t.x,i=this.pointerDownScroll.y-t.y;(3<Math.abs(e)||3<Math.abs(i))&&this._pointerDone()},e}),function(t,e){"function"==typeof define&&define.amd?define("flickity/js/prev-next-button",["./flickity","unipointer/unipointer","fizzy-ui-utils/utils"],function(i,n,o){return e(t,i,n,o)}):"object"==typeof module&&module.exports?module.exports=e(t,require("./flickity"),require("unipointer"),require("fizzy-ui-utils")):e(t,t.Flickity,t.Unipointer,t.fizzyUIUtils)}(window,function(t,e,i,n){"use strict";var o="http://www.w3.org/2000/svg";function s(t,e){this.direction=t,this.parent=e,this._create()}(s.prototype=Object.create(i.prototype))._create=function(){this.isEnabled=!0,this.isPrevious=-1==this.direction;var t=this.parent.options.rightToLeft?1:-1;this.isLeft=this.direction==t;var e=this.element=document.createElement("button");e.className="flickity-button flickity-prev-next-button",e.className+=this.isPrevious?" previous":" next",e.setAttribute("type","button"),this.disable(),e.setAttribute("aria-label",this.isPrevious?"Previous":"Next");var i=this.createSVG();e.appendChild(i),this.parent.on("select",this.update.bind(this)),this.on("pointerDown",this.parent.childUIPointerDown.bind(this.parent))},s.prototype.activate=function(){this.bindStartEvent(this.element),this.element.addEventListener("click",this),this.parent.element.appendChild(this.element)},s.prototype.deactivate=function(){this.parent.element.removeChild(this.element),this.unbindStartEvent(this.element),this.element.removeEventListener("click",this)},s.prototype.createSVG=function(){var t=document.createElementNS(o,"svg");t.setAttribute("class","flickity-button-icon"),t.setAttribute("viewBox","0 0 100 100");var e=document.createElementNS(o,"path"),i=function(t){return"string"!=typeof t?"M "+t.x0+",50 L "+t.x1+","+(t.y1+50)+" L "+t.x2+","+(t.y2+50)+" L "+t.x3+",50 L "+t.x2+","+(50-t.y2)+" L "+t.x1+","+(50-t.y1)+" Z":t}(this.parent.options.arrowShape);return e.setAttribute("d",i),e.setAttribute("class","arrow"),this.isLeft||e.setAttribute("transform","translate(100, 100) rotate(180) "),t.appendChild(e),t},s.prototype.handleEvent=n.handleEvent,s.prototype.onclick=function(){if(this.isEnabled){this.parent.uiChange();var t=this.isPrevious?"previous":"next";this.parent[t]()}},s.prototype.enable=function(){this.isEnabled||(this.element.disabled=!1,this.isEnabled=!0)},s.prototype.disable=function(){this.isEnabled&&(this.element.disabled=!0,this.isEnabled=!1)},s.prototype.update=function(){var t=this.parent.slides;if(this.parent.options.wrapAround&&1<t.length)this.enable();else{var e=t.length?t.length-1:0,i=this.isPrevious?0:e;this[this.parent.selectedIndex==i?"disable":"enable"]()}},s.prototype.destroy=function(){this.deactivate(),this.allOff()},n.extend(e.defaults,{prevNextButtons:!0,arrowShape:{x0:10,x1:60,y1:50,x2:70,y2:40,x3:30}}),e.createMethods.push("_createPrevNextButtons");var r=e.prototype;return r._createPrevNextButtons=function(){this.options.prevNextButtons&&(this.prevButton=new s(-1,this),this.nextButton=new s(1,this),this.on("activate",this.activatePrevNextButtons))},r.activatePrevNextButtons=function(){this.prevButton.activate(),this.nextButton.activate(),this.on("deactivate",this.deactivatePrevNextButtons)},r.deactivatePrevNextButtons=function(){this.prevButton.deactivate(),this.nextButton.deactivate(),this.off("deactivate",this.deactivatePrevNextButtons)},e.PrevNextButton=s,e}),function(t,e){"function"==typeof define&&define.amd?define("flickity/js/page-dots",["./flickity","unipointer/unipointer","fizzy-ui-utils/utils"],function(i,n,o){return e(t,i,n,o)}):"object"==typeof module&&module.exports?module.exports=e(t,require("./flickity"),require("unipointer"),require("fizzy-ui-utils")):e(t,t.Flickity,t.Unipointer,t.fizzyUIUtils)}
1(window,function(t,e,i,n){function o(t){this.parent=t,this._create()}(o.prototype=Object.create(i.prototype))._create=function(){this.holder=document.createElement("ol"),this.holder.className="flickity-page-dots",this.dots=[],this.handleClick=this.onClick.bind(this),this.on("pointerDown",this.parent.childUIPointerDown.bind(this.parent))},o.prototype.activate=function(){this.setDots(),this.holder.addEventListener("click",this.handleClick),this.bindStartEvent(this.holder),this.parent.element.appendChild(this.holder)},o.prototype.deactivate=function(){this.holder.removeEventListener("click",this.handleClick),this.unbindStartEvent(this.holder),this.parent.element.removeChild(this.holder)},o.prototype.setDots=function(){var t=this.parent.slides.length-this.dots.length;0<t?this.addDots(t):t<0&&this.removeDots(-t)},o.prototype.addDots=function(t){for(var e=document.createDocumentFragment(),i=[],n=this.dots.length,o=n+t,s=n;s<o;s++){var r=document.createElement("li");r.className="dot",r.setAttribute("aria-label","Page dot "+(s+1)),e.appendChild(r),i.push(r)}this.holder.appendChild(e),this.dots=this.dots.concat(i)},o.prototype.removeDots=function(t){this.dots.splice(this.dots.length-t,t).forEach(function(t){this.holder.removeChild(t)},this)},o.prototype.updateSelected=function(){this.selectedDot&&(this.selectedDot.className="dot",this.selectedDot.removeAttribute("aria-current")),this.dots.length&&(this.selectedDot=this.dots[this.parent.selectedIndex],this.selectedDot.className="dot is-selected",this.selectedDot.setAttribute("aria-current","step"))},o.prototype.onTap=o.prototype.onClick=function(t){var e=t.target;if("LI"==e.nodeName){this.parent.uiChange();var i=this.dots.indexOf(e);this.parent.select(i)}},o.prototype.destroy=function(){this.deactivate(),this.allOff()},e.PageDots=o,n.extend(e.defaults,{pageDots:!0}),e.createMethods.push("_createPageDots");var s=e.prototype;return s._createPageDots=function(){this.options.pageDots&&(this.pageDots=new o(this),this.on("activate",this.activatePageDots),this.on("select",this.updateSelectedPageDots),this.on("cellChange",this.updatePageDots),this.on("resize",this.updatePageDots),this.on("deactivate",this.deactivatePageDots))},s.activatePageDots=function(){this.pageDots.activate()},s.updateSelectedPageDots=function(){this.pageDots.updateSelected()},s.updatePageDots=function(){this.pageDots.setDots()},s.deactivatePageDots=function(){this.pageDots.deactivate()},e.PageDots=o,e}),function(t,e){"function"==typeof define&&define.amd?define("flickity/js/player",["ev-emitter/ev-emitter","fizzy-ui-utils/utils","./flickity"],function(t,i,n){return e(t,i,n)}):"object"==typeof module&&module.exports?module.exports=e(require("ev-emitter"),require("fizzy-ui-utils"),require("./flickity")):e(t.EvEmitter,t.fizzyUIUtils,t.Flickity)}(window,function(t,e,i){function n(t){this.parent=t,this.state="stopped",this.onVisibilityChange=this.visibilityChange.bind(this),this.onVisibilityPlay=this.visibilityPlay.bind(this)}(n.prototype=Object.create(t.prototype)).play=function(){"playing"!=this.state&&(document.hidden?document.addEventListener("visibilitychange",this.onVisibilityPlay):(this.state="playing",document.addEventListener("visibilitychange",this.onVisibilityChange),this.tick()))},n.prototype.tick=function(){if("playing"==this.state){var t=this.parent.options.autoPlay;t="number"==typeof t?t:3e3;var e=this;this.clear(),this.timeout=setTimeout(function(){e.parent.next(!0),e.tick()},t)}},n.prototype.stop=function(){this.state="stopped",this.clear(),document.removeEventListener("visibilitychange",this.onVisibilityChange)},n.prototype.clear=function(){clearTimeout(this.timeout)},n.prototype.pause=function(){"playing"==this.state&&(this.state="paused",this.clear())},n.prototype.unpause=function(){"paused"==this.state&&this.play()},n.prototype.visibilityChange=function(){this[document.hidden?"pause":"unpause"]()},n.prototype.visibilityPlay=function(){this.play(),document.removeEventListener("visibilitychange",this.onVisibilityPlay)},e.extend(i.defaults,{pauseAutoPlayOnHover:!0}),i.createMethods.push("_createPlayer");var o=i.prototype;return o._createPlayer=function(){this.player=new n(this),this.on("activate",this.activatePlayer),this.on("uiChange",this.stopPlayer),this.on("pointerDown",this.stopPlayer),this.on("deactivate",this.deactivatePlayer)},o.activatePlayer=function(){this.options.autoPlay&&(this.player.play(),this.element.addEventListener("mouseenter",this))},o.playPlayer=function(){this.player.play()},o.stopPlayer=function(){this.player.stop()},o.pausePlayer=function(){this.player.pause()},o.unpausePlayer=function(){this.player.unpause()},o.deactivatePlayer=function(){this.player.stop(),this.element.removeEventListener("mouseenter",this)},o.onmouseenter=function(){this.options.pauseAutoPlayOnHover&&(this.player.pause(),this.element.addEventListener("mouseleave",this))},o.onmouseleave=function(){this.player.unpause(),this.element.removeEventListener("mouseleave",this)},i.Player=n,i}),function(t,e){"function"==typeof define&&define.amd?define("flickity/js/add-remove-cell",["./flickity","fizzy-ui-utils/utils"],function(i,n){return e(t,i,n)}):"object"==typeof module&&module.exports?module.exports=e(t,require("./flickity"),require("fizzy-ui-utils")):e(t,t.Flickity,t.fizzyUIUtils)}
1(window,function(t,e,i){var n=e.prototype;return n.insert=function(t,e){var i=this._makeCells(t);if(i&&i.length){var n=this.cells.length;e=void 0===e?n:e;var o=function(t){var e=document.createDocumentFragment();return t.forEach(function(t){e.appendChild(t.element)}),e}(i),s=e==n;if(s)this.slider.appendChild(o);else{var r=this.cells[e].element;this.slider.insertBefore(o,r)}if(0===e)this.cells=i.concat(this.cells);else if(s)this.cells=this.cells.concat(i);else{var a=this.cells.splice(e,n-e);this.cells=this.cells.concat(i).concat(a)}this._sizeCells(i),this.cellChange(e,!0)}},n.append=function(t){this.insert(t,this.cells.length)},n.prepend=function(t){this.insert(t,0)},n.remove=function(t){var e=this.getCells(t);if(e&&e.length){var n=this.cells.length-1;e.forEach(function(t){t.remove();var e=this.cells.indexOf(t);n=Math.min(e,n),i.removeFrom(this.cells,t)},this),this.cellChange(n,!0)}},n.cellSizeChange=function(t){var e=this.getCell(t);if(e){e.getSize();var i=this.cells.indexOf(e);this.cellChange(i)}},n.cellChange=function(t,e){var i=this.selectedElement;this._positionCells(t),this._getWrapShiftCells(),this.setGallerySize();var n=this.getCell(i);n&&(this.selectedIndex=this.getCellSlideIndex(n)),this.selectedIndex=Math.min(this.slides.length-1,this.selectedIndex),this.emitEvent("cellChange",[t]),this.select(this.selectedIndex),e&&this.positionSliderAtSelected()},e}),function(t,e){"function"==typeof define&&define.amd?define("flickity/js/lazyload",["./flickity","fizzy-ui-utils/utils"],function(i,n){return e(t,i,n)}):"object"==typeof module&&module.exports?module.exports=e(t,require("./flickity"),require("fizzy-ui-utils")):e(t,t.Flickity,t.fizzyUIUtils)}(window,function(t,e,i){"use strict";e.createMethods.push("_createLazyload");var n=e.prototype;function o(t,e){this.img=t,this.flickity=e,this.load()}return n._createLazyload=function(){this.on("select",this.lazyLoad)},n.lazyLoad=function(){var t=this.options.lazyLoad;if(t){var e="number"==typeof t?t:0,n=[];this.getAdjacentCellElements(e).forEach(function(t){var e=function(t){if("IMG"==t.nodeName){var e=t.getAttribute("data-flickity-lazyload"),n=t.getAttribute("data-flickity-lazyload-src"),o=t.getAttribute("data-flickity-lazyload-srcset");if(e||n||o)return[t]}var s=t.querySelectorAll("img[data-flickity-lazyload], img[data-flickity-lazyload-src], img[data-flickity-lazyload-srcset]");return i.makeArray(s)}(t);n=n.concat(e)}),n.forEach(function(t){new o(t,this)},this)}},o.prototype.handleEvent=i.handleEvent,o.prototype.load=function(){this.img.addEventListener("load",this),this.img.addEventListener("error",this);var t=this.img.getAttribute("data-flickity-lazyload")||this.img.getAttribute("data-flickity-lazyload-src"),e=this.img.getAttribute("data-flickity-lazyload-srcset");this.img.src=t,e&&this.img.setAttribute("srcset",e),this.img.removeAttribute("data-flickity-lazyload"),this.img.removeAttribute("data-flickity-lazyload-src"),this.img.removeAttribute("data-flickity-lazyload-srcset")},o.prototype.onload=function(t){this.complete(t,"flickity-lazyloaded")},o.prototype.onerror=function(t){this.complete(t,"flickity-lazyerror")},o.prototype.complete=function(t,e){this.img.removeEventListener("load",this),this.img.removeEventListener("error",this);var i=this.flickity.getParentCell(this.img),n=i&&i.element;this.flickity.cellSizeChange(n),this.img.classList.add(e),this.flickity.dispatchEvent("lazyLoad",t,n)},e.LazyLoader=o,e}),function(t,e){"function"==typeof define&&define.amd?define("flickity/js/index",["./flickity","./drag","./prev-next-button","./page-dots","./player","./add-remove-cell","./lazyload"],e):"object"==typeof module&&module.exports&&(module.exports=e(require("./flickity"),require("./drag"),require("./prev-next-button"),require("./page-dots"),require("./player"),require("./add-remove-cell"),require("./lazyload")))}(window,function(t){return t}),function(t,e){"function"==typeof define&&define.amd?define("flickity-as-nav-for/as-nav-for",["flickity/js/index","fizzy-ui-utils/utils"],e):"object"==typeof module&&module.exports?module.exports=e(require("flickity"),require("fizzy-ui-utils")):t.Flickity=e(t.Flickity,t.fizzyUIUtils)}(window,function(t,e){t.createMethods.push("_createAsNavFor");var i=t.prototype;return i._createAsNavFor=function(){this.on("activate",this.activateAsNavFor),this.on("deactivate",this.deactivateAsNavFor),this.on("destroy",this.destroyAsNavFor);var t=this.options.asNavFor;if(t){var e=this;setTimeout(function(){e.setNavCompanion(t)})}},i.setNavCompanion=function(i){i=e.getQueryElement(i);var n=t.data(i);if(n&&n!=this){this.navCompanion=n;var o=this;this.onNavCompanionSelect=function(){o.navCompanionSelect()},n.on("select",this.onNavCompanionSelect),this.on("staticClick",this.onNavStaticClick),this.navCompanionSelect(!0)}},i.navCompanionSelect=function(t){var e=this.navCompanion&&this.navCompanion.selectedCells;if(e){var i=e[0],n=this.navCompanion.cells.indexOf(i),o=n+e.length-1,s=Math.floor(function(t,e,
1i){return(e-t)*i+t}(n,o,this.navCompanion.cellAlign));if(this.selectCell(s,!1,t),this.removeNavSelectedElements(),!(s>=this.cells.length)){var r=this.cells.slice(n,1+o);this.navSelectedElements=r.map(function(t){return t.element}),this.changeNavSelectedClass("add")}}},i.changeNavSelectedClass=function(t){this.navSelectedElements.forEach(function(e){e.classList[t]("is-nav-selected")})},i.activateAsNavFor=function(){this.navCompanionSelect(!0)},i.removeNavSelectedElements=function(){this.navSelectedElements&&(this.changeNavSelectedClass("remove"),delete this.navSelectedElements)},i.onNavStaticClick=function(t,e,i,n){"number"==typeof n&&this.navCompanion.selectCell(n)},i.deactivateAsNavFor=function(){this.removeNavSelectedElements()},i.destroyAsNavFor=function(){this.navCompanion&&(this.navCompanion.off("select",this.onNavCompanionSelect),this.off("staticClick",this.onNavStaticClick),delete this.navCompanion)},t}),function(t,e){"use strict";"function"==typeof define&&define.amd?define("imagesloaded/imagesloaded",["ev-emitter/ev-emitter"],function(i){return e(t,i)}):"object"==typeof module&&module.exports?module.exports=e(t,require("ev-emitter")):t.imagesLoaded=e(t,t.EvEmitter)}("undefined"!=typeof window?window:this,function(t,e){var i=t.jQuery,n=t.console;function o(t,e){for(var i in e)t[i]=e[i];return t}var s=Array.prototype.slice;function r(t,e,a){if(!(this instanceof r))return new r(t,e,a);var l=t;"string"==typeof t&&(l=document.querySelectorAll(t)),l?(this.elements=function(t){return Array.isArray(t)?t:"object"==typeof t&&"number"==typeof t.length?s.call(t):[t]}(l),this.options=o({},this.options),"function"==typeof e?a=e:o(this.options,e),a&&this.on("always",a),this.getImages(),i&&(this.jqDeferred=new i.Deferred),setTimeout(this.check.bind(this))):n.error("Bad element for imagesLoaded "+(l||t))}(r.prototype=Object.create(e.prototype)).options={},r.prototype.getImages=function(){this.images=[],this.elements.forEach(this.addElementImages,this)},r.prototype.addElementImages=function(t){"IMG"==t.nodeName&&this.addImage(t),!0===this.options.background&&this.addElementBackgroundImages(t);var e=t.nodeType;if(e&&a[e]){for(var i=t.querySelectorAll("img"),n=0;n<i.length;n++){var o=i[n];this.addImage(o)}if("string"==typeof this.options.background){var s=t.querySelectorAll(this.options.background);for(n=0;n<s.length;n++){var r=s[n];this.addElementBackgroundImages(r)}}}};var a={1:!0,9:!0,11:!0};function l(t){this.img=t}function c(t,e){this.url=t,this.element=e,this.img=new Image}return r.prototype.addElementBackgroundImages=function(t){var e=getComputedStyle(t);if(e)for(var i=/url\((['"])?(.*?)\1\)/gi,n=i.exec(e.backgroundImage);null!==n;){var o=n&&n[2];o&&this.addBackground(o,t),n=i.exec(e.backgroundImage)}},r.prototype.addImage=function(t){var e=new l(t);this.images.push(e)},r.prototype.addBackground=function(t,e){var i=new c(t,e);this.images.push(i)},r.prototype.check=function(){var t=this;function e(e,i,n){setTimeout(function(){t.progress(e,i,n)})}this.progressedCount=0,this.hasAnyBroken=!1,this.images.length?this.images.forEach(function(t){t.once("progress",e),t.check()}):this.complete()},r.prototype.progress=function(t,e,i){this.progressedCount++,this.hasAnyBroken=this.hasAnyBroken||!t.isLoaded,this.emitEvent("progress",[this,t,e]),this.jqDeferred&&this.jqDeferred.notify&&this.jqDeferred.notify(this,t),this.progressedCount==this.images.length&&this.complete(),this.options.debug&&n&&n.log("progress: "+i,t,e)},r.prototype.complete=function(){var t=this.hasAnyBroken?"fail":"done";if(this.isComplete=!0,this.emitEvent(t,[this]),this.emitEvent("always",[this]),this.jqDeferred){var e=this.hasAnyBroken?"reject":"resolve";this.jqDeferred[e](this)}},(l.prototype=Object.create(e.prototype)).check=function(){this.getIsImageComplete()?this.confirm(0!==this.img.naturalWidth,"naturalWidth"):(this.proxyImage=new Image,this.proxyImage.addEventListener("load",this),this.proxyImage.addEventListener("error",this),this.img.addEventListener("load",this),this.img.addEventListener("error",this),this.proxyImage.src=this.img.src)},l.prototype.getIsImageComplete=function(){return this.img.complete&&this.img.naturalWi
1dth},l.prototype.confirm=function(t,e){this.isLoaded=t,this.emitEvent("progress",[this,this.img,e])},l.prototype.handleEvent=function(t){var e="on"+t.type;this[e]&&this[e](t)},l.prototype.onload=function(){this.confirm(!0,"onload"),this.unbindEvents()},l.prototype.onerror=function(){this.confirm(!1,"onerror"),this.unbindEvents()},l.prototype.unbindEvents=function(){this.proxyImage.removeEventListener("load",this),this.proxyImage.removeEventListener("error",this),this.img.removeEventListener("load",this),this.img.removeEventListener("error",this)},(c.prototype=Object.create(l.prototype)).check=function(){this.img.addEventListener("load",this),this.img.addEventListener("error",this),this.img.src=this.url,this.getIsImageComplete()&&(this.confirm(0!==this.img.naturalWidth,"naturalWidth"),this.unbindEvents())},c.prototype.unbindEvents=function(){this.img.removeEventListener("load",this),this.img.removeEventListener("error",this)},c.prototype.confirm=function(t,e){this.isLoaded=t,this.emitEvent("progress",[this,this.element,e])},r.makeJQueryPlugin=function(e){(e=e||t.jQuery)&&((i=e).fn.imagesLoaded=function(t,e){return new r(this,t,e).jqDeferred.promise(i(this))})},r.makeJQueryPlugin(),r}),function(t,e){"function"==typeof define&&define.amd?define(["flickity/js/index","imagesloaded/imagesloaded"],function(i,n){return e(t,i,n)}):"object"==typeof module&&module.exports?module.exports=e(t,require("flickity"),require("imagesloaded")):t.Flickity=e(t,t.Flickity,t.imagesLoaded)}(window,function(t,e,i){"use strict";e.createMethods.push("_createImagesLoaded");var n=e.prototype;return n._createImagesLoaded=function(){this.on("activate",this.imagesLoaded)},n.imagesLoaded=function(){if(this.options.imagesLoaded){var t=this;i(this.slider).on("progress",function(e,i){var n=t.getParentCell(i.img);t.cellSizeChange(n&&n.element),t.options.freeScroll||t.positionSliderAtSelected()})}},e}),function(t){var e={};function i(n){if(e[n])return e[n].exports;var o=e[n]={i:n,l:!1,exports:{}};return t[n].call(o.exports,o,o.exports,i),o.l=!0,o.exports}i.m=t,i.c=e,i.d=function(t,e,n){i.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},i.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},i.t=function(t,e){if(1&e&&(t=i(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(i.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)i.d(n,o,function(e){return t[e]}.bind(null,o));return n},i.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return i.d(e,"a",e),e},i.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},i.p="",i(i.s=10)}([,,function(t,e){t.exports=function(t){"complete"===document.readyState||"interactive"===document.readyState?t.call():document.attachEvent?document.attachEvent("onreadystatechange",function(){"interactive"===document.readyState&&t.call()}):document.addEventListener&&document.addEventListener("DOMContentLoaded",t)}},function(t,e,i){(function(e){var i="undefined"!=typeof window?window:void 0!==e?e:"undefined"!=typeof self?self:{};t.exports=i}).call(this,i(4))},function(t,e){function i(t){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var n=function(){return this}();try{n=n||new Function("return this")()}catch(t){"object"===("undefined"==typeof window?"undefined":i(window))&&(n=window)}t.exports=n},,,,,,function(t,e,i){t.exports=i(11)},function(t,e,i){"use strict";i.r(e);var n=i(2),o=i.n(n),s=i(3),r=i(12);function a(t){return(a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var l,c,d=s.window.jarallax;s.window.jarallax=r.default,s.window.jarallax.noConflict=function(){return s.window.jarallax=d,this},void 0!==s.jQuery&&((l=function(){for(var t=arguments.length,e=new Array(t),i=0;i<t;i++)e[i]=arguments[i];Array.prototype.unshift.call(e,this);var n=r.default.apply(s.window,e);return"object"!==a(n)?n:this}).constructor=r.default.constructor,c=s.jQuery.fn.jarallax,s.jQuery.fn.jarallax=l,s.jQuery.fn.jarallax.noConflict=function(){return s.jQuery.fn.jarallax=c,this}),o()(function(){Object(r.default)(document.querySelectorAll("[data-jarallax]"))})}
1,function(t,e,i){"use strict";i.r(e);var n=i(2),o=i.n(n),s=i(3);function r(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t)){var i=[],n=!0,o=!1,s=void 0;try{for(var r,a=t[Symbol.iterator]();!(n=(r=a.next()).done)&&(i.push(r.value),!e||i.length!==e);n=!0);}catch(t){o=!0,s=t}finally{try{n||null==a.return||a.return()}finally{if(o)throw s}}return i}}(t,e)||function(t,e){if(t){if("string"==typeof t)return a(t,e);var i=Object.prototype.toString.call(t).slice(8,-1);return"Object"===i&&t.constructor&&(i=t.constructor.name),"Map"===i||"Set"===i?Array.from(t):"Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?a(t,e):void 0}}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function a(t,e){(null==e||e>t.length)&&(e=t.length);for(var i=0,n=new Array(e);i<e;i++)n[i]=t[i];return n}function l(t){return(l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function c(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}var d,h,u=s.window.navigator,p=-1<u.userAgent.indexOf("MSIE ")||-1<u.userAgent.indexOf("Trident/")||-1<u.userAgent.indexOf("Edge/"),f=/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(u.userAgent),m=function(){for(var t="transform WebkitTransform MozTransform".split(" "),e=document.createElement("div"),i=0;i<t.length;i+=1)if(e&&void 0!==e.style[t[i]])return t[i];return!1}();function g(){h=f?(!d&&document.body&&((d=document.createElement("div")).style.cssText="position: fixed; top: -9999px; left: 0; height: 100vh; width: 0;",document.body.appendChild(d)),(d?d.clientHeight:0)||s.window.innerHeight||document.documentElement.clientHeight):s.window.innerHeight||document.documentElement.clientHeight}g(),s.window.addEventListener("resize",g),s.window.addEventListener("orientationchange",g),s.window.addEventListener("load",g),o()(function(){g()});var v=[];function y(){v.length&&(v.forEach(function(t,e){var i=t.instance,n=t.oldData,o=i.$item.getBoundingClientRect(),r={width:o.width,height:o.height,top:o.top,bottom:o.bottom,wndW:s.window.innerWidth,wndH:h},a=!n||n.wndW!==r.wndW||n.wndH!==r.wndH||n.width!==r.width||n.height!==r.height,l=a||!n||n.top!==r.top||n.bottom!==r.bottom;v[e].oldData=r,a&&i.onResize(),l&&i.onScroll()}),s.window.requestAnimationFrame(y))}function b(t,e){("object"===("undefined"==typeof HTMLElement?"undefined":l(HTMLElement))?t instanceof HTMLElement:t&&"object"===l(t)&&null!==t&&1===t.nodeType&&"string"==typeof t.nodeName)&&(t=[t]);for(var i,n=t.length,o=0,s=arguments.length,r=new Array(2<s?s-2:0),a=2;a<s;a++)r[a-2]=arguments[a];for(;o<n;o+=1)if("object"===l(e)||void 0===e?t[o].jarallax||(t[o].jarallax=new x(t[o],e)):t[o].jarallax&&(i=t[o].jarallax[e].apply(t[o].jarallax,r)),void 0!==i)return i;return t}var w=0,x=function(){function t(e,i){!function(e,i){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this);var n=this;n.instanceID=w,w+=1,n.$item=e,n.defaults={type:"scroll",speed:.5,imgSrc:null,imgElement:".jarallax-img",imgSize:"cover",imgPosition:"50% 50%",imgRepeat:"no-repeat",keepImg:!1,elementInViewport:null,zIndex:-100,disableParallax:!1,disableVideo:!1,videoSrc:null,videoStartTime:0,videoEndTime:0,videoVolume:0,videoLoop:!0,videoPlayOnlyVisible:!0,videoLazyLoading:!0,onScroll:null,onInit:null,onDestroy:null,onCoverImage:null};var o,s,a=n.$item.dataset||{},c={};Object.keys(a).forEach(function(t){var e=t.substr(0,1).toLowerCase()+t.substr(1);e&&void 0!==n.defaults[e]&&(c[e]=a[t])}),n.options=n.extend({},n.defaults,c,i),n.pureOptions=n.extend({},n.options),Object.keys(n.options).forEach(function(t){"true"===n.options[t]?n.options[t]=!0:"false"===n.options[t]&&(n.options[t]=!1)}),n.options.speed=Math.min(2,Math.max(-1,parseFloat(n.options.speed))),"string"==typeof n.options.disableParallax&&(n.options.disableParallax=new RegExp(n.options.disableParallax)),n.options.disableParallax instanceof RegExp&&(o=n.options.disableParallax,n.options.disableParallax=function(){return o.test(u.userAgent)}),"function"!=typeof n.options.disableParallax&&(n.options.disableParallax=function(){return!1}),"string"==typeof n.options.disableVideo&&(n.options.disableVideo=new RegExp(n.options.disableVideo)),n.options.disableVideo instanceof RegExp&&(s=n.options.disableVideo,n.options.disableVideo=function(){return s.test(u.userAgent)}),"function"!=typeof n.options.disableVideo&&(n.options.disableVideo=function(){return!1});var d=n.options.elementInViewport;d&&"object"===l(d)&&void 0!==d.length&&(d=r(d,1)[0]),d instanceof Element||(d=null),n.options.elementInViewport=d,n.image={src:n.options.imgSrc||null,$container:null,useImgTag:!1,position:/iPad|iPhone|iPod|Android/.test(u.userAgent)?"absolute":"fixed"},n.initImg()&&n.canInitParallax()&&n.init()}var e,i;return e=t,(i=[{key:"css",value:function(t,e){return"string"==typeof e?s.window.getComputedStyle(t).getPropertyValue(e):(e.transform&&m&&(e[m]=e.transform),Object.keys(e).forEach(function(i){t.style[i]=e[i]}),t)}},{key:"extend",value:function(t){for(var e=arguments.length,i=new Array(1<e?e-1:0),n=1;n<e;n++)i[n-1]=arguments[n];return t=t||{}
1,Object.keys(i).forEach(function(e){i[e]&&Object.keys(i[e]).forEach(function(n){t[n]=i[e][n]})}),t}},{key:"getWindowData",value:function(){return{width:s.window.innerWidth||document.documentElement.clientWidth,height:h,y:document.documentElement.scrollTop}}},{key:"initImg",value:function(){var t=this,e=t.options.imgElement;return e&&"string"==typeof e&&(e=t.$item.querySelector(e)),e instanceof Element||(t.options.imgSrc?(e=new Image).src=t.options.imgSrc:e=null),e&&(t.options.keepImg?t.image.$item=e.cloneNode(!0):(t.image.$item=e,t.image.$itemParent=e.parentNode),t.image.useImgTag=!0),!(!t.image.$item&&(null===t.image.src&&(t.image.src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7",t.image.bgImage=t.css(t.$item,"background-image")),!t.image.bgImage||"none"===t.image.bgImage))}},{key:"canInitParallax",value:function(){return m&&!this.options.disableParallax()}},{key:"init",value:function(){var t,e,i,n=this,o={position:"absolute",top:0,left:0,width:"100%",height:"100%",overflow:"hidden"},r={pointerEvents:"none",transformStyle:"preserve-3d",backfaceVisibility:"hidden",willChange:"transform,opacity"};n.options.keepImg||((t=n.$item.getAttribute("style"))&&n.$item.setAttribute("data-jarallax-original-styles",t),!n.image.useImgTag||(e=n.image.$item.getAttribute("style"))&&n.image.$item.setAttribute("data-jarallax-original-styles",e)),"static"===n.css(n.$item,"position")&&n.css(n.$item,{position:"relative"}),"auto"===n.css(n.$item,"z-index")&&n.css(n.$item,{zIndex:0}),n.image.$container=document.createElement("div"),n.css(n.image.$container,o),n.css(n.image.$container,{"z-index":n.options.zIndex}),p&&n.css(n.image.$container,{opacity:.9999}),n.image.$container.setAttribute("id","jarallax-container-".concat(n.instanceID)),n.$item.appendChild(n.image.$container),n.image.useImgTag?r=n.extend({"object-fit":n.options.imgSize,"object-position":n.options.imgPosition,"font-family":"object-fit: ".concat(n.options.imgSize,"; object-position: ").concat(n.options.imgPosition,";"),"max-width":"none"},o,r):(n.image.$item=document.createElement("div"),n.image.src&&(r=n.extend({"background-position":n.options.imgPosition,"background-size":n.options.imgSize,"background-repeat":n.options.imgRepeat,"background-image":n.image.bgImage||'url("'.concat(n.image.src,'")')},o,r))),"opacity"!==n.options.type&&"scale"!==n.options.type&&"scale-opacity"!==n.options.type&&1!==n.options.speed||(n.image.position="absolute"),"fixed"===n.image.position&&(i=function(t){for(var e=[];null!==t.parentElement;)1===(t=t.parentElement).nodeType&&e.push(t);return e}(n.$item).filter(function(t){var e=s.window.getComputedStyle(t),i=e["-webkit-transform"]||e["-moz-transform"]||e.transform;return i&&"none"!==i||/(auto|scroll)/.test(e.overflow+e["overflow-y"]+e["overflow-x"])}),n.image.position=i.length?"absolute":"fixed"),r.position=n.image.position,n.css(n.image.$item,r),n.image.$container.appendChild(n.image.$item),n.onResize(),n.onScroll(!0),n.options.onInit&&n.options.onInit.call(n),"none"!==n.css(n.$item,"background-image")&&n.css(n.$item,{"background-image":"none"}),n.addToParallaxList()}},{key:"addToParallaxList",value:function(){v.push({instance:this}),1===v.length&&s.window.requestAnimationFrame(y)}},{key:"removeFromParallaxList",value:function(){var t=this;v.forEach(function(e,i){e.instance.instanceID===t.instanceID&&v.splice(i,1)})}},{key:"destroy",value:function(){var t=this;t.removeFromParallaxList();var e,i=t.$item.getAttribute("data-jarallax-original-styles");t.$item.removeAttribute("data-jarallax-original-styles"),i?t.$item.setAttribute("style",i):t.$item.removeAttribute("style"),t.image.useImgTag&&(e=t.image.$item.getAttribute("data-jarallax-original-styles"),t.image.$item.removeAttribute("data-jarallax-original-styles"),e?t.image.$item.setAttribute("style",i):t.image.$item.removeAttribute("style"),t.image.$itemParent&&t.image.$itemParent.appendChild(t.image.$item)),t.$clipStyles&&t.$clipStyles.parentNode.removeChild(t.$clipStyles),t.image.$container&&t.image.$container.parentNode.removeChild(t.image.$container),t.options.onDestroy&&t.options.onDestroy.call(t),delete t.$item.jarallax}},{key:"clipContainer",value:function(){var t,e,i,n,o;"fixed"===this.image.position&&(i=(e=(t=this).image.$container.getBoundingClientRect()).width,n=e.he
1ight,t.$clipStyles||(t.$clipStyles=document.createElement("style"),t.$clipStyles.setAttribute("type","text/css"),t.$clipStyles.setAttribute("id","jarallax-clip-".concat(t.instanceID)),(document.head||document.getElementsByTagName("head")[0]).appendChild(t.$clipStyles)),o="#jarallax-container-".concat(t.instanceID," {\n clip: rect(0 ").concat(i,"px ").concat(n,"px 0);\n clip: rect(0, ").concat(i,"px, ").concat(n,"px, 0);\n }"),t.$clipStyles.styleSheet?t.$clipStyles.styleSheet.cssText=o:t.$clipStyles.innerHTML=o)}},{key:"coverImage",value:function(){var t,e=this,i=e.image.$container.getBoundingClientRect(),n=i.height,o=e.options.speed,s="scroll"===e.options.type||"scroll-opacity"===e.options.type,r=0,a=n;return s&&(o<0?(r=o*Math.max(n,h),h<n&&(r-=o*(n-h))):r=o*(n+h),1<o?a=Math.abs(r-h):o<0?a=r/o+Math.abs(r):a+=(h-n)*(1-o),r/=2),e.parallaxScrollDistance=r,t=s?(h-a)/2:(n-a)/2,e.css(e.image.$item,{height:"".concat(a,"px"),marginTop:"".concat(t,"px"),left:"fixed"===e.image.position?"".concat(i.left,"px"):"0",width:"".concat(i.width,"px")}),e.options.onCoverImage&&e.options.onCoverImage.call(e),{image:{height:a,marginTop:t},container:i}}},{key:"isVisible",value:function(){return this.isElementInViewport||!1}},{key:"onScroll",value:function(t){var e,i,n,o,r,a,l,c,d,u,p=this,f=p.$item.getBoundingClientRect(),m=f.top,g=f.height,v={},y=f;p.options.elementInViewport&&(y=p.options.elementInViewport.getBoundingClientRect()),p.isElementInViewport=0<=y.bottom&&0<=y.right&&y.top<=h&&y.left<=s.window.innerWidth,(t||p.isElementInViewport)&&(e=Math.max(0,m),i=Math.max(0,g+m),n=Math.max(0,-m),o=Math.max(0,m+g-h),r=Math.max(0,g-(m+g-h)),a=Math.max(0,-m+h-g),l=1-(h-m)/(h+g)*2,c=1,g<h?c=1-(n||o)/g:i<=h?c=i/h:r<=h&&(c=r/h),"opacity"!==p.options.type&&"scale-opacity"!==p.options.type&&"scroll-opacity"!==p.options.type||(v.transform="translate3d(0,0,0)",v.opacity=c),"scale"!==p.options.type&&"scale-opacity"!==p.options.type||(d=1,p.options.speed<0?d-=p.options.speed*c:d+=p.options.speed*(1-c),v.transform="scale(".concat(d,") translate3d(0,0,0)")),"scroll"!==p.options.type&&"scroll-opacity"!==p.options.type||(u=p.parallaxScrollDistance*l,"absolute"===p.image.position&&(u-=m),v.transform="translate3d(0,".concat(u,"px,0)")),p.css(p.image.$item,v),p.options.onScroll&&p.options.onScroll.call(p,{section:f,beforeTop:e,beforeTopEnd:i,afterTop:n,beforeBottom:o,beforeBottomEnd:r,afterBottom:a,visiblePercent:c,fromViewportCenter:l}))}},{key:"onResize",value:function(){this.coverImage(),this.clipContainer()}}])&&c(e.prototype,i),t}();b.constructor=x,e.default=b}]),function(t){var e={};function i(n){if(e[n])return e[n].exports;var o=e[n]={i:n,l:!1,exports:{}};return t[n].call(o.exports,o,o.exports,i),o.l=!0,o.exports}i.m=t,i.c=e,i.d=function(t,e,n){i.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},i.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},i.t=function(t,e){if(1&e&&(t=i(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(i.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)i.d(n,o,function(e){return t[e]}.bind(null,o));return n},i.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return i.d(e,"a",e),e},i.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},i.p="",i(i.s=0)}([function(t,e,i){t.exports=i(1)},function(t,e,i){"use strict";i.r(e);var n=i(2),o=i.n(n),s=i(3),r=i.n(s),a=i(5);Object(a.default)(),o()(function(){void 0!==r.a.jarallax&&r.a.jarallax(document.querySelectorAll("[data-jarallax-element]"))})},function(t,e){t.exports=function(t){"complete"===document.readyState||"interactive"===document.readyState?t.call():document.attachEvent?document.attachEvent("onreadystatechange",function(){"interactive"===document.readyState&&t.call()}):document.addEventListener&&document.addEventListener("DOMContentLoaded",t)}},function(t,e,i){(function(e){var i="undefined"!=typeof window?window:void 0!==e?e:"undefined"!=typeof self?self:{};t.exports=i}).call(this,i(4))},function(t,e){function i(t){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var n=function(){return this}();try{n=n||new Function("return this")()}catch(t){"object"===("undefined"==typeof window?"undefined":i(window))&&(n=window)}t.exports=n}
1,function(t,e,i){"use strict";i.r(e),i.d(e,"default",function(){return s});var n=i(3),o=i.n(n);function s(){var t,e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:o.a.jarallax;void 0!==e&&(t=e.constructor,["initImg","canInitParallax","init","destroy","clipContainer","coverImage","isVisible","onScroll","onResize"].forEach(function(e){var i=t.prototype[e];t.prototype[e]=function(){var t=this;"initImg"===e&&null!==t.$item.getAttribute("data-jarallax-element")&&(t.options.type="element",t.pureOptions.speed=t.$item.getAttribute("data-jarallax-element")||t.pureOptions.speed);for(var n=arguments.length,o=new Array(n),s=0;s<n;s++)o[s]=arguments[s];if("element"!==t.options.type)return i.apply(t,o);switch(t.pureOptions.threshold=t.$item.getAttribute("data-threshold")||"",e){case"init":var r=t.pureOptions.speed.split(" ");t.options.speed=t.pureOptions.speed||0,t.options.speedY=r[0]?parseFloat(r[0]):0,t.options.speedX=r[1]?parseFloat(r[1]):0;var a=t.pureOptions.threshold.split(" ");t.options.thresholdY=a[0]?parseFloat(a[0]):null,t.options.thresholdX=a[1]?parseFloat(a[1]):null,i.apply(t,o);var l=t.$item.getAttribute("data-jarallax-original-styles");return l&&t.$item.setAttribute("style",l),!0;case"onResize":var c=t.css(t.$item,"transform");t.css(t.$item,{transform:""});var d=t.$item.getBoundingClientRect();t.itemData={width:d.width,height:d.height,y:d.top+t.getWindowData().y,x:d.left},t.css(t.$item,{transform:c});break;case"onScroll":var h=t.getWindowData(),u=(h.y+h.height/2-t.itemData.y-t.itemData.height/2)/(h.height/2),p=u*t.options.speedY,f=u*t.options.speedX,m=p,g=f;null!==t.options.thresholdY&&p>t.options.thresholdY&&(m=0),null!==t.options.thresholdX&&f>t.options.thresholdX&&(g=0),t.css(t.$item,{transform:"translate3d(".concat(g,"px,").concat(m,"px,0)")});break;case"initImg":case"isVisible":case"clipContainer":case"coverImage":return!0}return i.apply(t,o)}}))}}]),function(t){var e={};function i(n){if(e[n])return e[n].exports;var o=e[n]={i:n,l:!1,exports:{}};return t[n].call(o.exports,o,o.exports,i),o.l=!0,o.exports}i.m=t,i.c=e,i.d=function(t,e,n){i.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},i.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},i.t=function(t,e){if(1&e&&(t=i(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(i.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)i.d(n,o,function(e){return t[e]}.bind(null,o));return n},i.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return i.d(e,"a",e),e},i.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},i.p="",i(i.s=6)}([,,function(t,e){t.exports=function(t){"complete"===document.readyState||"interactive"===document.readyState?t.call():document.attachEvent?document.attachEvent("onreadystatechange",function(){"interactive"===document.readyState&&t.call()}):document.addEventListener&&document.addEventListener("DOMContentLoaded",t)}},function(t,e,i){(function(e){var i="undefined"!=typeof window?window:void 0!==e?e:"undefined"!=typeof self?self:{};t.exports=i}).call(this,i(4))},function(t,e){function i(t){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var n=function(){return this}();try{n=n||new Function("return this")()}catch(t){"object"===("undefined"==typeof window?"undefined":i(window))&&(n=window)}t.exports=n},,function(t,e,i){t.exports=i(7)},function(t,e,i){"use strict";i.r(e);var n=i(8),o=i(3),s=i.n(o),r=i(2),a=i.n(r),l=i(9);s.a.VideoWorker=s.a.VideoWorker||n.default,Object(l.default)(),a()(function(){void 0!==s.a.jarallax&&s.a.jarallax(document.querySelectorAll("[data-jarallax-video]"))})},function(t,e,i){"use strict";i.r(e),i.d(e,"default",function(){return m});var n=i(3),o=i.n(n);function s(t){return(s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function r(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function a(){this.doneCallbacks=[],this.failCallbacks=[]}a.prototype={execute:function(t,e){var i=t.length;for(e=Array.prototype.slice.call(e);i;)t[--i].apply(null,e)},resolve:function(){for(var t=arguments.length,e=new Array(t),i=0;i<t;i++)e[i]=arguments[i];this.execute(this.doneCallbacks,e)},reject:function(){for(var t=arguments.length,e=new Array(t),i=0;i<t;i++)e[i]=arguments[i];this.execute(this.failCallbacks,e)},done:function(t){this.doneCallbacks.push(t)},fail:function(t){this.failCallbacks.push(t)}};var l=0,c=0,d=0,h=0,u=0,p=new a,f=new a,m=function(){function t(e,i){!function(e,i){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this);var n=this;
1n.url=e,n.options_default={autoplay:!1,loop:!1,mute:!1,volume:100,showContols:!0,startTime:0,endTime:0},n.options=n.extend({},n.options_default,i),n.videoID=n.parseURL(e),n.videoID&&(n.ID=l,l+=1,n.loadAPI(),n.init())}var e,i;return e=t,(i=[{key:"extend",value:function(){for(var t=arguments.length,e=new Array(t),i=0;i<t;i++)e[i]=arguments[i];var n=e[0]||{};return Object.keys(e).forEach(function(t){e[t]&&Object.keys(e[t]).forEach(function(i){n[i]=e[t][i]})}),n}},{key:"parseURL",value:function(t){var e,i,n,o,s,r=!(!(e=t.match(/.*(?:youtu.be\/|v\/|u\/\w\/|embed\/|watch\?v=)([^#\&\?]*).*/))||11!==e[1].length)&&e[1],a=!(!(i=t.match(/https?:\/\/(?:www\.|player\.)?vimeo.com\/(?:channels\/(?:\w+\/)?|groups\/([^\/]*)\/videos\/|album\/(\d+)\/video\/|video\/|)(\d+)(?:$|\/|\?)/))||!i[3])&&i[3],l=(n=t.split(/,(?=mp4\:|webm\:|ogv\:|ogg\:)/),o={},s=0,n.forEach(function(t){var e=t.match(/^(mp4|webm|ogv|ogg)\:(.*)/);e&&e[1]&&e[2]&&(o["ogv"===e[1]?"ogg":e[1]]=e[2],s=1)}),!!s&&o);return r?(this.type="youtube",r):a?(this.type="vimeo",a):!!l&&(this.type="local",l)}},{key:"isValid",value:function(){return!!this.videoID}},{key:"on",value:function(t,e){this.userEventsList=this.userEventsList||[],(this.userEventsList[t]||(this.userEventsList[t]=[])).push(e)}},{key:"off",value:function(t,e){var i=this;this.userEventsList&&this.userEventsList[t]&&(e?this.userEventsList[t].forEach(function(n,o){n===e&&(i.userEventsList[t][o]=!1)}):delete this.userEventsList[t])}},{key:"fire",value:function(t){for(var e=this,i=arguments.length,n=new Array(1<i?i-1:0),o=1;o<i;o++)n[o-1]=arguments[o];this.userEventsList&&void 0!==this.userEventsList[t]&&this.userEventsList[t].forEach(function(t){t&&t.apply(e,n)})}},{key:"play",value:function(t){var e=this;e.player&&("youtube"===e.type&&e.player.playVideo&&(void 0!==t&&e.player.seekTo(t||0),o.a.YT.PlayerState.PLAYING!==e.player.getPlayerState()&&e.player.playVideo()),"vimeo"===e.type&&(void 0!==t&&e.player.setCurrentTime(t),e.player.getPaused().then(function(t){t&&e.player.play()})),"local"===e.type&&(void 0!==t&&(e.player.currentTime=t),e.player.paused&&e.player.play()))}},{key:"pause",value:function(){var t=this;t.player&&("youtube"===t.type&&t.player.pauseVideo&&o.a.YT.PlayerState.PLAYING===t.player.getPlayerState()&&t.player.pauseVideo(),"vimeo"===t.type&&t.player.getPaused().then(function(e){e||t.player.pause()}),"local"===t.type&&(t.player.paused||t.player.pause()))}},{key:"mute",value:function(){var t=this;t.player&&("youtube"===t.type&&t.player.mute&&t.player.mute(),"vimeo"===t.type&&t.player.setVolume&&t.player.setVolume(0),"local"===t.type&&(t.$video.muted=!0))}},{key:"unmute",value:function(){var t=this;t.player&&("youtube"===t.type&&t.player.mute&&t.player.unMute(),"vimeo"===t.type&&t.player.setVolume&&t.player.setVolume(t.options.volume),"local"===t.type&&(t.$video.muted=!1))}},{key:"setVolume",value:function(t){var e=0<arguments.length&&void 0!==t&&t,i=this;i.player&&e&&("youtube"===i.type&&i.player.setVolume&&i.player.setVolume(e),"vimeo"===i.type&&i.player.setVolume&&i.player.setVolume(e),"local"===i.type&&(i.$video.volume=e/100))}},{key:"getVolume",value:function(t){var e=this;e.player?("youtube"===e.type&&e.player.getVolume&&t(e.player.getVolume()),"vimeo"===e.type&&e.player.getVolume&&e.player.getVolume().then(function(e){t(e)}),"local"===e.type&&t(100*e.$video.volume)):t(!1)}},{key:"getMuted",value:function(t){var e=this;e.player?("youtube"===e.type&&e.player.isMuted&&t(e.player.isMuted()),"vimeo"===e.type&&e.player.getVolume&&e.player.getVolume().then(function(e){t(!!e)}),"local"===e.type&&t(e.$video.muted)):t(null)}},{key:"getImageURL",value:function(t){var e,i,n,o,s=this;s.videoImage?t(s.videoImage):("youtube"===s.type&&(e=["maxresdefault","sddefault","hqdefault","0"],i=0,(n=new Image).onload=function(){120!==(this.naturalWidth||this.width)||i===e.length-1?(s.videoImage="https://img.youtube.com/vi/".concat(s.videoID,"/").concat(e[i],".jpg"),t(s.videoImage)):(i+=1,this.src="https://img.youtube.com/vi/".concat(s.videoID,"/").concat(e[i],".jpg"))},n.src="https://img.youtube.com/vi/".concat(s.videoID,"/").concat(e[i],".jpg")),"vimeo"===s.type&&((o=new XMLHttpRequest).open("GET","https://vimeo.com/api/v2/video/".concat(s.videoID,".json"),!0),o.onreadystatechange=function(){var e;4===this.readyState&&200<=this.status&&this.status<400&&(e=JSON.parse(this.responseText),s.videoImage=e[0].thumbnail_large,t(s.videoImage))},o.send(),o=null))}},{key:"getIframe",value:function(t){this.getVideo(t)}},{key:"getVideo",value:function(t){var e=this;e.$video?t(e.$video):e.onAPIready(function(){var i,n,s,r,a,l,c,d;e.$video||((i=document.createElement("div")).style.display="none"),"youtube"===e.type&&(e.playerOptions={},e.playerOptions.videoId=e.videoID,e.playerOptions.playerVars={autohide:1,rel:0,autoplay:0,playsinline:1},e.options.showContols||(e.playerOptions.playerVars.iv_load_policy=3,e.playerOptions.playerVars.modestbranding=1,e.playerOptions.playerVars.controls=0,e.playerOptions.playerVars.showinfo=0,e.playerOptions.playerVars.disablekb=1),e.playerOptions.events={onReady:function(t){e.options.mute?t.target.mute():e.options.volume&&t.target.setVolume(e.options.volume),e.options.autoplay&&e.play(e.options.startTime),e.fire("ready",t),e.options.loop&&!e.options.endTime&&(e.options.endTime=e.player.getDuration()-.1),setInterval(function(){e.getVolume(function(i){e.options.volume!==i&&(e.options.volume=i,e.fire("volumechange",t))})},150)},onStateChange:function(t){e.options.loop&&t.data===o.a.YT.PlayerState.ENDED&&e.play(e.options.startTime),n||t.data!==o.a.YT.PlayerState.PLAYING||(n=1,e.fire("started",t)),t.data===o.a.YT.PlayerState.PLAYING&&e.fire("play",t),t.data===o.a.YT.PlayerState.PAUSED&&e.fire("pause",t),t.data===o.a.YT.PlayerState.ENDED&&e.fire("ended",t),t.data===o.a.YT.PlayerState.PLAYING?s=setInterval(function(){e.fire("timeupdate",t),e.options.endTime&&e.player.getCurrentTime()>=e.options.endTime&&(e.options.loop?e.play(e.options.startTime):e.pause())},150):clearInterval(s)},onError:function(t){e.fire("error",t)}},(r=!e.$video)&&((a=document.createElement("div")).setAttribute("id",e.playerID),i.appendChild(a),document.body.appendChild(i)),e.player=e.player||new o.a.YT.Player(e.playerID,e.playerOptions),r&&(e.$video=document.getElementById(e.playerID),e.videoWidth=parseInt(e.$video.getAttribute("width"),10)||1280,e.videoHeight=parseInt(e.$video.getAttribute("height"),10)||720)),"vimeo"===e.type&&(e.playerOptions={id:e.videoID,autopause:0,transparent:0,autoplay:e.options.autoplay?1:0,loop:e.options.loop?1:0,muted:e.options.mute?1:0},e.options.volume&&(e.playerOptions.volume=e.options.volume),e.options.showContols||(e.playerOptions.badge=0,e.playerOptions.byline=0,e.playerOptions.portrait=0,e.playerOptions.title=0,e.playerOptions.background=1),e.$video||(l="",Object.keys(e.playerOptions).forEac
1h(function(t){""!==l&&(l+="&"),l+="".concat(t,"=").concat(encodeURIComponent(e.playerOptions[t]))}),e.$video=document.createElement("iframe"),e.$video.setAttribute("id",e.playerID),e.$video.setAttribute("src","https://player.vimeo.com/video/".concat(e.videoID,"?").concat(l)),e.$video.setAttribute("frameborder","0"),e.$video.setAttribute("mozallowfullscreen",""),e.$video.setAttribute("allowfullscreen",""),i.appendChild(e.$video),document.body.appendChild(i)),e.player=e.player||new o.a.Vimeo.Player(e.$video,e.playerOptions),e.options.startTime&&e.options.autoplay&&e.player.setCurrentTime(e.options.startTime),e.player.getVideoWidth().then(function(t){e.videoWidth=t||1280}),e.player.getVideoHeight().then(function(t){e.videoHeight=t||720}),e.player.on("timeupdate",function(t){c||(e.fire("started",t),c=1),e.fire("timeupdate",t),e.options.endTime&&e.options.endTime&&t.seconds>=e.options.endTime&&(e.options.loop?e.play(e.options.startTime):e.pause())}),e.player.on("play",function(t){e.fire("play",t),e.options.startTime&&0===t.seconds&&e.play(e.options.startTime)}),e.player.on("pause",function(t){e.fire("pause",t)}),e.player.on("ended",function(t){e.fire("ended",t)}),e.player.on("loaded",function(t){e.fire("ready",t)}),e.player.on("volumechange",function(t){e.fire("volumechange",t)}),e.player.on("error",function(t){e.fire("error",t)})),"local"===e.type&&(e.$video||(e.$video=document.createElement("video"),e.options.showContols&&(e.$video.controls=!0),e.options.mute?e.$video.muted=!0:e.$video.volume&&(e.$video.volume=e.options.volume/100),e.options.loop&&(e.$video.loop=!0),e.$video.setAttribute("playsinline",""),e.$video.setAttribute("webkit-playsinline",""),e.$video.setAttribute("id",e.playerID),i.appendChild(e.$video),document.body.appendChild(i),Object.keys(e.videoID).forEach(function(t){var i,n,o,s;i=e.$video,n=e.videoID[t],o="video/".concat(t),(s=document.createElement("source")).src=n,s.type=o,i.appendChild(s)})),e.player=e.player||e.$video,e.player.addEventListener("playing",function(t){d||e.fire("started",t),d=1}),e.player.addEventListener("timeupdate",function(t){e.fire("timeupdate",t),e.options.endTime&&e.options.endTime&&this.currentTime>=e.options.endTime&&(e.options.loop?e.play(e.options.startTime):e.pause())}),e.player.addEventListener("play",function(t){e.fire("play",t)}),e.player.addEventListener("pause",function(t){e.fire("pause",t)}),e.player.addEventListener("ended",function(t){e.fire("ended",t)}),e.player.addEventListener("loadedmetadata",function(){e.videoWidth=this.videoWidth||1280,e.videoHeight=this.videoHeight||720,e.fire("ready"),e.options.autoplay&&e.play(e.options.startTime)}),e.player.addEventListener("volumechange",function(t){e.getVolume(function(t){e.options.volume=t}),e.fire("volumechange",t)}),e.player.addEventListener("error",function(t){e.fire("error",t)})),t(e.$video)})}},{key:"init",value:function(){this.playerID="VideoWorker-".concat(this.ID)}},{key:"loadAPI",value:function(){if(!c||!d){var t,e,i="";if("youtube"!==this.type||c||(c=1,i="https://www.youtube.com/iframe_api"),"vimeo"===this.type&&!d){if(d=1,void 0!==o.a.Vimeo)return;i="https://player.vimeo.com/api/player.js"}i&&(t=document.createElement("script"),e=document.getElementsByTagName("head")[0],t.src=i,e.appendChild(t),t=e=null)}}},{key:"onAPIready",value:function(t){var e;"youtube"===this.type&&(void 0!==o.a.YT&&0!==o.a.YT.loaded||h?"object"===s(o.a.YT)&&1===o.a.YT.loaded?t():p.done(function(){t()}):(h=1,window.onYouTubeIframeAPIReady=function(){window.onYouTubeIframeAPIReady=null,p.resolve("done"),t()})),"vimeo"===this.type&&(void 0!==o.a.Vimeo||u?void 0!==o.a.Vimeo?t():f.done(function(){t()}):(u=1,e=setInterval(function(){void 0!==o.a.Vimeo&&(clearInterval(e),f.resolve("done"),t())},20))),"local"===this.type&&t()}}])&&r(e.prototype,i),t}()},function(t,e,i){"use strict";i.r(e),i.d(e,"default",function(){return r});var n=i(8),o=i(3),s=i.n(o);function r(){var t,e,i,o,r,a,l=0<arguments.length&&void 0!==arguments[0]?arguments[0]:s.a.jarallax;void 0!==l&&(t=l.constructor,e=t.prototype.onScroll,t.prototype.onScroll=function(){var t=this;e.apply(t),t.isVideoInserted||!t.video||t.options.videoLazyLoading&&!t.isElementInViewport||t.options.disableVideo()||(t.isVideoInserted=!0,t.video.getVideo(function(e){var i=e.parentNode;t.css(e,{position:t.image.position,top:"0px",left:"0px",right:"0px",bottom:"0px",width:"100%",height:"100%",maxWidth:"none",maxHeight:"none",margin:0,zIndex:-1}),t.$video=e,"local"===t.video.type&&(t.image.src?t.$video.setAttribute("poster",t.image.src):t.
1image.$item&&"IMG"===t.image.$item.tagName&&t.image.$item.src&&t.$video.setAttribute("poster",t.image.$item.src)),t.image.$container.appendChild(e),i.parentNode.removeChild(i)}))},i=t.prototype.coverImage,t.prototype.coverImage=function(){var t,e,n,o,s=this,r=i.apply(s),a=!!s.image.$item&&s.image.$item.nodeName;return r&&s.video&&a&&("IFRAME"===a||"VIDEO"===a)&&(e=(t=r.image.height)*s.image.width/s.image.height,n=(r.container.width-e)/2,o=r.image.marginTop,r.container.width>e&&(t=(e=r.container.width)*s.image.height/s.image.width,n=0,o+=(r.image.height-t)/2),"IFRAME"===a&&(t+=400,o-=200),s.css(s.$video,{width:"".concat(e,"px"),marginLeft:"".concat(n,"px"),height:"".concat(t,"px"),marginTop:"".concat(o,"px")})),r},o=t.prototype.initImg,t.prototype.initImg=function(){var t=this,e=o.apply(t);return t.options.videoSrc||(t.options.videoSrc=t.$item.getAttribute("data-jarallax-video")||null),t.options.videoSrc?(t.defaultInitImgResult=e,!0):e},r=t.prototype.canInitParallax,t.prototype.canInitParallax=function(){var t=this,e=r.apply(t);if(!t.options.videoSrc)return e;var i=new n.default(t.options.videoSrc,{autoplay:!0,loop:t.options.videoLoop,showContols:!1,startTime:t.options.videoStartTime||0,endTime:t.options.videoEndTime||0,mute:t.options.videoVolume?0:1,volume:t.options.videoVolume||0});function o(){t.image.$default_item&&(t.image.$item=t.image.$default_item,t.image.$item.style.display="block",t.coverImage(),t.clipContainer(),t.onScroll())}if(i.isValid())if(this.options.disableParallax()&&(e=!0,t.image.position="absolute",t.options.type="scroll",t.options.speed=1),e){if(i.on("ready",function(){var e;t.options.videoPlayOnlyVisible?(e=t.onScroll,t.onScroll=function(){e.apply(t),t.videoError||!t.options.videoLoop&&(t.options.videoLoop||t.videoEnded)||(t.isVisible()?i.play():i.pause())}):i.play()}),i.on("started",function(){t.image.$default_item=t.image.$item,t.image.$item=t.$video,t.image.width=t.video.videoWidth||1280,t.image.height=t.video.videoHeight||720,t.coverImage(),t.clipContainer(),t.onScroll(),t.image.$default_item&&(t.image.$default_item.style.display="none")}),i.on("ended",function(){t.videoEnded=!0,o()}),i.on("error",function(){t.videoError=!0,o()}),t.video=i,!t.defaultInitImgResult&&(t.image.src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7","local"!==i.type))return i.getImageURL(function(e){t.image.bgImage='url("'.concat(e,'")'),t.init()}),!1}else t.defaultInitImgResult||i.getImageURL(function(e){var i=t.$item.getAttribute("style");i&&t.$item.setAttribute("data-jarallax-original-styles",i),t.css(t.$item,{"background-image":'url("'.concat(e,'")'),"background-position":"center","background-size":"cover"})});return e},a=t.prototype.destroy,t.prototype.destroy=function(){var t=this;t.image.$default_item&&(t.image.$item=t.image.$default_item,delete t.image.$default_item),a.apply(t)})}}]);var piximations=function(t){"use strict";function e(){t(".pix-sliding-headline:not(.pix-ready)").each(function(e,i){var n=t(i).text().split(" "),o=t(i).attr("data-style"),s=t(i).attr("data-class"),r="";t.each(n,function(t,e){r+=o&&""!=o?'<span class="slide-in-container"><span class="d-inline-block group-animate-in" style="'+o+'" >'+e+"</span></span> ":'<span class="slide-in-container"><span class="d-inline-block group-animate-in '+s+'" >'+e+"</span></span> "});var a=!0;if(t("body").hasClass("pix-sections-stack")&&!window.vc_iframe&&t(i).closest(".pix-slides-section").length>0&&(a=!1,!t(i).closest(".pix-slides-section").hasClass("is-sticky-active")&&t(i).closest(".site-footer2").length<1))return!1;t(i).html(r),t(i).addClass("pix-ready");new Waypoint({element:i,offset:"100%",triggerOnce:a,handler:function(){var e=200;t(i).find(".group-animate-in").each(function(i,n){setTimeout(function(){t(n).addClass("animating").addClass("slide-in-up").removeClass("group-animate-in")},e),t(n).one("webkitAnimationEnd mozAnimationEnd MSAnimationEnd oanimationend animationend",function(){t(n).removeClass("animating").removeClass("slide-in-up").addClass("animated")}),e+=150}),this.destroy()}})})}var n=2500,o=3800,s=o-3e3,r=50,a=150,l=500,c=l+800,d=600,h=1500;function u(){var e,r;t(".pix-headline:not(.pix-ready).letters").find("span").each(function(){var e=t(this),n=e.text().split(""),o=e.hasClass("is-visible");for(i in n)e.parents(".rotate-2").length>0&&(n[i]="<em>"+n[i]+"</em>"),n[i]=o?'<i class="in">'+n[i]+"</i>":"<i>"+n[i]+"</i>";var s=n.join("");e.html(s).css("opacity",1)}),e=t(".pix-headline:not(.pix-ready)"),r=n,e.each(function(){var e=t(this);if(t(e).addClass("pix-ready"),e.hasClass("loading-bar")){r=o;var i=e.attr("data-color");i&&""!=i&&e.find(".pix-bar").css("background",i),setTimeout(function(){e.find(".pix-words-wrapper").addClass("is-loading")},s)}else if(e.hasClass("clip")){var n=e.find(".pix-words-wrapper"),a=n.width()+10;n.css("width",a)}else if(!e.hasClass("type")){e.find(".pix-words-wrapper span");var l=0;l=e.find(".pix-words-wrapper span").first().width(),e.find(".pix-words-wrapper span").first().height(),e.find(".pix-words-wrapper").width(l)}
1setTimeout(function(){p(e.find(".is-visible").eq(0))},r)})}function p(e){var i=g(e);if(e.parents(".pix-headline").hasClass("type")){var h=e.parent(".pix-words-wrapper");h.addClass("selected").removeClass("waiting"),setTimeout(function(){h.removeClass("selected"),e.removeClass("is-visible").addClass("is-hidden").children("i").removeClass("in").addClass("out")},l),setTimeout(function(){f(i,a)},c)}else if(e.parents(".pix-headline").hasClass("letters")){var u=e.children("i").length>=i.children("i").length;!function e(i,o,s,r){i.removeClass("in").addClass("out");i.is(":last-child")?s&&setTimeout(function(){p(g(o))},n):setTimeout(function(){e(i.next(),o,s,r)},r);if(i.is(":last-child")&&t("html").hasClass("no-csstransitions")){var a=g(o);v(o,a)}}(e.find("i").eq(0),e,u,r),m(i.find("i").eq(0),i,u,r)}else e.parents(".pix-headline").hasClass("clip")?e.parents(".pix-words-wrapper").animate({width:"2px"},d,function(){v(e,i),f(i)}):e.parents(".pix-headline").hasClass("loading-bar")?(e.parents(".pix-words-wrapper").removeClass("is-loading"),v(e,i),setTimeout(function(){p(i)},o),setTimeout(function(){e.parents(".pix-words-wrapper").addClass("is-loading")},s)):(v(e,i),setTimeout(function(){p(i)},n))}function f(t,e){t.parents(".pix-headline").hasClass("type")?(m(t.find("i").eq(0),t,!1,e),t.addClass("is-visible").removeClass("is-hidden")):t.parents(".pix-headline").hasClass("clip")&&t.parents(".pix-words-wrapper").animate({width:t.width()+10},d,function(){setTimeout(function(){p(t)},h)})}function m(t,e,i,o){t.addClass("in").removeClass("out"),t.is(":last-child")?(e.parents(".pix-headline").hasClass("type")&&setTimeout(function(){e.parents(".pix-words-wrapper").addClass("waiting")},200),i||setTimeout(function(){p(e)},n)):setTimeout(function(){m(t.next(),e,i,o)},o)}function g(t){return t.is(":last-child")||t.next().hasClass("pix-bar")?t.parent().children().eq(0):t.next()}function v(t,e){t.removeClass("is-visible").addClass("is-hidden");var i=e.width();t.parents(".pix-headline").hasClass("rotate-1"),t.parents(".pix-words-wrapper").width(i),e.removeClass("is-hidden").addClass("is-visible")}return{test:1,init:function(){return u(),e(),this},update:function(){u(),e()},play:function(e=!1){!function(e){e||(e=t("body"));e.find(".pix-sliding-headline:not(.pix-ready)").each(function(e,i){var n=t(i).text(),o=n.split(" "),s=t(i).attr("data-style"),r=t(i).attr("data-class"),a="";t.each(o,function(t,e){a+=s&&""!=s?'<span class="slide-in-container"><span class="d-inline-block group-animate-in" style="'+s+'" >'+e+"</span></span> ":'<span class="slide-in-container"><span class="d-inline-block group-animate-in '+r+'" >'+e+"</span></span> "}),t(i).html(a),t(i).addClass("pix-ready");var l=200;t(i).find(".group-animate-in").each(function(e,i){setTimeout(function(){t(i).addClass("animating").addClass("slide-in-up").removeClass("group-animate-in")},l),t(i).one("webkitAnimationEnd mozAnimationEnd MSAnimationEnd oanimationend animationend",function(){t(i).removeClass("animating").removeClass("slide-in-up").addClass("animated")}),l+=150})})}(e)}}}(jQuery);!function(t){"function"==typeof define&&define.amd?define(["jquery"],t):"object"==typeof module&&module.exports?module.exports=function(e,i){return void 0===i&&(i="undefined"!=typeof window?require("jquery"):require("jquery")(e)),t(i),i}:t(jQuery)}(function(t){var e=window;t.fn.confirm=function(i,n){return void 0===i&&(i={}),"string"==typeof i&&(i={content:i,title:n||!1}),t(this).each(function(){var n=t(this);n.attr("jc-attached")?console.warn("jConfirm has already been attached to this element ",n[0]):(n.on("click",function(o){o.preventDefault();var s=t.extend({},i);if(n.attr("data-title")&&(s.title=n.attr("data-title")),n.attr("data-content")&&(s.content=n.attr("data-content")),void 0===s.buttons&&(s.buttons={}),s.$target=n,n.attr("href")&&0===Object.keys(s.buttons).length){var r=t.extend(!0,{},e.jconfirm.pluginDefaults.defaultButtons,(e.jconfirm.defaults||{}).defaultButtons||{}),a=Object.keys(r)[0];s.buttons=r,s.buttons[a].action=function(){location.href=n.attr("href")}}s.closeIcon=!1;t.confirm(s)}),n.attr("jc-attached",!0))}),t(this)},t.confirm=function(i,n){void 0===i&&(i={}),"string"==typeof i&&(i={content:i,title:n||!1});var o=!(!1===i.buttons);if("object"!=typeof i.buttons&&(i.buttons={}),0===Object.keys(i.buttons).length&&o){var s=t.extend(!0,{},e.jconfirm.pluginDefaults.defaultButtons,(e.jconfirm.defaults||{}).defaultButtons||{});i.buttons=s}return e.jconfirm(i)},t.alert=function(i,n){void 0===i&&(i={}),"string"==typeof i&&(i={content:i,title:n||!1});var o=!(!1===i.buttons);if("object"!=typeof i.buttons&&(i.buttons={}),0===Object.keys(i.buttons).length&&o){var s=t.extend(!0,{},e.jconfirm.pluginDefaults.defaultButtons,(e.jconfirm.defaults||{}).defaultButtons||{}),r=Object.keys(s)[0];i.buttons[r]=s[r]}return e.jconfirm(i)},t.dialog=function(t,i){return void 0===t&&(t={}),"string"==typeof t&&(t={content:t,title:i||!1,closeIcon:function(){}}),t.buttons={},void 0===t.closeIcon&&(t.closeIcon=function(){}),t.confirmKeys=[13],e.jconfirm(t)},e.jconfirm=function(i){void 0===i&&(i={});var n=t.extend(!0,{},e.jconfirm.pluginDefaults);e.jconfirm.defaults&&(n=t.extend(!0,n,e.jconfirm.defaults)),n=t.extend(!0,{},n,i);var o=new e.Jconfirm(n);return e.jconfirm.instances.push(o),o},e.Jconfirm=function(e){t.extend(this,e),this._init()},e.Jconfirm.prototype={_init:function(){var i=this;e.jconfirm.instances.length||(e.jconfirm.lastFocused=t("body").find(":focus")),this._id=Math.round(99999*Math.random()),this.contentParsed=t(document.createElement("div")),this.lazyOpen||setTimeout(function(){i.open()},0)},_buildHTML:function(){var e=this;this._parseAnimation(this.animation,"o"),this._parseAnimation(this.closeAnimation,"c"),this._parseBgDismissAnimation(this.backgroundDismissAnimation),this._parseColumnClass(this.columnClass),this._parseTheme(this.theme),this._parseType(this.type);var i=t(this.template);
1i.find(".jconfirm-box").addClass(this.animationParsed).addClass(this.backgroundDismissAnimationParsed).addClass(this.typeParsed),this.typeAnimated&&i.find(".jconfirm-box").addClass("jconfirm-type-animated"),this.useBootstrap?(i.find(".jc-bs3-row").addClass(this.bootstrapClasses.row),i.find(".jc-bs3-row").addClass("justify-content-md-center justify-content-sm-center justify-content-xs-center justify-content-lg-center"),i.find(".jconfirm-box-container").addClass(this.columnClassParsed),this.containerFluid?i.find(".jc-bs3-container").addClass(this.bootstrapClasses.containerFluid):i.find(".jc-bs3-container").addClass(this.bootstrapClasses.container)):i.find(".jconfirm-box").css("width",this.boxWidth),this.titleClass&&i.find(".jconfirm-title-c").addClass(this.titleClass),i.addClass(this.themeParsed);var n="jconfirm-box"+this._id;i.find(".jconfirm-box").attr("aria-labelledby",n).attr("tabindex",-1),i.find(".jconfirm-content").attr("id",n),null!==this.bgOpacity&&i.find(".jconfirm-bg").css("opacity",this.bgOpacity),this.rtl&&i.addClass("jconfirm-rtl"),this.$el=i.appendTo(this.container),this.$jconfirmBoxContainer=this.$el.find(".jconfirm-box-container"),this.$jconfirmBox=this.$body=this.$el.find(".jconfirm-box"),this.$jconfirmBg=this.$el.find(".jconfirm-bg"),this.$title=this.$el.find(".jconfirm-title"),this.$titleContainer=this.$el.find(".jconfirm-title-c"),this.$content=this.$el.find("div.jconfirm-content"),this.$contentPane=this.$el.find(".jconfirm-content-pane"),this.$icon=this.$el.find(".jconfirm-icon-c"),this.$closeIcon=this.$el.find(".jconfirm-closeIcon"),this.$holder=this.$el.find(".jconfirm-holder"),this.$btnc=this.$el.find(".jconfirm-buttons"),this.$scrollPane=this.$el.find(".jconfirm-scrollpane"),e.setStartingPoint(),this._contentReady=t.Deferred(),this._modalReady=t.Deferred(),this.$holder.css({"padding-top":this.offsetTop,"padding-bottom":this.offsetBottom}),this.setTitle(),this.setIcon(),this._setButtons(),this._parseContent(),this.initDraggable(),this.isAjax&&this.showLoading(!1),t.when(this._contentReady,this._modalReady).then(function(){e.isAjaxLoading?setTimeout(function(){e.isAjaxLoading=!1,e.setContent(),e.setTitle(),e.setIcon(),setTimeout(function(){e.hideLoading(!1),e._updateContentMaxHeight()},100),"function"==typeof e.onContentReady&&e.onContentReady()},50):(e._updateContentMaxHeight(),e.setTitle(),e.setIcon(),"function"==typeof e.onContentReady&&e.onContentReady()),e.autoClose&&e._startCountDown()}).then(function(){e._watchContent()}),"none"===this.animation&&(this.animationSpeed=1,this.animationBounce=1),this.$body.css(this._getCSS(this.animationSpeed,this.animationBounce)),this.$contentPane.css(this._getCSS(this.animationSpeed,1)),this.$jconfirmBg.css(this._getCSS(this.animationSpeed,1)),this.$jconfirmBoxContainer.css(this._getCSS(this.animationSpeed,1))},_typePrefix:"jconfirm-type-",typeParsed:"",_parseType:function(t){this.typeParsed=this._typePrefix+t},setType:function(t){var e=this.typeParsed;this._parseType(t),this.$jconfirmBox.removeClass(e).addClass(this.typeParsed)},themeParsed:"",_themePrefix:"jconfirm-",setTheme:function(t){var e=this.theme;this.theme=t||this.theme,this._parseTheme(this.theme),e&&this.$el.removeClass(e),this.$el.addClass(this.themeParsed),this.theme=t},_parseTheme:function(e){var i=this;e=e.split(","),t.each(e,function(n,o){-1===o.indexOf(i._themePrefix)&&(e[n]=i._themePrefix+t.trim(o))}),this.themeParsed=e.join(" ").toLowerCase()},backgroundDismissAnimationParsed:"",_bgDismissPrefix:"jconfirm-hilight-",_parseBgDismissAnimation:function(e){var i=e.split(","),n=this;t.each(i,function(e,o){-1===o.indexOf(n._bgDismissPrefix)&&(i[e]=n._bgDismissPrefix+t.trim(o))}),this.backgroundDismissAnimationParsed=i.join(" ").toLowerCase()},animationParsed:"",closeAnimationParsed:"",_animationPrefix:"jconfirm-animation-",setAnimation:function(t){this.animation=t||this.animation,this._parseAnimation(this.animation,"o")},_parseAnimation:function(e,i){i=i||"o";var n=e.split(","),o=this;t.each(n,function(e,i){-1===i.indexOf(o._animationPrefix)&&(n[e]=o._animationPrefix+t.trim(i))});var s=n.join(" ").toLowerCase();return"o"===i?this.animationParsed=s:this.closeAnimationParsed=s,s},setCloseAnimation:function(t){this.closeAnimation=t||this.closeAnimation,this._parseAnimation(this.closeAnimation,"c")},setAnimationSpeed:function(t){this.animationSpeed=t||this.animationSpeed},columnClassParsed:"",setColumnClass:function(t){this.useBootstrap?(this.columnClass=t||this.columnClass,this._parseColumnClass(this.columnClass),this.$jconfirmBoxContainer.addClass(this.columnClassParsed)):console.warn("cannot set columnClass, useBootstrap is set to false")},_updateContentMaxHeight:function(){var e=t(window).height()-(this.$jconfirmBox.outerHeight()-this.$contentPane.outerHeight())-(this.offsetTop+this.offsetBottom);this.$contentPane.css({"max-height":e+"px"})},setBoxWidth:function(t){this.useBootstrap?console.warn("cannot set boxWidth, useBootstrap is set to true"):(this.boxWidth=t,this.$jconfirmBox.css("width",t))},_parseColumnClass:function(t){var e;switch(t=t.toLowerCase()){case"xl":case"xlarge":e="col-md-12";break;case"l":case"large":e="col-md-8 col-md-offset-2";break;case"m":case"medium":e="col-md-6 col-md-offset-3";break;case"s":case"small":e="col-md-4 col-md-offset-4";break;case"xs":case"xsmall":e="col-md-2 col-md-offset-5";break;default:e=t}this.columnClassParsed=e},initDraggable:function(){var e=this,i=this.$titleContainer;this.resetDrag(),this.draggable&&(i.on("mousedown",function(t){i.addClass("jconfirm-hand"),e.mouseX=t.clientX,e.mouseY=t.clientY,e.isDrag=!0}),t(window).on("mousemove."+this._id,function(t){e.isDrag&&(e.movingX=t.clientX-e.mouseX+e.initialX,e.movingY=t.clientY-e.mouseY+e.initialY,e.setDrag())}),t(window).on("mouseup."+this._id,function(){i.removeClass("jconfirm-hand"),e.isDrag&&(e.isDrag=!1,e.initialX=e.movingX,e.initialY=e.movingY)}))},resetDrag:function(){this.isDrag=!1,this.initialX=0,this.initialY=0,this.movingX=0,this.movingY=0,this.mouseX=0,this.mouseY=0,this.$jconfirmBoxContainer.css("transform","translate(0px, 0px)")},setDrag:function(){if(this.draggable){this.alignMiddle=!1;var e=this.$jconfirmBox.outerWidth(),i=this.$jconfirmBox.outerHeight(),n=t(window).width(),o=t(window).height();if(this.movingX%1==0||this.movingY%1==0){if(this.dragWindowBorder){var s=n/2-e/2,r=o/2-i/2;r-=this.dragWindowGap,(s-=this.dragWindowGap)+this.movingX<0?this.movingX=-s:s-this.movingX<0&&(this.movingX=s),r+this.movingY<0?this.movingY=-r:r-this.movingY<0&&(this.movingY=r)}this.$jconfirmBoxContainer.css("transform","translate("+this.movingX+"px, "+this.movingY+"px)")}}},_scrollTop:function(){if("undefined"!=typeof pageYOffset)return pageYOffset;var t=document.body,e=document.documentElement;return(e=e.clientHeight?e:t).scrollTop},_watchContent:function(){var e=this;this._timer&&clearInterval(this._timer);var i=0;this._timer=setInterval(function(){if(e.smoothContent){var n=e.$content.outerHeight()||0;n!==i&&(i=n);var o=t(window).height();e.offsetTop+e.offsetBottom+e.$jconfirmBox.height()-e.$contentPane.height()+e.$content.height()<o?e.$contentPane.addClass("no-scroll"):e.$contentPane.removeClass("no-scroll")}},this.watchInterval)},_overflowClass:"jconfirm-overflow",_hilightAnimating:!1,highlight:function(){this.hiLightModal()},hiLightModal:function(){var t=this;if(!this._hilightAnimating){t.$body.addClass("hilight");var e=parseFloat(t.$body.css("animation-duration"))||2;this._hilightAnimating=!0,setTimeout(function(){t._hilightAnimating=!1,t.$body.removeClass("hilight")},1e3*e)}},_bindEvents:function(){var e=this;this.boxClicked=!1,this.$scrollPane.click(function(t){if(!e.boxClicked){var i,n=!1,o=!1;if("string"==typeof(i="function"==typeof e.backgroundDismiss?e.backgroundDismiss():e.backgroundDismiss)&&void 0!==e.buttons[i]?(n=i,o=!1):o=void 0===i||!0==!!i,n){var s=e.buttons[n].action.apply(e);o=void 0===s||!!s}o?e.close():e.hiLightModal()}e.boxClicked=!1}),this.$jconfirmBox.click(function(t){e.boxClicked=!0});var i=!1;t(window).on("jcKeyDown."+e._id,function(t){i||(i=!0)}),t(window).on("keyup."+e._id,function(t){i&&(e.reactOnKey(t),i=!1)}),t(window).on("resize."+this._id,function(){e._updateContentMaxHeight(),setTimeout(function(){e.resetDrag()},100)})},_cubic_bezier:"0.36, 0.55, 0.19",_getCSS:function(t,e){return{"-webkit-transition-duration":t/1e3+"s","transition-duration":t/1e3+"s","-webkit-transition-timing-function":"cubic-bezier("+this._cubic_bezier+", "+e+")","transition-timing-function":"cubic-bezier("+this._cubic_bezier+", "+e+")"}},_setButtons:function(){var e=this,i=0;if("object"!=typeof this.buttons&&(this.buttons={}),t.each(this.buttons,function(n,o){i+=1,"function"==typeof o&&(e.buttons[n]=o={action:o}),e.buttons[n].text=o.text||n,e.buttons[n].btnClass=o.btnClass||"btn-default",e.buttons[n].action=o.action||function(){},e.buttons[n].keys=o.keys||[],e.buttons[n].isHidden=o.isHidden||!1,e.buttons[n].isDisabled=o.isDisabled||!1,t.each(e.buttons[n].keys,function(t,i){e.buttons[n].keys[t]=i.toLowerCase()});var s=t('<button type="button" class="btn"></button>').html(e.buttons[n].text).addClass(e.buttons[n].btnClass).prop("disabled",e.buttons[n].isDisabled).css("display",e.buttons[n].isHidden?"none":"").click(function(t){t.preventDefault();var i=e.buttons[n].action.apply(e,[e.buttons[n]]);e.onAction.apply(e,[n,e.buttons[n]]),e._stopCountDown(),(void 0===i||i)&&e.close()});e.buttons[n].el=s,e.buttons[n].setText=function(t){s.html(t)},e.buttons[n].addClass=function(t){s.addClass(t)},e.buttons[n].removeClass=function(t){s.removeClass(t)},e.buttons[n].disable=function(){e.buttons[n].isDisabled=!0,s.prop("disabled",!0)},e.buttons[n].enable=function(){e.buttons[n].isDisabled=!1,s.prop("disabled",!1)},e.buttons[n].show=function(){e.buttons[n].isHidden=!1,s.css("display","")},e.buttons[n].hide=function(){e.buttons[n].isHidden=!0,s.css("display","none")},e["$_"+n]=e["$$"+n]=s,e.$btnc.append(s)}),0===i&&this.$btnc.hide(),null===this.closeIcon&&0===i&&(this.closeIcon=!0),this.closeIcon){if(this.closeIconClass){var n='<i class="'+this.closeIconClass+'"></i>';this.$closeIcon.html(n)}this.$closeIcon.click(function(t){t.preventDefault();var i,n=!1,o=!1;if("string"==typeof(i="function"==typeof e.closeIcon?e.closeIcon():e.closeIcon)&&void 0!==e.buttons[i]?(n=i,o=!1):o=void 0===i||!0==!!i,n){var s=e.buttons[n].action.apply(e);o=void 0===s||!!s}o&&e.close()}),this.$closeIcon.show()}else this.$closeIcon.hide()},setTitle:function(t,e){if(e=e||!1,void 0!==t)if("string"==typeof t)this.title=t;else if("function"==typeof t){"function"==typeof t.promise&&console.error("Promise was returned from title function, this is not supported.");var i=t();this.title="string"==typeof i&&i}else this.title=!1;this.isAjaxLoading&&!e||(this.$title.html(this.title||""),this.updateTitleContainer())},setIcon:function(t,e){if(e=e||!1,void 0!==t)if("string"==typeof t)this.icon=t;else if("function"==typeof t){var i=t();this.icon="string"==typeof i&&i}else this.icon=!1;this.isAjaxLoading&&!e||(this.$icon.html(this.icon?'<i class="'+this.icon+'"></i>':""),this.updateTitleContainer())},updateTitleContainer:function(){this.title||this.icon?this.$titleContainer.show():this.$titleContainer.hide()},setContentPrepend:function(t,e){t&&this.contentParsed.prepend(t)},setContentAppend:function(t){t&&this.contentParsed.append(t)},setContent:function(t,e){e=!!e;var i=this;t&&this.contentParsed.html("").append(t),this.isAjaxLoading&&!e||(this.$content.html(""),this.$content.append(this.contentParsed),setTimeout(function(){i.$body.find("input[autofocus]:visible:first").focus()},100))},loadingSpinner:!1,showLoading:function(t){this.loadingSpinner=!0,this.$jconfirmBox.addClass("loading"),t&&this.$btnc.find("button").prop("disabled",!0)},hideLoading:function(t){this.loadingSpinner=!1,this.$jconfirmBox.removeClass("loading"),t&&this.$btnc.find("button").prop("disabled",!1)},ajaxResponse:!1,contentParsed:"",isAjax:!1,isAjaxLoading:!1,_parseContent:function(){var e=this,i=" ";if("function"==typeof this.content){var n=this.content.apply(this);"string"==typeof n?this.content=n:"object"==typeof n&&"function"==typeof n.always?(this.isAjax=!0,this.isAjaxLoading=!0,n.always(function(t,i,n){e.ajaxResponse={data:t,status:i,xhr:n},e._contentReady.resolve(t,i,n),"function"==typeof e.contentLoaded&&e.contentLoaded(t,i,n)}),this.content=i):this.content=i}if("string"==typeof this.content&&"url:"===this.content.substr(0,4).toLowerCase()){this.isAjax=!0,this.isAjaxLoading=!0;var o=this.content.substring(4,this.content.length);t.get(o).done(function(t){e.contentParsed.html(t)}).always(function(t,i,n){e.ajaxResponse={data:t,status:i,xhr:n},e._contentReady.resolve(t,i,n),"function"==typeof e.contentLoaded&&e.contentLoaded(t,i,n)})}this.content||(this.content=i),this.isAjax||(this.contentParsed.html(this.content),this.setContent(),e._contentReady.resolve())},_stopCountDown:function(){clearInterval(this.autoCloseInterval),this.$cd&&this.$cd.remove()},_startCountDown:function(){var e=this,i=this.autoClose.split("|");if(2!==i.length)return console.error("Invalid option for autoClose. example 'close|
110000'"),!1;var n=i[0],o=parseInt(i[1]);if(void 0===this.buttons[n])return console.error("Invalid button key '"+n+"' for autoClose"),!1;var s=Math.ceil(o/1e3);this.$cd=t('<span class="countdown"> ('+s+")</span>").appendTo(this["$_"+n]),this.autoCloseInterval=setInterval(function(){e.$cd.html(" ("+(s-=1)+") "),s<=0&&(e["$$"+n].trigger("click"),e._stopCountDown())},1e3)},_getKey:function(t){switch(t){case 192:return"tilde";case 13:return"enter";case 16:return"shift";case 9:return"tab";case 20:return"capslock";case 17:return"ctrl";case 91:return"win";case 18:return"alt";case 27:return"esc";case 32:return"space"}var e=String.fromCharCode(t);return!!/^[A-z0-9]+$/.test(e)&&e.toLowerCase()},reactOnKey:function(e){var i=this,n=t(".jconfirm");if(n.eq(n.length-1)[0]!==this.$el[0])return!1;var o=e.which;if(this.$content.find(":input").is(":focus")&&/13|32/.test(o))return!1;var s,r=this._getKey(o);"esc"===r&&this.escapeKey&&(!0===this.escapeKey?this.$scrollPane.trigger("click"):"string"!=typeof this.escapeKey&&"function"!=typeof this.escapeKey||(s="function"==typeof this.escapeKey?this.escapeKey():this.escapeKey)&&(void 0===this.buttons[s]?console.warn("Invalid escapeKey, no buttons found with key "+s):this["$_"+s].trigger("click")));t.each(this.buttons,function(t,e){-1!==e.keys.indexOf(r)&&i["$_"+t].trigger("click")})},setDialogCenter:function(){console.info("setDialogCenter is deprecated, dialogs are centered with CSS3 tables")},_unwatchContent:function(){clearInterval(this._timer)},close:function(i){var n=this;return"function"==typeof this.onClose&&this.onClose(i),this._unwatchContent(),t(window).unbind("resize."+this._id),t(window).unbind("keyup."+this._id),t(window).unbind("jcKeyDown."+this._id),this.draggable&&(t(window).unbind("mousemove."+this._id),t(window).unbind("mouseup."+this._id),this.$titleContainer.unbind("mousedown")),n.$el.removeClass(n.loadedClass),t("body").removeClass("jconfirm-no-scroll-"+n._id),n.$jconfirmBoxContainer.removeClass("jconfirm-no-transition"),setTimeout(function(){n.$body.addClass(n.closeAnimationParsed),n.$jconfirmBg.addClass("jconfirm-bg-h");var i="none"===n.closeAnimation?1:n.animationSpeed;setTimeout(function(){n.$el.remove();e.jconfirm.instances;for(var i=e.jconfirm.instances.length-1;i>=0;i--)e.jconfirm.instances[i]._id===n._id&&e.jconfirm.instances.splice(i,1);if(!e.jconfirm.instances.length&&n.scrollToPreviousElement&&e.jconfirm.lastFocused&&e.jconfirm.lastFocused.length&&t.contains(document,e.jconfirm.lastFocused[0])){var o=e.jconfirm.lastFocused;if(n.scrollToPreviousElementAnimate){var s=t(window).scrollTop(),r=e.jconfirm.lastFocused.offset().top,a=t(window).height();if(r>s&&r<s+a)o.focus();else{var l=r-Math.round(a/3);t("html, body").animate({scrollTop:l},n.animationSpeed,"swing",function(){o.focus()})}}else o.focus();e.jconfirm.lastFocused=!1}"function"==typeof n.onDestroy&&n.onDestroy()},.4*i)},50),!0},open:function(){return!this.isOpen()&&(this._buildHTML(),this._bindEvents(),this._open(),!0)},setStartingPoint:function(){var i=!1;if(!0!==this.animateFromElement&&this.animateFromElement)i=this.animateFromElement,e.jconfirm.lastClicked=!1;else{if(!e.jconfirm.lastClicked||!0!==this.animateFromElement)return!1;i=e.jconfirm.lastClicked,e.jconfirm.lastClicked=!1}if(!i)return!1;var n=i.offset(),o=i.outerHeight()/2,s=i.outerWidth()/2;o-=this.$jconfirmBox.outerHeight()/2,s-=this.$jconfirmBox.outerWidth()/2;var r=n.top+o;r-=this._scrollTop();var a=n.left+s,l=t(window).height()/2,c=t(window).width()/2;if(r-=l-this.$jconfirmBox.outerHeight()/2,a-=c-this.$jconfirmBox.outerWidth()/2,Math.abs(r)>l||Math.abs(a)>c)return!1;this.$jconfirmBoxContainer.css("transform","translate("+a+"px, "+r+"px)")},_open:function(){var t=this;"function"==typeof t.onOpenBefore&&t.onOpenBefore(),this.$body.removeClass(this.animationParsed),this.$jconfirmBg.removeClass("jconfirm-bg-h"),this.$body.focus(),t.$jconfirmBoxContainer.css("transform","translate(0px, 0px)"),setTimeout(function(){t.$body.css(t._getCSS(t.animationSpeed,1)),t.$body.css({"transition-property":t.$body.css("transition-property")+", margin"}),t.$jconfirmBoxContainer.addClass("jconfirm-no-transition"),t._modalReady.resolve(),"function"==typeof t.onOpen&&t.onOpen(),t.$el.addClass(t.loadedClass)},this.animationSpeed)},loadedClass:"jconfirm-open",isClosed:function(){return!this.$el||0===this.$el.parent().length},isOpen:function(){return!this.isClosed()},toggle:function(){this.isOpen()?this.close():this.open()}},e.jconfirm.instances=[],e.jconfirm.lastFocused=!1,e.jconfirm.pluginDefaults={template:'<div class="jconfirm">
1<div class="jconfirm-bg jconfirm-bg-h"></div><div class="jconfirm-scrollpane"><div class="jconfirm-row"><div class="jconfirm-cell"><div class="jconfirm-holder"><div class="jc-bs3-container"><div class="jc-bs3-row"><div class="jconfirm-box-container jconfirm-animated"><div class="jconfirm-box" role="dialog" aria-labelledby="labelled" tabindex="-1"><div class="jconfirm-closeIcon">×</div><div class="jconfirm-title-c"><span class="jconfirm-icon-c"></span><span class="jconfirm-title"></span></div><div class="jconfirm-content-pane"><div class="jconfirm-content"></div></div><div class="jconfirm-buttons"></div><div class="jconfirm-clear"></div></div></div></div></div></div></div></div></div></div>',title:"Hello",titleClass:"",type:"default",typeAnimated:!0,draggable:!0,dragWindowGap:15,dragWindowBorder:!0,animateFromElement:!0,alignMiddle:!0,smoothContent:!0,content:"Are you sure to continue?",buttons:{},defaultButtons:{ok:{action:function(){}},close:{action:function(){}}},contentLoaded:function(){},icon:"",lazyOpen:!1,bgOpacity:null,theme:"light",animation:"scale",closeAnimation:"scale",animationSpeed:400,animationBounce:1,escapeKey:!0,rtl:!1,container:"body",containerFluid:!1,backgroundDismiss:!1,backgroundDismissAnimation:"shake",autoClose:!1,closeIcon:null,closeIconClass:!1,watchInterval:100,columnClass:"col-md-4 col-md-offset-4 col-sm-6 col-sm-offset-3 col-xs-10 col-xs-offset-1",boxWidth:"50%",scrollToPreviousElement:!0,scrollToPreviousElementAnimate:!0,useBootstrap:!0,offsetTop:40,offsetBottom:40,bootstrapClasses:{container:"container",containerFluid:"container-fluid",row:"row"},onContentReady:function(){},onOpenBefore:function(){},onOpen:function(){},onClose:function(){},onDestroy:function(){},onAction:function(){}};var i=!1;t(window).on("keydown",function(e){if(!i){var n=!1;t(e.target).closest(".jconfirm-box").length&&(n=!0),n&&t(window).trigger("jcKeyDown"),i=!0}}),t(window).on("keyup",function(){i=!1}),e.jconfirm.lastClicked=!1,t(document).on("mousedown","button, a, [jc-source]",function(){e.jconfirm.lastClicked=t(this)})});const ease={exponentialIn:t=>0==t?t:Math.pow(2,10*(t-1)),exponentialOut:t=>1==t?t:1-Math.pow(2,-10*t),exponentialInOut:t=>0==t||1==t?t:t<.5?.5*Math.pow(2,20*t-10):-.5*Math.pow(2,10-20*t)+1,sineOut:t=>{return Math.sin(1.5707963267948966*t)},circularInOut:t=>t<.5?.5*(1-Math.sqrt(1-4*t*t)):.5*(Math.sqrt((3-2*t)*(2*t-1))+1),cubicIn:t=>t*t*t,cubicOut:t=>{const e=t-1;return e*e*e+1},cubicInOut:t=>t<.5?4*t*t*t:.5*Math.pow(2*t-2,3)+1,quadraticOut:t=>-t*(t-2),quarticOut:t=>Math.pow(t-1,3)*(1-t)+1};class ShapeOverlays{constructor(t){t&&(this.elm=t,this.path=t.querySelectorAll("path"),this.numPoints=10,this.duration=700,this.delayPointsArray=[],this.delayPointsMax=300,this.delayPerPath=250,this.timeStart=Date.now(),this.isOpened=!1,this.isAnimating=!1,this.type="pix-overlay-6",document.getElementsByTagName("body")[0].getAttribute("data-pix-overlay")&&(this.type=document.getElementsByTagName("body")[0].getAttribute("data-pix-overlay")),"pix-overlay-1"==this.type&&(this.numPoints=18,this.duration=500,this.delayPointsMax=300,this.delayPerPath=100),"pix-overlay-2"==this.type&&(this.numPoints=4,this.duration=600,this.delayPointsMax=180,this.delayPerPath=70),"pix-overlay-3"==this.type&&(this.numPoints=2,this.duration=500,this.delayPointsMax=0,this.delayPerPath=200),"pix-overlay-4"==this.type&&(this.numPoints=4,this.duration=900,this.delayPointsMax=0,this.delayPerPath=60),"pix-overlay-5"==this.type&&(this.numPoints=85,this.duration=400,this.delayPointsMax=300,this.delayPerPath=150))}toggle(){if(this.isAnimating=!0,"pix-overlay-1"==this.type){const e=4*Math.random()+6;for(var t=0;t<this.numPoints;t++){const i=t/(this.numPoints-1)*Math.PI;this.delayPointsArray[t]=(Math.sin(-i)+Math.sin(-i*e)+2)/4*this.delayPointsMax}}if("pix-overlay-2"==this.type){const e=Math.random()*Math.PI*2;for(t=0;t<this.numPoints;t++){const i=t/(this.numPoints-1)*Math.PI*2;this.delayPointsArray[t]=(Math.sin(i+e)+1)/2*this.delayPointsMax}}if("pix-overlay-3"==this.type||"pix-overlay-4"==this.type)for(t=0;t<this.numPoints;t++)this.delayPointsArray[t]=0;if("pix-overlay-5"==this.type||"pix-overlay-6"==this.type)for(t=0;t<this.numPoints;
1t++)this.delayPointsArray[t]=Math.random()*this.delayPointsMax;!1===this.isOpened?this.open():this.close()}open(){this.isOpened=!0,this.elm.classList.add("is-opened"),this.timeStart=Date.now(),this.renderLoop()}close(){this.isOpened=!1,this.elm.classList.remove("is-opened"),this.timeStart=Date.now(),this.renderLoop()}updatePath(t){const e=[];let i="";if("pix-overlay-1"==this.type||"pix-overlay-2"==this.type){for(var n=0;n<this.numPoints+1;n++)e[n]=100*ease.cubicInOut(Math.min(Math.max(t-this.delayPointsArray[n],0)/this.duration,1));i+=this.isOpened?`M 0 0 V ${e[0]} `:`M 0 ${e[0]} `;for(n=0;n<this.numPoints-1;n++){const t=(n+1)/(this.numPoints-1)*100,o=t-1/(this.numPoints-1)*100/2;i+=`C ${o} ${e[n]} ${o} ${e[n+1]} ${t} ${e[n+1]} `}i+=this.isOpened?"V 0 H 0":"V 100 H 0"}if("pix-overlay-3"==this.type){for(n=0;n<this.numPoints;n++){const i=this.isOpened?1==n?ease.cubicOut:ease.cubicInOut:1==n?ease.cubicInOut:ease.cubicOut;e[n]=100*i(Math.min(Math.max(t-this.delayPointsArray[n],0)/this.duration,1))}i+=this.isOpened?`M 0 0 V ${e[0]} `:`M 0 ${e[0]} `;for(n=0;n<this.numPoints-1;n++){const t=(n+1)/(this.numPoints-1)*100,o=t-1/(this.numPoints-1)*100/2;i+=`C ${o} ${e[n]} ${o} ${e[n+1]} ${t} ${e[n+1]} `}i+=this.isOpened?"V 0 H 0":"V 100 H 0"}if("pix-overlay-4"==this.type){for(n=0;n<this.numPoints;n++){const i=n%2==1?ease.sineOut:ease.exponentialInOut;e[n]=100*(1-i(Math.min(Math.max(t-this.delayPointsArray[n],0)/this.duration,1)))}i+=this.isOpened?`M 0 0 H ${e[0]}`:`M ${e[0]} 0`;for(n=0;n<this.numPoints-1;n++){const t=(n+1)/(this.numPoints-1)*100,o=t-1/(this.numPoints-1)*100/2;i+=`C ${e[n]} ${o} ${e[n+1]} ${o} ${e[n+1]} ${t} `}i+=this.isOpened?"H 100 V 0":"H 0 V 0"}if("pix-overlay-5"==this.type){for(n=0;n<this.numPoints;n++)e[n]=100*(1-ease.cubicInOut(Math.min(Math.max(t-this.delayPointsArray[n],0)/this.duration,1)));i+=this.isOpened?`M 0 0 H ${e[0]}`:`M ${e[0]} 0`;for(n=0;n<this.numPoints-1;n++){const t=(n+1)/(this.numPoints-1)*100,o=t-1/(this.numPoints-1)*100/2;i+=`C ${e[n]} ${o} ${e[n+1]} ${o} ${e[n+1]} ${t} `}i+=this.isOpened?"H 100 V 0":"H 0 V 0"}if("pix-overlay-6"==this.type){for(n=0;n<this.numPoints;n++)e[n]=100*(1-ease.cubicInOut(Math.min(Math.max(t-this.delayPointsArray[n],0)/this.duration,1)));i+=this.isOpened?`M 0 0 V ${e[0]}`:`M 0 ${e[0]} `;for(n=0;n<this.numPoints-1;n++){const t=(n+1)/(this.numPoints-1)*100,o=t-1/(this.numPoints-1)*100/2;i+=`C ${o} ${e[n]} ${o} ${e[n+1]} ${t} ${e[n+1]} `}i+=this.isOpened?"V 100 H 0":"V 0 H 0"}return i}render(){if(this.isOpened)for(var t=0;t<this.path.length;t++)this.path[t].setAttribute("d",this.updatePath(Date.now()-(this.timeStart+this.delayPerPath*t)));else for(t=0;t<this.path.length;t++)this.path[t].setAttribute("d",this.updatePath(Date.now()-(this.timeStart+this.delayPerPath*(this.path.length-t-1))))}renderLoop(){this.render(),Date.now()-this.timeStart<this.duration+this.delayPerPath*(this.path.length-1)+this.delayPointsMax?requestAnimationFrame(()=>{this.renderLoop()}):this.isAnimating=!1}}class dividerShapes{constructor(t){this.elm=t,this.path=t.querySelectorAll("path"),this.numPoints=3,this.speed=.4,this.paths=[],this.pointsDir=[],this.pathsDir=[],this.min=20,this.max=80}initPoints(){for(var t=0;t<this.path.length;t++){let i=[],n=[];this.getRndInteger(this.min+1,this.max-1);const o=Math.random()*Math.PI*2;for(var e=0;e<this.numPoints;e++){n[e]=this.getRndInteger(0,1);const t=e/(this.numPoints-1)*Math.PI*2;i[e]=(Math.sin(t+o)+1)/2*100}this.paths[t]=i,this.pathsDir[t]=n}for(e=0;e<this.path.length;e++){let i="";i+=`M 0 ${this.paths[e][0]} `;for(t=0;t<this.numPoints-1;t++){const n=(t+1)/(this.numPoints-1)*100,o=n-1/(this.numPoints-1)*100/2;i+=`C ${o} ${this.paths[e][t]} ${o} ${this.paths[e][t+1]} ${n} ${this.paths[e][t+1]} `}i+="V 100 H 0",this.path[e].setAttribute("d",i)}this.loop()}loop(){var t=this;setTimeout(function(){if(window.isInViewport(t.elm))for(var e=0;e<t.path.length;e++){for(var i=0;i<t.numPoints;i++){var n=t.getRndInteger(0,40)/100;t.pathsDir[e][i]>0?(t.paths[e][i]+=Math.abs(Math.sin((t.paths[e][i]-t.min)/(t.max-t.min)*Math.PI))*t.speed+n,t.paths[e][i]>=(0==e?t.max-10:t.max)&&(t.pathsDir[e][i]=0)):(t.paths[e][i]-=Math.abs(Math.sin((t.max-t.paths[e][i]-t.min)/(t.max-t.min)*Math.PI))*t.speed+n,t.paths[e][i]<=t.min&&(t.pathsDir[e][i]=1))}let o="";o+=`M 0 ${t.paths[e][0]} `;for(i=0;i<t.numPoints-1;i++){const n=(i+1)/(t.numPoints-1)*100,s=n-1/(t.numPoints-1)*100/2;o+=`C ${s} ${t.paths[e][i]} ${s} ${t.paths[e][i+1]} ${n} ${t.paths[e][i+1]} `}o+="V 100 H 0",t.path[e].setAttribute("d",o)}t.loop()},40)}getRndInteger(t,e){return Math.floor(Math.random()*(e-t))+t}}
1jQuery(document).ready(function(t){navigator.userAgent.toLowerCase().indexOf("trident");window.init_pix_maps=function(){if("undefined"==typeof google)return!1;t(".pix-google-map").each(function(e,i){var n="#1274E7";t(i).attr("data-color")&&(n=t(i).attr("data-color"));var o=-40,s=5,r=45.739899,a=4.818875,l=14;t(i).attr("data-latitude")&&(r=t(i).attr("data-latitude")),t(i).attr("data-longitude")&&(a=t(i).attr("data-longitude")),t(i).attr("data-map-zoom")&&(l=t(i).attr("data-map-zoom")),t(i).attr("data-saturation")&&(o=t(i).attr("data-saturation")),t(i).attr("data-brightness")&&(s=t(i).attr("data-brightness"));var c="";t(i).attr("data-marker")&&(c=t(i).attr("data-marker"));var d="custom";t(i).attr("data-style")&&(d=t(i).attr("data-style"));var h={standard:[],silver:[{elementType:"geometry",stylers:[{color:"#f5f5f5"}]},{elementType:"labels.icon",stylers:[{visibility:"off"}]},{elementType:"labels.text.fill",stylers:[{color:"#616161"}]},{elementType:"labels.text.stroke",stylers:[{color:"#f5f5f5"}]},{featureType:"administrative.land_parcel",elementType:"labels.text.fill",stylers:[{color:"#bdbdbd"}]},{featureType:"poi",elementType:"geometry",stylers:[{color:"#eeeeee"}]},{featureType:"poi",elementType:"labels.text.fill",stylers:[{color:"#757575"}]},{featureType:"poi.park",elementType:"geometry",stylers:[{color:"#e5e5e5"}]},{featureType:"poi.park",elementType:"labels.text.fill",stylers:[{color:"#9e9e9e"}]},{featureType:"road",elementType:"geometry",stylers:[{color:"#ffffff"}]},{featureType:"road.arterial",elementType:"labels.text.fill",stylers:[{color:"#757575"}]},{featureType:"road.highway",elementType:"geometry",stylers:[{color:"#dadada"}]},{featureType:"road.highway",elementType:"labels.text.fill",stylers:[{color:"#616161"}]},{featureType:"road.local",elementType:"labels.text.fill",stylers:[{color:"#9e9e9e"}]},{featureType:"transit.line",elementType:"geometry",stylers:[{color:"#e5e5e5"}]},{featureType:"transit.station",elementType:"geometry",stylers:[{color:"#eeeeee"}]},{featureType:"water",elementType:"geometry",stylers:[{color:"#c9c9c9"}]},{featureType:"water",elementType:"labels.text.fill",stylers:[{color:"#9e9e9e"}]}],retro:[{elementType:"geometry",stylers:[{color:"#ebe3cd"}]},{elementType:"labels.text.fill",stylers:[{color:"#523735"}]},{elementType:"labels.text.stroke",stylers:[{color:"#f5f1e6"}]},{featureType:"administrative",elementType:"geometry.stroke",stylers:[{color:"#c9b2a6"}]},{featureType:"administrative.land_parcel",elementType:"geometry.stroke",stylers:[{color:"#dcd2be"}]},{featureType:"administrative.land_parcel",elementType:"labels.text.fill",stylers:[{color:"#ae9e90"}]},{featureType:"landscape.natural",elementType:"geometry",stylers:[{color:"#dfd2ae"}]},{featureType:"poi",elementType:"geometry",stylers:[{color:"#dfd2ae"}]},{featureType:"poi",elementType:"labels.text.fill",stylers:[{color:"#93817c"}]},{featureType:"poi.park",elementType:"geometry.fill",stylers:[{color:"#a5b076"}]},{featureType:"poi.park",elementType:"labels.text.fill",stylers:[{color:"#447530"}]},{featureType:"road",elementType:"geometry",stylers:[{color:"#f5f1e6"}]},{featureType:"road.arterial",elementType:"geometry",stylers:[{color:"#fdfcf8"}]},{featureType:"road.highway",elementType:"geometry",stylers:[{color:"#f8c967"}]},{featureType:"road.highway",elementType:"geometry.stroke",stylers:[{color:"#e9bc62"}]},{featureType:"road.highway.controlled_access",elementType:"geometry",stylers:[{color:"#e98d58"}]},{featureType:"road.highway.controlled_access",elementType:"geometry.stroke",stylers:[{color:"#db8555"}]},{featureType:"road.local",elementType:"labels.text.fill",stylers:[{color:"#806b63"}]},{featureType:"transit.line",elementType:"geometry",stylers:[{color:"#dfd2ae"}]},{featureType:"transit.line",elementType:"labels.text.fill",stylers:[{color:"#8f7d77"}]},{featureType:"transit.line",elementType:"labels.text.stroke",stylers:[{color:"#ebe3cd"}]},{featureType:"transit.station",elementType:"geometry",stylers:[{color:"#dfd2ae"}]},{featureType:"water",elementType:"geometry.fill",stylers:[{color:"#b9d3c2"}]},{featureType:"water",elementType:"labels.text.fill",stylers:[{color:"#92998d"}]}],dark:[{elementType:"geometry",stylers:[{color:"#212121"}]},{elementType:"labels.icon",stylers:[{visibility:"off"}]},{elementType:"labels.text.fill",stylers:[{color:"#757575"}]},{elementType:"labels.text.stroke",stylers:[{color:"#212121"}]},{featureType:"administrative",elementType:"geometry",stylers:[{color:"#757575"}]},{featureType:"administrative.country",elementType:"labels.text.fill",stylers:[{color:"#9e9e9e"}]},{featureType:"administrative.land_parcel",stylers:[{visibility:"off"}]},{featureType:"administrative.locality",elementType:"labels.text.fill",stylers:[{color:"#bdbdbd"}]},{featureType:"poi",elementType:"labels.text.fill",stylers:[{color:"#757575"}]},{featureType:"poi.park",elementType:"geometry",stylers:[{color:"#181818"}]},{featureType:"poi.park",elementType:"labels.text.fill",stylers:[{color:"#616161"}]},{featureType:"poi.park",elementType:"labels.text.stroke",stylers:[{color:"#1b1b1b"}]},{featureType:"road",elementType:"geometry.fill",stylers:[{color:"#2c2c2c"}]},{featureType:"road",elementType:"labels.text.fill",stylers:[{color:"#8a8a8a"}]},{featureType:"road.arterial",elementType:"geometry",stylers:[{color:"#373737"}]},{featureType:"road.highway",elementType:"geometry",stylers:[{color:"#3c3c3c"}]},{featureType:"road.highway.controlled_access",elementType:"geometry",stylers:[{color:"#4e4e4e"}]},{featureType:"road.local",elementType:"labels.text.fill",stylers:[{color:"#616161"}]},{featureType:"transit",elementType:"labels.text.fill",stylers:[{color:"#757575"}]},{featureType:"water",elementType:"geometry",stylers:[{color:"#000000"}]},{featureType:"water",elementType:"labels.text.fill",stylers:[{color:"#3d3d3d"}]}],night:[{elementType:"geometry",stylers:[{color:"#242f3e"}]},{elementType:"labels.text.fill",stylers:[{color:"#746855"}]},{elementType:"labels.text.stroke",stylers:[{color:"#242f3e"}]},{featureType:"administrative.locality",elementType:"labels.text.fill",stylers:[{color:"#d59563"}]},{featureType:"poi",elementType:"labels.text.fill",stylers:[{color:"#d59563"}]},{featureType:"poi.park",elementType:"geometry",stylers:[{color:"#263c3f"}]},{featureType:"poi.park",elementType:"labels.text.fill",stylers:[{color:"#6b9a76"}]},{featureType:"road",elementType:"geometry",stylers:[{color:"#38414e"}]},{featureType:"road",elementType:"geometry.stroke",stylers:[{color:"#212a37"}]},{featureType:"road",elementType:"labels.text.fill",stylers:[{color:"#9ca5b3"}]},{featureType:"road.highway",elementType:"geometry",stylers:[{color:"#746855"}]},{featureType:"road.highway",elementType:"geometry.stroke",stylers:[{color:"#1f2835"}]},{featureType:"road.highway",elementType:"labels.text.fill",stylers:[{color:"#f3d19c"}]},{featureType:"transit",elementType:"geometry",stylers:[{color:"#2f3948"}]},{featureType:"transit.station",elementType:"labels.text.fill",stylers:[{color:"#d59563"}]},{featureType:"water",elementType:"geometry",stylers:[{color:"#172
163c"}]},{featureType:"water",elementType:"labels.text.fill",stylers:[{color:"#515c6d"}]},{featureType:"water",elementType:"labels.text.stroke",stylers:[{color:"#17263c"}]}],aubergine:[{elementType:"geometry",stylers:[{color:"#1d2c4d"}]},{elementType:"labels.text.fill",stylers:[{color:"#8ec3b9"}]},{elementType:"labels.text.stroke",stylers:[{color:"#1a3646"}]},{featureType:"administrative.country",elementType:"geometry.stroke",stylers:[{color:"#4b6878"}]},{featureType:"administrative.land_parcel",elementType:"labels.text.fill",stylers:[{color:"#64779e"}]},{featureType:"administrative.province",elementType:"geometry.stroke",stylers:[{color:"#4b6878"}]},{featureType:"landscape.man_made",elementType:"geometry.stroke",stylers:[{color:"#334e87"}]},{featureType:"landscape.natural",elementType:"geometry",stylers:[{color:"#023e58"}]},{featureType:"poi",elementType:"geometry",stylers:[{color:"#283d6a"}]},{featureType:"poi",elementType:"labels.text.fill",stylers:[{color:"#6f9ba5"}]},{featureType:"poi",elementType:"labels.text.stroke",stylers:[{color:"#1d2c4d"}]},{featureType:"poi.park",elementType:"geometry.fill",stylers:[{color:"#023e58"}]},{featureType:"poi.park",elementType:"labels.text.fill",stylers:[{color:"#3C7680"}]},{featureType:"road",elementType:"geometry",stylers:[{color:"#304a7d"}]},{featureType:"road",elementType:"labels.text.fill",stylers:[{color:"#98a5be"}]},{featureType:"road",elementType:"labels.text.stroke",stylers:[{color:"#1d2c4d"}]},{featureType:"road.highway",elementType:"geometry",stylers:[{color:"#2c6675"}]},{featureType:"road.highway",elementType:"geometry.stroke",stylers:[{color:"#255763"}]},{featureType:"road.highway",elementType:"labels.text.fill",stylers:[{color:"#b0d5ce"}]},{featureType:"road.highway",elementType:"labels.text.stroke",stylers:[{color:"#023e58"}]},{featureType:"transit",elementType:"labels.text.fill",stylers:[{color:"#98a5be"}]},{featureType:"transit",elementType:"labels.text.stroke",stylers:[{color:"#1d2c4d"}]},{featureType:"transit.line",elementType:"geometry.fill",stylers:[{color:"#283d6a"}]},{featureType:"transit.station",elementType:"geometry",stylers:[{color:"#3a4762"}]},{featureType:"water",elementType:"geometry",stylers:[{color:"#0e1626"}]},{featureType:"water",elementType:"labels.text.fill",stylers:[{color:"#4e6d70"}]}],custom:[{elementType:"labels",stylers:[{saturation:o}]},{featureType:"poi",elementType:"labels",stylers:[{visibility:"off"}]},{featureType:"road.highway",elementType:"labels",stylers:[{visibility:"off"}]},{featureType:"road.local",elementType:"labels.icon",stylers:[{visibility:"off"}]},{featureType:"road.arterial",elementType:"labels.icon",stylers:[{visibility:"off"}]},{featureType:"road",elementType:"geometry.stroke",stylers:[{visibility:"off"}]},{featureType:"transit",elementType:"geometry.fill",stylers:[{hue:n},{visibility:"on"},{lightness:s},{saturation:o}]},{featureType:"poi",elementType:"geometry.fill",stylers:[{hue:n},{visibility:"on"},{lightness:s},{saturation:o}]},{featureType:"poi.government",elementType:"geometry.fill",stylers:[{hue:n},{visibility:"on"},{lightness:s},{saturation:o}]},{featureType:"poi.attraction",elementType:"geometry.fill",stylers:[{hue:n},{visibility:"on"},{lightness:s},{saturation:o}]},{featureType:"poi.business",elementType:"geometry.fill",stylers:[{hue:n},{visibility:"on"},{lightness:s},{saturation:o}]},{featureType:"transit",elementType:"geometry.fill",stylers:[{hue:n},{visibility:"on"},{lightness:s},{saturation:o}]},{featureType:"transit.station",elementType:"geometry.fill",stylers:[{hue:n},{visibility:"on"},{lightness:s},{saturation:o}]},{featureType:"landscape",stylers:[{hue:n},{visibility:"on"},{lightness:s},{saturation:o}]},{featureType:"road",elementType:"geometry.fill",stylers:[{hue:n},{visibility:"on"},{lightness:s},{saturation:o}]},{featureType:"road.highway",elementType:"geometry.fill",stylers:[{hue:n},{visibility:"on"},{lightness:s},{saturation:o}]},{featureType:"water",elementType:"geometry",stylers:[{hue:n},{visibility:"on"},{lightness:s},{saturation:o}]}]},u={center:new google.maps.LatLng(r,a),zoom:Number(l),panControl:!1,zoomControl:!1,mapTypeControl:!1,streetViewControl:!1,mapTypeId:google.maps.MapTypeId.ROADMAP,scrollwheel:!1,styles:h[d]},p=new google.maps.Map(t(i).find(".google-container")[0],u);if(""!=f){if("none"!=f)var f=new google.maps.Marker({position:new google.maps.LatLng(r,a),map:p,visible:!0,icon:c})}else f=new google.maps.Marker({position:new google.maps.LatLng(r,a),map:p,visible:!0});var m=document.createElement("div");new function(e,i,n){var o,s;t(n).find(".pix-zoom-in").length&&(o=t(n).find(".pix-zoom-in")[0],e.appendChild(o),google.maps.event.addDomListener(o,"click",function(){i.setZoom(i.getZoom()+1)})),t(n).find(".pix-zoom-out").length&&(s=t(n).find(".pix-zoom-out")[0],e.appendChild(s),google.maps.event.addDomListener(s,"click",function(){i.setZoom(i.getZoom()-1)}))}(m,p,i);p.controls[google.maps.ControlPosition.LEFT_TOP].push(m)})}}),function(t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):("undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this).Parallax=t()}(function(){return function t(e,i,n){function o(r,a){if(!i[r]){if(!e[r]){var l="function"==typeof require&&require;if(!a&&l)return l(r,!0);if(s)return s(r,!0);var c=new Error("Cannot find module '"+r+"'");throw c.code="MODULE_NOT_FOUND",c}var d=i[r]={exports:{}};e[r][0].call(d.exports,function(t){return o(e[r][1][t]||t)},d,d.exports,t,e,i,n)}return i[r].exports}for(var s="function"==typeof require&&require,r=0;r<n.length;r++)o(n[r]);return o}
vendor: 12,919 bytes, line 1
1({1:[function(t,e,i){"use strict";var n=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,s=Object.prototype.propertyIsEnumerable;e.exports=function(){try{if(!Object.assign)return!1;var t=new String("abc");if(t[5]="de","5"===Object.getOwnPropertyNames(t)[0])return!1;for(var e={},i=0;i<10;i++)e["_"+String.fromCharCode(i)]=i;if("0123456789"!==Object.getOwnPropertyNames(e).map(function(t){return e[t]}).join(""))return!1;var n={};return"abcdefghijklmnopqrst".split("").forEach(function(t){n[t]=t}),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},n)).join("")}catch(t){return!1}}()?Object.assign:function(t,e){for(var i,r,a=function(t){if(null===t||void 0===t)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(t)}(t),l=1;l<arguments.length;l++){for(var c in i=Object(arguments[l]))o.call(i,c)&&(a[c]=i[c]);if(n){r=n(i);for(var d=0;d<r.length;d++)s.call(i,r[d])&&(a[r[d]]=i[r[d]])}}return a}},{}],2:[function(t,e,i){(function(t){(function(){var i,n,o,s,r,a;"undefined"!=typeof performance&&null!==performance&&performance.now?e.exports=function(){return performance.now()}:void 0!==t&&null!==t&&t.hrtime?(e.exports=function(){return(i()-r)/1e6},n=t.hrtime,s=(i=function(){var t;return 1e9*(t=n())[0]+t[1]})(),a=1e9*t.uptime(),r=s-a):Date.now?(e.exports=function(){return Date.now()-o},o=Date.now()):(e.exports=function(){return(new Date).getTime()-o},o=(new Date).getTime())}).call(this)}).call(this,t("_process"))},{_process:3}],3:[function(t,e,i){function n(){throw new Error("setTimeout has not been defined")}function o(){throw new Error("clearTimeout has not been defined")}function s(t){if(d===setTimeout)return setTimeout(t,0);if((d===n||!d)&&setTimeout)return d=setTimeout,setTimeout(t,0);try{return d(t,0)}catch(e){try{return d.call(null,t,0)}catch(e){return d.call(this,t,0)}}}function r(){m&&p&&(m=!1,p.length?f=p.concat(f):g=-1,f.length&&a())}function a(){if(!m){var t=s(r);m=!0;for(var e=f.length;e;){for(p=f,f=[];++g<e;)p&&p[g].run();g=-1,e=f.length}p=null,m=!1,function(t){if(h===clearTimeout)return clearTimeout(t);if((h===o||!h)&&clearTimeout)return h=clearTimeout,clearTimeout(t);try{h(t)}catch(e){try{return h.call(null,t)}catch(e){return h.call(this,t)}}}(t)}}function l(t,e){this.fun=t,this.array=e}function c(){}var d,h,u=e.exports={};!function(){try{d="function"==typeof setTimeout?setTimeout:n}catch(t){d=n}try{h="function"==typeof clearTimeout?clearTimeout:o}catch(t){h=o}}();var p,f=[],m=!1,g=-1;u.nextTick=function(t){var e=new Array(arguments.length-1);if(arguments.length>1)for(var i=1;i<arguments.length;i++)e[i-1]=arguments[i];f.push(new l(t,e)),1!==f.length||m||s(a)},l.prototype.run=function(){this.fun.apply(null,this.array)},u.title="browser",u.browser=!0,u.env={},u.argv=[],u.version="",u.versions={},u.on=c,u.addListener=c,u.once=c,u.off=c,u.removeListener=c,u.removeAllListeners=c,u.emit=c,u.prependListener=c,u.prependOnceListener=c,u.listeners=function(t){return[]},u.binding=function(t){throw new Error("process.binding is not supported")},u.cwd=function(){return"/"},u.chdir=function(t){throw new Error("process.chdir is not supported")},u.umask=function(){return 0}},{}],4:[function(t,e,i){(function(i){for(var n=t("performance-now"),o="undefined"==typeof window?i:window,s=["moz","webkit"],r="AnimationFrame",a=o["request"+r],l=o["cancel"+r]||o["cancelRequest"+r],c=0;!a&&c<s.length;c++)a=o[s[c]+"Request"+r],l=o[s[c]+"Cancel"+r]||o[s[c]+"CancelRequest"+r];if(!a||!l){var d=0,h=0,u=[];a=function(t){if(0===u.length){var e=n(),i=Math.max(0,1e3/60-(e-d));d=i+e,setTimeout(function(){var t=u.slice(0);u.length=0;for(var e=0;e<t.length;e++)if(!t[e].cancelled)try{t[e].callback(d)}catch(t){setTimeout(function(){throw t},0)}},Math.round(i))}return u.push({handle:++h,callback:t,cancelled:!1}),h},l=function(t){for(var e=0;e<u.length;e++)u[e].handle===t&&(u[e].cancelled=!0)}}e.exports=function(t){return a.call(o,t)},e.exports.cancel=function(){l.apply(o,arguments)},e.exports.polyfill=function(){o.requestAnimationFrame=a,o.cancelAnimationFrame=l}}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"performance-now":2}],5:[function(t,e,i){"use strict";var n=function(){function t(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,i,n){return i&&t(e.prototype,i),n&&t(e,n),e}}(),o=t("raf"),s=t("object-assign"),r={propertyCache:{},vendors:[null,["-webkit-","webkit"],["-moz-","Moz"],["-o-","O"],["-ms-","ms"]],clamp:function(t,e,i){return e<i?t<e?e:t>i?i:t:t<i?i:t>e?e:t},data:function(t,e){return r.deserialize(t.getAttribute("data-"+e))},deserialize:function(t){return"true"===t||"false"!==t&&("null"===t?null:!isNaN(parseFloat(t))&&isFinite(t)?parseFloat(t):t)},camelCase:function(t){return t.replace(/-+(.)?/g,function(t,e){return e?e.toUpperCase():""})},accelerate:function(t){r.css(t,"transform","translate3d(0,0,0) rotate(0.0001deg)"),r.css(t,"transform-style","preserve-3d"),r.css(t,"backface-visibility","hidden")},transformSupport:function(t){for(var e=document.createElement("div"),i=!1,n=null,o=!1,s=null,a=null,l=0,c=r.vendors.length;l<c;l++)if(null!==r.vendors[l]?(s=r.vendors[l][0]+"transform",a=r.vendors[l][1]+"Transform"):(s="transform",a="transform"),void 0!==e.style[a]){i=!0;break}switch(t){case"2D":o=i;break;case"3D":if(i){var d=document.body||document.createElement("body"),h=document.documentElement,u=h.style.overflow,p=!1;document.body||(p=!0,h.style.overflow="hidden",h.appendChild(d),d.style.overflow="hidden",d.style.background=""),d.appendChild(e),e.style[a]="translate3d(1px,1px,1px)",o=void 0!==(n=window.getComputedStyle(e).getPropertyValue(s))&&n.length>0&&"none"!==n,h.style.overflow=u,d.removeChild(e),p&&(d.removeAttribute("style"),d.parentNode.removeChild(d))}}return o},css:function(t,e,i){var n=r.propertyCache[e];if(!n)for(var o=0,s=r.vendors.length;o<s;o++)if(n=null!==r.vendors[o]?r.camelCase(r.vendors[o][1]+"-"+e):e,void 0!==t.style[n]){r.propertyCache[e]=n;break}t.style[n]=i}},a={relativeInput:!1,clipRelativeInput:!1,inputElement:null,hoverOnly:!1,calibrationThreshold:100,calibrationDelay:500,supportDelay:500,calibrateX:!1,calibrateY:!0,invertX:!0,invertY:!0,limitX:!1,limitY:!1,scalarX:10,scalarY:10,frictionX:.1,frictionY:.1,originX:.5,originY:.5,pointerEvents:!1,precision:1,onReady:null,selector:null},l=function(){function t(e,i){(function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")})(this,t),this.element=e;var n={calibrateX:r.data(this.element,"calibrate-x"),calibrateY:r.data(this.element,"calibrate-y"),invertX:r.data(this.element,"invert-x"),invertY:r.data(this.element,"invert-y"),limitX:r.data(this.element,"limit-x"),limitY:r.data(this.element,"limit-y"),scalarX:r.data(this.element,"scalar-x"),scalarY:r.data(this.element,"scalar-y"),frictionX:r.data(this.element,"friction-x"),frictionY:r.data(this.element,"friction-y"),originX:r.data(this.element,"origin-x"),originY:r.data(this.element,"origin-y"),pointerEvents:r.data(this.element,"pointer-events"),precision:r.data(this.element,"precision"),relativeInput:r.data(this.element,"relative-input"),clipRelativeInput:r.data(this.element,"clip-relative-input"),hoverOnly:r.data(this.element,"hover-only"),inputElement:document.querySelector(r.data(this.element,"input-element")),selector:r.data(this.element,"selector")};for(var o in n)null===n[o]&&delete n[o];s(this,a,n,i),this.inputElement||(this.inputElement=this.element),this.calibrationTimer=null,this.calibrationFlag=!0,this.enabled=!1,this.depthsX=[],this.depthsY=[],this.raf=null,this.bounds=null,this.elementPositionX=0,this.elementPositionY=0,this.elementWidth=0,this.elementHeight=0,this.elementCenterX=0,this.elementCenterY=0,this.elementRangeX=0,this.elementRangeY=0,this.calibrationX=0,this.calibrationY=0,this.inputX=0,this.inputY=0,this.motionX=0,this.motionY=0,this.velocityX=0,this.velocityY=0,this.onMouseMove=this.onMouseMove.bind(this),this.onDeviceOrientation=this.onDeviceOrientation.bind(this),this.onDeviceMotion=this.onDeviceMotion.bind(this),this.onOrientationTimer=this.onOrientationTimer.bind(this),this.onMotionTimer=this.onMotionTimer.bind(this),this.onCalibrationTimer=this.onCalibrationTimer.bind(this),this.onAnimationFrame=this.onAnimationFrame.bind(this),this.onWindowResize=this.onWindowResize.bind(this),this.windowWidth=null,this.windowHeight=null,this.windowCenterX=null,this.windowCenterY=null,this.windowRadiusX=null,this.windowRadiusY=null,this.portrait=!1,this.desktop=!navigator.userAgent.match(/(iPhone|iPod|iPad|Android|BlackBerry|BB10|mobi|tablet|opera mini|nexus 7)/i),this.motionSupport=!!window.DeviceMotionEvent&&!this.desktop,this.orientationSupport=!!window.DeviceOrientationEvent&&!this.desktop,this.orientationStatus=0,this.motionStatus=0,this.initialise()}return n(t,[{key:"initialise",value:function(){void 0===this.transform2DSupport&&(this.transform2DSupport=r.transformSupport("2D"),this.transform3DSupport=r.transformSupport("3D")),this.transform3DSupport&&r.accelerate(this.element),"static"===window.getComputedStyle(this.element).getPropertyValue("position")&&(this.element.style.position="relative"),this.pointerEvents||(this.element.style.pointerEvents="none"),this.updateLayers(),this.updateDimensions(),this.enable(),this.queueCalibration(this.calibrationDelay)}},{key:"doReadyCallback",value:function(){this.onReady&&this.onReady()}},{key:"updateLayers",value:function(){this.selector?this.layers=this.element.querySelectorAll(this.selector):this.layers=this.element.children,this.layers.length||console.warn("ParallaxJS: Your scene does not have any layers."),this.depthsX=[],this.depthsY=[];for(var t=0;t<this.layers.length;t++){var e=this.layers[t];this.transform3DSupport&&r.accelerate(e),e.style.position=t?"absolute":"relative",e.style.display="block",e.style.left=0,e.style.top=0;var i=r.data(e,"depth")||0;this.depthsX.push(r.data(e,"depth-x")||i),this.depthsY.push(r.data(e,"depth-y")||i)}}},{key:"updateDimensions",value:function(){this.windowWidth=window.innerWidth,this.windowHeight=window.innerHeight,this.windowCenterX=this.windowWidth*this.originX,this.windowCenterY=this.windowHeight*this.originY,this.windowRadiusX=Math.max(this.windowCenterX,this.windowWidth-this.windowCenterX),this.windowRadiusY=Math.max(this.windowCenterY,this.windowHeight-this.windowCenterY)}},{key:"updateBounds",value:function(){this.bounds=this.inputElement.getBoundingClientRect(),this.elementPositionX=this.bounds.left,this.elementPositionY=this.bounds.top,this.elementWidth=this.bounds.width,this.elementHeight=this.bounds.height,this.elementCenterX=this.elementWidth*this.originX,this.elementCenterY=this.elementHeight*this.originY,this.elementRangeX=Math.max(this.elementCenterX,this.elementWidth-this.elementCenterX),this.elementRangeY=Math.max(this.elementCenterY,this.elementHeight-this.elementCenterY)}},{key:"queueCalibration",value:function(t){clearTimeout(this.calibrationTimer),this.calibrationTimer=setTimeout(this.onCalibrationTimer,t)}},{key:"enable",value:function(){this.enabled||(this.enabled=!0,this.orientationSupport?(this.portrait=!1,window.addEventListener("deviceorientation",this.onDeviceOrientation),this.detectionTimer=setTimeout(this.onOrientationTimer,this.supportDelay)):this.motionSupport?(this.portrait=!1,window.addEventListener("devicemotion",this.onDeviceMotion),this.detectionTimer=setTimeout(this.onMotionTimer,this.supportDelay)):(this.calibrationX=0,this.calibrationY=0,this.portrait=!1,window.addEventListener("mousemove",this.onMouseMove),this.doReadyCallback()),window.addEventListener("resize",this.onWindowResize),this.raf=o(this.onAnimationFrame))}},{key:"disable",value:function(){this.enabled&&(this.enabled=!1,this.orientationSupport?window.removeEventListener("deviceorientation",this.onDeviceOrientation):this.motionSupport?window.removeEventListener("devicemotion",this.onDeviceMotion):window.removeEventListener("mousemove",this.onMouseMove),window.removeEventListener("resize",this.onWindowResize),o.cancel(this.raf))}},{key:"calibrate",value:function(t,e){this.calibrateX=void 0===t?this.calibrateX:t,this.calibrateY=void 0===e?this.calibrateY:e}},{key:"invert",value:function(t,e){this.invertX=void 0===t?this.invertX:t,this.invertY=void 0===e?this.invertY:e}},{key:"friction",value:function(t,e){this.frictionX=void 0===t?this.frictionX:t,this.frictionY=void 0===e?this.frictionY:e}},{key:"scalar",value:function(t,e){this.scalarX=void 0===t?this.scalarX:t,this.scalarY=void 0===e?this.scalarY:e}},{key:"limit",value:function(t,e){this.limitX=void 0===t?this.limitX:t,this.limitY=void 0===e?this.limitY:e}},{key:"origin",value:function(t,e){this.originX=void 0===t?this.originX:t,this.originY=void 0===e?this.originY:e}},{key:"setInputElement",value:function(t){this.inputElement=t,this.updateDimensions()}}
1,{key:"setPosition",value:function(t,e,i){e=e.toFixed(this.precision)+"px",i=i.toFixed(this.precision)+"px",this.transform3DSupport?r.css(t,"transform","translate3d("+e+","+i+",0)"):this.transform2DSupport?r.css(t,"transform","translate("+e+","+i+")"):(t.style.left=e,t.style.top=i)}},{key:"onOrientationTimer",value:function(){this.orientationSupport&&0===this.orientationStatus?(this.disable(),this.orientationSupport=!1,this.enable()):this.doReadyCallback()}},{key:"onMotionTimer",value:function(){this.motionSupport&&0===this.motionStatus?(this.disable(),this.motionSupport=!1,this.enable()):this.doReadyCallback()}},{key:"onCalibrationTimer",value:function(){this.calibrationFlag=!0}},{key:"onWindowResize",value:function(){this.updateDimensions()}},{key:"onAnimationFrame",value:function(){this.updateBounds();var t=this.inputX-this.calibrationX,e=this.inputY-this.calibrationY;(Math.abs(t)>this.calibrationThreshold||Math.abs(e)>this.calibrationThreshold)&&this.queueCalibration(0),this.portrait?(this.motionX=this.calibrateX?e:this.inputY,this.motionY=this.calibrateY?t:this.inputX):(this.motionX=this.calibrateX?t:this.inputX,this.motionY=this.calibrateY?e:this.inputY),this.motionX*=this.elementWidth*(this.scalarX/100),this.motionY*=this.elementHeight*(this.scalarY/100),isNaN(parseFloat(this.limitX))||(this.motionX=r.clamp(this.motionX,-this.limitX,this.limitX)),isNaN(parseFloat(this.limitY))||(this.motionY=r.clamp(this.motionY,-this.limitY,this.limitY)),this.velocityX+=(this.motionX-this.velocityX)*this.frictionX,this.velocityY+=(this.motionY-this.velocityY)*this.frictionY;for(var i=0;i<this.layers.length;i++){var n=this.layers[i],s=this.depthsX[i],a=this.depthsY[i],l=this.velocityX*(s*(this.invertX?-1:1)),c=this.velocityY*(a*(this.invertY?-1:1));this.setPosition(n,l,c)}this.raf=o(this.onAnimationFrame)}},{key:"rotate",value:function(t,e){var i=(t||0)/30,n=(e||0)/30,o=this.windowHeight>this.windowWidth;this.portrait!==o&&(this.portrait=o,this.calibrationFlag=!0),this.calibrationFlag&&(this.calibrationFlag=!1,this.calibrationX=i,this.calibrationY=n),this.inputX=i,this.inputY=n}},{key:"onDeviceOrientation",value:function(t){var e=t.beta,i=t.gamma;null!==e&&null!==i&&(this.orientationStatus=1,this.rotate(e,i))}},{key:"onDeviceMotion",value:function(t){var e=t.rotationRate.beta,i=t.rotationRate.gamma;null!==e&&null!==i&&(this.motionStatus=1,this.rotate(e,i))}},{key:"onMouseMove",value:function(t){var e=t.clientX,i=t.clientY;if(this.hoverOnly&&(e<this.elementPositionX||e>this.elementPositionX+this.elementWidth||i<this.elementPositionY||i>this.elementPositionY+this.elementHeight))return this.inputX=0,void(this.inputY=0);this.relativeInput?(this.clipRelativeInput&&(e=Math.max(e,this.elementPositionX),e=Math.min(e,this.elementPositionX+this.elementWidth),i=Math.max(i,this.elementPositionY),i=Math.min(i,this.elementPositionY+this.elementHeight)),this.elementRangeX&&this.elementRangeY&&(this.inputX=(e-this.elementPositionX-this.elementCenterX)/this.elementRangeX,this.inputY=(i-this.elementPositionY-this.elementCenterY)/this.elementRangeY)):this.windowRadiusX&&this.windowRadiusY&&(this.inputX=(e-this.windowCenterX)/this.windowRadiusX,this.inputY=(i-this.windowCenterY)/this.windowRadiusY)}},{key:"destroy",value:function(){this.disable(),clearTimeout(this.calibrationTimer),clearTimeout(this.detectionTimer),this.element.removeAttribute("style");for(var t=0;t<this.layers.length;t++)this.layers[t].removeAttribute("style");delete this.element,delete this.layers}},{key:"version",value:function(){return"3.1.0"}}]),t}();e.exports=l},{"object-assign":1,raf:4}]},{},[5])(5)}),function(t,e){"function"==typeof define&&define.amd?define("jquery-bridget/jquery-bridget",["jquery"],function(i){return e(t,i)}):"object"==typeof module&&module.exports?module.exports=e(t,require("jquery")):t.jQueryBridget=e(t,t.jQuery)}(window,function(t,e){"use strict";function i(i,s,a){(a=a||e||t.jQuery)&&(s.prototype.option||(s.prototype.option=function(t){a.isPlainObject(t)&&(this.options=a.extend(!0,this.options,t))}),a.fn[i]=function(t){return"string"==typeof t?function(t,e,n){var o,s="$()."+i+'("'+e+'")';return t.each(function(t,l){var c=a.data(l,i);if(c){var d=c[e];if(d&&"_"!=e.charAt(0)){var h=d.apply(c,n);o=void 0===o?h:o}else r(s+" is not a valid method")}else r(i+" not initialized. Cannot call methods, i.e. "+s)}),void 0!==o?o:t}
1(this,t,o.call(arguments,1)):(function(t,e){t.each(function(t,n){var o=a.data(n,i);o?(o.option(e),o._init()):(o=new s(n,e),a.data(n,i,o))})}(this,t),this)},n(a))}function n(t){!t||t&&t.bridget||(t.bridget=i)}var o=Array.prototype.slice,s=t.console,r=void 0===s?function(){}:function(t){s.error(t)};return n(e||t.jQuery),i}),function(t,e){"function"==typeof define&&define.amd?define("ev-emitter/ev-emitter",e):"object"==typeof module&&module.exports?module.exports=e():t.EvEmitter=e()}("undefined"!=typeof window?window:this,function(){function t(){}var e=t.prototype;return e.on=function(t,e){if(t&&e){var i=this._events=this._events||{},n=i[t]=i[t]||[];return-1==n.indexOf(e)&&n.push(e),this}},e.once=function(t,e){if(t&&e){this.on(t,e);var i=this._onceEvents=this._onceEvents||{};return(i[t]=i[t]||{})[e]=!0,this}},e.off=function(t,e){var i=this._events&&this._events[t];if(i&&i.length){var n=i.indexOf(e);return-1!=n&&i.splice(n,1),this}},e.emitEvent=function(t,e){var i=this._events&&this._events[t];if(i&&i.length){i=i.slice(0),e=e||[];for(var n=this._onceEvents&&this._onceEvents[t],o=0;o<i.length;o++){var s=i[o];n&&n[s]&&(this.off(t,s),delete n[s]),s.apply(this,e)}return this}},e.allOff=function(){delete this._events,delete this._onceEvents},t}),function(t,e){"function"==typeof define&&define.amd?define("get-size/get-size",e):"object"==typeof module&&module.exports?module.exports=e():t.getSize=e()}(window,function(){"use strict";function t(t){var e=parseFloat(t);return-1==t.indexOf("%")&&!isNaN(e)&&e}function e(t){var e=getComputedStyle(t);return e||s("Style returned "+e+". Are you running this code in a hidden iframe on Firefox? See https://bit.ly/getsizebug1"),e}function i(){if(!l){l=!0;var i=document.createElement("div");i.style.width="200px",i.style.padding="1px 2px 3px 4px",i.style.borderStyle="solid",i.style.borderWidth="1px 2px 3px 4px",i.style.boxSizing="border-box";var s=document.body||document.documentElement;s.appendChild(i);var r=e(i);o=200==Math.round(t(r.width)),n.isBoxSizeOuter=o,s.removeChild(i)}}
vendor: 1,739 bytes, line 1
1function n(n){if(i(),"string"==typeof n&&(n=document.querySelector(n)),n&&"object"==typeof n&&n.nodeType){var s=e(n);if("none"==s.display)return function(){for(var t={width:0,height:0,innerWidth:0,innerHeight:0,outerWidth:0,outerHeight:0},e=0;e<a;e++)t[r[e]]=0;return t}();var l={};l.width=n.offsetWidth,l.height=n.offsetHeight;for(var c=l.isBorderBox="border-box"==s.boxSizing,d=0;d<a;d++){var h=r[d],u=s[h],p=parseFloat(u);l[h]=isNaN(p)?0:p}var f=l.paddingLeft+l.paddingRight,m=l.paddingTop+l.paddingBottom,g=l.marginLeft+l.marginRight,v=l.marginTop+l.marginBottom,y=l.borderLeftWidth+l.borderRightWidth,b=l.borderTopWidth+l.borderBottomWidth,w=c&&o,x=t(s.width);!1!==x&&(l.width=x+(w?0:f+y));var _=t(s.height);return!1!==_&&(l.height=_+(w?0:m+b)),l.innerWidth=l.width-(f+y),l.innerHeight=l.height-(m+b),l.outerWidth=l.width+g,l.outerHeight=l.height+v,l}}var o,s="undefined"==typeof console?function(){}:function(t){console.error(t)},r=["paddingLeft","paddingRight","paddingTop","paddingBottom","marginLeft","marginRight","marginTop","marginBottom","borderLeftWidth","borderRightWidth","borderTopWidth","borderBottomWidth"],a=r.length,l=!1;return n}),function(t,e){"use strict";"function"==typeof define&&define.amd?define("desandro-matches-selector/matches-selector",e):"object"==typeof module&&module.exports?module.exports=e():t.matchesSelector=e()}(window,function(){"use strict";var t=function(){var t=window.Element.prototype;if(t.matches)return"matches";if(t.matchesSelector)return"matchesSelector";for(var e=["webkit","moz","ms","o"],i=0;i<e.length;i++){var n=e[i]+"MatchesSelector";if(t[n])return n}}();return function(e,i){return e[t](i)}}),function(t,e){"function"==typeof define&&define.amd?define("fizzy-ui-utils/utils",["de
1sandro-matches-selector/matches-selector"],function(i){return e(t,i)}):"object"==typeof module&&module.exports?module.exports=e(t,require("desandro-matches-selector")):t.fizzyUIUtils=e(t,t.matchesSelector)}(window,function(t,e){var i={extend:function(t,e){for(var i in e)t[i]=e[i];return t},modulo:function(t,e){return(t%e+e)%e}},n=Array.prototype.slice;i.makeArray=function(t){return Array.isArray(t)?t:null===t||void 0===t?[]:"object"==typeof t&&"number"==typeof t.length?n.call(t):[t]},i.removeFrom=function(t,e){var i=t.indexOf(e);-1!=i&&t.splice(i,1)},i.getParent=function(t,i){for(;t.parentNode&&t!=document.body;)if(t=t.parentNode,e(t,i))return t},i.getQueryElement=function(t){return"string"==typeof t?document.querySelector(t):t},i.handleEvent=function(t){var e="on"+t.type;this[e]&&this[e](t)},i.filterFindElements=function(t,n){var o=[];return(t=i.makeArray(t)).forEach(function(t){if(t instanceof HTMLElement){if(!n)return void o.push(t);e(t,n)&&o.push(t);for(var i=t.querySelectorAll(n),s=0;s<i.length;s++)o.push(i[s])}}),o},i.debounceMethod=function(t,e,i){i=i||100;var n=t.prototype[e],o=e+"Timeout";t.prototype[e]=function(){var t=this[o];clearTimeout(t);var e=arguments,s=this;this[o]=setTimeout(function(){n.apply(s,e),delete s[o]},i)}},i.docReady=function(t){var e=document.readyState;"complete"==e||"interactive"==e?setTimeout(t):document.addEventListener("DOMContentLoaded",t)},i.toDashed=function(t){return t.replace(/(.)([A-Z])/g,function(t,e,i){return e+"-"+i}).toLowerCase()};var o=t.console;return i.htmlInit=function(e,n){i.docReady(function(){var s=i.toDashed(n),r="data-"+s,a=document.querySelectorAll("["+r+"]"),l=document.querySelectorAll(".js-"+s),c=i.makeArray(a).concat(i.makeArray(l)),d=r+"-options",h=t.jQuery;c.forEach(function(t){var i,s=t.getAttribute(r)||t.getAttribute(d);try{i=s&&JSON.parse(s)}catch(e){return void(o&&o.error("Error parsing "+r+" on "+t.className+": "+e))}var a=new e(t,i);h&&h.data(t,n,a)})})},i}),function(t,e){"function"==typeof define&&define.amd?define("outlayer/item",["ev-emitter/ev-emitter","get-size/get-size"],e):"object"==typeof module&&module.exports?module.exports=e(require("ev-emitter"),require("get-size")):(t.Outlayer={},t.Outlayer.Item=e(t.EvEmitter,t.getSize))}(window,function(t,e){"use strict";function i(t,e){t&&(this.element=t,this.layout=e,this.position={x:0,y:0},this._create())}var n=document.documentElement.style,o="string"==typeof n.transition?"transition":"WebkitTransition",s="string"==typeof n.transform?"transform":"WebkitTransform",r={WebkitTransition:"webkitTransitionEnd",transition:"transitionend"}[o],a={transform:s,transition:o,transitionDuration:o+"Duration",transitionProperty:o+"Property",transitionDelay:o+"Delay"},l=i.prototype=Object.create(t.prototype);l.constructor=i,l._create=function(){this._transn={ingProperties:{},clean:{},onEnd:{}},this.css({position:"absolute"})},l.handleEvent=function(t){var e="on"+t.type;this[e]&&this[e](t)},l.getSize=function(){this.size=e(this.element)},l.css=function(t){var e=this.element.style;for(var i in t){e[a[i]||i]=t[i]}},l.getPosition=function(){var t=getComputedStyle(this.element),e=this.layout._getOption("originLeft"),i=this.layout._getOption("originTop"),n=t[e?"left":"right"],o=t[i?"top":"bottom"],s=parseFloat(n),r=parseFloat(o),a=this.layout.size;-1!=n.indexOf("%")&&(s=s/100*a.width),-1!=o.indexOf("%")&&(r=r/100*a.height),s=isNaN(s)?0:s,r=isNaN(r)?0:r,s-=e?a.paddingLeft:a.paddingRight,r-=i?a.paddingTop:a.paddingBottom,this.position.x=s,this.position.y=r},l.layoutPosition=function(){var t=this.layout.size,e={},i=this.layout._getOption("originLeft"),n=this.layout._getOption("originTop"),o=i?"paddingLeft":"paddingRight",s=i?"left":"right",r=i?"right":"left",a=this.position.x+t[o];e[s]=this.getXValue(a),e[r]="";var l=n?"paddingTop":"paddingBottom",c=n?"top":"bottom",d=n?"bottom":"top",h=this.position.y+t[l];e[c]=this.getYValue(h),e[d]="",this.css(e),this.emitEvent("layout",[this])},l.getXValue=function(t){var e=this.layout._getOption("horizontal");return this.layout.options.percentPosition&&!e?t/this.layout.size.width*100+"%":t+"px"},l.getYValue=function(t){var e=this.layout._getOption("horizontal");return this.layout.options.percentPosition&&e?t/this.layout.size.height*100+"%":t+"px"},l._transitionTo=function(t,e){this.getPosition();var i=this.position.x,n=this.position.y,o=t==this.position.x&&e==this.position.y;if(this.setPosition(t,e),!o||this.isTransitioning){var s=t-i,r=e-n,a={};a.transform=this.getTranslate(s,r),this.transition({to:a,onTransitionEnd:{transform:this.layoutPosition},isCleaning:!0})}else this.layoutPosition()},l.getTranslate=function(t,e){var i=this.layout._getOption("originLeft"),n=this.layout._getOption("originTop");return"translate3d("+(t=i?t:-t)+"px, "+(e=n?e:-e)+"px, 0)"},l.goTo=function(t,e){this.setPosition(t,e),this.layoutPosition()},l.moveTo=l._transitionTo,l.setPosition=function(t,e){this.position.x=parseFloat(t),this.position.y=parseFloat(e)},l._nonTransition=function(t){for(var e in this.css(t.to),t.isCleaning&&this._removeStyles(t.to),t.onTransitionEnd)t.onTransitionEnd[e].call(this)},l.transition=function(t){if(parseFloat(this.layout.options.transitionDuration)){var e=this._transn;for(var i in t.onTransitionEnd)e.onEnd[i]=t.onTransitionEnd[i];for(i in t.to)e.ingProperties[i]=!0,t.isCleaning&&(e.clean[i]=!0);if(t.from){this.css(t.from);this.element.offsetHeight;null}this.enableTransition(t.to),this.css(t.to),this.isTransitioning=!0}else this._nonTransition(t)};var c="opacity,"+function(t){return t.replace(/([A-Z])/g,function(t){return"-"+t.toLowerCase()})}(s);l.enableTransition=function(){if(!this.isTransitioning){var t=this.layout.options.transitionDuration;t="number"==typeof t?t+"ms":t,this.css({transitionProperty:c,transitionDuration:t,transitionDelay:this.staggerDelay||0}
vendor: 4,744 bytes, line 1
1),this.element.addEventListener(r,this,!1)}},l.onwebkitTransitionEnd=function(t){this.ontransitionend(t)},l.onotransitionend=function(t){this.ontransitionend(t)};var d={"-webkit-transform":"transform"};l.ontransitionend=function(t){if(t.target===this.element){var e=this._transn,i=d[t.propertyName]||t.propertyName;if(delete e.ingProperties[i],function(t){for(var e in t)return!1;return!0}(e.ingProperties)&&this.disableTransition(),i in e.clean&&(this.element.style[t.propertyName]="",delete e.clean[i]),i in e.onEnd)e.onEnd[i].call(this),delete e.onEnd[i];this.emitEvent("transitionEnd",[this])}},l.disableTransition=function(){this.removeTransitionStyles(),this.element.removeEventListener(r,this,!1),this.isTransitioning=!1},l._removeStyles=function(t){var e={};for(var i in t)e[i]="";this.css(e)};var h={transitionProperty:"",transitionDuration:"",transitionDelay:""};return l.removeTransitionStyles=function(){this.css(h)},l.stagger=function(t){t=isNaN(t)?0:t,this.staggerDelay=t+"ms"},l.removeElem=function(){this.element.parentNode.removeChild(this.element),this.css({display:""}),this.emitEvent("remove",[this])},l.remove=function(){return o&&parseFloat(this.layout.options.transitionDuration)?(this.once("transitionEnd",function(){this.removeElem()}),void this.hide()):void this.removeElem()},l.reveal=function(){delete this.isHidden,this.css({display:""});var t=this.layout.options,e={};e[this.getHideRevealTransitionEndProperty("visibleStyle")]=this.onRevealTransitionEnd,this.transition({from:t.hiddenStyle,to:t.visibleStyle,isCleaning:!0,onTransitionEnd:e})},l.onRevealTransitionEnd=function(){this.isHidden||this.emitEvent("reveal")},l.getHideRevealTransitionEndProperty=function(t){var e=this.layout.options[t];if(e.opacity)return"opacity";for(var i in e)return i},l.hide=function(){this.isHidden=!0,this.css({display:""});var t=this.layout.options,e={};e[this.getHideRevealTransitionEndProperty("hiddenStyle")]=this.onHideTransitionEnd,this.transition({from:t.visibleStyle,to:t.hiddenStyle,isCleaning:!0,onTransitionEnd:e})},l.onHideTransitionEnd=function(){this.isHidden&&(this.css({display:"none"}),this.emitEvent("hide"))},l.destroy=function(){this.css({position:"",left:"",right:"",top:"",bottom:"",transition:"",transform:""})},i}),function(t,e){"use strict";"function"==typeof define&&define.amd?define("outlayer/outlayer",["ev-emitter/ev-emitter","get-size/get-size","fizzy-ui-utils/utils","./item"],function(i,n,o,s){return e(t,i,n,o,s)}):"object"==typeof module&&module.exports?module.exports=e(t,require("ev-emitter"),require("get-size"),require("fizzy-ui-utils"),require("./item")):t.Outlayer=e(t,t.EvEmitter,t.getSize,t.fizzyUIUtils,t.Outlayer.Item)}(window,function(t,e,i,n,o){"use strict";function s(t,e){var i=n.getQueryElement(t);if(i){this.element=i,l&&(this.$element=l(this.element)),this.options=n.extend({},this.constructor.defaults),this.option(e);var o=++d;this.element.outlayerGUID=o,h[o]=this,this._create(),this._getOption("initLayout")&&this.layout()}else a&&a.error("Bad element for "+this.constructor.namespace+": "+(i||t))}function r(t){function e(){t.apply(this,arguments)}return e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e}var a=t.console,l=t.jQuery,c=function(){},d=0,h={};s.namespace="outlayer",s.Item=o,s.defaults={containerStyle:{position:"relative"},initLayout:!0,originLeft:!0,originTop:!0,resize:!0,resizeContainer:!0,transitionDuration:"0.4s",hiddenStyle:{opacity:0,transform:"scale(0.001)"},visibleStyle:{opacity:1,transform:"scale(1)"}};var u=s.prototype;n.extend(u,e.prototype),u.option=function(t){n.extend(this.options,t)},u._getOption=function(t){var e=this.constructor.compatOptions[t];return e&&void 0!==this.options[e]?this.options[e]:this.options[t]},s.compatOptions={initLayout:"isInitLayout",horizontal:"isHorizontal",layoutInstant:"isLayoutInstant",originLeft:"isOriginLeft",originTop:"isOriginTop",resize:"isResizeBound",resizeContainer:"isResizingContainer"},u._create=function(){this.reloadItems(),this.stamps=[],this.stamp(this.options.stamp),n.extend(this.element.style,this.options.containerStyle),this._getOption("resize")&&this.bindResize()},u.reloadItems=function(){this.items=this._itemize(this.element.children)},u._itemize=function(t){for(var e=this._filterFindItemElements(t),i=this.constructor.Item,n=[],o=0;o<e.length;o++){var s=new i(e[o],this);n.push(s)}return n},u._filterFindItemElements=function(t){return n.filterFindElements(t,this.options.itemSelector)},u.getItemElements=function(){return this.items.map(function(t){return t.element})},u.layout=function(){this._resetLayout(),this._manageStamps();var t=this._getOption("layoutInstant"),e=void 0!==t?t:!this._isLayoutInited;this.layoutItems(this.items,e),this._isLayoutInited=!0}
vendor: 4,810 bytes, line 1
1,u._init=u.layout,u._resetLayout=function(){this.getSize()},u.getSize=function(){this.size=i(this.element)},u._getMeasurement=function(t,e){var n,o=this.options[t];o?("string"==typeof o?n=this.element.querySelector(o):o instanceof HTMLElement&&(n=o),this[t]=n?i(n)[e]:o):this[t]=0},u.layoutItems=function(t,e){t=this._getItemsForLayout(t),this._layoutItems(t,e),this._postLayout()},u._getItemsForLayout=function(t){return t.filter(function(t){return!t.isIgnored})},u._layoutItems=function(t,e){if(this._emitCompleteOnItems("layout",t),t&&t.length){var i=[];t.forEach(function(t){var n=this._getItemLayoutPosition(t);n.item=t,n.isInstant=e||t.isLayoutInstant,i.push(n)},this),this._processLayoutQueue(i)}},u._getItemLayoutPosition=function(){return{x:0,y:0}},u._processLayoutQueue=function(t){this.updateStagger(),t.forEach(function(t,e){this._positionItem(t.item,t.x,t.y,t.isInstant,e)},this)},u.updateStagger=function(){var t=this.options.stagger;return null===t||void 0===t?void(this.stagger=0):(this.stagger=function(t){if("number"==typeof t)return t;var e=t.match(/(^\d*\.?\d*)(\w*)/),i=e&&e[1],n=e&&e[2];return i.length?(i=parseFloat(i))*(p[n]||1):0}(t),this.stagger)},u._positionItem=function(t,e,i,n,o){n?t.goTo(e,i):(t.stagger(o*this.stagger),t.moveTo(e,i))},u._postLayout=function(){this.resizeContainer()},u.resizeContainer=function(){if(this._getOption("resizeContainer")){var t=this._getContainerSize();t&&(this._setContainerMeasure(t.width,!0),this._setContainerMeasure(t.height,!1))}},u._getContainerSize=c,u._setContainerMeasure=function(t,e){if(void 0!==t){var i=this.size;i.isBorderBox&&(t+=e?i.paddingLeft+i.paddingRight+i.borderLeftWidth+i.borderRightWidth:i.paddingBottom+i.paddingTop+i.borderTopWidth+i.borderBottomWidth),t=Math.max(t,0),this.element.style[e?"width":"height"]=t+"px"}},u._emitCompleteOnItems=function(t,e){function i(){o.dispatchEvent(t+"Complete",null,[e])}function n(){++r==s&&i()}var o=this,s=e.length;if(e&&s){var r=0;e.forEach(function(e){e.once(t,n)})}else i()},u.dispatchEvent=function(t,e,i){var n=e?[e].concat(i):i;if(this.emitEvent(t,n),l)if(this.$element=this.$element||l(this.element),e){var o=l.Event(e);o.type=t,this.$element.trigger(o,i)}else this.$element.trigger(t,i)},u.ignore=function(t){var e=this.getItem(t);e&&(e.isIgnored=!0)},u.unignore=function(t){var e=this.getItem(t);e&&delete e.isIgnored},u.stamp=function(t){(t=this._find(t))&&(this.stamps=this.stamps.concat(t),t.forEach(this.ignore,this))},u.unstamp=function(t){(t=this._find(t))&&t.forEach(function(t){n.removeFrom(this.stamps,t),this.unignore(t)},this)},u._find=function(t){if(t)return"string"==typeof t&&(t=this.element.querySelectorAll(t)),n.makeArray(t)},u._manageStamps=function(){this.stamps&&this.stamps.length&&(this._getBoundingRect(),this.stamps.forEach(this._manageStamp,this))},u._getBoundingRect=function(){var t=this.element.getBoundingClientRect(),e=this.size;this._boundingRect={left:t.left+e.paddingLeft+e.borderLeftWidth,top:t.top+e.paddingTop+e.borderTopWidth,right:t.right-(e.paddingRight+e.borderRightWidth),bottom:t.bottom-(e.paddingBottom+e.borderBottomWidth)}},u._manageStamp=c,u._getElementOffset=function(t){var e=t.getBoundingClientRect(),n=this._boundingRect,o=i(t);return{left:e.left-n.left-o.marginLeft,top:e.top-n.top-o.marginTop,right:n.right-e.right-o.marginRight,bottom:n.bottom-e.bottom-o.marginBottom}},u.handleEvent=n.handleEvent,u.bindResize=function(){t.addEventListener("resize",this),this.isResizeBound=!0},u.unbindResize=function(){t.removeEventListener("resize",this),this.isResizeBound=!1},u.onresize=function(){this.resize()},n.debounceMethod(s,"onresize",100),u.resize=function(){this.isResizeBound&&this.needsResizeLayout()&&this.layout()},u.needsResizeLayout=function(){var t=i(this.element);return this.size&&t&&t.innerWidth!==this.size.innerWidth},u.addItems=function(t){var e=this._itemize(t);return e.length&&(this.items=this.items.concat(e)),e},u.appended=function(t){var e=this.addItems(t);e.length&&(this.layoutItems(e,!0),this.reveal(e))},u.prepended=function(t){var e=this._itemize(t);if(e.length){var i=this.items.slice(0);this.items=e.concat(i),this._resetLayout(),this._manageStamps(),this.layoutItems(e,!0),this.reveal(e),this.layoutItems(i)}},u.reveal=function(t){if(this._emitCompleteOnItems("reveal",t),t&&t.length){var e=this.updateStagger();t.forEach(function(t,i){t.stagger(i*e),t.reveal()})}},u.hide=function(t){if(this._emitCompleteOnItems("hide",t),t&&t.length){var e=this.updateStagger();t.forEach(function(t,i){t.stagger(i*e),t.hide()})}},u.revealItemElements=function(t){var e=this.getItems(t);this.reveal(e)},u.hideItemElements=function(t){var e=this.getItems(t);this.hide(e)},u.getItem=function(t){for(var e=0;e<this.items.length;e++){var i=this.items[e];if(i.element==t)return i}},u.getItems=function(t){var e=[];
vendor: 15,750 bytes, line 1
1return(t=n.makeArray(t)).forEach(function(t){var i=this.getItem(t);i&&e.push(i)},this),e},u.remove=function(t){var e=this.getItems(t);this._emitCompleteOnItems("remove",e),e&&e.length&&e.forEach(function(t){t.remove(),n.removeFrom(this.items,t)},this)},u.destroy=function(){var t=this.element.style;t.height="",t.position="",t.width="",this.items.forEach(function(t){t.destroy()}),this.unbindResize();var e=this.element.outlayerGUID;delete h[e],delete this.element.outlayerGUID,l&&l.removeData(this.element,this.constructor.namespace)},s.data=function(t){var e=(t=n.getQueryElement(t))&&t.outlayerGUID;return e&&h[e]},s.create=function(t,e){var i=r(s);return i.defaults=n.extend({},s.defaults),n.extend(i.defaults,e),i.compatOptions=n.extend({},s.compatOptions),i.namespace=t,i.data=s.data,i.Item=r(o),n.htmlInit(i,t),l&&l.bridget&&l.bridget(t,i),i};var p={ms:1,s:1e3};return s.Item=o,s}),function(t,e){"function"==typeof define&&define.amd?define("isotope-layout/js/item",["outlayer/outlayer"],e):"object"==typeof module&&module.exports?module.exports=e(require("outlayer")):(t.Isotope=t.Isotope||{},t.Isotope.Item=e(t.Outlayer))}(window,function(t){"use strict";function e(){t.Item.apply(this,arguments)}var i=e.prototype=Object.create(t.Item.prototype),n=i._create;i._create=function(){this.id=this.layout.itemGUID++,n.call(this),this.sortData={}},i.updateSortData=function(){if(!this.isIgnored){this.sortData.id=this.id,this.sortData["original-order"]=this.id,this.sortData.random=Math.random();var t=this.layout.options.getSortData,e=this.layout._sorters;for(var i in t){var n=e[i];this.sortData[i]=n(this.element,this)}}};var o=i.destroy;return i.destroy=function(){o.apply(this,arguments),this.css({display:""})},e}),function(t,e){"function"==typeof define&&define.amd?define("isotope-layout/js/layout-mode",["get-size/get-size","outlayer/outlayer"],e):"object"==typeof module&&module.exports?module.exports=e(require("get-size"),require("outlayer")):(t.Isotope=t.Isotope||{},t.Isotope.LayoutMode=e(t.getSize,t.Outlayer))}(window,function(t,e){"use strict";function i(t){this.isotope=t,t&&(this.options=t.options[this.namespace],this.element=t.element,this.items=t.filteredItems,this.size=t.size)}var n=i.prototype;return["_resetLayout","_getItemLayoutPosition","_manageStamp","_getContainerSize","_getElementOffset","needsResizeLayout","_getOption"].forEach(function(t){n[t]=function(){return e.prototype[t].apply(this.isotope,arguments)}}),n.needsVerticalResizeLayout=function(){var e=t(this.isotope.element);return this.isotope.size&&e&&e.innerHeight!=this.isotope.size.innerHeight},n._getMeasurement=function(){this.isotope._getMeasurement.apply(this,arguments)},n.getColumnWidth=function(){this.getSegmentSize("column","Width")},n.getRowHeight=function(){this.getSegmentSize("row","Height")},n.getSegmentSize=function(t,e){var i=t+e,n="outer"+e;if(this._getMeasurement(i,n),!this[i]){var o=this.getFirstItemSize();this[i]=o&&o[n]||this.isotope.size["inner"+e]}},n.getFirstItemSize=function(){var e=this.isotope.filteredItems[0];return e&&e.element&&t(e.element)},n.layout=function(){this.isotope.layout.apply(this.isotope,arguments)},n.getSize=function(){this.isotope.getSize(),this.size=this.isotope.size},i.modes={},i.create=function(t,e){function o(){i.apply(this,arguments)}return o.prototype=Object.create(n),o.prototype.constructor=o,e&&(o.options=e),o.prototype.namespace=t,i.modes[t]=o,o},i}),function(t,e){"function"==typeof define&&define.amd?define("masonry-layout/masonry",["outlayer/outlayer","get-size/get-size"],e):"object"==typeof module&&module.exports?module.exports=e(require("outlayer"),require("get-size")):t.Masonry=e(t.Outlayer,t.getSize)}(window,function(t,e){var i=t.create("masonry");i.compatOptions.fitWidth="isFitWidth";var n=i.prototype;return n._resetLayout=function(){this.getSize(),this._getMeasurement("columnWidth","outerWidth"),this._getMeasurement("gutter","outerWidth"),this.measureColumns(),this.colYs=[];for(var t=0;t<this.cols;t++)this.colYs.push(0);this.maxY=0,this.horizontalColIndex=0},n.measureColumns=function(){if(this.getContainerWidth(),!this.columnWidth){var t=this.items[0],i=t&&t.element;this.columnWidth=i&&e(i).outerWidth||this.containerWidth}var n=this.columnWidth+=this.gutter,o=this.containerWidth+this.gutter,s=o/n,r=n-o%n;s=Math[r&&r<1?"round":"floor"](s),this.cols=Math.max(s,1)},n.getContainerWidth=function(){var t=this._getOption("fitWidth")?this.element.parentNode:this.element,i=e(t);this.containerWidth=i&&i.innerWidth},n._getItemLayoutPosition=function(t){t.getSize();var e=t.size.outerWidth%this.columnWidth,i=Math[e&&e<1?"round":"ceil"](t.size.outerWidth/this.columnWidth);i=Math.min(i,this.cols);for(var n=this[this.options.horizontalOrder?"_getHorizontalColPosition":"_getTopColPosition"](i,t),o={x:this.columnWidth*n.col,y:n.y},s=n.y+t.size.outerHeight,r=i+n.col,a=n.col;a<r;a++)this.colYs[a]=s;return o},n._getTopColPosition=function(t){var e=this._getTopColGroup(t),i=Math.min.apply(Math,e);return{col:e.indexOf(i),y:i}},n._getTopColGroup=function(t){if(t<2)return this.colYs;for(var e=[],i=this.cols+1-t,n=0;n<i;n++)e[n]=this._getColGroupY(n,t);return e},n._getColGroupY=function(t,e){if(e<2)return this.colYs[t];var i=this.colYs.slice(t,t+e);return Math.max.apply(Math,i)},n._getHorizontalColPosition=function(t,e){var i=this.horizontalColIndex%this.cols;i=t>1&&i+t>this.cols?0:i;var n=e.size.outerWidth&&e.size.outerHeight;return this.horizontalColIndex=n?i+t:this.horizontalColIndex,{col:i,y:this._getColGroupY(i,t)}},n._manageStamp=function(t){var i=e(t),n=this._getElementOffset(t),o=this._getOption("originLeft")?n.left:n.right,s=o+i.outerWidth,r=Math.floor(o/this.columnWidth);r=Math.max(0,r);var a=Math.floor(s/this.columnWidth);a-=s%this.columnWidth?0:1,a=Math.min(this.cols-1,a);for(var l=(this._getOption("originTop")?n.top:n.bottom)+i.outerHeight,c=r;c<=a;c++)this.colYs[c]=Math.max(l,this.colYs[c])},n._getContainerSize=function(){this.maxY=Math.max.apply(Math,this.colYs);var t={height:this.maxY};return this._getOption("fitWidth")&&(t.width=this._getContainerFitWidth()),t},n._getContainerFitWidth=function(){for(var t=0,e=this.cols;--e&&0===this.colYs[e];)t++;return(this.cols-t)*this.columnWidth-this.gutter},n.needsResizeLayout=function(){var t=this.containerWidth;return this.getContainerWidth(),t!=this.containerWidth},i}),function(t,e){"function"==typeof define&&define.amd?define("isotope-layout/js/layout-modes/masonry",["../layout-mode","masonry-layout/masonry"],e):"object"==typeof module&&module.exports?module.exports=e(require("../layout-mode"),require("masonry-layout")):e(t.Isotope.LayoutMode,t.Masonry)}(window,function(t,e){"use strict";var i=t.create("masonry"),n=i.prototype,o={_getElementOffset:!0,layout:!0,_getMeasurement:!0};for(var s in e.prototype)o[s]||(n[s]=e.prototype[s]);var r=n.measureColumns;n.measureColumns=function(){this.items=this.isotope.filteredItems,r.call(this)};var a=n._getOption;return n._getOption=function(t){return"fitWidth"==t?void 0!==this.options.isFitWidth?this.options.isFitWidth:this.options.fitWidth:a.apply(this.isotope,arguments)},i}),function(t,e){"function"==typeof define&&define.amd?define("isotope-layout/js/layout-modes/fit-rows",["../layout-mode"],e):"object"==typeof exports?module.exports=e(require("../layout-mode")):e(t.Isotope.LayoutMode)}(window,function(t){"use strict";var e=t.create("fitRows"),i=e.prototype;return i._resetLayout=function(){this.x=0,this.y=0,this.maxY=0,this._getMeasurement("gutter","outerWidth")},i._getItemLayoutPosition=function(t){t.getSize();var e=t.size.outerWidth+this.gutter,i=this.isotope.size.innerWidth+this.gutter;0!==this.x&&e+this.x>i&&(this.x=0,this.y=this.maxY);var n={x:this.x,y:this.y};return this.maxY=Math.max(this.maxY,this.y+t.size.outerHeight),this.x+=e,n},i._getContainerSize=function(){return{height:this.maxY}},e}),function(t,e){"function"==typeof define&&define.amd?define("isotope-layout/js/layout-modes/vertical",["../layout-mode"],e):"object"==typeof module&&module.exports?module.exports=e(require("../layout-mode")):e(t.Isotope.LayoutMode)}(window,function(t){"use strict";var e=t.create("vertical",{horizontalAlignment:0}),i=e.prototype;return i._resetLayout=function(){this.y=0},i._getItemLayoutPosition=function(t){t.getSize();var e=(this.isotope.size.innerWidth-t.size.outerWidth)*this.options.horizontalAlignment,i=this.y;return this.y+=t.size.outerHeight,{x:e,y:i}},i._getContainerSize=function(){return{height:this.y}},e}),function(t,e){"function"==typeof define&&define.amd?define(["outlayer/outlayer","get-size/get-size","desandro-matches-selector/matches-selector","fizzy-ui-utils/utils","isotope-layout/js/item","isotope-layout/js/layout-mode","isotope-layout/js/layout-modes/masonry","isotope-layout/js/layout-modes/fit-rows","isotope-layout/js/layout-modes/vertical"],function(i,n,o,s,r,a){return e(t,i,n,o,s,r,a)}):"object"==typeof module&&module.exports?module.exports=e(t,require("outlayer"),require("get-size"),require("desandro-matches-selector"),require("fizzy-ui-utils"),require("isotope-layout/js/item"),require("isotope-layout/js/layout-mode"),require("isotope-layout/js/layout-modes/masonry"),require("isotope-layout/js/layout-modes/fit-rows"),require("isotope-layout/js/layout-modes/vertical")):t.Isotope=e(t,t.Outlayer,t.getSize,t.matchesSelector,t.fizzyUIUtils,t.Isotope.Item,t.Isotope.LayoutMode)}(window,function(t,e,i,n,o,s,r){var a=t.jQuery,l=String.prototype.trim?function(t){return t.trim()}:function(t){return t.replace(/^\s+|\s+$/g,"")},c=e.create("isotope",{layoutMode:"masonry",isJQueryFiltering:!0,sortAscending:!0});c.Item=s,c.LayoutMode=r;var d=c.prototype;d._create=function(){for(var t in this.itemGUID=0,this._sorters={},this._getSorters(),e.prototype._create.call(this),this.modes={},this.filteredItems=this.items,this.sortHistory=["original-order"],r.modes)this._initLayoutMode(t)},d.reloadItems=function(){this.itemGUID=0,e.prototype.reloadItems.call(this)},d._itemize=function(){for(var t=e.prototype._itemize.apply(this,arguments),i=0;i<t.length;i++){t[i].id=this.itemGUID++}return this._updateItemsSortData(t),t},d._initLayoutMode=function(t){var e=r.modes[t],i=this.options[t]||{};this.options[t]=e.options?o.extend(e.options,i):i,this.modes[t]=new e(this)},d.layout=function(){return!this._isLayoutInited&&this._getOption("initLayout")?void this.arrange():void this._layout()},d._layout=function(){var t=this._getIsInstant();this._resetLayout(),this._manageStamps(),this.layoutItems(this.filteredItems,t),this._isLayoutInited=!0},d.arrange=function(t){this.option(t),this._getIsInstant();var e=this._filter(this.items);this.filteredItems=e.matches,this._bindArrangeComplete(),this._isInstant?this._noTransition(this._hideReveal,[e]):this._hideReveal(e),this._sort(),this._layout()},d._init=d.arrange,d._hideReveal=function(t){this.reveal(t.needReveal),this.hide(t.needHide)},d._getIsInstant=function(){var t=this._getOption("layoutInstant"),e=void 0!==t?t:!this._isLayoutInited;return this._isInstant=e,e},d._bindArrangeComplete=function(){function t(){e&&i&&n&&o.dispatchEvent("arrangeComplete",null,[o.filteredItems])}var e,i,n,o=this;this.once("layoutComplete",function(){e=!0,t()}),this.once("hideComplete",function(){i=!0,t()}),this.once("revealComplete",function(){n=!0,t()})},d._filter=function(t){var e=this.options.filter;e=e||"*";for(var i=[],n=[],o=[],s=this._getFilterTest(e),r=0;r<t.length;r++){var a=t[r];if(!a.isIgnored){var l=s(a);l&&i.push(a),l&&a.isHidden?n.push(a):l||a.isHidden||o.push(a)}}return{matches:i,needReveal:n,needHide:o}},d._getFilterTest=function(t){return a&&this.options.isJQueryFiltering?function(e){return a(e.element).is(t)}:"function"==typeof t?function(e){return t(e.element)}:function(e){return n(e.element,t)}},d.updateSortData=function(t){var e;t?(t=o.makeArray(t),e=this.getItems(t)):e=this.items,this._getSorters(),this._updateItemsSortData(e)},d._getSorters=function(){var t=this.options.getSortData;for(var e in t){var i=t[e];this._sorters[e]=h(i)}},d._updateItemsSortData=function(t){for(var e=t&&t.length,i=0;e&&i<e;i++){t[i].updateSortData()}};var h=function(){return function(t){if("string"!=typeof t)return t;var e=l(t).split(" "),i=e[0],n=i.match(/^\[(.+)\]$/),o=function(t,e){return t?function(e){return e.getAttribute(t)}:function(t){var i=t.querySelector(e);return i&&i.textContent}}(n&&n[1],i),s=c.sortDataParsers[e[1]];return s?function(t){return t&&s(o(t))}:function(t){return t&&o(t)}}}();c.sortDataParsers={parseInt:function(t){return parseInt(t,10)},parseFloat:function(t){return parseFloat(t)}},d._sort=function(){if(this.options.sortBy){var t=o.makeArray(this.options.sortBy);this._getIsSameSortBy(t)||(this.sortHistory=t.concat(this.sortHistory));var e=function(t,e){return function(i,n){for(var o=0;o<t.length;o++){var s=t[o],r=i.sortData[s],a=n.sortData[s];if(r>a||r<a){var l=void 0!==e[s]?e[s]:e;return(r>a?1:-1)*(l?1:-1)}}return 0}}(this.sortHistory,this.options.sortAscending);this.filteredItems.sort(e)}},d._getIsSameSortBy=function(t){for(var e=0;e<t.length;e++)if(t[e]!=this.sortHistory[e])return!1;return!0},d._mode=function(){var t=this.options.layoutMode,e=this.modes[t];if(!e)throw new Error("No layout mode: "+t);return e.options=this.options[t],e},d._resetLayout=function(){e.prototype._resetLayout.call(this),this._mode()._resetLayout()},d._getItemLayoutPosition=function(t){return this._mode()._getItemLayoutPosition(t)},d._manageStamp=function(t){this._mode()._manageStamp(t)},d._getContainerSize=function(){return this._mode()._getContainerSize()},d.needsResizeLayout=function(){return this._mode().needsResizeLayout()},d.appended=function(t){var e=this.addItems(t);if(e.length){var i=this._filterRevealAdded(e);this.filteredItems=this.filteredItems.concat(i)}},d.prepended=function(t){var e=this._itemize(t);if(e.length){this._resetLayout(),this._manageStamps();var i=this._filterRevealAdded(e);this.layoutItems(this.filteredItems),this.filteredItems=i.concat(this.filteredItems),this.items=e.concat(this.items)}},d._filterRevealAdded=function(t){var e=this._filter(t);return this.hide(e.needHide),this.reveal(e.matches),this.layoutItems(e.matches,!0),e.matches},d.insert=function(t){var e=this.addItems(t);if(e.length){var i,n,o=e.length;for(i=0;i<o;i++)n=e[i],this.element.appendChild(n.element);var s=this._filter(e).matches;for(i=0;i<o;i++)e[i].isLayoutInstant=!0;for(this.arrange(),i=0;i<o;i++)delete e[i].isLayoutInstant;this.reveal(s)}};var u=d.remove;return d.remove=function(t){t=o.makeArray(t);var e=this.getItems(t);u.call(this,t);for(var i=e&&e.length,n=0;i&&n<i;n++){var s=e[n];o.removeFrom(this.filteredItems,s)}},d.shuffle=function(){for(var t=0;t<this.items.length;t++){this.items[t].sortData.random=Math.random()}this.options.sortBy="random",this._sort(),this._layout()},d._noTransition=function(t,e){var i=this.options.transitionDuration;this.options.transitionDuration=0;var n=t.apply(this,e);return this.options.transitionDuration=i,n},d.getFilteredItemElements=function(){return this.filteredItems.map(function(t){return t.element})},c}),function(t){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=t();else if("function"==typeof define&&define.amd)define([],t);else{var e;"undefined"!=typeof window?e=window:"undefined"!=typeof global?e=global:"undefined"!=typeof self&&(e=self),e.Countdown=t()}}(function(){return function t(e,i,n){function o(r,a){if(!i[r]){if(!e[r]){var l="function"==typeof require&&require;if(!a&&l)return l(r,!0);if(s)return s(r,!0);var c=new Error("Cannot find module '"+r+"'");throw c.code="MODULE_NOT_FOUND",c}var d=i[r]={exports:{}};e[r][0].call(d.exports,function(t){var i=e[r][1][t];return o(i||t)},d,d.exports,t,e,i,n)}return i[r].exports}for(var s="function"==typeof require&&require,r=0;r<n.length;r++)o(n[r]);return o}
1({1:[function(t,e,i){var n={date:"June 7, 2087 15:03:25",refresh:1e3,offset:0,onEnd:function(){},render:function(t){this.el.innerHTML=t.years+" years, "+t.days+" days, "+this.leadingZeros(t.hours)+" hours, "+this.leadingZeros(t.min)+" min and "+this.leadingZeros(t.sec)+" sec"}};e.exports=function(t,e){this.el=t,this.options={},this.interval=!1,this.mergeOptions=function(t){for(var e in n)n.hasOwnProperty(e)&&(this.options[e]=void 0!==t[e]?t[e]:n[e],"date"===e&&"object"!=typeof this.options.date&&(this.options.date=new Date(this.options.date)),"function"==typeof this.options[e]&&(this.options[e]=this.options[e].bind(this)));"object"!=typeof this.options.date&&(this.options.date=new Date(this.options.date))}.bind(this),this.mergeOptions(e),this.getDiffDate=function(){var t=(this.options.date.getTime()-Date.now()+this.options.offset)/1e3,e={years:0,days:0,hours:0,min:0,sec:0,millisec:0};return t<=0?(this.interval&&(this.stop(),this.options.onEnd()),e):(t>=31557600&&(e.years=Math.floor(t/31557600),t-=365.25*e.years*86400),t>=86400&&(e.days=Math.floor(t/86400),t-=86400*e.days),t>=3600&&(e.hours=Math.floor(t/3600),t-=3600*e.hours),t>=60&&(e.min=Math.floor(t/60),t-=60*e.min),e.sec=Math.round(t),e.millisec=t%1*1e3,e)}.bind(this),this.leadingZeros=function(t,e){return e=e||2,(t=String(t)).length>e?t:(Array(e+1).join("0")+t).substr(-e)},this.update=function(t){return"object"!=typeof t&&(t=new Date(t)),this.options.date=t,this.render(),this}.bind(this),this.stop=function(){return this.interval&&(clearInterval(this.interval),this.interval=!1),this}.bind(this),this.render=function(){return this.options.render(this.getDiffDate()),this}.bind(this),this.start=function(){if(!this.interval)return this.render(),this.options.refresh&&(this.interval=setInterval(this.render,this.options.refresh)),this}.bind(this),this.updateOffset=function(t){return this.options.offset=t,this}.bind(this),this.restart=function(t){return this.mergeOptions(t),this.interval=!1,this.start(),this}.bind(this),this.start()}},{}],2:[function(t,e,i){var n=t("./countdown.js");jQuery.fn.countdown=function(t){return $.each(this,function(e,i){var o=$(i);o.data("countdown")||(o.data("date")&&(t.date=o.data("date")),o.data("countdown",new n(i,t)))})},e.exports=n},{"./countdown.js":1}]},{},[2])(2)}),function(t,e){void 0===t&&void 0!==window&&(t=window),"function"==typeof define&&define.amd?define(["jquery"],function(t){return e(t)}):"object"==typeof module&&module.exports?module.exports=e(require("jquery")):e(t.jQuery)}(this,function(t){!function(t){"use strict";var e=["sanitize","whiteList","sanitizeFn"],i=["background","cite","href","itemtype","longdesc","poster","src","xlink:href"],n=/^(?:(?:https?|mailto|ftp|tel|file):|[^&:/?#]*(?:[/?#]|$))/gi,o=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[a-z0-9+/]+=*$/i;function s(e,s){var r=e.nodeName.toLowerCase();if(-1!==t.inArray(r,s))return-1===t.inArray(r,i)||Boolean(e.nodeValue.match(n)||e.nodeValue.match(o));for(var a=t(s).filter(function(t,e){return e instanceof RegExp}),l=0,c=a.length;l<c;l++)if(r.match(a[l]))return!0;return!1}function r(t,e,i){if(i&&"function"==typeof i)return i(t);for(var n=Object.keys(e),o=0,r=t.length;o<r;o++)for(var a=t[o].querySelectorAll("*"),l=0,c=a.length;l<c;l++){var d=a[l],h=d.nodeName.toLowerCase();if(-1!==n.indexOf(h))for(var u=[].slice.call(d.attributes),p=[].concat(e["*"]||[],e[h]||[]),f=0,m=u.length;f<m;f++){var g=u[f];s(g,p)||d.removeAttribute(g.nodeName)}else d.parentNode.removeChild(d)}}"classList"in document.createElement("_")||function(e){if("Element"in e){var i="classList",n="prototype",o=e.Element[n],s=Object,r=function(){var e=t(this);return{add:function(t){return t=Array.prototype.slice.call(arguments).join(" "),e.addClass(t)},remove:function(t){return t=Array.prototype.slice.call(arguments).join(" "),e.removeClass(t)},toggle:function(t,i){return e.toggleClass(t,i)},contains:function(t){return e.hasClass(t)}}};if(s.defineProperty){var a={get:r,enumerable:!0,configurable:!0};try{s.defineProperty(o,i,a)}catch(e){void 0!==e.number&&-2146823252!==e.number||(a.enumerable=!1,s.defineProperty(o,i,a))}}else s[n].__defineGetter__&&o.__defineGetter__(i,r)}}(window);var a,l,c=document.createElement("_");if(c.classList.add("c1","c2"),!c.classList.contains("c2")){var d=DOMTokenList.prototype.add,h=DOMTokenList.prototype.remove;DOMTokenList.prototype.add=function(){Array.prototype.forEach.call(arguments,d.bind(this))},DOMTokenList.prototype.remove=function(){Array.prototype.forEach.call(arguments,h.bind(this))}}if(c.classList.toggle("c3",!1),c.classList.contains("c3")){var u=DOMTokenList.prototype.toggle;DOMTokenList.prototype.toggle=function(t,e){return 1 in arguments&&!this.contains(t)==!e?e:u.call(this,t)}}function p(t){if(null==this)throw new TypeError;var e=String(this);if(t&&"[object RegExp]"==l.call(t))throw new TypeError;var i=e.length,n=String(t),o=n.length,s=1<arguments.length?arguments[1]:void 0,r=s?Number(s):0;r!=r&&(r=0);var a=Math.min(Math.max(r,0),i);if(i<o+a)return!1;for(var c=-1;++c<o;)if(e.charCodeAt(a+c)!=n.charCodeAt(c))return!1;return!0}function f(t,e){var i,n=t.selectedOptions,o=[];if(e){for(var s=0,r=n.length;s<r;s++)(i=n[s]).disabled||"OPTGROUP"===i.parentNode.tagName&&i.parentNode.disabled||o.push(i);return o}return n}function m(t,e){for(var i,n=[],o=e||t.selectedOptions,s=0,r=o.length;s<r;s++)(i=o[s]).disabled||"OPTGROUP"===i.parentNode.tagName&&i.parentNode.disabled||n.push(i.value);return t.multiple?n:n.length?n[0]:null}c=null,String.prototype.startsWith||(a=function(){try{var t={},e=Object.defineProperty,i=e(t,t,t)&&e}catch(t){}return i}(),l={}.toString,a?a(String.prototype,"startsWith",{value:p,configurable:!0,writable:!0}):String.prototype.startsWith=p),Object.keys||(Object.keys=function(t,e,
vendor: 11,759 bytes, line 1
1i){for(e in i=[],t)i.hasOwnProperty.call(t,e)&&i.push(e);return i}),HTMLSelectElement&&!HTMLSelectElement.prototype.hasOwnProperty("selectedOptions")&&Object.defineProperty(HTMLSelectElement.prototype,"selectedOptions",{get:function(){return this.querySelectorAll(":checked")}});var g={useDefault:!1,_set:t.valHooks.select.set};t.valHooks.select.set=function(e,i){return i&&!g.useDefault&&t(e).data("selected",!0),g._set.apply(this,arguments)};var v=null,y=function(){try{return new Event("change"),!0}catch(t){return!1}}();function b(t,e,i,n){for(var o=["display","subtext","tokens"],s=!1,r=0;r<o.length;r++){var a=o[r],l=t[a];if(l&&(l=l.toString(),"display"===a&&(l=l.replace(/<[^>]+>/g,"")),n&&(l=T(l)),l=l.toUpperCase(),s="contains"===i?0<=l.indexOf(e):l.startsWith(e)))break}return s}function w(t){return parseInt(t,10)||0}t.fn.triggerNative=function(t){var e,i=this[0];i.dispatchEvent?(y?e=new Event(t,{bubbles:!0}):(e=document.createEvent("Event")).initEvent(t,!0,!1),i.dispatchEvent(e)):i.fireEvent?((e=document.createEventObject()).eventType=t,i.fireEvent("on"+t,e)):this.trigger(t)};var x={"Ã":"A","Ã":"A","Ã":"A","Ã":"A","Ã":"A","Ã
":"A","à ":"a","á":"a","â":"a","ã":"a","ä":"a","Ã¥":"a","Ã":"C","ç":"c","Ã":"D","ð":"d","Ã":"E","Ã":"E","Ã":"E","Ã":"E","è":"e","é":"e","ê":"e","ë":"e","Ã":"I","Ã":"I","Ã":"I","Ã":"I","ì":"i","Ã":"i","î":"i","ï":"i","Ã":"N","ñ":"n","Ã":"O","Ã":"O","Ã":"O","Ã":"O","Ã":"O","Ã":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ã":"U","Ã":"U","Ã":"U","Ã":"U","ù":"u","ú":"u","û":"u","ü":"u","Ã":"Y","ý":"y","ÿ":"y","Ã":"Ae","æ":"ae","Ã":"Th","þ":"th","Ã":"ss","Ä":"A","Ä":"A","Ä":"A","Ä":"a","Ä":"a","Ä
":"a","Ä":"C","Ä":"C","Ä":"C","Ä":"C","Ä":"c","Ä":"c","Ä":"c","Ä":"c","Ä":"D","Ä":"D","Ä":"d","Ä":"d","Ä":"E","Ä":"E","Ä":"E","Ä":"E","Ä":"E","Ä":"e","Ä":"e","Ä":"e","Ä":"e","Ä":"e","Ä":"G","Ä":"G","Ä ":"G","Ä¢":"G","Ä":"g","Ä":"g","Ä¡":"g","Ä£":"g","Ĥ":"H","Ħ":"H","Ä¥":"h","ħ":"h","Ĩ":"I","Ī":"I","Ĭ":"I","Ä®":"I","İ":"I","Ä©":"i","Ä«":"i","Ä":"i","į":"i","ı":"i","Ä´":"J","ĵ":"j","Ķ":"K","Ä·":"k","ĸ":"k","Ĺ":"L","Ä»":"L","Ľ":"L","Ä¿":"L","Å":"L","ĺ":"l","ļ":"l","ľ":"l","Å":"l","Å":"l","Å":"N","Å
":"N","Å":"N","Å":"N","Å":"n","Å":"n","Å":"n","Å":"n","Å":"O","Å":"O","Å":"O","Å":"o","Å":"o","Å":"o","Å":"R","Å":"R","Å":"R","Å":"r","Å":"r","Å":"r","Å":"S","Å":"S","Å":"S","Å ":"S","Å":"s","Å":"s","Å":"s","Å¡":"s","Å¢":"T","Ť":"T","Ŧ":"T","Å£":"t","Å¥":"t","ŧ":"t","Ũ":"U","Ū":"U","Ŭ":"U","Å®":"U","Ű":"U","Ų":"U","Å©":"u","Å«":"u","Å":"u","ů":"u","ű":"u","ų":"u","Å´":"W","ŵ":"w","Ŷ":"Y","Å·":"y","Ÿ":"Y","Ź":"Z","Å»":"Z","Ž":"Z","ź":"z","ż":"z","ž":"z","IJ":"IJ","ij":"ij","Å":"Oe","Å":"oe","Å":"'n","Å¿":"s"},_=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,C=RegExp("[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\u1ab0-\\u1aff\\u1dc0-\\u1dff]","g");function k(t){return x[t]}function T(t){return(t=t.toString())&&t.replace(_,k).replace(C,"")}var E,S,I,A,D=(E={"&":"&","<":"<",">":">",'"':""","'":"'","`":"`"},S="(?:"+Object.keys(E).join("|")+")",I=RegExp(S),A=RegExp(S,"g"),function(t){return t=null==t?"":""+t,I.test(t)?t.replace(A,O):t});function O(t){return E[t]}var P={32:" ",48:"0",49:"1",50:"2",51:"3",52:"4",53:"5",54:"6",55:"7",56:"8",57:"9",59:";",65:"A",66:"B",67:"C",68:"D",69:"E",70:"F",71:"G",72:"H",73:"I",74:"J",75:"K",76:"L",77:"M",78:"N",79:"O",80:"P",81:"Q",82:"R",83:"S",84:"T",85:"U",86:"V",87:"W",88:"X",89:"Y",90:"Z",96:"0",97:"1",98:"2",99:"3",100:"4",101:"5",102:"6",103:"7",104:"8",105:"9"},L={success:!1,major:"3"};try{L.full=(t.fn.dropdown.Constructor.VERSION||"").split(" ")[0].split("."),L.major=L.full[0],L.success=!0}catch(t){}var j=0,$=".bs.select",z={DISABLED:"disabled",DIVIDER:"divider",SHOW:"open",DROPUP:"dropup",MENU:"dropdown-menu",MENURIGHT:"dropdown-menu-right",MENULEFT:"dropdown-menu-left",BUTTONCLASS:"btn-default",POPOVERHEADER:"popover-title",ICONBASE:"glyphicon",TICKICON:"glyphicon-ok"},M={MENU:"."+z.MENU},N={div:document.createElement("div"),span:document.createElement("span"),i:document.createElement("i"),subtext:document.createElement("small"),a:document.createElement("a"),li:document.createElement("li"),whitespace:document.createTextNode(" "),fragment:document.createDocumentFragment()};N.noResults=N.li.cloneNode(!1),N.noResults.className="no-results",N.a.setAttribute("role","option"),N.a.className="dropdown-item",N.subtext.className="text-muted",N.text=N.span.cloneNode(!1),N.text.className="text",N.checkMark=N.span.cloneNode(!1);var H=new RegExp("38|40"),R=new RegExp("^9$|27"),W={li:function(t,e,i){var n=N.li.cloneNode(!1);return t&&(1===t.nodeType||11===t.nodeType?n.appendChild(t):n.innerHTML=t),void 0!==e&&""!==e&&(n.className=e),null!=i&&n.classList.add("optgroup-"+i),n},a:function(t,e,i){var n=N.a.cloneNode(!0);return t&&(11===t.nodeType?n.appendChild(t):n.insertAdjacentHTML("beforeend",t)),void 0!==e&&""!==e&&n.classList.add.apply(n.classList,e.split(/\s+/)),i&&n.setAttribute("style",i),n},text:function(t,e){var i,n,o=N.text.cloneNode(!1);if(t.content)o.innerHTML=t.content;else{if(o.textContent=t.text,t.icon){var s=N.whitespace.cloneNode(!1);(n=(!0===e?N.i:N.span).cloneNode(!1)).className=this.options.iconBase+" "+t.icon,N.fragment.appendChild(n),N.fragment.appendChild(s)}t.subtext&&((i=N.subtext.cloneNode(!1)).textContent=t.subtext,o.appendChild(i))}if(!0===e)for(;0<o.childNodes.length;)N.fragment.appendChild(o.childNodes[0]);else N.fragment.appendChild(o);return N.fragment},label:function(t){var e,i,n=N.text.cloneNode(!1);if(n.innerHTML=t.display,t.icon){var o=N.whitespace.cloneNode(!1);(i=N.span.cloneNode(!1)).className=this.options.iconBase+" "+t.icon,N.fragment.appendChild(i),N.fragment.appendChild(o)}return t.subtext&&((e=N.subtext.cloneNode(!1)).textContent=t.subtext,n.appendChild(e)),N.fragment.appendChild(n),N.fragment}},B=function(e,i){var n=this;g.useDefault||(t.valHooks.select.set=g._set,g.useDefault=!0),this.$element=t(e),this.$newElement=null,this.$button=null,this.$menu=null,this.options=i,this.selectpicker={main:{},search:{},current:{},view:{},isSearching:!1,keydown:{keyHistory:"",resetKeyHistory:{start:function(){return setTimeout(function(){n.selectpicker.keydown.keyHistory=""},800)}}}},this.sizeInfo={},null===this.options.title&&(this.options.title=this.$element.attr("title"));var o=this.options.windowPadding;"number"==typeof o&&(this.options.windowPadding=[o,o,o,o]),this.val=B.prototype.val,this.render=B.prototype.render,this.refresh=B.prototype.refresh,this.setStyle=B.prototype.setStyle,this.selectAll=B.prototype.selectAll,this.deselectAll=B.prototype.deselectAll,this.destroy=B.prototype.destroy,this.remove=B.prototype.remove,this.show=B.prototype.show,this.hide=B.prototype.hide,this.init()};function F(i){var n,o=arguments,s=i;if([].shift.apply(o),!L.success){try{L.full=(t.fn.dropdown.Constructor.VERSION||"").split(" ")[0].split(".")}catch(i){B.BootstrapVersion?L.full=B.BootstrapVersion.split(" ")[0].split("."):(L.full=[L.major,"0","0"],console.warn("There was an issue retrieving Bootstrap's version. Ensure Bootstrap is being loaded before bootstrap-select and there is no namespace collision. If loading Bootstrap asynchronously, the version may need to be manually specified via $.fn.selectpicker.Constructor.BootstrapVersion.",i))}L.major=L.full[0],L.success=!0}if("4"===L.major){var r=[];B.DEFAULTS.style===z.BUTTONCLASS&&r.push({name:"style",className:"BUTTONCLASS"}),B.DEFAULTS.iconBase===z.ICONBASE&&r.push({name:"iconBase",className:"ICONBASE"}),B.DEFAULTS.tickIcon===z.TICKICON&&r.push({name:"tickIcon",className:"TICKICON"}),z.DIVIDER="dropdown-divider",z.SHOW="show",z.BUTTONCLASS="btn-light",z.POPOVERHEADER="popover-header",z.ICONBASE="",z.TICKICON="bs-ok-default";for(var a=0;a<r.length;a++)i=r[a],B.DEFAULTS[i.name]=z[i.className]}var l=this.each(function(){var i=t(this);if(i.is("select")){var r=i.data("selectpicker"),a="object"==typeof s&&s;if(r){if(a)for(var l in a)Object.prototype.hasOwnProperty.call(a,l)&&(r.options[l]=a[l])}else{var c=i.data();for(var d in c)Object.prototype.hasOwnProperty.call(c,d)&&-1!==t.inArray(d,e)&&delete c[d];var h=t.extend({},B.DEFAULTS,t.fn.selectpicker.defaults||{},c,a);h.template=t.extend({},B.DEFAULTS.template,t.fn.selectpicker.defaults?t.fn.selectpicker.defaults.template:{},c.template,a.template),i.data("selectpicker",r=new B(this,h))}"string"==typeof s&&(n=r[s]instanceof Function?r[s].apply(r,o):r.options[s])}});return void 0!==n?n:l}B.VERSION="1.13.18",B.DEFAULTS={noneSelectedText:"Nothing selected",noneResultsText:"No results matched {0}",countSelectedText:function(t,e){return 1==t?"{0} item selected":"{0} items selected"},maxOptionsText:function(t,e){return[1==t?"Limit reached ({n} item max)":"Limit reached ({n} items max)",1==e?"Group limit reached ({n} item max)":"Group limit reached ({n} items max)"]},selectAllText:"Select All",deselectAllText:"Deselect All",doneButton:!1,doneButtonText:"Close",multipleSeparator:", ",styleBase:"btn",style:z.BUTTONCLASS,size:"auto",title:null,selectedTextFormat:"values",width:!1,container:!1,hideDisabled:!1,showSubtext:!1,showIcon:!0,showContent:!0,dropupAuto:!0,header:!1,liveSearch:!1,liveSearchPlaceholder:null,liveSearchNormalize:!1,liveSearchStyle:"contains",actionsBox:!1,iconBase:z.ICONBASE,tickIcon:z.TICKICON,showTick:!1,template:{caret:'<span class="caret"></span>'},maxOptions:!1,mobile:!1,selectOnTab:!1,dropdownAlignRight:!1,windowPadding:0,virtualScroll:600,display:!1,sanitize:!0,sanitizeFn:null,whiteList:{"*":["class","dir","id","lang","role","tabindex","style",/^aria-[\w-]*$/i],a:["target","href","title","rel"],area:[],b:[],br:[],col:[],code:[],div:[],em:[],hr:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],i:[],img:["src","alt","title","width","height"],li:[],ol:[],p:[],pre:[],s:[],small:[],span:[],sub:[],sup:[],strong:[],u:[],ul:[]}},B.prototype={constructor:B,init:function(){var t=this,e=this.$element.attr("id"),i=this.$element[0],n=i.form;j++,this.selectId="bs-select-"+j,i.classList.add("bs-select-hidden"),this.multiple=this.$element.prop("multiple"),this.autofocus=this.$element.prop("autofocus"),i.classList.contains("show-tick")&&(this.options.showTick=!0),this.$newElement=this.createDropdown(),this.buildData(),this.$element.after(this.$newElement).prependTo(this.$newElement),n&&null===i.form&&(n.id||(n.id="form-"+this.selectId),i.setAttribute("form",n.id)),this.$button=this.$newElement.children("button"),this.$menu=this.$newElement.children(M.MENU),this.$menuInner=this.$menu.children(".inner"),this.$searchbox=this.$menu.find("input"),i.classList.remove("bs-select-hidden"),!0===this.options.dropdownAlignRight&&this.$menu[0].classList.add(z.MENURIGHT),void 0!==e&&this.$button.attr("data-id",e),this.checkDisabled(),this.clickListener(),this.options.liveSearch?(this.liveSearchListener(),this.focusedParent=this.$searchbox[0]):this.focusedParent=this.$menuInner[0],this.setStyle(),this.render(),this.setWidth(),this.options.container?this.selectPosition():this.$element.on("hide"+$,function(){if(t.isVirtual()){var e=t.$menuInner[0],i=e.firstChild.cloneNode(!1);e.replaceChild(i,e.firstChild),e.scrollTop=0}}),this.$menu.data("this",this),this.$newElement.data("this",this),this.options.mobile&&this.mobile(),this.$newElement.on({"hide.bs.dropdown":function(e){t.$element.trigger("hide"+$,e)},"hidden.bs.dropdown":function(e){t.$element.trigger("hidden"+$,e)},"show.bs.dropdown":function(e){t.$element.trigger("show"+$,e)},"shown.bs.dropdown":function(e){t.$element.trigger("shown"+$,e)}}),i.hasAttribute("required")&&this.$element.on("invalid"+$,function(){t.$button[0].classList.add("bs-invalid"),t.$element.on("shown"+$+".invali
1d",function(){t.$element.val(t.$element.val()).off("shown"+$+".invalid")}).on("rendered"+$,function(){this.validity.valid&&t.$button[0].classList.remove("bs-invalid"),t.$element.off("rendered"+$)}),t.$button.on("blur"+$,function(){t.$element.trigger("focus").trigger("blur"),t.$button.off("blur"+$)})}),setTimeout(function(){t.buildList(),t.$element.trigger("loaded"+$)})},createDropdown:function(){var e=this.multiple||this.options.showTick?" show-tick":"",i=this.multiple?' aria-multiselectable="true"':"",n="",o=this.autofocus?" autofocus":"";L.major<4&&this.$element.parent().hasClass("input-group")&&(n=" input-group-btn");var s,r="",a="",l="",c="";return this.options.header&&(r='<div class="'+z.POPOVERHEADER+'"><button type="button" class="close" aria-hidden="true">×</button>'+this.options.header+"</div>"),this.options.liveSearch&&(a='<div class="bs-searchbox"><input type="search" class="form-control" autocomplete="off"'+(null===this.options.liveSearchPlaceholder?"":' placeholder="'+D(this.options.liveSearchPlaceholder)+'"')+' role="combobox" aria-label="Search" aria-controls="'+this.selectId+'" aria-autocomplete="list"></div>'),this.multiple&&this.options.actionsBox&&(l='<div class="bs-actionsbox"><div class="btn-group btn-group-sm btn-block"><button type="button" class="actions-btn bs-select-all btn '+z.BUTTONCLASS+'">'+this.options.selectAllText+'</button><button type="button" class="actions-btn bs-deselect-all btn '+z.BUTTONCLASS+'">'+this.options.deselectAllText+"</button></div></div>"),this.multiple&&this.options.doneButton&&(c='<div class="bs-donebutton"><div class="btn-group btn-block"><button type="button" class="btn btn-sm '+z.BUTTONCLASS+'">'+this.options.doneButtonText+"</button></div></div>"),s='<div class="dropdown bootstrap-select'+e+n+'"><button type="button" tabindex="-1" class="'+this.options.styleBase+' dropdown-toggle" '+("static"===this.options.display?'data-display="static"':"")+'data-toggle="dropdown"'+o+' role="combobox" aria-owns="'+this.selectId+'" aria-haspopup="listbox" aria-expanded="false"><div class="filter-option"><div class="filter-option-inner"><div class="filter-option-inner-inner"></div></div> </div>'+("4"===L.major?"":'<span class="bs-caret">'+this.options.template.caret+"</span>")+'</button><div class="'+z.MENU+" "+("4"===L.major?"":z.SHOW)+'">'+r+a+l+'<div class="inner '+z.SHOW+'" role="listbox" id="'+this.selectId+'" tabindex="-1" '+i+'><ul class="'+z.MENU+" inner "+("4"===L.major?z.SHOW:"")+'" role="presentation"></ul></div>'+c+"</div></div>",t(s)},setPositionData:function(){this.selectpicker.view.canHighlight=[],this.selectpicker.view.size=0,this.selectpicker.view.firstHighlightIndex=!1;for(var t=0;t<this.selectpicker.current.data.length;t++){var e=this.selectpicker.current.data[t],i=!0;"divider"===e.type?(i=!1,e.height=this.sizeInfo.dividerHeight):"optgroup-label"===e.type?(i=!1,e.height=this.sizeInfo.dropdownHeaderHeight):e.height=this.sizeInfo.liHeight,e.disabled&&(i=!1),this.selectpicker.view.canHighlight.push(i),i&&(this.selectpicker.view.size++,e.posinset=this.selectpicker.view.size,!1===this.selectpicker.view.firstHighlightIndex&&(this.selectpicker.view.firstHighlightIndex=t)),e.position=(0===t?0:this.selectpicker.current.data[t-1].position)+e.height}},isVirtual:function(){return!1!==this.options.virtualScroll&&this.selectpicker.main.elements.length>=this.options.virtualScroll||!0===this.options.virtualScroll},createView:function(e,i,n){var o,s,a=this,l=0,c=[];if(this.selectpicker.isSearching=e,this.selectpicker.current=e?this.selectpicker.search:this.selectpicker.main,this.setPositionData(),i)if(n)l=this.$menuInner[0].scrollTop;else if(!a.multiple){var d=a.$element[0],h=(d.options[d.selectedIndex]||{}).liIndex;if("number"==typeof h&&!1!==a.options.size){var u=a.selectpicker.main.data[h],p=u&&u.position;p&&(l=p-(a.sizeInfo.menuInnerHeight+a.sizeInfo.liHeight)/2)}}function f(t,i){var n,l,d,h,u,p,f,m,g=a.selectpicker.current.elements.length,v=[],y=!0,b=a.isVirtual();a.selectpicker.view.scrollTop=t,n=Math.ceil(a.sizeInfo.menuInnerHeight/a.sizeInfo.liHeight*1.5),l=Math.round(g/n)||1;for(var w=0;w<l;w++){var x=(w+1)*n;if(w===l-1&&(x=g),v[w]=[w*n+(w?1:0),x],!g)break;void 0===u&&t-1<=a.selectpicker.current.data[x-1].position-a.sizeInfo.menuInnerHeight&&(u=w)}if(void 0===u&&(u=0),p=[a.selectpicker.view.position0,a.selectpicker.view.position1],d=Math.max(0,u-1),h=Math.min(l-1,u+1),a.selectpicker.view.position0=!1===b?0:Math.max(0,v[d][0])||0,a.selectpicker.view.position1=!1===b?g:Math.min(g,v[h][1])||0,f=p[0]!==a.selectpicker.view.position0||p[1]!==a.selectpicker.view.position1,void 0!==a.activeIndex&&(s=a.selectpicker.main.elements[a.prevActiveIndex],c=a.selectpicker.main.elements[a.activeIndex],o=a.selectpicker.main.elements[a.selectedIndex],i&&(a.activeIndex!==a.selectedIndex&&a.defocusItem(c),a.activeIndex=void 0),a.activeIndex&&a.activeIndex!==a.selectedIndex&&a.defocusItem(o)),void 0!==a.prevActiveIndex&&a.prevActiveIndex!==a.activeIndex&&a.prevActiveIndex!==a.selectedIndex&&a.defocusItem(s),(i||f)&&(m=a.selectpicker.view.visibleElements?a.selectpicker.view.visibleElements.slice():[],a.selectpicker.view.visibleElements=!1===b?a.selectpicker.current.elements:a.selectpicker.current.elements.slice(a.selectpicker.view.position0,a.selectpicker.view.position1),a.setOptionStatus(),(e||!1===b&&i)&&(y=!function(t,e){return t.length===e.length&&t.every(function(t,i){return t===e[i]})}
vendor: 25,807 bytes, line 1
1(m,a.selectpicker.view.visibleElements)),(i||!0===b)&&y)){var _,C,k=a.$menuInner[0],T=document.createDocumentFragment(),E=k.firstChild.cloneNode(!1),S=a.selectpicker.view.visibleElements,I=[];k.replaceChild(E,k.firstChild),w=0;for(var A=S.length;w<A;w++){var D,O,P=S[w];a.options.sanitize&&(D=P.lastChild)&&(O=a.selectpicker.current.data[w+a.selectpicker.view.position0])&&O.content&&!O.sanitized&&(I.push(D),O.sanitized=!0),T.appendChild(P)}if(a.options.sanitize&&I.length&&r(I,a.options.whiteList,a.options.sanitizeFn),!0===b?(_=0===a.selectpicker.view.position0?0:a.selectpicker.current.data[a.selectpicker.view.position0-1].position,C=a.selectpicker.view.position1>g-1?0:a.selectpicker.current.data[g-1].position-a.selectpicker.current.data[a.selectpicker.view.position1-1].position,k.firstChild.style.marginTop=_+"px",k.firstChild.style.marginBottom=C+"px"):(k.firstChild.style.marginTop=0,k.firstChild.style.marginBottom=0),k.firstChild.appendChild(T),!0===b&&a.sizeInfo.hasScrollBar){var L=k.firstChild.offsetWidth;if(i&&L<a.sizeInfo.menuInnerInnerWidth&&a.sizeInfo.totalMenuWidth>a.sizeInfo.selectWidth)k.firstChild.style.minWidth=a.sizeInfo.menuInnerInnerWidth+"px";else if(L>a.sizeInfo.menuInnerInnerWidth){a.$menu[0].style.minWidth=0;var j=k.firstChild.offsetWidth;j>a.sizeInfo.menuInnerInnerWidth&&(a.sizeInfo.menuInnerInnerWidth=j,k.firstChild.style.minWidth=a.sizeInfo.menuInnerInnerWidth+"px"),a.$menu[0].style.minWidth=""}}}if(a.prevActiveIndex=a.activeIndex,a.options.liveSearch){if(e&&i){var $,z=0;a.selectpicker.view.canHighlight[z]||(z=1+a.selectpicker.view.canHighlight.slice(1).indexOf(!0)),$=a.selectpicker.view.visibleElements[z],a.defocusItem(a.selectpicker.view.currentActive),a.activeIndex=(a.selectpicker.current.data[z]||{}).index,a.focusItem($)}}else a.$menuInner.trigger("focus")}f(l,!0),this.$menuInner.off("scroll.createView").on("scroll.createView",function(t,e){a.noScroll||f(this.scrollTop,e),a.noScroll=!1}),t(window).off("resize"+$+"."+this.selectId+".createView").on("resize"+$+"."+this.selectId+".createView",function(){a.$newElement.hasClass(z.SHOW)&&f(a.$menuInner[0].scrollTop)})},focusItem:function(t,e,i){if(t){e=e||this.selectpicker.main.data[this.activeIndex];var n=t.firstChild;n&&(n.setAttribute("aria-setsize",this.selectpicker.view.size),n.setAttribute("aria-posinset",e.posinset),!0!==i&&(this.focusedParent.setAttribute("aria-activedescendant",n.id),t.classList.add("active"),n.classList.add("active")))}},defocusItem:function(t){t&&(t.classList.remove("active"),t.firstChild&&t.firstChild.classList.remove("active"))},setPlaceholder:function(){var t=this,e=!1;if(this.options.title&&!this.multiple){this.selectpicker.view.titleOption||(this.selectpicker.view.titleOption=document.createElement("option")),e=!0;var i=this.$element[0],n=!1,o=!this.selectpicker.view.titleOption.parentNode,s=i.selectedIndex,r=i.options[s],a=window.performance&&window.performance.getEntriesByType("navigation"),l=a&&a.length?"back_forward"!==a[0].type:2!==window.performance.navigation.type;o&&(this.selectpicker.view.titleOption.className="bs-title-option",this.selectpicker.view.titleOption.value="",n=!r||0===s&&!1===r.defaultSelected&&void 0===this.$element.data("selected")),!o&&0===this.selectpicker.view.titleOption.index||i.insertBefore(this.selectpicker.view.titleOption,i.firstChild),n&&l?i.selectedIndex=0:"complete"!==document.readyState&&window.addEventListener("pageshow",function(){t.selectpicker.view.displayedValue!==i.value&&t.render()})}return e},buildData:function(){var t=':not([hidden]):not([data-hidden="true"])',e=[],i=0,n=this.setPlaceholder()?1:0;this.options.hideDisabled&&(t+=":not(:disabled)");var o=this.$element[0].querySelectorAll("select > *"+t);function s(t){var i=e[e.length-1];i&&"divider"===i.type&&(i.optID||t.optID)||((t=t||{}).type="divider",e.push(t))}function r(t,i){if((i=i||{}).divider="true"===t.getAttribute("data-divider"),i.divider)s({optID:i.optID});else{var n=e.length,o=t.style.cssText,r=o?D(o):"",a=(t.className||"")+(i.optgroupClass||"");i.optID&&(a="opt "+a),i.optionClass=a.trim(),i.inlineStyle=r,i.text=t.textContent,i.content=t.getAttribute("data-content"),i.tokens=t.getAttribute("data-tokens"),i.subtext=t.getAttribute("data-subtext"),i.icon=t.getAttribute("data-icon"),t.liIndex=n,i.display=i.content||i.text,i.type="option",i.index=n,i.option=t,i.selected=!!t.selected,i.disabled=i.disabled||!!t.disabled,e.push(i)}}function a(o,a){var l=a[o],c=!(o-1<n)&&a[o-1],d=a[o+1],h=l.querySelectorAll("option"+t);if(h.length){var u,p,f={display:D(l.label),subtext:l.getAttribute("data-subtext"),icon:l.getAttribute("data-icon"),type:"optgroup-label",optgroupClass:" "+(l.className||"")};i++,c&&s({optID:i}),f.optID=i,e.push(f);for(var m=0,g=h.length;m<g;m++){var v=h[m];0===m&&(p=(u=e.length-1)+g),r(v,{headerIndex:u,lastIndex:p,optID:f.optID,optgroupClass:f.optgroupClass,disabled:l.disabled})}d&&s({optID:i})}}for(var l=o.length,c=n;c<l;c++){var d=o[c];"OPTGROUP"!==d.tagName?r(d,{}):a(c,o)}this.selectpicker.main.data=this.selectpicker.current.data=e},buildList:function(){var t=this,e=this.selectpicker.main.data,i=[],n=0;function o(e){var o,s=0;switch(e.type){case"divider":o=W.li(!1,z.DIVIDER,e.optID?e.optID+"div":void 0);break;case"option":(o=W.li(W.a(W.text.call(t,e),e.optionClass,e.inlineStyle),"",e.optID)).firstChild&&(o.firstChild.id=t.selectId+"-"+e.index);break;case"optgroup-label":o=W.li(W.label.call(t,e),"dropdown-header"+e.optgroupClass,e.optID)}e.element=o,i.push(o),e.display&&(s+=e.display.length),e.subtext&&(s+=e.subtext.length),e.icon&&(s+=1),n<s&&(n=s,t.selectpicker.view.widestOption=i[i.length-1])}!t.options.showTick&&!t.multiple||N.checkMark.parentNode||(N.checkMark.className=this.options.iconBase+" "+t.options.tickIcon+" check-mark",N.a.appendChild(N.checkMark));for(var s=e.length,r=0;r<s;r++)o(e[r]);this.selectpicker.main.elements=this.selectpicker.current.elements=i},findLis:function(){return this.$menuInner.find(".inner > li")},render:function(){var t,e=this,i=this.$element[0],n=this.setPlaceholder()&&0===i.selectedIndex,o=f(i,this.options.hideDisabled),s=o.length,a=this.$button[0],l=a.querySelector(".filter-option-inner-inner"),c=document.createTextNode(this.options.multipleSeparator),d=N.fragment.cloneNode(!1),h=!1;if(a.classList.toggle("bs-placeholder",e.multiple?!s:!m(i,o)),e.multiple||1!==o.length||(e.selectpicker.view.displayedValue=m(i,o)),"static"===this.options.selectedTextFormat)d=W.text.call(this,{text:this.options.title},!0);else if(!1===(this.multiple&&-1!==this.options.selectedTextFormat.indexOf("count")&&1<s&&(1<(t=this.options.selectedTextFormat.split(">")).length&&s>t[1]||1===t.length&&2<=s))){if(!n){for(var u=0;u<s&&u<50;u++){var p=o[u],g=this.selectpicker.main.data[p.liIndex],v={};this.multiple&&0<u&&d.appendChild(c.cloneNode(!1)),p.title?v.text=p.title:g&&(g.content&&e.options.showContent?(v.content=g.content.toString(),h=!0):(e.options.showIcon&&(v.icon=g.icon),e.options.showSubtext&&!e.multiple&&g.subtext&&(v.subtext=" "+g.subtext),v.text=p.textContent.trim())),d.appendChild(W.text.call(this,v,!0))}49<s&&d.appendChild(document.createTextNode("..."))}}else{var y=':not([hidden]):not([data-hidden="true"]):not([data-divider="true"])';this.options.hideDisabled&&(y+=":not(:disabled)");var b=this.$element[0].querySelectorAll("select > option"+y+", optgroup"+y+" option"+y).length,w="function"==typeof this.options.countSelectedText?this.options.countSelectedText(s,b):this.options.countSelectedText;d=W.text.call(this,{text:w.replace("{0}",s.toString()).replace("{1}",b.toString())},!0)}if(null==this.options.title&&(this.options.title=this.$element.attr("title")),d.childNodes.length||(d=W.text.call(this,{text:void 0!==this.options.title?this.options.title:this.options.noneSelectedText},!0)),a.title=d.textContent.replace(/<[^>]*>?/g,"").trim(),this.options.sanitize&&h&&r([d],e.options.whiteList,e.options.sanitizeFn),l.innerHTML="",l.appendChild(d),L.major<4&&this.$newElement[0].classList.contains("bs3-has-addon")){var x=a.querySelector(".filter-expand"),_=l.cloneNode(!0);_.className="filter-expand",x?a.replaceChild(_,x):a.appendChild(_)}this.$element.trigger("rendered"+$)},setStyle:function(t,e){var i,n=this.$button[0],o=this.$newElement[0],s=this.options.style.trim();this.$element.attr("class")&&this.$newElement.addClass(this.$element.attr("class").replace(/selectpicker|mobile-device|bs-select-hidden|validate\[.*\]/gi,"")),L.major<4&&(o.classList.add("bs3"),o.parentNode.classList&&o.parentNode.classList.contains("input-group")&&(o.previousElementSibling||o.nextElementSibling)&&(o.previousElementSibling||o.nextElementSibling).classList.contains("input-group-addon")&&o.classList.add("bs3-has-addon")),i=t?t.trim():s,"add"==e?i&&n.classList.add.apply(n.classList,i.split(" ")):"remove"==e?i&&n.classList.remove.apply(n.classList,i.split(" ")):(s&&n.classList.remove.apply(n.classList,s.split(" ")),i&&n.classList.add.apply(n.classList,i.split(" ")))},liHeight:function(e){if(e||!1!==this.options.size&&!Object.keys(this.sizeInfo).length){var i,n=N.div.cloneNode(!1),o=N.div.cloneNode(!1),s=N.div.cloneNode(!1),r=document.createElement("ul"),a=N.li.cloneNode(!1),l=N.li.cloneNode(!1),c=N.a.cloneNode(!1),d=N.span.cloneNode(!1),h=this.options.header&&0<this.$menu.find("."+z.POPOVERHEADER).length?this.$menu.find("."+z.POPOVERHEADER)[0].cloneNode(!0):null,u=this.options.liveSearch?N.div.cloneNode(!1):null,p=this.options.actionsBox&&this.multiple&&0<this.$menu.find(".bs-actionsbox").length?this.$menu.find(".bs-actionsbox")[0].cloneNode(!0):null,f=this.options.doneButton&&this.multiple&&0<this.$menu.find(".bs-donebutton").length?this.$menu.find(".bs-donebutton")[0].cloneNode(!0):null,m=this.$element.find("option")[0];if(this.sizeInfo.selectWidth=this.$newElement[0].offsetWidth,d.className="text",c.className="dropdown-item "+(m?m.className:""),n.className=this.$menu[0].parentNode.className+" "+z.SHOW,n.style.width=0,"auto"===this.options.width&&(o.style.minWidth=0),o.className=z.MENU+" "+z.SHOW,s.className="inner "+z.SHOW,r.className=z.MENU+" inner "+("4"===L.major?z.SHOW:""),a.className=z.DIVIDER,l.className="dropdown-header",d.appendChild(document.createTextNode("â")),this.selectpicker.current.data.length)for(var g=0;g<this.selectpicker.current.data.length;g++){var v=this.selectpicker.current.data[g];if("option"===v.type){i=v.element;break}}else i=N.li.cloneNode(!1),c.appendChild(d),i.appendChild(c);if(l.appendChild(d.cloneNode(!0)),this.selectpicker.view.widestOption&&r.appendChild(this.selectpicker.view.widestOption.cloneNode(!0)),r.appendChild(i),r.appendChild(a),r.appendChild(l),h&&o.appendChild(h),u){var y=document.createElement("input");u.className="bs-searchbox",y.className="form-control",u.appendChild(y),o.appendChild(u)}p&&o.appendChild(p),s.appendChild(r),o.appendChild(s),f&&o.appendChild(f),n.appendChild(o),document.body.appendChild(n);var b,x=i.offsetHeight,_=l?l.offsetHeight:0,C=h?h.offsetHeight:0,k=u?u.offsetHeight:0,T=p?p.offsetHeight:0,E=f?f.offsetHeight:0,S=t(a).outerHeight(!0),I=!!window.getComputedStyle&&window.getComputedStyle(o),A=o.offsetWidth,D=I?null:t(o),O={vert:w(I?I.paddingTop:D.css("paddingTop"))+w(I?I.paddingBottom:D.css("paddingBottom"))+w(I?I.borderTopWidth:D.css("borderTopWidth"))+w(I?I.borderBottomWidth:D.css("borderBottomWidth")),horiz:w(I?I.paddingLeft:D.css("paddingLeft"))+w(I?I.paddingRight:D.css("paddingRight"))+w(I?I.borderLeftWidth:D.css("borderLeftWidth"))+w(I?I.borderRightWidth:D.css("borderRightWidth"))},P={vert:O.vert+w(I?I.marginTop:D.css("marginTop"))+w(I?I.marginBottom:D.css("marginBottom"))+2,horiz:O.horiz+w(I?I.marginLeft:D.css("marginLeft"))+w(I?I.marginRight:D.css("marginRight"))+2};s.style.overflowY="scroll",b=o.offsetWidth-A,document.body.removeChild(n),this.sizeInfo.liHeight=x,this.sizeInfo.dropdownHeaderHeight=_,this.sizeInfo.headerHeight=C,this.sizeInfo.searchHeight=k,this.sizeInfo.actionsHeight=T,this.sizeInfo.doneButtonHeight=E,this.sizeInfo.dividerHeight=S,this.sizeInfo.menuPadding=O,this.sizeInfo.menuExtras=P,this.sizeInfo.menuWidth=A,this.sizeInfo.menuInnerInnerWidth=A-O.horiz,this.sizeInfo.totalMenuWidth=this.sizeInfo.menuWidth,this.sizeInfo.scrollBarWidth=b,this.sizeInfo.selectHeight=this.$newElement[0].offsetHeight,this.setPositionData()}},getSelectPosition:function(){var e,i=t(window),n=this.$newElement.offset(),o=t(this.options.container);this.options.container&&o.length&&!o.is("body")?((e=o.offset()).top+=parseInt(o.css("borderTopWidth")),e.left+=parseInt(o.css("borderLeftWidth"))):e={top:0,left:0};var s=this.options.windowPadding;this.sizeInfo.selectOffsetTop=n.top-e.top-i.scrollTop(),this.sizeInfo.selectOffsetBot=i.height()-this.sizeInfo.selectOffsetTop-this.sizeInfo.selectHeight-e.top-s[2],this.sizeInfo.selectOffsetLeft=n.left-e.left-i.scrollLeft(),this.sizeInfo.selectOffsetRight=i.width()-this.sizeInfo.selectOffsetLeft-this.sizeInfo.selectWidth-e.left-s[1],this.sizeInfo.selectOffsetTop-=s[0],this.sizeInfo.selectOffsetLeft-=s[3]},setMenuSize:function(t){this.getSelectPosition();var e,i,n,o,s,r,a,l,c=this.sizeInfo.selectWidth,d=this.sizeInfo.liHeight,h=this.sizeInfo.headerHeight,u=this.sizeInfo.searchHeight,p=this.sizeInfo.actionsHeight,f=this.sizeInfo.doneButtonHeight,m=this.sizeInfo.dividerHeight,g=this.sizeInfo.menuPadding,v=0;if(this.options.dropupAuto&&(a=d*this.selectpicker.current.elements.length+g.vert,l=this.sizeInfo.selectOffsetTop-this.sizeInfo.selectOffsetBot>this.sizeInfo.menuExtras.vert&&a+this.sizeInfo.menuExtras.vert+50>this.sizeInfo.selectOffsetBot,!0===this.selectpicker.isSearching&&(l=this.selectpicker.dropup),this.$newElement.toggleClass(z.DROPUP,l),this.selectpicker.dropup=l),"auto"===this.options.size)o=3<this.selectpicker.current.elements.length?3*this.sizeInfo.liHeight+this.sizeInfo.menuExtras.vert-2:0,i=this.sizeInfo.selectOffsetBot-this.sizeInfo.menuExtras.vert,n=o+h+u+p+f,r=Math.max(o-g.vert,0),this.$newElement.hasClass(z.DROPUP)&&(i=this.sizeInfo.selectOffsetTop-this.sizeInfo.menuExtras.vert),e=(s=i)-h-u-p-f-g.vert;else if(this.options.size&&"auto"!=this.options.size&&this.selectpicker.current.elements.length>this.options.size){for(var y=0;y<this.options.size;y++)"divider"===this.selectpicker.current.data[y].type&&v++;e=(i=d*this.options.size+v*m+g.vert)-g.vert,s=i+h+u+p+f,n=r=""}this.$menu.css({"max-height":s+"px",overflow:"hidden","min-height":n+"px"}),this.$menuInner.css({"max-height":e+"px","overflow-y":"auto","min-height":r+"px"}),this.sizeInfo.menuInnerHeight=Math.max(e,1),this.selectpicker.current.data.length&&this.selectpicker.current.data[this.selectpicker.current.data.length-1].position>this.sizeInfo.menuInnerHeight&&(this.sizeInfo.hasScrollBar=!0,this.sizeInfo.totalMenuWidth=this.sizeInfo.menuWidth+this.sizeInfo.scrollBarWidth),"auto"===this.options.dropdownAlignRight&&this.$menu.toggleClass(z.MENURIGHT,this.sizeInfo.selectOffsetLeft>this.sizeInfo.selectOffsetRight&&this.sizeInfo.selectOffsetRight<this.sizeInfo.totalMenuWidth-c),this.dropdown&&this.dropdown._popper&&this.dropdown._popper.update()},setSize:function(e){if(this.liHeight(e),this.options.header&&this.$menu.css("padding-top",0),!1!==this.options.size){var i=this,n=t(window);this.setMenuSize(),this.options.liveSearch&&this.$searchbox.off("input.setMenuSize propertychange.setMenuSize").on("input.setMenuSize propertychange.setMenuSize",function(){return i.setMenuSize()}),"auto"===this.options.size?n.off("resize"+$+"."+this.selectId+".setMenuSize scroll"+$+"."+this.selectId+".setMenuSize").on("resize"+$+"."+this.selectId+".setMenuSize scroll"+$+"."+this.selectId+".setMenuSize",function(){return i.setMenuSize()}):this.options.size&&"auto"!=this.options.size&&this.selectpicker.current.elements.length>this.options.size&&n.off("resize"+$+"."+this.selectId+".setMenuSize scroll"+$+"."+this.selectId+".setMenuSize")}this.createView(!1,!0,e)},setWidth:function(){var t=this;"auto"===this.options.width?requestAnimationFrame(function(){t.$menu.css("min-width","0"),t.$element.on("loaded"+$,function(){t.liHeight(),t.setMenuSize();var e=t.$newElement.clone().appendTo("body"),i=e.css("width","auto").children("button").outerWidth();e.remove(),t.sizeInfo.selectWidth=Math.max(t.sizeInfo.totalMenuWidth,i),t.$newElement.css("width",t.sizeInfo.selectWidth+"px")})}):"fit"===this.options.width?(this.$menu.css("min-width",""),this.$newElement.css("width","").addClass("fit-width")):this.options.width?(this.$menu.css("min-width",""),this.$newElement.css("width",this.options.width)):(this.$menu.css("min-width",""),this.$newElement.css("width","")),this.$newElement.hasClass("fit-width")&&"fit"!==this.options.width&&this.$newElement[0].classList.remove("fit-width")},selectPosition:function(){function e(e){var a={},l=s.options.display||!!t.fn.dropdown.Constructor.Default&&t.fn.dropdown.Constructor.Default.display;s.$bsContainer.addClass(e.attr("class").replace(/form-control|fit-width/gi,"")).toggleClass(z.DROPUP,e.hasClass(z.DROPUP)),i=e.offset(),r.is("body")?n={top:0,left:0}:((n=r.offset()).top+=parseInt(r.css("borderTopWidth"))-r.scrollTop(),n.left+=parseInt(r.css("borderLeftWidth"))-r.scrollLeft()),o=e.hasClass(z.DROPUP)?0:e[0].offsetHeight,(L.major<4||"static"===l)&&(a.top=i.top-n.top+o,a.left=i.left-n.left),a.width=e[0].offsetWidth,s.$bsContainer.css(a)}this.$bsContainer=t('<div class="bs-container" />');var i,n,o,s=this,r=t(this.options.container);this.$button.on("click.bs.dropdown.data-api",function(){s.isDisabled()||(e(s.$newElement),s.$bsContainer.appendTo(s.options.container).toggleClass(z.SHOW,!s.$button.hasClass(z.SHOW)).append(s.$menu))}),t(window).off("resize"+$+"."+this.selectId+" scroll"+$+"."+this.selectId).on("resize"+$+"."+this.selectId+" scroll"+$+"."+this.selectId,function(){s.$newElement.hasClass(z.SHOW)&&e(s.$newElement)}),this.$element.on("hide"+$,function(){s.$menu.data("height",s.$menu.height()),s.$bsContainer.detach()})},setOptionStatus:function(t){var e=this;if(e.noScroll=!1,e.selectpicker.view.visibleElements&&e.selectpicker.view.visibleElements.length)for(var i=0;i<e.selectpicker.view.visibleElements.length;i++){var n=e.selectpicker.current.data[i+e.selectpicker.view.position0],o=n.option;o&&(!0!==t&&e.setDisabled(n.index,n.disabled),e.setSelected(n.index,o.selected))}},setSelected:function(t,e){var i,n,o=this.selectpicker.main.elements[t],s=this.selectpicker.main.data[t],r=void 0!==this.activeIndex,a=this.activeIndex===t||e&&!this.multiple&&!r;s.selected=e,n=o.firstChild,e&&(this.selectedIndex=t),o.classList.toggle("selected",e),a?(this.focusItem(o,s),this.selectpicker.view.currentActive=o,this.activeIndex=t):this.defocusItem(o),n&&(n.classList.toggle("selected",e),e?n.setAttribute("aria-selected",!0):this.multiple?n.setAttribute("aria-selected",!1):n.removeAttribute("aria-selected")),a||r||!e||void 0===this.prevActiveIndex||(i=this.selectpicker.main.elements[this.prevActiveIndex],this.defocusItem(i))},setDisabled:function(t,e){var i,n=this.selectpicker.main.elements[t];this.selectpicker.main.data[t].disabled=e,i=n.firstChild,n.classList.toggle(z.DISABLED,e),i&&("4"===L.major&&i.classList.toggle(z.DISABLED,e),e?(i.setAttribute("aria-disabled",e),i.setAttribute("tabindex",-1)):(i.removeAttribute("aria-disabled"),i.setAttribute("tabindex",0)))},isDisabled:function(){return this.$element[0].disabled},checkDisabled:function(){this.isDisabled()?(this.$newElement[0].classList.add(z.DISABLED),this.$button.addClass(z.DISABLED).attr("aria-disabled",!0)):this.$button[0].classList.contains(z.DISABLED)&&(this.$newElement[0].classList.remove(z.DISABLED),this.$button.removeClass(z.DISABLED).attr("aria-disabled",!1))},clickListener:function(){var e=this,i=t(document);function n(){e.options.liveSearch?e.$searchbox.trigger("focus"):e.$menuInner.trigger("focus")}function o(){e.dropdown&&e.dropdown._popper&&e.dropdown._popper.state.isCreated?n():requestAnimationFrame(o)}i.data("spaceSelect",!1),this.$button.on("keyup",function(t){/(32)/.test(t.keyCode.toString(10))&&i.data("spaceSelect")&&(t.preventDefault(),i.data("spaceSelect",!1))}),this.$newElement.on("show.bs.dropdown",function(){3<L.major&&!e.dropdown&&(e.dropdown=e.$button.data("bs.dropdown"),e.dropdown._menu=e.$menu[0])}),this.$button.on("click.bs.dropdown.data-api",function(){e.$newElement.hasClass(z.SHOW)||e.setSize()}),this.$element.on("shown"+$,function(){e.$menuInner[0].scrollTop!==e.selectpicker.view.scrollTop&&(e.$menuInner[0].scrollTop=e.selectpicker.view.scrollTop),3<L.major?requestAnimationFrame(o):n()}),this.$menuInner.on("mouseenter","li a",function(t){var i=this.parentElement,n=e.isVirtual()?e.selectpicker.view.position0:0,o=Array.prototype.indexOf.call(i.parentElement.children,i),s=e.selectpicker.current.data[o+n];e.focusItem(i,s,!0)}),this.$menuInner.on("click","li a",function(i,n){var o=t(this),s=e.$element[0],r=e.isVirtual()?e.selectpicker.view.position0:0,a=e.selectpicker.current.data[o.parent().index()+r],l=a.index,c=m(s),d=s.selectedIndex,h=s.options[d],u=!0;if(e.multiple&&1!==e.options.maxOptions&&i.stopPropagation(),i.preventDefault(),!e.isDisabled()&&!o.parent().hasClass(z.DISABLED)){var p=a.option,g=t(p),y=p.selected,b=g.parent("optgroup"),w=b.find("option"),x=e.options.maxOptions,_=b.data("maxOptions")||!1;if(l===e.activeIndex&&(n=!0),n||(e.prevActiveIndex=e.activeIndex,e.activeIndex=void 0),e.multiple){if(p.selected=!y,e.setSelected(l,!y),e.focusedParent.focus(),!1!==x||!1!==_){var C=x<f(s).length,k=_<b.find("option:selected").length;if(x&&C||_&&k)if(x&&1==x)s.selectedIndex=-1,p.selected=!0,e.setOptionStatus(!0);else if(_&&1==_){for(var T=0;T<w.length;T++){var E=w[T];E.selected=!1,e.setSelected(E.liIndex,!1)}p.selected=!0,e.setSelected(l,!0)}else{var S="string"==typeof e.options.maxOptionsText?[e.options.maxOptionsText,e.options.maxOptionsText]:e.options.maxOptionsText,I="function"==typeof S?S(x,_):S,A=I[0].replace("{n}",x),D=I[1].replace("{n}",_),O=t('<div class="notify"></div>');I[2]&&(A=A.replace("{var}",I[2][1<x?0:1]),D=D.replace("{var}",I[2][1<_?0:1])),p.selected=!1,e.$menu.append(O),x&&C&&(O.append(t("<div>"+A+"</div>")),u=!1,e.$element.trigger("maxReached"+$)),_&&k&&(O.append(t("<div>"+D+"</div>")),u=!1,e.$element.trigger("maxReachedGrp"+$)),setTimeout(function(){e.setSelected(l,!1)},10),O[0].classList.add("fadeOut"),setTimeout(function(){O.remove()},1050)}}}else h&&(h.selected=!1),p.selected=!0,e.setSelected(l,!0);!e.multiple||e.multiple&&1===e.options.maxOptions?e.$button.trigger("focus"):e.options.liveSearch&&e.$searchbox.trigger("focus"),u&&(!e.multiple&&d===s.selectedIndex||(v=[p.index,g.prop("selected"),c],e.$element.triggerNative("change")))}}),this.$menu.on("click","li."+z.DISABLED+" a, ."+z.POPOVERHEADER+", ."+z.POPOVERHEADER+" :not(.close)",function(i){i.currentTarget==this&&(i.preventDefault(),i.stopPropagation(),e.options.liveSearch&&!t(i.target).hasClass("close")?e.$searchbox.trigger("focus"):e.$button.trigger("focus"))}),this.$menuInner.on("click",".divider, .dropdown-header",function(t){t.preventDefault(),t.stopPropagation(),e.options.liveSearch?e.$searchbox.trigger("focus"):e.$button.trigger("focus")}),this.$menu.on("click","."+z.POPOVERHEADER+" .close",function(){e.$button.trigger("click")}),this.$searchbox.on("click",function(t){t.stopPropagation()}),this.$menu.on("click",".actions-btn",function(i){e.options.liveSearch?e.$searchbox.trigger("focus"):e.$button.trigger("focus"),i.preventDefault(),i.stopPropagation(),t(this).hasClass("bs-select-all")?e.selectAll():e.deselectAll()}),this.$button.on("focus"+$,function(t){var i=e.$element[0].getAttribute("tabindex");void 0!==i&&t.originalEvent&&t.originalEvent.isTrusted&&(this.setAttribute("tabindex",i),e.$element[0].setAttribute("tabindex",-1),e.selectpicker.view.tabindex=i)}).on("blur"+$,function(t){void 0!==e.selectpicker.view.tabindex&&t.originalEvent&&t.originalEvent.isTrusted&&(e.$element[0].setAttribute("tabindex",e.selectpicker.view.tabindex),this.setAttribute("tabindex",-1),e.selectpicker.view.tabindex=void 0)}),this.$element.on("change"+$,function(){e.render(),e.$element.trigger("changed"+$,v),v=null}).on("focus"+$,function(){e.options.mobile||e.$button[0].focus()})},liveSearchListener:function(){var t=this;this.$button.on("click.bs.dropdown.data-api",function(){t.$searchbox.val()&&(t.$searchbox.val(""),t.selectpicker.search.previousValue=void 0)}),this.$searchbox.on("click.bs.dropdown.data-api focus.bs.dropdown.data-api touchend.bs.dropdown.data-api",function(t){t.stopPropagation()}),this.$searchbox.on("input propertychange",function(){var e=t.$searchbox[0].value;if(t.selectpicker.search.elements=[],t.selectpicker.search.data=[],e){var i=[],n=e.toUpperCase(),o={},s=[],r=t._searchStyle(),a=t.options.liveSearchNormalize;a&&(n=T(n));for(var l=0;l<t.selectpicker.main.data.length;l++){var c=t.selectpicker.main.data[l];o[l]||(o[l]=b(c,n,r,a)),o[l]&&void 0!==c.headerIndex&&-1===s.indexOf(c.headerIndex)&&(0<c.headerIndex&&(o[c.headerIndex-1]=!0,s.push(c.headerIndex-1)),o[c.headerIndex]=!0,s.push(c.headerIndex),o[c.lastIndex+1]=!0),o[l]&&"optgroup-label"!==c.type&&s.push(l)}l=0;for(var d=s.length;l<d;l++){var h=s[l],u=s[l-1],p=(c=t.selectpicker.main.data[h],t.selectpicker.main.data[u]);("divider"!==c.type||"divider"===c.type&&p&&"divider"!==p.type&&d-1!==l)&&(t.selectpicker.search.data.push(c),i.push(t.selectpicker.main.elements[h]))}t.activeIndex=void 0,t.noScroll=!0,t.$menuInner.scrollTop(0),t.selectpicker.search.elements=i,t.createView(!0),function(t,e){t.length||(N.noResults.innerHTML=this.options.noneResultsText.replace("{0}",'"'+D(e)+'"'),this.$menuInner[0].firstChild.appendChild(N.noResults))}.call(t,i,e)}else t.selectpicker.search.previousValue&&(t.$menuInner.scrollTop(0),t.createView(!1));t.selectpicker.search.previousValue=e})},_searchStyle:function(){return this.options.liveSearchStyle||"contains"},val:function(t){var e=this.$element[0];if(void 0===t)return this.$element.val();var i=m(e);
1if(v=[null,null,i],this.$element.val(t).trigger("changed"+$,v),this.$newElement.hasClass(z.SHOW))if(this.multiple)this.setOptionStatus(!0);else{var n=(e.options[e.selectedIndex]||{}).liIndex;"number"==typeof n&&(this.setSelected(this.selectedIndex,!1),this.setSelected(n,!0))}return this.render(),v=null,this.$element},changeAll:function(t){if(this.multiple){void 0===t&&(t=!0);var e=this.$element[0],i=0,n=0,o=m(e);e.classList.add("bs-select-hidden");for(var s=0,r=this.selectpicker.current.data,a=r.length;s<a;s++){var l=r[s],c=l.option;c&&!l.disabled&&"divider"!==l.type&&(l.selected&&i++,!0===(c.selected=t)&&n++)}e.classList.remove("bs-select-hidden"),i!==n&&(this.setOptionStatus(),v=[null,null,o],this.$element.triggerNative("change"))}},selectAll:function(){return this.changeAll(!0)},deselectAll:function(){return this.changeAll(!1)},toggle:function(t){(t=t||window.event)&&t.stopPropagation(),this.$button.trigger("click.bs.dropdown.data-api")},keydown:function(e){var i,n,o,s,r,a=t(this),l=a.hasClass("dropdown-toggle"),c=(l?a.closest(".dropdown"):a.closest(M.MENU)).data("this"),d=c.findLis(),h=!1,u=9===e.which&&!l&&!c.options.selectOnTab,p=H.test(e.which)||u,f=c.$menuInner[0].scrollTop,m=!0===c.isVirtual()?c.selectpicker.view.position0:0;if(!(112<=e.which&&e.which<=123))if(!(n=c.$newElement.hasClass(z.SHOW))&&(p||48<=e.which&&e.which<=57||96<=e.which&&e.which<=105||65<=e.which&&e.which<=90)&&(c.$button.trigger("click.bs.dropdown.data-api"),c.options.liveSearch))c.$searchbox.trigger("focus");else{if(27===e.which&&n&&(e.preventDefault(),c.$button.trigger("click.bs.dropdown.data-api").trigger("focus")),p){if(!d.length)return;-1!==(i=(o=c.selectpicker.main.elements[c.activeIndex])?Array.prototype.indexOf.call(o.parentElement.children,o):-1)&&c.defocusItem(o),38===e.which?(-1!==i&&i--,i+m<0&&(i+=d.length),c.selectpicker.view.canHighlight[i+m]||-1==(i=c.selectpicker.view.canHighlight.slice(0,i+m).lastIndexOf(!0)-m)&&(i=d.length-1)):40!==e.which&&!u||(++i+m>=c.selectpicker.view.canHighlight.length&&(i=c.selectpicker.view.firstHighlightIndex),c.selectpicker.view.canHighlight[i+m]||(i=i+1+c.selectpicker.view.canHighlight.slice(i+m+1).indexOf(!0))),e.preventDefault();var g=m+i;38===e.which?0===m&&i===d.length-1?(c.$menuInner[0].scrollTop=c.$menuInner[0].scrollHeight,g=c.selectpicker.current.elements.length-1):h=(r=(s=c.selectpicker.current.data[g]).position-s.height)<f:40!==e.which&&!u||(i===c.selectpicker.view.firstHighlightIndex?(c.$menuInner[0].scrollTop=0,g=c.selectpicker.view.firstHighlightIndex):h=f<(r=(s=c.selectpicker.current.data[g]).position-c.sizeInfo.menuInnerHeight)),o=c.selectpicker.current.elements[g],c.activeIndex=c.selectpicker.current.data[g].index,c.focusItem(o),c.selectpicker.view.currentActive=o,h&&(c.$menuInner[0].scrollTop=r),c.options.liveSearch?c.$searchbox.trigger("focus"):a.trigger("focus")}else if(!a.is("input")&&!R.test(e.which)||32===e.which&&c.selectpicker.keydown.keyHistory){var v,y,w=[];e.preventDefault(),c.selectpicker.keydown.keyHistory+=P[e.which],c.selectpicker.keydown.resetKeyHistory.cancel&&clearTimeout(c.selectpicker.keydown.resetKeyHistory.cancel),c.selectpicker.keydown.resetKeyHistory.cancel=c.selectpicker.keydown.resetKeyHistory.start(),y=c.selectpicker.keydown.keyHistory,/^(.)\1+$/.test(y)&&(y=y.charAt(0));for(var x=0;x<c.selectpicker.current.data.length;x++){var _=c.selectpicker.current.data[x];b(_,y,"startsWith",!0)&&c.selectpicker.view.canHighlight[x]&&w.push(_.index)}if(w.length){var C=0;d.removeClass("active").find("a").removeClass("active"),1===y.length&&(-1===(C=w.indexOf(c.activeIndex))||C===w.length-1?C=0:C++),v=w[C],h=0<f-(s=c.selectpicker.main.data[v]).position?(r=s.position-s.height,!0):(r=s.position-c.sizeInfo.menuInnerHeight,s.position>f+c.sizeInfo.menuInnerHeight),o=c.selectpicker.main.elements[v],c.activeIndex=w[C],c.focusItem(o),o&&o.firstChild.focus(),h&&(c.$menuInner[0].scrollTop=r),a.trigger("focus")}}n&&(32===e.which&&!c.selectpicker.keydown.keyHistory||13===e.which||9===e.which&&c.options.selectOnTab)&&(32!==e.which&&e.preventDefault(),c.options.liveSearch&&32===e.which||(c.$menuInner.find(".active a").trigger("click",!0),a.trigger("focus"),c.options.liveSearch||(e.preventDefault(),t(document).data("spaceSelect",!0))))}},mobile:function(){this.options.mobile=!0,this.$element[0].classList.add("mobile-device")},refresh:function(){var e=t.extend({},this.options,this.$element.data());this.options=e,this.checkDisabled(),this.buildData(),this.setStyle(),this.render(),this.buildList(),this.setWidth(),this.setSize(!0),this.$element.trigger("refreshed"+$)},hide:function(){this.$newElement.hide()},show:function(){this.$newElement.show()},remove:function(){this.$newElement.remove(),this.$element.remove()},destroy:function(){this.$newElement.before(this.$element).remove(),this.$bsContainer?this.$bsContainer.remove():this.$menu.remove(),this.selectpicker.view.titleOption&&this.selectpicker.view.titleOption.parentNode&&this.selectpicker.view.titleOption.parentNode.removeChild(this.selectpicker.view.titleOption),this.$element.off($).removeData("selectpicker").removeClass("bs-select-hidden selectpicker"),t(window).off($+"."+this.selectId)}};var q=t.fn.selectpicker;function Y(){if(t.fn.dropdown)return(t.fn.dropdown.Constructor._dataApiKeydownHandler||t.fn.dropdown.Constructor.prototype.keydown).apply(this,arguments)}t.fn.selectpicker=F,t.fn.selectpicker.Constructor=B,t.fn.selectpicker.noConflict=function(){return t.fn.selectpicker=q,this},t(document).off("keydown.bs.dropdown.data-api").on("keydown.bs.dropdown.data-api",':not(.bootstrap-select) > [data-toggle="dropdown"]',Y).on("keydown.bs.dropdown.data-api",":not(.bootstrap-select) > .dropdown-menu",Y).on("keydown"+$,'.bootstrap-select [data-toggle="dropdown"], .bootstrap-select [role="listbox"], .bootstrap-select .bs-searchbox input',B.prototype.keydown).on("focusin.modal",'.bootstrap-select [data-toggle="dropdown"], .bootstrap-select [role="listbox"], .bootstrap-select .bs-searchbox input',function(t){t.stopPropagation()}),t(window).on("load"+$+".data-api",function(){t(".selectpicker").each(function(){var e=t(this);F.call(e,e.data())})})}(t)}),function(t){t.fn.stack=function(){if(t("body").hasClass("vc_editor")||window.vc_iframe)return!1;if("undefined"!=typeof elementorFrontend&&null!==elementorFrontend&&elementorFrontend.config.environmentMode.edit)return t("body").removeClass("pix-sections-stack"),!1;this.css("position","fixed"),0==t(".sticky-overlay").length&&t("#content").append('<div class="sticky-overlay"></div>'),0==t("#pix-vertical-nav").length&&t("body").append('<nav id="pix-vertical-nav"><ul></ul></nav>');var e=this.length,i=[],n=t(window).height(),o=0,s=[],r=!0,a=0,l=0,c=0,d=!1;t("#wpadminbar").length>0&&(l=t("#wpadminbar").outerHeight()),this.each(function(n){o+=t(this).outerHeight(),t(this).css("z-index",10*e);var l="Section "+n;t(this).attr("data-section-name")&&""!=t(this).attr("data-section-name")&&(l=t(this).attr("data-section-name")),i.push(t(this));var d="",h=!1;t(this).hasClass("site-footer2")?(h=!0,c=t(this).outerHeight(),t(this).css({bottom:"0"})):(t(this).css("top","0px"),d='<li><a class="pix-stack-links" id="pix-stack-link-'+n+'" data-top="'+a+'" href="#pix-stack-section-'+n+'" data-number="'+n+'"><span class="pix-dot"></span><span class="pix-label">'+l+"</span></a></li>"),s.push({el:t(this),height:t(this).outerHeight(),index:10*e,num:e,active:r,start:a,limit:o,bottom:h,link:"pix-stack-link-"+n}),e--,t(this).attr("data-scroll",a),t(this).addClass("pix-slides-section"),a=o,r=!1,t(this).attr("id","pix-stack-section-"+n),t("#pix-vertical-nav ul").append(d)}),t("#page").css("height",o-l),s[s.length-1].bottom&&(d=s[s.length-1]);var h=s[0];function u(){var e=0,i=0;t.each(s,function(t){e+=s[t].el.outerHeight(),s[t].height=s[t].el.outerHeight(),s[t].start=i,s[t].limit=e,i=e}),t("#page").css("height",e-l)}t("#"+h.link).addClass("is-selected"),h.el.addClass("is-sticky-active"),t(window).scroll(function(){let e=t(window).scrollTop();e>=h.start&&e<=h.limit||(h=function(e,i){var n=i;return t.each(s,function(o){s[o].start<=e&&s[o].limit>=e&&(i.active=!1,i.el.removeClass("is-sticky-active"),t(".pix-stack-links").removeClass("is-selected"),s[o].active=!0,s[o].el.addClass("is-sticky-active"),t("#"+s[o].link).addClass("is-selected"),n=s[o])}),n}(e,h),setTimeout(function(e){t.each(s,function(t){s[t].active||s[t].bottom||(s[t].limit<=e?s[t].el.css("top",-s[t].height):s[t].el.css("top","0"))})}(e),0),window.pix_animation_display(h.el),piximations.init()),t(".site-content").css("z-index",h.index),t(".sticky-overlay").css("z-index",h.index-1);var i=(h.height+h.el.position().top)/n;2==h.num&&(i=(t(window).scrollTop()+h.height+h.el.position().top-o-l)/c,d&&(window.pix_animation(d.el,!0),piximations.play(d.el))),i<0&&(i=0),i>1&&(i=1),i*=.8,h.el.bottom||h.el.css("top",-t(window).scrollTop()+h.start),t(".sticky-overlay").css("opacity",i)}),setTimeout(function(){u()},1e3),setTimeout(function(){u()},2e3),window.addEventListener("resize",u);var p=t(".pix-section"),f=t("#pix-vertical-nav a");function m(){p.each(function(){$this=t(this);var e=t('#pix-vertical-nav a[href="#'+$this.attr("id")+'"]').data("number")-1;$this.offset().top-t(window).height()/2<t(window).scrollTop()&&$this.offset().top+$this.height()-t(window).height()/2>t(window).scrollTop()?f.eq(e).addClass("is-selected"):f.eq(e).removeClass("is-selected")})}function g(e){t("body,html").animate({scrollTop:e+1},600)}m(),t(window).on("scroll",function(){m()}),t("#pix-vertical-nav a").on("click",function(e){e.preventDefault();let i=t(this.hash).data("scroll");return t(this).data("number")&&(i=s[t(this).data("number")].start),g(i),!1}),t(".pix-scroll-down").on("click",function(e){e.preventDefault(),g(t(this.hash))})}}(jQuery),function(t){window.pix_section_stack=function(){t("body").hasClass("vc_editor")||t(".pix-scale-in, .pix-scale-in-xs, .pix-scale-in-sm, .pix-scale-in-lg").each(function(){var e=t(this);if(e.hasClass("pix-loaded"))return!1;e.addClass("pix-loaded");e.offset().top;var i=e.outerHeight(),n=(e.offset().top,2),o=i/3;e.hasClass("pix-scale-in-xs")&&(n=1.1,o>300&&(o=300)),e.hasClass("pix-scale-in-sm")&&(n=1.2),e.hasClass("pix-scale-in")&&(n=1.6),e.css({"z-index":"99999999","transform-style":"preserve-3d"});var s=this.getBoundingClientRect(),r=this,a=t(window).height(),l=t(window).height()/2,c=a-l;if(s.top<=a&&s.top>=l){var d=(s.top-l)/c,h=(n-1)*d;h++;var u=o*d;e.css({transform:"scale("+h+") translateY("+u+"px)"})}else s.top>a?e.css({transform:"scale("+n+") translateY("+o+"px)"}):e.css({transform:"scale(1) translateY(0px)"});t(window).scroll(function(){if((s=r.getBoundingClientRect()).top<=a&&s.top>=l){var t=(s.top-l)/c,i=(n-1)*t;i++;var d=o*t;e.css({transform:"scale("+i+") translateY("+d+"px)"})}else s.top>a?e.css({transform:"scale("+n+") translateY("+o+"px)"}):e.css({transform:"scale(1) translateY(0px)"})})})}}(jQuery),function(t){t.fn.pixfooter=function(){if(!t("body").hasClass("pix-is-sticky-footer"))return!1;var e="bg-gradient-primary",i="";0==t(".pix-footer-overlay").length&&(t("#pix-page-footer").data("sticky-bg")&&("custom"==(e=t("#pix-page-footer").data("sticky-bg"))&&t("#pix-page-footer").data("sticky-color")&&(i='style="background:'+t("#pix-page-footer").data("sticky-color")+';"'),e="bg-"+e),t("#page").append('<div class="pix-footer-overlay '+e+'" '+i+"></div>"));var n=t("#page").outerHeight(),o=t(".pix-sticky-footer").outerHeight();t(".pix-footer-sticky-placeholder").height(o);var s=t("body").css("padding");s&&""!=s&&"0px"!=s&&t(".pix-sticky-footer, .pix-footer-overlay").css("bottom",s),setTimeout(function(){n=t("#page").height(),o=t(".pix-sticky-footer").outerHeight(),n-=o,t(".pix-footer-sticky-placeholder").height(o)},2e3),t(window).on("resize",function(){n=t("#page").height(),o=t(".pix-sticky-footer").outerHeight(),n-=o,t(".pix-footer-sticky-placeholder").height(o)}),setTimeout(function(){n=t("#page").height(),o=t(".pix-sticky-footer").outerHeight(),n-=o,t(".pix-footer-sticky-placeholder").height(o)},6e3),setTimeout(function(){n=t("#page").height(),o=t(".pix-sticky-footer").outerHeight(),n-=o,t(".pix-footer-sticky-placeholder").height(o)},12e3),t("body").hasClass("vc_editor"),t(".pix-footer-overlay").css("height",o),t("body").hasClass("pix-sections-stack")&&t(".pix-footer-overlay").css({"z-index":11});t(".site-content");t(".site-content").length>0&&t(".pix-portfolio-site-content");t(".pix-sticky-footer");let r=t(window).scrollTop();if(r+t(window).height()>n){var a=1-(r+t(window).height()-n)/o;a<0&&(a=0),a>1&&(a=1),a*=1.2,t(".pix-footer-overlay").css("opacity",a)}t(window).scroll(function(){let e=t(window).scrollTop();if(e+t(window).height()>n){t(".pix-sticky-footer").css("opacity",1);var i=1-(e+t(window).height()-n)/o;i<0&&(i=0),(i*=1.2)>1&&(i=1),t(".pix-footer-overlay").css("opacity",i)}else t(".pix-footer-overlay, .pix-sticky-footer").css("opacity",0)})}}(jQuery),function(t,e){"function"==typeof define&&define.amd?define(e):"object"==typeof exports?module.exports=e():t.NProgress=e()}(this,function(){var t,e,i={version:"0.2.0"},n=i.settings={minimum:.08,easing:"ease",positionUsing:"",speed:200,trickle:!0,trickleRate:.02,trickleSpeed:800,showSpinner:!0,barSelector:'[role="bar"]',spinnerSelector:'[role="spinner"]',parent:"body",template:'<div class="bar" role="bar"><div class="peg"></div></div><div class="spinner" role="spinner"><div class="spinner-icon"></div></div>'};function o(t,e,i){return t<e?e:t>i?i:t}function s(t){return 100*(-1+t)}i.configure=function(t){var e,i;for(e in t)void 0!==(i=t[e])&&t.hasOwnProperty(e)&&(n[e]=i);return this},i.status=null,i.set=function(t){var e=i.isStarted();t=o(t,n.minimum,1),i.status=1===t?null:t;var l=i.render(!e),c=l.querySelector(n.barSelector),d=n.speed,h=n.easing;return l.offsetWidth,r(function(e){""===n.positionUsing&&(n.positionUsing=i.getPositioningCSS()),a(c,function(t,e,
1i){var o;o="translate3d"===n.positionUsing?{transform:"translate3d("+s(t)+"%,0,0)"}:"translate"===n.positionUsing?{transform:"translate("+s(t)+"%,0)"}:{"margin-left":s(t)+"%"};return o.transition="all "+e+"ms "+i,o}(t,d,h)),1===t?(a(l,{transition:"none",opacity:1}),l.offsetWidth,setTimeout(function(){a(l,{transition:"all "+d+"ms linear",opacity:0}),setTimeout(function(){i.remove(),e()},d)},d)):setTimeout(e,d)}),this},i.isStarted=function(){return"number"==typeof i.status},i.start=function(){i.status||i.set(0);var t=function(){setTimeout(function(){i.status&&(i.trickle(),t())},n.trickleSpeed)};return n.trickle&&t(),this},i.done=function(t){return t||i.status?i.inc(.3+.5*Math.random()).set(1):this},i.inc=function(t){var e=i.status;return e?("number"!=typeof t&&(t=(1-e)*o(Math.random()*e,.1,.95)),e=o(e+t,0,.994),i.set(e)):i.start()},i.trickle=function(){return i.inc(Math.random()*n.trickleRate)},t=0,e=0,i.promise=function(n){return n&&"resolved"!==n.state()?(0===e&&i.start(),t++,e++,n.always(function(){0==--e?(t=0,i.done()):i.set((t-e)/t)}),this):this},i.render=function(t){if(i.isRendered())return document.getElementById("nprogress");c(document.documentElement,"nprogress-busy");var e=document.createElement("div");e.id="nprogress",e.innerHTML=n.template;var o,r=e.querySelector(n.barSelector),l=t?"-100":s(i.status||0),d=document.querySelector(n.parent);return a(r,{transition:"all 0 linear",transform:"translate3d("+l+"%,0,0)"}),n.showSpinner||(o=e.querySelector(n.spinnerSelector))&&u(o),d!=document.body&&c(d,"nprogress-custom-parent"),d.appendChild(e),e},i.remove=function(){d(document.documentElement,"nprogress-busy"),d(document.querySelector(n.parent),"nprogress-custom-parent");var t=document.getElementById("nprogress");t&&u(t)},i.isRendered=function(){return!!document.getElementById("nprogress")},i.getPositioningCSS=function(){var t=document.body.style,e="WebkitTransform"in t?"Webkit":"MozTransform"in t?"Moz":"msTransform"in t?"ms":"OTransform"in t?"O":"";return e+"Perspective"in t?"translate3d":e+"Transform"in t?"translate":"margin"};var r=function(){var t=[];function e(){var i=t.shift();i&&i(e)}return function(i){t.push(i),1==t.length&&e()}}(),a=function(){var t=["Webkit","O","Moz","ms"],e={};function i(i){return i=i.replace(/^-ms-/,"ms-").replace(/-([\da-z])/gi,function(t,e){return e.toUpperCase()}),e[i]||(e[i]=function(e){var i=document.body.style;if(e in i)return e;for(var n,o=t.length,s=e.charAt(0).toUpperCase()+e.slice(1);o--;)if((n=t[o]+s)in i)return n;return e}(i))}function n(t,e,n){e=i(e),t.style[e]=n}return function(t,e){var i,o,s=arguments;if(2==s.length)for(i in e)void 0!==(o=e[i])&&e.hasOwnProperty(i)&&n(t,i,o);else n(t,s[1],s[2])}}();function l(t,e){return("string"==typeof t?t:h(t)).indexOf(" "+e+" ")>=0}function c(t,e){var i=h(t),n=i+e;l(i,e)||(t.className=n.substring(1))}function d(t,e){var i,n=h(t);l(t,e)&&(i=n.replace(" "+e+" "," "),t.className=i.substring(1,i.length-1))}function h(t){return(" "+(t.className||"")+" ").replace(/\s+/gi," ")}function u(t){t&&t.parentNode&&t.parentNode.removeChild(t)}return i}),function(t,e){"use strict";"undefined"!=typeof module&&module.exports?module.exports=e(require("jquery")):"function"==typeof define&&define.amd?define(["jquery"],function(t){return e(t)}):e(t.jQuery)}(this,function(t){"use strict";var e=function(i,n){this.$element=t(i),this.options=t.extend({},e.defaults,n),this.matcher=this.options.matcher||this.matcher,this.sorter=this.options.sorter||this.sorter,this.select=this.options.select||this.select,this.autoSelect="boolean"!=typeof this.options.autoSelect||this.options.autoSelect,this.highlighter=this.options.highlighter||this.highlighter,this.render=this.options.render||this.render,this.updater=this.options.updater||this.updater,this.displayText=this.options.displayText||this.displayText,this.itemLink=this.options.itemLink||this.itemLink,this.itemTitle=this.options.itemTitle||this.itemTitle,this.followLinkOnSelect=this.options.followLinkOnSelect||this.followLinkOnSelect,this.source=this.options.source,this.delay=this.options.delay,this.theme=this.options.theme&&this.options.themes&&this.options.themes[this.options.theme]||e.defaults.themes[e.defaults.theme],this.$menu=t(this.options.menu||this.theme.menu),this.$appendTo=this.options.appendTo?t(this.options.appendTo):null,this.fitToElement="boolean"==typeof this.options.fitToElement&&this.options.fitToElement,this.shown=!1,this.listen(),this.showHintOnFocus=("boolean"==typeof this.options.showHintOnFocus||"all"===this.options.showHintOnFocus)&&this.options.showHintOnFocus,this.afterSelect=this.options.afterSelect,this.after
1EmptySelect=this.options.afterEmptySelect,this.addItem=!1,this.value=this.$element.val()||this.$element.text(),this.keyPressed=!1,this.focused=this.$element.is(":focus"),this.changeInputOnSelect=this.options.changeInputOnSelect||this.changeInputOnSelect,this.changeInputOnMove=this.options.changeInputOnMove||this.changeInputOnMove,this.openLinkInNewTab=this.options.openLinkInNewTab||this.openLinkInNewTab,this.selectOnBlur=this.options.selectOnBlur||this.selectOnBlur,this.showCategoryHeader=this.options.showCategoryHeader||this.showCategoryHeader};e.prototype={constructor:e,setDefault:function(t){if(this.$element.data("active",t),this.autoSelect||t){var e=this.updater(t);e||(e=""),this.$element.val(this.displayText(e)||e).text(this.displayText(e)||e).change(),this.afterSelect(e)}return this.hide()},select:function(){var t=this.$menu.find(".active").data("value");if(this.$element.data("active",t),this.autoSelect||t){var e=this.updater(t);e||(e=""),this.changeInputOnSelect&&this.$element.val(this.displayText(e)||e).text(this.displayText(e)||e).change(),this.followLinkOnSelect&&this.itemLink(t)?(this.openLinkInNewTab?window.open(this.itemLink(t),"_blank"):document.location=this.itemLink(t),this.afterSelect(e)):this.followLinkOnSelect&&!this.itemLink(t)?this.after
1EmptySelect(e):this.afterSelect(e)}else this.afterEmptySelect();return this.hide()},updater:function(t){return t},setSource:function(t){this.source=t},show:function(){var e,i=t.extend({},this.$element.position(),{height:this.$element[0].offsetHeight}),n="function"==typeof this.options.scrollHeight?this.options.scrollHeight.call():this.options.scrollHeight;if(this.shown?e=this.$menu:this.$appendTo?(e=this.$menu.appendTo(this.$appendTo),this.hasSameParent=this.$appendTo.is(this.$element.parent())):(e=this.$menu.insertAfter(this.$element),this.hasSameParent=!0),!this.hasSameParent){e.css("position","fixed");var o=this.$element.offset();i.top=o.top,i.left=o.left}var s=t(e).parent().hasClass("dropup")?"auto":i.top+i.height+n,r=t(e).hasClass("dropdown-menu-right")?"auto":i.left;return e.css({top:s,left:r}).show(),!0===this.options.fitToElement&&e.css("width",this.$element.outerWidth()+"px"),this.shown=!0,this},hide:function(){return this.$menu.hide(),this.shown=!1,this},lookup:function(e){if(this.query=null!=e?e:this.$element.val(),this.query.length<this.options.minLength&&!this.options.showHintOnFocus)return this.shown?this.hide():this;var i=t.proxy(function(){t.isFunction(this.source)&&3===this.source.length?this.source(this.query,t.proxy(this.process,this),t.proxy(this.process,this)):t.isFunction(this.source)?this.source(this.query,t.proxy(this.process,this)):this.source&&this.process(this.source)},this);clearTimeout(this.lookupWorker),this.lookupWorker=setTimeout(i,this.delay)},process:function(e){var i=this;return e=t.grep(e,function(t){return i.matcher(t)}),(e=this.sorter(e)).length||this.options.addItem?(e.length>0?this.$element.data("active",e[0]):this.$element.data("active",null),"all"!=this.options.items&&(e=e.slice(0,this.options.items)),this.options.addItem&&e.push(this.options.addItem),this.render(e).show()):this.shown?this.hide():this},matcher:function(t){return~this.displayText(t).toLowerCase().indexOf(this.query.toLowerCase())},sorter:function(t){for(var e,i=[],n=[],o=[];e=t.shift();){var s=this.displayText(e);s.toLowerCase().indexOf(this.query.toLowerCase())?~s.indexOf(this.query)?n.push(e):o.push(e):i.push(e)}return i.concat(n,o)},highlighter:function(t){var e=this.query;if(""===e)return t;var i,n=t.match(/(>)([^<]*)(<)/g),o=[],s=[];if(n&&n.length)for(i=0;i<n.length;++i)n[i].length>2&&o.push(n[i]);else(o=[]).push(t);e=e.replace(/[\(\)\/\.\*\+\?\[\]]/g,function(t){return"\\"+t});var r,a=new RegExp(e,"g");for(i=0;i<o.length;++i)(r=o[i].match(a))&&r.length>0&&s.push(o[i]);for(i=0;i<s.length;++i)t=t.replace(s[i],s[i].replace(a,"<strong>$&</strong>"));return t},render:function(e){var i=this,n=this,o=!1,s=[],r=i.options.separator;return t.each(e,function(t,i){t>0&&i[r]!==e[t-1][r]&&s.push({__type:"divider"}),this.showCategoryHeader&&(!i[r]||0!==t&&i[r]===e[t-1][r]||s.push({__type:"category",name:i[r]})),s.push(i)}
1),e=t(s).map(function(e,s){if("category"==(s.__type||!1))return t(i.options.headerHtml||i.theme.headerHtml).text(s.name)[0];if("divider"==(s.__type||!1))return t(i.options.headerDivider||i.theme.headerDivider)[0];var r=n.displayText(s);return(e=t(i.options.item||i.theme.item).data("value",s)).find(i.options.itemContentSelector||i.theme.itemContentSelector).addBack(i.options.itemContentSelector||i.theme.itemContentSelector).html(i.highlighter(r,s)),i.options.followLinkOnSelect&&e.find("a").attr("href",n.itemLink(s)),e.find("a").attr("title",n.itemTitle(s)),r==n.$element.val()&&(e.addClass("active"),n.$element.data("active",s),o=!0),e[0]}),this.autoSelect&&!o&&(e.filter(":not(.dropdown-header)").first().addClass("active"),this.$element.data("active",e.first().data("value"))),this.$menu.html(e),this},displayText:function(t){return void 0!==t&&void 0!==t.name?t.name:t},itemLink:function(t){return null},itemTitle:function(t){return null},next:function(e){var i=this.$menu.find(".active").removeClass("active").next();for(i.length||(i=t(this.$menu.find(t(this.options.item||this.theme.item).prop("tagName"))[0]));i.hasClass("divider")||i.hasClass("dropdown-header");)i=i.next();i.addClass("active");var n=this.updater(i.data("value"));this.changeInputOnMove&&this.$element.val(this.displayText(n)||n)},prev:function(e){var i=this.$menu.find(".active").removeClass("active").prev();for(i.length||(i=this.$menu.find(t(this.options.item||this.theme.item).prop("tagName")).last());i.hasClass("divider")||i.hasClass("dropdown-header");)i=i.prev();i.addClass("active");var n=this.updater(i.data("value"));this.changeInputOnMove&&this.$element.val(this.displayText(n)||n)},listen:function(){this.$element.on("focus.bootstrap3Typeahead",t.proxy(this.focus,this)).on("blur.bootstrap3Typeahead",t.proxy(this.blur,this)).on("keypress.bootstrap3Typeahead",t.proxy(this.keypress,this)).on("propertychange.bootstrap3Typeahead input.bootstrap3Typeahead",t.proxy(this.input,this)).on("keyup.bootstrap3Typeahead",t.proxy(this.keyup,this)),this.eventSupported("keydown")&&this.$element.on("keydown.bootstrap3Typeahead",t.proxy(this.keydown,this));var e=t(this.options.item||this.theme.item).prop("tagName");"ontouchstart"in document.documentElement?this.$menu.on("touchstart",e,t.proxy(this.touchstart,this)).on("touchend",e,t.proxy(this.click,this)):this.$menu.on("click",t.proxy(this.click,this)).on("mouseenter",e,t.proxy(this.mouseenter,this)).on("mouseleave",e,t.proxy(this.mouseleave,this)).on("mousedown",t.proxy(this.mousedown,this))},destroy:function(){this.$element.data("typeahead",null),this.$element.data("active",null),this.$element.unbind("focus.bootstrap3Typeahead").unbind("blur.bootstrap3Typeahead").unbind("keypress.bootstrap3Typeahead").unbind("propertychange.bootstrap3Typeahead input.bootstrap3Typeahead").unbind("keyup.bootstrap3Typeahead"),this.eventSupported("keydown")&&this.$element.unbind("keydown.bootstrap3-typeahead"),this.$menu.remove(),this.destroyed=!0},eventSupported:function(t){var e=t in this.$element;return e||(this.$element.setAttribute(t,"return;"),e="function"==typeof this.$element[t]),e},move:function(t){if(this.shown)switch(t.keyCode){case 9:case 13:case 27:t.preventDefault();break;case 38:if(t.shiftKey)return;t.preventDefault(),this.prev();break;case 40:if(t.shiftKey)return;t.preventDefault(),this.next()}},keydown:function(e){17!==e.keyCode&&(this.keyPressed=!0,this.suppressKeyPressRepeat=~t.inArray(e.keyCode,[40,38,9,13,27]),this.shown||40!=e.keyCode?this.move(e):this.lookup())},keypress:function(t){this.suppressKeyPressRepeat||this.move(t)},input:function(t){var e=this.$element.val()||this.$element.text();this.value!==e&&(this.value=e,this.lookup())},keyup:function(t){if(!this.destroyed)switch(t.keyCode){case 40:case 38:case 16:case 17:case 18:break;case 9:if(!this.shown||this.showHintOnFocus&&!this.keyPressed)return;this.select();break;case 13:if(!this.shown)return;this.select();break;case 27:if(!this.shown)return;this.hide()}},focus:function(t){this.focused||(this.focused=!0,this.keyPressed=!1,this.options.showHintOnFocus&&!0!==this.skipShowHintOnFocus&&("all"===this.options.showHintOnFocus?this.lookup(""):this.lookup())),this.skipShowHintOnFocus&&(this.skipShowHintOnFocus=!1)},blur:function(t){this.mousedover||this.mouseddown||!this.shown?this.mouseddown&&(this.skipShowHintOnFocus=!0,this.$element.focus(),this.mouseddown=!1):(this.selectOnBlur&&this.select(),this.hide(),this.focused=!1,this.keyPressed=!1)},click:function(t){t.preventDefault(),this.skipShowHintOnFocus=!0,this.select(),this.$element.focus(),this.hide()},mouseenter:function(e){this.mousedover=!0,this.$menu.find(".active").removeClass("active"),t(e.currentTarget).addClass("active")},mouseleave:function(t){this.mousedover=!1,!this.focused&&this.shown&&this.hide()},mousedown:function(t){this.mouseddown=!0,this.$menu.one("mouseup",function(t){this.mouseddown=!1}.bind(this))},touchstart:function(e){e.preventDefault(),this.$menu.find(".active").removeClass("active"),t(e.currentTarget).addClass("active")},touchend:function(t){t.preventDefault(),this.select(),this.$element.focus()}};var i=t.fn.typeahead;t.fn.typeahead=function(i){var n=arguments;return"string"==typeof i&&"getActive"==i?this.data("active"):this.each(function(){var o=t(this),s=o.data("typeahead"),r="object"==typeof i&&i;s||o.data("typeahead",s=new e(this,r)),"string"==typeof i&&s[i]&&(n.length>1?s[i].apply(s,Array.prototype.slice.call(n,1)):s[i]())})},e.defaults={source:[],items:8,minLength:1,scrollHeight:0,autoSelect:!0,afterSelect:t.noop,afterEmptySelect:t.noop,addItem:!1,followLinkOnSelect:!1,delay:0,separator:"category",changeInputOnSelect:!0,changeInputOnMove:!0,openLinkInNewTab:!1,selectOnBlur:!0,showCategoryHeader:!0,theme:"bootstrap3",themes:{bootstrap3:{menu:'
1<ul class="typeahead dropdown-menu" role="listbox"></ul>',item:'<li><a class="dropdown-item" href="#" role="option"></a></li>',itemContentSelector:"a",headerHtml:'<li class="dropdown-header"></li>',headerDivider:'<li class="divider" role="separator"></li>'},bootstrap4:{menu:'<div class="typeahead dropdown-menu" role="listbox"></div>',item:'<button class="dropdown-item" role="option"></button>',itemContentSelector:".dropdown-item",headerHtml:'<h6 class="dropdown-header"></h6>',headerDivider:'<div class="dropdown-divider"></div>'}}},t.fn.typeahead.Constructor=e,t.fn.typeahead.noConflict=function(){return t.fn.typeahead=i,this},t(document).on("focus.typeahead.data-api",'[data-provide="typeahead"]',function(e){var i=t(this);i.data("typeahead")||i.typeahead(i.data())})}),function(t){"use strict";function e(){t(".pix-scene").each(function(e,i){0==t(i).find(".pix-scene-elm-res:not(.pix-particle-sm-hide)").length?t(i).css("display","none"):t(i).css("display","block")})}async function i(){t(".pix-intro-1 .pix-intro-img img").each(function(e,i){var n=this;new Waypoint({element:i,offset:"100%",triggerOnce:!0,handler:function(){setTimeout(function(){t(n).addClass("animated")},10),setTimeout(function(){t(n).addClass("slow-transition")},1e3)}})})}NProgress.configure({minimum:.01,speed:800,trickleSpeed:800,showSpinner:!0,parent:"body",template:'<div class="bar" role="bar"><div class="peg"></div></div>'}),0==t(".pix-post-area").length&&NProgress.start(),jQuery(document).ready(function(t){var e;function n(e){t.alert({title:"",columnClass:"",backgroundDismiss:!0,buttons:!1,theme:"pix-main-popup",content:"<div></div>",onOpenBefore:function(){this.setColumnClass("col-2 pix-popup-edit"),this.showLoading(!0)},onContentReady:function(){var i=this;return t.ajax({url:e,method:"get"}).done(function(e){var n=!1;try{n=JSON.parse(e)}catch(t){return!1}if(n&&n.html){let e=n.size+" pix-popup-edit pix-popup-ready";i.setColumnClass(e),i.setContentAppend('<div class="pix-popup-content-div">'+n.html+"</div>"),i.hideLoading(!0),setTimeout(function(){i.$body.addClass("pix-popup-animate"),t(".pix-intro-img img").addClass("animated"),pix_animation(i.$body,!0),piximations.init(),pix_init_c7(),pixLoadImgs(),init_pix_maps(),pix_countdown(),i.$body.find('[data-toggle="tooltip"]').length&&i.$body.find('[data-toggle="tooltip"]').tooltip(),t('[data-toggle="tooltip"]').length&&t('[data-toggle="tooltip"]').tooltip()},200),setTimeout(function(){i.$body.find(".elementor-invisible").removeClass("elementor-invisible"),"undefined"!=typeof elementorFrontend&&null!==elementorFrontend&&elementorFrontend&&(elementorFrontend.hooks.addAction("init",function(){pix_animation(!1,!0)}),i.$body.find(".elementor-element").each(function(){elementorFrontend.elementsHandler.runReadyTrigger(jQuery(this))}),pix_animation(!1,!0),pix_animation(i.$body,!0)),"function"==typeof i.$body.find(".quform-form").quform&&(i.$body.find(".quform-form").quform(),i.$body.find(".quform-recaptcha").length&&window.QuformRecaptchaLoaded&&window.QuformRecaptchaLoaded())},300),setTimeout(function(){pix_animation_display(i.$body)},1e3),i.$body.find("div.wpcf7 > form").each(function(){var e=t(this);wpcf7.initForm(e),wpcf7.cached&&wpcf7.refill(e)})}}).fail(function(){i.setContent("Something went wrong, please try again.")})}})}t(window).on("click",function(t){return e=t.target,!0}),t(window).on("beforeunload",function(t){t=t||window.event;e&&e.href&&e.href.startsWith("tel")?document.body.classList.add("render"):document.body.classList.remove("render")}),t("body").hasClass("pix-exit-popup")&&setTimeout(function(){var e=t("body").data("exit-popup"),i=t("body").data("popup-check"),o=!1;i&&(i+="&exitpopup=true",t.ajax({url:i,method:"get"}).done(function(t){try{var i=JSON.parse(t);i&&i.result&&e&&""!=e&&(s=document,r="mouseout",a=function(t){if(!o){var i=(t=t||window.event).relatedTarget||t.toElement;i&&"HTML"!=i.nodeName||(o=!0,n(e))}},s.addEventListener?s.addEventListener(r,a,!1):s.attachEvent&&s.attachEvent("on"+r,a))}catch(t){return!1}var s,r,a}))},0),t("body").hasClass("pix-auto-popup")&&setTimeout(function(){var e=t("body").data("auto-popup"),i=t("body").data("popup-check"),o=t("body").data("auto-popup-time");o&&!isNaN(o)?o*=1e3:o=5e3,i&&(i+="&autopopup=true",t.ajax({url:i,method:"get"}).done(function(t){try{var i=JSON.parse(t);i&&i.result&&e&&""!=e&&setTimeout(function(){n(e)},o)}catch(t){return!1}}
1))},0),t(".pix-cookie-banner").length&&setTimeout(function(){var e=t("body").data("popup-check");e&&(e+="&cookiesbanner=true",t.ajax({url:e,method:"get"}).done(function(e){try{var i=JSON.parse(e);i&&!1===i.result&&(setTimeout(function(){t(".pix-cookie-banner").addClass("pix-closed")},2e3),setTimeout(function(){t(".pix-cookie-banner").remove()},2500))}catch(t){return!1}}))},0),t(".pix-product-preview").on("click",function(e){e.preventDefault();var i=t(this).data("preview-link");t.alert({title:"",columnClass:"col-12 col-sm-10",backgroundDismiss:!0,theme:"pix-product-popup",closeIcon:!0,content:"<div></div>",onOpenBefore:function(){this.showLoading(!0)},onContentReady:function(){var e=this;return t.ajax({url:i,method:"get"}).done(function(t){e.setContentAppend('<div class="pix-popup-content-div">'+t+"</div>"),e.hideLoading(!0),setTimeout(function(){e.$body.addClass("pix-popup-animate")},300)}).fail(function(){e.setContent("Something went wrong, please try again.")})}})}),t("body").on("click",".flickity-slider, .flickity-button",function(t){pix_animation_display()}),t("body").on("click",".pix-popup-link",function(e){(e.preventDefault(),t(this).data("popup-link")&&""!=t(this).data("popup-link"))&&n(t(this).data("popup-link"));return!1}),t("body").on("click",".pix-story-popup",function(e){e.preventDefault();var i=t(this).data("stories");if(i&&""!=i){var n="";n+='<div class="firas2 pix-popup-content-div"><div class="pix-story-slider bg-black pix-slider-story no-dots2">',t.each(i,function(t,e){n+='<div class="carousel-cell p-0">',n+='<img class="jarallax-img pix-fit-cover w-100 pix-opacity-8" src="'+e+'" />',n+="</div>"}),n+="</div>",n+="</div>",t.alert({title:"",columnClass:"col-12 col-sm-6",backgroundDismiss:!0,buttons:!1,theme:"pix-video-popup",content:n,onOpenBefore:function(){this.showLoading(!0)},onContentReady:function(){let e=this;t(".pix-story-slider").flickity({draggable:!0,adaptiveHeight:!0,wrapAround:!0,autoPlay:3500,prevNextButtons:!1,imagesLoaded:!0,contain:!0,resize:!0,ready:function(){t(".pix-story-slider").flickity("resize")},on:{ready:function(){t(this).closest(".pix-story-slider").show(),t(this).closest(".pix-story-slider").removeClass("d-in"),t(this).removeClass("d-in"),setTimeout(function(){e.$body.addClass("pix-popup-animate")},400),setTimeout(function(){e.hideLoading(!0)},600)}}})}})}return!1}),t("body").on("click",".pix-video-popup",function(e){if(e.preventDefault(),t(this).data("content")&&""!=t(this).data("content")){var i=t(this).data("content"),n="embed-responsive-21by9";t(this).data("aspect")&&""!=t(this).data("aspect")&&(n=t(this).data("aspect"));var o="";o+='<div class="pix-video video-active">',o+='<div class="embed-responsive '+n+'">',o+=i,o+="</div>",o+="</div>",t.alert({title:"",columnClass:"col-12",backgroundDismiss:!0,buttons:!1,theme:"pix-video-popup",content:o,onContentReady:function(){this.$content.find("iframe").each(function(e,i){let n=t(i).data("src");t(i).attr("src",n).click(),setTimeout(function(){t(i).click()},1e3)})}})}return!1}),t("body").on("click",".pix-audio-popup",function(e){if(e.preventDefault(),t(this).data("content")&&""!=t(this).data("content")){var i=t(this).data("content");t(this).data("aspect")&&""!=t(this).data("aspect")&&t(this).data("aspect");var n="";n+=i,t.alert({title:"",columnClass:"col-12",backgroundDismiss:!0,buttons:!1,theme:"pix-audio-popup",content:n,onContentReady:function(){this.$content.find("iframe").each(function(e,i){let n=t(i).data("src");t(i).attr("src",n).click(),setTimeout(function(){t(i).click()},1e3)})}})}return!1});let o,s,r,a,l,c,d=!1;t(".pix-header-transparent-parent").length?o=t(".pix-header-transparent-parent"):t(".pix-header-boxed").length?o=t(".pix-header-boxed"):(t(".pix-topbar.pix-header-desktop").length&&(s=t(".pix-topbar.pix-header-desktop")),t(".pix-header.pix-header-desktop").length&&(r=t(".pix-header.pix-header-desktop")),t(".pix-header-stack.pix-header-desktop").length&&(a=t(".pix-header-stack.pix-header-desktop"))),t(".pix-topbar.pix-header-mobile").length&&(l=t(".pix-topbar.pix-header-mobile")),t(".pix-header.pix-header-mobile").length&&(c=t(".pix-header.pix-header-mobile")),t(".pix-stack-mobile").length&&(d=t(".pix-stack-mobile"));let h="desktop";if(t(window).width()>992?(l&&l.remove(),c&&c.remove(),d&&d.remove()):(h="mobile",o&&o.remove(),s&&s.remove(),r&&r.remove(),a&&a.remove()),t(window).resize(function(){t(window).width()>992?"mobile"===h&&(h="desktop",l&&l.remove(),c&&c.remove(),d&&d.remove(),o&&t("#page").prepend(o),a&&t("#page").prepend(a),r&&t("#page").prepend(r),s&&t("#page").prepend(s),pix_animation(!1,!0)):"desktop"===h&&(h="mobile",o&&o.remove(),s&&s.remove(),r&&r.remove(),a&&a.remove(),d&&t("#page").prepend(d),c&&t("#page").prepend(c),l&&t("#page").prepend(l),pix_animation(!1,!0))}),t("body").on("click",".hamburger",function(e){"true"===t(this).attr("aria-expanded")?t(this).removeClass("is-active"):t(this).addClass("is-active")}),t("body").on("click",".pix-tabs-btn",function(e){var i=t(this).closest(".pix_tabs_container");i.find(".pix-main-slider").each(function(e,i){t(i).addClass("pix-tabs-slider"),t(i).removeClass("pix-slider-loaded")}),setTimeout(function(){init_fancy_mockup(i),pix_main_slider(i)},500)}),t("p:empty").remove(),t(".animate-in, .pix-main-slider, .pix-fancy-mockup, .feature_img").closest(".elementor-invisible").removeClass("elementor-invisible"),t(".particles-wrapper2").closest(".vc_column_container").css("z-index","3"),t(".entry-content2 > section, .elementor-section-wrap > section").each(function(e,i){t(i).find(".sticky-top").length||(t(i).find(".pix-slider").length||t(i).find(".pix-scale-in-sm").length||t(i).find(".pix-scale-in").length||t(i).find(".pix-scale-in-lg").length)&&t(i).removeClass("vc_section_visible vc_row_visible").addClass("overflow-hidden")}),t(".dropdown-item.dropdown-toggle").on("click",function(e){t(this).closest(".menu-item.dropdown.nav-item").find("> .dropdown-menu").toggleClass("show"),e.stopPropagation(),e.preventDefault()}),/^((?!chrome|android).)*safari/i.test(navigator.userAgent)&&(t("body").addClass("pix-is-safari"),t("body").find(".sticky-top").length,t(".pix-slider-full").closest("section:not(.overflow-visible)").removeClass("vc_section_visible").addClass("overflow-hidden"),t(".pix-slider-full").closest(".vc_row:not(.overflow-visible)").removeClass("vc_row_visible").addClass("overflow-hidden"),t(".pix-scene").each(function(e,i){t(i).closest("section:not(.overflow-visible)").removeClass("vc_section_visible").addClass("overflow-hidden")})),t(".pix-small-search").closest(".vc_row").css({"z-index":50}),t(".pix_element_overlay").each(function(e,i){t(i).css({"border-radius":t(i).parent().css("border-radius")})}),setTimeout(function(){t(".bg-video").each(function(e,i){t(i).controls=!1,i.controls=!1})},1e3),t(".pix-post-area").length>0&&NProgress.configure({minimum:1e-4,trickleRate:.02,easing:!1,trickleSpeed:800,showSpinner:!1,parent:"body",template:'<div class="bar" role="bar"><div class="peg"></div></div>'}),t(".pix-post-area").length>0)var u=t("#pix-entry-content").offset().top,p=t("#pix-entry-content").height();var f=!1;t(".site-footer2:not(.pix-sticky-footer)").length&&(f=t(".site-footer2:not(.pix-sticky-footer)")[0]);var m=t(window).height();window.onscroll=function(){if(document.body.scrollTop>20||document.documentElement.scrollTop>20?t(".back_to_top").addClass("active"):t(".back_to_top").removeClass("active"),t(".pix-post-area").length>0)if(document.documentElement.scrollTop>u){let t=0;document.documentElement.scrollTop>u+p?(t=.999,NProgress.set(t)):(t=(document.documentElement.scrollTop-u)/p,NProgress.set(t))}else NProgress.set(.001);f&&(f.getBoundingClientRect().top<m&&pix_animation(t(".site-footer2:not(.pix-sticky-footer)"),!0))};t(".back_to_top").on("click",function(e){e.preventDefault(),t("body,html").animate({scrollTop:0},700)});let g=0;t("#masthead").length&&(g=t("#masthead").height()),t("#wpadminbar").length&&(g+=t("#wpadminbar").height()),t("body").on("click","a",function(e){var i=t(this).attr("href");if(i&&i.startsWith("#pix_section")&&t(i).length)return e.preventDefault(),t("body,html").animate({scrollTop:t(i).offset().top-g},700),!1});let v=function(){try{return document.createEvent("TouchEvent"),!0}catch(t){return!1}}(),y=!1;t(window).width()<920&&(y=!0),t(".pix-nav-link.dropdown-toggle.nav-link").on("click",function(e){if(t(this).attr("href")){let e=t(this).attr("href"),i=t(this).attr("target");y||e&&!e.startsWith("#")&&(v?t(this).hasClass("pix-item-clicked")?"_blank"==i?window.open(e):window.location=e:t(this).addClass("pix-item-clicked"):"_blank"==i?window.open(e):window.location=e)}});var b=location.hash.substr(1);b&&b.startsWith("pix_section")&&t("#"+b).length&&setTimeout(function(){t("body,html").animate({scrollTop:t("#"+b).offset().top-g},700)},700),setTimeout(function(){t(".pix-intro-img").addClass("pix-loaded")},2e3),t('[data-toggle="tooltip"]').length&&t('[data-toggle="tooltip"]').tooltip(),t(".pixfort-select").selectpicker({styleBase:"btn dropdown-toggle btn-light bg-white shadow-sm2 font-weight-bold text-body-default text-sm"}),t(".widget select, .wp-block-archives.wp-block-archives-dropdown select, .wp-block-categories.wp-block-categories-dropdown select").selectpicker({styleBase:"pix-widget-select pix-mb-15 btn dropdown-toggle btn-light bg-white shadow-sm2 font-weight-bold text-body-default text-sm"}),t(".pixfort-shop-select").selectpicker({styleBase:"btn dropdown-toggle btn-light bg-white shadow-sm font-weight-bold text-body-default text-sm"}),t("body").on("click",".video-play-btn-inline",function(e){e.preventDefault();
1var i=t(this),n=i.closest(".pix-video").find("iframe");return n.attr("data-src")&&n.attr("src",n.attr("data-src")).click(),i.parent(".pix-video").addClass("video-active"),setTimeout(function(){i.parent(".pix-video").addClass("video-start")},400),!1});if(t("#masthead").length&&t("#masthead").offset().top,t("#masthead").hasClass("pix-mt-20")&&20,t(".pix-header-transparent").length>0){var w=t(".pix-header-transparent > div").height();t(".pix-main-intro-placeholder").addClass("d-block w-100").height(w)}if(t(".pix-header-boxed").length>0){w=t(".pix-header-boxed > div").height();t(".pix-main-intro-placeholder").addClass("d-block w-100").height(w)}if(t(".pix-header").length>0){let e=t(".pix-header").height()+20;t("#wpadminbar").length>0&&(e+=t("#wpadminbar").height()),t(".pix-sticky-top-adjust").css({top:e})}var x=!1;if(t(".pix-floating-meta").length){if(t(window).width()>1300){x=!0;var _=t(".post").offset().top;if(t(".pix-floating-meta").addClass("position-fixed sticky-top2").css({top:_,width:"70px","margin-left":"-90px"}),t(".post").hasClass("post-sidebar-left")){var C=t(".post:first-of-type").offset().left+t(".post:first-of-type").width()+20;t(".pix-floating-meta").addClass("position-fixed sticky-top2").css({left:C,"margin-left":"0px"})}var k=20;t("#masthead").length&&(k+=t("#masthead").height()),t("#wpadminbar").length&&(k+=t("#wpadminbar").height());var T=t(".post").offset().top+t(".post").height()}}else x=!1;t(".pix-floating-meta").length&&t(window).resize(function(){if(t(window).width()<1300)x=!1,t(".pix-floating-meta").removeClass("position-fixed sticky-top2").css({top:"auto",width:"auto","margin-left":"0px"});else if(x=!0,t(".post").length){var e=t(".post").offset().top;if(t(".pix-floating-meta").addClass("position-fixed sticky-top2").css({top:e,width:"70px","margin-left":"-90px"}),t(".post").hasClass("post-sidebar-left")){var i=t(".post:first-of-type").offset().left+t(".post:first-of-type").width()+20;t(".pix-floating-meta").addClass("position-fixed sticky-top2").css({left:i,"margin-left":"0px"})}t("#masthead").length&&t("#masthead").height(),t("#wpadminbar").length&&t("#wpadminbar").height();t(".post").offset().top,t(".post").height()}});var E=0;t("body").hasClass("pix-padding-style")&&((E=t("body").css("padding"))&&""!=E&&"0"!=E&&"0px"!=E?(t(".vc_row-fluid").css({"padding-left":E,"padding-right":E}),t(".back_to_top").css({margin:E})):E=0),t("body").on("click",".plus",function(e){e.preventDefault();var i=parseInt(t(this).prev("input").val());t(this).prev("input").val(i+1).change()}),t("body").on("click",".minus",function(e){e.preventDefault();var i=parseInt(t(this).next("input").val());0!==i&&t(this).next("input").val(i-1).change()});var S=50,I="",A="";t("#page").length&&(S=t("#page").offset().top,t(".pix-topbar").length&&(S+=t(".pix-topbar").height())),0===S&&(S=6),t("#masthead").length&&(t("#masthead").hasClass("pix-mt-20")&&(S+=20),t("#masthead").data("text-scroll")&&""!=t("#masthead").data("text-scroll")&&(I="text-"+t("#masthead").data("text"),A="text-"+t("#masthead").data("text-scroll"))),t("#wpadminbar").length&&(S+=t("#wpadminbar").height());var D=t(".pix-header-container-area").attr("data-scroll-class"),O=t(".pix-header-container-area").attr("data-scroll-color"),P=t(".pix-header-container-area").attr("data-bg-class"),L=t(".pix-header-container-area").attr("data-bg-color"),j=!1;t(".pix-is-sticky-header").length&&(j=!0);let $=!1,z=0,M=S;t(".pix-mobile-header-sticky").length&&t("#mobile_head").length&&($=!0,z=t("#mobile_head").outerHeight(),M=t("#mobile_head").offset().top),t(window).scroll(function(){x&&(t(this).scrollTop()+k>_?t(this).scrollTop()+k>T?t(".pix-floating-meta").addClass("is-hidden"):t(".pix-floating-meta").css({top:k}).removeClass("is-hidden"):t(".pix-floating-meta").css({top:_-t(this).scrollTop()}).removeClass("is-hidden")),$&&(t(this).scrollTop()>S?(z=t("#mobile_head").outerHeight(),t("#mobile_head").addClass("pix-mobile-sticky shadow"),t(".pix-mobile-header-sticky").height(z)):t(this).scrollTop()<S-5&&(t("#mobile_head").removeClass("pix-mobile-sticky shadow"),t(".pix-mobile-header-sticky").height(0))),j&&(t(this).scrollTop()>S?(0!=E&&(t(".pix-header-box").css("padding-left",E),t(".pix-header-box").css("padding-right",E)),t(".pix-header").addClass("is-scroll"),t(window).width()>600&&t(".pix-topbar").addClass("pix-hidden"),t(".pix-header-container-area").removeClass(P),t(".pix-header-container-area").addClass(D),t(".pix-header-container-area").css("background",O),t(".pix-header-container-area .pix-header-text").removeClass(I),t(".pix-header-container-area .pix-header-text").addClass(A),t(".pix-header-boxed").addClass("pix-boxed-sticky pix-scroll-shadow"),t(".pix-header-box:not(.pix-no-topbar)").addClass("pix-pt-20"),0!=E&&(t(".pix-header-transparent-full").css("padding-left",E),t(".pix-header-transparent-full").css("padding-right",E)),t(".pix-header-transparent").addClass("pix-transparent-sticky")):t(this).scrollTop()<S-5&&(t(".pix-header").removeClass("is-scroll"),t(".pix-topbar").removeClass("pix-hidden"),t(".pix-header-container-area").removeClass(D),t(".pix-header-container-area").addClass(P),t(".pix-header-container-area").css("background",""),t(".pix-header-container-area").css("background",L),t(".pix-header-container-area .pix-header-text").removeClass(A),t(".pix-header-container-area .pix-header-text").addClass(I),t(".pix-header-boxed").removeClass("pix-boxed-sticky pix-scroll-shadow"),t(".pix-header-box:not(.pix-no-topbar)").removeClass("pix-pt-20"),0!=E&&(t(".pix-header-box").css("padding-left",""),t(".pix-header-box").css("padding-right","")),t(".pix-header-transparent").removeClass("pix-transparent-sticky"),0!=E&&(t(".pix-header-transparent-full").css("padding-left",""),t(".pix-header-transparent-full").css("padding-right",""))))}),setTimeout(function(){var e=t(".shape-overlays")[0],i=new ShapeOverlays(e);t(".pix-search-btn").on("click",function(e){if(e.preventDefault(),i){if(i.isAnimating)return!1;i.toggle(),t(".pix-overlay-item").toggleClass("is-opened")}return t(".pix-search-input").focus(),!1}),t(".pix-search-close").on("click",function(e){if(e.preventDefault(),i){if(i.isAnimating)return!1;i.toggle(),t(".pix-overlay-item").toggleClass("is-opened")}return!1}
1),t(document).keyup(function(e){i&&i.isOpened&&27===e.keyCode&&t(".pix-search-close").click()})},0),t(window).width()>992?t("body").hasClass("pix-sections-stack")&&!window.vc_iframe&&(t("body").hasClass("elementor-page")?t(".site-main .elementor-section-wrap > section, .site-main .elementor-section-wrap > div, .site-footer2").stack():t(".site-content section, .site-footer2").stack(),t(".pix-cookie-banner").length&&pix_animation_display(t(".pix-cookie-banner"),!0)):t("body").removeClass("pix-sections-stack"),setTimeout(function(){pix_section_stack()},500),t(window).width()>992?t(".pix-sticky-footer").pixfooter():t(".pix-sticky-footer").removeClass("pix-sticky-footer"),t(".widget_product_categories .count").each(function(e,i){let n=t(this).html().replace("(","").replace(")","");t(this).html(n)}),t(".pix-ajax-search").each(function(e,i){var n=t(i).closest(".pix-ajax-search-container"),o=t(this).data("search-link");o=o,t(i).typeahead({matcher:function(t){return!0},showHintOnFocus:!1,autoSelect:!1,source:function(e,n){return t.get(o,{term:t(i).val()},function(t){if(!t.error){var e=JSON.parse(t);return n(e)}return!1})},appendTo:n})}),t(".pix-add-to-cart").on("click",function(e){e.preventDefault();var i=t(this),n="Success";t(this).data("name")&&(n=t(this).data("name"));var o=t(this).attr("href"),s=!1;i.data("img")&&(s=i.data("img"));t(this).data("product_id");t(this).find(".btn-icon").removeClass("pixicon-bag-2");t(this).find(".btn-icon").addClass("").html('<svg class="pix-icon-loading bi bi-arrow-repeat" width="1em" height="1em" viewBox="0 0 16 16" fill="currentColor" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" d="M2.854 7.146a.5.5 0 00-.708 0l-2 2a.5.5 0 10.708.708L2.5 8.207l1.646 1.647a.5.5 0 00.708-.708l-2-2zm13-1a.5.5 0 00-.708 0L13.5 7.793l-1.646-1.647a.5.5 0 00-.708.708l2 2a.5.5 0 00.708 0l2-2a.5.5 0 000-.708z" clip-rule="evenodd"/><path fill-rule="evenodd" d="M8 3a4.995 4.995 0 00-4.192 2.273.5.5 0 01-.837-.546A6 6 0 0114 8a.5.5 0 01-1.001 0 5 5 0 00-5-5zM2.5 7.5A.5.5 0 013 8a5 5 0 009.192 2.727.5.5 0 11.837.546A6 6 0 012 8a.5.5 0 01.501-.5z" clip-rule="evenodd"/></svg>');var r='<div class="toast pix-notification bg-white shadow-lg border-0 rounded-lg w-100" role="alert" aria-live="assertive" aria-atomic="true">';r+='<div class="toast-header pix-p-10">',s&&(r+='<img src="'+s+'" class="rounded-lg pix-mr-10 " alt="" style="width:25px;height:25px;">'),r+='<strong class="mr-auto">'+n+"</strong>",r+='<button type="button" class="ml-2 close" data-dismiss="toast" aria-label="Close">',r+='<span aria-hidden="true">×</span>',r+="</button>",r+="</div>",r+='<div class="toast-body pix-p-10 text-body-default font-weight-bold">',r+="The item has been added to your shopping cart!",r+="</div>",r+="</div>";return t.ajax({url:o,method:"GET"}).done(function(e){t(document.body).trigger("wc_fragment_refresh");var n=t(r);t(".pix-notifications-area").append(n),n.toast({autohide:!0,animation:!0,delay:3e3}),n.toast("show"),i.find(".btn-icon").replaceWith('<span class="btn-icon text-success pixicon-check-circle-1 align-self-center"></span>'),i.find(".btn-icon").removeClass("pixicon-rotate-right pix-icon-loading").html(""),i.find(".btn-icon").addClass("text-success pixicon-check-circle-1"),setTimeout(function(){i.find(".btn-icon").removeClass("text-success pixicon-check-circle-1"),i.find(".btn-icon").addClass("pixicon-bag-2")},1e3)}).fail(function(){i.find(".btn-icon").removeClass("pixicon-rotate-right pix-icon-loading").html(""),i.find(".btn-icon").addClass("text-red pixicon-close-circle"),setTimeout(function(){i.find(".btn-icon").removeClass("text-red pixicon-close-circle"),i.find(".btn-icon").addClass("pixicon-bag-2")},1e3)})}),t(".pix-add-to-wishlist").on("click",function(e){e.preventDefault();var i,n=t(this);if(!(i=n.data("id")))return!1;var o=t(this).attr("href");t(this).find(".btn-icon").removeClass("pixicon-heart");t(this).find(".btn-icon").addClass("").html('<svg class="pix-icon-loading bi bi-arrow-repeat" width="1em" height="1em" viewBox="0 0 16 16" fill="currentColor" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" d="M2.854 7.146a.5.5 0 00-.708 0l-2 2a.5.5 0 10.708.708L2.5 8.207l1.646 1.647a.5.5 0 00.708-.708l-2-2zm13-1a.5.5 0 00-.708 0L13.5 7.793l-1.646-1.647a.5.5 0 00-.708.708l2 2a.5.5 0 00.708 0l2-2a.5.5 0 000-.708z" clip-rule="evenodd"/>
1<path fill-rule="evenodd" d="M8 3a4.995 4.995 0 00-4.192 2.273.5.5 0 01-.837-.546A6 6 0 0114 8a.5.5 0 01-1.001 0 5 5 0 00-5-5zM2.5 7.5A.5.5 0 013 8a5 5 0 009.192 2.727.5.5 0 11.837.546A6 6 0 012 8a.5.5 0 01.501-.5z" clip-rule="evenodd"/></svg>');var s={add_to_wishlist:i,product_type:"simple",action:"add_to_wishlist"};return n.hasClass("remove-item")&&(s={remove_from_wishlist:i,product_type:"simple",action:"remove_from_wishlist"}),t.ajax({url:o,data:s,method:"POST"}).done(function(t){n.hasClass("remove-item")?(n.removeClass("remove-item"),n.find(".btn-icon").removeClass("pixicon-rotate-right pix-icon-loading text-red").html(""),n.find(".btn-icon").addClass("text-body-default pixicon-heart")):(n.find(".btn-icon").removeClass("pixicon-rotate-right pix-icon-loading text-body-default").html(""),n.find(".btn-icon").addClass("text-red pixicon-heart"),n.addClass("remove-item"))}).fail(function(){n.find(".btn-icon").removeClass("pixicon-rotate-right pix-icon-loading").html(""),n.find(".btn-icon").addClass("text-red pixicon-close-circle"),setTimeout(function(){n.find(".btn-icon").removeClass("text-red pixicon-close-circle").html(""),n.find(".btn-icon").addClass("pixicon-heart")},1e3)})}),t(".pix-open-sidebar").on("click",function(e){return e.preventDefault(),t(".pix-sidebar").addClass("opened"),!1}),t(".pix-close-sidebar").on("click",function(e){return e.preventDefault(),t(".pix-sidebar").removeClass("opened"),!1}),t(".pix-banner-close").on("click",function(e){e.preventDefault();var i=t(this).attr("href"),n=t(this).closest(".pix-banner");return t.ajax({url:i,method:"GET"}).done(function(t){}).fail(function(){}),n.addClass("pix-closed"),!1}),t(".pix-cookies-close").on("click",function(e){e.preventDefault();var i=t(this).attr("href"),n=t(this).closest(".pix-cookie-banner");return t.ajax({url:i,method:"GET"}).done(function(t){}).fail(function(){}),n.addClass("pix-closed"),!1}),t(".widget_nav_menu .menu > .menu-item.menu-item-has-children > a").on("click",function(e){return e.preventDefault(),t(this).parent().toggleClass("active"),t(this).parent().find(".sub-menu").slideToggle(300,"linear"),!1}),setTimeout(()=>document.body.classList.add("render"),0),setTimeout(function(){if(t("body").hasClass(" vc_editor compose-mode"))return!1;piximations.init(),pix_countdown(),init_pix_maps(),init_chart(),update_collapse(),update_numbers(),update_masonry(),init_bars(),init_scroll_rotate(),init_fancy_mockup(),init_portfolio(),video_element(),pix_init_c7(),init_tilts(),init_Parallax(),pix_animation(),pixLazy(),t(".pix_tabs_btns").each(function(e,i){t(i).find(".nav-item:first a").tab("show")}),t("body").on("click",'a[data-toggle="pill"]',function(e){t(this).closest(".pix_tabs_btns").find(".nav-link").removeClass("active")}),t(".pix-contact7-form").each(function(e,i){t('input[type="text"], input[type="email"], input[type="phone"], input[type="password"], textarea').each(function(e,i){t(i).addClass("form-control"),t(i).closest("p").addClass("form-group")})}),t(".vc_controls-out-tl").each(function(e,i){t(i).offset().top<0&&t(i).css({top:"-17px"})})},0),setTimeout(function(){pixLoadImgs()},3e3),jQuery(document.body).on("post-load",function(t){pix_animation()}),t(".jarallax-video").each(function(){let e=!1;if(!t(this).attr("data-pix-bg-video"))return!1;e=t(this).attr("data-pix-bg-video"),t(this).jarallax({speed:.4,videoSrc:e})}),setTimeout(function(){t(".pix-video-elem source").each(function(){if(t(this).parents(".navbar").length)return!1;var e=t(this).attr("data-src");t(this).attr("src",e);var i=this.parentElement;i.load(),i.play()})},1e4);let N=!0;t(".navbar").hover(function(e){N&&(t(this).find(".pix-video-elem source").each(function(){var e=t(this).attr("data-src");t(this).attr("src",e);var i=this.parentElement;i.load(),i.play()}),N=!1)}),t(".intro-jarallax").jarallax({speed:.4,imgSize:"object-fit",imgPosition:"object-position"}),t(".pix-shape-dividers").each(function(){if(!t(this).hasClass("loaded")){new dividerShapes(this).initPoints(),t(this).addClass("loaded")}}),i(),pix_init_particles(),t("body").addClass("pix-loaded"),setTimeout(()=>document.body.classList.add("render"),0),setTimeout(()=>t(".pix-loading-circ-path").remove(),600),setTimeout(()=>t(".flickity-enabled").flickity("resize"),0),NProgress.done()}),document.addEventListener("DOMContentLoaded",function(){let t=[].slice.call(document.querySelectorAll("img.pix-lazy")),e=!1;const i=function(){!1===e&&(e=!0,setTimeout(function(){t.forEach(function(e){e.getBoundingClientRect().top<=window.innerHeight&&e.getBoundingClientRect().bottom>=0&&(e.src=e.dataset.src,e.dataset.srcset&&(e.srcset=e.dataset.srcset),e.classList.remove("pix-lazy"),0===(t=t.filter(function(t){return t!==e})).length&&(document.removeEventListener("scroll",i),window.removeEventListener("resize",i),window.removeEventListener("orientationchange",i
1)))}),e=!1},200))};window.pixLazy=function(){i()},document.addEventListener("scroll",i),window.addEventListener("resize",i),window.addEventListener("orientationchange",i)}),window.pixLoadImgs=function(){let t=[].slice.call(document.querySelectorAll("img.pix-lazy"));t.forEach(function(e){e.src=e.dataset.src,e.classList.remove("pix-lazy"),t=t.filter(function(t){return t!==e})})},window.pixInitJs=async function(e){t("body").hasClass("vc_editor")&&(piximations.init(),e||(e=t("body")),e.find('[data-toggle="tooltip"]').tooltip(),t(".vc_controls-out-tl").each(function(e,i){t(i).offset().top<0&&t(i).css({top:"-17px"})}),e.find(".pix-contact7-form").each(function(e,i){t('input[type="text"], input[type="email"], input[type="phone"], input[type="password"], textarea').each(function(e,i){t(i).addClass("form-control"),t(i).closest("p").addClass("form-group")})}),e.find(".pix-shape-dividers").each(function(){if(!t(this).hasClass("loaded")){new dividerShapes(this).initPoints(),t(this).addClass("loaded")}}),i())},window.pixBgVideo=async function(e){e&&e.find(".jarallax").each(function(e,i){t(i).attr("data-jarallax-video")&&""!=t(i).attr("data-jarallax-video")&&t(i).jarallax()})},window.pix_init_particles=async function(){t(window).width()<600&&e(),t(window).resize(function(){t(window).width()<600?e():t(".pix-scene").css("display","block")})},window.pix_cb_fn=async function(t){setTimeout(t,0)},window.pix_init_c7=async function(){t(".pix-contact7-form").each(function(e,i){t('input[type="text"], input[type="email"], input[type="phone"], input[type="password"], select, textarea').each(function(e,i){t(i).addClass("form-control"),t(i).closest("p").addClass("form-group")})})},window.update_masonry=async function(e){e||(e=t("body")),e.find(".pix_masonry").each(function(e,i){setTimeout(function(){t(i).isotope({itemSelector:".grid-item",percentPosition:!0,resize:!0,masonry:{columnWidth:".grid-sizer",gutter:".gutter-sizer"}})},200),setTimeout(function(){t(i).isotope("reloadItems")},1900)})},window.init_fancy_mockup=async function(e){e||(e=t("body")),e.find(".pix-fancy-mockup").each(function(e,i){var n=t(i).find(".pix-fancy-device-img"),o=t(i).find(".pix-fancy-content img"),s=(t(i).offset().top,t(i).outerHeight(),i.getBoundingClientRect()),r=t(window).height(),a=t(window).height()/4,l=r-a,c=(t(window).scrollTop(),t(window).height(),(s.top-a)/l),d=80*c,h=100*c,u=.9+.1*(1-c);o.css({transform:"translate3d(0px, "+h+"px, 0px) scale3d(1, "+u+", 1) rotateX("+d+"deg) rotateY(0deg) rotateZ(0deg) skew(0deg, 0deg)"}),n.css({transform:"translate3d(0px, "+h+"px, 2px) scale3d(1, "+u+", 1) rotateX("+d+"deg) rotateY(0deg) rotateZ(0deg) skew(0deg, 0deg)"}),t(window).scroll(function(){if((s=i.getBoundingClientRect()).top<=r&&s.top>=a){var t=(s.top-a)/l,e=80*t,c=100*t,d=.9+.1*(1-t);o.css({transform:"translate3d(0px, "+c+"px, 0px) scale3d(1, "+d+", 1) rotateX("+e+"deg) rotateY(0deg) rotateZ(0deg) skew(0deg, 0deg)"}),n.css({transform:"translate3d(0px, "+c+"px, 2px) scale3d(1, "+d+", 1) rotateX("+e+"deg) rotateY(0deg) rotateZ(0deg) skew(0deg, 0deg)"})}else s.top>r?(o.css({transform:"translate3d(0px, 100px, 0px) scale3d(1, 0.9, 1) rotateX(80deg) rotateY(0deg) rotateZ(0deg) skew(0deg, 0deg)"}),n.css({transform:"translate3d(0px, 100px, 2px) scale3d(1, 0.9, 1) rotateX(80deg) rotateY(0deg) rotateZ(0deg) skew(0deg, 0deg)"})):(o.css({transform:"translate3d(0px, 0px, 0px) scale3d(1, 1, 1) rotateX(0deg) rotateY(0deg) rotateZ(0deg) skew(0deg, 0deg)"}),n.css({transform:"translate3d(0px, 0px, 2px) scale3d(1, 1, 1) rotateX(0deg) rotateY(0deg) rotateZ(0deg) skew(0deg, 0deg)"}))})})},window.init_portfolio=async function(e){e||(e=t("body")),t(".portfolio_grid").isotope({itemSelector:".grid-item",packery:{gutter:0}}),t(".portfolio_filter").click(function(e){e.preventDefault();var i=t(this),n=i.data("category"),o=i.closest(".pix-portfolio").find(".portfolio_grid");return t(this).closest(".pix-portfolio-nav").find(".portfolio_filter").removeClass("is-checked"),t(this).addClass("is-checked"),o.isotope({itemSelector:".grid-item",filter:n}),window.pix_animation_display(o),!1})},window.pixParallax=[],window.init_Parallax=async function(){t(".scene").each(function(){var t=new Parallax(this,{relativeInput:!0});window.pixParallax.push(t)}),t(".pix-scene").each(function(){t(this).find(".pix-scene-particle").attr("data-pix-depth");var e=new Parallax(this,{relativeInput:!0,friction:.2});window.pixParallax.push(e)})},window.destroy_Parallax=async function(){window.pixParallax.forEac
1h(function(t){t.destroy();var e=window.pixParallax.indexOf(t);e>-1&&window.pixParallax.splice(e,1)})},window.init_tilts=async function(e){e||(e=t("body")),/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(e.find(".tilt").each(function(e,i){t(i).universalTilt({base:window,reset:!0,scale:1.04,reverse:!1,max:15,perspective:3e3,speed:4e3})}),e.find(".tilt_small").each(function(e,i){t(i).universalTilt({reset:!0,scale:1.01,reverse:!1,max:15,perspective:5e3,speed:4e3})}),e.find(".tilt_big").each(function(e,i){t(i).universalTilt({reset:!0,scale:1.07,reverse:!1,max:15,perspective:1e3,speed:4e3})}))},window.update_collapse=async function(){t(".collapse").each(function(e,i){var n=t(i).closest(".accordion");n.attr("id")&&""!=n.attr("id")&&t(i).attr("data-parent","#"+n.attr("id"))})},window.init_scroll_rotate=async function(e){e||(e=t("body")),e.find(".pix-rotate-scroll").each(function(){var e=t(this),i=e.attr("data-speed");i&&""!=i||(i=300),t(window).scroll(function(){var n="rotate("+t(window).scrollTop()/i+"rad)";e.css({"-webkit-transform":n,"-moz-transform":n,transform:n})})})},window.video_element=async function(e){e||(e=t("body")),e.find("video.pix-video-bg-element").each(function(t,e){var i=this;new Waypoint({element:e,offset:"100%",triggerOnce:!0,handler:function(){i.paused&&i.play(),this.destroy()}})})},window.init_bars=async function(){t(".pix-progress:not(.pix_ready)").each(function(e,i){t(i).addClass("pix_ready");new Waypoint({element:i,offset:"100%",triggerOnce:!0,handler:function(){var e=t(i).find(".progress-bar");t(e).animate({width:t(e).attr("aria-valuenow")+"%"},1e3);var n=t(i).find(".pix-progress-counter"),o=0;n.attr("data-counter")&&""!=n.attr("data-counter")&&(o=Math.floor(n.attr("data-counter"))),t({property:0}).animate({property:o},{duration:1600,easing:"swing",step:function(){n.text(Math.floor(this.property)+"%")},complete:function(){n.text(this.property+"%")}}),this.destroy()}})})},window.update_numbers=async function(){t(".animate-math .number").each(function(e,i){new Waypoint({element:i,offset:"100%",triggerOnce:!0,handler:function(){var e=t(i),n=Math.floor(1e3*Math.random()+3e3);e.attr("data-duration")&&""!=e.attr("data-duration")&&(n=Math.floor(e.attr("data-duration")));var o=e.attr("data-to");t({property:0}).animate({property:o},{duration:n,easing:"swing",step:function(){e.text(Math.floor(this.property))},complete:function(){e.text(this.property)}}),this.destroy()}})})},window.init_chart=async function(e){e||(e=t("body")),e.find(".chart:not(.pix-loaded)").each(function(e,i){t(i).addClass("pix-loaded");var n="rgba(0,0,0,0.03)";t(i).attr("data-track")&&""!=t(i).attr("data-track")&&(n=t(i).attr("data-track"));new Waypoint({element:i,offset:"100%",triggerOnce:!0,handler:function(){t(this.element).attr("data-color");t(this.element).easyPieChart({animate:1e3,barColor:function(e){var i="";if(t(this.el).attr("data-gradient-1")){var n=this.renderer.getCtx();this.renderer.getCanvas();(i=n.createRadialGradient(0,0,100,100,70,70)).addColorStop(0,t(this.el).attr("data-gradient-1")),t(this.el).attr("data-gradient-3")&&""!=t(this.el).attr("data-gradient-3")?(i.addColorStop(.5,t(this.el).attr("data-gradient-2")),i.addColorStop(1,t(this.el).attr("data-gradient-3"))):i.addColorStop(1,t(this.el).attr("data-gradient-2"))}else i=t(this.el).attr("data-barColor");return i},trackColor:n,lineCap:"round",lineWidth:18,size:140,scaleColor:!1,onStep:function(e,i,n){t(this.el).find(".number").text(Math.round(n))}})}})})},window.pix_sliders=async function(){t(".pix-slider").flickity({draggable:!0,adaptiveHeight:!0,wrapAround:!0,prevNextButtons:!1,imagesLoaded:!0,contain:!0,resize:!0,ready:function(){t(".pix-slider").flickity("resize"),setTimeout(function(){t(".pix-slider").flickity("resize")},900)},on:{ready:function(){t(".pix-slider").flickity("resize"),setTimeout(function(){t(".pix-slider").flickity("resize")},900)}}}),t(".pix-slider-nav-full").each(function(e,i){var n=!1,o="center";t(i).attr("data-slider")&&(t(i).attr("data-nav-align")&&(o=t(i).attr("data-nav-align")),n=t(i).attr("data-slider"),t(i).flickity({asNavFor:n,cellAlign:o,prevNextButtons:!1,contain:!0,pageDots:!1,on:{ready:function(){t(i).flickity("resize"),setTimeout(function(){t(i).flickity("resize")},1e3)}}}))})},pix_sliders(),window.pix_main_slider=function(e){e||(e=t("body")),e.find(".pix-main-slider").each(function(e,i){t(i).hasClass("flickity-enabled")&&t(i).flickity("destroy");var n={};if(t(i).attr("data-flickity")&&(n=JSON.parse(t(i).attr("data-flickity"))),n.draggable=!0,n.adaptiveHeight||(n.adaptiveHeight=!0),n.resize=!0,n.imagesLoaded=!0,n.arrowShape="M83.7718595,45.4606514 L31.388145,45.4606514 L54.2737785,23.1973134 C56.1027533,21.4180712 56.1027533,18.4982892 54.2737785,16.719047 C52.4448037,14.9398048 49.4903059,14.9398048 47.6613311,16.719047
1L16.7563465,46.7836776 C14.9273717,48.5629198 14.9273717,51.4370802 16.7563465,53.2163224 L47.6613311,83.280953 C49.4903059,85.0601952 52.4448037,85.0601952 54.2737785,83.280953 C56.1027533,81.5017108 56.1027533,78.6275504 54.2737785,76.8483082 L31.388145,54.5849702 L83.7718595,54.5849702 C86.3511829,54.5849702 88.4615385,52.5319985 88.4615385,50.0228108 C88.4615385,47.5136231 86.3511829,45.4606514 83.7718595,45.4606514 Z",t(window).width()<600&&(n.autoPlay=!1),t(i).on("ready.flickity",function(){n.pix_id&&t(n.pix_id).hasClass("flickity-enabled")&&setTimeout(function(){t(n.pix_id).flickity("resize")},500),n.pix_id&&t(n.pix_id).hasClass("flickity-enabled")&&setTimeout(function(){t(n.pix_id).flickity("resize")},1500),setTimeout(function(){t(i).addClass("pix-slider-loaded")},100)}),t(i).flickity(n),n.slider_effect){var o="";n.slider_style&&(o=n.slider_style),t(i).closest(".vc_row:not(.overflow-visible)").removeClass("vc_row_visible").addClass("overflow-hidden").css({overflow:"hidden !important"}),t(i).closest(".elementor-top-section").addClass("overflow-hidden").css({overflow:"hidden !important"});t(i).on("scroll.flickity",function(e,s){var r=t(i).width();if(t(window).width()<600)return!1;var a=t(i).offset().left,l=t(i).find(".carousel-cell").width();if(!t(i).data("flickity")||!t(i).data("flickity").slides)return!1;t(i).data("flickity").slides.forEach(function(e,s){var c=t(i).find(".carousel-cell:nth-child("+(s+1)+")"),d=t(e.cells[0].element).offset().left,h=1,u=0,p=0,f=0,m=10,g="auto";d-a<0?("pix-circular-slider"==n.slider_effect||"pix-circular-left"==n.slider_effect||"pix-fade-out-effect"==n.slider_effect?((h=1+(d-a)/l)<0&&(h=0),h>1&&(h=1),"pix-fade-out-effect"!=n.slider_effect&&(u=20*(1-h),p=1.8*(-1*d+a),f=(a-d)/l*-180,1-.1*(1-h))):"pix-opacity-slider"==o&&((h=1+(d-a)/l)<.3&&(h=.3),h>1&&(h=1)),h<.1&&(h=0),d-a<-10&&(g="none"),m=-1):d>a+r-l&&(g="none","pix-circular-slider"==n.slider_effect||"pix-circular-right"==n.slider_effect||"pix-fade-out-effect"==n.slider_effect?((h=(a+r-d)/l)<0&&(h=0),h>1&&(h=1),"pix-fade-out-effect"!=n.slider_effect&&(u=-1*(1-h)*20,p=-1*(1-h)*2.2*l*.82,f=-1*(1-h)*l*.52,1-.1*(1-h))):"pix-opacity-slider"==o&&((h=(a+r-d)/l)<.3&&(h=.3),h>1&&(h=1)),m=-1,h<.2&&(h=0)),c.find(".slide-inner").css({transform:"perspective("+l+"px) translateX("+p+"px) rotateY("+u+"deg) translateZ( "+f+"px)","-webkit-transform":"perspective("+l+"px) translateX("+p+"px) rotateY("+u+"deg) translateZ( "+f+"px)","-moz-transform":"perspective("+l+"px) translateX("+p+"px) rotateY("+u+"deg) translateZ( "+f+"px)"}),"pix-circular-slider"!=n.slider_effect&&"pix-circular-right"!=n.slider_effect&&"pix-circular-left"!=n.slider_effect&&"pix-fade-out-effect"!=n.slider_effect||c.css({opacity:h,"z-index":m}),c.css({"pointer-events":g}),c.parent().css({"pointer-events":g})})})}})},window.pix_main_slider(),window.pix_countdown=async function(e){e||(e=t("body")),e.find(".pix-countdown:not(.pix-count-loaded)").length&&e.find(".pix-countdown:not(.pix-count-loaded)").each(function(e,i){var n=t(i).attr("data-date");t(i).countdown({date:n,render:function(e){t.each(e,function(e,n){t(i).find(".pix-count-"+e).html(n)})},onEnd:function(){t(this.el).attr("data-redirect")&&(window.location.href=t(this.el).attr("data-redirect"))}}),t(i).addClass("pix-count-loaded")})},window.pix_animation_display=async function(e=!1){e||(e=t("body"));var i=["fade-in-Img","fade-in-down","fade-in-left","fade-in-up","fade-in-up-big","fade-in-right-big","fade-in-left-big","slide-in-up"];e.find(".animate-in").each(function(e,n){var o=t(n).attr("data-anim-type"),s=t(n).attr("data-anim-delay");t(n).addClass("pix-waiting"),t(n).hasClass("animate-in")&&!t(n).hasClass("animating-init")&&(t(n).addClass("animating-init"),setTimeout(function(){t(n).addClass("animating").addClass(o).removeClass("animate-in")},s),t(n).one("webkitAnimationEnd mozAnimationEnd MSAnimationEnd oanimationend animationend",function(){t(n).removeClass("animating animating-init").removeClass(i.join(" ")).addClass("animated")}))})},window.pix_animation=async function(e=!1,i=!1){var n=["fade-in-Img","fade-in-down","fade-in-left","fade-in-up","fade-in-up-big","fade-in-right-big","fade-in-left-big","slide-in-up"];e||(e=t("body"));var o=":not(.pix-waiting)";i&&(o=""),e.find(".animate-in"+o).each(function(e,i){var o=!0,s="100%";if(t("body").hasClass("pix-sections-stack")&&!t("body").hasClass("vc_editor")&&t(window).width()>992&&t(i).closest("section").length>0){o=!1;s="200%";if(!t(i).closest("section").hasClass("is-sticky-active")&&t(i).closest(".site-footer2").length<1)return!1}var r=t(i).attr("data-anim-type"),a=t(i).attr("data-anim-delay");t(i).addClass("pix-waiting");new Waypoint({element:i,offset:s,triggerOnce:o,handler:function(){t(i).hasClass("animate-in")&&!t(i).hasClass("animating-init")&&(t(i).addClass("animating-init"),setTimeout(function(){t(i).addClass("animating").addClass(r).removeClass("animate-in")},a),t(i).one("webkitAnimationEnd mozAnimationEnd MSAnimationEnd oanimationend animationend",function(){t(i).removeClass("animating animating-init").removeClass(n.join(" ")).addClass("animated")})),this.destroy()}})})},window.isInViewport=function(t){var e=t.getBoundingClientRect();return e.top>=-10&&e.bottom<=(window.innerHeight||document.documentElement.clientHeight)+10}}(jQuery); 2//# sourceMappingURL=essentials.min.js.map
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.