PageSourceSearch

https://bmf1.dk/static/responsive/frontend.js

js bmf1.dk collected 2026-10-03 00:36:35 UTC 320,635 bytes, 182 lines download raw bytes

1/*!
2 * jQuery JavaScript Library v1.11.1
3 * http://jquery.com/
4 *
5 * Includes Sizzle.js
6 * http://sizzlejs.com/
7 *
8 * Copyright 2005, 2014 jQuery Foundation, Inc. and other contributors
9 * Released under the MIT license
10 * http://jquery.org/license
11 *
12 * Date: 2014-05-01T17:42Z
13 */
14function onCxReady(){
15    return;
16    if("undefined"==typeof JSON)return void(window.console&&console.log("[cXense] JSON is not supported! Aborting.."));
17    if(window.location.href.indexOf("preview=true")>=0)return void(window.console&&console.log("[cXense] Preview mode! Aborting.."));var t=cX.getCookie("cx_profile_timeout"),e=cX.getCookie("cx_profile_data"),n=3e5,i=cxProfileConfiguration.interestPersistedQueryId,r=cxProfileConfiguration.dmpPersistedQueryId,o=t?Math.floor(((new Date).getTime()-t)/1e3/60):+t;if(window.console&&console.log("[cXense] Cookie life time: "+o+" minutes"),e&&"undefined"!=e&&t&&(new Date).getTime()-t<n)return void(window.console&&console.log("[cXense] Found user data in cookie."));if(i){window.console&&console.log("[cXense] Call API for user profile.");var a="https://api.cxense.com/persisted/execute?persisted="+encodeURIComponent(i)+"&callback={{callback}}&json="+encodeURIComponent(JSON.stringify({id:cX.getUserId()}));cX.jsonpRequest(a,onCxGotUserProfileData)}else{if(!r)return void(window.console&&console.error("[cXense] Missed configuration."));window.console&&console.log("[cXense] Call API for dmp segments."),cX.getUserSegmentIds({persistedQueryId:r,callback:onCxGotDmpSegments})}cX.setCookie("cx_profile_timeout",(new Date).getTime(),n)
18}
19function onCxGotDmpSegments(t){if(!t||!t.length)return void(window.console&&console.log("[cXense] No DMP segments received!"));var e={},n="",i=3e5;e.CxenseSegments=t,n=JSON.stringify(e),cX.setCookie("cx_profile_data",n,i)}
20function onCxGotUserProfileData(t){if(!(t&&t.response&&t.response.profile&&t.response.profile.length))return void(window.console&&console.log("[cXense] No user profile received!"));for(var e,n,i,r,o,a={},s={},l="",u=3e5,c=cxProfileConfiguration.interestCategories,d=+cxProfileConfiguration.interestsNumber,p=+cxProfileConfiguration.minWeight,f=0;f<t.response.profile.length;f++)if(e=t.response.profile[f],n=e.item,!(n.indexOf("/")>=0))for(var h=0;h<e.groups.length;h++){i=e.groups[h],r=i.group,o=i.weight;for(var m in c)r==c[m]&&(a[r]||(a[r]=[]),a[r].push({name:n,weight:o}))}for(var g in a){var v=a[g];v.sort(function(t,e){return e.weight-t.weight}),0===d&&(d=v.length),s[g]=[];for(var f=0;d>f;f++)!v[f]||p&&Math.floor(100*v[f].weight)<p||s[g].push(v[f].name)}l=JSON.stringify(s),cX.setCookie("cx_profile_data",l,u)}
21function getParameterByName(t){t=t.replace(/[\[]/,"\\[").replace(/[\]]/,"\\]");var e=new RegExp("[\\?&]"+t+"=([^&#]*)"),n=e.exec(location.search);return null===n?"":decodeURIComponent(n[1].replace(/\+/g," "))}!function(t,e){"object"==typeof module&&"object"==typeof module.exports?module.exports=t.document?e(t,!0):function(t){if(!t.document)throw new Error("jQuery requires a window with a document");return e(t)}:e(t)}("undefined"!=typeof window?window:this,function(t,e){function n(t){var e=t.length,n=rt.type(t);return"function"===n||rt.isWindow(t)?!1:1===t.nodeType&&e?!0:"array"===n||0===e||"number"==typeof e&&e>0&&e-1 in t}function i(t,e,n){if(rt.isFunction(e))return rt.grep(t,function(t,i){return!!e.call(t,i,t)!==n});if(e.nodeType)return rt.grep(t,function(t){return t===e!==n});if("string"==typeof e){if(pt.test(e))return rt.filter(e,t,n);e=rt.filter(e,t)}return rt.grep(t,function(t){return rt.inArray(t,e)>=0!==n})}function r(t,e){do t=t[e];while(t&&1!==t.nodeType);return t}function o(t){var e=wt[t]={};return rt.each(t.match(bt)||[],function(t,n){e[n]=!0}),e}function a(){ht.addEventListener?(ht.removeEventListener("DOMContentLoaded",s,!1),t.removeEventListener("load",s,!1)):(ht.detachEvent("onreadystatechange",s),t.detachEvent("onload",s))}function s(){(ht.addEventListener||"load"===event.type||"complete"===ht.readyState)&&(a(),rt.ready())}function l(t,e,n){if(void 0===n&&1===t.nodeType){var i="data-"+e.replace(kt,"-$1").toLowerCase();if(n=t.getAttribute(i),"string"==typeof n){try{n="true"===n?!0:"false"===n?!1:"null"===n?null:+n+""===n?+n:St.test(n)?rt.parseJSON(n):n}catch(r){}rt.data(t,e,n)}else n=void 0}return n}function u(t){var e;
vendor: 11,135 bytes, line 21
21for(e in t)if(("data"!==e||!rt.isEmptyObject(t[e]))&&"toJSON"!==e)return!1;return!0}function c(t,e,n,i){if(rt.acceptData(t)){var r,o,a=rt.expando,s=t.nodeType,l=s?rt.cache:t,u=s?t[a]:t[a]&&a;if(u&&l[u]&&(i||l[u].data)||void 0!==n||"string"!=typeof e)return u||(u=s?t[a]=V.pop()||rt.guid++:a),l[u]||(l[u]=s?{}:{toJSON:rt.noop}),"object"!=typeof e&&"function"!=typeof e||(i?l[u]=rt.extend(l[u],e):l[u].data=rt.extend(l[u].data,e)),o=l[u],i||(o.data||(o.data={}),o=o.data),void 0!==n&&(o[rt.camelCase(e)]=n),"string"==typeof e?(r=o[e],null==r&&(r=o[rt.camelCase(e)])):r=o,r}}function d(t,e,n){if(rt.acceptData(t)){var i,r,o=t.nodeType,a=o?rt.cache:t,s=o?t[rt.expando]:rt.expando;if(a[s]){if(e&&(i=n?a[s]:a[s].data)){rt.isArray(e)?e=e.concat(rt.map(e,rt.camelCase)):e in i?e=[e]:(e=rt.camelCase(e),e=e in i?[e]:e.split(" ")),r=e.length;for(;r--;)delete i[e[r]];if(n?!u(i):!rt.isEmptyObject(i))return}(n||(delete a[s].data,u(a[s])))&&(o?rt.cleanData([t],!0):nt.deleteExpando||a!=a.window?delete a[s]:a[s]=null)}}}function p(){return!0}function f(){return!1}function h(){try{return ht.activeElement}catch(t){}}function m(t){var e=Pt.split("|"),n=t.createDocumentFragment();if(n.createElement)for(;e.length;)n.createElement(e.pop());return n}function g(t,e){var n,i,r=0,o=typeof t.getElementsByTagName!==Et?t.getElementsByTagName(e||"*"):typeof t.querySelectorAll!==Et?t.querySelectorAll(e||"*"):void 0;if(!o)for(o=[],n=t.childNodes||t;null!=(i=n[r]);r++)!e||rt.nodeName(i,e)?o.push(i):rt.merge(o,g(i,e));return void 0===e||e&&rt.nodeName(t,e)?rt.merge([t],o):o}function v(t){Lt.test(t.type)&&(t.defaultChecked=t.checked)}function y(t,e){return rt.nodeName(t,"table")&&rt.nodeName(11!==e.nodeType?e:e.firstChild,"tr")?t.getElementsByTagName("tbody")[0]||t.appendChild(t.ownerDocument.createElement("tbody")):t}function b(t){return t.type=(null!==rt.find.attr(t,"type"))+"/"+t.type,t}function w(t){var e=Xt.exec(t.type);return e?t.type=e[1]:t.removeAttribute("type"),t}function x(t,e){for(var n,i=0;null!=(n=t[i]);i++)rt._data(n,"globalEval",!e||rt._data(e[i],"globalEval"))}function C(t,e){if(1===e.nodeType&&rt.hasData(t)){var n,i,r,o=rt._data(t),a=rt._data(e,o),s=o.events;if(s){delete a.handle,a.events={};for(n in s)for(i=0,r=s[n].length;r>i;i++)rt.event.add(e,n,s[n][i])}a.data&&(a.data=rt.extend({},a.data))}}function E(t,e){var n,i,r;if(1===e.nodeType){if(n=e.nodeName.toLowerCase(),!nt.noCloneEvent&&e[rt.expando]){r=rt._data(e);for(i in r.events)rt.removeEvent(e,i,r.handle);e.removeAttribute(rt.expando)}"script"===n&&e.text!==t.text?(b(e).text=t.text,w(e)):"object"===n?(e.parentNode&&(e.outerHTML=t.outerHTML),nt.html5Clone&&t.innerHTML&&!rt.trim(e.innerHTML)&&(e.innerHTML=t.innerHTML)):"input"===n&&Lt.test(t.type)?(e.defaultChecked=e.checked=t.checked,e.value!==t.value&&(e.value=t.value)):"option"===n?e.defaultSelected=e.selected=t.defaultSelected:"input"!==n&&"textarea"!==n||(e.defaultValue=t.defaultValue)}}function S(e,n){var i,r=rt(n.createElement(e)).appendTo(n.body),o=t.getDefaultComputedStyle&&(i=t.getDefaultComputedStyle(r[0]))?i.display:rt.css(r[0],"display");return r.detach(),o}function k(t){var e=ht,n=Zt[t];return n||(n=S(t,e),"none"!==n&&n||(Kt=(Kt||rt("<iframe frameborder='0' width='0' height='0'/>")).appendTo(e.documentElement),e=(Kt[0].contentWindow||Kt[0].contentDocument).document,e.write(),e.close(),n=S(t,e),Kt.detach()),Zt[t]=n),n}function T(t,e){return{get:function(){var n=t();if(null!=n)return n?void delete this.get:(this.get=e).apply(this,arguments)}}}function N(t,e){if(e in t)return e;for(var n=e.charAt(0).toUpperCase()+e.slice(1),i=e,r=pe.length;r--;)if(e=pe[r]+n,e in t)return e;return i}function $(t,e){for(var n,i,r,o=[],a=0,s=t.length;s>a;a++)i=t[a],i.style&&(o[a]=rt._data(i,"olddisplay"),n=i.style.display,e?(o[a]||"none"!==n||(i.style.display=""),""===i.style.display&&$t(i)&&(o[a]=rt._data(i,"olddisplay",k(i.nodeName)))):(r=$t(i),(n&&"none"!==n||!r)&&rt._data(i,"olddisplay",r?n:rt.css(i,"display"))));for(a=0;s>a;a++)i=t[a],i.style&&(e&&"none"!==i.style.display&&""!==i.style.display||(i.style.display=e?o[a]||"":"none"));return t}function j(t,e,n){var i=le.exec(e);return i?Math.max(0,i[1]-(n||0))+(i[2]||"px"):e}function L(t,e,n,i,r){for(var o=n===(i?"border":"content")?4:"width"===e?1:0,a=0;4>o;o+=2)"margin"===n&&(a+=rt.css(t,n+Nt[o],!0,r)),i?("content"===n&&(a-=rt.css(t,"padding"+Nt[o],!0,r)),"margin"!==n&&(a-=rt.css(t,"border"+Nt[o]+"Width",!0,r))):(a+=rt.css(t,"padding"+Nt[o],!0,r),"padding"!==n&&(a+=rt.css(t,"border"+Nt[o]+"Width",!0,r)));return a}function A(t,e,n){var i=!0,r="width"===e?t.offsetWidth:t.offsetHeight,o=te(t),a=nt.boxSizing&&"border-box"===rt.css(t,"boxSizing",!1,o);if(0>=r||null==r){if(r=ee(t,e,o),(0>r||null==r)&&(r=t.style[e]),ie.test(r))return r;i=a&&(nt.boxSizingReliable()||r===t.style[e]),r=parseFloat(r)||0}return r+L(t,e,n||(a?"border":"content"),i,o)+"px"}function D(t,e,n,i,r){return new D.prototype.init(t,e,n,i,r)}function F(){return setTimeout(function(){fe=void 0}),fe=rt.now()}function _(t,e){var n,i={height:t},r=0;for(e=e?1:0;4>r;r+=2-e)n=Nt[r],i["margin"+n]=i["padding"+n]=t;return e&&(i.opacity=i.width=t),i}function I(t,e,n){for(var i,r=(be[e]||[]).concat(be["*"]),o=0,a=r.length;a>o;o++)if(i=r[o].call(n,e,t))return i}function P(t,e,n){var i,r,o,a,s,l,u,c,d=this,p={},f=t.style,h=t.nodeType&&$t(t),m=rt._data(t,"fxshow");n.queue||(s=rt._queueHooks(t,"fx"),null==s.unqueued&&(s.unqueued=0,l=s.empty.fire,s.empty.fire=function(){s.unqueued||l()}),s.unqueued++,d.always(function(){d.always(function(){s.unqueued--,rt.queue(t,"fx").length||s.empty.fire()})})),1===t.nodeType&&("height"in e||"width"in e)&&(n.overflow=[f.overflow,f.overflowX,f.overflowY],u=rt.css(t,"display"),c="none"===u?rt._data(t,"olddisplay")||k(t.nodeName):u,"inline"===c&&"none"===rt.css(t,"float")&&(nt.inlineBlockNeedsLayout&&"inline"!==k(t.nodeName)?f.zoom=1:f.display="inline-block")),n.overflow&&(f.overflow="hidden",nt.shrinkWrapBlocks()||d.always(function(){f.overflow=n.overflow[0],f.overflowX=n.overflow[1],f.overflowY=n.overflow[2]}));for(i in e)if(r=e[i],me.exec(r)){if(delete e[i],o=o||"toggle"===r,r===(h?"hide":"show")){if("show"!==r||!m||void 0===m[i])continue;h=!0}p[i]=m&&m[i]||rt.style(t,i)}else u=void 0;if(rt.isEmptyObject(p))"inline"===("none"===u?k(t.nodeName):u)&&(f.display=u);else{m?"hidden"in m&&(h=m.hidden):m=rt._data(t,"fxshow",{}),o&&(m.hidden=!h),h?rt(t).show():d.done(function(){rt(t).hide()}),d.done(function(){var e;rt._removeData(t,"fxshow");for(e in p)rt.style(t,e,p[e])});for(i in p)a=I(h?m[i]:0,i,d),i in m||(m[i]=a.start,h&&(a.end=a.start,a.start="width"===i||"height"===i?1:0))}}function O(t,e){var n,i,r,o,a;for(n in t)if(i=rt.camelCase(n),r=e[i],o=t[n],rt.isArray(o)&&(r=o[1],o=t[n]=o[0]),n!==i&&(t[i]=o,delete t[n]),a=rt.cssHooks[i],a&&"expand"in a){o=a.expand(o),delete t[i];for(n in o)n in t||(t[n]=o[n],e[n]=r)}else e[i]=r}function M(t,e,n){var i,r,o=0,a=ye.length,s=rt.Deferred().always(function(){delete l.elem}),l=function(){if(r)return!1;for(var e=fe||F(),n=Math.max(0,u.startTime+u.duration-e),i=n/u.duration||0,o=1-i,a=0,l=u.tweens.length;l>a;a++)u.tweens[a].run(o);return s.notifyWith(t,[u,o,n]),1>o&&l?n:(s.resolveWith(t,[u]),!1)},u=s.promise({elem:t,props:rt.extend({},e),opts:rt.extend(!0,{specialEasing:{}},n),originalProperties:e,originalOptions:n,startTime:fe||F(),duration:n.duration,tweens:[],createTween:function(e,n){var i=rt.Tween(t,u.opts,e,n,u.opts.specialEasing[e]||u.opts.easing);return u.tweens.push(i),i},stop:function(e){var n=0,i=e?u.tweens.length:0;if(r)return this;for(r=!0;i>n;n++)u.tweens[n].run(1);return e?s.resolveWith(t,[u,e]):s.rejectWith(t,[u,e]),this}}),c=u.props;for(O(c,u.opts.specialEasing);a>o;o++)if(i=ye[o].call(u,t,c,u.opts))return i;return rt.map(c,I,u),rt.isFunction(u.opts.start)&&u.opts.start.call(t,u),rt.fx.timer(rt.extend(l,{elem:t,anim:u,queue:u.opts.queue})),u.progress(u.opts.progress).done(u.opts.done,u.opts.complete).fail(u.opts.fail).always(u.opts.always)}function z(t){return function(e,n){"string"!=typeof e&&(n=e,e="*");var i,r=0,o=e.toLowerCase().match(bt)||[];if(rt.isFunction(n))for(;i=o[r++];)"+"===i.charAt(0)?(i=i.slice(1)||"*",(t[i]=t[i]||[]).unshift(n)):(t[i]=t[i]||[]).push(n)}}function R(t,e,n,i){function r(s){var l;return o[s]=!0,rt.each(t[s]||[],function(t,s){var u=s(e,n,i);return"string"!=typeof u||a||o[u]?a?!(l=u):void 0:(e.dataTypes.unshift(u),r(u),!1)}),l}var o={},a=t===qe;return r(e.dataTypes[0])||!o["*"]&&r("*")}function U(t,e){var n,i,r=rt.ajaxSettings.flatOptions||{};for(i in e)void 0!==e[i]&&((r[i]?t:n||(n={}))[i]=e[i]);return n&&rt.extend(!0,t,n),t}function H(t,e,n){for(var i,r,o,a,s=t.contents,l=t.dataTypes;"*"===l[0];)l.shift(),void 0===r&&(r=t.mimeType||e.getResponseHeader("Content-Type"));if(r)for(a in s)if(s[a]&&s[a].test(r)){l.unshift(a);break}if(l[0]in n)o=l[0];else{for(a in n){if(!l[0]||t.converters[a+" "+l[0]]){o=a;break}i||(i=a)}o=o||i}return o?(o!==l[0]&&l.unshift(o),n[o]):void 0}function q(t,e,n,i){var r,o,a,s,l,u={},c=t.dataTypes.slice();if(c[1])for(a in t.converters)u[a.toLowerCase()]=t.converters[a];for(o=c.shift();o;)if(t.responseFields[o]&&(n[t.responseFields[o]]=e),!l&&i&&t.dataFilter&&(e=t.dataFilter(e,t.dataType)),l=o,o=c.shift())if("*"===o)o=l;else if("*"!==l&&l!==o){if(a=u[l+" "+o]||u["* "+o],!a)for(r in u)if(s=r.split(" "),s[1]===o&&(a=u[l+" "+s[0]]||u["* "+s[0]])){a===!0?a=u[r]:u[r]!==!0&&(o=s[0],c.unshift(s[1]));break}if(a!==!0)if(a&&t["throws"])e=a(e);else try{e=a(e)}catch(d){return{state:"parsererror",error:a?d:"No conversion from "+l+" to "+o}}}return{state:"success",data:e}}function W(t,e,n,i){var r;if(rt.isArray(e))rt.each(e,function(e,r){n||Xe.test(t)?i(t,r):W(t+"["+("object"==typeof r?e:"")+"]",r,n,i)});else if(n||"object"!==rt.type(e))i(t,e);else for(r in e)W(t+"["+r+"]",e[r],n,i)}function B(){try{return new t.XMLHttpRequest}catch(e){}}function Q(){try{return new t.ActiveXObject("Microsoft.XMLHTTP")}catch(e){}}function X(t){return rt.isWindow(t)?t:9===t.nodeType?t.defaultView||t.parentWindow:!1}var V=[],G=V.slice,J=V.concat,Y=V.push,K=V.indexOf,Z={},tt=Z.toString,et=Z.hasOwnProperty,nt={},it="1.11.1",rt=function(t,e){return new rt.fn.init(t,e)},ot=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,at=/^-ms-/,st=/-([\da-z])/gi,lt=function(t,e){return e.toUpperCase()};rt.fn=rt.prototype={jquery:it,constructor:rt,selector:"",length:0,toArray:function(){return G.call(this)},get:function(t){return null!=t?0>t?this[t+this.length]:this[t]:G.call(this)},pushStack:function(t){var e=rt.merge(this.constructor(),t);return e.prevObject=this,e.context=this.context,e},each:function(t,e){return rt.each(this,t,e)},map:function(t){return this.pushStack(rt.map(this,function(e,n){return t.call(e,n,e)}))},slice:function(){return this.pushStack(G.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(t){var e=this.length,n=+t+(0>t?e:0);return this.pushStack(n>=0&&e>n?[this[n]]:[])},end:function(){return this.prevObject||this.constructor(null)},push:Y,sort:V.sort,splice:V.splice},rt.extend=rt.fn.extend=function(){var t,e,n,i,r,o,a=arguments[0]||{},s=1,l=arguments.length,u=!1;for("boolean"==typeof a&&(u=a,a=arguments[s]||{}
vendor: 8,070 bytes, lines 21-32
21,s++),"object"==typeof a||rt.isFunction(a)||(a={}),s===l&&(a=this,s--);l>s;s++)if(null!=(r=arguments[s]))for(i in r)t=a[i],n=r[i],a!==n&&(u&&n&&(rt.isPlainObject(n)||(e=rt.isArray(n)))?(e?(e=!1,o=t&&rt.isArray(t)?t:[]):o=t&&rt.isPlainObject(t)?t:{},a[i]=rt.extend(u,o,n)):void 0!==n&&(a[i]=n));return a},rt.extend({expando:"jQuery"+(it+Math.random()).replace(/\D/g,""),isReady:!0,error:function(t){throw new Error(t)},noop:function(){},isFunction:function(t){return"function"===rt.type(t)},isArray:Array.isArray||function(t){return"array"===rt.type(t)},isWindow:function(t){return null!=t&&t==t.window},isNumeric:function(t){return!rt.isArray(t)&&t-parseFloat(t)>=0},isEmptyObject:function(t){var e;for(e in t)return!1;return!0},isPlainObject:function(t){var e;if(!t||"object"!==rt.type(t)||t.nodeType||rt.isWindow(t))return!1;try{if(t.constructor&&!et.call(t,"constructor")&&!et.call(t.constructor.prototype,"isPrototypeOf"))return!1}catch(n){return!1}if(nt.ownLast)for(e in t)return et.call(t,e);for(e in t);return void 0===e||et.call(t,e)},type:function(t){return null==t?t+"":"object"==typeof t||"function"==typeof t?Z[tt.call(t)]||"object":typeof t},globalEval:function(e){e&&rt.trim(e)&&(t.execScript||function(e){t.eval.call(t,e)})(e)},camelCase:function(t){return t.replace(at,"ms-").replace(st,lt)},nodeName:function(t,e){return t.nodeName&&t.nodeName.toLowerCase()===e.toLowerCase()},each:function(t,e,i){var r,o=0,a=t.length,s=n(t);if(i){if(s)for(;a>o&&(r=e.apply(t[o],i),r!==!1);o++);else for(o in t)if(r=e.apply(t[o],i),r===!1)break}else if(s)for(;a>o&&(r=e.call(t[o],o,t[o]),r!==!1);o++);else for(o in t)if(r=e.call(t[o],o,t[o]),r===!1)break;return t},trim:function(t){return null==t?"":(t+"").replace(ot,"")},makeArray:function(t,e){var i=e||[];return null!=t&&(n(Object(t))?rt.merge(i,"string"==typeof t?[t]:t):Y.call(i,t)),i},inArray:function(t,e,n){var i;if(e){if(K)return K.call(e,t,n);for(i=e.length,n=n?0>n?Math.max(0,i+n):n:0;i>n;n++)if(n in e&&e[n]===t)return n}return-1},merge:function(t,e){for(var n=+e.length,i=0,r=t.length;n>i;)t[r++]=e[i++];if(n!==n)for(;void 0!==e[i];)t[r++]=e[i++];return t.length=r,t},grep:function(t,e,n){for(var i,r=[],o=0,a=t.length,s=!n;a>o;o++)i=!e(t[o],o),i!==s&&r.push(t[o]);return r},map:function(t,e,i){var r,o=0,a=t.length,s=n(t),l=[];if(s)for(;a>o;o++)r=e(t[o],o,i),null!=r&&l.push(r);else for(o in t)r=e(t[o],o,i),null!=r&&l.push(r);return J.apply([],l)},guid:1,proxy:function(t,e){var n,i,r;return"string"==typeof e&&(r=t[e],e=t,t=r),rt.isFunction(t)?(n=G.call(arguments,2),i=function(){return t.apply(e||this,n.concat(G.call(arguments)))},i.guid=t.guid=t.guid||rt.guid++,i):void 0},now:function(){return+new Date},support:nt}),rt.each("Boolean Number String Function Array Date RegExp Object Error".split(" "),function(t,e){Z["[object "+e+"]"]=e.toLowerCase()});
22var ut=/*!
23 * Sizzle CSS Selector Engine v1.10.19
24 * http://sizzlejs.com/
25 *
26 * Copyright 2013 jQuery Foundation, Inc. and other contributors
27 * Released under the MIT license
28 * http://jquery.org/license
29 *
30 * Date: 2014-04-18
31 */
32function(t){function e(t,e,n,i){var r,o,a,s,l,u,d,f,h,m;if((e?e.ownerDocument||e:R)!==D&&A(e),e=e||D,n=n||[],!t||"string"!=typeof t)return n;if(1!==(s=e.nodeType)&&9!==s)return[];if(_&&!i){if(r=yt.exec(t))if(a=r[1]){if(9===s){if(o=e.getElementById(a),!o||!o.parentNode)return n;if(o.id===a)return n.push(o),n}else if(e.ownerDocument&&(o=e.ownerDocument.getElementById(a))&&M(e,o)&&o.id===a)return n.push(o),n}else{if(r[2])return Z.apply(n,e.getElementsByTagName(t)),n;if((a=r[3])&&x.getElementsByClassName&&e.getElementsByClassName)return Z.apply(n,e.getElementsByClassName(a)),n}if(x.qsa&&(!I||!I.test(t))){if(f=d=z,h=e,m=9===s&&t,1===s&&"object"!==e.nodeName.toLowerCase()){for(u=k(t),(d=e.getAttribute("id"))?f=d.replace(wt,"\\$&"):e.setAttribute("id",f),f="[id='"+f+"'] ",l=u.length;l--;)u[l]=f+p(u[l]);h=bt.test(t)&&c(e.parentNode)||e,m=u.join(",")}if(m)try{return Z.apply(n,h.querySelectorAll(m)),n}catch(g){}finally{d||e.removeAttribute("id")}}}return N(t.replace(lt,"$1"),e,n,i)}function n(){function t(n,i){return e.push(n+" ")>C.cacheLength&&delete t[e.shift()],t[n+" "]=i}var e=[];return t}function i(t){return t[z]=!0,t}function r(t){var e=D.createElement("div");try{return!!t(e)}catch(n){return!1}finally{e.parentNode&&e.parentNode.removeChild(e),e=null}}function o(t,e){for(var n=t.split("|"),i=t.length;i--;)C.attrHandle[n[i]]=e}function a(t,e){var n=e&&t,i=n&&1===t.nodeType&&1===e.nodeType&&(~e.sourceIndex||V)-(~t.sourceIndex||V);if(i)return i;if(n)for(;n=n.nextSibling;)if(n===e)return-1;return t?1:-1}function s(t){return function(e){var n=e.nodeName.toLowerCase();return"input"===n&&e.type===t}}function l(t){return function(e){var n=e.nodeName.toLowerCase();return("input"===n||"button"===n)&&e.type===t}}function u(t){return i(function(e){return e=+e,i(function(n,i){for(var r,o=t([],n.length,e),a=o.length;a--;)n[r=o[a]]&&(n[r]=!(i[r]=n[r]))})})}function c(t){return t&&typeof t.getElementsByTagName!==X&&t}function d(){}function p(t){for(var e=0,n=t.length,i="";n>e;e++)i+=t[e].value;return i}function f(t,e,n){var i=e.dir,r=n&&"parentNode"===i,o=H++;return e.first?function(e,n,o){for(;e=e[i];)if(1===e.nodeType||r)return t(e,n,o)}:function(e,n,a){var s,l,u=[U,o];if(a){for(;e=e[i];)if((1===e.nodeType||r)&&t(e,n,a))return!0}else for(;e=e[i];)if(1===e.nodeType||r){if(l=e[z]||(e[z]={}),(s=l[i])&&s[0]===U&&s[1]===o)return u[2]=s[2];if(l[i]=u,u[2]=t(e,n,a))return!0}}}function h(t){return t.length>1?function(e,n,i){for(var r=t.length;r--;)if(!t[r](e,n,i))return!1;return!0}:t[0]}function m(t,n,i){for(var r=0,o=n.length;o>r;r++)e(t,n[r],i);return i}function g(t,e,n,i,r){for(var o,a=[],s=0,l=t.length,u=null!=e;l>s;s++)(o=t[s])&&(n&&!n(o,i,r)||(a.push(o),u&&e.push(s)));return a}function v(t,e,n,r,o,a){return r&&!r[z]&&(r=v(r)),o&&!o[z]&&(o=v(o,a)),i(function(i,a,s,l){var u,c,d,p=[],f=[],h=a.length,v=i||m(e||"*",s.nodeType?[s]:s,[]),y=!t||!i&&e?v:g(v,p,t,s,l),b=n?o||(i?t:h||r)?[]:a:y;if(n&&n(y,b,s,l),r)for(u=g(b,f),r(u,[],s,l),c=u.length;c--;)(d=u[c])&&(b[f[c]]=!(y[f[c]]=d));if(i){if(o||t){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?et.call(i,d):p[c])>-1&&(i[u]=!(a[u]=d))}}else b=g(b===a?b.splice(h,b.length):b),o?o(null,a,b,l):Z.apply(a,b)})}function y(t){for(var e,n,i,r=t.length,o=C.relative[t[0].type],a=o||C.relative[" "],s=o?1:0,l=f(function(t){return t===e},a,!0),u=f(function(t){return et.call(e,t)>-1},a,!0),c=[function(t,n,i){return!o&&(i||n!==$)||((e=n).nodeType?l(t,n,i):u(t,n,i))}];r>s;s++)if(n=C.relative[t[s].type])c=[f(h(c),n)];else{if(n=C.filter[t[s].type].apply(null,t[s].matches),n[z]){for(i=++s;r>i&&!C.relative[t[i].type];i++);return v(s>1&&h(c),s>1&&p(t.slice(0,s-1).concat({value:" "===t[s-2].type?"*":""})).replace(lt,"$1"),n,i>s&&y(t.slice(s,i)),r>i&&y(t=t.slice(i)),r>i&&p(t))}c.push(n)}return h(c)}function b(t,n){var r=n.length>0,o=t.length>0,a=function(i,a,s,l,u){var c,d,p,f=0,h="0",m=i&&[],v=[],y=$,b=i||o&&C.find.TAG("*",u),w=U+=null==y?1:Math.random()||.1,x=b.length;for(u&&($=a!==D&&a);h!==x&&null!=(c=b[h]);h++){if(o&&c){for(d=0;p=t[d++];)if(p(c,a,s)){l.push(c);break}u&&(U=w)}r&&((c=!p&&c)&&f--,i&&m.push(c))}if(f+=h,r&&h!==f){for(d=0;p=n[d++];)p(m,v,a,s);if(i){if(f>0)for(;h--;)m[h]||v[h]||(v[h]=Y.call(l));v=g(v)}Z.apply(l,v),u&&!i&&v.length>0&&f+n.length>1&&e.uniqueSort(l)}return u&&(U=w,$=y),m};return r?i(a):a}var w,x,C,E,S,k,T,N,$,j,L,A,D,F,_,I,P,O,M,z="sizzle"+-new Date,R=t.document,U=0,H=0,q=n(),W=n(),B=n(),Q=function(t,e){return t===e&&(L=!0),0},X="undefined",V=1<<31,G={}.hasOwnProperty,J=[],Y=J.pop,K=J.push,Z=J.push,tt=J.slice,et=J.indexOf||function(t){for(var e=0,n=this.length;n>e;e++)if(this[e]===t)return e;return-1},nt="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",it="[\\x20\\t\\r\\n\\f]",rt="(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+",ot=rt.replace("w","w#"),at="\\["+it+"*("+rt+")(?:"+it+"*([*^$|!~]?=)"+it+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+ot+"))|)"+it+"*\\]",
vendor: 10,262 bytes, line 32
32st=":("+rt+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+at+")*)|.*)\\)|)",lt=new RegExp("^"+it+"+|((?:^|[^\\\\])(?:\\\\.)*)"+it+"+$","g"),ut=new RegExp("^"+it+"*,"+it+"*"),ct=new RegExp("^"+it+"*([>+~]|"+it+")"+it+"*"),dt=new RegExp("="+it+"*([^\\]'\"]*?)"+it+"*\\]","g"),pt=new RegExp(st),ft=new RegExp("^"+ot+"$"),ht={ID:new RegExp("^#("+rt+")"),CLASS:new RegExp("^\\.("+rt+")"),TAG:new RegExp("^("+rt.replace("w","w*")+")"),ATTR:new RegExp("^"+at),PSEUDO:new RegExp("^"+st),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+it+"*(even|odd|(([+-]|)(\\d*)n|)"+it+"*(?:([+-]|)"+it+"*(\\d+)|))"+it+"*\\)|)","i"),bool:new RegExp("^(?:"+nt+")$","i"),needsContext:new RegExp("^"+it+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+it+"*((?:-\\d)?\\d*)"+it+"*\\)|)(?=[^-]|$)","i")},mt=/^(?:input|select|textarea|button)$/i,gt=/^h\d$/i,vt=/^[^{]+\{\s*\[native \w/,yt=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,bt=/[+~]/,wt=/'|\\/g,xt=new RegExp("\\\\([\\da-f]{1,6}"+it+"?|("+it+")|.)","ig"),Ct=function(t,e,n){var i="0x"+e-65536;return i!==i||n?e:0>i?String.fromCharCode(i+65536):String.fromCharCode(i>>10|55296,1023&i|56320)};try{Z.apply(J=tt.call(R.childNodes),R.childNodes),J[R.childNodes.length].nodeType}catch(Et){Z={apply:J.length?function(t,e){K.apply(t,tt.call(e))}:function(t,e){for(var n=t.length,i=0;t[n++]=e[i++];);t.length=n-1}}}x=e.support={},S=e.isXML=function(t){var e=t&&(t.ownerDocument||t).documentElement;return e?"HTML"!==e.nodeName:!1},A=e.setDocument=function(t){var e,n=t?t.ownerDocument||t:R,i=n.defaultView;return n!==D&&9===n.nodeType&&n.documentElement?(D=n,F=n.documentElement,_=!S(n),i&&i!==i.top&&(i.addEventListener?i.addEventListener("unload",function(){A()},!1):i.attachEvent&&i.attachEvent("onunload",function(){A()})),x.attributes=r(function(t){return t.className="i",!t.getAttribute("className")}),x.getElementsByTagName=r(function(t){return t.appendChild(n.createComment("")),!t.getElementsByTagName("*").length}),x.getElementsByClassName=vt.test(n.getElementsByClassName)&&r(function(t){return t.innerHTML="<div class='a'></div><div class='a i'></div>",t.firstChild.className="i",2===t.getElementsByClassName("i").length}),x.getById=r(function(t){return F.appendChild(t).id=z,!n.getElementsByName||!n.getElementsByName(z).length}),x.getById?(C.find.ID=function(t,e){if(typeof e.getElementById!==X&&_){var n=e.getElementById(t);return n&&n.parentNode?[n]:[]}},C.filter.ID=function(t){var e=t.replace(xt,Ct);return function(t){return t.getAttribute("id")===e}}):(delete C.find.ID,C.filter.ID=function(t){var e=t.replace(xt,Ct);return function(t){var n=typeof t.getAttributeNode!==X&&t.getAttributeNode("id");return n&&n.value===e}}),C.find.TAG=x.getElementsByTagName?function(t,e){return typeof e.getElementsByTagName!==X?e.getElementsByTagName(t):void 0}:function(t,e){var n,i=[],r=0,o=e.getElementsByTagName(t);if("*"===t){for(;n=o[r++];)1===n.nodeType&&i.push(n);return i}return o},C.find.CLASS=x.getElementsByClassName&&function(t,e){return typeof e.getElementsByClassName!==X&&_?e.getElementsByClassName(t):void 0},P=[],I=[],(x.qsa=vt.test(n.querySelectorAll))&&(r(function(t){t.innerHTML="<select msallowclip=''><option selected=''></option></select>",t.querySelectorAll("[msallowclip^='']").length&&I.push("[*^$]="+it+"*(?:''|\"\")"),t.querySelectorAll("[selected]").length||I.push("\\["+it+"*(?:value|"+nt+")"),t.querySelectorAll(":checked").length||I.push(":checked")}),r(function(t){var e=n.createElement("input");e.setAttribute("type","hidden"),t.appendChild(e).setAttribute("name","D"),t.querySelectorAll("[name=d]").length&&I.push("name"+it+"*[*^$|!~]?="),t.querySelectorAll(":enabled").length||I.push(":enabled",":disabled"),t.querySelectorAll("*,:x"),I.push(",.*:")})),(x.matchesSelector=vt.test(O=F.matches||F.webkitMatchesSelector||F.mozMatchesSelector||F.oMatchesSelector||F.msMatchesSelector))&&r(function(t){x.disconnectedMatch=O.call(t,"div"),O.call(t,"[s!='']:x"),P.push("!=",st)}),I=I.length&&new RegExp(I.join("|")),P=P.length&&new RegExp(P.join("|")),e=vt.test(F.compareDocumentPosition),M=e||vt.test(F.contains)?function(t,e){var n=9===t.nodeType?t.documentElement:t,i=e&&e.parentNode;return t===i||!(!i||1!==i.nodeType||!(n.contains?n.contains(i):t.compareDocumentPosition&&16&t.compareDocumentPosition(i)))}:function(t,e){if(e)for(;e=e.parentNode;)if(e===t)return!0;return!1},Q=e?function(t,e){if(t===e)return L=!0,0;var i=!t.compareDocumentPosition-!e.compareDocumentPosition;return i?i:(i=(t.ownerDocument||t)===(e.ownerDocument||e)?t.compareDocumentPosition(e):1,1&i||!x.sortDetached&&e.compareDocumentPosition(t)===i?t===n||t.ownerDocument===R&&M(R,t)?-1:e===n||e.ownerDocument===R&&M(R,e)?1:j?et.call(j,t)-et.call(j,e):0:4&i?-1:1)}:function(t,e){if(t===e)return L=!0,0;var i,r=0,o=t.parentNode,s=e.parentNode,l=[t],u=[e];if(!o||!s)return t===n?-1:e===n?1:o?-1:s?1:j?et.call(j,t)-et.call(j,e):0;if(o===s)return a(t,e);for(i=t;i=i.parentNode;)l.unshift(i);for(i=e;i=i.parentNode;)u.unshift(i);for(;l[r]===u[r];)r++;return r?a(l[r],u[r]):l[r]===R?-1:u[r]===R?1:0},n):D},e.matches=function(t,n){return e(t,null,null,n)},e.matchesSelector=function(t,n){if((t.ownerDocument||t)!==D&&A(t),n=n.replace(dt,"='$1']"),x.matchesSelector&&_&&(!P||!P.test(n))&&(!I||!I.test(n)))try{var i=O.call(t,n);if(i||x.disconnectedMatch||t.document&&11!==t.document.nodeType)return i}catch(r){}return e(n,D,null,[t]).length>0},e.contains=function(t,e){return(t.ownerDocument||t)!==D&&A(t),M(t,e)},e.attr=function(t,e){(t.ownerDocument||t)!==D&&A(t);var n=C.attrHandle[e.toLowerCase()],i=n&&G.call(C.attrHandle,e.toLowerCase())?n(t,e,!_):void 0;return void 0!==i?i:x.attributes||!_?t.getAttribute(e):(i=t.getAttributeNode(e))&&i.specified?i.value:null},e.error=function(t){throw new Error("Syntax error, unrecognized expression: "+t)},e.uniqueSort=function(t){var e,n=[],i=0,r=0;if(L=!x.detectDuplicates,j=!x.sortStable&&t.slice(0),t.sort(Q),L){for(;e=t[r++];)e===t[r]&&(i=n.push(r));for(;i--;)t.splice(n[i],1)}return j=null,t},E=e.getText=function(t){var e,n="",i=0,r=t.nodeType;if(r){if(1===r||9===r||11===r){if("string"==typeof t.textContent)return t.textContent;for(t=t.firstChild;t;t=t.nextSibling)n+=E(t)}else if(3===r||4===r)return t.nodeValue}else for(;e=t[i++];)n+=E(e);return n},C=e.selectors={cacheLength:50,createPseudo:i,match:ht,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(t){return t[1]=t[1].replace(xt,Ct),t[3]=(t[3]||t[4]||t[5]||"").replace(xt,Ct),"~="===t[2]&&(t[3]=" "+t[3]+" "),t.slice(0,4)},CHILD:function(t){return t[1]=t[1].toLowerCase(),"nth"===t[1].slice(0,3)?(t[3]||e.error(t[0]),t[4]=+(t[4]?t[5]+(t[6]||1):2*("even"===t[3]||"odd"===t[3])),t[5]=+(t[7]+t[8]||"odd"===t[3])):t[3]&&e.error(t[0]),t},PSEUDO:function(t){var e,n=!t[6]&&t[2];return ht.CHILD.test(t[0])?null:(t[3]?t[2]=t[4]||t[5]||"":n&&pt.test(n)&&(e=k(n,!0))&&(e=n.indexOf(")",n.length-e)-n.length)&&(t[0]=t[0].slice(0,e),t[2]=n.slice(0,e)),t.slice(0,3))}},filter:{TAG:function(t){var e=t.replace(xt,Ct).toLowerCase();return"*"===t?function(){return!0}:function(t){return t.nodeName&&t.nodeName.toLowerCase()===e}},CLASS:function(t){var e=q[t+" "];return e||(e=new RegExp("(^|"+it+")"+t+"("+it+"|$)"))&&q(t,function(t){return e.test("string"==typeof t.className&&t.className||typeof t.getAttribute!==X&&t.getAttribute("class")||"")})},ATTR:function(t,n,i){return function(r){var o=e.attr(r,t);return null==o?"!="===n:n?(o+="","="===n?o===i:"!="===n?o!==i:"^="===n?i&&0===o.indexOf(i):"*="===n?i&&o.indexOf(i)>-1:"$="===n?i&&o.slice(-i.length)===i:"~="===n?(" "+o+" ").indexOf(i)>-1:"|="===n?o===i||o.slice(0,i.length+1)===i+"-":!1):!0}},CHILD:function(t,e,n,i,r){var o="nth"!==t.slice(0,3),a="last"!==t.slice(-4),s="of-type"===e;return 1===i&&0===r?function(t){return!!t.parentNode}:function(e,n,l){var u,c,d,p,f,h,m=o!==a?"nextSibling":"previousSibling",g=e.parentNode,v=s&&e.nodeName.toLowerCase(),y=!l&&!s;if(g){if(o){for(;m;){for(d=e;d=d[m];)if(s?d.nodeName.toLowerCase()===v:1===d.nodeType)return!1;h=m="only"===t&&!h&&"nextSibling"}return!0}if(h=[a?g.firstChild:g.lastChild],a&&y){for(c=g[z]||(g[z]={}),u=c[t]||[],f=u[0]===U&&u[1],p=u[0]===U&&u[2],d=f&&g.childNodes[f];d=++f&&d&&d[m]||(p=f=0)||h.pop();)if(1===d.nodeType&&++p&&d===e){c[t]=[U,f,p];break}}else if(y&&(u=(e[z]||(e[z]={}))[t])&&u[0]===U)p=u[1];else for(;(d=++f&&d&&d[m]||(p=f=0)||h.pop())&&((s?d.nodeName.toLowerCase()!==v:1!==d.nodeType)||!++p||(y&&((d[z]||(d[z]={}))[t]=[U,p]),d!==e)););return p-=r,p===i||p%i===0&&p/i>=0}}},PSEUDO:function(t,n){var r,o=C.pseudos[t]||C.setFilters[t.toLowerCase()]||e.error("unsupported pseudo: "+t);return o[z]?o(n):o.length>1?(r=[t,t,"",n],C.setFilters.hasOwnProperty(t.toLowerCase())?i(function(t,e){for(var i,r=o(t,n),a=r.length;a--;)i=et.call(t,r[a]),t[i]=!(e[i]=r[a])}):function(t){return o(t,0,r)}):o}},pseudos:{not:i(function(t){var e=[],n=[],r=T(t.replace(lt,"$1"));return r[z]?i(function(t,e,n,i){for(var o,a=r(t,null,i,[]),s=t.length;s--;)(o=a[s])&&(t[s]=!(e[s]=o))}):function(t,i,o){return e[0]=t,r(e,null,o,n),!n.pop()}}),has:i(function(t){return function(n){return e(t,n).length>0}}),contains:i(function(t){return function(e){return(e.textContent||e.innerText||E(e)).indexOf(t)>-1}}),lang:i(function(t){return ft.test(t||"")||e.error("unsupported lang: "+t),t=t.replace(xt,Ct).toLowerCase(),function(e){var n;do if(n=_?e.lang:e.getAttribute("xml:lang")||e.getAttribute("lang"))return n=n.toLowerCase(),n===t||0===n.indexOf(t+"-");while((e=e.parentNode)&&1===e.nodeType);return!1}}),target:function(e){var n=t.location&&t.location.hash;return n&&n.slice(1)===e.id},root:function(t){return t===F},focus:function(t){return t===D.activeElement&&(!D.hasFocus||D.hasFocus())&&!!(t.type||t.href||~t.tabIndex)},enabled:function(t){return t.disabled===!1},disabled:function(t){return t.disabled===!0},checked:function(t){var e=t.nodeName.toLowerCase();return"input"===e&&!!t.checked||"option"===e&&!!t.selected},selected:function(t){return t.parentNode&&t.parentNode.selectedIndex,t.selected===!0},empty:function(t){for(t=t.firstChild;t;t=t.nextSibling)if(t.nodeType<6)return!1;return!0},parent:function(t){return!C.pseudos.empty(t)}
vendor: 16,425 bytes, line 32
32,header:function(t){return gt.test(t.nodeName)},input:function(t){return mt.test(t.nodeName)},button:function(t){var e=t.nodeName.toLowerCase();return"input"===e&&"button"===t.type||"button"===e},text:function(t){var e;return"input"===t.nodeName.toLowerCase()&&"text"===t.type&&(null==(e=t.getAttribute("type"))||"text"===e.toLowerCase())},first:u(function(){return[0]}),last:u(function(t,e){return[e-1]}),eq:u(function(t,e,n){return[0>n?n+e:n]}),even:u(function(t,e){for(var n=0;e>n;n+=2)t.push(n);return t}),odd:u(function(t,e){for(var n=1;e>n;n+=2)t.push(n);return t}),lt:u(function(t,e,n){for(var i=0>n?n+e:n;--i>=0;)t.push(i);return t}),gt:u(function(t,e,n){for(var i=0>n?n+e:n;++i<e;)t.push(i);return t})}},C.pseudos.nth=C.pseudos.eq;for(w in{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})C.pseudos[w]=s(w);for(w in{submit:!0,reset:!0})C.pseudos[w]=l(w);return d.prototype=C.filters=C.pseudos,C.setFilters=new d,k=e.tokenize=function(t,n){var i,r,o,a,s,l,u,c=W[t+" "];if(c)return n?0:c.slice(0);for(s=t,l=[],u=C.preFilter;s;){i&&!(r=ut.exec(s))||(r&&(s=s.slice(r[0].length)||s),l.push(o=[])),i=!1,(r=ct.exec(s))&&(i=r.shift(),o.push({value:i,type:r[0].replace(lt," ")}),s=s.slice(i.length));for(a in C.filter)!(r=ht[a].exec(s))||u[a]&&!(r=u[a](r))||(i=r.shift(),o.push({value:i,type:a,matches:r}),s=s.slice(i.length));if(!i)break}return n?s.length:s?e.error(t):W(t,l).slice(0)},T=e.compile=function(t,e){var n,i=[],r=[],o=B[t+" "];if(!o){for(e||(e=k(t)),n=e.length;n--;)o=y(e[n]),o[z]?i.push(o):r.push(o);o=B(t,b(r,i)),o.selector=t}return o},N=e.select=function(t,e,n,i){var r,o,a,s,l,u="function"==typeof t&&t,d=!i&&k(t=u.selector||t);if(n=n||[],1===d.length){if(o=d[0]=d[0].slice(0),o.length>2&&"ID"===(a=o[0]).type&&x.getById&&9===e.nodeType&&_&&C.relative[o[1].type]){if(e=(C.find.ID(a.matches[0].replace(xt,Ct),e)||[])[0],!e)return n;u&&(e=e.parentNode),t=t.slice(o.shift().value.length)}for(r=ht.needsContext.test(t)?0:o.length;r--&&(a=o[r],!C.relative[s=a.type]);)if((l=C.find[s])&&(i=l(a.matches[0].replace(xt,Ct),bt.test(o[0].type)&&c(e.parentNode)||e))){if(o.splice(r,1),t=i.length&&p(o),!t)return Z.apply(n,i),n;break}}return(u||T(t,d))(i,e,!_,n,bt.test(t)&&c(e.parentNode)||e),n},x.sortStable=z.split("").sort(Q).join("")===z,x.detectDuplicates=!!L,A(),x.sortDetached=r(function(t){return 1&t.compareDocumentPosition(D.createElement("div"))}),r(function(t){return t.innerHTML="<a href='#'></a>","#"===t.firstChild.getAttribute("href")})||o("type|href|height|width",function(t,e,n){return n?void 0:t.getAttribute(e,"type"===e.toLowerCase()?1:2)}),x.attributes&&r(function(t){return t.innerHTML="<input/>",t.firstChild.setAttribute("value",""),""===t.firstChild.getAttribute("value")})||o("value",function(t,e,n){return n||"input"!==t.nodeName.toLowerCase()?void 0:t.defaultValue}),r(function(t){return null==t.getAttribute("disabled")})||o(nt,function(t,e,n){var i;return n?void 0:t[e]===!0?e.toLowerCase():(i=t.getAttributeNode(e))&&i.specified?i.value:null}),e}(t);rt.find=ut,rt.expr=ut.selectors,rt.expr[":"]=rt.expr.pseudos,rt.unique=ut.uniqueSort,rt.text=ut.getText,rt.isXMLDoc=ut.isXML,rt.contains=ut.contains;var ct=rt.expr.match.needsContext,dt=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,pt=/^.[^:#\[\.,]*$/;rt.filter=function(t,e,n){var i=e[0];return n&&(t=":not("+t+")"),1===e.length&&1===i.nodeType?rt.find.matchesSelector(i,t)?[i]:[]:rt.find.matches(t,rt.grep(e,function(t){return 1===t.nodeType}))},rt.fn.extend({find:function(t){var e,n=[],i=this,r=i.length;if("string"!=typeof t)return this.pushStack(rt(t).filter(function(){for(e=0;r>e;e++)if(rt.contains(i[e],this))return!0}));for(e=0;r>e;e++)rt.find(t,i[e],n);return n=this.pushStack(r>1?rt.unique(n):n),n.selector=this.selector?this.selector+" "+t:t,n},filter:function(t){return this.pushStack(i(this,t||[],!1))},not:function(t){return this.pushStack(i(this,t||[],!0))},is:function(t){return!!i(this,"string"==typeof t&&ct.test(t)?rt(t):t||[],!1).length}});var ft,ht=t.document,mt=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/,gt=rt.fn.init=function(t,e){var n,i;if(!t)return this;if("string"==typeof t){if(n="<"===t.charAt(0)&&">"===t.charAt(t.length-1)&&t.length>=3?[null,t,null]:mt.exec(t),!n||!n[1]&&e)return!e||e.jquery?(e||ft).find(t):this.constructor(e).find(t);if(n[1]){if(e=e instanceof rt?e[0]:e,rt.merge(this,rt.parseHTML(n[1],e&&e.nodeType?e.ownerDocument||e:ht,!0)),dt.test(n[1])&&rt.isPlainObject(e))for(n in e)rt.isFunction(this[n])?this[n](e[n]):this.attr(n,e[n]);return this}if(i=ht.getElementById(n[2]),i&&i.parentNode){if(i.id!==n[2])return ft.find(t);this.length=1,this[0]=i}return this.context=ht,this.selector=t,this}return t.nodeType?(this.context=this[0]=t,this.length=1,this):rt.isFunction(t)?"undefined"!=typeof ft.ready?ft.ready(t):t(rt):(void 0!==t.selector&&(this.selector=t.selector,this.context=t.context),rt.makeArray(t,this))};gt.prototype=rt.fn,ft=rt(ht);var vt=/^(?:parents|prev(?:Until|All))/,yt={children:!0,contents:!0,next:!0,prev:!0};rt.extend({dir:function(t,e,n){for(var i=[],r=t[e];r&&9!==r.nodeType&&(void 0===n||1!==r.nodeType||!rt(r).is(n));)1===r.nodeType&&i.push(r),r=r[e];return i},sibling:function(t,e){for(var n=[];t;t=t.nextSibling)1===t.nodeType&&t!==e&&n.push(t);return n}}),rt.fn.extend({has:function(t){var e,n=rt(t,this),i=n.length;return this.filter(function(){for(e=0;i>e;e++)if(rt.contains(this,n[e]))return!0})},closest:function(t,e){for(var n,i=0,r=this.length,o=[],a=ct.test(t)||"string"!=typeof t?rt(t,e||this.context):0;r>i;i++)for(n=this[i];n&&n!==e;n=n.parentNode)if(n.nodeType<11&&(a?a.index(n)>-1:1===n.nodeType&&rt.find.matchesSelector(n,t))){o.push(n);break}return this.pushStack(o.length>1?rt.unique(o):o)},index:function(t){return t?"string"==typeof t?rt.inArray(this[0],rt(t)):rt.inArray(t.jquery?t[0]:t,this):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(t,e){return this.pushStack(rt.unique(rt.merge(this.get(),rt(t,e))))},addBack:function(t){return this.add(null==t?this.prevObject:this.prevObject.filter(t))}}),rt.each({parent:function(t){var e=t.parentNode;return e&&11!==e.nodeType?e:null},parents:function(t){return rt.dir(t,"parentNode")},parentsUntil:function(t,e,n){return rt.dir(t,"parentNode",n)},next:function(t){return r(t,"nextSibling")},prev:function(t){return r(t,"previousSibling")},nextAll:function(t){return rt.dir(t,"nextSibling")},prevAll:function(t){return rt.dir(t,"previousSibling")},nextUntil:function(t,e,n){return rt.dir(t,"nextSibling",n)},prevUntil:function(t,e,n){return rt.dir(t,"previousSibling",n)},siblings:function(t){return rt.sibling((t.parentNode||{}).firstChild,t)},children:function(t){return rt.sibling(t.firstChild)},contents:function(t){return rt.nodeName(t,"iframe")?t.contentDocument||t.contentWindow.document:rt.merge([],t.childNodes)}},function(t,e){rt.fn[t]=function(n,i){var r=rt.map(this,e,n);return"Until"!==t.slice(-5)&&(i=n),i&&"string"==typeof i&&(r=rt.filter(i,r)),this.length>1&&(yt[t]||(r=rt.unique(r)),vt.test(t)&&(r=r.reverse())),this.pushStack(r)}});var bt=/\S+/g,wt={};rt.Callbacks=function(t){t="string"==typeof t?wt[t]||o(t):rt.extend({},t);var e,n,i,r,a,s,l=[],u=!t.once&&[],c=function(o){for(n=t.memory&&o,i=!0,a=s||0,s=0,r=l.length,e=!0;l&&r>a;a++)if(l[a].apply(o[0],o[1])===!1&&t.stopOnFalse){n=!1;break}e=!1,l&&(u?u.length&&c(u.shift()):n?l=[]:d.disable())},d={add:function(){if(l){var i=l.length;!function o(e){rt.each(e,function(e,n){var i=rt.type(n);"function"===i?t.unique&&d.has(n)||l.push(n):n&&n.length&&"string"!==i&&o(n)})}(arguments),e?r=l.length:n&&(s=i,c(n))}return this},remove:function(){return l&&rt.each(arguments,function(t,n){for(var i;(i=rt.inArray(n,l,i))>-1;)l.splice(i,1),e&&(r>=i&&r--,a>=i&&a--)}),this},has:function(t){return t?rt.inArray(t,l)>-1:!(!l||!l.length)},empty:function(){return l=[],r=0,this},disable:function(){return l=u=n=void 0,this},disabled:function(){return!l},lock:function(){return u=void 0,n||d.disable(),this},locked:function(){return!u},fireWith:function(t,n){return!l||i&&!u||(n=n||[],n=[t,n.slice?n.slice():n],e?u.push(n):c(n)),this},fire:function(){return d.fireWith(this,arguments),this},fired:function(){return!!i}};return d},rt.extend({Deferred:function(t){var e=[["resolve","done",rt.Callbacks("once memory"),"resolved"],["reject","fail",rt.Callbacks("once memory"),"rejected"],["notify","progress",rt.Callbacks("memory")]],n="pending",i={state:function(){return n},always:function(){return r.done(arguments).fail(arguments),this},then:function(){var t=arguments;return rt.Deferred(function(n){rt.each(e,function(e,o){var a=rt.isFunction(t[e])&&t[e];r[o[1]](function(){var t=a&&a.apply(this,arguments);t&&rt.isFunction(t.promise)?t.promise().done(n.resolve).fail(n.reject).progress(n.notify):n[o[0]+"With"](this===i?n.promise():this,a?[t]:arguments)})}),t=null}).promise()},promise:function(t){return null!=t?rt.extend(t,i):i}},r={};return i.pipe=i.then,rt.each(e,function(t,o){var a=o[2],s=o[3];i[o[1]]=a.add,s&&a.add(function(){n=s},e[1^t][2].disable,e[2][2].lock),r[o[0]]=function(){return r[o[0]+"With"](this===r?i:this,arguments),this},r[o[0]+"With"]=a.fireWith}),i.promise(r),t&&t.call(r,r),r},when:function(t){var e,n,i,r=0,o=G.call(arguments),a=o.length,s=1!==a||t&&rt.isFunction(t.promise)?a:0,l=1===s?t:rt.Deferred(),u=function(t,n,i){return function(r){n[t]=this,i[t]=arguments.length>1?G.call(arguments):r,i===e?l.notifyWith(n,i):--s||l.resolveWith(n,i)}};if(a>1)for(e=new Array(a),n=new Array(a),i=new Array(a);a>r;r++)o[r]&&rt.isFunction(o[r].promise)?o[r].promise().done(u(r,i,o)).fail(l.reject).progress(u(r,n,e)):--s;return s||l.resolveWith(i,o),l.promise()}});var xt;rt.fn.ready=function(t){return rt.ready.promise().done(t),this},rt.extend({isReady:!1,readyWait:1,holdReady:function(t){t?rt.readyWait++:rt.ready(!0)},ready:function(t){if(t===!0?!--rt.readyWait:!rt.isReady){if(!ht.body)return setTimeout(rt.ready);rt.isReady=!0,t!==!0&&--rt.readyWait>0||(xt.resolveWith(ht,[rt]),rt.fn.triggerHandler&&(rt(ht).triggerHandler("ready"),rt(ht).off("ready")))}}}),rt.ready.promise=function(e){if(!xt)if(xt=rt.Deferred(),"complete"===ht.readyState)setTimeout(rt.ready);else if(ht.addEventListener)ht.addEventListener("DOMContentLoaded",s,!1),t.addEventListener("load",s,!1);else{ht.attachEvent("onreadystatechange",s),t.attachEvent("onload",s);var n=!1;try{n=null==t.frameElement&&ht.documentElement}catch(i){}n&&n.doScroll&&!function r(){if(!rt.isReady){try{n.doScroll("left")}catch(t){return setTimeout(r,50)}a(),rt.ready()}}()}return xt.promise(e)};var Ct,Et="undefined";for(Ct in rt(nt))break;nt.ownLast="0"!==Ct,nt.inlineBlockNeedsLayout=!1,rt(function(){var t,e,n,i;n=ht.getElementsByTagName("body")[0],n&&n.style&&(e=ht.createElement("div"),i=ht.createElement("div"),i.style.cssText="position:absolute;border:0;width:0;height:0;top:0;left:-9999px",n.appendChild(i).appendChild(e),typeof e.style.zoom!==Et&&(e.style.cssText="display:inline;margin:0;border:0;padding:1px;width:1px;zoom:1",nt.inlineBlockNeedsLayout=t=3===e.offsetWidth,t&&(n.style.zoom=1)),n.removeChild(i))}),function(){var t=ht.createElement("div");if(null==nt.deleteExpando){nt.deleteExpando=!0;try{delete t.test}catch(e){nt.deleteExpando=!1}}t=null}(),rt.acceptData=function(t){var e=rt.noData[(t.nodeName+" ").toLowerCase()],n=+t.nodeType||1;return 1!==n&&9!==n?!1:!e||e!==!0&&t.getAttribute("classid")===e};var St=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,kt=/([A-Z])/g;rt.extend({cache:{},noData:{"applet ":!0,"embed ":!0,"object ":"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"},hasData:function(t){return t=t.nodeType?rt.cache[t[rt.expando]]:t[rt.expando],!!t&&!u(t)},data:function(t,e,n){return c(t,e,n)},removeData:function(t,e){return d(t,e)},_data:function(t,e,n){return c(t,e,n,!0)},_removeData:function(t,e){return d(t,e,!0)}}),rt.fn.extend({data:function(t,e){var n,i,r,o=this[0],a=o&&o.attributes;if(void 0===t){if(this.length&&(r=rt.data(o),1===o.nodeType&&!rt._data(o,"parsedAttrs"))){for(n=a.length;n--;)a[n]&&(i=a[n].name,0===i.indexOf("data-")&&(i=rt.camelCase(i.slice(5)),l(o,i,r[i])));rt._data(o,"parsedAttrs",!0)}return r}return"object"==typeof t?this.each(function(){rt.data(this,t)}):arguments.length>1?this.each(function(){rt.data(this,t,e)}):o?l(o,t,rt.data(o,t)):void 0},removeData:function(t){return this.each(function(){rt.removeData(this,t)})}}),rt.extend({queue:function(t,e,n){var i;return t?(e=(e||"fx")+"queue",i=rt._data(t,e),n&&(!i||rt.isArray(n)?i=rt._data(t,e,rt.makeArray(n)):i.push(n)),i||[]):void 0},dequeue:function(t,e){e=e||"fx";var n=rt.queue(t,e),i=n.length,r=n.shift(),o=rt._queueHooks(t,e),a=function(){rt.dequeue(t,e)};"inprogress"===r&&(r=n.shift(),i--),r&&("fx"===e&&n.unshift("inprogress"),delete o.stop,r.call(t,a,o)),!i&&o&&o.empty.fire()},_queueHooks:function(t,e){var n=e+"queueHooks";return rt._data(t,n)||rt._data(t,n,{empty:rt.Callbacks("once memory").add(function(){rt._removeData(t,e+"queue"),rt._removeData(t,n)})})}}),rt.fn.extend({queue:function(t,e){var n=2;return"string"!=typeof t&&(e=t,t="fx",n--),arguments.length<n?rt.queue(this[0],t):void 0===e?this:this.each(function(){var n=rt.queue(this,t,e);rt._queueHooks(this,t),"fx"===t&&"inprogress"!==n[0]&&rt.dequeue(this,t)})},dequeue:function(t){return this.each(function(){rt.dequeue(this,t)})},clearQueue:function(t){return this.queue(t||"fx",[])},promise:function(t,e){var n,i=1,r=rt.Deferred(),o=this,a=this.length,s=function(){--i||r.resolveWith(o,[o])};for("string"!=typeof t&&(e=t,t=void 0),t=t||"fx";a--;)n=rt._data(o[a],t+"queueHooks"),n&&n.empty&&(i++,n.empty.add(s));return s(),r.promise(e)}});var Tt=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,Nt=["Top","Right","Bottom","Left"],$t=function(t,e){return t=e||t,"none"===rt.css(t,"display")||!rt.contains(t.ownerDocument,t)},jt=rt.access=function(t,e,n,i,r,o,a){var s=0,l=t.length,u=null==n;if("object"===rt.type(n)){r=!0;for(s in n)rt.access(t,e,s,n[s],!0,o,a)}else if(void 0!==i&&(r=!0,rt.isFunction(i)||(a=!0),u&&(a?(e.call(t,i),e=null):(u=e,e=function(t,e,n){return u.call(rt(t),n)})),e))for(;l>s;s++)e(t[s],n,a?i:i.call(t[s],s,e(t[s],n)));return r?t:u?e.call(t):l?e(t[0],n):o},Lt=/^(?:checkbox|radio)$/i;!function(){var t=ht.createElement("input"),e=ht.createElement("div"),n=ht.createDocumentFragment();if(e.innerHTML="  <link/><table></table><a href='/a'>a</a><input type='checkbox'/>",nt.leadingWhitespace=3===e.firstChild.nodeType,nt.tbody=!e.getElementsByTagName("tbody").length,nt.htmlSerialize=!!e.getElementsByTagName("link").length,nt.html5Clone="<:nav></:nav>"!==ht.createElement("nav").cloneNode(!0).outerHTML,t.type="checkbox",t.checked=!0,n.appendChild(t),nt.appendChecked=t.checked,e.innerHTML="<textarea>x</textarea>",nt.noCloneChecked=!!e.cloneNode(!0).lastChild.defaultValue,n.appendChild(e),e.innerHTML="<input type='radio' checked='checked' name='t'/>",nt.checkClone=e.cloneNode(!0).cloneNode(!0).lastChild.checked,nt.noCloneEvent=!0,e.attachEvent&&(e.attachEvent("onclick",function(){nt.noCloneEvent=!1}),e.cloneNode(!0).click()),null==nt.deleteExpando){nt.deleteExpando=!0;try{delete e.test}catch(i){nt.deleteExpando=!1}}}(),function(){var e,n,i=ht.createElement("div");for(e in{submit:!0,change:!0,focusin:!0})n="on"+e,(nt[e+"Bubbles"]=n in t)||(i.setAttribute(n,"t"),nt[e+"Bubbles"]=i.attributes[n].expando===!1);i=null}();var At=/^(?:input|select|textarea)$/i,Dt=/^key/,Ft=/^(?:mouse|pointer|contextmenu)|click/,_t=/^(?:focusinfocus|focusoutblur)$/,It=/^([^.]*)(?:\.(.+)|)$/;rt.event={global:{},add:function(t,e,n,i,r){var o,a,s,l,u,c,d,p,f,h,m,g=rt._data(t);if(g){for(n.handler&&(l=n,n=l.handler,r=l.selector),n.guid||(n.guid=rt.guid++),(a=g.events)||(a=g.events={}),(c=g.handle)||(c=g.handle=function(t){return typeof rt===Et||t&&rt.event.triggered===t.type?void 0:rt.event.dispatch.apply(c.elem,arguments)},c.elem=t),e=(e||"").match(bt)||[""],s=e.length;s--;)o=It.exec(e[s])||[],f=m=o[1],h=(o[2]||"").split(".").sort(),f&&(u=rt.event.special[f]||{},f=(r?u.delegateType:u.bindType)||f,u=rt.event.special[f]||{},d=rt.extend({type:f,origType:m,data:i,handler:n,guid:n.guid,selector:r,needsContext:r&&rt.expr.match.needsContext.test(r),namespace:h.join(".")},l),(p=a[f])||(p=a[f]=[],p.delegateCount=0,u.setup&&u.setup.call(t,i,h,c)!==!1||(t.addEventListener?t.addEventListener(f,c,!1):t.attachEvent&&t.attachEvent("on"+f,c))),u.add&&(u.add.call(t,d),d.handler.guid||(d.handler.guid=n.guid)),r?p.splice(p.delegateCount++,0,d):p.push(d),rt.event.global[f]=!0);t=null}},remove:function(t,e,n,i,r){var o,a,s,l,u,c,d,p,f,h,m,g=rt.hasData(t)&&rt._data(t);
vendor: 6,301 bytes, lines 32-33
32if(g&&(c=g.events)){for(e=(e||"").match(bt)||[""],u=e.length;u--;)if(s=It.exec(e[u])||[],f=m=s[1],h=(s[2]||"").split(".").sort(),f){for(d=rt.event.special[f]||{},f=(i?d.delegateType:d.bindType)||f,p=c[f]||[],s=s[2]&&new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"),l=o=p.length;o--;)a=p[o],!r&&m!==a.origType||n&&n.guid!==a.guid||s&&!s.test(a.namespace)||i&&i!==a.selector&&("**"!==i||!a.selector)||(p.splice(o,1),a.selector&&p.delegateCount--,d.remove&&d.remove.call(t,a));l&&!p.length&&(d.teardown&&d.teardown.call(t,h,g.handle)!==!1||rt.removeEvent(t,f,g.handle),delete c[f])}else for(f in c)rt.event.remove(t,f+e[u],n,i,!0);rt.isEmptyObject(c)&&(delete g.handle,rt._removeData(t,"events"))}},trigger:function(e,n,i,r){var o,a,s,l,u,c,d,p=[i||ht],f=et.call(e,"type")?e.type:e,h=et.call(e,"namespace")?e.namespace.split("."):[];if(s=c=i=i||ht,3!==i.nodeType&&8!==i.nodeType&&!_t.test(f+rt.event.triggered)&&(f.indexOf(".")>=0&&(h=f.split("."),f=h.shift(),h.sort()),a=f.indexOf(":")<0&&"on"+f,e=e[rt.expando]?e:new rt.Event(f,"object"==typeof e&&e),e.isTrigger=r?2:3,
33e.namespace=h.join("."),e.namespace_re=e.namespace?new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,e.result=void 0,e.target||(e.target=i),n=null==n?[e]:rt.makeArray(n,[e]),u=rt.event.special[f]||{},r||!u.trigger||u.trigger.apply(i,n)!==!1)){if(!r&&!u.noBubble&&!rt.isWindow(i)){for(l=u.delegateType||f,_t.test(l+f)||(s=s.parentNode);s;s=s.parentNode)p.push(s),c=s;c===(i.ownerDocument||ht)&&p.push(c.defaultView||c.parentWindow||t)}for(d=0;(s=p[d++])&&!e.isPropagationStopped();)e.type=d>1?l:u.bindType||f,o=(rt._data(s,"events")||{})[e.type]&&rt._data(s,"handle"),o&&o.apply(s,n),o=a&&s[a],o&&o.apply&&rt.acceptData(s)&&(e.result=o.apply(s,n),e.result===!1&&e.preventDefault());if(e.type=f,!r&&!e.isDefaultPrevented()&&(!u._default||u._default.apply(p.pop(),n)===!1)&&rt.acceptData(i)&&a&&i[f]&&!rt.isWindow(i)){c=i[a],c&&(i[a]=null),rt.event.triggered=f;try{i[f]()}catch(m){}rt.event.triggered=void 0,c&&(i[a]=c)}return e.result}},dispatch:function(t){t=rt.event.fix(t);var e,n,i,r,o,a=[],s=G.call(arguments),l=(rt._data(this,"events")||{})[t.type]||[],u=rt.event.special[t.type]||{};if(s[0]=t,t.delegateTarget=this,!u.preDispatch||u.preDispatch.call(this,t)!==!1){for(a=rt.event.handlers.call(this,t,l),e=0;(r=a[e++])&&!t.isPropagationStopped();)for(t.currentTarget=r.elem,o=0;(i=r.handlers[o++])&&!t.isImmediatePropagationStopped();)t.namespace_re&&!t.namespace_re.test(i.namespace)||(t.handleObj=i,t.data=i.data,n=((rt.event.special[i.origType]||{}).handle||i.handler).apply(r.elem,s),void 0!==n&&(t.result=n)===!1&&(t.preventDefault(),t.stopPropagation()));return u.postDispatch&&u.postDispatch.call(this,t),t.result}},handlers:function(t,e){var n,i,r,o,a=[],s=e.delegateCount,l=t.target;if(s&&l.nodeType&&(!t.button||"click"!==t.type))for(;l!=this;l=l.parentNode||this)if(1===l.nodeType&&(l.disabled!==!0||"click"!==t.type)){for(r=[],o=0;s>o;o++)i=e[o],n=i.selector+" ",void 0===r[n]&&(r[n]=i.needsContext?rt(n,this).index(l)>=0:rt.find(n,this,null,[l]).length),r[n]&&r.push(i);r.length&&a.push({elem:l,handlers:r})}return s<e.length&&a.push({elem:this,handlers:e.slice(s)}),a},fix:function(t){if(t[rt.expando])return t;var e,n,i,r=t.type,o=t,a=this.fixHooks[r];for(a||(this.fixHooks[r]=a=Ft.test(r)?this.mouseHooks:Dt.test(r)?this.keyHooks:{}),i=a.props?this.props.concat(a.props):this.props,t=new rt.Event(o),e=i.length;e--;)n=i[e],t[n]=o[n];return t.target||(t.target=o.srcElement||ht),3===t.target.nodeType&&(t.target=t.target.parentNode),t.metaKey=!!t.metaKey,a.filter?a.filter(t,o):t},props:"altKey bubbles cancelable ctrlKey currentTarget eventPhase metaKey relatedTarget shiftKey target timeStamp view which".split(" "),fixHooks:{},keyHooks:{props:"char charCode key keyCode".split(" "),filter:function(t,e){return null==t.which&&(t.which=null!=e.charCode?e.charCode:e.keyCode),t}},mouseHooks:{props:"button buttons clientX clientY fromElement offsetX offsetY pageX pageY screenX screenY toElement".split(" "),filter:function(t,e){var n,i,r,o=e.button,a=e.fromElement;return null==t.pageX&&null!=e.clientX&&(i=t.target.ownerDocument||ht,r=i.documentElement,n=i.body,t.pageX=e.clientX+(r&&r.scrollLeft||n&&n.scrollLeft||0)-(r&&r.clientLeft||n&&n.clientLeft||0),t.pageY=e.clientY+(r&&r.scrollTop||n&&n.scrollTop||0)-(r&&r.clientTop||n&&n.clientTop||0)),!t.relatedTarget&&a&&(t.relatedTarget=a===t.target?e.toElement:a),t.which||void 0===o||(t.which=1&o?1:2&o?3:4&o?2:0),t}},special:{load:{noBubble:!0},focus:{trigger:function(){if(this!==h()&&this.focus)try{return this.focus(),!1}catch(t){}},delegateType:"focusin"},blur:{trigger:function(){return this===h()&&this.blur?(this.blur(),!1):void 0},delegateType:"focusout"},click:{trigger:function(){return rt.nodeName(this,"input")&&"checkbox"===this.type&&this.click?(this.click(),!1):void 0},_default:function(t){return rt.nodeName(t.target,"a")}},beforeunload:{postDispatch:function(t){void 0!==t.result&&t.originalEvent&&(t.originalEvent.returnValue=t.result)}}},simulate:function(t,e,n,i){var r=rt.extend(new rt.Event,n,{type:t,isSimulated:!0,originalEvent:{}});i?rt.event.trigger(r,null,e):rt.event.dispatch.call(e,r),r.isDefaultPrevented()&&n.preventDefault()}},rt.removeEvent=ht.removeEventListener?function(t,e,n){t.removeEventListener&&t.removeEventListener(e,n,!1)}:function(t,e,n){var i="on"+e;t.detachEvent&&(typeof t[i]===Et&&(t[i]=null),t.detachEvent(i,n))},rt.Event=function(t,e){return this instanceof rt.Event?(t&&t.type?(this.originalEvent=t,this.type=t.type,this.isDefaultPrevented=t.defaultPrevented||void 0===t.defaultPrevented&&t.returnValue===!1?p:f):this.type=t,e&&rt.extend(this,e),this.timeStamp=t&&t.timeStamp||rt.now(),void(this[rt.expando]=!0)):new rt.Event(t,e)},rt.Event.prototype={isDefaultPrevented:f,isPropagationStopped:f,isImmediatePropagationStopped:f,preventDefault:function(){var t=this.originalEvent;this.isDefaultPrevented=p,t&&(t.preventDefault?t.preventDefault():t.returnValue=!1)},stopPropagation:function(){var t=this.originalEvent;this.isPropagationStopped=p,t&&(t.stopPropagation&&t.stopPropagation(),t.cancelBubble=!0)},stopImmediatePropagation:function(){var t=this.originalEvent;this.isImmediatePropagationStopped=p,t&&t.stopImmediatePropagation&&t.stopImmediatePropagation(),this.stopPropagation()}}
vendor: 6,068 bytes, line 33
33,rt.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(t,e){rt.event.special[t]={delegateType:e,bindType:e,handle:function(t){var n,i=this,r=t.relatedTarget,o=t.handleObj;return r&&(r===i||rt.contains(i,r))||(t.type=o.origType,n=o.handler.apply(this,arguments),t.type=e),n}}}),nt.submitBubbles||(rt.event.special.submit={setup:function(){return rt.nodeName(this,"form")?!1:void rt.event.add(this,"click._submit keypress._submit",function(t){var e=t.target,n=rt.nodeName(e,"input")||rt.nodeName(e,"button")?e.form:void 0;n&&!rt._data(n,"submitBubbles")&&(rt.event.add(n,"submit._submit",function(t){t._submit_bubble=!0}),rt._data(n,"submitBubbles",!0))})},postDispatch:function(t){t._submit_bubble&&(delete t._submit_bubble,this.parentNode&&!t.isTrigger&&rt.event.simulate("submit",this.parentNode,t,!0))},teardown:function(){return rt.nodeName(this,"form")?!1:void rt.event.remove(this,"._submit")}}),nt.changeBubbles||(rt.event.special.change={setup:function(){return At.test(this.nodeName)?("checkbox"!==this.type&&"radio"!==this.type||(rt.event.add(this,"propertychange._change",function(t){"checked"===t.originalEvent.propertyName&&(this._just_changed=!0)}),rt.event.add(this,"click._change",function(t){this._just_changed&&!t.isTrigger&&(this._just_changed=!1),rt.event.simulate("change",this,t,!0)})),!1):void rt.event.add(this,"beforeactivate._change",function(t){var e=t.target;At.test(e.nodeName)&&!rt._data(e,"changeBubbles")&&(rt.event.add(e,"change._change",function(t){!this.parentNode||t.isSimulated||t.isTrigger||rt.event.simulate("change",this.parentNode,t,!0)}),rt._data(e,"changeBubbles",!0))})},handle:function(t){var e=t.target;return this!==e||t.isSimulated||t.isTrigger||"radio"!==e.type&&"checkbox"!==e.type?t.handleObj.handler.apply(this,arguments):void 0},teardown:function(){return rt.event.remove(this,"._change"),!At.test(this.nodeName)}}),nt.focusinBubbles||rt.each({focus:"focusin",blur:"focusout"},function(t,e){var n=function(t){rt.event.simulate(e,t.target,rt.event.fix(t),!0)};rt.event.special[e]={setup:function(){var i=this.ownerDocument||this,r=rt._data(i,e);r||i.addEventListener(t,n,!0),rt._data(i,e,(r||0)+1)},teardown:function(){var i=this.ownerDocument||this,r=rt._data(i,e)-1;r?rt._data(i,e,r):(i.removeEventListener(t,n,!0),rt._removeData(i,e))}}}),rt.fn.extend({on:function(t,e,n,i,r){var o,a;if("object"==typeof t){"string"!=typeof e&&(n=n||e,e=void 0);for(o in t)this.on(o,e,n,t[o],r);return this}if(null==n&&null==i?(i=e,n=e=void 0):null==i&&("string"==typeof e?(i=n,n=void 0):(i=n,n=e,e=void 0)),i===!1)i=f;else if(!i)return this;return 1===r&&(a=i,i=function(t){return rt().off(t),a.apply(this,arguments)},i.guid=a.guid||(a.guid=rt.guid++)),this.each(function(){rt.event.add(this,t,i,n,e)})},one:function(t,e,n,i){return this.on(t,e,n,i,1)},off:function(t,e,n){var i,r;if(t&&t.preventDefault&&t.handleObj)return i=t.handleObj,rt(t.delegateTarget).off(i.namespace?i.origType+"."+i.namespace:i.origType,i.selector,i.handler),this;if("object"==typeof t){for(r in t)this.off(r,e,t[r]);return this}return e!==!1&&"function"!=typeof e||(n=e,e=void 0),n===!1&&(n=f),this.each(function(){rt.event.remove(this,t,n,e)})},trigger:function(t,e){return this.each(function(){rt.event.trigger(t,e,this)})},triggerHandler:function(t,e){var n=this[0];return n?rt.event.trigger(t,e,n,!0):void 0}});var Pt="abbr|article|aside|audio|bdi|canvas|data|datalist|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video",Ot=/ jQuery\d+="(?:null|\d+)"/g,Mt=new RegExp("<(?:"+Pt+")[\\s/>]","i"),zt=/^\s+/,Rt=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,Ut=/<([\w:]+)/,Ht=/<tbody/i,qt=/<|&#?\w+;/,Wt=/<(?:script|style|link)/i,Bt=/checked\s*(?:[^=]|=\s*.checked.)/i,Qt=/^$|\/(?:java|ecma)script/i,Xt=/^true\/(.*)/,Vt=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g,Gt={option:[1,"<select multiple='multiple'>","</select>"],legend:[1,"<fieldset>","</fieldset>"],area:[1,"<map>","</map>"],param:[1,"<object>","</object>"],thead:[1,"<table>","</table>"],tr:[2,"<table><tbody>","</tbody></table>"],col:[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:nt.htmlSerialize?[0,"",""]:[1,"X<div>","</div>"]},Jt=m(ht),Yt=Jt.appendChild(ht.createElement("div"));Gt.optgroup=Gt.option,Gt.tbody=Gt.tfoot=Gt.colgroup=Gt.caption=Gt.thead,Gt.th=Gt.td,rt.extend({clone:function(t,e,n){var i,r,o,a,s,l=rt.contains(t.ownerDocument,t);if(nt.html5Clone||rt.isXMLDoc(t)||!Mt.test("<"+t.nodeName+">")?o=t.cloneNode(!0):(Yt.innerHTML=t.outerHTML,Yt.removeChild(o=Yt.firstChild)),!(nt.noCloneEvent&&nt.noCloneChecked||1!==t.nodeType&&11!==t.nodeType||rt.isXMLDoc(t)))for(i=g(o),s=g(t),a=0;null!=(r=s[a]);++a)i[a]&&E(r,i[a]);if(e)if(n)for(s=s||g(t),i=i||g(o),a=0;null!=(r=s[a]);a++)C(r,i[a]);else C(t,o);return i=g(o,"script"),i.length>0&&x(i,!l&&g(t,"script")),i=s=r=null,o},buildFragment:function(t,e,n,i){for(var r,o,a,s,l,u,c,d=t.length,p=m(e),f=[],h=0;d>h;h++)if(o=t[h],o||0===o)if("object"===rt.type(o))rt.merge(f,o.nodeType?[o]:o);else if(qt.test(o)){for(s=s||p.appendChild(e.createElement("div")),l=(Ut.exec(o)||["",""])[1].toLowerCase(),c=Gt[l]||Gt._default,s.innerHTML=c[1]+o.replace(Rt,"<$1></$2>")+c[2],r=c[0];r--;)s=s.lastChild;if(!nt.leadingWhitespace&&zt.test(o)&&f.push(e.createTextNode(zt.exec(o)[0])),!nt.tbody)for(o="table"!==l||Ht.test(o)?"<table>"!==c[1]||Ht.test(o)?0:s:s.firstChild,r=o&&o.childNodes.length;r--;)rt.nodeName(u=o.childNodes[r],"tbody")&&!u.childNodes.length&&o.removeChild(u);for(rt.merge(f,s.childNodes),s.textContent="";s.firstChild;)s.removeChild(s.firstChild);s=p.lastChild}else f.push(e.createTextNode(o));for(s&&p.removeChild(s),nt.appendChecked||rt.grep(g(f,"input"),v),h=0;o=f[h++];)if((!i||-1===rt.inArray(o,i))&&(a=rt.contains(o.ownerDocument,o),s=g(p.appendChild(o),"script"),a&&x(s),n))for(r=0;o=s[r++];)Qt.test(o.type||"")&&n.push(o);return s=null,p},cleanData:function(t,e){for(var n,i,r,o,a=0,s=rt.expando,l=rt.cac
vendor: 6,167 bytes, line 33
33he,u=nt.deleteExpando,c=rt.event.special;null!=(n=t[a]);a++)if((e||rt.acceptData(n))&&(r=n[s],o=r&&l[r])){if(o.events)for(i in o.events)c[i]?rt.event.remove(n,i):rt.removeEvent(n,i,o.handle);l[r]&&(delete l[r],u?delete n[s]:typeof n.removeAttribute!==Et?n.removeAttribute(s):n[s]=null,V.push(r))}}}),rt.fn.extend({text:function(t){return jt(this,function(t){return void 0===t?rt.text(this):this.empty().append((this[0]&&this[0].ownerDocument||ht).createTextNode(t))},null,t,arguments.length)},append:function(){return this.domManip(arguments,function(t){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var e=y(this,t);e.appendChild(t)}})},prepend:function(){return this.domManip(arguments,function(t){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var e=y(this,t);e.insertBefore(t,e.firstChild)}})},before:function(){return this.domManip(arguments,function(t){this.parentNode&&this.parentNode.insertBefore(t,this)})},after:function(){return this.domManip(arguments,function(t){this.parentNode&&this.parentNode.insertBefore(t,this.nextSibling)})},remove:function(t,e){for(var n,i=t?rt.filter(t,this):this,r=0;null!=(n=i[r]);r++)e||1!==n.nodeType||rt.cleanData(g(n)),n.parentNode&&(e&&rt.contains(n.ownerDocument,n)&&x(g(n,"script")),n.parentNode.removeChild(n));return this},empty:function(){for(var t,e=0;null!=(t=this[e]);e++){for(1===t.nodeType&&rt.cleanData(g(t,!1));t.firstChild;)t.removeChild(t.firstChild);t.options&&rt.nodeName(t,"select")&&(t.options.length=0)}return this},clone:function(t,e){return t=null==t?!1:t,e=null==e?t:e,this.map(function(){return rt.clone(this,t,e)})},html:function(t){return jt(this,function(t){var e=this[0]||{},n=0,i=this.length;if(void 0===t)return 1===e.nodeType?e.innerHTML.replace(Ot,""):void 0;if("string"==typeof t&&!Wt.test(t)&&(nt.htmlSerialize||!Mt.test(t))&&(nt.leadingWhitespace||!zt.test(t))&&!Gt[(Ut.exec(t)||["",""])[1].toLowerCase()]){t=t.replace(Rt,"<$1></$2>");try{for(;i>n;n++)e=this[n]||{},1===e.nodeType&&(rt.cleanData(g(e,!1)),e.innerHTML=t);e=0}catch(r){}}e&&this.empty().append(t)},null,t,arguments.length)},replaceWith:function(){var t=arguments[0];return this.domManip(arguments,function(e){t=this.parentNode,rt.cleanData(g(this)),t&&t.replaceChild(e,this)}),t&&(t.length||t.nodeType)?this:this.remove()},detach:function(t){return this.remove(t,!0)},domManip:function(t,e){t=J.apply([],t);var n,i,r,o,a,s,l=0,u=this.length,c=this,d=u-1,p=t[0],f=rt.isFunction(p);if(f||u>1&&"string"==typeof p&&!nt.checkClone&&Bt.test(p))return this.each(function(n){var i=c.eq(n);f&&(t[0]=p.call(this,n,i.html())),i.domManip(t,e)});if(u&&(s=rt.buildFragment(t,this[0].ownerDocument,!1,this),n=s.firstChild,1===s.childNodes.length&&(s=n),n)){for(o=rt.map(g(s,"script"),b),r=o.length;u>l;l++)i=s,l!==d&&(i=rt.clone(i,!0,!0),r&&rt.merge(o,g(i,"script"))),e.call(this[l],i,l);if(r)for(a=o[o.length-1].ownerDocument,rt.map(o,w),l=0;r>l;l++)i=o[l],Qt.test(i.type||"")&&!rt._data(i,"globalEval")&&rt.contains(a,i)&&(i.src?rt._evalUrl&&rt._evalUrl(i.src):rt.globalEval((i.text||i.textContent||i.innerHTML||"").replace(Vt,"")));s=n=null}return this}}),rt.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(t,e){rt.fn[t]=function(t){for(var n,i=0,r=[],o=rt(t),a=o.length-1;a>=i;i++)n=i===a?this:this.clone(!0),rt(o[i])[e](n),Y.apply(r,n.get());return this.pushStack(r)}});var Kt,Zt={};!function(){var t;nt.shrinkWrapBlocks=function(){if(null!=t)return t;t=!1;var e,n,i;return n=ht.getElementsByTagName("body")[0],n&&n.style?(e=ht.createElement("div"),i=ht.createElement("div"),i.style.cssText="position:absolute;border:0;width:0;height:0;top:0;left:-9999px",n.appendChild(i).appendChild(e),typeof e.style.zoom!==Et&&(e.style.cssText="-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;display:block;margin:0;border:0;padding:1px;width:1px;zoom:1",e.appendChild(ht.createElement("div")).style.width="5px",t=3!==e.offsetWidth),n.removeChild(i),t):void 0}}();var te,ee,ne=/^margin/,ie=new RegExp("^("+Tt+")(?!px)[a-z%]+$","i"),re=/^(top|right|bottom|left)$/;t.getComputedStyle?(te=function(t){return t.ownerDocument.defaultView.getComputedStyle(t,null)},ee=function(t,e,n){var i,r,o,a,s=t.style;return n=n||te(t),a=n?n.getPropertyValue(e)||n[e]:void 0,n&&(""!==a||rt.contains(t.ownerDocument,t)||(a=rt.style(t,e)),ie.test(a)&&ne.test(e)&&(i=s.width,r=s.minWidth,o=s.maxWidth,s.minWidth=s.maxWidth=s.width=a,a=n.width,s.width=i,s.minWidth=r,s.maxWidth=o)),void 0===a?a:a+""}):ht.documentElement.currentStyle&&(te=function(t){return t.currentStyle},ee=function(t,e,n){var i,r,o,a,s=t.style;return n=n||te(t),a=n?n[e]:void 0,null==a&&s&&s[e]&&(a=s[e]),ie.test(a)&&!re.test(e)&&(i=s.left,r=t.runtimeStyle,o=r&&r.left,o&&(r.left=t.currentStyle.left),s.left="fontSize"===e?"1em":a,a=s.pixelLeft+"px",s.left=i,o&&(r.left=o)),void 0===a?a:a+""||"auto"}),function(){function e(){var e,n,i,r;n=ht.getElementsByTagName("body")[0],n&&n.style&&(e=ht.createElement("div"),i=ht.createElement("div"),i.style.cssText="position:absolute;border:0;width:0;height:0;top:0;left:-9999px",n.appendChild(i).appendChild(e),e.style.cssText="-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;display:block;margin-top:1%;top:1%;border:1px;padding:1px;width:4px;position:absolute",o=a=!1,l=!0,t.getComputedStyle&&(o="1%"!==(t.getComputedStyle(e,null)||{}).top,a="4px"===(t.getComputedStyle(e,null)||{width:"4px"}).width,r=e.appendChild(ht.createElement("div")),r.style.cssText=e.style.cssText="-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;display:block;margin:0;border:0;padding:0",r.style.marginRight=r.style.width="0",e.style.width="1px",l=!parseFloat((t.getComputedStyle(r,null)||{}).marginRight)),e.innerHTML="<table><tr><td></td><td>t</td></tr></table>",r=e.getElementsByTagName("td"),r[0].style.cssText="margin:0;border:0;padding:0;display:none",s=0===r[0].offsetHeight,s&&(r[0].style.display="",r[1].style.display="none",s=0===r[0].offsetHeight),n.removeChild(i))}var n,i,r,o,a,s,l;n=ht.createElement("div"),n.innerHTML="  <link/><table></table><a href='/a'>a</a>
33<input type='checkbox'/>",r=n.getElementsByTagName("a")[0],i=r&&r.style,i&&(i.cssText="float:left;opacity:.5",nt.opacity="0.5"===i.opacity,nt.cssFloat=!!i.cssFloat,n.style.backgroundClip="content-box",n.cloneNode(!0).style.backgroundClip="",nt.clearCloneStyle="content-box"===n.style.backgroundClip,nt.boxSizing=""===i.boxSizing||""===i.MozBoxSizing||""===i.WebkitBoxSizing,rt.extend(nt,{reliableHiddenOffsets:function(){return null==s&&e(),s},boxSizingReliable:function(){return null==a&&e(),a},pixelPosition:function(){return null==o&&e(),o},reliableMarginRight:function(){return null==l&&e(),l}}))}(),rt.swap=function(t,e,n,i){var r,o,a={};for(o in e)a[o]=t.style[o],t.style[o]=e[o];r=n.apply(t,i||[]);for(o in e)t.style[o]=a[o];return r};var oe=/alpha\([^)]*\)/i,ae=/opacity\s*=\s*([^)]*)/,se=/^(none|table(?!-c[ea]).+)/,le=new RegExp("^("+Tt+")(.*)$","i"),ue=new RegExp("^([+-])=("+Tt+")","i"),ce={position:"absolute",visibility:"hidden",display:"block"},de={letterSpacing:"0",fontWeight:"400"},pe=["Webkit","O","Moz","ms"];rt.extend({cssHooks:{opacity:{get:function(t,e){if(e){var n=ee(t,"opacity");return""===n?"1":n}}}},cssNumber:{columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{"float":nt.cssFloat?"cssFloat":"styleFloat"},style:function(t,e,n,i){if(t&&3!==t.nodeType&&8!==t.nodeType&&t.style){var r,o,a,s=rt.camelCase(e),l=t.style;if(e=rt.cssProps[s]||(rt.cssProps[s]=N(l,s)),a=rt.cssHooks[e]||rt.cssHooks[s],void 0===n)return a&&"get"in a&&void 0!==(r=a.get(t,!1,i))?r:l[e];if(o=typeof n,"string"===o&&(r=ue.exec(n))&&(n=(r[1]+1)*r[2]+parseFloat(rt.css(t,e)),o="number"),null!=n&&n===n&&("number"!==o||rt.cssNumber[s]||(n+="px"),nt.clearCloneStyle||""!==n||0!==e.indexOf("background")||(l[e]="inherit"),!(a&&"set"in a&&void 0===(n=a.set(t,n,i)))))try{l[e]=n}catch(u){}}},css:function(t,e,n,i){var r,o,a,s=rt.camelCase(e);return e=rt.cssProps[s]||(rt.cssProps[s]=N(t.style,s)),a=rt.cssHooks[e]||rt.cssHooks[s],a&&"get"in a&&(o=a.get(t,!0,n)),void 0===o&&(o=ee(t,e,i)),"normal"===o&&e in de&&(o=de[e]),""===n||n?(r=parseFloat(o),n===!0||rt.isNumeric(r)?r||0:o):o}}),rt.each(["height","width"],function(t,e){rt.cssHooks[e]={get:function(t,n,i){return n?se.test(rt.css(t,"display"))&&0===t.offsetWidth?rt.swap(t,ce,function(){return A(t,e,i)}):A(t,e,i):void 0},set:function(t,n,i){var r=i&&te(t);return j(t,n,i?L(t,e,i,nt.boxSizing&&"border-box"===rt.css(t,"boxSizing",!1,r),r):0)}}}),nt.opacity||(rt.cssHooks.opacity={get:function(t,e){return ae.test((e&&t.currentStyle?t.currentStyle.filter:t.style.filter)||"")?.01*parseFloat(RegExp.$1)+"":e?"1":""},set:function(t,e){var n=t.style,i=t.currentStyle,r=rt.isNumeric(e)?"alpha(opacity="+100*e+")":"",o=i&&i.filter||n.filter||"";n.zoom=1,(e>=1||""===e)&&""===rt.trim(o.replace(oe,""))&&n.removeAttribute&&(n.removeAttribute("filter"),""===e||i&&!i.filter)||(n.filter=oe.test(o)?o.replace(oe,r):o+" "+r)}}),rt.cssHooks.marginRight=T(nt.reliableMarginRight,function(t,e){return e?rt.swap(t,{display:"inline-block"},ee,[t,"marginRight"]):void 0}),rt.each({margin:"",padding:"",border:"Width"},function(t,e){rt.cssHooks[t+e]={expand:function(n){for(var i=0,r={},o="string"==typeof n?n.split(" "):[n];4>i;i++)r[t+Nt[i]+e]=o[i]||o[i-2]||o[0];return r}},ne.test(t)||(rt.cssHooks[t+e].set=j)}),rt.fn.extend({css:function(t,e){return jt(this,function(t,e,n){var i,r,o={},a=0;if(rt.isArray(e)){for(i=te(t),r=e.length;r>a;a++)o[e[a]]=rt.css(t,e[a],!1,i);return o}return void 0!==n?rt.style(t,e,n):rt.css(t,e)},t,e,arguments.length>1)},show:function(){return $(this,!0)},hide:function(){return $(this)},toggle:function(t){return"boolean"==typeof t?t?this.show():this.hide():this.each(function(){$t(this)?rt(this).show():rt(this).hide()})}}),rt.Tween=D,D.prototype={constructor:D,init:function(t,e,n,i,r,o){this.elem=t,this.prop=n,this.easing=r||"swing",this.options=e,this.start=this.now=this.cur(),this.end=i,this.unit=o||(rt.cssNumber[n]?"":"px")},cur:function(){var t=D.propHooks[this.prop];return t&&t.get?t.get(this):D.propHooks._default.get(this)},run:function(t){var e,n=D.propHooks[this.prop];return this.options.duration?this.pos=e=rt.easing[this.easing](t,this.options.duration*t,0,1,this.options.duration):this.pos=e=t,this.now=(this.end-this.start)*e+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):D.propHooks._default.set(this),this}},D.prototype.init.prototype=D.prototype,D.propHooks={_default:{get:function(t){var e;return null==t.elem[t.prop]||t.elem.style&&null!=t.elem.style[t.prop]?(e=rt.css(t.elem,t.prop,""),e&&"auto"!==e?e:0):t.elem[t.prop]},set:function(t){rt.fx.step[t.prop]?rt.fx.step[t.prop](t):t.elem.style&&(null!=t.elem.style[rt.cssProps[t.prop]]||rt.cssHooks[t.prop])?rt.style(t.elem,t.prop,t.now+t.unit):t.elem[t.prop]=t.now}}},D.propHooks.scrollTop=D.propHooks.scrollLeft={set:function(t){t.elem.nodeType&&t.elem.parentNode&&(t.elem[t.prop]=t.now)}},rt.easing={linear:function(t){return t},swing:function(t){return.5-Math.cos(t*Math.PI)/2}},rt.fx=D.prototype.init,rt.fx.step={};var fe,he,me=/^(?:toggle|show|hide)$/,ge=new RegExp("^(?:([+-])=|)("+Tt+")([a-z%]*)$","i"),ve=/queueHooks$/,ye=[P],be={"*":[function(t,e){var n=this.createTween(t,e),i=n.cur(),r
vendor: 13,052 bytes, lines 33-34
33=ge.exec(e),o=r&&r[3]||(rt.cssNumber[t]?"":"px"),a=(rt.cssNumber[t]||"px"!==o&&+i)&&ge.exec(rt.css(n.elem,t)),s=1,l=20;if(a&&a[3]!==o){o=o||a[3],r=r||[],a=+i||1;do s=s||".5",a/=s,rt.style(n.elem,t,a+o);while(s!==(s=n.cur()/i)&&1!==s&&--l)}return r&&(a=n.start=+a||+i||0,n.unit=o,n.end=r[1]?a+(r[1]+1)*r[2]:+r[2]),n}]};rt.Animation=rt.extend(M,{tweener:function(t,e){rt.isFunction(t)?(e=t,t=["*"]):t=t.split(" ");for(var n,i=0,r=t.length;r>i;i++)n=t[i],be[n]=be[n]||[],be[n].unshift(e)},prefilter:function(t,e){e?ye.unshift(t):ye.push(t)}}),rt.speed=function(t,e,n){var i=t&&"object"==typeof t?rt.extend({},t):{complete:n||!n&&e||rt.isFunction(t)&&t,duration:t,easing:n&&e||e&&!rt.isFunction(e)&&e};return i.duration=rt.fx.off?0:"number"==typeof i.duration?i.duration:i.duration in rt.fx.speeds?rt.fx.speeds[i.duration]:rt.fx.speeds._default,null!=i.queue&&i.queue!==!0||(i.queue="fx"),i.old=i.complete,i.complete=function(){rt.isFunction(i.old)&&i.old.call(this),i.queue&&rt.dequeue(this,i.queue)},i},rt.fn.extend({fadeTo:function(t,e,n,i){return this.filter($t).css("opacity",0).show().end().animate({opacity:e},t,n,i)},animate:function(t,e,n,i){var r=rt.isEmptyObject(t),o=rt.speed(e,n,i),a=function(){var e=M(this,rt.extend({},t),o);(r||rt._data(this,"finish"))&&e.stop(!0)};return a.finish=a,r||o.queue===!1?this.each(a):this.queue(o.queue,a)},stop:function(t,e,n){var i=function(t){var e=t.stop;delete t.stop,e(n)};return"string"!=typeof t&&(n=e,e=t,t=void 0),e&&t!==!1&&this.queue(t||"fx",[]),this.each(function(){var e=!0,r=null!=t&&t+"queueHooks",o=rt.timers,a=rt._data(this);if(r)a[r]&&a[r].stop&&i(a[r]);else for(r in a)a[r]&&a[r].stop&&ve.test(r)&&i(a[r]);for(r=o.length;r--;)o[r].elem!==this||null!=t&&o[r].queue!==t||(o[r].anim.stop(n),e=!1,o.splice(r,1));!e&&n||rt.dequeue(this,t)})},finish:function(t){return t!==!1&&(t=t||"fx"),this.each(function(){var e,n=rt._data(this),i=n[t+"queue"],r=n[t+"queueHooks"],o=rt.timers,a=i?i.length:0;for(n.finish=!0,rt.queue(this,t,[]),r&&r.stop&&r.stop.call(this,!0),e=o.length;e--;)o[e].elem===this&&o[e].queue===t&&(o[e].anim.stop(!0),o.splice(e,1));for(e=0;a>e;e++)i[e]&&i[e].finish&&i[e].finish.call(this);delete n.finish})}}),rt.each(["toggle","show","hide"],function(t,e){var n=rt.fn[e];rt.fn[e]=function(t,i,r){return null==t||"boolean"==typeof t?n.apply(this,arguments):this.animate(_(e,!0),t,i,r)}}),rt.each({slideDown:_("show"),slideUp:_("hide"),slideToggle:_("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(t,e){rt.fn[t]=function(t,n,i){return this.animate(e,t,n,i)}}),rt.timers=[],rt.fx.tick=function(){var t,e=rt.timers,n=0;for(fe=rt.now();n<e.length;n++)t=e[n],t()||e[n]!==t||e.splice(n--,1);e.length||rt.fx.stop(),fe=void 0},rt.fx.timer=function(t){rt.timers.push(t),t()?rt.fx.start():rt.timers.pop()},rt.fx.interval=13,rt.fx.start=function(){he||(he=setInterval(rt.fx.tick,rt.fx.interval))},rt.fx.stop=function(){clearInterval(he),he=null},rt.fx.speeds={slow:600,fast:200,_default:400},rt.fn.delay=function(t,e){return t=rt.fx?rt.fx.speeds[t]||t:t,e=e||"fx",this.queue(e,function(e,n){var i=setTimeout(e,t);n.stop=function(){clearTimeout(i)}})},function(){var t,e,n,i,r;e=ht.createElement("div"),e.setAttribute("className","t"),e.innerHTML="  <link/><table></table><a href='/a'>a</a><input type='checkbox'/>",i=e.getElementsByTagName("a")[0],n=ht.createElement("select"),r=n.appendChild(ht.createElement("option")),t=e.getElementsByTagName("input")[0],i.style.cssText="top:1px",nt.getSetAttribute="t"!==e.className,nt.style=/top/.test(i.getAttribute("style")),nt.hrefNormalized="/a"===i.getAttribute("href"),nt.checkOn=!!t.value,nt.optSelected=r.selected,nt.enctype=!!ht.createElement("form").enctype,n.disabled=!0,nt.optDisabled=!r.disabled,t=ht.createElement("input"),t.setAttribute("value",""),nt.input=""===t.getAttribute("value"),t.value="t",t.setAttribute("type","radio"),nt.radioValue="t"===t.value}();var we=/\r/g;rt.fn.extend({val:function(t){var e,n,i,r=this[0];{if(arguments.length)return i=rt.isFunction(t),this.each(function(n){var r;1===this.nodeType&&(r=i?t.call(this,n,rt(this).val()):t,null==r?r="":"number"==typeof r?r+="":rt.isArray(r)&&(r=rt.map(r,function(t){return null==t?"":t+""})),e=rt.valHooks[this.type]||rt.valHooks[this.nodeName.toLowerCase()],e&&"set"in e&&void 0!==e.set(this,r,"value")||(this.value=r))});if(r)return e=rt.valHooks[r.type]||rt.valHooks[r.nodeName.toLowerCase()],e&&"get"in e&&void 0!==(n=e.get(r,"value"))?n:(n=r.value,"string"==typeof n?n.replace(we,""):null==n?"":n)}}}),rt.extend({valHooks:{option:{get:function(t){var e=rt.find.attr(t,"value");return null!=e?e:rt.trim(rt.text(t))}},select:{get:function(t){for(var e,n,i=t.options,r=t.selectedIndex,o="select-one"===t.type||0>r,a=o?null:[],s=o?r+1:i.length,l=0>r?s:o?r:0;s>l;l++)if(n=i[l],(n.selected||l===r)&&(nt.optDisabled?!n.disabled:null===n.getAttribute("disabled"))&&(!n.parentNode.disabled||!rt.nodeName(n.parentNode,"optgroup"))){if(e=rt(n).val(),o)return e;a.push(e)}return a},set:function(t,e){for(var n,i,r=t.options,o=rt.makeArray(e),a=r.length;a--;)if(i=r[a],rt.inArray(rt.valHooks.option.get(i),o)>=0)try{i.selected=n=!0}catch(s){i.scrollHeight}else i.selected=!1;return n||(t.selectedIndex=-1),r}}}}),rt.each(["radio","checkbox"],function(){rt.valHooks[this]={set:function(t,e){return rt.isArray(e)?t.checked=rt.inArray(rt(t).val(),e)>=0:void 0}},nt.checkOn||(rt.valHooks[this].get=function(t){return null===t.getAttribute("value")?"on":t.value})});var xe,Ce,Ee=rt.expr.attrHandle,Se=/^(?:checked|selected)$/i,ke=nt.getSetAttribute,Te=nt.input;rt.fn.extend({attr:function(t,e){return jt(this,rt.attr,t,e,arguments.length>1)},removeAttr:function(t){return this.each(function(){rt.removeAttr(this,t)})}}),rt.extend({attr:function(t,e,n){var i,r,o=t.nodeType;if(t&&3!==o&&8!==o&&2!==o)return typeof t.getAttribute===Et?rt.prop(t,e,n):(1===o&&rt.isXMLDoc(t)||(e=e.toLowerCase(),i=rt.attrHooks[e]||(rt.expr.match.bool.test(e)?Ce:xe)),void 0===n?i&&"get"in i&&null!==(r=i.get(t,e))?r:(r=rt.find.attr(t,e),null==r?void 0:r):null!==n?i&&"set"in i&&void 0!==(r=i.set(t,n,e))?r:(t.setAttribute(e,n+""),n):void rt.removeAttr(t,e))},removeAttr:function(t,e){var n,i,r=0,o=e&&e.match(bt);if(o&&1===t.nodeType)for(;n=o[r++];)i=rt.propFix[n]||n,rt.expr.match.bool.test(n)?Te&&ke||!Se.test(n)?t[i]=!1:t[rt.camelCase("default-"+n)]=t[i]=!1:rt.attr(t,n,""),t.removeAttribute(ke?n:i)},attrHooks:{type:{set:function(t,e){if(!nt.radioValue&&"radio"===e&&rt.nodeName(t,"input")){var n=t.value;return t.setAttribute("type",e),n&&(t.value=n),e}}}}}),Ce={set:function(t,e,n){return e===!1?rt.removeAttr(t,n):Te&&ke||!Se.test(n)?t.setAttribute(!ke&&rt.propFix[n]||n,n):t[rt.camelCase("default-"+n)]=t[n]=!0,n}},rt.each(rt.expr.match.bool.source.match(/\w+/g),function(t,e){var n=Ee[e]||rt.find.attr;Ee[e]=Te&&ke||!Se.test(e)?function(t,e,i){var r,o;return i||(o=Ee[e],Ee[e]=r,r=null!=n(t,e,i)?e.toLowerCase():null,Ee[e]=o),r}:function(t,e,n){return n?void 0:t[rt.camelCase("default-"+e)]?e.toLowerCase():null}}),Te&&ke||(rt.attrHooks.value={set:function(t,e,n){return rt.nodeName(t,"input")?void(t.defaultValue=e):xe&&xe.set(t,e,n)}}),ke||(xe={set:function(t,e,n){var i=t.getAttributeNode(n);return i||t.setAttributeNode(i=t.ownerDocument.createAttribute(n)),i.value=e+="","value"===n||e===t.getAttribute(n)?e:void 0}},Ee.id=Ee.name=Ee.coords=function(t,e,n){var i;return n?void 0:(i=t.getAttributeNode(e))&&""!==i.value?i.value:null},rt.valHooks.button={get:function(t,e){var n=t.getAttributeNode(e);return n&&n.specified?n.value:void 0},set:xe.set},rt.attrHooks.contenteditable={set:function(t,e,n){xe.set(t,""===e?!1:e,n)}},rt.each(["width","height"],function(t,e){rt.attrHooks[e]={set:function(t,n){return""===n?(t.setAttribute(e,"auto"),n):void 0}}})),nt.style||(rt.attrHooks.style={get:function(t){return t.style.cssText||void 0},set:function(t,e){return t.style.cssText=e+""}});var Ne=/^(?:input|select|textarea|button|object)$/i,$e=/^(?:a|area)$/i;rt.fn.extend({prop:function(t,e){return jt(this,rt.prop,t,e,arguments.length>1)},removeProp:function(t){return t=rt.propFix[t]||t,this.each(function(){try{this[t]=void 0,delete this[t]}catch(e){}})}}),rt.extend({propFix:{"for":"htmlFor","class":"className"},prop:function(t,e,n){var i,r,o,a=t.nodeType;if(t&&3!==a&&8!==a&&2!==a)return o=1!==a||!rt.isXMLDoc(t),o&&(e=rt.propFix[e]||e,r=rt.propHooks[e]),void 0!==n?r&&"set"in r&&void 0!==(i=r.set(t,n,e))?i:t[e]=n:r&&"get"in r&&null!==(i=r.get(t,e))?i:t[e]},propHooks:{tabIndex:{get:function(t){var e=rt.find.attr(t,"tabindex");return e?parseInt(e,10):Ne.test(t.nodeName)||$e.test(t.nodeName)&&t.href?0:-1}}}}),nt.hrefNormalized||rt.each(["href","src"],function(t,e){rt.propHooks[e]={get:function(t){return t.getAttribute(e,4)}}}),nt.optSelected||(rt.propHooks.selected={get:function(t){var e=t.parentNode;return e&&(e.selectedIndex,e.parentNode&&e.parentNode.selectedIndex),null}}),rt.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){rt.propFix[this.toLowerCase()]=this}),nt.enctype||(rt.propFix.enctype="encoding");var je=/[\t\r\n\f]/g;rt.fn.extend({addClass:function(t){var e,n,i,r,o,a,s=0,l=this.length,u="string"==typeof t&&t;if(rt.isFunction(t))return this.each(function(e){rt(this).addClass(t.call(this,e,this.className))});if(u)for(e=(t||"").match(bt)||[];l>s;s++)if(n=this[s],i=1===n.nodeType&&(n.className?(" "+n.className+" ").replace(je," "):" ")){for(o=0;r=e[o++];)i.indexOf(" "+r+" ")<0&&(i+=r+" ");a=rt.trim(i),n.className!==a&&(n.className=a)}return this},removeClass:function(t){var e,n,i,r,o,a,s=0,l=this.length,u=0===arguments.length||"string"==typeof t&&t;if(rt.isFunction(t))return this.each(function(e){rt(this).removeClass(t.call(this,e,this.className))});if(u)for(e=(t||"").match(bt)||[];l>s;s++)if(n=this[s],i=1===n.nodeType&&(n.className?(" "+n.className+" ").replace(je," "):"")){for(o=0;r=e[o++];)for(;i.indexOf(" "+r+" ")>=0;)i=i.replace(" "+r+" "," ");a=t?rt.trim(i):"",n.className!==a&&(n.className=a);
34}return this},toggleClass:function(t,e){var n=typeof t;return"boolean"==typeof e&&"string"===n?e?this.addClass(t):this.removeClass(t):rt.isFunction(t)?this.each(function(n){rt(this).toggleClass(t.call(this,n,this.className,e),e)}):this.each(function(){if("string"===n)for(var e,i=0,r=rt(this),o=t.match(bt)||[];e=o[i++];)r.hasClass(e)?r.removeClass(e):r.addClass(e);else n!==Et&&"boolean"!==n||(this.className&&rt._data(this,"__className__",this.className),this.className=this.className||t===!1?"":rt._data(this,"__className__")||"")})},hasClass:function(t){for(var e=" "+t+" ",n=0,i=this.length;i>n;n++)if(1===this[n].nodeType&&(" "+this[n].className+" ").replace(je," ").indexOf(e)>=0)return!0;return!1}}),rt.each("blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error contextmenu".split(" "),function(t,e){rt.fn[e]=function(t,n){return arguments.length>0?this.on(e,null,t,n):this.trigger(e)}}),rt.fn.extend({hover:function(t,e){return this.mouseenter(t).mouseleave(e||t)},bind:function(t,e,n){return this.on(t,null,e,n)},unbind:function(t,e){return this.off(t,null,e)},delegate:function(t,e,n,i){return this.on(e,t,n,i)},undelegate:function(t,e,n){return 1===arguments.length?this.off(t,"**"):this.off(e,t||"**",n)}});var Le=rt.now(),Ae=/\?/,De=/(,)|(\[|{)|(}|])|"(?:[^"\\\r\n]|\\["\\\/bfnrt]|\\u[\da-fA-F]{4})*"\s*:?|true|false|null|-?(?!0\d)\d+(?:\.\d+|)(?:[eE][+-]?\d+|)/g;rt.parseJSON=function(e){if(t.JSON&&t.JSON.parse)return t.JSON.parse(e+"");var n,i=null,r=rt.trim(e+"");return r&&!rt.trim(r.replace(De,function(t,e,r,o){return n&&e&&(i=0),0===i?t:(n=r||e,i+=!o-!r,"")}))?Function("return "+r)():rt.error("Invalid JSON: "+e)},rt.parseXML=function(e){var n,i;if(!e||"string"!=typeof e)return null;try{t.DOMParser?(i=new DOMParser,n=i.parseFromString(e,"text/xml")):(n=new ActiveXObject("Microsoft.XMLDOM"),n.async="false",n.loadXML(e))}catch(r){n=void 0}return n&&n.documentElement&&!n.getElementsByTagName("parsererror").length||rt.error("Invalid XML: "+e),n};var Fe,_e,Ie=/#.*$/,Pe=/([?&])_=[^&]*/,Oe=/^(.*?):[ \t]*([^\r\n]*)\r?$/gm,Me=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,ze=/^(?:GET|HEAD)$/,Re=/^\/\//,Ue=/^([\w.+-]+:)(?:\/\/(?:[^\/?#]*@|)([^\/?#:]*)(?::(\d+)|)|)/,He={},qe={},We="*/".concat("*");try{_e=location.href}catch(Be){_e=ht.createElement("a"),_e.href="",_e=_e.href}Fe=Ue.exec(_e.toLowerCase())||[],rt.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:_e,type:"GET",isLocal:Me.test(Fe[1]),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":We,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":rt.parseJSON,"text xml":rt.parseXML}
vendor: 5,544 bytes, line 34
34,flatOptions:{url:!0,context:!0}},ajaxSetup:function(t,e){return e?U(U(t,rt.ajaxSettings),e):U(rt.ajaxSettings,t)},ajaxPrefilter:z(He),ajaxTransport:z(qe),ajax:function(t,e){function n(t,e,n,i){var r,c,v,y,w,C=e;2!==b&&(b=2,s&&clearTimeout(s),u=void 0,a=i||"",x.readyState=t>0?4:0,r=t>=200&&300>t||304===t,n&&(y=H(d,x,n)),y=q(d,y,x,r),r?(d.ifModified&&(w=x.getResponseHeader("Last-Modified"),w&&(rt.lastModified[o]=w),w=x.getResponseHeader("etag"),w&&(rt.etag[o]=w)),204===t||"HEAD"===d.type?C="nocontent":304===t?C="notmodified":(C=y.state,c=y.data,v=y.error,r=!v)):(v=C,!t&&C||(C="error",0>t&&(t=0))),x.status=t,x.statusText=(e||C)+"",r?h.resolveWith(p,[c,C,x]):h.rejectWith(p,[x,C,v]),x.statusCode(g),g=void 0,l&&f.trigger(r?"ajaxSuccess":"ajaxError",[x,d,r?c:v]),m.fireWith(p,[x,C]),l&&(f.trigger("ajaxComplete",[x,d]),--rt.active||rt.event.trigger("ajaxStop")))}"object"==typeof t&&(e=t,t=void 0),e=e||{};var i,r,o,a,s,l,u,c,d=rt.ajaxSetup({},e),p=d.context||d,f=d.context&&(p.nodeType||p.jquery)?rt(p):rt.event,h=rt.Deferred(),m=rt.Callbacks("once memory"),g=d.statusCode||{},v={},y={},b=0,w="canceled",x={readyState:0,getResponseHeader:function(t){var e;if(2===b){if(!c)for(c={};e=Oe.exec(a);)c[e[1].toLowerCase()]=e[2];e=c[t.toLowerCase()]}return null==e?null:e},getAllResponseHeaders:function(){return 2===b?a:null},setRequestHeader:function(t,e){var n=t.toLowerCase();return b||(t=y[n]=y[n]||t,v[t]=e),this},overrideMimeType:function(t){return b||(d.mimeType=t),this},statusCode:function(t){var e;if(t)if(2>b)for(e in t)g[e]=[g[e],t[e]];else x.always(t[x.status]);return this},abort:function(t){var e=t||w;return u&&u.abort(e),n(0,e),this}};if(h.promise(x).complete=m.add,x.success=x.done,x.error=x.fail,d.url=((t||d.url||_e)+"").replace(Ie,"").replace(Re,Fe[1]+"//"),d.type=e.method||e.type||d.method||d.type,d.dataTypes=rt.trim(d.dataType||"*").toLowerCase().match(bt)||[""],null==d.crossDomain&&(i=Ue.exec(d.url.toLowerCase()),d.crossDomain=!(!i||i[1]===Fe[1]&&i[2]===Fe[2]&&(i[3]||("http:"===i[1]?"80":"443"))===(Fe[3]||("http:"===Fe[1]?"80":"443")))),d.data&&d.processData&&"string"!=typeof d.data&&(d.data=rt.param(d.data,d.traditional)),R(He,d,e,x),2===b)return x;l=d.global,l&&0===rt.active++&&rt.event.trigger("ajaxStart"),d.type=d.type.toUpperCase(),d.hasContent=!ze.test(d.type),o=d.url,d.hasContent||(d.data&&(o=d.url+=(Ae.test(o)?"&":"?")+d.data,delete d.data),d.cache===!1&&(d.url=Pe.test(o)?o.replace(Pe,"$1_="+Le++):o+(Ae.test(o)?"&":"?")+"_="+Le++)),d.ifModified&&(rt.lastModified[o]&&x.setRequestHeader("If-Modified-Since",rt.lastModified[o]),rt.etag[o]&&x.setRequestHeader("If-None-Match",rt.etag[o])),(d.data&&d.hasContent&&d.contentType!==!1||e.contentType)&&x.setRequestHeader("Content-Type",d.contentType),x.setRequestHeader("Accept",d.dataTypes[0]&&d.accepts[d.dataTypes[0]]?d.accepts[d.dataTypes[0]]+("*"!==d.dataTypes[0]?", "+We+"; q=0.01":""):d.accepts["*"]);for(r in d.headers)x.setRequestHeader(r,d.headers[r]);if(d.beforeSend&&(d.beforeSend.call(p,x,d)===!1||2===b))return x.abort();w="abort";for(r in{success:1,error:1,complete:1})x[r](d[r]);if(u=R(qe,d,e,x)){x.readyState=1,l&&f.trigger("ajaxSend",[x,d]),d.async&&d.timeout>0&&(s=setTimeout(function(){x.abort("timeout")},d.timeout));try{b=1,u.send(v,n)}catch(C){if(!(2>b))throw C;n(-1,C)}}else n(-1,"No Transport");return x},getJSON:function(t,e,n){return rt.get(t,e,n,"json")},getScript:function(t,e){return rt.get(t,void 0,e,"script")}}),rt.each(["get","post"],function(t,e){rt[e]=function(t,n,i,r){return rt.isFunction(n)&&(r=r||i,i=n,n=void 0),rt.ajax({url:t,type:e,dataType:r,data:n,success:i})}}),rt.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(t,e){rt.fn[e]=function(t){return this.on(e,t)}}),rt._evalUrl=function(t){return rt.ajax({url:t,type:"GET",dataType:"script",async:!1,global:!1,"throws":!0})},rt.fn.extend({wrapAll:function(t){if(rt.isFunction(t))return this.each(function(e){rt(this).wrapAll(t.call(this,e))});if(this[0]){var e=rt(t,this[0].ownerDocument).eq(0).clone(!0);this[0].parentNode&&e.insertBefore(this[0]),e.map(function(){for(var t=this;t.firstChild&&1===t.firstChild.nodeType;)t=t.firstChild;return t}).append(this)}return this},wrapInner:function(t){return rt.isFunction(t)?this.each(function(e){rt(this).wrapInner(t.call(this,e))}):this.each(function(){var e=rt(this),n=e.contents();n.length?n.wrapAll(t):e.append(t)})},wrap:function(t){var e=rt.isFunction(t);return this.each(function(n){rt(this).wrapAll(e?t.call(this,n):t)})},unwrap:function(){return this.parent().each(function(){rt.nodeName(this,"body")||rt(this).replaceWith(this.childNodes)}).end()}}),rt.expr.filters.hidden=function(t){return t.offsetWidth<=0&&t.offsetHeight<=0||!nt.reliableHiddenOffsets()&&"none"===(t.style&&t.style.display||rt.css(t,"display"))},rt.expr.filters.visible=function(t){return!rt.expr.filters.hidden(t)};var Qe=/%20/g,Xe=/\[\]$/,Ve=/\r?\n/g,Ge=/^(?:submit|button|image|reset|file)$/i,Je=/^(?:input|select|textarea|keygen)/i;rt.param=function(t,e){var n,i=[],r=function(t,e){e=rt.isFunction(e)?e():null==e?"":e,i[i.length]=encodeURIComponent(t)+"="+encodeURIComponent(e)};if(void 0===e&&(e=rt.ajaxSettings&&rt.ajaxSettings.traditional),rt.isArray(t)||t.jquery&&!rt.isPlainObject(t))rt.each(t,function(){r(this.name,this.value)});else for(n in t)W(n,t[n],e,r);return i.join("&").replace(Qe,"+")},rt.fn.extend({serialize:function(){return rt.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var t=rt.prop(this,"elements");return t?rt.makeArray(t):this}
vendor: 4,126 bytes, line 34
34).filter(function(){var t=this.type;return this.name&&!rt(this).is(":disabled")&&Je.test(this.nodeName)&&!Ge.test(t)&&(this.checked||!Lt.test(t))}).map(function(t,e){var n=rt(this).val();return null==n?null:rt.isArray(n)?rt.map(n,function(t){return{name:e.name,value:t.replace(Ve,"\r\n")}}):{name:e.name,value:n.replace(Ve,"\r\n")}}).get()}}),rt.ajaxSettings.xhr=void 0!==t.ActiveXObject?function(){return!this.isLocal&&/^(get|post|head|put|delete|options)$/i.test(this.type)&&B()||Q()}:B;var Ye=0,Ke={},Ze=rt.ajaxSettings.xhr();t.ActiveXObject&&rt(t).on("unload",function(){for(var t in Ke)Ke[t](void 0,!0)}),nt.cors=!!Ze&&"withCredentials"in Ze,Ze=nt.ajax=!!Ze,Ze&&rt.ajaxTransport(function(t){if(!t.crossDomain||nt.cors){var e;return{send:function(n,i){var r,o=t.xhr(),a=++Ye;if(o.open(t.type,t.url,t.async,t.username,t.password),t.xhrFields)for(r in t.xhrFields)o[r]=t.xhrFields[r];t.mimeType&&o.overrideMimeType&&o.overrideMimeType(t.mimeType),t.crossDomain||n["X-Requested-With"]||(n["X-Requested-With"]="XMLHttpRequest");for(r in n)void 0!==n[r]&&o.setRequestHeader(r,n[r]+"");o.send(t.hasContent&&t.data||null),e=function(n,r){var s,l,u;if(e&&(r||4===o.readyState))if(delete Ke[a],e=void 0,o.onreadystatechange=rt.noop,r)4!==o.readyState&&o.abort();else{u={},s=o.status,"string"==typeof o.responseText&&(u.text=o.responseText);try{l=o.statusText}catch(c){l=""}s||!t.isLocal||t.crossDomain?1223===s&&(s=204):s=u.text?200:404}u&&i(s,l,u,o.getAllResponseHeaders())},t.async?4===o.readyState?setTimeout(e):o.onreadystatechange=Ke[a]=e:e()},abort:function(){e&&e(void 0,!0)}}}}),rt.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/(?:java|ecma)script/},converters:{"text script":function(t){return rt.globalEval(t),t}}}),rt.ajaxPrefilter("script",function(t){void 0===t.cache&&(t.cache=!1),t.crossDomain&&(t.type="GET",t.global=!1)}),rt.ajaxTransport("script",function(t){if(t.crossDomain){var e,n=ht.head||rt("head")[0]||ht.documentElement;return{send:function(i,r){e=ht.createElement("script"),e.async=!0,t.scriptCharset&&(e.charset=t.scriptCharset),e.src=t.url,e.onload=e.onreadystatechange=function(t,n){(n||!e.readyState||/loaded|complete/.test(e.readyState))&&(e.onload=e.onreadystatechange=null,e.parentNode&&e.parentNode.removeChild(e),e=null,n||r(200,"success"))},n.insertBefore(e,n.firstChild)},abort:function(){e&&e.onload(void 0,!0)}}}});var tn=[],en=/(=)\?(?=&|$)|\?\?/;rt.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var t=tn.pop()||rt.expando+"_"+Le++;return this[t]=!0,t}}),rt.ajaxPrefilter("json jsonp",function(e,n,i){var r,o,a,s=e.jsonp!==!1&&(en.test(e.url)?"url":"string"==typeof e.data&&!(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&en.test(e.data)&&"data");return s||"jsonp"===e.dataTypes[0]?(r=e.jsonpCallback=rt.isFunction(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,s?e[s]=e[s].replace(en,"$1"+r):e.jsonp!==!1&&(e.url+=(Ae.test(e.url)?"&":"?")+e.jsonp+"="+r),e.converters["script json"]=function(){return a||rt.error(r+" was not called"),a[0]},e.dataTypes[0]="json",o=t[r],t[r]=function(){a=arguments},i.always(function(){t[r]=o,e[r]&&(e.jsonpCallback=n.jsonpCallback,tn.push(r)),a&&rt.isFunction(o)&&o(a[0]),a=o=void 0}),"script"):void 0}),rt.parseHTML=function(t,e,n){if(!t||"string"!=typeof t)return null;"boolean"==typeof e&&(n=e,e=!1),e=e||ht;var i=dt.exec(t),r=!n&&[];return i?[e.createElement(i[1])]:(i=rt.buildFragment([t],e,r),r&&r.length&&rt(r).remove(),rt.merge([],i.childNodes))};var nn=rt.fn.load;rt.fn.load=function(t,e,n){if("string"!=typeof t&&nn)return nn.apply(this,arguments);var i,r,o,a=this,s=t.indexOf(" ");return s>=0&&(i=rt.trim(t.slice(s,t.length)),t=t.slice(0,s)),rt.isFunction(e)?(n=e,e=void 0):e&&"object"==typeof e&&(o="POST"),a.length>0&&rt.ajax({url:t,type:o,dataType:"html",data:e}).done(function(t){r=arguments,a.html(i?rt("<div>").append(rt.parseHTML(t)).find(i):t)}).complete(n&&function(t,e){a.each(n,r||[t.responseText,e,t])}),this},rt.expr.filters.animated=function(t){return rt.grep(rt.timers,function(e){return t===e.elem}).length};
34var rn=t.document.documentElement;rt.offset={setOffset:function(t,e,n){var i,r,o,a,s,l,u,c=rt.css(t,"position"),d=rt(t),p={};"static"===c&&(t.style.position="relative"),s=d.offset(),o=rt.css(t,"top"),l=rt.css(t,"left"),u=("absolute"===c||"fixed"===c)&&rt.inArray("auto",[o,l])>-1,u?(i=d.position(),a=i.top,r=i.left):(a=parseFloat(o)||0,r=parseFloat(l)||0),rt.isFunction(e)&&(e=e.call(t,n,s)),null!=e.top&&(p.top=e.top-s.top+a),null!=e.left&&(p.left=e.left-s.left+r),"using"in e?e.using.call(t,p):d.css(p)}},rt.fn.extend({offset:function(t){if(arguments.length)return void 0===t?this:this.each(function(e){rt.offset.setOffset(this,t,e)});var e,n,i={top:0,left:0},r=this[0],o=r&&r.ownerDocument;if(o)return e=o.documentElement,rt.contains(e,r)?(typeof r.getBoundingClientRect!==Et&&(i=r.getBoundingClientRect()),n=X(o),{top:i.top+(n.pageYOffset||e.scrollTop)-(e.clientTop||0),left:i.left+(n.pageXOffset||e.scrollLeft)-(e.clientLeft||0)}):i},position:function(){if(this[0]){var t,e,n={top:0,left:0},i=this[0];return"fixed"===rt.css(i,"position")?e=i.getBoundingClientRect():(t=this.offsetParent(),e=this.offset(),rt.nodeName(t[0],"html")||(n=t.offset()),n.top+=rt.css(t[0],"borderTopWidth",!0),n.left+=rt.css(t[0],"borderLeftWidth",!0)),{top:e.top-n.top-rt.css(i,"marginTop",!0),left:e.left-n.left-rt.css(i,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var t=this.offsetParent||rn;t&&!rt.nodeName(t,"html")&&"static"===rt.css(t,"position");)t=t.offsetParent;return t||rn})}}),rt.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(t,e){var n=/Y/.test(e);rt.fn[t]=function(i){return jt(this,function(t,i,r){var o=X(t);return void 0===r?o?e in o?o[e]:o.document.documentElement[i]:t[i]:void(o?o.scrollTo(n?rt(o).scrollLeft():r,n?r:rt(o).scrollTop()):t[i]=r)},t,i,arguments.length,null)}}),rt.each(["top","left"],function(t,e){rt.cssHooks[e]=T(nt.pixelPosition,function(t,n){return n?(n=ee(t,e),ie.test(n)?rt(t).position()[e]+"px":n):void 0})}),rt.each({Height:"height",Width:"width"},function(t,e){rt.each({padding:"inner"+t,content:e,"":"outer"+t},function(n,i){rt.fn[i]=function(i,r){var o=arguments.length&&(n||"boolean"!=typeof i),a=n||(i===!0||r===!0?"margin":"border");return jt(this,function(e,n,i){var r;return rt.isWindow(e)?e.document.documentElement["client"+t]:9===e.nodeType?(r=e.documentElement,Math.max(e.body["scroll"+t],r["scroll"+t],e.body["offset"+t],r["offset"+t],r["client"+t])):void 0===i?rt.css(e,n,a):rt.style(e,n,i,a)},e,o?i:void 0,o,null)}})}),rt.fn.size=function(){return this.length},rt.fn.andSelf=rt.fn.addBack,"function"==typeof define&&define.amd&&define("jquery",[],function(){return rt});var on=t.jQuery,an=t.$;return rt.noConflict=function(e){return t.$===rt&&(t.$=an),e&&t.jQuery===rt&&(t.jQuery=on),rt},typeof e===Et&&(t.jQuery=t.$=rt),rt}),function(t,e){t.rails!==e&&t.error("jquery-ujs has already been loaded!");var n,i=t(document);t.rails=n={linkClickSelector:"a[data-confirm], a[data-method], a[data-remote], a[data-disable-with], a[data-disable]",buttonClickSelector:"button[data-remote]:not(form button), button[data-confirm]:not(form button)",inputChangeSelector:"select[data-remote], input[data-remote], textarea[data-remote]",formSubmitSelector:"form",formInputClickSelector:"form input[type=submit], form input[type=image], form button[type=submit], form button:not([type]), input[type=submit][form], input[type=image][form], button[type=submit][form], button[form]:not([type])",disableSelector:"input[data-disable-with]:enabled, button[data-disable-with]:enabled, textarea[data-disable-with]:enabled, input[data-disable]:enabled, button[data-disable]:enabled, textarea[data-disable]:enabled",enableSelector:"input[data-disable-with]:disabled, button[data-disable-with]:disabled, textarea[data-disable-with]:disabled, input[data-disable]:disabled, button[data-disable]:disabled, textarea[data-disable]:disabled",requiredInputSelector:"input[name][required]:not([disabled]),textarea[name][required]:not([disabled])",fileInputSelector:"input[type=file]",linkDisableSelector:"a[data-disable-with], a[data-disable]",buttonDisableSelector:"button[data-remote][data-disable-with], button[data-remote][data-disable]",CSRFProtection:function(e){var n=t('meta[name="csrf-token"]').attr("content");n&&e.setRequestHeader("X-CSRF-Token",n)},refreshCSRFTokens:function(){var e=t("meta[name=csrf-token]").attr("content"),n=t("meta[name=csrf-param]").attr("content");t('form input[name="'+n+'"]').val(e)},fire:function(e,n,i){var r=t.Event(n);return e.trigger(r,i),r.result!==!1},confirm:function(t){return confirm(t)},ajax:function(e){return t.ajax(e)},href:function(t){return t[0].href},handleRemote:function(i){var r,o,a,s,l,u;if(n.fire(i,"ajax:before")){if(s=i.data("with-credentials")||null,l=i.data("type")||t.ajaxSettings&&t.ajaxSettings.dataType,i.is("form")){r=i.attr("method"),o=i.attr("action"),a=i.serializeArray();var c=i.data("ujs:submit-button");c&&(a.push(c),i.data("ujs:submit-button",null))}else i.is(n.inputChangeSelector)?(r=i.data("method"),o=i.data("url"),a=i.serialize(),i.data("params")&&(a=a+"&"+i.data("params"))):i.is(n.buttonClickSelector)?(r=i.data("method")||"get",o=i.data("url"),a=i.serialize(),i.data("params")&&(a=a+"&"+i.data("params"))):(r=i.data("method"),o=n.href(i),a=i.data("params")||null);return u={type:r||"GET",data:a,dataType:l,beforeSend:function(t,r){return r.dataType===e&&t.setRequestHeader("accept","*/*;q=0.5, "+r.accepts.script),n.fire(i,"ajax:beforeSend",[t,r])?void i.trigger("ajax:send",t):!1}
34,success:function(t,e,n){i.trigger("ajax:success",[t,e,n])},complete:function(t,e){i.trigger("ajax:complete",[t,e])},error:function(t,e,n){i.trigger("ajax:error",[t,e,n])},crossDomain:n.isCrossDomain(o)},s&&(u.xhrFields={withCredentials:s}),o&&(u.url=o),n.ajax(u)}return!1},isCrossDomain:function(t){var e=document.createElement("a");e.href=location.href;var n=document.createElement("a");try{return n.href=t,n.href=n.href,!((!n.protocol||":"===n.protocol)&&!n.host||e.protocol+"//"+e.host==n.protocol+"//"+n.host)}catch(i){return!0}},handleMethod:function(i){var r=n.href(i),o=i.data("method"),a=i.attr("target"),s=t("meta[name=csrf-token]").attr("content"),l=t("meta[name=csrf-param]").attr("content"),u=t('<form method="post" action="'+r+'"></form>'),c='<input name="_method" value="'+o+'" type="hidden" />';l===e||s===e||n.isCrossDomain(r)||(c+='<input name="'+l+'" value="'+s+'" type="hidden" />'),a&&u.attr("target",a),u.hide().append(c).appendTo("body"),u.submit()},formElements:function(e,n){return e.is("form")?t(e[0].elements).filter(n):e.find(n)},disableFormElements:function(e){n.formElements(e,n.disableSelector).each(function(){n.disableFormElement(t(this))})},disableFormElement:function(t){var n,i;n=t.is("button")?"html":"val",i=t.data("disable-with"),t.data("ujs:enable-with",t[n]()),i!==e&&t[n](i),t.prop("disabled",!0)},enableFormElements:function(e){n.formElements(e,n.enableSelector).each(function(){n.enableFormElement(t(this))})},enableFormElement:function(t){var e=t.is("button")?"html":"val";t.data("ujs:enable-with")&&t[e](t.data("ujs:enable-with")),t.prop("disabled",!1)},allowAction:function(t){var e,i=t.data("confirm"),r=!1;return i?(n.fire(t,"confirm")&&(r=n.confirm(i),e=n.fire(t,"confirm:complete",[r])),r&&e):!0},blankInputs:function(e,n,i){var r,o,a=t(),s=n||"input,textarea",l=e.find(s);return l.each(function(){if(r=t(this),o=r.is("input[type=checkbox],input[type=radio]")?r.is(":checked"):r.val(),!o==!i){if(r.is("input[type=radio]")&&l.filter('input[type=radio]:checked[name="'+r.attr("name")+'"]').length)return!0;a=a.add(r)}}),a.length?a:!1},nonBlankInputs:function(t,e){return n.blankInputs(t,e,!0)},stopEverything:function(e){return t(e.target).trigger("ujs:everythingStopped"),e.stopImmediatePropagation(),!1},disableElement:function(t){var i=t.data("disable-with");t.data("ujs:enable-with",t.html()),i!==e&&t.html(i),t.bind("click.railsDisable",function(t){return n.stopEverything(t)})},enableElement:function(t){t.data("ujs:enable-with")!==e&&(t.html(t.data("ujs:enable-with")),t.removeData("ujs:enable-with")),t.unbind("click.railsDisable")}},n.fire(i,"rails:attachBindings")&&(t.ajaxPrefilter(function(t,e,i){t.crossDomain||n.CSRFProtection(i)}),i.delegate(n.linkDisableSelector,"ajax:complete",function(){n.enableElement(t(this))}),i.delegate(n.buttonDisableSelector,"ajax:complete",function(){n.enableFormElement(t(this))}),i.delegate(n.linkClickSelector,"click.rails",function(i){var r=t(this),o=r.data("method"),a=r.data("params"),s=i.metaKey||i.ctrlKey;if(!n.allowAction(r))return n.stopEverything(i);if(!s&&r.is(n.linkDisableSelector)&&n.disableElement(r),r.data("remote")!==e){if(s&&(!o||"GET"===o)&&!a)return!0;var l=n.handleRemote(r);return l===!1?n.enableElement(r):l.error(function(){n.enableElement(r)}),!1}return r.data("method")?(n.handleMethod(r),!1):void 0}),i.delegate(n.buttonClickSelector,"click.rails",function(e){var i=t(this);if(!n.allowAction(i))return n.stopEverything(e);i.is(n.buttonDisableSelector)&&n.disableFormElement(i);var r=n.handleRemote(i);return r===!1?n.enableFormElement(i):r.error(function(){n.enableFormElement(i)}),!1}),i.delegate(n.inputChangeSelector,"change.rails",function(e){var i=t(this);return n.allowAction(i)?(n.handleRemote(i),!1):n.stopEverything(e)}),i.delegate(n.formSubmitSelector,"submit.rails",function(i){var r,o,a=t(this),s=a.data("remote")!==e;if(!n.allowAction(a))return n.stopEverything(i);if(a.attr("novalidate")==e&&(r=n.blankInputs(a,n.requiredInputSelector),r&&n.fire(a,"ajax:aborted:required",[r])))return n.stopEverything(i);if(s){if(o=n.nonBlankInputs(a,n.fileInputSelector)){setTimeout(function(){n.disableFormElements(a)},13);var l=n.fire(a,"ajax:aborted:file",[o]);return l||setTimeout(function(){n.enableFormElements(a)},13),l}return n.handleRemote(a),!1}setTimeout(function(){n.disableFormElements(a)},13)}),i.delegate(n.formInputClickSelector,"click.rails",function(e){var i=t(this);if(!n.allowAction(i))return n.stopEverything(e);var r=i.attr("name"),o=r?{name:r,value:i.val()}:null;i.closest("form").data("ujs:submit-button",o)}),i.delegate(n.formSubmitSelector,"ajax:send.rails",function(e){this==e.target&&n.disableFormElements(t(this))}),i.delegate(n.formSubmitSelector,"ajax:complete.rails",function(e){this==e.target&&n.enableFormElements(t(this))}),t(function(){n.refreshCSRFTokens()}))}(jQuery),/*! http://www.imgix.com imgix.js - v2.2.4 - 2016-07-11
35 _                    _             _
36(_)                  (_)           (_)
37 _  _ __ ___    __ _  _ __  __      _  ___
38| || '_ ` _ \  / _` || |\ \/ /     | |/ __|
39| || | | | | || (_| || | >  <  _   | |\__ \
40|_||_| |_| |_| \__, ||_|/_/\_\(_)  | ||___/
41                __/ |             _/ |
42               |___/             |__/
43
44*/
45function(){function t(){Object.freeze||(Object.freeze=function(t){return t}),Array.prototype.filter&&"findAll"!=Array.prototype.filter.name||(Array.prototype.filter=function(t){if(void 0===this||null===this)throw new TypeError;var e=Object(this),n=e.length>>>0;if("function"!=typeof t)throw new TypeError;for(var i=[],r=arguments.length>=2?arguments[1]:void 0,o=0;n>o;o++)if(o in e){var a=e[o];t.call(r,a,o,e)&&i.push(a)}return i}),Array.prototype.map||(Array.prototype.map=function(t,e){var n,i,r;if(null==this)throw new TypeError(" this is null or not defined");var o=Object(this),a=o.length>>>0;if("function"!=typeof t)throw new TypeError(t+" is not a function");for(arguments.length>1&&(n=e),i=new Array(a),r=0;a>r;){var s,l;r in o&&(s=o[r],l=t.call(n,s,r,o),i[r]=l),r++}return i}),document.querySelectorAll||(document.querySelectorAll=function(t){var e,n=document.createElement("style"),i=[];for(document.documentElement.firstChild.appendChild(n),document._qsa=[],n.styleSheet.cssText=t+"{x-qsa:expression(document._qsa && document._qsa.push(this))}",window.scrollBy(0,0),n.parentNode.removeChild(n);document._qsa.length;)e=document._qsa.shift(),e.style.removeAttribute("x-qsa"),i.push(e);return document._qsa=null,i}),document.querySelector||(document.querySelector=function(t){var e=document.querySelectorAll(t);return e.length?e[0]:null}),Array.prototype.indexOf||(Array.prototype.indexOf=function(t){for(var e=0;e<this.length;e++)if(this[e]===t)return e;return-1}),Array.isArray||(Array.isArray=function(t){return"[object Array]"===Object.prototype.toString.call(t)}),Object.keys||(Object.keys=function(){var t=Object.prototype.hasOwnProperty,e=!{toString:null}
45.propertyIsEnumerable("toString"),n=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],i=n.length;return function(r){if("object"!=typeof r&&("function"!=typeof r||null===r))throw new TypeError("Object.keys called on non-object");var o,a,s=[];for(o in r)t.call(r,o)&&s.push(o);if(e)for(a=0;i>a;a++)t.call(r,n[a])&&s.push(n[a]);return s}}()),!("getComputedStyle"in window)&&(window.getComputedStyle=function(){function t(e,n,i,r){var o,a=n[i],s=parseFloat(a),l=a.split(/\d/)[0];return r=null!=r?r:/%|em/.test(l)&&e.parentElement?t(e.parentElement,e.parentElement.currentStyle,"fontSize",null):16,o="fontSize"==i?r:/width/i.test(i)?e.clientWidth:e.clientHeight,"em"==l?s*r:"in"==l?96*s:"pt"==l?96*s/72:"%"==l?s/100*o:s}function e(t,e){var n="border"==e?"Width":"",i=e+"Top"+n,r=e+"Right"+n,o=e+"Bottom"+n,a=e+"Left"+n;t[e]=(t[i]==t[r]==t[o]==t[a]?[t[i]]:t[i]==t[o]&&t[a]==t[r]?[t[i],t[r]]:t[a]==t[r]?[t[i],t[r],t[o]]:[t[i],t[r],t[o],t[a]]).join(" ")}function n(n){var i=n.currentStyle,r=this,o=t(n,i,"fontSize",null);for(property in i)/width|height|margin.|padding.|border.+W/.test(property)&&"auto"!==r[property]?r[property]=t(n,i,property,o)+"px":"styleFloat"===property?r["float"]=i[property]:r[property]=i[property];return e(r,"margin"),e(r,"padding"),e(r,"border"),r.fontSize=o+"px",r}function i(t){return new n(t)}return n.prototype={constructor:n,getPropertyPriority:function(){},getPropertyValue:function(t){return this[t]||""},item:function(){},removeProperty:function(){},setProperty:function(){},getPropertyCSSValue:function(){}},i}(window))}function e(){return a}"undefined"!=typeof window&&t();var n=this,i={version:"2.2.4"};"undefined"!=typeof exports?("undefined"!=typeof module&&module.exports&&(exports=module.exports=i),exports.imgix=i):n.imgix=i;var r="imgix-usable";i.isImageElement=function(t){return t&&t.tagName&&"img"===t.tagName.toLowerCase()},i.setElementImageAfterLoad=function(t,e,n){var r=new Image;r.onload=r.onerror=function(){var o=i.isImageElement(t);o&&(t.onload=r.onerror=function(){"function"==typeof n&&n(t,e)}),i.setElementImage(t,e),o||"function"==typeof n&&n(t,e)},t.hasAttribute("crossorigin")&&r.setAttribute("crossorigin",t.getAttribute("crossorigin")),r.src=e},i.setElementImage=function(t,e){if(!t)return!1;if(i.isImageElement(t))return t.src!==e&&(t.src=e),!0;var n=i.getBackgroundImage(t);return n!==e?n?(t.style.cssText=t.style.cssText.replace(n,e),!0):(document.addEventListener?t.style.backgroundImage="url("+e+")":t.style.cssText="background-image:url("+e+")",!0):!1},i.getEmptyImage=function(){return i.versionifyUrl("https://assets.imgix.net/pixel.gif")},i.getElementImage=function(t){return i.isImageElement(t)?t.src:i.getBackgroundImage(t)},i.getBackgroundImage=function(t){var e,n,i=/\burl\s*\(\s*["']?([^"'\r\n,]+)["']?\s*\)/gi;return window.getComputedStyle?e=window.getComputedStyle(t):document.documentElement.currentStyle&&(e=t.currentStyle),e&&e.backgroundImage||(e=t.style),n=i.exec(e.backgroundImage),n&&n.length>1?n[1]:""},i.getElementsWithImages=function(){return i.markElementsWithImages(),document.querySelectorAll("."+r)},i.hasImage=function(t){var e=t.style.cssText?t.style.cssText.toLowerCase():t.style.cssText;return t&&(i.isImageElement(t)||-1!==e.indexOf("background-image"))},i.markElementsWithImages=function(){for(var t=document.getElementsByTagName("*"),e=0,n=t.length;n>e;e++)i.hasImage(t[e])&&i.setImgixClass(t[e])},i.hasClass=function(t,e){return(" "+t.className+" ").indexOf(" "+e+" ")>-1},i.setImgixClass=function(t){if(i.hasClass(t,r))return i.getImgixClass(t);var e=i.getXPathClass(i.getElementTreeXPath(t));return t.classList.add(e),t.classList.add(r),i.getImgixClass(t)},i.getImgixClass=function(t){return i.hasClass(t,r)?t.className.match(/imgix-el-[^\s]+/)[0]:void 0},i.getXPathClass=function(t){var e;return e=t?i.hashCode(t):(new Date).getTime().toString(36),"imgix-el-"+e},i.getElementImageSize=function(t){var e=0,n=0;return i.isImageElement(t)?(e=t.naturalWidth,n=t.naturalHeight):(e=i.helpers.extractInt(i.getCssProperty(t,"width")),n=i.helpers.extractInt(i.getCssProperty(t,"height"))),{width:e,height:n}},i.getCssPropertyById=function(t,e){var n=document.getElementById(t);return i.helpers.getElementCssProperty(n,e)},i.getCssProperty=function(t,e){return i.helpers.getElementCssProperty(t,e)},i.getCssPropertyBySelector=function(t,e){var n=document.querySelector(t);return i.helpers.getElementCssProperty(n,e)},i.instanceOfImgixURL=function(t){return t&&"[object imgixURL]"===t.toString()},i.setGradientOnElement=function(t,e,n){var r=[];if("undefined"==typeof n)r=["transparent","transparent"];else{var o=i.hexToRGB(n);"rgba"===o.slice(0,4)?(r.push(o),r.push(i.applyAlphaToRGB(o,0))):(r.push(i.applyAlphaToRGB(o,.5)),r.push(i.applyAlphaToRGB(o,0)))}
45for(var a=["-ms-linear-gradient(top, "+r[0]+" 0%, "+r[1]+" 100%),-ms-linear-gradient(bottom left, "+e[2]+" 0%,"+e[4]+" 25%, "+e[6]+" 50%, "+e[8]+" 75%,"+e[10]+" 100%)","-webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, "+r[1]+"), color-stop(100%, "+r[0]+")),-webkit-gradient(linear, 0% 100%, 100% 0%, color-stop(0%, "+e[2]+"), color-stop(25%, "+e[4]+"), color-stop(50%, "+e[6]+"), color-stop(75%, "+e[7]+"), color-stop(100%, "+e[10]+"))","-webkit-linear-gradient(top, "+r[0]+", "+r[1]+" 100%),-webkit-linear-gradient(bottom left, "+e[2]+", "+e[4]+", "+e[6]+","+e[8]+")","-moz-linear-gradient(top, "+r[0]+", "+r[1]+" ),-moz-linear-gradient(bottom left, "+e[2]+", "+e[4]+", "+e[6]+","+e[8]+")","-o-linear-gradient(top, "+r[0]+","+r[1]+"),-o-linear-gradient(bottom left, "+e[2]+", "+e[4]+", "+e[6]+","+e[8]+")","linear-gradient(top, "+r[0]+","+r[1]+"),linear-gradient(bottom left, "+e[2]+", "+e[4]+", "+e[6]+","+e[8]+")"],s=0;s<a.length;s++)t.style.backgroundImage=a[s]},i.isDef=function(t){return"undefined"!=typeof t},i.hashCode=function(t){var e,n,i=2166136261;for(e=0,n=t.length;n>e;e++)i^=t.charCodeAt(e),i+=(i<<1)+(i<<4)+(i<<7)+(i<<8)+(i<<24);return("0000000"+(i>>>0).toString(16)).substr(-8)},i.helpers={debouncer:function(t,e){var n;return function(){var i=this,r=arguments,o=function(){n=null,t.apply(i,r)};window.clearTimeout(n),n=window.setTimeout(o,e)}},throttler:function(t,e){var n;return function(){var i,r=this,o=arguments;n||(i=function(){n=null,t.apply(r,o)},n=window.setTimeout(i,e))}},urlParser:function(){function t(t){return!isNaN(parseFloat(t))&&isFinite(t)}return function(e,n){var i=n||window.location.toString();if(!e)return i;e=e.toString(),"//"===i.substring(0,2)?i="http:"+i:1===i.split("://").length&&(i="http://"+i),n=i.split("/");var r={auth:""},o=n[2].split("@");1===o.length?o=o[0].split(":"):(r.auth=o[0],o=o[1].split(":")),r.protocol=n[0],r.hostname=o[0],r.port=o[1]||("https"===r.protocol.split(":")[0].toLowerCase()?"443":"80"),r.pathname=(n.length>3?"/":"")+n.slice(3,n.length).join("/").split("?")[0].split("#")[0];var a=r.pathname;"/"===a.charAt(a.length-1)&&(a=a.substring(0,a.length-1));var s=r.hostname,l=s.split("."),u=a.split("/");if("hostname"===e)return s;if("domain"===e)return/^(([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])$/.test(s)?s:l.slice(-2).join(".");if("sub"===e)return l.slice(0,l.length-2).join(".");if("port"===e)return r.port;if("protocol"===e)return r.protocol.split(":")[0];if("auth"===e)return r.auth;if("user"===e)return r.auth.split(":")[0];if("pass"===e)return r.auth.split(":")[1]||"";if("path"===e)return r.pathname;if("."===e.charAt(0)){if(e=e.substring(1),t(e))return e=parseInt(e,10),l[0>e?l.length+e:e-1]||""}else{if(t(e))return e=parseInt(e,10),u[0>e?u.length+e:e]||"";if("file"===e)return u.slice(-1)[0];if("filename"===e)return u.slice(-1)[0].split(".")[0];if("fileext"===e)return u.slice(-1)[0].split(".")[1]||"";if("?"===e.charAt(0)||"#"===e.charAt(0)){var c=i,d=null;if("?"===e.charAt(0)?c=(c.split("?")[1]||"").split("#")[0]:"#"===e.charAt(0)&&(c=c.split("#")[1]||""),!e.charAt(1))return c;e=e.substring(1),c=c.split("&");for(var p=0,f=c.length;f>p;p++)if(d=c[p].split("="),d[0]===e)return d[1]||"";return null}}return""}}(),mergeObject:function(){for(var t,e={},n=0,i=arguments.length;i>n;n++)for(t in arguments[n])arguments[n].hasOwnProperty(t)&&(e[t]=arguments[n][t]);return e},pixelRound:function(t,e){return Math.ceil(t/e)*e},isNumber:function(t){return!isNaN(parseFloat(t))&&isFinite(t)},getWindowDPR:function(){var t=window.devicePixelRatio?window.devicePixelRatio:1;if(t%1!==0){var e=t.toString();e=e.split(".")[1],t=e.length>1&&"0"!==e.slice(1,2)?t.toFixed(2):t.toFixed(1)}return t},getWindowWidth:function(){return Math.max(document.documentElement.clientWidth,window.innerWidth||0)||1024},getWindowHeight:function(){return Math.max(document.documentElement.clientHeight,window.innerHeight||0)||768},getImgSrc:function(t){return t.getAttribute("data-src")||t.getAttribute("src")},calculateElementSize:function(t){var e={width:t.offsetWidth,height:t.offsetHeight};if(null===t.parentNode||t===document.body)return e.width=this.getWindowWidth(),e.height=this.getWindowHeight(),e;if(0!==e.width||0!==e.height)return t.alt&&!t.fluid?(t.fluid=!0,this.calculateElementSize(t.parentNode)):e;var n,i,r={},o={position:"absolute",visibility:"hidden",display:"block"};for(i in o)o.hasOwnProperty(i)&&(r[i]=t.style[i],t.style[i]=o[i]);n={width:t.offsetWidth,height:t.offsetHeight};for(i in o)o.hasOwnProperty(i)&&(t.style[i]=r[i]);return 0===n.width||0===n.height?this.calculateElementSize(t.parentNode):n},isReallyObject:function(t){return t&&"object"==typeof t&&"[object Object]"===t.toString()},isFluidSet:function(t){return t&&"object"==typeof t&&"[object FluidSet]"===t.toString()},extractInt:function(t){return void 0===t?0:"number"==typeof t?t:parseInt(t.replace(/\D/g,""),10)||0},camelize:function(t){return t.replace(/[-_\s]+(.)?/g,function(t,e){return e?e.toUpperCase():""})},getElementCssProperty:function(t,e){return window.getComputedStyle?window.getComputedStyle(t,null).getPropertyValue(e):t&&t.style&&e?t.style[this.camelize(e)]:""},matchesSelector:function(t,e){var n=(t.parentNode||document).querySelectorAll(e);return Array.prototype.slice.call(n).indexOf(t)>-1},warn:function(t){window.console&&window.console.warn(t)}},i.URL=function(t,e){this._autoUpdateSel=null,this._autoUpdateCallback=null,t&&"//"===t.slice(0,2)&&window&&window.location&&(t=window.location.protocol+t),this.setUrl(t),"object"==typeof e&&this.setParams(e),this.paramAliases={}},i.URL.prototype.attachGradientTo=function(t,e,n){this.getColors(16,function(r){if(r&&r.length<9)return i.helpers.warn("not enough colors to create a gradient"),void(n&&"function"==typeof n&&n(!1));if("string"==typeof t){var o=document.querySelectorAll(t);if(o&&o.length>0)for(var a=0;a<o.length;a++)i.setGradientOnElement(o[a],r,e)}else i.setGradientOnElement(t,r,e);n&&"function"==typeof n&&n(!0)})},i.URL.prototype.attachImageTo=function(t,e){if("string"==typeof t){var n=document.querySelectorAll(t);if(n&&n.length>0)for(var r=0;r<n.length;r++)i.setElementImageAfterLoad(n[r],this.getUrl(),e)}else i.setElementImageAfterLoad(t,this.getUrl(),e)},i.createParamString=function(){return new i.URL("")},i.updateVersion={};var o={};i.URL.prototype.getColors=function(t,e){function n(t){var e,n,i=[];if(t&&t.colors){for(e=0;e<t.colors.length;e++)n=[Math.round(255*t.colors[e].red),Math.round(255*t.colors[e].green),Math.round(255*t.colors[e].blue)],i.push("rgb("+n.join(", ")+")");return i}}function r(){var t=new XMLHttpRequest;t.onreadystatechange=function(){var i;4===t.readyState&&(i=200===t.status?JSON.parse(t.response):{colors:[{red:1,green:1,blue:1}]}
45,o[a]=n(i),e(o[a]))},t.open("get",a,!0),t.send()}var a,s=10,l=new i.URL(this.getUrl());if("function"==typeof t)if("number"==typeof e){var u=e;e=t,t=u}else e=t,t=s;l.setParams({palette:"json",colors:t}),a=l.getUrl(),o.hasOwnProperty(a)?e&&e(o[a]):r()},i.URL.prototype._handleAutoUpdate=function(){function t(t){return s===r._autoUpdateSel&&t===i.updateVersion[s]}function e(e,n){n in l||(l[n]=[],function(){var u=new Image,c=i.updateVersion[s],d=(new Date).getTime();u.onload=u.onerror=function(){if(t(c))for(var e=0;e<l[n].length;e++)if(i.setElementImage(l[n][e],n),a++,"function"==typeof r._autoUpdateCallback){var s={element:l[n][e],isComplete:a===o,percentComplete:a/o*100,totalComplete:a,loadTime:(new Date).getTime()-d,total:o};r._autoUpdateCallback(s)}},e.hasAttribute("crossorigin")&&u.setAttribute("crossorigin",e.getAttribute("crossorigin")),u.src=n}()),l[n].push(e)}function n(t){var n=i.getElementImage(t),o=n;n&&-1!==n.indexOf("?")&&(o=n.split("?")[0]),r.getBaseUrl()?e(t,r.getUrl()):o&&r.getQueryString()?e(t,o+"?"+r.getQueryString()):a++}var r=this,o=0,a=0,s=this._autoUpdateSel,l={};if(i.isDef(i.updateVersion[s])?i.updateVersion[s]++:i.updateVersion[s]=1,null!==this._autoUpdateSel){var u=document.querySelectorAll(this._autoUpdateSel);if(o=u.length,u&&1===o)n(u[0]);else for(var c=0;o>c;c++)n(u[c])}},i.URL.prototype.autoUpdateImg=function(t,e){this._autoUpdateSel=t,this._autoUpdateCallback=e,this._handleAutoUpdate()},i.URL.prototype.setUrl=function(t){t&&"string"==typeof t&&0!==t.length||(t=i.getEmptyImage()),this.urlParts=i.parseUrl(t)},i.URL.prototype.setURL=function(t){return this.setUrl(t)},i.URL.prototype.getURL=function(){return this.getUrl()},i.URL.prototype.toString=function(){return"[object imgixURL]"},i.URL.prototype.getUrl=function(){var t=i.buildUrl(this.urlParts);return t&&0!==t.length?t:i.getEmptyImage()},i.URL.prototype.removeParam=function(t){this.urlParts.paramValues.hasOwnProperty(t)&&(delete this.urlParts.paramValues[t],this.urlParts.params=Object.keys(this.urlParts.paramValues))},i.URL.prototype.clearThenSetParams=function(t){this.clearParams(!1),this.setParams(t)},i.URL.prototype.clearParams=function(t){t=i.isDef(t)?t:!0;for(var e in this.urlParts.paramValues)this.urlParts.paramValues.hasOwnProperty(e)&&this.removeParam(e);t&&this._handleAutoUpdate()},i.URL.prototype.setParams=function(t,e){if(i.instanceOfImgixURL(t))return void i.helpers.warn("setParams warning: dictionary of imgix params expectd. imgix URL instance passed instead");for(var n in t)t.hasOwnProperty(n)&&this.setParam(n,t[n],e,!0);this._handleAutoUpdate()},i.URL.prototype.setParam=function(t,e,n,r){return t=t.toLowerCase(),n=i.isDef(n)?n:!0,r=i.isDef(r)?r:!1,"col"!==t&&"colorize"!==t&&"blend"!==t&&"mono"!==t&&"monochrome"!==t||"rgb"===e.slice(0,3)&&(e=i.rgbToHex(e)),!n&&this.urlParts.paramValues[t]?this:i.isDef(e)&&null!==e&&0!==e.length?(-1===this.urlParts.params.indexOf(t)&&this.urlParts.params.push(t),decodeURIComponent(e)===e&&(e=encodeURIComponent(e)),this.urlParts.paramValues[t]=String(e),r||this._handleAutoUpdate(),this):(this.removeParam(t),this)},i.URL.prototype.getParam=function(t){if("mark"===t||"mask"===t){var e=this.urlParts.paramValues[t];return decodeURIComponent(e)!==e?decodeURIComponent(e):e}return this.urlParts.paramValues[t]},i.URL.prototype.getParams=function(){return this.urlParts.paramValues?this.urlParts.paramValues:{}},i.URL.prototype.getBaseUrl=function(){var t=this.getUrl();return-1!==t.indexOf("?")&&(t=this.getUrl().split("?")[0]),t!==window.location.href?t:""},i.URL.prototype.getQueryString=function(){var t=this.getUrl();return-1!==t.indexOf("?")?this.getUrl().split("?")[1]:""},i.parseUrl=function(t){for(var e=["protocol","hostname","port","path","?","#","hostname"],n=["protocol","hostname","port","pathname","search","hash","host"],r={},o=0;o<n.length;o++)r[n[o]]=i.helpers.urlParser(e[o],t);var a=r.search;if(r.paramValues={},r.params=[],r.baseUrl=t.split("?")[0],a&&a.length>0){"?"===a[0]&&(a=a.substr(1,a.length));for(var s=a.split("&"),l=0;l<s.length;l++){var u=s[l].split("=");u[0]&&u[0].length&&"s"!==u[0]&&(r.paramValues[u[0]]=2===u.length?u[1]:"",-1===r.params.indexOf(u[0])&&r.params.push(u[0]))}}return r},i.buildUrl=function(t){var e=t.protocol+"://"+t.host;if(null!==t.port&&"80"!==t.port&&"443"!==t.port&&(e+=":"+t.port),e+=t.pathname,i.versionifyUrl(t),t.params.length>0){t.params=t.params.map(function(t){return t.toLowerCase()}),t.params=t.params.filter(function(t,e,n){return n.indexOf(t)===e}),t.params=t.params.sort(function(t,e){return e>t?-1:t>e?1:0});for(var n=[],r=0;r<t.params.length;r++)t.paramValues[t.params[r]].length>0&&n.push(t.params[r]+"="+t.paramValues[t.params[r]]);-1!==e.indexOf("?")&&(e=e.split("?")[0]),e+="?"+n.join("&")}return e},i.versionifyUrl=function(t){return"string"==typeof t?i.versionifyStringUrl(t):i.versionifyParsedUrl(t)},i.versionifyStringUrl=function(t){var e,n,r="ixjsv";return e=t.split("?"),n=e[0]+"?"+r+"="+i.version,e[1]&&(n+="&"+e[1]),n},i.versionifyParsedUrl=function(t){var e="ixjsv";return t.paramValues[e]||t.params.push(e),t.paramValues[e]=i.version,t};var a={fluidClass:"imgix-fluid",updateOnResize:!0,updateOnResizeDown:!1,updateOnPinchZo
45om:!1,highDPRAutoScaleQuality:!0,onChangeParamOverride:null,autoInsertCSSBestPractices:!1,fitImgTagToContainerWidth:!0,fitImgTagToContainerHeight:!1,ignoreDPR:!1,pixelStep:10,debounce:200,lazyLoad:!1,lazyLoadColor:null,lazyLoadOffsetVertical:20,lazyLoadOffsetHorizontal:20,lazyLoadScrollContainers:["undefined"==typeof window?null:window],throttle:200,maxHeight:5e3,maxWidth:5e3,onLoad:null};i.FluidSet=function(t){i.helpers.isReallyObject(t)?this.options=i.helpers.mergeObject(e(),t):this.options=i.helpers.mergeObject(e(),{}),this.lazyLoadOffsets={t:Math.max(this.options.lazyLoadOffsetVertical,0),b:Math.max(this.options.lazyLoadOffsetVertical,0),l:Math.max(this.options.lazyLoadOffsetHorizontal,0),r:Math.max(this.options.lazyLoadOffsetHorizontal,0)},this.namespace=Math.random().toString(36).substring(7),this.windowResizeEventBound=!1,this.windowScrollEventBound=!1,this.windowLastWidth=0,this.windowLastHeight=0},i.FluidSet.prototype.updateSrc=function(t,e){if(t.hasAttribute("src")&&""===t.getAttribute("src")&&t.setAttribute("src",i.getEmptyImage()),t.offsetWidth||t.offsetHeight||t.getClientRects().length){var n=this.getImgDetails(t,e||1),r=n.url,o=n.width,a=n.height;if(this.options.lazyLoad){var s=t.getBoundingClientRect(),l={left:0-this.lazyLoadOffsets.l,top:0-this.lazyLoadOffsets.t,bottom:(window.innerHeight||document.documentElement.clientHeight)+this.lazyLoadOffsets.b,right:(window.innerWidth||document.documentElement.clientWidth)+this.lazyLoadOffsets.r};if(s.top>l.bottom||s.left>l.right||s.top+a<l.top||s.left+o<l.left){if(!t.fluidLazyColored&&this.options.lazyLoadColor){t.fluidLazyColored=1;var u=this,c=typeof this.options.lazyLoadColor,d=new i.URL(i.helpers.getImgSrc(t));d.getColors(16,function(e){if(!e)return void i.helpers.warn("No colors found for",d.getURL(),"for element",t);var n=null;"boolean"===c?n=e[0]:"number"===c&&u.options.lazyLoadColor<e.length?n=e[u.options.lazyLoadColor]:"function"===c&&(n=u.options.lazyLoadColor(t,e)),null!==n&&(i.isImageElement(t)&&t.parentNode&&"body"!==t.parentNode.tagName.toLowerCase()?t.parentNode.style.backgroundColor=n:t.style.backgroundColor=n)})}return}}if(t.lastWidth=t.lastWidth||0,t.lastHeight=t.lastHeight||0,!(this.options.updateOnResizeDown===!1&&t.lastWidth>=o&&t.lastHeight>=a)){t.fluidUpdateCount||(t.fluidUpdateCount=0);var p=function(){};this.options.onLoad&&"function"==typeof this.options.onLoad&&(p=this.options.onLoad);var f=function(t,e){t.fluidUpdateCount=parseInt(t.fluidUpdateCount,10)+1,p(t,e)};i.setElementImageAfterLoad(t,r,f),t.lastWidth=o,t.lastHeight=a}}},i.FluidSet.prototype.getImgDetails=function(t,e){if(t){var n=i.helpers.getWindowDPR(),r=this.options.pixelStep,o=i.helpers.calculateElementSize(i.isImageElement(t)?t.parentNode:t),a=i.helpers.pixelRound(o.width*e,r),s=i.helpers.pixelRound(o.height*e,r);t.url||(t.url=new i.URL(i.helpers.getImgSrc(t))),t.url.setParams({h:"",w:""}),a=Math.min(a,this.options.maxWidth),s=Math.min(s,this.options.maxHeight),1===n||this.options.ignoreDPR||t.url.setParam("dpr",n),this.options.highDPRAutoScaleQuality&&n>1&&t.url.setParam("q",Math.min(Math.max(parseInt(100/n,10),30),75)),this.options.fitImgTagToContainerHeight&&this.options.fitImgTagToContainerWidth&&t.url.setParam("fit","crop"),"crop"===t.url.getParam("fit")?(s>0&&(!i.isImageElement(t)||i.isImageElement(t)&&this.options.fitImgTagToContainerHeight)&&t.url.setParam("h",s),a>0&&(!i.isImageElement(t)||i.isImageElement(t)&&this.options.fitImgTagToContainerWidth)&&t.url.setParam("w",a)):a>=s?t.url.setParam("w",a):t.url.setParam("h",s),!i.isImageElement(t)&&this.options.autoInsertCSSBestPractices&&t.style&&(t.style.backgroundRepeat="no-repeat",t.style.backgroundSize="cover",t.style.backgroundPosition="50% 50%");var l={};null!==this.options.onChangeParamOverride&&"function"==typeof this.options.onChangeParamOverride&&(l=this.options.onChangeParamOverride(a,s,t.url.getParams(),t));for(var u in l)l.hasOwnProperty(u)&&t.url.setParam(u,l[u]);return{url:t.url.getURL(),width:a,height:s}}},i.FluidSet.prototype.toString=function(){return"[object FluidSet]"},i.FluidSet.prototype.reload=function(){i.fluid(this),this.windowLastWidth=i.helpers.getWindowWidth(),this.windowLastHeight=i.helpers.getWindowHeight()},i.FluidSet.prototype.attachGestureEvent=function(t){var e=this;t.addEventListener&&!t.listenerAttached&&(t.addEventListener("gestureend",function(t){e.updateSrc(this,t.scale)},!1),t.addEventListener("gesturechange",function(){e.updateSrc(this)},!1),t.listenerAttached=!0)};var s={},l={};i.FluidSet.prototype.attachScrollListener=function(){var t=this;s[this.namespace]=i.helpers.throttler(function(){t.reload()},this.options.throttle);var e,n;document.addEventListener?(e="addEventListener",n="scroll"):(e="attachEvent",n="onscroll");for(var r=0;r<this.options.lazyLoadScrollContainers.length;r++)this.options.lazyLoadScrollContainers[r][e](n,s[this.namespace],!1);this.windowScrollEventBound=!0},i.FluidSet.prototype.attachWindowResizer=function(){var t=this;l[this.namespace]=i.helpers.debouncer(function(){this.windowLastWidth===i.helpers.getWindowWidth()&&this.windowLastHeight===i.helpers.getWindowHeight()||t.reload()},this.options.debounce),window.addEventListener?window.addEventListener("resize",l[this.namespace],!1):window.attachEvent&&window.attachEvent("onresize",l[this.namespace]),this.windowResizeEventBound=!0},i.fluid=function(){var t,n;if(arguments.length>0&&1===arguments[0].nodeType?(n=arguments[0],t=arguments[1]):t=arguments[0],null!==t){var r,o;
45if(i.helpers.isReallyObject(t)){for(var a=Object.keys(t),s=Object.keys(e()),l=0;l<a.length;l++)-1===s.indexOf(a[l])&&i.helpers.warn("'"+a[l]+"' is not a valid imgix.fluid config option. See https://github.com/imgix/imgix.js/blob/master/docs/api.md#imgix.fluid for a list of valid options.");r=i.helpers.mergeObject(e(),t),o=new i.FluidSet(r),t=null}else i.helpers.isFluidSet(t)?(o=t,r=o.options):(r=i.helpers.mergeObject(e(),{}),o=new i.FluidSet(r));var u;if(t&&!i.helpers.isFluidSet(t))u=Array.isArray(t)?t:[t];else{var c=r.fluidClass.toString();c="."===c.slice(0,1)?c:"."+c,u=(n||document).querySelectorAll(c),n&&i.helpers.matchesSelector(n,c)&&(u=Array.prototype.slice.call(u),u.unshift(n))}for(var d=0;d<u.length;d++)null!==u[d]&&(r.updateOnPinchZoom&&o.attachGestureEvent(u[d]),o.updateSrc(u[d]));return r.lazyLoad&&!o.windowScrollEventBound&&o.attachScrollListener(),r.updateOnResize&&!o.windowResizeEventBound&&o.attachWindowResizer(),o}},"undefined"!=typeof window&&(i.onready=function(){function t(){var t;for(a=!0;t=i.shift();)t()}var e,n,i=[],r=document.documentElement.doScroll,o=r?/^loaded|^c/:/^loaded|c/,a=o.test(document.readyState);return document.addEventListener?(n=function(){document.removeEventListener("DOMContentLoaded",n,!1),t()},document.addEventListener("DOMContentLoaded",n,!1)):document.attachEvent&&(n=function(){/^c/.test(document.readyState)&&(document.detachEvent("onreadystatechange",n),t())},document.attachEvent("onreadystatechange",n)),e=r?function(t){window.self!=window.top?a?t():i.push(t):!function(){try{document.documentElement.doScroll("left")}catch(n){return setTimeout(function(){e(t)},50)}t()}()}:function(t){a?t():i.push(t)}}()),i.rgbToHex=function(t){var e=t.split(",");return e=e.map(function(t){return i.componentToHex(parseInt(t.replace(/\D/g,"")))}),e.join("")},i.componentToHex=function(t){var e=t.toString(16);return 1===e.length?"0"+e:e},i.getColorBrightness=function(t){if(!t)return 0;"#"===t.slice(0,1)&&(t=i.hexToRGB(t));var e=t.replace(/[^0-9,]+/g,"").split(","),n=parseInt(e[0],10),r=parseInt(e[1],10),o=parseInt(e[2],10);return Math.sqrt(n*n*.241+r*r*.691+o*o*.068)},i.applyAlphaToRGB=function(t,e){var n="rgba"!==t.slice(0,4),i=t.split(",");return i=i.map(function(t){return parseInt(t.replace(/\D/g,""),10)}),n?i.push(e):4===i.length&&(i[3]=e),"rgba("+i.join(", ")+")"},i.hexToRGB=function(t){function e(t){return(t+t).toString()}
45if(t)if("#"===t.slice(0,1))t=t.slice(1,t.length);else if("rgb"===t.slice(0,3))return t;var n=0,r=0,o=0;return 3===t.length?(n=parseInt(e(t.slice(0,1)),16),r=parseInt(e(t.slice(1,2)),16),o=parseInt(e(t.slice(2,3)),16)):6===t.length?(n=parseInt(t.slice(0,2),16),r=parseInt(t.slice(2,4),16),o=parseInt(t.slice(4,6),16)):i.helpers.warn("invalid hex color:",t),"rgb("+n+", "+r+", "+o+")"},i.getElementByXPathClassName=function(t){return document.querySelector("."+i.getXPathClass(t))},i.getElementImageByXPathClassName=function(t){return i.getElementImage(i.getElementByXPathClassName(t))},i.getElementTreeXPath=function(t){for(var e=[];t&&t.nodeType===Node.ELEMENT_NODE;t=t.parentNode){for(var n=0,i=t.previousSibling;i;i=i.previousSibling)i.nodeType!==Node.DOCUMENT_TYPE_NODE&&i.nodeName===t.nodeName&&++n;var r=(t.prefix?t.prefix+":":"")+t.localName,o=n?"["+(n+1)+"]":"";e.splice(0,0,r+o)}return e.length?"/"+e.join("/"):null},"function"==typeof define&&define.amd&&define("imgix",[],function(){return i})}.call(this),this.unispring||(this.unispring=function(){function t(){return"https"==document.location.href.slice(0,5)?"https://ssl-":"http://"}function e(t,e){if(!e){if(!t)return d;e=t,t={r:document.referrer}}d=[t,e];var n=e[w]?e[w]:t[w];return n||(n=e[b]?e[b]:t[b]?t[b]:h),x[n]||(x[n]=[]),x[n].push([t,e]),C=1,d}function n(t,n){C||e({});var r,s,l,u,c;for(s in x)if(x.hasOwnProperty(s))for(l=x[s];l.length>0;){for(u=",",c=[];l.length>0&&(u+=o(a(l.shift(),c),c),!(u.length>g));)l.length>0&&(u+="+");r=i(t,u+";",s,n)}return x={},r}function i(e,n,i,o,a,s){s=t()+(i?i:h)+"."+m,a=s+"/j0="+n,u=a+"?lt="+(new Date).getTime().toString(36)+"&x="+screen.width+"x"+screen.height+"x"+screen.colorDepth+r();var l=document.getElementById("unispring-tp"),c=function(t){var e=document.createElement("img");return e.id="unispring-tp",e.src=t,e.width=1,e.height=1,e};return o&&1!=o?2==o&&((new Image).src=u):l?l.parentNode.replaceChild(c(u),l):document.body.appendChild(c(u)),v&&alert(u),a}function r(){var t="i00",e=document.cookie.indexOf(t+"=");if(-1!=e){e+=t.length+1;var n=document.cookie.indexOf(";",e);return-1==n&&(n=document.cookie.length),"&c="+document.cookie.substring(e,n)}var i="0000",r=i+Math.ceil((new Date).getTime()/1e3).toString(16)+(32768|65535*Math.random()).toString(16)+i,o=new Date;o.setTime(o.getTime()+31536e7);var a="; expires="+o.toGMTString(),s=new String(document.domain).split(".");s.reverse();var l="."+s[1]+"."+s[0];return document.cookie=t+"="+r+a+"; path=/; domain="+l,""}function o(t,e){for(var n=0;n<e.length;n+=1)if(e[n]==t)return"~"+n;return e.push(t),t}function a(t,e){var n,i,r,s,l;switch(e||(e=[]),typeof t){case"string":return y(t);case"number":return isFinite(t)?String(t):"null";case"boolean":case"null":return String(t);case"object":if(!t)return"null";if(n=[],"number"==typeof t.length&&!t.propertyIsEnumerable("length")){for(s=t.length,i=0;s>i;i+=1)n.push(o(a(t[i],e),e)||"null");return","+n.join("+")+";"}for(r in t)"string"==typeof r&&r!=b&&r!=w&&(l=a(t[r],e),l&&n.push(o(a(r,e)+"="+l,e)));return","+n.join("+")+";"}return""}function s(t,i,r){return t.hasOwnProperty("cp")&&p?t=l(t):i.hasOwnProperty("cp")&&p&&(i=l(i)),e(t,i),n(!this.ns,r)}function l(t){var e=0,n=navigator.userAgent;return t.hasOwnProperty("dt")?(t.dt=t.dt.toLowerCase(),"desktop"!=t.dt&&(t.cp=t.dt+"/"+t.cp)):(/Android|Windows|iPad/i.test(n)?/Android/i.test(n)&&/mobile|Opera\sMobi/i.test(n)||/Windows/i.test(n)&&/[Pp]hone|[Mm]obile/.test(n)?e=1:/Android|iPad/i.test(n)&&(e=2):/Macintosh|Solaris|BSD|Linux|PLAYSTATION|Nintendo\sWii|Xbox/i.test(n)||(e=1),t.cp=1===e?"mobile/"+t.cp:t.cp),t}function c(){for(;unispringq.length>0;){var t=unispringq.shift();t[1]?e(t[0],t[1]):(t.hasOwnProperty("cp")&&p&&(t=l(t)),e(t,!1))}n(!this.ns,2),setTimeout("unispring.p()",50)}var d,p=!0,f="undefined",h="test",m="tns-cs.net",g=typeof unispring_ms!=f?unispring_ms:2048,v=typeof unispring_debug!=f?unispring_debug:null,y=encodeURIComponent,b="site",w="s",x={},C=null;return{a:e,add:e,c:s,commit:s,p:c}}(),this.unispringq&&unispring.p()),/**
46 * jQuery iframe click tracking plugin
47 * Version 1.3 (2014-05-16)
48 * Copyright � 2014 Vincent Par�, www.finalclap.com
49 */
50function(t){t.fn.iframeTracker=function(e){t.iframeTracker.handlersList.push(e),t(this).bind("mouseover",{handler:e},function(t){t.data.handler.over=!0;try{t.data.handler.overCallback(this)}catch(e){}}).bind("mouseout",{handler:e},function(e){e.data.handler.over=!1,t.iframeTracker.focusRetriever.focus();try{e.data.handler.outCallback(this)}catch(n){}})},t.iframeTracker={focusRetriever:null,focusRetrieved:!1,handlersList:[],isIE8AndOlder:!1,init:function(){try{1==t.browser.msie&&t.browser.version<9&&(this.isIE8AndOlder=!0)}catch(e){try{var n=navigator.userAgent.match(/(msie) ([\w.]+)/i);n[2]<9&&(this.isIE8AndOlder=!0)}catch(i){}}if(t(window).focus(),t(window).blur(function(e){t.iframeTracker.windowLoseFocus(e)}),t("body").append('<div style="position:fixed; top:0; left:0; overflow:hidden;"><input style="position:absolute; left:-300px;" type="text" value="" id="focus_retriever" readonly="true" /></div>'),this.focusRetriever=t("#focus_retriever"),this.focusRetrieved=!1,t(document).mousemove(function(){document.activeElement&&"IFRAME"==document.activeElement.tagName&&(t.iframeTracker.focusRetriever.focus(),t.iframeTracker.focusRetrieved=!0)}),this.isIE8AndOlder&&this.focusRetriever.blur(function(e){e.stopPropagation(),e.preventDefault(),t.iframeTracker.windowLoseFocus(e)}),this.isIE8AndOlder){t("body").click(function(){t(window).focus()}),t("form").click(function(t){t.stopPropagation()});try{t("body").on("click","form",function(t){t.stopPropagation()})}catch(e){console.log("[iframeTracker] Please update jQuery to 1.7 or newer. (exception: "+e.message+")")}}},windowLoseFocus:function(){for(var t in this.handlersList)if(1==this.handlersList[t].over)try{this.handlersList[t].blurCallback()}catch(e){}}},t(document).ready(function(){t.iframeTracker.init()})}(jQuery),/* ========================================================================
51 * Bootstrap: affix.js v3.2.0
52 * http://getbootstrap.com/javascript/#affix
53 * ========================================================================
54 * Copyright 2011-2014 Twitter, Inc.
55 * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
56 * ======================================================================== */
57+function(t){"use strict";function e(e){return this.each(function(){var i=t(this),r=i.data("bs.affix"),o="object"==typeof e&&e;r||i.data("bs.affix",r=new n(this,o)),"string"==typeof e&&r[e]()})}var n=function(e,i){this.options=t.extend({},n.DEFAULTS,i),this.$target=t(this.options.target).on("scroll.bs.affix.data-api",t.proxy(this.checkPosition,this)).on("click.bs.affix.data-api",t.proxy(this.checkPositionWithEventLoop,this)),this.$element=t(e),this.affixed=this.unpin=this.pinnedOffset=null,this.checkPosition()};n.VERSION="3.2.0",n.RESET="affix affix-top affix-bottom",n.DEFAULTS={offset:0,target:window},n.prototype.getPinnedOffset=function(){if(this.pinnedOffset)return this.pinnedOffset;this.$element.removeClass(n.RESET).addClass("affix");var t=this.$target.scrollTop(),e=this.$element.offset();return this.pinnedOffset=e.top-t},n.prototype.checkPositionWithEventLoop=function(){setTimeout(t.proxy(this.checkPosition,this),1)},n.prototype.checkPosition=function(){if(this.$element.is(":visible")){var e=t(document).height(),i=this.$target.scrollTop(),r=this.$element.offset(),o=this.options.offset,a=o.top,s=o.bottom;"object"!=typeof o&&(s=a=o),"function"==typeof a&&(a=o.top(this.$element)),"function"==typeof s&&(s=o.bottom(this.$element));var l=null!=this.unpin&&i+this.unpin<=r.top?!1:null!=s&&r.top+this.$element.height()>=e-s?"bottom":null!=a&&a>=i?"top":!1;if(this.affixed!==l){null!=this.unpin&&this.$element.css("top","");var u="affix"+(l?"-"+l:""),c=t.Event(u+".bs.affix");this.$element.trigger(c),c.isDefaultPrevented()||(this.affixed=l,this.unpin="bottom"==l?this.getPinnedOffset():null,this.$element.removeClass(n.RESET).addClass(u).trigger(t.Event(u.replace("affix","affixed"))),"bottom"==l&&this.$element.offset({top:e-this.$element.height()-s}))}}};var i=t.fn.affix;t.fn.affix=e,t.fn.affix.Constructor=n,t.fn.affix.noConflict=function(){return t.fn.affix=i,this},t(window).on("load",function(){t('[data-spy="affix"]').each(function(){var n=t(this),i=n.data();i.offset=i.offset||{},i.offsetBottom&&(i.offset.bottom=i.offsetBottom),i.offsetTop&&(i.offset.top=i.offsetTop),e.call(n,i)})})}(jQuery),/* ========================================================================
58 * Bootstrap: alert.js v3.2.0
59 * http://getbootstrap.com/javascript/#alerts
60 * ========================================================================
61 * Copyright 2011-2014 Twitter, Inc.
62 * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
63 * ======================================================================== */
64+function(t){"use strict";function e(e){return this.each(function(){var n=t(this),r=n.data("bs.alert");r||n.data("bs.alert",r=new i(this)),"string"==typeof e&&r[e].call(n)})}var n='[data-dismiss="alert"]',i=function(e){t(e).on("click",n,this.close)};i.VERSION="3.2.0",i.prototype.close=function(e){function n(){o.detach().trigger("closed.bs.alert").remove()}var i=t(this),r=i.attr("data-target");r||(r=i.attr("href"),r=r&&r.replace(/.*(?=#[^\s]*$)/,""));var o=t(r);e&&e.preventDefault(),o.length||(o=i.hasClass("alert")?i:i.parent()),o.trigger(e=t.Event("close.bs.alert")),e.isDefaultPrevented()||(o.removeClass("in"),t.support.transition&&o.hasClass("fade")?o.one("bsTransitionEnd",n).emulateTransitionEnd(150):n())};var r=t.fn.alert;t.fn.alert=e,t.fn.alert.Constructor=i,t.fn.alert.noConflict=function(){return t.fn.alert=r,this},t(document).on("click.bs.alert.data-api",n,i.prototype.close)}(jQuery),/* ========================================================================
65 * Bootstrap: button.js v3.2.0
66 * http://getbootstrap.com/javascript/#buttons
67 * ========================================================================
68 * Copyright 2011-2014 Twitter, Inc.
69 * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
70 * ======================================================================== */
71+function(t){"use strict";function e(e){return this.each(function(){var i=t(this),r=i.data("bs.button"),o="object"==typeof e&&e;
vendor: 33,787 bytes, lines 71-140
71r||i.data("bs.button",r=new n(this,o)),"toggle"==e?r.toggle():e&&r.setState(e)})}var n=function(e,i){this.$element=t(e),this.options=t.extend({},n.DEFAULTS,i),this.isLoading=!1};n.VERSION="3.2.0",n.DEFAULTS={loadingText:"loading..."},n.prototype.setState=function(e){var n="disabled",i=this.$element,r=i.is("input")?"val":"html",o=i.data();e+="Text",null==o.resetText&&i.data("resetText",i[r]()),i[r](null==o[e]?this.options[e]:o[e]),setTimeout(t.proxy(function(){"loadingText"==e?(this.isLoading=!0,i.addClass(n).attr(n,n)):this.isLoading&&(this.isLoading=!1,i.removeClass(n).removeAttr(n))},this),0)},n.prototype.toggle=function(){var t=!0,e=this.$element.closest('[data-toggle="buttons"]');if(e.length){var n=this.$element.find("input");"radio"==n.prop("type")&&(n.prop("checked")&&this.$element.hasClass("active")?t=!1:e.find(".active").removeClass("active")),t&&n.prop("checked",!this.$element.hasClass("active")).trigger("change")}t&&this.$element.toggleClass("active")};var i=t.fn.button;t.fn.button=e,t.fn.button.Constructor=n,t.fn.button.noConflict=function(){return t.fn.button=i,this},t(document).on("click.bs.button.data-api",'[data-toggle^="button"]',function(n){var i=t(n.target);i.hasClass("btn")||(i=i.closest(".btn")),e.call(i,"toggle"),n.preventDefault()})}(jQuery),/* ========================================================================
72 * Bootstrap: carousel.js v3.2.0
73 * http://getbootstrap.com/javascript/#carousel
74 * ========================================================================
75 * Copyright 2011-2014 Twitter, Inc.
76 * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
77 * ======================================================================== */
78+function(t){"use strict";function e(e){return this.each(function(){var i=t(this),r=i.data("bs.carousel"),o=t.extend({},n.DEFAULTS,i.data(),"object"==typeof e&&e),a="string"==typeof e?e:o.slide;r||i.data("bs.carousel",r=new n(this,o)),"number"==typeof e?r.to(e):a?r[a]():o.interval&&r.pause().cycle()})}var n=function(e,n){this.$element=t(e).on("keydown.bs.carousel",t.proxy(this.keydown,this)),this.$indicators=this.$element.find(".carousel-indicators"),this.options=n,this.paused=this.sliding=this.interval=this.$active=this.$items=null,"hover"==this.options.pause&&this.$element.on("mouseenter.bs.carousel",t.proxy(this.pause,this)).on("mouseleave.bs.carousel",t.proxy(this.cycle,this))};n.VERSION="3.2.0",n.DEFAULTS={interval:5e3,pause:"hover",wrap:!0},n.prototype.keydown=function(t){switch(t.which){case 37:this.prev();break;case 39:this.next();break;default:return}t.preventDefault()},n.prototype.cycle=function(e){return e||(this.paused=!1),this.interval&&clearInterval(this.interval),this.options.interval&&!this.paused&&(this.interval=setInterval(t.proxy(this.next,this),this.options.interval)),this},n.prototype.getItemIndex=function(t){return this.$items=t.parent().children(".item"),this.$items.index(t||this.$active)},n.prototype.to=function(e){var n=this,i=this.getItemIndex(this.$active=this.$element.find(".item.active"));return e>this.$items.length-1||0>e?void 0:this.sliding?this.$element.one("slid.bs.carousel",function(){n.to(e)}):i==e?this.pause().cycle():this.slide(e>i?"next":"prev",t(this.$items[e]))},n.prototype.pause=function(e){return e||(this.paused=!0),this.$element.find(".next, .prev").length&&t.support.transition&&(this.$element.trigger(t.support.transition.end),this.cycle(!0)),this.interval=clearInterval(this.interval),this},n.prototype.next=function(){return this.sliding?void 0:this.slide("next")},n.prototype.prev=function(){return this.sliding?void 0:this.slide("prev")},n.prototype.slide=function(e,n){var i=this.$element.find(".item.active"),r=n||i[e](),o=this.interval,a="next"==e?"left":"right",s="next"==e?"first":"last",l=this;if(!r.length){if(!this.options.wrap)return;r=this.$element.find(".item")[s]()}if(r.hasClass("active"))return this.sliding=!1;var u=r[0],c=t.Event("slide.bs.carousel",{relatedTarget:u,direction:a});if(this.$element.trigger(c),!c.isDefaultPrevented()){if(this.sliding=!0,o&&this.pause(),this.$indicators.length){this.$indicators.find(".active").removeClass("active");var d=t(this.$indicators.children()[this.getItemIndex(r)]);d&&d.addClass("active")}var p=t.Event("slid.bs.carousel",{relatedTarget:u,direction:a});return t.support.transition&&this.$element.hasClass("slide")?(r.addClass(e),r[0].offsetWidth,i.addClass(a),r.addClass(a),i.one("bsTransitionEnd",function(){r.removeClass([e,a].join(" ")).addClass("active"),i.removeClass(["active",a].join(" ")),l.sliding=!1,setTimeout(function(){l.$element.trigger(p)},0)}).emulateTransitionEnd(1e3*i.css("transition-duration").slice(0,-1))):(i.removeClass("active"),r.addClass("active"),this.sliding=!1,this.$element.trigger(p)),o&&this.cycle(),this}};var i=t.fn.carousel;t.fn.carousel=e,t.fn.carousel.Constructor=n,t.fn.carousel.noConflict=function(){return t.fn.carousel=i,this},t(document).on("click.bs.carousel.data-api","[data-slide], [data-slide-to]",function(n){var i,r=t(this),o=t(r.attr("data-target")||(i=r.attr("href"))&&i.replace(/.*(?=#[^\s]+$)/,""));if(o.hasClass("carousel")){var a=t.extend({},o.data(),r.data()),s=r.attr("data-slide-to");s&&(a.interval=!1),e.call(o,a),s&&o.data("bs.carousel").to(s),n.preventDefault()}}),t(window).on("load",function(){t('[data-ride="carousel"]').each(function(){var n=t(this);e.call(n,n.data())})})}(jQuery),/* ========================================================================
79 * Bootstrap: collapse.js v3.2.0
80 * http://getbootstrap.com/javascript/#collapse
81 * ========================================================================
82 * Copyright 2011-2014 Twitter, Inc.
83 * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
84 * ======================================================================== */
85+function(t){"use strict";function e(e){return this.each(function(){var i=t(this),r=i.data("bs.collapse"),o=t.extend({},n.DEFAULTS,i.data(),"object"==typeof e&&e);!r&&o.toggle&&"show"==e&&(e=!e),r||i.data("bs.collapse",r=new n(this,o)),"string"==typeof e&&r[e]()})}var n=function(e,i){this.$element=t(e),this.options=t.extend({},n.DEFAULTS,i),this.transitioning=null,this.options.parent&&(this.$parent=t(this.options.parent)),this.options.toggle&&this.toggle()};n.VERSION="3.2.0",n.DEFAULTS={toggle:!0},n.prototype.dimension=function(){var t=this.$element.hasClass("width");return t?"width":"height"},n.prototype.show=function(){if(!this.transitioning&&!this.$element.hasClass("in")){var n=t.Event("show.bs.collapse");if(this.$element.trigger(n),!n.isDefaultPrevented()){var i=this.$parent&&this.$parent.find("> .panel > .in");if(i&&i.length){var r=i.data("bs.collapse");if(r&&r.transitioning)return;e.call(i,"hide"),r||i.data("bs.collapse",null)}var o=this.dimension();this.$element.removeClass("collapse").addClass("collapsing")[o](0),this.transitioning=1;var a=function(){this.$element.removeClass("collapsing").addClass("collapse in")[o](""),this.transitioning=0,this.$element.trigger("shown.bs.collapse")};if(!t.support.transition)return a.call(this);var s=t.camelCase(["scroll",o].join("-"));this.$element.one("bsTransitionEnd",t.proxy(a,this)).emulateTransitionEnd(350)[o](this.$element[0][s])}}},n.prototype.hide=function(){if(!this.transitioning&&this.$element.hasClass("in")){var e=t.Event("hide.bs.collapse");if(this.$element.trigger(e),!e.isDefaultPrevented()){var n=this.dimension();this.$element[n](this.$element[n]())[0].offsetHeight,this.$element.addClass("collapsing").removeClass("collapse").removeClass("in"),this.transitioning=1;var i=function(){this.transitioning=0,this.$element.trigger("hidden.bs.collapse").removeClass("collapsing").addClass("collapse")};return t.support.transition?void this.$element[n](0).one("bsTransitionEnd",t.proxy(i,this)).emulateTransitionEnd(350):i.call(this)}}},n.prototype.toggle=function(){this[this.$element.hasClass("in")?"hide":"show"]()};var i=t.fn.collapse;t.fn.collapse=e,t.fn.collapse.Constructor=n,t.fn.collapse.noConflict=function(){return t.fn.collapse=i,this},t(document).on("click.bs.collapse.data-api",'[data-toggle="collapse"]',function(n){var i,r=t(this),o=r.attr("data-target")||n.preventDefault()||(i=r.attr("href"))&&i.replace(/.*(?=#[^\s]+$)/,""),a=t(o),s=a.data("bs.collapse"),l=s?"toggle":r.data(),u=r.attr("data-parent"),c=u&&t(u);s&&s.transitioning||(c&&c.find('[data-toggle="collapse"][data-parent="'+u+'"]').not(r).addClass("collapsed"),r[a.hasClass("in")?"addClass":"removeClass"]("collapsed")),e.call(a,l)})}(jQuery),/* ========================================================================
86 * Bootstrap: dropdown.js v3.2.0
87 * http://getbootstrap.com/javascript/#dropdowns
88 * ========================================================================
89 * Copyright 2011-2014 Twitter, Inc.
90 * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
91 * ======================================================================== */
92+function(t){"use strict";function e(e){e&&3===e.which||(t(r).remove(),t(o).each(function(){var i=n(t(this)),r={relatedTarget:this};i.hasClass("open")&&(i.trigger(e=t.Event("hide.bs.dropdown",r)),e.isDefaultPrevented()||i.removeClass("open").trigger("hidden.bs.dropdown",r))}))}function n(e){var n=e.attr("data-target");n||(n=e.attr("href"),n=n&&/#[A-Za-z]/.test(n)&&n.replace(/.*(?=#[^\s]*$)/,""));var i=n&&t(n);return i&&i.length?i:e.parent()}function i(e){return this.each(function(){var n=t(this),i=n.data("bs.dropdown");i||n.data("bs.dropdown",i=new a(this)),"string"==typeof e&&i[e].call(n)})}var r=".dropdown-backdrop",o='[data-toggle="dropdown"]',a=function(e){t(e).on("click.bs.dropdown",this.toggle)};a.VERSION="3.2.0",a.prototype.toggle=function(i){var r=t(this);if(!r.is(".disabled, :disabled")){var o=n(r),a=o.hasClass("open");if(e(),!a){"ontouchstart"in document.documentElement&&!o.closest(".navbar-nav").length&&t('<div class="dropdown-backdrop"/>').insertAfter(t(this)).on("click",e);var s={relatedTarget:this};if(o.trigger(i=t.Event("show.bs.dropdown",s)),i.isDefaultPrevented())return;r.trigger("focus"),o.toggleClass("open").trigger("shown.bs.dropdown",s)}return!1}},a.prototype.keydown=function(e){if(/(38|40|27)/.test(e.keyCode)){var i=t(this);if(e.preventDefault(),e.stopPropagation(),!i.is(".disabled, :disabled")){var r=n(i),a=r.hasClass("open");if(!a||a&&27==e.keyCode)return 27==e.which&&r.find(o).trigger("focus"),i.trigger("click");var s=" li:not(.divider):visible a",l=r.find('[role="menu"]'+s+', [role="listbox"]'+s);if(l.length){var u=l.index(l.filter(":focus"));38==e.keyCode&&u>0&&u--,40==e.keyCode&&u<l.length-1&&u++,~u||(u=0),l.eq(u).trigger("focus")}}}};var s=t.fn.dropdown;t.fn.dropdown=i,t.fn.dropdown.Constructor=a,t.fn.dropdown.noConflict=function(){return t.fn.dropdown=s,this},t(document).on("click.bs.dropdown.data-api",e).on("click.bs.dropdown.data-api",".dropdown form",function(t){t.stopPropagation()}).on("click.bs.dropdown.data-api",o,a.prototype.toggle).on("keydown.bs.dropdown.data-api",o+', [role="menu"], [role="listbox"]',a.prototype.keydown)}(jQuery),/* ========================================================================
93 * Bootstrap: tab.js v3.2.0
94 * http://getbootstrap.com/javascript/#tabs
95 * ========================================================================
96 * Copyright 2011-2014 Twitter, Inc.
97 * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
98 * ======================================================================== */
99+function(t){"use strict";function e(e){return this.each(function(){var i=t(this),r=i.data("bs.tab");r||i.data("bs.tab",r=new n(this)),"string"==typeof e&&r[e]()})}var n=function(e){this.element=t(e)};n.VERSION="3.2.0",n.prototype.show=function(){var e=this.element,n=e.closest("ul:not(.dropdown-menu)"),i=e.data("target");if(i||(i=e.attr("href"),i=i&&i.replace(/.*(?=#[^\s]*$)/,"")),!e.parent("li").hasClass("active")){var r=n.find(".active:last a")[0],o=t.Event("show.bs.tab",{relatedTarget:r});if(e.trigger(o),!o.isDefaultPrevented()){var a=t(i);this.activate(e.closest("li"),n),this.activate(a,a.parent(),function(){e.trigger({type:"shown.bs.tab",relatedTarget:r})})}}},n.prototype.activate=function(e,n,i){function r(){o.removeClass("active").find("> .dropdown-menu > .active").removeClass("active"),e.addClass("active"),a?(e[0].offsetWidth,e.addClass("in")):e.removeClass("fade"),e.parent(".dropdown-menu")&&e.closest("li.dropdown").addClass("active"),i&&i()}var o=n.find("> .active"),a=i&&t.support.transition&&o.hasClass("fade");a?o.one("bsTransitionEnd",r).emulateTransitionEnd(150):r(),o.removeClass("in")};var i=t.fn.tab;t.fn.tab=e,t.fn.tab.Constructor=n,t.fn.tab.noConflict=function(){return t.fn.tab=i,this},t(document).on("click.bs.tab.data-api",'[data-toggle="tab"], [data-toggle="pill"]',function(n){n.preventDefault(),e.call(t(this),"show")})}(jQuery),/* ========================================================================
100 * Bootstrap: transition.js v3.2.0
101 * http://getbootstrap.com/javascript/#transitions
102 * ========================================================================
103 * Copyright 2011-2014 Twitter, Inc.
104 * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
105 * ======================================================================== */
106+function(t){"use strict";function e(){var t=document.createElement("bootstrap"),e={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"};for(var n in e)if(void 0!==t.style[n])return{end:e[n]};return!1}t.fn.emulateTransitionEnd=function(e){var n=!1,i=this;t(this).one("bsTransitionEnd",function(){n=!0});var r=function(){n||t(i).trigger(t.support.transition.end)};return setTimeout(r,e),this},t(function(){t.support.transition=e(),t.support.transition&&(t.event.special.bsTransitionEnd={bindType:t.support.transition.end,delegateType:t.support.transition.end,handle:function(e){return t(e.target).is(this)?e.handleObj.handler.apply(this,arguments):void 0}})})}(jQuery),/* ========================================================================
107 * Bootstrap: scrollspy.js v3.2.0
108 * http://getbootstrap.com/javascript/#scrollspy
109 * ========================================================================
110 * Copyright 2011-2014 Twitter, Inc.
111 * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
112 * ======================================================================== */
113+function(t){"use strict";function e(n,i){var r=t.proxy(this.process,this);this.$body=t("body"),this.$scrollElement=t(t(n).is("body")?window:n),this.options=t.extend({},e.DEFAULTS,i),this.selector=(this.options.target||"")+" .nav li > a",this.offsets=[],this.targets=[],this.activeTarget=null,this.scrollHeight=0,this.$scrollElement.on("scroll.bs.scrollspy",r),this.refresh(),this.process()}function n(n){return this.each(function(){var i=t(this),r=i.data("bs.scrollspy"),o="object"==typeof n&&n;r||i.data("bs.scrollspy",r=new e(this,o)),"string"==typeof n&&r[n]()})}e.VERSION="3.2.0",e.DEFAULTS={offset:10},e.prototype.getScrollHeight=function(){return this.$scrollElement[0].scrollHeight||Math.max(this.$body[0].scrollHeight,document.documentElement.scrollHeight)},e.prototype.refresh=function(){var e="offset",n=0;t.isWindow(this.$scrollElement[0])||(e="position",n=this.$scrollElement.scrollTop()),this.offsets=[],this.targets=[],this.scrollHeight=this.getScrollHeight();var i=this;this.$body.find(this.selector).map(function(){var i=t(this),r=i.data("target")||i.attr("href"),o=/^#./.test(r)&&t(r);return o&&o.length&&o.is(":visible")&&[[o[e]().top+n,r]]||null}).sort(function(t,e){return t[0]-e[0]}).each(function(){i.offsets.push(this[0]),i.targets.push(this[1])})},e.prototype.process=function(){var t,e=this.$scrollElement.scrollTop()+this.options.offset,n=this.getScrollHeight(),i=this.options.offset+n-this.$scrollElement.height(),r=this.offsets,o=this.targets,a=this.activeTarget;if(this.scrollHeight!=n&&this.refresh(),e>=i)return a!=(t=o[o.length-1])&&this.activate(t);if(a&&e<=r[0])return a!=(t=o[0])&&this.activate(t);for(t=r.length;t--;)a!=o[t]&&e>=r[t]&&(!r[t+1]||e<=r[t+1])&&this.activate(o[t])},e.prototype.activate=function(e){this.activeTarget=e,t(this.selector).parentsUntil(this.options.target,".active").removeClass("active");var n=this.selector+'[data-target="'+e+'"],'+this.selector+'[href="'+e+'"]',i=t(n).parents("li").addClass("active");i.parent(".dropdown-menu").length&&(i=i.closest("li.dropdown").addClass("active")),i.trigger("activate.bs.scrollspy")};var i=t.fn.scrollspy;t.fn.scrollspy=n,t.fn.scrollspy.Constructor=e,t.fn.scrollspy.noConflict=function(){return t.fn.scrollspy=i,this},t(window).on("load.bs.scrollspy.data-api",function(){t('[data-spy="scroll"]').each(function(){var e=t(this);n.call(e,e.data())})})}(jQuery),/* ========================================================================
114 * Bootstrap: modal.js v3.2.0
115 * http://getbootstrap.com/javascript/#modals
116 * ========================================================================
117 * Copyright 2011-2014 Twitter, Inc.
118 * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
119 * ======================================================================== */
120+function(t){"use strict";function e(e,i){return this.each(function(){var r=t(this),o=r.data("bs.modal"),a=t.extend({},n.DEFAULTS,r.data(),"object"==typeof e&&e);o||r.data("bs.modal",o=new n(this,a)),"string"==typeof e?o[e](i):a.show&&o.show(i)})}var n=function(e,n){this.options=n,this.$body=t(document.body),this.$element=t(e),this.$backdrop=this.isShown=null,this.scrollbarWidth=0,this.options.remote&&this.$element.find(".modal-content").load(this.options.remote,t.proxy(function(){this.$element.trigger("loaded.bs.modal")},this))};n.VERSION="3.2.0",n.DEFAULTS={backdrop:!0,keyboard:!0,show:!0},n.prototype.toggle=function(t){return this.isShown?this.hide():this.show(t)},n.prototype.show=function(e){var n=this,i=t.Event("show.bs.modal",{relatedTarget:e});this.$element.trigger(i),this.isShown||i.isDefaultPrevented()||(this.isShown=!0,this.checkScrollbar(),this.$body.addClass("modal-open"),this.setScrollbar(),this.escape(),this.$element.on("click.dismiss.bs.modal",'[data-dismiss="modal"]',t.proxy(this.hide,this)),this.backdrop(function(){var i=t.support.transition&&n.$element.hasClass("fade");n.$element.parent().length||n.$element.appendTo(n.$body),n.$element.show().scrollTop(0),i&&n.$element[0].offsetWidth,n.$element.addClass("in").attr("aria-hidden",!1),n.enforceFocus();var r=t.Event("shown.bs.modal",{relatedTarget:e});i?n.$element.find(".modal-dialog").one("bsTransitionEnd",function(){n.$element.trigger("focus").trigger(r)}).emulateTransitionEnd(300):n.$element.trigger("focus").trigger(r)}))},n.prototype.hide=function(e){e&&e.preventDefault(),e=t.Event("hide.bs.modal"),this.$element.trigger(e),this.isShown&&!e.isDefaultPrevented()&&(this.isShown=!1,this.$body.removeClass("modal-open"),this.resetScrollbar(),this.escape(),t(document).off("focusin.bs.modal"),this.$element.removeClass("in").attr("aria-hidden",!0).off("click.dismiss.bs.modal"),t.support.transition&&this.$element.hasClass("fade")?this.$element.one("bsTransitionEnd",t.proxy(this.hideModal,this)).emulateTransitionEnd(300):this.hideModal())},n.prototype.enforceFocus=function(){t(document).off("focusin.bs.modal").on("focusin.bs.modal",t.proxy(function(t){this.$element[0]===t.target||this.$element.has(t.target).length||this.$element.trigger("focus")},this))},n.prototype.escape=function(){this.isShown&&this.options.keyboard?this.$element.on("keyup.dismiss.bs.modal",t.proxy(function(t){27==t.which&&this.hide()},this)):this.isShown||this.$element.off("keyup.dismiss.bs.modal")},n.prototype.hideModal=function(){var t=this;this.$element.hide(),this.backdrop(function(){t.$element.trigger("hidden.bs.modal")})},n.prototype.removeBackdrop=function(){this.$backdrop&&this.$backdrop.remove(),this.$backdrop=null},n.prototype.backdrop=function(e){var n=this,i=this.$element.hasClass("fade")?"fade":"";if(this.isShown&&this.options.backdrop){var r=t.support.transition&&i;if(this.$backdrop=t('<div class="modal-backdrop '+i+'" />').appendTo(this.$body),this.$element.on("click.dismiss.bs.modal",t.proxy(function(t){t.target===t.currentTarget&&("static"==this.options.backdrop?this.$element[0].focus.call(this.$element[0]):this.hide.call(this))},this)),r&&this.$backdrop[0].offsetWidth,this.$backdrop.addClass("in"),!e)return;r?this.$backdrop.one("bsTransitionEnd",e).emulateTransitionEnd(150):e()}else if(!this.isShown&&this.$backdrop){this.$backdrop.removeClass("in");var o=function(){n.removeBackdrop(),e&&e()};t.support.transition&&this.$element.hasClass("fade")?this.$backdrop.one("bsTransitionEnd",o).emulateTransitionEnd(150):o()}else e&&e()},n.prototype.checkScrollbar=function(){document.body.clientWidth>=window.innerWidth||(this.scrollbarWidth=this.scrollbarWidth||this.measureScrollbar())},n.prototype.setScrollbar=function(){var t=parseInt(this.$body.css("padding-right")||0,10);this.scrollbarWidth&&this.$body.css("padding-right",t+this.scrollbarWidth)},n.prototype.resetScrollbar=function(){this.$body.css("padding-right","")},n.prototype.measureScrollbar=function(){var t=document.createElement("div");t.className="modal-scrollbar-measure",this.$body.append(t);var e=t.offsetWidth-t.clientWidth;return this.$body[0].removeChild(t),e};var i=t.fn.modal;t.fn.modal=e,t.fn.modal.Constructor=n,t.fn.modal.noConflict=function(){return t.fn.modal=i,this},t(document).on("click.bs.modal.data-api",'[data-toggle="modal"]',function(n){var i=t(this),r=i.attr("href"),o=t(i.attr("data-target")||r&&r.replace(/.*(?=#[^\s]+$)/,"")),a=o.data("bs.modal")?"toggle":t.extend({remote:!/#/.test(r)&&r},o.data(),i.data());i.is("a")&&n.preventDefault(),o.one("show.bs.modal",function(t){t.isDefaultPrevented()||o.one("hidden.bs.modal",function(){i.is(":visible")&&i.trigger("focus")})}),e.call(o,a,this)})}(jQuery),/* ========================================================================
121 * Bootstrap: tooltip.js v3.2.0
122 * http://getbootstrap.com/javascript/#tooltip
123 * Inspired by the original jQuery.tipsy by Jason Frame
124 * ========================================================================
125 * Copyright 2011-2014 Twitter, Inc.
126 * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
127 * ======================================================================== */
128+function(t){"use strict";function e(e){return this.each(function(){var i=t(this),r=i.data("bs.tooltip"),o="object"==typeof e&&e;(r||"destroy"!=e)&&(r||i.data("bs.tooltip",r=new n(this,o)),"string"==typeof e&&r[e]())})}var n=function(t,e){this.type=this.options=this.enabled=this.timeout=this.hoverState=this.$element=null,this.init("tooltip",t,e)};n.VERSION="3.2.0",n.DEFAULTS={animation:!0,placement:"top",selector:!1,template:'<div class="tooltip" role="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>',trigger:"hover focus",title:"",delay:0,html:!1,container:!1,viewport:{selector:"body",padding:0}},n.prototype.init=function(e,n,i){this.enabled=!0,this.type=e,this.$element=t(n),this.options=this.getOptions(i),this.$viewport=this.options.viewport&&t(this.options.viewport.selector||this.options.viewport);for(var r=this.options.trigger.split(" "),o=r.length;o--;){var a=r[o];if("click"==a)this.$element.on("click."+this.type,this.options.selector,t.proxy(this.toggle,this));else if("manual"!=a){var s="hover"==a?"mouseenter":"focusin",l="hover"==a?"mouseleave":"focusout";this.$element.on(s+"."+this.type,this.options.selector,t.proxy(this.enter,this)),this.$element.on(l+"."+this.type,this.options.selector,t.proxy(this.leave,this))}}this.options.selector?this._options=t.extend({},this.options,{trigger:"manual",selector:""}):this.fixTitle()},n.prototype.getDefaults=function(){return n.DEFAULTS},n.prototype.getOptions=function(e){return e=t.extend({},this.getDefaults(),this.$element.data(),e),e.delay&&"number"==typeof e.delay&&(e.delay={show:e.delay,hide:e.delay}),e},n.prototype.getDelegateOptions=function(){var e={},n=this.getDefaults();return this._options&&t.each(this._options,function(t,i){n[t]!=i&&(e[t]=i)}),e},n.prototype.enter=function(e){var n=e instanceof this.constructor?e:t(e.currentTarget).data("bs."+this.type);return n||(n=new this.constructor(e.currentTarget,this.getDelegateOptions()),t(e.currentTarget).data("bs."+this.type,n)),clearTimeout(n.timeout),n.hoverState="in",n.options.delay&&n.options.delay.show?void(n.timeout=setTimeout(function(){"in"==n.hoverState&&n.show()},n.options.delay.show)):n.show()},n.prototype.leave=function(e){var n=e instanceof this.constructor?e:t(e.currentTarget).data("bs."+this.type);return n||(n=new this.constructor(e.currentTarget,this.getDelegateOptions()),t(e.currentTarget).data("bs."+this.type,n)),clearTimeout(n.timeout),n.hoverState="out",n.options.delay&&n.options.delay.hide?void(n.timeout=setTimeout(function(){"out"==n.hoverState&&n.hide()},n.options.delay.hide)):n.hide()},n.prototype.show=function(){var e=t.Event("show.bs."+this.type);if(this.hasContent()&&this.enabled){this.$element.trigger(e);var n=t.contains(document.documentElement,this.$element[0]);if(e.isDefaultPrevented()||!n)return;var i=this,r=this.tip(),o=this.getUID(this.type);this.setContent(),r.attr("id",o),this.$element.attr("aria-describedby",o),this.options.animation&&r.addClass("fade");var a="function"==typeof this.options.placement?this.options.placement.call(this,r[0],this.$element[0]):this.options.placement,s=/\s?auto?\s?/i,l=s.test(a);l&&(a=a.replace(s,"")||"top"),r.detach().css({top:0,left:0,display:"block"}).addClass(a).data("bs."+this.type,this),this.options.container?r.appendTo(this.options.container):r.insertAfter(this.$element);var u=this.getPosition(),c=r[0].offsetWidth,d=r[0].offsetHeight;if(l){var p=a,f=this.$element.parent(),h=this.getPosition(f);a="bottom"==a&&u.top+u.height+d-h.scroll>h.height?"top":"top"==a&&u.top-h.scroll-d<0?"bottom":"right"==a&&u.right+c>h.width?"left":"left"==a&&u.left-c<h.left?"right":a,r.removeClass(p).addClass(a)}var m=this.getCalculatedOffset(a,u,c,d);this.applyPlacement(m,a);var g=function(){i.$element.trigger("shown.bs."+i.type),i.hoverState=null};t.support.transition&&this.$tip.hasClass("fade")?r.one("bsTransitionEnd",g).emulateTransitionEnd(150):g()}},n.prototype.applyPlacement=function(e,n){var i=this.tip(),r=i[0].offsetWidth,o=i[0].offsetHeight,a=parseInt(i.css("margin-top"),10),s=parseInt(i.css("margin-left"),10);isNaN(a)&&(a=0),isNaN(s)&&(s=0),e.top=e.top+a,e.left=e.left+s,t.offset.setOffset(i[0],t.extend({using:function(t){i.css({top:Math.round(t.top),left:Math.round(t.left)})}},e),0),i.addClass("in");var l=i[0].offsetWidth,u=i[0].offsetHeight;"top"==n&&u!=o&&(e.top=e.top+o-u);var c=this.getViewportAdjustedDelta(n,e,l,u);c.left?e.left+=c.left:e.top+=c.top;var d=c.left?2*c.left-r+l:2*c.top-o+u,p=c.left?"left":"top",f=c.left?"offsetWidth":"offsetHeight";i.offset(e),this.replaceArrow(d,i[0][f],p)},n.prototype.replaceArrow=function(t,e,n){this.arrow().css(n,t?50*(1-t/e)+"%":"")},n.prototype.setContent=function(){var t=this.tip(),e=this.getTitle();t.find(".tooltip-inner")[this.options.html?"html":"text"](e),t.removeClass("fade in top bottom left right")},n.prototype.hide=function(){function e(){"in"!=n.hoverState&&i.detach(),n.$element.trigger("hidden.bs."+n.type)}var n=this,i=this.tip(),r=t.Event("hide.bs."+this.type);return this.$element.removeAttr("aria-describedby"),this.$element.trigger(r),r.isDefaultPrevented()?void 0:(i.removeClass("in"),t.support.transition&&this.$tip.hasClass("fade")?i.one("bsTransitionEnd",e).emulateTransitionEnd(150):e(),this.hoverState=null,this)},n.prototype.fixTitle=function(){var t=this.$element;(t.attr("title")||"string"!=typeof t.attr("data-original-title"))&&t.attr("data-original-title",t.attr("title")||"").attr("title","")},n.prototype.hasContent=function(){return this.getTitle()},n.prototype.getPosition=function(e){e=e||this.$element;var n=e[0],i="BODY"==n.tagName;return t.extend({},"function"==typeof n.getBoundingClientRect?n.getBoundingClientRect():null,{scroll:i?document.documentElement.scrollTop||document.body.scrollTop:e.scrollTop(),width:i?t(window).width():e.outerWidth(),height:i?t(window).height():e.outerHeight()},i?{top:0,left:0}:e.offset())},n.prototype.getCalculatedOffset=function(t,e,n,i){return"bottom"==t?{top:e.top+e.height,left:e.left+e.width/2-n/2}:"top"==t?{top:e.top-i,left:e.left+e.width/2-n/2}:"left"==t?{top:e.top+e.height/2-i/2,left:e.left-n}:{top:e.top+e.height/2-i/2,left:e.left+e.width}},n.prototype.getViewportAdjustedDelta=function(t,e,n,i){var r={top:0,left:0};if(!this.$viewport)return r;var o=this.options.viewport&&this.options.viewport.padding||0,a=this.getPosition(this.$viewport);if(/right|left/.test(t)){var s=e.top-o-a.scroll,l=e.top+o-a.scroll+i;s<a.top?r.top=a.top-s:l>a.top+a.height&&(r.top=a.top+a.height-l)}else{var u=e.left-o,c=e.left+o+n;u<a.left?r.left=a.left-u:c>a.width&&(r.left=a.left+a.width-c)}return r},n.prototype.getTitle=function(){var t,e=this.$element,n=this.options;return t=e.attr("data-original-title")||("function"==typeof n.title?n.title.call(e[0]):n.title)},n.prototype.getUID=function(t){do t+=~~(1e6*Math.random());while(document.getElementById(t));return t},n.prototype.tip=function(){return this.$tip=this.$tip||t(this.options.template)},n.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".tooltip-arrow")},n.prototype.validate=function(){this.$element[0].parentNode||(this.hide(),this.$element=null,this.options=null)},n.prototype.enable=function(){this.enabled=!0},n.prototype.disable=function(){this.enabled=!1},n.prototype.toggleEnabled=function(){this.enabled=!this.enabled},n.prototype.toggle=function(e){var n=this;e&&(n=t(e.currentTarget).data("bs."+this.type),n||(n=new this.constructor(e.currentTarget,this.getDelegateOptions()),t(e.currentTarget).data("bs."+this.type,n))),n.tip().hasClass("in")?n.leave(n):n.enter(n)},n.prototype.destroy=function(){clearTimeout(this.timeout),this.hide().$element.off("."+this.type).removeData("bs."+this.type)};var i=t.fn.tooltip;t.fn.tooltip=e,t.fn.tooltip.Constructor=n,t.fn.tooltip.noConflict=function(){return t.fn.tooltip=i,this}}(jQuery),/* ========================================================================
129 * Bootstrap: popover.js v3.2.0
130 * http://getbootstrap.com/javascript/#popovers
131 * ========================================================================
132 * Copyright 2011-2014 Twitter, Inc.
133 * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
134 * ======================================================================== */
135+function(t){"use strict";function e(e){return this.each(function(){var i=t(this),r=i.data("bs.popover"),o="object"==typeof e&&e;(r||"destroy"!=e)&&(r||i.data("bs.popover",r=new n(this,o)),"string"==typeof e&&r[e]())})}var n=function(t,e){this.init("popover",t,e)};if(!t.fn.tooltip)throw new Error("Popover requires tooltip.js");n.VERSION="3.2.0",n.DEFAULTS=t.extend({},t.fn.tooltip.Constructor.DEFAULTS,{placement:"right",trigger:"click",content:"",template:'<div class="popover" role="tooltip"><div class="arrow"></div><h3 class="popover-title"></h3><div class="popover-content"></div></div>'}),n.prototype=t.extend({},t.fn.tooltip.Constructor.prototype),n.prototype.constructor=n,n.prototype.getDefaults=function(){return n.DEFAULTS},n.prototype.setContent=function(){var t=this.tip(),e=this.getTitle(),n=this.getContent();t.find(".popover-title")[this.options.html?"html":"text"](e),t.find(".popover-content").empty()[this.options.html?"string"==typeof n?"html":"append":"text"](n),t.removeClass("fade top bottom left right in"),t.find(".popover-title").html()||t.find(".popover-title").hide()},n.prototype.hasContent=function(){return this.getTitle()||this.getContent()},n.prototype.getContent=function(){var t=this.$element,e=this.options;return t.attr("data-content")||("function"==typeof e.content?e.content.call(t[0]):e.content)},n.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".arrow")},n.prototype.tip=function(){return this.$tip||(this.$tip=t(this.options.template)),this.$tip};var i=t.fn.popover;t.fn.popover=e,t.fn.popover.Constructor=n,t.fn.popover.noConflict=function(){return t.fn.popover=i,this}}(jQuery),/*
136 * jQuery FlexSlider v2.2.0
137 * Copyright 2012 WooThemes
138 * Contributing Author: Tyler Smith
139 */
140function(t){t.flexslider=function(e,n){var i=t(e);i.vars=t.extend({},t.flexslider.defaults,n);var r,o=i.vars.namespace,a=window.navigator&&window.navigator.msPointerEnabled&&window.MSGesture,s=("ontouchstart"in window||a||window.DocumentTouch&&document instanceof DocumentTouch)&&i.vars.touch,l="click touchend MSPointerUp",u="",c="vertical"===i.vars.direction,d=i.vars.reverse,p=i.vars.itemWidth>0,f="fade"===i.vars.animation,h=""!==i.vars.asNavFor,m={},g=!0;t.data(e,"flexslider",i),m={init:function(){i.animating=!1,i.currentSlide=parseInt(i.vars.startAt?i.vars.startAt:0),isNaN(i.currentSlide)&&(i.currentSlide=0),i.animatingTo=i.currentSlide,i.atEnd=0===i.currentSlide||i.currentSlide===i.last,i.containerSelector=i.vars.selector.substr(0,i.vars.selector.search(" ")),i.slides=t(i.vars.selector,i),i.container=t(i.containerSelector,i),i.count=i.slides.length,i.syncExists=t(i.vars.sync).length>0,"slide"===i.vars.animation&&(i.vars.animation="swing"),i.prop=c?"top":"marginLeft",i.args={},i.manualPause=!1,i.stopped=!1,i.started=!1,i.startTimeout=null,i.transitions=!i.vars.video&&!f&&i.vars.useCSS&&function(){var t=document.createElement("div"),e=["perspectiveProperty","WebkitPerspective","MozPerspective","OPerspective","msPerspective"];for(var n in e)if(void 0!==t.style[e[n]])return i.pfx=e[n].replace("Perspective","").toLowerCase(),i.prop="-"+i.pfx+"-transform",!0;return!1}
vendor: 11,528 bytes, line 140
140(),""!==i.vars.controlsContainer&&(i.controlsContainer=t(i.vars.controlsContainer).length>0&&t(i.vars.controlsContainer)),""!==i.vars.manualControls&&(i.manualControls=t(i.vars.manualControls).length>0&&t(i.vars.manualControls)),i.vars.randomize&&(i.slides.sort(function(){return Math.round(Math.random())-.5}),i.container.empty().append(i.slides)),i.doMath(),i.setup("init"),i.vars.controlNav&&m.controlNav.setup(),i.vars.directionNav&&m.directionNav.setup(),i.vars.keyboard&&(1===t(i.containerSelector).length||i.vars.multipleKeyboard)&&t(document).bind("keyup",function(t){var e=t.keyCode;if(!i.animating&&(39===e||37===e)){var n=39===e?i.getTarget("next"):37===e?i.getTarget("prev"):!1;i.flexAnimate(n,i.vars.pauseOnAction)}}),i.vars.mousewheel&&i.bind("mousewheel",function(t,e){t.preventDefault();var n=0>e?i.getTarget("next"):i.getTarget("prev");i.flexAnimate(n,i.vars.pauseOnAction)}),i.vars.pausePlay&&m.pausePlay.setup(),i.vars.slideshow&&i.vars.pauseInvisible&&m.pauseInvisible.init(),i.vars.slideshow&&(i.vars.pauseOnHover&&i.hover(function(){i.manualPlay||i.manualPause||i.pause()},function(){i.manualPause||i.manualPlay||i.stopped||i.play()}),i.vars.pauseInvisible&&m.pauseInvisible.isHidden()||(i.vars.initDelay>0?i.startTimeout=setTimeout(i.play,i.vars.initDelay):i.play())),h&&m.asNav.setup(),s&&i.vars.touch&&m.touch(),(!f||f&&i.vars.smoothHeight)&&t(window).bind("resize orientationchange focus",m.resize),i.find("img").attr("draggable","false"),setTimeout(function(){i.vars.start(i)},200)},asNav:{setup:function(){i.asNav=!0,i.animatingTo=Math.floor(i.currentSlide/i.move),i.currentItem=i.currentSlide,i.slides.removeClass(o+"active-slide").eq(i.currentItem).addClass(o+"active-slide"),a?(e._slider=i,i.slides.each(function(){var e=this;e._gesture=new MSGesture,e._gesture.target=e,e.addEventListener("MSPointerDown",function(t){t.preventDefault(),t.currentTarget._gesture&&t.currentTarget._gesture.addPointer(t.pointerId)},!1),e.addEventListener("MSGestureTap",function(e){e.preventDefault();var n=t(this),r=n.index();t(i.vars.asNavFor).data("flexslider").animating||n.hasClass("active")||(i.direction=i.currentItem<r?"next":"prev",i.flexAnimate(r,i.vars.pauseOnAction,!1,!0,!0))})})):i.slides.click(function(e){e.preventDefault();var n=t(this),r=n.index(),a=n.offset().left-t(i).scrollLeft();0>=a&&n.hasClass(o+"active-slide")?i.flexAnimate(i.getTarget("prev"),!0):t(i.vars.asNavFor).data("flexslider").animating||n.hasClass(o+"active-slide")||(i.direction=i.currentItem<r?"next":"prev",i.flexAnimate(r,i.vars.pauseOnAction,!1,!0,!0))})}},controlNav:{setup:function(){i.manualControls?m.controlNav.setupManual():m.controlNav.setupPaging()},setupPaging:function(){var e,n,r="thumbnails"===i.vars.controlNav?"control-thumbs":"control-paging",a=1;if(i.controlNavScaffold=t('<ol class="'+o+"control-nav "+o+r+'"></ol>'),i.pagingCount>1)for(var s=0;s<i.pagingCount;s++){if(n=i.slides.eq(s),e="thumbnails"===i.vars.controlNav?'<img src="'+n.attr("data-thumb")+'"/>':"<a>"+a+"</a>","thumbnails"===i.vars.controlNav&&!0===i.vars.thumbCaptions){var c=n.attr("data-thumbcaption");""!=c&&void 0!=c&&(e+='<span class="'+o+'caption">'+c+"</span>")}i.controlNavScaffold.append("<li>"+e+"</li>"),a++}i.controlsContainer?t(i.controlsContainer).append(i.controlNavScaffold):i.append(i.controlNavScaffold),m.controlNav.set(),m.controlNav.active(),i.controlNavScaffold.delegate("a, img",l,function(e){if(e.preventDefault(),""===u||u===e.type){var n=t(this),r=i.controlNav.index(n);n.hasClass(o+"active")||(i.direction=r>i.currentSlide?"next":"prev",i.flexAnimate(r,i.vars.pauseOnAction))}""===u&&(u=e.type),m.setToClearWatchedEvent()})},setupManual:function(){i.controlNav=i.manualControls,m.controlNav.active(),i.controlNav.bind(l,function(e){if(e.preventDefault(),""===u||u===e.type){var n=t(this),r=i.controlNav.index(n);n.hasClass(o+"active")||(r>i.currentSlide?i.direction="next":i.direction="prev",i.flexAnimate(r,i.vars.pauseOnAction))}""===u&&(u=e.type),m.setToClearWatchedEvent()})},set:function(){var e="thumbnails"===i.vars.controlNav?"img":"a";i.controlNav=t("."+o+"control-nav li "+e,i.controlsContainer?i.controlsContainer:i)},active:function(){i.controlNav.removeClass(o+"active").eq(i.animatingTo).addClass(o+"active")},update:function(e,n){i.pagingCount>1&&"add"===e?i.controlNavScaffold.append(t("<li><a>"+i.count+"</a></li>")):1===i.pagingCount?i.controlNavScaffold.find("li").remove():i.controlNav.eq(n).closest("li").remove(),m.controlNav.set(),i.pagingCount>1&&i.pagingCount!==i.controlNav.length?i.update(n,e):m.controlNav.active()}},directionNav:{setup:function(){var e=t('<ul class="'+o+'direction-nav"><li><a class="'+o+'prev" href="#">'+i.vars.prevText+'</a></li><li><a class="'+o+'next" href="#">'+i.vars.nextText+"</a></li></ul>");i.controlsContainer?(t(i.controlsContainer).append(e),i.directionNav=t("."+o+"direction-nav li a",i.controlsContainer)):(i.append(e),i.directionNav=t("."+o+"direction-nav li a",i)),m.directionNav.update(),i.directionNav.bind(l,function(e){e.preventDefault();var n;""!==u&&u!==e.type||(n=t(this).hasClass(o+"next")?i.getTarget("next"):i.getTarget("prev"),i.flexAnimate(n,i.vars.pauseOnAction)),""===u&&(u=e.type),m.setToClearWatchedEvent()})},update:function(){var t=o+"disabled";1===i.pagingCount?i.directionNav.addClass(t).attr("tabindex","-1"):i.vars.animationLoop?i.directionNav.removeClass(t).removeAttr("tabindex"):0===i.animatingTo?i.directionNav.removeClass(t).filter("."+o+"prev").addClass(t).attr("tabindex","-1"):i.animatingTo===i.last?i.directionNav.removeClass(t).filter("."+o+"next").addClass(t).attr("tabindex","-1"):i.directionNav.removeClass(t).removeAttr("tabindex")}},pausePlay:{setup:function(){var e=t('<div class="'+o+'pauseplay"><a></a></div>');i.controlsContainer?(i.controlsContainer.append(e),i.pausePlay=t("."+o+"pauseplay a",i.controlsContainer)):(i.append(e),i.pausePlay=t("."+o+"pauseplay a",i)),m.pausePlay.update(i.vars.slideshow?o+"pause":o+"play"),i.pausePlay.bind(l,function(e){e.preventDefault(),""!==u&&u!==e.type||(t(this).hasClass(o+"pause")?(i.manualPause=!0,i.manualPlay=!1,i.pause()):(i.manualPause=!1,i.manualPlay=!0,i.play())),""===u&&(u=e.type),m.setToClearWatchedEvent()})},update:function(t){"play"===t?i.pausePlay.removeClass(o+"pause").addClass(o+"play").html(i.vars.playText):i.pausePlay.removeClass(o+"play").addClass(o+"pause").html(i.vars.pauseText)}},touch:function(){function t(t){i.animating?t.preventDefault():(window.navigator.msPointerEnabled||1===t.touches.length)&&(i.pause(),g=c?i.h:i.w,y=Number(new Date),w=t.touches[0].pageX,x=t.touches[0].pageY,m=p&&d&&i.animatingTo===i.last?0:p&&d?i.limit-(i.itemW+i.vars.itemMargin)*i.move*i.animatingTo:p&&i.currentSlide===i.last?i.limit:p?(i.itemW+i.vars.itemMargin)*i.move*i.currentSlide:d?(i.last-i.currentSlide+i.cloneOffset)*g:(i.currentSlide+i.cloneOffset)*g,u=c?x:w,h=c?w:x,e.addEventListener("touchmove",n,!1),e.addEventListener("touchend",r,!1))}function n(t){w=t.touches[0].pageX,x=t.touches[0].pageY,v=c?u-x:u-w,b=c?Math.abs(v)<Math.abs(w-h):Math.abs(v)<Math.abs(x-h);var e=500;(!b||Number(new Date)-y>e)&&(t.preventDefault(),!f&&i.transitions&&(i.vars.animationLoop||(v/=0===i.currentSlide&&0>v||i.currentSlide===i.last&&v>0?Math.abs(v)/g+2:1),i.setProps(m+v,"setTouch")))}function r(){if(e.removeEventListener("touchmove",n,!1),i.animatingTo===i.currentSlide&&!b&&null!==v){var t=d?-v:v,o=t>0?i.getTarget("next"):i.getTarget("prev");i.canAdvance(o)&&(Number(new Date)-y<550&&Math.abs(t)>50||Math.abs(t)>g/2)?i.flexAnimate(o,i.vars.pauseOnAction):f||i.flexAnimate(i.currentSlide,i.vars.pauseOnAction,!0)}e.removeEventListener("touchend",r,!1),u=null,h=null,v=null,m=null}function o(t){t.stopPropagation(),i.animating?t.preventDefault():(i.pause(),e._gesture.addPointer(t.pointerId),C=0,g=c?i.h:i.w,y=Number(new Date),m=p&&d&&i.animatingTo===i.last?0:p&&d?i.limit-(i.itemW+i.vars.itemMargin)*i.move*i.animatingTo:p&&i.currentSlide===i.last?i.limit:p?(i.itemW+i.vars.itemMargin)*i.move*i.currentSlide:d?(i.last-i.currentSlide+i.cloneOffset)*g:(i.currentSlide+i.cloneOffset)*g)}function s(t){t.stopPropagation();var n=t.target._slider;if(n){var i=-t.translationX,r=-t.translationY;return C+=c?r:i,v=C,b=c?Math.abs(C)<Math.abs(-i):Math.abs(C)<Math.abs(-r),t.detail===t.MSGESTURE_FLAG_INERTIA?void setImmediate(function(){e._gesture.stop()}):void((!b||Number(new Date)-y>500)&&(t.preventDefault(),!f&&n.transitions&&(n.vars.animationLoop||(v=C/(0===n.currentSlide&&0>C||n.currentSlide===n.last&&C>0?Math.abs(C)/g+2:1)),n.setProps(m+v,"setTouch"))))}}function l(t){t.stopPropagation();var e=t.target._slider;if(e){if(e.animatingTo===e.currentSlide&&!b&&null!==v){var n=d?-v:v,i=n>0?e.getTarget("next"):e.getTarget("prev");e.canAdvance(i)&&(Number(new Date)-y<550&&Math.abs(n)>50||Math.abs(n)>g/2)?e.flexAnimate(i,e.vars.pauseOnAction):f||e.flexAnimate(e.currentSlide,e.vars.pauseOnAction,!0)}u=null,h=null,v=null,m=null,C=0}}var u,h,m,g,v,y,b=!1,w=0,x=0,C=0;a?(e.style.msTouchAction="none",e._gesture=new MSGesture,e._gesture.target=e,e.addEventListener("MSPointerDown",o,!1),e._slider=i,e.addEventListener("MSGestureChange",s,!1),e.addEventListener("MSGestureEnd",l,!1)):e.addEventListener("touchstart",t,!1)},resize:function(){!i.animating&&i.is(":visible")&&(p||i.doMath(),f?m.smoothHeight():p?(i.slides.width(i.computedW),i.update(i.pagingCount),i.setProps()):c?(i.viewport.height(i.h),i.setProps(i.h,"setTotal")):(i.vars.smoothHeight&&m.smoothHeight(),i.newSlides.width(i.computedW),i.setProps(i.computedW,"setTotal")))},smoothHeight:function(t){if(!c||f){var e=f?i:i.viewport;t?e.animate({height:i.slides.eq(i.animatingTo).height()},t):e.height(i.slides.eq(i.animatingTo).height())}},sync:function(e){var n=t(i.vars.sync).data("flexslider"),r=i.animatingTo;switch(e){case"animate":n.flexAnimate(r,i.vars.pauseOnAction,!1,!0);break;case"play":n.playing||n.asNav||n.play();break;case"pause":n.pause()}},pauseInvisible:{visProp:null,init:function(){var t=["webkit","moz","ms","o"];if("hidden"in document)return"hidden";for(var e=0;e<t.length;e++)t[e]+"Hidden"in document&&(m.pauseInvisible.visProp=t[e]+"Hidden");if(m.pauseInvisible.visProp){var n=m.pauseInvisible.visProp.replace(/[H|h]idden/,"")+"visibilitychange";document.addEventListener(n,function(){m.pauseInvisible.isHidden()?i.startTimeout?clearTimeout(i.startTimeout):i.pause():i.started?i.play():i.vars.initDelay>0?setTimeout(i.play,i.vars.initDelay):i.play()})}},isHidden:function(){return document[m.pauseInvisible.visProp]||!1}},setToClearWatchedEvent:function(){clearTimeout(r),r=setTimeout(function(){u=""},3e3)}},i.flexAnimate=function(e,n,r,a,l){if(i.vars.animationLoop||e===i.currentSlide||(i.direction=e>i.currentSlide?"next":"prev"),h&&1===i.pagingCount&&(i.direction=i.currentItem<e?"next":"prev"),!i.animating&&(i.canAdvance(e,l)||r)&&i.is(":visible")){if(h&&a){var u=t(i.vars.asNavFor).data("flexslider");if(i.atEnd=0===e||e===i.count-1,u.flexAnimate(e,!0,!1,!0,l),i.direction=i.currentItem<e?"next":"prev",u.direction=i.direction,Math.ceil((e+1)/i.visible)-1===i.currentSlide||0===e)return i.currentItem=e,i.slides.removeClass(o+"active-slide").eq(e).addClass(o+"active-slide"),!1;i.currentItem=e,i.slides.removeClass(o+"active-slide").eq(e).addClass(o+"active-slide"),e=Math.floor(e/i.visible)}if(i.animating=!0,i.animatingTo=e,n&&i.pause(),i.vars.before(i),i.syncExists&&!l&&m.sync("animate"),i.vars.controlNav&&m.controlNav.active(),p||i.slides.removeClass(o+"active-slide").eq(e).addClass(o+"active-slide"),i.atEnd=0===e||e===i.last,i.vars.directionNav&&m.directionNav.update(
140),e===i.last&&(i.vars.end(i),i.vars.animationLoop||i.pause()),f)s?(i.slides.eq(i.currentSlide).css({opacity:0,zIndex:1}),i.slides.eq(e).css({opacity:1,zIndex:2}),i.wrapup(b)):(i.slides.eq(i.currentSlide).css({zIndex:1}).animate({opacity:0},i.vars.animationSpeed,i.vars.easing),i.slides.eq(e).css({zIndex:2}).animate({opacity:1},i.vars.animationSpeed,i.vars.easing,i.wrapup));else{var g,v,y,b=c?i.slides.filter(":first").height():i.computedW,w=!1;p?(g=i.vars.itemMargin,y=(i.itemW+g)*i.move*i.animatingTo,v=y>i.limit&&1!==i.visible?i.limit:y):v=0===i.currentSlide&&e===i.count-1&&i.vars.animationLoop&&"next"!==i.direction?d?(i.count+i.cloneOffset)*b:0:i.currentSlide===i.last&&0===e&&i.vars.animationLoop&&"prev"!==i.direction?d?0:(i.count+1)*b:d?(i.count-1-e+i.cloneOffset)*b:(e+i.cloneOffset)*b,i.setProps(v,"",i.vars.animationSpeed),i.transitions?(i.vars.animationLoop&&i.atEnd||(i.animating=!1,i.currentSlide=i.animatingTo),i.container.one("webkitTransitionEnd transitionend",function(){w=!0,i.wrapup(b)}),setTimeout(function(){w||(i.container.trigger("webkitTransitionEnd"),i.container.trigger("transitionend"))},i.vars.animationSpeed+200)):i.container.animate(i.args,i.vars.animationSpeed,i.vars.easing,function(){i.wrapup(b)})}i.vars.smoothHeight&&m.smoothHeight(i.vars.animationSpeed)}},i.wrapup=function(t){f||p||(0===i.currentSlide&&i.animatingTo===i.last&&i.vars.animationLoop?i.setProps(t,"jumpEnd"):i.currentSlide===i.last&&0===i.animatingTo&&i.vars.animationLoop&&i.setProps(t,"jumpStart")),i.animating=!1,i.currentSlide=i.animatingTo,i.vars.after(i)},i.animateSlides=function(){!i.animating&&g&&i.flexAnimate(i.getTarget("next"))},i.pause=function(){clearInterval(i.animatedSlides),i.animatedSlides=null,i.playing=!1,i.vars.pausePlay&&m.pausePlay.update("play"),i.syncExists&&m.sync("pause")},i.play=function(){i.playing&&clearInterval(i.animatedSlides),i.animatedSlides=i.animatedSlides||setInterval(i.animateSlides,i.vars.slideshowSpeed),i.started=i.playing=!0,i.vars.pausePlay&&m.pausePlay.update("pause"),i.syncExists&&m.sync("play")},i.stop=function(){i.pause(),i.stopped=!0},i.canAdvance=function(t,e){var n=h?i.pagingCount-1:i.last;return e?!0:h&&i.currentItem===i.count-1&&0===t&&"prev"===i.direction?!0:h&&0===i.currentItem&&t===i.pagingCount-1&&"next"!==i.direction?!1:t!==i.currentSlide||h?i.vars.animationLoop?!0:i.atEnd&&0===i.currentSlide&&t===n&&"next"!==i.direction?!1:!i.atEnd||i.currentSlide!==n||0!==t||"next"!==i.direction:!1},i.getTarget=function(t){return i.direction=t,"next"===t?i.currentSlide===i.last?0:i.currentSlide+1:0===i.currentSlide?i.last:i.currentSlide-1},i.setProps=function(t,e,n){var r=function(){var n=t?t:(i.itemW+i.vars.itemMargin)*i.move*i.animatingTo,r=function(){if(p)return"setTouch"===e?t:d&&i.animatingTo===i.last?0:d?i.limit-(i.itemW+i.vars.itemMargin)*i.move*i.animatingTo:i.animatingTo===i.last?i.limit:n;switch(e){case"setTotal":return d?(i.count-1-i.currentSlide+i.cloneOffset)*t:(i.currentSlide+i.cloneOffset)*t;case"setTouch":return d?t:t;case"jumpEnd":return d?t:i.count*t;case"jumpStart":return d?i.count*t:t;default:return t}}();return-1*r+"px"}();i.transitions&&(r=c?"translate3d(0,"+r+",0)":"translate3d("+r+",0,0)",n=void 0!==n?n/1e3+"s":"0s",i.container.css("-"+i.pfx+"-transition-duration",n)),i.args[i.prop]=r,(i.transitions||void 0===n)&&i.container.css(i.args)},i.setup=function(e){if(f)i.slides.css({width:"100%","float":"left",marginRight:"-100%",position:"relative"}),"init"===e&&(s?i.slides.css({opacity:0,display:"block",webkitTransition:"opacity "+i.vars.animationSpeed/1e3+"s ease",zIndex:1}).eq(i.currentSlide).css({opacity:1,zIndex:2}):i.slides.css({opacity:0,display:"block",zIndex:1}).eq(i.currentSlide).css({zIndex:2}).animate({opacity:1},i.vars.animationSpeed,i.vars.easing)),i.vars.smoothHeight&&m.smoothHeight();else{var n,r;"init"===e&&(i.viewport=t('<div class="'+o+'viewport"></div>').css({overflow:"hidden",position:"relative"}).appendTo(i).append(i.container),i.cloneCount=0,i.cloneOffset=0,d&&(r=t.makeArray(i.slides).reverse(),i.slides=t(r),i.container.empty().append(i.slides))),i.vars.animationLoop&&!p&&(i.cloneCount=2,i.cloneOffset=1,"init"!==e&&i.container.find(".clone").remove(),i.container.append(i.slides.first().clone().addClass("clone").attr("aria-hidden","true")).prepend(i.slides.last().clone().addClass("clone").attr("aria-hidden","true"))),i.newSlides=t(i.vars.selector,i),n=d?i.count-1-i.currentSlide+i.cloneOffset:i.currentSlide+i.cloneOffset,c&&!p?(i.container.height(200*(i.count+i.cloneCount)+"%").css("position","absolute").width("100%"),setTimeout(function(){i.newSlides.css({display:"block"}),i.doMath(),i.viewport.height(i.h),i.setProps(n*i.h,"init")},"init"===e?100:0)):(i.container.width(200*(i.count+i.cloneCount)+"%"),i.setProps(n*i.computedW,"init"),setTimeout(function(){i.doMath(),i.newSlides.css({width:i.computedW,"float":"left",display:"block"}),i.vars.smoothHeight&&m.smoothHeight()},"init"===e?100:0))}p||i.slides.removeClass(o+"active-slide").eq(i.currentSlide).addClass(o+"active-slide")},i.doMath=function(){var t=i.slides.first(),e=i.vars.itemMargin,n=i.vars.minItems,r=i.vars.maxItems;i.w=void 0===i.viewport?i.width():i.viewport.width(),i.h=t.height(),i.boxPadding=t.outerWidth()-t.width(),p?(i.itemT=i.vars.itemWidth+e,i.minW=n?n*i.itemT:i.w,i.maxW=r?r*i.itemT-e:i.w,i.itemW=i.minW>i.w?(i.w-e*(n-1))/n:i.maxW<i.w?(i.w-e*(r-1))/r:i.vars.itemWidth>i.w?i.w:i.vars.itemWidth,i.visible=Math.floor(i.w/i.itemW),i.move=i.vars.move>0&&i.vars.move<i.visible?i.vars.move:i.visible,i.pagingCount=Math.ceil((i.count-i.visible)/i.move+1),i.last=i.pagingCount-1,i.limit=1===i.pagingCount?0:i.vars.itemWidth>i.w?i.itemW*(i.count-1)+e*(i.count-1):(i.itemW+e)*i.count-i.w-e):(i.itemW=i.w,i.pagingCount=i.count,i.last=i.count-1),i.computedW=i.itemW-i.boxPadding}
140,i.update=function(t,e){i.doMath(),p||(t<i.currentSlide?i.currentSlide+=1:t<=i.currentSlide&&0!==t&&(i.currentSlide-=1),i.animatingTo=i.currentSlide),i.vars.controlNav&&!i.manualControls&&("add"===e&&!p||i.pagingCount>i.controlNav.length?m.controlNav.update("add"):("remove"===e&&!p||i.pagingCount<i.controlNav.length)&&(p&&i.currentSlide>i.last&&(i.currentSlide-=1,i.animatingTo-=1),m.controlNav.update("remove",i.last))),i.vars.directionNav&&m.directionNav.update()},i.addSlide=function(e,n){var r=t(e);i.count+=1,i.last=i.count-1,c&&d?void 0!==n?i.slides.eq(i.count-n).after(r):i.container.prepend(r):void 0!==n?i.slides.eq(n).before(r):i.container.append(r),i.update(n,"add"),i.slides=t(i.vars.selector+":not(.clone)",i),i.setup(),i.vars.added(i)},i.removeSlide=function(e){var n=isNaN(e)?i.slides.index(t(e)):e;i.count-=1,i.last=i.count-1,isNaN(e)?t(e,i.slides).remove():c&&d?i.slides.eq(i.last).remove():i.slides.eq(e).remove(),i.doMath(),i.update(n,"remove"),i.slides=t(i.vars.selector+":not(.clone)",i),i.setup(),i.vars.removed(i)},m.init()},t(window).blur(function(){focused=!1}).focus(function(){focused=!0}),t.flexslider.defaults={namespace:"flex-",selector:".slides > li",animation:"fade",easing:"swing",direction:"horizontal",reverse:!1,animationLoop:!0,smoothHeight:!1,startAt:0,slideshow:!0,slideshowSpeed:7e3,animationSpeed:600,initDelay:0,randomize:!1,thumbCaptions:!1,pauseOnAction:!0,pauseOnHover:!1,pauseInvisible:!0,useCSS:!0,touch:!0,video:!1,controlNav:!0,directionNav:!0,prevText:"Previous",nextText:"Next",keyboard:!0,multipleKeyboard:!1,mousewheel:!1,pausePlay:!1,pauseText:"Pause",playText:"Play",controlsContainer:"",manualControls:"",sync:"",asNavFor:"",itemWidth:0,itemMargin:0,minItems:1,maxItems:0,move:0,allowOneSlide:!0,start:function(){},before:function(){},after:function(){},end:function(){},added:function(){},removed:function(){}},t.fn.flexslider=function(e){if(void 0===e&&(e={}),"object"==typeof e)return this.each(function(){var n=t(this),i=e.selector?e.selector:".slides > li",r=n.find(i);1===r.length&&e.allowOneSlide===!0||0===r.length?(r.fadeIn(400),e.start&&e.start(n)):void 0===n.data("flexslider")&&new t.flexslider(this,e)});var n=t(this).data("flexslider");switch(e){case"play":n.play();break;case"pause":n.pause();break;case"stop":n.stop();break;case"next":n.flexAnimate(n.getTarget("next"),!0);break;case"prev":case"previous":n.flexAnimate(n.getTarget("prev"),!0);break;default:"number"==typeof e&&n.flexAnimate(e,!0)}}}(jQuery),function(t){"use strict";var e=function(e,n,i,r){this.target=e,this.url=n,this.html=[],this.effectQueue=[],this.options=t.extend({ssl:!0,host:"www.feedrapp.info",limit:null,key:null,layoutTemplate:"<ul>{entries}</ul>",entryTemplate:'<li><a href="{url}">[{author}@{date}] {title}</a><br/>{shortBodyPlain}</li>',tokens:{},outputMode:"json",dateFormat:"dddd MMM Do",dateLocale:"en",effect:"show",offsetStart:!1,offsetEnd:!1,error:function(){console.log("jQuery RSS: url doesn't link to RSS-Feed")},onData:function(){},success:function(){}},i||{}),this.callback=r||this.options.success};e.htmlTags=["doctype","html","head","title","base","link","meta","style","script","noscript","body","article","nav","aside","section","header","footer","h1-h6","hgroup","address","p","hr","pre","blockquote","ol","ul","li","dl","dt","dd","figure","figcaption","div","table","caption","thead","tbody","tfoot","tr","th","td","col","colgroup","form","fieldset","legend","label","input","button","select","datalist","optgroup","option","textarea","keygen","output","progress","meter","details","summary","command","menu","del","ins","img","iframe","embed","object","param","video","audio","source","canvas","track","map","area","a","em","strong","i","b","u","s","small","abbr","q","cite","dfn","sub","sup","time","code","kbd","samp","var","mark","bdi","bdo","ruby","rt","rp","span","br","wbr"],e.prototype.load=function(e){var n="http"+(this.options.ssl?"s":""),i=n+"://"+this.options.host,r=i+"?callback=?&q="+encodeURIComponent(this.url);this.options.offsetStart&&this.options.offsetEnd&&(this.options.limit=this.options.offsetEnd),null!==this.options.limit&&(r+="&num="+this.options.limit),null!==this.options.key&&(r+="&key="+this.options.key),t.getJSON(r,e)},e.prototype.render=function(){var e=this;this.load(function(n){try{e.feed=n.responseData.feed,e.entries=n.responseData.feed.entries}catch(i){return e.entries=[],e.feed=null,e.options.error.call(e)}var r=e.generateHTMLForEntries();if(e.target.append(r.layout),0!==r.entries.length){t.isFunction(e.options.onData)&&e.options.onData.call(e);var o=t(r.layout).is("entries")?r.layout:t("entries",r.layout);e.appendEntriesAndApplyEffects(o,r.entries)}e.effectQueue.length>0?e.executeEffectQueue(e.callback):t.isFunction(e.callback)&&e.callback.call(e)})},e.prototype.appendEntriesAndApplyEffects=function(e,n){var i=this;t.each(n,function(t,n){var r=i.wrapContent(n);"show"===i.options.effect?e.before(r):(r.css({display:"none"}),e.before(r),i.applyEffect(r,i.options.effect))}),e.remove()},e.prototype.generateHTMLForEntries=function(){var e=this,n={entries:[],layout:null};return t(this.entries).each(function(){var t,i=this,r=e.options.offsetStart,o=e.options.offsetEnd;r&&o?index>=r&&index<=o&&e.isRelevant(i,n.entries)&&(t=e.evaluateStringForEntry(e.options.entryTemplate,i),n.entries.push(t)):e.isRelevant(i,n.entries)&&(t=e.evaluateStringForEntry(e.options.entryTemplate,i),n.entries.push(t))}),this.options.entryTemplate?n.layout=this.wrapContent(this.options.layoutTemplate.replace("{entries}","<entries></entries>")):n.layout=this.wrapContent("<div><entries></entries></div>"),n},e.prototype.wrapContent=function(e){return t(0!==t.trim(e).indexOf("<")?"<div>"+e+"</div>":e)},e.prototype.applyEffect=function(t,e,n){var i=this;switch(e){case"slide":t.slideDown("slow",n);break;case"slideFast":t.slideDown(n);break;case"slideSynced":i.effectQueue.push({element:t,effect:"slide"});break;case"slideFastSynced":i.effectQueue.push({element:t,effect:"slideFast"})}},e.prototype.executeEffectQueue=function(t){var e=this;this.effectQueue.reverse();var n=function(){var i=e.effectQueue.pop();i?e.applyEffect(i.element,i.effect,n):t&&t()};n()},e.prototype.evaluateStringForEntry=function(e,n){var i=e,r=this;return t(e.match(/(\{.*?\})/g)).each(function(){var t=this.toString();i=i.replace(t,r.getValueForToken(t,n))}),i},e.prototype.isRelevant=function(t,e){var n=this.getTokenMap(t);return this.options.filter?this.options.filterLimit&&this.options.filterLimit===e.length?!1:this.options.filter(t,n):!0},e.prototype.getFormattedDate=function(t){if(this.options.dateFormatFunction)return this.options.dateFormatFunction(t);
140if("undefined"!=typeof moment){var e=moment(new Date(t));return e=e.locale?e.locale(this.options.dateLocale):e.lang(this.options.dateLocale),e.format(this.options.dateFormat)}return t},e.prototype.getTokenMap=function(n){if(!this.feedTokens){var i=JSON.parse(JSON.stringify(this.feed));delete i.entries,this.feedTokens=i}return t.extend({feed:this.feedTokens,url:n.link,author:n.author,date:this.getFormattedDate(n.publishedDate),title:n.title,body:n.content,shortBody:n.contentSnippet,bodyPlain:function(t){for(var n=t.content.replace(/<script[\\r\\\s\S]*<\/script>/gim,"").replace(/<\/?[^>]+>/gi,""),i=0;i<e.htmlTags.length;i++)n=n.replace(new RegExp("<"+e.htmlTags[i],"gi"),"");return n}(n),shortBodyPlain:n.contentSnippet.replace(/<\/?[^>]+>/gi,""),index:t.inArray(n,this.entries),totalEntries:this.entries.length,teaserImage:function(t){try{return t.content.match(/(<img(.|\s)*?>)/gi)[0]}catch(e){return""}}(n),teaserImageUrl:function(t){try{return t.content.match(/(<img(.|\s)*?>)/gi)[0].match(/src="(.*?)"/)[1]}catch(e){return""}}(n)},this.options.tokens)},e.prototype.getValueForToken=function(t,e){var n=this.getTokenMap(e),i=t.replace(/[\{\}]/g,""),r=n[i];if("undefined"!=typeof r)return"function"==typeof r?r(e,n):r;throw new Error("Unknown token: "+t+", url:"+this.url)},t.fn.rss=function(t,n,i){return new e(this,t,n,i).render(),this}}(jQuery),/*!
141 * hoverIntent v1.8.1 // 2014.08.11 // jQuery v1.9.1+
142 * http://briancherne.github.io/jquery-hoverIntent/
143 *
144 * You may use hoverIntent under the terms of the MIT license. Basically that
145 * means you are free to use hoverIntent as long as this header is left intact.
146 * Copyright 2007, 2014 Brian Cherne
147 */
148function(t){"use strict";"function"==typeof define&&define.amd?define(["jquery"],t):jQuery&&!jQuery.fn.hoverIntent&&t(jQuery)}(function(t){"use strict";var e,n,i={interval:100,sensitivity:6,timeout:0},r=0,o=function(t){e=t.pageX,n=t.pageY},a=function(t,i,r,s){return Math.sqrt((r.pX-e)*(r.pX-e)+(r.pY-n)*(r.pY-n))<s.sensitivity?(i.off(r.event,o),delete r.timeoutId,r.isActive=!0,t.pageX=e,t.pageY=n,delete r.pX,delete r.pY,s.over.apply(i[0],[t])):(r.pX=e,r.pY=n,r.timeoutId=setTimeout(function(){a(t,i,r,s)},s.interval),void 0)},s=function(t,e,n,i){return delete e.data("hoverIntent")[n.id],i.apply(e[0],[t])};t.fn.hoverIntent=function(e,n,l){var u=r++,c=t.extend({},i);t.isPlainObject(e)?(c=t.extend(c,e),t.isFunction(c.out)||(c.out=c.over)):c=t.isFunction(n)?t.extend(c,{over:e,out:n,selector:l}):t.extend(c,{over:e,out:e,selector:n});var d=function(e){var n=t.extend({},e),i=t(this),r=i.data("hoverIntent");r||i.data("hoverIntent",r={});var l=r[u];l||(r[u]=l={id:u}),l.timeoutId&&(l.timeoutId=clearTimeout(l.timeoutId));var d=l.event="mousemove.hoverIntent.hoverIntent"+u;if("mouseenter"===e.type){if(l.isActive)return;l.pX=n.pageX,l.pY=n.pageY,i.off(d,o).on(d,o),l.timeoutId=setTimeout(function(){a(n,i,l,c)},c.interval)}else{if(!l.isActive)return;i.off(d,o),l.timeoutId=setTimeout(function(){s(n,i,l,c.out)},c.timeout)}};return this.on({"mouseenter.hoverIntent":d,"mouseleave.hoverIntent":d},c.selector)}}),function(t){function e(t,e,n){if((t[e]||t[n])&&t[e]===t[n])throw Error("(Link) '"+e+"' can't match '"+n+"'.'")}
148function n(n){if(void 0===n&&(n={}),"object"!=typeof n)throw Error("(Format) 'format' option must be an object.");var i={};t(r).each(function(t,e){if(void 0===n[e])i[e]=o[t];else{if(typeof n[e]!=typeof o[t])throw Error("(Format) 'format."+e+"' must be a "+typeof o[t]+".");if("decimals"===e&&(0>n[e]||7<n[e]))throw Error("(Format) 'format.decimals' option must be between 0 and 7.");i[e]=n[e]}}),e(i,"mark","thousand"),e(i,"prefix","negative"),e(i,"prefix","negativeBefore"),this.r=i}function i(e,n){return"object"!=typeof e&&t.error("(Link) Initialize with an object."),new i.prototype.p(e.target||function(){},e.method,e.format||{},n)}var r="decimals mark thousand prefix postfix encoder decoder negative negativeBefore to from".split(" "),o=[2,".","","","",function(t){return t},function(t){return t},"-","",function(t){return t},function(t){return t}];n.prototype.a=function(t){return this.r[t]},n.prototype.L=function(t){function e(t){return t.split("").reverse().join("")}t=this.a("encoder")(t);var n=this.a("decimals"),i="",r="",o="",a="";return 0===parseFloat(t.toFixed(n))&&(t="0"),0>t&&(i=this.a("negative"),r=this.a("negativeBefore")),t=Math.abs(t).toFixed(n).toString(),t=t.split("."),this.a("thousand")?(o=e(t[0]).match(/.{1,3}/g),o=e(o.join(e(this.a("thousand"))))):o=t[0],this.a("mark")&&1<t.length&&(a=this.a("mark")+t[1]),this.a("to")(r+this.a("prefix")+i+o+a+this.a("postfix"))},n.prototype.w=function(t){function e(t){return t.replace(/[\-\/\\\^$*+?.()|\[\]{}]/g,"\\$&")}var n;return null===t||void 0===t?!1:(t=this.a("from")(t),t=t.toString(),n=t.replace(RegExp("^"+e(this.a("negativeBefore"))),""),t!==n?(t=n,n="-"):n="",t=t.replace(RegExp("^"+e(this.a("prefix"))),""),this.a("negative")&&(n="",t=t.replace(RegExp("^"+e(this.a("negative"))),"-")),t=t.replace(RegExp(e(this.a("postfix"))+"$"),"").replace(RegExp(e(this.a("thousand")),"g"),"").replace(this.a("mark"),"."),t=this.a("decoder")(parseFloat(n+t)),isNaN(t)?!1:t)},i.prototype.K=function(e,n){this.method=n||"html",this.j=t(e.replace("-tooltip-","")||"<div/>")[0]},i.prototype.H=function(t){this.method="val",this.j=document.createElement("input"),this.j.name=t,this.j.type="hidden"},i.prototype.G=function(e){function n(t,e){return[e?null:t,e?t:null]}var i=this;this.method="val",this.target=e.on("change",function(e){i.B.val(n(t(e.target).val(),i.t),{link:i,set:!0})})},i.prototype.p=function(e,n,i,r){if(this.g=i,this.update=!r,"string"==typeof e&&0===e.indexOf("-tooltip-"))this.K(e,n);else if("string"==typeof e&&0!==e.indexOf("-"))this.H(e);else{if("function"!=typeof e){if(e instanceof t||t.zepto&&t.zepto.isZ(e)){if(!n){if(e.is("input, select, textarea"))return void this.G(e);n="html"}if("function"==typeof n||"string"==typeof n&&e[n])return this.method=n,void(this.target=e)}throw new RangeError("(Link) Invalid Link.")}this.target=!1,this.method=e}},i.prototype.write=function(t,e,n,i){this.update&&!1===i||(this.u=t,this.F=t=this.format(t),"function"==typeof this.method?this.method.call(this.target[0]||n[0],t,e,n):this.target[this.method](t,e,n))},i.prototype.q=function(e){this.g=new n(t.extend({},e,this.g instanceof n?this.g.r:this.g))},i.prototype.J=function(t){this.B=t},i.prototype.I=function(t){this.t=t},i.prototype.format=function(t){return this.g.L(t)},i.prototype.A=function(t){return this.g.w(t)},i.prototype.p.prototype=i.prototype,t.Link=i}(window.jQuery||window.Zepto),function(t){function e(t){return"number"==typeof t&&!isNaN(t)&&isFinite(t)}function n(e){return t.isArray(e)?e:[e]}function i(t,e){t.addClass(e),setTimeout(function(){t.removeClass(e)},300)}function r(t,e){return 100*e/(t[1]-t[0])}function o(t,e){if(e>=t.d.slice(-1)[0])return 100;for(var n,i,o,a=1;e>=t.d[a];)a++;return n=t.d[a-1],i=t.d[a],o=t.c[a-1],n=[n,i],o+r(n,0>n[0]?e+Math.abs(n[0]):e-n[0])/(100/(t.c[a]-o))}function a(t,e){if(e>=100)return t.d.slice(-1)[0];for(var n,i,r,o=1;e>=t.c[o];)o++;return n=t.d[o-1],i=t.d[o],r=t.c[o-1],n=[n,i],100/(t.c[o]-r)*(e-r)*(n[1]-n[0])/100+n[0]}function s(t,e){for(var n,i=1;(t.dir?100-e:e)>=t.c[i];)i++;return t.m?(n=t.c[i-1],i=t.c[i],e-n>(i-n)/2?i:n):(t.h[i-1]?(n=t.h[i-1],i=t.c[i-1]+Math.round((e-t.c[i-1])/n)*n):i=e,i)}function l(t,n){if(!e(n))throw Error("noUiSlider: 'step' is not numeric.");t.h[0]=n}function u(n,i){if("object"!=typeof i||t.isArray(i))throw Error("noUiSlider: 'range' is not an object.");if(void 0===i.min||void 0===i.max)throw Error("noUiSlider: Missing 'min' or 'max' in 'range'.");t.each(i,function(i,r){var o;if("number"==typeof r&&(r=[r]),!t.isArray(r))throw Error("noUiSlider: 'range' contains invali
148d value.");if(o="min"===i?0:"max"===i?100:parseFloat(i),!e(o)||!e(r[0]))throw Error("noUiSlider: 'range' value isn't numeric.");n.c.push(o),n.d.push(r[0]),o?n.h.push(isNaN(r[1])?!1:r[1]):isNaN(r[1])||(n.h[0]=r[1])}),t.each(n.h,function(t,e){return e?void(n.h[t]=r([n.d[t],n.d[t+1]],e)/(100/(n.c[t+1]-n.c[t]))):!0})}function c(e,n){if("number"==typeof n&&(n=[n]),!t.isArray(n)||!n.length||2<n.length)throw Error("noUiSlider: 'start' option is incorrect.");e.b=n.length,e.start=n}function d(t,e){if(t.m=e,"boolean"!=typeof e)throw Error("noUiSlider: 'snap' option must be a boolean.")}function p(t,e){if("lower"===e&&1===t.b)t.i=1;else if("upper"===e&&1===t.b)t.i=2;else if(!0===e&&2===t.b)t.i=3;else{if(!1!==e)throw Error("noUiSlider: 'connect' option doesn't match handle count.");t.i=0}}function f(t,e){switch(e){case"horizontal":t.k=0;break;case"vertical":t.k=1;break;default:throw Error("noUiSlider: 'orientation' option is invalid.")}}function h(t,n){if(2<t.c.length)throw Error("noUiSlider: 'margin' option is only supported on linear sliders.");if(t.margin=r(t.d,n),!e(n))throw Error("noUiSlider: 'margin' option must be numeric.")}function m(t,e){switch(e){case"ltr":t.dir=0;break;case"rtl":t.dir=1,t.i=[0,2,1,3][t.i];break;default:throw Error("noUiSlider: 'direction' option was not recognized.")}}function g(t,e){if("string"!=typeof e)throw Error("noUiSlider: 'behaviour' must be a string containing options.");var n=0<=e.indexOf("snap");t.n={s:0<=e.indexOf("tap")||n,extend:0<=e.indexOf("extend"),v:0<=e.indexOf("drag"),fixed:0<=e.indexOf("fixed"),m:n}}function v(e,n,i){e.o=[n.lower,n.upper],e.g=n.format,t.each(e.o,function(e,r){if(!t.isArray(r))throw Error("noUiSlider: 'serialization."+(e?"upper":"lower")+"' must be an array.");t.each(r,function(){if(!(this instanceof t.Link))throw Error("noUiSlider: 'serialization."+(e?"upper":"lower")+"' can only contain Link instances.");this.I(e),this.J(i),this.q(n.format)})}),e.dir&&1<e.b&&e.o.reverse()}function y(e,n){var i,r={c:[],d:[],h:[!1],margin:0};return i={step:{e:!1,f:l},start:{e:!0,f:c},connect:{e:!0,f:p},direction:{e:!0,f:m},range:{e:!0,f:u},snap:{e:!1,f:d},orientation:{e:!1,f:f},margin:{e:!1,f:h},behaviour:{e:!0,f:g},serialization:{e:!0,f:v}},e=t.extend({connect:!1,direction:"ltr",behaviour:"tap",orientation:"horizontal"},e),e.serialization=t.extend({lower:[],upper:[],format:{}},e.serialization),t.each(i,function(t,i){if(void 0===e[t]){if(i.e)throw Error("noUiSlider: '"+t+"' is required.");return!0}i.f(r,e[t],n)}),r.style=r.k?"top":"left",r}function b(e,n){var i=t("<div><div/></div>").addClass(D[2]),r=["-lower","-upper"];return e.dir&&r.reverse(),i.children().addClass(D[3]+" "+D[3]+r[n]),i}function w(e,n){return n.j&&(n=new t.Link({target:t(n.j).clone().appendTo(e),method:n.method,format:n.g},!0)),n}function x(e,n){var i,r=[];for(i=0;i<e.b;i++){var o=r,a=i,s=e.o[i],l=n[i].children(),u=e.g,c=void 0,d=[],c=new t.Link({},!0);for(c.q(u),d.push(c),c=0;c<s.length;c++)d.push(w(l,s[c]));o[a]=d}return r}function C(t,e,n){switch(t){case 1:e.addClass(D[7]),n[0].addClass(D[6]);break;case 3:n[1].addClass(D[6]);case 2:n[0].addClass(D[7]);case 0:e.addClass(D[6])}}function E(t,e){var n,i=[];for(n=0;n<t.b;n++)i.push(b(t,n).appendTo(e));return i}function S(e,n){return n.addClass([D[0],D[8+e.dir],D[4+e.k]].join(" ")),t("<div/>").appendTo(n).addClass(D[1])}function k(e,r,l){function u(){return b[["width","height"][r.k]]()}function c(t){var e,n=[T.val()];for(e=0;e<t.length;e++)T.trigger(t[e],n)}function d(e,n,i){var o=e[0]!==k[0][0]?1:0,l=N[0]+r.margin,u=N[1]-r.margin;return i&&1<k.length&&(n=o?Math.max(n,l):Math.min(n,u)),100>n&&(n=s(r,n)),n=Math.max(Math.min(parseFloat(n.toFixed(7)),100),0),n===N[o]?1===k.length?!1:n===l||n===u?0:!1:(e.css(r.style,n+"%"),e.is(":first-child")&&e.toggleClass(D[17],n>50),N[o]=n,r.dir&&(n=100-n),t(w[o]).each(function(){this.write(a(r,n),e.children(),T)}),!0)}function p(t,e,n){n||i(T,D[14]),d(t,e,!1),c(["slide","set","change"])}function f(t,e,n,i){t=t.replace(/\s/g,".nui ")+".nui",e.on(t,function(t){var e=T.attr("disabled");if(T.hasClass(D[14])||void 0!==e&&null!==e)return!1;t.preventDefault();
148var o,a,e=0===t.type.indexOf("touch"),s=0===t.type.indexOf("mouse"),l=0===t.type.indexOf("pointer"),u=t;0===t.type.indexOf("MSPointer")&&(l=!0),t.originalEvent&&(t=t.originalEvent),e&&(o=t.changedTouches[0].pageX,a=t.changedTouches[0].pageY),(s||l)&&(l||void 0!==window.pageXOffset||(window.pageXOffset=document.documentElement.scrollLeft,window.pageYOffset=document.documentElement.scrollTop),o=t.clientX+window.pageXOffset,a=t.clientY+window.pageYOffset),u.C=[o,a],u.cursor=s,t=u,t.l=t.C[r.k],n(t,i)})}function h(t,e){var n,i=e.b||k,r=!1,r=100*(t.l-e.start)/u(),o=i[0][0]!==k[0][0]?1:0,a=e.D;n=r+a[0],r+=a[1],1<i.length?(0>n&&(r+=Math.abs(n)),r>100&&(n-=r-100),n=[Math.max(Math.min(n,100),0),Math.max(Math.min(r,100),0)]):n=[n,r],r=d(i[0],n[o],1===i.length),1<i.length&&(r=d(i[1],n[o?0:1],!1)||r),r&&c(["slide"])}function m(e){t("."+D[15]).removeClass(D[15]),e.cursor&&t("body").css("cursor","").off(".nui"),j.off(".nui"),T.removeClass(D[12]),c(["set","change"])}function g(e,n){1===n.b.length&&n.b[0].children().addClass(D[15]),e.stopPropagation(),f(A.move,j,h,{start:e.l,b:n.b,D:[N[0],N[k.length-1]]}),f(A.end,j,m,null),e.cursor&&(t("body").css("cursor",t(e.target).css("cursor")),1<k.length&&T.addClass(D[12]),t("body").on("selectstart.nui",!1))}function v(e){var n=e.l,i=0;e.stopPropagation(),t.each(k,function(){i+=this.offset()[r.style]}),i=i/2>n||1===k.length?0:1,n-=b.offset()[r.style],n=100*n/u(),p(k[i],n,r.n.m),r.n.m&&g(e,{b:[k[i]]})}function y(t){var e=(t=t.l<b.offset()[r.style])?0:100;t=t?0:k.length-1,p(k[t],e,!1)}var b,w,k,T=t(e),N=[-1,-1];if(T.hasClass(D[0]))throw Error("Slider was already initialized.");b=S(r,T),k=E(r,b),w=x(r,k),C(r.i,T,k),function(t){var e;if(!t.fixed)for(e=0;e<k.length;e++)f(A.start,k[e].children(),g,{b:[k[e]]});t.s&&f(A.start,b,v,{b:k}),t.extend&&(T.addClass(D[16]),t.s&&f(A.start,T,y,{b:k})),t.v&&(e=b.find("."+D[7]).addClass(D[10]),t.fixed&&(e=e.add(b.children().not(e).children())),f(A.start,e,g,{b:k}))}(r.n),e.vSet=function(){var e,a,s,l,u,p,f=Array.prototype.slice.call(arguments,0),h=n(f[0]);for("object"==typeof f[1]?(e=f[1].set,a=f[1].link,s=f[1].update,l=f[1].animate):!0===f[1]&&(e=!0),r.dir&&1<r.b&&h.reverse(),l&&i(T,D[14]),f=1<k.length?3:1,1===h.length&&(f=1),u=0;f>u;u++)l=a||w[u%2][0],l=l.A(h[u%2]),!1!==l&&(l=o(r,l),r.dir&&(l=100-l),!0!==d(k[u%2],l,!0)&&t(w[u%2]).each(function(t){return t?void this.write(p,k[u%2].children(),T,s):(p=this.u,!0)}));return!0===e&&c(["set"]),this},e.vGet=function(){var t,e=[];for(t=0;t<r.b;t++)e[t]=w[t][0].F;return 1===e.length?e[0]:r.dir?e.reverse():e},e.destroy=function(){return t.each(w,function(){t.each(this,function(){this.target&&this.target.off(".nui")})}),t(this).off(".nui").removeClass(D.join(" ")).empty(),l},T.val(r.start)}function T(t){if(!this.length)throw Error("noUiSlider: Can't initialize slider on empty selection.");var e=y(t,this);return this.each(function(){k(this,e,t)})}function N(e){return this.each(function(){var n=t(this).val(),i=this.destroy(),r=t.extend({},i,e);t(this).noUiSlider(r),i.start===r.start&&t(this).val(n)})}function $(){return this[0][arguments.length?"vSet":"vGet"].apply(this[0],arguments)}var j=t(document),L=t.fn.val,A=window.navigator.pointerEnabled?{start:"pointerdown",move:"pointermove",end:"pointerup"}:window.navigator.msPointerEnabled?{start:"MSPointerDown",move:"MSPointerMove",end:"MSPointerUp"}:{start:"mousedown touchstart",move:"mousemove touchmove",end:"mouseup touchend"},D="noUi-target noUi-base noUi-origin noUi-handle noUi-horizontal noUi-vertical noUi-background noUi-connect noUi-ltr noUi-rtl noUi-dragable  noUi-state-drag  noUi-state-tap noUi-active noUi-extended noUi-stacking".split(" ");t.fn.val=function(){var e=arguments,n=t(this[0]);return arguments.length?this.each(function(){(t(this).hasClass(D[0])?$:L).apply(t(this),e)}):(n.hasClass(D[0])?$:L).call(n)},t.noUiSlider={Link:t.Link},t.fn.noUiSlider=function(t,e){return(e?N:T).call(this,t)}}(window.jQuery||window.Zepto),/*!
149 * jQuery Cookie Plugin v1.3.1
150 * https://github.com/carhartl/jquery-cookie
151 *
152 * Copyright 2013 Klaus Hartl
153 * Released under the MIT license
154 */
155function(t,e,n){function i(t){return t}function r(t){return o(decodeURIComponent(t.replace(s," ")))}
155function o(t){return 0===t.indexOf('"')&&(t=t.slice(1,-1).replace(/\\"/g,'"').replace(/\\\\/g,"\\")),t}function a(t){return l.json?JSON.parse(t):t}var s=/\+/g,l=t.cookie=function(o,s,u){if(s!==n){if(u=t.extend({},l.defaults,u),null===s&&(u.expires=-1),"number"==typeof u.expires){var c=u.expires,d=u.expires=new Date;d.setDate(d.getDate()+c)}return s=l.json?JSON.stringify(s):String(s),e.cookie=[encodeURIComponent(o),"=",l.raw?s:encodeURIComponent(s),u.expires?"; expires="+u.expires.toUTCString():"",u.path?"; path="+u.path:"",u.domain?"; domain="+u.domain:"",u.secure?"; secure":""].join("")}for(var p=l.raw?i:r,f=e.cookie.split("; "),h=o?null:{},m=0,g=f.length;g>m;m++){var v=f[m].split("="),y=p(v.shift()),b=p(v.join("="));if(o&&o===y){h=a(b);break}o||(h[y]=a(b))}return h};l.defaults={},t.removeCookie=function(e,n){return null!==t.cookie(e)?(t.cookie(e,null,n),!0):!1}}(jQuery,document),function(){var t=this,e=t._,n={},i=Array.prototype,r=Object.prototype,o=Function.prototype,a=i.push,s=i.slice,l=i.concat,u=r.toString,c=r.hasOwnProperty,d=i.forEach,p=i.map,f=i.reduce,h=i.reduceRight,m=i.filter,g=i.every,v=i.some,y=i.indexOf,b=i.lastIndexOf,w=Array.isArray,x=Object.keys,C=o.bind,E=function(t){return t instanceof E?t:this instanceof E?void(this._wrapped=t):new E(t)};"undefined"!=typeof exports?("undefined"!=typeof module&&module.exports&&(exports=module.exports=E),exports._=E):t._=E,E.VERSION="1.4.4";var S=E.each=E.forEach=function(t,e,i){if(null!=t)if(d&&t.forEach===d)t.forEach(e,i);else if(t.length===+t.length){for(var r=0,o=t.length;o>r;r++)if(e.call(i,t[r],r,t)===n)return}else for(var a in t)if(E.has(t,a)&&e.call(i,t[a],a,t)===n)return};E.map=E.collect=function(t,e,n){var i=[];return null==t?i:p&&t.map===p?t.map(e,n):(S(t,function(t,r,o){i[i.length]=e.call(n,t,r,o)}),i)};var k="Reduce of empty array with no initial value";E.reduce=E.foldl=E.inject=function(t,e,n,i){var r=arguments.length>2;if(null==t&&(t=[]),f&&t.reduce===f)return i&&(e=E.bind(e,i)),r?t.reduce(e,n):t.reduce(e);if(S(t,function(t,o,a){r?n=e.call(i,n,t,o,a):(n=t,r=!0)}),!r)throw new TypeError(k);return n},E.reduceRight=E.foldr=function(t,e,n,i){var r=arguments.length>2;if(null==t&&(t=[]),h&&t.reduceRight===h)return i&&(e=E.bind(e,i)),r?t.reduceRight(e,n):t.reduceRight(e);var o=t.length;if(o!==+o){var a=E.keys(t);o=a.length}if(S(t,function(s,l,u){l=a?a[--o]:--o,r?n=e.call(i,n,t[l],l,u):(n=t[l],r=!0)}),!r)throw new TypeError(k);return n},E.find=E.detect=function(t,e,n){var i;return T(t,function(t,r,o){return e.call(n,t,r,o)?(i=t,!0):void 0}),i},E.filter=E.select=function(t,e,n){var i=[];return null==t?i:m&&t.filter===m?t.filter(e,n):(S(t,function(t,r,o){e.call(n,t,r,o)&&(i[i.length]=t)}),i)},E.reject=function(t,e,n){return E.filter(t,function(t,i,r){return!e.call(n,t,i,r)},n)},E.every=E.all=function(t,e,i){e||(e=E.identity);var r=!0;return null==t?r:g&&t.every===g?t.every(e,i):(S(t,function(t,o,a){return(r=r&&e.call(i,t,o,a))?void 0:n}),!!r)};var T=E.some=E.any=function(t,e,i){e||(e=E.identity);var r=!1;return null==t?r:v&&t.some===v?t.some(e,i):(S(t,function(t,o,a){return r||(r=e.call(i,t,o,a))?n:void 0}),!!r)};E.contains=E.include=function(t,e){return null==t?!1:y&&t.indexOf===y?-1!=t.indexOf(e):T(t,function(t){return t===e})},E.invoke=function(t,e){var n=s.call(arguments,2),i=E.isFunction(e);return E.map(t,function(t){return(i?e:t[e]).apply(t,n)})},E.pluck=function(t,e){return E.map(t,function(t){return t[e]})},E.where=function(t,e,n){return E.isEmpty(e)?n?null:[]:E[n?"find":"filter"](t,function(t){for(var n in e)if(e[n]!==t[n])return!1;return!0})},E.findWhere=function(t,e){return E.where(t,e,!0)},E.max=function(t,e,n){if(!e&&E.isArray(t)&&t[0]===+t[0]&&t.length<65535)return Math.max.apply(Math,t);if(!e&&E.isEmpty(t))return-(1/0);var i={computed:-(1/0),value:-(1/0)};return S(t,function(t,r,o){var a=e?e.call(n,t,r,o):t;a>=i.computed&&(i={value:t,computed:a})}),i.value},E.min=function(t,e,n){if(!e&&E.isArray(t)&&t[0]===+t[0]&&t.length<65535)return Math.min.apply(Math,t);if(!e&&E.isEmpty(t))return 1/0;var i={computed:1/0,value:1/0};return S(t,function(t,r,o){var a=e?e.call(n,t,r,o):t;a<i.computed&&(i={value:t,computed:a})}),i.value},E.shuffle=function(t){var e,n=0,i=[];return S(t,function(t){e=E.random(n++),i[n-1]=i[e],i[e]=t}),i};var N=function(t){return E.isFunction(t)?t:function(e){return e[t]}};E.sortBy=function(t,e,n){var i=N(e);return E.pluck(E.map(t,function(t,e,r){return{value:t,index:e,criteria:i.call(n,t,e,r)}}).sort(function(t,e){var n=t.criteria,i=e.criteria;if(n!==i){if(n>i||void 0===n)return 1;if(i>n||void 0===i)return-1}return t.index<e.index?-1:1}),"value")};var $=function(t,e,n,i){var r={},o=N(e||E.identity);return S(t,function(e,a){var s=o.call(n,e,a,t);i(r,s,e)}),r};E.groupBy=function(t,e,n){return $(t,e,n,function(t,e,n){(E.has(t,e)?t[e]:t[e]=[]).push(n)})},E.countBy=function(t,e,n){return $(t,e,n,function(t,e){E.has(t,e)||(t[e]=0),t[e]++})},E.sortedIndex=function(t,e,n,i){n=null==n?E.identity:N(n);for(var r=n.call(i,e),o=0,a=t.length;a>o;){var s=o+a>>>1;n.call(i,t[s])<r?o=s+1:a=s}return o},E.toArray=function(t){return t?E.isArray(t)?s.call(t):t.length===+t.length?E.map(t,E.identity):E.values(t):[]},E.size=function(t){return null==t?0:t.length===+t.length?t.length:E.keys(t).length},E.first=E.head=E.take=function(t,e,n){return null!=t?null==e||n?t[0]:s.call(t,0,e):void 0},E.initial=function(t,e,n){return s.call(t,0,t.length-(null==e||n?1:e))},E.last=function(t,e,n){return null!=t?null==e||n?t[t.length-1]:s.call(t,Math.max(t.length-e,0)):void 0},E.rest=E.tail=E.drop=function(t,e,n){return s.call(t,null==e||n?1:e)},E.compact=function(t){return E.filter(t,E.identity)};var j=function(t,e,n){return S(t,function(t){E.isArray(t)?e?a.apply(n,t):j(t,e,n):n.push(t)}),n};E.flatten=function(t,e){return j(t,e,[])}
155,E.without=function(t){return E.difference(t,s.call(arguments,1))},E.uniq=E.unique=function(t,e,n,i){E.isFunction(e)&&(i=n,n=e,e=!1);var r=n?E.map(t,n,i):t,o=[],a=[];return S(r,function(n,i){(e?i&&a[a.length-1]===n:E.contains(a,n))||(a.push(n),o.push(t[i]))}),o},E.union=function(){return E.uniq(l.apply(i,arguments))},E.intersection=function(t){var e=s.call(arguments,1);return E.filter(E.uniq(t),function(t){return E.every(e,function(e){return E.indexOf(e,t)>=0})})},E.difference=function(t){var e=l.apply(i,s.call(arguments,1));return E.filter(t,function(t){return!E.contains(e,t)})},E.zip=function(){for(var t=s.call(arguments),e=E.max(E.pluck(t,"length")),n=new Array(e),i=0;e>i;i++)n[i]=E.pluck(t,""+i);return n},E.object=function(t,e){if(null==t)return{};for(var n={},i=0,r=t.length;r>i;i++)e?n[t[i]]=e[i]:n[t[i][0]]=t[i][1];return n},E.indexOf=function(t,e,n){if(null==t)return-1;var i=0,r=t.length;if(n){if("number"!=typeof n)return i=E.sortedIndex(t,e),t[i]===e?i:-1;i=0>n?Math.max(0,r+n):n}if(y&&t.indexOf===y)return t.indexOf(e,n);for(;r>i;i++)if(t[i]===e)return i;return-1},E.lastIndexOf=function(t,e,n){if(null==t)return-1;var i=null!=n;if(b&&t.lastIndexOf===b)return i?t.lastIndexOf(e,n):t.lastIndexOf(e);for(var r=i?n:t.length;r--;)if(t[r]===e)return r;return-1},E.range=function(t,e,n){arguments.length<=1&&(e=t||0,t=0),n=arguments[2]||1;for(var i=Math.max(Math.ceil((e-t)/n),0),r=0,o=new Array(i);i>r;)o[r++]=t,t+=n;return o},E.bind=function(t,e){if(t.bind===C&&C)return C.apply(t,s.call(arguments,1));var n=s.call(arguments,2);return function(){return t.apply(e,n.concat(s.call(arguments)))}},E.partial=function(t){var e=s.call(arguments,1);return function(){return t.apply(this,e.concat(s.call(arguments)))}},E.bindAll=function(t){var e=s.call(arguments,1);return 0===e.length&&(e=E.functions(t)),S(e,function(e){t[e]=E.bind(t[e],t)}),t},E.memoize=function(t,e){var n={};return e||(e=E.identity),function(){var i=e.apply(this,arguments);return E.has(n,i)?n[i]:n[i]=t.apply(this,arguments)}},E.delay=function(t,e){var n=s.call(arguments,2);return setTimeout(function(){return t.apply(null,n)},e)},E.defer=function(t){return E.delay.apply(E,[t,1].concat(s.call(arguments,1)))},E.throttle=function(t,e){var n,i,r,o,a=0,s=function(){a=new Date,r=null,o=t.apply(n,i)};return function(){var l=new Date,u=e-(l-a);return n=this,i=arguments,0>=u?(clearTimeout(r),r=null,a=l,o=t.apply(n,i)):r||(r=setTimeout(s,u)),o}},E.debounce=function(t,e,n){var i,r;return function(){var o=this,a=arguments,s=function(){i=null,n||(r=t.apply(o,a))},l=n&&!i;return clearTimeout(i),i=setTimeout(s,e),l&&(r=t.apply(o,a)),r}},E.once=function(t){var e,n=!1;return function(){return n?e:(n=!0,e=t.apply(this,arguments),t=null,e)}},E.wrap=function(t,e){return function(){var n=[t];return a.apply(n,arguments),e.apply(this,n)}},E.compose=function(){var t=arguments;return function(){for(var e=arguments,n=t.length-1;n>=0;n--)e=[t[n].apply(this,e)];return e[0]}},E.after=function(t,e){return 0>=t?e():function(){return--t<1?e.apply(this,arguments):void 0}},E.keys=x||function(t){if(t!==Object(t))throw new TypeError("Invalid object");var e=[];for(var n in t)E.has(t,n)&&(e[e.length]=n);return e},E.values=function(t){var e=[];for(var n in t)E.has(t,n)&&e.push(t[n]);return e},E.pairs=function(t){var e=[];for(var n in t)E.has(t,n)&&e.push([n,t[n]]);return e},E.invert=function(t){var e={};for(var n in t)E.has(t,n)&&(e[t[n]]=n);return e},E.functions=E.methods=function(t){var e=[];for(var n in t)E.isFunction(t[n])&&e.push(n);return e.sort()},E.extend=function(t){return S(s.call(arguments,1),function(e){if(e)for(var n in e)t[n]=e[n]}),t},E.pick=function(t){var e={},n=l.apply(i,s.call(arguments,1));return S(n,function(n){n in t&&(e[n]=t[n])}),e},E.omit=function(t){var e={},n=l.apply(i,s.call(arguments,1));for(var r in t)E.contains(n,r)||(e[r]=t[r]);return e},E.defaults=function(t){return S(s.call(arguments,1),function(e){if(e)for(var n in e)null==t[n]&&(t[n]=e[n])}),t},E.clone=function(t){return E.isObject(t)?E.isArray(t)?t.slice():E.extend({},t):t},E.tap=function(t,e){return e(t),t};var L=function(t,e,n,i){if(t===e)return 0!==t||1/t==1/e;if(null==t||null==e)return t===e;t instanceof E&&(t=t._wrapped),e instanceof E&&(e=e._wrapped);var r=u.call(t);if(r!=u.call(e))return!1;switch(r){case"[object String]":return t==String(e);case"[object Number]":return t!=+t?e!=+e:0==t?1/t==1/e:t==+e;case"[object Date]":case"[object Boolean]":return+t==+e;case"[object RegExp]":return t.source==e.source&&t.global==e.global&&t.multiline==e.multiline&&t.ignoreCase==e.ignoreCase}if("object"!=typeof t||"object"!=typeof e)return!1;for(var o=n.length;o--;)if(n[o]==t)return i[o]==e;n.push(t),i.push(e);var a=0,s=!0;if("[object Array]"==r){if(a=t.length,s=a==e.length)for(;a--&&(s=L(t[a],e[a],n,i)););}else{var l=t.constructor,c=e.constructor;if(l!==c&&!(E.isFunction(l)&&l instanceof l&&E.isFunction(c)&&c instanceof c))return!1;for(var d in t)if(E.has(t,d)&&(a++,!(s=E.has(e,d)&&L(t[d],e[d],n,i))))break;if(s){for(d in e)if(E.has(e,d)&&!a--)break;s=!a}}return n.pop(),i.pop(),s};E.isEqual=function(t,e){return L(t,e,[],[])},E.isEmpty=function(t){if(null==t)return!0;
155if(E.isArray(t)||E.isString(t))return 0===t.length;for(var e in t)if(E.has(t,e))return!1;return!0},E.isElement=function(t){return!(!t||1!==t.nodeType)},E.isArray=w||function(t){return"[object Array]"==u.call(t)},E.isObject=function(t){return t===Object(t)},S(["Arguments","Function","String","Number","Date","RegExp"],function(t){E["is"+t]=function(e){return u.call(e)=="[object "+t+"]"}}),E.isArguments(arguments)||(E.isArguments=function(t){return!(!t||!E.has(t,"callee"))}),"function"!=typeof/./&&(E.isFunction=function(t){return"function"==typeof t}),E.isFinite=function(t){return isFinite(t)&&!isNaN(parseFloat(t))},E.isNaN=function(t){return E.isNumber(t)&&t!=+t},E.isBoolean=function(t){return t===!0||t===!1||"[object Boolean]"==u.call(t)},E.isNull=function(t){return null===t},E.isUndefined=function(t){return void 0===t},E.has=function(t,e){return c.call(t,e)},E.noConflict=function(){return t._=e,this},E.identity=function(t){return t},E.times=function(t,e,n){for(var i=Array(t),r=0;t>r;r++)i[r]=e.call(n,r);return i},E.random=function(t,e){return null==e&&(e=t,t=0),t+Math.floor(Math.random()*(e-t+1))};var A={escape:{"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#x27;","/":"&#x2F;"}};A.unescape=E.invert(A.escape);var D={escape:new RegExp("["+E.keys(A.escape).join("")+"]","g"),unescape:new RegExp("("+E.keys(A.unescape).join("|")+")","g")};E.each(["escape","unescape"],function(t){E[t]=function(e){return null==e?"":(""+e).replace(D[t],function(e){return A[t][e]})}}),E.result=function(t,e){if(null==t)return null;var n=t[e];return E.isFunction(n)?n.call(t):n},E.mixin=function(t){S(E.functions(t),function(e){var n=E[e]=t[e];E.prototype[e]=function(){var t=[this._wrapped];return a.apply(t,arguments),O.call(this,n.apply(E,t))}})};var F=0;E.uniqueId=function(t){var e=++F+"";return t?t+e:e},E.templateSettings={evaluate:/<%([\s\S]+?)%>/g,interpolate:/<%=([\s\S]+?)%>/g,escape:/<%-([\s\S]+?)%>/g};var _=/(.)^/,I={"'":"'","\\":"\\","\r":"r","\n":"n","	":"t","\u2028":"u2028","\u2029":"u2029"},P=/\\|'|\r|\n|\t|\u2028|\u2029/g;E.template=function(t,e,n){var i;n=E.defaults({},n,E.templateSettings);var r=new RegExp([(n.escape||_).source,(n.interpolate||_).source,(n.evaluate||_).source].join("|")+"|$","g"),o=0,a="__p+='";t.replace(r,function(e,n,i,r,s){return a+=t.slice(o,s).replace(P,function(t){return"\\"+I[t]}),n&&(a+="'+\n((__t=("+n+"))==null?'':_.escape(__t))+\n'"),i&&(a+="'+\n((__t=("+i+"))==null?'':__t)+\n'"),r&&(a+="';\n"+r+"\n__p+='"),o=s+e.length,e}),a+="';\n",n.variable||(a="with(obj||{}){\n"+a+"}\n"),a="var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};\n"+a+"return __p;\n";try{i=new Function(n.variable||"obj","_",a)}catch(s){throw s.source=a,s}if(e)return i(e,E);var l=function(t){return i.call(this,t,E)};return l.source="function("+(n.variable||"obj")+"){\n"+a+"}",l},E.chain=function(t){return E(t).chain()};var O=function(t){return this._chain?E(t).chain():t};E.mixin(E),S(["pop","push","reverse","shift","sort","splice","unshift"],function(t){var e=i[t];E.prototype[t]=function(){var n=this._wrapped;return e.apply(n,arguments),"shift"!=t&&"splice"!=t||0!==n.length||delete n[0],O.call(this,n)}}),S(["concat","join","slice"],function(t){var e=i[t];E.prototype[t]=function(){return O.call(this,e.apply(this._wrapped,arguments))}}),E.extend(E.prototype,{chain:function(){return this._chain=!0,this},value:function(){return this._wrapped}})}.call(this),function(){var root=this,judge=root.judge={},_=root._;judge.VERSION="2.1.1";var DependencyError=function(t){this.name="DependencyError",this.message=t};if(DependencyError.prototype=new Error,DependencyError.prototype.constructor=DependencyError,"undefined"==typeof _)throw new DependencyError("Ensure underscore.js is loaded");if(_.isUndefined(root.JSON))throw new DependencyError("Judge depends on the global JSON object (load json2.js in old browsers)");var objectString=function(t){var e=Object.prototype.toString.call(t);return e.replace(/\[|\]/g,"").split(" ")[1]},isCollection=function(t){var e=objectString(t),n=["Array","NodeList","StaticNodeList","HTMLCollection","HTMLFormElement","HTMLAllCollection"];return _(n).include(e)},operate=function(input,operator,validInput){return eval(input+" "+operator+" "+validInput)},isInt=function(t){return Math.round(t)==t},isEven=function(t){return t%2===0},isOdd=function(t){return!isEven(t)},convertFlags=function(t){var e=t.split("-")[0];return/m/.test(e)?"m":""},convertRegExp=function(t){var e=t.slice(1,-1).split(":"),n=e.shift().replace("?",""),i=e.join(":").replace(/\\\\/g,"\\").replace("\\A","^").replace("\\z","$");return new RegExp(i,convertFlags(n))},reqObj=function(){return root.ActiveXObject&&new root.ActiveXObject("Microsoft.XMLHTTP")||root.XMLHttpRequest&&new root.XMLHttpRequest||null},get=judge.get=function(t,e){var n=reqObj();return n&&(n.onreadystatechange=function(){if(4===n.readyState){n.onreadystatechange=function(){};var t=/^20\d$/.test(n.status)?e.success:e.error;t(n.status,n.responseHeaders,n.responseText)}},n.open("GET",t,!0),n.setRequestHeader("X-Requested-With","XMLHttpRequest"),n.setRequestHeader("Accept","application/json"),n.send()),n},attrFromName=function(t){var e,n="";return(e=t.match(/\[(\w+)\]$/))&&(n=e[1]),n};originalValue=function(t){var e=JSON.parse(t.getAttribute("data-validate")),n=_.filter(e,function(t){return"uniqueness"===t.kind})[0];return n.original_value};var urlFor=judge.urlFor=function(t,e){var n=judge.enginePath,i={klass:t.getAttribute("data-klass"),attribute:attrFromName(t.name),value:t.value,kind:e};return"uniqueness"===e&&(i.original_value=originalValue(t)),n+queryString(i)},queryString=function(t){var e=encodeURIComponent,n=_.reduce(t,function(t,n,i){return t+e(i)+"="+e(n)+"&"},"?");return n.replace(/&$/,"").replace(/%20/g,"+")};judge.enginePath="/judge";var Dispatcher=judge.Dispatcher={on:function(t,e,n){if(!_.isFunction(e))return this;this._events||(this._events={});var i=this._events[t]||(this._events[t]=[]);return i.push({callback:e,scope:n||this}),"bind"!==t&&this.trigger("bind",t),this},trigger:function(t){if(!this._events)return this;var e=_.rest(arguments),n=this._events[t]||(this._events[t]=[]);return _.each(n,function(t){t.callback.apply(t.scope,e)}),this}},ValidationQueue=judge.ValidationQueue=function(t){this.element=t,this.validations=[],this.attrValidators=root.JSON.parse(this.element.getAttribute("data-validate")),_.each(this.attrValidators,function(t){if(this.element.value.length||t.options.allow_blank!==!0){var e=_.bind(judge.eachValidators[t.kind],this.element),n=e(t.options,t.messages);n.on("close",this.tryClose,this),this.validations.push(n)}},this),this.on("bind",this.tryClose,this)};_.extend(ValidationQueue.prototype,Dispatcher,{tryClose:function(){var t=_.reduce(this.validations,function(t,e){return t.statuses=_.union(t.statuses,[e.status()]),t.messages=_.union(t.messages,_.compact(e.messages)),t},{statuses:[],messages:[]},this);if(!_.contains(t.statuses,"pending")){var e=_.contains(t.statuses,"invalid")?"invali
155d":"valid";this.trigger("close",this.element,e,t.messages),this.trigger(e,this.element,t.messages)}}});var Validation=judge.Validation=function(t){return this.messages=null,_.isArray(t)&&this.close(t),this};_.extend(Validation.prototype,Dispatcher,{close:function(t){return this.closed()?null:(this.messages=_.isString(t)?root.JSON.parse(t):t,this.trigger("close",this.status(),this.messages),this)},closed:function(){return _.isArray(this.messages)},status:function(){return this.closed()?this.messages.length>0?"invalid":"valid":"pending"}});var pending=judge.pending=function(){return new Validation},closed=judge.closed=function(t){return new Validation(t)};judge.eachValidators={presence:function(t,e){if("radio"===this.type){var n=root.document.querySelectorAll('[name="'+this.name+'"]:checked').length;return closed(n?[]:[e.blank])}return closed(this.value.length?[]:[e.blank])},length:function(t,e){var n=[],i={minimum:{operator:"<",message:"too_short"},maximum:{operator:">",message:"too_long"},is:{operator:"!=",message:"wrong_length"}};return _(i).each(function(i,r){var o=this.length||this.value.length;o+=(this.value.match(/\n/g)||[]).length;var a=operate(o,i.operator,t[r]);_(t).has(r)&&a&&n.push(e[i.message])},this),closed(n)},exclusion:function(t,e){var n=_(t["in"]).map(function(t){return t.toString()});return closed(_.include(n,this.value)?[e.exclusion]:[])},inclusion:function(t,e){var n=_(t["in"]).map(function(t){return t.toString()});return closed(_.include(n,this.value)?[]:[e.inclusion])},numericality:function(t,e){var n={greater_than:">",greater_than_or_equal_to:">=",equal_to:"==",less_than:"<",less_than_or_equal_to:"<="},i=[],r=parseFloat(this.value,10);return isNaN(Number(this.value))?i.push(e.not_a_number):(t.odd&&isEven(r)&&i.push(e.odd),t.even&&isOdd(r)&&i.push(e.even),t.only_integer&&!isInt(r)&&i.push(e.not_an_integer),_(n).each(function(o,a){var s=operate(r,n[a],parseFloat(t[a],10));_(t).has(a)&&!s&&i.push(e[a])})),closed(i)},format:function(t,e){var n=[];if(_(t).has("with")){var i=convertRegExp(t["with"]);i.test(this.value)||n.push(e.invalid)}if(_(t).has("without")){var r=convertRegExp(t.without);r.test(this.value)&&n.push(e.invalid)}return closed(n)},acceptance:function(t,e){return closed(this.checked===!0?[]:[e.accepted])},confirmation:function(t,e){var n=this.getAttribute("id"),i=n.replace("_confirmation",""),r=root.document.getElementById(i);return closed(this.value===r.value?[]:[e.confirmation])},uniqueness:function(){var t=pending();return get(urlFor(this,"uniqueness"),{success:function(e,n,i){t.close(i)},error:function(e){t.close(["Request error: "+e])}}),t}};var isCallbacksObj=function(t){return _.isObject(t)&&_.has(t,"valid")&&_.has(t,"invalid")};judge.validate=function(t,e){var n=new ValidationQueue(t);return _.isFunction(e)?n.on("close",e):isCallbacksObj(e)&&(n.on("valid",_.once(e.valid)),n.on("invalid",_.once(e.invalid))),n}}.call(this),function(t,e,n,i){n=t.createElement(e),n.type="text/java"+e,n.async=!1,n.src="http"+("https:"===location.protocol?"s://s":"://")+"cdn.cxense.com/cx.js",i=t.getElementsByTagName(e)[0],i.parentNode.insertBefore(n,i)}(document,"script");var cX=cX||{};cX.callQueue=cX.callQueue||[],cX.callQueue.push(["invoke",onCxReady]),function(){function t(e){var n=t.modules[e];if(!n)throw new Error('failed to require "'+e+'"');return"exports"in n||"function"!=typeof n.definition||(n.client=n.component=!0,n.definition.call(this,n.exports={},n),delete n.definition),n.exports}t.modules={},t.register=function(e,n){t.modules[e]={definition:n}},t.define=function(e,n){t.modules[e]={exports:n}}
155,t.register("dropzone",function(e,n){n.exports=t("dropzone/lib/dropzone.js")}),t.register("dropzone/lib/dropzone.js",function(t,e){/*
156 *
157 * More info at [www.dropzonejs.com](http://www.dropzonejs.com)
158 *
159 * Copyright (c) 2012, Matias Meno
160 *
161 * Permission is hereby granted, free of charge, to any person obtaining a copy
162 * of this software and associated documentation files (the "Software"), to deal
163 * in the Software without restriction, including without limitation the rights
164 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
165 * copies of the Software, and to permit persons to whom the Software is
166 * furnished to do so, subject to the following conditions:
167 *
168 * The above copyright notice and this permission notice shall be included in
169 * all copies or substantial portions of the Software.
170 *
171 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
172 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
173 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
174 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
175 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
176 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
177 * THE SOFTWARE.
178 *
179 */
180(function(){var t,n,i,r,o,a,s,l,u=[].slice,c={}.hasOwnProperty,d=function(t,e){function n(){this.constructor=t}for(var i in e)c.call(e,i)&&(t[i]=e[i]);return n.prototype=e.prototype,t.prototype=new n,t.__super__=e.prototype,t};s=function(){},n=function(){function t(){}return t.prototype.addEventListener=t.prototype.on,t.prototype.on=function(t,e){return this._callbacks=this._callbacks||{},this._callbacks[t]||(this._callbacks[t]=[]),this._callbacks[t].push(e),this},t.prototype.emit=function(){var t,e,n,i,r,o;if(i=arguments[0],t=2<=arguments.length?u.call(arguments,1):[],this._callbacks=this._callbacks||{},n=this._callbacks[i])for(r=0,o=n.length;o>r;r++)e=n[r],e.apply(this,t);return this},t.prototype.removeListener=t.prototype.off,t.prototype.removeAllListeners=t.prototype.off,t.prototype.removeEventListener=t.prototype.off,t.prototype.off=function(t,e){var n,i,r,o,a;if(!this._callbacks||0===arguments.length)return this._callbacks={},this;if(i=this._callbacks[t],!i)return this;if(1===arguments.length)return delete this._callbacks[t],this;for(r=o=0,a=i.length;a>o;r=++o)if(n=i[r],n===e){i.splice(r,1);break}return this},t}(),t=function(t){function e(t,n){var r,o,a;if(this.element=t,this.version=e.version,this.defaultOptions.previewTemplate=this.defaultOptions.previewTemplate.replace(/\n*/g,""),this.clickableElements=[],this.listeners=[],this.files=[],"string"==typeof this.element&&(this.element=document.querySelector(this.element)),!this.element||null==this.element.nodeType)throw new Error("Invalid dropzone element.");if(this.element.dropzone)throw new Error("Dropzone already attached.");if(e.instances.push(this),this.element.dropzone=this,r=null!=(a=e.optionsForElement(this.element))?a:{},this.options=i({},this.defaultOptions,r,null!=n?n:{}),this.options.forceFallback||!e.isBrowserSupported())return this.options.fallback.call(this);if(null==this.options.url&&(this.options.url=this.element.getAttribute("action")),!this.options.url)throw new Error("No URL provided.");if(this.options.acceptedFiles&&this.options.acceptedMimeTypes)throw new Error("You can't provide both 'acceptedFiles' and 'acceptedMimeTypes'. 'acceptedMimeTypes' is deprecated.");this.options.acceptedMimeTypes&&(this.options.acceptedFiles=this.options.acceptedMimeTypes,delete this.options.acceptedMimeTypes),this.options.method=this.options.method.toUpperCase(),(o=this.getExistingFallback())&&o.parentNode&&o.parentNode.removeChild(o),this.options.previewsContainer!==!1&&(this.options.previewsContainer?this.previewsContainer=e.getElement(this.options.previewsContainer,"previewsContainer"):this.previewsContainer=this.element),this.options.clickable&&(this.options.clickable===!0?this.clickableElements=[this.element]:this.clickableElements=e.getElements(this.options.clickable,"clickable")),this.init()}var i,r;return d(e,t),e.prototype.Emitter=n,e.prototype.events=["drop","dragstart","dragend","dragenter","dragover","dragleave","addedfile","removedfile","thumbnail","error","errormultiple","processing","processingmultiple","uploadprogress","totaluploadprogress","sending","sendingmultiple","success","successmultiple","canceled","canceledmultiple","complete","completemultiple","reset","maxfilesexceeded","maxfilesreached","queuecomplete"],e.prototype.defaultOptions={url:null,method:"post",withCredentials:!1,parallelUploads:2,uploadMultiple:!1,maxFilesize:256,paramName:"file",createImageThumbnails:!0,maxThumbnailFilesize:10,thumbnailWidth:100,thumbnailHeight:100,maxFiles:null,params:{},clickable:!0,ignoreHiddenFiles:!0,acceptedFiles:null,acceptedMimeTypes:null,autoProcessQueue:!0,autoQueue:!0,addRemoveLinks:!1,previewsContainer:null,capture:null,dictDefaultMessage:"Drop files here to upload",dictFallbackMessage:"Your browser does not support drag'n'drop file uploads.",dictFallbackText:"Please use the fallback form below to upload your files like in the olde
180n days.",dictFileTooBig:"File is too big ({{filesize}}MiB). Max filesize: {{maxFilesize}}MiB.",dictInvalidFileType:"You can't upload files of this type.",dictResponseError:"Server responded with {{statusCode}} code.",dictCancelUpload:"Cancel upload",dictCancelUploadConfirmation:"Are you sure you want to cancel this upload?",dictRemoveFile:"Remove file",dictRemoveFileConfirmation:null,dictMaxFilesExceeded:"You can not upload any more files.",accept:function(t,e){return e()},init:function(){return s},forceFallback:!1,fallback:function(){var t,n,i,r,o,a;for(this.element.className=""+this.element.className+" dz-browser-not-supported",a=this.element.getElementsByTagName("div"),r=0,o=a.length;o>r;r++)t=a[r],/(^| )dz-message($| )/.test(t.className)&&(n=t,t.className="dz-message");return n||(n=e.createElement('<div class="dz-message"><span></span></div>'),this.element.appendChild(n)),i=n.getElementsByTagName("span")[0],i&&(i.textContent=this.options.dictFallbackMessage),this.element.appendChild(this.getFallbackForm())},resize:function(t){var e,n,i;return e={srcX:0,srcY:0,srcWidth:t.width,srcHeight:t.height},n=t.width/t.height,e.optWidth=this.options.thumbnailWidth,e.optHeight=this.options.thumbnailHeight,null==e.optWidth&&null==e.optHeight?(e.optWidth=e.srcWidth,e.optHeight=e.srcHeight):null==e.optWidth?e.optWidth=n*e.optHeight:null==e.optHeight&&(e.optHeight=1/n*e.optWidth),i=e.optWidth/e.optHeight,t.height<e.optHeight||t.width<e.optWidth?(e.trgHeight=e.srcHeight,e.trgWidth=e.srcWidth):n>i?(e.srcHeight=t.height,e.srcWidth=e.srcHeight*i):(e.srcWidth=t.width,e.srcHeight=e.srcWidth/i),e.srcX=(t.width-e.srcWidth)/2,e.srcY=(t.height-e.srcHeight)/2,e},drop:function(){return this.element.classList.remove("dz-drag-hover")},dragstart:s,dragend:function(){return this.element.classList.remove("dz-drag-hover")},dragenter:function(){return this.element.classList.add("dz-drag-hover")},dragover:function(){return this.element.classList.add("dz-drag-hover")},dragleave:function(){return this.element.classList.remove("dz-drag-hover")},paste:s,reset:function(){return this.element.classList.remove("dz-started")},addedfile:function(t){var n,i,r,o,a,s,l,u,c,d,p,f,h;if(this.element===this.previewsContainer&&this.element.classList.add("dz-started"),this.previewsContainer){for(t.previewElement=e.createElement(this.options.previewTemplate.trim()),t.previewTemplate=t.previewElement,this.previewsContainer.appendChild(t.previewElement),d=t.previewElement.querySelectorAll("[data-dz-name]"),o=0,l=d.length;l>o;o++)n=d[o],n.textContent=t.name;for(p=t.previewElement.querySelectorAll("[data-dz-size]"),a=0,u=p.length;u>a;a++)n=p[a],n.innerHTML=this.filesize(t.size);for(this.options.addRemoveLinks&&(t._removeLink=e.createElement('<a class="dz-remove" href="javascript:undefined;" data-dz-remove>'+this.options.dictRemoveFile+"</a>"),t.previewElement.appendChild(t._removeLink)),i=function(n){return function(i){return i.preventDefault(),i.stopPropagation(),t.status===e.UPLOADING?e.confirm(n.options.dictCancelUploadConfirmation,function(){return n.removeFile(t)}):n.options.dictRemoveFileConfirmation?e.confirm(n.options.dictRemoveFileConfirmation,function(){return n.removeFile(t)}):n.removeFile(t)}}(this),f=t.previewElement.querySelectorAll("[data-dz-remove]"),h=[],s=0,c=f.length;c>s;s++)r=f[s],h.push(r.addEventListener("click",i));return h}},removedfile:function(t){var e;return t.previewElement&&null!=(e=t.previewElement)&&e.parentNode.removeChild(t.previewElement),this._updateMaxFilesReachedClass()},thumbnail:function(t,e){var n,i,r,o,a;if(t.previewElement){for(t.previewElement.classList.remove("dz-file-preview"),t.previewElement.classList.add("dz-image-preview"),o=t.previewElement.querySelectorAll("[data-dz-thumbnail]"),a=[],i=0,r=o.length;r>i;i++)n=o[i],n.alt=t.name,a.push(n.src=e);return a}},error:function(t,e){var n,i,r,o,a;if(t.previewElement){for(t.previewElement.classList.add("dz-error"),"String"!=typeof e&&e.error&&(e=e.error),o=t.previewElement.querySelectorAll("[data-dz-errormessage]"),a=[],i=0,r=o.length;r>i;i++)n=o[i],a.push(n.textContent=e);return a}},errormultiple:s,processing:function(t){return t.previewElement&&(t.previewElement.classList.add("dz-processing"),t._removeLink)?t._removeLink.textContent=this.options.dictCancelUpload:void 0},processingmultiple:s,uploadprogress:function(t,e){var n,i,r,o,a;if(t.previewElement){for(o=t.previewElement.querySelectorAll("[data-dz-uploadprogress]"),a=[],i=0,r=o.length;r>i;i++)n=o[i],"PROGRESS"===n.nodeName?a.push(n.value=e):a.push(n.style.width=""+e+"%");return a}},totaluploadprogress:s,sending:s,sendingmultiple:s,success:function(t){return t.previewElement?t.previewElement.classList.add("dz-success"):void 0}
180,successmultiple:s,canceled:function(t){return this.emit("error",t,"Upload canceled.")},canceledmultiple:s,complete:function(t){return t._removeLink?t._removeLink.textContent=this.options.dictRemoveFile:void 0},completemultiple:s,maxfilesexceeded:s,maxfilesreached:s,queuecomplete:s,previewTemplate:'<div class="dz-preview dz-file-preview">\n  <div class="dz-details">\n    <div class="dz-filename"><span data-dz-name></span></div>\n    <div class="dz-size" data-dz-size></div>\n    <img data-dz-thumbnail />\n  </div>\n  <div class="dz-progress"><span class="dz-upload" data-dz-uploadprogress></span></div>\n  <div class="dz-success-mark"><span>\u2714</span></div>\n  <div class="dz-error-mark"><span>\u2718</span></div>\n  <div class="dz-error-message"><span data-dz-errormessage></span></div>\n</div>'},i=function(){var t,e,n,i,r,o,a;for(i=arguments[0],n=2<=arguments.length?u.call(arguments,1):[],o=0,a=n.length;a>o;o++){e=n[o];for(t in e)r=e[t],i[t]=r}return i},e.prototype.getAcceptedFiles=function(){var t,e,n,i,r;for(i=this.files,r=[],e=0,n=i.length;n>e;e++)t=i[e],t.accepted&&r.push(t);return r},e.prototype.getRejectedFiles=function(){var t,e,n,i,r;for(i=this.files,r=[],e=0,n=i.length;n>e;e++)t=i[e],t.accepted||r.push(t);return r},e.prototype.getFilesWithStatus=function(t){var e,n,i,r,o;for(r=this.files,o=[],n=0,i=r.length;i>n;n++)e=r[n],e.status===t&&o.push(e);return o},e.prototype.getQueuedFiles=function(){return this.getFilesWithStatus(e.QUEUED)},e.prototype.getUploadingFiles=function(){return this.getFilesWithStatus(e.UPLOADING)},e.prototype.getActiveFiles=function(){var t,n,i,r,o;for(r=this.files,o=[],n=0,i=r.length;i>n;n++)t=r[n],t.status!==e.UPLOADING&&t.status!==e.QUEUED||o.push(t);return o},e.prototype.init=function(){var t,n,i,r,o,a,s;for("form"===this.element.tagName&&this.element.setAttribute("enctype","multipart/form-data"),this.element.classList.contains("dropzone")&&!this.element.querySelector(".dz-message")&&this.element.appendChild(e.createElement('<div class="dz-default dz-message"><span>'+this.options.dictDefaultMessage+"</span></div>")),this.clickableElements.length&&(i=function(t){return function(){return t.hiddenFileInput&&document.body.removeChild(t.hiddenFileInput),t.hiddenFileInput=document.createElement("input"),t.hiddenFileInput.setAttribute("type","file"),(null==t.options.maxFiles||t.options.maxFiles>1)&&t.hiddenFileInput.setAttribute("multiple","multiple"),t.hiddenFileInput.className="dz-hidden-input",null!=t.options.acceptedFiles&&t.hiddenFileInput.setAttribute("accept",t.options.acceptedFiles),null!=t.options.capture&&t.hiddenFileInput.setAttribute("capture",t.options.capture),t.hiddenFileInput.style.visibility="hidden",t.hiddenFileInput.style.position="absolute",t.hiddenFileInput.style.top="0",t.hiddenFileInput.style.left="0",t.hiddenFileInput.style.height="0",t.hiddenFileInput.style.width="0",document.body.appendChild(t.hiddenFileInput),t.hiddenFileInput.addEventListener("change",function(){var e,n,r,o;if(n=t.hiddenFileInput.files,n.length)for(r=0,o=n.length;o>r;r++)e=n[r],t.addFile(e);return i()})}}(this))(),this.URL=null!=(a=window.URL)?a:window.webkitURL,s=this.events,r=0,o=s.length;o>r;r++)t=s[r],this.on(t,this.options[t]);return this.on("uploadprogress",function(t){return function(){return t.updateTotalUploadProgress()}}(this)),this.on("removedfile",function(t){return function(){return t.updateTotalUploadProgress()}}(this)),this.on("canceled",function(t){return function(e){return t.emit("complete",e)}}(this)),this.on("complete",function(t){return function(){return 0===t.getUploadingFiles().length&&0===t.getQueuedFiles().length?setTimeout(function(){return t.emit("queuecomplete")},0):void 0}}(this)),n=function(t){return t.stopPropagation(),t.preventDefault?t.preventDefault():t.returnValue=!1},this.listeners=[{element:this.element,events:{dragstart:function(t){return function(e){return t.emit("dragstart",e)}}(this),dragenter:function(t){return function(e){return n(e),t.emit("dragenter",e)}}(this),dragover:function(t){return function(e){var i;try{i=e.dataTransfer.effectAllowed}catch(r){}return e.dataTransfer.dropEffect="move"===i||"linkMove"===i?"move":"copy",n(e),t.emit("dragover",e)}}(this),dragleave:function(t){return function(e){return t.emit("dragleave",e)}}(this),drop:function(t){return function(e){return n(e),t.drop(e)}}(this),dragend:function(t){return function(e){return t.emit("dragend",e)}}(this)}}
180],this.clickableElements.forEach(function(t){return function(n){return t.listeners.push({element:n,events:{click:function(i){return n!==t.element||i.target===t.element||e.elementInside(i.target,t.element.querySelector(".dz-message"))?t.hiddenFileInput.click():void 0}}})}}(this)),this.enable(),this.options.init.call(this)},e.prototype.destroy=function(){var t;return this.disable(),this.removeAllFiles(!0),(null!=(t=this.hiddenFileInput)?t.parentNode:void 0)&&(this.hiddenFileInput.parentNode.removeChild(this.hiddenFileInput),this.hiddenFileInput=null),delete this.element.dropzone,e.instances.splice(e.instances.indexOf(this),1)},e.prototype.updateTotalUploadProgress=function(){var t,e,n,i,r,o,a,s;if(i=0,n=0,t=this.getActiveFiles(),t.length){for(s=this.getActiveFiles(),o=0,a=s.length;a>o;o++)e=s[o],i+=e.upload.bytesSent,n+=e.upload.total;r=100*i/n}else r=100;return this.emit("totaluploadprogress",r,n,i)},e.prototype._getParamName=function(t){return"function"==typeof this.options.paramName?this.options.paramName(t):""+this.options.paramName+(this.options.uploadMultiple?"["+t+"]":"")},e.prototype.getFallbackForm=function(){var t,n,i,r;return(t=this.getExistingFallback())?t:(i='<div class="dz-fallback">',this.options.dictFallbackText&&(i+="<p>"+this.options.dictFallbackText+"</p>"),i+='<input type="file" name="'+this._getParamName(0)+'" '+(this.options.uploadMultiple?'multiple="multiple"':void 0)+' /><input type="submit" value="Upload!"></div>',n=e.createElement(i),"FORM"!==this.element.tagName?(r=e.createElement('<form action="'+this.options.url+'" enctype="multipart/form-data" method="'+this.options.method+'"></form>'),r.appendChild(n)):(this.element.setAttribute("enctype","multipart/form-data"),this.element.setAttribute("method",this.options.method)),null!=r?r:n)},e.prototype.getExistingFallback=function(){var t,e,n,i,r,o;for(e=function(t){var e,n,i;for(n=0,i=t.length;i>n;n++)if(e=t[n],/(^| )fallback($| )/.test(e.className))return e},o=["div","form"],i=0,r=o.length;r>i;i++)if(n=o[i],t=e(this.element.getElementsByTagName(n)))return t},e.prototype.setupEventListeners=function(){var t,e,n,i,r,o,a;for(o=this.listeners,a=[],i=0,r=o.length;r>i;i++)t=o[i],a.push(function(){var i,r;i=t.events,r=[];for(e in i)n=i[e],r.push(t.element.addEventListener(e,n,!1));return r}());return a},e.prototype.removeEventListeners=function(){var t,e,n,i,r,o,a;for(o=this.listeners,a=[],i=0,r=o.length;r>i;i++)t=o[i],a.push(function(){var i,r;i=t.events,r=[];for(e in i)n=i[e],r.push(t.element.removeEventListener(e,n,!1));return r}());return a},e.prototype.disable=function(){var t,e,n,i,r;for(this.clickableElements.forEach(function(t){return t.classList.remove("dz-clickable")}),this.removeEventListeners(),i=this.files,r=[],e=0,n=i.length;n>e;e++)t=i[e],r.push(this.cancelUpload(t));return r},e.prototype.enable=function(){return this.clickableElements.forEach(function(t){return t.classList.add("dz-clickable")}),this.setupEventListeners()},e.prototype.filesize=function(t){var e;return t>=109951162777.6?(t/=109951162777.6,e="TiB"):t>=107374182.4?(t/=107374182.4,e="GiB"):t>=104857.6?(t/=104857.6,e="MiB"):t>=102.4?(t/=102.4,e="KiB"):(t=10*t,e="b"),"<strong>"+Math.round(t)/10+"</strong> "+e},e.prototype._updateMaxFilesReachedClass=function(){return null!=this.options.maxFiles&&this.getAcceptedFiles().length>=this.options.maxFiles?(this.getAcceptedFiles().length===this.options.maxFiles&&this.emit("maxfilesreached",this.files),this.element.classList.add("dz-max-files-reached")):this.element.classList.remove("dz-max-files-reached")},e.prototype.drop=function(t){var e,n;
180t.dataTransfer&&(this.emit("drop",t),e=t.dataTransfer.files,e.length&&(n=t.dataTransfer.items,n&&n.length&&null!=n[0].webkitGetAsEntry?this._addFilesFromItems(n):this.handleFiles(e)))},e.prototype.paste=function(t){var e,n;if(null!=(null!=t&&null!=(n=t.clipboardData)?n.items:void 0))return this.emit("paste",t),e=t.clipboardData.items,e.length?this._addFilesFromItems(e):void 0},e.prototype.handleFiles=function(t){var e,n,i,r;for(r=[],n=0,i=t.length;i>n;n++)e=t[n],r.push(this.addFile(e));return r},e.prototype._addFilesFromItems=function(t){var e,n,i,r,o;for(o=[],i=0,r=t.length;r>i;i++)n=t[i],null!=n.webkitGetAsEntry&&(e=n.webkitGetAsEntry())?e.isFile?o.push(this.addFile(n.getAsFile())):e.isDirectory?o.push(this._addFilesFromDirectory(e,e.name)):o.push(void 0):null!=n.getAsFile&&(null==n.kind||"file"===n.kind)?o.push(this.addFile(n.getAsFile())):o.push(void 0);return o},e.prototype._addFilesFromDirectory=function(t,e){var n,i;return n=t.createReader(),i=function(t){return function(n){var i,r,o;for(r=0,o=n.length;o>r;r++)i=n[r],i.isFile?i.file(function(n){return t.options.ignoreHiddenFiles&&"."===n.name.substring(0,1)?void 0:(n.fullPath=""+e+"/"+n.name,t.addFile(n))}):i.isDirectory&&t._addFilesFromDirectory(i,""+e+"/"+i.name)}}(this),n.readEntries(i,function(t){return"undefined"!=typeof console&&null!==console&&"function"==typeof console.log?console.log(t):void 0})},e.prototype.accept=function(t,n){return t.size>1024*this.options.maxFilesize*1024?n(this.options.dictFileTooBig.replace("{{filesize}}",Math.round(t.size/1024/10.24)/100).replace("{{maxFilesize}}",this.options.maxFilesize)):e.isValidFile(t,this.options.acceptedFiles)?null!=this.options.maxFiles&&this.getAcceptedFiles().length>=this.options.maxFiles?(n(this.options.dictMaxFilesExceeded.replace("{{maxFiles}}",this.options.maxFiles)),this.emit("maxfilesexceeded",t)):this.options.accept.call(this,t,n):n(this.options.dictInvalidFileType)},e.prototype.addFile=function(t){return t.upload={progress:0,total:t.size,bytesSent:0},this.files.push(t),t.status=e.ADDED,this.emit("addedfile",t),this._enqueueThumbnail(t),this.accept(t,function(e){return function(n){return n?(t.accepted=!1,e._errorProcessing([t],n)):(t.accepted=!0,e.options.autoQueue&&e.enqueueFile(t)),e._updateMaxFilesReachedClass()}}(this))},e.prototype.enqueueFiles=function(t){var e,n,i;for(n=0,i=t.length;i>n;n++)e=t[n],this.enqueueFile(e);return null},e.prototype.enqueueFile=function(t){if(t.status!==e.ADDED||t.accepted!==!0)throw new Error("This file can't be queued because it has already been processed or was rejected.");return t.status=e.QUEUED,this.options.autoProcessQueue?setTimeout(function(t){return function(){return t.processQueue()}}(this),0):void 0},e.prototype._thumbnailQueue=[],e.prototype._processingThumbnail=!1,e.prototype._enqueueThumbnail=function(t){return this.options.createImageThumbnails&&t.type.match(/image.*/)&&t.size<=1024*this.options.maxThumbnailFilesize*1024?(this._thumbnailQueue.push(t),setTimeout(function(t){return function(){return t._processThumbnailQueue()}}(this),0)):void 0},e.prototype._processThumbnailQueue=function(){return this._processingThumbnail||0===this._thumbnailQueue.length?void 0:(this._processingThumbnail=!0,this.createThumbnail(this._thumbnailQueue.shift(),function(t){return function(){return t._processingThumbnail=!1,t._processThumbnailQueue()}}(this)))},e.prototype.removeFile=function(t){return t.status===e.UPLOADING&&this.cancelUpload(t),this.files=l(this.files,t),this.emit("removedfile",t),0===this.files.length?this.emit("reset"):void 0},e.prototype.removeAllFiles=function(t){var n,i,r,o;for(null==t&&(t=!1),o=this.files.slice(),i=0,r=o.length;r>i;i++)n=o[i],(n.status!==e.UPLOADING||t)&&this.removeFile(n);return null},e.prototype.createThumbnail=function(t,e){var n;return n=new FileReader,n.onload=function(i){return function(){var r;return"image/svg+xml"===t.type?(i.emit("thumbnail",t,n.result),void(null!=e&&e())):(r=document.createElement("img"),r.onload=function(){var n,o,s,l,u,c,d,p;return t.width=r.width,t.height=r.height,s=i.options.resize.call(i,t),null==s.trgWidth&&(s.trgWidth=s.optWidth),null==s.trgHeight&&(s.trgHeight=s.optHeight),n=document.createElement("canvas"),o=n.getContext("2d"),n.width=s.trgWidth,n.height=s.trgHeight,a(o,r,null!=(u=s.srcX)?u:0,null!=(c=s.srcY)?c:0,s.srcWidth,s.srcHeight,null!=(d=s.trgX)?d:0,null!=(p=s.trgY)?p:0,s.trgWidth,s.trgHeight),l=n.toDataURL("image/png"),i.emit("thumbnail",t,l),null!=e?e():void 0},r.src=n.result)}}(this),n.readAsDataURL(t)},e.prototype.processQueue=function(){var t,e,n,i;if(e=this.options.parallelUploads,n=this.getUploadingFiles().length,t=n,!(n>=e)&&(i=this.getQueuedFiles(),i.length>0)){if(this.options.uploadMultiple)return this.processFiles(i.slice(0,e-n));for(;e>t;){if(!i.length)return;this.processFile(i.shift()),t++}}}
180,e.prototype.processFile=function(t){return this.processFiles([t])},e.prototype.processFiles=function(t){var n,i,r;for(i=0,r=t.length;r>i;i++)n=t[i],n.processing=!0,n.status=e.UPLOADING,this.emit("processing",n);return this.options.uploadMultiple&&this.emit("processingmultiple",t),this.uploadFiles(t)},e.prototype._getFilesWithXhr=function(t){var e,n;return n=function(){var n,i,r,o;for(r=this.files,o=[],n=0,i=r.length;i>n;n++)e=r[n],e.xhr===t&&o.push(e);return o}.call(this)},e.prototype.cancelUpload=function(t){var n,i,r,o,a,s,l;if(t.status===e.UPLOADING){for(i=this._getFilesWithXhr(t.xhr),r=0,a=i.length;a>r;r++)n=i[r],n.status=e.CANCELED;for(t.xhr.abort(),o=0,s=i.length;s>o;o++)n=i[o],this.emit("canceled",n);this.options.uploadMultiple&&this.emit("canceledmultiple",i)}else(l=t.status)!==e.ADDED&&l!==e.QUEUED||(t.status=e.CANCELED,this.emit("canceled",t),this.options.uploadMultiple&&this.emit("canceledmultiple",[t]));return this.options.autoProcessQueue?this.processQueue():void 0},r=function(){var t,e;return e=arguments[0],t=2<=arguments.length?u.call(arguments,1):[],"function"==typeof e?e.apply(this,t):e},e.prototype.uploadFile=function(t){return this.uploadFiles([t])},e.prototype.uploadFiles=function(t){var n,o,a,s,l,u,c,d,p,f,h,m,g,v,y,b,w,x,C,E,S,k,T,N,$,j,L,A,D,F,_,I,P,O;for(C=new XMLHttpRequest,E=0,N=t.length;N>E;E++)n=t[E],n.xhr=C;m=r(this.options.method,t),w=r(this.options.url,t),C.open(m,w,!0),C.withCredentials=!!this.options.withCredentials,y=null,a=function(e){return function(){var i,r,o;for(o=[],i=0,r=t.length;r>i;i++)n=t[i],o.push(e._errorProcessing(t,y||e.options.dictResponseError.replace("{{statusCode}}",C.status),C));return o}}(this),b=function(e){return function(i){var r,o,a,s,l,u,c,d,p;if(null!=i)for(o=100*i.loaded/i.total,a=0,u=t.length;u>a;a++)n=t[a],n.upload={progress:o,total:i.total,bytesSent:i.loaded};else{for(r=!0,o=100,s=0,c=t.length;c>s;s++)n=t[s],100===n.upload.progress&&n.upload.bytesSent===n.upload.total||(r=!1),n.upload.progress=o,n.upload.bytesSent=n.upload.total;if(r)return}for(p=[],l=0,d=t.length;d>l;l++)n=t[l],p.push(e.emit("uploadprogress",n,o,n.upload.bytesSent));return p}}(this),C.onload=function(n){return function(i){var r;if(t[0].status!==e.CANCELED&&4===C.readyState){if(y=C.responseText,C.getResponseHeader("content-type")&&~C.getResponseHeader("content-type").indexOf("application/json"))try{y=JSON.parse(y)}catch(o){i=o,y="Invalid JSON response from server."}return b(),200<=(r=C.status)&&300>r?n._finished(t,y,i):a()}}}(this),C.onerror=function(){return function(){return t[0].status!==e.CANCELED?a():void 0}}(this),v=null!=(D=C.upload)?D:C,v.onprogress=b,u={Accept:"application/json","Cache-Control":"no-cache","X-Requested-With":"XMLHttpRequest"},this.options.headers&&i(u,this.options.headers);for(s in u)l=u[s],C.setRequestHeader(s,l);if(o=new FormData,this.options.params){F=this.options.params;for(h in F)x=F[h],o.append(h,x)}for(S=0,$=t.length;$>S;S++)n=t[S],this.emit("sending",n,C,o);if(this.options.uploadMultiple&&this.emit("sendingmultiple",t,C,o),"FORM"===this.element.tagName)for(_=this.element.querySelectorAll("input, textarea, select, button"),k=0,j=_.length;j>k;k++)if(d=_[k],p=d.getAttribute("name"),f=d.getAttribute("type"),"SELECT"===d.tagName&&d.hasAttribute("multiple"))for(I=d.options,T=0,L=I.length;L>T;T++)g=I[T],g.selected&&o.append(p,g.value);else(!f||"checkbox"!==(P=f.toLowerCase())&&"radio"!==P||d.checked)&&o.append(p,d.value);for(c=A=0,O=t.length-1;O>=0?O>=A:A>=O;c=O>=0?++A:--A)o.append(this._getParamName(c),t[c],t[c].name);return C.send(o)},e.prototype._finished=function(t,n,i){var r,o,a;for(o=0,a=t.length;a>o;o++)r=t[o],r.status=e.SUCCESS,this.emit("success",r,n,i),this.emit("complete",r);
180return this.options.uploadMultiple&&(this.emit("successmultiple",t,n,i),this.emit("completemultiple",t)),this.options.autoProcessQueue?this.processQueue():void 0},e.prototype._errorProcessing=function(t,n,i){var r,o,a;for(o=0,a=t.length;a>o;o++)r=t[o],r.status=e.ERROR,this.emit("error",r,n,i),this.emit("complete",r);return this.options.uploadMultiple&&(this.emit("errormultiple",t,n,i),this.emit("completemultiple",t)),this.options.autoProcessQueue?this.processQueue():void 0},e}(n),t.version="3.12.0",t.options={},t.optionsForElement=function(e){return e.getAttribute("id")?t.options[i(e.getAttribute("id"))]:void 0},t.instances=[],t.forElement=function(t){if("string"==typeof t&&(t=document.querySelector(t)),null==(null!=t?t.dropzone:void 0))throw new Error("No Dropzone found for given element. This is probably because you're trying to access it before Dropzone had the time to initialize. Use the `init` option to setup any additional observers on your Dropzone.");return t.dropzone},t.autoDiscover=!0,t.discover=function(){var e,n,i,r,o,a;for(document.querySelectorAll?i=document.querySelectorAll(".dropzone"):(i=[],e=function(t){var e,n,r,o;for(o=[],n=0,r=t.length;r>n;n++)e=t[n],/(^| )dropzone($| )/.test(e.className)?o.push(i.push(e)):o.push(void 0);return o},e(document.getElementsByTagName("div")),e(document.getElementsByTagName("form"))),a=[],r=0,o=i.length;o>r;r++)n=i[r],t.optionsForElement(n)!==!1?a.push(new t(n)):a.push(void 0);return a},t.blacklistedBrowsers=[/opera.*Macintosh.*version\/12/i],t.isBrowserSupported=function(){var e,n,i,r,o;if(e=!0,window.File&&window.FileReader&&window.FileList&&window.Blob&&window.FormData&&document.querySelector)if("classList"in document.createElement("a"))for(o=t.blacklistedBrowsers,i=0,r=o.length;r>i;i++)n=o[i],n.test(navigator.userAgent)&&(e=!1);else e=!1;else e=!1;return e},l=function(t,e){var n,i,r,o;for(o=[],i=0,r=t.length;r>i;i++)n=t[i],n!==e&&o.push(n);return o},i=function(t){return t.replace(/[\-_](\w)/g,function(t){return t.charAt(1).toUpperCase()})},t.createElement=function(t){var e;return e=document.createElement("div"),e.innerHTML=t,e.childNodes[0]},t.elementInside=function(t,e){if(t===e)return!0;for(;t=t.parentNode;)if(t===e)return!0;return!1},t.getElement=function(t,e){var n;if("string"==typeof t?n=document.querySelector(t):null!=t.nodeType&&(n=t),null==n)throw new Error("Invalid `"+e+"` option provided. Please provide a CSS selector or a plain HTML element.");return n},t.getElements=function(t,e){var n,i,r,o,a,s,l,u;if(t instanceof Array){r=[];try{for(o=0,s=t.length;s>o;o++)i=t[o],r.push(this.getElement(i,e))}catch(c){n=c,r=null}}else if("string"==typeof t)for(r=[],u=document.querySelectorAll(t),a=0,l=u.length;l>a;a++)i=u[a],r.push(i);else null!=t.nodeType&&(r=[t]);if(null==r||!r.length)throw new Error("Invalid `"+e+"` option provided. Please provide a CSS selector, a plain HTML element or a list of those.");return r},t.confirm=function(t,e,n){return window.confirm(t)?e():null!=n?n():void 0},t.isValidFile=function(t,e){var n,i,r,o,a;if(!e)return!0;for(e=e.split(","),i=t.type,n=i.replace(/\/.*$/,""),o=0,a=e.length;a>o;o++)if(r=e[o],r=r.trim(),"."===r.charAt(0)){if(-1!==t.name.toLowerCase().indexOf(r.toLowerCase(),t.name.length-r.length))return!0}else if(/\/\*$/.test(r)){if(n===r.replace(/\/.*$/,""))return!0}else if(i===r)return!0;return!1},"undefined"!=typeof jQuery&&null!==jQuery&&(jQuery.fn.dropzone=function(e){return this.each(function(){return new t(this,e)})}),"undefined"!=typeof e&&null!==e?e.exports=t:window.Dropzone=t,t.ADDED="added",t.QUEUED="queued",t.ACCEPTED=t.QUEUED,t.UPLOADING="uploading",t.PROCESSING=t.UPLOADING,t.CANCELED="canceled",t.ERROR="error",t.SUCCESS="success",o=function(t){var e,n,i,r,o,a,s,l,u,c;for(s=t.naturalWidth,a=t.naturalHeight,n=document.createElement("canvas"),n.width=1,n.height=a,i=n.getContext("2d"),i.drawImage(t,0,0),r=i.getImageData(0,0,1,a).data,c=0,o=a,l=a;l>c;)e=r[4*(l-1)+3],0===e?o=l:c=l,l=o+c>>1;return u=l/a,0===u?1:u},a=function(t,e,n,i,r,a,s,l,u,c){var d;return d=o(e),t.drawImage(e,n,i,r,a,s,l,u,c/d)},r=function(t,e){var n,i,r,o,a,s,l,u,c;if(r=!1,c=!0,i=t.document,u=i.documentElement,n=i.addEventListener?"addEventListener":"attachEvent",l=i.addEventListener?"removeEventListener":"detachEvent",s=i.addEventListener?"":"on",o=function(n){return"readystatechange"!==n.type||"complete"===i.readyState?(("load"===n.type?t:i)[l](s+n.type,o,!1),!r&&(r=!0)?e.call(t,n.type||n):void 0):void 0},a=function(){var t;try{u.doScroll("left")}catch(e){return t=e,void setTimeout(a,50)}return o("poll")},"complete"!==i.readyState){if(i.createEventObject&&u.doScroll){try{c=!t.frameElement}catch(d){}c&&a()}return i[n](s+"DOMContentLoaded",o,!1),i[n](s+"readystatechange",o,!1),t[n](s+"load",o,!1)}},t._autoDiscoverFunction=function(){return t.autoDiscover?t.discover():void 0},r(window,t._autoDiscoverFunction)}).call(this)}),"object"==typeof exports?module.exports=t("dropzone"):"function"==typeof define&&define.amd?define([],function(){return t("dropzone")}):this.Dropzone=t("dropzone")}(),this.spring||(this.spring=function(){function t(){return"https"==document.location.href.slice(0,5)?"https://ssl-":"http://"}function e(t,e){if(!e){if(!t)return d;e=t,t={r:document.referrer}}d=[t,e];var n=e[w]?e[w]:t[w];return n||(n=e[b]?e[b]:t[b]?t[b]:h),x[n]||(x[n]=[]),x[n].push([t,e]),C=1,d}function n(t,n){C||e({});var r,o,l,u,c;for(o in x)if(x.hasOwnProperty(o))for(l=x[o];l.length>0;){for(u=",",c=[];l.length>0&&(u+=a(s(l.shift(),c),c),!(u.length>g));)l.length>0&&(u+="+");r=i(t,u+";",o,n)}return x={},r}function i(e,n,i,a,s,l){return l=t()+(i?i:h)+"."+m,s=l+"/j0="+n,u=s+"?lt="+(new Date).getTime().toString(36)+"&x="+screen.width+"x"+screen.height+"x"+screen.colorDepth+r(),a&&1!=a?2==a&&((new Image).src=u):$("[data-spring-target]").html('<img src="'+u+'" width="1" height="1" class="absolute">'),e&&o(l),v&&alert(u),s}function r(){if(!this.nlso)try{var t=localStorage.getItem("i00");if(t)return"&c="+t;var e="0000",n=e+Math.ceil((new Date).getTime()/1e3).toString(16)+(32768|65535*Math.random()).toString(16)+e;localStorage.setItem("i00",n)}catch(i){}return""}function o(t,e,n,i){var r=t+"/survey.js";p?p.src=r:(e=document,i="script",p=e.createElement(i),p.type="text/java"+i,p.src=r,n=e.getElementsByTagName(i)[0],n.parentNode.insertBefore(p,n))}function a(t,e){for(var n=0;n<e.length;n+=1)if(e[n]==t)return"~"+n;return e.push(t),t}function s(t,e){var n,i,r,o,l;switch(e||(e=[]),typeof t){case"string":return y(t);case"number":return isFinite(t)?String(t):"null";case"boolean":case"null":return String(t);case"object":if(!t)return"null";if(n=[],"number"==typeof t.length&&!t.propertyIsEnumerable("length")){for(o=t.length,i=0;o>i;i+=1)n.push(a(s(t[i],e),e)||"null");return","+n.join("+")+";"}for(r in t)"string"==typeof r&&r!=b&&r!=w&&(l=s(t[r],e),l&&n.push(a(s(r,e)+"="+l,e)));return","+n.join("+")+";"}return""}function l(t,i,r){return e(t,i),n(!this.ns,r)}function c(){for(;springq.length>0;){var t=springq.shift();t[1]?e(t[0],t[1]):e(t,!1)}n(!this.ns,2),setTimeout("spring.p()",50)}var d,p,f="undefined",h="test",m="tns-gallup.dk",g=typeof spring_ms!=f?spring_ms:2048,v=typeof spring_debug!=f?spring_debug:null,y=encodeURIComponent,b="site",w="s",x={},C=null;return{a:e,add:e,c:l,commit:l,p:c}}(),this.springq&&spring.p()),this.spring_fi||(this.spring_fi=function(){function t(){return"https"==document.location.href.slice(0,5)?"https://ssl-":"http://"}function e(t,e){if(!e){if(!t)return this;e=t,t={r:document.referrer},y=e}var n=e[m]?e[m]:t[m];return n||(n=e[h]?e[h]:t[h]?t[h]:u),g[n]||(g[n]=[]),g[n].push([t,e]),v=1,this}function n(t){v||e({});var n,a,s,l,u;for(a in g)if(g.hasOwnProperty(a))for(s=g[a];s.length>0;){
181for(l=",",u=[];s.length>0&&(l+=r(o(s.shift(),u),u),!(l.length>d));)s.length>0&&(l+="+");n=i(l+";",a,t)}return g={},n}function i(e,n,i){var r=t()+(n?n:u)+"."+c+"/j0="+e,o=r+"?lt="+(new Date).getTime().toString(36)+"&x="+screen.width+"x"+screen.height+"x"+screen.colorDepth;return i&&1!=i?2==i&&((new Image).src=o):$("[data-spring-target]").html('<img src="'+o+'" width="1" height="1" class="absolute">'),p&&alert(o),r}function r(t,e){for(var n=0;n<e.length;n+=1)if(e[n]==t)return"~"+n;return e.push(t),t}function o(t,e){var n,i,a,s,l,u=/[+&,;=~]/g;switch(e||(e=[]),typeof t){case"string":return u.test(t)?escape(t).replace(u,function(t){var e=f[t];return e?e:t}):escape(t);case"number":return isFinite(t)?String(t):"null";case"boolean":case"null":return String(t);case"object":if(!t)return"null";if(n=[],"number"==typeof t.length&&!t.propertyIsEnumerable("length")){for(s=t.length,i=0;s>i;i+=1)n.push(r(o(t[i],e),e)||"null");return","+n.join("+")+";"}for(a in t)"string"==typeof a&&a!=h&&a!=m&&(l=o(t[a],e),l&&n.push(r
181(o(a,e)+"="+l,e)));return","+n.join("+")+";"}return""}function a(t,i,r){return e(t,i),n(r)}function s(){for(;springq.length>0;){var t=springq.shift();t[1]?e(t[0],t[1],2):e(t,!1,2)}a(),setTimeout("spring.p()",50)}var l="undefined",u="test",c="spring-tns.net",d=typeof spring_ms!=l?spring_ms:2048,p=typeof spring_debug!=l?spring_debug:null,f={"+":"%2B",",":"%2C",";":"%3B","=":"%3D","~":"%7E"},h="site",m="s",g={},v=null,y={};return{a:e,add:e,c:a,commit:a,p:s}}()),this.springq&&spring.p(),function(){"use strict";var t;t=jQuery,this.BaseModule=function(){function e(e){this.options=t.extend({},this.defaults,e),this.init()}return e.prototype.defaults={},e.prototype.initialized=!1,e.prototype.refresh=function(){},e.prototype.init=function(){return t(document).on("page:change",function(t){return function(){return t.refresh()}}(this)),this.initialized=!0},e}()}.call(this),function(){"use strict";var t,e,n=function(t,e){function n(){this.constructor=t}for(var r in e)i.call(e,r)&&(t[r]=e[r]);return n.prototype=e.prototype,t.prototype=new n,t.__super__=e.prototype,t},i={}.hasOwnProperty,r=[].slice;t=jQuery,this.BasePlugin=function(e){function i(e,n){this.options=t.extend({},this.defaults,n),this.$this=t(e),this.init()}return n(i,e),i.whitealbumPlugins=[],i.addPlugin=function(t){return this.whitealbumPlugins.push(t)},i}(BaseModule),e=function(e){var n,i;return i=e.name,n="whitealbum."+i,t.fn[i]=function(){var i,o,a,s;return s=arguments[0],o=2<=arguments.length?r.call(arguments,1):[],"string"==typeof s?(i=t(this),a=i.data(n),a[s].apply(a,o)):this.each(function(){return i=t(this),a=i.data(n),a?void 0:i.data(n,a=new e.klass(this,s))})}},t(document).on("page:change",function(){return t.each(BasePlugin.whitealbumPlugins,function(){return e(this),t(this.selector)[this.name]()})})}.call(this),function(t){var e={hasNumber:/[0-9]/,onlyNumbers:/^[0-9]+$/,onlyLetters:/^[a-zA-Z\xc6\xd8\xc5\xe6\xf8\xe5\xd6\xc4\xf6\xe4\-\.\s]+$/,hasLetters:/[a-zA-Z\xc6\xd8\xc5\xe6\xf8\xe5\xd6\xc4\xf6\xe4]/,isEmail:/^(([^<>()[\]\\.,;:\s@\"]+(\.[^<>()[\]\\.,;:\s@\"]+)*)|(\".+\"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/,isImage:/(gif|jpg|jpeg|png)$/i,onlySpaces:/^\s+$/};t.checkRegex=function(t,n){switch(t){case"numberIncluded":return!!n.match(e.hasNumber);case"onlyNumbers":return!!n.match(e.onlyNumbers);case"onlyLetters":return!!n.match(e.onlyLetters);case"hasLetters":return!!n.match(e.hasLetters);case"isEmail":return!!n.match(e.isEmail);case"isImage":return!!n.match(e.isImage);case"onlySpaces":return!!n.match(e.onlySpaces);case"isAdult":var i=(new Date).getFullYear(),r=JSON.parse(n),o=i-r;return!(18>o);default:return!1}}}(jQuery),function(t){var e=function(n,i){this.options=t.extend({},e.DEFAULTS,i),this.bindEvent()};e.DEFAULTS={xs:480,sm:768,md:1025,lg:1200},e.prototype.bindEvent=function(){var e=this,n="xs";return n=e.detect(t(window).width())},e.prototype.detect=function(t){var e=this.options;return e.lg<=t?"lg":e.md<=t&&e.lg>=t?"md":e.sm<=t&&e.md>t?"sm":e.sm>t?"xs":void 0},t.breakpoints=function(t){var n=new e(this);return n.bindEvent(t)}}(jQuery),function(t){t.isTouchDevice=function(){return!!("ontouchstart"in window||"onmsgesturechange"in window||/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent))}}(jQuery),function(t){t.extractSuffix=function(t){var e=t?t.substr(t.lastIndexOf(".")+1):"null";return e}}(jQuery),function(t){t.fn.isPortrait=function(){var t=this.height(),e=this.width();return t>e}}(jQuery),function(t){t.js=function(e){return t("[data-js="+e+"]")}}(jQuery),function(){"use strict";var t;t=jQuery,t.delay=function(t,e){return setTimeout(e,t)},t.interval=function(t,e){return setInterval(e,t)}}.call(this),function(){"use strict";var t,e;t=jQuery,e=function(){function e(){this.init()}return e.prototype.init=function(){var e;return e=0,t.interval(750,function(){return function(){return t(window).scrollTop()-e>150?(t(document).trigger("interval-scroll"),e=t(window).scrollTop()):e>t(window).scrollTop()?e=t(window).scrollTop():void 0}}(this))},e}
181(),window.IntervalScroll=new e}.call(this),function(){"use strict";var t;t=function(){function t(){$(document).on("ready",function(t){return function(){return $('[data-target="auto-scroll"]').length?t.scrollToBottom():void 0}}(this))}return t.prototype.scrollToBottom=function(){var t;return t=$('[data-target="auto-scroll"]'),t[0].scrollTop=t[0].scrollHeight},t}(),window.AutoScrollBottom=new t}.call(this),function(t){window.enableForm=function(){t("#recaptcha-form").prop("disabled",!1)},window.disableForm=function(){t("#recaptcha-form").prop("disabled",!0)}}(jQuery),function(t){function e(t){this.$image=t}function n(){var e=t('[data-target="image-adjust"]');e.length&&e.adjustImage()}e.prototype.adjust=function(){var t=this.$image,e=t.isPortrait();if(e){t.addClass("adjust-image-width");var n=t.parent().height(),i=t.height(),r=-1*(i-n)/2;0>r&&t.css("margin-top",r)}else{t.addClass("adjust-image-height");var o=t.parent().width(),a=t.width(),r=-1*(a-o)/2;0>r&&t.css("margin-left",r)}},t.fn.adjustImage=function(){var t=new e(this);return t.adjust()},t(document).on("page:change",n())}(jQuery),function(t){var e=function(e,n){this.$obj=t(e),this.options=n,this.init()};e.DEFAULTS={x:!0,position:100,speed:.2},e.prototype.init=function(){var e,n={transition:" transform "+this.options.speed+"s linear","-webkit-transition":"-webkit-transform "+this.options.speed+"s linear","-moz-transition":"-moz-transform "+this.options.speed+"s linear","-webkit-backface-visibility":"hidden"},i=t("html").hasClass("ie9"),r=t("html").hasClass("ie8"),o=t("html").hasClass("ie7");if(o||r||i)this.options.x?this.$obj.css("margin-left",this.options.position+"%"):this.$obj.css("margin-top",this.options.position+"%");else{e=this.options.x?""+this.options.position+"%,0,0":"0,"+this.options.position+"%,0";var a={transform:"translate3d("+e+")","-webkit-transform":"translate3d("+e+")","-moz-transform":"translate3d("+e+")"};this.$obj.css(n).css(a)}},t.fn.appSlide=function(n){return this.each(function(){var i=t(this),r=i.data("wa.appslide"),o=t.extend({},e.DEFAULTS,i.data(),"object"==typeof n&&n);r=new e(this,o)})},t.fn.appSlide.Constructor=e}(jQuery),function(t){t.commentsCounter=function(e){var n=t(location).attr("href"),i=0;t.getJSON("http://graph.facebook.com/comments/?ids="+n,function(e){t.each(e,function(t,e){i=e.comments.data.length})}).complete(function(){e(i)})},t(document).on("page:change",function(){$counter=t('[data-target="comments-counter"]'),$counter.length&&t.commentsCounter(function(t){$counter.text(t)})})}(jQuery),function(){function t(){var t=$('[data-toggle="rotator"]');t.length&&e.init({$rotator:t,windowLoaded:!1})}var e=function(){var t;return{init:function(e){t=e;var n=this;this.setImageDimensions(),this.makeSlideshow(function(){n.adjustHeights(),n.triggerAndPauseOnHover()})},makeSlideshow:function(e){var n=t.$rotator.length,i=0;t.$rotator.find("ul").addClass("slides"),t.$rotator.each(function(){var t=$(this),r=t.data("custom-nav"),o=$("."+r).find("li");t.find("img");t.addClass("invisible"),t.flexslider({namespace:"rotator-",animation:"slide",controlNav:!0,directionNav:!0,prevText:'<i class="rotator-arrow-left"></i>',nextText:'<i class="rotator-arrow-right"></i>',manualControls:o,useCSS:!1,slideshowSpeed:5e3,start:function(){i++,i===n&&e(),t.removeClass("invisible"),t.resize(),t.find("img").addClass("imgix-fluid"),window.imgixInit.lazyLoadCheck()}})})},setImageDimensions:function(){var e=t.$rotator.find("img");e.each(function(){var t,e=$(this),n=e.closest('[data-toggle="rotator"]').width();e.hasClass("aspect-tv")?t=n*(9/13):e.hasClass("aspect-wide")?t=n*(12/29):e.hasClass("aspect-square")?t=n:e.hasClass("aspect-portrait")&&(t=1.5*n),e.css({width:n+"px",height:t+"px"})})},adjustHeights:function(){t.$rotator.each(function(){var t=$(this),e=t.find(".rotator-viewport figure"),n=t.find(".rotator-direction-nav li"),i=1e8;e.css("height","auto"),t.find(".slides li").each(function(){var t=$(this).height();i>t?i=t:null});var r=1*i/2-30;e.css("height",i+"px"),n.show().css("margin-top",r+"px"),$customNav=$("."+t.data("custom-nav")),$customNav.css("height",i+"px")})},triggerAndPauseOnHover:function(){t.$rotator.each(function(){var e=$
181(this),n=$("."+e.data("custom-nav")+" li");n.each(function(e){$item=$(this),$item.hoverIntent({over:function(){t.$rotator.flexslider(e),t.$rotator.flexslider("pause")},out:function(){t.$rotator.flexslider("play")}})})})}}}();$(document).on("page:change",t),$(window).on("resize",function(){$('[data-toggle="rotator"]').length&&e.adjustHeights()})}(jQuery),function(t){function e(t){this.imageOrigin=t,this.imagePath=t.data("image-lg")}var n={index:9999,$selector:""};e.prototype.initModal=function(){var e=t("body"),i=t.js("modal-container"),r=t.js("modal-image"),o=this;i.length||(e.append('<div data-js="modal-container" class="modal fade"><div class="modal-full-screen"><div class="close" data-dismiss="modal" aria-hidden="true"></div><div data-js="modal-image" class="modal-image middle"></div><div data-js="modal-arrow" class="modal-arrow"></div><div data-js="modal-arrow" class="modal-arrow arrow-right"></div></div></div>'),i=t.js("modal-container"),r=t.js("modal-image")),t.js("modal-loader").remove(),e.append('<div data-js="modal-loader" class="load-wheel fixed-center white-text"></div>'),r.html('<img src="'+this.imagePath+'" alt="expanded image">');var a=r.find("img");i.modal({backdrop:!0}),t(document).on("keyup",function(){i.modal("hide")}),a.addClass("invisible").load(function(){$this=t(this),setTimeout(function(){t.js("modal-loader").fadeOut(),$this.removeClass("invisible"),n.$selector.length>1?o.gallery(r):t.js("modal-arrow").hide()},400)})},e.prototype.gallery=function(e){var i=n.$selector.length-1,r=t.js("modal-arrow");n.index++,r.unbind("click").on("click",function(){var r=t(this);r.hasClass("arrow-right")?n.index>i?n.index=1:n.index++:0==n.index?n.index=i:n.index--;var o=n.$selector.eq(n.index-1).data("image-lg");e.find("img").fadeOut("slow",function(){e.html('<img src="'+o+'" data-js="new-image" class="bp-hide" alt="expanded image">');var n=t.js("new-image");n.fadeIn()})})},t.fn.modalImage=function(t,i){n.index=i,n.$selector=t;var r=new e(this);return r.initModal()}}(jQuery),$(document).on("click",'[data-toggle="modal-image"]',function(){var t=$('[data-toggle="modal-image"]'),e=t.index(this);"xs"!==$.breakpoints()&&$(this).modalImage(t,e)}),function(t){t(document).on("page:change",function(){var e=t('[data-toggle="popover"]'),n=t('[data-toggle="html-popover"]');e.length&&e.popover(),n.length&&(n.on("click",function(t){t.preventDefault()}),n.popover({html:!0,placement:"bottom",content:function(){return t(t(this).data("contentwrapper")).html()}}))})}(jQuery),function(t){function e(t){this.$form=t}var n;return e.prototype.findPattern=function(){var e=this,i=this.$form.find('[data-toggle="alert-danger"]');n=0,$input=this.$form.find("input"),i.html("").addClass("hidden"),$input.each(function(){var n=t(this);if(n.attr("data-regex")){var i=n.data("regex"),r=n.val(),o=n.data("error-msg");e.checkPattern(i,r,o)}}),$select=this.$form.find("select"),$select.each(function(){var n=t(this);if(n.attr("data-regex")){var i=n.data("regex"),r=n.find("option:selected").val(),o=n.data("error-msg");e.checkPattern(i,r,o)}}),0==n&&e.submitForm()},e.prototype.checkPattern=function(e,n,i){var r=this;switch(e){case"phone":t.checkRegex("onlyNumbers",n)||r.appendError(i);break;case"name":t.checkRegex("onlyLetters",n)||r.appendError(i);break;case"email":t.checkRegex("isEmail",n)||r.appendError(i);break;case"is-adult":t.checkRegex("isAdult",n)||r.appendError(i);break;case"is-adult-alt":var o=JSON.parse(n);o||r.appendError(i)}},e.prototype.submitForm=function(){this.$form.submit()},e.prototype.appendError=function(t){var e=this.$form,i=e.find('[data-toggle="alert-danger"]');e.addClass("js-has-errors"),i.append("<p>"+t+"</p>"),i.removeClass("hidden"),n++}
181,t.fn.validateInputs=function(){var t=new e(this);return t.findPattern()}}(jQuery),$(document).on("click",'[data-toggle="check-regex"]',function(t){t.preventDefault(),$(this).closest("form").validateInputs()}),$(function(){$(document).on("page:change",function(){$('[data-toggle="tooltip"]').tooltip()})}),function(){"use strict";var t,e;t=jQuery,e=function(){function e(){t(document).on("ready",function(t){return function(){return t.checkCookies()}}(this))}return e.prototype.checkCookies=function(){var e,n,i;return n=t("[data-cookie-message]"),e=t("[data-cookie-button]"),i=t.cookie("cookie-accepted"),i?void 0:(n.removeClass("hidden"),e.on("click",function(e){return e.preventDefault(),t.cookie("cookie-accepted","true",{path:"/",expires:365}),n.addClass("hidden")}))},e}(),window.CookiePermission=new e}.call(this),loadFormFromCookie=function(t,e){var n=$.cookie("participant_fields");"undefined"!=typeof n&&JSON.parse(n,function(n,i){if("object"!=typeof i&&0!==i.length){var r=$(e).find('*[name="'+t+"_participation[participant_attributes]["+n+']"]');(r.is("input")||r.is("select"))&&r.val(i)}})},function(){var t;t=function(){function t(){this.menuInitialized=!1,$(document).on("ready",function(t){return function(){return t.init()}}(this)),$(window).on("scroll",function(t){return function(){return t.menuInitialized?t.stickyMenu():void 0}}(this))}return t.prototype.init=function(){return this.$menu=$("[data-sticky-menu]"),this.$menuLogo=$("[data-sticky-menu-logo]"),this.$menuHome=$("[data-sticky-menu-home]"),this.setMenuHeight(),this.menuInitialized=!0},t.prototype.setMenuHeight=function(){return this.$menuHome.css("height",this.$menuHome.outerHeight())},t.prototype.stickyMenu=function(){var t,e,n;return t=$(window).scrollTop(),n=this.$menu.offset().top,e=this.$menuHome.offset().top,t>n?(this.$menu.addClass("sticky-menu"),this.$menuLogo.removeClass("hidden")):e>n?(this.$menu.removeClass("sticky-menu"),this.$menuLogo.addClass("hidden")):void 0},t}(),window.Menu=new t}.call(this),function(){var t;t=function(){function t(){$(document).on("click","[data-transition-link]",function(t){return function(e){return e.metaKey||e.ctrlKey?void 0:t.linkClicked(e)}}(this)),$(document).on("ready",function(t){return function(){return t.pageLoaded()}}(this)),$(window).on("pageshow",function(t){return function(){return t.pageLoaded()}}(this))}return t.prototype.linkClicked=function(t){var e,n;return t.preventDefault(),$("[data-transition-link]").off("click"),e=$("[data-page-transitions]"),n=t.currentTarget.href,$("[data-load-progress]").show(),"md"===$.breakpoints()||"lg"===$.breakpoints()?(e.addClass("out"),$("body").addClass("background-fade"),setTimeout(function(){return e.css("visibility","hidden"),window.location.href=n},500,n,e)):window.location.href=n},t.prototype.pageLoaded=function(){return $("[data-load-progress]").hide(),$("body").removeClass("background-fade")},t}(),window.PageTransitions=new t}.call(this),function(t){var e=function(){return{init:function(e){var e,n,i,r,o=!1,a=!1;t(document).on("page:change",function(){e=t.js("scroll-message"),n=t.js("page-content"),i=t.js("scroll-message-hide"),r=t(document).height()}),t(document).on("interval-scroll",function(){function s(){i.fadeIn(),e.css("margin-right",-1*d),o=!1}if(e&&e.length&&("md"==t.breakpoints()||"lg"==t.breakpoints())&&r>2200){var l=n.height(),u=n.offset().top,c=l+u-750,d=e.outerWidth()+10,p=t(window).width(),f=t(window).scrollTop();e.css("margin-right",-1*d),f>c&&!a?(e.css({"margin-right":0,opacity:1}),o=!0,setTimeout(function(){s(),a=!0},1e4),1300>p-d&&i.fadeOut()):o&&s()}})}}}();e.init()}(jQuery),function(){var t;t=function(){function t(){$(document).on("page:change",function(t){return function(){return t.init()}}(this)),$(document).on("scroll",function(t){return function(){return t.initialized?t.onScroll():void 0}}(this))}var e,n;return e=2200,n=800,t.prototype.init=function(){return this.banner=$('[data-listen="sticky-banner"]'),this.initialized=!0},t.prototype.onScroll=function(){var t;return t=$(document).height(),this.banner.children().length&&t>e?this.stickyBanner():this.banner.hide()},t.prototype.stickyBanner=function(){return this.isScrolledIntoView(this.banner)&&this.banner.removeClass("static"),this.banner.offset().top<n?this.banner.fadeOut("slow",function(t){return function(){return t.banner.addClass("static").fadeIn().css("top",0)}}(this)):void 0},t.prototype.isScrolledIntoView=function(t){var e,n;return e=$(window).scrollTop(),n=$(t).offset().top,e>n},t}(),window.StickyBanner=new t}.call(this),function(t){var e={},n=function(){$sameUrlWidgets=t('div[data-feed-url="'+feedUrl+'"]');var n=0;t.each($sameUrlWidgets,function(e,i){n+=parseInt(t(i).attr("data-number-of-contents"))}),e[feedUrl]={total:n,contentsOffset:0}},i=function(i){$feedWidget=t(i),feedUrl=$feedWidget.attr("data-feed-url"),void 0!=e[feedUrl]&&e!={}||n(),currentNumberOfContents=parseInt($feedWidget.attr("data-number-of-contents")),feedTitle=$feedWidget.attr("data-feed-title"),mobileView=$feedWidget.attr("data-mobile-view");var r,o,a='<div class="article-labels"><span class="category-label"><p>'+feedTitle+"</p></span></div>",s='<article class="article-item"><a href="{url}" target="_blank">{imageHtml}<header class="article-description"><h2 class="h1 gutter-vertical-reset">{title}</h2></header></a></article>';r=void 0===feedTitle||"null"==feedTitle?'<div class="feed-content">{entries}</div>':a+'<div class="feed-content">{entries}</div>',o=void 0===mobileView||"null"==mobileView?"standard":"standard "+mobileView,$feedWidget.rss(feedUrl,{totalEntries:e[feedUrl].totalNumberOfContents,limit:currentNumberOfContents,offsetStart:e[feedUrl].contentsOffset,offsetEnd:e[feedUrl].contentsOffset+currentNumberOfContents,layoutTemplate:r,entryTemplate:'<div class="'+o+'">'+s+"</div>",tokens:{imageHtml:function(t,e){var n;try{if("image"===t.mediaGroups[0].contents[0].medium){var i=t.mediaGroups[0].contents[0].url;n=i.substring(0,i.indexOf("w="))+"w="+$feedWidget.width()}}catch(r){n=e.teaserImageUrl}return""!=n?'<div class="relative text-center"><img class="inline max-full-width" src="'+n+'" border="0"></div>':""}}
181}),e[feedUrl].contentsOffset=e[feedUrl].contentsOffset+currentNumberOfContents},r=t.fn.feedHandling;t.fn.feedHandling=function(e){return this.each(function(){var n=t(this),r=n.data("wa.feedHandling"),o=t.extend({},i.DEFAULTS,n.data(),"object"==typeof e&&e);r||n.data("wa.feedHandling",r=new i(this,o)),"string"==typeof e&&r[e]()})},t.fn.feedHandling.Constructor=i,t.fn.feedHandling.noConflict=function(){return t.fn.feedHandling=r,this},t(document).on("page:change",function(){t("[data-feed-widget]").feedHandling()})}(jQuery),function(t){t.loadBonniershopFeed=function(e){function n(){t("[data-bonniershop-savings]").each(function(){var e=t(this),n=e.text().replace(/[^0-9,]/g,"");e.text(n)})}t.get(e.data("feed-url"),function(){n()})},t(document).on("page:change",function(){t.loadBonniershopFeed(t("[data-bonniershop-feed]"))})}(jQuery),function(){"use strict";var t,e,n=function(t,e){function n(){this.constructor=t}for(var r in e)i.call(e,r)&&(t[r]=e[r]);return n.prototype=e.prototype,t.prototype=new n,t.__super__=e.prototype,t},i={}.hasOwnProperty;t=jQuery,e=function(t){function e(t,n){e.__super__.constructor.call(this,t,n)}return n(e,t),e.prototype.init=function(){return this.$this.on("click",function(t){return t.preventDefault()})},e}(BasePlugin),BasePlugin.addPlugin({name:"preventDefault",klass:e,selector:"[data-prevent-default]"})}.call(this),function(){"use strict";var t,e;t=jQuery,e=function(){function e(){this.init()}return e.prototype.init=function(){return t(document).on("blur keyup","[data-validate-email]",function(e){return function(n){return e.validateEmail(t(n.currentTarget))}}(this)),t(document).on("blur keyup","[data-validate-password=input]",function(e){return function(n){return t('[data-validate-type="create-profile"]').length?e.validatePassword(t(n.currentTarget)):void 0}}(this)),t(document).on("blur keyup","[data-validate-password=confirm]",function(e){return function(n){return t('[data-validate-type="create-profile"]').length?e.validateConfirm(t(n.currentTarget)):void 0}}(this))},e.prototype.validateEmail=function(t){return/\S+@\S+\.\S+/.test(t.val())?this.inputAccepted(t):this.inputDenied(t,t.data("messages-email"))},e.prototype.validatePassword=function(e){return this.inputReset(t("[data-validate-password=confirm]")),e.val().length>7?this.inputAccepted(e):this.inputDenied(e,e.data("messages-password-length"))},e.prototype.validateConfirm=function(e){var n,i;return n=t("[data-validate-password=input]"),i=n.data("validate-messages"),n.val()!==e.val()?this.inputDenied(e,n.data("messages-password-match")):0===e.val().length?this.inputDenied(e,n.data("messages-password-length")):this.inputAccepted(e)},e.prototype.inputAccepted=function(t){return this.inputReset(t),t.closest(".form-group").addClass("has-success")},e.prototype.inputDenied=function(t,e){return this.inputReset(t),t.closest(".form-group").addClass("has-error"),t.siblings(".help-block").remove(),t.after("<div class='help-block error gutter-bottom'>"+e+"</div>")},e.prototype.inputReset=function(t){return t.siblings(".help-block").remove(),t.closest(".form-group").removeClass("has-success has-error")},e}(),window.ValidateSignUp=new e}.call(this),function(){"use strict";var t;t=jQuery,t(document).on("click",'[data-toggle="off-canvas"]',function(){return function(){return t("[data-nav-off-canvas]").toggleClass("active")}}(this))}.call(this),function(){var t;t=function(){function t(){$(document).on("click","[data-newsletter-signup] button",function(t){return function(e){return t.validateForm(e)}}(this))}return t.prototype.validateForm=function(t){var e,n,i,r;return t.preventDefault(),i=$(t.currentTarget).closest("form"),n=i.find("input[name=first_name]"),e=i.find("input[name=email]"),r=i.find(".form-group"),r.removeClass("has-error"),n.val().length||n.closest(".form-group").addClass("has-error"),/^.+@.+\..+$/.test(e.val())||e.closest(".form-group").addClass("has-error"),r.hasClass("has-error")?void 0:i.submit()},t}(),window.ValidateNewsletterSignup=new t}.call(this),function(){var t,e=function(t,e){function i(){this.constructor=t}for(var r in e)n.call(e,r)&&(t[r]=e[r]);return i.prototype=e.prototype,t.prototype=new i,t.__super__=e.prototype,t},n={}.hasOwnProperty;t=function(t){function n(){return n.__super__.constructor.apply(this,arguments)}return e(n,t),n.prototype.imgixFluidSet=null,n.prototype.refresh=function(){var t;return n.__super__.refresh.call(this),this.setImageAspects(),t={updateOnPinchZo
181om:!0,lazyLoad:!0,lazyLoadOffsetVertical:2*$(window).height(),lazyLoadOffsetHorizontal:2*$(window).width()},this.imgixFluidSet=imgix.fluid(t)},n.prototype.lazyLoadCheck=function(){return this.imgixFluidSet?this.imgixFluidSet.reload():void 0},n.prototype.setImageAspects=function(){return $("img").each(function(){var t,e,n;return t=$(this),n=t.width(),e=0,t.is(".aspect-tv, .aspect-wide, .aspect-square, .aspect-portrait")?(t.hasClass("aspect-tv")?e=n*(9/13):t.hasClass("aspect-wide")?e=n*(12/29):t.hasClass("aspect-square")?e=n:t.hasClass("aspect-portrait")&&(e=1.5*n),t.css({"min-height":e+"px"})):void 0})},n}(BaseModule),window.imgixInit=new t,$(window).on("resize",function(){return imgixInit.setImageAspects()})}.call(this),function(t){var e,n,i,r,o,a,s,l,u=t('[data-facebook="root"]'),c=u.data("facebook-id"),d=u.data("facebook-channel"),p=t("html").attr("lang");switch(r=null,i=!1,p){case"da":e="da_DK";break;case"nb":e="nn_NO";break;default:e="en_US"}t(function(){return t(document).on("page:change",function(){return t('[data-facebook="comments"]').length&&(a(),!i)?n():void 0})}),n=function(){return t(document).on("page:fetch",l).on("page:change",s).on("page:change",function(){return"undefined"!=typeof FB&&null!==FB?FB.XFBML.parse():void 0}),i=!0},l=function(){return r=t("#fb-root").detach()},s=function(){return t("#fb-root").length>0?t("#fb-root").replaceWith(r):t("body").append(r)},a=function(){return window.fbAsyncInit=o,t.getScript("//connect.facebook.net/"+e+"/all.js#xfbml=1")},o=function(){return FB.init({appId:c,channelUrl:"//WWW."+d+"/channel.html",status:!0,cookie:!0,xfbml:!0})},t(document).on("click",".btn-facebook.share",function(){var e,n,i;i=t(this).attr("data-url"),n=window.screen.height/2-200,e=window.screen.width/2-210,t(".modal").modal("hide"),window.open("http://www.facebook.com/sharer.php?u="+i,"sharer","top="+n+",left="+e+",screenX="+e+",screenY="+n+",status=no,toolbar=no,menubar=no,scrollbars=no,location=no,directories=no,width=400,height=300")})}(jQuery),function(t){var e=function(){return{init:function(){var e=t("html"),n=e.hasClass("ie9"),i=e.hasClass("ie8"),r=e.hasClass("ie7"),o=e.hasClass("ie6");(n||i||r||o)&&(this.initNoConsoleFix(),this.disableCompetitions(),this.showNoDeprecatedBrowserMsg())},initNoConsoleFix:function(){for(var t,e=function(){},n=["assert","clear","count","debug","dir","dirxml","error","exception","group","groupCollapsed","groupEnd","info","log","markTimeline","profile","profileEnd","table","time","timeEnd","timeline","timelineEnd","timeStamp","trace","warn"],i=n.length,r=window.console=window.console||{};i--;)t=n[i],r[t]||(r[t]=e)},showNoDeprecatedBrowserMsg:function(){t("[data-compatibility=ie-message]").removeClass("hidden")},disableCompetitions:function(){t("[data-competition=form]").addClass("hidden"),t("[data-competition=ie-message]").removeClass("hidden")}}}();t(document).on("ready",function(){e.init()})}(jQuery),$(document).on("page:change",function(){var t=function(){return{init:function(){$(".issuu").length&&this.initIssuu()},initIssuu:function(){$.getScript("//e.issuu.com/embed.js")}}}();t.init()}),function(){var t;t=function(){function t(){this.iframeLength=0,$(document).on("ready",function(t){return function(){return void 0===window.dataLayer&&(window.dataLayer={push:function(){return""}}),t.contentData(),$("[data-meta-information]").length&&t.metaInformation(),t.virtualPageView()}}(this)),$(document).on("interval-scroll",function(t){return function(){return t.bannerClick()}}(this)),$(document).on("horizontal-gallery-slide-change",function(t){return function(){return t.virtualPageView()}}(this)),$(document).on("click",'[data-js="addthis-buttons"] a',function(t){return function(e){return t.trackSocialButtons(e)}}(this))}return t.prototype.contentData=function(){var t,e,n;return t=$("[data-tag-manager-layer]"),n=t.data("content-type"),e=window.location.pathname.replace(/^\/([^\/]*).*$/,"$1"),e.length<=0&&(e="panel"),dataLayer.push({contentType:n,category:e})},t.prototype.metaInformation=function(){var t;return t=$("[data-meta-information]"),dataLayer.push({contentAuthor:t.data("content-author"),contentDate:t.data("content-date")})},t.prototype.virtualPageView=function(){return dataLayer.push({event:"pageview",virtualUrl:window.location.pathname+window.location.search})},t.prototype.bannerClick=function(){var t,e;return t=$("[data-banner-target] iframe"),e="",t.length>this.iframeLength?(this.iframeLength=t.length,e=t.last(),e.iframeTracker({blurCallback:function(){return dataLayer.push({bannerClick:!0,bannerId:"data-banner-code="+e.closest("[data-banner-target]").data("banner-code")})}})):void 0},t.prototype.trackSocialButtons=function(t){var e;return e=$(t.currentTarget).attr("title").toLowerCase(),dataLayer.push({"social-sharing-click":e})},t}(),window.GTMDataLayer=new t}.call(this),function(){"use strict";var t;t=jQuery,t(document).on("ready",function(){return t(document).trigger("page:change")})}.call(this),function(){var t;t=function(){function t(){var t;this.tokenUpdated=!1,t="input, select, textarea, button",$("form").find(t).on("click",function(t){return function(){return t.tokenUpdated?void 0:t.updateToken()}}(this)),$("[data-user-authentication]").on("click",function(t){return function(){return t.tokenUpdated?void 0:t.updateToken()}}(this))}return t.prototype.updateToken=function(){return $.getJSON("/token.json",function(t){return function(e){return $('meta[name="csrf-token"]').attr("content",e.token),$('meta[name="csrf-param"]').attr("content",e.param),t.tokenUpdated=!0,$.rails.refreshCSRFTokens()}}(this))},t}(),$(document).on("ready",function(){return window.CSRFToken=new t})}.call(this),function(t){t(document).on("page:change",function(){judge.eachValidators.presence=function(e,n){return t(this).is(":radio")?judge.closed(t('[name="'+this.name+'"]:radio:checked').length?[]:[n.blank]):judge.closed(this.value.length?[]:[n.blank])}}),t(document).on("submit",'form[data-js="validate-form"]',function(e){e.preventDefault();var n=t(this),i=n.find("[data-validate]"),r=!0;i.each(function(){r=validate(this)&&r}),r&&t.when(remoteValidation(t("#competition_participation_participant_attributes_z
181ip")),remoteValidation(t("#competition_participation_participant_attributes_phone"))).done(function(e,i){"true"==e[0].success&&"true"==i[0].success&&(t(document).off("submit",'form[data-js="validate-form"]'),n.submit())})}),t(document).on("blur","[data-validate]",function(){validate(this)}),validate=function(e){var n=t(e),i=n.closest(".form-group"),r=i.find("span.help-block"),o=!0;return judge.validate(e,{valid:function(){n.attr("data-remote-validation")?t.when(remoteValidation(n)).done(function(t){o="true"==t.success?showValid(i,r):showInvalid(i,r,[t.message])}):o=showValid(i,r)},invalid:function(t,e){o=showInvalid(i,r,e)}}),o},remoteValidation=function(e){var n=e.attr("data-remote-validation")+"="+e.val();return t.ajax({dataType:"json",url:"/competition_participations/remote_validation",data:n})},showInvalid=function(e,n,i){return e.removeClass("has-success").addClass("has-error"),!n.length>0&&(n=t("<span>").addClass("help-block error"),e.append(n)),n.html(i[0]),!1},showValid=function(t,e){return t.removeClass("has-error").addClass("has-success"),e.remove(),!0}}(jQuery),function(){var t;t=function(){function t(){this.cxenseSiteId=$("meta[name=cxense-site-id]").attr("content"),this.cxenseGroupId=$("meta[name=cxense-persisted-query-id]").attr("content"),this.init()}return t.prototype.init=function(){var t;return window.location.href.indexOf("preview=true")<0?(window.cxProfileConfiguration={dmpPersistedQueryId:this.cxenseGroupId},t="undefined"!=typeof getParameterByName("email")?getParameterByName("email"):$.cookie("cxense_display_email"),"undefined"!=typeof this.cxenseSiteId&&""!==this.cxenseGroupId&&cX.callQueue.push(["setSiteId",this.cxenseSiteId]),t&&cX.callQueue.push(["addExternalId",{id:t,type:"bod"}]),cX.callQueue.push(["sync","adform"]),cX.callQueue.push(["sendPageViewEvent"])):void 0},t}(),window.CxenseDisplay=new t}.call(this),function(){var t;t=function(){function t(){this.getAttributes(function(t){return function(e,n){return t.attributes=e,t.authenticated=!!t.attributes,n&&t.authenticated&&t.setCookie(e),t.updateAuthenticatedElements(),t.authenticated?t.updateUserAttributes():void 0}}(this))}return t.prototype.getAttributes=function(t){var e;return e=JSON.parse($.cookie("user_information")),e?t(e,!1):$.ajax(this.apiUrl(),{type:"GET",dataType:"json",xhrFields:{withCredentials:!0},error:function(){return t(null,!1)},success:function(e){return t(e,!0)}})},t.prototype.setCookie=function(t){var e,n,i;
181return n=new Date,i=15,e=$("[data-user-authentication]").data("cookie-domain"),n.setTime(n.getTime()+60*i*1e3),$.cookie("user_information",JSON.stringify(t),{expires:n,path:"/",domain:e})},t.prototype.apiUrl=function(){var t,e;return t=window.location.host,e=$("[data-user-authentication]").data("main-site-url"),t.indexOf("localhost")>-1&&(e=t),e.match(/login\./)?"https://"+e+"/oauth/by_session":"https://"+e+"/api/v1/users/by_session"},t.prototype.updateAuthenticatedElements=function(){return $("[data-user-authentication]").each(function(t){return function(e,n){var i,r,o;return i=$(n),o=i.data("user-authentication"),r=i.data("user-authenticated-class")||"hidden",
182(t.authenticated&&o||!t.authenticated&&!o)&&i.toggleClass(r),t.authenticated&&o?i.attr("href","#"):void 0}}(this))},t.prototype.updateUserAttributes=function(){return $("[data-user-attribute]").each(function(t){return function(e,n){var i,r,o,a,s,l;return i=$(n),r=i.data("user-attribute"),a=i.data("html-attribute"),l=t.attributes[r],o=i.data("value"),o&&(s=new RegExp("{{"+r+"}}"),l=o.replace(s,l)),a?i.attr(a,l):i.html(l)}}(this))},t}(),$(document).on("ready",function(){return $("[data-user-authentication]").length>0?window.userAuthentication=new t:void 0}),$(document).on("click",'[data-signout="common_login"]',function(){return function(t){var e;return t.preventDefault(),e=$("[data-user-authentication]").data("cookie-domain"),$.cookie("user_information",null,{path:"/",domain:e}),window.location.href=$(t.currentTarget).data("signout-url")}}(this))}.call(this),function(){var t;t=function(){function t(){$(document).on("ready",function(t){return function(){return t.init()}}(this))}return t.prototype.init=function(){var t,e;return t=$.cookie("user_information"),e=this.getCountFromCookie(t)||0,this.renderStatus(e),this.renderCount(e)},t.prototype.getCountFromCookie=function(t){return t?(t=JSON.parse(t),t.unread_message_count):void 0},t.prototype.renderCount=function(t){return $("[data-private-message-count]").html(t)},t.prototype.renderStatus=function(t){var e;return e=$("[data-user-status]"),e.removeClass(),t>0?e.addClass("message-count").attr("data-private-message-count",!0):e.addClass("fa fa-check")},t}(),window.PrivateMessageCounter=new t}.call(this),function(t){t(document).on("submit",'form[data-js="submit-search"]',function(e){e.preventDefault();var n=t(this).serializeArray().reduce(function(t,e){return t[e.name]=e.value,t},{}),i="/search?q="+n.q+"&category_id="+n.category_id;null==n.include_test&&"true"==n.with_filters&&(i+="&include_test=false"),null==n.include_fordelszonen&&"true"==n.with_filters&&(i+="&include_fordelszonen=false"),null==n.include_site&&"true"==n.with_filters&&(i+="&include_site=false"),window.location.href=i}),t(document).on("click",'a[data-toggle="collapse"]',function(){"fa icon fa-angle-double-down"==t('a[data-toggle="collapse"] i').attr("class")?t('a[data-toggle="collapse"] i').attr("class","fa icon fa-angle-double-right"):t('a[data-toggle="collapse"] i').attr("class","fa icon fa-angle-double-down")})}(jQuery),function(){"use strict";var t,e;t=jQuery,e=function(){function e(){t(document).on("ready",function(t){return function(){return t.pageView()}}(this)),t(document).on("trigger-pageview",function(t){return function(){return t.pageView()}}(this))}return e.prototype.pageView=function(){return this.trackList="Tracked 1 pageview for: ",this.gemius(),this.TNS(),console.info(this.trackList)},e.prototype.gemius=function(){var e;return e=t("meta[name=gemius-key]").attr("content"),"undefined"!=typeof e&&""!==e?(pp_gemius_event(e),this.trackList=this.trackList+"[Gemius] "):void 0},e.prototype.TNS=function(){var e;return e={s:t("[data-tns-site]").data("tns-site"),cp:t("[data-tns-path]").data("tns-path"),url:window.location.toString()},"undefined"!=typeof e.cp&&""!==e.cp&&(t("[data-tns-country=norway]").length&&this.TNSNorway(e),t("[data-tns-country=denmark]").length&&this.TNSDenmark(e),t("[data-tns-country=finland]").length)?this.TNSFinland(e):void 0},e.prototype.TNSNorway=function(t){return unispring.c(t),this.trackList=this.trackList+"[TNS Norway] "},e.prototype.TNSDenmark=function(t){return spring.c(t),this.trackList=this.trackList+"[TNS Denmark] "},e.prototype.TNSFinland=function(t){return spring_fi.c(t),this.trackList=this.trackList+"[TNS Finland] "},e}(),window.Tracking=new e}.call(this),function(){"use strict";var t,e;t=jQuery,e=function(){function e(){this.$gallery="",this.firstLoad=!0,this.initGalleries()}return e.prototype.initGalleries=function(){return t(document).on("page:change",function(e){return function(){var n;return e.$gallery=t('[data-init="gallery-horizontal"]'),e.classOrigin=e.$gallery.attr("class"),e.$gallery.length?(e.$wrapper=t("[data-gallery-slides]"),e.$slides=e.$wrapper.find("li"),n=t(location).attr("href").split("slide=")[1],e.currentSlide=parseInt(n<=e.$slides.length?n-1:0),e.intervalId=0,e.responsiveLayout(),e.keyboardBindings(),e.thumbnails(),e.changeSlide(!0)):void 0}}(this)),t(document).on("click","[data-gallery-nav]",function(e){return function(n){return n.preventDefault(),"right"===t(n.currentTarget).data("direction")?e.currentSlide++:e.currentSlide--,e.currentSlide<0&&(e.currentSlide=0),e.currentSlide>e.$slides.length-1&&(e.currentSlide=e.$slides.length-1),e.changeSlide()}}(this)),t(document).on("click","[data-facebook=comments]",function(e){return function(n){return e.$gallery.length||t('[data-init="gallery-vertical"]').length?e.insertFacebookComment(t(n.currentTarget)):void 0}}(this)),t(window).on("resize",function(t){return function(){return t.$gallery.length?t.responsiveLayout():void 0}}(this)),t(document).on("page:fetch",function(t){return function(){return t.$gallery.length?clearInterval(t.intervalId):void 0}}(this)),t(window).on("popstate",function(t){return function(){return t.$gallery.length&&t.firstLoad===!1?t.browseBack():void 0}}(this))},e.prototype.changeSlide=function(e){return this.$slides.attr("data-active-slide",!1).hide(),this.$slides.eq(this.currentSlide).attr("data-active-slide",!0).show(),this.slidesCounter(),e||this.pushToBrowserHistory(),0===this.currentSlide?t("[data-direction=left]").hide():this.currentSlide===this.$slides.length-1?(t("[data-direction=right]").hide(),this.countDownOnLastSlide()):(t("[data-direction=left], [data-direction=right]").show(),clearInterval(this.intervalId)),t.commentsCounter(function(e){return t('[data-target="comments-counter"]').text(e)}),window.imgixInit.lazyLoadCheck(),e?void 0:(t(document).trigger("horizontal-gallery-slide-change"),t(document).trigger("trigger-pageview"),this.firstLoad=!1)},e.prototype.keyboardBindings=function(){return t(document).on("keydown",function(e){switch(e.which){case 37:return e.preventDefault(),t("[data-direction=left]").eq(0).trigger("click");case 39:return e.preventDefault(),t("[data-direction=right]").eq(0).trigger("click")}})},e.prototype.thumbnails=function(){return this.$slides.each(function(e){var n;return t(this).find("[data-gallery-banner]").length?void 0:(n="<img src="+t(this).data("thumb-url")+" alt='Thumbn
182ail'>",t("[data-gallery-thumbs]").find("ul").append("<li data-thumb-id="+e+"> "+n+" </li>"))}),t(document).on("click","[data-gallery-thumbs] li",function(e){return function(n){return e.currentSlide=t(n.currentTarget).data("thumb-id"),e.changeSlide()}}(this))},e.prototype.slidesCounter=function(){return t("[data-gallery-counter]").html(this.currentSlide+1+"/"+this.$slides.length)},e.prototype.pushToBrowserHistory=function(){return history.pushState&&!window._phantom?history.pushState(null,null,window.location.pathname+"#slide="+(this.currentSlide+1)):void 0},e.prototype.browseBack=function(){return this.currentSlide>0?(this.currentSlide--,this.changeSlide()):window._phantom?void 0:window.location.href=document.referrer},e.prototype.countDownOnLastSlide=function(){var e,n,i;return e=t('[data-listen="count-down"]'),i=8,n=i,clearInterval(this.intervalId),e.html(i),this.intervalId=t.interval(1e3,function(i){return function(){return e.html(n),0===n&&(clearInterval(i.intervalId),t("[data-load-progress]").show(),window.location.href=e.parents("a").attr("href")),n--}}(this))},e.prototype.insertFacebookComment=function(e){var n;return n=e.find("[data-target=facebook-comments]"),n.html("<div class='fb-comments' data-href='"+t(location).attr("href")+"' data-width='100%' data-numposts='5' data-colorscheme='light'></div>"),FB.XFBML.parse()},e.prototype.responsiveLayout=function(){return"xs"===t.breakpoints()||"sm"===t.breakpoints()?this.$gallery.removeClass("gallery-aside gallery-wide gallery-horizontal").addClass("gallery-vertical"):this.$gallery.removeClass().addClass(this.classOrigin)},e}(),window.Gallery=new e}.call(this),function(t){"use strict";var e=function(n,i){this.$container=t(n),this.$form=this.$container.find('[data-competition="form"]'),this.$endedMessage=this.$container.find('[data-competition="ended-message"]'),this.$thanksMessage=this.$container.find('[data-competition="thanks-message"]'),this.$participatedMessage=this.$container.find('[data-competition="already-participated-message"]'),this.options=t.extend({},e.DEFAULTS,i),this.currentDate=new Date,this.options.activeUntil&&(this.activeUntil=new Date(this.options.activeUntil)),this.init()};e.DEFAULTS={},e.prototype.init=function(){this.participationResult()?"success"==this.participationResult()?(this.$form.addClass("hide"),this.$thanksMessage.removeClass("hide")):"error"==this.participationResult()&&t.js("form-errors").removeClass("hidden"):this.ended()?this.$endedMessage.removeClass("hide"):this.alreadyParticipated()?(this.$participatedMessage.removeClass("hide"),this.$form.addClass("hide")):(this.$form.removeClass("hide"),loadFormFromCookie("competition",this.$form))},e.prototype.ended=function(){return this.activeUntil&&this.currentDate>this.activeUntil},e.prototype.alreadyParticipated=function(){return"true"==t.cookie(this.options.cookieId)},e.prototype.participationResult=function(){return getParameterByName("participation")};var n=t.fn.competition;t.fn.competition=function(n){return this.each(function(){var i=t(this),r=i.data("wa.competition"),o=t.extend({},e.DEFAULTS,i.data(),"object"==typeof n&&n);r||i.data("wa.competition",r=new e(this,o)),"string"==typeof n&&r[n]()})},t.fn.competition.Constructor=e,t.fn.competition.noConflict=function(){return t.fn.competition=n,this},t(document).on("page:change",function(){t('[data-competition="container"]').competition()})}(jQuery);var Contests=function(){var t;return{init:function(e){t=e,this.voteBtn(),this.forcedLogin(),loadFormFromCookie("contest",t.$contestForm)},forcedLogin:function(){t.$modalLogin.modal({show:!0,backdrop:"static"}),t.$modalLogin.find(".close").hide(),t.$modalLogin.find(".btn").on("click",function(){t.$modalLogin.modal("hide")})},voteBtn:function(){t.$voteBtn.on("click",function(){var t=$(this).data("contestant-id");$('[data-contest-participant="contestant_id"]').val(t),$('[data-toggle="contest-modal"]').modal("show")})}}}();$(document).on("page:change",function(){Contests.init({$voteBtn:$('[data-toggle="vote-btn"]'),$modalLogin:$('[data-toggle="login-modal"]'),$contestForm:$('[data-contest="form"]')})}),function(t){function e(e,n){try{Dropzone.forElement(e)}catch(i){var r=new Dropzone(e,n);return r.on("addedfile",function(e){e.previewElement.querySelector(".start").onclick=function(){t(this).css("opacity","0.5").attr("disabled","disabled"),r.process
182File(e)}}),r}}Dropzone.autoDiscover=!1,t(document).on("page:change",function(){defaults={paramName:"file",tokenPath:"/upload_tokens",uploadData:function(t,e){return{image:{key:t,width:e.width,height:e.height}}},init:function(){this.on("sending",function(e,n,i){t.ajax({url:this.options.tokenPath,data:{image:{content_type:e.type,filename:e.name}},success:function(e){t.each(e,function(t,e){i.append(t,e)})},async:!1})}).on("success",function(e,n){e.saveImageKey=t(n).find("key").text(),e.saveImageCallback=t(this.element).data("callback"),t.ajax({url:e.saveImageCallback,type:"POST",data:this.options.uploadData(e.saveImageKey,e),dataType:"script"}),t(this.element).find("figure").remove(),t(this.element).find(".edit-photo").removeClass("hidden"),t(this.element).find("[data-dz-thumbnail]").css("opacity","1")}).on("thumbnail",function(e){t(this.element).find('[data-upload="preview"] .dz-success').addClass("hidden");var n=t('[data-upload="cover"]').height();if(t(this.element).find("figure").addClass("hidden"),t(this.element).find(".edit-photo").addClass("hidden"),e.width<this.element.dropzone.options.thumbnailWidth){var i=(e.height-n)/2;t(this.element).find("[data-dz-cover-thumbnail]").css("margin-top","-"+i+"px"),t(this.element).find("[data-dz-cover-thumbnail]").parent().css("height",n+"px")}}).on("removedfile",function(){t(this.element).find("figure").removeClass("hidden"),t(this.element).find(".edit-photo").removeClass("hidden"),t(this.element).find('[data-upload="preview"] .dz-success').removeClass("hidden")})}},t('[data-upload="image"]').each(function(){var n=t(this),i=n.find('[data-upload="link"]'),r=n.find('[data-upload="template"]'),o=n.find('[data-upload="preview"]'),a=t(this.element).data("thumbnail_width"),s=t(this.element).data("thumbnail_height"),l={thumbnailWidth:a,thumbnailHeight:s,maxFiles:1,autoProcessQueue:!1,clickable:i.get()[0],previewTemplate:r.html(),previewsContainer:o.get()[0]},u=t.extend({},defaults,l,n.data());dropzone=e(this,u)})})}(jQuery),function(){"use strict";var t,e,n=function(t,e){function n(){this.constructor=t}for(var r in e)i.call(e,r)&&(t[r]=e[r]);return n.prototype=e.prototype,t.prototype=new n,t.__super__=e.prototype,t},i={}.hasOwnProperty;t=jQuery,e=function(e){function i(){return i.__super__.constructor.apply(this,arguments)}return n(i,e),i.prototype.refresh=function(){return this.$question=t("[data-question]"),this.$question.length?(this.$count=t("[data-count]"),this.currentQuestion=0,this.$question.eq(0).show(),t(document).on("click","[data-next-btn]",function(t){return function(e){return e.preventDefault(),t.nextQuestion()}}(this))):void 0},i.prototype.nextQuestion=function(){var e,n;return e=this.$question.eq(this.currentQuestion).find("input").is(":checked"),n=this.$question.length-1,this.currentQuestion<n?e?(this.currentQuestion++,this.$question.hide(),this.$question.eq(this.currentQuestion).show(),this.$count.removeClass("current"),this.$count.eq(this.currentQuestion).addClass("current"),window.imgixInit.lazyLoadCheck()):this.$question.eq(this.currentQuestion).find("[data-quiz-alert]").removeClass("hidden"):t("[data-quiz-form]").submit()},i}(BaseModule),window.Quizzes=new e}.call(this),function(){var t;t=function(){function t(){$(document).on("change","[data-story-selector]",function(t){return function(e){return t.selectNavigationChange(e)}}(this))}return t.prototype.selectNavigationChange=function(t){var e;return e=$(t.currentTarget).find("option:selected").data("path"),window.location.href=e},t}(),window.Stories=new t}.call(this);

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.