vendor: 11,349 bytes, lines 1-8
1/*! 2 * jquery-2.2.3.min.js 3 */ 4/*! jQuery v3.3.1 | (c) JS Foundation and other contributors | jquery.org/license */ 5/*! 6 * stylehatch-standards.js 7 */ 8function replaceUrlParam(e,t,i){var n=new RegExp("("+t+"=).*?(&|$)"),r=e;return r=e.search(n)>=0?e.replace(n,"$1"+i+"$2"):r+(r.indexOf("?")>0?"&":"?")+t+"="+i}function removeDataAttributes(e){var t,i=$(e);if(i.length>0){var n=[],r=i.get(0).attributes,o=r.length;for(t=0;t<o;t++)"data-"===r[t].name.substring(0,5)&&n.push(r[t].name);$.each(n,function(e,t){i.removeAttr(t)})}}function wordWrapper(e,t,i){if(e.length>t){for(var n=t;n>0&&" "!=e[n];n--);if(n>0){var r=e.substring(0,n),o=e.substring(n+1);return r+i+wordWrapper(o,t,i)}}return e}function isFocusable(e){document.activeElement;return e.focus(),document.activeElement===e}function waitFor(e,t){e()?t():window.setTimeout(waitFor.bind(null,e,t),20)}function isUnfocusable(e){var t=document.activeElement;return e.focus(),document.activeElement===t&&(document.activeElement!==e&&(!e.hasAttribute("tabindex")||"0"!==e.getAttribute("tabindex")))}!function(e,t){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=e.document?t(e,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return t(e)}:t(e)}("undefined"!=typeof window?window:this,function(e,t){"use strict";function i(e,t,i){var n,r=(t=t||se).createElement("script");if(r.text=e,i)for(n in we)i[n]&&(r[n]=i[n]);t.head.appendChild(r).parentNode.removeChild(r)}function n(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?fe[he.call(e)]||"object":typeof e}function r(e){var t=!!e&&"length"in e&&e.length,i=n(e);return!ye(e)&&!be(e)&&("array"===i||0===t||"number"==typeof t&&t>0&&t-1 in e)}function o(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()}function s(e,t,i){return ye(t)?xe.grep(e,function(e,n){return!!t.call(e,n,e)!==i}):t.nodeType?xe.grep(e,function(e){return e===t!==i}):"string"!=typeof t?xe.grep(e,function(e){return de.call(t,e)>-1!==i}):xe.filter(t,e,i)}function a(e,t){for(;(e=e[t])&&1!==e.nodeType;);return e}function l(e){var t={};return xe.each(e.match(ze)||[],function(e,i){t[i]=!0}),t}function u(e){return e}function c(e){throw e}function d(e,t,i,n){var r;try{e&&ye(r=e.promise)?r.call(e).done(t).fail(i):e&&ye(r=e.then)?r.call(e,t,i):t.apply(void 0,[e].slice(n))}catch(e){i.apply(void 0,[e])}}function f(){se.removeEventListener("DOMContentLoaded",f),e.removeEventListener("load",f),xe.ready()}function h(e,t){return t.toUpperCase()}function p(e){return e.replace(je,"ms-").replace(Oe,h)}function m(){this.expando=xe.expando+m.uid++}function g(e){return"true"===e||"false"!==e&&("null"===e?null:e===+e+""?+e:He.test(e)?JSON.parse(e):e)}function v(e,t,i){var n;if(void 0===i&&1===e.nodeType)if(n="data-"+t.replace(Re,"-$&").toLowerCase(),"string"==typeof(i=e.getAttribute(n))){try{i=g(i)}catch(e){}Be.set(e,t,i)}else i=void 0;return i}function y(e,t,i,n){var r,o,s=20,a=n?function(){return n.cur()}:function(){return xe.css(e,t,"")},l=a(),u=i&&i[3]||(xe.cssNumber[t]?"":"px"),c=(xe.cssNumber[t]||"px"!==u&&+l)&&Ue.exec(xe.css(e,t));if(c&&c[3]!==u){for(l/=2,u=u||c[3],c=+l||1;s--;)xe.style(e,t,c+u),(1-o)*(1-(o=a()/l||.5))<=0&&(s=0),c/=o;c*=2,xe.style(e,t,c+u),i=i||[]}return i&&(c=+c||+l||0,r=i[1]?c+(i[1]+1)*i[2]:+i[2],n&&(n.unit=u,n.start=c,n.end=r)),r}function b(e){var t,i=e.ownerDocument,n=e.nodeName,r=Ye[n];return r||(t=i.body.appendChild(i.createElement(n)),r=xe.css(t,"display"),t.parentNode.removeChild(t),"none"===r&&(r="block"),Ye[n]=r,r)}function w(e,t){for(var i,n,r=[],o=0,s=e.length;o<s;o++)(n=e[o]).style&&(i=n.style.display,t?("none"===i&&(r[o]=qe.get(n,"display")||null,r[o]||(n.style.display="")),""===n.style.display&&Ve(n)&&(r[o]=b(n))):"none"!==i&&(r[o]="none",qe.set(n,"display",i)));for(o=0;o<s;o++)null!=r[o]&&(e[o].style.display=r[o]);return e}function x(e,t){var i;return i="undefined"!=typeof e.getElementsByTagName?e.getElementsByTagName(t||"*"):"undefined"!=typeof e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&o(e,t)?xe.merge([e],i):i}function _(e,t){for(var i=0,n=e.length;i<n;i++)qe.set(e[i],"globalEval",!t||qe.get(t[i],"globalEval"))}function C(e,t,i,r,o){for(var s,a,l,u,c,d,f=t.createDocumentFragment(),h=[],p=0,m=e.length;p<m;p++)if((s=e[p])||0===s)if("object"===n(s))xe.merge(h,s.nodeType?[s]:s);else if(Ke.test(s)){for(a=a||f.appendChild(t.createElement("div")),l=(Ge.exec(s)||["",""])[1].toLowerCase(),u=Ze[l]||Ze._default,a.innerHTML=u[1]+xe.htmlPrefilter(s)+u[2],d=u[0];d--;)a=a.lastChild;xe.merge(h,a.childNodes),(a=f.firstChild).textContent=""}else h.push(t.createTextNode(s));for(f.textContent="",p=0;s=h[p++];)if(r&&xe.inArray(s,r)>-1)o&&o.push(s);else if(c=xe.contains(s.ownerDocument,s),a=x(f.appendChild(s),"script"),c&&_(a),i)for(d=0;s=a[d++];)Je.test(s.type||"")&&i.push(s);return f}function E(){return!0}function S(){return!1}function T(){try{return se.activeElement}catch(e){}}function k(e,t,i,n,r,o){var s,a;if("object"==typeof t){"string"!=typeof i&&(n=n||i,i=void 0);for(a in t)k(e,a,i,n,t[a],o);return e}if(null==n&&null==r?(r=i,n=i=void 0):null==r&&("string"==typeof i?(r=n,n=void 0):(r=n,n=i,i=void 0)),!1===r)r=S;else if(!r)return e;return 1===o&&(s=r,(r=function(e){return xe().off(e),s.apply(this,arguments)}).guid=s.guid||(s.guid=xe.guid++)),e.each(function(){xe.event.add(this,t,r,n,i)})}function A(e,t){return o(e,"table")&&o(11!==t.nodeType?t:t.firstChild,"tr")?xe(e).children("tbody")[0]||e:e}function I(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function D(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function L(e,t){var i,n,r,o,s,a,l,u;if(1===t.nodeType){if(qe.hasData(e)&&(o=qe.access(e),s=qe.set(t,o),u=o.events)){delete s.handle,s.events={};for(r in u)for(i=0,n=u[r].length;i<n;i++)xe.event.add(t,r,u[r][i])}Be.hasData(e)&&(a=Be.access(e),l=xe.extend({},a),Be.set(t,l))}}function z(e,t){var i=t.nodeName.toLowerCase();"input"===i&&Xe.test(e.type)?t.checked=e.checked:"input"!==i&&"textarea"!==i||(t.defaultValue=e.defaultValue)}function N(e,t,n,r){t=ue.apply([],t);var o,s,a,l,u,c,d=0,f=e.length,h=f-1,p=t[0],m=ye(p);if(m||f>1&&"string"==typeof p&&!ve.checkClone&&st.test(p))return e.each(function(i){var o=e.eq(i);m&&(t[0]=p.call(this,i,o.html())),N(o,t,n,r)});if(f&&(o=C(t,e[0].ownerDocument,!1,e,r),s=o.firstChild,1===o.childNodes.length&&(o=s),s||r)){for(l=(a=xe.map(x(o,"script"),I)).length;d<f;d++)u=o,d!==h&&(u=xe.clone(u,!0,!0),l&&xe.merge(a,x(u,"script"))),n.call(e[d],u,d);if(l)for(c=a[a.length-1].ownerDocument,xe.map(a,D),d=0;d<l;d++)u=a[d],Je.test(u.type||"")&&!qe.access(u,"globalEval")&&xe.contains(c,u)&&(u.src&&"module"!==(u.type||"").toLowerCase()?xe._evalUrl&&xe._evalUrl(u.src):i(u.textContent.replace(at,""),c,u))}return e}function P(e,t,i){for(var n,r=t?xe.filter(t,e):e,o=0;null!=(n=r[o]);o++)i||1!==n.nodeType||xe.cleanData(x(n)),n.parentNode&&(i&&xe.contains(n.ownerDocument,n)&&_(x(n,"script")),n.parentNode.removeChild(n));return e}function M(e,t,i){var n,r,o,s,a=e.style;return(i=i||ut(e))&&(""!==(s=i.getPropertyValue(t)||i[t])||xe.contains(e.ownerDocument,e)||(s=xe.style(e,t)),!ve.pixelBoxStyles()&<.test(s)&&ct.test(t)&&(n=a.width,r=a.minWidth,o=a.maxWidth,a.minWidth=a.maxWidth=a.width=s,s=i.width,a.width=n,a.minWidth=r,a.maxWidth=o)),void 0!==s?s+"":s}function j(e,t){return{get:function(){return e()?void delete this.get:(this.get=t).apply(this,arguments)}}}function O(e){if(e in gt)return e;for(var t=e[0].toUpperCase()+e.slice(1),i=mt.length;i--;)if((e=mt[i]+t)in gt)return e}function F(e){var t=xe.cssProps[e];return t||(t=xe.cssProps[e]=O(e)||e),t}function q(e,t,i){var n=Ue.exec(t);return n?Math.max(0,n[2]-(i||0))+(n[3]||"px"):t}function B(e,t,i,n,r,o){var s="width"===t?1:0,a=0,l=0;if(i===(n?"border":"content"))return 0;for(;s<4;s+=2)"margin"===i&&(l+=xe.css(e,i+$e[s],!0,r)),n?("content"===i&&(l-=xe.css(e,"padding"+$e[s],!0,r)),"margin"!==i&&(l-=xe.css(e,"border"+$e[s]+"Width",!0,r))):(l+=xe.css(e,"padding"+$e[s],!0,r),"padding"!==i?l+=xe.css(e,"border"+$e[s]+"Width",!0,r):a+=xe.css(e,"border"+$e[s]+"Width",!0,r));return!n&&o>=0&&(l+=Math.max(0,Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-o-l-a-.5))),l}function H(e,t,i){var n=ut(e),r=M(e,t,n),o="border-box"===xe.css(e,"boxSizing",!1,n),s=o;if(lt.test(r)){if(!i)return r;r="auto"}return s=s&&(ve.boxSizingReliable()||r===e.style[t]),("auto"===r||!parseFloat(r)&&"inline"===xe.css(e,"display",!1,n))&&(r=e["offset"+t[0].toUpperCase()+t.slice(1)],s=!0),(r=parseFloat(r)||0)+B(e,t,i||(o?"border":"content"),s,n,r)+"px"}function R(e,t,i,n,r){return new R.prototype.init(e,t,i,n,r)}function W(){yt&&(!1===se.hidden&&e.requestAnimationFrame?e.requestAnimationFrame(W):e.setTimeout(W,xe.fx.interval),xe.fx.tick())}function U(){return e.setTimeout(function(){vt=void 0}),vt=Date.now()}function $(e,t){var i,n=0,r={height:e};for(t=t?1:0;n<4;n+=2-t)r["margin"+(i=$e[n])]=r["padding"+i]=e;return t&&(r.opacity=r.width=e),r}function V(e,t,i){for(var n,r=(X.tweeners[t]||[]).concat(X.tweeners["*"]),o=0,s=r.length;o<s;o++)if(n=r[o].call(i,t,e))return n}function Q(e,t,i){var n,r,o,s,a,l,u,c,d="width"in t||"height"in t,f=this,h={},p=e.style,m=e.nodeType&&Ve(e),g=qe.get(e,"fxshow");i.queue||(null==(s=xe._queueHooks(e,"fx")).unqueued&&(s.unqueued=0,a=s.empty.fire,s.empty.fire=function(){s.unqueued||a()}),s.unqueued++,f.always(function(){f.always(function(){s.unqueued--,xe.queue(e,"fx").length||s.empty.fire()})}));for(n in t)if(r=t[n],bt.test(r)){if(delete t[n],o=o||"toggle"===r,r===(m?"hide":"show")){if("show"!==r||!g||void 0===g[n])continue;m=!0}h[n]=g&&g[n]||xe.style(e,n)}if((l=!xe.isEmptyObject(t))||!xe.isEmptyObject(h)){d&&1===e.nodeType&&(i.overflow=[p.overflow,p.overflowX,p.overflowY],null==(u=g&&g.display)&&(u=qe.get(e,"display")),"none"===(c=xe.css(e,"display"))&&(u?c=u:(w([e],!0),u=e.style.display||u,c=xe.css(e,"display"),w([e]))),("inline"===c||"inline-block"===c&&null!=u)&&"none"===xe.css(e,"float")&&(l||(f.done(function(){p.display=u}),null==u&&(c=p.display,u="none"===c?"":c)),p.display="inline-block")),i.overflow&&(p.overflow="hidden",f.always(function(){p.overflow=i.overflow[0],p.overflowX=i.overflow[1],p.overflowY=i.overflow[2]})),l=!1;for(n in h)l||(g?"hidden"in g&&(m=g.hidden):g=qe.access(e,"fxshow",{display:u}),o&&(g.hidden=!m),m&&w([e],!0),f.done(function(){m||w([e]),qe.remove(e,"fxshow");for(n in h)xe.style(e,n,h[n])})),l=V(m?g[n]:0,n,f),n in g||(g[n]=l.start,m&&(l.end=l.start,l.start=0))}}function Y(e,t){var i,n,r,o,s;for(i in e)if(n=p(i),r=t[n],o=e[i],Array.isArray(o)&&(r=o[1],o=e[i]=o[0]),i!==n&&(e[n]=o,delete e[i]),(s=xe.cssHooks[n])&&"expand"in s){o=s.expand(o),delete e[n];for(i in o)i in e||(e[i]=o[i],t[i]=r)}else t[n]=r}function X(e,t,i){var n,r,o=0,s=X.prefilters.length,a=xe.Deferred().always(function(){delete l.elem}),l=function(){if(r)return!1;for(var t=vt||U(),i=Math.max(0,u.startTime+u.duration-t),n=1-(i/u.duration||0),o=0,s=u.tweens.length;o<s;o++)u.tweens[o].run(n);return a.notifyWith(e,[u,n,i]),n<1&&s?i:(s||a.notifyWith(e,[u,1,0]),a.resolveWith(e,[u]),!1)},u=a.promise({elem:e,props:xe.extend({},t),opts:xe.extend(!0,{specialEasing:{},easing:xe.easing._default},i),originalProperties:t,originalOptions:i,startTime:vt||U(),duration:i.duration,tweens:[],createTween:function(t,i){var n=xe.Tween(e,u.opts,t,i,u.opts.specialEasing[t]||u.o
vendor: 5,748 bytes, line 8
8pts.easing);return u.tweens.push(n),n},stop:function(t){var i=0,n=t?u.tweens.length:0;if(r)return this;for(r=!0;i<n;i++)u.tweens[i].run(1);return t?(a.notifyWith(e,[u,1,0]),a.resolveWith(e,[u,t])):a.rejectWith(e,[u,t]),this}}),c=u.props;for(Y(c,u.opts.specialEasing);o<s;o++)if(n=X.prefilters[o].call(u,e,c,u.opts))return ye(n.stop)&&(xe._queueHooks(u.elem,u.opts.queue).stop=n.stop.bind(n)),n;return xe.map(c,V,u),ye(u.opts.start)&&u.opts.start.call(e,u),u.progress(u.opts.progress).done(u.opts.done,u.opts.complete).fail(u.opts.fail).always(u.opts.always),xe.fx.timer(xe.extend(l,{elem:e,anim:u,queue:u.opts.queue})),u}function G(e){return(e.match(ze)||[]).join(" ")}function J(e){return e.getAttribute&&e.getAttribute("class")||""}function Z(e){return Array.isArray(e)?e:"string"==typeof e?e.match(ze)||[]:[]}function K(e,t,i,r){var o;if(Array.isArray(t))xe.each(t,function(t,n){i||Lt.test(e)?r(e,n):K(e+"["+("object"==typeof n&&null!=n?t:"")+"]",n,i,r)});else if(i||"object"!==n(t))r(e,t);else for(o in t)K(e+"["+o+"]",t[o],i,r)}function ee(e){return function(t,i){"string"!=typeof t&&(i=t,t="*");var n,r=0,o=t.toLowerCase().match(ze)||[];if(ye(i))for(;n=o[r++];)"+"===n[0]?(n=n.slice(1)||"*",(e[n]=e[n]||[]).unshift(i)):(e[n]=e[n]||[]).push(i)}}function te(e,t,i,n){function r(a){var l;return o[a]=!0,xe.each(e[a]||[],function(e,a){var u=a(t,i,n);return"string"!=typeof u||s||o[u]?s?!(l=u):void 0:(t.dataTypes.unshift(u),r(u),!1)}),l}var o={},s=e===Wt;return r(t.dataTypes[0])||!o["*"]&&r("*")}function ie(e,t){var i,n,r=xe.ajaxSettings.flatOptions||{};for(i in t)void 0!==t[i]&&((r[i]?e:n||(n={}))[i]=t[i]);return n&&xe.extend(!0,e,n),e}function ne(e,t,i){for(var n,r,o,s,a=e.contents,l=e.dataTypes;"*"===l[0];)l.shift(),void 0===n&&(n=e.mimeType||t.getResponseHeader("Content-Type"));if(n)for(r in a)if(a[r]&&a[r].test(n)){l.unshift(r);break}if(l[0]in i)o=l[0];else{for(r in i){if(!l[0]||e.converters[r+" "+l[0]]){o=r;break}s||(s=r)}o=o||s}if(o)return o!==l[0]&&l.unshift(o),i[o]}function re(e,t,i,n){var r,o,s,a,l,u={},c=e.dataTypes.slice();if(c[1])for(s in e.converters)u[s.toLowerCase()]=e.converters[s];for(o=c.shift();o;)if(e.responseFields[o]&&(i[e.responseFields[o]]=t),!l&&n&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),l=o,o=c.shift())if("*"===o)o=l;else if("*"!==l&&l!==o){if(!(s=u[l+" "+o]||u["* "+o]))for(r in u)if((a=r.split(" "))[1]===o&&(s=u[l+" "+a[0]]||u["* "+a[0]])){!0===s?s=u[r]:!0!==u[r]&&(o=a[0],c.unshift(a[1]));break}if(!0!==s)if(s&&e.throws)t=s(t);else try{t=s(t)}catch(e){return{state:"parsererror",error:s?e:"No conversion from "+l+" to "+o}}}return{state:"success",data:t}}var oe=[],se=e.document,ae=Object.getPrototypeOf,le=oe.slice,ue=oe.concat,ce=oe.push,de=oe.indexOf,fe={},he=fe.toString,pe=fe.hasOwnProperty,me=pe.toString,ge=me.call(Object),ve={},ye=function(e){return"function"==typeof e&&"number"!=typeof e.nodeType},be=function(e){return null!=e&&e===e.window},we={type:!0,src:!0,noModule:!0},xe=function(e,t){return new xe.fn.init(e,t)},_e=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g;xe.fn=xe.prototype={jquery:"3.3.1",constructor:xe,length:0,toArray:function(){return le.call(this)},get:function(e){return null==e?le.call(this):e<0?this[e+this.length]:this[e]},pushStack:function(e){var t=xe.merge(this.constructor(),e);return t.prevObject=this,t},each:function(e){return xe.each(this,e)},map:function(e){return this.pushStack(xe.map(this,function(t,i){return e.call(t,i,t)}))},slice:function(){return this.pushStack(le.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(e){var t=this.length,i=+e+(e<0?t:0);return this.pushStack(i>=0&&i<t?[this[i]]:[])},end:function(){return this.prevObject||this.constructor()},push:ce,sort:oe.sort,splice:oe.splice},xe.extend=xe.fn.extend=function(){var e,t,i,n,r,o,s=arguments[0]||{},a=1,l=arguments.length,u=!1;for("boolean"==typeof s&&(u=s,s=arguments[a]||{},a++),"object"==typeof s||ye(s)||(s={}),a===l&&(s=this,a--);a<l;a++)if(null!=(e=arguments[a]))for(t in e)i=s[t],s!==(n=e[t])&&(u&&n&&(xe.isPlainObject(n)||(r=Array.isArray(n)))?(r?(r=!1,o=i&&Array.isArray(i)?i:[]):o=i&&xe.isPlainObject(i)?i:{},s[t]=xe.extend(u,o,n)):void 0!==n&&(s[t]=n));return s},xe.extend({expando:"jQuery"+("3.3.1"+Math.random()).replace(/\D/g,""),isReady:!0,error:function(e){throw new Error(e)},noop:function(){},isPlainObject:function(e){var t,i;return!(!e||"[object Object]"!==he.call(e)||(t=ae(e))&&("function"!=typeof(i=pe.call(t,"constructor")&&t.constructor)||me.call(i)!==ge))},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},globalEval:function(e){i(e)},each:function(e,t){var i,n=0;if(r(e))for(i=e.length;n<i&&!1!==t.call(e[n],n,e[n]);n++);else for(n in e)if(!1===t.call(e[n],n,e[n]))break;return e},trim:function(e){return null==e?"":(e+"").replace(_e,"")},makeArray:function(e,t){var i=t||[];return null!=e&&(r(Object(e))?xe.merge(i,"string"==typeof e?[e]:e):ce.call(i,e)),i},inArray:function(e,t,i){return null==t?-1:de.call(t,e,i)},merge:function(e,t){for(var i=+t.length,n=0,r=e.length;n<i;n++)e[r++]=t[n];return e.length=r,e},grep:function(e,t,i){for(var n,r=[],o=0,s=e.length,a=!i;o<s;o++)(n=!t(e[o],o))!==a&&r.push(e[o]);return r},map:function(e,t,i){var n,o,s=0,a=[];if(r(e))for(n=e.length;s<n;s++)null!=(o=t(e[s],s,i))&&a.push(o);else for(s in e)null!=(o=t(e[s],s,i))&&a.push(o);return ue.apply([],a)},guid:1,support:ve}),"function"==typeof Symbol&&(xe.fn[Symbol.iterator]=oe[Symbol.iterator]),xe.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(e,t){fe["[object "+t+"]"]=t.toLowerCase()});var Ce=function(e){function t(e,t,i,n){var r,o,s,a,l,u,c,f=t&&t.ownerDocument,p=t?t.nodeType:9;if(i=i||[],"string"!=typeof e||!e||1!==p&&9!==p&&11!==p)return i;
vendor: 24,973 bytes, lines 8-9
8if(!n&&((t?t.ownerDocument||t:H)!==N&&z(t),t=t||N,M)){if(11!==p&&(l=ve.exec(e)))if(r=l[1]){if(9===p){if(!(s=t.getElementById(r)))return i;if(s.id===r)return i.push(s),i}else if(f&&(s=f.getElementById(r))&&q(t,s)&&s.id===r)return i.push(s),i}else{if(l[2])return Z.apply(i,t.getElementsByTagName(e)),i;if((r=l[3])&&_.getElementsByClassName&&t.getElementsByClassName)return Z.apply(i,t.getElementsByClassName(r)),i}if(_.qsa&&!V[e+" "]&&(!j||!j.test(e))){if(1!==p)f=t,c=e;else if("object"!==t.nodeName.toLowerCase()){for((a=t.getAttribute("id"))?a=a.replace(xe,_e):t.setAttribute("id",a=B),o=(u=T(e)).length;o--;)u[o]="#"+a+" "+h(u[o]);c=u.join(","),f=ye.test(e)&&d(t.parentNode)||t}if(c)try{return Z.apply(i,f.querySelectorAll(c)),i}catch(e){}finally{a===B&&t.removeAttribute("id")}}}return A(e.replace(ae,"$1"),t,i,n)}function i(){function e(i,n){return t.push(i+" ")>C.cacheLength&&delete e[t.shift()],e[i+" "]=n}var t=[];return e}function n(e){return e[B]=!0,e}function r(e){var t=N.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function o(e,t){for(var i=e.split("|"),n=i.length;n--;)C.attrHandle[i[n]]=t}function s(e,t){var i=t&&e,n=i&&1===e.nodeType&&1===t.nodeType&&e.sourceIndex-t.sourceIndex;if(n)return n;if(i)for(;i=i.nextSibling;)if(i===t)return-1;return e?1:-1}function a(e){return function(t){return"input"===t.nodeName.toLowerCase()&&t.type===e}}function l(e){return function(t){var i=t.nodeName.toLowerCase();return("input"===i||"button"===i)&&t.type===e}}function u(e){return function(t){return"form"in t?t.parentNode&&!1===t.disabled?"label"in t?"label"in t.parentNode?t.parentNode.disabled===e:t.disabled===e:t.isDisabled===e||t.isDisabled!==!e&&Ee(t)===e:t.disabled===e:"label"in t&&t.disabled===e}}function c(e){return n(function(t){return t=+t,n(function(i,n){for(var r,o=e([],i.length,t),s=o.length;s--;)i[r=o[s]]&&(i[r]=!(n[r]=i[r]))})})}function d(e){return e&&"undefined"!=typeof e.getElementsByTagName&&e}function f(){}function h(e){for(var t=0,i=e.length,n="";t<i;t++)n+=e[t].value;return n}function p(e,t,i){var n=t.dir,r=t.next,o=r||n,s=i&&"parentNode"===o,a=W++;return t.first?function(t,i,r){for(;t=t[n];)if(1===t.nodeType||s)return e(t,i,r);return!1}:function(t,i,l){var u,c,d,f=[R,a];if(l){for(;t=t[n];)if((1===t.nodeType||s)&&e(t,i,l))return!0}else for(;t=t[n];)if(1===t.nodeType||s)if(d=t[B]||(t[B]={}),c=d[t.uniqueID]||(d[t.uniqueID]={}),r&&r===t.nodeName.toLowerCase())t=t[n]||t;else{if((u=c[o])&&u[0]===R&&u[1]===a)return f[2]=u[2];if(c[o]=f,f[2]=e(t,i,l))return!0}return!1}}function m(e){return e.length>1?function(t,i,n){for(var r=e.length;r--;)if(!e[r](t,i,n))return!1;return!0}:e[0]}function g(e,i,n){for(var r=0,o=i.length;r<o;r++)t(e,i[r],n);return n}function v(e,t,i,n,r){for(var o,s=[],a=0,l=e.length,u=null!=t;a<l;a++)(o=e[a])&&(i&&!i(o,n,r)||(s.push(o),u&&t.push(a)));return s}function y(e,t,i,r,o,s){return r&&!r[B]&&(r=y(r)),o&&!o[B]&&(o=y(o,s)),n(function(n,s,a,l){var u,c,d,f=[],h=[],p=s.length,m=n||g(t||"*",a.nodeType?[a]:a,[]),y=!e||!n&&t?m:v(m,f,e,a,l),b=i?o||(n?e:p||r)?[]:s:y;if(i&&i(y,b,a,l),r)for(u=v(b,h),r(u,[],a,l),c=u.length;c--;)(d=u[c])&&(b[h[c]]=!(y[h[c]]=d));if(n){if(o||e){if(o){for(u=[],c=b.length;c--;)(d=b[c])&&u.push(y[c]=d);o(null,b=[],u,l)}for(c=b.length;c--;)(d=b[c])&&(u=o?ee(n,d):f[c])>-1&&(n[u]=!(s[u]=d))}}else b=v(b===s?b.splice(p,b.length):b),o?o(null,s,b,l):Z.apply(s,b)})}function b(e){for(var t,i,n,r=e.length,o=C.relative[e[0].type],s=o||C.relative[" "],a=o?1:0,l=p(function(e){return e===t},s,!0),u=p(function(e){return ee(t,e)>-1},s,!0),c=[function(e,i,n){var r=!o&&(n||i!==I)||((t=i).nodeType?l(e,i,n):u(e,i,n));return t=null,r}];a<r;a++)if(i=C.relative[e[a].type])c=[p(m(c),i)];else{if((i=C.filter[e[a].type].apply(null,e[a].matches))[B]){for(n=++a;n<r&&!C.relative[e[n].type];n++);return y(a>1&&m(c),a>1&&h(e.slice(0,a-1).concat({value:" "===e[a-2].type?"*":""})).replace(ae,"$1"),i,a<n&&b(e.slice(a,n)),n<r&&b(e=e.slice(n)),n<r&&h(e))}c.push(i)}return m(c)}function w(e,i){var r=i.length>0,o=e.length>0,s=function(n,s,a,l,u){var c,d,f,h=0,p="0",m=n&&[],g=[],y=I,b=n||o&&C.find.TAG("*",u),w=R+=null==y?1:Math.random()||.1,x=b.length;for(u&&(I=s===N||s||u);p!==x&&null!=(c=b[p]);p++){if(o&&c){for(d=0,s||c.ownerDocument===N||(z(c),a=!M);f=e[d++];)if(f(c,s||N,a)){l.push(c);break}u&&(R=w)}r&&((c=!f&&c)&&h--,n&&m.push(c))}if(h+=p,r&&p!==h){for(d=0;f=i[d++];)f(m,g,s,a);if(n){if(h>0)for(;p--;)m[p]||g[p]||(g[p]=G.call(l));g=v(g)}Z.apply(l,g),u&&!n&&g.length>0&&h+i.length>1&&t.uniqueSort(l)}return u&&(R=w,I=y),m};return r?n(s):s}var x,_,C,E,S,T,k,A,I,D,L,z,N,P,M,j,O,F,q,B="sizzle"+1*new Date,H=e.document,R=0,W=0,U=i(),$=i(),V=i(),Q=function(e,t){return e===t&&(L=!0),0},Y={}.hasOwnProperty,X=[],G=X.pop,J=X.push,Z=X.push,K=X.slice,ee=function(e,t){for(var i=0,n=e.length;i<n;i++)if(e[i]===t)return i;return-1},te="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",ie="[\\x20\\t\\r\\n\\f]",ne="(?:\\\\.|[\\w-]|[^\0-\\xa0])+",re="\\["+ie+"*("+ne+")(?:"+ie+"*([*^$|!~]?=)"+ie+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+ne+"))|)"+ie+"*\\]",oe=":("+ne+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+re+")*)|.*)\\)|)",se=new RegExp(ie+"+","g"),ae=new RegExp("^"+ie+"+|((?:^|[^\\\\])(?:\\\\.)*)"+ie+"+$","g"),le=new RegExp("^"+ie+"*,"+ie+"*"),ue=new RegExp("^"+ie+"*([>+~]|"+ie+")"+ie+"*"),ce=new RegExp("="+ie+"*([^\\]'\"]*?)"+ie+"*\\]","g"),de=new RegExp(oe),fe=new RegExp("^"+ne+"$"),he={ID:new RegExp("^#("+ne+")"),CLASS:new RegExp("^\\.("+ne+")"),TAG:new RegExp("^("+ne+"|[*])"),ATTR:new RegExp("^"+re),PSEUDO:new RegExp("^"+oe),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+ie+"*(even|odd|(([+-]|)(\\d*)n|)"+ie+"*(?:([+-]|)"+ie+"*(\\d+)|))"+ie+"*\\)|)","i"),bool:new RegExp("^(?:"+te+")$","i"),needsContext:new RegExp("^"+ie+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+ie+"*((?:-\\d)?\\d*)"+ie+"*\\)|)(?=[^-]|$)","i")},pe=/^(?:input|select|textarea|button)$/i,me=/^h\d$/i,ge=/^[^{]+\{\s*\[native \w/,ve=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ye=/[+~]/,be=new RegExp("\\\\([\\da-f]{1,6}"+ie+"?|("+ie+")|.)","ig"),we=function(e,t,i){var n="0x"+t-65536;return n!==n||i?t:n<0?String.fromCharCode(n+65536):String.fromCharCode(n>>10|55296,1023&n|56320)},xe=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,_e=function(e,t){return t?"\0"===e?"�":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e},Ce=function(){z()},Ee=p(function(e){return!0===e.disabled&&("form"in e||"label"in e)},{dir:"parentNode",next:"legend"});try{Z.apply(X=K.call(H.childNodes),H.childNodes),X[H.childNodes.length].nodeType}catch(e){Z={apply:X.length?function(e,t){J.apply(e,K.call(t))}:function(e,t){for(var i=e.length,n=0;e[i++]=t[n++];);e.length=i-1}}}_=t.support={},S=t.isXML=function(e){var t=e&&(e.ownerDocument||e).documentElement;return!!t&&"HTML"!==t.nodeName},z=t.setDocument=function(e){var t,i,n=e?e.ownerDocument||e:H;return n!==N&&9===n.nodeType&&n.documentElement?(N=n,P=N.documentElement,M=!S(N),H!==N&&(i=N.defaultView)&&i.top!==i&&(i.addEventListener?i.addEventListener("unload",Ce,!1):i.attachEvent&&i.attachEvent("onunload",Ce)),_.attributes=r(function(e){return e.className="i",!e.getAttribute("className")}),_.getElementsByTagName=r(function(e){return e.appendChild(N.createComment("")),!e.getElementsByTagName("*").length}),_.getElementsByClassName=ge.test(N.getElementsByClassName),_.getById=r(function(e){return P.appendChild(e).id=B,!N.getElementsByName||!N.getElementsByName(B).length}),_.getById?(C.filter.ID=function(e){var t=e.replace(be,we);return function(e){return e.getAttribute("id")===t}},C.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&M){var i=t.getElementById(e);return i?[i]:[]}}):(C.filter.ID=function(e){var t=e.replace(be,we);return function(e){var i="undefined"!=typeof e.getAttributeNode&&e.getAttributeNode("id");return i&&i.value===t}},C.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&M){var i,n,r,o=t.getElementById(e);if(o){if((i=o.getAttributeNode("id"))&&i.value===e)return[o];for(r=t.getElementsByName(e),n=0;o=r[n++];)if((i=o.getAttributeNode("id"))&&i.value===e)return[o]}return[]}}),C.find.TAG=_.getElementsByTagName?function(e,t){return"undefined"!=typeof t.getElementsByTagName?t.getElementsByTagName(e):_.qsa?t.querySelectorAll(e):void 0}:function(e,t){var i,n=[],r=0,o=t.getElementsByTagName(e);if("*"===e){for(;i=o[r++];)1===i.nodeType&&n.push(i);return n}return o},C.find.CLASS=_.getElementsByClassName&&function(e,t){if("undefined"!=typeof t.getElementsByClassName&&M)return t.getElementsByClassName(e)},O=[],j=[],(_.qsa=ge.test(N.querySelectorAll))&&(r(function(e){P.appendChild(e).innerHTML="<a id='"+B+"'></a><select id='"+B+"-\r\\' msallowcapture=''><option selected=''></option></select>",e.querySelectorAll("[msallowcapture^='']").length&&j.push("[*^$]="+ie+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||j.push("\\["+ie+"*(?:value|"+te+")"),e.querySelectorAll("[id~="+B+"-]").length||j.push("~="),e.querySelectorAll(":checked").length||j.push(":checked"),e.querySelectorAll("a#"+B+"+*").length||j.push(".#.+[+~]")}),r(function(e){e.innerHTML="<a href='' disabled='disabled'></a><select disabled='disabled'><option/></select>";var t=N.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&j.push("name"+ie+"*[*^$|!~]?="),2!==e.querySelectorAll(":enabled").length&&j.push(":enabled",":disabled"),P.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&j.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),j.push(",.*:")})),(_.matchesSelector=ge.test(F=P.matches||P.webkitMatchesSelector||P.mozMatchesSelector||P.oMatchesSelector||P.msMatchesSelector))&&r(function(e){_.disconnectedMatch=F.call(e,"*"),F.call(e,"[s!='']:x"),O.push("!=",oe)}),j=j.length&&new RegExp(j.join("|")),O=O.length&&new RegExp(O.join("|")),t=ge.test(P.compareDocumentPosition),q=t||ge.test(P.contains)?function(e,t){var i=9===e.nodeType?e.documentElement:e,n=t&&t.parentNode;return e===n||!(!n||1!==n.nodeType||!(i.contains?i.contains(n):e.compareDocumentPosition&&16&e.compareDocumentPosition(n)))}:function(e,t){if(t)for(;t=t.parentNode;)if(t===e)return!0;return!1},Q=t?function(e,t){if(e===t)return L=!0,0;var i=!e.compareDocumentPosition-!t.compareDocumentPosition;return i||(1&(i=(e.ownerDocument||e)===(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!_.sortDetached&&t.compareDocumentPosition(e)===i?e===N||e.ownerDocument===H&&q(H,e)?-1:t===N||t.ownerDocument===H&&q(H,t)?1:D?ee(D,e)-ee(D,t):0:4&i?-1:1)}:function(e,t){if(e===t)return L=!0,0;var i,n=0,r=e.parentNode,o=t.parentNode,a=[e],l=[t];if(!r||!o)return e===N?-1:t===N?1:r?-1:o?1:D?ee(D,e)-ee(D,t):0;if(r===o)return s(e,t);for(i=e;i=i.parentNode;)a.unshift(i);for(i=t;i=i.parentNode;)l.unshift(i);for(;a[n]===l[n];)n++;return n?s(a[n],l[n]):a[n]===H?-1:l[n]===H?1:0},N):N},t.matches=function(e,i){return t(e,null,null,i)},t.matchesSelector=function(e,i){if((e.ownerDocument||e)!==N&&z(e),i=i.replace(ce,"='$1']"),_.matchesSelector&&M&&!V[i+" "]&&(!O||!O.test(i))&&(!j||!j.test(i)))try{var n=F.call(e,i);if(n||_.disconnectedMatch||e.document&&11!==e.document.nodeType)return n}catch(e){}return t(i,N,null,[e]).length>0},t.contains=function(e,t){return(e.ownerDocument||e)!==N&&z(e),q(e,t)},t.attr=function(e,t){(e.ownerDocument||e)!==N&&z(e);var i=C.attrHandle[t.toLowerCase()],n=i&&Y.call(C.attrHandle,t.toLowerCase())?i(e,t,!M):void 0;return void 0!==n?n:_.attributes||!M?e.getAttribute(t):(n=e.getAttributeNode(t))&&n.specified?n.value:null},t.escape=function(e){return(e+"").replace(xe,_e)},t.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},t.uniqueSort=function(e){var t,i=[],n=0,r=0;if(L=!_.detectDuplicates,D=!_.sortStable&&e.slice(0),e.sort(Q),L){for(;t=e[r++];)t===e[r]&&(n=i.push(r));for(;n--;)e.splice(i[n],1)}return D=null,e},E=t.getText=function(e){var t,i="",n=0,r=e.nodeType;if(r){if(1===r||9===r||11===r){if("string"==typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)i+=E(e)}else if(3===r||4===r)return e.nodeValue}else for(;t=e[n++];)i+=E(t);return i},(C=t.selectors={cacheLength:50,createPseudo:n,match:he,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(be,we),e[3]=(e[3]||e[4]||e[5]||"").replace(be,we),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||t.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&t.error(e[0]),e},PSEUDO:function(e){var t,i=!e[6]&&e[2];return he.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":i&&de.test(i)&&(t=T(i,!0))&&(t=i.indexOf(")",i.length-t)-i.length)&&(e[0]=e[0].slice(0,t),e[2]=i.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(be,we).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=U[e+" "];return t||(t=new RegExp("(^|"+ie+")"+e+"("+ie+"|$)"))&&U(e,function(e){return t.test("string"==typeof e.className&&e.className||"undefined"!=typeof e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(e,i,n){return function(r){var o=t.attr(r,e);return null==o?"!="===i:!i||(o+="","="===i?o===n:"!="===i?o!==n:"^="===i?n&&0===o.indexOf(n):"*="===i?n&&o.indexOf(n)>-1:"$="===i?n&&o.slice(-n.length)===n:"~="===i?(" "+o.replace(se," ")+" ").indexOf(n)>-1:"|="===i&&(o===n||o.slice(0,n.length+1)===n+"-"))}},CHILD:function(e,t,i,n,r){var o="nth"!==e.slice(0,3),s="last"!==e.slice(-4),a="of-type"===t;return 1===n&&0===r?function(e){return!!e.parentNode}:function(t,i,l){var u,c,d,f,h,p,m=o!==s?"nextSibling":"previousSibling",g=t.parentNode,v=a&&t.nodeName.toLowerCase(),y=!l&&!a,b=!1;if(g){if(o){for(;m;){for(f=t;f=f[m];)if(a?f.nodeName.toLowerCase()===v:1===f.nodeType)return!1;p=m="only"===e&&!p&&"nextSibling"}return!0}if(p=[s?g.firstChild:g.lastChild],s&&y){for(b=(h=(u=(c=(d=(f=g)[B]||(f[B]={}))[f.uniqueID]||(d[f.uniqueID]={}))[e]||[])[0]===R&&u[1])&&u[2],f=h&&g.childNodes[h];f=++h&&f&&f[m]||(b=h=0)||p.pop();)if(1===f.nodeType&&++b&&f===t){c[e]=[R,h,b];break}}else if(y&&(b=h=(u=(c=(d=(f=t)[B]||(f[B]={}))[f.uniqueID]||(d[f.uniqueID]={}))[e]||[])[0]===R&&u[1]),!1===b)for(;(f=++h&&f&&f[m]||(b=h=0)||p.pop())&&((a?f.nodeName.toLowerCase()!==v:1!==f.nodeType)||!++b||(y&&((c=(d=f[B]||(f[B]={}))[f.uniqueID]||(d[f.uniqueID]={}))[e]=[R,b]),f!==t)););return(b-=r)===n||b%n==0&&b/n>=0}}},PSEUDO:function(e,i){var r,o=C.pseudos[e]||C.setFilters[e.toLowerCase()]||t.error("unsupported pseudo: "+e);return o[B]?o(i):o.length>1?(r=[e,e,"",i],C.setFilters.hasOwnProperty(e.toLowerCase())?n(function(e,t){for(var n,r=o(e,i),s=r.length;s--;)e[n=ee(e,r[s])]=!(t[n]=r[s])}):function(e){ 9return o(e,0,r)}):o}},pseudos:{not:n(function(e){var t=[],i=[],r=k(e.replace(ae,"$1"));return r[B]?n(function(e,t,i,n){for(var o,s=r(e,null,n,[]),a=e.length;a--;)(o=s[a])&&(e[a]=!(t[a]=o))}):function(e,n,o){return t[0]=e,r(t,null,o,i),t[0]=null,!i.pop()}}),has:n(function(e){return function(i){return t(e,i).length>0}}),contains:n(function(e){return e=e.replace(be,we),function(t){return(t.textContent||t.innerText||E(t)).indexOf(e)>-1}}),lang:n(function(e){return fe.test(e||"")||t.error("unsupported lang: "+e),e=e.replace(be,we).toLowerCase(),function(t){var i;do if(i=M?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang"))return(i=i.toLowerCase())===e||0===i.indexOf(e+"-");while((t=t.parentNode)&&1===t.nodeType);return!1}}),target:function(t){var i=e.location&&e.location.hash;return i&&i.slice(1)===t.id},root:function(e){return e===P},focus:function(e){return e===N.activeElement&&(!N.hasFocus||N.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:u(!1),disabled:u(!0),checked:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&!!e.checked||"option"===t&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,!0===e.selected},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeType<6)return!1;return!0},parent:function(e){return!C.pseudos.empty(e)},header:function(e){return me.test(e.nodeName)},input:function(e){return pe.test(e.nodeName)},button:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&"button"===e.type||"button"===t},text:function(e){var t;return"input"===e.nodeName.toLowerCase()&&"text"===e.type&&(null==(t=e.getAttribute("type"))||"text"===t.toLowerCase())},first:c(function(){return[0]}),last:c(function(e,t){return[t-1]}),eq:c(function(e,t,i){return[i<0?i+t:i]}),even:c(function(e,t){for(var i=0;i<t;i+=2)e.push(i);return e}),odd:c(function(e,t){for(var i=1;i<t;i+=2)e.push(i);return e}),lt:c(function(e,t,i){for(var n=i<0?i+t:i;--n>=0;)e.push(n);return e}),gt:c(function(e,t,i){for(var n=i<0?i+t:i;++n<t;)e.push(n);return e})}}).pseudos.nth=C.pseudos.eq;for(x in{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})C.pseudos[x]=a(x);for(x in{submit:!0,reset:!0})C.pseudos[x]=l(x);return f.prototype=C.filters=C.pseudos,C.setFilters=new f,T=t.tokenize=function(e,i){var n,r,o,s,a,l,u,c=$[e+" "];if(c)return i?0:c.slice(0);for(a=e,l=[],u=C.preFilter;a;){n&&!(r=le.exec(a))||(r&&(a=a.slice(r[0].length)||a),l.push(o=[])),n=!1,(r=ue.exec(a))&&(n=r.shift(),o.push({value:n,type:r[0].replace(ae," ")}),a=a.slice(n.length));for(s in C.filter)!(r=he[s].exec(a))||u[s]&&!(r=u[s](r))||(n=r.shift(),o.push({value:n,type:s,matches:r}),a=a.slice(n.length));if(!n)break}return i?a.length:a?t.error(e):$(e,l).slice(0)},k=t.compile=function(e,t){var i,n=[],r=[],o=V[e+" "];if(!o){for(t||(t=T(e)),i=t.length;i--;)(o=b(t[i]))[B]?n.push(o):r.push(o);(o=V(e,w(r,n))).selector=e}return o},A=t.select=function(e,t,i,n){var r,o,s,a,l,u="function"==typeof e&&e,c=!n&&T(e=u.selector||e);if(i=i||[],1===c.length){if((o=c[0]=c[0].slice(0)).length>2&&"ID"===(s=o[0]).type&&9===t.nodeType&&M&&C.relative[o[1].type]){if(!(t=(C.find.ID(s.matches[0].replace(be,we),t)||[])[0]))return i;u&&(t=t.parentNode),e=e.slice(o.shift().value.length)}for(r=he.needsContext.test(e)?0:o.length;r--&&(s=o[r],!C.relative[a=s.type]);)if((l=C.find[a])&&(n=l(s.matches[0].replace(be,we),ye.test(o[0].type)&&d(t.parentNode)||t))){if(o.splice(r,1),!(e=n.length&&h(o)))return Z.apply(i,n),i;break}}return(u||k(e,c))(n,t,!M,i,!t||ye.test(e)&&d(t.parentNode)||t),i},_.sortStable=B.split("").sort(Q).join("")===B,_.detectDuplicates=!!L,z(),_.sortDetached=r(function(e){return 1&e.compareDocumentPosition(N.createElement("fieldset"))}),r(function(e){return e.innerHTML="<a href='#'></a>","#"===e.firstChild.getAttribute("href")})||o("type|href|height|width",function(e,t,i){if(!i)return e.getAttribute(t,"type"===t.toLowerCase()?1:2)}),_.attributes&&r(function(e){return e.innerHTML="<input/>",e.firstChild.setAttribute("value",""),""===e.firstChild.getAttribute("value")})||o("value",function(e,t,i){if(!i&&"input"===e.nodeName.toLowerCase())return e.defaultValue}),r(function(e){return null==e.getAttribute("disabled")})||o(te,function(e,t,i){var n;if(!i)return!0===e[t]?t.toLowerCase():(n=e.getAttributeNode(t))&&n.specified?n.value:null}),t}(e);xe.find=Ce,xe.expr=Ce.selectors,xe.expr[":"]=xe.expr.pseudos,xe.uniqueSort=xe.unique=Ce.uniqueSort,xe.text=Ce.getText,xe.isXMLDoc=Ce.isXML,xe.contains=Ce.contains,xe.escapeSelector=Ce.escape;var Ee=function(e,t,i){for(var n=[],r=void 0!==i;(e=e[t])&&9!==e.nodeType;)if(1===e.nodeType){if(r&&xe(e).is(i))break;n.push(e)}return n},Se=function(e,t){for(var i=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&i.push(e);return i},Te=xe.expr.match.needsContext,ke=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;xe.filter=function(e,t,i){var n=t[0];return i&&(e=":not("+e+")"),1===t.length&&1===n.nodeType?xe.find.matchesSelector(n,e)?[n]:[]:xe.find.matches(e,xe.grep(t,function(e){return 1===e.nodeType}))},xe.fn.extend({find:function(e){var t,i,n=this.length,r=this;if("string"!=typeof e)return this.pushStack(xe(e).filter(function(){for(t=0;t<n;t++)if(xe.contains(r[t],this))return!0}));for(i=this.pushStack([]),t=0;t<n;t++)xe.find(e,r[t],i);return n>1?xe.uniqueSort(i):i},filter:function(e){return this.pushStack(s(this,e||[],!1))},not:function(e){return this.pushStack(s(this,e||[],!0))},is:function(e){return!!s(this,"string"==typeof e&&Te.test(e)?xe(e):e||[],!1).length}});var Ae,Ie=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(xe.fn.init=function(e,t,i){var n,r;if(!e)return this;if(i=i||Ae,"string"==typeof e){if(!(n="<"===e[0]&&">"===e[e.length-1]&&e.length>=3?[null,e,null]:Ie.exec(e))||!n[1]&&t)return!t||t.jquery?(t||i).find(e):this.constructor(t).find(e);if(n[1]){if(t=t instanceof xe?t[0]:t,xe.merge(this,xe.parseHTML(n[1],t&&t.nodeType?t.ownerDocument||t:se,!0)),ke.test(n[1])&&xe.isPlainObject(t))for(n in t)ye(this[n])?this[n](t[n]):this.attr(n,t[n]);return this}return(r=se.getElementById(n[2]))&&(this[0]=r,this.length=1),this}return e.nodeType?(this[0]=e,this.length=1,this):ye(e)?void 0!==i.ready?i.ready(e):e(xe):xe.makeArray(e,this)}).prototype=xe.fn,Ae=xe(se);var De=/^(?:parents|prev(?:Until|All))/,Le={children:!0,contents:!0,next:!0,prev:!0};xe.fn.extend({has:function(e){var t=xe(e,this),i=t.length;return this.filter(function(){for(var e=0;e<i;e++)if(xe.contains(this,t[e]))return!0})},closest:function(e,t){var i,n=0,r=this.length,o=[],s="string"!=typeof e&&xe(e);if(!Te.test(e))for(;n<r;n++)for(i=this[n];i&&i!==t;i=i.parentNode)if(i.nodeType<11&&(s?s.index(i)>-1:1===i.nodeType&&xe.find.matchesSelector(i,e))){o.push(i);break}return this.pushStack(o.length>1?xe.uniqueSort(o):o)},index:function(e){return e?"string"==typeof e?de.call(xe(e),this[0]):de.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(xe.uniqueSort(xe.merge(this.get(),xe(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),xe.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return Ee(e,"parentNode")},parentsUntil:function(e,t,i){return Ee(e,"parentNode",i)},next:function(e){return a(e,"nextSibling")},prev:function(e){return a(e,"previousSibling")},nextAll:function(e){return Ee(e,"nextSibling")},prevAll:function(e){return Ee(e,"previousSibling")},nextUntil:function(e,t,i){return Ee(e,"nextSibling",i)},prevUntil:function(e,t,i){return Ee(e,"previousSibling",i)},siblings:function(e){return Se((e.parentNode||{}).firstChild,e)},children:function(e){return Se(e.firstChild)},contents:function(e){return o(e,"iframe")?e.contentDocument:(o(e,"template")&&(e=e.content||e),xe.merge([],e.childNodes))}},function(e,t){xe.fn[e]=function(i,n){var r=xe.map(this,t,i);return"Until"!==e.slice(-5)&&(n=i),n&&"string"==typeof n&&(r=xe.filter(n,r)),this.length>1&&(Le[e]||xe.uniqueSort(r),De.test(e)&&r.reverse()),this.pushStack(r)}});var ze=/[^\x20\t\r\n\f]+/g;xe.Callbacks=function(e){e="string"==typeof e?l(e):xe.extend({},e);var t,i,r,o,s=[],a=[],u=-1,c=function(){for(o=o||e.once,r=t=!0;a.length;u=-1)for(i=a.shift();++u<s.length;)!1===s[u].apply(i[0],i[1])&&e.stopOnFalse&&(u=s.length,i=!1);e.memory||(i=!1),t=!1,o&&(s=i?[]:"")},d={add:function(){return s&&(i&&!t&&(u=s.length-1,a.push(i)),function t(i){xe.each(i,function(i,r){ye(r)?e.unique&&d.has(r)||s.push(r):r&&r.length&&"string"!==n(r)&&t(r)})}(arguments),i&&!t&&c()),this},remove:function(){return xe.each(arguments,function(e,t){for(var i;(i=xe.inArray(t,s,i))>-1;)s.splice(i,1),i<=u&&u--}),this},has:function(e){return e?xe.inArray(e,s)>-1:s.length>0},empty:function(){return s&&(s=[]),this},disable:function(){return o=a=[],s=i="",this},disabled:function(){return!s},lock:function(){return o=a=[],i||t||(s=i=""),this},locked:function(){return!!o},fireWith:function(e,i){return o||(i=[e,(i=i||[]).slice?i.slice():i],a.push(i),t||c()),this},fire:function(){return d.fireWith(this,arguments),this},fired:function(){return!!r}};return d},xe.extend({Deferred:function(t){var i=[["notify","progress",xe.Callbacks("memory"),xe.Callbacks("memory"),2],["resolve","done",xe.Callbacks("once memory"),xe.Callbacks("once memory"),0,"resolved"],["reject","fail",xe.Callbacks("once memory"),xe.Callbacks("once memory"),1,"rejected"]],n="pending",r={state:function(){return n},always:function(){return o.done(arguments).fail(arguments),this},catch:function(e){return r.then(null,e)},pipe:function(){var e=arguments;return xe.Deferred(function(t){xe.each(i,function(i,n){var r=ye(e[n[4]])&&e[n[4]];o[n[1]](function(){var e=r&&r.apply(this,arguments);e&&ye(e.promise)?e.promise().progress(t.notify).done(t.resolve).fail(t.reject):t[n[0]+"With"](this,r?[e]:arguments)})}),e=null}).promise()},then:function(t,n,r){function o(t,i,n,r){return function(){var a=this,l=arguments,d=function(){var e,d;
vendor: 5,536 bytes, line 9
9if(!(t<s)){if((e=n.apply(a,l))===i.promise())throw new TypeError("Thenable self-resolution");d=e&&("object"==typeof e||"function"==typeof e)&&e.then,ye(d)?r?d.call(e,o(s,i,u,r),o(s,i,c,r)):(s++,d.call(e,o(s,i,u,r),o(s,i,c,r),o(s,i,u,i.notifyWith))):(n!==u&&(a=void 0,l=[e]),(r||i.resolveWith)(a,l))}},f=r?d:function(){try{d()}catch(e){xe.Deferred.exceptionHook&&xe.Deferred.exceptionHook(e,f.stackTrace),t+1>=s&&(n!==c&&(a=void 0,l=[e]),i.rejectWith(a,l))}};t?f():(xe.Deferred.getStackHook&&(f.stackTrace=xe.Deferred.getStackHook()),e.setTimeout(f))}}var s=0;return xe.Deferred(function(e){i[0][3].add(o(0,e,ye(r)?r:u,e.notifyWith)),i[1][3].add(o(0,e,ye(t)?t:u)),i[2][3].add(o(0,e,ye(n)?n:c))}).promise()},promise:function(e){return null!=e?xe.extend(e,r):r}},o={};return xe.each(i,function(e,t){var s=t[2],a=t[5];r[t[1]]=s.add,a&&s.add(function(){n=a},i[3-e][2].disable,i[3-e][3].disable,i[0][2].lock,i[0][3].lock),s.add(t[3].fire),o[t[0]]=function(){return o[t[0]+"With"](this===o?void 0:this,arguments),this},o[t[0]+"With"]=s.fireWith}),r.promise(o),t&&t.call(o,o),o},when:function(e){var t=arguments.length,i=t,n=Array(i),r=le.call(arguments),o=xe.Deferred(),s=function(e){return function(i){n[e]=this,r[e]=arguments.length>1?le.call(arguments):i,--t||o.resolveWith(n,r)}};if(t<=1&&(d(e,o.done(s(i)).resolve,o.reject,!t),"pending"===o.state()||ye(r[i]&&r[i].then)))return o.then();for(;i--;)d(r[i],s(i),o.reject);return o.promise()}});var Ne=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;xe.Deferred.exceptionHook=function(t,i){e.console&&e.console.warn&&t&&Ne.test(t.name)&&e.console.warn("jQuery.Deferred exception: "+t.message,t.stack,i)},xe.readyException=function(t){e.setTimeout(function(){throw t})};var Pe=xe.Deferred();xe.fn.ready=function(e){return Pe.then(e).catch(function(e){xe.readyException(e)}),this},xe.extend({isReady:!1,readyWait:1,ready:function(e){(!0===e?--xe.readyWait:xe.isReady)||(xe.isReady=!0,!0!==e&&--xe.readyWait>0||Pe.resolveWith(se,[xe]))}}),xe.ready.then=Pe.then,"complete"===se.readyState||"loading"!==se.readyState&&!se.documentElement.doScroll?e.setTimeout(xe.ready):(se.addEventListener("DOMContentLoaded",f),e.addEventListener("load",f));var Me=function(e,t,i,r,o,s,a){var l=0,u=e.length,c=null==i;if("object"===n(i)){o=!0;for(l in i)Me(e,t,l,i[l],!0,s,a)}else if(void 0!==r&&(o=!0,ye(r)||(a=!0),c&&(a?(t.call(e,r),t=null):(c=t,t=function(e,t,i){return c.call(xe(e),i)})),t))for(;l<u;l++)t(e[l],i,a?r:r.call(e[l],l,t(e[l],i)));return o?e:c?t.call(e):u?t(e[0],i):s},je=/^-ms-/,Oe=/-([a-z])/g,Fe=function(e){return 1===e.nodeType||9===e.nodeType||!+e.nodeType};m.uid=1,m.prototype={cache:function(e){var t=e[this.expando];return t||(t={},Fe(e)&&(e.nodeType?e[this.expando]=t:Object.defineProperty(e,this.expando,{value:t,configurable:!0}))),t},set:function(e,t,i){var n,r=this.cache(e);if("string"==typeof t)r[p(t)]=i;else for(n in t)r[p(n)]=t[n];return r},get:function(e,t){return void 0===t?this.cache(e):e[this.expando]&&e[this.expando][p(t)]},access:function(e,t,i){return void 0===t||t&&"string"==typeof t&&void 0===i?this.get(e,t):(this.set(e,t,i),void 0!==i?i:t)},remove:function(e,t){var i,n=e[this.expando];if(void 0!==n){if(void 0!==t){i=(t=Array.isArray(t)?t.map(p):(t=p(t))in n?[t]:t.match(ze)||[]).length;for(;i--;)delete n[t[i]]}(void 0===t||xe.isEmptyObject(n))&&(e.nodeType?e[this.expando]=void 0:delete e[this.expando])}},hasData:function(e){var t=e[this.expando];return void 0!==t&&!xe.isEmptyObject(t)}};var qe=new m,Be=new m,He=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,Re=/[A-Z]/g;xe.extend({hasData:function(e){return Be.hasData(e)||qe.hasData(e)},data:function(e,t,i){return Be.access(e,t,i)},removeData:function(e,t){Be.remove(e,t)},_data:function(e,t,i){return qe.access(e,t,i)},_removeData:function(e,t){qe.remove(e,t)}}),xe.fn.extend({data:function(e,t){var i,n,r,o=this[0],s=o&&o.attributes;if(void 0===e){if(this.length&&(r=Be.get(o),1===o.nodeType&&!qe.get(o,"hasDataAttrs"))){for(i=s.length;i--;)s[i]&&0===(n=s[i].name).indexOf("data-")&&(n=p(n.slice(5)),v(o,n,r[n]));qe.set(o,"hasDataAttrs",!0)}return r}return"object"==typeof e?this.each(function(){Be.set(this,e)}):Me(this,function(t){var i;if(o&&void 0===t){if(void 0!==(i=Be.get(o,e)))return i;if(void 0!==(i=v(o,e)))return i}else this.each(function(){Be.set(this,e,t)})},null,t,arguments.length>1,null,!0)},removeData:function(e){return this.each(function(){Be.remove(this,e)})}}),xe.extend({queue:function(e,t,i){var n;if(e)return t=(t||"fx")+"queue",n=qe.get(e,t),i&&(!n||Array.isArray(i)?n=qe.access(e,t,xe.makeArray(i)):n.push(i)),n||[]},dequeue:function(e,t){t=t||"fx";var i=xe.queue(e,t),n=i.length,r=i.shift(),o=xe._queueHooks(e,t),s=function(){xe.dequeue(e,t)};"inprogress"===r&&(r=i.shift(),n--),r&&("fx"===t&&i.unshift("inprogress"),delete o.stop,r.call(e,s,o)),!n&&o&&o.empty.fire()},_queueHooks:function(e,t){var i=t+"queueHooks";return qe.get(e,i)||qe.access(e,i,{empty:xe.Callbacks("once memory").add(function(){qe.remove(e,[t+"queue",i])})})}}),xe.fn.extend({queue:function(e,t){var i=2;return"string"!=typeof e&&(t=e,e="fx",i--),arguments.length<i?xe.queue(this[0],e):void 0===t?this:this.each(function(){var i=xe.queue(this,e,t);xe._queueHooks(this,e),"fx"===e&&"inprogress"!==i[0]&&xe.dequeue(this,e)})},dequeue:function(e){return this.each(function(){xe.dequeue(this,e)})},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,t){var i,n=1,r=xe.Deferred(),o=this,s=this.length,a=function(){--n||r.resolveWith(o,[o])};for("string"!=typeof e&&(t=e,e=void 0),e=e||"fx";s--;
vendor: 4,860 bytes, line 9
9)(i=qe.get(o[s],e+"queueHooks"))&&i.empty&&(n++,i.empty.add(a));return a(),r.promise(t)}});var We=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,Ue=new RegExp("^(?:([+-])=|)("+We+")([a-z%]*)$","i"),$e=["Top","Right","Bottom","Left"],Ve=function(e,t){return"none"===(e=t||e).style.display||""===e.style.display&&xe.contains(e.ownerDocument,e)&&"none"===xe.css(e,"display")},Qe=function(e,t,i,n){var r,o,s={};for(o in t)s[o]=e.style[o],e.style[o]=t[o];r=i.apply(e,n||[]);for(o in t)e.style[o]=s[o];return r},Ye={};xe.fn.extend({show:function(){return w(this,!0)},hide:function(){return w(this)},toggle:function(e){return"boolean"==typeof e?e?this.show():this.hide():this.each(function(){Ve(this)?xe(this).show():xe(this).hide()})}});var Xe=/^(?:checkbox|radio)$/i,Ge=/<([a-z][^\/\0>\x20\t\r\n\f]+)/i,Je=/^$|^module$|\/(?:java|ecma)script/i,Ze={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,"",""]};Ze.optgroup=Ze.option,Ze.tbody=Ze.tfoot=Ze.colgroup=Ze.caption=Ze.thead,Ze.th=Ze.td;var Ke=/<|&#?\w+;/;!function(){var e=se.createDocumentFragment().appendChild(se.createElement("div")),t=se.createElement("input");t.setAttribute("type","radio"),t.setAttribute("checked","checked"),t.setAttribute("name","t"),e.appendChild(t),ve.checkClone=e.cloneNode(!0).cloneNode(!0).lastChild.checked,e.innerHTML="<textarea>x</textarea>",ve.noCloneChecked=!!e.cloneNode(!0).lastChild.defaultValue}();var et=se.documentElement,tt=/^key/,it=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,nt=/^([^.]*)(?:\.(.+)|)/;xe.event={global:{},add:function(e,t,i,n,r){var o,s,a,l,u,c,d,f,h,p,m,g=qe.get(e);if(g)for(i.handler&&(i=(o=i).handler,r=o.selector),r&&xe.find.matchesSelector(et,r),i.guid||(i.guid=xe.guid++),(l=g.events)||(l=g.events={}),(s=g.handle)||(s=g.handle=function(t){return"undefined"!=typeof xe&&xe.event.triggered!==t.type?xe.event.dispatch.apply(e,arguments):void 0}),u=(t=(t||"").match(ze)||[""]).length;u--;)h=m=(a=nt.exec(t[u])||[])[1],p=(a[2]||"").split(".").sort(),h&&(d=xe.event.special[h]||{},h=(r?d.delegateType:d.bindType)||h,d=xe.event.special[h]||{},c=xe.extend({type:h,origType:m,data:n,handler:i,guid:i.guid,selector:r,needsContext:r&&xe.expr.match.needsContext.test(r),namespace:p.join(".")},o),(f=l[h])||((f=l[h]=[]).delegateCount=0,d.setup&&!1!==d.setup.call(e,n,p,s)||e.addEventListener&&e.addEventListener(h,s)),d.add&&(d.add.call(e,c),c.handler.guid||(c.handler.guid=i.guid)),r?f.splice(f.delegateCount++,0,c):f.push(c),xe.event.global[h]=!0)},remove:function(e,t,i,n,r){var o,s,a,l,u,c,d,f,h,p,m,g=qe.hasData(e)&&qe.get(e);if(g&&(l=g.events)){for(u=(t=(t||"").match(ze)||[""]).length;u--;)if(a=nt.exec(t[u])||[],h=m=a[1],p=(a[2]||"").split(".").sort(),h){for(d=xe.event.special[h]||{},f=l[h=(n?d.delegateType:d.bindType)||h]||[],a=a[2]&&new RegExp("(^|\\.)"+p.join("\\.(?:.*\\.|)")+"(\\.|$)"),s=o=f.length;o--;)c=f[o],!r&&m!==c.origType||i&&i.guid!==c.guid||a&&!a.test(c.namespace)||n&&n!==c.selector&&("**"!==n||!c.selector)||(f.splice(o,1),c.selector&&f.delegateCount--,d.remove&&d.remove.call(e,c));s&&!f.length&&(d.teardown&&!1!==d.teardown.call(e,p,g.handle)||xe.removeEvent(e,h,g.handle),delete l[h])}else for(h in l)xe.event.remove(e,h+t[u],i,n,!0);xe.isEmptyObject(l)&&qe.remove(e,"handle events")}},dispatch:function(e){var t,i,n,r,o,s,a=xe.event.fix(e),l=new Array(arguments.length),u=(qe.get(this,"events")||{})[a.type]||[],c=xe.event.special[a.type]||{};for(l[0]=a,t=1;t<arguments.length;t++)l[t]=arguments[t];if(a.delegateTarget=this,!c.preDispatch||!1!==c.preDispatch.call(this,a)){for(s=xe.event.handlers.call(this,a,u),t=0;(r=s[t++])&&!a.isPropagationStopped();)for(a.currentTarget=r.elem,i=0;(o=r.handlers[i++])&&!a.isImmediatePropagationStopped();)a.rnamespace&&!a.rnamespace.test(o.namespace)||(a.handleObj=o,a.data=o.data,void 0!==(n=((xe.event.special[o.origType]||{}).handle||o.handler).apply(r.elem,l))&&!1===(a.result=n)&&(a.preventDefault(),a.stopPropagation()));return c.postDispatch&&c.postDispatch.call(this,a),a.result}},handlers:function(e,t){var i,n,r,o,s,a=[],l=t.delegateCount,u=e.target;if(l&&u.nodeType&&!("click"===e.type&&e.button>=1))for(;u!==this;u=u.parentNode||this)if(1===u.nodeType&&("click"!==e.type||!0!==u.disabled)){for(o=[],s={},i=0;i<l;i++)void 0===s[r=(n=t[i]).selector+" "]&&(s[r]=n.needsContext?xe(r,this).index(u)>-1:xe.find(r,this,null,[u]).length),s[r]&&o.push(n);o.length&&a.push({elem:u,handlers:o})}return u=this,l<t.length&&a.push({elem:u,handlers:t.slice(l)}),a},addProp:function(e,t){Object.defineProperty(xe.Event.prototype,e,{enumerable:!0,configurable:!0,get:ye(t)?function(){if(this.originalEvent)return t(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[e]}
vendor: 2,333 bytes, line 9
9,set:function(t){Object.defineProperty(this,e,{enumerable:!0,configurable:!0,writable:!0,value:t})}})},fix:function(e){return e[xe.expando]?e:new xe.Event(e)},special:{load:{noBubble:!0},focus:{trigger:function(){if(this!==T()&&this.focus)return this.focus(),!1},delegateType:"focusin"},blur:{trigger:function(){if(this===T()&&this.blur)return this.blur(),!1},delegateType:"focusout"},click:{trigger:function(){if("checkbox"===this.type&&this.click&&o(this,"input"))return this.click(),!1},_default:function(e){return o(e.target,"a")}},beforeunload:{postDispatch:function(e){void 0!==e.result&&e.originalEvent&&(e.originalEvent.returnValue=e.result)}}}},xe.removeEvent=function(e,t,i){e.removeEventListener&&e.removeEventListener(t,i)},xe.Event=function(e,t){return this instanceof xe.Event?(e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||void 0===e.defaultPrevented&&!1===e.returnValue?E:S,this.target=e.target&&3===e.target.nodeType?e.target.parentNode:e.target,this.currentTarget=e.currentTarget,this.relatedTarget=e.relatedTarget):this.type=e,t&&xe.extend(this,t),this.timeStamp=e&&e.timeStamp||Date.now(),this[xe.expando]=!0,void 0):new xe.Event(e,t)},xe.Event.prototype={constructor:xe.Event,isDefaultPrevented:S,isPropagationStopped:S,isImmediatePropagationStopped:S,isSimulated:!1,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=E,e&&!this.isSimulated&&e.preventDefault()},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=E,e&&!this.isSimulated&&e.stopPropagation()},stopImmediatePropagation:function(){var e=this.originalEvent;this.isImmediatePropagationStopped=E,e&&!this.isSimulated&&e.stopImmediatePropagation(),this.stopPropagation()}},xe.each({altKey:!0,bubbles:!0,cancelable:!0,changedTouches:!0,ctrlKey:!0,detail:!0,eventPhase:!0,metaKey:!0,pageX:!0,pageY:!0,shiftKey:!0,view:!0,char:!0,charCode:!0,key:!0,keyCode:!0,button:!0,buttons:!0,clientX:!0,clientY:!0,offsetX:!0,offsetY:!0,pointerId:!0,pointerType:!0,screenX:!0,screenY:!0,targetTouches:!0,toElement:!0,touches:!0,which:function(e){var t=e.button;return null==e.which&&tt.test(e.type)?null!=e.charCode?e.charCode:e.keyCode:!e.which&&void 0!==t&&it.test(e.type)?1&t?1:2&t?3:4&t?2:0:e.which}},xe.event.addProp),xe.each({mouseenter:"mouseover",mouseleave:"mou
9seout",pointerenter:"pointerover",pointerleave:"pointerout"},function(e,t){xe.event.special[e]={delegateType:t,bindType:t,handle:function(e){var i,n=this,r=e.relatedTarget,o=e.handleObj;return r&&(r===n||xe.contains(n,r))||(e.type=o.origType,i=o.handler.apply(this,arguments),e.type=t),i}}}),xe.fn.extend({on:function(e,t,i,n){return k(this,e,t,i,n)},one:function(e,t,i,n){return k(this,e,t,i,n,1)},off:function(e,t,i){var n,r;if(e&&e.preventDefault&&e.handleObj)return n=e.handleObj,xe(e.delegateTarget).off(n.namespace?n.origType+"."+n.namespace:n.origType,n.selector,n.handler),this;if("object"==typeof e){for(r in e)this.off(r,t,e[r]);return this}return!1!==t&&"function"!=typeof t||(i=t,t=void 0),!1===i&&(i=S),this.each(function(){xe.event.remove(this,e,i,t)})}});var rt=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([a-z][^\/\0>\x20\t\r\n\f]*)[^>]*)\/>/gi,ot=/<script|<style|<link/i,st=/checked\s*(?:[^=]|=\s*.checked.)/i,at=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g;xe.extend({htmlPrefilter:function(e){return e.replace(rt,"<$1></$2>")},clone:function(e,t,i){var n,r,o,s,a=e.cloneNode(!0),l=xe.contains(e.ownerDocument,e);if(!(ve.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||xe.isXMLDoc(e)))for(s=x(a),n=0,r=(o=x(e)).length;n<r;n++)z(o[n],s[n]);if(t)if(i)for(o=o||x(e),s=s||x(a),n=0,r=o.length;n<r;n++)L(o[n],s[n]);else L(e,a);return(s=x(a,"script")).length>0&&_(s,!l&&x(e,"script")),a},cleanData:function(e){for(var t,i,n,r=xe.event.special,o=0;void 0!==(i=e[o]);o++)if(Fe(i)){if(t=i[qe.expando]){if(t.events)for(n in t.events)r[n]?xe.event.remove(i,n):xe.removeEvent(i,n,t.handle);i[qe.expando]=void 0}i[Be.expando]&&(i[Be.expando]=void 0)}}}),xe.fn.extend({detach:function(e){return P(this,e,!0)},remove:function(e){return P(this,e)},text:function(e){return Me(this,function(e){return void 0===e?xe.text(this):this.empty().each(function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=e)})},null,e,arguments.length)},append:function(){return N(this,arguments,function(e){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||A(this,e).appendChild(e)})},prepend:function(){return N(this,arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=A(this,e);t.insertBefore(e,t.firstChild)}})},before:function(){return N(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this)})},after:function(){return N(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)})},empty:function(){for(var e,t=0;null!=(e=this[t]);t++)1===e.nodeType&&(xe.cleanData(x(e,!1)),e.textContent="");return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map(function(){return xe.clone(this,e,t)})},html:function(e){return Me(this,function(e){var t=this[0]||{},i=0,n=this.length;if(void 0===e&&1===t.nodeType)return t.innerHTML;if("string"==typeof e&&!ot.test(e)&&!Ze[(Ge.exec(e)||["",""])[1].toLowerCase()]){e=xe.htmlPrefilter(e);try{for(;i<n;i++)1===(t=this[i]||{}).nodeType&&(xe.cleanData(x(t,!1)),t.innerHTML=e);t=0}catch(e){}}t&&this.empty().append(e)},null,e,arguments.length)},replaceWith:function(){var e=[];return N(this,arguments,function(t){var i=this.parentNode;xe.inArray(this,e)<0&&(xe.cleanData(x(this)),i&&i.replaceChild(t,this))},e)}}),xe.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(e,t){xe.fn[e]=function(e){for(var i,n=[],r=xe(e),o=r.length-1,s=0;s<=o;s++)i=s===o?this:this.clone(!0),xe(r[s])[t](i),ce.apply(n,i.get());return this.pushStack(n)}});var lt=new RegExp("^("+We+")(?!px)[a-z%]+$","i"),ut=function(t){var i=t.ownerDocument.defaultView;return i&&i.opener||(i=e),i.getComputedStyle(t)},ct=new RegExp($e.join("|"),"i");!function(){function t(){if(u){l.style.cssText="position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0",u.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%",et.appendChild(l).appendChild(u);var t=e.getComputedStyle(u);
vendor: 6,484 bytes, lines 9-10
9n="1%"!==t.top,a=12===i(t.marginLeft),u.style.right="60%",s=36===i(t.right),r=36===i(t.width),u.style.position="absolute",o=36===u.offsetWidth||"absolute",et.removeChild(l),u=null}}function i(e){return Math.round(parseFloat(e))}var n,r,o,s,a,l=se.createElement("div"),u=se.createElement("div");u.style&&(u.style.backgroundClip="content-box",u.cloneNode(!0).style.backgroundClip="",ve.clearCloneStyle="content-box"===u.style.backgroundClip,xe.extend(ve,{boxSizingReliable:function(){return t(),r},pixelBoxStyles:function(){return t(),s},pixelPosition:function(){return t(),n},reliableMarginLeft:function(){return t(),a},scrollboxSize:function(){return t(),o}}))}();var dt=/^(none|table(?!-c[ea]).+)/,ft=/^--/,ht={position:"absolute",visibility:"hidden",display:"block"},pt={letterSpacing:"0",fontWeight:"400"},mt=["Webkit","Moz","ms"],gt=se.createElement("div").style;xe.extend({cssHooks:{opacity:{get:function(e,t){if(t){var i=M(e,"opacity");return""===i?"1":i}}}},cssNumber:{animationIterationCount:!0,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:{},style:function(e,t,i,n){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var r,o,s,a=p(t),l=ft.test(t),u=e.style;if(l||(t=F(a)),s=xe.cssHooks[t]||xe.cssHooks[a],void 0===i)return s&&"get"in s&&void 0!==(r=s.get(e,!1,n))?r:u[t];"string"==(o=typeof i)&&(r=Ue.exec(i))&&r[1]&&(i=y(e,t,r),o="number"),null!=i&&i===i&&("number"===o&&(i+=r&&r[3]||(xe.cssNumber[a]?"":"px")),ve.clearCloneStyle||""!==i||0!==t.indexOf("background")||(u[t]="inherit"),s&&"set"in s&&void 0===(i=s.set(e,i,n))||(l?u.setProperty(t,i):u[t]=i))}},css:function(e,t,i,n){var r,o,s,a=p(t);return ft.test(t)||(t=F(a)),(s=xe.cssHooks[t]||xe.cssHooks[a])&&"get"in s&&(r=s.get(e,!0,i)),void 0===r&&(r=M(e,t,n)),"normal"===r&&t in pt&&(r=pt[t]),""===i||i?(o=parseFloat(r),!0===i||isFinite(o)?o||0:r):r}}),xe.each(["height","width"],function(e,t){xe.cssHooks[t]={get:function(e,i,n){if(i)return!dt.test(xe.css(e,"display"))||e.getClientRects().length&&e.getBoundingClientRect().width?H(e,t,n):Qe(e,ht,function(){return H(e,t,n)})},set:function(e,i,n){var r,o=ut(e),s="border-box"===xe.css(e,"boxSizing",!1,o),a=n&&B(e,t,n,s,o);return s&&ve.scrollboxSize()===o.position&&(a-=Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-parseFloat(o[t])-B(e,t,"border",!1,o)-.5)),a&&(r=Ue.exec(i))&&"px"!==(r[3]||"px")&&(e.style[t]=i,i=xe.css(e,t)),q(e,i,a)}}}),xe.cssHooks.marginLeft=j(ve.reliableMarginLeft,function(e,t){if(t)return(parseFloat(M(e,"marginLeft"))||e.getBoundingClientRect().left-Qe(e,{marginLeft:0},function(){return e.getBoundingClientRect().left}))+"px"}),xe.each({margin:"",padding:"",border:"Width"},function(e,t){xe.cssHooks[e+t]={expand:function(i){for(var n=0,r={},o="string"==typeof i?i.split(" "):[i];n<4;n++)r[e+$e[n]+t]=o[n]||o[n-2]||o[0];return r}},"margin"!==e&&(xe.cssHooks[e+t].set=q)}),xe.fn.extend({css:function(e,t){return Me(this,function(e,t,i){var n,r,o={},s=0;if(Array.isArray(t)){for(n=ut(e),r=t.length;s<r;s++)o[t[s]]=xe.css(e,t[s],!1,n);return o}return void 0!==i?xe.style(e,t,i):xe.css(e,t)},e,t,arguments.length>1)}}),xe.Tween=R,R.prototype={constructor:R,init:function(e,t,i,n,r,o){this.elem=e,this.prop=i,this.easing=r||xe.easing._default,this.options=t,this.start=this.now=this.cur(),this.end=n,this.unit=o||(xe.cssNumber[i]?"":"px")},cur:function(){var e=R.propHooks[this.prop];return e&&e.get?e.get(this):R.propHooks._default.get(this)},run:function(e){var t,i=R.propHooks[this.prop];return this.options.duration?this.pos=t=xe.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):this.pos=t=e,this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),i&&i.set?i.set(this):R.propHooks._default.set(this),this}},R.prototype.init.prototype=R.prototype,R.propHooks={_default:{get:function(e){var t;return 1!==e.elem.nodeType||null!=e.elem[e.prop]&&null==e.elem.style[e.prop]?e.elem[e.prop]:(t=xe.css(e.elem,e.prop,""))&&"auto"!==t?t:0},set:function(e){xe.fx.step[e.prop]?xe.fx.step[e.prop](e):1!==e.elem.nodeType||null==e.elem.style[xe.cssProps[e.prop]]&&!xe.cssHooks[e.prop]?e.elem[e.prop]=e.now:xe.style(e.elem,e.prop,e.now+e.unit)}}},R.propHooks.scrollTop=R.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},xe.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},_default:"swing"},xe.fx=R.prototype.init,xe.fx.step={};var vt,yt,bt=/^(?:toggle|show|hide)$/,wt=/queueHooks$/;xe.Animation=xe.extend(X,{tweeners:{"*":[function(e,t){var i=this.createTween(e,t);return y(i.elem,e,Ue.exec(t),i),i}]},tweener:function(e,t){ye(e)?(t=e,e=["*"]):e=e.match(ze);for(var i,n=0,r=e.length;n<r;n++)i=e[n],X.tweeners[i]=X.tweeners[i]||[],X.tweeners[i].unshift(t)},prefilters:[Q],prefilter:function(e,t){t?X.prefilters.unshift(e):X.prefilters.push(e)}}),xe.speed=function(e,t,i){var n=e&&"object"==typeof e?xe.extend({},e):{complete:i||!i&&t||ye(e)&&e,duration:e,easing:i&&t||t&&!ye(t)&&t};return xe.fx.off?n.duration=0:"number"!=typeof n.duration&&(n.duration in xe.fx.speeds?n.duration=xe.fx.speeds[n.duration]:n.duration=xe.fx.speeds._default),null!=n.queue&&!0!==n.queue||(n.queue="fx"), 10n.old=n.complete,n.complete=function(){ye(n.old)&&n.old.call(this),n.queue&&xe.dequeue(this,n.queue)},n},xe.fn.extend({fadeTo:function(e,t,i,n){return this.filter(Ve).css("opacity",0).show().end().animate({opacity:t},e,i,n)},animate:function(e,t,i,n){var r=xe.isEmptyObject(e),o=xe.speed(t,i,n),s=function(){var t=X(this,xe.extend({},e),o);(r||qe.get(this,"finish"))&&t.stop(!0)};return s.finish=s,r||!1===o.queue?this.each(s):this.queue(o.queue,s)},stop:function(e,t,i){var n=function(e){var t=e.stop;delete e.stop,t(i)};return"string"!=typeof e&&(i=t,t=e,e=void 0),t&&!1!==e&&this.queue(e||"fx",[]),this.each(function(){var t=!0,r=null!=e&&e+"queueHooks",o=xe.timers,s=qe.get(this);if(r)s[r]&&s[r].stop&&n(s[r]);else for(r in s)s[r]&&s[r].stop&&wt.test(r)&&n(s[r]);for(r=o.length;r--;)o[r].elem!==this||null!=e&&o[r].queue!==e||(o[r].anim.stop(i),t=!1,o.splice(r,1));!t&&i||xe.dequeue(this,e)})},finish:function(e){return!1!==e&&(e=e||"fx"),this.each(function(){var t,i=qe.get(this),n=i[e+"queue"],r=i[e+"queueHooks"],o=xe.timers,s=n?n.length:0;for(i.finish=!0,xe.queue(this,e,[]),r&&r.stop&&r.stop.call(this,!0),t=o.length;t--;)o[t].elem===this&&o[t].queue===e&&(o[t].anim.stop(!0),o.splice(t,1)
vendor: 4,788 bytes, line 10
10);for(t=0;t<s;t++)n[t]&&n[t].finish&&n[t].finish.call(this);delete i.finish})}}),xe.each(["toggle","show","hide"],function(e,t){var i=xe.fn[t];xe.fn[t]=function(e,n,r){return null==e||"boolean"==typeof e?i.apply(this,arguments):this.animate($(t,!0),e,n,r)}}),xe.each({slideDown:$("show"),slideUp:$("hide"),slideToggle:$("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(e,t){xe.fn[e]=function(e,i,n){return this.animate(t,e,i,n)}}),xe.timers=[],xe.fx.tick=function(){var e,t=0,i=xe.timers;for(vt=Date.now();t<i.length;t++)(e=i[t])()||i[t]!==e||i.splice(t--,1);i.length||xe.fx.stop(),vt=void 0},xe.fx.timer=function(e){xe.timers.push(e),xe.fx.start()},xe.fx.interval=13,xe.fx.start=function(){yt||(yt=!0,W())},xe.fx.stop=function(){yt=null},xe.fx.speeds={slow:600,fast:200,_default:400},xe.fn.delay=function(t,i){return t=xe.fx?xe.fx.speeds[t]||t:t,i=i||"fx",this.queue(i,function(i,n){var r=e.setTimeout(i,t);n.stop=function(){e.clearTimeout(r)}})},function(){var e=se.createElement("input"),t=se.createElement("select").appendChild(se.createElement("option"));e.type="checkbox",ve.checkOn=""!==e.value,ve.optSelected=t.selected,(e=se.createElement("input")).value="t",e.type="radio",ve.radioValue="t"===e.value}();var xt,_t=xe.expr.attrHandle;xe.fn.extend({attr:function(e,t){return Me(this,xe.attr,e,t,arguments.length>1)},removeAttr:function(e){return this.each(function(){xe.removeAttr(this,e)})}}),xe.extend({attr:function(e,t,i){var n,r,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return"undefined"==typeof e.getAttribute?xe.prop(e,t,i):(1===o&&xe.isXMLDoc(e)||(r=xe.attrHooks[t.toLowerCase()]||(xe.expr.match.bool.test(t)?xt:void 0)),void 0!==i?null===i?void xe.removeAttr(e,t):r&&"set"in r&&void 0!==(n=r.set(e,i,t))?n:(e.setAttribute(t,i+""),i):r&&"get"in r&&null!==(n=r.get(e,t))?n:null==(n=xe.find.attr(e,t))?void 0:n)},attrHooks:{type:{set:function(e,t){if(!ve.radioValue&&"radio"===t&&o(e,"input")){var i=e.value;return e.setAttribute("type",t),i&&(e.value=i),t}}}},removeAttr:function(e,t){var i,n=0,r=t&&t.match(ze);if(r&&1===e.nodeType)for(;i=r[n++];)e.removeAttribute(i)}}),xt={set:function(e,t,i){return!1===t?xe.removeAttr(e,i):e.setAttribute(i,i),i}},xe.each(xe.expr.match.bool.source.match(/\w+/g),function(e,t){var i=_t[t]||xe.find.attr;_t[t]=function(e,t,n){var r,o,s=t.toLowerCase();return n||(o=_t[s],_t[s]=r,r=null!=i(e,t,n)?s:null,_t[s]=o),r}});var Ct=/^(?:input|select|textarea|button)$/i,Et=/^(?:a|area)$/i;xe.fn.extend({prop:function(e,t){return Me(this,xe.prop,e,t,arguments.length>1)},removeProp:function(e){return this.each(function(){delete this[xe.propFix[e]||e]})}}),xe.extend({prop:function(e,t,i){var n,r,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return 1===o&&xe.isXMLDoc(e)||(t=xe.propFix[t]||t,r=xe.propHooks[t]),void 0!==i?r&&"set"in r&&void 0!==(n=r.set(e,i,t))?n:e[t]=i:r&&"get"in r&&null!==(n=r.get(e,t))?n:e[t]},propHooks:{tabIndex:{get:function(e){var t=xe.find.attr(e,"tabindex");return t?parseInt(t,10):Ct.test(e.nodeName)||Et.test(e.nodeName)&&e.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),ve.optSelected||(xe.propHooks.selected={get:function(e){var t=e.parentNode;return t&&t.parentNode&&t.parentNode.selectedIndex,null},set:function(e){var t=e.parentNode;t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex)}}),xe.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){xe.propFix[this.toLowerCase()]=this}),xe.fn.extend({addClass:function(e){var t,i,n,r,o,s,a,l=0;if(ye(e))return this.each(function(t){xe(this).addClass(e.call(this,t,J(this)))});if((t=Z(e)).length)for(;i=this[l++];)if(r=J(i),n=1===i.nodeType&&" "+G(r)+" "){for(s=0;o=t[s++];)n.indexOf(" "+o+" ")<0&&(n+=o+" ");r!==(a=G(n))&&i.setAttribute("class",a)}return this},removeClass:function(e){var t,i,n,r,o,s,a,l=0;if(ye(e))return this.each(function(t){xe(this).removeClass(e.call(this,t,J(this)))});if(!arguments.length)return this.attr("class","");if((t=Z(e)).length)for(;i=this[l++];)if(r=J(i),n=1===i.nodeType&&" "+G(r)+" "){for(s=0;o=t[s++];)for(;n.indexOf(" "+o+" ")>-1;)n=n.replace(" "+o+" "," ");r!==(a=G(n))&&i.setAttribute("class",a)}return this},toggleClass:function(e,t){var i=typeof e,n="string"===i||Array.isArray(e);return"boolean"==typeof t&&n?t?this.addClass(e):this.removeClass(e):ye(e)?this.each(function(i){xe(this).toggleClass(e.call(this,i,J(this),t),t)}):this.each(function(){var t,r,o,s;if(n)for(r=0,o=xe(this),s=Z(e);t=s[r++];)o.hasClass(t)?o.removeClass(t):o.addClass(t);else void 0!==e&&"boolean"!==i||((t=J(this))&&qe.set(this,"__className__",t),this.setAttribute&&this.setAttribute("class",t||!1===e?"":qe.get(this,"__className__")||""))})},hasClass:function(e){var t,i,n=0;for(t=" "+e+" ";i=this[n++];
vendor: 12,162 bytes, line 10
10)if(1===i.nodeType&&(" "+G(J(i))+" ").indexOf(t)>-1)return!0;return!1}});var St=/\r/g;xe.fn.extend({val:function(e){var t,i,n,r=this[0];return arguments.length?(n=ye(e),this.each(function(i){var r;1===this.nodeType&&(null==(r=n?e.call(this,i,xe(this).val()):e)?r="":"number"==typeof r?r+="":Array.isArray(r)&&(r=xe.map(r,function(e){return null==e?"":e+""})),(t=xe.valHooks[this.type]||xe.valHooks[this.nodeName.toLowerCase()])&&"set"in t&&void 0!==t.set(this,r,"value")||(this.value=r))})):r?(t=xe.valHooks[r.type]||xe.valHooks[r.nodeName.toLowerCase()])&&"get"in t&&void 0!==(i=t.get(r,"value"))?i:"string"==typeof(i=r.value)?i.replace(St,""):null==i?"":i:void 0}}),xe.extend({valHooks:{option:{get:function(e){var t=xe.find.attr(e,"value");return null!=t?t:G(xe.text(e))}},select:{get:function(e){var t,i,n,r=e.options,s=e.selectedIndex,a="select-one"===e.type,l=a?null:[],u=a?s+1:r.length;for(n=s<0?u:a?s:0;n<u;n++)if(((i=r[n]).selected||n===s)&&!i.disabled&&(!i.parentNode.disabled||!o(i.parentNode,"optgroup"))){if(t=xe(i).val(),a)return t;l.push(t)}return l},set:function(e,t){for(var i,n,r=e.options,o=xe.makeArray(t),s=r.length;s--;)((n=r[s]).selected=xe.inArray(xe.valHooks.option.get(n),o)>-1)&&(i=!0);return i||(e.selectedIndex=-1),o}}}}),xe.each(["radio","checkbox"],function(){xe.valHooks[this]={set:function(e,t){if(Array.isArray(t))return e.checked=xe.inArray(xe(e).val(),t)>-1}},ve.checkOn||(xe.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})}),ve.focusin="onfocusin"in e;var Tt=/^(?:focusinfocus|focusoutblur)$/,kt=function(e){e.stopPropagation()};xe.extend(xe.event,{trigger:function(t,i,n,r){var o,s,a,l,u,c,d,f,h=[n||se],p=pe.call(t,"type")?t.type:t,m=pe.call(t,"namespace")?t.namespace.split("."):[];if(s=f=a=n=n||se,3!==n.nodeType&&8!==n.nodeType&&!Tt.test(p+xe.event.triggered)&&(p.indexOf(".")>-1&&(p=(m=p.split(".")).shift(),m.sort()),u=p.indexOf(":")<0&&"on"+p,t=t[xe.expando]?t:new xe.Event(p,"object"==typeof t&&t),t.isTrigger=r?2:3,t.namespace=m.join("."),t.rnamespace=t.namespace?new RegExp("(^|\\.)"+m.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,t.result=void 0,t.target||(t.target=n),i=null==i?[t]:xe.makeArray(i,[t]),d=xe.event.special[p]||{},r||!d.trigger||!1!==d.trigger.apply(n,i))){if(!r&&!d.noBubble&&!be(n)){for(l=d.delegateType||p,Tt.test(l+p)||(s=s.parentNode);s;s=s.parentNode)h.push(s),a=s;a===(n.ownerDocument||se)&&h.push(a.defaultView||a.parentWindow||e)}for(o=0;(s=h[o++])&&!t.isPropagationStopped();)f=s,t.type=o>1?l:d.bindType||p,(c=(qe.get(s,"events")||{})[t.type]&&qe.get(s,"handle"))&&c.apply(s,i),(c=u&&s[u])&&c.apply&&Fe(s)&&(t.result=c.apply(s,i),!1===t.result&&t.preventDefault());return t.type=p,r||t.isDefaultPrevented()||d._default&&!1!==d._default.apply(h.pop(),i)||!Fe(n)||u&&ye(n[p])&&!be(n)&&((a=n[u])&&(n[u]=null),xe.event.triggered=p,t.isPropagationStopped()&&f.addEventListener(p,kt),n[p](),t.isPropagationStopped()&&f.removeEventListener(p,kt),xe.event.triggered=void 0,a&&(n[u]=a)),t.result}},simulate:function(e,t,i){var n=xe.extend(new xe.Event,i,{type:e,isSimulated:!0});xe.event.trigger(n,null,t)}}),xe.fn.extend({trigger:function(e,t){return this.each(function(){xe.event.trigger(e,t,this)})},triggerHandler:function(e,t){var i=this[0];if(i)return xe.event.trigger(e,t,i,!0)}}),ve.focusin||xe.each({focus:"focusin",blur:"focusout"},function(e,t){var i=function(e){xe.event.simulate(t,e.target,xe.event.fix(e))};xe.event.special[t]={setup:function(){var n=this.ownerDocument||this,r=qe.access(n,t);r||n.addEventListener(e,i,!0),qe.access(n,t,(r||0)+1)},teardown:function(){var n=this.ownerDocument||this,r=qe.access(n,t)-1;r?qe.access(n,t,r):(n.removeEventListener(e,i,!0),qe.remove(n,t))}}});var At=e.location,It=Date.now(),Dt=/\?/;xe.parseXML=function(t){var i;if(!t||"string"!=typeof t)return null;try{i=(new e.DOMParser).parseFromString(t,"text/xml")}catch(e){i=void 0}return i&&!i.getElementsByTagName("parsererror").length||xe.error("Invalid XML: "+t),i};var Lt=/\[\]$/,zt=/\r?\n/g,Nt=/^(?:submit|button|image|reset|file)$/i,Pt=/^(?:input|select|textarea|keygen)/i;xe.param=function(e,t){var i,n=[],r=function(e,t){var i=ye(t)?t():t;n[n.length]=encodeURIComponent(e)+"="+encodeURIComponent(null==i?"":i)};if(Array.isArray(e)||e.jquery&&!xe.isPlainObject(e))xe.each(e,function(){r(this.name,this.value)});else for(i in e)K(i,e[i],t,r);return n.join("&")},xe.fn.extend({serialize:function(){return xe.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var e=xe.prop(this,"elements");return e?xe.makeArray(e):this}).filter(function(){var e=this.type;return this.name&&!xe(this).is(":disabled")&&Pt.test(this.nodeName)&&!Nt.test(e)&&(this.checked||!Xe.test(e))}).map(function(e,t){var i=xe(this).val();return null==i?null:Array.isArray(i)?xe.map(i,function(e){return{name:t.name,value:e.replace(zt,"\r\n")}}):{name:t.name,value:i.replace(zt,"\r\n")}}).get()}});var Mt=/%20/g,jt=/#.*$/,Ot=/([?&])_=[^&]*/,Ft=/^(.*?):[ \t]*([^\r\n]*)$/gm,qt=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,Bt=/^(?:GET|HEAD)$/,Ht=/^\/\//,Rt={},Wt={},Ut="*/".concat("*"),$t=se.createElement("a");$t.href=At.href,xe.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:At.href,type:"GET",isLocal:qt.test(At.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Ut,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":xe.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?ie(ie(e,xe.ajaxSettings),t):ie(xe.ajaxSettings,e)},ajaxPrefilter:ee(Rt),ajaxTransport:ee(Wt),ajax:function(t,i){function n(t,i,n,a){var u,f,h,w,x,_=i;c||(c=!0,l&&e.clearTimeout(l),r=void 0,s=a||"",C.readyState=t>0?4:0,u=t>=200&&t<300||304===t,n&&(w=ne(p,C,n)),w=re(p,w,C,u),u?(p.ifModified&&((x=C.getResponseHeader("Last-Modified"))&&(xe.lastModified[o]=x),(x=C.getResponseHeader("etag"))&&(xe.etag[o]=x)),204===t||"HEAD"===p.type?_="nocontent":304===t?_="notmodified":(_=w.state,f=w.data,u=!(h=w.error))):(h=_,!t&&_||(_="error",t<0&&(t=0))),C.status=t,C.statusText=(i||_)+"",u?v.resolveWith(m,[f,_,C]):v.rejectWith(m,[C,_,h]),C.statusCode(b),b=void 0,d&&g.trigger(u?"ajaxSuccess":"ajaxError",[C,p,u?f:h]),y.fireWith(m,[C,_]),d&&(g.trigger("ajaxComplete",[C,p]),--xe.active||xe.event.trigger("ajaxStop")))}"object"==typeof t&&(i=t,t=void 0),i=i||{};var r,o,s,a,l,u,c,d,f,h,p=xe.ajaxSetup({},i),m=p.context||p,g=p.context&&(m.nodeType||m.jquery)?xe(m):xe.event,v=xe.Deferred(),y=xe.Callbacks("once memory"),b=p.statusCode||{},w={},x={},_="canceled",C={readyState:0,getResponseHeader:function(e){var t;if(c){if(!a)for(a={};t=Ft.exec(s);)a[t[1].toLowerCase()]=t[2];t=a[e.toLowerCase()]}return null==t?null:t},getAllResponseHeaders:function(){return c?s:null},setRequestHeader:function(e,t){return null==c&&(e=x[e.toLowerCase()]=x[e.toLowerCase()]||e,w[e]=t),this},overrideMimeType:function(e){return null==c&&(p.mimeType=e),this},statusCode:function(e){var t;if(e)if(c)C.always(e[C.status]);else for(t in e)b[t]=[b[t],e[t]];return this},abort:function(e){var t=e||_;return r&&r.abort(t),n(0,t),this}};if(v.promise(C),p.url=((t||p.url||At.href)+"").replace(Ht,At.protocol+"//"),p.type=i.method||i.type||p.method||p.type,p.dataTypes=(p.dataType||"*").toLowerCase().match(ze)||[""],null==p.crossDomain){u=se.createElement("a");try{u.href=p.url,u.href=u.href,p.crossDomain=$t.protocol+"//"+$t.host!=u.protocol+"//"+u.host}catch(e){p.crossDomain=!0}}if(p.data&&p.processData&&"string"!=typeof p.data&&(p.data=xe.param(p.data,p.traditional)),te(Rt,p,i,C),c)return C;(d=xe.event&&p.global)&&0==xe.active++&&xe.event.trigger("ajaxStart"),p.type=p.type.toUpperCase(),p.hasContent=!Bt.test(p.type),o=p.url.replace(jt,""),p.hasContent?p.data&&p.processData&&0===(p.contentType||"").indexOf("application/x-www-form-urlencoded")&&(p.data=p.data.replace(Mt,"+")):(h=p.url.slice(o.length),p.data&&(p.processData||"string"==typeof p.data)&&(o+=(Dt.test(o)?"&":"?")+p.data,delete p.data),!1===p.cache&&(o=o.replace(Ot,"$1"),h=(Dt.test(o)?"&":"?")+"_="+It++ +h),p.url=o+h),p.ifModified&&(xe.lastModified[o]&&C.setRequestHeader("If-Modified-Since",xe.lastModified[o]),xe.etag[o]&&C.setRequestHeader("If-None-Match",xe.etag[o])),(p.data&&p.hasContent&&!1!==p.contentType||i.contentType)&&C.setRequestHeader("Content-Type",p.contentType),C.setRequestHeader("Accept",p.dataTypes[0]&&p.accepts[p.dataTypes[0]]?p.accepts[p.dataTypes[0]]+("*"!==p.dataTypes[0]?", "+Ut+"; q=0.01":""):p.accepts["*"]);for(f in p.headers)C.setRequestHeader(f,p.headers[f]);if(p.beforeSend&&(!1===p.beforeSend.call(m,C,p)||c))return C.abort();if(_="abort",y.add(p.complete),C.done(p.success),C.fail(p.error),r=te(Wt,p,i,C)){if(C.readyState=1,d&&g.trigger("ajaxSend",[C,p]),c)return C;p.async&&p.timeout>0&&(l=e.setTimeout(function(){C.abort("timeout")},p.timeout));try{c=!1,r.send(w,n)}catch(e){if(c)throw e;n(-1,e)}}else n(-1,"No Transport");return C},getJSON:function(e,t,i){return xe.get(e,t,i,"json")},getScript:function(e,t){return xe.get(e,void 0,t,"script")}}),xe.each(["get","post"],function(e,t){xe[t]=function(e,i,n,r){return ye(i)&&(r=r||n,n=i,i=void 0),xe.ajax(xe.extend({url:e,type:t,dataType:r,data:i,success:n},xe.isPlainObject(e)&&e))}}),xe._evalUrl=function(e){return xe.ajax({url:e,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,throws:!0})},xe.fn.extend({wrapAll:function(e){var t;return this[0]&&(ye(e)&&(e=e.call(this[0])),t=xe(e,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&t.insertBefore(this[0]),t.map(function(){for(var e=this;e.firstElementChild;)e=e.firstElementChild;return e}).append(this)),this},wrapInner:function(e){return ye(e)?this.each(function(t){xe(this).wrapInner(e.call(this,t))}):this.each(function(){var t=xe(this),i=t.contents();i.length?i.wrapAll(e):t.append(e)})},wrap:function(e){var t=ye(e);return this.each(function(i){xe(this).wrapAll(t?e.call(this,i):e)})},unwrap:function(e){return this.parent(e).not("body").each(function(){xe(this).replaceWith(this.childNodes)}),this}}),xe.expr.pseudos.hidden=function(e){return!xe.expr.pseudos.visible(e)},xe.expr.pseudos.visible=function(e){return!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)},xe.ajaxSettings.xhr=function(){try{return new e.XMLHttpRequest}catch(e){}};var Vt={0:200,1223:204},Qt=xe.ajaxSettings.xhr();ve.cors=!!Qt&&"withCredentials"in Qt,ve.ajax=Qt=!!Qt,xe.ajaxTransport(function(t){var i,n;if(ve.cors||Qt&&!t.crossDomain)return{send:function(r,o){var s,a=t.xhr();if(a.open(t.type,t.url,t.async,t.username,t.password),t.xhrFields)for(s in t.xhrFields)a[s]=t.xhrFields[s];t.mimeType&&a.overrideMimeType&&a.overrideMimeType(t.mimeType),t.crossDomain||r["X-Requested-With"]||(r["X-Requested-With"]="XMLHttpRequest");for(s in r)a.setRequestHeader(s,r[s]);i=function(e){return function(){i&&(i=n=a.onload=a.onerror=a.onabort=a.ontimeout=a.onreadystatechange=null,"abort"===e?a.abort():"error"===e?"number"!=typeof a.status?o(0,"error"):o(a.status,a.statusText):o(Vt[a.status]||a.status,a.statusText,"text"!==(a.responseType||"text")||"string"!=typeof a.responseText?{binary:a.response}:{text:a.responseText},a.getAllResponseHeaders()))}},a.onload=i(),n=a.onerror=a.ontimeout=i("error"),void 0!==a.onabort?a.onabort=n:a.onreadystatechange=function(){4===a.readyState&&e.setTimeout(function(){i&&n()})},i=i("abort");try{a.send(t.hasContent&&t.data||null)}catch(e){if(i)throw e}},abort:function(){i&&i()}}}),xe.ajaxPrefilter(function(e){e.crossDomain&&(e.contents.script=!1)}),xe.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(e){return xe.globalEval(e),e}}}),xe.ajaxPrefilter("script",function(e){void 0===e.cache&&(e.cache=!1),e.crossDomain&&(e.type="GET")}),xe.ajaxTransport("script",function(e){if(e.crossDomain){var t,i;return{send:function(n,r){t=xe("<script>
10").prop({charset:e.scriptCharset,src:e.url}).on("load error",i=function(e){t.remove(),i=null,e&&r("error"===e.type?404:200,e.type)}),se.head.appendChild(t[0])},abort:function(){i&&i()}}}});var Yt=[],Xt=/(=)\?(?=&|$)|\?\?/;xe.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=Yt.pop()||xe.expando+"_"+It++;return this[e]=!0,e}}),xe.ajaxPrefilter("json jsonp",function(t,i,n){var r,o,s,a=!1!==t.jsonp&&(Xt.test(t.url)?"url":"string"==typeof t.data&&0===(t.contentType||"").indexOf("application/x-www-form-urlencoded")&&Xt.test(t.data)&&"data");if(a||"jsonp"===t.dataTypes[0])return r=t.jsonpCallback=ye(t.jsonpCallback)?t.jsonpCallback():t.jsonpCallback,a?t[a]=t[a].replace(Xt,"$1"+r):!1!==t.jsonp&&(t.url+=(Dt.test(t.url)?"&":"?")+t.jsonp+"="+r),t.converters["script json"]=function(){return s||xe.error(r+" was not called"),s[0]},t.dataTypes[0]="json",o=e[r],e[r]=function(){s=arguments},n.always(function(){void 0===o?xe(e).removeProp(r):e[r]=o,t[r]&&(t.jsonpCallback=i.jsonpCallback,Yt.push(r)),s&&ye(o)&&o(s[0]),s=o=void 0}),"script"}),ve.createHTMLDocument=function(){var e=se.implementation.createHTMLDocument("").body;return e.innerHTML="<form></form><form></form>",2===e.childNodes.length}(),xe.parseHTML=function(e,t,i){if("string"!=typeof e)return[];"boolean"==typeof t&&(i=t,t=!1);var n,r,o;return t||(ve.createHTMLDocument?((n=(t=se.implementation.createHTMLDocument("")).createElement("base")).href=se.location.href,t.head.appendChild(n)):t=se),r=ke.exec(e),o=!i&&[],r?[t.createElement(r[1])]:(r=C([e],t,o),o&&o.length&&xe(o).remove(),xe.merge([],r.childNodes))},xe.fn.load=function(e,t,i){var n,r,o,s=this,a=e.indexOf(" ");return a>-1&&(n=G(e.slice(a)),e=e.slice(0,a)),ye(t)?(i=t,t=void 0):t&&"object"==typeof t&&(r="POST"),s.length>0&&xe.ajax({url:e,type:r||"GET",dataType:"html",data:t}).done(function(e){o=arguments,s.html(n?xe("<div>").append(xe.parseHTML(e)).find(n):e)}).always(i&&function(e,t){s.each(function(){i.apply(this,o||[e.responseText,t,e])})}),this},xe.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){xe.fn[t]=function(e){return this.on(t,e)}}),xe.expr.pseudos.animated=function(e){return xe.grep(xe.timers,function(t){return e===t.elem}).length},xe.offset={setOffset:function(e,t,i){var n,r,o,s,a,l,u,c=xe.css(e,"position"),d=xe(e),f={};"static"===c&&(e.style.position="relative"),a=d.offset(),o=xe.css(e,"top"),l=xe.css(e,"left"),(u=("absolute"===c||"fixed"===c)&&(o+l).indexOf("auto")>-1)?(s=(n=d.position()).top,r=n.left):(s=parseFloat(o)||0,r=parseFloat(l)||0),ye(t)&&(t=t.call(e,i,xe.extend({},a))),null!=t.top&&(f.top=t.top-a.top+s),null!=t.left&&(f.left=t.left-a.left+r),"using"in t?t.using.call(e,f):d.css(f)}},xe.fn.extend({offset:function(e){if(arguments.length)return void 0===e?this:this.each(function(t){xe.offset.setOffset(this,e,t)});var t,i,n=this[0];return n?n.getClientRects().length?(t=n.getBoundingClientRect(),i=n.ownerDocument.defaultView,{top:t.top+i.pageYOffset,left:t.left+i.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var e,t,i,n=this[0],r={top:0,left:0};if("fixed"===xe.css(n,"position"))t=n.getBoundingClientRect();else{for(t=this.offset(),i=n.ownerDocument,e=n.offsetParent||i.documentElement;e&&(e===i.body||e===i.documentElement)&&"static"===xe.css(e,"position");)e=e.parentNode;e&&e!==n&&1===e.nodeType&&((r=xe(e).offset()).top+=xe.css(e,"borderTopWidth",!0),r.left+=xe.css(e,"borderLeftWidth",!0))}return{top:t.top-r.top-xe.css(n,"marginTop",!0),left:t.left-r.left-xe.css(n,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var e=this.offsetParent;e&&"static"===xe.css(e,"position");)e=e.offsetParent;return e||et})}}),xe.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(e,t){var i="pageYOffset"===t;xe.fn[e]=function(n){return Me(this,function(e,n,r){var o;return be(e)?o=e:9===e.nodeType&&(o=e.defaultView),void 0===r?o?o[t]:e[n]:void(o?o.scrollTo(i?o.pageXOffset:r,i?r:o.pageYOffset):e[n]=r)},e,n,arguments.length)}}),xe.each(["top","left"],function(e,t){xe.cssHooks[t]=j(ve.pixelPosition,function(e,i){if(i)return i=M(e,t),lt.test(i)?xe(e).position()[t]+"px":i})}),xe.each({Height:"height",Width:"width"},function(e,t){xe.each({padding:"inner"+e,content:t,"":"outer"+e},function(i,n){xe.fn[n]=function(r,o){var s=arguments.length&&(i||"boolean"!=typeof r),a=i||(!0===r||!0===o?"margin":"border");return Me(this,function(t,i,r){var o;return be(t)?0===n.indexOf("outer")?t["inner"+e]:t.document.documentElement["client"+e]:9===t.nodeType?(o=t.documentElement,Math.max(t.body["scroll"+e],o["scroll"+e],t.body["offset"+e],o["offset"+e],o["client"+e])):void 0===r?xe.css(t,i,a):xe.style(t,i,r,a)},t,s?r:void 0,s)}})}),xe.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(e,t){xe.fn[t]=function(e,i){return arguments.length>0?this.on(t,null,e,i):this.trigger(t)}}),xe.fn.extend({hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)}}),xe.fn.extend({bind:function(e,t,i){return this.on(e,null,t,i)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,i,n){return this.on(t,e,i,n)},undelegate:function(e,t,i){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",i)}}),xe.proxy=function(e,t){var i,n,r;if("string"==typeof t&&(i=e[t],t=e,e=i),ye(e))return n=le.call(arguments,2),r=function(){return e.apply(t||this,n.concat(le.call(arguments)))},r.guid=e.guid=e.guid||xe.guid++,r},xe.holdReady=function(e){e?xe.readyWait++:xe.ready(!0)},xe.isArray=Array.isArray,xe.parseJSON=JSON.parse,xe.nodeName=o,xe.isFunction=ye,xe.isWindow=be,xe.camelCase=p,xe.type=n,xe.now=Date.now,xe.isNumeric=function(e){var t=xe.type(e);return("number"===t||"string"===t)&&!isNaN(e-parseFloat(e))},"function"==typeof define&&define.amd&&define("jquery",[],function(){return xe});var Gt=e.jQuery,Jt=e.$;return xe.noConflict=function(t){return e.$===xe&&(e.$=Jt),t&&e.jQuery===xe&&(e.jQuery=Gt),xe},t||(e.jQuery=e.$=xe),xe});var jq223=jQuery.noConflict(!0),$=jq223;!function(e){var t=window.jQuery=e;t.event.special.touchstart={setup:function(e,t,i){this.addEventListener("touchstart",i,{passive:!0})}},/*! 11 * detect-element-resize.js 12 */ 13function(){function e(e){var t=e.__resizeTriggers__,i=t.firstElementChild,n=t.lastElementChild,r=i.firstElementChild;n.scrollLeft=n.scrollWidth,n.scrollTop=n.scrollHeight,r.style.width=i.offsetWidth+1+"px",r.style.height=i.offsetHeight+1+"px",i.scrollLeft=i.scrollWidth,i.scrollTop=i.scrollHeight}function t(e){return e.offsetWidth!=e.__resizeLast__.width||e.offsetHeight!=e.__resizeLast__.height}function i(i){var n=this;e(this),this.__resizeRAF__&&a(this.__resizeRAF__),this.__resizeRAF__=s(function(){t(n)&&(n.__resizeLast__.width=n.offsetWidth,n.__resizeLast__.height=n.offsetHeight,n.__resizeListeners__.forEach(function(e){e.call(n,i)}))})}function n(){if(!o){var e=(y?y:"")+".resize-triggers { "+(b?b:"")+'visibility: hidden; opacity: 0; } .resize-triggers, .resize-triggers > div, .contract-trigger:before { content: " "; display: block; position: absolute; top: 0; left: 0; height: 100%; width: 100%; overflow: hidden; } .resize-triggers > div { background: #eee; overflow: auto; } .contract-trigger:before { width: 200%; height: 200%; }',t=document.head||document.getElementsByTagName("head")[0],i=document.createElement("style");i.type="text/css",i.styleSheet?i.styleSheet.cssText=e:i.appendChild(document.createTextNode(e)),t.appendChild(i),o=!0}}var r=document.attachEvent,o=!1;if(!r){var s=function(){var e=window.requestAnimationFrame||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame||function(e){return window.setTimeout(e,20)};return function(t){return e(t)}}(),a=function(){var e=window.cancelAnimationFrame||window.mozCancelAnimationFrame||window.webkitCancelAnimationFrame||window.clearTimeout;return function(t){return e(t)}}(),l=!1,u="animation",c="",d="animationstart",f="Webkit Moz O ms".split(" "),h="webkitAnimationStart animationstart oAnimationStart MSAnimationStart".split(" "),p="",m=document.createElement("fakeelement");
13if(void 0!==m.style.animationName&&(l=!0),l===!1)for(var g=0;g<f.length;g++)if(void 0!==m.style[f[g]+"AnimationName"]){p=f[g],u=p+"Animation",c="-"+p.toLowerCase()+"-",d=h[g],l=!0;break}var v="resizeanim",y="@"+c+"keyframes "+v+" { from { opacity: 0; } to { opacity: 0; } } ",b=c+"animation: 1ms "+v+"; "}window.addResizeListener=function(t,o){r?t.attachEvent("onresize",o):(t.__resizeTriggers__||("static"==getComputedStyle(t).position&&(t.style.position="relative"),n(),t.__resizeLast__={},t.__resizeListeners__=[],(t.__resizeTriggers__=document.createElement("div")).className="resize-triggers",t.__resizeTriggers__.innerHTML='<div class="expand-trigger"><div></div></div><div class="contract-trigger"></div>',t.appendChild(t.__resizeTriggers__),e(t),t.addEventListener("scroll",i,!0),d&&t.__resizeTriggers__.addEventListener(d,function(i){i.animationName==v&&e(t)})),t.__resizeListeners__.push(o))},window.removeResizeListener=function(e,t){r?e.detachEvent("onresize",t):(e.__resizeListeners__.splice(e.__resizeListeners__.indexOf(t),1),e.__resizeListeners__.length||(e.removeEventListener("scroll",i),e.__resizeTriggers__=!e.removeChild(e.__resizeTriggers__)))}}(),function(e){function i(e){var t=e.__resizeTriggers__,i=t.firstElementChild,n=t.lastElementChild,r=i.firstElementChild;n.scrollLeft=n.scrollWidth,n.scrollTop=n.scrollHeight,r.style.width=i.offsetWidth+1+"px",r.style.height=i.offsetHeight+1+"px",i.scrollLeft=i.scrollWidth,i.scrollTop=i.scrollHeight}function n(e){return e.offsetWidth!=e.__resizeLast__.width||e.offsetHeight!=e.__resizeLast__.height}function r(e){var t=this;i(this),this.__resizeRAF__&&c(this.__resizeRAF__),this.__resizeRAF__=u(function(){n(t)&&(t.__resizeLast__.width=t.offsetWidth,t.__resizeLast__.height=t.offsetHeight,t.__resizeListeners__.forEach(function(i){i.call(t,e)}))})}function o(){if(!a){var e=(x?x:"")+".resize-triggers { "+(_?_:"")+'visibility: hidden; opacity: 0; } .resize-triggers, .resize-triggers > div, .contract-trigger:before { content: " "; display: block; position: absolute; top: 0; left: 0; height: 100%; width: 100%; overflow: hidden; } .resize-triggers > div { background: #eee; overflow: auto; } .contract-trigger:before { width: 200%; height: 200%; }',t=document.head||document.getElementsByTagName("head")[0],i=document.createElement("style");i.type="text/css",i.styleSheet?i.styleSheet.cssText=e:i.appendChild(document.createTextNode(e)),t.appendChild(i),a=!0}}var s=document.attachEvent,a=!1,l=e.fn.resize;if(e.fn.resize=function(e){return this.each(function(){this==window?l.call(t(this),e):addResizeListener(this,e)})},e.fn.removeResize=function(e){return this.each(function(){removeResizeListener(this,e)})},!s){var u=function(){var e=window.requestAnimationFrame||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame||function(e){return window.setTimeout(e,20)};return function(t){return e(t)}}(),c=function(){var e=window.cancelAnimationFrame||window.mozCancelAnimationFrame||window.webkitCancelAnimationFrame||window.clearTimeout;return function(t){return e(t)}}(),d=!1,f="animation",h="",p="animationstart",m="Webkit Moz O ms".split(" "),g="webkitAnimationStart animationstart oAnimationStart MSAnimationStart".split(" "),v="",y=document.createElement("fakeelement");if(void 0!==y.style.animationName&&(d=!0),d===!1)for(var b=0;b<m.length;b++)if(void 0!==y.style[m[b]+"AnimationName"]){v=m[b],f=v+"Animation",h="-"+v.toLowerCase()+"-",p=g[b],d=!0;break}var w="resizeanim",x="@"+h+"keyframes "+w+" { from { opacity: 0; } to { opacity: 0; } } ",_=h+"animation: 1ms "+w+"; "}window.addResizeListener=function(e,t){s?e.attachEvent("onresize",t):(e.__resizeTriggers__||("static"==getComputedStyle(e).position&&(e.style.position="relative"),o(),e.__resizeLast__={},e.__resizeListeners__=[],(e.__resizeTriggers__=document.createElement("div")).className="resize-triggers",e.__resizeTriggers__.innerHTML='<div class="expand-trigger"><div></div></div><div class="contract-trigger"></div>',e.appendChild(e.__resizeTriggers__),i(e),e.addEventListener("scroll",r,!0),p&&e.__resizeTriggers__.addEventListener(p,function(t){t.animationName==w&&i(e)})),e.__resizeListeners__.push(t))},window.removeResizeListener=function(e,t){s?e.detachEvent("onresize",t):(e.__resizeListeners__.splice(e.__resizeListeners__.indexOf(t),1),e.__resizeListeners__.length||(e.removeEventListener("scroll",r),e.__resizeTriggers__=!e.removeChild(e.__resizeTriggers__)))}}(t);/*! 14 * fixto.js 15 * https://github.com/bbarakaci/fixto 16 */ 17/*! fixto - v0.5.0 - 2016-06-16 18 * http://github.com/bbarakaci/fixto/*/ 19(function(e,t,i){function n(){this._vendor=null}function r(){var e=!1,t=i.createElement("div"),n=i.createElement("div");t.appendChild(n),t.style[h]="translate(0)",t.style.marginTop="10px",t.style.visibility="hidden",n.style.position="fixed",n.style.top=0,i.body.appendChild(t);var r=n.getBoundingClientRect();return r.top>0&&(e=!0),i.body.removeChild(t),e}function o(){var e=navigator.userAgent.match(/Chrom(e|ium)\/([0-9]+)\./);return!!e&&parseInt(e[2],10)}function s(t,i,n){this.child=t,this._$child=e(t),this.parent=i,this.options={className:"fixto-fixed",top:0,mindViewport:!1},this._setOptions(n)}function a(e,t,i){s.call(this,e,t,i),this._replacer=new c.MimicNode(e),this._ghostNode=this._replacer.replacer,this._saveStyles(),this._saveViewportHe
19ight(),this._proxied_onscroll=this._bind(this._onscroll,this),this._proxied_onresize=this._bind(this._onresize,this),this.start()}function l(e,t,i){s.call(this,e,t,i),this.start()}/*! Computed Style - v0.1.0 - 2012-07-19 20 * https://github.com/bbarakaci/computed-style 21 * Copyright (c) 2012 Burak Barakaci; Licensed MIT */ 22var u=function(){var e={getAll:function(e){return i.defaultView.getComputedStyle(e)},get:function(e,t){return this.getAll(e)[t]},toFloat:function(e){return parseFloat(e,10)||0},getFloat:function(e,t){return this.toFloat(this.get(e,t))},_getAllCurrentStyle:function(e){return e.currentStyle}};return i.documentElement.currentStyle&&(e.getAll=e._getAllCurrentStyle),e}(),c=function(){function t(e){this.element=e,this.replacer=i.createElement("div"),this.replacer.style.visibility="hidden",this.hide(),e.parentNode.insertBefore(this.replacer,e)}t.prototype={replace:function(){var e=this.replacer.style,t=u.getAll(this.element);e.width=this._width(),e.height=this._height(),e.marginTop=t.marginTop,e.marginBottom=t.marginBottom,e.marginLeft=t.marginLeft,e.marginRight=t.marginRight,e.cssFloat=t.cssFloat,e.styleFloat=t.styleFloat,e.position=t.position,e.top=t.top,e.right=t.right,e.bottom=t.bottom,e.left=t.left,e.display=t.display},hide:function(){this.replacer.style.display="none"},_width:function(){return this.element.getBoundingClientRect().width+"px"},_widthOffset:function(){return this.element.offsetWidth+"px"},_height:function(){return this.element.getBoundingClientRect().height+"px"},_heightOffset:function(){return this.element.offsetHeight+"px"},destroy:function(){e(this.replacer).remove();for(var t in this)this.hasOwnProperty(t)&&(this[t]=null)}};var n=i.documentElement.getBoundingClientRect();return n.width||(t.prototype._width=t.prototype._widthOffset,t.prototype._height=t.prototype._heightOffset),{MimicNode:t,computedStyle:u}}();n.prototype={_vendors:{webkit:{cssPrefix:"-webkit-",jsPrefix:"Webkit"},moz:{cssPrefix:"-moz-",jsPrefix:"Moz"},ms:{cssPrefix:"-ms-",jsPrefix:"ms"},opera:{cssPrefix:"-o-",jsPrefix:"O"}},_prefixJsProperty:function(e,t){return e.jsPrefix+t[0].toUpperCase()+t.substr(1)},_prefixValue:function(e,t){return e.cssPrefix+t},_valueSupported:function(e,t,i){try{return i.style[e]=t,i.style[e]===t}catch(e){return!1}},propertySupported:function(e){return void 0!==i.documentElement.style[e]},getJsProperty:function(e){if(this.propertySupported(e))return e;if(this._vendor)return this._prefixJsProperty(this._vendor,e);var t;for(var i in this._vendors)if(t=this._prefixJsProperty(this._vendors[i],e),this.propertySupported(t))return this._vendor=this._vendors[i],t;return null},getCssValue:function(e,t){var n=i.createElement("div"),r=this.getJsProperty(e);if(this._valueSupported(r,t,n))return t;var o;if(this._vendor&&(o=this._prefixValue(this._vendor,t),this._valueSupported(r,o,n)))return o;for(var s in this._vendors)if(o=this._prefixValue(this._vendors[s],t),this._valueSupported(r,o,n))return this._vendor=this._vendors[s],o;return null}};var d,f=new n,h=f.getJsProperty("transform"),p=f.getCssValue("position","sticky");"56"==o()&&(p=null);var m,g=f.getCssValue("position","fixed"),v="Microsoft Internet Explorer"===navigator.appName;v&&(m=parseFloat(navigator.appVersion.split("MSIE")[1])),s.prototype={_mindtop:function(){var e=0;if(this._$mind)for(var t,i,n=0,r=this._$mind.length;n<r;n++)if(t=this._$mind[n],i=t.getBoundingClientRect(),i.height)e+=i.height;else{var o=u.getAll(t);e+=t.offsetHeight+u.toFloat(o.marginTop)+u.toFloat(o.marginBottom)}return e},stop:function(){this._stop(),this._running=!1},start:function(){this._running||(this._start(),this._running=!0)},destroy:function(){this.stop(),this._destroy(),this._$child.removeData("fixto-instance");for(var e in this)this.hasOwnProperty(e)&&(this[e]=null)},_setOptions:function(t){e.extend(this.options,t),this.options.mind&&(this._$mind=e(this.options.mind)),this.options.zIndex&&(this.child.style.zIndex=this.options.zIndex)},setOptions:function(e){this._setOptions(e),this.refresh()},_stop:function(){},_start:function(){},_destroy:function(){},refresh:function(){}},a.prototype=new s,e.extend(a.prototype,{_bind:function(e,t){return function(){return e.call(t)}},_toresize:8===m?i.documentElement:t,_onscroll:function(){if(this._scrollTop=i.documentElement.scrollTop||i.body.scrollTop,this._parentBottom=this.parent.offsetHeight+this._fullOffset("offsetTop",this.parent),this.options.mindBottomPadding!==!1&&(this._parentBottom-=u.getFloat(this.parent,"paddingBottom")),!this.fixed&&this._shouldFix())this._fix(),this._adjust();else{if(this._scrollTop>this._parentBottom||this._scrollTop<this._fullOffset("offsetTop",this._ghostNode)-this.options.top-this._mindtop())return void this._unfix();this._adjust()}},_shouldFix:function(){if(this._scrollTop<this._parentBottom&&this._scrollTop>this._fullOffset("offsetTop",this.child)-this.options.top-this._mindtop())return!(this.options.mindViewport&&!this._isViewportAvailable())},_isViewportAvailable:function(){var e=u.getAll(this.child);
22return this._viewportHeight>this.child.offsetHeight+u.toFloat(e.marginTop)+u.toFloat(e.marginBottom)},_adjust:function(){var e=0,t=this._mindtop(),i=0,n=u.getAll(this.child),r=null;d&&(r=this._getContext(),r&&(e=Math.abs(r.getBoundingClientRect().top))),i=this._parentBottom-this._scrollTop-(this.child.offsetHeight+u.toFloat(n.marginBottom)+t+this.options.top),i>0&&(i=0),this.child.style.top=i+t+e+this.options.top-u.toFloat(n.marginTop)+"px"},_fullOffset:function(e,t,i){for(var n=t[e],r=t.offsetParent;null!==r&&r!==i;)n+=r[e],r=r.offsetParent;return n},_getContext:function(){for(var e,t,n=this.child,r=null;!r;){if(e=n.parentNode,e===i.documentElement)return null;if(t=u.getAll(e),"none"!==t[h]){r=e;break}n=e}return r},_fix:function(){var e=this.child,t=e.style,n=u.getAll(e),r=e.getBoundingClientRect().left,o=n.width;if(this._saveStyles(),i.documentElement.currentStyle&&(o=e.offsetWidth-(u.toFloat(n.paddingLeft)+u.toFloat(n.paddingRight)+u.toFloat(n.borderLeftWidth)+u.toFloat(n.borderRightWidth))+"px"),d){var s=this._getContext();s&&(r=e.getBoundingClientRect().left-s.getBoundingClientRect().left)}this._replacer.replace(),t.left=r-u.toFloat(n.marginLeft)+"px",t.width=o,t.position="fixed",t.top=this._mindtop()+this.options.top-u.toFloat(n.marginTop)+"px",this._$child.addClass(this.options.className),this.fixed=!0},_unfix:function(){var e=this.child.style;this._replacer.hide(),e.position=this._childOriginalPosition,e.top=this._childOriginalTop,e.width=this._childOriginalWidth,e.left=this._childOriginalLeft,this._$child.removeClass(this.options.className),this.fixed=!1},_saveStyles:function(){var e=this.child.style;this._childOriginalPosition=e.position,this._childOriginalTop=e.top,this._childOriginalWidth=e.width,this._childOriginalLeft=e.left},_onresize:function(){this.refresh()}
22,_saveViewportHeight:function(){this._viewportHeight=t.innerHeight||i.documentElement.clientHeight},_stop:function(){this._unfix(),e(t).unbind("scroll",this._proxied_onscroll),e(this._toresize).unbind("resize",this._proxied_onresize)},_start:function(){this._onscroll(),e(t).bind("scroll",this._proxied_onscroll),e(this._toresize).bind("resize",this._proxied_onresize)},_destroy:function(){this._replacer.destroy()},refresh:function(){this._saveViewportHeight(),this._unfix(),this._onscroll()}}),l.prototype=new s,e.extend(l.prototype,{_start:function(){var e=u.getAll(this.child);this._childOriginalPosition=e.position,this._childOriginalTop=e.top,this.child.style.position=p,this.refresh()},_stop:function(){this.child.style.position=this._childOriginalPosition,this.child.style.top=this._childOriginalTop},refresh:function(){this.child.style.top=this._mindtop()+this.options.top+"px"}});var y=function(e,t,i){return p&&!i||p&&i&&i.useNativeSticky!==!1?new l(e,t,i):g?(void 0===d&&(d=r()),new a(e,t,i)):"Neither fixed nor sticky positioning supported"};return m<8&&(y=function(){return"not supported"}),e.fn.fixTo=function(t,i){var n=e(t),r=0;return this.each(function(){var o=e(this).data("fixto-instance");if(o){var s=t;o[s].call(o,i)}else e(this).data("fixto-instance",y(this,n[r],i));r++})},{FixToContainer:a,fixTo:y,computedStyle:u,mimicNode:c}})(window.jQuery,window,document);/*! 23 * jquery.scrollIntoView.js 24 * https://github.com/Arwid/jQuery.scrollIntoView/ 25 */ 26/*! 27 * $.fn.scrollIntoView - similar to the default browser scrollIntoView 28 * The default browser behavior always places the element at the top or bottom of its container. 29 * This override is smart enough to not scroll if the element is already visible. 30 * 31 * Copyright 2011 Arwid Bancewicz 32 * Licensed under the MIT license 33 * http://www.opensource.org/licenses/mit-license.php 34 * 35 * @date 8 Jan 2013 36 * @author Arwid Bancewicz http://arwid.ca 37 * @version 0.3 38 */ 39!function(e){e.fn.scrollIntoView=function(t,i,n){function r(t,i){void 0===i?e.isFunction(o.complete)&&o.complete.call(t):o.smooth?e(t).stop().animate({scrollTop:i},o):(t.scrollTop=i,e.isFunction(o.complete)&&o.complete.call(t))}var o=e.extend({},e.fn.scrollIntoView.defaults);"object"==e.type(t)?e.extend(o,t):"number"==e.type(t)?e.extend(o,{duration:t,easing:i,complete:n}):0==t&&(o.smooth=!1);var s=1/0,a=0;1==this.length?null==(s=this.get(0).offsetTop)||(a=s+this.get(0).offsetHeight):this.each(function(e,t){t.offsetTop<s?s=t.offsetTop:t.offsetTop+t.offsetHeight>a?a=t.offsetTop+t.offsetHeight:null}),a-=s;for(var l=this.commonAncestor().get(0),u=e(window).height();l;){var c=l.scrollTop,d=l.clientHeight;if(d>u&&(d=u),0==d&&"BODY"==l.tagName&&(d=u),l.scrollTop!=(null==(l.scrollTop+=1)||l.scrollTop)&&null!=(l.scrollTop-=1)||l.scrollTop!=(null==(l.scrollTop-=1)||l.scrollTop)&&null!=(l.scrollTop+=1))return void(s<=c?r(l,s):s+a>c+d?r(l,s+a-d):r(l,void 0));l=l.parentNode}return this},e.fn.scrollIntoView.defaults={smooth:!0,duration:null,easing:e.easing&&e.easing.easeOutExpo?"easeOutExpo":null,complete:e.noop(),step:null,specialEasing:{}},e.fn.isOutOfView=function(e){var t=!0;return this.each(function(){var i=this.parentNode,n=i.scrollTop,r=i.clientHeight,o=this.offsetTop,s=this.offsetHeight;(e?o>n+r:o+s>n+r)||(e?o+s<n:o<n)||(t=!1)}),t},e.fn.commonAncestor=function(){var t=[],i=1/0;e(this).each(function(){var n=e(this).parents();t.push(n),i=Math.min(i,n.length)});for(var n=0;n<t.length;n++)t[n]=t[n].slice(t[n].length-i);for(var n=0;n<t[0].length;n++){var r=!0;for(var o in t)if(t[o][n]!=t[0][n]){r=!1;break}if(r)return e(t[0][n])}return e([])}}(t),/*! 40 * youtubebackground.js 41 */ 42/* 43 * YoutubeBackground - A wrapper for the Youtube API - Great for fullscreen background videos or just regular videos. 44 * 45 * Licensed under the MIT license: 46 * http://www.opensource.org/licenses/mit-license.php 47 * 48 * 49 * Version: 1.0.5 50 * 51 */ 52"function"!=typeof Object.create&&(Object.create=function(e){function t(){}return t.prototype=e,new t}),function(e,t,i){var n=function(e){var t=i.createElement("script"),n=i.getElementsByTagName("head")[0];t.src="//www.youtube.com/iframe_api",n.appendChild(t),n=null,t=null,r(e)},r=function(i){"undefined"==typeof YT&&"undefined"==typeof t.loadingPlayer?(t.loadingPlayer=!0,t.dfd=e.Deferred(),t.onYouTubeIframeAPIReady=function(){theme.ProductVideo.loadVideos(theme.ProductVideo.hosts.youtube),t.onYouTubeIframeAPIReady=null,t.dfd.resolve("done"),i()}):"object"==typeof YT?i():t.dfd.done(function(e){i()})};YTPlayer={player:null,defaults:{ratio:16/9,videoId:"LSmgKRx5pBo",mute:!0,repeat:!0,width:e(t).width(),playButtonClass:"YTPlayer-play",pauseButtonClass:"YTPlayer-pause",muteButtonClass:"YTPlayer-mute",volumeUpClass:"YTPlayer-volume-up",volumeDownClass:"YTPlayer-volume-down",start:0,pauseOnScroll:!1,fitToBackgroun
52d:!0,playerVars:{iv_load_policy:3,modestbranding:1,autoplay:1,controls:0,showinfo:0,wmode:"opaque",branding:0,autohide:0},events:null},init:function(i,r){var o=this;return o.userOptions=r,o.$body=e("body"),o.$node=e(i),o.$window=e(t),o.defaults.events={onReady:function(e){o.onPlayerReady(e),o.options.pauseOnScroll&&o.pauseOnScroll(),"function"==typeof o.options.callback&&o.options.callback.call(this)},onStateChange:function(e){if(1===e.data){o.$node.find("img").fadeOut(400),o.$node.addClass("loaded");var t=o.player.getDuration()-o.player.getCurrentTime();this.rewindTO&&clearTimeout(this.rewindTO),this.rewindTO=setTimeout(function(){o.player.seekTo(0)},1e3*(t-.05))}else 0===e.data&&o.options.repeat&&o.player.seekTo(o.options.start)}},o.options=e.extend(!0,{},o.defaults,o.userOptions),o.options.height=Math.ceil(o.options.width/o.options.ratio),o.ID=(new Date).getTime(),o.holderID="YTPlayer-ID-"+o.ID,o.options.fitToBackground?o.createBackgroundVideo():o.createContainerVideo(),o.$window.on("resize.YTplayer"+o.ID,function(){o.resize(o)}),n(o.onYouTubeIframeAPIReady.bind(o)),o.resize(o),o},pauseOnScroll:function(){var e=this;e.$window.on("scroll.YTplayer"+e.ID,function(){var t=e.player.getPlayerState();1===t&&e.player.pauseVideo()}),e.$window.scrollStopped(function(){var t=e.player.getPlayerState();2===t&&e.player.playVideo()})},createContainerVideo:function(){var t=this,i=e('<div id="ytplayer-container'+t.ID+'" > <div id="'+t.holderID+'" class="ytplayer-player-inline"></div> </div> <div id="ytplayer-shield" class="ytplayer-shield"></div>');t.$node.append(i),t.$YTPlayerString=i,i=null},createBackgroundVideo:function(){var t=this,i=e('<div id="ytplayer-container'+t.ID+'" class="ytplayer-container background"> <div id="'+t.holderID+'" class="ytplayer-player"></div> </div> <div id="ytplayer-shield" class="ytplayer-shield"></div>');t.$node.append(i),t.$YTPlayerString=i,i=null},resize:function(t){var i=t.$node;t.options.fitToBackground||(i=t.$node);var n,r,o=i.width(),s=i.height(),a=e("#"+t.holderID);o/t.options.ratio<s?(n=Math.ceil(s*t.options.ratio),a.width(n).height(s).css({left:(o-n)/2,top:0,position:"absolute"})):(r=Math.ceil(o/t.options.ratio),a.width(o).height(r).css({left:0,top:(s-r)/2,position:"absolute"})),a=null,i=null},onYouTubeIframeAPIReady:function(){var e=this;e.player=new t.YT.Player(e.holderID,e.options)},onPlayerReady:function(e){this.options.mute&&e.target.mute(),e.target.playVideo()},getPlayer:function(){return this.player},destroy:function(){var i=this;i.$node.removeData("yt-init").removeData("ytPlayer").removeClass("loaded"),i.$YTPlayerString.remove(),e(t).off("resize.YTplayer"+i.ID),e(t).off("scroll.YTplayer"+i.ID),i.$body=null,i.$node=null,i.$YTPlayerString=null,i.player.destroy(),i.player=null}},e.fn.scrollStopped=function(t){var i=e(this),n=this;i.scroll(function(){i.data("scrollTimeout")&&clearTimeout(i.data("scrollTimeout")),i.data("scrollTimeout",setTimeout(t,250,n))})},e.fn.YTPlayer=function(t){return this.each(function(){var i=this;e(i).data("yt-init",!0);var n=Object.create(YTPlayer);n.init(i,t),e.data(i,"ytPlayer",n),e(i).data("ytPlayer",n)})}}(t,window,document),/*! 53 * magnific-popup.js 54 */ 55/*! Magnific Popup - v1.0.0 - 2014-12-12 56 * http://dimsemenov.com/plugins/magnific-popup/ 57 * Copyright (c) 2014 Dmitry Semenov; */ 58function(e){"function"==typeof define&&define.amd?define(["jquery"],e):e("object"==typeof exports?require("jquery"):window.jQuery||window.Zepto)}(function(e){var t,i,n,r,o,s,a,l="Close",u="BeforeClose",c="AfterClose",d="BeforeAppend",f="MarkupParse",h="Open",p="Change",m="mfp",g="."+m,v="mfp-ready",y="mfp-removing",b="mfp-prevent-close",w=function(){},x=!!window.jQuery,_=e(window),C=function(e,i){t.ev.on(m+e+g,i)},E=function(t,i,n,r){var o=document.createElement("div");return o.className="mfp-"+t,n&&(o.innerHTML=n),r?i&&i.appendChild(o):(o=e(o),i&&o.appendTo(i)),o},S=function(i,n){t.ev.triggerHandler(m+i,n),t.st.callbacks&&(i=i.charAt(0).toLowerCase()+i.slice(1),t.st.callbacks[i]&&t.st.callbacks[i].apply(t,e.isArray(n)?n:[n]))},T=function(i){return i===a&&t.currTemplate.closeBtn||(t.currTemplate.closeBtn=e(t.st.closeMarkup.replace("%title%",t.st.tClose)),a=i),t.currTemplate.closeBtn},k=function(){e.magnificPopup.instance||(t=new w,t.init(),e.magnificPopup.instance=t)},A=function(){var e=document.createElement("p").style,t=["ms","O","Moz","Webkit"];if(void 0!==e.transition)return!0;for(;t.length;)if(t.pop()+"Transition"in e)return!0;return!1};w.prototype={constructor:w,init:function(){var i=navigator.appVersion;t.isIE7=-1!==i.indexOf("MSIE 7."),t.isIE8=-1!==i.indexOf("MSIE 8."),t.isLowIE=t.isIE7||t.isIE8,t.isAndroid=/android/gi.test(i),t.isIOS=/iphone|ipad|ipod/gi.test(i),t.supportsTransition=A(),t.probablyMobile=t.isAndroid||t.isIOS||/(Opera Mini)|Kindle|webOS|BlackBerry|(Opera Mobi)|(Windows Phone)|IEMobile/i.test(navigator.userAgent),r=e(document),t.popupsCache={}},open:function(i){n||(n=e(document.body));var o;if(i.isObj===!1){t.items=i.items.toArray(),t.index=0;var a,l=i.items;for(o=0;l.length>
58o;o++)if(a=l[o],a.parsed&&(a=a.el[0]),a===i.el[0]){t.index=o;break}}else t.items=e.isArray(i.items)?i.items:[i.items],t.index=i.index||0;if(t.isOpen)return void t.updateItemHTML();t.types=[],s="",t.ev=i.mainEl&&i.mainEl.length?i.mainEl.eq(0):r,i.key?(t.popupsCache[i.key]||(t.popupsCache[i.key]={}),t.currTemplate=t.popupsCache[i.key]):t.currTemplate={},t.st=e.extend(!0,{},e.magnificPopup.defaults,i),t.fixedContentPos="auto"===t.st.fixedContentPos?!t.probablyMobile:t.st.fixedContentPos,t.st.modal&&(t.st.closeOnContentClick=!1,t.st.closeOnBgClick=!1,t.st.showCloseBtn=!1,t.st.enableEscapeKey=!1),t.bgOverlay||(t.bgOverlay=E("bg").on("click"+g,function(){t.close()}),t.wrap=E("wrap").attr("tabindex",-1).on("click"+g,function(e){t._checkIfClose(e.target)&&t.close()}),t.container=E("container",t.wrap)),t.contentContainer=E("content"),t.st.preloader&&(t.preloader=E("preloader",t.container,t.st.tLoading));var u=e.magnificPopup.modules;for(o=0;u.length>o;o++){var c=u[o];c=c.charAt(0).toUpperCase()+c.slice(1),t["init"+c].call(t)}S("BeforeOpen"),t.st.showCloseBtn&&(t.st.closeBtnInside?(C(f,function(e,t,i,n){i.close_replaceWith=T(n.type)}),s+=" mfp-close-btn-in"):t.wrap.append(T())),t.st.alignTop&&(s+=" mfp-align-top"),t.fixedContentPos?t.wrap.css({overflow:t.st.overflowY,overflowX:"hidden",overflowY:t.st.overflowY}):t.wrap.css({top:_.scrollTop(),position:"absolute"}),(t.st.fixedBgPos===!1||"auto"===t.st.fixedBgPos&&!t.fixedContentPos)&&t.bgOverlay.css({height:r.height(),position:"absolute"}),t.st.enableEscapeKey&&r.on("keyup"+g,function(e){27===e.keyCode&&t.close()}),_.on("resize"+g,function(){t.updateSize()}),t.st.closeOnContentClick||(s+=" mfp-auto-cursor"),s&&t.wrap.addClass(s);var d=t.wH=_.height(),p={};if(t.fixedContentPos&&t._hasScrollBar(d)){var m=t._getScrollbarSize();m&&(p.marginRight=m)}t.fixedContentPos&&(t.isIE7?e("body, html").css("overflow","hidden"):p.overflow="hidden");var y=t.st.mainClass;return t.isIE7&&(y+=" mfp-ie7"),y&&t._addClassToMFP(y),t.updateItemHTML(),S("BuildControls"),e("html").css(p),t.bgOverlay.add(t.wrap).prependTo(t.st.prependTo||n),t._lastFocusedEl=document.activeElement,setTimeout(function(){t.content?(t._addClassToMFP(v),t._setFocus()):t.bgOverlay.addClass(v),r.on("focusin"+g,t._onFocusIn)},16),t.isOpen=!0,t.updateSize(d),S(h),i},close:function(){t.isOpen&&(S(u),t.isOpen=!1,t.st.removalDelay&&!t.isLowIE&&t.supportsTransition?(t._addClassToMFP(y),setTimeout(function(){t._close()},t.st.removalDelay)):t._close())},_close:function(){S(l);var i=y+" "+v+" ";if(t.bgOverlay.detach(),t.wrap.detach(),t.container.empty(),t.st.mainClass&&(i+=t.st.mainClass+" "),t._removeClassFromMFP(i),t.fixedContentPos){var n={marginRight:""};t.isIE7?e("body, html").css("overflow",""):n.overflow="",e("html").css(n)}r.off("keyup"+g+" focusin"+g),t.ev.off(g),t.wrap.attr("class","mfp-wrap").removeAttr("style"),t.bgOverlay.attr("class","mfp-bg"),t.container.attr("class","mfp-container"),!t.st.showCloseBtn||t.st.closeBtnInside&&t.currTemplate[t.currItem.type]!==!0||t.currTemplate.closeBtn&&t.currTemplate.closeBtn.detach(),t._lastFocusedEl&&e(t._lastFocusedEl).focus(),t.currItem=null,t.content=null,t.currTemplate=null,t.prevHeight=0,S(c)},updateSize:function(e){if(t.isIOS){var i=document.documentElement.clientWidth/window.innerWidth,n=window.innerHeight*i;t.wrap.css("height",n),t.wH=n}else t.wH=e||_.height();t.fixedContentPos||t.wrap.css("height",t.wH),S("Resize")},updateItemHTML:function(){var i=t.items[t.index];t.contentContainer.detach(),t.content&&t.content.detach(),i.parsed||(i=t.parseEl(t.index));var n=i.type;if(S("BeforeChange",[t.currItem?t.currItem.type:"",n]),t.currItem=i,!t.currTemplate[n]){var r=!!t.st[n]&&t.st[n].markup;S("FirstMarkupParse",r),t.currTemplate[n]=!r||e(r)}o&&o!==i.type&&t.container.removeClass("mfp-"+o+"-holder");var s=t["get"+n.charAt(0).toUpperCase()+n.slice(1)](i,t.currTemplate[n]);t.appendContent(s,n),i.preloaded=!0,S(p,i),o=i.type,t.container.prepend(t.contentContainer),S("AfterChange")},appendContent:function(e,i){t.content=e,e?t.st.showCloseBtn&&t.st.closeBtnInside&&t.currTemplate[i]===!0?t.content.find(".mfp-close").length||t.content.append(T()):t.content=e:t.content="",S(d),t.container.addClass("mfp-"+i+"-holder"),t.contentContainer.append(t.content)},parseEl:function(i){var n,r=t.items[i];if(r.tagName?r={el:e(r)}:(n=r.type,r={data:r,src:r.src}),r.el){for(var o=t.types,s=0;o.length>s;s++)if(r.el.hasClass("mfp-"+o[s])){n=o[s];break}r.src=r.el.attr("data-mfp-src"),r.src||(r.src=r.el.attr("href"))}return r.type=n||t.st.type||"inline",r.index=i,r.parsed=!0,t.items[i]=r,S("ElementParse",r),t.items[i]},addGroup:function(e,i){var n=function(n){n.mfpEl=this,t._openClick(n,e,i)};i||(i={});var r="click.magnificPopup";i.mainEl=e,i.items?(i.isObj=!0,e.off(r).on(r,n)):(i.isObj=!1,i.delegate?e.off(r).on(r,i.delegate,n):(i.items=e,e.off(r).on(r,n)))},_openClick:function(i,n,r){var o=void 0!==r.midClick?r.midClick:e.magnificPopup.defaults.midClick;if(o||2!==i.which&&!i.ctrlKey&&!i.metaKey){var s=void 0!==r.disableOn?r.disableOn:e.magnificPopup.defaults.disableOn;if(s)if(e.isFunction(s)){if(!s.call(t))return!0}else if(s>_.width())return!0;
58i.type&&(i.preventDefault(),t.isOpen&&i.stopPropagation()),r.el=e(i.mfpEl),r.delegate&&(r.items=n.find(r.delegate)),t.open(r)}},updateStatus:function(e,n){if(t.preloader){i!==e&&t.container.removeClass("mfp-s-"+i),n||"loading"!==e||(n=t.st.tLoading);var r={status:e,text:n};S("UpdateStatus",r),e=r.status,n=r.text,t.preloader.html(n),t.preloader.find("a").on("click",function(e){e.stopImmediatePropagation()}),t.container.addClass("mfp-s-"+e),i=e}},_checkIfClose:function(i){if(!e(i).hasClass(b)){var n=t.st.closeOnContentClick,r=t.st.closeOnBgClick;if(n&&r)return!0;if(!t.content||e(i).hasClass("mfp-close")||t.preloader&&i===t.preloader[0])return!0;if(i===t.content[0]||e.contains(t.content[0],i)){if(n)return!0}else if(r&&e.contains(document,i))return!0;return!1}},_addClassToMFP:function(e){t.bgOverlay.addClass(e),t.wrap.addClass(e)},_removeClassFromMFP:function(e){this.bgOverlay.removeClass(e),t.wrap.removeClass(e)},_hasScrollBar:function(e){return(t.isIE7?r.height():document.body.scrollHeight)>(e||_.height())},_setFocus:function(){(t.st.focus?t.content.find(t.st.focus).eq(0):t.wrap).focus()},_onFocusIn:function(i){return i.target===t.wrap[0]||e.contains(t.wrap[0],i.target)?void 0:(t._setFocus(),!1)},_parseMarkup:function(t,i,n){var r;n.data&&(i=e.extend(n.data,i)),S(f,[t,i,n]),e.each(i,function(e,i){if(void 0===i||i===!1)return!0;if(r=e.split("_"),r.length>1){var n=t.find(g+"-"+r[0]);if(n.length>0){var o=r[1];"replaceWith"===o?n[0]!==i[0]&&n.replaceWith(i):"img"===o?n.is("img")?n.attr("src",i):n.replaceWith('<img src="'+i+'" class="'+n.attr("class")+'" />'):n.attr(r[1],i)}}else t.find(g+"-"+e).html(i)})},_getScrollbarSize:function(){if(void 0===t.scrollbarSize){var e=document.createElement("div");e.style.cssText="width: 99px; height: 99px; overflow: scroll; position: absolute; top: -9999px;",document.body.appendChild(e),t.scrollbarSize=e.offsetWidth-e.clientWidth,document.body.removeChild(e)}return t.scrollbarSize}},e.magnificPopup={instance:null,proto:w.prototype,modules:[],open:function(t,i){return k(),t=t?e.extend(!0,{},t):{},t.isObj=!0,t.index=i||0,this.instance.open(t)},close:function(){return e.magnificPopup.instance&&e.magnificPopup.instance.close()},registerModule:function(t,i){i.options&&(e.magnificPopup.defaults[t]=i.options),e.extend(this.proto,i.proto),this.modules.push(t)},defaults:{disableOn:0,key:null,midClick:!1,mainClass:"",preloader:!0,focus:"",closeOnContentClick:!1,closeOnBgClick:!0,closeBtnInside:!0,showCloseBtn:!0,enableEscapeKey:!0,modal:!1,alignTop:!1,removalDelay:0,prependTo:null,fixedContentPos:"auto",fixedBgPos:"auto",overflowY:"auto",closeMarkup:'<button title="%title%" type="button" class="mfp-close">×</button>',tClose:"Close (Esc)",tLoading:"Loading..."}},e.fn.magnificPopup=function(i){k();var n=e(this);if("string"==typeof i)if("open"===i){var r,o=x?n.data("magnificPopup"):n[0].magnificPopup,s=parseInt(arguments[1],10)||0;o.items?r=o.items[s]:(r=n,o.delegate&&(r=r.find(o.delegate)),r=r.eq(s)),t._openClick({mfpEl:r},n,o)}else t.isOpen&&t[i].apply(t,Array.prototype.slice.call(arguments,1));else i=e.extend(!0,{},i),x?n.data("magnificPopup",i):n[0].magnificPopup=i,t.addGroup(n,i);return n};var I,D,L,z="inline",N=function(){L&&(D.after(L.addClass(I)).detach(),L=null)};e.magnificPopup.registerModule(z,{options:{hiddenClass:"hide",markup:"",tNotFound:"Content not found"},proto:{initInline:function(){t.types.push(z),C(l+"."+z,function(){N()})},getInline:function(i,n){if(N(),i.src){var r=t.st.inline,o=e(i.src);if(o.length){var s=o[0].parentNode;s&&s.tagName&&(D||(I=r.hiddenClass,D=E(I),I="mfp-"+I),L=o.after(D).detach().removeClass(I)),t.updateStatus("ready")}else t.updateStatus("error",r.tNotFound),o=e("<div>");return i.inlineElement=o,o}return t.updateStatus("ready"),t._parseMarkup(n,{},i),n}}});var P,M="ajax",j=function(){P&&n.removeClass(P)},O=function(){j(),t.req&&t.req.abort()};e.magnificPopup.registerModule(M,{options:{settings:null,cursor:"mfp-ajax-cur",tError:'<a href="%url%">The content</a> could not be loaded.'},proto:{initAjax:function(){t.types.push(M),P=t.st.ajax.cursor,C(l+"."+M,O),C("BeforeChange."+M,O)},getAjax:function(i){P&&n.addClass(P),t.updateStatus("loading");var r=e.extend({url:i.src,success:function(n,r,o){var s={data:n,xhr:o};S("ParseAjax",s),t.appendContent(e(s.data),M),i.finished=!0,j(),t._setFocus(),setTimeout(function(){t.wrap.addClass(v)},16),t.updateStatus("ready"),S("AjaxContentAdded")},error:function(){j(),i.finished=i.loadError=!0,t.updateStatus("error",t.st.ajax.tError.replace("%url%",i.src))}},t.st.ajax.settings);return t.req=e.ajax(r),""}}});var F,q=function(i){if(i.data&&void 0!==i.data.title)return i.data.title;
58var n=t.st.image.titleSrc;if(n){if(e.isFunction(n))return n.call(t,i);if(i.el)return i.el.attr(n)||""}return""};e.magnificPopup.registerModule("image",{options:{markup:'<div class="mfp-figure"><div class="mfp-close"></div><figure><div class="mfp-img"></div><figcaption><div class="mfp-bottom-bar"><div class="mfp-title"></div><div class="mfp-counter"></div></div></figcaption></figure></div>',cursor:"mfp-zoom-out-cur",titleSrc:"title",verticalFit:!0,tError:'<a href="%url%">The image</a> could not be loaded.'},proto:{initImage:function(){var e=t.st.image,i=".image";t.types.push("image"),C(h+i,function(){"image"===t.currItem.type&&e.cursor&&n.addClass(e.cursor)}),C(l+i,function(){e.cursor&&n.removeClass(e.cursor),_.off("resize"+g)}),C("Resize"+i,t.resizeImage),t.isLowIE&&C("AfterChange",t.resizeImage)},resizeImage:function(){var e=t.currItem;if(e&&e.img&&t.st.image.verticalFit){var i=0;t.isLowIE&&(i=parseInt(e.img.css("padding-top"),10)+parseInt(e.img.css("padding-bottom"),10)),e.img.css("max-height",t.wH-i)}},_onImageHasSize:function(e){e.img&&(e.hasSize=!0,F&&clearInterval(F),e.isCheckingImgSize=!1,S("ImageHasSize",e),e.imgHidden&&(t.content&&t.content.removeClass("mfp-loading"),e.imgHidden=!1))},findImageSize:function(e){var i=0,n=e.img[0],r=function(o){F&&clearInterval(F),F=setInterval(function(){return n.naturalWidth>0?void t._onImageHasSize(e):(i>200&&clearInterval(F),i++,void(3===i?r(10):40===i?r(50):100===i&&r(500)))},o)};r(1)},getImage:function(i,n){var r=0,o=function(){i&&(i.img[0].complete?(i.img.off(".mfploader"),i===t.currItem&&(t._onImageHasSize(i),t.updateStatus("ready")),i.hasSize=!0,i.loaded=!0,S("ImageLoadComplete")):(r++,200>r?setTimeout(o,100):s()))},s=function(){i&&(i.img.off(".mfploader"),i===t.currItem&&(t._onImageHasSize(i),t.updateStatus("error",a.tError.replace("%url%",i.src))),i.hasSize=!0,i.loaded=!0,i.loadError=!0)},a=t.st.image,l=n.find(".mfp-img");if(l.length){var u=document.createElement("img");u.className="mfp-img",i.el&&i.el.find("img").length&&(u.alt=i.el.find("img").attr("alt")),i.img=e(u).on("load.mfploader",o).on("error.mfploader",s),u.src=i.src,l.is("img")&&(i.img=i.img.clone()),u=i.img[0],u.naturalWidth>0?i.hasSize=!0:u.width||(i.hasSize=!1)}return t._parseMarkup(n,{title:q(i),img_replaceWith:i.img},i),t.resizeImage(),i.hasSize?(F&&clearInterval(F),i.loadError?(n.addClass("mfp-loading"),t.updateStatus("error",a.tError.replace("%url%",i.src))):(n.removeClass("mfp-loading"),t.updateStatus("ready")),n):(t.updateStatus("loading"),i.loading=!0,i.hasSize||(i.imgHidden=!0,n.addClass("mfp-loading"),t.findImageSize(i)),n)}}});var B,H=function(){return void 0===B&&(B=void 0!==document.createElement("p").style.MozTransform),B};e.magnificPopup.registerModule("zoom",{options:{enabled:!1,easing:"ease-in-out",duration:300,opener:function(e){return e.is("img")?e:e.find("img")}},proto:{initZoom:function(){var e,i=t.st.zoom,n=".zoom";if(i.enabled&&t.supportsTransition){var r,o,s=i.duration,a=function(e){var t=e.clone().removeAttr("style").removeAttr("class").addClass("mfp-animated-image"),n="all "+i.duration/1e3+"s "+i.easing,r={position:"fixed",zIndex:9999,left:0,top:0,"-webkit-backface-visibility":"hidden"},o="transition";return r["-webkit-"+o]=r["-moz-"+o]=r["-o-"+o]=r[o]=n,t.css(r),t},c=function(){t.content.css("visibility","visible")};C("BuildControls"+n,function(){if(t._allowZoom()){if(clearTimeout(r),t.content.css("visibility","hidden"),e=t._getItemToZoom(),!e)return void c();o=a(e),o.css(t._getOffset()),t.wrap.append(o),r=setTimeout(function(){o.css(t._getOffset(!0)),r=setTimeout(function(){c(),setTimeout(function(){o.remove(),e=o=null,S("ZoomAnimationEnded")},16)},s)},16)}}),C(u+n,function(){if(t._allowZoom()){if(clearTimeout(r),t.st.removalDelay=s,!e){if(e=t._getItemToZoom(),!e)return;o=a(e)}o.css(t._getOffset(!0)),t.wrap.append(o),t.content.css("visibility","hidden"),setTimeout(function(){o.css(t._getOffset())},16)}}),C(l+n,function(){t._allowZoom()&&(c(),o&&o.remove(),e=null)})}},_allowZoom:function(){return"image"===t.currItem.type},_getItemToZoom:function(){return!!t.currItem.hasSize&&t.currItem.img},_getOffset:function(i){var n;n=i?t.currItem.img:t.st.zoom.opener(t.currItem.el||t.currItem);var r=n.offset(),o=parseInt(n.css("padding-top"),10),s=parseInt(n.css("padding-bottom"),10);r.top-=e(window).scrollTop()-o;var a={width:n.width(),height:(x?n.innerHeight():n[0].offsetHeight)-s-o};return H()?a["-moz-transform"]=a.transform="translate("+r.left+"px,"+r.top+"px)":(a.left=r.left,a.top=r.top),a}}});var R="iframe",W="//about:blank",U=function(e){if(t.currTemplate[R]){var i=t.currTemplate[R].find("iframe");i.length&&(e||(i[0].src=W),t.isIE8&&i.css("display",e?"block":"none"))}};e.magnificPopup.registerModule(R,{options:{markup:'<div class="mfp-iframe-scaler"><div class="mfp-close"></div><iframe class="mfp-iframe" src="//about:blank" frameborder="0" allowfullscreen></iframe></div>',srcAction:"iframe_src",patterns:{youtube:{index:"youtube.com",id:"v=",src:"//www.youtube.com/embed/%id%?autoplay=1"},vimeo:{index:"vimeo.com/",id:"/",src:"//player.vimeo.com/video/%id%?autoplay=1"},gmaps:{index:"//maps.google.",src:"%id%&output=embed"}}},proto:{initIframe:function(){t.types.push(R),C("BeforeChange",function(e,t,i){t!==i&&(t===R?U():i===R&&U(!0))}),C(l+"."+R,function(){U()})},getIframe:function(i,n){var r=i.src,o=t.st.iframe;e.each(o.patterns,function(){return r.indexOf(this.index)>-1?(this.id&&(r="string"==typeof this.id?r.substr(r.lastIndexOf(this.id
58)+this.id.length,r.length):this.id.call(this,r)),r=this.src.replace("%id%",r),!1):void 0});var s={};return o.srcAction&&(s[o.srcAction]=r),t._parseMarkup(n,s,i),t.updateStatus("ready"),n}}});var $=function(e){var i=t.items.length;return e>i-1?e-i:0>e?i+e:e},V=function(e,t,i){return e.replace(/%curr%/gi,t+1).replace(/%total%/gi,i)};e.magnificPopup.registerModule("gallery",{options:{enabled:!1,arrowMarkup:'<button title="%title%" type="button" class="mfp-arrow mfp-arrow-%dir%"></button>',preload:[0,2],navigateByImgClick:!0,arrows:!0,tPrev:"Previous (Left arrow key)",tNext:"Next (Right arrow key)",tCounter:"%curr% of %total%"},proto:{initGallery:function(){var i=t.st.gallery,n=".mfp-gallery",o=Boolean(e.fn.mfpFastClick);return t.direction=!0,!(!i||!i.enabled)&&(s+=" mfp-gallery",C(h+n,function(){i.navigateByImgClick&&t.wrap.on("click"+n,".mfp-img",function(){return t.items.length>1?(t.next(),!1):void 0}),r.on("keydown"+n,function(e){37===e.keyCode?t.prev():39===e.keyCode&&t.next()})}),C("UpdateStatus"+n,function(e,i){i.text&&(i.text=V(i.text,t.currItem.index,t.items.length))}),C(f+n,function(e,n,r,o){var s=t.items.length;r.counter=s>1?V(i.tCounter,o.index,s):""}),C("BuildControls"+n,function(){if(t.items.length>1&&i.arrows&&!t.arrowLeft){var n=i.arrowMarkup,r=t.arrowLeft=e(n.replace(/%title%/gi,i.tPrev).replace(/%dir%/gi,"left")).addClass(b),s=t.arrowRight=e(n.replace(/%title%/gi,i.tNext).replace(/%dir%/gi,"right")).addClass(b),a=o?"mfpFastClick":"click";r[a](function(){t.prev()}),s[a](function(){t.next()}),t.isIE7&&(E("b",r[0],!1,!0),E("a",r[0],!1,!0),E("b",s[0],!1,!0),E("a",s[0],!1,!0)),t.container.append(r.add(s))}}),C(p+n,function(){t._preloadTimeout&&clearTimeout(t._preloadTimeout),t._preloadTimeout=setTimeout(function(){t.preloadNearbyImages(),t._preloadTimeout=null},16)}),void C(l+n,function(){r.off(n),t.wrap.off("click"+n),t.arrowLeft&&o&&t.arrowLeft.add(t.arrowRight).destroyMfpFastClick(),t.arrowRight=t.arrowLeft=null}))},next:function(){t.direction=!0,t.index=$(t.index+1),t.updateItemHTML()},prev:function(){t.direction=!1,t.index=$(t.index-1),t.updateItemHTML()},goTo:function(e){t.direction=e>=t.index,t.index=e,t.updateItemHTML()},preloadNearbyImages:function(){var e,i=t.st.gallery.preload,n=Math.min(i[0],t.items.length),r=Math.min(i[1],t.items.length);for(e=1;(t.direction?r:n)>=e;e++)t._preloadItem(t.index+e);for(e=1;(t.direction?n:r)>=e;e++)t._preloadItem(t.index-e)},_preloadItem:function(i){if(i=$(i),!t.items[i].preloaded){var n=t.items[i];n.parsed||(n=t.parseEl(i)),S("LazyLoad",n),"image"===n.type&&(n.img=e('<img class="mfp-img" />').on("load.mfploader",function(){n.hasSize=!0}).on("error.mfploader",function(){n.hasSize=!0,n.loadError=!0,S("LazyLoadError",n)}).attr("src",n.src)),n.preloaded=!0}}}});var Q="retina";e.magnificPopup.registerModule(Q,{options:{replaceSrc:function(e){return e.src.replace(/\.\w+$/,function(e){return"@2x"+e})},ratio:1},proto:{initRetina:function(){if(window.devicePixelRatio>1){var e=t.st.retina,i=e.ratio;i=isNaN(i)?i():i,i>1&&(C("ImageHasSize."+Q,function(e,t){t.img.css({"max-width":t.img[0].naturalWidth/i,width:"100%"})}),C("ElementParse."+Q,function(t,n){n.src=e.replaceSrc(n,i)}))}}}}),function(){var t=1e3,i="ontouchstart"in window,n=function(){_.off("touchmove"+o+" touchend"+o)},r="mfpFastClick",o="."+r;e.fn.mfpFastClick=function(r){return e(this).each(function(){var s,a=e(this);if(i){var l,u,c,d,f,h;a.on("touchstart"+o,function(e){d=!1,h=1,f=e.originalEvent?e.originalEvent.touches[0]:e.touches[0],u=f.clientX,c=f.clientY,_.on("touchmove"+o,function(e){f=e.originalEvent?e.originalEvent.touches:e.touches,h=f.length,f=f[0],(Math.abs(f.clientX-u)>10||Math.abs(f.clientY-c)>10)&&(d=!0,n())}).on("touchend"+o,function(e){n(),d||h>1||(s=!0,e.preventDefault(),clearTimeout(l),l=setTimeout(function(){s=!1},t),r())})})}a.on("click"+o,function(){s||r()})})},e.fn.destroyMfpFastClick=function(){e(this).off("touchstart"+o+" click"+o),i&&_.off("touchmove"+o+" touchend"+o)}}(),k()}),/*! 59 * jquery.easing.js 60 */ 61/* 62 * jQuery Easing v1.3 - http://gsgd.co.uk/sandbox/jquery/easing/ 63 * 64 * Uses the built in easing capabilities added In jQuery 1.1 65 * to offer multiple easing options 66 * 67 * TERMS OF USE - jQuery Easing 68 * 69 * Open source under the BSD License. 70 * 71 * Copyright 2008 George McGinley Smith 72 * All rights reserved. 73 * 74 * Redistribution and use in source and binary forms, with or without modification, 75 * are permitted provided that the following conditions are met: 76 * 77 * Redistributions of source code must retain the above copyright notice, this list of 78 * conditions and the following disclaimer. 79 * Redistributions in binary form must reproduce the above copyright notice, this list 80 * of conditions and the following disclaimer in the documentation and/or other materials 81 * provided with the distribution. 82 * 83 * Neither the name of the author nor the names of contributors may be used to endorse 84 * or promote products derived from this software without specific prior written permission. 85 * 86 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY 87 * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF 88 * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE 89 * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
vendor: 4,968 bytes, lines 90-121
90 * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE 91 * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED 92 * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 93 * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED 94 * OF THE POSSIBILITY OF SUCH DAMAGE. 95 * 96 */ 97e.easing.jswing=e.easing.swing,e.extend(e.easing,{def:"easeOutQuad",swing:function(t,i,n,r,o){return e.easing[e.easing.def](t,i,n,r,o)},easeInQuad:function(e,t,i,n,r){return n*(t/=r)*t+i},easeOutQuad:function(e,t,i,n,r){return-n*(t/=r)*(t-2)+i},easeInOutQuad:function(e,t,i,n,r){return(t/=r/2)<1?n/2*t*t+i:-n/2*(--t*(t-2)-1)+i},easeInCubic:function(e,t,i,n,r){return n*(t/=r)*t*t+i},easeOutCubic:function(e,t,i,n,r){return n*((t=t/r-1)*t*t+1)+i},easeInOutCubic:function(e,t,i,n,r){return(t/=r/2)<1?n/2*t*t*t+i:n/2*((t-=2)*t*t+2)+i},easeInQuart:function(e,t,i,n,r){return n*(t/=r)*t*t*t+i},easeOutQuart:function(e,t,i,n,r){return-n*((t=t/r-1)*t*t*t-1)+i},easeInOutQuart:function(e,t,i,n,r){return(t/=r/2)<1?n/2*t*t*t*t+i:-n/2*((t-=2)*t*t*t-2)+i},easeInQuint:function(e,t,i,n,r){return n*(t/=r)*t*t*t*t+i},easeOutQuint:function(e,t,i,n,r){return n*((t=t/r-1)*t*t*t*t+1)+i},easeInOutQuint:function(e,t,i,n,r){return(t/=r/2)<1?n/2*t*t*t*t*t+i:n/2*((t-=2)*t*t*t*t+2)+i},easeInSine:function(e,t,i,n,r){return-n*Math.cos(t/r*(Math.PI/2))+n+i},easeOutSine:function(e,t,i,n,r){return n*Math.sin(t/r*(Math.PI/2))+i},easeInOutSine:function(e,t,i,n,r){return-n/2*(Math.cos(Math.PI*t/r)-1)+i},easeInExpo:function(e,t,i,n,r){return 0==t?i:n*Math.pow(2,10*(t/r-1))+i},easeOutExpo:function(e,t,i,n,r){return t==r?i+n:n*(-Math.pow(2,-10*t/r)+1)+i},easeInOutExpo:function(e,t,i,n,r){return 0==t?i:t==r?i+n:(t/=r/2)<1?n/2*Math.pow(2,10*(t-1))+i:n/2*(-Math.pow(2,-10*--t)+2)+i},easeInCirc:function(e,t,i,n,r){return-n*(Math.sqrt(1-(t/=r)*t)-1)+i},easeOutCirc:function(e,t,i,n,r){return n*Math.sqrt(1-(t=t/r-1)*t)+i},easeInOutCirc:function(e,t,i,n,r){return(t/=r/2)<1?-n/2*(Math.sqrt(1-t*t)-1)+i:n/2*(Math.sqrt(1-(t-=2)*t)+1)+i},easeInElastic:function(e,t,i,n,r){var o=1.70158,s=0,a=n;if(0==t)return i;if(1==(t/=r))return i+n;if(s||(s=.3*r),a<Math.abs(n)){a=n;var o=s/4}else var o=s/(2*Math.PI)*Math.asin(n/a);return-(a*Math.pow(2,10*(t-=1))*Math.sin((t*r-o)*(2*Math.PI)/s))+i},easeOutElastic:function(e,t,i,n,r){var o=1.70158,s=0,a=n;if(0==t)return i;if(1==(t/=r))return i+n;if(s||(s=.3*r),a<Math.abs(n)){a=n;var o=s/4}else var o=s/(2*Math.PI)*Math.asin(n/a);return a*Math.pow(2,-10*t)*Math.sin((t*r-o)*(2*Math.PI)/s)+n+i},easeInOutElastic:function(e,t,i,n,r){var o=1.70158,s=0,a=n;if(0==t)return i;if(2==(t/=r/2))return i+n;if(s||(s=r*(.3*1.5)),a<Math.abs(n)){a=n;var o=s/4}else var o=s/(2*Math.PI)*Math.asin(n/a);return t<1?-.5*(a*Math.pow(2,10*(t-=1))*Math.sin((t*r-o)*(2*Math.PI)/s))+i:a*Math.pow(2,-10*(t-=1))*Math.sin((t*r-o)*(2*Math.PI)/s)*.5+n+i},easeInBack:function(e,t,i,n,r,o){return void 0==o&&(o=1.70158),n*(t/=r)*t*((o+1)*t-o)+i},easeOutBack:function(e,t,i,n,r,o){return void 0==o&&(o=1.70158),n*((t=t/r-1)*t*((o+1)*t+o)+1)+i},easeInOutBack:function(e,t,i,n,r,o){return void 0==o&&(o=1.70158),(t/=r/2)<1?n/2*(t*t*(((o*=1.525)+1)*t-o))+i:n/2*((t-=2)*t*(((o*=1.525)+1)*t+o)+2)+i},easeInBounce:function(t,i,n,r,o){return r-e.easing.easeOutBounce(t,o-i,0,r,o)+n},easeOutBounce:function(e,t,i,n,r){return(t/=r)<1/2.75?n*(7.5625*t*t)+i:t<2/2.75?n*(7.5625*(t-=1.5/2.75)*t+.75)+i:t<2.5/2.75?n*(7.5625*(t-=2.25/2.75)*t+.9375)+i:n*(7.5625*(t-=2.625/2.75)*t+.984375)+i},easeInOutBounce:function(t,i,n,r,o){return i<o/2?.5*e.easing.easeInBounce(t,2*i,0,r,o)+n:.5*e.easing.easeOutBounce(t,2*i-o,0,r,o)+.5*r+n}}),/* 98 * 99 * TERMS OF USE - EASING EQUATIONS 100 * 101 * Open source under the BSD License. 102 * 103 * Copyright 2001 Robert Penner 104 * All rights reserved. 105 * 106 * Redistribution and use in source and binary forms, with or without modification, 107 * are permitted provided that the following conditions are met: 108 * 109 * Redistributions of source code must retain the above copyright notice, this list of 110 * conditions and the following disclaimer. 111 * Redistributions in binary form must reproduce the above copyright notice, this list 112 * of conditions and the following disclaimer in the documentation and/or other materials 113 * provided with the distribution. 114 * 115 * Neither the name of the author nor the names of contributors may be used to endorse 116 * or promote products derived from this software without specific prior written permission. 117 * 118 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY 119 * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF 120 * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE 121 * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
vendor: 4,970 bytes, lines 122-157
122 * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE 123 * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED 124 * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 125 * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED 126 * OF THE POSSIBILITY OF SUCH DAMAGE. 127 * 128 */ 129/*! 130 * flickity.js 131 */ 132/*! 133 * Flickity PACKAGED v2.1.2 134 * Touch, responsive, flickable carousels 135 * 136 * Licensed GPLv3 for open source use 137 * or Flickity Commercial License for commercial use 138 * 139 * https://flickity.metafizzy.co 140 * Copyright 2015-2018 Metafizzy 141 */ 142/** 143 * Bridget makes jQuery widgets 144 * v2.0.1 145 * MIT license 146 */ 147function(e,t){"function"==typeof define&&define.amd?define("jquery-bridget/jquery-bridget",["jquery"],function(i){return t(e,i)}):"object"==typeof module&&module.exports?module.exports=t(e,require("jquery")):e.jQueryBridget=t(e,e.jQuery)}(window,function(e,t){"use strict";function i(i,o,a){function l(e,t,n){var r,o="$()."+i+'("'+t+'")';return e.each(function(e,l){var u=a.data(l,i);if(!u)return void s(i+" not initialized. Cannot call methods, i.e. "+o);var c=u[t];if(!c||"_"==t.charAt(0))return void s(o+" is not a valid method");var d=c.apply(u,n);r=void 0===r?d:r}),void 0!==r?r:e}function u(e,t){e.each(function(e,n){var r=a.data(n,i);r?(r.option(t),r._init()):(r=new o(n,t),a.data(n,i,r))})}a=a||t||e.jQuery,a&&(o.prototype.option||(o.prototype.option=function(e){a.isPlainObject(e)&&(this.options=a.extend(!0,this.options,e))}),a.fn[i]=function(e){if("string"==typeof e){var t=r.call(arguments,1);return l(this,e,t)}return u(this,e),this},n(a))}function n(e){!e||e&&e.bridget||(e.bridget=i)}var r=Array.prototype.slice,o=e.console,s="undefined"==typeof o?function(){}:function(e){o.error(e)};return n(t||e.jQuery),i}),/** 148 * EvEmitter v1.1.0 149 * Lil' event emitter 150 * MIT License 151 */ 152function(e,t){"function"==typeof define&&define.amd?define("ev-emitter/ev-emitter",t):"object"==typeof module&&module.exports?module.exports=t():e.EvEmitter=t()}("undefined"!=typeof window?window:this,function(){function e(){}var t=e.prototype;return t.on=function(e,t){if(e&&t){var i=this._events=this._events||{},n=i[e]=i[e]||[];return n.indexOf(t)==-1&&n.push(t),this}},t.once=function(e,t){if(e&&t){this.on(e,t);var i=this._onceEvents=this._onceEvents||{},n=i[e]=i[e]||{};return n[t]=!0,this}},t.off=function(e,t){var i=this._events&&this._events[e];if(i&&i.length){var n=i.indexOf(t);return n!=-1&&i.splice(n,1),this}},t.emitEvent=function(e,t){var i=this._events&&this._events[e];if(i&&i.length){i=i.slice(0),t=t||[];for(var n=this._onceEvents&&this._onceEvents[e],r=0;r<i.length;r++){var o=i[r],s=n&&n[o];s&&(this.off(e,o),delete n[o]),o.apply(this,t)}return this}},t.allOff=function(){delete this._events,delete this._onceEvents},e}),/*! 153 * getSize v2.0.3 154 * measure size of elements 155 * MIT license 156 */ 157function(e,t){"function"==typeof define&&define.amd?define("get-size/get-size",t):"object"==typeof module&&module.exports?module.exports=t():e.getSize=t()}(window,function(){"use strict";function e(e){var t=parseFloat(e),i=e.indexOf("%")==-1&&!isNaN(t);return i&&t}function t(){}function i(){for(var e={width:0,height:0,innerWidth:0,innerHeight:0,outerWidth:0,outerHeight:0},t=0;t<u;t++){var i=l[t];e[i]=0}return e}function n(e){var t=getComputedStyle(e);return t||a("Style returned "+t+". Are you running this code in a hidden iframe on Firefox? See https://bit.ly/getsizebug1"),t}function r(){if(!c){c=!0;var t=document.createElement("div");t.style.width="200px",t.style.padding="1px 2px 3px 4px",t.style.borderStyle="solid",t.style.borderWidth="1px 2px 3px 4px",t.style.boxSizing="border-box";var i=document.body||document.documentElement;i.appendChild(t);var r=n(t);s=200==Math.round(e(r.width)),o.isBoxSizeOuter=s,i.removeChild(t)}}function o(t){if(r(),"string"==typeof t&&(t=document.querySelector(t)),t&&"object"==typeof t&&t.nodeType){var o=n(t);if("none"==o.display)return i();var a={};a.width=t.offsetWidth,a.height=t.offsetHeight;for(var c=a.isBorderBox="border-box"==o.boxSizing,d=0;d<u;d++){var f=l[d],h=o[f],p=parseFloat(h);a[f]=isNaN(p)?0:p}var m=a.paddingLeft+a.paddingRight,g=a.paddingTop+a.paddingBottom,v=a.marginLeft+a.marginRight,y=a.marginTop+a.marginBottom,b=a.borderLeftWidth+a.borderRightWidth,w=a.borderTopWidth+a.borderBottomWidth,x=c&&s,_=e(o.width);_!==!1&&(a.width=_+(x?0:m+b));var C=e(o.height);return C!==!1&&(a.height=C+(x?0:g+w)),a.innerWidth=a.width-(m+b),a.innerHeight=a.height-(g+w),a.outerWidth=a.width+v,a.outerHeight=a.height+y,a}}var s,a="undefined"==typeof console?t:function(e){console.error(e)},l=["paddingLeft","paddingRight","paddingTop","paddingBottom","marginLeft","marginRight","marginTop","marginBottom","borderLeftWidth","borderRightWidth","borderTopWidth","borderBottomWidth"],u=l.length,c=!1;return o}
vendor: 2,428 bytes, lines 157-166
157),/** 158 * matchesSelector v2.0.2 159 * matchesSelector( element, '.selector' ) 160 * MIT license 161 */ 162function(e,t){"use strict";"function"==typeof define&&define.amd?define("desandro-matches-selector/matches-selector",t):"object"==typeof module&&module.exports?module.exports=t():e.matchesSelector=t()}(window,function(){"use strict";var e=function(){var e=window.Element.prototype;if(e.matches)return"matches";if(e.matchesSelector)return"matchesSelector";for(var t=["webkit","moz","ms","o"],i=0;i<t.length;i++){var n=t[i],r=n+"MatchesSelector";if(e[r])return r}}();return function(t,i){return t[e](i)}}),/** 163 * Fizzy UI utils v2.0.7 164 * MIT license 165 */ 166function(e,t){"function"==typeof define&&define.amd?define("fizzy-ui-utils/utils",["desandro-matches-selector/matches-selector"],function(i){return t(e,i)}):"object"==typeof module&&module.exports?module.exports=t(e,require("desandro-matches-selector")):e.fizzyUIUtils=t(e,e.matchesSelector)}(window,function(e,t){var i={};i.extend=function(e,t){for(var i in t)e[i]=t[i];return e},i.modulo=function(e,t){return(e%t+t)%t};var n=Array.prototype.slice;i.makeArray=function(e){if(Array.isArray(e))return e;if(null===e||void 0===e)return[];var t="object"==typeof e&&"number"==typeof e.length;return t?n.call(e):[e]},i.removeFrom=function(e,t){var i=e.indexOf(t);i!=-1&&e.splice(i,1)},i.getParent=function(e,i){for(;e.parentNode&&e!=document.body;)if(e=e.parentNode,t(e,i))return e},i.getQueryElement=function(e){return"string"==typeof e?document.querySelector(e):e},i.handleEvent=function(e){var t="on"+e.type;this[t]&&this[t](e)},i.filterFindElements=function(e,n){e=i.makeArray(e);var r=[];return e.forEach(function(e){if(e instanceof HTMLElement){if(!n)return void r.push(e);t(e,n)&&r.push(e);for(var i=e.querySelectorAll(n),o=0;o<i.length;o++)r.push(i[o])}}),r},i.debounceMethod=function(e,t,i){i=i||100;var n=e.prototype[t],r=t+"Timeout";e.prototype[t]=function(){var e=this[r];clearTimeout(e);var t=arguments,o=this;this[r]=setTimeout(function(){n.apply(o,t),delete o[r]},i)}},i.docReady=function(e){var t=document.readyState;"complete"==t||"interactive"==t?setTimeout(e):document.addEventListener("DOMContentLoaded",e)},i.toDashed=function(e){return e.replace(/(.)([A-Z])/g,function(e,t,i){return t+"-"+i}).toLowerCase()};var r=e.console;return i.htmlInit=function(t,n){i.docReady(function(){var o=i.toDashed(n),s="data-"+o,a=document.querySelectorAll("["+s+"]"),l=d
166ocument.querySelectorAll(".js-"+o),u=i.makeArray(a).concat(i.makeArray(l)),c=s+"-options",d=e.jQuery;u.forEach(function(e){var i,o=e.getAttribute(s)||e.getAttribute(c);try{i=o&&JSON.parse(o)}catch(t){return void(r&&r.error("Error parsing "+s+" on "+e.className+": "+t))}var a=new t(e,i);d&&d.data(e,n,a)})})},i}),function(e,t){"function"==typeof define&&define.amd?define("flickity/js/cell",["get-size/get-size"],function(i){return t(e,i)}):"object"==typeof module&&module.exports?module.exports=t(e,require("get-size")):(e.Flickity=e.Flickity||{},e.Flickity.Cell=t(e,e.getSize))}(window,function(e,t){function i(e,t){this.element=e,this.parent=t,this.create()}var n=i.prototype;return n.create=function(){this.element.style.position="absolute",this.element.setAttribute("aria-selected","false"),this.x=0,this.shift=0},n.destroy=function(){this.element.style.position="";var e=this.parent.originSide;this.element.removeAttribute("aria-selected"),this.element.style[e]=""},n.getSize=function(){this.size=t(this.element)},n.setPosition=function(e){this.x=e,this.updateTarget(),this.renderPosition(e)},n.updateTarget=n.setDefaultTarget=function(){var e="left"==this.parent.originSide?"marginLeft":"marginRight";this.target=this.x+this.size[e]+this.size.width*this.parent.cellAlign},n.renderPosition=function(e){var t=this.parent.originSide;this.element.style[t]=this.parent.getPositionValue(e)},n.wrapShift=function(e){this.shift=e,this.renderPosition(this.x+this.parent.slideableWidth*e)},n.remove=function(){this.element.parentNode.removeChild(this.element)},i}),function(e,t){"function"==typeof define&&define.amd?define("flickity/js/slide",t):"object"==typeof module&&module.exports?module.exports=t():(e.Flickity=e.Flickity||{},e.Flickity.Slide=t())}(window,function(){"use strict";function e(e){this.parent=e,this.isOriginLeft="left"==e.originSide,this.cells=[],this.outerWidth=0,this.height=0}var t=e.prototype;return t.addCell=function(e){if(this.cells.push(e),this.outerWidth+=e.size.outerWidth,this.height=Math.max(e.size.outerHeight,this.height),1==this.cells.length){this.x=e.x;var t=this.isOriginLeft?"marginLeft":"marginRight";this.firstMargin=e.size[t]}},t.updateTarget=function(){var e=this.isOriginLeft?"marginRight":"marginLeft",t=this.getLastCell(),i=t?t.size[e]:0,n=this.outerWidth-(this.firstMargin+i);this.target=this.x+this.firstMargin+n*this.parent.cellAlign},t.getLastCell=function(){return this.cells[this.cells.length-1]},t.select=function(){this.changeSelected(!0)},t.unselect=function(){this.changeSelected(!1)},t.changeSelected=function(e){var t=e?"add":"remove";this.cells.forEach(function(i){i.element.classList[t]("is-selected"),i.element.setAttribute("aria-selected",e.toString())})},t.getCellElements=function(){return this.cells.map(function(e){return e.element})},e}),function(e,t){"function"==typeof define&&define.amd?define("flickity/js/animate",["fizzy-ui-utils/utils"],function(i){return t(e,i)}):"object"==typeof module&&module.exports?module.exports=t(e,require("fizzy-ui-utils")):(e.Flickity=e.Flickity||{},e.Flickity.animatePrototype=t(e,e.fizzyUIUtils))}(window,function(e,t){var i={};return i.startAnimation=function(){this.isAnimating||(this.isAnimating=!0,this.restingFrames=0,this.animate())},i.animate=function(){this.applyDragForce(),this.applySelectedAttraction();var e=this.x;if(this.integratePhysics(),this.positionSlider(),this.settle(e),this.isAnimating){var t=this;requestAnimationFrame(function(){t.animate()})}},i.positionSlider=function(){var e=this.x;this.options.wrapAround&&this.cells.length>1&&(e=t.modulo(e,this.slideableWidth),e-=this.slideableWidth,this.shiftWrapCells(e)),e+=this.cursorPosition,e=this.options.rightToLeft?-e:e;var i=this.getPositionValue(e);this.slider.style.transform=this.isAnimating?"translate3d("+i+",0,0)":"translateX("+i+")";var n=this.slides[0];if(n){var r=-this.x-n.target,o=r/this.slidesWidth;this.dispatchEvent("scroll",null,[o,r])}},i.positionSliderAtSelected=function(){this.cells.length&&(this.x=-this.selectedSlide.target,this.velocity=0,this.positionSlider())},i.getPositionValue=function(e){return this.options.percentPosition?.01*Math.round(e/this.size.innerWidth*1e4)+"%":Math.round(e)+"px"},i.settle=function(e){this.isPointerDown||Math.round(100*this.x)!=Math.round(100*e)||this.restingFrames++,this.restingFrames>2&&(this.isAnimating=!1,delete this.isFreeScrolling,this.positionSlider(),this.dispatchEvent("settle",null,[this.selectedIndex]))},i.shiftWrapCells=function(e){var t=this.cursorPosition+e;this._shiftCells(this.beforeShiftCells,t,-1);var i=this.size.innerWidth-(e+this.slideableWidth+this.cursorPosition);this._shiftCells(this.afterShiftCells,i,1)},i._shiftCells=function(e,t,i){for(var n=0;n<e.length;n++){var r=e[n],o=t>0?i:0;r.wrapShift(o),t-=r.size.outerWidth}},i._unshiftCells=function(e){if(e&&e.length)for(var t=0;t<e.length;t++)e[t].wrapShift(0)},i.integratePhysics=function(){this.x+=this.velocity,this.velocity
166*=this.getFrictionFactor()},i.applyForce=function(e){this.velocity+=e},i.getFrictionFactor=function(){return 1-this.options[this.isFreeScrolling?"freeScrollFriction":"friction"]},i.getRestingPosition=function(){return this.x+this.velocity/(1-this.getFrictionFactor())},i.applyDragForce=function(){if(this.isDraggable&&this.isPointerDown){var e=this.dragX-this.x,t=e-this.velocity;this.applyForce(t)}},i.applySelectedAttraction=function(){var e=this.isDraggable&&this.isPointerDown;if(!e&&!this.isFreeScrolling&&this.slides.length){var t=this.selectedSlide.target*-1-this.x,i=t*this.options.selectedAttraction;this.applyForce(i)}},i}),function(e,t){if("function"==typeof define&&define.amd)define("flickity/js/flickity",["ev-emitter/ev-emitter","get-size/get-size","fizzy-ui-utils/utils","./cell","./slide","./animate"],function(i,n,r,o,s,a){return t(e,i,n,r,o,s,a)});else if("object"==typeof module&&module.exports)module.exports=t(e,require("ev-emitter"),require("get-size"),require("fizzy-ui-utils"),require("./cell"),require("./slide"),require("./animate"));else{var i=e.Flickity;e.Flickity=t(e,e.EvEmitter,e.getSize,e.fizzyUIUtils,i.Cell,i.Slide,i.animatePrototype)}}(window,function(e,t,i,n,r,o,s){function a(e,t){for(e=n.makeArray(e);e.length;)t.appendChild(e.shift())}function l(e,t){var i=n.getQueryElement(e);if(!i)return void(d&&d.error("Bad element for Flickity: "+(i||e)));if(this.element=i,this.element.flickityGUID){var r=h[this.element.flickityGUID];return r.option(t),r}u&&(this.$element=u(this.element)),this.options=n.extend({},this.constructor.defaults),this.option(t),this._create()}var u=e.jQuery,c=e.getComputedStyle,d=e.console,f=0,h={};l.defaults={accessibility:!0,cellAlign:"center",freeScrollFriction:.075,friction:.28,namespaceJQueryEvents:!0,percentPosition:!0,resize:!0,selectedAttraction:.025,setGallerySize:!0},l.createMethods=[];var p=l.prototype;n.extend(p,t.prototype),p._create=function(){var t=this.guid=++f;this.element.flickityGUID=t,h[t]=this,this.selectedIndex=0,this.restingFrames=0,this.x=0,this.velocity=0,this.originSide=this.options.rightToLeft?"right":"left",this.viewport=document.createElement("div"),this.viewport.className="flickity-viewport",this._createSlider(),(this.options.resize||this.options.watchCSS)&&e.addEventListener("resize",this);for(var i in this.options.on){var n=this.options.on[i];this.on(i,n)}l.createMethods.forEach(function(e){this[e]()},this),this.options.watchCSS?this.watchCSS():this.activate()},p.option=function(e){n.extend(this.options,e)},p.activate=function(){if(!this.isActive){this.isActive=!0,this.element.classList.add("flickity-enabled"),this.options.rightToLeft&&this.element.classList.add("flickity-rtl"),this.getSize();var e=this._filterFindCellElements(this.element.children);a(e,this.slider),this.viewport.appendChild(this.slider),this.element.appendChild(this.viewport),this.reloadCells(),this.options.accessibility&&(this.element.tabIndex=0,this.element.addEventListener("keydown",this)),this.emitEvent("activate");var t,i=this.options.initialIndex;t=this.isInitActivated?this.selectedIndex:void 0!==i&&this.cells[i]?i:0,this.select(t,!1,!0),this.isInitActivated=!0,this.dispatchEvent("ready")}},p._createSlider=function(){var e=document.createElement("div");e.className="flickity-slider",e.style[this.originSide]=0,this.slider=e},p._filterFindCellElements=function(e){return n.filterFindElements(e,this.options.cellSelector)},p.reloadCells=function(){this.cells=this._makeCells(this.slider.children),this.positionCells(),this._getWrapShiftCells(),this.setGallerySize()},p._makeCells=function(e){var t=this._filterFindCellElements(e),i=t.map(function(e){return new r(e,this)},this);return i},p.getLastCell=function(){return this.cells[this.cells.length-1]},p.getLastSlide=function(){return this.slides[this.slides.length-1]},p.positionCells=function(){this._sizeCells(this.cells),this._positionCells(0)},p._positionCells=function(e){e=e||0,this.maxCellHeight=e?this.maxCellHeight||0:0;var t=0;if(e>0){var i=this.cells[e-1];t=i.x+i.size.outerWidth}for(var n=this.cells.length,r=e;r<n;r++){var o=this.cells[r];o.setPosition(t),t+=o.size.outerWidth,this.maxCellHeight=Math.max(o.size.outerHeight,this.maxCellHeight)}this.slideableWidth=t,this.updateSlides(),this._containSlides(),this.slidesWidth=n?this.getLastSlide().target-this.slides[0].target:0},p._sizeCells=function(e){e.forEach(function(e){e.getSize()})},p.updateSlides=function(){if(this.slides=[],this.cells.length){var e=new o(this);this.slides.push(e);var t="left"==this.originSide,i=t?"marginRight":"marginLeft",n=this._getCanCellFit();
vendor: 28,340 bytes, lines 166-181
166this.cells.forEach(function(t,r){if(!e.cells.length)return void e.addCell(t);var s=e.outerWidth-e.firstMargin+(t.size.outerWidth-t.size[i]);n.call(this,r,s)?e.addCell(t):(e.updateTarget(),e=new o(this),this.slides.push(e),e.addCell(t))},this),e.updateTarget(),this.updateSelectedSlide()}},p._getCanCellFit=function(){var e=this.options.groupCells;if(!e)return function(){return!1};if("number"==typeof e){var t=parseInt(e,10);return function(e){return e%t!==0}}var i="string"==typeof e&&e.match(/^(\d+)%$/),n=i?parseInt(i[1],10)/100:1;return function(e,t){return t<=(this.size.innerWidth+1)*n}},p._init=p.reposition=function(){this.positionCells(),this.positionSliderAtSelected()},p.getSize=function(){this.size=i(this.element),this.setCellAlign(),this.cursorPosition=this.size.innerWidth*this.cellAlign};var m={center:{left:.5,right:.5},left:{left:0,right:1},right:{right:0,left:1}};return p.setCellAlign=function(){var e=m[this.options.cellAlign];this.cellAlign=e?e[this.originSide]:this.options.cellAlign},p.setGallerySize=function(){if(this.options.setGallerySize){var e=this.options.adaptiveHeight&&this.selectedSlide?this.selectedSlide.height:this.maxCellHeight;this.viewport.style.height=e+"px"}},p._getWrapShiftCells=function(){if(this.options.wrapAround){this._unshiftCells(this.beforeShiftCells),this._unshiftCells(this.afterShiftCells);var e=this.cursorPosition,t=this.cells.length-1;this.beforeShiftCells=this._getGapCells(e,t,-1),e=this.size.innerWidth-this.cursorPosition,this.afterShiftCells=this._getGapCells(e,0,1)}},p._getGapCells=function(e,t,i){for(var n=[];e>0;){var r=this.cells[t];if(!r)break;n.push(r),t+=i,e-=r.size.outerWidth}return n},p._containSlides=function(){if(this.options.contain&&!this.options.wrapAround&&this.cells.length){var e=this.options.rightToLeft,t=e?"marginRight":"marginLeft",i=e?"marginLeft":"marginRight",n=this.slideableWidth-this.getLastCell().size[i],r=n<this.size.innerWidth,o=this.cursorPosition+this.cells[0].size[t],s=n-this.size.innerWidth*(1-this.cellAlign);this.slides.forEach(function(e){r?e.target=n*this.cellAlign:(e.target=Math.max(e.target,o),e.target=Math.min(e.target,s))},this)}},p.dispatchEvent=function(e,t,i){var n=t?[t].concat(i):i;if(this.emitEvent(e,n),u&&this.$element){e+=this.options.namespaceJQueryEvents?".flickity":"";var r=e;if(t){var o=u.Event(t);o.type=e,r=o}this.$element.trigger(r,i)}},p.select=function(e,t,i){if(this.isActive&&(e=parseInt(e,10),this._wrapSelect(e),(this.options.wrapAround||t)&&(e=n.modulo(e,this.slides.length)),this.slides[e])){var r=this.selectedIndex;this.selectedIndex=e,this.updateSelectedSlide(),i?this.positionSliderAtSelected():this.startAnimation(),this.options.adaptiveHeight&&this.setGallerySize(),this.dispatchEvent("select",null,[e]),e!=r&&this.dispatchEvent("change",null,[e]),this.dispatchEvent("cellSelect")}},p._wrapSelect=function(e){var t=this.slides.length,i=this.options.wrapAround&&t>1;if(!i)return e;var r=n.modulo(e,t),o=Math.abs(r-this.selectedIndex),s=Math.abs(r+t-this.selectedIndex),a=Math.abs(r-t-this.selectedIndex);!this.isDragSelect&&s<o?e+=t:!this.isDragSelect&&a<o&&(e-=t),e<0?this.x-=this.slideableWidth:e>=t&&(this.x+=this.slideableWidth)},p.previous=function(e,t){this.select(this.selectedIndex-1,e,t)},p.next=function(e,t){this.select(this.selectedIndex+1,e,t)},p.updateSelectedSlide=function(){var e=this.slides[this.selectedIndex];e&&(this.unselectSelectedSlide(),this.selectedSlide=e,e.select(),this.selectedCells=e.cells,this.selectedElements=e.getCellElements(),this.selectedCell=e.cells[0],this.selectedElement=this.selectedElements[0])},p.unselectSelectedSlide=function(){this.selectedSlide&&this.selectedSlide.unselect()},p.selectCell=function(e,t,i){var n=this.queryCell(e);if(n){var r=this.getCellSlideIndex(n);this.select(r,t,i)}},p.getCellSlideIndex=function(e){for(var t=0;t<this.slides.length;t++){var i=this.slides[t],n=i.cells.indexOf(e);if(n!=-1)return t}},p.getCell=function(e){for(var t=0;t<this.cells.length;t++){var i=this.cells[t];if(i.element==e)return i}},p.getCells=function(e){e=n.makeArray(e);var t=[];return e.forEach(function(e){var i=this.getCell(e);i&&t.push(i)},this),t},p.getCellElements=function(){return this.cells.map(function(e){return e.element})},p.getParentCell=function(e){var t=this.getCell(e);return t?t:(e=n.getParent(e,".flickity-slider > *"),this.getCell(e))},p.getAdjacentCellElements=function(e,t){if(!e)return this.selectedSlide.getCellElements();t=void 0===t?this.selectedIndex:t;var i=this.slides.length;if(1+2*e>=i)return this.getCellElements();for(var r=[],o=t-e;o<=t+e;o++){var s=this.options.wrapAround?n.modulo(o,i):o,a=this.slides[s];a&&(r=r.concat(a.getCellElements()))}return r},p.queryCell=function(e){return"number"==typeof e?this.cells[e]:("string"==typeof e&&(e=this.element.querySelector(e)),this.getCell(e))},p.uiChange=function(){this.emitEvent("uiChange")},p.childUIPointerDown=function(e){this.emitEvent("childUIPointerDown",[e])},p.onresize=function(){this.watchCSS(),this.resize()},n.debounceMethod(l,"onresize",150),p.resize=function(){if(this.isActive){this.getSize(),this.options.wrapAround&&(this.x=n.modulo(this.x,this.slideableWidth)),this.positionCells(),this._getWrapShiftCells(),this.setGallerySize(),this.emitEvent("resize");var e=this.selectedElements&&this.selectedElements[0];this.selectCell(e,!1,!0)}},p.watchCSS=function(){var e=this.options.watchCSS;if(e){var t=c(this.element,":after").content;t.indexOf("flickity")!=-1?this.activate():this.deactivate()}},p.onkeydown=function(e){var t=document.activeElement&&document.activeElement!=this.element;if(this.options.accessibility&&!t){var i=l.keyboardHandlers[e.keyCode];i&&i.call(this)}},l.keyboardHandlers={37:function(){var e=this.options.rightToLeft?"next":"previous";this.uiChange(),this[e]()},39:function(){var e=this.options.rightToLeft?"previous":"next";this.uiChange(),this[e]()}},p.focus=function(){var t=e.pageYOffset;this.element.focus({preventScroll:!0}),e.pageYOffset!=t&&e.scrollTo(e.pageXOffset,t)},p.deactivate=function(){this.isActive&&(this.element.classList.remove("flickity-enabled"),this.element.classList.remove("flickity-rtl"),this.unselectSelectedSlide(),this.cells.forEach(function(e){e.destroy()}),this.element.removeChild(this.viewport),a(this.slider.children,this.element),this.options.accessibility&&(this.element.removeAttribute("tabIndex"),this.element.removeEventListener("keydown",this)),this.isActive=!1,this.emitEvent("deactivate"))},p.destroy=function(){this.deactivate(),e.removeEventListener("resize",this),this.emitEvent("destroy"),u&&this.$element&&u.removeData(this.element,"flickity"),delete this.element.flickityGUID,delete h[this.guid]},n.extend(p,s),l.data=function(e){e=n.getQueryElement(e);var t=e&&e.flickityGUID;return t&&h[t]},n.htmlInit(l,"flickity"),u&&u.bridget&&u.bridget("flickity",l),l.setJQuery=function(e){u=e},l.Cell=r,l}),/*! 167 * Unipointer v2.3.0 168 * base class for doing one thing with pointer event 169 * MIT license 170 */ 171function(e,t){"function"==typeof define&&define.amd?define("unipointer/unipointer",["ev-emitter/ev-emitter"],function(i){return t(e,i)}):"object"==typeof module&&module.exports?module.exports=t(e,require("ev-emitter")):e.Unipointer=t(e,e.EvEmitter)}(window,function(e,t){function i(){}function n(){}var r=n.prototype=Object.create(t.prototype);r.bindStartEvent=function(e){this._bindStartEvent(e,!0)},r.unbindStartEvent=function(e){this._bindStartEvent(e,!1)},r._bindStartEvent=function(t,i){i=void 0===i||i;var n=i?"addEventListener":"removeEventListener",r="mousedown";e.PointerEvent?r="pointerdown":"ontouchstart"in e&&(r="touchstart"),t[n](r,this)},r.handleEvent=function(e){var t="on"+e.type;this[t]&&this[t](e)},r.getTouch=function(e){for(var t=0;t<e.length;t++){var i=e[t];if(i.identifier==this.pointerIdentifier)return i}},r.onmousedown=function(e){var t=e.button;t&&0!==t&&1!==t||this._pointerDown(e,e)},r.ontouchstart=function(e){this._pointerDown(e,e.changedTouches[0])},r.onpointerdown=function(e){this._pointerDown(e,e)},r._pointerDown=function(e,t){e.button||this.isPointerDown||(this.isPointerDown=!0,this.pointerIdentifier=void 0!==t.pointerId?t.pointerId:t.identifier,this.pointerDown(e,t))},r.pointerDown=function(e,t){this._bindPostStartEvents(e),this.emitEvent("pointerDown",[e,t])};var o={mousedown:["mousemove","mouseup"],touchstart:["touchmove","touchend","touchcancel"],pointerdown:["pointermove","pointerup","pointercancel"]};return r._bindPostStartEvents=function(t){if(t){var i=o[t.type];i.forEach(function(t){e.addEventListener(t,this)},this),this._boundPointerEvents=i}},r._unbindPostStartEvents=function(){this._boundPointerEvents&&(this._boundPointerEvents.forEach(function(t){e.removeEventListener(t,this)},this),delete this._boundPointerEvents)},r.onmousemove=function(e){this._pointerMove(e,e)},r.onpointermove=function(e){e.pointerId==this.pointerIdentifier&&this._pointerMove(e,e)},r.ontouchmove=function(e){var t=this.getTouch(e.changedTouches);t&&this._pointerMove(e,t)},r._pointerMove=function(e,t){this.pointerMove(e,t)},r.pointerMove=function(e,t){this.emitEvent("pointerMove",[e,t])},r.onmouseup=function(e){this._pointerUp(e,e)},r.onpointerup=function(e){e.pointerId==this.pointerIdentifier&&this._pointerUp(e,e)},r.ontouchend=function(e){var t=this.getTouch(e.changedTouches);t&&this._pointerUp(e,t)},r._pointerUp=function(e,t){this._pointerDone(),this.pointerUp(e,t)},r.pointerUp=function(e,t){this.emitEvent("pointerUp",[e,t])},r._pointerDone=function(){this._pointerReset(),this._unbindPostStartEvents(),this.pointerDone()},r._pointerReset=function(){this.isPointerDown=!1,delete this.pointerIdentifier},r.pointerDone=i,r.onpointercancel=function(e){e.pointerId==this.pointerIdentifier&&this._pointerCancel(e,e)},r.ontouchcancel=function(e){var t=this.getTouch(e.changedTouches);t&&this._pointerCancel(e,t)},r._pointerCancel=function(e,t){this._pointerDone(),this.pointerCancel(e,t)},r.pointerCancel=function(e,t){this.emitEvent("pointerCancel",[e,t])},n.getPointerPoint=function(e){return{x:e.pageX,y:e.pageY}},n}),/*! 172 * Unidragger v2.3.0 173 * Draggable base class 174 * MIT license 175 */ 176function(e,t){"function"==typeof define&&define.amd?define("unidragger/unidragger",["unipointer/unipointer"],function(i){return t(e,i)}):"object"==typeof module&&module.exports?module.exports=t(e,require("unipointer")):e.Unidragger=t(e,e.Unipointer)}(window,function(e,t){function i(){}var n=i.prototype=Object.create(t.prototype);n.bindHandles=function(){this._bindHandles(!0)},n.unbindHandles=function(){this._bindHandles(!1)},n._bindHandles=function(t){t=void 0===t||t;for(var i=t?"addEventListener":"removeEventListener",n=(t?this._touchActionValue:"",0);n<this.handles.length;n++){var r=this.handles[n];this._bindStartEvent(r,t),r[i]("click",this),e.PointerEvent}},n._touchActionValue="none",n.pointerDown=function(e,t){var i=this.okayPointerDown(e);i&&(this.pointerDownPointer=t,e.preventDefault(),this.pointerDownBlur(),this._bindPostStartEvents(e),this.emitEvent("pointerDown",[e,t]))};var r={TEXTAREA:!0,INPUT:!0,SELECT:!0,OPTION:!0},o={radio:!0,checkbox:!0,button:!0,submit:!0,image:!0,file:!0};return n.okayPointerDown=function(e){var t=r[e.target.nodeName],i=o[e.target.type],n=!t||i;return n||this._pointerReset(),n},n.pointerDownBlur=function(){var e=document.activeElement,t=e&&e.blur&&e!=document.body;t&&e.blur()},n.pointerMove=function(e,t){var i=this._dragPointerMove(e,t);this.emitEvent("pointerMove",[e,t,i]),this._dragMove(e,t,i)},n._dragPointerMove=function(e,t){var i={x:t.pageX-this.pointerDownPointer.pageX,y:t.pageY-this.pointerDownPointer.pageY};return!this.isDragging&&this.hasDragStarted(i)&&this._dragStart(e,t),i},n.hasDragStarted=function(e){return Math.abs(e.x)>3||Math.abs(e.y)>3},n.pointerUp=function(e,t){this.emitEvent("pointerUp",[e,t]),this._dragPointerUp(e,t)},n._dragPointerUp=function(e,t){this.isDragging?this._dragEnd(e,t):this._staticClick(e,t)},n._dragStart=function(e,t){this.isDragging=!0,this.isPreventingClicks=!0,this.dragStart(e,t)},n.dragStart=function(e,t){this.emitEvent("dragStart",[e,t])},n._dragMove=function(e,t,i){this.isDragging&&this.dragMove(e,t,i)},n.dragMove=function(e,t,i){e.preventDefault(),this.emitEvent("dragMove",[e,t,i])},n._dragEnd=function(e,t){this.isDragging=!1,setTimeout(function(){delete this.isPreventingClicks}.bind(this)),this.dragEnd(e,t)},n.dragEnd=function(e,t){this.emitEvent("dragEnd",[e,t])},n.onclick=function(e){this.isPreventingClicks&&e.preventDefault()},n._staticClick=function(e,t){this.isIgnoringMouseUp&&"mouseup"==e.type||(this.staticClick(e,t),"mouseup"!=e.type&&(this.isIgnoringMouseUp=!0,setTimeout(function(){delete this.isIgnoringMouseUp}.bind(this),400)))},n.staticClick=function(e,t){this.emitEvent("staticClick",[e,t])},i.getPointerPoint=t.getPointerPoint,i}),function(e,t){"function"==typeof define&&define.amd?define("flickity/js/drag",["./flickity","unidragger/unidragger","fizzy-ui-utils/utils"],function(i,n,r){return t(e,i,n,r)}):"object"==typeof module&&module.exports?module.exports=t(e,require("./flickity"),require("unidragger"),require("fizzy-ui-utils")):e.Flickity=t(e,e.Flickity,e.Unidragger,e.fizzyUIUtils)}(window,function(e,t,i,n){function r(){return{x:e.pageXOffset,y:e.pageYOffset}}n.extend(t.defaults,{draggable:">1",dragThreshold:3}),t.createMethods.push("_createDrag");var o=t.prototype;n.extend(o,i.prototype),o._touchActionValue="pan-y";var s="createTouch"in document,a=!1;o._createDrag=function(){this.on("activate",this.onActivateDrag),this.on("uiChange",this._uiChangeDrag),this.on("childUIPointerDown",this._childUIPointerDownDrag),this.on("deactivate",this.onDeactivateDrag),this.on("cellChange",this.updateDraggable),s&&!a&&(e.addEventListener("touchmove",function(){}),a=!0)},o.onActivateDrag=function(){this.handles=[this.viewport],this.bindHandles(),this.updateDraggable()},o.onDeactivateDrag=function(){this.unbindHandles(),this.element.classList.remove("is-draggable")},o.updateDraggable=function(){">1"==this.options.draggable?this.isDraggable=this.slides.length>1:this.isDraggable=this.options.draggable,this.isDraggable?this.element.classList.add("is-draggable"):this.element.classList.remove("is-draggable")},o.bindDrag=function(){this.options.draggable=!0,this.updateDraggable()},o.unbindDrag=function(){this.options.draggable=!1,this.updateDraggable()},o._uiChangeDrag=function(){delete this.isFreeScrolling},o._childUIPointerDownDrag=function(e){e.preventDefault(),this.pointerDownFocus(e)},o.pointerDown=function(t,i){if(!this.isDraggable)return void this._pointerDownDefault(t,i);var n=this.okayPointerDown(t);n&&(this._pointerDownPreventDefault(t),this.pointerDownFocus(t),document.activeElement!=this.element&&this.pointerDownBlur(),this.dragX=this.x,this.viewport.classList.add("is-pointer-down"),this.pointerDownScroll=r(),e.addEventListener("scroll",this),this._pointerDownDefault(t,i))},o._pointerDownDefault=function(e,t){this.pointerDownPointer=t,this._bindPostStartEvents(e),this.dispatchEvent("pointerDown",e,[t])};var l={INPUT:!0,TEXTAREA:!0,SELECT:!0};return o.pointerDownFocus=function(e){var t=l[e.target.nodeName];t||this.focus()},o._pointerDownPreventDefault=function(e){var t="touchstart"==e.type,i="touch"==e.pointerType,n=l[e.target.nodeName];t||i||n||e.preventDefault()},o.hasDragStarted=function(e){return Math.abs(e.x)>this.options.dragThreshold},o.pointerUp=function(e,t){delete this.isTouchScrolling,this.viewport.classList.remove("is-pointer-down"),this.dispatchEvent("pointerUp",e,[t]),this._dragPointerUp(e,t)},o.pointerDone=function(){e.removeEventListener("scroll",this),delete this.pointerDownScroll},o.dragStart=function(t,i){this.isDraggable&&(this.dragStartPosition=this.x,this.startAnimation(),e.removeEventListener("scroll",this),this.dispatchEvent("dragStart",t,[i]))},o.pointerMove=function(e,t){var i=this._dragPointerMove(e,t);this.dispatchEvent("pointerMove",e,[t,i]),this._dragMove(e,t,i)},o.dragMove=function(e,t,i){if(this.isDraggable){e.preventDefault(),this.previousDragX=this.dragX;var n=this.options.rightToLeft?-1:1;this.options.wrapAround&&(i.x=i.x%this.slideableWidth);var r=this.dragStartPosition+i.x*n;if(!this.options.wrapAround&&this.slides.length){var o=Math.max(-this.slides[0].target,this.dragStartPosition);r=r>o?.5*(r+o):r;var s=Math.min(-this.getLastSlide().target,this.dragStartPosition);r=r<s?.5*(r+s):r}this.dragX=r,this.dragMoveTime=new Date,this.dispatchEvent("dragMove",e,[t,i])}},o.dragEnd=function(e,t){if(this.isDraggable){this.options.freeScroll&&(this.isFreeScrolling=!0);var i=this.dragEndRestingSelect();if(this.options.freeScroll&&!this.options.wrapAround){var n=this.getRestingPosition();this.isFreeScrolling=-n>this.slides[0].target&&-n<this.getLastSlide().target}else this.options.freeScroll||i!=this.selectedIndex||(i+=this.dragEndBoostSelect());delete this.previousDragX,this.isDragSelect=this.options.wrapAround,this.select(i),delete this.isDragSelect,this.dispatchEvent("dragEnd",e,[t])}},o.dragEndRestingSelect=function(){var e=this.getRestingPosition(),t=Math.abs(this.getSlideDistance(-e,this.selectedIndex)),i=this._getClosestResting(e,t,1),n=this._getClosestResting(e,t,-1),r=i.distance<n.distance?i.index:n.index;return r},o._getClosestResting=function(e,t,i){for(var n=this.selectedIndex,r=1/0,o=this.options.contain&&!this.options.wrapAround?function(e,t){return e<=t}:function(e,t){return e<t};o(t,r)&&(n+=i,r=t,t=this.getSlideDistance(-e,n),null!==t);)t=Math.abs(t);return{distance:r,index:n-i}},o.getSlideDistance=function(e,t){var i=this.slides.length,r=this.options.wrapAround&&i>1,o=r?n.modulo(t,i):t,s=this.slides[o];if(!s)return null;var a=r?this.slideableWidth*Math.floor(t/i):0;return e-(s.target+a)},o.dragEndBoostSelect=function(){if(void 0===this.previousDragX||!this.dragMoveTime||new Date-this.dragMoveTime>100)return 0;var e=this.getSlideDistance(-this.dragX,this.selectedIndex),t=this.previousDragX-this.dragX;return e>0&&t>0?1:e<0&&t<0?-1:0},o.staticClick=function(e,t){var i=this.getParentCell(e.target),n=i&&i.element,r=i&&this.cells.indexOf(i);this.dispatchEvent("staticClick",e,[t,n,r])},o.onscroll=function(){var e=r(),t=this.pointerDownScroll.x-e.x,i=this.pointerDownScroll.y-e.y;(Math.abs(t)>3||Math.abs(i)>3)&&this._pointerDone()},t}),/*! 177 * Tap listener v2.0.0 178 * listens to taps 179 * MIT license 180 */ 181function(e,t){"function"==typeof define&&define.amd?define("tap-listener/tap-listener",["unipointer/unipointer"],function(i){return t(e,i)}):"object"==typeof module&&module.exports?module.exports=t(e,require("unipointer")):e.TapListener=t(e,e.Unipointer)}(window,function(e,t){function i(e){this.bindTap(e)}var n=i.prototype=Object.create(t.prototype);return n.bindTap=function(e){e&&(this.unbindTap(),this.tapElement=e,this._bindStartEvent(e,!0))},n.unbindTap=function(){this.tapElement&&(this._bindStartEvent(this.tapElement,!0),delete this.tapElement)},n.pointerUp=function(i,n){if(!this.isIgnoringMouseUp||"mouseup"!=i.type){var r=t.getPointerPoint(n),o=this.tapElement.getBoundingClientRect(),s=e.pageXOffset,a=e.pageYOffset,l=r.x>=o.left+s&&r.x<=o.right+s&&r.y>=o.top+a&&r.y<=o.bottom+a;if(l&&this.emitEvent("tap",[i,n]),"mouseup"!=i.type){this.isIgnoringMouseUp=!0;var u=this;setTimeout(function(){delete u.isIgnoringMouseUp},400)}}},n.destroy=function(){this.pointerDone(),this.unbindTap()},i}),function(e,t){"function"==typeof define&&define.amd?define("flickity/js/prev-next-button",["./flickity","tap-listener/tap-listener","fizzy-ui-utils/utils"],function(i,n,r){return t(e,i,n,r)}):"object"==typeof module&&module.exports?module.exports=t(e,require("./flickity"),require("tap-listener"),require("fizzy-ui-utils")):t(e,e.Flickity,e.TapListener,e.fizzyUIUtils)}(window,function(e,t,i,n){"use strict";function r(e,t){this.direction=e,this.parent=t,this._create()}function o(e){return"string"==typeof e?e:"M "+e.x0+",50 L "+e.x1+","+(e.y1+50)+" L "+e.x2+","+(e.y2+50)+" L "+e.x3+",50 L "+e.x2+","+(50-e.y2)+" L "+e.x1+","+(50-e.y1)+" Z"}var s="http://www.w3.org/2000/svg";r.prototype=Object.create(i.prototype),r.prototype._create=function(){this.isEnabled=!0,this.isPrevious=this.direction==-1;var e=this.parent.options.rightToLeft?1:-1;this.isLeft=this.direction==e;var t=this.element=document.createElement("button");t.className="flickity-button flickity-prev-next-button",t.className+=this.isPrevious?" previous":" next",t.setAttribute("type","button"),this.disable(),t.setAttribute("aria-label",this.isPrevious?"Previous":"Next");var i=this.createSVG();t.appendChild(i),this.on("tap",this.onTap),this.parent.on("select",this.update.bind(this)),this.on("pointerDown",this.parent.childUIPointerDown.bind(this.parent))},r.prototype.activate=function(){this.bindTap(this.element),this.element.addEventListener("click",this),this.parent.element.appendChild(this.element)},r.prototype.deactivate=function(){this.parent.element.removeChild(this.element),i.prototype.destroy.call(this),this.element.removeEventListener("click",this)},r.prototype.createSVG=function(){var e=document.createElementNS(s,"svg");e.setAttribute("class","flickity-button-icon"),e.setAttribute("viewBox","0 0 100 100");var t=document.createElementNS(s,"path"),i=o(this.parent.options.arrowShape);return t.setAttribute("d",i),t.setAttribute("class","arrow"),this.isLeft||t.setAttribute("transform","translate(100, 100) rotate(180) "),e.appendChild(t),e},r.prototype.onTap=function(){if(this.isEnabled){this.parent.uiChange();var e=this.isPrevious?"previous":"next";this.parent[e]()}},r.prototype.handleEvent=n.handleEvent,r.prototype.onclick=function(e){var t=document.activeElement;t&&t==this.element&&this.onTap(e,e)},r.prototype.enable=function(){this.isEnabled||(this.element.disabled=!1,this.isEnabled=!0)},r.prototype.disable=function(){this.isEnabled&&(this.element.disabled=!0,this.isEnabled=!1)},r.prototype.update=function(){var e=this.parent.slides;if(this.parent.options.wrapAround&&e.length>1)return void this.enable();var t=e.length?e.length-1:0,i=this.isPrevious?0:t,n=this.parent.selectedIndex==i?"disable":"enable";this[n]()},r.prototype.destroy=function(){this.deactivate()},n.extend(t.defaults,{prevNextButtons:!0,arrowShape:{x0:10,x1:60,y1:50,x2:70,y2:40,x3:30}}),t.createMethods.push("_createPrevNextButtons");var a=t.prototype;return a._createPrevNextButtons=function(){this.options.prevNextButtons&&(this.prevButton=new r((-1),this),this.nextButton=new r(1,this),this.on("activate",this.activatePrevNextButtons))},a.activatePrevNextButtons=function(){this.prevButton.activate(),this.nextButton.activate(),this.on("deactivate",this.deactivatePrevNextButtons)},a.deactivatePrevNextButtons=function(){this.prevButton.deactivate(),this.nextButton.deactivate(),this.off("deactivate",this.deactivatePrevNextButtons)},t.PrevNextButton=r,t}),function(e,t){"function"==typeof define&&define.amd?define("flickity/js/page-dots",["./flickity","tap-listener/tap-listener","fizzy-ui-utils/utils"],function(i,n,r){return t(e,i,n,r)}):"object"==typeof module&&module.exports?module.exports=t(e,require("./flickity"),require("tap-listener"),require("fizzy-ui-utils")):t(e,e.Flickity,e.TapListener,e.fizzyUIUtils)}(window,function(e,t,i,n){function r(e){this.parent=e,this._create()}r.prototype=new i,r.prototype._create=function(){this.holder=document.createElement("ol"),this.holder.className="flickity-page-dots",this.dots=[],this.on("tap",this.onTap),this.on("pointerDown",this.parent.childUIPointerDown.bind(this.parent))},r.prototype.activate=function(){this.setDots(),this.bindTap(this.holder),this.parent.element.appendChild(this.holder)},r.prototype.deactivate=function(){this.parent.element.removeChild(this.holder),i.prototype.destroy.call(this)},r.prototype.setDots=function(){var e=this.parent.slides.length-this.dots.length;e>0?this.addDots(e):e<0&&this.removeDots(-e)},r.prototype.addDots=function(e){for(var t=document.createDocumentFragment(),i=[],n=this.dots.length,r=n+e,o=n;o<r;o++){var s=document.createElement("li");s.className="dot",s.setAttribute("aria-label","Page dot "+(o+1)),t.appendChild(s),i.push(s)}this.holder.appendChild(t),this.dots=this.dots.concat(i)},r.prototype.removeDots=function(e){var t=this.dots.splice(this.dots.length-e,e);t.forEach(function(e){this.holder.removeChild(e)},this)},r.prototype.updateSelected=function(){this.selectedDot&&(this.selectedDot.className="dot",this.selectedDot.removeAttribute("aria-current")),this.dots.length&&(this.selectedDot=this.dots[this.parent.selectedIndex],this.selectedDot.className="dot is-selected",this.selectedDot.setAttribute("aria-current","step"))},r.prototype.onTap=function(e){var t=e.target;if("LI"==t.nodeName){this.parent.uiChange();var i=this.dots.indexOf(t);this.parent.select(i)}},r.prototype.destroy=function(){this.deactivate()},t.PageDots=r,n.extend(t.defaults,{pageDots:!0}),t.createMethods.push("_createPageDots");var o=t.prototype;return o._createPageDots=function(){this.options.pageDots&&(this.pageDots=new r(this),this.on("activate",this.activatePageDots),this.on("select",this.updateSelectedPageDots),this.on("cellChange",this.updatePageDots),this.on("resize",this.updatePageDots),this.on("deactivate",this.deactivatePageDots))},o.activatePageDots=function(){this.pageDots.activate()},o.updateSelectedPageDots=function(){this.pageDots.updateSelected()},o.updatePageDots=function(){this.pageDots.setDots()},o.deactivatePageDots=function(){this.pageDots.deactivate()},t.PageDots=r,t}),function(e,t){"function"==typeof define&&define.amd?define("flickity/js/player",["ev-emitter/ev-emitter","fizzy-ui-utils/utils","./flickity"],function(e,i,n){return t(e,i,n)}):"object"==typeof module&&module.exports?module.exports=t(require("ev-emitter"),require("fizzy-ui-utils"),require("./flickity")):t(e.EvEmitter,e.fizzyUIUtils,e.Flickity)}(window,function(e,t,i){function n(e){this.parent=e,this.state="stopped",this.onVisibilityChange=this.visibilityChange.bind(this),this.onVisibilityPlay=this.visibilityPlay.bind(this)}n.prototype=Object.create(e.prototype),n.prototype.play=function(){if("playing"!=this.state){var e=document.hidden;if(e)return void document.addEventListener("visibilitychange",this.onVisibilityPlay);this.state="playing",document.addEventListener("visibilitychange",this.onVisibilityChange),this.tick()}},n.prototype.tick=function(){if("playing"==this.state){var e=this.parent.options.autoPlay;e="number"==typeof e?e:3e3;var t=this;this.clear(),this.timeout=setTimeout(function(){t.parent.next(!0),t.tick()},e)}},n.prototype.stop=function(){this.state="stopped",this.clear(),document.removeEventListener("visibilitychange",this.onVisibilityChange)},n.prototype.clear=function(){clearTimeout(this.timeout)},n.prototype.pause=function(){"playing"==this.state&&(this.state="paused",this.clear())},n.prototype.unpause=function(){"paused"==this.state&&this.play()},n.prototype.visibilityChange=function(){var e=document.hidden;this[e?"pause":"unpause"]()},n.prototype.visibilityPlay=function(){this.play(),document.removeEventListener("visibilitychange",this.onVisibilityPlay)},t.extend(i.defaults,{pauseAutoPlayOnHover:!0}),i.createMethods.push("_createPlayer");var r=i.prototype;return r._createPlayer=function(){this.player=new n(this),this.on("activate",this.activatePlayer),this.on("uiChange",this.stopPlayer),this.on("pointerDown",this.stopPlayer),this.on("deactivate",this.deactivatePlayer)},r.activatePlayer=function(){this.options.autoPlay&&(this.player.play(),this.element.addEventListener("mouseenter",this))},r.playPlayer=function(){this.player.play()},r.stopPlayer=function(){this.player.stop()},r.pausePlayer=function(){this.player.pause()},r.unpausePlayer=function(){this.player.unpause()},r.deactivatePlayer=function(){this.player.stop(),this.element.removeEventListener("mouseenter",this)},r.onmouseenter=function(){this.options.pauseAutoPlayOnHover&&(this.player.pause(),this.element.addEventListener("mouseleave",this))},r.onmouseleave=function(){this.player.unpause(),this.element.removeEventListener("mouseleave",this)},i.Player=n,i}),function(e,t){"function"==typeof define&&define.amd?define("flickity/js/add-remove-cell",["./flickity","fizzy-ui-utils/utils"],function(i,n){return t(e,i,n)}):"object"==typeof module&&module.exports?module.exports=t(e,require("./flickity"),require("fizzy-ui-utils")):t(e,e.Flickity,e.fizzyUIUtils)}(window,function(e,t,i){function n(e){var t=document.createDocumentFragment();return e.forEach(function(e){t.appe
181ndChild(e.element)}),t}var r=t.prototype;return r.insert=function(e,t){var i=this._makeCells(e);if(i&&i.length){var r=this.cells.length;t=void 0===t?r:t;var o=n(i),s=t==r;if(s)this.slider.appendChild(o);else{var a=this.cells[t].element;this.slider.insertBefore(o,a)}if(0===t)this.cells=i.concat(this.cells);else if(s)this.cells=this.cells.concat(i);else{var l=this.cells.splice(t,r-t);this.cells=this.cells.concat(i).concat(l)}this._sizeCells(i),this.cellChange(t,!0)}},r.append=function(e){this.insert(e,this.cells.length)},r.prepend=function(e){this.insert(e,0)},r.remove=function(e){var t=this.getCells(e);if(t&&t.length){var n=this.cells.length-1;t.forEach(function(e){e.remove();var t=this.cells.indexOf(e);n=Math.min(t,n),i.removeFrom(this.cells,e)},this),this.cellChange(n,!0)}},r.cellSizeChange=function(e){var t=this.getCell(e);if(t){t.getSize();var i=this.cells.indexOf(t);this.cellChange(i)}},r.cellChange=function(e,t){var i=this.selectedElement;this._positionCells(e),this._getWrapShiftCells(),this.setGallerySize();var n=this.getCell(i);n&&(this.selectedIndex=this.getCellSlideIndex(n)),this.selectedIndex=Math.min(this.slides.length-1,this.selectedIndex),this.emitEvent("cellChange",[e]),this.select(this.selectedIndex),t&&this.positionSliderAtSelected()},t}),function(e,t){"function"==typeof define&&define.amd?define("flickity/js/lazyload",["./flickity","fizzy-ui-utils/utils"],function(i,n){return t(e,i,n)}):"object"==typeof module&&module.exports?module.exports=t(e,require("./flickity"),require("fizzy-ui-utils")):t(e,e.Flickity,e.fizzyUIUtils)}(window,function(e,t,i){"use strict";function n(e){if("IMG"==e.nodeName){var t=e.getAttribute("data-flickity-lazyload"),n=e.getAttribute("data-flickity-lazyload-src"),r=e.getAttribute("data-flickity-lazyload-srcset");if(t||n||r)return[e]}var o="img[data-flickity-lazyload], img[data-flickity-lazyload-src], img[data-flickity-lazyload-srcset]",s=e.querySelectorAll(o);return i.makeArray(s)}function r(e,t){this.img=e,this.flickity=t,this.load()}t.createMethods.push("_createLazyload");var o=t.prototype;return o._createLazyload=function(){this.on("select",this.lazyLoad)},o.lazyLoad=function(){var e=this.options.lazyLoad;if(e){var t="number"==typeof e?e:0,i=this.getAdjacentCellElements(t),o=[];i.forEach(function(e){var t=n(e);o=o.concat(t)}),o.forEach(function(e){new r(e,this)},this)}},r.prototype.handleEvent=i.handleEvent,r.prototype.load=function(){this.img.addEventListener("load",this),this.img.addEventListener("error",this);var e=this.img.getAttribute("data-flickity-lazyload")||this.img.getAttribute("data-flickity-lazyload-src"),t=this.img.getAttribute("data-flickity-lazyload-srcset");this.img.src=e,t&&this.img.setAttribute("srcset",t),this.img.removeAttribute("data-flickity-lazyload"),this.img.removeAttribute("data-flickity-lazyload-src"),this.img.removeAttribute("data-flickity-lazyload-srcset")},r.prototype.onload=function(e){this.complete(e,"flickity-lazyloaded")},r.prototype.onerror=function(e){this.complete(e,"flickity-lazyerror")},r.prototype.complete=function(e,t){this.img.removeEventListener("load",this),this.img.removeEventListener("error",this);var i=this.flickity.getParentCell(this.img),n=i&&i.element;this.flickity.cellSizeChange(n),this.img.classList.add(t),this.flickity.dispatchEvent("lazyLoad",e,n)},t.LazyLoader=r,t}),/*! 182 * Flickity v2.1.2 183 * Touch, responsive, flickable carousels 184 * 185 * Licensed GPLv3 for open source use 186 * or Flickity Commercial License for commercial use 187 * 188 * https://flickity.metafizzy.co 189 * Copyright 2015-2018 Metafizzy 190 */ 191function(e,t){"function"==typeof define&&define.amd?define("flickity/js/index",["./flickity","./drag","./prev-next-button","./page-dots","./player","./add-remove-cell","./lazyload"],t):"object"==typeof module&&module.exports&&(module.exports=t(require("./flickity"),require("./drag"),require("./prev-next-button"),require("./page-dots"),require("./player"),require("./add-remove-cell"),require("./lazyload")))}(window,function(e){return e}),/*! 192 * Flickity asNavFor v2.0.1 193 * enable asNavFor for Flickity 194 */ 195function(e,t){"function"==typeof define&&define.amd?define("flickity-as-nav-for/as-nav-for",["flickity/js/index","fizzy-ui-utils/utils"],t):"object"==typeof module&&module.exports?module.exports=t(require("flickity"),require("fizzy-ui-utils")):e.Flickity=t(e.Flickity,e.fizzyUIUtils)}(window,function(e,t){function i(e,t,i){return(t-e)*i+e}e.createMethods.push("_createAsNavFor");var n=e.prototype;return n._createAsNavFor=function(){this.on("activate",this.activateAsNavFor),this.on("deactivate",this.deactivateAsNavFor),this.on("destroy",this.destroyAsNavFor);var e=this.options.asNavFor;if(e){var t=this;setTimeout(function(){t.setNavCompanion(e)})}},n.setNavCompanion=function(i){i=t.getQueryElement(i);var n=e.data(i);if(n&&n!=this){this.navCompanion=n;var r=this;this.onNavCompanionSelect=function(){r.navCompanionSelect()},n.on("select",this.onNavCompanionSelect),this.on("staticClick",this.onNavStaticClick),this.navCompanionSelect(!0)}},n.navCompanionSelect=function(e){if(this.navCompanion){var t=this.navCompanion.selectedCells[0],n=this.navCompanion.cells.indexOf(t),r=n+this.navCompanion.selectedCells.length-1,o=Math.floor(i(n,r,this.navCompanion.cellAlign));if(this.selectCell(o,!1,e),this.removeNavSelectedElements(),!(o>=this.cells.length)){var s=this.cells.slice(n,r+1);this.navSelectedElements=s.map(function(e){return e.element}),this.changeNavSelectedClass("add")}}},n.changeNavSelectedClass=function(e){this.navSelectedElements.forEac
vendor: 4,790 bytes, lines 195-200
195h(function(t){t.classList[e]("is-nav-selected")})},n.activateAsNavFor=function(){this.navCompanionSelect(!0)},n.removeNavSelectedElements=function(){this.navSelectedElements&&(this.changeNavSelectedClass("remove"),delete this.navSelectedElements)},n.onNavStaticClick=function(e,t,i,n){"number"==typeof n&&this.navCompanion.selectCell(n)},n.deactivateAsNavFor=function(){this.removeNavSelectedElements()},n.destroyAsNavFor=function(){this.navCompanion&&(this.navCompanion.off("select",this.onNavCompanionSelect),this.off("staticClick",this.onNavStaticClick),delete this.navCompanion)},e}),/*! 196 * imagesLoaded v4.1.4 197 * JavaScript is all like "You images are done yet or what?" 198 * MIT License 199 */ 200function(e,t){"use strict";"function"==typeof define&&define.amd?define("imagesloaded/imagesloaded",["ev-emitter/ev-emitter"],function(i){return t(e,i)}):"object"==typeof module&&module.exports?module.exports=t(e,require("ev-emitter")):e.imagesLoaded=t(e,e.EvEmitter)}("undefined"!=typeof window?window:this,function(e,t){function i(e,t){for(var i in t)e[i]=t[i];return e}function n(e){if(Array.isArray(e))return e;var t="object"==typeof e&&"number"==typeof e.length;return t?u.call(e):[e]}function r(e,t,o){if(!(this instanceof r))return new r(e,t,o);var s=e;return"string"==typeof e&&(s=document.querySelectorAll(e)),s?(this.elements=n(s),this.options=i({},this.options),"function"==typeof t?o=t:i(this.options,t),o&&this.on("always",o),this.getImages(),a&&(this.jqDeferred=new a.Deferred),void setTimeout(this.check.bind(this))):void l.error("Bad element for imagesLoaded "+(s||e))}function o(e){this.img=e}function s(e,t){this.url=e,this.element=t,this.img=new Image}var a=e.jQuery,l=e.console,u=Array.prototype.slice;r.prototype=Object.create(t.prototype),r.prototype.options={},r.prototype.getImages=function(){this.images=[],this.elements.forEach(this.addElementImages,this)},r.prototype.addElementImages=function(e){"IMG"==e.nodeName&&this.addImage(e),this.options.background===!0&&this.addElementBackgroundImages(e);var t=e.nodeType;if(t&&c[t]){for(var i=e.querySelectorAll("img"),n=0;n<i.length;n++){var r=i[n];this.addImage(r)}if("string"==typeof this.options.background){var o=e.querySelectorAll(this.options.background);for(n=0;n<o.length;n++){var s=o[n];this.addElementBackgroundImages(s)}}}};var c={1:!0,9:!0,11:!0};return r.prototype.addElementBackgroundImages=function(e){var t=getComputedStyle(e);if(t)for(var i=/url\((['"])?(.*?)\1\)/gi,n=i.exec(t.backgroundImage);null!==n;){var r=n&&n[2];r&&this.addBackground(r,e),n=i.exec(t.backgroundImage)}},r.prototype.addImage=function(e){var t=new o(e);this.images.push(t)},r.prototype.addBackground=function(e,t){var i=new s(e,t);this.images.push(i)},r.prototype.check=function(){function e(e,i,n){setTimeout(function(){t.progress(e,i,n)})}var t=this;return this.progressedCount=0,this.hasAnyBroken=!1,this.images.length?void this.images.forEach(function(t){t.once("progress",e),t.check()}):void this.complete()},r.prototype.progress=function(e,t,i){this.progressedCount++,this.hasAnyBroken=this.hasAnyBroken||!e.isLoaded,this.emitEvent("progress",[this,e,t]),this.jqDeferred&&this.jqDeferred.notify&&this.jqDeferred.notify(this,e),this.progressedCount==this.images.length&&this.complete(),this.options.debug&&l&&l.log("progress: "+i,e,t)},r.prototype.complete=function(){var e=this.hasAnyBroken?"fail":"done";if(this.isComplete=!0,this.emitEvent(e,[this]),this.emitEvent("always",[this]),this.jqDeferred){var t=this.hasAnyBroken?"reject":"resolve";this.jqDeferred[t](this)}},o.prototype=Object.create(t.prototype),o.prototype.check=function(){var e=this.getIsImageComplete();return e?void this.confirm(0!==this.img.naturalWidth,"naturalWidth"):(this.proxyImage=new Image,this.proxyImage.addEventListener("load",this),this.proxyImage.addEventListener("error",this),this.img.addEventListener("load",this),this.img.addEventListener("error",this),void(this.proxyImage.src=this.img.src))},o.prototype.getIsImageComplete=function(){return this.img.complete&&this.img.naturalWidth},o.prototype.confirm=function(e,t){this.isLoaded=e,this.emitEvent("progress",[this,this.img,t])},o.prototype.handleEvent=function(e){var t="on"+e.type;this[t]&&this[t](e)},o.prototype.onload=function(){this.confirm(!0,"onload"),this.unbindEvents()},o.prototype.onerror=function(){this.confirm(!1,"onerror"),this.unbindEvents()},o.prototype.unbindEvents=function(){this.proxyImage.removeEventListener("load",this),this.proxyImage.removeEventListener("error",this),this.img.removeEventListener("load",this),this.img.removeEventListener("error",this)},s.prototype=Object.create(o.prototype),s.prototype.check=function(){this.img.addEventListener("load",this),this.img.addEventListener("error",this),this.img.src=this.url;var e=this.getIsImageComplete();
200e&&(this.confirm(0!==this.img.naturalWidth,"naturalWidth"),this.unbindEvents())},s.prototype.unbindEvents=function(){this.img.removeEventListener("load",this),this.img.removeEventListener("error",this)},s.prototype.confirm=function(e,t){this.isLoaded=e,this.emitEvent("progress",[this,this.element,t])},r.makeJQueryPlugin=function(t){t=t||e.jQuery,t&&(a=t,a.fn.imagesLoaded=function(e,t){var i=new r(this,e,t);return i.jqDeferred.promise(a(this))})},r.makeJQueryPlugin(),r}),/*! 201 * Flickity imagesLoaded v2.0.0 202 * enables imagesLoaded option for Flickity 203 */ 204function(e,t){"function"==typeof define&&define.amd?define(["flickity/js/index","imagesloaded/imagesloaded"],function(i,n){return t(e,i,n)}):"object"==typeof module&&module.exports?module.exports=t(e,require("flickity"),require("imagesloaded")):e.Flickity=t(e,e.Flickity,e.imagesLoaded)}(window,function(e,t,i){"use strict";t.createMethods.push("_createImagesLoaded");var n=t.prototype;return n._createImagesLoaded=function(){this.on("activate",this.imagesLoaded)},n.imagesLoaded=function(){function e(e,i){var n=t.getParentCell(i.img);t.cellSizeChange(n&&n.element),t.options.freeScroll||t.positionSliderAtSelected()}if(this.options.imagesLoaded){var t=this;i(this.slider).on("progress",e)}},t}),/*! 205 * flickity.fullscreen.js 206 */ 207/*! 208 * Flickity fullscreen v1.1.0 209 * Enable fullscreen view for Flickity 210 */ 211function(e,t){"function"==typeof define&&define.amd?define(["flickity/js/index"],t):"object"==typeof module&&module.exports?module.exports=t(require("flickity")):t(e.Flickity)}(window,function(e){"use strict";function t(e,t){this.name=e,this.createButton(),this.createIcon(),this.onClick=function(){t[e+"Fullscreen"]()},this.clickHandler=this.onClick.bind(this)}function i(e){return e[0].toUpperCase()+e.slice(1)}e.createMethods.push("_createFullscreen");var n=e.prototype;n._createFullscreen=function(){this.isFullscreen=!1,this.options.fullscreen&&(this.viewFullscreenButton=new t("view",this),this.exitFullscreenButton=new t("exit",this),this.on("activate",this._changeFullscreenActive),this.on("deactivate",this._changeFullscreenActive))},n._changeFullscreenActive=function(){var e=this.isActive?"appendChild":"removeChild";this.element[e](this.viewFullscreenButton.element),this.element[e](this.exitFullscreenButton.element);var t=this.isActive?"activate":"deactivate";this.viewFullscreenButton[t](),this.exitFullscreenButton[t]()},n.viewFullscreen=function(){this._changeFullscreen(!0),this.focus()},n.exitFullscreen=function(){this._changeFullscreen(!1)},n._changeFullscreen=function(e){if(this.isFullscreen!=e){this.isFullscreen=e;var t=e?"add":"remove";document.documentElement.classList[t]("is-flickity-fullscreen"),this.element.classList[t]("is-fullscreen"),this.resize(),this.isFullscreen&&this.reposition(),this.dispatchEvent("fullscreenChange",null,[e])}},n.toggleFullscreen=function(){this._changeFullscreen(!this.isFullscreen)};var r=n.setGallerySize;n.setGallerySize=function(){this.options.setGallerySize&&(this.isFullscreen?this.viewport.style.height="":r.call(this))},e.keyboardHandlers[27]=function(){this.exitFullscreen()},t.prototype.createButton=function(){var e=this.element=document.createElement("button");e.className="flickity-button flickity-fullscreen-button flickity-fullscreen-button-"+this.name;var t=i(this.name+" full-screen");e.setAttribute("aria-label",t),e.title=t};var o="http://www.w3.org/2000/svg",s={view:"M209,131.74269 L209,153.699805 C209,158.22846 205.2875,161.933723 200.75,161.933723 L162.25,161.933723 L162.25,200.358674 C162.25,204.887329 158.5375,208.592593 154,208.592593 L132,208.592593 C127.4625,208.592593 123.75,204.887329 123.75,200.358674 L123.75,161.933723 L85.25,161.933723 C80.7125,161.933723 77,158.22846 77,153.699805 L77,131.74269 C77,127.214035 80.7125,123.508772 85.25,123.508772 L123.75,123.508772 L123.75,85.0838207 C123.75,80.5551657 127.4625,76.8499025 132,76.8499025 L154,76.8499025 C158.5375,76.8499025 162.25,80.5551657 162.25,85.0838207 L162.25,123.508772 L200.75,123.508772 C205.2875,123.508772 209,127.214035 209,131.74269 Z M347.1875,327.092398 L327.73125,346.510721 C321.26875,352.960624 310.81875,352.960624 304.425,346.510721 L235.8125,278.100585 C232.71875,275.012865 231,270.82729 231,266.435867 L231,255.251462 C206.73125,274.189474 176.20625,285.442495 143,285.442495 C64.00625,285.442495 0,221.561014 0,142.721248 C0,63.8814815 64.00625,0 143,0 C221.99375,0 286,63.8814815 286,142.721248 C286,175.862768 274.725,206.328265 255.75,230.549708 L266.95625,230.549708 C271.35625,230.549708 275.55,232.265107 278.64375,235.352827 L347.1875,303.762963 C353.58125,310.212865 353.58125,320.642495 347.1875,327.092398 Z M236.5,142.721248 C236.5,91.1220273 194.7,49.4035088 143,49.4035088 C91.3,49.4035088 49.5,91.1220273 49.5,142.721248 C49.5,194.320468 91.3,236.038986 143,236.038986 C194.7,236.038986 236.5,194.320468 236.5,142.721248 Z",exit:"M242.72,176 L342.79,75.93 C355.07,63.65 355.07,43.74 342.79,31.45 L320.55,9.21 C308.27,-3.07 288.36,-3.07 276.07,9.21 L176,109.28 L75.93,9.21 C63.65,-3.07 43.74,-3.07 31.45,9.21 L9.21,31.45 C-3.07,43.73 -3.07,63.64 9.21,75.93 L109.28,176 L9.21,276.07 C-3.07,288.35 -3.07,308.26 9.21,320.55 L31.45,342.79 C43.73,355.07 63.65,355.07 75.93,342.79 L176,242.72 L276.07,342.79 C288.35,355.07 308.27,355.07 320.55,342.79 L342.79,320.55 C355.07,308.27 355.07,288.36 342.79,276.07 L242.72,176 Z"};return t.prototype.createIcon=function(){var e=document.createElementNS(o,"svg");e.setAttribute("class","flickity-button-icon"),e.setAttribute("viewBox","0 0 352 352");var t=document.createElementNS(o,"path"),i=s[this.name];t.setAttribute("d",i),e.appendChild(t),this.element.appendChild(e)},t.prototype.activate=function(){this.element.addEventListener("click",this.clickHandler)},t.prototype.deactivate=function(){this.element.removeEventListener("click",this.clickHandler)},e.FullscreenButton=t,e}),/*! 212 * jquery-cookie.js 213 */ 214/*! 215 * jQuery Cookie Plugin v1.4.1 216 * https://github.com/carhartl/jquery-cookie 217 * 218 * Copyright 2006, 2014 Klaus Hartl 219 * Released under the MIT license 220 */ 221function(e){"function"==typeof define&&define.amd?define(["jquery"],e):"object"==typeof exports?module.exports=e(require("jquery")):e(t)}(function(e){function t(e){return a.raw?e:encodeURIComponent(e)}function i(e){return a.raw?e:decodeURIComponent(e)}function n(e){return t(a.json?JSON.stringify(e):String(e))}function r(e){0===e.indexOf('"')&&(e=e.slice(1,-1).replace(/\\"/g,'"').replace(/\\\\/g,"\\"));try{return e=decodeURIComponent(e.replace(s," ")),a.json?JSON.parse(e):e}catch(e){}}function o(t,i){var n=a.raw?t:r(t);return e.isFunction(i)?i(n):n}var s=/\+/g,a=e.cookie=function(r,s,l){if(arguments.length>1&&!e.isFunction(s)){if(l=e.extend({},a.defaults,l),"number"==typeof l.expires){var u=l.expires,c=l.expires=new Date;c.setMilliseconds(c.getMilliseconds()+864e5*u)}return document.cookie=[t(r),"=",n(s),l.expires?"; expires="+l.expires.toUTCString():"",l.path?"; path="+l.path:"",l.domain?"; domain="+l.domain:"",l.secure?"; secure":""].join("")}for(var d=r?void 0:{},f=document.cookie?document.cookie.split("; "):[],h=0,p=f.length;h<p;h++){var m=f[h].split("="),g=i(m.shift()),v=m.join("=");if(r===g){d=o(v,s);break}r||void 0===(v=o(v))||(d[g]=v)}return d};a.defaults={},e.removeCookie=function(t,i){return e.cookie(t,"",e.extend({},i,{expires:-1})),!e.cookie(t)}}),function(e){"use strict";e.fn.fitVids=function(t){var i={customSelector:null,ignore:null};if(!document.getElementById("fit-vids-style")){var n=document.head||document.getElementsByTagName("head")[0],r=".fluid-width-video-wrapper{width:100%;position:relative;padding:0;}.fluid-width-video-wrapper iframe,.fluid-width-video-wrapper object,.fluid-width-video-wrapper embed {position:absolute;top:0;left:0;width:100%;height:100%;}",o=document.createElement("div");o.innerHTML='<p>x</p><style id="fit-vids-style">'+r+"</style>",n.appendChild(o.childNodes[1])}return t&&e.extend(i,t),this.each(function(){var t=['iframe[src*="player.vimeo.com"]','
vendor: 15,239 bytes, lines 221-233
221iframe[src*="youtube.com"]','iframe[src*="youtube-nocookie.com"]','iframe[src*="kickstarter.com"][src*="video.html"]','iframe[src*="wistia.com"]','iframe[src*="wistia.net"]',"object","embed"];i.customSelector&&t.push(i.customSelector);var n=".fitvidsignore";i.ignore&&(n=n+", "+i.ignore);var r=e(this).find(t.join(","));r=r.not("object object"),r=r.not(n),r.each(function(t){var i=e(this);if(!(i.parents(n).length>0||"embed"===this.tagName.toLowerCase()&&i.parent("object").length||i.parent(".fluid-width-video-wrapper").length)){i.css("height")||i.css("width")||!isNaN(i.attr("height"))&&!isNaN(i.attr("width"))||(i.attr("height",9),i.attr("width",16));var r="object"===this.tagName.toLowerCase()||i.attr("height")&&!isNaN(parseInt(i.attr("height"),10))?parseInt(i.attr("height"),10):i.height(),o=isNaN(parseInt(i.attr("width"),10))?i.width():parseInt(i.attr("width"),10),s=r/o;if(!i.attr("id")){var a="fitvid"+t;i.attr("id",a)}i.wrap('<div class="fluid-width-video-wrapper"></div>').parent(".fluid-width-video-wrapper").css("padding-top",100*s+"%"),i.removeAttr("height").removeAttr("width")}})})}}(window.jQuery||window.Zepto),/*! 222 * rivets-cart.js 223 */ 224function(){var e,i,n,r,o,s,a=function(e,t){return function(){return e.apply(t,arguments)}};i=function(){function e(){this.update=a(this.update,this)}return e.prototype.update=function(e){var t,i,n;for(i in e)n=e[i],"items"!==i&&(this[i]=n);return this.items=function(){var i,n,o,s;for(o=e.items,s=[],i=0,n=o.length;i<n;i++)t=o[i],s.push(new r(t));return s}()},e}(),r=function(){function e(e){this.propertyArray=a(this.propertyArray,this),this.update=a(this.update,this),this.update(e)}return e.prototype.update=function(e){var t,i;for(t in e)i=e[t],"properties"!==t&&(this[t]=i);return this.properties=n.Utils.extend({},e.properties)},e.prototype.propertyArray=function(){var e,t,i,n;i=this.properties,n=[];for(e in i)t=i[e],n.push({name:e,value:t});return n},e}(),n={settings:{debug:!1,dataAPI:!0,requestBodyClass:null,rivetsModels:{},currency:null,moneyFormat:null,moneyWithCurrencyFormat:null,weightUnit:"g",weightPrecision:0},cart:new i},n.init=function(e,i){return null==i&&(i={}),n.configure(i),n.Utils.log("Initialising CartJS."),n.cart.update(e),n.settings.dataAPI&&(n.Utils.log('"dataAPI" setting is true, initialising Data API.'),n.Data.init()),n.settings.requestBodyClass&&(n.Utils.log('"requestBodyClass" set, adding event listeners.'),t(document).on("cart.requestStarted",function(){return t("body").addClass(n.settings.requestBodyClass)}),t(document).on("cart.requestComplete",function(){return t("body").removeClass(n.settings.requestBodyClass)})),n.Rivets.init(),t(document).trigger("cart.ready",[n.cart])},n.configure=function(e){return null==e&&(e={}),n.Utils.extend(n.settings,e)},null==window.console&&(window.console={},window.console.log=function(){}),n.Utils={log:function(){return n.Utils.console(console.log,arguments)},error:function(){return n.Utils.console(console.error,arguments)},console:function(e,t){if(n.settings.debug&&"undefined"!=typeof console&&null!==console)return t=Array.prototype.slice.call(t),t.unshift("[CartJS]:"),e.apply(console,t)},wrapKeys:function(e,t,i){var n,r,o;null==t&&(t="properties"),o={};for(n in e)r=e[n],o[""+t+"["+n+"]"]=null!=i?i:r;return o},unwrapKeys:function(e,t,i){var n,r,o,s;null==t&&(t="properties"),r={};for(n in e)s=e[n],o=n.replace(""+t+"[","").replace("]",""),r[o]=null!=i?i:s;return r},extend:function(e,t){var i,n;for(i in t)n=t[i],e[i]=n;return e},clone:function(e){var t,i;if(null==e||"object"!=typeof e)return e;i=new e.constructor;for(t in e)i[t]=clone(e[t]);return i},isArray:Array.isArray||function(e){return"[object Array]"==={}.toString.call(e)},ensureArray:function(e){return n.Utils.isArray(e)?e:null!=e?[e]:[]},formatMoney:function(e,t,i,r){var o,s;return null==r&&(r=""),r||(r=n.settings.currency),null!=window.Currency&&r!==n.settings.currency&&(e=Currency.convert(e,n.settings.currency,r),null!=(null!=(o=window.Currency)?o.moneyFormats:void 0)&&r in window.Currency.moneyFormats&&(t=window.Currency.moneyFormats[r][i])),null!=(null!=(s=window.Shopify)?s.formatMoney:void 0)?Shopify.formatMoney(e,t):e},getSizedImageUrl:function(e,t){var i,n;return null!=(null!=(i=window.Shopify)&&null!=(n=i.Image)?n.getSizedImageUrl:void 0)?e?Shopify.Image.getSizedImageUrl(e,t):Shopify.Image.getSizedImageUrl("https://cdn.shopify.com/s/images/admin/no-image-.gif",t).replace("-_","-"):e?e:"https://cdn.shopify.com/s/images/admin/no-image-large.gif"}},s=[],o=!1,n.Queue={add:function(e,i,r){var a;if(null==r&&(r={}),a={url:e,data:i,type:r.type||"POST",dataType:r.dataType||"json",success:n.Utils.ensureArray(r.success),error:n.Utils.ensureArray(r.error),complete:n.Utils.ensureArray(r.complete)},r.updateCart&&a.success.push(n.cart.update),s.push(a),!o)return t(document).trigger("cart.requestStarted",[n.cart]),n.Queue.process()},process:function(){var e;return s.length?(o=!0,e=s.shift(),e.complete=n.Queue.process,t.ajax(e)):(o=!1,void t(document).trigger("cart.requestComplete",[n.cart]))}},n.Core={getCart:function(e){return null==e&&(e={}),e.type="GET",e.updateCart=!0,n.Queue.add(StyleHatch.routes.cart_url+".js",{},e)},addItem:function(e,t,i,r){var o;return null==t&&(t=1),null==i&&(i={}),null==r&&(r={}),o=n.Utils.wrapKeys(i),o.id=e,o.quantity=t,n.Queue.add(StyleHatch.routes.cart_add_url+".js",o,r),n.Core.getCart()},updateItem:function(e,t,i,r){var o;return null==i&&(i={}),null==r&&(r={}),o=n.Utils.wrapKeys(i),o.line=e,null!=t&&(o.quantity=t),r.updateCart=!0,n.Queue.add(StyleHatch.routes.cart_change_url+".js",o,r)},removeItem:function(e,t){return null==t&&(t={}),n.Core.updateItem(e,0,{},t)},updateItemById:function(e,t,i,r){var o;return null==i&&(i={}),null==r&&(r={}),o=n.Utils.wrapKeys(i),o.id=e,null!=t&&(o.quantity=t),r.updateCart=!0,n.Queue.add(StyleHatch.routes.cart_change_url+".js",o,r)},updateItemQuantitiesById:function(e,t){return null==e&&(e={}),null==t&&(t={}),t.updateCart=!0,n.Queue.add(StyleHatch.routes.cart_url+"/update.js",{updates:e},t)},removeItemById:function(e,t){var i;return null==t&&(t={}),i={id:e,quantity:0},t.updateCart=!0,n.Queue.add(StyleHatch.routes.cart_change_url+".js",i,t)},clear:function(e){return null==e&&(e={}),e.updateCart=!0,n.Queue.add(StyleHatch.routes.cart_clear_url+".js",{},e)},getAttribute:function(e,t){return e in n.cart.attributes?n.cart.attributes[e]:t},setAttribute:function(e,t,i){var r;return null==i&&(i={}),r={},r[e]=t,n.Core.setAttributes(r,i)},getAttributes:function(){return n.cart.attributes},setAttributes:function(e,t){return null==e&&(e={}),null==t&&(t={}),t.updateCart=!0,n.Queue.add(StyleHatch.routes.cart_url+"/update.js",n.Utils.wrapKeys(e,"attributes"),t)},clearAttributes:function(e){return null==e&&(e={}),e.updateCart=!0,n.Queue.add(StyleHatch.routes.cart_url+"/update.js",n.Utils.wrapKeys(n.Core.getAttributes(),"attributes",""),e)},getNote:function(){return n.cart.note},setNote:function(e,t){return null==t&&(t={}),t.updateCart=!0,n.Queue.add(StyleHatch.routes.cart_url+"/update.js",{note:e},t)}},e=null,n.Data={init:function(){return e=t(document),n.Data.setEventListeners("on"),n.Data.render(null,n.cart)},destroy:function(){return n.Data.setEventListeners("off")},setEventListeners:function(t){return e[t]("click","[data-cart-add]",n.Data.add),e[t]("click","[data-cart-remove]",n.Data.remove),e[t]("click","[data-cart-remove-id]",n.Data.removeById),e[t]("click","[data-cart-update]",n.Data.update),e[t]("click","[data-cart-update-id]",n.Data.updateById),e[t]("click","[data-cart-clear]",n.Data.clear),e[t]("change","[data-cart-toggle]",n.Data.toggle),e[t]("change","[data-cart-toggle-attribute]",n.Data.toggleAttribute),e[t]("submit","[data-cart-submit]",n.Data.submit),e[t]("cart.requestComplete",n.Data.render)},add:function(e){var i;return e.preventDefault(),i=t(this),n.Core.addItem(i.attr("data-cart-add"),i.attr("data-cart-quantity"))},remove:function(e){var i;return e.preventDefault(),i=t(this),n.Core.removeItem(i.attr("data-cart-remove"))},removeById:function(e){var i;return e.preventDefault(),i=t(this),n.Core.removeItemById(i.attr("data-cart-remove-id"))},update:function(e){var i;return e.preventDefault(),i=t(this),n.Core.updateItem(i.attr("data-cart-update"),i.attr("data-cart-quantity"))},updateById:function(e){var i;return e.preventDefault(),i=t(this),n.Core.updateItemById(i.attr("data-cart-update-id"),i.attr("data-cart-quantity"))},clear:function(e){return e.preventDefault(),n.Core.clear()},toggle:function(e){var i,r;return i=t(this),r=i.attr("data-cart-toggle"),i.is(":checked")?n.Core.addItem(r):n.Core.removeItemById(r)},toggleAttribute:function(e){var i,r;return i=t(this),r=i.attr("data-cart-toggle-attribute"),n.Core.setAttribute(r,i.is(":checked")?"Yes":"")},submit:function(e){var i,r,o,s;return e.preventDefault(),i=t(this).serializeArray(),r=void 0,s=void 0,o={},t.each(i,function(e,t){return"id"===t.name?r=t.value:"quantity"===t.name?s=t.value:t.name.match(/^properties\[\w+\]$/)?o[t.name]=t.value:void 0}),n.Core.addItem(r,s,n.Utils.unwrapKeys(o))},render:function(e,i){var r;return r={item_count:i.item_count,total_price:i.total_price,total_price_money:n.Utils.formatMoney(i.total_price,n.settings.moneyFormat,"money_format",null!=("undefined"!=typeof Currency&&null!==Currency?Currency.currentCurrency:void 0)?Currency.currentCurrency:void 0),total_price_money_with_currency:n.Utils.formatMoney(i.total_price,n.settings.moneyWithCurrencyFormat,"money_with_currency_format",null!=("undefined"!=typeof Currency&&null!==Currency?Currency.currentCurrency:void 0)?Currency.currentCurrency:void 0)},t("[data-cart-render]").each(function(){var e;return e=t(this),e.html(r[e.attr("data-cart-render")])})}},"rivets"in window?(n.Rivets={model:null,boundViews:[],init:function(){return n.Rivets.bindViews()},destroy:function(){return n.Rivets.unbindViews()},bindViews:function(){return n.Utils.log("Rivets.js is present, binding views."),n.Rivets.unbindViews(),n.Rivets.model=n.Utils.extend({cart:n.cart},n.settings.rivetsModels),null!=window.Currency&&(n.Rivets.model.Currency=window.Currency),t("[data-cart-view]").each(function(){var e;return e=rivets.bind(t(this),n.Rivets.model),n.Rivets.boundViews.push(e)})},unbindViews:function(){var e,t,i,r;for(r=n.Rivets.boundViews,t=0,i=r.length;t<i;t++)e=r[t],e.unbind();return n.Rivets.boundViews=[]}},rivets.formatters.eq=function(e,t){return e===t},rivets.formatters.includes=function(e,t){return e.indexOf(t)>=0},rivets.formatters.match=function(e,t,i){return e.match(new RegExp(t,i))},rivets.formatters.lt=function(e,t){return e<t},rivets.formatters.gt=function(e,t){return e>t},rivets.formatters.not=function(e){return!e},rivets.formatters.empty=function(e){return!e.length},rivets.formatters.plus=function(e,t){return parseInt(e)+parseInt(t)},rivets.formatters.minus=function(e,t){return parseInt(e)-parseInt(t)},rivets.formatters.times=function(e,t){return e*t},rivets.formatters.divided_by=function(e,t){return e/t},rivets.formatters.modulo=function(e,t){return e%t},rivets.formatters.prepend=function(e,t){return t+e},rivets.formatters.append=function(e,t){return e+t},rivets.formatters.slice=function(e,t,i){return e.slice(t,i)},rivets.formatters.pluralize=function(e,t,i){return null==i&&(i=t+"s"),n.Utils.isArray(e)&&(e=e.length),1===e?t:i},rivets.formatters.array_element=function(e,t){return e[t]},rivets.formatters.array_first=function(e){return e[0]},rivets.formatters.array_last=function(e){return e[e.length-1]},rivets.formatters.money=function(e,t){return n.Utils.formatMoney(e,n.settings.moneyFormat,"money_format",t)},rivets.formatters.money_with_currency=function(e,t){return n.Utils.formatMoney(e,n.settings.moneyWithCurrencyFormat,"money_with_currency_format",t)},rivets.formatters.weight=function(e){switch(n.settings.weightUnit){case"kg":return(e/1e3).toFixed(n.settings.weightPrecision);case"oz":return(.035274*e).toFixed(n.settings.weightPrecision);case"lb":return(.00220462*e).toFixed(n.settings.weightPrecision);default:return e.toFixed(n.settings.weightPrecision)}},rivets.formatters.weight_with_unit=function(e){return rivets.formatters.weight(e)+n.settings.weightUnit},rivets.formatters.product_image_size=function(e,t){return n.Utils.getSizedImageUrl(e,t)},rivets.formatters.moneyWithCurrency=rivets.formatters.money_with_currency,rivets.formatters.weightWithUnit=rivets.formatters.weight_with_unit,rivets.formatters.productImageSize=rivets.formatters.product_image_size):n.Rivets={init:function(){},destroy:function(){}},n.factory=function(e){return e.init=n.init,e.configure=n.configure,e.cart=n.cart,e.settings=n.settings,e.getCart=n.Core.getCart,e.addItem=n.Core.addItem,e.updateItem=n.Core.updateItem,e.updateItemById=n.Core.updateItemById,e.updateItemQuantitiesById=n.Core.updateItemQuantitiesById,e.removeItem=n.Core.removeItem,e.removeItemById=n.Core.removeItemById,e.clear=n.Core.clear,e.getAttribute=n.Core.getAttribute,e.setAttribute=n.Core.setAttribute,e.getAttributes=n.Core.getAttributes,e.setAttributes=n.Core.setAttributes,e.clearAttributes=n.Core.clearAttributes,e.getNote=n.Core.getNote,e.setNote=n.Core.setNote,e.render=n.Data.render},"object"==typeof exports?n.factory(exports):"function"==typeof define&&define.amd?define(["exports"],function(e){return n.factory(this.CartJS=e),e}):n.factory(this.CartJS={})}.call(this),/*! 225 * easyzoom.js 226 */ 227/*! 228 * @name EasyZoom 229 * @author Matt Hinchliffe <> 230 * @modified Wednesday, November 4th, 2015 231 * @version 2.3.1 232 */ 233!function(e){"use strict";function t(t,i){this.$target=e(t),this.opts=e.extend({},l,i,this.$target.data()),void 0===this.isOpen&&this._init()}var i,n,r,o,s,a,l={loadingNotice:"Loading image",errorNotice:"The image could not be loaded",errorDuration:2500,preventClicks:!0,onShow:e.noop,onHide:e.noop,onMove:e.noop};t.prototype._init=function(){this.$link=this.$target.find("a"),this.$image=this.$target.find("img"),this.$flyout=e('<div class="easyzoom-flyout" />'),this.$notice=e('<div class="easyzoom-notice" />'),this.$target.on({"mousemove.easyzoom touchmove.easyzoom":e.proxy(this._onMove,this),"mouseleave.easyzoom touchend.easyzoom":e.proxy(this._onLeave,this),"mouseenter.easyzoom touchstart.easyzoom":e.proxy(this._onEnter,this)}),this.opts.preventClicks&&this.$target.on("click.easyzoom",function(e){e.preventDefault()})},t.prototype.show=function(e,t){var s,a,l,u,c=this;return this.isReady?(this.$target.append(this.$flyout),s=this.$target.width(),a=this.$target.height(),l=this.$flyout.width(),u=this.$flyout.height(),i=this.$zoom.width()-l,n=this.$zoom.height()-u,r=i/s,o=n/a,this.isOpen=!0,this.opts.onShow.call(this),void(e&&this._move(e))):this._loadImage(this.$link.attr("href"),function(){(c.isMouseOver||!t)&&c.show(e)})},t.prototype._onEnter=function(e){var t=e.originalEvent.touches;this.isMouseOver=!0,t&&1!=t.length||(e.preventDefault(),this.show(e,!0))},t.prototype._onMove=function(e){this.isOpen&&(e.preventDefault(),this._move(e))},t.prototype._onLeave=function(){this.isMouseOver=!1,this.isOpen&&this.hide()},t.prototype._onLoad=function(e){e.currentTarget.width&&(this.isReady=!0,this.$notice.detach(),this.$flyout.html(this.$zoom),this.$target.removeClass("is-loading").addClass("is-ready"),e.data.call&&e.data())},t.prototype._onError=function(){var e=this;
233this.$notice.text(this.opts.errorNotice),this.$target.removeClass("is-loading").addClass("is-error"),this.detachNotice=setTimeout(function(){e.$notice.detach(),e.detachNotice=null},this.opts.errorDuration)},t.prototype._loadImage=function(t,i){var n=new Image;this.$target.addClass("is-loading").append(this.$notice.text(this.opts.loadingNotice)),this.$zoom=e(n).on("error",e.proxy(this._onError,this)).on("load",i,e.proxy(this._onLoad,this)),n.style.position="absolute",n.src=t},t.prototype._move=function(e){if(0===e.type.indexOf("touch")){var t=e.touches||e.originalEvent.touches;s=t[0].pageX,a=t[0].pageY}else s=e.pageX||s,a=e.pageY||a;var l=this.$target.offset(),u=a-l.top,c=s-l.left,d=Math.ceil(u*o),f=Math.ceil(c*r);if(0>f||0>d||f>i||d>n)this.hide();else{var h=-1*d,p=-1*f;this.$zoom.css({top:h,left:p}),this.opts.onMove.call(this,h,p)}},t.prototype.hide=function(){this.isOpen&&(this.$flyout.detach(),this.isOpen=!1,this.opts.onHide.call(this))},t.prototype.swap=function(t,i,n){this.hide(),this.isReady=!1,this.detachNotice&&clearTimeout(this.detachNotice),this.$notice.parent().length&&this.$notice.detach(),this.$target.removeClass("is-loading is-ready is-error"),this.$image.attr({src:t,srcset:e.isArray(n)?n.join():n}),this.$link.attr("href",i)},t.prototype.teardown=function(){this.hide(),this.$target.off(".easyzoom").removeClass("is-loading is-ready is-error"),this.detachNotice&&clearTimeout(this.detachNotice),delete this.$link,delete this.$zoom,delete this.$image,delete this.$notice,delete this.$flyout,delete this.isOpen,delete this.isReady},e.fn.easyZoom=function(i){return this.each(function(){var n=e.data(this,"easyZoom");n?void 0===n.isOpen&&n._init():e.data(this,"easyZoom",new t(this,i))})},"function"==typeof define&&define.amd?define(function(){return t}):"undefined"!=typeof module&&module.exports&&(module.exports=t)}(t),/*! 234 * jquery.remove-data-attribute.js 235 */ 236e.fn.extend({removeDataAttributes:function(){var t,i=e(this),n=[],r=i.get(0).attributes,o=r.length;for(t=0;t<o;t++)"data-"===r[t].name.substring(0,5)&&n.push(r[t].name);e.each(n,function(e,t){i.removeAttr(t)})}})}(jq223);var getQueryString=function(e,t){var i=t?t:window.location.href,n=new RegExp("[?&]"+e+"=([^&#]*)","i"),r=n.exec(i);return r?r[1]:null};!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t():"function"==typeof define&&define.amd?define("inert",t):t()}(this,function(){"use strict";function e(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function t(e,i,n){if(e.nodeType==Node.ELEMENT_NODE){var r=e;i&&i(r);var o=r.shadowRoot;if(o)return void t(o,i,o);if("content"==r.localName){for(var s=r,a=s.getDistributedNodes?s.getDistributedNodes():[],l=0;l<a.length;l++)t(a[l],i,n);return}if("slot"==r.localName){for(var u=r,c=u.assignedNodes?u.assignedNodes({flatten:!0}):[],d=0;d<c.length;d++)t(c[d],i,n);return}}for(var f=e.firstChild;null!=f;)t(f,i,n),f=f.nextSibling}function i(e){if(!e.querySelector("style#inert-style")){var t=document.createElement("style");t.setAttribute("id","inert-style"),t.textContent="\n[inert] {\n pointer-events: none;\n cursor: default;\n}\n\n[inert], [inert] * {\n user-select: none;\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n}\n",e.appendChild(t)}}var n=function(){function e(e,t){for(var i=0;i<t.length;i++){var n=t[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,i,n){return i&&e(t.prototype,i),n&&e(t,n),t}}(),r=Array.prototype.slice,o=Element.prototype.matches||Element.prototype.msMatchesSelector,s=["a[href]","area[href]","input:not([disabled])","select:not([disabled])","textarea:not([disabled])","button:not([disabled])","details","summary","iframe","object","embed","[contenteditable]"].join(","),a=function(){function i(t,n){e(this,i),this._inertManager=n,this._rootElement=t,this._managedNodes=new Set,this._rootElement.hasAttribute("aria-hidden")?this._savedAriaHidden=this._rootElement.getAttribute("aria-hidden"):this._savedAriaHidden=null,this._rootElement.setAttribute("aria-hidden","true"),this._makeSubtreeUnfocusable(this._rootElement),this._observer=new MutationObserver(this._onMutation.bind(this)),this._observer.observe(this._rootElement,{attributes:!0,childList:!0,subtree:!0})}return n(i,[{key:"destructor",value:function(){this._observer.disconnect(),this._rootElement&&(null!==this._savedAriaHidden?this._rootElement.setAttribute("aria-hidden",this._savedAriaHidden):this._rootElement.removeAttribute("aria-hidden")),this._managedNodes.forEac
vendor: 5,392 bytes, line 236
236h(function(e){this._unmanageNode(e.node)},this),this._observer=null,this._rootElement=null,this._managedNodes=null,this._inertManager=null}},{key:"_makeSubtreeUnfocusable",value:function(e){var i=this;t(e,function(e){return i._visitNode(e)});var n=document.activeElement;if(!document.body.contains(e)){for(var r=e,o=void 0;r;){if(r.nodeType===Node.DOCUMENT_FRAGMENT_NODE){o=r;break}r=r.parentNode}o&&(n=o.activeElement)}e.contains(n)&&(n.blur(),n===document.activeElement&&document.body.focus())}},{key:"_visitNode",value:function(e){if(e.nodeType===Node.ELEMENT_NODE){var t=e;t!==this._rootElement&&t.hasAttribute("inert")&&this._adoptInertRoot(t),(o.call(t,s)||t.hasAttribute("tabindex"))&&this._manageNode(t)}}},{key:"_manageNode",value:function(e){var t=this._inertManager.register(e,this);this._managedNodes.add(t)}},{key:"_unmanageNode",value:function(e){var t=this._inertManager.deregister(e,this);t&&this._managedNodes.delete(t)}},{key:"_unmanageSubtree",value:function(e){var i=this;t(e,function(e){return i._unmanageNode(e)})}},{key:"_adoptInertRoot",value:function(e){var t=this._inertManager.getInertRoot(e);t||(this._inertManager.setInert(e,!0),t=this._inertManager.getInertRoot(e)),t.managedNodes.forEach(function(e){this._manageNode(e.node)},this)}},{key:"_onMutation",value:function(e,t){e.forEach(function(e){var t=e.target;if("childList"===e.type)r.call(e.addedNodes).forEach(function(e){this._makeSubtreeUnfocusable(e)},this),r.call(e.removedNodes).forEach(function(e){this._unmanageSubtree(e)},this);else if("attributes"===e.type)if("tabindex"===e.attributeName)this._manageNode(t);else if(t!==this._rootElement&&"inert"===e.attributeName&&t.hasAttribute("inert")){this._adoptInertRoot(t);var i=this._inertManager.getInertRoot(t);this._managedNodes.forEach(function(e){t.contains(e.node)&&i._manageNode(e.node)})}},this)}},{key:"managedNodes",get:function(){return new Set(this._managedNodes)}},{key:"hasSavedAriaHidden",get:function(){return null!==this._savedAriaHidden}},{key:"savedAriaHidden",set:function(e){this._savedAriaHidden=e},get:function(){return this._savedAriaHidden}}]),i}(),l=function(){function t(i,n){e(this,t),this._node=i,this._overrodeFocusMethod=!1,this._inertRoots=new Set([n]),this._savedTabIndex=null,this._destroyed=!1,this.ensureUntabbable()}return n(t,[{key:"destructor",value:function(){if(this._throwIfDestroyed(),this._node&&this._node.nodeType===Node.ELEMENT_NODE){var e=this._node;null!==this._savedTabIndex?e.setAttribute("tabindex",this._savedTabIndex):e.removeAttribute("tabindex"),this._overrodeFocusMethod&&delete e.focus}this._node=null,this._inertRoots=null,this._destroyed=!0}},{key:"_throwIfDestroyed",value:function(){if(this.destroyed)throw new Error("Trying to access destroyed InertNode")}},{key:"ensureUntabbable",value:function(){if(this.node.nodeType===Node.ELEMENT_NODE){var e=this.node;if(o.call(e,s)){if(e.tabIndex===-1&&this.hasSavedTabIndex)return;e.hasAttribute("tabindex")&&(this._savedTabIndex=e.tabIndex),e.setAttribute("tabindex","-1"),e.nodeType===Node.ELEMENT_NODE&&(e.focus=function(){},this._overrodeFocusMethod=!0)}else e.hasAttribute("tabindex")&&(this._savedTabIndex=e.tabIndex,e.removeAttribute("tabindex"))}}},{key:"addInertRoot",value:function(e){this._throwIfDestroyed(),this._inertRoots.add(e)}},{key:"removeInertRoot",value:function(e){this._throwIfDestroyed(),this._inertRoots.delete(e),0===this._inertRoots.size&&this.destructor()}},{key:"destroyed",get:function(){return this._destroyed}},{key:"hasSavedTabIndex",get:function(){return null!==this._savedTabIndex}},{key:"node",get:function(){return this._throwIfDestroyed(),this._node}},{key:"savedTabIndex",set:function(e){this._throwIfDestroyed(),this._savedTabIndex=e},get:function(){return this._throwIfDestroyed(),this._savedTabIndex}}]),t}(),u=function(){function t(n){if(e(this,t),!n)throw new Error("Missing required argument; InertManager needs to wrap a document.");this._document=n,this._managedNodes=new Map,this._inertRoots=new Map,this._observer=new MutationObserver(this._watchForInert.bind(this)),i(n.head||n.body||n.documentElement),"loading"===n.readyState?n.addEventListener("DOMContentLoaded",this._onDocumentLoaded.bind(this)):this._onDocumentLoaded()}return n(t,[{key:"setInert",value:function(e,t){if(t){if(this._inertRoots.has(e))return;var n=new a(e,this);if(e.setAttribute("inert",""),this._inertRoots.set(e,n),!this._document.body.contains(e))for(var r=e.parentNode;r;)11===r.nodeType&&i(r),r=r.parentNode}else{if(!this._inertRoots.has(e))return;var o=this._inertRoots.get(e);o.destructor(),this._inertRoots.delete(e),e.removeAttribute("inert")}}},{key:"getInertRoot",value:function(e){return this._inertRoots.get(e)}},{key:"register",value:function(e,t){var i=this._managedNodes.get(e);return void 0!==i?i.addInertRoot(t):i=new l(e,t),this._managedNodes.set(e,i),i}},{key:"deregister",value:function(e,t){var i=this._managedNodes.get(e);return i?(i.removeInertRoot(t),i.destroyed&&this._managedNodes.delete(e),i):null}},{key:"_onDocumentLoaded",value:function(){var e=r.call(this._document.querySelectorAll("[inert]"));e.forEach(function(e){this.setInert(e,!0)},this),this._observer.observe(this._document.body||this._document.documentElement,{attributes:!0,subtree:!0,childList:!0})}},{key:"_watchForInert",value:function(e,t){var i=this;e.forEach(function(e){switch(e.type){case"childList":r.call(e.addedNodes).forEac
236h(function(e){if(e.nodeType===Node.ELEMENT_NODE){var t=r.call(e.querySelectorAll("[inert]"));o.call(e,"[inert]")&&t.unshift(e),t.forEach(function(e){this.setInert(e,!0)},i)}},i);break;case"attributes":if("inert"!==e.attributeName)return;var t=e.target,n=t.hasAttribute("inert");i.setInert(t,n)}},this)}}]),t}(),c=new u(document);Element.prototype.hasOwnProperty("inert")||Object.defineProperty(Element.prototype,"inert",{enumerable:!0,get:function(){return this.hasAttribute("inert")},set:function(e){c.setInert(this,e)}})}),/*! 237 * store.js 238 */ 239/* 240https://github.com/marcuswestin/store.js/ 241The MIT License (MIT) 242Copyright (c) 2010-2016 Marcus Westin */ 243function(e){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{var t;t="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this,t.store=e()}}(function(){return function e(t,i,n){function r(s,a){if(!i[s]){if(!t[s]){var l="function"==typeof require&&require;if(!a&&l)return l(s,!0);if(o)return o(s,!0);var u=new Error("Cannot find module '"+s+"'");throw u.code="MODULE_NOT_FOUND",u}var c=i[s]={exports:{}};t[s][0].call(c.exports,function(e){var i=t[s][1][e];return r(i?i:e)},c,c.exports,e,t,i,n)}return i[s].exports}for(var o="function"==typeof require&&require,s=0;s<n.length;s++)r(n[s]);return r}({1:[function(e,t,i){(function(e){"use strict";t.exports=function(){function t(){try{return s in r&&r[s]}catch(e){return!1}}var i,n={},r="undefined"!=typeof window?window:e,o=r.document,s="localStorage",a="script";if(n.disabled=!1,n.version="1.3.20",n.set=function(e,t){},n.get=function(e,t){},n.has=function(e){return void 0!==n.get(e)},n.remove=function(e){},n.clear=function(){},n.transact=function(e,t,i){null==i&&(i=t,t=null),null==t&&(t={});var r=n.get(e,t);i(r),n.set(e,r)},n.getAll=function(){},n.forEach=function(){},n.serialize=function(e){return JSON.stringify(e)},n.deserialize=function(e){if("string"==typeof e)try{return JSON.parse(e)}catch(t){return e||void 0}},t())i=r[s],n.set=function(e,t){return void 0===t?n.remove(e):(i.setItem(e,n.serialize(t)),t)},n.get=function(e,t){var r=n.deserialize(i.getItem(e));return void 0===r?t:r},n.remove=function(e){i.removeItem(e)},n.clear=function(){i.clear()},n.getAll=function(){var e={};return n.forEach(function(t,i){e[t]=i}),e},n.forEach=function(e){for(var t=0;t<i.length;t++){var r=i.key(t);e(r,n.get(r))}};else if(o&&o.documentElement.addBehavior){var l,u;try{u=new ActiveXObject("htmlfile"),u.open(),u.write("<"+a+">document.w=window</"+a+'><iframe src="/favicon.ico"></iframe>'),u.close(),l=u.w.frames[0].document,i=l.createElement("div")}catch(e){i=o.createElement("div"),l=o.body}var c=function(e){return function(){var t=Array.prototype.slice.call(arguments,0);t.unshift(i),l.appendChild(i),i.addBehavior("#default#userData"),i.load(s);var r=e.apply(n,t);return l.removeChild(i),r}},d=new RegExp("[!\"#$%&'()*+,/\\\\:;<=>?@[\\]^`{|}~]","g"),f=function(e){return e.replace(/^d/,"___$&").replace(d,"___")};n.set=c(function(e,t,i){return t=f(t),void 0===i?n.remove(t):(e.setAttribute(t,n.serialize(i)),e.save(s),i)}),n.get=c(function(e,t,i){t=f(t);var r=n.deserialize(e.getAttribute(t));return void 0===r?i:r}),n.remove=c(function(e,t){t=f(t),e.removeAttribute(t),e.save(s)}),n.clear=c(function(e){var t=e.XMLDocument.documentElement.attributes;e.load(s);for(var i=t.length-1;i>=0;i--)e.removeAttribute(t[i].name);e.save(s)}),n.getAll=function(e){var t={};return n.forEach(function(e,i){t[e]=i}),t},n.forEach=c(function(e,t){for(var i,r=e.XMLDocument.documentElement.attributes,o=0;i=r[o];++o)t(i.name,n.deserialize(e.getAttribute(i.name)))})}try{var h="__storejs__";n.set(h,h),n.get(h)!=h&&(n.disabled=!0),n.remove(h)}catch(e){n.disabled=!0}return n.enabled=!n.disabled,n}()}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}]},{},[1])(1)});var storeWithExpiration={set:function(e,t,i){store.set(e,{val:t,exp:i,time:(new Date).getTime()})},get:function(e){var t=store.get(e);return t?(new Date).getTime()-t.time>t.exp?null:t.val:null}};
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.