1/*! 2 * jQuery JavaScript Library v1.7.1 3 * http://jquery.com/ 4 * 5 * Copyright 2011, John Resig 6 * Dual licensed under the MIT or GPL Version 2 licenses. 7 * http://jquery.org/license 8 * 9 * Includes Sizzle.js 10 * http://sizzlejs.com/ 11 * Copyright 2011, The Dojo Foundation 12 * Released under the MIT, BSD, and GPL Licenses. 13 * 14 * Date: Mon Nov 21 21:11:03 2011 -0500 15 */ 16!function(e,t){function n(e){var t,n,i=R[e]={};for(e=e.split(/\s+/),t=0,n=e.length;n>t;t++)i[e[t]]=!0;return i}function i(e,n,i){if(i===t&&1===e.nodeType){var a="data-"+n.replace(U,"-$1").toLowerCase();if(i=e.getAttribute(a),"string"==typeof i){try{i="true"===i?!0:"false"===i?!1:"null"===i?null:P.isNumeric(i)?parseFloat(i):H.test(i)?P.parseJSON(i):i}catch(r){}P.data(e,n,i)}else i=t}return i}function a(e){for(var t in e)if(("data"!==t||!P.isEmptyObject(e[t]))&&"toJSON"!==t)return!1;return!0}function r(e,t,n){var i=t+"defer",a=t+"queue",r=t+"mark",o=P._data(e,i);!o||"queue"!==n&&P._data(e,a)||"mark"!==n&&P._data(e,r)||setTimeout(function(){P._data(e,a)||P._data(e,r)||(P.removeData(e,i,!0),o.fire())},0)}function o(){return!1}function s(){return!0}function l(e){return!e||!e.parentNode||11===e.parentNode.nodeType}function c(e,t,n){if(t=t||0,P.isFunction(t))return P.grep(e,function(e,i){var a=!!t.call(e,i,e);return a===n});if(t.nodeType)return P.grep(e,function(e){return e===t===n});if("string"==typeof t){var i=P.grep(e,function(e){return 1===e.nodeType});if(dt.test(t))return P.filter(t,i,!n);t=P.filter(t,i)}return P.grep(e,function(e){return P.inArray(e,t)>=0===n})}function u(e){var t=gt.split("|"),n=e.createDocumentFragment();if(n.createElement)for(;t.length;)n.createElement(t.pop());return n}function d(e){return P.nodeName(e,"table")?e.getElementsByTagName("tbody")[0]||e.appendChild(e.ownerDocument.createElement("tbody")):e}function h(e,t){if(1===t.nodeType&&P.hasData(e)){var n,i,a,r=P._data(e),o=P._data(t,r),s=r.events;if(s){delete o.handle,o.events={};for(n in s)for(i=0,a=s[n].length;a>i;i++)P.event.add(t,n+(s[n][i].namespace?".":"")+s[n][i].namespace,s[n][i],s[n][i].data)}o.data&&(o.data=P.extend({},o.data))}}function p(e,t){var n;1===t.nodeType&&(t.clearAttributes&&t.clearAttributes(),t.mergeAttributes&&t.mergeAttributes(e),n=t.nodeName.toLowerCase(),"object"===n?t.outerHTML=e.outerHTML:"input"!==n||"checkbox"!==e.type&&"radio"!==e.type?"option"===n?t.selected=e.defaultSelected:("input"===n||"textarea"===n)&&(t.defaultValue=e.defaultValue):(e.checked&&(t.defaultChecked=t.checked=e.checked),t.value!==e.value&&(t.value=e.value)),t.removeAttribute(P.expando))}function f(e){return"undefined"!=typeof e.getElementsByTagName?e.getElementsByTagName("*"):"undefined"!=typeof e.querySelectorAll?e.querySelectorAll("*"):[]}function g(e){("checkbox"===e.type||"radio"===e.type)&&(e.defaultChecked=e.checked)}function m(e){var t=(e.nodeName||"").toLowerCase();"input"===t?g(e):"script"!==t&&"undefined"!=typeof e.getElementsByTagName&&P.grep(e.getElementsByTagName("input"),g)}function v(e){var t=L.createElement("div");return It.appendChild(t),t.innerHTML=e.outerHTML,t.firstChild}function y(e,t){t.src?P.ajax({url:t.src,async:!1,dataType:"script"}):P.globalEval((t.text||t.textContent||t.innerHTML||"").replace(_t,"/*$0*/")),t.parentNode&&t.parentNode.removeChild(t)}function b(e,t,n){var i="width"===t?e.offsetWidth:e.offsetHeight,a="width"===t?Ut:jt,r=0,o=a.length;if(i>0){if("border"!==n)for(;o>r;r++)n||(i-=parseFloat(P.css(e,"padding"+a[r]))||0),"margin"===n?i+=parseFloat(P.css(e,n+a[r]))||0:i-=parseFloat(P.css(e,"border"+a[r]+"Width"))||0;return i+"px"}if(i=Dt(e,t,t),(0>i||null==i)&&(i=e.style[t]||0),i=parseFloat(i)||0,n)for(;o>r;r++)i+=parseFloat(P.css(e,"padding"+a[r]))||0,"padding"!==n&&(i+=parseFloat(P.css(e,"border"+a[r]+"Width"))||0),"margin"===n&&(i+=parseFloat(P.css(e,n+a[r]))||0);return i+"px"}function w(e){return function(t,n){if("string"!=typeof t&&(n=t,t="*"),P.isFunction(n))for(var i,a,r,o=t.toLowerCase().split(nn),s=0,l=o.length;l>s;s++)i=o[s],r=/^\+/.test(i),r&&(i=i.substr(1)||"*"),a=e[i]=e[i]||[],a[r?"unshift":"push"](n)}}function x(e,n,i,a,r,o){r=r||n.dataTypes[0],o=o||{},o[r]=!0;for(var s,l=e[r],c=0,u=l?l.length:0,d=e===sn;u>c&&(d||!s);c++)s=l[c](n,i,a),"string"==typeof s&&(!d||o[s]?s=t:(n.dataTypes.unshift(s),s=x(e,n,i,a,s,o)));return!d&&s||o["*"]||(s=x(e,n,i,a,"*",o)),s}function T(e,n){var i,a,r=P.ajaxSettings.flatOptions||{};
16for(i in n)n[i]!==t&&((r[i]?e:a||(a={}))[i]=n[i]);a&&P.extend(!0,e,a)}function E(e,t,n,i){if(P.isArray(t))P.each(t,function(t,a){n||qt.test(e)?i(e,a):E(e+"["+("object"==typeof a||P.isArray(a)?t:"")+"]",a,n,i)});else if(n||null==t||"object"!=typeof t)i(e,t);else for(var a in t)E(e+"["+a+"]",t[a],n,i)}function S(e,n,i){var a,r,o,s,l=e.contents,c=e.dataTypes,u=e.responseFields;for(r in u)r in i&&(n[u[r]]=i[r]);for(;"*"===c[0];)c.shift(),a===t&&(a=e.mimeType||n.getResponseHeader("content-type"));if(a)for(r in l)if(l[r]&&l[r].test(a)){c.unshift(r);break}if(c[0]in i)o=c[0];else{for(r in i){if(!c[0]||e.converters[r+" "+c[0]]){o=r;break}s||(s=r)}o=o||s}return o?(o!==c[0]&&c.unshift(o),i[o]):void 0}function A(e,n){e.dataFilter&&(n=e.dataFilter(n,e.dataType));var i,a,r,o,s,l,c,u,d=e.dataTypes,h={},p=d.length,f=d[0];for(i=1;p>i;i++){if(1===i)for(a in e.converters)"string"==typeof a&&(h[a.toLowerCase()]=e.converters[a]);if(o=f,f=d[i],"*"===f)f=o;else if("*"!==o&&o!==f){if(s=o+" "+f,l=h[s]||h["* "+f],!l){u=t;for(c in h)if(r=c.split(" "),(r[0]===o||"*"===r[0])&&(u=h[r[1]+" "+f])){c=h[c],c===!0?l=u:u===!0&&(l=c);break}}l||u||P.error("No conversion from "+s.replace(" "," to ")),l!==!0&&(n=l?l(n):u(c(n)))}}return n}function C(){try{return new e.XMLHttpRequest}catch(t){}}function _(){try{return new e.ActiveXObject("Microsoft.XMLHTTP")}catch(t){}}function k(){return setTimeout(I,0),bn=P.now()}function I(){bn=t}function D(e,t){var n={};return P.each(En.concat.apply([],En.slice(0,t)),function(){n[this]=e}),n}function F(e){if(!wn[e]){var t=L.body,n=P("<"+e+">").appendTo(t),i=n.css("display");n.remove(),("none"===i||""===i)&&(mn||(mn=L.createElement("iframe"),mn.frameBorder=mn.width=mn.height=0),t.appendChild(mn),vn&&mn.createElement||(vn=(mn.contentWindow||mn.contentDocument).document,vn.write(("CSS1Compat"===L.compatMode?"<!doctype html>":"")+"<html><body>"),vn.close()),n=vn.createElement(e),vn.body.appendChild(n),i=P.css(n,"display"),t.removeChild(mn)),wn[e]=i}return wn[e]}function N(e){return P.isWindow(e)?e:9===e.nodeType?e.defaultView||e.parentWindow:!1}var L=e.document,$=e.navigator,O=e.location,P=function(){function n(){if(!s.isReady){try{L.documentElement.doScroll("left")}catch(e){return void setTimeout(n,1)}s.ready()}}var i,a,r,o,s=function(e,t){return new s.fn.init(e,t,i)},l=e.jQuery,c=e.$,u=/^(?:[^#<]*(<[\w\W]+>)[^>]*$|#([\w\-]*)$)/,d=/\S/,h=/^\s+/,p=/\s+$/,f=/^<(\w+)\s*\/?>(?:<\/\1>)?$/,g=/^[\],:{}\s]*$/,m=/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,v=/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,y=/(?:^|:|,)(?:\s*\[)+/g,b=/(webkit)[ \/]([\w.]+)/,w=/(opera)(?:.*version)?[ \/]([\w.]+)/,x=/(msie) ([\w.]+)/,T=/(mozilla)(?:.*? rv:([\w.]+))?/,E=/-([a-z]|[0-9])/gi,S=/^-ms-/,A=function(e,t){return(t+"").toUpperCase()},C=$.userAgent,_=Object.prototype.toString,k=Object.prototype.hasOwnProperty,I=Array.prototype.push,D=Array.prototype.slice,F=String.prototype.trim,N=Array.prototype.indexOf,O={};return s.fn=s.prototype={constructor:s,init:function(e,n,i){var a,r,o,l;if(!e)return this;if(e.nodeType)return this.context=this[0]=e,this.length=1,this;if("body"===e&&!n&&L.body)return this.context=L,this[0]=L.body,this.selector=e,this.length=1,this;if("string"==typeof e){if(a="<"===e.charAt(0)&&">"===e.charAt(e.length-1)&&e.length>=3?[null,e,null]:u.exec(e),!a||!a[1]&&n)return!n||n.jquery?(n||i).find(e):this.constructor(n).find(e);if(a[1])return n=n instanceof s?n[0]:n,l=n?n.ownerDocument||n:L,o=f.exec(e),o?s.isPlainObject(n)?(e=[L.createElement(o[1])],s.fn.attr.call(e,n,!0)):e=[l.createElement(o[1])]:(o=s.buildFragment([a[1]],[l]),e=(o.cacheable?s.clone(o.fragment):o.fragment).childNodes),s.merge(this,e);if(r=L.getElementById(a[2]),r&&r.parentNode){if(r.id!==a[2])return i.find(e);this.length=1,this[0]=r}return this.context=L,this.selector=e,this}return s.isFunction(e)?i.ready(e):(e.selector!==t&&(this.selector=e.selector,this.context=e.context),s.makeArray(e,this))},selector:"",jquery:"1.7.1",length:0,size:function(){return this.length},toArray:function(){return D.call(this,0)},get:function(e){return null==e?this.toArray():0>e?this[this.length+e]:this[e]},pushStack:function(e,t,n){var i=this.constructor();
16return s.isArray(e)?I.apply(i,e):s.merge(i,e),i.prevObject=this,i.context=this.context,"find"===t?i.selector=this.selector+(this.selector?" ":"")+n:t&&(i.selector=this.selector+"."+t+"("+n+")"),i},each:function(e,t){return s.each(this,e,t)},ready:function(e){return s.bindReady(),r.add(e),this},eq:function(e){return e=+e,-1===e?this.slice(e):this.slice(e,e+1)},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},slice:function(){return this.pushStack(D.apply(this,arguments),"slice",D.call(arguments).join(","))},map:function(e){return this.pushStack(s.map(this,function(t,n){return e.call(t,n,t)}))},end:function(){return this.prevObject||this.constructor(null)},push:I,sort:[].sort,splice:[].splice},s.fn.init.prototype=s.fn,s.extend=s.fn.extend=function(){var e,n,i,a,r,o,l=arguments[0]||{},c=1,u=arguments.length,d=!1;for("boolean"==typeof l&&(d=l,l=arguments[1]||{},c=2),"object"==typeof l||s.isFunction(l)||(l={}),u===c&&(l=this,--c);u>c;c++)if(null!=(e=arguments[c]))for(n in e)i=l[n],a=e[n],l!==a&&(d&&a&&(s.isPlainObject(a)||(r=s.isArray(a)))?(r?(r=!1,o=i&&s.isArray(i)?i:[]):o=i&&s.isPlainObject(i)?i:{},l[n]=s.extend(d,o,a)):a!==t&&(l[n]=a));return l},s.extend({noConflict:function(t){return e.$===s&&(e.$=c),t&&e.jQuery===s&&(e.jQuery=l),s},isReady:!1,readyWait:1,holdReady:function(e){e?s.readyWait++:s.ready(!0)},ready:function(e){if(e===!0&&!--s.readyWait||e!==!0&&!s.isReady){if(!L.body)return setTimeout(s.ready,1);if(s.isReady=!0,e!==!0&&--s.readyWait>0)return;r.fireWith(L,[s]),s.fn.trigger&&s(L).trigger("ready").off("ready")}},bindReady:function(){if(!r){if(r=s.Callbacks("once memory"),"complete"===L.readyState)return setTimeout(s.ready,1);if(L.addEventListener)L.addEventListener("DOMContentLoaded",o,!1),e.addEventListener("load",s.ready,!1);else if(L.attachEvent){L.attachEvent("onreadystatechange",o),e.attachEvent("onload",s.ready);var t=!1;try{t=null==e.frameElement}catch(i){}L.documentElement.doScroll&&t&&n()}}},isFunction:function(e){return"function"===s.type(e)},isArray:Array.isArray||function(e){return"array"===s.type(e)},isWindow:function(e){return e&&"object"==typeof e&&"setInterval"in e},isNumeric:function(e){return!isNaN(parseFloat(e))&&isFinite(e)},type:function(e){return null==e?String(e):O[_.call(e)]||"object"},isPlainObject:function(e){if(!e||"object"!==s.type(e)||e.nodeType||s.isWindow(e))return!1;try{if(e.constructor&&!k.call(e,"constructor")&&!k.call(e.constructor.prototype,"isPrototypeOf"))return!1}catch(n){return!1}var i;for(i in e);return i===t||k.call(e,i)},isEmptyObject:function(e){for(var t in e)return!1;return!0},error:function(e){throw new Error(e)},parseJSON:function(t){return"string"==typeof t&&t?(t=s.trim(t),e.JSON&&e.JSON.parse?e.JSON.parse(t):g.test(t.replace(m,"@").replace(v,"]").replace(y,""))?new Function("return "+t)():void s.error("Invalid JSON: "+t)):null},parseXML:function(n){var i,a;try{e.DOMParser?(a=new DOMParser,i=a.parseFromString(n,"text/xml")):(i=new ActiveXObject("Microsoft.XMLDOM"),i.async="false",i.loadXML(n))}catch(r){i=t}return i&&i.documentElement&&!i.getElementsByTagName("parsererror").length||s.error("Invalid XML: "+n),i},noop:function(){},globalEval:function(t){t&&d.test(t)&&(e.execScript||function(t){e.eval.call(e,t)})(t)},camelCase:function(e){return e.replace(S,"ms-").replace(E,A)},nodeName:function(e,t){return e.nodeName&&e.nodeName.toUpperCase()===t.toUpperCase()},each:function(e,n,i){var a,r=0,o=e.length,l=o===t||s.isFunction(e);if(i)if(l){for(a in e)if(n.apply(e[a],i)===!1)break}else for(;o>r&&n.apply(e[r++],i)!==!1;);else if(l){for(a in e)if(n.call(e[a],a,e[a])===!1)break}else for(;o>r&&n.call(e[r],r,e[r++])!==!1;);return e},trim:F?function(e){return null==e?"":F.call(e)}:function(e){return null==e?"":e.toString().replace(h,"").replace(p,"")},makeArray:function(e,t){var n=t||[];if(null!=e){var i=s.type(e);null==e.length||"string"===i||"function"===i||"regexp"===i||s.isWindow(e)?I.call(n,e):s.merge(n,e)}return n},inArray:function(e,t,n){var i;if(t){if(N)return N.call(t,e,n);for(i=t.length,n=n?0>n?Math.max(0,i+n):n:0;i>n;n++)if(n in t&&t[n]===e)return n}return-1},merge:function(e,n){var i=e.length,a=0;if("number"==typeof n.length)for(var r=n.length;r>a;a++)e[i++]=n[a];else for(;n[a]!==t;)e[i++]=n[a++];return e.length=i,e},grep:function(e,t,n){var i,a=[];
16n=!!n;for(var r=0,o=e.length;o>r;r++)i=!!t(e[r],r),n!==i&&a.push(e[r]);return a},map:function(e,n,i){var a,r,o=[],l=0,c=e.length,u=e instanceof s||c!==t&&"number"==typeof c&&(c>0&&e[0]&&e[c-1]||0===c||s.isArray(e));if(u)for(;c>l;l++)a=n(e[l],l,i),null!=a&&(o[o.length]=a);else for(r in e)a=n(e[r],r,i),null!=a&&(o[o.length]=a);return o.concat.apply([],o)},guid:1,proxy:function(e,n){if("string"==typeof n){var i=e[n];n=e,e=i}if(!s.isFunction(e))return t;var a=D.call(arguments,2),r=function(){return e.apply(n,a.concat(D.call(arguments)))};return r.guid=e.guid=e.guid||r.guid||s.guid++,r},access:function(e,n,i,a,r,o){var l=e.length;if("object"==typeof n){for(var c in n)s.access(e,c,n[c],a,r,i);return e}if(i!==t){a=!o&&a&&s.isFunction(i);for(var u=0;l>u;u++)r(e[u],n,a?i.call(e[u],u,r(e[u],n)):i,o);return e}return l?r(e[0],n):t},now:function(){return(new Date).getTime()},uaMatch:function(e){e=e.toLowerCase();var t=b.exec(e)||w.exec(e)||x.exec(e)||e.indexOf("compatible")<0&&T.exec(e)||[];return{browser:t[1]||"",version:t[2]||"0"}},sub:function(){function e(t,n){return new e.fn.init(t,n)}s.extend(!0,e,this),e.superclass=this,e.fn=e.prototype=this(),e.fn.constructor=e,e.sub=this.sub,e.fn.init=function(n,i){return i&&i instanceof s&&!(i instanceof e)&&(i=e(i)),s.fn.init.call(this,n,i,t)},e.fn.init.prototype=e.fn;var t=e(L);return e},browser:{}}),s.each("Boolean Number String Function Array Date RegExp Object".split(" "),function(e,t){O["[object "+t+"]"]=t.toLowerCase()}),a=s.uaMatch(C),a.browser&&(s.browser[a.browser]=!0,s.browser.version=a.version),s.browser.webkit&&(s.browser.safari=!0),d.test("\xa0")&&(h=/^[\s\xA0]+/,p=/[\s\xA0]+$/),i=s(L),L.addEventListener?o=function(){L.removeEventListener("DOMContentLoaded",o,!1),s.ready()}:L.attachEvent&&(o=function(){"complete"===L.readyState&&(L.detachEvent("onreadystatechange",o),s.ready())}),s}(),R={};P.Callbacks=function(e){e=e?R[e]||n(e):{};var i,a,r,o,s,l=[],c=[],u=function(t){var n,i,a,r;for(n=0,i=t.length;i>n;n++)a=t[n],r=P.type(a),"array"===r?u(a):"function"===r&&(e.unique&&h.has(a)||l.push(a))},d=function(t,n){for(n=n||[],i=!e.memory||[t,n],a=!0,s=r||0,r=0,o=l.length;l&&o>s;s++)if(l[s].apply(t,n)===!1&&e.stopOnFalse){i=!0;break}a=!1,l&&(e.once?i===!0?h.disable():l=[]:c&&c.length&&(i=c.shift(),h.fireWith(i[0],i[1])))},h={add:function(){if(l){var e=l.length;u(arguments),a?o=l.length:i&&i!==!0&&(r=e,d(i[0],i[1]))}return this},remove:function(){if(l)for(var t=arguments,n=0,i=t.length;i>n;n++)for(var r=0;r<l.length&&(t[n]!==l[r]||(a&&o>=r&&(o--,s>=r&&s--),l.splice(r--,1),!e.unique));r++);return this},has:function(e){if(l)for(var t=0,n=l.length;n>t;t++)if(e===l[t])return!0;return!1},empty:function(){return l=[],this},disable:function(){return l=c=i=t,this},disabled:function(){return!l},lock:function(){return c=t,i&&i!==!0||h.disable(),this},locked:function(){return!c},fireWith:function(t,n){return c&&(a?e.once||c.push([t,n]):e.once&&i||d(t,n)),this},fire:function(){return h.fireWith(this,arguments),this},fired:function(){return!!i}};return h};var M=[].slice;P.extend({Deferred:function(e){var t,n=P.Callbacks("once memory"),i=P.Callbacks("once memory"),a=P.Callbacks("memory"),r="pending",o={resolve:n,reject:i,notify:a},s={done:n.add,fail:i.add,progress:a.add,state:function(){return r},isResolved:n.fired,isRejected:i.fired,then:function(e,t,n){return l.done(e).fail(t).progress(n),this},always:function(){return l.done.apply(l,arguments).fail.apply(l,arguments),this},pipe:function(e,t,n){return P.Deferred(function(i){P.each({done:[e,"resolve"],fail:[t,"reject"],progress:[n,"notify"]},function(e,t){var n,a=t[0],r=t[1];l[e](P.isFunction(a)?function(){n=a.apply(this,arguments),n&&P.isFunction(n.promise)?n.promise().then(i.resolve,i.reject,i.notify):i[r+"With"](this===l?i:this,[n])}:i[r])})}).promise()},promise:function(e){if(null==e)e=s;else for(var t in s)e[t]=s[t];return e}},l=s.promise({});for(t in o)l[t]=o[t].fire,l[t+"With"]=o[t].fireWith;return l.done(function(){r="resolved"},i.disable,a.lock).fail(function(){r="rejected"},n.disable,a.lock),e&&e.call(l,l),l},when:function(e){function t(e){return function(t){i[e]=arguments.length>1?M.call(arguments,0):t,--s||l.resolveWith(l,i)}}function n(e){return function(t){o[e]=arguments.length>1?M.call(arguments,0):t,l.notifyWith(c,o)}}var i=M.call(arguments,0),a=0,r=i.length,o=new Array(r),s=r,l=1>=r&&e&&P.isFunction(e.promise)?e:P.Deferred(),c=l.promise();if(r>1){for(;r>a;a++)i[a]&&i[a].promise&&P.isFunction(i[a].promise)?i[a].promise().then(t(a),l.reject,n(a)):--s;s||l.resolveWith(l,i)}else l!==e&&l.resolveWith(l,r?[e]:[]);return c}}),P.support=function(){{var t,n,i,a,r,o,s,l,c,u,d,h,p=L.createElement("div");L.documentElement}if(p.setAttribute("className","t"),p.innerHTML=" <link/><table></table><a href='/a' style='top:1px;float:left;opacity:.55;'>a</a>
16<input type='checkbox'/>",n=p.getElementsByTagName("*"),i=p.getElementsByTagName("a")[0],!n||!n.length||!i)return{};a=L.createElement("select"),r=a.appendChild(L.createElement("option")),o=p.getElementsByTagName("input")[0],t={leadingWhitespace:3===p.firstChild.nodeType,tbody:!p.getElementsByTagName("tbody").length,htmlSerialize:!!p.getElementsByTagName("link").length,style:/top/.test(i.getAttribute("style")),hrefNormalized:"/a"===i.getAttribute("href"),opacity:/^0.55/.test(i.style.opacity),cssFloat:!!i.style.cssFloat,checkOn:"on"===o.value,optSelected:r.selected,getSetAttribute:"t"!==p.className,enctype:!!L.createElement("form").enctype,html5Clone:"<:nav></:nav>"!==L.createElement("nav").cloneNode(!0).outerHTML,submitBubbles:!0,changeBubbles:!0,focusinBubbles:!1,deleteExpando:!0,noCloneEvent:!0,inlineBlockNeedsLayout:!1,shrinkWrapBlocks:!1,reliableMarginRight:!0},o.checked=!0,t.noCloneChecked=o.cloneNode(!0).checked,a.disabled=!0,t.optDisabled=!r.disabled;try{delete p.test}catch(f){t.deleteExpando=!1}if(!p.addEventListener&&p.attachEvent&&p.fireEvent&&(p.attachEvent("onclick",function(){t.noCloneEvent=!1}),p.cloneNode(!0).fireEvent("onclick")),o=L.createElement("input"),o.value="t",o.setAttribute("type","radio"),t.radioValue="t"===o.value,o.setAttribute("checked","checked"),p.appendChild(o),l=L.createDocumentFragment(),l.appendChild(p.lastChild),t.checkClone=l.cloneNode(!0).cloneNode(!0).lastChild.checked,t.appendChecked=o.checked,l.removeChild(o),l.appendChild(p),p.innerHTML="",e.getComputedStyle&&(s=L.createElement("div"),s.style.width="0",s.style.marginRight="0",p.style.width="2px",p.appendChild(s),t.reliableMarginRight=0===(parseInt((e.getComputedStyle(s,null)||{marginRight:0}).marginRight,10)||0)),p.attachEvent)for(d in{submit:1,change:1,focusin:1})u="on"+d,h=u in p,h||(p.setAttribute(u,"return;"),h="function"==typeof p[u]),t[d+"Bubbles"]=h;return l.removeChild(p),l=a=r=s=p=o=null,P(function(){var e,n,i,a,r,o,s,l,u,d,f=L.getElementsByTagName("body")[0];f&&(o=1,s="position:absolute;top:0;left:0;width:1px;height:1px;margin:0;",l="visibility:hidden;border:0;",u="style='"+s+"border:5px solid #000;padding:0;'",d="<div "+u+"><div></div></div><table "+u+" cellpadding='0' cellspacing='0'><tr><td></td></tr></table>",e=L.createElement("div"),e.style.cssText=l+"width:0;height:0;position:static;top:0;margin-top:"+o+"px",f.insertBefore(e,f.firstChild),p=L.createElement("div"),e.appendChild(p),p.innerHTML="<table><tr><td style='padding:0;border:0;display:none'></td><td>t</td></tr></table>",c=p.getElementsByTagName("td"),h=0===c[0].offsetHeight,c[0].style.display="",c[1].style.display="none",t.reliableHiddenOffsets=h&&0===c[0].offsetHeight,p.innerHTML="",p.style.width=p.style.paddingLeft="1px",P.boxModel=t.boxModel=2===p.offsetWidth,"undefined"!=typeof p.style.zoom&&(p.style.display="inline",p.style.zoom=1,t.inlineBlockNeedsLayout=2===p.offsetWidth,p.style.display="",p.innerHTML="<div style='width:4px;'></div>",t.shrinkWrapBlocks=2!==p.offsetWidth),p.style.cssText=s+l,p.innerHTML=d,n=p.firstChild,i=n.firstChild,a=n.nextSibling.firstChild.firstChild,r={doesNotAddBorder:5!==i.offsetTop,doesAddBorderForTableAndCells:5===a.offsetTop},i.style.position="fixed",i.style.top="20px",r.fixedPosition=20===i.offsetTop||15===i.offsetTop,i.style.position=i.style.top="",n.style.overflow="hidden",n.style.position="relative",r.subtractsBorderForOverflowNotVisible=-5===i.offsetTop,r.doesNotIncludeMarginInBodyOffset=f.offsetTop!==o,f.removeChild(e),p=e=null,P.extend(t,r))}),t}();var H=/^(?:\{.*\}|\[.*\])$/,U=/([A-Z])/g;P.extend({cache:{},uuid:0,expando:"jQuery"+(P.fn.jquery+Math.random()).replace(/\D/g,""),noData:{embed:!0,object:"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000",applet:!0},hasData:function(e){return e=e.nodeType?P.cache[e[P.expando]]:e[P.expando],!!e&&!a(e)},data:function(e,n,i,a){if(P.acceptData(e)){var r,o,s,l=P.expando,c="string"==typeof n,u=e.nodeType,d=u?P.cache:e,h=u?e[l]:e[l]&&l,p="events"===n;if(h&&d[h]&&(p||a||d[h].data)||!c||i!==t)return h||(u?e[l]=h=++P.uuid:h=l),d[h]||(d[h]={},u||(d[h].toJSON=P.noop)),("object"==typeof n||"function"==typeof n)&&(a?d[h]=P.extend(d[h],n):d[h].data=P.extend(d[h].data,n)),r=o=d[h],a||(o.data||(o.data={}),o=o.data),i!==t&&(o[P.camelCase(n)]=i),p&&!o[n]?r.events:(c?(s=o[n],null==s&&(s=o[P.camelCase(n)])):s=o,s)}},removeData:function(e,t,n){if(P.acceptData(e)){var i,r,o,s=P.expando,l=e.nodeType,c=l?P.cache:e,u=l?e[s]:s;if(c[u]){if(t&&(i=n?c[u]:c[u].data)){P.isArray(t)||(t in i?t=[t]:(t=P.camelCase(t),t=t in i?[t]:t.split(" ")));for(r=0,o=t.length;o>r;r++)delete i[t[r]];if(!(n?a:P.isEmptyObject)(i))return}
16(n||(delete c[u].data,a(c[u])))&&(P.support.deleteExpando||!c.setInterval?delete c[u]:c[u]=null,l&&(P.support.deleteExpando?delete e[s]:e.removeAttribute?e.removeAttribute(s):e[s]=null))}}},_data:function(e,t,n){return P.data(e,t,n,!0)},acceptData:function(e){if(e.nodeName){var t=P.noData[e.nodeName.toLowerCase()];if(t)return!(t===!0||e.getAttribute("classid")!==t)}return!0}}),P.fn.extend({data:function(e,n){var a,r,o,s=null;if("undefined"==typeof e){if(this.length&&(s=P.data(this[0]),1===this[0].nodeType&&!P._data(this[0],"parsedAttrs"))){r=this[0].attributes;for(var l=0,c=r.length;c>l;l++)o=r[l].name,0===o.indexOf("data-")&&(o=P.camelCase(o.substring(5)),i(this[0],o,s[o]));P._data(this[0],"parsedAttrs",!0)}return s}return"object"==typeof e?this.each(function(){P.data(this,e)}):(a=e.split("."),a[1]=a[1]?"."+a[1]:"",n===t?(s=this.triggerHandler("getData"+a[1]+"!",[a[0]]),s===t&&this.length&&(s=P.data(this[0],e),s=i(this[0],e,s)),s===t&&a[1]?this.data(a[0]):s):this.each(function(){var t=P(this),i=[a[0],n];t.triggerHandler("setData"+a[1]+"!",i),P.data(this,e,n),t.triggerHandler("changeData"+a[1]+"!",i)}))},removeData:function(e){return this.each(function(){P.removeData(this,e)})}}),P.extend({_mark:function(e,t){e&&(t=(t||"fx")+"mark",P._data(e,t,(P._data(e,t)||0)+1))},_unmark:function(e,t,n){if(e!==!0&&(n=t,t=e,e=!1),t){n=n||"fx";var i=n+"mark",a=e?0:(P._data(t,i)||1)-1;a?P._data(t,i,a):(P.removeData(t,i,!0),r(t,n,"mark"))}},queue:function(e,t,n){var i;return e?(t=(t||"fx")+"queue",i=P._data(e,t),n&&(!i||P.isArray(n)?i=P._data(e,t,P.makeArray(n)):i.push(n)),i||[]):void 0},dequeue:function(e,t){t=t||"fx";var n=P.queue(e,t),i=n.shift(),a={};"inprogress"===i&&(i=n.shift()),i&&("fx"===t&&n.unshift("inprogress"),P._data(e,t+".run",a),i.call(e,function(){P.dequeue(e,t)},a)),n.length||(P.removeData(e,t+"queue "+t+".run",!0),r(e,t,"queue"))}}),P.fn.extend({queue:function(e,n){return"string"!=typeof e&&(n=e,e="fx"),n===t?P.queue(this[0],e):this.each(function(){var t=P.queue(this,e,n);"fx"===e&&"inprogress"!==t[0]&&P.dequeue(this,e)})},dequeue:function(e){return this.each(function(){P.dequeue(this,e)})},delay:function(e,t){return e=P.fx?P.fx.speeds[e]||e:e,t=t||"fx",this.queue(t,function(t,n){var i=setTimeout(t,e);n.stop=function(){clearTimeout(i)}})},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,n){function i(){--l||r.resolveWith(o,[o])}"string"!=typeof e&&(n=e,e=t),e=e||"fx";for(var a,r=P.Deferred(),o=this,s=o.length,l=1,c=e+"defer",u=e+"queue",d=e+"mark";s--;)(a=P.data(o[s],c,t,!0)||(P.data(o[s],u,t,!0)||P.data(o[s],d,t,!0))&&P.data(o[s],c,P.Callbacks("once memory"),!0))&&(l++,a.add(i));return i(),r.promise()}});var j,B,z,W=/[\n\t\r]/g,q=/\s+/,V=/\r/g,G=/^(?:button|input)$/i,Y=/^(?:button|input|object|select|textarea)$/i,Z=/^a(?:rea)?$/i,X=/^(?:autofocus|autoplay|async|checked|controls|defer|disabled|hidden|loop|multiple|open|readonly|required|scoped|selected)$/i,K=P.support.getSetAttribute;P.fn.extend({attr:function(e,t){return P.access(this,e,t,!0,P.attr)},removeAttr:function(e){return this.each(function(){P.removeAttr(this,e)})},prop:function(e,t){return P.access(this,e,t,!0,P.prop)},removeProp:function(e){return e=P.propFix[e]||e,this.each(function(){try{this[e]=t,delete this[e]}catch(n){}})},addClass:function(e){var t,n,i,a,r,o,s;if(P.isFunction(e))return this.each(function(t){P(this).addClass(e.call(this,t,this.className))});if(e&&"string"==typeof e)for(t=e.split(q),n=0,i=this.length;i>n;n++)if(a=this[n],1===a.nodeType)if(a.className||1!==t.length){for(r=" "+a.className+" ",o=0,s=t.length;s>o;o++)~r.indexOf(" "+t[o]+" ")||(r+=t[o]+" ");a.className=P.trim(r)}else a.className=e;return this},removeClass:function(e){var n,i,a,r,o,s,l;if(P.isFunction(e))return this.each(function(t){P(this).removeClass(e.call(this,t,this.className))});if(e&&"string"==typeof e||e===t)for(n=(e||"").split(q),i=0,a=this.length;a>i;i++)if(r=this[i],1===r.nodeType&&r.className)if(e){for(o=(" "+r.className+" ").replace(W," "),s=0,l=n.length;l>s;s++)o=o.replace(" "+n[s]+" "," ");r.className=P.trim(o)}else r.className="";return this},toggleClass:function(e,t){var n=typeof e,i="boolean"==typeof t;return this.each(P.isFunction(e)?function(n){P(this).toggleClass(e.call(this,n,this.className,t),t)}:function(){if("string"===n)for(var a,r=0,o=P(this),s=t,l=e.split(q);a=l[r++];)s=i?s:!o.hasClass(a),o[s?"addClass":"removeClass"](a);else("undefined"===n||"boolean"===n)&&(this.className&&P._data(this,"__className__",this.className),this.className=this.className||e===!1?"":P._data(this,"__className__")||"")})},hasClass:function(e){for(var t=" "+e+" ",n=0,i=this.length;i>n;n++)if(1===this[n].nodeType&&(" "+this[n].className+" ").replace(W," ").indexOf(t)>-1)return!0;return!1},val:function(e){var n,i,a,r=this[0];{if(arguments.length)return a=P.isFunction(e),this.each(function(i){var r,o=P(this);1===this.nodeType&&(r=a?e.call(this,i,o.val()):e,null==r?r="":"number"==typeof r?r+="":P.isArray(r)&&(r=P.map(r,function(e){return null==e?"":e+""})),n=P.valHooks[this.nodeName.toLowerCase()]||P.valHooks[this.type],n&&"set"in n&&n.set(this,r,"value")!==t||(this.value=r))});if(r)return n=P.valHooks[r.nodeName.toLowerCase()]||P.valHooks[r.type],n&&"get"in n&&(i=n.get(r,"value"))!==t?i:(i=r.value,"string"==typeof i?i.replace(V,""):null==i?"":i)}}}),P.extend({valHooks:{option:{get:function(e){var t=e.attributes.value;return!t||t.specified?e.value:e.text}},select:{get:function(e){var t,n,i,a,r=e.selectedIndex,o=[],s=e.options,l="select-one"===e.type;if(0>r)return null;for(n=l?r:0,i=l?r+1:s.length;i>n;
16n++)if(a=s[n],!(!a.selected||(P.support.optDisabled?a.disabled:null!==a.getAttribute("disabled"))||a.parentNode.disabled&&P.nodeName(a.parentNode,"optgroup"))){if(t=P(a).val(),l)return t;o.push(t)}return l&&!o.length&&s.length?P(s[r]).val():o},set:function(e,t){var n=P.makeArray(t);return P(e).find("option").each(function(){this.selected=P.inArray(P(this).val(),n)>=0}),n.length||(e.selectedIndex=-1),n}}},attrFn:{val:!0,css:!0,html:!0,text:!0,data:!0,width:!0,height:!0,offset:!0},attr:function(e,n,i,a){var r,o,s,l=e.nodeType;if(e&&3!==l&&8!==l&&2!==l)return a&&n in P.attrFn?P(e)[n](i):"undefined"==typeof e.getAttribute?P.prop(e,n,i):(s=1!==l||!P.isXMLDoc(e),s&&(n=n.toLowerCase(),o=P.attrHooks[n]||(X.test(n)?B:j)),i!==t?null===i?void P.removeAttr(e,n):o&&"set"in o&&s&&(r=o.set(e,i,n))!==t?r:(e.setAttribute(n,""+i),i):o&&"get"in o&&s&&null!==(r=o.get(e,n))?r:(r=e.getAttribute(n),null===r?t:r))},removeAttr:function(e,t){var n,i,a,r,o=0;if(t&&1===e.nodeType)for(i=t.toLowerCase().split(q),r=i.length;r>o;o++)a=i[o],a&&(n=P.propFix[a]||a,P.attr(e,a,""),e.removeAttribute(K?a:n),X.test(a)&&n in e&&(e[n]=!1))},attrHooks:{type:{set:function(e,t){if(G.test(e.nodeName)&&e.parentNode)P.error("type property can't be changed");else if(!P.support.radioValue&&"radio"===t&&P.nodeName(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}},value:{get:function(e,t){return j&&P.nodeName(e,"button")?j.get(e,t):t in e?e.value:null},set:function(e,t,n){return j&&P.nodeName(e,"button")?j.set(e,t,n):void(e.value=t)}}},propFix:{tabindex:"tabIndex",readonly:"readOnly","for":"htmlFor","class":"className",maxlength:"maxLength",cellspacing:"cellSpacing",cellpadding:"cellPadding",rowspan:"rowSpan",colspan:"colSpan",usemap:"useMap",frameborder:"frameBorder",contenteditable:"contentEditable"},prop:function(e,n,i){var a,r,o,s=e.nodeType;if(e&&3!==s&&8!==s&&2!==s)return o=1!==s||!P.isXMLDoc(e),o&&(n=P.propFix[n]||n,r=P.propHooks[n]),i!==t?r&&"set"in r&&(a=r.set(e,i,n))!==t?a:e[n]=i:r&&"get"in r&&null!==(a=r.get(e,n))?a:e[n]},propHooks:{tabIndex:{get:function(e){var n=e.getAttributeNode("tabindex");return n&&n.specified?parseInt(n.value,10):Y.test(e.nodeName)||Z.test(e.nodeName)&&e.href?0:t}}}}),P.attrHooks.tabindex=P.propHooks.tabIndex,B={get:function(e,n){var i,a=P.prop(e,n);return a===!0||"boolean"!=typeof a&&(i=e.getAttributeNode(n))&&i.nodeValue!==!1?n.toLowerCase():t},set:function(e,t,n){var i;return t===!1?P.removeAttr(e,n):(i=P.propFix[n]||n,i in e&&(e[i]=!0),e.setAttribute(n,n.toLowerCase())),n}},K||(z={name:!0,id:!0},j=P.valHooks.button={get:function(e,n){var i;return i=e.getAttributeNode(n),i&&(z[n]?""!==i.nodeValue:i.specified)?i.nodeValue:t},set:function(e,t,n){var i=e.getAttributeNode(n);return i||(i=L.createAttribute(n),e.setAttributeNode(i)),i.nodeValue=t+""}},P.attrHooks.tabindex.set=j.set,P.each(["width","height"],function(e,t){P.attrHooks[t]=P.extend(P.attrHooks[t],{set:function(e,n){return""===n?(e.setAttribute(t,"auto"),n):void 0}})}),P.attrHooks.contenteditable={get:j.get,set:function(e,t,n){""===t&&(t="false"),j.set(e,t,n)}}),P.support.hrefNormalized||P.each(["href","src","width","height"],function(e,n){P.attrHooks[n]=P.extend(P.attrHooks[n],{get:function(e){var i=e.getAttribute(n,2);return null===i?t:i}})}),P.support.style||(P.attrHooks.style={get:function(e){return e.style.cssText.toLowerCase()||t},set:function(e,t){return e.style.cssText=""+t}}),P.support.optSelected||(P.propHooks.selected=P.extend(P.propHooks.selected,{get:function(e){var t=e.parentNode;return t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex),null}})),P.support.enctype||(P.propFix.enctype="encoding"),P.support.checkOn||P.each(["radio","checkbox"],function(){P.valHooks[this]={get:function(e){return null===e.getAttribute("value")?"on":e.value}}}),P.each(["radio","checkbox"],function(){P.valHooks[this]=P.extend(P.valHooks[this],{set:function(e,t){return P.isArray(t)?e.checked=P.inArray(P(e).val(),t)>=0:void 0}})});var Q=/^(?:textarea|input|select)$/i,J=/^([^\.]*)?(?:\.(.+))?$/,et=/\bhover(\.\S+)?\b/,tt=/^key/,nt=/^(?:mouse|contextmenu)|click/,it=/^(?:focusinfocus|focusoutblur)$/,at=/^(\w*)(?:#([\w\-]+))?(?:\.([\w\-]+))?$/,rt=function(e){var t=at.exec(e);return t&&(t[1]=(t[1]||"").toLowerCase(),t[3]=t[3]&&new RegExp("(?:^|\\s)"+t[3]+"(?:\\s|$)")),t},ot=function(e,t){var n=e.attributes||{};return!(t[1]&&e.nodeName.toLowerCase()!==t[1]||t[2]&&(n.id||{}).value!==t[2]||t[3]&&!t[3].test((n["class"]||{}).value))},st=function(e){return P.event.special.hover?e:e.replace(et,"mouseenter$1 mouseleave$1")};P.event={add:function(e,n,i,a,r){var o,s,l,c,u,d,h,p,f,g,m;if(3!==e.nodeType&&8!==e.nodeType&&n&&i&&(o=P._data(e))){for(i.handler&&(f=i,i=f.handler),i.guid||(i.guid=P.guid++),l=o.events,l||(o.events=l={}),s=o.handle,s||(o.handle=s=function(e){return"undefined"==typeof P||e&&P.event.triggered===e.type?t:P.event.dispatch.apply(s.elem,arguments)},s.elem=e),n=P.trim(st(n)).split(" "),c=0;c<n.length;c++)u=J.exec(n[c])||[],d=u[1],h=(u[2]||"").split(".").sort(),m=P.event.special[d]||{},d=(r?m.delegateType:m.bindType)||d,m=P.event.special[d]||{},p=P.extend({type:d,origType:u[1],data:a,handler:i,guid:i.guid,selector:r,quick:rt(r),namespace:h.join(".")},f),g=l[d],g||(g=l[d]=[],g.delegateCount=0,m.setup&&m.setup.call(e,a,h,s)!==!1||(e.addEventListener?e.addEventListener(d,s,!1):e.attachEvent&&e.attachEvent("on"+d,s))),m.add&&(m.add.call(e,p),p.handler.guid||(p.handler.guid=i.guid)),r?g.splice(g.delegateCount++,0,p):g.push(p),P.event.global[d]=!0; 17e=null}},global:{},remove:function(e,t,n,i,a){var r,o,s,l,c,u,d,h,p,f,g,m,v=P.hasData(e)&&P._data(e);if(v&&(h=v.events)){for(t=P.trim(st(t||"")).split(" "),r=0;r<t.length;r++)if(o=J.exec(t[r])||[],s=l=o[1],c=o[2],s){for(p=P.event.special[s]||{},s=(i?p.delegateType:p.bindType)||s,g=h[s]||[],u=g.length,c=c?new RegExp("(^|\\.)"+c.split(".").sort().join("\\.(?:.*\\.)?")+"(\\.|$)"):null,d=0;d<g.length;d++)m=g[d],!a&&l!==m.origType||n&&n.guid!==m.guid||c&&!c.test(m.namespace)||i&&i!==m.selector&&("**"!==i||!m.selector)||(g.splice(d--,1),m.selector&&g.delegateCount--,p.remove&&p.remove.call(e,m));0===g.length&&u!==g.length&&(p.teardown&&p.teardown.call(e,c)!==!1||P.removeEvent(e,s,v.handle),delete h[s])}else for(s in h)P.event.remove(e,s+t[r],n,i,!0);P.isEmptyObject(h)&&(f=v.handle,f&&(f.elem=null),P.removeData(e,["events","handle"],!0))}},customEvent:{getData:!0,setData:!0,changeData:!0},trigger:function(n,i,a,r){if(!a||3!==a.nodeType&&8!==a.nodeType){var o,s,l,c,u,d,h,p,f,g,m=n.type||n,v=[];
17if(!it.test(m+P.event.triggered)&&(m.indexOf("!")>=0&&(m=m.slice(0,-1),s=!0),m.indexOf(".")>=0&&(v=m.split("."),m=v.shift(),v.sort()),a&&!P.event.customEvent[m]||P.event.global[m]))if(n="object"==typeof n?n[P.expando]?n:new P.Event(m,n):new P.Event(m),n.type=m,n.isTrigger=!0,n.exclusive=s,n.namespace=v.join("."),n.namespace_re=n.namespace?new RegExp("(^|\\.)"+v.join("\\.(?:.*\\.)?")+"(\\.|$)"):null,d=m.indexOf(":")<0?"on"+m:"",a){if(n.result=t,n.target||(n.target=a),i=null!=i?P.makeArray(i):[],i.unshift(n),h=P.event.special[m]||{},!h.trigger||h.trigger.apply(a,i)!==!1){if(f=[[a,h.bindType||m]],!r&&!h.noBubble&&!P.isWindow(a)){for(g=h.delegateType||m,c=it.test(g+m)?a:a.parentNode,u=null;c;c=c.parentNode)f.push([c,g]),u=c;u&&u===a.ownerDocument&&f.push([u.defaultView||u.parentWindow||e,g])}for(l=0;l<f.length&&!n.isPropagationStopped();l++)c=f[l][0],n.type=f[l][1],p=(P._data(c,"events")||{})[n.type]&&P._data(c,"handle"),p&&p.apply(c,i),p=d&&c[d],p&&P.acceptData(c)&&p.apply(c,i)===!1&&n.preventDefault();return n.type=m,r||n.isDefaultPrevented()||h._default&&h._default.apply(a.ownerDocument,i)!==!1||"click"===m&&P.nodeName(a,"a")||!P.acceptData(a)||d&&a[m]&&("focus"!==m&&"blur"!==m||0!==n.target.offsetWidth)&&!P.isWindow(a)&&(u=a[d],u&&(a[d]=null),P.event.triggered=m,a[m](),P.event.triggered=t,u&&(a[d]=u)),n.result}}else{o=P.cache;for(l in o)o[l].events&&o[l].events[m]&&P.event.trigger(n,i,o[l].handle.elem,!0)}}},dispatch:function(n){n=P.event.fix(n||e.event);var i,a,r,o,s,l,c,u,d,h,p=(P._data(this,"events")||{})[n.type]||[],f=p.delegateCount,g=[].slice.call(arguments,0),m=!n.exclusive&&!n.namespace,v=[];if(g[0]=n,n.delegateTarget=this,f&&!n.target.disabled&&(!n.button||"click"!==n.type))for(o=P(this),o.context=this.ownerDocument||this,r=n.target;r!=this;r=r.parentNode||this){for(l={},u=[],o[0]=r,i=0;f>i;i++)d=p[i],h=d.selector,l[h]===t&&(l[h]=d.quick?ot(r,d.quick):o.is(h)),l[h]&&u.push(d);u.length&&v.push({elem:r,matches:u})}for(p.length>f&&v.push({elem:this,matches:p.slice(f)}),i=0;i<v.length&&!n.isPropagationStopped();i++)for(c=v[i],n.currentTarget=c.elem,a=0;a<c.matches.length&&!n.isImmediatePropagationStopped();a++)d=c.matches[a],(m||!n.namespace&&!d.namespace||n.namespace_re&&n.namespace_re.test(d.namespace))&&(n.data=d.data,n.handleObj=d,s=((P.event.special[d.origType]||{}).handle||d.handler).apply(c.elem,g),s!==t&&(n.result=s,s===!1&&(n.preventDefault(),n.stopPropagation())));return n.result},props:"attrChange attrName relatedNode srcElement altKey bubbles cancelable ctrlKey currentTarget eventPhase metaKey relatedTarget shiftKey target timeStamp view which".split(" "),fixHooks:{},keyHooks:{props:"char charCode key keyCode".split(" "),filter:function(e,t){return null==e.which&&(e.which=null!=t.charCode?t.charCode:t.keyCode),e}},mouseHooks:{props:"button buttons clientX clientY fromElement offsetX offsetY pageX pageY screenX screenY toElement".split(" "),filter:function(e,n){var i,a,r,o=n.button,s=n.fromElement;return null==e.pageX&&null!=n.clientX&&(i=e.target.ownerDocument||L,a=i.documentElement,r=i.body,e.pageX=n.clientX+(a&&a.scrollLeft||r&&r.scrollLeft||0)-(a&&a.clientLeft||r&&r.clientLeft||0),e.pageY=n.clientY+(a&&a.scrollTop||r&&r.scrollTop||0)-(a&&a.clientTop||r&&r.clientTop||0)),!e.relatedTarget&&s&&(e.relatedTarget=s===e.target?n.toElement:s),e.which||o===t||(e.which=1&o?1:2&o?3:4&o?2:0),e}},fix:function(e){if(e[P.expando])return e;var n,i,a=e,r=P.event.fixHooks[e.type]||{},o=r.props?this.props.concat(r.props):this.props;for(e=P.Event(a),n=o.length;n;)i=o[--n],e[i]=a[i];return e.target||(e.target=a.srcElement||L),3===e.target.nodeType&&(e.target=e.target.parentNode),e.metaKey===t&&(e.metaKey=e.ctrlKey),r.filter?r.filter(e,a):e},special:{ready:{setup:P.bindReady},load:{noBubble:!0},focus:{delegateType:"focusin"},blur:{delegateType:"focusout"},beforeunload:{setup:function(e,t,n){P.isWindow(this)&&(this.onbeforeunload=n)},teardown:function(e,t){this.onbeforeunload===t&&(this.onbeforeunload=null)}}},simulate:function(e,t,n,i){var a=P.extend(new P.Event,n,{type:e,isSimulated:!0,originalEvent:{}});i?P.event.trigger(a,null,t):P.event.dispatch.call(t,a),a.isDefaultPrevented()&&n.preventDefault()}},P.event.handle=P.event.dispatch,P.removeEvent=L.removeEventListener?function(e,t,n){e.removeEventListener&&e.removeEventListener(t,n,!1)}:function(e,t,n){e.detachEvent&&e.detachEvent("on"+t,n)},P.Event=function(e,t){return this instanceof P.Event?(e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||e.returnValue===!1||e.getPreventDefault&&e.getPreventDefault()?s:o):this.type=e,t&&P.extend(this,t),this.timeStamp=e&&e.timeStamp||P.now(),void(this[P.expando]=!0)):new P.Event(e,t)},P.Event.prototype={preventDefault:function(){this.isDefaultPrevented=s;var e=this.originalEvent;e&&(e.preventDefault?e.preventDefault():e.returnValue=!1)},stopPropagation:function(){this.isPropagationStopped=s;var e=this.originalEvent;e&&(e.stopPropagation&&e.stopPropagation(),e.cancelBubble=!0)},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=s,this.stopPropagation()},isDefaultPrevented:o,isPropagationStopped:o,isImmediatePropagationStopped:o}
17,P.each({mouseenter:"mouseover",mouseleave:"mouseout"},function(e,t){P.event.special[e]={delegateType:t,bindType:t,handle:function(e){{var n,i=this,a=e.relatedTarget,r=e.handleObj;r.selector}return(!a||a!==i&&!P.contains(i,a))&&(e.type=r.origType,n=r.handler.apply(this,arguments),e.type=t),n}}}),P.support.submitBubbles||(P.event.special.submit={setup:function(){return P.nodeName(this,"form")?!1:void P.event.add(this,"click._submit keypress._submit",function(e){var n=e.target,i=P.nodeName(n,"input")||P.nodeName(n,"button")?n.form:t;i&&!i._submit_attached&&(P.event.add(i,"submit._submit",function(e){this.parentNode&&!e.isTrigger&&P.event.simulate("submit",this.parentNode,e,!0)}),i._submit_attached=!0)})},teardown:function(){return P.nodeName(this,"form")?!1:void P.event.remove(this,"._submit")}}),P.support.changeBubbles||(P.event.special.change={setup:function(){return Q.test(this.nodeName)?(("checkbox"===this.type||"radio"===this.type)&&(P.event.add(this,"propertychange._change",function(e){"checked"===e.originalEvent.propertyName&&(this._just_changed=!0)}),P.event.add(this,"click._change",function(e){this._just_changed&&!e.isTrigger&&(this._just_changed=!1,P.event.simulate("change",this,e,!0))})),!1):void P.event.add(this,"beforeactivate._change",function(e){var t=e.target;Q.test(t.nodeName)&&!t._change_attached&&(P.event.add(t,"change._change",function(e){!this.parentNode||e.isSimulated||e.isTrigger||P.event.simulate("change",this.parentNode,e,!0)}),t._change_attached=!0)})},handle:function(e){var t=e.target;return this!==t||e.isSimulated||e.isTrigger||"radio"!==t.type&&"checkbox"!==t.type?e.handleObj.handler.apply(this,arguments):void 0},teardown:function(){return P.event.remove(this,"._change"),Q.test(this.nodeName)}}),P.support.focusinBubbles||P.each({focus:"focusin",blur:"focusout"},function(e,t){var n=0,i=function(e){P.event.simulate(t,e.target,P.event.fix(e),!0)};P.event.special[t]={setup:function(){0===n++&&L.addEventListener(e,i,!0)},teardown:function(){0===--n&&L.removeEventListener(e,i,!0)}}}),P.fn.extend({on:function(e,n,i,a,r){var s,l;if("object"==typeof e){"string"!=typeof n&&(i=n,n=t);for(l in e)this.on(l,n,i,e[l],r);return this}if(null==i&&null==a?(a=n,i=n=t):null==a&&("string"==typeof n?(a=i,i=t):(a=i,i=n,n=t)),a===!1)a=o;else if(!a)return this;return 1===r&&(s=a,a=function(e){return P().off(e),s.apply(this,arguments)},a.guid=s.guid||(s.guid=P.guid++)),this.each(function(){P.event.add(this,e,a,i,n)})},one:function(e,t,n,i){return this.on.call(this,e,t,n,i,1)},off:function(e,n,i){if(e&&e.preventDefault&&e.handleObj){var a=e.handleObj;return P(e.delegateTarget).off(a.namespace?a.type+"."+a.namespace:a.type,a.selector,a.handler),this}if("object"==typeof e){for(var r in e)this.off(r,n,e[r]);return this}return(n===!1||"function"==typeof n)&&(i=n,n=t),i===!1&&(i=o),this.each(function(){P.event.remove(this,e,i,n)})},bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},live:function(e,t,n){return P(this.context).on(e,this.selector,t,n),this},die:function(e,t){return P(this.context).off(e,this.selector||"**",t),this},delegate:function(e,t,n,i){return this.on(t,e,n,i)},undelegate:function(e,t,n){return 1==arguments.length?this.off(e,"**"):this.off(t,e,n)},trigger:function(e,t){return this.each(function(){P.event.trigger(e,t,this)})},triggerHandler:function(e,t){return this[0]?P.event.trigger(e,t,this[0],!0):void 0},toggle:function(e){var t=arguments,n=e.guid||P.guid++,i=0,a=function(n){var a=(P._data(this,"lastToggle"+e.guid)||0)%i;return P._data(this,"lastToggle"+e.guid,a+1),n.preventDefault(),t[a].apply(this,arguments)||!1};for(a.guid=n;i<t.length;)t[i++].guid=n;return this.click(a)},hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)}}),P.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(e,t){P.fn[t]=function(e,n){return null==n&&(n=e,e=null),arguments.length>0?this.on(t,null,e,n):this.trigger(t)},P.attrFn&&(P.attrFn[t]=!0),tt.test(t)&&(P.event.fixHooks[t]=P.event.keyHooks),nt.test(t)&&(P.event.fixHooks[t]=P.event.mouseHooks)}),/*! 18 * Sizzle CSS Selector Engine 19 * Copyright 2011, The Dojo Foundation 20 * Released under the MIT, BSD, and GPL Licenses. 21 * More information: http://sizzlejs.com/ 22 */ 23function(){function e(e,t,n,i,r,o){for(var s=0,l=i.length;l>s;s++){var c=i[s];if(c){var u=!1;for(c=c[e];c;){if(c[a]===n){u=i[c.sizset];break}if(1!==c.nodeType||o||(c[a]=n,c.sizset=s),c.nodeName.toLowerCase()===t){u=c;break}c=c[e]}i[s]=u}}}function n(e,t,n,i,r,o){for(var s=0,l=i.length;l>s;s++){var c=i[s];if(c){var u=!1;for(c=c[e];c;){if(c[a]===n){u=i[c.sizset];break}if(1===c.nodeType)if(o||(c[a]=n,c.sizset=s),"string"!=typeof t){if(c===t){u=!0;break}}else if(h.filter(t,[c]).length>0){u=c;break}c=c[e]}i[s]=u}}}var i=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^\[\]]*\]|['"][^'"]*['"]|[^\[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,a="sizcache"+(Math.random()+"").replace(".",""),r=0,o=Object.prototype.toString,s=!1,l=!0,c=/\\/g,u=/\r\n/g,d=/\W/;[0,0].sort(function(){return l=!1,0});var h=function(e,t,n,a){n=n||[],t=t||L;var r=t;if(1!==t.nodeType&&9!==t.nodeType)return[];if(!e||"string"!=typeof e)return n;var s,l,c,u,d,p,m,v,b=!0,w=h.isXML(t),x=[],E=e;do if(i.exec(""),s=i.exec(E),s&&(E=s[3],x.push(s[1]),s[2])){u=s[3];break}while(s);if(x.length>1&&g.exec(e))if(2===x.length&&f.relative[x[0]])l=T(x[0]+x[1],t,a);else for(l=f.relative[x[0]]?[t]:h(x.shift(),t);x.length;)e=x.shift(),f.relative[e]&&(e+=x.shift()),l=T(e,l,a);else if(!a&&x.length>1&&9===t.nodeType&&!w&&f.match.ID.test(x[0])&&!f.match.ID.test(x[x.length-1])&&(d=h.find(x.shift(),t,w),t=d.expr?h.filter(d.expr,d.set)[0]:d.set[0]),t)for(d=a?{expr:x.pop(),set:y(a)}:h.find(x.pop(),1!==x.length||"~"!==x[0]&&"+"!==x[0]||!t.parentNode?t:t.parentNode,w),l=d.expr?h.filter(d.expr,d.set):d.set,x.length>0?c=y(l):b=!1;x.length;)p=x.pop(),m=p,f.relative[p]?m=x.pop():p="",null==m&&(m=t),f.relative[p](c,m,w);else c=x=[];if(c||(c=l),c||h.error(p||e),"[object Array]"===o.call(c))if(b)if(t&&1===t.nodeType)for(v=0;
vendor: 19,753 bytes, line 23
23null!=c[v];v++)c[v]&&(c[v]===!0||1===c[v].nodeType&&h.contains(t,c[v]))&&n.push(l[v]);else for(v=0;null!=c[v];v++)c[v]&&1===c[v].nodeType&&n.push(l[v]);else n.push.apply(n,c);else y(c,n);return u&&(h(u,r,n,a),h.uniqueSort(n)),n};h.uniqueSort=function(e){if(w&&(s=l,e.sort(w),s))for(var t=1;t<e.length;t++)e[t]===e[t-1]&&e.splice(t--,1);return e},h.matches=function(e,t){return h(e,null,null,t)},h.matchesSelector=function(e,t){return h(t,null,null,[e]).length>0},h.find=function(e,t,n){var i,a,r,o,s,l;if(!e)return[];for(a=0,r=f.order.length;r>a;a++)if(s=f.order[a],(o=f.leftMatch[s].exec(e))&&(l=o[1],o.splice(1,1),"\\"!==l.substr(l.length-1)&&(o[1]=(o[1]||"").replace(c,""),i=f.find[s](o,t,n),null!=i))){e=e.replace(f.match[s],"");break}return i||(i="undefined"!=typeof t.getElementsByTagName?t.getElementsByTagName("*"):[]),{set:i,expr:e}},h.filter=function(e,n,i,a){for(var r,o,s,l,c,u,d,p,g,m=e,v=[],y=n,b=n&&n[0]&&h.isXML(n[0]);e&&n.length;){for(s in f.filter)if(null!=(r=f.leftMatch[s].exec(e))&&r[2]){if(u=f.filter[s],d=r[1],o=!1,r.splice(1,1),"\\"===d.substr(d.length-1))continue;if(y===v&&(v=[]),f.preFilter[s])if(r=f.preFilter[s](r,y,i,v,a,b)){if(r===!0)continue}else o=l=!0;if(r)for(p=0;null!=(c=y[p]);p++)c&&(l=u(c,r,p,y),g=a^l,i&&null!=l?g?o=!0:y[p]=!1:g&&(v.push(c),o=!0));if(l!==t){if(i||(y=v),e=e.replace(f.match[s],""),!o)return[];break}}if(e===m){if(null!=o)break;h.error(e)}m=e}return y},h.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)};var p=h.getText=function(e){var t,n,i=e.nodeType,a="";if(i){if(1===i||9===i){if("string"==typeof e.textContent)return e.textContent;if("string"==typeof e.innerText)return e.innerText.replace(u,"");for(e=e.firstChild;e;e=e.nextSibling)a+=p(e)}else if(3===i||4===i)return e.nodeValue}else for(t=0;n=e[t];t++)8!==n.nodeType&&(a+=p(n));return a},f=h.selectors={order:["ID","NAME","TAG"],match:{ID:/#((?:[\w\u00c0-\uFFFF\-]|\\.)+)/,CLASS:/\.((?:[\w\u00c0-\uFFFF\-]|\\.)+)/,NAME:/\[name=['"]*((?:[\w\u00c0-\uFFFF\-]|\\.)+)['"]*\]/,ATTR:/\[\s*((?:[\w\u00c0-\uFFFF\-]|\\.)+)\s*(?:(\S?=)\s*(?:(['"])(.*?)\3|(#?(?:[\w\u00c0-\uFFFF\-]|\\.)*)|)|)\s*\]/,TAG:/^((?:[\w\u00c0-\uFFFF\*\-]|\\.)+)/,CHILD:/:(only|nth|last|first)-child(?:\(\s*(even|odd|(?:[+\-]?\d+|(?:[+\-]?\d*)?n\s*(?:[+\-]\s*\d+)?))\s*\))?/,POS:/:(nth|eq|gt|lt|first|last|even|odd)(?:\((\d*)\))?(?=[^\-]|$)/,PSEUDO:/:((?:[\w\u00c0-\uFFFF\-]|\\.)+)(?:\((['"]?)((?:\([^\)]+\)|[^\(\)]*)+)\2\))?/},leftMatch:{},attrMap:{"class":"className","for":"htmlFor"},attrHandle:{href:function(e){return e.getAttribute("href")},type:function(e){return e.getAttribute("type")}},relative:{"+":function(e,t){var n="string"==typeof t,i=n&&!d.test(t),a=n&&!i;i&&(t=t.toLowerCase());for(var r,o=0,s=e.length;s>o;o++)if(r=e[o]){for(;(r=r.previousSibling)&&1!==r.nodeType;);e[o]=a||r&&r.nodeName.toLowerCase()===t?r||!1:r===t}a&&h.filter(t,e,!0)},">":function(e,t){var n,i="string"==typeof t,a=0,r=e.length;if(i&&!d.test(t)){for(t=t.toLowerCase();r>a;a++)if(n=e[a]){var o=n.parentNode;e[a]=o.nodeName.toLowerCase()===t?o:!1}}else{for(;r>a;a++)n=e[a],n&&(e[a]=i?n.parentNode:n.parentNode===t);i&&h.filter(t,e,!0)}},"":function(t,i,a){var o,s=r++,l=n;"string"!=typeof i||d.test(i)||(i=i.toLowerCase(),o=i,l=e),l("parentNode",i,s,t,o,a)},"~":function(t,i,a){var o,s=r++,l=n;"string"!=typeof i||d.test(i)||(i=i.toLowerCase(),o=i,l=e),l("previousSibling",i,s,t,o,a)}},find:{ID:function(e,t,n){if("undefined"!=typeof t.getElementById&&!n){var i=t.getElementById(e[1]);return i&&i.parentNode?[i]:[]}},NAME:function(e,t){if("undefined"!=typeof t.getElementsByName){for(var n=[],i=t.getElementsByName(e[1]),a=0,r=i.length;r>a;a++)i[a].getAttribute("name")===e[1]&&n.push(i[a]);return 0===n.length?null:n}},TAG:function(e,t){return"undefined"!=typeof t.getElementsByTagName?t.getElementsByTagName(e[1]):void 0}},preFilter:{CLASS:function(e,t,n,i,a,r){if(e=" "+e[1].replace(c,"")+" ",r)return e;for(var o,s=0;null!=(o=t[s]);s++)o&&(a^(o.className&&(" "+o.className+" ").replace(/[\t\n\r]/g," ").indexOf(e)>=0)?n||i.push(o):n&&(t[s]=!1));return!1},ID:function(e){return e[1].replace(c,"")},TAG:function(e){return e[1].replace(c,"").toLowerCase()},CHILD:function(e){if("nth"===e[1]){e[2]||h.error(e[0]),e[2]=e[2].replace(/^\+|\s*/g,"");var t=/(-?)(\d*)(?:n([+\-]?\d*))?/.exec("even"===e[2]&&"2n"||"odd"===e[2]&&"2n+1"||!/\D/.test(e[2])&&"0n+"+e[2]||e[2]);e[2]=t[1]+(t[2]||1)-0,e[3]=t[3]-0}else e[2]&&h.error(e[0]);return e[0]=r++,e},ATTR:function(e,t,n,i,a,r){var o=e[1]=e[1].replace(c,"");return!r&&f.attrMap[o]&&(e[1]=f.attrMap[o]),e[4]=(e[4]||e[5]||"").replace(c,""),"~="===e[2]&&(e[4]=" "+e[4]+" "),e},PSEUDO:function(e,t,n,a,r){if("not"===e[1]){if(!((i.exec(e[3])||"").length>1||/^\w/.test(e[3]))){var o=h.filter(e[3],t,n,!0^r);return n||a.push.apply(a,o),!1}e[3]=h(e[3],null,null,t)}else if(f.match.POS.test(e[0])||f.match.CHILD.test(e[0]))return!0;return e},POS:function(e){return e.unshift(!0),e}},filters:{enabled:function(e){return e.disabled===!1&&"hidden"!==e.type},disabled:function(e){return e.disabled===!0},checked:function(e){return e.checked===!0},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,e.selected===!0},parent:function(e){return!!e.firstChild},empty:function(e){return!e.firstChild},has:function(e,t,n){return!!h(n[3],e).length},header:function(e){return/h\d/i.test(e.nodeName)},text:function(e){var t=e.getAttribute("type"),n=e.type;return"input"===e.nodeName.toLowerCase()&&"text"===n&&(t===n||null===t)},radio:function(e){return"input"===e.nodeName.toLowerCase()&&"radio"===e.type},checkbox:function(e){return"input"===e.nodeName.toLowerCase()&&"checkbox"===e.type},file:function(e){return"input"===e.nodeName.toLowerCase()&&"file"===e.type},password:function(e){return"input"===e.nodeName.toLowerCase()&&"password"===e.type},submit:function(e){var t=e.nodeName.toLowerCase();return("input"===t||"button"===t)&&"submit"===e.type},image:function(e){return"input"===e.nodeName.toLowerCase()&&"image"===e.type},reset:function(e){var t=e.nodeName.toLowerCase();return("input"===t||"button"===t)&&"reset"===e.type},button:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&"button"===e.type||"button"===t},input:function(e){return/input|select|textarea|button/i.test(e.nodeName)},focus:function(e){return e===e.ownerDocument.activeElement}},setFilters:{first:function(e,t){return 0===t},last:function(e,t,n,i){return t===i.length-1},even:function(e,t){return t%2===0},odd:function(e,t){return t%2===1},lt:function(e,t,n){return t<n[3]-0},gt:function(e,t,n){return t>n[3]-0},nth:function(e,t,n){return n[3]-0===t},eq:function(e,t,n){return n[3]-0===t}},filter:{PSEUDO:function(e,t,n,i){var a=t[1],r=f.filters[a];if(r)return r(e,n,t,i);if("contains"===a)return(e.textContent||e.innerText||p([e])||"").indexOf(t[3])>=0;if("not"===a){for(var o=t[3],s=0,l=o.length;l>s;s++)if(o[s]===e)return!1;return!0}h.error(a)},CHILD:function(e,t){var n,i,r,o,s,l,c=t[1],u=e;switch(c){case"only":case"first":for(;u=u.previousSibling;)if(1===u.nodeType)return!1;if("first"===c)return!0;u=e;case"last":for(;u=u.nextSibling;)if(1===u.nodeType)return!1;return!0;case"nth":if(n=t[2],i=t[3],1===n&&0===i)return!0;if(r=t[0],o=e.parentNode,o&&(o[a]!==r||!e.nodeIndex)){for(s=0,u=o.firstChild;u;u=u.nextSibling)1===u.nodeType&&(u.nodeIndex=++s);o[a]=r}return l=e.nodeIndex-i,0===n?0===l:l%n===0&&l/n>=0}},ID:function(e,t){return 1===e.nodeType&&e.getAttribute("id")===t},TAG:function(e,t){return"*"===t&&1===e.nodeType||!!e.nodeName&&e.nodeName.toLowerCase()===t},CLASS:function(e,t){return(" "+(e.className||e.getAttribute("class"))+" ").indexOf(t)>-1},ATTR:function(e,t){var n=t[1],i=h.attr?h.attr(e,n):f.attrHandle[n]?f.attrHandle[n](e):null!=e[n]?e[n]:e.getAttribute(n),a=i+"",r=t[2],o=t[4];return null==i?"!="===r:!r&&h.attr?null!=i:"="===r?a===o:"*="===r?a.indexOf(o)>=0:"~="===r?(" "+a+" ").indexOf(o)>=0:o?"!="===r?a!==o:"^="===r?0===a.indexOf(o):"$="===r?a.substr(a.length-o.length)===o:"|="===r?a===o||a.substr(0,o.length+1)===o+"-":!1:a&&i!==!1},POS:function(e,t,n,i){var a=t[2],r=f.setFilters[a];return r?r(e,n,t,i):void 0}}},g=f.match.POS,m=function(e,t){return"\\"+(t-0+1)};for(var v in f.match)f.match[v]=new RegExp(f.match[v].source+/(?![^\[]*\])(?![^\(]*\))/.source),f.leftMatch[v]=new RegExp(/(^(?:.|\r|\n)*?)/.source+f.match[v].source.replace(/\\(\d+)/g,m));var y=function(e,t){return e=Array.prototype.slice.call(e,0),t?(t.push.apply(t,e),t):e};try{Array.prototype.slice.call(L.documentElement.childNodes,0)[0].nodeType}catch(b){y=function(e,t){var n=0,i=t||[];if("[object Array]"===o.call(e))Array.prototype.push.apply(i,e);else if("number"==typeof e.length)for(var a=e.length;a>n;n++)i.push(e[n]);else for(;e[n];n++)i.push(e[n]);return i}}var w,x;L.documentElement.compareDocumentPosition?w=function(e,t){return e===t?(s=!0,0):e.compareDocumentPosition&&t.compareDocumentPosition?4&e.compareDocumentPosition(t)?-1:1:e.compareDocumentPosition?-1:1}:(w=function(e,t){if(e===t)return s=!0,0;if(e.sourceIndex&&t.sourceIndex)return e.sourceIndex-t.sourceIndex;var n,i,a=[],r=[],o=e.parentNode,l=t.parentNode,c=o;if(o===l)return x(e,t);if(!o)return-1;if(!l)return 1;for(;c;)a.unshift(c),c=c.parentNode;for(c=l;c;)r.unshift(c),c=c.parentNode;n=a.length,i=r.length;for(var u=0;n>u&&i>u;u++)if(a[u]!==r[u])return x(a[u],r[u]);return u===n?x(e,r[u],-1):x(a[u],t,1)},x=function(e,t,n){if(e===t)return n;for(var i=e.nextSibling;i;){if(i===t)return-1;i=i.nextSibling}return 1}),function(){var e=L.createElement("div"),n="script"+(new Date).getTime(),i=L.documentElement;e.innerHTML="<a name='"+n+"'/>",i.insertBefore(e,i.firstChild),L.getElementById(n)&&(f.find.ID=function(e,n,i){if("undefined"!=typeof n.getElementById&&!i){var a=n.getElementById(e[1]);return a?a.id===e[1]||"undefined"!=typeof a.getAttributeNode&&a.getAttributeNode("id").nodeValue===e[1]?[a]:t:[]}},f.filter.ID=function(e,t){var n="undefined"!=typeof e.getAttributeNode&&e.getAttributeNode("id");return 1===e.nodeType&&n&&n.nodeValue===t}),i.removeChild(e),i=e=null}(),function(){var e=L.createElement("div");e.appendChild(L.createComment("")),e.getElementsByTagName("*").length>0&&(f.find.TAG=function(e,t){var n=t.getElementsByTagName(e[1]);if("*"===e[1]){for(var i=[],a=0;n[a];a++)1===n[a].nodeType&&i.push(n[a]);n=i}return n}),e.innerHTML="<a href='#'></a>",e.firstChild&&"undefined"!=typeof e.firstChild.getAttribute&&"#"!==e.firstChild.getAttribute("href")&&(f.attrHandle.href=function(e){return e.getAttribute("href",2)}),e=null}(),L.querySelectorAll&&!function(){var e=h,t=L.createElement("div"),n="__sizzle__";if(t.innerHTML="<p class='TEST'></p>",!t.querySelectorAll||0!==t.querySelectorAll(".TEST").length){h=function(t,i,a,r){if(i=i||L,!r&&!h.isXML(i)){var o=/^(\w+$)|^\.([\w\-]+$)|^#([\w\-]+$)/.exec(t);if(o&&(1===i.nodeType||9===i.nodeType)){if(o[1])return y(i.getElementsByTagName(t),a);if(o[2]&&f.find.CLASS&&i.getElementsByClassName)return y(i.getElementsByClassName(o[2]),a)}if(9===i.nodeType){if("body"===t&&i.body)return y([i.body],a);if(o&&o[3]){var s=i.getElementById(o[3]);if(!s||!s.parentNode)return y([],a);if(s.id===o[3])return y([s],a)}try{return y(i.querySelectorAll(t),a)}catch(l){}}else if(1===i.nodeType&&"object"!==i.nodeName.toLowerCase()){var c=i,u=i.getAttribute("id"),d=u||n,p=i.parentNode,g=/^\s*[+~]/.test(t);u?d=d.replace(/'/g,"\\$&"):i.setAttribute("id",d),g&&p&&(i=i.parentNode);try{if(!g||p)return y(i.querySelectorAll("[id='"+d+"'] "+t),a)}catch(m){}finally{u||c.removeAttribute("id")}}}return e(t,i,a,r)};for(var i in e)h[i]=e[i];t=null}}(),function(){var e=L.documentElement,t=e.matchesSelector||e.mozMatchesSelector||e.webkitMatchesSelector||e.msMatchesSelector;if(t){var n=!t.call(L.createElement("div"),"div"),i=!1;try{t.call(L.documentElement,"[test!='']:sizzle")}catch(a){i=!0}h.matchesSelector=function(e,a){if(a=a.replace(/\=\s*([^'"\]]*)\s*\]/g,"='$1']"),!h.isXML(e))try{if(i||!f.match.PSEUDO.test(a)&&!/!=/.test(a)){var r=t.call(e,a);if(r||!n||e.document&&11!==e.document.nodeType)return r}}catch(o){}return h(a,null,null,[e]).length>0}}}(),function(){var e=L.createElement("div");e.innerHTML="<div class='test e'></div><div class='test'></div>",e.getElementsByClassName&&0!==e.getElementsByClassName("e").length&&(e.lastChild.className="e",1!==e.getElementsByClassName("e").length&&(f.order.splice(1,0,"CLASS"),f.find.CLASS=function(e,t,n){return"undefined"==typeof t.getElementsByClassName||n?void 0:t.getElementsByClassName(e[1])},e=null))}(),h.contains=L.documentElement.contains?function(e,t){return e!==t&&(e.contains?e.contains(t):!0)}:L.documentElement.compareDocumentPosition?function(e,t){return!!(16&e.compareDocumentPosition(t))}:function(){return!1},h.isXML=function(e){var t=(e?e.ownerDocument||e:0).documentElement;return t?"HTML"!==t.nodeName:!1};var T=function(e,t,n){for(var i,a=[],r="",o=t.nodeType?[t]:t;i=f.match.PSEUDO.exec(e);)r+=i[0],e=e.replace(f.match.PSEUDO,"");e=f.relative[e]?e+"*":e;for(var s=0,l=o.length;l>s;s++)h(e,o[s],a,n);return h.filter(r,a)};h.attr=P.attr,h.selectors.attrMap={},P.find=h,P.expr=h.selectors,P.expr[":"]=P.expr.filters,P.unique=h.uniqueSort,P.text=h.getText,P.isXMLDoc=h.isXML,P.contains=h.contains}();var lt=/Until$/,ct=/^(?:parents|prevUntil|prevAll)/,ut=/,/,dt=/^.[^:#\[\.,]*$/,ht=Array.prototype.slice,pt=P.expr.match.POS,ft={children:!0,contents:!0,next:!0,prev:!0};P.fn.extend({find:function(e){var t,n,i=this;if("string"!=typeof e)return P(e).filter(function(){for(t=0,n=i.length;n>t;t++)if(P.contains(i[t],this))return!0});var a,r,o,s=this.pushStack("","find",e);for(t=0,n=this.length;n>t;t++)if(a=s.length,P.find(e,this[t],s),t>0)for(r=a;r<s.length;r++)for(o=0;a>o;o++)if(s[o]===s[r]){s.splice(r--,1);break}return s},has:function(e){var t=P(e);return this.filter(function(){for(var e=0,n=t.length;n>e;e++)if(P.contains(this,t[e]))return!0})},not:function(e){return this.pushStack(c(this,e,!1),"not",e)},filter:function(e){return this.pushStack(c(this,e,!0),"filter",e)},is:function(e){return!!e&&("string"==typeof e?pt.test(e)?P(e,this.context).index(this[0])>=0:P.filter(e,this).length>0:this.filter(e).length>0)},closest:function(e,t){var n,i,a=[],r=this[0];if(P.isArray(e)){for(var o=1;r&&r.ownerDocument&&r!==t;){for(n=0;n<e.length;n++)P(r).is(e[n])&&a.push({selector:e[n],elem:r,level:o});r=r.parentNode,o++}return a}var s=pt.test(e)||"string"!=typeof e?P(e,t||this.context):0;for(n=0,i=this.length;i>n;n++)for(r=this[n];r;){if(s?s.index(r)>-1:P.find.matchesSelector(r,e)){a.push(r);break}if(r=r.parentNode,!r||!r.ownerDocument||r===t||11===r.nodeType)break}return a=a.length>1?P.unique(a):a,this.pushStack(a,"closest",e)},index:function(e){return e?"string"==typeof e?P.inArray(this[0],P(e)):P.inArray(e.jquery?e[0]:e,this):this[0]&&this[0].parentNode?this.prevAll().length:-1},add:function(e,t){var n="string"==typeof e?P(e,t):P.makeArray(e&&e.nodeType?[e]:e),i=P.merge(this.get(),n);return this.pushStack(l(n[0])||l(i[0])?i:P.unique(i))},andSelf:function(){return this.add(this.prevObject)}}),P.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return P.dir(e,"parentNode")},parentsUntil:function(e,t,n){return P.dir(e,"parentNode",n)},next:function(e){return P.nth(e,2,"nextSibling")},prev:function(e){return P.nth(e,2,"previousSibling")},nextAll:function(e){return P.dir(e,"nextSibling")},prevAll:function(e){return P.dir(e,"previousSibling")},nextUntil:function(e,t,n){return P.dir(e,"nextSibling",n)},prevUntil:function(e,t,n){return P.dir(e,"previousSibling",n)},siblings:function(e){return P.sibling(e.parentNode.firstChild,e)},children:function(e){return P.sibling(e.firstChild)},contents:function(e){return P.nodeName(e,"iframe")?e.contentDocument||e.contentWindow.document:P.makeArray(e.childNodes)}},function(e,t){P.fn[e]=function(n,i){var a=P.map(this,t,n);return lt.test(e)||(i=n),i&&"string"==typeof i&&(a=P.filter(i,a)),a=this.length>1&&!ft[e]?P.unique(a):a,(this.length>1||ut.test(i))&&ct.test(e)&&(a=a.reverse()),this.pushStack(a,e,ht.call(arguments).join(","))}}),P.extend({filter:function(e,t,n){return n&&(e=":not("+e+")"),1===t.length?P.find.matchesSelector(t[0],e)?[t[0]]:[]:P.find.matches(e,t)},dir:function(e,n,i){for(var a=[],r=e[n];r&&9!==r.nodeType&&(i===t||1!==r.nodeType||!P(r).is(i));)1===r.nodeType&&a.push(r),r=r[n];return a},nth:function(e,t,n){t=t||1;for(var i=0;e&&(1!==e.nodeType||++i!==t);e=e[n]);return e},sibling:function(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n}});var gt="abbr|article|aside|audio|canvas|datalist|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video",mt=/ jQuery\d+="(?:\d+|null)"/g,vt=/^\s+/,yt=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,bt=/<([\w:]+)/,wt=/<tbody/i,xt=/<|&#?\w+;/,Tt=/<(?:script|style)/i,Et=/<(?:script|object|embed|option|style)/i,St=new RegExp("<(?:"+gt+")","i"),At=/checked\s*(?:[^=]|=\s*.checked.)/i,Ct=/\/(java|ecma)script/i,_t=/^\s*<!(?:\[CDATA\[|\-\-)/,kt={option:[1,"<select multiple='multiple'>","</select>"],legend:[1,"<fieldset>","</fieldset>"],thead:[1,"<table>","</table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],col:[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"],area:[1,"<map>","</map>"],_default:[0,"",""]},It=u(L);kt.optgroup=kt.option,kt.tbody=kt.tfoot=kt.colgroup=kt.caption=kt.thead,kt.th=kt.td,P.support.htmlSerialize||(kt._default=[1,"div<div>","</div>"]),P.fn.extend({text:function(e){return P.isFunction(e)?this.each(function(t){var n=P(this);n.text(e.call(this,t,n.text()))}):"object"!=typeof e&&e!==t?this.empty().append((this[0]&&this[0].ownerDocument||L).createTextNode(e)):P.text(this)},wrapAll:function(e){if(P.isFunction(e))return this.each(function(t){P(this).wrapAll(e.call(this,t))});if(this[0]){var t=P(e,this[0].ownerDocument).eq(0).clone(!0);this[0].parentNode&&t.insertBefore(this[0]),t.map(function(){for(var e=this;e.firstChild&&1===e.firstChild.nodeType;)e=e.firstChild;return e}).append(this)}return this},wrapInner:function(e){return this.each(P.isFunction(e)?function(t){P(this).wrapInner(e.call(this,t))}:function(){var t=P(this),n=t.contents();n.length?n.wrapAll(e):t.append(e)})},wrap:function(e){var t=P.isFunction(e);return this.each(function(n){P(this).wrapAll(t?e.call(this,n):e)})},unwrap:function(){return this.parent().each(function(){P.nodeName(this,"body")||P(this).replaceWith(this.childNodes)}).end()},append:function(){return this.domManip(arguments,!0,function(e){1===this.nodeType&&this.appendChild(e)})},prepend:function(){return this.domManip(arguments,!0,function(e){1===this.nodeType&&this.insertBefore(e,this.firstChild)})},before:function(){if(this[0]&&this[0].parentNode)return this.domManip(arguments,!1,function(e){this.parentNode.insertBefore(e,this)});if(arguments.length){var e=P.clean(arguments);return e.push.apply(e,this.toArray()),this.pushStack(e,"before",arguments)}},after:function(){if(this[0]&&this[0].parentNode)return this.domManip(arguments,!1,function(e){this.parentNode.insertBefore(e,this.nextSibling)});if(arguments.length){var e=this.pushStack(this,"after",arguments);return e.push.apply(e,P.clean(arguments)),e}},remove:function(e,t){for(var n,i=0;null!=(n=this[i]);i++)(!e||P.filter(e,[n]).length)&&(t||1!==n.nodeType||(P.cleanData(n.getElementsByTagName("*")),P.cleanData([n])),n.parentNode&&n.parentNode.removeChild(n));return this},empty:function(){for(var e,t=0;null!=(e=this[t]);t++)for(1===e.nodeType&&P.cleanData(e.getElementsByTagName("*"));e.firstChild;)e.removeChild(e.firstChild);return this},clone:function(e,t){return e=null==e?!1:e,t=null==t?e:t,this.map(function(){return P.clone(this,e,t)})},html:function(e){if(e===t)return this[0]&&1===this[0].nodeType?this[0].innerHTML.replace(mt,""):null;
23if("string"!=typeof e||Tt.test(e)||!P.support.leadingWhitespace&&vt.test(e)||kt[(bt.exec(e)||["",""])[1].toLowerCase()])P.isFunction(e)?this.each(function(t){var n=P(this);n.html(e.call(this,t,n.html()))}):this.empty().append(e);else{e=e.replace(yt,"<$1></$2>");try{for(var n=0,i=this.length;i>n;n++)1===this[n].nodeType&&(P.cleanData(this[n].getElementsByTagName("*")),this[n].innerHTML=e)}catch(a){this.empty().append(e)}}return this},replaceWith:function(e){return this[0]&&this[0].parentNode?P.isFunction(e)?this.each(function(t){var n=P(this),i=n.html();n.replaceWith(e.call(this,t,i))}):("string"!=typeof e&&(e=P(e).detach()),this.each(function(){var t=this.nextSibling,n=this.parentNode;P(this).remove(),t?P(t).before(e):P(n).append(e)})):this.length?this.pushStack(P(P.isFunction(e)?e():e),"replaceWith",e):this},detach:function(e){return this.remove(e,!0)},domManip:function(e,n,i){var a,r,o,s,l=e[0],c=[];if(!P.support.checkClone&&3===arguments.length&&"string"==typeof l&&At.test(l))return this.each(function(){P(this).domManip(e,n,i,!0)});if(P.isFunction(l))return this.each(function(a){var r=P(this);e[0]=l.call(this,a,n?r.html():t),r.domManip(e,n,i)});if(this[0]){if(s=l&&l.parentNode,a=P.support.parentNode&&s&&11===s.nodeType&&s.childNodes.length===this.length?{fragment:s}:P.buildFragment(e,this,c),o=a.fragment,r=1===o.childNodes.length?o=o.firstChild:o.firstChild){n=n&&P.nodeName(r,"tr");for(var u=0,h=this.length,p=h-1;h>u;u++)i.call(n?d(this[u],r):this[u],a.cacheable||h>1&&p>u?P.clone(o,!0,!0):o)}c.length&&P.each(c,y)}return this}}),P.buildFragment=function(e,t,n){var i,a,r,o,s=e[0];return t&&t[0]&&(o=t[0].ownerDocument||t[0]),o.createDocumentFragment||(o=L),!(1===e.length&&"string"==typeof s&&s.length<512&&o===L&&"<"===s.charAt(0))||Et.test(s)||!P.support.checkClone&&At.test(s)||!P.support.html5Clone&&St.test(s)||(a=!0,r=P.fragments[s],r&&1!==r&&(i=r)),i||(i=o.createDocumentFragment(),P.clean(e,o,i,n)),a&&(P.fragments[s]=r?i:1),{fragment:i,
23cacheable:a}},P.fragments={},P.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(e,t){P.fn[e]=function(n){var i=[],a=P(n),r=1===this.length&&this[0].parentNode;if(r&&11===r.nodeType&&1===r.childNodes.length&&1===a.length)return a[t](this[0]),this;for(var o=0,s=a.length;s>o;o++){var l=(o>0?this.clone(!0):this).get();P(a[o])[t](l),i=i.concat(l)}return this.pushStack(i,e,a.selector)}}),P.extend({clone:function(e,t,n){var i,a,r,o=P.support.html5Clone||!St.test("<"+e.nodeName)?e.cloneNode(!0):v(e);if(!(P.support.noCloneEvent&&P.support.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||P.isXMLDoc(e)))for(p(e,o),i=f(e),a=f(o),r=0;i[r];++r)a[r]&&p(i[r],a[r]);if(t&&(h(e,o),n))for(i=f(e),a=f(o),r=0;i[r];++r)h(i[r],a[r]);return i=a=null,o},clean:function(e,t,n,i){var a;t=t||L,"undefined"==typeof t.createElement&&(t=t.ownerDocument||t[0]&&t[0].ownerDocument||L);for(var r,o,s=[],l=0;null!=(o=e[l]);l++)if("number"==typeof o&&(o+=""),o){if("string"==typeof o)if(xt.test(o)){o=o.replace(yt,"<$1></$2>");var c=(bt.exec(o)||["",""])[1].toLowerCase(),d=kt[c]||kt._default,h=d[0],p=t.createElement("div");for(t===L?It.appendChild(p):u(t).appendChild(p),p.innerHTML=d[1]+o+d[2];h--;)p=p.lastChild;if(!P.support.tbody){var f=wt.test(o),g="table"!==c||f?"<table>"!==d[1]||f?[]:p.childNodes:p.firstChild&&p.firstChild.childNodes;for(r=g.length-1;r>=0;--r)P.nodeName(g[r],"tbody")&&!g[r].childNodes.length&&g[r].parentNode.removeChild(g[r])}!P.support.leadingWhitespace&&vt.test(o)&&p.insertBefore(t.createTextNode(vt.exec(o)[0]),p.firstChild),o=p.childNodes}else o=t.createTextNode(o);var v;if(!P.support.appendChecked)if(o[0]&&"number"==typeof(v=o.length))for(r=0;v>r;r++)m(o[r]);else m(o);o.nodeType?s.push(o):s=P.merge(s,o)}if(n)for(a=function(e){return!e.type||Ct.test(e.type)},l=0;s[l];l++)if(!i||!P.nodeName(s[l],"script")||s[l].type&&"text/javascript"!==s[l].type.toLowerCase()){if(1===s[l].nodeType){var y=P.grep(s[l].getElementsByTagName("script"),a);s.splice.apply(s,[l+1,0].concat(y))}n.appendChild(s[l])}else i.push(s[l].parentNode?s[l].parentNode.removeChild(s[l]):s[l]);return s},cleanData:function(e){for(var t,n,i,a=P.cache,r=P.event.special,o=P.support.deleteExpando,s=0;null!=(i=e[s]);s++)if((!i.nodeName||!P.noData[i.nodeName.toLowerCase()])&&(n=i[P.expando])){if(t=a[n],t&&t.events){for(var l in t.events)r[l]?P.event.remove(i,l):P.removeEvent(i,l,t.handle);t.handle&&(t.handle.elem=null)}o?delete i[P.expando]:i.removeAttribute&&i.removeAttribute(P.expando),delete a[n]}}});var Dt,Ft,Nt,Lt=/alpha\([^)]*\)/i,$t=/opacity=([^)]*)/,Ot=/([A-Z]|^ms)/g,Pt=/^-?\d+(?:px)?$/i,Rt=/^-?\d/,Mt=/^([\-+])=([\-+.\de]+)/,Ht={position:"absolute",visibility:"hidden",display:"block"},Ut=["Left","Right"],jt=["Top","Bottom"];P.fn.css=function(e,n){return 2===arguments.length&&n===t?this:P.access(this,e,n,!0,function(e,n,i){return i!==t?P.style(e,n,i):P.css(e,n)})},P.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=Dt(e,"opacity","opacity");return""===n?"1":n}return e.style.opacity}}},cssNumber:{fillOpacity:!0,fontWeight:!0,lineHeight:!0,opacity:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{"float":P.support.cssFloat?"cssFloat":"styleFloat"},style:function(e,n,i,a){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var r,o,s=P.camelCase(n),l=e.style,c=P.cssHooks[s];if(n=P.cssProps[s]||s,i===t)return c&&"get"in c&&(r=c.get(e,!1,a))!==t?r:l[n];if(o=typeof i,"string"===o&&(r=Mt.exec(i))&&(i=+(r[1]+1)*+r[2]+parseFloat(P.css(e,n)),o="number"),!(null==i||"number"===o&&isNaN(i)||("number"!==o||P.cssNumber[s]||(i+="px"),c&&"set"in c&&(i=c.set(e,i))===t)))try{l[n]=i}catch(u){}}},css:function(e,n,i){var a,r;return n=P.camelCase(n),r=P.cssHooks[n],n=P.cssProps[n]||n,"cssFloat"===n&&(n="float"),r&&"get"in r&&(a=r.get(e,!0,i))!==t?a:Dt?Dt(e,n):void 0},swap:function(e,t,n){var i={};for(var a in t)i[a]=e.style[a],e.style[a]=t[a];n.call(e);for(a in t)e.style[a]=i[a]}}),P.curCSS=P.css,P.each(["height","width"],function(e,t){P.cssHooks[t]={get:function(e,n,i){var a;return n?0!==e.offsetWidth?b(e,t,i):(P.swap(e,Ht,function(){a=b(e,t,i)}),a):void 0},set:function(e,t){return Pt.test(t)?(t=parseFloat(t),t>=0?t+"px":void 0):t}}}),P.support.opacity||(P.cssHooks.opacity={get:function(e,t){return $t.test((t&&e.currentStyle?e.currentStyle.filter:e.style.filter)||"")?parseFloat(RegExp.$1)/100+"":t?"1":""},set:function(e,t){var n=e.style,i=e.currentStyle,a=P.isNumeric(t)?"alpha(opacity="+100*t+")":"",r=i&&i.filter||n.filter||"";n.zoom=1,t>=1&&""===P.trim(r.replace(Lt,""))&&(n.removeAttribute("filter"),i&&!i.filter)||(n.filter=Lt.test(r)?r.replace(Lt,a):r+" "+a)}}),P(function(){P.support.reliableMarginRight||(P.cssHooks.marginRight={get:function(e,t){var n;return P.swap(e,{display:"inline-block"},function(){n=t?Dt(e,"margin-right","marginRight"):e.style.marginRight}),n}})}),L.defaultView&&L.defaultView.getComputedStyle&&(Ft=function(e,t){var n,i,a;return t=t.replace(Ot,"-$1").toLowerCase(),(i=e.ownerDocument.defaultView)&&
vendor: 10,091 bytes, lines 23-24
23(a=i.getComputedStyle(e,null))&&(n=a.getPropertyValue(t),""!==n||P.contains(e.ownerDocument.documentElement,e)||(n=P.style(e,t))),n}),L.documentElement.currentStyle&&(Nt=function(e,t){var n,i,a,r=e.currentStyle&&e.currentStyle[t],o=e.style;return null===r&&o&&(a=o[t])&&(r=a),!Pt.test(r)&&Rt.test(r)&&(n=o.left,i=e.runtimeStyle&&e.runtimeStyle.left,i&&(e.runtimeStyle.left=e.currentStyle.left),o.left="fontSize"===t?"1em":r||0,r=o.pixelLeft+"px",o.left=n,i&&(e.runtimeStyle.left=i)),""===r?"auto":r}),Dt=Ft||Nt,P.expr&&P.expr.filters&&(P.expr.filters.hidden=function(e){var t=e.offsetWidth,n=e.offsetHeight;return 0===t&&0===n||!P.support.reliableHiddenOffsets&&"none"===(e.style&&e.style.display||P.css(e,"display"))},P.expr.filters.visible=function(e){return!P.expr.filters.hidden(e)});var Bt,zt,Wt=/%20/g,qt=/\[\]$/,Vt=/\r?\n/g,Gt=/#.*$/,Yt=/^(.*?):[ \t]*([^\r\n]*)\r?$/gm,Zt=/^(?:color|date|datetime|datetime-local|email|hidden|month|number|password|range|search|tel|text|time|url|week)$/i,Xt=/^(?:about|app|app\-storage|.+\-extension|file|res|widget):$/,Kt=/^(?:GET|HEAD)$/,Qt=/^\/\//,Jt=/\?/,en=/<script\b[^<]*(?:(?!<\/script>)<[^<]*)*<\/script>/gi,tn=/^(?:select|textarea)/i,nn=/\s+/,an=/([?&])_=[^&]*/,rn=/^([\w\+\.\-]+:)(?:\/\/([^\/?#:]*)(?::(\d+))?)?/,on=P.fn.load,sn={},ln={},cn=["*/"]+["*"];try{Bt=O.href}catch(un){Bt=L.createElement("a"),Bt.href="",Bt=Bt.href}zt=rn.exec(Bt.toLowerCase())||[],P.fn.extend({load:function(e,n,i){if("string"!=typeof e&&on)return on.apply(this,arguments);if(!this.length)return this;var a=e.indexOf(" ");if(a>=0){var r=e.slice(a,e.length);e=e.slice(0,a)}var o="GET";n&&(P.isFunction(n)?(i=n,n=t):"object"==typeof n&&(n=P.param(n,P.ajaxSettings.traditional),o="POST"));var s=this;return P.ajax({url:e,type:o,dataType:"html",data:n,complete:function(e,t,n){n=e.responseText,e.isResolved()&&(e.done(function(e){n=e}),s.html(r?P("<div>").append(n.replace(en,"")).find(r):n)),i&&s.each(i,[n,t,e])}}),this},serialize:function(){return P.param(this.serializeArray())},serializeArray:function(){return this.map(function(){return this.elements?P.makeArray(this.elements):this}).filter(function(){return this.name&&!this.disabled&&(this.checked||tn.test(this.nodeName)||Zt.test(this.type))}).map(function(e,t){var n=P(this).val();return null==n?null:P.isArray(n)?P.map(n,function(e){return{name:t.name,value:e.replace(Vt,"\r\n")}}):{name:t.name,value:n.replace(Vt,"\r\n")}}).get()}}),P.each("ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split(" "),function(e,t){P.fn[t]=function(e){return this.on(t,e)}}),P.each(["get","post"],function(e,n){P[n]=function(e,i,a,r){return P.isFunction(i)&&(r=r||a,a=i,i=t),P.ajax({type:n,url:e,data:i,success:a,dataType:r})}}),P.extend({getScript:function(e,n){return P.get(e,t,n,"script")},getJSON:function(e,t,n){return P.get(e,t,n,"json")},ajaxSetup:function(e,t){return t?T(e,P.ajaxSettings):(t=e,e=P.ajaxSettings),T(e,t),e},ajaxSettings:{url:Bt,isLocal:Xt.test(zt[1]),global:!0,type:"GET",contentType:"application/x-www-form-urlencoded",processData:!0,async:!0,accepts:{xml:"application/xml, text/xml",html:"text/html",text:"text/plain",json:"application/json, text/javascript","*":cn},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML",text:"responseText"},converters:{"* text":e.String,"text html":!0,"text json":P.parseJSON,"text xml":P.parseXML},flatOptions:{context:!0,url:!0}},ajaxPrefilter:w(sn),ajaxTransport:w(ln),ajax:function(e,n){function i(e,n,i,o){if(2!==w){w=2,l&&clearTimeout(l),s=t,r=o||"",T.readyState=e>0?4:0;var c,d,y,b,x,E=n,C=i?S(h,T,i):t;if(e>=200&&300>e||304===e)if(h.ifModified&&((b=T.getResponseHeader("Last-Modified"))&&(P.lastModified[a]=b),(x=T.getResponseHeader("Etag"))&&(P.etag[a]=x)),304===e)E="notmodified",c=!0;else try{d=A(h,C),E="success",c=!0}catch(_){E="parsererror",y=_}else y=E,(!E||e)&&(E="error",0>e&&(e=0));T.status=e,T.statusText=""+(n||E),c?g.resolveWith(p,[d,E,T]):g.rejectWith(p,[T,E,y]),T.statusCode(v),v=t,u&&f.trigger("ajax"+(c?"Success":"Error"),[T,h,c?d:y]),m.fireWith(p,[T,E]),u&&(f.trigger("ajaxComplete",[T,h]),--P.active||P.event.trigger("ajaxStop"))}}"object"==typeof e&&(n=e,e=t),n=n||{};var a,r,o,s,l,c,u,d,h=P.ajaxSetup({},n),p=h.context||h,f=p!==h&&(p.nodeType||p instanceof P)?P(p):P.event,g=P.Deferred(),m=P.Callbacks("once memory"),v=h.statusCode||{},y={},b={},w=0,T={readyState:0,setRequestHeader:function(e,t){if(!w){var n=e.toLowerCase(); 24e=b[n]=b[n]||e,y[e]=t}return this},getAllResponseHeaders:function(){return 2===w?r:null},getResponseHeader:function(e){var n;if(2===w){if(!o)for(o={};n=Yt.exec(r);)o[n[1].toLowerCase()]=n[2];n=o[e.toLowerCase()]}return n===t?null:n},overrideMimeType:function(e){return w||(h.mimeType=e),this},abort:function(e){return e=e||"abort",s&&s.abort(e),i(0,e),this}};if(g.promise(T),T.success=T.done,T.error=T.fail,T.complete=m.add,T.statusCode=function(e){if(e){var t;if(2>w)for(t in e)v[t]=[v[t],e[t]];else t=e[T.status],T.then(t,t)}return this},h.url=((e||h.url)+"").replace(Gt,"").replace(Qt,zt[1]+"//"),h.dataTypes=P.trim(h.dataType||"*").toLowerCase().split(nn),null==h.crossDomain&&(c=rn.exec(h.url.toLowerCase()),h.crossDomain=!(!c||c[1]==zt[1]&&c[2]==zt[2]&&(c[3]||("http:"===c[1]?80:443))==(zt[3]||("http:"===zt[1]?80:443)))),h.data&&h.processData&&"string"!=typeof h.data&&(h.data=P.param(h.data,h.traditional)),x(sn,h,n,T),2===w)return!1;if(u=h.global,h.type=h.type.toUpperCase(),h.hasContent=!Kt.test(h.type),u&&0===P.active++&&P.event.trigger("ajaxStart"),!h.hasContent&&(h.data&&(h.url+=(Jt.test(h.url)?"&":"?")+h.data,delete h.data),a=h.url,h.cache===!1)){var E=P.now(),C=h.url.replace(an,"$1_="+E);h.url=C+(C===h.url?(Jt.test(h.url)?"&":"?")+"_="+E:"")}(h.data&&h.hasContent&&h.contentType!==!1||n.contentType)&&T.setRequestHeader("Content-Type",h.contentType),h.ifModified&&(a=a||h.url,P.lastModified[a]&&T.setRequestHeader("If-Modified-Since",P.lastModified[a]),P.etag[a]&&T.setRequestHeader("If-None-Match",P.etag[a])),T.setRequestHeader("Accept",h.dataTypes[0]&&h.accepts[h.dataTypes[0]]?h.accepts[h.dataTypes[0]]+("*"!==h.dataTypes[0]?", "+cn+"; q=0.01":""):h.accepts["*"]);for(d in h.headers)T.setRequestHeader(d,h.headers[d]);if(h.beforeSend&&(h.beforeSend.call(p,T,h)===!1||2===w))return T.abort(),!1;for(d in{success:1,error:1,complete:1})T[d](h[d]);if(s=x(ln,h,n,T)){T.readyState=1,u&&f.trigger("ajaxSend",[T,h]),h.async&&h.timeout>0&&(l=setTimeout(function(){T.abort("timeout")},h.timeout));try{w=1,s.send(y,i)}catch(_){if(!(2>w))throw _;i(-1,_)}}else i(-1,"No Transport");return T},param:function(e,n){var i=[],a=function(e,t){t=P.isFunction(t)?t():t,i[i.length]=encodeURIComponent(e)+"="+encodeURIComponent(t)};if(n===t&&(n=P.ajaxSettings.traditional),P.isArray(e)||e.jquery&&!P.isPlainObject(e))P.each(e,function(){a(this.name,this.value)});else for(var r in e)E(r,e[r],n,a);return i.join("&").replace(Wt,"+")}}),P.extend({active:0,lastModified:{},etag:{}});var dn=P.now(),hn=/(\=)\?(&|$)|\?\?/i;P.ajaxSetup({jsonp:"callback",jsonpCallback:function(){return P.expando+"_"+dn++}}),P.ajaxPrefilter("json jsonp",function(t,n,i){var a="application/x-www-form-urlencoded"===t.contentType&&"string"==typeof t.data;if("jsonp"===t.dataTypes[0]||t.jsonp!==!1&&(hn.test(t.url)||a&&hn.test(t.data))){var r,o=t.jsonpCallback=P.isFunction(t.jsonpCallback)?t.jsonpCallback():t.jsonpCallback,s=e[o],l=t.url,c=t.data,u="$1"+o+"$2";return t.jsonp!==!1&&(l=l.replace(hn,u),t.url===l&&(a&&(c=c.replace(hn,u)),t.data===c&&(l+=(/\?/.test(l)?"&":"?")+t.jsonp+"="+o))),t.url=l,t.data=c,e[o]=function(e){r=[e]},i.always(function(){e[o]=s,r&&P.isFunction(s)&&e[o](r[0])}),t.converters["script json"]=function(){return r||P.error(o+" was not called"),r[0]},t.dataTypes[0]="json","script"}}),P.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/javascript|ecmascript/},converters:{"text script":function(e){return P.globalEval(e),e}}}),P.ajaxPrefilter("script",function(e){e.cache===t&&(e.cache=!1),e.crossDomain&&(e.type="GET",e.global=!1)}),P.ajaxTransport("script",function(e){if(e.crossDomain){var n,i=L.head||L.getElementsByTagName("head")[0]||L.documentElement;return{send:function(a,r){n=L.createElement("script"),n.async="async",e.scriptCharset&&(n.charset=e.scriptCharset),n.src=e.url,n.onload=n.onreadystatechange=function(e,a){(a||!n.readyState||/loaded|complete/.test(n.readyState))&&(n.onload=n.onreadystatechange=null,i&&n.parentNode&&i.removeChild(n),n=t,a||r(200,"success"))},i.insertBefore(n,i.firstChild)},abort:function(){n&&n.onload(0,1)}}}});var pn,fn=e.ActiveXObject?function(){for(var e in pn)pn[e](0,1)}:!1,gn=0;P.ajaxSettings.xhr=e.ActiveXObject?function(){return!this.isLocal&&C()||_()}:C,function(e){P.extend(P.support,{ajax:!!e,cors:!!e&&"withCredentials"in e})}(P.ajaxSettings.xhr()),P.support.ajax&&P.ajaxTransport(function(n){if(!n.crossDomain||P.support.cors){var i;return{send:function(a,r){var o,s,l=n.xhr();if(n.username?l.open(n.type,n.url,n.async,n.username,n.password):l.open(n.type,n.url,n.async),n.xhrFields)for(s in n.xhrFields)l[s]=n.xhrFields[s];n.mimeType&&l.overrideMimeType&&l.overrideMimeType(n.mimeType),n.crossDomain||a["X-Requested-With"]||(a["X-Requested-With"]="XMLHttpRequest");try{for(s in a)l.setRequestHeader(s,a[s])}catch(c){}l.send(n.hasContent&&n.data||null),i=function(e,a){var s,c,u,d,h;try{if(i&&(a||4===l.readyState))if(i=t,o&&(l.onreadystatechange=P.noop,fn&&delete pn[o]),a)4!==l.readyState&&l.abort();else{s=l.status,u=l.getAllResponseHeaders(),d={},h=l.responseXML,h&&h.documentElement&&(d.xml=h),d.text=l.responseText;try{c=l.statusText}catch(p){c=""}s||!n.isLocal||n.crossDomain?1223===s&&(s=204):s=d.text?200:404}}catch(f){a||r(-1,f)}d&&r(s,c,d,u)},n.async&&4!==l.readyState?(o=++gn,fn&&(pn||(pn={},P(e).unload(fn)),pn[o]=i),l.onreadystatechange=i):i()},abort:function(){i&&i(0,1)}}}});var mn,vn,yn,bn,wn={},xn=/^(?:toggle|show|hide)$/,Tn=/^([+\-]=)?([\d+.\-]+)([a-z%]*)$/i,En=[["height","marginTop","marginBottom","paddingTop","paddingBottom"],["width","marginLeft","marginRight","paddingLeft","paddingRight"],["o
24pacity"]];P.fn.extend({show:function(e,t,n){var i,a;if(e||0===e)return this.animate(D("show",3),e,t,n);for(var r=0,o=this.length;o>r;r++)i=this[r],i.style&&(a=i.style.display,P._data(i,"olddisplay")||"none"!==a||(a=i.style.display=""),""===a&&"none"===P.css(i,"display")&&P._data(i,"olddisplay",F(i.nodeName)));for(r=0;o>r;r++)i=this[r],i.style&&(a=i.style.display,(""===a||"none"===a)&&(i.style.display=P._data(i,"olddisplay")||""));return this},hide:function(e,t,n){if(e||0===e)return this.animate(D("hide",3),e,t,n);for(var i,a,r=0,o=this.length;o>r;r++)i=this[r],i.style&&(a=P.css(i,"display"),"none"===a||P._data(i,"olddisplay")||P._data(i,"olddisplay",a));for(r=0;o>r;r++)this[r].style&&(this[r].style.display="none");return this},_toggle:P.fn.toggle,toggle:function(e,t,n){var i="boolean"==typeof e;return P.isFunction(e)&&P.isFunction(t)?this._toggle.apply(this,arguments):null==e||i?this.each(function(){var t=i?e:P(this).is(":hidden");P(this)[t?"show":"hide"]()}):this.animate(D("toggle",3),e,t,n),this},fadeTo:function(e,t,n,i){return this.filter(":hidden").css("opacity",0).show().end().animate({opacity:t},e,n,i)},animate:function(e,t,n,i){function a(){r.queue===!1&&P._mark(this);var t,n,i,a,o,s,l,c,u,d=P.extend({},r),h=1===this.nodeType,p=h&&P(this).is(":hidden");d.animatedProperties={};for(i in e){if(t=P.camelCase(i),i!==t&&(e[t]=e[i],delete e[i]),n=e[t],P.isArray(n)?(d.animatedProperties[t]=n[1],n=e[t]=n[0]):d.animatedProperties[t]=d.specialEasing&&d.specialEasing[t]||d.easing||"swing","hide"===n&&p||"show"===n&&!p)return d.complete.call(this);!h||"height"!==t&&"width"!==t||(d.overflow=[this.style.overflow,this.style.overflowX,this.style.overflowY],"inline"===P.css(this,"display")&&"none"===P.css(this,"float")&&(P.support.inlineBlockNeedsLayout&&"inline"!==F(this.nodeName)?this.style.zoom=1:this.style.display="inline-block"))}null!=d.overflow&&(this.style.overflow="hidden");for(i in e)a=new P.fx(this,d,i),n=e[i],xn.test(n)?(u=P._data(this,"toggle"+i)||("toggle"===n?p?"show":"hide":0),u?(P._data(this,"toggle"+i,"show"===u?"hide":"show"),a[u]()):a[n]()):(o=Tn.exec(n),s=a.cur(),o?(l=parseFloat(o[2]),c=o[3]||(P.cssNumber[i]?"":"px"),"px"!==c&&(P.style(this,i,(l||1)+c),s=(l||1)/a.cur()*s,P.style(this,i,s+c)),o[1]&&(l=("-="===o[1]?-1:1)*l+s),a.custom(s,l,c)):a.custom(s,n,""));return!0}var r=P.speed(t,n,i);return P.isEmptyObject(e)?this.each(r.complete,[!1]):(e=P.extend({},e),r.queue===!1?this.each(a):this.queue(r.queue,a))},stop:function(e,n,i){return"string"!=typeof e&&(i=n,n=e,e=t),n&&e!==!1&&this.queue(e||"fx",[]),this.each(function(){function t(e,t,n){var a=t[n];P.removeData(e,n,!0),a.stop(i)}var n,a=!1,r=P.timers,o=P._data(this);if(i||P._unmark(!0,this),null==e)for(n in o)o[n]&&o[n].stop&&n.indexOf(".run")===n.length-4&&t(this,o,n);else o[n=e+".run"]&&o[n].stop&&t(this,o,n);for(n=r.length;n--;)r[n].elem!==this||null!=e&&r[n].queue!==e||(i?r[n](!0):r[n].saveState(),a=!0,r.splice(n,1));i&&a||P.dequeue(this,e)})}}),P.each({slideDown:D("show",1),slideUp:D("hide",1),slideToggle:D("toggle",1),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(e,t){P.fn[e]=function(e,n,i){return this.animate(t,e,n,i)}}),P.extend({speed:function(e,t,n){var i=e&&"object"==typeof e?P.extend({},e):{complete:n||!n&&t||P.isFunction(e)&&e,duration:e,easing:n&&t||t&&!P.isFunction(t)&&t};return i.duration=P.fx.off?0:"number"==typeof i.duration?i.duration:i.duration in P.fx.speeds?P.fx.speeds[i.duration]:P.fx.speeds._default,(null==i.queue||i.queue===!0)&&(i.queue="fx"),i.old=i.complete,i.complete=function(e){P.isFunction(i.old)&&i.old.call(this),i.queue?P.dequeue(this,i.queue):e!==!1&&P._unmark(this)},i},easing:{linear:function(e,t,n,i){return n+i*e},swing:function(e,t,n,i){return(-Math.cos(e*Math.PI)/2+.5)*i+n}},timers:[],fx:function(e,t,n){this.options=t,this.elem=e,this.prop=n,t.orig=t.orig||{}}}),P.fx.prototype={update:function(){this.options.step&&this.options.step.call(this.elem,this.now,this),(P.fx.step[this.prop]||P.fx.step._default)(this)},cur:function(){if(null!=this.elem[this.prop]&&(!this.elem.style||null==this.elem.style[this.prop]))return this.elem[this.prop];var e,t=P.css(this.elem,this.prop);return isNaN(e=parseFloat(t))?t&&"auto"!==t?t:0:e},custom:function(e,n,i){function a(e){return r.step(e)}var r=this,o=P.fx;this.startTime=bn||k(),this.end=n,this.now=this.start=e,this.pos=this.state=0,this.unit=i||this.unit||(P.cssNumber[this.prop]?"":"px"),a.queue=this.options.queue,a.elem=this.elem,a.saveState=function(){r.options.hide&&P._data(r.elem,"fxshow"+r.prop)===t&&P._data(r.elem,"fxshow"+r.prop,r.start)},a()&&P.timers.push(a)&&!yn&&(yn=setInterval(o.tick,o.interval))},show:function(){var e=P._data(this.elem,"fxshow"+this.prop);this.options.orig[this.prop]=e||P.style(this.elem,this.prop),this.options.show=!0,e!==t?this.custom(this.cur(),e):this.custom("width"===this.prop||"height"===this.prop?1:0,this.cur()),P(this.elem).show()},hide:function(){this.options.orig[this.prop]=P._data(this.elem,"fxshow"+this.prop)||P.style(this.elem,this.prop),this.options.hide=!0,this.custom(this.cur(),0)},step:function(e){var t,n,i,a=bn||k(),r=!0,o=this.elem,s=this.options;if(e||a>=s.duration+this.startTime){this.now=this.end,this.pos=this.state=1,this.update(),s.animatedProperties[this.prop]=!0;for(t in s.animatedProperties)s.animatedProperties[t]!==!0&&(r=!1);if(r){if(null==s.overflow||P.support.shrinkWrapBlocks||P.each(["","X","Y"],function(e,t){o.style["overflow"+t]=s.overflow[e]}),s.hide&&P(o).hide(),s.hide||s.show)for(t in s.animatedProperties)P.style(o,t,s.orig[t]),P.removeData(o,"fxshow"+t,!0),P.removeData(o,"toggle"+t,!0);i=s.complete,i&&(s.complete=!1,i.call(o))}return!1}return 1/0==s.duration?this.now=a:(n=a-this.startTime,this.state=n/s.duration,this.pos=P.easing[s.animatedProperties[this.prop]](this.state,n,0,1,s.duration),this.now=this.start+(this.end-this.start)*this.pos),this.update(),!0}},P.extend(P.fx,{tick:function(){for(var e,t=P.timers,n=0;n<t.length;n++)e=t[n],e()||t[n]!==e||t.splice(n--,1);t.length||P.fx.stop()},interval:13,stop:function(){clearInterval(yn),yn=null},speeds:{slow:600,fast:200,_default:400},step:{opacity:function(e){P.style(e.elem,"opacity",e.now)},_default:function(e){e.elem.style&&null!=e.elem.style[e.prop]?e.elem.style[e.prop]=e.now+e.unit:e.elem[e.prop]=e.now}}}),P.each(["width","height"],function(e,t){P.fx.step[t]=function(e){P.style(e.elem,t,Math.max(0,e.now)+e.unit)}}),P.expr&&P.expr.filters&&(P.expr.filters.animated=function(e){return P.grep(P.timers,function(t){return e===t.elem}).length});var Sn=/^t(?:able|d|h)$/i,An=/^(?:body|html)$/i;P.fn.offset="getBoundingClientRect"in L.documentElement?function(e){var t,n=this[0];if(e)return this.each(function(t){P.offset.setOffset(this,e,t)});if(!n||!n.ownerDocument)return null;if(n===n.ownerDocument.body)return P.offset.bodyOffset(n);try{t=n.getBoundingClientRect()}catch(i){}var a=n.ownerDocument,r=a.documentElement;
24if(!t||!P.contains(r,n))return t?{top:t.top,left:t.left}:{top:0,left:0};var o=a.body,s=N(a),l=r.clientTop||o.clientTop||0,c=r.clientLeft||o.clientLeft||0,u=s.pageYOffset||P.support.boxModel&&r.scrollTop||o.scrollTop,d=s.pageXOffset||P.support.boxModel&&r.scrollLeft||o.scrollLeft,h=t.top+u-l,p=t.left+d-c;return{top:h,left:p}}:function(e){var t=this[0];if(e)return this.each(function(t){P.offset.setOffset(this,e,t)});if(!t||!t.ownerDocument)return null;if(t===t.ownerDocument.body)return P.offset.bodyOffset(t);for(var n,i=t.offsetParent,a=t,r=t.ownerDocument,o=r.documentElement,s=r.body,l=r.defaultView,c=l?l.getComputedStyle(t,null):t.currentStyle,u=t.offsetTop,d=t.offsetLeft;(t=t.parentNode)&&t!==s&&t!==o&&(!P.support.fixedPosition||"fixed"!==c.position);)n=l?l.getComputedStyle(t,null):t.currentStyle,u-=t.scrollTop,d-=t.scrollLeft,t===i&&(u+=t.offsetTop,d+=t.offsetLeft,!P.support.doesNotAddBorder||P.support.doesAddBorderForTableAndCells&&Sn.test(t.nodeName)||(u+=parseFloat(n.borderTopWidth)||0,d+=parseFloat(n.borderLeftWidth)||0),a=i,i=t.offsetParent),P.support.subtractsBorderForOverflowNotVisible&&"visible"!==n.overflow&&(u+=parseFloat(n.borderTopWidth)||0,d+=parseFloat(n.borderLeftWidth)||0),c=n;return("relative"===c.position||"static"===c.position)&&(u+=s.offsetTop,d+=s.offsetLeft),P.support.fixedPosition&&"fixed"===c.position&&(u+=Math.max(o.scrollTop,s.scrollTop),d+=Math.max(o.scrollLeft,s.scrollLeft)),{top:u,left:d}},P.offset={bodyOffset:function(e){var t=e.offsetTop,n=e.offsetLeft;return P.support.doesNotIncludeMarginInBodyOffset&&(t+=parseFloat(P.css(e,"marginTop"))||0,n+=parseFloat(P.css(e,"marginLeft"))||0),{top:t,left:n}},setOffset:function(e,t,n){var i=P.css(e,"position");"static"===i&&(e.style.position="relative");var a,r,o=P(e),s=o.offset(),l=P.css(e,"top"),c=P.css(e,"left"),u=("absolute"===i||"fixed"===i)&&P.inArray("auto",[l,c])>-1,d={},h={};u?(h=o.position(),a=h.top,r=h.left):(a=parseFloat(l)||0,r=parseFloat(c)||0),P.isFunction(t)&&(t=t.call(e,n,s)),null!=t.top&&(d.top=t.top-s.top+a),null!=t.left&&(d.left=t.left-s.left+r),"using"in t?t.using.call(e,d):o.css(d)}},P.fn.extend({position:function(){if(!this[0])return null;var e=this[0],t=this.offsetParent(),n=this.offset(),i=An.test(t[0].nodeName)?{top:0,left:0}:t.offset();return n.top-=parseFloat(P.css(e,"marginTop"))||0,n.left-=parseFloat(P.css(e,"marginLeft"))||0,i.top+=parseFloat(P.css(t[0],"borderTopWidth"))||0,i.left+=parseFloat(P.css(t[0],"borderLeftWidth"))||0,{top:n.top-i.top,left:n.left-i.left}},offsetParent:function(){return this.map(function(){for(var e=this.offsetParent||L.body;e&&!An.test(e.nodeName)&&"static"===P.css(e,"position");)e=e.offsetParent;return e})}}),P.each(["Left","Top"],function(e,n){var i="scroll"+n;P.fn[i]=function(n){var a,r;return n===t?(a=this[0])?(r=N(a),r?"pageXOffset"in r?r[e?"pageYOffset":"pageXOffset"]:P.support.boxModel&&r.document.documentElement[i]||r.document.body[i]:a[i]):null:this.each(function(){r=N(this),r?r.scrollTo(e?P(r).scrollLeft():n,e?n:P(r).scrollTop()):this[i]=n})}}),P.each(["Height","Width"],function(e,n){var i=n.toLowerCase();P.fn["inner"+n]=function(){var e=this[0];return e?e.style?parseFloat(P.css(e,i,"padding")):this[i]():null},P.fn["outer"+n]=function(e){var t=this[0];return t?t.style?parseFloat(P.css(t,i,e?"margin":"border")):this[i]():null},P.fn[i]=function(e){var a=this[0];if(!a)return null==e?null:this;if(P.isFunction(e))return this.each(function(t){var n=P(this);n[i](e.call(this,t,n[i]()))});if(P.isWindow(a)){var r=a.document.documentElement["client"+n],o=a.document.body;return"CSS1Compat"===a.document.compatMode&&r||o&&o["client"+n]||r}if(9===a.nodeType)return Math.max(a.documentElement["client"+n],a.body["scroll"+n],a.documentElement["scroll"+n],a.body["offset"+n],a.documentElement["offset"+n]);if(e===t){var s=P.css(a,i),l=parseFloat(s);return P.isNumeric(l)?l:s}return this.css(i,"string"==typeof e?e:e+"px")}}),e.jQuery=e.$=P,"function"==typeof define&&define.amd&&define.amd.jQuery&&define("jquery",[],function(){return P})}(window),function(e,t,n,i){var a=n("html"),r=n(e),o=n(t),s=n.fancybox=function(){s.open.apply(this,arguments)},l=navigator.userAgent.match(/msie/i),c=null,u=t.createTouch!==i,d=function(e){return e&&e.hasOwnProperty&&e instanceof n},h=function(e){return e&&"string"===n.type(e)},p=function(e){return h(e)&&0<e.indexOf("%")},f=function(e,t){var n=parseInt(e,10)||0;return t&&p(e)&&(n*=s.getViewport()[t]/100),Math.ceil(n)},g=function(e,t){return f(e,t)+"px"};n.extend(s,{version:"2.1.5",defaults:{padding:15,margin:20,width:800,height:600,minWidth:100,minHeight:100,maxWidth:9999,maxHeight:9999,pixelRatio:1,autoSize:!0,autoHeight:!1,autoWidth:!1,autoResize:!0,autoCenter:!u,fitToView:!0,aspectRatio:!1,topRatio:.5,leftRatio:.5,scrolling:"auto",wrapCSS:"",arrows:!0,closeBtn:!0,closeClick:!1,nextClick:!1,mouseWheel:!0,autoPlay:!1,playSpeed:3e3,preload:3,modal:!1,loop:!0,ajax:{dataType:"html",headers:{"X-fancyBox":!0}},iframe:{scrolling:"auto",preload:!0},swf:{wmode:"transparent",allowfullscreen:"true",allowscriptaccess:"always"},keys:{next:{13:"left",34:"up",39:"left",40:"up"},prev:{8:"right",33:"down",37:"right",38:"down"},close:[27],play:[32],toggle:[70]},direction:{next:"left",prev:"right"},scrollOutside:!0,index:0,type:null,href:null,content:null,title:null,tpl:{wrap:'<div class="fancybox-wrap" tabIndex="-1"><div class="fancybox-skin"><div class="fancybox-outer"><div class="fancybox-inner"></div></div></div></div>',image:'<img class="fancybox-image" src="{href}" alt="" />',iframe:'<iframe id="fancybox-frame{rnd}" name="fancybox-frame{rnd}" class="fancybox-iframe" frameborder="0" vspace="0" hspace="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen'+(l?' allowtransparency="true"':"")+"></iframe>",error:'<p class="fancybox-error">The requested content cannot be loaded.<br/>Please try again later.</p>',closeBtn:'<a title="Close" class="fancybox-item fancybox-close" href="javascript:;"></a>',next:'<a title="Next" class="fancybox-nav fancybox-next" href="javascript:;"><span></span></a>',prev:'<a title="Previous" class="fancybox-nav fancybox-prev" href="javascript:;"><span></span></a>'},openEffect:"fade",openSpeed:250,openEasing:"swing",openOpacity:!0,openMethod:"zoomIn",closeEffect:"fade",closeSpeed:250,closeEasing:"swing",closeOpacity:!0,closeMethod:"zoomOut",nextEffect:"elastic",nextSpeed:250,nextEasing:"swing",nextMethod:"changeIn",prevEffect:"elastic",prevSpeed:250,prevEasing:"swing",prevMethod:"changeOut",helpers:{overlay:!0,title:!0},onCancel:n.noop,beforeLoad:n.noop,afterLoad:n.noop,beforeShow:n.noop,afterShow:n.noop,beforeChange:n.noop,beforeClose:n.noop,afterClose:n.noop},group:{},opts:{},previous:null,coming:null,current:null,isActive:!1,isOpen:!1,isOpened:!1,wrap:null,
vendor: 11,503 bytes, line 24
24skin:null,outer:null,inner:null,player:{timer:null,isActive:!1},ajaxLoad:null,imgPreload:null,transitions:{},helpers:{},open:function(e,t){return e&&(n.isPlainObject(t)||(t={}),!1!==s.close(!0))?(n.isArray(e)||(e=d(e)?n(e).get():[e]),n.each(e,function(a,r){var o,l,c,u,p,f={};"object"===n.type(r)&&(r.nodeType&&(r=n(r)),d(r)?(f={href:r.data("fancybox-href")||r.attr("href"),title:r.data("fancybox-title")||r.attr("title"),isDom:!0,element:r},n.metadata&&n.extend(!0,f,r.metadata())):f=r),o=t.href||f.href||(h(r)?r:null),l=t.title!==i?t.title:f.title||"",u=(c=t.content||f.content)?"html":t.type||f.type,!u&&f.isDom&&(u=r.data("fancybox-type"),u||(u=(u=r.prop("class").match(/fancybox\.(\w+)/))?u[1]:null)),h(o)&&(u||(s.isImage(o)?u="image":s.isSWF(o)?u="swf":"#"===o.charAt(0)?u="inline":h(r)&&(u="html",c=r)),"ajax"===u&&(p=o.split(/\s+/,2),o=p.shift(),p=p.shift())),c||("inline"===u?o?c=n(h(o)?o.replace(/.*(?=#[^\s]+$)/,""):o):f.isDom&&(c=r):"html"===u?c=o:!u&&!o&&f.isDom&&(u="inline",c=r)),n.extend(f,{href:o,type:u,content:c,title:l,selector:p}),e[a]=f}),s.opts=n.extend(!0,{},s.defaults,t),t.keys!==i&&(s.opts.keys=t.keys?n.extend({},s.defaults.keys,t.keys):!1),s.group=e,s._start(s.opts.index)):void 0},cancel:function(){var e=s.coming;e&&!1!==s.trigger("onCancel")&&(s.hideLoading(),s.ajaxLoad&&s.ajaxLoad.abort(),s.ajaxLoad=null,s.imgPreload&&(s.imgPreload.onload=s.imgPreload.onerror=null),e.wrap&&e.wrap.stop(!0,!0).trigger("onReset").remove(),s.coming=null,s.current||s._afterZoomOut(e))},close:function(e){s.cancel(),!1!==s.trigger("beforeClose")&&(s.unbindEvents(),s.isActive&&(s.isOpen&&!0!==e?(s.isOpen=s.isOpened=!1,s.isClosing=!0,n(".fancybox-item, .fancybox-nav").remove(),s.wrap.stop(!0,!0).removeClass("fancybox-opened"),s.transitions[s.current.closeMethod]()):(n(".fancybox-wrap").stop(!0).trigger("onReset").remove(),s._afterZoomOut())))},play:function(e){var t=function(){clearTimeout(s.player.timer)},n=function(){t(),s.current&&s.player.isActive&&(s.player.timer=setTimeout(s.next,s.current.playSpeed))},i=function(){t(),o.unbind(".player"),s.player.isActive=!1,s.trigger("onPlayEnd")};!0===e||!s.player.isActive&&!1!==e?s.current&&(s.current.loop||s.current.index<s.group.length-1)&&(s.player.isActive=!0,o.bind({"onCancel.player beforeClose.player":i,"onUpdate.player":n,"beforeLoad.player":t}),n(),s.trigger("onPlayStart")):i()},next:function(e){var t=s.current;t&&(h(e)||(e=t.direction.next),s.jumpto(t.index+1,e,"next"))},prev:function(e){var t=s.current;t&&(h(e)||(e=t.direction.prev),s.jumpto(t.index-1,e,"prev"))},jumpto:function(e,t,n){var a=s.current;a&&(e=f(e),s.direction=t||a.direction[e>=a.index?"next":"prev"],s.router=n||"jumpto",a.loop&&(0>e&&(e=a.group.length+e%a.group.length),e%=a.group.length),a.group[e]!==i&&(s.cancel(),s._start(e)))},reposition:function(e,t){var i,a=s.current,r=a?a.wrap:null;r&&(i=s._getPosition(t),e&&"scroll"===e.type?(delete i.position,r.stop(!0,!0).animate(i,200)):(r.css(i),a.pos=n.extend({},a.dim,i)))},update:function(e){var t=e&&e.type,n=!t||"orientationchange"===t;n&&(clearTimeout(c),c=null),s.isOpen&&!c&&(c=setTimeout(function(){var i=s.current;i&&!s.isClosing&&(s.wrap.removeClass("fancybox-tmp"),(n||"load"===t||"resize"===t&&i.autoResize)&&s._setDimension(),"scroll"===t&&i.canShrink||s.reposition(e),s.trigger("onUpdate"),c=null)},n&&!u?0:300))},toggle:function(e){s.isOpen&&(s.current.fitToView="boolean"===n.type(e)?e:!s.current.fitToView,u&&(s.wrap.removeAttr("style").addClass("fancybox-tmp"),s.trigger("onUpdate")),s.update())},hideLoading:function(){o.unbind(".loading"),n("#fancybox-loading").remove()},showLoading:function(){var e,t;s.hideLoading(),e=n('<div id="fancybox-loading"><div></div></div>').click(s.cancel).appendTo("body"),o.bind("keydown.loading",function(e){27===(e.which||e.keyCode)&&(e.preventDefault(),s.cancel())}),s.defaults.fixed||(t=s.getViewport(),e.css({position:"absolute",top:.5*t.h+t.y,left:.5*t.w+t.x}))},getViewport:function(){var t=s.current&&s.current.locked||!1,n={x:r.scrollLeft(),y:r.scrollTop()};return t?(n.w=t[0].clientWidth,n.h=t[0].clientHeight):(n.w=u&&e.innerWidth?e.innerWidth:r.width(),n.h=u&&e.innerHeight?e.innerHeight:r.height()),n},unbindEvents:function(){s.wrap&&d(s.wrap)&&s.wrap.unbind(".fb"),o.unbind(".fb"),r.unbind(".fb")},bindEvents:function(){var e,t=s.current;t&&(r.bind("orientationchange.fb"+(u?"":" resize.fb")+(t.autoCenter&&!t.locked?" scroll.fb":""),s.update),(e=t.keys)&&o.bind("keydown.fb",function(a){var r=a.which||a.keyCode,o=a.target||a.srcElement;return 27===r&&s.coming?!1:void!(a.ctrlKey||a.altKey||a.shiftKey||a.metaKey||o&&(o.type||n(o).is("[contenteditable]"))||!n.each(e,function(e,o){return 1<t.group.length&&o[r]!==i?(s[e](o[r]),a.preventDefault(),!1):-1<n.inArray(r,o)?(s[e](),a.preventDefault(),!1):void 0}))}),n.fn.mousewheel&&t.mouseWheel&&s.wrap.bind("mousewheel.fb",function(e,i,a,r){for(var o=n(e.target||null),l=!1;o.length&&!l&&!o.is(".fancybox-skin")&&!o.is(".fancybox-wrap");)l=o[0]&&!(o[0].style.overflow&&"hidden"===o[0].style.overflow)&&(o[0].clientWidth&&o[0].scrollWidth>o[0].clientWidth||o[0].clientHeight&&o[0].scrollHeight>o[0].clientHeight),o=n(o).parent();0!==i&&!l&&1<s.group.length&&!t.canShrink&&(r>0||a>0?s.prev(r>0?"down":"left"):(0>r||0>a)&&s.next(0>r?"up":"right"),e.preventDefault())}))},trigger:function(e,t){var i,a=t||s.coming||s.current;if(a){if(n.isFunction(a[e])&&(i=a[e].apply(a,Array.prototype.slice.call(arguments,1))),!1===i)return!1;a.helpers&&n.each(a.helpers,function(t,i){i&&s.helpers[t]&&n.isFunction(s.helpers[t][e])&&s.helpers[t][e](n.extend(!0,{},s.helpers[t].defaults,i),a)}),o.trigger(e)}},isImage:function(e){return h(e)&&e.match(/(^data:image\/.*,)|(\.(jp(e|g|eg)|gif|png|bmp|webp|svg)((\?|#).*)?$)/i)},isSWF:function(e){return h(e)&&e.match(/\.(swf)((\?|#).*)?$/i)},_start:function(e){var t,i,a={};if(e=f(e),t=s.group[e]||null,!t)return!1;if(a=n.extend(!0,{},s.opts,t),t=a.margin,i=a.padding,"number"===n.type(t)&&(a.margin=[t,t,t,t]),"number"===n.type(i)&&(a.padding=[i,i,i,i]),a.modal&&n.extend(!0,a,{closeBtn:!1,closeClick:!1,nextClick:!1,arrows:!1,mouseWheel:!1,keys:null,helpers:{overlay:{closeClick:!1}}}),a.autoSize&&(a.autoWidth=a.autoHeight=!0),"auto"===a.width&&(a.autoWidth=!0),"auto"===a.height&&(a.autoHeight=!0),a.group=s.group,a.index=e,s.coming=a,!1===s.trigger("beforeLoad"))s.coming=null;else{if(i=a.type,t=a.href,!i)return s.coming=null,s.current&&s.router&&"jumpto"!==s.router?(s.current.index=e,s[s.router](s.direction)):!1;if(s.isActive=!0,("image"===i||"swf"===i)&&(a.autoHeight=a.autoWidth=!1,a.scrolling="visible"),"image"===i&&(a.aspectRatio=!0),"iframe"===i&&u&&(a.scrolling="scroll"),a.wrap=n(a.tpl.wrap).addClass("fancybox-"+(u?"mobile":"desktop")+" fancybox-type-"+i+" fancybox-tmp "+a.wrapCSS).appendTo(a.parent||"body"),n.extend(a,{skin:n(".fancybox-skin",a.wrap),outer:n(".fancybox-outer",a.wrap),inner:n(".fancybox-inner",a.wrap)}),n.each(["Top","Right","Bottom","Left"],function(e,t){a.skin.css("padding"+t,g(a.padding[e]))}),s.trigger("onReady"),"inline"===i||"html"===i){if(!a.content||!a.content.length)return s._error("content")}else if(!t)return s._error("href");"image"===i?s._loadImage():"ajax"===i?s._loadAjax():"iframe"===i?s._loadIframe():s._afterLoad()}},_error:function(e){n.extend(s.coming,{type:"html",autoWidth:!0,autoHeight:!0,minWidth:0,minHeight:0,scrolling:"no",hasError:e,content:s.coming.tpl.error}),s._afterLoad()},_loadImage:function(){var e=s.imgPreload=new Image;e.onload=function(){this.onload=this.onerror=null,s.coming.width=this.width/s.opts.pixelRatio,s.coming.height=this.height/s.opts.pixelRatio,s._afterLoad()},e.onerror=function(){this.onload=this.onerror=null,s._error("image")},e.src=s.coming.href,!0!==e.complete&&s.showLoading()},_loadAjax:function(){var e=s.coming;s.showLoading(),s.ajaxLoad=n.ajax(n.extend({},e.ajax,{url:e.href,error:function(e,t){s.coming&&"abort"!==t?s._error("ajax",e):s.hideLoading()},success:function(t,n){"success"===n&&(e.content=t,s._afterLoad())}}))},_loadIframe:function(){var e=s.coming,t=n(e.tpl.iframe.replace(/\{rnd\}/g,(new Date).getTime())).attr("scrolling",u?"auto":e.iframe.scrolling).attr("src",e.href);n(e.wrap).bind("onReset",function(){try{n(this).find("iframe").hide().attr("src","//about:blank").end().empty()}catch(e){}}),e.iframe.preload&&(s.showLoading(),t.one("load",function(){n(this).data("ready",1),u||n(this).bind("load.fb",s.update),n(this).parents(".fancybox-wrap").width("100%").removeClass("fancybox-tmp").show(),s._afterLoad()})),e.content=t.appendTo(e.inner),e.iframe.preload||s._afterLoad()},_preloadImages:function(){var e,t,n=s.group,i=s.current,a=n.length,r=i.preload?Math.min(i.preload,a-1):0;for(t=1;r>=t;t+=1)e=n[(i.index+t)%a],"image"===e.type&&e.href&&((new Image).src=e.href)},_afterLoad:function(){var e,t,i,a,r,o=s.coming,l=s.current;if(s.hideLoading(),o&&!1!==s.isActive)if(!1===s.trigger("afterLoad",o,l))o.wrap.stop(!0).trigger("onReset").remove(),s.coming=null;else{switch(l&&(s.trigger("beforeChange",l),l.wrap.stop(!0).removeClass("fancybox-opened").find(".fancybox-item, .fancybox-nav").remove()),s.unbindEvents(),e=o.content,t=o.type,i=o.scrolling,n.extend(s,{wrap:o.wrap,skin:o.skin,outer:o.outer,inner:o.inner,current:o,previous:l}),a=o.href,t){case"inline":case"ajax":case"html":o.selector?e=n("<div>").html(e).find(o.selector):d(e)&&(e.data("fancybox-placeholder")||e.data("fancybox-placeholder",n('<div class="fancybox-placeholder"></div>').insertAfter(e).hide()),e=e.show().detach(),o.wrap.bind("onReset",function(){n(this).find(e).length&&e.hide().replaceAll(e.data("fancybox-placeholder")).data("fancybox-placeholder",!1)}));break;case"image":e=o.tpl.image.replace("{href}",a);break;case"swf":e='<object id="fancybox-swf" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="100%" height="100%"><param name="movie" value="'+a+'"></param>',r="",n.each(o.swf,function(t,n){e+='<param name="'+t+'" value="'+n+'"></param>',r+=" "+t+'="'+n+'"'}),e+='<embed src="'+a+'" type="application/x-shockwave-flash" width="100%" height="100%"'+r+"></embed></object>"}(!d(e)||!e.parent().is(o.inner))&&o.inner.append(e),s.trigger("beforeShow"),o.inner.css("overflow","yes"===i?"scroll":"no"===i?"hidden":i),s._setDimension(),s.reposition(),s.isOpen=!1,s.coming=null,s.bindEvents(),s.isOpened?l.prevMethod&&s.transitions[l.prevMethod]():n(".fancybox-wrap").not(o.wrap).stop(!0).trigger("onReset").remove(),s.transitions[s.isOpened?o.nextMethod:o.openMethod](),s._preloadImages()}},_setDimension:function(){var e,t,i,a,r,o,l,c,u,d=s.getViewport(),h=0,m=!1,v=!1,m=s.wrap,y=s.skin,b=s.inner,w=s.current,v=w.width,x=w.height,T=w.minWidth,E=w.minHeight,S=w.maxWidth,A=w.maxHeight,C=w.scrolling,_=w.scrollOutside?w.scrollbarWidth:0,k=w.margin,I=f(k[1]+k[3]),D=f(k[0]+k[2]);if(m.add(y).add(b).width("auto").height("auto").removeClass("fancybox-tmp"),k=f(y.outerWidth(!0)-y.width()),e=f(y.outerHeight(!0)-y.height()),t=I+k,i=D+e,a=p(v)?(d.w-t)*f(v)/100:v,r=p(x)?(d.h-i)*f(x)/100:x,"iframe"===w.type){if(u=w.content,w.autoHeight&&1===u.data("ready"))try{u[0].contentWindow.document.location&&(b.width(a).height(9999),o=u.contents().find("body"),_&&o.css("overflow-x","hidden"),r=o.outerHeight(!0))}catch(F){}}else(w.autoWidth||w.autoHeight)&&(b.addClass("fancybox-tmp"),w.autoWidth||b.width(a),w.autoHeight||b.height(r),w.autoWidth&&(a=b.width()),w.autoHeight&&(r=b.height()),b.removeClass("fancybox-tmp"));if(v=f(a),x=f(r),c=a/r,T=f(p(T)?f(T,"w")-t:T),S=f(p(S)?f(S,"w")-t:S),E=f(p(E)?f(E,"h")-i:E),A=f(p(A)?f(A,"h")-i:A),o=S,l=A,w.fitToView&&
24(S=Math.min(d.w-t,S),A=Math.min(d.h-i,A)),t=d.w-I,D=d.h-D,w.aspectRatio?(v>S&&(v=S,x=f(v/c)),x>A&&(x=A,v=f(x*c)),T>v&&(v=T,x=f(v/c)),E>x&&(x=E,v=f(x*c))):(v=Math.max(T,Math.min(v,S)),w.autoHeight&&"iframe"!==w.type&&(b.width(v),x=b.height()),x=Math.max(E,Math.min(x,A))),w.fitToView)if(b.width(v).height(x),m.width(v+k),d=m.width(),I=m.height(),w.aspectRatio)for(;(d>t||I>D)&&v>T&&x>E&&!(19<h++);)x=Math.max(E,Math.min(A,x-10)),v=f(x*c),T>v&&(v=T,x=f(v/c)),v>S&&(v=S,x=f(v/c)),b.width(v).height(x),m.width(v+k),d=m.width(),I=m.height();else v=Math.max(T,Math.min(v,v-(d-t))),x=Math.max(E,Math.min(x,x-(I-D)));_&&"auto"===C&&r>x&&t>v+k+_&&(v+=_),b.width(v).height(x),m.width(v+k),d=m.width(),I=m.height(),m=(d>t||I>D)&&v>T&&x>E,v=w.aspectRatio?o>v&&l>x&&a>v&&r>x:(o>v||l>x)&&(a>v||r>x),n.extend(w,{dim:{width:g(d),height:g(I)},origWidth:a,origHeight:r,canShrink:m,canExpand:v,wPadding:k,hPadding:e,wrapSpace:I-y.outerHeight(!0),skinSpace:y.height()-x}),!u&&w.autoHeight&&x>E&&A>x&&!v&&b.height("auto")},_getPosition:function(e){var t=s.current,n=s.getViewport(),i=t.margin,a=s.wrap.width()+i[1]+i[3],r=s.wrap.height()+i[0]+i[2],i={position:"absolute",top:i[0],left:i[3]};return t.autoCenter&&t.fixed&&!e&&r<=n.h&&a<=n.w?i.position="fixed":t.locked||(i.top+=n.y,i.left+=n.x),i.top=g(Math.max(i.top,i.top+(n.h-r)*t.topRatio)),i.left=g(Math.max(i.left,i.left+(n.w-a)*t.leftRatio)),i},_afterZoomIn:function(){var e=s.current;e&&(s.isOpen=s.isOpened=!0,s.wrap.css("overflow","visible").addClass("fancybox-opened"),s.update(),(e.closeClick||e.nextClick&&1<s.group.length)&&s.inner.css("cursor","pointer").bind("click.fb",function(t){!n(t.target).is("a")&&!n(t.target).parent().is("a")&&(t.preventDefault(),s[e.closeClick?"close":"next"]())}),e.closeBtn&&n(e.tpl.closeBtn).appendTo(s.skin).bind("click.fb",function(e){e.preventDefault(),s.close()}),e.arrows&&1<s.group.length&&((e.loop||0<e.index)&&n(e.tpl.prev).appendTo(s.outer).bind("click.fb",s.prev),(e.loop||e.index<s.group.length-1)&&n(e.tpl.next).appendTo(s.outer).bind("click.fb",s.next)),s.trigger("afterShow"),e.loop||e.index!==e.group.length-1?s.opts.autoPlay&&!s.player.isActive&&(s.opts.autoPlay=!1,s.play()):s.play(!1)) 25},_afterZoomOut:function(e){e=e||s.current,n(".fancybox-wrap").trigger("onReset").remove(),n.extend(s,{group:{},opts:{},router:!1,current:null,isActive:!1,isOpened:!1,isOpen:!1,isClosing:!1,wrap:null,skin:null,outer:null,inner:null}),s.trigger("afterClose",e)}}),s.transitions={getOrigPosition:function(){var e=s.current,t=e.element,n=e.orig,i={},a=50,r=50,o=e.hPadding,l=e.wPadding,c=s.getViewport();return!n&&e.isDom&&t.is(":visible")&&(n=t.find("img:first"),n.length||(n=t)),d(n)?(i=n.offset(),n.is("img")&&(a=n.outerWidth(),r=n.outerHeight())):(i.top=c.y+(c.h-r)*e.topRatio,i.left=c.x+(c.w-a)*e.leftRatio),("fixed"===s.wrap.css("position")||e.locked)&&(i.top-=c.y,i.left-=c.x),i={top:g(i.top-o*e.topRatio),left:g(i.left-l*e.leftRatio),width:g(a+l),height:g(r+o)}},step:function(e,t){var n,i,a=t.prop;i=s.current;var r=i.wrapSpace,o=i.skinSpace;("width"===a||"height"===a)&&(n=t.end===t.start?1:(e-t.start)/(t.end-t.start),s.isClosing&&(n=1-n),i="width"===a?i.wPadding:i.hPadding,i=e-i,s.skin[a](f("width"===a?i:i-r*n)),s.inner[a](f("width"===a?i:i-r*n-o*n)))},zoomIn:function(){var e=s.current,t=e.pos,i=e.openEffect,a="elastic"===i,r=n.extend({opacity:1},t);delete r.position,a?(t=this.getOrigPosition(),e.openOpacity&&(t.opacity=.1)):"fade"===i&&(t.opacity=.1),s.wrap.css(t).animate(r,{duration:"none"===i?0:e.openSpeed,easing:e.openEasing,step:a?this.step:null,complete:s._afterZoomIn})},zoomOut:function(){var e=s.current,t=e.closeEffect,n="elastic"===t,i={opacity:.1};n&&(i=this.getOrigPosition(),e.closeOpacity&&(i.opacity=.1)),s.wrap.animate(i,{duration:"none"===t?0:e.closeSpeed,easing:e.closeEasing,step:n?this.step:null,complete:s._afterZoomOut})},changeIn:function(){var e,t=s.current,n=t.nextEffect,i=t.pos,a={opacity:1},r=s.direction;i.opacity=.1,"elastic"===n&&(e="down"===r||"up"===r?"top":"left","down"===r||"right"===r?(i[e]=g(f(i[e])-200),a[e]="+=200px"):(i[e]=g(f(i[e])+200),a[e]="-=200px")),"none"===n?s._afterZoomIn():s.wrap.css(i).animate(a,{duration:t.nextSpeed,easing:t.nextEasing,complete:s._afterZoomIn})},changeOut:function(){var e=s.previous,t=e.prevEffect,i={opacity:.1},a=s.direction;"elastic"===t&&(i["down"===a||"up"===a?"top":"left"]=("up"===a||"left"===a?"-":"+")+"=200px"),e.wrap.animate(i,{duration:"none"===t?0:e.prevSpeed,easing:e.prevEasing,complete:function(){n(this).trigger("onReset").remove()}})}},s.helpers.overlay={defaults:{closeClick:!0,speedOut:200,showEarly:!0,css:{},locked:!u,fixed:!0},overlay:null,fixed:!1,el:n("html"),create:function(e){e=n.extend({},this.defaults,e),this.overlay&&this.close(),this.overlay=n('<div class="fancybox-overlay"></div>').appendTo(s.coming?s.coming.parent:e.parent),this.fixed=!1,e.fixed&&s.defaults.fixed&&(this.overlay.addClass("fancybox-overlay-fixed"),this.fixed=!0)},open:function(e){var t=this;e=n.extend({},this.defaults,e),this.overlay?this.overlay.unbind(".overlay").width("auto").height("auto"):this.create(e),this.fixed||(r.bind("resize.overlay",n.proxy(this.update,this)),this.update()),e.closeClick&&this.overlay.bind("click.overlay",function(e){return n(e.target).hasClass("fancybox-overlay")?(s.isActive?s.close():t.close(),!1):void 0}),this.overlay.css(e.css).show()},close:function(){var e,t;r.unbind("resize.overlay"),this.el.hasClass("fancybox-lock")&&(n(".fancybox-margin").removeClass("fancybox-margin"),e=r.scrollTop(),t=r.scrollLeft(),this.el.removeClass("fancybox-lock"),r.scrollTop(e).scrollLeft(t)),n(".fancybox-overlay").remove().hide(),n.extend(this,{overlay:null,fixed:!1})},update:function(){var e,n="100%";this.overlay.width(n).height("100%"),l?(e=Math.max(t.documentElement.offsetWidth,t.body.offsetWidth),o.width()>e&&(n=o.width())):o.width()>r.width()&&(n=o.width()),this.overlay.width(n).height(o.height())},onReady:function(e,t){var i=this.overlay;n(".fancybox-overlay").stop(!0,!0),i||this.create(e),e.locked&&this.fixed&&t.fixed&&(i||(this.margin=o.height()>r.height()?n("html").css("margin-right").replace("px",""):!1),t.locked=this.overlay.append(t.wrap),t.fixed=!1),!0===e.showEarly&&this.beforeShow.apply(this,arguments)},beforeShow:function(e,t){var i,a;t.locked&&(!1!==this.margin&&(n("*").filter(function(){return"fixed"===n(this).css("position")&&!n(this).hasClass("fancybox-overlay")&&!n(this).hasClass("fancybox-wrap")}).addClass("fancybox-margin"),this.el.addClass("fancybox-margin")),i=r.scrollTop(),a=r.scrollLeft(),this.el.addClass("fancybox-lock"),r.scrollTop(i).scrollLeft(a)),this.open(e)}
25,onUpdate:function(){this.fixed||this.update()},afterClose:function(e){this.overlay&&!s.coming&&this.overlay.fadeOut(e.speedOut,n.proxy(this.close,this))}},s.helpers.title={defaults:{type:"float",position:"bottom"},beforeShow:function(e){var t=s.current,i=t.title,a=e.type;if(n.isFunction(i)&&(i=i.call(t.element,t)),h(i)&&""!==n.trim(i)){switch(t=n('<div class="fancybox-title fancybox-title-'+a+'-wrap">'+i+"</div>"),a){case"inside":a=s.skin;break;case"outside":a=s.wrap;break;case"over":a=s.inner;break;default:a=s.skin,t.appendTo("body"),l&&t.width(t.width()),t.wrapInner('<span class="child"></span>'),s.current.margin[2]+=Math.abs(f(t.css("margin-bottom")))}t["top"===e.position?"prependTo":"appendTo"](a)}}},n.fn.fancybox=function(e){var t,i=n(this),a=this.selector||"",r=function(r){var o,l,c=n(this).blur(),u=t;!(r.ctrlKey||r.altKey||r.shiftKey||r.metaKey||c.is(".fancybox-wrap")||(o=e.groupAttr||"data-fancybox-group",l=c.attr(o),l||(o="rel",l=c.get(0)[o]),l&&""!==l&&"nofollow"!==l&&(c=a.length?n(a):i,c=c.filter("["+o+'="'+l+'"]'),u=c.index(this)),e.index=u,!1===s.open(c,e)||!r.preventDefault()))};return e=e||{},t=e.index||0,a&&!1!==e.live?o.undelegate(a,"click.fb-start").delegate(a+":not('.fancybox-item, .fancybox-nav')","click.fb-start",r):i.unbind("click.fb-start").bind("click.fb-start",r),this.filter("[data-fancybox-start=1]").trigger("click"),this},o.ready(function(){var t,r;if(n.scrollbarWidth===i&&(n.scrollbarWidth=function(){var e=n('<div style="width:50px;height:50px;overflow:auto"><div/></div>').appendTo("body"),t=e.children(),t=t.innerWidth()-t.height(99).innerWidth();return e.remove(),t}),n.support.fixedPosition===i){t=n.support,r=n('<div style="position:fixed;top:20px;"></div>').appendTo("body");var o=20===r[0].offsetTop||15===r[0].offsetTop;r.remove(),t.fixedPosition=o}n.extend(s.defaults,{scrollbarWidth:n.scrollbarWidth(),fixed:n.support.fixedPosition,parent:n("body")}),t=n(e).width(),a.addClass("fancybox-lock-test"),r=n(e).width(),a.removeClass("fancybox-lock-test"),n("<style type='text/css'>.fancybox-margin{margin-right:"+(r-t)+"px;}</style>").appendTo("head")})}(window,document,jQuery),!function(e,t,n,i){var a=t.document,r=e(a),o=e(t),s=Array.prototype,l=1.41,c=!0,u=3e4,d=!1,h=navigator.userAgent.toLowerCase(),p=t.location.hash.replace(/#\//,""),f=t.location.protocol,g=Math,m=function(){},v=function(){return!1},y=function(){var e=3,t=a.createElement("div"),n=t.getElementsByTagName("i");do t.innerHTML="<!--[if gt IE "+ ++e+"]><i></i><![endif]-->";while(n[0]);return e>4?e:a.documentMode||i}(),b=function(){return{html:a.documentElement,body:a.body,head:a.getElementsByTagName("head")[0],title:a.title}},w=t.parent!==t.self,x="data ready thumbnail loadstart loadfinish image play pause progress fullscreen_enter fullscreen_exit idle_enter idle_exit rescale lightbox_open lightbox_close lightbox_image",T=function(){var t=[];return e.each(x.split(" "),function(e,n){t.push(n),/_/.test(n)&&t.push(n.replace(/_/g,""))}),t}(),E=function(t){var n;return"object"!=typeof t?t:(e.each(t,function(i,a){/^[a-z]+_/.test(i)&&(n="",e.each(i.split("_"),function(e,t){n+=e>0?t.substr(0,1).toUpperCase()+t.substr(1):t}),t[n]=a,delete t[i])}),t)},S=function(t){return e.inArray(t,T)>-1?n[t.toUpperCase()]:t},A={youtube:{reg:/https?:\/\/(?:[a-zA_Z]{2,3}.)?(?:youtube\.com\/watch\?)((?:[\w\d\-\_\=]+&(?:amp;)?)*v(?:<[A-Z]+>)?=([0-9a-zA-Z\-\_]+))/i,embed:function(){return"http://www.youtube.com/embed/"+this.id},getUrl:function(){return f+"//gdata.youtube.com/feeds/api/videos/"+this.id+"?v=2&alt=json-in-script&callback=?"},get_thumb:function(e){return e.entry.media$group.media$thumbnail[2].url},get_image:function(e){return e.entry.yt$hd?f+"//img.youtube.com/vi/"+this.id+"/maxresdefault.jpg":e.entry.media$group.media$thumbnail[3].url}},vimeo:{reg:/https?:\/\/(?:www\.)?(vimeo\.com)\/(?:hd#)?([0-9]+)/i,embed:function(){return"http://player.vimeo.com/video/"+this.id},getUrl:function(){return f+"//vimeo.com/api/v2/video/"+this.id+".json?callback=?"},get_thumb:function(e){return e[0].thumbnail_medium},get_image:function(e){return e[0].thumbnail_large}},dailymotion:{reg:/https?:\/\/(?:www\.)?(dailymotion\.com)\/video\/([^_]+)/,embed:function(){return f+"//www.dailymotion.com/embed/video/"+this.id},getUrl:function(){return"https://api.dailymotion.com/video/"+this.id+"?fields=thumbnail_240_url,thumbnail_720_url&callback=?"},get_thumb:function(e){return e.thumbnail_240_url},get_image:function(e){return e.thumbnail_720_url}},_inst:[]},C=function(t,n){for(var i=0;i<A._inst.length;i++)if(A._inst[i].id===n&&A._inst[i].type==t)return A._inst[i];this.type=t,this.id=n,this.readys=[],A._inst.push(this);var a=this;e.extend(this,A[t]),e.getJSON(this.getUrl(),function(t){a.data=t,e.each(a.readys,function(e,t){t(a.data)}),a.readys=[]}),this.getMedia=function(e,t,n){n=n||m;var i=this,a=function(n){t(i["get_"+e](n))};try{i.data?a(i.data):i.readys.push(a)}catch(r){n()}}},_=function(e){var t;for(var n in A)if(t=e&&A[n].reg&&e.match(A[n].reg),t&&t.length)return{id:t[2],provider:n};return!1},k={support:function(){var e=b().html;return!w&&(e.requestFullscreen||e.msRequestFullscreen||e.mozRequestFullScreen||e.webkitRequestFullScreen)}(),callback:m,enter:function(e,t,n){this.instance=e,this.callback=t||m,n=n||b().html,n.requestFullscreen?n.requestFullscreen():n.msRequestFullscreen?n.msRequestFullscreen():n.mozRequestFullScreen?n.mozRequestFullScreen():n.webkitRequestFullScreen&&n.webkitRequestFullScreen()},exit:function(e){this.callback=e||m,a.exitFullscreen?a.exitFullscreen():a.msExitFullscreen?a.msExitFullscreen():a.mozCancelFullScreen?a.mozCancelFullScreen():a.webkitCancelFullScreen&&a.webkitCancelFullScreen()},instance:null,listen:function(){if(this.support){var e=function(){if(k.instance){var e=k.instance._fullscreen;a.fullscreen||a.mozFullScreen||a.webkitIsFullScreen||a.msFullscreenElement&&null!==a.msFullscreenElement?e._enter(k.callback):e._exit(k.callback)}};a.addEventListener("fullscreenchange",e,!1),a.addEventListener("MSFullscreenChange",e,!1),a.addEventListener("mozfullscreenchange",e,!1),a.addEventListener("webkitfullscreenchange",e,!1)}}},I=[],D=[],F=!1,N=!1,L=[],$=[],O=function(t){$.push(t),e.each(L,function(e,n){(n._options.theme==t.name||!n._initialized&&!n._options.theme)&&(n.theme=t,n._init.call(n))})},P=function(){return{clearTimer:function(t){e.each(n.get(),function(){this.clearTimer(t)})},addTimer:function(t){e.each(n.get(),function(){this.addTimer(t)})},array:function(e){return s.slice.call(e,0)},create:function(e,t){t=t||"div";var n=a.createElement(t);return n.className=e,n},removeFromArray:function(t,n){return e.each(t,function(e,i){return i==n?(t.splice(e,1),!1):void 0}),t}
vendor: 12,239 bytes, line 25
25,getScriptPath:function(t){t=t||e("script:last").attr("src");var n=t.split("/");return 1==n.length?"":(n.pop(),n.join("/")+"/")},animate:function(){var i,r,o,s,l,c,u,d=function(e){var n,i="transition WebkitTransition MozTransition OTransition".split(" ");if(t.opera)return!1;for(n=0;i[n];n++)if("undefined"!=typeof e[i[n]])return i[n];return!1}((a.body||a.documentElement).style),h={MozTransition:"transitionend",OTransition:"oTransitionEnd",WebkitTransition:"webkitTransitionEnd",transition:"transitionend"}[d],p={_default:[.25,.1,.25,1],galleria:[.645,.045,.355,1],galleriaIn:[.55,.085,.68,.53],galleriaOut:[.25,.46,.45,.94],ease:[.25,0,.25,1],linear:[.25,.25,.75,.75],"ease-in":[.42,0,1,1],"ease-out":[0,0,.58,1],"ease-in-out":[.42,0,.58,1]},f=function(t,n,i){var a={};i=i||"transition",e.each("webkit moz ms o".split(" "),function(){a["-"+this+"-"+i]=n}),t.css(a)},g=function(e){f(e,"none","transition"),n.WEBKIT&&n.TOUCH&&(f(e,"translate3d(0,0,0)","transform"),e.data("revert")&&(e.css(e.data("revert")),e.data("revert",null)))};return function(a,v,y){return y=e.extend({duration:400,complete:m,stop:!1},y),a=e(a),y.duration?d?(y.stop&&(a.off(h),g(a)),i=!1,e.each(v,function(e,t){u=a.css(e),P.parseValue(u)!=P.parseValue(t)&&(i=!0),a.css(e,u)}),i?(r=[],o=y.easing in p?p[y.easing]:p._default,s=" "+y.duration+"ms cubic-bezier("+o.join(",")+")",void t.setTimeout(function(t,i,a,o){return function(){t.one(i,function(e){return function(){g(e),y.complete.call(e[0])}}(t)),n.WEBKIT&&n.TOUCH&&(l={},c=[0,0,0],e.each(["left","top"],function(e,n){n in a&&(c[e]=P.parseValue(a[n])-P.parseValue(t.css(n))+"px",l[n]=a[n],delete a[n])}),(c[0]||c[1])&&(t.data("revert",l),r.push("-webkit-transform"+o),f(t,"translate3d("+c.join(",")+")","transform"))),e.each(a,function(e){r.push(e+o)}),f(t,r.join(",")),t.css(a)}}(a,h,v,s),2)):void t.setTimeout(function(){y.complete.call(a[0])},y.duration)):void a.animate(v,y):(a.css(v),void y.complete.call(a[0]))}}(),removeAlpha:function(e){if(e instanceof jQuery&&(e=e[0]),9>y&&e){var t=e.style,n=e.currentStyle,i=n&&n.filter||t.filter||"";/alpha/.test(i)&&(t.filter=i.replace(/alpha\([^)]*\)/i,""))}},forceStyles:function(t,n){t=e(t),t.attr("style")&&t.data("styles",t.attr("style")).removeAttr("style"),t.css(n)},revertStyles:function(){e.each(P.array(arguments),function(t,n){n=e(n),n.removeAttr("style"),n.attr("style",""),n.data("styles")&&n.attr("style",n.data("styles")).data("styles",null)})},moveOut:function(e){P.forceStyles(e,{position:"absolute",left:-1e4})},moveIn:function(){P.revertStyles.apply(P,P.array(arguments))},hide:function(t,n,i){i=i||m;var a=e(t);t=a[0],a.data("opacity")||a.data("opacity",a.css("opacity"));var r={opacity:0};if(n){var o=9>y&&t?function(){P.removeAlpha(t),t.style.visibility="hidden",i.call(t)}:i;P.animate(t,r,{duration:n,complete:o,stop:!0})}else 9>y&&t?(P.removeAlpha(t),t.style.visibility="hidden"):a.css(r)},show:function(t,n,i){i=i||m;var a=e(t);t=a[0];var r=parseFloat(a.data("opacity"))||1,o={opacity:r};if(n){9>y&&(a.css("opacity",0),t.style.visibility="visible");var s=9>y&&t?function(){1==o.opacity&&P.removeAlpha(t),i.call(t)}:i;P.animate(t,o,{duration:n,complete:s,stop:!0})}else 9>y&&1==o.opacity&&t?(P.removeAlpha(t),t.style.visibility="visible"):a.css(o)},wait:function(i){n._waiters=n._waiters||[],i=e.extend({until:v,success:m,error:function(){n.raise("Could not complete wait function.")},timeout:3e3},i);var a,r,o,s=P.timestamp(),l=function(){return r=P.timestamp(),a=r-s,P.removeFromArray(n._waiters,o),i.until(a)?(i.success(),!1):"number"==typeof i.timeout&&r>=s+i.timeout?(i.error(),!1):void n._waiters.push(o=t.setTimeout(l,10))};n._waiters.push(o=t.setTimeout(l,10))},toggleQuality:function(e,t){7!==y&&8!==y||!e||"IMG"!=e.nodeName.toUpperCase()||("undefined"==typeof t&&(t="nearest-neighbor"===e.style.msInterpolationMode),e.style.msInterpolationMode=t?"bicubic":"nearest-neighbor")},insertStyleTag:function(t,n){if(!n||!e("#"+n).length){var i=a.createElement("style");if(n&&(i.id=n),b().head.appendChild(i),i.styleSheet)i.styleSheet.cssText=t;else{var r=a.createTextNode(t);i.appendChild(r)}}},loadScript:function(t,n){var i=!1,a=e("<script>").attr({src:t,async:!0}).get(0);a.onload=a.onreadystatechange=function(){i||this.readyState&&"loaded"!==this.readyState&&"complete"!==this.readyState||(i=!0,a.onload=a.onreadystatechange=null,"function"==typeof n&&n.call(this,this))},b().head.appendChild(a)},parseValue:function(e){if("number"==typeof e)return e;if("string"==typeof e){var t=e.match(/\-?\d|\./g);return t&&t.constructor===Array?1*t.join(""):0}return 0},timestamp:function(){return(new Date).getTime()},loadCSS:function(t,r,o){var s,l;if(e("link[rel=stylesheet]").each(function(){return new RegExp(t).test(this.href)?(s=this,!1):void 0}),"function"==typeof r&&(o=r,r=i),o=o||m,s)return o.call(s,s),s;if(l=a.styleSheets.length,e("#"+r).length)e("#"+r).attr("href",t),l--;else{s=e("<link>").attr({rel:"stylesheet",href:t,id:r}).get(0);var c=e('link[rel="stylesheet"], style');if(c.length?c.get(0).parentNode.insertBefore(s,c[0]):b().head.appendChild(s),y&&l>=31)return void n.raise("You have reached the browser stylesheet limit (31)",!0)}if("function"==typeof o){var u=e("<s>").attr("id","galleria-loader").hide().appendTo(b().body);P.wait({until:function(){return 1==u.height()},success:function(){u.remove(),o.call(s,s)},error:function(){u.remove(),n.raise("Theme CSS could not load after 20 sec. "+(n.QUIRK?"Your browser is in Quirks Mode, please add a correct doctype.":"Please download the latest theme at http://galleria.io/customer/."),!0)},timeout:5e3})}return s}}}(),R=function(t){var n=".galleria-videoicon{width:60px;height:60px;position:absolute;top:50%;left:50%;z-index:1;margin:-30px 0 0 -30px;cursor:pointer;background:#000;background:rgba(0,0,0,.8);border-radius:3px;-webkit-transition:all 150ms}.galleria-videoicon i{width:0px;height:0px;border-style:solid;border-width:10px 0 10px 16px;display:block;border-color:transparent transparent transparent #ffffff;margin:20px 0 0 22px}.galleria-image:hover .galleria-videoicon{background:#000}";return P.insertStyleTag(n,"galleria-videoicon"),e(P.create("galleria-videoicon")).html("<i></i>").appendTo(t).click(function(){e(this).siblings("img").mouseup()})},M=function(){var t=function(t,n,i,a){var r=this.getOptions("easing"),o=this.getStageWidth(),s={left:o*(t.rewind?-1:1)},l={left:0};i?(s.opacity=0,l.opacity=1):s.opacity=1,e(t.next).css(s),P.animate(t.next,l,{duration:t.speed,complete:function(e){return function(){n(),e.css({left:0})}}(e(t.next).add(t.prev)),queue:!1,easing:r}),a&&(t.rewind=!t.rewind),t.prev&&(s={left:0},l={left:o*(t.rewind?1:-1)},i&&(s.opacity=1,l.opacity=0),e(t.prev).css(s),P.animate(t.prev,l,{duration:t.speed,queue:!1,easing:r,complete:function(){e(this).css("opacity",0)}}))};return{active:!1,init:function(e,t,n){M.effects.hasOwnProperty(e)&&M.effects[e].call(this,t,n)},effects:{fade:function(t,n){e(t.next).css({opacity:0,left:0}),P.animate(t.next,{opacity:1},{duration:t.speed,complete:n}),t.prev&&(e(t.prev).css("opacity",1).show(),P.animate(t.prev,{opacity:0},{duration:t.speed}))},flash:function(t,n){e(t.next).css({opacity:0,left:0}),t.prev?P.animate(t.prev,{opacity:0},{duration:t.speed/2,complete:function(){P.animate(t.next,{opacity:1},{duration:t.speed,complete:n})}}):P.animate(t.next,{opacity:1},{duration:t.speed,complete:n})},pulse:function(t,n){t.prev&&e(t.prev).hide(),e(t.next).css({opacity:0,left:0}).show(),P.animate(t.next,{opacity:1},{duration:t.speed,complete:n})},slide:function(){t.apply(this,P.array(arguments))},fadeslide:function(){t.apply(this,P.array(arguments).concat([!0]))},doorslide:function(){t.apply(this,P.array(arguments).concat([!1,!0]))}}}}();k.listen(),e.event.special["click:fast"]={propagate:!0,add:function(n){var i=function(e){if(e.touches&&e.touches.length){var t=e.touches[0];return{x:t.pageX,y:t.pageY}}},a={touched:!1,touchdown:!1,coords:{x:0,y:0},evObj:{}};e(this).data({clickstate:a,timer:0}).on("touchstart.fast",function(n){t.clearTimeout(e(this).data("timer")),e(this).data("clickstate",{touched:!0,touchdown:!0,coords:i(n.originalEvent),evObj:n})}).on("touchmove.fast",function(t){var n=i(t.originalEvent),a=e(this).data("clickstate"),r=Math.max(Math.abs(a.coords.x-n.x),Math.abs(a.coords.y-n.y));r>6&&e(this).data("clickstate",e.extend(a,{touchdown:!1}))}).on("touchend.fast",function(i){var r=e(this),o=r.data("clickstate");o.touchdown&&n.handler.call(this,i),r.data("timer",t.setTimeout(function(){r.data("clickstate",a)},400))}).on("click.fast",function(t){var i=e(this).data("clickstate");return i.touched?!1:(e(this).data("clickstate",a),void n.handler.call(this,t))})},remove:function(){e(this).off("touchstart.fast touchmove.fast touchend.fast click.fast")}},o.on("orientationchange",function(){e(this).resize()}),n=function(){var s=this;this._options={},this._playing=!1,this._playtime=5e3,this._active=null,this._queue={length:0},this._data=[],this._dom={},this._thumbnails=[],this._layers=[],this._initialized=!1,this._firstrun=!1,this._stageWidth=0,this._stageHeight=0,this._target=i,this._binds=[],this._id=parseInt(1e4*g.random(),10);var l="container stage images image-nav image-nav-left image-nav-right info info-text info-title info-description thumbnails thumbnails-list thumbnails-container thumb-nav-left thumb-nav-right loader counter tooltip",c="current total";e.each(l.split(" "),function(e,t){s._dom[t]=P.create("galleria-"+t)}),e.each(c.split(" "),function(e,t){s._dom[t]=P.create("galleria-"+t,"span")});var u=this._keyboard={keys:{UP:38,DOWN:40,LEFT:37,RIGHT:39,RETURN:13,ESCAPE:27,BACKSPACE:8,SPACE:32},map:{},bound:!1,press:function(e){var t=e.keyCode||e.which;t in u.map&&"function"==typeof u.map[t]&&u.map[t].call(s,e)},attach:function(e){var t,n;for(t in e)e.hasOwnProperty(t)&&(n=t.toUpperCase(),n in u.keys?u.map[u.keys[n]]=e[t]:u.map[n]=e[t]);u.bound||(u.bound=!0,r.on("keydown",u.press))},detach:function(){u.bound=!1,u.map={},r.off("keydown",u.press)}},d=this._controls={0:i,1:i,active:0,swap:function(){d.active=d.active?0:1},getActive:function(){return s._options.swipe?d.slides[s._active]:d[d.active]},getNext:function(){return s._options.swipe?d.slides[s.getNext(s._active)]:d[1-d.active]},slides:[],frames:[],layers:[]},p=this._carousel={next:s.$("thumb-nav-right"),prev:s.$("thumb-nav-left"),width:0,current:0,max:0,hooks:[],update:function(){var t=0,n=0,i=[0];e.each(s._thumbnails,function(a,r){if(r.ready){t+=r.outerWidth||e(r.container).outerWidth(!0);var o=e(r.container).width();t+=o-g.floor(o),i[a+1]=t,n=g.max(n,r.outerHeight||e(r.container).outerHeight(!0))}}),s.$("thumbnails").css({width:t,height:n}),p.max=t,p.hooks=i,p.width=s.$("thumbnails-list").width(),p.setClasses(),s.$("thumbnails-container").toggleClass("galleria-carousel",t>p.width),p.width=s.$("thumbnails-list").width()},bindControls:function(){var e;p.next.on("click:fast",function(t){if(t.preventDefault(),"auto"===s._options.carouselSteps){for(e=p.current;e<p.hooks.length;e++)if(p.hooks[e]-p.hooks[p.current]>p.width){p.set(e-2);break}}else p.set(p.current+s._options.carouselSteps)}),p.prev.on("click:fast",function(t){if(t.preventDefault(),"auto"===s._options.carouselSteps)for(e=p.current;e>=0;e--){if(p.hooks[p.current]-p.hooks[e]>p.width){p.set(e+2);break}if(0===e){p.set(0);break}}else p.set(p.current-s._options.carouselSteps)})},set:function(e){for(e=g.max(e,0);p.hooks[e-1]+p.width>=p.max&&e>=0;)e--;p.current=e,p.animate()},getLast:function(e){return(e||p.current)-1},follow:function(e){if(0===e||e===p.hooks.length-2)return void p.set(e);for(var t=p.current;p.hooks[t]-p.hooks[p.current]<p.width&&t<=p.hooks.length;)t++;e-1<p.current?p.set(e-1):e+2>t&&p.set(e-t+p.current+2)},setClasses:function(){p.prev.toggleClass("disabled",!p.current),p.next.toggleClass("disabled",p.hooks[p.current]+p.width>=p.max)},animate:function(){p.setClasses();var t=-1*p.hooks[p.current];isNaN(t)||(s.$("thumbnails").css("left",function(){return e(this).css("left")}),P.animate(s.get("thumbnails"),{left:t},{duration:s._options.carouselSpeed,easing:s._options.easing,queue:!1}))}},f=this._tooltip={initialized:!1,open:!1,timer:"tooltip"+s._id,swapTimer:"swap"+s._id,init:function(){f.initialized=!0;var e=".galleria-tooltip{padding:3px 8px;max-width:50%;background:#ffe;
25color:#000;z-index:3;position:absolute;font-size:11px;line-height:1.3;opacity:0;box-shadow:0 0 2px rgba(0,0,0,.4);-moz-box-shadow:0 0 2px rgba(0,0,0,.4);-webkit-box-shadow:0 0 2px rgba(0,0,0,.4);}";P.insertStyleTag(e,"galleria-tooltip"),s.$("tooltip").css({opacity:.8,visibility:"visible",display:"none"})},move:function(e){var t=s.getMousePosition(e).x,n=s.getMousePosition(e).y,i=s.$("tooltip"),a=t,r=n,o=i.outerHeight(!0)+1,l=i.outerWidth(!0),c=o+15,u=s.$("container").width()-l-2,d=s.$("container").height()-o-2;isNaN(a)||isNaN(r)||(a+=10,r-=o+8,a=g.max(0,g.min(u,a)),r=g.max(0,g.min(d,r)),c>n&&(r=c),i.css({left:a,top:r}))},bind:function(t,i){if(!n.TOUCH){f.initialized||f.init();var a=function(){s.$("container").off("mousemove",f.move),s.clearTimer(f.timer),s.$("tooltip").stop().animate({opacity:0},200,function(){s.$("tooltip").hide(),s.addTimer(f.swapTimer,function(){f.open=!1},1e3)})},r=function(t,n){f.define(t,n),e(t).hover(function(){s.clearTimer(f.swapTimer),s.$("container").off("mousemove",f.move).on("mousemove",f.move).trigger("mousemove"),f.show(t),s.addTimer(f.timer,function(){s.$("tooltip").stop().show().animate({opacity:1}),f.open=!0},f.open?0:500)},a).click(a)};"string"==typeof i?r(t in s._dom?s.get(t):t,i):e.each(t,function(e,t){r(s.get(e),t)})}},show:function(n){n=e(n in s._dom?s.get(n):n);var i=n.data("tt"),a=function(e){t.setTimeout(function(e){return function(){f.move(e)}}(e),10),n.off("mouseup",a)};i="function"==typeof i?i():i,i&&(s.$("tooltip").html(i.replace(/\s/," ")),n.on("mouseup",a))},define:function(t,n){if("function"!=typeof n){var i=n;n=function(){return i}}t=e(t in s._dom?s.get(t):t).data("tt",n),f.show(t)}},m=this._fullscreen={scrolled:0,crop:i,active:!1,prev:e(),beforeEnter:function(e){e()},beforeExit:function(e){e()},keymap:s._keyboard.map,parseCallback:function(t,n){return M.active?function(){"function"==typeof t&&t.call(s);var i=s._controls.getActive(),a=s._controls.getNext();s._scaleImage(a),s._scaleImage(i),n&&s._options.trueFullscreen&&e(i.container).add(a.container).trigger("transitionend")}:t},enter:function(e){m.beforeEnter(function(){e=m.parseCallback(e,!0),s._options.trueFullscreen&&k.support?(m.active=!0,P.forceStyles(s.get("container"),{width:"100%",height:"100%"}),s.rescale(),n.MAC?n.SAFARI&&/version\/[1-5]/.test(h)?(s.$("stage").css("opacity",0),t.setTimeout(function(){m.scale(),s.$("stage").css("opacity",1)},4)):(s.$("container").css("opacity",0).addClass("fullscreen"),t.setTimeout(function(){m.scale(),s.$("container").css("opacity",1)},50)):s.$("container").addClass("fullscreen"),o.resize(m.scale),k.enter(s,e,s.get("container"))):(m.scrolled=o.scrollTop(),n.TOUCH||t.scrollTo(0,0),m._enter(e))})},_enter:function(r){m.active=!0,w&&(m.iframe=function(){var i,r=a.referrer,o=a.createElement("a"),s=t.location;return o.href=r,o.protocol!=s.protocol||o.hostname!=s.hostname||o.port!=s.port?(n.raise("Parent fullscreen not available. Iframe protocol, domains and ports must match."),!1):(m.pd=t.parent.document,e(m.pd).find("iframe").each(function(){var e=this.contentDocument||this.contentWindow.document;return e===a?(i=this,!1):void 0}),i)}()),P.hide(s.getActiveImage()),w&&m.iframe&&(m.iframe.scrolled=e(t.parent).scrollTop(),t.parent.scrollTo(0,0));var l=s.getData(),c=s._options,u=!s._options.trueFullscreen||!k.support,d={height:"100%",overflow:"hidden",margin:0,padding:0};if(u&&(s.$("container").addClass("fullscreen"),m.prev=s.$("container").prev(),m.prev.length||(m.parent=s.$("container").parent()),s.$("container").appendTo("body"),P.forceStyles(s.get("container"),{position:n.TOUCH?"absolute":"fixed",top:0,left:0,width:"100%",height:"100%",zIndex:1e4}),P.forceStyles(b().html,d),P.forceStyles(b().body,d)),w&&m.iframe&&(P.forceStyles(m.pd.documentElement,d),P.forceStyles(m.pd.body,d),P.forceStyles(m.iframe,e.extend(d,{width:"100%",height:"100%",top:0,left:0,position:"fixed",zIndex:1e4,border:"none"}))),m.keymap=e.extend({},s._keyboard.map),s.attachKeyboard({escape:s.exitFullscreen,right:s.next,left:s.prev}),m.crop=c.imageCrop,c.fullscreenCrop!=i&&(c.imageCrop=c.fullscreenCrop),l&&l.big&&l.image!==l.big){var h=new n.Picture,p=h.isCached(l.big),f=s.getIndex(),g=s._thumbnails[f];s.trigger({type:n.LOADSTART,cached:p,rewind:!1,index:f,imageTarget:s.getActiveImage(),thumbTarget:g,galleriaData:l}),h.load(l.big,function(t){s._scaleImage(t,{complete:function(t){s.trigger({type:n.LOADFINISH,cached:p,index:f,rewind:!1,imageTarget:t.image,thumbTarget:g});var i=s._controls.getActive().image;i&&e(i).width(t.image.width).height(t.image.height).attr("style",e(t.image).attr("style")).attr("src",t.image.src)}})});var v=s.getNext(f),y=new n.Picture,x=s.getData(v);y.preload(s.isFullscreen()&&x.big?x.big:x.image)}s.rescale(function(){s.addTimer(!1,function(){u&&P.show(s.getActiveImage()),"function"==typeof r&&r.call(s),s.rescale()},100),s.trigger(n.FULLSCREEN_ENTER)}),u?o.resize(m.scale):P.show(s.getActiveImage())},scale:function(){s.rescale()},exit:function(e){m.beforeExit(function(){e=m.parseCallback(e),s._options.trueFullscreen&&k.support?k.exit(e):m._exit(e)})},_exit:function(e){m.active=!1;
vendor: 38,628 bytes, lines 25-27
25var i=!s._options.trueFullscreen||!k.support,a=s.$("container").removeClass("fullscreen");if(m.parent?m.parent.prepend(a):a.insertAfter(m.prev),i){P.hide(s.getActiveImage()),P.revertStyles(s.get("container"),b().html,b().body),n.TOUCH||t.scrollTo(0,m.scrolled);var r=s._controls.frames[s._controls.active];r&&r.image&&(r.image.src=r.image.src)}w&&m.iframe&&(P.revertStyles(m.pd.documentElement,m.pd.body,m.iframe),m.iframe.scrolled&&t.parent.scrollTo(0,m.iframe.scrolled)),s.detachKeyboard(),s.attachKeyboard(m.keymap),s._options.imageCrop=m.crop;var l=s.getData().big,c=s._controls.getActive().image;!s.getData().iframe&&c&&l&&l==c.src&&t.setTimeout(function(e){return function(){c.src=e}}(s.getData().image),1),s.rescale(function(){s.addTimer(!1,function(){i&&P.show(s.getActiveImage()),"function"==typeof e&&e.call(s),o.trigger("resize")},50),s.trigger(n.FULLSCREEN_EXIT)}),o.off("resize",m.scale)}},v=this._idle={trunk:[],bound:!1,active:!1,add:function(t,i,a,r){if(t&&!n.TOUCH){v.bound||v.addEvent(),t=e(t),"boolean"==typeof a&&(r=a,a={}),a=a||{};var o,s={};for(o in i)i.hasOwnProperty(o)&&(s[o]=t.css(o));t.data("idle",{from:e.extend(s,a),to:i,complete:!0,busy:!1}),r?t.css(i):v.addTimer(),v.trunk.push(t)}},remove:function(t){t=e(t),e.each(v.trunk,function(e,n){n&&n.length&&!n.not(t).length&&(t.css(t.data("idle").from),v.trunk.splice(e,1))}),v.trunk.length||(v.removeEvent(),s.clearTimer(v.timer))},addEvent:function(){v.bound=!0,s.$("container").on("mousemove click",v.showAll),"hover"==s._options.idleMode&&s.$("container").on("mouseleave",v.hide)},removeEvent:function(){v.bound=!1,s.$("container").on("mousemove click",v.showAll),"hover"==s._options.idleMode&&s.$("container").off("mouseleave",v.hide)},addTimer:function(){"hover"!=s._options.idleMode&&s.addTimer("idle",function(){v.hide()},s._options.idleTime)},hide:function(){if(s._options.idleMode&&s.getIndex()!==!1){s.trigger(n.IDLE_ENTER);var t=v.trunk.length;e.each(v.trunk,function(e,n){var i=n.data("idle");i&&(n.data("idle").complete=!1,P.animate(n,i.to,{duration:s._options.idleSpeed,complete:function(){e==t-1&&(v.active=!1)}}))})}},showAll:function(){s.clearTimer("idle"),e.each(v.trunk,function(e,t){v.show(t)})},show:function(t){var i=t.data("idle");v.active&&(i.busy||i.complete)||(i.busy=!0,s.trigger(n.IDLE_EXIT),s.clearTimer("idle"),P.animate(t,i.from,{duration:s._options.idleSpeed/2,complete:function(){v.active=!0,e(t).data("idle").busy=!1,e(t).data("idle").complete=!0}})),v.addTimer()}},x=this._lightbox={width:0,height:0,initialized:!1,active:null,image:null,elems:{},keymap:!1,init:function(){if(!x.initialized){x.initialized=!0;var t="overlay box content shadow title info close prevholder prev nextholder next counter image",i={},a=s._options,r="",o="position:absolute;",l="lightbox-",c={overlay:"position:fixed;display:none;opacity:"+a.overlayOpacity+";filter:alpha(opacity="+100*a.overlayOpacity+");top:0;left:0;width:100%;height:100%;background:"+a.overlayBackground+";z-index:99990",box:"position:fixed;display:none;width:400px;height:400px;top:50%;left:50%;margin-top:-200px;margin-left:-200px;z-index:99991",shadow:o+"background:#000;width:100%;height:100%;",content:o+"background-color:#fff;top:10px;left:10px;right:10px;bottom:10px;overflow:hidden",info:o+"bottom:10px;left:10px;right:10px;color:#444;font:11px/13px arial,sans-serif;height:13px",close:o+"top:10px;right:10px;height:20px;width:20px;background:#fff;text-align:center;cursor:pointer;color:#444;font:16px/22px arial,sans-serif;z-index:99999",image:o+"top:10px;left:10px;right:10px;bottom:30px;overflow:hidden;display:block;",prevholder:o+"width:50%;top:0;bottom:40px;cursor:pointer;",nextholder:o+"width:50%;top:0;bottom:40px;right:-1px;cursor:pointer;",prev:o+"top:50%;margin-top:-20px;height:40px;width:30px;background:#fff;left:20px;display:none;text-align:center;color:#000;font:bold 16px/36px arial,sans-serif",next:o+"top:50%;margin-top:-20px;height:40px;width:30px;background:#fff;right:20px;left:auto;display:none;font:bold 16px/36px arial,sans-serif;text-align:center;color:#000",title:"float:left",counter:"float:right;margin-left:8px;"},u=function(t){return t.hover(function(){e(this).css("color","#bbb")},function(){e(this).css("color","#444")})},d={},h="";h=y>7?9>y?"background:#000;filter:alpha(opacity=0);":"background:rgba(0,0,0,0);":"z-index:99999",c.nextholder+=h,c.prevholder+=h,e.each(c,function(e,t){r+=".galleria-"+l+e+"{"+t+"}" 26}),r+=".galleria-"+l+"box.iframe .galleria-"+l+"prevholder,.galleria-"+l+"box.iframe .galleria-"+l+"nextholder{width:100px;height:100px;top:50%;margin-top:-70px}",P.insertStyleTag(r,"galleria-lightbox"),e.each(t.split(" "),function(e,t){s.addElement("lightbox-"+t),i[t]=x.elems[t]=s.get("lightbox-"+t)}),x.image=new n.Picture,e.each({box:"shadow content close prevholder nextholder",info:"title counter",content:"info image",prevholder:"prev",nextholder:"next"},function(t,n){var i=[];e.each(n.split(" "),function(e,t){i.push(l+t)}),d[l+t]=i}),s.append(d),e(i.image).append(x.image.container),e(b().body).append(i.overlay,i.box),u(e(i.close).on("click:fast",x.hide).html("×")),e.each(["Prev","Next"],function(t,a){var r=e(i[a.toLowerCase()]).html(/v/.test(a)?"‹ ":" ›"),o=e(i[a.toLowerCase()+"holder"]);return o.on("click:fast",function(){x["show"+a]()}),8>y||n.TOUCH?void r.show():void o.hover(function(){r.show()},function(){r.stop().fadeOut(200)})}),e(i.overlay).on("click:fast",x.hide),n.IPAD&&(s._options.lightboxTransitionSpeed=0)}},rescale:function(t){var i=g.min(o.width()-40,x.width),a=g.min(o.height()-60,x.height),r=g.min(i/x.width,a/x.height),l=g.round(x.width*r)+40,c=g.round(x.height*r)+60,u={width:l,height:c,"margin-top":-1*g.ceil(c/2),"margin-left":-1*g.ceil(l/2)};t?e(x.elems.box).css(u):e(x.elems.box).animate(u,{duration:s._options.lightboxTransitionSpeed,easing:s._options.easing,complete:function(){var t=x.image,i=s._options.lightboxFadeSpeed;s.trigger({type:n.LIGHTBOX_IMAGE,imageTarget:t.image}),e(t.container).show(),e(t.image).animate({opacity:1},i),P.show(x.elems.info,i)}})},hide:function(){x.image.image=null,o.off("resize",x.rescale),e(x.elems.box).hide().find("iframe").remove(),P.hide(x.elems.info),s.detachKeyboard(),s.attachKeyboard(x.keymap),x.keymap=!1,P.hide(x.elems.overlay,200,function(){e(this).hide().css("opacity",s._options.overlayOpacity),s.trigger(n.LIGHTBOX_CLOSE)})},showNext:function(){x.show(s.getNext(x.active))},showPrev:function(){x.show(s.getPrev(x.active))},show:function(i){x.active=i="number"==typeof i?i:s.getIndex()||0,x.initialized||x.init(),s.trigger(n.LIGHTBOX_OPEN),x.keymap||(x.keymap=e.extend({},s._keyboard.map),s.attachKeyboard({escape:x.hide,right:x.showNext,left:x.showPrev})),o.off("resize",x.rescale);var a,r,l,c=s.getData(i),u=s.getDataLength(),d=s.getNext(i);P.hide(x.elems.info);try{for(l=s._options.preload;l>0;l--)r=new n.Picture,a=s.getData(d),r.preload(a.big?a.big:a.image),d=s.getNext(d)}catch(h){}x.image.isIframe=c.iframe&&!c.image,e(x.elems.box).toggleClass("iframe",x.image.isIframe),e(x.image.container).find(".galleria-videoicon").remove(),x.image.load(c.big||c.image||c.iframe,function(n){if(n.isIframe){var a=e(t).width(),r=e(t).height();if(n.video&&s._options.maxVideoSize){var l=g.min(s._options.maxVideoSize/a,s._options.maxVideoSize/r);1>l&&(a*=l,r*=l)}x.width=a,x.height=r}else x.width=n.original.width,x.height=n.original.height;if(e(n.image).css({width:n.isIframe?"100%":"100.1%",height:n.isIframe?"100%":"100.1%",top:0,bottom:0,zIndex:99998,opacity:0,visibility:"visible"}).parent().height("100%"),x.elems.title.innerHTML=c.title||"",x.elems.counter.innerHTML=i+1+" / "+u,o.resize(x.rescale),x.rescale(),c.image&&c.iframe){if(e(x.elems.box).addClass("iframe"),c.video){var d=R(n.container).hide();t.setTimeout(function(){d.fadeIn(200)},200)}e(n.image).css("cursor","pointer").mouseup(function(t,n){return function(i){e(x.image.container).find(".galleria-videoicon").remove(),i.preventDefault(),n.isIframe=!0,n.load(t.iframe+(t.video?"&autoplay=1":""),{width:"100%",height:8>y?e(x.image.container).height():"100%"})}}(c,n))}}),e(x.elems.overlay).show().css("visibility","visible"),e(x.elems.box).show()}},T=this._timer={trunk:{},add:function(e,n,i,a){if(e=e||(new Date).getTime(),a=a||!1,this.clear(e),a){var r=n;n=function(){r(),T.add(e,n,i)}}this.trunk[e]=t.setTimeout(n,i)},clear:function(e){var n,i=function(e){t.clearTimeout(this.trunk[e]),delete this.trunk[e]};if(e&&e in this.trunk)i.call(this,e);else if("undefined"==typeof e)for(n in this.trunk)this.trunk.hasOwnProperty(n)&&i.call(this,n)}};return this},n.prototype={constructor:n,init:function(t,a){if(a=E(a),this._original={target:t,options:a,data:null},this._target=this._dom.target=t.nodeName?t:e(t).get(0),this._original.html=this._target.innerHTML,D.push(this),!this._target)return void n.raise("Target not found",!0);if(this._options={autoplay:!1,carousel:!0,carouselFollow:!0,carouselSpeed:400,carouselSteps:"auto",clicknext:!1,dailymotion:{foreground:"%23EEEEEE",highlight:"%235BCEC5",background:"%23222222",logo:0,hideInfos:1},dataConfig:function(){return{}},dataSelector:"img",dataSort:!1,dataSource:this._target,debug:i,dummy:i,easing:"galleria",extend:function(){},fullscreenCrop:i,fullscreenDoubleTap:!0,fullscreenTransition:i,height:0,idleMode:!0,idleTime:3e3,idleSpeed:200,imageCrop:!1,imageMargin:0,imagePan:!1,imagePanSmoothness:12,imagePosition:"50%",imageTimeout:i,initialTransition:i,keepSource:!1,layerFollow:!0,lightbox:!1,lightboxFadeSpeed:200,lightboxTransitionSpeed:200,linkSourceImages:!0,maxScaleRatio:i,maxVideoSize:i,minScaleRatio:i,overlayOpacity:.85,overlayBackground:"#0b0b0b",pauseOnInteraction:!0,popupLinks:!1,preload:2,queue:!0,responsive:!0,show:0,showInfo:!0,showCounter:!0,showImagenav:!0,swipe:"auto",theme:null,thumbCrop:!0,thumbEventType:"click:fast",thumbMargin:0,thumbQuality:"auto",thumbDisplayOrder:!0,thumbPosition:"50%",thumbnails:!0,touchTransition:i,transition:"fade",transitionInitial:i,transitionSpeed:400,trueFullscreen:!0,useCanvas:!1,variation:"",videoPoster:!0,vimeo:{title:0,byline:0,portrait:0,color:"aaaaaa"},wait:5e3,width:"auto",youtube:{modestbranding:1,autohide:1,color:"white",hd:1,rel:0,showinfo:0}},this._options.initialTransition=this._options.initialTransition||this._options.transitionInitial,a&&(a.debug===!1&&(c=!1),"number"==typeof a.imageTimeout&&(u=a.imageTimeout),"string"==typeof a.dummy&&(d=a.dummy),"string"==typeof a.theme&&(this._options.theme=a.theme)),e(this._target).children().hide(),n.QUIRK&&n.raise("Your page is in Quirks mode, Galleria may not render correctly. Please validate your HTML and add a correct doctype."),$.length)if(this._options.theme){for(var r=0;r<$.length;r++)if(this._options.theme===$[r].name){this.theme=$[r];break}}else this.theme=$[0];return"object"==typeof this.theme?this._init():L.push(this),this},_init:function(){var r=this,s=this._options;if(this._initialized)return n.raise("Init failed: Gallery instance already initialized."),this;if(this._initialized=!0,!this.theme)return n.raise("Init failed: No theme found.",!0),this;if(e.extend(!0,s,this.theme.defaults,this._original.options,n.configure.options),s.swipe=function(e){return"enforced"==e?!0:e===!1||"disabled"==e?!1:!!n.TOUCH}(s.swipe),s.swipe&&(s.clicknext=!1,s.imagePan=!1),!function(e){return"getContext"in e?void(N=N||{elem:e,context:e.getContext("2d"),cache:{},length:0}):void(e=null)}(a.createElement("canvas")),this.bind(n.DATA,function(){t.screen&&t.screen.width&&Array.prototype.forEach&&this._data.forEach(function(e){var n="devicePixelRatio"in t?t.devicePixelRatio:1,i=g.max(t.screen.width,t.screen.height);1024>i*n&&(e.big=e.image)}),this._original.data=this._data,this.get("total").innerHTML=this.getDataLength();var e=this.$("container");r._options.height<2&&(r._userRatio=r._ratio=r._options.height);var i={width:0,height:0},a=function(){return r.$("stage").height()};P.wait({until:function(){return i=r._getWH(),e.width(i.width).height(i.height),a()&&i.width&&i.height>50},success:function(){r._width=i.width,r._height=i.height,r._ratio=r._ratio||i.height/i.width,n.WEBKIT?t.setTimeout(function(){r._run()},1):r._run()},error:function(){a()?n.raise("Could not extract sufficient width/height of the gallery container. Traced measures: width:"+i.width+"px, height: "+i.height+"px.",!0):n.raise("Could not extract a stage height from the CSS. Traced height: "+a()+"px.",!0)},timeout:"number"==typeof this._options.wait?this._options.wait:!1})}),this.append({"info-text":["info-title","info-description"],info:["info-text"],"image-nav":["image-nav-right","image-nav-left"],stage:["images","loader","counter","image-nav"],"thumbnails-list":["thumbnails"],"thumbnails-container":["thumb-nav-left","thumbnails-list","thumb-nav-right"],container:["stage","thumbnails-container","info","tooltip"]}),P.hide(this.$("counter").append(this.get("current"),a.createTextNode(" / "),this.get("total"))),this.setCounter("–"),P.hide(r.get("tooltip")),this.$("container").addClass([n.TOUCH?"touch":"notouch",this._options.variation,"galleria-theme-"+this.theme.name].join(" ")),this._options.swipe||e.each(new Array(2),function(t){var i=new n.Picture;e(i.container).css({position:"absolute",top:0,left:0}).prepend(r._layers[t]=e(P.create("galleria-layer")).css({position:"absolute",top:0,left:0,right:0,bottom:0,zIndex:2})[0]),r.$("images").append(i.container),r._controls[t]=i;var a=new n.Picture;a.isIframe=!0,e(a.container).attr("class","galleria-frame").css({position:"absolute",top:0,left:0,zIndex:4,background:"#000",display:"none"}).appendTo(i.container),r._controls.frames[t]=a}),this.$("images").css({position:"relative",top:0,left:0,width:"100%",height:"100%"}),s.swipe&&(this.$("images").css({position:"absolute",top:0,left:0,width:0,height:"100%"}),this.finger=new n.Finger(this.get("stage"),{onchange:function(e){r.pause().show(e)},oncomplete:function(t){var n=g.max(0,g.min(parseInt(t,10),r.getDataLength()-1)),i=r.getData(n);e(r._thumbnails[n].container).addClass("active").siblings(".active").removeClass("active"),i&&(r.$("images").find(".galleria-frame").css("opacity",0).hide().find("iframe").remove(),r._options.carousel&&r._options.carouselFollow&&r._carousel.follow(n))}}),this.bind(n.RESCALE,function(){this.finger.setup()}),this.$("stage").on("click",function(){var n=r.getData();if(n){if(n.iframe){r.isPlaying()&&r.pause();var a=r._controls.frames[r._active],o=r._stageWidth,s=r._stageHeight;if(e(a.container).find("iframe").length)return;return e(a.container).css({width:o,height:s,opacity:0}).show().animate({opacity:1},200),void t.setTimeout(function(){a.load(n.iframe+(n.video?"&autoplay=1":""),{width:o,height:s},function(e){r.$("container").addClass("videoplay"),e.scale({width:r._stageWidth,height:r._stageHeight,iframelimit:n.video?r._options.maxVideoSize:i})})},100)}if(n.link)if(r._options.popupLinks){t.open(n.link,"_blank")}else t.location.href=n.link;else;}}),this.bind(n.IMAGE,function(t){r.setCounter(t.index),r.setInfo(t.index);var n=this.getNext(),i=this.getPrev(),a=[i,n];a.push(this.getNext(n),this.getPrev(i),r._controls.slides.length-1);var o=[];e.each(a,function(t,n){-1==e.inArray(n,o)&&o.push(n)}),e.each(o,function(t,n){var i=r.getData(n),a=r._controls.slides[n],o=r.isFullscreen()&&i.big?i.big:i.image||i.iframe;i.iframe&&!i.image&&(a.isIframe=!0),a.ready||r._controls.slides[n].load(o,function(t){t.isIframe||e(t.image).css("visibility","hidden"),r._scaleImage(t,{complete:function(t){t.isIframe||e(t.image).css({opacity:0,visibility:"visible"}).animate({opacity:1},200)}})})})})),this.$("thumbnails, thumbnails-list").css({overflow:"hidden",position:"relative"}),this.$("image-nav-right, image-nav-left").on("click:fast",function(){s.pauseOnInteraction&&r.pause();var e=/right/.test(this.className)?"next":"prev";r[e]()}).on("click",function(e){e.preventDefault(),(s.clicknext||s.swipe)&&e.stopPropagation()}),e.each(["info","counter","image-nav"],function(e,t){s["show"+t.substr(0,1).toUpperCase()+t.substr(1).replace(/-/,"")]===!1&&P.moveOut(r.get(t.toLowerCase()))}),this.load(),s.keepSource||y||(this._target.innerHTML=""),this.get("errors")&&this.appendChild("target","errors"),this.appendChild("target","container"),s.carousel){var l=0,c=s.show;this.bind(n.THUMBNAIL,function(){this.updateCarousel(),++l==this.getDataLength()&&"number"==typeof c&&c>0&&this._carousel.follow(c)})}return s.responsive&&o.on("resize",function(){r.isFullscreen()||r.resize()}),s.fullscreenDoubleTap&&this.$("stage").on("touchstart",function(){var e,t,n,i,a,o,s=function(e){return e.originalEvent.touches?e.originalEvent.touches[0]:e};return r.$("stage").on("touchmove",function(){e=0}),function(l){if(!/(-left|-right)/.test(l.target.className)){if(o=P.timestamp(),t=s(l).pageX,n=s(l).pageY,l.originalEvent.touches.length<2&&300>o-e&&20>t-i&&20>n-a)return r.toggleFullscreen(),void l.preventDefault();e=o,i=t,a=n}}}()),e.each(n.on.binds,function(t,n){-1==e.inArray(n.hash,r._binds)&&r.bind(n.type,n.callback)}),this},addTimer:function(){return this._timer.add.apply(this._timer,P.array(arguments)),this},clearTimer:function(){return this._timer.clear.apply(this._timer,P.array(arguments)),this},_getWH:function(){var t,n=this.$("container"),i=this.$("target"),a=this,r={};return e.each(["width","height"],function(e,o){a._options[o]&&"number"==typeof a._options[o]?r[o]=a._options[o]:(t=[P.parseValue(n.css(o)),P.parseValue(i.css(o)),n[o](),i[o]()],a["_"+o]||t.splice(t.length,P.parseValue(n.css("min-"+o)),P.parseValue(i.css("min-"+o))),r[o]=g.max.apply(g,t))}),a._userRatio&&(r.height=r.width*a._userRatio),r},_createThumbnails:function(i){this.get("total").innerHTML=this.getDataLength();var r,o,s,l,c=this,u=this._options,d=i?this._data.length-i.length:0,h=d,p=[],f=0,g=8>y?"http://upload.wikimedia.org/wikipedia/commons/c/c0/Blank.gif":"data:image/gif;base64,R0lGODlhAQABAPABAP///wAAACH5BAEKAAAALAAAAAABAAEAAAICRAEAOw%3D%3D",m=function(){var e=c.$("thumbnails").find(".active");return e.length?e.find("img").attr("src"):!1}(),v="string"==typeof u.thumbnails?u.thumbnails.toLowerCase():null,b=function(e){return a.defaultView&&a.defaultView.getComputedStyle?a.defaultView.getComputedStyle(o.container,null)[e]:l.css(e)},w=function(t,i,a){return function(){e(a).append(t),c.trigger({type:n.THUMBNAIL,thumbTarget:t,index:i,galleriaData:c.getData(i)})}},x=function(t){u.pauseOnInteraction&&c.pause();var n=e(t.currentTarget).data("index");c.getIndex()!==n&&c.show(n),t.preventDefault()},T=function(t,i){e(t.container).css("visibility","visible"),c.trigger({type:n.THUMBNAIL,thumbTarget:t.image,index:t.data.order,galleriaData:c.getData(t.data.order)}),"function"==typeof i&&i.call(c,t)},E=function(t,n){t.scale({width:t.data.width,height:t.data.height,crop:u.thumbCrop,margin:u.thumbMargin,canvas:u.useCanvas,position:u.thumbPosition,complete:function(t){{var i,a,r=["left","top"],o=["Width","Height"];c.getData(t.index)}e.each(o,function(n,o){i=o.toLowerCase(),(u.thumbCrop!==!0||u.thumbCrop===i)&&(a={},a[i]=t[i],e(t.container).css(a),a={},a[r[n]]=0,e(t.image).css(a)),t["outer"+o]=e(t.container)["outer"+o](!0)}),P.toggleQuality(t.image,u.thumbQuality===!0||"auto"===u.thumbQuality&&t.original.width<3*t.width),u.thumbDisplayOrder&&!t.lazy?e.each(p,function(e,t){return e===f&&t.ready&&!t.displayed?(f++,t.displayed=!0,void T(t,n)):void 0}):T(t,n)}})};for(i||(this._thumbnails=[],this.$("thumbnails").empty());this._data[d];d++)s=this._data[d],r=s.thumb||s.image,u.thumbnails!==!0&&"lazy"!=v||!s.thumb&&!s.image?s.iframe&&null!==v||"empty"===v||"numbers"===v?(o={container:P.create("galleria-image"),image:P.create("img","span"),ready:!0,data:{order:d}},"numbers"===v&&e(o.image).text(d+1),s.iframe&&e(o.image).addClass("iframe"),this.$("thumbnails").append(o.container),t.setTimeout(w(o.image,d,o.container),50+20*d)):o={container:null,image:null}:(o=new n.Picture(d),o.index=d,o.displayed=!1,o.lazy=!1,o.video=!1,this.$("thumbnails").append(o.container),l=e(o.container),l.css("visibility","hidden"),o.data={width:P.parseValue(b("width")),height:P.parseValue(b("height")),order:d,src:r},l.css(u.thumbCrop!==!0?{width:"auto",height:"auto"}:{width:o.data.width,height:o.data.height}),"lazy"==v?(l.addClass("lazy"),o.lazy=!0,o.load(g,{height:o.data.height,width:o.data.width})):o.load(r,E),"all"===u.preload&&o.preload(s.image)),e(o.container).add(u.keepSource&&u.linkSourceImages?s.original:null).data("index",d).on(u.thumbEventType,x).data("thumbload",E),m===r&&e(o.container).addClass("active"),this._thumbnails.push(o);return p=this._thumbnails.slice(h),this},lazyLoad:function(t,n){var i=t.constructor==Array?t:[t],a=this,r=0;return e.each(i,function(t,o){if(!(o>a._thumbnails.length-1)){var s=a._thumbnails[o],l=s.data,c=function(){++r==i.length&&"function"==typeof n&&n.call(a)},u=e(s.container).data("thumbload");s.video?u.call(a,s,c):s.load(l.src,function(e){u.call(a,e,c)})}}),this},lazyLoadChunks:function(e,n){var i=this.getDataLength(),a=0,r=0,o=[],s=[],l=this;for(n=n||0;i>a;a++)s.push(a),(++r==e||a==i-1)&&(o.push(s),r=0,s=[]);var c=function(e){var i=o.shift();i&&t.setTimeout(function(){l.lazyLoad(i,function(){c(!0)})},n&&e?n:0)};return c(!1),this},_run:function(){var a=this;a._createThumbnails(),P.wait({timeout:1e4,until:function(){return n.OPERA&&a.$("stage").css("display","inline-block"),a._stageWidth=a.$("stage").width(),a._stageHeight=a.$("stage").height(),a._stageWidth&&a._stageHeight>50},success:function(){if(I.push(a),a._options.swipe){var r=a.$("images").width(a.getDataLength()*a._stageWidth);e.each(new Array(a.getDataLength()),function(t){var i=new n.Picture,o=a.getData(t);e(i.container).css({position:"absolute",top:0,left:a._stageWidth*t}).prepend(a._layers[t]=e(P.create("galleria-layer")).css({position:"absolute",top:0,left:0,right:0,bottom:0,zIndex:2})[0]).appendTo(r),o.video&&R(i.container),a._controls.slides.push(i);var s=new n.Picture;s.isIframe=!0,e(s.container).attr("class","galleria-frame").css({position:"absolute",top:0,left:0,zIndex:4,background:"#000",display:"none"}).appendTo(i.container),a._controls.frames.push(s)}),a.finger.setup()}return P.show(a.get("counter")),a._options.carousel&&a._carousel.bindControls(),a._options.autoplay&&(a.pause(),"number"==typeof a._options.autoplay&&(a._playtime=a._options.autoplay),a._playing=!0),a._firstrun?(a._options.autoplay&&a.trigger(n.PLAY),void("number"==typeof a._options.show&&a.show(a._options.show))):(a._firstrun=!0,n.History&&n.History.change(function(e){isNaN(e)?t.history.go(-1):a.show(e,i,!0)}),a.trigger(n.READY),a.theme.init.call(a,a._options),e.each(n.ready.callbacks,function(e,t){"function"==typeof t&&t.call(a,a._options)}),a._options.extend.call(a,a._options),/^[0-9]{1,4}$/.test(p)&&n.History?a.show(p,i,!0):a._data[a._options.show]&&a.show(a._options.show),void(a._options.autoplay&&a.trigger(n.PLAY)))},error:function(){n.raise("Stage width or height is too small to show the gallery. Traced measures: width:"+a._stageWidth+"px, height: "+a._stageHeight+"px.",!0)}})},load:function(t,i,a){var r=this,o=this._options;return this._data=[],this._thumbnails=[],this.$("thumbnails").empty(),"function"==typeof i&&(a=i,i=null),t=t||o.dataSource,i=i||o.dataSelector,a=a||o.dataConfig,e.isPlainObject(t)&&(t=[t]),e.isArray(t)?this.validate(t)?this._data=t:n.raise("Load failed: JSON Array not valid."):(i+=",.video,.iframe",e(t).find(i).each(function(t,n){n=e(n);var i={},o=n.parent(),s=o.attr("href"),l=o.attr("rel");s&&("IMG"==n[0].nodeName||n.hasClass("video"))&&_(s)?i.video=s:s&&n.hasClass("iframe")?i.iframe=s:i.image=i.big=s,l&&(i.big=l),e.each("big title description link layer image".split(" "),function(e,t){n.data(t)&&(i[t]=n.data(t).toString())}),i.big||(i.big=i.image),r._data.push(e.extend({title:n.attr("title")||"",thumb:n.attr("src"),image:n.attr("src"),big:n.attr("src"),description:n.attr("alt")||"",link:n.attr("longdesc"),original:n.get(0)},i,a(n)))})),"function"==typeof o.dataSort?s.sort.call(this._data,o.dataSort):"random"==o.dataSort&&this._data.sort(function(){return g.round(g.random())-.5}),this.getDataLength()&&this._parseData(function(){this.trigger(n.DATA)}),this},_parseData:function(t){var n,a=this,r=!1,o=function(){var n=!0;e.each(a._data,function(e,t){return t.loading?(n=!1,!1):void 0}),n&&!r&&(r=!0,t.call(a))};return e.each(this._data,function(t,r){if(n=a._data[t],"thumb"in r==!1&&(n.thumb=r.image),r.big||(n.big=r.image),"video"in r){var s=_(r.video);s&&(n.iframe=new C(s.provider,s.id).embed()+function(){if("object"==typeof a._options[s.provider]){var t="?",n=[];return e.each(a._options[s.provider],function(e,t){n.push(e+"="+t)}),"youtube"==s.provider&&(n=["wmode=opaque"].concat(n)),t+n.join("&")}return""}(),n.thumb&&n.image||e.each(["thumb","image"],function(e,t){if("image"==t&&!a._options.videoPoster)return void(n.image=i);var r=new C(s.provider,s.id);n[t]||(n.loading=!0,r.getMedia(t,function(e,t){return function(n){e[t]=n,"image"!=t||e.big||(e.big=e.image),delete e.loading,o()}}(n,t)))}))}}),o(),this},destroy:function(){return this.$("target").data("galleria",null),this.$("container").off("galleria"),this.get("target").innerHTML=this._original.html,this.clearTimer(),P.removeFromArray(D,this),P.removeFromArray(I,this),n._waiters.length&&e.each(n._waiters,function(e,n){n&&t.clearTimeout(n)}),this},splice:function(){var e=this,n=P.array(arguments);return t.setTimeout(function(){s.splice.apply(e._data,n),e._parseData(function(){e._createThumbnails()})},2),e},push:function(){var e=this,n=P.array(arguments);return 1==n.length&&n[0].constructor==Array&&(n=n[0]),t.setTimeout(function(){s.push.apply(e._data,n),e._parseData(function(){e._createThumbnails(n)})},2),e},_getActive:function(){return this._controls.getActive()},validate:function(){return!0},bind:function(e,t){return e=S(e),this.$("container").on(e,this.proxy(t)),this},unbind:function(e){return e=S(e),this.$("container").off(e),this},trigger:function(t){return t="object"==typeof t?e.extend(t,{scope:this}):{type:S(t),scope:this},this.$("container").trigger(t),this},addIdleState:function(){return this._idle.add.apply(this._idle,P.array(arguments)),this},removeIdleState:function(){return this._idle.remove.apply(this._idle,P.array(arguments)),this},enterIdleMode:function(){return this._idle.hide(),this},exitIdleMode:function(){return this._idle.showAll(),this},enterFullscreen:function(){return this._fullscreen.enter.apply(this,P.array(arguments)),this},exitFullscreen:function(){return this._fullscreen.exit.apply(this,P.array(arguments)),this},toggleFullscreen:function(){return this._fullscreen[this.isFullscreen()?"exit":"enter"].apply(this,P.array(arguments)),this},bindTooltip:function(){return this._tooltip.bind.apply(this._tooltip,P.array(arguments)),this},defineTooltip:function(){return this._tooltip.define.apply(this._tooltip,P.array(arguments)),this},refreshTooltip:function(){return this._tooltip.show.apply(this._tooltip,P.array(arguments)),this},openLightbox:function(){return this._lightbox.show.apply(this._lightbox,P.array(arguments)),this},closeLightbox:function(){return this._lightbox.hide.apply(this._lightbox,P.array(arguments)),this},hasVariation:function(t){return e.inArray(t,this._options.variation.split(/\s+/))>-1},getActiveImage:function(){var e=this._getActive();return e?e.image:i},getActiveThumb:function(){return this._thumbnails[this._active].image||i},getMousePosition:function(e){return{x:e.pageX-this.$("container").offset().left,y:e.pageY-this.$("container").offset().top}},addPan:function(t){if(this._options.imageCrop!==!1){t=e(t||this.getActiveImage());var n=this,i=t.width()/2,a=t.height()/2,r=parseInt(t.css("left"),10),o=parseInt(t.css("top"),10),s=r||0,l=o||0,c=0,u=0,d=!1,h=P.timestamp(),p=0,f=0,m=function(e,n,i){if(e>0&&(f=g.round(g.max(-1*e,g.min(0,n))),p!==f))if(p=f,8===y)t.parent()["scroll"+i](-1*f);else{var a={};a[i.toLowerCase()]=f,t.css(a)}},v=function(e){P.timestamp()-h<50||(d=!0,i=n.getMousePosition(e).x,a=n.getMousePosition(e).y)},b=function(){d&&(c=t.width()-n._stageWidth,u=t.height()-n._stageHeight,r=i/n._stageWidth*c*-1,o=a/n._stageHeight*u*-1,s+=(r-s)/n._options.imagePanSmoothness,l+=(o-l)/n._options.imagePanSmoothness,m(u,l,"Top"),m(c,s,"Left"))};return 8===y&&(t.parent().scrollTop(-1*l).scrollLeft(-1*s),t.css({top:0,left:0})),this.$("stage").off("mousemove",v).on("mousemove",v),this.addTimer("pan"+n._id,b,50,!0),this}},proxy:function(e,t){return"function"!=typeof e?m:(t=t||this,function(){return e.apply(t,P.array(arguments))})},getThemeName:function(){return this.theme.name},removePan:function(){return this.$("stage").off("mousemove"),this.clearTimer("pan"+this._id),this},addElement:function(){var t=this._dom;return e.each(P.array(arguments),function(e,n){t[n]=P.create("galleria-"+n)}),this},attachKeyboard:function(){return this._keyboard.attach.apply(this._keyboard,P.array(arguments)),this},detachKeyboard:function(){return this._keyboard.detach.apply(this._keyboard,P.array(arguments)),this},appendChild:function(e,t){return this.$(e).append(this.get(t)||t),this},prependChild:function(e,t){return this.$(e).prepend(this.get(t)||t),this},remove:function(){return this.$(P.array(arguments).join(",")).remove(),this},append:function(e){var t,n;for(t in e)if(e.hasOwnProperty(t))if(e[t].constructor===Array)for(n=0;e[t][n];n++)this.appendChild(t,e[t][n]);else this.appendChild(t,e[t]);return this},_scaleImage:function(t,n){if(t=t||this._controls.getActive()){var i,a=function(t){e(t.container).children(":first").css({top:g.max(0,P.parseValue(t.image.style.top)),left:g.max(0,P.parseValue(t.image.style.left)),width:P.parseValue(t.image.width),height:P.parseValue(t.image.height)})};return n=e.extend({width:this._stageWidth,height:this._stageHeight,crop:this._options.imageCrop,max:this._options.maxScaleRatio,min:this._options.minScaleRatio,margin:this._options.imageMargin,position:this._options.imagePosition,iframelimit:this._options.maxVideoSize},n),this._options.layerFollow&&this._options.imageCrop!==!0?"function"==typeof n.complete?(i=n.complete,n.complete=function(){i.call(t,t),a(t)}):n.complete=a:e(t.container).children(":first").css({top:0,left:0}),t.scale(n),this}},updateCarousel:function(){return this._carousel.update(),this},resize:function(t,n){"function"==typeof t&&(n=t,t=i),t=e.extend({width:0,height:0},t);var a=this,r=this.$("container");return e.each(t,function(e,n){n||(r[e]("auto"),t[e]=a._getWH()[e])}),e.each(t,function(e,t){r[e](t)}),this.rescale(n)},rescale:function(t,a,r){var o=this;"function"==typeof t&&(r=t,t=i);var s=function(){o._stageWidth=t||o.$("stage").width(),o._stageHeight=a||o.$("stage").height(),o._options.swipe?(e.each(o._controls.slides,function(t,n){o._scaleImage(n),e(n.container).css("left",o._stageWidth*t)}),o.$("images").css("width",o._stageWidth*o.getDataLength())):o._scaleImage(),o._options.carousel&&o.updateCarousel();var i=o._controls.frames[o._controls.active];i&&o._controls.frames[o._controls.active].scale({width:o._stageWidth,height:o._stageHeight,iframelimit:o._options.maxVideoSize}),o.trigger(n.RESCALE),"function"==typeof r&&r.call(o)};return s.call(o),this},refreshImage:function(){return this._scaleImage(),this._options.imagePan&&this.addPan(),this},_preload:function(){if(this._options.preload){var e,t,i,a=this.getNext();try{for(t=this._options.preload;t>0;t--)e=new n.Picture,i=this.getData(a),e.preload(this.isFullscreen()&&i.big?i.big:i.image),a=this.getNext(a)}catch(r){}}},show:function(i,a,r){var o=this._options.swipe;if(o||!(this._queue.length>3||i===!1||!this._options.queue&&this._queue.stalled)){if(i=g.max(0,g.min(parseInt(i,10),this.getDataLength()-1)),a="undefined"!=typeof a?!!a:i<this.getIndex(),r=r||!1,!r&&n.History)return void n.History.set(i.toString());if(this.finger&&i!==this._active&&(this.finger.to=-(i*this.finger.width),this.finger.index=i),this._active=i,o){var l=this.getData(i),c=this;if(!l)return;var u=this.isFullscreen()&&l.big?l.big:l.image||l.iframe,d=this._controls.slides[i],h=d.isCached(u),p=this._thumbnails[i],f={cached:h,index:i,rewind:a,imageTarget:d.image,thumbTarget:p.image,galleriaData:l};this.trigger(e.extend(f,{type:n.LOADSTART})),c.$("container").removeClass("videoplay");var m=function(){c._layers[i].innerHTML=c.getData().layer||"",c.trigger(e.extend(f,{type:n.LOADFINISH})),c._playCheck()};c._preload(),t.setTimeout(function(){d.ready&&e(d.image).attr("src")==u?(c.trigger(e.extend(f,{type:n.IMAGE})),m()):(l.iframe&&!l.image&&(d.isIframe=!0),d.load(u,function(t){f.imageTarget=t.image,c._scaleImage(t,m).trigger(e.extend(f,{type:n.IMAGE})),m()}))},100)}else s.push.call(this._queue,{index:i,rewind:a}),this._queue.stalled||this._show();return this}},_show:function(){var a=this,r=this._queue[0],o=this.getData(r.index);if(o){var l=this.isFullscreen()&&o.big?o.big:o.image||o.iframe,c=this._controls.getActive(),u=this._controls.getNext(),d=u.isCached(l),h=this._thumbnails[r.index],p=function(){e(u.image).trigger("mouseup")};a.$("container").toggleClass("iframe",!!o.isIframe).removeClass("videoplay");var f=function(r,o,l,c,u){return function(){var d;M.active=!1,P.toggleQuality(o.image,a._options.imageQuality),a._layers[a._controls.active].innerHTML="",e(l.container).css({zIndex:0,opacity:0}).show(),e(l.container).find("iframe, .galleria-videoicon").remove(),e(a._controls.frames[a._controls.active].container).hide(),e(o.container).css({zIndex:1,left:0,top:0}).show(),a._controls.swap(),a._options.imagePan&&a.addPan(o.image),(r.iframe&&r.image||r.link||a._options.lightbox||a._options.clicknext)&&e(o.image).css({cursor:"pointer"}).on("mouseup",function(o){if(!("number"==typeof o.which&&o.which>1)){if(r.iframe){a.isPlaying()&&a.pause();var s=a._controls.frames[a._controls.active],l=a._stageWidth,c=a._stageHeight;return e(s.container).css({width:l,height:c,opacity:0}).show().animate({opacity:1},200),void t.setTimeout(function(){s.load(r.iframe+(r.video?"&autoplay=1":""),{width:l,height:c},function(e){a.$("container").addClass("videoplay"),e.scale({width:a._stageWidth,height:a._stageHeight,iframelimit:r.video?a._options.maxVideoSize:i})})},100)}return a._options.clicknext&&!n.TOUCH?(a._options.pauseOnInteraction&&a.pause(),void a.next()):r.link?void(a._options.popupLinks?d=t.open(r.link,"_blank"):t.location.href=r.link):void(a._options.lightbox&&a.openLightbox())}}),a._playCheck(),a.trigger({type:n.IMAGE,index:c.index,imageTarget:o.image,thumbTarget:u.image,galleriaData:r}),s.shift.call(a._queue),a._queue.stalled=!1,a._queue.length&&a._show()}}(o,u,c,r,h);this._options.carousel&&this._options.carouselFollow&&this._carousel.follow(r.index),a._preload(),P.show(u.container),u.isIframe=o.iframe&&!o.image,e(a._thumbnails[r.index].container).addClass("active").siblings(".active").removeClass("active"),a.trigger({type:n.LOADSTART,cached:d,index:r.index,rewind:r.rewind,imageTarget:u.image,thumbTarget:h.image,galleriaData:o}),a._queue.stalled=!0,u.load(l,function(t){var s=e(a._layers[1-a._controls.active]).html(o.layer||"").hide();a._scaleImage(t,{complete:function(t){"image"in c&&P.toggleQuality(c.image,!1),P.toggleQuality(t.image,!1),a.removePan(),a.setInfo(r.index),a.setCounter(r.index),o.layer&&(s.show(),(o.iframe&&o.image||o.link||a._options.lightbox||a._options.clicknext)&&s.css("cursor","pointer").off("mouseup").mouseup(p)),o.video&&o.image&&R(t.container);var l=a._options.transition;if(e.each({initial:null===c.image,touch:n.TOUCH,fullscreen:a.isFullscreen()},function(e,t){return t&&a._options[e+"Transition"]!==i?(l=a._options[e+"Transition"],!1):void 0}),l in M.effects==!1)f();else{var u={prev:c.container,next:t.container,rewind:r.rewind,speed:a._options.transitionSpeed||400};M.active=!0,M.init.call(a,l,u,f)}a.trigger({type:n.LOADFINISH,cached:d,index:r.index,rewind:r.rewind,imageTarget:t.image,thumbTarget:a._thumbnails[r.index].image,galleriaData:a.getData(r.index)})}})})}},getNext:function(e){return e="number"==typeof e?e:this.getIndex(),e===this.getDataLength()-1?0:e+1},getPrev:function(e){return e="number"==typeof e?e:this.getIndex(),0===e?this.getDataLength()-1:e-1},next:function(){return this.getDataLength()>1&&this.show(this.getNext(),!1),this},prev:function(){return this.getDataLength()>1&&this.show(this.getPrev(),!0),this},get:function(e){return e in this._dom?this._dom[e]:null},getData:function(e){return e in this._data?this._data[e]:this._data[this._active]},getDataLength:function(){return this._data.length},getIndex:function(){return"number"==typeof this._active?this._active:!1},getStageHeight:function(){return this._stageHeight},getStageWidth:function(){return this._stageWidth},getOptions:function(e){return"undefined"==typeof e?this._options:this._options[e]},setOptions:function(t,n){return"object"==typeof t?e.extend(this._options,t):this._options[t]=n,this},play:function(e){return this._playing=!0,this._playtime=e||this._playtime,this._playCheck(),this.trigger(n.PLAY),this},pause:function(){return this._playing=!1,this.trigger(n.PAUSE),this},playToggle:function(e){return this._playing?this.pause():this.play(e)},isPlaying:function(){return this._playing},isFullscreen:function(){return this._fullscreen.active},_playCheck:function(){var e=this,t=0,i=20,a=P.timestamp(),r="play"+this._id;if(this._playing){this.clearTimer(r);var o=function(){return t=P.timestamp()-a,t>=e._playtime&&e._playing?(e.clearTimer(r),void e.next()):void(e._playing&&(e.trigger({type:n.PROGRESS,percent:g.ceil(t/e._playtime*100),seconds:g.floor(t/1e3),milliseconds:t}),e.addTimer(r,o,i))) 27};e.addTimer(r,o,i)}},setPlaytime:function(e){return this._playtime=e,this},setIndex:function(e){return this._active=e,this},setCounter:function(e){if("number"==typeof e?e++:"undefined"==typeof e&&(e=this.getIndex()+1),this.get("current").innerHTML=e,y){var t=this.$("counter"),n=t.css("opacity");1===parseInt(n,10)?P.removeAlpha(t[0]):this.$("counter").css("opacity",n)}return this},setInfo:function(t){var n=this,i=this.getData(t);return e.each(["title","description"],function(e,t){var a=n.$("info-"+t);i[t]?a[i[t].length?"show":"hide"]().html(i[t]):a.empty().hide()}),this},hasInfo:function(e){var t,n="title description".split(" ");for(t=0;n[t];t++)if(this.getData(e)[n[t]])return!0;return!1},jQuery:function(t){var n=this,i=[];e.each(t.split(","),function(t,a){a=e.trim(a),n.get(a)&&i.push(a)});var a=e(n.get(i.shift()));return e.each(i,function(e,t){a=a.add(n.get(t))}),a},$:function(){return this.jQuery.apply(this,P.array(arguments))}},e.each(T,function(e,t){var i=/_/.test(t)?t.replace(/_/g,""):t;n[t.toUpperCase()]="galleria."+i}),e.extend(n,{IE9:9===y,IE8:8===y,IE7:7===y,IE6:6===y,IE:y,WEBKIT:/webkit/.test(h),CHROME:/chrome/.test(h),SAFARI:/safari/.test(h)&&!/chrome/.test(h),QUIRK:y&&a.compatMode&&"BackCompat"===a.compatMode,MAC:/mac/.test(navigator.platform.toLowerCase()),OPERA:!!t.o
27pera,IPHONE:/iphone/.test(h),IPAD:/ipad/.test(h),ANDROID:/android/.test(h),TOUCH:"ontouchstart"in a}),n.addTheme=function(i){i.name||n.raise("No theme name specified"),i.defaults="object"!=typeof i.defaults?{}:E(i.defaults);var a,r=!1;return"string"==typeof i.css?(e("link").each(function(e,t){return a=new RegExp(i.css),a.test(t.href)?(r=!0,O(i),!1):void 0}),r||e(function(){var o=0,s=function(){e("script").each(function(e,n){a=new RegExp("galleria\\."+i.name.toLowerCase()+"\\."),a.test(n.src)&&(r=n.src.replace(/[^\/]*$/,"")+i.css,t.setTimeout(function(){P.loadCSS(r,"galleria-theme-"+i.name,function(){O(i)})},1))}),r||(o++>5?n.raise("No theme CSS loaded"):t.setTimeout(s,500))};s()})):O(i),i},n.loadTheme=function(i){if(!e("script").filter(function(){return e(this).attr("src")==i}).length){var a,r=!1;return e(t).load(function(){r||(a=t.setTimeout(function(){r||n.raise("Galleria had problems loading theme at "+i+". Please check theme path or load manually.",!0)},2e4))}),P.loadScript(i,function(){r=!0,t.clearTimeout(a)}),n}},n.get=function(e){return D[e]?D[e]:"number"!=typeof e?D:void n.raise("Gallery index "+e+" not found")},n.configure=function(t,i){var a={};return"string"==typeof t&&i?(a[t]=i,t=a):e.extend(a,t),n.configure.options=a,e.each(n.get(),function(e,t){t.setOptions(a)}),n},n.configure.options={},n.on=function(t,i){if(t){i=i||m;var a=t+i.toString().replace(/\s/g,"")+P.timestamp();
vendor: 5,598 bytes, line 27
27return e.each(n.get(),function(e,n){n._binds.push(a),n.bind(t,i)}),n.on.binds.push({type:t,callback:i,hash:a}),n}},n.on.binds=[],n.run=function(t,i){return e.isFunction(i)&&(i={extend:i}),e(t||"#galleria").galleria(i),n},n.addTransition=function(e,t){return M.effects[e]=t,n},n.utils=P,n.log=function(){var n=P.array(arguments);if(!("console"in t&&"log"in t.console))return t.alert(n.join("<br>"));try{return t.console.log.apply(t.console,n)}catch(i){e.each(n,function(){t.console.log(this)})}},n.ready=function(t){return"function"!=typeof t?n:(e.each(I,function(e,n){t.call(n,n._options)}),n.ready.callbacks.push(t),n)},n.ready.callbacks=[],n.raise=function(t,n){var i=n?"Fatal error":"Error",a={color:"#fff",position:"absolute",top:0,left:0,zIndex:1e5},r=function(t){var r='<div style="padding:4px;margin:0 0 2px;background:#'+(n?"811":"222")+';">'+(n?"<strong>"+i+": </strong>":"")+t+"</div>";e.each(D,function(){var e=this.$("errors"),t=this.$("target");e.length||(t.css("position","relative"),e=this.addElement("errors").appendChild("target","errors").$("errors").css(a)),e.append(r)}),D.length||e("<div>").css(e.extend(a,{position:"fixed"})).append(r).appendTo(b().body)};if(c){if(r(t),n)throw new Error(i+": "+t)}else if(n){if(F)return;F=!0,n=!1,r("Gallery could not load.")}},n.version=l,n.getLoadedThemes=function(){return e.map($,function(e){return e.name})},n.requires=function(e,t){return t=t||"You need to upgrade Galleria to version "+e+" to use one or more components.",n.version<e&&n.raise(t,!0),n},n.Picture=function(t){this.id=t||null,this.image=null,this.container=P.create("galleria-image"),e(this.container).css({overflow:"hidden",position:"relative"}),this.original={width:0,height:0},this.ready=!1,this.isIframe=!1},n.Picture.prototype={cache:{},show:function(){P.show(this.image)},hide:function(){P.moveOut(this.image)},clear:function(){this.image=null},isCached:function(e){return!!this.cache[e]},preload:function(t){e(new Image).load(function(e,t){return function(){t[e]=e}}(t,this.cache)).attr("src",t)},load:function(i,a,r){if("function"==typeof a&&(r=a,a=null),this.isIframe){var o="if"+(new Date).getTime(),s=this.image=e("<iframe>",{src:i,frameborder:0,id:o,allowfullscreen:!0,css:{visibility:"hidden"}})[0];return a&&e(s).css(a),e(this.container).find("iframe,img").remove(),this.container.appendChild(this.image),e("#"+o).load(function(n,i){return function(){t.setTimeout(function(){e(n.image).css("visibility","visible"),"function"==typeof i&&i.call(n,n)},10)}}(this,r)),this.container}this.image=new Image,n.IE8&&e(this.image).css("filter","inherit"),n.IE||n.CHROME||n.SAFARI||e(this.image).css("image-rendering","optimizequality");var l=!1,c=!1,u=e(this.container),h=e(this.image),p=function(){l?d?e(this).attr("src",d):n.raise("Image not found: "+i):(l=!0,t.setTimeout(function(e,t){return function(){e.attr("src",t+(t.indexOf("?")>-1?"&":"?")+P.timestamp())}}(e(this),i),50))},f=function(i,r,o){return function(){var s=function(){e(this).off("load"),i.original=a||{height:this.height,width:this.width},n.HAS3D&&(this.style.MozTransform=this.style.webkitTransform="translate3d(0,0,0)"),u.append(this),i.cache[o]=o,"function"==typeof r&&t.setTimeout(function(){r.call(i,i)},1)};this.width&&this.height?s.call(this):!function(t){P.wait({until:function(){return t.width&&t.height},success:function(){s.call(t)},error:function(){c?n.raise("Could not extract width/height from image: "+t.src+". Traced measures: width:"+t.width+"px, height: "+t.height+"px."):(e(new Image).load(f).attr("src",t.src),c=!0)},timeout:100})}(this)}}(this,r,i);return u.find("iframe,img").remove(),h.css("display","block"),P.hide(this.image),e.each("minWidth minHeight maxWidth maxHeight".split(" "),function(e,t){h.css(t,/min/.test(t)?"0":"none")}),h.load(f).on("error",p).attr("src",i),this.container},scale:function(t){var a=this;if(t=e.extend({width:0,height:0,min:i,max:i,margin:0,complete:m,position:"center",crop:!1,canvas:!1,iframelimit:i},t),this.isIframe){var r,o,s=t.width,l=t.height;if(t.iframelimit){var c=g.min(t.iframelimit/s,t.iframelimit/l);1>c?(r=s*c,o=l*c,e(this.image).css({top:l/2-o/2,left:s/2-r/2,position:"absolute"})):e(this.image).css({top:0,left:0})}e(this.image).width(r||s).height(o||l).removeAttr("width").removeAttr("height"),e(this.container).width(s).height(l),t.complete.call(a,a);try{this.image.contentWindow&&e(this.image.contentWindow).trigger("resize")}catch(u){}return this.container}if(!this.image)return this.container;var d,h,p,f=e(a.container);return P.wait({until:function(){return d=t.width||f.width()||P.parseValue(f.css("width")),h=t.height||f.height()||P.parseValue(f.css("height")),d&&h},success:function(){var n=(d-2*t.margin)/a.original.width,i=(h-2*t.margin)/a.original.height,r=g.min(n,i),o=g.max(n,i),s={"true":o,width:n,height:i,"false":r,landscape:a.original.width>a.original.height?o:r,portrait:a.original.width<a.original.height?o:r},l=s[t.crop.toString()],c="";t.max&&(l=g.min(t.max,l)),t.min&&(l=g.max(t.min,l)),e.each(["width","height"],function(t,n){e(a.image)[n](a[n]=a.image[n]=g.round(a.original[n]*l))}),e(a.container).width(d).height(h),t.canvas&&N&&(N.elem.width=a.width,N.elem.height=a.height,c=a.image.src+":"+a.width+"x"+a.height,a.image.src=N.cache[c]||function(e){N.context.drawImage(a.image,0,0,a.original.width*l,a.original.height*l);try{return p=N.elem.toDataURL(),N.length+=p.length,N.cache[e]=p,p}catch(t){return a.image.src}}(c));var u={},f={},m=function(t,n,i){var r=0;if(/\%/.test(t)){var o=parseInt(t,10)/100,s=a.image[n]||e(a.image)[n]();r=g.ceil(-1*s*o+i*o)}else r=P.parseValue(t);return r},v={top:{top:0}
27,left:{left:0},right:{left:"100%"},bottom:{top:"100%"}};e.each(t.position.toLowerCase().split(" "),function(e,t){"center"===t&&(t="50%"),u[e?"top":"left"]=t}),e.each(u,function(t,n){v.hasOwnProperty(n)&&e.extend(f,v[n])}),u=u.top?e.extend(u,f):f,u=e.extend({top:"50%",left:"50%"},u),e(a.image).css({position:"absolute",top:m(u.top,"height",h),left:m(u.left,"width",d)}),a.show(),a.ready=!0,t.complete.call(a,a)},error:function(){n.raise("Could not scale image: "+a.image.src)},timeout:1e3}),this}},e.extend(e.easing,{galleria:function(e,t,n,i,a){return(t/=a/2)<1?i/2*t*t*t+n:i/2*((t-=2)*t*t+2)+n},galleriaIn:function(e,t,n,i,a){return i*(t/=a)*t+n},galleriaOut:function(e,t,n,i,a){return-i*(t/=a)*(t-2)+n}}),n.Finger=function(){var i=(g.abs,n.HAS3D=function(){var t,n,i=a.createElement("p"),r=["webkit","O","ms","Moz",""],o=0,s="transform";for(b().html.insertBefore(i,null);r[o];o++)n=r[o]?r[o]+"Transform":s,void 0!==i.style[n]&&(i.style[n]="translate3d(1px,1px,1px)",t=e(i).css(r[o]?"-"+r[o].toLowerCase()+"-"+s:s));return b().html.removeChild(i),void 0!==t&&t.length>0&&"none"!==t}()),o=function(){var e="RequestAnimationFrame";return t.requestAnimationFrame||t["webkit"+e]||t["moz"+e]||t["o"+e]||t["ms"+e]||function(e){t.setTimeout(e,1e3/60)}}(),s=function(n,a){if(this.config={start:0,duration:500,onchange:function(){},oncomplete:function(){},easing:function(e,t,n,i,a){return-i*((t=t/a-1)*t*t*t-1)+n}},this.easeout=function(e,t,n,i,a){return i*((t=t/a-1)*t*t*t*t+1)+n},n.children.length){var r=this;e.extend(this.config,a),this.elem=n,this.child=n.children[0],this.to=this.pos=0,this.touching=!1,this.start={},this.index=this.config.start,this.anim=0,this.easing=this.config.easing,i||(this.child.style.position="absolute",this.elem.style.position="relative"),e.each(["ontouchstart","ontouchmove","ontouchend","setup"],function(e,t){r[t]=function(e){return function(){e.apply(r,arguments)}}(r[t])}),this.setX=function(){var e=r.child.style;return i?void(e.MozTransform=e.webkitTransform=e.transform="translate3d("+r.pos+"px,0,0)"):void(e.left=r.pos+"px")},e(n).on("touchstart",this.ontouchstart),e(t).on("resize",this.setup),e(t).on("orientationchange",this.setup),this.setup(),!function s(){o(s),r.loop.call(r)}()}};return s.prototype={constructor:s,setup:function(){this.width=e(this.elem).width(),this.length=g.ceil(e(this.child).width()/this.width),0!==this.index&&(this.index=g.max(0,g.min(this.index,this.length-1)),this.pos=this.to=-this.width*this.index)},setPosition:function(e){this.pos=e,this.to=e},ontouchstart:function(e){var t=e.originalEvent.touches;this.start={pageX:t[0].pageX,pageY:t[0].pageY,time:+new Date},this.isScrolling=null,this.touching=!0,this.deltaX=0,r.on("touchmove",this.ontouchmove),r.on("touchend",this.ontouchend)},ontouchmove:function(e){var t=e.originalEvent.touches;t&&t.length>1||e.scale&&1!==e.scale||(this.deltaX=t[0].pageX-this.start.pageX,null===this.isScrolling&&(this.isScrolling=!!(this.isScrolling||g.abs(this.deltaX)<g.abs(t[0].pageY-this.start.pageY))),this.isScrolling||(e.preventDefault(),this.deltaX/=!this.index&&this.deltaX>0||this.index==this.length-1&&this.deltaX<0?g.abs(this.deltaX)/this.width+1.8:1,this.to=this.deltaX-this.index*this.width),e.stopPropagation())},ontouchend:function(){this.touching=!1;var e=+new Date-this.start.time<250&&g.abs(this.deltaX)>40||g.abs(this.deltaX)>this.width/2,t=!this.index&&this.deltaX>0||this.index==this.length-1&&this.deltaX<0;this.isScrolling||this.show(this.index+(e&&!t?this.deltaX<0?1:-1:0)),r.off("touchmove",this.ontouchmove),r.off("touchend",this.ontouchend)},show:function(e){e!=this.index?this.config.onchange.call(this,e):this.to=-(e*this.width)},moveTo:function(e){e!=this.index&&(this.pos=this.to=-(e*this.width),this.index=e)},loop:function(){var e=this.to-this.pos,t=1;if(this.width&&e&&(t=g.max(.5,g.min(1.5,g.abs(e/this.width)))),this.touching||g.abs(e)<=1)this.pos=this.to,e=0,this.anim&&!this.touching&&this.config.oncomplete(this.index),this.anim=0,this.easing=this.config.easing;else{this.anim||(this.anim={start:this.pos,time:+new Date,distance:e,factor:t,destination:this.to});var n=+new Date-this.anim.time,i=this.config.duration*this.anim.factor;if(n>i||this.anim.destination!=this.to)return this.anim=0,void(this.easing=this.easeout);this.pos=this.easing(null,n,this.anim.start,this.anim.distance,i)}this.setX()}},s}(),e.fn.galleria=function(t){var i=this.selector;return e(this).length?this.each(function(){e.data(this,"galleria")&&(e.data(this,"galleria").destroy(),e(this).find("*").hide()),e.data(this,"galleria",(new n).init(this,t))}):(e(function(){e(i).length?e(i).galleria(t):n.utils.wait({until:function(){return e(i).length},success:function(){e(i).galleria(t)},error:function(){n.raise('Init failed: Galleria could not find the element "'+i+'".')},timeout:5e3})}),this)},"object"==typeof module&&module&&"object"==typeof module.exports?module.exports=n:(t.Galleria=n,"function"==typeof define&&define.amd&&define("galleria",["jquery"],function(){return n}))}(jQuery,this),function(e,t,n){function i(e,t){var n=(e[0]||0)-(t[0]||0);return n>0||!n&&e.length>0&&i(e.slice(1),t.slice(1))}function a(e){if(typeof e!=s)return e;var t=[],n="";for(var i in e)n=typeof e[i]==s?a(e[i]):[i,l?encodeURI(e[i]):e[i]].join("="),t.push(n);return t.join("&")}function r(e){var t=[];for(var n in e)e[n]&&t.push([n,'="',e[n],'"'].join(""));return t.join(" ")}function o(e){var t=[];for(var n in e)t.push(['<param name="',n,'" value="',a(e[n]),'" />'].join(""));return t.join("")}var s="object",l=!0;try{var c=n.description||function(){return new n("ShockwaveFlash.ShockwaveFlash").GetVariable("$version")}()}catch(u){c="Unavailable"}var d=c.match(/\d+/g)||[0];e[t]={available:d[0]>0,activeX:n&&!n.name,version:{original:c,array:d,string:d.join("."),major:parseInt(d[0],10)||0,minor:parseInt(d[1],10)||0,release:parseInt(d[2],10)||0},hasVersion:function(e){return e=/string|number/.test(typeof e)?e.toString().split("."):/object/.test(typeof e)?[e.major,e.minor]:e||[0,0],i(d,e)},encodeParams:!0,expressInstall:"expressInstall.swf",expressInstallIsActive:!1,create:function(e){if(!e.swf||this.expressInstallIsActive||!this.available&&!e.hasVersionFail)return!1;if(!this.hasVersion(e.hasVersion||1)){if(this.expressInstallIsActive=!0,"function"==typeof e.hasVersionFail&&!e.hasVersionFail.apply(e))return!1;e={swf:e.expressInstall||this.expressInstall,height:137,width:214,flashvars:{MMredirectURL:location.href,MMplayerType:this.activeX?"ActiveX":"PlugIn",MMdoctitle:document.title.slice(0,47)+" - Flash Player Installation"}}}attrs={data:e.swf,type:"application/x-shockwave-flash",id:e.id||"flash_"+Math.floor(999999999*Math.random()),width:e.width||320,height:e.height||180,style:e.style||""},l="undefined"!=typeof e.useEncode?e.useEncode:this.encodeParams,e.movie=e.swf,e.wmode=e.wmode||"opaque",delete e.fallback,delete e.hasVersion,delete e.hasVersionFail,delete e.height,delete e.id,delete e.swf,delete e.useEncode,delete e.width;var t=document.createElement("div");return t.innerHTML=["<object ",r(attrs),">",o(e),"</object>"].join(""),t.firstChild}},e.fn[t]=function(n){var i=this.find(s).andSelf().filter(s);return/string|object/.test(typeof n)&&this.each(function(){var i,a=e(this);n=typeof n==s?n:{swf:n},n.fallback=this,(i=e[t].create(n))&&(a.children().remove(),a.html(i))}),"function"==typeof n&&i.each(function(){var i=this;i.jsInteractionTimeoutMs=i.jsInteractionTimeoutMs||0,i.jsInteractionTimeoutMs<660&&(i.clientWidth||i.clientHeight?n.call(i):setTimeout(function(){e(i)[t](n)},i.jsInteractionTimeoutMs+66))}),i}}(jQuery,"flash",navigator.plugins["Shockwave Flash"]||window.ActiveXObject),/* 28* jquery.externalcodeprivacy.js | 29* * Privacy protected embedding of External Content 30* 31* Code Base 32* * http://www.cedis.fu-berlin.de/externalcodeprivacy 33* 34* Copyright (c) 2012 - 2014 35* Freie Universität Berlin 36* Center für Digitale Systeme (CeDiS) 37* Ihnestraße 24, 14195 Berlin 38* http://www.cedis.fu-berlin.de/cms 39* 40* version 1.0.0: 2013-05-01 - 2014-05-01 (DEPRECATED) 41* * first release
42* * embedding of one external content element 43* 44* version 1.1.0: 2014-09-18 45* * surrounding div-container without ids 46* * init-function 47* * allows embedding of multiple external content elements 48* * Labels via data-Element 49* 50*/ 51function(e){"use strict";function t(){var t=e(this);h={registeredDomains:t.data("registered-domains"),noRegisteredDomains:t.data("no-registered-domains"),noContentAvailable:t.data("no-content-available")};var r=/((https?:)?\/\/)+([\da-z\.-]+)\.([a-z\.]{2,6})/gi,p=t.find(".external_html").html();p=p.replace(/<!--/gi,"").replace(/-->/gi,"");var f=p.match(r);f&&!e.isEmptyObject(f)?(f=e.map(f,function(e){return e.replace(/((https?:)?\/\/)/i,"")}),f=l(f)):f=[];var g=t.find(".privacy_checkbox"),m=t.find(".button_activate");s(g),e.isEmptyObject(f)?(g.is(":checked")||g.attr("disabled",!0),i(p,t)):o(f,u("perma_status_ext_srv"))?(g.prop("checked",!0),n(!0,t),i(p,t)):(g.prop("checked",!1),t.find(".external_services").html(f.join(", "))),g.click(function(){if(this.checked){var i=u("perma_status_ext_srv");if(void 0!=i){var r=i.split(","),o=e.merge(f,r),h=l(o);c("perma_status_ext_srv",a(h),365),s(g),n(!0,t)}else c("perma_status_ext_srv",a(f),365),s(g),n(!0,t)}else d("perma_status_ext_srv"),s(g),n(!1,t)}),m.click(function(){i(p,t)})}function n(e,t){e?(t.find(".privacy_checkbox_msg").hide(),t.find(".privacy_checkbox_msg_delete").show()):(t.find(".privacy_checkbox_msg").show(),t.find(".privacy_checkbox_msg_delete").hide())}function i(e,t){var n=t.find(".external_box");""==e.replace(/^\s+|\s+$/g,"")&&(e=h.noContentAvailable),n.html(r(e))}function a(e){return e.join(",")}function r(e){return e.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,'"').replace(/'/g,"'")}function o(t,n){if(void 0!=n){var i=[];i=n.split(",");for(var a=0;a<t.length;a++)if(!(e.inArray(t[a],i)>-1))return!1;return!0}return!1}function s(e){var t=u("perma_status_ext_srv");if(void 0!=t){var n=t.replace(/,/g,", ");e.attr("title",h.registeredDomains+n)}else e.attr("title",h.noRegisteredDomains)}function l(e){var t=[],n={};try{for(var i,a=0;a<e.length;a++)i=JSON.stringify(e[a]),n[i]=n[i]?n[i]+1:1;for(var i in n)t.push(JSON.parse(i));return t}catch(r){return e}}function c(e,t,n){if(n){var i=new Date;i.setTime(i.getTime()+24*n*60*60*1e3);var a="; expires="+i.toGMTString()}else var a="";document.cookie=e+"="+t+a+"; path=/"}function u(e){for(var t=e+"=",n=document.cookie.split(";"),i=0;i<n.length;i++){for(var a=n[i];" "==a.charAt(0);)a=a.substring(1,a.length);if(0==a.indexOf(t))return a.substring(t.length,a.length)}return null}function d(e){c(e,"",-1)}var h;e(document).ready(function(){e(".external_content_container").each(t),e(".external_wrapper").click(function(){e(this).find(".button_activate").trigger("click")}),e(".privacy_noscript_hide").show()})}(jQuery),function(e,t){function n(){return new Date(Date.UTC.apply(Date,arguments))}function i(){var e=new Date;return n(e.getFullYear(),e.getMonth(),e.getDate())}function a(e){return function(){return this[e].apply(this,arguments)}}function r(t,n){function i(e,t){return t.toLowerCase()}var a,r=e(t).data(),o={},s=new RegExp("^"+n.toLowerCase()+"([A-Z])");n=new RegExp("^"+n.toLowerCase());for(var l in r)n.test(l)&&(a=l.replace(s,i),o[a]=r[l]);return o}function o(t){var n={};if(f[t]||(t=t.split("-")[0],f[t])){var i=f[t];return e.each(p,function(e,t){t in i&&(n[t]=i[t])}),n}}var s=e(window),l=function(){var t={get:function(e){return this.slice(e)[0]},contains:function(e){for(var t=e&&e.valueOf(),n=0,i=this.length;i>n;n++)if(this[n].valueOf()===t)return n;return-1},remove:function(e){this.splice(e,1)},replace:function(t){t&&(e.isArray(t)||(t=[t]),this.clear(),this.push.apply(this,t))},clear:function(){this.length=0},copy:function(){var e=new l;return e.replace(this),e}};return function(){var n=[];return n.push.apply(n,arguments),e.extend(n,t),n}}(),c=function(t,n){this.dates=new l,this.viewDate=i(),this.focusDate=null,this._process_options(n),this.element=e(t),this.isInline=!1,this.isInput=this.element.is("input"),this.component=this.element.is(".date")?this.element.find(".add-on, .input-group-addon, .btn"):!1,this.hasInput=this.component&&this.element.find("input").length,this.component&&0===this.component.length&&(this.component=!1),this.picker=e(g.template),this._buildEvents(),this._attachEvents(),this.isInline?this.picker.addClass("datepicker-inline").appendTo(this.element):this.picker.addClass("datepicker-dropdown dropdown-menu"),this.o.rtl&&this.picker.addClass("datepicker-rtl"),this.viewMode=this.o.startView,this.o.calendarWeeks&&this.picker.find("tfoot th.today").attr("colspan",function(e,t){return parseInt(t)+1}),this._allow_update=!1,this.setStartDate(this._o.startDate),this.setEndDate(this._o.endDate),this.setDaysOfWeekDisabled(this.o.daysOfWeekDisabled),this.fillDow(),this.fillMonths(),this._allow_update=!0,this.update(),this.showMode(),this.isInline&&this.show()};c.prototype={constructor:c,_process_options:function(t){this._o=e.extend({},this._o,t);var n=this.o=e.extend({},this._o),i=n.language;switch(f[i]||(i=i.split("-")[0],f[i]||(i=h.language)),n.language=i,n.startView){case 2:case"decade":n.startView=2;break;case 1:case"year":n.startView=1;break;default:n.startView=0}switch(n.minViewMode){case 1:case"months":n.minViewMode=1;break;case 2:case"years":n.minViewMode=2;break;default:n.minViewMode=0}n.startView=Math.max(n.startView,n.minViewMode),n.multidate!==!0&&(n.multidate=Number(n.multidate)||!1,n.multidate=n.multidate!==!1?Math.max(0,n.multidate):1),n.multidateSeparator=String(n.multidateSeparator),n.weekStart%=7,n.weekEnd=(n.weekStart+6)%7;var a=g.parseFormat(n.format);n.startDate!==-1/0&&(n.startDate=n.startDate?n.startDate instanceof Date?this._local_to_utc(this._zero_time(n.startDate)):g.parseDate(n.startDate,a,n.language):-1/0),1/0!==n.endDate&&(n.endDate=n.endDate?n.endDate instanceof Date?this._local_to_utc(this._zero_time(n.endDate)):g.parseDate(n.endDate,a,n.language):1/0),n.daysOfWeekDisabled=n.daysOfWeekDisabled||[],e.isArray(n.daysOfWeekDisabled)||(n.daysOfWeekDisabled=n.daysOfWeekDisabled.split(/[,\s]*/)),n.daysOfWeekDisabled=e.map(n.daysOfWeekDisabled,function(e){return parseInt(e,10)});var r=String(n.orientation).toLowerCase().split(/\s+/g),o=n.orientation.toLowerCase();if(r=e.grep(r,function(e){return/^auto|left|right|top|bottom$/.test(e)}),n.orientation={x:"auto",y:"auto"},o&&"auto"!==o)if(1===r.length)switch(r[0]){case"top":case"bottom":n.orientation.y=r[0];break;case"left":case"right":n.orientation.x=r[0]}else o=e.grep(r,function(e){return/^left|right$/.test(e)}),n.orientation.x=o[0]||"auto",o=e.grep(r,function(e){return/^top|bottom$/.test(e)}),n.orientation.y=o[0]||"auto";else;},_events:[],_secondaryEvents:[],_applyEvents:function(e){for(var n,i,a,r=0;r<e.length;r++)n=e[r][0],2===e[r].length?(i=t,a=e[r][1]):3===e[r].length&&(i=e[r][1],a=e[r][2]),n.on(a,i)},_unapplyEvents:function(e){for(var n,i,a,r=0;r<e.length;r++)n=e[r][0],2===e[r].length?(a=t,i=e[r][1]):3===e[r].length&&(a=e[r][1],i=e[r][2]),n.off(i,a)},_buildEvents:function(){this.isInput?this._events=[[this.element,{focus:e.proxy(this.show,this),keyup:e.proxy(function(t){-1===e.inArray(t.keyCode,[27,37,39,38,40,32,13,9])&&this.update()},this),keydown:e.proxy(this.keydown,this)}]]:this.component&&this.hasInput?this._events=[[this.element.find("input"),{focus:e.proxy(this.show,this),keyup:e.proxy(function(t){-1===e.inArray(t.keyCode,[27,37,39,38,40,32,13,9])&&this.update()},this),keydown:e.proxy(this.keydown,this)}],[this.component,{click:e.proxy(this.show,this)}]]:this.element.is("div")?this.isInline=!0:this._events=[[this.element,{click:e.proxy(this.show,this)}]],this._events.push([this.element,"*",{blur:e.proxy(function(e){this._focused_from=e.target},this)}],[this.element,{blur:e.proxy(function(e){this._focused_from=e.target},this)}]),this._secondaryEvents=[[this.picker,{click:e.proxy(this.click,this)}],[e(window),{resize:e.proxy(this.place,this)}],[e(document),{"mousedown touchstart":e.proxy(function(e){this.element.is(e.target)||this.element.find(e.target).length||this.picker.is(e.target)||this.picker.find(e.target).length||this.hide()},this)}]]},_attachEvents:function(){this._detachEvents(),this._applyEvents(this._events)},_detachEvents:function(){this._unapplyEvents(this._events)},_attachSecondaryEvents:function(){this._detachSecondaryEvents(),this._applyEvents(this._secondaryEvents)},_detachSecondaryEvents:function(){this._unapplyEvents(this._secondaryEvents)},_trigger:function(t,n){var i=n||this.dates.get(-1),a=this._utc_to_local(i);this.element.trigger({type:t,date:a,dates:e.map(this.dates,this._utc_to_local),format:e.proxy(function(e,t){0===arguments.length?(e=this.dates.length-1,t=this.o.format):"string"==typeof e&&(t=e,e=this.dates.length-1),t=t||this.o.format;var n=this.dates.get(e);return g.formatDate(n,t,this.o.language)},this)})},show:function(){this.isInline||this.picker.appendTo("body"),this.picker.show(),this.place(),this._attachSecondaryEvents(),this._trigger("show")},hide:function(){this.isInline||this.picker.is(":visible")&&(this.focusDate=null,this.picker.hide().detach(),this._detachSecondaryEvents(),this.viewMode=this.o.startView,this.showMode(),this.o.forceParse&&(this.isInput&&this.element.val()||this.hasInput&&this.element.find("input").val())&&this.setValue(),this._trigger("hide"))},remove:function(){this.hide(),this._detachEvents(),this._detachSecondaryEvents(),this.picker.remove(),delete this.element.data().datepicker,this.isInput||delete this.element.data().date},_utc_to_local:function(e){return e&&new Date(e.getTime()+6e4*e.getTimezoneOffset())},_local_to_utc:function(e){return e&&new Date(e.getTime()-6e4*e.getTimezoneOffset())},_zero_time:function(e){return e&&new Date(e.getFullYear(),e.getMonth(),e.getDate())},_zero_utc_time:function(e){return e&&new Date(Date.UTC(e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate()))},getDates:function(){return e.map(this.dates,this._utc_to_local)},getUTCDates:function(){return e.map(this.dates,function(e){return new Date(e)})},getDate:function(){return this._utc_to_local(this.getUTCDate())},getUTCDate:function(){return new Date(this.dates.get(-1))},setDates:function(){var t=e.isArray(arguments[0])?arguments[0]:arguments;this.update.apply(this,t),this._trigger("changeDate"),this.setValue()},setUTCDates:function(){var t=e.isArray(arguments[0])?arguments[0]:arguments;this.update.apply(this,e.map(t,this._utc_to_local)),this._trigger("changeDate"),this.setValue()},setDate:a("setDates"),setUTCDate:a("setUTCDates"),setValue:function(){var e=this.getFormattedDate();this.isInput?this.element.val(e).change():this.component&&this.element.find("input").val(e).change()},getFormattedDate:function(n){n===t&&(n=this.o.format);var i=this.o.language;return e.map(this.dates,function(e){return g.formatDate(e,n,i)}).join(this.o.multidateSeparator)},setStartDate:function(e){this._process_options({startDate:e}),this.update(),this.updateNavArrows()},setEndDate:function(e){this._process_options({endDate:e}),this.update(),this.updateNavArrows()},setDaysOfWeekDisabled:function(e){this._process_options({daysOfWeekDisabled:e}),this.update(),this.updateNavArrows()},place:function(){if(!this.isInline){var t=this.picker.outerWidth(),n=this.picker.outerHeight(),i=10,a=s.width(),r=s.height(),o=s.scrollTop(),l=parseInt(this.element.parents().filter(function(){return"auto"!==e(this).css("z-index")}).first().css("z-index"))+10,c=this.component?this.component.parent().offset():this.element.offset(),u=this.component?this.component.outerHeight(!0):this.element.outerHeight(!1),d=this.component?this.component.outerWidth(!0):this.element.outerWidth(!1),h=c.left,p=c.top;this.picker.removeClass("datepicker-orient-top datepicker-orient-bottom datepicker-orient-right datepicker-orient-left"),"auto"!==this.o.orientation.x?(this.picker.addClass("datepicker-orient-"+this.o.orientation.x),"right"===this.o.orientation.x&&(h-=t-d)):(this.picker.addClass("datepicker-orient-left"),c.left<0?h-=c.left-i:c.left+t>a&&(h=a-t-i));var f,g,m=this.o.orientation.y;"auto"===m&&(f=-o+c.top-n,g=o+r-(c.top+u+n),m=Math.max(f,g)===g?"top":"bottom"),this.picker.addClass("datepicker-orient-"+m),"top"===m?p+=u:p-=n+parseInt(this.picker.css("padding-top")),this.picker.css({top:p,left:h,zIndex:l})}},_allow_update:!0,update:function(){if(this._allow_update){var t=this.dates.copy(),n=[],i=!1;arguments.length?(e.each(arguments,e.proxy(function(e,t){t instanceof Date&&(t=this._local_to_utc(t)),n.push(t)},this)),i=!0):(n=this.isInput?this.element.val():this.element.data("date")||this.element.find("input").val(),n=n&&this.o.multidate?n.split(this.o.multidateSeparator):[n],delete this.element.data().date),n=e.map(n,e.proxy(function(e){return g.parseDate(e,this.o.format,this.o.language)},this)),n=e.grep(n,e.proxy(function(e){return e<this.o.startDate||e>this.o.endDate||!e},this),!0),this.dates.replace(n),this.dates.length?this.viewDate=new Date(this.dates.get(-1)):this.viewDate<this.o.startDate?this.viewDate=new Date(this.o.startDate):this.viewDate>this.o.endDate&&(this.viewDate=new Date(this.o.endDate)),i?this.setValue():n.length&&String(t)!==String(this.dates)&&this._trigger("changeDate"),!this.dates.length&&t.length&&this._trigger("clearDate"),this.fill()}},fillDow:function(){var e=this.o.weekStart,t="<tr>";if(this.o.calendarWeeks){var n='<th class="cw"> </th>';t+=n,this.picker.find(".datepicker-days thead tr:first-child").prepend(n)}for(;e<this.o.weekStart+7;)t+='<th class="dow">'+f[this.o.language].daysMin[e++%7]+"</th>";t+="</tr>",this.picker.find(".datepicker-days thead").append(t)},fillMonths:function(){for(var e="",t=0;12>t;)e+='<span class="month">'+f[this.o.language].monthsShort[t++]+"</span>";this.picker.find(".datepicker-months td").html(e)},setRange:function(t){t&&t.length?this.range=e.map(t,function(e){return e.valueOf()}):delete this.range,this.fill()},getClassNames:function(t){var n=[],i=this.viewDate.getUTCFullYear(),a=this.viewDate.getUTCMonth(),r=new Date;return t.getUTCFullYear()<i||t.getUTCFullYear()===i&&t.getUTCMonth()<a?n.push("old"):(t.getUTCFullYear()>i||t.getUTCFullYear()===i&&t.getUTCMonth()>a)&&n.push("new"),this.focusDate&&t.valueOf()===this.focusDate.valueOf()&&n.push("focused"),this.o.todayHighlight&&t.getUTCFullYear()===r.getFullYear()&&t.getUTCMonth()===r.getMonth()&&t.getUTCDate()===r.getDate()&&n.push("today"),-1!==this.dates.contains(t)&&n.push("active"),(t.valueOf()<this.o.startDate||t.valueOf()>this.o.endDate||-1!==e.inArray(t.getUTCDay(),this.o.daysOfWeekDisabled))&&n.push("disabled"),this.range&&(t>this.range[0]&&t<this.range[this.range.length-1]&&n.push("range"),-1!==e.inArray(t.valueOf(),this.range)&&n.push("selected")),n},fill:function(){var i,a=new Date(this.viewDate),r=a.getUTCFullYear(),o=a.getUTCMonth(),s=this.o.startDate!==-1/0?this.o.startDate.getUTCFullYear():-1/0,l=this.o.startDate!==-1/0?this.o.startDate.getUTCMonth():-1/0,c=1/0!==this.o.endDate?this.o.endDate.getUTCFullYear():1/0,u=1/0!==this.o.endDate?this.o.endDate.getUTCMonth():1/0,d=f[this.o.language].today||f.en.today||"",h=f[this.o.language].clear||f.en.clear||"";this.picker.find(".datepicker-days thead th.datepicker-switch").text(f[this.o.language].months[o]+" "+r),this.picker.find("tfoot th.today").text(d).toggle(this.o.todayBtn!==!1),this.picker.find("tfoot th.clear").text(h).toggle(this.o.clearBtn!==!1),this.updateNavArrows(),this.fillMonths();var p=n(r,o-1,28),m=g.getDaysInMonth(p.getUTCFullYear(),p.getUTCMonth());p.setUTCDate(m),p.setUTCDate(m-(p.getUTCDay()-this.o.weekStart+7)%7);var v=new Date(p);v.setUTCDate(v.getUTCDate()+42),v=v.valueOf();for(var y,b=[];p.valueOf()<v;){if(p.getUTCDay()===this.o.weekStart&&(b.push("<tr>"),this.o.calendarWeeks)){var w=new Date(+p+(this.o.weekStart-p.getUTCDay()-7)%7*864e5),x=new Date(Number(w)+(11-w.getUTCDay())%7*864e5),T=new Date(Number(T=n(x.getUTCFullYear(),0,1))+(11-T.getUTCDay())%7*864e5),E=(x-T)/864e5/7+1;b.push('<td class="cw">'+E+"</td>")}if(y=this.getClassNames(p),y.push("day"),this.o.beforeShowDay!==e.noop){var S=this.o.beforeShowDay(this._utc_to_local(p));S===t?S={}:"boolean"==typeof S?S={enabled:S}:"string"==typeof S&&(S={classes:S}),S.enabled===!1&&y.push("disabled"),S.classes&&(y=y.concat(S.classes.split(/\s+/))),S.tooltip&&(i=S.tooltip)}y=e.unique(y),b.push('<td class="'+y.join(" ")+'"'+(i?' title="'+i+'"':"")+">"+p.getUTCDate()+"</td>"),p.getUTCDay()===this.o.weekEnd&&b.p
51ush("</tr>"),p.setUTCDate(p.getUTCDate()+1)}this.picker.find(".datepicker-days tbody").empty().append(b.join(""));var A=this.picker.find(".datepicker-months").find("th:eq(1)").text(r).end().find("span").removeClass("active");e.each(this.dates,function(e,t){t.getUTCFullYear()===r&&A.eq(t.getUTCMonth()).addClass("active")}),(s>r||r>c)&&A.addClass("disabled"),r===s&&A.slice(0,l).addClass("disabled"),r===c&&A.slice(u+1).addClass("disabled"),b="",r=10*parseInt(r/10,10);var C=this.picker.find(".datepicker-years").find("th:eq(1)").text(r+"-"+(r+9)).end().find("td");r-=1;for(var _,k=e.map(this.dates,function(e){return e.getUTCFullYear()}),I=-1;11>I;I++)_=["year"],-1===I?_.push("old"):10===I&&_.push("new"),-1!==e.inArray(r,k)&&_.push("active"),(s>r||r>c)&&_.push("disabled"),b+='<span class="'+_.join(" ")+'">'+r+"</span>",r+=1;C.html(b)},updateNavArrows:function(){if(this._allow_update){var e=new Date(this.viewDate),t=e.getUTCFullYear(),n=e.getUTCMonth();switch(this.viewMode){case 0:this.picker.find(".prev").css(this.o.startDate!==-1/0&&t<=this.o.startDate.getUTCFullYear()&&n<=this.o.startDate.getUTCMonth()?{visibility:"hidden"}:{visibility:"visible"}),this.picker.find(".next").css(1/0!==this.o.endDate&&t>=this.o.endDate.getUTCFullYear()&&n>=this.o.endDate.getUTCMonth()?{visibility:"hidden"}:{visibility:"visible"});break;case 1:case 2:this.picker.find(".prev").css(this.o.startDate!==-1/0&&t<=this.o.startDate.getUTCFullYear()?{visibility:"hidden"}:{visibility:"visible"}),this.picker.find(".next").css(1/0!==this.o.endDate&&t>=this.o.endDate.getUTCFullYear()?{visibility:"hidden"}:{visibility:"visible"})}}},click:function(t){t.preventDefault();var i,a,r,o=e(t.target).closest("span, td, th");if(1===o.length)switch(o[0].nodeName.toLowerCase()){case"th":switch(o[0].className){case"datepicker-switch":this.showMode(1);break;case"prev":case"next":var s=g.modes[this.viewMode].navStep*("prev"===o[0].className?-1:1);switch(this.viewMode){case 0:this.viewDate=this.moveMonth(this.viewDate,s),this._trigger("changeMonth",this.viewDate);break;case 1:case 2:this.viewDate=this.moveYear(this.viewDate,s),1===this.viewMode&&this._trigger("changeYear",this.viewDate)}this.fill();break;case"today":var l=new Date;l=n(l.getFullYear(),l.getMonth(),l.getDate(),0,0,0),this.showMode(-2);var c="linked"===this.o.todayBtn?null:"view";this._setDate(l,c);break;case"clear":var u;this.isInput?u=this.element:this.component&&(u=this.element.find("input")),u&&u.val("").change(),this.update(),this._trigger("changeDate"),this.o.autoclose&&this.hide()}break;case"span":o.is(".disabled")||(this.viewDate.setUTCDate(1),o.is(".month")?(r=1,a=o.parent().find("span").index(o),i=this.viewDate.getUTCFullYear(),this.viewDate.setUTCMonth(a),this._trigger("changeMonth",this.viewDate),1===this.o.minViewMode&&this._setDate(n(i,a,r))):(r=1,a=0,i=parseInt(o.text(),10)||0,this.viewDate.setUTCFullYear(i),this._trigger("changeYear",this.viewDate),2===this.o.minViewMode&&this._setDate(n(i,a,r))),this.showMode(-1),this.fill());break;case"td":o.is(".day")&&!o.is(".disabled")&&(r=parseInt(o.text(),10)||1,i=this.viewDate.getUTCFullYear(),a=this.viewDate.getUTCMonth(),o.is(".old")?0===a?(a=11,i-=1):a-=1:o.is(".new")&&(11===a?(a=0,i+=1):a+=1),this._setDate(n(i,a,r)))}this.picker.is(":visible")&&this._focused_from&&e(this._focused_from).focus(),delete this._focused_from},_toggle_multidate:function(e){var t=this.dates.contains(e);if(e?-1!==t?this.dates.remove(t):this.dates.push(e):this.dates.clear(),"number"==typeof this.o.multidate)for(;this.dates.length>this.o.multidate;)this.dates.remove(0)},_setDate:function(e,t){t&&"date"!==t||this._toggle_multidate(e&&new Date(e)),t&&"view"!==t||(this.viewDate=e&&new Date(e)),this.fill(),this.setValue(),this._trigger("changeDate");var n;this.isInput?n=this.element:this.component&&(n=this.element.find("input")),n&&n.change(),!this.o.autoclose||t&&"date"!==t||this.hide()},moveMonth:function(e,n){if(!e)return t;if(!n)return e;var i,a,r=new Date(e.valueOf()),o=r.getUTCDate(),s=r.getUTCMonth(),l=Math.abs(n);if(n=n>0?1:-1,1===l)a=-1===n?function(){return r.getUTCMonth()===s}:function(){return r.getUTCMonth()!==i},i=s+n,r.setUTCMonth(i),(0>i||i>11)&&(i=(i+12)%12);else{for(var c=0;l>c;c++)r=this.moveMonth(r,n);i=r.getUTCMonth(),r.setUTCDate(o),a=function(){return i!==r.getUTCMonth()}}for(;a();)r.setUTCDate(--o),r.setUTCMonth(i);return r},moveYear:function(e,t){return this.moveMonth(e,12*t)},dateWithinRange:function(e){return e>=this.o.startDate&&e<=this.o.endDate},keydown:function(e){if(this.picker.is(":not(:visible)"))return void(27===e.ke
51yCode&&this.show());var t,n,a,r=!1,o=this.focusDate||this.viewDate;switch(e.keyCode){case 27:this.focusDate?(this.focusDate=null,this.viewDate=this.dates.get(-1)||this.viewDate,this.fill()):this.hide(),e.preventDefault();break;case 37:case 39:if(!this.o.keyboardNavigation)break;t=37===e.keyCode?-1:1,e.ctrlKey?(n=this.moveYear(this.dates.get(-1)||i(),t),a=this.moveYear(o,t),this._trigger("changeYear",this.viewDate)):e.shiftKey?(n=this.moveMonth(this.dates.get(-1)||i(),t),a=this.moveMonth(o,t),this._trigger("changeMonth",this.viewDate)):(n=new Date(this.dates.get(-1)||i()),n.setUTCDate(n.getUTCDate()+t),a=new Date(o),a.setUTCDate(o.getUTCDate()+t)),this.dateWithinRange(n)&&(this.focusDate=this.viewDate=a,this.setValue(),this.fill(),e.preventDefault());break;case 38:case 40:if(!this.o.keyboardNavigation)break;t=38===e.keyCode?-1:1,e.ctrlKey?(n=this.moveYear(this.dates.get(-1)||i(),t),a=this.moveYear(o,t),this._trigger("changeYear",this.viewDate)):e.shiftKey?(n=this.moveMonth(this.dates.get(-1)||i(),t),a=this.moveMonth(o,t),this._trigger("changeMonth",this.viewDate)):(n=new Date(this.dates.get(-1)||i()),n.setUTCDate(n.getUTCDate()+7*t),a=new Date(o),a.setUTCDate(o.getUTCDate()+7*t)),this.dateWithinRange(n)&&(this.focusDate=this.viewDate=a,this.setValue(),this.fill(),e.preventDefault());break;case 32:break;case 13:o=this.focusDate||this.dates.get(-1)||this.viewDate,this._toggle_multidate(o),r=!0,this.focusDate=null,this.viewDate=this.dates.get(-1)||this.viewDate,this.setValue(),this.fill(),this.picker.is(":visible")&&(e.preventDefault(),this.o.autoclose&&this.hide());break;case 9:this.focusDate=null,this.viewDate=this.dates.get(-1)||this.viewDate,this.fill(),this.hide()}if(r){this._trigger(this.dates.length?"changeDate":"clearDate");var s;this.isInput?s=this.element:this.component&&(s=this.element.find("input")),s&&s.change()}},showMode:function(e){e&&(this.viewMode=Math.max(this.o.minViewMode,Math.min(2,this.viewMode+e))),this.picker.find(">div").hide().filter(".datepicker-"+g.modes[this.viewMode].clsName).css("display","block"),this.updateNavArrows()}};var u=function(t,n){this.element=e(t),this.inputs=e.map(n.inputs,function(e){return e.jquery?e[0]:e}),delete n.inputs,e(this.inputs).datepicker(n).bind("changeDate",e.proxy(this.dateUpdated,this)),this.pickers=e.map(this.inputs,function(t){return e(t).data("datepicker")}),this.updateDates()};u.prototype={updateDates:function(){this.dates=e.map(this.pickers,function(e){return e.getUTCDate()}),this.updateRanges()},updateRanges:function(){var t=e.map(this.dates,function(e){return e.valueOf()});
51e.each(this.pickers,function(e,n){n.setRange(t)})},dateUpdated:function(t){if(!this.updating){this.updating=!0;var n=e(t.target).data("datepicker"),i=n.getUTCDate(),a=e.inArray(t.target,this.inputs),r=this.inputs.length;if(-1!==a){if(e.each(this.pickers,function(e,t){t.getUTCDate()||t.setUTCDate(i)}),i<this.dates[a])for(;a>=0&&i<this.dates[a];)this.pickers[a--].setUTCDate(i);else if(i>this.dates[a])for(;r>a&&i>this.dates[a];)this.pickers[a++].setUTCDate(i);this.updateDates(),delete this.updating}}},remove:function(){e.map(this.pickers,function(e){e.remove()}),delete this.element.data().datepicker}};var d=e.fn.datepicker;e.fn.datepicker=function(n){var i=Array.apply(null,arguments);i.shift();var a;return this.each(function(){var s=e(this),l=s.data("datepicker"),d="object"==typeof n&&n;if(!l){var p=r(this,"date"),f=e.extend({},h,p,d),g=o(f.language),m=e.extend({},h,g,p,d);if(s.is(".input-daterange")||m.inputs){var v={inputs:m.inputs||s.find("input").toArray()};s.data("datepicker",l=new u(this,e.extend(m,v)))}else s.data("datepicker",l=new c(this,m))}return"string"==typeof n&&"function"==typeof l[n]&&(a=l[n].apply(l,i),a!==t)?!1:void 0}),a!==t?a:this};var h=e.fn.datepicker.defaults={autoclose:!1,beforeShowDay:e.noop,calendarWeeks:!1,clearBtn:!1,daysOfWeekDisabled:[],endDate:1/0,forceParse:!0,format:"mm/dd/yyyy",keyboardNavigation:!0,language:"en",minViewMode:0,multidate:!1,multidateSeparator:",",orientation:"auto",rtl:!1,startDate:-1/0,startView:0,todayBtn:!1,todayHighlight:!1,weekStart:0},p=e.fn.datepicker.locale_opts=["format","rtl","weekStart"];e.fn.datepicker.Constructor=c;var f=e.fn.datepicker.dates={en:{days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],daysShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat","Sun"],daysMin:["Su","Mo","Tu","We","Th","Fr","Sa","Su"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],monthsShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],today:"Today",clear:"Clear"}},g={modes:[{clsName:"days",navFnc:"Month",navStep:1},{clsName:"months",navFnc:"FullYear",navStep:1},{clsName:"years",navFnc:"FullYear",navStep:10}],isLeapYear:function(e){return e%4===0&&e%100!==0||e%400===0},getDaysInMonth:function(e,t){return[31,g.isLeapYear(e)?29:28,31,30,31,30,31,31,30,31,30,31][t]},validParts:/dd?|DD?|mm?|MM?|yy(?:yy)?/g,nonpunctuation:/[^ -\/:-@\[\u3400-\u9fff-`{-~\t\n\r]+/g,parseFormat:function(e){var t=e.replace(this.validParts,"\x00").split("\x00"),n=e.match(this.validParts);if(!t||!t.length||!n||0===n.length)throw new Error("Invalid date format.");return{separators:t,parts:n}},parseDate:function(i,a,r){function o(){var e=this.slice(0,h[u].length),t=h[u].slice(0,e.length);return e===t}if(!i)return t;if(i instanceof Date)return i;"string"==typeof a&&(a=g.parseFormat(a));var s,l,u,d=/([\-+]\d+)([dmwy])/,h=i.match(/([\-+]\d+)([dmwy])/g);if(/^[\-+]\d+[dmwy]([\s,]+[\-+]\d+[dmwy])*$/.test(i)){for(i=new Date,u=0;u<h.length;u++)switch(s=d.exec(h[u]),l=parseInt(s[1]),s[2]){case"d":i.setUTCDate(i.getUTCDate()+l);break;case"m":i=c.prototype.moveMonth.call(c.prototype,i,l);break;case"w":i.setUTCDate(i.getUTCDate()+7*l);break;case"y":i=c.prototype.moveYear.call(c.prototype,i,l)}return n(i.getUTCFullYear(),i.getUTCMonth(),i.getUTCDate(),0,0,0)}h=i&&i.match(this.nonpunctuation)||[],i=new Date;var p,m,v={},y=["yyyy","yy","M","MM","m","mm","d","dd"],b={yyyy:function(e,t){return e.setUTCFullYear(t)},yy:function(e,t){return e.setUTCFullYear(2e3+t)},m:function(e,t){if(isNaN(e))return e;for(t-=1;0>t;)t+=12;for(t%=12,e.setUTCMonth(t);e.getUTCMonth()!==t;)e.setUTCDate(e.getUTCDate()-1);return e},d:function(e,t){return e.setUTCDate(t)}};b.M=b.MM=b.mm=b.m,b.dd=b.d,i=n(i.getFullYear(),i.getMonth(),i.getDate(),0,0,0);var w=a.parts.slice();if(h.length!==w.length&&(w=e(w).filter(function(t,n){return-1!==e.inArray(n,y)}).toArray()),h.length===w.length){var x;for(u=0,x=w.length;x>u;u++){if(p=parseInt(h[u],10),s=w[u],isNaN(p))switch(s){case"MM":m=e(f[r].months).filter(o),p=e.inArray(m[0],f[r].months)+1;break;case"M":m=e(f[r].monthsShort).filter(o),p=e.inArray(m[0],f[r].monthsShort)+1}v[s]=p}var T,E;for(u=0;
51u<y.length;u++)E=y[u],E in v&&!isNaN(v[E])&&(T=new Date(i),b[E](T,v[E]),isNaN(T)||(i=T))}return i},formatDate:function(t,n,i){if(!t)return"";"string"==typeof n&&(n=g.parseFormat(n));var a={d:t.getUTCDate(),D:f[i].daysShort[t.getUTCDay()],DD:f[i].days[t.getUTCDay()],m:t.getUTCMonth()+1,M:f[i].monthsShort[t.getUTCMonth()],MM:f[i].months[t.getUTCMonth()],yy:t.getUTCFullYear().toString().substring(2),yyyy:t.getUTCFullYear()};a.dd=(a.d<10?"0":"")+a.d,a.mm=(a.m<10?"0":"")+a.m,t=[];for(var r=e.extend([],n.separators),o=0,s=n.parts.length;s>=o;o++)r.length&&t.push(r.shift()),t.push(a[n.parts[o]]);return t.join("")},headTemplate:'<thead><tr><th class="prev">«</th><th colspan="5" class="datepicker-switch"></th><th class="next">»</th></tr></thead>',contTemplate:'<tbody><tr><td colspan="7"></td></tr></tbody>',footTemplate:'<tfoot><tr><th colspan="7" class="today"></th></tr><tr><th colspan="7" class="clear"></th></tr></tfoot>'};g.template='<div class="datepicker"><div class="datepicker-days"><table class=" table-condensed">'+g.headTemplate+"<tbody></tbody>"+g.footTemplate+'</table></div><div class="datepicker-months"><table class="table-condensed">'+g.headTemplate+g.contTemplate+g.footTemplate+'</table></div><div class="datepicker-years"><table class="table-condensed">'+g.headTemplate+g.contTemplate+g.footTemplate+"</table></div></div>",e.fn.datepicker.DPGlobal=g,e.fn.datepicker.noConflict=function(){return e.fn.datepicker=d,this},e(document).on("focus.datepicker.data-api click.datepicker.data-api",'[data-provide="datepicker"]',function(t){var n=e(this);n.data("datepicker")||(t.preventDefault(),n.datepicker("show"))}),e(function(){e('[data-provide="datepicker-inline"]').datepicker()})}(window.jQuery),function(e){e.fn.datepicker.dates.de={days:["Sonntag","Montag","Dienstag","Mittwoch","Donnerstag","Freitag","Samstag","Sonntag"],daysShort:["Son","Mon","Die","Mit","Don","Fre","Sam","Son"],daysMin:["So","Mo","Di","Mi","Do","Fr","Sa","So"],months:["Januar","Februar","M\xe4rz","April","Mai","Juni","Juli","August","September","Oktober","November","Dezember"],monthsShort:["Jan","Feb","M\xe4r","Apr","Mai","Jun","Jul","Aug","Sep","Okt","Nov","Dez"],today:"Heute",clear:"L\xf6schen",weekStart:1,format:"dd.mm.yyyy"}}(jQuery),/*! 52 * jQuery Validation Plugin v1.13.1 53 * 54 * http://jqueryvalidation.org/ 55 * 56 * Copyright (c) 2014 Jörn Zaefferer 57 * Released under the MIT license 58 */ 59function(e){"function"==typeof define&&define.amd?define(["jquery"],e):e(jQuery)}(function(e){e.extend(e.fn,{validate:function(t){if(!this.length)return void(t&&t.debug&&window.console&&console.warn("Nothing selected, can't validate, returning nothing."));var n=e.data(this[0],"validator");return n?n:(this.attr("novalidate","novalidate"),n=new e.validator(t,this[0]),e.data(this[0],"validator",n),n.settings.onsubmit&&(this.validateDelegate(":submit","click",function(t){n.settings.submitHandler&&(n.submitButton=t.target),e(t.target).hasClass("cancel")&&(n.cancelSubmit=!0),void 0!==e(t.target).attr("formnovalidate")&&(n.cancelSubmit=!0)}),this.submit(function(t){function i(){var i,a;return n.settings.submitHandler?(n.submitButton&&(i=e("<input type='hidden'/>").attr("name",n.submitButton.name).val(e(n.submitButton).val()).appendTo(n.currentForm)),a=n.settings.submitHandler.call(n,n.currentForm,t),n.submitButton&&i.remove(),void 0!==a?a:!1):!0}return n.settings.debug&&t.preventDefault(),n.cancelSubmit?(n.cancelSubmit=!1,i()):n.form()?n.pendingRequest?(n.formSubmitted=!0,!1):i():(n.focusInvalid(),!1)})),n)},valid:function(){var t,n;return e(this[0]).is("form")?t=this.validate().form():(t=!0,n=e(this[0].form).validate(),this.each(function(){t=n.element(this)&&t})),t},removeAttrs:function(t){var n={},i=this;return e.each(t.split(/\s/),function(e,t){n[t]=i.attr(t),i.removeAttr(t)}),n},rules:function(t,n){var i,a,r,o,s,l,c=this[0];if(t)switch(i=e.data(c.form,"validator").settings,a=i.rules,r=e.validator.staticRules(c),t){case"add":e.extend(r,e.validator.normalizeRule(n)),delete r.messages,a[c.name]=r,n.messages&&(i.messages[c.name]=e.extend(i.messages[c.name],n.messages));break;case"remove":return n?(l={},e.each(n.split(/\s/),function(t,n){l[n]=r[n],delete r[n],"required"===n&&e(c).removeAttr("aria-required")}),l):(delete a[c.name],r)}return o=e.validator.normalizeRules(e.extend({},e.validator.classRules(c),e.validator.attributeRules(c),e.validator.dataRules(c),e.validator.staticRules(c)),c),o.required&&(s=o.required,delete o.required,o=e.extend({required:s},o),e(c).attr("aria-required","true")),o.remote&&(s=o.remote,delete o.remote,o=e.extend(o,{remote:s})),o}}),e.extend(e.expr[":"],{blank:function(t){return!e.trim(""+e(t).val())},filled:function(t){return!!e.trim(""+e(t).val())},unchecked:function(t){return!e(t).prop("checked")}}),e.validator=function(t,n){this.settings=e.extend(!0,{},e.validator.defaults,t),this.currentForm=n,this.init()},e.validator.format=function(t,n){return 1===arguments.length?function(){var n=e.makeArray(arguments);return n.unshift(t),e.validator.format.apply(this,n)}:(arguments.length>2&&n.constructor!==Array&&(n=e.makeArray(arguments).slice(1)),n.constructor!==Array&&(n=[n]),e.each(n,function(e,n){t=t.replace(new RegExp("\\{"+e+"\\}","g"),function(){return n})}),t)},e.extend(e.validator,{defaults:{messages:{},groups:{},rules:{},errorClass:"error",validClass:"valid",errorElement:"label",focusCleanup:!1,focusInvalid:!0,errorContainer:e([]),errorLabelContainer:e([]),onsubmit:!0,ignore:":hidden",ignoreTitle:!1,onfocusin:function(e){this.lastActive=e,this.settings.focusCleanup&&(this.settings.unhighlight&&this.settings.unhighlight.call(this,e,this.settings.errorClass,this.settings.val
59idClass),this.hideThese(this.errorsFor(e)))},onfocusout:function(e){this.checkable(e)||!(e.name in this.submitted)&&this.optional(e)||this.element(e)},onkeyup:function(e,t){(9!==t.which||""!==this.elementValue(e))&&(e.name in this.submitted||e===this.lastElement)&&this.element(e)},onclick:function(e){e.name in this.submitted?this.element(e):e.parentNode.name in this.submitted&&this.element(e.parentNode)},highlight:function(t,n,i){"radio"===t.type?this.findByName(t.name).addClass(n).removeClass(i):e(t).addClass(n).removeClass(i)},unhighlight:function(t,n,i){"radio"===t.type?this.findByName(t.name).removeClass(n).addClass(i):e(t).removeClass(n).addClass(i)}},setDefaults:function(t){e.extend(e.validator.defaults,t)},messages:{required:"This field is required.",remote:"Please fix this field.",email:"Please enter a valid email address.",url:"Please enter a valid URL.",date:"Please enter a valid date.",dateISO:"Please enter a valid date ( ISO ).",number:"Please enter a valid number.",digits:"Please enter only digits.",creditcard:"Please enter a valid credit card number.",equalTo:"Please enter the same value again.",maxlength:e.validator.format("Please enter no more than {0} characters."),minlength:e.validator.format("Please enter at least {0} characters."),rangelength:e.validator.format("Please enter a value between {0} and {1} characters long."),range:e.validator.format("Please enter a value between {0} and {1}."),max:e.validator.format("Please enter a value less than or equal to {0}."),min:e.validator.format("Please enter a value greater than or equal to {0}.")},autoCreateRanges:!1,prototype:{init:function(){function t(t){var n=e.data(this[0].form,"validator"),i="on"+t.type.replace(/^validate/,""),a=n.settings;a[i]&&!this.is(a.ignore)&&a[i].call(n,this[0],t)}this.labelContainer=e(this.settings.errorLabelContainer),this.errorContext=this.labelContainer.length&&this.labelContainer||e(this.currentForm),this.containers=e(this.settings.errorContainer).add(this.settings.errorLabelContainer),this.submitted={},this.valueCache={},this.pendingRequest=0,this.pending={},this.invalid={},this.reset();var n,i=this.groups={};e.each(this.settings.groups,function(t,n){"string"==typeof n&&(n=n.split(/\s/)),e.each(n,function(e,n){i[n]=t})}),n=this.settings.rules,e.each(n,function(t,i){n[t]=e.validator.normalizeRule(i)}),e(this.currentForm).validateDelegate(":text, [type='password'], [type='file'], select, textarea, [type='number'], [type='search'] ,[type='tel'], [type='url'], [type='email'], [type='datetime'], [type='date'], [type='month'], [type='week'], [type='time'], [type='datetime-local'], [type='range'], [type='color'], [type='radio'], [type='checkbox']","focusin focusout keyup",t).validateDelegate("select, option, [type='radio'], [type='checkbox']","click",t),this.settings.invalidHandler&&e(this.currentForm).bind("invalid-form.validate",this.settings.invalidHandler),e(this.currentForm).find("[required], [data-rule-required], .required").attr("aria-required","true")},form:function(){return this.checkForm(),e.extend(this.submitted,this.errorMap),this.invalid=e.extend({},this.errorMap),this.valid()||e(this.currentForm).triggerHandler("invalid-form",[this]),this.showErrors(),this.valid()},checkForm:function(){this.prepareForm();for(var e=0,t=this.currentElements=this.elements();t[e];e++)this.check(t[e]);return this.valid()},element:function(t){var n=this.clean(t),i=this.validationTargetFor(n),a=!0;return this.lastElement=i,void 0===i?delete this.invalid[n.name]:(this.prepareElement(i),this.currentElements=e(i),a=this.check(i)!==!1,a?delete this.invalid[i.name]:this.invalid[i.name]=!0),e(t).attr("aria-invalid",!a),this.numberOfInvalids()||(this.toHide=this.toHide.add(this.containers)),this.showErrors(),a},showErrors:function(t){if(t){e.extend(this.errorMap,t),this.errorList=[];for(var n in t)this.errorList.push({message:t[n],element:this.findByName(n)[0]});this.successList=e.grep(this.successList,function(e){return!(e.name in t)})}this.settings.showErrors?this.settings.showErrors.call(this,this.errorMap,this.errorList):this.defaultShowErrors()},resetForm:function(){e.fn.resetForm&&e(this.currentForm).resetForm(),this.submitted={},this.lastElement=null,this.prepareForm(),this.hideErrors(),this.elements().removeClass(this.settings.errorClass).removeData("previousValue").removeAttr("aria-invalid")},numberOfInvalids:function(){return this.objectLength(this.invalid)},objectLength:function(e){var t,n=0;for(t in e)n++;return n},hideErrors:function(){this.hideThese(this.toHide)}
59,hideThese:function(e){e.not(this.containers).text(""),this.addWrapper(e).hide()},valid:function(){return 0===this.size()},size:function(){return this.errorList.length},focusInvalid:function(){if(this.settings.focusInvalid)try{e(this.findLastActive()||this.errorList.length&&this.errorList[0].element||[]).filter(":visible").focus().trigger("focusin")}catch(t){}},findLastActive:function(){var t=this.lastActive;return t&&1===e.grep(this.errorList,function(e){return e.element.name===t.name}).length&&t},elements:function(){var t=this,n={};return e(this.currentForm).find("input, select, textarea").not(":submit, :reset, :image, [disabled], [readonly]").not(this.settings.ignore).filter(function(){return!this.name&&t.settings.debug&&window.console&&console.error("%o has no name assigned",this),this.name in n||!t.objectLength(e(this).rules())?!1:(n[this.name]=!0,!0)})},clean:function(t){return e(t)[0]},errors:function(){var t=this.settings.errorClass.split(" ").join(".");return e(this.settings.errorElement+"."+t,this.errorContext)},reset:function(){this.successList=[],this.errorList=[],this.errorMap={},this.toShow=e([]),this.toHide=e([]),this.currentElements=e([])},prepareForm:function(){this.reset(),this.toHide=this.errors().add(this.containers)},prepareElement:function(e){this.reset(),this.toHide=this.errorsFor(e)},elementValue:function(t){var n,i=e(t),a=t.type;return"radio"===a||"checkbox"===a?e("input[name='"+t.name+"']:checked").val():"number"===a&&"undefined"!=typeof t.validity?t.validity.badInput?!1:i.val():(n=i.val(),"string"==typeof n?n.replace(/\r/g,""):n)},check:function(t){t=this.validationTargetFor(this.clean(t));var n,i,a,r=e(t).rules(),o=e.map(r,function(e,t){return t}).length,s=!1,l=this.elementValue(t);for(i in r){a={method:i,parameters:r[i]};try{if(n=e.validator.methods[i].call(this,l,t,a.parameters),"dependency-mismatch"===n&&1===o){s=!0;continue}if(s=!1,"pending"===n)return void(this.toHide=this.toHide.not(this.errorsFor(t)));if(!n)return this.formatAndAdd(t,a),!1}catch(c){throw this.settings.debug&&window.console&&console.log("Exception occurred when checking element "+t.id+", check the '"+a.method+"' method.",c),c}}if(!s)return this.objectLength(r)&&this.successList.push(t),!0},customDataMessage:function(t,n){return e(t).data("msg"+n.charAt(0).toUpperCase()+n.substring(1).toLowerCase())||e(t).data("msg")},customMessage:function(e,t){var n=this.settings.messages[e];return n&&(n.constructor===String?n:n[t])},findDefined:function(){for(var e=0;e<arguments.length;e++)if(void 0!==arguments[e])return arguments[e];return void 0},defaultMessage:function(t,n){return this.findDefined(this.customMessage(t.name,n),this.customDataMessage(t,n),!this.settings.ignoreTitle&&t.title||void 0,e.validator.messages[n],"<strong>Warning: No message defined for "+t.name+"</strong>")},formatAndAdd:function(t,n){var i=this.defaultMessage(t,n.method),a=/\$?\{(\d+)\}/g;"function"==typeof i?i=i.call(this,n.parameters,t):a.test(i)&&(i=e.validator.format(i.replace(a,"{$1}"),n.parameters)),this.errorList.push({message:i,element:t,method:n.method}),this.errorMap[t.name]=i,this.submitted[t.name]=i},addWrapper:function(e){return this.settings.wrapper&&(e=e.add(e.parent(this.settings.wrapper))),e},defaultShowErrors:function(){var e,t,n;for(e=0;this.errorList[e];e++)n=this.errorList[e],this.settings.highlight&&this.settings.highlight.call(this,n.element,this.settings.errorClass,this.settings.validClass),this.showLabel(n.element,n.message);if(this.errorList.length&&(this.toShow=this.toShow.add(this.containers)),this.settings.success)for(e=0;this.successList[e];e++)this.showLabel(this.successList[e]);if(this.settings.unhighlight)for(e=0,t=this.validElements();t[e];e++)this.settings.unhighlight.call(this,t[e],this.settings.errorClass,this.settings.validClass);this.toHide=this.toHide.not(this.toShow),this.hideErrors(),this.addWrapper(this.toShow).show()},validElements:function(){return this.currentElements.not(this.invalidElements())},invalidElements:function(){return e(this.errorList).map(function(){return this.element})},showLabel:function(t,n){var i,a,r,o=this.errorsFor(t),s=this.idOrName(t),l=e(t).attr("aria-describedby");
59o.length?(o.removeClass(this.settings.validClass).addClass(this.settings.errorClass),o.html(n)):(o=e("<"+this.settings.errorElement+">").attr("id",s+"-error").addClass(this.settings.errorClass).html(n||""),i=o,this.settings.wrapper&&(i=o.hide().show().wrap("<"+this.settings.wrapper+"/>").parent()),this.labelContainer.length?this.labelContainer.append(i):this.settings.errorPlacement?this.settings.errorPlacement(i,e(t)):i.insertAfter(t),o.is("label")?o.attr("for",s):0===o.parents("label[for='"+s+"']").length&&(r=o.attr("id").replace(/(:|\.|\[|\])/g,"\\$1"),l?l.match(new RegExp("\\b"+r+"\\b"))||(l+=" "+r):l=r,e(t).attr("aria-describedby",l),a=this.groups[t.name],a&&e.each(this.groups,function(t,n){n===a&&e("[name='"+t+"']",this.currentForm).attr("aria-describedby",o.attr("id"))}))),!n&&this.settings.success&&(o.text(""),"string"==typeof this.settings.success?o.addClass(this.settings.success):this.settings.success(o,t)),this.toShow=this.toShow.add(o)},errorsFor:function(t){var n=this.idOrName(t),i=e(t).attr("aria-describedby"),a="label[for='"+n+"'], label[for='"+n+"'] *";return i&&(a=a+", #"+i.replace(/\s+/g,", #")),this.errors().filter(a)},idOrName:function(e){return this.groups[e.name]||(this.checkable(e)?e.name:e.id||e.name)},validationTargetFor:function(t){return this.checkable(t)&&(t=this.findByName(t.name)),e(t).not(this.settings.ignore)[0]},checkable:function(e){return/radio|checkbox/i.test(e.type)},findByName:function(t){return e(this.currentForm).find("[name='"+t+"']")},getLength:function(t,n){switch(n.nodeName.toLowerCase()){case"select":return e("option:selected",n).length;case"input":if(this.checkable(n))return this.findByName(n.name).filter(":checked").length}return t.length},depend:function(e,t){return this.dependTypes[typeof e]?this.dependTypes[typeof e](e,t):!0},dependTypes:{"boolean":function(e){return e},string:function(t,n){return!!e(t,n.form).length},"function":function(e,t){return e(t)}},optional:function(t){var n=this.elementValue(t);return!e.validator.methods.required.call(this,n,t)&&"dependency-mismatch"},startRequest:function(e){this.pending[e.name]||(this.pendingRequest++,this.pending[e.name]=!0)},stopRequest:function(t,n){this.pendingRequest--,this.pendingRequest<0&&(this.pendingRequest=0),delete this.pending[t.name],n&&0===this.pendingRequest&&this.formSubmitted&&this.form()?(e(this.currentForm).submit(),this.formSubmitted=!1):!n&&0===this.pendingRequest&&this.formSubmitted&&(e(this.currentForm).triggerHandler("invalid-form",[this]),this.formSubmitted=!1)},previousValue:function(t){return e.data(t,"previousValue")||e.data(t,"previousValue",{old:null,valid:!0,message:this.defaultMessage(t,"remote")})}},classRuleSettings:{required:{required:!0},email:{email:!0},url:{url:!0},date:{date:!0},dateISO:{dateISO:!0},number:{number:!0},digits:{digits:!0},creditcard:{creditcard:!0}},addClassRules:function(t,n){t.constructor===String?this.classRuleSettings[t]=n:e.extend(this.classRuleSettings,t)},classRules:function(t){var n={},i=e(t).attr("class");return i&&e.each(i.split(" "),function(){this in e.validator.classRuleSettings&&e.extend(n,e.validator.classRuleSettings[this])}),n},attributeRules:function(t){var n,i,a={},r=e(t),o=t.getAttribute("type");for(n in e.validator.methods)"required"===n?(i=t.getAttribute(n),""===i&&(i=!0),i=!!i):i=r.attr(n),/min|max/.test(n)&&(null===o||/number|range|text/.test(o))&&(i=Number(i)),i||0===i?a[n]=i:o===n&&"range"!==o&&(a[n]=!0);return a.maxlength&&/-1|2147483647|524288/.test(a.maxlength)&&delete a.maxlength,a},dataRules:function(t){var n,i,a={},r=e(t);for(n in e.validator.methods)i=r.data("rule"+n.charAt(0).toUpperCase()+n.substring(1).toLowerCase()),void 0!==i&&(a[n]=i);return a},staticRules:function(t){var n={},i=e.data(t.form,"validator");return i.settings.rules&&(n=e.validator.normalizeRule(i.settings.rules[t.name])||{}),n},normalizeRules:function(t,n){return e.each(t,function(i,a){if(a===!1)return void delete t[i];if(a.param||a.depends){var r=!0;switch(typeof a.depends){case"string":r=!!e(a.depends,n.form).length;break;case"function":r=a.depends.call(n,n)}r?t[i]=void 0!==a.param?a.param:!0:delete t[i]}}),e.each(t,function(i,a){t[i]=e.isFunction(a)?a(n):a}),e.each(["minlength","maxlength"],function(){t[this]&&(t[this]=Number(t[this]))}),e.each(["rangelength","range"],function(){var n;t[this]&&(e.isArray(t[this])?t[this]=[Number(t[this][0]),Number(t[this][1])]:"string"==typeof t[this]&&(n=t[this].replace(/[\[\]]/g,"").split(/[\s,]+/),t[this]=[Number(n[0]),Number(n[1])]))}),e.validator.autoCreateRanges&&(null!=t.min&&null!=t.max&&(t.range=[t.min,t.max],delete t.min,delete t.max),null!=t.minlength&&null!=t.maxlength&&(t.rangelength=[t.minlength,t.maxlength],delete t.minlength,delete t.maxlength)),t},normalizeRule:function(t){if("string"==typeof t){var n={};e.each(t.split(/\s/),function(){n[this]=!0}),t=n}return t},addMethod:function(t,n,i){e.validator.methods[t]=n,e.validator.messages[t]=void 0!==i?i:e.validator.messages[t],n.length<3&&e.validator.addClassRules(t,e.validator.normalizeRule(t))},methods:{required:function(t,n,i){if(!this.depend(i,n))return"dependency-mismatch";if("select"===n.nodeName.toLowerCase()){var a=e(n).val();return a&&a.length>0}return this.checkable(n)?this.getLength(t,n)>0:e.trim(t).length>0},email:function(e,t){return this.optional(t)||/^[a-zA-Z0-9.!#$%&'*+\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/.test(e)},url:function(e,t){return this.optional(t)||/^(https?|s?ftp):\/\/(((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:)*@)?(((\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5]))|((([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.)+(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.?)(:\d*)?)(\/((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)+(\/(([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)*)*)?)?(\?((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|[\uE000-\uF8FF]|\/|\?)*)?(#((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|\/|\?)*)?$/i.test(e)},date:function(e,t){return this.optional(t)||!/Invalid|NaN/.test(new Date(e).toString())},dateISO:function(e,t){return this.optional(t)||/^\d{4}[\/\-](0?[1-9]|1[012])[\/\-](0?[1-9]|[12][0-9]|3[01])$/.test(e)},number:function(e,t){return this.optional(t)||/^-?(?:\d+|\d{1,3}(?:,\d{3})+)?(?:\.\d+)?$/.test(e)},digits:function(e,t){return this.optional(t)||/^\d+$/.test(e)},creditcard:function(e,t){if(this.optional(t))return"dependency-mismatch";if(/[^0-9 \-]+/.test(e))return!1;var n,i,a=0,r=0,o=!1;if(e=e.replace(/\D/g,""),e.length<13||e.length>19)return!1;for(n=e.length-1;n>=0;n--)i=e.charAt(n),r=parseInt(i,10),o&&(r*=2)>9&&(r-=9),a+=r,o=!o;return a%10===0},minlength:function(t,n,i){var a=e.isArray(t)?t.length:this.getLength(t,n);return this.optional(n)||a>=i},maxlength:function(t,n,i){var a=e.isArray(t)?t.length:this.getLength(t,n);return this.optional(n)||i>=a},rangelength:function(t,n,i){var a=e.isArray(t)?t.length:this.getLength(t,n);return this.optional(n)||a>=i[0]&&a<=i[1]},min:function(e,t,n){return this.optional(t)||e>=n},max:function(e,t,n){return this.optional(t)||n>=e},range:function(e,t,n){return this.optional(t)||e>=n[0]&&e<=n[1]},equalTo:function(t,n,i){var a=e(i);return this.settings.onfocusout&&a.unbind(".validate-equalTo").bind("blur.validate-equalTo",function(){e(n).valid()}),t===a.val()},remote:function(t,n,i){if(this.optional(n))return"dependency-mismatch";var a,r,o=this.previousValue(n);return this.settings.messages[n.name]||(this.settings.messages[n.name]={}),o.originalMessage=this.settings.messages[n.name].remote,this.settings.messages[n.name].remote=o.message,i="string"==typeof i&&{url:i}
59||i,o.old===t?o.valid:(o.old=t,a=this,this.startRequest(n),r={},r[n.name]=t,e.ajax(e.extend(!0,{url:i,mode:"abort",port:"validate"+n.name,dataType:"json",data:r,context:a.currentForm,success:function(i){var r,s,l,c=i===!0||"true"===i;a.settings.messages[n.name].remote=o.originalMessage,c?(l=a.formSubmitted,a.prepareElement(n),a.formSubmitted=l,a.successList.push(n),delete a.invalid[n.name],a.showErrors()):(r={},s=i||a.defaultMessage(n,"remote"),r[n.name]=o.message=e.isFunction(s)?s(t):s,a.invalid[n.name]=!0,a.showErrors(r)),o.valid=c,a.stopRequest(n,c)}},i)),"pending")}}}),e.format=function(){throw"$.format has been deprecated. Please use $.validator.format instead."};var t,n={};e.ajaxPrefilter?e.ajaxPrefilter(function(e,t,i){var a=e.port;"abort"===e.mode&&(n[a]&&n[a].abort(),n[a]=i)}):(t=e.ajax,e.ajax=function(i){var a=("mode"in i?i:e.ajaxSettings).mode,r=("port"in i?i:e.ajaxSettings).port;return"abort"===a?(n[r]&&n[r].abort(),n[r]=t.apply(this,arguments),n[r]):t.apply(this,arguments)}),e.extend(e.fn,{validateDelegate:function(t,n,i){return this.bind(n,function(n){var a=e(n.target);return a.is(t)?i.apply(a,arguments):void 0})}})}),/*! 60 * jQuery Validation Plugin v1.13.1 61 * 62 * http://jqueryvalidation.org/ 63 * 64 * Copyright (c) 2014 Jörn Zaefferer 65 * Released under the MIT license 66 */ 67function(e){"function"==typeof define&&define.amd?define(["jquery","./jquery.validate"],e):e(jQuery)}(function(e){!function(){function t(e){return e.replace(/<.[^<>]*?>/g," ").replace(/ | /gi," ").replace(/[.(),;:!?%#$'\"_+=\/\-\u201c\u201d\u2019]*/g,"")}e.validator.addMethod("maxWords",function(e,n,i){return this.optional(n)||t(e).match(/\b\w+\b/g).length<=i},e.validator.format("Please enter {0} words or less.")),e.validator.addMethod("minWords",function(e,n,i){return this.optional(n)||t(e).match(/\b\w+\b/g).length>=i},e.validator.format("Please enter at least {0} words.")),e.validator.addMethod("rangeWords",function(e,n,i){var a=t(e),r=/\b\w+\b/g;return this.optional(n)||a.match(r).length>=i[0]&&a.match(r).length<=i[1]},e.validator.format("Please enter between {0} and {1} words."))}(),e.validator.addMethod("accept",function(t,n,i){var a,r,o="string"==typeof i?i.replace(/\s/g,"").replace(/,/g,"|"):"image/*",s=this.optional(n);if(s)return s;if("file"===e(n).attr("type")&&(o=o.replace(/\*/g,".*"),n.files&&n.files.length))for(a=0;a<n.files.length;a++)if(r=n.files[a],!r.type.match(new RegExp(".?("+o+")$","i")))return!1;return!0},e.validator.format("Please enter a value with a valid mimetype.")),e.validator.addMethod("alphanumeric",function(e,t){return this.optional(t)||/^\w+$/i.test(e)},"Letters, numbers, and underscores only please"),e.validator.addMethod("bankaccountNL",function(e,t){if(this.optional(t))return!0;if(!/^[0-9]{9}|([0-9]{2} ){3}[0-9]{3}$/.test(e))return!1;var n,i,a,r=e.replace(/ /g,""),o=0,s=r.length;for(n=0;s>n;n++)i=s-n,a=r.substring(n,n+1),o+=i*a;return o%11===0},"Please specify a valid bank account number"),e.validator.addMethod("bankorgiroaccountNL",function(t,n){return this.optional(n)||e.validator.methods.bankaccountNL.call(this,t,n)||e.validator.methods.giroaccountNL.call(this,t,n)},"Please specify a valid bank or giro account number"),e.validator.addMethod("bic",function(e,t){return this.optional(t)||/^([A-Z]{6}[A-Z2-9][A-NP-Z1-2])(X{3}|[A-WY-Z0-9][A-Z0-9]{2})?$/.test(e)},"Please specify a valid BIC code"),e.validator.addMethod("cifES",function(e){"use strict";var t,n,i,a,r,o,s=[];if(e=e.toUpperCase(),!e.match("((^[A-Z]{1}[0-9]{7}[A-Z0-9]{1}$|^[T]{1}[A-Z0-9]{8}$)|^[0-9]{8}[A-Z]{1}$)"))return!1;for(i=0;9>i;i++)s[i]=parseInt(e.charAt(i),10);for(n=s[2]+s[4]+s[6],a=1;8>a;a+=2)r=(2*s[a]).toString(),o=r.charAt(1),n+=parseInt(r.charAt(0),10)+(""===o?0:parseInt(o,10));return/^[ABCDEFGHJNPQRSUVW]{1}/.test(e)?(n+="",t=10-parseInt(n.charAt(n.length-1),10),e+=t,s[8].toString()===String.fromCharCode(64+t)||s[8].toString()===e.charAt(e.length-1)):!1},"Please specify a valid CIF number."),e.validator.addMethod("creditcardtypes",function(e,t,n){if(/[^0-9\-]+/.test(e))return!1;e=e.replace(/\D/g,"");var i=0;return n.mastercard&&(i|=1),n.visa&&(i|=2),n.amex&&(i|=4),n.dinersclub&&(i|=8),n.enroute&&(i|=16),n.discover&&(i|=32),n.jcb&&(i|=64),n.unknown&&(i|=128),n.all&&(i=255),1&i&&/^(5[12345])/.test(e)?16===e.length:2&i&&/^(4)/.test(e)?16===e.length:4&i&&/^(3[47])/.test(e)?15===e.length:8&i&&/^(3(0[012345]|[68]))/.test(e)?14===e.length:16&i&&/^(2(014|149))/.test(e)?15===e.length:32&i&&/^(6011)/.test(e)?16===e.length:64&i&&/^(3)/.test(e)?16===e.length:64&i&&/^(2131|1800)/.test(e)?15===e.length:128&i?!0:!1},"Please enter a valid credit card number."),e.validator.addMethod("currency",function(e,t,n){var i,a="string"==typeof n,r=a?n:n[0],o=a?!0:n[1];return r=r.replace(/,/g,""),r=o?r+"]":r+"]?",i="^["+r+"([1-9]{1}[0-9]{0,2}(\\,[0-9]{3})*(\\.[0-9]{0,2})?|[1-9]{1}[0-9]{0,}(\\.[0-9]{0,2})?|0(\\.[0-9]{0,2})?|(\\.[0-9]{1,2})?)$",i=new RegExp(i),this.optional(t)||i.test(e)},"Please specify a valid currency"),e.validator.addMethod("dateFA",function(e,t){return this.optional(t)||/^[1-4]\d{3}\/((0?[1-6]\/((3[0-1])|([1-2][0-9])|(0?[1-9])))|((1[0-2]|(0?[7-9]))\/(30|([1-2][0-9])|(0?[1-9]))))$/.test(e)},"Please enter a correct date"),e.validator.addMethod("dateITA",function(e,t){var n,i,a,r,o,s=!1,l=/^\d{1,2}\/\d{1,2}\/\d{4}$/;return l.test(e)?(n=e.split("/"),i=parseInt(n[0],10),a=parseInt(n[1],10),r=parseInt(n[2],10),o=new Date(r,a-1,i,12,0,0,0),s=o.getUTCFullYear()===r&&o.getUTCMonth()===a-1&&o.getUTCDate()===i?!0:!1):s=!1,this.optional(t)||s},"Please enter a correct date"),e.validator.addMethod("dateNL",function(e,t){return this.optional(t)||/^(0?[1-9]|[12]\d|3[01])[\.\/\-](0?[1-9]|1[012])[\.\/\-]([12]\d)?(\d\d)$/.test(e)},"Please enter a correct date"),e.validator.addMethod("extension",function(e,t,n){return n="string"==typeof n?n.replace(/,/g,"|"):"png|jpe?g|gif",this.optional(t)||e.match(new RegExp(".("+n+")$","i"))},e.validator.format("Please enter a value with a valid extension.")),e.validator.addMethod("giroaccountNL",function(e,t){return this.optional(t)||/^[0-9]{1,7}$/.test(e)},"Please specify a valid giro account number"),e.validator.addMethod("iban",function(e,t){if(this.optional(t))return!0;var n,i,a,r,o,s,l,c,u,d=e.replace(/ /g,"").toUpperCase(),h="",p=!0,f="",g="";if(!/^([a-zA-Z0-9]{4} ){2,8}[a-zA-Z0-9]{1,4}|[a-zA-Z0-9]{12,34}$/.test(d))return!1;if(n=d.substring(0,2),s={AL:"\\d{8}[\\dA-Z]{16}",AD:"\\d{8}[\\dA-Z]{12}",AT:"\\d{16}",AZ:"[\\dA-Z]{4}\\d{20}",BE:"\\d{12}",BH:"[A-Z]{4}[\\dA-Z]{14}",BA:"\\d{16}",BR:"\\d{23}[A-Z][\\dA-Z]",BG:"[A-Z]{4}\\d{6}[\\dA-Z]{8}",CR:"\\d{17}",HR:"\\d{17}",CY:"\\d{8}[\\dA-Z]{16}",CZ:"\\d{20}",DK:"\\d{14}",DO:"[A-Z]{4}\\d{20}",EE:"\\d{16}",FO:"\\d{14}",FI:"\\d{14}",FR:"\\d{10}[\\dA-Z]{11}\\d{2}",GE:"[\\dA-Z]{2}\\d{16}",DE:"\\d{18}",GI:"[A-Z]{4}[\\dA-Z]{15}",GR:"\\d{7}[\\dA-Z]{16}",GL:"\\d{14}",GT:"[\\dA-Z]{4}[\\dA-Z]{20}",HU:"\\d{24}",IS:"\\d{22}",IE:"[\\dA-Z]{4}\\d{14}",IL:"\\d{19}",IT:"[A-Z]\\d{10}[\\dA-Z]{12}",KZ:"\\d{3}[\\dA-Z]{13}",KW:"[A-Z]{4}[\\dA-Z]{22}",LV:"[A-Z]{4}[\\dA-Z]{13}",LB:"\\d{4}[\\dA-Z]{20}",LI:"\\d{5}[\\dA-Z]{12}",LT:"\\d{16}",LU:"\\d{3}[\\dA-Z]{13}",MK:"\\d{3}[\\dA-Z]{10}\\d{2}",MT:"[A-Z]{4}\\d{5}[\\dA-Z]{18}",MR:"\\d{23}",MU:"[A-Z]{4}\\d{19}[A-Z]{3}",MC:"\\d{10}[\\dA-Z]{11}\\d{2}",MD:"[\\dA-Z]{2}\\d{18}",ME:"\\d{18}",NL:"[A-Z]{4}\\d{10}",NO:"\\d{11}",PK:"[\\dA-Z]{4}\\d{16}",PS:"[\\dA-Z]{4}\\d{21}",PL:"\\d{24}",PT:"\\d{21}",RO:"[A-Z]{4}[\\dA-Z]{16}",SM:"[A-Z]\\d{10}[\\dA-Z]{12}",SA:"\\d{2}[\\dA-Z]{18}",RS:"\\d{18}",SK:"\\d{20}",SI:"\\d{15}",ES:"\\d{20}",SE:"\\d{20}",CH:"\\d{5}[\\dA-Z]{12}",TN:"\\d{20}",TR:"\\d{5}[\\dA-Z]{17}",AE:"\\d{3}\\d{16}",GB:"[A-Z]{4}\\d{14}",VG:"[\\dA-Z]{4}\\d{16}"},o=s[n],"undefined"!=typeof o&&(l=new RegExp("^[A-Z]{2}\\d{2}"+o+"$",""),!l.test(d)))return!1;for(i=d.substring(4,d.length)+d.substring(0,4),c=0;c<i.length;c++)a=i.charAt(c),"0"!==a&&(p=!1),p||(h+="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ".indexOf(a));for(u=0;
67u<h.length;u++)r=h.charAt(u),g=""+f+r,f=g%97;return 1===f},"Please specify a valid IBAN"),e.validator.addMethod("integer",function(e,t){return this.optional(t)||/^-?\d+$/.test(e)},"A positive or negative non-decimal number please"),e.validator.addMethod("ipv4",function(e,t){return this.optional(t)||/^(25[0-5]|2[0-4]\d|[01]?\d\d?)\.(25[0-5]|2[0-4]\d|[01]?\d\d?)\.(25[0-5]|2[0-4]\d|[01]?\d\d?)\.(25[0-5]|2[0-4]\d|[01]?\d\d?)$/i.test(e)},"Please enter a valid IP v4 address."),e.validator.addMethod("ipv6",function(e,t){return this.optional(t)||/^((([0-9A-Fa-f]{1,4}:){7}[0-9A-Fa-f]{1,4})|(([0-9A-Fa-f]{1,4}:){6}:[0-9A-Fa-f]{1,4})|(([0-9A-Fa-f]{1,4}:){5}:([0-9A-Fa-f]{1,4}:)?[0-9A-Fa-f]{1,4})|(([0-9A-Fa-f]{1,4}:){4}:([0-9A-Fa-f]{1,4}:){0,2}[0-9A-Fa-f]{1,4})|(([0-9A-Fa-f]{1,4}:){3}:([0-9A-Fa-f]{1,4}:){0,3}[0-9A-Fa-f]{1,4})|(([0-9A-Fa-f]{1,4}:){2}:([0-9A-Fa-f]{1,4}:){0,4}[0-9A-Fa-f]{1,4})|(([0-9A-Fa-f]{1,4}:){6}((\b((25[0-5])|(1\d{2})|(2[0-4]\d)|(\d{1,2}))\b)\.){3}(\b((25[0-5])|(1\d{2})|(2[0-4]\d)|(\d{1,2}))\b))|(([0-9A-Fa-f]{1,4}:){0,5}:((\b((25[0-5])|(1\d{2})|(2[0-4]\d)|(\d{1,2}))\b)\.){3}(\b((25[0-5])|(1\d{2})|(2[0-4]\d)|(\d{1,2}))\b))|(::([0-9A-Fa-f]{1,4}:){0,5}((\b((25[0-5])|(1\d{2})|(2[0-4]\d)|(\d{1,2}))\b)\.){3}(\b((25[0-5])|(1\d{2})|(2[0-4]\d)|(\d{1,2}))\b))|([0-9A-Fa-f]{1,4}::([0-9A-Fa-f]{1,4}:){0,5}[0-9A-Fa-f]{1,4})|(::([0-9A-Fa-f]{1,4}:){0,6}[0-9A-Fa-f]{1,4})|(([0-9A-Fa-f]{1,4}:){1,7}:))$/i.test(e)},"Please enter a valid IP v6 address."),e.validator.addMethod("lettersonly",function(e,t){return this.optional(t)||/^[a-z]+$/i.test(e)},"Letters only please"),e.validator.addMethod("letterswithbasicpunc",function(e,t){return this.optional(t)||/^[a-z\-.,()'"\s]+$/i.test(e)},"Letters or punctuation only please"),e.validator.addMethod("mobileNL",function(e,t){return this.optional(t)||/^((\+|00(\s|\s?\-\s?)?)31(\s|\s?\-\s?)?(\(0\)[\-\s]?)?|0)6((\s|\s?\-\s?)?[0-9]){8}$/.test(e)},"Please specify a valid mobile number"),e.validator.addMethod("mobileUK",function(e,t){return e=e.replace(/\(|\)|\s+|-/g,""),this.optional(t)||e.length>9&&e.match(/^(?:(?:(?:00\s?|\+)44\s?|0)7(?:[1345789]\d{2}|624)\s?\d{3}\s?\d{3})$/)},"Please specify a valid mobile number"),e.validator.addMethod("nieES",function(e){"use strict";return e=e.toUpperCase(),e.match("((^[A-Z]{1}[0-9]{7}[A-Z0-9]{1}$|^[T]{1}[A-Z0-9]{8}$)|^[0-9]{8}[A-Z]{1}$)")?/^[T]{1}/.test(e)?e[8]===/^[T]{1}[A-Z0-9]{8}$/.test(e):/^[XYZ]{1}/.test(e)?e[8]==="TRWAGMYFPDXBNJZSQVHLCKE".charAt(e.replace("X","0").replace("Y","1").replace("Z","2").substring(0,8)%23):!1:!1},"Please specify a valid NIE number."),e.validator.addMethod("nifES",function(e){"use strict";return e=e.toUpperCase(),e.match("((^[A-Z]{1}[0-9]{7}[A-Z0-9]{1}$|^[T]{1}[A-Z0-9]{8}$)|^[0-9]{8}[A-Z]{1}$)")?/^[0-9]{8}[A-Z]{1}$/.test(e)?"TRWAGMYFPDXBNJZSQVHLCKE".charAt(e.substring(8,0)%23)===e.charAt(8):/^[KLM]{1}/.test(e)?e[8]===String.fromCharCode(64):!1:!1},"Please specify a valid NIF number."),e.validator.addMethod("nowhitespace",function(e,t){return this.optional(t)||/^\S+$/i.test(e)},"No white space please"),e.validator.addMethod("pattern",function(e,t,n){return this.optional(t)?!0:("string"==typeof n&&(n=new RegExp("^(?:"+n+")$")),n.test(e))},"Invalid format."),e.validator.addMethod("phoneNL",function(e,t){return this.optional(t)||/^((\+|00(\s|\s?\-\s?)?)31(\s|\s?\-\s?)?(\(0\)[\-\s]?)?|0)[1-9]((\s|\s?\-\s?)?[0-9]){8}$/.test(e)},"Please specify a valid phone number."),e.validator.addMethod("phoneUK",function(e,t){return e=e.replace(/\(|\)|\s+|-/g,""),this.optional(t)||e.length>9&&e.match(/^(?:(?:(?:00\s?|\+)44\s?)|(?:\(?0))(?:\d{2}\)?\s?\d{4}\s?\d{4}|\d{3}\)?\s?\d{3}\s?\d{3,4}|\d{4}\)?\s?(?:\d{5}|\d{3}\s?\d{3})|\d{5}\)?\s?\d{4,5})$/)},"Please specify a valid phone number"),e.validator.addMethod("phoneUS",function(e,t){return e=e.replace(/\s+/g,""),this.optional(t)||e.length>9&&e.match(/^(\+?1-?)?(\([2-9]([02-9]\d|1[02-9])\)|[2-9]([02-9]\d|1[02-9]))-?[2-9]([02-9]\d|1[02-9])-?\d{4}$/)},"Please specify a valid phone number"),e.validator.addMethod("phonesUK",function(e,t){return e=e.replace(/\(|\)|\s+|-/g,""),this.optional(t)||e.length>
679&&e.match(/^(?:(?:(?:00\s?|\+)44\s?|0)(?:1\d{8,9}|[23]\d{9}|7(?:[1345789]\d{8}|624\d{6})))$/)},"Please specify a valid uk phone number"),e.validator.addMethod("postalCodeCA",function(e,t){return this.optional(t)||/^[ABCEGHJKLMNPRSTVXY]\d[A-Z] \d[A-Z]\d$/.test(e)},"Please specify a valid postal code"),e.validator.addMethod("postalcodeBR",function(e,t){return this.optional(t)||/^\d{2}.\d{3}-\d{3}?$|^\d{5}-?\d{3}?$/.test(e)},"Informe um CEP v\xe1lido."),e.validator.addMethod("postalcodeIT",function(e,t){return this.optional(t)||/^\d{5}$/.test(e)},"Please specify a valid postal code"),e.validator.addMethod("postalcodeNL",function(e,t){return this.optional(t)||/^[1-9][0-9]{3}\s?[a-zA-Z]{2}$/.test(e)},"Please specify a valid postal code"),e.validator.addMethod("postcodeUK",function(e,t){return this.optional(t)||/^((([A-PR-UWYZ][0-9])|([A-PR-UWYZ][0-9][0-9])|([A-PR-UWYZ][A-HK-Y][0-9])|([A-PR-UWYZ][A-HK-Y][0-9][0-9])|([A-PR-UWYZ][0-9][A-HJKSTUW])|([A-PR-UWYZ][A-HK-Y][0-9][ABEHMNPRVWXY]))\s?([0-9][ABD-HJLNP-UW-Z]{2})|(GIR)\s?(0AA))$/i.test(e)},"Please specify a valid UK postcode"),e.validator.addMethod("require_from_group",function(t,n,i){var a=e(i[1],n.form),r=a.eq(0),o=r.data("valid_req_grp")?r.data("valid_req_grp"):e.extend({},this),s=a.filter(function(){return o.elementValue(this)}).length>=i[0];return r.data("valid_req_grp",o),e(n).data("being_validated")||(a.data("being_validated",!0),a.each(function(){o.element(this)}),a.data("being_validated",!1)),s},e.validator.format("Please fill at least {0} of these fields.")),e.validator.addMethod("skip_or_fill_minimum",function(t,n,i){var a=e(i[1],n.form),r=a.eq(0),o=r.data("valid_skip")?r.data("valid_skip"):e.extend({},this),s=a.filter(function(){return o.elementValue(this)}).length,l=0===s||s>=i[0];return r.data("valid_skip",o),e(n).data("being_validated")||(a.data("being_validated",!0),a.each(function(){o.element(this)}),a.data("being_validated",!1)),l},e.validator.format("Please either skip these fields or fill at least {0} of them.")),jQuery.validator.addMethod("stateUS",function(e,t,n){var i,a="undefined"==typeof n,r=a||"undefined"==typeof n.caseSensitive?!1:n.caseSensitive,o=a||"undefined"==typeof n.includeTerritories?!1:n.includeTerritories,s=a||"undefined"==typeof n.includeMilitary?!1:n.includeMilitary;return i=o||s?o&&s?"^(A[AEKLPRSZ]|C[AOT]|D[CE]|FL|G[AU]|HI|I[ADLN]|K[SY]|LA|M[ADEINOPST]|N[CDEHJMVY]|O[HKR]|P[AR]|RI|S[CD]|T[NX]|UT|V[AIT]|W[AIVY])$":o?"^(A[KLRSZ]|C[AOT]|D[CE]|FL|G[AU]|HI|I[ADLN]|K[SY]|LA|M[ADEINOPST]|N[CDEHJMVY]|O[HKR]|P[AR]|RI|S[CD]|T[NX]|UT|V[AIT]|W[AIVY])$":"^(A[AEKLPRZ]|C[AOT]|D[CE]|FL|GA|HI|I[ADLN]|K[SY]|LA|M[ADEINOST]|N[CDEHJMVY]|O[HKR]|PA|RI|S[CD]|T[NX]|UT|V[AT]|W[AIVY])$":"^(A[KLRZ]|C[AOT]|D[CE]|FL|GA|HI|I[ADLN]|K[SY]|LA|M[ADEINOST]|N[CDEHJMVY]|O[HKR]|PA|RI|S[CD]|T[NX]|UT|V[AT]|W[AIVY])$",i=r?new RegExp(i):new RegExp(i,"i"),this.optional(t)||i.test(e)},"Please specify a valid state"),e.validator.addMethod("strippedminlength",function(t,n,i){return e(t).text().length>=i},e.validator.format("Please enter at least {0} characters")),e.validator.addMethod("time",function(e,t){return this.optional(t)||/^([01]\d|2[0-3])(:[0-5]\d){1,2}$/.test(e)},"Please enter a valid time, between 00:00 and 23:59"),e.validator.addMethod("time12h",function(e,t){return this.optional(t)||/^((0?[1-9]|1[012])(:[0-5]\d){1,2}(\ ?[AP]M))$/i.test(e)},"Please enter a valid time in 12-hour am/pm format"),e.validator.addMethod("url2",function(e,t){return this.optional(t)||/^(https?|ftp):\/\/(((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:)*@)?(((\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5]))|((([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.)*(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.?)(:\d*)?)(\/((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)+(\/(([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)*)*)?)?(\?((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|[\uE000-\uF8FF]|\/|\?)*)?(#((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|\/|\?)*)?$/i.test(e)},e.validator.messages.url),e.validator.addMethod("vinUS",function(e){if(17!==e.length)return!1;var t,n,i,a,r,o,s=["A","B","C","D","E","F","G","H","J","K","L","M","N","P","R","S","T","U","V","W","X","Y","Z"],l=[1,2,3,4,5,6,7,8,1,2,3,4,5,7,9,2,3,4,5,6,7,8,9],c=[8,7,6,5,4,3,2,10,0,9,8,7,6,5,4,3,2],u=0;for(t=0;17>t;t++){if(a=c[t],i=e.slice(t,t+1),8===t&&(o=i),isNaN(i)){for(n=0;n<s.length;n++)if(i.toUpperCase()===s[n]){i=l[n],i*=a,isNaN(o)&&8===n&&(o=s[n]);break}}else i*=a;u+=i}return r=u%11,10===r&&(r="X"),r===o?!0:!1}
vendor: 19,583 bytes, lines 67-68
67,"The specified vehicle identification number (VIN) is invalid."),e.validator.addMethod("zipcodeUS",function(e,t){return this.optional(t)||/^\d{5}(-\d{4})?$/.test(e)},"The specified US ZIP Code is invalid"),e.validator.addMethod("ziprange",function(e,t){return this.optional(t)||/^90[2-5]\d\{2\}-\d{4}$/.test(e)},"Your ZIP-code must be in the range 902xx-xxxx to 905xx-xxxx")}),function(e){"use strict";function t(e){return(e||"").toLowerCase()}var n="2.1.4";e.fn.cycle=function(n){var i;return 0!==this.length||e.isReady?this.each(function(){var i,a,r,o,s=e(this),l=e.fn.cycle.log;if(!s.data("cycle.opts")){(s.data("cycle-log")===!1||n&&n.log===!1||a&&a.log===!1)&&(l=e.noop),l("--c2 init--"),i=s.data();for(var c in i)i.hasOwnProperty(c)&&/^cycle[A-Z]+/.test(c)&&(o=i[c],r=c.match(/^cycle(.*)/)[1].replace(/^[A-Z]/,t),l(r+":",o,"("+typeof o+")"),i[r]=o);a=e.extend({},e.fn.cycle.defaults,i,n||{}),a.timeoutId=0,a.paused=a.paused||!1,a.container=s,a._maxZ=a.maxZ,a.API=e.extend({_container:s},e.fn.cycle.API),a.API.log=l,a.API.trigger=function(e,t){return a.container.trigger(e,t),a.API},s.data("cycle.opts",a),s.data("cycle.API",a.API),a.API.trigger("cycle-bootstrap",[a,a.API]),a.API.addInitialSlides(),a.API.preInitSlideshow(),a.slides.length&&a.API.initSlideshow()}}):(i={s:this.selector,c:this.context},e.fn.cycle.log("requeuing slideshow (dom not ready)"),e(function(){e(i.s,i.c).cycle(n)}),this)},e.fn.cycle.API={opts:function(){return this._container.data("cycle.opts")},addInitialSlides:function(){var t=this.opts(),n=t.slides;t.slideCount=0,t.slides=e(),n=n.jquery?n:t.container.find(n),t.random&&n.sort(function(){return Math.random()-.5}),t.API.add(n)},preInitSlideshow:function(){var t=this.opts();t.API.trigger("cycle-pre-initialize",[t]);var n=e.fn.cycle.transitions[t.fx];n&&e.isFunction(n.preInit)&&n.preInit(t),t._preInitialized=!0},postInitSlideshow:function(){var t=this.opts();t.API.trigger("cycle-post-initialize",[t]);var n=e.fn.cycle.transitions[t.fx];n&&e.isFunction(n.postInit)&&n.postInit(t)},initSlideshow:function(){var t,n=this.opts(),i=n.container;n.API.calcFirstSlide(),"static"==n.container.css("position")&&n.container.css("position","relative"),e(n.slides[n.currSlide]).css({opacity:1,display:"block",visibility:"visible"}),n.API.stackSlides(n.slides[n.currSlide],n.slides[n.nextSlide],!n.reverse),n.pauseOnHover&&(n.pauseOnHover!==!0&&(i=e(n.pauseOnHover)),i.hover(function(){n.API.pause(!0)},function(){n.API.resume(!0)})),n.timeout&&(t=n.API.getSlideOpts(n.currSlide),n.API.queueTransition(t,t.timeout+n.delay)),n._initialized=!0,n.API.updateView(!0),n.API.trigger("cycle-initialized",[n]),n.API.postInitSlideshow()},pause:function(t){var n=this.opts(),i=n.API.getSlideOpts(),a=n.hoverPaused||n.paused;t?n.hoverPaused=!0:n.paused=!0,a||(n.container.addClass("cycle-paused"),n.API.trigger("cycle-paused",[n]).log("cycle-paused"),i.timeout&&(clearTimeout(n.timeoutId),n.timeoutId=0,n._remainingTimeout-=e.now()-n._lastQueue,(n._remainingTimeout<0||isNaN(n._remainingTimeout))&&(n._remainingTimeout=void 0)))},resume:function(e){var t=this.opts(),n=!t.hoverPaused&&!t.paused;e?t.hoverPaused=!1:t.paused=!1,n||(t.container.removeClass("cycle-paused"),0===t.slides.filter(":animated").length&&t.API.queueTransition(t.API.getSlideOpts(),t._remainingTimeout),t.API.trigger("cycle-resumed",[t,t._remainingTimeout]).log("cycle-resumed"))},add:function(t,n){var i,a=this.opts(),r=a.slideCount,o=!1;"string"==e.type(t)&&(t=e.trim(t)),e(t).each(function(){var t,i=e(this);n?a.container.prepend(i):a.container.append(i),a.slideCount++,t=a.API.buildSlideOpts(i),a.slides=n?e(i).add(a.slides):a.slides.add(i),a.API.initSlide(t,i,--a._maxZ),i.data("cycle.opts",t),a.API.trigger("cycle-slide-added",[a,t,i])}),a.API.updateView(!0),o=a._preInitialized&&2>r&&a.slideCount>=1,o&&(a._initialized?a.timeout&&(i=a.slides.length,a.nextSlide=a.reverse?i-1:1,a.timeoutId||a.API.queueTransition(a)):a.API.initSlideshow())},calcFirstSlide:function(){var e,t=this.opts();e=parseInt(t.startingSlide||0,10),(e>=t.slides.length||0>e)&&(e=0),t.currSlide=e,t.reverse?(t.nextSlide=e-1,t.nextSlide<0&&(t.nextSlide=t.slides.length-1)):(t.nextSlide=e+1,t.nextSlide==t.slides.length&&(t.nextSlide=0))},calcNextSlide:function(){var e,t=this.opts();t.reverse?(e=t.nextSlide-1<0,t.nextSlide=e?t.slideCount-1:t.nextSlide-1,t.currSlide=e?0:t.nextSlide+1):(e=t.nextSlide+1==t.slides.length,t.nextSlide=e?0:t.nextSlide+1,t.currSlide=e?t.slides.length-1:t.nextSlide-1)},calcTx:function(t,n){var i,a=t;return n&&a._swiping&&a.swipeFx?i=e.fn.cycle.transitions[a.swipeFx]:n&&a.manualFx&&(i=e.fn.cycle.transitions[a.manualFx]),i||(i=e.fn.cycle.transitions[a.fx]),i||(i=e.fn.cycle.transitions.fade,a.API.log('Transition "'+a.fx+'" not found. Using fade.')),i},prepareTx:function(e,t){var n,i,a,r,o,s=this.opts();return s.slideCount<2?void(s.timeoutId=0):(!e||s.busy&&!s.manualTrump||(s.API.stopTransition(),s.busy=!1,clearTimeout(s.timeoutId),s.timeoutId=0),void(s.busy||(0!==s.timeoutId||e)&&(i=s.slides[s.currSlide],a=s.slides[s.nextSlide],r=s.API.getSlideOpts(s.nextSlide),o=s.API.calcTx(r,e),s._tx=o,e&&void 0!==r.manualSpeed&&(r.speed=r.manualSpeed),s.nextSlide!=s.currSlide&&(e||!s.paused&&!s.hoverPaused&&s.timeout)?(s.API.trigger("cycle-before",[r,i,a,t]),o.before&&o.before(r,i,a,t),n=function(){s.busy=!1,s.container.data("cycle.opts")&&(o.after&&o.after(r,i,a,t),s.API.trigger("cycle-after",[r,i,a,t]),s.API.queueTransition(r),s.API.updateView(!0))},s.busy=!0,o.transition?o.transition(r,i,a,t,n):s.API.doTransition(r,i,a,t,n),s.API.calcNextSlide(),s.API.updateView()):s.API.queueTransition(r))))},doTransition:function(t,n,i,a,r){var o=t,s=e(n),l=e(i),c=function(){l.animate(o.animIn||{opacity:1},o.speed,o.easeIn||o.easing,r)};l.css(o.cssBefore||{}),s.animate(o.animOut||{},o.speed,o.easeOut||o.easing,function(){s.css(o.cssAfter||{}),o.sync||c()}),o.sync&&c()},queueTransition:function(t,n){var i=this.opts(),a=void 0!==n?n:t.timeout;return 0===i.nextSlide&&0===--i.loop?(i.API.log("terminating; loop=0"),i.timeout=0,a?setTimeout(function(){i.API.trigger("cycle-finished",[i])},a):i.API.trigger("cycle-finished",[i]),void(i.nextSlide=i.currSlide)):void 0!==i.continueAuto&&(i.continueAuto===!1||e.isFunction(i.continueAuto)&&i.continueAuto()===!1)?(i.API.log("terminating automatic transitions"),i.timeout=0,void(i.timeoutId&&clearTimeout(i.timeoutId))):void(a&&(i._lastQueue=e.now(),void 0===n&&(i._remainingTimeout=t.timeout),i.paused||i.hoverPaused||(i.timeoutId=setTimeout(function(){i.API.prepareTx(!1,!i.reverse)},a))))},stopTransition:function(){var e=this.opts();e.slides.filter(":animated").length&&(e.slides.stop(!1,!0),e.API.trigger("cycle-transition-stopped",[e])),e._tx&&e._tx.stopTransition&&e._tx.stopTransition(e)},advanceSlide:function(e){var t=this.opts();return clearTimeout(t.timeoutId),t.timeoutId=0,t.nextSlide=t.currSlide+e,t.nextSlide<0?t.nextSlide=t.slides.length-1:t.nextSlide>=t.slides.length&&(t.nextSlide=0),t.API.prepareTx(!0,e>=0),!1},buildSlideOpts:function(n){var i,a,r=this.opts(),o=n.data()||{};for(var s in o)o.hasOwnProperty(s)&&/^cycle[A-Z]+/.test(s)&&(i=o[s],a=s.match(/^cycle(.*)/)[1].replace(/^[A-Z]/,t),r.API.log("["+(r.slideCount-1)+"]",a+":",i,"("+typeof i+")"),o[a]=i);o=e.extend({},e.fn.cycle.defaults,r,o),o.slideNum=r.slideCount;try{delete o.API,delete o.slideCount,delete o.currSlide,delete o.nextSlide,delete o.slides}catch(l){}return o},getSlideOpts:function(t){var n=this.opts();void 0===t&&(t=n.currSlide);var i=n.slides[t],a=e(i).data("cycle.opts");return e.extend({},n,a)},initSlide:function(t,n,i){var a=this.opts();n.css(t.slideCss||{}),i>0&&n.css("zIndex",i),isNaN(t.speed)&&(t.speed=e.fx.speeds[t.speed]||e.fx.speeds._default),t.sync||(t.speed=t.speed/2),n.addClass(a.slideClass)},updateView:function(e,t){var n=this.opts();if(n._initialized){var i=n.API.getSlideOpts(),a=n.slides[n.currSlide];!e&&t!==!0&&(n.API.trigger("cycle-update-view-before",[n,i,a]),n.updateView<0)||(n.slideActiveClass&&n.slides.removeClass(n.slideActiveClass).eq(n.currSlide).addClass(n.slideActiveClass),e&&n.hideNonActive&&n.slides.filter(":not(."+n.slideActiveClass+")").css("visibility","hidden"),0===n.updateView&&setTimeout(function(){n.API.trigger("cycle-update-view",[n,i,a,e])},i.speed/(n.sync?2:1)),0!==n.updateView&&n.API.trigger("cycle-update-view",[n,i,a,e]),e&&n.API.trigger("cycle-update-view-after",[n,i,a]))}},getComponent:function(t){var n=this.opts(),i=n[t];return"string"==typeof i?/^\s*[\>|\+|~]/.test(i)?n.container.find(i):e(i):i.jquery?i:e(i)},stackSlides:function(t,n,i){var a=this.opts();t||(t=a.slides[a.currSlide],n=a.slides[a.nextSlide],i=!a.reverse),e(t).css("zIndex",a.maxZ);var r,o=a.maxZ-2,s=a.slideCount;if(i){for(r=a.currSlide+1;s>r;r++)e(a.slides[r]).css("zIndex",o--);for(r=0;r<a.currSlide;r++)e(a.slides[r]).css("zIndex",o--)}else{for(r=a.currSlide-1;r>=0;r--)e(a.slides[r]).css("zIndex",o--);for(r=s-1;r>a.currSlide;r--)e(a.slides[r]).css("zIndex",o--)}e(n).css("zIndex",a.maxZ-1)},getSlideIndex:function(e){return this.opts().slides.index(e)}},e.fn.cycle.log=function(){window.console&&console.log&&console.log("[cycle2] "+Array.prototype.join.call(arguments," "))},e.fn.cycle.version=function(){return"Cycle2: "+n},e.fn.cycle.transitions={custom:{},none:{before:function(e,t,n,i){e.API.stackSlides(n,t,i),e.cssBefore={opacity:1,visibility:"visible",display:"block"}}},fade:{before:function(t,n,i,a){var r=t.API.getSlideOpts(t.nextSlide).slideCss||{};t.API.stackSlides(n,i,a),t.cssBefore=e.extend(r,{opacity:0,visibility:"visible",display:"block"}),t.animIn={opacity:1},t.animOut={opacity:0}}},fadeout:{before:function(t,n,i,a){var r=t.API.getSlideOpts(t.nextSlide).slideCss||{};t.API.stackSlides(n,i,a),t.cssBefore=e.extend(r,{opacity:1,visibility:"visible",display:"block"}),t.animOut={opacity:0}}},scrollHorz:{before:function(e,t,n,i){e.API.stackSlides(t,n,i);var a=e.container.css("overflow","hidden").width();e.cssBefore={left:i?a:-a,top:0,opacity:1,visibility:"visible",display:"block"},e.cssAfter={zIndex:e._maxZ-2,left:0},e.animIn={left:0},e.animOut={left:i?-a:a}}}},e.fn.cycle.defaults={allowWrap:!0,autoSelector:".cycle-slideshow[data-cycle-auto-init!=false]",delay:0,easing:null,fx:"fade",hideNonActive:!0,loop:0,manualFx:void 0,manualSpeed:void 0,manualTrump:!0,maxZ:100,pauseOnHover:!1,reverse:!1,slideActiveClass:"cycle-slide-active",slideClass:"cycle-slide",slideCss:{position:"absolute",top:0,left:0},slides:"> img",speed:500,startingSlide:0,sync:!0,timeout:4e3,updateView:0},e(document).ready(function(){e(e.fn.cycle.defaults.autoSelector).cycle()})}(jQuery),/*! Cycle2 autoheight plugin; Copyright (c) M.Alsup, 2012; version: 20130913 */ 68function(e){"use strict";function t(t,i){var a,r,o,s=i.autoHeight;if("container"==s)r=e(i.slides[i.currSlide]).outerHeight(),i.container.height(r);else if(i._autoHeightRatio)i.container.height(i.container.width()/i._autoHeightRatio);else if("calc"===s||"number"==e.type(s)&&s>=0){if(o="calc"===s?n(t,i):s>=i.slides.length?0:s,o==i._sentinelIndex)return;i._sentinelIndex=o,i._sentinel&&i._sentinel.remove(),a=e(i.slides[o].cloneNode(!0)),a.removeAttr("id name rel").find("[id],[name],[rel]").removeAttr("id name rel"),a.css({position:"static",visibility:"hidden",display:"block"}).prependTo(i.container).addClass("cycle-sentinel cycle-slide").removeClass("cycle-slide-active"),a.find("*").css("visibility","hidden"),i._sentinel=a}}function n(t,n){var i=0,a=-1;return n.slides.each(function(t){var n=e(this).height();n>a&&(a=n,i=t)}),i}function i(t,n,i,a){var r=e(a).outerHeight();n.container.animate({height:r},n.autoHeightSpeed,n.autoHeightEasing)}function a(n,r){r._autoHeightOnResize&&(e(window).off("resize orientationchange",r._autoHeightOnResize),r._autoHeightOnResize=null),r.container.off("cycle-slide-added cycle-slide-removed",t),r.container.off("cycle-destroyed",a),r.container.off("cycle-before",i),r._sentinel&&(r._sentinel.remove(),r._sentinel=null)}e.extend(e.fn.cycle.defaults,{autoHeight:0,autoHeightSpeed:250,autoHeightEasing:null}),e(document).on("cycle-initialized",function(n,r){function o(){t(n,r)}var s,l=r.autoHeight,c=e.type(l),u=null;("string"===c||"number"===c)&&(r.container.on("cycle-slide-added cycle-slide-removed",t),r.container.on("cycle-destroyed",a),"container"==l?r.container.on("cycle-before",i):"string"===c&&/\d+\:\d+/.test(l)&&(s=l.match(/(\d+)\:(\d+)/),s=s[1]/s[2],r._autoHeightRatio=s),"number"!==c&&(r._autoHeightOnResize=function(){clearTimeout(u),u=setTimeout(o,50)},e(window).on("resize orientationchange",r._autoHeightOnResize)),setTimeout(o,30))})}(jQuery),function(e){"use strict";e.extend(e.fn.cycle.defaults,{caption:"> .cycle-caption",captionTemplate:"{{slideNum}} / {{slideCount}}",overlay:"> .cycle-overlay",overlayTemplate:"<div>{{title}}</div><div>{{desc}}</div>",captionModule:"caption"}),e(document).on("cycle-update-view",function(t,n,i,a){if("caption"===n.captionModule){e.each(["caption","overlay"],function(){var e=this,t=i[e+"Template"],r=n.API.getComponent(e);r.length&&t?(r.html(n.API.tmpl(t,i,n,a)),r.show()):r.hide()})}}),e(document).on("cycle-destroyed",function(t,n){var i;e.each(["caption","overlay"],function(){var e=this,t=n[e+"Template"];n[e]&&t&&(i=n.API.getComponent("caption"),i.empty())})})}(jQuery),function(e){"use strict";var t=e.fn.cycle;e.fn.cycle=function(n){var i,a,r,o=e.makeArray(arguments);return"number"==e.type(n)?this.cycle("goto",n):"string"==e.type(n)?this.each(function(){var s;return i=n,r=e(this).data("cycle.opts"),void 0===r?void t.log('slideshow must be initialized before sending commands; "'+i+'" ignored'):(i="goto"==i?"jump":i,a=r.API[i],e.isFunction(a)?(s=e.makeArray(o),s.shift(),a.apply(r.API,s)):void t.log("unknown command: ",i))}):t.apply(this,arguments)},e.extend(e.fn.cycle,t),e.extend(t.API,{next:function(){var e=this.opts();if(!e.busy||e.manualTrump){var t=e.reverse?-1:1;e.allowWrap===!1&&e.currSlide+t>=e.slideCount||(e.API.advanceSlide(t),e.API.trigger("cycle-next",[e]).log("cycle-next"))}},prev:function(){var e=this.opts();if(!e.busy||e.manualTrump){var t=e.reverse?1:-1;e.allowWrap===!1&&e.currSlide+t<0||(e.API.advanceSlide(t),e.API.trigger("cycle-prev",[e]).log("cycle-prev"))}},destroy:function(){this.stop();var t=this.opts(),n=e.isFunction(e._data)?e._data:e.noop;clearTimeout(t.timeoutId),t.timeoutId=0,t.API.stop(),t.API.trigger("cycle-destroyed",[t]).log("cycle-destroyed"),t.container.removeData(),n(t.container[0],"parsedAttrs",!1),t.retainStylesOnDestroy||(t.container.removeAttr("style"),t.slides.removeAttr("style"),t.slides.removeClass(t.slideActiveClass)),t.slides.each(function(){e(this).removeData(),n(this,"parsedAttrs",!1)})},jump:function(e){var t,n=this.opts();if(!n.busy||n.manualTrump){var i=parseInt(e,10);if(isNaN(i)||0>i||i>=n.slides.length)return void n.API.log("goto: invalid slide index: "+i);if(i==n.currSlide)return void n.API.log("goto: skipping, already on slide",i);n.nextSlide=i,clearTimeout(n.timeoutId),n.timeoutId=0,n.API.log("goto: ",i," (zero-index)"),t=n.currSlide<n.nextSlide,n.API.prepareTx(!0,t)}},stop:function(){var t=this.opts(),n=t.container;clearTimeout(t.timeoutId),t.timeoutId=0,t.API.stopTransition(),t.pauseOnHover&&(t.pauseOnHover!==!0&&(n=e(t.pauseOnHover)),n.off("mouseenter mouseleave")),t.API.trigger("cycle-stopped",[t]).log("cycle-stopped")},reinit:function(){var e=this.opts();e.API.destroy(),e.container.cycle()},remove:function(t){for(var n,i,a=this.opts(),r=[],o=1,s=0;s<a.slides.length;s++)n=a.slides[s],s==t?i=n:(r.push(n),e(n).data("cycle.opts").slideNum=o,o++);i&&(a.slides=e(r),a.slideCount--,e(i).remove(),t==a.currSlide?a.API.advanceSlide(1):t<a.currSlide?a.currSlide--:a.currSlide++,a.API.trigger("cycle-slide-removed",[a,t,i]).log("cycle-slide-removed"),a.API.updateView())}}),e(document).on("click.cycle","[data-cycle-cmd]",function(t){t.preventDefault();var n=e(this),i=n.data("cycle-cmd"),a=n.data("cycle-context")||".cycle-slideshow";e(a).cycle(i,n.data("cycle-arg"))})}(jQuery),function(e){"use strict";function t(t,n){var i;return t._hashFence?void(t._hashFence=!1):(i=window.location.hash.substring(1),void t.slides.each(function(a){if(e(this).data("cycle-hash")==i){if(n===!0)t.startingSlide=a;else{var r=t.currSlide<a;t.nextSlide=a,t.API.prepareTx(!0,r)}return!1}}))}e(document).on("cycle-pre-initialize",function(n,i){t(i,!0),i._onHashChange=function(){t(i,!1)},e(window).on("hashchange",i._onHashChange)}),e(document).on("cycle-update-view",function(e,t,n){n.hash&&"#"+n.hash!=window.location.hash&&(t._hashFence=!0,window.location.hash=n.hash)}),e(document).on("cycle-destroyed",function(t,n){n._onHashChange&&e(window).off("hashchange",n._onHashChange)})}(jQuery),function(e){"use strict";e.extend(e.fn.cycle.defaults,{loader:!1}),e(document).on("cycle-bootstrap",function(t,n){function i(t,i){function r(t){var r;"wait"==n.loader?(s.push(t),0===c&&(s.sort(o),a.apply(n.API,[s,i]),n.container.removeClass("cycle-loading"))):(r=e(n.slides[n.currSlide]),a.apply(n.API,[t,i]),r.show(),n.container.removeClass("cycle-loading"))}function o(e,t){return e.data("index")-t.data("index")}var s=[];if("string"==e.type(t))t=e.trim(t);else if("array"===e.type(t))for(var l=0;l<t.length;l++)t[l]=e(t[l])[0];t=e(t);var c=t.length;c&&(t.css("visibility","hidden").appendTo("body").each(function(t){function o(){0===--l&&(--c,r(u))}var l=0,u=e(this),d=u.is("img")?u:u.find("img");return u.data("index",t),d=d.filter(":not(.cycle-loader-ignore)").filter(':not([src=""])'),d.length?(l=d.length,void d.each(function(){this.complete?o():e(this).load(function(){o()}).on("error",function(){0===--l&&(n.API.log("slide skipped; img not loaded:",this.src),0===--c&&"wait"==n.loader&&a.apply(n.API,[s,i]))})})):(--c,void s.push(u))}),c&&n.container.addClass("cycle-loading"))}var a;n.loader&&(a=n.API.add,n.API.add=i)})}(jQuery),function(e){"use strict";function t(t,n,i){var a,r=t.API.getComponent("pager");r.each(function(){var r=e(this);if(n.pagerTemplate){var o=t.API.tmpl(n.pagerTemplate,n,t,i[0]);a=e(o).appendTo(r)}else a=r.children().eq(t.slideCount-1);a.on(t.pagerEvent,function(e){t.pagerEventBubble||e.preventDefault(),t.API.page(r,e.currentTarget)})})}function n(e,t){var n=this.opts();if(!n.busy||n.manualTrump){var i=e.children().index(t),a=i,r=n.currSlide<a;n.currSlide!=a&&(n.nextSlide=a,n.API.prepareTx(!0,r),n.API.trigger("cycle-pager-activated",[n,e,t]))}}e.extend(e.fn.cycle.defaults,{pager:"> .cycle-pager",pagerActiveClass:"cycle-pager-active",pagerEvent:"click.cycle",pagerEventBubble:void 0,pagerTemplate:"<span>•</span>"}),e(document).on("cycle-bootstrap",function(e,n,i){i.buildPagerLink=t}),e(document).on("cycle-slide-added",function(e,t,i,a){t.pager&&(t.API.buildPagerLink(t,i,a),t.API.page=n)}),e(document).on("cycle-slide-removed",function(t,n,i){if(n.pager){var a=n.API.getComponent("pager");a.each(function(){var t=e(this);e(t.children()[i]).remove()})}}),e(document).on("cycle-update-view",function(t,n){var i;n.pager&&(i=n.API.getComponent("pager"),i.each(function(){e(this).children().removeClass(n.pagerActiveClass).eq(n.currSlide).addClass(n.pagerActiveClass)}))}),e(document).on("cycle-destroyed",function(e,t){var n=t.API.getComponent("pager");n&&(n.children().off(t.pagerEvent),t.pagerTemplate&&n.empty())})}(jQuery),function(e){"use strict";e.extend(e.fn.cycle.defaults,{next:"> .cycle-next",nextEvent:"click.cycle",disabledClass:"disabled",prev:"> .cycle-prev",prevEvent:"click.cycle",swipe:!1}),e(document).on("cycle-initialized",function(e,t){if(t.API.getComponent("next").on(t.nextEvent,function(e){e.preventDefault(),t.API.next()}),t.API.getComponent("prev").on(t.prevEvent,function(e){e.preventDefault(),t.API.prev()}
68),t.swipe){var n=t.swipeVert?"swipeUp.cycle":"swipeLeft.cycle swipeleft.cycle",i=t.swipeVert?"swipeDown.cycle":"swipeRight.cycle swiperight.cycle";t.container.on(n,function(){t._swiping=!0,t.API.next(),t._swiping=!1}),t.container.on(i,function(){t._swiping=!0,t.API.prev(),t._swiping=!1})}}),e(document).on("cycle-update-view",function(e,t){if(!t.allowWrap){var n=t.disabledClass,i=t.API.getComponent("next"),a=t.API.getComponent("prev"),r=t._prevBoundry||0,o=void 0!==t._nextBoundry?t._nextBoundry:t.slideCount-1;t.currSlide==o?i.addClass(n).prop("disabled",!0):i.removeClass(n).prop("disabled",!1),t.currSlide===r?a.addClass(n).prop("disabled",!0):a.removeClass(n).prop("disabled",!1)}}),e(document).on("cycle-destroyed",function(e,t){t.API.getComponent("prev").off(t.nextEvent),t.API.getComponent("next").off(t.prevEvent),t.container.off("swipeleft.cycle swiperight.cycle swipeLeft.cycle swipeRight.cycle swipeUp.cycle swipeDown.cycle")})}(jQuery),function(e){"use strict";e.extend(e.fn.cycle.defaults,{progressive:!1}),e(document).on("cycle-pre-initialize",function(t,n){if(n.progressive){var i,a,r=n.API,o=r.next,s=r.prev,l=r.prepareTx,c=e.type(n.progressive);if("array"==c)i=n.progressive;else if(e.isFunction(n.progressive))i=n.progressive(n);else if("string"==c){if(a=e(n.progressive),i=e.trim(a.html()),!i)return;if(/^(\[)/.test(i))try{i=e.parseJSON(i)}catch(u){return void r.log("error parsing progressive slides",u)}else i=i.split(new RegExp(a.data("cycle-split")||"\n")),i[i.length-1]||i.pop()}l&&(r.prepareTx=function(e,t){var a,r;return e||0===i.length?void l.apply(n.API,[e,t]):void(t&&n.currSlide==n.slideCount-1?(r=i[0],i=i.slice(1),n.container.one("cycle-slide-added",function(e,t){setTimeout(function(){t.API.advanceSlide(1)},50)}),n.API.add(r)):t||0!==n.currSlide?l.apply(n.API,[e,t]):(a=i.length-1,r=i[a],i=i.slice(0,a),n.container.one("cycle-slide-added",function(e,t){setTimeout(function(){t.currSlide=1,t.API.advanceSlide(-1)},50)}),n.API.add(r,!0)))}),o&&(r.next=function(){var e=this.opts();if(i.length&&e.currSlide==e.slideCount-1){var t=i[0];i=i.slice(1),e.container.one("cycle-slide-added",function(e,t){o.apply(t.API),t.container.removeClass("cycle-loading")}),e.container.addClass("cycle-loading"),e.API.add(t)}else o.apply(e.API)}),s&&(r.prev=function(){var e=this.opts();if(i.length&&0===e.currSlide){var t=i.length-1,n=i[t];i=i.slice(0,t),e.container.one("cycle-slide-added",function(e,t){t.currSlide=1,t.API.advanceSlide(-1),t.container.removeClass("cycle-loading")}),e.container.addClass("cycle-loading"),e.API.add(n,!0)}else s.apply(e.API)})}})}(jQuery),function(e){"use strict";e.extend(e.fn.cycle.defaults,{tmplRegex:"{{((.)?.*?)}}"}),e.extend(e.fn.cycle.API,{tmpl:function(t,n){var i=new RegExp(n.tmplRegex||e.fn.cycle.defaults.tmplRegex,"g"),a=e.makeArray(arguments);return a.shift(),t.replace(i,function(t,n){var i,r,o,s,l=n.split(".");for(i=0;i<a.length;i++)if(o=a[i]){if(l.length>1)for(s=o,r=0;r<l.length;r++)o=s,s=s[l[r]]||n;else s=o[n];if(e.isFunction(s))return s.apply(o,a);if(void 0!==s&&null!==s&&s!=n)return s}return n})}})}(jQuery),/* Plugin for Cycle2; Copyright (c) 2012 M. Alsup; v20140114 */ 69function(e){"use strict";e(document).on("cycle-bootstrap",function(e,t,n){"carousel"===t.fx&&(n.getSlideIndex=function(e){var t=this.opts()._carouselWrap.children(),n=t.index(e);return n%t.length},n.next=function(){var e=t.reverse?-1:1;t.allowWrap===!1&&t.currSlide+e>t.slideCount-t.carouselVisible||(t.API.advanceSlide(e),t.API.trigger("cycle-next",[t]).log("cycle-next"))})}),e.fn.cycle.transitions.carousel={preInit:function(t){t.hideNonActive=!1,t.container.on("cycle-destroyed",e.proxy(this.onDestroy,t.API)),t.API.stopTransition=this.stopTransition;for(var n=0;t.startingSlide>n;n++)t.container.append(t.slides[0])},postInit:function(t){var n,i,a,r,o=t.carouselVertical;t.carouselVisible&&t.carouselVisible>t.slideCount&&(t.carouselVisible=t.slideCount-1);var s=t.carouselVisible||t.slides.length,l={display:o?"block":"inline-block",position:"static"};if(t.container.css({position:"relative",overflow:"hidden"}),t.slides.css(l),t._currSlide=t.currSlide,r=e('<div class="cycle-carou
69sel-wrap"></div>').prependTo(t.container).css({margin:0,padding:0,top:0,left:0,position:"absolute"}).append(t.slides),t._carouselWrap=r,o||r.css("white-space","nowrap"),t.allowWrap!==!1){for(i=0;(void 0===t.carouselVisible?2:1)>i;i++){for(n=0;t.slideCount>n;n++)r.append(t.slides[n].cloneNode(!0));for(n=t.slideCount;n--;)r.prepend(t.slides[n].cloneNode(!0))}r.find(".cycle-slide-active").removeClass("cycle-slide-active"),t.slides.eq(t.startingSlide).addClass("cycle-slide-active")}t.pager&&t.allowWrap===!1&&(a=t.slideCount-s,e(t.pager).children().filter(":gt("+a+")").hide()),t._nextBoundry=t.slideCount-t.carouselVisible,this.prepareDimensions(t)},prepareDimensions:function(t){var n,i,a,r,o=t.carouselVertical,s=t.carouselVisible||t.slides.length;if(t.carouselFluid&&t.carouselVisible?t._carouselResizeThrottle||this.fluidSlides(t):t.carouselVisible&&t.carouselSlideDimension?(n=s*t.carouselSlideDimension,t.container[o?"height":"width"](n)):t.carouselVisible&&(n=s*e(t.slides[0])[o?"outerHeight":"outerWidth"](!0),t.container[o?"height":"width"](n)),i=t.carouselOffset||0,t.allowWrap!==!1)if(t.carouselSlideDimension)i-=(t.slideCount+t.currSlide)*t.carouselSlideDimension;else for(a=t._carouselWrap.children(),r=0;t.slideCount+t.currSlide>r;r++)i-=e(a[r])[o?"outerHeight":"outerWidth"](!0);t._carouselWrap.css(o?"top":"left",i)},fluidSlides:function(t){function n(){clearTimeout(a),a=setTimeout(i,20)}function i(){t._carouselWrap.stop(!1,!0);var e=t.container.width()/t.carouselVisible;e=Math.ceil(e-o),t._carouselWrap.children().width(e),t._sentinel&&t._sentinel.width(e),s(t)}var a,r=t.slides.eq(0),o=r.outerWidth()-r.width(),s=this.prepareDimensions;e(window).on("resize",n),t._carouselResizeThrottle=n,i()},transition:function(t,n,i,a,r){var o,s={},l=t.nextSlide-t.currSlide,c=t.carouselVertical,u=t.speed;if(t.allowWrap===!1){a=l>0;var d=t._currSlide,h=t.slideCount-t.carouselVisible;l>0&&t.nextSlide>h&&d==h?l=0:l>0&&t.nextSlide>h?l=t.nextSlide-d-(t.nextSlide-h):0>l&&t.currSlide>h&&t.nextSlide>h?l=0:0>l&&t.currSlide>h?l+=t.currSlide-h:d=t.currSlide,o=this.getScroll(t,c,d,l),t.API.opts()._currSlide=t.nextSlide>h?h:t.nextSlide}else a&&0===t.nextSlide?(o=this.getDim(t,t.currSlide,c),r=this.genCallback(t,a,c,r)):a||t.nextSlide!=t.slideCount-1?o=this.getScroll(t,c,t.currSlide,l):(o=this.getDim(t,t.currSlide,c),r=this.genCallback(t,a,c,r));s[c?"top":"left"]=a?"-="+o:"+="+o,t.throttleSpeed&&(u=o/e(t.slides[0])[c?"height":"width"]()*t.speed),t._carouselWrap.animate(s,u,t.easing,r)},getDim:function(t,n,i){var a=e(t.slides[n]);return a[i?"outerHeight":"outerWidth"](!0)},getScroll:function(e,t,n,i){var a,r=0;if(i>0)for(a=n;n+i>a;a++)r+=this.getDim(e,a,t);else for(a=n;a>n+i;a--)r+=this.getDim(e,a,t);return r},genCallback:function(t,n,i,a){return function(){var n=e(t.slides[t.nextSlide]).position(),r=0-n[i?"top":"left"]+(t.carouselOffset||0);t._carouselWrap.css(t.carouselVertical?"top":"left",r),a()}},stopTransition:function(){var e=this.opts();e.slides.stop(!1,!0),e._carouselWrap.stop(!1,!0)},onDestroy:function(){var t=this.opts();t._carouselResizeThrottle&&e(window).off("resize",t._carouselResizeThrottle),t.slides.prependTo(t.container),t._carouselWrap.remove()}}}(jQuery),/* Plugin for Cycle2; Copyright (c) 2012 M. Alsup; v20140128 */ 70function(e){"use strict";function t(t,n,i,a){"caption2"===n.captionPlugin&&e.each(["caption","overlay"],function(){var e,t=this+"Fx",r=n[t+"Out"]||"hide",o=i[this+"Template"],s=n.API.getComponent(this),l=n[t+"Sel"],c=n.speed;n.sync&&(c/=2),e=l?s.find(l):s,s.length&&o?("hide"==r&&(c=0),e[r](c,function(){var u=n.API.tmpl(o,i,n,a);s.html(u),e=l?s.find(l):s,l&&e.hide(),r=n[t+"In"]||"show",e[r](c)})):s.hide()})}function n(t,n,i,a){"caption2"===n.captionPlugin&&e.each(["caption","overlay"],function(){var e=i[this+"Template"],t=n.API.getComponent(this);t.length&&e&&t.html(n.API.tmpl(e,i,n,a))})}e.extend(e.fn.cycle.defaults,{captionFxOut:"fadeOut",captionFxIn:"fadeIn",captionFxSel:void 0,overlayFxOut:"fadeOut",overlayFxIn:"fadeIn",overlayFxSel:void 0}),e(document).on("cycle-bootstrap",function(e,i){i.container.on("cycle-update-view-before",t),i.container.one("cycle-update-view-after",n)})}(jQuery),/* Plugin for Cycle2; Copyright (c) 2012 M. Alsup;
70 v20140128 */ 71function(e){"use strict";e.extend(e.fn.cycle.defaults,{centerHorz:!1,centerVert:!1}),e(document).on("cycle-pre-initialize",function(t,n){function i(){clearTimeout(l),l=setTimeout(o,50)}function a(){clearTimeout(l),clearTimeout(c),e(window).off("resize orientationchange",i)}function r(){n.slides.each(s)}function o(){s.apply(n.container.find("."+n.slideActiveClass)),clearTimeout(c),c=setTimeout(r,50)}function s(){var t=e(this),i=n.container.width(),a=n.container.height(),r=t.outerWidth(),o=t.outerHeight();r&&(n.centerHorz&&i>=r&&t.css("marginLeft",(i-r)/2),n.centerVert&&a>=o&&t.css("marginTop",(a-o)/2))}if(n.centerHorz||n.centerVert){var l,c;e(window).on("resize orientationchange load",i),n.container.on("cycle-destroyed",a),n.container.on("cycle-initialized cycle-slide-added cycle-slide-removed",function(){i()}),o()}})}(jQuery),/* Plugin for Cycle2; Copyright (c) 2012 M. Alsup; v20140128 */ 72function(e){"use strict";e.event.special.swipe=e.event.special.swipe||{scrollSupressionThreshold:10,durationThreshold:1e3,horizontalDistanceThreshold:30,verticalDistanceThreshold:75,setup:function(){var t=e(this);t.bind("touchstart",function(n){function i(t){if(o){var n=t.originalEvent.touches?t.originalEvent.touches[0]:t;a={time:(new Date).getTime(),coords:[n.pageX,n.pageY]},Math.abs(o.coords[0]-a.coords[0])>e.event.special.swipe.scrollSupressionThreshold&&t.preventDefault()}}var a,r=n.originalEvent.touches?n.originalEvent.touches[0]:n,o={time:(new Date).getTime(),coords:[r.pageX,r.pageY],origin:e(n.target)};t.bind("touchmove",i).one("touchend",function(){t.unbind("touchmove",i),o&&a&&a.time-o.time<e.event.special.swipe.durationThreshold&&Math.abs(o.coords[0]-a.coords[0])>e.event.special.swipe.horizontalDistanceThreshold&&Math.abs(o.coords[1]-a.coords[1])<e.event.special.swipe.verticalDistanceThreshold&&o.origin.trigger("swipe").trigger(o.coords[0]>a.coords[0]?"swipeleft":"swiperight"),o=a=void 0})})}},e.event.special.swipeleft=e.event.special.swipeleft||{setup:function(){e(this).bind("swipe",e.noop)}},e.event.special.swiperight=e.event.special.swiperight||e.event.special.swipeleft}(jQuery);var _self="undefined"!=typeof window?window:"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope?self:{},Prism=function(e){function t(e,t,n,i,a){this.type=e,this.content=t,this.alias=n,this.length=0|(i||"").length,this.greedy=!!a}var n=/\blang(?:uage)?-([\w-]+)\b/i,i=0,a={manual:e.Prism&&e.Prism.manual,disableWorkerMessageHandler:e.Prism&&e.Prism.disableWorkerMessageHandler,util:{encode:function(e){return e instanceof t?new t(e.type,a.util.encode(e.content),e.alias):Array.isArray(e)?e.map(a.util.encode):e.replace(/&/g,"&").replace(/</g,"<").replace(/\u00a0/g," ")},type:function(e){return Object.prototype.toString.call(e).slice(8,-1)},objId:function(e){return e.__id||Object.defineProperty(e,"__id",{value:++i}),e.__id},clone:function o(e,t){var n,i,r=a.util.type(e);switch(t=t||{},r){case"Object":if(i=a.util.objId(e),t[i])return t[i];for(var s in n={},t[i]=n,e)e.hasOwnProperty(s)&&(n[s]=o(e[s],t));return n;case"Array":return i=a.util.objId(e),t[i]?t[i]:(n=[],t[i]=n,e.forEach(function(e,i){n[i]=o(e,t)}),n);default:return e}}},languages:{extend:function(e,t){var n=a.util.clone(a.languages[e]);for(var i in t)n[i]=t[i];return n},insertBefore:function(e,t,n,i){var r=(i=i||a.languages)[e],o={};for(var s in r)if(r.hasOwnProperty(s)){if(s==t)for(var l in n)n.hasOwnProperty(l)&&(o[l]=n[l]);n.hasOwnProperty(s)||(o[s]=r[s])}var c=i[e];return i[e]=o,a.languages.DFS(a.languages,function(t,n){n===c&&t!=e&&(this[t]=o)}),o},DFS:function s(e,t,n,i){i=i||{};var r=a.util.objId;for(var o in e)if(e.hasOwnProperty(o)){t.call(e,o,e[o],n||o);var l=e[o],c=a.util.type(l);"Object"!==c||i[r(l)]?"Array"!==c||i[r(l)]||(i[r(l)]=!0,s(l,t,o,i)):(i[r(l)]=!0,s(l,t,null,i))}}},plugins:{},highlightAll:function(e,t){a.highlightAllUnder(document,e,t)},highlightAllUnder:function(e,t,n){var i={callback:n,selector:'code[class*="language-"], [class*="language-"] code, code[class*="lang-"], [class*="lang-"] code'};a.hooks.run("before-highlightall",i);for(var r,o=i.elements||e.querySelectorAll(i.selector),s=0;r=o[s++];
vendor: 4,169 bytes, line 72
72)a.highlightElement(r,!0===t,i.callback)},highlightElement:function(t,i,r){for(var o,s="none",l=t;l&&!n.test(l.className);)l=l.parentNode;l&&(s=(l.className.match(n)||[,"none"])[1].toLowerCase(),o=a.languages[s]),t.className=t.className.replace(n,"").replace(/\s+/g," ")+" language-"+s,t.parentNode&&(l=t.parentNode,/pre/i.test(l.nodeName)&&(l.className=l.className.replace(n,"").replace(/\s+/g," ")+" language-"+s));var c={element:t,language:s,grammar:o,code:t.textContent},u=function(e){c.highlightedCode=e,a.hooks.run("before-insert",c),c.element.innerHTML=c.highlightedCode,a.hooks.run("after-highlight",c),a.hooks.run("complete",c),r&&r.call(c.element)};if(a.hooks.run("before-sanity-check",c),c.code)if(a.hooks.run("before-highlight",c),c.grammar)if(i&&e.Worker){var d=new Worker(a.filename);d.onmessage=function(e){u(e.data)},d.postMessage(JSON.stringify({language:c.language,code:c.code,immediateClose:!0}))}else u(a.highlight(c.code,c.grammar,c.language));else u(a.util.encode(c.code));else a.hooks.run("complete",c)},highlight:function(e,n,i){var r={code:e,grammar:n,language:i};return a.hooks.run("before-tokenize",r),r.tokens=a.tokenize(r.code,r.grammar),a.hooks.run("after-tokenize",r),t.stringify(a.util.encode(r.tokens),r.language)},matchGrammar:function(e,n,i,r,o,s,l){for(var c in i)if(i.hasOwnProperty(c)&&i[c]){if(c==l)return;var u=i[c];u="Array"===a.util.type(u)?u:[u];for(var d=0;d<u.length;++d){var h=u[d],p=h.inside,f=!!h.lookbehind,g=!!h.greedy,m=0,v=h.alias;if(g&&!h.pattern.global){var y=h.pattern.toString().match(/[imuy]*$/)[0];h.pattern=RegExp(h.pattern.source,y+"g")}h=h.pattern||h;for(var b=r,w=o;b<n.length;w+=n[b].length,++b){var x=n[b];if(n.length>e.length)return;if(!(x instanceof t)){if(g&&b!=n.length-1){if(h.lastIndex=w,!(_=h.exec(e)))break;for(var T=_.index+(f?_[1].length:0),E=_.index+_[0].length,S=b,A=w,C=n.length;C>S&&(E>A||!n[S].type&&!n[S-1].greedy);++S)(A+=n[S].length)<=T&&(++b,w=A);if(n[b]instanceof t)continue;k=S-b,x=e.slice(w,A),_.index-=w}else{h.lastIndex=0;var _=h.exec(x),k=1}if(_){f&&(m=_[1]?_[1].length:0),E=(T=_.index+m)+(_=_[0].slice(m)).length;var I=x.slice(0,T),D=x.slice(E),F=[b,k];I&&(++b,w+=I.length,F.push(I));var N=new t(c,p?a.tokenize(_,p):_,v,_,g);if(F.push(N),D&&F.push(D),Array.prototype.splice.apply(n,F),1!=k&&a.matchGrammar(e,n,i,b,w,!0,c),s)break}else if(s)break}}}}},tokenize:function(e,t){var n=[e],i=t.rest;if(i){for(var r in i)t[r]=i[r];delete t.rest}return a.matchGrammar(e,n,t,0,0,!1),n},hooks:{all:{},add:function(e,t){var n=a.hooks.all;n[e]=n[e]||[],n[e].push(t)},run:function(e,t){var n=a.hooks.all[e];if(n&&n.length)for(var i,r=0;i=n[r++];)i(t)}},Token:t};if(e.Prism=a,t.stringify=function(e,n){if("string"==typeof e)return e;if(Array.isArray(e))return e.map(function(e){return t.stringify(e,n)}).join("");var i={type:e.type,content:t.stringify(e.content,n),tag:"span",classes:["token",e.type],attributes:{},language:n};if(e.alias){var r=Array.isArray(e.alias)?e.alias:[e.alias];Array.prototype.push.apply(i.classes,r)}a.hooks.run("wrap",i);var o=Object.keys(i.attributes).map(function(e){return e+'="'+(i.attributes[e]||"").replace(/"/g,""")+'"'}).join(" ");return"<"+i.tag+' class="'+i.classes.join(" ")+'"'+(o?" "+o:"")+">"+i.content+"</"+i.tag+">"},!e.document)return e.addEventListener&&(a.disableWorkerMessageHandler||e.addEventListener("message",function(t){var n=JSON.parse(t.data),i=n.language,r=n.code,o=n.immediateClose;e.postMessage(a.highlight(r,a.languages[i],i)),o&&e.close()},!1)),a;var r=document.currentScript||[].slice.call(document.getElementsByTagName("script")).pop();return r&&(a.filename=r.src,a.manual||r.hasAttribute("data-manual")||("loading"!==document.readyState?window.requestAnimationFrame?window.requestAnimationFrame(a.highlightAll):window.setTimeout(a.highlightAll,16):document.addEventListener("DOMContentLoaded",a.highlightAll))),a}(_self);"undefined"!=typeof module&&module.exports&&(module.exports=Prism),"undefined"!=typeof global&&(global.Prism=Prism),Prism.languages.markup={comment:/<!--[\s\S]*?-->/,prolog:/<\?[\s\S]+?\?>/,doctype:/<!DOCTYPE[\s\S]+?>/i,cdata:/<!\[CDATA\[[\s\S]*?]]>/i,tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>
72\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/i,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/i,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/i,inside:{punctuation:[/^=/,{pattern:/^(\s*)["']|["']$/,lookbehind:!0}]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:/&#?[\da-z]{1,8};/i},Prism.languages.markup.tag.inside["attr-value"].inside.entity=Prism.languages.markup.entity,Prism.hooks.add("wrap",function(e){"entity"===e.type&&(e.attributes.title=e.content.replace(/&/,"&"))}),Object.defineProperty(Prism.languages.markup.tag,"addInlined",{value:function(e,t){var n={};n["language-"+t]={pattern:/(^<!\[CDATA\[)[\s\S]+?(?=\]\]>$)/i,lookbehind:!0,inside:Prism.languages[t]},n.cdata=/^<!\[CDATA\[|\]\]>$/i;var i={"included-cdata":{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,inside:n}};i["language-"+t]={pattern:/[\s\S]+/,inside:Prism.languages[t]};var a={};a[e]={pattern:RegExp("(<__[\\s\\S]*?>)(?:<!\\[CDATA\\[[\\s\\S]*?\\]\\]>\\s*|[\\s\\S])*?(?=<\\/__>)".replace(/__/g,e),"i"),lookbehind:!0,greedy:!0,inside:i},Prism.languages.insertBefore("markup","cdata",a)}}),Prism.languages.xml=Prism.languages.extend("markup",{}),Prism.languages.html=Prism.languages.markup,Prism.languages.mathml=Prism.languages.markup,Prism.languages.svg=Prism.languages.markup,!function(e){var t=/("|')(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/;e.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:/@[\w-]+[\s\S]*?(?:;|(?=\s*\{))/,inside:{rule:/@[\w-]+/}},url:{pattern:RegExp("url\\((?:"+t.source+"|[^\n\r()]*)\\)","i"),inside:{"function":/^url/i,punctuation:/^\(|\)$/}},selector:RegExp("[^{}\\s](?:[^{};\"']|"+t.source+")*?(?=\\s*\\{)"),string:{pattern:t,greedy:!0},property:/[-_a-z\xA0-\uFFFF][-\w\xA0-\uFFFF]*(?=\s*:)/i,important:/!important\b/i,"function":/[-a-z0-9]+(?=\()/i,punctuation:/[(){};:,]/},e.languages.css.atrule.inside.rest=e.languages.css;var n=e.languages.markup;n&&(n.tag.addInlined("style","css"),e.languages.insertBefore("inside","attr-value",{"style-attr":{pattern:/\s*style=("|')(?:\\[\s\S]|(?!\1)[^\\])*\1/i,inside:{"attr-name":{pattern:/^\s*style/i,inside:n.tag.inside},punctuation:/^\s*=\s*['"]|['"]\s*$/,"attr-value":{pattern:/.+/i,inside:e.languages.css}},alias:"language-css"}},n.tag))}(Prism),Prism.languages.clike={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"class-name":{pattern:/((?:\b(?:class|interface|extends|implements|trait|instanceof|new)\s+)|(?:catch\s+\())[\w.\\]+/i,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:if|else|while|do|for|return|in|instanceof|function|new|try|throw|catch|finally|null|break|continue)\b/,"boolean":/\b(?:true|false)\b/,"function":/\w+(?=\()/,number:/\b0x[\da-f]+\b|(?:\b\d+\.?\d*|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/--?|\+\+?|!=?=?|<=?|>=?|==?=?|&&?|\|\|?|\?|\*|\/|~|\^|%/,punctuation:/[{}[\];(),.:]/},Prism.languages.javascript=Prism.languages.extend("clike",{"class-name":[Prism.languages.clike["class-name"],{pattern:/(^|[^$\w\xA0-\uFFFF])[_$A-Z\xA0-\uFFFF][$\w\xA0-\uFFFF]*(?=\.(?:prototype|constructor))/,lookbehind:!0}],keyword:[{pattern:/((?:^|})\s*)(?:catch|finally)\b/,lookbehind:!0},{pattern:/(^|[^.])\b(?:as|async(?=\s*(?:function\b|\(|[$\w\xA0-\uFFFF]|$))|await|break|case|class|const|continue|debugger|default|delete|do|else|enum|export|extends|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)\b/,lookbehind:!0}],number:/\b(?:(?:0[xX](?:[\dA-Fa-f](?:_[\dA-Fa-f])?)+|0[bB](?:[01](?:_[01])?)+|0[oO](?:[0-7](?:_[0-7])?)+)n?|(?:\d(?:_\d)?)+n|NaN|Infinity)\b|(?:\b(?:\d(?:_\d)?)+\.?(?:\d(?:_\d)?)*|\B\.(?:\d(?:_\d)?)+)(?:[Ee][+-]?(?:\d(?:_\d)?)+)?/,"function":/[_$a-zA-Z\xA0-\uFFFF][$\w\xA0-\uFFFF]*(?=\s*(?:\.\s*(?:apply|bind|call)\s*)?\()/,operator:/-[-=]?|\+[+=]?|!=?=?|<<?=?|>>?>?=?|=(?:==?|>)?|&[&=]?|\|[|=]?|\*\*?=?|\/=?|~|\^=?|%=?|\?|\.{3}/}),Prism.languages.javascript["class-name"][0].pattern=/(\b(?:class|interface|extends|implements|instanceof|new)\s+)[\w.\\]+/,Prism.languages.insertBefore("javascript","keyword",{regex:{pattern:/((?:^|[^$\w\xA0-\uFFFF."'\])\s])\s*)\/(\[(?:[^\]\\\r\n]|\\.)*]|\\.|[^/\\\[\r\n])+\/[gimyus]{0,6}(?=\s*($|[\r\n,.;})\]]))/,lookbehind:!0,greedy:!0},"function-variable":{pattern:/[_$a-zA-Z\xA0-\uFFFF][$\w\xA0-\uFFFF]*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]
72*\))*\)|[_$a-zA-Z\xA0-\uFFFF][$\w\xA0-\uFFFF]*)\s*=>))/,alias:"function"},parameter:[{pattern:/(function(?:\s+[_$A-Za-z\xA0-\uFFFF][$\w\xA0-\uFFFF]*)?\s*\(\s*)(?!\s)(?:[^()]|\([^()]*\))+?(?=\s*\))/,lookbehind:!0,inside:Prism.languages.javascript},{pattern:/[_$a-z\xA0-\uFFFF][$\w\xA0-\uFFFF]*(?=\s*=>)/i,inside:Prism.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()]|\([^()]*\))+?(?=\s*\)\s*=>)/,lookbehind:!0,inside:Prism.languages.javascript},{pattern:/((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:[_$A-Za-z\xA0-\uFFFF][$\w\xA0-\uFFFF]*\s*)\(\s*)(?!\s)(?:[^()]|\([^()]*\))+?(?=\s*\)\s*\{)/,lookbehind:!0,inside:Prism.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),Prism.languages.insertBefore("javascript","string",{"template-string":{pattern:/`(?:\\[\s\S]|\${(?:[^{}]|{(?:[^{}]|{[^}]*})*})+}|[^\\`])*`/,greedy:!0,inside:{interpolation:{pattern:/\${(?:[^{}]|{(?:[^{}]|{[^}]*})*})+}/,inside:{"interpolation-punctuation":{pattern:/^\${|}$/,alias:"punctuation"},rest:Prism.languages.javascript}},string:/[\s\S]+/}}}),Prism.languages.markup&&Prism.languages.markup.tag.addInlined("script","javascript"),Prism.languages.js=Prism.languages.javascript,Prism.languages.c=Prism.languages.extend("clike",{"class-name":{pattern:/(\b(?:enum|struct)\s+)\w+/,lookbehind:!0},keyword:/\b(?:_Alignas|_Alignof|_Atomic|_Bool|_Complex|_Generic|_Imaginary|_Noreturn|_Static_assert|_Thread_local|asm|typeof|inline|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|int|long|register|return|short|signed|sizeof|static|struct|switch|typedef|union|unsigned|void|volatile|while)\b/,operator:/>>=?|<<=?|->|([-+&|:])\1|[?:~]|[-+*/%&|^!=<>]=?/,number:/(?:\b0x(?:[\da-f]+\.?[\da-f]*|\.[\da-f]+)(?:p[+-]?\d+)?|(?:\b\d+\.?\d*|\B\.\d+)(?:e[+-]?\d+)?)[ful]*/i}),Prism.languages.insertBefore("c","string",{macro:{pattern:/(^\s*)#\s*[a-z]+(?:[^\r\n\\]|\\(?:\r\n|[\s\S]))*/im,lookbehind:!0,alias:"property",inside:{string:{pattern:/(#\s*include\s*)(?:<.+?>|("|')(?:\\?.)+?\2)/,lookbehind:!0},directive:{pattern:/(#\s*)\b(?:define|defined|elif|else|endif|error|ifdef|ifndef|if|import|include|line|pragma|undef|using)\b/,lookbehind:!0,alias:"keyword"}}},constant:/\b(?:__FILE__|__LINE__|__DATE__|__TIME__|__TIMESTAMP__|__func__|EOF|NULL|SEEK_CUR|SEEK_END|SEEK_SET|stdin|stdout|stderr)\b/}),delete Prism.languages.c.boolean,Prism.languages.csharp=Prism.languages.extend("clike",{keyword:/\b(?:abstract|add|alias|as|ascending|async|await|base|bool|break|byte|case|catch|char|checked|class|const|continue|decimal|default|delegate|descending|do|double|dynamic|else|enum|event|explicit|extern|false|finally|fixed|float|for|foreach|from|get|global|goto|group|if|implicit|in|int|interface|internal|into|is|join|let|lock|long|namespace|new|null|object|operator|orderby|out|override|params|partial|private|protected|public|readonly|ref|remove|return|sbyte|sealed|select|set|short|sizeof|stackalloc|static|string|struct|switch|this|throw|true|try|typeof|uint|ulong|unchecked|unsafe|ushort|using|value|var|virtual|void|volatile|where|while|yield)\b/,string:[{pattern:/@("|')(?:\1\1|\\[\s\S]|(?!\1)[^\\])*\1/,greedy:!0},{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*?\1/,greedy:!0}],"class-name":[{pattern:/\b[A-Z]\w*(?:\.\w+)*\b(?=\s+\w+)/,inside:{punctuation:/\./}},{pattern:/(\[)[A-Z]\w*(?:\.\w+)*\b/,lookbehind:!0,inside:{punctuation:/\./}},{pattern:/(\b(?:class|interface)\s+[A-Z]\w*(?:\.\w+)*\s*:\s*)[A-Z]\w*(?:\.\w+)*\b/,lookbehind:!0,inside:{punctuation:/\./}},{pattern:/((?:\b(?:class|interface|new)\s+)|(?:catch\s+\())[A-Z]\w*(?:\.\w+)*\b/,lookbehind:!0,inside:{punctuation:/\./}}],number:/\b0x[\da-f]+\b|(?:\b\d+\.?\d*|\B\.\d+)f?/i,operator:/>>=?|<<=?|[-=]>|([-+&|?])\1|~|[-+*/%&|^!=<>]=?/,punctuation:/\?\.?|::|[{}[\];(),.:]/}),Prism.languages.insertBefore("csharp","class-name",{"generic-method":{pattern:/\w+\s*<[^>\r\n]+?>
72\s*(?=\()/,inside:{"function":/^\w+/,"class-name":{pattern:/\b[A-Z]\w*(?:\.\w+)*\b/,inside:{punctuation:/\./}},keyword:Prism.languages.csharp.keyword,punctuation:/[<>(),.:]/}},preprocessor:{pattern:/(^\s*)#.*/m,lookbehind:!0,alias:"property",inside:{directive:{pattern:/(\s*#)\b(?:define|elif|else|endif|endregion|error|if|line|pragma|region|undef|warning)\b/,lookbehind:!0,alias:"keyword"}}}}),Prism.languages.dotnet=Prism.languages.cs=Prism.languages.csharp,!function(e){var t="\\b(?:BASH|BASHOPTS|BASH_ALIASES|BASH_ARGC|BASH_ARGV|BASH_CMDS|BASH_COMPLETION_COMPAT_DIR|BASH_LINENO|BASH_REMATCH|BASH_SOURCE|BASH_VERSINFO|BASH_VERSION|COLORTERM|COLUMNS|COMP_WORDBREAKS|DBUS_SESSION_BUS_ADDRESS|DEFAULTS_PATH|DESKTOP_SESSION|DIRSTACK|DISPLAY|EUID|GDMSESSION|GDM_LANG|GNOME_KEYRING_CONTROL|GNOME_KEYRING_PID|GPG_AGENT_INFO|GROUPS|HISTCONTROL|HISTFILE|HISTFILESIZE|HISTSIZE|HOME|HOSTNAME|HOSTTYPE|IFS|INSTANCE|JOB|LANG|LANGUAGE|LC_ADDRESS|LC_ALL|LC_IDENTIFICATION|LC_MEASUREMENT|LC_MONETARY|LC_NAME|LC_NUMERIC|LC_PAPER|LC_TELEPHONE|LC_TIME|LESSCLOSE|LESSOPEN|LINES|LOGNAME|LS_COLORS|MACHTYPE|MAILCHECK|MANDATORY_PATH|NO_AT_BRIDGE|OLDPWD|OPTERR|OPTIND|ORBIT_SOCKETDIR|OSTYPE|PAPERSIZE|PATH|PIPESTATUS|PPID|PS1|PS2|PS3|PS4|PWD|RANDOM|REPLY|SECONDS|SELINUX_INIT|SESSION|SESSIONTYPE|SESSION_MANAGER|SHELL|SHELLOPTS|SHLVL|SSH_AUTH_SOCK|TERM|UID|UPSTART_EVENTS|UPSTART_INSTANCE|UPSTART_JOB|UPSTART_SESSION|USER|WINDOWID|XAUTHORITY|XDG_CONFIG_DIRS|XDG_
72CURRENT_DESKTOP|XDG_DATA_DIRS|XDG_GREETER_DATA_DIR|XDG_MENU_PREFIX|XDG_RUNTIME_DIR|XDG_SEAT|XDG_SEAT_PATH|XDG_SESSION_DESKTOP|XDG_SESSION_ID|XDG_SESSION_PATH|XDG_SESSION_TYPE|XDG_VTNR|XMODIFIERS)\\b",n={environment:{pattern:RegExp("\\$"+t),alias:"constant"},variable:[{pattern:/\$?\(\([\s\S]+?\)\)/,greedy:!0,inside:{variable:[{pattern:/(^\$\(\([\s\S]+)\)\)/,lookbehind:!0},/^\$\(\(/],number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+\.?\d*|\B\.\d+)(?:[Ee]-?\d+)?/,operator:/--?|-=|\+\+?|\+=|!=?|~|\*\*?|\*=|\/=?|%=?|<<=?|>>=?|<=?|>=?|==?|&&?|&=|\^=?|\|\|?|\|=|\?|:/,punctuation:/\(\(?|\)\)?|,|;/}},{pattern:/\$\((?:\([^)]+\)|[^()])+\)|`[^`]+`/,greedy:!0,inside:{variable:/^\$\(|^`|\)$|`$/}},{pattern:/\$\{[^}]+\}/,greedy:!0,inside:{operator:/:[-=?+]?|[!\/]|##?|%%?|\^\^?|,,?/,punctuation:/[\[\]]/,environment:{pattern:RegExp("(\\{)"+t),lookbehind:!0,alias:"constant"}}},/\$(?:\w+|[#?*!@$])/],entity:/\\(?:[abceEfnrtv\\"]|O?[0-7]{1,3}|x[0-9a-fA-F]{1,2}|u[0-9a-fA-F]{4}|U[0-9a-fA-F]{8})/};e.languages.bash={shebang:{pattern:/^#!\s*\/.*/,alias:"important"},comment:{pattern:/(^|[^"{\\$])#.*/,lookbehind:!0},"function-name":[{pattern:/(\bfunction\s+)\w+(?=(?:\s*\(?:\s*\))?\s*\{)/,lookbehind:!0,alias:"function"},{pattern:/\b\w+(?=\s*\(\s*\)\s*\{)/,alias:"function"}],"for-or-select":{pattern:/(\b(?:for|select)\s+)\w+(?=\s+in\s)/,alias:"variable",lookbehind:!0},"assign-left":{pattern:/(^|[\s;|&]|[<>]\()\w+(?=\+?=)/,inside:{environment:{pattern:RegExp("(^|[\\s;|&]|[<>]\\()"+t),lookbehind:!0,alias:"constant"}},alias:"variable",lookbehind:!0},string:[{pattern:/((?:^|[^<])<<-?\s*)(\w+?)\s*(?:\r?\n|\r)(?:[\s\S])*?(?:\r?\n|\r)\2/,lookbehind:!0,greedy:!0,inside:n},{pattern:/((?:^|[^<])<<-?\s*)(["'])(\w+)\2\s*(?:\r?\n|\r)(?:[\s\S])*?(?:\r?\n|\r)\3/,lookbehind:!0,greedy:!0},{pattern:/(["'])(?:\\[\s\S]|\$\([^)]+\)|`[^`]+`|(?!\1)[^\\])*\1/,greedy:!0,inside:n}],environment:{pattern:RegExp("\\$?"+t),alias:"constant"},variable:n.variable,"function":{pattern:/(^|[\s;|&]|[<>]\()(?:add|apropos|apt|aptitude|apt-cache|apt-get|aspell|automysqlbackup|awk|basename|bash|bc|bconsole|bg|bzip2|cal|cat|cfdisk|chgrp|chkconfig|chmod|chown|chroot|cksum|clear|cmp|column|comm|cp|cron|crontab|csplit|curl|cut|date|dc|dd|ddrescue|debootstrap|df|diff|diff3|dig|dir|dircolors|dirname|dirs|dmesg|du|egrep|eject|env|ethtool|expand|expect|expr|fdformat|fdisk|fg|fgrep|file|find|fmt|fold|format|free|fsck|ftp|fuser|gawk|git|gparted|grep|groupadd|groupdel|groupmod|groups|grub-mkconfig|gzip|halt|head|hg|history|host|hostname|htop|iconv|id|ifconfig|ifdown|ifup|import|install|ip|jobs|join|kill|killall|less|link|ln|locate|logname|logrotate|look|lpc|lpr|lprint|lprintd|lprintq|lprm|ls|lsof|lynx|make|man|mc|mdadm|mkconfig|mkdir|mke2fs|mkfifo|mkfs|mkisofs|mknod|mkswap|mmv|more|most|mount|mtools|mtr|mutt|mv|nano|nc|netstat|nice|nl|nohup|notify-send|npm|nslookup|op|open|parted|passwd|paste|pathchk|ping|pkill|pnpm|popd|pr|printcap|printenv|ps|pushd|pv|quota|quotacheck|quotactl|ram|rar|rcp|reboot|remsync|rename|renice|rev|rm|rmdir|rpm|rsync|scp|screen|sdiff|sed|sendmail|seq|service|sftp|sh|shellcheck|shuf|shutdown|sleep|slocate|sort|split|ssh|stat|strace|su|sudo|sum|suspend|swapon|sync|tac|tail|tar|tee|time|timeout|top|touch|tr|traceroute|tsort|tty|umount|uname|unexpand|uniq|units|unrar|unshar|unzip|update-grub|uptime|useradd|userdel|usermod|users|uudecode|uuencode|v|vdir|vi|vim|virsh|vmstat|wait|watch|wc|wget|whereis|which|who|whoami|write|xargs|xdg-open|yarn|yes|zenity|zip|zsh|zypper)(?=$|[)\s;|&])/,lookbehind:!0},keyword:{pattern:/(^|[\s;|&]|[<>]\()(?:if|then|else|elif|fi|for|while|in|case|esac|function|select|do|done|until)(?=$|[)\s;|&])/,lookbehind:!0},builtin:{pattern:/(^|[\s;|&]|[<>]\()(?:\.|:|break|cd|continue|eval|exec|exit|export|getopts|hash|pwd|readonly|return|shift|test|times|trap|umask|unset|alias|bind|builtin|caller|command|declare|echo|enable|help|let|local|logout|mapfile|printf|read|readarray|source|type|typeset|ulimit|unalias|set|shopt)(?=$|[)\s;|&])/,lookbehind:!0,alias:"class-name"},"boolean":{pattern:/(^|[\s;|&]|[<>]\()(?:true|false)(?=$|[)\s;|&])/,lookbehind:!0},"file-descriptor":{pattern:/\B&\d\b/,alias:"important"},operator:{pattern:/\d?<>|>\||\+=|==?|!=?|=~|<<[<-]?|[&\d]?>>|\d?[<>]&?|&[>&]?|\|[&|]?|<=?|>
72=?/,inside:{"file-descriptor":{pattern:/^\d/,alias:"important"}}},punctuation:/\$?\(\(?|\)\)?|\.\.|[{}[\];\\]/,number:{pattern:/(^|\s)(?:[1-9]\d*|0)(?:[.,]\d+)?\b/,lookbehind:!0}};for(var i=["comment","function-name","for-or-select","assign-left","string","environment","function","keyword","builtin","boolean","file-descriptor","operator","punctuation","number"],a=n.variable[1].inside,r=0;r<i.length;r++)a[i[r]]=e.languages.bash[i[r]];e.languages.shell=e.languages.bash}(Prism),Prism.languages.basic={comment:{pattern:/(?:!|REM\b).+/i,inside:{keyword:/^REM/i}},string:{pattern:/"(?:""|[!#$%&'()*,\/:;<=>?^_ +\-.A-Z\d])*"/i,greedy:!0},number:/(?:\b\d+\.?\d*|\B\.\d+)(?:E[+-]?\d+)?/i,keyword:/\b(?:AS|BEEP|BLOAD|BSAVE|CALL(?: ABSOLUTE)?|CASE|CHAIN|CHDIR|CLEAR|CLOSE|CLS|COM|COMMON|CONST|DATA|DECLARE|DEF(?: FN| SEG|DBL|INT|LNG|SNG|STR)|DIM|DO|DOUBLE|ELSE|ELSEIF|END|ENVIRON|ERASE|ERROR|EXIT|FIELD|FILES|FOR|FUNCTION|GET|GOSUB|GOTO|IF|INPUT|INTEGER|IOCTL|KEY|KILL|LINE INPUT|LOCATE|LOCK|LONG|LOOP|LSET|MKDIR|NAME|NEXT|OFF|ON(?: COM| ERROR| KEY| TIMER)?|OPEN|OPTION BASE|OUT|POKE|PUT|READ|REDIM|REM|RESTORE|RESUME|RETURN|RMDIR|RSET|RUN|SHARED|SINGLE|SELECT CASE|SHELL|SLEEP|STATIC|STEP|STOP|STRING|SUB|SWAP|SYSTEM|THEN|TIMER|TO|TROFF|TRON|TYPE|UNLOCK|UNTIL|USING|VIEW PRINT|WAIT|WEND|WHILE|WRITE)(?:\$|\b)/i,"function":/\b(?:ABS|ACCESS|ACOS|ANGLE|AREA|ARITHMETIC|ARRAY|ASIN|ASK|AT|ATN|BASE|BEGIN|BREAK|CAUSE|CEIL|CHR|CLIP|COLLATE|COLOR|CON|COS|COSH|COT|CSC|DATE|DATUM|DEBUG|DECIMAL|DEF|DEG|DEGREES|DELETE|DET|DEVICE|DISPLAY|DOT|ELAPSED|EPS|ERASABLE|EXLINE|EXP|EXTERNAL|EXTYPE|FILETYPE|FIXED|FP|GO|GRAPH|HANDLER|IDN|IMAGE|IN|INT|INTERNAL|IP|IS|KEYED|LBOUND|LCASE|LEFT|LEN|LENGTH|LET|LINE|LINES|LOG|LOG10|LOG2|LTRIM|MARGIN|MAT|MAX|MAXNUM|MID|MIN|MISSING|MOD|NATIVE|NUL|NUMERIC|OF|OPTION|ORD|ORGANIZATION|OUTIN|OUTPUT|PI|POINT|POINTER|POINTS|POS|PRINT|PROGRAM|PROMPT|RAD|RADIANS|RANDOMIZE|RECORD|RECSIZE|RECTYPE|RELATIVE|REMAINDER|REPEAT|REST|RETRY|REWRITE|RIGHT|RND|ROUND|RTRIM|SAME|SEC|SELECT|SEQUENTIAL|SET|SETTER|SGN|SIN|SINH|SIZE|SKIP|SQR|STANDARD|STATUS|STR|STREAM|STYLE|TAB|TAN|TANH|TEMPLATE|TEXT|THERE|TIME|TIMEOUT|TRACE|TRANSFORM|TRUNCATE|UBOUND|UCASE|USE|VAL|VARIABLE|VIEWPORT|WHEN|WINDOW|WITH|ZER|ZONEWIDTH)(?:\$|\b)/i,operator:/<[=>]?|>=?|[+\-*\/^=&]|\b(?:AND|EQV|IMP|NOT|OR|XOR)\b/i,punctuation:/[,;:()]/},Prism.languages.cpp=Prism.languages.extend("c",{"class-name":{pattern:/(\b(?:class|enum|struct)\s+)\w+/,lookbehind:!0},keyword:/\b(?:alignas|alignof|asm|auto|bool|break|case|catch|char|char16_t|char32_t|class|compl|const|constexpr|const_cast|continue|decltype|default|delete|do|double|dynamic_cast|else|enum|explicit|export|extern|float|for|friend|goto|if|inline|int|int8_t|int16_t|int32_t|int64_t|uint8_t|uint16_t|uint32_t|uint64_t|long|mutable|namespace|new|noexcept|nullptr|operator|private|protected|public|register|reinterpret_cast|return|short|signed|sizeof|static|static_assert|static_cast|struct|switch|template|this|thread_local|throw|try|typedef|typeid|typename|union|unsigned|using|virtual|void|volatile|wchar_t|while)\b/,number:{pattern:/(?:\b0b[01']+|\b0x(?:[\da-f']+\.?[\da-f']*|\.[\da-f']+)(?:p[+-]?[\d']+)?|(?:\b[\d']+\.?[\d']*|\B\.[\d']+)(?:e[+-]?[\d']+)?)[ful]*/i,greedy:!0},operator:/>>=?|<<=?|->|([-+&|:])\1|[?:~]|[-+*/%&|^!=<>]=?|\b(?:and|and_eq|bitand|bitor|not|not_eq|or|or_eq|xor|xor_eq)\b/,"boolean":/\b(?:true|false)\b/}),Prism.languages.insertBefore("cpp","string",{"raw-string":{pattern:/R"([^()\\ ]{0,16})\([\s\S]*?\)\1"/,alias:"string",greedy:!0}}),!function(e){e.languages.ruby=e.languages.extend("clike",{comment:[/#.*/,{pattern:/^=begin\s[\s\S]*?^=end/m,greedy:!0}],keyword:/\b(?:alias|and|BEGIN|begin|break|case|class|def|define_method|defined|do|each|else|elsif|END|end|ensure|false|for|if|in|module|new|next|nil|not|or|protected|private|public|raise|redo|require|rescue|retry|return|self|super|then|throw|true|undef|unless|until|when|while|yield)\b/});var t={pattern:/#\{[^}]+\}/,inside:{delimiter:{pattern:/^#\{|\}$/,alias:"tag"},rest:e.languages.ruby}};delete e.languages.ruby.function,e.languages.insertBefore("ruby","keyword",{regex:[{pattern:/%r([^a-zA-Z0-9\s{(\[<])(?:(?!\1)[^\\]|\\[\s\S])*\1[gim]{0,3}/,greedy:!0,inside:{interpolation:t}},{pattern:/%r\((?:[^()\\]|\\[\s\S])*\)[gim]{0,3}/,greedy:!0,inside:{interpolation:t}},{pattern:/%r\{(?:[^#{}\\]|#(?:\{[^}]+\})?|\\[\s\S])*\}[gim]{0,3}/,greedy:!0,inside:{interpolation:t}},{pattern:/%r\[(?:[^\[\]\\]|\\[\s\S])*\][gim]{0,3}/,greedy:!0,inside:{interpolation:t}},{pattern:/%r<(?:[^<>\\]|\\[\s\S])*>[gim]{0,3}/,greedy:!0,inside:{interpolation:t}},{pattern:/(^|[^/])\/(?!\/)(\[.+?]|\\.|[^/\\\r\n])+\/[gim]{0,3}(?=\s*($|[\r\n,.;})]))/,lookbehind:!0,greedy:!0}],variable:/[@$]+[a-zA-Z_]\w*(?:[?!]|\b)/,symbol:{pattern:/(^|[^:]):[a-zA-Z_]\w*(?:[?!]|\b)/,lookbehind:!0},"method-definition":{pattern:/(\bdef\s+)[\w.]+/,lookbehind:!0,inside:{"function":/\w+$/,rest:e.languages.ruby}}}),e.languages.insertBefore("ruby","number",{builtin:/\b(?:Array|Bignum|Binding|Class|Continuation|Dir|Exception|FalseClass|File|Stat|Fixnum|Float|Hash|Integer|IO|MatchData|Method|Module|NilClass|Numeric|Object|Proc|Range|Regexp|String|Struct|TMS|Symbol|ThreadGroup|Thread|Time|TrueClass)\b/,constant:/\b[A-Z]\w*(?:[?!]|\b)/}),e.languages.ruby.string=[{pattern:/%[qQiIwWxs]?([^a-zA-Z0-9\s{(\[<])(?:(?!\1)[^\\]|\\[\s\S])*\1/,greedy:!0,inside:{interpolation:t}},{pattern:/%[qQiIwWxs]?\((?:[^()\\]|\\[\s\S])*\)/,greedy:!0,inside:{interpolation:t}},{pattern:/%[qQiIwWxs]?\{(?:[^#{}\\]|#(?:\{[^}]+\})?|\\[\s\S])*\}/,greedy:!0,inside:{interpolation:t}},{pattern:/%[qQiIwWxs]?\[(?:[^\[\]\\]|\\[\s\S])*\]/,greedy:!0,inside:{interpolation:t}},{pattern:/%[qQiIwWxs]?<(?:[^<>\\]|\\[\s\S])*>/,greedy:!0,inside:{interpolation:t}},{pattern:/("|')(?:#\{[^}]+\}|\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0,inside:{interpolation:t}}],e.languages.rb=e.languages.ruby}(Prism),!function(e){function t(e,t){return"___"+e.toUpperCase()+t+"___"}Object.defineProperties(e.languages["markup-templating"]={},{buildPlaceholders:{value:function(n,i,a,r){if(n.language===i){var o=n.tokenStack=[];
vendor: 4,192 bytes, line 72
72n.code=n.code.replace(a,function(e){if("function"==typeof r&&!r(e))return e;for(var a,s=o.length;-1!==n.code.indexOf(a=t(i,s));)++s;return o[s]=e,a}),n.grammar=e.languages.markup}}},tokenizePlaceholders:{value:function(n,i){if(n.language===i&&n.tokenStack){n.grammar=e.languages[i];var a=0,r=Object.keys(n.tokenStack);!function o(s){for(var l=0;l<s.length&&!(a>=r.length);l++){var c=s[l];if("string"==typeof c||c.content&&"string"==typeof c.content){var u=r[a],d=n.tokenStack[u],h="string"==typeof c?c:c.content,p=t(i,u),f=h.indexOf(p);if(f>-1){++a;var g=h.substring(0,f),m=new e.Token(i,e.tokenize(d,n.grammar),"language-"+i,d),v=h.substring(f+p.length),y=[];g&&y.push.apply(y,o([g])),y.push(m),v&&y.push.apply(y,o([v])),"string"==typeof c?s.splice.apply(s,[l,1].concat(y)):c.content=y}}else c.content&&o(c.content)}return s}(n.tokens)}}}})}(Prism),!function(e){var t=/\b(?:abstract|continue|for|new|switch|assert|default|goto|package|synchronized|boolean|do|if|private|this|break|double|implements|protected|throw|byte|else|import|public|throws|case|enum|instanceof|return|transient|catch|extends|int|short|try|char|final|interface|static|void|class|finally|long|strictfp|volatile|const|float|native|super|while|var|null|exports|module|open|opens|provides|requires|to|transitive|uses|with)\b/,n=/\b[A-Z](?:\w*[a-z]\w*)?\b/;e.languages.java=e.languages.extend("clike",{"class-name":[n,/\b[A-Z]\w*(?=\s+\w+\s*[;,=())])/],keyword:t,"function":[e.languages.clike.function,{pattern:/(\:\:)[a-z_]\w*/,lookbehind:!0}],number:/\b0b[01][01_]*L?\b|\b0x[\da-f_]*\.?[\da-f_p+-]+\b|(?:\b\d[\d_]*\.?[\d_]*|\B\.\d[\d_]*)(?:e[+-]?\d[\d_]*)?[dfl]?/i,operator:{pattern:/(^|[^.])(?:<<=?|>>>?=?|->|([-+&|])\2|[?:~]|[-+*/%&|^!=<>]=?)/m,lookbehind:!0}}),e.languages.insertBefore("java","class-name",{annotation:{alias:"punctuation",pattern:/(^|[^.])@\w+/,lookbehind:!0},namespace:{pattern:/(\b(?:exports|import(?:\s+static)?|module|open|opens|package|provides|requires|to|transitive|uses|with)\s+)[a-z]\w*(\.[a-z]\w*)+/,lookbehind:!0,inside:{punctuation:/\./}},generics:{pattern:/<(?:[\w\s,.&?]|<(?:[\w\s,.&?]|<(?:[\w\s,.&?]|<[\w\s,.&?]*>)*>)*>)*>/,inside:{"class-name":n,keyword:t,punctuation:/[<>(),.:]/,operator:/[?&|]/}}})}(Prism),!function(e){e.languages.php=e.languages.extend("clike",{keyword:/\b(?:__halt_compiler|abstract|and|array|as|break|callable|case|catch|class|clone|const|continue|declare|default|die|do|echo|else|elseif|empty|enddeclare|endfor|endforeach|endif|endswitch|endwhile|eval|exit|extends|final|finally|for|foreach|function|global|goto|if|implements|include|include_once|instanceof|insteadof|interface|isset|list|namespace|new|or|parent|print|private|protected|public|require|require_once|return|static|switch|throw|trait|try|unset|use|var|while|xor|yield)\b/i,"boolean":{pattern:/\b(?:false|true)\b/i,alias:"constant"},constant:[/\b[A-Z_][A-Z0-9_]*\b/,/\b(?:null)\b/i],comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0}}),e.languages.insertBefore("php","string",{"shell-comment":{pattern:/(^|[^\\])#.*/,lookbehind:!0,alias:"comment"}}),e.languages.insertBefore("php","comment",{delimiter:{pattern:/\?>$|^<\?(?:php(?=\s)|=)?/i,alias:"important"}}),e.languages.insertBefore("php","keyword",{variable:/\$+(?:\w+\b|(?={))/i,"package":{pattern:/(\\|namespace\s+|use\s+)[\w\\]+/,lookbehind:!0,inside:{punctuation:/\\/}}}),e.languages.insertBefore("php","operator",{property:{pattern:/(->)[\w]+/,lookbehind:!0}});var t={pattern:/{\$(?:{(?:{[^{}]+}|[^{}]+)}|[^{}])+}|(^|[^\\{])\$+(?:\w+(?:\[.+?]|->\w+)*)/,lookbehind:!0,inside:{rest:e.languages.php}};e.languages.insertBefore("php","string",{"nowdoc-string":{pattern:/<<<'([^']+)'(?:\r\n?|\n)(?:.*(?:\r\n?|\n))*?\1;/,greedy:!0,alias:"string",inside:{delimiter:{pattern:/^<<<'[^']+'|[a-z_]\w*;$/i,alias:"symbol",inside:{punctuation:/^<<<'?|[';]$/}}}},"heredoc-string":{pattern:/<<<(?:"([^"]+)"(?:\r\n?|\n)(?:.*(?:\r\n?|\n))*?\1;|([a-z_]\w*)(?:\r\n?|\n)(?:.*(?:\r\n?|\n))*?\2;)/i,greedy:!0,alias:"string",inside:{delimiter:{pattern:/^<<<(?:"[^"]+"|[a-z_]\w*)|[a-z_]\w*;$/i,alias:"symbol",inside:{punctuation:/^<<<"?|[";]$/}},interpolation:t}},"single-quoted-string":{pattern:/'(?:\\[\s\S]|[^\\'])*'/,greedy:!0,alias:"string"}
72,"double-quoted-string":{pattern:/"(?:\\[\s\S]|[^\\"])*"/,greedy:!0,alias:"string",inside:{interpolation:t}}}),delete e.languages.php.string,e.hooks.add("before-tokenize",function(t){/<\?/.test(t.code)&&e.languages["markup-templating"].buildPlaceholders(t,"php",/<\?(?:[^"'/#]|\/(?![*/])|("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|(?:\/\/|#)(?:[^?\n\r]|\?(?!>))*|\/\*[\s\S]*?(?:\*\/|$))*?(?:\?>|$)/gi)}),e.hooks.add("after-tokenize",function(t){e.languages["markup-templating"].tokenizePlaceholders(t,"php")})}(Prism),Prism.languages.json={property:{pattern:/"(?:\\.|[^\\"\r\n])*"(?=\s*:)/,greedy:!0},string:{pattern:/"(?:\\.|[^\\"\r\n])*"(?!\s*:)/,greedy:!0},comment:/\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/,number:/-?\d+\.?\d*(e[+-]?\d+)?/i,punctuation:/[{}[\],]/,operator:/:/,"boolean":/\b(?:true|false)\b/,"null":{pattern:/\bnull\b/,alias:"keyword"}},!function(e){var t=/\\(?:[^a-z()[\]]|[a-z*]+)/i,n={"equation-command":{pattern:t,alias:"regex"}}; 73e.languages.latex={comment:/%.*/m,cdata:{pattern:/(\\begin\{((?:verbatim|lstlisting)\*?)\})[\s\S]*?(?=\\end\{\2\})/,lookbehind:!0},equation:[{pattern:/\$\$(?:\\[\s\S]|[^\\$])+\$\$|\$(?:\\[\s\S]|[^\\$])+\$|\\\([\s\S]*?\\\)|\\\[[\s\S]*?\\\]/,inside:n,alias:"string"},{pattern:/(\\begin\{((?:equation|math|eqnarray|align|multline|gather)\*?)\})[\s\S]*?(?=\\end\{\2\})/,lookbehind:!0,inside:n,alias:"string"}],keyword:{pattern:/(\\(?:begin|end|ref|cite|label|usepackage|documentclass)(?:\[[^\]]+\])?\{)[^}]+(?=\})/,lookbehind:!0},url:{pattern:/(\\url\{)[^}]+(?=\})/,lookbehind:!0},headline:{pattern:/(\\(?:part|chapter|section|subsection|frametitle|subsubsection|paragraph|subparagraph|subsubparagraph|subsubsubparagraph)\*?(?:\[[^\]]+\])?\{)[^}]+(?=\}(?:\[[^\]]+\])?)/,lookbehind:!0,alias:"class-name"},"function":{pattern:t,alias:"selector"},punctuation:/[[\]{}&]/},e.languages.tex=e.languages.latex,e.languages.context=e.languages.latex}(Prism),Prism.languages.matlab={comment:[/%\{[\s\S]*?\}%/,/%.+/],string:{pattern:/\B'(?:''|[^'\r\n])*'/,greedy:!0},number:/(?:\b\d+\.?\d*|\B\.\d+)(?:[eE][+-]?\d+)?(?:[ij])?|\b[ij]\b/,keyword:/\b(?:break|case|catch|continue|else|elseif|end|for|function|if|inf|NaN|otherwise|parfor|pause|pi|return|switch|try|while)\b/,"function":/(?!\d)\w+(?=\s*\()/,operator:/\.?[*^\/\\']|[+\-:@]|[<>=~]=?|&&?|\|\|?/,punctuation:/\.{3}|[.,;\[\](){}!]/},Prism.languages.perl={comment:[{pattern:/(^\s*)=\w+[\s\S]*?=cut.*/m,lookbehind:!0},{pattern:/(^|[^\\$])#.*/,lookbehind:!0}],string:[{pattern:/\b(?:q|qq|qx|qw)\s*([^a-zA-Z0-9\s{(\[<])(?:(?!\1)[^\\]|\\[\s\S])*\1/,greedy:!0},{pattern:/\b(?:q|qq|qx|qw)\s+([a-zA-Z0-9])(?:(?!\1)[^\\]|\\[\s\S])*\1/,greedy:!0},{pattern:/\b(?:q|qq|qx|qw)\s*\((?:[^()\\]|\\[\s\S])*\)/,greedy:!0},{pattern:/\b(?:q|qq|qx|qw)\s*\{(?:[^{}\\]|\\[\s\S])*\}/,greedy:!0},{pattern:/\b(?:q|qq|qx|qw)\s*\[(?:[^[\]\\]|\\[\s\S])*\]/,greedy:!0},{pattern:/\b(?:q|qq|qx|qw)\s*<(?:[^<>\\]|\\[\s\S])*>/,greedy:!0},{pattern:/("|`)(?:(?!\1)[^\\]|\\[\s\S])*\1/,greedy:!0},{pattern:/'(?:[^'\\\r\n]|\\.)*'/,greedy:!0}],regex:[{pattern:/\b(?:m|qr)\s*([^a-zA-Z0-9\s{(\[<])(?:(?!\1)[^\\]|\\[\s\S])*\1[msixpodualngc]*/,greedy:!0},{pattern:/\b(?:m|qr)\s+([a-zA-Z0-9])(?:(?!\1)[^\\]|\\[\s\S])*\1[msixpodualngc]*/,greedy:!0},{pattern:/\b(?:m|qr)\s*\((?:[^()\\]|\\[\s\S])*\)[msixpodualngc]*/,greedy:!0},{pattern:/\b(?:m|qr)\s*\{(?:[^{}\\]|\\[\s\S])*\}[msixpodualngc]*/,greedy:!0},{pattern:/\b(?:m|qr)\s*\[(?:[^[\]\\]|\\[\s\S])*\][msixpodualngc]*/,greedy:!0},{pattern:/\b(?:m|qr)\s*<(?:[^<>\\]|\\[\s\S])*>[msixpodualngc]*/,greedy:!0},{pattern:/(^|[^-]\b)(?:s|tr|y)\s*([^a-zA-Z0-9\s{(\[<])(?:(?!\2)[^\\]|\\[\s\S])*\2(?:(?!\2)[^\\]|\\[\s\S])*\2[msixpodualngcer]*/,lookbehind:!0,greedy:!0},{pattern:/(^|[^-]\b)(?:s|tr|y)\s+([a-zA-Z0-9])(?:(?!\2)[^\\]|\\[\s\S])*\2(?:(?!\2)[^\\]|\\[\s\S])*\2[msixpodualngcer]*/,lookbehind:!0,greedy:!0},{pattern:/(^|[^-]\b)(?:s|tr|y)\s*\((?:[^()\\]|\\[\s\S])*\)\s*\((?:[^()\\]|\\[\s\S])*\)[msixpodualngcer]*/,lookbehind:!0,greedy:!0},{pattern:/(^|[^-]\b)(?:s|tr|y)\s*\{(?:[^{}\\]|\\[\s\S])*\}\s*\{(?:[^{}\\]|\\[\s\S])*\}[msixpodualngcer]*/,lookbehind:!0,greedy:!0},{pattern:/(^|[^-]\b)(?:s|tr|y)\s*\[(?:[^[\]\\]|\\[\s\S])*\]\s*\[(?:[^[\]\\]|\\[\s\S])*\][msixpodualngcer]*/,lookbehind:!0,greedy:!0},{pattern:/(^|[^-]\b)(?:s|tr|y)\s*<(?:[^<>\\]|\\[\s\S])*>\s*<(?:[^<>\\]|\\[\s\S])*>[msixpodualngcer]*/,lookbehind:!0,greedy:!0}
vendor: 6,325 bytes, line 73
73,{pattern:/\/(?:[^\/\\\r\n]|\\.)*\/[msixpodualngc]*(?=\s*(?:$|[\r\n,.;})&|\-+*~<>!?^]|(lt|gt|le|ge|eq|ne|cmp|not|and|or|xor|x)\b))/,greedy:!0}],variable:[/[&*$@%]\{\^[A-Z]+\}/,/[&*$@%]\^[A-Z_]/,/[&*$@%]#?(?=\{)/,/[&*$@%]#?(?:(?:::)*'?(?!\d)[\w$]+)+(?:::)*/i,/[&*$@%]\d+/,/(?!%=)[$@%][!"#$%&'()*+,\-.\/:;<=>?@[\\\]^_`{|}~]/],filehandle:{pattern:/<(?![<=])\S*>|\b_\b/,alias:"symbol"},vstring:{pattern:/v\d+(?:\.\d+)*|\d+(?:\.\d+){2,}/,alias:"string"},"function":{pattern:/sub [a-z0-9_]+/i,inside:{keyword:/sub/}},keyword:/\b(?:any|break|continue|default|delete|die|do|else|elsif|eval|for|foreach|given|goto|if|last|local|my|next|our|package|print|redo|require|return|say|state|sub|switch|undef|unless|until|use|when|while)\b/,number:/\b(?:0x[\dA-Fa-f](?:_?[\dA-Fa-f])*|0b[01](?:_?[01])*|(?:\d(?:_?\d)*)?\.?\d(?:_?\d)*(?:[Ee][+-]?\d+)?)\b/,operator:/-[rwxoRWXOezsfdlpSbctugkTBMAC]\b|\+[+=]?|-[-=>]?|\*\*?=?|\/\/?=?|=[=~>]?|~[~=]?|\|\|?=?|&&?=?|<(?:=>?|<=?)?|>>?=?|![~=]?|[%^]=?|\.(?:=|\.\.?)?|[\\?]|\bx(?:=|\b)|\b(?:lt|gt|le|ge|eq|ne|cmp|not|and|or|xor)\b/,punctuation:/[{}[\];(),:]/},Prism.languages.sql={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:--|\/\/|#).*)/,lookbehind:!0},variable:[{pattern:/@(["'`])(?:\\[\s\S]|(?!\1)[^\\])+\1/,greedy:!0},/@[\w.$]+/],string:{pattern:/(^|[^@\\])("|')(?:\\[\s\S]|(?!\2)[^\\]|\2\2)*\2/,greedy:!0,lookbehind:!0},"function":/\b(?:AVG|COUNT|FIRST|FORMAT|LAST|LCASE|LEN|MAX|MID|MIN|MOD|NOW|ROUND|SUM|UCASE)(?=\s*\()/i,keyword:/\b(?:ACTION|ADD|AFTER|ALGORITHM|ALL|ALTER|ANALYZE|ANY|APPLY|AS|ASC|AUTHORIZATION|AUTO_INCREMENT|BACKUP|BDB|BEGIN|BERKELEYDB|BIGINT|BINARY|BIT|BLOB|BOOL|BOOLEAN|BREAK|BROWSE|BTREE|BULK|BY|CALL|CASCADED?|CASE|CHAIN|CHAR(?:ACTER|SET)?|CHECK(?:POINT)?|CLOSE|CLUSTERED|COALESCE|COLLATE|COLUMNS?|COMMENT|COMMIT(?:TED)?|COMPUTE|CONNECT|CONSISTENT|CONSTRAINT|CONTAINS(?:TABLE)?|CONTINUE|CONVERT|CREATE|CROSS|CURRENT(?:_DATE|_TIME|_TIMESTAMP|_USER)?|CURSOR|CYCLE|DATA(?:BASES?)?|DATE(?:TIME)?|DAY|DBCC|DEALLOCATE|DEC|DECIMAL|DECLARE|DEFAULT|DEFINER|DELAYED|DELETE|DELIMITERS?|DENY|DESC|DESCRIBE|DETERMINISTIC|DISABLE|DISCARD|DISK|DISTINCT|DISTINCTROW|DISTRIBUTED|DO|DOUBLE|DROP|DUMMY|DUMP(?:FILE)?|DUPLICATE|ELSE(?:IF)?|ENABLE|ENCLOSED|END|ENGINE|ENUM|ERRLVL|ERRORS|ESCAPED?|EXCEPT|EXEC(?:UTE)?|EXISTS|EXIT|EXPLAIN|EXTENDED|FETCH|FIELDS|FILE|FILLFACTOR|FIRST|FIXED|FLOAT|FOLLOWING|FOR(?: EACH ROW)?|FORCE|FOREIGN|FREETEXT(?:TABLE)?|FROM|FULL|FUNCTION|GEOMETRY(?:COLLECTION)?|GLOBAL|GOTO|GRANT|GROUP|HANDLER|HASH|HAVING|HOLDLOCK|HOUR|IDENTITY(?:_INSERT|COL)?|IF|IGNORE|IMPORT|INDEX|INFILE|INNER|INNODB|INOUT|INSERT|INT|INTEGER|INTERSECT|INTERVAL|INTO|INVOKER|ISOLATION|ITERATE|JOIN|KEYS?|KILL|LANGUAGE|LAST|LEAVE|LEFT|LEVEL|LIMIT|LINENO|LINES|LINESTRING|LOAD|LOCAL|LOCK|LONG(?:BLOB|TEXT)|LOOP|MATCH(?:ED)?|MEDIUM(?:BLOB|INT|TEXT)|MERGE|MIDDLEINT|MINUTE|MODE|MODIFIES|MODIFY|MONTH|MULTI(?:LINESTRING|POINT|POLYGON)|NATIONAL|NATURAL|NCHAR|NEXT|NO|NONCLUSTERED|NULLIF|NUMERIC|OFF?|OFFSETS?|ON|OPEN(?:DATASOURCE|QUERY|ROWSET)?|OPTIMIZE|OPTION(?:ALLY)?|ORDER|OUT(?:ER|FILE)?|OVER|PARTIAL|PARTITION|PERCENT|PIVOT|PLAN|POINT|POLYGON|PRECEDING|PRECISION|PREPARE|PREV|PRIMARY|PRINT|PRIVILEGES|PROC(?:EDURE)?|PUBLIC|PURGE|QUICK|RAISERROR|READS?|REAL|RECONFIGURE|REFERENCES|RELEASE|RENAME|REPEAT(?:ABLE)?|REPLACE|REPLICATION|REQUIRE|RESIGNAL|RESTORE|RESTRICT|RETURNS?|REVOKE|RIGHT|ROLLBACK|ROUTINE|ROW(?:COUNT|GUIDCOL|S)?|RTREE|RULE|SAVE(?:POINT)?|SCHEMA|SECOND|SELECT|SERIAL(?:IZABLE)?|SESSION(?:_USER)?|SET(?:USER)?|SHARE|SHOW|SHUTDOWN|SIMPLE|SMALLINT|SNAPSHOT|SOME|SONAME|SQL|START(?:ING)?|STATISTICS|STATUS|STRIPED|SYSTEM_USER|TABLES?|TABLESPACE|TEMP(?:ORARY|TABLE)?|TERMINATED|TEXT(?:SIZE)?|THEN|TIME(?:STAMP)?|TINY(?:BLOB|INT|TEXT)|TOP?|TRAN(?:SACTIONS?)?|TRIGGER|TRUNCATE|TSEQUAL|TYPES?|UNBOUNDED|UNCOMMITTED|UNDEFINED|UNION|UNIQUE|UNLOCK|UNPIVOT|UNSIGNED|UPDATE(?:TEXT)?|USAGE|USE|USER|USING|VALUES?|VAR(?:BINARY|CHAR|CHARACTER|YING)|VIEW|WAITFOR|WARNINGS|WHEN|WHERE|WHILE|WITH(?: ROLLUP|IN)?|WORK|WRITE(?:TEXT)?|YEAR)\b/i,"boolean":/\b(?:TRUE|FALSE|NULL)\b/i,number:/\b0x[\da-f]+\b|\b\d+\.?\d*|\B\.\d+\b/i,operator:/[-+*\/=%^~]|&&?|\|\|?|!=?|<(?:=>?|<|>)?|>[>=]?|\b(?:AND|BETWEEN|IN|LIKE|NOT|OR|IS|DIV|REGEXP|RLIKE|SOUNDS LIKE|XOR)\b/i,punctuation:/[;[\]()`,.]/},Prism.languages.python={comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0},"string-interpolation":{pattern:/(?:f|rf|fr)(?:("""|''')[\s\S]+?\1|("|')(?:\\.|(?!\2)[^\\\r\n])*\2)/i,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^{])(?:{{)*){(?!{)(?:[^{}]|{(?!{)(?:[^{}]|{(?!{)(?:[^{}])+})+})+}/,lookbehind:!0,inside:{"format-spec":{pattern:/(:)[^:(){}]+(?=}$)/,lookbehind:!0},"conversion-option":{pattern://,alias:"punctuation"},rest:null}},string:/[\s\S]+/}},"triple-quoted-string":{pattern:/(?:[rub]|rb|br)?("""|''')[\s\S]+?\1/i,greedy:!0,alias:"string"},string:{pattern:/(?:[rub]|rb|br)?("|')(?:\\.|(?!\1)[^\\\r\n])*\1/i,greedy:!0},"function":{pattern:/((?:^|\s)def[ \t]+)[a-zA-Z_]\w*(?=\s*\()/g,lookbehind:!0},"class-name":{pattern:/(\bclass\s+)\w+/i,lookbehind:!0},decorator:{pattern:/(^\s*)@\w+(?:\.\w+)*/i,lookbehind:!0,alias:["annotation","punctuation"],inside:{punctuation:/\./}},keyword:/\b(?:and|as|assert|async|await|break|class|continue|def|del|elif|else|except|exec|finally|for|from|global|if|import|in|is|lambda|nonlocal|not|or|pass|print|raise|return|try|while|with|yield)\b/,builtin:/\b(?:__import__|abs|all|any|apply|ascii|basestring|bin|bool|buffer|bytearray|bytes|callable|chr|classmethod|cmp|coerce|compile|complex|delattr|dict|dir|divmod|enumerate|eval|execfile|file|filter|float|format|frozenset|getattr|globals|hasattr|hash|help|hex|id|input|int|intern|isinstance|issubclass|iter|len|list|locals|long|map|max|memoryview|min|next|object|oct|open|ord|pow|property|range|raw_input|reduce|reload|repr|reversed|round|set|setattr|slice|sorted|staticmethod|str|sum|super|tuple|type|unichr|unicode|vars|xrange|zip)\b/,"boolean":/\b(?:True|False|None)\b/,number:/(?:\b(?=\d)|\B(?=\.))(?:0[bo])?(?:(?:\d|0x[\da-f])[\da-f]*\.?\d*|\.\d+)(?:e[+-]?\d+)?j?\b/i,operator:/[-+%=]=?|!=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]/,punctuation:/[{}[\];(),.:]/},Prism.languages.python["string-interpolation"].inside.interpolation.inside.rest=Prism.languages.python,Prism.languages.py=Prism.languages.python,Prism.languages.r={comment:/#.*/,string:{pattern:/(['"])(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0}
73,"percent-operator":{pattern:/%[^%\s]*%/,alias:"operator"},"boolean":/\b(?:TRUE|FALSE)\b/,ellipsis:/\.\.(?:\.|\d+)/,number:[/\b(?:NaN|Inf)\b/,/(?:\b0x[\dA-Fa-f]+(?:\.\d*)?|\b\d+\.?\d*|\B\.\d+)(?:[EePp][+-]?\d+)?[iL]?/],keyword:/\b(?:if|else|repeat|while|function|for|in|next|break|NULL|NA|NA_integer_|NA_real_|NA_complex_|NA_character_)\b/,operator:/->?>?|<(?:=|<?-)?|[>=!]=?|::?|&&?|\|\|?|[+*\/^$@~]/,punctuation:/[(){}\[\],;]/},!function(e){var t=e.util.clone(e.languages.javascript);e.languages.jsx=e.languages.extend("markup",t),e.languages.jsx.tag.pattern=/<\/?(?:[\w.:-]+\s*(?:\s+(?:[\w.:-]+(?:=(?:("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|[^\s{'">=]+|\{(?:\{(?:\{[^}]*\}|[^{}])*\}|[^{}])+\}))?|\{\.{3}[a-z_$][\w$]*(?:\.[a-z_$][\w$]*)*\}))*\s*\/?)?>/i,e.languages.jsx.tag.inside.tag.pattern=/^<\/?[^\s>\/]*/i,e.languages.jsx.tag.inside["attr-value"].pattern=/=(?!\{)(?:("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|[^\s'">]+)/i,e.languages.jsx.tag.inside.tag.inside["class-name"]=/^[A-Z]\w*(?:\.[A-Z]\w*)*$/,e.languages.insertBefore("inside","attr-name",{spread:{pattern:/\{\.{3}[a-z_$][\w$]*(?:\.[a-z_$][\w$]*)*\}/,inside:{punctuation:/\.{3}|[{}.]/,"attr-value":/\w+/}}},e.languages.jsx.tag),e.languages.insertBefore("inside","attr-value",{script:{pattern:/=(\{(?:\{(?:\{[^}]*\}|[^}])*\}|[^}])+\})/i,inside:{"script-punctuation":{pattern:/^=(?={)/,alias:"punctuation"},rest:e.languages.jsx},alias:"language-javascript"}},e.languages.jsx.tag);var n=function(e){return e?"string"==typeof e?e:"string"==typeof e.content?e.content:e.content.map(n).join(""):""},i=function(t){for(var a=[],r=0;r<t.length;r++){var o=t[r],s=!1;if("string"!=typeof o&&("tag"===o.type&&o.content[0]&&"tag"===o.content[0].type?"</"===o.content[0].content[0].content?0<a.length&&a[a.length-1].tagName===n(o.content[0].content[1])&&a.pop():"/>"===o.content[o.content.length-1].content||a.push({tagName:n(o.content[0].content[1]),openedBraces:0}):0<a.length&&"punctuation"===o.type&&"{"===o.content?a[a.length-1].openedBraces++:0<a.length&&0<a[a.length-1].openedBraces&&"punctuation"===o.type&&"}"===o.content?a[a.length-1].openedBraces--:s=!0),(s||"string"==typeof o)&&0<a.length&&0===a[a.length-1].openedBraces){var l=n(o);r<t.length-1&&("string"==typeof t[r+1]||"plain-text"===t[r+1].type)&&(l+=n(t[r+1]),t.splice(r+1,1)),r>0&&("string"==typeof t[r-1]||"plain-text"===t[r-1].type)&&(l=n(t[r-1])+l,t.splice(r-1,1),r--),t[r]=new e.Token("plain-text",l,null,l)}o.content&&"string"!=typeof o.content&&i(o.content)}};e.hooks.add("after-tokenize",function(e){"jsx"!==e.language&&"tsx"!==e.language||i(e.tokens)})}(Prism),Prism.languages["shell-session"]={command:{pattern:/\$(?:[^\r\n'"<]|(["'])(?:\\[\s\S]|\$\([^)]+\)|`[^`]+`|(?!\1)[^\\])*\1|((?:^|[^<])<<\s*)["']?(\w+?)["']?\s*(?:\r\n?|\n)(?:[\s\S])*?(?:\r\n?|\n)\3)+/,inside:{bash:{pattern:/(\$\s*)[\s\S]+/,lookbehind:!0,alias:"language-bash",inside:Prism.languages.bash},sh:{pattern:/^\$/,alias:"important"}}},output:{pattern:/.(?:.*(?:\r\n?|\n|.$))*/}},Prism.languages.yaml={scalar:{pattern:/([\-:]\s*(?:![^\s]+)?[ \t]*[|>])[ \t]*(?:((?:\r?\n|\r)[ \t]+)[^\r\n]+(?:\2[^\r\n]+)*)/,lookbehind:!0,alias:"string"},comment:/#.*/,key:{pattern:/(\s*(?:^|[:\-,[{\r\n?])[ \t]*(?:![^\s]+)?[ \t]*)[^\r\n{[\]},#\s]+?(?=\s*:\s)/,lookbehind:!0,alias:"atrule"},directive:{pattern:/(^[ \t]*)%.+/m,lookbehind:!0,alias:"important"},datetime:{pattern:/([:\-,[{]\s*(?:![^\s]+)?[ \t]*)(?:\d{4}-\d\d?-\d\d?(?:[tT]|[ \t]+)\d\d?:\d{2}:\d{2}(?:\.\d*)?[ \t]*(?:Z|[-+]\d\d?(?::\d{2})?)?|\d{4}-\d{2}-\d{2}|\d\d?:\d{2}(?::\d{2}(?:\.\d*)?)?)(?=[ \t]*(?:$|,|]|}))/m,lookbehind:!0,alias:"number"},"boolean":{pattern:/([:\-,[{]\s*(?:![^\s]+)?[ \t]*)(?:true|false)[ \t]*(?=$|,|]|})/im,lookbehind:!0,alias:"important"},"null":{pattern:/([:\-,[{]\s*(?:![^\s]+)?[ \t]*)(?:null|~)[ \t]*(?=$|,|]|})/im,lookbehind:!0,alias:"important"},string:{pattern:/([:\-,[{]\s*(?:![^\s]+)?[ \t]*)("|')(?:(?!\2)[^\\\r\n]|\\.)*\2(?=[ \t]*(?:$|,|]|}|\s*#))/m,lookbehind:!0,greedy:!0},number:{pattern:/([:\-,[{]\s*(?:![^\s]+)?[ \t]*)[+-]?(?:0x[\da-f]+|0o[0-7]+|(?:\d+\.?\d*|\.?\d+)(?:e[+-]?\d+)?|\.inf|\.nan)[ \t]*(?=$|,|]|})/im,lookbehind:!0},tag:/![^\s]+/,important:/[&*][\w]+/,punctuation:/---|[:[\]{}\-,|>?]|\.\.\./},Prism.languages.yml=Prism.languages.yaml,Prism.languages["visual-basic"]={comment:{pattern:/(?:['\u2018\u2019]|REM\b).*/i,inside:{keyword:/^REM/i}},directive:{pattern:/#(?:Const|Else|ElseIf|End|ExternalChecksum|ExternalSource|If|Region)(?:[^\S\r\n]_[^\S\r\n]*(?:\r\n?|\n)|.)+/i,alias:"comment",greedy:!0},string:{pattern:/["\u201c\u201d](?:["\u201c\u201d]{2}|[^"\u201c\u201d])*["\u201c\u201d]C?/i,greedy:!0},date:{pattern:/#[^\S\r\n]*(?:\d+([/-])\d+\1\d+(?:[^\S\r\n]+(?:\d+[^\S\r\n]*(?:AM|PM)|\d+:\d+(?::\d+)?(?:[^\S\r\n]*(?:AM|PM))?))?|(?:\d+[^\S\r\n]*(?:AM|PM)|\d+:\d+(?::\d+)?(?:[^\S\r\n]*(?:AM|PM))?))[^\S\r\n]*#/i,alias:"builtin"},number:/(?:(?:\b\d+(?:\.\d+)?|\.\d+)(?:E[+-]?\d+)?|&[HO][\dA-F]+)(?:U?[ILS]|[FRD])?/i,"boolean":/\b(?:True|False|Nothing)\b/i,keyword:/\b(?:AddHandler|AddressOf|Alias|And(?:Also)?|As|Boolean|ByRef|Byte|ByVal|Call|Case|Catch|C(?:Bool|Byte|Char|Date|Dbl|Dec|Int|Lng|Obj|SByte|Short|Sng|Str|Type|UInt|ULng|UShort)|Char|Class|Const|Continue|Date|Decimal|Declare|Default|Delegate|Dim|DirectCast|Do|Double|Each|Else(?:If)?|End(?:If)?|Enum|Erase|Error|Event|Exit|Finally|For|Friend|Function|Get(?:Type|XMLNamespace)?|Global|GoSub|GoTo|Handles|If|Implements|Imports|In|Inherits|Integer|Interface|Is|IsNot|Let|Lib|Like|Long|Loop|Me|Mod|Module|Must(?:Inherit|Override)|My(?:Base|Class)|Namespace|Narrowing|New|Next|Not(?:Inheritable|Overridable)?|Object|Of|On|Operator|Option(?:al)?|Or(?:Else)?|Out|Overloads|Overridable|Overrides|ParamArray|Partial|Private|Property|Protected|Public|RaiseEvent|ReadOnly|ReDim|RemoveHandler|Resume|Return|SByte|Select|Set|Shadows|Shared|short|Single|Static|Step|Stop|String|Structure|Sub|SyncLock|Then|Throw|To|Try|TryCast|TypeOf|U(?:Integer|Long|Short)|Using|Variant|Wend|When|While|Widening|With(?:Events)?|WriteOnly|Xor)\b/i,operator:[/[+\-*/\\^<=>&#@$%!]/,{pattern:/([^\S\r\n])_(?=[^\S\r\n]*[\r\n])/,lookbehind:!0}],punctuation:/[{}().,:?]/},Prism.languages.vb=Prism.languages["visual-basic"],Prism.languages.vbnet=Prism.languages.extend("basic",{keyword:/(?:\b(?:ADDHANDLER|ADDRESSOF|ALIAS|AND|ANDALSO|AS|BEEP|BLOAD|BOOLEAN|BSAVE|BYREF|BYTE|BYVAL|CALL(?: ABSOLUTE)?|CASE|CATCH|CBOOL|CBYTE|CCHAR|CDATE|CDEC|CDBL|CHAIN|CHAR|CHDIR|CINT|CLASS|CLEAR|CLNG|CLOSE|CLS|COBJ|COM|COMMON|CONST|CONTINUE|CSBYTE|CSHORT|CSNG|
73CSTR|CTYPE|CUINT|CULNG|CUSHORT|DATA|DATE|DECIMAL|DECLARE|DEFAULT|DEF(?: FN| SEG|DBL|INT|LNG|SNG|STR)|DELEGATE|DIM|DIRECTCAST|DO|DOUBLE|ELSE|ELSEIF|END|ENUM|ENVIRON|ERASE|ERROR|EVENT|EXIT|FALSE|FIELD|FILES|FINALLY|FOR(?: EACH)?|FRIEND|FUNCTION|GET|GETTYPE|GETXMLNAMESPACE|GLOBAL|GOSUB|GOTO|HANDLES|IF|IMPLEMENTS|IMPORTS|IN|INHERITS|INPUT|INTEGER|INTERFACE|IOCTL|IS|ISNOT|KEY|KILL|LINE INPUT|LET|LIB|LIKE|LOCATE|LOCK|LONG|LOOP|LSET|ME|MKDIR|MOD|MODULE|MUSTINHERIT|MUSTOVERRIDE|MYBASE|MYCLASS|NAME|NAMESPACE|NARROWING|NEW|NEXT|NOT|NOTHING|NOTINHERITABLE|NOTOVERRIDABLE|OBJECT|OF|OFF|ON(?: COM| ERROR| KEY| TIMER)?|OPERATOR|OPEN|OPTION(?: BASE)?|OPTIONAL|OR|ORELSE|OUT|OVERLOADS|OVERRIDABLE|OVERRIDES|PARAMARRAY|PARTIAL|POKE|PRIVATE|PROPERTY|PROTECTED|PUBLIC|PUT|RAISEEVENT|READ|READONLY|REDIM|REM|REMOVEHANDLER|RESTORE|RESUME|RETURN|RMDIR|RSET|RUN|SBYTE|SELECT(?: CASE)?|SET|SHADOWS|SHARED|SHORT|SINGLE|SHELL|SLEEP|STATIC|STEP|STOP|STRING|STRUCTURE|SUB|SYNCLOCK|SWAP|SYSTEM|THEN|THROW|TIMER|TO|TROFF|TRON|TRUE|TRY|TRYCAST|TYPE|TYPEOF|UINTEGER|ULONG|UNLOCK|UNTIL|USHORT|USING|VIEW PRINT|WAIT|WEND|WHEN|WHILE|WIDENING|WITH|WITHEVENTS|WRITE|WRITEONLY|XOR)|\B(?:#CONST|#ELSE|#ELSEIF|#END|#IF))(?:\$|\b)/i,comment:[{pattern:/(?:!|REM\b).+/i,inside:{keyword:/^REM/i}},{pattern:/(^|[^\\:])'.*/,lookbehind:!0}]}),!function(e){e.languages.xquery=e.languages.extend("markup",{"xquery-comment":{pattern:/\(:[\s\S]*?:\)/,greedy:!0,alias:"comment"},string:{pattern:/(["'])(?:\1\1|(?!\1)[\s\S])*\1/,greedy:!0},extension:{pattern:/\(#.+?#\)/,alias:"symbol"},variable:/\$[\w-:]+/,axis:{pattern:/(^|[^-])(?:ancestor(?:-or-self)?|attribute|child|descendant(?:-or-self)?|following(?:-sibling)?|parent|preceding(?:-sibling)?|self)(?=::)/,lookbehind:!0,alias:"operator"},"keyword-operator":{pattern:/(^|[^:-])\b(?:and|castable as|div|eq|except|ge|gt|idiv|instance of|intersect|is|le|lt|mod|ne|or|union)\b(?=$|[^:-])/,lookbehind:!0,alias:"operator"},keyword:{pattern:/(^|[^:-])\b(?:as|ascending|at|base-uri|boundary-space|case|cast as|collation|construction|copy-namespaces|declare|default|descending|else|empty (?:greatest|least)|encoding|every|external|for|function|if|import|in|inherit|lax|let|map|module|namespace|no-inherit|no-preserve|option|order(?: by|ed|ing)?|preserve|return|satisfies|schema|some|stable|strict|strip|then|to|treat as|typeswitch|unordered|validate|variable|version|where|xquery)\b(?=$|[^:-])/,lookbehind:!0},"function":/[\w-]+(?::[\w-]+)*(?=\s*\()/,"xquery-element":{pattern:/(element\s+)[\w-]+(?::[\w-]+)*/,lookbehind:!0,alias:"tag"},"xquery-attribute":{pattern:/(attribute\s+)[\w-]+(?::[\w-]+)*/,lookbehind:!0,alias:"attr-name"},builtin:{pattern:/(^|[^:-])\b(?:attribute|comment|document|element|processing-instruction|text|xs:(?:anyAtomicType|anyType|anyURI|base64Binary|boolean|byte|date|dateTime|dayTimeDuration|decimal|double|duration|ENTITIES|ENTITY|float|gDay|gMonth|gMonthDay|gYear|gYearMonth|hexBinary|ID|IDREFS?|int|integer|language|long|Name|NCName|negativeInteger|NMTOKENS?|nonNegativeInteger|nonPositiveInteger|normalizedString|NOTATION|positiveInteger|QName|short|string|time|token|unsigned(?:Byte|Int|Long|Short)|untyped(?:Atomic)?|yearMonthDuration))\b(?=$|[^:-])/,lookbehind:!0},number:/\b\d+(?:\.\d+)?(?:E[+-]?\d+)?/,operator:[/[+*=?|@]|\.\.?|:=|!=|<[=<]?|>[=>]?/,{pattern:/(\s)-(?=\s)/,lookbehind:!0}],punctuation:/[[\](){},;:/]/}),e.languages.xquery.tag.pattern=/<\/?(?!\d)[^\s>\/=$<%]+(?:\s+[^\s>\/=]+(?:=(?:("|')(?:\\[\s\S]|{(?!{)(?:{(?:{[^}]*}|[^}])*}|[^}])+}|(?!\1)[^\\])*\1|[^\s'">=]+))?)*\s*\/?>/i,e.languages.xquery.tag.inside["attr-value"].pattern=/=(?:("|')(?:\\[\s\S]|{(?!{)(?:{(?:{[^}]*}|[^}])*}|[^}])+}|(?!\1)[^\\])*\1|[^\s'">=]+)/i,e.languages.xquery.tag.inside["attr-value"].inside.punctuation=/^="|"$/,e.languages.xquery.tag.inside["attr-value"].inside.expression={pattern:/{(?!{)(?:{(?:{[^}]*}|[^}])*}|[^}])+}/,inside:{rest:e.languages.xquery},alias:"language-xquery"};var t=function(e){return"string"==typeof e?e:"string"==typeof e.content?e.content:e.content.map(t).join("")},n=function(i){for(var a=[],r=0;r<i.length;r++){var o=i[r],s=!1;if("string"!=typeof o&&("tag"===o.type&&o.content[0]&&"tag"===o.content[0].type?"</"===o.content[0].content[0].content?0<a.length&&a[a.length-1].tagName===t(o.content[0].content[1])&&a.pop():"/>
73"===o.content[o.content.length-1].content||a.push({tagName:t(o.content[0].content[1]),openedBraces:0}):!(0<a.length&&"punctuation"===o.type&&"{"===o.content)||i[r+1]&&"punctuation"===i[r+1].type&&"{"===i[r+1].content||i[r-1]&&"plain-text"===i[r-1].type&&"{"===i[r-1].content?0<a.length&&0<a[a.length-1].openedBraces&&"punctuation"===o.type&&"}"===o.content?a[a.length-1].openedBraces--:"comment"!==o.type&&(s=!0):a[a.length-1].openedBraces++),(s||"string"==typeof o)&&0<a.length&&0===a[a.length-1].openedBraces){var l=t(o);r<i.length-1&&("string"==typeof i[r+1]||"plain-text"===i[r+1].type)&&(l+=t(i[r+1]),i.splice(r+1,1)),r>0&&("string"==typeof i[r-1]||"plain-text"===i[r-1].type)&&(l=t(i[r-1])+l,i.splice(r-1,1),r--),i[r]=/^\s+$/.test(l)?l:new e.Token("plain-text",l,null,l)}o.content&&"string"!=typeof o.content&&n(o.content)}};e.hooks.add("after-tokenize",function(e){"xquery"===e.language&&n(e.tokens)})}(Prism),function(e){"use strict";function t(e,t,n){"addEventListener"in window?e.addEventListener(t,n,!1):"attachEvent"in window&&e.attachEvent("on"+t,n)}function n(e,t,n){"removeEventListener"in window?e.removeEventListener(t,n,!1):"detachEvent"in window&&e.detachEvent("on"+t,n)}function i(){var e,t=["moz","webkit","o","ms"];for(e=0;e<t.length&&!j;e+=1)j=window[t[e]+"RequestAnimationFrame"];j||s("setup","RequestAnimationFrame not supported")}function a(e){var t="Host page: "+e;return window.top!==window.self&&(t=window.parentIFrame&&window.parentIFrame.getId?window.parentIFrame.getId()+": "+e:"Nested host page: "+e),t}function r(e){return M+"["+a(e)+"]"}function o(e){return z[e]?z[e].log:$}function s(e,t){u("log",e,t,o(e))}function l(e,t){u("info",e,t,o(e))}function c(e,t){u("warn",e,t,!0)}function u(e,t,n,i){!0===i&&"object"==typeof window.console&&console[e](r(t),n)}function d(e){function i(){function e(){b(V),m(G),$("resizedCallback",V)}r("Height"),r("Width"),w(e,V,"init")}function a(){var e=W.substr(H).split(":");return{iframe:z[e[0]]&&z[e[0]].iframe,id:e[0],height:e[1],width:e[2],type:e[3]}}function r(e){var t=Number(z[G]["max"+e]),n=Number(z[G]["min"+e]),i=e.toLowerCase(),a=Number(V[i]);s(G,"Checking "+i+" is in range "+n+"-"+t),n>a&&(a=n,s(G,"Set "+i+" to min value")),a>t&&(a=t,s(G,"Set "+i+" to max value")),V[i]=""+a}function o(){function t(){function e(){var e=0,t=!1;for(s(G,"Checking connection is from allowed list of origins: "+i);e<i.length;e++)if(i[e]===n){t=!0;break}return t}function t(){var e=z[G]&&z[G].remoteHost;return s(G,"Checking connection is from: "+e),n===e}return i.constructor===Array?e():t()}var n=e.origin,i=z[G]&&z[G].checkOrigin;if(i&&""+n!="null"&&!t())throw new Error("Unexpected message received from: "+n+" for "+V.iframe.id+". Message was: "+e.data+". This error can be disabled by setting the checkOrigin: false option or by providing of array of trusted domains.");return!0}function u(){return M===(""+W).substr(0,H)&&W.substr(H).split(":")[0]in z}function d(){var e=V.type in{"true":1,"false":1,undefined:1};return e&&s(G,"Ignoring init message from meta parent page"),e}function p(e){return W.substr(W.indexOf(":")+R+e)}function E(e){s(G,"MessageCallback passed: {iframe: "+V.iframe.id+", message: "+e+"}"),$("messageCallback",{iframe:V.iframe,message:JSON.parse(e)}),s(G,"--")}function S(){var e=document.body.getBoundingClientRect(),t=V.iframe.getBoundingClientRect();return JSON.stringify({iframeHeight:t.height,iframeWidth:t.width,clientHeight:Math.max(document.documentElement.clientHeight,window.innerHeight||0),clientWidth:Math.max(document.documentElement.clientWidth,window.innerWidth||0),offsetTop:parseInt(t.top-e.top,10),offsetLeft:parseInt(t.left-e.left,10),scrollTop:window.pageYOffset,scrollLeft:window.pageXOffset})}function C(e,t){function n(){x("Send Page Info","pageInfo:"+S(),e,t)}A(n,32,t)}function _(){function e(e,t){function n(){z[r]?C(z[r].iframe,r):i()}["scroll","resize"].forEach(function(i){s(r,e+i+" listener for sendPageInfo"),t(window,i,n)})}function i(){e("Remove ",n)}function a(){e("Add ",t)}var r=G;a(),z[r]&&(z[r].stopPageInfo=i)}function k(){z[G]&&z[G].stopPageInfo&&(z[G].stopPageInfo(),delete z[G].stopPageInfo)}function I(){var e=!0;return null===V.iframe&&(c(G,"IFrame ("+V.id+") not found"),e=!1),e}function D(e){var t=e.getBoundingClientRect();return g(G),{x:Math.floor(Number(t.left)+Number(U.x)),y:Math.floor(Number(t.top)+Number(U.y))}}function F(e){function t(){U=r,N(),s(G,"--")}function n(){return{x:Number(V.width)+a.x,y:Number(V.height)+a.y}}function i(){window.parentIFrame?window.parentIFrame["scrollTo"+(e?"Offset":"")](r.x,r.y):c(G,"Unable to scroll to requested position, window.parentIFrame not found")}var a=e?D(V.iframe):{x:0,y:0},r=n();s(G,"Reposition requested from iFrame (offset x:"+a.x+" y:"+a.y+")"),window.top!==window.self?i():t()}function N(){!1!==$("scrollCallback",U)?m(G):v()}function L(e){function t(){var e=D(r);s(G,"Moving to in page link (#"+i+") at x: "+e.x+" y: "+e.y),U={x:e.x,y:e.y},N(),s(G,"--")}function n(){window.parentIFrame?window.parentIFrame.moveToAnchor(i):s(G,"In page link #"+i+" not found and window.parentIFrame not found")}var i=e.split("#")[1]||"",a=decodeURIComponent(i),r=document.getElementById(a)||document.getElementsByName(a)[0];r?t():window.top!==window.self?n():s(G,"In page link #"+i+" not found")}function $(e,t){return h(G,e,t)}function O(){switch(z[G]&&z[G].firstRun&&B(),V.type){case"close"
73:z[G].closeRequestCallback?h(G,"closeRequestCallback",z[G].iframe):f(V.iframe);break;case"message":E(p(6));break;case"scrollTo":F(!1);break;case"scrollToOffset":F(!0);break;case"pageInfo":C(z[G]&&z[G].iframe,G),_();break;case"pageInfoStop":k();break;case"inPageLink":L(p(9));break;case"reset":y(V);break;case"init":i(),$("initCallback",V.iframe);break;default:i()}}function P(e){var t=!0;return z[e]||(t=!1,c(V.type+" No settings for "+e+". Message was: "+W)),t}function j(){for(var e in z)x("iFrame requested init",T(e),document.getElementById(e),e)}function B(){z[G]&&(z[G].firstRun=!1)}var W=e.data,V={},G=null;"[iFrameResizerChild]Ready"===W?j():u()?(V=a(),G=q=V.id,z[G]&&(z[G].loaded=!0),!d()&&P(G)&&(s(G,"Received: "+W),I()&&o()&&O())):l(G,"Ignored: "+W)}function h(e,t,n){var i=null,a=null;if(z[e]){if(i=z[e][t],"function"!=typeof i)throw new TypeError(t+" on iFrame["+e+"] is not a function");a=i(n)}return a}function p(e){var t=e.id;delete z[t]}function f(e){var t=e.id;s(t,"Removing iFrame: "+t);try{e.parentNode&&e.parentNode.removeChild(e)}catch(n){}h(t,"closedCallback",t),s(t,"--"),p(e)}function g(t){null===U&&(U={x:window.pageXOffset!==e?window.pageXOffset:document.documentElement.scrollLeft,y:window.pageYOffset!==e?window.pageYOffset:document.documentElement.scrollTop},s(t,"Get page position: "+U.x+","+U.y))}function m(e){null!==U&&(window.scrollTo(U.x,U.y),s(e,"Set page position: "+U.x+","+U.y),v())}function v(){U=null}function y(e){function t(){b(e),x("reset","reset",e.iframe,e.id)}s(e.id,"Size reset requested by "+("init"===e.type?"host page":"iFrame")),g(e.id),w(t,e,"reset")}function b(e){function t(t){return e.id?(e.iframe.style[t]=e[t]+"px",void s(e.id,"IFrame ("+a+") "+t+" set to "+e[t]+"px")):void s("undefined","messageData id not set")}function n(t){O||"0"!==e[t]||(O=!0,s(a,"Hidden iFrame detected, creating visibility listener"),C())}function i(e){t(e),n(e)}var a=e.iframe.id;z[a]&&(z[a].sizeHeight&&i("height"),z[a].sizeWidth&&i("width"))}function w(e,t,n){n!==t.type&&j?(s(t.id,"Requesting animation frame"),j(e)):e()}function x(e,t,n,i,a){function r(){var a=z[i]&&z[i].targetOrigin;s(i,"["+e+"] Sending msg to iframe["+i+"] ("+t+") targetOrigin: "+a),n.contentWindow.postMessage(M+t,a)}function o(){c(i,"["+e+"] IFrame("+i+") not found")}function l(){n&&"contentWindow"in n&&null!==n.contentWindow?r():o()}function u(){function e(){!z[i]||z[i].loaded||d||(d=!0,c(i,"IFrame has not responded within "+z[i].warningTimeout/1e3+" seconds. Check iFrameResizer.contentWindow.js has been loaded in iFrame. This message can be ignored if everything is working, or you can set the warningTimeout option to a higher value or zero to suppress this warning."))}a&&z[i]&&z[i].warningTimeout&&(z[i].msgTimeout=setTimeout(e,z[i].warningTimeout))}var d=!1;i=i||n.id,z[i]&&(l(),u())}function T(e){return e+":"+z[e].bodyMarginV1+":"+z[e].sizeWidth+":"+z[e].log+":"+z[e].interval+":"+z[e].enablePublicMethods+":"+z[e].autoResize+":"+z[e].bodyMargin+":"+z[e].heightCalculationMethod+":"+z[e].bodyBackground+":"+z[e].bodyPadding+":"+z[e].tolerance+":"+z[e].inPageLinks+":"+z[e].resizeFrom+":"+z[e].widthCalculationMethod}function E(n,i){function a(){function e(e){1/0!==z[S][e]&&0!==z[S][e]&&(n.style[e]=z[S][e]+"px",s(S,"Set "+e+" = "+z[S][e]+"px"))}function t(e){if(z[S]["min"+e]>z[S]["max"+e])throw new Error("Value for min"+e+" can not be greater than max"+e)}t("Height"),t("Width"),e("maxHeight"),e("minHeight"),e("maxWidth"),e("minWidth")}function r(){var e=i&&i.id||V.id+L++;return null!==document.getElementById(e)&&(e+=L++),e}function o(e){return q=e,""===e&&(n.id=e=r(),$=(i||{}).log,q=e,s(e,"Added missing iframe ID: "+e+" ("+n.src+")")),e}function l(){switch(s(S,"IFrame scrolling "+(z[S]&&z[S].scrolling?"enabled":"disabled")+" for "+S),n.style.overflow=!1===(z[S]&&z[S].scrolling)?"hidden":"auto",z[S]&&z[S].scrolling){case"omit":break;case!0:n.scrolling="yes";break;case!1:n.scrolling="no";break;default:n.scrolling=z[S]?z[S].scrolling:"no"}}function u(){("number"==typeof(z[S]&&z[S].bodyMargin)||"0"===(z[S]&&z[S].bodyMargin))&&(z[S].bodyMarginV1=z[S].bodyMargin,z[S].bodyMargin=""+z[S].bodyMargin+"px")}function d(){var e=z[S]&&z[S].firstRun,t=z[S]&&z[S].heightCalculationMethod in B;!e&&t&&y({iframe:n,height:0,width:0,type:"init"})}function h(){Function.prototype.bind&&z[S]&&(z[S].iframe.iFrameResizer={close:f.bind(null,z[S].iframe),removeListeners:p.bind(null,z[S].iframe),resize:x.bind(null,"Window resize","resize",z[S].iframe),moveToAnchor:function(e){x("Move to anchor","moveToAnchor:"+e,z[S].iframe,S)},sendMessage:function(e){e=JSON.stringify(e),x("Send Message","message:"+e,z[S].iframe,S)}})}function g(i){function a(){x("iFrame.onload",i,n,e,!0),d()}t(n,"load",a),x("init",i,n,e,!0)}function m(e){if("object"!=typeof e)throw new TypeError("Options is not an object")}function v(e){for(var t in V)V.hasOwnProperty(t)&&(z[S][t]=e.hasOwnProperty(t)?e[t]:V[t])}function b(e){return""===e||"file://"===e?"*":e}function w(e){e=e||{},z[S]={firstRun:!0,iframe:n,remoteHost:n.src.split("/").slice(0,3).join("/")},m(e),v(e),z[S]&&(z[S].targetOrigin=!0===z[S].checkOrigin?b(z[S].remoteHost):"*")}function E(){return S in z&&"iFrameResizer"in n}var S=o(n.id);E()?c(S,"Ignored iFrame, already setup."):(w(i),l(),a(),u(),g(T(S)),h())}function S(e,t){null===W&&(W=setTimeout(function(){W=null,e()},t))}function A(e,t,n){G[n]||(G[n]=setTimeout(function(){G[n]=null,e()},t))}function C(){function e(){function e(e){function t(t){return"0px"===(z[e]&&z[e].iframe.style[t])}function n(e){return null!==e.offsetParent}z[e]&&n(z[e].iframe)&&(t("height")||t("width"))&&x("Visibility change","resize",z[e].iframe,e)}for(var t in z)e(t)}function t(t){s("window","Mutation observed: "+t[0].target+" "+t[0].type),S(e,16)}function n(){var e=document.querySelector("body"),n={attributes:!0,attributeOldValue:!1,characterData:!0,characterDataOldValue:!1,childList:!0,subtree:!0},a=new i(t);a.observe(e,n)}var i=window.MutationObserver||window.WebKitMutationObserver;i&&n()}function _(e){function t(){I("Window "+e,"resize")}s("window","Trigger event: "+e),S(t,16)}function k(){function e(){I("Tab Visable","resize")}"hidden"!==document.visibilityState&&(s("document","Trigger event: Visiblity change"),S(e,16))}function I(e,t){function n(e){return z[e]&&"parent"===z[e].resizeFrom&&z[e].autoResize&&!z[e].firstRun}for(var i in z)n(i)&&x(e,t,document.getElementById(i),i)}function D(){t(window,"message",d),t(window,"resize",function(){_("resize")}),t(document,"visibilitychange",k),t(document,"-webkit-visibilitychange",k),t(window,"focu
73sin",function(){_("focus")}),t(window,"focus",function(){_("focus")})}function F(){function t(e,t){function n(){if(!t.tagName)throw new TypeError("Object is not a valid DOM element");if("IFRAME"!==t.tagName.toUpperCase())throw new TypeError("Expected <IFRAME> tag, found <"+t.tagName+">")}t&&(n(),E(t,e),a.push(t))}function n(e){e&&e.enablePublicMethods&&c("enablePublicMethods option has been removed, public methods are now always available in the iFrame") 74}var a;return i(),D(),function(i,r){switch(a=[],n(i),typeof r){case"undefined":case"string":Array.prototype.forEach.call(document.querySelectorAll(r||"iframe"),t.bind(e,i));break;case"object":t(i,r);break;default:throw new TypeError("Unexpected data type ("+typeof r+")")}return a}}function N(e){e.fn?e.fn.iFrameResize||(e.fn.iFrameResize=function(e){function t(t,n){E(n,e)}return this.filter("iframe").each(t).end()}):l("","Unable to bind to jQuery, it is not fully loaded.")}if("undefined"!=typeof window){var L=0,$=!1,O=!1,P="message",R=P.length,M="[iFrameSizer]",H=M.length,U=null,j=window.requestAnimationFrame,B={max:1,scroll:1,bodyScroll:1,documentElementScroll:1},z={},W=null,q="Host Page",V={autoResize:!0,bodyBackground:null,bodyMargin:null,bodyMarginV1:8,bodyPadding:null,checkOrigin:!0,inPageLinks:!1,enablePublicMethods:!0,heightCalculationMethod:"bodyOffset",id:"iFrameResizer",interval:32,log:!1,maxHeight:1/0,maxWidth:1/0,minHeight:0,minWidth:0,resizeFrom:"parent",scrolling:!1,sizeHeight:!0,sizeWidth:!1,warningTimeout:5e3,tolerance:0,widthCalculationMethod:"scroll",closedCallback:function(){},initCallback:function(){},messageCallback:function(){c("MessageCallback function not defined")},resizedCallback:function(){},scrollCallback:function(){return!0}},G={};window.jQuery&&N(window.jQuery),"function"==typeof define&&define.amd?define([],F):"object"==typeof module&&"object"==typeof module.exports?module.exports=F():window.iFrameResize=window.iFrameResize||F()}}(),$(document).ready(function(){Luise.Initializer.init(),Luise.DirectAccess.init(),Luise.ResponsiveHandler.init(),Luise.AjaxBoxNavigation.init(),Luise.Searchable.init(),Luise.AccordionHandler.init(),Luise.FuAufmacherKarussellOrdner.init(),Luise.FuBildergalerieOrdner.init(),Luise.FuContentOrdner.init(),Luise.FuExternOrdner.init(),Luise.FuFormularOrdner.init(),Luise.FuMitarbOrdner.init(),Luise.FuProjectListeOrdner.init(),Luise.FuRssDok.init(),Luise.FuSitemapOrdner.init(),Luise.FuSpotlightBox.init(),Luise.FuSpotlightKarussellBox.init(),Luise.FuTerminOrdner.init()}),$(window).load(function(){Luise.FuAufmacherSlideshowOrdner.init(),Luise.SecondLogo.init()});var Luise=Luise||{};Luise.DirectAccess=function(){function e(){$(".services-dropdown-button").click(function(){t(this)})}function t(e){$(e).next().is(":visible")?(n(),$(".fa-chevron-up").hide(),$(".fa-chevron-down").show()):(n(),$(".fa-chevron-up").hide(),$(".fa-chevron-down").show(),$(e).next().show(),$(e).find(".fa-chevron-down").hide(),$(e).find(".fa-chevron-up").show())}function n(){$(".dropdown-menu.dropdown-menu-right").hide()}return{init:e}}();var Luise=Luise||{};Luise.Initializer=function(){function e(){var e=$(".fancybox");e.length&&(i(),a(),r()),t(),n()}function t(){var e=$("head").children("link[rel=canonical]");if(e.length){var t=$("a.fub-language-version[data-locale]");t.length&&t.each(function(){$(this).attr("href",$(e[0]).attr("href")+"?irq=0&next="+$(this).attr("data-locale"))})}}function n(){$("table").each(function(){var e="table-responsive",t=$(this).data("wraper-class");null!=t&&t.length>0&&(e=e+" "+t);var n="<div class='"+e+"'></div>";$(this).wrap(n)})}
74function i(){$(document).ready(function(){$(".fancybox[data-scroll=0]").fancybox({autoResize:!0,autoSize:!0,fitToView:!0,aspectRatio:!0,scrolling:"no",helpers:{title:{type:"inside"}}})})}function a(){$(document).ready(function(){$(".fancybox[data-scroll!=0]").fancybox({scrolling:"auto",width:"100%",autoResize:!0,autoSize:!1,helpers:{title:{type:"inside"}}})})}function r(){$(document).ready(function(){var e=$(".fancybox[data-image-url]");if(e.length>0){var t=window.devicePixelRatio||1,n=o(t),i=document.body.clientWidth||1300,a=s(i);e.each(function(){var e=$(this),t=e.data("image-url")+"?width="+a+"&density="+n;$(this).attr({href:t})})}})}function o(e){return e>2?3:e>1.5?2:e>1?1.5:1}function s(e){return e>1e3?1300:700>e?700:1e3}return{init:e}}();var Luise=Luise||{};Luise.Navigation=function(){function e(){if($(".main-nav-flyout-global").length)try{Y=$("#fub-main-nav"),Z=$(".main-nav-container"),X=$(".main-nav-flyout-global"),K=$(X).find(".container"),tt=Luise.ResponsiveHandler,Q=t(),n(),i(),$(Z).show()}catch(e){throw new Error("Navigation cannot be initialized:\n"+e)}}function t(){return $(".page[data-current-path]").length?$(".page[data-current-path]").attr("data-current-path"):null}function n(){tt.addHiddenElementsForResize(Z),tt.addWindowResizeEvent(i)}function i(){N(),a(),tt.isDisplayMobile()?($(".main-nav.level-1").removeAttr("style"),$(".main-nav.level-1").hide(),$(".main-nav-scroll-buttons").css("display","none")):$(".main-nav.level-1").show()}function a(){tt.isDisplayMobile()?(l(),d(),h()):(d(),o(),s(),k(),r())}function r(){setTimeout(function(){if($(".main-nav-flyout-global").length){var e=G($(".container.main-nav-container-inner"));$(Y).attr("style",""),$(Y).offset({left:e}),nt=U(),nt.length>1?(M(),$(".main-nav-scroll-buttons").css("display","block"),$("#main-nav-btn-scroll-left").off("click"),$("#main-nav-btn-scroll-left").click(B),$("#main-nav-btn-scroll-right").off("click"),$("#main-nav-btn-scroll-right").click(z)):$(".main-nav-scroll-buttons").css("display","none")}},500)}function o(){$("#main-nav-btn-flyout-close").off("click"),$("#main-nav-btn-flyout-close").click(function(){v()})}function s(){$(".main-nav-item.level-1").each(function(){$(this).off("click"),P(this)&&$(this).click(function(e){R(e),c(this)})})}function l(){$(".main-nav-item.level-1").off("click")}function c(e){$(X).is(":visible")&&$(X).data("index")==$(e).data("index")?v():y(e)}function u(){$(K).find(".main-nav-item.level-2").each(function(){var e=this;$(e).find(".icon-has-children:first").off("click"),$(e).find(".icon-has-children:first").on("click",function(t){R(t),p(e)})}),$(K).find(".main-nav-item.level-3").each(function(){var e=this;$(e).find(".icon-has-children:first").off("click"),$(e).find(".icon-has-children:first").click(function(t){R(t),f(e)})})}function d(){$(".icon-has-children").off("click")}function h(){$(".main-nav-toggle:first").off("click"),$(".main-nav-toggle:first").click(function(e){R(e),b()}),$(".main-nav-item.level-1").each(function(){var e=this;$(e).find(".icon-has-children:first").off("click"),$(e).find(".icon-has-children:first").click(function(t){R(t),w(e)})}),$(".main-nav-item.level-2").each(function(){var e=this;$(e).find(".icon-has-children:first").off("click"),$(e).find(".icon-has-children:first").click(function(t){R(t),x(e)})}),$(".main-nav-item.level-3").each(function(){var e=this;$(e).find(".icon-has-children:first").off("click"),$(e).find(".icon-has-children:first").click(function(t){R(t),T(e)})})}function p(e){var t=$(e).children(".main-nav.level-3");$(t).is(":visible")||($(".main-nav.level-3").hide(),$(".main-nav.level-4").hide(),g(e,t))}function f(e){var t=$(e).children(".main-nav.level-4");$(t).is(":visible")||($(".main-nav.level-4").hide(),g(e,t))}function g(e,t){$(t).fadeIn(et),A(e),C(),F(e)&&k()}function m(e){var t=$(e).find(".container.main-nav-parent.level-2:first").clone(!0),n=$(e).find("ul.main-nav.level-2:first").clone(!0);$(t).css("display","block"),$(n).css("display","block"),$(K).children().remove(),$(X).find("div.container.main-nav-parent").remove(),$(K).append(n),$(X).prepend(t),$(X).data("index",$(e).data("index")),$(X).fadeIn(et)}function v(){$(X).fadeOut(et),$(K).children().remove(),$(X).find(".container.main-nav-parent").remove()}function y(e){N(),m(e),k(),I(e),u(),C()}function b(){$(Z).hasClass("active")||$(".main-nav.level-1").is(":visible")?($(Z).removeClass("active"),$(".main-nav.level-1").slide
74Up(J,function(){L()})):($(Z).addClass("active"),$(".main-nav.level-1").slideDown(et),D())}function w(e){$(".main-nav.level-4").slideUp(0),$(".main-nav.level-3").slideUp(0),$(".main-nav.level-2").slideUp(J);var t=$(e).find(".main-nav.level-2:first");E(e,t)}function x(e){$(".main-nav.level-4").slideUp(0),$(".main-nav.level-3").slideUp(J);var t=$(e).children(".main-nav.level-3");E(e,t)}function T(e){$(".main-nav.level-4").slideUp(J);var t=$(e).children(".main-nav.level-4");E(e,t)}function E(e,t){$(t).is(":visible")?(S(e),$(t).slideUp(J)):($(t).slideDown(et),F(e)&&D(),A(e))}function S(e){$(e).children(".icon-has-children").removeClass("active")}function A(e){$(e).parent("ul.main-nav").children("li.main-nav-item").children(".icon-has-children").removeClass("active"),$(e).children(".icon-has-children").addClass("active")}function C(){var e=_();$(X).height(e)}function _(){for(var e=45,t=$(X).find("ul.main-nav:visible"),n=$(".container.main-nav-parent.level-2").outerHeight(),i=100,a=0;a<t.length;a++){var r=$(t[a]).outerHeight();r>i&&(i=r)}return i+n+e}function k(){$(".main-nav li[data-menu-item-path]").each(function(){F(this)&&($(this).addClass("active"),$(this).hasClass("level-1")||$(this).parent().parent().children(".icon-has-children").addClass("active"))})}function I(e){F(e)&&$(X).find("li[data-menu-item-path]").each(function(){F(this)&&!$(this).hasClass("level-1")&&($(this).parent().is(":visible")||$(this).parent().fadeIn(et))})}function D(){var e=200;$(".main-nav li[data-menu-item-path]").each(function(){F(this)&&($(this).addClass("active"),$(this).hasClass("level-1")||($(this).hasClass("level-2")?$(this).parent().parent().parent().parent().children(".icon-has-children").addClass("active"):$(this).parent().parent().children(".icon-has-children").addClass("active"),$(this).parent().is(":visible")||($(this).parent().delay(e).slideDown(2*et),e=2*et)))})}function F(e){var t=$(e).attr("data-menu-item-path");return null!=Q&&null!=t&&t.length>0&&t.length<Q.length&&Q.substring(0,t.length+1)==t+"/"?!0:!1}function N(){$(".main-nav.level-2").removeAttr("style"),$(".main-nav.level-3").removeAttr("style"),$(".main-nav.level-4").removeAttr("style"),$(X).removeAttr("style"),$(Z).removeClass("active"),$(".main-nav-item").removeClass("active"),$(".icon-has-children").removeClass("active"),O()}function L(){$(".icon-has-children").removeClass("active"),$(".main-nav-item").removeClass("active"),O()}function O(){$(".container.main-nav-parent.level-2").hide(),$(".main-nav.level-2").hide(),$(".main-nav.level-3").hide(),$(".main-nav.level-4").hide()}function P(e){return $(e).hasClass("has-children")}function R(e){e.preventDefault(),e.stopPropagation()}function M(){var e=$("li.main-nav-item.level-1.active");if(e.length){var t=H(e);W(t)}}function H(e){for(var t=$(e).data("menu-item-path"),n=0;n<nt.length;n++)for(var i=nt[n],a=0;a<i.length;a++)if($(i[a]).data("menu-item-path")==t)return n;return 0}function U(){for(var e=$("li.main-nav-item.level-1"),t=q(),n=[],i=[],a=0;a<=e.length;a++)if(a==e.length)n.push(i);else{var r=j(i);r+$(e[a]).width()<=t?i.push(e[a]):0==i.length?(i.push(e[a]),n.push(i),i=[]):(n.push(i),i=[],a-=1)}return n}function j(e){for(var t=0,n=0;n<e.length;n++)t+=$(e[n]).width();return t}function B(){v();var e=it-1;W(e)}function z(){v();var e=it+1;W(e)}function W(e){if(e>=0&&e<nt.length){it=e;var t=-1*G(nt[it]);V(t)}}function q(){var e=$(".main-nav-scroll-buttons").width(),t=$(Y).innerWidth();return t-e}function V(e){var t=G(Y),n=t+e;$(Y).animate({left:n},2e3)}function G(e){return $(e).offset().left}var Y=null,Z=null,X=null,K=null,Q=null,J=300,et=300,tt=null,nt=null,it=0;return{init:e}}();var Luise=Luise||{};Luise.SecondLogo=function(){function e(){$(".second-logo").length&&(u=Luise.ResponsiveHandler,d=$($(".second-logo")[0]).clone(!0),t())}function t(){u.addWindowResizeEvent(n)}function n(){u.isDisplayMobileSmall()?(i(),o()):(r(),a())}function i(){var e=s();null!=e&&$(e).hide()}function a(){var e=s();null!=e&&$(e).show()}function r(){var e=l();null!=e&&$(e).hide()}function o(){var e=l();null!=e?$(e).show():c()}function s(){var e=$(".sidebar-right");if(e.length){var t=$(e).children(".row");if($(t[0]).find(".second-logo").length)return t[0]}return null}
74function l(){var e=$(".breadcrumbs");if(e.length){var t=$(e).next();if(t.length&&$(t).hasClass("second-logo"))return t}return null}function c(){var e=$(".breadcrumbs");e.length&&$(d).insertAfter(e[0])}var u=null,d=null;return{init:e}}();var Luise=Luise||{};Luise.FuAufmacherKarussellOrdner=function(){function e(){s=$(".cms-carousel"),s.length&&(l=Luise.ResponsiveHandler,c=".box-carousel-container",u=".box-carousel-element",d=".box-carousel-pager",h=".box-carousel-controls-next",p=".box-carousel-controls-prev",t(),a())}function t(){$(s).each(function(){r(this),$(this).show(),Luise.Cycle2Handler.initCarousel(n(this)),Luise.CarouselUtils.initPrevNextBtnIcons(i(this)),o(this)})}function n(e){return{container:e,carouselClass:c,slideClass:u,pagerClass:d,hasPager:!0,allowWrap:!1}}function i(e){return{container:e,carouselClass:c,slideClass:u,pagerClass:d,prevBtnClass:p,nextBtnClass:h}}function a(){l.addHiddenElementsForResize(s),l.addWindowResizeEvent(t)}function r(e){if("1"==$(e).data("random")){for(var t=$(e).find(c),n=$(t).find(u),i=0;i<n.length;i++){var a=Math.floor(Math.random()*n.length),r=n[i];n[i]=n[a],n[a]=r}for(var i=0;i<n.length;i++)$(n[i]).remove();for(var i=0;i<n.length;i++)$(t).append(n[i])}}function o(e){var t=$(e).find(c),n=$(e).find(p),i=$(e).find(h);$(i).off("click"),$(i).click(function(){$(t).cycle("next",1)}),$(n).off("click"),$(n).click(function(){$(t).cycle("prev",1)})}var s=null,l=null,c=null,u=null,d=null,h=null,p=null;return{init:e}}();var Luise=Luise||{};Luise.FuAufmacherSlideshowOrdner=function(){function e(){o=$(".box-slideshow"),o.length&&(s=Luise.ResponsiveHandler,l=".box-slideshow-container",c=".box-slideshow-image",u=".box-slideshow-pager",d=".box-slideshow-overlay",h=".box-slideshow-controls-caption",p=".box-slideshow-controls-next",f=".box-slideshow-controls-prev",t(),i())}function t(){$(o).each(function(){var e=n(this);$(this).show(),Luise.Cycle2Handler.initSlideshow(e),r(this),a(this)})}function n(e){return{container:e,slideshowClass:l,slideClass:c,pagerClass:u,overlayClass:d,captionClass:h}}function i(){s.addHiddenElementsForResize(o),s.addWindowResizeEvent(t)}function a(e){if("0"==$(e).data("autostart")){var t=$(e).children(l);$(t).cycle("pause")}}function r(e){var t=$(e).find(l),n=$(e).find(p),i=$(e).find(f);$(n).off("click"),$(n).click(function(){$(t).cycle("next",1)}),$(i).off("click"),$(i).click(function(){$(t).cycle("prev",1)})}var o=null,s=null,l=null,c=null,u=null,d=null,h=null,p=null,f=null;return{init:e}}();var Luise=Luise||{};Luise.FuBildergalerieOrdner=function(){function e(){t(),n()}function t(){var e=$(".box.box_gallery");if(e.length){var t=e.attr("data-remote-object");null!=t&&t.length>0&&jQuery.globalEval(t)}}function n(){$("div[id^=galleria_]").not(".collapse div[id^=galleria_]").each(function(){i(this)})}function i(e){var t=$(e).data("theme");Galleria.loadTheme(t),Galleria.run($(e),{showCounter:!1,imageCrop:!1,debug:!1,responsive:!0,height:.75,autoplay:$(e).data("autoplay")})}return{init:e,initGalleria:i}}();var Luise=Luise||{};Luise.FuContentOrdner=function(){function e(){var e=null,t=null,n=$(".nav-previous-next[data-current-id]");if(n.length&&(t=$(n[0]).attr("data-current-id"),null!=t)){var a=$(n).find(".data-member-ids[data-member-ids]");if(a.length){var r=$(a[0]).attr("data-member-ids");null!=r&&(e=r.split(","))}}if(null!=e&&null!=t){var o=e.indexOf(t);if(o>=0){var a=$(n).find("span.nav-previous-next-pagination");if(a.length&&$(a).html(o+1+" / "+e.length),a=$(n).find("a.previous-page"),a.length)for(i=0;i<a.length;i++)o>0?$(a[i]).attr("href","index.html?irq=0&next="+e[o-1]):($(a[i]).attr("title",""),$(a[i]).addClass("disabled"));if(a=$(n).find("a.next-page"),a.length)for(i=0;i<a.length;i++)o<e.length-1?$(a[i]).attr("href","index.html?irq=0&next="+e[o+1]):($(a[i]).attr("title",""),$(a[i]).addClass("disabled"))}}}return{init:e}}();var Luise=Luise||{};Luise.FuExternOrdner=function(){function e(){$(".external_box").bind("DOMNodeInserted",function(){t(this),$(this).unbind("DOMNodeInserted")}),$(".external_box").each(function(){t(this)})}function t(e){var t=$(e).children("iframe"),n=$(e).contents().find("body").children();t.length?(i(t),a(t)):n.length&&i(n)}function n(e){var t=$(e).contents().find("body").children();i(t)}function i(e){$(e).each(function(){$(this).css("width","100%"),$(this).attr("width","")})}function a(e){$(e).each(function(){var e="Luise.FuExternOrdner.setIframeContentWidth(this)";$(this).attr("onload",e)})}return{init:e,setIframeContentWidth:n}}();var Luise=Luise||{};Luise.FuFormularOrdner=function(){function e(){if(k=n(),null!=k&&$("#"+k).length)try{F=Luise.ResponsiveHandler,r(),o(),s(),a(k)&&(l(),c(),i(),t())}catch(e){throw new Error("Form cannot be initialized:\n"+e)}}function t(){F.addWindowResizeEvent(C)}
74function n(){if($("form[data-cms-id]").length){var e=$("form[data-cms-id]").attr("data-cms-id");if(null!=e)return e}return null}function i(){$("#change_captcha_btn").click(function(){s()}),$("#form_send").click(function(){w()}),$("#form_modal_popup").click(function(){u()})}function a(e){var t=$("#"+e+" #form_submitted");return null!=t&&"0"==t.val()?!0:!1}function r(){null!=document.getElementById(k+"_location")&&$("#"+k+" #"+k+"_location").val(window.location.href)}function o(){var e=b(),t="dd/mm/yyyy",n="en";"DE"==e&&(t="dd.mm.yyyy",n="de");var i=$("input[id$='_date_picker']").datepicker({format:t,clearBtn:!0,language:n}).on("changeDate",function(){i.datepicker("hide")})}function s(){var e=$("#captchaDivChallenge");if(void 0!=e){var t=Math.floor(1e8*Math.random()+1e8)+(new Date).getUTCDate(),n=$("#captchaDivChallenge").data().captchaImageUrl;n+="?captcha_key="+t,$("#captchaDivChallenge #captcha_img").length?$("#captchaDivChallenge #captcha_img").attr("src",n):$("#captchaDivChallenge").prepend("<img id='captcha_img' src='"+n+"' height='50px' width='200px'>"),$("#captchaDivChallenge #captcha_key").attr("value",t)}}function l(){var e=p();if(null!=e)try{I=$("#"+k).validate({rules:e,errorPlacement:function(){},highlight:function(e){_(e,!0)},unhighlight:function(e){_(e,!1)}})}catch(t){throw new Error("Form validator cannot be initialized.")}}function c(){$("#"+k+" input, #"+k+" select, #"+k+" textarea").each(function(){$(this).change(function(){x()})})}function u(){$("#errorMessagesList").html(""),$("#error_explanation").attr("style","display:none"),D=!1}function d(){var e=f();if(E(e)){for(var t=$("<div></div>"),n=0;n<e.length;n++)$(t).append(e[n]);$("#errorMessagesList").append(t),$("#error_explanation").attr("style","display:block; z-index:"+y()),$('[data-toggle="tooltip"]').tooltip(),C()}D=!0}function h(){u(),$("#"+k).valid()||d()}function p(){if(null!=document.getElementById(k)&&null!=document.getElementById(k+"_constraints"))try{var e={},t=JSON.parse($("#"+k+"_constraints").val());return $.each(t,function(t,n){var i={};for(var a in n)null!=n[a]&&(i[a]=JSON.parse(n[a]));e[t]=i}),e}catch(n){}return null}function f(){if(null==document.getElementById(k))return null;var e=[],t={};return $("#"+k+" input, #"+k+" select, #"+k+" textarea").each(function(){var n=$(this),i=n.attr("id");E(i)&&null==t[i]&&(t[i]=!0,n.valid()||e.push(g(i)))}),e.length>0?e:null}function g(e){var t=v(e),n=m(e),i=null;return null==t?i=$("<a href='#'>"+n+"</a>"):(i="<a href='#' data-container='body' data-toggle='tooltip' data-placement='bottom' ",i+="data-original-title='"+t+"' >"+n+"</a>",i=$(i)),$(i).click(function(t){t.preventDefault(),$("#"+e).focus()}),i}function m(e){var t=$("#"+k+" .control-label[for='"+e+"']'");if(null!=t){var n=$(t).text();if(E(n))return n.replace("*","").trim()}return e}function v(e){var t=I.errorList;if(null!=t)for(var n=0;n<t.length;n++)if(t[n].element.id==e)return t[n].message;return null}function y(){var e=Math.max.apply(null,$.map($("body > *"),function(e){return"static"!=$(e).css("position")?parseInt($(e).css("z-index"))||1:void 0}));return null==e&&(e=100),e}function b(){var e="EN",t=$("#"+k+" #form_locatlization");return null!=t&&E(t.val())&&(e=t.val().toUpperCase()),e}function w(){u(),$("#"+k).valid()?(T(),$("#"+k).submit()):d()}function x(){D&&h()}function T(){var e=$("#"+k+" #form_submitted");null!=e&&e.val("1")}function E(e){return null!=e&&e.length>0}function S(e){return null!=e&&null!=$(e).attr("type")&&"checkbox"==$(e).attr("type")?!0:!1}function A(e){return null!=e&&null!=$(e).attr("type")&&"radio"==$(e).attr("type")?!0:!1}function C(){F.isDisplayMobile()?$("#error_explanation").attr("class","messages-static"):$("#error_explanation").attr("class","messages-fixed")}function _(e,t){S(e)||A(e)?t?$(e).parent("label").parent("div").parent("div").parent("div").parent("div").addClass("error"):$(e).parent("label").parent("div").parent("div").parent("div").parent("div").removeClass("error"):t?$(e).parent("div").parent("div").addClass("error"):$(e).parent("div").parent("div").removeClass("error")}var k=null,I=null,D=!1,F=null;return{init:e,initCaptcha:s,submitBtnClick:w,closeErrorsPopUp:u,showErrorsPopUp:d}}();var Luise=Luise||{};Luise.FuMitarbOrdner=function(){function e(){$(".cms-tabs").length&&t(),$("#ma_search_filter").length&&n()}function t(){$('a[data-toggle="tab"]').on("click",function(){var e=$
74("#"+this.id);$('a[data-toggle="tab"]').attr("aria-expanded","false"),e.attr("aria-expanded","true")})}function n(){$("#ma_search_filter").on("click keyup",function(){a()})}function i(){var e=$("#fub-params").attr("data-get-param-show");return null!=e&&"profs"==e?0:1}function a(){var e=$("#cms-search-results"),t=$("#ma_search_filter"),n=t.val();if(r!=n){var a=window.location.href.split("#")[0]+"?irq=1",o="";0==i()&&(o="&show=profs"),setTimeout("",100),r=n.trim(),1!=r.length&&t.val()==r&&(r.length>=2&&(o+="&q="+r),Luise.AjaxLoader.loadUrl(a+o,e))}}var r="";return{init:e}}();var Luise=Luise||{};Luise.FuNewsOrdner=function(){function e(e,n){e.preventDefault();var i=$(n).parent(),a=$(n).parents(".box-news-list-v3"),r=$(i).children(".spinner");$(r).show(),t(a,i)}function t(e,t){var n=$(t).data("ajax-url");null!=n&&n.length>1&&$.ajax({url:n,success:function(n){$(e).append(n),$(t).remove()}})}return{onClickList:e}}();var Luise=Luise||{};Luise.FuProjectListeOrdner=function(){function e(){$(".btn-group.box-project-list-btn-group").show(),$("#btn_current_project").click(t),$("#btn_finished_project").click(n),$("#btn_all_projects").click(i)}function t(){$("#finished_projects").hide(),$("#current_projects").show(),$("#btn_current_project").addClass("active"),$("#btn_finished_project").removeClass("active"),$("#btn_all_projects").removeClass("active")}function n(){$("#current_projects").hide(),$("#finished_projects").show(),$("#btn_finished_project").addClass("active"),$("#btn_current_project").removeClass("active"),$("#btn_all_projects").removeClass("active")}function i(){$("#current_projects").show(),$("#finished_projects").show(),$("#btn_all_projects").addClass("active"),$("#btn_current_project").removeClass("active"),$("#btn_finished_project").removeClass("active")}return{init:e}}();var Luise=Luise||{};Luise.FuRssDok=function(){function e(){$(".rss_doc").length&&t()}function t(){$(".rss_doc:not('.spinner')").each(function(){Luise.AjaxLoader.loadBox(this)})}return{init:e}}();var Luise=Luise||{};Luise.FuSitemapOrdner=function(){function e(){$(".sitemap").length&&($(".sitemap-close, .sitemap-level-2, .sitemap-level-3, .sitemap-level-4, .sitemap-level-5").hide(),$(".sitemap-expand").click(function(){$(".sitemap-close, .sitemap-open, .sitemap-level-2, .sitemap-level-3, .sitemap-level-4, .sitemap-level-5").toggle()}))}return{init:e}}();var Luise=Luise||{};Luise.FuSpotlightBox=function(){function e(){$(".box-spotlight").length&&t()}function t(){i=$(".box-spotlight").children(".spinner")[0],$(".box-spotlight").children(".spinner").remove()}function n(e,t){e.preventDefault();var n=$(t).data("ajax-url"),a=$(t).parents(".box-spotlight");$(a).children().remove(),$(a).append(i),Luise.AjaxLoader.loadUrl(n,a)}var i=null;return{init:e,onClick:n}}();var Luise=Luise||{};Luise.FuSpotlightKarussellBox=function(){function e(){l=$(".box-carousel-spotlight.fu-spotlight-box"),l.length&&(c=Luise.ResponsiveHandler,u=".box-carousel-spotlight-container",d=".box-carousel-spotlight-element",h=".box-carousel-spotlight-pager",p=".box-carousel-spotlight-controls-next",f=".box-carousel-spotlight-controls-prev",g=".box-carousel-spotlight-element-spinner",t(),a())}function t(){$(l).each(function(){$(this).show(),Luise.Cycle2Handler.initCarouselWithAjaxLoad(n(this)),Luise.CarouselUtils.initPrevNextBtnIcons(i(this)),r(this)})}function n(e){return{container:e,carouselClass:u,slideClass:d,pagerClass:h,hasPager:!1,allowWrap:!1,cycleBeforeHandler:o}}function i(e){return{container:e,carouselClass:u,slideClass:d,pagerClass:h,prevBtnClass:f,nextBtnClass:p}}function a(){c.addHiddenElementsForResize(l),c.addWindowResizeEvent(t)}function r(e){var t=$(e).find(u),n=$(e).find(p),i=$(e).find(f);$(n).off("click"),$(n).click(function(){$(t).cycle("next",1)}),$(i).off("click"),$(i).click(function(){$(t).cycle("prev",1)})}function o(e){var t=s(e);if(null!=t){var n=$(t).data("ajax-url");$.ajax({url:n,success:function(e){$(t).html(e)}})}}function s(e){for(var t=$(e).find(d),n=0;n<t.length;n++)if("0"==$(t[n]).attr("data-showed"))return $(t[n]).attr("data-showed","1"),t[n];return null}var l=null,c=null,u=null,d=null,h=null,p=null,f=null,g=null;return{init:e,nextSlideLoad:o}}();var Luise=Luise||{};Luise.FuTerminOrdner=function(){function e(){$(".events").length&&(t(),i()),a()}function t(){s=$(".events").children(".spinner")[0],$(".events").children(".spinner").remove()}function n(e,t){e.preventDefault();var n=$(t).data("ajax-url"),i=$(t).parents(".events");$(i).children().remove(),$(i).append(s),Luise.AjaxLoader.loadUrl(n,i)}function i(){$(".events:not('.spinner')").each(function(){Luise.AjaxLoader.loadBox(this)})}function a(){$("#button_current_events").length&&($("#past_events").hide(),$("#button_current_events").click(r),$("#button_past_events").click(o))}function r(){$("#current_events").show(),$("#past_events").hide(),$("#button_current_events").addClass("active"),$("#button_past_events").removeClass("active")}function o(){$("#current_events").hide(),$("#past_events").show(),$("#button_past_events").addClass("active"),$("#button_current_events").removeClass("active")}var s=null;return{init:e,onClick:n}}();var Luise=Luise||{};Luise.PkiPresseOrdner=function(){function e(e,n){e.preventDefault();var i=$(n).parent(),a=$(i).prev(),r=$(i).children(".spinner");$(r).show(),t(a,i)}function t(e,t){var i=$(t).data("ajax-url");null!=i&&i.length>1&&$.ajax({url:i,success:function(i){n(i,e,t)}})}function n(e,t,n){$(n).remove(),$(t).append(e),n=$(t).find(".box-article-list-more-items"),n.length&&($(n).remove(),$(n).insertAfter(t))}return{moreItemOnClick:e}}();var SzOrdner=function(){function e(){$("[data-toggle='popover']").each(function(){$(this).popover("hide")})}function t(e){var t=this;$("[data-toggle='popover']").each(function(){$(this).popover(t===this?"toggle":"hide")}),e.stopPropagation(),e.preventDefault()}var n={};return n.init=function(){$("[data-toggle='popover']").each(function(){$(this).click(t)}),$("html").click(e)},n}(),Luise=Luise||{};
74Luise.AccordionHandler=function(){function e(){var e=$(".cms-accordion");e.length&&($(".collapse").collapse({toggle:!1}),t(),n(),i(),a())}function t(){var e=document.location.toString().split("#");e.length>1&&(anchor=e[1],$(".panel-heading a[id="+anchor+"]").click())}function n(){$(".box-accordion-open").click(o),$(".box-accordion-close").click(s)}function i(){var e=$('a[aria-expanded="true"]');e.length&&$(e).click()}function a(){$('a[data-toggle="collapse"]').on("click",function(){var e=$("#"+this.id);$(e).hasClass("collapsed")?$(e).attr("aria-expanded","true"):$(e).attr("aria-expanded","false"),r(e)})}function r(e){var t=$(e).parent().parent().parent(),n=$(t).find("div[id^=galleria_]");n.length&&setTimeout(function(){try{Luise.FuBildergalerieOrdner.initGalleria(n)}catch(e){}},300)}function o(){for(var e=$("a.collapsed"),t=0,n=e.length;n>t;t++)e[t].click();l()}function s(){l(),$(".cms-accordion .panel-group .panel-collapse").collapse("hide"),$(".cms-accordion .panel-group .panel-title a").collapse("show").addClass("collapsed").attr("aria-expanded","false")}function l(){$(".box-accordion-open, .box-accordion-close").toggleClass("hide")}return{init:e}}();var Luise=Luise||{};Luise.AjaxBoxNavigation=function(){function e(){$(".cms-box-ajax-content").length&&(t(),n())}function t(){a=$(".cms-box-ajax-content").children(".spinner")[0]}function n(){$(".cms-box-ajax-content:not('.spinner')").each(function(){Luise.AjaxLoader.loadBox(this)})}function i(e,t){e.preventDefault();var n=$(t).data("ajax-url"),i=$(t).parents(".cms-box-ajax-content");$(i).children().remove(),$(i).append(a),Luise.AjaxLoader.loadUrl(n,i)}var a=null;return{init:e,onClick:i}}();var Luise=Luise||{};Luise.AjaxLoader=function(){function e(e){var t=$(e).data("ajax-url");null!=t&&t.length>1&&$.ajax({url:t,beforeSend:i(e),success:function(t){a(t,e)}})}function t(e,t){null!=e&&e.length>1&&$.ajax({url:e,beforeSend:i(t),success:function(e){a(e,t)}})}function n(e,n,i){e.preventDefault();var a=$(n).data("ajax-url"),r=$(i);$(r).children().remove(),t(a,r)}function i(e){$(e).children(".spinner").show()}function a(e,t){$(t).html(e)}return{loadBox:e,loadUrl:t,loadContent:n}}();var Luise=Luise||{};Luise.CarouselUtils=function(){function e(e){var n=$(e.container).find(e.carouselClass),i=$(n).find(e.slideClass).not(".cycle-sentinel"),a=Luise.Cycle2Handler.getShovedItemsSize(e.container),r=$(e.container).find(e.prevBtnClass),o=$(e.container).find(e.nextBtnClass),s=$(e.container).find(e.pagerClass);i.length<=a?($(r).hide(),$(o).hide(),$(s).hide()):($(r).hide(),$(o).show(),$(n).on("cycle-after",function(){t(e.container,i,r,o)}))}function t(e,t,i,a){var r=n(t),o=Luise.Cycle2Handler.getShovedItemsSize(e);0==r?($(i).fadeOut(200),$(a).fadeIn(500)):r==t.length-o?($(i).fadeIn(500),$(a).fadeOut(200)):r>=1&&r<t.length&&($(i).fadeIn(500),$(a).fadeIn(500))}function n(e){for(var t=0;t<e.length;t++)if($(e[t]).hasClass("cycle-slide-active"))return t;return-1}return{initPrevNextBtnIcons:e}}();var Luise=Luise||{};Luise.Cycle2Handler=function(){function e(e){var t=$(e.container).children(e.carouselClass);$(t).children(".cycle-sentinel").length&&i(t);var n=a(e);return $(t).cycle(n),setTimeout(function(){o(t)},600),t}function t(t){var n=e(t);$(n).on("cycle-before",function(){t.cycleBeforeHandler(this)})}function n(e){var t=$(e.container).children(e.slideshowClass);i(t);var n=r(e);$(t).cycle(n),l(t,e),$(t).on("cycle-before",function(t,n,i,a){c(e,a)}),setTimeout(function(){o(t)},600)}function i(e){$(e).cycle("destroy")}function a(e){var t=s(e.container),n={fx:"carousel",slides:e.slideClass,carouselVisible:t,carouselFluid:!0,swipe:!0,allowWrap:e.allowWrap,timeout:0,autoHeight:"calc",log:!1};if(e.hasPager){var i=$(e.container).children(".box-carousel-pager"),a="#"+i.attr("id"),r={pager:a,pagerTemplate:"<span class='fa fa-circle-o'></span>",pagerActiveClass:"fa-circle"};$.extend(n,r)}return n}function r(e){var t={slides:e.slideClass,centerHorz:!0,centerVert:!0,swipe:!0,autoHeight:"calc",overlay:e.overlayClass,caption:e.captionClass,fx:"scrollHorz",timeout:1e4,log:!1},n=$(e.container).children(e.pagerClass);if(n.length){var i="#"+n.attr("id"),a={pager:i,pagerTemplate:"<span class='fa fa-circle-o'></span>",pagerActiveClass:"fa-circle"};$.extend(t,a)}return t}function o(e){var t=$(e).find(".cycle-sentinel");
74if(t.length>1)for(var n=1;n<t.length;n++)$(t[n]).remove()}function s(e){var t=$(e).data("breakpont-sizes"),n=Luise.ResponsiveHandler.getDisplaySize();switch(n){case"XL":return t.XL;case"L":return t.L;case"M":return t.M;case"S":return t.S;case"XS":return t.XS;default:return 1}}function l(e,t){var n=$(t.container).find(t.overlayClass),i=$(e).find(t.slideClass);$(n).addClass($(i[0]).data("overlay-align"))}function c(e,t){var n=$(e.container).find(e.overlayClass);$(n).removeClass("overlay-left"),$(n).removeClass("overlay-right"),$(n).addClass($(t).data("overlay-align"))}Luise.ResponsiveHandler;return{initCarousel:e,initSlideshow:n,initCarouselWithAjaxLoad:t,getShovedItemsSize:s}}();var Luise=Luise||{};Luise.ResponsiveHandler=function(){function e(){h=currentMQ,u(o),t()}function t(){$(window).resize(function(){clearTimeout(g),g=setTimeout(n,500)})}function n(){if(r()){l();for(var e=0;e<p.length;e++)p[e].call();c()}}function i(){return"L"==currentMQ||"XL"==currentMQ?!1:!0}function a(){return"S"==currentMQ||"XS"==currentMQ?!0:!1}function r(){return!(h==currentMQ)}function o(){h=currentMQ}function s(){return h}function l(){$(f).each(function(){$(this).hide()})}function c(){$(f).each(function(){$(this).show()})}function u(e){p.push(e)}function d(e){$(e).each(function(){f.push(this)})}var h=null,p=[],f=[],g=null;return{init:e,isDisplayMobile:i,isDisplayMobileSmall:a,addWindowResizeEvent:u,addHiddenElementsForResize:d,getDisplaySize:s}}();var Luise=Luise||{};Luise.Searchable=function(){function e(){$("#cms-searchable-search-form-input").length&&(c=$("#cms-searchable-search-form-input"),i(),t()),$("#cms-searchable-sort-mode").length&&(u=$("#cms-searchable-sort-mode"),u.length&&(a(),n())) 75}function t(){var e=$("#cms-searchable");if(e.length&&e.length>0){var t=e.attr("data-name"),n=e.attr("data-query");null!=t&&t.length>0&&(c.val(t),c.keyup()),null!=n&&n.length>0&&($("#cms-searchable-filter-all").attr("checked",!0),c.val(n),c.keyup())}}function n(){$("#cms-searchable-sort-by").toggle(s,o)}function i(){c.keyup(function(){r()}),$("#cms-searchable-filter-name").length&&$("#cms-searchable-filter-name").click(function(){r()}),$("#cms-searchable-filter-title").length&&$("#cms-searchable-filter-title").click(function(){r()}),$("#cms-searchable-filter-all").length&&$("#cms-searchable-filter-all").click(function(){r()})}function a(){jQuery.fn.sortElements=function(){var e=[].sort;return function(t,n){n=n||function(){return this};var i=this.map(function(){var e=n.call(this),t=e.parentNode,i=t.insertBefore(document.createTextNode(""),e.nextSibling);return function(){t.insertBefore(this,i),t.removeChild(i)}});return e.call(this,t).each(function(e){i[e].call(n.call(this))})}}()}function r(){var e=$("input:radio:checked").val(),t=c.val(),n=0,i="i";$(".cms-searchable-item").each(function(){var a;switch(e){case"title":a=$(this).find(".cms-searchable-item-title");break;case"name":a=$(this).find(".cms-searchable-item-name");break;default:a=$(this)}t.length>1&&a.eq(0).text().search(new RegExp(t,i))<0?$(this).hide():($(this).show(),n++)}),$("#cms-searchable-search-count").html(n)}function o(){var e=$(".cms-searchable-item");e.length&&(e.sortElements(function(e,t){return l($(e).attr("data-sort"))>l($(t).attr("data-sort"))?-1:1}),$("#cms-searchable-sort-by").text($("#cms-searchable-sort-mode").attr("data-sort-by-string")))}function s(){var e=$(".cms-searchable-item");e.length&&(e.sortElements(function(e,t){return $(e).find(".cms-searchable-item-title").text().toLowerCase()>$(t).find(".cms-searchable-item-title").text().toLowerCase()?1:-1}),$("#cms-searchable-sort-by").text($("#cms-searchable-sort-mode").attr("data-sort-by-date")))}function l(e){var t=e.split("_");return 3==t.length?new Date(t[0],t[1],t[2]):e}var c=null,u=null;return{init:e}}();
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.