vendor: 26,313 bytes, lines 1-25
1/*! 2 * jQuery JavaScript Library v3.5.1 3 * https://jquery.com/ 4 * 5 * Includes Sizzle.js 6 * https://sizzlejs.com/ 7 * 8 * Copyright JS Foundation and other contributors 9 * Released under the MIT license 10 * https://jquery.org/license 11 * 12 * Date: 2020-05-04T22:49Z 13 */ 14!function(e,t){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=e.document?t(e,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return t(e)}:t(e)}("undefined"!=typeof window?window:this,(function(e,t){"use strict";var n=[],i=Object.getPrototypeOf,r=n.slice,s=n.flat?function(e){return n.flat.call(e)}:function(e){return n.concat.apply([],e)},o=n.push,a=n.indexOf,l={},u=l.toString,c=l.hasOwnProperty,d=c.toString,h=d.call(Object),p={},f=function(e){return"function"==typeof e&&"number"!=typeof e.nodeType},m=function(e){return null!=e&&e===e.window},g=e.document,v={type:!0,src:!0,nonce:!0,noModule:!0};function y(e,t,n){var i,r,s=(n=n||g).createElement("script");if(s.text=e,t)for(i in v)(r=t[i]||t.getAttribute&&t.getAttribute(i))&&s.setAttribute(i,r);n.head.appendChild(s).parentNode.removeChild(s)}function b(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?l[u.call(e)]||"object":typeof e}var w="3.5.1",x=function(e,t){return new x.fn.init(e,t)};function C(e){var t=!!e&&"length"in e&&e.length,n=b(e);return!f(e)&&!m(e)&&("array"===n||0===t||"number"==typeof t&&t>0&&t-1 in e)}x.fn=x.prototype={jquery:w,constructor:x,length:0,toArray:function(){return r.call(this)},get:function(e){return null==e?r.call(this):e<0?this[e+this.length]:this[e]},pushStack:function(e){var t=x.merge(this.constructor(),e);return t.prevObject=this,t},each:function(e){return x.each(this,e)},map:function(e){return this.pushStack(x.map(this,(function(t,n){return e.call(t,n,t)})))},slice:function(){return this.pushStack(r.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(x.grep(this,(function(e,t){return(t+1)%2})))},odd:function(){return this.pushStack(x.grep(this,(function(e,t){return t%2})))},eq:function(e){var t=this.length,n=+e+(e<0?t:0);return this.pushStack(n>=0&&n<t?[this[n]]:[])},end:function(){return this.prevObject||this.constructor()},push:o,sort:n.sort,splice:n.splice},x.extend=x.fn.extend=function(){var e,t,n,i,r,s,o=arguments[0]||{},a=1,l=arguments.length,u=!1;for("boolean"==typeof o&&(u=o,o=arguments[a]||{},a++),"object"==typeof o||f(o)||(o={}),a===l&&(o=this,a--);a<l;a++)if(null!=(e=arguments[a]))for(t in e)i=e[t],"__proto__"!==t&&o!==i&&(u&&i&&(x.isPlainObject(i)||(r=Array.isArray(i)))?(n=o[t],s=r&&!Array.isArray(n)?[]:r||x.isPlainObject(n)?n:{},r=!1,o[t]=x.extend(u,s,i)):void 0!==i&&(o[t]=i));return o},x.extend({expando:"jQuery"+(w+Math.random()).replace(/\D/g,""),isReady:!0,error:function(e){throw new Error(e)},noop:function(){},isPlainObject:function(e){var t,n;return!(!e||"[object Object]"!==u.call(e))&&(!(t=i(e))||"function"==typeof(n=c.call(t,"constructor")&&t.constructor)&&d.call(n)===h)},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},globalEval:function(e,t,n){y(e,{nonce:t&&t.nonce},n)},each:function(e,t){var n,i=0;if(C(e))for(n=e.length;i<n&&!1!==t.call(e[i],i,e[i]);i++);else for(i in e)if(!1===t.call(e[i],i,e[i]))break;return e},makeArray:function(e,t){var n=t||[];return null!=e&&(C(Object(e))?x.merge(n,"string"==typeof e?[e]:e):o.call(n,e)),n},inArray:function(e,t,n){return null==t?-1:a.call(t,e,n)},merge:function(e,t){for(var n=+t.length,i=0,r=e.length;i<n;i++)e[r++]=t[i];return e.length=r,e},grep:function(e,t,n){for(var i=[],r=0,s=e.length,o=!n;r<s;r++)!t(e[r],r)!==o&&i.push(e[r]);return i},map:function(e,t,n){var i,r,o=0,a=[];if(C(e))for(i=e.length;o<i;o++)null!=(r=t(e[o],o,n))&&a.push(r);else for(o in e)null!=(r=t(e[o],o,n))&&a.push(r);return s(a)},guid:1,support:p}),"function"==typeof Symbol&&(x.fn[Symbol.iterator]=n[Symbol.iterator]),x.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),(function(e,t){l["[object "+t+"]"]=t.toLowerCase()}));var E= 15/*! 16 * Sizzle CSS Selector Engine v2.3.5 17 * https://sizzlejs.com/ 18 * 19 * Copyright JS Foundation and other contributors 20 * Released under the MIT license 21 * https://js.foundation/ 22 * 23 * Date: 2020-03-14 24 */ 25function(e){var t,n,i,r,s,o,a,l,u,c,d,h,p,f,m,g,v,y,b,w="sizzle"+1*new Date,x=e.document,C=0,E=0,T=ue(),S=ue(),k=ue(),_=ue(),A=function(e,t){return e===t&&(d=!0),0},D={}.hasOwnProperty,z=[],M=z.pop,L=z.push,P=z.push,I=z.slice,O=function(e,t){for(var n=0,i=e.length;n<i;n++)if(e[n]===t)return n;return-1},R="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",N="[\\x20\\t\\r\\n\\f]",H="(?:\\\\[\\da-fA-F]{1,6}[\\x20\\t\\r\\n\\f]?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+",q="\\[[\\x20\\t\\r\\n\\f]*("+H+")(?:"+N+"*([*^$|!~]?=)"+N+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+H+"))|)"+N+"*\\]",B=":("+H+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+q+")*)|.*)\\)|)",j=new RegExp(N+"+","g"),F=new RegExp("^[\\x20\\t\\r\\n\\f]+|((?:^|[^\\\\])(?:\\\\.)*)[\\x20\\t\\r\\n\\f]+$","g"),W=new RegExp("^[\\x20\\t\\r\\n\\f]*,[\\x20\\t\\r\\n\\f]*"),V=new RegExp("^[\\x20\\t\\r\\n\\f]*([>+~]|[\\x20\\t\\r\\n\\f])[\\x20\\t\\r\\n\\f]*"),G=new RegExp(N+"|>"),Y=new RegExp(B),U=new RegExp("^"+H+"$"),X={ID:new RegExp("^#("+H+")"),CLASS:new RegExp("^\\.("+H+")"),TAG:new RegExp("^("+H+"|[*])"),ATTR:new RegExp("^"+q),PSEUDO:new RegExp("^"+B),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\([\\x20\\t\\r\\n\\f]*(even|odd|(([+-]|)(\\d*)n|)[\\x20\\t\\r\\n\\f]*(?:([+-]|)[\\x20\\t\\r\\n\\f]*(\\d+)|))[\\x20\\t\\r\\n\\f]*\\)|)","i"),bool:new RegExp("^(?:"+R+")$","i"),needsContext:new RegExp("^[\\x20\\t\\r\\n\\f]*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\([\\x20\\t\\r\\n\\f]*((?:-\\d)?\\d*)[\\x20\\t\\r\\n\\f]*\\)|)(?=[^-]|$)","i")},K=/HTML$/i,Q=/^(?:input|select|textarea|button)$/i,Z=/^h\d$/i,J=/^[^{]+\{\s*\[native \w/,ee=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,te=/[+~]/,ne=new RegExp("\\\\[\\da-fA-F]{1,6}[\\x20\\t\\r\\n\\f]?|\\\\([^\\r\\n\\f])","g"),ie=function(e,t){var n="0x"+e.slice(1)-65536;return t||(n<0?String.fromCharCode(n+65536):String.fromCharCode(n>>10|55296,1023&n|56320))},re=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,se=function(e,t){return t?"\0"===e?"�":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e},oe=function(){h()},ae=xe((function(e){return!0===e.disabled&&"fieldset"===e.nodeName.toLowerCase()}),{dir:"parentNode",next:"legend"});try{P.apply(z=I.call(x.childNodes),x.childNodes),z[x.childNodes.length].nodeType}catch(e){P={apply:z.length?function(e,t){L.apply(e,I.call(t))}:function(e,t){for(var n=e.length,i=0;e[n++]=t[i++];);e.length=n-1}}}function le(e,t,i,r){var s,a,u,c,d,f,v,y=t&&t.ownerDocument,x=t?t.nodeType:9;if(i=i||[],"string"!=typeof e||!e||1!==x&&9!==x&&11!==x)return i;if(!r&&(h(t),t=t||p,m)){if(11!==x&&(d=ee.exec(e)))if(s=d[1]){if(9===x){if(!(u=t.getElementById(s)))return i;if(u.id===s)return i.push(u),i}else if(y&&(u=y.getElementById(s))&&b(t,u)&&u.id===s)return i.push(u),i}else{if(d[2])return P.apply(i,t.getElementsByTagName(e)),i;if((s=d[3])&&n.getElementsByClassName&&t.getElementsByClassName)return P.apply(i,t.getElementsByClassName(s)),i}if(n.qsa&&!_[e+" "]&&(!g||!g.test(e))&&(1!==x||"object"!==t.nodeName.toLowerCase())){if(v=e,y=t,1===x&&(G.test(e)||V.test(e))){for((y=te.test(e)&&ye(t.parentNode)||t)===t&&n.scope||((c=t.getAttribute("id"))?c=c.replace(re,se):t.setAttribute("id",c=w)),a=(f=o(e)).length;a--;)f[a]=(c?"#"+c:":scope")+" "+we(f[a]);v=f.join(",")}try{return P.apply(i,y.querySelectorAll(v)),i}catch(t){_(e,!0)}finally{c===w&&t.removeAttribute("id")}}}return l(e.replace(F,"$1"),t,i,r)}function ue(){var e=[];return function t(n,r){return e.push(n+" ")>i.cacheLength&&delete t[e.shift()],t[n+" "]=r}}function ce(e){return e[w]=!0,e}function de(e){var t=p.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function he(e,t){for(var n=e.split("|"),r=n.length;r--;)i.attrHandle[n[r]]=t}function pe(e,t){var n=t&&e,i=n&&1===e.nodeType&&1===t.nodeType&&e.sourceIndex-t.sourceIndex;if(i)return i;if(n)for(;n=n.nextSibling;)if(n===t)return-1;return e?1:-1}function fe(e){return function(t){return"input"===t.nodeName.toLowerCase()&&t.type===e}}function me(e){return function(t){var n=t.nodeName.toLowerCase();return("input"===n||"button"===n)&&t.type===e}}function ge(e){return function(t){return"form"in t?t.parentNode&&!1===t.disabled?"label"in t?"label"in t.parentNode?t.parentNode.disabled===e:t.disabled===e:t.isDisabled===e||t.isDisabled!==!e&&ae(t)===e:t.disabled===e:"label"in t&&t.disabled===e}}function ve(e){return ce((function(t){return t=+t,ce((function(n,i){for(var r,s=e([],n.length,t),o=s.length;o--;)n[r=s[o]]&&(n[r]=!(i[r]=n[r]))}))}))}function ye(e){return e&&void 0!==e.getElementsByTagName&&e}for(t in n=le.support={},s=le.isXML=function(e){var t=e.namespaceURI,n=(e.ownerDocument||e).documentElement;return!K.test(t||n&&n.nodeName||"HTML")},h=le.setDocument=function(e){var t,r,o=e?e.ownerDocument||e:x;return o!=p&&9===o.nodeType&&o.documentElement?(f=(p=o).documentElement,m=!s(p),x!=p&&(r=p.defaultView)&&r.top!==r&&(r.addEventListener?r.addEventListener("unload",oe,!1):r.attachEvent&&r.attachEvent("onunload",oe)),n.scope=de((function(e){return f.appendChild(e).appendChild(p.createElement("div")),void 0!==e.querySelectorAll&&!e.querySelectorAll(":scope fieldset div").length})),n.attributes=de((function(e){return e.className="i",!e.getAttribute("className")})),n.getElementsByTagName=de((function(e){return e.appendChild(p.createComment("")),!e.getElementsByTagName("*").length})),n.getElementsByClassName=J.test(p.getElementsByClassName),n.getById=de((function(e){return f.appendChild(e).id=w,!p.getElementsByName||!p.getElementsByName(w).length})),n.getById?(i.filter.ID=function(e){var t=e.replace(ne,ie);return function(e){return e.getAttribute("id")===t}},i.find.ID=function(e,t){if(void 0!==t.getElementById&&m){var n=t.getElementById(e);return n?[n]:[]}}):(i.filter.ID=function(e){var t=e.replace(ne,ie);return function(e){var n=void 0!==e.getAttributeNode&&e.getAttributeNode("id");return n&&n.value===t}},i.find.ID=function(e,t){if(void 0!==t.getElementById&&m){var n,i,r,s=t.getElementById(e);if(s){if((n=s.getAttributeNode("id"))&&n.value===e)return[s];for(r=t.getElementsByName(e),i=0;s=r[i++];)if((n=s.getAttributeNode("id"))&&n.value===e)return[s]}return[]}}),i.find.TAG=n.getElementsByTagName?function(e,t){return void 0!==t.getElementsByTagName?t.getElementsByTagName(e):n.qsa?t.querySelectorAll(e):void 0}:function(e,t){var n,i=[],r=0,s=t.getElementsByTagName(e);if("*"===e){for(;n=s[r++];)1===n.nodeType&&i.push(n);return i}return s},i.find.CLASS=n.getElementsByClassName&&function(e,t){if(void 0!==t.getElementsByClassName&&m)return t.getElementsByClassName(e)},v=[],g=[],(n.qsa=J.test(p.querySelectorAll))&&(de((function(e){var t;f.appendChild(e).innerHTML="<a id='"+w+"'></a><select id='"+w+"-\r\\' msallowcapture=''><option selected=''></option></select>",e.querySelectorAll("[msallowcapture^='']").length&&g.push("[*^$]=[\\x20\\t\\r\\n\\f]*(?:''|\"\")"),e.querySelectorAll("[selected]").length||g.push("\\[[\\x20\\t\\r\\n\\f]*(?:value|"+R+")"),e.querySelectorAll("[id~="+w+"-]").length||g.push("~="),(t=p.createElement("input")).setAttribute("name",""),e.appendChild(t),e.querySelectorAll("[name='']").length||g.push("\\[[\\x20\\t\\r\\n\\f]*name[\\x20\\t\\r\\n\\f]*=[\\x20\\t\\r\\n\\f]*(?:''|\"\")"),e.querySelectorAll(":checked").length||g.push(":checked"),e.querySelectorAll("a#"+w+"+*").length||g.push(".#.+[+~]"),e.querySelectorAll("\\\f"),g.push("[\\r\\n\\f]")})),de((function(e){e.innerHTML="<a href='' disabled='disabled'></a><select disabled='disabled'><option/></select>";var t=p.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&g.push("name[\\x20\\t\\r\\n\\f]*[*^$|!~]?="),2!==e.querySelectorAll(":enabled").length&&g.push(":enabled",":disabled"),f.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&g.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),g.push(",.*:")}))),(n.matchesSelector=J.test(y=f.matches||f.webkitMatchesSelector||f.mozMatchesSelector||f.oMatchesSelector||f.msMatchesSelector))&&de((function(e){n.disconnectedMatch=y.call(e,"*"),y.call(e,"[s!='']:x"),v.push("!=",B)})),g=g.length&&new RegExp(g.join("|")),v=v.length&&new RegExp(v.join("|")),t=J.test(f.compareDocumentPosition),b=t||J.test(f.contains)?function(e,t){var n=9===e.nodeType?e.documentElement:e,i=t&&t.parentNode;return e===i||!(!i||1!==i.nodeType||!(n.contains?n.contains(i):e.compareDocumentPosition&&16&e.compareDocumentPosition(i)))}:function(e,t){if(t)for(;t=t.parentNode;)if(t===e)return!0;return!1},A=t?function(e,t){if(e===t)return d=!0,0;var i=!e.compareDocumentPosition-!t.compareDocumentPosition;return i||(1&(i=(e.ownerDocument||e)==(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!n.sortDetached&&t.compareDocumentPosition(e)===i?e==p||e.ownerDocument==x&&b(x,e)?-1:t==p||t.ownerDocument==x&&b(x,t)?1:c?O(c,e)-O(c,t):0:4&i?-1:1)}:function(e,t){if(e===t)return d=!0,0;var n,i=0,r=e.parentNode,s=t.parentNode,o=[e],a=[t];if(!r||!s)return e==p?-1:t==p?1:r?-1:s?1:c?O(c,e)-O(c,t):0;if(r===s)return pe(e,t);for(n=e;n=n.parentNode;)o.unshift(n);for(n=t;n=n.parentNode;)a.unshift(n);for(;o[i]===a[i];)i++;return i?pe(o[i],a[i]):o[i]==x?-1:a[i]==x?1:0},p):p},le.matches=function(e,t){return le(e,null,null,t)},le.matchesSelector=function(e,t){if(h(e),n.matchesSelector&&m&&!_[t+" "]&&(!v||!v.test(t))&&(!g||!g.test(t)))try{var i=y.call(e,t);if(i||n.disconnectedMatch||e.document&&11!==e.document.nodeType)return i}catch(e){_(t,!0)}return le(t,p,null,[e]).length>0},le.contains=function(e,t){return(e.ownerDocument||e)!=p&&h(e),b(e,t)},le.attr=function(e,t){(e.ownerDocument||e)!=p&&h(e);var r=i.attrHandle[t.toLowerCase()],s=r&&D.call(i.attrHandle,t.toLowerCase())?r(e,t,!m):void 0;return void 0!==s?s:n.attributes||!m?e.getAttribute(t):(s=e.getAttributeNode(t))&&s.specified?s.value:null},le.escape=function(e){return(e+"").replace(re,se)},le.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},le.uniqueSort=function(e){var t,i=[],r=0,s=0;if(d=!n.detectDuplicates,c=!n.sortStable&&e.slice(0),e.sort(A),d){for(;t=e[s++];)t===e[s]&&(r=i.push(s));for(;r--;)e.splice(i[r],1)}return c=null,e},r=le.getText=function(e){var t,n="",i=0,s=e.nodeType;if(s){if(1===s||9===s||11===s){if("string"==typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)n+=r(e)}else if(3===s||4===s)return e.nodeValue}else for(;t=e[i++];)n+=r(t);return n},(i=le.selectors={cacheLength:50,createPseudo:ce,match:X,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(ne,ie),e[3]=(e[3]||e[4]||e[5]||"").replace(ne,ie),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||le.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&le.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return X.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&Y.test(n)&&(t=o(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(ne,ie).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=T[e+" "];return t||(t=new RegExp("(^|[\\x20\\t\\r\\n\\f])"+e+"("+N+"|$)"))&&T(e,(function(e){return t.test("string"==typeof e.className&&e.className||void 0!==e.getAttribute&&e.getAttribute("class")||"")}))},ATTR:function(e,t,n){return function(i){var r=le.attr(i,e);return null==r?"!="===t:!t||(r+="","="===t?r===n:"!="===t?r!==n:"^="===t?n&&0===r.indexOf(n):"*="===t?n&&r.indexOf(n)>-1:"$="===t?n&&r.slice(-n.length)===n:"~="===t?(" "+r.replace(j," ")+" ").indexOf(n)>-1:"|="===t&&(r===n||r.slice(0,n.length+1)===n+"-"))}},CHILD:function(e,t,n,i,r){var s="nth"!==e.slice(0,3),o="last"!==e.slice(-4),a="of-type"===t;return 1===i&&0===r?function(e){return!!e.parentNode}:function(t,n,l){var u,c,d,h,p,f,m=s!==o?"nextSibling":"previousSibling",g=t.parentNode,v=a&&t.nodeName.toLowerCase(),y=!l&&!a,b=!1;if(g){if(s){for(;m;){for(h=t;h=h[m];)if(a?h.nodeName.toLowerCase()===v:1===h.nodeType)return!1;f=m="only"===e&&!f&&"nextSibling"}return!0}if(f=[o?g.firstChild:g.lastChild],o&&y){for(b=(p=(u=(c=(d=(h=g)[w]||(h[w]={}))[h.uniqueID]||(d[h.uniqueID]={}))[e]||[])[0]===C&&u[1])&&u[2],h=p&&g.childNodes[p];h=++p&&h&&h[m]||(b=p=0)||f.pop();)if(1===h.nodeType&&++b&&h===t){c[e]=[C,p,b];break}}else if(y&&(b=p=(u=(c=(d=(h=t)[w]||(h[w]={}))[h.uniqueID]||(d[h.uniqueID]={}))[e]||[])[0]===C&&u[1]),!1===b)for(;(h=++p&&h&&h[m]||(b=p=0)||f.pop())&&((a?h.nodeName.toLowerCase()!==v:1!==h.nodeType)||!++b||(y&&((c=(d=h[w]||(h[w]={}))[h.uniqueID]||(d[h.uniqueID]={}))[e]=[C,b]),h!==t)););return(b-=r)===i||b%i==0&&b/i>=0}}},PSEUDO:function(e,t){var n,r=i.pseudos[e]||i.setFilters[e.toLowerCase()]||le.error("unsupported pseudo: "+e);return r[w]?r(t):r.length>1?(n=[e,e,"",t],i.setFilters.hasOwnProperty(e.toLowerCase())?ce((function(e,n){for(var i,s=r(e,t),o=s.length;o--;)e[i=O(e,s[o])]=!(n[i]=s[o])})):function(e){return r(e,0,n)}):r}},pseudos:{not:ce((function(e){var t=[],n=[],i=a(e.replace(F,"$1"));return i[w]?ce((function(e,t,n,r){for(var s,o=i(e,null,r,[]),a=e.length;a--;)(s=o[a])&&(e[a]=!(t[a]=s))})):function(e,r,s){return t[0]=e,i(t,null,s,n),t[0]=null,!n.pop()}})),has:ce((function(e){return function(t){return le(e,t).length>0}})),contains:ce((function(e){return e=e.replace(ne,ie),function(t){return(t.textContent||r(t)).indexOf(e)>-1}})),lang:ce((function(e){return U.test(e||"")||le.error("unsupported lang: "+e),e=e.replace(ne,ie).toLowerCase(),function(t){var n;do{if(n=m?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang"))return(n=n.toLowerCase())===e||0===n.indexOf(e+"-")}while((t=t.parentNode)&&1===t.nodeType);return!1}})),target:function(t){var n=e.location&&e.location.hash;return n&&n.slice(1)===t.id},root:function(e){return e===f},focus:function(e){return e===p.activeElement&&(!p.hasFocus||p.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:ge(!1),disabled:ge(!0),checked:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&!!e.checked||"option"===t&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,!0===e.selected},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeType<6)return!1;return!0},parent:function(e){return!i.pseudos.empty(e)},header:function(e){return Z.test(e.nodeName)},input:function(e){return Q.test(e.nodeName)},button:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&"button"===e.type||"button"===t},text:function(e){var t;return"input"===e.nodeName.toLowerCase()&&"text"===e.type&&(null==(t=e.getAttribute("type"))||"text"===t.toLowerCase())},first:ve((function(){return[0]})),last:ve((function(e,t){return[t-1]})),eq:ve((function(e,t,n){return[n<0?n+t:n]})),even:ve((function(e,t){for(var n=0;n<t;n+=2)e.push(n);return e})),odd:ve((function(e,t){for(var n=1;n<t;n+=2)e.push(n);return e})),lt:ve((function(e,t,n){for(var i=n<0?n+t:n>t?t:n;--i>=0;)e.push(i);return e})),gt:ve((function(e,t,n){for(var i=n<0?n+t:n;++i<t;)e.push(i);return e}))}}).pseudos.nth=i.pseudos.eq,{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})i.pseudos[t]=fe(t);for(t in{submit:!0,reset:!0})i.pseudos[t]=me(t);function be(){}function we(e){for(var t=0,n=e.length,i="";t<n;t++)i+=e[t].value;return i}function xe(e,t,n){var i=t.dir,r=t.next,s=r||i,o=n&&"parentNode"===s,a=E++;return t.first?function(t,n,r){for(;t=t[i];)if(1===t.nodeType||o)return e(t,n,r);return!1}:function(t,n,l){var u,c,d,h=[C,a];if(l){for(;t=t[i];)if((1===t.nodeType||o)&&e(t,n,l))return!0}else for(;t=t[i];)if(1===t.nodeType||o)if(c=(d=t[w]||(t[w]={}))[t.uniqueID]||(d[t.uniqueID]={}),r&&r===t.nodeName.toLowerCase())t=t[i]||t;else{if((u=c[s])&&u[0]===C&&u[1]===a)return h[2]=u[2];if(c[s]=h,h[2]=e(t,n,l))return!0}return!1}}function Ce(e){return e.length>1?function(t,n,i){for(var r=e.length;r--;)if(!e[r](t,n,i))return!1;return!0}:e[0]}function Ee(e,t,n,i,r){for(var s,o=[],a=0,l=e.length,u=null!=t;a<l;a++)(s=e[a])&&(n&&!n(s,i,r)||(o.push(s),u&&t.push(a)));return o}function Te(e,t,n,i,r,s){return i&&!i[w]&&(i=Te(i)),r&&!r[w]&&(r=Te(r,s)),ce((function(s,o,a,l){var u,c,d,h=[],p=[],f=o.length,m=s||function(e,t,n){for(var i=0,r=t.length;i<r;i++)le(e,t[i],n);return n}(t||"*",a.nodeType?[a]:a,[]),g=!e||!s&&t?m:Ee(m,h,e,a,l),v=n?r||(s?e:f||i)?[]:o:g;if(n&&n(g,v,a,l),i)for(u=Ee(v,p),i(u,[],a,l),c=u.length;c--;)(d=u[c])&&(v[p[c]]=!(g[p[c]]=d));if(s){if(r||e){if(r){for(u=[],c=v.length;c--;)(d=v[c])&&u.push(g[c]=d);r(null,v=[],u,l)}for(c=v.length;c--;)(d=v[c])&&(u=r?O(s,d):h[c])>-1&&(s[u]=!(o[u]=d))}}else v=Ee(v===o?v.splice(f,v.length):v),r?r(null,o,v,l):P.apply(o,v)}))}function Se(e){for(var t,n,r,s=e.length,o=i.relative[e[0].type],a=o||i.relative[" "],l=o?1:0,c=xe((function(e){return e===t}),a,!0),d=xe((function(e){return O(t,e)>-1}),a,!0),h=[function(e,n,i){var r=!o&&(i||n!==u)||((t=n).nodeType?c(e,n,i):d(e,n,i));return t=null,r}];l<s;l++)if(n=i.relative[e[l].type])h=[xe(Ce(h),n)];else{if((n=i.filter[e[l].type].apply(null,e[l].matches))[w]){for(r=++l;r<s&&!i.relative[e[r].type];r++);return Te(l>1&&Ce(h),l>1&&we(e.slice(0,l-1).concat({value:" "===e[l-2].type?"*":""})).replace(F,"$1"),n,l<r&&Se(e.slice(l,r)),r<s&&Se(e=e.slice(r)),r<s&&we(e))}h.push(n)}return Ce(h)}return be.prototype=i.filters=i.pseudos,i.setFilters=new be,o=le.tokenize=function(e,t){var n,r,s,o,a,l,u,c=S[e+" "];if(c)return t?0:c.slice(0);for(a=e,l=[],u=i.preFilter;a;){for(o in n&&!(r=W.exec(a))||(r&&(a=a.slice(r[0].length)||a),l.push(s=[])),n=!1,(r=V.exec(a))&&(n=r.shift(),s.push({value:n,type:r[0].replace(F," ")}),a=a.slice(n.length)),i.filter)!(r=X[o].exec(a))||u[o]&&!(r=u[o](r))||(n=r.shift(),s.push({value:n,type:o,matches:r}),a=a.slice(n.length));if(!n)break}return t?a.length:a?le.error(e):S(e,l).slice(0)},a=le.compile=function(e,t){var n,r=[],s=[],a=k[e+" "];if(!a){for(t||(t=o(e)),n=t.length;n--;)(a=Se(t[n]))[w]?r.push(a):s.push(a);(a=k(e,function(e,t){var n=t.length>0,r=e.length>0,s=function(s,o,a,l,c){var d,f,g,v=0,y="0",b=s&&[],w=[],x=u,E=s||r&&i.find.TAG("*",c),T=C+=null==x?1:Math.random()||.1,S=E.length;for(c&&(u=o==p||o||c);y!==S&&null!=(d=E[y]);y++){if(r&&d){for(f=0,o||d.ownerDocument==p||(h(d),a=!m);g=e[f++];)if(g(d,o||p,a)){l.push(d);break}c&&(C=T)}n&&((d=!g&&d)&&v--,s&&b.push(d))}if(v+=y,n&&y!==v){for(f=0;g=t[f++];)g(b,w,o,a);if(s){if(v>0)for(;y--;)b[y]||w[y]||(w[y]=M.call(l));w=Ee(w)}P.apply(l,w),c&&!s&&w.length>0&&v+t.length>1&&le.uniqueSort(l)}return c&&(C=T,u=x),b};return n?ce(s):s}(s,r))).selector=e}return a},l=le.select=function(e,t,n,r){var s,l,u,c,d,h="function"==typeof e&&e,p=!r&&o(e=h.selector||e);if(n=n||[],1===p.length){if((l=p[0]=p[0].slice(0)).length>2&&"ID"===(u=l[0]).type&&9===t.nodeType&&m&&i.relative[l[1].type]){if(!(t=(i.find.ID(u.matches[0].replace(ne,ie),t)||[])[0]))return n;h&&(t=t.parentNode),e=e.slice(l.shift().value.length)}for(s=X.needsContext.test(e)?0:l.length;s--&&(u=l[s],!i.relative[c=u.type]);)if((d=i.find[c])&&(r=d(u.matches[0].replace(ne,ie),te.test(l[0].type)&&ye(t.parentNode)||t))){if(l.splice(s,1),!(e=r.length&&we(l)))return P.apply(n,r),n;break}}return(h||a(e,p))(r,t,!m,n,!t||te.test(e)&&ye(t.parentNode)||t),n},n.sortStable=w.split("").sort(A).join("")===w,n.detectDuplicates=!!d,h(),n.sortDetached=de((function(e){return 1&e.compareDocumentPosition(p.createElement("fieldset"))})),de((function(e){return e.innerHTML="<a href='#'></a>","#"===e.firstChild.getAttribute("href")}))||he("type|href|height|width",(function(e,t,n){if(!n)return e.getAttribute(t,"type"===t.toLowerCase()?1:2)})),n.attributes&&de((function(e){return e.innerHTML="<input/>",e.firstChild.setAttribute("value",""),""===e.firstChild.getAttribute("value")}))||he("value",(function(e,t,n){if(!n&&"input"===e.nodeName.toLowerCase())return e.defaultValue})),de((function(e){return null==e.getAttribute("disabled")}))||he(R,(function(e,t,n){var i;if(!n)return!0===e[t]?t.toLowerCase():(i=e.getAttributeNode(t))&&i.specified?i.value:null})),le}(e);x.find=E,x.expr=E.selectors,x.expr[":"]=x.expr.pseudos,x.uniqueSort=x.unique=E.uniqueSort,x.text=E.getText,x.isXMLDoc=E.isXML,x.contains=E.contains,x.escapeSelector=E.escape;var T=function(e,t,n){for(var i=[],r=void 0!==n;(e=e[t])&&9!==e.nodeType;)if(1===e.nodeType){if(r&&x(e).is(n))break;i.push(e)}return i},S=function(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n},k=x.expr.match.needsContext;function _(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()}var A=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function D(e,t,n){return f(t)?x.grep(e,(function(e,i){return!!t.call(e,i,e)!==n})):t.nodeType?x.grep(e,(function(e){return e===t!==n})):"string"!=typeof t?x.grep(e,(function(e){return a.call(t,e)>-1!==n})):x.filter(t,e,n)}x.filter=function(e,t,n){var i=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===i.nodeType?x.find.matchesSelector(i,e)?[i]:[]:x.find.matches(e,x.grep(t,(function(e){return 1===e.nodeType})))},x.fn.extend({find:function(e){var t,n,i=this.length,r=this;if("string"!=typeof e)return this.pushStack(x(e).filter((function(){for(t=0;t<i;t++)if(x.contains(r[t],this))return!0})));for(n=this.pushStack([]),t=0;t<i;t++)x.find(e,r[t],n);return i>1?x.uniqueSort(n):n},filter:function(e){return this.pushStack(D(this,e||[],!1))},not:function(e){return this.pushStack(D(this,e||[],!0))},is:function(e){return!!D(this,"string"==typeof e&&k.test(e)?x(e):e||[],!1).length}});var z,M=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(x.fn.init=function(e,t,n){var i,r;if(!e)return this;if(n=n||z,"string"==typeof e){if(!(i="<"===e[0]&&">"===e[e.length-1]&&e.length>=3?[null,e,null]:M.exec(e))||!i[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);
vendor: 11,500 bytes, line 25
25if(i[1]){if(t=t instanceof x?t[0]:t,x.merge(this,x.parseHTML(i[1],t&&t.nodeType?t.ownerDocument||t:g,!0)),A.test(i[1])&&x.isPlainObject(t))for(i in t)f(this[i])?this[i](t[i]):this.attr(i,t[i]);return this}return(r=g.getElementById(i[2]))&&(this[0]=r,this.length=1),this}return e.nodeType?(this[0]=e,this.length=1,this):f(e)?void 0!==n.ready?n.ready(e):e(x):x.makeArray(e,this)}).prototype=x.fn,z=x(g);var L=/^(?:parents|prev(?:Until|All))/,P={children:!0,contents:!0,next:!0,prev:!0};function I(e,t){for(;(e=e[t])&&1!==e.nodeType;);return e}x.fn.extend({has:function(e){var t=x(e,this),n=t.length;return this.filter((function(){for(var e=0;e<n;e++)if(x.contains(this,t[e]))return!0}))},closest:function(e,t){var n,i=0,r=this.length,s=[],o="string"!=typeof e&&x(e);if(!k.test(e))for(;i<r;i++)for(n=this[i];n&&n!==t;n=n.parentNode)if(n.nodeType<11&&(o?o.index(n)>-1:1===n.nodeType&&x.find.matchesSelector(n,e))){s.push(n);break}return this.pushStack(s.length>1?x.uniqueSort(s):s)},index:function(e){return e?"string"==typeof e?a.call(x(e),this[0]):a.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(x.uniqueSort(x.merge(this.get(),x(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),x.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return T(e,"parentNode")},parentsUntil:function(e,t,n){return T(e,"parentNode",n)},next:function(e){return I(e,"nextSibling")},prev:function(e){return I(e,"previousSibling")},nextAll:function(e){return T(e,"nextSibling")},prevAll:function(e){return T(e,"previousSibling")},nextUntil:function(e,t,n){return T(e,"nextSibling",n)},prevUntil:function(e,t,n){return T(e,"previousSibling",n)},siblings:function(e){return S((e.parentNode||{}).firstChild,e)},children:function(e){return S(e.firstChild)},contents:function(e){return null!=e.contentDocument&&i(e.contentDocument)?e.contentDocument:(_(e,"template")&&(e=e.content||e),x.merge([],e.childNodes))}},(function(e,t){x.fn[e]=function(n,i){var r=x.map(this,t,n);return"Until"!==e.slice(-5)&&(i=n),i&&"string"==typeof i&&(r=x.filter(i,r)),this.length>1&&(P[e]||x.uniqueSort(r),L.test(e)&&r.reverse()),this.pushStack(r)}}));var O=/[^\x20\t\r\n\f]+/g;function R(e){return e}function N(e){throw e}function H(e,t,n,i){var r;try{e&&f(r=e.promise)?r.call(e).done(t).fail(n):e&&f(r=e.then)?r.call(e,t,n):t.apply(void 0,[e].slice(i))}catch(e){n.apply(void 0,[e])}}x.Callbacks=function(e){e="string"==typeof e?function(e){var t={};return x.each(e.match(O)||[],(function(e,n){t[n]=!0})),t}(e):x.extend({},e);var t,n,i,r,s=[],o=[],a=-1,l=function(){for(r=r||e.once,i=t=!0;o.length;a=-1)for(n=o.shift();++a<s.length;)!1===s[a].apply(n[0],n[1])&&e.stopOnFalse&&(a=s.length,n=!1);e.memory||(n=!1),t=!1,r&&(s=n?[]:"")},u={add:function(){return s&&(n&&!t&&(a=s.length-1,o.push(n)),function t(n){x.each(n,(function(n,i){f(i)?e.unique&&u.has(i)||s.push(i):i&&i.length&&"string"!==b(i)&&t(i)}))}(arguments),n&&!t&&l()),this},remove:function(){return x.each(arguments,(function(e,t){for(var n;(n=x.inArray(t,s,n))>-1;)s.splice(n,1),n<=a&&a--})),this},has:function(e){return e?x.inArray(e,s)>-1:s.length>0},empty:function(){return s&&(s=[]),this},disable:function(){return r=o=[],s=n="",this},disabled:function(){return!s},lock:function(){return r=o=[],n||t||(s=n=""),this},locked:function(){return!!r},fireWith:function(e,n){return r||(n=[e,(n=n||[]).slice?n.slice():n],o.push(n),t||l()),this},fire:function(){return u.fireWith(this,arguments),this},fired:function(){return!!i}};return u},x.extend({Deferred:function(t){var n=[["notify","progress",x.Callbacks("memory"),x.Callbacks("memory"),2],["resolve","done",x.Callbacks("once memory"),x.Callbacks("once memory"),0,"resolved"],["reject","fail",x.Callbacks("once memory"),x.Callbacks("once memory"),1,"rejected"]],i="pending",r={state:function(){return i},always:function(){return s.done(arguments).fail(arguments),this},catch:function(e){return r.then(null,e)},pipe:function(){var e=arguments;return x.Deferred((function(t){x.each(n,(function(n,i){var r=f(e[i[4]])&&e[i[4]];s[i[1]]((function(){var e=r&&r.apply(this,arguments);e&&f(e.promise)?e.promise().progress(t.notify).done(t.resolve).fail(t.reject):t[i[0]+"With"](this,r?[e]:arguments)}))})),e=null})).promise()},then:function(t,i,r){var s=0;function o(t,n,i,r){return function(){var a=this,l=arguments,u=function(){var e,u;if(!(t<s)){if((e=i.apply(a,l))===n.promise())throw new TypeError("Thenable self-resolution");u=e&&("object"==typeof e||"function"==typeof e)&&e.then,f(u)?r?u.call(e,o(s,n,R,r),o(s,n,N,r)):(s++,u.call(e,o(s,n,R,r),o(s,n,N,r),o(s,n,R,n.notifyWith))):(i!==R&&(a=void 0,l=[e]),(r||n.resolveWith)(a,l))}},c=r?u:function(){try{u()}catch(e){x.Deferred.exceptionHook&&x.Deferred.exceptionHook(e,c.stackTrace),t+1>=s&&(i!==N&&(a=void 0,l=[e]),n.rejectWith(a,l))}};t?c():(x.Deferred.getStackHook&&(c.stackTrace=x.Deferred.getStackHook()),e.setTimeout(c))}}return x.Deferred((function(e){n[0][3].add(o(0,e,f(r)?r:R,e.notifyWith)),n[1][3].add(o(0,e,f(t)?t:R)),n[2][3].add(o(0,e,f(i)?i:N))})).promise()},promise:function(e){return null!=e?x.extend(e,r):r}},s={};return x.each(n,(function(e,t){var o=t[2],a=t[5];r[t[1]]=o.add,a&&o.add((function(){i=a}),n[3-e][2].disable,n[3-e][3].disable,n[0][2].lock,n[0][3].lock),o.add(t[3].fire),s[t[0]]=function(){return s[t[0]+"With"](this===s?void 0:this,arguments),this},s[t[0]+"With"]=o.fireWith})),r.promise(s),t&&t.call(s,s),s},when:function(e){var t=arguments.length,n=t,i=Array(n),s=r.call(arguments),o=x.Deferred(),a=function(e){return function(n){i[e]=this,s[e]=arguments.length>1?r.call(arguments):n,--t||o.resolveWith(i,s)}};if(t<=1&&(H(e,o.done(a(n)).resolve,o.reject,!t),"pending"===o.state()||f(s[n]&&s[n].then)))return o.then();for(;n--;)H(s[n],a(n),o.reject);return o.promise()}});var q=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;x.Deferred.exceptionHook=function(t,n){e.console&&e.console.warn&&t&&q.test(t.name)&&e.console.warn("jQuery.Deferred exception: "+t.message,t.stack,n)},x.readyException=function(t){e.setTimeout((function(){throw t}))};var B=x.Deferred();function j(){g.removeEventListener("DOMContentLoaded",j),e.removeEventListener("load",j),x.ready()}x.fn.ready=function(e){return B.then(e).catch((function(e){x.readyException(e)})),this},x.extend({isReady:!1,readyWait:1,ready:function(e){(!0===e?--x.readyWait:x.isReady)||(x.isReady=!0,!0!==e&&--x.readyWait>0||B.resolveWith(g,[x]))}}),x.ready.then=B.then,"complete"===g.readyState||"loading"!==g.readyState&&!g.documentElement.doScroll?e.setTimeout(x.ready):(g.addEventListener("DOMContentLoaded",j),e.addEventListener("load",j));var F=function(e,t,n,i,r,s,o){var a=0,l=e.length,u=null==n;if("object"===b(n))for(a in r=!0,n)F(e,t,a,n[a],!0,s,o);else if(void 0!==i&&(r=!0,f(i)||(o=!0),u&&(o?(t.call(e,i),t=null):(u=t,t=function(e,t,n){return u.call(x(e),n)})),t))for(;a<l;a++)t(e[a],n,o?i:i.call(e[a],a,t(e[a],n)));return r?e:u?t.call(e):l?t(e[0],n):s},W=/^-ms-/,V=/-([a-z])/g;function G(e,t){return t.toUpperCase()}function Y(e){return e.replace(W,"ms-").replace(V,G)}var U=function(e){return 1===e.nodeType||9===e.nodeType||!+e.nodeType};function X(){this.expando=x.expando+X.uid++}X.uid=1,X.prototype={cache:function(e){var t=e[this.expando];return t||(t={},U(e)&&(e.nodeType?e[this.expando]=t:Object.defineProperty(e,this.expando,{value:t,configurable:!0}))),t},set:function(e,t,n){var i,r=this.cache(e);if("string"==typeof t)r[Y(t)]=n;else for(i in t)r[Y(i)]=t[i];return r},get:function(e,t){return void 0===t?this.cache(e):e[this.expando]&&e[this.expando][Y(t)]},access:function(e,t,n){return void 0===t||t&&"string"==typeof t&&void 0===n?this.get(e,t):(this.set(e,t,n),void 0!==n?n:t)},remove:function(e,t){var n,i=e[this.expando];if(void 0!==i){if(void 0!==t){n=(t=Array.isArray(t)?t.map(Y):(t=Y(t))in i?[t]:t.match(O)||[]).length;for(;n--;)delete i[t[n]]}(void 0===t||x.isEmptyObject(i))&&(e.nodeType?e[this.expando]=void 0:delete e[this.expando])}},hasData:function(e){var t=e[this.expando];return void 0!==t&&!x.isEmptyObject(t)}};var K=new X,Q=new X,Z=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,J=/[A-Z]/g;function ee(e,t,n){var i;if(void 0===n&&1===e.nodeType)if(i="data-"+t.replace(J,"-$&").toLowerCase(),"string"==typeof(n=e.getAttribute(i))){try{n=function(e){return"true"===e||"false"!==e&&("null"===e?null:e===+e+""?+e:Z.test(e)?JSON.parse(e):e)}(n)}catch(e){}Q.set(e,t,n)}else n=void 0;return n}x.extend({hasData:function(e){return Q.hasData(e)||K.hasData(e)},data:function(e,t,n){return Q.access(e,t,n)},removeData:function(e,t){Q.remove(e,t)},_data:function(e,t,n){return K.access(e,t,n)},_removeData:function(e,t){K.remove(e,t)}}),x.fn.extend({data:function(e,t){var n,i,r,s=this[0],o=s&&s.attributes;if(void 0===e){if(this.length&&(r=Q.get(s),1===s.nodeType&&!K.get(s,"hasDataAttrs"))){for(n=o.length;n--;)o[n]&&0===(i=o[n].name).indexOf("data-")&&(i=Y(i.slice(5)),ee(s,i,r[i]));K.set(s,"hasDataAttrs",!0)}return r}return"object"==typeof e?this.each((function(){Q.set(this,e)})):F(this,(function(t){var n;if(s&&void 0===t)return void 0!==(n=Q.get(s,e))||void 0!==(n=ee(s,e))?n:void 0;this.each((function(){Q.set(this,e,t)}))}),null,t,arguments.length>1,null,!0)},removeData:function(e){return this.each((function(){Q.remove(this,e)}))}}),x.extend({queue:function(e,t,n){var i;if(e)return t=(t||"fx")+"queue",i=K.get(e,t),n&&(!i||Array.isArray(n)?i=K.access(e,t,x.makeArray(n)):i.push(n)),i||[]},dequeue:function(e,t){t=t||"fx";var n=x.queue(e,t),i=n.length,r=n.shift(),s=x._queueHooks(e,t);"inprogress"===r&&(r=n.shift(),i--),r&&("fx"===t&&n.unshift("inprogress"),delete s.stop,r.call(e,(function(){x.dequeue(e,t)}),s)),!i&&s&&s.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return K.get(e,n)||K.access(e,n,{empty:x.Callbacks("once memory").add((function(){K.remove(e,[t+"queue",n])}))})}}),x.fn.extend({queue:function(e,t){var n=2;return"string"!=typeof e&&(t=e,e="fx",n--),arguments.length<n?x.queue(this[0],e):void 0===t?this:this.each((function(){var n=x.queue(this,e,t);x._queueHooks(this,e),"fx"===e&&"inprogress"!==n[0]&&x.dequeue(this,e)}))},dequeue:function(e){return this.each((function(){x.dequeue(this,e)}))},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,t){var n,i=1,r=x.Deferred(),s=this,o=this.length,a=function(){--i||r.resolveWith(s,[s])};for("string"!=typeof e&&(t=e,e=void 0),e=e||"fx";o--;)(n=K.get(s[o],e+"queueHooks"))&&n.empty&&(i++,n.empty.add(a));return a(),r.promise(t)}});var te=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,ne=new RegExp("^(?:([+-])=|)("+te+")([a-z%]*)$","i"),ie=["Top","Right","Bottom","Left"],re=g.documentElement,se=function(e){return x.contains(e.ownerDocument,e)},oe={composed:!0};re.getRootNode&&(se=function(e){return x.contains(e.ownerDocument,e)||e.getRootNode(oe)===e.ownerDocument});var ae=function(e,t){return"none"===(e=t||e).style.display||""===e.style.display&&se(e)&&"none"===x.css(e,"display")};function le(e,t,n,i){var r,s,o=20,a=i?function(){return i.cur()}:function(){return x.css(e,t,"")},l=a(),u=n&&n[3]||(x.cssNumber[t]?"":"px"),c=e.nodeType&&(x.cssNumber[t]||"px"!==u&&+l)&&ne.exec(x.css(e,t));if(c&&c[3]!==u){for(l/=2,u=u||c[3],c=+l||1;o--;)x.style(e,t,c+u),(1-s)*(1-(s=a()/l||.5))<=0&&(o=0),c/=s;c*=2,x.style(e,t,c+u),n=n||[]}return n&&(c=+c||+l||0,r=n[1]?c+(n[1]+1)*n[2]:+n[2],i&&(i.unit=u,i.start=c,i.end=r)),r}var ue={};function ce(e){var t,n=e.ownerDocument,i=e.nodeName,r=ue[i];
vendor: 15,276 bytes, line 25
25return r||(t=n.body.appendChild(n.createElement(i)),r=x.css(t,"display"),t.parentNode.removeChild(t),"none"===r&&(r="block"),ue[i]=r,r)}function de(e,t){for(var n,i,r=[],s=0,o=e.length;s<o;s++)(i=e[s]).style&&(n=i.style.display,t?("none"===n&&(r[s]=K.get(i,"display")||null,r[s]||(i.style.display="")),""===i.style.display&&ae(i)&&(r[s]=ce(i))):"none"!==n&&(r[s]="none",K.set(i,"display",n)));for(s=0;s<o;s++)null!=r[s]&&(e[s].style.display=r[s]);return e}x.fn.extend({show:function(){return de(this,!0)},hide:function(){return de(this)},toggle:function(e){return"boolean"==typeof e?e?this.show():this.hide():this.each((function(){ae(this)?x(this).show():x(this).hide()}))}});var he,pe,fe=/^(?:checkbox|radio)$/i,me=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i,ge=/^$|^module$|\/(?:java|ecma)script/i;he=g.createDocumentFragment().appendChild(g.createElement("div")),(pe=g.createElement("input")).setAttribute("type","radio"),pe.setAttribute("checked","checked"),pe.setAttribute("name","t"),he.appendChild(pe),p.checkClone=he.cloneNode(!0).cloneNode(!0).lastChild.checked,he.innerHTML="<textarea>x</textarea>",p.noCloneChecked=!!he.cloneNode(!0).lastChild.defaultValue,he.innerHTML="<option></option>",p.option=!!he.lastChild;var ve={thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};function ye(e,t){var n;return n=void 0!==e.getElementsByTagName?e.getElementsByTagName(t||"*"):void 0!==e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&_(e,t)?x.merge([e],n):n}function be(e,t){for(var n=0,i=e.length;n<i;n++)K.set(e[n],"globalEval",!t||K.get(t[n],"globalEval"))}ve.tbody=ve.tfoot=ve.colgroup=ve.caption=ve.thead,ve.th=ve.td,p.option||(ve.optgroup=ve.option=[1,"<select multiple='multiple'>","</select>"]);var we=/<|&#?\w+;/;function xe(e,t,n,i,r){for(var s,o,a,l,u,c,d=t.createDocumentFragment(),h=[],p=0,f=e.length;p<f;p++)if((s=e[p])||0===s)if("object"===b(s))x.merge(h,s.nodeType?[s]:s);else if(we.test(s)){for(o=o||d.appendChild(t.createElement("div")),a=(me.exec(s)||["",""])[1].toLowerCase(),l=ve[a]||ve._default,o.innerHTML=l[1]+x.htmlPrefilter(s)+l[2],c=l[0];c--;)o=o.lastChild;x.merge(h,o.childNodes),(o=d.firstChild).textContent=""}else h.push(t.createTextNode(s));for(d.textContent="",p=0;s=h[p++];)if(i&&x.inArray(s,i)>-1)r&&r.push(s);else if(u=se(s),o=ye(d.appendChild(s),"script"),u&&be(o),n)for(c=0;s=o[c++];)ge.test(s.type||"")&&n.push(s);return d}var Ce=/^key/,Ee=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,Te=/^([^.]*)(?:\.(.+)|)/;function Se(){return!0}function $e(){return!1}function ke(e,t){return e===function(){try{return g.activeElement}catch(e){}}()==("focus"===t)}function _e(e,t,n,i,r,s){var o,a;if("object"==typeof t){for(a in"string"!=typeof n&&(i=i||n,n=void 0),t)_e(e,a,n,i,t[a],s);return e}if(null==i&&null==r?(r=n,i=n=void 0):null==r&&("string"==typeof n?(r=i,i=void 0):(r=i,i=n,n=void 0)),!1===r)r=$e;else if(!r)return e;return 1===s&&(o=r,(r=function(e){return x().off(e),o.apply(this,arguments)}).guid=o.guid||(o.guid=x.guid++)),e.each((function(){x.event.add(this,t,r,i,n)}))}function Ae(e,t,n){n?(K.set(e,t,!1),x.event.add(e,t,{namespace:!1,handler:function(e){var i,s,o=K.get(this,t);if(1&e.isTrigger&&this[t]){if(o.length)(x.event.special[t]||{}).delegateType&&e.stopPropagation();else if(o=r.call(arguments),K.set(this,t,o),i=n(this,t),this[t](),o!==(s=K.get(this,t))||i?K.set(this,t,!1):s={},o!==s)return e.stopImmediatePropagation(),e.preventDefault(),s.value}else o.length&&(K.set(this,t,{value:x.event.trigger(x.extend(o[0],x.Event.prototype),o.slice(1),this)}),e.stopImmediatePropagation())}})):void 0===K.get(e,t)&&x.event.add(e,t,Se)}x.event={global:{},add:function(e,t,n,i,r){var s,o,a,l,u,c,d,h,p,f,m,g=K.get(e);if(U(e))for(n.handler&&(n=(s=n).handler,r=s.selector),r&&x.find.matchesSelector(re,r),n.guid||(n.guid=x.guid++),(l=g.events)||(l=g.events=Object.create(null)),(o=g.handle)||(o=g.handle=function(t){return void 0!==x&&x.event.triggered!==t.type?x.event.dispatch.apply(e,arguments):void 0}),u=(t=(t||"").match(O)||[""]).length;u--;)p=m=(a=Te.exec(t[u])||[])[1],f=(a[2]||"").split(".").sort(),p&&(d=x.event.special[p]||{},p=(r?d.delegateType:d.bindType)||p,d=x.event.special[p]||{},c=x.extend({type:p,origType:m,data:i,handler:n,guid:n.guid,selector:r,needsContext:r&&x.expr.match.needsContext.test(r),namespace:f.join(".")},s),(h=l[p])||((h=l[p]=[]).delegateCount=0,d.setup&&!1!==d.setup.call(e,i,f,o)||e.addEventListener&&e.addEventListener(p,o)),d.add&&(d.add.call(e,c),c.handler.guid||(c.handler.guid=n.guid)),r?h.splice(h.delegateCount++,0,c):h.push(c),x.event.global[p]=!0)},remove:function(e,t,n,i,r){var s,o,a,l,u,c,d,h,p,f,m,g=K.hasData(e)&&K.get(e);if(g&&(l=g.events)){for(u=(t=(t||"").match(O)||[""]).length;u--;)if(p=m=(a=Te.exec(t[u])||[])[1],f=(a[2]||"").split(".").sort(),p){for(d=x.event.special[p]||{},h=l[p=(i?d.delegateType:d.bindType)||p]||[],a=a[2]&&new RegExp("(^|\\.)"+f.join("\\.(?:.*\\.|)")+"(\\.|$)"),o=s=h.length;s--;)c=h[s],!r&&m!==c.origType||n&&n.guid!==c.guid||a&&!a.test(c.namespace)||i&&i!==c.selector&&("**"!==i||!c.selector)||(h.splice(s,1),c.selector&&h.delegateCount--,d.remove&&d.remove.call(e,c));o&&!h.length&&(d.teardown&&!1!==d.teardown.call(e,f,g.handle)||x.removeEvent(e,p,g.handle),delete l[p])}else for(p in l)x.event.remove(e,p+t[u],n,i,!0);x.isEmptyObject(l)&&K.remove(e,"handle events")}},dispatch:function(e){var t,n,i,r,s,o,a=new Array(arguments.length),l=x.event.fix(e),u=(K.get(this,"events")||Object.create(null))[l.type]||[],c=x.event.special[l.type]||{};for(a[0]=l,t=1;t<arguments.length;t++)a[t]=arguments[t];if(l.delegateTarget=this,!c.preDispatch||!1!==c.preDispatch.call(this,l)){for(o=x.event.handlers.call(this,l,u),t=0;(r=o[t++])&&!l.isPropagationStopped();)for(l.currentTarget=r.elem,n=0;(s=r.handlers[n++])&&!l.isImmediatePropagationStopped();)l.rnamespace&&!1!==s.namespace&&!l.rnamespace.test(s.namespace)||(l.handleObj=s,l.data=s.data,void 0!==(i=((x.event.special[s.origType]||{}).handle||s.handler).apply(r.elem,a))&&!1===(l.result=i)&&(l.preventDefault(),l.stopPropagation()));return c.postDispatch&&c.postDispatch.call(this,l),l.result}},handlers:function(e,t){var n,i,r,s,o,a=[],l=t.delegateCount,u=e.target;if(l&&u.nodeType&&!("click"===e.type&&e.button>=1))for(;u!==this;u=u.parentNode||this)if(1===u.nodeType&&("click"!==e.type||!0!==u.disabled)){for(s=[],o={},n=0;n<l;n++)void 0===o[r=(i=t[n]).selector+" "]&&(o[r]=i.needsContext?x(r,this).index(u)>-1:x.find(r,this,null,[u]).length),o[r]&&s.push(i);s.length&&a.push({elem:u,handlers:s})}return u=this,l<t.length&&a.push({elem:u,handlers:t.slice(l)}),a},addProp:function(e,t){Object.defineProperty(x.Event.prototype,e,{enumerable:!0,configurable:!0,get:f(t)?function(){if(this.originalEvent)return t(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[e]},set:function(t){Object.defineProperty(this,e,{enumerable:!0,configurable:!0,writable:!0,value:t})}})},fix:function(e){return e[x.expando]?e:new x.Event(e)},special:{load:{noBubble:!0},click:{setup:function(e){var t=this||e;return fe.test(t.type)&&t.click&&_(t,"input")&&Ae(t,"click",Se),!1},trigger:function(e){var t=this||e;return fe.test(t.type)&&t.click&&_(t,"input")&&Ae(t,"click"),!0},_default:function(e){var t=e.target;return fe.test(t.type)&&t.click&&_(t,"input")&&K.get(t,"click")||_(t,"a")}},beforeunload:{postDispatch:function(e){void 0!==e.result&&e.originalEvent&&(e.originalEvent.returnValue=e.result)}}}},x.removeEvent=function(e,t,n){e.removeEventListener&&e.removeEventListener(t,n)},x.Event=function(e,t){if(!(this instanceof x.Event))return new x.Event(e,t);e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||void 0===e.defaultPrevented&&!1===e.returnValue?Se:$e,this.target=e.target&&3===e.target.nodeType?e.target.parentNode:e.target,this.currentTarget=e.currentTarget,this.relatedTarget=e.relatedTarget):this.type=e,t&&x.extend(this,t),this.timeStamp=e&&e.timeStamp||Date.now(),this[x.expando]=!0},x.Event.prototype={constructor:x.Event,isDefaultPrevented:$e,isPropagationStopped:$e,isImmediatePropagationStopped:$e,isSimulated:!1,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=Se,e&&!this.isSimulated&&e.preventDefault()},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=Se,e&&!this.isSimulated&&e.stopPropagation()},stopImmediatePropagation:function(){var e=this.originalEvent;this.isImmediatePropagationStopped=Se,e&&!this.isSimulated&&e.stopImmediatePropagation(),this.stopPropagation()}},x.each({altKey:!0,bubbles:!0,cancelable:!0,changedTouches:!0,ctrlKey:!0,detail:!0,eventPhase:!0,metaKey:!0,pageX:!0,pageY:!0,shiftKey:!0,view:!0,char:!0,code:!0,charCode:!0,key:!0,keyCode:!0,button:!0,buttons:!0,clientX:!0,clientY:!0,offsetX:!0,offsetY:!0,pointerId:!0,pointerType:!0,screenX:!0,screenY:!0,targetTouches:!0,toElement:!0,touches:!0,which:function(e){var t=e.button;return null==e.which&&Ce.test(e.type)?null!=e.charCode?e.charCode:e.keyCode:!e.which&&void 0!==t&&Ee.test(e.type)?1&t?1:2&t?3:4&t?2:0:e.which}},x.event.addProp),x.each({focus:"focusin",blur:"focusout"},(function(e,t){x.event.special[e]={setup:function(){return Ae(this,e,ke),!1},trigger:function(){return Ae(this,e),!0},delegateType:t}})),x.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},(function(e,t){x.event.special[e]={delegateType:t,bindType:t,handle:function(e){var n,i=this,r=e.relatedTarget,s=e.handleObj;return r&&(r===i||x.contains(i,r))||(e.type=s.origType,n=s.handler.apply(this,arguments),e.type=t),n}}})),x.fn.extend({on:function(e,t,n,i){return _e(this,e,t,n,i)},one:function(e,t,n,i){return _e(this,e,t,n,i,1)},off:function(e,t,n){var i,r;if(e&&e.preventDefault&&e.handleObj)return i=e.handleObj,x(e.delegateTarget).off(i.namespace?i.origType+"."+i.namespace:i.origType,i.selector,i.handler),this;if("object"==typeof e){for(r in e)this.off(r,t,e[r]);return this}return!1!==t&&"function"!=typeof t||(n=t,t=void 0),!1===n&&(n=$e),this.each((function(){x.event.remove(this,e,n,t)}))}});var De=/<script|<style|<link/i,ze=/checked\s*(?:[^=]|=\s*.checked.)/i,Me=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g;function Le(e,t){return _(e,"table")&&_(11!==t.nodeType?t:t.firstChild,"tr")&&x(e).children("tbody")[0]||e}function Pe(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function Ie(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function Oe(e,t){var n,i,r,s,o,a;if(1===t.nodeType){if(K.hasData(e)&&(a=K.get(e).events))for(r in K.remove(t,"handle events"),a)for(n=0,i=a[r].length;n<i;n++)x.event.add(t,r,a[r][n]);Q.hasData(e)&&(s=Q.access(e),o=x.extend({},s),Q.set(t,o))}}function Re(e,t){var n=t.nodeName.toLowerCase();"input"===n&&fe.test(e.type)?t.checked=e.checked:"input"!==n&&"textarea"!==n||(t.defaultValue=e.defaultValue)}function Ne(e,t,n,i){t=s(t);var r,o,a,l,u,c,d=0,h=e.length,m=h-1,g=t[0],v=f(g);if(v||h>1&&"string"==typeof g&&!p.checkClone&&ze.test(g))return e.each((function(r){var s=e.eq(r);v&&(t[0]=g.call(this,r,s.html())),Ne(s,t,n,i)}));if(h&&(o=(r=xe(t,e[0].ownerDocument,!1,e,i)).firstChild,1===r.childNodes.length&&(r=o),o||i)){for(l=(a=x.map(ye(r,"script"),Pe)).length;d<h;d++)u=r,d!==m&&(u=x.clone(u,!0,!0),l&&x.merge(a,ye(u,"script"))),n.call(e[d],u,d);if(l)for(c=a[a.length-1].ownerDocument,x.map(a,Ie),d=0;d<l;d++)u=a[d],ge.test(u.type||"")&&!K.access(u,"globalEval")&&x.contains(c,u)&&(u.src&&"module"!==(u.type||"").toLowerCase()?x._evalUrl&&!u.noModule&&x._evalUrl(u.src,{nonce:u.nonce||u.getAttribute("nonce")},c):y(u.textContent.replace(Me,""),u,c))}return e}function He(e,t,n){for(var i,r=t?x.filter(t,e):e,s=0;null!=(i=r[s]);s++)n||1!==i.nodeType||x.cleanData(ye(i)),i.parentNode&&(n&&se(i)&&be(ye(i,"script")),i.parentNode.removeChild(i));return e}x.extend({htmlPrefilter:function(e){return e},clone:function(e,t,n){var i,r,s,o,a=e.cloneNode(!0),l=se(e);if(!(p.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||x.isXMLDoc(e)))for(o=ye(a),i=0,r=(s=ye(e)).length;i<r;i++)Re(s[i],o[i]);if(t)if(n)for(s=s||ye(e),o=o||ye(a),i=0,r=s.length;i<r;i++)Oe(s[i],o[i]);else Oe(e,a);return(o=ye(a,"script")).length>0&&be(o,!l&&ye(e,"script")),a},cleanData:function(e){for(var t,n,i,r=x.event.special,s=0;void 0!==(n=e[s]);s++)if(U(n)){if(t=n[K.expando]){if(t.events)for(i in t.events)r[i]?x.event.remove(n,i):x.removeEvent(n,i,t.handle);n[K.expando]=void 0}n[Q.expando]&&(n[Q.expando]=void 0)}}}),x.fn.extend({detach:function(e){return He(this,e,!0)},remove:function(e){return He(this,e)},text:function(e){return F(this,(function(e){return void 0===e?x.text(this):this.empty().each((function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=e)}))}),null,e,arguments.length)},append:function(){return Ne(this,arguments,(function(e){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||Le(this,e).appendChild(e)}))},prepend:function(){return Ne(this,arguments,(function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=Le(this,e);t.insertBefore(e,t.firstChild)}}))},before:function(){return Ne(this,arguments,(function(e){this.parentNode&&this.parentNode.insertBefore(e,this)}))},after:function(){return Ne(this,arguments,(function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)}))},empty:function(){for(var e,t=0;null!=(e=this[t]);t++)1===e.nodeType&&(x.cleanData(ye(e,!1)),e.textContent="");return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map((function(){return x.clone(this,e,t)}))},html:function(e){return F(this,(function(e){var t=this[0]||{},n=0,i=this.length;if(void 0===e&&1===t.nodeType)return t.innerHTML;if("string"==typeof e&&!De.test(e)&&!ve[(me.exec(e)||["",""])[1].toLowerCase()]){e=x.htmlPrefilter(e);try{for(;n<i;n++)1===(t=this[n]||{}).nodeType&&(x.cleanData(ye(t,!1)),t.innerHTML=e);t=0}catch(e){}}t&&this.empty().append(e)}),null,e,arguments.length)},replaceWith:function(){var e=[];return Ne(this,arguments,(function(t){var n=this.parentNode;x.inArray(this,e)<0&&(x.cleanData(ye(this)),n&&n.replaceChild(t,this))}),e)}}),x.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},(function(e,t){x.fn[e]=function(e){for(var n,i=[],r=x(e),s=r.length-1,a=0;a<=s;a++)n=a===s?this:this.clone(!0),x(r[a])[t](n),o.apply(i,n.get());return this.pushStack(i)}}));var qe=new RegExp("^("+te+")(?!px)[a-z%]+$","i"),Be=function(t){var n=t.ownerDocument.defaultView;return n&&n.opener||(n=e),n.getComputedStyle(t)},je=function(e,t,n){var i,r,s={};for(r in t)s[r]=e.style[r],e.style[r]=t[r];for(r in i=n.call(e),t)e.style[r]=s[r];return i},Fe=new RegExp(ie.join("|"),"i");function We(e,t,n){var i,r,s,o,a=e.style;return(n=n||Be(e))&&(""!==(o=n.getPropertyValue(t)||n[t])||se(e)||(o=x.style(e,t)),!p.pixelBoxStyles()&&qe.test(o)&&Fe.test(t)&&(i=a.width,r=a.minWidth,s=a.maxWidth,a.minWidth=a.maxWidth=a.width=o,o=n.width,a.width=i,a.minWidth=r,a.maxWidth=s)),void 0!==o?o+"":o}function Ve(e,t){return{get:function(){if(!e())return(this.get=t).apply(this,arguments);delete this.get}}}!function(){function t(){if(c){u.style.cssText="position:absolute;
25left:-11111px;width:60px;margin-top:1px;padding:0;border:0",c.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%",re.appendChild(u).appendChild(c);var t=e.getComputedStyle(c);i="1%"!==t.top,l=12===n(t.marginLeft),c.style.right="60%",o=36===n(t.right),r=36===n(t.width),c.style.position="absolute",s=12===n(c.offsetWidth/3),re.removeChild(u),c=null}}function n(e){return Math.round(parseFloat(e))}var i,r,s,o,a,l,u=g.createElement("div"),c=g.createElement("div");c.style&&(c.style.backgroundClip="content-box",c.cloneNode(!0).style.backgroundClip="",p.clearCloneStyle="content-box"===c.style.backgroundClip,x.extend(p,{boxSizingReliable:function(){return t(),r},pixelBoxStyles:function(){return t(),o},pixelPosition:function(){return t(),i},reliableMarginLeft:function(){return t(),l},scrollboxSize:function(){return t(),s},reliableTrDimensions:function(){var t,n,i,r;return null==a&&(t=g.createElement("table"),n=g.createElement("tr"),i=g.createElement("div"),t.style.cssText="position:absolute;
25left:-11111px",n.style.height="1px",i.style.height="9px",re.appendChild(t).appendChild(n).appendChild(i),r=e.getComputedStyle(n),a=parseInt(r.height)>3,re.removeChild(t)),a}}))}();var Ge=["Webkit","Moz","ms"],Ye=g.createElement("div").style,Ue={};function Xe(e){var t=x.cssProps[e]||Ue[e];return t||(e in Ye?e:Ue[e]=function(e){for(var t=e[0].toUpperCase()+e.slice(1),n=Ge.length;n--;)if((e=Ge[n]+t)in Ye)return e}(e)||e)}var Ke=/^(none|table(?!-c[ea]).+)/,Qe=/^--/,Ze={position:"absolute",visibility:"hidden",display:"block"},Je={letterSpacing:"0",fontWeight:"400"};function et(e,t,n){var i=ne.exec(t);return i?Math.max(0,i[2]-(n||0))+(i[3]||"px"):t}function tt(e,t,n,i,r,s){var o="width"===t?1:0,a=0,l=0;if(n===(i?"border":"content"))return 0;for(;o<4;o+=2)"margin"===n&&(l+=x.css(e,n+ie[o],!0,r)),i?("content"===n&&(l-=x.css(e,"padding"+ie[o],!0,r)),"margin"!==n&&(l-=x.css(e,"border"+ie[o]+"Width",!0,r))):(l+=x.css(e,"padding"+ie[o],!0,r),"padding"!==n?l+=x.css(e,"border"+ie[o]+"Width",!0,r):a+=x.css(e,"border"+ie[o]+"Width",!0,r));return!i&&s>=0&&(l+=Math.max(0,Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-s-l-a-.5))||0),l}function nt(e,t,n){var i=Be(e),r=(!p.boxSizingReliable()||n)&&"border-box"===x.css(e,"boxSizing",!1,i),s=r,o=We(e,t,i),a="offset"+t[0].toUpperCase()+t.slice(1);if(qe.test(o)){if(!n)return o;o="auto"}return(!p.boxSizingReliable()&&r||!p.reliableTrDimensions()&&_(e,"tr")||"auto"===o||!parseFloat(o)&&"inline"===x.css(e,"display",!1,i))&&e.getClientRects().length&&(r="border-box"===x.css(e,"boxSizing",!1,i),(s=a in e)&&(o=e[a])),(o=parseFloat(o)||0)+tt(e,t,n||(r?"border":"content"),s,i,o)+"px"}function it(e,t,n,i,r){return new it.prototype.init(e,t,n,i,r)}x.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=We(e,"opacity");return""===n?"1":n}}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,gridArea:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{},style:function(e,t,n,i){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var r,s,o,a=Y(t),l=Qe.test(t),u=e.style;if(l||(t=Xe(a)),o=x.cssHooks[t]||x.cssHooks[a],void 0===n)return o&&"get"in o&&void 0!==(r=o.get(e,!1,i))?r:u[t];"string"===(s=typeof n)&&(r=ne.exec(n))&&r[1]&&(n=le(e,t,r),s="number"),null!=n&&n==n&&("number"!==s||l||(n+=r&&r[3]||(x.cssNumber[a]?"":"px")),p.clearCloneStyle||""!==n||0!==t.indexOf("background")||(u[t]="inherit"),o&&"set"in o&&void 0===(n=o.set(e,n,i))||(l?u.setProperty(t,n):u[t]=n))}},css:function(e,t,n,i){var r,s,o,a=Y(t);return Qe.test(t)||(t=Xe(a)),(o=x.cssHooks[t]||x.cssHooks[a])&&"get"in o&&(r=o.get(e,!0,n)),void 0===r&&(r=We(e,t,i)),"normal"===r&&t in Je&&(r=Je[t]),""===n||n?(s=parseFloat(r),!0===n||isFinite(s)?s||0:r):r}}),x.each(["height","width"],(function(e,t){x.cssHooks[t]={get:function(e,n,i){if(n)return!Ke.test(x.css(e,"display"))||e.getClientRects().length&&e.getBoundingClientRect().width?nt(e,t,i):je(e,Ze,(function(){return nt(e,t,i)}))},set:function(e,n,i){var r,s=Be(e),o=!p.scrollboxSize()&&"absolute"===s.position,a=(o||i)&&"border-box"===x.css(e,"boxSizing",!1,s),l=i?tt(e,t,i,a,s):0;return a&&o&&(l-=Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-parseFloat(s[t])-tt(e,t,"border",!1,s)-.5)),l&&(r=ne.exec(n))&&"px"!==(r[3]||"px")&&(e.style[t]=n,n=x.css(e,t)),et(0,n,l)}}})),x.cssHooks.marginLeft=Ve(p.reliableMarginLeft,(function(e,t){if(t)return(parseFloat(We(e,"marginLeft"))||e.getBoundingClientRect().left-je(e,{marginLeft:0},(function(){return e.getBoundingClientRect().left})))+"px"})),x.each({margin:"",padding:"",border:"Width"},(function(e,t){x.cssHooks[e+t]={expand:function(n){for(var i=0,r={},s="string"==typeof n?n.split(" "):[n];i<4;i++)r[e+ie[i]+t]=s[i]||s[i-2]||s[0];return r}},"margin"!==e&&(x.cssHooks[e+t].set=et)})),x.fn.extend({css:function(e,t){return F(this,(function(e,t,n){var i,r,s={},o=0;if(Array.isArray(t)){for(i=Be(e),r=t.length;o<r;o++)s[t[o]]=x.css(e,t[o],!1,i);return s}return void 0!==n?x.style(e,t,n):x.css(e,t)}),e,t,arguments.length>1)}}),x.Tween=it,it.prototype={constructor:it,init:function(e,t,n,i,r,s){this.elem=e,this.prop=n,this.easing=r||x.easing._default,this.options=t,this.start=this.now=this.cur(),this.end=i,this.unit=s||(x.cssNumber[n]?"":"px")},cur:function(){var e=it.propHooks[this.prop];return e&&e.get?e.get(this):it.propHooks._default.get(this)},run:function(e){var t,n=it.propHooks[this.prop];return this.options.duration?this.pos=t=x.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):this.pos=t=e,this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):it.propHooks._default.set(this),this}},it.prototype.init.prototype=it.prototype,it.propHooks={_default:{get:function(e){var t;return 1!==e.elem.nodeType||null!=e.elem[e.prop]&&null==e.elem.style[e.prop]?e.elem[e.prop]:(t=x.css(e.elem,e.prop,""))&&"auto"!==t?t:0},set:function(e){x.fx.step[e.prop]?x.fx.step[e.prop](e):1!==e.elem.nodeType||!x.cssHooks[e.prop]&&null==e.elem.style[Xe(e.prop)]?e.elem[e.prop]=e.now:x.style(e.elem,e.prop,e.now+e.unit)}}},it.propHooks.scrollTop=it.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},x.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},_default:"swing"},x.fx=it.prototype.init,x.fx.step={};var rt,st,ot=/^(?:toggle|show|hide)$/,at=/queueHooks$/;function lt(){st&&(!1===g.hidden&&e.requestAnimationFrame?e.requestAnimationFrame(lt):e.setTimeout(lt,x.fx.interval),x.fx.tick())}function ut(){return e.setTimeout((function(){rt=void 0})),rt=Date.now()}function ct(e,t){var n,i=0,r={height:e};for(t=t?1:0;i<4;i+=2-t)r["margin"+(n=ie[i])]=r["padding"+n]=e;return t&&(r.opacity=r.width=e),r}function dt(e,t,n){for(var i,r=(ht.tweeners[t]||[]).concat(ht.tweeners["*"]),s=0,o=r.length;s<o;s++)if(i=r[s].call(n,t,e))return i}function ht(e,t,n){var i,r,s=0,o=ht.prefilters.length,a=x.Deferred().always((function(){delete l.elem})),l=function(){if(r)return!1;for(var t=rt||ut(),n=Math.max(0,u.startTime+u.duration-t),i=1-(n/u.duration||0),s=0,o=u.tweens.length;s<o;s++)u.tweens[s].run(i);return a.notifyWith(e,[u,i,n]),i<1&&o?n:(o||a.notifyWith(e,[u,1,0]),a.resolveWith(e,[u]),!1)},u=a.promise({elem:e,props:x.extend({},t),opts:x.extend(!0,{specialEasing:{},easing:x.easing._default},n),originalProperties:t,originalOptions:n,startTime:rt||ut(),duration:n.duration,tweens:[],createTween:function(t,n){var i=x.Tween(e,u.opts,t,n,u.opts.specialEasing[t]||u.o
vendor: 6,014 bytes, line 25
25pts.easing);return u.tweens.push(i),i},stop:function(t){var n=0,i=t?u.tweens.length:0;if(r)return this;for(r=!0;n<i;n++)u.tweens[n].run(1);return t?(a.notifyWith(e,[u,1,0]),a.resolveWith(e,[u,t])):a.rejectWith(e,[u,t]),this}}),c=u.props;for(!function(e,t){var n,i,r,s,o;for(n in e)if(r=t[i=Y(n)],s=e[n],Array.isArray(s)&&(r=s[1],s=e[n]=s[0]),n!==i&&(e[i]=s,delete e[n]),(o=x.cssHooks[i])&&"expand"in o)for(n in s=o.expand(s),delete e[i],s)n in e||(e[n]=s[n],t[n]=r);else t[i]=r}(c,u.opts.specialEasing);s<o;s++)if(i=ht.prefilters[s].call(u,e,c,u.opts))return f(i.stop)&&(x._queueHooks(u.elem,u.opts.queue).stop=i.stop.bind(i)),i;return x.map(c,dt,u),f(u.opts.start)&&u.opts.start.call(e,u),u.progress(u.opts.progress).done(u.opts.done,u.opts.complete).fail(u.opts.fail).always(u.opts.always),x.fx.timer(x.extend(l,{elem:e,anim:u,queue:u.opts.queue})),u}x.Animation=x.extend(ht,{tweeners:{"*":[function(e,t){var n=this.createTween(e,t);return le(n.elem,e,ne.exec(t),n),n}]},tweener:function(e,t){f(e)?(t=e,e=["*"]):e=e.match(O);for(var n,i=0,r=e.length;i<r;i++)n=e[i],ht.tweeners[n]=ht.tweeners[n]||[],ht.tweeners[n].unshift(t)},prefilters:[function(e,t,n){var i,r,s,o,a,l,u,c,d="width"in t||"height"in t,h=this,p={},f=e.style,m=e.nodeType&&ae(e),g=K.get(e,"fxshow");for(i in n.queue||(null==(o=x._queueHooks(e,"fx")).unqueued&&(o.unqueued=0,a=o.empty.fire,o.empty.fire=function(){o.unqueued||a()}),o.unqueued++,h.always((function(){h.always((function(){o.unqueued--,x.queue(e,"fx").length||o.empty.fire()}))}))),t)if(r=t[i],ot.test(r)){if(delete t[i],s=s||"toggle"===r,r===(m?"hide":"show")){if("show"!==r||!g||void 0===g[i])continue;m=!0}p[i]=g&&g[i]||x.style(e,i)}if((l=!x.isEmptyObject(t))||!x.isEmptyObject(p))for(i in d&&1===e.nodeType&&(n.overflow=[f.overflow,f.overflowX,f.overflowY],null==(u=g&&g.display)&&(u=K.get(e,"display")),"none"===(c=x.css(e,"display"))&&(u?c=u:(de([e],!0),u=e.style.display||u,c=x.css(e,"display"),de([e]))),("inline"===c||"inline-block"===c&&null!=u)&&"none"===x.css(e,"float")&&(l||(h.done((function(){f.display=u})),null==u&&(c=f.display,u="none"===c?"":c)),f.display="inline-block")),n.overflow&&(f.overflow="hidden",h.always((function(){f.overflow=n.overflow[0],f.overflowX=n.overflow[1],f.overflowY=n.overflow[2]}))),l=!1,p)l||(g?"hidden"in g&&(m=g.hidden):g=K.access(e,"fxshow",{display:u}),s&&(g.hidden=!m),m&&de([e],!0),h.done((function(){for(i in m||de([e]),K.remove(e,"fxshow"),p)x.style(e,i,p[i])}))),l=dt(m?g[i]:0,i,h),i in g||(g[i]=l.start,m&&(l.end=l.start,l.start=0))}],prefilter:function(e,t){t?ht.prefilters.unshift(e):ht.prefilters.push(e)}}),x.speed=function(e,t,n){var i=e&&"object"==typeof e?x.extend({},e):{complete:n||!n&&t||f(e)&&e,duration:e,easing:n&&t||t&&!f(t)&&t};return x.fx.off?i.duration=0:"number"!=typeof i.duration&&(i.duration in x.fx.speeds?i.duration=x.fx.speeds[i.duration]:i.duration=x.fx.speeds._default),null!=i.queue&&!0!==i.queue||(i.queue="fx"),i.old=i.complete,i.complete=function(){f(i.old)&&i.old.call(this),i.queue&&x.dequeue(this,i.queue)},i},x.fn.extend({fadeTo:function(e,t,n,i){return this.filter(ae).css("opacity",0).show().end().animate({opacity:t},e,n,i)},animate:function(e,t,n,i){var r=x.isEmptyObject(e),s=x.speed(t,n,i),o=function(){var t=ht(this,x.extend({},e),s);(r||K.get(this,"finish"))&&t.stop(!0)};return o.finish=o,r||!1===s.queue?this.each(o):this.queue(s.queue,o)},stop:function(e,t,n){var i=function(e){var t=e.stop;delete e.stop,t(n)};return"string"!=typeof e&&(n=t,t=e,e=void 0),t&&this.queue(e||"fx",[]),this.each((function(){var t=!0,r=null!=e&&e+"queueHooks",s=x.timers,o=K.get(this);if(r)o[r]&&o[r].stop&&i(o[r]);else for(r in o)o[r]&&o[r].stop&&at.test(r)&&i(o[r]);for(r=s.length;r--;)s[r].elem!==this||null!=e&&s[r].queue!==e||(s[r].anim.stop(n),t=!1,s.splice(r,1));!t&&n||x.dequeue(this,e)}))},finish:function(e){return!1!==e&&(e=e||"fx"),this.each((function(){var t,n=K.get(this),i=n[e+"queue"],r=n[e+"queueHooks"],s=x.timers,o=i?i.length:0;for(n.finish=!0,x.queue(this,e,[]),r&&r.stop&&r.stop.call(this,!0),t=s.length;t--;)s[t].elem===this&&s[t].queue===e&&(s[t].anim.stop(!0),s.splice(t,1));for(t=0;t<o;t++)i[t]&&i[t].finish&&i[t].finish.call(this);delete n.finish}))}}),x.each(["toggle","show","hide"],(function(e,t){var n=x.fn[t];x.fn[t]=function(e,i,r){return null==e||"boolean"==typeof e?n.apply(this,arguments):this.animate(ct(t,!0),e,i,r)}})),x.each({slideDown:ct("show"),slideUp:ct("hide"),slideToggle:ct("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},(function(e,t){x.fn[e]=function(e,n,i){return this.animate(t,e,n,i)}})),x.timers=[],x.fx.tick=function(){var e,t=0,n=x.timers;for(rt=Date.now();t<n.length;t++)(e=n[t])()||n[t]!==e||n.splice(t--,1);n.length||x.fx.stop(),rt=void 0},x.fx.timer=function(e){x.timers.push(e),x.fx.start()},x.fx.interval=13,x.fx.start=function(){st||(st=!0,lt())},x.fx.stop=function(){st=null},x.fx.speeds={slow:600,fast:200,_default:400},x.fn.delay=function(t,n){return t=x.fx&&x.fx.speeds[t]||t,n=n||"fx",this.queue(n,(function(n,i){var r=e.setTimeout(n,t);i.stop=function(){e.clearTimeout(r)}}))},function(){var e=g.createElement("input"),t=g.createElement("select").appendChild(g.createElement("option"));e.type="checkbox",p.checkOn=""!==e.value,p.optSelected=t.selected,(e=g.createElement("input")).value="t",e.type="radio",p.radioValue="t"===e.value}();var pt,ft=x.expr.attrHandle;x.fn.extend({attr:function(e,t){return F(this,x.attr,e,t,arguments.length>1)},removeAttr:function(e){return this.each((function(){x.removeAttr(this,e)}))}}),x.extend({attr:function(e,t,n){var i,r,s=e.nodeType;if(3!==s&&8!==s&&2!==s)return void 0===e.getAttribute?x.prop(e,t,n):(1===s&&x.isXMLDoc(e)||(r=x.attrHooks[t.toLowerCase()]||(x.expr.match.bool.test(t)?pt:void 0)),void 0!==n?null===n?void x.removeAttr(e,t):r&&"set"in r&&void 0!==(i=r.set(e,n,t))?i:(e.setAttribute(t,n+""),n):r&&"get"in r&&null!==(i=r.get(e,t))?i:null==(i=x.find.attr(e,t))?void 0:i)},attrHooks:{type:{set:function(e,t){if(!p.radioValue&&"radio"===t&&_(e,"
25input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}}},removeAttr:function(e,t){var n,i=0,r=t&&t.match(O);if(r&&1===e.nodeType)for(;n=r[i++];)e.removeAttribute(n)}}),pt={set:function(e,t,n){return!1===t?x.removeAttr(e,n):e.setAttribute(n,n),n}},x.each(x.expr.match.bool.source.match(/\w+/g),(function(e,t){var n=ft[t]||x.find.attr;ft[t]=function(e,t,i){var r,s,o=t.toLowerCase();return i||(s=ft[o],ft[o]=r,r=null!=n(e,t,i)?o:null,ft[o]=s),r}}));var mt=/^(?:input|select|textarea|button)$/i,gt=/^(?:a|area)$/i;function vt(e){return(e.match(O)||[]).join(" ")}function yt(e){return e.getAttribute&&e.getAttribute("class")||""}function bt(e){return Array.isArray(e)?e:"string"==typeof e&&e.match(O)||[]}x.fn.extend({prop:function(e,t){return F(this,x.prop,e,t,arguments.length>1)},removeProp:function(e){return this.each((function(){delete this[x.propFix[e]||e]}))}}),x.extend({prop:function(e,t,n){var i,r,s=e.nodeType;if(3!==s&&8!==s&&2!==s)return 1===s&&x.isXMLDoc(e)||(t=x.propFix[t]||t,r=x.propHooks[t]),void 0!==n?r&&"set"in r&&void 0!==(i=r.set(e,n,t))?i:e[t]=n:r&&"get"in r&&null!==(i=r.get(e,t))?i:e[t]},propHooks:{tabIndex:{get:function(e){var t=x.find.attr(e,"tabindex");return t?parseInt(t,10):mt.test(e.nodeName)||gt.test(e.nodeName)&&e.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),p.optSelected||(x.propHooks.selected={get:function(e){var t=e.parentNode;return t&&t.parentNode&&t.parentNode.selectedIndex,null},set:function(e){var t=e.parentNode;t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex)}}),x.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],(function(){x.propFix[this.toLowerCase()]=this})),x.fn.extend({addClass:function(e){var t,n,i,r,s,o,a,l=0;if(f(e))return this.each((function(t){x(this).addClass(e.call(this,t,yt(this)))}));if((t=bt(e)).length)for(;n=this[l++];)if(r=yt(n),i=1===n.nodeType&&" "+vt(r)+" "){for(o=0;s=t[o++];)i.indexOf(" "+s+" ")<0&&(i+=s+" ");r!==(a=vt(i))&&n.setAttribute("class",a)}return this},removeClass:function(e){var t,n,i,r,s,o,a,l=0;if(f(e))return this.each((function(t){x(this).removeClass(e.call(this,t,yt(this)))}));if(!arguments.length)return this.attr("class","");if((t=bt(e)).length)for(;n=this[l++];)if(r=yt(n),i=1===n.nodeType&&" "+vt(r)+" "){for(o=0;s=t[o++];)for(;i.indexOf(" "+s+" ")>-1;)i=i.replace(" "+s+" "," ");r!==(a=vt(i))&&n.setAttribute("class",a)}return this},toggleClass:function(e,t){var n=typeof e,i="string"===n||Array.isArray(e);return"boolean"==typeof t&&i?t?this.addClass(e):this.removeClass(e):f(e)?this.each((function(n){x(this).toggleClass(e.call(this,n,yt(this),t),t)})):this.each((function(){var t,r,s,o;if(i)for(r=0,s=x(this),o=bt(e);t=o[r++];)s.hasClass(t)?s.removeClass(t):s.addClass(t);else void 0!==e&&"boolean"!==n||((t=yt(this))&&K.set(this,"__className__",t),this.setAttribute&&this.setAttribute("class",t||!1===e?"":K.get(this,"__className__")||""))}))},hasClass:function(e){var t,n,i=0;for(t=" "+e+" ";n=this[i++];)if(1===n.nodeType&&(" "+vt(yt(n))+" ").indexOf(t)>-1)return!0;return!1}});var wt=/\r/g;x.fn.extend({val:function(e){var t,n,i,r=this[0];return arguments.length?(i=f(e),this.each((function(n){var r;1===this.nodeType&&(null==(r=i?e.call(this,n,x(this).val()):e)?r="":"number"==typeof r?r+="":Array.isArray(r)&&(r=x.map(r,(function(e){return null==e?"":e+""}))),(t=x.valHooks[this.type]||x.valHooks[this.nodeName.toLowerCase()])&&"set"in t&&void 0!==t.set(this,r,"value")||(this.value=r))}))):r?(t=x.valHooks[r.type]||x.valHooks[r.nodeName.toLowerCase()])&&"get"in t&&void 0!==(n=t.get(r,"value"))?n:"string"==typeof(n=r.value)?n.replace(wt,""):null==n?"":n:void 0}}),x.extend({valHooks:{option:{get:function(e){var t=x.find.attr(e,"value");return null!=t?t:vt(x.text(e))}},select:{get:function(e){var t,n,i,r=e.options,s=e.selectedIndex,o="select-one"===e.type,a=o?null:[],l=o?s+1:r.length;for(i=s<0?l:o?s:0;i<l;i++)if(((n=r[i]).selected||i===s)&&!n.disabled&&(!n.parentNode.disabled||!_(n.parentNode,"optgroup"))){if(t=x(n).val(),o)return t;a.push(t)}return a}
vendor: 13,261 bytes, line 25
25,set:function(e,t){for(var n,i,r=e.options,s=x.makeArray(t),o=r.length;o--;)((i=r[o]).selected=x.inArray(x.valHooks.option.get(i),s)>-1)&&(n=!0);return n||(e.selectedIndex=-1),s}}}}),x.each(["radio","checkbox"],(function(){x.valHooks[this]={set:function(e,t){if(Array.isArray(t))return e.checked=x.inArray(x(e).val(),t)>-1}},p.checkOn||(x.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})})),p.focusin="onfocusin"in e;var xt=/^(?:focusinfocus|focusoutblur)$/,Ct=function(e){e.stopPropagation()};x.extend(x.event,{trigger:function(t,n,i,r){var s,o,a,l,u,d,h,p,v=[i||g],y=c.call(t,"type")?t.type:t,b=c.call(t,"namespace")?t.namespace.split("."):[];if(o=p=a=i=i||g,3!==i.nodeType&&8!==i.nodeType&&!xt.test(y+x.event.triggered)&&(y.indexOf(".")>-1&&(b=y.split("."),y=b.shift(),b.sort()),u=y.indexOf(":")<0&&"on"+y,(t=t[x.expando]?t:new x.Event(y,"object"==typeof t&&t)).isTrigger=r?2:3,t.namespace=b.join("."),t.rnamespace=t.namespace?new RegExp("(^|\\.)"+b.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,t.result=void 0,t.target||(t.target=i),n=null==n?[t]:x.makeArray(n,[t]),h=x.event.special[y]||{},r||!h.trigger||!1!==h.trigger.apply(i,n))){if(!r&&!h.noBubble&&!m(i)){for(l=h.delegateType||y,xt.test(l+y)||(o=o.parentNode);o;o=o.parentNode)v.push(o),a=o;a===(i.ownerDocument||g)&&v.push(a.defaultView||a.parentWindow||e)}for(s=0;(o=v[s++])&&!t.isPropagationStopped();)p=o,t.type=s>1?l:h.bindType||y,(d=(K.get(o,"events")||Object.create(null))[t.type]&&K.get(o,"handle"))&&d.apply(o,n),(d=u&&o[u])&&d.apply&&U(o)&&(t.result=d.apply(o,n),!1===t.result&&t.preventDefault());return t.type=y,r||t.isDefaultPrevented()||h._default&&!1!==h._default.apply(v.pop(),n)||!U(i)||u&&f(i[y])&&!m(i)&&((a=i[u])&&(i[u]=null),x.event.triggered=y,t.isPropagationStopped()&&p.addEventListener(y,Ct),i[y](),t.isPropagationStopped()&&p.removeEventListener(y,Ct),x.event.triggered=void 0,a&&(i[u]=a)),t.result}},simulate:function(e,t,n){var i=x.extend(new x.Event,n,{type:e,isSimulated:!0});x.event.trigger(i,null,t)}}),x.fn.extend({trigger:function(e,t){return this.each((function(){x.event.trigger(e,t,this)}))},triggerHandler:function(e,t){var n=this[0];if(n)return x.event.trigger(e,t,n,!0)}}),p.focusin||x.each({focus:"focusin",blur:"focusout"},(function(e,t){var n=function(e){x.event.simulate(t,e.target,x.event.fix(e))};x.event.special[t]={setup:function(){var i=this.ownerDocument||this.document||this,r=K.access(i,t);r||i.addEventListener(e,n,!0),K.access(i,t,(r||0)+1)},teardown:function(){var i=this.ownerDocument||this.document||this,r=K.access(i,t)-1;r?K.access(i,t,r):(i.removeEventListener(e,n,!0),K.remove(i,t))}}}));var Et=e.location,Tt={guid:Date.now()},St=/\?/;x.parseXML=function(t){var n;if(!t||"string"!=typeof t)return null;try{n=(new e.DOMParser).parseFromString(t,"text/xml")}catch(e){n=void 0}return n&&!n.getElementsByTagName("parsererror").length||x.error("Invalid XML: "+t),n};var $t=/\[\]$/,kt=/\r?\n/g,_t=/^(?:submit|button|image|reset|file)$/i,At=/^(?:input|select|textarea|keygen)/i;function Dt(e,t,n,i){var r;if(Array.isArray(t))x.each(t,(function(t,r){n||$t.test(e)?i(e,r):Dt(e+"["+("object"==typeof r&&null!=r?t:"")+"]",r,n,i)}));else if(n||"object"!==b(t))i(e,t);else for(r in t)Dt(e+"["+r+"]",t[r],n,i)}x.param=function(e,t){var n,i=[],r=function(e,t){var n=f(t)?t():t;i[i.length]=encodeURIComponent(e)+"="+encodeURIComponent(null==n?"":n)};if(null==e)return"";if(Array.isArray(e)||e.jquery&&!x.isPlainObject(e))x.each(e,(function(){r(this.name,this.value)}));else for(n in e)Dt(n,e[n],t,r);return i.join("&")},x.fn.extend({serialize:function(){return x.param(this.serializeArray())},serializeArray:function(){return this.map((function(){var e=x.prop(this,"elements");return e?x.makeArray(e):this})).filter((function(){var e=this.type;return this.name&&!x(this).is(":disabled")&&At.test(this.nodeName)&&!_t.test(e)&&(this.checked||!fe.test(e))})).map((function(e,t){var n=x(this).val();return null==n?null:Array.isArray(n)?x.map(n,(function(e){return{name:t.name,value:e.replace(kt,"\r\n")}})):{name:t.name,value:n.replace(kt,"\r\n")}})).get()}});var zt=/%20/g,Mt=/#.*$/,Lt=/([?&])_=[^&]*/,Pt=/^(.*?):[ \t]*([^\r\n]*)$/gm,It=/^(?:GET|HEAD)$/,Ot=/^\/\//,Rt={},Nt={},Ht="*/".concat("*"),qt=g.createElement("a");function Bt(e){return function(t,n){"string"!=typeof t&&(n=t,t="*");var i,r=0,s=t.toLowerCase().match(O)||[];if(f(n))for(;i=s[r++];)"+"===i[0]?(i=i.slice(1)||"*",(e[i]=e[i]||[]).unshift(n)):(e[i]=e[i]||[]).push(n)}}function jt(e,t,n,i){var r={},s=e===Nt;function o(a){var l;return r[a]=!0,x.each(e[a]||[],(function(e,a){var u=a(t,n,i);return"string"!=typeof u||s||r[u]?s?!(l=u):void 0:(t.dataTypes.unshift(u),o(u),!1)})),l}return o(t.dataTypes[0])||!r["*"]&&o("*")}function Ft(e,t){var n,i,r=x.ajaxSettings.flatOptions||{};for(n in t)void 0!==t[n]&&((r[n]?e:i||(i={}))[n]=t[n]);return i&&x.extend(!0,e,i),e}qt.href=Et.href,x.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:Et.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(Et.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Ht,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":x.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?Ft(Ft(e,x.ajaxSettings),t):Ft(x.ajaxSettings,e)},ajaxPrefilter:Bt(Rt),ajaxTransport:Bt(Nt),ajax:function(t,n){"object"==typeof t&&(n=t,t=void 0),n=n||{};var i,r,s,o,a,l,u,c,d,h,p=x.ajaxSetup({},n),f=p.context||p,m=p.context&&(f.nodeType||f.jquery)?x(f):x.event,v=x.Deferred(),y=x.Callbacks("once memory"),b=p.statusCode||{},w={},C={},E="canceled",T={readyState:0,getResponseHeader:function(e){var t;if(u){if(!o)for(o={};t=Pt.exec(s);)o[t[1].toLowerCase()+" "]=(o[t[1].toLowerCase()+" "]||[]).concat(t[2]);t=o[e.toLowerCase()+" "]}return null==t?null:t.join(", ")},getAllResponseHeaders:function(){return u?s:null},setRequestHeader:function(e,t){return null==u&&(e=C[e.toLowerCase()]=C[e.toLowerCase()]||e,w[e]=t),this},overrideMimeType:function(e){return null==u&&(p.mimeType=e),this},statusCode:function(e){var t;if(e)if(u)T.always(e[T.status]);else for(t in e)b[t]=[b[t],e[t]];return this},abort:function(e){var t=e||E;return i&&i.abort(t),S(0,t),this}};if(v.promise(T),p.url=((t||p.url||Et.href)+"").replace(Ot,Et.protocol+"//"),p.type=n.method||n.type||p.method||p.type,p.dataTypes=(p.dataType||"*").toLowerCase().match(O)||[""],null==p.crossDomain){l=g.createElement("a");try{l.href=p.url,l.href=l.href,p.crossDomain=qt.protocol+"//"+qt.host!=l.protocol+"//"+l.host}catch(e){p.crossDomain=!0}}if(p.data&&p.processData&&"string"!=typeof p.data&&(p.data=x.param(p.data,p.traditional)),jt(Rt,p,n,T),u)return T;for(d in(c=x.event&&p.global)&&0==x.active++&&x.event.trigger("ajaxStart"),p.type=p.type.toUpperCase(),p.hasContent=!It.test(p.type),r=p.url.replace(Mt,""),p.hasContent?p.data&&p.processData&&0===(p.contentType||"").indexOf("application/x-www-form-urlencoded")&&(p.data=p.data.replace(zt,"+")):(h=p.url.slice(r.length),p.data&&(p.processData||"string"==typeof p.data)&&(r+=(St.test(r)?"&":"?")+p.data,delete p.data),!1===p.cache&&(r=r.replace(Lt,"$1"),h=(St.test(r)?"&":"?")+"_="+Tt.guid+++h),p.url=r+h),p.ifModified&&(x.lastModified[r]&&T.setRequestHeader("If-Modified-Since",x.lastModified[r]),x.etag[r]&&T.setRequestHeader("If-None-Match",x.etag[r])),(p.data&&p.hasContent&&!1!==p.contentType||n.contentType)&&T.setRequestHeader("Content-Type",p.contentType),T.setRequestHeader("Accept",p.dataTypes[0]&&p.accepts[p.dataTypes[0]]?p.accepts[p.dataTypes[0]]+("*"!==p.dataTypes[0]?", "+Ht+"; q=0.01":""):p.accepts["*"]),p.headers)T.setRequestHeader(d,p.headers[d]);if(p.beforeSend&&(!1===p.beforeSend.call(f,T,p)||u))return T.abort();if(E="abort",y.add(p.complete),T.done(p.success),T.fail(p.error),i=jt(Nt,p,n,T)){if(T.readyState=1,c&&m.trigger("ajaxSend",[T,p]),u)return T;p.async&&p.timeout>0&&(a=e.setTimeout((function(){T.abort("timeout")}),p.timeout));try{u=!1,i.send(w,S)}catch(e){if(u)throw e;S(-1,e)}}else S(-1,"No Transport");function S(t,n,o,l){var d,h,g,w,C,E=n;u||(u=!0,a&&e.clearTimeout(a),i=void 0,s=l||"",T.readyState=t>0?4:0,d=t>=200&&t<300||304===t,o&&(w=function(e,t,n){for(var i,r,s,o,a=e.contents,l=e.dataTypes;"*"===l[0];)l.shift(),void 0===i&&(i=e.mimeType||t.getResponseHeader("Content-Type"));if(i)for(r in a)if(a[r]&&a[r].test(i)){l.unshift(r);break}if(l[0]in n)s=l[0];else{for(r in n){if(!l[0]||e.converters[r+" "+l[0]]){s=r;break}o||(o=r)}s=s||o}if(s)return s!==l[0]&&l.unshift(s),n[s]}(p,T,o)),!d&&x.inArray("script",p.dataTypes)>-1&&(p.converters["text script"]=function(){}),w=function(e,t,n,i){var r,s,o,a,l,u={},c=e.dataTypes.slice();if(c[1])for(o in e.converters)u[o.toLowerCase()]=e.converters[o];for(s=c.shift();s;)if(e.responseFields[s]&&(n[e.responseFields[s]]=t),!l&&i&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),l=s,s=c.shift())if("*"===s)s=l;else if("*"!==l&&l!==s){if(!(o=u[l+" "+s]||u["* "+s]))for(r in u)if((a=r.split(" "))[1]===s&&(o=u[l+" "+a[0]]||u["* "+a[0]])){!0===o?o=u[r]:!0!==u[r]&&(s=a[0],c.unshift(a[1]));break}if(!0!==o)if(o&&e.throws)t=o(t);else try{t=o(t)}catch(e){return{state:"parsererror",error:o?e:"No conversion from "+l+" to "+s}}}return{state:"success",data:t}}(p,w,T,d),d?(p.ifModified&&((C=T.getResponseHeader("Last-Modified"))&&(x.lastModified[r]=C),(C=T.getResponseHeader("etag"))&&(x.etag[r]=C)),204===t||"HEAD"===p.type?E="nocontent":304===t?E="notmodified":(E=w.state,h=w.data,d=!(g=w.error))):(g=E,!t&&E||(E="error",t<0&&(t=0))),T.status=t,T.statusText=(n||E)+"",d?v.resolveWith(f,[h,E,T]):v.rejectWith(f,[T,E,g]),T.statusCode(b),b=void 0,c&&m.trigger(d?"ajaxSuccess":"ajaxError",[T,p,d?h:g]),y.fireWith(f,[T,E]),c&&(m.trigger("ajaxComplete",[T,p]),--x.active||x.event.trigger("ajaxStop")))}return T},getJSON:function(e,t,n){return x.get(e,t,n,"json")},getScript:function(e,t){return x.get(e,void 0,t,"script")}}),x.each(["get","post"],(function(e,t){x[t]=function(e,n,i,r){return f(n)&&(r=r||i,i=n,n=void 0),x.ajax(x.extend({url:e,type:t,dataType:r,data:n,success:i},x.isPlainObject(e)&&e))}})),x.ajaxPrefilter((function(e){var t;for(t in e.headers)"content-type"===t.toLowerCase()&&(e.contentType=e.headers[t]||"")})),x._evalUrl=function(e,t,n){return x.ajax({url:e,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(e){x.globalEval(e,t,n)}})},x.fn.extend({wrapAll:function(e){var t;return this[0]&&(f(e)&&(e=e.call(this[0])),t=x(e,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&t.insertBefore(this[0]),t.map((function(){for(var e=this;e.firstElementChild;)e=e.firstElementChild;return e})).append(this)),this},wrapInner:function(e){return f(e)?this.each((function(t){x(this).wrapInner(e.call(this,t))})):this.each((function(){var t=x(this),n=t.contents();n.length?n.wrapAll(e):t.append(e)}))},wrap:function(e){var t=f(e);return this.each((function(n){x(this).wrapAll(t?e.call(this,n):e)}))},unwrap:function(e){return this.parent(e).not("body").each((function(){x(this).replaceWith(this.childNodes)})),this}}),x.expr.pseudos.hidden=function(e){return!x.expr.pseudos.visible(e)},x.expr.pseudos.visible=function(e){return!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)},x.ajaxSettings.xhr=function(){try{return new e.XMLHttpRequest}catch(e){}};var Wt={0:200,1223:204},Vt=x.ajaxSettings.xhr();p.cors=!!Vt&&"withCredentials"in Vt,p.ajax=Vt=!!Vt,x.ajaxTransport((function(t){var n,i;if(p.cors||Vt&&!t.crossDomain)return{send:function(r,s){var o,a=t.xhr();if(a.open(t.type,t.url,t.async,t.username,t.password),t.xhrFields)for(o in t.xhrFields)a[o]=t.xhrFields[o];for(o in t.mimeType&&a.overrideMimeType&&a.overrideMimeType(t.mimeType),t.crossDomain||r["X-Requested-With"]||(r["X-Requested-With"]="XMLHttpRequest"),r)a.setRequestHeader(o,r[o]);n=function(e){return function(){n&&(n=i=a.onload=a.onerror=a.onabort=a.ontimeout=a.onreadystatechange=null,"abort"===e?a.abort():"error"===e?"number"!=typeof a.status?s(0,"error"):s(a.status,a.statusText):s(Wt[a.status]||a.status,a.statusText,"text"!==(a.responseType||"text")||"string"!=typeof a.responseText?{binary:a.response}:{text:a.responseText},a.getAllResponseHeaders()))}},a.onload=n(),i=a.onerror=a.ontimeout=n("error"),void 0!==a.onabort?a.onabort=i:a.onreadystatechange=function(){4===a.readyState&&e.setTimeout((function(){n&&i()}))},n=n("abort");try{a.send(t.hasContent&&t.data||null)}catch(e){if(n)throw e}},abort:function(){n&&n()}}})),x.ajaxPrefilter((function(e){e.crossDomain&&(e.contents.script=!1)})),x.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(e){return x.globalEval(e),e}}}),x.ajaxPrefilter("script",(function(e){void 0===e.cache&&(e.cache=!1),e.crossDomain&&(e.type="GET")})),x.ajaxTransport("script",(function(e){var t,n;if(e.crossDomain||e.scriptAttrs)return{send:function(i,r){t=x("<script>").attr(e.scriptAttrs||{}
vendor: 2,211 bytes, line 25
25).prop({charset:e.scriptCharset,src:e.url}).on("load error",n=function(e){t.remove(),n=null,e&&r("error"===e.type?404:200,e.type)}),g.head.appendChild(t[0])},abort:function(){n&&n()}}}));var Gt,Yt=[],Ut=/(=)\?(?=&|$)|\?\?/;x.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=Yt.pop()||x.expando+"_"+Tt.guid++;return this[e]=!0,e}}),x.ajaxPrefilter("json jsonp",(function(t,n,i){var r,s,o,a=!1!==t.jsonp&&(Ut.test(t.url)?"url":"string"==typeof t.data&&0===(t.contentType||"").indexOf("application/x-www-form-urlencoded")&&Ut.test(t.data)&&"data");if(a||"jsonp"===t.dataTypes[0])return r=t.jsonpCallback=f(t.jsonpCallback)?t.jsonpCallback():t.jsonpCallback,a?t[a]=t[a].replace(Ut,"$1"+r):!1!==t.jsonp&&(t.url+=(St.test(t.url)?"&":"?")+t.jsonp+"="+r),t.converters["script json"]=function(){return o||x.error(r+" was not called"),o[0]},t.dataTypes[0]="json",s=e[r],e[r]=function(){o=arguments},i.always((function(){void 0===s?x(e).removeProp(r):e[r]=s,t[r]&&(t.jsonpCallback=n.jsonpCallback,Yt.push(r)),o&&f(s)&&s(o[0]),o=s=void 0})),"script"})),p.createHTMLDocument=((Gt=g.implementation.createHTMLDocument("").body).innerHTML="<form></form><form></form>",2===Gt.childNodes.length),x.parseHTML=function(e,t,n){return"string"!=typeof e?[]:("boolean"==typeof t&&(n=t,t=!1),t||(p.createHTMLDocument?((i=(t=g.implementation.createHTMLDocument("")).createElement("base")).href=g.location.href,t.head.appendChild(i)):t=g),s=!n&&[],(r=A.exec(e))?[t.createElement(r[1])]:(r=xe([e],t,s),s&&s.length&&x(s).remove(),x.merge([],r.childNodes)));var i,r,s},x.fn.load=function(e,t,n){var i,r,s,o=this,a=e.indexOf(" ");return a>-1&&(i=vt(e.slice(a)),e=e.slice(0,a)),f(t)?(n=t,t=void 0):t&&"object"==typeof t&&(r="POST"),o.length>0&&x.ajax({url:e,type:r||"GET",dataType:"html",data:t}).done((function(e){s=arguments,o.html(i?x("<div>").append(x.parseHTML(e)).find(i):e)})).always(n&&function(e,t){o.each((function(){n.apply(this,s||[e.responseText,t,e])}))}),this},x.expr.pseudos.animated=function(e){return x.grep(x.timers,(function(t){return e===t.elem})).length},x.offset={setOffset:function(e,t,n){var i,r,s,o,a,l,u=x.css(e,"position"),c=x(e),d={};"static"===u&&(e.style.position="relative"),a=c.offset(),s=x.css(e,"to
25p"),l=x.css(e,"left"),("absolute"===u||"fixed"===u)&&(s+l).indexOf("auto")>-1?(o=(i=c.position()).top,r=i.left):(o=parseFloat(s)||0,r=parseFloat(l)||0),f(t)&&(t=t.call(e,n,x.extend({},a))),null!=t.top&&(d.top=t.top-a.top+o),null!=t.left&&(d.left=t.left-a.left+r),"using"in t?t.using.call(e,d):("number"==typeof d.top&&(d.top+="px"),"number"==typeof d.left&&(d.left+="px"),c.css(d))}},x.fn.extend({offset:function(e){if(arguments.length)return void 0===e?this:this.each((function(t){x.offset.setOffset(this,e,t)}));var t,n,i=this[0];return i?i.getClientRects().length?(t=i.getBoundingClientRect(),n=i.ownerDocument.defaultView,{top:t.top+n.pageYOffset,left:t.left+n.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var e,t,n,i=this[0],r={top:0,left:0};if("fixed"===x.css(i,"position"))t=i.getBoundingClientRect();else{for(t=this.offset(),n=i.ownerDocument,e=i.offsetParent||n.documentElement;e&&(e===n.body||e===n.documentElement)&&"static"===x.css(e,"position");)e=e.parentNode;e&&e!==i&&1===e.nodeType&&((r=x(e).offset()).top+=x.css(e,"borderTopWidth",!0),r.left+=x.css(e,"borderLeftWidth",!0))}return{top:t.top-r.top-x.css(i,"marginTop",!0),left:t.left-r.left-x.css(i,"marginLeft",!0)}}},offsetParent:function(){return this.map((function(){for(var e=this.offsetParent;e&&"static"===x.css(e,"position");)e=e.offsetParent;return e||re}))}}),x.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},(function(e,t){var n="pageYOffset"===t;x.fn[e]=function(i){return F(this,(function(e,i,r){var s;if(m(e)?s=e:9===e.nodeType&&(s=e.defaultView),void 0===r)return s?s[t]:e[i];s?s.scrollTo(n?s.pageXOffset:r,n?r:s.pageYOffset):e[i]=r}),e,i,arguments.length)}})),x.each(["top","left"],(function(e,t){x.cssHooks[t]=Ve(p.pixelPosition,(function(e,n){if(n)return n=We(e,t),qe.test(n)?x(e).position()[t]+"px":n}))})),x.each({Height:"height",Width:"width"},(function(e,t){x.each({padding:"inner"+e,content:t,"":"outer"+e},(function(n,i){x.fn[i]=function(r,s){var o=arguments.length&&(n||"boolean"!=typeof r),a=n||(!0===r||!0===s?"margin":"border");return F(this,(function(t,n,r){var s;return m(t)?0===i.indexOf("outer")?t["inner"+e]:t.document.documentElement["client"+e]:9===t.nodeType?(s=t.documentElement,Math.max(t.body["scroll"+e],s["scroll"+e],t.body["offset"+e],s["offset"+e],s["client"+e])):void 0===r?x.css(t,n,a):x.style(t,n,r,a)}),t,o?r:void 0,o)}}))})),x.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],(function(e,t){x.fn[t]=function(e){return this.on(t,e)}})),x.fn.extend({bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},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)},hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)}}),x.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),(function(e,t){x.fn[t]=function(e,n){return arguments.length>0?this.on(t,null,e,n):this.trigger(t)}}));var Xt=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g;x.proxy=function(e,t){var n,i,s;if("string"==typeof t&&(n=e[t],t=e,e=n),f(e))return i=r.call(arguments,2),(s=function(){return e.apply(t||this,i.concat(r.call(arguments)))}).guid=e.guid=e.guid||x.guid++,s},x.holdReady=function(e){e?x.readyWait++:x.ready(!0)},x.isArray=Array.isArray,x.parseJSON=JSON.parse,x.nodeName=_,x.isFunction=f,x.isWindow=m,x.camelCase=Y,x.type=b,x.now=Date.now,x.isNumeric=function(e){var t=x.type(e);return("number"===t||"string"===t)&&!isNaN(e-parseFloat(e))},x.trim=function(e){return null==e?"":(e+"").replace(Xt,"")},"function"==typeof define&&define.amd&&define("jquery",[],(function(){return x}));var Kt=e.jQuery,Qt=e.$;return x.noConflict=function(t){return e.$===x&&(e.$=Qt),t&&e.jQuery===x&&(e.jQuery=Kt),x},void 0===t&&(e.jQuery=e.$=x),x})), 26/*! UIkit 3.2.6 | http://www.getuikit.com | (c) 2014 - 2019 YOOtheme | MIT License */ 27function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define("uikit",t):(e=e||self).UIkit=t()}(this,(function(){"use strict";var e=Object.prototype,t=e.hasOwnProperty;function n(e,n){return t.call(e,n)}var i={},r=/([a-z\d])([A-Z])/g;function s(e){return e in i||(i[e]=e.replace(r,"$1-$2").toLowerCase()),i[e]}var o=/-(\w)/g;function a(e){return e.replace(o,l)}function l(e,t){return t?t.toUpperCase():""}function u(e){return e.length?l(0,e.charAt(0))+e.slice(1):""}var c=String.prototype,d=c.startsWith||function(e){return 0===this.lastIndexOf(e,0)};function h(e,t){return d.call(e,t)}var p=c.endsWith||function(e){return this.substr(-e.length)===e};function f(e,t){return p.call(e,t)}var m=Array.prototype,g=function(e,t){return~this.indexOf(e,t)},v=c.includes||g,y=m.includes||g;function b(e,t){return e&&(P(e)?v:y).call(e,t)}var w=m.findIndex||function(e){for(var t=arguments,n=0;n<this.length;n++)if(e.call(t[1],this[n],n,this))return n;return-1};var x=Array.isArray;function C(e){return"function"==typeof e}function E(e){return null!==e&&"object"==typeof e}var T=e.toString;function S(e){return"[object Object]"===T.call(e)}function k(e){return E(e)&&e===e.window}
27function _(e){return E(e)&&9===e.nodeType}function A(e){return E(e)&&!!e.jquery}function D(e){return E(e)&&e.nodeType>=1}function z(e){return E(e)&&1===e.nodeType}function M(e){return T.call(e).match(/^\[object (NodeList|HTMLCollection)\]$/)}function L(e){return"boolean"==typeof e}function P(e){return"string"==typeof e}function I(e){return"number"==typeof e}function O(e){return I(e)||P(e)&&!isNaN(e-parseFloat(e))}function R(e){return!(x(e)?e.length:E(e)&&Object.keys(e).length)}function N(e){return void 0===e}function H(e){return L(e)?e:"true"===e||"1"===e||""===e||"false"!==e&&"0"!==e&&e}function q(e){var t=Number(e);return!isNaN(t)&&t}function B(e){return parseFloat(e)||0}function j(e){return D(e)?e:M(e)||A(e)?e[0]:x(e)?j(e[0]):null}function F(e){return D(e)?[e]:M(e)?m.slice.call(e):x(e)?e.map(j).filter(Boolean):A(e)?e.toArray():[]}function W(e){return k(e)?e:(e=j(e))?(_(e)?e:e.ownerDocument).defaultView:window}function V(e){return x(e)?e:P(e)?e.split(/,(?![^(]*\))/).map((function(e){return O(e)?q(e):H(e.trim())})):[e]}function G(e){return e?f(e,"ms")?B(e):1e3*B(e):0}function Y(e,t){return e===t||E(e)&&E(t)&&Object.keys(e).length===Object.keys(t).length&&Q(e,(function(e,n){return e===t[n]}))}function U(e,t,n){return e.replace(new RegExp(t+"|"+n,"mg"),(function(e){return e===t?n:t}))}var X=Object.assign||function(e){for(var t=[],i=arguments.length-1;i-- >0;)t[i]=arguments[i+1];e=Object(e);for(var r=0;r<t.length;r++){var s=t[r];if(null!==s)for(var o in s)n(s,o)&&(e[o]=s[o])}return e};function K(e){return e[e.length-1]}function Q(e,t){for(var n in e)if(!1===t(e[n],n))return!1;return!0}function Z(e,t){return e.sort((function(e,n){var i=e[t];void 0===i&&(i=0);var r=n[t];return void 0===r&&(r=0),i>r?1:r>i?-1:0}))}function J(e,t,n){return void 0===t&&(t=0),void 0===n&&(n=1),Math.min(Math.max(q(e)||0,t),n)}function ee(){}function te(e,t){return e.left<t.right&&e.right>t.left&&e.top<t.bottom&&e.bottom>t.top}function ne(e,t){return e.x<=t.right&&e.x>=t.left&&e.y<=t.bottom&&e.y>=t.top}var ie={ratio:function(e,t,n){var i,r="width"===t?"height":"width";return(i={})[r]=e[t]?Math.round(n*e[r]/e[t]):e[r],i[t]=n,i},contain:function(e,t){var n=this;return Q(e=X({},e),(function(i,r){return e=e[r]>t[r]?n.ratio(e,r,t[r]):e})),e},cover:function(e,t){var n=this;return Q(e=this.contain(e,t),(function(i,r){return e=e[r]<t[r]?n.ratio(e,r,t[r]):e})),e}};function re(e,t,n){if(E(t))for(var i in t)re(e,i,t[i]);else{if(N(n))return(e=j(e))&&e.getAttribute(t);F(e).forEach((function(e){C(n)&&(n=n.call(e,re(e,t))),null===n?oe(e,t):e.setAttribute(t,n)}))}}function se(e,t){return F(e).some((function(e){return e.hasAttribute(t)}))}function oe(e,t){e=F(e),t.split(" ").forEach((function(t){return e.forEach((function(e){return e.hasAttribute(t)&&e.removeAttribute(t)}))}))}function ae(e,t){for(var n=0,i=[t,"data-"+t];n<i.length;n++)if(se(e,i[n]))return re(e,i[n])}var le=/msie|trident/i.test(window.navigator.userAgent),ue="rtl"===re(document.documentElement,"dir"),ce="ontouchstart"in window,de=window.PointerEvent,he=ce||window.DocumentTouch&&document instanceof DocumentTouch||navigator.maxTouchPoints,pe=de?"pointerdown":ce?"touchstart":"mousedown",fe=de?"pointermove":ce?"touchmove":"mousemove",me=de?"pointerup":ce?"touchend":"mouseup",ge=de?"pointerenter":ce?"":"mouseenter",ve=de?"pointerleave":ce?"":"mouseleave",ye=de?"pointercancel":"touchcancel";function be(e,t){return j(e)||Ce(e,xe(e,t))}function we(e,t){var n=F(e);return n.length&&n||Ee(e,xe(e,t))}function xe(e,t){return void 0===t&&(t=document),ke(e)||_(t)?t:t.ownerDocument}function Ce(e,t){return j(Te(e,t,"querySelector"))}function Ee(e,t){return F(Te(e,t,"querySelectorAll"))}function Te(e,t,n){if(void 0===t&&(t=document),!e||!P(e))return null;var i;ke(e=e.replace($e,"$1 *"))&&(i=[],e=function(e){return e.match(_e).map((function(e){return e.replace(/,$/,"").trim()}))}(e).map((function(e,n){var r=t;if("!"===e[0]){var s=e.substr(1).trim().split(" ");r=Le(Pe(t),s[0]),e=s.slice(1).join(" ").trim()}if("-"===e[0]){var o=e.substr(1).trim().split(" "),a=(r||t).previousElementSibling;r=ze(a,e.substr(1))?a:null,e=o.slice(1).join(" ")}return r?(r.id||(r.id="uk-"+Date.now()+n,i.push((function(){return oe(r,"id")}))),"#"+Ne(r.id)+" "+e):null}
27)).filter(Boolean).join(","),t=document);try{return t[n](e)}catch(e){return null}finally{i&&i.forEach((function(e){return e()}))}}var Se=/(^|[^\\],)\s*[!>+~-]/,$e=/([!>+~-])(?=\s+[!>+~-]|\s*$)/g;function ke(e){return P(e)&&e.match(Se)}var _e=/.*?[^\\](?:,|$)/g;var Ae=Element.prototype,De=Ae.matches||Ae.webkitMatchesSelector||Ae.msMatchesSelector;function ze(e,t){return F(e).some((function(e){return De.call(e,t)}))}var Me=Ae.closest||function(e){var t=this;do{if(ze(t,e))return t}while(t=Pe(t))};function Le(e,t){return h(t,">")&&(t=t.slice(1)),z(e)?Me.call(e,t):F(e).map((function(e){return Le(e,t)})).filter(Boolean)}function Pe(e){return(e=j(e))&&z(e.parentNode)&&e.parentNode}function Ie(e,t){for(var n=[];e=Pe(e);)t&&!ze(e,t)||n.push(e);return n}function Oe(e,t){var n=(e=j(e))?F(e.children):[];return t?n.filter((function(e){return ze(e,t)})):n}var Re=window.CSS&&CSS.escape||function(e){return e.replace(/([^\x7f-\uFFFF\w-])/g,(function(e){return"\\"+e}))};function Ne(e){return P(e)?Re.call(null,e):""}var He={area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,menuitem:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0};function qe(e){return F(e).some((function(e){return He[e.tagName.toLowerCase()]}))}function Be(e){return F(e).some((function(e){return e.offsetWidth||e.offsetHeight||e.getClientRects().length}))}var je="input,select,textarea,button";function Fe(e){return F(e).some((function(e){return ze(e,je)}))}function We(e,t){return F(e).filter((function(e){return ze(e,t)}))}function Ve(e,t){return P(t)?ze(e,t)||Le(e,t):e===t||(_(t)?t.documentElement:j(t)).contains(j(e))}function Ge(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var n=Qe(e),i=n[0],r=n[1],s=n[2],o=n[3],a=n[4];return i=rt(i),o.length>1&&(o=Je(o)),a&&a.self&&(o=et(o)),s&&(o=Ze(i,s,o)),a=tt(a),r.split(" ").forEach((function(e){return i.forEach((function(t){return t.addEventListener(e,o,a)}))})),function(){return Ye(i,r,o,a)}}function Ye(e,t,n,i){void 0===i&&(i=!1),i=tt(i),e=rt(e),t.split(" ").forEach((function(t){return e.forEach((function(e){return e.removeEventListener(t,n,i)}))}))}function Ue(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var n=Qe(e),i=n[0],r=n[1],s=n[2],o=n[3],a=n[4],l=n[5],u=Ge(i,r,s,(function(e){var t=!l||l(e);t&&(u(),o(e,t))}),a);return u}function Xe(e,t,n){return rt(e).reduce((function(e,i){return e&&i.dispatchEvent(Ke(t,!0,!0,n))}),!0)}function Ke(e,t,n,i){if(void 0===t&&(t=!0),void 0===n&&(n=!1),P(e)){var r=document.createEvent("CustomEvent");r.initCustomEvent(e,t,n,i),e=r}return e}function Qe(e){return C(e[2])&&e.splice(2,0,!1),e}function Ze(e,t,n){var i=this;return function(r){e.forEach((function(e){var s=">"===t[0]?Ee(t,e).reverse().filter((function(e){return Ve(r.target,e)}))[0]:Le(r.target,t);s&&(r.delegate=e,r.current=s,n.call(i,r))}))}}function Je(e){return function(t){return x(t.detail)?e.apply(void 0,[t].concat(t.detail)):e(t)}}function et(e){return function(t){if(t.target===t.currentTarget||t.target===t.current)return e.call(null,t)}}function tt(e){return e&&le&&!L(e)?!!e.capture:e}function nt(e){return e&&"addEventListener"in e}function it(e){return nt(e)?e:j(e)}function rt(e){return x(e)?e.map(it).filter(Boolean):P(e)?Ee(e):nt(e)?[e]:F(e)}function st(e){return"touch"===e.pointerType||!!e.touches}function ot(e,t){void 0===t&&(t="client");var n=e.touches,i=e.changedTouches,r=n&&n[0]||i&&i[0]||e;return{x:r[t+"X"],y:r[t+"Y"]}}var at="Promise"in window?window.Promise:ut,lt="setImmediate"in window?setImmediate:setTimeout;function ut(e){this.state=2,this.value=void 0,this.deferred=[];var t=this;try{e((function(e){t.resolve(e)}),(function(e){t.reject(e)}))}catch(e){t.reject(e)}}ut.reject=function(e){return new ut((function(t,n){n(e)}))},ut.resolve=function(e){return new ut((function(t,n){t(e)}))},ut.all=function(e){return new ut((function(t,n){var i=[],r=0;function s(n){return function(s){i[n]=s,(r+=1)===e.length&&t(i)}}0===e.length&&t(i);for(var o=0;o<e.length;o+=1)ut.resolve(e[o]).then(s(o),n)}))},ut.race=function(e){return new ut((function(t,n){for(var i=0;i<e.length;i+=1)ut.resolve(e[i]).then(t,n)}))};var ct=ut.prototype;function dt(e,t){return new at((function(n,i){var r=X({data:null,method:"GET",headers:{},xhr:new XMLHttpRequest,beforeSend:ee,responseType:""},t);r.beforeSend(r);var s=r.xhr;
27for(var o in r)if(o in s)try{s[o]=r[o]}catch(e){}for(var a in s.open(r.method.toUpperCase(),e),r.headers)s.setRequestHeader(a,r.headers[a]);Ge(s,"load",(function(){0===s.status||s.status>=200&&s.status<300||304===s.status?n(s):i(X(Error(s.statusText),{xhr:s,status:s.status}))})),Ge(s,"error",(function(){return i(X(Error("Network Error"),{xhr:s}))})),Ge(s,"timeout",(function(){return i(X(Error("Network Timeout"),{xhr:s}))})),s.send(r.data)}))}function ht(e,t,n){return new at((function(i,r){var s=new Image;s.onerror=r,s.onload=function(){return i(s)},n&&(s.sizes=n),t&&(s.srcset=t),s.src=e}))}function pt(e){if("loading"===document.readyState)var t=Ge(document,"DOMContentLoaded",(function(){t(),e()}));else e()}function ft(e,t){return t?F(e).indexOf(j(t)):Oe(Pe(e)).indexOf(e)}function mt(e,t,n,i){void 0===n&&(n=0),void 0===i&&(i=!1);var r=(t=F(t)).length;return e=O(e)?q(e):"next"===e?n+1:"previous"===e?n-1:ft(t,e),i?J(e,0,r-1):(e%=r)<0?e+r:e}function gt(e){return(e=$(e)).innerHTML="",e}function vt(e,t){return e=$(e),N(t)?e.innerHTML:yt(e.hasChildNodes()?gt(e):e,t)}function yt(e,t){return e=$(e),xt(t,(function(t){return e.appendChild(t)}))}function bt(e,t){return e=$(e),xt(t,(function(t){return e.parentNode.insertBefore(t,e)}))}function wt(e,t){return e=$(e),xt(t,(function(t){return e.nextSibling?bt(e.nextSibling,t):yt(e.parentNode,t)}))}function xt(e,t){return(e=P(e)?_t(e):e)?"length"in e?F(e).map(t):t(e):null}function Ct(e){F(e).map((function(e){return e.parentNode&&e.parentNode.removeChild(e)}))}function Et(e,t){for(t=j(bt(e,t));t.firstChild;)t=t.firstChild;return yt(t,e),t}function Tt(e,t){return F(F(e).map((function(e){return e.hasChildNodes?Et(F(e.childNodes),t):yt(e,t)})))}function St(e){F(e).map(Pe).filter((function(e,t,n){return n.indexOf(e)===t})).forEach((function(e){bt(e,e.childNodes),Ct(e)}))}ct.resolve=function(e){var t=this;if(2===t.state){if(e===t)throw new TypeError("Promise settled with itself.");var n=!1;try{var i=e&&e.then;if(null!==e&&E(e)&&C(i))return void i.call(e,(function(e){n||t.resolve(e),n=!0}),(function(e){n||t.reject(e),n=!0}))}catch(e){return void(n||t.reject(e))}t.state=0,t.value=e,t.notify()}},ct.reject=function(e){var t=this;if(2===t.state){if(e===t)throw new TypeError("Promise settled with itself.");t.state=1,t.value=e,t.notify()}},ct.notify=function(){var e=this;lt((function(){if(2!==e.state)for(;e.deferred.length;){var t=e.deferred.shift(),n=t[0],i=t[1],r=t[2],s=t[3];try{0===e.state?C(n)?r(n.call(void 0,e.value)):r(e.value):1===e.state&&(C(i)?r(i.call(void 0,e.value)):s(e.value))}catch(e){s(e)}}}))},ct.then=function(e,t){var n=this;return new ut((function(i,r){n.deferred.push([e,t,i,r]),n.notify()}))},ct.catch=function(e){return this.then(void 0,e)};var $t=/^\s*<(\w+|!)[^>]*>/,kt=/^<(\w+)\s*\/?>(?:<\/\1>)?$/;function _t(e){var t=kt.exec(e);if(t)return document.createElement(t[1]);var n=document.createElement("div");return $t.test(e)?n.insertAdjacentHTML("beforeend",e.trim()):n.textContent=e,n.childNodes.length>1?F(n.childNodes):n.firstChild}function At(e,t){if(z(e))for(t(e),e=e.firstElementChild;e;){var n=e.nextElementSibling;At(e,t),e=n}}function $(e,t){return P(e)?zt(e)?j(_t(e)):Ce(e,t):j(e)}function Dt(e,t){return P(e)?zt(e)?F(_t(e)):Ee(e,t):F(e)}function zt(e){return"<"===e[0]||e.match(/^\s*</)}function Mt(e){for(var t=[],n=arguments.length-1;n-- >0;)t[n]=arguments[n+1];Nt(e,t,"add")}function Lt(e){for(var t=[],n=arguments.length-1;n-- >0;)t[n]=arguments[n+1];Nt(e,t,"remove")}function Pt(e,t){re(e,"class",(function(e){return(e||"").replace(new RegExp("\\b"+t+"\\b","g"),"")}))}function It(e){for(var t=[],n=arguments.length-1;n-- >0;)t[n]=arguments[n+1];t[0]&&Lt(e,t[0]),t[1]&&Mt(e,t[1])}function Ot(e,t){return t&&F(e).some((function(e){return e.classList.contains(t.split(" ")[0])}))}function Rt(e){for(var t=[],n=arguments.length-1;n-- >0;)t[n]=arguments[n+1];if(t.length){var i=P(K(t=Ht(t)))?[]:t.pop();t=t.filter(Boolean),F(e).forEach((function(e){for(var n=e.classList,r=0;r<t.length;r++)qt.Force?n.toggle.apply(n,[t[r]].concat(i)):n[(N(i)?!n.contains(t[r]):i)?"add":"remove"](t[r])}))}}
27function Nt(e,t,n){(t=Ht(t).filter(Boolean)).length&&F(e).forEach((function(e){var i=e.classList;qt.Multiple?i[n].apply(i,t):t.forEach((function(e){return i[n](e)}))}))}function Ht(e){return e.reduce((function(e,t){return e.concat.call(e,P(t)&&b(t," ")?t.trim().split(" "):t)}),[])}var qt={get Multiple(){return this.get("_multiple")},get Force(){return this.get("_force")},get:function(e){if(!n(this,e)){var t=document.createElement("_").classList;t.add("a","b"),t.toggle("c",!1),this._multiple=t.contains("b"),this._force=!t.contains("c")}return this[e]}},Bt={"animation-iteration-count":!0,"column-count":!0,"fill-opacity":!0,"flex-grow":!0,"flex-shrink":!0,"font-weight":!0,"line-height":!0,opacity:!0,order:!0,orphans:!0,"stroke-dasharray":!0,"stroke-dashoffset":!0,widows:!0,"z-index":!0,zoom:!0};function jt(e,t,n){return F(e).map((function(e){if(P(t)){if(t=Ut(t),N(n))return Wt(e,t);n||I(n)?e.style[t]=O(n)&&!Bt[t]?n+"px":n:e.style.removeProperty(t)}else{if(x(t)){var i=Ft(e);return t.reduce((function(e,t){return e[t]=i[Ut(t)],e}),{})}E(t)&&Q(t,(function(t,n){return jt(e,n,t)}))}return e}))[0]}function Ft(e,t){return(e=j(e)).ownerDocument.defaultView.getComputedStyle(e,t)}function Wt(e,t,n){return Ft(e,n)[t]}var Vt={};function Gt(e){var t=document.documentElement;if(!le)return Ft(t).getPropertyValue("--uk-"+e);if(!(e in Vt)){var n=yt(t,document.createElement("div"));Mt(n,"uk-"+e),Vt[e]=Wt(n,"content",":before").replace(/^["'](.*)["']$/,"$1"),Ct(n)}return Vt[e]}var Yt={};function Ut(e){var t=Yt[e];return t||(t=Yt[e]=function(e){e=s(e);var t=document.documentElement.style;if(e in t)return e;var n,i=Xt.length;for(;i--;)if((n="-"+Xt[i]+"-"+e)in t)return n}(e)||e),t}var Xt=["webkit","moz","ms"];function Kt(e,t,n,i){return void 0===n&&(n=400),void 0===i&&(i="linear"),at.all(F(e).map((function(e){return new at((function(r,s){for(var o in t){var a=jt(e,o);""===a&&jt(e,o,a)}var l=setTimeout((function(){return Xe(e,"transitionend")}),n);Ue(e,"transitionend transitioncanceled",(function(t){var n=t.type;clearTimeout(l),Lt(e,"uk-transition"),jt(e,{transitionProperty:"",transitionDuration:"",transitionTimingFunction:""}),"transitioncanceled"===n?s():r()}),{self:!0}),Mt(e,"uk-transition"),jt(e,X({transitionProperty:Object.keys(t).map(Ut).join(","),transitionDuration:n+"ms",transitionTimingFunction:i},t))}))})))}var Qt={start:Kt,stop:function(e){return Xe(e,"transitionend"),at.resolve()},cancel:function(e){Xe(e,"transitioncanceled")},inProgress:function(e){return Ot(e,"uk-transition")}},Zt="uk-animation-",Jt="uk-cancel-animation";function en(e,t,n,i,r){var s=arguments;return void 0===n&&(n=200),at.all(F(e).map((function(e){return new at((function(o,a){if(Ot(e,Jt))requestAnimationFrame((function(){return at.resolve().then((function(){return en.apply(void 0,s).then(o,a)}))}));else{var l=t+" "+Zt+(r?"leave":"enter");h(t,Zt)&&(i&&(l+=" uk-transform-origin-"+i),r&&(l+=" uk-animation-reverse")),u(),Ue(e,"animationend animationcancel",(function(t){var n=t.type,i=!1;"animationcancel"===n?(a(),u()):(o(),at.resolve().then((function(){i=!0,u()}))),requestAnimationFrame((function(){i||(Mt(e,Jt),requestAnimationFrame((function(){return Lt(e,Jt)})))}))}),{self:!0}),jt(e,"animationDuration",n+"ms"),Mt(e,l)}function u(){jt(e,"animationDuration",""),Pt(e,"uk-animation-\\S*")}}))})))}var tn=new RegExp("uk-animation-(enter|leave)"),nn={in:function(e,t,n,i){return en(e,t,n,i,!1)},out:function(e,t,n,i){return en(e,t,n,i,!0)},inProgress:function(e){return tn.test(re(e,"class"))},cancel:function(e){Xe(e,"animationcancel")}},rn={width:["x","left","right"],height:["y","top","bottom"]};function sn(e,t,n,i,r,s,o,a){n=mn(n),i=mn(i);var l={element:n,target:i};if(!e||!t)return l;var u=an(e),c=an(t),d=c;if(fn(d,n,u,-1),fn(d,i,c,1),r=gn(r,u.width,u.height),s=gn(s,c.width,c.height),r.x+=s.x,r.y+=s.y,d.left+=r.x,d.top+=r.y,o){var h=[an(W(e))];a&&h.unshift(an(a)),Q(rn,(function(e,t){var s=e[0],a=e[1],p=e[2];(!0===o||b(o,s))&&h.some((function(e){var o=n[s]===a?-u[t]:n[s]===p?u[t]:0,h=i[s]===a?c[t]:i[s]===p?-c[t]:0;if(d[a]<e[a]||d[a]+u[t]>e[p]){var f=u[t]/2,m="center"===i[s]?-c[t]/2:0;return"center"===n[s]&&(g(f,m)||g(-f,-m))||g(o,h)}function g(n,i){var o=d[a]+n+i-2*r[s];if(o>=e[a]&&o+u[t]<=e[p])return d[a]=o,["element","target"].forEach((function(e){l[e][s]=n?l[e][s]===rn[t][1]?rn[t][2]:rn[t][1]:l[e][s]})),!0}}))}))}return on(e,d),l}function on(e,t){if(!t)return an(e);var n=on(e),i=jt(e,"position");["left","top"].forEach((function(r){if(r in t){var s=jt(e,r);jt(e,r,t[r]-n[r]+B("absolute"===i&&"auto"===s?ln(e)[r]:s))}}))}function an(e){if(!e)return{};var t,n,i=W(e),r=i.pageYOffset,s=i.pageXOffset;
27if(k(e)){var o=e.innerHeight,a=e.innerWidth;return{top:r,left:s,height:o,width:a,bottom:r+o,right:s+a}}Be(e)||"none"!==jt(e,"display")||(t=re(e,"style"),n=re(e,"hidden"),re(e,{style:(t||"")+";display:block !important;",hidden:null}));var l=(e=j(e)).getBoundingClientRect();return N(t)||re(e,{style:t,hidden:n}),{height:l.height,width:l.width,top:l.top+r,left:l.left+s,bottom:l.bottom+r,right:l.right+s}}function ln(e,t){var n=on(e),i=on(t||j(e).offsetParent||W(e).document.documentElement);return{top:n.top-i.top,left:n.left-i.left}}function un(e){var t=[0,0];e=j(e);do{if(t[0]+=e.offsetTop,t[1]+=e.offsetLeft,"fixed"===jt(e,"position")){var n=W(e);return t[0]+=n.pageYOffset,t[1]+=n.pageXOffset,t}}while(e=e.offsetParent);return t}var cn=hn("height"),dn=hn("width");function hn(e){var t=u(e);return function(n,i){if(N(i)){if(k(n))return n["inner"+t];if(_(n)){var r=n.documentElement;return Math.max(r["offset"+t],r["scroll"+t])}return(i="auto"===(i=jt(n=j(n),e))?n["offset"+t]:B(i)||0)-pn(n,e)}jt(n,e,i||0===i?+i+pn(n,e)+"px":"")}}function pn(e,t,n){return void 0===n&&(n="border-box"),jt(e,"boxSizing")===n?rn[t].slice(1).map(u).reduce((function(t,n){return t+B(jt(e,"padding"+n))+B(jt(e,"border"+n+"Width"))}),0):0}function fn(e,t,n,i){Q(rn,(function(r,s){var o=r[0],a=r[1],l=r[2];t[o]===l?e[a]+=n[s]*i:"center"===t[o]&&(e[a]+=n[s]*i/2)}))}function mn(e){var t=/left|center|right/,n=/top|center|bottom/;return 1===(e=(e||"").split(" ")).length&&(e=t.test(e[0])?e.concat(["center"]):n.test(e[0])?["center"].concat(e):["center","center"]),{x:t.test(e[0])?e[0]:"center",y:n.test(e[1])?e[1]:"center"}}function gn(e,t,n){var i=(e||"").split(" "),r=i[0],s=i[1];return{x:r?B(r)*(f(r,"%")?t/100:1):0,y:s?B(s)*(f(s,"%")?n/100:1):0}}function vn(e){switch(e){case"left":return"right";case"right":return"left";case"top":return"bottom";case"bottom":return"top";default:return e}}function yn(e,t,n){return void 0===t&&(t="width"),void 0===n&&(n=window),O(e)?+e:f(e,"vh")?bn(cn(W(n)),e):f(e,"vw")?bn(dn(W(n)),e):f(e,"%")?bn(an(n)[t],e):B(e)}function bn(e,t){return e*B(t)/100}var wn={reads:[],writes:[],read:function(e){return this.reads.push(e),Cn(),e},write:function(e){return this.writes.push(e),Cn(),e},clear:function(e){return Tn(this.reads,e)||Tn(this.writes,e)},flush:xn};function xn(e){void 0===e&&(e=1),En(wn.reads),En(wn.writes.splice(0,wn.writes.length)),wn.scheduled=!1,(wn.reads.length||wn.writes.length)&&Cn(e+1)}function Cn(e){if(!wn.scheduled){if(wn.scheduled=!0,e>5)throw new Error("Maximum recursion limit reached.");e?at.resolve().then((function(){return xn(e)})):requestAnimationFrame((function(){return xn()}))}}function En(e){for(var t;t=e.shift();)t()}function Tn(e,t){var n=e.indexOf(t);return!!~n&&!!e.splice(n,1)}function Sn(){}Sn.prototype={positions:[],init:function(){var e,t=this;this.positions=[],this.unbind=Ge(document,"mousemove",(function(t){return e=ot(t,"page")})),this.interval=setInterval((function(){e&&(t.positions.push(e),t.positions.length>5&&t.positions.shift())}),50)},cancel:function(){this.unbind&&this.unbind(),this.interval&&clearInterval(this.interval)},movesTo:function(e){if(this.positions.length<2)return!1;var t=on(e),n=t.left,i=t.right,r=t.top,s=t.bottom,o=this.positions[0],a=K(this.positions),l=[o,a];return!ne(a,t)&&[[{x:n,y:r},{x:i,y:s}],[{x:n,y:s},{x:i,y:r}]].some((function(e){var n=function(e,t){var n=e[0],i=n.x,r=n.y,s=e[1],o=s.x,a=s.y,l=t[0],u=l.x,c=l.y,d=t[1],h=d.x,p=d.y,f=(p-c)*(o-i)-(h-u)*(a-r);if(0===f)return!1;var m=((h-u)*(r-c)-(p-c)*(i-u))/f;if(m<0)return!1;return{x:i+m*(o-i),y:r+m*(a-r)}}(l,e);return n&&ne(n,t)}))}};var $n={};function kn(e,t,n){return $n.computed(C(e)?e.call(n,n):e,C(t)?t.call(n,n):t)}function _n(e,t){return e=e&&!x(e)?[e]:e,t?e?e.concat(t):x(t)?t:[t]:e}function An(e,t){return N(t)?e:t}function Dn(e,t,i){var r={};if(C(t)&&(t=t.options),t.extends&&(e=Dn(e,t.extends,i)),t.mixins)for(var s=0,o=t.mixins.length;s<o;s++)e=Dn(e,t.mixins[s],i);
27for(var a in e)u(a);for(var l in t)n(e,l)||u(l);function u(n){r[n]=($n[n]||An)(e[n],t[n],i)}return r}function zn(e,t){var n;void 0===t&&(t=[]);try{return e?h(e,"{")?JSON.parse(e):t.length&&!b(e,":")?((n={})[t[0]]=e,n):e.split(";").reduce((function(e,t){var n=t.split(/:(.*)/),i=n[0],r=n[1];return i&&!N(r)&&(e[i.trim()]=r.trim()),e}),{}):{}}catch(e){return{}}}$n.events=$n.created=$n.beforeConnect=$n.connected=$n.beforeDisconnect=$n.disconnected=$n.destroy=_n,$n.args=function(e,t){return!1!==t&&_n(t||e)},$n.update=function(e,t){return Z(_n(e,C(t)?{read:t}:t),"order")},$n.props=function(e,t){return x(t)&&(t=t.reduce((function(e,t){return e[t]=String,e}),{})),$n.methods(e,t)},$n.computed=$n.methods=function(e,t){return t?e?X({},e,t):t:e},$n.data=function(e,t,n){return n?kn(e,t,n):t?e?function(n){return kn(e,t,n)}:t:e};var Mn=0,Ln=function(e){this.id=++Mn,this.el=j(e)};function Pn(e,t){try{e.contentWindow.postMessage(JSON.stringify(X({event:"command"},t)),"*")}catch(e){}}function In(e,t,n){if(void 0===t&&(t=0),void 0===n&&(n=0),!Be(e))return!1;for(var i=Bn(e).concat(e),r=0;r<i.length-1;r++){var s=on(qn(i[r])),o={top:s.top-t,left:s.left-n,bottom:s.bottom+t,right:s.right+n},a=on(i[r+1]);if(!te(a,o)&&!ne({x:a.left,y:a.top},o))return!1}return!0}function On(e,t){(e=k(e)||_(e)?jn(e):j(e)).scrollTop=t}function Rn(e,t){void 0===t&&(t={});var n=t.duration;void 0===n&&(n=1e3);var i=t.offset;if(void 0===i&&(i=0),Be(e)){var r=Bn(e).concat(e);n/=r.length-1;for(var s=at.resolve(),o=function(e){s=s.then((function(){return new at((function(t){var s=r[e],o=r[e+1],a=s.scrollTop,l=ln(o,qn(s)).top-i,u=Date.now(),c=function(){var e,i=(e=J((Date.now()-u)/n),.5*(1-Math.cos(Math.PI*e)));On(s,a+l*i),1!==i?requestAnimationFrame(c):t()};c()}))}))},a=0;a<r.length-1;a++)o(a);return s}}function Nn(e,t){if(void 0===t&&(t=0),!Be(e))return 0;var n=K(Hn(e)),i=n.scrollHeight,r=n.scrollTop,s=on(qn(n)).height,o=un(e)[0]-r-un(n)[0],a=Math.min(s,o+r);return J(-1*(o-a)/Math.min(on(e).height+t+a,i-(o+r),i-s))}function Hn(e,t){void 0===t&&(t=/auto|scroll/);var n=jn(e),i=Ie(e).filter((function(e){return e===n||t.test(jt(e,"overflow"))&&e.scrollHeight>on(e).height})).reverse();return i.length?i:[n]}function qn(e){return e===jn(e)?window:e}function Bn(e){return Hn(e,/auto|scroll|hidden/)}function jn(e){var t=W(e).document;return t.scrollingElement||t.documentElement}Ln.prototype.isVideo=function(){return this.isYoutube()||this.isVimeo()||this.isHTML5()},Ln.prototype.isHTML5=function(){return"VIDEO"===this.el.tagName},Ln.prototype.isIFrame=function(){return"IFRAME"===this.el.tagName},Ln.prototype.isYoutube=function(){return this.isIFrame()&&!!this.el.src.match(/\/\/.*?youtube(-nocookie)?\.[a-z]+\/(watch\?v=[^&\s]+|embed)|youtu\.be\/.*/)},Ln.prototype.isVimeo=function(){return this.isIFrame()&&!!this.el.src.match(/vimeo\.com\/video\/.*/)},Ln.prototype.enableApi=function(){var e=this;if(this.ready)return this.ready;var t,n=this.isYoutube(),i=this.isVimeo();return n||i?this.ready=new at((function(r){var s;Ue(e.el,"load",(function(){if(n){var i=function(){return Pn(e.el,{event:"listening",id:e.id})};t=setInterval(i,100),i()}})),(s=function(t){return n&&t.id===e.id&&"onReady"===t.event||i&&Number(t.player_id)===e.id},new at((function(e){Ue(window,"message",(function(t,n){return e(n)}),!1,(function(e){var t=e.data;if(t&&P(t)){try{t=JSON.parse(t)}catch(e){return}return t&&s(t)}}))}))).then((function(){r(),t&&clearInterval(t)})),re(e.el,"src",e.el.src+(b(e.el.src,"?")?"&":"?")+(n?"enablejsapi=1":"api=1&player_id="+e.id))})):at.resolve()},Ln.prototype.play=function(){var e=this;if(this.isVideo())if(this.isIFrame())this.enableApi().then((function(){return Pn(e.el,{func:"playVideo",method:"play"})}));else if(this.isHTML5())try{var t=this.el.play();t&&t.catch(ee)}catch(e){}},Ln.prototype.pause=function(){var e=this;this.isVideo()&&(this.isIFrame()?this.enableApi().then((function(){return Pn(e.el,{func:"pauseVideo",method:"pause"})})):this.isHTML5()&&this.el.pause())},Ln.prototype.mute=function(){var e=this;this.isVideo()&&(this.isIFrame()?this.enableApi().then((function(){return Pn(e.el,{func:"mute",method:"setVolume",value:0})})):this.isHTML5()&&(this.el.muted=!0,re(this.el,"muted","")))};var Fn="IntersectionObserver"in window?window.IntersectionObserver:function(){function e(e,t){var n=this;void 0===t&&(t={});var i=t.rootMargin;void 0===i&&(i="0 0"),this.targets=[];var r,s=(i||"0 0").split(" ").map(B),o=s[0],a=s[1];this.offsetTop=o,this.offsetLeft=a,this.apply=function(){r||(r=requestAnimationFrame((function(){return setTimeout((function(){var t=n.takeRecords();t.length&&e(t,n),r=!1}))})))},this.off=Ge(window,"scroll resize load",this.apply,{passive:!0,capture:!0})}return e.prototype.takeRecords=function(){var e=this;return this.targets.filter((function(t){var n=In(t.target,e.offsetTop,e.offsetLeft);if(null===t.isIntersecting||n^t.isIntersecting)return t.isIntersecting=n,!0}))},e.prototype.observe=function(e){this.targets.push({target:e,isIntersecting:null}),this.apply()},e.prototype.disconnect=function(){this.targets=[],this.off()},e}();function Wn(e){return!(!h(e,"uk-")&&!h(e,"data-uk-"))&&a(e.replace("data-uk-","").replace("uk-",""))}var Vn=function(e){this._init(e)};Vn.util=Object.freeze({__proto__:null,ajax:dt,getImage:ht,transition:Kt,Transition:Qt,animate:en,Animation:nn,attr:re,hasAttr:se,removeAttr:oe,data:ae,addClass:Mt,removeClass:Lt,removeClasses:Pt,replaceClass:It,hasClass:Ot,toggleClass:Rt,positionAt:sn,offset:on,position:ln,offsetPosition:un,height:cn,width:dn,boxModelAdjust:pn,flipPosition:vn,toPx:yn,ready:pt,index:ft,getIndex:mt,empty:gt,html:vt,prepend:function(e,t){return(e=$(e)).hasChildNodes()?xt(t,(function(t){return e.insertBefore(t,e.firstChild)})):yt(e,t)},append:yt,before:bt,after:wt,remove:Ct,wrapAll:Et,wrapInner:Tt,unwrap:St,fragment:_t,apply:At,$:$,$$:Dt,isIE:le,isRtl:ue,hasTouch:he,pointerDown:pe,pointerMove:fe,pointerUp:me,pointerEnter:ge,pointerLeave:ve,pointerCancel:ye,on:Ge,off:Ye,once:Ue,trigger:Xe,createEvent:Ke,toEventTargets:rt,isTouch:st,getEventPos:ot,fastdom:wn,isVoidElement:qe,isVisible:Be,selInput:je,isInput:Fe,filter:We,within:Ve,hasOwn:n,hyphenate:s,camelize:a,ucfirst:u,startsWith:h,endsWith:f,includes:b,findIndex:function(e,t){return w.call(e,t)},isArray:x,isFunction:C,isObject:E,isPlainObject:S,isWindow:k,isDocument:_,isJQuery:A,isNode:D,isElement:z,isNodeCollection:M,isBoolean:L,isString:P,isNumber:I,isNumeric:O,isEmpty:R,isUndefined:N,toBoolean:H,toNumber:q,toFloat:B,toNode:j,toNodes:F,toWindow:W,toList:V,toMs:G,isEqual:Y,swap:U,assign:X,last:K,each:Q,sortBy:Z,uniqueBy:function(e,t){var n=new Set;return e.filter((function(e){var i=e[t];return!n.has(i)&&(n.add(i)||!0)}))},clamp:J,noop:ee,intersectRect:te,pointInRect:ne,Dimensions:ie,MouseTracker:Sn,mergeOptions:Dn,parseOptions:zn,Player:Ln,Promise:at,Deferred:function(){var e=this;this.promise=new at((function(t,n){e.reject=n,e.resolve=t}))},IntersectionObserver:Fn,query:be,queryAll:we,find:Ce,findAll:Ee,matches:ze,closest:Le,parent:Pe,parents:Ie,children:Oe,escape:Ne,css:jt,getStyles:Ft,getStyle:Wt,getCssVar:Gt,propName:Ut,isInView:In,scrollTop:On,scrollIntoView:Rn,scrolledOver:Nn,scrollParents:Hn,getViewport:qn}),Vn.data="__uikit__",Vn.prefix="uk-",Vn.options={},Vn.version="3.2.6",function(e){var t,n=e.data;function i(e,t){if(e)for(var n in e)e[n]._connected&&e[n]._callUpdate(t)}e.use=function(e){if(!e.installed)return e.call(null,this),e.installed=!0,this},e.mixin=function(t,n){(n=(P(n)?e.component(n):n)||this).options=Dn(n.options,t)},e.extend=function(e){e=e||{};var t=this,n=function(e){this._init(e)};return(n.prototype=Object.create(t.prototype)).constructor=n,n.options=Dn(t.options,e),n.super=t,n.extend=t.extend,n},e.update=function(e,t){Ie(e=e?j(e):document.body).reverse().forEac
27h((function(e){return i(e[n],t)})),At(e,(function(e){return i(e[n],t)}))},Object.defineProperty(e,"container",{get:function(){return t||document.body},set:function(e){t=$(e)}})}(Vn),function(e){e.prototype._callHook=function(e){var t=this,n=this.$options[e];n&&n.forEach((function(e){return e.call(t)}))},e.prototype._callConnected=function(){this._connected||(this._data={},this._computeds={},this._initProps(),this._callHook("beforeConnect"),this._connected=!0,this._initEvents(),this._initObserver(),this._callHook("connected"),this._callUpdate())},e.prototype._callDisconnected=function(){this._connected&&(this._callHook("beforeDisconnect"),this._observer&&(this._observer.disconnect(),this._observer=null),this._unbindEvents(),this._callHook("disconnected"),this._connected=!1)},e.prototype._callUpdate=function(e){var t=this;void 0===e&&(e="update");var n=e.type||e;b(["update","resize"],n)&&this._callWatches();var i=this.$options.update,r=this._frames,s=r.reads,o=r.writes;i&&i.forEach((function(e,i){var r=e.read,a=e.write,l=e.events;("update"===n||b(l,n))&&(r&&!b(wn.reads,s[i])&&(s[i]=wn.read((function(){var e=t._connected&&r.call(t,t._data,n);!1===e&&a?wn.clear(o[i]):S(e)&&X(t._data,e)}))),a&&!b(wn.writes,o[i])&&(o[i]=wn.write((function(){return t._connected&&a.call(t,t._data,n)}))))}))}}(Vn),function(e){var t=0;function i(e,t){var n={},i=e.args;void 0===i&&(i=[]);var r=e.props;void 0===r&&(r={});var o=e.el;if(!r)return n;for(var l in r){var c=s(l),d=ae(o,c);if(!N(d)){if(d=r[l]===Boolean&&""===d||u(r[l],d),"target"===c&&(!d||h(d,"_")))continue;n[l]=d}}var p=zn(ae(o,t),i);for(var f in p){var m=a(f);void 0!==r[m]&&(n[m]=u(r[m],p[f]))}return n}function r(e,t,i){Object.defineProperty(e,t,{enumerable:!0,get:function(){var r=e._computeds,s=e.$props,o=e.$el;return n(r,t)||(r[t]=(i.get||i).call(e,s,o)),r[t]},set:function(n){var r=e._computeds;r[t]=i.set?i.set.call(e,n):n,N(r[t])&&delete r[t]}})}function o(e,t,n){S(t)||(t={name:n,handler:t});var i=t.name,r=t.el,s=t.handler,a=t.capture,l=t.passive,u=t.delegate,c=t.filter,d=t.self;r=C(r)?r.call(e):r||e.$el,x(r)?r.forEach((function(i){return o(e,X({},t,{el:i}),n)})):!r||c&&!c.call(e)||e._events.push(Ge(r,i,u?P(u)?u:u.call(e):null,P(s)?e[s]:s.bind(e),{passive:l,capture:a,self:d}))}function l(e,t){return e.every((function(e){return!e||!n(e,t)}))}function u(e,t){return e===Boolean?H(t):e===Number?q(t):"list"===e?V(t):e?e(t):t}e.prototype._init=function(e){(e=e||{}).data=function(e,t){var n=e.data,i=(e.el,t.args),r=t.props;void 0===r&&(r={});if(n=x(n)?R(i)?void 0:n.slice(0,i.length).reduce((function(e,t,n){return S(t)?X(e,t):e[i[n]]=t,e}),{}):n)for(var s in n)N(n[s])?delete n[s]:n[s]=r[s]?u(r[s],n[s]):n[s];return n}(e,this.constructor.options),this.$options=Dn(this.constructor.options,e,this),this.$el=null,this.$props={},this._frames={reads:{},writes:{}},this._events=[],this._uid=t++,this._initData(),this._initMethods(),this._initComputeds(),this._callHook("created"),e.el&&this.$mount(e.el)},e.prototype._initData=function(){var e=this.$options.data;for(var t in void 0===e&&(e={}),e)this.$props[t]=this[t]=e[t]},e.prototype._initMethods=function(){var e=this.$options.methods;if(e)for(var t in e)this[t]=e[t].bind(this)},e.prototype._initComputeds=function(){var e=this.$options.computed;if(this._computeds={},e)for(var t in e)r(this,t,e[t])},e.prototype._callWatches=function(){var e=this.$options.computed,t=this._computeds;for(var n in t){var i=t[n];delete t[n],e[n].watch&&!Y(i,this[n])&&e[n].watch.call(this,this[n],i)}},e.prototype._initProps=function(e){var t;for(t in e=e||i(this.$options,this.$name))N(e[t])||(this.$props[t]=e[t]);var n=[this.$options.computed,this.$options.methods];for(t in this.$props)t in e&&l(n,t)&&(this[t]=this.$props[t])},e.prototype._initEvents=function(){var e=this,t=this.$options.events;t&&t.forEach((function(t){if(n(t,"handler"))o(e,t);else for(var i in t)o(e,t[i],i)}))},e.prototype._unbindEvents=function(){this._events.forEach((function(e){return e()})),this._events=[]},e.prototype._initObserver=function(){var e=this,t=this.$options,n=t.attrs,r=t.props,o=t.el;if(!this._observer&&r&&!1!==n){n=x(n)?n:Object.keys(r),this._observer=new MutationObserver((function(){var t=i(e.$options,e.$name);n.some((function(n){return!N(t[n])&&t[n]!==e.$props[n]}))&&e.$reset()}));var a=n.map((function(e){return s(e)})).concat(this.$name);this._observer.observe(o,{attributes:!0,attributeFilter:a.concat(a.map((function(e){return"data-"+e})))})}}}(Vn),function(e){var t=e.data,n={};e.component=function(t,i){var r=s(t);if(t=a(r),!i)return S(n[t])&&(n[t]=e.extend(n[t])),n[t];e[t]=function(n,i){for(var r=arguments.length,s=Array(r);r--;)s[r]=arguments[r];var o=e.component(t);return o.options.functional?new o({data:S(n)?n:[].concat(s)}):n?Dt(n).map(a)[0]:a(n);function a(n){var r=e.getComponent(n,t);if(r){if(!i)return r;r.$destroy()}return new o({el:n,data:i})}};var o=S(i)?X({},i):i.options;return o.name=t,o.install&&o.install(e,o,t),e._initialized&&!o.functional&&wn.read((function(){return e[t]("[uk-"+r+"],[data-uk-"+r+"]")})),n[t]=S(i)?o:i},e.getComponents=function(e){return e&&e[t]||{}},e.getComponent=function(t,n){return e.getComponents(t)[n]},e.connect=function(i){if(i[t])for(var r in i[t])i[t][r]._callConnected();for(var s=0;s<i.attributes.length;s++){var o=Wn(i.attributes[s].name);o&&o in n&&e[o](i)}},e.disconnect=function(e){for(var n in e[t])e[t][n]._callDisconnected()}}(Vn),function(e){var t=e.data;e.prototype.$mount=function(e){var n=this.$options.name;e[t]||(e[t]={}),e[t][n]||(e[t][n]=this,this.$el=this.$options.el=this.$options.el||e,Ve(e,document)&&this._callConnected())},e.prototype.$emit=function(e){this._callUpdate(e)},e.prototype.$reset=function(){this._callDisconnected(),this._callConnected()},e.prototype.$destroy=function(e){void 0===e&&(e=!1);var n=this.$options,i=n.el,r=n.name;i&&this._callDisconnected(),this._callHook("destroy"),i&&i[t]&&(delete i[t][r],R(i[t])||delete i[t],e&&Ct(this.$el))},e.prototype.$create=function(t,n,i){return e[t](n,i)},e.prototype.$update=e.update,e.prototype.$getComponent=e.getComponent;var n={};Object.defineProperties(e.prototype,{$container:Object.getOwnPropertyDescriptor(e,"container"),$name:{get:function(){var t=this.$options.name;return n[t]||(n[t]=e.prefix+s(t)),n[t]}}})}(Vn);var Gn={connected:function(){!Ot(this.$el,this.$name)&&Mt(this.$el,this.$name)}},Yn={props:{cls:Boolean,animation:"list",duration:Number,origin:String,transition:String,queued:Boolean},data:{cls:!1,animation:[!1],duration:200,origin:!1,transition:"linear",queued:!1,initProps:{overflow:"",height:"",paddingTop:"",paddingBottom:"",marginTop:"",marginBottom:""},hideProps:{overflow:"hidden",height:0,paddingTop:0,paddingBottom:0,marginTop:0,marginBottom:0}},computed:{hasAnimation:function(e){return!!e.animation[0]},hasTransition:function(e){var t=e.animation;return this.hasAnimation&&!0===t[0]}},methods:{toggleElement:function(e,t,n){var i=this;return new at((function(r){e=F(e);var s,o=function(e){return at.all(e.map((function(e){return i._toggleElement(e,t,n)})))};if(i.queued&&N(n)&&N(t)&&i.hasAnimation&&!(e.length<2)){var a=e.filter((function(e){return i.isToggled(e)})),l=e.filter((function(e){return!b(a,e)})),u=document.body,c=u.scrollTop,d=a[0],h=nn.inProgress(d)&&Ot(d,"uk-animation-leave")||Qt.inProgress(d)&&"0px"===d.style.height;s=o(a),h||(s=s.then((function(){var e=o(l);return u.scrollTop=c,e})))}else s=o(e);s.then(r,ee)}))},toggleNow:function(e,t){return this.toggleElement(e,t,!1)},isToggled:function(e){var t=F(e||this.$el);return this.cls?Ot(t,this.cls.split(" ")[0]):!se(t,"hidden")},updateAria:function(e){!1===this.cls&&re(e,"aria-hidden",!this.isToggled(e))},_toggleElement:function(e,t,n){var i=this;if(t=L(t)?t:nn.inProgress(e)?Ot(e,"uk-animation-leave"):Qt.inProgress(e)?"0px"===e.style.height:!this.isToggled(e),!Xe(e,"before"+(t?"show":"hide"),[this]))return at.reject();var r,s,o,a,l,u=(C(n)?n:!1!==n&&this.hasAnimation?this.hasTransition?function(e){var t=e.isToggled,n=e.duration,i=e.initProps,r=e.hideProps,s=e.transition,o=e._toggle;return function(e,a){var l=Qt.inProgress(e),u=e.hasChildNodes?B(jt(e.firstElementChild,"marginTop"))+B(jt(e.lastElementChild,"marginBottom")):0,c=Be(e)?cn(e)+(l?0:u):0;Qt.cancel(e),t(e)||o(e,!0),cn(e,""),wn.flush();var d=cn(e)+(l?0:u);return cn(e,c),(a?Qt.start(e,X({},i,{overflow:"hidden",height:d}),Math.round(n*(1-c/d)),s):Qt.start(e,r,Math.round(n*(c/d)),s).then((function(){return o(e,!1)}))).then((function(){return jt(e,i)}))}}(this):(s=(r=this).animation,o=r.duration,a=r.origin,l=r._toggle,function(e,t){return nn.cancel(e),t?(l(e,!0),nn.in(e,s[0],o,a)):nn.out(e,s[1]||s[0],o,a).then((function(){return l(e,!1)}))}):this._toggle)(e,t);Xe(e,t?"show":"hide",[this]);var c=function(){Xe(e,t?"shown":"hidden",[i]),i.$update(e)};return u?u.then(c):at.resolve(c())},_toggle:function(e,t){var n;e&&(t=Boolean(t),this.cls?(n=b(this.cls," ")||t!==Ot(e,this.cls))&&Rt(e,this.cls,b(this.cls," ")?void 0:t):(n=t===se(e,"hidden"))&&re(e,"hidden",t?null:""),Dt("[autofocus]",e).some((function(e){return Be(e)?e.focus()||!0:e.blur()})),this.updateAria(e),n&&this.$update(e))}}};var Un,Xn={mixins:[Gn,Yn],props:{targets:String,active:null,collapsible:Boolean,multiple:Boolean,toggle:String,content:String,transition:String},data:{targets:"> *",active:!1,animation:[!0],collapsible:!0,multiple:!1,clsOpen:"uk-open",toggle:"> .uk-accordion-title",content:"> .uk-accordion-content",transition:"ease"},computed:{items:function(e,t){return Dt(e.targets,t)}},events:[{name:"click",delegate:function(){return this.targets+" "+this.$props.toggle},handler:function(e){e.preventDefault(),this.toggle(ft(Dt(this.targets+" "+this.$props.toggle,this.$el),e.current))}}],connected:function(){if(!1!==this.active){var e=this.items[Number(this.active)];e&&!Ot(e,this.clsOpen)&&this.toggle(e,!1)}},update:function(){var e=this;
27this.items.forEach((function(t){return e._toggle($(e.content,t),Ot(t,e.clsOpen))}));var t=!this.collapsible&&!Ot(this.items,this.clsOpen)&&this.items[0];t&&this.toggle(t,!1)},methods:{toggle:function(e,t){var n=this,i=mt(e,this.items),r=We(this.items,"."+this.clsOpen);(e=this.items[i])&&[e].concat(!this.multiple&&!b(r,e)&&r||[]).forEach((function(i){var s=i===e,o=s&&!Ot(i,n.clsOpen);if(o||!s||n.collapsible||!(r.length<2)){Rt(i,n.clsOpen,o);var a=i._wrapper?i._wrapper.firstElementChild:$(n.content,i);i._wrapper||(i._wrapper=Et(a,"<div>"),re(i._wrapper,"hidden",o?"":null)),n._toggle(a,!0),n.toggleElement(i._wrapper,o,t).then((function(){if(Ot(i,n.clsOpen)===o){if(o){var e=$(n.$props.toggle,i);!1===t||In(e)||Rn(e)}else n._toggle(a,!1);i._wrapper=null,St(a)}}))}}))}}},Kn={mixins:[Gn,Yn],args:"animation",props:{close:String},data:{animation:[!0],selClose:".uk-alert-close",duration:150,hideProps:X({opacity:0},Yn.data.hideProps)},events:[{name:"click",delegate:function(){return this.selClose},handler:function(e){e.preventDefault(),this.close()}}],methods:{close:function(){var e=this;this.toggleElement(this.$el).then((function(){return e.$destroy(!0)}))}}},Qn={args:"autoplay",props:{automute:Boolean,autoplay:Boolean},data:{automute:!1,autoplay:!0},computed:{inView:function(e){return"inview"===e.autoplay}},connected:function(){this.inView&&!se(this.$el,"preload")&&(this.$el.preload="none"),this.player=new Ln(this.$el),this.automute&&this.player.mute()},update:{read:function(){return!!this.player&&{visible:Be(this.$el)&&"hidden"!==jt(this.$el,"visibility"),inView:this.inView&&In(this.$el)}},write:function(e){var t=e.visible,n=e.inView;!t||this.inView&&!n?this.player.pause():(!0===this.autoplay||this.inView&&n)&&this.player.play()},events:["resize","scroll"]}},Zn={mixins:[Gn,Qn],props:{width:Number,height:Number},data:{automute:!0},update:{read:function(){var e=this.$el,t=e.parentNode,n=t.offsetHeight,i=t.offsetWidth,r=ie.cover({width:this.width||e.naturalWidth||e.videoWidth||e.clientWidth,height:this.height||e.naturalHeight||e.videoHeight||e.clientHeight},{width:i+(i%2?1:0),height:n+(n%2?1:0)});return!(!r.width||!r.height)&&r},write:function(e){var t=e.height,n=e.width;jt(this.$el,{height:t,width:n})},events:["resize"]}},Jn={mixins:[{props:{pos:String,offset:null,flip:Boolean,clsPos:String},data:{pos:"bottom-"+(ue?"right":"left"),flip:!0,offset:!1,clsPos:""},computed:{pos:function(e){var t=e.pos;return(t+(b(t,"-")?"":"-center")).split("-")},dir:function(){return this.pos[0]},align:function(){return this.pos[1]}},methods:{positionAt:function(e,t,n){var i;Pt(e,this.clsPos+"-(top|bottom|left|right)(-[a-z]+)?"),jt(e,{top:"",left:""});var r=this.offset,s=this.getAxis();O(r)||(r=(i=$(r))?on(i)["x"===s?"left":"top"]-on(t)["x"===s?"right":"bottom"]:0);var o=sn(e,t,"x"===s?vn(this.dir)+" "+this.align:this.align+" "+vn(this.dir),"x"===s?this.dir+" "+this.align:this.align+" "+this.dir,"x"===s?""+("left"===this.dir?-r:r):" "+("top"===this.dir?-r:r),null,this.flip,n).target,a=o.x,l=o.y;this.dir="x"===s?a:l,this.align="x"===s?l:a,Rt(e,this.clsPos+"-"+this.dir+"-"+this.align,!1===this.offset)},getAxis:function(){return"top"===this.dir||"bottom"===this.dir?"y":"x"}}},Yn],args:"pos",props:{mode:"list",toggle:Boolean,boundary:Boolean,boundaryAlign:Boolean,delayShow:Number,delayHide:Number,clsDrop:String},data:{mode:["click","hover"],toggle:"- *",boundary:window,boundaryAlign:!1,delayShow:0,delayHide:800,clsDrop:!1,animation:["uk-animation-fade"],cls:"uk-open"},computed:{boundary:function(e,t){return be(e.boundary,t)},clsDrop:function(e){return e.clsDrop||"uk-"+this.$options.name},clsPos:function(){return this.clsDrop}},created:function(){this.tracker=new Sn},connected:function(){Mt(this.$el,this.clsDrop);var e=this.$props.toggle;this.toggle=e&&this.$create("toggle",be(e,this.$el),{target:this.$el,mode:this.mode}),!this.toggle&&Xe(this.$el,"updatearia")},events:[{name:"click",delegate:function(){return"."+this.clsDrop+"-close"},handler:function(e){e.preventDefault(),this.hide(!1)}},{name:"click",delegate:function(){return'a[href^="#"]'},handler:function(e){var t=e.defaultPrevented,n=e.current.hash;t||!n||Ve(n,this.$el)||this.hide(!1)}},{name:"beforescroll",handler:function(){this.hide(!1)}},{name:"toggle",self:!0,handler:function(e,t){e.preventDefault(),this.isToggled()?this.hide(!1):this.show(t,!1)}},{name:"toggleshow",self:!0,handler:function(e,t){e.preventDefault(),this.show(t)}},{name:"togglehide",self:!0,handler:function(e){e.preventDefault(),this.hide()}},{name:ge,filter:function(){return b(this.mode,"hover")},handler:function(e){st(e)||this.clearTimers()}},{name:ve,filter:function(){return b(this.mode,"hover")},handler:function(e){st(e)||ze(this.$el,":hover")||this.hide()}},{name:"beforeshow",self:!0,handler:function(){this.clearTimers(),nn.cancel(this.$el),this.position()}}
27,{name:"show",self:!0,handler:function(){var e=this;Un=this,this.tracker.init(),Xe(this.$el,"updatearia");var t=ti(document,"click",(function(t){var n=t.defaultPrevented,i=t.target;n||Ve(i,e.$el)||e.toggle&&Ve(i,e.toggle.$el)||e.hide(!1)}));Ue(this.$el,"hide",t,{self:!0})}},{name:"beforehide",self:!0,handler:function(){this.clearTimers()}},{name:"hide",handler:function(e){var t=e.target;this.$el===t?(Un=this.isActive()?null:Un,Xe(this.$el,"updatearia"),this.tracker.cancel()):Un=null===Un&&Ve(t,this.$el)&&this.isToggled()?this:Un}},{name:"updatearia",self:!0,handler:function(e,t){e.preventDefault(),this.updateAria(this.$el),(t||this.toggle)&&(re((t||this.toggle).$el,"aria-expanded",this.isToggled()),Rt(this.toggle.$el,this.cls,this.isToggled()))}}],update:{write:function(){this.isToggled()&&!nn.inProgress(this.$el)&&this.position()},events:["resize"]},methods:{show:function(e,t){var n=this;if(void 0===e&&(e=this.toggle),void 0===t&&(t=!0),this.isToggled()&&e&&this.toggle&&e.$el!==this.toggle.$el&&this.hide(!1),this.toggle=e,this.clearTimers(),!this.isActive()){if(Un){if(t&&Un.isDelaying)return void(this.showTimer=setTimeout(this.show,10));for(;Un&&!Ve(this.$el,Un.$el);)Un.hide(!1)}this.showTimer=setTimeout((function(){return!n.isToggled()&&n.toggleElement(n.$el,!0)}),t&&this.delayShow||0)}},hide:function(e){var t=this;void 0===e&&(e=!0);var n=function(){return t.toggleNow(t.$el,!1)};this.clearTimers(),this.isDelaying=ei(this.$el).some((function(e){return t.tracker.movesTo(e)})),e&&this.isDelaying?this.hideTimer=setTimeout(this.hide,50):e&&this.delayHide?this.hideTimer=setTimeout(n,this.delayHide):n()},clearTimers:function(){clearTimeout(this.showTimer),clearTimeout(this.hideTimer),this.showTimer=null,this.hideTimer=null,this.isDelaying=!1},isActive:function(){return Un===this},position:function(){Pt(this.$el,this.clsDrop+"-(stack|boundary)"),jt(this.$el,{top:"",left:"",display:"block"}),Rt(this.$el,this.clsDrop+"-boundary",this.boundaryAlign);var e=on(this.boundary),t=this.boundaryAlign?e:on(this.toggle.$el);if("justify"===this.align){var n="y"===this.getAxis()?"width":"height";jt(this.$el,n,t[n])}else this.$el.offsetWidth>Math.max(e.right-t.left,t.right-e.left)&&Mt(this.$el,this.clsDrop+"-stack");this.positionAt(this.$el,this.boundaryAlign?this.boundary:this.toggle.$el,this.boundary),jt(this.$el,"display","")}}};function ei(e){var t="static"!==jt(e,"position")?[e]:[];return t.concat.apply(t,Oe(e).map(ei))}function ti(e,t,n){var i=Ue(e,t,(function(){return i=Ge(e,t,n)}),!0);return function(){return i()}}var ni={extends:Jn},ii={mixins:[Gn],args:"target",props:{target:Boolean},data:{target:!1},computed:{input:function(e,t){return $(je,t)},state:function(){return this.input.nextElementSibling},target:function(e,t){var n=e.target;return n&&(!0===n&&this.input.parentNode===t&&this.input.nextElementSibling||be(n,t))}},update:function(){var e=this.target,t=this.input;if(e){var n,i=Fe(e)?"value":"textContent",r=e[i],s=t.files&&t.files[0]?t.files[0].name:ze(t,"select")&&(n=Dt("option",t).filter((function(e){return e.selected}))[0])?n.textContent:t.value;r!==s&&(e[i]=s)}},events:[{name:"change",handler:function(){this.$emit()}},{name:"reset",el:function(){return Le(this.$el,"form")},handler:function(){this.$emit()}}]},ri={update:{read:function(e){var t=In(this.$el);if(!t||e.isInView===t)return!1;e.isInView=t},write:function(){this.$el.src=this.$el.src},events:["scroll","resize"]}},si={props:{margin:String,firstColumn:Boolean},data:{margin:"uk-margin-small-top",firstColumn:"uk-first-column"},update:{read:function(e){var t=this.$el.children;if(!t.length||!Be(this.$el))return e.rows=[[]];e.rows=oi(t),e.stacks=!e.rows.some((function(e){return e.length>1}))},write:function(e){var t=this;e.rows.forEach((function(e,n){return e.forEach((function(e,i){Rt(e,t.margin,0!==n),Rt(e,t.firstColumn,0===i)}))}))},events:["resize"]}};function oi(e){for(var t=[[]],n=0;n<e.length;n++){var i=e[n],r=ai(i);if(r.height)for(var s=t.length-1;s>=0;s--){var o=t[s];if(!o[0]){o.push(i);break}var a=void 0;if(o[0].offsetParent===i.offsetParent?a=ai(o[0]):(r=ai(i,!0),a=ai(o[0],!0)),r.top>=a.bottom-1&&r.top!==a.top){t.push([i]);break}if(r.bottom>a.top){if(r.left<a.left&&!ue){o.unshift(i);break}o.push(i);break}if(0===s){t.unshift([i]);break}}}return t}function ai(e,t){var n;void 0===t&&(t=!1);var i=e.offsetTop,r=e.offsetLeft,s=e.offsetHeight;return t&&(i=(n=un(e))[0],r=n[1]),{top:i,left:r,height:s,bottom:i+s}}var li={extends:si,mixins:[Gn],name:"grid",props:{masonry:Boolean,parallax:Number}
27,data:{margin:"uk-grid-margin",clsStack:"uk-grid-stack",masonry:!1,parallax:0},computed:{length:function(e,t){return t.children.length},parallax:function(e){var t=e.parallax;return t&&this.length?Math.abs(t):""}},connected:function(){this.masonry&&Mt(this.$el,"uk-flex-top uk-flex-wrap-top")},update:[{write:function(e){var t=e.stacks;Rt(this.$el,this.clsStack,t)},events:["resize"]},{read:function(e){var t=e.rows;if(!this.masonry&&!this.parallax)return!1;t=t.map((function(e){return Z(e,"offsetLeft")})),ue&&t.map((function(e){return e.reverse()}));var n,i,r,s,o=t.some((function(e){return e.some(Qt.inProgress)})),a=!1,l="";if(this.masonry&&this.length){var u=0;a=t.reduce((function(e,n,i){return e[i]=n.map((function(n,r){return 0===i?0:B(e[i-1][r])+(u-B(t[i-1][r]&&t[i-1][r].offsetHeight))})),u=n.reduce((function(e,t){return Math.max(e,t.offsetHeight)}),0),e}),[]),l=function(e){return Math.max.apply(Math,e.reduce((function(e,t){return t.forEach((function(t,n){return e[n]=(e[n]||0)+t.offsetHeight})),e}),[]))}(t)+(n=this.$el,i=this.margin,r=Oe(n),B((s=r.filter((function(e){return Ot(e,i)}))[0])?jt(s,"marginTop"):jt(r[0],"paddingLeft"))*(t.length-1))}return{padding:this.parallax&&ui(this.parallax,t,a),rows:t,translates:a,height:!o&&l}},write:function(e){var t=e.stacks,n=e.height,i=e.padding;Rt(this.$el,this.clsStack,t),jt(this.$el,"paddingBottom",i),!1!==n&&jt(this.$el,"height",n)},events:["resize"]},{read:function(e){var t=e.height;return{scrolled:!!this.parallax&&Nn(this.$el,t?t-cn(this.$el):0)*this.parallax}},write:function(e){var t=e.rows,n=e.scrolled,i=e.translates;(!1!==n||i)&&t.forEach((function(e,t){return e.forEach((function(e,r){return jt(e,"transform",n||i?"translateY("+((i&&-i[t][r])+(n?r%2?n:n/8:0))+"px)":"")}))}))},events:["scroll","resize"]}]};function ui(e,t,n){for(var i=0,r=0,s=0,o=t.length-1;o>=0;o--)for(var a=i;a<t[o].length;a++){var l=t[o][a],u=l.offsetTop+cn(l)+(n&&-n[o][a]);r=Math.max(r,u),s=Math.max(s,u+(a%2?e:e/8)),i++}return s-r}var ci=le?{props:{selMinHeight:String},data:{selMinHeight:!1,forceHeight:!1},computed:{elements:function(e,t){var n=e.selMinHeight;return n?Dt(n,t):[t]}},update:[{read:function(){jt(this.elements,"height","")},order:-5,events:["resize"]},{write:function(){var e=this;this.elements.forEach((function(t){var n=B(jt(t,"minHeight"));n&&(e.forceHeight||Math.round(n+pn(t,"height","content-box"))>=t.offsetHeight)&&jt(t,"height",n)}))},order:5,events:["resize"]}]}:{},di={mixins:[ci],args:"target",props:{target:String,row:Boolean},data:{target:"> *",row:!0,forceHeight:!0},computed:{elements:function(e,t){return Dt(e.target,t)}},update:{read:function(){return{rows:(this.row?oi(this.elements):[this.elements]).map(hi)}},write:function(e){e.rows.forEach((function(e){var t=e.heights;return e.elements.forEach((function(e,n){return jt(e,"minHeight",t[n])}))}))},events:["resize"]}};function hi(e){var t;if(e.length<2)return{heights:[""],elements:e};var n=pi(e),i=n.heights,r=n.max,s=e.some((function(e){return e.style.minHeight})),o=e.some((function(e,t){return!e.style.minHeight&&i[t]<r}));return s&&o&&(jt(e,"minHeight",""),t=pi(e),i=t.heights,r=t.max),{heights:i=e.map((function(e,t){return i[t]===r&&B(e.style.minHeight).toFixed(2)!==r.toFixed(2)?"":r})),elements:e}}function pi(e){var t=e.map((function(e){return on(e).height-pn(e,"height","content-box")}));return{heights:t,max:Math.max.apply(null,t)}}var fi={mixins:[ci],props:{expand:Boolean,offsetTop:Boolean,offsetBottom:Boolean,minHeight:Number},data:{expand:!1,offsetTop:!1,offsetBottom:!1,minHeight:0},update:{read:function(e){var t=e.minHeight;if(!Be(this.$el))return!1;var n="",i=pn(this.$el,"height","content-box");if(this.expand){if(this.$el.dataset.heightExpand="",$("[data-height-expand]")!==this.$el)return!1;n=cn(window)-(mi(document.documentElement)-mi(this.$el))-i||""}else{if(n="calc(100vh",this.offsetTop){var r=on(this.$el).top;n+=r>0&&r<cn(window)/2?" - "+r+"px":""}!0===this.offsetBottom?n+=" - "+mi(this.$el.nextElementSibling)+"px":O(this.offsetBottom)?n+=" - "+this.offsetBottom+"vh":this.offsetBottom&&f(this.offsetBottom,"px")?n+=" - "+B(this.offsetBottom)+"px":P(this.offsetBottom)&&(n+=" - "+mi(be(this.offsetBottom,this.$el))+"px"),n+=(i?" - "+i+"px":"")+")"}return{minHeight:n,prev:t}},write:function(e){var t=e.minHeight,n=e.prev;jt(this.$el,{minHeight:t}),t!==n&&this.$update(this.$el,"resize"),this.minHeight&&B(jt(this.$el,"minHeight"))<this.minHeight&&jt(this.$el,"minHeight",this.minHeight)},events:["resize"]}};function mi(e){return e&&on(e).height||0}var gi={args:"src",props:{id:Boolean,icon:String,src:String,style:String,width:Number,height:Number,ratio:Number,class:String,strokeAnimation:Boolean,focusable:Boolean,attributes:"list"},data:{ratio:1,include:["style","class","focusable"],class:"",strokeAnimation:!1},beforeConnect:function(){var e,t=this;if(this.class+=" uk-svg",!this.icon&&b(this.src,"#")){var n=this.src.split("#");n.length>1&&(e=n,this.src=e[0],this.icon=e[1])}this.svg=this.getSvg().then((function(e){return t.applyAttributes(e),t.svgEl=function(e,t){if(qe(t)||"CANVAS"===t.tagName){re(t,"hidden",!0);var n=t.nextElementSibling;return wi(e,n)?n:wt(t,e)}var i=t.lastElementChild;return wi(e,i)?i:yt(t,e)}(e,t.$el)}),ee)},disconnected:function(){var e=this;qe(this.$el)&&re(this.$el,"hidden",null),this.svg&&this.svg.then((function(t){return(!e._connected||t!==e.svgEl)&&Ct(t)}),ee),this.svg=this.svgEl=null},update:{read:function(){return!!(this.strokeAnimation&&this.svgEl&&Be(this.svgEl))},write:function(){var e,t;e=this.svgEl,(t=function(e){return Math.ceil(Math.max.apply(Math,Dt("[stroke]",e).map((function(e){return e.getTotalLength&&e.getTotalLength()||0})).concat([0])))}(e))&&e.style.setProperty("--uk-animation-stroke",t)},type:["resize"]},methods:{getSvg:function(){var e=this;return function(e){if(vi[e])return vi[e];return vi[e]=new at((function(t,n){e?h(e,"data:")?t(decodeURIComponent(e.split(",")[1])):dt(e).then((function(e){return t(e.response)}),(function(){return n("SVG not found.")})):n()}))}(this.src).then((function(t){return function(e,t){t&&b(e,"<symbol")&&(e=function(e,t){if(!bi[e]){var n;for(bi[e]={};n=yi.exec(e);)bi[e][n[3]]='<svg xmlns="http://www.w3.org/2000/svg"'+n[1]+"svg>";yi.lastIndex=0}return bi[e][t]}(e,t)||e);return(e=$(e.substr(e.indexOf("<svg"))))&&e.hasChildNodes()&&e}(t,e.icon)||at.reject("SVG not found.")}))},applyAttributes:function(e){var t=this;for(var n in this.$options.props)this[n]&&b(this.include,n)&&re(e,n,this[n]);for(var i in this.attributes){var r=this.attributes[i].split(":",2),s=r[0],o=r[1];re(e,s,o)}this.id||oe(e,"id");var a=["width","height"],l=[this.width,this.height];l.some((function(e){return e}))||(l=a.map((function(t){return re(e,t)})));var u=re(e,"viewBox");u&&!l.some((function(e){return e}))&&(l=u.split(" ").slice(2)),l.forEach((function(n,i){(n=(0|n)*t.ratio)&&re(e,a[i],n),n&&!l[1^i]&&oe(e,a[1^i])}
27)),re(e,"data-svg",this.icon||this.src)}}},vi={};var yi=/<symbol(.*?id=(['"])(.*?)\2[^]*?<\/)symbol>/g,bi={};function wi(e,t){return re(e,"data-svg")===re(t,"data-svg")}var xi={},Ci={spinner:'<svg width="30" height="30" viewBox="0 0 30 30" xmlns="http://www.w3.org/2000/svg"><circle fill="none" stroke="#000" cx="15" cy="15" r="14"/></svg>',totop:'<svg width="18" height="10" viewBox="0 0 18 10" xmlns="http://www.w3.org/2000/svg"><polyline fill="none" stroke="#000" stroke-width="1.2" points="1 9 9 1 17 9 "/></svg>',marker:'<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><rect x="9" y="4" width="1" height="11"/><rect x="4" y="9" width="11" height="1"/></svg>',"close-icon":'<svg width="14" height="14" viewBox="0 0 14 14" xmlns="http://www.w3.org/2000/svg"><line fill="none" stroke="#000" stroke-width="1.1" x1="1" y1="1" x2="13" y2="13"/><line fill="none" stroke="#000" stroke-width="1.1" x1="13" y1="1" x2="1" y2="13"/></svg>',"close-large":'<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><line fill="none" stroke="#000" stroke-width="1.4" x1="1" y1="1" x2="19" y2="19"/><line fill="none" stroke="#000" stroke-width="1.4" x1="19" y1="1" x2="1" y2="19"/></svg>',"navbar-toggle-icon":'<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><rect y="9" width="20" height="2"/><rect y="3" width="20" height="2"/><rect y="15" width="20" height="2"/></svg>',"overlay-icon":'<svg width="40" height="40" viewBox="0 0 40 40" xmlns="http://www.w3.org/2000/svg"><rect x="19" y="0" width="1" height="40"/><rect x="0" y="19" width="40" height="1"/></svg>',"pagination-next":'<svg width="7" height="12" viewBox="0 0 7 12" xmlns="http://www.w3.org/2000/svg"><polyline fill="none" stroke="#000" stroke-width="1.2" points="1 1 6 6 1 11"/></svg>',"pagination-previous":'<svg width="7" height="12" viewBox="0 0 7 12" xmlns="http://www.w3.org/2000/svg"><polyline fill="none" stroke="#000" stroke-width="1.2" points="6 1 1 6 6 11"/></svg>',"search-icon":'<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><circle fill="none" stroke="#000" stroke-width="1.1" cx="9" cy="9" r="7"/><path fill="none" stroke="#000" stroke-width="1.1" d="M14,14 L18,18 L14,14 Z"/></svg>',"search-large":'<svg width="40" height="40" viewBox="0 0 40 40" xmlns="http://www.w3.org/2000/svg"><circle fill="none" stroke="#000" stroke-width="1.8" cx="17.5" cy="17.5" r="16.5"/><line fill="none" stroke="#000" stroke-width="1.8" x1="38" y1="39" x2="29" y2="30"/></svg>',"search-navbar":'<svg width="24" height="24" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><circle fill="none" stroke="#000" stroke-width="1.1" cx="10.5" cy="10.5" r="9.5"/><line fill="none" stroke="#000" stroke-width="1.1" x1="23" y1="23" x2="17" y2="17"/></svg>',"slidenav-next":'<svg width="14px" height="24px" viewBox="0 0 14 24" xmlns="http://www.w3.org/2000/svg"><polyline fill="none" stroke="#000" stroke-width="1.4" points="1.225,23 12.775,12 1.225,1 "/></svg>',"slidenav-next-large":'<svg width="25px" height="40px" viewBox="0 0 25 40" xmlns="http://www.w3.org/2000/svg"><polyline fill="none" stroke="#000" stroke-width="2" points="4.002,38.547 22.527,20.024 4,1.5 "/></svg>',"slidenav-previous":'<svg width="14px" height="24px" viewBox="0 0 14 24" xmlns="http://www.w3.org/2000/svg"><polyline fill="none" stroke="#000" stroke-width="1.4" points="12.775,1 1.225,12 12.775,23 "/></svg>',"slidenav-previous-large":'<svg width="25px" height="40px" viewBox="0 0 25 40" xmlns="http://www.w3.org/2000/svg"><polyline fill="none" stroke="#000" stroke-width="2" points="20.527,1.5 2,20.024 20.525,38.547 "/></svg>'},Ei={install:function(e){e.icon.add=function(t,n){var i,r=P(t)?((i={})[t]=n,i):t;Q(r,(function(e,t){Ci[t]=e,delete xi[t]})),e._initialized&&At(document.body,(function(t){return Q(e.getComponents(t),(function(e){e.$options.isIcon&&e.icon in r&&e.$reset()}))}))}},extends:gi,args:"icon",props:["icon"],data:{include:["focusable"]},isIcon:!0,beforeConnect:function(){Mt(this.$el,"uk-icon")},methods:{getSvg:function(){var e=function(e){if(!Ci[e])return null;xi[e]||(xi[e]=$(Ci[e].trim()));return xi[e].cloneNode(!0)}(function(e){return ue?U(U(e,"left","right"),"previous","next"):e}(this.icon));return e?at.resolve(e):at.reject("Icon not found.")}}},Ti={args:!1,extends:Ei,data:function(e){return{icon:s(e.constructor.options.name)}},beforeConnect:function(){Mt(this.$el,this.$name)}},Si={extends:Ti,beforeConnect:function(){Mt(this.$el,"uk-slidenav")},computed:{icon:function(e,t){var n=e.icon;return Ot(t,"uk-slidenav-large")?n+"-large":n}}},$i={extends:Ti,computed:{icon:function(e,t){var n=e.icon;return Ot(t,"uk-search-icon")&&Ie(t,".uk-search-large").length?"search-large":Ie(t,".uk-search-navbar").length?"search-navbar":n}}},ki={extends:Ti,computed:{icon:function(){return"close-"+(Ot(this.$el,"uk-close-large")?"large":"icon")}}},_i={extends:Ti,connected:function(){var e=this;this.svg.then((function(t){return 1!==e.ratio&&jt($("circle",t),"strokeWidth",1/e.ratio)}),ee)}};var Ai={args:"dataSrc",props:{dataSrc:String,dataSrcset:Boolean,sizes:String,width:Number,height:Number,offsetTop:String,offsetLeft:String,target:String},data:{dataSrc:"",dataSrcset:!1,sizes:!1,width:!1,height:!1,offsetTop:"50vh",offsetLeft:0,target:!1},computed:{cacheKey:function(e){var t=e.dataSrc;return this.$name+"."+t},width:function(e){var t=e.width,n=e.dataWidth;return t||n},height:function(e){var t=e.height,n=e.dataHeight;return t||n},sizes:function(e){var t=e.sizes,n=e.dataSizes;return t||n},isImg:function(e,t){return Oi(t)},target:{get:function(e){var t=e.target;return[this.$el].concat(we(t,this.$el))},watch:function(){this.observe()}},offsetTop:function(e){return yn(e.offsetTop,"height")},offsetLeft:function(e){return yn(e.offsetLeft,"width")}},connected:function(){Ni[this.cacheKey]?Di(this.$el,Ni[this.cacheKey]||this.dataSrc,this.dataSrcset,this.sizes):this.isImg&&this.width&&this.height&&Di(this.$el,function(e,t,n){var i;n&&(e=(i=ie.ratio({width:e,height:t},"width",yn(Mi(n)))).width,t=i.height);return'data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="'+e+'" height="'+t+'"></svg>'}(this.width,this.height,this.sizes)),this.observer=new Fn(this.load,{rootMargin:this.offsetTop+"px "+this.offsetLeft+"px"}),requestAnimationFrame(this.observe)},disconnected:function(){this.observer.disconnect()},update:{read:function(e){var t=this,n=e.image;if(n||"complete"!==document.readyState||this.load(this.observer.takeRecords()),this.isImg)return!1;n&&n.then((function(e){return e&&""!==e.currentSrc&&Di(t.$el,Ri(e))}))},write:function(e){if(this.dataSrcset&&1!==window.devicePixelRatio){var t=jt(this.$el,"backgroundSize");(t.match(/^(auto\s?)+$/)||B(t)===e.bgSize)&&(e.bgSize=(n=this.dataSrcset,i=this.sizes,r=yn(Mi(i)),(s=(n.match(Ii)||[]).map(B).sort((function(e,t){return e-t}))).filter((function(e){return e>=r}))[0]||s.pop()||""),jt(this.$el,"backgroundSize",e.bgSize+"px"))}var n,i,r,s},events:["resize"]},methods:{load:function(e){var t=this;e.some((function(e){return N(e.isIntersecting)||e.isIntersecting}))&&(this._data.image=ht(this.dataSrc,this.dataSrcset,this.sizes).then((function(e){return Di(t.$el,Ri(e),e.srcset,e.sizes),Ni[t.cac
27heKey]=Ri(e),e}),ee),this.observer.disconnect())},observe:function(){var e=this;!this._data.image&&this._connected&&this.target.forEach((function(t){return e.observer.observe(t)}))}}};function Di(e,t,n,i){if(Oi(e))i&&(e.sizes=i),n&&(e.srcset=n),t&&(e.src=t);else if(t){!b(e.style.backgroundImage,t)&&(jt(e,"backgroundImage","url("+Ne(t)+")"),Xe(e,Ke("load",!1)))}}var zi=/\s*(.*?)\s*(\w+|calc\(.*?\))\s*(?:,|$)/g;function Mi(e){var t,n;for(zi.lastIndex=0;t=zi.exec(e);)if(!t[1]||window.matchMedia(t[1]).matches){t=h(n=t[2],"calc")?n.substring(5,n.length-1).replace(Li,(function(e){return yn(e)})).replace(/ /g,"").match(Pi).reduce((function(e,t){return e+ +t}),0):n;break}return t||"100vw"}var Li=/\d+(?:\w+|%)/g,Pi=/[+-]?(\d+)/g;var Ii=/\s+\d+w\s*(?:,|$)/g;function Oi(e){return"IMG"===e.tagName}function Ri(e){return e.currentSrc||e.src}var Ni,Hi="__test__";try{(Ni=window.sessionStorage||{})[Hi]=1,delete Ni[Hi]}catch(e){Ni={}}var qi={props:{media:Boolean},data:{media:!1},computed:{matchMedia:function(){var e=function(e){if(P(e))if("@"===e[0]){var t="breakpoint-"+e.substr(1);e=B(Gt(t))}else if(isNaN(e))return e;return!(!e||isNaN(e))&&"(min-width: "+e+"px)"}(this.media);return!e||window.matchMedia(e).matches}}};var Bi={mixins:[Gn,qi],props:{fill:String},data:{fill:"",clsWrapper:"uk-leader-fill",clsHide:"uk-leader-hide",attrFill:"data-fill"},computed:{fill:function(e){return e.fill||Gt("leader-fill-content")}},connected:function(){var e;e=Tt(this.$el,'<span class="'+this.clsWrapper+'">'),this.wrapper=e[0]},disconnected:function(){St(this.wrapper.childNodes)},update:{read:function(e){var t=e.changed,n=e.width,i=n;return{width:n=Math.floor(this.$el.offsetWidth/2),fill:this.fill,changed:t||i!==n,hide:!this.matchMedia}},write:function(e){Rt(this.wrapper,this.clsHide,e.hide),e.changed&&(e.changed=!1,re(this.wrapper,this.attrFill,new Array(e.width).join(e.fill)))},events:["resize"]}},ji={props:{container:Boolean},data:{container:!0},computed:{container:function(e){var t=e.container;return!0===t&&this.$container||t&&$(t)}}},Fi=[],Wi={mixins:[Gn,ji,Yn],props:{selPanel:String,selClose:String,escClose:Boolean,bgClose:Boolean,stack:Boolean},data:{cls:"uk-open",escClose:!0,bgClose:!0,overlay:!0,stack:!1},computed:{panel:function(e,t){return $(e.selPanel,t)},transitionElement:function(){return this.panel},bgClose:function(e){return e.bgClose&&this.panel}},beforeDisconnect:function(){this.isToggled()&&this.toggleNow(this.$el,!1)},events:[{name:"click",delegate:function(){return this.selClose},handler:function(e){e.preventDefault(),this.hide()}},{name:"toggle",self:!0,handler:function(e){e.defaultPrevented||(e.preventDefault(),this.toggle())}},{name:"beforeshow",self:!0,handler:function(e){if(b(Fi,this))return!1;!this.stack&&Fi.length?(at.all(Fi.map((function(e){return e.hide()}))).then(this.show),e.preventDefault()):Fi.push(this)}},{name:"show",self:!0,handler:function(){var e=this;dn(window)-dn(document)&&this.overlay&&jt(document.body,"overflowY","scroll"),Mt(document.documentElement,this.clsPage),this.bgClose&&Ue(this.$el,"hide",ti(document,"click",(function(t){var n=t.defaultPrevented,i=t.target,r=K(Fi);n||r!==e||r.overlay&&!Ve(i,r.$el)||Ve(i,r.panel)||r.hide()})),{self:!0}),this.escClose&&Ue(this.$el,"hide",Ge(document,"keydown",(function(t){var n=K(Fi);27===t.keyCode&&n===e&&(t.preventDefault(),n.hide())})),{self:!0})}},{name:"hidden",self:!0,handler:function(){var e=this;Fi.splice(Fi.indexOf(this),1),Fi.length||jt(document.body,"overflowY",""),Fi.some((function(t){return t.clsPage===e.clsPage}))||Lt(document.documentElement,this.clsPage)}}],methods:{toggle:function(){return this.isToggled()?this.hide():this.show()},show:function(){var e=this;return this.container&&this.$el.parentNode!==this.container?(yt(this.container,this.$el),new at((function(t){return requestAnimationFrame((function(){return e.show().then(t)}))}))):this.toggleElement(this.$el,!0,Vi(this))},hide:function(){return this.toggleElement(this.$el,!1,Vi(this))}}};function Vi(e){var t=e.transitionElement,n=e._toggle;return function(e,i){return new at((function(r,s){return Ue(e,"show hide",(function(){e._reject&&e._reject(),e._reject=s,n(e,i);var o=Ue(t,"transitionstart",(function(){Ue(t,"transitionend transitioncancel",r,{self:!0}),clearTimeout(a)}),{self:!0}),a=setTimeout((function(){o(),r()}),G(jt(t,"transitionDuration")))}))}))}}var Gi={install:function(e){e.modal.dialog=function(t,n){var i=e.modal(' <div class="uk-modal"> <div class="uk-modal-dialog">'+t+"</div> </div> ",n);return i.show(),Ge(i.$el,"hidden",(function(){return at.resolve((function(){return i.$destroy(!0)}))}),{self:!0}),i},e.modal.alert=function(t,n){return n=X({bgClose:!1,escClose:!1,labels:e.modal.labels},n),new at((function(i){return Ge(e.modal.dialog(' <div class="uk-modal-body">'+(P(t)?t:vt(t))+'</div> <div class="uk-modal-footer uk-text-right"> <button class="uk-button uk-button-primary uk-modal-close" autofocus>'+n.labels.ok+"</button> </div> ",n).$el,"hide",i)}))},e.modal.confirm=function(t,n){return n=X({bgClose:!1,escClose:!0,labels:e.modal.labels},n),new at((function(i,r){var s=e.modal.dialog(' <form> <div class="uk-modal-body">'+(P(t)?t:vt(t))+'</div> <div class="uk-modal-footer uk-text-right"> <button class="uk-button uk-button-default uk-modal-close" type="button">'+n.labels.cancel+'</button> <button class="uk-button uk-button-primary" autofocus>'+n.labels.ok+"</button> </div> </form> ",n),o=!1;Ge(s.$el,"submit","form",(function(e){e.preventDefault(),i(),o=!0,s.hide()})),Ge(s.$el,"hide",(function(){o||r()}))}))},e.modal.prompt=function(t,n,i){return i=X({bgClose:!1,escClose:!0,labels:e.modal.labels},i),new at((function(r){var s=e.modal.dialog(' <form class="uk-form-stacked"> <div class="uk-modal-body"> <label>'+(P(t)?t:vt(t))+'</label> <input class="uk-input" autofocus> </div> <div class="uk-modal-footer uk-text-right"> <button class="uk-button uk-button-default uk-modal-close" type="button">'+i.labels.cancel+'</button> <button class="uk-button uk-button-primary">'+i.labels.ok+"</button> </div> </form> ",i),o=$("input",s.$el);o.value=n;var a=!1;Ge(s.$el,"submit","form",(function(e){e.preventDefault(),r(o.value),a=!0,s.hide()})),Ge(s.$el,"hide",(function(){a||r(null)}))}))},e.modal.labels={ok:"Ok",cancel:"Cancel"}},mixins:[Wi],data:{clsPage:"uk-modal-page",selPanel:".uk-modal-dialog",selClose:".uk-modal-close, .uk-modal-close-default, .uk-modal-close-outside, .uk-modal-close-full"}
27,events:[{name:"show",self:!0,handler:function(){Ot(this.panel,"uk-margin-auto-vertical")?Mt(this.$el,"uk-flex"):jt(this.$el,"display","block"),cn(this.$el)}},{name:"hidden",self:!0,handler:function(){jt(this.$el,"display",""),Lt(this.$el,"uk-flex")}}]};var Yi={extends:Xn,data:{targets:"> .uk-parent",toggle:"> a",content:"> ul"}},Ui={mixins:[Gn,ci],props:{dropdown:String,mode:"list",align:String,offset:Number,boundary:Boolean,boundaryAlign:Boolean,clsDrop:String,delayShow:Number,delayHide:Number,dropbar:Boolean,dropbarMode:String,dropbarAnchor:Boolean,duration:Number},data:{dropdown:".uk-navbar-nav > li",align:ue?"right":"left",clsDrop:"uk-navbar-dropdown",mode:void 0,offset:void 0,delayShow:void 0,delayHide:void 0,boundaryAlign:void 0,flip:"x",boundary:!0,dropbar:!1,dropbarMode:"slide",dropbarAnchor:!1,duration:200,forceHeight:!0,selMinHeight:".uk-navbar-nav > li > a, .uk-navbar-item, .uk-navbar-toggle"},computed:{boundary:function(e,t){var n=e.boundary,i=e.boundaryAlign;return!0===n||i?t:n},dropbarAnchor:function(e,t){return be(e.dropbarAnchor,t)},pos:function(e){return"bottom-"+e.align},dropdowns:function(e,t){return Dt(e.dropdown+" ."+e.clsDrop,t)}},beforeConnect:function(){var e=this.$props.dropbar;this.dropbar=e&&(be(e,this.$el)||$("+ .uk-navbar-dropbar",this.$el)||$("<div></div>")),this.dropbar&&(Mt(this.dropbar,"uk-navbar-dropbar"),"slide"===this.dropbarMode&&Mt(this.dropbar,"uk-navbar-dropbar-slide"))},disconnected:function(){this.dropbar&&Ct(this.dropbar)},update:function(){var e=this;this.$create("drop",this.dropdowns.filter((function(t){return!e.getDropdown(t)})),X({},this.$props,{boundary:this.boundary,pos:this.pos,offset:this.dropbar||this.offset}))},events:[{name:"mouseover",delegate:function(){return this.dropdown},handler:function(e){var t=e.current,n=this.getActive();n&&n.toggle&&!Ve(n.toggle.$el,t)&&!n.tracker.movesTo(n.$el)&&n.hide(!1)}},{name:"mouseleave",el:function(){return this.dropbar},handler:function(){var e=this.getActive();e&&!this.dropdowns.some((function(e){return ze(e,":hover")}))&&e.hide()}},{name:"beforeshow",capture:!0,filter:function(){return this.dropbar},handler:function(){this.dropbar.parentNode||wt(this.dropbarAnchor||this.$el,this.dropbar)}},{name:"show",capture:!0,filter:function(){return this.dropbar},handler:function(e,t){var n=t.$el,i=t.dir;this.clsDrop&&Mt(n,this.clsDrop+"-dropbar"),"bottom"===i&&this.transitionTo(n.offsetHeight+B(jt(n,"marginTop"))+B(jt(n,"marginBottom")),n)}},{name:"beforehide",filter:function(){return this.dropbar},handler:function(e,t){var n=t.$el,i=this.getActive();ze(this.dropbar,":hover")&&i&&i.$el===n&&e.preventDefault()}},{name:"hide",filter:function(){return this.dropbar},handler:function(e,t){var n=t.$el,i=this.getActive();(!i||i&&i.$el===n)&&this.transitionTo(0)}}],methods:{getActive:function(){var e=this.dropdowns.map(this.getDropdown).filter((function(e){return e&&e.isActive()}))[0];return e&&b(e.mode,"hover")&&Ve(e.toggle.$el,this.$el)&&e},transitionTo:function(e,t){var n=this,i=this.dropbar,r=Be(i)?cn(i):0;return jt(t=r<e&&t,"clip","rect(0,"+t.offsetWidth+"px,"+r+"px,0)"),cn(i,r),Qt.cancel([t,i]),at.all([Qt.start(i,{height:e},this.duration),Qt.start(t,{clip:"rect(0,"+t.offsetWidth+"px,"+e+"px,0)"},this.duration)]).catch(ee).then((function(){jt(t,{clip:""}),n.$update(i)}))},getDropdown:function(e){return this.$getComponent(e,"drop")||this.$getComponent(e,"dropdown")}}},Xi={mixins:[Wi],args:"mode",props:{mode:String,flip:Boolean,overlay:Boolean},data:{mode:"slide",flip:!1,overlay:!1,clsPage:"uk-offcanvas-page",clsContainer:"uk-offcanvas-container",selPanel:".uk-offcanvas-bar",clsFlip:"uk-offcanvas-flip",clsContainerAnimation:"uk-offcanvas-container-animation",clsSidebarAnimation:"uk-offcanvas-bar-animation",clsMode:"uk-offcanvas",clsOverlay:"uk-offcanvas-overlay",selClose:".uk-offcanvas-close",container:!1},computed:{clsFlip:function(e){var t=e.flip,n=e.clsFlip;return t?n:""},clsOverlay:function(e){var t=e.overlay,n=e.clsOverlay;return t?n:""},clsMode:function(e){var t=e.mode;return e.clsMode+"-"+t},clsSidebarAnimation:function(e){var t=e.mode,n=e.clsSidebarAnimation;return"none"===t||"reveal"===t?"":n},clsContainerAnimation:function(e){var t=e.mode,n=e.clsContainerAnimation;return"push"!==t&&"reveal"!==t?"":n},transitionElement:function(e){return"reveal"===e.mode?this.panel.parentNode:this.panel}},events:[{name:"click",delegate:function(){return'a[href^="#"]'},handler:function(e){var t=e.current.hash;!e.defaultPrevented&&t&&$(t,document.body)&&this.hide()}},{name:"touchstart",passive:!0,el:function(){return this.panel},handler:function(e){var t=e.targetTouches;1===t.length&&(this.clientY=t[0].clientY)}},{name:"touchmove",self:!0,passive:!1,filter:function(){return this.overlay},handler:function(e){e.cancelable&&e.preventDefault()}},{name:"touchmove",passive:!1,el:function(){return this.panel},handler:function(e){if(1===e.targetTouches.length){var t=event.targetTouches[0].clientY-this.clientY,n=this.panel,i=n.scrollTop,r
27=n.scrollHeight,s=n.clientHeight;(s>=r||0===i&&t>0||r-i<=s&&t<0)&&e.cancelable&&e.preventDefault()}}},{name:"show",self:!0,handler:function(){"reveal"!==this.mode||Ot(this.panel.parentNode,this.clsMode)||(Et(this.panel,"<div>"),Mt(this.panel.parentNode,this.clsMode)),jt(document.documentElement,"overflowY",this.overlay?"hidden":""),Mt(document.body,this.clsContainer,this.clsFlip),jt(document.body,"touch-action","pan-y pinch-zoom"),jt(this.$el,"display","block"),Mt(this.$el,this.clsOverlay),Mt(this.panel,this.clsSidebarAnimation,"reveal"!==this.mode?this.clsMode:""),cn(document.body),Mt(document.body,this.clsContainerAnimation),this.clsContainerAnimation&&(Ki().content+=",user-scalable=0")}},{name:"hide",self:!0,handler:function(){Lt(document.body,this.clsContainerAnimation),jt(document.body,"touch-action","")}},{name:"hidden",self:!0,handler:function(){var e;this.clsContainerAnimation&&((e=Ki()).content=e.content.replace(/,user-scalable=0$/,"")),"reveal"===this.mode&&St(this.panel),Lt(this.panel,this.clsSidebarAnimation,this.clsMode),Lt(this.$el,this.clsOverlay),jt(this.$el,"display",""),Lt(document.body,this.clsContainer,this.clsFlip),jt(document.documentElement,"overflowY","")}},{name:"swipeLeft swipeRight",handler:function(e){this.isToggled()&&f(e.type,"Left")^this.flip&&this.hide()}}]};function Ki(){return $('meta[name="viewport"]',document.head)||yt(document.head,'<meta name="viewport">')}var Qi={mixins:[Gn],props:{selContainer:String,selContent:String},data:{selContainer:".uk-modal",selContent:".uk-modal-dialog"},computed:{container:function(e,t){return Le(t,e.selContainer)}
27,content:function(e,t){return Le(t,e.selContent)}},connected:function(){jt(this.$el,"minHeight",150)},update:{read:function(){return!(!this.content||!this.container)&&{current:B(jt(this.$el,"maxHeight")),max:Math.max(150,cn(this.container)-(on(this.content).height-cn(this.$el)))}},write:function(e){var t=e.current,n=e.max;jt(this.$el,"maxHeight",n),Math.round(t)!==Math.round(n)&&Xe(this.$el,"resize")},events:["resize"]}},Zi={props:["width","height"],connected:function(){Mt(this.$el,"uk-responsive-width")},update:{read:function(){return!!(Be(this.$el)&&this.width&&this.height)&&{width:dn(this.$el.parentNode),height:this.height}},write:function(e){cn(this.$el,ie.contain({height:this.height,width:this.width},e).height)},events:["resize"]}},Ji={props:{duration:Number,offset:Number},data:{duration:1e3,offset:0},methods:{scrollTo:function(e){var t=this;e=e&&$(e)||document.body,Xe(this.$el,"beforescroll",[this,e])&&Rn(e,this.$props).then((function(){return Xe(t.$el,"scrolled",[t,e])}))}},events:{click:function(e){e.defaultPrevented||(e.preventDefault(),this.scrollTo(Ne(decodeURIComponent(this.$el.hash)).substr(1)))}}},er={args:"cls",props:{cls:String,target:String,hidden:Boolean,offsetTop:Number,offsetLeft:Number,repeat:Boolean,delay:Number},data:function(){return{cls:!1,target:!1,hidden:!0,offsetTop:0,offsetLeft:0,repeat:!1,delay:0,inViewClass:"uk-scrollspy-inview"}},computed:{elements:function(e,t){var n=e.target;return n?Dt(n,t):[t]}},update:[{write:function(){this.hidden&&jt(We(this.elements,":not(."+this.inViewClass+")"),"visibility","hidden")}},{read:function(e){var t=this;e.update&&this.elements.forEach((function(e){var n=e._ukScrollspyState;n||(n={cls:ae(e,"uk-scrollspy-class")||t.cls}),n.show=In(e,t.offsetTop,t.offsetLeft),e._ukScrollspyState=n}))},write:function(e){var t=this;if(!e.update)return this.$emit(),e.update=!0;this.elements.forEach((function(n){var i=n._ukScrollspyState,r=function(e){jt(n,"visibility",!e&&t.hidden?"hidden":""),Rt(n,t.inViewClass,e),Rt(n,i.cls),Xe(n,e?"inview":"outview"),i.inview=e,t.$update(n)};!i.show||i.inview||i.queued?!i.show&&i.inview&&!i.queued&&t.repeat&&r(!1):(i.queued=!0,e.promise=(e.promise||at.resolve()).then((function(){return new at((function(e){return setTimeout(e,t.delay)}))})).then((function(){r(!0),setTimeout((function(){return i.queued=!1}),300)})))}))},events:["scroll","resize"]}]},tr={props:{cls:String,closest:String,scroll:Boolean,overflow:Boolean,offset:Number},data:{cls:"uk-active",closest:!1,scroll:!1,overflow:!0,offset:0},computed:{links:function(e,t){return Dt('a[href^="#"]',t).filter((function(e){return e.hash}))},targets:function(){return Dt(this.links.map((function(e){return Ne(e.hash).substr(1)})).join(","))},elements:function(e){var t=e.closest;return Le(Dt(this.targets.map((function(e){return'[href="#'+e.id+'"]'})).join(",")),t||"*")}},update:[{read:function(){this.scroll&&this.$create("scroll",this.links,{offset:this.offset||0})}},{read:function(){var e=this,t=this.targets.length;if(!t||!Be(this.$el))return!1;var n=K(Hn(this.targets[0])),i=n.scrollTop,r=n.scrollHeight,s=qn(n),o=i,a=r-on(s).height,l=!1;return o===a?l=t-1:(this.targets.every((function(t,n){if(ln(t,s).top-e.offset<=0)return l=n,!0})),!1===l&&this.overflow&&(l=0)),{active:l}},write:function(e){var t=e.active;this.links.forEach((function(e){return e.blur()})),Lt(this.elements,this.cls),!1!==t&&Xe(this.$el,"active",[t,Mt(this.elements[t],this.cls)])},events:["scroll","resize"]}]},nr={mixins:[Gn,qi],props:{top:null,bottom:Boolean,offset:String,animation:String,clsActive:String,clsInactive:String,clsFixed:String,clsBelow:String,selTarget:String,widthElement:Boolean,showOnUp:Boolean,targetOffset:Number},data:{top:0,bottom:!1,offset:0,animation:"",clsActive:"uk-active",clsInactive:"",clsFixed:"uk-sticky-fixed",clsBelow:"uk-sticky-below",selTarget:"",widthElement:!1,showOnUp:!1,targetOffset:!1},computed:{offset:function(e){return yn(e.offset)},selTarget:function(e,t){var n=e.selTarget;return n&&$(n,t)||t},widthElement:function(e,t){return be(e.widthElement,t)||this.placeholder},isActive:{get:function(){return Ot(this.selTarget,this.clsActive)},set:function(e){e&&!this.isActive?(It(this.selTarget,this.clsInactive,this.clsActive),Xe(this.$el,"active")):e||Ot(this.selTarget,this.clsInactive)||(It(this.selTarget,this.clsActive,this.clsInactive),Xe(this.$el,"inactive"))}}},connected:function(){this.placeholder=$("+ .uk-sticky-placeholder",this.$el)||$('<div class="uk-sticky-placeholder"></div>'),this.isFixed=!1,this.isActive=!1},disconnected:function(){this.isFixed&&(this.hide(),Lt(this.selTarget,this.clsInactive)),Ct(this.placeholder),this.placeholder=null,this.widthElement=null},events:[{name:"load hashchange popstate",el:window,handler:function(){var e=this;if(!1!==this.targetOffset&&location.hash&&window.pageYOffset>0){var t=$(location.hash);t&&wn.read((function(){var n=on(t).top,i=on(e.$el).top,r=e.$el.offsetHeight;e.isFixed&&i+r>=n&&i<=n+t.offsetHeight&&On(window,n-r-(O(e.targetOffset)?e.targetOffset:0)-e.offset)}))}}}],update:[{read:function(e,t){var n=e.height;this.isActive&&"update"!==t&&(this.hide(),n=this.$el.offsetHeight,this.show()),n=this.isActive?n:this.$el.offsetHeight,this.topOffset=on(this.isFixed?this.placeholder:this.$el).top,this.bottomOffset=this.topOffset+n;var i=ir("bottom",this);return this.top=Math.max(B(ir("top",this)),this.topOffset)-this.offset,this.bottom=i&&i-n,this.inactive=!this.matchMedia,{lastScroll:!1,height:n,margins:jt(this.$el,["marginTop","marginBottom","marginLeft","marginRight"])}},write:function(e){var t=e.height,n=e.margins,i=this.placeholder;
27jt(i,X({height:t},n)),Ve(i,document)||(wt(this.$el,i),re(i,"hidden","")),this.isActive=this.isActive},events:["resize"]},{read:function(e){var t=e.scroll;return void 0===t&&(t=0),this.width=(Be(this.widthElement)?this.widthElement:this.$el).offsetWidth,this.scroll=window.pageYOffset,{dir:t<=this.scroll?"down":"up",scroll:this.scroll,visible:Be(this.$el),top:un(this.placeholder)[0]}},write:function(e,t){var n=this,i=e.initTimestamp;void 0===i&&(i=0);var r=e.dir,s=e.lastDir,o=e.lastScroll,a=e.scroll,l=e.top,u=e.visible,c=performance.now();if(e.lastScroll=a,!(a<0||a===o||!u||this.disabled||this.showOnUp&&"scroll"!==t||((c-i>300||r!==s)&&(e.initScroll=a,e.initTimestamp=c),e.lastDir=r,this.showOnUp&&Math.abs(e.initScroll-a)<=30&&Math.abs(o-a)<=10)))if(this.inactive||a<this.top||this.showOnUp&&(a<=this.top||"down"===r||"up"===r&&!this.isFixed&&a<=this.bottomOffset)){if(!this.isFixed)return void(nn.inProgress(this.$el)&&l>a&&(nn.cancel(this.$el),this.hide()));this.isFixed=!1,this.animation&&a>this.topOffset?(nn.cancel(this.$el),nn.out(this.$el,this.animation).then((function(){return n.hide()}),ee)):this.hide()}else this.isFixed?this.update():this.animation?(nn.cancel(this.$el),this.show(),nn.in(this.$el,this.animation).catch(ee)):this.show()},events:["resize","scroll"]}],methods:{show:function(){this.isFixed=!0,this.update(),re(this.placeholder,"hidden",null)},hide:function(){this.isActive=!1,Lt(this.$el,this.clsFixed,this.clsBelow),jt(this.$el,{position:"",top:"",width:""}),re(this.placeholder,"hidden","")},update:function(){var e=0!==this.top||this.scroll>this.top,t=Math.max(0,this.offset);this.bottom&&this.scroll>this.bottom-this.offset&&(t=this.bottom-this.scroll),jt(this.$el,{position:"fixed",top:t+"px",width:this.width}),this.isActive=e,Rt(this.$el,this.clsBelow,this.scroll>this.bottomOffset),Mt(this.$el,this.clsFixed)}}};function ir(e,t){var n=t.$props,i=t.$el,r=t[e+"Offset"],s=n[e];if(s)return O(s)&&P(s)&&s.match(/^-?\d/)?r+yn(s):on(!0===s?i.parentNode:be(s,i)).bottom}var rr={mixins:[Yn],args:"connect",props:{connect:String,toggle:String,active:Number,swiping:Boolean},data:{connect:"~.uk-switcher",toggle:"> * > :first-child",active:0,swiping:!0,cls:"uk-active",clsContainer:"uk-switcher",attrItem:"uk-switcher-item",queued:!0},computed:{connects:function(e,t){return we(e.connect,t)},toggles:function(e,t){return Dt(e.toggle,t)}},events:[{name:"click",delegate:function(){return this.toggle+":not(.uk-disabled)"},handler:function(e){e.preventDefault(),this.show(Oe(this.$el).filter((function(t){return Ve(e.current,t)}))[0])}},{name:"click",el:function(){return this.connects},delegate:function(){return"["+this.attrItem+"],[data-"+this.attrItem+"]"},handler:function(e){e.preventDefault(),this.show(ae(e.current,this.attrItem))}},{name:"swipeRight swipeLeft",filter:function(){return this.swiping},el:function(){return this.connects},handler:function(e){var t=e.type;this.show(f(t,"Left")?"next":"previous")}}],update:function(){var e=this;this.connects.forEach((function(t){return e.updateAria(t.children)}));var t=this.$el.children;this.show(We(t,"."+this.cls)[0]||t[this.active]||t[0]),this.swiping&&jt(this.connects,"touch-action","pan-y pinch-zoom")},methods:{index:function(){return R(this.connects)?-1:ft(We(this.connects[0].children,"."+this.cls)[0])},show:function(e){for(var t,n,i=this,r=this.$el.children,s=r.length,o=this.index(),a=o>=0,l="previous"===e?-1:1,u=mt(e,r,o),c=0;c<s;c++,u=(u+l+s)%s)if(!ze(this.toggles[u],".uk-disabled *, .uk-disabled, [disabled]")){t=this.toggles[u],n=r[u];break}n&&o!==u&&(Lt(r,this.cls),Mt(n,this.cls),re(this.toggles,"aria-expanded",!1),re(t,"aria-expanded",!0),this.connects.forEach((function(e){a?i.toggleElement([e.children[o],e.children[u]]):i.toggleNow(e.children[u])})))}}},sr={mixins:[Gn],extends:rr,props:{media:Boolean},data:{media:960,attrItem:"uk-tab-item"},connected:function(){var e=Ot(this.$el,"uk-tab-left")?"uk-tab-left":!!Ot(this.$el,"uk-tab-right")&&"uk-tab-right";e&&this.$create("toggle",this.$el,{cls:e,mode:"media",media:this.media})}},or={mixins:[qi,Yn],args:"target",props:{href:String,target:null,mode:"list"},data:{href:!1,target:!1,mode:"click",queued:!0},computed:{target:function(e,t){var n=e.href,i=e.target;return(i=we(i||n,t)).length&&i||[t]}},connected:function(){Xe(this.target,"updatearia",[this])},events:[{name:ge+" "+ve,filter:function(){return b(this.mode,"hover")},handler:function(e){st(e)||this.toggle("toggle"+(e.type===ge?"show":"hide"))}},{name:"click",filter:function(){return b(this.mode,"click")||he&&b(this.mode,"hover")},handler:function(e){var t;(Le(e.target,'a[href="#"], a[href=""]')||(t=Le(e.target,"a[href]"))&&(this.cls&&!Ot(this.target,this.cls.split(" ")[0])||!Be(this.target)||t.hash&&ze(this.target,t.hash)))&&e.preventDefault(),this.toggle()}}],update:{read:function(){return!(!b(this.mode,"media")||!this.media)&&{match:this.matchMedia}},write:function(e){var t=e.match,n=this.isToggled(this.target);(t?!n:n)&&this.toggle()},events:["resize"]},methods:{toggle:function(e){Xe(this.target,e||"toggle",[this])&&this.toggleElement(this.target)}}};return Q(Object.freeze({__proto__:null,Accordion:Xn,Alert:Kn,Cover:Zn,Drop:Jn,Dropdown:ni,FormCustom:ii,Gif:ri,Grid:li,HeightMatch:di,HeightViewport:fi,Icon:Ei,Img:Ai,Leader:Bi,Margin:si,Modal:Gi,Nav:Yi,Navbar:Ui,Offcanvas:Xi,OverflowAuto:Qi,Responsive:Zi,Scroll:Ji,Scrollspy:er,ScrollspyNav:tr,Sticky:nr,Svg:gi,Switcher:rr,Tab:sr,Toggle:or,Video:Qn,Close:ki,Spinner:_i,SlidenavNext:Si,SlidenavPrevious:Si,SearchIcon:$i,Marker:Ti,NavbarToggleIcon:Ti,OverlayIcon:Ti,PaginationNext:Ti,PaginationPrevious:Ti,Totop:Ti}),(function(e,t){return Vn.component(t,e)})),Vn.use((function(e){pt((function(){var t;
27e.update(),Ge(window,"load resize",(function(){return e.update(null,"resize")})),Ge(document,"loadedmetadata load",(function(t){var n=t.target;return e.update(n,"resize")}),!0),Ge(window,"scroll",(function(n){t||(t=!0,wn.write((function(){return t=!1})),e.update(null,n.type))}),{passive:!0,capture:!0});var n,i=0;Ge(document,"animationstart",(function(e){var t=e.target;(jt(t,"animationName")||"").match(/^uk-.*(left|right)/)&&(i++,jt(document.body,"overflowX","hidden"),setTimeout((function(){--i||jt(document.body,"overflowX","")}),G(jt(t,"animationDuration"))+100))}),!0),Ge(document,pe,(function(e){if(n&&n(),st(e)){var t=ot(e),i="tagName"in e.target?e.target:e.target.parentNode;n=Ue(document,me+" "+ye,(function(e){var n=ot(e),r=n.x,s=n.y;(i&&r&&Math.abs(t.x-r)>100||s&&Math.abs(t.y-s)>100)&&setTimeout((function(){var e,n,o,a;Xe(i,"swipe"),Xe(i,"swipe"+(e=t.x,n=t.y,o=r,a=s,Math.abs(e-o)>=Math.abs(n-a)?e-o>0?"Left":"Right":n-a>0?"Up":"Down"))}))})),"touchstart"===pe&&(jt(document.body,"cursor","pointer"),Ue(document,me+" "+ye,(function(){return setTimeout((function(){return jt(document.body,"cursor","")}),50)})))}}),{passive:!0})}))})),function(e){var t=e.connect,n=e.disconnect;function i(i){var r=i.target;("attributes"!==i.type?function(e){for(var i=e.addedNodes,r=e.removedNodes,s=0;s<i.length;s++)At(i[s],t);for(var o=0;o<r.length;o++)At(r[o],n);return!0}(i):function(t){var n=t.target,i=t.attributeName;if("href"===i)return!0;var r=Wn(i);if(!r||!(r in e))return;if(se(n,i))return e[r](n),!0;var s=e.getComponent(n,r);if(s)return s.$destroy(),!0}(i))&&e.update(r)}"MutationObserver"in window&&wn.read((function(){document.body&&At(document.body,t);new MutationObserver((function(e){return e.forEach(i)})).observe(document,{childList:!0,subtree:!0,characterData:!0,attributes:!0}),e._initialized=!0}))}(Vn),Vn})),function(e){"function"==typeof define&&define.amd?define(["jquery"],e):"object"==typeof module&&module.exports?module.exports=function(t,n){return void 0===n&&(n="undefined"!=typeof window?require("jquery"):require("jquery")(t)),e(n),n}:e(jQuery)}((function(e){var t=function(){if(e&&e.fn&&e.fn.select2&&e.fn.select2.amd)var t=e.fn.select2.amd;var n;return function(){ 28/** 29 * @license almond 0.3.3 Copyright jQuery Foundation and other contributors. 30 * Released under MIT license, http://github.com/requirejs/almond/LICENSE 31 */ 32var e,n,i;t&&t.requirejs||(t?n=t:t={},function(t){var r,s,o,a,l={},u={},c={},d={},h=Object.prototype.hasOwnProperty,p=[].slice,f=/\.js$/;function m(e,t){return h.call(e,t)}function g(e,t){var n,i,r,s,o,a,l,u,d,h,p,m=t&&t.split("/"),g=c.map,v=g&&g["*"]||{};if(e){for(o=(e=e.split("/")).length-1,c.nodeIdCompat&&f.test(e[o])&&(e[o]=e[o].replace(f,"")),"."===e[0].charAt(0)&&m&&(e=m.slice(0,m.length-1).concat(e)),d=0;d<e.length;d++)if("."===(p=e[d]))e.splice(d,1),d-=1;else if(".."===p){if(0===d||1===d&&".."===e[2]||".."===e[d-1])continue;d>0&&(e.splice(d-1,2),d-=2)}e=e.join("/")}if((m||v)&&g){for(d=(n=e.split("/")).length;d>0;d-=1){if(i=n.slice(0,d).join("/"),m)for(h=m.length;h>0;h-=1)if((r=g[m.slice(0,h).join("/")])&&(r=r[i])){s=r,a=d;break}if(s)break;!l&&v&&v[i]&&(l=v[i],u=d)}!s&&l&&(s=l,a=u),s&&(n.splice(0,a,s),e=n.join("/"))}return e}function v(e,n){return function(){var i=p.call(arguments,0);return"string"!=typeof i[0]&&1===i.length&&i.push(null),s.apply(t,i.concat([e,n]))}}function y(e){return function(t){l[e]=t}}function b(e){if(m(u,e)){var n=u[e];delete u[e],d[e]=!0,r.apply(t,n)}if(!m(l,e)&&!m(d,e))throw new Error("No "+e);return l[e]}function w(e){var t,n=e?e.indexOf("!"):-1;return n>-1&&(t=e.substring(0,n),e=e.substring(n+1,e.length)),[t,e]}function x(e){return e?w(e):[]}function C(e){return function(){return c&&c.config&&c.config[e]||{}}}o=function(e,t){var n,i,r=w(e),s=r[0],o=t[1];return e=r[1],s&&(n=b(s=g(s,o))),s?e=n&&n.normalize?n.normalize(e,(i=o,function(e){return g(e,i)})):g(e,o):(s=(r=w(e=g(e,o)))[0],e=r[1],s&&(n=b(s))),{f:s?s+"!"+e:e,n:e,pr:s,p:n}},a={require:function(e){return v(e)},exports:function(e){var t=l[e];return void 0!==t?t:l[e]={}},module:function(e){return{id:e,uri:"",exports:l[e],config:C(e)}}},r=function(e,n,i,r){var s,c,h,p,f,g,w,C=[],E=typeof i;if(g=x(r=r||e),"undefined"===E||"function"===E){for(n=!n.length&&i.length?["require","exports","module"]:n,f=0;f<n.length;f+=1)if("require"===(c=(p=o(n[f],g)).f))C[f]=a.require(e);else if("exports"===c)C[f]=a.exports(e),w=!0;else if("module"===c)s=C[f]=a.module(e);else if(m(l,c)||m(u,c)||m(d,c))C[f]=b(c);else{if(!p.p)throw new Error(e+" missing "+c);p.p.load(p.n,v(r,!0),y(c),{}),C[f]=l[c]}h=i?i.apply(l[e],C):void 0,e&&(s&&s.exports!==t&&s.exports!==l[e]?l[e]=s.exports:h===t&&w||(l[e]=h))}else e&&(l[e]=i)},e=n=s=function(e,n,i,l,u){if("string"==typeof e)return a[e]?a[e](n):b(o(e,x(n)).f);if(!e.splice){if((c=e).deps&&s(c.deps,c.callback),!n)return;
32n.splice?(e=n,n=i,i=null):e=t}return n=n||function(){},"function"==typeof i&&(i=l,l=u),l?r(t,e,n,i):setTimeout((function(){r(t,e,n,i)}),4),s},s.config=function(e){return s(e)},e._defined=l,(i=function(e,t,n){if("string"!=typeof e)throw new Error("See almond README: incorrect module build, no module name");t.splice||(n=t,t=[]),m(l,e)||m(u,e)||(u[e]=[e,t,n])}).amd={jQuery:!0}}(),t.requirejs=e,t.require=n,t.define=i)}(),t.define("almond",(function(){})),t.define("jquery",[],(function(){var t=e||$;return null==t&&console&&console.error&&console.error("Select2: An instance of jQuery or a jQuery-compatible library was not found. Make sure that you are including jQuery before Select2 on your web page."),t})),t.define("select2/utils",["jquery"],(function($){var e={};function t(e){var t=e.prototype,n=[];for(var i in t){"function"==typeof t[i]&&("constructor"!==i&&n.push(i))}return n}e.Extend=function(e,t){var n={}.hasOwnProperty;function i(){this.constructor=e}for(var r in t)n.call(t,r)&&(e[r]=t[r]);return i.prototype=t.prototype,e.prototype=new i,e.__super__=t.prototype,e},e.Decorate=function(e,n){var i=t(n),r=t(e);function s(){var t=Array.prototype.unshift,i=n.prototype.constructor.length,r=e.prototype.constructor;i>0&&(t.call(arguments,e.prototype.constructor),r=n.prototype.constructor),r.apply(this,arguments)}n.displayName=e.displayName,s.prototype=new function(){this.constructor=s};for(var o=0;o<r.length;o++){var a=r[o];s.prototype[a]=e.prototype[a]}for(var l=function(e){var t=function(){};e in s.prototype&&(t=s.prototype[e]);var i=n.prototype[e];return function(){var e=Array.prototype.unshift;return e.call(arguments,t),i.apply(this,arguments)}},u=0;u<i.length;u++){var c=i[u];s.prototype[c]=l(c)}return s};var n=function(){this.listeners={}};n.prototype.on=function(e,t){this.listeners=this.listeners||{},e in this.listeners?this.listeners[e].push(t):this.listeners[e]=[t]},n.prototype.trigger=function(e){var t=Array.prototype.slice,n=t.call(arguments,1);this.listeners=this.listeners||{},null==n&&(n=[]),0===n.length&&n.push({}),n[0]._type=e,e in this.listeners&&this.invoke(this.listeners[e],t.call(arguments,1)),"*"in this.listeners&&this.invoke(this.listeners["*"],arguments)},n.prototype.invoke=function(e,t){for(var n=0,i=e.length;n<i;n++)e[n].apply(this,t)},e.Observable=n,e.generateChars=function(e){for(var t="",n=0;n<e;n++){t+=Math.floor(36*Math.random()).toString(36)}return t},e.bind=function(e,t){return function(){e.apply(t,arguments)}},e._convertData=function(e){for(var t in e){var n=t.split("-"),i=e;if(1!==n.length){for(var r=0;r<n.length;r++){var s=n[r];(s=s.substring(0,1).toLowerCase()+s.substring(1))in i||(i[s]={}),r==n.length-1&&(i[s]=e[t]),i=i[s]}delete e[t]}}return e},e.hasScroll=function(e,t){var n=$(t),i=t.style.overflowX,r=t.style.overflowY;return(i!==r||"hidden"!==r&&"visible"!==r)&&("scroll"===i||"scroll"===r||(n.innerHeight()<t.scrollHeight||n.innerWidth()<t.scrollWidth))},e.escapeMarkup=function(e){var t={"\\":"\","&":"&","<":"<",">":">",'"':""","'":"'","/":"/"};return"string"!=typeof e?e:String(e).replace(/[&<>"'\/\\]/g,(function(e){return t[e]}))},e.appendMany=function(e,t){if("1.7"===$.fn.jquery.substr(0,3)){var n=$();$.map(t,(function(e){n=n.add(e)})),t=n}e.append(t)},e.__cache={};var i=0;return e.GetUniqueElementId=function(e){var t=e.getAttribute("data-select2-id");return null==t&&(e.id?(t=e.id,e.setAttribute("data-select2-id",t)):(e.setAttribute("data-select2-id",++i),t=i.toString())),t},e.StoreData=function(t,n,i){var r=e.GetUniqueElementId(t);e.__cache[r]||(e.__cache[r]={}),e.__cache[r][n]=i},e.GetData=function(t,n){var i=e.GetUniqueElementId(t);return n?e.__cache[i]&&null!=e.__cache[i][n]?e.__cache[i][n]:$(t).data(n):e.__cache[i]},e.RemoveData=function(t){var n=e.GetUniqueElementId(t);null!=e.__cache[n]&&delete e.__cache[n]},e})),t.define("select2/results",["jquery","./utils"],(function($,e){function t(e,n,i){this.$element=e,this.data=i,this.options=n,t.__super__.constructor.call(this)}return e.Extend(t,e.Observable),t.prototype.render=function(){var e=$
32('<ul class="select2-results__options" role="tree"></ul>');return this.options.get("multiple")&&e.attr("aria-multiselectable","true"),this.$results=e,e},t.prototype.clear=function(){this.$results.empty()},t.prototype.displayMessage=function(e){var t=this.options.get("escapeMarkup");this.clear(),this.hideLoading();var n=$('<li role="treeitem" aria-live="assertive" class="select2-results__option"></li>'),i=this.options.get("translations").get(e.message);n.append(t(i(e.args))),n[0].className+=" select2-results__message",this.$results.append(n)},t.prototype.hideMessages=function(){this.$results.find(".select2-results__message").remove()},t.prototype.append=function(e){this.hideLoading();var t=[];if(null!=e.results&&0!==e.results.length){e.results=this.sort(e.results);for(var n=0;n<e.results.length;n++){var i=e.results[n],r=this.option(i);t.push(r)}this.$results.append(t)}else 0===this.$results.children().length&&this.trigger("results:message",{message:"noResults"})},t.prototype.position=function(e,t){t.find(".select2-results").append(e)},t.prototype.sort=function(e){return this.options.get("sorter")(e)},t.prototype.highlightFirstItem=function(){var e=this.$results.find(".select2-results__option[aria-selected]"),t=e.filter("[aria-selected=true]");t.length>0?t.first().trigger("mouseenter"):e.first().trigger("mouseenter"),this.ensureHighlightVisible()},t.prototype.setClasses=function(){var t=this;this.data.current((function(n){var i=$.map(n,(function(e){return e.id.toString()}));t.$results.find(".select2-results__option[aria-selected]").each((function(){var t=$(this),n=e.GetData(this,"data"),r=""+n.id;null!=n.element&&n.element.selected||null==n.element&&$.inArray(r,i)>-1?t.attr("aria-selected","true"):t.attr("aria-selected","false")}))}))},t.prototype.showLoading=function(e){this.hideLoading();var t={disabled:!0,loading:!0,text:this.options.get("translations").get("searching")(e)},n=this.option(t);n.className+=" loading-results",this.$results.prepend(n)},t.prototype.hideLoading=function(){this.$results.find(".loading-results").remove()},t.prototype.option=function(t){var n=document.createElement("li");n.className="select2-results__option";var i={role:"treeitem","aria-selected":"false"};for(var r in t.disabled&&(delete i["aria-selected"],i["aria-disabled"]="true"),null==t.id&&delete i["aria-selected"],null!=t._resultId&&(n.id=t._resultId),t.title&&(n.title=t.title),t.children&&(i.role="group",i["aria-label"]=t.text,delete i["aria-selected"]),i){var s=i[r];n.setAttribute(r,s)}if(t.children){var o=$(n),a=document.createElement("strong");a.className="select2-results__group";$(a);this.template(t,a);for(var l=[],u=0;u<t.children.length;u++){var c=t.children[u],d=this.option(c);l.push(d)}var h=$("<ul></ul>",{class:"select2-results__options select2-results__options--nested"});h.append(l),o.append(a),o.append(h)}else this.template(t,n);return e.StoreData(n,"data",t),n},t.prototype.bind=function(t,n){var i=this,r=t.id+"-results";this.$results.attr("id",r),t.on("results:all",(function(e){i.clear(),i.append(e.data),t.isOpen()&&(i.setClasses(),i.highlightFirstItem())})),t.on("results:append",(function(e){i.append(e.data),t.isOpen()&&i.setClasses()})),t.on("query",(function(e){i.hideMessages(),i.showLoading(e)})),t.on("select",(function(){t.isOpen()&&(i.setClasses(),i.options.get("scrollAfterSelect")&&i.highlightFirstItem())})),t.on("unselect",(function(){t.isOpen()&&(i.setClasses(),i.options.get("scrollAfterSelect")&&i.highlightFirstItem())})),t.on("open",(function(){i.$results.attr("aria-expanded","true"),i.$results.attr("aria-hidden","false"),i.setClasses(),i.ensureHighlightVisible()})),t.on("close",(function(){i.$results.attr("aria-expanded","false"),i.$results.attr("aria-hidden","true"),i.$results.removeAttr("aria-activedescendant")})),t.on("results:toggle",(function(){var e=i.getHighlightedResults();0!==e.length&&e.trigger("mouseup")})),t.on("results:select",(function(){var t=i.getHighlightedResults();if(0!==t.length){var n=e.GetData(t[0],"data");"true"==t.attr("aria-selected")?i.trigger("close",{}):i.trigger("select",{data:n})}})),t.on("results:previous",(function(){var e=i.getHighlightedResults(),t=i.$results.find("[aria-selected]"),n=t.index(e);if(!(n<=0)){var r=n-1;0===e.length&&(r=0);var s=t.eq(r);s.trigger("mouseenter");var o=i.$results.offset().top,a=s.offset().top,l=i.$results.scrollTop()+(a-o);0===r?i.$results.scrollTop(0):a-o<0&&i.$results.scrollTop(l)}})),t.on("results:next",(function(){var e=i.getHighlightedResults(),t=i.$results.find("[aria-selected]"),n=t.index(e)+1;if(!(n>=t.length)){var r=t.eq(n);r.trigger("mouseenter");var s=i.$results.offset().top+i.$results.outerHeight(!1),o=r.offset().top+r.outerHeight(!1),a=i.$results.scrollTop()+o-s;0===n?i.$results.scrollTop(0):o>s&&i.$results.scrollTop(a)}})),t.on("results:focus",(function(e){e.element.addClass("select2-results__option--highlighted")})),t.on("results:message",(function(e){i.displayMessage(e)})),$.fn.mousewheel&&this.$results.on("mousewheel",(function(e){var t=i.$results.scrollTop(),n=i.$results.get(0).scrollHeight-t+e.deltaY,r=e.deltaY>0&&t-e.deltaY<=0,s=e.deltaY<0&&n<=i.$results.height();r?(i.$results.scrollTop(0),e.preventDefault(),e.stopPropagation()):s&&(i.$results.scrollTop(i.$results.get(0).scrollHeight-i.$results.height()),e.preventDefault(),e.stopPropagation())})),this.$results.on("mouseup",".select2-results__option[aria-selected]",(function(t){var n=$(this),r=e.GetData(this,"data");"true"!==n.attr("aria-selected")?i.trigger("select",{originalEvent:t,data:r}):i.options.get("multiple")?i.trigger("unselect",{originalEvent:t,data:r}):i.trigger("close",{})})),this.$results.on("mouseenter",".select2-results__option[aria-selected]",(function(t){var n=e.GetData(this,"data");i.getHighlightedResults().removeClass("select2-results__option--highlighted"),i.trigger("results:focus",{data:n,element:$(this)})}))},t.prototype.getHighlightedResults=function(){return this.$results.find(".select2-results__option--highlighted")},t.prototype.destroy=function(){this.$results.remove()},t.prototype.ensureHighlightVisible=function(){var e=this.getHighlightedResults();if(0!==e.length){var t=this.$results.find("[aria-selected]").index(e),n=this.$results.offset().top,i=e.offset().top,r=this.$results.scrollTop()+(i-n),s=i-n;r-=2*e.outerHeight(!1),t<=2?this.$results.scrollTop(0):(s>this.$results.outerHeight()||s<0)&&this.$results.scrollTop(r)}},t.prototype.template=function(e,t){var n=this.options.get("templateResult"),i=this.options.get("escapeMarkup"),r=n(e,t);null==r?t.style.display="none":"string"==typeof r?t.innerHTML=i(r):$(t).append(r)},t})),t.define("select2/keys",[],(function(){return{BACKSPACE:8,TAB:9,ENTER:13,SHIFT:16,CTRL:17,ALT:18,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,DELETE:46}})),t.define("select2/selection/base",["jquery","../utils","../keys"],(function($,e,t){function n(e,t){this.$element=e,this.options=t,n.__super__.constructor.call(this)}return e.Extend(n,e.Observable),n.prototype.render=function(){var t=$('<span class="select2-selection" role="combobox" aria-haspopup="true" aria-expanded="false"></span>');return this._tabindex=0,null!=e.GetData(this.$element[0],"old-tabindex")?this._tabindex=e.GetData(this.$element[0],"old-tabindex"):null!=this.$element.attr("tabindex")&&(this._tabindex=this.$element.attr("tabindex")),t.attr("title",this.$element.attr("title")),t.attr("tabindex",this._tabindex),this.$selection=t,t},n.prototype.bind=function(e,n){var i=this,r=(e.id,e.id+"-results");this.container=e,this.$selection.on("focus",(function(e){i.trigger("focus",e)})),this.$selection.on("blur",(function(e){i._handleBlur(e)})),this.$selection.on("keydown",(function(e){i.trigger("keypress",e),e.which===t.SPACE&&e.preventDefault()})),e.on("results:focus",(function(e){i.$selection.attr("aria-activedescendant",e.data._resultId)})),e.on("selection:update",(function(e){i.update(e.data)})),e.on("open",(function(){i.$selection.attr("aria-expanded","true"),i.$selection.attr("aria-owns",r),i._attachCloseHandler(e)})),e.on("close",(function(){i.$selection.attr("aria-expanded","fal
32se"),i.$selection.removeAttr("aria-activedescendant"),i.$selection.removeAttr("aria-owns"),window.setTimeout((function(){i.$selection.focus()}),0),i._detachCloseHandler(e)})),e.on("enable",(function(){i.$selection.attr("tabindex",i._tabindex)})),e.on("disable",(function(){i.$selection.attr("tabindex","-1")}))},n.prototype._handleBlur=function(e){var t=this;window.setTimeout((function(){document.activeElement==t.$selection[0]||$.contains(t.$selection[0],document.activeElement)||t.trigger("blur",e)}),1)},n.prototype._attachCloseHandler=function(t){$(document.body).on("mousedown.select2."+t.id,(function(t){var n=$(t.target).closest(".select2");$(".select2.select2-container--open").each((function(){$(this);this!=n[0]&&e.GetData(this,"element").select2("close")}))}))},n.prototype._detachCloseHandler=function(e){$(document.body).off("mousedown.select2."+e.id)},n.prototype.position=function(e,t){t.find(".selection").append(e)},n.prototype.destroy=function(){this._detachCloseHandler(this.container)},n.prototype.update=function(e){throw new Error("The `update` method must be defined in child classes.")},n})),t.define("select2/selection/single",["jquery","./base","../utils","../keys"],(function($,e,t,n){function i(){i.__super__.constructor.apply(this,arguments)}return t.Extend(i,e),i.prototype.render=function(){var e=i.__super__.render.call(this);return e.addClass("select2-selection--single"),e.html('<span class="select2-selection__rendered"></span><span class="select2-selection__arrow" role="presentation"><b role="presentation"></b></span>'),e},i.prototype.bind=function(e,t){var n=this;i.__super__.bind.apply(this,arguments);var r=e.id+"-container";this.$selection.find(".select2-selection__rendered").attr("id",r).attr("role","textbox").attr("aria-readonly","true"),this.$selection.attr("aria-labelledby",r),this.$selection.on("mousedown",(function(e){1===e.which&&n.trigger("toggle",{originalEvent:e})})),this.$selection.on("focus",(function(e){})),this.$selection.on("blur",(function(e){})),e.on("focus",(function(t){e.isOpen()||n.$selection.focus()}))},i.prototype.clear=function(){var e=this.$selection.find(".select2-selection__rendered");e.empty(),e.removeAttr("title")},i.prototype.display=function(e,t){var n=this.options.get("templateSelection");return this.options.get("escapeMarkup")(n(e,t))},i.prototype.selectionContainer=function(){return $("<span></span>")},i.prototype.update=function(e){if(0!==e.length){var t=e[0],n=this.$selection.find(".select2-selection__rendered"),i=this.display(t,n);n.empty().append(i),n.attr("title",t.title||t.text)}else this.clear()},i})),t.define("select2/selection/multiple",["jquery","./base","../utils"],(function($,e,t){function n(e,t){n.__super__.constructor.apply(this,arguments)}return t.Extend(n,e),n.prototype.render=function(){var e=n.__super__.render.call(this);return e.addClass("select2-selection--multiple"),e.html('<ul class="select2-selection__rendered"></ul>'),e},n.prototype.bind=function(e,i){var r=this;n.__super__.bind.apply(this,arguments),this.$selection.on("click",(function(e){r.trigger("toggle",{originalEvent:e})})),this.$selection.on("click",".select2-selection__choice__remove",(function(e){if(!r.options.get("disabled")){var n=$(this).parent(),i=t.GetData(n[0],"data");r.trigger("unselect",{originalEvent:e,data:i})}}))},n.prototype.clear=function(){var e=this.$selection.find(".select2-selection__rendered");e.empty(),e.removeAttr("title")},n.prototype.display=function(e,t){var n=this.options.get("templateSelection");return this.options.get("escapeMarkup")(n(e,t))},n.prototype.selectionContainer=function(){return $('<li class="select2-selection__choice"><span class="select2-selection__choice__remove" role="presentation">×</span></li>')},n.prototype.update=function(e){if(this.clear(),0!==e.length){for(var n=[],i=0;i<e.length;i++){var r=e[i],s=this.selectionContainer(),o=this.display(r,s);s.append(o),s.attr("title",r.title||r.text),t.StoreData(s[0],"data",r),n.push(s)}var a=this.$selection.find(".select2-selection__rendered");t.appendMany(a,n)}},n})),t.define("select2/selection/placeholder",["../utils"],(function(e){function t(e,t,n){this.placeholder=this.normalizePlaceholder(n.get("placeholder")),e.call(this,t,n)}return t.prototype.normalizePlaceholder=function(e,t){return"string"==typeof t&&(t={id:"",text:t}),t},t.prototype.createPlaceholder=function(e,t){var n=this.selectionContainer();return n.html(this.display(t)),n.addClass("select2-selection__placeholder").removeClass("select2-selection__choice"),n},t.prototype.update=function(e,t){var n=1==t.length&&t[0].id!=this.placeholder.id;if(t.length>1||n)return e.call(this,t);this.clear();var i=this.createPlaceholder(this.placeholder);this.$selection.find(".select2-selection__rendered").append(i)},t}
32)),t.define("select2/selection/allowClear",["jquery","../keys","../utils"],(function($,e,t){function n(){}return n.prototype.bind=function(e,t,n){var i=this;e.call(this,t,n),null==this.placeholder&&this.options.get("debug")&&window.console&&console.error&&console.error("Select2: The `allowClear` option should be used in combination with the `placeholder` option."),this.$selection.on("mousedown",".select2-selection__clear",(function(e){i._handleClear(e)})),t.on("keypress",(function(e){i._handleKeyboardClear(e,t)}))},n.prototype._handleClear=function(e,n){if(!this.options.get("disabled")){var i=this.$selection.find(".select2-selection__clear");if(0!==i.length){n.stopPropagation();var r=t.GetData(i[0],"data"),s=this.$element.val();this.$element.val(this.placeholder.id);var o={data:r};if(this.trigger("clear",o),o.prevented)this.$element.val(s);else{for(var a=0;a<r.length;a++)if(o={data:r[a]},this.trigger("unselect",o),o.prevented)return void this.$element.val(s);this.$element.trigger("change"),this.trigger("toggle",{})}}}},n.prototype._handleKeyboardClear=function(t,n,i){i.isOpen()||n.which!=e.DELETE&&n.which!=e.BACKSPACE||this._handleClear(n)},n.prototype.update=function(e,n){if(e.call(this,n),!(this.$selection.find(".select2-selection__placeholder").length>0||0===n.length)){var i=this.options.get("translations").get("removeAllItems"),r=$('<span class="select2-selection__clear" title="'+i()+'">×</span>');t.StoreData(r[0],"data",n),this.$selection.find(".select2-selection__rendered").prepend(r)}},n})),t.define("select2/selection/search",["jquery","../utils","../keys"],(function($,e,t){function n(e,t,n){e.call(this,t,n)}return n.prototype.render=function(e){var t=$('<li class="select2-search select2-search--inline"><input class="select2-search__field" type="search" tabindex="-1" autocomplete="off" autocorrect="off" autocapitalize="none" spellcheck="false" role="textbox" aria-autocomplete="list" /></li>');this.$searchContainer=t,this.$search=t.find("input");var n=e.call(this);return this._transferTabIndex(),n},n.prototype.bind=function(n,i,r){var s=this;n.call(this,i,r),i.on("open",(function(){s.$search.trigger("focus")})),i.on("close",(function(){s.$search.val(""),s.$search.removeAttr("aria-activedescendant"),s.$search.trigger("focus")})),i.on("enable",(function(){s.$search.prop("disabled",!1),s._transferTabIndex()})),i.on("disable",(function(){s.$search.prop("disabled",!0)})),i.on("focus",(function(e){s.$search.trigger("focus")})),i.on("results:focus",(function(e){s.$search.attr("aria-activedescendant",e.id)})),this.$selection.on("focusin",".select2-search--inline",(function(e){s.trigger("focus",e)})),this.$selection.on("focusout",".select2-search--inline",(function(e){s._handleBlur(e)})),this.$selection.on("keydown",".select2-search--inline",(function(n){if(n.stopPropagation(),s.trigger("keypress",n),s._keyUpPrevented=n.isDefaultPrevented(),n.which===t.BACKSPACE&&""===s.$search.val()){var i=s.$searchContainer.prev(".select2-selection__choice");if(i.length>0){var r=e.GetData(i[0],"data");s.searchRemoveChoice(r),n.preventDefault()}}}));var o=document.documentMode,a=o&&o<=11;this.$selection.on("input.searchcheck",".select2-search--inline",(function(e){a?s.$selection.off("input.search input.searchcheck"):s.$selection.off("keyup.search")})),this.$selection.on("keyup.search input.search",".select2-search--inline",(function(e){if(a&&"input"===e.type)s.$selection.off("input.search input.searchcheck");else{var n=e.which;n!=t.SHIFT&&n!=t.CTRL&&n!=t.ALT&&n!=t.TAB&&s.handleSearch(e)}}))},n.prototype._transferTabIndex=function(e){this.$search.attr("tabindex",this.$selection.attr("tabindex")),this.$selection.attr("tabindex","-1")},n.prototype.createPlaceholder=function(e,t){this.$search.attr("placeholder",t.text)},n.prototype.update=function(e,t){var n=this.$search[0]==document.activeElement;(this.$search.attr("placeholder",""),e.call(this,t),this.$selection.find(".select2-selection__rendered").append(this.$searchContainer),this.resizeSearch(),n)&&(this.$element.find("[data-select2-tag]").length?this.$element.focus():this.$search.focus())},n.prototype.handleSearch=function(){if(this.resizeSearch(),!this._keyUpPrevented){var e=this.$search.val();this.trigger("query",{term:e})}this._keyUpPrevented=!1},n.prototype.searchRemoveChoice=function(e,t){this.trigger("unselect",{data:t}),this.$search.val(t.text),this.handleSearch()},n.prototype.resizeSearch=function(){this.$search.css("width","25px");var e="";""!==this.$search.attr("placeholder")?e=this.$selection.find(".select2-selection__rendered").innerWidth():e=.75*(this.$search.val().length+1)+"em";this.$search.css("width",e)},n})),t.define("select2/selection/eventRelay",["jquery"],(function($){function e(){}return e.prototype.bind=function(e,t,n){var i=this,r=["open","opening","close","closing","select","selecting","unselect","unselecting","clear","clearing"],s=["opening","closing","selecting","unselecting","clearing"];e.call(this,t,n),t.on("*",(function(e,t){if(-1!==$.inArray(e,r)){t=t||{};var n=$.Event("select2:"+e,{params:t});i.$element.trigger(n),-1!==$.inArray(e,s)&&(t.prevented=n.isDefaultPrevented())}}))},e})),t.define("select2/translation",["jquery","require"],(function($,e){function t(e){this.dict=e||{}}return t.prototype.all=function(){return this.dict},t.prototype.get=function(e){return this.dict[e]},t.prototype.extend=function(e){this.dict=$.extend({},e.all(),this.dict)},t._cache={},t.loadPath=function(n){if(!(n in t._cache)){var i=e(n);t._cache[n]=i}return new t(t._cache[n])},t})),t.define("select2/diacritics",[],(function(){return{"â¶":"A","A":"A","Ã":"A","Ã":"A","Ã":"A","Ầ":"A","Ấ":"A","Ẫ":"A","Ẩ":"A","Ã":"A","Ä":"A","Ä":"A","Ằ":"A","Ắ":"A","Ẵ":"A","Ẳ":"A","Ȧ":"A","Ç ":"A","Ã":"A","Ç":"A","Ả":"A","Ã
":"A","Ǻ":"A","Ç":"A","È":"A","È":"A","Ạ":"A","Ậ":"A","Ặ":"A","á¸":"A","Ä":"A","Ⱥ":"A","Ɐ":"A","ê²":"AA","Ã":"AE","Ǽ":"AE","Ç¢":"AE","ê´":"AO","ê¶":"AU","ê¸":"AV","êº":"AV","ê¼":"AY","â·":"B","ï¼¢":"B","á¸":"B","á¸":"B","á¸":"B","É":"B","Æ":"B","Æ":"B","â¸":"C","ï¼£":"C","Ä":"C","Ä":"C","Ä":"C","Ä":"C","Ã":"C","á¸":"C","Æ":"C","È»":"C","ê¾":"C","â¹":"D","D":"D","á¸":"D","Ä":"D","á¸":"D","á¸":"D","á¸":"D","á¸":"D","Ä":"D","Æ":"D","Æ":"D","Æ":"D","ê¹":"D","DZ":"DZ","Ç":"DZ","Dz":"Dz","Ç
":"Dz","âº":"E","ï¼¥":"E","Ã":"E","Ã":"E","Ã":"E","á»":"E","Ế":"E","á»":"E","á»":"E","Ẽ":"E","Ä":"E","á¸":"E","á¸":"E","Ä":"E","Ä":"E","Ã":"E","Ẻ":"E","Ä":"E","È":"E","È":"E","Ẹ":"E","á»":"E","Ȩ":"E","á¸":"E","Ä":"E","á¸":"E","á¸":"E","Æ":"E","Æ":"E","â»":"F","F":"F","á¸":"F","Æ":"F","ê»":"F","â¼":"G","ï¼§":"G","Ç´":"G","Ä":"G","Ḡ":"G","Ä":"G","Ä ":"G","Ǧ":"G","Ä¢":"G","Ǥ":"G","Æ":"G","ê ":"G","ê½":"G","ê¾":"G","â½":"H","H":"H","Ĥ":"H","Ḣ":"H","Ḧ":"H","È":"H","Ḥ":"H","Ḩ":"H","Ḫ":"H","Ħ":"H","â±§":"H","â±µ":"H","ê":"H","â¾":"I","I":"I","Ã":"I","Ã":"I","Ã":"I","Ĩ":"I","Ī":"I","Ĭ":"I","İ":"I","Ã":"I","Ḯ":"I","á»":"I","Ç":"I","È":"I","È":"I","á»":"I","Ä®":"I","Ḭ":"I","Æ":"I","â¿":"J","J":"J","Ä´":"J","É":"J","â":"K","K":"K","Ḱ":"K","Ǩ":"K","Ḳ":"K","Ķ":"K","Ḵ":"K","Æ":"K","Ⱪ":"K","ê":"K","ê":"K","ê":"K","ê¢":"K","â":"L","L":"L","Ä¿":"L","Ĺ":"L","Ľ":"L","Ḷ":"L","Ḹ":"L","Ä»":"L","Ḽ":"L","Ḻ":"L","Å":"L","Ƚ":"L","â±¢":"L","â± ":"L","ê":"L","ê":"L","ê":"L","Ç":"LJ","Ç":"Lj","â":"M","ï¼":"M","Ḿ":"M","á¹":"M","á¹":"M","â±®":"M","Æ":"M","â":"N","ï¼®":"N","Ǹ":"N","Å":"N","Ã":"N","á¹":"N","Å":"N","á¹":"N","Å
":"N","á¹":"N","á¹":"N","È ":"N","Æ":"N","ê":"N","ê¤":"N","Ç":"NJ","Ç":"Nj","â":"O","O":"O","Ã":"O","Ã":"O","Ã":"O","á»":"O","á»":"O","á»":"O","á»":"O","Ã":"O","á¹":"O","Ȭ":"O","á¹":"O","Å":"O","á¹":"O","á¹":"O","Å":"O","È®":"O","Ȱ":"O","Ã":"O","Ȫ":"O","á»":"O","Å":"O","Ç":"O","È":"O","È":"O","Æ ":"O","á»":"O","á»":"O","á» ":"O","á»":"O","Ợ":"O","á»":"O","á»":"O","Ǫ":"O","Ǭ":"O","Ã":"O","Ǿ":"O","Æ":"O","Æ":"O","ê":"O","ê":"O","Å":"OE","Æ¢":"OI","ê":"OO","È¢":"OU","â
":"P","ï¼°":"P","á¹":"P","á¹":"P","Ƥ":"P","â±£":"P","ê":"P","ê":"P","ê":"P","â":"Q","ï¼±":"Q","ê":"Q","ê":"Q","É":"Q","â":"R","ï¼²":"R","Å":"R","á¹":"R","Å":"R","È":"R","È":"R","á¹":"R","á¹":"R","Å":"R","á¹":"R","É":"R","Ɽ":"R","ê":"R","ê¦":"R","ê":"R","â":"S","ï¼³":"S","áº":"S","Å":"S","Ṥ":"S","Å":"S","á¹ ":"S","Å ":"S","Ṧ":"S","á¹¢":"S","Ṩ":"S","È":"S","Å":"S","â±¾":"S","ê¨":"S","ê":"S","â":"T","ï¼´":"T","Ṫ":"T","Ť":"T","Ṭ":"T","È":"T","Å¢":"T","á¹°":"T","á¹®":"T","Ŧ":"T","Ƭ":"T","Æ®":"T","Ⱦ":"T","ê":"T","ê¨":"TZ","â":"U","ï¼µ":"U","Ã":"U","Ã":"U","Ã":"U","Ũ":"U","Ṹ":"U","Ū":"U","Ṻ":"U","Ŭ":"U","Ã":"U","Ç":"U","Ç":"U","Ç":"U","Ç":"U","Ủ":"U","Å®":"U","Ű":"U","Ç":"U","È":"U","È":"U","Ư":"U","Ừ":"U","Ứ":"U","á»®":"U","Ử":"U","á»°":"U","Ụ":"U","á¹²":"U","Ų":"U","á¹¶":"U","á¹´":"U","É":"U","â":"V","ï¼¶":"V","á¹¼":"V","á¹¾":"V","Ʋ":"
32V","ê":"V","É
":"V","ê ":"VY","â":"W","ï¼·":"W","áº":"W","áº":"W","Å´":"W","áº":"W","áº":"W","áº":"W","â±²":"W","â":"X","X":"X","áº":"X","áº":"X","â":"Y","ï¼¹":"Y","Ỳ":"Y","Ã":"Y","Ŷ":"Y","Ỹ":"Y","Ȳ":"Y","áº":"Y","Ÿ":"Y","á»¶":"Y","á»´":"Y","Ƴ":"Y","É":"Y","Ỿ":"Y","â":"Z","Z":"Z","Ź":"Z","áº":"Z","Å»":"Z","Ž":"Z","áº":"Z","áº":"Z","Ƶ":"Z","Ȥ":"Z","Ɀ":"Z","Ⱬ":"Z","ê¢":"Z","â":"a","ï½":"a","áº":"a","à ":"a","á":"a","â":"a","ầ":"a","ấ":"a","ẫ":"a","ẩ":"a","ã":"a","Ä":"a","Ä":"a","ằ":"a","ắ":"a","ẵ":"a","ẳ":"a","ȧ":"a","Ç¡":"a","ä":"a","Ç":"a","ả":"a","Ã¥":"a","Ç»":"a","Ç":"a","È":"a","È":"a","ạ":"a","áº":"a","ặ":"a","á¸":"a","Ä
":"a","â±¥":"a","É":"a","ê³":"aa","æ":"ae","ǽ":"ae","Ç£":"ae","êµ":"ao","ê·":"au","ê¹":"av","ê»":"av","ê½":"ay","â":"b","ï½":"b","á¸":"b","á¸
":"b","á¸":"b","Æ":"b","Æ":"b","É":"b","â":"c","ï½":"c","Ä":"c","Ä":"c","Ä":"c","Ä":"c","ç":"c","á¸":"c","Æ":"c","ȼ":"c","ê¿":"c","â":"c","â":"d","ï½":"d","á¸":"d","Ä":"d","á¸":"d","á¸":"d","á¸":"d","á¸":"d","Ä":"d","Æ":"d","É":"d","É":"d","êº":"d","dz":"dz","Ç":"dz","â":"e","ï½
":"e","è":"e","é":"e","ê":"e","á»":"e","ế":"e","á»
":"e","á»":"e","ẽ":"e","Ä":"e","á¸":"e","á¸":"e","Ä":"e","Ä":"e","ë":"e","ẻ":"e","Ä":"e","È
":"e","È":"e","ẹ":"e","á»":"e","È©":"e","á¸":"e","Ä":"e","á¸":"e","á¸":"e","É":"e","É":"e","Ç":"e","â":"f","ï½":"f","á¸":"f","Æ":"f","ê¼":"f","â":"g","ï½":"g","ǵ":"g","Ä":"g","ḡ":"g","Ä":"g","Ä¡":"g","ǧ":"g","Ä£":"g","Ç¥":"g","É ":"g","ê¡":"g","áµ¹":"g","ê¿":"g","â":"h","ï½":"h","Ä¥":"h","ḣ":"h","ḧ":"h","È":"h","ḥ":"h","ḩ":"h","ḫ":"h","áº":"h","ħ":"h","ⱨ":"h","â±¶":"h","É¥":"h","Æ":"hv","â":"i","ï½":"i","ì":"i","Ã":"i","î":"i","Ä©":"i","Ä«":"i","Ä":"i","ï":"i","ḯ":"i","á»":"i","Ç":"i","È":"i","È":"i","á»":"i","į":"i","á¸":"i","ɨ":"i","ı":"i","â":"j","ï½":"j","ĵ":"j","ǰ":"j","É":"j","â":"k","ï½":"k","ḱ":"k","Ç©":"k","ḳ":"k","Ä·":"k","ḵ":"k","Æ":"k","ⱪ":"k","ê":"k","ê":"k","ê
":"k","ê£":"k","â":"l","ï½":"l","Å":"l","ĺ":"l","ľ":"l","ḷ":"l","ḹ":"l","ļ":"l","ḽ":"l","ḻ":"l","Å¿":"l","Å":"l","Æ":"l","É«":"l","ⱡ":"l","ê":"l","ê":"l","ê":"l","Ç":"lj","â":"m","ï½":"m","ḿ":"m","á¹":"m","á¹":"m","ɱ":"m","ɯ":"m","â":"n","ï½":"n","ǹ":"n","Å":"n","ñ":"n","á¹
":"n","Å":"n","á¹":"n","Å":"n","á¹":"n","á¹":"n","Æ":"n","ɲ":"n","Å":"n","ê":"n","ê¥":"n","Ç":"nj","â":"o","ï½":"o","ò":"o","ó":"o","ô":"o","á»":"o","á»":"o","á»":"o","á»":"o","õ":"o","á¹":"o","È":"o","á¹":"o","Å":"o","á¹":"o","á¹":"o","Å":"o","ȯ":"o","ȱ":"o","ö":"o","È«":"o","á»":"o","Å":"o","Ç":"o","È":"o","È":"o","Æ¡":"o","á»":"o","á»":"o","ỡ":"o","á»":"o","ợ":"o","á»":"o","á»":"o","Ç«":"o","Ç":"o","ø":"o","Ç¿":"o","É":"o","ê":"o","ê":"o","ɵ":"o","Å":"oe","Æ£":"oi","È£":"ou","ê":"oo","â":"p","ï½":"p","á¹":"p","á¹":"p","Æ¥":"p","áµ½":"p","ê":"p","ê":"p","ê":"p","â ":"q","ï½":"q","É":"q","ê":"q","ê":"q","â¡":"r","ï½":"r","Å":"r","á¹":"r","Å":"r","È":"r","È":"r","á¹":"r","á¹":"r","Å":"r","á¹":"r","É":"r","ɽ":"r","ê":"r","ê§":"r","ê":"r","â¢":"s","ï½":"s","Ã":"s","Å":"s","á¹¥":"s","Å":"s","ṡ":"s","Å¡":"s","á¹§":"s","á¹£":"s","ṩ":"s","È":"s","Å":"s","È¿":"s","ê©":"s","ê
":"s","áº":"s","â£":"t","ï½":"t","ṫ":"t","áº":"t","Å¥":"t","á¹":"t","È":"t","Å£":"t","á¹±":"t","ṯ":"t","ŧ":"t","Æ":"t","Ê":"t","ⱦ":"t","ê":"t","ê©":"tz","â¤":"u","ï½":"u","ù":"u","ú":"u","û":"u","Å©":"u","á¹¹":"u","Å«":"u","á¹»":"u","Å":"u","ü":"u","Ç":"u","Ç":"u","Ç":"u","Ç":"u","á»§":"u","ů":"u","ű":"u","Ç":"u","È":"u","È":"u","ư":"u","ừ":"u","ứ":"u","ữ":"u","á»":"u","á»±":"u","ụ":"u","á¹³":"u","ų":"u","á¹·":"u","á¹µ":"u","Ê":"u","â¥":"v","ï½":"v","á¹½":"v","ṿ":"v","Ê":"v","ê":"v","Ê":"v","ê¡":"vy","â¦":"w","ï½":"w","áº":"w","áº":"w","ŵ":"w","áº":"w","áº
":"w","áº":"w","áº":"w","â±³":"w","â§":"x","ï½":"x","áº":"x","áº":"x","â¨":"y","ï½":"y","ỳ":"y","ý":"y","Å·":"y","ỹ":"y","ȳ":"y","áº":"y","ÿ":"y","á»·":"y","áº":"y","ỵ":"y","Æ´":"y","É":"y","ỿ":"y","â©":"z","ï½":"z","ź":"z","áº":"z","ż":"z","ž":"z","áº":"z","áº":"z","ƶ":"z","È¥":"z","É":"z","ⱬ":"z","ê£":"z","Î":"Î","Î":"Î","Î":"Î","Î":"Î","Ϊ":"Î","Î":"Î","Î":"Î¥","Ϋ":"Î¥","Î":"Ω","ά":"α","Î":"ε","ή":"η","ί":"ι","Ï":"ι","Î":"ι","Ï":"ο","Ï":"Ï
","Ï":"Ï
","ΰ":"Ï
","Ï":"Ï","Ï":"Ï","â":"'"}})),t.define("select2/data/base",["../utils"],(function(e){function t(e,n){t.__super__.constructor.call(this)}return e.Extend(t,e.Observable),t.prototype.current=function(e){throw new Error("The `current` method must be defined in child classes.")},t.prototype.query=function(e,t){throw new Error("The `query` method must be defined in child classes.")},t.prototype.bind=function(e,t){},t.prototype.destroy=function(){},t.prototype.generateResultId=function(t,n){var i=t.id+"-result-";return i+=e.generateChars(4),null!=n.id?i+="-"+n.id.toString():i+="-"+e.generateChars(4),i},t})),t.define("select2/data/select",["./base","../utils","jquery"],(function(e,t,$){function n(e,t){this.$element=e,this.options=t,n.__super__.constructor.call(this)}return t.Extend(n,e),n.prototype.current=function(e){var t=[],n=this;
32this.$element.find(":selected").each((function(){var e=$(this),i=n.item(e);t.push(i)})),e(t)},n.prototype.select=function(e){var t=this;if(e.selected=!0,$(e.element).is("option"))return e.element.selected=!0,void this.$element.trigger("change");if(this.$element.prop("multiple"))this.current((function(n){var i=[];(e=[e]).push.apply(e,n);for(var r=0;r<e.length;r++){var s=e[r].id;-1===$.inArray(s,i)&&i.push(s)}t.$element.val(i),t.$element.trigger("change")}));else{var n=e.id;this.$element.val(n),this.$element.trigger("change")}},n.prototype.unselect=function(e){var t=this;if(this.$element.prop("multiple")){if(e.selected=!1,$(e.element).is("option"))return e.element.selected=!1,void this.$element.trigger("change");this.current((function(n){for(var i=[],r=0;r<n.length;r++){var s=n[r].id;s!==e.id&&-1===$.inArray(s,i)&&i.push(s)}t.$element.val(i),t.$element.trigger("change")}))}},n.prototype.bind=function(e,t){var n=this;this.container=e,e.on("select",(function(e){n.select(e.data)})),e.on("unselect",(function(e){n.unselect(e.data)}))},n.prototype.destroy=function(){this.$element.find("*").each((function(){t.RemoveData(this)}))},n.prototype.query=function(e,t){var n=[],i=this;this.$element.children().each((function(){var t=$(this);if(t.is("option")||t.is("optgroup")){var r=i.item(t),s=i.matches(e,r);null!==s&&n.push(s)}})),t({results:n})},n.prototype.addOptions=function(e){t.appendMany(this.$element,e)},n.prototype.option=function(e){var n;e.children?(n=document.createElement("optgroup")).label=e.text:void 0!==(n=document.createElement("option")).textContent?n.textContent=e.text:n.innerText=e.text,void 0!==e.id&&(n.value=e.id),e.disabled&&(n.disabled=!0),e.selected&&(n.selected=!0),e.title&&(n.title=e.title);var i=$(n),r=this._normalizeItem(e);return r.element=n,t.StoreData(n,"data",r),i},n.prototype.item=function(e){var n={};if(null!=(n=t.GetData(e[0],"data")))return n;if(e.is("option"))n={id:e.val(),text:e.text(),disabled:e.prop("disabled"),selected:e.prop("selected"),title:e.prop("title")};else if(e.is("optgroup")){n={text:e.prop("label"),children:[],title:e.prop("title")};for(var i=e.children("option"),r=[],s=0;s<i.length;s++){var o=$(i[s]),a=this.item(o);r.push(a)}n.children=r}return(n=this._normalizeItem(n)).element=e[0],t.StoreData(e[0],"data",n),n},n.prototype._normalizeItem=function(e){e!==Object(e)&&(e={id:e,text:e});return null!=(e=$.extend({},{text:""},e)).id&&(e.id=e.id.toString()),null!=e.text&&(e.text=e.text.toString()),null==e._resultId&&e.id&&null!=this.container&&(e._resultId=this.generateResultId(this.container,e)),$.extend({},{selected:!1,disabled:!1},e)},n.prototype.matches=function(e,t){return this.options.get("matcher")(e,t)},n})),t.define("select2/data/array",["./select","../utils","jquery"],(function(e,t,$){function n(e,t){var i=t.get("data")||[];n.__super__.constructor.call(this,e,t),this.addOptions(this.convertToOptions(i))}return t.Extend(n,e),n.prototype.select=function(e){var t=this.$element.find("option").filter((function(t,n){return n.value==e.id.toString()}));0===t.length&&(t=this.option(e),this.addOptions(t)),n.__super__.select.call(this,e)},n.prototype.convertToOptions=function(e){var n=this,i=this.$element.find("option"),r=i.map((function(){return n.item($(this)).id})).get(),s=[];function o(e){return function(){return $(this).val()==e.id}}for(var a=0;a<e.length;a++){var l=this._normalizeItem(e[a]);if($.inArray(l.id,r)>=0){var u=i.filter(o(l)),c=this.item(u),d=$.extend(!0,{},l,c),h=this.option(d);u.replaceWith(h)}else{var p=this.option(l);if(l.children){var f=this.convertToOptions(l.children);t.appendMany(p,f)}s.push(p)}}return s},n})),t.define("select2/data/ajax",["./array","../utils","jquery"],(function(e,t,$){function n(e,t){this.ajaxOptions=this._applyDefaults(t.get("ajax")),null!=this.ajaxOptions.processResults&&(this.processResults=this.ajaxOptions.processResults),n.__super__.constructor.call(this,e,t)}return t.Extend(n,e),n.prototype._applyDefaults=function(e){var t={data:function(e){return $.extend({},e,{q:e.term})},transport:function(e,t,n){var i=$.ajax(e);return i.then(t),i.fail(n),i}};return $.extend({},t,e,!0)},n.prototype.processResults=function(e){return e},n.prototype.query=function(e,t){var n=this;null!=this._request&&($.isFunction(this._request.abort)&&this._request.abort(),this._request=null);var i=$.extend({type:"GET"},this.ajaxOptions);function r(){var r=i.transport(i,(function(i){var r=n.processResults(i,e);n.options.get("debug")&&window.console&&console.error&&(r&&r.results&&$.isArray(r.results)||console.error("Select2: The AJAX results did not return an array in the `results` key of the response.")),t(r)}
32),(function(){(!("status"in r)||0!==r.status&&"0"!==r.status)&&n.trigger("results:message",{message:"errorLoading"})}));n._request=r}"function"==typeof i.url&&(i.url=i.url.call(this.$element,e)),"function"==typeof i.data&&(i.data=i.data.call(this.$element,e)),this.ajaxOptions.delay&&null!=e.term?(this._queryTimeout&&window.clearTimeout(this._queryTimeout),this._queryTimeout=window.setTimeout(r,this.ajaxOptions.delay)):r()},n})),t.define("select2/data/tags",["jquery"],(function($){function e(e,t,n){var i=n.get("tags"),r=n.get("createTag");void 0!==r&&(this.createTag=r);var s=n.get("insertTag");if(void 0!==s&&(this.insertTag=s),e.call(this,t,n),$.isArray(i))for(var o=0;o<i.length;o++){var a=i[o],l=this._normalizeItem(a),u=this.option(l);this.$element.append(u)}}return e.prototype.query=function(e,t,n){var i=this;this._removeOldTags(),null!=t.term&&null==t.page?e.call(this,t,(function e(r,s){for(var o=r.results,a=0;a<o.length;a++){var l=o[a],u=null!=l.children&&!e({results:l.children},!0);if((l.text||"").toUpperCase()===(t.term||"").toUpperCase()||u)return!s&&(r.data=o,void n(r))}if(s)return!0;var c=i.createTag(t);if(null!=c){var d=i.option(c);d.attr("data-select2-tag",!0),i.addOptions([d]),i.insertTag(o,c)}r.results=o,n(r)})):e.call(this,t,n)},e.prototype.createTag=function(e,t){var n=$.trim(t.term);return""===n?null:{id:n,text:n}},e.prototype.insertTag=function(e,t,n){t.unshift(n)},e.prototype._removeOldTags=function(e){this._lastTag;this.$element.find("option[data-select2-tag]").each((function(){this.selected||$(this).remove()}))},e})),t.define("select2/data/tokenizer",["jquery"],(function($){function e(e,t,n){var i=n.get("tokenizer");void 0!==i&&(this.tokenizer=i),e.call(this,t,n)}return e.prototype.bind=function(e,t,n){e.call(this,t,n),this.$search=t.dropdown.$search||t.selection.$search||n.find(".select2-search__field")},e.prototype.query=function(e,t,n){var i=this;t.term=t.term||"";var r=this.tokenizer(t,this.options,(function(e){var t=i._normalizeItem(e);if(!i.$element.find("option").filter((function(){return $(this).val()===t.id})).length){var n=i.option(t);n.attr("data-select2-tag",!0),i._removeOldTags(),i.addOptions([n])}!function(e){i.trigger("select",{data:e})}(t)}));r.term!==t.term&&(this.$search.length&&(this.$search.val(r.term),this.$search.focus()),t.term=r.term),e.call(this,t,n)},e.prototype.tokenizer=function(e,t,n,i){for(var r=n.get("tokenSeparators")||[],s=t.term,o=0,a=this.createTag||function(e){return{id:e.term,text:e.term}};o<s.length;){var l=s[o];if(-1!==$.inArray(l,r)){var u=s.substr(0,o),c=a($.extend({},t,{term:u}));null!=c?(i(c),s=s.substr(o+1)||"",o=0):o++}else o++}return{term:s}},e})),t.define("select2/data/minimumInputLength",[],(function(){function e(e,t,n){this.minimumInputLength=n.get("minimumInputLength"),e.call(this,t,n)}return e.prototype.query=function(e,t,n){t.term=t.term||"",t.term.length<this.minimumInputLength?this.trigger("results:message",{message:"inputTooShort",args:{minimum:this.minimumInputLength,input:t.term,params:t}}):e.call(this,t,n)},e})),t.define("select2/data/maximumInputLength",[],(function(){function e(e,t,n){this.maximumInputLength=n.get("maximumInputLength"),e.call(this,t,n)}return e.prototype.query=function(e,t,n){t.term=t.term||"",this.maximumInputLength>0&&t.term.length>this.maximumInputLength?this.trigger("results:message",{message:"inputTooLong",args:{maximum:this.maximumInputLength,input:t.term,params:t}}):e.call(this,t,n)},e})),t.define("select2/data/maximumSelectionLength",[],(function(){function e(e,t,n){this.maximumSelectionLength=n.get("maximumSelectionLength"),e.call(this,t,n)}return e.prototype.query=function(e,t,n){var i=this;this.current((function(r){var s=null!=r?r.length:0;i.maximumSelectionLength>0&&s>=i.maximumSelectionLength?i.trigger("results:message",{message:"maximumSelected",args:{maximum:i.maximumSelectionLength}}):e.call(i,t,n)}))},e})),t.define("select2/dropdown",["jquery","./utils"],(function($,e){function t(e,n){this.$element=e,this.options=n,t.__super__.constructor.call(this)}return e.Extend(t,e.Observable),t.prototype.render=function(){var e=$
32('<span class="select2-dropdown"><span class="select2-results"></span></span>');return e.attr("dir",this.options.get("dir")),this.$dropdown=e,e},t.prototype.bind=function(){},t.prototype.position=function(e,t){},t.prototype.destroy=function(){this.$dropdown.remove()},t})),t.define("select2/dropdown/search",["jquery","../utils"],(function($,e){function t(){}return t.prototype.render=function(e){var t=e.call(this),n=$('<span class="select2-search select2-search--dropdown"><input class="select2-search__field" type="search" tabindex="-1" autocomplete="off" autocorrect="off" autocapitalize="none" spellcheck="false" role="textbox" /></span>');return this.$searchContainer=n,this.$search=n.find("input"),t.prepend(n),t},t.prototype.bind=function(e,t,n){var i=this;e.call(this,t,n),this.$search.on("keydown",(function(e){i.trigger("keypress",e),i._keyUpPrevented=e.isDefaultPrevented()})),this.$search.on("input",(function(e){$(this).off("keyup")})),this.$search.on("keyup input",(function(e){i.handleSearch(e)})),t.on("open",(function(){i.$search.attr("tabindex",0),i.$search.focus(),window.setTimeout((function(){i.$search.focus()}),0)})),t.on("close",(function(){i.$search.attr("tabindex",-1),i.$search.val(""),i.$search.blur()})),t.on("focus",(function(){t.isOpen()||i.$search.focus()})),t.on("results:all",(function(e){null!=e.query.term&&""!==e.query.term||(i.showSearch(e)?i.$searchContainer.removeClass("select2-search--hide"):i.$searchContainer.addClass("select2-search--hide"))}))},t.prototype.handleSearch=function(e){if(!this._keyUpPrevented){var t=this.$search.val();this.trigger("query",{term:t})}this._keyUpPrevented=!1},t.prototype.showSearch=function(e,t){return!0},t})),t.define("select2/dropdown/hidePlaceholder",[],(function(){function e(e,t,n,i){this.placeholder=this.normalizePlaceholder(n.get("placeholder")),e.call(this,t,n,i)}return e.prototype.append=function(e,t){t.results=this.removePlaceholder(t.results),e.call(this,t)},e.prototype.normalizePlaceholder=function(e,t){return"string"==typeof t&&(t={id:"",text:t}),t},e.prototype.removePlaceholder=function(e,t){for(var n=t.slice(0),i=t.length-1;i>=0;i--){var r=t[i];this.placeholder.id===r.id&&n.splice(i,1)}return n},e})),t.define("select2/dropdown/infiniteScroll",["jquery"],(function($){function e(e,t,n,i){this.lastParams={},e.call(this,t,n,i),this.$loadingMore=this.createLoadingMore(),this.loading=!1}return e.prototype.append=function(e,t){this.$loadingMore.remove(),this.loading=!1,e.call(this,t),this.showLoadingMore(t)&&this.$results.append(this.$loadingMore)},e.prototype.bind=function(e,t,n){var i=this;e.call(this,t,n),t.on("query",(function(e){i.lastParams=e,i.loading=!0})),t.on("query:append",(function(e){i.lastParams=e,i.loading=!0})),this.$results.on("scroll",(function(){var e=$.contains(document.documentElement,i.$loadingMore[0]);!i.loading&&e&&(i.$results.offset().top+i.$results.outerHeight(!1)+50>=i.$loadingMore.offset().top+i.$loadingMore.outerHeight(!1)&&i.loadMore())}))},e.prototype.loadMore=function(){this.loading=!0;var e=$.extend({},{page:1},this.lastParams);e.page++,this.trigger("query:append",e)},e.prototype.showLoadingMore=function(e,t){return t.pagination&&t.pagination.more}
32,e.prototype.createLoadingMore=function(){var e=$('<li class="select2-results__option select2-results__option--load-more"role="treeitem" aria-disabled="true"></li>'),t=this.options.get("translations").get("loadingMore");return e.html(t(this.lastParams)),e},e})),t.define("select2/dropdown/attachBody",["jquery","../utils"],(function($,e){function t(e,t,n){this.$dropdownParent=n.get("dropdownParent")||$(document.body),e.call(this,t,n)}return t.prototype.bind=function(e,t,n){var i=this,r=!1;e.call(this,t,n),t.on("open",(function(){i._showDropdown(),i._attachPositioningHandler(t),r||(r=!0,t.on("results:all",(function(){i._positionDropdown(),i._resizeDropdown()})),t.on("results:append",(function(){i._positionDropdown(),i._resizeDropdown()})))})),t.on("close",(function(){i._hideDropdown(),i._detachPositioningHandler(t)})),this.$dropdownContainer.on("mousedown",(function(e){e.stopPropagation()}))},t.prototype.destroy=function(e){e.call(this),this.$dropdownContainer.remove()},t.prototype.position=function(e,t,n){t.attr("class",n.attr("class")),t.removeClass("select2"),t.addClass("select2-container--open"),t.css({position:"absolute",top:-999999}),this.$container=n},t.prototype.render=function(e){var t=$("<span></span>"),n=e.call(this);return t.append(n),this.$dropdownContainer=t,t},t.prototype._hideDropdown=function(e){this.$dropdownContainer.detach()},t.prototype._attachPositioningHandler=function(t,n){var i=this,r="scroll.select2."+n.id,s="resize.select2."+n.id,o="orientationchange.select2."+n.id,a=this.$container.parents().filter(e.hasScroll);a.each((function(){e.StoreData(this,"select2-scroll-position",{x:$(this).scrollLeft(),y:$(this).scrollTop()})})),a.on(r,(function(t){var n=e.GetData(this,"select2-scroll-position");$(this).scrollTop(n.y)})),$(window).on(r+" "+s+" "+o,(function(e){i._positionDropdown(),i._resizeDropdown()}))},t.prototype._detachPositioningHandler=function(t,n){var i="scroll.select2."+n.id,r="resize.select2."+n.id,s="orientationchange.select2."+n.id;this.$container.parents().filter(e.hasScroll).off(i),$(window).off(i+" "+r+" "+s)}
32,t.prototype._positionDropdown=function(){var e=$(window),t=this.$dropdown.hasClass("select2-dropdown--above"),n=this.$dropdown.hasClass("select2-dropdown--below"),i=null,r=this.$container.offset();r.bottom=r.top+this.$container.outerHeight(!1);var s={height:this.$container.outerHeight(!1)};s.top=r.top,s.bottom=r.top+s.height;var o=this.$dropdown.outerHeight(!1),a=e.scrollTop(),l=e.scrollTop()+e.height(),u=a<r.top-o,c=l>r.bottom+o,d={left:r.left,top:s.bottom},h=this.$dropdownParent;"static"===h.css("position")&&(h=h.offsetParent());var p=h.offset();d.top-=p.top,d.left-=p.left,t||n||(i="below"),c||!u||t?!u&&c&&t&&(i="below"):i="above",("above"==i||t&&"below"!==i)&&(d.top=s.top-p.top-o),null!=i&&(this.$dropdown.removeClass("select2-dropdown--below select2-dropdown--above").addClass("select2-dropdown--"+i),this.$container.removeClass("select2-container--below select2-container--above").addClass("select2-container--"+i)),this.$dropdownContainer.css(d)},t.prototype._resizeDropdown=function(){var e={width:this.$container.outerWidth(!1)+"px"};this.options.get("dropdownAutoWidth")&&(e.minWidth=e.width,e.position="relative",e.width="auto"),this.$dropdown.css(e)},t.prototype._showDropdown=function(e){this.$dropdownContainer.appendTo(this.$dropdownParent),this._positionDropdown(),this._resizeDropdown()},t})),t.define("select2/dropdown/minimumResultsForSearch",[],(function(){function e(t){for(var n=0,i=0;i<t.length;i++){var r=t[i];r.children?n+=e(r.children):n++}return n}function t(e,t,n,i){this.minimumResultsForSearch=n.get("minimumResultsForSearch"),this.minimumResultsForSearch<0&&(this.minimumResultsForSearch=1/0),e.call(this,t,n,i)}return t.prototype.showSearch=function(t,n){return!(e(n.data.results)<this.minimumResultsForSearch)&&t.call(this,n)},t})),t.define("select2/dropdown/selectOnClose",["../utils"],(function(e){function t(){}return t.prototype.bind=function(e,t,n){var i=this;e.call(this,t,n),t.on("close",(function(e){i._handleSelectOnClose(e)}))},t.prototype._handleSelectOnClose=function(t,n){if(n&&null!=n.originalSelect2Event){var i=n.originalSelect2Event;if("select"===i._type||"unselect"===i._type)return}var r=this.getHighlightedResults();if(!(r.length<1)){var s=e.GetData(r[0],"data");null!=s.element&&s.element.selected||null==s.element&&s.selected||this.trigger("select",{data:s})}},t})),t.define("select2/dropdown/closeOnSelect",[],(function(){function e(){}return e.prototype.bind=function(e,t,n){var i=this;e.call(this,t,n),t.on("select",(function(e){i._selectTriggered(e)})),t.on("unselect",(function(e){i._selectTriggered(e)}))},e.prototype._selectTriggered=function(e,t){var n=t.originalEvent;n&&(n.ctrlKey||n.metaKey)||this.trigger("close",{originalEvent:n,originalSelect2Event:t})},e})),t.define("select2/i18n/en",[],(function(){return{errorLoading:function(){return"The results could not be loaded."},inputTooLong:function(e){var t=e.input.length-e.maximum,n="Please delete "+t+" character";return 1!=t&&(n+="s"),n},inputTooShort:function(e){return"Please enter "+(e.minimum-e.input.length)+" or more characters"},loadingMore:function(){return"Loading more resultsâ¦"},maximumSelected:function(e){var t="You can only select "+e.maximum+" item";return 1!=e.maximum&&(t+="s"),t},noResults:function(){return"No results found"},searching:function(){return"Searchingâ¦"},removeAllItems:function(){return"Remove all items"}}})),t.define("select2/defaults",["jquery","require","./results","./selection/single","./selection/multiple","./selection/placeholder","./selection/allowClear","./selection/search","./selection/eventRelay","./utils","./translation","./diacritics","./data/select","./data/array","./data/ajax","./data/tags","./data/tokenizer","./data/minimumInputLength","./data/maximumInputLength","./data/maximumSelectionLength","./dropdown","./dropdown/search","./dropdown/hidePlaceholder","./dropdown/infiniteScroll","./dropdown/attachBody","./dropdown/minimumResultsForSearch","./dropdown/selectOnClose","./dropdown/closeOnSelect","./i18n/en"],(function($,e,t,n,i,r,s,o,a,l,u,c,d,h,p,f,m,g,v,y,b,w,x,C,E,T,S,k,_){function A(){this.reset()}return A.prototype.apply=function(c){if(null==(c=$.extend(!0,{},this.defaults,c)).dataAdapter){if(null!=c.ajax?c.dataAdapter=p:null!=c.data?c.dataAdapter=h:c.dataAdapter=d,c.minimumInputLength>0&&(c.dataAdapter=l.Decorate(c.dataAdapter,g)),c.maximumInputLength>0&&(c.dataAdapter=l.Decorate(c.dataAdapter,v)),c.maximumSelectionLength>0&&(c.dataAdapter=l.Decorate(c.dataAdapter,y)),c.tags&&(c.dataAdapter=l.Decorate(c.dataAdapter,f)),null==c.tokenSeparators&&null==c.tokenizer||(c.dataAdapter=l.Decorate(c.dataAdapter,m)),null!=c.query){var _=e(c.amdBase+"compat/query");c.dataAdapter=l.Decorate(c.dataAdapter,_)}if(null!=c.initSelection){var A=e(c.amdBase+"compat/initSelection");c.dataAdapter=l.Decorate(c.dataAdapter,A)}}if(null==c.resultsAdapter&&(c.resultsAdapter=t,null!=c.ajax&&(c.resultsAdapter=l.Decorate(c.resultsAdapter,C)),null!=c.placeholder&&(c.resultsAdapter=l.Decorate(c.resultsAdapter,x)),c.selectOnClose&&(c.resultsAdapter=l.Decorate(c.resultsAdapter,S))),null==c.dropdownAdapter){if(c.multiple)c.dropdownAdapter=b;else{var D=l.Decorate(b,w);c.dropdownAdapter=D}if(0!==c.minimumResultsForSearch&&(c.dropdownAdapter=l.Decorate(c.dropdownAdapter,T)),c.closeOnSelect&&(c.dropdownAdapter=l.Decorate(c.dropdownAdapter,k)),null!=c.dropdownCssClass||null!=c.dropdownCss||null!=c.adaptDropdownCssClass){var z=e(c.amdBase+"compat/dropdownCss");c.dropdownAdapter=l.Decorate(c.dropdownAdapter,z)}c.dropdownAdapter=l.Decorate(c.dropdownAdapter,E)}if(null==c.selectionAdapter){if(c.multiple?c.selectionAdapter=i:c.selectionAdapter=n,null!=c.placeholder&&(c.selectionAdapter=l.Decorate(c.selectionAdapter,r)),c.allowClear&&(c.selectionAdapter=l.Decorate(c.selectionAdapter,s
32)),c.multiple&&(c.selectionAdapter=l.Decorate(c.selectionAdapter,o)),null!=c.containerCssClass||null!=c.containerCss||null!=c.adaptContainerCssClass){var M=e(c.amdBase+"compat/containerCss");c.selectionAdapter=l.Decorate(c.selectionAdapter,M)}c.selectionAdapter=l.Decorate(c.selectionAdapter,a)}if("string"==typeof c.language)if(c.language.indexOf("-")>0){var L=c.language.split("-")[0];c.language=[c.language,L]}else c.language=[c.language];if($.isArray(c.language)){var P=new u;c.language.push("en");for(var I=c.language,O=0;O<I.length;O++){var R=I[O],N={};try{N=u.loadPath(R)}catch(e){try{R=this.defaults.amdLanguageBase+R,N=u.loadPath(R)}catch(e){c.debug&&window.console&&console.warn&&console.warn('Select2: The language file for "'+R+'" could not be automatically loaded. A fallback will be used instead.');continue}}P.extend(N)}c.translations=P}else{var H=u.loadPath(this.defaults.amdLanguageBase+"en"),q=new u(c.language);q.extend(H),c.translations=q}return c},A.prototype.reset=function(){function e(e){return e.replace(/[^\u0000-\u007E]/g,(function(e){return c[e]||e}))}this.defaults={amdBase:"./",amdLanguageBase:"./i18n/",closeOnSelect:!0,debug:!1,dropdownAutoWidth:!1,escapeMarkup:l.escapeMarkup,language:_,matcher:function t(n,i){if(""===$.trim(n.term))return i;if(i.children&&i.children.length>0){for(var r=$.extend(!0,{},i),s=i.children.length-1;s>=0;s--){null==t(n,i.children[s])&&r.children.splice(s,1)}return r.children.length>0?r:t(n,r)}var o=e(i.text).toUpperCase(),a=e(n.term).toUpperCase();return o.indexOf(a)>-1?i:null},minimumInputLength:0,maximumInputLength:0,maximumSelectionLength:0,minimumResultsForSearch:0,selectOnClose:!1,scrollAfterSelect:!1,sorter:function(e){return e},templateResult:function(e){return e.text},templateSelection:function(e){return e.text},theme:"default",width:"resolve"}},A.prototype.set=function(e,t){var n={};n[$.camelCase(e)]=t;var i=l._convertData(n);$.extend(!0,this.defaults,i)},new A})),t.define("select2/options",["require","jquery","./defaults","./utils"],(function(e,$,t,n){function i(i,r){if(this.options=i,null!=r&&this.fromElement(r),this.options=t.apply(this.options),r&&r.is("input")){var s=e(this.get("amdBase")+"compat/inputData");this.options.dataAdapter=n.Decorate(this.options.dataAdapter,s)}}return i.prototype.fromElement=function(e){var t=["select2"];null==this.options.multiple&&(this.options.multiple=e.prop("multiple")),null==this.options.disabled&&(this.options.disabled=e.prop("disabled")),null==this.options.language&&(e.prop("lang")?this.options.language=e.prop("lang").toLowerCase():e.closest("[lang]").prop("lang")&&(this.options.language=e.closest("[lang]").prop("lang"))),null==this.options.dir&&(e.prop("dir")?this.options.dir=e.prop("dir"):e.closest("[dir]").prop("dir")?this.options.dir=e.closest("[dir]").prop("dir"):this.options.dir="ltr"),e.prop("disabled",this.options.disabled),e.prop("multiple",this.options.multiple),n.GetData(e[0],"select2Tags")&&(this.options.debug&&window.console&&console.warn&&console.warn('Select2: The `data-select2-tags` attribute has been changed to use the `data-data` and `data-tags="true"` attributes and will be removed in future versions of Select2.'),n.StoreData(e[0],"data",n.GetData(e[0],"select2Tags")),n.StoreData(e[0],"tags",!0)),n.GetData(e[0],"ajaxUrl")&&(this.options.debug&&window.console&&console.warn&&console.warn("Select2: The `data-ajax-url` attribute has been changed to `data-ajax--url` and support for the old attribute will be removed in future versions of Select2."),e.attr("ajax--url",n.GetData(e[0],"ajaxUrl")),n.StoreData(e[0],"ajax-Url",n.GetData(e[0],"ajaxUrl")));var i={};function r(e,t){return t.toUpperCase()}for(var s=0;s<e[0].attributes.length;s++){var o=e[0].attributes[s].name,a="data-";if(o.substr(0,a.length)==a){var l=o.substring(a.length),u=n.GetData(e[0],l);i[l.replace(/-([a-z])/g,r)]=u}}$.fn.jquery&&"1."==$.fn.jquery.substr(0,2)&&e[0].dataset&&(i=$.extend(!0,{},e[0].dataset,i));var c=$.extend(!0,{},n.GetData(e[0]),i);for(var d in c=n._convertData(c))$.inArray(d,t)>-1||($.isPlainObject(this.options[d])?$.extend(this.options[d],c[d]):this.options[d]=c[d]);return this},i.prototype.get=function(e){return this.options[e]},i.prototype.set=function(e,t){this.options[e]=t},i})),t.define("select2/core",["jquery","./options","./utils","./keys"],(function($,e,t,n){var i=function(n,r){null!=t.GetData(n[0],"select2")&&t.GetData(n[0],"select2").destroy(),this.$element=n,this.id=this._generateId(n),r=r||{},this.options=new e(r,n),i.__super__.constructor.call(this);var s=n.attr("tabindex")||0;t.StoreData(n[0],"old-tabindex",s),n.attr("tabindex","-1");var o=this.options.get("dataAdapter");this.dataAdapter=new o(n,this.options);var a=this.render();this._placeContainer(a);var l=this.options.get("selectionAdapter");this.selection=new l(n,this.options),this.$selection=this.selection.render(),this.selection.position(this.$selection,a);var u=this.options.get("dropdownAdapter");this.dropdown=new u(n,this.options),this.$dropdown=this.dropdown.render(),this.dropdown.position(this.$dropdown,a);var c=this.options.get("resultsAdapter");this.results=new c(n,this.options,this.dataAdapter),this.$results=this.results.render(),this.results.position(this.$results,this.$dropdown);var d=this;this._bindAdapters(),this._registerDomEvents(),this._registerDataEvents(),this._registerSelectionEvents(),this._registerDropdownEvents(),this._registerResultsEvents(),this._registerEvents(),this.dataAdapter.current((function(e){d.trigger("selection:update",{data:e})})),n.addClass("select2-hidden-accessible"),n.attr("aria-hidden","true"),this._syncAttributes(),t.StoreData(n[0],"select2",this),n.data("select2",this)};return t.Extend(i,t.Observable),i.prototype._generateId=function(e){return"select2-"+(null!=e.attr("id")?e.attr("id"):null!=e.attr("name")?e.attr("name")+"-"+t.generateChars(2):t.generateChars(4)).replace(/(:|\.|\[|\]|,)/g,"")},i.prototype._placeContainer=function(e){e.insertAfter(this.$element);var t=this._resolveWidth(this.$element,this.options.get("width"));null!=t&&e.css("width",t)},i.prototype._resolveWidth=function(e,t){var n=/^width:(([-+]?([0-9]*\.)?[0-9]+)(px|em|ex|%|in|cm|mm|pt|pc))/i;if("resolve"==t){var i=this._resolveWidth(e,"style");return null!=i?i:this._resolveWidth(e,"element")}if("element"==t){var r=e.outerWidth(!1);return r<=0?"auto":r+"px"}if("style"==t){var s=e.attr("style");if("string"!=typeof s)return null;for(var o=s.split(";"),a=0,l=o.length;a<l;a+=1){var u=o[a].replace(/\s/g,"").match(n);if(null!==u&&u.length>=1)return u[1]}return null}return t},i.prototype._bindAdapters=function(){this.dataAdapter.bind(this,this.$container),this.selection.bind(this,this.$container),this.dropdown.bind(this,this.$container),this.results.bind(this,this.$container)},i.prototype._registerDomEvents=function(){var e=this;this.$element.on("change.select2",(function(){e.dataAdapter.current((function(t){e.trigger("selection:update",{data:t})}))})),this.$element.on("focus.select2",(function(t){e.trigger("focus",t)})),this._syncA=t.bind(this._syncAttributes,this),this._syncS=t.bind(this._syncSubtree,this),this.$element[0].attachEvent&&this.$element[0].attachEvent("onpropertychange",this._syncA);var n=window.MutationObserver||window.WebKitMutationObserver||window.MozMutationObserver;null!=n?(this._observer=new n((function(t){$.each(t,e._syncA),$.each(t,e._syncS)})),this._observer.observe(this.$element[0],{attributes:!0,childList:!0,subtree:!1})):this.$element[0].addEventListener&&(this.$element[0].addEventListener("DOMAttrModified",e._syncA,!1),this.$element[0].addEventListener("DOMNodeInserted",e._syncS,!1),this.$element[0].addEventListener("DOMNodeRemoved",e._syncS,!1))},i.prototype._registerDataEvents=function(){var e=this;this.dataAdapter.on("*",(function(t,n){e.trigger(t,n)}
32))},i.prototype._registerSelectionEvents=function(){var e=this,t=["toggle","focus"];this.selection.on("toggle",(function(){e.toggleDropdown()})),this.selection.on("focus",(function(t){e.focus(t)})),this.selection.on("*",(function(n,i){-1===$.inArray(n,t)&&e.trigger(n,i)}))},i.prototype._registerDropdownEvents=function(){var e=this;this.dropdown.on("*",(function(t,n){e.trigger(t,n)}))},i.prototype._registerResultsEvents=function(){var e=this;this.results.on("*",(function(t,n){e.trigger(t,n)}))},i.prototype._registerEvents=function(){var e=this;this.on("open",(function(){e.$container.addClass("select2-container--open")})),this.on("close",(function(){e.$container.removeClass("select2-container--open")})),this.on("enable",(function(){e.$container.removeClass("select2-container--disabled")})),this.on("disable",(function(){e.$container.addClass("select2-container--disabled")})),this.on("blur",(function(){e.$container.removeClass("select2-container--focus")})),this.on("query",(function(t){e.isOpen()||e.trigger("open",{}),this.dataAdapter.query(t,(function(n){e.trigger("results:all",{data:n,query:t})}))})),this.on("query:append",(function(t){this.dataAdapter.query(t,(function(n){e.trigger("results:append",{data:n,query:t})}))})),this.on("keypress",(function(t){var i=t.which;e.isOpen()?i===n.ESC||i===n.TAB||i===n.UP&&t.altKey?(e.close(),t.preventDefault()):i===n.ENTER?(e.trigger("results:select",{}),t.preventDefault()):i===n.SPACE&&t.ctrlKey?(e.trigger("results:toggle",{}),t.preventDefault()):i===n.UP?(e.trigger("results:previous",{}),t.preventDefault()):i===n.DOWN&&(e.trigger("results:next",{}),t.preventDefault()):(i===n.ENTER||i===n.SPACE||i===n.DOWN&&t.altKey)&&(e.open(),t.preventDefault())}))},i.prototype._syncAttributes=function(){this.options.set("disabled",this.$element.prop("disabled")),this.options.get("disabled")?(this.isOpen()&&this.close(),this.trigger("disable",{})):this.trigger("enable",{})},i.prototype._syncSubtree=function(e,t){var n=!1,i=this;if(!e||!e.target||"OPTION"===e.target.nodeName||"OPTGROUP"===e.target.nodeName){if(t)if(t.addedNodes&&t.addedNodes.length>0)for(var r=0;r<t.addedNodes.length;r++){t.addedNodes[r].selected&&(n=!0)}else t.removedNodes&&t.removedNodes.length>0&&(n=!0);else n=!0;n&&this.dataAdapter.current((function(e){i.trigger("selection:update",{data:e})}))}},i.prototype.trigger=function(e,t){var n=i.__super__.trigger,r={open:"opening",close:"closing",select:"selecting",unselect:"unselecting",clear:"clearing"};if(void 0===t&&(t={}),e in r){var s=r[e],o={prevented:!1,name:e,args:t};if(n.call(this,s,o),o.prevented)return void(t.prevented=!0)}n.call(this,e,t)},i.prototype.toggleDropdown=function(){this.options.get("disabled")||(this.isOpen()?this.close():this.open())},i.prototype.open=function(){this.isOpen()||this.trigger("query",{})},i.prototype.close=function(){this.isOpen()&&this.trigger("close",{})},i.prototype.isOpen=function(){return this.$container.hasClass("select2-container--open")},i.prototype.hasFocus=function(){return this.$container.hasClass("select2-container--focus")},i.prototype.focus=function(e){this.hasFocus()||(this.$container.addClass("select2-container--focus"),this.trigger("focus",{}))},i.prototype.enable=function(e){this.options.get("debug")&&window.console&&console.warn&&console.warn('Select2: The `select2("enable")` method has been deprecated and will be removed in later Select2 versions. Use $element.prop("disabled") instead.'),null!=e&&0!==e.length||(e=[!0]);var t=!e[0];this.$element.prop("disabled",t)},i.prototype.data=function(){this.options.get("debug")&&arguments.length>0&&window.console&&console.warn&&console.warn('Select2: Data can no longer be set using `select2("data")`. You should consider setting the value instead using `$element.val()`.');var e=[];return this.dataAdapter.current((function(t){e=t})),e},i.prototype.val=function(e){if(this.options.get("debug")&&window.console&&console.warn&&console.warn('Select2: The `select2("val")` method has been deprecated and will be removed in later Select2 versions. Use $element.val() instead.'),null==e||0===e.length)return this.$element.val();var t=e[0];$.isArray(t)&&(t=$.map(t,(function(e){return e.toString()}))),this.$element.val(t).trigger("change")},i.prototype.destroy=function(){this.$container.remove(),this.$element[0].detachEvent&&this.$element[0].detachEvent("onpropertychange",this._syncA),null!=this._observer?(this._observer.disconnect(),this._observer=null):this.$element[0].removeEventListener&&(this.$element[0].removeEventListener("DOMAttrModified",this._syncA,!1),this.$element[0].removeEventListener("DOMNodeInserted",this._syncS,!1),this.$element[0].removeEventListener("DOMNodeRemoved",this._syncS,!1)),this._syncA=null,this._syncS=null,this.$element.off(".select2"),this.$element.attr("tabindex",t.GetData(this.$element[0],"old-tabindex")),this.$element.removeClass("select2-hidden-accessible"),this.$element.attr("aria-hidden","false"),t.RemoveData(this.$element[0]),this.$element.removeData("select2"),this.dataAdapter.destroy(),this.selection.destroy(),this.dropdown.destroy(),this.results.destroy(),this.dataAdapter=null,this.selection=null,this.dropdown=null,this.results=null}
32,i.prototype.render=function(){var e=$('<span class="select2 select2-container"><span class="selection"></span><span class="dropdown-wrapper" aria-hidden="true"></span></span>');return e.attr("dir",this.options.get("dir")),this.$container=e,this.$container.addClass("select2-container--"+this.options.get("theme")),t.StoreData(e[0],"element",this.$element),e},i})),t.define("select2/compat/utils",["jquery"],(function($){return{syncCssClasses:function(e,t,n){var i,r,s=[];(i=$.trim(e.attr("class")))&&$((i=""+i).split(/\s+/)).each((function(){0===this.indexOf("select2-")&&s.push(this)})),(i=$.trim(t.attr("class")))&&$((i=""+i).split(/\s+/)).each((function(){0!==this.indexOf("select2-")&&null!=(r=n(this))&&s.push(r)})),e.attr("class",s.join(" "))}}})),t.define("select2/compat/containerCss",["jquery","./utils"],(function($,e){function t(e){return null}function n(){}return n.prototype.render=function(n){var i=n.call(this),r=this.options.get("containerCssClass")||"";$.isFunction(r)&&(r=r(this.$element));var s=this.options.get("adaptContainerCssClass");if(s=s||t,-1!==r.indexOf(":all:")){r=r.replace(":all:","");var o=s;s=function(e){var t=o(e);return null!=t?t+" "+e:e}}
32var a=this.options.get("containerCss")||{};return $.isFunction(a)&&(a=a(this.$element)),e.syncCssClasses(i,this.$element,s),i.css(a),i.addClass(r),i},n})),t.define("select2/compat/dropdownCss",["jquery","./utils"],(function($,e){function t(e){return null}function n(){}return n.prototype.render=function(n){var i=n.call(this),r=this.options.get("dropdownCssClass")||"";$.isFunction(r)&&(r=r(this.$element));var s=this.options.get("adaptDropdownCssClass");if(s=s||t,-1!==r.indexOf(":all:")){r=r.replace(":all:","");var o=s;s=function(e){var t=o(e);return null!=t?t+" "+e:e}}var a=this.options.get("dropdownCss")||{};return $.isFunction(a)&&(a=a(this.$element)),e.syncCssClasses(i,this.$element,s),i.css(a),i.addClass(r),i},n})),t.define("select2/compat/initSelection",["jquery"],(function($){function e(e,t,n){n.get("debug")&&window.console&&console.warn&&console.warn("Select2: The `initSelection` option has been deprecated in favor of a custom data adapter that overrides the `current` method. This method is now called multiple times instead of a single time when the instance is initialized. Support will be removed for the `initSelection` option in future versions of Select2"),this.initSelection=n.get("initSelection"),this._isInitialized=!1,e.call(this,t,n)}return e.prototype.current=function(e,t){var n=this;this._isInitialized?e.call(this,t):this.initSelection.call(null,this.$element,(function(e){n._isInitialized=!0,$.isArray(e)||(e=[e]),t(e)}))},e})),t.define("select2/compat/inputData",["jquery","../utils"],(function($,e){function t(e,t,n){this._currentData=[],this._valueSeparator=n.get("valueSeparator")||",","hidden"===t.prop("type")&&n.get("debug")&&console&&console.warn&&console.warn("Select2: Using a hidden input with Select2 is no longer supported and may stop working in the future. It is recommended to use a `<select>` element instead."),e.call(this,t,n)}return t.prototype.current=function(e,t){function n(e,t){var i=[];return e.selected||-1!==$.inArray(e.id,t)?(e.selected=!0,i.push(e)):e.selected=!1,e.children&&i.push.apply(i,n(e.children,t)),i}for(var i=[],r=0;r<this._currentData.length;r++){var s=this._currentData[r];i.push.apply(i,n(s,this.$element.val().split(this._valueSeparator)))}t(i)},t.prototype.select=function(e,t){if(this.options.get("multiple")){var n=this.$element.val();n+=this._valueSeparator+t.id,this.$element.val(n),this.$element.trigger("change")}else this.current((function(e){$.map(e,(function(e){e.selected=!1}))})),this.$element.val(t.id),this.$element.trigger("change")},t.prototype.unselect=function(e,t){var n=this;t.selected=!1,this.current((function(e){for(var i=[],r=0;r<e.length;r++){var s=e[r];t.id!=s.id&&i.push(s.id)}n.$element.val(i.join(n._valueSeparator)),n.$element.trigger("change")}))},t.prototype.query=function(e,t,n){for(var i=[],r=0;r<this._currentData.length;r++){var s=this._currentData[r],o=this.matches(t,s);null!==o&&i.push(o)}n({results:i})},t.prototype.addOptions=function(t,n){var i=$.map(n,(function(t){return e.GetData(t[0],"data")}));this._currentData.push.apply(this._currentData,i)},t})),t.define("select2/compat/matcher",["jquery"],(function($){return function(e){return function(t,n){var i=$.extend(!0,{},n);if(null==t.term||""===$.trim(t.term))return i;if(n.children){for(var r=n.children.length-1;r>=0;r--){var s=n.children[r];e(t.term,s.text,s)||i.children.splice(r,1)}if(i.children.length>0)return i}return e(t.term,n.text,n)?i:null}}})),t.define("select2/compat/query",[],(function(){function e(e,t,n){n.get("debug")&&window.console&&console.warn&&console.warn("Select2: The `query` option has been deprecated in favor of a custom data adapter that overrides the `query` method. Support will be removed for the `query` option in future versions of Select2."),e.call(this,t,n)}return e.prototype.query=function(e,t,n){t.callback=n,this.options.get("query").call(null,t)},e})),t.define("select2/dropdown/attachContainer",[],(function(){function e(e,t,n){e.call(this,t,n)}return e.prototype.position=function(e,t,n){n.find(".dropdown-wrapper").append(t),t.addClass("select2-dropdown--below"),n.addClass("select2-container--below")},e})),t.define("select2/dropdown/stopPropagation",[],(function(){function e(){}return e.prototype.bind=function(e,t,n){e.call(this,t,n);this.$dropdown.on(["blur","change","click","dblclick","focus","focusin","focusout","input","keydown","keyup","keypress","mousedown","mouseenter","mouseleave","mousemove","mouseover","mouseup","search","touchend","touchstart"].join(" "),(function(e){e.stopPropagation()}))},e})),t.define("select2/selection/stopPropagation",[],(function(){function e(){}return e.prototype.bind=function(e,t,n){e.call(this,t,n);this.$selection.on(["blur","change","click","dblclick","focus","focusin","focusout","input","keydown","keyup","keypress","mousedown","mouseenter","mouseleave","mousemove","mouseover","mouseup","search","touchend","touchstart"].join(" "),(function(e){e.stopPropagation()}))},e})), 33/*! 34 * jQuery Mousewheel 3.1.13 35 * 36 * Copyright jQuery Foundation and other contributors 37 * Released under the MIT license 38 * http://jquery.org/license 39 */ 40n=function($){var e,t,n=["wheel","mousewheel","DOMMouseScroll","MozMousePixelScroll"],i="onwheel"in document||document.documentMode>
40=9?["wheel"]:["mousewheel","DomMouseScroll","MozMousePixelScroll"],r=Array.prototype.slice;if($.event.fixHooks)for(var s=n.length;s;)$.event.fixHooks[n[--s]]=$.event.mouseHooks;var o=$.event.special.mousewheel={version:"3.1.12",setup:function(){if(this.addEventListener)for(var e=i.length;e;)this.addEventListener(i[--e],a,!1);else this.onmousewheel=a;$.data(this,"mousewheel-line-height",o.getLineHeight(this)),$.data(this,"mousewheel-page-height",o.getPageHeight(this))},teardown:function(){if(this.removeEventListener)for(var e=i.length;e;)this.removeEventListener(i[--e],a,!1);else this.onmousewheel=null;$.removeData(this,"mousewheel-line-height"),$.removeData(this,"mousewheel-page-height")},getLineHeight:function(e){var t=$(e),n=t["offsetParent"in $.fn?"offsetParent":"parent"]();return n.length||(n=$("body")),parseInt(n.css("fontSize"),10)||parseInt(t.css("fontSize"),10)||16},getPageHeight:function(e){return $(e).height()},settings:{adjustOldDeltas:!0,normalizeOffset:!0}};function a(n){var i=n||window.event,s=r.call(arguments,1),a=0,c=0,d=0,h=0,p=0,f=0;if((n=$.event.fix(i)).type="mousewheel","detail"in i&&(d=-1*i.detail),"wheelDelta"in i&&(d=i.wheelDelta),"wheelDeltaY"in i&&(d=i.wheelDeltaY),"wheelDeltaX"in i&&(c=-1*i.wheelDeltaX),"axis"in i&&i.axis===i.HORIZONTAL_AXIS&&(c=-1*d,d=0),a=0===d?c:d,"deltaY"in i&&(a=d=-1*i.deltaY),"deltaX"in i&&(c=i.deltaX,0===d&&(a=-1*c)),0!==d||0!==c){if(1===i.deltaMode){var m=$.data(this,"mousewheel-line-height");a*=m,d*=m,c*=m}else if(2===i.deltaMode){var g=$.data(this,"mousewheel-page-height");a*=g,d*=g,c*=g}if(h=Math.max(Math.abs(d),Math.abs(c)),(!t||h<t)&&(t=h,u(i,h)&&(t/=40)),u(i,h)&&(a/=40,c/=40,d/=40),a=Math[a>=1?"floor":"ceil"](a/t),c=Math[c>=1?"floor":"ceil"](c/t),d=Math[d>=1?"floor":"ceil"](d/t),o.settings.normalizeOffset&&this.getBoundingClientRect){var v=this.getBoundingClientRect();p=n.clientX-v.left,f=n.clientY-v.top}return n.deltaX=c,n.deltaY=d,n.deltaFactor=t,n.offsetX=p,n.offsetY=f,n.deltaMode=0,s.unshift(n,a,c,d),e&&clearTimeout(e),e=setTimeout(l,200),($.event.dispatch||$.event.handle).apply(this,s)}}function l(){t=null}function u(e,t){return o.settings.adjustOldDeltas&&"mousewheel"===e.type&&t%120==0}$.fn.extend({mousewheel:function(e){return e?this.bind("mousewheel",e):this.trigger("mousewheel")},unmousewheel:function(e){return this.unbind("mousewheel",e)}})},"function"==typeof t.define&&t.define.amd?t.define("jquery-mousewheel",["jquery"],n):"object"==typeof exports?module.exports=n:n(e),t.define("jquery.select2",["jquery","jquery-mousewheel","./select2/core","./select2/defaults","./select2/utils"],(function($,e,t,n,i){if(null==$.fn.select2){var r=["open","close","destroy"];$.fn.select2=function(e){if("object"==typeof(e=e||{}))return this.each((function(){var n=$.extend(!0,{},e);new t($(this),n)})),this;if("string"==typeof e){var n,s=Array.prototype.slice.call(arguments,1);return this.each((function(){var t=i.GetData(this,"select2");null==t&&window.console&&console.error&&console.error("The select2('"+e+"') method was called on an element that is not using Select2."),n=t[e].apply(t,s)})),$.inArray(e,r)>-1?this:n}throw new Error("Invalid arguments for Select2: "+e)}}return null==$.fn.select2.defaults&&($.fn.select2.defaults=n),t})),{define:t.define,require:t.require}}(),n=t.require("jquery.select2");return e.fn.select2.amd=t,n})),function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):e.Typograf=t()}(this,(function(){"use strict";function e(t){return(e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(t)}function t(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function n(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function i(e,t,i){return t&&n(e.prototype,t),i&&n(e,i),e}function r(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=[],i=!0,r=!1,s=void 0;try{for(var o,a=e[Symbol.iterator]();!(i=(o=a.next()).done)&&(n.push(o.value),!t||n.length!==t);i=!0);}catch(e){r=!0,s=e}finally{try{i||null==a.return||a.return()}finally{if(r)throw s}}return n}
40(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}var s=["a","abbr","acronym","b","bdo","big","br","button","cite","code","dfn","em","i","img","input","kbd","label","map","object","q","samp","script","select","small","span","strong","sub","sup","textarea","time","tt","var"],o=[["iexcl",161],["cent",162],["pound",163],["curren",164],["yen",165],["brvbar",166],["sect",167],["uml",168],["copy",169],["ordf",170],["laquo",171],["not",172],["reg",174],["macr",175],["deg",176],["plusmn",177],["sup2",178],["sup3",179],["acute",180],["micro",181],["para",182],["middot",183],["cedil",184],["sup1",185],["ordm",186],["raquo",187],["frac14",188],["frac12",189],["frac34",190],["iquest",191],["Agrave",192],["Aacute",193],["Acirc",194],["Atilde",195],["Auml",196],["Aring",197],["AElig",198],["Ccedil",199],["Egrave",200],["Eacute",201],["Ecirc",202],["Euml",203],["Igrave",204],["Iacute",205],["Icirc",206],["Iuml",207],["ETH",208],["Ntilde",209],["Ograve",210],["Oacute",211],["Ocirc",212],["Otilde",213],["Ouml",214],["times",215],["Oslash",216],["Ugrave",217],["Uacute",218],["Ucirc",219],["Uuml",220],["Yacute",221],["THORN",222],["szlig",223],["agrave",224],["aacute",225],["acirc",226],["atilde",227],["auml",228],["aring",229],["aelig",230],["ccedil",231],["egrave",232],["eacute",233],["ecirc",234],["euml",235],["igrave",236],["iacute",237],["icirc",238],["iuml",239],["eth",240],["ntilde",241],["ograve",242],["oacute",243],["ocirc",244],["otilde",245],["ouml",246],["divide",247],["oslash",248],["ugrave",249],["uacute",250],["ucirc",251],["uuml",252],["yacute",253],["thorn",254],["yuml",255],["fnof",402],["Alpha",913],["Beta",914],["Gamma",915],["Delta",916],["Epsilon",917],["Zeta",918],["Eta",919],["Theta",920],["Iota",921],["Kappa",922],["Lambda",923],["Mu",924],["Nu",925],["Xi",926],["Omicron",927],["Pi",928],["Rho",929],["Sigma",931],["Tau",932],["Upsilon",933],["Phi",934],["Chi",935],["Psi",936],["Omega",937],["alpha",945],["beta",946],["gamma",947],["delta",948],["epsilon",949],["zeta",950],["eta",951],["theta",952],["iota",953],["kappa",954],["lambda",955],["mu",956],["nu",957],["xi",958],["omicron",959],["pi",960],["rho",961],["sigmaf",962],["sigma",963],["tau",964],["upsilon",965],["phi",966],["chi",967],["psi",968],["omega",969],["thetasym",977],["upsih",978],["piv",982],["bull",8226],["hellip",8230],["prime",8242],["Prime",8243],["oline",8254],["frasl",8260],["weierp",8472],["image",8465],["real",8476],["trade",8482],["alefsym",8501],["larr",8592],["uarr",8593],["rarr",8594],["darr",8595],["harr",8596],["crarr",8629],["lArr",8656],["uArr",8657],["rArr",8658],["dArr",8659],["hArr",8660],["forall",8704],["part",8706],["exist",8707],["empty",8709],["nabla",8711],["isin",8712],["notin",8713],["ni",8715],["prod",8719],["sum",8721],["minus",8722],["lowast",8727],["radic",8730],["prop",8733],["infin",8734],["ang",8736],["and",8743],["or",8744],["cap",8745],["cup",8746],["int",8747],["there4",8756],["sim",8764],["cong",8773],["asymp",8776],["ne",8800],["equiv",8801],["le",8804],["ge",8805],["sub",8834],["sup",8835],["nsub",8836],["sube",8838],["supe",8839],["oplus",8853],["otimes",8855],["perp",8869],["sdot",8901],["lceil",8968],["rceil",8969],["lfloor",8970],["rfloor",8971],["lang",9001],["rang",9002],["spades",9824],["clubs",9827],["hearts",9829],["diams",9830],["loz",9674],["OElig",338],["oelig",339],["Scaron",352],["scaron",353],["Yuml",376],["circ",710],["tilde",732],["ndash",8211],["mdash",8212],["lsquo",8216],["rsquo",8217],["sbquo",8218],["ldquo",8220],["rdquo",8221],["bdquo",8222],["dagger",8224],["Dagger",8225],["permil",8240],["lsaquo",8249],["rsaquo",8250],["euro",8364],["NestedGreaterGreater",8811],["NestedLessLess",8810]],a=[["nbsp",160],["thinsp",8201],["ensp",8194],["emsp",8195],["shy",173],["zwnj",8204],["zwj",8205],["lrm",8206],["rlm",8207]],l=new(function(){function e(){t(this,e),this._entities=this._prepareEntities([].concat(o,a)),this._entitiesByName={},this._entitiesByNameEntity={},this._entitiesByDigitEntity={},this._entitiesByUtf={},this._entities.forEach((function(e){this._entitiesByName[e.name]=e,this._entitiesByNameEntity[e.nameEntity]=e,this._entitiesByDigitEntity[e.digitEntity]=e,this._entitiesByUtf[e.utf]=e}),this),this._invisibleEntities=this._prepareEntities(a)}return i(e,[{key:"toUtf",value:function(e){var t=this;-1!==e.text.search(/&#/)&&(e.text=this.decHexToUtf(e.text)),-1!==e.text.search(/&[a-z]/i)&&(e.text=e.text.replace(/&[a-z\d]{2,31};/gi,(function(e){var n=t._entitiesByNameEntity[e];return n?n.utf:e})))}},{key:"decHexToUtf",value:function(e){return e.replace(/&#(\d{1,6});/gi,(function(e,t){return String.fromCharCode(parseInt(t,10))})).replace(/&#x([\da-f]{1,6});/gi,(function(e,t){return String.fromCharCode(parseInt(t,16))}))}},{key:"restore",value:function(e){var t=e.prefs.htmlEntity,n=t.type,i=this._entities;"name"!==n&&"digit"!==n||((t.onlyInvisible||t.list)&&(i=[],t.onlyInvisible&&(i=i.concat(this._invisibleEntities)),t.list&&(i=i.concat(this._prepareListParam(t.list)))),e.text=this._restoreEntitiesByIndex(e.text,n+"Entity",i))}},{key:"getByUtf",value:function(e,t){var n="";switch(t){case"digit":n=this._entitiesByDigitEntity[e];break;case"name":n=this._entitiesByNameEntity[e];break;default:n=e}return n}},{key:"_prepareEntities",value:function(e){var t=[];return e.forEach((function(e){var n=r(e,2),i=n[0],s=n[1],o=String.fromCharCode(s);t.push({name:i,nameEntity:"&"+i+";",digitEntity:"&#"+s+";",utf:o,reName:new RegExp("&"+i+";","g"),reUtf:new RegExp(o,"g")})}),this),t}},{key:"_prepareListParam",value:function(e){var t=[];return e.forEach((function(e){var n=this._entitiesByName[e];
40n&&t.push(n)}),this),t}},{key:"_restoreEntitiesByIndex",value:function(e,t,n){return n.forEach((function(n){e=e.replace(n.reUtf,n[t])})),e}}]),e}()),u=function(){function e(){t(this,e);var n=[["\x3c!--","--\x3e"],["<!ENTITY",">"],["<!DOCTYPE",">"],["<\\?xml","\\?>"],["<!\\[CDATA\\[","\\]\\]>"]];["code","kbd","object","pre","samp","script","style","var"].forEach((function(e){n.push(["<"+e+"(\\s[^>]*?)?>","</"+e+">"])}),this),this._tags={own:[],html:n.map(this._prepareRegExp),url:[c._reUrl]},this._groups=["own","html","url"]}return i(e,[{key:"add",value:function(e){this._tags.own.push(this._prepareRegExp(e))}},{key:"show",value:function(e,t){for(var n=c._privateLabel,i=new RegExp(n+"tf\\d+"+n,"g"),r=new RegExp(n+"tf\\d"),s=function(n){return e.safeTags.hidden[t][n]||n},o=0,a=this._tags[t].length;o<a&&(e.text=e.text.replace(i,s),-1!==e.text.search(r));o++);}},{key:"hide",value:function(e,t){e.safeTags=e.safeTags||{hidden:{},i:0},e.safeTags.hidden[t]={};var n=this._pasteLabel.bind(this,e,t);this._tags[t].forEach((function(t){e.text=e.text.replace(this._prepareRegExp(t),n)}),this)}},{key:"hideHTMLTags",value:function(e){if(e.isHTML){var t=this._pasteLabel.bind(this,e,"html");e.text=e.text.replace(/<\/?[a-z][^]*?>/gi,t).replace(/<\/?[a-z][^]*?>/gi,t).replace(/&[gl]t;/gi,t)}}},{key:"getPrevLabel",value:function(e,t){for(var n=t-1;0<=n;n--)if(e[n]===c._privateLabel)return e.slice(n,t+1);return!1}},{key:"getNextLabel",value:function(e,t){for(var n=t+1;n<e.length;n++)if(e[n]===c._privateLabel)return e.slice(t,n+1);return!1}},{key:"getTagByLabel",value:function(e,t){var n=!1;return this._groups.some((function(i){var r=e.safeTags.hidden[i][t];return void 0!==r&&(n={group:i,value:r}),n})),n}},{key:"getTagInfo",value:function(e){if(e){var t={group:e.group};switch(e.group){case"html":t.name=e.value.split(/[<\s>]/)[1],t.isInline=-1<s.indexOf(t.name),t.isClosing=-1<e.value.search(/^<\//);break;case"url":t.isInline=!0;break;case"own":t.isInline=!1}return t}}},{key:"_pasteLabel",value:function(e,t,n){var i=e.safeTags,r=c._privateLabel+"tf"+i.i+c._privateLabel;return i.hidden[t][r]=n,i.i++,r}},{key:"_prepareRegExp",value:function(e){var t;if(e instanceof RegExp)t=e;else{var n=r(e,3),i=n[0],s=n[1],o=n[2];void 0===o&&(o="[^]*?"),t=new RegExp(i+o+s,"gi")}return t}}]),e}(),c=function(){function n(i){t(this,n),this._prefs="object"===e(i)?i:{},this._prefs.locale=n._prepareLocale(this._prefs.locale),this._prefs.live=this._prefs.live||!1,this._safeTags=new u,this._settings={},this._enabledRules={},this._innerRulesByQueues={},this._innerRules=[].concat(this._innerRules),this._innerRules.forEach((function(e){var t=e.queue||"default";this._innerRulesByQueues[t]=this._innerRulesByQueues[t]||[],this._innerRulesByQueues[t].push(e)}),this),this._rulesByQueues={}
40,this._rules=[].concat(this._rules),this._rules.forEach((function(e){var t=e.queue||"default";this._prepareRule(e),this._rulesByQueues[t]=this._rulesByQueues[t]||[],this._rulesByQueues[t].push(e)}),this),this._prefs.disableRule&&this.disableRule(this._prefs.disableRule),this._prefs.enableRule&&this.enableRule(this._prefs.enableRule),this._separatePartsTags=["title","p","h[1-6]","select","legend"]}return i(n,[{key:"execute",value:function(e,t){if(!(e=""+e))return"";var n=this._prepareContext(e);return this._preparePrefs(n,t),this._process(n)}},{key:"_prepareContext",value:function(e){return{text:e,isHTML:this._isHTML(e),prefs:n.deepCopy(this._prefs),getData:function(e){return"char"===e?this.prefs.locale.map((function(t){return n.getData(t+"/"+e)})).join(""):n.getData(this.prefs.locale[0]+"/"+e)}}}},{key:"_preparePrefs",value:function(e,t){t=t||{};for(var i=e.prefs,r=0,s=["htmlEntity","lineEnding","processingSeparateParts","ruleFilter"];r<s.length;r++){var o=s[r];o in t?i[o]=t[o]:o in this._prefs&&(i[o]=this._prefs[o])}i.htmlEntity=i.htmlEntity||{},i.locale=n._prepareLocale(t.locale,this._prefs.locale);var a=i.locale,l=a[0];if(!a.length||!l)throw Error('Not defined the property "locale".');if(!n.hasLocale(l))throw Error('"'+l+'" is not supported locale.')}},{key:"_isHTML",value:function(e){return-1!==e.search(/(<\/?[a-z]|<!|&[lg]t;)/i)}},{key:"_splitBySeparateParts",value:function(e){if(!e.isHTML||!1===e.prefs.processingSeparateParts)return[e.text];var t=[],i=n._privateSeparateLabel,r=new RegExp("<("+this._separatePartsTags.join("|")+")(\\s[^>]*?)?>[^]*?</\\1>","gi"),s=0;return e.text.replace(r,(function(n,r,o,a){return s!==a&&t.push((s?i:"")+e.text.slice(s,a)+i),t.push(n),s=a+n.length,n})),t.push(s?i+e.text.slice(s,e.text.length):e.text),t}},{key:"_process",value:function(e){e.text=this._removeCR(e.text),this._executeRules(e,"start"),this._safeTags.hide(e,"own"),this._executeRules(e,"hide-safe-tags-own"),this._safeTags.hide(e,"html"),this._executeRules(e,"hide-safe-tags-html");var t=e.isHTML,i=new RegExp(n._privateSeparateLabel,"g");return e.text=this._splitBySeparateParts(e).map((function(t){return e.text=t,e.isHTML=this._isHTML(t),this._safeTags.hideHTMLTags(e),this._safeTags.hide(e,"url"),this._executeRules(e,"hide-safe-tags-url"),this._executeRules(e,"hide-safe-tags"),n.HtmlEntities.toUtf(e),this._prefs.live&&(e.text=n._replaceNbsp(e.text)),this._executeRules(e,"utf"),this._executeRules(e),n.HtmlEntities.restore(e),this._executeRules(e,"html-entities"),this._safeTags.show(e,"url"),this._executeRules(e,"show-safe-tags-url"),e.text.replace(i,"")}),this).join(""),e.isHTML=t,this._safeTags.show(e,"html"),this._executeRules(e,"show-safe-tags-html"),this._safeTags.show(e,"own"),this._executeRules(e,"show-safe-tags-own"),this._executeRules(e,"end"),this._fixLineEnding(e.text,e.prefs.lineEnding)}},{key:"getSetting",value:function(e,t){return this._settings[e]&&this._settings[e][t]}},{key:"setSetting",value:function(e,t,n){return this._settings[e]=this._settings[e]||{},this._settings[e][t]=n,this}},{key:"isEnabledRule",value:function(e){return this._enabledRules[e]}},{key:"isDisabledRule",value:function(e){return!this._enabledRules[e]}},{key:"enableRule",value:function(e){return this._enable(e,!0)}},{key:"disableRule",value:function(e){return this._enable(e,!1)}},{key:"addSafeTag",value:function(e,t,n){var i=e instanceof RegExp?e:[e,t,n];return this._safeTags.add(i),this}},{key:"_executeRules",value:function(e,t){t=t||"default";var n=this._rulesByQueues[t],i=this._innerRulesByQueues[t];i&&i.forEach((function(t){this._ruleIterator(e,t)}),this),n&&n.forEach((function(t){this._ruleIterator(e,t)}),this)}},{key:"_ruleIterator",value:function(e,t){var n=t._locale,i=this._prefs.live;if(!(!0===i&&!1===t.live||!1===i&&!0===t.live)&&("common"===n||n===e.prefs.locale[0])&&this.isEnabledRule(t.name)){if(e.prefs.ruleFilter&&!e.prefs.ruleFilter(t))return;this._onBeforeRule&&this._onBeforeRule(t.name,e.text,e),e.text=t.handler.call(this,e.text,this._settings[t.name],e),this._onAfterRule&&this._onAfterRule(t.name,e.text,e)}}},{key:"_removeCR",value:function(e){return e.replace(/\r\n?/g,"\n")}},{key:"_fixLineEnding",value:function(e,t){return"CRLF"===t?e.replace(/\n/g,"\r\n"):"CR"===t?e.replace(/\n/g,"\r"):e}},{key:"_prepareRule",value:function(t){var i=t.name,r=e(t.settings),s={};"object"===r?s=n.deepCopy(t.settings):"function"===r&&(s=t.settings(t)),this._settings[i]=s,this._enabledRules[i]=t._enabled}},{key:"_enable",value:function(e,t){return Array.isArray(e)?e.forEach((function(e){this._enableByMask(e,t)}),this):this._enableByMask(e,t),this}},{key:"_enableByMask",value:function(e,t){if(e)if(-1!==e.search(/\*/)){var n=new RegExp(e.replace(/\//g,"\\/").replace(/\*/g,".*"));
40this._rules.forEach((function(e){var i=e.name;n.test(i)&&(this._enabledRules[i]=t)}),this)}else this._enabledRules[e]=t}},{key:"_getRule",value:function(e){var t=null;return this._rules.some((function(n){return n.name===e&&(t=n,!0)})),t}}],[{key:"addRule",value:function(e){var t=r(e.name.split("/"),3),n=t[0],i=t[1],s=t[2];return e._enabled=!0!==e.disabled,e._locale=n,e._group=i,e._name=s,this.addLocale(e._locale),this._setIndex(e),this.prototype._rules.push(e),this._sortRules(this.prototype._rules),this}},{key:"addInnerRule",value:function(e){return this.prototype._innerRules.push(e),e._locale=e.name.split("/")[0],this}},{key:"deepCopy",value:function(t){return"object"===e(t)?JSON.parse(JSON.stringify(t)):t}},{key:"_repeat",value:function(e,t){for(var n="";1==(1&t)&&(n+=e),0!=(t>>>=1);)e+=e;return n}},{key:"_replace",value:function(e,t){for(var n=0;n<t.length;n++)e=e.replace(t[n][0],t[n][1]);return e}},{key:"_replaceNbsp",value:function(e){return e.replace(/\u00A0/g," ")}},{key:"_setIndex",value:function(t){var n=t.index,i=e(n),r=this.groupIndexes[t._group];"undefined"===i?n=r:"string"===i&&(n=r+parseInt(t.index,10)),t._index=n}},{key:"_sortRules",value:function(e){e.sort((function(e,t){return e._index>t._index?1:-1}))}},{key:"_mix",value:function(e,t){Object.keys(t).forEach((function(n){e[n]=t[n]}))}}]),n}();function d(e,t,n,i){return t+n.replace(/([^\u00A0])\u00A0([^\u00A0])/g,"$1 $2")+i}c._mix(c,{version:"6.8.2",inlineElements:s,blockElements:["address","article","aside","blockquote","canvas","dd","div","dl","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","hr","li","main","nav","noscript","ol","output","p","pre","section","table","tfoot","ul","video"],groupIndexes:{symbols:110,space:210,dash:310,punctuation:410,nbsp:510,number:610,money:710,date:810,other:910,optalign:1010,typo:1110,html:1210},HtmlEntities:l,_reUrl:new RegExp("(https?|file|ftp)://([a-zA-Z0-9/+-=%&:_.~?]+[a-zA-Z0-9#+]*)","g"),_privateLabel:"ï",_privateSeparateLabel:"ï"}),c._mix(c.prototype,{_rules:[],_innerRules:[]}),c._mix(c,{getData:function(e){return this._data[e]},setData:function(t,n){"string"==typeof t?(this.addLocale(t),this._data[t]=n):"object"===e(t)&&Object.keys(t).forEach((function(e){this.addLocale(e),this._data[e]=t[e]}),this)},_data:{}}),c._mix(c,{addLocale:function(e){var t=(e||"").split("/")[0];t&&"common"!==t&&!this.hasLocale(t)&&(this._locales.push(t),this._locales.sort())},getLocales:function(){return this._locales},hasLocale:function(e){return"common"===e||-1!==this._locales.indexOf(e)},_prepareLocale:function(e,t){var n=e||t,i=n;return Array.isArray(n)||(i=[n]),i},_locales:[]}),c.setData("be/char","абвгдежзйклмнопÑÑÑÑÑÑ
ÑÑÑÑÑÑÑÑÑÑÑÒ"),c.setData("be/quote",{left:"«â",right:"»â"}),c.setData("bg/char","абвгдежзийклмнопÑÑÑÑÑÑ
ÑÑÑÑÑÑÑÑ"),c.setData("bg/quote",{left:"ââ",right:"ââ"}),c.setData("ca/char","abcdefghijlmnopqrstuvxyzà çèéÃïòóúü"),c.setData("ca/quote",{left:"«â",right:"»â"}),c.setData("common/char","a-z"),c.setData("common/dash","--?|â|â|â"),c.setData("common/quote",'«â¹Â»âºââââ"'),c.setData("cs/char","a-záéÃóúýÄÄÄÅÅšťůž"),c.setData("cs/quote",{left:"ââ",right:"ââ"}),c.setData("da/char","a-zåæø"),c.setData("da/quote",{left:"»âº",right:"«â¹"}),c.setData("de/char","a-zÃäöü"),c.setData("de/quote",{left:"ââ",right:"ââ"}),c.setData("el/char","ÎάÎήίΰαβγδεζηθικλμνξοÏÏÏÏÏÏ
ÏÏÏÏÏÏÏÏÏϲάέήίόύώ"),c.setData("el/quote",{left:"«â",right:"»â"}),c.setData("en-GB/char","a-z"),c.setData("en-GB/quote",{left:"ââ",right:"ââ"}),c.setData("en-US/char","a-z"),c.setData("en-US/quote",{left:"ââ",right:"ââ"}),c.setData("eo/char","abcdefghijklmnoprstuvzÄÄĥĵÅÅ"),c.setData("eo/quote",{left:"ââ",right:"ââ"}),c.setData("es/char","a-záéÃñóúü"),c.setData("es/quote",{left:"«â",right:"»â"}),c.setData("et/char","abdefghijklmnoprstuvzäõöüšž"),c.setData("et/quote",{left
40:"â«",right:"â»"}),c.setData("fi/char","abcdefghijklmnopqrstuvyöäå"),c.setData("fi/quote",{left:"ââ",right:"ââ"}),c.setData("fr/char","a-zà âçèéêëîïôûüÅæ"),c.setData("fr/quote",{left:"«â¹",right:"»âº",spacing:!0}),c.setData("ga/char","abcdefghilmnoprstuvwxyzáéÃóú"),c.setData("ga/quote",{left:"ââ",right:"ââ"}),c.setData("hu/char","a-záäéÃóöúüÅű"),c.setData("hu/quote",{left:"â»",right:"â«"}),c.setData("it/char","a-zà éèìòù"),c.setData("it/quote",{left:"«â",right:"»â"}),c.setData("lv/char","abcdefghijklmnopqrstuvxzæÅ"),c.setData("lv/quote",{left:"«â",right:"»â"}),c.setData("nl/char","a-zäçèéêëîïñöûü"),c.setData("nl/quote",{left:"ââ",right:"ââ"}),c.setData("no/char","a-zåæèéêòóôø"),c.setData("no/quote",{left:"«â",right:"»â"}),c.setData("pl/char","abcdefghijklmnoprstuvwxyzóÄ
ÄÄÅÅÅźż"),c.setData("pl/quote",{left:"â«",right:"â»"}),c.setData("ro/char","abcdefghijklmnoprstuvxzîÄÈÈ"),c.setData("ro/quote",{left:"â«",right:"â»"}),c.setData("ru/char","а-ÑÑ"),c.setData({"ru/dashBefore":"(^| |\\n)","ru/dashAfter":"(?=[ ,.?:!]|$)","ru/dashAfterDe":"(?=[,.?:!]|[ ][^Ð-ЯÐ]|$)"}),c.setData({"ru/l":"а-ÑÑa-z","ru/L":"Ð-ЯÐA-Z"}),c.setData({"ru/month":"ÑнваÑÑ|ÑевÑалÑ|маÑÑ|апÑелÑ|май|иÑнÑ|иÑлÑ|авгÑÑÑ|ÑенÑÑбÑÑ|окÑÑбÑÑ|ноÑбÑÑ|декабÑÑ","ru/monthGenCase":"ÑнваÑÑ|ÑевÑалÑ|маÑÑа|апÑелÑ|маÑ|иÑнÑ|иÑлÑ|авгÑÑÑа|ÑенÑÑбÑÑ|окÑÑбÑÑ|ноÑбÑÑ|декабÑÑ","ru/monthPreCase":"ÑнваÑе|ÑевÑале|маÑÑе|апÑеле|мае|иÑне|иÑле|авгÑÑÑе|ÑенÑÑбÑе|окÑÑбÑе|ноÑбÑе|декабÑе","ru/shortMonth":"Ñнв|Ñев|маÑ|апÑ|ма[ейÑ]|иÑн|иÑл|авг|Ñен|окÑ|ноÑ|дек"}),c.setData("ru/quote",{left:"«ââ",right:"»ââ",removeDuplicateQuotes:!0}),c.setData("ru/weekday","понеделÑник|вÑоÑник|ÑÑеда|ÑеÑвеÑг|пÑÑниÑа|ÑÑббоÑа|воÑкÑеÑенÑе"),c.setData("sk/char","abcdefghijklmnoprstuvwxyzáäéÃóôúýÄÄľÅÅšťž"),c.setData("sk/quote",{left:"ââ",right:"ââ"}),c.setData("sl/char","a-zÄšž"),c.setData("sl/quote",{left:"ââ",right:"ââ"}),c.setData("sr/char","abcdefghijklmnoprstuvzÄÄÄšž"),c.setData("sr/quote",{left:"ââ",right:"ââ"}),c.setData("sv/char","a-zäåéö"),c.setData("sv/quote",{left:"ââ",right:"ââ"}),c.setData("tr/char","abcdefghijklmnoprstuvyzâçîöûüÄıÅ"),c.setData("tr/quote",{left:"ââ",right:"ââ"}),c.setData("uk/char","абвгдежзийклмнопÑÑÑÑÑÑ
ÑÑÑÑÑÑÑÑÑÑÒ"),c.setData("uk/quote",{left:"«â",right:"»â"}),c.addRule({name:"common/html/e-mail",queue:"end",handler:function(e,t,n){return n.isHTML?e:e.replace(/(^|[\s;(])([\w\-.]{2,64})@([\w\-.]{2,64})\.([a-z]{2,64})([)\s.,!?]|$)/gi,'$1<a href="mailto:$2@$3.$4">$2@$3.$4</a>$5')},disabled:!0,htmlAttrs:!1}),c.addRule({name:"common/html/escape",index:"+100",queue:"end",handler:function(e){var t={"&":"&","<":"<",">":">",'"':""","'":"'","/":"/"};return e.replace(/[&<>"'/]/g,(function(e){return t[e]}))},disabled:!0}),c.addRule({name:"common/html/nbr",index:"+10",queue:"end",handler:function(e){return e.replace(/([^\n>])\n(?=[^\n])/g,"$1<br/>\n")},disabled:!0,htmlAttrs:!1}),c.addRule({name:"common/html/p",index:"+5",queue:"end",handler:function(e){var t=new RegExp("<("+c.blockElements.join("|")+")[>\\s]"),n=e.split("\n\n");return n.forEach((function(e,n,i){e.trim()&&(t.test(e)||(i[n]=e.replace(/^(\s*)/,"$1<p>").replace(/(\s*)$/,"</p>$1")))})),n.join("\n\n")},disabled:!0,htmlAttrs:!1}),c.addRule({name:"common/html/processingAttrs",queue:"hide-safe-tags-own",handler:function(e,t,n){var i=this,r=new RegExp("(^|\\s)("+t.attrs.join("|")+")=(\"[^\"]*?\"|'[^']*?')","gi"),s=c.deepCopy(n.prefs);return s.ruleFilter=function(e){return!1!==e.htmlAttrs},e.replace(/(<[-\w]+\s)([^>]+?)(?=>)/g,(function(e,t,n){return t+n.replace(r,(function(e,t,n,r){var o=r[0],a=r[r.length-1],l=r.slice(1,-1);return t+n+"="+o+i.execute(l,s)+a}))}))},settings:{attrs:["title","placeholder"]},disabled:!0,htmlAttrs:!1}),c.addRule({name:"common/html/quot",queue:"hide-safe-tags",handler:function(e){return e.replace(/"/g,'"')}}),c.addRule({name:"common/html/stripTags",index:"+99",queue:"end",handler:function(e){return e.replace(/<[^>]+>/g,"")},disabled:!0}),c.addRule({name:"common/html/url",queue:"end",handler:function(e,t,n){return n.isHTML?e:e.replace(c._reUrl,(function(e,t,n){n=n.replace(/([^/]+\/?)(\?|#)$/,"$1").replace(/^([^/]+)\/$/,"$1"),"http"===t?n=n.replace(/^([^/]+)(:80)([^\d]|\/|$)/,"$1$3"):"https"===t&&(n=n.replace(/^([^/]+)(:443)([^\d]|\/|$)/,"$1$3"));var i=n,r=t+"://"+n,s='<a href="'+r+'">';return"http"===t||"https"===t?(i=i.replace(/^www\./,""),s+("http"===t?i:t+"://"+i)+"</a>"):s+r+"</a>"}))},disabled:!0,htmlAttrs:!1}),c.addRule({name:"common/nbsp/afterNumber",handler:function(e,t,n){var i="(^|\\D)(\\d{1,5}) (["+n.getData("char")+"]+)";return e.replace(new RegExp(i,"gi"),"$1$2 $3")},disabled:!0}),c.addRule({name:"common/nbsp/afterParagraphMark",handler:function(e){return e.replace(/\xb6 ?(?=\d)/g,"¶ ")}}),c.addRule({name:"common/nbsp/afterSectionMark",handler:function(e,t,n){var i=n.prefs.locale[0];return e.replace(/\xa7[ \u00A0\u2009]?(?=\d|I|V|X)/g,"ru"===i?"§â¯":"§ ")}}),c.addRule({name:"common/nbsp/afterShortWord",handler:function(e,t,n){var i=t.lengthShortWord,r="(^|[  ("+c._privateLabel+c.getData("common/quote")+"])(["+n.getData("char")+"]{1,"+i+"}) ",s=new RegExp(r,"gim");return e.replace(s,"$1$2 ").replace(s,"$1$2 ")},settings:{lengthShortWord:2}}),c.addRule({name:"common/nbsp/beforeShortLastNumber",handler:function(e,t,n){var i=n.getData("char"),r=i.toUpperCase(),s=new RegExp("(["+i+r+"]) (?=\\d{1,"+t.lengthLastNumber+"}[-+â%'\""+n.getData("quote").right+"]?([.!?â¦]( ["+r+"]|$)|$))","gm");return e.replace(s,"$1 ")},live:!1,settings:{lengthLastNumber:2}}),c.addRule({name:"common/nbsp/beforeShortLastWord",handler:function(e,t,n){var i=n.getData("char"),r=i.toUpperCase(),s=new RegExp("(["+i+"\\d]) (["+i+r+"]{1,"+t.lengthLastWord+"}[.!?â¦])( ["+r+"]|$)","g");return e.replace(s,"$1 $2$3")},settings:{lengthLastWord:3}}),c.addRule({name:"common/nbsp/dpi",handler:function(e){return e.replace(/(\d) ?(lpi|dpi)(?!\w)/,"$1 $2")}}),c.addRule({name:"common/nbsp/nowrap",queue:"end",handler:function(e){return e.replace(/(<nowrap>)(.*?)(<\/nowrap>)/g,d).replace(/(<nobr>)(.*?)(<\/nobr>)/g,d)}}),c.addRule({name:"common/nbsp/replaceNbsp",queue:"utf",live:!1,handler:c._replaceNbsp,disabled:!0}),c.addRule({name:"common/number/fraction",handler:function(e){return e.replace(/(^|\D)1\/2(\D|$)/g,"$1½$2").replace(/(^|\D)1\/4(\D|$)/g,"$1¼$2").replace(/(^|\D)3\/4(\D|$)/g,"$1¾$2")}}),c.addRule({name:"common/number/mathSigns",handler:function(e){return c._replace(e,[[/!=/g,"â "],[/<=/g,"â¤"],[/(^|[^=])>=/g,"$1â¥"],[/<=>/g,"â"],[/<</g,"âª"],[/>>/g,"â«"],[/~=/g,"â
"],[/(^|[^+])\+-/g,"$1±"]])}}),c.addRule({name:"common/number/times",handler:function(e){return e.replace(/(\d)[ \u00A0]?[x\u0445][ \u00A0]?(\d)/g,"$1Ã$2")}}),c.addRule({name:"common/other/delBOM",queue:"start",index:-1,handler:function(e){return 65279===e.charCodeAt(0)?e.slice(1):e}}),c.addRule({name:"common/other/repeatWord",handler:function(e,t,n){var i="[;:,.?! \n"+c.getData("common/quote")+"]",r=new RegExp("("+i+"|^)(["+n.getData("char")+"]{"+t.min+",}) \\2("+i+"|$)","gi");return e.replace(r,"$1$2$3")},settings:{min:2},disabled:!0}),c.addRule({name:"common/punctuation/apostrophe",handler:function(e,t,n){var i="(["+n.getData("char")+"])",r=new RegExp(i+"'"+i,"gi");return e.replace(r,"$1â$2")}}),c.addRule({name:"common/punctuation/delDoublePunctuation",handler:function(e){return e.replace(/(^|[^,]),,(?!,)/g,"$1,").replace(/(^|[^:])::(?!:)/g,"$1:").replace(/(^|[^!?.])\.\.(?!\.)/g,"$1.").replace(/(^|[^;]);;(?!;)/g,"$1;").replace(/(^|[^?])\?\?(?!\?)/g,"$1?")}}),c.addRule({name:"common/punctuation/hellip",handler:function(e,t,n){return"ru"===n.prefs.locale[0]?e.replace(/(^|[^.])\.{3,4}(?=[^.]|$)/g,"$1â¦"):e.replace(/(^|[^.])\.{3}(\.?)(?=[^.]|$)/g,"$1â¦$2")}});var h,p,f,m,g,v,y,$,b,w={bufferQuotes:{left:"ï
ïï",right:"ïïï "},maxLevel:3,beforeLeft:" \n\t [(",afterRight:" \n\t !?.:;#*,â¦)",process:function(e){var t=e.context.text;if(!this.count(t).total)return t;var n=e.settings,i=e.settings.left[0]===e.settings.right[0];return i&&(e.settings=c.deepCopy(e.settings),e.settings.left=this.bufferQuotes.left.slice(0,e.settings.left.length),e.settings.right=this.bufferQuotes.right.slice(0,e.settings.right.length)),e.settings.spacing&&(t=this.removeSpacing(t,e.settings)),t=this.set(t,e),e.settings.spacing&&(t=this.setSpacing(t,e.settings)),e.settings.removeDuplicateQuotes&&(t=this.removeDuplicates(t,e.settings)),i&&(t=this.returnOriginalQuotes(t,n,e.settings),e.settings=n),t},returnOriginalQuotes:function(e,t,n){for(var i={},r=0;r<n.left.length;r++)i[n.left[r]]=t.left[r],i[n.right[r]]=t.right[r];return e.replace(new RegExp("["+n.left+n.right+"]","g"),(function(e){return i[e]}))},count:function(e){var t={total:0};return e.replace(new RegExp("["+c.getData("common/quote")+"]","g"),(function(e){return t[e]||(t[e]=0),t[e]++,t.total++,e})),t},removeDuplicates:function(e,t){var n=t.left[0],i=t.left[1]||n,r=t.right[0];return n!==i?e:e.replace(new RegExp(n+n,"g"),n).replace(new RegExp(r+r,"g"),r)},removeSpacing:function(e,t){for(var n=0,i=t.left.length;n<i;n++){var r=t.left[n],s=t.right[n];e=e.replace(new RegExp(r+"([ â¯Â ])","g"),r).replace(new RegExp("([ â¯Â ])"+s,"g"),s)}return e},setSpacing:function(e,t){for(var n=0,i=t.left.length;n<i;n++){var r=t.left[n],s=t.right[n];e=e.replace(new RegExp(r+"([^â¯])","g"),r+"â¯$1").replace(new RegExp("([^â¯])"+s,"g"),"$1â¯"+s)}return e},set:function(e,t){var n=c._privateLabel,i=c.getData("common/quote"),r=t.settings.left[0],s=t.settings.left[1]||r,o=t.settings.right[0],a=new RegExp("(^|["+this.beforeLeft+"])(["+i+"]{1,"+this.maxLevel+"})(?=[^\\s"+n+"])","gim"),l=new RegExp("([^\\s"+n+"])(["+i+"]{1,"+this.maxLevel+"})(?=["+this.afterRight+"]|$)","gim");return e=e.replace(a,(function(e,t,n){return t+c._repeat(r,n.length)})).replace(l,(function(e,t,n){return t+c._repeat(o,n.length)})),e=this.setAboveTags(e,t),r!==s&&(e=this.setInner(e,t.settings)),e},setAboveTags:function(e,t){var n=this,i=c._privateLabel,r=c.getData("common/quote"),s=t.settings.left[0],o=t.settings.right[0];return e.replace(new RegExp("(^|.)(["+r+"])(.|$)","gm"),(function(r,a,l,u,c){if(a!==i&&u!==i)return r;if(a===i&&u===i)return'"'===l?a+n.getAboveTwoTags(e,c+1,t)+u:r;if(a===i){var d=-1<n.afterRight.indexOf(u),h=n.getPrevTagInfo(e,c-1,t);return d&&h&&"html"===h.group?a+(h.isClosing?o:s)+u:a+(!u||d?o:s)+u}var p=-1<n.beforeLeft.indexOf(a),f=n.getNextTagInfo(e,c+1,t);return p&&f&&"html"===f.group?a+(f.isClosing?o:s)+u:a+(!a||p?s:o)+u}))},getAboveTwoTags:function(e,t,n){var i=this.getPrevTagInfo(e,t,n),r=this.getNextTagInfo(e,t,n);if(i&&"html"===i.group){if(!i.isClosing)return n.settings.left[0];if(r&&r.isClosing&&i.isClosing)return n.settings.right[0]}return e[t]},getPrevTagInfo:function(e,t,n){var i=n.safeTags.getPrevLabel(e,t-1);if(i){var r=n.safeTags.getTagByLabel(n.context,i);if(r)return n.safeTags.getTagInfo(r)}return null},getNextTagInfo:function(e,t,n){var i=n.safeTags.getNextLabel(e,t+1);if(i){var r=n.safeTags.getTagByLabel(n.context,i);if(r)return n.safeTags.getTagInfo(r)}return null},setInner:function(e,t){for(var n=[],i=[],r=0;r<t.left.length;r++)n.push(t.left[r]),i.push(t.right[r]);for(var s=t.left[0],o=t.right[0],a=n.length-1,l=-1,u="",c=0,d=e.length;c<d;c++){var h=e[c];h===s?(a<++l&&(l=a),u+=n[l]):h===o?l<=-1?u+=i[l=0]:(u+=i[l],--l<-1&&(l=-1)):('"'===h&&(l=-1),u+=h)}var p=this.count(u,t);return p[s]!==p[o]?e:u}};function x(e){var t,n,i=e[0],r="";if(e.length<8)return C(e);if(10<e.length)if("+"===i){if("7"!==e[1])return e;t=!0,e=e.substr(2)}else"8"===i&&(n=!0,e=e.substr(1));for(var s=8;2<=s;s--){var o=+e.substr(0,s);if(-1<y.indexOf(o)){r=e.substr(0,s),e=e.substr(s);break}}return r||(r=e.substr(0,5),e=e.substr(5)),(t?"+7 ":"")+(n?"8 ":"")+function(e){var t=+e,n=e.length,i=[e],r=!1;if(3<n)switch(n){case 4:i=[e.substr(0,2),e.substr(2,2)];break;case 5:i=[e.substr(0,3),e.substr(3,3)];break;case 6:i=[e.substr(0,2),e.substr(2,2),e.substr(4,2)]}else r=900<t&&t<=999||495==t||499==t;return i=i.join("-"),r?i:"("+i+")"}(r)+" "+C(e)}function C(e){var t="";return e.length%2&&(t=e[0],t+=e.length<=5?"-":"",e=e.substr(1,e.length-1)),t+e.split(/(?=(?:\d\d)+$)/).join("-")}function E(e){return e.replace(/[^\d+]/g,"")}return c.addRule({name:"common/punctuation/quote",handler:function(e,t,n){var i=t[n.prefs.locale[0]];return i?w.process({context:n,settings:i,safeTags:this._safeTags}):e},settings:function(){var e={};
40return c.getLocales().forEach((function(t){e[t]=c.deepCopy(c.getData(t+"/quote"))})),e}}),c.addRule({name:"common/punctuation/quoteLink",queue:"show-safe-tags-html",index:"+5",handler:function(e,t,n){var i=this.getSetting("common/punctuation/quote",n.prefs.locale[0]);if(!i)return e;var r=c.HtmlEntities,s=r.getByUtf(i.left[0]),o=r.getByUtf(i.right[0]),a=r.getByUtf(i.left[1]),l=r.getByUtf(i.right[1]);a=a?"|"+a:"",l=l?"|"+l:"";var u=new RegExp("(<[aA]\\s[^>]*?>)("+s+a+")([^]*?)("+o+l+")(</[aA]>)","g");return e.replace(u,"$2$1$3$5$4")}}),c.addRule({name:"common/symbols/arrow",handler:function(e){return c._replace(e,[[/(^|[^-])->(?!>)/g,"$1â"],[/(^|[^<])<-(?!-)/g,"$1â"]])}}),c.addRule({name:"common/symbols/cf",handler:function(e){var t=new RegExp('(^|[\\s(\\[+â±âââ\\-])(\\d+(?:[.,]\\d+)?)[  â]?(C|F)([\\W\\s.,:!?")\\]]|$)',"mg");return e.replace(t,"$1$2â°$3$4")}}),c.addRule({name:"common/symbols/copy",handler:function(e){return c._replace(e,[[/\(r\)/gi,"®"],[/(copyright )?\((c|\u0441)\)/gi,"©"],[/\(tm\)/gi,"â¢"]])}}),c.addRule({name:"common/space/afterPunctuation",handler:function(e){var t=c._privateLabel,n=new RegExp("(!|;|\\?)([^).â¦!;?\\s[\\])"+t+c.getData("common/quote")+"])","g"),i=new RegExp('(\\D)(,|:)([^)",:.?\\s\\/\\\\'+t+"])","g");return e.replace(n,"$1 $2").replace(i,"$1$2 $3")}}),c.addRule({name:"common/space/beforeBracket",handler:function(e,t,n){var i=new RegExp("(["+n.getData("char")+".!?,;â¦)])\\(","gi");return e.replace(i,"$1 (")}}),c.addRule({name:"common/space/bracket",handler:function(e){return e.replace(/(\() +/g,"(").replace(/ +\)/g,")")}}),c.addRule({name:"common/space/delBeforePercent",handler:function(e){return e.replace(/(\d)( |\u00A0)(%|\u2030|\u2031)/g,"$1$3")}}),c.addRule({name:"common/space/delBeforePunctuation",handler:function(e){return e.replace(/([!?]) (?=[!?])/g,"$1").replace(/(^|[^!?:;,.\u2026]) ([!?:;,.])(?!\))/g,"$1$2")}}),c.addRule({name:"common/space/delLeadingBlanks",handler:function(e){return e.replace(/\n[ \t]+/g,"\n")},disabled:!0}),c.addRule({name:"common/space/delRepeatN",index:"-1",handler:function(e){return e.replace(/\n{3,}/g,"\n\n")}}),c.addRule({name:"common/space/delRepeatSpace",index:"-1",handler:function(e){return e.replace(/([^\n \t])[ \t]{2,}(?![\n \t])/g,"$1 ")}}),c.addRule({name:"common/space/delTrailingBlanks",index:"-3",handler:function(e){return e.replace(/[ \t]+\n/g,"\n")}}),c.addRule({name:"common/space/replaceTab",index:"-5",handler:function(e){return e.replace(/\t/g," ")}}),c.addRule({name:"common/space/squareBracket",handler:function(e){return e.replace(/(\[) +/g,"[").replace(/ +\]/g,"]")}}),c.addRule({name:"common/space/trimLeft",index:"-4",handler:String.prototype.trimLeft?function(e){return e.trimLeft()}:function(e){return e.replace(/^[\s\uFEFF\xA0]+/g,"")}}),c.addRule({name:"common/space/trimRight",index:"-3",live:!1,handler:String.prototype.trimRight?function(e){return e.trimRight()}:function(e){return e.replace(/[\s\uFEFF\xA0]+$/g,"")}}),c.addRule({name:"en-US/dash/main",index:"-5",handler:function(e){var t=c.getData("common/dash"),n="[ ".concat(" ","]"),i="[ ".concat(" ","\n]"),r=new RegExp("".concat(n,"(").concat(t,")(").concat(i,")"),"g");return e.replace(r,"".concat(" ").concat("â","$2"))}}),c.addRule({name:"ru/date/fromISO",handler:function(e){var t="(-|\\.|\\/)",n="(-|\\/)",i=new RegExp("(^|\\D)(\\d{4})"+t+"(\\d{2})"+t+"(\\d{2})(\\D|$)","gi"),r=new RegExp("(^|\\D)(\\d{2})"+n+"(\\d{2})"+n+"(\\d{4})(\\D|$)","gi");return e.replace(i,"$1$6.$4.$2$7").replace(r,"$1$4.$2.$6$7")}}),c.addRule({name:"ru/date/weekday",handler:function(e){var t=c.getData("ru/monthGenCase"),n=c.getData("ru/weekday"),i=new RegExp("(\\d)( | )("+t+"),( | )("+n+")","gi");return e.replace(i,(function(){var e=arguments;return e[1]+e[2]+e[3].toLowerCase()+","+e[4]+e[5].toLowerCase()}))}}),c.addRule({name:"ru/dash/centuries",handler:function(e,t){var n="("+c.getData("common/dash")+")",i=new RegExp("(X|I|V)[ | ]?"+n+"[ | ]?(X|I|V)","g");return e.replace(i,"$1"+t.dash+"$3")},settings:{dash:"â"}}
40),c.addRule({name:"ru/dash/daysMonth",handler:function(e,t){var n=new RegExp("(^|\\s)([123]?\\d)("+c.getData("common/dash")+")([123]?\\d)[  ]("+c.getData("ru/monthGenCase")+")","g");return e.replace(n,"$1$2"+t.dash+"$4 $5")},settings:{dash:"â"}}),c.addRule({name:"ru/dash/de",handler:function(e){var t=new RegExp("([a-ÑÑ]+) де"+c.getData("ru/dashAfterDe"),"g");return e.replace(t,"$1-де")},disabled:!0}),c.addRule({name:"ru/dash/decade",handler:function(e,t){var n=new RegExp("(^|\\s)(\\d{3}|\\d)0("+c.getData("common/dash")+")(\\d{3}|\\d)0(-е[  ])(?=г\\.?[  ]?г|год)","g");return e.replace(n,"$1$20"+t.dash+"$40$5")},settings:{dash:"â"}}),c.addRule({name:"ru/dash/directSpeech",handler:function(e){var t=c.getData("common/dash"),n=new RegExp('(["»ââ,])[ | ]?('+t+")[ | ]","g"),i=new RegExp("(^|"+c._privateLabel+")("+t+")( | )","gm"),r=new RegExp("([.â¦?!])[  ]("+t+")[  ]","g");return e.replace(n,"$1 â ").replace(i,"$1â ").replace(r,"$1 â ")}}),c.addRule({name:"ru/dash/izpod",handler:function(e){var t=new RegExp(c.getData("ru/dashBefore")+"(Ð|и)з под"+c.getData("ru/dashAfter"),"g");return e.replace(t,"$1$2з-под")}}),c.addRule({name:"ru/dash/izza",handler:function(e){var t=new RegExp(c.getData("ru/dashBefore")+"(Ð|и)з за"+c.getData("ru/dashAfter"),"g");return e.replace(t,"$1$2з-за")}}),c.addRule({name:"ru/dash/ka",handler:function(e){var t=new RegExp("([a-ÑÑ]+) ка(ÑÑ)?"+c.getData("ru/dashAfter"),"g");return e.replace(t,"$1-ка$2")}}),c.addRule({name:"ru/dash/koe",handler:function(e){var t=new RegExp(c.getData("ru/dashBefore")+"([Ðк]о[ей])\\s([а-ÑÑ]{3,})"+c.getData("ru/dashAfter"),"g");return e.replace(t,"$1$2-$3")}}),c.addRule({name:"ru/dash/main",index:"-5",handler:function(e){var t=c.getData("common/dash"),n=new RegExp("([  ])("+t+")([  \\n])","g");return e.replace(n," â$3")}}),c.addRule({name:"ru/dash/month",handler:function(e,t){var n="("+c.getData("ru/month")+")",i="("+c.getData("ru/monthPreCase")+")",r=c.getData("common/dash"),s=new RegExp(n+" ?("+r+") ?"+n,"gi"),o=new RegExp(i+" ?("+r+") ?"+i,"gi"),a="$1"+t.dash+"$3";return e.replace(s,a).replace(o,a)},settings:{dash:"â"}}),c.addRule({name:"ru/dash/surname",handler:function(e){var t=new RegExp("([Ð-ЯÐ][а-ÑÑ]+)\\s-([а-ÑÑ]{1,3})(?![^а-ÑÑ]|$)","g");return e.replace(t,"$1 â$2")}}),c.addRule({name:"ru/dash/taki",handler:function(e){var t=new RegExp("(веÑно|доволÑно|опÑÑÑ|пÑÑмо|Ñак|вÑ[еÑ]|дейÑÑвиÑелÑно|неÑжели)\\s(Ñаки)"+c.getData("ru/dashAfter"),"g");return e.replace(t,"$1-$2")}}),c.addRule({name:"ru/dash/time",handler:function(e,t){var n=new RegExp(c.getData("ru/dashBefore")+"(\\d?\\d:[0-5]\\d)"+c.getData("common/dash")+"(\\d?\\d:[0-5]\\d)"+c.getData("ru/dashAfter"),"g");return e.replace(n,"$1$2"+t.dash+"$3")},settings:{dash:"â"}}),c.addRule({name:"ru/dash/to",handler:function(e){var t=new RegExp("("+["оÑкÑда","кÑда","где","когда","заÑем","поÑемÑ","как","како[ейм]","какаÑ","каки[емÑ
]","какими","какÑÑ","ÑÑо","Ñего","Ñе[йм]","ÑÑим?","кÑо","кого","комÑ","кем"].join("|")+")( | -|- )(Ñо|либо|нибÑдÑ)"+c.getData("ru/dashAfter"),"gi");return e.replace(t,"$1-$3")}}),c.addRule({name:"ru/dash/weekday",handler:function(e,t){var n="("+c.getData("ru/weekday")+")",i=new RegExp(n+" ?("+c.getData("common/dash")+") ?"+n,"gi");return e.replace(i,"$1"+t.dash+"$3")},settings:{dash:"â"}}),c.addRule({name:"ru/dash/years",handler:function(e,t){var n=c.getData("common/dash"),i=new RegExp("(\\D|^)(\\d{4})[  ]?("+n+")[  ]?(\\d{4})(?=[  ]?г)","g");return e.replace(i,(function(e,n,i,r,s){return parseInt(i,10)<parseInt(s,10)?n+i+t.dash+s:e}))},settings:{dash:"â"}}),c.addRule({name:"ru/money/currency",handler:function(e){var t="([$â¬Â¥Ò°Â£â¤â½])",n=new RegExp("(^|[\\D]{2})"+t+" ?([\\d.,]+([  ââ¯]\\d{3})*)([  ââ¯]?(ÑÑÑ\\.|млн|млÑд|ÑÑлн))?","gm"),i=new RegExp("(^|[\\D])([\\d.,]+) ?"+t,"gm");return e.replace(n,(function(e,t,n,i,r,s,o){return t+i+(o?" "+o:"")+" "+n})).replace(i,"$1$2 $3")},disabled:!0}),c.addRule({name:"ru/money/ruble",handler:function(e){var t="$1 â½",n="(\\d+)( | )?(Ñ|ÑÑб)\\.",i=new RegExp("^"+n+"$","g"),r=new RegExp(n+"(?=[!?,:;])","g"),s=new RegExp(n+"(?=\\s+[A-ЯÐ])","g");return e.replace(i,t).replace(r,t).replace(s,t+".")},disabled:!0}),c.addRule({name:"ru/number/comma",handler:function(e){return e.replace(/(^|\s)(\d+)\.(\d+[\u00A0\u2009\u202F ]*?[%\u2030\xb0\xd7x])/gim,"$1$2,$3")}}),c.addRule({name:"ru/number/ordinals",handler:function(e,t,n){var i=new RegExp("(\\d[%â°]?)-(Ñй|ой|аÑ|ое|Ñе|Ñм|ом|ÑÑ
|ого|омÑ|Ñми)(?!["+n.getData("char")+"])","g");return e.replace(i,(function(e,t,n){return t+"-"+{"ой":"й","Ñй":"й","аÑ":"Ñ","ое":"е","Ñе":"е","Ñм":"м","ом":"м","ÑÑ
":"Ñ
","ого":"го","омÑ":"мÑ","Ñми":"ми"}[n]}))}}),h=["typograf-oa-lbracket","typograf-oa-n-lbracket","typograf-oa-sp-lbracket"],p="ru/optalign/bracket",c.addRule({name:p,handler:function(e){return e.replace(/( |\u00A0)\(/g,'<span class="typograf-oa-sp-lbracket">$1</span><span class="typograf-oa-lbracket">(</span>').replace(/^\(/gm,'<span class="typograf-oa-n-lbracket">(</span>')},disabled:!0,htmlAttrs:!1}).addInnerRule({name:p,queue:"start",handler:function(e){return c._removeOptAlignTags(e,h)}}).addInnerRule({name:p,queue:"end",handler:function(e){return c._removeOptAlignTagsFromTitle(e,h)}}),f=["typograf-oa-comma","typograf-oa-comma-sp"],m="ru/optalign/comma",c.addRule({name:m,handler:function(e,t,n){var i=new RegExp("(["+n.getData("char")+"\\dÌ]+), ","gi");return e.replace(i,'$1<span class="typograf-oa-comma">,</span><span class="typograf-oa-comma-sp"> </span>')},disabled:!0,htmlAttrs:!1}).addInnerRule({name:m,queue:"start",handler:function(e){return c._removeOptAlignTags(e,f)}}).addInnerRule({name:m,queue:"end",handler:function(e){return c._removeOptAlignTagsFromTitle(e,f)}}),c._removeOptAlignTags=function(e,t){var n=new RegExp('<span class="('+t.join("|")+')">([^]*?)</span>',"g");return e.replace(n,"$2")},c._removeOptAlignTagsFromTitle=function(e,t){return e.replace(/<title>[^]*?<\/title>/i,(function(e){return c._removeOptAlignTags(e,t)}))},g=["typograf-oa-lquote","typograf-oa-n-lquote","typograf-oa-sp-lquote"],v="ru/optalign/quote",c.addRule({name:v,handler:function(e){var t=this.getSetting("common/punctuation/quote","ru"),n="(["+t.left[0]+(t.left[1]||"")+"])",i=new RegExp("(^|\n\n|"+c._privateLabel+")("+n+")","g"),r=new RegExp("([^\n"+c._privateLabel+"])([  \n])("+n+")","gi");return e.replace(i,'$1<span class="typograf-oa-n-lquote">$2</span>').replace(r,'$1<span class="typograf-oa-sp-lquote">$2</span><span class="typograf-oa-lquote">$3</span>')},disabled:!0,htmlAttrs:!1}).addInnerRule({name:v,queue:"start",handler:function(e){return c._removeOptAlignTags(e,g)}}).addInnerRule({name:v,queue:"end",handler:function(e){return c._removeOptAlignTagsFromTitle(e,g)}}),c.addRule({name:"ru/nbsp/abbr",handler:function(e){function t(e,t,n,i){return"дд"===n&&"мм"===i||-1<["ÑÑ","ÑÑ","ÑÑÑ","оÑг","ÑкÑ","бг","ÑÑб"].indexOf(i)?e:t+n+". "+i+"."}var n=new RegExp("(^|\\s|"+c._privateLabel+")([а-ÑÑ]{1,3})\\. ?([а-ÑÑ]{1,3})\\.","g");return e.replace(n,t).replace(n,t)}}),c.addRule({name:"ru/nbsp/addr",handler:function(e){return e.replace(/(\s|^)(\u0434\u043e\u043c|\u0434\.|\u043a\u0432\.|\u043f\u043e\u0434\.|\u043f-\u0434) *(\d+)/gi,"$1$2 $3").replace(/(\s|^)(\u043c\u043a\u0440-\u043d|\u043c\u043a-\u043d|\u043c\u043a\u0440\.|\u043c\u043a\u0440\u043d)\s/gi,"$1$2 ").replace(/(\s|^)(\u044d\u0442\.) *(-?\d+)/gi,"$1$2 $3").replace(/(\s|^)(\d+) +\u044d\u0442\u0430\u0436([^\u0430-\u044f\u0451]|$)/gi,"$1$2 ÑÑаж$3").replace(/(\s|^)\u043b\u0438\u0442\u0435\u0440\s([\u0410-\u042f]|$)/gi,"$1лиÑеÑ $2").replace(/(\s|^)(\u043e\u0431\u043b|\u043a\u0440|\u0441\u0442|\u043f\u043e\u0441|\u0441|\u0434|\u0443\u043b|\u043f\u0435\u0440|\u043f\u0440|\u043f\u0440-\u0442|\u043f\u0440\u043e\u0441\u043f|\u043f\u043b|\u0431\u0443\u043b|\u0431-\u0440|\u043d\u0430\u0431|\u0448|\u0442\u0443\u043f|\u043e\u0444|\u043a\u043e\u043c\u043d?|\u0443\u0447|\u0432\u043b|\u0432\u043b\u0430\u0434|\u0441\u0442\u0440|\u043a\u043e\u0440)\. *([\u0430-\u044f\u0451a-z\d]+)/gi,"$1$2. $3").replace(/(\D[ \u00A0]|^)\u0433\. ?([\u0410-\u042f\u0401])/gm,"$1г. $2")}}),c.addRule({name:"ru/nbsp/afterNumberSign",handler:function(e){return e.replace(/\u2116[ \u00A0\u2009]?(\d|\u043f\/\u043f)/g,"ââ¯$1")}}),c.addRule({name:"ru/nbsp/beforeParticle",index:"+5",handler:function(e){var t="(ли|лÑ|же|ж|бÑ|б)",n=new RegExp("([Ð-ЯÐа-ÑÑ]) "+t+'(?=[,;:?!"ââ»])',"g"),i=new RegExp("([Ð-ЯÐа-ÑÑ])[  ]"+t+"[  ]","g");return e.replace(n,"$1 $2").replace(i,"$1 $2 ")}}),c.addRule({name:"ru/nbsp/centuries",handler:function(e){var t=c.getData("common/dash"),n="(^|\\s)([VIX]+)",i='(?=[,;:?!"ââ»]|$)',r=new RegExp(n+"[  ]?в\\.?"+i,"gm"),s=new RegExp(n+"("+t+")([VIX]+)[  ]?в\\.?([  ]?в\\.?)?"+i,"gm");return e.replace(r,"$1$2 в.").replace(s,"$1$2$3$4 вв.")}}),c.addRule({name:"ru/nbsp/dayMonth",handler:function(e){var t=new RegExp("(\\d{1,2}) ("+c.getData("ru/shortMonth")+")","gi");return e.replace(t,"$1 $2")}}),c.addRule({name:"ru/nbsp/groupNumbers",handler:function(e){var t=new RegExp("(^ ?|\\D |".concat(c._privateLabel,")(\\d{1,3}([  â¯â]\\d{3})+)(?! ?[\\d-])"),"gm");return e.replace(t,(function(e,t,n){return t+n.replace(/\s/g,"â¯")}))}}),c.addRule({name:"ru/nbsp/initials",handler:function(e){var t=c.getData("ru/quote"),n=new RegExp("(^|[ ⯠"+t.left+c._privateLabel+'"])([Ð-ЯÐ])\\.[ ⯠]?([Ð-ЯÐ])\\.[ ⯠]?([Ð-ЯÐ][а-ÑÑ]+)(?=[\\s.,;:?!"'+t.right+"]|$)","gm");return e.replace(n,"$1$2. $3. $4")}}),c.addRule({name:"ru/nbsp/m",index:"+5",handler:function(e){var t=c._privateLabel,n=new RegExp("(^|[\\s,."+t+"])(\\d+)[  ]?(мм?|Ñм|км|дм|гм|mm?|km|cm|dm)([23²³])?([\\s.!?,;"+t+"]|$)","gm");return e.replace(n,(function(e,t,n,i,r,s){return t+n+" "+i+{2:"²","²":"²",3:"³","³":"³","":""}[r||""]+(" "===s?" ":s)}))}}),c.addRule({name:"ru/nbsp/mln",handler:function(e){return e.replace(/(\d) ?(\u0442\u044b\u0441|\u043c\u043b\u043d|\u043c\u043b\u0440\u0434|\u0442\u0440\u043b\u043d)(\.|\s|$)/gi,"$1 $2$3")}}),c.addRule({name:"ru/nbsp/ooo",handler:function(e){return e.replace(/(^|[^a-\u044f\u0451A-\u042f\u0401])(\u041e\u041e\u041e|\u041e\u0410\u041e|\u0417\u0410\u041e|\u041d\u0418\u0418|\u041f\u0411\u041e\u042e\u041b) /g,"$1$2 ")}}),c.addRule({name:"ru/nbsp/page",handler:function(e){var t=new RegExp("(^|[)\\s"+c._privateLabel+"])(ÑÑÑ|гл|ÑиÑ|илл?|ÑÑ|п|c)\\. *(\\d+)([\\s.,?!;:]|$)","gim");return e.replace(t,"$1$2. $3$4")}}),c.addRule({name:"ru/nbsp/ps",handler:function(e){var t=new RegExp("(^|\\s|"+c._privateLabel+")[pз]\\.[  ]?([pз]\\.[  ]?)?[sÑ]\\.:? ","gim");return e.replace(t,(function(e,t,n){return t+(n?"P. P. S. ":"P. S. ")}))}}),c.addRule({name:"ru/nbsp/rubleKopek",handler:function(e){return e.replace(/(\d) ?(?=(\u0440\u0443\u0431|\u043a\u043e\u043f)\.)/g,"$1 ")}}),c.addRule({name:"ru/nbsp/see",handler:function(e){var t=new RegExp("(^|\\s|"+c._privateLabel+"|\\()(Ñм|им)\\.[  ]?([а-ÑÑ0-9a-z]+)([\\s.,?!]|$)","gi");return e.replace(t,(function(e,t,n,i,r){return(" "===t?" ":t)+n+". "+i+r}))}}),c.addRule({name:"ru/nbsp/year",handler:function(e){return e.replace(/(^|\D)(\d{4}) ?\u0433([ ,;.\n]|$)/g,"$1$2 г$3")}}),c.addRule({name:"ru/nbsp/years",index:"+5",handler:function(e){var t=c.getData("common/dash"),n=new RegExp("(^|\\D)(\\d{4})("+t+')(\\d{4})[  ]?г\\.?([  ]?г\\.)?(?=[,;:?!"ââ»\\s]|$)',"gm");return e.replace(n,"$1$2$3$4 гг.")}}),c.addRule({name:"ru/other/accent",handler:function(e){return e.replace(/([\u0430-\u044f\u0451])([\u0410\u0415\u0401\u0418\u041e\u0423\u042b\u042d\u042e\u042f])([^\u0410-\u042f\u0401\w]|$)/g,(function(e,t,n,i){return t+n.toLowerCase()+"Ì"+i}))},disabled:!0}),y=[],[4162,416332,8512,851111,4722,4725,391379,8442,4732,4152,4154451,4154459,4154455,41544513,8142,8332,8612,8622,3525,812,8342,8152,3812,4862,3422,342633,8112,9142,8452,3432,3434,3435,4812,8432,8439,3822,4872,3412,3511,3512,3022,4112,4852,4855,3852,3854,8182,818,90,3472,4741,4764,4832,4922,8172,8202,8722,4932,493,3952,3951,3953,411533,4842,3842,3843,8212,4942,"39131-39179","39190-39199",391,4712,4742,8362,495,499,4966,4964,4967,498,8312,8313,3832,383612,3532,8412,4232,423370,423630,8632,8642,8482,4242,8672,8652,4752,4822,482502,4826300,3452,8422,4212,3466,3462,8712,8352,"901-934","936-939","950-953",958,"960-969","977-989","991-997",999].forEach((function(e){if("string"==typeof e)for(var t=e.split("-"),n=+t[0];n<=+t[1];n++)y.push(n);else y.push(e)})),c.addRule({name:"ru/other/phone-number",live:!1,handler:function(e){var t=c._privateLabel,n=new RegExp("(^|,| |"+t+")(\\+7[\\d\\(\\)  -]{10,18})(?=,|;|"+t+"|$)","gm");return e.replace(n,(function(e,t,n){var i=E(n);return 12===i.length?t+x(i):e})).replace(/(^|[^\u0430-\u044f\u0451])([\u260e\u260f\u2706\ud83d\udce0\ud83d\udcde\ud83d\udcf1]|\u0442\.|\u0442\u0435\u043b\.|\u
400444\.|\u043c\u043e\u0431\.|\u0444\u0430\u043a\u0441|\u0441\u043e\u0442\u043e\u0432\u044b\u0439|\u043c\u043e\u0431\u0438\u043b\u044c\u043d\u044b\u0439|\u0442\u0435\u043b\u0435\u0444\u043e\u043d)(:?\s*?)([+\d(][\d \u00A0\-()]{3,}\d)/gi,(function(e,t,n,i,r){var s=E(r);return 5<=s.length?t+n+i+x(s):e}))}}),c.addRule({name:"ru/punctuation/ano",handler:function(e){var t=new RegExp("([^!?,:;\\-âââ\\s])(\\s+)(а|но)(?= | |\\n)","g");return e.replace(t,"$1,$2$3")},queue:"hide-safe-tags-html"}),c.addRule({name:"ru/punctuation/exclamation",live:!1,handler:function(e){return e.replace(/(^|[^!])!{2}($|[^!])/gm,"$1!$2").replace(/(^|[^!])!{4}($|[^!])/gm,"$1!!!$2")}}),c.addRule({name:"ru/punctuation/exclamationQuestion",index:"+5",handler:function(e){var t=new RegExp("(^|[^!])!\\?([^?]|$)","g");return e.replace(t,"$1?!$2")}}),c.addRule({name:"ru/punctuation/hellipQuestion",handler:function(e){return e.replace(/(^|[^.])(\.\.\.|\u2026),/g,"$1â¦").replace(/(!|\?)(\.\.\.|\u2026)(?=[^.]|$)/g,"$1..")}}),c.addRule({name:"ru/space/afterHellip",handler:function(e){return e.replace(/([\u0430-\u044f\u0451])(\.\.\.|\u2026)([\u0410-\u042f\u0401])/g,"$1$2 $3").replace(/([?!]\.\.)([\u0430-\u044f\u0451a-z])/gi,"$1 $2")}}),c.addRule({name:"ru/space/year",handler:function(e,t,n){var i=new RegExp("(^| | )(\\d{3,4})(год([аÑе]|ом)?)([^"+n.getData("char")+"]|$)","g");return e.replace(i,"$1$2 $3$5")}}),c.addRule({name:"ru/symbols/NN",handler:function(e){return e.replace(/\u2116\u2116/g,"â")}}),$={A:"Ð",a:"а",B:"Ð",E:"Ð",e:"е",K:"Ð",M:"Ð",H:"Ð",O:"Ð",o:"о",P:"Ð ",p:"Ñ",C:"С",c:"Ñ",T:"Т",y:"Ñ",X:"Ð¥",x:"Ñ
"},b=Object.keys($).join(""),c.addRule({name:"ru/typo/switchingKeyboardLayout",handler:function(e){var t=new RegExp("(["+b+"]{1,3})(?=[Ð-ЯÐа-ÑÑ]+?)","g");return e.replace(t,(function(e,t){for(var n="",i=0;i<t.length;i++)n+=$[t[i]];return n}))}}),c})),function(e){function t(i){if(n[i])return n[i].exports;var r=n[i]={exports:{},id:i,loaded:!1};return e[i].call(r.exports,r,r.exports,t),r.loaded=!0,r.exports}var n={};t.m=e,t.c=n,t.p="",t(0)}([function(e,t,n){"use strict";e.exports=n(1)},function(e,t,n){"use strict";var i=n(2),r=n(3);i.element=r;var s=n(4);s.isArray=r.isArray,s.isFunction=r.isFunction,s.isObject=r.isPlainObject,s.bind=r.proxy,s.each=function(e,t){r.each(e,(function(e,n){return t(n,e)}))},s.map=r.map,s.mixin=r.extend,s.Event=r.Event;var o,a,l,u=n(5),c=n(6);o=r.fn.autocomplete,a="aaAutocomplete",l={initialize:function(e,t){function n(){var n,i=r(this),s=new c({el:i});n=new u({input:i,eventBus:s,dropdownMenuContainer:e.dropdownMenuContainer,hint:void 0===e.hint||!!e.hint,minLength:e.minLength,autoselect:e.autoselect,autoselectOnBlur:e.autoselectOnBlur,tabAutocomplete:e.tabAutocomplete,openOnFocus:e.openOnFocus,templates:e.templates,debug:e.debug,clearOnSelected:e.clearOnSelected,cssClasses:e.cssClasses,datasets:t,keyboardShortcuts:e.keyboardShortcuts,appendTo:e.appendTo,autoWidth:e.autoWidth}),i.data(a,n)}return t=s.isArray(t)?t:[].slice.call(arguments,1),e=e||{},this.each(n)},open:function(){return this.each((function(){var e;(e=r(this).data(a))&&e.open()}))},close:function(){return this.each((function(){var e;(e=r(this).data(a))&&e.close()}))},val:function(e){function t(){var t;(t=r(this).data(a))&&t.setVal(e)}return arguments.length?this.each(t):function(e){var t,n;return(t=e.data(a))&&(n=t.getVal()),n}(this.first())},destroy:function(){return this.each((function(){var e,t=r(this);(e=t.data(a))&&(e.destroy(),t.removeData(a))}))}},r.fn.autocomplete=function(e){var t;return l[e]&&"initialize"!==e?(t=this.filter((function(){return!!r(this).data(a)})),l[e].apply(t,[].slice.call(arguments,1))):l.initialize.apply(this,arguments)},r.fn.autocomplete.noConflict=function(){return r.fn.autocomplete=o,this},r.fn.autocomplete.sources=u.sources,r.fn.autocomplete.escapeHighlightedString=s.escapeHighlightedString,e.exports=r.fn.autocomplete},function(e,t){"use strict";e.exports={element:null}},function(e,t){e.exports=jQuery},function(e,t,n){"use strict";function i(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}var r=n(2);e.exports={isArray:null,isFunction:null,isObject:null,bind:null,each:null,map:null,mixin:null,isMsie:function(e){if(void 0===e&&(e=navigator.userAgent),/(msie|trident)/i.test(e)){var t=e.match(/(msie |rv:)(\d+(.\d+)?)/i);if(t)return t[2]}return!1},escapeRegExChars:function(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")},isNumber:function(e){return"number"==typeof e},toStr:function(e){return null==e?"":e+""},cloneDeep:function(e){var t=this.mixin({},e),n=this;return this.each(t,(function(e,i){e&&(n.isArray(e)?t[i]=[].concat(e):n.isObject(e)&&(t[i]=n.cloneDeep(e)))})),t},error:function(e){throw new Error(e)},every:function(e,t){var n=!0;return e?(this.each(e,(function(i,r){n&&(n=t.call(null,i,r,e)&&n)})),!!n):n},any:function(e,t){var n=!1;return e?(this.each(e,(function(i,r){if(t.call(null,i,r,e))return n=!0,!1})),n):n},getUniqueId:function(){var e=0;return function(){return e++}}(),templatify:function(e){if(this.isFunction(e))return e;var t=r.element(e);return"SCRIPT"===t.prop("tagName")?function(){return t.text()}:function(){return String(e)}},defer:function(e){setTimeout(e,0)},noop:function(){},formatPrefix:function(e,t){return t?"":e+"-"},className:function(e,t,n){return(n?"":".")+e+t},escapeHighlightedString:function(e,t,n){t=t||"<em>";var r=document.createElement("div");r.appendChild(document.createTextNode(t)),n=n||"</em>";var s=document.createElement("div");s.appendChild(document.createTextNode(n));var o=document.createElement("div");return o.appendChild(document.createTextNode(e)),o.innerHTML.replace(RegExp(i(r.innerHTML),"g"),t).replace(RegExp(i(s.innerHTML),"g"),n)}}},function(e,t,n){"use strict";function i(e){var t,n;if((e=e||{}).input||o.error("missing input"),this.isActivated=!1,this.debug=!!e.debug,this.autoselect=!!e.autoselect,this.autoselectOnBlur=!!e.autoselectOnBlur,this.openOnFocus=!!e.openOnFocus,this.minLength=o.isNumber(e.minLength)?e.minLength:1,this.autoWidth=void 0===e.autoWidth||!!e.autoWidth,this.clearOnSelected=!!e.clearOnSelected,this.tabAutocomplete=void 0===e.tabAutocomplete||!!e.tabAutocomplete,e.hint=!!e.hint,e.hint&&e.appendTo)throw new Error("[autocomplete.js] hint and appendTo options can't be used at the same time");this.css=e.css=o.mixin({},h,e.appendTo?h.appendTo:{}
40),this.cssClasses=e.cssClasses=o.mixin({},h.defaultClasses,e.cssClasses||{}),this.cssClasses.prefix=e.cssClasses.formattedPrefix=o.formatPrefix(this.cssClasses.prefix,this.cssClasses.noPrefix),this.listboxId=e.listboxId=[this.cssClasses.root,"listbox",o.getUniqueId()].join("-");var s=r(e);this.$node=s.wrapper;var u=this.$input=s.input;t=s.menu,n=s.hint,e.dropdownMenuContainer&&a.element(e.dropdownMenuContainer).css("position","relative").append(t.css("top","0")),u.on("blur.aa",(function(e){var n=document.activeElement;o.isMsie()&&(t[0]===n||t[0].contains(n))&&(e.preventDefault(),e.stopImmediatePropagation(),o.defer((function(){u.focus()})))})),t.on("mousedown.aa",(function(e){e.preventDefault()})),this.eventBus=e.eventBus||new l({el:u}),this.dropdown=new i.Dropdown({appendTo:e.appendTo,wrapper:this.$node,menu:t,datasets:e.datasets,templates:e.templates,cssClasses:e.cssClasses,minLength:this.minLength}).onSync("suggestionClicked",this._onSuggestionClicked,this).onSync("cursorMoved",this._onCursorMoved,this).onSync("cursorRemoved",this._onCursorRemoved,this).onSync("opened",this._onOpened,this).onSync("closed",this._onClosed,this).onSync("shown",this._onShown,this).onSync("empty",this._onEmpty,this).onSync("redrawn",this._onRedrawn,this).onAsync("datasetRendered",this._onDatasetRendered,this),this.input=new i.Input({input:u,hint:n}).onSync("focused",this._onFocused,this).onSync("blurred",this._onBlurred,this).onSync("enterKeyed",this._onEnterKeyed,this).onSync("tabKeyed",this._onTabKeyed,this).onSync("escKeyed",this._onEscKeyed,this).onSync("upKeyed",this._onUpKeyed,this).onSync("downKeyed",this._onDownKeyed,this).onSync("leftKeyed",this._onLeftKeyed,this).onSync("rightKeyed",this._onRightKeyed,this).onSync("queryChanged",this._onQueryChanged,this).onSync("whitespaceChanged",this._onWhitespaceChanged,this),this._bindKeyboardShortcuts(e),this._setLanguageDirection()}function r(e){var t,n,i,r;t=a.element(e.input),n=a.element(d.wrapper.replace("%ROOT%",e.cssClasses.root)).css(e.css.wrapper),e.appendTo||"block"!==t.css("display")||"table"!==t.parent().css("display")||n.css("display","table-cell");var l=d.dropdown.replace("%PREFIX%",e.cssClasses.prefix).replace("%DROPDOWN_MENU%",e.cssClasses.dropdownMenu);i=a.element(l).css(e.css.dropdown).attr({role:"listbox",id:e.listboxId}),e.templates&&e.templates.dropdownMenu&&i.html(o.templatify(e.templates.dropdownMenu)()),(r=t.clone().css(e.css.hint).css(function(e){return{backgroundAttachment:e.css("background-attachment"),backgroundClip:e.css("background-clip"),backgroundColor:e.css("background-color"),backgroundImage:e.css("background-image"),backgroundOrigin:e.css("background-origin"),backgroundPosition:e.css("background-position"),backgroundRepeat:e.css("background-repeat"),backgroundSize:e.css("background-size")}}(t))).val("").addClass(o.className(e.cssClasses.prefix,e.cssClasses.hint,!0)).removeAttr("id name placeholder required").prop("readonly",!0).attr({"aria-hidden":"true",autocomplete:"off",spellcheck:"false",tabindex:-1}),r.removeData&&r.removeData(),t.data(s,{"aria-autocomplete":t.attr("aria-autocomplete"),"aria-expanded":t.attr("aria-expanded"),"aria-owns":t.attr("aria-owns"),autocomplete:t.attr("autocomplete"),dir:t.attr("dir"),role:t.attr("role"),spellcheck:t.attr("spellcheck"),style:t.attr("style"),type:t.attr("type")}),t.addClass(o.className(e.cssClasses.prefix,e.cssClasses.input,!0)).attr({autocomplete:"off",spellcheck:!1,role:"combobox","aria-autocomplete":e.datasets&&e.datasets[0]&&e.datasets[0].displayKey?"both":"list","aria-expanded":"false","aria-label":e.ariaLabel,"aria-owns":e.listboxId}).css(e.hint?e.css.input:e.css.inputWithNoHint);try{t.attr("dir")||t.attr("dir","auto")}catch(e){}return(n=e.appendTo?n.appendTo(a.element(e.appendTo).eq(0)).eq(0):t.wrap(n).parent()).prepend(e.hint?r:null).append(i),{wrapper:n,input:t,hint:r,menu:i}}var s="aaAttrs",o=n(4),a=n(2),l=n(6),u=n(7),c=n(16),d=n(18),h=n(19);o.mixin(i.prototype,{_bindKeyboardShortcuts:function(e){if(e.keyboardShortcuts){var t=this.$input,n=[];o.each(e.keyboardShortcuts,(function(e){"string"==typeof e&&(e=e.toUpperCase().charCo
40deAt(0)),n.push(e)})),a.element(document).keydown((function(e){var i=e.target||e.srcElement,r=i.tagName;if(!i.isContentEditable&&"INPUT"!==r&&"SELECT"!==r&&"TEXTAREA"!==r){var s=e.which||e.keyCode;-1!==n.indexOf(s)&&(t.focus(),e.stopPropagation(),e.preventDefault())}}))}},_onSuggestionClicked:function(e,t){var n;(n=this.dropdown.getDatumForSuggestion(t))&&this._select(n,{selectionMethod:"click"})},_onCursorMoved:function(e,t){var n=this.dropdown.getDatumForCursor(),i=this.dropdown.getCurrentCursor().attr("id");this.input.setActiveDescendant(i),n&&(t&&this.input.setInputValue(n.value,!0),this.eventBus.trigger("cursorchanged",n.raw,n.datasetName))},_onCursorRemoved:function(){this.input.resetInputValue(),this._updateHint(),this.eventBus.trigger("cursorremoved")},_onDatasetRendered:function(){this._updateHint(),this.eventBus.trigger("updated")},_onOpened:function(){this._updateHint(),this.input.expand(),this.eventBus.trigger("opened")},_onEmpty:function(){this.eventBus.trigger("empty")},_onRedrawn:function(){this.$node.css("top","0px"),this.$node.css("left","0px");var e=this.$input[0].getBoundingClientRect();this.autoWidth&&this.$node.css("width",e.width+"px");var t=this.$node[0].getBoundingClientRect(),n=e.bottom-t.top;this.$node.css("top",n+"px");var i=e.left-t.left;this.$node.css("left",i+"px"),this.eventBus.trigger("redrawn")},_onShown:function(){this.eventBus.trigger("shown"),this.autoselect&&this.dropdown.cursorTopSuggestion()},_onClosed:function(){this.input.clearHint(),this.input.removeActiveDescendant(),this.input.collapse(),this.eventBus.trigger("closed")},_onFocused:function(){if(this.isActivated=!0,this.openOnFocus){var e=this.input.getQuery();e.length>=this.minLength?this.dropdown.update(e):this.dropdown.empty(),this.dropdown.open()}},_onBlurred:function(){var e,t;e=this.dropdown.getDatumForCursor(),t=this.dropdown.getDatumForTopSuggestion();var n={selectionMethod:"blur"};this.debug||(this.autoselectOnBlur&&e?this._select(e,n):this.autoselectOnBlur&&t?this._select(t,n):(this.isActivated=!1,this.dropdown.empty(),this.dropdown.close()))},_onEnterKeyed:function(e,t){var n,i;n=this.dropdown.getDatumForCursor(),i=this.dropdown.getDatumForTopSuggestion();var r={selectionMethod:"enterKey"};n?(this._select(n,r),t.preventDefault()):this.autoselect&&i&&(this._select(i,r),t.preventDefault())},_onTabKeyed:function(e,t){if(this.tabAutocomplete){var n;(n=this.dropdown.getDatumForCursor())?(this._select(n,{selectionMethod:"tabKey"}),t.preventDefault()):this._autocomplete(!0)}else this.dropdown.close()},_onEscKeyed:function(){this.dropdown.close(),this.input.resetInputValue()},_onUpKeyed:function(){var e=this.input.getQuery();this.dropdown.isEmpty&&e.length>=this.minLength?this.dropdown.update(e):this.dropdown.moveCursorUp(),this.dropdown.open()},_onDownKeyed:function(){var e=this.input.getQuery();this.dropdown.isEmpty&&e.length>=this.minLength?this.dropdown.update(e):this.dropdown.moveCursorDown(),this.dropdown.open()},_onLeftKeyed:function(){"rtl"===this.dir&&this._autocomplete()},_onRightKeyed:function(){"ltr"===this.dir&&this._autocomplete()},_onQueryChanged:function(e,t){this.input.clearHintIfInvalid(),t.length>=this.minLength?this.dropdown.update(t):this.dropdown.empty(),this.dropdown.open(),this._setLanguageDirection()},_onWhitespaceChanged:function(){this._updateHint(),this.dropdown.open()},_setLanguageDirection:function(){var e=this.input.getLanguageDirection();this.dir!==e&&(this.dir=e,this.$node.css("direction",e),this.dropdown.setLanguageDirection(e))},_updateHint:function(){var e,t,n,i,r;(e=this.dropdown.getDatumForTopSuggestion())&&this.dropdown.isVisible()&&!this.input.hasOverflow()?(t=this.input.getInputValue(),n=u.normalizeQuery(t),i=o.escapeRegExChars(n),(r=new RegExp("^(?:"+i+")(.+$)","i").exec(e.value))?this.input.setHint(t+r[1]):this.input.clearHint()):this.input.clearHint()},_autocomplete:function(e){var t,n,i,r;t=this.input.getHint(),n=this.input.getQuery(),i=e||this.input.isCursorAtEnd(),t&&n!==t&&i&&((r=this.dropdown.getDatumForTopSuggestion())&&this.input.setInputValue(r.value),this.eventBus.trigger("autocompleted",r.raw,r.datasetName))},_select:function(e,t){void 0!==e.value&&this.input.setQuery(e.value),this.clearOnSelected?this.setVal(""):this.input.setInputValue(e.value,!0),this._setLanguageDirection(),!1===this.eventBus.trigger("selected",e.raw,e.datasetName,t).isDefaultPrevented()&&(this.dropdown.close(),o.defer(o.bind(this.dropdown.empty,this.dropdown)))},open:function(){if(!this.isActivated){var e=this.input.getInputValue();e.length>=this.minLength?this.dropdown.update(e):this.dropdown.empty()}this.dropdown.open()},close:function(){this.dropdown.close()},setVal:function(e){e=o.toStr(e),this.isActivated?this.input.setInputValue(e):(this.input.setQuery(e),this.input.setInputValue(e,!0)),this._setLanguageDirection()},getVal:function(){return this.input.getQuery()},destroy:function(){this.input.destroy(),this.dropdown.destroy(),function(e,t){var n=e.find(o.className(t.prefix,t.input));o.each(n.data(s),(function(e,t){void 0===e?n.removeAttr(t):n.attr(t,e)})),n.detach().removeClass(o.className(t.prefix,t.input,!0)).insertAfter(e),n.removeData&&n.removeData(s),e.remove()}
vendor: 9,290 bytes, line 40
40(this.$node,this.cssClasses),this.$node=null},getWrapper:function(){return this.dropdown.$container[0]}}),i.Dropdown=c,i.Input=u,i.sources=n(20),e.exports=i},function(e,t,n){"use strict";function i(e){e&&e.el||r.error("EventBus initialized without el"),this.$el=s.element(e.el)}var r=n(4),s=n(2);r.mixin(i.prototype,{trigger:function(e,t,n,i){var s=r.Event("autocomplete:"+e);return this.$el.trigger(s,[t,n,i]),s}}),e.exports=i},function(e,t,n){"use strict";function i(e){var t,n,i,r,l=this;(e=e||{}).input||o.error("input is missing"),t=o.bind(this._onBlur,this),n=o.bind(this._onFocus,this),i=o.bind(this._onKeydown,this),r=o.bind(this._onInput,this),this.$hint=a.element(e.hint),this.$input=a.element(e.input).on("blur.aa",t).on("focus.aa",n).on("keydown.aa",i),0===this.$hint.length&&(this.setHint=this.getHint=this.clearHint=this.clearHintIfInvalid=o.noop),o.isMsie()?this.$input.on("keydown.aa keypress.aa cut.aa paste.aa",(function(e){s[e.which||e.keyCode]||o.defer(o.bind(l._onInput,l,e))})):this.$input.on("input.aa",r),this.query=this.$input.val(),this.$overflowHelper=function(e){return a.element('<pre aria-hidden="true"></pre>').css({position:"absolute",visibility:"hidden",whiteSpace:"pre",fontFamily:e.css("font-family"),fontSize:e.css("font-size"),fontStyle:e.css("font-style"),fontVariant:e.css("font-variant"),fontWeight:e.css("font-weight"),wordSpacing:e.css("word-spacing"),letterSpacing:e.css("letter-spacing"),textIndent:e.css("text-indent"),textRendering:e.css("text-rendering"),textTransform:e.css("text-transform")}).insertAfter(e)}(this.$input)}function r(e){return e.altKey||e.ctrlKey||e.metaKey||e.shiftKey}var s;s={9:"tab",27:"esc",37:"left",39:"right",13:"enter",38:"up",40:"down"};var o=n(4),a=n(2),l=n(8);i.normalizeQuery=function(e){return(e||"").replace(/^\s*/g,"").replace(/\s{2,}/g," ")},o.mixin(i.prototype,l,{_onBlur:function(){this.resetInputValue(),this.$input.removeAttr("aria-activedescendant"),this.trigger("blurred")},_onFocus:function(){this.trigger("focused")},_onKeydown:function(e){var t=s[e.which||e.keyCode];this._managePreventDefault(t,e),t&&this._shouldTrigger(t,e)&&this.trigger(t+"Keyed",e)},_onInput:function(){this._checkInputValue()},_managePreventDefault:function(e,t){var n,i,s;switch(e){case"tab":i=this.getHint(),s=this.getInputValue(),n=i&&i!==s&&!r(t);break;case"up":case"down":n=!r(t);break;default:n=!1}n&&t.preventDefault()},_shouldTrigger:function(e,t){var n;switch(e){case"tab":n=!r(t);break;default:n=!0}return n},_checkInputValue:function(){var e,t,n;n=!(!(t=function(e,t){return i.normalizeQuery(e)===i.normalizeQuery(t)}(e=this.getInputValue(),this.query))||!this.query)&&this.query.length!==e.length,this.query=e,t?n&&this.trigger("whitespaceChanged",this.query):this.trigger("queryChanged",this.query)},focus:function(){this.$input.focus()},blur:function(){this.$input.blur()},getQuery:function(){return this.query},setQuery:function(e){this.query=e},getInputValue:function(){return this.$input.val()},setInputValue:function(e,t){void 0===e&&(e=this.query),this.$input.val(e),t?this.clearHint():this._checkInputValue()},expand:function(){this.$input.attr("aria-expanded","true")},collapse:function(){this.$input.attr("aria-expanded","false")},setActiveDescendant:function(e){this.$input.attr("aria-activedescendant",e)},removeActiveDescendant:function(){this.$input.removeAttr("aria-activedescendant")},resetInputValue:function(){this.setInputValue(this.query,!0)},getHint:function(){return this.$hint.val()},setHint:function(e){this.$hint.val(e)},clearHint:function(){this.setHint("")},clearHintIfInvalid:function(){var e,t,n;n=(e=this.getInputValue())!==(t=this.getHint())&&0===t.indexOf(e),""!==e&&n&&!this.hasOverflow()||this.clearHint()},getLanguageDirection:function(){return(this.$input.css("direction")||"ltr").toLowerCase()},hasOverflow:function(){var e=this.$input.width()-2;return this.$overflowHelper.text(this.getInputValue()),this.$overflowHelper.width()>=e},isCursorAtEnd:function(){var e,t,n;return e=this.$input.val().length,t=this.$input[0].selectionStart,o.isNumber(t)?t===e:!document.selection||((n=document.selection.createRange()).moveStart("character",-e),e===n.text.length)},destroy:function(){this.$hint.off(".aa"),this.$input.off(".aa"),this.$hint=this.$input=this.$overflowHelper=null}}),e.exports=i},function(e,t,n){"use strict";function i(e,t,n,i){var r;if(!n)return this;for(t=t.split(o),n=i?function(e,t){return e.bind?e.bind(t):function(){e.apply(t,[].slice.call(arguments,0))}}(n,i):n,this._callbacks=this._callbacks||{};r=t.shift();)this._callbacks[r]=this._callbacks[r]||{sync:[],async:[]},this._callbacks[r][e].push(n);return this}function r(e,t,n){return function(){for(var i,r=0,s=e.length;!i&&r<s;r+=1)i=!1===e[r].apply(t,n);return!i}}var s=n(9),o=/\s+/;e.exports={onSync:function(e,t,n){return i.call(this,"sync",e,t,n)},onAsync:function(e,t,n){return i.call(this,"async",e,t,n)},off:function(e){var t;if(!this._callbacks)return this;for(e=e.split(o);t=e.shift();)delete this._callbacks[t];return this},trigger:function(e){var t,n,i,a,l;if(!this._callbacks)return this;for(e=e.split(o),i=[].slice.call(arguments,1);(t=e.shift())&&(n=this._callbacks[t]);)a=r(n.sync,this,[t].concat(i)),l=r(n.async,this,[t].concat(i)),a()&&s(l);return this}}},function(e,t,n){"use strict";function i(){o&&a&&(o=!1,a.length?d=a.concat(d):c=-1,d.length&&r())}function r(){if(!o){h=!1,o=!0;for(var e=d.length,t=setTimeout(i);e;){for(a=d,d=[];a&&++c<e;)a[c].run();c=-1,e=d.length}a=null,c=-1,o=!1,clearTimeout(t)}}function s(e,t){this.fun=e,this.array=t}for(var o,a,l,u=[n(10),n(12),n(13),n(14),n(15)],c=-1,d=[],h=!1,p=-1,f=u.length;++p<f;)if(u[p]&&u[p].test&&u[p].test()){l=u[p].install(r);break}s.prototype.run=function(){var e=this.fun,t=this.array;switch(t.length){case 0:return e();case 1:return e(t[0]);case 2:return e(t[0],t[1]);case 3:return e(t[0],t[1],t[2]);default:return e.apply(null,t)}},e.exports=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];d.push(new s(e,t)),h||o||(h=!0,l())}},function(e,t,n){(function(e){"use strict";t.test=function(){return void 0!==e&&!e.browser},t.install=function(t){return function(){e.nextTick(t)}}}).call(t,n(11))},function(e,t){function n(){throw new Error("setTimeout has not been defined")}function i(){throw new Error("clearTimeout has not been defined")}function r(e){if(u===setTimeout)return setTimeout(e,0);if((u===n||!u)&&setTimeout)return u=setTimeout,setTimeout(e,0);try{return u(e,0)}catch(t){try{return u.call(null,e,0)}catch(t){return u.call(this,e,0)}}}function s(){f&&h&&(f=!1,h.length?p=h.concat(p):m=-1,p.length&&o())}function o(){if(!f){var e=r(s);f=!0;for(var t=p.length;t;){for(h=p,p=[];++m<t;)h&&h[m].run();m=-1,t=p.length}h=null,f=!1,function(e){if(c===clearTimeout)return clearTimeout(e);if((c===i||!c)&&clearTimeout)return c=clearTimeout,clearTimeout(e);try{c(e)}catch(t){try{return c.call(null,e)}catch(t){return c.call(this,e)}}}(e)}}function a(e,t){this.fun=e,this.array=t}function l(){}var u,c,d=e.exports={};!function(){try{u="function"==typeof setTimeout?setTimeout:n}catch(e){u=n}try{c="function"==typeof clearTimeout?clearTimeout:i}catch(e){c=i}}();var h,p=[],f=!1,m=-1;d.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];p.push(new a(e,t)),1!==p.length||f||r(o)},a.prototype.run=function(){this.fun.apply(null,this.array)},d.title="browser",d.browser=!0,d.env={},d.argv=[],d.version="",d.versions={},d.on=l,d.addListener=l,d.once=l,d.off=l,d.removeListener=l,d.removeAllListeners=l,d.emit=l,d.binding=function(e){throw new Error("process.binding is not supported")},d.cwd=function(){return"/"},d.chdir=function(e){throw new Error("process.chdir is not supported")},d.umask=function(){return 0}},function(e,t){(function(e){"use strict";var n=e.MutationObserver||e.WebKitMutationObserver;t.test=function(){return n},t.install=function(t){var i=0,r=new n(t),s=e.document.createTextNode("");return r.observe(s,{characterData:!0}),function(){s.data=i=++i%2}}}).call(t,function(){return this}())},function(e,t){(function(e){"use strict";t.test=function(){return!e.setImmediate&&void 0!==e.MessageChannel},t.install=function(t){var n=new e.MessageChannel;return n.port1.onmessage=t,function(){n.port2.postMessage(0)}}}).call(t,function(){return this}())},function(e,t){(function(e){"use strict";t.test=function(){return"document"in e&&"onreadystatechange"in e.document.createElement("script")},t.install=function(t){return function(){var n=e.document.createElement("script");return n.onreadystatechange=function(){t(),n.onreadystatechange=null,n.parentNode.removeChild(n),n=null},e.document.documentElement.appendChild(n),t}}}).call(t,function(){return this}())},function(e,t){"use strict";t.test=function(){return!0},t.install=function(e){return function(){setTimeout(e,0)}}},function(e,t,n){"use strict";function i(e){var t,n,i,a=this;(e=e||{}).menu||s.error("menu is required"),s.isArray(e.datasets)||s.isObject(e.datasets)||s.error("1 or more datasets required"),e.datasets||s.error("datasets is required"),this.isOpen=!1,this.isEmpty=!0,this.minLength=e.minLength||0,this.templates={},this.appendTo=e.appendTo||!1,this.css=s.mixin({},u,e.appendTo?u.appendTo:{}
40),this.cssClasses=e.cssClasses=s.mixin({},u.defaultClasses,e.cssClasses||{}),this.cssClasses.prefix=e.cssClasses.formattedPrefix||s.formatPrefix(this.cssClasses.prefix,this.cssClasses.noPrefix),t=s.bind(this._onSuggestionClick,this),n=s.bind(this._onSuggestionMouseEnter,this),i=s.bind(this._onSuggestionMouseLeave,this);var l=s.className(this.cssClasses.prefix,this.cssClasses.suggestion);this.$menu=o.element(e.menu).on("mouseenter.aa",l,n).on("mouseleave.aa",l,i).on("click.aa",l,t),this.$container=e.appendTo?e.wrapper:this.$menu,e.templates&&e.templates.header&&(this.templates.header=s.templatify(e.templates.header),this.$menu.prepend(this.templates.header())),e.templates&&e.templates.empty&&(this.templates.empty=s.templatify(e.templates.empty),this.$empty=o.element('<div class="'+s.className(this.cssClasses.prefix,this.cssClasses.empty,!0)+'"></div>'),this.$menu.append(this.$empty),this.$empty.hide()),this.datasets=s.map(e.datasets,(function(t){return r(a.$menu,t,e.cssClasses)})),s.each(this.datasets,(function(e){var t=e.getRoot();t&&0===t.parent().length&&a.$menu.append(t),e.onSync("rendered",a._onRendered,a)})),e.templates&&e.templates.footer&&(this.templates.footer=s.templatify(e.templates.footer),this.$menu.append(this.templates.footer()));var c=this;o.element(window).resize((function(){c._redraw()}))}function r(e,t,n){return new i.Dataset(s.mixin({$menu:e,cssClasses:n},t))}var s=n(4),o=n(2),a=n(8),l=n(17),u=n(19);s.mixin(i.prototype,a,{_onSuggestionClick:function(e){this.trigger("suggestionClicked",o.element(e.currentTarget))},_onSuggestionMouseEnter:function(e){var t=o.element(e.currentTarget);if(!t.hasClass(s.className(this.cssClasses.prefix,this.cssClasses.cursor,!0))){this._removeCursor();var n=this;setTimeout((function(){n._setCursor(t,!1)}),0)}},_onSuggestionMouseLeave:function(e){e.relatedTarget&&o.element(e.relatedTarget).closest("."+s.className(this.cssClasses.prefix,this.cssClasses.cursor,!0)).length>0||(this._removeCursor(),this.trigger("cursorRemoved"))},_onRendered:function(e,t){if(this.isEmpty=s.every(this.datasets,(function(e){return e.isEmpty()})),this.isEmpty)if(t.length>=this.minLength&&this.trigger("empty"),this.$empty)if(t.length<this.minLength)this._hide();else{var n=this.templates.empty({query:this.datasets[0]&&this.datasets[0].query});this.$empty.html(n),this.$empty.show(),this._show()}else s.any(this.datasets,(function(e){return e.templates&&e.templates.empty}))?t.length<this.minLength?this._hide():this._show():this._hide();else this.isOpen&&(this.$empty&&(this.$empty.empty(),this.$empty.hide()),t.length>=this.minLength?this._show():this._hide());this.trigger("datasetRendered")},_hide:function(){this.$container.hide()},_show:function(){this.$container.css("display","block"),this._redraw(),this.trigger("shown")},_redraw:function(){this.isOpen&&this.appendTo&&this.trigger("redrawn")},_getSuggestions:function(){return this.$menu.find(s.className(this.cssClasses.prefix,this.cssClasses.suggestion))},_getCursor:function(){return this.$menu.find(s.className(this.cssClasses.prefix,this.cssClasses.cursor)).first()},_setCursor:function(e,t){e.first().addClass(s.className(this.cssClasses.prefix,this.cssClasses.cursor,!0)).attr("aria-selected","true"),this.trigger("cursorMoved",t)},_removeCursor:function(){this._getCursor().removeClass(s.className(this.cssClasses.prefix,this.cssClasses.cursor,!0)).removeAttr("aria-selected")},_moveCursor:function(e){var t,n,i,r;if(this.isOpen){if(n=this._getCursor(),t=this._getSuggestions(),this._removeCursor(),-1==(i=((i=t.index(n)+e)+1)%(t.length+1)-1))return void this.trigger("cursorRemoved");i<-1&&(i=t.length-1),this._setCursor(r=t.eq(i),!0),this._ensureVisible(r)}},_ensureVisible:function(e){var t,n,i,r;n=(t=e.position().top)+e.height()+parseInt(e.css("margin-top"),10)+parseInt(e.css("margin-bottom"),10),i=this.$menu.scrollTop(),r=this.$menu.height()+parseInt(this.$menu.css("padding-top"),10)+parseInt(this.$menu.css("padding-bottom"),10),t<0?this.$menu.scrollTop(i+t):r<n&&this.$menu.scrollTop(i+(n-r))},close:function(){this.isOpen&&(this.isOpen=!1,this._removeCursor(
40),this._hide(),this.trigger("closed"))},open:function(){this.isOpen||(this.isOpen=!0,this.isEmpty||this._show(),this.trigger("opened"))},setLanguageDirection:function(e){this.$menu.css("ltr"===e?this.css.ltr:this.css.rtl)},moveCursorUp:function(){this._moveCursor(-1)},moveCursorDown:function(){this._moveCursor(1)},getDatumForSuggestion:function(e){var t=null;return e.length&&(t={raw:l.extractDatum(e),value:l.extractValue(e),datasetName:l.extractDatasetName(e)}),t},getCurrentCursor:function(){return this._getCursor().first()},getDatumForCursor:function(){return this.getDatumForSuggestion(this._getCursor().first())},getDatumForTopSuggestion:function(){return this.getDatumForSuggestion(this._getSuggestions().first())},cursorTopSuggestion:function(){this._setCursor(this._getSuggestions().first(),!1)},update:function(e){s.each(this.datasets,(function(t){t.update(e)}))},empty:function(){s.each(this.datasets,(function(e){e.clear()})),this.isEmpty=!0},isVisible:function(){return this.isOpen&&!this.isEmpty},destroy:function(){this.$menu.off(".aa"),this.$menu=null,s.each(this.datasets,(function(e){e.destroy()}))}}),i.Dataset=l,e.exports=i},function(e,t,n){"use strict";function i(e){(e=e||{}).templates=e.templates||{},e.source||a.error("missing source"),e.name&&!function(e){return/^[_a-zA-Z0-9-]+$/.test(e)}(e.name)&&a.error("invalid dataset name: "+e.name),this.query=null,this._isEmpty=!0,this.highlight=!!e.highlight,this.name=void 0===e.name||null===e.name?a.getUniqueId():e.name,this.source=e.source,this.displayFn=function(e){function t(t){return t[e]}return e=e||"value",a.isFunction(e)?e:t}(e.display||e.displayKey),this.debounce=e.debounce,this.cache=!1!==e.cache,this.templates=function(e,t){function n(e){return"<p>"+t(e)+"</p>"}return{empty:e.empty&&a.templatify(e.empty),header:e.header&&a.templatify(e.header),footer:e.footer&&a.templatify(e.footer),suggestion:e.suggestion||n}}(e.templates,this.displayFn),this.css=a.mixin({},c,e.appendTo?c.appendTo:{}),this.cssClasses=e.cssClasses=a.mixin({},c.defaultClasses,e.cssClasses||{}),this.cssClasses.prefix=e.cssClasses.formattedPrefix||a.formatPrefix(this.cssClasses.prefix,this.cssClasses.noPrefix);var t=a.className(this.cssClasses.prefix,this.cssClasses.dataset);this.$el=e.$menu&&e.$menu.find(t+"-"+this.name).length>0?l.element(e.$menu.find(t+"-"+this.name)[0]):l.element(u.dataset.replace("%CLASS%",this.name).replace("%PREFIX%",this.cssClasses.prefix).replace("%DATASET%",this.cssClasses.dataset)),this.$menu=e.$menu,this.clearCachedSuggestions()}var r="aaDataset",s="aaValue",o="aaDatum",a=n(4),l=n(2),u=n(18),c=n(19),d=n(8);i.extractDatasetName=function(e){return l.element(e).data(r)},i.extractValue=function(e){return l.element(e).data(s)},i.extractDatum=function(e){var t=l.element(e).data(o);return"string"==typeof t&&(t=JSON.parse(t)),t},a.mixin(i.prototype,d,{_render:function(e,t){function n(){var t=[].slice.call(arguments,0);return t=[{query:e,isEmpty:!0}].concat(t),p.templates.empty.apply(this,t)}function i(){function e(e){var t,n=u.suggestion.replace("%PREFIX%",d.cssClasses.prefix).replace("%SUGGESTION%",d.cssClasses.suggestion);return(t=l.element(n).attr({role:"option",id:["option",Math.floor(1e8*Math.random())].join("-")}).append(p.templates.suggestion.apply(this,[e].concat(c)))).data(r,p.name),t.data(s,p.displayFn(e)||void 0),t.data(o,JSON.stringify(e)),t.children().each((function(){l.element(this).css(d.css.suggestionChild)})),t}var n,i,c=[].slice.call(arguments,0),d=this,h=u.suggestions.replace("%PREFIX%",this.cssClasses.prefix).replace("%SUGGESTIONS%",this.cssClasses.suggestions);return n=l.element(h).css(this.css.suggestions),i=a.map(t,e),n.append.apply(n,i),n}function c(){var t=[].slice.call(arguments,0);return t=[{query:e,isEmpty:!h}].concat(t),p.templates.header.apply(this,t)}function d(){var t=[].slice.call(arguments,0);return t=[{query:e,isEmpty:!h}].concat(t),p.templates.footer.apply(this,t)}if(this.$el){var h,p=this,f=[].slice.call(arguments,2);if(this.$el.empty(),h=t&&t.length,this._isEmpty=!h,!h&&this.templates.empty)this.$el.html(n.apply(this,f)).prepend(p.templates.header?c.apply(this,f):null).append(p.templates.footer?d.apply(this,f):null);else if(h)this.$el.html(i.apply(this,f)).prepend(p.templates.header?c.apply(this,f):null).append(p.templates.footer?d.apply(this,f):null);else if(t&&!Array.isArray(t))throw new TypeError("suggestions must be an array");
40this.$menu&&this.$menu.addClass(this.cssClasses.prefix+(h?"with":"without")+"-"+this.name).removeClass(this.cssClasses.prefix+(h?"without":"with")+"-"+this.name),this.trigger("rendered",e)}},getRoot:function(){return this.$el},update:function(e){function t(t){if(!this.canceled&&e===this.query){var n=[].slice.call(arguments,1);this.cacheSuggestions(e,t,n),this._render.apply(this,[e,t].concat(n))}}if(this.query=e,this.canceled=!1,this.shouldFetchFromCache(e))t.apply(this,[this.cachedSuggestions].concat(this.cachedRenderExtraArgs));else{var n=this,i=function(){n.canceled||n.source(e,t.bind(n))};if(this.debounce){clearTimeout(this.debounceTimeout),this.debounceTimeout=setTimeout((function(){n.debounceTimeout=null,i()}),this.debounce)}else i()}},cacheSuggestions:function(e,t,n){this.cachedQuery=e,this.cachedSuggestions=t,this.cachedRenderExtraArgs=n},shouldFetchFromCache:function(e){return this.cache&&this.cachedQuery===e&&this.cachedSuggestions&&this.cachedSuggestions.length},clearCachedSuggestions:function(){delete this.cachedQuery,delete this.cachedSuggestions,delete this.cachedRenderExtraArgs},cancel:function(){this.canceled=!0},clear:function(){this.cancel(),this.$el.empty(),this.trigger("rendered","")},isEmpty:function(){return this._isEmpty},destroy:function(){this.clearCachedSuggestions(),this.$el=null}}),e.exports=i},function(e,t){"use strict";e.exports={wrapper:'<span class="%ROOT%"></span>',dropdown:'<span class="%PREFIX%%DROPDOWN_MENU%"></span>',dataset:'<div class="%PREFIX%%DATASET%-%CLASS%"></div>',suggestions:'<span class="%PREFIX%%SUGGESTIONS%"></span>',suggestion:'<div class="%PREFIX%%SUGGESTION%"></div>'}},function(e,t,n){"use strict";var i=n(4),r={wrapper:{position:"relative",display:"inline-block"},hint:{position:"absolute",top:"0",left:"0",borderColor:"transparent",boxShadow:"none",opacity:"1"},input:{position:"relative",verticalAlign:"top",backgroundColor:"transparent"},inputWithNoHint:{position:"relative",verticalAlign:"top"},dropdown:{position:"absolute",top:"100%",left:"0",zIndex:"100",display:"none"},suggestions:{display:"block"},suggestion:{whiteSpace:"nowrap",cursor:"pointer"},suggestionChild:{whiteSpace:"normal"},ltr:{left:"0",right:"auto"},rtl:{left:"auto",right:"0"},defaultClasses:{root:"algolia-autocomplete",prefix:"aa",noPrefix:!1,dropdownMenu:"dropdown-menu",input:"input",hint:"hint",suggestions:"suggestions",suggestion:"suggestion",cursor:"cursor",dataset:"dataset",empty:"empty"},appendTo:{wrapper:{position:"absolute",zIndex:"100",display:"none"},input:{},inputWithNoHint:{},dropdown:{display:"block"}}};i.isMsie()&&i.mixin(r.input,{backgroundImage:"url(data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7)"}),i.isMsie()&&i.isMsie()<=7&&i.mixin(r.input,{marginTop:"-1px"}),e.exports=r},function(e,t,n){"use strict";e.exports={hits:n(21),popularIn:n(24)}},function(e,t,n){"use strict";var i=n(4),r=n(22),s=n(23);e.exports=function(e,t){var n=s(e.as._ua);return n&&n[0]>=3&&n[1]>20&&((t=t||{}).additionalUA="autocomplete.js "+r),function(n,r){e.search(n,t,(function(e,t){e?i.error(e.message):r(t.hits,t)}))}}},function(e,t){e.exports="0.36.0"},function(e,t){"use strict";e.exports=function(e){var t=e.match(/Algolia for vanilla JavaScript (\d+\.)(\d+\.)(\d+)/);if(t)return[t[1],t[2],t[3]]}},function(e,t,n){"use strict";var i=n(4),r=n(22),s=n(23);e.exports=function(e,t,n,o){var a=s(e.as._ua);if(a&&a[0]>=3&&a[1]>20&&((t=t||{}).additionalUA="autocomplete.js "+r),!n.source)return i.error("Missing 'source' key");var l=i.isFunction(n.source)?n.source:function(e){return e[n.source]};if(!n.index)return i.error("Missing 'index' key");var u=n.index;return o=o||{},function(a,c){e.search(a,t,(function(e,a){if(e)i.error(e.message);else{if(a.hits.length>0){var d=a.hits[0],h=i.mixin({hitsPerPage:0},n);delete h.source,delete h.index;var p=s(u.as._ua);return p&&p[0]>=3&&p[1]>20&&(t.additionalUA="autocomplete.js "+r),void u.search(l(d),h,(function(e,t){if(e)i.error(e.message);else{var n=[];if(o.includeAll){var r=o.allTitle||"All departments";n.push(i.mixin({facet:{value:r,count:t.nbHits}},i.cloneDeep(d)))}i.each(t.facets,(function(e,t){i.each(e,(function(e,r){n.push(i.mixin({facet:{facet:t,value:r,count:e}},i.cloneDeep(d)))}))}));for(var s=1;s<a.hits.length;++s)n.push(a.hits[s]);c(n,a)}}))}c([])}}))}}}]),function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e=e||self).Swiper=t()}(this,(function(){"use strict";var e="undefined"==typeof document?{body:{},addEventListener:function(){},removeEventListener:function(){},activeElement:{blur:function(){},nodeName:""},querySelector:function(){return null},querySelectorAll:function(){return[]},getElementById:function(){return null},createEvent:function(){return{initEvent:function(){}}},createElement:function(){return{children:[],childNodes:[],style:{},setAttribute:function(){},getElementsByTagName:function(){return[]}}},location:{hash:""}}:document,t="undefined"==typeof window?{document:e,navigator:{userAgent:""},location:{},history:{},CustomEvent:function(){return this},addEventListener:function(){},removeEventListener:function(){},getComputedStyle:function(){return{getPropertyValue:function(){return""}}},Image:function(){},Date:function(){},screen:{},setTimeout:function(){},clearTimeout:function(){}}:window,n=function(e){for(var t=0;t<e.length;t+=1)this[t]=e[t];return this.length=e.length,this};function i(i,r){var s=[],o=0;if(i&&!r&&i instanceof n)return i;if(i)if("string"==typeof i){var a,l,u=i.trim();if(0<=u.indexOf("<")&&0<=u.indexOf(">")){var c="div";for(0===u.indexOf("<li")&&(c="ul"),0===u.indexOf("<tr")&&(c="tbody"),0!==u.indexOf("<td")&&0!==u.indexOf("<th")||(c="tr"),0===u.indexOf("<tbody")&&(c="table"),0===u.indexOf("<option")&&(c="select"),(l=e.createElement(c)).innerHTML=u,o=0;o<l.childNodes.length;o+=1)s.push(l.childNodes[o])}else for(a=r||"#"!==i[0]||i.match(/[ .<>:~]/)?(r||e).querySelectorAll(i.trim()):[e.getElementById(i.trim().split("#")[1])],o=0;o<a.length;o+=1)a[o]&&s.push(a[o])}else if(i.nodeType||i===t||i===e)s.push(i);else if(0<i.length&&i[0].nodeType)for(o=0;o<i.length;o+=1)s.push(i[o]);return new n(s)}function r(e){for(var t=[],n=0;n<e.length;
vendor: 73,661 bytes, line 40
40n+=1)-1===t.indexOf(e[n])&&t.push(e[n]);return t}i.fn=n.prototype,i.Class=n,i.Dom7=n;var s={addClass:function(e){if(void 0===e)return this;for(var t=e.split(" "),n=0;n<t.length;n+=1)for(var i=0;i<this.length;i+=1)void 0!==this[i]&&void 0!==this[i].classList&&this[i].classList.add(t[n]);return this},removeClass:function(e){for(var t=e.split(" "),n=0;n<t.length;n+=1)for(var i=0;i<this.length;i+=1)void 0!==this[i]&&void 0!==this[i].classList&&this[i].classList.remove(t[n]);return this},hasClass:function(e){return!!this[0]&&this[0].classList.contains(e)},toggleClass:function(e){for(var t=e.split(" "),n=0;n<t.length;n+=1)for(var i=0;i<this.length;i+=1)void 0!==this[i]&&void 0!==this[i].classList&&this[i].classList.toggle(t[n]);return this},attr:function(e,t){var n=arguments;if(1===arguments.length&&"string"==typeof e)return this[0]?this[0].getAttribute(e):void 0;for(var i=0;i<this.length;i+=1)if(2===n.length)this[i].setAttribute(e,t);else for(var r in e)this[i][r]=e[r],this[i].setAttribute(r,e[r]);return this},removeAttr:function(e){for(var t=0;t<this.length;t+=1)this[t].removeAttribute(e);return this},data:function(e,t){var n;if(void 0!==t){for(var i=0;i<this.length;i+=1)(n=this[i]).dom7ElementDataStorage||(n.dom7ElementDataStorage={}),n.dom7ElementDataStorage[e]=t;return this}if(n=this[0])return n.dom7ElementDataStorage&&e in n.dom7ElementDataStorage?n.dom7ElementDataStorage[e]:n.getAttribute("data-"+e)||void 0},transform:function(e){for(var t=0;t<this.length;t+=1){var n=this[t].style;n.webkitTransform=e,n.transform=e}return this},transition:function(e){"string"!=typeof e&&(e+="ms");for(var t=0;t<this.length;t+=1){var n=this[t].style;n.webkitTransitionDuration=e,n.transitionDuration=e}return this},on:function(){for(var e,t=[],n=arguments.length;n--;)t[n]=arguments[n];var r=t[0],s=t[1],o=t[2],a=t[3];function l(e){var t=e.target;if(t){var n=e.target.dom7EventData||[];if(n.indexOf(e)<0&&n.unshift(e),i(t).is(s))o.apply(t,n);else for(var r=i(t).parents(),a=0;a<r.length;a+=1)i(r[a]).is(s)&&o.apply(r[a],n)}}function u(e){var t=e&&e.target&&e.target.dom7EventData||[];t.indexOf(e)<0&&t.unshift(e),o.apply(this,t)}"function"==typeof t[1]&&(r=(e=t)[0],o=e[1],a=e[2],s=void 0),a=a||!1;for(var c,d=r.split(" "),h=0;h<this.length;h+=1){var p=this[h];if(s)for(c=0;c<d.length;c+=1){var f=d[c];p.dom7LiveListeners||(p.dom7LiveListeners={}),p.dom7LiveListeners[f]||(p.dom7LiveListeners[f]=[]),p.dom7LiveListeners[f].push({listener:o,proxyListener:l}),p.addEventListener(f,l,a)}else for(c=0;c<d.length;c+=1){var m=d[c];p.dom7Listeners||(p.dom7Listeners={}),p.dom7Listeners[m]||(p.dom7Listeners[m]=[]),p.dom7Listeners[m].push({listener:o,proxyListener:u}),p.addEventListener(m,u,a)}}return this},off:function(){for(var e,t=[],n=arguments.length;n--;)t[n]=arguments[n];var i=t[0],r=t[1],s=t[2],o=t[3];"function"==typeof t[1]&&(i=(e=t)[0],s=e[1],o=e[2],r=void 0),o=o||!1;for(var a=i.split(" "),l=0;l<a.length;l+=1)for(var u=a[l],c=0;c<this.length;c+=1){var d=this[c],h=void 0;if(!r&&d.dom7Listeners?h=d.dom7Listeners[u]:r&&d.dom7LiveListeners&&(h=d.dom7LiveListeners[u]),h&&h.length)for(var p=h.length-1;0<=p;p-=1){var f=h[p];s&&f.listener===s||s&&f.listener&&f.listener.dom7proxy&&f.listener.dom7proxy===s?(d.removeEventListener(u,f.proxyListener,o),h.splice(p,1)):s||(d.removeEventListener(u,f.proxyListener,o),h.splice(p,1))}}return this},trigger:function(){for(var n=[],i=arguments.length;i--;)n[i]=arguments[i];for(var r=n[0].split(" "),s=n[1],o=0;o<r.length;o+=1)for(var a=r[o],l=0;l<this.length;l+=1){var u=this[l],c=void 0;try{c=new t.CustomEvent(a,{detail:s,bubbles:!0,cancelable:!0})}catch(n){(c=e.createEvent("Event")).initEvent(a,!0,!0),c.detail=s}u.dom7EventData=n.filter((function(e,t){return 0<t})),u.dispatchEvent(c),u.dom7EventData=[],delete u.dom7EventData}return this},transitionEnd:function(e){var t,n=["webkitTransitionEnd","transitionend"],i=this;function r(s){if(s.target===this)for(e.call(this,s),t=0;t<n.length;t+=1)i.off(n[t],r)}if(e)for(t=0;t<n.length;t+=1)i.on(n[t],r);return this},outerWidth:function(e){if(0<this.length){if(e){var t=this.styles();return this[0].offsetWidth+parseFloat(t.getPropertyValue("margin-right"))+parseFloat(t.getPropertyValue("margin-left"))}return this[0].offsetWidth}return null},outerHeight:function(e){if(0<this.length){if(e){var t=this.styles();return this[0].offsetHeight+parseFloat(t.getPropertyValue("margin-top"))+parseFloat(t.getPropertyValue("margin-bottom"))}return this[0].offsetHeight}return null},offset:function(){if(0<this.length){var n=this[0],i=n.getBoundingClientRect(),r=e.body,s=n.clientTop||r.clientTop||0,o=n.clientLeft||r.clientLeft||0,a=n===t?t.scrollY:n.scrollTop,l=n===t?t.scrollX:n.scrollLeft;return{top:i.top+a-s,left:i.left+l-o}}return null},css:function(e,n){var i;if(1===arguments.length){if("string"!=typeof e){for(i=0;i<this.length;i+=1)for(var r in e)this[i].style[r]=e[r];return this}if(this[0])return t.getComputedStyle(this[0],null).getPropertyValue(e)}if(2!==arguments.length||"string"!=typeof e)return this;for(i=0;i<this.length;i+=1)this[i].style[e]=n;return this},each:function(e){if(!e)return this;for(var t=0;t<this.length;t+=1)if(!1===e.call(this[t],t,this[t]))return this;return this},html:function(e){if(void 0===e)return this[0]?this[0].innerHTML:void 0;for(var t=0;t<this.length;t+=1)this[t].innerHTML=e;return this},text:function(e){if(void 0===e)return this[0]?this[0].textContent.trim():null;for(var t=0;t<this.length;t+=1)this[t].textContent=e;return this},is:function(r){var s,o,a=this[0];if(!a||void 0===r)return!1;if("string"==typeof r){if(a.matches)return a.matches(r);if(a.webkitMatchesSelector)return a.webkitMatchesSelector(r);if(a.msMatchesSelector)return a.msMatchesSelector(r);for(s=i(r),o=0;o<s.length;o+=1)if(s[o]===a)return!0;return!1}if(r===e)return a===e;if(r===t)return a===t;if(r.nodeType||r instanceof n){for(s=r.nodeType?[r]:r,o=0;o<s.length;o+=1)if(s[o]===a)return!0;return!1}return!1},index:function(){var e,t=this[0];if(t){for(e=0;null!==(t=t.previousSibling);)1===t.nodeType&&(e+=1);return e}},eq:function(e){if(void 0===e)return this;var t,i=this.length;return new n(i-1<e?[]:e<0?(t=i+e)<0?[]:[this[t]]:[this[e]])},append:function(){for(var t,i=[],r=arguments.length;r--;)i[r]=arguments[r];for(var s=0;s<i.length;s+=1){t=i[s];for(var o=0;o<this.length;o+=1)if("string"==typeof t){var a=e.createElement("div");for(a.innerHTML=t;a.firstChild;)this[o].appendChild(a.firstChild)}else if(t instanceof n)for(var l=0;l<t.length;l+=1)this[o].appendChild(t[l]);else this[o].appendChild(t)}return this},prepend:function(t){var i,r;for(i=0;i<this.length;i+=1)if("string"==typeof t){var s=e.createElement("div");for(s.innerHTML=t,r=s.childNodes.length-1;0<=r;r-=1)this[i].insertBefore(s.childNodes[r],this[i].childNodes[0])}else if(t instanceof n)for(r=0;r<t.length;r+=1)this[i].insertBefore(t[r],this[i].childNodes[0]);else this[i].insertBefore(t,this[i].childNodes[0]);return this},next:function(e){return 0<this.length?e?this[0].nextElementSibling&&i(this[0].nextElementSibling).is(e)?new n([this[0].nextElementSibling]):new n([]):this[0].nextElementSibling?new n([this[0].nextElementSibling]):new n([]):new n([])},nextAll:function(e){var t=[],r=this[0];if(!r)return new n([]);for(;r.nextElementSibling;){var s=r.nextElementSibling;e?i(s).is(e)&&t.push(s):t.push(s),r=s}return new n(t)},prev:function(e){if(0<this.length){var t=this[0];return e?t.previousElementSibling&&i(t.previousElementSibling).is(e)?new n([t.previousElementSibling]):new n([]):t.previousElementSibling?new n([t.previousElementSibling]):new n([])}return new n([])},prevAll:function(e){var t=[],r=this[0];if(!r)return new n([]);for(;r.previousElementSibling;){var s=r.previousElementSibling;e?i(s).is(e)&&t.push(s):t.push(s),r=s}return new n(t)},parent:function(e){for(var t=[],n=0;n<this.length;n+=1)null!==this[n].parentNode&&(e?i(this[n].parentNode).is(e)&&t.push(this[n].parentNode):t.push(this[n].parentNode));return i(r(t))},parents:function(e){for(var t=[],n=0;n<this.length;n+=1)for(var s=this[n].parentNode;s;)e?i(s).is(e)&&t.push(s):t.push(s),s=s.parentNode;return i(r(t))},closest:function(e){var t=this;return void 0===e?new n([]):(t.is(e)||(t=t.parents(e).eq(0)),t)},find:function(e){for(var t=[],i=0;i<this.length;i+=1)for(var r=this[i].querySelectorAll(e),s=0;s<r.length;s+=1)t.push(r[s]);return new n(t)},children:function(e){for(var t=[],s=0;s<this.length;s+=1)for(var o=this[s].childNodes,a=0;a<o.length;a+=1)e?1===o[a].nodeType&&i(o[a]).is(e)&&t.push(o[a]):1===o[a].nodeType&&t.push(o[a]);return new n(r(t))},remove:function(){for(var e=0;e<this.length;e+=1)this[e].parentNode&&this[e].parentNode.removeChild(this[e]);return this},add:function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var n,r;for(n=0;n<e.length;n+=1){var s=i(e[n]);for(r=0;r<s.length;r+=1)this[this.length]=s[r],this.length+=1}return this},styles:function(){return this[0]?t.getComputedStyle(this[0],null):{}}};function o(e){void 0===e&&(e={});var t=this;t.params=e,t.eventsListeners={},t.params&&t.params.on&&Object.keys(t.params.on).forEach((function(e){t.on(e,t.params.on[e])}))}Object.keys(s).forEach((function(e){i.fn[e]=i.fn[e]||s[e]}));var a,l,u,c,d={deleteProps:function(e){var t=e;Object.keys(t).forEach((function(e){try{t[e]=null}catch(e){}try{delete t[e]}catch(e){}}))},nextTick:function(e,t){return void 0===t&&(t=0),setTimeout(e,t)},now:function(){return Date.now()},getTranslate:function(e,n){var i,r,s;void 0===n&&(n="x");var o=t.getComputedStyle(e,null);return t.WebKitCSSMatrix?(6<(r=o.transform||o.webkitTransform).split(",").length&&(r=r.split(", ").map((function(e){return e.replace(",",".")})).join(", ")),s=new t.WebKitCSSMatrix("none"===r?"":r)):i=(s=o.MozTransform||o.OTransform||o.MsTransform||o.msTransform||o.transform||o.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,")).toString().split(","),"x"===n&&(r=t.WebKitCSSMatrix?s.m41:16===i.length?parseFloat(i[12]):parseFloat(i[4])),"y"===n&&(r=t.WebKitCSSMatrix?s.m42:16===i.length?parseFloat(i[13]):parseFloat(i[5])),r||0},parseUrlQuery:function(e){var n,i,r,s,o={},a=e||t.location.href;if("string"==typeof a&&a.length)for(s=(i=(a=-1<a.indexOf("?")?a.replace(/\S*\?/,""):"").split("&").filter((function(e){return""!==e}))).length,n=0;n<s;n+=1)r=i[n].replace(/#\S+/g,"").split("="),o[decodeURIComponent(r[0])]=void 0===r[1]?void 0:decodeURIComponent(r[1])||"";return o},isObject:function(e){return"object"==typeof e&&null!==e&&e.constructor&&e.constructor===Object},extend:function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];for(var n=Object(e[0]),i=1;i<e.length;i+=1){var r=e[i];if(null!=r)for(var s=Object.keys(Object(r)),o=0,a=s.length;o<a;o+=1){var l=s[o],u=Object.getOwnPropertyDescriptor(r,l);void 0!==u&&u.enumerable&&(d.isObject(n[l])&&d.isObject(r[l])?d.extend(n[l],r[l]):!d.isObject(n[l])&&d.isObject(r[l])?(n[l]={},d.extend(n[l],r[l])):n[l]=r[l])}}return n}},h=(u=e.createElement("div"),{touch:t.Modernizr&&!0===t.Modernizr.touch||!!(0<t.navigator.maxTouchPoints||"ontouchstart"in t||t.DocumentTouch&&e instanceof t.DocumentTouch),pointerEvents:!!(t.navigator.pointerEnabled||t.PointerEvent||"maxTouchPoints"in t.navigator&&0<t.navigator.maxTouchPoints),prefixedPointerEvents:!!t.navigator.msPointerEnabled,transition:(l=u.style,"transition"in l||"webkitTransition"in l||"MozTransition"in l),transforms3d:t.Modernizr&&!0===t.Modernizr.csstransforms3d||(a=u.style,"webkitPerspective"in a||"MozPerspective"in a||"OPerspective"in a||"MsPerspective"in a||"perspective"in a),flexbox:function(){for(var e=u.style,t="alignItems webkitAlignItems webkitBoxAlign msFlexAlign mozBoxAlign webkitFlexDirection msFlexDirection mozBoxDirection mozBoxOrient webkitBoxDirection webkitBoxOrient".split(" "),n=0;n<t.length;n+=1)if(t[n]in e)return!0;return!1}(),observer:"MutationObserver"in t||"WebkitMutationObserver"in t,passiveListener:function(){var e=!1;try{var n=Object.defineProperty({},"passive",{get:function(){e=!0}});t.addEventListener("testPassiveListener",null,n)}catch(e){}return e}(),gestures:"ongesturestart"in t}),p={isIE:!!t.navigator.userAgent.match(/Trident/g)||!!t.navigator.userAgent.match(/MSIE/g),isEdge:!!t.navigator.userAgent.match(/Edge/g),isSafari:(c=t.navigator.userAgent.toLowerCase(),0<=c.indexOf("safari")&&c.indexOf("chrome")<0&&c.indexOf("android")<0),isUiWebView:/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(t.navigator.userAgent)},f={components:{configurable:!0}};o.prototype.on=function(e,t,n){var i=this;if("function"!=typeof t)return i;var r=n?"unshift":"push";return e.split(" ").forEach((function(e){i.eventsListeners[e]||(i.eventsListeners[e]=[]),i.eventsListeners[e][r](t)})),i},o.prototype.once=function(e,t,n){var i=this;if("function"!=typeof t)return i;function r(){for(var n=[],s=arguments.length;s--;)n[s]=arguments[s];t.apply(i,n),i.off(e,r),r.f7proxy&&delete r.f7proxy}return r.f7proxy=t,i.on(e,r,n)},o.prototype.off=function(e,t){var n=this;return n.eventsListeners&&e.split(" ").forEach((function(e){void 0===t?n.eventsListeners[e]=[]:n.eventsListeners[e]&&n.eventsListeners[e].length&&n.eventsListeners[e].forEach((function(i,r){(i===t||i.f7proxy&&i.f7proxy===t)&&n.eventsListeners[e].splice(r,1)}))})),n},o.prototype.emit=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var n,i,r,s=this;return s.eventsListeners&&(r="string"==typeof e[0]||Array.isArray(e[0])?(n=e[0],i=e.slice(1,e.length),s):(n=e[0].events,i=e[0].data,e[0].context||s),(Array.isArray(n)?n:n.split(" ")).forEach((function(e){if(s.eventsListeners&&s.eventsListeners[e]){var t=[];s.eventsListeners[e].forEach((function(e){t.push(e)})),t.forEach((function(e){e.apply(r,i)}))}}))),s},o.prototype.useModulesParams=function(e){var t=this;t.modules&&Object.keys(t.modules).forEach((function(n){var i=t.modules[n];i.params&&d.extend(e,i.params)}))},o.prototype.useModules=function(e){void 0===e&&(e={});var t=this;t.modules&&Object.keys(t.modules).forEach((function(n){var i=t.modules[n],r=e[n]||{};i.instance&&Object.keys(i.instance).forEach((function(e){var n=i.instance[e];t[e]="function"==typeof n?n.bind(t):n})),i.on&&t.on&&Object.keys(i.on).forEach((function(e){t.on(e,i.on[e])})),i.create&&i.create.bind(t)(r)}))},f.components.set=function(e){this.use&&this.use(e)},o.installModule=function(e){for(var t=[],n=arguments.length-1;0<n--;)t[n]=arguments[n+1];var i=this;i.prototype.modules||(i.prototype.modules={});var r=e.name||Object.keys(i.prototype.modules).length+"_"+d.now();return(i.prototype.modules[r]=e).proto&&Object.keys(e.proto).forEach((function(t){i.prototype[t]=e.proto[t]})),e.static&&Object.keys(e.static).forEach((function(t){i[t]=e.static[t]})),e.install&&e.install.apply(i,t),i},o.use=function(e){for(var t=[],n=arguments.length-1;0<n--;)t[n]=arguments[n+1];var i=this;return Array.isArray(e)?(e.forEach((function(e){return i.installModule(e)})),i):i.installModule.apply(i,[e].concat(t))},Object.defineProperties(o,f);var m={updateSize:function(){var e,t,n=this,i=n.$el;e=void 0!==n.params.width?n.params.width:i[0].clientWidth,t=void 0!==n.params.height?n.params.height:i[0].clientHeight,0===e&&n.isHorizontal()||0===t&&n.isVertical()||(e=e-parseInt(i.css("padding-left"),10)-parseInt(i.css("padding-right"),10),t=t-parseInt(i.css("padding-top"),10)-parseInt(i.css("padding-bottom"),10),d.extend(n,{width:e,height:t,size:n.isHorizontal()?e:t}))},updateSlides:function(){var e=this,n=e.params,i=e.$wrapperEl,r=e.size,s=e.rtlTranslate,o=e.wrongRTL,a=e.virtual&&n.virtual.enabled,l=a?e.virtual.slides.length:e.slides.length,u=i.children("."+e.params.slideClass),c=a?e.virtual.slides.length:u.length,f=[],m=[],g=[],v=n.slidesOffsetBefore;"function"==typeof v&&(v=n.slidesOffsetBefore.call(e));var y=n.slidesOffsetAfter;"function"==typeof y&&(y=n.slidesOffsetAfter.call(e));var b=e.snapGrid.length,w=e.snapGrid.length,x=n.spaceBetween,C=-v,E=0,T=0;if(void 0!==r){var S,k;"string"==typeof x&&0<=x.indexOf("%")&&(x=parseFloat(x.replace("%",""))/100*r),e.virtualSize=-x,s?u.css({marginLeft:"",marginTop:""}):u.css({marginRight:"",marginBottom:""}),1<n.slidesPerColumn&&(S=Math.floor(c/n.slidesPerColumn)===c/e.params.slidesPerColumn?c:Math.ceil(c/n.slidesPerColumn)*n.slidesPerColumn,"auto"!==n.slidesPerView&&"row"===n.slidesPerColumnFill&&(S=Math.max(S,n.slidesPerView*n.slidesPerColumn)));for(var _,A=n.slidesPerColumn,D=S/A,z=Math.floor(c/n.slidesPerColumn),M=0;M<c;M+=1){k=0;var L=u.eq(M);if(1<n.slidesPerColumn){var P=void 0,$=void 0,I=void 0;if("column"===n.slidesPerColumnFill||"row"===n.slidesPerColumnFill&&1<n.slidesPerGroup){if("column"===n.slidesPerColumnFill)I=M-($=Math.floor(M/A))*A,(z<$||$===z&&I===A-1)&&A<=(I+=1)&&(I=0,$+=1);else{var O=Math.floor(M/n.slidesPerGroup);$=M-(I=Math.floor(M/n.slidesPerView)-O*n.slidesPerColumn)*n.slidesPerView-O*n.slidesPerView}P=$+I*S/A,L.css({"-webkit-box-ordinal-group":P,"-moz-box-ordinal-group":P,"-ms-flex-order":P,"-webkit-order":P,order:P})}else $=M-(I=Math.floor(M/D))*D;L.css("margin-"+(e.isHorizontal()?"top":"left"),0!==I&&n.spaceBetween&&n.spaceBetween+"px").attr("data-swiper-column",$).attr("data-swiper-row",I)}if("none"!==L.css("display")){if("auto"===n.slidesPerView){var R=t.getComputedStyle(L[0],null),N=L[0].style.transform,H=L[0].style.webkitTransform;if(N&&(L[0].style.transform="none"),H&&(L[0].style.webkitTransform="none"),n.roundLengths)k=e.isHorizontal()?L.outerWidth(!0):L.outerHeight(!0);else if(e.isHorizontal()){var q=parseFloat(R.getPropertyValue("width")),B=parseFloat(R.getPropertyValue("padding-left")),j=parseFloat(R.getPropertyValue("padding-right")),F=parseFloat(R.getPropertyValue("margin-left")),W=parseFloat(R.getPropertyValue("margin-right")),V=R.getPropertyValue("box-sizing");k=V&&"border-box"===V&&!p.isIE?q+F+W:q+B+j+F+W}else{var G=parseFloat(R.getPropertyValue("height")),Y=parseFloat(R.getPropertyValue("padding-top")),U=parseFloat(R.getPropertyValue("padding-bottom")),X=parseFloat(R.getPropertyValue("margin-top")),K=parseFloat(R.getPropertyValue("margin-bottom")),Q=R.getPropertyValue("box-sizing");k=Q&&"border-box"===Q&&!p.isIE?G+X+K:G+Y+U+X+K}N&&(L[0].style.transform=N),H&&(L[0].style.webkitTransform=H),n.roundLengths&&(k=Math.floor(k))}else k=(r-(n.slidesPerView-1)*x)/n.slidesPerView,n.roundLengths&&(k=Math.floor(k)),u[M]&&(e.isHorizontal()?u[M].style.width=k+"px":u[M].style.height=k+"px");u[M]&&(u[M].swiperSlideSize=k),g.push(k),n.centeredSlides?(C=C+k/2+E/2+x,0===E&&0!==M&&(C=C-r/2-x),0===M&&(C=C-r/2-x),Math.abs(C)<.001&&(C=0),n.roundLengths&&(C=Math.floor(C)),T%n.slidesPerGroup==0&&f.push(C),m.push(C)):(n.roundLengths&&(C=Math.floor(C)),T%n.slidesPerGroup==0&&f.push(C),m.push(C),C=C+k+x),e.virtualSize+=k+x,E=k,T+=1}}if(e.virtualSize=Math.max(e.virtualSize,r)+y,s&&o&&("slide"===n.effect||"coverflow"===n.effect)&&i.css({width:e.virtualSize+n.spaceBetween+"px"}),h.flexbox&&!n.setWrapperSize||(e.isHorizontal()?i.css({width:e.virtualSize+n.spaceBetween+"px"}):i.css({height:e.virtualSize+n.spaceBetween+"px"})),1<n.slidesPerColumn&&(e.virtualSize=(k+n.spaceBetween)*S,e.virtualSize=Math.ceil(e.virtualSize/n.slidesPerColumn)-n.spaceBetween,e.isHorizontal()?i.css({width:e.virtualSize+n.spaceBetween+"px"}):i.css({height:e.virtualSize+n.spaceBetween+"px"}),n.centeredSlides)){_=[];for(var Z=0;Z<f.length;Z+=1){var J=f[Z];n.roundLengths&&(J=Math.floor(J)),f[Z]<e.virtualSize+f[0]&&_.push(J)}f=_}if(!n.centeredSlides){_=[];for(var ee=0;ee<f.length;ee+=1){var te=f[ee];n.roundLengths&&(te=Math.floor(te)),f[ee]<=e.virtualSize-r&&_.push(te)}f=_,1<Math.floor(e.virtualSize-r)-Math.floor(f[f.length-1])&&f.push(e.virtualSize-r)}if(0===f.length&&(f=[0]),0!==n.spaceBetween&&(e.isHorizontal()?s?u.css({marginLeft:x+"px"}):u.css({marginRight:x+"px"}):u.css({marginBottom:x+"px"})),n.centerInsufficientSlides){var ne=0;if(g.forEach((function(e){ne+=e+(n.spaceBetween?n.spaceBetween:0)})),(ne-=n.spaceBetween)<r){var ie=(r-ne)/2;f.forEach((function(e,t){f[t]=e-ie})),m.forEach((function(e,t){m[t]=e+ie}))}}d.extend(e,{slides:u,snapGrid:f,slidesGrid:m,slidesSizesGrid:g}),c!==l&&e.emit("slidesLengthChange"),f.length!==b&&(e.params.watchOverflow&&e.checkOverflow(),e.emit("snapGridLengthChange")),m.length!==w&&e.emit("slidesGridLengthChange"),(n.watchSlidesProgress||n.watchSlidesVisibility)&&e.updateSlidesOffset()}},updateAutoHeight:function(e){var t,n=this,i=[],r=0;if("number"==typeof e?n.setTransition(e):!0===e&&n.setTransition(n.params.speed),"auto"!==n.params.slidesPerView&&1<n.params.slidesPerView)for(t=0;t<Math.ceil(n.params.slidesPerView);t+=1){var s=n.activeIndex+t;if(s>n.slides.length)break;i.push(n.slides.eq(s)[0])}else i.push(n.slides.eq(n.activeIndex)[0]);for(t=0;t<i.length;t+=1)if(void 0!==i[t]){var o=i[t].offsetHeight;r=r<o?o:r}r&&n.$wrapperEl.css("height",r+"px")},updateSlidesOffset:function(){for(var e=this.slides,t=0;t<e.length;t+=1)e[t].swiperSlideOffset=this.isHorizontal()?e[t].offsetLeft:e[t].offsetTop},updateSlidesProgress:function(e){void 0===e&&(e=this&&this.translate||0);var t=this,n=t.params,r=t.slides,s=t.rtlTranslate;if(0!==r.length){void 0===r[0].swiperSlideOffset&&t.updateSlidesOffset();var o=-e;s&&(o=e),r.removeClass(n.slideVisibleClass),t.visibleSlidesIndexes=[],t.visibleSlides=[];for(var a=0;a<r.length;a+=1){var l=r[a],u=(o+(n.centeredSlides?t.minTranslate():0)-l.swiperSlideOffset)/(l.swiperSlideSize+n.spaceBetween);if(n.watchSlidesVisibility){var c=-(o-l.swiperSlideOffset),d=c+t.slidesSizesGrid[a];(0<=c&&c<t.size-1||1<d&&d<=t.size||c<=0&&d>=t.size)&&(t.visibleSlides.push(l),t.visibleSlidesIndexes.push(a),r.eq(a).addClass(n.slideVisibleClass))}l.progress=s?-u:u}t.visibleSlides=i(t.visibleSlides)}},updateProgress:function(e){void 0===e&&(e=this&&this.translate||0);var t=this,n=t.params,i=t.maxTranslate()-t.minTranslate(),r=t.progress,s=t.isBeginning,o=t.isEnd,a=s,l=o;o=0==i?s=!(r=0):(s=(r=(e-t.minTranslate())/i)<=0,1<=r),d.extend(t,{progress:r,isBeginning:s,isEnd:o}),(n.watchSlidesProgress||n.watchSlidesVisibility)&&t.updateSlidesProgress(e),s&&!a&&t.emit("reachBeginning toEdge"),o&&!l&&t.emit("reachEnd toEdge"),(a&&!s||l&&!o)&&t.emit("fromEdge"),t.emit("progress",r)},updateSlidesClasses:function(){var e,t=this,n=t.slides,i=t.params,r=t.$wrapperEl,s=t.activeIndex,o=t.realIndex,a=t.virtual&&i.virtual.enabled;n.removeClass(i.slideActiveClass+" "+i.slideNextClass+" "+i.slidePrevClass+" "+i.slideDuplicateActiveClass+" "+i.slideDuplicateNextClass+" "+i.slideDuplicatePrevClass),(e=a?t.$wrapperEl.find("."+i.slideClass+'[data-swiper-slide-index="'+s+'"]'):n.eq(s)).addClass(i.slideActiveClass),i.loop&&(e.hasClass(i.slideDuplicateClass)?r.children("."+i.slideClass+":not(."+i.slideDuplicateClass+')[data-swiper-slide-index="'+o+'"]').addClass(i.slideDuplicateActiveClass):r.children("."+i.slideClass+"."+i.slideDuplicateClass+'[data-swiper-slide-index="'+o+'"]').addClass(i.slideDuplicateActiveClass));var l=e.nextAll("."+i.slideClass).eq(0).addClass(i.slideNextClass);i.loop&&0===l.length&&(l=n.eq(0)).addClass(i.slideNextClass);var u=e.prevAll("."+i.slideClass).eq(0).addClass(i.slidePrevClass);i.loop&&0===u.length&&(u=n.eq(-1)).addClass(i.slidePrevClass),i.loop&&(l.hasClass(i.slideDuplicateClass)?r.children("."+i.slideClass+":not(."+i.slideDuplicateClass+')[data-swiper-slide-index="'+l.attr("data-swiper-slide-index")+'"]').addClass(i.slideDuplicateNextClass):r.children("."+i.slideClass+"."+i.slideDuplicateClass+'[data-swiper-slide-index="'+l.attr("data-swiper-slide-index")+'"]').addClass(i.slideDuplicateNextClass),u.hasClass(i.slideDuplicateClass)?r.children("."+i.slideClass+":not(."+i.slideDuplicateClass+')[data-swiper-slide-index="'+u.attr("data-swiper-slide-index")+'"]').addClass(i.slideDuplicatePrevClass):r.children("."+i.slideClass+"."+i.slideDuplicateClass+'[data-swiper-slide-index="'+u.attr("data-swiper-slide-index")+'"]').addClass(i.slideDuplicatePrevClass))},updateActiveIndex:function(e){var t,n=this,i=n.rtlTranslate?n.translate:-n.translate,r=n.slidesGrid,s=n.snapGrid,o=n.params,a=n.activeIndex,l=n.realIndex,u=n.snapIndex,c=e;if(void 0===c){for(var h=0;h<r.length;h+=1)void 0!==r[h+1]?i>=r[h]&&i<r[h+1]-(r[h+1]-r[h])/2?c=h:i>=r[h]&&i<r[h+1]&&(c=h+1):i>=r[h]&&(c=h);o.normalizeSlideIndex&&(c<0||void 0===c)&&(c=0)}if((t=0<=s.indexOf(i)?s.indexOf(i):Math.floor(c/o.slidesPerGroup))>=s.length&&(t=s.length-1),c!==a){var p=parseInt(n.slides.eq(c).attr("data-swiper-slide-index")||c,10);d.extend(n,{snapIndex:t,realIndex:p,previousIndex:a,activeIndex:c}),n.emit("activeIndexChange"),n.emit("snapIndexChange"),l!==p&&n.emit("realIndexChange"),(n.initialized||n.runCallbacksOnInit)&&n.emit("slideChange")}else t!==u&&(n.snapIndex=t,n.emit("snapIndexChange"))},updateClickedSlide:function(e){var t=this,n=t.params,r=i(e.target).closest("."+n.slideClass)[0],s=!1;if(r)for(var o=0;o<t.slides.length;o+=1)t.slides[o]===r&&(s=!0);if(!r||!s)return t.clickedSlide=void 0,void(t.clickedIndex=void 0);t.clickedSlide=r,t.virtual&&t.params.virtual.enabled?t.clickedIndex=parseInt(i(r).attr("data-swiper-slide-index"),10):t.clickedIndex=i(r).index(),n.slideToClickedSlide&&void 0!==t.clickedIndex&&t.clickedIndex!==t.activeIndex&&t.slideToClickedSlide()}},g={getTranslate:function(e){void 0===e&&(e=this.isHorizontal()?"x":"y");var t=this.params,n=this.rtlTranslate,i=this.translate,r=this.$wrapperEl;if(t.virtualTranslate)return n?-i:i;var s=d.getTranslate(r[0],e);return n&&(s=-s),s||0},setTranslate:function(e,t){var n=this,i=n.rtlTranslate,r=n.params,s=n.$wrapperEl,o=n.progress,a=0,l=0;n.isHorizontal()?a=i?-e:e:l=e,r.roundLengths&&(a=Math.floor(a),l=Math.floor(l)),r.virtualTranslate||(h.transforms3d?s.transform("translate3d("+a+"px, "+l+"px, 0px)"):s.transform("translate("+a+"px, "+l+"px)")),n.previousTranslate=n.translate,n.translate=n.isHorizontal()?a:l;var u=n.maxTranslate()-n.minTranslate();(0==u?0:(e-n.minTranslate())/u)!==o&&n.updateProgress(e),n.emit("setTranslate",n.translate,t)},minTranslate:function(){return-this.snapGrid[0]},maxTranslate:function(){return-this.snapGrid[this.snapGrid.length-1]}},v={slideTo:function(e,t,n,i){void 0===e&&(e=0),void 0===t&&(t=this.params.speed),void 0===n&&(n=!0);var r=this,s=e;s<0&&(s=0);var o=r.params,a=r.snapGrid,l=r.slidesGrid,u=r.previousIndex,c=r.activeIndex,d=r.rtlTranslate;if(r.animating&&o.preventInteractionOnTransition)return!1;var p=Math.floor(s/o.slidesPerGroup);p>=a.length&&(p=a.length-1),(c||o.initialSlide||0)===(u||0)&&n&&r.emit("beforeSlideChangeStart");var f,m=-a[p];if(r.updateProgress(m),o.normalizeSlideIndex)for(var g=0;g<l.length;g+=1)-Math.floor(100*m)>=Math.floor(100*l[g])&&(s=g);if(r.initialized&&s!==c){if(!r.allowSlideNext&&m<r.translate&&m<r.minTranslate())return!1;if(!r.allowSlidePrev&&m>r.translate&&m>r.maxTranslate()&&(c||0)!==s)return!1}return f=c<s?"next":s<c?"prev":"reset",d&&-m===r.translate||!d&&m===r.translate?(r.updateActiveIndex(s),o.autoHeight&&r.updateAutoHeight(),r.updateSlidesClasses(),"slide"!==o.effect&&r.setTranslate(m),"reset"!==f&&(r.transitionStart(n,f),r.transitionEnd(n,f)),!1):(0!==t&&h.transition?(r.setTransition(t),r.setTranslate(m),r.updateActiveIndex(s),r.updateSlidesClasses(),r.emit("beforeTransitionStart",t,i),r.transitionStart(n,f),r.animating||(r.animating=!0,r.onSlideToWrapperTransitionEnd||(r.onSlideToWrapperTransitionEnd=function(e){r&&!r.destroyed&&e.target===this&&(r.$wrapperEl[0].removeEventListener("transitionend",r.onSlideToWrapperTransitionEnd),r.$wrapperEl[0].removeEventListener("webkitTransitionEnd",r.onSlideToWrapperTransitionEnd),r.onSlideToWrapperTransitionEnd=null,delete r.onSlideToWrapperTransitionEnd,r.transitionEnd(n,f))}),r.$wrapperEl[0].addEventListener("transitionend",r.onSlideToWrapperTransitionEnd),r.$wrapperEl[0].addEventListener("webkitTransitionEnd",r.onSlideToWrapperTransitionEnd))):(r.setTransition(0),r.setTranslate(m),r.updateActiveIndex(s),r.updateSlidesClasses(),r.emit("beforeTransitionStart",t,i),r.transitionStart(n,f),r.transitionEnd(n,f)),!0)},slideToLoop:function(e,t,n,i){void 0===e&&(e=0),void 0===t&&(t=this.params.speed),void 0===n&&(n=!0);var r=e;return this.params.loop&&(r+=this.loopedSlides),this.slideTo(r,t,n,i)},slideNext:function(e,t,n){void 0===e&&(e=this.params.speed),void 0===t&&(t=!0);var i=this,r=i.params,s=i.animating;return r.loop?!s&&(i.loopFix(),i._clientLeft=i.$wrapperEl[0].clientLeft,i.slideTo(i.activeIndex+r.slidesPerGroup,e,t,n)):i.slideTo(i.activeIndex+r.slidesPerGroup,e,t,n)},slidePrev:function(e,t,n){void 0===e&&(e=this.params.speed),void 0===t&&(t=!0);var i=this,r=i.params,s=i.animating,o=i.snapGrid,a=i.slidesGrid,l=i.rtlTranslate;if(r.loop){if(s)return!1;i.loopFix(),i._clientLeft=i.$wrapperEl[0].clientLeft}function u(e){return e<0?-Math.floor(Math.abs(e)):Math.floor(e)}var c,d=u(l?i.translate:-i.translate),h=o.map((function(e){return u(e)})),p=(a.map((function(e){return u(e)})),o[h.indexOf(d)],o[h.indexOf(d)-1]);return void 0!==p&&(c=a.indexOf(p))<0&&(c=i.activeIndex-1),i.slideTo(c,e,t,n)},slideReset:function(e,t,n){return void 0===e&&(e=this.params.speed),void 0===t&&(t=!0),this.slideTo(this.activeIndex,e,t,n)},slideToClosest:function(e,t,n){void 0===e&&(e=this.params.speed),void 0===t&&(t=!0);var i=this,r=i.activeIndex,s=Math.floor(r/i.params.slidesPerGroup);if(s<i.snapGrid.length-1){var o=i.rtlTranslate?i.translate:-i.translate,a=i.snapGrid[s];(i.snapGrid[s+1]-a)/2<o-a&&(r=i.params.slidesPerGroup)}return i.slideTo(r,e,t,n)},slideToClickedSlide:function(){var e,t=this,n=t.params,r=t.$wrapperEl,s="auto"===n.slidesPerView?t.slidesPerViewDynamic():n.slidesPerView,o=t.clickedIndex;if(n.loop){if(t.animating)return;e=parseInt(i(t.clickedSlide).attr("data-swiper-slide-index"),10),n.centeredSlides?o<t.loopedSlides-s/2||o>t.slides.length-t.loopedSlides+s/2?(t.loopFix(),o=r.children("."+n.slideClass+'[data-swiper-slide-index="'+e+'"]:not(.'+n.slideDuplicateClass+")").eq(0).index(),d.nextTick((function(){t.slideTo(o)}))):t.slideTo(o):o>t.slides.length-s?(t.loopFix(),o=r.children("."+n.slideClass+'[data-swiper-slide-index="'+e+'"]:not(.'+n.slideDuplicateClass+")").eq(0).index(),d.nextTick((function(){t.slideTo(o)}))):t.slideTo(o)}else t.slideTo(o)}},y={loopCreate:function(){var t=this,n=t.params,r=t.$wrapperEl;r.children("."+n.slideClass+"."+n.slideDuplicateClass).remove();var s=r.children("."+n.slideClass);if(n.loopFillGroupWithBlank){var o=n.slidesPerGroup-s.length%n.slidesPerGroup;if(o!==n.slidesPerGroup){for(var a=0;a<o;a+=1){var l=i(e.createElement("div")).addClass(n.slideClass+" "+n.slideBlankClass);r.append(l)}s=r.children("."+n.slideClass)}}"auto"!==n.slidesPerView||n.loopedSlides||(n.loopedSlides=s.length),t.loopedSlides=parseInt(n.loopedSlides||n.slidesPerView,10),t.loopedSlides+=n.loopAdditionalSlides,t.loopedSlides>s.length&&(t.loopedSlides=s.length);var u=[],c=[];s.each((function(e,n){var r=i(n);e<t.loopedSlides&&c.push(n),e<s.length&&e>=s.length-t.loopedSlides&&u.push(n),r.attr("data-swiper-slide-index",e)}));for(var d=0;d<c.length;d+=1)r.append(i(c[d].cloneNode(!0)).addClass(n.slideDuplicateClass));for(var h=u.length-1;0<=h;h-=1)r.prepend(i(u[h].cloneNode(!0)).addClass(n.slideDuplicateClass))},loopFix:function(){var e,t=this,n=t.params,i=t.activeIndex,r=t.slides,s=t.loopedSlides,o=t.allowSlidePrev,a=t.allowSlideNext,l=t.snapGrid,u=t.rtlTranslate;t.allowSlidePrev=!0,t.allowSlideNext=!0;var c=-l[i]-t.getTranslate();i<s?(e=r.length-3*s+i,e+=s,t.slideTo(e,0,!1,!0)&&0!=c&&t.setTranslate((u?-t.translate:t.translate)-c)):("auto"===n.slidesPerView&&2*s<=i||i>=r.length-s)&&(e=-r.length+i+s,e+=s,t.slideTo(e,0,!1,!0)&&0!=c&&t.setTranslate((u?-t.translate:t.translate)-c)),t.allowSlidePrev=o,t.allowSlideNext=a},loopDestroy:function(){var e=this.$wrapperEl,t=this.params,n=this.slides;e.children("."+t.slideClass+"."+t.slideDuplicateClass+",."+t.slideClass+"."+t.slideBlankClass).remove(),n.removeAttr("data-swiper-slide-index")}},b={setGrabCursor:function(e){if(!(h.touch||!this.params.simulateTouch||this.params.watchOverflow&&this.isLocked)){var t=this.el;t.style.cursor="move",t.style.cursor=e?"-webkit-grabbing":"-webkit-grab",t.style.cursor=e?"-moz-grabbin":"-moz-grab",t.style.cursor=e?"grabbing":"grab"}},unsetGrabCursor:function(){h.touch||this.params.watchOverflow&&this.isLocked||(this.el.style.cursor="")}},w={appendSlide:function(e){var t=this,n=t.$wrapperEl,i=t.params;if(i.loop&&t.loopDestroy(),"object"==typeof e&&"length"in e)for(var r=0;r<e.length;r+=1)e[r]&&n.append(e[r]);else n.append(e);i.loop&&t.loopCreate(),i.observer&&h.observer||t.update()},prependSlide:function(e){var t=this,n=t.params,i=t.$wrapperEl,r=t.activeIndex;n.loop&&t.loopDestroy();var s=r+1;if("object"==typeof e&&"length"in e){for(var o=0;o<e.length;o+=1)e[o]&&i.prepend(e[o]);s=r+e.length}else i.prepend(e);n.loop&&t.loopCreate(),n.observer&&h.observer||t.update(),t.slideTo(s,0,!1)},addSlide:function(e,t){var n=this,i=n.$wrapperEl,r=n.params,s=n.activeIndex;r.loop&&(s-=n.loopedSlides,n.loopDestroy(),n.slides=i.children("."+r.slideClass));var o=n.slides.length;if(e<=0)n.prependSlide(t);else if(o<=e)n.appendSlide(t);else{for(var a=e<s?s+1:s,l=[],u=o-1;e<=u;u-=1){var c=n.slides.eq(u);c.remove(),l.unshift(c)}if("object"==typeof t&&"length"in t){for(var d=0;d<t.length;d+=1)t[d]&&i.append(t[d]);a=e<s?s+t.length:s}else i.append(t);for(var p=0;p<l.length;p+=1)i.append(l[p]);r.loop&&n.loopCreate(),r.observer&&h.observer||n.update(),r.loop?n.slideTo(a+n.loopedSlides,0,!1):n.slideTo(a,0,!1)}},removeSlide:function(e){var t=this,n=t.params,i=t.$wrapperEl,r=t.activeIndex;n.loop&&(r-=t.loopedSlides,t.loopDestroy(),t.slides=i.children("."+n.slideClass));var s,o=r;if("object"==typeof e&&"length"in e){for(var a=0;a<e.length;a+=1)s=e[a],t.slides[s]&&t.slides.eq(s).remove(),s<o&&(o-=1);o=Math.max(o,0)}else s=e,t.slides[s]&&t.slides.eq(s).remove(),s<o&&(o-=1),o=Math.max(o,0);n.loop&&t.loopCreate(),n.observer&&h.observer||t.update(),n.loop?t.slideTo(o+t.loopedSlides,0,!1):t.slideTo(o,0,!1)},removeAllSlides:function(){for(var e=[],t=0;t<this.slides.length;t+=1)e.push(t);this.removeSlide(e)}},x=function(){var n=t.navigator.userAgent,i={ios:!1,android:!1,androidChrome:!1,desktop:!1,windows:!1,iphone:!1,ipod:!1,ipad:!1,cordova:t.cordova||t.phonegap,phonegap:t.cordova||t.phonegap},r=n.match(/(Windows Phone);?[\s\/]+([\d.]+)?/),s=n.match(/(Android);?[\s\/]+([\d.]+)?/),o=n.match(/(iPad).*OS\s([\d_]+)/),a=n.match(/(iPod)(.*OS\s([\d_]+))?/),l=!o&&n.match(/(iPhone\sOS|iOS)\s([\d_]+)/);if(r&&(i.os="windows",i.osVersion=r[2],i.windows=!0),s&&!r&&(i.os="android",i.osVersion=s[2],i.android=!0,i.androidChrome=0<=n.toLowerCase().indexOf("chrome")),(o||l||a)&&(i.os="ios",i.ios=!0),l&&!a&&(i.osVersion=l[2].replace(/_/g,"."),i.iphone=!0),o&&(i.osVersion=o[2].replace(/_/g,"."),i.ipad=!0),a&&(i.osVersion=a[3]?a[3].replace(/_/g,"."):null,i.iphone=!0),i.ios&&i.osVersion&&0<=n.indexOf("Version/")&&"10"===i.osVersion.split(".")[0]&&(i.osVersion=n.toLowerCase().split("version/")[1].split(" ")[0]),i.desktop=!(i.os||i.android||i.webView),i.webView=(l||o||a)&&n.match(/.*AppleWebKit(?!.*Safari)/i),i.os&&"ios"===i.os){var u=i.osVersion.split("."),c=e.querySelector('meta[name="viewport"]');i.minimalUi=!i.webView&&(a||l)&&(1*u[0]==7?1<=1*u[1]:7<1*u[0])&&c&&0<=c.getAttribute("content").indexOf("minimal-ui")}return i.pixelRatio=t.devicePixelRatio||1,i}();function C(){var e=this,t=e.params,n=e.el;if(!n||0!==n.offsetWidth){t.breakpoints&&e.setBreakpoint();var i=e.allowSlideNext,r=e.allowSlidePrev,s=e.snapGrid;if(e.allowSlideNext=!0,e.allowSlidePrev=!0,e.updateSize(),e.updateSlides(),t.freeMode){var o=Math.min(Math.max(e.translate,e.maxTranslate()),e.minTranslate());e.setTranslate(o),e.updateActiveIndex(),e.updateSlidesClasses(),t.autoHeight&&e.updateAutoHeight()}else e.updateSlidesClasses(),("auto"===t.slidesPerView||1<t.slidesPerView)&&e.isEnd&&!e.params.centeredSlides?e.slideTo(e.slides.length-1,0,!1,!0):e.slideTo(e.activeIndex,0,!1,!0);e.autoplay&&e.autoplay.running&&e.autoplay.paused&&e.autoplay.run(),e.allowSlidePrev=r,e.allowSlideNext=i,e.params.watchOverflow&&s!==e.snapGrid&&e.checkOverflow()}}var E={init:!0,direction:"horizontal",touchEventsTarget:"container",initialSlide:0,speed:300,preventInteractionOnTransition:!1,edgeSwipeDetection:!1,edgeSwipeThreshold:20,freeMode:!1,freeModeMomentum:!0,freeModeMomentumRatio:1,freeModeMomentumBounce:!0,freeModeMomentumBounceRatio:1,freeModeMomentumVelocityRatio:1,freeModeSticky:!1,freeModeMinimumVelocity:.02,autoHeight:!1,setWrapperSize:!1,virtualTranslate:!1,effect:"slide",breakpoints:void 0,breakpointsInverse:!1,spaceBetween:0,slidesPerView:1,slidesPerColumn:1,slidesPerColumnFill:"column",slidesPerGroup:1,centeredSlides:!1,slidesOffsetBefore:0,slidesOffsetAfter:0,normalizeSlideIndex:!0,centerInsufficientSlides:!1,watchOverflow:!1,roundLengths:!1,touchRatio:1,touchAngle:45,simulateTouch:!0,shortSwipes:!0,longSwipes:!0,longSwipesRatio:.5,longSwipesMs:300,followFinger:!0,allowTouchMove:!0,threshold:0,touchMoveStopPropagation:!0,touchStartPreventDefault:!0,touchStartForcePreventDefault:!1,touchReleaseOnEdges:!1,uniqueNavElements:!0,resistance:!0,resistanceRatio:.85,watchSlidesProgress:!1,watchSlidesVisibility:!1,grabCursor:!1,preventClicks:!0,preventClicksPropagation:!0,slideToClickedSlide:!1,preloadImages:!0,updateOnImagesReady:!0,loop:!1,loopAdditionalSlides:0,loopedSlides:null,loopFillGroupWithBlank:!1,allowSlidePrev:!0,allowSlideNext:!0,swipeHandler:null,noSwiping:!0,noSwipingClass:"swiper-no-swiping",noSwipingSelector:null,passiveListeners:!0,containerModifierClass:"swiper-container-",slideClass:"swiper-slide",slideBlankClass:"swiper-slide-invisible-blank",slideActiveClass:"swiper-slide-active",slideDuplicateActiveClass:"swiper-slide-duplicate-active",slideVisibleClass:"swiper-slide-visible",slideDuplicateClass:"swiper-slide-duplicate",slideNextClass:"swiper-slide-next",slideDuplicateNextClass:"swiper-slide-duplicate-next",slidePrevClass:"swiper-slide-prev",slideDuplicatePrevClass:"swiper-slide-duplicate-prev",wrapperClass:"swiper-wrapper",runCallbacksOnInit:!0},T={update:m,translate:g,transition:{setTransition:function(e,t){this.$wrapperEl.transition(e),this.emit("setTransition",e,t)},transitionStart:function(e,t){void 0===e&&(e=!0);var n=this,i=n.activeIndex,r=n.params,s=n.previousIndex;r.autoHeight&&n.updateAutoHeight();var o=t;if(o=o||(s<i?"next":i<s?"prev":"reset"),n.emit("transitionStart"),e&&i!==s){if("reset"===o)return void n.emit("slideResetTransitionStart");n.emit("slideChangeTransitionStart"),"next"===o?n.emit("slideNextTransitionStart"):n.emit("slidePrevTransitionStart")}},transitionEnd:function(e,t){void 0===e&&(e=!0);var n=this,i=n.activeIndex,r=n.previousIndex;n.animating=!1,n.setTransition(0);var s=t;if(s=s||(r<i?"next":i<r?"prev":"reset"),n.emit("transitionEnd"),e&&i!==r){if("reset"===s)return void n.emit("slideResetTransitionEnd");n.emit("slideChangeTransitionEnd"),"next"===s?n.emit("slideNextTransitionEnd"):n.emit("slidePrevTransitionEnd")}}},slide:v,loop:y,grabCursor:b,manipulation:w,events:{attachEvents:function(){var n=this,r=n.params,s=n.touchEvents,o=n.el,a=n.wrapperEl;n.onTouchStart=function(n){var r=this,s=r.touchEventsData,o=r.params,a=r.touches;if(!r.animating||!o.preventInteractionOnTransition){var l=n;if(l.originalEvent&&(l=l.originalEvent),s.isTouchEvent="touchstart"===l.type,(s.isTouchEvent||!("which"in l)||3!==l.which)&&!(!s.isTouchEvent&&"button"in l&&0<l.button||s.isTouched&&s.isMoved))if(o.noSwiping&&i(l.target).closest(o.noSwipingSelector?o.noSwipingSelector:"."+o.noSwipingClass)[0])r.allowClick=!0;else if(!o.swipeHandler||i(l).closest(o.swipeHandler)[0]){a.currentX="touchstart"===l.type?l.targetTouches[0].pageX:l.pageX,a.currentY="touchstart"===l.type?l.targetTouches[0].pageY:l.pageY;var u=a.currentX,c=a.currentY,h=o.edgeSwipeDetection||o.iOSEdgeSwipeDetection,p=o.edgeSwipeThreshold||o.iOSEdgeSwipeThreshold;if(!h||!(u<=p||u>=t.screen.width-p)){if(d.extend(s,{isTouched:!0,isMoved:!1,allowTouchCallbacks:!0,isScrolling:void 0,startMoving:void 0}),a.startX=u,a.startY=c,s.touchStartTime=d.now(),r.allowClick=!0,r.updateSize(),r.swipeDirection=void 0,0<o.threshold&&(s.allowThresholdMove=!1),"touchstart"!==l.type){var f=!0;i(l.target).is(s.formElements)&&(f=!1),e.activeElement&&i(e.activeElement).is(s.formElements)&&e.activeElement!==l.target&&e.activeElement.blur();var m=f&&r.allowTouchMove&&o.touchStartPreventDefault;(o.touchStartForcePreventDefault||m)&&l.preventDefault()}r.emit("touchStart",l)}}}}.bind(n),n.onTouchMove=function(t){var n=this,r=n.touchEventsData,s=n.params,o=n.touches,a=n.rtlTranslate,l=t;if(l.originalEvent&&(l=l.originalEvent),r.isTouched){if(!r.isTouchEvent||"mousemove"!==l.type){var u="touchmove"===l.type?l.targetTouches[0].pageX:l.pageX,c="touchmove"===l.type?l.targetTouches[0].pageY:l.pageY;if(l.preventedByNestedSwiper)return o.startX=u,void(o.startY=c);if(!n.allowTouchMove)return n.allowClick=!1,void(r.isTouched&&(d.extend(o,{startX:u,startY:c,currentX:u,currentY:c}),r.touchStartTime=d.now()));if(r.isTouchEvent&&s.touchReleaseOnEdges&&!s.loop)if(n.isVertical()){if(c<o.startY&&n.translate<=n.maxTranslate()||c>o.startY&&n.translate>=n.minTranslate())return r.isTouched=!1,void(r.isMoved=!1)}else if(u<o.startX&&n.translate<=n.maxTranslate()||u>o.startX&&n.translate>=n.minTranslate())return;if(r.isTouchEvent&&e.activeElement&&l.target===e.activeElement&&i(l.target).is(r.formElements))return r.isMoved=!0,void(n.allowClick=!1);if(r.allowTouchCallbacks&&n.emit("touchMove",l),!(l.targetTouches&&1<l.targetTouches.length)){o.currentX=u,o.currentY=c;var h,p=o.currentX-o.startX,f=o.currentY-o.startY;if(!(n.params.threshold&&Math.sqrt(Math.pow(p,2)+Math.pow(f,2))<n.params.threshold))if(void 0===r.isScrolling&&(n.isHorizontal()&&o.currentY===o.startY||n.isVertical()&&o.currentX===o.startX?r.isScrolling=!1:25<=p*p+f*f&&(h=180*Math.atan2(Math.abs(f),Math.abs(p))/Math.PI,r.isScrolling=n.isHorizontal()?h>s.touchAngle:90-h>s.touchAngle)),r.isScrolling&&n.emit("touchMoveOpposite",l),void 0===r.startMoving&&(o.currentX===o.startX&&o.currentY===o.startY||(r.startMoving=!0)),r.isScrolling)r.isTouched=!1;else if(r.startMoving){n.allowClick=!1,l.preventDefault(),s.touchMoveStopPropagation&&!s.nested&&l.stopPropagation(),r.isMoved||(s.loop&&n.loopFix(),r.startTranslate=n.getTranslate(),n.setTransition(0),n.animating&&n.$wrapperEl.trigger("webkitTransitionEnd transitionend"),r.allowMomentumBounce=!1,!s.grabCursor||!0!==n.allowSlideNext&&!0!==n.allowSlidePrev||n.setGrabCursor(!0),n.emit("sliderFirstMove",l)),n.emit("sliderMove",l),r.isMoved=!0;var m=n.isHorizontal()?p:f;o.diff=m,m*=s.touchRatio,a&&(m=-m),n.swipeDirection=0<m?"prev":"next",r.currentTranslate=m+r.startTranslate;var g=!0,v=s.resistanceRatio;if(s.touchReleaseOnEdges&&(v=0),0<m&&r.currentTranslate>n.minTranslate()?(g=!1,s.resistance&&(r.currentTranslate=n.minTranslate()-1+Math.pow(-n.minTranslate()+r.startTranslate+m,v))):m<0&&r.currentTranslate<n.maxTranslate()&&(g=!1,s.resistance&&(r.currentTranslate=n.maxTranslate()+1-Math.pow(n.maxTranslate()-r.startTranslate-m,v))),g&&(l.preventedByNestedSwiper=!0),!n.allowSlideNext&&"next"===n.swipeDirection&&r.currentTranslate<r.startTranslate&&(r.currentTranslate=r.startTranslate),!n.allowSlidePrev&&"prev"===n.swipeDirection&&r.currentTranslate>r.startTranslate&&(r.currentTranslate=r.startTranslate),0<s.threshold){if(!(Math.abs(m)>s.threshold||r.allowThresholdMove))return void(r.currentTranslate=r.startTranslate);if(!r.allowThresholdMove)return r.allowThresholdMove=!0,o.startX=o.currentX,o.startY=o.currentY,r.currentTranslate=r.startTranslate,void(o.diff=n.isHorizontal()?o.currentX-o.startX:o.currentY-o.startY)}s.followFinger&&((s.freeMode||s.watchSlidesProgress||s.watchSlidesVisibility)&&(n.updateActiveIndex(),n.updateSlidesClasses()),s.freeMode&&(0===r.velocities.length&&r.velocities.push({position:o[n.isHorizontal()?"startX":"startY"],time:r.touchStartTime}),r.velocities.push({position:o[n.isHorizontal()?"currentX":"currentY"],time:d.now()})),n.updateProgress(r.currentTranslate),n.setTranslate(r.currentTranslate))}}}}else r.startMoving&&r.isScrolling&&n.emit("touchMoveOpposite",l)}.bind(n),n.onTouchEnd=function(e){var t=this,n=t.touchEventsData,i=t.params,r=t.touches,s=t.rtlTranslate,o=t.$wrapperEl,a=t.slidesGrid,l=t.snapGrid,u=e;if(u.originalEvent&&(u=u.originalEvent),n.allowTouchCallbacks&&t.emit("touchEnd",u),n.allowTouchCallbacks=!1,!n.isTouched)return n.isMoved&&i.grabCursor&&t.setGrabCursor(!1),n.isMoved=!1,void(n.startMoving=!1);i.grabCursor&&n.isMoved&&n.isTouched&&(!0===t.allowSlideNext||!0===t.allowSlidePrev)&&t.setGrabCursor(!1);var c,h=d.now(),p=h-n.touchStartTime;if(t.allowClick&&(t.updateClickedSlide(u),t.emit("tap",u),p<300&&300<h-n.lastClickTime&&(n.clickTimeout&&clearTimeout(n.clickTimeout),n.clickTimeout=d.nextTick((function(){t&&!t.destroyed&&t.emit("click",u)}),300)),p<300&&h-n.lastClickTime<300&&(n.clickTimeout&&clearTimeout(n.clickTimeout),t.emit("doubleTap",u))),n.lastClickTime=d.now(),d.nextTick((function(){t.destroyed||(t.allowClick=!0)})),!n.isTouched||!n.isMoved||!t.swipeDirection||0===r.diff||n.currentTranslate===n.startTranslate)return n.isTouched=!1,n.isMoved=!1,void(n.startMoving=!1);if(n.isTouched=!1,n.isMoved=!1,n.startMoving=!1,c=i.followFinger?s?t.translate:-t.translate:-n.currentTranslate,i.freeMode){if(c<-t.minTranslate())return void t.slideTo(t.activeIndex);if(c>-t.maxTranslate())return void(t.slides.length<l.length?t.slideTo(l.length-1):t.slideTo(t.slides.length-1));if(i.freeModeMomentum){if(1<n.velocities.length){var f=n.velocities.pop(),m=n.velocities.pop(),g=f.position-m.position,v=f.time-m.time;t.velocity=g/v,t.velocity/=2,Math.abs(t.velocity)<i.freeModeMinimumVelocity&&(t.velocity=0),(150<v||300<d.now()-f.time)&&(t.velocity=0)}else t.velocity=0;t.velocity*=i.freeModeMomentumVelocityRatio,n.velocities.length=0;var y=1e3*i.freeModeMomentumRatio,b=t.velocity*y,w=t.translate+b;s&&(w=-w);var x,C,E=!1,T=20*Math.abs(t.velocity)*i.freeModeMomentumBounceRatio;if(w<t.maxTranslate())i.freeModeMomentumBounce?(w+t.maxTranslate()<-T&&(w=t.maxTranslate()-T),x=t.maxTranslate(),E=!0,n.allowMomentumBounce=!0):w=t.maxTranslate(),i.loop&&i.centeredSlides&&(C=!0);else if(w>t.minTranslate())i.freeModeMomentumBounce?(w-t.minTranslate()>T&&(w=t.minTranslate()+T),x=t.minTranslate(),E=!0,n.allowMomentumBounce=!0):w=t.minTranslate(),i.loop&&i.centeredSlides&&(C=!0);else if(i.freeModeSticky){for(var S,k=0;k<l.length;k+=1)if(l[k]>-w){S=k;break}w=-(w=Math.abs(l[S]-w)<Math.abs(l[S-1]-w)||"next"===t.swipeDirection?l[S]:l[S-1])}if(C&&t.once("transitionEnd",(function(){t.loopFix()})),0!==t.velocity)y=s?Math.abs((-w-t.translate)/t.velocity):Math.abs((w-t.translate)/t.velocity);else if(i.freeModeSticky)return void t.slideToClosest();i.freeModeMomentumBounce&&E?(t.updateProgress(x),t.setTransition(y),t.setTranslate(w),t.transitionStart(!0,t.swipeDirection),t.animating=!0,o.transitionEnd((function(){t&&!t.destroyed&&n.allowMomentumBounce&&(t.emit("momentumBounce"),t.setTransition(i.speed),t.setTranslate(x),o.transitionEnd((function(){t&&!t.destroyed&&t.transitionEnd()})))}))):t.velocity?(t.updateProgress(w),t.setTransition(y),t.setTranslate(w),t.transitionStart(!0,t.swipeDirection),t.animating||(t.animating=!0,o.transitionEnd((function(){t&&!t.destroyed&&t.transitionEnd()})))):t.updateProgress(w),t.updateActiveIndex(),t.updateSlidesClasses()}else if(i.freeModeSticky)return void t.slideToClosest();(!i.freeModeMomentum||p>=i.longSwipesMs)&&(t.updateProgress(),t.updateActiveIndex(),t.updateSlidesClasses())}else{for(var _=0,A=t.slidesSizesGrid[0],D=0;D<a.length;D+=i.slidesPerGroup)void 0!==a[D+i.slidesPerGroup]?c>=a[D]&&c<a[D+i.slidesPerGroup]&&(A=a[(_=D)+i.slidesPerGroup]-a[D]):c>=a[D]&&(_=D,A=a[a.length-1]-a[a.length-2]);var z=(c-a[_])/A;if(p>i.longSwipesMs){if(!i.longSwipes)return void t.slideTo(t.activeIndex);"next"===t.swipeDirection&&(z>=i.longSwipesRatio?t.slideTo(_+i.slidesPerGroup):t.slideTo(_)),"prev"===t.swipeDirection&&(z>1-i.longSwipesRatio?t.slideTo(_+i.slidesPerGroup):t.slideTo(_))}else{if(!i.shortSwipes)return void t.slideTo(t.activeIndex);"next"===t.swipeDirection&&t.slideTo(_+i.slidesPerGroup),"prev"===t.swipeDirection&&t.slideTo(_)}}}.bind(n),n.onClick=function(e){this.allowClick||(this.params.preventClicks&&e.preventDefault(),this.params.preventClicksPropagation&&this.animating&&(e.stopPropagation(),e.stopImmediatePropagation()))}.bind(n);var l="container"===r.touchEventsTarget?o:a,u=!!r.nested;if(h.touch||!h.pointerEvents&&!h.prefixedPointerEvents){if(h.touch){var c=!("touchstart"!==s.start||!h.passiveListener||!r.passiveListeners)&&{passive:!0,capture:!1};l.addEventListener(s.start,n.onTouchStart,c),l.addEventListener(s.move,n.onTouchMove,h.passiveListener?{passive:!1,capture:u}:u),l.addEventListener(s.end,n.onTouchEnd,c)}(r.simulateTouch&&!x.ios&&!x.android||r.simulateTouch&&!h.touch&&x.ios)&&(l.addEventListener("mousedown",n.onTouchStart,!1),e.addEventListener("mousemove",n.onTouchMove,u),e.addEventListener("mouseup",n.onTouchEnd,!1))}else l.addEventListener(s.start,n.onTouchStart,!1),e.addEventListener(s.move,n.onTouchMove,u),e.addEventListener(s.end,n.onTouchEnd,!1);(r.preventClicks||r.preventClicksPropagation)&&l.addEventListener("click",n.onClick,!0),n.on(x.ios||x.android?"resize orientationchange observerUpdate":"resize observerUpdate",C,!0)},detachEvents:function(){var t=this,n=t.params,i=t.touchEvents,r=t.el,s=t.wrapperEl,o="container"===n.touchEventsTarget?r:s,a=!!n.nested;if(h.touch||!h.pointerEvents&&!h.prefixedPointerEvents){if(h.touch){var l=!("onTouchStart"!==i.start||!h.passiveListener||!n.passiveListeners)&&{passive:!0,capture:!1};o.removeEventListener(i.start,t.onTouchStart,l),o.removeEventListener(i.move,t.onTouchMove,a),o.removeEventListener(i.end,t.onTouchEnd,l)}(n.simulateTouch&&!x.ios&&!x.android||n.simulateTouch&&!h.touch&&x.ios)&&(o.removeEventListener("mousedown",t.onTouchStart,!1),e.removeEventListener("mousemove",t.onTouchMove,a),e.removeEventListener("mouseup",t.onTouchEnd,!1))}else o.removeEventListener(i.start,t.onTouchStart,!1),e.removeEventListener(i.move,t.onTouchMove,a),e.removeEventListener(i.end,t.onTouchEnd,!1);(n.preventClicks||n.preventClicksPropagation)&&o.removeEventListener("click",t.onClick,!0),t.off(x.ios||x.android?"resize orientationchange observerUpdate":"resize observerUpdate",C)}},breakpoints:{setBreakpoint:function(){var e=this,t=e.activeIndex,n=e.initialized,i=e.loopedSlides;void 0===i&&(i=0);var r=e.params,s=r.breakpoints;if(s&&(!s||0!==Object.keys(s).length)){var o=e.getBreakpoint(s);if(o&&e.currentBreakpoint!==o){var a=o in s?s[o]:void 0;a&&["slidesPerView","spaceBetween","slidesPerGroup"].forEach((function(e){var t=a[e];void 0!==t&&(a[e]="slidesPerView"!==e||"AUTO"!==t&&"auto"!==t?"slidesPerView"===e?parseFloat(t):parseInt(t,10):"auto")}));var l=a||e.originalParams,u=l.direction&&l.direction!==r.direction,c=r.loop&&(l.slidesPerView!==r.slidesPerView||u);u&&n&&e.changeDirection(),d.extend(e.params,l),d.extend(e,{allowTouchMove:e.params.allowTouchMove,allowSlideNext:e.params.allowSlideNext,allowSlidePrev:e.params.allowSlidePrev}),e.currentBreakpoint=o,c&&n&&(e.loopDestroy(),e.loopCreate(),e.updateSlides(),e.slideTo(t-i+e.loopedSlides,0,!1)),e.emit("breakpoint",l)}}},getBreakpoint:function(e){if(e){var n=!1,i=[];Object.keys(e).forEach((function(e){i.push(e)})),i.sort((function(e,t){return parseInt(e,10)-parseInt(t,10)}));for(var r=0;r<i.length;r+=1){var s=i[r];this.params.breakpointsInverse?s<=t.innerWidth&&(n=s):s>=t.innerWidth&&!n&&(n=s)}return n||"max"}}},checkOverflow:{checkOverflow:function(){var e=this,t=e.isLocked;e.isLocked=1===e.snapGrid.length,e.allowSlideNext=!e.isLocked,e.allowSlidePrev=!e.isLocked,t!==e.isLocked&&e.emit(e.isLocked?"lock":"unlock"),t&&t!==e.isLocked&&(e.isEnd=!1,e.navigation.update())}},classes:{addClasses:function(){var e=this.classNames,t=this.params,n=this.rtl,i=this.$el,r=[];r.push("initialized"),r.push(t.direction),t.freeMode&&r.push("free-mode"),h.flexbox||r.push("no-flexbox"),t.autoHeight&&r.push("autoheight"),n&&r.push("rtl"),1<t.slidesPerColumn&&r.push("multirow"),x.android&&r.push("android"),x.ios&&r.push("ios"),(p.isIE||p.isEdge)&&(h.pointerEvents||h.prefixedPointerEvents)&&r.push("wp8-"+t.direction),r.forEach((function(n){e.push(t.containerModifierClass+n)})),i.addClass(e.join(" "))},removeClasses:function(){var e=this.$el,t=this.classNames;e.removeClass(t.join(" "))}},images:{loadImage:function(e,n,i,r,s,o){var a;function l(){o&&o()}e.complete&&s?l():n?((a=new t.Image).onload=l,a.onerror=l,r&&(a.sizes=r),i&&(a.srcset=i),n&&(a.src=n)):l()},preloadImages:function(){var e=this;function t(){null!=e&&e&&!e.destroyed&&(void 0!==e.imagesLoaded&&(e.imagesLoaded+=1),e.imagesLoaded===e.imagesToLoad.length&&(e.params.updateOnImagesReady&&e.update(),e.emit("imagesReady")))}e.imagesToLoad=e.$el.find("img");for(var n=0;n<e.imagesToLoad.length;n+=1){var i=e.imagesToLoad[n];e.loadImage(i,i.currentSrc||i.getAttribute("src"),i.srcset||i.getAttribute("srcset"),i.sizes||i.getAttribute("sizes"),!0,t)}}}},S={},k=function(e){function t(){for(var n,r,s,o=[],a=arguments.length;a--;)o[a]=arguments[a];s=(s=1===o.length&&o[0].constructor&&o[0].constructor===Object?o[0]:(r=(n=o)[0],n[1]))||{},s=d.extend({},s),r&&!s.el&&(s.el=r),e.call(this,s),Object.keys(T).forEach((function(e){Object.keys(T[e]).forEach((function(n){t.prototype[n]||(t.prototype[n]=T[e][n])}))}));var l=this;void 0===l.modules&&(l.modules={}),Object.keys(l.modules).forEach((function(e){var t=l.modules[e];if(t.params){var n=Object.keys(t.params)[0],i=t.params[n];if("object"!=typeof i||null===i)return;if(!(n in s)||!("enabled"in i))return;!0===s[n]&&(s[n]={enabled:!0}),"object"!=typeof s[n]||"enabled"in s[n]||(s[n].enabled=!0),s[n]||(s[n]={enabled:!1})}}));var u=d.extend({},E);l.useModulesParams(u),l.params=d.extend({},u,S,s),l.originalParams=d.extend({},l.params),l.passedParams=d.extend({},s);var c=(l.$=i)(l.params.el);if(r=c[0]){if(1<c.length){var p=[];return c.each((function(e,n){var i=d.extend({},s,{el:n});p.push(new t(i))})),p}r.swiper=l,c.data("swiper",l);var f,m,g=c.children("."+l.params.wrapperClass);return d.extend(l,{$el:c,el:r,$wrapperEl:g,wrapperEl:g[0],classNames:[],slides:i(),slidesGrid:[],snapGrid:[],slidesSizesGrid:[],isHorizontal:function(){return"horizontal"===l.params.direction},isVertical:function(){return"vertical"===l.params.direction},rtl:"rtl"===r.dir.toLowerCase()||"rtl"===c.css("direction"),rtlTranslate:"horizontal"===l.params.direction&&("rtl"===r.dir.toLowerCase()||"rtl"===c.css("direction")),wrongRTL:"-webkit-box"===g.css("display"),activeIndex:0,realIndex:0,isBeginning:!0,isEnd:!1,translate:0,previousTranslate:0,progress:0,velocity:0,animating:!1,allowSlideNext:l.params.allowSlideNext,allowSlidePrev:l.params.allowSlidePrev,touchEvents:(f=["touchstart","touchmove","touchend"],m=["mousedown","mousemove","mouseup"],h.pointerEvents?m=["pointerdown","pointermove","pointerup"]:h.prefixedPointerEvents&&(m=["MSPointerDown","MSPointerMove","MSPointerUp"]),l.touchEventsTouch={start:f[0],move:f[1],end:f[2]},l.touchEventsDesktop={start:m[0],move:m[1],end:m[2]},h.touch||!l.params.simulateTouch?l.touchEventsTouch:l.touchEventsDesktop),touchEventsData:{isTouched:void 0,isMoved:void 0,allowTouchCallbacks:void 0,touchStartTime:void 0,isScrolling:void 0,currentTranslate:void 0,startTranslate:void 0,allowThresholdMove:void 0,formElements:"input, select, option, textarea, button, video",lastClickTime:d.now(),clickTimeout:void 0,velocities:[],allowMomentumBounce:void 0,isTouchEvent:void 0,startMoving:void 0},allowClick:!0,allowTouchMove:l.params.allowTouchMove,touches:{startX:0,startY:0,currentX:0,currentY:0,diff:0},imagesToLoad:[],imagesLoaded:0}),l.useModules(),l.params.init&&l.init(),l}}e&&(t.__proto__=e);var n={extendedDefaults:{configurable:!0},defaults:{configurable:!0},Class:{configurable:!0},$:{configurable:!0}};return((t.prototype=Object.create(e&&e.prototype)).constructor=t).prototype.slidesPerViewDynamic=function(){var e=this,t=e.params,n=e.slides,i=e.slidesGrid,r=e.size,s=e.activeIndex,o=1;if(t.centeredSlides){for(var a,l=n[s].swiperSlideSize,u=s+1;u<n.length;u+=1)n[u]&&!a&&(o+=1,r<(l+=n[u].swiperSlideSize)&&(a=!0));for(var c=s-1;0<=c;c-=1)n[c]&&!a&&(o+=1,r<(l+=n[c].swiperSlideSize)&&(a=!0))}else for(var d=s+1;d<n.length;d+=1)i[d]-i[s]<r&&(o+=1);return o},t.prototype.update=function(){var e=this;if(e&&!e.destroyed){var t=e.snapGrid,n=e.params;n.breakpoints&&e.setBreakpoint(),e.updateSize(),e.updateSlides(),e.updateProgress(),e.updateSlidesClasses(),e.params.freeMode?(i(),e.params.autoHeight&&e.updateAutoHeight()):(("auto"===e.params.slidesPerView||1<e.params.slidesPerView)&&e.isEnd&&!e.params.centeredSlides?e.slideTo(e.slides.length-1,0,!1,!0):e.slideTo(e.activeIndex,0,!1,!0))||i(),n.watchOverflow&&t!==e.snapGrid&&e.checkOverflow(),e.emit("update")}function i(){var t=e.rtlTranslate?-1*e.translate:e.translate,n=Math.min(Math.max(t,e.maxTranslate()),e.minTranslate());e.setTranslate(n),e.updateActiveIndex(),e.updateSlidesClasses()}},t.prototype.changeDirection=function(e,t){void 0===t&&(t=!0);var n=this,i=n.params.direction;return(e=e||("horizontal"===i?"vertical":"horizontal"))===i||"horizontal"!==e&&"vertical"!==e||(n.$el.removeClass(""+n.params.containerModifierClass+i+" wp8-"+i).addClass(""+n.params.containerModifierClass+e),(p.isIE||p.isEdge)&&(h.pointerEvents||h.prefixedPointerEvents)&&n.$el.addClass(n.params.containerModifierClass+"wp8-"+e),n.params.direction=e,n.slides.each((function(t,n){"vertical"===e?n.style.width="":n.style.height=""})),n.emit("changeDirection"),t&&n.update()),n},t.prototype.init=function(){var e=this;e.initialized||(e.emit("beforeInit"),e.params.breakpoints&&e.setBreakpoint(),e.addClasses(),e.params.loop&&e.loopCreate(),e.updateSize(),e.updateSlides(),e.params.watchOverflow&&e.checkOverflow(),e.params.grabCursor&&e.setGrabCursor(),e.params.preloadImages&&e.preloadImages(),e.params.loop?e.slideTo(e.params.initialSlide+e.loopedSlides,0,e.params.runCallbacksOnInit):e.slideTo(e.params.initialSlide,0,e.params.runCallbacksOnInit),e.attachEvents(),e.initialized=!0,e.emit("init"))},t.prototype.destroy=function(e,t){void 0===e&&(e=!0),void 0===t&&(t=!0);var n=this,i=n.params,r=n.$el,s=n.$wrapperEl,o=n.slides;return void 0===n.params||n.destroyed||(n.emit("beforeDestroy"),n.initialized=!1,n.detachEvents(),i.loop&&n.loopDestroy(),t&&(n.removeClasses(),r.removeAttr("style"),s.removeAttr("style"),o&&o.length&&o.removeClass([i.slideVisibleClass,i.slideActiveClass,i.slideNextClass,i.slidePrevClass].join(" ")).removeAttr("style").removeAttr("data-swiper-slide-index").removeAttr("data-swiper-column").removeAttr("data-swiper-row")),n.emit("destroy"),Object.keys(n.eventsListeners).forEach((function(e){n.off(e)})),!1!==e&&(n.$el[0].swiper=null,n.$el.data("swiper",null),d.deleteProps(n)),n.destroyed=!0),null},t.extendDefaults=function(e){d.extend(S,e)},n.extendedDefaults.get=function(){return S},n.defaults.get=function(){return E},n.Class.get=function(){return e},n.$.get=function(){return i},Object.defineProperties(t,n),t}(o),_={name:"device",proto:{device:x},static:{device:x}},A={name:"support",proto:{support:h},static:{support:h}},D={name:"browser",proto:{browser:p},static:{browser:p}},z={name:"resize",create:function(){var e=this;d.extend(e,{resize:{resizeHandler:function(){e&&!e.destroyed&&e.initialized&&(e.emit("beforeResize"),e.emit("resize"))},orientationChangeHandler:function(){e&&!e.destroyed&&e.initialized&&e.emit("orientationchange")}}})},on:{init:function(){t.addEventListener("resize",this.resize.resizeHandler),t.addEventListener("orientationchange",this.resize.orientationChangeHandler)},destroy:function(){t.removeEventListener("resize",this.resize.resizeHandler),t.removeEventListener("orientationchange",this.resize.orientationChangeHandler)}}},M={func:t.MutationObserver||t.WebkitMutationObserver,attach:function(e,n){void 0===n&&(n={});var i=this,r=new M.func((function(e){if(1!==e.length){var n=function(){i.emit("observerUpdate",e[0])};t.requestAnimationFrame?t.requestAnimationFrame(n):t.setTimeout(n,0)}else i.emit("observerUpdate",e[0])}));r.observe(e,{attributes:void 0===n.attributes||n.attributes,childList:void 0===n.childList||n.childList,characterData:void 0===n.characterData||n.characterData}),i.observer.observers.push(r)},init:function(){var e=this;if(h.observer&&e.params.observer){if(e.params.observeParents)for(var t=e.$el.parents(),n=0;n<t.length;n+=1)e.observer.attach(t[n]);e.observer.attach(e.$el[0],{childList:e.params.observeSlideChildren}),e.observer.attach(e.$wrapperEl[0],{attributes:!1})}},destroy:function(){this.observer.observers.forEach((function(e){e.disconnect()})),this.observer.observers=[]}},L={name:"observer",params:{observer:!1,observeParents:!1,observeSlideChildren:!1},create:function(){d.extend(this,{observer:{init:M.init.bind(this),attach:M.attach.bind(this),destroy:M.destroy.bind(this),observers:[]}})},on:{init:function(){this.observer.init()},destroy:function(){this.observer.destroy()}}},P={update:function(e){var t=this,n=t.params,i=n.slidesPerView,r=n.slidesPerGroup,s=n.centeredSlides,o=t.params.virtual,a=o.addSlidesBefore,l=o.addSlidesAfter,u=t.virtual,c=u.from,h=u.to,p=u.slides,f=u.slidesGrid,m=u.renderSlide,g=u.offset;t.updateActiveIndex();var v,y,b,w=t.activeIndex||0;v=t.rtlTranslate?"right":t.isHorizontal()?"left":"top",b=s?(y=Math.floor(i/2)+r+a,Math.floor(i/2)+r+l):(y=i+(r-1)+a,r+l);var x=Math.max((w||0)-b,0),C=Math.min((w||0)+y,p.length-1),E=(t.slidesGrid[x]||0)-(t.slidesGrid[0]||0);function T(){t.updateSlides(),t.updateProgress(),t.updateSlidesClasses(),t.lazy&&t.params.lazy.enabled&&t.lazy.load()}if(d.extend(t.virtual,{from:x,to:C,offset:E,slidesGrid:t.slidesGrid}),c===x&&h===C&&!e)return t.slidesGrid!==f&&E!==g&&t.slides.css(v,E+"px"),void t.updateProgress();if(t.params.virtual.renderExternal)return t.params.virtual.renderExternal.call(t,{offset:E,from:x,to:C,slides:function(){for(var e=[],t=x;t<=C;t+=1)e.push(p[t]);return e}()}),void T();var S=[],k=[];if(e)t.$wrapperEl.find("."+t.params.slideClass).remove();else for(var _=c;_<=h;_+=1)(_<x||C<_)&&t.$wrapperEl.find("."+t.params.slideClass+'[data-swiper-slide-index="'+_+'"]').remove();for(var A=0;A<p.length;A+=1)x<=A&&A<=C&&(void 0===h||e?k.push(A):(h<A&&k.push(A),A<c&&S.push(A)));k.forEach((function(e){t.$wrapperEl.append(m(p[e],e))})),S.sort((function(e,t){return t-e})).forEach((function(e){t.$wrapperEl.prepend(m(p[e],e))})),t.$wrapperEl.children(".swiper-slide").css(v,E+"px"),T()},renderSlide:function(e,t){var n=this,r=n.params.virtual;if(r.cache&&n.virtual.cache[t])return n.virtual.cache[t];var s=r.renderSlide?i(r.renderSlide.call(n,e,t)):i('<div class="'+n.params.slideClass+'" data-swiper-slide-index="'+t+'">'+e+"</div>");return s.attr("data-swiper-slide-index")||s.attr("data-swiper-slide-index",t),r.cache&&(n.virtual.cache[t]=s),s},appendSlide:function(e){if("object"==typeof e&&"length"in e)for(var t=0;t<e.length;t+=1)e[t]&&this.virtual.slides.push(e[t]);else this.virtual.slides.push(e);this.virtual.update(!0)},prependSlide:function(e){var t=this,n=t.activeIndex,i=n+1,r=1;if(Array.isArray(e)){for(var s=0;s<e.length;s+=1)e[s]&&t.virtual.slides.unshift(e[s]);i=n+e.length,r=e.length}else t.virtual.slides.unshift(e);if(t.params.virtual.cache){var o=t.virtual.cache,a={};Object.keys(o).forEach((function(e){a[parseInt(e,10)+r]=o[e]})),t.virtual.cache=a}t.virtual.update(!0),t.slideTo(i,0)},removeSlide:function(e){var t=this;if(null!=e){var n=t.activeIndex;if(Array.isArray(e))for(var i=e.length-1;0<=i;i-=1)t.virtual.slides.splice(e[i],1),t.params.virtual.cache&&delete t.virtual.cache[e[i]],e[i]<n&&(n-=1),n=Math.max(n,0);else t.virtual.slides.splice(e,1),t.params.virtual.cache&&delete t.virtual.cache[e],e<n&&(n-=1),n=Math.max(n,0);t.virtual.update(!0),t.slideTo(n,0)}},removeAllSlides:function(){var e=this;e.virtual.slides=[],e.params.virtual.cache&&(e.virtual.cache={}),e.virtual.update(!0),e.slideTo(0,0)}},$={name:"virtual",params:{virtual:{enabled:!1,slides:[],cache:!0,renderSlide:null,renderExternal:null,addSlidesBefore:0,addSlidesAfter:0}},create:function(){var e=this;d.extend(e,{virtual:{update:P.update.bind(e),appendSlide:P.appendSlide.bind(e),prependSlide:P.prependSlide.bind(e),removeSlide:P.removeSlide.bind(e),removeAllSlides:P.removeAllSlides.bind(e),renderSlide:P.renderSlide.bind(e),slides:e.params.virtual.slides,cache:{}}})},on:{beforeInit:function(){var e=this;if(e.params.virtual.enabled){e.classNames.push(e.params.containerModifierClass+"virtual");var t={watchSlidesProgress:!0};d.extend(e.params,t),d.extend(e.originalParams,t),e.params.initialSlide||e.virtual.update()}},setTranslate:function(){this.params.virtual.enabled&&this.virtual.update()}}},I={handle:function(n){var i=this,r=i.rtlTranslate,s=n;s.originalEvent&&(s=s.originalEvent);var o=s.keyCode||s.charCode;if(!i.allowSlideNext&&(i.isHorizontal()&&39===o||i.isVertical()&&40===o||34===o))return!1;if(!i.allowSlidePrev&&(i.isHorizontal()&&37===o||i.isVertical()&&38===o||33===o))return!1;if(!(s.shiftKey||s.altKey||s.ctrlKey||s.metaKey||e.activeElement&&e.activeElement.nodeName&&("input"===e.activeElement.nodeName.toLowerCase()||"textarea"===e.activeElement.nodeName.toLowerCase()))){if(i.params.keyboard.onlyInViewport&&(33===o||34===o||37===o||39===o||38===o||40===o)){var a=!1;if(0<i.$el.parents("."+i.params.slideClass).length&&0===i.$el.parents("."+i.params.slideActiveClass).length)return;var l=t.innerWidth,u=t.innerHeight,c=i.$el.offset();r&&(c.left-=i.$el[0].scrollLeft);for(var d=[[c.left,c.top],[c.left+i.width,c.top],[c.left,c.top+i.height],[c.left+i.width,c.top+i.height]],h=0;h<d.length;h+=1){var p=d[h];0<=p[0]&&p[0]<=l&&0<=p[1]&&p[1]<=u&&(a=!0)}if(!a)return}i.isHorizontal()?(33!==o&&34!==o&&37!==o&&39!==o||(s.preventDefault?s.preventDefault():s.returnValue=!1),(34!==o&&39!==o||r)&&(33!==o&&37!==o||!r)||i.slideNext(),(33!==o&&37!==o||r)&&(34!==o&&39!==o||!r)||i.slidePrev()):(33!==o&&34!==o&&38!==o&&40!==o||(s.preventDefault?s.preventDefault():s.returnValue=!1),34!==o&&40!==o||i.slideNext(),33!==o&&38!==o||i.slidePrev()),i.emit("keyPress",o)}},enable:function(){this.keyboard.enabled||(i(e).on("keydown",this.keyboard.handle),this.keyboard.enabled=!0)},disable:function(){this.keyboard.enabled&&(i(e).off("keydown",this.keyboard.handle),this.keyboard.enabled=!1)}},O={name:"keyboard",params:{keyboard:{enabled:!1,onlyInViewport:!0}},create:function(){d.extend(this,{keyboard:{enabled:!1,enable:I.enable.bind(this),disable:I.disable.bind(this),handle:I.handle.bind(this)}})},on:{init:function(){this.params.keyboard.enabled&&this.keyboard.enable()},destroy:function(){this.keyboard.enabled&&this.keyboard.disable()}}},R={lastScrollTime:d.now(),event:-1<t.navigator.userAgent.indexOf("firefox")?"DOMMouseScroll":function(){var t="onwheel",n=t in e;if(!n){var i=e.createElement("div");i.setAttribute(t,"return;"),n="function"==typeof i[t]}return!n&&e.implementation&&e.implementation.hasFeature&&!0!==e.implementation.hasFeature("","")&&(n=e.implementation.hasFeature("Events.wheel","3.0")),n}()?"wheel":"mousewheel",normalize:function(e){var t=0,n=0,i=0,r=0;return"detail"in e&&(n=e.detail),"wheelDelta"in e&&(n=-e.wheelDelta/120),"wheelDeltaY"in e&&(n=-e.wheelDeltaY/120),"wheelDeltaX"in e&&(t=-e.wheelDeltaX/120),"axis"in e&&e.axis===e.HORIZONTAL_AXIS&&(t=n,n=0),i=10*t,r=10*n,"deltaY"in e&&(r=e.deltaY),"deltaX"in e&&(i=e.deltaX),(i||r)&&e.deltaMode&&(1===e.deltaMode?(i*=40,r*=40):(i*=800,r*=800)),i&&!t&&(t=i<1?-1:1),r&&!n&&(n=r<1?-1:1),{spinX:t,spinY:n,pixelX:i,pixelY:r}},handleMouseEnter:function(){this.mouseEntered=!0},handleMouseLeave:function(){this.mouseEntered=!1},handle:function(e){var n=e,i=this,r=i.params.mousewheel;if(!i.mouseEntered&&!r.releaseOnEdges)return!0;n.originalEvent&&(n=n.originalEvent);var s=0,o=i.rtlTranslate?-1:1,a=R.normalize(n);if(r.forceToAxis)if(i.isHorizontal()){if(!(Math.abs(a.pixelX)>Math.abs(a.pixelY)))return!0;s=a.pixelX*o}else{if(!(Math.abs(a.pixelY)>Math.abs(a.pixelX)))return!0;s=a.pixelY}else s=Math.abs(a.pixelX)>Math.abs(a.pixelY)?-a.pixelX*o:-a.pixelY;if(0===s)return!0;if(r.invert&&(s=-s),i.params.freeMode){i.params.loop&&i.loopFix();var l=i.getTranslate()+s*r.sensitivity,u=i.isBeginning,c=i.isEnd;if(l>=i.minTranslate()&&(l=i.minTranslate()),l<=i.maxTranslate()&&(l=i.maxTranslate()),i.setTransition(0),i.setTranslate(l),i.updateProgress(),i.updateActiveIndex(),i.updateSlidesClasses(),(!u&&i.isBeginning||!c&&i.isEnd)&&i.updateSlidesClasses(),i.params.freeModeSticky&&(clearTimeout(i.mousewheel.timeout),i.mousewheel.timeout=d.nextTick((function(){i.slideToClosest()}),300)),i.emit("scroll",n),i.params.autoplay&&i.params.autoplayDisableOnInteraction&&i.autoplay.stop(),l===i.minTranslate()||l===i.maxTranslate())return!0}else{if(60<d.now()-i.mousewheel.lastScrollTime)if(s<0)if(i.isEnd&&!i.params.loop||i.animating){if(r.releaseOnEdges)return!0}else i.slideNext(),i.emit("scroll",n);else if(i.isBeginning&&!i.params.loop||i.animating){if(r.releaseOnEdges)return!0}else i.slidePrev(),i.emit("scroll",n);i.mousewheel.lastScrollTime=(new t.Date).getTime()}return n.preventDefault?n.preventDefault():n.returnValue=!1,!1},enable:function(){var e=this;if(!R.event)return!1;if(e.mousewheel.enabled)return!1;var t=e.$el;return"container"!==e.params.mousewheel.eventsTarged&&(t=i(e.params.mousewheel.eventsTarged)),t.on("mouseenter",e.mousewheel.handleMouseEnter),t.on("mouseleave",e.mousewheel.handleMouseLeave),t.on(R.event,e.mousewheel.handle),e.mousewheel.enabled=!0},disable:function(){var e=this;if(!R.event)return!1;if(!e.mousewheel.enabled)return!1;var t=e.$el;return"container"!==e.params.mousewheel.eventsTarged&&(t=i(e.params.mousewheel.eventsTarged)),t.off(R.event,e.mousewheel.handle),!(e.mousewheel.enabled=!1)}},N={update:function(){var e=this,t=e.params.navigation;if(!e.params.loop){var n=e.navigation,i=n.$nextEl,r=n.$prevEl;r&&0<r.length&&(e.isBeginning?r.addClass(t.disabledClass):r.removeClass(t.disabledClass),r[e.params.watchOverflow&&e.isLocked?"addClass":"removeClass"](t.lockClass)),i&&0<i.length&&(e.isEnd?i.addClass(t.disabledClass):i.removeClass(t.disabledClass),i[e.params.watchOverflow&&e.isLocked?"addClass":"removeClass"](t.lockClass))}},onPrevClick:function(e){e.preventDefault(),this.isBeginning&&!this.params.loop||this.slidePrev()},onNextClick:function(e){e.preventDefault(),this.isEnd&&!this.params.loop||this.slideNext()},init:function(){var e,t,n=this,r=n.params.navigation;(r.nextEl||r.prevEl)&&(r.nextEl&&(e=i(r.nextEl),n.params.uniqueNavElements&&"string"==typeof r.nextEl&&1<e.length&&1===n.$el.find(r.nextEl).length&&(e=n.$el.find(r.nextEl))),r.prevEl&&(t=i(r.prevEl),n.params.uniqueNavElements&&"string"==typeof r.prevEl&&1<t.length&&1===n.$el.find(r.prevEl).length&&(t=n.$el.find(r.prevEl))),e&&0<e.length&&e.on("click",n.navigation.onNextClick),t&&0<t.length&&t.on("click",n.navigation.onPrevClick),d.extend(n.navigation,{$nextEl:e,nextEl:e&&e[0],$prevEl:t,prevEl:t&&t[0]}))},destroy:function(){var e=this,t=e.navigation,n=t.$nextEl,i=t.$prevEl;n&&n.length&&(n.off("click",e.navigation.onNextClick),n.removeClass(e.params.navigation.disabledClass)),i&&i.length&&(i.off("click",e.navigation.onPrevClick),i.removeClass(e.params.navigation.disabledClass))}},H={update:function(){var e=this,t=e.rtl,n=e.params.pagination;if(n.el&&e.pagination.el&&e.pagination.$el&&0!==e.pagination.$el.length){var r,s=e.virtual&&e.params.virtual.enabled?e.virtual.slides.length:e.slides.length,o=e.pagination.$el,a=e.params.loop?Math.ceil((s-2*e.loopedSlides)/e.params.slidesPerGroup):e.snapGrid.length;if(e.params.loop?((r=Math.ceil((e.activeIndex-e.loopedSlides)/e.params.slidesPerGroup))>s-1-2*e.loopedSlides&&(r-=s-2*e.loopedSlides),a-1<r&&(r-=a),r<0&&"bullets"!==e.params.paginationType&&(r=a+r)):r=void 0!==e.snapIndex?e.snapIndex:e.activeIndex||0,"bullets"===n.type&&e.pagination.bullets&&0<e.pagination.bullets.length){var l,u,c,d=e.pagination.bullets;if(n.dynamicBullets&&(e.pagination.bulletSize=d.eq(0)[e.isHorizontal()?"outerWidth":"outerHeight"](!0),o.css(e.isHorizontal()?"width":"height",e.pagination.bulletSize*(n.dynamicMainBullets+4)+"px"),1<n.dynamicMainBullets&&void 0!==e.previousIndex&&(e.pagination.dynamicBulletIndex+=r-e.previousIndex,e.pagination.dynamicBulletIndex>n.dynamicMainBullets-1?e.pagination.dynamicBulletIndex=n.dynamicMainBullets-1:e.pagination.dynamicBulletIndex<0&&(e.pagination.dynamicBulletIndex=0)),l=r-e.pagination.dynamicBulletIndex,c=((u=l+(Math.min(d.length,n.dynamicMainBullets)-1))+l)/2),d.removeClass(n.bulletActiveClass+" "+n.bulletActiveClass+"-next "+n.bulletActiveClass+"-next-next "+n.bulletActiveClass+"-prev "+n.bulletActiveClass+"-prev-prev "+n.bulletActiveClass+"-main"),1<o.length)d.each((function(e,t){var s=i(t),o=s.index();o===r&&s.addClass(n.bulletActiveClass),n.dynamicBullets&&(l<=o&&o<=u&&s.addClass(n.bulletActiveClass+"-main"),o===l&&s.prev().addClass(n.bulletActiveClass+"-prev").prev().addClass(n.bulletActiveClass+"-prev-prev"),o===u&&s.next().addClass(n.bulletActiveClass+"-next").next().addClass(n.bulletActiveClass+"-next-next"))}));else if(d.eq(r).addClass(n.bulletActiveClass),n.dynamicBullets){for(var h=d.eq(l),p=d.eq(u),f=l;f<=u;f+=1)d.eq(f).addClass(n.bulletActiveClass+"-main");h.prev().addClass(n.bulletActiveClass+"-prev").prev().addClass(n.bulletActiveClass+"-prev-prev"),p.next().addClass(n.bulletActiveClass+"-next").next().addClass(n.bulletActiveClass+"-next-next")}if(n.dynamicBullets){var m=Math.min(d.length,n.dynamicMainBullets+4),g=(e.pagination.bulletSize*m-e.pagination.bulletSize)/2-c*e.pagination.bulletSize,v=t?"right":"left";d.css(e.isHorizontal()?v:"top",g+"px")}}if("fraction"===n.type&&(o.find("."+n.currentClass).text(n.formatFractionCurrent(r+1)),o.find("."+n.totalClass).text(n.formatFractionTotal(a))),"progressbar"===n.type){var y;y=n.progressbarOpposite?e.isHorizontal()?"vertical":"horizontal":e.isHorizontal()?"horizontal":"vertical";var b=(r+1)/a,w=1,x=1;"horizontal"===y?w=b:x=b,o.find("."+n.progressbarFillClass).transform("translate3d(0,
400,0) scaleX("+w+") scaleY("+x+")").transition(e.params.speed)}"custom"===n.type&&n.renderCustom?(o.html(n.renderCustom(e,r+1,a)),e.emit("paginationRender",e,o[0])):e.emit("paginationUpdate",e,o[0]),o[e.params.watchOverflow&&e.isLocked?"addClass":"removeClass"](n.lockClass)}},render:function(){var e=this,t=e.params.pagination;if(t.el&&e.pagination.el&&e.pagination.$el&&0!==e.pagination.$el.length){var n=e.virtual&&e.params.virtual.enabled?e.virtual.slides.length:e.slides.length,i=e.pagination.$el,r="";if("bullets"===t.type){for(var s=e.params.loop?Math.ceil((n-2*e.loopedSlides)/e.params.slidesPerGroup):e.snapGrid.length,o=0;o<s;o+=1)t.renderBullet?r+=t.renderBullet.call(e,o,t.bulletClass):r+="<"+t.bulletElement+' class="'+t.bulletClass+'"></'+t.bulletElement+">";i.html(r),e.pagination.bullets=i.find("."+t.bulletClass)}"fraction"===t.type&&(r=t.renderFraction?t.renderFraction.call(e,t.currentClass,t.totalClass):'<span class="'+t.currentClass+'"></span> / <span class="'+t.totalClass+'"></span>',i.html(r)),"progressbar"===t.type&&(r=t.renderProgressbar?t.renderProgressbar.call(e,t.progressbarFillClass):'<span class="'+t.progressbarFillClass+'"></span>',i.html(r)),"custom"!==t.type&&e.emit("paginationRender",e.pagination.$el[0])}},init:function(){var e=this,t=e.params.pagination;if(t.el){var n=i(t.el);0!==n.length&&(e.params.uniqueNavElements&&"string"==typeof t.el&&1<n.length&&1===e.$el.find(t.el).length&&(n=e.$el.find(t.el)),"bullets"===t.type&&t.clickable&&n.addClass(t.clickableClass),n.addClass(t.modifierClass+t.type),"bullets"===t.type&&t.dynamicBullets&&(n.addClass(""+t.modifierClass+t.type+"-dynamic"),e.pagination.dynamicBulletIndex=0,t.dynamicMainBullets<1&&(t.dynamicMainBullets=1)),"progressbar"===t.type&&t.progressbarOpposite&&n.addClass(t.progressbarOppositeClass),t.clickable&&n.on("click","."+t.bulletClass,(function(t){t.preventDefault();var n=i(this).index()*e.params.slidesPerGroup;e.params.loop&&(n+=e.loopedSlides),e.slideTo(n)})),d.extend(e.pagination,{$el:n,el:n[0]}))}},destroy:function(){var e=this,t=e.params.pagination;if(t.el&&e.pagination.el&&e.pagination.$el&&0!==e.pagination.$el.length){var n=e.pagination.$el;n.removeClass(t.hiddenClass),n.removeClass(t.modifierClass+t.type),e.pagination.bullets&&e.pagination.bullets.removeClass(t.bulletActiveClass),t.clickable&&n.off("click","."+t.bulletClass)}}},q={setTranslate:function(){var e=this;if(e.params.scrollbar.el&&e.scrollbar.el){var t=e.scrollbar,n=e.rtlTranslate,i=e.progress,r=t.dragSize,s=t.trackSize,o=t.$dragEl,a=t.$el,l=e.params.scrollbar,u=r,c=(s-r)*i;n?0<(c=-c)?(u=r-c,c=0):s<-c+r&&(u=s+c):c<0?(u=r+c,c=0):s<c+r&&(u=s-c),e.isHorizontal()?(h.transforms3d?o.transform("translate3d("+c+"px, 0, 0)"):o.transform("translateX("+c+"px)"),o[0].style.width=u+"px"):(h.transforms3d?o.transform("translate3d(0px, "+c+"px, 0)"):o.transform("translateY("+c+"px)"),o[0].style.height=u+"px"),l.hide&&(clearTimeout(e.scrollbar.timeout),a[0].style.opacity=1,e.scrollbar.timeout=setTimeout((function(){a[0].style.opacity=0,a.transition(400)}),1e3))}},setTransition:function(e){this.params.scrollbar.el&&this.scrollbar.el&&this.scrollbar.$dragEl.transition(e)},updateSize:function(){var e=this;if(e.params.scrollbar.el&&e.scrollbar.el){var t=e.scrollbar,n=t.$dragEl,i=t.$el;n[0].style.width="",n[0].style.height="";var r,s=e.isHorizontal()?i[0].offsetWidth:i[0].offsetHeight,o=e.size/e.virtualSize,a=o*(s/e.size);r="auto"===e.params.scrollbar.dragSize?s*o:parseInt(e.params.scrollbar.dragSize,10),e.isHorizontal()?n[0].style.width=r+"px":n[0].style.height=r+"px",i[0].style.display=1<=o?"none":"",e.params.scrollbar.hide&&(i[0].style.opacity=0),d.extend(t,{trackSize:s,divider:o,moveDivider:a,dragSize:r}),t.$el[e.params.watchOverflow&&e.isLocked?"addClass":"removeClass"](e.params.scrollbar.lockClass)}},getPointerPosition:function(e){return this.isHorizontal()?"touchstart"===e.type||"touchmove"===e.type?e.targetTouches[0].pageX:e.pageX||e.clientX:"touchstart"===e.type||"touchmove"===e.type?e.targetTouches[0].pageY:e.pageY||e.clientY},setDragPosition:function(e){var t,n=this,i=n.scrollbar,r=n.rtlTranslate,s=i.$el,o=i.dragSize,a=i.trackSize,l=i.dragStartPos;t=(i.getPointerPosition(e)-s.offset()[n.isHorizontal()?"left":"top"]-(null!==l?l:o/2))/(a-o),t=Math.max(Math.min(t,1),0),r&&(t=1-t);var u=n.minTranslate()+(n.maxTranslate()-n.minTranslate())*t;n.updateProgress(u),n.setTranslate(u),n.updateActiveIndex(),n.updateSlidesClasses()}
vendor: 19,332 bytes, line 40
40,onDragStart:function(e){var t=this,n=t.params.scrollbar,i=t.scrollbar,r=t.$wrapperEl,s=i.$el,o=i.$dragEl;t.scrollbar.isTouched=!0,t.scrollbar.dragStartPos=e.target===o[0]||e.target===o?i.getPointerPosition(e)-e.target.getBoundingClientRect()[t.isHorizontal()?"left":"top"]:null,e.preventDefault(),e.stopPropagation(),r.transition(100),o.transition(100),i.setDragPosition(e),clearTimeout(t.scrollbar.dragTimeout),s.transition(0),n.hide&&s.css("opacity",1),t.emit("scrollbarDragStart",e)},onDragMove:function(e){var t=this.scrollbar,n=this.$wrapperEl,i=t.$el,r=t.$dragEl;this.scrollbar.isTouched&&(e.preventDefault?e.preventDefault():e.returnValue=!1,t.setDragPosition(e),n.transition(0),i.transition(0),r.transition(0),this.emit("scrollbarDragMove",e))},onDragEnd:function(e){var t=this,n=t.params.scrollbar,i=t.scrollbar.$el;t.scrollbar.isTouched&&(t.scrollbar.isTouched=!1,n.hide&&(clearTimeout(t.scrollbar.dragTimeout),t.scrollbar.dragTimeout=d.nextTick((function(){i.css("opacity",0),i.transition(400)}),1e3)),t.emit("scrollbarDragEnd",e),n.snapOnRelease&&t.slideToClosest())},enableDraggable:function(){var t=this;if(t.params.scrollbar.el){var n=t.scrollbar,i=t.touchEventsTouch,r=t.touchEventsDesktop,s=t.params,o=n.$el[0],a=!(!h.passiveListener||!s.passiveListeners)&&{passive:!1,capture:!1},l=!(!h.passiveListener||!s.passiveListeners)&&{passive:!0,capture:!1};h.touch?(o.addEventListener(i.start,t.scrollbar.onDragStart,a),o.addEventListener(i.move,t.scrollbar.onDragMove,a),o.addEventListener(i.end,t.scrollbar.onDragEnd,l)):(o.addEventListener(r.start,t.scrollbar.onDragStart,a),e.addEventListener(r.move,t.scrollbar.onDragMove,a),e.addEventListener(r.end,t.scrollbar.onDragEnd,l))}},disableDraggable:function(){var t=this;if(t.params.scrollbar.el){var n=t.scrollbar,i=t.touchEventsTouch,r=t.touchEventsDesktop,s=t.params,o=n.$el[0],a=!(!h.passiveListener||!s.passiveListeners)&&{passive:!1,capture:!1},l=!(!h.passiveListener||!s.passiveListeners)&&{passive:!0,capture:!1};h.touch?(o.removeEventListener(i.start,t.scrollbar.onDragStart,a),o.removeEventListener(i.move,t.scrollbar.onDragMove,a),o.removeEventListener(i.end,t.scrollbar.onDragEnd,l)):(o.removeEventListener(r.start,t.scrollbar.onDragStart,a),e.removeEventListener(r.move,t.scrollbar.onDragMove,a),e.removeEventListener(r.end,t.scrollbar.onDragEnd,l))}},init:function(){var e=this;if(e.params.scrollbar.el){var t=e.scrollbar,n=e.$el,r=e.params.scrollbar,s=i(r.el);e.params.uniqueNavElements&&"string"==typeof r.el&&1<s.length&&1===n.find(r.el).length&&(s=n.find(r.el));var o=s.find("."+e.params.scrollbar.dragClass);0===o.length&&(o=i('<div class="'+e.params.scrollbar.dragClass+'"></div>'),s.append(o)),d.extend(t,{$el:s,el:s[0],$dragEl:o,dragEl:o[0]}),r.draggable&&t.enableDraggable()}},destroy:function(){this.scrollbar.disableDraggable()}},B={setTransform:function(e,t){var n=this.rtl,r=i(e),s=n?-1:1,o=r.attr("data-swiper-parallax")||"0",a=r.attr("data-swiper-parallax-x"),l=r.attr("data-swiper-parallax-y"),u=r.attr("data-swiper-parallax-scale"),c=r.attr("data-swiper-parallax-opacity");if(a||l?(a=a||"0",l=l||"0"):this.isHorizontal()?(a=o,l="0"):(l=o,a="0"),a=0<=a.indexOf("%")?parseInt(a,10)*t*s+"%":a*t*s+"px",l=0<=l.indexOf("%")?parseInt(l,10)*t+"%":l*t+"px",null!=c){var d=c-(c-1)*(1-Math.abs(t));r[0].style.opacity=d}if(null==u)r.transform("translate3d("+a+", "+l+", 0px)");else{var h=u-(u-1)*(1-Math.abs(t));r.transform("translate3d("+a+", "+l+", 0px) scale("+h+")")}},setTranslate:function(){var e=this,t=e.$el,n=e.slides,r=e.progress,s=e.snapGrid;t.children("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y], [data-swiper-parallax-opacity], [data-swiper-parallax-scale]").each((function(t,n){e.parallax.setTransform(n,r)})),n.each((function(t,n){var o=n.progress;1<e.params.slidesPerGroup&&"auto"!==e.params.slidesPerView&&(o+=Math.ceil(t/2)-r*(s.length-1)),o=Math.min(Math.max(o,-1),1),i(n).find("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y], [data-swiper-parallax-opacity], [data-swiper-parallax-scale]").each((function(t,n){e.parallax.setTransform(n,o)}))}))},setTransition:function(e){void 0===e&&(e=this.params.speed),this.$el.find("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y], [data-swiper-parallax-opacity], [data-swiper-parallax-scale]").each((function(t,n){var r=i(n),s=parseInt(r.attr("data-swiper-parallax-duration"),10)||e;0===e&&(s=0),r.transition(s)}))}},j={getDistanceBetweenTouches:function(e){if(e.targetTouches.length<2)return 1;var t=e.targetTouches[0].pageX,n=e.targetTouches[0].pageY,i=e.targetTouches[1].pageX,r=e.targetTouches[1].pageY;return Math.sqrt(Math.pow(i-t,2)+Math.pow(r-n,2))},onGestureStart:function(e){var t=this,n=t.params.zoom,r=t.zoom,s=r.gesture;if(r.fakeGestureTouched=!1,r.fakeGestureMoved=!1,!h.gestures){if("touchstart"!==e.type||"touchstart"===e.type&&e.targetTouches.length<2)return;r.fakeGestureTouched=!0,s.scaleStart=j.getDistanceBetweenTouches(e)}s.$slideEl&&s.$slideEl.length||(s.$slideEl=i(e.target).closest(".swiper-slide"),0===s.$slideEl.length&&(s.$slideEl=t.slides.eq(t.activeIndex)),s.$imageEl=s.$slideEl.find("img, svg, canvas"),s.$imageWrapEl=s.$imageEl.parent("."+n.containerClass),s.maxRatio=s.$imageWrapEl.attr("data-swiper-zoom")||n.maxRatio,0!==s.$imageWrapEl.length)?(s.$imageEl.transition(0),t.zoom.isScaling=!0):s.$imageEl=void 0},onGestureChange:function(e){var t=this.params.zoom,n=this.zoom,i=n.gesture;if(!h.gestures){if("touchmove"!==e.type||"touchmove"===e.type&&e.targetTouches.length<2)return;n.fakeGestureMoved=!0,i.scaleMove=j.getDistanceBetweenTouches(e)}i.$imageEl&&0!==i.$imageEl.length&&(n.scale=h.gestures?e.scale*n.currentScale:i.scaleMove/i.scaleStart*n.currentScale,n.scale>i.maxRatio&&(n.scale=i.maxRatio-1+Math.pow(n.scale-i.maxRatio+1,.5)),n.scale<t.minRatio&&(n.scale=t.minRatio+1-Math.pow(t.minRatio-n.scale+1,.5)),i.$imageEl.transform("translate3d(0,0,0) scale("+n.scale+")"))},onGestureEnd:function(e){var t=this.params.zoom,n=this.zoom,i=n.gesture;if(!h.gestures){if(!n.fakeGestureTouched||!n.fakeGestureMoved)return;if("touchend"!==e.type||"touchend"===e.type&&e.changedTouches.length<2&&!x.android)return;n.fakeGestureTouched=!1,n.fakeGestureMoved=!1}i.$imageEl&&0!==i.$imageEl.length&&(n.scale=Math.max(Math.min(n.scale,i.maxRatio),t.minRatio),i.$imageEl.transition(this.params.speed).transform("translate3d(0,0,0) scale("+n.scale+")"),n.currentScale=n.scale,n.isScaling=!1,1===n.scale&&(i.$slideEl=void 0))},onTouchStart:function(e){var t=this.zoom,n=t.gesture,i=t.image;n.$imageEl&&0!==n.$imageEl.length&&(i.isTouched||(x.android&&e.preventDefault(),i.isTouched=!0,i.touchesStart.x="touchstart"===e.type?e.targetTouches[0].pageX:e.pageX,i.touchesStart.y="touchstart"===e.type?e.targetTouches[0].pageY:e.pageY))},onTouchMove:function(e){var t=this,n=t.zoom,i=n.gesture,r=n.image,s=n.velocity;if(i.$imageEl&&0!==i.$imageEl.length&&(t.allowClick=!1,r.isTouched&&i.$slideEl)){r.isMoved||(r.width=i.$imageEl[0].offsetWidth,r.height=i.$imageEl[0].offsetHeight,r.startX=d.getTranslate(i.$imageWrapEl[0],"x")||0,r.startY=d.getTranslate(i.$imageWrapEl[0],"y")||0,i.slideWidth=i.$slideEl[0].offsetWidth,i.slideHeight=i.$slideEl[0].offsetHeight,i.$imageWrapEl.transition(0),t.rtl&&(r.startX=-r.startX,r.startY=-r.startY));var o=r.width*n.scale,a=r.height*n.scale;if(!(o<i.slideWidth&&a<i.slideHeight)){if(r.minX=Math.min(i.slideWidth/2-o/2,0),r.maxX=-r.minX,r.minY=Math.min(i.slideHeight/2-a/2,0),r.maxY=-r.minY,r.touchesCurrent.x="touchmove"===e.type?e.targetTouches[0].pageX:e.pageX,r.touchesCurrent.y="touchmove"===e.type?e.targetTouches[0].pageY:e.pageY,!r.isMoved&&!n.isScaling){if(t.isHorizontal()&&(Math.floor(r.minX)===Math.floor(r.startX)&&r.touchesCurrent.x<r.touchesStart.x||Math.floor(r.maxX)===Math.floor(r.startX)&&r.touchesCurrent.x>r.touchesStart.x))return void(r.isTouched=!1);if(!t.isHorizontal()&&(Math.floor(r.minY)===Math.floor(r.startY)&&r.touchesCurrent.y<r.touchesStart.y||Math.floor(r.maxY)===Math.floor(r.startY)&&r.touchesCurrent.y>r.touchesStart.y))return void(r.isTouched=!1)}e.preventDefault(),e.stopPropagation(),r.isMoved=!0,r.currentX=r.touchesCurrent.x-r.touchesStart.x+r.startX,r.currentY=r.touchesCurrent.y-r.touchesStart.y+r.startY,r.currentX<r.minX&&(r.currentX=r.minX+1-Math.pow(r.minX-r.currentX+1,.8)),r.currentX>r.maxX&&(r.currentX=r.maxX-1+Math.pow(r.currentX-r.maxX+1,.8)),r.currentY<r.minY&&(r.currentY=r.minY+1-Math.pow(r.minY-r.currentY+1,.8)),r.currentY>r.maxY&&(r.currentY=r.maxY-1+Math.pow(r.currentY-r.maxY+1,.8)),s.prevPositionX||(s.prevPositionX=r.touchesCurrent.x),s.prevPositionY||(s.prevPositionY=r.touchesCurrent.y),s.prevTime||(s.prevTime=Date.now()),s.x=(r.touchesCurrent.x-s.prevPositionX)/(Date.now()-s.prevTime)/2,s.y=(r.touchesCurrent.y-s.prevPositionY)/(Date.now()-s.prevTime)/2,Math.abs(r.touchesCurrent.x-s.prevPositionX)<2&&(s.x=0),Math.abs(r.touchesCurrent.y-s.prevPositionY)<2&&(s.y=0),s.prevPositionX=r.touchesCurrent.x,s.prevPositionY=r.touchesCurrent.y,s.prevTime=Date.now(),i.$imageWrapEl.transform("translate3d("+r.currentX+"px, "+r.currentY+"px,0)")}}},onTouchEnd:function(){var e=this.zoom,t=e.gesture,n=e.image,i=e.velocity;if(t.$imageEl&&0!==t.$imageEl.length){if(!n.isTouched||!n.isMoved)return n.isTouched=!1,void(n.isMoved=!1);n.isTouched=!1,n.isMoved=!1;var r=300,s=300,o=i.x*r,a=n.currentX+o,l=i.y*s,u=n.currentY+l;0!==i.x&&(r=Math.abs((a-n.currentX)/i.x)),0!==i.y&&(s=Math.abs((u-n.currentY)/i.y));var c=Math.max(r,s);n.currentX=a,n.currentY=u;var d=n.width*e.scale,h=n.height*e.scale;n.minX=Math.min(t.slideWidth/2-d/2,0),n.maxX=-n.minX,n.minY=Math.min(t.slideHeight/2-h/2,0),n.maxY=-n.minY,n.currentX=Math.max(Math.min(n.currentX,n.maxX),n.minX),n.currentY=Math.max(Math.min(n.currentY,n.maxY),n.minY),t.$imageWrapEl.transition(c).transform("translate3d("+n.currentX+"px, "+n.currentY+"px,0)")}},onTransitionEnd:function(){var e=this.zoom,t=e.gesture;t.$slideEl&&this.previousIndex!==this.activeIndex&&(t.$imageEl.transform("translate3d(0,0,0) scale(1)"),t.$imageWrapEl.transform("translate3d(0,0,0)"),e.scale=1,e.currentScale=1,t.$slideEl=void 0,t.$imageEl=void 0,t.$imageWrapEl=void 0)},toggle:function(e){var t=this.zoom;t.scale&&1!==t.scale?t.out():t.in(e)},in:function(e){var t,n,r,s,o,a,l,u,c,d,h,p,f,m,g,v,y=this,b=y.zoom,w=y.params.zoom,x=b.gesture,C=b.image;x.$slideEl||(x.$slideEl=y.clickedSlide?i(y.clickedSlide):y.slides.eq(y.activeIndex),x.$imageEl=x.$slideEl.find("img, svg, canvas"),x.$imageWrapEl=x.$imageEl.parent("."+w.containerClass)),x.$imageEl&&0!==x.$imageEl.length&&(x.$slideEl.addClass(""+w.zoomedSlideClass),n=void 0===C.touchesStart.x&&e?(t="touchend"===e.type?e.changedTouches[0].pageX:e.pageX,"touchend"===e.type?e.changedTouches[0].pageY:e.pageY):(t=C.touchesStart.x,C.touchesStart.y),b.scale=x.$imageWrapEl.attr("data-swiper-zoom")||w.maxRatio,b.currentScale=x.$imageWrapEl.attr("data-swiper-zoom")||w.maxRatio,e?(g=x.$slideEl[0].offsetWidth,v=x.$slideEl[0].offsetHeight,r=x.$slideEl.offset().left+g/2-t,s=x.$slideEl.offset().top+v/2-n,l=x.$imageEl[0].offsetWidth,u=x.$imageEl[0].offsetHeight,c=l*b.scale,d=u*b.scale,f=-(h=Math.min(g/2-c/2,0)),m=-(p=Math.min(v/2-d/2,0)),(o=r*b.scale)<h&&(o=h),f<o&&(o=f),(a=s*b.scale)<p&&(a=p),m<a&&(a=m)):a=o=0,x.$imageWrapEl.transition(300).transform("translate3d("+o+"px, "+a+"px,0)"),x.$imageEl.transition(300).transform("translate3d(0,0,0) scale("+b.scale+")"))},out:function(){var e=this,t=e.zoom,n=e.params.zoom,r=t.gesture;r.$slideEl||(r.$slideEl=e.clickedSlide?i(e.clickedSlide):e.slides.eq(e.activeIndex),r.$imageEl=r.$slideEl.find("img, svg, canvas"),r.$imageWrapEl=r.$imageEl.parent("."+n.containerClass)),r.$imageEl&&0!==r.$imageEl.length&&(t.scale=1,t.currentScale=1,r.$imageWrapEl.transition(300).transform("translate3d(0,0,0)"),r.$imageEl.transition(300).transform("translate3d(0,0,0) scale(1)"),r.$slideEl.removeClass(""+n.zoomedSlideClass),r.$slideEl=void 0)},enable:function(){var e=this,t=e.zoom;if(!t.enabled){t.enabled=!0;var n=!("touchstart"!==e.touchEvents.start||!h.passiveListener||!e.params.passiveListeners)&&{passive:!0,capture:!1};h.gestures?(e.$wrapperEl.on("gesturestart",".swiper-slide",t.onGestureStart,n),e.$wrapperEl.on("gesturechange",".swiper-slide",t.onGestureChange,n),e.$wrapperEl.on("gestureend",".swiper-slide",t.onGestureEnd,n)):"touchstart"===e.touchEvents.start&&(e.$wrapperEl.on(e.touchEvents.start,".swiper-slide",t.onGestureStart,n),e.$wrapperEl.on(e.touchEvents.move,".swiper-slide",t.onGestureChange,n),e.$wrapperEl.on(e.touchEvents.end,".swiper-slide",t.onGestureEnd,n)),e.$wrapperEl.on(e.touchEvents.move,"."+e.params.zoom.containerClass,t.onTouchMove)}},disable:function(){var e=this,t=e.zoom;if(t.enabled){e.zoom.enabled=!1;var n=!("touchstart"!==e.touchEvents.start||!h.passiveListener||!e.params.passiveListeners)&&{passive:!0,capture:!1};h.gestures?(e.$wrapperEl.off("gesturestart",".swiper-slide",t.onGestureStart,n),e.$wrapperEl.off("gesturechange",".swiper-slide",t.onGestureChange,n),e.$wrapperEl.off("gestureend",".swiper-slide",t.onGestureEnd,n)):"touchstart"===e.touchEvents.start&&(e.$wrapperEl.off(e.touchEvents.start,".swiper-slide",t.onGestureStart,n),e.$wrapperEl.off(e.touchEvents.move,".swiper-slide",t.onGestureChange,n),e.$wrapperEl.off(e.touchEvents.end,".swiper-slide",t.onGestureEnd,n)),e.$wrapperEl.off(e.touchEvents.move,"."+e.params.zoom.containerClass,t.onTouchMove)}}},F={loadInSlide:function(e,t){void 0===t&&(t=!0);var n=this,r=n.params.lazy;if(void 0!==e&&0!==n.slides.length){var s=n.virtual&&n.params.virtual.enabled?n.$wrapperEl.children("."+n.params.slideClass+'[data-swiper-slide-index="'+e+'"]'):n.slides.eq(e),o=s.find("."+r.elementClass+":not(."+r.loadedClass+"):not(."+r.loadingClass+")");!s.hasClass(r.elementClass)||s.hasClass(r.loadedClass)||s.hasClass(r.loadingClass)||(o=o.add(s[0])),0!==o.length&&o.each((function(e,o){var a=i(o);a.addClass(r.loadingClass);var l=a.attr("data-background"),u=a.attr("data-src"),c=a.attr("data-srcset"),d=a.attr("data-sizes");n.loadImage(a[0],u||l,c,d,!1,(function(){if(null!=n&&n&&(!n||n.params)&&!n.destroyed){if(l?(a.css("background-image",'url("'+l+'")'),a.removeAttr("data-background")):(c&&(a.attr("srcset",c),a.removeAttr("data-srcset")),d&&(a.attr("sizes",d),a.removeAttr("data-sizes")),u&&(a.attr("src",u),a.removeAttr("data-src"))),a.addClass(r.loadedClass).removeClass(r.loadingClass),s.find("."+r.preloaderClass).remove(),n.params.loop&&t){var e=s.attr("data-swiper-slide-index");if(s.hasClass(n.params.slideDuplicateClass)){var i=n.$wrapperEl.children('[data-swiper-slide-index="'+e+'"]:not(.'+n.params.slideDuplicateClass+")");n.lazy.loadInSlide(i.index(),!1)}else{var o=n.$wrapperEl.children("."+n.params.slideDuplicateClass+'[data-swiper-slide-index="'+e+'"]');n.lazy.loadInSlide(o.index(),!1)}}n.emit("lazyImageReady",s[0],a[0])}})),n.emit("lazyImageLoad",s[0],a[0])}))}},load:function(){var e=this,t=e.$wrapperEl,n=e.params,r=e.slides,s=e.activeIndex,o=e.virtual&&n.virtual.enabled,a=n.lazy,l=n.slidesPerView;function u(e){if(o){if(t.children("."+n.slideClass+'[data-swiper-slide-index="'+e+'"]').length)return!0}else if(r[e])return!0;return!1}function c(e){return o?i(e).attr("data-swiper-slide-index"):i(e).index()}if("auto"===l&&(l=0),e.lazy.initialImageLoaded||(e.lazy.initialImageLoaded=!0),e.params.watchSlidesVisibility)t.children("."+n.slideVisibleClass).each((function(t,n){var r=o?i(n).attr("data-swiper-slide-index"):i(n).index();e.lazy.loadInSlide(r)}));else if(1<l)for(var d=s;d<s+l;d+=1)u(d)&&e.lazy.loadInSlide(d);else e.lazy.loadInSlide(s);if(a.loadPrevNext)if(1<l||a.loadPrevNextAmount&&1<a.loadPrevNextAmount){for(var h=a.loadPrevNextAmount,p=l,f=Math.min(s+p+Math.max(h,p),r.length),m=Math.max(s-Math.max(p,h),0),g=s+l;g<f;g+=1)u(g)&&e.lazy.loadInSlide(g);for(var v=m;v<s;v+=1)u(v)&&e.lazy.loadInSlide(v)}else{var y=t.children("."+n.slideNextClass);0<y.length&&e.lazy.loadInSlide(c(y));var b=t.children("."+n.slidePrevClass);0<b.length&&e.lazy.loadInSlide(c(b))}}},W={LinearSpline:function(e,t){var n,i,r,s,o;return this.x=e,this.y=t,this.lastIndex=e.length-1,this.interpolate=function(e){return e?(o=function(e,t){for(i=-1,n=e.length;1<n-i;)e[r=n+i>>1]<=t?i=r:n=r;return n}(this.x,e),s=o-1,(e-this.x[s])*(this.y[o]-this.y[s])/(this.x[o]-this.x[s])+this.y[s]):0},this},getInterpolateFunction:function(e){var t=this;t.controller.spline||(t.controller.spline=t.params.loop?new W.LinearSpline(t.slidesGrid,e.slidesGrid):new W.LinearSpline(t.snapGrid,e.snapGrid))},setTranslate:function(e,t){var n,i,r=this,s=r.controller.control;function o(e){var t=r.rtlTranslate?-r.translate:r.translate;"slide"===r.params.controller.by&&(r.controller.getInterpolateFunction(e),i=-r.controller.spline.interpolate(-t)),i&&"container"!==r.params.controller.by||(n=(e.maxTranslate()-e.minTranslate())/(r.maxTranslate()-r.minTranslate()),i=(t-r.minTranslate())*n+e.minTranslate()),r.params.controller.inverse&&(i=e.maxTranslate()-i),e.updateProgress(i),e.setTranslate(i,r),e.updateActiveIndex(),e.updateSlidesClasses()}if(Array.isArray(s))for(var a=0;a<s.length;a+=1)s[a]!==t&&s[a]instanceof k&&o(s[a]);else s instanceof k&&t!==s&&o(s)},setTransition:function(e,t){var n,i=this,r=i.controller.control;function s(t){t.setTransition(e,i),0!==e&&(t.transitionStart(),t.params.autoHeight&&d.nextTick((function(){t.updateAutoHeight()})),t.$wrapperEl.transitionEnd((function(){r&&(t.params.loop&&"slide"===i.params.controller.by&&t.loopFix(),t.transitionEnd())})))}if(Array.isArray(r))for(n=0;n<r.length;n+=1)r[n]!==t&&r[n]instanceof k&&s(r[n]);else r instanceof k&&t!==r&&s(r)}},V={makeElFocusable:function(e){return e.attr("tabIndex","0"),e},addElRole:function(e,t){return e.attr("role",t),e},addElLabel:function(e,t){return e.attr("aria-label",t),e},disableEl:function(e){return e.attr("aria-disabled",!0),e},enableEl:function(e){return e.attr("aria-disabled",!1),e},onEnterKey:function(e){var t=this,n=t.params.a11y;if(13===e.keyCode){var r=i(e.target);t.navigation&&t.navigation.$nextEl&&r.is(t.navigation.$nextEl)&&(t.isEnd&&!t.params.loop||t.slideNext(),t.isEnd?t.a11y.notify(n.lastSlideMessage):t.a11y.notify(n.nextSlideMessage)),t.navigation&&t.navigation.$prevEl&&r.is(t.navigation.$prevEl)&&(t.isBeginning&&!t.params.loop||t.slidePrev(),t.isBeginning?t.a11y.notify(n.firstSlideMessage):t.a11y.notify(n.prevSlideMessage)),t.pagination&&r.is("."+t.params.pagination.bulletClass)&&r[0].click()}},notify:function(e){var t=this.a11y.liveRegion;0!==t.length&&(t.html(""),t.html(e))},updateNavigation:function(){var e=this;if(!e.params.loop){var t=e.navigation,n=t.$nextEl,i=t.$prevEl;i&&0<i.length&&(e.isBeginning?e.a11y.disableEl(i):e.a11y.enableEl(i)),n&&0<n.length&&(e.isEnd?e.a11y.disableEl(n):e.a11y.enableEl(n))}},updatePagination:function(){var e=this,t=e.params.a11y;e.pagination&&e.params.pagination.clickable&&e.pagination.bullets&&e.pagination.bullets.length&&e.pagination.bullets.each((function(n,r){var s=i(r);e.a11y.makeElFocusable(s),e.a11y.addElRole(s,"button"),e.a11y.addElLabel(s,t.paginationBulletMessage.replace(/{{index}}/,s.index()+1))}))},init:function(){var e=this;e.$el.append(e.a11y.liveRegion);var t,n,i=e.params.a11y;e.navigation&&e.navigation.$nextEl&&(t=e.navigation.$nextEl),e.navigation&&e.navigation.$prevEl&&(n=e.navigation.$prevEl),t&&(e.a11y.makeElFocusable(t),e.a11y.addElRole(t,"button"),e.a11y.addElLabel(t,i.nextSlideMessage),t.on("key
40down",e.a11y.onEnterKey)),n&&(e.a11y.makeElFocusable(n),e.a11y.addElRole(n,"button"),e.a11y.addElLabel(n,i.prevSlideMessage),n.on("keydown",e.a11y.onEnterKey)),e.pagination&&e.params.pagination.clickable&&e.pagination.bullets&&e.pagination.bullets.length&&e.pagination.$el.on("keydown","."+e.params.pagination.bulletClass,e.a11y.onEnterKey)},destroy:function(){var e,t,n=this;n.a11y.liveRegion&&0<n.a11y.liveRegion.length&&n.a11y.liveRegion.remove(),n.navigation&&n.navigation.$nextEl&&(e=n.navigation.$nextEl),n.navigation&&n.navigation.$prevEl&&(t=n.navigation.$prevEl),e&&e.off("keydown",n.a11y.onEnterKey),t&&t.off("keydown",n.a11y.onEnterKey),n.pagination&&n.params.pagination.clickable&&n.pagination.bullets&&n.pagination.bullets.length&&n.pagination.$el.off("keydown","."+n.params.pagination.bulletClass,n.a11y.onEnterKey)}},G={init:function(){var e=this;if(e.params.history){if(!t.history||!t.history.pushState)return e.params.history.enabled=!1,void(e.params.hashNavigation.enabled=!0);var n=e.history;n.initialized=!0,n.paths=G.getPathValues(),(n.paths.key||n.paths.value)&&(n.scrollToSlide(0,n.paths.value,e.params.runCallbacksOnInit),e.params.history.replaceState||t.addEventListener("popstate",e.history.setHistoryPopState))}},destroy:function(){this.params.history.replaceState||t.removeEventListener("popstate",this.history.setHistoryPopState)},setHistoryPopState:function(){this.history.paths=G.getPathValues(),this.history.scrollToSlide(this.params.speed,this.history.paths.value,!1)},getPathValues:function(){var e=t.location.pathname.slice(1).split("/").filter((function(e){return""!==e})),n=e.length;return{key:e[n-2],value:e[n-1]}},setHistory:function(e,n){if(this.history.initialized&&this.params.history.enabled){var i=this.slides.eq(n),r=G.slugify(i.attr("data-history"));t.location.pathname.includes(e)||(r=e+"/"+r);var s=t.history.state;s&&s.value===r||(this.params.history.replaceState?t.history.replaceState({value:r},null,r):t.history.pushState({value:r},null,r))}},slugify:function(e){return e.toString().replace(/\s+/g,"-").replace(/[^\w-]+/g,"").replace(/--+/g,"-").replace(/^-+/,"").replace(/-+$/,"")},scrollToSlide:function(e,t,n){var i=this;if(t)for(var r=0,s=i.slides.length;r<s;r+=1){var o=i.slides.eq(r);if(G.slugify(o.attr("data-history"))===t&&!o.hasClass(i.params.slideDuplicateClass)){var a=o.index();i.slideTo(a,e,n)}}else i.slideTo(0,e,n)}},Y={onHashCange:function(){var t=this,n=e.location.hash.replace("#","");if(n!==t.slides.eq(t.activeIndex).attr("data-hash")){var i=t.$wrapperEl.children("."+t.params.slideClass+'[data-hash="'+n+'"]').index();if(void 0===i)return;t.slideTo(i)}},setHash:function(){var n=this;if(n.hashNavigation.initialized&&n.params.hashNavigation.enabled)if(n.params.hashNavigation.replaceState&&t.history&&t.history.replaceState)t.history.replaceState(null,null,"#"+n.slides.eq(n.activeIndex).attr("data-hash")||"");else{var i=n.slides.eq(n.activeIndex),r=i.attr("data-hash")||i.attr("data-history");e.location.hash=r||""}},init:function(){var n=this;if(!(!n.params.hashNavigation.enabled||n.params.history&&n.params.history.enabled)){n.hashNavigation.initialized=!0;var r=e.location.hash.replace("#","");if(r)for(var s=0,o=n.slides.length;s<o;s+=1){var a=n.slides.eq(s);if((a.attr("data-hash")||a.attr("data-history"))===r&&!a.hasClass(n.params.slideDuplicateClass)){var l=a.index();n.slideTo(l,0,n.params.runCallbacksOnInit,!0)}}n.params.hashNavigation.watchState&&i(t).on("hashchange",n.hashNavigation.onHashCange)}},destroy:function(){this.params.hashNavigation.watchState&&i(t).off("hashchange",this.hashNavigation.onHashCange)}},U={run:function(){var e=this,t=e.slides.eq(e.activeIndex),n=e.params.autoplay.delay;t.attr("data-swiper-autoplay")&&(n=t.attr("data-swiper-autoplay")||e.params.autoplay.delay),clearTimeout(e.autoplay.timeout),e.autoplay.timeout=
vendor: 18,651 bytes, line 40
40d.nextTick((function(){e.params.autoplay.reverseDirection?e.params.loop?(e.loopFix(),e.slidePrev(e.params.speed,!0,!0),e.emit("autoplay")):e.isBeginning?e.params.autoplay.stopOnLastSlide?e.autoplay.stop():(e.slideTo(e.slides.length-1,e.params.speed,!0,!0),e.emit("autoplay")):(e.slidePrev(e.params.speed,!0,!0),e.emit("autoplay")):e.params.loop?(e.loopFix(),e.slideNext(e.params.speed,!0,!0),e.emit("autoplay")):e.isEnd?e.params.autoplay.stopOnLastSlide?e.autoplay.stop():(e.slideTo(0,e.params.speed,!0,!0),e.emit("autoplay")):(e.slideNext(e.params.speed,!0,!0),e.emit("autoplay"))}),n)},start:function(){var e=this;return void 0===e.autoplay.timeout&&!e.autoplay.running&&(e.autoplay.running=!0,e.emit("autoplayStart"),e.autoplay.run(),!0)},stop:function(){var e=this;return!!e.autoplay.running&&void 0!==e.autoplay.timeout&&(e.autoplay.timeout&&(clearTimeout(e.autoplay.timeout),e.autoplay.timeout=void 0),e.autoplay.running=!1,e.emit("autoplayStop"),!0)},pause:function(e){var t=this;t.autoplay.running&&(t.autoplay.paused||(t.autoplay.timeout&&clearTimeout(t.autoplay.timeout),t.autoplay.paused=!0,0!==e&&t.params.autoplay.waitForTransition?(t.$wrapperEl[0].addEventListener("transitionend",t.autoplay.onTransitionEnd),t.$wrapperEl[0].addEventListener("webkitTransitionEnd",t.autoplay.onTransitionEnd)):(t.autoplay.paused=!1,t.autoplay.run())))}},X={setTranslate:function(){for(var e=this,t=e.slides,n=0;n<t.length;n+=1){var i=e.slides.eq(n),r=-i[0].swiperSlideOffset;e.params.virtualTranslate||(r-=e.translate);var s=0;e.isHorizontal()||(s=r,r=0);var o=e.params.fadeEffect.crossFade?Math.max(1-Math.abs(i[0].progress),0):1+Math.min(Math.max(i[0].progress,-1),0);i.css({opacity:o}).transform("translate3d("+r+"px, "+s+"px, 0px)")}},setTransition:function(e){var t=this,n=t.slides,i=t.$wrapperEl;if(n.transition(e),t.params.virtualTranslate&&0!==e){var r=!1;n.transitionEnd((function(){if(!r&&t&&!t.destroyed){r=!0,t.animating=!1;for(var e=["webkitTransitionEnd","transitionend"],n=0;n<e.length;n+=1)i.trigger(e[n])}}))}}},K={setTranslate:function(){var e,t=this,n=t.$el,r=t.$wrapperEl,s=t.slides,o=t.width,a=t.height,l=t.rtlTranslate,u=t.size,c=t.params.cubeEffect,d=t.isHorizontal(),h=t.virtual&&t.params.virtual.enabled,f=0;c.shadow&&(d?(0===(e=r.find(".swiper-cube-shadow")).length&&(e=i('<div class="swiper-cube-shadow"></div>'),r.append(e)),e.css({height:o+"px"})):0===(e=n.find(".swiper-cube-shadow")).length&&(e=i('<div class="swiper-cube-shadow"></div>'),n.append(e)));for(var m=0;m<s.length;m+=1){var g=s.eq(m),v=m;h&&(v=parseInt(g.attr("data-swiper-slide-index"),10));var y=90*v,b=Math.floor(y/360);l&&(y=-y,b=Math.floor(-y/360));var w=Math.max(Math.min(g[0].progress,1),-1),x=0,C=0,E=0;v%4==0?(x=4*-b*u,E=0):(v-1)%4==0?(x=0,E=4*-b*u):(v-2)%4==0?(x=u+4*b*u,E=u):(v-3)%4==0&&(x=-u,E=3*u+4*u*b),l&&(x=-x),d||(C=x,x=0);var T="rotateX("+(d?0:-y)+"deg) rotateY("+(d?y:0)+"deg) translate3d("+x+"px, "+C+"px, "+E+"px)";if(w<=1&&-1<w&&(f=90*v+90*w,l&&(f=90*-v-90*w)),g.transform(T),c.slideShadows){var S=d?g.find(".swiper-slide-shadow-left"):g.find(".swiper-slide-shadow-top"),k=d?g.find(".swiper-slide-shadow-right"):g.find(".swiper-slide-shadow-bottom");0===S.length&&(S=i('<div class="swiper-slide-shadow-'+(d?"left":"top")+'"></div>'),g.append(S)),0===k.length&&(k=i('<div class="swiper-slide-shadow-'+(d?"right":"bottom")+'"></div>'),g.append(k)),S.length&&(S[0].style.opacity=Math.max(-w,0)),k.length&&(k[0].style.opacity=Math.max(w,0))}}if(r.css({"-webkit-transform-origin":"50% 50% -"+u/2+"px","-moz-transform-origin":"50% 50% -"+u/2+"px","-ms-transform-origin":"50% 50% -"+u/2+"px","transform-origin":"50% 50% -"+u/2+"px"}),c.shadow)if(d)e.transform("translate3d(0px, "+(o/2+c.shadowOffset)+"px, "+-o/2+"px) rotateX(90deg) rotateZ(0deg) scale("+c.shadowScale+")");else{var _=Math.abs(f)-90*Math.floor(Math.abs(f)/90),A=1.5-(Math.sin(2*_*Math.PI/360)/2+Math.cos(2*_*Math.PI/360)/2),D=c.shadowScale,z=c.shadowScale/A,M=c.shadowOffset;e.transform("scale3d("+D+", 1, "+z+") translate3d(0px, "+(a/2+M)+"px, "+-a/2/z+"px) rotateX(-90deg)")}var $=p.isSafari||p.isUiWebView?-u/2:0;r.transform("translate3d(0px,0,"+$+"px) rotateX("+(t.isHorizontal()?0:f)+"deg) rotateY("+(t.isHorizontal()?-f:0)+"deg)")},setTransition:function(e){var t=this.$el;this.slides.transition(e).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").transition(e),this.params.cubeEffect.shadow&&!this.isHorizontal()&&t.find(".swiper-cube-shadow").transition(e)}},Q={setTranslate:function(){for(var e=this,t=e.slides,n=e.rtlTranslate,r=0;r<t.length;r+=1){var s=t.eq(r),o=s[0].progress;e.params.flipEffect.limitRotation&&(o=Math.max(Math.min(s[0].progress,1),-1));var a=-180*o,l=0,u=-s[0].swiperSlideOffset,c=0;if(e.isHorizontal()?n&&(a=-a):(c=u,l=-a,a=u=0),s[0].style.zIndex=-Math.abs(Math.round(o))+t.length,e.params.flipEffect.slideShadows){var d=e.isHorizontal()?s.find(".swiper-slide-shadow-left"):s.find(".swiper-slide-shadow-top"),h=e.isHorizontal()?s.find(".swiper-slide-shadow-right"):s.find(".swiper-slide-shadow-bottom");0===d.length&&(d=i('<div class="swiper-slide-shadow-'+(e.isHorizontal()?"left":"top")+'"></div>'),s.append(d)),0===h.length&&(h=i('<div class="swiper-slide-shadow-'+(e.isHorizontal()?"right":"bottom")+'"></div>'),s.append(h)),d.length&&(d[0].style.opacity=Math.max(-o,0)),h.length&&(h[0].style.opacity=Math.max(o,0))}s.transform("translate3d("+u+"px, "+c+"px, 0px) rotateX("+l+"deg) rotateY("+a+"deg)")}},setTransition:function(e){var t=this,n=t.slides,i=t.activeIndex,r=t.$wrapperEl;if(n.transition(e).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").transition(e),t.params.virtualTranslate&&0!==e){var s=!1;n.eq(i).transitionEnd((function(){if(!s&&t&&!t.destroyed){s=!0,t.animating=!1;for(var e=["webkitTransitionEnd","transitionend"],n=0;n<e.length;n+=1)r.trigger(e[n])}}))}}},Z={setTranslate:function(){for(var e=this,t=e.width,n=e.height,r=e.slides,s=e.$wrapperEl,o=e.slidesSizesGrid,a=e.params.coverflowEffect,l=e.isHorizontal(),u=e.translate,c=l?t/2-u:n/2-u,d=l?a.rotate:-a.rotate,p=a.depth,f=0,m=r.length;f<m;f+=1){var g=r.eq(f),v=o[f],y=(c-g[0].swiperSlideOffset-v/2)/v*a.modifier,b=l?d*y:0,w=l?0:d*y,x=-p*Math.abs(y),C=l?0:a.stretch*y,E=l?a.stretch*y:0;Math.abs(E)<.001&&(E=0),Math.abs(C)<.001&&(C=0),Math.abs(x)<.001&&(x=0),Math.abs(b)<.001&&(b=0),Math.abs(w)<.001&&(w=0);var T="translate3d("+E+"px,"+C+"px,"+x+"px) rotateX("+w+"deg) rotateY("+b+"deg)";if(g.transform(T),g[0].style.zIndex=1-Math.abs(Math.round(y)),a.slideShadows){var S=l?g.find(".swiper-slide-shadow-left"):g.find(".swiper-slide-shadow-top"),k=l?g.find(".swiper-slide-shadow-right"):g.find(".swiper-slide-shadow-bottom");0===S.length&&(S=i('<div class="swiper-slide-shadow-'+(l?"left":"top")+'"></div>'),g.append(S)),0===k.length&&(k=i('<div class="swiper-slide-shadow-'+(l?"right":"bottom")+'"></div>'),g.append(k)),S.length&&(S[0].style.opacity=0<y?y:0),k.length&&(k[0].style.opacity=0<-y?-y:0)}}(h.pointerEvents||h.prefixedPointerEvents)&&(s[0].style.perspectiveOrigin=c+"px 50%")},setTransition:function(e){this.slides.transition(e).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").transition(e)}},J={init:function(){var e=this,t=e.params.thumbs,n=e.constructor;t.swiper instanceof n?(e.thumbs.swiper=t.swiper,d.extend(e.thumbs.swiper.originalParams,{watchSlidesProgress:!0,slideToClickedSlide:!1}),d.extend(e.thumbs.swiper.params,{watchSlidesProgress:!0,slideToClickedSlide:!1})):d.isObject(t.swiper)&&(e.thumbs.swiper=new n(d.extend({},t.swiper,{watchSlidesVisibility:!0,watchSlidesProgress:!0,slideToClickedSlide:!1})),e.thumbs.swiperCreated=!0),e.thumbs.swiper.$el.addClass(e.params.thumbs.thumbsContainerClass),e.thumbs.swiper.on("tap",e.thumbs.onThumbClick)},onThumbClick:function(){var e=this,t=e.thumbs.swiper;if(t){var n=t.clickedIndex,r=t.clickedSlide;if(!(r&&i(r).hasClass(e.params.thumbs.slideThumbActiveClass)||null==n)){var s;if(s=t.params.loop?parseInt(i(t.clickedSlide).attr("data-swiper-slide-index"),10):n,e.params.loop){var o=e.activeIndex;e.slides.eq(o).hasClass(e.params.slideDuplicateClass)&&(e.loopFix(),e._clientLeft=e.$wrapperEl[0].clientLeft,o=e.activeIndex);var a=e.slides.eq(o).prevAll('[data-swiper-slide-index="'+s+'"]').eq(0).index(),l=e.slides.eq(o).nextAll('[data-swiper-slide-index="'+s+'"]').eq(0).index();s=void 0===a?l:void 0===l?a:l-o<o-a?l:a}e.slideTo(s)}}},update:function(e){var t=this,n=t.thumbs.swiper;if(n){var i="auto"===n.params.slidesPerView?n.slidesPerViewDynamic():n.params.slidesPerView;if(t.realIndex!==n.realIndex){var r,s=n.activeIndex;if(n.params.loop){n.slides.eq(s).hasClass(n.params.slideDuplicateClass)&&(n.loopFix(),n._clientLeft=n.$wrapperEl[0].clientLeft,s=n.activeIndex);var o=n.slides.eq(s).prevAll('[data-swiper-slide-index="'+t.realIndex+'"]').eq(0).index(),a=n.slides.eq(s).nextAll('[data-swiper-slide-index="'+t.realIndex+'"]').eq(0).index();r=void 0===o?a:void 0===a?o:a-s==s-o?s:a-s<s-o?a:o}else r=t.realIndex;n.visibleSlidesIndexes&&n.visibleSlidesIndexes.indexOf(r)<0&&(n.params.centeredSlides?r=s<r?r-Math.floor(i/2)+1:r+Math.floor(i/2)-1:s<r&&(r=r-i+1),n.slideTo(r,e?0:void 0))}var l=1,u=t.params.thumbs.slideThumbActiveClass;if(1<t.params.slidesPerView&&!t.params.centeredSlides&&(l=t.params.slidesPerView),n.slides.removeClass(u),n.params.loop||n.params.virtual)for(var c=0;c<l;c+=1)n.$wrapperEl.children('[data-swiper-slide-index="'+(t.realIndex+c)+'"]').addClass(u);else for(var d=0;d<l;d+=1)n.slides.eq(t.realIndex+d).addClass(u)}}},ee=[_,A,D,z,L,$,O,{name:"mousewheel",params:{mousewheel:{enabled:!1,releaseOnEdges:!1,invert:!1,forceToAxis:!1,sensitivity:1,eventsTarged:"container"}},create:function(){var e=this;d.extend(e,{mousewheel:{enabled:!1,enable:R.enable.bind(e),disable:R.disable.bind(e),handle:R.handle.bind(e),handleMouseEnter:R.handleMouseEnter.bind(e),handleMouseLeave:R.handleMouseLeave.bind(e),lastScrollTime:d.now()}})},on:{init:function(){this.params.mousewheel.enabled&&this.mousewheel.enable()},destroy:function(){this.mousewheel.enabled&&this.mousewheel.disable()}}},{name:"navigation",params:{navigation:{nextEl:null,prevEl:null,hideOnClick:!1,disabledClass:"swiper-button-disabled",hiddenClass:"swiper-button-hidden",lockClass:"swiper-button-lock"}},create:function(){var e=this;d.extend(e,{navigation:{init:N.init.bind(e),update:N.update.bind(e),destroy:N.destroy.bind(e),onNextClick:N.onNextClick.bind(e),onPrevClick:N.onPrevClick.bind(e)}})},on:{init:function(){this.navigation.init(),this.navigation.update()},toEdge:function(){this.navigation.update()},fromEdge:function(){this.navigation.update()},destroy:function(){this.navigation.destroy()},click:function(e){var t,n=this,r=n.navigation,s=r.$nextEl,o=r.$prevEl;!n.params.navigation.hideOnClick||i(e.target).is(o)||i(e.target).is(s)||(s?t=s.hasClass(n.params.navigation.hiddenClass):o&&(t=o.hasClass(n.params.navigation.hiddenClass)),!0===t?n.emit("navigationShow",n):n.emit("navigationHide",n),s&&s.toggleClass(n.params.navigation.hiddenClass),o&&o.toggleClass(n.params.navigation.hiddenClass))}}},{name:"pagination",params:{pagination:{el:null,bulletElement:"span",clickable:!1,hideOnClick:!1,renderBullet:null,renderProgressbar:null,renderFraction:null,renderCustom:null,progressbarOpposite:!1,type:"bullets",dynamicBullets:!1,dynamicMainBullets:1,formatFractionCurrent:function(e){return e},formatFractionTotal:function(e){return e},bulletClass:"swiper-pagination-bullet",bulletActiveClass:"swiper-pagination-bullet-active",modifierClass:"swiper-pagination-",currentClass:"swiper-pagination-current",totalClass:"swiper-pagination-total",hiddenClass:"swiper-pagination-hidden",progressbarFillClass:"swiper-pagination-progressbar-fill",progressbarOppositeClass:"swiper-pagination-progressbar-opposite",clickableClass:"swiper-pagination-clickable",lockClass:"swiper-pagination-lock"}},create:function(){var e=this;d.extend(e,{pagination:{init:H.init.bind(e),render:H.render.bind(e),update:H.update.bind(e),destroy:H.destroy.bind(e),dynamicBulletIndex:0}})},on:{init:function(){this.pagination.init(),this.pagination.render(),this.pagination.update()},activeIndexChange:function(){(this.params.loop||void 0===this.snapIndex)&&this.pagination.update()},snapIndexChange:function(){this.params.loop||this.pagination.update()},slidesLengthChange:function(){this.params.loop&&(this.pagination.render(),this.pagination.update())},snapGridLengthChange:function(){this.params.loop||(this.pagination.render(),this.pagination.update())},destroy:function(){this.pagination.destroy()},click:function(e){var t=this;t.params.pagination.el&&t.params.pagination.hideOnClick&&0<t.pagination.$el.length&&!i(e.target).hasClass(t.params.pagination.bulletClass)&&(!0===t.pagination.$el.hasClass(t.params.pagination.hiddenClass)?t.emit("paginationShow",t):t.emit("paginationHide",t),t.pagination.$el.toggleClass(t.params.pagination.hiddenClass))}}},{name:"scrollbar",params:{scrollbar:{el:null,dragSize:"auto",hide:!1,draggable:!1,snapOnRelease:!0,lockClass:"swiper-scrollbar-lock",dragClass:"swiper-scrollbar-drag"}},create:function(){var e=this;d.extend(e,{scrollbar:{init:q.init.bind(e),destroy:q.destroy.bind(e),updateSize:q.updateSize.bind(e),setTranslate:q.setTranslate.bind(e),setTransition:q.setTransition.bind(e),enableDraggable:q.enableDraggable.bind(e),disableDraggable:q.disableDraggable.bind(e),setDragPosition:q.setDragPosition.bind(e),getPointerPosition:q.getPointerPosition.bind(e),onDragStart:q.onDragStart.bind(e),onDragMove:q.onDragMove.bind(e),onDragEnd:q.onDragEnd.bind(e),isTouched:!1,timeout:null,dragTimeout:null}})},on:{init:function(){this.scrollbar.init(),this.scrollbar.updateSize(),this.scrollbar.setTranslate()},update:function(){this.scrollbar.updateSize()},resize:function(){this.scrollbar.updateSize()},observerUpdate:function(){this.scrollbar.updateSize()},setTranslate:function(){this.scrollbar.setTranslate()},setTransition:function(e){this.scrollbar.setTransition(e)},destroy:function(){this.scrollbar.destroy()}}},{name:"parallax",params:{parallax:{enabled:!1}},create:function(){d.extend(this,{parallax:{setTransform:B.setTransform.bind(this),setTranslate:B.setTranslate.bind(this),setTransition:B.setTransition.bind(this)}})},on:{beforeInit:function(){this.params.parallax.enabled&&(this.params.watchSlidesProgress=!0,this.originalParams.watchSlidesProgress=!0)},init:function(){this.params.parallax.enabled&&this.parallax.setTranslate()},setTranslate:function(){this.params.parallax.enabled&&this.parallax.setTranslate()},setTransition:function(e){this.params.parallax.enabled&&this.parallax.setTransition(e)}}},{name:"zoom",params:{zoom:{enabled:!1,maxRatio:3,minRatio:1,toggle:!0,containerClass:"swiper-zoom-container",zoomedSlideClass:"swiper-slide-zoomed"}},create:function(){var e=this,t={enabled:!1,scale:1,currentScale:1,isScaling:!1,gesture:{$slideEl:void 0,slideWidth:void 0,slideHeight:void 0,$imageEl:void 0,$imageWrapEl:void 0,maxRatio:3},image:{isTouched:void 0,isMoved:void 0,currentX:void 0,currentY:void 0,minX:void 0,minY:void 0,maxX:void 0,maxY:void 0,width:void 0,height:void 0,startX:void 0,startY:void 0,touchesStart:{},touchesCurrent:{}},velocity:{x:void 0,y:void 0,prevPositionX:void 0,prevPositionY:void 0,prevTime:void 0}};"onGestureStart onGestureChange onGestureEnd onTouchStart onTouchMove onTouchEnd onTransitionEnd toggle enable disable in out".split(" ").forEach((function(n){t[n]=j[n].bind(e)})),d.extend(e,{zoom:t});var n=1;Object.defineProperty(e.zoom,"scale",{get:function(){return n},set:function(t){if(n!==t){var i=e.zoom.gesture.$imageEl?e.zoom.gesture.$imageEl[0]:void 0,r=e.zoom.gesture.$slideEl?e.zoom.gesture.$slideEl[0]:void 0;e.emit("zoomChange",t,i,r)}n=t}})},on:{init:function(){this.params.zoom.enabled&&this.zoom.enable()},destroy:function(){this.zoom.disable()},touchStart:function(e){this.zoom.enabled&&this.zoom.onTouchStart(e)},touchEnd:function(e){this.zoom.enabled&&this.zoom.onTouchEnd(e)},doubleTap:function(e){this.params.zoom.enabled&&this.zoom.enabled&&this.params.zoom.toggle&&this.zoom.toggle(e)},transitionEnd:function(){this.zoom.enabled&&this.params.zoom.enabled&&this.zoom.onTransitionEnd()}}},{name:"lazy",params:{lazy:{enabled:!1,loadPrevNext:!1,loadPrevNextAmount:1,loadOnTransitionStart:!1,elementClass:"swiper-lazy",loadingClass:"swiper-lazy-loading",loadedClass:"swiper-lazy-loaded",preloaderClass:"swiper-lazy-preloader"}},create:function(){d.extend(this,{lazy:{initialImageLoaded:!1,load:F.load.bind(this),loadInSlide:F.loadInSlide.bind(this)}})},on:{beforeInit:function(){this.params.lazy.enabled&&this.params.preloadImages&&(this.params.preloadImages=!1)},init:function(){this.params.lazy.enabled&&!this.params.loop&&0===this.params.initialSlide&&this.lazy.load()},scroll:function(){this.params.freeMode&&!this.params.freeModeSticky&&this.lazy.load()},resize:function(){this.params.lazy.enabled&&this.lazy.load()},scrollbarDragMove:function(){this.params.lazy.enabled&&this.lazy.load()},transitionStart:function(){var e=this;e.params.lazy.enabled&&(!e.params.lazy.loadOnTransitionStart&&(e.params.lazy.loadOnTransitionStart||e.lazy.initialImageLoaded)||e.lazy.load())},transitionEnd:function(){this.params.lazy.enabled&&!this.params.lazy.loadOnTransitionStart&&this.lazy.load()}}},{name:"controller",params:{controller:{control:void 0,inverse:!1,by:"slide"}},create:function(){var e=this;d.extend(e,{controller:{control:e.params.controller.control,getInterpolateFunction:W.getInterpolateFunction.bind(e),setTranslate:W.setTranslate.bind(e),setTransition:W.setTransition.bind(e)}})},on:{update:function(){this.controller.control&&this.controller.spline&&(this.controller.spline=void 0,delete this.controller.spline)},resize:function(){this.controller.control&&this.controller.spline&&(this.controller.spline=void 0,delete this.controller.spline)},observerUpdate:function(){this.controller.control&&this.controller.spline&&(this.controller.spline=void 0,delete this.controller.spline)},setTranslate:function(e,t){this.controller.control&&this.controller.setTranslate(e,t)},setTransition:function(e,t){this.controller.control&&this.controller.setTransition(e,t)}}},{name:"a11y",params:{a11y:{enabled:!0,notificationClass:"swiper-notification",prevSlideMessage:"Previous slide",nextSlideMessage:"Next slide",firstSlideMessage:"This is the first slide",lastSlideMessage:"This is the last slide",paginationBulletMessage:"Go to slide {{index}}"}},create:function(){var e=this;d.extend(e,{a11y:{liveRegion:i('<span class="'+e.params.a11y.notificationClass+'" aria-live="assertive" aria-atomic="true"></span>')}}
40),Object.keys(V).forEach((function(t){e.a11y[t]=V[t].bind(e)}))},on:{init:function(){this.params.a11y.enabled&&(this.a11y.init(),this.a11y.updateNavigation())},toEdge:function(){this.params.a11y.enabled&&this.a11y.updateNavigation()},fromEdge:function(){this.params.a11y.enabled&&this.a11y.updateNavigation()},paginationUpdate:function(){this.params.a11y.enabled&&this.a11y.updatePagination()},destroy:function(){this.params.a11y.enabled&&this.a11y.destroy()}}},{name:"history",params:{history:{enabled:!1,replaceState:!1,key:"slides"}},create:function(){var e=this;d.extend(e,{history:{init:G.init.bind(e),setHistory:G.setHistory.bind(e),setHistoryPopState:G.setHistoryPopState.bind(e),scrollToSlide:G.scrollToSlide.bind(e),destroy:G.destroy.bind(e)}})},on:{init:function(){this.params.history.enabled&&this.history.init()},destroy:function(){this.params.history.enabled&&this.history.destroy()},transitionEnd:function(){this.history.initialized&&this.history.setHistory(this.params.history.key,this.activeIndex)}}},{name:"hash-navigation",params:{hashNavigation:{enabled:!1,replaceState:!1,watchState:!1}},create:function(){var e=this;d.extend(e,{hashNavigation:{initialized:!1,init:Y.init.bind(e),destroy:Y.destroy.bind(e),setHash:Y.setHash.bind(e),onHashCange:Y.onHashCange.bind(e)}})},on:{init:function(){this.params.hashNavigation.enabled&&this.hashNavigation.init()},destroy:function(){this.params.hashNavigation.enabled&&this.hashNavigation.destroy()},transitionEnd:function(){this.hashNavigation.initialized&&this.hashNavigation.setHash()}}},{name:"autoplay",params:{autoplay:{enabled:!1,delay:3e3,waitForTransition:!0,disableOnInteraction:!0,stopOnLastSlide:!1,reverseDirection:!1}},create:function(){var e=this;d.extend(e,{autoplay:{running:!1,paused:!1,run:U.run.bind(e),start:U.start.bind(e),stop:U.stop.bind(e),pause:U.pause.bind(e),onTransitionEnd:function(t){e&&!e.destroyed&&e.$wrapperEl&&t.target===this&&(e.$wrapperEl[0].removeEventListener("transitionend",e.autoplay.onTransitionEnd),e.$wrapperEl[0].removeEventListener("webkitTransitionEnd",e.autoplay.onTransitionEnd),e.autoplay.paused=!1,e.autoplay.running?e.autoplay.run():e.autoplay.stop())}}})},on:{init:function(){this.params.autoplay.enabled&&this.autoplay.start()},beforeTransitionStart:function(e,t){this.autoplay.running&&(t||!this.params.autoplay.disableOnInteraction?this.autoplay.pause(e):this.autoplay.stop())},sliderFirstMove:function(){this.autoplay.running&&(this.params.autoplay.disableOnInteraction?this.autoplay.stop():this.autoplay.pause())},destroy:function(){this.autoplay.running&&this.autoplay.stop()}}},{name:"effect-fade",params:{fadeEffect:{crossFade:!1}},create:function(){d.extend(this,{fadeEffect:{setTranslate:X.setTranslate.bind(this),setTransition:X.setTransition.bind(this)}})},on:{beforeInit:function(){var e=this;if("fade"===e.params.effect){e.classNames.push(e.params.containerModifierClass+"fade");var t={slidesPerView:1,slidesPerColumn:1,slidesPerGroup:1,watchSlidesProgress:!0,spaceBetween:0,virtualTranslate:!0};d.extend(e.params,t),d.extend(e.originalParams,t)}},setTranslate:function(){"fade"===this.params.effect&&this.fadeEffect.setTranslate()},setTransition:function(e){"fade"===this.params.effect&&this.fadeEffect.setTransition(e)}}},{name:"effect-cube",params:{cubeEffect:{slideShadows:!0,shadow:!0,shadowOffset:20,shadowScale:.94}},create:function(){d.extend(this,{cubeEffect:{setTranslate:K.setTranslate.bind(this),setTransition:K.setTransition.bind(this)}})},on:{beforeInit:function(){var e=this;if("cube"===e.params.effect){e.classNames.push(e.params.containerModifierClass+"cube"),e.classNames.push(e.params.containerModifierClass+"3d");var t={slidesPerView:1,slidesPerColumn:1,slidesPerGroup:1,watchSlidesProgress:!0,resistanceRatio:0,spaceBetween:0,centeredSlides:!1,virtualTranslate:!0};d.extend(e.params,t),d.extend(e.originalParams,t)}},setTranslate:function(){"cube"===this.params.effect&&this.cubeEffect.setTranslate()},setTransition:function(e){"cube"===this.params.effect&&this.cubeEffect.setTransition(e)}}},{name:"effect-flip",params:{flipEffect:{slideShadows:!0,limitRotation:!0}},create:function(){d.extend(this,{flipEffect:{setTranslate:Q.setTranslate.bind(this),setTransition:Q.setTransition.bind(this)}})},on:{beforeInit:function(){var e=this;if("flip"===e.params.effect){e.classNames.push(e.params.containerModifierClass+"flip"),e.classNames.push(e.params.containerModifierClass+"3d");var t={slidesPerView:1,slidesPerColumn:1,slidesPerGroup:1,watchSlidesProgress:!0,spaceBetween:0,virtualTranslate:!0};d.extend(e.params,t),d.extend(e.originalParams,t)}},setTranslate:function(){"flip"===this.params.effect&&this.flipEffect.setTranslate()},setTransition:function(e){"flip"===this.params.effect&&this.flipEffect.setTransition(e)}}},{name:"effect-coverflow",params:{coverflowEffect:{rotate:50,stretch:0,depth:100,modifier:1,slideShadows:!0}},create:function(){d.extend(this,{coverflowEffect:{setTranslate:Z.setTranslate.bind(this),setTransition:Z.setTransition.bind(this)}})},on:{beforeInit:function(){var e=this;"coverflow"===e.params.effect&&(e.classNames.push(e.params.containerModifierClass+"coverflow"),e.classNames.push(e.params.containerModifierClass+"3d"),e.params.watchSlidesProgress=!0,e.originalParams.watchSlidesProgress=!0)},setTranslate:function(){"coverflow"===this.params.effect&&this.coverflowEffect.setTranslate()},setTransition:function(e){"coverflow"===this.params.effect&&this.coverflowEffect.setTransition(e)}}},{name:"thumbs",params:{thumbs:{swiper:null,slideThumbActiveClass:"swiper-slide-thumb-active",thumbsContainerClass:"swiper-container-thumbs"}},create:function(){d.extend(this,{thumbs:{swiper:null,init:J.init.bind(this),update:J.update.bind(this),onThumbClick:J.onThumbClick.bind(this)}})},on:{beforeInit:function(){var e=this.params.thumbs;e&&e.swiper&&(this.thumbs.init(),this.thumbs.update(!0))},slideChange:function(){this.thumbs.swiper&&this.thumbs.update()},update:function(){this.thumbs.swiper&&this.thumbs.update()},resize:function(){this.thumbs.swiper&&this.thumbs.update()},observerUpdate:function(){this.thumbs.swiper&&this.thumbs.update()},setTransition:function(e){var t=this.thumbs.swiper;t&&t.setTransition(e)},beforeDestroy:function(){var e=this.thumbs.swiper;e&&this.thumbs.swiperCreated&&e&&e.destroy()}}}];return void 0===k.use&&(k.use=k.Class.use,k.installModule=k.Class.installModule),k.use(ee),k})),function(e,t){"function"==typeof define&&define.amd?define("jquery-bridget/jquery-bridget",["jquery"],(function(n){return t(e,n)})):"object"==typeof module&&module.exports?module.exports=t(e,require("jquery")):e.jQueryBridget=t(e,e.jQuery)}(window,(function(e,t){"use strict";function n(n,s,a){function l(e,t,i){var r,s="$()."+n+'("'+t+'")';return e.each((function(e,l){var u=a.data(l,n);if(u){var c=u[t];if(c&&"_"!=t.charAt(0)){var d=c.apply(u,i);r=void 0===r?d:r}else o(s+" is not a valid method")}else o(n+" not initialized. Cannot call methods, i.e. "+s)})),void 0!==r?r:e}function u(e,t){e.each((function(e,i){var r=a.data(i,n);r?(r.option(t),r._init()):(r=new s(i,t),a.data(i,n,r))}))}(a=a||t||e.jQuery)&&(s.prototype.option||(s.prototype.option=function(e){a.isPlainObject(e)&&(this.options=a.extend(!0,this.options,e))}),a.fn[n]=function(e){if("string"==typeof e){var t=r.call(arguments,1
vendor: 3,673 bytes, line 40
40);return l(this,e,t)}return u(this,e),this},i(a))}function i(e){!e||e&&e.bridget||(e.bridget=n)}var r=Array.prototype.slice,s=e.console,o=void 0===s?function(){}:function(e){s.error(e)};return i(t||e.jQuery),n})),function(e,t){"function"==typeof define&&define.amd?define("ev-emitter/ev-emitter",t):"object"==typeof module&&module.exports?module.exports=t():e.EvEmitter=t()}("undefined"!=typeof window?window:this,(function(){function e(){}var t=e.prototype;return t.on=function(e,t){if(e&&t){var n=this._events=this._events||{},i=n[e]=n[e]||[];return-1==i.indexOf(t)&&i.push(t),this}},t.once=function(e,t){if(e&&t){this.on(e,t);var n=this._onceEvents=this._onceEvents||{};return(n[e]=n[e]||{})[t]=!0,this}},t.off=function(e,t){var n=this._events&&this._events[e];if(n&&n.length){var i=n.indexOf(t);return-1!=i&&n.splice(i,1),this}},t.emitEvent=function(e,t){var n=this._events&&this._events[e];if(n&&n.length){n=n.slice(0),t=t||[];for(var i=this._onceEvents&&this._onceEvents[e],r=0;r<n.length;r++){var s=n[r];i&&i[s]&&(this.off(e,s),delete i[s]),s.apply(this,t)}return this}},t.allOff=function(){delete this._events,delete this._onceEvents},e})),function(e,t){"function"==typeof define&&define.amd?define("get-size/get-size",t):"object"==typeof module&&module.exports?module.exports=t():e.getSize=t()}(window,(function(){"use strict";function e(e){var t=parseFloat(e);return-1==e.indexOf("%")&&!isNaN(t)&&t}function t(e){var t=getComputedStyle(e);return t||s("Style returned "+t+". Are you running this code in a hidden iframe on Firefox? See https://bit.ly/getsizebug1"),t}function n(){if(!l){l=!0;var n=document.createElement("div");n.style.width="200px",n.style.padding="1px 2px 3px 4px",n.style.borderStyle="solid",n.style.borderWidth="1px 2px 3px 4px",n.style.boxSizing="border-box";var s=document.body||document.documentElement;s.appendChild(n);var o=t(n);r=200==Math.round(e(o.width)),i.isBoxSizeOuter=r,s.removeChild(n)}}function i(i){if(n(),"string"==typeof i&&(i=document.querySelector(i)),i&&"object"==typeof i&&i.nodeType){var s=t(i);if("none"==s.display)return function(){for(var e={width:0,height:0,innerWidth:0,innerHeight:0,outerWidth:0,outerHeight:0},t=0;a>t;t++)e[o[t]]=0;return e}();var l={};l.width=i.offsetWidth,l.height=i.offsetHeight;for(var u=l.isBorderBox="border-box"==s.boxSizing,c=0;a>c;c++){var d=o[c],h=s[d],p=parseFloat(h);l[d]=isNaN(p)?0:p}var f=l.paddingLeft+l.paddingRight,m=l.paddingTop+l.paddingBottom,g=l.marginLeft+l.marginRight,v=l.marginTop+l.marginBottom,y=l.borderLeftWidth+l.borderRightWidth,b=l.borderTopWidth+l.borderBottomWidth,w=u&&r,x=e(s.width);!1!==x&&(l.width=x+(w?0:f+y));var C=e(s.height);return!1!==C&&(l.height=C+(w?0:m+b)),l.innerWidth=l.width-(f+y),l.innerHeight=l.height-(m+b),l.outerWidth=l.width+g,l.outerHeight=l.height+v,l}}var r,s="undefined"==typeof console?function(){}:function(e){console.error(e)},o=["paddingLeft","paddingRight","paddingTop","paddingBottom","marginLeft","marginRight","marginTop","marginBottom","borderLeftWidth","borderRightWidth","borderTopWidth","borderBottomWidth"],a=o.length,l=!1;return i})),function(e,t){"use strict";"function"==typeof define&&define.amd?define("desandro-matches-selector/matches-selector",t):"object"==typeof module&&module.exports?module.exports=t():e.matchesSelector=t()}(window,(function(){"use strict";var e=function(){var e=window.Element.prototype;if(e.matches)return"matches";if(e.matchesSelector)return"matchesSelector";for(var t=["webkit","moz","ms","o"],n=0;n<t.length;n++){var i=t[n]+"MatchesSelector";if(e[i])return i}}();return function(t,n){return t[e](n)}})),function(e,t){"function"==typeof define&&define.amd?define("fizzy-ui-utils/utils",["de
40sandro-matches-selector/matches-selector"],(function(n){return t(e,n)})):"object"==typeof module&&module.exports?module.exports=t(e,require("desandro-matches-selector")):e.fizzyUIUtils=t(e,e.matchesSelector)}(window,(function(e,t){var n={extend:function(e,t){for(var n in t)e[n]=t[n];return e},modulo:function(e,t){return(e%t+t)%t}},i=Array.prototype.slice;n.makeArray=function(e){return Array.isArray(e)?e:null==e?[]:"object"==typeof e&&"number"==typeof e.length?i.call(e):[e]},n.removeFrom=function(e,t){var n=e.indexOf(t);-1!=n&&e.splice(n,1)},n.getParent=function(e,n){for(;e.parentNode&&e!=document.body;)if(e=e.parentNode,t(e,n))return e},n.getQueryElement=function(e){return"string"==typeof e?document.querySelector(e):e},n.handleEvent=function(e){var t="on"+e.type;this[t]&&this[t](e)},n.filterFindElements=function(e,i){e=n.makeArray(e);var r=[];return e.forEach((function(e){if(e instanceof HTMLElement){if(!i)return void r.push(e);t(e,i)&&r.push(e);for(var n=e.querySelectorAll(i),s=0;s<n.length;s++)r.push(n[s])}})),r},n.debounceMethod=function(e,t,n){n=n||100;var i=e.prototype[t],r=t+"Timeout";e.prototype[t]=function(){var e=this[r];clearTimeout(e);var t=arguments,s=this;this[r]=setTimeout((function(){i.apply(s,t),delete s[r]}),n)}},n.docReady=function(e){var t=document.readyState;"complete"==t||"interactive"==t?setTimeout(e):document.addEventListener("DOMContentLoaded",e)},n.toDashed=function(e){return e.replace(/(.)([A-Z])/g,(function(e,t,n){return t+"-"+n})).toLowerCase()};var r=e.console;return n.htmlInit=function(t,i){n.docReady((function(){var s=n.toDashed(i),o="data-"+s,a=document.querySelectorAll("["+o+"]"),l=document.querySelectorAll(".js-"+s),u=n.makeArray(a).concat(n.makeArray(l)),c=o+"-options",d=e.jQuery;u.forEach((function(e){var n,s=e.getAttribute(o)||e.getAttribute(c);try{n=s&&JSON.parse(s)}catch(t){return void(r&&r.error("Error parsing "+o+" on "+e.className+": "+t))}var a=new t(e,n);d&&d.data(e,i,a)}))}))},n})),function(e,t){"function"==typeof define&&define.amd?define("outlayer/item",["ev-emitter/ev-emitter","get-size/get-size"],t):"object"==typeof module&&module.exports?module.exports=t(require("ev-emitter"),require("get-size")):(e.Outlayer={},e.Outlayer.Item=t(e.EvEmitter,e.getSize))}(window,(function(e,t){"use strict";function n(e,t){e&&(this.element=e,this.layout=t,this.position={x:0,y:0},this._create())}var i=document.documentElement.style,r="string"==typeof i.transition?"transition":"WebkitTransition",s="string"==typeof i.transform?"transform":"WebkitTransform",o={WebkitTransition:"webkitTransitionEnd",transition:"transitionend"}[r],a={transform:s,transition:r,transitionDuration:r+"Duration",transitionProperty:r+"Property",transitionDelay:r+"Delay"},l=n.prototype=Object.create(e.prototype);l.constructor=n,l._create=function(){this._transn={ingProperties:{},clean:{},onEnd:{}},this.css({position:"absolute"})},l.handleEvent=function(e){var t="on"+e.type;this[t]&&this[t](e)},l.getSize=function(){this.size=t(this.element)},l.css=function(e){var t=this.element.style;for(var n in e){t[a[n]||n]=e[n]}},l.getPosition=function(){var e=getComputedStyle(this.element),t=this.layout._getOption("originLeft"),n=this.layout._getOption("originTop"),i=e[t?"left":"right"],r=e[n?"top":"bottom"],s=parseFloat(i),o=parseFloat(r),a=this.layout.size;-1!=i.indexOf("%")&&(s=s/100*a.width),-1!=r.indexOf("%")&&(o=o/100*a.height),s=isNaN(s)?0:s,o=isNaN(o)?0:o,s-=t?a.paddingLeft:a.paddingRight,o-=n?a.paddingTop:a.paddingBottom,this.position.x=s,this.position.y=o},l.layoutPosition=function(){var e=this.layout.size,t={},n=this.layout._getOption("originLeft"),i=this.layout._getOption("originTop"),r=n?"paddingLeft":"paddingRight",s=n?"left":"right",o=n?"right":"left",a=this.position.x+e[r];t[s]=this.getXValue(a),t[o]="";var l=i?"paddingTop":"paddingBottom",u=i?"top":"bottom",c=i?"bottom":"top",d=this.position.y+e[l];t[u]=this.getYValue(d),t[c]="",this.css(t),this.emitEvent("layout",[this])},l.getXValue=function(e){var t=this.layout._getOption("horizontal");return this.layout.options.percentPosition&&!t?e/this.layout.size.width*100+"%":e+"px"},l.getYValue=function(e){var t=this.layout._getOption("horizontal");return this.layout.options.percentPosition&&t?e/this.layout.size.height*100+"%":e+"px"},l._transitionTo=function(e,t){this.getPosition();var n=this.position.x,i=this.position.y,r=e==this.position.x&&t==this.position.y;if(this.setPosition(e,t),!r||this.isTransitioning){var s=e-n,o=t-i,a={};a.transform=this.getTranslate(s,o),this.transition({to:a,onTransitionEnd:{transform:this.layoutPosition},isCleaning:!0})}else this.layoutPosition()},l.getTranslate=function(e,t){return"translate3d("+(e=this.layout._getOption("originLeft")?e:-e)+"px, "+(t=this.layout._getOption("originTop")?t:-t)+"px, 0)"},l.goTo=function(e,t){this.setPosition(e,t),this.layoutPosition()},l.moveTo=l._transitionTo,l.setPosition=function(e,t){this.position.x=parseFloat(e),this.position.y=parseFloat(t)},l._nonTransition=function(e){for(var t in this.css(e.to),e.isCleaning&&this._removeStyles(e.to),e.onTransitionEnd)e.onTransitionEnd[t].call(this)},l.transition=function(e){if(parseFloat(this.layout.options.transitionDuration)){var t=this._transn;for(var n in e.onTransitionEnd)t.onEnd[n]=e.onTransitionEnd[n];for(n in e.to)t.ingProperties[n]=!0,e.isCleaning&&(t.clean[n]=!0);if(e.from){this.css(e.from);this.element.offsetHeight;null}this.enableTransition(e.to),this.css(e.to),this.isTransitioning=!0}else this._nonTransition(e)};var u="opacity,"+function(e){return e.replace(/([A-Z])/g,(function(e){return"-"+e.toLowerCase()}))}(s);l.enableTransition=function(){if(!this.isTransitioning){var e=this.layout.options.transitionDuration;e="number"==typeof e?e+"ms":e,this.css({transitionProperty:u,transitionDuration:e,transitionDelay:this.staggerDelay||0}),this.element.addEventListener(o,this,!1)}},l.onwebkitTransitionEnd=function(e){this.ontransitionend(e)},l.onotransitionend=function(e){this.ontransitionend(e)};var c={"-webkit-transform":"transform"};l.ontransitionend=function(e){if(e.target===this.element){var t=this._transn,n=c[e.propertyName]||e.propertyName;if(delete t.ingProperties[n],function(e){for(var t in e)return!1;return!0}(t.ingProperties)&&this.disableTransition(),n in t.clean&&(this.element.style[e.propertyName]="",delete t.clean[n]),n in t.onEnd)t.onEnd[n].call(this),delete t.onEnd[n];this.emitEvent("transitionEnd",[this])}},l.disableTransition=function(){this.removeTransitionStyles(),this.element.removeEventListener(o,this,!1),this.isTransitioning=!1},l._removeStyles=function(e){var t={};for(var n in e)t[n]="";this.css(t)};var d={transitionProperty:"",transitionDuration:"",transitionDelay:""};return l.removeTransitionStyles=function(){this.css(d)},l.stagger=function(e){e=isNaN(e)?0:e,this.staggerDelay=e+"ms"},l.removeElem=function(){this.element.parentNode.removeChild(this.element),this.css({display:""}),this.emitEvent("remove",[this])},l.remove=function(){return r&&parseFloat(this.layout.options.transitionDuration)?(this.once("transitionEnd",(function(){this.removeElem()})),void this.hide()):void this.removeElem()},l.reveal=function(){delete this.isHidden,this.css({display:""});var e=this.layout.options,t={};t[this.getHideRevealTransitionEndProperty("visibleStyle")]=this.onRevealTransitionEnd,this.transition({from:e.hiddenStyle,to:e.visibleStyle,isCleaning:!0,onTransitionEnd:t})},l.onRevealTransitionEnd=function(){this.isHidden||this.emitEvent("reveal")},l.getHideRevealTransitionEndProperty=function(e){var t=this.layout.options[e];if(t.opacity)return"opacity";for(var n in t)return n},l.hide=function(){this.isHidden=!0,this.css({display:""});var e=this.layout.options,t={};t[this.getHideRevealTransitionEndProperty("hiddenStyle")]=this.onHideTransitionEnd,this.transition({from:e.visibleStyle,to:e.hiddenStyle,isCleaning:!0,onTransitionEnd:t})},l.onHideTransitionEnd=function(){this.isHidden&&(this.css({display:"none"}),this.emitEvent("hide"))},l.destroy=function(){this.css({position:"",left:"",right:"",top:"",bottom:"",transition:"",transform:""})},n})),function(e,t){"use strict";"function"==typeof define&&define.amd?define("outlayer/outlayer",["ev-emitter/ev-emitter","get-size/get-size","fizzy-ui-utils/utils","./item"],(function(n,i,r,s){return t(e,n,i,r,s)})):"object"==typeof module&&module.exports?module.exports=t(e,require("ev-emitter"),require("get-size"),require("fizzy-ui-utils"),require("./item")):e.Outlayer=t(e,e.EvEmitter,e.getSize,e.fizzyUIUtils,e.Outlayer.Item)}(window,(function(e,t,n,i,r){"use strict";function s(e,t){var n=i.getQueryElement(e);
vendor: 4,398 bytes, line 40
40if(n){this.element=n,l&&(this.$element=l(this.element)),this.options=i.extend({},this.constructor.defaults),this.option(t);var r=++c;this.element.outlayerGUID=r,d[r]=this,this._create(),this._getOption("initLayout")&&this.layout()}else a&&a.error("Bad element for "+this.constructor.namespace+": "+(n||e))}function o(e){function t(){e.apply(this,arguments)}return t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t}var a=e.console,l=e.jQuery,u=function(){},c=0,d={};s.namespace="outlayer",s.Item=r,s.defaults={containerStyle:{position:"relative"},initLayout:!0,originLeft:!0,originTop:!0,resize:!0,resizeContainer:!0,transitionDuration:"0.4s",hiddenStyle:{opacity:0,transform:"scale(0.001)"},visibleStyle:{opacity:1,transform:"scale(1)"}};var h=s.prototype;i.extend(h,t.prototype),h.option=function(e){i.extend(this.options,e)},h._getOption=function(e){var t=this.constructor.compatOptions[e];return t&&void 0!==this.options[t]?this.options[t]:this.options[e]},s.compatOptions={initLayout:"isInitLayout",horizontal:"isHorizontal",layoutInstant:"isLayoutInstant",originLeft:"isOriginLeft",originTop:"isOriginTop",resize:"isResizeBound",resizeContainer:"isResizingContainer"},h._create=function(){this.reloadItems(),this.stamps=[],this.stamp(this.options.stamp),i.extend(this.element.style,this.options.containerStyle),this._getOption("resize")&&this.bindResize()},h.reloadItems=function(){this.items=this._itemize(this.element.children)},h._itemize=function(e){for(var t=this._filterFindItemElements(e),n=this.constructor.Item,i=[],r=0;r<t.length;r++){var s=new n(t[r],this);i.push(s)}return i},h._filterFindItemElements=function(e){return i.filterFindElements(e,this.options.itemSelector)},h.getItemElements=function(){return this.items.map((function(e){return e.element}))},h.layout=function(){this._resetLayout(),this._manageStamps();var e=this._getOption("layoutInstant"),t=void 0!==e?e:!this._isLayoutInited;this.layoutItems(this.items,t),this._isLayoutInited=!0},h._init=h.layout,h._resetLayout=function(){this.getSize()},h.getSize=function(){this.size=n(this.element)},h._getMeasurement=function(e,t){var i,r=this.options[e];r?("string"==typeof r?i=this.element.querySelector(r):r instanceof HTMLElement&&(i=r),this[e]=i?n(i)[t]:r):this[e]=0},h.layoutItems=function(e,t){e=this._getItemsForLayout(e),this._layoutItems(e,t),this._postLayout()},h._getItemsForLayout=function(e){return e.filter((function(e){return!e.isIgnored}))},h._layoutItems=function(e,t){if(this._emitCompleteOnItems("layout",e),e&&e.length){var n=[];e.forEach((function(e){var i=this._getItemLayoutPosition(e);i.item=e,i.isInstant=t||e.isLayoutInstant,n.push(i)}),this),this._processLayoutQueue(n)}},h._getItemLayoutPosition=function(){return{x:0,y:0}},h._processLayoutQueue=function(e){this.updateStagger(),e.forEach((function(e,t){this._positionItem(e.item,e.x,e.y,e.isInstant,t)}),this)},h.updateStagger=function(){var e=this.options.stagger;return null==e?void(this.stagger=0):(this.stagger=function(e){if("number"==typeof e)return e;var t=e.match(/(^\d*\.?\d*)(\w*)/),n=t&&t[1],i=t&&t[2];return n.length?(n=parseFloat(n))*(p[i]||1):0}(e),this.stagger)},h._positionItem=function(e,t,n,i,r){i?e.goTo(t,n):(e.stagger(r*this.stagger),e.moveTo(t,n))},h._postLayout=function(){this.resizeContainer()},h.resizeContainer=function(){if(this._getOption("resizeContainer")){var e=this._getContainerSize();e&&(this._setContainerMeasure(e.width,!0),this._setContainerMeasure(e.height,!1))}},h._getContainerSize=u,h._setContainerMeasure=function(e,t){if(void 0!==e){var n=this.size;n.isBorderBox&&(e+=t?n.paddingLeft+n.paddingRight+n.borderLeftWidth+n.borderRightWidth:n.paddingBottom+n.paddingTop+n.borderTopWidth+n.borderBottomWidth),e=Math.max(e,0),this.element.style[t?"width":"height"]=e+"px"}},h._emitCompleteOnItems=function(e,t){function n(){r.dispatchEvent(e+"Complete",null,[t])}function i(){++o==s&&n()}var r=this,s=t.length;if(t&&s){var o=0;t.forEach((function(t){t.once(e,i)}))}else n()},h.dispatchEvent=function(e,t,n){var i=t?[t].concat(n):n;if(this.emitEvent(e,i),l)if(this.$element=this.$element||l(this.element),t){var r=l.Event(t);r.type=e,this.$element.trigger(r,n)}else this.$element.trigger(e,n)},h.ignore=function(e){var t=this.getItem(e);t&&(t.isIgnored=!0)},h.unignore=function(e){var t=this.getItem(e);t&&delete t.isIgnored},h.stamp=function(e){(e=this._find(e))&&(this.stamps=this.stamps.
40concat(e),e.forEach(this.ignore,this))},h.unstamp=function(e){(e=this._find(e))&&e.forEach((function(e){i.removeFrom(this.stamps,e),this.unignore(e)}),this)},h._find=function(e){return e?("string"==typeof e&&(e=this.element.querySelectorAll(e)),e=i.makeArray(e)):void 0},h._manageStamps=function(){this.stamps&&this.stamps.length&&(this._getBoundingRect(),this.stamps.forEach(this._manageStamp,this))},h._getBoundingRect=function(){var e=this.element.getBoundingClientRect(),t=this.size;this._boundingRect={left:e.left+t.paddingLeft+t.borderLeftWidth,top:e.top+t.paddingTop+t.borderTopWidth,right:e.right-(t.paddingRight+t.borderRightWidth),bottom:e.bottom-(t.paddingBottom+t.borderBottomWidth)}},h._manageStamp=u,h._getElementOffset=function(e){var t=e.getBoundingClientRect(),i=this._boundingRect,r=n(e);return{left:t.left-i.left-r.marginLeft,top:t.top-i.top-r.marginTop,right:i.right-t.right-r.marginRight,bottom:i.bottom-t.bottom-r.marginBottom}},h.handleEvent=i.handleEvent,h.bindResize=function(){e.addEventListener("resize",this),this.isResizeBound=!0},h.unbindResize=function(){e.removeEventListener("resize",this),this.isResizeBound=!1},h.onresize=function(){this.resize()},i.debounceMethod(s,"onresize",100),h.resize=function(){this.isResizeBound&&this.needsResizeLayout()&&this.layout()},h.needsResizeLayout=function(){var e=n(this.element);return this.size&&e&&e.innerWidth!==this.size.innerWidth},h.addItems=function(e){var t=this._itemize(e);return t.length&&(this.items=this.items.concat(t)),t},h.appended=function(e){var t=this.addItems(e);t.length&&(this.layoutItems(t,!0),this.reveal(t))},h.prepended=function(e){var t=this._itemize(e);if(t.length){var n=this.items.slice(0);this.items=t.concat(n),this._resetLayout(),this._manageStamps(),this.layoutItems(t,!0),this.reveal(t),this.layoutItems(n)}},h.reveal=function(e){if(this._emitCompleteOnItems("reveal",e),e&&e.length){var t=this.updateStagger();e.forEach((function(e,n){e.stagger(n*t),e.reveal()}))}},h.hide=function(e){if(this._emitCompleteOnItems("hide",e),e&&e.length){var t=this.updateStagger();e.forEach((function(e,n){e.stagger(n*t),e.hide()}))}},h.revealItemElements=function(e){var t=this.getItems(e);this.reveal(t)},h.hideItemElements=function(e){var t=this.getItems(e);this.hide(t)},h.getItem=function(e){for(var t=0;t<this.items.length;t++){var n=this.items[t];if(n.element==e)return n}},h.getItems=function(e){e=i.makeArray(e);var t=[];return e.forEach((function(e){var n=this.getItem(e);n&&t.push(n)}),this),t},h.remove=function(e){var t=this.getItems(e);this._emitCompleteOnItems("remove",t),t&&t.length&&t.forEach((function(e){e.remove(),i.removeFrom(this.items,e)}),this)},h.destroy=function(){var e=this.element.style;e.height="",e.position="",e.width="",this.items.forEach((function(e){e.destroy()})),this.unbindResize();var t=this.element.outlayerGUID;delete d[t],delete this.element.outlayerGUID,l&&l.removeData(this.element,this.constructor.namespace)},s.data=function(e){var t=(e=i.getQueryElement(e))&&e.outlayerGUID;return t&&d[t]},s.create=function(e,t){var n=o(s);return n.defaults=i.extend({},s.defaults),i.extend(n.defaults,t),n.compatOptions=i.extend({},s.compatOptions),n.namespace=e,n.data=s.data,n.Item=o(r),i.htmlInit(n,e),l&&l.bridget&&l.bridget(e,n),n};var p={ms:1,s:1e3};return s.Item=r,s})),function(e,t){"function"==typeof define&&define.amd?define(["outlayer/outlayer","get-size/get-size"],t):"object"==typeof module&&module.exports?module.exports=t(require("outlayer"),require("get-size")):e.Masonry=t(e.Outlayer,e.getSize)}(window,(function(e,t){var n=e.create("masonry");n.compatOptions.fitWidth="isFitWidth";var i=n.prototype;return i._resetLayout=function(){this.getSize(),this._getMeasurement("columnWidth","outerWidth"),this._getMeasurement("gutter","outerWidth"),this.measureColumns(),this.colYs=[];for(var e=0;e<this.cols;e++)this.colYs.push(0);this.maxY=0,this.horizontalColIndex=0},i.measureColumns=function(){if(this.getContainerWidth(),!this.columnWidth){var e=this.items[0],n=e&&e.element;this.columnWidth=n&&t(n).outerWidth||this.containerWidth}var i=this.columnWidth+=this.gutter,r=this.containerWidth+this.gutter,s=r/i,o=i-r%i;s=Math[o&&1>o?"round":"floor"](s),this.cols=Math.max(s,1)},i.getContainerWidth=function(){var e=this._getOption("fitWidth")?this.element.parentNode:this.element,n=t(e);this.containerWidth=n&&n.innerWidth},i._getItemLayoutPosition=function(e){e.getSize();var t=e.size.outerWidth%this.columnWidth,n=Math[t&&1>t?"round":"ceil"](e.size.outerWidth/this.columnWidth);n=Math.min(n,this.cols);for(var i=this[this.options.horizontalOrder?"_getHorizontalColPosition":"_getTopColPosition"](n,e),r={x:this.columnWidth*i.col,y:i.y},s=i.y+e.size.outerHeight,o=n+i.col,a=i.col;o>a;a++)this.colYs[a]=s;return r},i._getTopColPosition=function(e){var t=this._getTopColGroup(e),n=Math.min.apply(Math,t);return{col:t.indexOf(n),y:n}},i._getTopColGroup=function(e){if(2>e)return this.colYs;for(var t=[],n=this.cols+1-e,i=0;n>i;i++)t[i]=this._getColGroupY(i,e);return t},i._getColGroupY=function(e,t){if(2>t)return this.colYs[e];var n=this.colYs.slice(e,e+t);return Math.max.apply(Math,n)},i._getHorizontalColPosition=function(e,t){var n=this.horizontalColIndex%this.cols;n=e>1&&n+e>this.cols?0:n;var i=t.size.outerWidth&&t.size.outerHeight;return this.horizontalColIndex=i?n+e:this.horizontalColIndex,{col:n,y:this._getColGroupY(n,e)}},i._manageStamp=function(e){var n=t(e),i=this._getElementOffset(e),r=this._getOption("originLeft")?i.left:i.right,s=r+n.outerWidth,o=Math.floor(r/this.columnWidth);o=Math.max(0,o);var a=Math.floor(s/this.columnWidth);a-=s%this.columnWidth?0:1,a=Math.min(this.cols-1,a);for(var l=(this._getOption("originTop")?i.top:i.bottom)+n.outerHeight,u=o;a>=u;u++)this.colYs[u]=Math.max(l,this.colYs[u])},i._getContainerSize=function(){this.maxY=Math.max.apply(Math,this.colYs);var e={height:this.maxY};return this._getOption("fitWidth")&&(e.width=this._getContainerFitWidth()),e},i._getContainerFitWidth=function(){for(var e=0,t=this.cols;--t&&0===this.colYs[t];)e++;return(this.cols-e)*this.columnWidth-this.gutter},i.needsResizeLayout=function(){var e=this.containerWidth;return this.getContainerWidth(),e!=this.containerWidth},n})),function(e,t){var n=function(){t(e.lazySizes),e.removeEventListener("lazyunveilread",n,!0)};t=t.bind(null,e,e.document),"object"==typeof module&&module.exports?t(require("lazysizes")):"function"==typeof define&&define.amd?define(["lazysizes"],t):e.lazySizes?n():e.addEventListener("lazyunveilread",n,!0)}(window,(function(e,t,n){"use strict";var i,r,s,o,a,l,u,c,d;e.addEventListener&&(i=n.cfg,r=/\s+/g,s=/\s*\|\s+|\s+\|\s*/g,o=/^(.+?)(?:\s+\[\s*(.+?)\s*\])(?:\s+\[\s*(.+?)\s*\])?$/,a=/^\s*\(*\s*type\s*:\s*(.+?)\s*\)*\s*$/,l=/\(|\)|'/,u={contain:1,cover:1},c=function(e,t){var n;t&&((n=t.match(a))&&n[1]?e.setAttribute("type",n[1]):e.setAttribute("media",i.customMedia[t]||t))},d=function(e){var t,i,r,s;e.target._lazybgset&&(i=(t=e.target)._lazybgset,(r=t.currentSrc||t.src)&&((s=n.fire(i,"bgsetproxy",{src:r,useSrc:l.test(r)?JSON.stringify(r):r})).defaultPrevented||(i.style.backgroundImage="url("+s.detail.useSrc+")")),t._lazybgsetLoading&&(n.fire(i,"_lazyloaded",{},!1,!0),delete t._lazybgsetLoading))},addEventListener("lazybeforeunveil",(function(e){var a,l,u,h,p,f,m,g,v,y;!e.defaultPrevented&&(a=e.target.getAttribute("data-bgset"))&&(v=e.target,(y=t.createElement("img")).alt="",y._lazybgsetLoading=!0,e.detail.firesLoad=!0,l=a,u=v,h=y,p=t.createElement("picture"),f=u.getAttribute(i.sizesAttr),m=u.getAttribute("data-ratio"),g=u.getAttribute("data-optimumx"),u._lazybgset&&u._lazybgset.parentNode==u&&u.removeChild(u._lazybgset),Object.defineProperty(h,"_lazybgset",{value:u,writable:!0}),Object.defineProperty(u,"_lazybgset",{value:p,writable:!0}),l=l.replace(r," ").split(s),p.style.display="none",h.className=i.lazyClass,1!=l.length||f||(f="auto"),l.forEach((function(e){var n,r=t.createElement("source");
40f&&"auto"!=f&&r.setAttribute("sizes",f),(n=e.match(o))?(r.setAttribute(i.srcsetAttr,n[1]),c(r,n[2]),c(r,n[3])):r.setAttribute(i.srcsetAttr,e),p.appendChild(r)})),f&&(h.setAttribute(i.sizesAttr,f),u.removeAttribute(i.sizesAttr),u.removeAttribute("sizes")),g&&h.setAttribute("data-optimumx",g),m&&h.setAttribute("data-ratio",m),p.appendChild(h),u.appendChild(p),setTimeout((function(){n.loader.unveil(y),n.rAF((function(){n.fire(y,"_lazyloaded",{},!0,!0),y.complete&&d({target:y})}))})))})),t.addEventListener("load",d,!0),e.addEventListener("lazybeforesizes",(function(e){var t,i,r;e.detail.instance==n&&e.target._lazybgset&&e.detail.dataAttr&&(i=e.target._lazybgset,r=(getComputedStyle(i)||{getPropertyValue:function(){}}).getPropertyValue("background-size"),!u[r]&&u[i.style.backgroundSize]&&(r=i.style.backgroundSize),u[t=r]&&(e.target._lazysizesParentFit=t,n.rAF((function(){e.target.setAttribute("data-parent-fit",t),e.target._lazysizesParentFit&&delete e.target._lazysizesParentFit}))))}),!0),t.documentElement.addEventListener("lazybeforesizes",(function(e){var t,i;!e.defaultPrevented&&e.target._lazybgset&&e.detail.instance==n&&(e.detail.width=(t=e.target._lazybgset,i=n.gW(t,t.parentNode),(!t._lazysizesWidth||i>t._lazysizesWidth)&&(t._lazysizesWidth=i),t._lazysizesWidth))})))})),function(e){var t=function(e,t,n){"use strict";var i,r;if(function(){var t,n={lazyClass:"lazyload",loadedClass:"lazyloaded",loadingClass:"lazyloading",preloadClass:"lazypreload",errorClass:"lazyerror",autosizesClass:"lazyautosizes",srcAttr:"data-src",srcsetAttr:"data-srcset",sizesAttr:"data-sizes",minSize:40,customMedia:{},init:!0,expFactor:1.5,hFac:.8,loadMode:2,loadHidden:!0,ricTimeout:0,throttleDelay:125};for(t in r=e.lazySizesConfig||e.lazysizesConfig||{},n)t in r||(r[t]=n[t])}(),!t||!t.getElementsByClassName)return{init:function(){},cfg:r,noSupport:!0};var s=t.documentElement,o=e.HTMLPictureElement,a="addEventListener",$="getAttribute",l=e[a].bind(e),u=e.setTimeout,c=e.requestAnimationFrame||u,d=e.requestIdleCallback,h=/^picture$/i,p=["load","error","lazyincluded","_lazyloaded"],f={},m=Array.prototype.forEach,g=function(e,t){return f[t]||(f[t]=new RegExp("(\\s|^)"+t+"(\\s|$)")),f[t].test(e[$]("class")||"")&&f[t]},v=function(e,t){g(e,t)||e.setAttribute("class",(e[$]("class")||"").trim()+" "+t)},y=function(e,t){var n;(n=g(e,t))&&e.setAttribute("class",(e[$]("class")||"").replace(n," "))},b=function(e,t,n){var i=n?a:"removeEventListener";n&&b(e,t),p.forEach((function(n){e[i](n,t)}))},w=function(e,n,r,s,o){var a=t.createEvent("Event");return r||(r={}),r.instance=i,a.initEvent(n,!s,!o),a.detail=r,e.dispatchEvent(a),a},x=function(t,n){var i;!o&&(i=e.picturefill||r.pf)?(n&&n.src&&!t[$]("srcset")&&t.setAttribute("srcset",n.src),i({reevaluate:!0,elements:[t]})):n&&n.src&&(t.src=n.src)},C=function(e,t){return(getComputedStyle(e,null)||{})[t]},E=function(e,t,n){for(n=n||e.offsetWidth;n<r.minSize&&t&&!e._lazysizesWidth;)n=t.offsetWidth,t=t.parentNode;return n},T=function(){var e,n,i=[],r=[],s=i,o=function(){var t=s;for(s=i.length?r:i,e=!0,n=!1;t.length;)t.shift()();e=!1},a=function(i,r){e&&!r?i.apply(this,arguments):(s.push(i),n||(n=!0,(t.hidden?u:c)(o)))};return a._lsFlush=o,a}(),S=function(e,t){return t?function(){T(e)}:function(){var t=this,n=arguments;T((function(){e.apply(t,n)}))}},k=function(e){var t,i=0,s=r.throttleDelay,o=r.ricTimeout,a=function(){t=!1,i=n.now(),e()},l=d&&o>49?function(){d(a,{timeout:o}),o!==r.ricTimeout&&(o=r.ricTimeout)}:S((function(){u(a)}),!0);return function(e){var r;(e=!0===e)&&(o=33),t||(t=!0,(r=s-(n.now()-i))<0&&(r=0),e||r<9?l():u(l,r))}},_=function(e){var t,i,r=function(){t=null,e()},s=function(){var e=n.now()-i;e<99?u(s,99-e):(d||r)(r)};return function(){i=n.now(),t||(t=u(s,99))}},A=function(){var o,d,p,f,E,A,z,M,L,P,I,O,R=/^img$/i,N=/^iframe$/i,H="onscroll"in e&&!/(gle|ing)bot/.test(navigator.userAgent),q=0,B=0,j=-1,F=function(e){B--,(!e||B<0||!e.target)&&(B=0)},W=function(e){return null==O&&(O="hidden"==C(t.body,"visibility")),O||!("hidden"==C(e.parentNode,"visibility")&&"hidden"==C(e,"visibility"))},V=function(e,n){var i,r=e,o=W(e);for(M-=n,I+=n,L-=n,P+=n;o&&(r=r.offsetParent)&&r!=t.body&&r!=s;)(o=(C(r,"opacity")||1)>0)&&"visible"!=C(r,"overflow")&&(i=r.getBoundingClientRect(),o=P>i.left&&L<i.right&&I>i.top-1&&M<i.bottom+1);return o},G=function(){var e,n,a,l,u,c,h,p,m,g,v,y,b=i.elements;if((f=r.loadMode)&&B<8&&(e=b.length)){for(n=0,j++;n<e;n++)if(b[n]&&!b[n]._lazyRace)if(!H||i.prematureUnveil&&i.prematureUnveil(b[n]))J(b[n]);else if((p=b[n][$]("data-expand"))&&(c=1*p)||(c=q),g||(g=!r.expand||r.expand<1?s.clientHeight>500&&s.clientWidth>500?500:370:r.expand,i._defEx=g,v=g*r.expFactor,y=r.hFac,O=null,q<v&&B<1&&j>2&&f>2&&!t.hidden?(q=v,j=0):q=f>1&&j>1&&B<6?g:0),m!==c&&(A=innerWidth+c*y,z=innerHeight+c,h=-1*c,m=c),a=b[n].getBoundingClientRect(),(I=a.bottom)>=h&&(M=a.top)<=z&&(P=a.right)>=h*y&&(L=a.left)<=A&&(I||P||L||M)&&(r.loadHidden||W(b[n]))&&(d&&B<3&&!p&&(f<3||j<4)||V(b[n],c))){if(J(b[n]),u=!0,B>9)break}else!u&&d&&!l&&B<4&&j<4&&f>
402&&(o[0]||r.preloadAfterLoad)&&(o[0]||!p&&(I||P||L||M||"auto"!=b[n][$](r.sizesAttr)))&&(l=o[0]||b[n]);l&&!u&&J(l)}},Y=k(G),U=function(e){var t=e.target;t._lazyCache?delete t._lazyCache:(F(e),v(t,r.loadedClass),y(t,r.loadingClass),b(t,K),w(t,"lazyloaded"))},X=S(U),K=function(e){X({target:e.target})},Q=function(e){var t,n=e[$](r.srcsetAttr);(t=r.customMedia[e[$]("data-media")||e[$]("media")])&&e.setAttribute("media",t),n&&e.setAttribute("srcset",n)},Z=S((function(e,t,n,i,s){var o,a,l,c,d,f;(d=w(e,"lazybeforeunveil",t)).defaultPrevented||(i&&(n?v(e,r.autosizesClass):e.setAttribute("sizes",i)),a=e[$](r.srcsetAttr),o=e[$](r.srcAttr),s&&(c=(l=e.parentNode)&&h.test(l.nodeName||"")),f=t.firesLoad||"src"in e&&(a||o||c),d={target:e},v(e,r.loadingClass),f&&(clearTimeout(p),p=u(F,2500),b(e,K,!0)),c&&m.call(l.getElementsByTagName("source"),Q),a?e.setAttribute("srcset",a):o&&!c&&(N.test(e.nodeName)?function(e,t){try{e.contentWindow.location.replace(t)}catch(n){e.src=t}}(e,o):e.src=o),s&&(a||c)&&x(e,{src:o})),e._lazyRace&&delete e._lazyRace,y(e,r.lazyClass),T((function(){var t=e.complete&&e.naturalWidth>1;f&&!t||(t&&v(e,"ls-is-cached"),U(d),e._lazyCache=!0,u((function(){"_lazyCache"in e&&delete e._lazyCache}),9)),"lazy"==e.loading&&B--}),!0)})),J=function(e){if(!e._lazyRace){var t,n=R.test(e.nodeName),i=n&&(e[$](r.sizesAttr)||e[$]("sizes")),s="auto"==i;(!s&&d||!n||!e[$]("src")&&!e.srcset||e.complete||g(e,r.errorClass)||!g(e,r.lazyClass))&&(t=w(e,"lazyunveilread").detail,s&&D.updateElem(e,!0,e.offsetWidth),e._lazyRace=!0,B++,Z(e,t,s,i,n))}},ee=_((function(){r.loadMode=3,Y()})),te=function(){3==r.loadMode&&(r.loadMode=2),ee()},ne=function(){d||(n.now()-E<999?u(ne,999):(d=!0,r.loadMode=3,Y(),l("scroll",te,!0)))};return{_:function(){E=n.now(),i.elements=t.getElementsByClassName(r.lazyClass),o=t.getElementsByClassName(r.lazyClass+" "+r.preloadClass),l("scroll",Y,!0),l("resize",Y,!0),l("pageshow",(function(e){if(e.persisted){var n=t.querySelectorAll("."+r.loadingClass);n.length&&n.forEach&&c((function(){n.forEach((function(e){e.complete&&J(e)}))}))}})),e.MutationObserver?new MutationObserver(Y).observe(s,{childList:!0,subtree:!0,attributes:!0}):(s[a]("DOMNodeInserted",Y,!0),s[a]("DOMAttrModified",Y,!0),setInterval(Y,999)),l("hashchange",Y,!0),["focus","mouseover","click","load","transitionend","animationend"].forEach((function(e){t[a](e,Y,!0)})),/d$|^c/.test(t.readyState)?ne():(l("load",ne),t[a]("DOMContentLoaded",Y),u(ne,2e4)),i.elements.length?(G(),T._lsFlush()):Y()},checkElems:Y,unveil:J,_aLSL:te}}(),D=function(){var e,n=S((function(e,t,n,i){var r,s,o;if(e._lazysizesWidth=i,i+="px",e.setAttribute("sizes",i),h.test(t.nodeName||""))for(s=0,o=(r=t.getElementsByTagName("source")).length;s<o;s++)r[s].setAttribute("sizes",i);n.detail.dataAttr||x(e,n.detail)})),i=function(e,t,i){var r,s=e.parentNode;s&&(i=E(e,s,i),(r=w(e,"lazybeforesizes",{width:i,dataAttr:!!t})).defaultPrevented||(i=r.detail.width)&&i!==e._lazysizesWidth&&n(e,s,r,i))},s=_((function(){var t,n=e.length;if(n)for(t=0;t<n;t++)i(e[t])}));return{_:function(){e=t.getElementsByClassName(r.autosizesClass),l("resize",s)},checkElems:s,updateElem:i}}(),z=function(){!z.i&&t.getElementsByClassName&&(z.i=!0,D._(),A._())};return u((function(){r.init&&z()})),i={cfg:r,autoSizer:D,loader:A,init:z,uP:x,aC:v,rC:y,hC:g,fire:w,gW:E,rAF:T}}(e,e.document,Date);e.lazySizes=t,"object"==typeof module&&module.exports&&(module.exports=t)}("undefined"!=typeof window?window:{}),function(e,t){if("object"==typeof module&&"object"==typeof module.exports){if(!e.document)throw new Error("HC-Sticky requires a browser to run.");module.exports=t(e)}else"function"==typeof define&&define.amd?define("hcSticky",[],t(e)):t(e)}("undefined"!=typeof window?window:this,(function(e){var t=e.document,$={top:0,bottom:0,bottomEnd:0,innerTop:0,innerSticker:null,stickyClass:"sticky",stickTo:null,followScroll:!0,responsive:null,mobileFirst:!1,onStart:null,onStop:null,onBeforeResize:null,onResize:null,resizeDebounce:100,disable:!1},n=function(e,t,n){console.warn("%cHC Sticky:%c "+n+"%c '"+e+"'%c is now deprecated and will be removed. Use%c '"+t+"'%c instead.","color: #fa253b","color: default","color: #5595c6","color: default","color: #5595c6","color: default")},i=function(r,s){var o=this;if(s=s||{},"string"==typeof r&&(r=t.querySelector(r)),!r)return!1;s.queries&&n("queries","responsive","option"),s.queryFlow&&n("queryFlow","mobileFirst","option");var a={},l=i.Helpers,u=r.parentNode;function c(e){e=e||{},l.isEmptyObject(e)&&!l.isEmptyObject(a)||(a=Object.assign({},$,a,e))}function d(){return a.disable}function h(){var t,n=a.responsive||a.queries;if(n){var i=e.innerWidth;if(t=s,(a=Object.assign({},$,t||{})).mobileFirst)for(var r in n)r<=i&&!l.isEmptyObject(n[r])&&c(n[r]);else{var o=[];for(var u in n){var d={};d[u]=n[u],o.push(d)}for(var h=o.length-1;0<=h;h--){var p=o[h],f=Object.keys(p)[0];i<=f&&!l.isEmptyObject(p[f])&&c(p[f])}}}}function p(){O=H(),T=N(),P=S+T-A-M,I=_<O;var n,i=e.pageYOffset||t.documentElement.scrollTop,s=l.offset(r).top,o=s-i;q=i<F?"up":"down",W=i-F,L<(F=i)?P+A+(I?D:0)-(a.followScroll&&I?0:A)<=i+O-z-(_-(L-z)<O-z&&a.followScroll&&0<(n=O-_-z)?n:0)?B.release({position:"absolute",bottom:k+u.offsetHeight-P-A}):I&&a.followScroll?"down"==q?o+O+D<=_+.9?B.stick({bottom:D}):"fixed"===B.position&&B.release({position:"absolute",top:s-A-L-W+z}):Math.ceil(o+z)<0&&"fixed"===B.position?B.release({position:"absolute",top:s-A-L+z-W}):i+A-z<=s&&B.stick({top:A-z}):B.stick({top:A-z}):B.release({stop:!0})}function f(){V&&(e.removeEventListener("scroll",p,l.supportsPassive),V=!1)}function m(){null!==r.offsetParent&&"none"!==l.getStyle(r,"display")?(function(){var n,i,s,o;B.css=(n=r,i=l.getCascadedStyle(n),s=l.getStyle(n),o={height:n.offsetHeight+"px",left:i.left,right:i.right,top:i.top,bottom:i.bottom,position:s.position,display:s.display,verticalAlign:s.verticalAlign,boxSizing:s.boxSizing,marginLeft:i.marginLeft,marginRight:i.marginRight,marginTop:i.marginTop,marginBottom:i.marginBottom,paddingLeft:i.paddingLeft,paddingRight:i.paddingRight},i.float&&(o.float=i.float||"none"),i.cssFloat&&(o.cssFloat=i.cssFloat||"none"),s.MozBoxSizing&&(o.MozBoxSizing=s.MozBoxSizing),o.width="auto"!==i.width?i.width:"border-box"===o.boxSizing||"border-box"===o.MozBoxSizing?n.offsetWidth+"px":s.width,o),j.init(),x=!(!a.stickTo||!("document"===a.stickTo||a.stickTo.nodeType&&9===a.stickTo.nodeType||"object"==typeof a.stickTo&&a.stickTo instanceof("undefined"!=typeof HTMLDocument?HTMLDocument:Document))),C=a.stickTo?x?t:"string"==typeof a.stickTo?t.querySelector(a.stickTo):a.stickTo:u,O=(H=function(){var e=r.offsetHeight+(parseInt(B.css.marginTop)||0)+(parseInt(B.css.marginBottom)||
400),t=(O||0)-e;return-1<=t&&t<=1?O:e})(),T=(N=function(){return x?Math.max(t.documentElement.clientHeight,t.body.scrollHeight,t.documentElement.scrollHeight,t.body.offsetHeight,t.documentElement.offsetHeight):C.offsetHeight})(),S=x?0:l.offset(C).top,k=a.stickTo?x?0:l.offset(u).top:S,_=e.innerHeight,R=r.offsetTop-(parseInt(B.css.marginTop)||0),E=a.innerSticker?"string"==typeof a.innerSticker?t.querySelector(a.innerSticker):a.innerSticker:null,A=isNaN(a.top)&&-1<a.top.indexOf("%")?parseFloat(a.top)/100*_:a.top,D=isNaN(a.bottom)&&-1<a.bottom.indexOf("%")?parseFloat(a.bottom)/100*_:a.bottom,z=E?E.offsetTop:a.innerTop?a.innerTop:0,M=isNaN(a.bottomEnd)&&-1<a.bottomEnd.indexOf("%")?parseFloat(a.bottomEnd)/100*_:a.bottomEnd,L=S-A+z+R}(),T<O?f():(p(),V||(e.addEventListener("scroll",p,l.supportsPassive),V=!0))):f()}function g(){r.style.position="",r.style.left="",r.style.top="",r.style.bottom="",r.style.width="",r.classList?r.classList.remove(a.stickyClass):r.className=r.className.replace(new RegExp("(^|\\b)"+a.stickyClass.split(" ").join("|")+"(\\b|$)","gi")," "),B.css={},!(B.position=null)===j.isAttached&&j.detach()}function v(){g(),h(),(d()?f:m)()}function y(){a.onBeforeResize&&a.onBeforeResize.call(r,Object.assign({},a)),v(),a.onResize&&a.onResize.call(r,Object.assign({},a))}function b(){G&&(e.removeEventListener("resize",Y,l.supportsPassive),G=!1),f()}function w(){G||(e.addEventListener("resize",Y,l.supportsPassive),G=!0),h(),(d()?f:m)()}"static"===l.getStyle(u,"position")&&(u.style.position="relative");var x,C,E,T,S,k,_,A,D,z,M,L,P,I,O,R,N,H,q,B={css:{},position:null,stick:function(e){e=e||{},l.hasClass(r,a.stickyClass)||(!1===j.isAttached&&j.attach(),B.position="fixed",r.style.position="fixed",r.style.left=j.offsetLeft+"px",r.style.width=j.width,void 0===e.bottom?r.style.bottom="auto":r.style.bottom=e.bottom+"px",void 0===e.top?r.style.top="auto":r.style.top=e.top+"px",r.classList?r.classList.add(a.stickyClass):r.className+=" "+a.stickyClass,a.onStart&&a.onStart.call(r,Object.assign({},a)))},release:function(e){if((e=e||{}).stop=e.stop||!1,!0===e.stop||"fixed"===B.position||null===B.position||!(void 0===e.top&&void 0===e.bottom||void 0!==e.top&&(parseInt(l.getStyle(r,"top"))||0)===e.top||void 0!==e.bottom&&(parseInt(l.getStyle(r,"bottom"))||0)===e.bottom)){!0===e.stop?!0===j.isAttached&&j.detach():!1===j.isAttached&&j.attach();var t=e.position||B.css.position;B.position=t,r.style.position=t,r.style.left=!0===e.stop?B.css.left:j.positionLeft+"px",r.style.width="absolute"!==t?B.css.width:j.width,void 0===e.bottom?r.style.bottom=!0===e.stop?"":"auto":r.style.bottom=e.bottom+"px",void 0===e.top?r.style.top=!0===e.stop?"":"auto":r.style.top=e.top+"px",r.classList?r.classList.remove(a.stickyClass):r.className=r.className.replace(new RegExp("(^|\\b)"+a.stickyClass.split(" ").join("|")+"(\\b|$)","gi")," "),a.onStop&&a.onStop.call(r,Object.assign({},a))}}},j={el:t.createElement("div"),offsetLeft:null,positionLeft:null,width:null,isAttached:!1,init:function(){for(var e in j.el.className="sticky-spacer",B.css)j.el.style[e]=B.css[e];j.el.style["z-index"]="-1";var t=l.getStyle(r);j.offsetLeft=l.offset(r).left-(parseInt(t.marginLeft)||0),j.positionLeft=l.position(r).left,j.width=l.getStyle(r,"width")},attach:function(){u.insertBefore(j.el,r),j.isAttached=!0},detach:function(){j.el=u.removeChild(j.el),j.isAttached=!1}},F=e.pageYOffset||t.documentElement.scrollTop,W=0,V=!1,G=!1,Y=a.resizeDebounce?l.debounce(y,a.resizeDebounce):y;this.options=function(e){return e?a[e]:Object.assign({},a)},this.refresh=v,this.update=function(e){c(e),s=Object.assign({},s,e||{}),v()},this.attach=w,this.detach=b,this.destroy=function(){b(),g()},this.triggerMethod=function(e,t){"function"==typeof o[e]&&o[e](t)},this.reinit=function(){n("reinit","refresh","method"),v()},c(s),w(),e.addEventListener("load",v)};if(void 0!==e.jQuery){var r=e.jQuery,s="hcSticky";r.fn.extend({hcSticky:function(e,t){return this.length?"options"===e?r.data(this.get(0),s).options():this.each((function(){var n=r.data(this,s);n?n.triggerMethod(e,t):(n=new i(this,e),r.data(this,s,n))})):this}})}return e.hcSticky=e.hcSticky||i,i})),function(e){var t=e.hcSticky,n=e.document;"function"!=typeof Object.assign&&Object.defineProperty(Object,"assign",{value:function(e,t){if(null==e)throw new TypeError("Cannot convert undefined or null to object");for(var n=Object(e),i=1;i<arguments.length;i++){var r=arguments[i];if(null!=r)for(var s in r)Object.prototype.hasOwnProperty.call(r,s)&&
40(n[s]=r[s])}return n},writable:!0,configurable:!0}),Array.prototype.forEach||(Array.prototype.forEach=function(e){var t,n;if(null==this)throw new TypeError("this is null or not defined");var i=Object(this),r=i.length>>>0;if("function"!=typeof e)throw new TypeError(e+" is not a function");for(1<arguments.length&&(t=arguments[1]),n=0;n<r;){var s;n in i&&(s=i[n],e.call(t,s,n,i)),n++}});var i=!1;try{var r=Object.defineProperty({},"passive",{get:function(){i={passive:!1}}});e.addEventListener("testPassive",null,r),e.removeEventListener("testPassive",null,r)}catch(t){}function s(t,i){return e.getComputedStyle?i?n.defaultView.getComputedStyle(t,null).getPropertyValue(i):n.defaultView.getComputedStyle(t,null):t.currentStyle?i?t.currentStyle[i.replace(/-\w/g,(function(e){return e.toUpperCase().replace("-","")}))]:t.currentStyle:void 0}function o(t){var i=t.getBoundingClientRect(),r=e.pageYOffset||n.documentElement.scrollTop,s=e.pageXOffset||n.documentElement.scrollLeft;return{top:i.top+r,left:i.left+s}}t.Helpers={supportsPassive:i,isEmptyObject:function(e){for(var t in e)return!1;return!0},debounce:function(e,t,n){var i;return function(){var r=this,s=arguments,o=n&&!i;clearTimeout(i),i=setTimeout((function(){i=null,n||e.apply(r,s)}),t),o&&e.apply(r,s)}},hasClass:function(e,t){return e.classList?e.classList.contains(t):new RegExp("(^| )"+t+"( |$)","gi").test(e.className)},offset:o,position:function(e){var t=e.offsetParent,n=o(t),i=o(e),r=s(t),a=s(e);return n.top+=parseInt(r.borderTopWidth)||0,n.left+=parseInt(r.borderLeftWidth)||0,{top:i.top-n.top-(parseInt(a.marginTop)||0),left:i.left-n.left-(parseInt(a.marginLeft)||0)}},getStyle:s,getCascadedStyle:function(t){var i,r=t.cloneNode(!0);r.style.display="none",Array.prototype.slice.call(r.querySelectorAll('input[type="radio"]')).forEach((function(e){e.removeAttribute("name")})),t.parentNode.insertBefore(r,t.nextSibling),r.currentStyle?i=r.currentStyle:e.getComputedStyle&&(i=n.defaultView.getComputedStyle(r,null));var s={};for(var o in i)!isNaN(o)||"string"!=typeof i[o]&&"number"!=typeof i[o]||(s[o]=i[o]);if(Object.keys(s).length<3)for(var a in s={}
40,i)isNaN(a)||(s[i[a].replace(/-\w/g,(function(e){return e.toUpperCase().replace("-","")}))]=i.getPropertyValue(i[a]));if(s.margin||"auto"!==s.marginLeft?s.margin||s.marginLeft!==s.marginRight||s.marginLeft!==s.marginTop||s.marginLeft!==s.marginBottom||(s.margin=s.marginLeft):s.margin="auto",!s.margin&&"0px"===s.marginLeft&&"0px"===s.marginRight){var l=t.offsetLeft-t.parentNode.offsetLeft,u=l-(parseInt(s.left)||0)-(parseInt(s.right)||0),c=t.parentNode.offsetWidth-t.offsetWidth-l-(parseInt(s.right)||0)+(parseInt(s.left)||0)-u;0!=c&&1!=c||(s.margin="auto")}return r.parentNode.removeChild(r),r=null,s}}}(window),function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e=e||self).Headroom=t()}(this,(function(){"use strict";function e(){return"undefined"!=typeof window}function t(e,t,n){var i,r=function(){var e=!1;try{var t={get passive(){e=!0}};window.addEventListener("test",t,t),window.removeEventListener("test",t,t)}catch(t){e=!1}return e}(),s=!1,o=function(e){return function(e){return e&&e.document&&function(e){return 9===e.nodeType}(e.document)}(e)?function(e){var t=e.document,n=t.body,i=t.documentElement;return{scrollHeight:function(){return Math.max(n.scrollHeight,i.scrollHeight,n.offsetHeight,i.offsetHeight,n.clientHeight,i.clientHeight)},height:function(){return e.innerHeight||i.clientHeight||n.clientHeight},scrollY:function(){return void 0!==e.pageYOffset?e.pageYOffset:(i||n.parentNode||n).scrollTop}}}(e):function(e){return{scrollHeight:function(){return Math.max(e.scrollHeight,e.offsetHeight,e.clientHeight)},height:function(){return Math.max(e.offsetHeight,e.clientHeight)},scrollY:function(){return e.scrollTop}}}(e)}(e),a=o.scrollY(),l={};function u(){var e=Math.round(o.scrollY()),i=o.height(),r=o.scrollHeight();l.scrollY=e,l.lastScrollY=a,l.direction=a<e?"down":"up",l.distance=Math.abs(e-a),l.isOutOfBounds=e<0||r<e+i,l.top=e<=t.offset[l.direction],l.bottom=r<=e+i,l.toleranceExceeded=l.distance>t.tolerance[l.direction],n(l),a=e,s=!1}function c(){s||(s=!0,i=requestAnimationFrame(u))}var d=!!r&&{passive:!0,capture:!1};return e.addEventListener("scroll",c,d),u(),{destroy:function(){cancelAnimationFrame(i),e.removeEventListener("scroll",c,d)}}}function n(e){return e===Object(e)?e:{down:e,up:e}}function i(e,t){t=t||{},Object.assign(this,i.options,t),this.classes=Object.assign({},i.options.classes,t.classes),this.elem=e,this.tolerance=n(this.tolerance),this.offset=n(this.offset),this.initialised=!1,this.frozen=!1}return i.prototype={constructor:i,init:function(){return i.cutsTheMustard&&!this.initialised&&(this.addClass("initial"),this.initialised=!0,setTimeout((function(e){e.scrollTracker=t(e.scroller,{offset:e.offset,tolerance:e.tolerance},e.update.bind(e))}),100,this)),this},destroy:function(){this.initialised=!1,Object.keys(this.classes).forEach(this.removeClass,this),this.scrollTracker.destroy()},unpin:function(){!this.hasClass("pinned")&&this.hasClass("unpinned")||(this.addClass("unpinned"),this.removeClass("pinned"),this.onUnpin&&this.onUnpin.call(this))},pin:function(){this.hasClass("unpinned")&&(this.addClass("pinned"),this.removeClass("unpinned"),this.onPin&&this.onPin.call(this))},freeze:function(){this.frozen=!0,this.addClass("frozen")},unfreeze:function(){this.frozen=!1,this.removeClass("frozen")},top:function(){this.hasClass("top")||(this.addClass("top"),this.removeClass("notTop"),this.onTop&&this.onTop.call(this))},notTop:function(){this.hasClass("notTop")||(this.addClass("notTop"),this.removeClass("top"),this.onNotTop&&this.onNotTop.call(this))},bottom:function(){this.hasClass("bottom")||(this.addClass("bottom"),this.removeClass("notBottom"),this.onBottom&&this.onBottom.call(this))},notBottom:function(){this.hasClass("notBottom")||(this.addClass("notBottom"),this.removeClass("bottom"),this.onNotBottom&&this.onNotBottom.call(this))},shouldUnpin:function(e){return"down"===e.direction&&!e.top&&e.toleranceExceeded},shouldPin:function(e){return"up"===e.direction&&e.toleranceExceeded||e.top},addClass:function(e){this.elem.classList.add.apply(this.elem.classList,this.classes[e].split(" "))},removeClass:function(e){this.elem.classList.remove.apply(this.elem.classList,this.classes[e].split(" "))},hasClass:function(e){return this.classes[e].split(" ").every((function(e){return this.classList.contains(e)}),this.elem)},update:function(e){e.isOutOfBounds||!0!==this.frozen&&(e.top?this.top():this.notTop(),e.bottom?this.bottom():this.notBottom(),this.shouldUnpin(e)?this.unpin():this.shouldPin(e)&&this.pin())}},i.options={tolerance:{up:0,down:0},offset:0,scroller:e()?window:null,classes:{frozen:"headroom--frozen",pinned:"headroom--pinned",unpinned:"headroom--unpinned",top:"headroom--top",notTop:"headroom--not-top",bottom:"headroom--bottom",notBottom:"headroom--not-bottom",initial:"headroom"}},i.cutsTheMustard=!!(e()&&function(){}.bind&&"classList"in document.documentElement&&Object.assign&&Object.keys&&requestAnimationFrame),i})),function(e){"function"==typeof define&&define.amd?define(["jquery"],e):"object"==typeof exports?e(require("jquery")):e(window.jQuery||window.Zepto)}((function($){var e,t,n,i,r,s,o="Close",a="BeforeClose",l="MarkupParse",u="Open",c="Change",d="mfp",h=".mfp",p="mfp-ready",f="mfp-removing",m="mfp-prevent-close",g=function(){},v=!!window.jQuery,y=$(window),b=function(t,n){e.ev.on(d+t+h,n)},w=function(e,t,n,i){var r=document.createElement("div");return r.className="mfp-"+e,n&&(r.innerHTML=n),i?t&&t.appendChild(r):(r=$(r),t&&r.appendTo(t)),r},x=function(t,n){e.ev.triggerHandler(d+t,n),e.st.callbacks&&(t=t.charAt(0).toLowerCase()+t.slice(1),e.st.callbacks[t]&&e.st.callbacks[t].apply(e,$.isArray(n)?n:[n]))},C=function(t){return t===s&&e.currTemplate.closeBtn||(e.currTemplate.closeBtn=$(e.st.closeMarkup.replace("%title%",e.st.tClose)),s=t),e.currTemplate.closeBtn},E=function(){$.magnificPopup.instance||((e=new g).init(),$.magnificPopup.instance=e)};g.prototype={constructor:g,init:function(){var t=navigator.appVersion;e.isLowIE=e.isIE8=document.all&&!document.addEventListener,e.isAndroid=/android/gi.test(t),e.isIOS=/iphone|ipad|ipod/gi.test(t),e.supportsTransition=function(){var e=document.createElement("p").style,t=["ms","O","Moz","Webkit"];if(void 0!==e.transition)return!0;for(;t.length;)if(t.pop()+"Transition"in e)return!0;return!1}(),e.probablyMobile=e.isAndroid||e.isIOS||/(Opera Mini)|Kindle|webOS|BlackBerry|(Opera Mobi)|(Windows Phone)|IEMobile/i.test(navigator.userAgent),n=$(document),e.popupsCache={}},open:function(t){var i;if(!1===t.isObj){e.items=t.items.toArray(),e.index=0;var s,o=t.items;for(i=0;i<o.length;i++)if((s=o[i]).parsed&&(s=s.el[0]),s===t.el[0]){e.index=i;break}}else e.items=$.isArray(t.items)?t.items:[t.items],e.index=t.index||0;if(!e.isOpen){e.types=[],r="",t.mainEl&&t.mainEl.length?e.ev=t.mainEl.eq(0):e.ev=n,t.key?(e.popupsCache[t.key]||(e.popupsCache[t.key]={}),e.currTemplate=e.popupsCache[t.key]):e.currTemplate={},e.st=$.extend(!0,{},$.magnificPopup.defaults,t),e.fixedContentPos="auto"===e.st.fixedContentPos?!e.probablyMobile:e.st.fixedContentPos,e.st.modal&&(e.st.closeOnContentClick=!1,e.st.closeOnBgClick=!1,e.st.showCloseBtn=!1,e.st.enableEscapeKey=!1),e.bgOverlay||(e.bgOverlay=w("bg").on("click.mfp",(function(){e.close()})),e.wrap=w("wrap").attr("tabindex",-1).on("click.mfp",(function(t){e._checkIfClose(t.target)&&e.close()})),e.container=w("container",e.wrap)),e.contentContainer=w("content"),e.st.preloader&&(e.preloader=w("preloader",e.container,e.st.tLoading));var a=$.magnificPopup.modules;for(i=0;i<a.length;i++){var c=a[i];c=c.charAt(0).toUpperCase()+c.slice(1),e["init"+c].call(e)}x("BeforeOpen"),e.st.showCloseBtn&&(e.st.closeBtnInside?(b(l,(function(e,t,n,i){n.close_replaceWith=C(i.type)})),r+=" mfp-close-btn-in"):e.wrap.append(C())),e.st.alignTop&&(r+=" mfp-align-top"),e.fixedContentPos?e.wrap.css({overflow:e.st.overflowY,overflowX:"hidden",overflowY:e.st.overflowY}):e.wrap.css({top:y.scrollTop(),position:"absolute"}),(!1===e.st.fixedBgPos||"auto"===e.st.fixedBgPos&&!e.fixedContentPos)&&e.bgOverlay.css({height:n.height(),position:"absolute"}),e.st.enableEscapeKey&&n.on("keyup.mfp",(function(t){27===t.keyCode&&e.close()})),y.on("resize.mfp",(function(){e.updateSize()}
40)),e.st.closeOnContentClick||(r+=" mfp-auto-cursor"),r&&e.wrap.addClass(r);var d=e.wH=y.height(),h={};if(e.fixedContentPos&&e._hasScrollBar(d)){var f=e._getScrollbarSize();f&&(h.marginRight=f)}e.fixedContentPos&&(e.isIE7?$("body, html").css("overflow","hidden"):h.overflow="hidden");var m=e.st.mainClass;return e.isIE7&&(m+=" mfp-ie7"),m&&e._addClassToMFP(m),e.updateItemHTML(),x("BuildControls"),$("html").css(h),e.bgOverlay.add(e.wrap).prependTo(e.st.prependTo||$(document.body)),e._lastFocusedEl=document.activeElement,setTimeout((function(){e.content?(e._addClassToMFP(p),e._setFocus()):e.bgOverlay.addClass(p),n.on("focusin.mfp",e._onFocusIn)}),16),e.isOpen=!0,e.updateSize(d),x(u),t}e.updateItemHTML()},close:function(){e.isOpen&&(x(a),e.isOpen=!1,e.st.removalDelay&&!e.isLowIE&&e.supportsTransition?(e._addClassToMFP(f),setTimeout((function(){e._close()}),e.st.removalDelay)):e._close())},_close:function(){x(o);var t="mfp-removing mfp-ready ";if(e.bgOverlay.detach(),e.wrap.detach(),e.container.empty(),e.st.mainClass&&(t+=e.st.mainClass+" "),e._removeClassFromMFP(t),e.fixedContentPos){var i={marginRight:""};e.isIE7?$("body, html").css("overflow",""):i.overflow="",$("html").css(i)}n.off("keyup.mfp focusin.mfp"),e.ev.off(h),e.wrap.attr("class","mfp-wrap").removeAttr("style"),e.bgOverlay.attr("class","mfp-bg"),e.container.attr("class","mfp-container"),!e.st.showCloseBtn||e.st.closeBtnInside&&!0!==e.currTemplate[e.currItem.type]||e.currTemplate.closeBtn&&e.currTemplate.closeBtn.detach(),e.st.autoFocusLast&&e._lastFocusedEl&&$(e._lastFocusedEl).focus(),e.currItem=null,e.content=null,e.currTemplate=null,e.prevHeight=0,x("AfterClose")},updateSize:function(t){if(e.isIOS){var n=document.documentElement.clientWidth/window.innerWidth,i=window.innerHeight*n;e.wrap.css("height",i),e.wH=i}else e.wH=t||y.height();e.fixedContentPos||e.wrap.css("height",e.wH),x("Resize")},updateItemHTML:function(){var t=e.items[e.index];e.contentContainer.detach(),e.content&&e.content.detach(),t.parsed||(t=e.parseEl(e.index));var n=t.type;if(x("BeforeChange",[e.currItem?e.currItem.type:"",n]),e.currItem=t,!e.currTemplate[n]){var r=!!e.st[n]&&e.st[n].markup;x("FirstMarkupParse",r),e.currTemplate[n]=!r||$(r)}i&&i!==t.type&&e.container.removeClass("mfp-"+i+"-holder");var s=e["get"+n.charAt(0).toUpperCase()+n.slice(1)](t,e.currTemplate[n]);e.appendContent(s,n),t.preloaded=!0,x(c,t),i=t.type,e.container.prepend(e.contentContainer),x("AfterChange")},appendContent:function(t,n){e.content=t,t?e.st.showCloseBtn&&e.st.closeBtnInside&&!0===e.currTemplate[n]?e.content.find(".mfp-close").length||e.content.append(C()):e.content=t:e.content="",x("BeforeAppend"),e.container.addClass("mfp-"+n+"-holder"),e.contentContainer.append(e.content)},parseEl:function(t){var n,i=e.items[t];if(i.tagName?i={el:$(i)}:(n=i.type,i={data:i,src:i.src}),i.el){for(var r=e.types,s=0;s<r.length;s++)if(i.el.hasClass("mfp-"+r[s])){n=r[s];break}i.src=i.el.attr("data-mfp-src"),i.src||(i.src=i.el.attr("href"))}return i.type=n||e.st.type||"inline",i.index=t,i.parsed=!0,e.items[t]=i,x("ElementParse",i),e.items[t]},addGroup:function(t,n){var i=function(i){i.mfpEl=this,e._openClick(i,t,n)};n||(n={});var r="click.magnificPopup";n.mainEl=t,n.items?(n.isObj=!0,t.off(r).on(r,i)):(n.isObj=!1,n.delegate?t.off(r).on(r,n.delegate,i):(n.items=t,t.off(r).on(r,i)))},_openClick:function(t,n,i){if((void 0!==i.midClick?i.midClick:$.magnificPopup.defaults.midClick)||!(2===t.which||t.ctrlKey||t.metaKey||t.altKey||t.shiftKey)){var r=void 0!==i.disableOn?i.disableOn:$.magnificPopup.defaults.disableOn;if(r)if($.isFunction(r)){if(!r.call(e))return!0}else if(y.width()<r)return!0;t.type&&(t.preventDefault(),e.isOpen&&t.stopPropagation()),i.el=$(t.mfpEl),i.delegate&&(i.items=n.find(i.delegate)),e.o
40pen(i)}},updateStatus:function(n,i){if(e.preloader){t!==n&&e.container.removeClass("mfp-s-"+t),i||"loading"!==n||(i=e.st.tLoading);var r={status:n,text:i};x("UpdateStatus",r),n=r.status,i=r.text,e.preloader.html(i),e.preloader.find("a").on("click",(function(e){e.stopImmediatePropagation()})),e.container.addClass("mfp-s-"+n),t=n}},_checkIfClose:function(t){if(!$(t).hasClass(m)){var n=e.st.closeOnContentClick,i=e.st.closeOnBgClick;if(n&&i)return!0;if(!e.content||$(t).hasClass("mfp-close")||e.preloader&&t===e.preloader[0])return!0;if(t===e.content[0]||$.contains(e.content[0],t)){if(n)return!0}else if(i&&$.contains(document,t))return!0;return!1}},_addClassToMFP:function(t){e.bgOverlay.addClass(t),e.wrap.addClass(t)},_removeClassFromMFP:function(t){this.bgOverlay.removeClass(t),e.wrap.removeClass(t)},_hasScrollBar:function(t){return(e.isIE7?n.height():document.body.scrollHeight)>(t||y.height())},_setFocus:function(){(e.st.focus?e.content.find(e.st.focus).eq(0):e.wrap).focus()},_onFocusIn:function(t){if(t.target!==e.wrap[0]&&!$.contains(e.wrap[0],t.target))return e._setFocus(),!1},_parseMarkup:function(e,t,n){var i;n.data&&(t=$.extend(n.data,t)),x(l,[e,t,n]),$.each(t,(function(t,n){if(void 0===n||!1===n)return!0;if((i=t.split("_")).length>1){var r=e.find(".mfp-"+i[0]);if(r.length>0){var s=i[1];"replaceWith"===s?r[0]!==n[0]&&r.replaceWith(n):"img"===s?r.is("img")?r.attr("src",n):r.replaceWith($("<img>").attr("src",n).attr("class",r.attr("class"))):r.attr(i[1],n)}}else e.find(".mfp-"+t).html(n)}))},_getScrollbarSize:function(){if(void 0===e.scrollbarSize){var t=document.createElement("div");t.style.cssText="width: 99px; height: 99px; overflow: scroll; position: absolute; top: -9999px;",document.body.appendChild(t),e.scrollbarSize=t.offsetWidth-t.clientWidth,document.body.removeChild(t)}return e.scrollbarSize}},$.magnificPopup={instance:null,proto:g.prototype,modules:[],open:function(e,t){return E(),(e=e?$.extend(!0,{},e):{}).isObj=!0,e.index=t||0,this.instance.open(e)},close:function(){return $.magnificPopup.instance&&$.magnificPopup.instance.close()},registerModule:function(e,t){t.options&&($.magnificPopup.defaults[e]=t.options),$.extend(this.proto,t.proto),this.modules.push(e)},defaults:{disableOn:0,key:null,midClick:!1,mainClass:"",preloader:!0,focus:"",closeOnContentClick:!1,closeOnBgClick:!0,closeBtnInside:!0,showCloseBtn:!0,enableEscapeKey:!0,modal:!1,alignTop:!1,removalDelay:0,prependTo:null,fixedContentPos:"auto",fixedBgPos:"auto",overflowY:"auto",closeMarkup:'<button title="%title%" type="button" class="mfp-close">×</button>',tClose:"Close (Esc)",tLoading:"Loading...",autoFocusLast:!0}},$.fn.magnificPopup=function(t){E();var n=$(this);if("string"==typeof t)if("open"===t){var i,r=v?n.data("magnificPopup"):n[0].magnificPopup,s=parseInt(arguments[1],10)||0;r.items?i=r.items[s]:(i=n,r.delegate&&(i=i.find(r.delegate)),i=i.eq(s)),e._openClick({mfpEl:i},n,r)}else e.isOpen&&e[t].apply(e,Array.prototype.slice.call(arguments,1));else t=$.extend(!0,{},t),v?n.data("magnificPopup",t):n[0].magnificPopup=t,e.addGroup(n,t);return n};var T,S,k,_="inline",A=function(){k&&(S.after(k.addClass(T)).detach(),k=null)};$.magnificPopup.registerModule(_,{options:{hiddenClass:"hide",markup:"",tNotFound:"Content not found"},proto:{initInline:function(){e.types.push(_),b("Close.inline",(function(){A()}
40))},getInline:function(t,n){if(A(),t.src){var i=e.st.inline,r=$(t.src);if(r.length){var s=r[0].parentNode;s&&s.tagName&&(S||(T=i.hiddenClass,S=w(T),T="mfp-"+T),k=r.after(S).detach().removeClass(T)),e.updateStatus("ready")}else e.updateStatus("error",i.tNotFound),r=$("<div>");return t.inlineElement=r,r}return e.updateStatus("ready"),e._parseMarkup(n,{},t),n}}});var D,z="ajax",M=function(){D&&$(document.body).removeClass(D)},L=function(){M(),e.req&&e.req.abort()};$.magnificPopup.registerModule(z,{options:{settings:null,cursor:"mfp-ajax-cur",tError:'<a href="%url%">The content</a> could not be loaded.'},proto:{initAjax:function(){e.types.push(z),D=e.st.ajax.cursor,b("Close.ajax",L),b("BeforeChange.ajax",L)},getAjax:function(t){D&&$(document.body).addClass(D),e.updateStatus("loading");var n=$.extend({url:t.src,success:function(n,i,r){var s={data:n,xhr:r};x("ParseAjax",s),e.appendContent($(s.data),z),t.finished=!0,M(),e._setFocus(),setTimeout((function(){e.wrap.addClass(p)}),16),e.updateStatus("ready"),x("AjaxContentAdded")},error:function(){M(),t.finished=t.loadError=!0,e.updateStatus("error",e.st.ajax.tError.replace("%url%",t.src))}},e.st.ajax.settings);return e.req=$.ajax(n),""}}});var P,I=function(t){if(t.data&&void 0!==t.data.title)return t.data.title;var n=e.st.image.titleSrc;if(n){if($.isFunction(n))return n.call(e,t);if(t.el)return t.el.attr(n)||""}return""};$.magnificPopup.registerModule("image",{options:{markup:'<div class="mfp-figure"><div class="mfp-close"></div><figure><div class="mfp-img"></div><figcaption><div class="mfp-bottom-bar"><div class="mfp-title"></div><div class="mfp-counter"></div></div></figcaption></figure></div>',cursor:"mfp-zoom-out-cur",titleSrc:"title",verticalFit:!0,tError:'<a href="%url%">The image</a> could not be loaded.'},proto:{initImage:function(){var t=e.st.image,n=".image";e.types.push("image"),b("Open.image",(function(){"image"===e.currItem.type&&t.cursor&&$(document.body).addClass(t.cursor)})),b("Close.image",(function(){t.cursor&&$(document.body).removeClass(t.cursor),y.off("resize.mfp")})),b("Resize"+n,e.resizeImage),e.isLowIE&&b("AfterChange",e.resizeImage)},resizeImage:function(){var t=e.currItem;if(t&&t.img&&e.st.image.verticalFit){var n=0;e.isLowIE&&(n=parseInt(t.img.css("padding-top"),10)+parseInt(t.img.css("padding-bottom"),10)),t.img.css("max-height",e.wH-n)}},_onImageHasSize:function(t){t.img&&(t.hasSize=!0,P&&clearInterval(P),t.isCheckingImgSize=!1,x("ImageHasSize",t),t.imgHidden&&(e.content&&e.content.removeClass("mfp-loading"),t.imgHidden=!1))},findImageSize:function(t){var n=0,i=t.img[0],r=function(s){P&&clearInterval(P),P=setInterval((function(){i.naturalWidth>0?e._onImageHasSize(t):(n>200&&clearInterval(P),3===++n?r(10):40===n?r(50):100===n&&r(500))}),s)};r(1)},getImage:function(t,n){var i=0,r=function(){t&&(t.img[0].complete?(t.img.off(".mfploader"),t===e.currItem&&(e._onImageHasSize(t),e.updateStatus("ready")),t.hasSize=!0,t.loaded=!0,x("ImageLoadComplete")):++i<200?setTimeout(r,100):s())},s=function(){t&&(t.img.off(".mfploader"),t===e.currItem&&(e._onImageHasSize(t),e.updateStatus("error",o.tError.replace("%url%",t.src))),t.hasSize=!0,t.loaded=!0,t.loadError=!0)},o=e.st.image,a=n.find(".mfp-img");if(a.length){var l=document.createElement("img");l.className="mfp-img",t.el&&t.el.find("img").length&&(l.alt=t.el.find("img").attr("alt")),t.img=$(l).on("load.mfploader",r).on("error.mfploader",s),l.src=t.src,a.is("img")&&(t.img=t.img.clone()),(l=t.img[0]).naturalWidth>0?t.hasSize=!0:l.width||(t.hasSize=!1)}return e._parseMarkup(n,{title:I(t),img_replaceWith:t.img},t),e.resizeImage(),t.hasSize?(P&&clearInterval(P),t.loadError?(n.addClass("mfp-loading"),e.updateStatus("error",o.tError.replace("%url%",t.src))):(n.removeClass("mfp-loading"),e.updateStatus("ready")),n):(e.updateStatus("loading"),t.loading=!0,t.hasSize||(t.imgHidden=!0,n.addClass("mfp-loading"),e.findImageSize(t)),n)}}});var O;$.magnificPopup.registerModule("zoom",{options:{enabled:!1,easing:"ease-in-out",duration:300,opener:function(e){return e.is("img")?e:e.find("img")}},proto:{initZoom:function(){var t,n=e.st.zoom,i=".zoom";if(n.enabled&&e.supportsTransition){var r,s,o=n.duration,a=function(e){var t=e.clone().removeAttr("style").removeAttr("class").addClass("mfp-animated-image"),i="all "+n.duration/1e3+"s "+n.easing,r={position:"fixed",zIndex:9999,left:0,top:0,"-webkit-backface-visibility":"hidden"},s="transition";return r["-webkit-"+s]=r["-moz-"+s]=r["-o-"+s]=r[s]=i,t.css(r),t},l=function(){e.content.css("visibility","visible")};b("BuildControls"+i,(function(){if(e._allowZoom()){if(clearTimeout(r),e.content.css("visibility","hidden"),!(t=e._getItemToZoom()))return void l();(s=a(t)).css(e._getOffset()),e.wrap.append(s),r=setTimeout((function(){s.css(e._getOffset(!0)),r=setTimeout((function(){l(),setTimeout((function(){s.remove(),t=s=null,x("ZoomAnimationEnded")}),16)}),o)}),16)}})),b("BeforeClose.zoom",(function(){if(e._allowZoom()){if(clearTimeout(r),e.st.removalDelay=o,!t){if(!(t=e._getItemToZoom()))return;s=a(t)}s.css(e._getOffset(!0)),e.wrap.append(s),e.content.css("visibility","hidden"),setTimeout((function(){s.css(e._getOffset())}),16)}})),b("Close.zoom",(function(){e._allowZoom()&&(l(),s&&s.remove(),t=null)}))}},_allowZoom:function(){return"image"===e.currItem.type},_getItemToZoom:function(){return!!e.currItem.hasSize&&e.currItem.img},_getOffset:function(t){var n,i=(n=t?e.currItem.img:e.st.zoom.opener(e.currItem.el||e.currItem)).offset(),r=parseInt(n.css("padding-top"),10),s=parseInt(n.css("padding-bottom"),10);i.top-=$(window).scrollTop()-r;var o={width:n.width(),height:(v?n.innerHeight():n[0].offsetHeight)-s-r};return void 0===O&&(O=void 0!==document.createElement("p").style.MozTransform),O?o["-moz-transform"]=o.transform="translate("+i.left+"px,"+i.top+"px)":(o.left=i.left,o.top=i.top),o}}});var R="iframe",N=function(t){if(e.currTemplate.iframe){var n=e.currTemplate.iframe.find("iframe");n.length&&(t||(n[0].src="//about:blank"),e.isIE8&&n.css("display",t?"block":"none"))}};$.magnificPopup.registerModule(R,{options:{markup:'<div class="mfp-iframe-scaler"><div class="mfp-close"></div><iframe class="mfp-iframe" src="//about:blank" frameborder="0" allowfullscreen></iframe></div>',srcAction:"iframe_src",patterns:{youtube:{index:"youtube.com",id:"v=",src:"//www.youtube.com/embed/%id%?autoplay=1"},vimeo:{index:"vimeo.com/",id:"/",src:"//player.vimeo.com/video/%id%?autoplay=1"},gmaps:{index:"//maps.google.",src:"%id%&output=embed"}}},proto:{initIframe:function(){e.types.push(R),b("BeforeChange",(function(e,t,n){t!==n&&(t===R?N():n===R&&N(!0))})),b("Close.iframe",(function(){N()}))}
40,getIframe:function(t,n){var i=t.src,r=e.st.iframe;$.each(r.patterns,(function(){if(i.indexOf(this.index)>-1)return this.id&&(i="string"==typeof this.id?i.substr(i.lastIndexOf(this.id)+this.id.length,i.length):this.id.call(this,i)),i=this.src.replace("%id%",i),!1}));var s={};return r.srcAction&&(s[r.srcAction]=i),e._parseMarkup(n,s,t),e.updateStatus("ready"),n}}});var H=function(t){var n=e.items.length;return t>n-1?t-n:t<0?n+t:t},q=function(e,t,n){return e.replace(/%curr%/gi,t+1).replace(/%total%/gi,n)};$.magnificPopup.registerModule("gallery",{options:{enabled:!1,arrowMarkup:'<button title="%title%" type="button" class="mfp-arrow mfp-arrow-%dir%"></button>',preload:[0,2],navigateByImgClick:!0,arrows:!0,tPrev:"Previous (Left arrow key)",tNext:"Next (Right arrow key)",tCounter:"%curr% of %total%"},proto:{initGallery:function(){var t=e.st.gallery,i=".mfp-gallery";if(e.direction=!0,!t||!t.enabled)return!1;r+=" mfp-gallery",b(u+i,(function(){t.navigateByImgClick&&e.wrap.on("click"+i,".mfp-img",(function(){if(e.items.length>1)return e.next(),!1})),n.on("keydown"+i,(function(t){37===t.keyCode?e.prev():39===t.keyCode&&e.next()}))})),b("UpdateStatus"+i,(function(t,n){n.text&&(n.text=q(n.text,e.currItem.index,e.items.length))})),b(l+i,(function(n,i,r,s){var o=e.items.length;r.counter=o>1?q(t.tCounter,s.index,o):""})),b("BuildControls"+i,(function(){if(e.items.length>1&&t.arrows&&!e.arrowLeft){var n=t.arrowMarkup,i=e.arrowLeft=$(n.replace(/%title%/gi,t.tPrev).replace(/%dir%/gi,"left")).addClass(m),r=e.arrowRight=$(n.replace(/%title%/gi,t.tNext).replace(/%dir%/gi,"right")).addClass(m);i.click((function(){e.prev()})),r.click((function(){e.next()})),e.container.append(i.add(r))}})),b(c+i,(function(){e._preloadTimeout&&clearTimeout(e._preloadTimeout),e._preloadTimeout=setTimeout((function(){e.preloadNearbyImages(),e._preloadTimeout=null}),16)})),b(o+i,(function(){n.off(i),e.wrap.off("click"+i),e.arrowRight=e.arrowLeft=null}))},next:function(){e.direction=!0,e.index=H(e.index+1),e.updateItemHTML()},prev:function(){e.direction=!1,e.index=H(e.index-1),e.updateItemHTML()},goTo:function(t){e.direction=t>=e.index,e.index=t,e.updateItemHTML()},preloadNearbyImages:function(){var t,n=e.st.gallery.preload,i=Math.min(n[0],e.items.length),r=Math.min(n[1],e.items.length);for(t=1;t<=(e.direction?r:i);t++)e._preloadItem(e.index+t);for(t=1;t<=(e.direction?i:r);t++)e._preloadItem(e.index-t)},_preloadItem:function(t){if(t=H(t),!e.items[t].preloaded){var n=e.items[t];n.parsed||(n=e.parseEl(t)),x("LazyLoad",n),"image"===n.type&&(n.img=$('<img class="mfp-img" />').on("load.mfploader",(function(){n.hasSize=!0})).on("error.mfploader",(function(){n.hasSize=!0,n.loadError=!0,x("LazyLoadError",n)})).attr("src",n.src)),n.preloaded=!0}}}});var B="retina";$.magnificPopup.registerModule(B,{options:{replaceSrc:function(e){return e.src.replace(/\.\w+$/,(function(e){return"@2x"+e}))},ratio:1},proto:{initRetina:function(){if(window.devicePixelRatio>1){var t=e.st.retina,n=t.ratio;(n=isNaN(n)?n():n)>1&&(b("ImageHasSize.retina",(function(e,t){t.img.css({"max-width":t.img[0].naturalWidth/n,width:"100%"})})),b("ElementParse.retina",(function(e,i){i.src=t.replaceSrc(i,n)})))}}}}),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.