1/*! 2 * jQuery JavaScript Library v2.1.1 3 * http://jquery.com/ 4 * 5 * Includes Sizzle.js 6 * http://sizzlejs.com/ 7 * 8 * Copyright 2005, 2014 jQuery Foundation, Inc. and other contributors 9 * Released under the MIT license 10 * http://jquery.org/license 11 * 12 * Date: 2014-05-01T17:11Z 13 */(function(a,b){typeof module=="object"&&typeof module.exports=="object"?module.exports=a.document?b(a,!0):function(a2){if(!a2.document)throw new Error("jQuery requires a window with a document");return b(a2)}:b(a)})(typeof window<"u"?window:this,function(a,b){function c(a2){var b2=a2.length,c2=_.type(a2);return c2==="function"||_.isWindow(a2)?!1:a2.nodeType===1&&b2?!0:c2==="array"||b2===0||typeof b2=="number"&&b2>0&&b2-1 in a2}function d(a2,b2,c2){if(_.isFunction(b2))return _.grep(a2,function(a3,d2){return!!b2.call(a3,d2,a3)!==c2});if(b2.nodeType)return _.grep(a2,function(a3){return a3===b2!==c2});if(typeof b2=="string"){if(hb.test(b2))return _.filter(b2,a2,c2);b2=_.filter(b2,a2)}return _.grep(a2,function(a3){return U.call(b2,a3)>=0!==c2})}function e(a2,b2){for(;(a2=a2[b2])&&a2.nodeType!==1;);return a2}function f(a2){var b2=ob[a2]={};return _.each(a2.match(nb)||[],function(a3,c2){b2[c2]=!0}),b2}function g(){Z.removeEventListener("DOMContentLoaded",g,!1),a.removeEventListener("load",g,!1),_.ready()}function h(){Object.defineProperty(this.cache={},0,{get:function(){return{}}}),this.expando=_.expando+Math.random()}function i(a2,b2,c2){var d2;if(c2===void 0&&a2.nodeType===1)if(d2="data-"+b2.replace(ub,"-$1").toLowerCase(),c2=a2.getAttribute(d2),typeof c2=="string"){try{c2=c2==="true"?!0:c2==="false"?!1:c2==="null"?null:+c2+""===c2?+c2:tb.test(c2)?_.parseJSON(c2):c2}catch{}sb.set(a2,b2,c2)}else c2=void 0;return c2}function j(){return!0}function k(){return!1}function l(){try{return Z.activeElement}catch{}}function m(a2,b2){return _.nodeName(a2,"table")&&_.nodeName(b2.nodeType!==11?b2:b2.firstChild,"tr")?a2.getElementsByTagName("tbody")[0]||a2.appendChild(a2.ownerDocument.createElement("tbody")):a2}function n(a2){return a2.type=(a2.getAttribute("type")!==null)+"/"+a2.type,a2}function o(a2){var b2=Kb.exec(a2.type);return b2?a2.type=b2[1]:a2.removeAttribute("type"),a2}function p(a2,b2){for(var c2=0,d2=a2.length;d2>c2;c2++)rb.set(a2[c2],"globalEval",!b2||rb.get(b2[c2],"globalEval"))}function q(a2,b2){var c2,d2,e2,f2,g2,h2,i2,j2;if(b2.nodeType===1){if(rb.hasData(a2)&&(f2=rb.access(a2),g2=rb.set(b2,f2),j2=f2.events)){delete g2.handle,g2.events={};for(e2 in j2)for(c2=0,d2=j2[e2].length;d2>c2;c2++)_.event.add(b2,e2,j2[e2][c2])}sb.hasData(a2)&&(h2=sb.access(a2),i2=_.extend({},h2),sb.set(b2,i2))}}function r(a2,b2){var c2=a2.getElementsByTagName?a2.getElementsByTagName(b2||"*"):a2.querySelectorAll?a2.querySelectorAll(b2||"*"):[];return b2===void 0||b2&&_.nodeName(a2,b2)?_.merge([a2],c2):c2}function s(a2,b2){var c2=b2.nodeName.toLowerCase();c2==="input"&&yb.test(a2.type)?b2.checked=a2.checked:(c2==="input"||c2==="textarea")&&(b2.defaultValue=a2.defaultValue)}function t(b2,c2){var d2,e2=_(c2.createElement(b2)).appendTo(c2.body),f2=a.getDefaultComputedStyle&&(d2=a.getDefaultComputedStyle(e2[0]))?d2.display:_.css(e2[0],"display");return e2.detach(),f2}function u(a2){var b2=Z,c2=Ob[a2];return c2||(c2=t(a2,b2),c2!=="none"&&c2||(Nb=(Nb||_("<iframe frameborder='0' width='0' height='0'/>")).appendTo(b2.documentElement),b2=Nb[0].contentDocument,b2.write(),b2.close(),c2=t(a2,b2),Nb.detach()),Ob[a2]=c2),c2}function v(a2,b2,c2){var d2,e2,f2,g2,h2=a2.style;return c2=c2||Rb(a2),c2&&(g2=c2.getPropertyValue(b2)||c2[b2]),c2&&(g2!==""||_.contains(a2.ownerDocument,a2)||(g2=_.style(a2,b2)),Qb.test(g2)&&Pb.test(b2)&&(d2=h2.width,e2=h2.minWidth,f2=h2.maxWidth,h2.minWidth=h2.maxWidth=h2.width=g2,g2=c2.width,h2.width=d2,h2.minWidth=e2,h2.maxWidth=f2)),g2!==void 0?g2+"":g2}function w(a2,b2){return{get:function(){return a2()?void delete this.get:(this.get=b2).apply(this,arguments)}}}function x(a2,b2){if(b2 in a2)return b2;for(var c2=b2[0].toUpperCase()+b2.slice(1),d2=b2,e2=Xb.length;e2--;)if(b2=Xb[e2]+c2,b2 in a2)return b2;return d2}function y(a2,b2,c2){var d2=Tb.exec(b2);return d2?Math.max(0,d2[1]-(c2||0))+(d2[2]||"px"):b2}function z(a2,b2,c2,d2,e2){for(var f2=c2===(d2?"border":"content")?4:b2==="width"?1:0,g2=0;4>f2;f2+=2)c2==="margin"&&(g2+=_.css(a2,c2+wb[f2],!0,e2)),d2?(c2==="content"&&(g2-=_.css(a2,"padding"+wb[f2],!0,e2)),c2!=="margin"&&(g2-=_.css(a2,"border"+wb[f2]+"Width",!0,e2))):(g2+=_.css(a2,"padding"+wb[f2],!0,e2),c2!=="padding"&&(g2+=_.css(a2,"border"+wb[f2]+"Width",!0,e2)));return g2}function A(a2,b2,c2){var d2=!0,e2=b2==="width"?a2.offsetWidth:a2.offsetHeight,f2=Rb(a2),g2=_.css(a2,"boxSizing",!1,f2)==="border-box";if(0>=e2||e2==null){if(e2=v(a2,b2,f2),(0>e2||e2==null)&&(e2=a2.style[b2]),Qb.test(e2))return e2;d2=g2&&(Y.boxSizingReliable()||e2===a2.style[b2]),e2=parseFloat(e2)||0}return e2+z(a2,b2,c2||(g2?"border":"content"),d2,f2)+"px"}function B(a2,b2){for(var c2,d2,e2,f2=[],g2=0,h2=a2.length;h2>g2;g2++)d2=a2[g2],d2.style&&(f2[g2]=rb.get(d2,"olddisplay"),c2=d2.style.display,b2?(f2[g2]||c2!=="none"||(d2.style.display=""),d2.style.display===""&&xb(d2)&&(f2[g2]=rb.access(d2,"olddisplay",u(d2.nodeName)))):(e2=xb(d2),c2==="none"&&e2||rb.set(d2,"olddisplay",e2?c2:_.css(d2,"display"))));for(g2=0;h2>g2;g2++)d2=a2[g2],d2.style&&(b2&&d2.style.display!=="none"&&d2.style.display!==""||(d2.style.display=b2?f2[g2]||"":"none"));return a2}function C(a2,b2,c2,d2,e2){return new C.prototype.init(a2,b2,c2,d2,e2)}function D(){return setTimeout(function(){Yb=void 0}),Yb=_.now()}function E(a2,b2){var c2,d2=0,e2={height:a2};for(b2=b2?1:0;4>d2;d2+=2-b2)c2=wb[d2],e2["margin"+c2]=e2["padding"+c2]=a2;return b2&&(e2.opacity=e2.width=a2),e2}function F(a2,b2,c2){for(var d2,e2=(cc[b2]||[]).concat(cc["*"]),f2=0,g2=e2.length;g2>f2;f2++)if(d2=e2[f2].call(c2,b2,a2))return d2}function G(a2,b2,c2){var d2,e2,f2,g2,h2,i2,j2,k2,l2=this,m2={},n2=a2.style,o2=a2.nodeType&&xb(a2),p2=rb.get(a2,"fxshow");c2.queue||(h2=_._queueHooks(a2,"fx"),h2.unqueued==null&&(h2.unqueued=0,i2=h2.empty.fire,h2.empty.fire=function(){h2.unqueued||i2()}),h2.unqueued++,l2.always(function(){l2.always(function(){h2.unqueued--,_.queue(a2,"fx").length||h2.empty.fire()})})),a2.nodeType===1&&("height"in b2||"width"in b2)&&(c2.overflow=[n2.overflow,n2.overflowX,n2.overflowY],j2=_.css(a2,"display"),k2=j2==="none"?rb.get(a2,"olddisplay")||u(a2.nodeName):j2,k2==="inline"&&_.css(a2,"float")==="none"&&(n2.display="inline-block")),c2.overflow&&(n2.overflow="hidden",l2.always(function(){n2.overflow=c2.overflow[0],n2.overflowX=c2.overflow[1],n2.overflowY=c2.overflow[2]}));for(d2 in b2)if(e2=b2[d2],$b.exec(e2)){if(delete b2[d2],f2=f2||e2==="toggle",e2===(o2?"hide":"show")){if(e2!=="show"||!p2||p2[d2]===void 0)continue;o2=!0}m2[d2]=p2&&p2[d2]||_.style(a2,d2)}else j2=void 0;if(_.isEmptyObject(m2))(j2==="none"?u(a2.nodeName):j2)==="inline"&&(n2.display=j2);else{p2?"hidden"in p2&&(o2=p2.hidden):p2=rb.access(a2,"fxshow",{}),f2&&(p2.hidden=!o2),o2?_(a2).show():l2.done(function(){_(a2).hide()}),l2.done(function(){var b3;rb.remove(a2,"fxshow");for(b3 in m2)_.style(a2,b3,m2[b3])});for(d2 in m2)g2=F(o2?p2[d2]:0,d2,l2),d2 in p2||(p2[d2]=g2.start,o2&&(g2.end=g2.start,g2.start=d2==="width"||d2==="height"?1:0))}}function H(a2,b2){var c2,d2,e2,f2,g2;for(c2 in a2)if(d2=_.camelCase(c2),e2=b2[d2],f2=a2[c2],_.isArray(f2)&&(e2=f2[1],f2=a2[c2]=f2[0]),c2!==d2&&(a2[d2]=f2,delete a2[c2]),g2=_.cssHooks[d2],g2&&"expand"in g2){f2=g2.expand(f2),delete a2[d2];for(c2 in f2)c2 in a2||(a2[c2]=f2[c2],b2[c2]=e2)}else b2[d2]=e2}function I(a2,b2,c2){var d2,e2,f2=0,g2=bc.length,h2=_.Deferred().always(function(){delete i2.elem}),i2=function(){if(e2)return!1;for(var b3=Yb||D(),c3=Math.max(0,j2.startTime+j2.duration-b3),d3=c3/j2.duration||0,f3=1-d3,g3=0,i3=j2.tweens.length;i3>g3;g3++)j2.tweens[g3].run(f3);return h2.notifyWith(a2,[j2,f3,c3]),1>f3&&i3?c3:(h2.resolveWith(a2,[j2]),!1)},j2=h2.promise({elem:a2,props:_.extend({},b2),opts:_.extend(!0,{specialEasing:{}},c2),originalProperties:b2,originalOptions:c2,startTime:Yb||D(),duration:c2.duration,tweens:[],createTween:function(b3,c3){var d3=_.Tween(a2,j2.opts,b3,c3,j2.opts.specialEasing[b3]||j2.opts.easing);return j2.tweens.push(d3),d3},stop:function(b3){var c3=0,d3=b3?j2.tweens.length:0;if(e2)return this;for(e2=!0;d3>c3;c3++)j2.tweens[c3].run(1);return b3?h2.resolveWith(a2,[j2,b3]):h2.rejectWith(a2,[j2,b3]),this}}),k2=j2.props;for(H(k2,j2.opts.specialEasing);g2>f2;f2++)if(d2=bc[f2].call(j2,a2,k2,j2.opts))return d2;return _.map(k2,F,j2),_.isFunction(j2.opts.start)&&j2.opts.start.call(a2,j2),_.fx.timer(_.extend(i2,{elem:a2,anim:j2,queue:j2.opts.queue})),j2.progress(j2.opts.progress).done(j2.opts.done,j2.opts.complete).fail(j2.opts.fail).always(j2.opts.always)}function J(a2){return function(b2,c2){typeof b2!="string"&&(c2=b2,b2="*");var d2,e2=0,f2=b2.toLowerCase().match(nb)||[];if(_.isFunction(c2))for(;d2=f2[e2++];
13)d2[0]==="+"?(d2=d2.slice(1)||"*",(a2[d2]=a2[d2]||[]).unshift(c2)):(a2[d2]=a2[d2]||[]).push(c2)}}function K(a2,b2,c2,d2){function e2(h2){var i2;return f2[h2]=!0,_.each(a2[h2]||[],function(a3,h3){var j2=h3(b2,c2,d2);return typeof j2!="string"||g2||f2[j2]?g2?!(i2=j2):void 0:(b2.dataTypes.unshift(j2),e2(j2),!1)}),i2}var f2={},g2=a2===vc;return e2(b2.dataTypes[0])||!f2["*"]&&e2("*")}function L(a2,b2){var c2,d2,e2=_.ajaxSettings.flatOptions||{};for(c2 in b2)b2[c2]!==void 0&&((e2[c2]?a2:d2||(d2={}))[c2]=b2[c2]);return d2&&_.extend(!0,a2,d2),a2}function M(a2,b2,c2){for(var d2,e2,f2,g2,h2=a2.contents,i2=a2.dataTypes;i2[0]==="*";)i2.shift(),d2===void 0&&(d2=a2.mimeType||b2.getResponseHeader("Content-Type"));if(d2){for(e2 in h2)if(h2[e2]&&h2[e2].test(d2)){i2.unshift(e2);break}}if(i2[0]in c2)f2=i2[0];else{for(e2 in c2){if(!i2[0]||a2.converters[e2+" "+i2[0]]){f2=e2;break}g2||(g2=e2)}f2=f2||g2}return f2?(f2!==i2[0]&&i2.unshift(f2),c2[f2]):void 0}function N(a2,b2,c2,d2){var e2,f2,g2,h2,i2,j2={},k2=a2.dataTypes.slice();if(k2[1])for(g2 in a2.converters)j2[g2.toLowerCase()]=a2.converters[g2];for(f2=k2.shift();f2;)if(a2.responseFields[f2]&&(c2[a2.responseFields[f2]]=b2),!i2&&d2&&a2.dataFilter&&(b2=a2.dataFilter(b2,a2.dataType)),i2=f2,f2=k2.shift()){if(f2==="*")f2=i2;else if(i2!=="*"&&i2!==f2){if(g2=j2[i2+" "+f2]||j2["* "+f2],!g2){for(e2 in j2)if(h2=e2.split(" "),h2[1]===f2&&(g2=j2[i2+" "+h2[0]]||j2["* "+h2[0]])){g2===!0?g2=j2[e2]:j2[e2]!==!0&&(f2=h2[0],k2.unshift(h2[1]));break}}if(g2!==!0)if(g2&&a2.throws)b2=g2(b2);else try{b2=g2(b2)}catch(l2){return{state:"parsererror",error:g2?l2:"No conversion from "+i2+" to "+f2}}}}return{state:"success",data:b2}}function O(a2,b2,c2,d2){var e2;if(_.isArray(b2))_.each(b2,function(b3,e3){c2||zc.test(a2)?d2(a2,e3):O(a2+"["+(typeof e3=="object"?b3:"")+"]",e3,c2,d2)});else if(c2||_.type(b2)!=="object")d2(a2,b2);else for(e2 in b2)O(a2+"["+e2+"]",b2[e2],c2,d2)}function P(a2){return _.isWindow(a2)?a2:a2.nodeType===9&&a2.defaultView}var Q=[],R=Q.slice,S=Q.concat,T=Q.push,U=Q.indexOf,V={},W=V.toString,X=V.hasOwnProperty,Y={},Z=a.document,$2="2.1.1",_=function(a2,b2){return new _.fn.init(a2,b2)},ab=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,bb=/^-ms-/,cb=/-([\da-z])/gi,db=function(a2,b2){return b2.toUpperCase()};_.fn=_.prototype={jquery:$2,constructor:_,selector:"",length:0,toArray:function(){return R.call(this)},get:function(a2){return a2!=null?0>a2?this[a2+this.length]:this[a2]:R.call(this)},pushStack:function(a2){var b2=_.merge(this.constructor(),a2);return b2.prevObject=this,b2.context=this.context,b2},each:function(a2,b2){return _.each(this,a2,b2)},map:function(a2){return this.pushStack(_.map(this,function(b2,c2){return a2.call(b2,c2,b2)}))},slice:function(){return this.pushStack(R.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(a2){var b2=this.length,c2=+a2+(0>a2?b2:0);return this.pushStack(c2>=0&&b2>c2?[this[c2]]:[])},end:function(){return this.prevObject||this.constructor(null)},push:T,sort:Q.sort,splice:Q.splice},_.extend=_.fn.extend=function(){var a2,b2,c2,d2,e2,f2,g2=arguments[0]||{},h2=1,i2=arguments.length,j2=!1;for(typeof g2=="boolean"&&(j2=g2,g2=arguments[h2]||{},h2++),typeof g2=="object"||_.isFunction(g2)||(g2={}),h2===i2&&(g2=this,h2--);i2>h2;h2++)if((a2=arguments[h2])!=null)for(b2 in a2)c2=g2[b2],d2=a2[b2],g2!==d2&&(j2&&d2&&(_.isPlainObject(d2)||(e2=_.isArray(d2)))?(e2?(e2=!1,f2=c2&&_.isArray(c2)?c2:[]):f2=c2&&_.isPlainObject(c2)?c2:{},g2[b2]=_.extend(j2,f2,d2)):d2!==void 0&&(g2[b2]=d2));return g2},_.extend({expando:"jQuery"+($2+Math.random()).replace(/\D/g,""),isReady:!0,error:function(a2){throw new Error(a2)},noop:function(){},isFunction:function(a2){return _.type(a2)==="function"},isArray:Array.isArray,isWindow:function(a2){return a2!=null&&a2===a2.window},isNumeric:function(a2){return!_.isArray(a2)&&a2-parseFloat(a2)>=0},isPlainObject:function(a2){return _.type(a2)!=="object"||a2.nodeType||_.isWindow(a2)?!1:!(a2.constructor&&!X.call(a2.constructor.prototype,"isPrototypeOf"))},isEmptyObject:function(a2){var b2;for(b2 in a2)return!1;return!0},type:function(a2){return a2==null?a2+"":typeof a2=="object"||typeof a2=="function"?V[W.call(a2)]||"object":typeof a2},globalEval:function(a2){var b2,c2=eval;a2=_.trim(a2),a2&&(a2.indexOf("use strict")===1?(b2=Z.createElement("script"),b2.text=a2,Z.head.appendChild(b2).parentNode.removeChild(b2)):c2(a2))}
13,camelCase:function(a2){return a2.replace(bb,"ms-").replace(cb,db)},nodeName:function(a2,b2){return a2.nodeName&&a2.nodeName.toLowerCase()===b2.toLowerCase()},each:function(a2,b2,d2){var e2,f2=0,g2=a2.length,h2=c(a2);if(d2){if(h2)for(;g2>f2&&(e2=b2.apply(a2[f2],d2),e2!==!1);f2++);else for(f2 in a2)if(e2=b2.apply(a2[f2],d2),e2===!1)break}else if(h2)for(;g2>f2&&(e2=b2.call(a2[f2],f2,a2[f2]),e2!==!1);f2++);else for(f2 in a2)if(e2=b2.call(a2[f2],f2,a2[f2]),e2===!1)break;return a2},trim:function(a2){return a2==null?"":(a2+"").replace(ab,"")},makeArray:function(a2,b2){var d2=b2||[];return a2!=null&&(c(Object(a2))?_.merge(d2,typeof a2=="string"?[a2]:a2):T.call(d2,a2)),d2},inArray:function(a2,b2,c2){return b2==null?-1:U.call(b2,a2,c2)},merge:function(a2,b2){for(var c2=+b2.length,d2=0,e2=a2.length;c2>d2;d2++)a2[e2++]=b2[d2];return a2.length=e2,a2},grep:function(a2,b2,c2){for(var d2,e2=[],f2=0,g2=a2.length,h2=!c2;g2>f2;f2++)d2=!b2(a2[f2],f2),d2!==h2&&e2.push(a2[f2]);return e2},map:function(a2,b2,d2){var e2,f2=0,g2=a2.length,h2=c(a2),i2=[];if(h2)for(;g2>f2;f2++)e2=b2(a2[f2],f2,d2),e2!=null&&i2.push(e2);else for(f2 in a2)e2=b2(a2[f2],f2,d2),e2!=null&&i2.push(e2);return S.apply([],i2)},guid:1,proxy:function(a2,b2){var c2,d2,e2;return typeof b2=="string"&&(c2=a2[b2],b2=a2,a2=c2),_.isFunction(a2)?(d2=R.call(arguments,2),e2=function(){return a2.apply(b2||this,d2.concat(R.call(arguments)))},e2.guid=a2.guid=a2.guid||_.guid++,e2):void 0},now:Date.now,support:Y}),_.each("Boolean Number String Function Array Date RegExp Object Error".split(" "),function(a2,b2){V["[object "+b2+"]"]=b2.toLowerCase()});var eb=(function(a2){function b2(a3,b3,c3,d3){var e3,f3,g3,h3,i3,j3,l3,n3,o3,p3;if((b3?b3.ownerDocument||b3:O2)!==G2&&F2(b3),b3=b3||G2,c3=c3||[],!a3||typeof a3!="string")return c3;if((h3=b3.nodeType)!==1&&h3!==9)return[];if(I2&&!d3){if(e3=sb2.exec(a3))if(g3=e3[1]){if(h3===9){if(f3=b3.getElementById(g3),!f3||!f3.parentNode)return c3;if(f3.id===g3)return c3.push(f3),c3}else if(b3.ownerDocument&&(f3=b3.ownerDocument.getElementById(g3))&&M2(b3,f3)&&f3.id===g3)return c3.push(f3),c3}else{if(e3[2])return _2.apply(c3,b3.getElementsByTagName(a3)),c3;if((g3=e3[3])&&v2.getElementsByClassName&&b3.getElementsByClassName)return _2.apply(c3,b3.getElementsByClassName(g3)),c3}if(v2.qsa&&(!J2||!J2.test(a3))){if(n3=l3=N2,o3=b3,p3=h3===9&&a3,h3===1&&b3.nodeName.toLowerCase()!=="object"){for(j3=z2(a3),(l3=b3.getAttribute("id"))?n3=l3.replace(ub2,"\\$&"):b3.setAttribute("id",n3),n3="[id='"+n3+"'] ",i3=j3.length;i3--;)j3[i3]=n3+m2(j3[i3]);o3=tb2.test(a3)&&k2(b3.parentNode)||b3,p3=j3.join(",")}if(p3)try{return _2.apply(c3,o3.querySelectorAll(p3)),c3}catch{}finally{l3||b3.removeAttribute("id")}}}return B2(a3.replace(ib2,"$1"),b3,c3,d3)}function c2(){function a3(c3,d3){return b3.push(c3+" ")>w2.cacheLength&&delete a3[b3.shift()],a3[c3+" "]=d3}var b3=[];return a3}function d2(a3){return a3[N2]=!0,a3}function e2(a3){var b3=G2.createElement("div");try{return!!a3(b3)}catch{return!1}finally{b3.parentNode&&b3.parentNode.removeChild(b3),b3=null}}function f2(a3,b3){for(var c3=a3.split("|"),d3=a3.length;d3--;)w2.attrHandle[c3[d3]]=b3}function g2(a3,b3){var c3=b3&&a3,d3=c3&&a3.nodeType===1&&b3.nodeType===1&&(~b3.sourceIndex||W2)-(~a3.sourceIndex||W2);if(d3)return d3;if(c3){for(;c3=c3.nextSibling;)if(c3===b3)return-1}return a3?1:-1}function h2(a3){return function(b3){var c3=b3.nodeName.toLowerCase();return c3==="input"&&b3.type===a3}}function i2(a3){return function(b3){var c3=b3.nodeName.toLowerCase();return(c3==="input"||c3==="button")&&b3.type===a3}}function j2(a3){return d2(function(b3){return b3=+b3,d2(function(c3,d3){for(var e3,f3=a3([],c3.length,b3),g3=f3.length;g3--;)c3[e3=f3[g3]]&&(c3[e3]=!(d3[e3]=c3[e3]))})})}function k2(a3){return a3&&typeof a3.getElementsByTagName!==V2&&a3}function l2(){}function m2(a3){for(var b3=0,c3=a3.length,d3="";c3>b3;b3++)d3+=a3[b3].value;return d3}function n2(a3,b3,c3){var d3=b3.dir,e3=c3&&d3==="parentNode",f3=Q2++;return b3.first?function(b4,c4,f4){for(;b4=b4[d3];)if(b4.nodeType===1||e3)return a3(b4,c4,f4)}:function(b4,c4,g3){var h3,i3,j3=[P2,f3];
13if(g3){for(;b4=b4[d3];)if((b4.nodeType===1||e3)&&a3(b4,c4,g3))return!0}else for(;b4=b4[d3];)if(b4.nodeType===1||e3){if(i3=b4[N2]||(b4[N2]={}),(h3=i3[d3])&&h3[0]===P2&&h3[1]===f3)return j3[2]=h3[2];if(i3[d3]=j3,j3[2]=a3(b4,c4,g3))return!0}}}function o2(a3){return a3.length>1?function(b3,c3,d3){for(var e3=a3.length;e3--;)if(!a3[e3](b3,c3,d3))return!1;return!0}:a3[0]}function p2(a3,c3,d3){for(var e3=0,f3=c3.length;f3>e3;e3++)b2(a3,c3[e3],d3);return d3}function q2(a3,b3,c3,d3,e3){for(var f3,g3=[],h3=0,i3=a3.length,j3=b3!=null;i3>h3;h3++)(f3=a3[h3])&&(!c3||c3(f3,d3,e3))&&(g3.push(f3),j3&&b3.push(h3));return g3}function r2(a3,b3,c3,e3,f3,g3){return e3&&!e3[N2]&&(e3=r2(e3)),f3&&!f3[N2]&&(f3=r2(f3,g3)),d2(function(d3,g4,h3,i3){var j3,k3,l3,m3=[],n3=[],o3=g4.length,r3=d3||p2(b3||"*",h3.nodeType?[h3]:h3,[]),s3=!a3||!d3&&b3?r3:q2(r3,m3,a3,h3,i3),t3=c3?f3||(d3?a3:o3||e3)?[]:g4:s3;if(c3&&c3(s3,t3,h3,i3),e3)for(j3=q2(t3,n3),e3(j3,[],h3,i3),k3=j3.length;k3--;)(l3=j3[k3])&&(t3[n3[k3]]=!(s3[n3[k3]]=l3));if(d3){if(f3||a3){if(f3){for(j3=[],k3=t3.length;k3--;)(l3=t3[k3])&&j3.push(s3[k3]=l3);f3(null,t3=[],j3,i3)}for(k3=t3.length;k3--;)(l3=t3[k3])&&(j3=f3?bb2.call(d3,l3):m3[k3])>-1&&(d3[j3]=!(g4[j3]=l3))}}else t3=q2(t3===g4?t3.splice(o3,t3.length):t3),f3?f3(null,g4,t3,i3):_2.apply(g4,t3)})}function s2(a3){for(var b3,c3,d3,e3=a3.length,f3=w2.relative[a3[0].type],g3=f3||w2.relative[" "],h3=f3?1:0,i3=n2(function(a4){return a4===b3},g3,!0),j3=n2(function(a4){return bb2.call(b3,a4)>-1},g3,!0),k3=[function(a4,c4,d4){return!f3&&(d4||c4!==C2)||((b3=c4).nodeType?i3(a4,c4,d4):j3(a4,c4,d4))}];e3>h3;h3++)if(c3=w2.relative[a3[h3].type])k3=[n2(o2(k3),c3)];else{if(c3=w2.filter[a3[h3].type].apply(null,a3[h3].matches),c3[N2]){for(d3=++h3;e3>d3&&!w2.relative[a3[d3].type];d3++);return r2(h3>1&&o2(k3),h3>1&&m2(a3.slice(0,h3-1).concat({value:a3[h3-2].type===" "?"*":""})).replace(ib2,"$1"),c3,d3>h3&&s2(a3.slice(h3,d3)),e3>d3&&s2(a3=a3.slice(d3)),e3>d3&&m2(a3))}k3.push(c3)}return o2(k3)}function t2(a3,c3){var e3=c3.length>0,f3=a3.length>0,g3=function(d3,g4,h3,i3,j3){var k3,l3,m3,n3=0,o3="0",p3=d3&&[],r3=[],s3=C2,t3=d3||f3&&w2.find.TAG("*",j3),u3=P2+=s3==null?1:Math.random()||.1,v3=t3.length;for(j3&&(C2=g4!==G2&&g4);o3!==v3&&(k3=t3[o3])!=null;o3++){if(f3&&k3){for(l3=0;m3=a3[l3++];)if(m3(k3,g4,h3)){i3.push(k3);break}j3&&(P2=u3)}e3&&((k3=!m3&&k3)&&n3--,d3&&p3.push(k3))}if(n3+=o3,e3&&o3!==n3){for(l3=0;m3=c3[l3++];)m3(p3,r3,g4,h3);if(d3){if(n3>0)for(;o3--;)p3[o3]||r3[o3]||(r3[o3]=Z2.call(i3));r3=q2(r3)}_2.apply(i3,r3),j3&&!d3&&r3.length>0&&n3+c3.length>1&&b2.uniqueSort(i3)}return j3&&(P2=u3,C2=s3),p3};return e3?d2(g3):g3}var u2,v2,w2,x2,y2,z2,A2,B2,C2,D2,E2,F2,G2,H2,I2,J2,K2,L2,M2,N2="sizzle"+-new Date,O2=a2.document,P2=0,Q2=0,R2=c2(),S2=c2(),T2=c2(),U2=function(a3,b3){return a3===b3&&(E2=!0),0},V2="undefined",W2=1<<31,X2={}.hasOwnProperty,Y2=[],Z2=Y2.pop,$3=Y2.push,_2=Y2.push,ab2=Y2.slice,bb2=Y2.indexOf||function(a3){for(var b3=0,c3=this.length;c3>b3;b3++)if(this[b3]===a3)return b3;return-1},cb2="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",db2="[\\x20\\t\\r\\n\\f]",eb2="(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+",fb2=eb2.replace("w","w#"),gb2="\\["+db2+"*("+eb2+")(?:"+db2+"*([*^$|!~]?=)"+db2+`*(?:'((?:\\\\.|[^\\\\'])*)'|"((?:\\\\.|[^\\\\"])*)"|(`+fb2+"))|)"+db2+"*\\]",hb2=":("+eb2+`)(?:\\((('((?:\\\\.|[^\\\\'])*)'|"((?:\\\\.|[^\\\\"])*)")|((?:\\\\.|[^\\\\()[\\]]|`+gb2+")*)|.*)\\)|)",ib2=new RegExp("^"+db2+"+|((?:^|[^\\\\])(?:\\\\.)*)"+db2+"+$","g"),jb2=new RegExp("^"+db2+"*,"+db2+"*"),kb2=new RegExp("^"+db2+"*([>+~]|"+db2+")"+db2+"*"),lb2=new RegExp("="+db2+`*([^\\]'"]*?)`+db2+"*\\]","g"),mb2=new RegExp(hb2),nb2=new RegExp("^"+fb2+"$"),ob2={ID:new RegExp("^#("+eb2+")"),CLASS:new RegExp("^\\.("+eb2+")"),TAG:new RegExp("^("+eb2.replace("w","w*")+")"),ATTR:new RegExp("^"+gb2),PSEUDO:new RegExp("^"+hb2),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+db2+"*(even|odd|(([+-]|)(\\d*)n|)"+db2+"*(?:([+-]|)"+db2+"*(\\d+)|))"+db2+"*\\)|)","i"),bool:new RegExp("^(?:"+cb2+")$","i"),needsContext:new RegExp("^"+db2+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+db2+"*((?:-\\d)?\\d*)"+db2+"*\\)|)(?=[^-]|$)","i")},pb2=/^(?:input|select|textarea|button)$/i,qb2=/^h\d$/i,rb2=/^[^{]+\{\s*\[native \w/,sb2=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,tb2=/[+~]/,ub2=/'|\\/g,vb2=new RegExp("\\\\([\\da-f]{1,6}"+db2+"?|("+db2+")|.)","ig"),wb2=function(a3,b3,c3){var d3="0x"+b3-65536;return d3!==d3||c3?b3:0>d3?String.fromCharCode(d3+65536):String.fromCharCode(d3>>10|55296,1023&d3|56320)};try{_2.apply(Y2=ab2.call(O2.childNodes),O2.childNodes),Y2[O2.childNodes.length].nodeType}catch{_2={apply:Y2.length?function(a3,b3){$3.apply(a3,ab2.call(b3))}:function(a3,b3){for(var c3=a3.length,d3=0;a3[c3++]=b3[d3++];);a3.length=c3-1}}}v2=b2.support={},y2=b2.isXML=function(a3){var b3=a3&&(a3.ownerDocument||a3).documentElement;return b3?b3.nodeName!=="HTML":!1},F2=b2.setDocument=function(a3){var b3,c3=a3?a3.ownerDocument||a3:O2,d3=c3.defaultView;return c3!==G2&&c3.nodeType===9&&c3.documentElement?(G2=c3,H2=c3.documentElement,I2=!y2(c3),d3&&d3!==d3.top&&(d3.addEventListener?d3.addEventListener("unload",function(){F2()},!1):d3.attachEvent&&d3.attachEvent("onunload",function(){F2()})),v2.attributes=e2(function(a4){return a4.className="i",!a4.getAttribute("className")}),v2.getElementsByTagName=e2(function(a4){return a4.appendChild(c3.createComment("")),!a4.getElementsByTagName("*").length}),v2.getElementsByClassName=rb2.test(c3.getElementsByClassName)&&e2(function(a4){return a4.innerHTML="<div class='a'></div><div class='a i'></div>",a4.firstChild.className="i",a4.getElementsByClassName("i").length===2}),v2.getById=e2(function(a4){return H2.appendChild(a4).id=N2,!c3.getElementsByName||!c3.getElementsByName(N2).length}),v2.getById?(w2.find.ID=function(a4,b4){if(typeof b4.getElementById!==V2&&I2){var c4=b4.getElementById(a4);return c4&&c4.parentNode?[c4]:[]}},w2.filter.ID=function(a4){var b4=a4.replace(vb2,wb2);return function(a5){return a5.getAttribute("id")===b4}}):(delete w2.find.ID,w2.filter.ID=function(a4){var b4=a4.replace(vb2,wb2);return function(a5){var c4=typeof a5.getAttributeNode!==V2&&a5.getAttributeNode("id");return c4&&c4.value===b4}}),w2.find.TAG=v2.getElementsByTagName?function(a4,b4){return typeof b4.getElementsByTagName!==V2?b4.getElementsByTagName(a4):void 0}:function(a4,b4){var c4,d4=[],e3=0,f3=b4.getElementsByTagName(a4);
13if(a4==="*"){for(;c4=f3[e3++];)c4.nodeType===1&&d4.push(c4);return d4}return f3},w2.find.CLASS=v2.getElementsByClassName&&function(a4,b4){return typeof b4.getElementsByClassName!==V2&&I2?b4.getElementsByClassName(a4):void 0},K2=[],J2=[],(v2.qsa=rb2.test(c3.querySelectorAll))&&(e2(function(a4){a4.innerHTML="<select msallowclip=''><option selected=''></option></select>",a4.querySelectorAll("[msallowclip^='']").length&&J2.push("[*^$]="+db2+`*(?:''|"")`),a4.querySelectorAll("[selected]").length||J2.push("\\["+db2+"*(?:value|"+cb2+")"),a4.querySelectorAll(":checked").length||J2.push(":checked")}),e2(function(a4){var b4=c3.createElement("input");b4.setAttribute("type","hidden"),a4.appendChild(b4).setAttribute("name","D"),a4.querySelectorAll("[name=d]").length&&J2.push("name"+db2+"*[*^$|!~]?="),a4.querySelectorAll(":enabled").length||J2.push(":enabled",":disabled"),a4.querySelectorAll("*,:x"),J2.push(",.*:")})),(v2.matchesSelector=rb2.test(L2=H2.matches||H2.webkitMatchesSelector||H2.mozMatchesSelector||H2.oMatchesSelector||H2.msMatchesSelector))&&e2(function(a4){v2.disconnectedMatch=L2.call(a4,"div"),L2.call(a4,"[s!='']:x"),K2.push("!=",hb2)}),J2=J2.length&&new RegExp(J2.join("|")),K2=K2.length&&new RegExp(K2.join("|")),b3=rb2.test(H2.compareDocumentPosition),M2=b3||rb2.test(H2.contains)?function(a4,b4){var c4=a4.nodeType===9?a4.documentElement:a4,d4=b4&&b4.parentNode;return a4===d4||!(!d4||d4.nodeType!==1||!(c4.contains?c4.contains(d4):a4.compareDocumentPosition&&16&a4.compareDocumentPosition(d4)))}:function(a4,b4){if(b4){for(;b4=b4.parentNode;)if(b4===a4)return!0}return!1},U2=b3?function(a4,b4){if(a4===b4)return E2=!0,0;var d4=!a4.compareDocumentPosition-!b4.compareDocumentPosition;return d4||(d4=(a4.ownerDocument||a4)===(b4.ownerDocument||b4)?a4.compareDocumentPosition(b4):1,1&d4||!v2.sortDetached&&b4.compareDocumentPosition(a4)===d4?a4===c3||a4.ownerDocument===O2&&M2(O2,a4)?-1:b4===c3||b4.ownerDocument===O2&&M2(O2,b4)?1:D2?bb2.call(D2,a4)-bb2.call(D2,b4):0:4&d4?-1:1)}:function(a4,b4){if(a4===b4)return E2=!0,0;var d4,e3=0,f3=a4.parentNode,h3=b4.parentNode,i3=[a4],j3=[b4];if(!f3||!h3)return a4===c3?-1:b4===c3?1:f3?-1:h3?1:D2?bb2.call(D2,a4)-bb2.call(D2,b4):0;if(f3===h3)return g2(a4,b4);for(d4=a4;d4=d4.parentNode;)i3.unshift(d4);for(d4=b4;d4=d4.parentNode;)j3.unshift(d4);for(;i3[e3]===j3[e3];)e3++;return e3?g2(i3[e3],j3[e3]):i3[e3]===O2?-1:j3[e3]===O2?1:0},c3):G2},b2.matches=function(a3,c3){return b2(a3,null,null,c3)},b2.matchesSelector=function(a3,c3){if((a3.ownerDocument||a3)!==G2&&F2(a3),c3=c3.replace(lb2,"='$1']"),!(!v2.matchesSelector||!I2||K2&&K2.test(c3)||J2&&J2.test(c3)))try{var d3=L2.call(a3,c3);if(d3||v2.disconnectedMatch||a3.document&&a3.document.nodeType!==11)return d3}catch{}return b2(c3,G2,null,[a3]).length>0},b2.contains=function(a3,b3){return(a3.ownerDocument||a3)!==G2&&F2(a3),M2(a3,b3)},b2.attr=function(a3,b3){(a3.ownerDocument||a3)!==G2&&F2(a3);var c3=w2.attrHandle[b3.toLowerCase()],d3=c3&&X2.call(w2.attrHandle,b3.toLowerCase())?c3(a3,b3,!I2):void 0;return d3!==void 0?d3:v2.attributes||!I2?a3.getAttribute(b3):(d3=a3.getAttributeNode(b3))&&d3.specified?d3.value:null},b2.error=function(a3){throw new Error("Syntax error, unrecognized expression: "+a3)},b2.uniqueSort=function(a3){var b3,c3=[],d3=0,e3=0;if(E2=!v2.detectDuplicates,D2=!v2.sortStable&&a3.slice(0),a3.sort(U2),E2){for(;b3=a3[e3++];)b3===a3[e3]&&(d3=c3.push(e3));for(;d3--;)a3.splice(c3[d3],1)}return D2=null,a3},x2=b2.getText=function(a3){var b3,c3="",d3=0,e3=a3.nodeType;if(e3){if(e3===1||e3===9||e3===11){if(typeof a3.textContent=="string")return a3.textContent;for(a3=a3.firstChild;a3;a3=a3.nextSibling)c3+=x2(a3)}else if(e3===3||e3===4)return a3.nodeValue}else for(;b3=a3[d3++];)c3+=x2(b3);return c3},w2=b2.selectors={cacheLength:50,createPseudo:d2,match:ob2,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(a3){return a3[1]=a3[1].replace(vb2,wb2),a3[3]=(a3[3]||a3[4]||a3[5]||"").replace(vb2,wb2),a3[2]==="~="&&(a3[3]=" "+a3[3]+" "),a3.slice(0,4)},CHILD:function(a3){return a3[1]=a3[1].toLowerCase(),a3[1].slice(0,3)==="nth"?(a3[3]||b2.error(a3[0]),a3[4]=+(a3[4]?a3[5]+(a3[6]||1):2*(a3[3]==="even"||a3[3]==="odd")),a3[5]=+(a3[7]+a3[8]||a3[3]==="odd")):a3[3]&&b2.error(a3[0]),a3},PSEUDO:function(a3){var b3,c3=!a3[6]&&a3[2];
vendor: 4,294 bytes, line 13
13return ob2.CHILD.test(a3[0])?null:(a3[3]?a3[2]=a3[4]||a3[5]||"":c3&&mb2.test(c3)&&(b3=z2(c3,!0))&&(b3=c3.indexOf(")",c3.length-b3)-c3.length)&&(a3[0]=a3[0].slice(0,b3),a3[2]=c3.slice(0,b3)),a3.slice(0,3))}},filter:{TAG:function(a3){var b3=a3.replace(vb2,wb2).toLowerCase();return a3==="*"?function(){return!0}:function(a4){return a4.nodeName&&a4.nodeName.toLowerCase()===b3}},CLASS:function(a3){var b3=R2[a3+" "];return b3||(b3=new RegExp("(^|"+db2+")"+a3+"("+db2+"|$)"))&&R2(a3,function(a4){return b3.test(typeof a4.className=="string"&&a4.className||typeof a4.getAttribute!==V2&&a4.getAttribute("class")||"")})},ATTR:function(a3,c3,d3){return function(e3){var f3=b2.attr(e3,a3);return f3==null?c3==="!=":c3?(f3+="",c3==="="?f3===d3:c3==="!="?f3!==d3:c3==="^="?d3&&f3.indexOf(d3)===0:c3==="*="?d3&&f3.indexOf(d3)>-1:c3==="$="?d3&&f3.slice(-d3.length)===d3:c3==="~="?(" "+f3+" ").indexOf(d3)>-1:c3==="|="?f3===d3||f3.slice(0,d3.length+1)===d3+"-":!1):!0}},CHILD:function(a3,b3,c3,d3,e3){var f3=a3.slice(0,3)!=="nth",g3=a3.slice(-4)!=="last",h3=b3==="of-type";return d3===1&&e3===0?function(a4){return!!a4.parentNode}:function(b4,c4,i3){var j3,k3,l3,m3,n3,o3,p3=f3!==g3?"nextSibling":"previousSibling",q3=b4.parentNode,r3=h3&&b4.nodeName.toLowerCase(),s3=!i3&&!h3;if(q3){if(f3){for(;p3;){for(l3=b4;l3=l3[p3];)if(h3?l3.nodeName.toLowerCase()===r3:l3.nodeType===1)return!1;o3=p3=a3==="only"&&!o3&&"nextSibling"}return!0}if(o3=[g3?q3.firstChild:q3.lastChild],g3&&s3){for(k3=q3[N2]||(q3[N2]={}),j3=k3[a3]||[],n3=j3[0]===P2&&j3[1],m3=j3[0]===P2&&j3[2],l3=n3&&q3.childNodes[n3];l3=++n3&&l3&&l3[p3]||(m3=n3=0)||o3.pop();)if(l3.nodeType===1&&++m3&&l3===b4){k3[a3]=[P2,n3,m3];break}}else if(s3&&(j3=(b4[N2]||(b4[N2]={}))[a3])&&j3[0]===P2)m3=j3[1];else for(;(l3=++n3&&l3&&l3[p3]||(m3=n3=0)||o3.pop())&&((h3?l3.nodeName.toLowerCase()!==r3:l3.nodeType!==1)||!++m3||(s3&&((l3[N2]||(l3[N2]={}))[a3]=[P2,m3]),l3!==b4)););return m3-=e3,m3===d3||m3%d3===0&&m3/d3>=0}}},PSEUDO:function(a3,c3){var e3,f3=w2.pseudos[a3]||w2.setFilters[a3.toLowerCase()]||b2.error("unsupported pseudo: "+a3);return f3[N2]?f3(c3):f3.length>1?(e3=[a3,a3,"",c3],w2.setFilters.hasOwnProperty(a3.toLowerCase())?d2(function(a4,b3){for(var d3,e4=f3(a4,c3),g3=e4.length;g3--;)d3=bb2.call(a4,e4[g3]),a4[d3]=!(b3[d3]=e4[g3])}):function(a4){return f3(a4,0,e3)}):f3}},pseudos:{not:d2(function(a3){var b3=[],c3=[],e3=A2(a3.replace(ib2,"$1"));return e3[N2]?d2(function(a4,b4,c4,d3){for(var f3,g3=e3(a4,null,d3,[]),h3=a4.length;h3--;)(f3=g3[h3])&&(a4[h3]=!(b4[h3]=f3))}):function(a4,d3,f3){return b3[0]=a4,e3(b3,null,f3,c3),!c3.pop()}}),has:d2(function(a3){return function(c3){return b2(a3,c3).length>0}}),contains:d2(function(a3){return function(b3){return(b3.textContent||b3.innerText||x2(b3)).indexOf(a3)>-1}}),lang:d2(function(a3){return nb2.test(a3||"")||b2.error("unsupported lang: "+a3),a3=a3.replace(vb2,wb2).toLowerCase(),function(b3){var c3;do if(c3=I2?b3.lang:b3.getAttribute("xml:lang")||b3.getAttribute("lang"))return c3=c3.toLowerCase(),c3===a3||c3.indexOf(a3+"-")===0;while((b3=b3.parentNode)&&b3.nodeType===1);return!1}}),target:function(b3){var c3=a2.location&&a2.location.hash;return c3&&c3.slice(1)===b3.id},root:function(a3){return a3===H2},focus:function(a3){return a3===G2.activeElement&&(!G2.hasFocus||G2.hasFocus())&&!!(a3.type||a3.href||~a3.tabIndex)},enabled:function(a3){return a3.disabled===!1},disabled:function(a3){return a3.disabled===!0},checked:function(a3){var b3=a3.nodeName.toLowerCase();return b3==="input"&&!!a3.checked||b3==="option"&&!!a3.selected},selected:function(a3){return a3.parentNode&&a3.parentNode.selectedIndex,a3.selected===!0},empty:function(a3){for(a3=a3.firstChild;a3;a3=a3.nextSibling)if(a3.nodeType<6)return!1;return!0},parent:function(a3){return!w2.pseudos.empty(a3)},header:function(a3){return qb2.test(a3.nodeName)},input:function(a3){return pb2.test(a3.nodeName)},button:function(a3){var b3=a3.nodeName.toLowerCase();return b3==="input"&&a3.type==="button"||b3==="button"},text:function(a3){var b3;return a3.nodeName.toLowerCase()==="input"&&a3.type==="text"&&((b3=a3.getAttribute("type"))==null||b3.toLowerCase()==="text")},first:j2(function(){return[0]}),last:j2(function(a3,b3){return[b3-1]}),eq:j2(function(a3,b3,c3){return[0>c3?c3+b3:c3]}),even:j2(function(a3,b3){for(var c3=0;b3>c3;
13c3+=2)a3.push(c3);return a3}),odd:j2(function(a3,b3){for(var c3=1;b3>c3;c3+=2)a3.push(c3);return a3}),lt:j2(function(a3,b3,c3){for(var d3=0>c3?c3+b3:c3;--d3>=0;)a3.push(d3);return a3}),gt:j2(function(a3,b3,c3){for(var d3=0>c3?c3+b3:c3;++d3<b3;)a3.push(d3);return a3})}},w2.pseudos.nth=w2.pseudos.eq;for(u2 in{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})w2.pseudos[u2]=h2(u2);for(u2 in{submit:!0,reset:!0})w2.pseudos[u2]=i2(u2);return l2.prototype=w2.filters=w2.pseudos,w2.setFilters=new l2,z2=b2.tokenize=function(a3,c3){var d3,e3,f3,g3,h3,i3,j3,k3=S2[a3+" "];if(k3)return c3?0:k3.slice(0);for(h3=a3,i3=[],j3=w2.preFilter;h3;){(!d3||(e3=jb2.exec(h3)))&&(e3&&(h3=h3.slice(e3[0].length)||h3),i3.push(f3=[])),d3=!1,(e3=kb2.exec(h3))&&(d3=e3.shift(),f3.push({value:d3,type:e3[0].replace(ib2," ")}),h3=h3.slice(d3.length));for(g3 in w2.filter)!(e3=ob2[g3].exec(h3))||j3[g3]&&!(e3=j3[g3](e3))||(d3=e3.shift(),f3.push({value:d3,type:g3,matches:e3}),h3=h3.slice(d3.length));if(!d3)break}return c3?h3.length:h3?b2.error(a3):S2(a3,i3).slice(0)},A2=b2.compile=function(a3,b3){var c3,d3=[],e3=[],f3=T2[a3+" "];if(!f3){for(b3||(b3=z2(a3)),c3=b3.length;c3--;)f3=s2(b3[c3]),f3[N2]?d3.push(f3):e3.push(f3);f3=T2(a3,t2(e3,d3)),f3.selector=a3}return f3},B2=b2.select=function(a3,b3,c3,d3){var e3,f3,g3,h3,i3,j3=typeof a3=="function"&&a3,l3=!d3&&z2(a3=j3.selector||a3);if(c3=c3||[],l3.length===1){if(f3=l3[0]=l3[0].slice(0),f3.length>2&&(g3=f3[0]).type==="ID"&&v2.getById&&b3.nodeType===9&&I2&&w2.relative[f3[1].type]){if(b3=(w2.find.ID(g3.matches[0].replace(vb2,wb2),b3)||[])[0],!b3)return c3;j3&&(b3=b3.parentNode),a3=a3.slice(f3.shift().value.length)}for(e3=ob2.needsContext.test(a3)?0:f3.length;e3--&&(g3=f3[e3],!w2.relative[h3=g3.type]);)if((i3=w2.find[h3])&&(d3=i3(g3.matches[0].replace(vb2,wb2),tb2.test(f3[0].type)&&k2(b3.parentNode)||b3))){if(f3.splice(e3,1),a3=d3.length&&m2(f3),!a3)return _2.apply(c3,d3),c3;break}}return(j3||A2(a3,l3))(d3,b3,!I2,c3,tb2.test(a3)&&k2(b3.parentNode)||b3),c3},v2.sortStable=N2.split("").sort(U2).join("")===N2,v2.detectDuplicates=!!E2,F2(),v2.sortDetached=e2(function(a3){return 1&a3.compareDocumentPosition(G2.createElement("div"))}),e2(function(a3){return a3.innerHTML="<a href='#'></a>",a3.firstChild.getAttribute("href")==="#"})||f2("type|href|height|width",function(a3,b3,c3){return c3?void 0:a3.getAttribute(b3,b3.toLowerCase()==="type"?1:2)}),v2.attributes&&e2(function(a3){return a3.innerHTML="<input/>",a3.firstChild.setAttribute("value",""),a3.firstChild.getAttribute("value")===""})||f2("value",function(a3,b3,c3){return c3||a3.nodeName.toLowerCase()!=="input"?void 0:a3.defaultValue}),e2(function(a3){return a3.getAttribute("disabled")==null})||f2(cb2,function(a3,b3,c3){var d3;return c3?void 0:a3[b3]===!0?b3.toLowerCase():(d3=a3.getAttributeNode(b3))&&d3.specified?d3.value:null}),b2})(a);_.find=eb,_.expr=eb.selectors,_.expr[":"]=_.expr.pseudos,_.unique=eb.uniqueSort,_.text=eb.getText,_.isXMLDoc=eb.isXML,_.contains=eb.contains;var fb=_.expr.match.needsContext,gb=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,hb=/^.[^:#\[\.,]*$/;_.filter=function(a2,b2,c2){var d2=b2[0];return c2&&(a2=":not("+a2+")"),b2.length===1&&d2.nodeType===1?_.find.matchesSelector(d2,a2)?[d2]:[]:_.find.matches(a2,_.grep(b2,function(a3){return a3.nodeType===1}))},_.fn.extend({find:function(a2){var b2,c2=this.length,d2=[],e2=this;if(typeof a2!="string")return this.pushStack(_(a2).filter(function(){for(b2=0;c2>b2;b2++)if(_.contains(e2[b2],this))return!0}));for(b2=0;c2>b2;b2++)_.find(a2,e2[b2],d2);return d2=this.pushStack(c2>1?_.unique(d2):d2),d2.selector=this.selector?this.selector+" "+a2:a2,d2},filter:function(a2){return this.pushStack(d(this,a2||[],!1))},not:function(a2){return this.pushStack(d(this,a2||[],!0))},is:function(a2){return!!d(this,typeof a2=="string"&&fb.test(a2)?_(a2):a2||[],!1).length}});var ib,jb=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/,kb=_.fn.init=function(a2,b2){var c2,d2;if(!a2)return this;if(typeof a2=="string"){if(c2=a2[0]==="<"&&a2[a2.length-1]===">"&&a2.length>=3?[null,a2,null]:jb.exec(a2),!c2||!c2[1]&&b2)return!b2||b2.jquery?(b2||ib).find(a2):this.constructor(b2).find(a2);if(c2[1]){if(b2=b2 instanceof _?b2[0]:b2,_.merge(this,_.parseHTML(c2[1],b2&&b2.nodeType?b2.ownerDocument||b2:Z,!0)),gb.test(c2[1])&&_.isPlainObject(b2))for(c2 in b2)_.isFunction(this[c2])?this[c2](b2[c2]):this.attr(c2,b2[c2]);return this}return d2=Z.getElementById(c2[2]),d2&&d2.parentNode&&(this.length=1,this[0]=d2),this.context=Z,this.selector=a2,this}return a2.nodeType?(this.context=this[0]=a2,this.length=1,this):_.isFunction(a2)?typeof ib.ready<"u"?ib.ready(a2):a2(_):(a2.selector!==void 0&&(this.selector=a2.selector,this.context=a2.context),_.makeArray(a2,this))};kb.prototype=_.fn,ib=_(Z);var lb=/^(?:parents|prev(?:Until|All))/,mb={children:!0,contents:!0,next:!0,prev:!0};_.extend({dir:function(a2,b2,c2){for(var d2=[],e2=c2!==void 0;(a2=a2[b2])&&a2.nodeType!==9;)if(a2.nodeType===1){if(e2&&_(a2).is(c2))break;d2.push(a2)}return d2},sibling:function(a2,b2){for(var c2=[];a2;a2=a2.nextSibling)a2.nodeType===1&&a2!==b2&&c2.push(a2);return c2}}),_.fn.extend({has:function(a2){var b2=_(a2,this),c2=b2.length;return this.filter(function(){for(var a3=0;c2>a3;a3++)if(_.contains(this,b2[a3]))return!0})},closest:function(a2,b2){for(var c2,d2=0,e2=this.length,f2=[],g2=fb.test(a2)||typeof a2!="string"?_(a2,b2||this.context):0;e2>d2;d2++)for(c2=this[d2];c2&&c2!==b2;c2=c2.parentNode)if(c2.nodeType<11&&(g2?g2.index(c2)>-1:c2.nodeType===1&&_.find.matchesSelector(c2,a2))){f2.push(c2);break}return this.pushStack(f2.length>1?_.unique(f2):f2)},index:function(a2){return a2?typeof a2=="string"?U.call(_(a2),this[0]):U.call(this,a2.jquery?a2[0]:a2):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(a2,b2){return this.pushStack(_.unique(_.merge(this.get(),_(a2,b2))))},addBack:function(a2){return this.add(a2==null?this.prevObject:this.prevObject.filter(a2))}}),_.each({parent:function(a2){var b2=a2.parentNode;return b2&&b2.nodeType!==11?b2:null},parents:function(a2){return _.dir(a2,"parentNode")},parentsUntil:function(a2,b2,c2){return _.dir(a2,"parentNode",c2)},next:function(a2){return e(a2,"nextSibling")},prev:function(a2){return e(a2,"previousSibling")},nextAll:function(a2){return _.dir(a2,"nextSibling")},prevAll:function(a2){return _.dir(a2,"previousSibling")},nextUntil:function(a2,b2,c2){return _.dir(a2,"nextSibling",c2)},prevUntil:function(a2,b2,c2){return _.dir(a2,"previousSibling",c2)},siblings:function(a2){return _.sibling((a2.parentNode||{}).firstChild,a2)},children:function(a2){return _.sibling(a2.firstChild)},contents:function(a2){return a2.contentDocument||_.merge([],a2.childNodes)}},function(a2,b2){_.fn[a2]=function(c2,d2){var e2=_.map(this,b2,c2);return a2.slice(-5)!=="Until"&&(d2=c2),d2&&typeof d2=="string"&&(e2=_.filter(d2,e2)),this.length>1&&(mb[a2]||_.unique(e2),lb.test(a2)&&e2.reverse()),this.pushStack(e2)}});var nb=/\S+/g,ob={};_.Callbacks=function(a2){a2=typeof a2=="string"?ob[a2]||f(a2):_.extend({},a2);var b2,c2,d2,e2,g2,h2,i2=[],j2=!a2.once&&[],k2=function(f2){for(b2=a2.memory&&f2,c2=!0,h2=e2||0,e2=0,g2=i2.length,d2=!0;i2&&g2>h2;h2++)if(i2[h2].apply(f2[0],f2[1])===!1&&a2.stopOnFalse){b2=!1;break}d2=!1,i2&&(j2?j2.length&&k2(j2.shift()):b2?i2=[]:l2.disable())},l2={add:function(){if(i2){var c3=i2.length;(function f2(b3){_.each(b3,function(b4,c4){var d3=_.type(c4);d3==="function"?a2.unique&&l2.has(c4)||i2.push(c4):c4&&c4.length&&d3!=="string"&&f2(c4)})})(arguments),d2?g2=i2.length:b2&&(e2=c3,k2(b2))}return this},remove:function(){return i2&&_.each(arguments,function(a3,b3){for(var c3;(c3=_.inArray(b3,i2,c3))>-1;)i2.splice(c3,1),d2&&(g2>=c3&&g2--,h2>=c3&&h2--)}),this},has:function(a3){return a3?_.inArray(a3,i2)>-1:!(!i2||!i2.length)},empty:function(){return i2=[],g2=0,this},disable:function(){return i2=j2=b2=void 0,this},disabled:function(){return!i2},lock:function(){return j2=void 0,b2||l2.disable(),this},locked:function(){return!j2},fireWith:function(a3,b3){return!i2||c2&&!j2||(b3=b3||[],b3=[a3,b3.slice?b3.slice():b3],d2?j2.push(b3):k2(b3)),this},fire:function(){return l2.fireWith(this,arguments),this},fired:function(){return!!c2}};return l2},_.extend({Deferred:function(a2){var b2=[["resolve","done",_.Callbacks("once memory"),"resolved"],["reject","fail",_.Callbacks("once memory"),"rejected"],["notify","progress",_.Callbacks("memory")]],c2="pending",d2={state:function(){return c2},always:function(){return e2.done(arguments).fail(arguments),this},then:function(){var a3=arguments;return _.Deferred(function(c3){_.each(b2,function(b3,f2){var g2=_.isFunction(a3[b3])&&a3[b3];e2[f2[1]](function(){var a4=g2&&g2.apply(this,arguments);
13a4&&_.isFunction(a4.promise)?a4.promise().done(c3.resolve).fail(c3.reject).progress(c3.notify):c3[f2[0]+"With"](this===d2?c3.promise():this,g2?[a4]:arguments)})}),a3=null}).promise()},promise:function(a3){return a3!=null?_.extend(a3,d2):d2}},e2={};return d2.pipe=d2.then,_.each(b2,function(a3,f2){var g2=f2[2],h2=f2[3];d2[f2[1]]=g2.add,h2&&g2.add(function(){c2=h2},b2[1^a3][2].disable,b2[2][2].lock),e2[f2[0]]=function(){return e2[f2[0]+"With"](this===e2?d2:this,arguments),this},e2[f2[0]+"With"]=g2.fireWith}),d2.promise(e2),a2&&a2.call(e2,e2),e2},when:function(a2){var b2,c2,d2,e2=0,f2=R.call(arguments),g2=f2.length,h2=g2!==1||a2&&_.isFunction(a2.promise)?g2:0,i2=h2===1?a2:_.Deferred(),j2=function(a3,c3,d3){return function(e3){c3[a3]=this,d3[a3]=arguments.length>1?R.call(arguments):e3,d3===b2?i2.notifyWith(c3,d3):--h2||i2.resolveWith(c3,d3)}};if(g2>1)for(b2=new Array(g2),c2=new Array(g2),d2=new Array(g2);g2>e2;e2++)f2[e2]&&_.isFunction(f2[e2].promise)?f2[e2].promise().done(j2(e2,d2,f2)).fail(i2.reject).progress(j2(e2,c2,b2)):--h2;return h2||i2.resolveWith(d2,f2),i2.promise()}});var pb;_.fn.ready=function(a2){return _.ready.promise().done(a2),this},_.extend({isReady:!1,readyWait:1,holdReady:function(a2){a2?_.readyWait++:_.ready(!0)},ready:function(a2){(a2===!0?--_.readyWait:_.isReady)||(_.isReady=!0,a2!==!0&&--_.readyWait>0||(pb.resolveWith(Z,[_]),_.fn.triggerHandler&&(_(Z).triggerHandler("ready"),_(Z).off("ready"))))}}),_.ready.promise=function(b2){return pb||(pb=_.Deferred(),Z.readyState==="complete"?setTimeout(_.ready):(Z.addEventListener("DOMContentLoaded",g,!1),a.addEventListener("load",g,!1))),pb.promise(b2)},_.ready.promise();var qb=_.access=function(a2,b2,c2,d2,e2,f2,g2){var h2=0,i2=a2.length,j2=c2==null;if(_.type(c2)==="object"){e2=!0;for(h2 in c2)_.access(a2,b2,h2,c2[h2],!0,f2,g2)}else if(d2!==void 0&&(e2=!0,_.isFunction(d2)||(g2=!0),j2&&(g2?(b2.call(a2,d2),b2=null):(j2=b2,b2=function(a3,b3,c3){return j2.call(_(a3),c3)})),b2))for(;i2>h2;h2++)b2(a2[h2],c2,g2?d2:d2.call(a2[h2],h2,b2(a2[h2],c2)));return e2?a2:j2?b2.call(a2):i2?b2(a2[0],c2):f2};_.acceptData=function(a2){return a2.nodeType===1||a2.nodeType===9||!+a2.nodeType},h.uid=1,h.accepts=_.acceptData,h.prototype={key:function(a2){if(!h.accepts(a2))return 0;var b2={},c2=a2[this.expando];if(!c2){c2=h.uid++;try{b2[this.expando]={value:c2},Object.defineProperties(a2,b2)}catch{b2[this.expando]=c2,_.extend(a2,b2)}}return this.cache[c2]||(this.cache[c2]={}),c2},set:function(a2,b2,c2){var d2,e2=this.key(a2),f2=this.cache[e2];if(typeof b2=="string")f2[b2]=c2;else if(_.isEmptyObject(f2))_.extend(this.cache[e2],b2);else for(d2 in b2)f2[d2]=b2[d2];return f2},get:function(a2,b2){var c2=this.cache[this.key(a2)];return b2===void 0?c2:c2[b2]},access:function(a2,b2,c2){var d2;return b2===void 0||b2&&typeof b2=="string"&&c2===void 0?(d2=this.get(a2,b2),d2!==void 0?d2:this.get(a2,_.camelCase(b2))):(this.set(a2,b2,c2),c2!==void 0?c2:b2)},remove:function(a2,b2){var c2,d2,e2,f2=this.key(a2),g2=this.cache[f2];if(b2===void 0)this.cache[f2]={};else for(_.isArray(b2)?d2=b2.concat(b2.map(_.camelCase)):(e2=_.camelCase(b2),b2 in g2?d2=[b2,e2]:(d2=e2,d2=d2 in g2?[d2]:d2.match(nb)||[])),c2=d2.length;c2--;)delete g2[d2[c2]]},hasData:function(a2){return!_.isEmptyObject(this.cache[a2[this.expando]]||{})},discard:function(a2){a2[this.expando]&&delete this.cache[a2[this.expando]]}};var rb=new h,sb=new h,tb=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,ub=/([A-Z])/g;_.extend({hasData:function(a2){return sb.hasData(a2)||rb.hasData(a2)},data:function(a2,b2,c2){return sb.access(a2,b2,c2)},removeData:function(a2,b2){sb.remove(a2,b2)},_data:function(a2,b2,c2){return rb.access(a2,b2,c2)},_removeData:function(a2,b2){rb.remove(a2,b2)}}),_.fn.extend({data:function(a2,b2){var c2,d2,e2,f2=this[0],g2=f2&&f2.attributes;if(a2===void 0){if(this.length&&(e2=sb.get(f2),f2.nodeType===1&&!rb.get(f2,"hasDataAttrs"))){for(c2=g2.length;c2--;)g2[c2]&&(d2=g2[c2].name,d2.indexOf("data-")===0&&(d2=_.camelCase(d2.slice(5)),i(f2,d2,e2[d2])));rb.set(f2,"hasDataAttrs",!0)}return e2}return typeof a2=="object"?this.each(function(){sb.set(this,a2)}):qb(this,function(b3){var c3,d3=_.camelCase(a2);if(f2&&b3===void 0){if(c3=sb.get(f2,a2),c3!==void 0||(c3=sb.get(f2,d3),c3!==void 0)||(c3=i(f2,d3,void 0),c3!==void 0))return c3}else this.each(function(){var c4=sb.get(this,d3);sb.set(this,d3,b3),a2.indexOf("-")!==-1&&c4!==void 0&&sb.set(this,a2,b3)})},null,b2,arguments.length>1,null,!0)},removeData:function(a2){return this.each(function(){sb.remove(this,a2)})}}),_.extend({queue:function(a2,b2,c2){var d2;return a2?(b2=(b2||"fx")+"queue",d2=rb.get(a2,b2),c2&&(!d2||_.isArray(c2)?d2=rb.access(a2,b2,_.makeArray(c2)):d2.push(c2)),d2||[]):void 0},dequeue:function(a2,b2){b2=b2||"fx";var c2=_.queue(a2,b2),d2=c2.length,e2=c2.shift(),f2=_._queueHooks(a2,b2),g2=function(){_.dequeue(a2,b2)};e2==="inprogress"&&(e2=c2.shift(),d2--),e2&&(b2==="fx"&&c2.unshift("inprogress"),delete f2.stop,e2.call(a2,g2,f2)),!d2&&f2&&f2.empty.fire()},_queueHooks:function(a2,b2){var c2=b2+"queueHooks";return rb.get(a2,c2)||rb.access(a2,c2,{empty:_.Callbacks("once memory").add(function(){rb.remove(a2,[b2+"queue",c2])})})}}),_.fn.extend({queue:function(a2,b2){var c2=2;return typeof a2!="string"&&(b2=a2,a2="fx",c2--),arguments.length<c2?_.queue(this[0],a2):b2===void 0?this:this.each(function(){var c3=_.queue(this,a2,b2);_._queueHooks(this,a2),a2==="fx"&&c3[0]!=="inprogress"&&_.dequeue(this,a2)})},dequeue:function(a2){return this.each(function(){_.dequeue(this,a2)})},clearQueue:function(a2){return this.queue(a2||"fx",[])},promise:function(a2,b2){var c2,d2=1,e2=_.Deferred(),f2=this,g2=this.length,h2=function(){--d2||e2.resolveWith(f2,[f2])};for(typeof a2!="string"&&(b2=a2,a2=void 0),a2=a2||"fx";g2--;)c2=rb.get(f2[g2],a2+"queueHooks"),c2&&c2.empty&&(d2++,c2.empty.add(h2));return h2(),e2.promise(b2)}});var vb=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,wb=["Top","Right","Bottom","Left"],xb=function(a2,b2){return a2=b2||a2,_.css(a2,"display")==="none"||!_.contains(a2.ownerDocument,a2)},yb=/^(?:checkbox|radio)$/i;(function(){var a2=Z.createDocumentFragment(),b2=a2.appendChild(Z.createElement("div")),c2=Z.createElement("input");c2.setAttribute("type","radio"),c2.setAttribute("checked","checked"),c2.setAttribute("name","t"),b2.appendChild(c2),Y.checkClone
vendor: 5,040 bytes, line 13
13=b2.cloneNode(!0).cloneNode(!0).lastChild.checked,b2.innerHTML="<textarea>x</textarea>",Y.noCloneChecked=!!b2.cloneNode(!0).lastChild.defaultValue})();var zb="undefined";Y.focusinBubbles="onfocusin"in a;var Ab=/^key/,Bb=/^(?:mouse|pointer|contextmenu)|click/,Cb=/^(?:focusinfocus|focusoutblur)$/,Db=/^([^.]*)(?:\.(.+)|)$/;_.event={global:{},add:function(a2,b2,c2,d2,e2){var f2,g2,h2,i2,j2,k2,l2,m2,n2,o2,p2,q2=rb.get(a2);if(q2)for(c2.handler&&(f2=c2,c2=f2.handler,e2=f2.selector),c2.guid||(c2.guid=_.guid++),(i2=q2.events)||(i2=q2.events={}),(g2=q2.handle)||(g2=q2.handle=function(b3){return typeof _!==zb&&_.event.triggered!==b3.type?_.event.dispatch.apply(a2,arguments):void 0}),b2=(b2||"").match(nb)||[""],j2=b2.length;j2--;)h2=Db.exec(b2[j2])||[],n2=p2=h2[1],o2=(h2[2]||"").split(".").sort(),n2&&(l2=_.event.special[n2]||{},n2=(e2?l2.delegateType:l2.bindType)||n2,l2=_.event.special[n2]||{},k2=_.extend({type:n2,origType:p2,data:d2,handler:c2,guid:c2.guid,selector:e2,needsContext:e2&&_.expr.match.needsContext.test(e2),namespace:o2.join(".")},f2),(m2=i2[n2])||(m2=i2[n2]=[],m2.delegateCount=0,l2.setup&&l2.setup.call(a2,d2,o2,g2)!==!1||a2.addEventListener&&a2.addEventListener(n2,g2,!1)),l2.add&&(l2.add.call(a2,k2),k2.handler.guid||(k2.handler.guid=c2.guid)),e2?m2.splice(m2.delegateCount++,0,k2):m2.push(k2),_.event.global[n2]=!0)},remove:function(a2,b2,c2,d2,e2){var f2,g2,h2,i2,j2,k2,l2,m2,n2,o2,p2,q2=rb.hasData(a2)&&rb.get(a2);if(q2&&(i2=q2.events)){for(b2=(b2||"").match(nb)||[""],j2=b2.length;j2--;)if(h2=Db.exec(b2[j2])||[],n2=p2=h2[1],o2=(h2[2]||"").split(".").sort(),n2){for(l2=_.event.special[n2]||{},n2=(d2?l2.delegateType:l2.bindType)||n2,m2=i2[n2]||[],h2=h2[2]&&new RegExp("(^|\\.)"+o2.join("\\.(?:.*\\.|)")+"(\\.|$)"),g2=f2=m2.length;f2--;)k2=m2[f2],!e2&&p2!==k2.origType||c2&&c2.guid!==k2.guid||h2&&!h2.test(k2.namespace)||d2&&d2!==k2.selector&&(d2!=="**"||!k2.selector)||(m2.splice(f2,1),k2.selector&&m2.delegateCount--,l2.remove&&l2.remove.call(a2,k2));g2&&!m2.length&&(l2.teardown&&l2.teardown.call(a2,o2,q2.handle)!==!1||_.removeEvent(a2,n2,q2.handle),delete i2[n2])}else for(n2 in i2)_.event.remove(a2,n2+b2[j2],c2,d2,!0);_.isEmptyObject(i2)&&(delete q2.handle,rb.remove(a2,"events"))}},trigger:function(b2,c2,d2,e2){var f2,g2,h2,i2,j2,k2,l2,m2=[d2||Z],n2=X.call(b2,"type")?b2.type:b2,o2=X.call(b2,"namespace")?b2.namespace.split("."):[];if(g2=h2=d2=d2||Z,d2.nodeType!==3&&d2.nodeType!==8&&!Cb.test(n2+_.event.triggered)&&(n2.indexOf(".")>=0&&(o2=n2.split("."),n2=o2.shift(),o2.sort()),j2=n2.indexOf(":")<0&&"on"+n2,b2=b2[_.expando]?b2:new _.Event(n2,typeof b2=="object"&&b2),b2.isTrigger=e2?2:3,b2.namespace=o2.join("."),b2.namespace_re=b2.namespace?new RegExp("(^|\\.)"+o2.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,b2.result=void 0,b2.target||(b2.target=d2),c2=c2==null?[b2]:_.makeArray(c2,[b2]),l2=_.event.special[n2]||{},e2||!l2.trigger||l2.trigger.apply(d2,c2)!==!1)){if(!e2&&!l2.noBubble&&!_.isWindow(d2)){for(i2=l2.delegateType||n2,Cb.test(i2+n2)||(g2=g2.parentNode);g2;g2=g2.parentNode)m2.push(g2),h2=g2;h2===(d2.ownerDocument||Z)&&m2.push(h2.defaultView||h2.parentWindow||a)}for(f2=0;(g2=m2[f2++])&&!b2.isPropagationStopped();)b2.type=f2>1?i2:l2.bindType||n2,k2=(rb.get(g2,"events")||{})[b2.type]&&rb.get(g2,"handle"),k2&&k2.apply(g2,c2),k2=j2&&g2[j2],k2&&k2.apply&&_.acceptData(g2)&&(b2.result=k2.apply(g2,c2),b2.result===!1&&b2.preventDefault());return b2.type=n2,e2||b2.isDefaultPrevented()||l2._default&&l2._default.apply(m2.pop(),c2)!==!1||!_.acceptData(d2)||j2&&_.isFunction(d2[n2])&&!_.isWindow(d2)&&(h2=d2[j2],h2&&(d2[j2]=null),_.event.triggered=n2,d2[n2](),_.event.triggered=void 0,h2&&(d2[j2]=h2)),b2.result}},dispatch:function(a2){a2=_.event.fix(a2);var b2,c2,d2,e2,f2,g2=[],h2=R.call(arguments),i2=(rb.get(this,"events")||{})[a2.type]||[],j2=_.event.special[a2.type]||{};if(h2[0]=a2,a2.delegateTarget=this,!j2.preDispatch||j2.preDispatch.call(this,a2)!==!1){for(g2=_.event.handlers.call(this,a2,i2),b2=0;(e2=g2[b2++])&&!a2.isPropagationStopped();)for(a2.currentTarget=e2.elem,c2=0;(f2=e2.handlers[c2++])&&!a2.isImmediatePropagationStopped();)(!a2.namespace_re||a2.namespace_re.test(f2.namespace))&&(a2.handleObj=f2,a2.data=f2.data,d2=((_.event.special[f2.origType]||{}).handle||f2.handler).apply(e2.elem,h2),d2!==void 0&&(a2.result=d2)===!1&&(a2.preventDefault(),a2.stopPropagation()));return j2.postDispatch&&j2.postDispatch.call(this,a2),a2.result}},handlers:function(a2,b2){var c2,d2,e2,f2,g2=[],h2=b2.delegateCount,i2=a2.target;if(h2&&i2.nodeType&&(!a2.button||a2.type!=="click")){for(;i2!==this;i2=i2.parentNode||this)if(i2.disabled!==!0||a2.type!=="click"){for(d2=[],c2=0;h2>c2;c2++)f2=b2[c2],e2=f2.selector+" ",d2[e2]===void 0&&(d2[e2]=f2.needsContext?_(e2,this).index(i2)>=0:_.find(e2,this,null,[i2]).length),d2[e2]&&d2.push(f2);d2.length&&g2.push({elem:i2,handlers:d2})}}return h2<b2.length&&g2.push({elem:this,handlers:b2.slice(h2)}),g2},props:"altKey bubbles cancelable ctrlKey currentTarget eventPhase metaKey relatedTarget shiftKey target timeStamp view which".split(" "),fixHooks:{}
13,keyHooks:{props:"char charCode key keyCode".split(" "),filter:function(a2,b2){return a2.which==null&&(a2.which=b2.charCode!=null?b2.charCode:b2.keyCode),a2}},mouseHooks:{props:"button buttons clientX clientY offsetX offsetY pageX pageY screenX screenY toElement".split(" "),filter:function(a2,b2){var c2,d2,e2,f2=b2.button;return a2.pageX==null&&b2.clientX!=null&&(c2=a2.target.ownerDocument||Z,d2=c2.documentElement,e2=c2.body,a2.pageX=b2.clientX+(d2&&d2.scrollLeft||e2&&e2.scrollLeft||0)-(d2&&d2.clientLeft||e2&&e2.clientLeft||0),a2.pageY=b2.clientY+(d2&&d2.scrollTop||e2&&e2.scrollTop||0)-(d2&&d2.clientTop||e2&&e2.clientTop||0)),a2.which||f2===void 0||(a2.which=1&f2?1:2&f2?3:4&f2?2:0),a2}},fix:function(a2){if(a2[_.expando])return a2;var b2,c2,d2,e2=a2.type,f2=a2,g2=this.fixHooks[e2];for(g2||(this.fixHooks[e2]=g2=Bb.test(e2)?this.mouseHooks:Ab.test(e2)?this.keyHooks:{}),d2=g2.props?this.props.concat(g2.props):this.props,a2=new _.Event(f2),b2=d2.length;b2--;)c2=d2[b2],a2[c2]=f2[c2];return a2.target||(a2.target=Z),a2.target.nodeType===3&&(a2.target=a2.target.parentNode),g2.filter?g2.filter(a2,f2):a2},special:{load:{noBubble:!0},focus:{trigger:function(){return this!==l()&&this.focus?(this.focus(),!1):void 0},delegateType:"focusin"},blur:{trigger:function(){return this===l()&&this.blur?(this.blur(),!1):void 0},delegateType:"focusout"},click:{trigger:function(){return this.type==="checkbox"&&this.click&&_.nodeName(this,"input")?(this.click(),!1):void 0},_default:function(a2){return _.nodeName(a2.target,"a")}},beforeunload:{postDispatch:function(a2){a2.result!==void 0&&a2.originalEvent&&(a2.originalEvent.returnValue=a2.result)}}},simulate:function(a2,b2,c2,d2){var e2=_.extend(new _.Event,c2,{type:a2,isSimulated:!0,originalEvent:{}});d2?_.event.trigger(e2,null,b2):_.event.dispatch.call(b2,e2),e2.isDefaultPrevented()&&c2.preventDefault()}},_.removeEvent=function(a2,b2,c2){a2.removeEventListener&&a2.removeEventListener(b2,c2,!1)},_.Event=function(a2,b2){return this instanceof _.Event?(a2&&a2.type?(this.originalEvent=a2,this.type=a2.type,this.isDefaultPrevented=a2.defaultPrevented||a2.defaultPrevented===void 0&&a2.returnValue===!1?j:k):this.type=a2,b2&&_.extend(this,b2),this.timeStamp=a2&&a2.timeStamp||_.now(),void(this[_.expando]=!0)):new _.Event(a2,b2)},_.Event.prototype={isDefaultPrevented:k,isPropagationStopped:k,isImmediatePropagationStopped:k,preventDefault:function(){var a2=this.originalEvent;this.isDefaultPrevented=j,a2&&a2.preventDefault&&a2.preventDefault()},stopPropagation:function(){var a2=this.originalEvent;this.isPropagationStopped=j,a2&&a2.stopPropagation&&a2.stopPropagation()},stopImmediatePropagation:function(){var a2=this.originalEvent;this.isImmediatePropagationStopped=j,a2&&a2.stopImmediatePropagation&&a2.stopImmediatePropagation(),this.stopPropagation()}}
13,_.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(a2,b2){_.event.special[a2]={delegateType:b2,bindType:b2,handle:function(a3){var c2,d2=this,e2=a3.relatedTarget,f2=a3.handleObj;return(!e2||e2!==d2&&!_.contains(d2,e2))&&(a3.type=f2.origType,c2=f2.handler.apply(this,arguments),a3.type=b2),c2}}}),Y.focusinBubbles||_.each({focus:"focusin",blur:"focusout"},function(a2,b2){var c2=function(a3){_.event.simulate(b2,a3.target,_.event.fix(a3),!0)};_.event.special[b2]={setup:function(){var d2=this.ownerDocument||this,e2=rb.access(d2,b2);e2||d2.addEventListener(a2,c2,!0),rb.access(d2,b2,(e2||0)+1)},teardown:function(){var d2=this.ownerDocument||this,e2=rb.access(d2,b2)-1;e2?rb.access(d2,b2,e2):(d2.removeEventListener(a2,c2,!0),rb.remove(d2,b2))}}}),_.fn.extend({on:function(a2,b2,c2,d2,e2){var f2,g2;if(typeof a2=="object"){typeof b2!="string"&&(c2=c2||b2,b2=void 0);for(g2 in a2)this.on(g2,b2,c2,a2[g2],e2);return this}if(c2==null&&d2==null?(d2=b2,c2=b2=void 0):d2==null&&(typeof b2=="string"?(d2=c2,c2=void 0):(d2=c2,c2=b2,b2=void 0)),d2===!1)d2=k;else if(!d2)return this;return e2===1&&(f2=d2,d2=function(a3){return _().off(a3),f2.apply(this,arguments)},d2.guid=f2.guid||(f2.guid=_.guid++)),this.each(function(){_.event.add(this,a2,d2,c2,b2)})},one:function(a2,b2,c2,d2){return this.on(a2,b2,c2,d2,1)},off:function(a2,b2,c2){var d2,e2;if(a2&&a2.preventDefault&&a2.handleObj)return d2=a2.handleObj,_(a2.delegateTarget).off(d2.namespace?d2.origType+"."+d2.namespace:d2.origType,d2.selector,d2.handler),this;if(typeof a2=="object"){for(e2 in a2)this.off(e2,b2,a2[e2]);return this}return(b2===!1||typeof b2=="function")&&(c2=b2,b2=void 0),c2===!1&&(c2=k),this.each(function(){_.event.remove(this,a2,c2,b2)})},trigger:function(a2,b2){return this.each(function(){_.event.trigger(a2,b2,this)})},triggerHandler:function(a2,b2){var c2=this[0];return c2?_.event.trigger(a2,b2,c2,!0):void 0}});var Eb=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,Fb=/<([\w:]+)/,Gb=/<|&#?\w+;/,Hb=/<(?:script|style|link)/i,Ib=/checked\s*(?:[^=]|=\s*.checked.)/i,Jb=/^$|\/(?:java|ecma)script/i,Kb=/^true\/(.*)/,Lb=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g,Mb={option:[1,"<select multiple='multiple'>","</select>"],thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};Mb.optgroup=Mb.option,Mb.tbody=Mb.tfoot=Mb.colgroup=Mb.caption=Mb.thead,Mb.th=Mb.td,_.extend({clone:function(a2,b2,c2){var d2,e2,f2,g2,h2=a2.cloneNode(!0),i2=_.contains(a2.ownerDocument,a2);if(!(Y.noCloneChecked||a2.nodeType!==1&&a2.nodeType!==11||_.isXMLDoc(a2)))for(g2=r(h2),f2=r(a2),d2=0,e2=f2.length;e2>d2;d2++)s(f2[d2],g2[d2]);if(b2)if(c2)for(f2=f2||r(a2),g2=g2||r(h2),d2=0,e2=f2.length;e2>d2;d2++)q(f2[d2],g2[d2]);else q(a2,h2);return g2=r(h2,"script"),g2.length>0&&p(g2,!i2&&r(a2,"script")),h2},buildFragment:function(a2,b2,c2,d2){for(var e2,f2,g2,h2,i2,j2,k2=b2.createDocumentFragment(),l2=[],m2=0,n2=a2.length;n2>m2;m2++)if(e2=a2[m2],e2||e2===0)if(_.type(e2)==="object")_.merge(l2,e2.nodeType?[e2]:e2);else if(Gb.test(e2)){for(f2=f2||k2.appendChild(b2.createElement("div")),g2=(Fb.exec(e2)||["",""])[1].toLowerCase(),h2=Mb[g2]||Mb._default,f2.innerHTML=h2[1]+e2.replace(Eb,"<$1></$2>")+h2[2],j2=h2[0];j2--;)f2=f2.lastChild;_.merge(l2,f2.childNodes),f2=k2.firstChild,f2.textContent=""}else l2.push(b2.createTextNode(e2));for(k2.textContent="",m2=0;e2=l2[m2++];)if((!d2||_.inArray(e2,d2)===-1)&&(i2=_.contains(e2.ownerDocument,e2),f2=r(k2.appendChild(e2),"script"),i2&&p(f2),c2))for(j2=0;e2=f2[j2++];)Jb.test(e2.type||"")&&c2.push(e2);return k2},cleanData:function(a2){for(var b2,c2,d2,e2,f2=_.event.special,g2=0;(c2=a2[g2])!==void 0;g2++){if(_.acceptData(c2)&&(e2=c2[rb.expando],e2&&(b2=rb.cache[e2]))){if(b2.events)for(d2 in b2.events)f2[d2]?_.event.remove(c2,d2):_.removeEvent(c2,d2,b2.handle);rb.cache[e2]&&delete rb.cache[e2]}delete sb.cache[c2[sb.expando]]}}}),_.fn.extend({text:function(a2){return qb(this,function(a3){return a3===void 0?_.text(this):this.empty().each(function(){(this.nodeType===1||this.nodeType===11||this.nodeType===9)&&(this.textContent=a3)})},null,a2,arguments.length)},append:function(){return this.domManip(arguments,function(a2){if(this.nodeType===1||this.nodeType===11||this.nodeType===9){var b2=m(this,a2);b2.appendChild(a2)}})},prepend:function(){return this.domManip(arguments,function(a2){if(this.nodeType===1||this.nodeType===11||this.nodeType===9){var b2=m(this,a2);b2.insertBefore(a2,b2.firstChild)}})},before:function(){return this.domManip(arguments,function(a2){this.parentNode&&this.parentNode.insertBefore(a2,this)})},after:function(){return this.domManip(arguments,function(a2){this.parentNode&&this.parentNode.insertBefore(a2,this.nextSibling)})},remove:function(a2,b2){for(var c2,d2=a2?_.filter(a2,this):this,e2=0;(c2=d2[e2])!=null;e2++)b2||c2.nodeType!==1||_.cleanData(r(c2)),c2.parentNode&&(b2&&_.contains(c2.ownerDocument,c2)&&p(r(c2,"script")),c2.parentNode.removeChild(c2));return this},empty:function(){for(var a2,b2=0;(a2=this[b2])!=null;b2++)a2.nodeType===1&&(_.cleanData(r(a2,!1)),a2.textContent="");return this},clone:function(a2,b2){return a2=a2??!1,b2=b2??a2,this.map(function(){return _.clone(this,a2,b2)})},html:function(a2){return qb(this,function(a3){var b2=this[0]||{},c2=0,d2=this.length;if(a3===void 0&&b2.nodeType===1)return b2.innerHTML;if(typeof a3=="string"&&!Hb.test(a3)&&!Mb[(Fb.exec(a3)||["",""])[1].toLowerCase()]){a3=a3.replace(Eb,"<$1></$2>");try{for(;d2>c2;c2++)b2=this[c2]||{},b2.nodeType===1&&(_.cleanData(r(b2,!1)),b2.innerHTML=a3);b2=0}catch{}}b2&&this.empty().append(a3)},null,a2,arguments.length)},replaceWith:function(){var a2=arguments[0];return this.domManip(arguments,function(b2){a2=this.parentNode,_.cleanData(r(this)),a2&&a2.replaceChild(b2,this)}),a2&&(a2.length||a2.nodeType)?this:this.remove()},detach:function(a2){return this.remove(a2,!0)},domManip:function(a2,b2){a2=S.apply([],a2);var c2,d2,e2,f2,g2,h2,i2=0,j2=this.length,k2=this,l2=j2-1,m2=a2[0],p2=_.isFunction(m2);if(p2||j2>1&&typeof m2=="string"&&!Y.checkClone&&Ib.test(m2))return this.each(function(c3){var d3=k2.eq(c3);p2&&(a2[0]=m2.call(this,c3,d3.html())),d3.domManip(a2,b2)});if(j2&&(c2=_.buildFragment(a2,this[0].ownerDocument,!1,this),d2=c2.firstChild,c2.childNodes.length===1&&(c2=d2),d2)){for(e2=_.map(r(c2,"script"),n),f2=e2.length;j2>i2;i2++)g2=c2,i2!==l2&&(g2=_.clone(g2,!0,!0),f2&&_.merge(e2,r(g2,"script"))),b2.call(this[i2],g2,i2);if(f2)for(h2=e2[e2.length-1].ownerDocument,_.map(e2,o),i2=0;f2>i2;i2++)g2=e2[i2],Jb.test(g2.type||"")&&!rb.access(g2,"globalEval")&&_.contains(h2,g2)&&(g2.src?_._evalUrl&&_._evalUrl(g2.src):_.globalEval(g2.textContent.replace(Lb,"")))}return this}}),_.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(a2,b2){_.fn[a2]=function(a3){for(var c2,d2=[],e2=_(a3),f2=e2.length-1,g2=0;f2>=g2;g2++)c2=g2===f2?this:this.clone(!0),_(e2[g2])[b2](c2),T.apply(d2,c2.get());return this.pushStack(d2)}});var Nb,Ob={},Pb=/^margin/,Qb=new RegExp("^("+vb+")(?!px)[a-z%]+$","i"),Rb=function(a2){return a2.ownerDocument.defaultView.getComputedStyle(a2,null)};(function(){function b2(){g2.style.cssText="-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;display:block;margin-top:1%;top:1%;border:1px;padding:1px;width:4px;position:absolute",g2.innerHTML="",e2.appendChild(f2);var b3=a.getComputedStyle(g2,null);
13c2=b3.top!=="1%",d2=b3.width==="4px",e2.removeChild(f2)}var c2,d2,e2=Z.documentElement,f2=Z.createElement("div"),g2=Z.createElement("div");g2.style&&(g2.style.backgroundClip="content-box",g2.cloneNode(!0).style.backgroundClip="",Y.clearCloneStyle=g2.style.backgroundClip==="content-box",f2.style.cssText="border:0;width:0;height:0;top:0;left:-9999px;margin-top:1px;position:absolute",f2.appendChild(g2),a.getComputedStyle&&_.extend(Y,{pixelPosition:function(){return b2(),c2},boxSizingReliable:function(){return d2==null&&b2(),d2},reliableMarginRight:function(){var b3,c3=g2.appendChild(Z.createElement("div"));return c3.style.cssText=g2.style.cssText="-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;display:block;margin:0;border:0;padding:0",c3.style.marginRight=c3.style.width="0",g2.style.width="1px",e2.appendChild(f2),b3=!parseFloat(a.getComputedStyle(c3,null).marginRight),e2.removeChild(f2),b3}}))})(),_.swap=function(a2,b2,c2,d2){var e2,f2,g2={};for(f2 in b2)g2[f2]=a2.style[f2],a2.style[f2]=b2[f2];e2=c2.apply(a2,d2||[]);for(f2 in b2)a2.style[f2]=g2[f2];return e2};var Sb=/^(none|table(?!-c[ea]).+)/,Tb=new RegExp("^("+vb+")(.*)$","i"),Ub=new RegExp("^([+-])=("+vb+")","i"),Vb={position:"absolute",visibility:"hidden",display:"block"},Wb={letterSpacing:"0",fontWeight:"400"},Xb=["Webkit","O","Moz","ms"];_.extend({cssHooks:{opacity:{get:function(a2,b2){if(b2){var c2=v(a2,"opacity");return c2===""?"1":c2}}}},cssNumber:{columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{float:"cssFloat"},style:function(a2,b2,c2,d2){if(a2&&a2.nodeType!==3&&a2.nodeType!==8&&a2.style){var e2,f2,g2,h2=_.camelCase(b2),i2=a2.style;return b2=_.cssProps[h2]||(_.cssProps[h2]=x(i2,h2)),g2=_.cssHooks[b2]||_.cssHooks[h2],c2===void 0?g2&&"get"in g2&&(e2=g2.get(a2,!1,d2))!==void 0?e2:i2[b2]:(f2=typeof c2,f2==="string"&&(e2=Ub.exec(c2))&&(c2=(e2[1]+1)*e2[2]+parseFloat(_.css(a2,b2)),f2="number"),c2!=null&&c2===c2&&(f2!=="number"||_.cssNumber[h2]||(c2+="px"),Y.clearCloneStyle||c2!==""||b2.indexOf("background")!==0||(i2[b2]="inherit"),g2&&"set"in g2&&(c2=g2.set(a2,c2,d2))===void 0||(i2[b2]=c2)),void 0)}},css:function(a2,b2,c2,d2){var e2,f2,g2,h2=_.camelCase(b2);return b2=_.cssProps[h2]||(_.cssProps[h2]=x(a2.style,h2)),g2=_.cssHooks[b2]||_.cssHooks[h2],g2&&"get"in g2&&(e2=g2.get(a2,!0,c2)),e2===void 0&&(e2=v(a2,b2,d2)),e2==="normal"&&b2 in Wb&&(e2=Wb[b2]),c2===""||c2?(f2=parseFloat(e2),c2===!0||_.isNumeric(f2)?f2||0:e2):e2}}),_.each(["height","width"],function(a2,b2){_.cssHooks[b2]={get:function(a3,c2,d2){return c2?Sb.test(_.css(a3,"display"))&&a3.offsetWidth===0?_.swap(a3,Vb,function(){return A(a3,b2,d2)}):A(a3,b2,d2):void 0},set:function(a3,c2,d2){var e2=d2&&Rb(a3);return y(a3,c2,d2?z(a3,b2,d2,_.css(a3,"boxSizing",!1,e2)==="border-box",e2):0)}}}),_.cssHooks.marginRight=w(Y.reliableMarginRight,function(a2,b2){return b2?_.swap(a2,{display:"inline-block"},v,[a2,"marginRight"]):void 0}),_.each({margin:"",padding:"",border:"Width"},function(a2,b2){_.cssHooks[a2+b2]={expand:function(c2){for(var d2=0,e2={},f2=typeof c2=="string"?c2.split(" "):[c2];4>d2;d2++)e2[a2+wb[d2]+b2]=f2[d2]||f2[d2-2]||f2[0];return e2}},Pb.test(a2)||(_.cssHooks[a2+b2].set=y)}),_.fn.extend({css:function(a2,b2){return qb(this,function(a3,b3,c2){var d2,e2,f2={},g2=0;if(_.isArray(b3)){for(d2=Rb(a3),e2=b3.length;e2>g2;g2++)f2[b3[g2]]=_.css(a3,b3[g2],!1,d2);return f2}return c2!==void 0?_.style(a3,b3,c2):_.css(a3,b3)},a2,b2,arguments.length>1)},show:function(){return B(this,!0)},hide:function(){return B(this)},toggle:function(a2){return typeof a2=="boolean"?a2?this.show():this.hide():this.each(function(){xb(this)?_(this).show():_(this).hide()})}}),_.Tween=C,C.prototype={constructor:C,init:function(a2,b2,c2,d2,e2,f2){this.elem=a2,this.prop=c2,this.easing=e2||"swing",this.options=b2,this.start=this.now=this.cur(),this.end=d2,this.unit=f2||(_.cssNumber[c2]?"":"px")},cur:function(){var a2=C.propHooks[this.prop];return a2&&a2.get?a2.get(this):C.propHooks._default.get(this)},run:function(a2){var b2,c2=C.propHooks[this.prop];return this.pos=b2=this.options.duration?_.easing[this.easing](a2,this.options.duration*a2,0,1,this.options.duration):a2,this.now=(this.end-this.start)*b2+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),c2&&c2.set?c2.set(this):C.propHooks._default.set(this),this}},C.prototype.init.prototype=C.prototype,C.propHooks={_default:{get:function(a2){var b2;return a2.elem[a2.prop]==null||a2.elem.style&&a2.elem.style[a2.prop]!=null?(b2=_.css(a2.elem,a2.prop,""),b2&&b2!=="auto"?b2:0):a2.elem[a2.prop]},set:function(a2){_.fx.step[a2.prop]?_.fx.step[a2.prop](a2):a2.elem.style&&(a2.elem.style[_.cssProps[a2.prop]]!=null||_.cssHooks[a2.prop])?_.style(a2.elem,a2.prop,a2.now+a2.unit):a2.elem[a2.prop]=a2.now}}},C.propHooks.scrollTop=C.propHooks.scrollLeft={set:function(a2){a2.elem.nodeType&&a2.elem.parentNode&&(a2.elem[a2.prop]=a2.now)}},_.easing={linear:function(a2){return a2},swing:function(a2){return .5-Math.cos(a2*Math.PI)/2}},_.fx=C.prototype.init,_.fx.step={};var Yb,Zb,$b=/^(?:toggle|show|hide)$/,_b=new RegExp("^(?:([+-])=|)("+vb+")([a-z%]*)$","i"),ac=/queueHooks$/,bc=[G],cc={"*":[function(a2,b2){var c2=this.createTween(a2,b2),d2=c2.cur(),e2=_b.exec(b2),f2=e2&&e2[3]||(_.cssNumber[a2]?"":"px"),g2=(_.cssNumber[a2]||f2!=="px"&&+d2)&&_b.exec(_.css(c2.elem,a2)),h2=1,i2=20;if(g2&&g2[3]!==f2){f2=f2||g2[3],e2=e2||[],g2=+d2||1;do h2=h2||".5",g2/=h2,_.style(c2.elem,a2,g2+f2);while(h2!==(h2=c2.cur()/d2)&&h2!==1&&--i2)}return e2&&(g2=c2.start=+g2||+d2||0,c2.unit=f2,c2.end=e2[1]?g2+(e2[1]+1)*e2[2]:+e2[2]),c2}]};_.Animation=_.extend(I,{tweener:function(a2,b2){_.isFunction(a2)?(b2=a2,a2=["*"]):a2=a2.split(" ");for(var c2,d2=0,e2=a2.length;e2>d2;d2++)c2=a2[d2],cc[c2]=cc[c2]||[],cc[c2].unshift(b2)},prefilter:function(a2,b2){b2?bc.unshift(a2):bc.push(a2)}}),_.speed=function(a2,b2,c2){var d2=a2&&typeof a2=="object"?_.extend({},a2):{complete:c2||!c2&&b2||_.isFunction(a2)&&a2,duration:a2,easing:c2&&b2||b2&&!_.isFunction(b2)&&b2};return d2.duration=_.fx.off?0:typeof d2.duration=="number"?d2.duration:d2.duration in _.fx.speeds?_.fx.speeds[d2.duration]:_.fx.speeds._default,(d2.queue==null||d2.queue===!0)&&(d2.queue="fx"),d2.old=d2.complete,d2.complete=function(){_.isFunction(d2.old)&&d2.old.call(this),d2.queue&&_.dequeue(this,d2.queue)},d2},_.fn.extend({fadeTo:function(a2,b2,c2,d2){return this.filter(xb).css("opacity",0).show().end().animate({opacity:b2},a2,c2,d2)},animate:function(a2,b2,c2,d2){var e2=_.isEmptyObject(a2),f2=_.speed(b2,c2,d2),g2
13=function(){var b3=I(this,_.extend({},a2),f2);(e2||rb.get(this,"finish"))&&b3.stop(!0)};return g2.finish=g2,e2||f2.queue===!1?this.each(g2):this.queue(f2.queue,g2)},stop:function(a2,b2,c2){var d2=function(a3){var b3=a3.stop;delete a3.stop,b3(c2)};return typeof a2!="string"&&(c2=b2,b2=a2,a2=void 0),b2&&a2!==!1&&this.queue(a2||"fx",[]),this.each(function(){var b3=!0,e2=a2!=null&&a2+"queueHooks",f2=_.timers,g2=rb.get(this);if(e2)g2[e2]&&g2[e2].stop&&d2(g2[e2]);else for(e2 in g2)g2[e2]&&g2[e2].stop&&ac.test(e2)&&d2(g2[e2]);for(e2=f2.length;e2--;)f2[e2].elem!==this||a2!=null&&f2[e2].queue!==a2||(f2[e2].anim.stop(c2),b3=!1,f2.splice(e2,1));(b3||!c2)&&_.dequeue(this,a2)})},finish:function(a2){return a2!==!1&&(a2=a2||"fx"),this.each(function(){var b2,c2=rb.get(this),d2=c2[a2+"queue"],e2=c2[a2+"queueHooks"],f2=_.timers,g2=d2?d2.length:0;for(c2.finish=!0,_.queue(this,a2,[]),e2&&e2.stop&&e2.stop.call(this,!0),b2=f2.length;b2--;)f2[b2].elem===this&&f2[b2].queue===a2&&(f2[b2].anim.stop(!0),f2.splice(b2,1));for(b2=0;g2>b2;b2++)d2[b2]&&d2[b2].finish&&d2[b2].finish.call(this);delete c2.finish})}}),_.each(["toggle","show","hide"],function(a2,b2){var c2=_.fn[b2];_.fn[b2]=function(a3,d2,e2){return a3==null||typeof a3=="boolean"?c2.apply(this,arguments):this.animate(E(b2,!0),a3,d2,e2)}}),_.each({slideDown:E("show"),slideUp:E("hide"),slideToggle:E("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(a2,b2){_.fn[a2]=function(a3,c2,d2){return this.animate(b2,a3,c2,d2)}}),_.timers=[],_.fx.tick=function(){var a2,b2=0,c2=_.timers;for(Yb=_.now();b2<c2.length;b2++)a2=c2[b2],a2()||c2[b2]!==a2||c2.splice(b2--,1);c2.length||_.fx.stop(),Yb=void 0},_.fx.timer=function(a2){_.timers.push(a2),a2()?_.fx.start():_.timers.pop()},_.fx.interval=13,_.fx.start=function(){Zb||(Zb=setInterval(_.fx.tick,_.fx.interval))},_.fx.stop=function(){clearInterval(Zb),Zb=null},_.fx.speeds={slow:600,fast:200,_default:400},_.fn.delay=function(a2,b2){return a2=_.fx&&_.fx.speeds[a2]||a2,b2=b2||"fx",this.queue(b2,function(b3,c2){var d2=setTimeout(b3,a2);c2.stop=function(){clearTimeout(d2)}})},(function(){var a2=Z.createElement("input"),b2=Z.createElement("select"),c2=b2.appendChild(Z.createElement("option"));a2.type="checkbox",Y.checkOn=a2.value!=="",Y.optSelected=c2.selected,b2.disabled=!0,Y.optDisabled=!c2.disabled,a2=Z.createElement("input"),a2.value="t",a2.type="radio",Y.radioValue=a2.value==="t"})();var dc,ec,fc=_.expr.attrHandle;_.fn.extend({attr:function(a2,b2){return qb(this,_.attr,a2,b2,arguments.length>1)},removeAttr:function(a2){return this.each(function(){_.removeAttr(this,a2)})}}),_.extend({attr:function(a2,b2,c2){var d2,e2,f2=a2.nodeType;if(a2&&f2!==3&&f2!==8&&f2!==2)return typeof a2.getAttribute===zb?_.prop(a2,b2,c2):(f2===1&&_.isXMLDoc(a2)||(b2=b2.toLowerCase(),d2=_.attrHooks[b2]||(_.expr.match.bool.test(b2)?ec:dc)),c2===void 0?d2&&"get"in d2&&(e2=d2.get(a2,b2))!==null?e2:(e2=_.find.attr(a2,b2),e2??void 0):c2!==null?d2&&"set"in d2&&(e2=d2.set(a2,c2,b2))!==void 0?e2:(a2.setAttribute(b2,c2+""),c2):void _.removeAttr(a2,b2))},removeAttr:function(a2,b2){var c2,d2,e2=0,f2=b2&&b2.match(nb);if(f2&&a2.nodeType===1)for(;c2=f2[e2++];)d2=_.propFix[c2]||c2,_.expr.match.bool.test(c2)&&(a2[d2]=!1),a2.removeAttribute(c2)},attrHooks:{type:{set:function(a2,b2){if(!Y.radioValue&&b2==="radio"&&_.nodeName(a2,"input")){var c2=a2.value;return a2.setAttribute("type",b2),c2&&(a2.value=c2),b2}}}}}),ec={set:function(a2,b2,c2){return b2===!1?_.removeAttr(a2,c2):a2.setAttribute(c2,c2),c2}},_.each(_.expr.match.bool.source.match(/\w+/g),function(a2,b2){var c2=fc[b2]||_.find.attr;fc[b2]=function(a3,b3,d2){var e2,f2;return d2||(f2=fc[b3],fc[b3]=e2,e2=c2(a3,b3,d2)!=null?b3.toLowerCase():null,fc[b3]=f2),e2}});var gc=/^(?:input|select|textarea|button)$/i;_.fn.extend({prop:function(a2,b2){return qb(this,_.prop,a2,b2,arguments.length>1)},removeProp:function(a2){return this.each(function(){delete this[_.propFix[a2]||a2]})}}),_.extend({propFix:{for:"htmlFor",class:"className"},prop:function(a2,b2,c2){var d2,e2,f2,g2=a2.nodeType;if(a2&&g2!==3&&g2!==8&&g2!==2)return f2=g2!==1||!_.isXMLDoc(a2),f2&&(b2=_.propFix[b2]||b2,e2=_.propHooks[b2]),c2!==void 0?e2&&"set"in e2&&(d2=e2.set(a2,c2,b2))!==void 0?d2:a2[b2]=c2:e2&&"get"in e2&&(d2=e2.get(a2,b2))!==null?d2:a2[b2]},propHooks:{tabIndex:{get:function(a2){return a2.hasAttribute("tabindex")||gc.test(a2.nodeName)||a2.href?a2.tabIndex:-1}}}}),Y.optSelected||(_.propHooks.selected={get:function(a2){var b2=a2.parentNode;return b2&&b2.parentNode&&b2.parentNode.selectedIndex,null}}),_.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){_.propFix[this.toLowerCase()]=this});var hc=/[\t\r\n\f]/g;_.fn.extend({addClass:function(a2){var b2,c2,d2,e2,f2,g2,h2=typeof a2=="string"&&a2,i2=0,j2=this.length;if(_.isFunction(a2))return this.each(function(b3){_(this).addClass(a2.call(this,b3,this.className))});if(h2){for(b2=(a2||"").match(nb)||[];j2>i2;i2++)if(c2=this[i2],d2=c2.nodeType===1&&(c2.className?(" "+c2.className+" ").replace(hc," "):" ")){for(f2=0;e2=b2[f2++];)d2.indexOf(" "+e2+" ")<0&&(d2+=e2+" ");g2=_.trim(d2),c2.className!==g2&&(c2.className=g2)}}return this},removeClass:function(a2){var b2,c2,d2,e2,f2,g2,h2=arguments.length===0||typeof a2=="string"&&a2,i2=0,j2=this.length;if(_.isFunction(a2))return this.each(function(b3){_(this).removeClass(a2.call(this,b3,this.className))});if(h2){for(b2=(a2||"").match(nb)||[];j2>i2;i2++)if(c2=this[i2],d2=c2.nodeType===1&&(c2.className?(" "+c2.className+" ").replace(hc," "):"")){for(f2=0;e2=b2[f2++];)for(;d2.indexOf(" "+e2+" ")>=0;)d2=d2.replace(" "+e2+" "," ");g2=a2?_.trim(d2):"",c2.className!==g2&&(c2.className=g2)}}return this},toggleClass:function(a2,b2){var c2=typeof a2;return typeof b2=="boolean"&&c2==="string"?b2?this.addClass(a2):this.removeClass(a2):this.each(_.isFunction(a2)?function(c3){_(this).toggleClass(a2.call(this,c3,this.className,b2),b2)}:function(){if(c2==="string")for(var b3,d2=0,e2=_(this),f2=a2.match(nb)||[];b3=f2[d2++];)e2.hasClass(b3)?e2.removeClass(b3):e2.addClass(b3);else(c2===zb||c2==="boolean")&&(this.className&&rb.set(this,"__className__",this.className),this.className=this.className||a2===!1?"":rb.get(this,"__className__")||"")})},hasClass:function(a2){for(var b2=" "+a2+" ",c2=0,d2=this.length;d2>c2;c2++)if(this[c2].nodeType===1&&(" "+this[c2].className+" ").replace(hc," ").indexOf(b2)>=0)return!0;return!1}});var ic=/\r/g;_.fn.extend({val:function(a2){var b2,c2,d2,e2=this[0];{if(arguments.length)return d2=_.isFunction(a2),this.each(function(c3){var e3;this.nodeType===1&&(e3=d2?a2.call(this,c3,_(this).val()):a2,e3==null?e3="":typeof e3=="number"?e3+="":_.isArray(e3)&&(e3=_.map(e3,function(a3){return a3==null?"":a3+""})),b2=_.valHooks[this.type]||_.valHooks[this.nodeName.toLowerCase()],b2&&"set"in b2&&b2.set(this,e3,"value")!==void 0||(this.value=e3))});if(e2)return b2=_.valHooks[e2.type]||_.valHooks[e2.nodeName.toLowerCase()],b2&&"get"in b2&&(c2=b2.get(e2,"value"))!==void 0?c2:(c2=e2.value,typeof c2=="string"?c2.replace(ic,""):c2??"")}}}),_.extend({valHooks:{option:{get:function(a2){var b2=_.find.attr(a2,"value");return b2??_.trim(_.text(a2))}},select:{get:function(a2){for(var b2,c2,d2=a2.options,e2=a2.selectedIndex,f2=a2.type==="select-one"||0>e2,g2=f2?null:[],h2=f2?e2+1:d2.length,i2=0>e2?h2:f2?e2:0;h2>i2;i2++)if(c2=d2[i2],!(!c2.selected&&i2!==e2||(Y.optDisabled?c2.disabled:c2.getAttribute("disabled")!==null)||c2.parentNode.disabled&&_.nodeName(c2.parentNode,"optgroup"))){if(b2=_(c2).val(),f2)return b2;g2.push(b2)}return g2},set:function(a2,b2){for(var c2,d2,e2=a2.options,f2=_.makeArray(b2),g2=e2.length;g2--;)d2=e2[g2],(d2.selected=_.inArray(d2.value,f2)>=0)&&(c2=!0);return c2||(a2.selectedIndex=-1),f2}}}}),_.each(["radio","checkbox"],function(){_.valHooks[this]={set:function(a2,b2){return _.isArray(b2)?a2.checked=_.inArray(_(a2).val(),b2)>=0:void 0}},Y.checkOn||(_.valHooks[this].get=function(a2){return a2.getAttribute("value")===null?"on":a2.value})}),_.each("blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error contextmenu".split(" "),function(a2,b2){_.fn[b2]=function(a3,c2){return arguments.length>0?this.on(b2,null,a3,c2):this.trigger(b2)}}),_.fn.extend({hover:function(a2,b2){return this.mouseenter(a2).mouseleave(b2||a2)},bind:function(a2,b2,c2){return this.on(a2,null,b2,c2)},unbind:function(a2,b2){return this.off(a2,null,b2)},delegate:function(a2,b2,c2,d2){return this.on(b2,a2,c2,d2)},undelegate:function(a2,b2,c2){return arguments.length===1?this.off(a2,"**"):this.off(b2,a2||"**",c2)}});var jc=_.now(),kc=/\?/;_.parseJSON=function(a2){return JSON.parse(a2+"")},_.parseXML=function(a2){var b2,c2;if(!a2||typeof a2!="string")return null;
vendor: 4,274 bytes, line 13
13try{c2=new DOMParser,b2=c2.parseFromString(a2,"text/xml")}catch{b2=void 0}return(!b2||b2.getElementsByTagName("parsererror").length)&&_.error("Invalid XML: "+a2),b2};var lc,mc,nc=/#.*$/,oc=/([?&])_=[^&]*/,pc=/^(.*?):[ \t]*([^\r\n]*)$/gm,qc=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,rc=/^(?:GET|HEAD)$/,sc=/^\/\//,tc=/^([\w.+-]+:)(?:\/\/(?:[^\/?#]*@|)([^\/?#:]*)(?::(\d+)|)|)/,uc={},vc={},wc="*/".concat("*");try{mc=location.href}catch{mc=Z.createElement("a"),mc.href="",mc=mc.href}lc=tc.exec(mc.toLowerCase())||[],_.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:mc,type:"GET",isLocal:qc.test(lc[1]),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":wc,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":_.parseJSON,"text xml":_.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(a2,b2){return b2?L(L(a2,_.ajaxSettings),b2):L(_.ajaxSettings,a2)},ajaxPrefilter:J(uc),ajaxTransport:J(vc),ajax:function(a2,b2){function c2(a3,b3,c3,g3){var i3,k3,r3,s3,u3,w2=b3;t2!==2&&(t2=2,h2&&clearTimeout(h2),d2=void 0,f2=g3||"",v2.readyState=a3>0?4:0,i3=a3>=200&&300>a3||a3===304,c3&&(s3=M(l2,v2,c3)),s3=N(l2,s3,v2,i3),i3?(l2.ifModified&&(u3=v2.getResponseHeader("Last-Modified"),u3&&(_.lastModified[e2]=u3),u3=v2.getResponseHeader("etag"),u3&&(_.etag[e2]=u3)),a3===204||l2.type==="HEAD"?w2="nocontent":a3===304?w2="notmodified":(w2=s3.state,k3=s3.data,r3=s3.error,i3=!r3)):(r3=w2,(a3||!w2)&&(w2="error",0>a3&&(a3=0))),v2.status=a3,v2.statusText=(b3||w2)+"",i3?o2.resolveWith(m2,[k3,w2,v2]):o2.rejectWith(m2,[v2,w2,r3]),v2.statusCode(q2),q2=void 0,j2&&n2.trigger(i3?"ajaxSuccess":"ajaxError",[v2,l2,i3?k3:r3]),p2.fireWith(m2,[v2,w2]),j2&&(n2.trigger("ajaxComplete",[v2,l2]),--_.active||_.event.trigger("ajaxStop")))}typeof a2=="object"&&(b2=a2,a2=void 0),b2=b2||{};var d2,e2,f2,g2,h2,i2,j2,k2,l2=_.ajaxSetup({},b2),m2=l2.context||l2,n2=l2.context&&(m2.nodeType||m2.jquery)?_(m2):_.event,o2=_.Deferred(),p2=_.Callbacks("once memory"),q2=l2.statusCode||{},r2={},s2={},t2=0,u2="canceled",v2={readyState:0,getResponseHeader:function(a3){var b3;if(t2===2){if(!g2)for(g2={};b3=pc.exec(f2);)g2[b3[1].toLowerCase()]=b3[2];b3=g2[a3.toLowerCase()]}return b3??null},getAllResponseHeaders:function(){return t2===2?f2:null},setRequestHeader:function(a3,b3){var c3=a3.toLowerCase();return t2||(a3=s2[c3]=s2[c3]||a3,r2[a3]=b3),this},overrideMimeType:function(a3){return t2||(l2.mimeType=a3),this},statusCode:function(a3){var b3;if(a3)if(2>t2)for(b3 in a3)q2[b3]=[q2[b3],a3[b3]];else v2.always(a3[v2.status]);return this},abort:function(a3){var b3=a3||u2;return d2&&d2.abort(b3),c2(0,b3),this}};if(o2.promise(v2).complete=p2.add,v2.success=v2.done,v2.error=v2.fail,l2.url=((a2||l2.url||mc)+"").replace(nc,"").replace(sc,lc[1]+"//"),l2.type=b2.method||b2.type||l2.method||l2.type,l2.dataTypes=_.trim(l2.dataType||"*").toLowerCase().match(nb)||[""],l2.crossDomain==null&&(i2=tc.exec(l2.url.toLowerCase()),l2.crossDomain=!(!i2||i2[1]===lc[1]&&i2[2]===lc[2]&&(i2[3]||(i2[1]==="http:"?"80":"443"))===(lc[3]||(lc[1]==="http:"?"80":"443")))),l2.data&&l2.processData&&typeof l2.data!="string"&&(l2.data=_.param(l2.data,l2.traditional)),K(uc,l2,b2,v2),t2===2)return v2;j2=l2.global,j2&&_.active++===0&&_.event.trigger("ajaxStart"),l2.type=l2.type.toUpperCase(),l2.hasContent=!rc.test(l2.type),e2=l2.url,l2.hasContent||(l2.data&&(e2=l2.url+=(kc.test(e2)?"&":"?")+l2.data,delete l2.data),l2.cache===!1&&(l2.url=oc.test(e2)?e2.replace(oc,"$1_="+jc++):e2+(kc.test(e2)?"&":"?")+"_="+jc++)),l2.ifModified&&(_.lastModified[e2]&&v2.setRequestHeader("If-Modified-Since",_.lastModified[e2]),_.etag[e2]&&v2.setRequestHeader("If-None-Match",_.etag[e2])),(l2.data&&l2.hasContent&&l2.contentType!==!1||b2.contentType)&&v2.setRequestHeader("Content-Type",l2.contentType),v2.setRequestHeader("Accept",l2.dataTypes[0]&&l2.accepts[l2.dataTypes[0]]?l2.accepts[l2.dataTypes[0]]+(l2.dataTypes[0]!=="*"?", "+wc+"; q=0.01":""):l2.accepts["*"]);for(k2 in l2.headers)v2.setRequestHeader(k2,l2.headers[k2]);
vendor: 4,993 bytes, lines 13-15
13if(l2.beforeSend&&(l2.beforeSend.call(m2,v2,l2)===!1||t2===2))return v2.abort();u2="abort";for(k2 in{success:1,error:1,complete:1})v2[k2](l2[k2]);if(d2=K(vc,l2,b2,v2)){v2.readyState=1,j2&&n2.trigger("ajaxSend",[v2,l2]),l2.async&&l2.timeout>0&&(h2=setTimeout(function(){v2.abort("timeout")},l2.timeout));try{t2=1,d2.send(r2,c2)}catch(w2){if(!(2>t2))throw w2;c2(-1,w2)}}else c2(-1,"No Transport");return v2},getJSON:function(a2,b2,c2){return _.get(a2,b2,c2,"json")},getScript:function(a2,b2){return _.get(a2,void 0,b2,"script")}}),_.each(["get","post"],function(a2,b2){_[b2]=function(a3,c2,d2,e2){return _.isFunction(c2)&&(e2=e2||d2,d2=c2,c2=void 0),_.ajax({url:a3,type:b2,dataType:e2,data:c2,success:d2})}}),_.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(a2,b2){_.fn[b2]=function(a3){return this.on(b2,a3)}}),_._evalUrl=function(a2){return _.ajax({url:a2,type:"GET",dataType:"script",async:!1,global:!1,throws:!0})},_.fn.extend({wrapAll:function(a2){var b2;return _.isFunction(a2)?this.each(function(b3){_(this).wrapAll(a2.call(this,b3))}):(this[0]&&(b2=_(a2,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&b2.insertBefore(this[0]),b2.map(function(){for(var a3=this;a3.firstElementChild;)a3=a3.firstElementChild;return a3}).append(this)),this)},wrapInner:function(a2){return this.each(_.isFunction(a2)?function(b2){_(this).wrapInner(a2.call(this,b2))}:function(){var b2=_(this),c2=b2.contents();c2.length?c2.wrapAll(a2):b2.append(a2)})},wrap:function(a2){var b2=_.isFunction(a2);return this.each(function(c2){_(this).wrapAll(b2?a2.call(this,c2):a2)})},unwrap:function(){return this.parent().each(function(){_.nodeName(this,"body")||_(this).replaceWith(this.childNodes)}).end()}}),_.expr.filters.hidden=function(a2){return a2.offsetWidth<=0&&a2.offsetHeight<=0},_.expr.filters.visible=function(a2){return!_.expr.filters.hidden(a2)};var yc=/%20/g,zc=/\[\]$/,Ac=/\r?\n/g,Bc=/^(?:submit|button|image|reset|file)$/i,Cc=/^(?:input|select|textarea|keygen)/i;_.param=function(a2,b2){var c2,d2=[],e2=function(a3,b3){b3=_.isFunction(b3)?b3():b3??"",d2[d2.length]=encodeURIComponent(a3)+"="+encodeURIComponent(b3)};if(b2===void 0&&(b2=_.ajaxSettings&&_.ajaxSettings.traditional),_.isArray(a2)||a2.jquery&&!_.isPlainObject(a2))_.each(a2,function(){e2(this.name,this.value)});else for(c2 in a2)O(c2,a2[c2],b2,e2);return d2.join("&").replace(yc,"+")},_.fn.extend({serialize:function(){return _.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var a2=_.prop(this,"elements");return a2?_.makeArray(a2):this}).filter(function(){var a2=this.type;return this.name&&!_(this).is(":disabled")&&Cc.test(this.nodeName)&&!Bc.test(a2)&&(this.checked||!yb.test(a2))}).map(function(a2,b2){var c2=_(this).val();return c2==null?null:_.isArray(c2)?_.map(c2,function(a3){return{name:b2.name,value:a3.replace(Ac,`\r 14`)}}):{name:b2.name,value:c2.replace(Ac,`\r 15`)}}).get()}}),_.ajaxSettings.xhr=function(){try{return new XMLHttpRequest}catch{}};var Dc=0,Ec={},Fc={0:200,1223:204},Gc=_.ajaxSettings.xhr();a.ActiveXObject&&_(a).on("unload",function(){for(var a2 in Ec)Ec[a2]()}),Y.cors=!!Gc&&"withCredentials"in Gc,Y.ajax=Gc=!!Gc,_.ajaxTransport(function(a2){var b2;return Y.cors||Gc&&!a2.crossDomain?{send:function(c2,d2){var e2,f2=a2.xhr(),g2=++Dc;if(f2.open(a2.type,a2.url,a2.async,a2.username,a2.password),a2.xhrFields)for(e2 in a2.xhrFields)f2[e2]=a2.xhrFields[e2];a2.mimeType&&f2.overrideMimeType&&f2.overrideMimeType(a2.mimeType),a2.crossDomain||c2["X-Requested-With"]||(c2["X-Requested-With"]="XMLHttpRequest");for(e2 in c2)f2.setRequestHeader(e2,c2[e2]);b2=function(a3){return function(){b2&&(delete Ec[g2],b2=f2.onload=f2.onerror=null,a3==="abort"?f2.abort():a3==="error"?d2(f2.status,f2.statusText):d2(Fc[f2.status]||f2.status,f2.statusText,typeof f2.responseText=="string"?{text:f2.responseText}:void 0,f2.getAllResponseHeaders()))}},f2.onload=b2(),f2.onerror=b2("error"),b2=Ec[g2]=b2("abort");try{f2.send(a2.hasContent&&a2.data||null)}catch(h2){if(b2)throw h2}},abort:function(){b2&&b2()}}:void 0}),_.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/(?:java|ecma)script/},converters:{"text script":function(a2){return _.globalEval(a2),a2}}}),_.ajaxPrefilter("script",function(a2){a2.cache===void 0&&(a2.cache=!1),a2.crossDomain&&(a2.type="GET")}),_.ajaxTransport("script",function(a2){if(a2.crossDomain){var b2,c2;return{send:function(d2,e2){b2=_("<script>").prop({async:!0,charset:a2.scriptCharset,src:a2.url}).on("load error",c2=function(a3){b2.remove(),c2=null,a3&&e2(a3.type==="error"?404:200,a3.type)}),Z.head.appendChild(b2[0])},abort:function(){c2&&c2()}}}});var Hc=[],Ic=/(=)\?(?=&|$)|\?\?/;_.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var a2=Hc.pop()||_.expando+"_"+jc++;return this[a2]=!0,a2}}),_.ajaxPrefilter("json jsonp",function(b2,c2,d2){var e2,f2,g2,h2=b2.jsonp!==!1&&(Ic.test(b2.url)?"url":typeof b2.data=="str
15ing"&&!(b2.contentType||"").indexOf("application/x-www-form-urlencoded")&&Ic.test(b2.data)&&"data");return h2||b2.dataTypes[0]==="jsonp"?(e2=b2.jsonpCallback=_.isFunction(b2.jsonpCallback)?b2.jsonpCallback():b2.jsonpCallback,h2?b2[h2]=b2[h2].replace(Ic,"$1"+e2):b2.jsonp!==!1&&(b2.url+=(kc.test(b2.url)?"&":"?")+b2.jsonp+"="+e2),b2.converters["script json"]=function(){return g2||_.error(e2+" was not called"),g2[0]},b2.dataTypes[0]="json",f2=a[e2],a[e2]=function(){g2=arguments},d2.always(function(){a[e2]=f2,b2[e2]&&(b2.jsonpCallback=c2.jsonpCallback,Hc.push(e2)),g2&&_.isFunction(f2)&&f2(g2[0]),g2=f2=void 0}),"script"):void 0}),_.parseHTML=function(a2,b2,c2){if(!a2||typeof a2!="string")return null;typeof b2=="boolean"&&(c2=b2,b2=!1),b2=b2||Z;var d2=gb.exec(a2),e2=!c2&&[];return d2?[b2.createElement(d2[1])]:(d2=_.buildFragment([a2],b2,e2),e2&&e2.length&&_(e2).remove(),_.merge([],d2.childNodes))};var Jc=_.fn.load;_.fn.load=function(a2,b2,c2){if(typeof a2!="string"&&Jc)return Jc.apply(this,arguments);var d2,e2,f2,g2=this,h2=a2.indexOf(" ");return h2>=0&&(d2=_.trim(a2.slice(h2)),a2=a2.slice(0,h2)),_.isFunction(b2)?(c2=b2,b2=void 0):b2&&typeof b2=="object"&&(e2="POST"),g2.length>0&&_.ajax({url:a2,type:e2,dataType:"html",data:b2}).done(function(a3){f2=arguments,g2.html(d2?_("<div>").append(_.parseHTML(a3)).find(d2):a3)}).complete(c2&&function(a3,b3){g2.each(c2,f2||[a3.responseText,b3,a3])}),this},_.expr.filters.animated=function(a2){return _.grep(_.timers,function(b2){return a2===b2.elem}).length};var Kc=a.document.documentElement;_.offset={setOffset:function(a2,b2,c2){var d2,e2,f2,g2,h2,i2,j2,k2=_.css(a2,"position"),l2=_(a2),m2={};k2==="static"&&(a2.style.position="relative"),h2=l2.offset(),f2=_.css(a2,"top"),i2=_.css(a2,"left"),j2=(k2==="absolute"||k2==="fixed")&&(f2+i2).indexOf("auto")>-1,j2?(d2=l2.position(),g2=d2.top,e2=d2.left):(g2=parseFloat(f2)||0,e2=parseFloat(i2)||0),_.isFunction(b2)&&(b2=b2.call(a2,c2,h2)),b2.top!=null&&(m2.top=b2.top-h2.top+g2),b2.left!=null&&(m2.left=b2.left-h2.left+e2),"using"in b2?b2.using.call(a2,m2):l2.css(m2)}},_.fn.extend({offset:function(a2){if(arguments.length)return a2===void 0?this:this.each(function(b3){_.offset.setOffset(this,a2,b3)});var b2,c2,d2=this[0],e2={top:0,left:0},f2=d2&&d2.ownerDocument;if(f2)return b2=f2.documentElement,_.contains(b2,d2)?(typeof d2.getBoundingClientRect!==zb&&(e2=d2.getBoundingClientRect()),c2=P(f2),{top:e2.top+c2.pageYOffset-b2.clientTop,left:e2.left+c2.pageXOffset-b2.clientLeft}):e2},position:function(){if(this[0]){var a2,b2,c2=this[0],d2={top:0,left:0};return _.css(c2,"position")==="fixed"?b2=c2.getBoundingClientRect():(a2=this.offsetParent(),b2=this.offset(),_.nodeName(a2[0],"html")||(d2=a2.offset()),d2.top+=_.css(a2[0],"borderTopWidth",!0),d2.left+=_.css(a2[0],"borderLeftWidth",!0)),{top:b2.top-d2.top-_.css(c2,"marginTop",!0),left:b2.left-d2.left-_.css(c2,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var a2=this.offsetParent||Kc;a2&&!_.nodeName(a2,"html")&&_.css(a2,"position")==="static";)a2=a2.offsetParent;return a2||Kc})}}),_.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(b2,c2){var d2=c2==="pageYOffset";_.fn[b2]=function(e2){return qb(this,function(b3,e3,f2){var g2=P(b3);return f2===void 0?g2?g2[c2]:b3[e3]:void(g2?g2.scrollTo(d2?a.pageXOffset:f2,d2?f2:a.pageYOffset):b3[e3]=f2)},b2,e2,arguments.length,null)}}),_.each(["top","left"],function(a2,b2){_.cssHooks[b2]=w(Y.pixelPosition,function(a3,c2){return c2?(c2=v(a3,b2),Qb.test(c2)?_(a3).position()[b2]+"px":c2):void 0})}),_.each({Height:"height",Width:"width"},function(a2,b2){_.each({padding:"inner"+a2,content:b2,"":"outer"+a2},function(c2,d2){_.fn[d2]=function(d3,e2){var f2=arguments.length&&(c2||typeof d3!="boolean"),g2=c2||(d3===!0||e2===!0?"margin":"border");return qb(this,function(b3,c3,d4){var e3;return _.isWindow(b3)?b3.document.documentElement["client"+a2]:b3.nodeType===9?(e3=b3.documentElement,Math.max(b3.body["scroll"+a2],e3["scroll"+a2],b3.body["offset"+a2],e3["offset"+a2],e3["client"+a2])):d4===void 0?_.css(b3,c3,g2):_.style(b3,c3,d4,g2)},b2,f2?d3:void 0,f2,null)}})}),_.fn.size=function(){return this.length},_.fn.andSelf=_.fn.addBack,typeof define=="function"&&define.amd&&define("jquery",[],function(){return _});var Lc=a.jQuery,Mc=a.$;return _.noConflict=function(b2){return a.$===_&&(a.$=Mc),b2&&a.jQuery===_&&(a.jQuery=Lc),_},typeof b===zb&&(a.jQuery=a.$=_),_}),(function($2,window2,document2,undefined){"use strict";var header_helpers=function(class_array){for(var i=class_array.length,head=$2("head");i--;)head.has("."+class_array[i]).length===0&&head.append('<meta class="'+class_array[i]+'" />')};header_helpers(["foundation-mq-small","foundation-mq-medium","foundation-mq-large","foundation-mq-xlarge","foundation-mq-xxlarge","foundation-data-attribute-namespace"]),$2(function(){typeof FastClick<"u"&&typeof document2.body<"u"&&FastClick.attach(document2.body)});var S=function(selector,context){if(typeof selector=="string"){if(context){var cont;if(context.jquery){if(cont=context[0],!cont)return context}else cont=context;return $2(cont.querySelectorAll(selector))}
15return $2(document2.querySelectorAll(selector))}return $2(selector,context)},attr_name=function(init){var arr=[];return init||arr.push("data"),this.namespace.length>0&&arr.push(this.namespace),arr.push(this.name),arr.join("-")},add_namespace=function(str){for(var parts=str.split("-"),i=parts.length,arr=[];i--;)i!==0?arr.push(parts[i]):this.namespace.length>0?arr.push(this.namespace,parts[i]):arr.push(parts[i]);return arr.reverse().join("-")},bindings=function(method,options){var self=this,should_bind_events=!S(this).data(this.attr_name(!0));if(S(this.scope).is("["+this.attr_name()+"]")?(S(this.scope).data(this.attr_name(!0)+"-init",$2.extend({},this.settings,options||method,this.data_options(S(this.scope)))),should_bind_events&&this.events(this.scope)):S("["+this.attr_name()+"]",this.scope).each(function(){var should_bind_events2=!S(this).data(self.attr_name(!0)+"-init");S(this).data(self.attr_name(!0)+"-init",$2.extend({},self.settings,options||method,self.data_options(S(this)))),should_bind_events2&&self.events(this)}),typeof method=="string")return this[method].call(this,options)},single_image_loaded=function(image,callback){function loaded(){callback(image[0])}function bindLoad(){if(this.one("load",loaded),/MSIE (\d+\.\d+);/.test(navigator.userAgent)){var src=this.attr("src"),param=src.match(/\?/)?"&":"?";param+="random="+new Date().getTime(),this.attr("src",src+param)}}if(!image.attr("src")){loaded();return}image[0].complete||image[0].readyState===4?loaded():bindLoad.call(image)};window2.matchMedia=window2.matchMedia||(function(doc){"use strict";var bool,docElem=doc.documentElement,refNode=docElem.firstElementChild||docElem.firstChild,fakeBody=doc.createElement("body"),div=doc.createElement("div");return div.id="mq-test-1",div.style.cssText="position:absolute;top:-100em",fakeBody.style.background="none",fakeBody.appendChild(div),function(q){return div.innerHTML='­<style media="'+q+'"> #mq-test-1 { width: 42px; }</style>',docElem.insertBefore(fakeBody,refNode),bool=div.offsetWidth===42,docElem.removeChild(fakeBody),{matches:bool,media:q}}})(document2),(function($3){for(var animating,lastTime=0,vendors=["webkit","moz"],requestAnimationFrame2=window2.requestAnimationFrame,cancelAnimationFrame=window2.cancelAnimationFrame,jqueryFxAvailable=typeof jQuery.fx<"u";lastTime<vendors.length&&!requestAnimationFrame2;lastTime++)requestAnimationFrame2=window2[vendors[lastTime]+"RequestAnimationFrame"],cancelAnimationFrame=cancelAnimationFrame||window2[vendors[lastTime]+"CancelAnimationFrame"]||window2[vendors[lastTime]+"CancelRequestAnimationFrame"];function raf(){animating&&(requestAnimationFrame2(raf),jqueryFxAvailable&&jQuery.fx.tick())}requestAnimationFrame2?(window2.requestAnimationFrame=requestAnimationFrame2,window2.cancelAnimationFrame=cancelAnimationFrame,jqueryFxAvailable&&(jQuery.fx.timer=function(timer){timer()&&jQuery.timers.push(timer)&&!animating&&(animating=!0,raf())},jQuery.fx.stop=function(){animating=!1})):(window2.requestAnimationFrame=function(callback){var currTime=new Date().getTime(),timeToCall=Math.max(0,16-(currTime-lastTime)),id=window2.setTimeout(function(){callback(currTime+timeToCall)},timeToCall);return lastTime=currTime+timeToCall,id},window2.cancelAnimationFrame=function(id){clearTimeout(id)})})(jQuery);function removeQuotes(string){return(typeof string=="string"||string instanceof String)&&(string=string.replace(/^['\\/"]+|(;\s?})+|['\\/"]+$/g,"")),string}window2.Foundation={name:"Foundation",version:"5.4.7",media_queries:{small:S(".foundation-mq-small").css("font-family").replace(/^[\/\\'"]+|(;\s?})+|[\/\\'"]+$/g,""),medium:S(".foundation-mq-medium").css("font-family").replace(/^[\/\\'"]+|(;\s?})+|[\/\\'"]+$/g,""),large:S(".foundation-mq-large").css("font-family").replace(/^[\/\\'"]+|(;\s?})+|[\/\\'"]+$/g,""),xlarge:S(".foundation-mq-xlarge").css("font-family").replace(/^[\/\\'"]+|(;\s?})+|[\/\\'"]+$/g,""),xxlarge:S(".foundation-mq-xxlarge").css("font-family").replace(/^[\/\\'"]+|(;\s?})+|[\/\\'"]+$/g,"")},stylesheet:$2("<style></style>").appendTo("head")[0].sheet,global:{namespace:undefined},init:function(scope,libraries,method,options,response){var args=[scope,method,options,response],responses=[];if(this.rtl=/rtl/i.test(S("html").attr("dir")),this.scope=scope||this.scope,this.set_namespace(),libraries&&typeof libraries=="string"&&!/reflow/i.test(libraries))this.libs.hasOwnProperty(libraries)&&responses.push(this.init_lib(libraries,args));else for(var lib in this.libs)responses.push(this.init_lib(lib,libraries));return S(window2).load(function(){S(window2).trigger("resize.fndtn.clearing").trigger("resize.fndtn.dropdown").trigger("resize.fndtn.equalizer").trigger("resize.fndtn.interchange").trigger("resize.fndtn.joyride").trigger("resize.fndtn.magellan").trigger("resize.fndtn.topbar").trigger("resize.fndtn.slider")}),scope},init_lib:function(lib,args){return this.libs.hasOwnProperty(lib)?(this.patch(this.libs[lib]),args&&args.hasOwnProperty(lib)?(typeof this.libs[lib].settings<"u"?$2.extend(!0,this.libs[lib].settings,args[lib]):typeof this.libs[lib].defaults<"u"&&$2.extend(!0,this.libs[lib].defaults,args[lib]),this.libs[lib].init.apply(this.libs[lib],[this.scope,args[lib]])):(args=args instanceof Array?args:new Array(args),this.libs[lib].init.apply(this.libs[lib],args
vendor: 5,705 bytes, line 15
15))):function(){}},patch:function(lib){lib.scope=this.scope,lib.namespace=this.global.namespace,lib.rtl=this.rtl,lib.data_options=this.utils.data_options,lib.attr_name=attr_name,lib.add_namespace=add_namespace,lib.bindings=bindings,lib.S=this.utils.S},inherit:function(scope,methods){for(var methods_arr=methods.split(" "),i=methods_arr.length;i--;)this.utils.hasOwnProperty(methods_arr[i])&&(scope[methods_arr[i]]=this.utils[methods_arr[i]])},set_namespace:function(){var namespace=this.global.namespace===undefined?$2(".foundation-data-attribute-namespace").css("font-family"):this.global.namespace;this.global.namespace=namespace===undefined||/false/i.test(namespace)?"":namespace},libs:{},utils:{S,throttle:function(func,delay){var timer=null;return function(){var context=this,args=arguments;timer==null&&(timer=setTimeout(function(){func.apply(context,args),timer=null},delay))}},debounce:function(func,delay,immediate){var timeout,result;return function(){var context=this,args=arguments,later=function(){timeout=null,immediate||(result=func.apply(context,args))},callNow=immediate&&!timeout;return clearTimeout(timeout),timeout=setTimeout(later,delay),callNow&&(result=func.apply(context,args)),result}},data_options:function(el,data_attr_name){data_attr_name=data_attr_name||"options";var opts={},ii,p,opts_arr,data_options=function(el2){var namespace=Foundation.global.namespace;return namespace.length>0?el2.data(namespace+"-"+data_attr_name):el2.data(data_attr_name)},cached_options=data_options(el);if(typeof cached_options=="object")return cached_options;opts_arr=(cached_options||":").split(";"),ii=opts_arr.length;function isNumber(o){return!isNaN(o-0)&&o!==null&&o!==""&&o!==!1&&o!==!0}function trim(str){return typeof str=="string"?$2.trim(str):str}for(;ii--;)p=opts_arr[ii].split(":"),p=[p[0],p.slice(1).join(":")],/true/i.test(p[1])&&(p[1]=!0),/false/i.test(p[1])&&(p[1]=!1),isNumber(p[1])&&(p[1].indexOf(".")===-1?p[1]=parseInt(p[1],10):p[1]=parseFloat(p[1])),p.length===2&&p[0].length>0&&(opts[trim(p[0])]=trim(p[1]));return opts},register_media:function(media,media_class){Foundation.media_queries[media]===undefined&&($2("head").append('<meta class="'+media_class+'"/>'),Foundation.media_queries[media]=removeQuotes($2("."+media_class).css("font-family")))},add_custom_rule:function(rule,media){if(media===undefined&&Foundation.stylesheet)Foundation.stylesheet.insertRule(rule,Foundation.stylesheet.cssRules.length);else{var query=Foundation.media_queries[media];query!==undefined&&Foundation.stylesheet.insertRule("@media "+Foundation.media_queries[media]+"{ "+rule+" }")}},image_loaded:function(images,callback){var self=this,unloaded=images.length;unloaded===0&&callback(images),images.each(function(){single_image_loaded(self.S(this),function(){unloaded-=1,unloaded===0&&callback(images)})})},random_str:function(){return this.fidx||(this.fidx=0),this.prefix=this.prefix||[this.name||"F",(+new Date).toString(36)].join("-"),this.prefix+(this.fidx++).toString(36)}}},$2.fn.foundation=function(){var args=Array.prototype.slice.call(arguments,0);return this.each(function(){return Foundation.init.apply(Foundation,[this].concat(args)),this})}})(jQuery,window,window.document),(function($2,window2,document2,undefined){"use strict";Foundation.libs.abide={name:"abide",version:"5.4.7",settings:{live_validate:!0,focus_on_invalid:!0,error_labels:!0,error_class:"error",timeout:1e3,patterns:{alpha:/^[a-zA-Z]+$/,alpha_numeric:/^[a-zA-Z0-9]+$/,integer:/^[-+]?\d+$/,number:/^[-+]?\d*(?:[\.\,]\d+)?$/,card:/^(?:4[0-9]{12}(?:[0-9]{3})?|5[1-5][0-9]{14}|6(?:011|5[0-9][0-9])[0-9]{12}|3[47][0-9]{13}|3(?:0[0-5]|[68][0-9])[0-9]{11}|(?:2131|1800|35\d{3})\d{11})$/,cvv:/^([0-9]){3,4}$/,email:/^[a-zA-Z0-9.!#$%&'*+\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+$/,url:/^(https?|ftp|file|ssh):\/\/(((([a-zA-Z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:)*@)?(((\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5]))|((([a-zA-Z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-zA-Z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-zA-Z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-zA-Z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.)+(([a-zA-Z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-zA-Z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-zA-Z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-zA-Z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.?)(:\d*)?)(\/((([a-zA-Z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)+(\/(([a-zA-Z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)*)*)?)?(\?((([a-zA-Z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|[\uE000-\uF8FF]|\/|\?)*)?(\#((([a-zA-Z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|\/|\?)*)?$/,domain:/^([a-zA-Z0-9]([a-zA-Z0-9\-]{0,61}[a-zA-Z0-9])?\.)+[a-zA-Z]{2,6}$/,datetime:/^([0-2][0-9]{3})\-([0-1][0-9])\-([0-3][0-9])T([0-5][0-9])\:([0-5][0-9])\:([0-5][0-9])(Z|([\-\+]([0-1][0-9])\:00))$/,date:/(?:19|20)[0-9]{2}-(?:(?:0[1-9]|1[0-2])-(?:0[1-9]|1[0-9]|2[0-9])|(?:(?!02)(?:0[1-9]|1[0-2])-(?:30))|(?:(?:0[13578]|1[02])-31))$/,time:/^(0[0-9]|1[0-9]|2[0-3])(:[0-5][0-9]){2}$/,dateISO:/^\d{4}[\/\-]\d{1,2}[\/\-]\d{1,2}$/,month_day_year:/^(0[1-9]|1[012])[- \/.](0[1-9]|[12][0-9]|3[01])[- \/.]\d{4}$/,day_month_year:/^(0[1-9]|[12][0-9]|3[01])[- \/.](0[1-9]|1[012])[- \/.]\d{4}$/,color:/^#?([a-fA-F0-9]{6}|[a-fA-F0-9]{3})$/}
15,validators:{equalTo:function(el,required,parent){var from=document2.getElementById(el.getAttribute(this.add_namespace("data-equalto"))).value,to=el.value,valid=from===to;return valid}}},timer:null,init:function(scope,method,options){this.bindings(method,options)},events:function(scope){var self=this,form=self.S(scope).attr("novalidate","novalidate"),settings2=form.data(this.attr_name(!0)+"-init")||{};this.invalid_attr=this.add_namespace("data-invalid"),form.off(".abide").on("submit.fndtn.abide validate.fndtn.abide",function(e){var is_ajax=/ajax/i.test(self.S(this).attr(self.attr_name()));return self.validate(self.S(this).find("input, textarea, select").get(),e,is_ajax)}).on("reset",function(){return self.reset($2(this))}).find("input, textarea, select").off(".abide").on("blur.fndtn.abide change.fndtn.abide",function(e){self.validate([this],e)}).on("keydown.fndtn.abide",function(e){settings2.live_validate===!0&&(clearTimeout(self.timer),self.timer=setTimeout(function(){self.validate([this],e)}.bind(this),settings2.timeout))})},reset:function(form){form.removeAttr(this.invalid_attr),$2(this.invalid_attr,form).removeAttr(this.invalid_attr),$2("."+this.settings.error_class,form).not("small").removeClass(this.settings.error_class)},validate:function(els,e,is_ajax){for(var validations=this.parse_patterns(els),validation_count=validations.length,form=this.S(els[0]).closest("form"),submit_event=/submit/.test(e.type),i=0;i<validation_count;i++)if(!validations[i]&&(submit_event||is_ajax))return this.settings.focus_on_invalid&&els[i].focus(),form.trigger("invalid"),this.S(els[i]).closest("form").attr(this.invalid_attr,""),!1;return(submit_event||is_ajax)&&form.trigger("valid"),form.removeAttr(this.invalid_attr),!is_ajax},parse_patterns:function(els){for(var i=els.length,el_patterns=[];i--;)el_patterns.push(this.pattern(els[i]));return this.check_validation_and_apply_styles(el_patterns)},pattern:function(el){var type=el.getAttribute("type"),required=typeof el.getAttribute("required")=="string",pattern=el.getAttribute("pattern")||"";return this.settings.patterns.hasOwnProperty(pattern)&&pattern.length>0?[el,this.settings.patterns[pattern],required]:pattern.length>0?[el,new RegExp(pattern),required]:this.settings.patterns.hasOwnProperty(type)?[el,this.settings.patterns[type],required]:(pattern=/.*/,[el,pattern,required])},check_validation_and_apply_styles:function(el_patterns){for(var i=el_patterns.length,validations=[],form=this.S(el_patterns[0][0]).closest("[data-"+this.attr_name(!0)+"]"),settings2=form.data(this.attr_name(!0)+"-init")||{};i--;){var el=el_patterns[i][0],required=el_patterns[i][2],value=el.value.trim(),direct_parent=this.S(el).parent(),validator=el.getAttribute(this.add_namespace("data-abide-validator")),is_radio=el.type==="radio",is_checkbox=el.type==="checkbox",label2=this.S('label[for="'+el.getAttribute("id")+'"]'),valid_length=required?el.value.length>0:!0,el_validations=[],parent,valid;if(el.getAttribute(this.add_namespace("data-equalto"))&&(validator="equalTo"),direct_parent.is("label")?parent=direct_parent.parent():parent=direct_parent,validator&&(valid=this.settings.validators[validator].apply(this,[el,required,parent]),el_validations.push(valid)),is_radio&&required)el_validations.push(this.valid_radio(el,required));else if(is_checkbox&&required)el_validations.push(this.valid_checkbox(el,required));else if(el_patterns[i][1].test(value)&&valid_length||!required&&el.value.length<1||$2(el).attr("disabled")?el_validations.push(!0):el_validations.push(!1),el_validations=[el_validations.every(function(valid2){return valid2})],el_validations[0])this.S(el).removeAttr(this.invalid_attr),el.setAttribute("aria-invalid","false"),el.removeAttribute("aria-describedby"),parent.removeClass(this.settings.error_class),label2.length>0&&this.settings.error_labels&&label2.removeClass(this.settings.error_class).removeAttr("role"),$2(el).triggerHandler("valid");else{this.S(el).attr(this.invalid_attr,""),el.setAttribute("aria-invalid","true");var errorElem=parent.find("small."+this.settings.error_class,"span."+this.settings.error_class),errorID=errorElem.length>0?errorElem[0].id:"";errorID.length>0&&el.setAttribute("aria-describedby",errorID),parent.addClass(this.settings.error_class),label2.length>0&&this.settings.error_labels&&label2.addClass(this.settings.error_class).attr("role","alert"),$2(el).triggerHandler("invalid")}validations.push(el_validations[0])}
vendor: 38,366 bytes, line 15
15return validations=[validations.every(function(valid2){return valid2})],validations},valid_checkbox:function(el,required){var el=this.S(el),valid=el.is(":checked")||!required;return valid?el.removeAttr(this.invalid_attr).parent().removeClass(this.settings.error_class):el.attr(this.invalid_attr,"").parent().addClass(this.settings.error_class),valid},valid_radio:function(el,required){for(var name=el.getAttribute("name"),group=this.S(el).closest("[data-"+this.attr_name(!0)+"]").find("[name='"+name+"']"),count=group.length,valid=!1,i=0;i<count;i++)group[i].checked&&(valid=!0);for(var i=0;i<count;i++)valid?this.S(group[i]).removeAttr(this.invalid_attr).parent().removeClass(this.settings.error_class):this.S(group[i]).attr(this.invalid_attr,"").parent().addClass(this.settings.error_class);return valid},valid_equal:function(el,required,parent){var from=document2.getElementById(el.getAttribute(this.add_namespace("data-equalto"))).value,to=el.value,valid=from===to;return valid?(this.S(el).removeAttr(this.invalid_attr),parent.removeClass(this.settings.error_class),label.length>0&&settings.error_labels&&label.removeClass(this.settings.error_class)):(this.S(el).attr(this.invalid_attr,""),parent.addClass(this.settings.error_class),label.length>0&&settings.error_labels&&label.addClass(this.settings.error_class)),valid},valid_oneof:function(el,required,parent,doNotValidateOthers){var el=this.S(el),others=this.S("["+this.add_namespace("data-oneof")+"]"),valid=others.filter(":checked").length>0;if(valid?el.removeAttr(this.invalid_attr).parent().removeClass(this.settings.error_class):el.attr(this.invalid_attr,"").parent().addClass(this.settings.error_class),!doNotValidateOthers){var _this=this;others.each(function(){_this.valid_oneof.call(_this,this,null,null,!0)})}return valid}}})(jQuery,window,window.document),(function($2,window2,document2,undefined){"use strict";Foundation.libs.accordion={name:"accordion",version:"5.4.7",settings:{content_class:"content",active_class:"active",multi_expand:!1,toggleable:!0,callback:function(){}},init:function(scope,method,options){this.bindings(method,options)},events:function(){var self=this,S=this.S;S(this.scope).off(".fndtn.accordion").on("click.fndtn.accordion","["+this.attr_name()+"] > dd > a",function(e){var accordion=S(this).closest("["+self.attr_name()+"]"),groupSelector=self.attr_name()+"="+accordion.attr(self.attr_name()),settings2=accordion.data(self.attr_name(!0)+"-init"),target=S("#"+this.href.split("#")[1]),aunts=$2("> dd",accordion),siblings=aunts.children("."+settings2.content_class),active_content=siblings.filter("."+settings2.active_class);if(e.preventDefault(),accordion.attr(self.attr_name())&&(siblings=siblings.add("["+groupSelector+"] dd > ."+settings2.content_class),aunts=aunts.add("["+groupSelector+"] dd")),settings2.toggleable&&target.is(active_content)){target.parent("dd").toggleClass(settings2.active_class,!1),target.toggleClass(settings2.active_class,!1),settings2.callback(target),target.triggerHandler("toggled",[accordion]),accordion.triggerHandler("toggled",[target]);return}settings2.multi_expand||(siblings.removeClass(settings2.active_class),aunts.removeClass(settings2.active_class)),target.addClass(settings2.active_class).parent().addClass(settings2.active_class),settings2.callback(target),target.triggerHandler("toggled",[accordion]),accordion.triggerHandler("toggled",[target])})},off:function(){},reflow:function(){}}})(jQuery,window,window.document),(function($2,window2,document2,undefined){"use strict";Foundation.libs.alert={name:"alert",version:"5.4.7",settings:{callback:function(){}},init:function(scope,method,options){this.bindings(method,options)},events:function(){var self=this,S=this.S;$2(this.scope).off(".alert").on("click.fndtn.alert","["+this.attr_name()+"] .close",function(e){var alertBox=S(this).closest("["+self.attr_name()+"]"),settings2=alertBox.data(self.attr_name(!0)+"-init")||self.settings;e.preventDefault(),Modernizr.csstransitions?(alertBox.addClass("alert-close"),alertBox.on("transitionend webkitTransitionEnd oTransitionEnd",function(e2){S(this).trigger("close").trigger("close.fndtn.alert").remove(),settings2.callback()})):alertBox.fadeOut(300,function(){S(this).trigger("close").trigger("close.fndtn.alert").remove(),settings2.callback()})})},reflow:function(){}}})(jQuery,window,window.document),(function($2,window2,document2,undefined){"use strict";Foundation.libs.clearing={name:"clearing",version:"5.4.7",settings:{templates:{viewing:'<a href="#" class="clearing-close">×</a><div class="visible-img" style="display: none"><div class="clearing-touch-label"></div><img src="data:image/gif;base64,R0lGODlhAQABAAD/ACwAAAAAAQABAAACADs%3D" alt="" /><p class="clearing-caption"></p><a href="#" class="clearing-main-prev"><span></span></a><a href="#" class="clearing-main-next"><span></span></a></div>'},close_selectors:".clearing-close, div.clearing-blackout",open_selectors:"",skip_selector:"",touch_label:"",init:!1,locked:!1},init:function(scope,method,options){var self=this;Foundation.inherit(this,"throttle image_loaded"),this.bindings(method,options),self.S(this.scope).is("["+this.attr_name()+"]")?this.assemble(self.S("li",this.scope)):self.S("["+this.attr_name()+"]",this.scope).each(function(){self.assemble(self.S("li",this))})},events:function(scope){var self=this,S=self.S,$scroll_container=$2(".scroll-container");$scroll_container.length>0&&(this.scope=$scroll_container),S(this.scope).off(".clearing").on("click.fndtn.clearing","ul["+this.attr_name()+"] li "+this.settings.open_selectors,function(e,current,target){var current=current||S(this),target=target||current,next=current.next("li"),settings2=current.closest("["+self.attr_name()+"]").data(self.attr_name(!0)+"-init"),image=S(e.target);e.preventDefault(),settings2||(self.init(),settings2=current.closest("["+self.attr_name()+"]").data(self.attr_name(!0)+"-init")),target.hasClass("visible")&¤t[0]===target[0]&&next.length>0&&self.is_open(current)&&(target=next,image=S("img",target)),self.open(image,current,target),self.update_paddles(target)}).on("click.fndtn.clearing",".clearing-main-next",function(e){self.nav(e,"next")}).on("click.fndtn.clearing",".clearing-main-prev",function(e){self.nav(e,"prev")}).on("click.fndtn.clearing",this.settings.close_selectors,function(e){Foundation.libs.clearing.close(e,this)}),$2(document2).on("keydown.fndtn.clearing",function(e){self.keydown(e)}),S(window2).off(".clearing").on("resize.fndtn.clearing",function(){self.resize()}),this.swipe_events(scope)},swipe_events:function(scope){var self=this,S=self.S;S(this.scope).on("touchstart.fndtn.clearing",".visible-img",function(e){e.touches||(e=e.originalEvent);var data={start_page_x:e.touches[0].pageX,start_page_y:e.touches[0].pageY,start_time:new Date().getTime(),delta_x:0,is_scrolling:undefined};S(this).data("swipe-transition",data),e.stopPropagation()}).on("touchmove.fndtn.clearing",".visible-img",function(e){if(e.touches||(e=e.originalEvent),!(e.touches.length>1||e.scale&&e.scale!==1)){var data=S(this).data("swipe-transition");if(typeof data>"u"&&(data={}),data.delta_x=e.touches[0].pageX-data.start_page_x,Foundation.rtl&&(data.delta_x=-data.delta_x),typeof data.is_scrolling>"u"&&(data.is_scrolling=!!(data.is_scrolling||Math.abs(data.delta_x)<Math.abs(e.touches[0].pageY-data.start_page_y))),!data.is_scrolling&&!data.active){e.preventDefault();var direction=data.delta_x<0?"next":"prev";data.active=!0,self.nav(e,direction)}}}).on("touchend.fndtn.clearing",".visible-img",function(e){S(this).data("swipe-transition",{}),e.stopPropagation()})},assemble:function($li){var $el=$li.parent();if(!$el.parent().hasClass("carousel")){$el.after('<div id="foundationClearingHolder"></div>');var grid=$el.detach(),grid_outerHTML="";if(grid[0]!=null){grid_outerHTML=grid[0].outerHTML;var holder=this.S("#foundationClearingHolder"),settings2=$el.data(this.attr_name(!0)+"-init"),data={grid:'<div class="carousel">'+grid_outerHTML+"</div>",viewing:settings2.templates.viewing},wrapper='<div class="clearing-assembled"><div>'+data.viewing+data.grid+"</div></div>",touch_label=this.settings.touch_label;Modernizr.touch&&(wrapper=$2(wrapper).find(".clearing-touch-label").html(touch_label).end()),holder.after(wrapper).remove()}}},open:function($image,current,target){var self=this,body=$2(document2.body),root=target.closest(".clearing-assembled"),container=self.S("div",root).first(),visible_image=self.S(".visible-img",container),image=self.S("img",visible_image).not($image),label2=self.S(".clearing-touch-label",container),error=!1;$2("body").on("touchmove",function(e){e.preventDefault()}),image.error(function(){error=!0});function startLoad(){setTimeout(function(){this.image_loaded(image,function(){image.outerWidth()===1&&!error?startLoad.call(this):cb.call(this,image)}.bind(this))}.bind(this),100)}function cb(image2){var $image2=$2(image2);$image2.css("visibility","visible"),body.css("overflow","hidden"),root.addClass("clearing-blackout"),container.addClass("clearing-container"),visible_image.show(),this.fix_height(target).caption(self.S(".clearing-caption",visible_image),self.S("img",target)).center_and_label(image2,label2).shift(current,target,function(){target.closest("li").siblings().removeClass("visible"),target.closest("li").addClass("visible")}),visible_image.trigger("opened.fndtn.clearing")}this.locked()||(visible_image.trigger("open.fndtn.clearing"),image.attr("src",this.load($image)).css("visibility","hidden"),startLoad.call(this))},close:function(e,el){e.preventDefault();var root=(function(target){return/blackout/.test(target.selector)?target:target.closest(".clearing-blackout")})($2(el)),body=$2(document2.body),container,visible_image;return el===e.target&&root&&(body.css("overflow",""),container=$2("div",root).first(),visible_image=$2(".visible-img",container),visible_image.trigger("close.fndtn.clearing"),this.settings.prev_index=0,$2("ul["+this.attr_name()+"]",root).attr("style","").closest(".clearing-blackout").removeClass("clearing-blackout"),container.removeClass("clearing-container"),visible_image.hide(),visible_image.trigger("closed.fndtn.clearing")),$2("body").off("touchmove"),!1},is_open:function(current){return current.parent().prop("style").length>0},keydown:function(e){var clearing=$2(".clearing-blackout ul["+this.attr_name()+"]"),NEXT_KEY=this.rtl?37:39,PREV_KEY=this.rtl?39:37,ESC_KEY=27;e.which===NEXT_KEY&&this.go(clearing,"next"),e.which===PREV_KEY&&this.go(clearing,"prev"),e.which===ESC_KEY&&this.S("a.clearing-close").trigger("click").trigger("click.fndtn.clearing")},nav:function(e,direction){var clearing=$2("ul["+this.attr_name()+"]",".clearing-blackout");e.preventDefault(),this.go(clearing,direction)},resize:function(){var image=$2("img",".clearing-blackout .visible-img"),label2=$2(".clearing-touch-label",".clearing-blackout");image.length&&(this.center_and_label(image,label2),image.trigger("resized.fndtn.clearing"))},fix_height:function(target){var lis=target.parent().children(),self=this;return lis.each(function(){var li=self.S(this),image=li.find("img");li.height()>image.outerHeight()&&li.addClass("fix-height")}).closest("ul").width(lis.length*100+"%"),this},update_paddles:function(target){target=target.closest("li");var visible_image=target.closest(".carousel").siblings(".visible-img");target.next().length>0?this.S(".clearing-main-next",visible_image).removeClass("disabled"):this.S(".clearing-main-next",visible_image).addClass("disabled"),target.prev().length>0?this.S(".clearing-main-prev",visible_image).removeClass("disabled"):this.S(".clearing-main-prev",visible_image).addClass("disabled")},center_and_label:function(target,label2){return this.rtl?(target.css({marginRight:-(target.outerWidth()/2),marginTop:-(target.outerHeight()/2),left:"auto",right:"50%"}),label2.length>0&&label2.css({marginRight:-(label2.outerWidth()/2),marginTop:-(target.outerHeight()/2)-label2.outerHeight()-10,left:"auto",right:"50%"})):(target.css({marginLeft:-(target.outerWidth()/2),marginTop:-(target.outerHeight()/2)}),label2.length>0&&label2.css({marginLeft:-(label2.outerWidth()/2),marginTop:-(target.outerHeight()/2)-label2.outerHeight()-10})),this},load:function($image){var href;return $image[0].nodeName==="A"?href=$image.attr("href"):href=$image.parent().attr("href"),this.preload($image),href||$image.attr("src")},preload:function($image){this.img($image.closest("li").next()).img($image.closest("li").prev())},img:function(img){if(img.length){var new_img=new Image,new_a=this.S("a",img);new_a.length?new_img.src=new_a.attr("href"):new_img.src=this.S("img",img).attr("src")}return this},caption:function(container,$image){var caption=$image.attr("data-caption");return caption?container.html(caption).show():container.text("").hide(),this},go:function($ul,direction){var current=this.S(".visible",$ul),target=current[direction]();this.settings.skip_selector&&target.find(this.settings.skip_selector).length!=0&&(target=target[direction]()),target.length&&this.S("img",target).trigger("click",[current,target]).trigger("click.fndtn.clearing",[current,target]).trigger("change.fndtn.clearing")},shift:function(current,target,callback){var clearing=target.parent(),old_index=this.settings.prev_index||target.index(),direction=this.direction(clearing,current,target),dir=this.rtl?"right":"left",left=parseInt(clearing.css("left"),10),width=target.outerWidth(),skip_shift,dir_obj={};target.index()!==old_index&&!/skip/.test(direction)?/left/.test(direction)?(this.lock(),dir_obj[dir]=left+width,clearing.animate(dir_obj,300,this.unlock())):/right/.test(direction)&&(this.lock(),dir_obj[dir]=left-width,clearing.animate(dir_obj,300,this.unlock())):/skip/.test(direction)&&(skip_shift=target.index()-this.settings.up_count,this.lock(),skip_shift>0?(dir_obj[dir]=-(skip_shift*width),clearing.animate(dir_obj,300,this.unlock())):(dir_obj[dir]=0,clearing.animate(dir_obj,300,this.unlock()))),callback()},direction:function($el,current,target){var lis=this.S("li",$el),li_width=lis.outerWidth()+lis.outerWidth()/4,up_count=Math.floor(this.S(".clearing-container").outerWidth()/li_width)-1,target_index=lis.index(target),response;return this.settings.up_count=up_count,this.adjacent(this.settings.prev_index,target_index)?target_index>up_count&&target_index>this.settings.prev_index?response="right":target_index>up_count-1&&target_index<=this.settings.prev_index?response="left":response=!1:response="skip",this.settings.prev_index=target_index,response},adjacent:function(current_index,target_index){for(var i=target_index+1;i>=target_index-1;i--)if(i===current_index)return!0;return!1},lock:function(){this.settings.locked=!0},unlock:function(){this.settings.locked=!1},locked:function(){return this.settings.locked},off:function(){this.S(this.scope).off(".fndtn.clearing"),this.S(window2).off(".fndtn.clearing")},reflow:function(){this.init()}}})(jQuery,window,window.document),(function($2,window2,document2,undefined){"use strict";Foundation.libs.dropdown={name:"dropdown",version:"5.4.7",settings:{active_class:"open",disabled_class:"disabled",mega_class:"mega",align:"bottom",is_hover:!1,opened:function(){},closed:function(){}},init:function(scope,method,options){Foundation.inherit(this,"throttle"),this.bindings(method,options)},events:function(scope){var self=this,S=self.S;S(this.scope).off(".dropdown").on("click.fndtn.dropdown","["+this.attr_name()+"]",function(e){var settings2=S(this).data(self.attr_name(!0)+"-init")||self.settings;(!settings2.is_hover||Modernizr.touch)&&(e.preventDefault(),self.toggle($2(this)))}).on("mouseenter.fndtn.dropdown","["+this.attr_name()+"], ["+this.attr_name()+"-content]",function(e){var $this=S(this),dropdown,target;clearTimeout(self.timeout),$this.data(self.data_attr())?(dropdown=S("#"+$this.data(self.data_attr())),target=$this):(dropdown=$this,target=S("["+self.attr_name()+"='"+dropdown.attr("id")+"']"));var settings2=target.data(self.attr_name(!0)+"-init")||self.settings;S(e.target).data(self.data_attr())&&settings2.is_hover&&self.closeall.call(self),settings2.is_hover&&self.open.apply(self,[dropdown,target])}).on("mouseleave.fndtn.dropdown","["+this.attr_name()+"], ["+this.attr_name()+"-content]",function(e){var $this=S(this);self.timeout=setTimeout(function(){if($this.data(self.data_attr())){var settings2=$this.data(self.data_attr(!0)+"-init")||self.settings;settings2.is_hover&&self.close.call(self,S("#"+$this.data(self.data_attr())))}else{var target=S("["+self.attr_name()+'="'+S(this).attr("id")+'"]'),settings2=target.data(self.attr_name(!0)+"-init")||self.settings;settings2.is_hover&&self.close.call(self,$this)}}.bind(this),150)}).on("click.fndtn.dropdown",function(e){var parent=S(e.target).closest("["+self.attr_name()+"-content]");if(!(S(e.target).closest("["+self.attr_name()+"]").length>0)){if(!S(e.target).data("revealId")&&parent.length>0&&(S(e.target).is("["+self.attr_name()+"-content]")||$2.contains(parent.first()[0],e.target))){e.stopPropagation();return}self.close.call(self,S("["+self.attr_name()+"-content]"))}}).on("opened.fndtn.dropdown","["+self.attr_name()+"-content]",function(){self.settings.opened.call(this)}).on("closed.fndtn.dropdown","["+self.attr_name()+"-content]",function(){self.settings.closed.call(this)}),S(window2).off(".dropdown").on("resize.fndtn.dropdown",self.throttle(function(){self.resize.call(self)},50)),this.resize()},close:function(dropdown){var self=this;dropdown.each(function(){var original_target=$2("["+self.attr_name()+"="+dropdown[0].id+"]")||$2("aria-controls="+dropdown[0].id+"]");original_target.attr("aria-expanded","false"),self.S(this).hasClass(self.settings.active_class)&&(self.S(this).css(Foundation.rtl?"right":"left","-99999px").attr("aria-hidden","true").removeClass(self.settings.active_class).prev("["+self.attr_name()+"]").removeClass(self.settings.active_class).removeData("target"),self.S(this).trigger("closed").trigger("closed.fndtn.dropdown",[dropdown]))})},closeall:function(){var self=this;$2.each(self.S("["+this.attr_name()+"-content]"),function(){self.close.call(self,self.S(this))})},open:function(dropdown,target){this.css(dropdown.addClass(this.settings.active_class),target),dropdown.prev("["+this.attr_name()+"]").addClass(this.settings.active_class),dropdown.data("target",target.get(0)).trigger("opened").trigger("opened.fndtn.dropdown",[dropdown,target]),dropdown.attr("aria-hidden","false"),target.attr("aria-expanded","true"),dropdown.focus()},data_attr:function(){return this.namespace.length>0?this.namespace+"-"+this.name:this.name},toggle:function(target){if(!target.hasClass(this.settings.disabled_class)){var dropdown=this.S("#"+target.data(this.data_attr()));dropdown.length!==0&&(this.close.call(this,this.S("["+this.attr_name()+"-content]").not(dropdown)),dropdown.hasClass(this.settings.active_class)?(this.close.call(this,dropdown),dropdown.data("target")!==target.get(0)&&this.open.call(this,dropdown,target)):this.open.call(this,dropdown,target))}},resize:function(){var dropdown=this.S("["+this.attr_name()+"-content].open"),target=this.S("["+this.attr_name()+"='"+dropdown.attr("id")+"']");dropdown.length&&target.length&&this.css(dropdown,target)},css:function(dropdown,target){var left_offset=Math.max((target.width()-dropdown.width())/2,8),settings2=target.data(this.attr_name(!0)+"-init")||this.settings;if(this.clear_idx(),this.small()){var p=this.dirs.bottom.call(dropdown,target,settings2);dropdown.attr("style","").removeClass("drop-left drop-right drop-top").css({position:"absolute",width:"95%","max-width":"none",top:p.top}),dropdown.css(Foundation.rtl?"right":"left",left_offset)}else this.style(dropdown,target,settings2);return dropdown},style:function(dropdown,target,settings2){var css=$2.extend({position:"absolute"},this.dirs[settings2.align].call(dropdown,target,settings2));dropdown.attr("style","").css(css)},dirs:{_base:function(t){var o_p=this.offsetParent(),o=o_p.offset(),p=t.offset();return p.top-=o.top,p.left-=o.left,p},top:function(t,s){var self=Foundation.libs.dropdown,p=self.dirs._base.call(this,t);return this.addClass("drop-top"),(t.outerWidth()<this.outerWidth()||self.small()||this.hasClass(s.mega_menu))&&self.adjust_pip(this,t,s,p),Foundation.rtl?{left:p.left-this.outerWidth()+t.outerWidth(),top:p.top-this.outerHeight()}:{left:p.left,top:p.top-this.outerHeight()}},bottom:function(t,s){var self=Foundation.libs.dropdown,p=self.dirs._base.call(this,t);return(t.outerWidth()<this.outerWidth()||self.small()||this.hasClass(s.mega_menu))&&self.adjust_pip(this,t,s,p),self.rtl?{left:p.left-this.outerWidth()+t.outerWidth(),top:p.top+t.outerHeight()}:{left:p.left,top:p.top+t.outerHeight()}},left:function(t,s){var p=Foundation.libs.dropdown.dirs._base.call(this,t);return this.addClass("drop-left"),{left:p.left-this.outerWidth(),top:p.top}},right:function(t,s){var p=Foundation.libs.dropdown.dirs._base.call(this,t);return this.addClass("drop-right"),{left:p.left+t.outerWidth(),top:p.top}}},adjust_pip:function(dropdown,target,settings2,position){var sheet=Foundation.stylesheet,pip_offset_base=8;dropdown.hasClass(settings2.mega_class)?pip_offset_base=position.left+target.outerWidth()/2-8:this.small()&&(pip_offset_base+=position.left-8),this.rule_idx=sheet.cssRules.length;var sel_before=".f-dropdown.open:before",sel_after=".f-dropdown.open:after",css_before="left: "+pip_offset_base+"px;",css_after="left: "+(pip_offset_base-1)+"px;";sheet.insertRule?(sheet.insertRule([sel_before,"{",css_before,"}"].join(" "),this.rule_idx),sheet.insertRule([sel_after,"{",css_after,"}"].join(" "),this.rule_idx+1)):(sheet.addRule(sel_before,css_before,this.rule_idx),sheet.addRule(sel_after,css_after,this.rule_idx+1))},clear_idx:function(){var sheet=Foundation.stylesheet;typeof this.rule_idx<"u"&&(sheet.deleteRule(this.rule_idx),sheet.deleteRule(this.rule_idx),delete this.rule_idx)},small:function(){return matchMedia(Foundation.media_queries.small).matches&&!matchMedia(Foundation.media_queries.medium).matches},off:function(){this.S(this.scope).off(".fndtn.dropdown"),this.S("html, body").off(".fndtn.dropdown"),this.S(window2).off(".fndtn.dropdown"),this.S("[data-dropdown-content]").off(".fndtn.dropdown")},reflow:function(){}}})(jQuery,window,window.document),(function($2,window2,document2,undefined){"use strict";Foundation.libs.equalizer={name:"equalizer",version:"5.4.7",settings:{use_tallest:!0,before_height_change:$2.noop,after_height_change:$2.noop,equalize_on_stack:!1},init:function(scope,method,options){Foundation.inherit(this,"image_loaded"),this.bindings(method,options),this.reflow()},events:function(){this.S(window2).off(".equalizer").on("resize.fndtn.equalizer",function(e){this.reflow()}.bind(this))},equalize:function(equalizer){var isStacked=!1,vals=equalizer.find("["+this.attr_name()+"-watch]:visible"),settings2=equalizer.data(this.attr_name(!0)+"-init");if(vals.length!==0){var firstTopOffset=vals.first().offset().top;if(settings2.before_height_change(),equalizer.trigger("before-height-change").trigger("before-height-change.fndth.equalizer"),vals.height("inherit"),vals.each(function(){var el=$2(this);el.offset().top!==firstTopOffset&&(isStacked=!0)}),!(settings2.equalize_on_stack===!1&&isStacked)){var heights=vals.map(function(){return $2(this).outerHeight(!1)}).get();if(settings2.use_tallest){var max=Math.max.apply(null,heights);vals.css("height",max)}else{var min=Math.min.apply(null,heights);vals.css("height",min)}settings2.after_height_change(),equalizer.trigger("after-height-change").trigger("after-height-change.fndtn.equalizer")}}},reflow:function(){var self=this;this.S("["+this.attr_name()+"]",this.scope).each(function(){var $eq_target=$2(this);self.image_loaded(self.S("img",this),function(){self.equalize($eq_target)})})}}})(jQuery,window,window.document),(function($2,window2,document2,undefined){"use strict";Foundation.libs.interchange={name:"interchange",version:"5.4.7",cache:{},images_loaded:!1,nodes_loaded:!1,settings:{load_attr:"interchange",named_queries:{default:"only screen",small:Foundation.media_queries.small,medium:Foundation.media_queries.medium,large:Foundation.media_queries.large,xlarge:Foundation.media_queries.xlarge,xxlarge:Foundation.media_queries.xxlarge,landscape:"only screen and (orientation: landscape)",portrait:"only screen and (orientation: portrait)",retina:"only screen and (-webkit-min-device-pixel-ratio: 2),only screen and (min--moz-device-pixel-ratio: 2),only screen and (-o-min-device-pixel-ratio: 2/1),only screen and (min-device-pixel-ratio: 2),only screen and (min-resolution: 192dpi),only screen and (min-resolution: 2dppx)"},directives:{replace:function(el,path,trigger){if(/IMG/.test(el[0].nodeName)){var orig_path=el[0].src;return new RegExp(path,"i").test(orig_path)?void 0:(el[0].src=path,trigger(el[0].src))}var last_path=el.data(this.data_attr+"-last-path"),self=this;if(last_path!=path)return/\.(gif|jpg|jpeg|tiff|png)([?#].*)?/i.test(path)?($2(el).css("background-image","url("+path+")"),el.data("interchange-last-path",path),trigger(path)):$2.get(path,function(response){el.html(response),el.data(self.data_attr+"-last-path",path),trigger()})}}},init:function(scope,method,options){Foundation.inherit(this,"throttle random_str"),this.data_attr=this.set_data_attr(),$2.extend(!0,this.settings,method,options),this.bindings(method,options),this.load("images"),this.load("nodes")},get_media_hash:function(){var mediaHash="";for(var queryName in this.settings.named_queries)mediaHash+=matchMedia(this.settings.named_queries[queryName]).matches.toString();return mediaHash},events:function(){var self=this,prevMediaHash;return $2(window2).off(".interchange").on("resize.fndtn.interchange",self.throttle(function(){var currMediaHash=self.get_media_hash();currMediaHash!==prevMediaHash&&self.resize(),prevMediaHash=currMediaHash},50)),this},resize:function(){var cache=this.cache;if(!this.images_loaded||!this.nodes_loaded){setTimeout($2.proxy(this.resize,this),50);return}for(var uuid in cache)if(cache.hasOwnProperty(uuid)){var passed=this.results(uuid,cache[uuid]);passed&&this.settings.directives[passed.scenario[1]].call(this,passed.el,passed.scenario[0],function(){if(arguments[0]instanceof Array)var args=arguments[0];else var args=Array.prototype.slice.call(arguments,0);passed.el.trigger(passed.scenario[1],args)})}},results:function(uuid,scenarios){var count=scenarios.length;if(count>0)for(var el=this.S("["+this.add_namespace("data-uuid")+'="'+uuid+'"]');count--;){var mq,rule=scenarios[count][2];if(this.settings.named_queries.hasOwnProperty(rule)?mq=matchMedia(this.settings.named_queries[rule]):mq=matchMedia(rule),mq.matches)return{el,scenario:scenarios[count]}}return!1},load:function(type,force_update){return(typeof this["cached_"+type]>"u"||force_update)&&this["update_"+type](),this["cached_"+type]},update_images:function(){var images=this.S("img["+this.data_attr+"]"),count=images.length,i=count,loaded_count=0,data_attr=this.data_attr;for(this.cache={},this.cached_images=[],this.images_loaded=count===0;i--;){if(loaded_count++,images[i]){var str=images[i].getAttribute(data_attr)||"";str.length>0&&this.cached_images.push(images[i])}loaded_count===count&&(this.images_loaded=!0,this.enhance("images"))}return this},update_nodes:function(){var nodes=this.S("["+this.data_attr+"]").not("img"),count=nodes.length,i=count,loaded_count=0,data_attr=this.data_attr;for(this.cached_nodes=[],this.nodes_loaded=count===0;i--;){loaded_count++;var str=nodes[i].getAttribute(data_attr)||"";str.length>0&&this.cached_nodes.push(nodes[i]),loaded_count===count&&(this.nodes_loaded=!0,this.enhance("nodes"))}return this},enhance:function(type){for(var i=this["cached_"+type].length;i--;)this.object($2(this["cached_"+type][i]));return $2(window2).trigger("resize").trigger("resize.fndtn.interchange")},convert_directive:function(directive){var trimmed=this.trim(directive);return trimmed.length>0?trimmed:"replace"},parse_scenario:function(scenario){var directive_match=scenario[0].match(/(.+),\s*(\w+)\s*$/),media_query=scenario[1];if(directive_match)var path=directive_match[1],directive=directive_match[2];else var cached_split=scenario[0].split(/,\s*$/),path=cached_split[0],directive="";return[this.trim(path),this.convert_directive(directive),this.trim(media_query)]},object:function(el){var raw_arr=this.parse_data_attr(el),scenarios=[],i=raw_arr.length;if(i>0)for(;i--;){var split=raw_arr[i].split(/\((.*?)(\))$/);if(split.length>1){var params=this.parse_scenario(split);scenarios.push(params)}}return this.store(el,scenarios)},store:function(el,scenarios){var uuid=this.random_str(),current_uuid=el.data(this.add_namespace("uuid",!0));return this.cache[current_uuid]?this.cache[current_uuid]:(el.attr(this.add_namespace("data-uuid"),uuid),this.cache[uuid]=scenarios)},trim:function(str){return typeof str=="string"?$2.trim(str):str},set_data_attr:function(init){return init?this.namespace.length>0?this.namespace+"-"+this.settings.load_attr:this.settings.load_attr:this.namespace.length>0?"data-"+this.namespace+"-"+this.settings.load_attr:"data-"+this.settings.load_attr},parse_data_attr:function(el){for(var raw=el.attr(this.attr_name()).split(/\[(.*?)\]/),i=raw.length,output=[];i--;)raw[i].replace(/[\W\d]+/,"").length>4&&output.push(raw[i]);return output},reflow:function(){this.load("images",!0),this.load("nodes",!0)}}})(jQuery,window,window.document),(function($2,window2,document2,undefined){"use strict";var Modernizr2=Modernizr2||!1;Foundation.libs.joyride={name:"joyride",version:"5.4.7",defaults:{expose:!1,modal:!0,keyboard:!0,tip_location:"bottom",nub_position:"auto",scroll_speed:1500,scroll_animation:"linear",timer:0,start_timer_on_click:!0,start_offset:0,next_button:!0,prev_button:!0,tip_animation:"fade",pause_after:[],exposed:[],tip_animation_fade_speed:300,cookie_monster:!1,cookie_name:"joyride",cookie_domain:!1,cookie_expires:365,tip_container:"body",abort_on_close:!0,tip_location_patterns:{top:["bottom"],bottom:[],left:["right","top","bottom"],right:["left","top","bottom"]},post_ride_callback:function(){},post_step_callback:function(){},pre_step_callback:function(){},pre_ride_callback:function(){},post_expose_callback:function(){},template:{link:'<a href="#close" class="joyride-close-tip">×</a>',timer:'<div class="joyride-timer-indicator-wrap"><span class="joyride-timer-indicator"></span></div>',tip:'<div class="joyride-tip-guide"><span class="joyride-nub"></span></div>',wrapper:'<div class="joyride-content-wrapper"></div>',button:'<a href="#" class="small button joyride-next-tip"></a>',prev_button:'<a href="#" class="small button joyride-prev-tip"></a>',modal:'<div class="joyride-modal-bg"></div>',expose:'<div class="joyride-expose-wrapper"></div>',expose_cover:'<div class="joyride-expose-cover"></div>'},expose_add_class:""},init:function(scope,method,options){Foundation.inherit(this,"throttle random_str"),this.settings=this.settings||$2.extend({},this.defaults,options||method),this.bindings(method,options)},go_next:function(){this.settings.$li.next().length<1?this.end():this.settings.timer>0?(clearTimeout(this.settings.automate),this.hide(),this.show(),this.startTimer()):(this.hide(),this.show())},go_prev:function(){this.settings.$li.prev().length<1||(this.settings.timer>0?(clearTimeout(this.settings.automate),this.hide(),this.show(null,!0),this.startTimer()):(this.hide(),this.show(null,!0)))},events:function(){var self=this;$2(this.scope).off(".joyride").on("click.fndtn.joyride",".joyride-next-tip, .joyride-modal-bg",function(e){e.preventDefault(),this.go_next()}.bind(this)).on("click.fndtn.joyride",".joyride-prev-tip",function(e){e.preventDefault(),this.go_prev()}.bind(this)).on("click.fndtn.joyride",".joyride-close-tip",function(e){e.preventDefault(),this.end(this.settings.abort_on_close)}.bind(this)).on("keyup.fndtn.joyride",function(e){if(!(!this.settings.keyboard||!this.settings.riding))switch(e.which){case 39:e.preventDefault(),this.go_next();break;case 37:e.preventDefault(),this.go_prev();break;case 27:e.preventDefault(),this.end(this.settings.abort_on_close)}}.bind(this)),$2(window2).off(".joyride").on("resize.fndtn.joyride",self.throttle(function(){if($2("["+self.attr_name()+"]").length>0&&self.settings.$next_tip&&self.settings.riding){if(self.settings.exposed.length>0){var $els=$2(self.settings.exposed);$els.each(function(){var $this=$2(this);self.un_expose($this),self.expose($this)})}self.is_phone()?self.pos_phone():self.pos_default(!1)}},100))},start:function(){var self=this,$this=$2("["+this.attr_name()+"]",this.scope),integer_settings=["timer","scrollSpeed","startOffset","tipAnimationFadeSpeed","cookieExpires"],int_settings_count=integer_settings.length;!$this.length>0||(this.settings.init||this.events(),this.settings=$this.data(this.attr_name(!0)+"-init"),this.settings.$content_el=$this,this.settings.$body=$2(this.settings.tip_container),this.settings.body_offset=$2(this.settings.tip_container).position(),this.settings.$tip_content=this.settings.$content_el.find("> li"),this.settings.paused=!1,this.settings.attempts=0,this.settings.riding=!0,typeof $2.cookie!="function"&&(this.settings.cookie_monster=!1),(!this.settings.cookie_monster||this.settings.cookie_monster&&!$2.cookie(this.settings.cookie_name))&&(this.settings.$tip_content.each(function(index){var $this2=$2(this);this.settings=$2.extend({},self.defaults,self.data_options($this2));for(var i=int_settings_count;i--;)self.settings[integer_settings[i]]=parseInt(self.settings[integer_settings[i]],10);self.create({$li:$this2,index})}),!this.settings.start_timer_on_click&&this.settings.timer>0?(this.show("init"),this.startTimer()):this.show("init")))},resume:function(){this.set_li(),this.show()},tip_template:function(opts){var $blank,content;return opts.tip_class=opts.tip_class||"",$blank=$2(this.settings.template.tip).addClass(opts.tip_class),content=$2.trim($2(opts.li).html())+this.prev_button_text(opts.prev_button_text,opts.index)+this.button_text(opts.button_text)+this.settings.template.link+this.timer_instance(opts.index),$blank.append($2(this.settings.template.wrapper)),$blank.first().attr(this.add_namespace("data-index"),opts.index),$2(".joyride-content-wrapper",$blank).append(content),$blank[0]},timer_instance:function(index){var txt;return index===0&&this.settings.start_timer_on_click&&this.settings.timer>0||this.settings.timer===0?txt="":txt=$2(this.settings.template.timer)[0].outerHTML,txt},button_text:function(txt){return this.settings.tip_settings.next_button?(txt=$2.trim(txt)||"Next",txt=$2(this.settings.template.button).append(txt)[0].outerHTML):txt="",txt},prev_button_text:function(txt,idx){return this.settings.tip_settings.prev_button?(txt=$2.trim(txt)||"Previous",idx==0?txt=$2(this.settings.template.prev_button).append(txt).addClass("disabled")[0].outerHTML:txt=$2(this.settings.template.prev_button).append(txt)[0].outerHTML):txt="",txt},create:function(opts){this.settings.tip_settings=$2.extend({},this.settings,this.data_options(opts.$li));var buttonText=opts.$li.attr(this.add_namespace("data-button"))||opts.$li.attr(this.add_namespace("data-text")),prevButtonText=opts.$li.attr(this.add_namespace("data-button-prev"))||opts.$li.attr(this.add_namespace("data-prev-text")),tipClass=opts.$li.attr("class"),$tip_content=$2(this.tip_template({tip_class:tipClass,index:opts.index,button_text:buttonText,prev_button_text:prevButtonText,li:opts.$li}));$2(this.settings.tip_container).append($tip_content)},show:function(init,is_prev){var $timer=null;this.settings.$li===undefined||$2.inArray(this.settings.$li.index(),this.settings.pause_after)===-1?(this.settings.paused?this.settings.paused=!1:this.set_li(init,is_prev),this.settings.attempts=0,this.settings.$li.length&&this.settings.$target.length>0?(init&&(this.settings.pre_ride_callback(this.settings.$li.index(),this.settings.$next_tip),this.settings.modal&&this.show_modal()),this.settings.pre_step_callback(this.settings.$li.index(),this.settings.$next_tip),this.settings.modal&&this.settings.expose&&this.expose(),this.settings.tip_settings=$2.extend({},this.settings,this.data_options(this.settings.$li)),this.settings.timer=parseInt(this.settings.timer,10),this.settings.tip_settings.tip_location_pattern=this.settings.tip_location_patterns[this.settings.tip_settings.tip_location],/body/i.test(this.settings.$target.selector)||this.scroll_to(),this.is_phone()?this.pos_phone(!0):this.pos_default(!0),$timer=this.settings.$next_tip.find(".joyride-timer-indicator"),/pop/i.test(this.settings.tip_animation)?($timer.width(0),this.settings.timer>0?(this.settings.$next_tip.show(),setTimeout(function(){$timer.animate({width:$timer.parent().width()},this.settings.timer,"linear")}.bind(this),this.settings.tip_animation_fade_speed)):this.settings.$next_tip.show()):/fade/i.test(this.settings.tip_animation)&&($timer.width(0),this.settings.timer>0?(this.settings.$next_tip.fadeIn(this.settings.tip_animation_fade_speed).show(),setTimeout(function(){$timer.animate({width:$timer.parent().width()},this.settings.timer,"linear")}.bind(this),this.settings.tip_animation_fade_speed)):this.settings.$next_tip.fadeIn(this.settings.tip_animation_fade_speed)),this.settings.$current_tip=this.settings.$next_tip):this.settings.$li&&this.settings.$target.length<1?this.show(init,is_prev):this.end()):this.settings.paused=!0},is_phone:function(){return matchMedia(Foundation.media_queries.small).matches&&!matchMedia(Foundation.media_queries.medium).matches},hide:function(){this.settings.modal&&this.settings.expose&&this.un_expose(),this.settings.modal||$2(".joyride-modal-bg").hide(),this.settings.$current_tip.css("visibility","hidden"),setTimeout($2.proxy(function(){this.hide(),this.css("visibility","visible")},this.settings.$current_tip),0),this.settings.post_step_callback(this.settings.$li.index(),this.settings.$current_tip)},set_li:function(init,is_prev){init?(this.settings.$li=this.settings.$tip_content.eq(this.settings.start_offset),this.set_next_tip(),this.settings.$current_tip=this.settings.$next_tip):(is_prev?this.settings.$li=this.settings.$li.prev():this.settings.$li=this.settings.$li.next(),this.set_next_tip()),this.set_target()},set_next_tip:function(){this.settings.$next_tip=$2(".joyride-tip-guide").eq(this.settings.$li.index()),this.settings.$next_tip.data("closed","")},set_target:function(){var cl=this.settings.$li.attr(this.add_namespace("data-class")),id=this.settings.$li.attr(this.add_namespace("data-id")),$sel=function(){return id?$2(d
15ocument2.getElementById(id)):cl?$2("."+cl).first():$2("body")};this.settings.$target=$sel()},scroll_to:function(){var window_half,tipOffset;window_half=$2(window2).height()/2,tipOffset=Math.ceil(this.settings.$target.offset().top-window_half+this.settings.$next_tip.outerHeight()),tipOffset!=0&&$2("html, body").stop().animate({scrollTop:tipOffset},this.settings.scroll_speed,"swing")},paused:function(){return $2.inArray(this.settings.$li.index()+1,this.settings.pause_after)===-1},restart:function(){this.hide(),this.settings.$li=undefined,this.show("init")},pos_default:function(init){var $nub=this.settings.$next_tip.find(".joyride-nub"),nub_width=Math.ceil($nub.outerWidth()/2),nub_height=Math.ceil($nub.outerHeight()/2),toggle=init||!1;if(toggle&&(this.settings.$next_tip.css("visibility","hidden"),this.settings.$next_tip.show()),/body/i.test(this.settings.$target.selector))this.settings.$li.length&&this.pos_modal($nub);else{var topAdjustment=this.settings.tip_settings.tipAdjustmentY?parseInt(this.settings.tip_settings.tipAdjustmentY):0,leftAdjustment=this.settings.tip_settings.tipAdjustmentX?parseInt(this.settings.tip_settings.tipAdjustmentX):0;this.bottom()?(this.rtl?this.settings.$next_tip.css({top:this.settings.$target.offset().top+nub_height+this.settings.$target.outerHeight()+topAdjustment,left:this.settings.$target.offset().left+this.settings.$target.outerWidth()-this.settings.$next_tip.outerWidth()+leftAdjustment}):this.settings.$next_tip.css({top:this.settings.$target.offset().top+nub_height+this.settings.$target.outerHeight()+topAdjustment,left:this.settings.$target.offset().left+leftAdjustment}),this.nub_position($nub,this.settings.tip_settings.nub_position,"top")):this.top()?(this.rtl?this.settings.$next_tip.css({top:this.settings.$target.offset().top-this.settings.$next_tip.outerHeight()-nub_height+topAdjustment,left:this.settings.$target.offset().left+this.settings.$target.outerWidth()-this.settings.$next_tip.outerWidth()}):this.settings.$next_tip.css({top:this.settings.$target.offset().top-this.settings.$next_tip.outerHeight()-nub_height+topAdjustment,left:this.settings.$target.offset().left+leftAdjustment}),this.nub_position($nub,this.settings.tip_settings.nub_position,"bottom")):this.right()?(this.settings.$next_tip.css({top:this.settings.$target.offset().top+topAdjustment,left:this.settings.$target.outerWidth()+this.settings.$target.offset().left+nub_width+leftAdjustment}),this.nub_position($nub,this.settings.tip_settings.nub_position,"left")):this.left()&&(this.settings.$next_tip.css({top:this.settings.$target.offset().top+topAdjustment,left:this.settings.$target.offset().left-this.settings.$next_tip.outerWidth()-nub_width+leftAdjustment}),this.nub_position($nub,this.settings.tip_settings.nub_position,"right")),!this.visible(this.corners(this.settings.$next_tip))&&this.settings.attempts<this.settings.tip_settings.tip_location_pattern.length&&($nub.removeClass("bottom").removeClass("top").removeClass("right").removeClass("left"),this.settings.tip_settings.tip_location=this.settings.tip_settings.tip_location_pattern[this.settings.attempts],this.settings.attempts++,this.pos_default())}toggle&&(this.settings.$next_tip.hide(),this.settings.$next_tip.css("visibility","visible"))},pos_phone:function(init){var tip_height=this.settings.$next_tip.outerHeight(),tip_offset=this.settings.$next_tip.offset(),target_height=this.settings.$target.outerHeight(),$nub=$2(".joyride-nub",this.settings.$next_tip),nub_height=Math.ceil($nub.outerHeight()/2),toggle=init||!1;$nub.removeClass("bottom").removeClass("top").removeClass("right").removeClass("left"),toggle&&(this.settings.$next_tip.css("visibility","hidden"),this.settings.$next_tip.show()),/body/i.test(this.settings.$target.selector)?this.settings.$li.length&&this.pos_modal($nub):this.top()?(this.settings.$next_tip.offset({top:this.settings.$target.offset().top-tip_height-nub_height}),$nub.addClass("bottom")):(this.settings.$next_tip.offset({top:this.settings.$target.offset().top+target_height+nub_height}),$nub.addClass("top")),toggle&&(this.settings.$next_tip.hide(),this.settings.$next_tip.css("visibility","visible"))},pos_modal:function($nub){this.center(),$nub.hide(),this.show_modal()},show_modal:function(){if(!this.settings.$next_tip.data("closed")){var joyridemodalbg=$2(".joyride-modal-bg");joyridemodalbg.length<1&&$2("body").append(this.settings.template.modal).show(),/pop/i.test(this.settings.tip_animation)?joyridemodalbg.show():joyridemodalbg.fadeIn(this.settings.tip_animation_fade_speed)}},expose:function(){var expose,exposeCover,el,origCSS,origClasses,randId="expose-"+this.random_str(6);if(arguments.length>0&&arguments[0]instanceof $2)el=arguments[0];else if(this.settings.$target&&!/body/i.test(this.settings.$target.selector))el=this.settings.$target;else return!1;if(el.length<1)return window2.console&&console.error("element not valid",el),!1;expose=$2(this.settings.template.expose),this.settings.$body.append(expose),expose.css({top:el.offset().top,left
vendor: 12,307 bytes, line 15
15:el.offset().left,width:el.outerWidth(!0),height:el.outerHeight(!0)}),exposeCover=$2(this.settings.template.expose_cover),origCSS={zIndex:el.css("z-index"),position:el.css("position")},origClasses=el.attr("class")==null?"":el.attr("class"),el.css("z-index",parseInt(expose.css("z-index"))+1),origCSS.position=="static"&&el.css("position","relative"),el.data("expose-css",origCSS),el.data("orig-class",origClasses),el.attr("class",origClasses+" "+this.settings.expose_add_class),exposeCover.css({top:el.offset().top,left:el.offset().left,width:el.outerWidth(!0),height:el.outerHeight(!0)}),this.settings.modal&&this.show_modal(),this.settings.$body.append(exposeCover),expose.addClass(randId),exposeCover.addClass(randId),el.data("expose",randId),this.settings.post_expose_callback(this.settings.$li.index(),this.settings.$next_tip,el),this.add_exposed(el)},un_expose:function(){var exposeId,el,expose,origCSS,origClasses,clearAll=!1;if(arguments.length>0&&arguments[0]instanceof $2)el=arguments[0];else if(this.settings.$target&&!/body/i.test(this.settings.$target.selector))el=this.settings.$target;else return!1;if(el.length<1)return window2.console&&console.error("element not valid",el),!1;exposeId=el.data("expose"),expose=$2("."+exposeId),arguments.length>1&&(clearAll=arguments[1]),clearAll===!0?$2(".joyride-expose-wrapper,.joyride-expose-cover").remove():expose.remove(),origCSS=el.data("expose-css"),origCSS.zIndex=="auto"?el.css("z-index",""):el.css("z-index",origCSS.zIndex),origCSS.position!=el.css("position")&&(origCSS.position=="static"?el.css("position",""):el.css("position",origCSS.position)),origClasses=el.data("orig-class"),el.attr("class",origClasses),el.removeData("orig-classes"),el.removeData("expose"),el.removeData("expose-z-index"),this.remove_exposed(el)},add_exposed:function(el){this.settings.exposed=this.settings.exposed||[],el instanceof $2||typeof el=="object"?this.settings.exposed.push(el[0]):typeof el=="string"&&this.settings.exposed.push(el)},remove_exposed:function(el){var search,i;for(el instanceof $2?search=el[0]:typeof el=="string"&&(search=el),this.settings.exposed=this.settings.exposed||[],i=this.settings.exposed.length;i--;)if(this.settings.exposed[i]==search){this.settings.exposed.splice(i,1);return}},center:function(){var $w=$2(window2);return this.settings.$next_tip.css({top:($w.height()-this.settings.$next_tip.outerHeight())/2+$w.scrollTop(),left:($w.width()-this.settings.$next_tip.outerWidth())/2+$w.scrollLeft()}),!0},bottom:function(){return/bottom/i.test(this.settings.tip_settings.tip_location)},top:function(){return/top/i.test(this.settings.tip_settings.tip_location)},right:function(){return/right/i.test(this.settings.tip_settings.tip_location)},left:function(){return/left/i.test(this.settings.tip_settings.tip_location)},corners:function(el){var w=$2(window2),window_half=w.height()/2,tipOffset=Math.ceil(this.settings.$target.offset().top-window_half+this.settings.$next_tip.outerHeight()),right=w.width()+w.scrollLeft(),offsetBottom=w.height()+tipOffset,bottom=w.height()+w.scrollTop(),top=w.scrollTop();return tipOffset<top&&(tipOffset<0?top=0:top=tipOffset),offsetBottom>bottom&&(bottom=offsetBottom),[el.offset().top<top,right<el.offset().left+el.outerWidth(),bottom<el.offset().top+el.outerHeight(),w.scrollLeft()>el.offset().left]},visible:function(hidden_corners){for(var i=hidden_corners.length;i--;)if(hidden_corners[i])return!1;return!0},nub_position:function(nub,pos,def){pos==="auto"?nub.addClass(def):nub.addClass(pos)},startTimer:function(){this.settings.$li.length?this.settings.automate=setTimeout(function(){this.hide(),this.show(),this.startTimer()}.bind(this),this.settings.timer):clearTimeout(this.settings.automate)},end:function(abort){this.settings.cookie_monster&&$2.cookie(this.settings.cookie_name,"ridden",{expires:this.settings.cookie_expires,domain:this.settings.cookie_domain}),this.settings.timer>0&&clearTimeout(this.settings.automate),this.settings.modal&&this.settings.expose&&this.un_expose(),$2(this.scope).off("keyup.joyride"),this.settings.$next_tip.data("closed",!0),this.settings.riding=!1,$2(".joyride-modal-bg").hide(),this.settings.$current_tip.hide(),(typeof abort>"u"||abort===!1)&&(this.settings.post_step_callback(this.settings.$li.index(),this.settings.$current_tip),this.settings.post_ride_callback(this.settings.$li.index(),this.settings.$current_tip)),$2(".joyride-tip-guide").remove()},off:function(){$2(this.scope).off(".joyride"),$2(window2).off(".joyride"),$2(".joyride-close-tip, .joyride-next-tip, .joyride-modal-bg").off(".joyride"),$2(".joyride-tip-guide, .joyride-modal-bg").remove(),clearTimeout(this.settings.automate),this.settings={}},reflow:function(){}}})(jQuery,window,window.document),(function($2,window2,document2,undefined){"use strict";Foundation.libs["magellan-expedition"]={name:"magellan-expedition",version:"5.4.7",settings:{active_class:"active",threshold:0,destination_threshold:20,throttle_delay:30,fixed_top:0},init:function(scope,method,options){Foundation.inherit(this,"throttle"),this.bindings(method,options)},events:function(){var self=this,S=self.S,settings2=self.settings;self.set_expedition_position(),S(self.scope).off(".magellan").on("click.fndtn.magellan","["+self.add_namespace("data-magellan-arrival")+'] a[href^="#"]',function(e){e.preventDefault();var expedition=$2(this).closest("["+self.attr_name()+"]"),settings3=expedition.data("magellan-expedition-init"),hash=this.hash.split("#").join(""),target=$2("a[name='"+hash+"']");target.length===0&&(target=$2("#"+hash));var scroll_top=target.offset().top-settings3.destination_threshold+1;scroll_top=scroll_top-expedition.outerHeight(),$2("html, body").stop().animate({scrollTop:scroll_top},700,"swing",function(){history.pushState?history.pushState(null,null,"#"+hash):location.hash="#"+hash})}).on("scroll.fndtn.magellan",self.throttle(this.check_for_arrivals.bind(this),settings2.throttle_delay)),$2(window2).on("resize.fndtn.magellan",self.throttle(this.set_expedition_position.bind(this),settings2.throttle_delay))},check_for_arrivals:function(){var self=this;self.update_arrivals(),self.update_expedition_positions()},set_expedition_position:function(){var self=this;$2("["+this.attr_name()+"=fixed]",self.scope).each(function(idx,el){var expedition=$2(this),settings2=expedition.data("magellan-expedition-init"),styles=expedition.attr("styles"),top_offset,fixed_top;expedition.attr("style",""),top_offset=expedition.offset().top+settings2.threshold,fixed_top=parseInt(expedition.data("magellan-fixed-top")),isNaN(fixed_top)||(self.settings.fixed_top=fixed_top),expedition.data(self.data_attr("magellan-top-offset"),top_offset),expedition.attr("style",styles)})},update_expedition_positions:function(){var self=this,window_top_offset=$2(window2).scrollTop();$2("["+this.attr_name()+"=fixed]",self.scope).each(function(){var expedition=$2(this),settings2=expedition.data("magellan-expedition-init"),styles=expedition.attr("style"),top_offset=expedition.data("magellan-top-offset");if(window_top_offset+self.settings.fixed_top>=top_offset){var placeholder=expedition.prev("["+self.add_namespace("data-magellan-expedition-clone")+"]");placeholder.length===0&&(placeholder=expedition.clone(),placeholder.removeAttr(self.attr_name()),placeholder.attr(self.add_namespace("data-magellan-expedition-clone"),""),expedition.before(placeholder)),expedition.css({position:"fixed",top:settings2.fixed_top}).addClass("fixed")}else expedition.prev("["+self.add_namespace("data-magellan-expedition-clone")+"]").remove(),expedition.attr("style",styles).css("position","").css("top","").removeClass("fixed")})},update_arrivals:function(){var self=this,window_top_offset=$2(window2).scrollTop();$2("["+this.attr_name()+"]",self.scope).each(function(){var expedition=$2(this),settings2=expedition.data(self.attr_name(!0)+"-init"),offsets=self.offsets(expedition,window_top_offset),arrivals=expedition.find("["+self.add_namespace("data-magellan-arrival")+"]"),active_item=!1;offsets.each(function(idx,item){if(item.viewport_offset>=item.top_offset){var arrivals2=expedition.find("["+self.add_namespace("data-magellan-arrival")+"]");return arrivals2.not(item.arrival).removeClass(settings2.active_class),item.arrival.addClass(settings2.active_class),active_item=!0,!0}}),active_item||arrivals.removeClass(settings2.active_class)})},offsets:function(expedition,window_offset){var self=this,settings2=expedition.data(self.attr_name(!0)+"-init"),viewport_offset=window_offset;return expedition.find("["+self.add_namespace("data-magellan-arrival")+"]").map(function(idx,el){var name=$2(this).data(self.data_attr("magellan-arrival")),dest=$2("["+self.add_namespace("data-magellan-destination")+"="+name+"]");if(dest.length>0){var top_offset=Math.floor(dest.offset().top-settings2.destination_threshold-expedition.outerHeight());return{destination:dest,arrival:$2(this),top_offset,viewport_offset}}}).sort(function(a,b){return a.top_offset<b.top_offset?-1:a.top_offset>b.top_offset?1:0})},data_attr:function(str){return this.namespace.length>0?this.namespace+"-"+str:str},off:function(){this.S(this.scope).off(".magellan"),this.S(window2).off(".magellan")},reflow:function(){var self=this;$2("["+self.add_namespace("data-magellan-expedition-clone")+"]",self.scope).remove()}}})(jQuery,window,window.document),(function($2,window2,document2,undefined){"use strict";Foundation.libs.offcanvas={name:"offcanvas",version:"5.4.7",settings:{open_method:"overlap",close_on_click:!1},init:function(scope,method,options){this.bindings(method,options)},events:function(){var self=this,S=self.S,move_class="",right_postfix="",left_postfix="";this.settings.open_method==="move"?(move_class="move-",right_postfix="right",left_postfix="left"):this.settings.open_method==="overlap_single"?(move_class="offcanvas-overlap-",right_postfix="right",left_postfix="left"):this.settings.open_method==="overlap"&&(move_class="offcanvas-overlap"),S(this.scope).off(".offcanvas").on("click.fndtn.offcanvas",".left-off-canvas-toggle",function(e){self.click_toggle_class(e,move_class+right_postfix),self.settings.open_method!=="overlap"&&S(".left-submenu").removeClass(move_class+right_postfix),$2(".left-off-canvas-toggle").attr("aria-expanded","true"),$2("body").toggleClass("menu-mobile-active")}).on("click.fndtn.offcanvas",".left-off-canvas-menu a",function(e){var settings2=self.get_settings(e),parent=S(this).parent();settings2.close_on_click&&!parent.hasClass("has-submenu")&&!parent.hasClass("back")?(self.hide.call(self,move_class+right_postfix,self.get_wrapper(e)),parent.parent().removeClass(move_class+right_postfix)):S(this).parent().hasClass("has-submenu")?(e.preventDefault(),S(this).siblings(".left-submenu").toggleClass(move_class+right_postfix)):parent.hasClass("back")&&(e.preventDefault(),parent.parent().removeClass(move_class+right_postfix)),$2(".left-off-canvas-toggle").attr("aria-expanded","true")}).on("click.fndtn.offcanvas",".right-off-canvas-toggle",function(e){self.click_toggle_class(e,move_class+left_postfix),self.settings.open_method!=="overlap"&&S(".right-submenu").removeClass(move_class+left_postfix),$2(".right-off-canvas-toggle").attr("aria-expanded","true")}).on("click.fndtn.offcanvas",".right-off-canvas-menu a",function(e){var settings2=self.get_settings(e),parent=S(this).parent();settings2.close_on_click&&!parent.hasClass("has-submenu")&&!parent.hasClass("back")?(self.hide.call(self,move_class+left_postfix,self.get_wrapper(e)),parent.parent().removeClass(move_class+left_postfix)):S(this).parent().hasClass("has-submenu")?(e.preventDefault(),S(this).siblings(".right-submenu").toggleClass(move_class+left_postfix)):parent.hasClass("back")&&(e.preventDefault(),parent.parent().removeClass(move_class+left_postfix)),$2(".right-off-canvas-toggle").attr("aria-expanded","true")}).on("click.fndtn.offcanvas",".exit-off-canvas",function(e){self.click_remove_class(e,move_class+left_postfix),S(".right-submenu").removeClass(move_class+left_postfix),right_postfix&&(self.click_remove_class(e,move_class+right_postfix),S(".left-submenu").removeClass(move_class+left_postfix)),$2(".right-off-canvas-toggle").attr("aria-expanded","true")}).on("click.fndtn.offcanvas",".exit-off-canvas",function(e){self.click_remove_class(e,move_class+left_postfix),$2(".left-off-canvas-toggle").attr("aria-expanded","fal
15se"),right_postfix&&(self.click_remove_class(e,move_class+right_postfix),$2(".right-off-canvas-toggle").attr("aria-expanded","false"))})},toggle:function(class_name,$off_canvas){$off_canvas=$off_canvas||this.get_wrapper(),$off_canvas.is("."+class_name)?this.hide(class_name,$off_canvas):this.show(class_name,$off_canvas)},show:function(class_name,$off_canvas){$off_canvas=$off_canvas||this.get_wrapper(),$off_canvas.trigger("open").trigger("open.fndtn.offcanvas"),$off_canvas.addClass(class_name)},hide:function(class_name,$off_canvas){$off_canvas=$off_canvas||this.get_wrapper(),$off_canvas.trigger("close").trigger("close.fndtn.offcanvas"),$off_canvas.removeClass(class_name)},click_toggle_class:function(e,class_name){e.preventDefault();var $off_canvas=this.get_wrapper(e);this.toggle(class_name,$off_canvas)},click_remove_class:function(e,class_name){e.preventDefault();var $off_canvas=this.get_wrapper(e);this.hide(class_name,$off_canvas)},get_settings:function(e){var offcanvas=this.S(e.target).closest("["+this.attr_name()+"]");return offcanvas.data(this.attr_name(!0)+"-init")||this.settings},get_wrapper:function(e){var $off_canvas=this.S(e?e.target:this.scope).closest(".off-canvas-wrap");return $off_canvas.length===0&&($off_canvas=this.S(".off-canvas-wrap")),$off_canvas},reflow:function(){}}})(jQuery,window,window.document),(function($2,window2,document2,undefined){"use strict";var noop=function(){},Orbit=function(el,settings2){if(el.hasClass(settings2.slides_container_class))return this;var self=this,container,slides_container=el,number_container,bullets_container,timer_container,idx=0,animate,timer,locked=!1,adjust_height_after=!1;self.slides=function(){return slides_container.children(settings2.slide_selector)},self.slides().first().addClass(settings2.active_slide_class),self.update_slide_number=function(index){settings2.slide_number&&(number_container.find("span:first").text(parseInt(index)+1),number_container.find("span:last").text(self.slides().length)),settings2.bullets&&(bullets_container.children().removeClass(settings2.bullets_active_class),$2(bullets_container.children().get(index)).addClass(settings2.bullets_active_class))},self.update_active_link=function(index){var link=$2('[data-orbit-link="'+self.slides().eq(index).attr("data-orbit-slide")+'"]');link.siblings().removeClass(settings2.bullets_active_class),link.addClass(settings2.bullets_active_class)},self.build_markup=function(){slides_container.wrap('<div class="'+settings2.container_class+'"></div>'),container=slides_container.parent(),slides_container.addClass(settings2.slides_container_class),settings2.stack_on_small&&container.addClass(settings2.stack_on_small_class),settings2.navigation_arrows&&(container.append($2('<a href="#"><span></span></a>').addClass(settings2.prev_class)),container.append($2('<a href="#"><span></span></a>').addClass(settings2.next_class))),settings2.timer&&(timer_container=$2("<div>").addClass(settings2.timer_container_class),timer_container.append("<span>"),timer_container.append($2("<div>").addClass(settings2.timer_progress_class)),timer_container.addClass(settings2.timer_paused_class),container.append(timer_container)),settings2.slide_number&&(number_container=$2("<div>").addClass(settings2.slide_number_class),number_container.append("<span></span> "+settings2.slide_number_text+" <span></span>"),container.append(number_container)),settings2.bullets&&(bullets_container=$2("<ol>").addClass(settings2.bullets_container_class),container.append(bullets_container),bullets_container.wrap('<div class="orbit-bullets-container"></div>'),self.slides().each(function(idx2,el2){var bullet=$2("<li>").attr("data-orbit-slide",idx2).on("click",self.link_bullet);bullets_container.append(bullet)}))},self._goto=function(next_idx,start_timer){if(next_idx===idx)return!1;typeof timer=="object"&&timer.restart();var slides=self.slides(),dir="next";if(locked=!0,next_idx<idx&&(dir="prev"),next_idx>=slides.length){if(!settings2.circular)return!1;next_idx=0}else if(next_idx<0){if(!settings2.circular)return!1;next_idx=slides.length-1}var current=$2(slides.get(idx)),next=$2(slides.get(next_idx));current.css("zIndex",2),current.removeClass(settings2.active_slide_class),next.css("zIndex",4).addClass(settings2.active_slide_class),slides_container.trigger("before-sl
15ide-change.fndtn.orbit"),settings2.before_slide_change(),self.update_active_link(next_idx);var callback=function(){var unlock=function(){idx=next_idx,locked=!1,start_timer===!0&&(timer=self.create_timer(),timer.start()),self.update_slide_number(idx),slides_container.trigger("after-slide-change.fndtn.orbit",[{slide_number:idx,total_slides:slides.length}]),settings2.after_slide_change(idx,slides.length)};slides_container.height()!=next.height()&&settings2.variable_height?slides_container.animate({height:next.height()},250,"linear",unlock):unlock()};if(slides.length===1)return callback(),!1;var start_animation=function(){dir==="next"&&animate.next(current,next,callback),dir==="prev"&&animate.prev(current,next,callback)};next.height()>slides_container.height()&&settings2.variable_height?slides_container.animate({height:next.height()},250,"linear",start_animation):start_animation()},self.next=function(e){e.stopImmediatePropagation(),e.preventDefault(),self._goto(idx+1)},self.prev=function(e){e.stopImmediatePropagation(),e.preventDefault(),self._goto(idx-1)},self.link_custom=function(e){e.preventDefault();var link=$2(this).attr("data-orbit-link");if(typeof link=="string"&&(link=$2.trim(link))!=""){var slide=container.find("[data-orbit-slide="+link+"]");slide.index()!=-1&&self._goto(slide.index())}},self.link_bullet=function(e){var index=$2(this).attr("data-orbit-slide");if(typeof index=="string"&&(index=$2.trim(index))!="")if(isNaN(parseInt(index))){var slide=container.find("[data-orbit-slide="+index+"]");slide.index()!=-1&&self._goto(slide.index()+1)}else self._goto(parseInt(index))},self.timer_callback=function(){self._goto(idx+1,!0)},self.compute_dimensions=function(){var current=$2(self.slides().get(idx)),h=current.height();settings2.variable_height||self.slides().each(function(){$2(this).height()>h&&(h=$2(this).height())}),slides_container.height(h)},self.create_timer=function(){var t=new Timer(container.find("."+settings2.timer_container_class),settings2,self.timer_callback);return t},self.stop_timer=function(){typeof timer=="object"&&timer.stop()},self.toggle_timer=function(){var t=container.find("."+settings2.timer_container_class);t.hasClass(settings2.timer_paused_class)?(typeof timer>"u"&&(timer=self.create_timer()),timer.start()):typeof timer=="object"&&timer.stop()},self.init=function(){self.build_markup(),settings2.timer&&(timer=self.create_timer(),Foundation.utils.image_loaded(this.slides().children("img"),timer.start)),animate=new FadeAnimation(settings2,slides_container),settings2.animation==="slide"&&(animate=new SlideAnimation(settings2,slides_container)),container.on("click","."+settings2.next_class,self.next),container.on("click","."+settings2.prev_class,self.prev),settings2.next_on_click&&container.on("click","."+settings2.slides_container_class+" [data-orbit-slide]",self.link_bullet),container.on("click",self.toggle_timer),settings2.swipe&&container.on("touchstart.fndtn.orbit",function(e){e.touches||(e=e.originalEvent);var data={start_page_x:e.touches[0].pageX,start_page_y:e.touches[0].pageY,start_time:new Date().getTime(),delta_x:0,is_scrolling:undefined};container.data("swipe-transition",data),e.stopPropagation()}).on("touchmove.fndtn.orbit",function(e){if(e.touches||(e=e.originalEvent),!(e.touches.length>1||e.scale&&e.scale!==1)){var data=container.data("swipe-transition");if(typeof data>"u"&&(data={}),data.delta_x=e.touches[0].pageX-data.start_page_x,typeof data.is_scrolling>"u"&&(data.is_scrolling=!!(data.is_scrolling||Math.abs(data.delta_x)<Math.abs(e.touches[0].pageY-data.start_page_y))),!data.is_scrolling&&!data.active){e.preventDefault();var direction=data.delta_x<0?idx+1:idx-1;data.active=!0,self._goto(direction)}}}).on("touchend.fndtn.orbit",function(e){container.data("swipe-transition",{}),e.stopPropagation()}),container.on("mouseenter.fndtn.orbit",function(e){settings2.timer&&settings2.pause_on_hover&&self.stop_timer()}).on("mouseleave.fndtn.orbit",function(e){settings2.timer&&settings2.resume_on_mouseout&&timer.start()}),$2(document2).on("click","[data-orbit-link]",self.link_custom),$2(window2).on("load resize",self.compute_dimensions),Foundation.utils.image_loaded(this.slides().children("img"),self.compute_dimensions),Foundation.utils.image_loaded(this.slides().children("img"),function(){container.prev("."+settings2.preloader_class).css("display","none"),self.update_slide_number(0),self.update_active_link(0),slides_container.trigger("ready.fndtn.orbit")})},self.init()},Timer=function(el,settings2,callback){var self=this,duration=settings2.timer_speed,progress=el.find("."+settings2.timer_progress_class),start,timeout,left=-1;this.update_progress=function(w){var new_progress=progress.clone();new_progress.attr("style",""),new_progress.css("width",w+"%"),progress.replaceWith(new_progress),progress=new_progress},this.restart=function(){clearTimeout(timeout),el.addClass(settings2.timer_paused_class),left=-1,self.update_progress(0)},this.start=function(){if(!el.hasClass(settings2.timer_paused_class))return!0;left=left===-1?duration:left,el.removeClass(settings2.timer_paused_class),start=new Date().getTime(),progress.animate({width:"100%"},left,"linear"),timeout=setTimeout(function(){self.restart(),callback()},left),el.trigger("timer-started.fndtn.orbit")},this.stop=function(){if(el.hasClass(settings2.timer_paused_class))return!0;clearTimeout(timeout),el.addClass(settings2.timer_paused_class);var end=new Date().getTime();left=left-(end-start);var w=100-left/duration*100;self.update_progress(w),el.trigger("timer-stopped.fndtn.orbit")}},SlideAnimation=function(settings2,container){var duration=settings2.animation_speed,is_rtl=$2("html[dir=rtl]").length===1,margin=is_rtl?"marginRight":"marginLeft",animMargin={};animMargin[margin]="0%",this.next=function(current,next,callback){current.animate({marginLeft:"-100%"},duration),next.animate(animMargin,duration,function(){current.css(margin,"100%"),callback()})},this.prev=function(current,prev,callback){current.animate({marginLeft:"100%"},duration),prev.css(margin,"-100%"),prev.animate(animMargin,duration,function(){current.css(margin,"100%"),callback()})}},FadeAnimation=function(settings2,container){var duration=settings2.animation_speed,is_rtl=$2("html[dir=rtl]").length===1,margin=is_rtl?"marginRight":"marginLeft";this.next=function(current,next,callback){next.css({margin:"0%",opacity:"0.01"}),next.animate({opacity:"1"},duration,"linear",function(){current.css("margin","100%"),callback()})},this.prev=function(current,prev,callback){prev.css({margin:"0%",opacity:"0.01"}),prev.animate({opacity:"1"},duration,"linear",function(){current.css("margin","100%"),callback()})}};Foundation.libs=Foundation.libs||{},Foundation.libs.orbit={name:"orbit",version:"5.4.7",settings:{animation:"slide",timer_speed:1e4,pause_on_hover:!0,resume_on_mouseout:!1,next_on_click:!0,animation_speed:500,stack_on_small:!1,navigation_arrows:!0,slide_number:!0,slide_number_text:"of",container_
vendor: 20,485 bytes, line 15
15class:"orbit-container",stack_on_small_class:"orbit-stack-on-small",next_class:"orbit-next",prev_class:"orbit-prev",timer_container_class:"orbit-timer",timer_paused_class:"paused",timer_progress_class:"orbit-progress",slides_container_class:"orbit-slides-container",preloader_class:"preloader",slide_selector:"*",bullets_container_class:"orbit-bullets",bullets_active_class:"active",slide_number_class:"orbit-slide-number",caption_class:"orbit-caption",active_slide_class:"active",orbit_transition_class:"orbit-transitioning",bullets:!0,circular:!0,timer:!0,variable_height:!1,swipe:!0,before_slide_change:noop,after_slide_change:noop},init:function(scope,method,options){var self=this;this.bindings(method,options)},events:function(instance){var orbit_instance=new Orbit(this.S(instance),this.S(instance).data("orbit-init"));this.S(instance).data(this.name+"-instance",orbit_instance)},reflow:function(){var self=this;if(self.S(self.scope).is("[data-orbit]")){var $el=self.S(self.scope),instance=$el.data(self.name+"-instance");instance.compute_dimensions()}else self.S("[data-orbit]",self.scope).each(function(idx,el){var $el2=self.S(el),opts=self.data_options($el2),instance2=$el2.data(self.name+"-instance");instance2.compute_dimensions()})}}})(jQuery,window,window.document),(function($2,window2,document2,undefined){"use strict";Foundation.libs.reveal={name:"reveal",version:"5.4.7",locked:!1,settings:{animation:"fadeAndPop",animation_speed:250,close_on_background_click:!0,close_on_esc:!0,dismiss_modal_class:"close-reveal-modal",bg_class:"reveal-modal-bg",root_element:"body",open:function(){},opened:function(){},close:function(){},closed:function(){},bg:$2(".reveal-modal-bg"),css:{open:{opacity:0,visibility:"visible",display:"block"},close:{opacity:1,visibility:"hidden",display:"none"}}},init:function(scope,method,options){$2.extend(!0,this.settings,method,options),this.bindings(method,options)},events:function(scope){var self=this,S=self.S;return S(this.scope).off(".reveal").on("click.fndtn.reveal","["+this.add_namespace("data-reveal-id")+"]:not([disabled])",function(e){if(e.preventDefault(),!self.locked){var element=S(this),ajax=element.data(self.data_attr("reveal-ajax"));if(self.locked=!0,typeof ajax>"u")self.open.call(self,element);else{var url=ajax===!0?element.attr("href"):ajax;self.open.call(self,element,{url})}}}),S(document2).on("click.fndtn.reveal",this.close_targets(),function(e){if(e.preventDefault(),!self.locked){var settings2=S("["+self.attr_name()+"].open").data(self.attr_name(!0)+"-init")||self.settings,bg_clicked=S(e.target)[0]===S("."+settings2.bg_class)[0];if(bg_clicked)if(settings2.close_on_background_click)e.stopPropagation();else return;self.locked=!0,self.close.call(self,bg_clicked?S("["+self.attr_name()+"].open"):S(this).closest("["+self.attr_name()+"]"))}}),S("["+self.attr_name()+"]",this.scope).length>0?S(this.scope).on("open.fndtn.reveal",this.settings.open).on("opened.fndtn.reveal",this.settings.opened).on("opened.fndtn.reveal",this.open_video).on("close.fndtn.reveal",this.settings.close).on("closed.fndtn.reveal",this.settings.closed).on("closed.fndtn.reveal",this.close_video):S(this.scope).on("open.fndtn.reveal","["+self.attr_name()+"]",this.settings.open).on("opened.fndtn.reveal","["+self.attr_name()+"]",this.settings.opened).on("opened.fndtn.reveal","["+self.attr_name()+"]",this.open_video).on("close.fndtn.reveal","["+self.attr_name()+"]",this.settings.close).on("closed.fndtn.reveal","["+self.attr_name()+"]",this.settings.closed).on("closed.fndtn.reveal","["+self.attr_name()+"]",this.close_video),!0},key_up_on:function(scope){var self=this;return self.S("body").off("keyup.fndtn.reveal").on("keyup.fndtn.reveal",function(event){var open_modal=self.S("["+self.attr_name()+"].open"),settings2=open_modal.data(self.attr_name(!0)+"-init")||self.settings;settings2&&event.which===27&&settings2.close_on_esc&&!self.locked&&self.close.call(self,open_modal)}),!0},key_up_off:function(scope){return this.S("body").off("keyup.fndtn.reveal"),!0},open:function(target,ajax_settings){var self=this,modal;target?typeof target.selector<"u"?modal=self.S("#"+target.data(self.data_attr("reveal-id"))).first():(modal=self.S(this.scope),ajax_settings=target):modal=self.S(this.scope);var settings2=modal.data(self.attr_name(!0)+"-init");if(settings2=settings2||this.settings,modal.hasClass("open")&&target.attr("data-reveal-id")==modal.attr("id"))return self.close(modal);if(!modal.hasClass("open")){var open_modal=self.S("["+self.attr_name()+"].open");if(typeof modal.data("css-top")>"u"&&modal.data("css-top",parseInt(modal.css("top"),10)).data("offset",this.cache_offset(modal)),this.key_up_on(modal),modal.trigger("open").trigger("open.fndtn.reveal"),open_modal.length<1&&this.toggle_bg(modal,!0),typeof ajax_settings=="string"&&(ajax_settings={url:ajax_settings}),typeof ajax_settings>"u"||!ajax_settings.url)open_modal.length>0&&this.hide(open_modal,settings2.css.close),this.show(modal,settings2.css.open);else{var old_success=typeof ajax_settings.success<"u"?ajax_settings.success:null;$2.extend(ajax_settings,{success:function(data,textStatus,jqXHR){$2.isFunction(old_success)&&old_success(data,textStatus,jqXHR),modal.html(data),self.S(modal).foundation("section","reflow"),self.S(modal).children().foundation(),open_modal.length>0&&self.hide(open_modal,settings2.css.close),self.show(modal,settings2.css.open)}}),$2.ajax(ajax_settings)}}self.S(window2).trigger("resize")},close:function(modal){var modal=modal&&modal.length?modal:this.S(this.scope),open_modals=this.S("["+this.attr_name()+"].open"),settings2=modal.data(this.attr_name(!0)+"-init")||this.settings;open_modals.length>0&&(this.locked=!0,this.key_up_off(modal),modal.trigger("close").trigger("close.fndtn.reveal"),this.toggle_bg(modal,!1),this.hide(open_modals,settings2.css.close,settings2))},close_targets:function(){var base="."+this.settings.dismiss_modal_class;return this.settings.close_on_background_click?base+", ."+this.settings.bg_class:base},toggle_bg:function(modal,state){this.S("."+this.settings.bg_class).length===0&&(this.settings.bg=$2("<div />",{class:this.settings.bg_class}).appendTo("body").hide());var visible=this.settings.bg.filter(":visible").length>0;state!=visible&&((state==undefined?visible:!state)?this.hide(this.settings.bg):this.show(this.settings.bg))},show:function(el,css){if(css){var settings2=el.data(this.attr_name(!0)+"-init")||this.settings,root_element=settings2.root_element;if(el.parent(root_element).length===0){var placeholder=el.wrap('<div style="display: none;" />').parent();el.on("closed.fndtn.reveal.wrapped",function(){el.detach().appendTo(placeholder),el.unwrap().unbind("closed.fndtn.reveal.wrapped")}),el.detach().appendTo(root_element)}var animData=getAnimationData(settings2.animation);if(animData.animate||(this.locked=!1),animData.pop){css.top=$2(window2).scrollTop()-el.data("offset")+"px";var end_css={top:$2(window2).scrollTop()+el.data("css-top")+"px",opacity:1};return setTimeout(function(){return el.css(css).animate(end_css,settings2.animation_speed,"linear",function(){this.locked=!1,el.trigger("opened").trigger("opened.fndtn.reveal")}.bind(this)).addClass("open")}.bind(this),settings2.animation_speed/2)}if(animData.fade){css.top=$2(window2).scrollTop()+el.data("css-top")+"px";var end_css={opacity:1};return setTimeout(function(){return el.css(css).animate(end_css,settings2.animation_speed,"linear",function(){this.locked=!1,el.trigger("opened").trigger("opened.fndtn.reveal")}.bind(this)).addClass("open")}.bind(this),settings2.animation_speed/2)}return el.css(css).show().css({opacity:1}).addClass("open").trigger("opened").trigger("opened.fndtn.reveal")}var settings2=this.settings;return getAnimationData(settings2.animation).fade?el.fadeIn(settings2.animation_speed/2):(this.locked=!1,el.show())},hide:function(el,css){if(css){var settings2=el.data(this.attr_name(!0)+"-init");settings2=settings2||this.settings;var animData=getAnimationData(settings2.animation);if(animData.animate||(this.locked=!1),animData.pop){var end_css={top:-$2(window2).scrollTop()-el.data("offset")+"px",opacity:0};return setTimeout(function(){return el.animate(end_css,settings2.animation_speed,"linear",function(){this.locked=!1,el.css(css).trigger("closed").trigger("closed.fndtn.reveal")}.bind(this)).removeClass("open")}.bind(this),settings2.animation_speed/2)}if(animData.fade){var end_css={opacity:0};return setTimeout(function(){return el.animate(end_css,settings2.animation_speed,"linear",function(){this.locked=!1,el.css(css).trigger("closed").trigger("closed.fndtn.reveal")}.bind(this)).removeClass("open")}.bind(this),settings2.animation_speed/2)}return el.hide().css(css).removeClass("open").trigger("closed").trigger("closed.fndtn.reveal")}var settings2=this.settings;return getAnimationData(settings2.animation).fade?el.fadeOut(settings2.animation_speed/2):el.hide()},close_video:function(e){var video=$2(".flex-video",e.target),iframe=$2("iframe",video);iframe.length>0&&(iframe.attr("data-src",iframe[0].src),iframe.attr("src",iframe.attr("src")),video.hide())},open_video:function(e){var video=$2(".flex-video",e.target),iframe=video.find("iframe");if(iframe.length>0){var data_src=iframe.attr("data-src");if(typeof data_src=="string")iframe[0].src=iframe.attr("data-src");else{var src=iframe[0].src;iframe[0].src=undefined,iframe[0].src=src}video.show()}},data_attr:function(str){return this.namespace.length>0?this.namespace+"-"+str:str},cache_offset:function(modal){var offset=modal.show().height()+parseInt(modal.css("top"),10);return modal.hide(),offset},off:function(){$2(this.scope).off(".fndtn.reveal")},reflow:function(){}};function getAnimationData(str){var fade=/fade/i.test(str),pop=/pop/i.test(str);return{animate:fade||pop,pop,fade}}})(jQuery,window,window.document),(function($2,window2,document2,undefined){"use strict";Foundation.libs.slider={name:"slider",version:"5.4.7",settings:{start:0,end:100,step:1,initial:null,display_selector:"",vertical:!1,on_change:function(){}},cache:{},init:function(scope,method,options){Foundation.inherit(this,"throttle"),this.bindings(method,options),this.reflow()},events:function(){var self=this;$2(this.scope).off(".slider").on("mousedown.fndtn.slider touchstart.fndtn.slider pointerdown.fndtn.slider","["+self.attr_name()+"]:not(.disabled, [disabled]) .range-slider-handle",function(e){self.cache.active||(e.preventDefault(),self.set_active_slider($2(e.target)))}).on("mousemove.fndtn.slider touchmove.fndtn.slider pointermove.fndtn.slider",function(e){if(self.cache.active)if(e.preventDefault(),$2.data(self.cache.active[0],"settings").vertical){var scroll_offset=0;e.pageY||(scroll_offset=window2.scrollY),self.calculate_position(self.cache.active,(e.pageY||e.originalEvent.clientY||e.originalEvent.touches[0].clientY||e.currentPoint.y)+scroll_offset)}else self.calculate_position(self.cache.active,e.pageX||e.originalEvent.clientX||e.originalEvent.touches[0].clientX||e.currentPoint.x)}).on("mouseup.fndtn.slider touchend.fndtn.slider pointerup.fndtn.slider",function(e){self.remove_active_slider()}).on("change.fndtn.slider",function(e){self.settings.on_change()}),self.S(window2).on("resize.fndtn.slider",self.throttle(function(e){self.reflow()},300))},set_active_slider:function($handle){this.cache.active=$handle},remove_active_slider:function(){this.cache.active=null},calculate_position:function($handle,cursor_x){var self=this,settings2=$2.data($handle[0],"settings"),handle_l=$2.data($handle[0],"handle_l"),handle_o=$2.data($handle[0],"handle_o"),bar_l=$2.data($handle[0],"bar_l"),bar_o=$2.data($handle[0],"bar_o");requestAnimationFrame(function(){var pct;Foundation.rtl&&!settings2.vertical?pct=self.limit_to((bar_o+bar_l-cursor_x)/bar_l,0,1):pct=self.limit_to((cursor_x-bar_o)/bar_l,0,1),pct=settings2.vertical?1-pct:pct;var norm=self.normalized_value(pct,settings2.start,settings2.end,settings2.step);self.set_ui($handle,norm)})},set_ui:function($handle,value){var settings2=$2.data($handle[0],"settings"),handle_l=$2.data($handle[0],"handle_l"),bar_l=$2.data($handle[0],"bar_l"),norm_pct=this.normalized_percentage(value,settings2.start,settings2.end),handle_offset=norm_pct*(bar_l-handle_l)-1,progress_bar_length=norm_pct*100;Foundation.rtl&&!settings2.vertical&&(handle_offset=-handle_offset),handle_offset=settings2.vertical?-handle_offset+bar_l-handle_l+1:handle_offset,this.set_translate($handle,handle_offset,settings2.vertical),settings2.vertical?$handle.siblings(".range-slider-active-segment").css("height",progress_bar_length+"%"):$handle.siblings(".range-slider-active-segment").css("width",progress_bar_length+"%"),$handle.parent().attr(this.attr_name(),value).trigger("change").trigger("change.fndtn.slider"),$handle.parent().children("input[type=hidden]").val(value),$handle[0].hasAttribute("aria-valuemin")||$handle.attr({"aria-valuemin":settings2.start,"aria-valuemax":settings2.end}),$handle.attr("aria-valuenow",value),settings2.display_selector!=""&&$2(settings2.display_selector).each(function(){this.hasOwnProperty("value")?$2(this).val(value):$2(this).text(value)})},normalized_percentage:function(val,start,end){return Math.min(1,(val-start)/(end-start))},normalized_value:function(val,start,end,step){var range=end-start,point=val*range,mod=(point-point%step)/step,rem=point%step,round=rem>=step*.5?step:0;return mod*step+round+start},set_translate:function(ele,offset,vertical){vertical?$2(ele).css("-webkit-transform","translateY("+offset+"px)").css("-moz-transform","translateY("+offset+"px)").css("-ms-transform","translateY("+offset+"px)").css("-o-transform","translateY("+offset+"px)").css("transform","translateY("+offset+"px)"):$2(ele).css("-webkit-transform","translateX("+offset+"px)").css("-moz-transform","translateX("+offset+"px)").css("-ms-transform","translateX("+offset+"px)").css("-o-transform","translateX("+offset+"px)").css("transform","translateX("+offset+"px)")},limit_to:function(val,min,max){return Math.min(Math.max(val,min),max)},initialize_settings:function(handle){var settings2=$2.extend({},this.settings,this.data_options($2(handle).parent()));settings2.vertical?($2.data(handle,"bar_o",$2(handle).parent().offset().top),$2.data(handle,"bar_l",$2(handle).parent().outerHeight()),$2.data(handle,"handle_o",$2(handle).offset().top),$2.data(handle,"handle_l",$2(handle).outerHeight())):($2.data(handle,"bar_o",$2(handle).parent().offset().left),$2.data(handle,"bar_l",$2(handle).parent().outerWidth()),$2.data(handle,"handle_o",$2(handle).offset().left),$2.data(handle,"handle_l",$2(handle).outerWidth())),$2.data(handle,"bar",$2(handle).parent()),$2.data(handle,"settings",settings2)},set_initial_position:function($ele){var settings2=$2.data($ele.children(".range-slider-handle")[0],"settings"),initial=settings2.initial?settings2.initial:Math.floor((settings2.end-settings2.start)*.5/settings2.step)*settings2.step+settings2.start,$handle=$ele.children(".range-slider-handle");this.set_ui($handle,initial)},set_value:function(value){var self=this;$2("["+self.attr_name()+"]",this.scope).each(function(){$2(this).attr(self.attr_name(),value)}),$2(this.scope).attr(self.attr_name())&&$2(this.scope).attr(self.attr_name(),value),self.reflow()},reflow:function(){var self=this;self.S("["+this.attr_name()+"]").each(function(){var handle=$2(this).children(".range-slider-handle")[0],val=$2(this).attr(self.attr_name());self.initialize_settings(handle),val?self.set_ui($2(handle),parseFloat(val)):self.set_initial_position($2(this))})}}})(jQuery,window,window.document),(function($2,window2,document2,undefined){"use strict";Foundation.libs.tab={name:"tab",version:"5.4.7",settings:{active_class:"active",callback:function(){},deep_linking:!1,scroll_to_content:!0,is_hover:!1},default_tab_hashes:[],init:function(scope,method,options){var self=this,S=this.S;this.bindings(method,options),this.handle_location_hash_change(),S("["+this.attr_name()+"] > .active > a",this.scope).each(function(){self.default_tab_hashes.push(this.hash)})},events:function(){var self=this,S=this.S,usual_tab_behavior=function(e){var settings2=S(this).closest("["+self.attr_name()+"]").data(self.attr_name(!0)+"-init");(!settings2.is_hover||Modernizr.touch)&&(e.preventDefault(),e.stopPropagation(),self.toggle_active_tab(S(this).parent()))};S(this.scope).off(".tab").on("focus.fndtn.tab","["+this.attr_name()+"] > * > a",usual_tab_behavior).on("click.fndtn.tab","["+this.attr_name()+"] > * > a",usual_tab_behavior).on("mouseenter.fndtn.tab","["+this.attr_name()+"] > * > a",function(e){var settings2=S(this).closest("["+self.attr_name()+"]").data(self.attr_name(!0)+"-init");settings2.is_hover&&self.toggle_active_tab(S(this).parent())}),S(window2).on("hashchange.fndtn.tab",function(e){e.preventDefault(),self.handle_location_hash_change()})},handle_location_hash_change:function(){var self=this,S=this.S;S("["+this.attr_name()+"]",this.scope).each(function(){var settings2=S(this).data(self.attr_name(!0)+"-init");if(settings2.deep_linking){var hash;if(settings2.scroll_to_content?hash=self.scope.location.hash:hash=self.scope.location.hash.replace("fndtn-",""),hash!=""){var hash_element=S(hash);if(hash_element.hasClass("content")&&hash_element.parent().hasClass("tabs-content"))self.toggle_active_tab($2("["+self.attr_name()+"] > * > a[href="+hash+"]").parent());else{var hash_tab_container_id=hash_element.closest(".content").attr("id");hash_tab_container_id!=undefined&&self.toggle_active_tab($2("["+self.attr_name()+"] > * > a[href=#"+hash_tab_container_id+"]").parent(),hash)}}else for(var ind=0;ind<self.default_tab_hashes.length;ind++)self.toggle_active_tab($2("["+self.attr_name()+"] > * > a[href="+self.default_tab_hashes[ind]+"]").parent())}})},toggle_active_tab:function(tab,location_hash){var S=this.S,tabs=tab.closest("["+this.attr_name()+"]"),tab_link=tab.find("a"),anchor=tab.children("a").first(),target_hash="#"+anchor.attr("href").split("#")[1],target=S(target_hash),siblings=tab.siblings(),settings2=tabs.data(this.attr_name(!0)+"-init"),interpret_keyup_action=function(e){var $original=$2(this),$prev=$2(this).parents("li").prev().children('[role="tab"]'),$next=$2(this).parents("li").next().children('[role="tab"]'),$target;switch(e.keyCode){case 37:$target=$prev;break;case 39:$target=$next;break;default:$target=!1;break}$target.length&&($original.attr({tabindex:"-1","aria-selected":null}),$target.attr({tabindex:"0","aria-selected":!0}).focus()),$2('[role="tabpanel"]').attr("aria-hidden","true"),$2("#"+$2(document2.activeElement).attr("href").substring(1)).attr("aria-hidden",null)};S(this).data(this.data_attr("tab-content"))&&(target_hash="#"+S(this).data(this.data_attr("tab-content")).split("#")[1],target=S(target_hash)),settings2.deep_linking&&(settings2.scroll_to_content?(window2.location.hash=location_hash||target_hash,location_hash==undefined||location_hash==target_hash?tab.parent()[0].scrollIntoView():S(target_hash)[0].scrollIntoView()):location_hash!=undefined?window2.location.hash="fndtn-"+location_hash.replace("#",""):window2.location.hash="fndtn-"+target_hash.replace("#","")),tab.addClass(settings2.active_class).triggerHandler("opened"),tab_link.attr({"aria-selected":"true",tabindex:0}),siblings.removeClass(settings2.active_class),siblings.find("a").attr({"aria-selected":"false",tabindex:-1}),target.siblings().removeClass(settings2.active_class).attr({"aria-hidden":"true",tabindex:-1}),target.addClass(settings2.active_class).attr("aria-hidden","false").removeAttr("tabindex"),settings2.callback(tab),target.triggerHandler("toggled",[tab]),tabs.triggerHandler("toggled",[target]),tab_link.off("keydown").on("keydown",interpret_keyup_action)},data_attr:function(str){return this.namespace.length>0?this.namespace+"-"+str:str},off:function(){},reflow:function(){}}})(jQuery,window,window.document),(function($2,window2,document2,undefined){"use strict";Foundation.libs.tooltip={name:"tooltip",version:"5.4.7",settings:{additional_inheritable_classes:[],tooltip_class:".tooltip",append_to:"body",touch_close_text:"Tap To Close",disable_for_touch:!1,hover_delay:200,show_on:"all",tip_template:function(selector,content){return'<span data-selector="'+selector+'" id="'+selector+'" class="'+Foundation.libs.tooltip.settings.tooltip_class.substring(1)+'" role="tooltip">'+content+'<span class="nub"></span></span>'}},cache:{},init:function(scope,method,options){Foundation.inherit(this,"random_str"),this.bindings(method,options)},should_show:function(target,tip){var settings2=$2.extend({},this.settings,this.data_options(target));
15return settings2.show_on==="all"||this.small()&&settings2.show_on==="small"||this.medium()&&settings2.show_on==="medium"?!0:!!(this.large()&&settings2.show_on==="large")},medium:function(){return matchMedia(Foundation.media_queries.medium).matches},large:function(){return matchMedia(Foundation.media_queries.large).matches},events:function(instance){var self=this,S=self.S;self.create(this.S(instance)),$2(this.scope).off(".tooltip").on("mouseenter.fndtn.tooltip mouseleave.fndtn.tooltip touchstart.fndtn.tooltip MSPointerDown.fndtn.tooltip","["+this.attr_name()+"]",function(e){var $this=S(this),settings2=$2.extend({},self.settings,self.data_options($this)),is_touch=!1;if(Modernizr.touch&&/touchstart|MSPointerDown/i.test(e.type)&&S(e.target).is("a")||/mouse/i.test(e.type)&&self.ie_touch(e))return!1;if($this.hasClass("open"))Modernizr.touch&&/touchstart|MSPointerDown/i.test(e.type)&&e.preventDefault(),self.hide($this);else{if(settings2.disable_for_touch&&Modernizr.touch&&/touchstart|MSPointerDown/i.test(e.type))return;!settings2.disable_for_touch&&Modernizr.touch&&/touchstart|MSPointerDown/i.test(e.type)&&(e.preventDefault(),S(settings2.tooltip_class+".open").hide(),is_touch=!0),/enter|over/i.test(e.type)?this.timer=setTimeout(function(){var tip=self.showTip($this)}.bind(this),self.settings.hover_delay):e.type==="mouseout"||e.type==="mouseleave"?(clearTimeout(this.timer),self.hide($this)):self.showTip($this)}}).on("mouseleave.fndtn.tooltip touchstart.fndtn.tooltip MSPointerDown.fndtn.tooltip","["+this.attr_name()+"].open",function(e){if(/mouse/i.test(e.type)&&self.ie_touch(e))return!1;$2(this).data("tooltip-open-event-type")=="touch"&&e.type=="mouseleave"||($2(this).data("tooltip-open-event-type")=="mouse"&&/MSPointerDown|touchstart/i.test(e.type)?self.convert_to_touch($2(this)):self.hide($2(this)))}).on("DOMNodeRemoved DOMAttrModified","["+this.attr_name()+"]:not(a)",function(e){self.hide(S(this))})},ie_touch:function(e){return!1},showTip:function($target){var $tip=this.getTip($target);if(this.should_show($target,$tip))return this.show($target)},getTip:function($target){var selector=this.selector($target),settings2=$2.extend({},this.settings,this.data_options($target)),tip=null;return selector&&(tip=this.S('span[data-selector="'+selector+'"]'+settings2.tooltip_class)),typeof tip=="object"?tip:!1},selector:function($target){var id=$target.attr("id"),dataSelector=$target.attr(this.attr_name())||$target.attr("data-selector");return(id&&id.length<1||!id)&&typeof dataSelector!="string"&&(dataSelector=this.random_str(6),$target.attr("data-selector",dataSelector).attr("aria-describedby",dataSelector)),id&&id.length>0?id:dataSelector},create:function($target){var self=this,settings2=$2.extend({},this.settings,this.data_options($target)),tip_template=this.settings.tip_template;typeof settings2.tip_template=="string"&&window2.hasOwnProperty(settings2.tip_template)&&(tip_template=window2[settings2.tip_template]);var $tip=$2(tip_template(this.selector($target),$2("<div></div>").html($target.attr("title")).html())),classes=this.inheritable_classes($target);
vendor: 4,270 bytes, line 15
15$tip.addClass(classes).appendTo(settings2.append_to),Modernizr.touch&&($tip.append('<span class="tap-to-close">'+settings2.touch_close_text+"</span>"),$tip.on("touchstart.fndtn.tooltip MSPointerDown.fndtn.tooltip",function(e){self.hide($target)})),$target.removeAttr("title").attr("title","")},reposition:function(target,tip,classes){var width,nub,nubHeight,nubWidth,column,objPos;if(tip.css("visibility","hidden").show(),width=target.data("width"),nub=tip.children(".nub"),nubHeight=nub.outerHeight(),nubWidth=nub.outerHeight(),this.small()?tip.css({width:"100%"}):tip.css({width:width||"auto"}),objPos=function(obj,top,right,bottom,left2,width2){return obj.css({top:top||"auto",bottom:bottom||"auto",left:left2||"auto",right:right||"auto"}).end()},objPos(tip,target.offset().top+target.outerHeight()+10,"auto","auto",target.offset().left),this.small())objPos(tip,target.offset().top+target.outerHeight()+10,"auto","auto",12.5,$2(this.scope).width()),tip.addClass("tip-override"),objPos(nub,-nubHeight,"auto","auto",target.offset().left);else{var left=target.offset().left;Foundation.rtl&&(nub.addClass("rtl"),left=target.offset().left+target.outerWidth()-tip.outerWidth()),objPos(tip,target.offset().top+target.outerHeight()+10,"auto","auto",left),tip.removeClass("tip-override"),classes&&classes.indexOf("tip-top")>-1?(Foundation.rtl&&nub.addClass("rtl"),objPos(tip,target.offset().top-tip.outerHeight(),"auto","auto",left).removeClass("tip-override")):classes&&classes.indexOf("tip-left")>-1?(objPos(tip,target.offset().top+target.outerHeight()/2-tip.outerHeight()/2,"auto","auto",target.offset().left-tip.outerWidth()-nubHeight).removeClass("tip-override"),nub.removeClass("rtl")):classes&&classes.indexOf("tip-right")>-1&&(objPos(tip,target.offset().top+target.outerHeight()/2-tip.outerHeight()/2,"auto","auto",target.offset().left+target.outerWidth()+nubHeight).removeClass("tip-override"),nub.removeClass("rtl"))}tip.css("visibility","visible").hide()},small:function(){return matchMedia(Foundation.media_queries.small).matches&&!matchMedia(Foundation.media_queries.medium).matches},inheritable_classes:function($target){var settings2=$2.extend({},this.settings,this.data_options($target)),inheritables=["tip-top","tip-left","tip-bottom","tip-right","radius","round"].concat(settings2.additional_inheritable_classes),classes=$target.attr("class"),filtered=classes?$2.map(classes.split(" "),function(el,i){if($2.inArray(el,inheritables)!==-1)return el}).join(" "):"";return $2.trim(filtered)},convert_to_touch:function($target){var self=this,$tip=self.getTip($target),settings2=$2.extend({},self.settings,self.data_options($target));$tip.find(".tap-to-close").length===0&&($tip.append('<span class="tap-to-close">'+settings2.touch_close_text+"</span>"),$tip.on("click.fndtn.tooltip.tapclose touchstart.fndtn.tooltip.tapclose MSPointerDown.fndtn.tooltip.tapclose",function(e){self.hide($target)})),$target.data("tooltip-open-event-type","touch")},show:function($target){var $tip=this.getTip($target);$target.data("tooltip-open-event-type")=="touch"&&this.convert_to_touch($target),this.reposition($target,$tip,$target.attr("class")),$target.addClass("open"),$tip.fadeIn(150)},hide:function($target){var $tip=this.getTip($target);$tip.fadeOut(150,function(){$tip.find(".tap-to-close").remove(),$tip.off("click.fndtn.tooltip.tapclose MSPointerDown.fndtn.tapclose"),$target.removeClass("open")})},off:function(){var self=this;this.S(this.scope).off(".fndtn.tooltip"),this.S(this.settings.tooltip_class).each(function(i){$2("["+self.attr_name()+"]").eq(i).attr("title",$2(this).text())}).remove()},reflow:function(){}}})(jQuery,window,window.document),(function($2,window2,document2,undefined){"use strict";Foundation.libs.topbar={name:"topbar",version:"5.4.7",settings:{index:0,sticky_class:"sticky",custom_back_text:!0,back_text:"Back",mobile_show_parent_link:!0,is_hover:!0,scrolltop:!0,sticky_on:"all"},init:function(section,method,options){Foundation.inherit(this,"add_custom_rule register_media throttle");var self=this;self.register_media("topbar","foundation-mq-topbar"),this.bindings(method,options),self.S("["+this.attr_name()+"]",this.scope).each(function(){var topbar=$2(this),settings2=topbar.data(self.attr_name(!0)+"-init"),section2=self.S("section, .to
15p-bar-section",this);topbar.data("index",0);var topbarContainer=topbar.parent();topbarContainer.hasClass("fixed")||self.is_sticky(topbar,topbarContainer,settings2)?(self.settings.sticky_class=settings2.sticky_class,self.settings.sticky_topbar=topbar,topbar.data("height",topbarContainer.outerHeight()),topbar.data("stickyoffset",topbarContainer.offset().top)):topbar.data("height",topbar.outerHeight()),settings2.assembled||self.assemble(topbar),settings2.is_hover?self.S(".has-dropdown",topbar).addClass("not-click"):self.S(".has-dropdown",topbar).removeClass("not-click"),self.add_custom_rule(".f-topbar-fixed { padding-top: "+topbar.data("height")+"px }"),topbarContainer.hasClass("fixed")&&self.S("body").addClass("f-topbar-fixed")})},is_sticky:function(topbar,topbarContainer,settings2){var sticky=topbarContainer.hasClass(settings2.sticky_class);return sticky&&settings2.sticky_on==="all"?!0:sticky&&this.small()&&settings2.sticky_on==="small"?matchMedia(Foundation.media_queries.small).matches&&!matchMedia(Foundation.media_queries.medium).matches&&!matchMedia(Foundation.media_queries.large).matches:sticky&&this.medium()&&settings2.sticky_on==="medium"?matchMedia(Foundation.media_queries.small).matches&&matchMedia(Foundation.media_queries.medium).matches&&!matchMedia(Foundation.media_queries.large).matches:sticky&&this.large()&&settings2.sticky_on==="large"?matchMedia(Foundation.media_queries.small).matches&&matchMedia(Foundation.media_queries.medium).matches&&matchMedia(Foundation.media_queries.large).matches:!1},toggle:function(toggleEl){var self=this,topbar;toggleEl?topbar=self.S(toggleEl).closest("["+this.attr_name()+"]"):topbar=self.S("["+this.attr_name()+"]");var settings2=topbar.data(this.attr_name(!0)+"-init"),section=self.S("section, .top-bar-section",topbar);self.breakpoint()&&(self.rtl?(section.css({right:"0%"}),$2(">.name",section).css({right:"100%"})):(section.css({left:"0%"}),$2(">.name",section).css({left:"100%"})),self.S("li.moved",section).removeClass("moved"),topbar.data("index",0),topbar.toggleClass("expanded").css("height","")),settings2.scrolltop?topbar.hasClass("expanded")?topbar.parent().hasClass("fixed")&&(settings2.scrolltop?(topbar.parent().removeClass("fixed"),topbar.addClass("fixed"),self.S("body").removeClass("f-topbar-fixed"),window2.scrollTo(0,0)):topbar.parent().removeClass("expanded")):topbar.hasClass("fixed")&&(topbar.parent().addClass("fixed"),topbar.removeClass("fixed"),self.S("body").addClass("f-topbar-fixed")):(self.is_sticky(topbar,topbar.parent(),settings2)&&topbar.parent().addClass("fixed"),topbar.parent().hasClass("fixed")&&(topbar.hasClass("expanded")?(topbar.addClass("fixed"),topbar.parent().addClass("expanded"),self.S("body").addClass("f-topbar-fixed")):(topbar.removeClass("fixed"),topbar.parent().removeClass("expanded"),self.update_sticky_positioning())))},timer:null,events:function(bar){var self=this,S=this.S;S(this.scope).off(".topbar").on("click.fndtn.topbar","["+this.attr_name()+"] .toggle-topbar",function(e){e.preventDefault(),self.toggle(this)}).on("click.fndtn.topbar",'.top-bar .top-bar-section li a[href^="#"],['+this.attr_name()+'] .top-bar-section li a[href^="#"]',function(e){var li=$2(this).closest("li");self.breakpoint()&&!li.hasClass("back")&&!li.hasClass("has-dropdown")&&self.toggle()}).on("click.fndtn.topbar","["+this.attr_name()+"] li.has-dropdown",function(e){var li=S(this),target=S(e.target),topbar=li.closest("["+self.attr_name()+"]"),settings2=topbar.data(self.attr_name(!0)+"-init");if(target.data("revealId")){self.toggle();return}self.breakpoint()||settings2.is_hover&&!Modernizr.touch||(e.stopImmediatePropagation(),li.hasClass("hover")?(li.removeClass("hover").find("li").removeClass("hover"),li.parents("li.hover").removeClass("hover")):(li.addClass("hover"),$2(li).siblings().removeClass("hover"),target[0].nodeName==="A"&&target.parent().hasClass("has-dropdown")&&e.preventDefault()))}).on("click.fndtn.topbar","["+this.attr_name()+"] .has-dropdown>a",function(e){if(self.breakpoint()){e.preventDefault();var $this=S(this),topbar=$this.closest("["+self.attr_name()+"]"),section=topbar.find("section, .to
15p-bar-section"),dropdownHeight=$this.next(".dropdown").outerHeight(),$selectedLi=$this.closest("li");topbar.data("index",topbar.data("index")+1),$selectedLi.addClass("moved"),self.rtl?(section.css({right:-(100*topbar.data("index"))+"%"}),section.find(">.name").css({right:100*topbar.data("index")+"%"})):(section.css({left:-(100*topbar.data("index"))+"%"}),section.find(">.name").css({left:100*topbar.data("index")+"%"})),topbar.css("height",$this.siblings("ul").outerHeight(!0)+topbar.data("height"))}}),S(window2).off(".topbar").on("resize.fndtn.topbar",self.throttle(function(){self.resize.call(self)},50)).trigger("resize").trigger("resize.fndtn.topbar").load(function(){S(this).trigger("resize.fndtn.topbar")}),S("body").off(".topbar").on("click.fndtn.topbar",function(e){var parent=S(e.target).closest("li").closest("li.hover");parent.length>0||S("["+self.attr_name()+"] li.hover").removeClass("hover")}),S(this.scope).on("click.fndtn.topbar","["+this.attr_name()+"] .has-dropdown .back",function(e){e.preventDefault();var $this=S(this),topbar=$this.closest("["+self.attr_name()+"]"),section=topbar.find("section, .top-bar-section"),settings2=topbar.data(self.attr_name(!0)+"-init"),$movedLi=$this.closest("li.moved"),$previousLevelUl=$movedLi.parent();topbar.data("index",topbar.data("index")-1),self.rtl?(section.css({right:-(100*topbar.data("index"))+"%"}),section.find(">.name").css({right:100*topbar.data("index")+"%"})):(section.css({left:-(100*topbar.data("index"))+"%"}),section.find(">.name").css({left:100*topbar.data("index")+"%"})),topbar.data("index")===0?topbar.css("height",""):topbar.css("height",$previousLevelUl.outerHeight(!0)+topbar.data("height")),setTimeout(function(){$movedLi.removeClass("moved")},300)}),S(this.scope).find(".dropdown a").focus(function(){$2(this).parents(".has-dropdown").addClass("hover")}).blur(function(){$2(this).parents(".has-dropdown").removeClass("hover")})},resize:function(){var self=this;self.S("["+this.attr_name()+"]").each(function(){var topbar=self.S(this),settings2=topbar.data(self.attr_name(!0)+"-init"),stickyContainer=topbar.parent("."+self.settings.sticky_class),stickyOffset;if(!self.breakpoint()){var doToggle=topbar.hasClass("expanded");topbar.css("height","").removeClass("expanded").find("li").removeClass("hover"),doToggle&&self.toggle(topbar)}self.is_sticky(topbar,stickyContainer,settings2)&&(stickyContainer.hasClass("fixed")?(stickyContainer.removeClass("fixed"),stickyOffset=stickyContainer.offset().top,self.S(document2.body).hasClass("f-topbar-fixed")&&(stickyOffset-=topbar.data("height")),topbar.data("stickyoffset",stickyOffset),stickyContainer.addClass("fixed")):(stickyOffset=stickyContainer.offset().top,topbar.data("stickyoffset",stickyOffset)))})},breakpoint:function(){return!matchMedia(Foundation.media_queries.topbar).matches},small:function(){return matchMedia(Foundation.media_queries.small).matches},medium:function(){return matchMedia(Foundation.media_queries.medium).matches},large:function(){return matchMedia(Foundation.media_queries.large).matches},assemble:function(topbar){var self=this,settings2=topbar.data(this.attr_name(!0)+"-init"),section=self.S("section, .top-bar-section",topbar);section.detach(),self.S(".has-dropdown>a",section).each(function(){var $link=self.S(this),$dropdown=$link.siblings(".dropdown"),url=$link.attr("href"),$titleLi;$dropdown.find(".title.back").length||(settings2.mobile_show_parent_link==!0&&url?$titleLi=$2('<li class="title back js-generated"><h5><a href="javascript:void(0)"></a></h5></li><li class="parent-link show-for-small"><a class="parent-link js-generated" href="'+url+'">'+$link.html()+"</a></li>"):$titleLi=$2('<li class="title back js-generated"><h5><a href="javascript:void(0)"></a></h5>'),settings2.custom_back_text==!0?$2("h5>
15a",$titleLi).html(settings2.back_text):$2("h5>a",$titleLi).html("« "+$link.html()),$dropdown.prepend($titleLi))}),section.appendTo(topbar),this.sticky(),this.assembled(topbar)},assembled:function(topbar){topbar.data(this.attr_name(!0),$2.extend({},topbar.data(this.attr_name(!0)),{assembled:!0}))},height:function(ul){var total=0,self=this;return $2("> li",ul).each(function(){total+=self.S(this).outerHeight(!0)}),total},sticky:function(){var self=this;this.S(window2).on("scroll",function(){self.update_sticky_positioning()})},update_sticky_positioning:function(){var klass="."+this.settings.sticky_class,$window=this.S(window2),self=this;if(self.settings.sticky_topbar&&self.is_sticky(this.settings.sticky_topbar,this.settings.sticky_topbar.parent(),this.settings)){var distance=this.settings.sticky_topbar.data("stickyoffset");self.S(klass).hasClass("expanded")||($window.scrollTop()>distance?self.S(klass).hasClass("fixed")||(self.S(klass).addClass("fixed"),self.S("body").addClass("f-topbar-fixed")):$window.scrollTop()<=distance&&self.S(klass).hasClass("fixed")&&(self.S(klass).removeClass("fixed"),self.S("body").removeClass("f-topbar-fixed")))}},off:function(){this.S(this.scope).off(".fndtn.topbar"),this.S(window2).off(".fndtn.topbar")},reflow:function(){}}})(jQuery,window,window.document),(function(){function a(a2,c2,d2,e){return new b(a2,c2,d2,e)}function b(a2,b2,d2,e){this.options=e||{},this.options.adapters=this.options.adapters||{},this.obj=a2,this.keypath=b2,this.callback=d2,this.objectPath=[],this.update=this.update.bind(this),this.parse(),c(this.target=this.realize())&&this.set(!0,this.key,this.target,this.callback)}function c(a2){return typeof a2=="object"&&a2!==null}function d(a2){throw new Error("[sightglass] "+a2)}a.adapters={},b.tokenize=function(a2,b2,c2){var d2,e,f=[],g={i:c2,path:""};for(d2=0;d2<a2.length;d2++)e=a2.charAt(d2),~b2.indexOf(e)?(f.push(g),g={i:e,path:""}):g.path+=e;return f.push(g),f},b.prototype.parse=function(){var c2,e,f=this.interfaces();f.length||d("Must define at least one adapter interface."),~f.indexOf(this.keypath[0])?(c2=this.keypath[0],e=this.keypath.substr(1)):(typeof(c2=this.options.root||a.root)>"u"&&d("Must define a default root adapter."),e=this.keypath),this.tokens=b.tokenize(e,f,c2),this.key=this.tokens.pop()},b.prototype.realize=function(){var a2,b2=this.obj,d2=!1;return this.tokens.forEach(function(e,f){c(b2)?(typeof this.objectPath[f]<"u"?b2!==(a2=this.objectPath[f])&&(this.set(!1,e,a2,this.update),this.set(!0,e,b2,this.update),this.objectPath[f]=b2):(this.set(!0,e,b2,this.update),this.objectPath[f]=b2),b2=this.get(e,b2)):(d2===!1&&(d2=f),(a2=this.objectPath[f])&&this.set(!1,e,a2,this.update))},this),d2!==!1&&this.objectPath.splice(d2),b2},b.prototype.update=function(){var a2,b2;(a2=this.realize())!==this.target&&(c(this.target)&&this.set(!1,this.key,this.target,this.callback),c(a2)&&this.set(!0,this.key,a2,this.callback),b2=this.value(),this.target=a2,(this.value()instanceof Function||this.value()!==b2)&&this.callback())},b.prototype.value=function(){return c(this.target)?this.get(this.key,this.target):void 0},b.prototype.setValue=function(a2){c(this.target)&&this.adapter(this.key).set(this.target,this.key.path,a2)},b.prototype.get=function(a2,b2){return this.adapter(a2).get(b2,a2.path)},b.prototype.set=function(a2,b2,c2,d2){var e=a2?"observe":"unobserve";this.adapter(b2)[e](c2,b2.path,d2)},b.prototype.interfaces=function(){var b2=Object.keys(this.options.adapters);return Object.keys(a.adapters).forEach(function(a2){~b2.indexOf(a2)||b2.push(a2)}),b2},b.prototype.adapter=function(b2){return this.options.adapters[b2.i]||a.adapters[b2.i]},b.prototype.unobserve=function(){var a2;this.tokens.forEach(function(b2,c2){(a2=this.objectPath[c2])&&this.set(!1,b2,a2,this.update)},this),c(this.target)&&this.set(!1,this.key,this.target,this.callback)},typeof module<"u"&&module.exports?module.exports=a:typeof define=="function"&&define.amd?define([],function(){return this.sightglass=a}):this.sightglass=a}).call(this),function(){var a,b,c,d,e=function(a2,b2){return function(){return a2.apply(b2,arguments)}},f=[].slice,g={}.hasOwnProperty,h=function(a2,b2){function c2(){this.constructor=a2}for(var d2 in b2)g.call(b2,d2)&&(a2[d2]=b2[d2]);return c2.prototype=b2.prototype,a2.prototype=new c2,a2.__super__=b2.prototype,a2},i=[].indexOf||function(a2){for(var b2=0,c2=this.length;c2>b2;b2++)if(b2 in this&&this[b2]===a2)return b2;return-1};a={options:["prefix","templateDelimiters","rootInterface","preloadData","handler"],extensions:["binders","formatters","components","adapters"],public:{binders:{},components:{},formatters:{},adapters:{},prefix:"rv",templateDelimiters:["{","}"],rootInterface:".",preloadData:!0,handler:function(a2,b2,c2){return this.call(a2,b2,c2.view.models)},configure:function(b2){var c2,d2,e2,f2;b2==null&&(b2={});for(e2 in b2)if(f2=b2[e2],e2==="binders"||e2==="components"||e2==="formatters"||e2==="adapters")for(d2 in f2)c2=f2[d2],a[e2][d2]=c2;else a.public[e2]=f2},bind:function(b2,c2,d2){var e2;return c2==null&&(c2={}),d2==null&&(d2={}),e2=new a.View(b2,c2,d2),e2.bind(),e2},init:function(b2,c2,d2){var e2,f2;return d2==null&&(d2={}),c2==null&&(c2=document.createElement("div")),b2=a.public.components[b2],c2.innerHTML=b2.template.call(this,c2),e2=b2.initialize.call(this,c2,d2),f2=new a.View(c2,e2),f2.bind(),f2}}},window.jQuery||window.$?(d="on"in jQuery.prototype?["on","off"]:["bind","unbind"],b=d[0],c=d[1],a.Util={bindEvent:function(a2,c2,d2){return jQuery(a2)[b](c2,d2)},unbindEvent:function(a2,b2,d2){return jQuery(a2)[c](b2,d2)},getInputValue:function(a2){var b2;return b2=jQuery(a2),b2.attr("type")==="checkbox"?b2.is(":checked"):b2.val()}}):a.Util={bindEvent:(function(){return"addEventListener"in window?function(a2,b2,c2){return a2.addEventListener(b2,c2,!1)}:function(a2,b2,c2){return a2.attachEvent("on"+b2,c2)}})(),unbindEvent:(function(){return"removeEventListener"in window?function(a2,b2,c2){return a2.removeEventListener(b2,c2,!1)}:function(a2,b2,c2){return a2.detachEvent("on"+b2,c2)}})(),getInputValue:function(a2){var b2,c2,d2,e2;if(a2.type==="checkbox")return a2.checked;if(a2.type==="select-multiple"){for(e2=[],c2=0,d2=a2.length;d2>c2;c2++)b2=a2[c2],b2.selected&&e2.push(b2.value);return e2}return a2.value}},a.TypeParser=(function(){function a2(){}return a2.types={primitive:0,keypath:1},a2.parse=function(a3){return/^'.*'$|^".*"$/.test(a3)?{type:this.t
15ypes.primitive,value:a3.slice(1,-1)}:a3==="true"?{type:this.types.primitive,value:!0}:a3==="false"?{type:this.types.primitive,value:!1}:a3==="null"?{type:this.types.primitive,value:null}:a3==="undefined"?{type:this.types.primitive,value:void 0}:isNaN(Number(a3))===!1?{type:this.types.primitive,value:Number(a3)}:{type:this.types.keypath,value:a3}},a2})(),a.TextTemplateParser=(function(){function a2(){}return a2.types={text:0,binding:1},a2.parse=function(a3,b2){var c2,d2,e2,f2,g2,h2,i2;for(h2=[],f2=a3.length,c2=0,d2=0;f2>d2;){if(c2=a3.indexOf(b2[0],d2),0>c2){h2.push({type:this.types.text,value:a3.slice(d2)});break}if(c2>0&&c2>d2&&h2.push({type:this.types.text,value:a3.slice(d2,c2)}),d2=c2+b2[0].length,c2=a3.indexOf(b2[1],d2),0>c2){g2=a3.slice(d2-b2[1].length),e2=h2[h2.length-1],e2?.type===this.types.text?e2.value+=g2:h2.push({type:this.types.text,value:g2});break}i2=a3.slice(d2,c2).trim(),h2.push({type:this.types.binding,value:i2}),d2=c2+b2[1].length}return h2},a2})(),a.View=(function(){function b2(b3,c2,d2){var f2,g2,h2,i2,j,k,l,m,n,o,p,q,r;for(this.els=b3,this.models=c2,d2==null&&(d2={}),this.update=e(this.update,this),this.publish=e(this.publish,this),this.sync=e(this.sync,this),this.unbind=e(this.unbind,this),this.bind=e(this.bind,this),this.select=e(this.select,this),this.traverse=e(this.traverse,this),this.build=e(this.build,this),this.buildBinding=e(this.buildBinding,this),this.bindingRegExp=e(this.bindingRegExp,this),this.options=e(this.options,this),this.els.jquery||this.els instanceof Array||(this.els=[this.els]),n=a.extensions,j=0,l=n.length;l>j;j++){if(g2=n[j],this[g2]={},d2[g2]){o=d2[g2];for(f2 in o)h2=o[f2],this[g2][f2]=h2}p=a.public[g2];for(f2 in p)h2=p[f2],(i2=this[g2])[f2]==null&&(i2[f2]=h2)}for(q=a.options,k=0,m=q.length;m>k;k++)g2=q[k],this[g2]=(r=d2[g2])!=null?r:a.public[g2];this.build()}return b2.prototype.options=function(){var b3,c2,d2,e2,f2;for(c2={},f2=a.extensions.concat(a.options),d2=0,e2=f2.length;e2>d2;d2++)b3=f2[d2],c2[b3]=this[b3];return c2},b2.prototype.bindingRegExp=function(){return new RegExp("^"+this.prefix+"-")},b2.prototype.buildBinding=function(b3,c2,d2,e2){var f2,g2,h2,i2,j,k,l;return j={},l=(function(){var a2,b4,c3,d3;for(c3=e2.split("|"),d3=[],a2=0,b4=c3.length;b4>a2;a2++)k=c3[a2],d3.push(k.trim());return d3})(),f2=(function(){var a2,b4,c3,d3;for(c3=l.shift().split("<"),d3=[],a2=0,b4=c3.length;b4>a2;a2++)g2=c3[a2],d3.push(g2.trim());return d3})(),i2=f2.shift(),j.formatters=l,(h2=f2.shift())&&(j.dependencies=h2.split(/\s+/)),this.bindings.push(new a[b3](this,c2,d2,i2,j))},b2.prototype.build=function(){var b3,c2,d2,e2,f2;for(this.bindings=[],c2=(function(b4){return function(d3){var e3,f3,g2,h2,i2,j,k,l,m,n,o,p,q,r;if(d3.nodeType===3){if(i2=a.TextTemplateParser,(g2=b4.templateDelimiters)&&(l=i2.parse(d3.data,g2)).length&&(l.length!==1||l[0].type!==i2.types.text)){for(m=0,o=l.length;o>m;m++)k=l[m],j=document.createTextNode(k.value),d3.parentNode.insertBefore(j,d3),k.type===1&&b4.buildBinding("TextBinding",j,null,k.value);d3.parentNode.removeChild(d3)}}else d3.nodeType===1&&(e3=b4.traverse(d3));if(!e3){for(q=(function(){var a2,b5,c3,e4;for(c3=d3.childNodes,e4=[],a2=0,b5=c3.length;b5>a2;a2++)h2=c3[a2],e4.push(h2);return e4})(),r=[],n=0,p=q.length;p>n;n++)f3=q[n],r.push(c2(f3));return r}}})(this),f2=this.els,d2=0,e2=f2.length;e2>d2;d2++)b3=f2[d2],c2(b3);this.bindings.sort(function(a2,b4){var c3,d3;return(((c3=b4.binder)!=null?c3.priority:void 0)||0)-(((d3=a2.binder)!=null?d3.priority:void 0)||0)})},b2.prototype.traverse=function(b3){var c2,d2,e2,f2,g2,h2,i2,j,k,l,m,n,o,p,q,r;for(f2=this.bindingRegExp(),g2=b3.nodeName==="SCRIPT"||b3.nodeName==="STYLE",p=b3.attributes,l=0,n=p.length;n>l;l++)if(c2=p[l],f2.test(c2.name)){if(j=c2.name.replace(f2,""),!(e2=this.binders[j])){q=this.binders;for(h2 in q)k=q[h2],h2!=="*"&&h2.indexOf("*")!==-1&&(i2=new RegExp("^"+h2.replace(/\*/g,".+")+"$"),i2.test(j)&&(e2=k))}e2||(e2=this.binders["*"]),e2.block&&(g2=!0,d2=[c2])}for(r=d2||b3.attributes,m=0,o=r.length;o>m;m++)c2=r[m],f2.test(c2.name)&&(j=c2.name.replace(f2,""),this.buildBinding("Binding",b3,j,c2.value));return g2||(j=b3.nodeName.toLowerCase(),this.components[j]&&!b3._bound&&(this.bindings.push(new a.ComponentBinding(this,b3,j)),g2=!0)),g2},b2.prototype.select=function(a2){var b3,c2,d2,e2,f2;for(e2=this.bindings,f2=[],c2=0,d2=e2.length;d2>c2;c2++)b3=e2[c2],a2(b3)&&f2.push(b3);return f2},b2.prototype.bind=function(){var a2,b3,c2,d2,e2;for(d2=this.bindings,e2=[],b3=0,c2=d2.length;c2>b3;b3++)a2=d2[b3],e2.push(a2.bind());return e2},b2.prototype.unbind=function(){var a2,b3,c2,d2,e2;for(d2=this.bindings,e2=[],b3=0,c2=d2.length;c2>b3;b3++)a2=d2[b3],e2.push(a2.unbind());return e2},b2.prototype.sync=function(){var a2,b3,c2,d2,e2;for(d2=this.bindings,e2=[],b3=0,c2=d2.length;c2>b3;b3++)a2=d2[b3],e2.push(typeof a2.sync=="function"?a2.sync():void 0);return e2},b2.prototype.publish=function(){var a2,b3,c2,d2,e2;for(d2=this.select(function(a3){var b4;return(b4=a3.binder)!=null?b4.publishes:void 0}),e2=[],b3=0,c2=d2.length;c2>b3;b3++)a2=d2[b3],e2.push(a2.publish());return e2},b2.prototype.update=function(a2){var b3,c2,d2,e2,f2,g2,h2;a2==null&&(a2={});for(c2 in a2)d2=a2[c2],this.models[c2]=d2;for(g2=this.bindings,h2=[],e2=0,f2=g2.length;f2>e2;e2++)b3=g2[e2],h2.push(typeof b3.update=="function"?b3.update(a2):void 0);return h2},b2})(),a.Binding=(function(){function b2(a2,b3,c2,d2,f2){this.view=a2,this.el=b3,this.type=c2,this.keypath=d2,this.options=f2??{},this.getValue=e(this.getValue,this),this.update=e(this.update,this),this.unbind=e(this.unbind,this),this.bind=e(this.bind,this),this.publish=e(this.publish,this),this.sync=e(this.sync,this),this.set=e(this.set,this),this.eventHandler=e(this.eventHandler,this),this.formattedValue=e(this.formattedValue,this),this.parseTarget=e(this.parseTarget,this),this.observe=e(this.observe,this),this.setBinder=e(this.setBinder,this),this.formatters=this.options.formatters||[],this.dependencies=[],this.formatterObservers={},this.model=void 0,this.setBinder()}return b2.prototype.setBinder=function(){var a2,b3,c2,d2;if(!(this.binder=this.view.binders[this.type])){d2=this.view.binders;
15for(a2 in d2)c2=d2[a2],a2!=="*"&&a2.indexOf("*")!==-1&&(b3=new RegExp("^"+a2.replace(/\*/g,".+")+"$"),b3.test(this.type)&&(this.binder=c2,this.args=new RegExp("^"+a2.replace(/\*/g,"(.+)")+"$").exec(this.type),this.args.shift()))}return this.binder||(this.binder=this.view.binders["*"]),this.binder instanceof Function?this.binder={routine:this.binder}:void 0},b2.prototype.observe=function(b3,c2,d2){return a.sightglass(b3,c2,d2,{root:this.view.rootInterface,adapters:this.view.adapters})},b2.prototype.parseTarget=function(){var b3;return b3=a.TypeParser.parse(this.keypath),b3.type===0?this.value=b3.value:(this.observer=this.observe(this.view.models,this.keypath,this.sync),this.model=this.observer.target)},b2.prototype.formattedValue=function(b3){var c2,d2,e2,g2,h2,i2,j,k,l,m,n,o,p,q;for(q=this.formatters,g2=m=0,o=q.length;o>m;g2=++m){for(h2=q[g2],e2=h2.match(/[^\s']+|'([^']|'[^\s])*'|"([^"]|"[^\s])*"/g),i2=e2.shift(),h2=this.view.formatters[i2],e2=(function(){var b4,c3,f2;for(f2=[],b4=0,c3=e2.length;c3>b4;b4++)d2=e2[b4],f2.push(a.TypeParser.parse(d2));return f2})(),k=[],c2=n=0,p=e2.length;p>n;c2=++n)d2=e2[c2],k.push(d2.type===0?d2.value:((l=this.formatterObservers)[g2]||(l[g2]={}),(j=this.formatterObservers[g2][c2])||(j=this.observe(this.view.models,d2.value,this.sync),this.formatterObservers[g2][c2]=j),j.value()));h2?.read instanceof Function?b3=h2.read.apply(h2,[b3].concat(f.call(k))):h2 instanceof Function&&(b3=h2.apply(null,[b3].concat(f.call(k))))}return b3},b2.prototype.eventHandler=function(a2){var b3,c2;return c2=(b3=this).view.handler,function(d2){return c2.call(a2,this,d2,b3)}},b2.prototype.set=function(a2){var b3;return a2=this.formattedValue(a2 instanceof Function&&!this.binder.function?a2.call(this.model):a2),(b3=this.binder.routine)!=null?b3.call(this,this.el,a2):void 0},b2.prototype.sync=function(){var a2,b3;return this.set(function(){var c2,d2,e2,f2,g2,h2,i2;if(this.observer){if(this.model!==this.observer.target){for(g2=this.dependencies,c2=0,e2=g2.length;e2>c2;c2++)b3=g2[c2],b3.unobserve();if(this.dependencies=[],(this.model=this.observer.target)!=null&&((h2=this.options.dependencies)!=null?h2.length:void 0))for(i2=this.options.dependencies,d2=0,f2=i2.length;f2>d2;d2++)a2=i2[d2],b3=this.observe(this.model,a2,this.sync),this.dependencies.push(b3)}return this.observer.value()}return this.value}.call(this))},b2.prototype.publish=function(){var a2,b3,c2,d2,e2,g2,h2,i2,j;if(this.observer){for(d2=this.getValue(this.el),h2=this.formatters.slice(0).reverse(),e2=0,g2=h2.length;g2>e2;e2++)b3=h2[e2],a2=b3.split(/\s+/),c2=a2.shift(),(i2=this.view.formatters[c2])!=null&&i2.publish&&(d2=(j=this.view.formatters[c2]).publish.apply(j,[d2].concat(f.call(a2))));return this.observer.setValue(d2)}},b2.prototype.bind=function(){var a2,b3,c2,d2,e2,f2,g2;if(this.parseTarget(),(e2=this.binder.bind)!=null&&e2.call(this,this.el),this.model!=null&&((f2=this.options.dependencies)!=null?f2.length:void 0))for(g2=this.options.dependencies,c2=0,d2=g2.length;d2>c2;c2++)a2=g2[c2],b3=this.observe(this.model,a2,this.sync),this.dependencies.push(b3);return this.view.preloadData?this.sync():void 0},b2.prototype.unbind=function(){var a2,b3,c2,d2,e2,f2,g2,h2,i2,j;for((g2=this.binder.unbind)!=null&&g2.call(this,this.el),(h2=this.observer)!=null&&h2.unobserve(),i2=this.dependencies,e2=0,f2=i2.length;f2>e2;e2++)d2=i2[e2],d2.unobserve();this.dependencies=[],j=this.formatterObservers;for(c2 in j){b3=j[c2];for(a2 in b3)d2=b3[a2],d2.unobserve()}return this.formatterObservers={}},b2.prototype.update=function(a2){var b3,c2;return a2==null&&(a2={}),this.model=(b3=this.observer)!=null?b3.target:void 0,(c2=this.binder.update)!=null?c2.call(this,a2):void 0},b2.prototype.getValue=function(b3){return this.binder&&this.binder.getValue!=null?this.binder.getValue.call(this,b3):a.Util.getInputValue(b3)},b2})(),a.ComponentBinding=(function(b2){function c2(a2,b3,c3){var d2,f2,g2,h2,j,k,l;for(this.view=a2,this.el=b3,this.type=c3,this.unbind=e(this.unbind,this),this.bind=e(this.bind,this),this.locals=e(this.locals,this),this.component=this.view.components[this.type],this.static={},this.observers={},this.upstreamObservers={},f2=a2.bindingRegExp(),k=this.el.attributes||[],h2=0,j=k.length;j>h2;h2++)d2=k[h2],f2.test(d2.name)||(g2=this.camelCase(d2.name),i.call((l=this.component.static)!=null?l:[],g2)>=0?this.static[g2]=d2.value:this.observers[g2]=d2.value)}return h(c2,b2),c2.prototype.sync=function(){},c2.prototype.update=function(){},c2.prototype.publish=function(){},c2.prototype.locals=function(){var a2,b3,c3,d2,e2,f2;c3={},e2=this.static;for(a2 in e2)d2=e2[a2],c3[a2]=d2;f2=this.observers;for(a2 in f2)b3=f2[a2],c3[a2]=b3.value();return c3},c2.prototype.camelCase=function(a2){return a2.replace(/-([a-z])/g,function(a3){return a3[1].toUpperCase()})},c2.prototype.bind=function(){var b3,c3,d2,e2,f2,g2,h2,i2,j,k,l,m,n,o,p,q,r,s,t,u,v;if(!this.bound){o=this.observers;for(c3 in o)d2=o[c3],this.observers[c3]=this.observe(this.view.models,d2,(function(a2){return function(b4){return function(){return a2.componentView.models[b4]=a2.observers[b4].value()}}})(this).call(this,c3));this.bound=!0}if(this.componentView!=null)return this.componentView.bind();
15for(this.el.innerHTML=this.component.template.call(this),h2=this.component.initialize.call(this,this.el,this.locals()),this.el._bound=!0,g2={},p=a.extensions,k=0,m=p.length;m>k;k++){if(f2=p[k],g2[f2]={},this.component[f2]){q=this.component[f2];for(b3 in q)i2=q[b3],g2[f2][b3]=i2}r=this.view[f2];for(b3 in r)i2=r[b3],(j=g2[f2])[b3]==null&&(j[b3]=i2)}for(s=a.options,l=0,n=s.length;n>l;l++)f2=s[l],g2[f2]=(t=this.component[f2])!=null?t:this.view[f2];this.componentView=new a.View(this.el,h2,g2),this.componentView.bind(),u=this.observers,v=[];for(c3 in u)e2=u[c3],v.push(this.upstreamObservers[c3]=this.observe(this.componentView.models,c3,(function(a2){return function(b4,c4){return function(){return c4.setValue(a2.componentView.models[b4])}}})(this).call(this,c3,e2)));return v},c2.prototype.unbind=function(){var a2,b3,c3,d2,e2;c3=this.upstreamObservers;for(a2 in c3)b3=c3[a2],b3.unobserve();d2=this.observers;for(a2 in d2)b3=d2[a2],b3.unobserve();return(e2=this.componentView)!=null?e2.unbind.call(this):void 0},c2})(a.Binding),a.TextBinding=(function(a2){function b2(a3,b3,c2,d2,f2){this.view=a3,this.el=b3,this.type=c2,this.keypath=d2,this.options=f2??{},this.sync=e(this.sync,this),this.formatters=this.options.formatters||[],this.dependencies=[],this.formatterObservers={}}return h(b2,a2),b2.prototype.binder={routine:function(a3,b3){return a3.data=b3??""}},b2.prototype.sync=function(){return b2.__super__.sync.apply(this,arguments)},b2})(a.Binding),a.public.binders.text=function(a2,b2){return a2.textContent!=null?a2.textContent=b2??"":a2.innerText=b2??""},a.public.binders.html=function(a2,b2){return a2.innerHTML=b2??""},a.public.binders.show=function(a2,b2){return a2.style.display=b2?"":"none"},a.public.binders.hide=function(a2,b2){return a2.style.display=b2?"none":""},a.public.binders.enabled=function(a2,b2){return a2.disabled=!b2},a.public.binders.disabled=function(a2,b2){return a2.disabled=!!b2},a.public.binders.checked={publishes:!0,priority:2e3,bind:function(b2){return a.Util.bindEvent(b2,"change",this.publish)},unbind:function(b2){return a.Util.unbindEvent(b2,"change",this.publish)},routine:function(a2,b2){var c2;return a2.checked=a2.type==="radio"?((c2=a2.value)!=null?c2.toString():void 0)===b2?.toString():!!b2}},a.public.binders.unchecked={publishes:!0,priority:2e3,bind:function(b2){return a.Util.bindEvent(b2,"change",this.publish)},unbind:function(b2){return a.Util.unbindEvent(b2,"change",this.publish)},routine:function(a2,b2){var c2;return a2.checked=a2.type==="radio"?((c2=a2.value)!=null?c2.toString():void 0)!==b2?.toString():!b2}},a.public.binders.value={publishes:!0,priority:3e3,bind:function(b2){return b2.tagName!=="INPUT"||b2.type!=="radio"?(this.event=b2.tagName==="SELECT"?"change":"input",a.Util.bindEvent(b2,this.event,this.publish)):void 0},unbind:function(b2){return b2.tagName!=="INPUT"||b2.type!=="radio"?a.Util.unbindEvent(b2,this.event,this.publish):void 0},routine:function(a2,b2){var c2,d2,e2,f2,g2,h2,j;if(a2.tagName==="INPUT"&&a2.type==="radio")return a2.setAttribute("value",b2);if(window.jQuery!=null){if(a2=jQuery(a2),b2?.toString()!==((f2=a2.val())!=null?f2.toString():void 0))return a2.val(b2??"")}else if(a2.type==="select-multiple"){if(b2!=null){for(j=[],d2=0,e2=a2.length;e2>d2;d2++)c2=a2[d2],j.push(c2.selected=(g2=c2.value,i.call(b2,g2)>=0));return j}}else if(b2?.toString()!==((h2=a2.value)!=null?h2.toString():void 0))return a2.value=b2??""}},a.public.binders.if={block:!0,priority:4e3,bind:function(a2){var b2,c2;return this.marker==null?(b2=[this.view.prefix,this.type].join("-").replace("--","-"),c2=a2.getAttribute(b2),this.marker=document.createComment(" rivets: "+this.type+" "+c2+" "),this.bound=!1,a2.removeAttribute(b2),a2.parentNode.insertBefore(this.marker,a2),a2.parentNode.removeChild(a2)):void 0},unbind:function(){var a2;return(a2=this.nested)!=null?a2.unbind():void 0},routine:function(b2,c2){var d2,e2,f2,g2;if(!!c2==!this.bound){if(c2){f2={},g2=this.view.models;for(d2 in g2)e2=g2[d2],f2[d2]=e2;return(this.nested||(this.nested=new a.View(b2,f2,this.view.options()))).bind(),this.marker.parentNode.insertBefore(b2,this.marker.nextSibling),this.bound=!0}return b2.parentNode.removeChild(b2),this.nested.unbind(),this.bound=!1}},update:function(a2){var b2;return(b2=this.nested)!=null?b2.update(a2):void 0}},a.public.binders.unless={block:!0,priority:4e3,bind:function(b2){return a.public.binders.if.bind.call(this,b2)},unbind:function(){return a.public.binders.if.unbind.call(this)},routine:function(b2,c2){return a.public.binders.if.routine.call(this,b2,!c2)},update:function(b2){return a.public.binders.if.update.call(this,b2)}},a.public.binders["on-*"]={function:!0,priority:1e3,unbind:function(b2){return this.handler?a.Util.unbindEvent(b2,this.args[0],this.handler):void 0},routine:function(b2,c2){return this.handler&&a.Util.unbindEvent(b2,this.args[0],this.handler),a.Util.bindEvent(b2,this.args[0],this.handler=this.eventHandler(c2))}},a.public.binders["each-*"]={block:!0,priority:4e3,bind:function(a2){var b2,c2,d2,e2,f2;if(this.marker==null)b2=[this.view.prefix,this.type].join("-").replace("--","-"),this.marker=document.createComment(" rivets: "+this.type+" "),this.iterated=[],a2.removeAttribute(b2),a2.parentNode.insertBefore(this.marker,a2),a2.parentNode.removeChild(a2);else for(f2=this.iterated,d2=0,e2=f2.length;e2>d2;d2++)c2=f2[d2],c2.bind()},unbind:function(){var a2,b2,c2,d2,e2;if(this.iterated!=null){for(d2=this.iterated,e2=[],b2=0,c2=d2.length;c2>b2;b2++)a2=d2[b2],e2.push(a2.unbind());return e2}},routine:function(b2,c2){var d2,e2,f2,g2,h2,i2,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x;if(j=this.args[0],c2=c2||[],this.iterated.length>c2.length)for(u=Array(this.iterated.length-c2.length),o=0,r=u.length;r>o;o++)f2=u[o],n=this.iterated.pop(),n.unbind(),this.marker.parentNode.removeChild(n.els[0]);for(g2=p=0,s=c2.length;s>p;g2=++p)if(i2=c2[g2],e2={index:g2},e2[j]=i2,this.iterated[g2]==null){v=this.view.models;for(h2 in v)i2=v[h2],e2[h2]==null&&(e2[h2]=i2);l=this.iterated.length?this.iterated[this.iterated.length-1].els[0]:this.marker,k=this.view.options(),k.preloadData=!0,m=b2.cloneNode(!0),n=new a.View(m,e2,k),n.bind(),this.iterated.push(n),this.marker.parentNode.insertBefore(m,l.nextSibling)}else this.iterated[g2].models[j]!==i2&&this.iterated[g2].update(e2);if(b2.nodeName==="OPTION"){for(w=this.view.bindings,x=[],q=0,t=w.length;t>q;q++)d2=w[q],x.push(d2.el===this.marker.parentNode&&d2.type==="value"?d2.sync():void 0);return x}},update:function(a2){var b2,c2,d2,e2,f2,g2,h2,i2;b2={};for(c2 in a2)d2=a2[c2],c2!==this.args[0]&&(b2[c2]=d2);for(h2=this.iterated,i2=[],f2=0,g2=h2.length;g2>f2;f2++)e2=h2[f2],i2.push(e2.update(b2));return i2}},a.public.binders["class-*"]=function(a2,b2){var c2;return c2=" "+a2.className+" ",!b2==(c2.indexOf(" "+this.args[0]+" ")!==-1)?a2.className=b2?""+a2.className+" "+this.args[0]:c2.replace(" "+this.args[0]+" "," ").trim():void 0},a.public.binders["*"]=function(a2,b2){return b2!=null?a2.setAttribute(this.t
15ype,b2):a2.removeAttribute(this.type)},a.public.adapters["."]={id:"_rv",counter:0,weakmap:{},weakReference:function(a2){var b2,c2,d2;return a2.hasOwnProperty(this.id)||(b2=this.counter++,Object.defineProperty(a2,this.id,{value:b2})),(c2=this.weakmap)[d2=a2[this.id]]||(c2[d2]={callbacks:{}})},cleanupWeakReference:function(a2,b2){return Object.keys(a2.callbacks).length||a2.pointers&&Object.keys(a2.pointers).length?void 0:delete this.weakmap[b2]},stubFunction:function(a2,b2){var c2,d2,e2;return d2=a2[b2],c2=this.weakReference(a2),e2=this.weakmap,a2[b2]=function(){var b3,f2,g2,h2,i2,j,k,l,m,n;h2=d2.apply(a2,arguments),k=c2.pointers;for(g2 in k)for(f2=k[g2],n=(l=(m=e2[g2])!=null?m.callbacks[f2]:void 0)!=null?l:[],i2=0,j=n.length;j>i2;i2++)(b3=n[i2])();return h2}},observeMutations:function(a2,b2,c2){var d2,e2,f2,g2,h2,j;if(Array.isArray(a2)){if(f2=this.weakReference(a2),f2.pointers==null)for(f2.pointers={},e2=["push","pop","shift","unshift","sort","reverse","splice"],h2=0,j=e2.length;j>h2;h2++)d2=e2[h2],this.stubFunction(a2,d2);if((g2=f2.pointers)[b2]==null&&(g2[b2]=[]),i.call(f2.pointers[b2],c2)<0)return f2.pointers[b2].push(c2)}},unobserveMutations:function(a2,b2,c2){var d2,e2,f2;return Array.isArray(a2)&&a2[this.id]!=null&&(e2=this.weakmap[a2[this.id]])&&(f2=e2.pointers[b2])?((d2=f2.indexOf(c2))>=0&&f2.splice(d2,1),f2.length||delete e2.pointers[b2],this.cleanupWeakReference(e2,a2[this.id])):void 0},observe:function(a2,b2,c2){var d2,e2,f2;return d2=this.weakReference(a2).callbacks,d2[b2]==null&&(d2[b2]=[],e2=Object.getOwnPropertyDescriptor(a2,b2),e2?.get||e2?.set||(f2=a2[b2],Object.defineProperty(a2,b2,{enumerable:!0,get:function(){return f2},set:(function(e3){return function(g2){var h2,j,k,l;if(g2!==f2&&(e3.unobserveMutations(f2,a2[e3.id],b2),f2=g2,h2=e3.weakmap[a2[e3.id]])){if(d2=h2.callbacks,d2[b2])for(l=d2[b2].slice(),j=0,k=l.length;k>j;j++)c2=l[j],i.call(d2[b2],c2)>=0&&c2();return e3.observeMutations(g2,a2[e3.id],b2)}}})(this)}))),i.call(d2[b2],c2)<0&&d2[b2].push(c2),this.observeMutations(a2[b2],a2[this.id],b2)},unobserve:function(a2,b2,c2){var d2,e2,f2;return(f2=this.weakmap[a2[this.id]])&&(d2=f2.callbacks[b2])?((e2=d2.indexOf(c2))>=0&&(d2.splice(e2,1),d2.length||delete f2.callbacks[b2]),this.unobserveMutations(a2[b2],a2[this.id],b2),this.cleanupWeakReference(f2,a2[this.id])):void 0},get:function(a2,b2){return a2[b2]},set:function(a2,b2,c2){return a2[b2]=c2}},a.factory=function(b2){return a.sightglass=b2,a.public._=a,a.public},typeof(typeof module<"u"&&module!==null?module.exports:void 0)=="object"?module.exports=a.factory(require("sightglass")):typeof define=="function"&&define.amd?define(["sightglass"],function(b2){return this.rivets=a.factory(b2)}):this.rivets=a.factory(sightglass)}.call(this),function(){var a,b,c,d,e,f,g,h=function(a2,b2){return function(){return a2.apply(b2,arguments)}};b=(function(){function a2(){this.update=h(this.update,this)}return a2.prototype.update=function(a3){var b2,c2,d2;for(c2 in a3)d2=a3[c2],c2!=="items"&&(this[c2]=d2);return this.items=(function(){var c3,d3,f2,g2;for(f2=a3.items,g2=[],c3=0,d3=f2.length;d3>c3;c3++)b2=f2[c3],g2.push(new e(b2));return g2})()},a2})(),e=(function(){function a2(a3){this.propertyArray=h(this.propertyArray,this),this.update=h(this.update,this),this.update(a3)}return a2.prototype.update=function(a3){var b2,d2;for(b2 in a3)d2=a3[b2],b2!=="properties"&&(this[b2]=d2);return this.properties=c.Utils.extend({},a3.properties)},a2.prototype.propertyArray=function(){var a3,b2,c2,d2;c2=this.properties,d2=[];for(a3 in c2)b2=c2[a3],d2.push({name:a3,value:b2});return d2},a2})(),c={settings:{debug:!1,dataAPI:!0,requestBodyClass:null,rivetsModels:{},currency:null,moneyFormat:null,moneyWithCurrencyFormat:null,weightUnit:"g",weightPrecision:0},cart:new b},c.init=function(a2,b2){return b2==null&&(b2={}),c.configure(b2),c.Utils.log("Initialising CartJS."),c.cart.update(a2),c.settings.dataAPI&&(c.Utils.log('"dataAPI" setting is true, initialising Data API.'),c.Data.init()),c.settings.requestBodyClass&&(c.Utils.log('"requestBodyClass" set, adding event listeners.'),jQuery(document).on("cart.requestStarted",function(){return jQuery("body").addClass(c.settings.requestBodyClass)}),jQuery(document).on("cart.requestComplete",function(){return jQuery("body").removeClass(c.settings.requestBodyClass)})),c.Rivets.init(),jQuery(document).trigger("cart.ready",[c.cart])},c.configure=function(a2){return a2==null&&(a2={}),c.Utils.extend(c.settings,a2)},window.console==null&&(window.console={},window.console.log=function(){}),d='A money formatting filter was used, but Shopify.formatMoney is not available. See the note "Dependency when formatting monetary values" on this page: https://cartjs.org/pages/guide#getting-started-setup.',c.Utils={log:function(){return c.Utils.console(console.log,arguments)},warn:function(){return c.Utils.console(console.warn,arguments)},error:function(){return c.Utils.console(console.error,arguments)},console:function(a2,b2){return c.settings.debug&&typeof console<"u"&&console!==null?(b2=Array.prototype.slice.call(b2),b2.unshift("[CartJS]:"),a2.apply(console,b2)):void 0},wrapKeys:function(a2,b2,c2){var d2,e2,f2;
15b2==null&&(b2="properties"),f2={};for(d2 in a2)e2=a2[d2],f2[""+b2+"["+d2+"]"]=c2??e2;return f2},unwrapKeys:function(a2,b2,c2){var d2,e2,f2,g2;b2==null&&(b2="properties"),e2={};for(d2 in a2)g2=a2[d2],f2=d2.replace(""+b2+"[","").replace("]",""),e2[f2]=c2??g2;return e2},extend:function(a2,b2){var c2,d2;for(c2 in b2)d2=b2[c2],a2[c2]=d2;return a2},clone:function(a2){var b2,c2;if(a2==null||typeof a2!="object")return a2;c2=new a2.constructor;for(b2 in a2)c2[b2]=clone(a2[b2]);return c2},isArray:Array.isArray||function(a2){return{}.toString.call(a2)==="[object Array]"},ensureArray:function(a2){return c.Utils.isArray(a2)?a2:a2!=null?[a2]:[]},formatMoney:function(a2,b2,e2,f2){var g2,h2;return f2==null&&(f2=""),f2||(f2=c.settings.currency),window.Currency!=null&&f2!==c.settings.currency&&(a2=Currency.convert(a2,c.settings.currency,f2),((g2=window.Currency)!=null?g2.moneyFormats:void 0)!=null&&f2 in window.Currency.moneyFormats&&(b2=window.Currency.moneyFormats[f2][e2])),((h2=window.Shopify)!=null?h2.formatMoney:void 0)!=null?Shopify.formatMoney(a2,b2):(c.Utils.warn(d),a2)},getSizedImageUrl:function(a2,b2){var c2,d2;return((c2=window.Shopify)!=null&&(d2=c2.Image)!=null?d2.getSizedImageUrl:void 0)!=null?a2?Shopify.Image.getSizedImageUrl(a2,b2):Shopify.Image.getSizedImageUrl("https://cdn.shopify.com/s/images/admin/no-image-.gif",b2).replace("-_","-"):a2||"https://cdn.shopify.com/s/images/admin/no-image-large.gif"}},g=[],f=!1,c.Queue={add:function(a2,b2,d2){var e2;return d2==null&&(d2={}),e2={url:a2,data:b2,type:d2.type||"POST",dataType:d2.dataType||"json",success:c.Utils.ensureArray(d2.success),error:c.Utils.ensureArray(d2.error),complete:c.Utils.ensureArray(d2.complete)},d2.updateCart&&e2.success.push(c.cart.update),g.push(e2),f?void 0:(jQuery(document).trigger("cart.requestStarted",[c.cart]),c.Queue.process())},process:function(){var a2;return g.length?(f=!0,a2=g.shift(),a2.complete=c.Queue.process,jQuery.ajax(a2)):(f=!1,void jQuery(document).trigger("cart.requestComplete",[c.cart]))}},c.Core={getCart:function(a2){return a2==null&&(a2={}),a2.type="GET",a2.updateCart=!0,c.Queue.add("/cart.js",{},a2)},addItem:function(a2,b2,d2,e2){var f2;return b2==null&&(b2=1),d2==null&&(d2={}),e2==null&&(e2={}),f2=c.Utils.wrapKeys(d2),f2.id=a2,f2.quantity=b2,c.Queue.add("/cart/add.js",f2,e2),c.Core.getCart()},addItems:function(a2,b2){var d2;return b2==null&&(b2={}),d2={items:a2},c.Queue.add("/cart/add.js",d2,b2),c.Core.getCart()},updateItem:function(a2,b2,d2,e2){var f2;return d2==null&&(d2={}),e2==null&&(e2={}),f2=c.Utils.wrapKeys(d2),f2.line=a2,b2!=null&&(f2.quantity=b2),e2.updateCart=!0,c.Queue.add("/cart/change.js",f2,e2)},removeItem:function(a2,b2){return b2==null&&(b2={}),c.Core.updateItem(a2,0,{},b2)},updateItemById:function(a2,b2,d2,e2){var f2;return d2==null&&(d2={}),e2==null&&(e2={}),f2=c.Utils.wrapKeys(d2),f2.id=a2,b2!=null&&(f2.quantity=b2),e2.updateCart=!0,c.Queue.add("/cart/change.js",f2,e2)},updateItemQuantitiesById:function(a2,b2){return a2==null&&(a2={}),b2==null&&(b2={}),b2.updateCart=!0,c.Queue.add("/cart/update.js",{updates:a2},b2)},removeItemById:function(a2,b2){var d2;return b2==null&&(b2={}),d2={id:a2,quantity:0},b2.updateCart=!0,c.Queue.add("/cart/change.js",d2,b2)},clear:function(a2){return a2==null&&(a2={}),a2.updateCart=!0,c.Queue.add("/cart/clear.js",{},a2)},getAttribute:function(a2,b2){return a2 in c.cart.attributes?c.cart.attributes[a2]:b2},setAttribute:function(a2,b2,d2){var e2;return d2==null&&(d2={}),e2={},e2[a2]=b2,c.Core.setAttributes(e2,d2)},getAttributes:function(){return c.cart.attributes},setAttributes:function(a2,b2){return a2==null&&(a2={}),b2==null&&(b2={}),b2.updateCart=!0,c.Queue.add("/cart/update.js",c.Utils.wrapKeys(a2,"attributes"),b2)},clearAttributes:function(a2){return a2==null&&(a2={}),a2.updateCart=!0,c.Queue.add("/cart/update.js",c.Utils.wrapKeys(c.Core.getAttributes(),"attributes",""),a2)},getNote:function(){return c.cart.note},setNote:function(a2,b2){return b2==null&&(b2={}),b2.updateCart=!0,c.Queue.add("/cart/update.js",{note:a2},b2)}},a=null,c.Data={init:function(){return a=jQuery(document),c.Data.setEventListeners("on"),c.Data.render(null,c.cart)},destroy:function(){return c.Data.setEventListeners("off")},setEventListeners:function(b2){return a[b2]("click","[data-cart-add]",c.Data.add
15),a[b2]("click","[data-cart-remove]",c.Data.remove),a[b2]("click","[data-cart-remove-id]",c.Data.removeById),a[b2]("click","[data-cart-update]",c.Data.update),a[b2]("click","[data-cart-update-id]",c.Data.updateById),a[b2]("click","[data-cart-clear]",c.Data.clear),a[b2]("change","[data-cart-toggle]",c.Data.toggle),a[b2]("change","[data-cart-toggle-attribute]",c.Data.toggleAttribute),a[b2]("submit","[data-cart-submit]",c.Data.submit),a[b2]("cart.requestComplete",c.Data.render)},add:function(a2){var b2;return a2.preventDefault(),b2=jQuery(this),c.Core.addItem(b2.attr("data-cart-add"),b2.attr("data-cart-quantity"))},remove:function(a2){var b2;return a2.preventDefault(),b2=jQuery(this),c.Core.removeItem(b2.attr("data-cart-remove"))},removeById:function(a2){var b2;return a2.preventDefault(),b2=jQuery(this),c.Core.removeItemById(b2.attr("data-cart-remove-id"))},update:function(a2){var b2;return a2.preventDefault(),b2=jQuery(this),c.Core.updateItem(b2.attr("data-cart-update"),b2.attr("data-cart-quantity"))},updateById:function(a2){var b2;return a2.preventDefault(),b2=jQuery(this),c.Core.updateItemById(b2.attr("data-cart-update-id"),b2.attr("data-cart-quantity"))},clear:function(a2){return a2.preventDefault(),c.Core.clear()},toggle:function(){var a2,b2;return a2=jQuery(this),b2=a2.attr("data-cart-toggle"),a2.is(":checked")?c.Core.addItem(b2):c.Core.removeItemById(b2)},toggleAttribute:function(){var a2,b2;return a2=jQuery(this),b2=a2.attr("data-cart-toggle-attribute"),c.Core.setAttribute(b2,a2.is(":checked")?"Yes":"")},submit:function(a2){var b2,d2,e2,f2;return a2.preventDefault(),b2=jQuery(this).serializeArray(),d2=void 0,f2=void 0,e2={},jQuery.each(b2,function(a3,b3){return b3.name==="id"?d2=b3.value:b3.name==="quantity"?f2=b3.value:b3.name.match(/^properties\[[\w ]+\]$/)?e2[b3.name]=b3.value:void 0}),c.Core.addItem(d2,f2,c.Utils.unwrapKeys(e2))},render:function(a2,b2){var d2;return d2={item_count:b2.item_count,total_price:b2.total_price,total_price_money:c.Utils.formatMoney(b2.total_price,c.settings.moneyFormat,"money_format",(typeof Currency<"u"&&Currency!==null?Currency.currentCurrency:void 0)!=null?Currency.currentCurrency:void 0),total_price_money_with_currency:c.Utils.formatMoney(b2.total_price,c.settings.moneyWithCurrencyFormat,"money_with_currency_format",(typeof Currency<"u"&&Currency!==null?Currency.currentCurrency:void 0)!=null?Currency.currentCurrency:void 0)},jQuery("[data-cart-render]").each(function(){var a3;return a3=jQuery(this),a3.html(d2[a3.attr("data-cart-render")])})}},rivets?(c.Rivets={model:null,boundViews:[],init:function(){return c.Rivets.bindViews()},destroy:function(){return c.Rivets.unbindViews()},bindViews:function(){return c.Utils.log("Rivets.js is present, binding views."),c.Rivets.unbindViews(),c.Rivets.model=c.Utils.extend({cart:c.cart},c.settings.rivetsModels),window.Currency!=null&&(c.Rivets.model.Currency=window.Currency),jQuery("[data-cart-view]").each(function(){var a2;return a2=rivets.bind(jQuery(this),c.Rivets.model),c.Rivets.boundViews.push(a2)})},unbindViews:function(){var a2,b2,d2,e2;for(e2=c.Rivets.boundViews,b2=0,d2=e2.length;d2>b2;b2++)a2=e2[b2],a2.unbind();return c.Rivets.boundViews=[]}},rivets.formatters.eq=function(a2,b2){return a2===b2},rivets.formatters.includes=function(a2,b2){return a2.indexOf(b2)>=0},rivets.formatters.match=function(a2,b2,c2){return a2.match(new RegExp(b2,c2))},rivets.formatters.lt=function(a2,b2){return b2>a2},rivets.formatters.gt=function(a2,b2){return a2>b2},rivets.formatters.not=function(a2){return!a2},rivets.formatters.empty=function(a2){return!a2.length},rivets.formatters.plus=function(a2,b2){return parseInt(a2)+parseInt(b2)},rivets.formatters.minus=function(a2,b2){return parseInt(a2)-parseInt(b2)},rivets.formatters.times=function(a2,b2){return a2*b2},rivets.formatters.divided_by=function(a2,b2){return a2/b2},rivets.formatters.modulo=function(a2,b2){return a2%b2},rivets.formatters.prepend=function(a2,b2){return b2+a2},rivets.formatters.append=function(a2,b2){return a2+b2},rivets.formatters.slice=function(a2,b2,c2){return a2.slice(b2,c2)},rivets.formatters.pluralize=function(a2,b2,d2){return d2==null&&(d2=b2+"s"),c.Utils.isArray(a2)&&(a2=a2.length),a2===1?b2:d2},rivets.formatters.array_element=function(a2,b2){return a2[b2]},rivets.formatters.array_first=function(a2){return a2[0]},rivets.formatters.array_last=function(a2){return a2[a2.length-1]},rivets.formatters.money=function(a2,b2){return c.Utils.formatMoney(a2,c.settings.moneyFormat,"money_format",b2)},rivets.formatters.money_with_currency=function(a2,b2){return c.Utils.formatMoney(a2,c.settings.moneyWithCurrencyFormat,"money_with_currency_format",b2)},rivets.formatters.weight=function(a2){switch(c.settings.weightUnit){case"kg":return(a2/1e3).toFixed(c.settings.weightPrecision);case"oz":return(.035274*a2).toFixed(c.settings.weightPrecision);case"lb":return(.00220462*a2).toFixed(c.settings.weightPrecision);default:return a2.toFixed(c.settings.weightPrecision)}},rivets.formatters.weight_with_unit=function(a2){return rivets.formatters.weight(a2)+c.settings.weightUnit},rivets.formatters.product_image_size=function(a2,b2){return c.Utils.getSizedImageUrl(a2,b2)},rivets.formatters.moneyWithCurrency=rivets.formatters.money_with_currency,rivets.formatters.weightWithUnit=rivets.formatters.weight_with_unit,rivets.formatters.productImageSize=rivets.formatters.product_image_size):c.Rivets={init:function(){},destroy:function(){}},c.factory=function(a2){return a2.init=c.init,a2.configure=c.configure,a2.cart=c.cart,a2.settings=c.settings,a2.getCart=c.Core.getCart,a2.addItem=c.Core.addItem,a2.addItems=c.Core.addItems,a2.updateItem=c.Core.updateItem,a2.updateItemById=c.Core.updateItemById,a2.updateItemQuantitiesById=c.Core.updateItemQuantitiesById,a2.removeItem=c.Core.removeItem,a2.removeItemById=c.Core.removeItemById,a2.clear=c.Core.clear,a2.getAttribute=c.Core.getAttribute,a2.setAttribute=c.Core.setAttribute,a2.getAttributes=c.Core.getAttributes,a2.setAttributes=c.Core.setAttributes,a2.clearAttributes=c.Core.clearAttributes,a2.getNote=c.Core.getNote,a2.setNote=c.Core.setNote,a2.render=c.Data.render},typeof exports=="object"?c.factory(exports):typeof define=="function"&&define.amd?define(["exports"],function(a2){return c.factory(this.CartJS=a2),a2}):c.factory(this.CartJS={})}.call(this),(function(i){"use strict";typeof define=="function"&&define.amd?define(["jquery"],i):typeof exports<"u"?module.exports=i(require("jquery")):i(jQuery)})(function(i){"use strict";var e=window.Slick||{};(e=(function(){var e2=0;return function(t,o){var s,n=this;n.defaults={accessibility:!0,adaptiveHeight:!1,appendArrows:i(t),appendDots:i(t),arrows:!0,asNavFor:null,prevArrow:'<button class="slick-prev" aria-label="Previous" type="button">Previous</button>',nextArrow:'<button class="slick-next" aria-label="Next" type="button">Next</button>',autoplay:!1,autoplaySpeed:3e3,centerMode:!1,centerPadding:"50px",cssEase:"ease",customPaging:function(e3,t2){return i('<button type="button" />').text(t2+1)},dots:!1,dotsClass:"slick-dots",draggable:!0,easing:"linear",edgeFriction:.35,fade:!1,focusOnSelect:!1,focusOnChange:!1,infinite:!0,initialSlide:0,lazyLoad:"ondemand",mobileFirst:!1,pauseOnHover:!0,pauseOnFocus:!0,pauseOnDotsHover:!1,respondTo:"window",responsive:null,rows:1,rtl:!1,slide:"",slidesPerRow:1,slidesToShow:1,slidesToScroll:1,speed:500,swipe:!0,swipeToSlide:!1,touchMove:!0,touchThreshold:5,useCSS:!0,useTransform:!0,variableWidth:!1,vertical:!1,verticalSwiping:!1,waitForAnimate:!0,zIndex:1e3},n.initials={animating:!1,dragging:!1,autoPlayTimer:null,currentDirection:0,currentLeft:null,currentSlide:0,direction:1,$dots:null,listWidth:null,listHeight:null,loadIndex:0,$nextArrow:null,$prevArrow:null,scrolling:!1,slideCount:null,slideWidth:null,$slideTrack:null,$slides:null,
15sliding:!1,slideOffset:0,swipeLeft:null,swiping:!1,$list:null,touchObject:{},transformsEnabled:!1,unslicked:!1},i.extend(n,n.initials),n.activeBreakpoint=null,n.animType=null,n.animProp=null,n.breakpoints=[],n.breakpointSettings=[],n.cssTransitions=!1,n.focussed=!1,n.interrupted=!1,n.hidden="hidden",n.paused=!0,n.positionProp=null,n.respondTo=null,n.rowCount=1,n.shouldClick=!0,n.$slider=i(t),n.$slidesCache=null,n.transformType=null,n.transitionType=null,n.visibilityChange="visibilitychange",n.windowWidth=0,n.windowTimer=null,s=i(t).data("slick")||{},n.options=i.extend({},n.defaults,o,s),n.currentSlide=n.options.initialSlide,n.originalSettings=n.options,document.mozHidden!==void 0?(n.hidden="mozHidden",n.visibilityChange="mozvisibilitychange"):document.webkitHidden!==void 0&&(n.hidden="webkitHidden",n.visibilityChange="webkitvisibilitychange"),n.autoPlay=i.proxy(n.autoPlay,n),n.autoPlayClear=i.proxy(n.autoPlayClear,n),n.autoPlayIterator=i.proxy(n.autoPlayIterator,n),n.changeSlide=i.proxy(n.changeSlide,n),n.clickHandler=i.proxy(n.clickHandler,n),n.selectHandler=i.proxy(n.selectHandler,n),n.setPosition=i.proxy(n.setPosition,n),n.swipeHandler=i.proxy(n.swipeHandler,n),n.dragHandler=i.proxy(n.dragHandler,n),n.keyHandler=i.proxy(n.keyHandler,n),n.instanceUid=e2++,n.htmlExpr=/^(?:\s*(<[\w\W]+>)[^>]*)$/,n.registerBreakpoints(),n.init(!0)}})()).prototype.activateADA=function(){this.$slideTrack.find(".slick-active").attr({"aria-hidden":"false"}).find("a, input, button, select").attr({tabindex:"0"})},e.prototype.addSlide=e.prototype.slickAdd=function(e2,t,o){var s=this;if(typeof t=="boolean")o=t,t=null;else if(t<0||t>=s.slideCount)return!1;s.unload(),typeof t=="number"?t===0&&s.$slides.length===0?i(e2).appendTo(s.$slideTrack):o?i(e2).insertBefore(s.$slides.eq(t)):i(e2).insertAfter(s.$slides.eq(t)):o===!0?i(e2).prependTo(s.$slideTrack):i(e2).appendTo(s.$slideTrack),s.$slides=s.$slideTrack.children(this.options.slide),s.$slideTrack.children(this.options.slide).detach(),s.$slideTrack.append(s.$slides),s.$slides.each(function(e3,t2){i(t2).attr("data-slick-index",e3)}),s.$slidesCache=s.$slides,s.reinit()},e.prototype.animateHeight=function(){var i2=this;if(i2.options.slidesToShow===1&&i2.options.adaptiveHeight===!0&&i2.options.vertical===!1){var e2=i2.$slides.eq(i2.currentSlide).outerHeight(!0);i2.$list.animate({height:e2},i2.options.speed)}},e.prototype.animateSlide=function(e2,t){var o={},s=this;s.animateHeight(),s.options.rtl===!0&&s.options.vertical===!1&&(e2=-e2),s.transformsEnabled===!1?s.options.vertical===!1?s.$slideTrack.animate({left:e2},s.options.speed,s.options.easing,t):s.$slideTrack.animate({top:e2},s.options.speed,s.options.easing,t):s.cssTransitions===!1?(s.options.rtl===!0&&(s.currentLeft=-s.currentLeft),i({animStart:s.currentLeft}).animate({animStart:e2},{duration:s.options.speed,easing:s.options.easing,step:function(i2){i2=Math.ceil(i2),s.options.vertical===!1?(o[s.animType]="translate("+i2+"px, 0px)",s.$slideTrack.css(o)):(o[s.animType]="translate(0px,"+i2+"px)",s.$slideTrack.css(o))},complete:function(){t&&t.call()}})):(s.applyTransition(),e2=Math.ceil(e2),s.options.vertical===!1?o[s.animType]="translate3d("+e2+"px, 0px, 0px)":o[s.animType]="translate3d(0px,"+e2+"px, 0px)",s.$slideTrack.css(o),t&&setTimeout(function(){s.disableTransition(),t.call()},s.options.speed))},e.prototype.getNavTarget=function(){var e2=this,t=e2.options.asNavFor;return t&&t!==null&&(t=i(t).not(e2.$slider)),t},e.prototype.asNavFor=function(e2){var t=this.getNavTarget();t!==null&&typeof t=="object"&&t.each(function(){var t2=i(this).slick("getSlick");t2.unslicked||t2.slideHandler(e2,!0)})},e.prototype.applyTransition=function(i2){var e2=this,t={};e2.options.fade===!1?t[e2.transitionType]=e2.transformType+" "+e2.options.speed+"ms "+e2.options.cssEase:t[e2.transitionType]="opacity "+e2.options.speed+"ms "+e2.options.cssEase,e2.options.fade===!1?e2.$slideTrack.css(t):e2.$slides.eq(i2).css(t)},e.prototype.autoPlay=function(){var i2=this;i2.autoPlayClear(),i2.slideCount>i2.options.slidesToShow&&(i2.autoPlayTimer=setInterval(i2.autoPlayIterator,i2.options.autoplaySpeed))},e.prototype.autoPlayClear=function(){var i2=this;i2.autoPlayTimer&&clearInterval(i2.autoPlayTimer)},e.prototype.autoPlayIterator=function(){var i2=this,e2=i2.currentSlide+i2.options.slidesToScroll;i2.paused||i2.interrupted||i2.focussed||(i2.options.infinite===!1&&(i2.direction===1&&i2.currentSlide+1===i2.slideCount-1?i2.direction=0:i2.direction===0&&(e2=i2.currentSlide-i2.o
15ptions.slidesToScroll,i2.currentSlide-1==0&&(i2.direction=1))),i2.slideHandler(e2))},e.prototype.buildArrows=function(){var e2=this;e2.options.arrows===!0&&(e2.$prevArrow=i(e2.options.prevArrow).addClass("slick-arrow"),e2.$nextArrow=i(e2.options.nextArrow).addClass("slick-arrow"),e2.slideCount>e2.options.slidesToShow?(e2.$prevArrow.removeClass("slick-hidden").removeAttr("aria-hidden tabindex"),e2.$nextArrow.removeClass("slick-hidden").removeAttr("aria-hidden tabindex"),e2.htmlExpr.test(e2.options.prevArrow)&&e2.$prevArrow.prependTo(e2.options.appendArrows),e2.htmlExpr.test(e2.options.nextArrow)&&e2.$nextArrow.appendTo(e2.options.appendArrows),e2.options.infinite!==!0&&e2.$prevArrow.addClass("slick-disabled").attr("aria-disabled","true")):e2.$prevArrow.add(e2.$nextArrow).addClass("slick-hidden").attr({"aria-disabled":"true",tabindex:"-1"}))},e.prototype.buildDots=function(){var e2,t,o=this;if(o.options.dots===!0){for(o.$slider.addClass("slick-dotted"),t=i("<ul />").addClass(o.options.dotsClass),e2=0;e2<=o.getDotCount();e2+=1)t.append(i("<li />").append(o.options.customPaging.call(this,o,e2)));o.$dots=t.appendTo(o.options.appendDots),o.$dots.find("li").first().addClass("slick-active")}},e.prototype.buildOut=function(){var e2=this;e2.$slides=e2.$slider.children(e2.options.slide+":not(.slick-cloned)").addClass("slick-slide"),e2.slideCount=e2.$slides.length,e2.$slides.each(function(e3,t){i(t).attr("data-slick-index",e3).data("originalStyling",i(t).attr("style")||"")}),e2.$slider.addClass("slick-slider"),e2.$slideTrack=e2.slideCount===0?i('<div class="slick-track"/>').appendTo(e2.$slider):e2.$slides.wrapAll('<div class="slick-track"/>').parent(),e2.$list=e2.$slideTrack.wrap('<div class="slick-list"/>').parent(),e2.$slideTrack.css("opacity",0),e2.options.centerMode!==!0&&e2.options.swipeToSlide!==!0||(e2.options.slidesToScroll=1),i("img[data-lazy]",e2.$slider).not("[src]").addClass("slick-loading"),e2.setupInfinite(),e2.buildArrows(),e2.buildDots(),e2.updateDots(),e2.setSlideClasses(typeof e2.currentSlide=="number"?e2.currentSlide:0),e2.options.draggable===!0&&e2.$list.addClass("draggable")},e.prototype.buildRows=function(){var i2,e2,t,o,s,n,r,l=this;if(o=document.createDocumentFragment(),n=l.$slider.children(),l.options.rows>1){for(r=l.options.slidesPerRow*l.options.rows,s=Math.ceil(n.length/r),i2=0;i2<s;i2++){var d=document.createElement("div");for(e2=0;e2<l.options.rows;e2++){var a=document.createElement("div");for(t=0;t<l.options.slidesPerRow;t++){var c=i2*r+(e2*l.options.slidesPerRow+t);n.get(c)&&a.appendChild(n.get(c))}d.appendChild(a)}o.appendChild(d)}l.$slider.empty().append(o),l.$slider.children().children().children().css({width:100/l.options.slidesPerRow+"%",display:"inline-block"})}},e.prototype.checkResponsive=function(e2,t){var o,s,n,r=this,l=!1,d=r.$slider.width(),a=window.innerWidth||i(window).width();if(r.respondTo==="window"?n=a:r.respondTo==="slider"?n=d:r.respondTo==="min"&&(n=Math.min(a,d)),r.options.responsive&&r.options.responsive.length&&r.options.responsive!==null){s=null;for(o in r.breakpoints)r.breakpoints.hasOwnProperty(o)&&(r.originalSettings.mobileFirst===!1?n<r.breakpoints[o]&&(s=r.breakpoints[o]):n>r.breakpoints[o]&&(s=r.breakpoints[o]));s!==null?r.activeBreakpoint!==null?(s!==r.activeBreakpoint||t)&&(r.activeBreakpoint=s,r.breakpointSettings[s]==="unslick"?r.unslick(s):(r.options=i.extend({},r.originalSettings,r.breakpointSettings[s]),e2===!0&&(r.currentSlide=r.options.initialSlide),r.refresh(e2)),l=s):(r.activeBreakpoint=s,r.breakpointSettings[s]==="unslick"?r.unslick(s):(r.options=i.extend({},r.originalSettings,r.breakpointSettings[s]),e2===!0&&(r.currentSlide=r.options.initialSlide),r.refresh(e2)),l=s):r.activeBreakpoint!==null&&(r.activeBreakpoint=null,r.options=r.originalSettings,e2===!0&&(r.currentSlide=r.options.initialSlide),r.refresh(e2),l=s),e2||l===!1||r.$slider.trigger("breakpoint",[r,l])}},e.prototype.changeSlide=function(e2,t){var o,s,n,r=this,l=i(e2.currentTarget);switch(l.is("a")&&e2.preventDefault(),l.is("li")||(l=l.closest("li")),n=r.slideCount%r.options.slidesToScroll!=0,o=n?0:(r.slideCount-r.currentSlide)%r.options.slidesToScroll,e2.data.message){case"previous":s=o===0?r.options.slidesToScroll:r.o
15ptions.slidesToShow-o,r.slideCount>r.options.slidesToShow&&r.slideHandler(r.currentSlide-s,!1,t);break;case"next":s=o===0?r.options.slidesToScroll:o,r.slideCount>r.options.slidesToShow&&r.slideHandler(r.currentSlide+s,!1,t);break;case"index":var d=e2.data.index===0?0:e2.data.index||l.index()*r.options.slidesToScroll;r.slideHandler(r.checkNavigable(d),!1,t),l.children().trigger("focus");break;default:return}},e.prototype.checkNavigable=function(i2){var e2,t;if(e2=this.getNavigableIndexes(),t=0,i2>e2[e2.length-1])i2=e2[e2.length-1];else for(var o in e2){if(i2<e2[o]){i2=t;break}t=e2[o]}return i2},e.prototype.cleanUpEvents=function(){var e2=this;e2.options.dots&&e2.$dots!==null&&(i("li",e2.$dots).off("click.slick",e2.changeSlide).off("mouseenter.slick",i.proxy(e2.interrupt,e2,!0)).off("mouseleave.slick",i.proxy(e2.interrupt,e2,!1)),e2.options.accessibility===!0&&e2.$dots.off("keydown.slick",e2.keyHandler)),e2.$slider.off("focus.slick blur.slick"),e2.options.arrows===!0&&e2.slideCount>e2.options.slidesToShow&&(e2.$prevArrow&&e2.$prevArrow.off("click.slick",e2.changeSlide),e2.$nextArrow&&e2.$nextArrow.off("click.slick",e2.changeSlide),e2.options.accessibility===!0&&(e2.$prevArrow&&e2.$prevArrow.off("keydown.slick",e2.keyHandler),e2.$nextArrow&&e2.$nextArrow.off("keydown.slick",e2.keyHandler))),e2.$list.off("touchstart.slick mousedown.slick",e2.swipeHandler),e2.$list.off("touchmove.slick mousemove.slick",e2.swipeHandler),e2.$list.off("touchend.slick mouseup.slick",e2.swipeHandler),e2.$list.off("touchcancel.slick mouseleave.
15slick",e2.swipeHandler),e2.$list.off("click.slick",e2.clickHandler),i(document).off(e2.visibilityChange,e2.visibility),e2.cleanUpSlideEvents(),e2.options.accessibility===!0&&e2.$list.off("keydown.slick",e2.keyHandler),e2.options.focusOnSelect===!0&&i(e2.$slideTrack).children().off("click.slick",e2.selectHandler),i(window).off("orientationchange.slick.slick-"+e2.instanceUid,e2.orientationChange),i(window).off("resize.slick.slick-"+e2.instanceUid,e2.resize),i("[draggable!=true]",e2.$slideTrack).off("dragstart",e2.preventDefault),i(window).off("load.slick.slick-"+e2.instanceUid,e2.setPosition)},e.prototype.cleanUpSlideEvents=function(){var e2=this;e2.$list.off("mouseenter.slick",i.proxy(e2.interrupt,e2,!0)),e2.$list.off("mouseleave.slick",i.proxy(e2.interrupt,e2,!1))},e.prototype.cleanUpRows=function(){var i2,e2=this;e2.options.rows>1&&((i2=e2.$slides.children().children()).removeAttr("style"),e2.$slider.empty().append(i2))},e.prototype.clickHandler=function(i2){this.shouldClick===!1&&(i2.stopImmediatePropagation(),i2.stopPropagation(),i2.preventDefault())},e.prototype.destroy=function(e2){var t=this;t.autoPlayClear(),t.touchObject={},t.cleanUpEvents(),i(".slick-cloned",t.$slider).detach(),t.$dots&&t.$dots.remove(),t.$prevArrow&&t.$prevArrow.length&&(t.$prevArrow.removeClass("slick-disabled slick-arrow slick-hidden").removeAttr("aria-hidden aria-disabled tabindex").css("display",""),t.htmlExpr.test(t.options.prevArrow)&&t.$prevArrow.remove()),t.$nextArrow&&t.$nextArrow.length&&(t.$nextArrow.removeClass("slick-disabled slick-arrow slick-hidden").removeAttr("aria-hidden aria-disabled tabindex").css("display",""),t.htmlExpr.test(t.options.nextArrow)&&t.$nextArrow.remove()),t.$slides&&(t.$slides.removeClass("slick-slide slick-active slick-center slick-visible slick-current").removeAttr("aria-hidden").removeAttr("data-slick-index").each(function(){i(this).attr("style",i(this).data("originalStyling"))}),t.$slideTrack.children(this.options.slide).detach(),t.$slideTrack.detach(),t.$list.detach(),t.$slider.append(t.$slides)),t.cleanUpRows(),t.$slider.removeClass("slick-slider"),t.$slider.removeClass("slick-initialized"),t.$slider.removeClass("slick-dotted"),t.unslicked=!0,e2||t.$slider.trigger("destroy",[t])},e.prototype.disableTransition=function(i2){var e2=this,t={};t[e2.transitionType]="",e2.options.fade===!1?e2.$slideTrack.css(t):e2.$slides.eq(i2).css(t)},e.prototype.fadeSlide=function(i2,e2){var t=this;t.cssTransitions===!1?(t.$slides.eq(i2).css({zIndex:t.options.zIndex}),t.$slides.eq(i2).animate({opacity:1},t.options.speed,t.options.easing,e2)):(t.applyTransition(i2),t.$slides.eq(i2).css({opacity:1,zIndex:t.options.zIndex}),e2&&setTimeout(function(){t.disableTransition(i2),e2.call()},t.options.speed))},e.prototype.fadeSlideOut=function(i2){var e2=this;e2.cssTransitions===!1?e2.$slides.eq(i2).animate({opacity:0,zIndex:e2.options.zIndex-2},e2.options.speed,e2.options.easing):(e2.applyTransition(i2),e2.$slides.eq(i2).css({opacity:0,zIndex:e2.options.zIndex-2}))},e.prototype.filterSlides=e.prototype.slickFilter=function(i2){var e2=this;i2!==null&&(e2.$slidesCache=e2.$slides,e2.unload(),e2.$slideTrack.children(this.options.slide).detach(),e2.$slidesCache.filter(i2).appendTo(e2.$slideTrack),e2.reinit())},e.prototype.focusHandler=function(){var e2=this;e2.$slider.off("focus.slick blur.slick").on("focus.slick blur.slick","*",function(t){t.stopImmediatePropagation();var o=i(this);setTimeout(function(){e2.options.pauseOnFocus&&(e2.focussed=o.is(":focus"),e2.autoPlay())},0)})},e.prototype.getCurrent=e.prototype.slickCurrentSlide=function(){return this.currentSlide},e.prototype.getDotCount=function(){var i2=this,e2=0,t=0,o=0;if(i2.options.infinite===!0)if(i2.slideCount<=i2.options.slidesToShow)++o;else for(;e2<i2.slideCount;)++o,e2=t+i2.options.slidesToScroll,t+=i2.options.slidesToScroll<=i2.options.slidesToShow?i2.options.slidesToScroll:i2.options.slidesToShow;else if(i2.options.centerMode===!0)o=i2.slideCount;else if(i2.options.asNavFor)for(;e2<i2.slideCount;)++o,e2=t+i2.options.slidesToScroll,t+=i2.options.slidesToScroll<=i2.options.slidesToShow?i2.options.slidesToScroll:i2.options.slidesToShow;else o=1+Math.ceil((i2.slideCount-i2.options.slidesToShow)/i2.options.slidesToScroll);return o-1},e.prototype.getLeft=function(i2){var e2,t,o,s,n=this,r=0;return n.slideOffset=0,t=n.$slides.first().outerHeight(!0),n.options.infinite===!0?(n.slideCount>n.options.slidesToShow&&(n.slideOffset=n.slideWidth*n.options.slidesToShow*-1,s=-1,n.options.vertical===!0&&n.options.centerMode===!0&&(n.options.slidesToShow===2?s=-1.5:n.options.slidesToShow===1&&(s=-2)),r=t*n.options.slidesToShow*s),n.slideCount%n.options.slidesToScroll!=0&&i2+n.options.slidesToScroll>n.slideCount&&n.slideCount>n.options.slidesToShow&&(i2>n.slideCount?(n.slideOffset=(n.options.slidesToShow-(i2-n.slideCount))*n.slideWidth*-1,r=(n.options.slidesToShow-(i2-n.slideCount))*t*-1):(n.slideOffset=n.slideCount%n.options.slidesToScroll*n.slideWidth*-1,r=n.slideCount%n.options.slidesToScroll*t*-1))):i2+n.options.slidesToShow>n.slideCount&&(n.slideOffset=(i2+n.options.slidesToShow-n.slideCount)*n.slideWidth,r=(i2+n.options.slidesToShow-n.slideCount)*t),n.slideCount<=n.options.slidesToShow&&(n.slideOffset=0,r=0),n.options.centerMode===!0&&n.slideCount<=n.options.slidesToShow?n.slideOffset=n.slideWidth*Math.floor(n.options.slidesToShow)/2-n.slideWidth*n.slideCount/2:n.options.centerMode===!0&&n.options.infinite===!0?n.slideOffset+=n.slideWidth*Math.floor(n.options.slidesToShow/2)-n.slideWidth:n.options.centerMode===!0&&(n.slideOffset=0,n.slideOffset+=n.slideWidth*Math.floor(n.options.slidesToShow/2)),e2=n.options.vertical===!1?i2*n.slideWidth*-1+n.slideOffset:i2*t*-1+r,n.options.variableWidth===!0&&(o=n.slideCount<=n.options.slidesToShow||n.options.infinite===!1?n.$slideTrack.children(".slick-slide").eq(i2):n.$slideTrack.children(".slick-slide").eq(i2+n.options.slidesToShow),e2=n.options.rtl===!0?o[0]?-1*(n.$slideTrack.width()-o[0].offsetLeft-o.width()):0:o[0]?-1*o[0].offsetLeft:0,n.options.centerMode===!0&&(o=n.slideCount<=n.options.slidesToShow||n.options.infinite===!1?n.$slideTrack.children(".slick-slide").eq(i2):n.$slideTrack.children(".slick-slide").eq(i2+n.options.slidesToShow+1),e2=n.options.rtl===!0?o[0]?-1*(n.$slideTrack.width()-o[0].offsetLeft-o.width()):0:o[0]?-1*o[0].offsetLeft:0,e2+=(n.$list.width()-o.outerWidth())/2)),e2},e.prototype.getOption=e.prototype.slickGetOption=function(i2){return this.options[i2]},e.prototype.getNavigableIndexes=function(){var i2,e2=this,t=0,o=0,s=[];for(e2.options.infinite===!1?i2=e2.slideCount:(t=-1*e2.options.slidesToScroll,o=-1*e2.options.slidesToScroll,i2=2*e2.slideCount);t<i2;)s.push(t),t=o+e2.options.slidesToScroll,o+=e2.options.slidesToScroll<=e2.options.slidesToShow?e2.options.slidesToScroll:e2.options.slidesToShow;return s},e.prototype.getSlick=function(){return this},e.prototype.getSlideCount=function(){var e2,t,o=this;return t=o.options.centerMode===!0?o.slideWidth*Math.floor(o.options.slidesToShow/2):0,o.options.swipeToSlide===!0?(o.$slideTrack.find(".slick-slide").each(function(s,n){if(n.offsetLeft-t+i(n).outerWidth()/2>-1*o.swipeLeft)return e2=n,!1}),Math.abs(i(e2).attr("data-slick-index")-o.currentSlide)||1):o.options.slidesToScroll},e.prototype.goTo=e.prototype.slickGoTo=function(i2,e2){this.changeSlide({data:{message:"index",index:
15parseInt(i2)}},e2)},e.prototype.init=function(e2){var t=this;i(t.$slider).hasClass("slick-initialized")||(i(t.$slider).addClass("slick-initialized"),t.buildRows(),t.buildOut(),t.setProps(),t.startLoad(),t.loadSlider(),t.initializeEvents(),t.updateArrows(),t.updateDots(),t.checkResponsive(!0),t.focusHandler()),e2&&t.$slider.trigger("init",[t]),t.options.accessibility===!0&&t.initADA(),t.options.autoplay&&(t.paused=!1,t.autoPlay())},e.prototype.initADA=function(){var e2=this,t=Math.ceil(e2.slideCount/e2.options.slidesToShow),o=e2.getNavigableIndexes().filter(function(i2){return i2>=0&&i2<e2.slideCount});e2.$slides.add(e2.$slideTrack.find(".slick-cloned")).attr({"aria-hidden":"true",tabindex:"-1"}).find("a, input, button, select").attr({tabindex:"-1"}),e2.$dots!==null&&(e2.$slides.not(e2.$slideTrack.find(".slick-cloned")).each(function(t2){var s2=o.indexOf(t2);i(this).attr({role:"tabpanel",id:"slick-slide"+e2.instanceUid+t2,tabindex:-1}),s2!==-1&&i(this).attr({"aria-describedby":"slick-slide-control"+e2.instanceUid+s2})}),e2.$dots.attr("role","tablist").find("li").each(function(s2){var n2=o[s2];i(this).attr({role:"presentation"}),i(this).find("button").first().attr({role:"tab",id:"slick-slide-control"+e2.instanceUid+s2,"aria-controls":"slick-slide"+e2.instanceUid+n2,"aria-label":s2+1+" of "+t,"aria-selected":null,tabindex:"-1"})}).eq(e2.currentSlide).find("button").attr({"aria-selected":"true",tabindex:"0"}).end());for(var s=e2.currentSlide,n=s+e2.options.slidesToShow;s<n;s++)e2.$slides.eq(s).attr("tabindex",0);e2.activateADA()},e.prototype.initArrowEvents=function(){var i2=this;i2.options.arrows===!0&&i2.slideCount>i2.options.slidesToShow&&(i2.$prevArrow.off("click.slick").on("click.slick",{message:"previous"},i2.changeSlide),i2.$nextArrow.off("click.slick").on("click.slick",{message:"next"},i2.changeSlide),i2.options.accessibility===!0&&(i2.$prevArrow.on("keydown.slick",i2.keyHandler),i2.$nextArrow.on("keydown.slick",i2.keyHandler)))},e.prototype.initDotEvents=function(){var e2=this;e2.options.dots===!0&&(i("li",e2.$dots).on("click.slick",{message:"index"},e2.changeSlide),e2.options.accessibility===!0&&e2.$dots.on("keydown.slick",e2.keyHandler)),e2.options.dots===!0&&e2.options.pauseOnDotsHover===!0&&i("li",e2.$dots).on("mouseenter.slick",i.proxy(e2.interrupt,e2,!0)).on("mouseleave.slick",i.proxy(e2.interrupt,e2,!1))},e.prototype.initSlideEvents=function(){var e2=this;e2.options.pauseOnHover&&(e2.$list.on("mouseenter.slick",i.proxy(e2.interrupt,e2,!0)),e2.$list.on("mouseleave.slick",i.proxy(e2.interrupt,e2,!1)))},e.prototype.initializeEvents=function(){var e2=this;e2.initArrowEvents(),e2.initDotEvents(),e2.initSlideEvents(),e2.$list.on("touchstart.slick mousedown.slick",{action:"start"},e2.swipeHandler),e2.$list.on("touchmove.slick mousemove.slick",{action:"move"},e2.swipeHandler),e2.$list.on("touchend.slick mouseup.slick",{action:"end"}
vendor: 1,559 bytes, line 15
15,e2.swipeHandler),e2.$list.on("touchcancel.slick mouseleave.slick",{action:"end"},e2.swipeHandler),e2.$list.on("click.slick",e2.clickHandler),i(document).on(e2.visibilityChange,i.proxy(e2.visibility,e2)),e2.options.accessibility===!0&&e2.$list.on("keydown.slick",e2.keyHandler),e2.options.focusOnSelect===!0&&i(e2.$slideTrack).children().on("click.slick",e2.selectHandler),i(window).on("orientationchange.slick.slick-"+e2.instanceUid,i.proxy(e2.orientationChange,e2)),i(window).on("resize.slick.slick-"+e2.instanceUid,i.proxy(e2.resize,e2)),i("[draggable!=true]",e2.$slideTrack).on("dragstart",e2.preventDefault),i(window).on("load.slick.slick-"+e2.instanceUid,e2.setPosition),i(e2.setPosition)},e.prototype.initUI=function(){var i2=this;i2.options.arrows===!0&&i2.slideCount>i2.options.slidesToShow&&(i2.$prevArrow.show(),i2.$nextArrow.show()),i2.options.dots===!0&&i2.slideCount>i2.options.slidesToShow&&i2.$dots.show()},e.prototype.keyHandler=function(i2){var e2=this;i2.target.tagName.match("TEXTAREA|INPUT|SELECT")||(i2.keyCode===37&&e2.options.accessibility===!0?e2.changeSlide({data:{message:e2.options.rtl===!0?"next":"previous"}}):i2.keyCode===39&&e2.options.accessibility===!0&&e2.changeSlide({data:{message:e2.options.rtl===!0?"previous":"next"}}))},e.prototype.lazyLoad=function(){function e2(e3){i("img[data-lazy]",e3).each(function(){var e4=i(this),t2=i(this).attr("data-lazy"),o2=i(this).attr("data-srcset"),s2=i(this).attr("data-sizes")||n.$slider.attr("data-sizes"),r2=document.createElement("img");r2.onload=function(){e4.animate({opacity:0}
15,100,function(){o2&&(e4.attr("srcset",o2),s2&&e4.attr("sizes",s2)),e4.attr("src",t2).animate({opacity:1},200,function(){e4.removeAttr("data-lazy data-srcset data-sizes").removeClass("slick-loading")}),n.$slider.trigger("lazyLoaded",[n,e4,t2])})},r2.onerror=function(){e4.removeAttr("data-lazy").removeClass("slick-loading").addClass("slick-lazyload-error"),n.$slider.trigger("lazyLoadError",[n,e4,t2])},r2.src=t2})}var t,o,s,n=this;if(n.options.centerMode===!0?n.options.infinite===!0?s=(o=n.currentSlide+(n.options.slidesToShow/2+1))+n.options.slidesToShow+2:(o=Math.max(0,n.currentSlide-(n.options.slidesToShow/2+1)),s=n.options.slidesToShow/2+1+2+n.currentSlide):(o=n.options.infinite?n.options.slidesToShow+n.currentSlide:n.currentSlide,s=Math.ceil(o+n.options.slidesToShow),n.options.fade===!0&&(o>0&&o--,s<=n.slideCount&&s++)),t=n.$slider.find(".slick-slide").slice(o,s),n.options.lazyLoad==="anticipated")for(var r=o-1,l=s,d=n.$slider.find(".slick-slide"),a=0;a<n.options.slidesToScroll;a++)r<0&&(r=n.slideCount-1),t=(t=t.add(d.eq(r))).add(d.eq(l)),r--,l++;e2(t),n.slideCount<=n.options.slidesToShow?e2(n.$slider.find(".slick-slide")):n.currentSlide>=n.slideCount-n.options.slidesToShow?e2(n.$slider.find(".slick-cloned").slice(0,n.options.slidesToShow)):n.currentSlide===0&&e2(n.$slider.find(".slick-cloned").slice(-1*n.options.slidesToShow))},e.prototype.loadSlider=function(){var i2=this;i2.setPosition(),i2.$slideTrack.css({opacity:1}),i2.$slider.removeClass("slick-loading"),i2.initUI(),i2.options.lazyLoad==="progressive"&&i2.progressiveLazyLoad()},e.prototype.next=e.prototype.slickNext=function(){this.changeSlide({data:{message:"next"}})},e.prototype.orientationChange=function(){var i2=this;i2.checkResponsive(),i2.setPosition()},e.prototype.pause=e.prototype.slickPause=function(){var i2=this;i2.autoPlayClear(),i2.paused=!0},e.prototype.play=e.prototype.slickPlay=function(){var i2=this;i2.autoPlay(),i2.options.autoplay=!0,i2.paused=!1,i2.focussed=!1,i2.interrupted=!1},e.prototype.postSlide=function(e2){var t=this;t.unslicked||(t.$slider.trigger("afterChange",[t,e2]),t.animating=!1,t.slideCount>t.options.slidesToShow&&t.setPosition(),t.swipeLeft=null,t.options.autoplay&&t.autoPlay(),t.options.accessibility===!0&&(t.initADA(),t.options.focusOnChange&&i(t.$slides.get(t.currentSlide)).attr("tabindex",0).focus()))},e.prototype.prev=e.prototype.slickPrev=function(){this.changeSlide({data:{message:"previous"}})},e.prototype.preventDefault=function(i2){i2.preventDefault()},e.prototype.progressiveLazyLoad=function(e2){e2=e2||1;var t,o,s,n,r,l=this,d=i("img[data-lazy]",l.$slider);d.length?(t=d.first(),o=t.attr("data-lazy"),s=t.attr("data-srcset"),n=t.attr("data-sizes")||l.$slider.attr("data-sizes"),(r=document.createElement("img")).onload=function(){s&&(t.attr("srcset",s),n&&t.attr("sizes",n)),t.attr("src",o).removeAttr("data-lazy data-srcset data-sizes").removeClass("slick-loading"),l.options.adaptiveHeight===!0&&l.setPosition(),l.$slider.trigger("lazyLoaded",[l,t,o]),l.progressiveLazyLoad()},r.onerror=function(){e2<3?setTimeout(function(){l.progressiveLazyLoad(e2+1)},500):(t.removeAttr("data-lazy").removeClass("slick-loading").addClass("slick-lazyload-error"),l.$slider.trigger("lazyLoadError",[l,t,o]),l.progressiveLazyLoad())},r.src=o):l.$slider.trigger("allImagesLoaded",[l])},e.prototype.refresh=function(e2){var t,o,s=this;o=s.slideCount-s.options.slidesToShow,!s.options.infinite&&s.currentSlide>o&&(s.currentSlide=o),s.slideCount<=s.options.slidesToShow&&(s.currentSlide=0),t=s.currentSlide,s.destroy(!0),i.extend(s,s.initials,{currentSlide:t}),s.init(),e2||s.changeSlide({data:{message:"index",index:t}},!1)},e.prototype.registerBreakpoints=function(){var e2,t,o,s=this,n=s.options.responsive||null;if(i.type(n)==="array"&&n.length){s.respondTo=s.options.respondTo||"window";for(e2 in n)if(o=s.breakpoints.length-1,n.hasOwnProperty(e2)){for(t=n[e2].breakpoint;o>=0;)s.breakpoints[o]&&s.breakpoints[o]===t&&s.breakpoints.splice(o,1),o--;s.breakpoints.push(t),s.breakpointSettings[t]=n[e2].settings}s.breakpoints.sort(function(i2,e3){return s.options.mobileFirst?i2-e3:e3-i2})}},e.prototype.reinit=function(){var e2=this;e2.$slides=e2.$slideTrack.children(e2.options.slide).addClass("slick-slide"),e2.slideCount=e2.$slides.length,e2.currentSlide>=e2.slideCount&&e2.currentSlide!==0&&(e2.currentSlide=e2.currentSlide-e2.options.slidesToScroll),e2.slideCount<=e2.options.slidesToShow&&(e2.currentSlide=0),e2.registerBreakpoints(),e2.setProps(),e2.setupInfinite(),e2.buildArrows(),e2.updateArrows(),e2.initArrowEvents(),e2.buildDots(),e2.updateDots(),e2.initDotEvents(),e2.cleanUpSlideEvents(),e2.initSlideEvents(),e2.checkResponsive(!1,!0),e2.options.focusOnSelect===!0&&i(e2.$slideTrack).children().on("click.slick",e2.selectHandler),e2.setSlideClasses(typeof e2.currentSlide=="number"?e2.currentSlide:0),e2.setPosition(),e2.focusHandler(),e2.paused=!e2.options.autoplay,e2.autoPlay(),e2.$slider.trigger("reInit",[e2])},e.prototype.resize=function(){var e2=this;i(window).width()!==e2.windowWidth&&(clearTimeout(e2.windowDelay),e2.windowDelay=window.setTimeout(function(){e2.windowWidth=i(window).width(),e2.checkResponsive(),e2.unslicked||e2.setPosition()},50))},e.prototype.removeSlide=e.prototype.slickRemove=function(i2,e2,t){var o=this;if(i2=typeof i2=="boolean"?(e2=i2)===!0?0:o.slideCount-1:e2===!0?--i2:i2,o.slideCount<1||i2<0||i2>o.slideCount-1)return!1;o.unload(),t===!0?o.$slideTrack.children().remove():o.$slideTrack.children(this.options.slide).eq(i2).remove(),o.$slides=o.$slideTrack.children(this.options.slide),o.$slideTrack.children(this.options.slide).detach(),o.$slideTrack.append(o.$slides),o.$slidesCache=o.$slides,o.reinit()},e.prototype.setCSS=function(i2){var e2,t,o=this,s={};o.options.rtl===!0&&(i2=-i2),e2=o.positionProp=="left"?Math.ceil(i2)+"px":"0px",t=o.positionProp=="top"?Math.ceil(i2)+"px":"0px",s[o.positionProp]=i2,o.transformsEnabled===!1?o.$slideTrack.css(s):(s={},o.cssTransitions===!1?(s[o.animType]="translate("+e2+", "+t+")",o.$slideTrack.css(s)):(s[o.animType]="translate3d("+e2+", "+t+", 0px)",o.$slideTrack.css(s)))},e.prototype.setDimensions=function(){var i2=this;i2.options.vertical===!1?i2.options.centerMode===!0&&i2.$list.css({padding:"0px "+i2.options.centerPadding}
vendor: 1,107 bytes, line 15
15):(i2.$list.height(i2.$slides.first().outerHeight(!0)*i2.options.slidesToShow),i2.options.centerMode===!0&&i2.$list.css({padding:i2.options.centerPadding+" 0px"})),i2.listWidth=i2.$list.width(),i2.listHeight=i2.$list.height(),i2.options.vertical===!1&&i2.options.variableWidth===!1?(i2.slideWidth=Math.ceil(i2.listWidth/i2.options.slidesToShow),i2.$slideTrack.width(Math.ceil(i2.slideWidth*i2.$slideTrack.children(".slick-slide").length))):i2.options.variableWidth===!0?i2.$slideTrack.width(5e3*i2.slideCount):(i2.slideWidth=Math.ceil(i2.listWidth),i2.$slideTrack.height(Math.ceil(i2.$slides.first().outerHeight(!0)*i2.$slideTrack.children(".slick-slide").length)));var e2=i2.$slides.first().outerWidth(!0)-i2.$slides.first().width();i2.options.variableWidth===!1&&i2.$slideTrack.children(".slick-slide").width(i2.slideWidth-e2)},e.prototype.setFade=function(){var e2,t=this;t.$slides.each(function(o,s){e2=t.slideWidth*o*-1,t.options.rtl===!0?i(s).css({position:"relative",right:e2,top:0,zIndex:t.options.zIndex-2,opacity:0}):i(s).css({position:"relative",left:e2,top:0,zIndex:t.options.zIndex-2,opacity:0}
15)}),t.$slides.eq(t.currentSlide).css({zIndex:t.options.zIndex-1,opacity:1})},e.prototype.setHeight=function(){var i2=this;if(i2.options.slidesToShow===1&&i2.options.adaptiveHeight===!0&&i2.options.vertical===!1){var e2=i2.$slides.eq(i2.currentSlide).outerHeight(!0);i2.$list.css("height",e2)}},e.prototype.setOption=e.prototype.slickSetOption=function(){var e2,t,o,s,n,r=this,l=!1;if(i.type(arguments[0])==="object"?(o=arguments[0],l=arguments[1],n="multiple"):i.type(arguments[0])==="string"&&(o=arguments[0],s=arguments[1],l=arguments[2],arguments[0]==="responsive"&&i.type(arguments[1])==="array"?n="responsive":arguments[1]!==void 0&&(n="single")),n==="single")r.options[o]=s;else if(n==="multiple")i.each(o,function(i2,e3){r.options[i2]=e3});else if(n==="responsive")for(t in s)if(i.type(r.options.responsive)!=="array")r.options.responsive=[s[t]];else{for(e2=r.options.responsive.length-1;e2>=0;)r.options.responsive[e2].breakpoint===s[t].breakpoint&&r.options.responsive.splice(e2,1),e2--;r.options.responsive.push(s[t])}l&&(r.unload(),r.reinit())},e.prototype.setPosition=function(){var i2=this;i2.setDimensions(),i2.setHeight(),i2.options.fade===!1?i2.setCSS(i2.getLeft(i2.currentSlide)):i2.setFade(),i2.$slider.trigger("setPosition",[i2])},e.prototype.setProps=function(){var i2=this,e2=document.body.style;i2.positionProp=i2.options.vertical===!0?"top":"left",i2.positionProp==="top"?i2.$slider.addClass("slick-vertical"):i2.$slider.removeClass("slick-vertical"),e2.WebkitTransition===void 0&&e2.MozTransition===void 0&&e2.msTransition===void 0||i2.options.useCSS===!0&&(i2.cssTransitions=!0),i2.options.fade&&(typeof i2.options.zIndex=="number"?i2.options.zIndex<3&&(i2.options.zIndex=3):i2.options.zIndex=i2.defaults.zIndex),e2.OTransform!==void 0&&(i2.animType="OTransform",i2.transformType="-o-transform",i2.transitionType="OTransition",e2.perspectiveProperty===void 0&&e2.webkitPerspective===void 0&&(i2.animType=!1)),e2.MozTransform!==void 0&&(i2.animType="MozTransform",i2.transformType="-moz-transform",i2.transitionType="MozTransition",e2.perspectiveProperty===void 0&&e2.MozPerspective===void 0&&(i2.animType=!1)),e2.webkitTransform!==void 0&&(i2.animType="webkitTransform",i2.transformType="-webkit-transform",i2.transitionType="webkitTransition",e2.perspectiveProperty===void 0&&e2.webkitPerspective===void 0&&(i2.animType=!1)),e2.msTransform!==void 0&&(i2.animType="msTransform",i2.transformType="-ms-transform",i2.transitionType="msTransition",e2.msTransform===void 0&&(i2.animType=!1)),e2.transform!==void 0&&i2.animType!==!1&&(i2.animType="transform",i2.transformType="transform",i2.transitionType="transition"),i2.transformsEnabled=i2.options.useTransform&&i2.animType!==null&&i2.animType!==!1},e.prototype.setSlideClasses=function(i2){var e2,t,o,s,n=this;if(t=n.$slider.find(".slick-slide").removeClass("slick-active slick-center slick-current").attr("aria-hidden","true"),n.$slides.eq(i2).addClass("slick-current"),n.options.centerMode===!0){var r=n.options.slidesToShow%2==0?1:0;e2=Math.floor(n.options.slidesToShow/2),n.options.infinite===!0&&(i2>=e2&&i2<=n.slideCount-1-e2?n.$slides.slice(i2-e2+r,i2+e2+1).addClass("slick-active").attr("aria-hidden","false"):(o=n.options.slidesToShow+i2,t.slice(o-e2+1+r,o+e2+2).addClass("slick-active").attr("aria-hidden","false")),i2===0?t.eq(t.length-1-n.options.slidesToShow).addClass("slick-center"):i2===n.slideCount-1&&t.eq(n.options.slidesToShow).addClass("slick-center")),n.$slides.eq(i2).addClass("slick-center")}else i2>=0&&i2<=n.slideCount-n.options.slidesToShow?n.$slides.slice(i2,i2+n.options.slidesToShow).addClass("slick-active").attr("aria-hidden","false"):t.length<=n.options.slidesToShow?t.addClass("slick-active").attr("aria-hidden","false"):(s=n.slideCount%n.options.slidesToShow,o=n.options.infinite===!0?n.options.slidesToShow+i2:i2,n.options.slidesToShow==n.options.slidesToScroll&&n.slideCount-i2<n.options.slidesToShow?t.slice(o-(n.options.slidesToShow-s),o+s).addClass("slick-active").attr("aria-hidden","false"):t.slice(o,o+n.options.slidesToShow).addClass("slick-active").attr("aria-hidden","false"));n.options.lazyLoad!=="ondemand"&&n.options.lazyLoad!=="anticipated"||n.lazyLoad()},e.prototype.setupInfinite=function(){var e2,t,o,s=this;if(s.options.fade===!0&&(s.options.centerMode=!1),s.options.infinite===!0&&s.options.fade===!1&&(t=null,s.slideCount>s.options.slidesToShow)){for(o=s.options.centerMode===!0?s.options.slidesToShow+1:s.options.slidesToShow,e2=s.slideCount;e2>s.slideCount-o;e2-=1)t=e2-1,i(s.$slides[t]).clone(!0).attr("id","").attr("data-slick-index",t-s.slideCount).prependTo(s.$slideTrack).addClass("slick-cloned");for(e2=0;e2<o+s.slideCount;e2+=1)t=e2,i(s.$slides[t]).clone(!0).attr("id","").attr("data-slick-index",t+s.slideCount).appendTo(s.$slideTrack).addClass("slick-cloned");s.$slideTrack.find(".slick-cloned").find("[id]").each(function(){i(this).attr("id","")})}},e.prototype.interrupt=function(i2){var e2=this;i2||e2.autoPlay(),e2.interrupted=i2},e.prototype.selectHandler=function(e2){var t=this,o=i(e2.target).is(".slick-slide")?i(e2.target):i(e2.target).parents(".slick-slide"),s=parseInt(o.attr("data-slick-index"));s||(s=0),t.slideCount<=t.options.slidesToShow?t.slideHandler(s,!1,!0):t.slideHandler(s)},e.prototype.slideHandler=function(i2,e2,t){var o,s,n,r,l,d=null,a=this;if(e2=e2||!1,!(a.animating===!0&&a.options.waitForAnimate===!0||a.options.fade===!0&&a.currentSlide===i2))if(e2===!1&&a.asNavFor(i2),o=i2,d=a.getLeft(o),r=a.getLeft(a.currentSlide),a.currentLeft=a.swipeLeft===null?r:a.swipeLeft,a.options.infinite===!1&&a.options.centerMode===!1&&(i2<0||i2>a.getDotCount()*a.options.slidesToScroll))a.options.fade===!1&&(o=a.currentSlide,t!==!0?a.animateSlide(r,function(){a.postSlide(o)}):a.postSlide(o));else if(a.options.infinite===!1&&a.options.centerMode===!0&&(i2<0||i2>a.slideCount-a.options.slidesToScroll))a.options.fade===!1&&(o=a.currentSlide,t!==!0?a.animateSlide(r,function(){a.postSlide(o)}):a.postSlide(o));else{if(a.options.autoplay&&clearInterval(a.autoPlayTimer),s=o<0?a.slideCount%a.options.slidesToScroll!=0?a.slideCount-a.slideCount%a.options.slidesToScroll:a.slideCount+
15o:o>=a.slideCount?a.slideCount%a.options.slidesToScroll!=0?0:o-a.slideCount:o,a.animating=!0,a.$slider.trigger("beforeChange",[a,a.currentSlide,s]),n=a.currentSlide,a.currentSlide=s,a.setSlideClasses(a.currentSlide),a.options.asNavFor&&(l=(l=a.getNavTarget()).slick("getSlick")).slideCount<=l.options.slidesToShow&&l.setSlideClasses(a.currentSlide),a.updateDots(),a.updateArrows(),a.options.fade===!0)return t!==!0?(a.fadeSlideOut(n),a.fadeSlide(s,function(){a.postSlide(s)})):a.postSlide(s),void a.animateHeight();t!==!0?a.animateSlide(d,function(){a.postSlide(s)}):a.postSlide(s)}},e.prototype.startLoad=function(){var i2=this;i2.options.arrows===!0&&i2.slideCount>i2.options.slidesToShow&&(i2.$prevArrow.hide(),i2.$nextArrow.hide()),i2.options.dots===!0&&i2.slideCount>i2.options.slidesToShow&&i2.$dots.hide(),i2.$slider.addClass("slick-loading")},e.prototype.swipeDirection=function(){var i2,e2,t,o,s=this;return i2=s.touchObject.startX-s.touchObject.curX,e2=s.touchObject.startY-s.touchObject.curY,t=Math.atan2(e2,i2),(o=Math.round(180*t/Math.PI))<0&&(o=360-Math.abs(o)),o<=45&&o>=0||o<=360&&o>=315?s.options.rtl===!1?"left":"right":o>=135&&o<=225?s.options.rtl===!1?"right":"left":s.options.verticalSwiping===!0?o>=35&&o<=135?"down":"up":"vertical"},e.prototype.swipeEnd=function(i2){var e2,t,o=this;if(o.dragging=!1,o.swiping=!1,o.scrolling)return o.scrolling=!1,!1;if(o.interrupted=!1,o.shouldClick=!(o.touchObject.swipeLength>10),o.touchObject.curX===void 0)return!1;if(o.touchObject.edgeHit===!0&&o.$slider.trigger("edge",[o,o.swipeDirection()]),o.touchObject.swipeLength>=o.touchObject.minSwipe){switch(t=o.swipeDirection()){case"left":case"down":e2=o.options.swipeToSlide?o.checkNavigable(o.currentSlide+o.getSlideCount()):o.currentSlide+o.getSlideCount(),o.currentDirection=0;break;case"right":case"up":e2=o.options.swipeToSlide?o.checkNavigable(o.currentSlide-o.getSlideCount()):o.currentSlide-o.getSlideCount(),o.currentDirection=1}t!="vertical"&&(o.slideHandler(e2),o.touchObject={},o.$slider.trigger("swipe",[o,t]))}else o.touchObject.startX!==o.touchObject.curX&&(o.slideHandler(o.currentSlide),o.touchObject={})},e.prototype.swipeHandler=function(i2){var e2=this;if(!(e2.options.swipe===!1||"ontouchend"in document&&e2.options.swipe===!1||e2.options.draggable===!1&&i2.type.indexOf("mouse")!==-1))switch(e2.touchObject.fingerCount=i2.originalEvent&&i2.originalEvent.touches!==void 0?i2.originalEvent.touches.length:1,e2.touchObject.minSwipe=e2.listWidth/e2.options.touchThreshold,e2.options.verticalSwiping===!0&&(e2.touchObject.minSwipe=e2.listHeight/e2.options.touchThreshold),i2.data.action){case"start":e2.swipeStart(i2);break;case"move":e2.swipeMove(i2);break;case"end":e2.swipeEnd(i2)}},e.prototype.swipeMove=function(i2){var e2,t,o,s,n,r,l=this;return n=i2.originalEvent!==void 0?i2.originalEvent.touches:null,!(!l.dragging||l.scrolling||n&&n.length!==1)&&(e2=l.getLeft(l.currentSlide),l.touchObject.curX=n!==void 0?n[0].pageX:i2.clientX,l.touchObject.curY=n!==void 0?n[0].pageY:i2.clientY,l.touchObject.swipeLength=Math.round(Math.sqrt(Math.pow(l.touchObject.curX-l.touchObject.startX,2))),r=Math.round(Math.sqrt(Math.pow(l.touchObject.curY-l.touchObject.startY,2))),!l.options.verticalSwiping&&!l.swiping&&r>4?(l.scrolling=!0,!1):(l.options.verticalSwiping===!0&&(l.touchObject.swipeLength=r),t=l.swipeDirection(),i2.originalEvent!==void 0&&l.touchObject.swipeLength>4&&(l.swiping=!0,i2.preventDefault()),s=(l.options.rtl===!1?1:-1)*(l.touchObject.curX>l.touchObject.startX?1:-1),l.options.verticalSwiping===!0&&(s=l.touchObject.curY>l.touchObject.startY?1:-1),o=l.touchObject.swipeLength,l.touchObject.edgeHit=!1,l.options.infinite===!1&&(l.currentSlide===0&&t==="right"||l.currentSlide>=l.getDotCount()&&t==="left")&&(o=l.touchObject.swipeLength*l.options.edgeFriction,l.touchObject.edgeHit=!0),l.options.vertical===!1?l.swipeLeft=e2+o*s:l.swipeLeft=e2+o*(l.$list.height()/l.listWidth)*s,l.options.verticalSwiping===!0&&(l.swipeLeft=e2+o*s),l.options.fade!==!0&&l.options.touchMove!==!1&&(l.animating===!0?(l.swipeLeft=null,!1):void l.setCSS(l.swipeLeft))))},e.prototype.swipeStart=function(i2){var e2,t=this;if(t.interrupted=!0,t.touchObject.fingerCount!==1||t.slideCount<=t.options.slidesToShow)return t.touchObject={},!1;i2.originalEvent!==void 0&&i2.originalEvent.touches!==void 0&&(e2=i2.originalEvent.touches[0]),t.touchObject.startX=t.touchObject.curX=e2!==void 0?e2.pageX:i2.clientX,t.touchObject.startY=t.touchObject.curY=e2!==void 0?e2.pageY:i2.clientY,t.dragging=!0},e.prototype.unfilterSlides=e.prototype.slickUnfilter=function(){var i2=this;i2.$slidesCache!==null&&(i2.unload(),i2.$slideTrack.children(this.options.slide).detach(),i2.$slidesCache.appendTo(i2.$slideTrack),i2.reinit())},e.prototype.unload=function(){var e2=this;i(".slick-cloned",e2.$slider).remove(),e2.$dots&&e2.$dots.remove(),e2.$prevArrow&&e2.htmlExpr.test(e2.options.prevArrow)&&e2.$prevArrow.remove(),e2.$nextArrow&&e2.htmlExpr.test(e2.options.nextArrow)&&e2.$nextArrow.remove(),e2.$slides.removeClass("slick-slide slick-active slick-visible slick-current").attr("aria-hidden","true").css("width","")}
15,e.prototype.unslick=function(i2){var e2=this;e2.$slider.trigger("unslick",[e2,i2]),e2.destroy()},e.prototype.updateArrows=function(){var i2=this;Math.floor(i2.options.slidesToShow/2),i2.options.arrows===!0&&i2.slideCount>i2.options.slidesToShow&&!i2.options.infinite&&(i2.$prevArrow.removeClass("slick-disabled").attr("aria-disabled","false"),i2.$nextArrow.removeClass("slick-disabled").attr("aria-disabled","false"),i2.currentSlide===0?(i2.$prevArrow.addClass("slick-disabled").attr("aria-disabled","true"),i2.$nextArrow.removeClass("slick-disabled").attr("aria-disabled","false")):(i2.currentSlide>=i2.slideCount-i2.options.slidesToShow&&i2.options.centerMode===!1||i2.currentSlide>=i2.slideCount-1&&i2.options.centerMode===!0)&&(i2.$nextArrow.addClass("slick-disabled").attr("aria-disabled","true"),i2.$prevArrow.removeClass("slick-disabled").attr("aria-disabled","false")))},e.prototype.updateDots=function(){var i2=this;i2.$dots!==null&&(i2.$dots.find("li").removeClass("slick-active").end(),i2.$dots.find("li").eq(Math.floor(i2.currentSlide/i2.options.slidesToScroll)).addClass("slick-active"))},e.prototype.visibility=function(){var i2=this;i2.options.autoplay&&(document[i2.hidden]?i2.interrupted=!0:i2.interrupted=!1)},i.fn.slick=function(){var i2,t,o=this,s=arguments[0],n=Array.prototype.slice.call(arguments,1),r=o.length;for(i2=0;i2<r;i2++)if(typeof s=="object"||s===void 0?o[i2].slick=new e(o[i2],s):t=o[i2].slick[s].apply(o[i2].slick,n),t!==void 0)return t;return o}}),(function(e,t){typeof define=="function"&&define.amd?define([],t):typeof exports=="object"&&typeof exports.nodeName!="string"?module.exports=t():e.Instafeed=t()})(this,function(){function n(e2,t){if(!e2)throw new Error(t)}function e(e2){n(!e2||typeof e2=="object","options must be an object, got "+e2+" ("+typeof e2+")");var t={accessToken:null,accessTokenTimeout:1e4,after:null,apiTimeout:1e4,before:null,debug:!1,error:null,filter:null,limit:null,mock:!1,render:null,sort:null,success:null,target:"instafeed",template:'<a href="{{link}}"><img title="{{caption}}" src="{{image}}" /></a>',templateBoundaries:["{{","}}"],transform:null};if(e2)for(var o in t)typeof e2[o]<"u"&&(t[o]=e2[o]);n(typeof t.target=="string"||typeof t.target=="object","target must be a string or DOM node, got "+t.target+" ("+typeof t.target+")"),n(typeof t.accessToken=="string"||typeof t.accessToken=="function","accessToken must be a string or function, got "+t.accessToken+" ("+typeof t.accessToken+")"),n(typeof t.accessTokenTimeout=="number","accessTokenTimeout must be a number, got "+t.accessTokenTimeout+" ("+typeof t.accessTokenTimeout+")"),n(typeof t.apiTimeout=="number","apiTimeout must be a number, got "+t.apiTimeout+" ("+typeof t.apiTimeout+")"),n(typeof t.debug=="boolean","debug must be true or false, got "+t.debug+" ("+typeof t.debug+")"),n(typeof t.mock=="boolean","mock must be true or false, got "+t.mock+" ("+typeof t.mock+")"),n(typeof t.templateBoundaries=="object"&&t.templateBoundaries.length===2&&typeof t.templateBoundaries[0]=="string"&&typeof t.templateBoundaries[1]=="string","templateBoundaries must be an array of 2 strings, got "+t.templateBoundaries+" ("+typeof t.templateBoundaries+")"),n(!t.template||typeof t.template=="string","template must null or string, got "+t.template+" ("+typeof t.template+")"),n(!t.error||typeof t.error=="function","error must be null or function, got "+t.error+" ("+typeof t.error+")"),n(!t.before||typeof t.before=="function","before must be null or function, got "+t.before+" ("+typeof t.before+")"),n(!t.after||typeof t.after=="function","after must be null or function, got "+t.after+" ("+typeof t.after+")"),n(!t.success||typeof t.success=="function","success must be null or function, got "+t.success+" ("+typeof t.success+")"),n(!t.filter||typeof t.filter=="function","filter must be null or function, got "+t.filter+" ("+typeof t.filter+")"),n(!t.transform||typeof t.transform=="function","transform must be null or function, got "+t.transform+" ("+typeof t.transform+")"),n(!t.sort||typeof t.sort=="function","sort must be null or function, got "+t.sort+" ("+typeof t.sort+")"),n(!t.render||typeof t.render=="function","render must be null or function, got "+t.render+" ("+typeof t.render+")"),n(!t.limit||typeof t.limit=="number","limit must be null or number, got "+t.limit+" ("+typeof t.limit+")"),this._state={running:!1},this._options=t}return e.prototype.run=function(){var r=this,s=null,o=null,i=null,a=null;return this._debug("run","options",this._options),this._debug("run","state",this._state),this._state.running?(this._debug("run","already running, skipping"),!1):(this._start(),this._debug("run","getting dom node"),(s=typeof this._options.target=="string"?document.getElementById(this._options.target):this._options.target)?(this._debug("run","got dom node",s),this._debug("run","getting access token"),this._getAccessToken(function(e2,t){if(e2)return r._debug("onTokenReceived","error",e2),void r._fail(new Error("error getting access token: "+e2.message));o="https://graph.instagram.com/me/media?fields=caption,id,media_type,media_url,permalink,thumbnail_url,timestamp,username&access_token="+t,r._debug("onTokenReceived","request url",o),r._makeApiRequest(o,function(e3,t2){if(e3)return r._debug("onResponseReceived","error",e3),void r._fail(new Error("api request error: "+e3.message));r._debug("onResponseReceived","data",t2),r._success(t2);try{i=r._processData(t2),r._debug("onResponseReceived","processed data",i)}catch(o2){return void r._fail(o2)}if(r._options.mock)r._debug("onResponseReceived","mock enabled, skipping render");else{try{a=r._renderData(i),r._debug("onResponseReceived","html content",a)}catch(n2){return void r._fail(n2)}s.innerHTML=a}r._finish()})}),!0):(this._fail(new Error("no element found with ID "+this._options.target)),!1))},e.prototype._processData=function(e2){var t=typeof this._options.transform=="function",o=typeof this._options.filter=="function",n2=typeof this._options.sort=="function",r=typeof this._options.limit=="number",s=[],i=null,a=null,u=null,c=null;if(this._debug("processData","hasFilter",o,"hasTransform",t,"hasSort",n2,"hasLimit",r),typeof e2!="object"||typeof e2.data!="object"||e2.data.length<=0)return null;for(var l=0;l<e2.data.length;l++){if(a=this._getItemData(e2.data[l]),t)try{u=this._options.transform(a),this._debug("processData","transformed item",a,u)}catch(p){throw this._debug("processData","error calling transform",p),new Error("error in transform: "+p.message)}else u=a;if(o){try{c=this._options.filter(u),this._debug("processData","filter item result",u,c)}catch(p){throw this._debug("processData","error calling filter",p),new Error("error in filter: "+p.message)}c&&s.push(u)}else s.push(u)}if(n2)try{s.sort(this._options.sort)}catch(p){throw this._debug("processData","error calling sort",p),new Error("error in sort: "+p.message)}return r&&(i=s.length-this._options.limit,this._debug("processData","checking limit",s.length,this._options.limit,i),0<i&&s.splice(s.length-i,i)),s},e.prototype._extractTags=function(e2){var t=/#([^\s]+)/gi,o=/[~`!@#$%^&*\(\)\-\+={}\[\]:;"'<>\?,\./|\\\s]+/i,n2=[];if(typeof e2=="string")for(;(match=t.exec(e2))!==null;)o.test(match[1])===!1&&n2.push(match[1]);return n2},e.prototype._getItemData=function(e2){var t=null,o=null;switch(e2.media_type){case"IMAGE":t="image",o=e2.media_url;break;case"VIDEO":t="video",o=e2.thumbnail_url;break;case"CAROUSEL_ALBUM":t="album",o=e2.media_url}return{caption:e2.caption,tags:this._extractTags(e2.caption),id:e2.id,image:o,link:e2.permalink,model:e2,timestamp:e2.timestamp,type:t,username:e2.username}},e.prototype._renderData=function(e2){var t=typeof this._options.template=="string",o=typeof this._options.render=="function",n2=null,r=null,s="";if(this._debug("renderData","hasTemplate",t,"hasRender",o),typeof e2!="object"||e2.length<=0)return null;for(var i=0;i<e2.length;i++){if(n2=e2[i],o)try{r=this._options.render(n2,this._options),this._debug("renderData","custom render result",n2,r)}catch(a){throw this._debug("renderData","error calling render",a),new Error("error in render: "+a.message)}else t&&(r=this._basicRender(n2));
15r?s+=r:this._debug("renderData","render item did not return any content",n2)}return s},e.prototype._basicRender=function(e2){for(var t=new RegExp(this._options.templateBoundaries[0]+"([\\s\\w.]+)"+this._options.templateBoundaries[1],"gm"),o=this._options.template,n2=null,r="",s=0,i=null,a=null;(n2=t.exec(o))!==null;)i=n2[1],r+=o.slice(s,n2.index),(a=this._valueForKeyPath(i,e2))&&(r+=a.toString()),s=t.lastIndex;return s<o.length&&(r+=o.slice(s,o.length)),r},e.prototype._valueForKeyPath=function(e2,t){for(var o=/([\w]+)/gm,n2=null,r=t;(n2=o.exec(e2))!==null;){if(typeof r!="object")return null;r=r[n2[1]]}return r},e.prototype._fail=function(e2){!this._runHook("error",e2)&&console&&typeof console.error=="function"&&console.error(e2),this._state.running=!1},e.prototype._start=function(){this._state.running=!0,this._runHook("before")},e.prototype._finish=function(){this._runHook("after"),this._state.running=!1},e.prototype._success=function(e2){this._runHook("success",e2),this._state.running=!1},e.prototype._makeApiRequest=function(e2,o){var n2=!1,r=this,s=null,i=function(e3,t){n2||(n2=!0,o(e3,t))};(s=new XMLHttpRequest).ontimeout=function(e3){i(new Error("api request timed out"))},s.onerror=function(e3){i(new Error("api connection error"))},s.onload=function(e3){var t=s.getResponseHeader("Content-Type"),o2=null;if(r._debug("apiRequestOnLoad","loaded",e3),r._debug("apiRequestOnLoad","response status",s.status),r._debug("apiRequestOnLoad","response content type",t),0<=t.indexOf("application/json"))try{o2=JSON.parse(s.responseText)}catch(n3){return r._debug("apiRequestOnLoad","json parsing error",n3,s.responseText),void i(new Error("error parsing response json"))}s.status===200?i(null,o2):o2&&o2.error?i(new Error(o2.error.code+" "+o2.error.message)):i(new Error("status code "+s.status))},s.open("GET",e2,!0),s.timeout=this._options.apiTimeout,s.send()},e.prototype._getAccessToken=function(o){var n2=!1,r=this,s=null,i=function(e2,t){n2||(n2=!0,clearTimeout(s),o(e2,t))};if(typeof this._options.accessToken=="function"){this._debug("getAccessToken","calling accessToken as function"),s=setTimeout(function(){r._debug("getAccessToken","timeout check",n2),i(new Error("accessToken timed out"),null)},this._options.accessTokenTimeout);try{this._options.accessToken(function(e2,t){r._debug("getAccessToken","received accessToken callback",n2,e2,t),i(e2,t)})}catch(e2){this._debug("getAccessToken","error invoking the accessToken as function",e2),i(e2,null)}}else this._debug("getAccessToken","treating accessToken as static",typeof this._options.accessToken),i(null,this._options.accessToken)},e.prototype._debug=function(){var e2=null;this._options.debug&&console&&typeof console.log=="function"&&((e2=[].slice.call(arguments))[0]="[Instafeed] ["+e2[0]+"]",console.log.apply(null,e2))},e.prototype._runHook=function(e2,t){var o=!1;if(typeof this._options[e2]=="function")try{this._options[e2](t),o=!0}catch(n2){this._debug("runHook","error calling hook",e2,n2)}return o},e});/*! 16 Zoom 1.7.21 17 license: MIT 18 http://www.jacklmoore.com/zoom 19*/var Foundationify=(function(){function initProductImages(){var $productImages=$("#product-images","body.product"),$thumbs=$("ul img",$productImages);if($thumbs.length){var $largeImage=$("img",$productImages).first();$thumbs.on("click",function(e){e.preventDefault(),$largeImage.attr("src")!==$(this).parent("a").attr("href")&&($("body").css("cursor","progress"),$largeImage.attr("src",$(this).parent("a").attr("href")).attr("alt",$(this).attr("alt")))}),$largeImage.on("load",function(){$("body").css("cursor","auto")})}}return{init:function(){initProductImages()}}})();$(document).ready(function(){Foundationify.init();var instantTokenApiUrl="https://ig.instant-tokens.com/users/7c12aee4-0b0b-40a5-82b8-04a1c5251738/instagram/17841435408538152/token?userSecret=tcjb9kyma1quynjalmvqzf";$.ajax({url:instantTokenApiUrl,dataType:"json"}).done(function(response){if(!response.Token)console.log("Error :: ",response);else{var feed=new Instafeed({accessToken:response.Token,template:'<li><a href="{{link}}"><img title="{{caption}}" src="{{image}}" /></a></li>',limit:6});feed.run()}})}),$(".collection .filter-group h4 a").click(function(e){e.preventDefault(),$(this).closest("div.filter-group").toggleClass("active")});function startScrolling(scroller_obj,velocity,start_from){scroller_obj.bind("scroller",function(event,c){var ob=$(this),sw=parseInt(ob.parent().width()),tw=parseInt(ob.width());tw=tw-10;var tl=parseInt(ob.position().left),v=velocity>0&&velocity<100?(100-velocity)*1e3:5e3,dr=v*tw/sw+v;
19start_from==="right"?typeof c>"u"?(ob.css({left:sw-10}),sw=-tw):sw=tl-(tw+sw):typeof c>"u"?ob.css({left:-tw}):sw+=tl+tw,ob.animate({left:sw},{duration:dr,easing:"linear",complete:function(){ob.trigger("scroller")},step:function(){start_from=="right"?parseInt(ob.position().left)<-parseInt(ob.width())&&(ob.stop(),ob.trigger("scroller")):parseInt(ob.position().left)>parseInt(ob.parent().width())&&(ob.stop(),ob.trigger("scroller"))}})}).trigger("scroller"),scroller_obj.mouseover(function(){$(this).stop()}),scroller_obj.mouseout(function(){$(this).trigger("scroller",["resume"])})}var scroller=$(".scroller-content"),scrolling_velocity=80,scrolling_from="right";startScrolling(scroller,scrolling_velocity,scrolling_from),$(document).ready(function(){});var breakpointMobile=700,isChanging=!1,isFiltered=!1;let productImageLightboxGoToSlide=0;$("#slideshow","#block-slideshow").on("init breakpoint",function(event,slick){$(".slick-slide",this).length>1||($(".prev-slick","#block-slideshow").hide(),$(".next-slick","#block-slideshow").hide()),isChanging||(isChanging=!0,slick.activeBreakpoint&&slick.activeBreakpoint>=breakpointMobile?isFiltered||(slick.slickFilter(":not(.hide-on-desktop)"),isFiltered=!0):isFiltered&&(slick.slickUnfilter(),isFiltered=!1),isChanging=!1)}).slick({autoplay:!0,arrows:!1,dots:!0,responsive:[{breakpoint:500},{breakpoint:700},{breakpoint:9999}]}),$("#slideshow","#product-images").on("init",function(event,slick){$(".slick-slide",this).length>1||($(".prev-slick","#product-images .featured-images").hide(),$(".next-slick","#product-images .featured-images").hide())}).slick({autoplay:!1,arrows:!1,dots:!0}).on("afterChange",function(event,slick,currentSlide,nextSlide){productImageLightboxGoToSlide=currentSlide}),$("#slideshow-nav","#product-images").on("init",function(event,slick){$(".slick-slide",this).length>4||($(".prev-slick","#product-images .thumbnails").hide(),$(".next-slick","#product-images .thumbnails").hide())}).slick({asNavFor:"#product-images #slideshow",dots:!1,focusOnSelect:!0,slidesToShow:6,slidesToScroll:1,responsive:[{breakpoint:1024,settings:{slidesToShow:6,slidesToScroll:1,infinite:!0,dots:!0}},{breakpoint:600,settings:{slidesToShow:5,slidesToScroll:1}},{breakpoint:480,settings:{slidesToShow:4,slidesToScroll:1}}]}),$("#slideshow","#block-slideshow-collection").on("init",function(event,slick){$(".slick-slide",this).length>1||($(".prev-slick","#block-slideshow-collection").hide(),$(".next-slick","#block-slideshow-collection").hide())}).slick({autoplay:!0,arrows:!1,dots:!0}),$("#slideshow","#block-spotlight-slideshow").slick({autoplay:!0,arrows:!1,dots:!0}),$("#slideshow","#block-featured-brands").slick({autoplay:!0,arrows:!1,dots:!0,slidesToShow:5,slidesToScroll:1,responsive:[{breakpoint:1024,settings:{slidesToShow:3,slidesToScroll:1,infinite:!0,dots:!1,arrows:!0}},{breakpoint:600,settings:{slidesToShow:2,slidesToScroll:1,infinite:!0,dots:!1}},{breakpoint:480,settings:{slidesToShow:2,slidesToScroll:1,infinite:!0,dots:!1}}]}),$("#slideshow","#block-best-sellers").slick({autoplay:!0,arrows:!1,dots:!0,slidesToShow:3,slidesToScroll:1,responsive:[{breakpoint:1024,settings:{slidesToShow:3,slidesToScroll:1,infinite:!0,dots:!1,arrows:!0}},{breakpoint:600,settings:{slidesToShow:2,slidesToScroll:1,infinite:!0,dots:!1}},{breakpoint:480,settings:{slidesToShow:2,slidesToScroll:1,infinite:!0,dots:!1}}]}),$("#slideshow","#block-featured-products").slick({autoplay:!0,arrows:!0,dots:!1,slidesToShow:4,slidesToScroll:1,slidesToShow:4,slidesToScroll:1,responsive:[{breakpoint:1024,settings:{slidesToShow:4,slidesToScroll:1,infinite:!0,dots:!1}},{breakpoint:600,settings:{slidesToShow:2,slidesToScroll:1,infinite:!0,dots:!1}},{breakpoint:480,settings:{slidesToShow:2,slidesToScroll:1,infinite:!0,dots:!1}}]}),$("#slideshow-3x-featured").slick({autoplay:!0,arrows:!1,dots:!1,slidesToShow:1,slidesToScroll:1,centerPadding:"5%",centerMode:!0}),$(".three-featured-tiles__mobile .next-slick").click(function(e){e.preventDefault(),$("#slideshow-3x-featured").slick("slickNext")}),$(".three-featured-tiles__mobile .prev-slick").click(function(e){e.preventDefault(),$("#slideshow-3x-featured").slick("slickPrev")}),$(".next-slick","#block-slideshow").click(function(e){e.preventDefault(),$("#slideshow","#block-slideshow").slick("slickNext")}),$(".prev-slick","#block-slideshow").click(function(e){e.preventDefault(),$("#slideshow","#block-slideshow").slick("slickPrev")}),$(".next-slick","#block-slideshow-collection").click(function(e){e.preventDefault(),$("#slideshow","#block-slideshow-collection").slick("slickNext")}),$(".prev-slick","#block-slideshow-collection").click(function(e){e.preventDefault(),$("#slideshow","#block-slideshow-collection").slick("slickPrev")}),$(".next-slick","#block-featured-brands").click(function(e){e.preventDefault(),$("#slideshow","#block-featured-brands").slick("slickNext")}),$(".prev-slick","#block-featured-brands").click(function(e){e.preventDefault(),$("#slideshow","#block-featured-brands").slick("slickPrev")}),$(".next-slick","#block-best-sellers").click(function(e){e.preventDefault(),$("#slideshow","#block-best-sellers").slick("slickNext")}),$(".prev-slick","#block-best-sellers").click(function(e){e.preventDefault(),$("#slideshow","#block-best-sellers").slick("slickPrev")}),$(".next-slick","#product-images .featured-images").click(function(e){e.preventDefault(),$("#slideshow","#product-images .featured-images").slick("slickNext")}),$(".prev-slick","#product-images .featured-images").click(function(e){e.preventDefault(),$("#slideshow","#product-images .featured-images").slick("slickPrev")}),$(".next-slick","#product-images .thumbnails").click(function(e){e.preventDefault(),$("#slideshow","#product-images .thumbnails").slick("slickNext")}),$(".prev-slick","#product-images .thumbnails").click(function(e){e.preventDefault(),$("#slideshow","#product-images .thumbnails").slick("slickPrev")}),$(".next-slick","#block-featured-products").click(function(e){e.preventDefault(),$("#slideshow","#block-featured-products").slick("slickNext")}),$(".prev-slick","#block-featured-products").click(function(e){e.preventDefault(),$("#slideshow","#block-featured-products").slick("slickPrev")}),$(".next-slick","#block-spotlight-slideshow").click(function(e){e.preventDefault(),$("#slideshow","#block-spotlight-slideshow").slick("slickNext")}),$(".prev-slick","#block-spotlight-slideshow").click(function(e){e.preventDefault(),$("#slideshow","#block-spotlight-slideshow").slick("slickPrev")}),$('form[action="/cart/add"]').on("submit",function(e){e.preventDefault()});var toggleSearch=function($el,e){if(e&&e.preventDefault(),window.matchMedia("(min-width: 992px)").matches)$el.addClass("active");else{if(!e)return;if($el.toggleClass("active"),$el.hasClass("active")){var headerBottom=document.querySelector(".header-main").getBoundingClientRect().bottom;$el.find(".search-form").css("top",headerBottom+"px"),setTimeout(function(){$el.find("input[type='text'], input[type='search']").first().focus()},50)}}};$(document).on("click.mobileSearch",function(e){if(!window.matchMedia("(min-width: 992px)").matches){var $search=$(".search","#branding-bar .cust-navigation"),isAutocompleteClick=$(e.target).closest(".ss__autocomplete--target, .ss__autocomplete").length>0;$search.hasClass("active")&&!$search.is(e.target)&&$search.has(e.target).length===0&&!isAutocompleteClick&&$search.removeClass("active")}}),$(".search","#branding-bar .cust-navigation").click(function(e){$(e.target).closest(".search-form").length>0||toggleSearch($(this),e)}).hover(function(){toggleSearch($(this))}),$(".left-off-canvas-menu .accordion-navigation > a").click(function(e){var linkurl=$(this).attr("href");$(this).siblings().size()<1&&(window.location.href=linkurl)});var normalizeMobileMenuGroups=function(){window.matchMedia("(max-width: 991px)").matches&&$(".left-off-canvas-menu #mobile .accordion .content").each(function(){if(!$(this).find(".mobile-menu-groups").length){var $content=$(this);$content.children(".menu-title").filter(function(){return!$(this).text().trim()}).remove(),$content.children("ul").filter(function(){return $(this).find("li").length===0}).remove();var groups=[];if($content.children(".menu-title").each(function(){var $title=$(this),$list=$title.next("ul");if($list.length===0){groups.push({title:$title.detach(),list:null});return}groups.push({title:$title.detach(),list:$list.detach()})}),!!groups.length){var $groupsWrap=$("<div class='mobile-menu-groups'></div>");groups.forEach(function(group){var $group=$("<div class='mobile-menu-group'></div>");$group.append(group.title),group.list&&group.list.length&&$group.append(group.list),$groupsWrap.append($group)}),$content.append($groupsWrap)}}})},syncMobileMenuOffset=function(){if(window.matchMedia("(max-width: 991px)").matches){var header=document.querySelector(".header-main"),brandingBar=document.getElementById("branding-bar");if(!(!header||!brandingBar)){var menuOffset=Math.round(brandingBar.getBoundingClientRect().bottom);document.documentElement.style.setProperty("--mobile-menu-offset",menuOffset+"px")}}},updateMobileMenuPromo=function($sourceItem){if(window.matchMedia("(max-width: 991px)").matches){var setPromoByIndex=function(index){var $allPromos=$(".left-off-canvas-menu .js-mobile-menu-promo");if($allPromos.length){$allPromos.removeClass("is-active");var $targetPromo=$allPromos.filter("[data-mobile-promo-index='"+index+"']").first();$targetPromo.length&&$targetPromo.addClass("is-active")}},$activeItem=$sourceItem&&$sourceItem.length?$sourceItem:$(".left-off-canvas-menu #mobile .accordion .accordion-navigation.active").first();if($activeItem.length||($activeItem=$(".left-off-canvas-menu #mobile .accordion .accordion-navigation").first()),!$activeItem.length){setPromoByIndex(1);return}setPromoByIndex($activeItem.index()+1)}};normalizeMobileMenuGroups(),$(window).on("resize",(function(){var timer;return function(){clearTimeout(timer),timer=setTimeout(normalizeMobileMenuGroups,150)}})()),syncMobileMenuOffset(),(function(){var rafPending=!1,onSyncEvent=function(){rafPending||(rafPending=!0,requestAnimationFrame(function(){rafPending=!1,syncMobileMenuOffset()}))};$(window).on("resize orientationchange scroll",onSyncEvent)})(),updateMobileMenuPromo(),$(document).on("click",".left-off-canvas-menu #mobile .accordion .accordion-navigation > a",function(){updateMobileMenuPromo($(this).closest(".accordion-navigation"))}),$(document).on("click",".left-off-canvas-menu #mobile .accordion .accordion-navigation > a",function(){var $navItem=$(this).closest(".accordion-navigation"),$menu=$(".left-off-canvas-menu");setTimeout(function(){var menuScrollTop=$menu.scrollTop(),menuHeight=$menu.innerHe
19ight(),itemTop=$navItem[0].offsetTop,itemBottom=itemTop+$navItem[0].offsetHeight,isTopVisible=itemTop>=menuScrollTop,isBottomVisible=itemBottom<=menuScrollTop+menuHeight;(!isTopVisible||!isBottomVisible)&&$menu.animate({scrollTop:itemTop},250)},300)});var updateCounterVisibility=function(el){if(el){var count=parseInt(el.textContent,10);el.style.display=count>0?"":"none"}},observeCounter=function(el){if(el){updateCounterVisibility(el);var observer=new MutationObserver(function(){updateCounterVisibility(el)});observer.observe(el,{childList:!0,characterData:!0,subtree:!0})}};if(document.querySelectorAll(".iWishCount, #cart-counter").forEach(observeCounter),window.matchMedia("(min-width: 992px)").matches){var megaMenuCloseTimer,$desktopMenuItems=$("#navigation nav > ul > li.has-dropdown"),setMegaMenuState=function(isOpen){$("body").toggleClass("mega-menu-open",isOpen)};$desktopMenuItems.on("mouseenter focusin",function(){window.clearTimeout(megaMenuCloseTimer),setMegaMenuState(!0)}),$desktopMenuItems.on("mouseleave",function(){megaMenuCloseTimer=window.setTimeout(function(){setMegaMenuState(!1)},60)}),$("#navigation .dropdown").on("mouseenter focusin",function(){window.clearTimeout(megaMenuCloseTimer),setMegaMenuState(!0)}),$("#navigation .dropdown").on("mouseleave focusout",function(){megaMenuCloseTimer=window.setTimeout(function(){var keepOpen=$("#navigation nav > ul > li.has-dropdown:hover").length>0;setMegaMenuState(keepOpen)},60)}),$(document).on("click",function(e){$(e.target).closest("#navigation").length===0&&setMegaMenuState(!1)}),$(document).on("keydown",function(e){e.key==="Escape"&&setMegaMenuState(!1)})}$("document").ready(()=>{$(".lightbox_close-button").on("click",function(){$("#product-image_lightbox").css("display","none")});let wasDragging=!1,initialMouseLocation,finalMouseLocation;$(".zoom").mousedown(function(e){wasDragging=!1,initialMouseLocation=e.clientX}).mousemove(function(){wasDragging=!0}).mouseup(function(e){finalMouseLocation=e.clientX,Math.abs(finalMouseLocation-initialMouseLocation)>20}).on("touchstart",function(e){wasDragging=!1,initialMouseLocation=(e.originalEvent.touches[0]||e.originalEvent.changedTouches[0]).clientX}).on("touchmove",function(){wasDragging=!0}).on("touchend",function(e){finalMouseLocation=(e.originalEvent.touches[0]||e.originalEvent.changedTouches[0]).clientX,Math.abs(finalMouseLocation-initialMouseLocation)>20}).on("click",function(e){$("#product-image_lightbox").css("display","block"),$("body").css("overscroll-behavior","contain"),$(".lightbox_slider").slick("slickGoTo",productImageLightboxGoToSlide,!0)}),$(".lightbox_slider").slick({infinite:!1,arrows:!0,slidesToShow:1,slidesToScroll:1,customPaging:function(slick,index){var image=$(slick.$slides[index]).find("img").attr("src");return'<div data-role="none" data-slick-index="'+index+'"><img class="lazyload" src="'+image+'" /></div>'}});let startY=0,endY=0,isPinching=!1;$("#product-image_lightbox").on("touchstart",e=>{e.originalEvent.touches.length==1?(startY=e.originalEvent.touches[0].clientY,isPinching=!1):e.originalEvent.touches.length>1&&(isPinching=!0)}),$("#product-image_lightbox").on("touchmove",e=>{if(e.originalEvent.touches.length==1&&!isPinching){endY=e.originalEvent.touches[0].clientY;const deltaY=endY-startY;Math.abs(deltaY)>30&&$("#product-image_lightbox").css("transform",`translateY(${deltaY}px)`)}else startY=0,endY=0}),$("#product-image_lightbox").on("touchend",e=>{Math.abs(endY-startY)>75&&window.visualViewport.scale<=1.1&&($("#product-image_lightbox").css("display","none"),$("body").css("overscroll-behavior","auto")),$("#product-image_lightbox").css("transform","translateY(0)")})}); 20//# sourceMappingURL=/cdn/shop/t/167/assets/main.js.map?v=92470935627331601131790576095
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.