mappe per georeferenziazione
Non puoi selezionare più di 25 argomenti Gli argomenti devono iniziare con una lettera o un numero, possono includere trattini ('-') e possono essere lunghi fino a 35 caratteri.
 
 
 
 

8 righe
335 KiB

/**
* Bootstrap Italia è un tema Bootstrap 4 per la creazione di applicazioni web nel pieno rispetto delle Linee guida di design per i servizi web della PA
* @version v1.0.0
* @link https://italia.github.io/bootstrap-italia/
* @license BSD-3-Clause
*/
function _defineProperties(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function _createClass2(t,e,i){return e&&_defineProperties(t.prototype,e),i&&_defineProperties(t,i),t}function showCapsLockMsg(t){$(".password-caps").remove(),t.parents(".form-group").append('<small class="password-caps form-text text-warning position-absolute bg-white w-100">CAPS LOCK inserito</small>')}!function(t,e){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=t.document?e(t,!0):function(t){if(!t.document)throw new Error("jQuery requires a window with a document");return e(t)}:e(t)}("undefined"!=typeof window?window:this,function(C,t){"use strict";var e=[],k=C.document,n=Object.getPrototypeOf,a=e.slice,m=e.concat,l=e.push,s=e.indexOf,i={},r=i.toString,g=i.hasOwnProperty,o=g.toString,c=o.call(Object),v={},y=function(t){return"function"==typeof t&&"number"!=typeof t.nodeType},b=function(t){return null!=t&&t===t.window},h={type:!0,src:!0,noModule:!0};function w(t,e,i){var n,s=(e=e||k).createElement("script");if(s.text=t,i)for(n in h)i[n]&&(s[n]=i[n]);e.head.appendChild(s).parentNode.removeChild(s)}function _(t){return null==t?t+"":"object"==typeof t||"function"==typeof t?i[r.call(t)]||"object":typeof t}var d="3.3.1",E=function t(e,i){return new t.fn.init(e,i)},u=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g;function p(t){var e=!!t&&"length"in t&&t.length,i=_(t);return!y(t)&&!b(t)&&("array"===i||0===e||"number"==typeof e&&0<e&&e-1 in t)}E.fn=E.prototype={jquery:d,constructor:E,length:0,toArray:function(){return a.call(this)},get:function(t){return null==t?a.call(this):t<0?this[t+this.length]:this[t]},pushStack:function(t){var e=E.merge(this.constructor(),t);return e.prevObject=this,e},each:function(t){return E.each(this,t)},map:function(i){return this.pushStack(E.map(this,function(t,e){return i.call(t,e,t)}))},slice:function(){return this.pushStack(a.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(t){var e=this.length,i=+t+(t<0?e:0);return this.pushStack(0<=i&&i<e?[this[i]]:[])},end:function(){return this.prevObject||this.constructor()},push:l,sort:e.sort,splice:e.splice},E.extend=E.fn.extend=function(){var t,e,i,n,s,r,o=arguments[0]||{},a=1,l=arguments.length,c=!1;for("boolean"==typeof o&&(c=o,o=arguments[a]||{},a++),"object"==typeof o||y(o)||(o={}),a===l&&(o=this,a--);a<l;a++)if(null!=(t=arguments[a]))for(e in t)i=o[e],o!==(n=t[e])&&(c&&n&&(E.isPlainObject(n)||(s=Array.isArray(n)))?(r=s?(s=!1,i&&Array.isArray(i)?i:[]):i&&E.isPlainObject(i)?i:{},o[e]=E.extend(c,r,n)):void 0!==n&&(o[e]=n));return o},E.extend({expando:"jQuery"+(d+Math.random()).replace(/\D/g,""),isReady:!0,error:function(t){throw new Error(t)},noop:function(){},isPlainObject:function(t){var e,i;return!(!t||"[object Object]"!==r.call(t))&&(!(e=n(t))||"function"==typeof(i=g.call(e,"constructor")&&e.constructor)&&o.call(i)===c)},isEmptyObject:function(t){var e;for(e in t)return!1;return!0},globalEval:function(t){w(t)},each:function(t,e){var i,n=0;if(p(t))for(i=t.length;n<i&&!1!==e.call(t[n],n,t[n]);n++);else for(n in t)if(!1===e.call(t[n],n,t[n]))break;return t},trim:function(t){return null==t?"":(t+"").replace(u,"")},makeArray:function(t,e){var i=e||[];return null!=t&&(p(Object(t))?E.merge(i,"string"==typeof t?[t]:t):l.call(i,t)),i},inArray:function(t,e,i){return null==e?-1:s.call(e,t,i)},merge:function(t,e){for(var i=+e.length,n=0,s=t.length;n<i;n++)t[s++]=e[n];return t.length=s,t},grep:function(t,e,i){for(var n=[],s=0,r=t.length,o=!i;s<r;s++)!e(t[s],s)!==o&&n.push(t[s]);return n},map:function(t,e,i){var n,s,r=0,o=[];if(p(t))for(n=t.length;r<n;r++)null!=(s=e(t[r],r,i))&&o.push(s);else for(r in t)null!=(s=e(t[r],r,i))&&o.push(s);return m.apply([],o)},guid:1,support:v}),"function"==typeof Symbol&&(E.fn[Symbol.iterator]=e[Symbol.iterator]),E.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(t,e){i["[object "+e+"]"]=e.toLowerCase()});var f=function(i){var t,p,w,r,s,f,d,m,_,l,c,x,C,o,k,g,a,h,v,E="sizzle"+1*new Date,y=i.document,$=0,n=0,u=ot(),b=ot(),D=ot(),T=function(t,e){return t===e&&(c=!0),0},I={}.hasOwnProperty,e=[],S=e.pop,A=e.push,O=e.push,L=e.slice,N=function(t,e){for(var i=0,n=t.length;i<n;i++)if(t[i]===e)return i;return-1},M="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",P="[\\x20\\t\\r\\n\\f]",j="(?:\\\\.|[\\w-]|[^\0-\\xa0])+",H="\\["+P+"*("+j+")(?:"+P+"*([*^$|!~]?=)"+P+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+j+"))|)"+P+"*\\]",R=":("+j+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+H+")*)|.*)\\)|)",B=new RegExp(P+"+","g"),z=new RegExp("^"+P+"+|((?:^|[^\\\\])(?:\\\\.)*)"+P+"+$","g"),F=new RegExp("^"+P+"*,"+P+"*"),W=new RegExp("^"+P+"*([>+~]|"+P+")"+P+"*"),q=new RegExp("="+P+"*([^\\]'\"]*?)"+P+"*\\]","g"),Y=new RegExp(R),U=new RegExp("^"+j+"$"),K={ID:new RegExp("^#("+j+")"),CLASS:new RegExp("^\\.("+j+")"),TAG:new RegExp("^("+j+"|[*])"),ATTR:new RegExp("^"+H),PSEUDO:new RegExp("^"+R),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+P+"*(even|odd|(([+-]|)(\\d*)n|)"+P+"*(?:([+-]|)"+P+"*(\\d+)|))"+P+"*\\)|)","i"),bool:new RegExp("^(?:"+M+")$","i"),needsContext:new RegExp("^"+P+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+P+"*((?:-\\d)?\\d*)"+P+"*\\)|)(?=[^-]|$)","i")},V=/^(?:input|select|textarea|button)$/i,G=/^h\d$/i,Q=/^[^{]+\{\s*\[native \w/,X=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,Z=/[+~]/,J=new RegExp("\\\\([\\da-f]{1,6}"+P+"?|("+P+")|.)","ig"),tt=function(t,e,i){var n="0x"+e-65536;return n!=n||i?e:n<0?String.fromCharCode(n+65536):String.fromCharCode(n>>10|55296,1023&n|56320)},et=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,it=function(t,e){return e?"\0"===t?"<EFBFBD>":t.slice(0,-1)+"\\"+t.charCodeAt(t.length-1).toString(16)+" ":"\\"+t},nt=function(){x()},st=yt(function(t){return!0===t.disabled&&("form"in t||"label"in t)},{dir:"parentNode",next:"legend"});try{O.apply(e=L.call(y.childNodes),y.childNodes),e[y.childNodes.length].nodeType}catch(t){O={apply:e.length?function(t,e){A.apply(t,L.call(e))}:function(t,e){for(var i=t.length,n=0;t[i++]=e[n++];);t.length=i-1}}}function rt(t,e,i,n){var s,r,o,a,l,c,h,d=e&&e.ownerDocument,u=e?e.nodeType:9;if(i=i||[],"string"!=typeof t||!t||1!==u&&9!==u&&11!==u)return i;if(!n&&((e?e.ownerDocument||e:y)!==C&&x(e),e=e||C,k)){if(11!==u&&(l=X.exec(t)))if(s=l[1]){if(9===u){if(!(o=e.getElementById(s)))return i;if(o.id===s)return i.push(o),i}else if(d&&(o=d.getElementById(s))&&v(e,o)&&o.id===s)return i.push(o),i}else{if(l[2])return O.apply(i,e.getElementsByTagName(t)),i;if((s=l[3])&&p.getElementsByClassName&&e.getElementsByClassName)return O.apply(i,e.getElementsByClassName(s)),i}if(p.qsa&&!D[t+" "]&&(!g||!g.test(t))){if(1!==u)d=e,h=t;else if("object"!==e.nodeName.toLowerCase()){for((a=e.getAttribute("id"))?a=a.replace(et,it):e.setAttribute("id",a=E),r=(c=f(t)).length;r--;)c[r]="#"+a+" "+vt(c[r]);h=c.join(","),d=Z.test(t)&&mt(e.parentNode)||e}if(h)try{return O.apply(i,d.querySelectorAll(h)),i}catch(t){}finally{a===E&&e.removeAttribute("id")}}}return m(t.replace(z,"$1"),e,i,n)}function ot(){var n=[];return function t(e,i){return n.push(e+" ")>w.cacheLength&&delete t[n.shift()],t[e+" "]=i}}function at(t){return t[E]=!0,t}function lt(t){var e=C.createElement("fieldset");try{return!!t(e)}catch(t){return!1}finally{e.parentNode&&e.parentNode.removeChild(e),e=null}}function ct(t,e){for(var i=t.split("|"),n=i.length;n--;)w.attrHandle[i[n]]=e}function ht(t,e){var i=e&&t,n=i&&1===t.nodeType&&1===e.nodeType&&t.sourceIndex-e.sourceIndex;if(n)return n;if(i)for(;i=i.nextSibling;)if(i===e)return-1;return t?1:-1}function dt(e){return function(t){return"input"===t.nodeName.toLowerCase()&&t.type===e}}function ut(i){return function(t){var e=t.nodeName.toLowerCase();return("input"===e||"button"===e)&&t.type===i}}function pt(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&&st(t)===e:t.disabled===e:"label"in t&&t.disabled===e}}function ft(o){return at(function(r){return r=+r,at(function(t,e){for(var i,n=o([],t.length,r),s=n.length;s--;)t[i=n[s]]&&(t[i]=!(e[i]=t[i]))})})}function mt(t){return t&&void 0!==t.getElementsByTagName&&t}for(t in p=rt.support={},s=rt.isXML=function(t){var e=t&&(t.ownerDocument||t).documentElement;return!!e&&"HTML"!==e.nodeName},x=rt.setDocument=function(t){var e,i,n=t?t.ownerDocument||t:y;return n!==C&&9===n.nodeType&&n.documentElement&&(o=(C=n).documentElement,k=!s(C),y!==C&&(i=C.defaultView)&&i.top!==i&&(i.addEventListener?i.addEventListener("unload",nt,!1):i.attachEvent&&i.attachEvent("onunload",nt)),p.attributes=lt(function(t){return t.className="i",!t.getAttribute("className")}),p.getElementsByTagName=lt(function(t){return t.appendChild(C.createComment("")),!t.getElementsByTagName("*").length}),p.getElementsByClassName=Q.test(C.getElementsByClassName),p.getById=lt(function(t){return o.appendChild(t).id=E,!C.getElementsByName||!C.getElementsByName(E).length}),p.getById?(w.filter.ID=function(t){var e=t.replace(J,tt);return function(t){return t.getAttribute("id")===e}},w.find.ID=function(t,e){if(void 0!==e.getElementById&&k){var i=e.getElementById(t);return i?[i]:[]}}):(w.filter.ID=function(t){var i=t.replace(J,tt);return function(t){var e=void 0!==t.getAttributeNode&&t.getAttributeNode("id");return e&&e.value===i}},w.find.ID=function(t,e){if(void 0!==e.getElementById&&k){var i,n,s,r=e.getElementById(t);if(r){if((i=r.getAttributeNode("id"))&&i.value===t)return[r];for(s=e.getElementsByName(t),n=0;r=s[n++];)if((i=r.getAttributeNode("id"))&&i.value===t)return[r]}return[]}}),w.find.TAG=p.getElementsByTagName?function(t,e){return void 0!==e.getElementsByTagName?e.getElementsByTagName(t):p.qsa?e.querySelectorAll(t):void 0}:function(t,e){var i,n=[],s=0,r=e.getElementsByTagName(t);if("*"!==t)return r;for(;i=r[s++];)1===i.nodeType&&n.push(i);return n},w.find.CLASS=p.getElementsByClassName&&function(t,e){if(void 0!==e.getElementsByClassName&&k)return e.getElementsByClassName(t)},a=[],g=[],(p.qsa=Q.test(C.querySelectorAll))&&(lt(function(t){o.appendChild(t).innerHTML="<a id='"+E+"'></a><select id='"+E+"-\r\\' msallowcapture=''><option selected=''></option></select>",t.querySelectorAll("[msallowcapture^='']").length&&g.push("[*^$]="+P+"*(?:''|\"\")"),t.querySelectorAll("[selected]").length||g.push("\\["+P+"*(?:value|"+M+")"),t.querySelectorAll("[id~="+E+"-]").length||g.push("~="),t.querySelectorAll(":checked").length||g.push(":checked"),t.querySelectorAll("a#"+E+"+*").length||g.push(".#.+[+~]")}),lt(function(t){t.innerHTML="<a href='' disabled='disabled'></a><select disabled='disabled'><option/></select>";var e=C.createElement("input");e.setAttribute("type","hidden"),t.appendChild(e).setAttribute("name","D"),t.querySelectorAll("[name=d]").length&&g.push("name"+P+"*[*^$|!~]?="),2!==t.querySelectorAll(":enabled").length&&g.push(":enabled",":disabled"),o.appendChild(t).disabled=!0,2!==t.querySelectorAll(":disabled").length&&g.push(":enabled",":disabled"),t.querySelectorAll("*,:x"),g.push(",.*:")})),(p.matchesSelector=Q.test(h=o.matches||o.webkitMatchesSelector||o.mozMatchesSelector||o.oMatchesSelector||o.msMatchesSelector))&&lt(function(t){p.disconnectedMatch=h.call(t,"*"),h.call(t,"[s!='']:x"),a.push("!=",R)}),g=g.length&&new RegExp(g.join("|")),a=a.length&&new RegExp(a.join("|")),e=Q.test(o.compareDocumentPosition),v=e||Q.test(o.contains)?function(t,e){var i=9===t.nodeType?t.documentElement:t,n=e&&e.parentNode;return t===n||!(!n||1!==n.nodeType||!(i.contains?i.contains(n):t.compareDocumentPosition&&16&t.compareDocumentPosition(n)))}:function(t,e){if(e)for(;e=e.parentNode;)if(e===t)return!0;return!1},T=e?function(t,e){if(t===e)return c=!0,0;var i=!t.compareDocumentPosition-!e.compareDocumentPosition;return i||(1&(i=(t.ownerDocument||t)===(e.ownerDocument||e)?t.compareDocumentPosition(e):1)||!p.sortDetached&&e.compareDocumentPosition(t)===i?t===C||t.ownerDocument===y&&v(y,t)?-1:e===C||e.ownerDocument===y&&v(y,e)?1:l?N(l,t)-N(l,e):0:4&i?-1:1)}:function(t,e){if(t===e)return c=!0,0;var i,n=0,s=t.parentNode,r=e.parentNode,o=[t],a=[e];if(!s||!r)return t===C?-1:e===C?1:s?-1:r?1:l?N(l,t)-N(l,e):0;if(s===r)return ht(t,e);for(i=t;i=i.parentNode;)o.unshift(i);for(i=e;i=i.parentNode;)a.unshift(i);for(;o[n]===a[n];)n++;return n?ht(o[n],a[n]):o[n]===y?-1:a[n]===y?1:0}),C},rt.matches=function(t,e){return rt(t,null,null,e)},rt.matchesSelector=function(t,e){if((t.ownerDocument||t)!==C&&x(t),e=e.replace(q,"='$1']"),p.matchesSelector&&k&&!D[e+" "]&&(!a||!a.test(e))&&(!g||!g.test(e)))try{var i=h.call(t,e);if(i||p.disconnectedMatch||t.document&&11!==t.document.nodeType)return i}catch(t){}return 0<rt(e,C,null,[t]).length},rt.contains=function(t,e){return(t.ownerDocument||t)!==C&&x(t),v(t,e)},rt.attr=function(t,e){(t.ownerDocument||t)!==C&&x(t);var i=w.attrHandle[e.toLowerCase()],n=i&&I.call(w.attrHandle,e.toLowerCase())?i(t,e,!k):void 0;return void 0!==n?n:p.attributes||!k?t.getAttribute(e):(n=t.getAttributeNode(e))&&n.specified?n.value:null},rt.escape=function(t){return(t+"").replace(et,it)},rt.error=function(t){throw new Error("Syntax error, unrecognized expression: "+t)},rt.uniqueSort=function(t){var e,i=[],n=0,s=0;if(c=!p.detectDuplicates,l=!p.sortStable&&t.slice(0),t.sort(T),c){for(;e=t[s++];)e===t[s]&&(n=i.push(s));for(;n--;)t.splice(i[n],1)}return l=null,t},r=rt.getText=function(t){var e,i="",n=0,s=t.nodeType;if(s){if(1===s||9===s||11===s){if("string"==typeof t.textContent)return t.textContent;for(t=t.firstChild;t;t=t.nextSibling)i+=r(t)}else if(3===s||4===s)return t.nodeValue}else for(;e=t[n++];)i+=r(e);return i},(w=rt.selectors={cacheLength:50,createPseudo:at,match:K,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(t){return t[1]=t[1].replace(J,tt),t[3]=(t[3]||t[4]||t[5]||"").replace(J,tt),"~="===t[2]&&(t[3]=" "+t[3]+" "),t.slice(0,4)},CHILD:function(t){return t[1]=t[1].toLowerCase(),"nth"===t[1].slice(0,3)?(t[3]||rt.error(t[0]),t[4]=+(t[4]?t[5]+(t[6]||1):2*("even"===t[3]||"odd"===t[3])),t[5]=+(t[7]+t[8]||"odd"===t[3])):t[3]&&rt.error(t[0]),t},PSEUDO:function(t){var e,i=!t[6]&&t[2];return K.CHILD.test(t[0])?null:(t[3]?t[2]=t[4]||t[5]||"":i&&Y.test(i)&&(e=f(i,!0))&&(e=i.indexOf(")",i.length-e)-i.length)&&(t[0]=t[0].slice(0,e),t[2]=i.slice(0,e)),t.slice(0,3))}},filter:{TAG:function(t){var e=t.replace(J,tt).toLowerCase();return"*"===t?function(){return!0}:function(t){return t.nodeName&&t.nodeName.toLowerCase()===e}},CLASS:function(t){var e=u[t+" "];return e||(e=new RegExp("(^|"+P+")"+t+"("+P+"|$)"))&&u(t,function(t){return e.test("string"==typeof t.className&&t.className||void 0!==t.getAttribute&&t.getAttribute("class")||"")})},ATTR:function(i,n,s){return function(t){var e=rt.attr(t,i);return null==e?"!="===n:!n||(e+="","="===n?e===s:"!="===n?e!==s:"^="===n?s&&0===e.indexOf(s):"*="===n?s&&-1<e.indexOf(s):"$="===n?s&&e.slice(-s.length)===s:"~="===n?-1<(" "+e.replace(B," ")+" ").indexOf(s):"|="===n&&(e===s||e.slice(0,s.length+1)===s+"-"))}},CHILD:function(f,t,e,m,g){var v="nth"!==f.slice(0,3),y="last"!==f.slice(-4),b="of-type"===t;return 1===m&&0===g?function(t){return!!t.parentNode}:function(t,e,i){var n,s,r,o,a,l,c=v!==y?"nextSibling":"previousSibling",h=t.parentNode,d=b&&t.nodeName.toLowerCase(),u=!i&&!b,p=!1;if(h){if(v){for(;c;){for(o=t;o=o[c];)if(b?o.nodeName.toLowerCase()===d:1===o.nodeType)return!1;l=c="only"===f&&!l&&"nextSibling"}return!0}if(l=[y?h.firstChild:h.lastChild],y&&u){for(p=(a=(n=(s=(r=(o=h)[E]||(o[E]={}))[o.uniqueID]||(r[o.uniqueID]={}))[f]||[])[0]===$&&n[1])&&n[2],o=a&&h.childNodes[a];o=++a&&o&&o[c]||(p=a=0)||l.pop();)if(1===o.nodeType&&++p&&o===t){s[f]=[$,a,p];break}}else if(u&&(p=a=(n=(s=(r=(o=t)[E]||(o[E]={}))[o.uniqueID]||(r[o.uniqueID]={}))[f]||[])[0]===$&&n[1]),!1===p)for(;(o=++a&&o&&o[c]||(p=a=0)||l.pop())&&((b?o.nodeName.toLowerCase()!==d:1!==o.nodeType)||!++p||(u&&((s=(r=o[E]||(o[E]={}))[o.uniqueID]||(r[o.uniqueID]={}))[f]=[$,p]),o!==t)););return(p-=g)===m||p%m==0&&0<=p/m}}},PSEUDO:function(t,r){var e,o=w.pseudos[t]||w.setFilters[t.toLowerCase()]||rt.error("unsupported pseudo: "+t);return o[E]?o(r):1<o.length?(e=[t,t,"",r],w.setFilters.hasOwnProperty(t.toLowerCase())?at(function(t,e){for(var i,n=o(t,r),s=n.length;s--;)t[i=N(t,n[s])]=!(e[i]=n[s])}):function(t){return o(t,0,e)}):o}},pseudos:{not:at(function(t){var n=[],s=[],a=d(t.replace(z,"$1"));return a[E]?at(function(t,e,i,n){for(var s,r=a(t,null,n,[]),o=t.length;o--;)(s=r[o])&&(t[o]=!(e[o]=s))}):function(t,e,i){return n[0]=t,a(n,null,i,s),n[0]=null,!s.pop()}}),has:at(function(e){return function(t){return 0<rt(e,t).length}}),contains:at(function(e){return e=e.replace(J,tt),function(t){return-1<(t.textContent||t.innerText||r(t)).indexOf(e)}}),lang:at(function(i){return U.test(i||"")||rt.error("unsupported lang: "+i),i=i.replace(J,tt).toLowerCase(),function(t){var e;do{if(e=k?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang"))return(e=e.toLowerCase())===i||0===e.indexOf(i+"-")}while((t=t.parentNode)&&1===t.nodeType);return!1}}),target:function(t){var e=i.location&&i.location.hash;return e&&e.slice(1)===t.id},root:function(t){return t===o},focus:function(t){return t===C.activeElement&&(!C.hasFocus||C.hasFocus())&&!!(t.type||t.href||~t.tabIndex)},enabled:pt(!1),disabled:pt(!0),checked:function(t){var e=t.nodeName.toLowerCase();return"input"===e&&!!t.checked||"option"===e&&!!t.selected},selected:function(t){return t.parentNode&&t.parentNode.selectedIndex,!0===t.selected},empty:function(t){for(t=t.firstChild;t;t=t.nextSibling)if(t.nodeType<6)return!1;return!0},parent:function(t){return!w.pseudos.empty(t)},header:function(t){return G.test(t.nodeName)},input:function(t){return V.test(t.nodeName)},button:function(t){var e=t.nodeName.toLowerCase();return"input"===e&&"button"===t.type||"button"===e},text:function(t){var e;return"input"===t.nodeName.toLowerCase()&&"text"===t.type&&(null==(e=t.getAttribute("type"))||"text"===e.toLowerCase())},first:ft(function(){return[0]}),last:ft(function(t,e){return[e-1]}),eq:ft(function(t,e,i){return[i<0?i+e:i]}),even:ft(function(t,e){for(var i=0;i<e;i+=2)t.push(i);return t}),odd:ft(function(t,e){for(var i=1;i<e;i+=2)t.push(i);return t}),lt:ft(function(t,e,i){for(var n=i<0?i+e:i;0<=--n;)t.push(n);return t}),gt:ft(function(t,e,i){for(var n=i<0?i+e:i;++n<e;)t.push(n);return t})}}).pseudos.nth=w.pseudos.eq,{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})w.pseudos[t]=dt(t);for(t in{submit:!0,reset:!0})w.pseudos[t]=ut(t);function gt(){}function vt(t){for(var e=0,i=t.length,n="";e<i;e++)n+=t[e].value;return n}function yt(a,t,e){var l=t.dir,c=t.next,h=c||l,d=e&&"parentNode"===h,u=n++;return t.first?function(t,e,i){for(;t=t[l];)if(1===t.nodeType||d)return a(t,e,i);return!1}:function(t,e,i){var n,s,r,o=[$,u];if(i){for(;t=t[l];)if((1===t.nodeType||d)&&a(t,e,i))return!0}else for(;t=t[l];)if(1===t.nodeType||d)if(s=(r=t[E]||(t[E]={}))[t.uniqueID]||(r[t.uniqueID]={}),c&&c===t.nodeName.toLowerCase())t=t[l]||t;else{if((n=s[h])&&n[0]===$&&n[1]===u)return o[2]=n[2];if((s[h]=o)[2]=a(t,e,i))return!0}return!1}}function bt(s){return 1<s.length?function(t,e,i){for(var n=s.length;n--;)if(!s[n](t,e,i))return!1;return!0}:s[0]}function wt(t,e,i,n,s){for(var r,o=[],a=0,l=t.length,c=null!=e;a<l;a++)(r=t[a])&&(i&&!i(r,n,s)||(o.push(r),c&&e.push(a)));return o}function _t(p,f,m,g,v,t){return g&&!g[E]&&(g=_t(g)),v&&!v[E]&&(v=_t(v,t)),at(function(t,e,i,n){var s,r,o,a=[],l=[],c=e.length,h=t||function(t,e,i){for(var n=0,s=e.length;n<s;n++)rt(t,e[n],i);return i}(f||"*",i.nodeType?[i]:i,[]),d=!p||!t&&f?h:wt(h,a,p,i,n),u=m?v||(t?p:c||g)?[]:e:d;if(m&&m(d,u,i,n),g)for(s=wt(u,l),g(s,[],i,n),r=s.length;r--;)(o=s[r])&&(u[l[r]]=!(d[l[r]]=o));if(t){if(v||p){if(v){for(s=[],r=u.length;r--;)(o=u[r])&&s.push(d[r]=o);v(null,u=[],s,n)}for(r=u.length;r--;)(o=u[r])&&-1<(s=v?N(t,o):a[r])&&(t[s]=!(e[s]=o))}}else u=wt(u===e?u.splice(c,u.length):u),v?v(null,e,u,n):O.apply(e,u)})}function xt(t){for(var s,e,i,n=t.length,r=w.relative[t[0].type],o=r||w.relative[" "],a=r?1:0,l=yt(function(t){return t===s},o,!0),c=yt(function(t){return-1<N(s,t)},o,!0),h=[function(t,e,i){var n=!r&&(i||e!==_)||((s=e).nodeType?l(t,e,i):c(t,e,i));return s=null,n}];a<n;a++)if(e=w.relative[t[a].type])h=[yt(bt(h),e)];else{if((e=w.filter[t[a].type].apply(null,t[a].matches))[E]){for(i=++a;i<n&&!w.relative[t[i].type];i++);return _t(1<a&&bt(h),1<a&&vt(t.slice(0,a-1).concat({value:" "===t[a-2].type?"*":""})).replace(z,"$1"),e,a<i&&xt(t.slice(a,i)),i<n&&xt(t=t.slice(i)),i<n&&vt(t))}h.push(e)}return bt(h)}return gt.prototype=w.filters=w.pseudos,w.setFilters=new gt,f=rt.tokenize=function(t,e){var i,n,s,r,o,a,l,c=b[t+" "];if(c)return e?0:c.slice(0);for(o=t,a=[],l=w.preFilter;o;){for(r in i&&!(n=F.exec(o))||(n&&(o=o.slice(n[0].length)||o),a.push(s=[])),i=!1,(n=W.exec(o))&&(i=n.shift(),s.push({value:i,type:n[0].replace(z," ")}),o=o.slice(i.length)),w.filter)!(n=K[r].exec(o))||l[r]&&!(n=l[r](n))||(i=n.shift(),s.push({value:i,type:r,matches:n}),o=o.slice(i.length));if(!i)break}return e?o.length:o?rt.error(t):b(t,a).slice(0)},d=rt.compile=function(t,e){var i,g,v,y,b,n,s=[],r=[],o=D[t+" "];if(!o){for(e||(e=f(t)),i=e.length;i--;)(o=xt(e[i]))[E]?s.push(o):r.push(o);(o=D(t,(g=r,y=0<(v=s).length,b=0<g.length,n=function(t,e,i,n,s){var r,o,a,l=0,c="0",h=t&&[],d=[],u=_,p=t||b&&w.find.TAG("*",s),f=$+=null==u?1:Math.random()||.1,m=p.length;for(s&&(_=e===C||e||s);c!==m&&null!=(r=p[c]);c++){if(b&&r){for(o=0,e||r.ownerDocument===C||(x(r),i=!k);a=g[o++];)if(a(r,e||C,i)){n.push(r);break}s&&($=f)}y&&((r=!a&&r)&&l--,t&&h.push(r))}if(l+=c,y&&c!==l){for(o=0;a=v[o++];)a(h,d,e,i);if(t){if(0<l)for(;c--;)h[c]||d[c]||(d[c]=S.call(n));d=wt(d)}O.apply(n,d),s&&!t&&0<d.length&&1<l+v.length&&rt.uniqueSort(n)}return s&&($=f,_=u),h},y?at(n):n))).selector=t}return o},m=rt.select=function(t,e,i,n){var s,r,o,a,l,c="function"==typeof t&&t,h=!n&&f(t=c.selector||t);if(i=i||[],1===h.length){if(2<(r=h[0]=h[0].slice(0)).length&&"ID"===(o=r[0]).type&&9===e.nodeType&&k&&w.relative[r[1].type]){if(!(e=(w.find.ID(o.matches[0].replace(J,tt),e)||[])[0]))return i;c&&(e=e.parentNode),t=t.slice(r.shift().value.length)}for(s=K.needsContext.test(t)?0:r.length;s--&&(o=r[s],!w.relative[a=o.type]);)if((l=w.find[a])&&(n=l(o.matches[0].replace(J,tt),Z.test(r[0].type)&&mt(e.parentNode)||e))){if(r.splice(s,1),!(t=n.length&&vt(r)))return O.apply(i,n),i;break}}return(c||d(t,h))(n,e,!k,i,!e||Z.test(t)&&mt(e.parentNode)||e),i},p.sortStable=E.split("").sort(T).join("")===E,p.detectDuplicates=!!c,x(),p.sortDetached=lt(function(t){return 1&t.compareDocumentPosition(C.createElement("fieldset"))}),lt(function(t){return t.innerHTML="<a href='#'></a>","#"===t.firstChild.getAttribute("href")})||ct("type|href|height|width",function(t,e,i){if(!i)return t.getAttribute(e,"type"===e.toLowerCase()?1:2)}),p.attributes&&lt(function(t){return t.innerHTML="<input/>",t.firstChild.setAttribute("value",""),""===t.firstChild.getAttribute("value")})||ct("value",function(t,e,i){if(!i&&"input"===t.nodeName.toLowerCase())return t.defaultValue}),lt(function(t){return null==t.getAttribute("disabled")})||ct(M,function(t,e,i){var n;if(!i)return!0===t[e]?e.toLowerCase():(n=t.getAttributeNode(e))&&n.specified?n.value:null}),rt}(C);E.find=f,E.expr=f.selectors,E.expr[":"]=E.expr.pseudos,E.uniqueSort=E.unique=f.uniqueSort,E.text=f.getText,E.isXMLDoc=f.isXML,E.contains=f.contains,E.escapeSelector=f.escape;var x=function(t,e,i){for(var n=[],s=void 0!==i;(t=t[e])&&9!==t.nodeType;)if(1===t.nodeType){if(s&&E(t).is(i))break;n.push(t)}return n},$=function(t,e){for(var i=[];t;t=t.nextSibling)1===t.nodeType&&t!==e&&i.push(t);return i},D=E.expr.match.needsContext;function T(t,e){return t.nodeName&&t.nodeName.toLowerCase()===e.toLowerCase()}var I=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function S(t,i,n){return y(i)?E.grep(t,function(t,e){return!!i.call(t,e,t)!==n}):i.nodeType?E.grep(t,function(t){return t===i!==n}):"string"!=typeof i?E.grep(t,function(t){return-1<s.call(i,t)!==n}):E.filter(i,t,n)}E.filter=function(t,e,i){var n=e[0];return i&&(t=":not("+t+")"),1===e.length&&1===n.nodeType?E.find.matchesSelector(n,t)?[n]:[]:E.find.matches(t,E.grep(e,function(t){return 1===t.nodeType}))},E.fn.extend({find:function(t){var e,i,n=this.length,s=this;if("string"!=typeof t)return this.pushStack(E(t).filter(function(){for(e=0;e<n;e++)if(E.contains(s[e],this))return!0}));for(i=this.pushStack([]),e=0;e<n;e++)E.find(t,s[e],i);return 1<n?E.uniqueSort(i):i},filter:function(t){return this.pushStack(S(this,t||[],!1))},not:function(t){return this.pushStack(S(this,t||[],!0))},is:function(t){return!!S(this,"string"==typeof t&&D.test(t)?E(t):t||[],!1).length}});var A,O=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(E.fn.init=function(t,e,i){var n,s;if(!t)return this;if(i=i||A,"string"!=typeof t)return t.nodeType?(this[0]=t,this.length=1,this):y(t)?void 0!==i.ready?i.ready(t):t(E):E.makeArray(t,this);if(!(n="<"===t[0]&&">"===t[t.length-1]&&3<=t.length?[null,t,null]:O.exec(t))||!n[1]&&e)return!e||e.jquery?(e||i).find(t):this.constructor(e).find(t);if(n[1]){if(e=e instanceof E?e[0]:e,E.merge(this,E.parseHTML(n[1],e&&e.nodeType?e.ownerDocument||e:k,!0)),I.test(n[1])&&E.isPlainObject(e))for(n in e)y(this[n])?this[n](e[n]):this.attr(n,e[n]);return this}return(s=k.getElementById(n[2]))&&(this[0]=s,this.length=1),this}).prototype=E.fn,A=E(k);var L=/^(?:parents|prev(?:Until|All))/,N={children:!0,contents:!0,next:!0,prev:!0};function M(t,e){for(;(t=t[e])&&1!==t.nodeType;);return t}E.fn.extend({has:function(t){var e=E(t,this),i=e.length;return this.filter(function(){for(var t=0;t<i;t++)if(E.contains(this,e[t]))return!0})},closest:function(t,e){var i,n=0,s=this.length,r=[],o="string"!=typeof t&&E(t);if(!D.test(t))for(;n<s;n++)for(i=this[n];i&&i!==e;i=i.parentNode)if(i.nodeType<11&&(o?-1<o.index(i):1===i.nodeType&&E.find.matchesSelector(i,t))){r.push(i);break}return this.pushStack(1<r.length?E.uniqueSort(r):r)},index:function(t){return t?"string"==typeof t?s.call(E(t),this[0]):s.call(this,t.jquery?t[0]:t):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(t,e){return this.pushStack(E.uniqueSort(E.merge(this.get(),E(t,e))))},addBack:function(t){return this.add(null==t?this.prevObject:this.prevObject.filter(t))}}),E.each({parent:function(t){var e=t.parentNode;return e&&11!==e.nodeType?e:null},parents:function(t){return x(t,"parentNode")},parentsUntil:function(t,e,i){return x(t,"parentNode",i)},next:function(t){return M(t,"nextSibling")},prev:function(t){return M(t,"previousSibling")},nextAll:function(t){return x(t,"nextSibling")},prevAll:function(t){return x(t,"previousSibling")},nextUntil:function(t,e,i){return x(t,"nextSibling",i)},prevUntil:function(t,e,i){return x(t,"previousSibling",i)},siblings:function(t){return $((t.parentNode||{}).firstChild,t)},children:function(t){return $(t.firstChild)},contents:function(t){return T(t,"iframe")?t.contentDocument:(T(t,"template")&&(t=t.content||t),E.merge([],t.childNodes))}},function(n,s){E.fn[n]=function(t,e){var i=E.map(this,s,t);return"Until"!==n.slice(-5)&&(e=t),e&&"string"==typeof e&&(i=E.filter(e,i)),1<this.length&&(N[n]||E.uniqueSort(i),L.test(n)&&i.reverse()),this.pushStack(i)}});var P=/[^\x20\t\r\n\f]+/g;function j(t){return t}function H(t){throw t}function R(t,e,i,n){var s;try{t&&y(s=t.promise)?s.call(t).done(e).fail(i):t&&y(s=t.then)?s.call(t,e,i):e.apply(void 0,[t].slice(n))}catch(t){i.apply(void 0,[t])}}E.Callbacks=function(n){var t,i;n="string"==typeof n?(t=n,i={},E.each(t.match(P)||[],function(t,e){i[e]=!0}),i):E.extend({},n);var s,e,r,o,a=[],l=[],c=-1,h=function(){for(o=o||n.once,r=s=!0;l.length;c=-1)for(e=l.shift();++c<a.length;)!1===a[c].apply(e[0],e[1])&&n.stopOnFalse&&(c=a.length,e=!1);n.memory||(e=!1),s=!1,o&&(a=e?[]:"")},d={add:function(){return a&&(e&&!s&&(c=a.length-1,l.push(e)),function i(t){E.each(t,function(t,e){y(e)?n.unique&&d.has(e)||a.push(e):e&&e.length&&"string"!==_(e)&&i(e)})}(arguments),e&&!s&&h()),this},remove:function(){return E.each(arguments,function(t,e){for(var i;-1<(i=E.inArray(e,a,i));)a.splice(i,1),i<=c&&c--}),this},has:function(t){return t?-1<E.inArray(t,a):0<a.length},empty:function(){return a&&(a=[]),this},disable:function(){return o=l=[],a=e="",this},disabled:function(){return!a},lock:function(){return o=l=[],e||s||(a=e=""),this},locked:function(){return!!o},fireWith:function(t,e){return o||(e=[t,(e=e||[]).slice?e.slice():e],l.push(e),s||h()),this},fire:function(){return d.fireWith(this,arguments),this},fired:function(){return!!r}};return d},E.extend({Deferred:function(t){var r=[["notify","progress",E.Callbacks("memory"),E.Callbacks("memory"),2],["resolve","done",E.Callbacks("once memory"),E.Callbacks("once memory"),0,"resolved"],["reject","fail",E.Callbacks("once memory"),E.Callbacks("once memory"),1,"rejected"]],s="pending",o={state:function(){return s},always:function(){return a.done(arguments).fail(arguments),this},catch:function(t){return o.then(null,t)},pipe:function(){var s=arguments;return E.Deferred(function(n){E.each(r,function(t,e){var i=y(s[e[4]])&&s[e[4]];a[e[1]](function(){var t=i&&i.apply(this,arguments);t&&y(t.promise)?t.promise().progress(n.notify).done(n.resolve).fail(n.reject):n[e[0]+"With"](this,i?[t]:arguments)})}),s=null}).promise()},then:function(e,i,n){var l=0;function c(s,r,o,a){return function(){var i=this,n=arguments,t=function(){var t,e;if(!(s<l)){if((t=o.apply(i,n))===r.promise())throw new TypeError("Thenable self-resolution");e=t&&("object"==typeof t||"function"==typeof t)&&t.then,y(e)?a?e.call(t,c(l,r,j,a),c(l,r,H,a)):(l++,e.call(t,c(l,r,j,a),c(l,r,H,a),c(l,r,j,r.notifyWith))):(o!==j&&(i=void 0,n=[t]),(a||r.resolveWith)(i,n))}},e=a?t:function(){try{t()}catch(t){E.Deferred.exceptionHook&&E.Deferred.exceptionHook(t,e.stackTrace),l<=s+1&&(o!==H&&(i=void 0,n=[t]),r.rejectWith(i,n))}};s?e():(E.Deferred.getStackHook&&(e.stackTrace=E.Deferred.getStackHook()),C.setTimeout(e))}}return E.Deferred(function(t){r[0][3].add(c(0,t,y(n)?n:j,t.notifyWith)),r[1][3].add(c(0,t,y(e)?e:j)),r[2][3].add(c(0,t,y(i)?i:H))}).promise()},promise:function(t){return null!=t?E.extend(t,o):o}},a={};return E.each(r,function(t,e){var i=e[2],n=e[5];o[e[1]]=i.add,n&&i.add(function(){s=n},r[3-t][2].disable,r[3-t][3].disable,r[0][2].lock,r[0][3].lock),i.add(e[3].fire),a[e[0]]=function(){return a[e[0]+"With"](this===a?void 0:this,arguments),this},a[e[0]+"With"]=i.fireWith}),o.promise(a),t&&t.call(a,a),a},when:function(t){var i=arguments.length,e=i,n=Array(e),s=a.call(arguments),r=E.Deferred(),o=function(e){return function(t){n[e]=this,s[e]=1<arguments.length?a.call(arguments):t,--i||r.resolveWith(n,s)}};if(i<=1&&(R(t,r.done(o(e)).resolve,r.reject,!i),"pending"===r.state()||y(s[e]&&s[e].then)))return r.then();for(;e--;)R(s[e],o(e),r.reject);return r.promise()}});var B=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;E.Deferred.exceptionHook=function(t,e){C.console&&C.console.warn&&t&&B.test(t.name)&&C.console.warn("jQuery.Deferred exception: "+t.message,t.stack,e)},E.readyException=function(t){C.setTimeout(function(){throw t})};var z=E.Deferred();function F(){k.removeEventListener("DOMContentLoaded",F),C.removeEventListener("load",F),E.ready()}E.fn.ready=function(t){return z.then(t).catch(function(t){E.readyException(t)}),this},E.extend({isReady:!1,readyWait:1,ready:function(t){(!0===t?--E.readyWait:E.isReady)||(E.isReady=!0)!==t&&0<--E.readyWait||z.resolveWith(k,[E])}}),E.ready.then=z.then,"complete"===k.readyState||"loading"!==k.readyState&&!k.documentElement.doScroll?C.setTimeout(E.ready):(k.addEventListener("DOMContentLoaded",F),C.addEventListener("load",F));var W=function t(e,i,n,s,r,o,a){var l=0,c=e.length,h=null==n;if("object"===_(n))for(l in r=!0,n)t(e,i,l,n[l],!0,o,a);else if(void 0!==s&&(r=!0,y(s)||(a=!0),h&&(i=a?(i.call(e,s),null):(h=i,function(t,e,i){return h.call(E(t),i)})),i))for(;l<c;l++)i(e[l],n,a?s:s.call(e[l],l,i(e[l],n)));return r?e:h?i.call(e):c?i(e[0],n):o},q=/^-ms-/,Y=/-([a-z])/g;function U(t,e){return e.toUpperCase()}function K(t){return t.replace(q,"ms-").replace(Y,U)}var V=function(t){return 1===t.nodeType||9===t.nodeType||!+t.nodeType};function G(){this.expando=E.expando+G.uid++}G.uid=1,G.prototype={cache:function(t){var e=t[this.expando];return e||(e={},V(t)&&(t.nodeType?t[this.expando]=e:Object.defineProperty(t,this.expando,{value:e,configurable:!0}))),e},set:function(t,e,i){var n,s=this.cache(t);if("string"==typeof e)s[K(e)]=i;else for(n in e)s[K(n)]=e[n];return s},get:function(t,e){return void 0===e?this.cache(t):t[this.expando]&&t[this.expando][K(e)]},access:function(t,e,i){return void 0===e||e&&"string"==typeof e&&void 0===i?this.get(t,e):(this.set(t,e,i),void 0!==i?i:e)},remove:function(t,e){var i,n=t[this.expando];if(void 0!==n){if(void 0!==e){i=(e=Array.isArray(e)?e.map(K):(e=K(e))in n?[e]:e.match(P)||[]).length;for(;i--;)delete n[e[i]]}(void 0===e||E.isEmptyObject(n))&&(t.nodeType?t[this.expando]=void 0:delete t[this.expando])}},hasData:function(t){var e=t[this.expando];return void 0!==e&&!E.isEmptyObject(e)}};var Q=new G,X=new G,Z=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,J=/[A-Z]/g;function tt(t,e,i){var n,s;if(void 0===i&&1===t.nodeType)if(n="data-"+e.replace(J,"-$&").toLowerCase(),"string"==typeof(i=t.getAttribute(n))){try{i="true"===(s=i)||"false"!==s&&("null"===s?null:s===+s+""?+s:Z.test(s)?JSON.parse(s):s)}catch(t){}X.set(t,e,i)}else i=void 0;return i}E.extend({hasData:function(t){return X.hasData(t)||Q.hasData(t)},data:function(t,e,i){return X.access(t,e,i)},removeData:function(t,e){X.remove(t,e)},_data:function(t,e,i){return Q.access(t,e,i)},_removeData:function(t,e){Q.remove(t,e)}}),E.fn.extend({data:function(i,t){var e,n,s,r=this[0],o=r&&r.attributes;if(void 0!==i)return"object"==typeof i?this.each(function(){X.set(this,i)}):W(this,function(t){var e;if(r&&void 0===t)return void 0!==(e=X.get(r,i))?e:void 0!==(e=tt(r,i))?e:void 0;this.each(function(){X.set(this,i,t)})},null,t,1<arguments.length,null,!0);if(this.length&&(s=X.get(r),1===r.nodeType&&!Q.get(r,"hasDataAttrs"))){for(e=o.length;e--;)o[e]&&0===(n=o[e].name).indexOf("data-")&&(n=K(n.slice(5)),tt(r,n,s[n]));Q.set(r,"hasDataAttrs",!0)}return s},removeData:function(t){return this.each(function(){X.remove(this,t)})}}),E.extend({queue:function(t,e,i){var n;if(t)return e=(e||"fx")+"queue",n=Q.get(t,e),i&&(!n||Array.isArray(i)?n=Q.access(t,e,E.makeArray(i)):n.push(i)),n||[]},dequeue:function(t,e){e=e||"fx";var i=E.queue(t,e),n=i.length,s=i.shift(),r=E._queueHooks(t,e);"inprogress"===s&&(s=i.shift(),n--),s&&("fx"===e&&i.unshift("inprogress"),delete r.stop,s.call(t,function(){E.dequeue(t,e)},r)),!n&&r&&r.empty.fire()},_queueHooks:function(t,e){var i=e+"queueHooks";return Q.get(t,i)||Q.access(t,i,{empty:E.Callbacks("once memory").add(function(){Q.remove(t,[e+"queue",i])})})}}),E.fn.extend({queue:function(e,i){var t=2;return"string"!=typeof e&&(i=e,e="fx",t--),arguments.length<t?E.queue(this[0],e):void 0===i?this:this.each(function(){var t=E.queue(this,e,i);E._queueHooks(this,e),"fx"===e&&"inprogress"!==t[0]&&E.dequeue(this,e)})},dequeue:function(t){return this.each(function(){E.dequeue(this,t)})},clearQueue:function(t){return this.queue(t||"fx",[])},promise:function(t,e){var i,n=1,s=E.Deferred(),r=this,o=this.length,a=function(){--n||s.resolveWith(r,[r])};for("string"!=typeof t&&(e=t,t=void 0),t=t||"fx";o--;)(i=Q.get(r[o],t+"queueHooks"))&&i.empty&&(n++,i.empty.add(a));return a(),s.promise(e)}});var et=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,it=new RegExp("^(?:([+-])=|)("+et+")([a-z%]*)$","i"),nt=["Top","Right","Bottom","Left"],st=function(t,e){return"none"===(t=e||t).style.display||""===t.style.display&&E.contains(t.ownerDocument,t)&&"none"===E.css(t,"display")},rt=function(t,e,i,n){var s,r,o={};for(r in e)o[r]=t.style[r],t.style[r]=e[r];for(r in s=i.apply(t,n||[]),e)t.style[r]=o[r];return s};function ot(t,e,i,n){var s,r,o=20,a=n?function(){return n.cur()}:function(){return E.css(t,e,"")},l=a(),c=i&&i[3]||(E.cssNumber[e]?"":"px"),h=(E.cssNumber[e]||"px"!==c&&+l)&&it.exec(E.css(t,e));if(h&&h[3]!==c){for(l/=2,c=c||h[3],h=+l||1;o--;)E.style(t,e,h+c),(1-r)*(1-(r=a()/l||.5))<=0&&(o=0),h/=r;h*=2,E.style(t,e,h+c),i=i||[]}return i&&(h=+h||+l||0,s=i[1]?h+(i[1]+1)*i[2]:+i[2],n&&(n.unit=c,n.start=h,n.end=s)),s}var at={};function lt(t,e){for(var i,n,s,r,o,a,l,c=[],h=0,d=t.length;h<d;h++)(n=t[h]).style&&(i=n.style.display,e?("none"===i&&(c[h]=Q.get(n,"display")||null,c[h]||(n.style.display="")),""===n.style.display&&st(n)&&(c[h]=(l=o=r=void 0,o=(s=n).ownerDocument,a=s.nodeName,(l=at[a])||(r=o.body.appendChild(o.createElement(a)),l=E.css(r,"display"),r.parentNode.removeChild(r),"none"===l&&(l="block"),at[a]=l)))):"none"!==i&&(c[h]="none",Q.set(n,"display",i)));for(h=0;h<d;h++)null!=c[h]&&(t[h].style.display=c[h]);return t}E.fn.extend({show:function(){return lt(this,!0)},hide:function(){return lt(this)},toggle:function(t){return"boolean"==typeof t?t?this.show():this.hide():this.each(function(){st(this)?E(this).show():E(this).hide()})}});var ct=/^(?:checkbox|radio)$/i,ht=/<([a-z][^\/\0>\x20\t\r\n\f]+)/i,dt=/^$|^module$|\/(?:java|ecma)script/i,ut={option:[1,"<select multiple='multiple'>","</select>"],thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};function pt(t,e){var i;return i=void 0!==t.getElementsByTagName?t.getElementsByTagName(e||"*"):void 0!==t.querySelectorAll?t.querySelectorAll(e||"*"):[],void 0===e||e&&T(t,e)?E.merge([t],i):i}function ft(t,e){for(var i=0,n=t.length;i<n;i++)Q.set(t[i],"globalEval",!e||Q.get(e[i],"globalEval"))}ut.optgroup=ut.option,ut.tbody=ut.tfoot=ut.colgroup=ut.caption=ut.thead,ut.th=ut.td;var mt,gt,vt=/<|&#?\w+;/;function yt(t,e,i,n,s){for(var r,o,a,l,c,h,d=e.createDocumentFragment(),u=[],p=0,f=t.length;p<f;p++)if((r=t[p])||0===r)if("object"===_(r))E.merge(u,r.nodeType?[r]:r);else if(vt.test(r)){for(o=o||d.appendChild(e.createElement("div")),a=(ht.exec(r)||["",""])[1].toLowerCase(),l=ut[a]||ut._default,o.innerHTML=l[1]+E.htmlPrefilter(r)+l[2],h=l[0];h--;)o=o.lastChild;E.merge(u,o.childNodes),(o=d.firstChild).textContent=""}else u.push(e.createTextNode(r));for(d.textContent="",p=0;r=u[p++];)if(n&&-1<E.inArray(r,n))s&&s.push(r);else if(c=E.contains(r.ownerDocument,r),o=pt(d.appendChild(r),"script"),c&&ft(o),i)for(h=0;r=o[h++];)dt.test(r.type||"")&&i.push(r);return d}mt=k.createDocumentFragment().appendChild(k.createElement("div")),(gt=k.createElement("input")).setAttribute("type","radio"),gt.setAttribute("checked","checked"),gt.setAttribute("name","t"),mt.appendChild(gt),v.checkClone=mt.cloneNode(!0).cloneNode(!0).lastChild.checked,mt.innerHTML="<textarea>x</textarea>",v.noCloneChecked=!!mt.cloneNode(!0).lastChild.defaultValue;var bt=k.documentElement,wt=/^key/,_t=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,xt=/^([^.]*)(?:\.(.+)|)/;function Ct(){return!0}function kt(){return!1}function Et(){try{return k.activeElement}catch(t){}}function $t(t,e,i,n,s,r){var o,a;if("object"==typeof e){for(a in"string"!=typeof i&&(n=n||i,i=void 0),e)$t(t,a,i,n,e[a],r);return t}if(null==n&&null==s?(s=i,n=i=void 0):null==s&&("string"==typeof i?(s=n,n=void 0):(s=n,n=i,i=void 0)),!1===s)s=kt;else if(!s)return t;return 1===r&&(o=s,(s=function(t){return E().off(t),o.apply(this,arguments)}).guid=o.guid||(o.guid=E.guid++)),t.each(function(){E.event.add(this,e,s,n,i)})}E.event={global:{},add:function(e,t,i,n,s){var r,o,a,l,c,h,d,u,p,f,m,g=Q.get(e);if(g)for(i.handler&&(i=(r=i).handler,s=r.selector),s&&E.find.matchesSelector(bt,s),i.guid||(i.guid=E.guid++),(l=g.events)||(l=g.events={}),(o=g.handle)||(o=g.handle=function(t){return void 0!==E&&E.event.triggered!==t.type?E.event.dispatch.apply(e,arguments):void 0}),c=(t=(t||"").match(P)||[""]).length;c--;)p=m=(a=xt.exec(t[c])||[])[1],f=(a[2]||"").split(".").sort(),p&&(d=E.event.special[p]||{},p=(s?d.delegateType:d.bindType)||p,d=E.event.special[p]||{},h=E.extend({type:p,origType:m,data:n,handler:i,guid:i.guid,selector:s,needsContext:s&&E.expr.match.needsContext.test(s),namespace:f.join(".")},r),(u=l[p])||((u=l[p]=[]).delegateCount=0,d.setup&&!1!==d.setup.call(e,n,f,o)||e.addEventListener&&e.addEventListener(p,o)),d.add&&(d.add.call(e,h),h.handler.guid||(h.handler.guid=i.guid)),s?u.splice(u.delegateCount++,0,h):u.push(h),E.event.global[p]=!0)},remove:function(t,e,i,n,s){var r,o,a,l,c,h,d,u,p,f,m,g=Q.hasData(t)&&Q.get(t);if(g&&(l=g.events)){for(c=(e=(e||"").match(P)||[""]).length;c--;)if(p=m=(a=xt.exec(e[c])||[])[1],f=(a[2]||"").split(".").sort(),p){for(d=E.event.special[p]||{},u=l[p=(n?d.delegateType:d.bindType)||p]||[],a=a[2]&&new RegExp("(^|\\.)"+f.join("\\.(?:.*\\.|)")+"(\\.|$)"),o=r=u.length;r--;)h=u[r],!s&&m!==h.origType||i&&i.guid!==h.guid||a&&!a.test(h.namespace)||n&&n!==h.selector&&("**"!==n||!h.selector)||(u.splice(r,1),h.selector&&u.delegateCount--,d.remove&&d.remove.call(t,h));o&&!u.length&&(d.teardown&&!1!==d.teardown.call(t,f,g.handle)||E.removeEvent(t,p,g.handle),delete l[p])}else for(p in l)E.event.remove(t,p+e[c],i,n,!0);E.isEmptyObject(l)&&Q.remove(t,"handle events")}},dispatch:function(t){var e,i,n,s,r,o,a=E.event.fix(t),l=new Array(arguments.length),c=(Q.get(this,"events")||{})[a.type]||[],h=E.event.special[a.type]||{};for(l[0]=a,e=1;e<arguments.length;e++)l[e]=arguments[e];if(a.delegateTarget=this,!h.preDispatch||!1!==h.preDispatch.call(this,a)){for(o=E.event.handlers.call(this,a,c),e=0;(s=o[e++])&&!a.isPropagationStopped();)for(a.currentTarget=s.elem,i=0;(r=s.handlers[i++])&&!a.isImmediatePropagationStopped();)a.rnamespace&&!a.rnamespace.test(r.namespace)||(a.handleObj=r,a.data=r.data,void 0!==(n=((E.event.special[r.origType]||{}).handle||r.handler).apply(s.elem,l))&&!1===(a.result=n)&&(a.preventDefault(),a.stopPropagation()));return h.postDispatch&&h.postDispatch.call(this,a),a.result}},handlers:function(t,e){var i,n,s,r,o,a=[],l=e.delegateCount,c=t.target;if(l&&c.nodeType&&!("click"===t.type&&1<=t.button))for(;c!==this;c=c.parentNode||this)if(1===c.nodeType&&("click"!==t.type||!0!==c.disabled)){for(r=[],o={},i=0;i<l;i++)void 0===o[s=(n=e[i]).selector+" "]&&(o[s]=n.needsContext?-1<E(s,this).index(c):E.find(s,this,null,[c]).length),o[s]&&r.push(n);r.length&&a.push({elem:c,handlers:r})}return c=this,l<e.length&&a.push({elem:c,handlers:e.slice(l)}),a},addProp:function(e,t){Object.defineProperty(E.Event.prototype,e,{enumerable:!0,configurable:!0,get:y(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(t){return t[E.expando]?t:new E.Event(t)},special:{load:{noBubble:!0},focus:{trigger:function(){if(this!==Et()&&this.focus)return this.focus(),!1},delegateType:"focusin"},blur:{trigger:function(){if(this===Et()&&this.blur)return this.blur(),!1},delegateType:"focusout"},click:{trigger:function(){if("checkbox"===this.type&&this.click&&T(this,"input"))return this.click(),!1},_default:function(t){return T(t.target,"a")}},beforeunload:{postDispatch:function(t){void 0!==t.result&&t.originalEvent&&(t.originalEvent.returnValue=t.result)}}}},E.removeEvent=function(t,e,i){t.removeEventListener&&t.removeEventListener(e,i)},E.Event=function(t,e){if(!(this instanceof E.Event))return new E.Event(t,e);t&&t.type?(this.originalEvent=t,this.type=t.type,this.isDefaultPrevented=t.defaultPrevented||void 0===t.defaultPrevented&&!1===t.returnValue?Ct:kt,this.target=t.target&&3===t.target.nodeType?t.target.parentNode:t.target,this.currentTarget=t.currentTarget,this.relatedTarget=t.relatedTarget):this.type=t,e&&E.extend(this,e),this.timeStamp=t&&t.timeStamp||Date.now(),this[E.expando]=!0},E.Event.prototype={constructor:E.Event,isDefaultPrevented:kt,isPropagationStopped:kt,isImmediatePropagationStopped:kt,isSimulated:!1,preventDefault:function(){var t=this.originalEvent;this.isDefaultPrevented=Ct,t&&!this.isSimulated&&t.preventDefault()},stopPropagation:function(){var t=this.originalEvent;this.isPropagationStopped=Ct,t&&!this.isSimulated&&t.stopPropagation()},stopImmediatePropagation:function(){var t=this.originalEvent;this.isImmediatePropagationStopped=Ct,t&&!this.isSimulated&&t.stopImmediatePropagation(),this.stopPropagation()}},E.each({altKey:!0,bubbles:!0,cancelable:!0,changedTouches:!0,ctrlKey:!0,detail:!0,eventPhase:!0,metaKey:!0,pageX:!0,pageY:!0,shiftKey:!0,view:!0,char:!0,charCode:!0,key:!0,keyCode:!0,button:!0,buttons:!0,clientX:!0,clientY:!0,offsetX:!0,offsetY:!0,pointerId:!0,pointerType:!0,screenX:!0,screenY:!0,targetTouches:!0,toElement:!0,touches:!0,which:function(t){var e=t.button;return null==t.which&&wt.test(t.type)?null!=t.charCode?t.charCode:t.keyCode:!t.which&&void 0!==e&&_t.test(t.type)?1&e?1:2&e?3:4&e?2:0:t.which}},E.event.addProp),E.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(t,s){E.event.special[t]={delegateType:s,bindType:s,handle:function(t){var e,i=t.relatedTarget,n=t.handleObj;return i&&(i===this||E.contains(this,i))||(t.type=n.origType,e=n.handler.apply(this,arguments),t.type=s),e}}}),E.fn.extend({on:function(t,e,i,n){return $t(this,t,e,i,n)},one:function(t,e,i,n){return $t(this,t,e,i,n,1)},off:function(t,e,i){var n,s;if(t&&t.preventDefault&&t.handleObj)return n=t.handleObj,E(t.delegateTarget).off(n.namespace?n.origType+"."+n.namespace:n.origType,n.selector,n.handler),this;if("object"!=typeof t)return!1!==e&&"function"!=typeof e||(i=e,e=void 0),!1===i&&(i=kt),this.each(function(){E.event.remove(this,t,i,e)});for(s in t)this.off(s,e,t[s]);return this}});var Dt=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([a-z][^\/\0>\x20\t\r\n\f]*)[^>]*)\/>/gi,Tt=/<script|<style|<link/i,It=/checked\s*(?:[^=]|=\s*.checked.)/i,St=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g;function At(t,e){return T(t,"table")&&T(11!==e.nodeType?e:e.firstChild,"tr")&&E(t).children("tbody")[0]||t}function Ot(t){return t.type=(null!==t.getAttribute("type"))+"/"+t.type,t}function Lt(t){return"true/"===(t.type||"").slice(0,5)?t.type=t.type.slice(5):t.removeAttribute("type"),t}function Nt(t,e){var i,n,s,r,o,a,l,c;if(1===e.nodeType){if(Q.hasData(t)&&(r=Q.access(t),o=Q.set(e,r),c=r.events))for(s in delete o.handle,o.events={},c)for(i=0,n=c[s].length;i<n;i++)E.event.add(e,s,c[s][i]);X.hasData(t)&&(a=X.access(t),l=E.extend({},a),X.set(e,l))}}function Mt(i,n,s,r){n=m.apply([],n);var t,e,o,a,l,c,h=0,d=i.length,u=d-1,p=n[0],f=y(p);if(f||1<d&&"string"==typeof p&&!v.checkClone&&It.test(p))return i.each(function(t){var e=i.eq(t);f&&(n[0]=p.call(this,t,e.html())),Mt(e,n,s,r)});if(d&&(e=(t=yt(n,i[0].ownerDocument,!1,i,r)).firstChild,1===t.childNodes.length&&(t=e),e||r)){for(a=(o=E.map(pt(t,"script"),Ot)).length;h<d;h++)l=t,h!==u&&(l=E.clone(l,!0,!0),a&&E.merge(o,pt(l,"script"))),s.call(i[h],l,h);if(a)for(c=o[o.length-1].ownerDocument,E.map(o,Lt),h=0;h<a;h++)l=o[h],dt.test(l.type||"")&&!Q.access(l,"globalEval")&&E.contains(c,l)&&(l.src&&"module"!==(l.type||"").toLowerCase()?E._evalUrl&&E._evalUrl(l.src):w(l.textContent.replace(St,""),c,l))}return i}function Pt(t,e,i){for(var n,s=e?E.filter(e,t):t,r=0;null!=(n=s[r]);r++)i||1!==n.nodeType||E.cleanData(pt(n)),n.parentNode&&(i&&E.contains(n.ownerDocument,n)&&ft(pt(n,"script")),n.parentNode.removeChild(n));return t}E.extend({htmlPrefilter:function(t){return t.replace(Dt,"<$1></$2>")},clone:function(t,e,i){var n,s,r,o,a,l,c,h=t.cloneNode(!0),d=E.contains(t.ownerDocument,t);if(!(v.noCloneChecked||1!==t.nodeType&&11!==t.nodeType||E.isXMLDoc(t)))for(o=pt(h),n=0,s=(r=pt(t)).length;n<s;n++)a=r[n],l=o[n],void 0,"input"===(c=l.nodeName.toLowerCase())&&ct.test(a.type)?l.checked=a.checked:"input"!==c&&"textarea"!==c||(l.defaultValue=a.defaultValue);if(e)if(i)for(r=r||pt(t),o=o||pt(h),n=0,s=r.length;n<s;n++)Nt(r[n],o[n]);else Nt(t,h);return 0<(o=pt(h,"script")).length&&ft(o,!d&&pt(t,"script")),h},cleanData:function(t){for(var e,i,n,s=E.event.special,r=0;void 0!==(i=t[r]);r++)if(V(i)){if(e=i[Q.expando]){if(e.events)for(n in e.events)s[n]?E.event.remove(i,n):E.removeEvent(i,n,e.handle);i[Q.expando]=void 0}i[X.expando]&&(i[X.expando]=void 0)}}}),E.fn.extend({detach:function(t){return Pt(this,t,!0)},remove:function(t){return Pt(this,t)},text:function(t){return W(this,function(t){return void 0===t?E.text(this):this.empty().each(function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=t)})},null,t,arguments.length)},append:function(){return Mt(this,arguments,function(t){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||At(this,t).appendChild(t)})},prepend:function(){return Mt(this,arguments,function(t){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var e=At(this,t);e.insertBefore(t,e.firstChild)}})},before:function(){return Mt(this,arguments,function(t){this.parentNode&&this.parentNode.insertBefore(t,this)})},after:function(){return Mt(this,arguments,function(t){this.parentNode&&this.parentNode.insertBefore(t,this.nextSibling)})},empty:function(){for(var t,e=0;null!=(t=this[e]);e++)1===t.nodeType&&(E.cleanData(pt(t,!1)),t.textContent="");return this},clone:function(t,e){return t=null!=t&&t,e=null==e?t:e,this.map(function(){return E.clone(this,t,e)})},html:function(t){return W(this,function(t){var e=this[0]||{},i=0,n=this.length;if(void 0===t&&1===e.nodeType)return e.innerHTML;if("string"==typeof t&&!Tt.test(t)&&!ut[(ht.exec(t)||["",""])[1].toLowerCase()]){t=E.htmlPrefilter(t);try{for(;i<n;i++)1===(e=this[i]||{}).nodeType&&(E.cleanData(pt(e,!1)),e.innerHTML=t);e=0}catch(t){}}e&&this.empty().append(t)},null,t,arguments.length)},replaceWith:function(){var i=[];return Mt(this,arguments,function(t){var e=this.parentNode;E.inArray(this,i)<0&&(E.cleanData(pt(this)),e&&e.replaceChild(t,this))},i)}}),E.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(t,o){E.fn[t]=function(t){for(var e,i=[],n=E(t),s=n.length-1,r=0;r<=s;r++)e=r===s?this:this.clone(!0),E(n[r])[o](e),l.apply(i,e.get());return this.pushStack(i)}});var jt=new RegExp("^("+et+")(?!px)[a-z%]+$","i"),Ht=function(t){var e=t.ownerDocument.defaultView;return e&&e.opener||(e=C),e.getComputedStyle(t)},Rt=new RegExp(nt.join("|"),"i");function Bt(t,e,i){var n,s,r,o,a=t.style;return(i=i||Ht(t))&&(""!==(o=i.getPropertyValue(e)||i[e])||E.contains(t.ownerDocument,t)||(o=E.style(t,e)),!v.pixelBoxStyles()&&jt.test(o)&&Rt.test(e)&&(n=a.width,s=a.minWidth,r=a.maxWidth,a.minWidth=a.maxWidth=a.width=o,o=i.width,a.width=n,a.minWidth=s,a.maxWidth=r)),void 0!==o?o+"":o}function zt(t,e){return{get:function(){if(!t())return(this.get=e).apply(this,arguments);delete this.get}}}!function(){function t(){if(l){a.style.cssText="position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0",l.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%",bt.appendChild(a).appendChild(l);var t=C.getComputedStyle(l);i="1%"!==t.top,o=12===e(t.marginLeft),l.style.right="60%",r=36===e(t.right),n=36===e(t.width),l.style.position="absolute",s=36===l.offsetWidth||"absolute",bt.removeChild(a),l=null}}function e(t){return Math.round(parseFloat(t))}var i,n,s,r,o,a=k.createElement("div"),l=k.createElement("div");l.style&&(l.style.backgroundClip="content-box",l.cloneNode(!0).style.backgroundClip="",v.clearCloneStyle="content-box"===l.style.backgroundClip,E.extend(v,{boxSizingReliable:function(){return t(),n},pixelBoxStyles:function(){return t(),r},pixelPosition:function(){return t(),i},reliableMarginLeft:function(){return t(),o},scrollboxSize:function(){return t(),s}}))}();var Ft=/^(none|table(?!-c[ea]).+)/,Wt=/^--/,qt={position:"absolute",visibility:"hidden",display:"block"},Yt={letterSpacing:"0",fontWeight:"400"},Ut=["Webkit","Moz","ms"],Kt=k.createElement("div").style;function Vt(t){var e=E.cssProps[t];return e||(e=E.cssProps[t]=function(t){if(t in Kt)return t;for(var e=t[0].toUpperCase()+t.slice(1),i=Ut.length;i--;)if((t=Ut[i]+e)in Kt)return t}(t)||t),e}function Gt(t,e,i){var n=it.exec(e);return n?Math.max(0,n[2]-(i||0))+(n[3]||"px"):e}function Qt(t,e,i,n,s,r){var o="width"===e?1:0,a=0,l=0;if(i===(n?"border":"content"))return 0;for(;o<4;o+=2)"margin"===i&&(l+=E.css(t,i+nt[o],!0,s)),n?("content"===i&&(l-=E.css(t,"padding"+nt[o],!0,s)),"margin"!==i&&(l-=E.css(t,"border"+nt[o]+"Width",!0,s))):(l+=E.css(t,"padding"+nt[o],!0,s),"padding"!==i?l+=E.css(t,"border"+nt[o]+"Width",!0,s):a+=E.css(t,"border"+nt[o]+"Width",!0,s));return!n&&0<=r&&(l+=Math.max(0,Math.ceil(t["offset"+e[0].toUpperCase()+e.slice(1)]-r-l-a-.5))),l}function Xt(t,e,i){var n=Ht(t),s=Bt(t,e,n),r="border-box"===E.css(t,"boxSizing",!1,n),o=r;if(jt.test(s)){if(!i)return s;s="auto"}return o=o&&(v.boxSizingReliable()||s===t.style[e]),("auto"===s||!parseFloat(s)&&"inline"===E.css(t,"display",!1,n))&&(s=t["offset"+e[0].toUpperCase()+e.slice(1)],o=!0),(s=parseFloat(s)||0)+Qt(t,e,i||(r?"border":"content"),o,n,s)+"px"}function Zt(t,e,i,n,s){return new Zt.prototype.init(t,e,i,n,s)}E.extend({cssHooks:{opacity:{get:function(t,e){if(e){var i=Bt(t,"opacity");return""===i?"1":i}}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{},style:function(t,e,i,n){if(t&&3!==t.nodeType&&8!==t.nodeType&&t.style){var s,r,o,a=K(e),l=Wt.test(e),c=t.style;if(l||(e=Vt(a)),o=E.cssHooks[e]||E.cssHooks[a],void 0===i)return o&&"get"in o&&void 0!==(s=o.get(t,!1,n))?s:c[e];"string"===(r=typeof i)&&(s=it.exec(i))&&s[1]&&(i=ot(t,e,s),r="number"),null!=i&&i==i&&("number"===r&&(i+=s&&s[3]||(E.cssNumber[a]?"":"px")),v.clearCloneStyle||""!==i||0!==e.indexOf("background")||(c[e]="inherit"),o&&"set"in o&&void 0===(i=o.set(t,i,n))||(l?c.setProperty(e,i):c[e]=i))}},css:function(t,e,i,n){var s,r,o,a=K(e);return Wt.test(e)||(e=Vt(a)),(o=E.cssHooks[e]||E.cssHooks[a])&&"get"in o&&(s=o.get(t,!0,i)),void 0===s&&(s=Bt(t,e,n)),"normal"===s&&e in Yt&&(s=Yt[e]),""===i||i?(r=parseFloat(s),!0===i||isFinite(r)?r||0:s):s}}),E.each(["height","width"],function(t,a){E.cssHooks[a]={get:function(t,e,i){if(e)return!Ft.test(E.css(t,"display"))||t.getClientRects().length&&t.getBoundingClientRect().width?Xt(t,a,i):rt(t,qt,function(){return Xt(t,a,i)})},set:function(t,e,i){var n,s=Ht(t),r="border-box"===E.css(t,"boxSizing",!1,s),o=i&&Qt(t,a,i,r,s);return r&&v.scrollboxSize()===s.position&&(o-=Math.ceil(t["offset"+a[0].toUpperCase()+a.slice(1)]-parseFloat(s[a])-Qt(t,a,"border",!1,s)-.5)),o&&(n=it.exec(e))&&"px"!==(n[3]||"px")&&(t.style[a]=e,e=E.css(t,a)),Gt(0,e,o)}}}),E.cssHooks.marginLeft=zt(v.reliableMarginLeft,function(t,e){if(e)return(parseFloat(Bt(t,"marginLeft"))||t.getBoundingClientRect().left-rt(t,{marginLeft:0},function(){return t.getBoundingClientRect().left}))+"px"}),E.each({margin:"",padding:"",border:"Width"},function(s,r){E.cssHooks[s+r]={expand:function(t){for(var e=0,i={},n="string"==typeof t?t.split(" "):[t];e<4;e++)i[s+nt[e]+r]=n[e]||n[e-2]||n[0];return i}},"margin"!==s&&(E.cssHooks[s+r].set=Gt)}),E.fn.extend({css:function(t,e){return W(this,function(t,e,i){var n,s,r={},o=0;if(Array.isArray(e)){for(n=Ht(t),s=e.length;o<s;o++)r[e[o]]=E.css(t,e[o],!1,n);return r}return void 0!==i?E.style(t,e,i):E.css(t,e)},t,e,1<arguments.length)}}),((E.Tween=Zt).prototype={constructor:Zt,init:function(t,e,i,n,s,r){this.elem=t,this.prop=i,this.easing=s||E.easing._default,this.options=e,this.start=this.now=this.cur(),this.end=n,this.unit=r||(E.cssNumber[i]?"":"px")},cur:function(){var t=Zt.propHooks[this.prop];return t&&t.get?t.get(this):Zt.propHooks._default.get(this)},run:function(t){var e,i=Zt.propHooks[this.prop];return this.options.duration?this.pos=e=E.easing[this.easing](t,this.options.duration*t,0,1,this.options.duration):this.pos=e=t,this.now=(this.end-this.start)*e+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),i&&i.set?i.set(this):Zt.propHooks._default.set(this),this}}).init.prototype=Zt.prototype,(Zt.propHooks={_default:{get:function(t){var e;return 1!==t.elem.nodeType||null!=t.elem[t.prop]&&null==t.elem.style[t.prop]?t.elem[t.prop]:(e=E.css(t.elem,t.prop,""))&&"auto"!==e?e:0},set:function(t){E.fx.step[t.prop]?E.fx.step[t.prop](t):1!==t.elem.nodeType||null==t.elem.style[E.cssProps[t.prop]]&&!E.cssHooks[t.prop]?t.elem[t.prop]=t.now:E.style(t.elem,t.prop,t.now+t.unit)}}}).scrollTop=Zt.propHooks.scrollLeft={set:function(t){t.elem.nodeType&&t.elem.parentNode&&(t.elem[t.prop]=t.now)}},E.easing={linear:function(t){return t},swing:function(t){return.5-Math.cos(t*Math.PI)/2},_default:"swing"},E.fx=Zt.prototype.init,E.fx.step={};var Jt,te,ee,ie,ne=/^(?:toggle|show|hide)$/,se=/queueHooks$/;function re(){te&&(!1===k.hidden&&C.requestAnimationFrame?C.requestAnimationFrame(re):C.setTimeout(re,E.fx.interval),E.fx.tick())}function oe(){return C.setTimeout(function(){Jt=void 0}),Jt=Date.now()}function ae(t,e){var i,n=0,s={height:t};for(e=e?1:0;n<4;n+=2-e)s["margin"+(i=nt[n])]=s["padding"+i]=t;return e&&(s.opacity=s.width=t),s}function le(t,e,i){for(var n,s=(ce.tweeners[e]||[]).concat(ce.tweeners["*"]),r=0,o=s.length;r<o;r++)if(n=s[r].call(i,e,t))return n}function ce(r,t,e){var i,o,n=0,s=ce.prefilters.length,a=E.Deferred().always(function(){delete l.elem}),l=function(){if(o)return!1;for(var t=Jt||oe(),e=Math.max(0,c.startTime+c.duration-t),i=1-(e/c.duration||0),n=0,s=c.tweens.length;n<s;n++)c.tweens[n].run(i);return a.notifyWith(r,[c,i,e]),i<1&&s?e:(s||a.notifyWith(r,[c,1,0]),a.resolveWith(r,[c]),!1)},c=a.promise({elem:r,props:E.extend({},t),opts:E.extend(!0,{specialEasing:{},easing:E.easing._default},e),originalProperties:t,originalOptions:e,startTime:Jt||oe(),duration:e.duration,tweens:[],createTween:function(t,e){var i=E.Tween(r,c.opts,t,e,c.opts.specialEasing[t]||c.opts.easing);return c.tweens.push(i),i},stop:function(t){var e=0,i=t?c.tweens.length:0;if(o)return this;for(o=!0;e<i;e++)c.tweens[e].run(1);return t?(a.notifyWith(r,[c,1,0]),a.resolveWith(r,[c,t])):a.rejectWith(r,[c,t]),this}}),h=c.props;for(!function(t,e){var i,n,s,r,o;for(i in t)if(s=e[n=K(i)],r=t[i],Array.isArray(r)&&(s=r[1],r=t[i]=r[0]),i!==n&&(t[n]=r,delete t[i]),(o=E.cssHooks[n])&&"expand"in o)for(i in r=o.expand(r),delete t[n],r)i in t||(t[i]=r[i],e[i]=s);else e[n]=s}(h,c.opts.specialEasing);n<s;n++)if(i=ce.prefilters[n].call(c,r,h,c.opts))return y(i.stop)&&(E._queueHooks(c.elem,c.opts.queue).stop=i.stop.bind(i)),i;return E.map(h,le,c),y(c.opts.start)&&c.opts.start.call(r,c),c.progress(c.opts.progress).done(c.opts.done,c.opts.complete).fail(c.opts.fail).always(c.opts.always),E.fx.timer(E.extend(l,{elem:r,anim:c,queue:c.opts.queue})),c}E.Animation=E.extend(ce,{tweeners:{"*":[function(t,e){var i=this.createTween(t,e);return ot(i.elem,t,it.exec(e),i),i}]},tweener:function(t,e){for(var i,n=0,s=(t=y(t)?(e=t,["*"]):t.match(P)).length;n<s;n++)i=t[n],ce.tweeners[i]=ce.tweeners[i]||[],ce.tweeners[i].unshift(e)},prefilters:[function(t,e,i){var n,s,r,o,a,l,c,h,d="width"in e||"height"in e,u=this,p={},f=t.style,m=t.nodeType&&st(t),g=Q.get(t,"fxshow");for(n in i.queue||(null==(o=E._queueHooks(t,"fx")).unqueued&&(o.unqueued=0,a=o.empty.fire,o.empty.fire=function(){o.unqueued||a()}),o.unqueued++,u.always(function(){u.always(function(){o.unqueued--,E.queue(t,"fx").length||o.empty.fire()})})),e)if(s=e[n],ne.test(s)){if(delete e[n],r=r||"toggle"===s,s===(m?"hide":"show")){if("show"!==s||!g||void 0===g[n])continue;m=!0}p[n]=g&&g[n]||E.style(t,n)}if((l=!E.isEmptyObject(e))||!E.isEmptyObject(p))for(n in d&&1===t.nodeType&&(i.overflow=[f.overflow,f.overflowX,f.overflowY],null==(c=g&&g.display)&&(c=Q.get(t,"display")),"none"===(h=E.css(t,"display"))&&(c?h=c:(lt([t],!0),c=t.style.display||c,h=E.css(t,"display"),lt([t]))),("inline"===h||"inline-block"===h&&null!=c)&&"none"===E.css(t,"float")&&(l||(u.done(function(){f.display=c}),null==c&&(h=f.display,c="none"===h?"":h)),f.display="inline-block")),i.overflow&&(f.overflow="hidden",u.always(function(){f.overflow=i.overflow[0],f.overflowX=i.overflow[1],f.overflowY=i.overflow[2]})),l=!1,p)l||(g?"hidden"in g&&(m=g.hidden):g=Q.access(t,"fxshow",{display:c}),r&&(g.hidden=!m),m&&lt([t],!0),u.done(function(){for(n in m||lt([t]),Q.remove(t,"fxshow"),p)E.style(t,n,p[n])})),l=le(m?g[n]:0,n,u),n in g||(g[n]=l.start,m&&(l.end=l.start,l.start=0))}],prefilter:function(t,e){e?ce.prefilters.unshift(t):ce.prefilters.push(t)}}),E.speed=function(t,e,i){var n=t&&"object"==typeof t?E.extend({},t):{complete:i||!i&&e||y(t)&&t,duration:t,easing:i&&e||e&&!y(e)&&e};return E.fx.off?n.duration=0:"number"!=typeof n.duration&&(n.duration in E.fx.speeds?n.duration=E.fx.speeds[n.duration]:n.duration=E.fx.speeds._default),null!=n.queue&&!0!==n.queue||(n.queue="fx"),n.old=n.complete,n.complete=function(){y(n.old)&&n.old.call(this),n.queue&&E.dequeue(this,n.queue)},n},E.fn.extend({fadeTo:function(t,e,i,n){return this.filter(st).css("opacity",0).show().end().animate({opacity:e},t,i,n)},animate:function(e,t,i,n){var s=E.isEmptyObject(e),r=E.speed(t,i,n),o=function(){var t=ce(this,E.extend({},e),r);(s||Q.get(this,"finish"))&&t.stop(!0)};return o.finish=o,s||!1===r.queue?this.each(o):this.queue(r.queue,o)},stop:function(s,t,r){var o=function(t){var e=t.stop;delete t.stop,e(r)};return"string"!=typeof s&&(r=t,t=s,s=void 0),t&&!1!==s&&this.queue(s||"fx",[]),this.each(function(){var t=!0,e=null!=s&&s+"queueHooks",i=E.timers,n=Q.get(this);if(e)n[e]&&n[e].stop&&o(n[e]);else for(e in n)n[e]&&n[e].stop&&se.test(e)&&o(n[e]);for(e=i.length;e--;)i[e].elem!==this||null!=s&&i[e].queue!==s||(i[e].anim.stop(r),t=!1,i.splice(e,1));!t&&r||E.dequeue(this,s)})},finish:function(o){return!1!==o&&(o=o||"fx"),this.each(function(){var t,e=Q.get(this),i=e[o+"queue"],n=e[o+"queueHooks"],s=E.timers,r=i?i.length:0;for(e.finish=!0,E.queue(this,o,[]),n&&n.stop&&n.stop.call(this,!0),t=s.length;t--;)s[t].elem===this&&s[t].queue===o&&(s[t].anim.stop(!0),s.splice(t,1));for(t=0;t<r;t++)i[t]&&i[t].finish&&i[t].finish.call(this);delete e.finish})}}),E.each(["toggle","show","hide"],function(t,n){var s=E.fn[n];E.fn[n]=function(t,e,i){return null==t||"boolean"==typeof t?s.apply(this,arguments):this.animate(ae(n,!0),t,e,i)}}),E.each({slideDown:ae("show"),slideUp:ae("hide"),slideToggle:ae("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(t,n){E.fn[t]=function(t,e,i){return this.animate(n,t,e,i)}}),E.timers=[],E.fx.tick=function(){var t,e=0,i=E.timers;for(Jt=Date.now();e<i.length;e++)(t=i[e])()||i[e]!==t||i.splice(e--,1);i.length||E.fx.stop(),Jt=void 0},E.fx.timer=function(t){E.timers.push(t),E.fx.start()},E.fx.interval=13,E.fx.start=function(){te||(te=!0,re())},E.fx.stop=function(){te=null},E.fx.speeds={slow:600,fast:200,_default:400},E.fn.delay=function(n,t){return n=E.fx&&E.fx.speeds[n]||n,t=t||"fx",this.queue(t,function(t,e){var i=C.setTimeout(t,n);e.stop=function(){C.clearTimeout(i)}})},ee=k.createElement("input"),ie=k.createElement("select").appendChild(k.createElement("option")),ee.type="checkbox",v.checkOn=""!==ee.value,v.optSelected=ie.selected,(ee=k.createElement("input")).value="t",ee.type="radio",v.radioValue="t"===ee.value;var he,de=E.expr.attrHandle;E.fn.extend({attr:function(t,e){return W(this,E.attr,t,e,1<arguments.length)},removeAttr:function(t){return this.each(function(){E.removeAttr(this,t)})}}),E.extend({attr:function(t,e,i){var n,s,r=t.nodeType;if(3!==r&&8!==r&&2!==r)return void 0===t.getAttribute?E.prop(t,e,i):(1===r&&E.isXMLDoc(t)||(s=E.attrHooks[e.toLowerCase()]||(E.expr.match.bool.test(e)?he:void 0)),void 0!==i?null===i?void E.removeAttr(t,e):s&&"set"in s&&void 0!==(n=s.set(t,i,e))?n:(t.setAttribute(e,i+""),i):s&&"get"in s&&null!==(n=s.get(t,e))?n:null==(n=E.find.attr(t,e))?void 0:n)},attrHooks:{type:{set:function(t,e){if(!v.radioValue&&"radio"===e&&T(t,"input")){var i=t.value;return t.setAttribute("type",e),i&&(t.value=i),e}}}},removeAttr:function(t,e){var i,n=0,s=e&&e.match(P);if(s&&1===t.nodeType)for(;i=s[n++];)t.removeAttribute(i)}}),he={set:function(t,e,i){return!1===e?E.removeAttr(t,i):t.setAttribute(i,i),i}},E.each(E.expr.match.bool.source.match(/\w+/g),function(t,e){var o=de[e]||E.find.attr;de[e]=function(t,e,i){var n,s,r=e.toLowerCase();return i||(s=de[r],de[r]=n,n=null!=o(t,e,i)?r:null,de[r]=s),n}});var ue=/^(?:input|select|textarea|button)$/i,pe=/^(?:a|area)$/i;function fe(t){return(t.match(P)||[]).join(" ")}function me(t){return t.getAttribute&&t.getAttribute("class")||""}function ge(t){return Array.isArray(t)?t:"string"==typeof t&&t.match(P)||[]}E.fn.extend({prop:function(t,e){return W(this,E.prop,t,e,1<arguments.length)},removeProp:function(t){return this.each(function(){delete this[E.propFix[t]||t]})}}),E.extend({prop:function(t,e,i){var n,s,r=t.nodeType;if(3!==r&&8!==r&&2!==r)return 1===r&&E.isXMLDoc(t)||(e=E.propFix[e]||e,s=E.propHooks[e]),void 0!==i?s&&"set"in s&&void 0!==(n=s.set(t,i,e))?n:t[e]=i:s&&"get"in s&&null!==(n=s.get(t,e))?n:t[e]},propHooks:{tabIndex:{get:function(t){var e=E.find.attr(t,"tabindex");return e?parseInt(e,10):ue.test(t.nodeName)||pe.test(t.nodeName)&&t.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),v.optSelected||(E.propHooks.selected={get:function(t){var e=t.parentNode;return e&&e.parentNode&&e.parentNode.selectedIndex,null},set:function(t){var e=t.parentNode;e&&(e.selectedIndex,e.parentNode&&e.parentNode.selectedIndex)}}),E.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){E.propFix[this.toLowerCase()]=this}),E.fn.extend({addClass:function(e){var t,i,n,s,r,o,a,l=0;if(y(e))return this.each(function(t){E(this).addClass(e.call(this,t,me(this)))});if((t=ge(e)).length)for(;i=this[l++];)if(s=me(i),n=1===i.nodeType&&" "+fe(s)+" "){for(o=0;r=t[o++];)n.indexOf(" "+r+" ")<0&&(n+=r+" ");s!==(a=fe(n))&&i.setAttribute("class",a)}return this},removeClass:function(e){var t,i,n,s,r,o,a,l=0;if(y(e))return this.each(function(t){E(this).removeClass(e.call(this,t,me(this)))});if(!arguments.length)return this.attr("class","");if((t=ge(e)).length)for(;i=this[l++];)if(s=me(i),n=1===i.nodeType&&" "+fe(s)+" "){for(o=0;r=t[o++];)for(;-1<n.indexOf(" "+r+" ");)n=n.replace(" "+r+" "," ");s!==(a=fe(n))&&i.setAttribute("class",a)}return this},toggleClass:function(s,e){var r=typeof s,o="string"===r||Array.isArray(s);return"boolean"==typeof e&&o?e?this.addClass(s):this.removeClass(s):y(s)?this.each(function(t){E(this).toggleClass(s.call(this,t,me(this),e),e)}):this.each(function(){var t,e,i,n;if(o)for(e=0,i=E(this),n=ge(s);t=n[e++];)i.hasClass(t)?i.removeClass(t):i.addClass(t);else void 0!==s&&"boolean"!==r||((t=me(this))&&Q.set(this,"__className__",t),this.setAttribute&&this.setAttribute("class",t||!1===s?"":Q.get(this,"__className__")||""))})},hasClass:function(t){var e,i,n=0;for(e=" "+t+" ";i=this[n++];)if(1===i.nodeType&&-1<(" "+fe(me(i))+" ").indexOf(e))return!0;return!1}});var ve=/\r/g;E.fn.extend({val:function(i){var n,t,s,e=this[0];return arguments.length?(s=y(i),this.each(function(t){var e;1===this.nodeType&&(null==(e=s?i.call(this,t,E(this).val()):i)?e="":"number"==typeof e?e+="":Array.isArray(e)&&(e=E.map(e,function(t){return null==t?"":t+""})),(n=E.valHooks[this.type]||E.valHooks[this.nodeName.toLowerCase()])&&"set"in n&&void 0!==n.set(this,e,"value")||(this.value=e))})):e?(n=E.valHooks[e.type]||E.valHooks[e.nodeName.toLowerCase()])&&"get"in n&&void 0!==(t=n.get(e,"value"))?t:"string"==typeof(t=e.value)?t.replace(ve,""):null==t?"":t:void 0}}),E.extend({valHooks:{option:{get:function(t){var e=E.find.attr(t,"value");return null!=e?e:fe(E.text(t))}},select:{get:function(t){var e,i,n,s=t.options,r=t.selectedIndex,o="select-one"===t.type,a=o?null:[],l=o?r+1:s.length;for(n=r<0?l:o?r:0;n<l;n++)if(((i=s[n]).selected||n===r)&&!i.disabled&&(!i.parentNode.disabled||!T(i.parentNode,"optgroup"))){if(e=E(i).val(),o)return e;a.push(e)}return a},set:function(t,e){for(var i,n,s=t.options,r=E.makeArray(e),o=s.length;o--;)((n=s[o]).selected=-1<E.inArray(E.valHooks.option.get(n),r))&&(i=!0);return i||(t.selectedIndex=-1),r}}}}),E.each(["radio","checkbox"],function(){E.valHooks[this]={set:function(t,e){if(Array.isArray(e))return t.checked=-1<E.inArray(E(t).val(),e)}},v.checkOn||(E.valHooks[this].get=function(t){return null===t.getAttribute("value")?"on":t.value})}),v.focusin="onfocusin"in C;var ye=/^(?:focusinfocus|focusoutblur)$/,be=function(t){t.stopPropagation()};E.extend(E.event,{trigger:function(t,e,i,n){var s,r,o,a,l,c,h,d,u=[i||k],p=g.call(t,"type")?t.type:t,f=g.call(t,"namespace")?t.namespace.split("."):[];if(r=d=o=i=i||k,3!==i.nodeType&&8!==i.nodeType&&!ye.test(p+E.event.triggered)&&(-1<p.indexOf(".")&&(p=(f=p.split(".")).shift(),f.sort()),l=p.indexOf(":")<0&&"on"+p,(t=t[E.expando]?t:new E.Event(p,"object"==typeof t&&t)).isTrigger=n?2:3,t.namespace=f.join("."),t.rnamespace=t.namespace?new RegExp("(^|\\.)"+f.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,t.result=void 0,t.target||(t.target=i),e=null==e?[t]:E.makeArray(e,[t]),h=E.event.special[p]||{},n||!h.trigger||!1!==h.trigger.apply(i,e))){if(!n&&!h.noBubble&&!b(i)){for(a=h.delegateType||p,ye.test(a+p)||(r=r.parentNode);r;r=r.parentNode)u.push(r),o=r;o===(i.ownerDocument||k)&&u.push(o.defaultView||o.parentWindow||C)}for(s=0;(r=u[s++])&&!t.isPropagationStopped();)d=r,t.type=1<s?a:h.bindType||p,(c=(Q.get(r,"events")||{})[t.type]&&Q.get(r,"handle"))&&c.apply(r,e),(c=l&&r[l])&&c.apply&&V(r)&&(t.result=c.apply(r,e),!1===t.result&&t.preventDefault());return t.type=p,n||t.isDefaultPrevented()||h._default&&!1!==h._default.apply(u.pop(),e)||!V(i)||l&&y(i[p])&&!b(i)&&((o=i[l])&&(i[l]=null),E.event.triggered=p,t.isPropagationStopped()&&d.addEventListener(p,be),i[p](),t.isPropagationStopped()&&d.removeEventListener(p,be),E.event.triggered=void 0,o&&(i[l]=o)),t.result}},simulate:function(t,e,i){var n=E.extend(new E.Event,i,{type:t,isSimulated:!0});E.event.trigger(n,null,e)}}),E.fn.extend({trigger:function(t,e){return this.each(function(){E.event.trigger(t,e,this)})},triggerHandler:function(t,e){var i=this[0];if(i)return E.event.trigger(t,e,i,!0)}}),v.focusin||E.each({focus:"focusin",blur:"focusout"},function(i,n){var s=function(t){E.event.simulate(n,t.target,E.event.fix(t))};E.event.special[n]={setup:function(){var t=this.ownerDocument||this,e=Q.access(t,n);e||t.addEventListener(i,s,!0),Q.access(t,n,(e||0)+1)},teardown:function(){var t=this.ownerDocument||this,e=Q.access(t,n)-1;e?Q.access(t,n,e):(t.removeEventListener(i,s,!0),Q.remove(t,n))}}});var we=C.location,_e=Date.now(),xe=/\?/;E.parseXML=function(t){var e;if(!t||"string"!=typeof t)return null;try{e=(new C.DOMParser).parseFromString(t,"text/xml")}catch(t){e=void 0}return e&&!e.getElementsByTagName("parsererror").length||E.error("Invalid XML: "+t),e};var Ce=/\[\]$/,ke=/\r?\n/g,Ee=/^(?:submit|button|image|reset|file)$/i,$e=/^(?:input|select|textarea|keygen)/i;function De(i,t,n,s){var e;if(Array.isArray(t))E.each(t,function(t,e){n||Ce.test(i)?s(i,e):De(i+"["+("object"==typeof e&&null!=e?t:"")+"]",e,n,s)});else if(n||"object"!==_(t))s(i,t);else for(e in t)De(i+"["+e+"]",t[e],n,s)}E.param=function(t,e){var i,n=[],s=function(t,e){var i=y(e)?e():e;n[n.length]=encodeURIComponent(t)+"="+encodeURIComponent(null==i?"":i)};if(Array.isArray(t)||t.jquery&&!E.isPlainObject(t))E.each(t,function(){s(this.name,this.value)});else for(i in t)De(i,t[i],e,s);return n.join("&")},E.fn.extend({serialize:function(){return E.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var t=E.prop(this,"elements");return t?E.makeArray(t):this}).filter(function(){var t=this.type;return this.name&&!E(this).is(":disabled")&&$e.test(this.nodeName)&&!Ee.test(t)&&(this.checked||!ct.test(t))}).map(function(t,e){var i=E(this).val();return null==i?null:Array.isArray(i)?E.map(i,function(t){return{name:e.name,value:t.replace(ke,"\r\n")}}):{name:e.name,value:i.replace(ke,"\r\n")}}).get()}});var Te=/%20/g,Ie=/#.*$/,Se=/([?&])_=[^&]*/,Ae=/^(.*?):[ \t]*([^\r\n]*)$/gm,Oe=/^(?:GET|HEAD)$/,Le=/^\/\//,Ne={},Me={},Pe="*/".concat("*"),je=k.createElement("a");function He(r){return function(t,e){"string"!=typeof t&&(e=t,t="*");var i,n=0,s=t.toLowerCase().match(P)||[];if(y(e))for(;i=s[n++];)"+"===i[0]?(i=i.slice(1)||"*",(r[i]=r[i]||[]).unshift(e)):(r[i]=r[i]||[]).push(e)}}function Re(e,s,r,o){var a={},l=e===Me;function c(t){var n;return a[t]=!0,E.each(e[t]||[],function(t,e){var i=e(s,r,o);return"string"!=typeof i||l||a[i]?l?!(n=i):void 0:(s.dataTypes.unshift(i),c(i),!1)}),n}return c(s.dataTypes[0])||!a["*"]&&c("*")}function Be(t,e){var i,n,s=E.ajaxSettings.flatOptions||{};for(i in e)void 0!==e[i]&&((s[i]?t:n||(n={}))[i]=e[i]);return n&&E.extend(!0,t,n),t}je.href=we.href,E.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:we.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(we.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Pe,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":E.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(t,e){return e?Be(Be(t,E.ajaxSettings),e):Be(E.ajaxSettings,t)},ajaxPrefilter:He(Ne),ajaxTransport:He(Me),ajax:function(t,e){"object"==typeof t&&(e=t,t=void 0),e=e||{};var h,d,u,i,p,n,f,m,s,r,g=E.ajaxSetup({},e),v=g.context||g,y=g.context&&(v.nodeType||v.jquery)?E(v):E.event,b=E.Deferred(),w=E.Callbacks("once memory"),_=g.statusCode||{},o={},a={},l="canceled",x={readyState:0,getResponseHeader:function(t){var e;if(f){if(!i)for(i={};e=Ae.exec(u);)i[e[1].toLowerCase()]=e[2];e=i[t.toLowerCase()]}return null==e?null:e},getAllResponseHeaders:function(){return f?u:null},setRequestHeader:function(t,e){return null==f&&(t=a[t.toLowerCase()]=a[t.toLowerCase()]||t,o[t]=e),this},overrideMimeType:function(t){return null==f&&(g.mimeType=t),this},statusCode:function(t){var e;if(t)if(f)x.always(t[x.status]);else for(e in t)_[e]=[_[e],t[e]];return this},abort:function(t){var e=t||l;return h&&h.abort(e),c(0,e),this}};if(b.promise(x),g.url=((t||g.url||we.href)+"").replace(Le,we.protocol+"//"),g.type=e.method||e.type||g.method||g.type,g.dataTypes=(g.dataType||"*").toLowerCase().match(P)||[""],null==g.crossDomain){n=k.createElement("a");try{n.href=g.url,n.href=n.href,g.crossDomain=je.protocol+"//"+je.host!=n.protocol+"//"+n.host}catch(t){g.crossDomain=!0}}if(g.data&&g.processData&&"string"!=typeof g.data&&(g.data=E.param(g.data,g.traditional)),Re(Ne,g,e,x),f)return x;for(s in(m=E.event&&g.global)&&0==E.active++&&E.event.trigger("ajaxStart"),g.type=g.type.toUpperCase(),g.hasContent=!Oe.test(g.type),d=g.url.replace(Ie,""),g.hasContent?g.data&&g.processData&&0===(g.contentType||"").indexOf("application/x-www-form-urlencoded")&&(g.data=g.data.replace(Te,"+")):(r=g.url.slice(d.length),g.data&&(g.processData||"string"==typeof g.data)&&(d+=(xe.test(d)?"&":"?")+g.data,delete g.data),!1===g.cache&&(d=d.replace(Se,"$1"),r=(xe.test(d)?"&":"?")+"_="+_e+++r),g.url=d+r),g.ifModified&&(E.lastModified[d]&&x.setRequestHeader("If-Modified-Since",E.lastModified[d]),E.etag[d]&&x.setRequestHeader("If-None-Match",E.etag[d])),(g.data&&g.hasContent&&!1!==g.contentType||e.contentType)&&x.setRequestHeader("Content-Type",g.contentType),x.setRequestHeader("Accept",g.dataTypes[0]&&g.accepts[g.dataTypes[0]]?g.accepts[g.dataTypes[0]]+("*"!==g.dataTypes[0]?", "+Pe+"; q=0.01":""):g.accepts["*"]),g.headers)x.setRequestHeader(s,g.headers[s]);if(g.beforeSend&&(!1===g.beforeSend.call(v,x,g)||f))return x.abort();if(l="abort",w.add(g.complete),x.done(g.success),x.fail(g.error),h=Re(Me,g,e,x)){if(x.readyState=1,m&&y.trigger("ajaxSend",[x,g]),f)return x;g.async&&0<g.timeout&&(p=C.setTimeout(function(){x.abort("timeout")},g.timeout));try{f=!1,h.send(o,c)}catch(t){if(f)throw t;c(-1,t)}}else c(-1,"No Transport");function c(t,e,i,n){var s,r,o,a,l,c=e;f||(f=!0,p&&C.clearTimeout(p),h=void 0,u=n||"",x.readyState=0<t?4:0,s=200<=t&&t<300||304===t,i&&(a=function(t,e,i){for(var n,s,r,o,a=t.contents,l=t.dataTypes;"*"===l[0];)l.shift(),void 0===n&&(n=t.mimeType||e.getResponseHeader("Content-Type"));if(n)for(s in a)if(a[s]&&a[s].test(n)){l.unshift(s);break}if(l[0]in i)r=l[0];else{for(s in i){if(!l[0]||t.converters[s+" "+l[0]]){r=s;break}o||(o=s)}r=r||o}if(r)return r!==l[0]&&l.unshift(r),i[r]}(g,x,i)),a=function(t,e,i,n){var s,r,o,a,l,c={},h=t.dataTypes.slice();if(h[1])for(o in t.converters)c[o.toLowerCase()]=t.converters[o];for(r=h.shift();r;)if(t.responseFields[r]&&(i[t.responseFields[r]]=e),!l&&n&&t.dataFilter&&(e=t.dataFilter(e,t.dataType)),l=r,r=h.shift())if("*"===r)r=l;else if("*"!==l&&l!==r){if(!(o=c[l+" "+r]||c["* "+r]))for(s in c)if((a=s.split(" "))[1]===r&&(o=c[l+" "+a[0]]||c["* "+a[0]])){!0===o?o=c[s]:!0!==c[s]&&(r=a[0],h.unshift(a[1]));break}if(!0!==o)if(o&&t.throws)e=o(e);else try{e=o(e)}catch(t){return{state:"parsererror",error:o?t:"No conversion from "+l+" to "+r}}}return{state:"success",data:e}}(g,a,x,s),s?(g.ifModified&&((l=x.getResponseHeader("Last-Modified"))&&(E.lastModified[d]=l),(l=x.getResponseHeader("etag"))&&(E.etag[d]=l)),204===t||"HEAD"===g.type?c="nocontent":304===t?c="notmodified":(c=a.state,r=a.data,s=!(o=a.error))):(o=c,!t&&c||(c="error",t<0&&(t=0))),x.status=t,x.statusText=(e||c)+"",s?b.resolveWith(v,[r,c,x]):b.rejectWith(v,[x,c,o]),x.statusCode(_),_=void 0,m&&y.trigger(s?"ajaxSuccess":"ajaxError",[x,g,s?r:o]),w.fireWith(v,[x,c]),m&&(y.trigger("ajaxComplete",[x,g]),--E.active||E.event.trigger("ajaxStop")))}return x},getJSON:function(t,e,i){return E.get(t,e,i,"json")},getScript:function(t,e){return E.get(t,void 0,e,"script")}}),E.each(["get","post"],function(t,s){E[s]=function(t,e,i,n){return y(e)&&(n=n||i,i=e,e=void 0),E.ajax(E.extend({url:t,type:s,dataType:n,data:e,success:i},E.isPlainObject(t)&&t))}}),E._evalUrl=function(t){return E.ajax({url:t,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,throws:!0})},E.fn.extend({wrapAll:function(t){var e;return this[0]&&(y(t)&&(t=t.call(this[0])),e=E(t,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&e.insertBefore(this[0]),e.map(function(){for(var t=this;t.firstElementChild;)t=t.firstElementChild;return t}).append(this)),this},wrapInner:function(i){return y(i)?this.each(function(t){E(this).wrapInner(i.call(this,t))}):this.each(function(){var t=E(this),e=t.contents();e.length?e.wrapAll(i):t.append(i)})},wrap:function(e){var i=y(e);return this.each(function(t){E(this).wrapAll(i?e.call(this,t):e)})},unwrap:function(t){return this.parent(t).not("body").each(function(){E(this).replaceWith(this.childNodes)}),this}}),E.expr.pseudos.hidden=function(t){return!E.expr.pseudos.visible(t)},E.expr.pseudos.visible=function(t){return!!(t.offsetWidth||t.offsetHeight||t.getClientRects().length)},E.ajaxSettings.xhr=function(){try{return new C.XMLHttpRequest}catch(t){}};var ze={0:200,1223:204},Fe=E.ajaxSettings.xhr();v.cors=!!Fe&&"withCredentials"in Fe,v.ajax=Fe=!!Fe,E.ajaxTransport(function(s){var r,o;if(v.cors||Fe&&!s.crossDomain)return{send:function(t,e){var i,n=s.xhr();if(n.open(s.type,s.url,s.async,s.username,s.password),s.xhrFields)for(i in s.xhrFields)n[i]=s.xhrFields[i];for(i in s.mimeType&&n.overrideMimeType&&n.overrideMimeType(s.mimeType),s.crossDomain||t["X-Requested-With"]||(t["X-Requested-With"]="XMLHttpRequest"),t)n.setRequestHeader(i,t[i]);r=function(t){return function(){r&&(r=o=n.onload=n.onerror=n.onabort=n.ontimeout=n.onreadystatechange=null,"abort"===t?n.abort():"error"===t?"number"!=typeof n.status?e(0,"error"):e(n.status,n.statusText):e(ze[n.status]||n.status,n.statusText,"text"!==(n.responseType||"text")||"string"!=typeof n.responseText?{binary:n.response}:{text:n.responseText},n.getAllResponseHeaders()))}},n.onload=r(),o=n.onerror=n.ontimeout=r("error"),void 0!==n.onabort?n.onabort=o:n.onreadystatechange=function(){4===n.readyState&&C.setTimeout(function(){r&&o()})},r=r("abort");try{n.send(s.hasContent&&s.data||null)}catch(t){if(r)throw t}},abort:function(){r&&r()}}}),E.ajaxPrefilter(function(t){t.crossDomain&&(t.contents.script=!1)}),E.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(t){return E.globalEval(t),t}}}),E.ajaxPrefilter("script",function(t){void 0===t.cache&&(t.cache=!1),t.crossDomain&&(t.type="GET")}),E.ajaxTransport("script",function(i){var n,s;if(i.crossDomain)return{send:function(t,e){n=E("<script>").prop({charset:i.scriptCharset,src:i.url}).on("load error",s=function(t){n.remove(),s=null,t&&e("error"===t.type?404:200,t.type)}),k.head.appendChild(n[0])},abort:function(){s&&s()}}});var We,qe=[],Ye=/(=)\?(?=&|$)|\?\?/;E.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var t=qe.pop()||E.expando+"_"+_e++;return this[t]=!0,t}}),E.ajaxPrefilter("json jsonp",function(t,e,i){var n,s,r,o=!1!==t.jsonp&&(Ye.test(t.url)?"url":"string"==typeof t.data&&0===(t.contentType||"").indexOf("application/x-www-form-urlencoded")&&Ye.test(t.data)&&"data");if(o||"jsonp"===t.dataTypes[0])return n=t.jsonpCallback=y(t.jsonpCallback)?t.jsonpCallback():t.jsonpCallback,o?t[o]=t[o].replace(Ye,"$1"+n):!1!==t.jsonp&&(t.url+=(xe.test(t.url)?"&":"?")+t.jsonp+"="+n),t.converters["script json"]=function(){return r||E.error(n+" was not called"),r[0]},t.dataTypes[0]="json",s=C[n],C[n]=function(){r=arguments},i.always(function(){void 0===s?E(C).removeProp(n):C[n]=s,t[n]&&(t.jsonpCallback=e.jsonpCallback,qe.push(n)),r&&y(s)&&s(r[0]),r=s=void 0}),"script"}),v.createHTMLDocument=((We=k.implementation.createHTMLDocument("").body).innerHTML="<form></form><form></form>",2===We.childNodes.length),E.parseHTML=function(t,e,i){return"string"!=typeof t?[]:("boolean"==typeof e&&(i=e,e=!1),e||(v.createHTMLDocument?((n=(e=k.implementation.createHTMLDocument("")).createElement("base")).href=k.location.href,e.head.appendChild(n)):e=k),r=!i&&[],(s=I.exec(t))?[e.createElement(s[1])]:(s=yt([t],e,r),r&&r.length&&E(r).remove(),E.merge([],s.childNodes)));var n,s,r},E.fn.load=function(t,e,i){var n,s,r,o=this,a=t.indexOf(" ");return-1<a&&(n=fe(t.slice(a)),t=t.slice(0,a)),y(e)?(i=e,e=void 0):e&&"object"==typeof e&&(s="POST"),0<o.length&&E.ajax({url:t,type:s||"GET",dataType:"html",data:e}).done(function(t){r=arguments,o.html(n?E("<div>").append(E.parseHTML(t)).find(n):t)}).always(i&&function(t,e){o.each(function(){i.apply(this,r||[t.responseText,e,t])})}),this},E.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(t,e){E.fn[e]=function(t){return this.on(e,t)}}),E.expr.pseudos.animated=function(e){return E.grep(E.timers,function(t){return e===t.elem}).length},E.offset={setOffset:function(t,e,i){var n,s,r,o,a,l,c=E.css(t,"position"),h=E(t),d={};"static"===c&&(t.style.position="relative"),a=h.offset(),r=E.css(t,"top"),l=E.css(t,"left"),s=("absolute"===c||"fixed"===c)&&-1<(r+l).indexOf("auto")?(o=(n=h.position()).top,n.left):(o=parseFloat(r)||0,parseFloat(l)||0),y(e)&&(e=e.call(t,i,E.extend({},a))),null!=e.top&&(d.top=e.top-a.top+o),null!=e.left&&(d.left=e.left-a.left+s),"using"in e?e.using.call(t,d):h.css(d)}},E.fn.extend({offset:function(e){if(arguments.length)return void 0===e?this:this.each(function(t){E.offset.setOffset(this,e,t)});var t,i,n=this[0];return n?n.getClientRects().length?(t=n.getBoundingClientRect(),i=n.ownerDocument.defaultView,{top:t.top+i.pageYOffset,left:t.left+i.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var t,e,i,n=this[0],s={top:0,left:0};if("fixed"===E.css(n,"position"))e=n.getBoundingClientRect();else{for(e=this.offset(),i=n.ownerDocument,t=n.offsetParent||i.documentElement;t&&(t===i.body||t===i.documentElement)&&"static"===E.css(t,"position");)t=t.parentNode;t&&t!==n&&1===t.nodeType&&((s=E(t).offset()).top+=E.css(t,"borderTopWidth",!0),s.left+=E.css(t,"borderLeftWidth",!0))}return{top:e.top-s.top-E.css(n,"marginTop",!0),left:e.left-s.left-E.css(n,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var t=this.offsetParent;t&&"static"===E.css(t,"position");)t=t.offsetParent;return t||bt})}}),E.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(e,s){var r="pageYOffset"===s;E.fn[e]=function(t){return W(this,function(t,e,i){var n;if(b(t)?n=t:9===t.nodeType&&(n=t.defaultView),void 0===i)return n?n[s]:t[e];n?n.scrollTo(r?n.pageXOffset:i,r?i:n.pageYOffset):t[e]=i},e,t,arguments.length)}}),E.each(["top","left"],function(t,i){E.cssHooks[i]=zt(v.pixelPosition,function(t,e){if(e)return e=Bt(t,i),jt.test(e)?E(t).position()[i]+"px":e})}),E.each({Height:"height",Width:"width"},function(o,a){E.each({padding:"inner"+o,content:a,"":"outer"+o},function(n,r){E.fn[r]=function(t,e){var i=arguments.length&&(n||"boolean"!=typeof t),s=n||(!0===t||!0===e?"margin":"border");return W(this,function(t,e,i){var n;return b(t)?0===r.indexOf("outer")?t["inner"+o]:t.document.documentElement["client"+o]:9===t.nodeType?(n=t.documentElement,Math.max(t.body["scroll"+o],n["scroll"+o],t.body["offset"+o],n["offset"+o],n["client"+o])):void 0===i?E.css(t,e,s):E.style(t,e,i,s)},a,i?t:void 0,i)}})}),E.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(t,i){E.fn[i]=function(t,e){return 0<arguments.length?this.on(i,null,t,e):this.trigger(i)}}),E.fn.extend({hover:function(t,e){return this.mouseenter(t).mouseleave(e||t)}}),E.fn.extend({bind:function(t,e,i){return this.on(t,null,e,i)},unbind:function(t,e){return this.off(t,null,e)},delegate:function(t,e,i,n){return this.on(e,t,i,n)},undelegate:function(t,e,i){return 1===arguments.length?this.off(t,"**"):this.off(e,t||"**",i)}}),E.proxy=function(t,e){var i,n,s;if("string"==typeof e&&(i=t[e],e=t,t=i),y(t))return n=a.call(arguments,2),(s=function(){return t.apply(e||this,n.concat(a.call(arguments)))}).guid=t.guid=t.guid||E.guid++,s},E.holdReady=function(t){t?E.readyWait++:E.ready(!0)},E.isArray=Array.isArray,E.parseJSON=JSON.parse,E.nodeName=T,E.isFunction=y,E.isWindow=b,E.camelCase=K,E.type=_,E.now=Date.now,E.isNumeric=function(t){var e=E.type(t);return("number"===e||"string"===e)&&!isNaN(t-parseFloat(t))},"function"==typeof define&&define.amd&&define("jquery",[],function(){return E});var Ue=C.jQuery,Ke=C.$;return E.noConflict=function(t){return C.$===E&&(C.$=Ke),t&&C.jQuery===E&&(C.jQuery=Ue),E},t||(C.jQuery=C.$=E),E}),function(e){"function"==typeof define&&define.amd?define(["jquery"],function(t){return e(t)}):"object"==typeof module&&"object"==typeof module.exports?exports=e(require("jquery")):e(jQuery)}(function(e){e.easing.jswing=e.easing.swing;var i=Math.pow,n=Math.sqrt,s=Math.sin,r=Math.cos,o=Math.PI,a=1.70158,l=1.525*a,c=2*o/3,h=2*o/4.5;function d(t){var e=7.5625,i=2.75;return t<1/i?e*t*t:t<2/i?e*(t-=1.5/i)*t+.75:t<2.5/i?e*(t-=2.25/i)*t+.9375:e*(t-=2.625/i)*t+.984375}e.extend(e.easing,{def:"easeOutQuad",swing:function(t){return e.easing[e.easing.def](t)},easeInQuad:function(t){return t*t},easeOutQuad:function(t){return 1-(1-t)*(1-t)},easeInOutQuad:function(t){return t<.5?2*t*t:1-i(-2*t+2,2)/2},easeInCubic:function(t){return t*t*t},easeOutCubic:function(t){return 1-i(1-t,3)},easeInOutCubic:function(t){return t<.5?4*t*t*t:1-i(-2*t+2,3)/2},easeInQuart:function(t){return t*t*t*t},easeOutQuart:function(t){return 1-i(1-t,4)},easeInOutQuart:function(t){return t<.5?8*t*t*t*t:1-i(-2*t+2,4)/2},easeInQuint:function(t){return t*t*t*t*t},easeOutQuint:function(t){return 1-i(1-t,5)},easeInOutQuint:function(t){return t<.5?16*t*t*t*t*t:1-i(-2*t+2,5)/2},easeInSine:function(t){return 1-r(t*o/2)},easeOutSine:function(t){return s(t*o/2)},easeInOutSine:function(t){return-(r(o*t)-1)/2},easeInExpo:function(t){return 0===t?0:i(2,10*t-10)},easeOutExpo:function(t){return 1===t?1:1-i(2,-10*t)},easeInOutExpo:function(t){return 0===t?0:1===t?1:t<.5?i(2,20*t-10)/2:(2-i(2,-20*t+10))/2},easeInCirc:function(t){return 1-n(1-i(t,2))},easeOutCirc:function(t){return n(1-i(t-1,2))},easeInOutCirc:function(t){return t<.5?(1-n(1-i(2*t,2)))/2:(n(1-i(-2*t+2,2))+1)/2},easeInElastic:function(t){return 0===t?0:1===t?1:-i(2,10*t-10)*s((10*t-10.75)*c)},easeOutElastic:function(t){return 0===t?0:1===t?1:i(2,-10*t)*s((10*t-.75)*c)+1},easeInOutElastic:function(t){return 0===t?0:1===t?1:t<.5?-i(2,20*t-10)*s((20*t-11.125)*h)/2:i(2,-20*t+10)*s((20*t-11.125)*h)/2+1},easeInBack:function(t){return 2.70158*t*t*t-a*t*t},easeOutBack:function(t){return 1+2.70158*i(t-1,3)+a*i(t-1,2)},easeInOutBack:function(t){return t<.5?i(2*t,2)*(7.189819*t-l)/2:(i(2*t-2,2)*((l+1)*(2*t-2)+l)+2)/2},easeInBounce:function(t){return 1-d(1-t)},easeOutBounce:d,easeInOutBounce:function(t){return t<.5?(1-d(1-2*t))/2:(1+d(2*t-1))/2}})}),function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):t.Popper=e()}(this,function(){"use strict";for(var t="undefined"!=typeof window&&"undefined"!=typeof document,e=["Edge","Trident","Firefox"],i=0,n=0;n<e.length;n+=1)if(t&&0<=navigator.userAgent.indexOf(e[n])){i=1;break}var o=t&&window.Promise?function(t){var e=!1;return function(){e||(e=!0,window.Promise.resolve().then(function(){e=!1,t()}))}}:function(t){var e=!1;return function(){e||(e=!0,setTimeout(function(){e=!1,t()},i))}};function a(t){return t&&"[object Function]"==={}.toString.call(t)}function w(t,e){if(1!==t.nodeType)return[];var i=t.ownerDocument.defaultView.getComputedStyle(t,null);return e?i[e]:i}function p(t){return"HTML"===t.nodeName?t:t.parentNode||t.host}function f(t){if(!t)return document.body;switch(t.nodeName){case"HTML":case"BODY":return t.ownerDocument.body;case"#document":return t.body}var e=w(t),i=e.overflow,n=e.overflowX,s=e.overflowY;return/(auto|scroll|overlay)/.test(i+s+n)?t:f(p(t))}var s=t&&!(!window.MSInputMethodContext||!document.documentMode),r=t&&/MSIE 10/.test(navigator.userAgent);function m(t){return 11===t?s:10===t?r:s||r}function A(t){if(!t)return document.documentElement;for(var e=m(10)?document.body:null,i=t.offsetParent||null;i===e&&t.nextElementSibling;)i=(t=t.nextElementSibling).offsetParent;var n=i&&i.nodeName;return n&&"BODY"!==n&&"HTML"!==n?-1!==["TH","TD","TABLE"].indexOf(i.nodeName)&&"static"===w(i,"position")?A(i):i:t?t.ownerDocument.documentElement:document.documentElement}function h(t){return null!==t.parentNode?h(t.parentNode):t}function g(t,e){if(!(t&&t.nodeType&&e&&e.nodeType))return document.documentElement;var i=t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_FOLLOWING,n=i?t:e,s=i?e:t,r=document.createRange();r.setStart(n,0),r.setEnd(s,0);var o,a,l=r.commonAncestorContainer;if(t!==l&&e!==l||n.contains(s))return"BODY"===(a=(o=l).nodeName)||"HTML"!==a&&A(o.firstElementChild)!==o?A(l):l;var c=h(t);return c.host?g(c.host,e):g(t,h(e).host)}function v(t){var e="top"===(1<arguments.length&&void 0!==arguments[1]?arguments[1]:"top")?"scrollTop":"scrollLeft",i=t.nodeName;if("BODY"!==i&&"HTML"!==i)return t[e];var n=t.ownerDocument.documentElement;return(t.ownerDocument.scrollingElement||n)[e]}function d(t,e){var i="x"===e?"Left":"Top",n="Left"===i?"Right":"Bottom";return parseFloat(t["border"+i+"Width"],10)+parseFloat(t["border"+n+"Width"],10)}function l(t,e,i,n){return Math.max(e["offset"+t],e["scroll"+t],i["client"+t],i["offset"+t],i["scroll"+t],m(10)?parseInt(i["offset"+t])+parseInt(n["margin"+("Height"===t?"Top":"Left")])+parseInt(n["margin"+("Height"===t?"Bottom":"Right")]):0)}function y(t){var e=t.body,i=t.documentElement,n=m(10)&&getComputedStyle(i);return{height:l("Height",e,i,n),width:l("Width",e,i,n)}}var c=function(){function n(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(t,e,i){return e&&n(t.prototype,e),i&&n(t,i),t}}(),_=function(t,e,i){return e in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t},O=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var i=arguments[e];for(var n in i)Object.prototype.hasOwnProperty.call(i,n)&&(t[n]=i[n])}return t};function x(t){return O({},t,{right:t.left+t.width,bottom:t.top+t.height})}function L(t){var e={};try{if(m(10)){e=t.getBoundingClientRect();var i=v(t,"top"),n=v(t,"left");e.top+=i,e.left+=n,e.bottom+=i,e.right+=n}else e=t.getBoundingClientRect()}catch(t){}var s={left:e.left,top:e.top,width:e.right-e.left,height:e.bottom-e.top},r="HTML"===t.nodeName?y(t.ownerDocument):{},o=r.width||t.clientWidth||s.right-s.left,a=r.height||t.clientHeight||s.bottom-s.top,l=t.offsetWidth-o,c=t.offsetHeight-a;if(l||c){var h=w(t);l-=d(h,"x"),c-=d(h,"y"),s.width-=l,s.height-=c}return x(s)}function b(t,e){var i=2<arguments.length&&void 0!==arguments[2]&&arguments[2],n=m(10),s="HTML"===e.nodeName,r=L(t),o=L(e),a=f(t),l=w(e),c=parseFloat(l.borderTopWidth,10),h=parseFloat(l.borderLeftWidth,10);i&&s&&(o.top=Math.max(o.top,0),o.left=Math.max(o.left,0));var d=x({top:r.top-o.top-c,left:r.left-o.left-h,width:r.width,height:r.height});if(d.marginTop=0,d.marginLeft=0,!n&&s){var u=parseFloat(l.marginTop,10),p=parseFloat(l.marginLeft,10);d.top-=c-u,d.bottom-=c-u,d.left-=h-p,d.right-=h-p,d.marginTop=u,d.marginLeft=p}return(n&&!i?e.contains(a):e===a&&"BODY"!==a.nodeName)&&(d=function(t,e){var i=2<arguments.length&&void 0!==arguments[2]&&arguments[2],n=v(e,"top"),s=v(e,"left"),r=i?-1:1;return t.top+=n*r,t.bottom+=n*r,t.left+=s*r,t.right+=s*r,t}(d,e)),d}function C(t){if(!t||!t.parentElement||m())return document.documentElement;for(var e=t.parentElement;e&&"none"===w(e,"transform");)e=e.parentElement;return e||document.documentElement}function u(t,e,i,n){var s=4<arguments.length&&void 0!==arguments[4]&&arguments[4],r={top:0,left:0},o=s?C(t):g(t,e);if("viewport"===n)r=function(t){var e=1<arguments.length&&void 0!==arguments[1]&&arguments[1],i=t.ownerDocument.documentElement,n=b(t,i),s=Math.max(i.clientWidth,window.innerWidth||0),r=Math.max(i.clientHeight,window.innerHeight||0),o=e?0:v(i),a=e?0:v(i,"left");return x({top:o-n.top+n.marginTop,left:a-n.left+n.marginLeft,width:s,height:r})}(o,s);else{var a=void 0;"scrollParent"===n?"BODY"===(a=f(p(e))).nodeName&&(a=t.ownerDocument.documentElement):a="window"===n?t.ownerDocument.documentElement:n;var l=b(a,o,s);if("HTML"!==a.nodeName||function t(e){var i=e.nodeName;return"BODY"!==i&&"HTML"!==i&&("fixed"===w(e,"position")||t(p(e)))}(o))r=l;else{var c=y(t.ownerDocument),h=c.height,d=c.width;r.top+=l.top-l.marginTop,r.bottom=h+l.top,r.left+=l.left-l.marginLeft,r.right=d+l.left}}var u="number"==typeof(i=i||0);return r.left+=u?i:i.left||0,r.top+=u?i:i.top||0,r.right-=u?i:i.right||0,r.bottom-=u?i:i.bottom||0,r}function k(t,e,n,i,s){var r=5<arguments.length&&void 0!==arguments[5]?arguments[5]:0;if(-1===t.indexOf("auto"))return t;var o=u(n,i,r,s),a={top:{width:o.width,height:e.top-o.top},right:{width:o.right-e.right,height:o.height},bottom:{width:o.width,height:o.bottom-e.bottom},left:{width:e.left-o.left,height:o.height}},l=Object.keys(a).map(function(t){return O({key:t},a[t],{area:(e=a[t],e.width*e.height)});var e}).sort(function(t,e){return e.area-t.area}),c=l.filter(function(t){var e=t.width,i=t.height;return e>=n.clientWidth&&i>=n.clientHeight}),h=0<c.length?c[0].key:l[0].key,d=t.split("-")[1];return h+(d?"-"+d:"")}function E(t,e,i){var n=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return b(i,n?C(e):g(e,i),n)}function $(t){var e=t.ownerDocument.defaultView.getComputedStyle(t),i=parseFloat(e.marginTop||0)+parseFloat(e.marginBottom||0),n=parseFloat(e.marginLeft||0)+parseFloat(e.marginRight||0);return{width:t.offsetWidth+n,height:t.offsetHeight+i}}function D(t){var e={left:"right",right:"left",bottom:"top",top:"bottom"};return t.replace(/left|right|bottom|top/g,function(t){return e[t]})}function T(t,e,i){i=i.split("-")[0];var n=$(t),s={width:n.width,height:n.height},r=-1!==["right","left"].indexOf(i),o=r?"top":"left",a=r?"left":"top",l=r?"height":"width",c=r?"width":"height";return s[o]=e[o]+e[l]/2-n[l]/2,s[a]=i===a?e[a]-n[c]:e[D(a)],s}function N(t,e){return Array.prototype.find?t.find(e):t.filter(e)[0]}function I(t,i,e){return(void 0===e?t:t.slice(0,function(t,e,i){if(Array.prototype.findIndex)return t.findIndex(function(t){return t[e]===i});var n=N(t,function(t){return t[e]===i});return t.indexOf(n)}(t,"name",e))).forEach(function(t){t.function&&console.warn("`modifier.function` is deprecated, use `modifier.fn`!");var e=t.function||t.fn;t.enabled&&a(e)&&(i.offsets.popper=x(i.offsets.popper),i.offsets.reference=x(i.offsets.reference),i=e(i,t))}),i}function S(t,i){return t.some(function(t){var e=t.name;return t.enabled&&e===i})}function M(t){for(var e=[!1,"ms","Webkit","Moz","O"],i=t.charAt(0).toUpperCase()+t.slice(1),n=0;n<e.length;n++){var s=e[n],r=s?""+s+i:t;if(void 0!==document.body.style[r])return r}return null}function P(t){var e=t.ownerDocument;return e?e.defaultView:window}function j(t,e,i,n){i.updateBound=n,P(t).addEventListener("resize",i.updateBound,{passive:!0});var s=f(t);return function t(e,i,n,s){var r="BODY"===e.nodeName,o=r?e.ownerDocument.defaultView:e;o.addEventListener(i,n,{passive:!0}),r||t(f(o.parentNode),i,n,s),s.push(o)}(s,"scroll",i.updateBound,i.scrollParents),i.scrollElement=s,i.eventsEnabled=!0,i}function H(){var t,e;this.state.eventsEnabled&&(cancelAnimationFrame(this.scheduleUpdate),this.state=(t=this.reference,e=this.state,P(t).removeEventListener("resize",e.updateBound),e.scrollParents.forEach(function(t){t.removeEventListener("scroll",e.updateBound)}),e.updateBound=null,e.scrollParents=[],e.scrollElement=null,e.eventsEnabled=!1,e))}function R(t){return""!==t&&!isNaN(parseFloat(t))&&isFinite(t)}function B(i,n){Object.keys(n).forEach(function(t){var e="";-1!==["width","height","top","right","bottom","left"].indexOf(t)&&R(n[t])&&(e="px"),i.style[t]=n[t]+e})}var z=t&&/Firefox/i.test(navigator.userAgent);function F(t,e,i){var n=N(t,function(t){return t.name===e}),s=!!n&&t.some(function(t){return t.name===i&&t.enabled&&t.order<n.order});if(!s){var r="`"+e+"`",o="`"+i+"`";console.warn(o+" modifier is required by "+r+" modifier in order to work, be sure to include it before "+r+"!")}return s}var W=["auto-start","auto","auto-end","top-start","top","top-end","right-start","right","right-end","bottom-end","bottom","bottom-start","left-end","left","left-start"],q=W.slice(3);function Y(t){var e=1<arguments.length&&void 0!==arguments[1]&&arguments[1],i=q.indexOf(t),n=q.slice(i+1).concat(q.slice(0,i));return e?n.reverse():n}var U="flip",K="clockwise",V="counterclockwise";function G(t,s,r,e){var o=[0,0],a=-1!==["right","left"].indexOf(e),i=t.split(/(\+|\-)/).map(function(t){return t.trim()}),n=i.indexOf(N(i,function(t){return-1!==t.search(/,|\s/)}));i[n]&&-1===i[n].indexOf(",")&&console.warn("Offsets separated by white space(s) are deprecated, use a comma (,) instead.");var l=/\s*,\s*|\s+/,c=-1!==n?[i.slice(0,n).concat([i[n].split(l)[0]]),[i[n].split(l)[1]].concat(i.slice(n+1))]:[i];return(c=c.map(function(t,e){var i=(1===e?!a:a)?"height":"width",n=!1;return t.reduce(function(t,e){return""===t[t.length-1]&&-1!==["+","-"].indexOf(e)?(t[t.length-1]=e,n=!0,t):n?(t[t.length-1]+=e,n=!1,t):t.concat(e)},[]).map(function(t){return function(t,e,i,n){var s=t.match(/((?:\-|\+)?\d*\.?\d*)(.*)/),r=+s[1],o=s[2];if(!r)return t;if(0!==o.indexOf("%"))return"vh"!==o&&"vw"!==o?r:("vh"===o?Math.max(document.documentElement.clientHeight,window.innerHeight||0):Math.max(document.documentElement.clientWidth,window.innerWidth||0))/100*r;var a=void 0;switch(o){case"%p":a=i;break;case"%":case"%r":default:a=n}return x(a)[e]/100*r}(t,i,s,r)})})).forEach(function(i,n){i.forEach(function(t,e){R(t)&&(o[n]+=t*("-"===i[e-1]?-1:1))})}),o}var Q={placement:"bottom",positionFixed:!1,eventsEnabled:!0,removeOnDestroy:!1,onCreate:function(){},onUpdate:function(){},modifiers:{shift:{order:100,enabled:!0,fn:function(t){var e=t.placement,i=e.split("-")[0],n=e.split("-")[1];if(n){var s=t.offsets,r=s.reference,o=s.popper,a=-1!==["bottom","top"].indexOf(i),l=a?"left":"top",c=a?"width":"height",h={start:_({},l,r[l]),end:_({},l,r[l]+r[c]-o[c])};t.offsets.popper=O({},o,h[n])}return t}},offset:{order:200,enabled:!0,fn:function(t,e){var i=e.offset,n=t.placement,s=t.offsets,r=s.popper,o=s.reference,a=n.split("-")[0],l=void 0;return l=R(+i)?[+i,0]:G(i,r,o,a),"left"===a?(r.top+=l[0],r.left-=l[1]):"right"===a?(r.top+=l[0],r.left+=l[1]):"top"===a?(r.left+=l[0],r.top-=l[1]):"bottom"===a&&(r.left+=l[0],r.top+=l[1]),t.popper=r,t},offset:0},preventOverflow:{order:300,enabled:!0,fn:function(t,n){var e=n.boundariesElement||A(t.instance.popper);t.instance.reference===e&&(e=A(e));var i=M("transform"),s=t.instance.popper.style,r=s.top,o=s.left,a=s[i];s.top="",s.left="",s[i]="";var l=u(t.instance.popper,t.instance.reference,n.padding,e,t.positionFixed);s.top=r,s.left=o,s[i]=a,n.boundaries=l;var c=n.priority,h=t.offsets.popper,d={primary:function(t){var e=h[t];return h[t]<l[t]&&!n.escapeWithReference&&(e=Math.max(h[t],l[t])),_({},t,e)},secondary:function(t){var e="right"===t?"left":"top",i=h[e];return h[t]>l[t]&&!n.escapeWithReference&&(i=Math.min(h[e],l[t]-("right"===t?h.width:h.height))),_({},e,i)}};return c.forEach(function(t){var e=-1!==["left","top"].indexOf(t)?"primary":"secondary";h=O({},h,d[e](t))}),t.offsets.popper=h,t},priority:["left","right","top","bottom"],padding:5,boundariesElement:"scrollParent"},keepTogether:{order:400,enabled:!0,fn:function(t){var e=t.offsets,i=e.popper,n=e.reference,s=t.placement.split("-")[0],r=Math.floor,o=-1!==["top","bottom"].indexOf(s),a=o?"right":"bottom",l=o?"left":"top",c=o?"width":"height";return i[a]<r(n[l])&&(t.offsets.popper[l]=r(n[l])-i[c]),i[l]>r(n[a])&&(t.offsets.popper[l]=r(n[a])),t}},arrow:{order:500,enabled:!0,fn:function(t,e){var i;if(!F(t.instance.modifiers,"arrow","keepTogether"))return t;var n=e.element;if("string"==typeof n){if(!(n=t.instance.popper.querySelector(n)))return t}else if(!t.instance.popper.contains(n))return console.warn("WARNING: `arrow.element` must be child of its popper element!"),t;var s=t.placement.split("-")[0],r=t.offsets,o=r.popper,a=r.reference,l=-1!==["left","right"].indexOf(s),c=l?"height":"width",h=l?"Top":"Left",d=h.toLowerCase(),u=l?"left":"top",p=l?"bottom":"right",f=$(n)[c];a[p]-f<o[d]&&(t.offsets.popper[d]-=o[d]-(a[p]-f)),a[d]+f>o[p]&&(t.offsets.popper[d]+=a[d]+f-o[p]),t.offsets.popper=x(t.offsets.popper);var m=a[d]+a[c]/2-f/2,g=w(t.instance.popper),v=parseFloat(g["margin"+h],10),y=parseFloat(g["border"+h+"Width"],10),b=m-t.offsets.popper[d]-v-y;return b=Math.max(Math.min(o[c]-f,b),0),t.arrowElement=n,t.offsets.arrow=(_(i={},d,Math.round(b)),_(i,u,""),i),t},element:"[x-arrow]"},flip:{order:600,enabled:!0,fn:function(f,m){if(S(f.instance.modifiers,"inner"))return f;if(f.flipped&&f.placement===f.originalPlacement)return f;var g=u(f.instance.popper,f.instance.reference,m.padding,m.boundariesElement,f.positionFixed),v=f.placement.split("-")[0],y=D(v),b=f.placement.split("-")[1]||"",w=[];switch(m.behavior){case U:w=[v,y];break;case K:w=Y(v);break;case V:w=Y(v,!0);break;default:w=m.behavior}return w.forEach(function(t,e){if(v!==t||w.length===e+1)return f;v=f.placement.split("-")[0],y=D(v);var i,n=f.offsets.popper,s=f.offsets.reference,r=Math.floor,o="left"===v&&r(n.right)>r(s.left)||"right"===v&&r(n.left)<r(s.right)||"top"===v&&r(n.bottom)>r(s.top)||"bottom"===v&&r(n.top)<r(s.bottom),a=r(n.left)<r(g.left),l=r(n.right)>r(g.right),c=r(n.top)<r(g.top),h=r(n.bottom)>r(g.bottom),d="left"===v&&a||"right"===v&&l||"top"===v&&c||"bottom"===v&&h,u=-1!==["top","bottom"].indexOf(v),p=!!m.flipVariations&&(u&&"start"===b&&a||u&&"end"===b&&l||!u&&"start"===b&&c||!u&&"end"===b&&h);(o||d||p)&&(f.flipped=!0,(o||d)&&(v=w[e+1]),p&&(b="end"===(i=b)?"start":"start"===i?"end":i),f.placement=v+(b?"-"+b:""),f.offsets.popper=O({},f.offsets.popper,T(f.instance.popper,f.offsets.reference,f.placement)),f=I(f.instance.modifiers,f,"flip"))}),f},behavior:"flip",padding:5,boundariesElement:"viewport"},inner:{order:700,enabled:!1,fn:function(t){var e=t.placement,i=e.split("-")[0],n=t.offsets,s=n.popper,r=n.reference,o=-1!==["left","right"].indexOf(i),a=-1===["top","left"].indexOf(i);return s[o?"left":"top"]=r[i]-(a?s[o?"width":"height"]:0),t.placement=D(e),t.offsets.popper=x(s),t}},hide:{order:800,enabled:!0,fn:function(t){if(!F(t.instance.modifiers,"hide","preventOverflow"))return t;var e=t.offsets.reference,i=N(t.instance.modifiers,function(t){return"preventOverflow"===t.name}).boundaries;if(e.bottom<i.top||e.left>i.right||e.top>i.bottom||e.right<i.left){if(!0===t.hide)return t;t.hide=!0,t.attributes["x-out-of-boundaries"]=""}else{if(!1===t.hide)return t;t.hide=!1,t.attributes["x-out-of-boundaries"]=!1}return t}},computeStyle:{order:850,enabled:!0,fn:function(t,e){var i=e.x,n=e.y,s=t.offsets.popper,r=N(t.instance.modifiers,function(t){return"applyStyle"===t.name}).gpuAcceleration;void 0!==r&&console.warn("WARNING: `gpuAcceleration` option moved to `computeStyle` modifier and will not be supported in future versions of Popper.js!");var o,a,l,c,h,d,u,p,f,m,g,v,y=void 0!==r?r:e.gpuAcceleration,b=A(t.instance.popper),w=L(b),_={position:s.position},x=(o=t,a=window.devicePixelRatio<2||!z,l=o.offsets,c=l.popper,h=l.reference,d=-1!==["left","right"].indexOf(o.placement),u=-1!==o.placement.indexOf("-"),p=h.width%2==c.width%2,f=h.width%2==1&&c.width%2==1,m=function(t){return t},g=a?d||u||p?Math.round:Math.floor:m,v=a?Math.round:m,{left:g(f&&!u&&a?c.left-1:c.left),top:v(c.top),bottom:v(c.bottom),right:g(c.right)}),C="bottom"===i?"top":"bottom",k="right"===n?"left":"right",E=M("transform"),$=void 0,D=void 0;if(D="bottom"===C?"HTML"===b.nodeName?-b.clientHeight+x.bottom:-w.height+x.bottom:x.top,$="right"===k?"HTML"===b.nodeName?-b.clientWidth+x.right:-w.width+x.right:x.left,y&&E)_[E]="translate3d("+$+"px, "+D+"px, 0)",_[C]=0,_[k]=0,_.willChange="transform";else{var T="bottom"===C?-1:1,I="right"===k?-1:1;_[C]=D*T,_[k]=$*I,_.willChange=C+", "+k}var S={"x-placement":t.placement};return t.attributes=O({},S,t.attributes),t.styles=O({},_,t.styles),t.arrowStyles=O({},t.offsets.arrow,t.arrowStyles),t},gpuAcceleration:!0,x:"bottom",y:"right"},applyStyle:{order:900,enabled:!0,fn:function(t){var e,i;return B(t.instance.popper,t.styles),e=t.instance.popper,i=t.attributes,Object.keys(i).forEach(function(t){!1!==i[t]?e.setAttribute(t,i[t]):e.removeAttribute(t)}),t.arrowElement&&Object.keys(t.arrowStyles).length&&B(t.arrowElement,t.arrowStyles),t},onLoad:function(t,e,i,n,s){var r=E(s,e,t,i.positionFixed),o=k(i.placement,r,e,t,i.modifiers.flip.boundariesElement,i.modifiers.flip.padding);return e.setAttribute("x-placement",o),B(e,{position:i.positionFixed?"fixed":"absolute"}),i},gpuAcceleration:void 0}}},X=function(){function r(t,e){var i=this,n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:{};!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,r),this.scheduleUpdate=function(){return requestAnimationFrame(i.update)},this.update=o(this.update.bind(this)),this.options=O({},r.Defaults,n),this.state={isDestroyed:!1,isCreated:!1,scrollParents:[]},this.reference=t&&t.jquery?t[0]:t,this.popper=e&&e.jquery?e[0]:e,this.options.modifiers={},Object.keys(O({},r.Defaults.modifiers,n.modifiers)).forEach(function(t){i.options.modifiers[t]=O({},r.Defaults.modifiers[t]||{},n.modifiers?n.modifiers[t]:{})}),this.modifiers=Object.keys(this.options.modifiers).map(function(t){return O({name:t},i.options.modifiers[t])}).sort(function(t,e){return t.order-e.order}),this.modifiers.forEach(function(t){t.enabled&&a(t.onLoad)&&t.onLoad(i.reference,i.popper,i.options,t,i.state)}),this.update();var s=this.options.eventsEnabled;s&&this.enableEventListeners(),this.state.eventsEnabled=s}return c(r,[{key:"update",value:function(){return function(){if(!this.state.isDestroyed){var t={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}};t.offsets.reference=E(this.state,this.popper,this.reference,this.options.positionFixed),t.placement=k(this.options.placement,t.offsets.reference,this.popper,this.reference,this.options.modifiers.flip.boundariesElement,this.options.modifiers.flip.padding),t.originalPlacement=t.placement,t.positionFixed=this.options.positionFixed,t.offsets.popper=T(this.popper,t.offsets.reference,t.placement),t.offsets.popper.position=this.options.positionFixed?"fixed":"absolute",t=I(this.modifiers,t),this.state.isCreated?this.options.onUpdate(t):(this.state.isCreated=!0,this.options.onCreate(t))}}.call(this)}},{key:"destroy",value:function(){return function(){return this.state.isDestroyed=!0,S(this.modifiers,"applyStyle")&&(this.popper.removeAttribute("x-placement"),this.popper.style.position="",this.popper.style.top="",this.popper.style.left="",this.popper.style.right="",this.popper.style.bottom="",this.popper.style.willChange="",this.popper.style[M("transform")]=""),this.disableEventListeners(),this.options.removeOnDestroy&&this.popper.parentNode.removeChild(this.popper),this}.call(this)}},{key:"enableEventListeners",value:function(){return function(){this.state.eventsEnabled||(this.state=j(this.reference,this.options,this.state,this.scheduleUpdate))}.call(this)}},{key:"disableEventListeners",value:function(){return H.call(this)}}]),r}();return X.Utils=("undefined"!=typeof window?window:global).PopperUtils,X.placements=W,X.Defaults=Q,X}),function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports,require("popper.js"),require("jquery")):"function"==typeof define&&define.amd?define(["exports","popper.js","jquery"],e):e(t.bootstrap={},t.Popper,t.jQuery)}(this,function(t,d,f){"use strict";function n(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function o(t,e,i){return e&&n(t.prototype,e),i&&n(t,i),t}function l(s){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},e=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(e=e.concat(Object.getOwnPropertySymbols(r).filter(function(t){return Object.getOwnPropertyDescriptor(r,t).enumerable}))),e.forEach(function(t){var e,i,n;e=s,n=r[i=t],i in e?Object.defineProperty(e,i,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[i]=n})}return s}d=d&&d.hasOwnProperty("default")?d.default:d,f=f&&f.hasOwnProperty("default")?f.default:f;var e="transitionend";function i(t){var e=this,i=!1;return f(this).one(m.TRANSITION_END,function(){i=!0}),setTimeout(function(){i||m.triggerTransitionEnd(e)},t),this}var m={TRANSITION_END:"bsTransitionEnd",getUID:function(t){for(;t+=~~(1e6*Math.random()),document.getElementById(t););return t},getSelectorFromElement:function(t){var e=t.getAttribute("data-target");if(!e||"#"===e){var i=t.getAttribute("href");e=i&&"#"!==i?i.trim():""}return e&&document.querySelector(e)?e:null},getTransitionDurationFromElement:function(t){if(!t)return 0;var e=f(t).css("transition-duration"),i=f(t).css("transition-delay"),n=parseFloat(e),s=parseFloat(i);return n||s?(e=e.split(",")[0],i=i.split(",")[0],1e3*(parseFloat(e)+parseFloat(i))):0},reflow:function(t){return t.offsetHeight},triggerTransitionEnd:function(t){f(t).trigger(e)},supportsTransitionEnd:function(){return Boolean(e)},isElement:function(t){return(t[0]||t).nodeType},typeCheckConfig:function(t,e,i){for(var n in i)if(Object.prototype.hasOwnProperty.call(i,n)){var s=i[n],r=e[n],o=r&&m.isElement(r)?"element":(a=r,{}.toString.call(a).match(/\s([a-z]+)/i)[1].toLowerCase());if(!new RegExp(s).test(o))throw new Error(t.toUpperCase()+': Option "'+n+'" provided type "'+o+'" but expected type "'+s+'".')}var a},findShadowRoot:function(t){if(!document.documentElement.attachShadow)return null;if("function"!=typeof t.getRootNode)return t instanceof ShadowRoot?t:t.parentNode?m.findShadowRoot(t.parentNode):null;var e=t.getRootNode();return e instanceof ShadowRoot?e:null}};f.fn.emulateTransitionEnd=i,f.event.special[m.TRANSITION_END]={bindType:e,delegateType:e,handle:function(t){if(f(t.target).is(this))return t.handleObj.handler.apply(this,arguments)}};var s="alert",r="bs.alert",a="."+r,c=f.fn[s],h={CLOSE:"close"+a,CLOSED:"closed"+a,CLICK_DATA_API:"click"+a+".data-api"},u="alert",p="fade",g="show",v=function(){function n(t){this._element=t}var t=n.prototype;return t.close=function(t){var e=this._element;t&&(e=this._getRootElement(t)),this._triggerCloseEvent(e).isDefaultPrevented()||this._removeElement(e)},t.dispose=function(){f.removeData(this._element,r),this._element=null},t._getRootElement=function(t){var e=m.getSelectorFromElement(t),i=!1;return e&&(i=document.querySelector(e)),i||(i=f(t).closest("."+u)[0]),i},t._triggerCloseEvent=function(t){var e=f.Event(h.CLOSE);return f(t).trigger(e),e},t._removeElement=function(e){var i=this;if(f(e).removeClass(g),f(e).hasClass(p)){var t=m.getTransitionDurationFromElement(e);f(e).one(m.TRANSITION_END,function(t){return i._destroyElement(e,t)}).emulateTransitionEnd(t)}else this._destroyElement(e)},t._destroyElement=function(t){f(t).detach().trigger(h.CLOSED).remove()},n._jQueryInterface=function(i){return this.each(function(){var t=f(this),e=t.data(r);e||(e=new n(this),t.data(r,e)),"close"===i&&e[i](this)})},n._handleDismiss=function(e){return function(t){t&&t.preventDefault(),e.close(this)}},o(n,null,[{key:"VERSION",get:function(){return"4.2.1"}}]),n}();f(document).on(h.CLICK_DATA_API,'[data-dismiss="alert"]',v._handleDismiss(new v)),f.fn[s]=v._jQueryInterface,f.fn[s].Constructor=v,f.fn[s].noConflict=function(){return f.fn[s]=c,v._jQueryInterface};var y="button",b="bs.button",w="."+b,_=".data-api",x=f.fn[y],C="active",k="btn",E="focus",$='[data-toggle^="button"]',D='[data-toggle="buttons"]',T='input:not([type="hidden"])',I=".active",S=".btn",A={CLICK_DATA_API:"click"+w+_,FOCUS_BLUR_DATA_API:"focus"+w+_+" blur"+w+_},O=function(){function i(t){this._element=t}var t=i.prototype;return t.toggle=function(){var t=!0,e=!0,i=f(this._element).closest(D)[0];if(i){var n=this._element.querySelector(T);if(n){if("radio"===n.type)if(n.checked&&this._element.classList.contains(C))t=!1;else{var s=i.querySelector(I);s&&f(s).removeClass(C)}if(t){if(n.hasAttribute("disabled")||i.hasAttribute("disabled")||n.classList.contains("disabled")||i.classList.contains("disabled"))return;n.checked=!this._element.classList.contains(C),f(n).trigger("change")}n.focus(),e=!1}}e&&this._element.setAttribute("aria-pressed",!this._element.classList.contains(C)),t&&f(this._element).toggleClass(C)},t.dispose=function(){f.removeData(this._element,b),this._element=null},i._jQueryInterface=function(e){return this.each(function(){var t=f(this).data(b);t||(t=new i(this),f(this).data(b,t)),"toggle"===e&&t[e]()})},o(i,null,[{key:"VERSION",get:function(){return"4.2.1"}}]),i}();f(document).on(A.CLICK_DATA_API,$,function(t){t.preventDefault();var e=t.target;f(e).hasClass(k)||(e=f(e).closest(S)),O._jQueryInterface.call(f(e),"toggle")}).on(A.FOCUS_BLUR_DATA_API,$,function(t){var e=f(t.target).closest(S)[0];f(e).toggleClass(E,/^focus(in)?$/.test(t.type))}),f.fn[y]=O._jQueryInterface,f.fn[y].Constructor=O,f.fn[y].noConflict=function(){return f.fn[y]=x,O._jQueryInterface};var L="carousel",N="bs.carousel",M="."+N,P=".data-api",j=f.fn[L],H={interval:5e3,keyboard:!0,slide:!1,pause:"hover",wrap:!0,touch:!0},R={interval:"(number|boolean)",keyboard:"boolean",slide:"(boolean|string)",pause:"(string|boolean)",wrap:"boolean",touch:"boolean"},B="next",z="prev",F="left",W="right",q={SLIDE:"slide"+M,SLID:"slid"+M,KEYDOWN:"keydown"+M,MOUSEENTER:"mouseenter"+M,MOUSELEAVE:"mouseleave"+M,TOUCHSTART:"touchstart"+M,TOUCHMOVE:"touchmove"+M,TOUCHEND:"touchend"+M,POINTERDOWN:"pointerdown"+M,POINTERUP:"pointerup"+M,DRAG_START:"dragstart"+M,LOAD_DATA_API:"load"+M+P,CLICK_DATA_API:"click"+M+P},Y="carousel",U="active",K="slide",V="carousel-item-right",G="carousel-item-left",Q="carousel-item-next",X="carousel-item-prev",Z="pointer-event",J=".active",tt=".active.carousel-item",et=".carousel-item",it=".carousel-item img",nt=".carousel-item-next, .carousel-item-prev",st=".carousel-indicators",rt="[data-slide], [data-slide-to]",ot='[data-ride="carousel"]',at={TOUCH:"touch",PEN:"pen"},lt=function(){function r(t,e){this._items=null,this._interval=null,this._activeElement=null,this._isPaused=!1,this._isSliding=!1,this.touchTimeout=null,this.touchStartX=0,this.touchDeltaX=0,this._config=this._getConfig(e),this._element=t,this._indicatorsElement=this._element.querySelector(st),this._touchSupported="ontouchstart"in document.documentElement||0<navigator.maxTouchPoints,this._pointerEvent=Boolean(window.PointerEvent||window.MSPointerEvent),this._addEventListeners()}var t=r.prototype;return t.next=function(){this._isSliding||this._slide(B)},t.nextWhenVisible=function(){!document.hidden&&f(this._element).is(":visible")&&"hidden"!==f(this._element).css("visibility")&&this.next()},t.prev=function(){this._isSliding||this._slide(z)},t.pause=function(t){t||(this._isPaused=!0),this._element.querySelector(nt)&&(m.triggerTransitionEnd(this._element),this.cycle(!0)),clearInterval(this._interval),this._interval=null},t.cycle=function(t){t||(this._isPaused=!1),this._interval&&(clearInterval(this._interval),this._interval=null),this._config.interval&&!this._isPaused&&(this._interval=setInterval((document.visibilityState?this.nextWhenVisible:this.next).bind(this),this._config.interval))},t.to=function(t){var e=this;this._activeElement=this._element.querySelector(tt);var i=this._getItemIndex(this._activeElement);if(!(t>this._items.length-1||t<0))if(this._isSliding)f(this._element).one(q.SLID,function(){return e.to(t)});else{if(i===t)return this.pause(),void this.cycle();var n=i<t?B:z;this._slide(n,this._items[t])}},t.dispose=function(){f(this._element).off(M),f.removeData(this._element,N),this._items=null,this._config=null,this._element=null,this._interval=null,this._isPaused=null,this._isSliding=null,this._activeElement=null,this._indicatorsElement=null},t._getConfig=function(t){return t=l({},H,t),m.typeCheckConfig(L,t,R),t},t._handleSwipe=function(){var t=Math.abs(this.touchDeltaX);if(!(t<=40)){var e=t/this.touchDeltaX;0<e&&this.prev(),e<0&&this.next()}},t._addEventListeners=function(){var e=this;this._config.keyboard&&f(this._element).on(q.KEYDOWN,function(t){return e._keydown(t)}),"hover"===this._config.pause&&f(this._element).on(q.MOUSEENTER,function(t){return e.pause(t)}).on(q.MOUSELEAVE,function(t){return e.cycle(t)}),this._addTouchEventListeners()},t._addTouchEventListeners=function(){var i=this;if(this._touchSupported){var e=function(t){i._pointerEvent&&at[t.originalEvent.pointerType.toUpperCase()]?i.touchStartX=t.originalEvent.clientX:i._pointerEvent||(i.touchStartX=t.originalEvent.touches[0].clientX)},n=function(t){i._pointerEvent&&at[t.originalEvent.pointerType.toUpperCase()]&&(i.touchDeltaX=t.originalEvent.clientX-i.touchStartX),i._handleSwipe(),"hover"===i._config.pause&&(i.pause(),i.touchTimeout&&clearTimeout(i.touchTimeout),i.touchTimeout=setTimeout(function(t){return i.cycle(t)},500+i._config.interval))};f(this._element.querySelectorAll(it)).on(q.DRAG_START,function(t){return t.preventDefault()}),this._pointerEvent?(f(this._element).on(q.POINTERDOWN,function(t){return e(t)}),f(this._element).on(q.POINTERUP,function(t){return n(t)}),this._element.classList.add(Z)):(f(this._element).on(q.TOUCHSTART,function(t){return e(t)}),f(this._element).on(q.TOUCHMOVE,function(t){var e;(e=t).originalEvent.touches&&1<e.originalEvent.touches.length?i.touchDeltaX=0:i.touchDeltaX=e.originalEvent.touches[0].clientX-i.touchStartX}),f(this._element).on(q.TOUCHEND,function(t){return n(t)}))}},t._keydown=function(t){if(!/input|textarea/i.test(t.target.tagName))switch(t.which){case 37:t.preventDefault(),this.prev();break;case 39:t.preventDefault(),this.next()}},t._getItemIndex=function(t){return this._items=t&&t.parentNode?[].slice.call(t.parentNode.querySelectorAll(et)):[],this._items.indexOf(t)},t._getItemByDirection=function(t,e){var i=t===B,n=t===z,s=this._getItemIndex(e),r=this._items.length-1;if((n&&0===s||i&&s===r)&&!this._config.wrap)return e;var o=(s+(t===z?-1:1))%this._items.length;return-1===o?this._items[this._items.length-1]:this._items[o]},t._triggerSlideEvent=function(t,e){var i=this._getItemIndex(t),n=this._getItemIndex(this._element.querySelector(tt)),s=f.Event(q.SLIDE,{relatedTarget:t,direction:e,from:n,to:i});return f(this._element).trigger(s),s},t._setActiveIndicatorElement=function(t){if(this._indicatorsElement){var e=[].slice.call(this._indicatorsElement.querySelectorAll(J));f(e).removeClass(U);var i=this._indicatorsElement.children[this._getItemIndex(t)];i&&f(i).addClass(U)}},t._slide=function(t,e){var i,n,s,r=this,o=this._element.querySelector(tt),a=this._getItemIndex(o),l=e||o&&this._getItemByDirection(t,o),c=this._getItemIndex(l),h=Boolean(this._interval);if(s=t===B?(i=G,n=Q,F):(i=V,n=X,W),l&&f(l).hasClass(U))this._isSliding=!1;else if(!this._triggerSlideEvent(l,s).isDefaultPrevented()&&o&&l){this._isSliding=!0,h&&this.pause(),this._setActiveIndicatorElement(l);var d=f.Event(q.SLID,{relatedTarget:l,direction:s,from:a,to:c});if(f(this._element).hasClass(K)){f(l).addClass(n),m.reflow(l),f(o).addClass(i),f(l).addClass(i);var u=parseInt(l.getAttribute("data-interval"),10);this._config.interval=u?(this._config.defaultInterval=this._config.defaultInterval||this._config.interval,u):this._config.defaultInterval||this._config.interval;var p=m.getTransitionDurationFromElement(o);f(o).one(m.TRANSITION_END,function(){f(l).removeClass(i+" "+n).addClass(U),f(o).removeClass(U+" "+n+" "+i),r._isSliding=!1,setTimeout(function(){return f(r._element).trigger(d)},0)}).emulateTransitionEnd(p)}else f(o).removeClass(U),f(l).addClass(U),this._isSliding=!1,f(this._element).trigger(d);h&&this.cycle()}},r._jQueryInterface=function(n){return this.each(function(){var t=f(this).data(N),e=l({},H,f(this).data());"object"==typeof n&&(e=l({},e,n));var i="string"==typeof n?n:e.slide;if(t||(t=new r(this,e),f(this).data(N,t)),"number"==typeof n)t.to(n);else if("string"==typeof i){if(void 0===t[i])throw new TypeError('No method named "'+i+'"');t[i]()}else e.interval&&(t.pause(),t.cycle())})},r._dataApiClickHandler=function(t){var e=m.getSelectorFromElement(this);if(e){var i=f(e)[0];if(i&&f(i).hasClass(Y)){var n=l({},f(i).data(),f(this).data()),s=this.getAttribute("data-slide-to");s&&(n.interval=!1),r._jQueryInterface.call(f(i),n),s&&f(i).data(N).to(s),t.preventDefault()}}},o(r,null,[{key:"VERSION",get:function(){return"4.2.1"}},{key:"Default",get:function(){return H}}]),r}();f(document).on(q.CLICK_DATA_API,rt,lt._dataApiClickHandler),f(window).on(q.LOAD_DATA_API,function(){for(var t=[].slice.call(document.querySelectorAll(ot)),e=0,i=t.length;e<i;e++){var n=f(t[e]);lt._jQueryInterface.call(n,n.data())}}),f.fn[L]=lt._jQueryInterface,f.fn[L].Constructor=lt,f.fn[L].noConflict=function(){return f.fn[L]=j,lt._jQueryInterface};var ct="collapse",ht="bs.collapse",dt="."+ht,ut=f.fn[ct],pt={toggle:!0,parent:""},ft={toggle:"boolean",parent:"(string|element)"},mt={SHOW:"show"+dt,SHOWN:"shown"+dt,HIDE:"hide"+dt,HIDDEN:"hidden"+dt,CLICK_DATA_API:"click"+dt+".data-api"},gt="show",vt="collapse",yt="collapsing",bt="collapsed",wt="width",_t="height",xt=".show, .collapsing",Ct='[data-toggle="collapse"]',kt=function(){function a(e,t){this._isTransitioning=!1,this._element=e,this._config=this._getConfig(t),this._triggerArray=[].slice.call(document.querySelectorAll('[data-toggle="collapse"][href="#'+e.id+'"],[data-toggle="collapse"][data-target="#'+e.id+'"]'));for(var i=[].slice.call(document.querySelectorAll(Ct)),n=0,s=i.length;n<s;n++){var r=i[n],o=m.getSelectorFromElement(r),a=[].slice.call(document.querySelectorAll(o)).filter(function(t){return t===e});null!==o&&0<a.length&&(this._selector=o,this._triggerArray.push(r))}this._parent=this._config.parent?this._getParent():null,this._config.parent||this._addAriaAndCollapsedClass(this._element,this._triggerArray),this._config.toggle&&this.toggle()}var t=a.prototype;return t.toggle=function(){f(this._element).hasClass(gt)?this.hide():this.show()},t.show=function(){var t,e,i=this;if(!this._isTransitioning&&!f(this._element).hasClass(gt)&&(this._parent&&0===(t=[].slice.call(this._parent.querySelectorAll(xt)).filter(function(t){return"string"==typeof i._config.parent?t.getAttribute("data-parent")===i._config.parent:t.classList.contains(vt)})).length&&(t=null),!(t&&(e=f(t).not(this._selector).data(ht))&&e._isTransitioning))){var n=f.Event(mt.SHOW);if(f(this._element).trigger(n),!n.isDefaultPrevented()){t&&(a._jQueryInterface.call(f(t).not(this._selector),"hide"),e||f(t).data(ht,null));var s=this._getDimension();f(this._element).removeClass(vt).addClass(yt),this._element.style[s]=0,this._triggerArray.length&&f(this._triggerArray).removeClass(bt).attr("aria-expanded",!0),this.setTransitioning(!0);var r="scroll"+(s[0].toUpperCase()+s.slice(1)),o=m.getTransitionDurationFromElement(this._element);f(this._element).one(m.TRANSITION_END,function(){f(i._element).removeClass(yt).addClass(vt).addClass(gt),i._element.style[s]="",i.setTransitioning(!1),f(i._element).trigger(mt.SHOWN)}).emulateTransitionEnd(o),this._element.style[s]=this._element[r]+"px"}}},t.hide=function(){var t=this;if(!this._isTransitioning&&f(this._element).hasClass(gt)){var e=f.Event(mt.HIDE);if(f(this._element).trigger(e),!e.isDefaultPrevented()){var i=this._getDimension();this._element.style[i]=this._element.getBoundingClientRect()[i]+"px",m.reflow(this._element),f(this._element).addClass(yt).removeClass(vt).removeClass(gt);var n=this._triggerArray.length;if(0<n)for(var s=0;s<n;s++){var r=this._triggerArray[s],o=m.getSelectorFromElement(r);if(null!==o)f([].slice.call(document.querySelectorAll(o))).hasClass(gt)||f(r).addClass(bt).attr("aria-expanded",!1)}this.setTransitioning(!0);this._element.style[i]="";var a=m.getTransitionDurationFromElement(this._element);f(this._element).one(m.TRANSITION_END,function(){t.setTransitioning(!1),f(t._element).removeClass(yt).addClass(vt).trigger(mt.HIDDEN)}).emulateTransitionEnd(a)}}},t.setTransitioning=function(t){this._isTransitioning=t},t.dispose=function(){f.removeData(this._element,ht),this._config=null,this._parent=null,this._element=null,this._triggerArray=null,this._isTransitioning=null},t._getConfig=function(t){return(t=l({},pt,t)).toggle=Boolean(t.toggle),m.typeCheckConfig(ct,t,ft),t},t._getDimension=function(){return f(this._element).hasClass(wt)?wt:_t},t._getParent=function(){var t,i=this;m.isElement(this._config.parent)?(t=this._config.parent,void 0!==this._config.parent.jquery&&(t=this._config.parent[0])):t=document.querySelector(this._config.parent);var e='[data-toggle="collapse"][data-parent="'+this._config.parent+'"]',n=[].slice.call(t.querySelectorAll(e));return f(n).each(function(t,e){i._addAriaAndCollapsedClass(a._getTargetFromElement(e),[e])}),t},t._addAriaAndCollapsedClass=function(t,e){var i=f(t).hasClass(gt);e.length&&f(e).toggleClass(bt,!i).attr("aria-expanded",i)},a._getTargetFromElement=function(t){var e=m.getSelectorFromElement(t);return e?document.querySelector(e):null},a._jQueryInterface=function(n){return this.each(function(){var t=f(this),e=t.data(ht),i=l({},pt,t.data(),"object"==typeof n&&n?n:{});if(!e&&i.toggle&&/show|hide/.test(n)&&(i.toggle=!1),e||(e=new a(this,i),t.data(ht,e)),"string"==typeof n){if(void 0===e[n])throw new TypeError('No method named "'+n+'"');e[n]()}})},o(a,null,[{key:"VERSION",get:function(){return"4.2.1"}},{key:"Default",get:function(){return pt}}]),a}();f(document).on(mt.CLICK_DATA_API,Ct,function(t){"A"===t.currentTarget.tagName&&t.preventDefault();var i=f(this),e=m.getSelectorFromElement(this),n=[].slice.call(document.querySelectorAll(e));f(n).each(function(){var t=f(this),e=t.data(ht)?"toggle":i.data();kt._jQueryInterface.call(t,e)})}),f.fn[ct]=kt._jQueryInterface,f.fn[ct].Constructor=kt,f.fn[ct].noConflict=function(){return f.fn[ct]=ut,kt._jQueryInterface};var Et="dropdown",$t="bs.dropdown",Dt="."+$t,Tt=".data-api",It=f.fn[Et],St=new RegExp("38|40|27"),At={HIDE:"hide"+Dt,HIDDEN:"hidden"+Dt,SHOW:"show"+Dt,SHOWN:"shown"+Dt,CLICK:"click"+Dt,CLICK_DATA_API:"click"+Dt+Tt,KEYDOWN_DATA_API:"keydown"+Dt+Tt,KEYUP_DATA_API:"keyup"+Dt+Tt},Ot="disabled",Lt="show",Nt="dropup",Mt="dropright",Pt="dropleft",jt="dropdown-menu-right",Ht="position-static",Rt='[data-toggle="dropdown"]',Bt=".dropdown form",zt=".dropdown-menu",Ft=".navbar-nav",Wt=".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",qt="top-start",Yt="top-end",Ut="bottom-start",Kt="bottom-end",Vt="right-start",Gt="left-start",Qt={offset:0,flip:!0,boundary:"scrollParent",reference:"toggle",display:"dynamic"},Xt={offset:"(number|string|function)",flip:"boolean",boundary:"(string|element)",reference:"(string|element)",display:"string"},Zt=function(){function c(t,e){this._element=t,this._popper=null,this._config=this._getConfig(e),this._menu=this._getMenuElement(),this._inNavbar=this._detectNavbar(),this._addEventListeners()}var t=c.prototype;return t.toggle=function(){if(!this._element.disabled&&!f(this._element).hasClass(Ot)){var t=c._getParentFromElement(this._element),e=f(this._menu).hasClass(Lt);if(c._clearMenus(),!e){var i={relatedTarget:this._element},n=f.Event(At.SHOW,i);if(f(t).trigger(n),!n.isDefaultPrevented()){if(!this._inNavbar){if(void 0===d)throw new TypeError("Bootstrap's dropdowns require Popper.js (https://popper.js.org/)");var s=this._element;"parent"===this._config.reference?s=t:m.isElement(this._config.reference)&&(s=this._config.reference,void 0!==this._config.reference.jquery&&(s=this._config.reference[0])),"scrollParent"!==this._config.boundary&&f(t).addClass(Ht),this._popper=new d(s,this._menu,this._getPopperConfig())}"ontouchstart"in document.documentElement&&0===f(t).closest(Ft).length&&f(document.body).children().on("mouseover",null,f.noop),this._element.focus(),this._element.setAttribute("aria-expanded",!0),f(this._menu).toggleClass(Lt),f(t).toggleClass(Lt).trigger(f.Event(At.SHOWN,i))}}}},t.show=function(){if(!(this._element.disabled||f(this._element).hasClass(Ot)||f(this._menu).hasClass(Lt))){var t={relatedTarget:this._element},e=f.Event(At.SHOW,t),i=c._getParentFromElement(this._element);f(i).trigger(e),e.isDefaultPrevented()||(f(this._menu).toggleClass(Lt),f(i).toggleClass(Lt).trigger(f.Event(At.SHOWN,t)))}},t.hide=function(){if(!this._element.disabled&&!f(this._element).hasClass(Ot)&&f(this._menu).hasClass(Lt)){var t={relatedTarget:this._element},e=f.Event(At.HIDE,t),i=c._getParentFromElement(this._element);f(i).trigger(e),e.isDefaultPrevented()||(f(this._menu).toggleClass(Lt),f(i).toggleClass(Lt).trigger(f.Event(At.HIDDEN,t)))}},t.dispose=function(){f.removeData(this._element,$t),f(this._element).off(Dt),this._element=null,(this._menu=null)!==this._popper&&(this._popper.destroy(),this._popper=null)},t.update=function(){this._inNavbar=this._detectNavbar(),null!==this._popper&&this._popper.scheduleUpdate()},t._addEventListeners=function(){var e=this;f(this._element).on(At.CLICK,function(t){t.preventDefault(),t.stopPropagation(),e.toggle()})},t._getConfig=function(t){return t=l({},this.constructor.Default,f(this._element).data(),t),m.typeCheckConfig(Et,t,this.constructor.DefaultType),t},t._getMenuElement=function(){if(!this._menu){var t=c._getParentFromElement(this._element);t&&(this._menu=t.querySelector(zt))}return this._menu},t._getPlacement=function(){var t=f(this._element.parentNode),e=Ut;return t.hasClass(Nt)?(e=qt,f(this._menu).hasClass(jt)&&(e=Yt)):t.hasClass(Mt)?e=Vt:t.hasClass(Pt)?e=Gt:f(this._menu).hasClass(jt)&&(e=Kt),e},t._detectNavbar=function(){return 0<f(this._element).closest(".navbar").length},t._getPopperConfig=function(){var e=this,t={};"function"==typeof this._config.offset?t.fn=function(t){return t.offsets=l({},t.offsets,e._config.offset(t.offsets)||{}),t}:t.offset=this._config.offset;var i={placement:this._getPlacement(),modifiers:{offset:t,flip:{enabled:this._config.flip},preventOverflow:{boundariesElement:this._config.boundary}}};return"static"===this._config.display&&(i.modifiers.applyStyle={enabled:!1}),i},c._jQueryInterface=function(e){return this.each(function(){var t=f(this).data($t);if(t||(t=new c(this,"object"==typeof e?e:null),f(this).data($t,t)),"string"==typeof e){if(void 0===t[e])throw new TypeError('No method named "'+e+'"');t[e]()}})},c._clearMenus=function(t){if(!t||3!==t.which&&("keyup"!==t.type||9===t.which))for(var e=[].slice.call(document.querySelectorAll(Rt)),i=0,n=e.length;i<n;i++){var s=c._getParentFromElement(e[i]),r=f(e[i]).data($t),o={relatedTarget:e[i]};if(t&&"click"===t.type&&(o.clickEvent=t),r){var a=r._menu;if(f(s).hasClass(Lt)&&!(t&&("click"===t.type&&/input|textarea/i.test(t.target.tagName)||"keyup"===t.type&&9===t.which)&&f.contains(s,t.target))){var l=f.Event(At.HIDE,o);f(s).trigger(l),l.isDefaultPrevented()||("ontouchstart"in document.documentElement&&f(document.body).children().off("mouseover",null,f.noop),e[i].setAttribute("aria-expanded","false"),f(a).removeClass(Lt),f(s).removeClass(Lt).trigger(f.Event(At.HIDDEN,o)))}}}},c._getParentFromElement=function(t){var e,i=m.getSelectorFromElement(t);return i&&(e=document.querySelector(i)),e||t.parentNode},c._dataApiKeydownHandler=function(t){if((/input|textarea/i.test(t.target.tagName)?!(32===t.which||27!==t.which&&(40!==t.which&&38!==t.which||f(t.target).closest(zt).length)):St.test(t.which))&&(t.preventDefault(),t.stopPropagation(),!this.disabled&&!f(this).hasClass(Ot))){var e=c._getParentFromElement(this),i=f(e).hasClass(Lt);if(i&&(!i||27!==t.which&&32!==t.which)){var n=[].slice.call(e.querySelectorAll(Wt));if(0!==n.length){var s=n.indexOf(t.target);38===t.which&&0<s&&s--,40===t.which&&s<n.length-1&&s++,s<0&&(s=0),n[s].focus()}}else{if(27===t.which){var r=e.querySelector(Rt);f(r).trigger("focus")}f(this).trigger("click")}}},o(c,null,[{key:"VERSION",get:function(){return"4.2.1"}},{key:"Default",get:function(){return Qt}},{key:"DefaultType",get:function(){return Xt}}]),c}();f(document).on(At.KEYDOWN_DATA_API,Rt,Zt._dataApiKeydownHandler).on(At.KEYDOWN_DATA_API,zt,Zt._dataApiKeydownHandler).on(At.CLICK_DATA_API+" "+At.KEYUP_DATA_API,Zt._clearMenus).on(At.CLICK_DATA_API,Rt,function(t){t.preventDefault(),t.stopPropagation(),Zt._jQueryInterface.call(f(this),"toggle")}).on(At.CLICK_DATA_API,Bt,function(t){t.stopPropagation()}),f.fn[Et]=Zt._jQueryInterface,f.fn[Et].Constructor=Zt,f.fn[Et].noConflict=function(){return f.fn[Et]=It,Zt._jQueryInterface};var Jt="modal",te="bs.modal",ee="."+te,ie=f.fn[Jt],ne={backdrop:!0,keyboard:!0,focus:!0,show:!0},se={backdrop:"(boolean|string)",keyboard:"boolean",focus:"boolean",show:"boolean"},re={HIDE:"hide"+ee,HIDDEN:"hidden"+ee,SHOW:"show"+ee,SHOWN:"shown"+ee,FOCUSIN:"focusin"+ee,RESIZE:"resize"+ee,CLICK_DISMISS:"click.dismiss"+ee,KEYDOWN_DISMISS:"keydown.dismiss"+ee,MOUSEUP_DISMISS:"mouseup.dismiss"+ee,MOUSEDOWN_DISMISS:"mousedown.dismiss"+ee,CLICK_DATA_API:"click"+ee+".data-api"},oe="modal-scrollbar-measure",ae="modal-backdrop",le="modal-open",ce="fade",he="show",de=".modal-dialog",ue='[data-toggle="modal"]',pe='[data-dismiss="modal"]',fe=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",me=".sticky-top",ge=function(){function s(t,e){this._config=this._getConfig(e),this._element=t,this._dialog=t.querySelector(de),this._backdrop=null,this._isShown=!1,this._isBodyOverflowing=!1,this._ignoreBackdropClick=!1,this._isTransitioning=!1,this._scrollbarWidth=0}var t=s.prototype;return t.toggle=function(t){return this._isShown?this.hide():this.show(t)},t.show=function(t){var e=this;if(!this._isShown&&!this._isTransitioning){f(this._element).hasClass(ce)&&(this._isTransitioning=!0);var i=f.Event(re.SHOW,{relatedTarget:t});f(this._element).trigger(i),this._isShown||i.isDefaultPrevented()||(this._isShown=!0,this._checkScrollbar(),this._setScrollbar(),this._adjustDialog(),this._setEscapeEvent(),this._setResizeEvent(),f(this._element).on(re.CLICK_DISMISS,pe,function(t){return e.hide(t)}),f(this._dialog).on(re.MOUSEDOWN_DISMISS,function(){f(e._element).one(re.MOUSEUP_DISMISS,function(t){f(t.target).is(e._element)&&(e._ignoreBackdropClick=!0)})}),this._showBackdrop(function(){return e._showElement(t)}))}},t.hide=function(t){var e=this;if(t&&t.preventDefault(),this._isShown&&!this._isTransitioning){var i=f.Event(re.HIDE);if(f(this._element).trigger(i),this._isShown&&!i.isDefaultPrevented()){this._isShown=!1;var n=f(this._element).hasClass(ce);if(n&&(this._isTransitioning=!0),this._setEscapeEvent(),this._setResizeEvent(),f(document).off(re.FOCUSIN),f(this._element).removeClass(he),f(this._element).off(re.CLICK_DISMISS),f(this._dialog).off(re.MOUSEDOWN_DISMISS),n){var s=m.getTransitionDurationFromElement(this._element);f(this._element).one(m.TRANSITION_END,function(t){return e._hideModal(t)}).emulateTransitionEnd(s)}else this._hideModal()}}},t.dispose=function(){[window,this._element,this._dialog].forEach(function(t){return f(t).off(ee)}),f(document).off(re.FOCUSIN),f.removeData(this._element,te),this._config=null,this._element=null,this._dialog=null,this._backdrop=null,this._isShown=null,this._isBodyOverflowing=null,this._ignoreBackdropClick=null,this._isTransitioning=null,this._scrollbarWidth=null},t.handleUpdate=function(){this._adjustDialog()},t._getConfig=function(t){return t=l({},ne,t),m.typeCheckConfig(Jt,t,se),t},t._showElement=function(t){var e=this,i=f(this._element).hasClass(ce);this._element.parentNode&&this._element.parentNode.nodeType===Node.ELEMENT_NODE||document.body.appendChild(this._element),this._element.style.display="block",this._element.removeAttribute("aria-hidden"),this._element.setAttribute("aria-modal",!0),this._element.scrollTop=0,i&&m.reflow(this._element),f(this._element).addClass(he),this._config.focus&&this._enforceFocus();var n=f.Event(re.SHOWN,{relatedTarget:t}),s=function(){e._config.focus&&e._element.focus(),e._isTransitioning=!1,f(e._element).trigger(n)};if(i){var r=m.getTransitionDurationFromElement(this._dialog);f(this._dialog).one(m.TRANSITION_END,s).emulateTransitionEnd(r)}else s()},t._enforceFocus=function(){var e=this;f(document).off(re.FOCUSIN).on(re.FOCUSIN,function(t){document!==t.target&&e._element!==t.target&&0===f(e._element).has(t.target).length&&e._element.focus()})},t._setEscapeEvent=function(){var e=this;this._isShown&&this._config.keyboard?f(this._element).on(re.KEYDOWN_DISMISS,function(t){27===t.which&&(t.preventDefault(),e.hide())}):this._isShown||f(this._element).off(re.KEYDOWN_DISMISS)},t._setResizeEvent=function(){var e=this;this._isShown?f(window).on(re.RESIZE,function(t){return e.handleUpdate(t)}):f(window).off(re.RESIZE)},t._hideModal=function(){var t=this;this._element.style.display="none",this._element.setAttribute("aria-hidden",!0),this._element.removeAttribute("aria-modal"),this._isTransitioning=!1,this._showBackdrop(function(){f(document.body).removeClass(le),t._resetAdjustments(),t._resetScrollbar(),f(t._element).trigger(re.HIDDEN)})},t._removeBackdrop=function(){this._backdrop&&(f(this._backdrop).remove(),this._backdrop=null)},t._showBackdrop=function(t){var e=this,i=f(this._element).hasClass(ce)?ce:"";if(this._isShown&&this._config.backdrop){if(this._backdrop=document.createElement("div"),this._backdrop.className=ae,i&&this._backdrop.classList.add(i),f(this._backdrop).appendTo(document.body),f(this._element).on(re.CLICK_DISMISS,function(t){e._ignoreBackdropClick?e._ignoreBackdropClick=!1:t.target===t.currentTarget&&("static"===e._config.backdrop?e._element.focus():e.hide())}),i&&m.reflow(this._backdrop),f(this._backdrop).addClass(he),!t)return;if(!i)return void t();var n=m.getTransitionDurationFromElement(this._backdrop);f(this._backdrop).one(m.TRANSITION_END,t).emulateTransitionEnd(n)}else if(!this._isShown&&this._backdrop){f(this._backdrop).removeClass(he);var s=function(){e._removeBackdrop(),t&&t()};if(f(this._element).hasClass(ce)){var r=m.getTransitionDurationFromElement(this._backdrop);f(this._backdrop).one(m.TRANSITION_END,s).emulateTransitionEnd(r)}else s()}else t&&t()},t._adjustDialog=function(){var t=this._element.scrollHeight>document.documentElement.clientHeight;!this._isBodyOverflowing&&t&&(this._element.style.paddingLeft=this._scrollbarWidth+"px"),this._isBodyOverflowing&&!t&&(this._element.style.paddingRight=this._scrollbarWidth+"px")},t._resetAdjustments=function(){this._element.style.paddingLeft="",this._element.style.paddingRight=""},t._checkScrollbar=function(){var t=document.body.getBoundingClientRect();this._isBodyOverflowing=t.left+t.right<window.innerWidth,this._scrollbarWidth=this._getScrollbarWidth()},t._setScrollbar=function(){var s=this;if(this._isBodyOverflowing){var t=[].slice.call(document.querySelectorAll(fe)),e=[].slice.call(document.querySelectorAll(me));f(t).each(function(t,e){var i=e.style.paddingRight,n=f(e).css("padding-right");f(e).data("padding-right",i).css("padding-right",parseFloat(n)+s._scrollbarWidth+"px")}),f(e).each(function(t,e){var i=e.style.marginRight,n=f(e).css("margin-right");f(e).data("margin-right",i).css("margin-right",parseFloat(n)-s._scrollbarWidth+"px")});var i=document.body.style.paddingRight,n=f(document.body).css("padding-right");f(document.body).data("padding-right",i).css("padding-right",parseFloat(n)+this._scrollbarWidth+"px")}f(document.body).addClass(le)},t._resetScrollbar=function(){var t=[].slice.call(document.querySelectorAll(fe));f(t).each(function(t,e){var i=f(e).data("padding-right");f(e).removeData("padding-right"),e.style.paddingRight=i||""});var e=[].slice.call(document.querySelectorAll(""+me));f(e).each(function(t,e){var i=f(e).data("margin-right");void 0!==i&&f(e).css("margin-right",i).removeData("margin-right")});var i=f(document.body).data("padding-right");f(document.body).removeData("padding-right"),document.body.style.paddingRight=i||""},t._getScrollbarWidth=function(){var t=document.createElement("div");t.className=oe,document.body.appendChild(t);var e=t.getBoundingClientRect().width-t.clientWidth;return document.body.removeChild(t),e},s._jQueryInterface=function(i,n){return this.each(function(){var t=f(this).data(te),e=l({},ne,f(this).data(),"object"==typeof i&&i?i:{});if(t||(t=new s(this,e),f(this).data(te,t)),"string"==typeof i){if(void 0===t[i])throw new TypeError('No method named "'+i+'"');t[i](n)}else e.show&&t.show(n)})},o(s,null,[{key:"VERSION",get:function(){return"4.2.1"}},{key:"Default",get:function(){return ne}}]),s}();f(document).on(re.CLICK_DATA_API,ue,function(t){var e,i=this,n=m.getSelectorFromElement(this);n&&(e=document.querySelector(n));var s=f(e).data(te)?"toggle":l({},f(e).data(),f(this).data());"A"!==this.tagName&&"AREA"!==this.tagName||t.preventDefault();var r=f(e).one(re.SHOW,function(t){t.isDefaultPrevented()||r.one(re.HIDDEN,function(){f(i).is(":visible")&&i.focus()})});ge._jQueryInterface.call(f(e),s,this)}),f.fn[Jt]=ge._jQueryInterface,f.fn[Jt].Constructor=ge,f.fn[Jt].noConflict=function(){return f.fn[Jt]=ie,ge._jQueryInterface};var ve="tooltip",ye="bs.tooltip",be="."+ye,we=f.fn[ve],_e="bs-tooltip",xe=new RegExp("(^|\\s)"+_e+"\\S+","g"),Ce={animation:"boolean",template:"string",title:"(string|element|function)",trigger:"string",delay:"(number|object)",html:"boolean",selector:"(string|boolean)",placement:"(string|function)",offset:"(number|string)",container:"(string|element|boolean)",fallbackPlacement:"(string|array)",boundary:"(string|element)"},ke={AUTO:"auto",TOP:"top",RIGHT:"right",BOTTOM:"bottom",LEFT:"left"},Ee={animation:!0,template:'<div class="tooltip" role="tooltip"><div class="arrow"></div><div class="tooltip-inner"></div></div>',trigger:"hover focus",title:"",delay:0,html:!1,selector:!1,placement:"top",offset:0,container:!1,fallbackPlacement:"flip",boundary:"scrollParent"},$e="show",De="out",Te={HIDE:"hide"+be,HIDDEN:"hidden"+be,SHOW:"show"+be,SHOWN:"shown"+be,INSERTED:"inserted"+be,CLICK:"click"+be,FOCUSIN:"focusin"+be,FOCUSOUT:"focusout"+be,MOUSEENTER:"mouseenter"+be,MOUSELEAVE:"mouseleave"+be},Ie="fade",Se="show",Ae=".tooltip-inner",Oe=".arrow",Le="hover",Ne="focus",Me="click",Pe="manual",je=function(){function n(t,e){if(void 0===d)throw new TypeError("Bootstrap's tooltips require Popper.js (https://popper.js.org/)");this._isEnabled=!0,this._timeout=0,this._hoverState="",this._activeTrigger={},this._popper=null,this.element=t,this.config=this._getConfig(e),this.tip=null,this._setListeners()}var t=n.prototype;return t.enable=function(){this._isEnabled=!0},t.disable=function(){this._isEnabled=!1},t.toggleEnabled=function(){this._isEnabled=!this._isEnabled},t.toggle=function(t){if(this._isEnabled)if(t){var e=this.constructor.DATA_KEY,i=f(t.currentTarget).data(e);i||(i=new this.constructor(t.currentTarget,this._getDelegateConfig()),f(t.currentTarget).data(e,i)),i._activeTrigger.click=!i._activeTrigger.click,i._isWithActiveTrigger()?i._enter(null,i):i._leave(null,i)}else{if(f(this.getTipElement()).hasClass(Se))return void this._leave(null,this);this._enter(null,this)}},t.dispose=function(){clearTimeout(this._timeout),f.removeData(this.element,this.constructor.DATA_KEY),f(this.element).off(this.constructor.EVENT_KEY),f(this.element).closest(".modal").off("hide.bs.modal"),this.tip&&f(this.tip).remove(),this._isEnabled=null,this._timeout=null,this._hoverState=null,(this._activeTrigger=null)!==this._popper&&this._popper.destroy(),this._popper=null,this.element=null,this.config=null,this.tip=null},t.show=function(){var e=this;if("none"===f(this.element).css("display"))throw new Error("Please use show on visible elements");var t=f.Event(this.constructor.Event.SHOW);if(this.isWithContent()&&this._isEnabled){f(this.element).trigger(t);var i=m.findShadowRoot(this.element),n=f.contains(null!==i?i:this.element.ownerDocument.documentElement,this.element);if(t.isDefaultPrevented()||!n)return;var s=this.getTipElement(),r=m.getUID(this.constructor.NAME);s.setAttribute("id",r),this.element.setAttribute("aria-describedby",r),this.setContent(),this.config.animation&&f(s).addClass(Ie);var o="function"==typeof this.config.placement?this.config.placement.call(this,s,this.element):this.config.placement,a=this._getAttachment(o);this.addAttachmentClass(a);var l=this._getContainer();f(s).data(this.constructor.DATA_KEY,this),f.contains(this.element.ownerDocument.documentElement,this.tip)||f(s).appendTo(l),f(this.element).trigger(this.constructor.Event.INSERTED),this._popper=new d(this.element,s,{placement:a,modifiers:{offset:{offset:this.config.offset},flip:{behavior:this.config.fallbackPlacement},arrow:{element:Oe},preventOverflow:{boundariesElement:this.config.boundary}},onCreate:function(t){t.originalPlacement!==t.placement&&e._handlePopperPlacementChange(t)},onUpdate:function(t){return e._handlePopperPlacementChange(t)}}),f(s).addClass(Se),"ontouchstart"in document.documentElement&&f(document.body).children().on("mouseover",null,f.noop);var c=function(){e.config.animation&&e._fixTransition();var t=e._hoverState;e._hoverState=null,f(e.element).trigger(e.constructor.Event.SHOWN),t===De&&e._leave(null,e)};if(f(this.tip).hasClass(Ie)){var h=m.getTransitionDurationFromElement(this.tip);f(this.tip).one(m.TRANSITION_END,c).emulateTransitionEnd(h)}else c()}},t.hide=function(t){var e=this,i=this.getTipElement(),n=f.Event(this.constructor.Event.HIDE),s=function(){e._hoverState!==$e&&i.parentNode&&i.parentNode.removeChild(i),e._cleanTipClass(),e.element.removeAttribute("aria-describedby"),f(e.element).trigger(e.constructor.Event.HIDDEN),null!==e._popper&&e._popper.destroy(),t&&t()};if(f(this.element).trigger(n),!n.isDefaultPrevented()){if(f(i).removeClass(Se),"ontouchstart"in document.documentElement&&f(document.body).children().off("mouseover",null,f.noop),this._activeTrigger[Me]=!1,this._activeTrigger[Ne]=!1,this._activeTrigger[Le]=!1,f(this.tip).hasClass(Ie)){var r=m.getTransitionDurationFromElement(i);f(i).one(m.TRANSITION_END,s).emulateTransitionEnd(r)}else s();this._hoverState=""}},t.update=function(){null!==this._popper&&this._popper.scheduleUpdate()},t.isWithContent=function(){return Boolean(this.getTitle())},t.addAttachmentClass=function(t){f(this.getTipElement()).addClass(_e+"-"+t)},t.getTipElement=function(){return this.tip=this.tip||f(this.config.template)[0],this.tip},t.setContent=function(){var t=this.getTipElement();this.setElementContent(f(t.querySelectorAll(Ae)),this.getTitle()),f(t).removeClass(Ie+" "+Se)},t.setElementContent=function(t,e){var i=this.config.html;"object"==typeof e&&(e.nodeType||e.jquery)?i?f(e).parent().is(t)||t.empty().append(e):t.text(f(e).text()):t[i?"html":"text"](e)},t.getTitle=function(){var t=this.element.getAttribute("data-original-title");return t||(t="function"==typeof this.config.title?this.config.title.call(this.element):this.config.title),t},t._getContainer=function(){return!1===this.config.container?document.body:m.isElement(this.config.container)?f(this.config.container):f(document).find(this.config.container)},t._getAttachment=function(t){return ke[t.toUpperCase()]},t._setListeners=function(){var n=this;this.config.trigger.split(" ").forEach(function(t){if("click"===t)f(n.element).on(n.constructor.Event.CLICK,n.config.selector,function(t){return n.toggle(t)});else if(t!==Pe){var e=t===Le?n.constructor.Event.MOUSEENTER:n.constructor.Event.FOCUSIN,i=t===Le?n.constructor.Event.MOUSELEAVE:n.constructor.Event.FOCUSOUT;f(n.element).on(e,n.config.selector,function(t){return n._enter(t)}).on(i,n.config.selector,function(t){return n._leave(t)})}}),f(this.element).closest(".modal").on("hide.bs.modal",function(){n.element&&n.hide()}),this.config.selector?this.config=l({},this.config,{trigger:"manual",selector:""}):this._fixTitle()},t._fixTitle=function(){var t=typeof this.element.getAttribute("data-original-title");(this.element.getAttribute("title")||"string"!==t)&&(this.element.setAttribute("data-original-title",this.element.getAttribute("title")||""),this.element.setAttribute("title",""))},t._enter=function(t,e){var i=this.constructor.DATA_KEY;(e=e||f(t.currentTarget).data(i))||(e=new this.constructor(t.currentTarget,this._getDelegateConfig()),f(t.currentTarget).data(i,e)),t&&(e._activeTrigger["focusin"===t.type?Ne:Le]=!0),f(e.getTipElement()).hasClass(Se)||e._hoverState===$e?e._hoverState=$e:(clearTimeout(e._timeout),e._hoverState=$e,e.config.delay&&e.config.delay.show?e._timeout=setTimeout(function(){e._hoverState===$e&&e.show()},e.config.delay.show):e.show())},t._leave=function(t,e){var i=this.constructor.DATA_KEY;(e=e||f(t.currentTarget).data(i))||(e=new this.constructor(t.currentTarget,this._getDelegateConfig()),f(t.currentTarget).data(i,e)),t&&(e._activeTrigger["focusout"===t.type?Ne:Le]=!1),e._isWithActiveTrigger()||(clearTimeout(e._timeout),e._hoverState=De,e.config.delay&&e.config.delay.hide?e._timeout=setTimeout(function(){e._hoverState===De&&e.hide()},e.config.delay.hide):e.hide())},t._isWithActiveTrigger=function(){for(var t in this._activeTrigger)if(this._activeTrigger[t])return!0;return!1},t._getConfig=function(t){return"number"==typeof(t=l({},this.constructor.Default,f(this.element).data(),"object"==typeof t&&t?t:{})).delay&&(t.delay={show:t.delay,hide:t.delay}),"number"==typeof t.title&&(t.title=t.title.toString()),"number"==typeof t.content&&(t.content=t.content.toString()),m.typeCheckConfig(ve,t,this.constructor.DefaultType),t},t._getDelegateConfig=function(){var t={};if(this.config)for(var e in this.config)this.constructor.Default[e]!==this.config[e]&&(t[e]=this.config[e]);return t},t._cleanTipClass=function(){var t=f(this.getTipElement()),e=t.attr("class").match(xe);null!==e&&e.length&&t.removeClass(e.join(""))},t._handlePopperPlacementChange=function(t){var e=t.instance;this.tip=e.popper,this._cleanTipClass(),this.addAttachmentClass(this._getAttachment(t.placement))},t._fixTransition=function(){var t=this.getTipElement(),e=this.config.animation;null===t.getAttribute("x-placement")&&(f(t).removeClass(Ie),this.config.animation=!1,this.hide(),this.show(),this.config.animation=e)},n._jQueryInterface=function(i){return this.each(function(){var t=f(this).data(ye),e="object"==typeof i&&i;if((t||!/dispose|hide/.test(i))&&(t||(t=new n(this,e),f(this).data(ye,t)),"string"==typeof i)){if(void 0===t[i])throw new TypeError('No method named "'+i+'"');t[i]()}})},o(n,null,[{key:"VERSION",get:function(){return"4.2.1"}},{key:"Default",get:function(){return Ee}},{key:"NAME",get:function(){return ve}},{key:"DATA_KEY",get:function(){return ye}},{key:"Event",get:function(){return Te}},{key:"EVENT_KEY",get:function(){return be}},{key:"DefaultType",get:function(){return Ce}}]),n}();f.fn[ve]=je._jQueryInterface,f.fn[ve].Constructor=je,f.fn[ve].noConflict=function(){return f.fn[ve]=we,je._jQueryInterface};var He="popover",Re="bs.popover",Be="."+Re,ze=f.fn[He],Fe="bs-popover",We=new RegExp("(^|\\s)"+Fe+"\\S+","g"),qe=l({},je.Default,{placement:"right",trigger:"click",content:"",template:'<div class="popover" role="tooltip"><div class="arrow"></div><h3 class="popover-header"></h3><div class="popover-body"></div></div>'}),Ye=l({},je.DefaultType,{content:"(string|element|function)"}),Ue="fade",Ke="show",Ve=".popover-header",Ge=".popover-body",Qe={HIDE:"hide"+Be,HIDDEN:"hidden"+Be,SHOW:"show"+Be,SHOWN:"shown"+Be,INSERTED:"inserted"+Be,CLICK:"click"+Be,FOCUSIN:"focusin"+Be,FOCUSOUT:"focusout"+Be,MOUSEENTER:"mouseenter"+Be,MOUSELEAVE:"mouseleave"+Be},Xe=function(t){var e,i;function n(){return t.apply(this,arguments)||this}i=t,(e=n).prototype=Object.create(i.prototype),(e.prototype.constructor=e).__proto__=i;var s=n.prototype;return s.isWithContent=function(){return this.getTitle()||this._getContent()},s.addAttachmentClass=function(t){f(this.getTipElement()).addClass(Fe+"-"+t)},s.getTipElement=function(){return this.tip=this.tip||f(this.config.template)[0],this.tip},s.setContent=function(){var t=f(this.getTipElement());this.setElementContent(t.find(Ve),this.getTitle());var e=this._getContent();"function"==typeof e&&(e=e.call(this.element)),this.setElementContent(t.find(Ge),e),t.removeClass(Ue+" "+Ke)},s._getContent=function(){return this.element.getAttribute("data-content")||this.config.content},s._cleanTipClass=function(){var t=f(this.getTipElement()),e=t.attr("class").match(We);null!==e&&0<e.length&&t.removeClass(e.join(""))},n._jQueryInterface=function(i){return this.each(function(){var t=f(this).data(Re),e="object"==typeof i?i:null;if((t||!/dispose|hide/.test(i))&&(t||(t=new n(this,e),f(this).data(Re,t)),"string"==typeof i)){if(void 0===t[i])throw new TypeError('No method named "'+i+'"');t[i]()}})},o(n,null,[{key:"VERSION",get:function(){return"4.2.1"}},{key:"Default",get:function(){return qe}},{key:"NAME",get:function(){return He}},{key:"DATA_KEY",get:function(){return Re}},{key:"Event",get:function(){return Qe}},{key:"EVENT_KEY",get:function(){return Be}},{key:"DefaultType",get:function(){return Ye}}]),n}(je);f.fn[He]=Xe._jQueryInterface,f.fn[He].Constructor=Xe,f.fn[He].noConflict=function(){return f.fn[He]=ze,Xe._jQueryInterface};var Ze="scrollspy",Je="bs.scrollspy",ti="."+Je,ei=f.fn[Ze],ii={offset:10,method:"auto",target:""},ni={offset:"number",method:"string",target:"(string|element)"},si={ACTIVATE:"activate"+ti,SCROLL:"scroll"+ti,LOAD_DATA_API:"load"+ti+".data-api"},ri="dropdown-item",oi="active",ai='[data-spy="scroll"]',li=".nav, .list-group",ci=".nav-link",hi=".nav-item",di=".list-group-item",ui=".dropdown",pi=".dropdown-item",fi=".dropdown-toggle",mi="offset",gi="position",vi=function(){function i(t,e){var i=this;this._element=t,this._scrollElement="BODY"===t.tagName?window:t,this._config=this._getConfig(e),this._selector=this._config.target+" "+ci+","+this._config.target+" "+di+","+this._config.target+" "+pi,this._offsets=[],this._targets=[],this._activeTarget=null,this._scrollHeight=0,f(this._scrollElement).on(si.SCROLL,function(t){return i._process(t)}),this.refresh(),this._process()}var t=i.prototype;return t.refresh=function(){var e=this,t=this._scrollElement===this._scrollElement.window?mi:gi,s="auto"===this._config.method?t:this._config.method,r=s===gi?this._getScrollTop():0;this._offsets=[],this._targets=[],this._scrollHeight=this._getScrollHeight(),[].slice.call(document.querySelectorAll(this._selector)).map(function(t){var e,i=m.getSelectorFromElement(t);if(i&&(e=document.querySelector(i)),e){var n=e.getBoundingClientRect();if(n.width||n.height)return[f(e)[s]().top+r,i]}return null}).filter(function(t){return t}).sort(function(t,e){return t[0]-e[0]}).forEach(function(t){e._offsets.push(t[0]),e._targets.push(t[1])})},t.dispose=function(){f.removeData(this._element,Je),f(this._scrollElement).off(ti),this._element=null,this._scrollElement=null,this._config=null,this._selector=null,this._offsets=null,this._targets=null,this._activeTarget=null,this._scrollHeight=null},t._getConfig=function(t){if("string"!=typeof(t=l({},ii,"object"==typeof t&&t?t:{})).target){var e=f(t.target).attr("id");e||(e=m.getUID(Ze),f(t.target).attr("id",e)),t.target="#"+e}return m.typeCheckConfig(Ze,t,ni),t},t._getScrollTop=function(){return this._scrollElement===window?this._scrollElement.pageYOffset:this._scrollElement.scrollTop},t._getScrollHeight=function(){return this._scrollElement.scrollHeight||Math.max(document.body.scrollHeight,document.documentElement.scrollHeight)},t._getOffsetHeight=function(){return this._scrollElement===window?window.innerHeight:this._scrollElement.getBoundingClientRect().height},t._process=function(){var t=this._getScrollTop()+this._config.offset,e=this._getScrollHeight(),i=this._config.offset+e-this._getOffsetHeight();if(this._scrollHeight!==e&&this.refresh(),i<=t){var n=this._targets[this._targets.length-1];this._activeTarget!==n&&this._activate(n)}else{if(this._activeTarget&&t<this._offsets[0]&&0<this._offsets[0])return this._activeTarget=null,void this._clear();for(var s=this._offsets.length;s--;){this._activeTarget!==this._targets[s]&&t>=this._offsets[s]&&(void 0===this._offsets[s+1]||t<this._offsets[s+1])&&this._activate(this._targets[s])}}},t._activate=function(e){this._activeTarget=e,this._clear();var t=this._selector.split(",").map(function(t){return t+'[data-target="'+e+'"],'+t+'[href="'+e+'"]'}),i=f([].slice.call(document.querySelectorAll(t.join(","))));i.hasClass(ri)?(i.closest(ui).find(fi).addClass(oi),i.addClass(oi)):(i.addClass(oi),i.parents(li).prev(ci+", "+di).addClass(oi),i.parents(li).prev(hi).children(ci).addClass(oi)),f(this._scrollElement).trigger(si.ACTIVATE,{relatedTarget:e})},t._clear=function(){[].slice.call(document.querySelectorAll(this._selector)).filter(function(t){return t.classList.contains(oi)}).forEach(function(t){return t.classList.remove(oi)})},i._jQueryInterface=function(e){return this.each(function(){var t=f(this).data(Je);if(t||(t=new i(this,"object"==typeof e&&e),f(this).data(Je,t)),"string"==typeof e){if(void 0===t[e])throw new TypeError('No method named "'+e+'"');t[e]()}})},o(i,null,[{key:"VERSION",get:function(){return"4.2.1"}},{key:"Default",get:function(){return ii}}]),i}();f(window).on(si.LOAD_DATA_API,function(){for(var t=[].slice.call(document.querySelectorAll(ai)),e=t.length;e--;){var i=f(t[e]);vi._jQueryInterface.call(i,i.data())}}),f.fn[Ze]=vi._jQueryInterface,f.fn[Ze].Constructor=vi,f.fn[Ze].noConflict=function(){return f.fn[Ze]=ei,vi._jQueryInterface};var yi="bs.tab",bi="."+yi,wi=f.fn.tab,_i={HIDE:"hide"+bi,HIDDEN:"hidden"+bi,SHOW:"show"+bi,SHOWN:"shown"+bi,CLICK_DATA_API:"click"+bi+".data-api"},xi="dropdown-menu",Ci="active",ki="disabled",Ei="fade",$i="show",Di=".dropdown",Ti=".nav, .list-group",Ii=".active",Si="> li > .active",Ai='[data-toggle="tab"], [data-toggle="pill"], [data-toggle="list"]',Oi=".dropdown-toggle",Li="> .dropdown-menu .active",Ni=function(){function n(t){this._element=t}var t=n.prototype;return t.show=function(){var i=this;if(!(this._element.parentNode&&this._element.parentNode.nodeType===Node.ELEMENT_NODE&&f(this._element).hasClass(Ci)||f(this._element).hasClass(ki))){var t,n,e=f(this._element).closest(Ti)[0],s=m.getSelectorFromElement(this._element);if(e){var r="UL"===e.nodeName||"OL"===e.nodeName?Si:Ii;n=(n=f.makeArray(f(e).find(r)))[n.length-1]}var o=f.Event(_i.HIDE,{relatedTarget:this._element}),a=f.Event(_i.SHOW,{relatedTarget:n});if(n&&f(n).trigger(o),f(this._element).trigger(a),!a.isDefaultPrevented()&&!o.isDefaultPrevented()){s&&(t=document.querySelector(s)),this._activate(this._element,e);var l=function(){var t=f.Event(_i.HIDDEN,{relatedTarget:i._element}),e=f.Event(_i.SHOWN,{relatedTarget:n});f(n).trigger(t),f(i._element).trigger(e)};t?this._activate(t,t.parentNode,l):l()}}},t.dispose=function(){f.removeData(this._element,yi),this._element=null},t._activate=function(t,e,i){var n=this,s=(!e||"UL"!==e.nodeName&&"OL"!==e.nodeName?f(e).children(Ii):f(e).find(Si))[0],r=i&&s&&f(s).hasClass(Ei),o=function(){return n._transitionComplete(t,s,i)};if(s&&r){var a=m.getTransitionDurationFromElement(s);f(s).removeClass($i).one(m.TRANSITION_END,o).emulateTransitionEnd(a)}else o()},t._transitionComplete=function(t,e,i){if(e){f(e).removeClass(Ci);var n=f(e.parentNode).find(Li)[0];n&&f(n).removeClass(Ci),"tab"===e.getAttribute("role")&&e.setAttribute("aria-selected",!1)}if(f(t).addClass(Ci),"tab"===t.getAttribute("role")&&t.setAttribute("aria-selected",!0),m.reflow(t),f(t).addClass($i),t.parentNode&&f(t.parentNode).hasClass(xi)){var s=f(t).closest(Di)[0];if(s){var r=[].slice.call(s.querySelectorAll(Oi));f(r).addClass(Ci)}t.setAttribute("aria-expanded",!0)}i&&i()},n._jQueryInterface=function(i){return this.each(function(){var t=f(this),e=t.data(yi);if(e||(e=new n(this),t.data(yi,e)),"string"==typeof i){if(void 0===e[i])throw new TypeError('No method named "'+i+'"');e[i]()}})},o(n,null,[{key:"VERSION",get:function(){return"4.2.1"}}]),n}();f(document).on(_i.CLICK_DATA_API,Ai,function(t){t.preventDefault(),Ni._jQueryInterface.call(f(this),"show")}),f.fn.tab=Ni._jQueryInterface,f.fn.tab.Constructor=Ni,f.fn.tab.noConflict=function(){return f.fn.tab=wi,Ni._jQueryInterface};var Mi="toast",Pi="bs.toast",ji="."+Pi,Hi=f.fn[Mi],Ri={CLICK_DISMISS:"click.dismiss"+ji,HIDE:"hide"+ji,HIDDEN:"hidden"+ji,SHOW:"show"+ji,SHOWN:"shown"+ji},Bi="fade",zi="hide",Fi="show",Wi="showing",qi={animation:"boolean",autohide:"boolean",delay:"number"},Yi={animation:!0,autohide:!0,delay:500},Ui='[data-dismiss="toast"]',Ki=function(){function n(t,e){this._element=t,this._config=this._getConfig(e),this._timeout=null,this._setListeners()}var t=n.prototype;return t.show=function(){var t=this;f(this._element).trigger(Ri.SHOW),this._config.animation&&this._element.classList.add(Bi);var e=function(){t._element.classList.remove(Wi),t._element.classList.add(Fi),f(t._element).trigger(Ri.SHOWN),t._config.autohide&&t.hide()};if(this._element.classList.remove(zi),this._element.classList.add(Wi),this._config.animation){var i=m.getTransitionDurationFromElement(this._element);f(this._element).one(m.TRANSITION_END,e).emulateTransitionEnd(i)}else e()},t.hide=function(t){var e=this;this._element.classList.contains(Fi)&&(f(this._element).trigger(Ri.HIDE),t?this._close():this._timeout=setTimeout(function(){e._close()},this._config.delay))},t.dispose=function(){clearTimeout(this._timeout),this._timeout=null,this._element.classList.contains(Fi)&&this._element.classList.remove(Fi),f(this._element).off(Ri.CLICK_DISMISS),f.removeData(this._element,Pi),this._element=null,this._config=null},t._getConfig=function(t){return t=l({},Yi,f(this._element).data(),"object"==typeof t&&t?t:{}),m.typeCheckConfig(Mi,t,this.constructor.DefaultType),t},t._setListeners=function(){var t=this;f(this._element).on(Ri.CLICK_DISMISS,Ui,function(){return t.hide(!0)})},t._close=function(){var t=this,e=function(){t._element.classList.add(zi),f(t._element).trigger(Ri.HIDDEN)};if(this._element.classList.remove(Fi),this._config.animation){var i=m.getTransitionDurationFromElement(this._element);f(this._element).one(m.TRANSITION_END,e).emulateTransitionEnd(i)}else e()},n._jQueryInterface=function(i){return this.each(function(){var t=f(this),e=t.data(Pi);if(e||(e=new n(this,"object"==typeof i&&i),t.data(Pi,e)),"string"==typeof i){if(void 0===e[i])throw new TypeError('No method named "'+i+'"');e[i](this)}})},o(n,null,[{key:"VERSION",get:function(){return"4.2.1"}},{key:"DefaultType",get:function(){return qi}}]),n}();f.fn[Mi]=Ki._jQueryInterface,f.fn[Mi].Constructor=Ki,f.fn[Mi].noConflict=function(){return f.fn[Mi]=Hi,Ki._jQueryInterface},function(){if(void 0===f)throw new TypeError("Bootstrap's JavaScript requires jQuery. jQuery must be included before Bootstrap's JavaScript.");var t=f.fn.jquery.split(" ")[0].split(".");if(t[0]<2&&t[1]<9||1===t[0]&&9===t[1]&&t[2]<1||4<=t[0])throw new Error("Bootstrap's JavaScript requires at least jQuery v1.9.1 but less than v4.0.0")}(),t.Util=m,t.Alert=v,t.Button=O,t.Carousel=lt,t.Collapse=kt,t.Dropdown=Zt,t.Modal=ge,t.Popover=Xe,t.Scrollspy=vi,t.Tab=Ni,t.Toast=Ki,t.Tooltip=je,Object.defineProperty(t,"__esModule",{value:!0})}),function(U){"use strict";"classList"in document.createElement("_")||function(t){if("Element"in t){var e="classList",i=t.Element.prototype,n=Object,s=function(){var i=U(this);return{add:function(t){return i.addClass(t)},remove:function(t){return i.removeClass(t)},toggle:function(t,e){return i.toggleClass(t,e)},contains:function(t){return i.hasClass(t)}}};if(n.defineProperty){var r={get:s,enumerable:!0,configurable:!0};try{n.defineProperty(i,e,r)}catch(t){void 0!==t.number&&-2146823252!==t.number||(r.enumerable=!1,n.defineProperty(i,e,r))}}else n.prototype.__defineGetter__&&i.__defineGetter__(e,s)}}(window);var t,c,e,i=document.createElement("_");if(i.classList.toggle("c3",!1),i.classList.contains("c3")){var n=DOMTokenList.prototype.toggle;DOMTokenList.prototype.toggle=function(t,e){return 1 in arguments&&!this.contains(t)==!e?e:n.call(this,t)}}function E(t){var e,i=[],n=t&&t.options;if(t.multiple)for(var s=0,r=n.length;s<r;s++)(e=n[s]).selected&&i.push(e.value||e.text);else i=t.value;return i}i=null,String.prototype.startsWith||(t=function(){try{var t={},e=Object.defineProperty,i=e(t,t,t)&&e}catch(t){}return i}(),c={}.toString,e=function(t){if(null==this)throw new TypeError;var e=String(this);if(t&&"[object RegExp]"==c.call(t))throw new TypeError;var i=e.length,n=String(t),s=n.length,r=1<arguments.length?arguments[1]:void 0,o=r?Number(r):0;o!=o&&(o=0);var a=Math.min(Math.max(o,0),i);if(i<s+a)return!1;for(var l=-1;++l<s;)if(e.charCodeAt(a+l)!=n.charCodeAt(l))return!1;return!0},t?t(String.prototype,"startsWith",{value:e,configurable:!0,writable:!0}):String.prototype.startsWith=e),Object.keys||(Object.keys=function(t,e,i){for(e in i=[],t)i.hasOwnProperty.call(t,e)&&i.push(e);return i});var r={useDefault:!1,_set:U.valHooks.select.set};U.valHooks.select.set=function(t,e){return e&&!r.useDefault&&U(t).data("selected",!0),r._set.apply(this,arguments)};var $=null,s=function(){try{return new Event("change"),!0}catch(t){return!1}}();function C(t,e,i,n){for(var s=["content","subtext","tokens"],r=!1,o=0;o<s.length;o++){var a=s[o],l=t[a];if(l&&(l=l.toString(),"content"===a&&(l=l.replace(/<[^>]+>/g,"")),n&&(l=m(l)),l=l.toUpperCase(),r="contains"===i?0<=l.indexOf(e):l.startsWith(e)))break}return r}function I(t){return parseInt(t,10)||0}U.fn.triggerNative=function(t){var e,i=this[0];i.dispatchEvent?(s?e=new Event(t,{bubbles:!0}):(e=document.createEvent("Event")).initEvent(t,!0,!1),i.dispatchEvent(e)):i.fireEvent?((e=document.createEventObject()).eventType=t,i.fireEvent("on"+t,e)):this.trigger(t)};var o={"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","Ç":"C","ç":"c","Ð":"D","ð":"d","È":"E","É":"E","Ê":"E","Ë":"E","è":"e","é":"e","ê":"e","ë":"e","Ì":"I","Í":"I","Î":"I","Ï":"I","ì":"i","í":"i","î":"i","ï":"i","Ñ":"N","ñ":"n","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ù":"U","Ú":"U","Û":"U","Ü":"U","ù":"u","ú":"u","û":"u","ü":"u","Ý":"Y","ý":"y","ÿ":"y","Æ":"Ae","æ":"ae","Þ":"Th","þ":"th","ß":"ss","Ā":"A","Ă":"A","Ą":"A","ā":"a","ă":"a","ą":"a","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","ć":"c","ĉ":"c","ċ":"c","č":"c","Ď":"D","Đ":"D","ď":"d","đ":"d","Ē":"E","Ĕ":"E","Ė":"E","Ę":"E","Ě":"E","ē":"e","ĕ":"e","ė":"e","ę":"e","ě":"e","Ĝ":"G","Ğ":"G","Ġ":"G","Ģ":"G","ĝ":"g","ğ":"g","ġ":"g","ģ":"g","Ĥ":"H","Ħ":"H","ĥ":"h","ħ":"h","Ĩ":"I","Ī":"I","Ĭ":"I","Į":"I","İ":"I","ĩ":"i","ī":"i","ĭ":"i","į":"i","ı":"i","Ĵ":"J","ĵ":"j","Ķ":"K","ķ":"k","ĸ":"k","Ĺ":"L","Ļ":"L","Ľ":"L","Ŀ":"L","Ł":"L","ĺ":"l","ļ":"l","ľ":"l","ŀ":"l","ł":"l","Ń":"N","Ņ":"N","Ň":"N","Ŋ":"N","ń":"n","ņ":"n","ň":"n","ŋ":"n","Ō":"O","Ŏ":"O","Ő":"O","ō":"o","ŏ":"o","ő":"o","Ŕ":"R","Ŗ":"R","Ř":"R","ŕ":"r","ŗ":"r","ř":"r","Ś":"S","Ŝ":"S","Ş":"S","Š":"S","ś":"s","ŝ":"s","ş":"s","š":"s","Ţ":"T","Ť":"T","Ŧ":"T","ţ":"t","ť":"t","ŧ":"t","Ũ":"U","Ū":"U","Ŭ":"U","Ů":"U","Ű":"U","Ų":"U","ũ":"u","ū":"u","ŭ":"u","ů":"u","ű":"u","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","Ż":"Z","Ž":"Z","ź":"z","ż":"z","ž":"z","IJ":"IJ","ij":"ij","Œ":"Oe","œ":"oe","ʼn":"'n","ſ":"s"},a=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,l=RegExp("[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\u1ab0-\\u1aff\\u1dc0-\\u1dff]","g");function h(t){return o[t]}function m(t){return(t=t.toString())&&t.replace(a,h).replace(l,"")}var d=function(e){var i=function(t){return e[t]},t="(?:"+Object.keys(e).join("|")+")",n=RegExp(t),s=RegExp(t,"g");return function(t){return t=null==t?"":""+t,n.test(t)?t.replace(s,i):t}},K=d({"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#x27;","`":"&#x60;"}),g=d({"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#x27;":"'","&#x60;":"`"}),k={32:" ",48:"0",49:"1",50:"2",51:"3",52:"4",53:"5",54:"6",55:"7",56:"8",57:"9",59:";",65:"A",66:"B",67:"C",68:"D",69:"E",70:"F",71:"G",72:"H",73:"I",74:"J",75:"K",76:"L",77:"M",78:"N",79:"O",80:"P",81:"Q",82:"R",83:"S",84:"T",85:"U",86:"V",87:"W",88:"X",89:"Y",90:"Z",96:"0",97:"1",98:"2",99:"3",100:"4",101:"5",102:"6",103:"7",104:"8",105:"9"},D=27,T=13,S=32,A=9,O=38,L=40,V={success:!1,major:"3"};try{V.full=(U.fn.dropdown.Constructor.VERSION||"").split(" ")[0].split("."),V.major=V.full[0],V.success=!0}catch(t){console.warn("There was an issue retrieving Bootstrap's version. Ensure Bootstrap is being loaded before bootstrap-select and there is no namespace collision. If loading Bootstrap asynchronously, the version may need to be manually specified via $.fn.selectpicker.Constructor.BootstrapVersion.",t)}var u=0,N=".bs.select",G={DISABLED:"disabled",DIVIDER:"divider",SHOW:"open",DROPUP:"dropup",MENU:"dropdown-menu",MENURIGHT:"dropdown-menu-right",MENULEFT:"dropdown-menu-left",BUTTONCLASS:"btn-default",POPOVERHEADER:"popover-title"},M={MENU:"."+G.MENU};"4"===V.major&&(G.DIVIDER="dropdown-divider",G.SHOW="show",G.BUTTONCLASS="btn-light",G.POPOVERHEADER="popover-header");var P=new RegExp(O+"|"+L),j=new RegExp("^"+A+"$|"+D),p=function t(e,i){var n=this;r.useDefault||(U.valHooks.select.set=r._set,r.useDefault=!0),this.$element=U(e),this.$newElement=null,this.$button=null,this.$menu=null,this.options=i,this.selectpicker={main:{map:{newIndex:{},originalIndex:{}}},current:{map:{}},search:{map:{}},view:{},keydown:{keyHistory:"",resetKeyHistory:{start:function(){return setTimeout(function(){n.selectpicker.keydown.keyHistory=""},800)}}}},null===this.options.title&&(this.options.title=this.$element.attr("title"));var s=this.options.windowPadding;"number"==typeof s&&(this.options.windowPadding=[s,s,s,s]),this.val=t.prototype.val,this.render=t.prototype.render,this.refresh=t.prototype.refresh,this.setStyle=t.prototype.setStyle,this.selectAll=t.prototype.selectAll,this.deselectAll=t.prototype.deselectAll,this.destroy=t.prototype.destroy,this.remove=t.prototype.remove,this.show=t.prototype.show,this.hide=t.prototype.hide,this.init()};function f(t){var r,o=arguments,a=t;if([].shift.apply(o),!V.success){try{V.full=(U.fn.dropdown.Constructor.VERSION||"").split(" ")[0].split(".")}catch(t){V.full=p.BootstrapVersion.split(" ")[0].split(".")}V.major=V.full[0],V.success=!0,"4"===V.major&&(G.DIVIDER="dropdown-divider",G.SHOW="show",G.BUTTONCLASS="btn-light",p.DEFAULTS.style=G.BUTTONCLASS="btn-light",G.POPOVERHEADER="popover-header")}var e=this.each(function(){var t=U(this);if(t.is("select")){var e=t.data("selectpicker"),i="object"==typeof a&&a;if(e){if(i)for(var n in i)i.hasOwnProperty(n)&&(e.options[n]=i[n])}else{var s=U.extend({},p.DEFAULTS,U.fn.selectpicker.defaults||{},t.data(),i);s.template=U.extend({},p.DEFAULTS.template,U.fn.selectpicker.defaults?U.fn.selectpicker.defaults.template:{},t.data().template,i.template),t.data("selectpicker",e=new p(this,s))}"string"==typeof a&&(r=e[a]instanceof Function?e[a].apply(e,o):e.options[a])}});return void 0!==r?r:e}p.VERSION="1.13.5",p.BootstrapVersion=V.major,p.DEFAULTS={noneSelectedText:"Nothing selected",noneResultsText:"No results matched {0}",countSelectedText:function(t,e){return 1==t?"{0} item selected":"{0} items selected"},maxOptionsText:function(t,e){return[1==t?"Limit reached ({n} item max)":"Limit reached ({n} items max)",1==e?"Group limit reached ({n} item max)":"Group limit reached ({n} items max)"]},selectAllText:"Select All",deselectAllText:"Deselect All",doneButton:!1,doneButtonText:"Close",multipleSeparator:", ",styleBase:"btn",style:G.BUTTONCLASS,size:"auto",title:null,selectedTextFormat:"values",width:!1,container:!1,hideDisabled:!1,showSubtext:!1,showIcon:!0,showContent:!0,dropupAuto:!0,header:!1,liveSearch:!1,liveSearchPlaceholder:null,liveSearchNormalize:!1,liveSearchStyle:"contains",actionsBox:!1,iconBase:"glyphicon",tickIcon:"glyphicon-ok",showTick:!1,template:{caret:'<span class="caret"></span>'},maxOptions:!1,mobile:!1,selectOnTab:!1,dropdownAlignRight:!1,windowPadding:0,virtualScroll:600,display:!1},"4"===V.major&&(p.DEFAULTS.style="btn-light",p.DEFAULTS.iconBase="",p.DEFAULTS.tickIcon="bs-ok-default"),p.prototype={constructor:p,init:function(){var i=this,t=this.$element.attr("id");this.selectId=u++,this.$element.addClass("bs-select-hidden"),this.multiple=this.$element.prop("multiple"),this.autofocus=this.$element.prop("autofocus"),this.$newElement=this.createDropdown(),this.createLi(),this.$element.after(this.$newElement).prependTo(this.$newElement),this.$button=this.$newElement.children("button"),this.$menu=this.$newElement.children(M.MENU),this.$menuInner=this.$menu.children(".inner"),this.$searchbox=this.$menu.find("input"),this.$element.removeClass("bs-select-hidden"),!0===this.options.dropdownAlignRight&&this.$menu.addClass(G.MENURIGHT),void 0!==t&&this.$button.attr("data-id",t),this.checkDisabled(),this.clickListener(),this.options.liveSearch&&this.liveSearchListener(),this.render(),this.setStyle(),this.setWidth(),this.options.container?this.selectPosition():this.$element.on("hide"+N,function(){if(i.isVirtual()){var t=i.$menuInner[0],e=t.firstChild.cloneNode(!1);t.replaceChild(e,t.firstChild),t.scrollTop=0}}),this.$menu.data("this",this),this.$newElement.data("this",this),this.options.mobile&&this.mobile(),this.$newElement.on({"hide.bs.dropdown":function(t){i.$menuInner.attr("aria-expanded",!1),i.$element.trigger("hide"+N,t)},"hidden.bs.dropdown":function(t){i.$element.trigger("hidden"+N,t)},"show.bs.dropdown":function(t){i.$menuInner.attr("aria-expanded",!0),i.$element.trigger("show"+N,t)},"shown.bs.dropdown":function(t){i.$element.trigger("shown"+N,t)}}),i.$element[0].hasAttribute("required")&&this.$element.on("invalid",function(){i.$button.addClass("bs-invalid"),i.$element.on("shown"+N+".invalid",function(){i.$element.val(i.$element.val()).off("shown"+N+".invalid")}).on("rendered"+N,function(){this.validity.valid&&i.$button.removeClass("bs-invalid"),i.$element.off("rendered"+N)}),i.$button.on("blur"+N,function(){i.$element.focus().blur(),i.$button.off("blur"+N)})}),setTimeout(function(){i.$element.trigger("loaded"+N)})},createDropdown:function(){var t,e=this.multiple||this.options.showTick?" show-tick":"",i=this.autofocus?" autofocus":"",n="",s="",r="",o="";return this.options.header&&(n='<div class="'+G.POPOVERHEADER+'"><button type="button" class="close" aria-hidden="true">&times;</button>'+this.options.header+"</div>"),this.options.liveSearch&&(s='<div class="bs-searchbox"><input type="text" class="form-control" autocomplete="off"'+(null===this.options.liveSearchPlaceholder?"":' placeholder="'+K(this.options.liveSearchPlaceholder)+'"')+' role="textbox" aria-label="Search"></div>'),this.multiple&&this.options.actionsBox&&(r='<div class="bs-actionsbox"><div class="btn-group btn-group-sm btn-block"><button type="button" class="actions-btn bs-select-all btn '+G.BUTTONCLASS+'">'+this.options.selectAllText+'</button><button type="button" class="actions-btn bs-deselect-all btn '+G.BUTTONCLASS+'">'+this.options.deselectAllText+"</button></div></div>"),this.multiple&&this.options.doneButton&&(o='<div class="bs-donebutton"><div class="btn-group btn-block"><button type="button" class="btn btn-sm '+G.BUTTONCLASS+'">'+this.options.doneButtonText+"</button></div></div>"),t='<div class="dropdown bootstrap-select'+e+'"><button type="button" class="'+this.options.styleBase+' dropdown-toggle" '+("static"===this.options.display?'data-display="static"':"")+'data-toggle="dropdown"'+i+' role="button"><div class="filter-option"><div class="filter-option-inner"><div class="filter-option-inner-inner"></div></div> </div>'+("4"===V.major?"":'<span class="bs-caret">'+this.options.template.caret+"</span>")+'</button><div class="'+G.MENU+" "+("4"===V.major?"":G.SHOW)+'" role="combobox">'+n+s+r+'<div class="inner '+G.SHOW+'" role="listbox" aria-expanded="false" tabindex="-1"><ul class="'+G.MENU+" inner "+("4"===V.major?G.SHOW:"")+'"></ul></div>'+o+"</div></div>",U(t)},setPositionData:function(){this.selectpicker.view.canHighlight=[];for(var t=0;t<this.selectpicker.current.data.length;t++){var e=this.selectpicker.current.data[t],i=!0;"divider"===e.type?(i=!1,e.height=this.sizeInfo.dividerHeight):"optgroup-label"===e.type?(i=!1,e.height=this.sizeInfo.dropdownHeaderHeight):e.height=this.sizeInfo.liHeight,e.disabled&&(i=!1),this.selectpicker.view.canHighlight.push(i),e.position=(0===t?0:this.selectpicker.current.data[t-1].position)+e.height}},isVirtual:function(){return!1!==this.options.virtualScroll&&this.selectpicker.main.elements.length>=this.options.virtualScroll||!0===this.options.virtualScroll},createView:function(D,t){t=t||0;var T=this;this.selectpicker.current=D?this.selectpicker.search:this.selectpicker.main;var I,S,A=[];function i(t,e){var i,n,s,r,o,a,l,c,h,d,u=T.selectpicker.current.elements.length,p=[],f=!0,m=T.isVirtual();T.selectpicker.view.scrollTop=t,!0===m&&T.sizeInfo.hasScrollBar&&T.$menu[0].offsetWidth>T.sizeInfo.totalMenuWidth&&(T.sizeInfo.menuWidth=T.$menu[0].offsetWidth,T.sizeInfo.totalMenuWidth=T.sizeInfo.menuWidth+T.sizeInfo.scrollBarWidth,T.$menu.css("min-width",T.sizeInfo.menuWidth)),i=Math.ceil(T.sizeInfo.menuInnerHeight/T.sizeInfo.liHeight*1.5),n=Math.round(u/i)||1;for(var g=0;g<n;g++){var v=(g+1)*i;if(g===n-1&&(v=u),p[g]=[g*i+(g?1:0),v],!u)break;void 0===o&&t<=T.selectpicker.current.data[v-1].position-T.sizeInfo.menuInnerHeight&&(o=g)}if(void 0===o&&(o=0),a=[T.selectpicker.view.position0,T.selectpicker.view.position1],s=Math.max(0,o-1),r=Math.min(n-1,o+1),T.selectpicker.view.position0=Math.max(0,p[s][0])||0,T.selectpicker.view.position1=Math.min(u,p[r][1])||0,l=a[0]!==T.selectpicker.view.position0||a[1]!==T.selectpicker.view.position1,void 0!==T.activeIndex&&(S=T.selectpicker.current.elements[T.selectpicker.current.map.newIndex[T.prevActiveIndex]],A=T.selectpicker.current.elements[T.selectpicker.current.map.newIndex[T.activeIndex]],I=T.selectpicker.current.elements[T.selectpicker.current.map.newIndex[T.selectedIndex]],e&&(T.activeIndex!==T.selectedIndex&&(A.classList.remove("active"),A.firstChild&&A.firstChild.classList.remove("active")),T.activeIndex=void 0),T.activeIndex&&T.activeIndex!==T.selectedIndex&&I&&I.length&&(I.classList.remove("active"),I.firstChild&&I.firstChild.classList.remove("active"))),void 0!==T.prevActiveIndex&&T.prevActiveIndex!==T.activeIndex&&T.prevActiveIndex!==T.selectedIndex&&S&&S.length&&(S.classList.remove("active"),S.firstChild&&S.firstChild.classList.remove("active")),(e||l)&&(c=T.selectpicker.view.visibleElements?T.selectpicker.view.visibleElements.slice():[],T.selectpicker.view.visibleElements=T.selectpicker.current.elements.slice(T.selectpicker.view.position0,T.selectpicker.view.position1),T.setOptionStatus(),(D||!1===m&&e)&&(h=c,d=T.selectpicker.view.visibleElements,f=!(h.length===d.length&&h.every(function(t,e){return t===d[e]}))),(e||!0===m)&&f)){var y,b,w=T.$menuInner[0],_=document.createDocumentFragment(),x=w.firstChild.cloneNode(!1),C=!0===m?T.selectpicker.view.visibleElements:T.selectpicker.current.elements;w.replaceChild(x,w.firstChild);g=0;for(var k=C.length;g<k;g++)_.appendChild(C[g]);!0===m&&(y=0===T.selectpicker.view.position0?0:T.selectpicker.current.data[T.selectpicker.view.position0-1].position,b=T.selectpicker.view.position1>u-1?0:T.selectpicker.current.data[u-1].position-T.selectpicker.current.data[T.selectpicker.view.position1-1].position,w.firstChild.style.marginTop=y+"px",w.firstChild.style.marginBottom=b+"px"),w.firstChild.appendChild(_)}if(T.prevActiveIndex=T.activeIndex,T.options.liveSearch){if(D&&e){var E,$=0;T.selectpicker.view.canHighlight[$]||($=1+T.selectpicker.view.canHighlight.slice(1).indexOf(!0)),E=T.selectpicker.view.visibleElements[$],T.selectpicker.view.currentActive&&(T.selectpicker.view.currentActive.classList.remove("active"),T.selectpicker.view.currentActive.firstChild&&T.selectpicker.view.currentActive.firstChild.classList.remove("active")),E&&(E.classList.add("active"),E.firstChild&&E.firstChild.classList.add("active")),T.activeIndex=T.selectpicker.current.map.originalIndex[$]}}else T.$menuInner.focus()}this.setPositionData(),i(t,!0),this.$menuInner.off("scroll.createView").on("scroll.createView",function(t,e){T.noScroll||i(this.scrollTop,e),T.noScroll=!1}),U(window).off("resize"+N+"."+this.selectId+".createView").on("resize"+N+"."+this.selectId+".createView",function(){T.$newElement.hasClass(G.SHOW)&&i(T.$menuInner[0].scrollTop)})},createLi:function(){var S,A=this,O=[],L={},N=0,M=0,P=[],j=0,H=0,R=-1;this.selectpicker.view.titleOption||(this.selectpicker.view.titleOption=document.createElement("option"));var t,B={span:document.createElement("span"),subtext:document.createElement("small"),a:document.createElement("a"),li:document.createElement("li"),whitespace:document.createTextNode(" ")},z=document.createDocumentFragment();(A.options.showTick||A.multiple)&&((t=B.span.cloneNode(!1)).className=A.options.iconBase+" "+A.options.tickIcon+" check-mark",B.a.appendChild(t)),B.a.setAttribute("role","option"),B.subtext.className="text-muted",B.text=B.span.cloneNode(!1),B.text.className="text";var F=function(t,e,i){var n=B.li.cloneNode(!1);return t&&(1===t.nodeType||11===t.nodeType?n.appendChild(t):n.innerHTML=t),void 0!==e&&""!==e&&(n.className=e),null!=i&&n.classList.add("optgroup-"+i),n},W=function(t,e,i){var n=B.a.cloneNode(!0);return t&&(11===t.nodeType?n.appendChild(t):n.insertAdjacentHTML("beforeend",t)),void 0!==e&&""!==e&&(n.className=e),"4"===V.major&&n.classList.add("dropdown-item"),i&&n.setAttribute("style",i),n},q=function(t){var e,i,n=B.text.cloneNode(!1);if(t.optionContent)n.innerHTML=t.optionContent;else{if(n.textContent=t.text,t.optionIcon){var s=B.whitespace.cloneNode(!1);(i=B.span.cloneNode(!1)).className=A.options.iconBase+" "+t.optionIcon,z.appendChild(i),z.appendChild(s)}t.optionSubtext&&((e=B.subtext.cloneNode(!1)).innerHTML=t.optionSubtext,n.appendChild(e))}return z.appendChild(n),z};if(this.options.title&&!this.multiple){R--;var e=this.$element[0],i=!1,n=!this.selectpicker.view.titleOption.parentNode;if(n)this.selectpicker.view.titleOption.className="bs-title-option",this.selectpicker.view.titleOption.value="",i=void 0===U(e.options[e.selectedIndex]).attr("selected")&&void 0===this.$element.data("selected");(n||0!==this.selectpicker.view.titleOption.index)&&e.insertBefore(this.selectpicker.view.titleOption,e.firstChild),i&&(e.selectedIndex=0)}var Y=this.$element.find("option");Y.each(function(t){var e=U(this);if(R++,!e.hasClass("bs-title-option")){var i,n,s,r,o=e.data(),a=this.className||"",l=K(this.style.cssText),c=o.content,h=this.textContent,d=o.tokens,u=o.subtext,p=o.icon,f=e.parent(),m=f[0],g="OPTGROUP"===m.tagName,v=g&&m.disabled,y=this.disabled||v,b=this.previousElementSibling&&"OPTGROUP"===this.previousElementSibling.tagName,w=f.data();if(!0===o.hidden||this.hidden||A.options.hideDisabled&&(y||v))return i=o.prevHiddenIndex,e.next().data("prevHiddenIndex",void 0!==i?i:t),R--,L[t]={type:"hidden",data:o},b||void 0!==i&&(r=Y[i].previousElementSibling)&&"OPTGROUP"===r.tagName&&!r.disabled&&(b=!0),void(b&&"divider"!==P[P.length-1].type&&(R++,O.push(F(!1,G.DIVIDER,j+"div")),P.push({type:"divider",optID:j})));if(g&&!0!==o.divider){if(A.options.hideDisabled&&y){if(void 0===w.allOptionsDisabled){var _=f.children();f.data("allOptionsDisabled",_.filter(":disabled").length===_.length)}if(f.data("allOptionsDisabled"))return void R--}var x=" "+m.className||"",C=this.previousElementSibling;if(void 0!==(i=o.prevHiddenIndex)&&(C=Y[i].previousElementSibling),!C){j+=1;var k=m.label,E=K(k),$=w.subtext,D=w.icon;0!==t&&0<O.length&&(R++,O.push(F(!1,G.DIVIDER,j+"div")),P.push({type:"divider",optID:j})),R++,s=function(t){var e,i,n=B.text.cloneNode(!1);if(n.innerHTML=t.labelEscaped,t.labelIcon){var s=B.whitespace.cloneNode(!1);(i=B.span.cloneNode(!1)).className=A.options.iconBase+" "+t.labelIcon,z.appendChild(i),z.appendChild(s)}return t.labelSubtext&&((e=B.subtext.cloneNode(!1)).textContent=t.labelSubtext,n.appendChild(e)),z.appendChild(n),z}({labelEscaped:E,labelSubtext:$,labelIcon:D}),O.push(F(s,"dropdown-header"+x,j)),P.push({content:E,subtext:$,type:"optgroup-label",optID:j}),H=R-1}n=q({text:h,optionContent:c,optionSubtext:u,optionIcon:p}),O.push(F(W(n,"opt "+a+x,l),"",j)),P.push({content:c||h,subtext:u,tokens:d,type:"option",optID:j,headerIndex:H,lastIndex:H+m.childElementCount,originalIndex:t,data:o}),N++}else!0===o.divider?(O.push(F(!1,G.DIVIDER)),P.push({type:"divider",originalIndex:t,data:o})):(!b&&A.options.hideDisabled&&void 0!==(i=o.prevHiddenIndex)&&(r=Y[i].previousElementSibling)&&"OPTGROUP"===r.tagName&&!r.disabled&&(b=!0),b&&"divider"!==P[P.length-1].type&&(R++,O.push(F(!1,G.DIVIDER,j+"div")),P.push({type:"divider",optID:j})),n=q({text:h,optionContent:c,optionSubtext:u,optionIcon:p}),O.push(F(W(n,a,l))),P.push({content:c||h,subtext:u,tokens:d,type:"option",originalIndex:t,data:o}),N++);A.selectpicker.main.map.newIndex[t]=R,A.selectpicker.main.map.originalIndex[R]=t;var T=P[P.length-1];T.disabled=y;var I=0;T.content&&(I+=T.content.length),T.subtext&&(I+=T.subtext.length),p&&(I+=1),M<I&&(M=I,S=O[O.length-1])}}),this.selectpicker.main.elements=O,this.selectpicker.main.data=P,this.selectpicker.main.hidden=L,this.selectpicker.current=this.selectpicker.main,this.selectpicker.view.widestOption=S,this.selectpicker.view.availableOptionsCount=N},findLis:function(){return this.$menuInner.find(".inner > li")},render:function(){var t=this.$element.find("option"),e=[],i=[];this.togglePlaceholder(),this.tabIndex();for(var n=0,s=t.length;n<s;n++){var r=this.selectpicker.main.map.newIndex[n],o=t[n],a=this.selectpicker.main.data[r]||this.selectpicker.main.hidden[n];if(o&&o.selected&&a&&(e.push(o),i.length<100&&"count"!==this.options.selectedTextFormat||1===e.length)){var l,c,h=a.data,d=h.icon&&this.options.showIcon?'<i class="'+this.options.iconBase+" "+h.icon+'"></i> ':"";l=this.options.showSubtext&&h.subtext&&!this.multiple?' <small class="text-muted">'+h.subtext+"</small>":"",c=o.title?o.title:h.content&&this.options.showContent?h.content.toString():d+o.innerHTML.trim()+l,i.push(c)}}var u=this.multiple?i.join(this.options.multipleSeparator):i[0];if(50<e.length&&(u+="..."),this.multiple&&-1!==this.options.selectedTextFormat.indexOf("count")){var p=this.options.selectedTextFormat.split(">");if(1<p.length&&e.length>p[1]||1===p.length&&2<=e.length){var f=this.selectpicker.view.availableOptionsCount;u=("function"==typeof this.options.countSelectedText?this.options.countSelectedText(e.length,f):this.options.countSelectedText).replace("{0}",e.length.toString()).replace("{1}",f.toString())}}null==this.options.title&&(this.options.title=this.$element.attr("title")),"static"==this.options.selectedTextFormat&&(u=this.options.title),u||(u=void 0!==this.options.title?this.options.title:this.options.noneSelectedText),this.$button[0].title=g(u.replace(/<[^>]*>?/g,"").trim()),this.$button.find(".filter-option-inner-inner")[0].innerHTML=u,this.$element.trigger("rendered"+N)},setStyle:function(t,e){this.$element.attr("class")&&this.$newElement.addClass(this.$element.attr("class").replace(/selectpicker|mobile-device|bs-select-hidden|validate\[.*\]/gi,""));var i=t||this.options.style;"add"==e?this.$button.addClass(i):"remove"==e?this.$button.removeClass(i):(this.$button.removeClass(this.options.style),this.$button.addClass(i))},liHeight:function(t){if(t||!1!==this.options.size&&!this.sizeInfo){this.sizeInfo||(this.sizeInfo={});var e=document.createElement("div"),i=document.createElement("div"),n=document.createElement("div"),s=document.createElement("ul"),r=document.createElement("li"),o=document.createElement("li"),a=document.createElement("li"),l=document.createElement("a"),c=document.createElement("span"),h=this.options.header&&0<this.$menu.find("."+G.POPOVERHEADER).length?this.$menu.find("."+G.POPOVERHEADER)[0].cloneNode(!0):null,d=this.options.liveSearch?document.createElement("div"):null,u=this.options.actionsBox&&this.multiple&&0<this.$menu.find(".bs-actionsbox").length?this.$menu.find(".bs-actionsbox")[0].cloneNode(!0):null,p=this.options.doneButton&&this.multiple&&0<this.$menu.find(".bs-donebutton").length?this.$menu.find(".bs-donebutton")[0].cloneNode(!0):null,f=this.$element.find("option")[0];if(this.sizeInfo.selectWidth=this.$newElement[0].offsetWidth,c.className="text",l.className="dropdown-item "+(f?f.className:""),e.className=this.$menu[0].parentNode.className+" "+G.SHOW,e.style.width=this.sizeInfo.selectWidth+"px","auto"===this.options.width&&(i.style.minWidth=0),i.className=G.MENU+" "+G.SHOW,n.className="inner "+G.SHOW,s.className=G.MENU+" inner "+("4"===V.major?G.SHOW:""),r.className=G.DIVIDER,o.className="dropdown-header",c.appendChild(document.createTextNode("")),l.appendChild(c),a.appendChild(l),o.appendChild(c.cloneNode(!0)),this.selectpicker.view.widestOption&&s.appendChild(this.selectpicker.view.widestOption.cloneNode(!0)),s.appendChild(a),s.appendChild(r),s.appendChild(o),h&&i.appendChild(h),d){var m=document.createElement("input");d.className="bs-searchbox",m.className="form-control",d.appendChild(m),i.appendChild(d)}u&&i.appendChild(u),n.appendChild(s),i.appendChild(n),p&&i.appendChild(p),e.appendChild(i),document.body.appendChild(e);var g,v=l.offsetHeight,y=o?o.offsetHeight:0,b=h?h.offsetHeight:0,w=d?d.offsetHeight:0,_=u?u.offsetHeight:0,x=p?p.offsetHeight:0,C=U(r).outerHeight(!0),k=!!window.getComputedStyle&&window.getComputedStyle(i),E=i.offsetWidth,$=k?null:U(i),D={vert:I(k?k.paddingTop:$.css("paddingTop"))+I(k?k.paddingBottom:$.css("paddingBottom"))+I(k?k.borderTopWidth:$.css("borderTopWidth"))+I(k?k.borderBottomWidth:$.css("borderBottomWidth")),horiz:I(k?k.paddingLeft:$.css("paddingLeft"))+I(k?k.paddingRight:$.css("paddingRight"))+I(k?k.borderLeftWidth:$.css("borderLeftWidth"))+I(k?k.borderRightWidth:$.css("borderRightWidth"))},T={vert:D.vert+I(k?k.marginTop:$.css("marginTop"))+I(k?k.marginBottom:$.css("marginBottom"))+2,horiz:D.horiz+I(k?k.marginLeft:$.css("marginLeft"))+I(k?k.marginRight:$.css("marginRight"))+2};n.style.overflowY="scroll",g=i.offsetWidth-E,document.body.removeChild(e),this.sizeInfo.liHeight=v,this.sizeInfo.dropdownHeaderHeight=y,this.sizeInfo.headerHeight=b,this.sizeInfo.searchHeight=w,this.sizeInfo.actionsHeight=_,this.sizeInfo.doneButtonHeight=x,this.sizeInfo.dividerHeight=C,this.sizeInfo.menuPadding=D,this.sizeInfo.menuExtras=T,this.sizeInfo.menuWidth=E,this.sizeInfo.totalMenuWidth=this.sizeInfo.menuWidth,this.sizeInfo.scrollBarWidth=g,this.sizeInfo.selectHeight=this.$newElement[0].offsetHeight,this.setPositionData()}},getSelectPosition:function(){var t,e=U(window),i=this.$newElement.offset(),n=U(this.options.container);this.options.container&&!n.is("body")?((t=n.offset()).top+=parseInt(n.css("borderTopWidth")),t.left+=parseInt(n.css("borderLeftWidth"))):t={top:0,left:0};var s=this.options.windowPadding;this.sizeInfo.selectOffsetTop=i.top-t.top-e.scrollTop(),this.sizeInfo.selectOffsetBot=e.height()-this.sizeInfo.selectOffsetTop-this.sizeInfo.selectHeight-t.top-s[2],this.sizeInfo.selectOffsetLeft=i.left-t.left-e.scrollLeft(),this.sizeInfo.selectOffsetRight=e.width()-this.sizeInfo.selectOffsetLeft-this.sizeInfo.selectWidth-t.left-s[1],this.sizeInfo.selectOffsetTop-=s[0],this.sizeInfo.selectOffsetLeft-=s[3]},setMenuSize:function(t){this.getSelectPosition();var e,i,n,s,r,o,a,l=this.sizeInfo.selectWidth,c=this.sizeInfo.liHeight,h=this.sizeInfo.headerHeight,d=this.sizeInfo.searchHeight,u=this.sizeInfo.actionsHeight,p=this.sizeInfo.doneButtonHeight,f=this.sizeInfo.dividerHeight,m=this.sizeInfo.menuPadding,g=0;if(this.options.dropupAuto&&(a=c*this.selectpicker.current.elements.length+m.vert,this.$newElement.toggleClass(G.DROPUP,this.sizeInfo.selectOffsetTop-this.sizeInfo.selectOffsetBot>this.sizeInfo.menuExtras.vert&&a+this.sizeInfo.menuExtras.vert+50>this.sizeInfo.selectOffsetBot)),"auto"===this.options.size)s=3<this.selectpicker.current.elements.length?3*this.sizeInfo.liHeight+this.sizeInfo.menuExtras.vert-2:0,i=this.sizeInfo.selectOffsetBot-this.sizeInfo.menuExtras.vert,n=s+h+d+u+p,o=Math.max(s-m.vert,0),this.$newElement.hasClass(G.DROPUP)&&(i=this.sizeInfo.selectOffsetTop-this.sizeInfo.menuExtras.vert),e=(r=i)-h-d-u-p-m.vert;else if(this.options.size&&"auto"!=this.options.size&&this.selectpicker.current.elements.length>this.options.size){for(var v=0;v<this.options.size;v++)"divider"===this.selectpicker.current.data[v].type&&g++;e=(i=c*this.options.size+g*f+m.vert)-m.vert,r=i+h+d+u+p,n=o=""}"auto"===this.options.dropdownAlignRight&&this.$menu.toggleClass(G.MENURIGHT,this.sizeInfo.selectOffsetLeft>this.sizeInfo.selectOffsetRight&&this.sizeInfo.selectOffsetRight<this.sizeInfo.totalMenuWidth-l),this.$menu.css({"max-height":r+"px",overflow:"hidden","min-height":n+"px"}),this.$menuInner.css({"max-height":e+"px","overflow-y":"auto","min-height":o+"px"}),this.sizeInfo.menuInnerHeight=e,this.selectpicker.current.data.length&&this.selectpicker.current.data[this.selectpicker.current.data.length-1].position>this.sizeInfo.menuInnerHeight&&(this.sizeInfo.hasScrollBar=!0,this.sizeInfo.totalMenuWidth=this.sizeInfo.menuWidth+this.sizeInfo.scrollBarWidth,this.$menu.css("min-width",this.sizeInfo.totalMenuWidth)),this.dropdown&&this.dropdown._popper&&this.dropdown._popper.update()},setSize:function(t){if(this.liHeight(t),this.options.header&&this.$menu.css("padding-top",0),!1!==this.options.size){var e,i=this,n=U(window),s=0;this.setMenuSize(),"auto"===this.options.size?(this.$searchbox.off("input.setMenuSize propertychange.setMenuSize").on("input.setMenuSize propertychange.setMenuSize",function(){return i.setMenuSize()}),n.off("resize"+N+"."+this.selectId+".setMenuSize scroll"+N+"."+this.selectId+".setMenuSize").on("resize"+N+"."+this.selectId+".setMenuSize scroll"+N+"."+this.selectId+".setMenuSize",function(){return i.setMenuSize()})):this.options.size&&"auto"!=this.options.size&&this.selectpicker.current.elements.length>this.options.size&&(this.$searchbox.off("input.setMenuSize propertychange.setMenuSize"),n.off("resize"+N+"."+this.selectId+".setMenuSize scroll"+N+"."+this.selectId+".setMenuSize")),t?s=this.$menuInner[0].scrollTop:i.multiple||"number"==typeof(e=i.selectpicker.main.map.newIndex[i.$element[0].selectedIndex])&&!1!==i.options.size&&(s=(s=i.sizeInfo.liHeight*e)-i.sizeInfo.menuInnerHeight/2+i.sizeInfo.liHeight/2),i.createView(!1,s)}},setWidth:function(){var i=this;"auto"===this.options.width?requestAnimationFrame(function(){i.$menu.css("min-width","0"),i.liHeight(),i.setMenuSize();var t=i.$newElement.clone().appendTo("body"),e=t.css("width","auto").children("button").outerWidth();t.remove(),i.sizeInfo.selectWidth=Math.max(i.sizeInfo.totalMenuWidth,e),i.$newElement.css("width",i.sizeInfo.selectWidth+"px")}):"fit"===this.options.width?(this.$menu.css("min-width",""),this.$newElement.css("width","").addClass("fit-width")):this.options.width?(this.$menu.css("min-width",""),this.$newElement.css("width",this.options.width)):(this.$menu.css("min-width",""),this.$newElement.css("width","")),this.$newElement.hasClass("fit-width")&&"fit"!==this.options.width&&this.$newElement.removeClass("fit-width")},selectPosition:function(){this.$bsContainer=U('<div class="bs-container" />');var n,s,r,o=this,a=U(this.options.container),t=function(t){var e={},i=o.options.display||!!U.fn.dropdown.Constructor.Default&&U.fn.dropdown.Constructor.Default.display;o.$bsContainer.addClass(t.attr("class").replace(/form-control|fit-width/gi,"")).toggleClass(G.DROPUP,t.hasClass(G.DROPUP)),n=t.offset(),a.is("body")?s={top:0,left:0}:((s=a.offset()).top+=parseInt(a.css("borderTopWidth"))-a.scrollTop(),s.left+=parseInt(a.css("borderLeftWidth"))-a.scrollLeft()),r=t.hasClass(G.DROPUP)?0:t[0].offsetHeight,(V.major<4||"static"===i)&&(e.top=n.top-s.top+r,e.left=n.left-s.left),e.width=t[0].offsetWidth,o.$bsContainer.css(e)};this.$button.on("click.bs.dropdown.data-api",function(){o.isDisabled()||(t(o.$newElement),o.$bsContainer.appendTo(o.options.container).toggleClass(G.SHOW,!o.$button.hasClass(G.SHOW)).append(o.$menu))}),U(window).off("resize"+N+"."+this.selectId+" scroll"+N+"."+this.selectId).on("resize"+N+"."+this.selectId+" scroll"+N+"."+this.selectId,function(){o.$newElement.hasClass(G.SHOW)&&t(o.$newElement)}),this.$element.on("hide"+N,function(){o.$menu.data("height",o.$menu.height()),o.$bsContainer.detach()})},setOptionStatus:function(){var t=this.$element.find("option");if(this.noScroll=!1,this.selectpicker.view.visibleElements&&this.selectpicker.view.visibleElements.length)for(var e=0;e<this.selectpicker.view.visibleElements.length;e++){var i=this.selectpicker.current.map.originalIndex[e+this.selectpicker.view.position0],n=t[i];if(n){var s=this.selectpicker.main.map.newIndex[i],r=this.selectpicker.main.elements[s];this.setDisabled(i,n.disabled||"OPTGROUP"===n.parentNode.tagName&&n.parentNode.disabled,s,r),this.setSelected(i,n.selected,s,r)}}},setSelected:function(t,e,i,n){var s,r,o,a=void 0!==this.activeIndex,l=this.activeIndex===t||e&&!this.multiple&&!a;i||(i=this.selectpicker.main.map.newIndex[t]),n||(n=this.selectpicker.main.elements[i]),o=n.firstChild,e&&(this.selectedIndex=t),n.classList.toggle("selected",e),n.classList.toggle("active",l),l&&(this.selectpicker.view.currentActive=n,this.activeIndex=t),o&&(o.classList.toggle("selected",e),o.classList.toggle("active",l),o.setAttribute("aria-selected",e)),l||!a&&e&&void 0!==this.prevActiveIndex&&(s=this.selectpicker.main.map.newIndex[this.prevActiveIndex],(r=this.selectpicker.main.elements[s]).classList.remove("active"),r.firstChild&&r.firstChild.classList.remove("active"))},setDisabled:function(t,e,i,n){var s;i||(i=this.selectpicker.main.map.newIndex[t]),n||(n=this.selectpicker.main.elements[i]),s=n.firstChild,n.classList.toggle(G.DISABLED,e),s&&("4"===V.major&&s.classList.toggle(G.DISABLED,e),s.setAttribute("aria-disabled",e),e?s.setAttribute("tabindex",-1):s.setAttribute("tabindex",0))},isDisabled:function(){return this.$element[0].disabled},checkDisabled:function(){var t=this;this.isDisabled()?(this.$newElement.addClass(G.DISABLED),this.$button.addClass(G.DISABLED).attr("tabindex",-1).attr("aria-disabled",!0)):(this.$button.hasClass(G.DISABLED)&&(this.$newElement.removeClass(G.DISABLED),this.$button.removeClass(G.DISABLED).attr("aria-disabled",!1)),-1!=this.$button.attr("tabindex")||this.$element.data("tabindex")||this.$button.removeAttr("tabindex")),this.$button.click(function(){return!t.isDisabled()})},togglePlaceholder:function(){var t=this.$element[0],e=t.selectedIndex,i=-1===e;i||t.options[e].value||(i=!0),this.$button.toggleClass("bs-placeholder",i)},tabIndex:function(){this.$element.data("tabindex")!==this.$element.attr("tabindex")&&-98!==this.$element.attr("tabindex")&&"-98"!==this.$element.attr("tabindex")&&(this.$element.data("tabindex",this.$element.attr("tabindex")),this.$button.attr("tabindex",this.$element.data("tabindex"))),this.$element.attr("tabindex",-98)},clickListener:function(){var k=this,e=U(document);function t(){k.options.liveSearch?k.$searchbox.focus():k.$menuInner.focus()}function i(){k.dropdown&&k.dropdown._popper&&k.dropdown._popper.state.isCreated?t():requestAnimationFrame(i)}e.data("spaceSelect",!1),this.$button.on("keyup",function(t){/(32)/.test(t.keyCode.toString(10))&&e.data("spaceSelect")&&(t.preventDefault(),e.data("spaceSelect",!1))}),this.$newElement.on("show.bs.dropdown",function(){3<V.major&&!k.dropdown&&(k.dropdown=k.$button.data("bs.dropdown"),k.dropdown._menu=k.$menu[0])}),this.$button.on("click.bs.dropdown.data-api",function(){k.$newElement.hasClass(G.SHOW)||k.setSize()}),this.$element.on("shown"+N,function(){k.$menuInner[0].scrollTop!==k.selectpicker.view.scrollTop&&(k.$menuInner[0].scrollTop=k.selectpicker.view.scrollTop),3<V.major?requestAnimationFrame(i):t()}),this.$menuInner.on("click","li a",function(t,e){var i=U(this),n=k.isVirtual()?k.selectpicker.view.position0:0,s=k.selectpicker.current.map.originalIndex[i.parent().index()+n],r=E(k.$element[0]),o=k.$element.prop("selectedIndex"),a=!0;if(k.multiple&&1!==k.options.maxOptions&&t.stopPropagation(),t.preventDefault(),!k.isDisabled()&&!i.parent().hasClass(G.DISABLED)){var l=k.$element.find("option"),c=l.eq(s),h=c.prop("selected"),d=c.parent("optgroup"),u=d.find("option"),p=k.options.maxOptions,f=d.data("maxOptions")||!1;if(s===k.activeIndex&&(e=!0),e||(k.prevActiveIndex=k.activeIndex,k.activeIndex=void 0),k.multiple){if(c.prop("selected",!h),k.setSelected(s,!h),i.blur(),!1!==p||!1!==f){var m=p<l.filter(":selected").length,g=f<d.find("option:selected").length;if(p&&m||f&&g)if(p&&1==p){l.prop("selected",!1),c.prop("selected",!0);for(var v=0;v<l.length;v++)k.setSelected(v,!1);k.setSelected(s,!0)}else if(f&&1==f){d.find("option:selected").prop("selected",!1),c.prop("selected",!0);for(v=0;v<u.length;v++){var y=u[v];k.setSelected(l.index(y),!1)}k.setSelected(s,!0)}else{var b="string"==typeof k.options.maxOptionsText?[k.options.maxOptionsText,k.options.maxOptionsText]:k.options.maxOptionsText,w="function"==typeof b?b(p,f):b,_=w[0].replace("{n}",p),x=w[1].replace("{n}",f),C=U('<div class="notify"></div>');w[2]&&(_=_.replace("{var}",w[2][1<p?0:1]),x=x.replace("{var}",w[2][1<f?0:1])),c.prop("selected",!1),k.$menu.append(C),p&&m&&(C.append(U("<div>"+_+"</div>")),a=!1,k.$element.trigger("maxReached"+N)),f&&g&&(C.append(U("<div>"+x+"</div>")),a=!1,k.$element.trigger("maxReachedGrp"+N)),setTimeout(function(){k.setSelected(s,!1)},10),C.delay(750).fadeOut(300,function(){U(this).remove()})}}}else l.prop("selected",!1),c.prop("selected",!0),k.setSelected(s,!0);!k.multiple||k.multiple&&1===k.options.maxOptions?k.$button.focus():k.options.liveSearch&&k.$searchbox.focus(),a&&(r!=E(k.$element[0])&&k.multiple||o!=k.$element.prop("selectedIndex")&&!k.multiple)&&($=[s,c.prop("selected"),r],k.$element.triggerNative("change"))}}),this.$menu.on("click","li."+G.DISABLED+" a, ."+G.POPOVERHEADER+", ."+G.POPOVERHEADER+" :not(.close)",function(t){t.currentTarget==this&&(t.preventDefault(),t.stopPropagation(),k.options.liveSearch&&!U(t.target).hasClass("close")?k.$searchbox.focus():k.$button.focus())}),this.$menuInner.on("click",".divider, .dropdown-header",function(t){t.preventDefault(),t.stopPropagation(),k.options.liveSearch?k.$searchbox.focus():k.$button.focus()}),this.$menu.on("click","."+G.POPOVERHEADER+" .close",function(){k.$button.click()}),this.$searchbox.on("click",function(t){t.stopPropagation()}),this.$menu.on("click",".actions-btn",function(t){k.options.liveSearch?k.$searchbox.focus():k.$button.focus(),t.preventDefault(),t.stopPropagation(),U(this).hasClass("bs-select-all")?k.selectAll():k.deselectAll()}),this.$element.on({change:function(){k.render(),k.$element.trigger("changed"+N,$),$=null},focus:function(){k.options.mobile||k.$button.focus()}})},liveSearchListener:function(){var p=this,f=document.createElement("li");this.$button.on("click.bs.dropdown.data-api",function(){p.$searchbox.val()&&p.$searchbox.val("")}),this.$searchbox.on("click.bs.dropdown.data-api focus.bs.dropdown.data-api touchend.bs.dropdown.data-api",function(t){t.stopPropagation()}),this.$searchbox.on("input propertychange",function(){var t=p.$searchbox.val();if(p.selectpicker.search.map.newIndex={},p.selectpicker.search.map.originalIndex={},p.selectpicker.search.elements=[],p.selectpicker.search.data=[],t){var e=[],i=t.toUpperCase(),n={},s=[],r=p._searchStyle(),o=p.options.liveSearchNormalize;o&&(i=m(i)),p._$lisSelected=p.$menuInner.find(".selected");for(var a=0;a<p.selectpicker.main.data.length;a++){var l=p.selectpicker.main.data[a];n[a]||(n[a]=C(l,i,r,o)),n[a]&&void 0!==l.headerIndex&&-1===s.indexOf(l.headerIndex)&&(0<l.headerIndex&&(n[l.headerIndex-1]=!0,s.push(l.headerIndex-1)),n[l.headerIndex]=!0,s.push(l.headerIndex),n[l.lastIndex+1]=!0),n[a]&&"optgroup-label"!==l.type&&s.push(a)}a=0;for(var c=s.length;a<c;a++){var h=s[a],d=s[a-1],u=(l=p.selectpicker.main.data[h],p.selectpicker.main.data[d]);("divider"!==l.type||"divider"===l.type&&u&&"divider"!==u.type&&c-1!==a)&&(p.selectpicker.search.data.push(l),e.push(p.selectpicker.main.elements[h]),l.hasOwnProperty("originalIndex")&&(p.selectpicker.search.map.newIndex[l.originalIndex]=e.length-1,p.selectpicker.search.map.originalIndex[e.length-1]=l.originalIndex))}p.activeIndex=void 0,p.noScroll=!0,p.$menuInner.scrollTop(0),p.selectpicker.search.elements=e,p.createView(!0),e.length||(f.className="no-results",f.innerHTML=p.options.noneResultsText.replace("{0}",'"'+K(t)+'"'),p.$menuInner[0].firstChild.appendChild(f))}else p.$menuInner.scrollTop(0),p.createView(!1)})},_searchStyle:function(){return this.options.liveSearchStyle||"contains"},val:function(t){return void 0!==t?(this.$element.val(t).triggerNative("change"),this.$element):this.$element.val()},changeAll:function(t){if(this.multiple){void 0===t&&(t=!0);var e=this.$element.find("option"),i=0,n=0,s=E(this.$element[0]);this.$element.addClass("bs-select-hidden");for(var r=0;r<this.selectpicker.current.elements.length;r++){var o=this.selectpicker.current.data[r],a=e[this.selectpicker.current.map.originalIndex[r]];a&&!a.disabled&&"divider"!==o.type&&(a.selected&&i++,a.selected=t,a.selected&&n++)}this.$element.removeClass("bs-select-hidden"),i!==n&&(this.setOptionStatus(),this.togglePlaceholder(),$=[null,null,s],this.$element.triggerNative("change"))}},selectAll:function(){return this.changeAll(!0)},deselectAll:function(){return this.changeAll(!1)},toggle:function(t){(t=t||window.event)&&t.stopPropagation(),this.$button.trigger("click.bs.dropdown.data-api")},keydown:function(t){var e,i,n,s,r,o=U(this),a=o.hasClass("dropdown-toggle"),l=(a?o.closest(".dropdown"):o.closest(M.MENU)).data("this"),c=l.findLis(),h=!1,d=t.which===A&&!a&&!l.options.selectOnTab,u=P.test(t.which)||d,p=l.$menuInner[0].scrollTop,f=l.isVirtual(),m=!0===f?l.selectpicker.view.position0:0;if(!(i=l.$newElement.hasClass(G.SHOW))&&(u||48<=t.which&&t.which<=57||96<=t.which&&t.which<=105||65<=t.which&&t.which<=90)&&l.$button.trigger("click.bs.dropdown.data-api"),t.which===D&&i&&(t.preventDefault(),l.$button.trigger("click.bs.dropdown.data-api").focus()),u){if(!c.length)return;void 0===(e=!0===f?c.index(c.filter(".active")):l.selectpicker.current.map.newIndex[l.activeIndex])&&(e=-1),-1!==e&&((n=l.selectpicker.current.elements[e+m]).classList.remove("active"),n.firstChild&&n.firstChild.classList.remove("active")),t.which===O?(-1!==e&&e--,e+m<0&&(e+=c.length),l.selectpicker.view.canHighlight[e+m]||-1===(e=l.selectpicker.view.canHighlight.slice(0,e+m).lastIndexOf(!0)-m)&&(e=c.length-1)):(t.which===L||d)&&(++e+m>=l.selectpicker.view.canHighlight.length&&(e=0),l.selectpicker.view.canHighlight[e+m]||(e=e+1+l.selectpicker.view.canHighlight.slice(e+m+1).indexOf(!0))),t.preventDefault();var g=m+e;t.which===O?0===m&&e===c.length-1?(l.$menuInner[0].scrollTop=l.$menuInner[0].scrollHeight,g=l.selectpicker.current.elements.length-1):h=(r=(s=l.selectpicker.current.data[g]).position-s.height)<p:(t.which===L||d)&&(0===e?g=l.$menuInner[0].scrollTop=0:h=p<(r=(s=l.selectpicker.current.data[g]).position-l.sizeInfo.menuInnerHeight)),(n=l.selectpicker.current.elements[g])&&(n.classList.add("active"),n.firstChild&&n.firstChild.classList.add("active")),l.activeIndex=l.selectpicker.current.map.originalIndex[g],l.selectpicker.view.currentActive=n,h&&(l.$menuInner[0].scrollTop=r),l.options.liveSearch?l.$searchbox.focus():o.focus()}else if(!o.is("input")&&!j.test(t.which)||t.which===S&&l.selectpicker.keydown.keyHistory){var v,y,b=[];t.preventDefault(),l.selectpicker.keydown.keyHistory+=k[t.which],l.selectpicker.keydown.resetKeyHistory.cancel&&clearTimeout(l.selectpicker.keydown.resetKeyHistory.cancel),l.selectpicker.keydown.resetKeyHistory.cancel=l.selectpicker.keydown.resetKeyHistory.start(),y=l.selectpicker.keydown.keyHistory,/^(.)\1+$/.test(y)&&(y=y.charAt(0));for(var w=0;w<l.selectpicker.current.data.length;w++){var _=l.selectpicker.current.data[w];C(_,y,"startsWith",!0)&&l.selectpicker.view.canHighlight[w]&&(_.index=w,b.push(_.originalIndex))}if(b.length){var x=0;c.removeClass("active").find("a").removeClass("active"),1===y.length&&(-1===(x=b.indexOf(l.activeIndex))||x===b.length-1?x=0:x++),v=l.selectpicker.current.map.newIndex[b[x]],h=0<p-(s=l.selectpicker.current.data[v]).position?(r=s.position-s.height,!0):(r=s.position-l.sizeInfo.menuInnerHeight,s.position>p+l.sizeInfo.menuInnerHeight),(n=l.selectpicker.current.elements[v]).classList.add("active"),n.firstChild&&n.firstChild.classList.add("active"),l.activeIndex=b[x],n.firstChild.focus(),h&&(l.$menuInner[0].scrollTop=r),o.focus()}}i&&(t.which===S&&!l.selectpicker.keydown.keyHistory||t.which===T||t.which===A&&l.options.selectOnTab)&&(t.which!==S&&t.preventDefault(),l.options.liveSearch&&t.which===S||(l.$menuInner.find(".active a").trigger("click",!0),o.focus(),l.options.liveSearch||(t.preventDefault(),U(document).data("spaceSelect",!0))))},mobile:function(){this.$element.addClass("mobile-device")},refresh:function(){var t=U.extend({},this.options,this.$element.data());this.options=t,this.selectpicker.main.map.newIndex={},this.selectpicker.main.map.originalIndex={},this.createLi(),this.checkDisabled(),this.render(),this.setStyle(),this.setWidth(),this.setSize(!0),this.$element.trigger("refreshed"+N)},hide:function(){this.$newElement.hide()},show:function(){this.$newElement.show()},remove:function(){this.$newElement.remove(),this.$element.remove()},destroy:function(){this.$newElement.before(this.$element).remove(),this.$bsContainer?this.$bsContainer.remove():this.$menu.remove(),this.$element.off(N).removeData("selectpicker").removeClass("bs-select-hidden selectpicker"),U(window).off(N+"."+this.selectId)}};var v=U.fn.selectpicker;U.fn.selectpicker=f,U.fn.selectpicker.Constructor=p,U.fn.selectpicker.noConflict=function(){return U.fn.selectpicker=v,this},U(document).off("keydown.bs.dropdown.data-api").on("keydown"+N,'.bootstrap-select [data-toggle="dropdown"], .bootstrap-select [role="listbox"], .bootstrap-select .bs-searchbox input',p.prototype.keydown).on("focusin.modal",'.bootstrap-select [data-toggle="dropdown"], .bootstrap-select [role="listbox"], .bootstrap-select .bs-searchbox input',function(t){t.stopPropagation()}),U(window).on("load"+N+".data-api",function(){U(".selectpicker").each(function(){var t=U(this);f.call(t,t.data())})})}(jQuery),jQuery.fn.selectpicker.defaults={noneSelectedText:"Nessuna selezione",noneResultsText:"Nessun risultato per {0}",countSelectedText:function(t,e){return 1==t?"Selezionato {0} di {1}":"Selezionati {0} di {1}"},maxOptionsText:["Limite raggiunto ({n} {var} max)","Limite del gruppo raggiunto ({n} {var} max)",["elementi","elemento"]],multipleSeparator:", ",selectAllText:"Seleziona Tutto",deselectAllText:"Deseleziona Tutto"},function(l,i,s,a){function c(t,e){this.settings=null,this.options=l.extend({},c.Defaults,e),this.$element=l(t),this._handlers={},this._plugins={},this._supress={},this._current=null,this._speed=null,this._coordinates=[],this._breakpoint=null,this._width=null,this._items=[],this._clones=[],this._mergers=[],this._widths=[],this._invalidated={},this._pipe=[],this._drag={time:null,target:null,pointer:null,stage:{start:null,current:null},direction:null},this._states={current:{},tags:{initializing:["busy"],animating:["busy"],dragging:["interacting"]}},l.each(["onResize","onThrottledResize"],l.proxy(function(t,e){this._handlers[e]=l.proxy(this[e],this)},this)),l.each(c.Plugins,l.proxy(function(t,e){this._plugins[t.charAt(0).toLowerCase()+t.slice(1)]=new e(this)},this)),l.each(c.Workers,l.proxy(function(t,e){this._pipe.push({filter:e.filter,run:l.proxy(e.run,this)})},this)),this.setup(),this.initialize()}c.Defaults={items:3,loop:!1,center:!1,rewind:!1,checkVisibility:!0,mouseDrag:!0,touchDrag:!0,pullDrag:!0,freeDrag:!1,margin:0,stagePadding:0,merge:!1,mergeFit:!0,autoWidth:!1,startPosition:0,rtl:!1,smartSpeed:250,fluidSpeed:!1,dragEndSpeed:!1,responsive:{},responsiveRefreshRate:200,responsiveBaseElement:i,fallbackEasing:"swing",slideTransition:"",info:!1,nestedItemSelector:!1,itemElement:"div",stageElement:"div",refreshClass:"owl-refresh",loadedClass:"owl-loaded",loadingClass:"owl-loading",rtlClass:"owl-rtl",responsiveClass:"owl-responsive",dragClass:"owl-drag",itemClass:"owl-item",stageClass:"owl-stage",stageOuterClass:"owl-stage-outer",grabClass:"owl-grab"},c.Width={Default:"default",Inner:"inner",Outer:"outer"},c.Type={Event:"event",State:"state"},c.Plugins={},c.Workers=[{filter:["width","settings"],run:function(){this._width=this.$element.width()}},{filter:["width","items","settings"],run:function(t){t.current=this._items&&this._items[this.relative(this._current)]}},{filter:["items","settings"],run:function(){this.$stage.children(".cloned").remove()}},{filter:["width","items","settings"],run:function(t){var e=this.settings.margin||"",i=!this.settings.autoWidth,n=this.settings.rtl,s={width:"auto","margin-left":n?e:"","margin-right":n?"":e};!i&&this.$stage.children().css(s),t.css=s}},{filter:["width","items","settings"],run:function(t){var e=(this.width()/this.settings.items).toFixed(3)-this.settings.margin,i=null,n=this._items.length,s=!this.settings.autoWidth,r=[];for(t.items={merge:!1,width:e};n--;)i=this._mergers[n],i=this.settings.mergeFit&&Math.min(i,this.settings.items)||i,t.items.merge=1<i||t.items.merge,r[n]=s?e*i:this._items[n].width();this._widths=r}},{filter:["items","settings"],run:function(){var t=[],e=this._items,i=this.settings,n=Math.max(2*i.items,4),s=2*Math.ceil(e.length/2),r=i.loop&&e.length?i.rewind?n:Math.max(n,s):0,o="",a="";for(r/=2;0<r;)t.push(this.normalize(t.length/2,!0)),o+=e[t[t.length-1]][0].outerHTML,t.push(this.normalize(e.length-1-(t.length-1)/2,!0)),a=e[t[t.length-1]][0].outerHTML+a,r-=1;this._clones=t,l(o).addClass("cloned").appendTo(this.$stage),l(a).addClass("cloned").prependTo(this.$stage)}},{filter:["width","items","settings"],run:function(){for(var t=this.settings.rtl?1:-1,e=this._clones.length+this._items.length,i=-1,n=0,s=0,r=[];++i<e;)n=r[i-1]||0,s=this._widths[this.relative(i)]+this.settings.margin,r.push(n+s*t);this._coordinates=r}},{filter:["width","items","settings"],run:function(){var t=this.settings.stagePadding,e=this._coordinates,i={width:Math.ceil(Math.abs(e[e.length-1]))+2*t,"padding-left":t||"","padding-right":t||""};this.$stage.css(i)}},{filter:["width","items","settings"],run:function(t){var e=this._coordinates.length,i=!this.settings.autoWidth,n=this.$stage.children();if(i&&t.items.merge)for(;e--;)t.css.width=this._widths[this.relative(e)],n.eq(e).css(t.css);else i&&(t.css.width=t.items.width,n.css(t.css))}},{filter:["items"],run:function(){this._coordinates.length<1&&this.$stage.removeAttr("style")}},{filter:["width","items","settings"],run:function(t){t.current=t.current?this.$stage.children().index(t.current):0,t.current=Math.max(this.minimum(),Math.min(this.maximum(),t.current)),this.reset(t.current)}},{filter:["position"],run:function(){this.animate(this.coordinates(this._current))}},{filter:["width","position","items","settings"],run:function(){var t,e,i,n,s=this.settings.rtl?1:-1,r=2*this.settings.stagePadding,o=this.coordinates(this.current())+r,a=o+this.width()*s,l=[];for(i=0,n=this._coordinates.length;i<n;i++)t=this._coordinates[i-1]||0,e=Math.abs(this._coordinates[i])+r*s,(this.op(t,"<=",o)&&this.op(t,">",a)||this.op(e,"<",o)&&this.op(e,">",a))&&l.push(i);this.$stage.children(".active").removeClass("active"),this.$stage.children(":eq("+l.join("), :eq(")+")").addClass("active"),this.$stage.children(".center").removeClass("center"),this.settings.center&&this.$stage.children().eq(this.current()).addClass("center")}}],c.prototype.initializeStage=function(){this.$stage=this.$element.find("."+this.settings.stageClass),this.$stage.length||(this.$element.addClass(this.options.loadingClass),this.$stage=l("<"+this.settings.stageElement+">",{class:this.settings.stageClass}).wrap(l("<div/>",{class:this.settings.stageOuterClass})),this.$element.append(this.$stage.parent()))},c.prototype.initializeItems=function(){var t=this.$element.find(".owl-item");if(t.length)return this._items=t.get().map(function(t){return l(t)}),this._mergers=this._items.map(function(){return 1}),void this.refresh();this.replace(this.$element.children().not(this.$stage.parent())),this.isVisible()?this.refresh():this.invalidate("width"),this.$element.removeClass(this.options.loadingClass).addClass(this.options.loadedClass)},c.prototype.initialize=function(){var t,e,i;(this.enter("initializing"),this.trigger("initialize"),this.$element.toggleClass(this.settings.rtlClass,this.settings.rtl),this.settings.autoWidth&&!this.is("pre-loading"))&&(t=this.$element.find("img"),e=this.settings.nestedItemSelector?"."+this.settings.nestedItemSelector:a,i=this.$element.children(e).width(),t.length&&i<=0&&this.preloadAutoWidthImages(t));this.initializeStage(),this.initializeItems(),this.registerEventHandlers(),this.leave("initializing"),this.trigger("initialized")},c.prototype.isVisible=function(){return!this.settings.checkVisibility||this.$element.is(":visible")},c.prototype.setup=function(){var e=this.viewport(),t=this.options.responsive,i=-1,n=null;t?(l.each(t,function(t){t<=e&&i<t&&(i=Number(t))}),"function"==typeof(n=l.extend({},this.options,t[i])).stagePadding&&(n.stagePadding=n.stagePadding()),delete n.responsive,n.responsiveClass&&this.$element.attr("class",this.$element.attr("class").replace(new RegExp("("+this.options.responsiveClass+"-)\\S+\\s","g"),"$1"+i))):n=l.extend({},this.options),this.trigger("change",{property:{name:"settings",value:n}}),this._breakpoint=i,this.settings=n,this.invalidate("settings"),this.trigger("changed",{property:{name:"settings",value:this.settings}})},c.prototype.optionsLogic=function(){this.settings.autoWidth&&(this.settings.stagePadding=!1,this.settings.merge=!1)},c.prototype.prepare=function(t){var e=this.trigger("prepare",{content:t});return e.data||(e.data=l("<"+this.settings.itemElement+"/>").addClass(this.options.itemClass).append(t)),this.trigger("prepared",{content:e.data}),e.data},c.prototype.update=function(){for(var t=0,e=this._pipe.length,i=l.proxy(function(t){return this[t]},this._invalidated),n={};t<e;)(this._invalidated.all||0<l.grep(this._pipe[t].filter,i).length)&&this._pipe[t].run(n),t++;this._invalidated={},!this.is("valid")&&this.enter("valid")},c.prototype.width=function(t){switch(t=t||c.Width.Default){case c.Width.Inner:case c.Width.Outer:return this._width;default:return this._width-2*this.settings.stagePadding+this.settings.margin}},c.prototype.refresh=function(){this.enter("refreshing"),this.trigger("refresh"),this.setup(),this.optionsLogic(),this.$element.addClass(this.options.refreshClass),this.update(),this.$element.removeClass(this.options.refreshClass),this.leave("refreshing"),this.trigger("refreshed")},c.prototype.onThrottledResize=function(){i.clearTimeout(this.resizeTimer),this.resizeTimer=i.setTimeout(this._handlers.onResize,this.settings.responsiveRefreshRate)},c.prototype.onResize=function(){return!!this._items.length&&(this._width!==this.$element.width()&&(!!this.isVisible()&&(this.enter("resizing"),this.trigger("resize").isDefaultPrevented()?(this.leave("resizing"),!1):(this.invalidate("width"),this.refresh(),this.leave("resizing"),void this.trigger("resized")))))},c.prototype.registerEventHandlers=function(){l.support.transition&&this.$stage.on(l.support.transition.end+".owl.core",l.proxy(this.onTransitionEnd,this)),!1!==this.settings.responsive&&this.on(i,"resize",this._handlers.onThrottledResize),this.settings.mouseDrag&&(this.$element.addClass(this.options.dragClass),this.$stage.on("mousedown.owl.core",l.proxy(this.onDragStart,this)),this.$stage.on("dragstart.owl.core selectstart.owl.core",function(){return!1})),this.settings.touchDrag&&(this.$stage.on("touchstart.owl.core",l.proxy(this.onDragStart,this)),this.$stage.on("touchcancel.owl.core",l.proxy(this.onDragEnd,this)))},c.prototype.onDragStart=function(t){var e=null;3!==t.which&&(e=l.support.transform?{x:(e=this.$stage.css("transform").replace(/.*\(|\)| /g,"").split(","))[16===e.length?12:4],y:e[16===e.length?13:5]}:(e=this.$stage.position(),{x:this.settings.rtl?e.left+this.$stage.width()-this.width()+this.settings.margin:e.left,y:e.top}),this.is("animating")&&(l.support.transform?this.animate(e.x):this.$stage.stop(),this.invalidate("position")),this.$element.toggleClass(this.options.grabClass,"mousedown"===t.type),this.speed(0),this._drag.time=(new Date).getTime(),this._drag.target=l(t.target),this._drag.stage.start=e,this._drag.stage.current=e,this._drag.pointer=this.pointer(t),l(s).on("mouseup.owl.core touchend.owl.core",l.proxy(this.onDragEnd,this)),l(s).one("mousemove.owl.core touchmove.owl.core",l.proxy(function(t){var e=this.difference(this._drag.pointer,this.pointer(t));l(s).on("mousemove.owl.core touchmove.owl.core",l.proxy(this.onDragMove,this)),Math.abs(e.x)<Math.abs(e.y)&&this.is("valid")||(t.preventDefault(),this.enter("dragging"),this.trigger("drag"))},this)))},c.prototype.onDragMove=function(t){var e=null,i=null,n=null,s=this.difference(this._drag.pointer,this.pointer(t)),r=this.difference(this._drag.stage.start,s);this.is("dragging")&&(t.preventDefault(),this.settings.loop?(e=this.coordinates(this.minimum()),i=this.coordinates(this.maximum()+1)-e,r.x=((r.x-e)%i+i)%i+e):(e=this.settings.rtl?this.coordinates(this.maximum()):this.coordinates(this.minimum()),i=this.settings.rtl?this.coordinates(this.minimum()):this.coordinates(this.maximum()),n=this.settings.pullDrag?-1*s.x/5:0,r.x=Math.max(Math.min(r.x,e+n),i+n)),this._drag.stage.current=r,this.animate(r.x))},c.prototype.onDragEnd=function(t){var e=this.difference(this._drag.pointer,this.pointer(t)),i=this._drag.stage.current,n=0<e.x^this.settings.rtl?"left":"right";l(s).off(".owl.core"),this.$element.removeClass(this.options.grabClass),(0!==e.x&&this.is("dragging")||!this.is("valid"))&&(this.speed(this.settings.dragEndSpeed||this.settings.smartSpeed),this.current(this.closest(i.x,0!==e.x?n:this._drag.direction)),this.invalidate("position"),this.update(),this._drag.direction=n,(3<Math.abs(e.x)||300<(new Date).getTime()-this._drag.time)&&this._drag.target.one("click.owl.core",function(){return!1})),this.is("dragging")&&(this.leave("dragging"),this.trigger("dragged"))},c.prototype.closest=function(i,n){var s=-1,r=this.width(),o=this.coordinates();return this.settings.freeDrag||l.each(o,l.proxy(function(t,e){return"left"===n&&e-30<i&&i<e+30?s=t:"right"===n&&e-r-30<i&&i<e-r+30?s=t+1:this.op(i,"<",e)&&this.op(i,">",o[t+1]!==a?o[t+1]:e-r)&&(s="left"===n?t+1:t),-1===s},this)),this.settings.loop||(this.op(i,">",o[this.minimum()])?s=i=this.minimum():this.op(i,"<",o[this.maximum()])&&(s=i=this.maximum())),s},c.prototype.animate=function(t){var e=0<this.speed();this.is("animating")&&this.onTransitionEnd(),e&&(this.enter("animating"),this.trigger("translate")),l.support.transform3d&&l.support.transition?this.$stage.css({transform:"translate3d("+t+"px,0px,0px)",transition:this.speed()/1e3+"s"+(this.settings.slideTransition?" "+this.settings.slideTransition:"")}):e?this.$stage.animate({left:t+"px"},this.speed(),this.settings.fallbackEasing,l.proxy(this.onTransitionEnd,this)):this.$stage.css({left:t+"px"})},c.prototype.is=function(t){return this._states.current[t]&&0<this._states.current[t]},c.prototype.current=function(t){if(t===a)return this._current;if(0===this._items.length)return a;if(t=this.normalize(t),this._current!==t){var e=this.trigger("change",{property:{name:"position",value:t}});e.data!==a&&(t=this.normalize(e.data)),this._current=t,this.invalidate("position"),this.trigger("changed",{property:{name:"position",value:this._current}})}return this._current},c.prototype.invalidate=function(t){return"string"===l.type(t)&&(this._invalidated[t]=!0,this.is("valid")&&this.leave("valid")),l.map(this._invalidated,function(t,e){return e})},c.prototype.reset=function(t){(t=this.normalize(t))!==a&&(this._speed=0,this._current=t,this.suppress(["translate","translated"]),this.animate(this.coordinates(t)),this.release(["translate","translated"]))},c.prototype.normalize=function(t,e){var i=this._items.length,n=e?0:this._clones.length;return!this.isNumeric(t)||i<1?t=a:(t<0||i+n<=t)&&(t=((t-n/2)%i+i)%i+n/2),t},c.prototype.relative=function(t){return t-=this._clones.length/2,this.normalize(t,!0)},c.prototype.maximum=function(t){var e,i,n,s=this.settings,r=this._coordinates.length;if(s.loop)r=this._clones.length/2+this._items.length-1;else if(s.autoWidth||s.merge){if(e=this._items.length)for(i=this._items[--e].width(),n=this.$element.width();e--&&!(n<(i+=this._items[e].width()+this.settings.margin)););r=e+1}else r=s.center?this._items.length-1:this._items.length-s.items;return t&&(r-=this._clones.length/2),Math.max(r,0)},c.prototype.minimum=function(t){return t?0:this._clones.length/2},c.prototype.items=function(t){return t===a?this._items.slice():(t=this.normalize(t,!0),this._items[t])},c.prototype.mergers=function(t){return t===a?this._mergers.slice():(t=this.normalize(t,!0),this._mergers[t])},c.prototype.clones=function(i){var e=this._clones.length/2,n=e+this._items.length,s=function(t){return t%2==0?n+t/2:e-(t+1)/2};return i===a?l.map(this._clones,function(t,e){return s(e)}):l.map(this._clones,function(t,e){return t===i?s(e):null})},c.prototype.speed=function(t){return t!==a&&(this._speed=t),this._speed},c.prototype.coordinates=function(t){var e,i=1,n=t-1;return t===a?l.map(this._coordinates,l.proxy(function(t,e){return this.coordinates(e)},this)):(this.settings.center?(this.settings.rtl&&(i=-1,n=t+1),e=this._coordinates[t],e+=(this.width()-e+(this._coordinates[n]||0))/2*i):e=this._coordinates[n]||0,e=Math.ceil(e))},c.prototype.duration=function(t,e,i){return 0===i?0:Math.min(Math.max(Math.abs(e-t),1),6)*Math.abs(i||this.settings.smartSpeed)},c.prototype.to=function(t,e){var i=this.current(),n=null,s=t-this.relative(i),r=(0<s)-(s<0),o=this._items.length,a=this.minimum(),l=this.maximum();this.settings.loop?(!this.settings.rewind&&Math.abs(s)>o/2&&(s+=-1*r*o),(n=(((t=i+s)-a)%o+o)%o+a)!==t&&n-s<=l&&0<n-s&&(i=n-s,t=n,this.reset(i))):t=this.settings.rewind?(t%(l+=1)+l)%l:Math.max(a,Math.min(l,t)),this.speed(this.duration(i,t,e)),this.current(t),this.isVisible()&&this.update()},c.prototype.next=function(t){t=t||!1,this.to(this.relative(this.current())+1,t)},c.prototype.prev=function(t){t=t||!1,this.to(this.relative(this.current())-1,t)},c.prototype.onTransitionEnd=function(t){if(t!==a&&(t.stopPropagation(),(t.target||t.srcElement||t.originalTarget)!==this.$stage.get(0)))return!1;this.leave("animating"),this.trigger("translated")},c.prototype.viewport=function(){var t;return this.options.responsiveBaseElement!==i?t=l(this.options.responsiveBaseElement).width():i.innerWidth?t=i.innerWidth:s.documentElement&&s.documentElement.clientWidth?t=s.documentElement.clientWidth:console.warn("Can not detect viewport width."),t},c.prototype.replace=function(t){this.$stage.empty(),this._items=[],t&&(t=t instanceof jQuery?t:l(t)),this.settings.nestedItemSelector&&(t=t.find("."+this.settings.nestedItemSelector)),t.filter(function(){return 1===this.nodeType}).each(l.proxy(function(t,e){e=this.prepare(e),this.$stage.append(e),this._items.push(e),this._mergers.push(1*e.find("[data-merge]").addBack("[data-merge]").attr("data-merge")||1)},this)),this.reset(this.isNumeric(this.settings.startPosition)?this.settings.startPosition:0),this.invalidate("items")},c.prototype.add=function(t,e){var i=this.relative(this._current);e=e===a?this._items.length:this.normalize(e,!0),t=t instanceof jQuery?t:l(t),this.trigger("add",{content:t,position:e}),t=this.prepare(t),0===this._items.length||e===this._items.length?(0===this._items.length&&this.$stage.append(t),0!==this._items.length&&this._items[e-1].after(t),this._items.push(t),this._mergers.push(1*t.find("[data-merge]").addBack("[data-merge]").attr("data-merge")||1)):(this._items[e].before(t),this._items.splice(e,0,t),this._mergers.splice(e,0,1*t.find("[data-merge]").addBack("[data-merge]").attr("data-merge")||1)),this._items[i]&&this.reset(this._items[i].index()),this.invalidate("items"),this.trigger("added",{content:t,position:e})},c.prototype.remove=function(t){(t=this.normalize(t,!0))!==a&&(this.trigger("remove",{content:this._items[t],position:t}),this._items[t].remove(),this._items.splice(t,1),this._mergers.splice(t,1),this.invalidate("items"),this.trigger("removed",{content:null,position:t}))},c.prototype.preloadAutoWidthImages=function(t){t.each(l.proxy(function(t,e){this.enter("pre-loading"),e=l(e),l(new Image).one("load",l.proxy(function(t){e.attr("src",t.target.src),e.css("opacity",1),this.leave("pre-loading"),!this.is("pre-loading")&&!this.is("initializing")&&this.refresh()},this)).attr("src",e.attr("src")||e.attr("data-src")||e.attr("data-src-retina"))},this))},c.prototype.destroy=function(){for(var t in this.$element.off(".owl.core"),this.$stage.off(".owl.core"),l(s).off(".owl.core"),!1!==this.settings.responsive&&(i.clearTimeout(this.resizeTimer),this.off(i,"resize",this._handlers.onThrottledResize)),this._plugins)this._plugins[t].destroy();this.$stage.children(".cloned").remove(),this.$stage.unwrap(),this.$stage.children().contents().unwrap(),this.$stage.children().unwrap(),this.$stage.remove(),this.$element.removeClass(this.options.refreshClass).removeClass(this.options.loadingClass).removeClass(this.options.loadedClass).removeClass(this.options.rtlClass).removeClass(this.options.dragClass).removeClass(this.options.grabClass).attr("class",this.$element.attr("class").replace(new RegExp(this.options.responsiveClass+"-\\S+\\s","g"),"")).removeData("owl.carousel")},c.prototype.op=function(t,e,i){var n=this.settings.rtl;switch(e){case"<":return n?i<t:t<i;case">":return n?t<i:i<t;case">=":return n?t<=i:i<=t;case"<=":return n?i<=t:t<=i}},c.prototype.on=function(t,e,i,n){t.addEventListener?t.addEventListener(e,i,n):t.attachEvent&&t.attachEvent("on"+e,i)},c.prototype.off=function(t,e,i,n){t.removeEventListener?t.removeEventListener(e,i,n):t.detachEvent&&t.detachEvent("on"+e,i)},c.prototype.trigger=function(t,e,i,n,s){var r={item:{count:this._items.length,index:this.current()}},o=l.camelCase(l.grep(["on",t,i],function(t){return t}).join("-").toLowerCase()),a=l.Event([t,"owl",i||"carousel"].join(".").toLowerCase(),l.extend({relatedTarget:this},r,e));return this._supress[t]||(l.each(this._plugins,function(t,e){e.onTrigger&&e.onTrigger(a)}),this.register({type:c.Type.Event,name:t}),this.$element.trigger(a),this.settings&&"function"==typeof this.settings[o]&&this.settings[o].call(this,a)),a},c.prototype.enter=function(t){l.each([t].concat(this._states.tags[t]||[]),l.proxy(function(t,e){this._states.current[e]===a&&(this._states.current[e]=0),this._states.current[e]++},this))},c.prototype.leave=function(t){l.each([t].concat(this._states.tags[t]||[]),l.proxy(function(t,e){this._states.current[e]--},this))},c.prototype.register=function(i){if(i.type===c.Type.Event){if(l.event.special[i.name]||(l.event.special[i.name]={}),!l.event.special[i.name].owl){var e=l.event.special[i.name]._default;l.event.special[i.name]._default=function(t){return!e||!e.apply||t.namespace&&-1!==t.namespace.indexOf("owl")?t.namespace&&-1<t.namespace.indexOf("owl"):e.apply(this,arguments)},l.event.special[i.name].owl=!0}}else i.type===c.Type.State&&(this._states.tags[i.name]?this._states.tags[i.name]=this._states.tags[i.name].concat(i.tags):this._states.tags[i.name]=i.tags,this._states.tags[i.name]=l.grep(this._states.tags[i.name],l.proxy(function(t,e){return l.inArray(t,this._states.tags[i.name])===e},this)))},c.prototype.suppress=function(t){l.each(t,l.proxy(function(t,e){this._supress[e]=!0},this))},c.prototype.release=function(t){l.each(t,l.proxy(function(t,e){delete this._supress[e]},this))},c.prototype.pointer=function(t){var e={x:null,y:null};return(t=(t=t.originalEvent||t||i.event).touches&&t.touches.length?t.touches[0]:t.changedTouches&&t.changedTouches.length?t.changedTouches[0]:t).pageX?(e.x=t.pageX,e.y=t.pageY):(e.x=t.clientX,e.y=t.clientY),e},c.prototype.isNumeric=function(t){return!isNaN(parseFloat(t))},c.prototype.difference=function(t,e){return{x:t.x-e.x,y:t.y-e.y}},l.fn.owlCarousel=function(e){var n=Array.prototype.slice.call(arguments,1);return this.each(function(){var t=l(this),i=t.data("owl.carousel");i||(i=new c(this,"object"==typeof e&&e),t.data("owl.carousel",i),l.each(["next","prev","to","destroy","refresh","replace","add","remove"],function(t,e){i.register({type:c.Type.Event,name:e}),i.$element.on(e+".owl.carousel.core",l.proxy(function(t){t.namespace&&t.relatedTarget!==this&&(this.suppress([e]),i[e].apply(this,[].slice.call(arguments,1)),this.release([e]))},i))})),"string"==typeof e&&"_"!==e.charAt(0)&&i[e].apply(i,n)})},l.fn.owlCarousel.Constructor=c}(window.Zepto||window.jQuery,window,document),function(i,n,t,e){var s=function t(e){this._core=e,this._interval=null,this._visible=null,this._handlers={"initialized.owl.carousel":i.proxy(function(t){t.namespace&&this._core.settings.autoRefresh&&this.watch()},this)},this._core.options=i.extend({},t.Defaults,this._core.options),this._core.$element.on(this._handlers)};s.Defaults={autoRefresh:!0,autoRefreshInterval:500},s.prototype.watch=function(){this._interval||(this._visible=this._core.isVisible(),this._interval=n.setInterval(i.proxy(this.refresh,this),this._core.settings.autoRefreshInterval))},s.prototype.refresh=function(){this._core.isVisible()!==this._visible&&(this._visible=!this._visible,this._core.$element.toggleClass("owl-hidden",!this._visible),this._visible&&this._core.invalidate("width")&&this._core.refresh())},s.prototype.destroy=function(){var t,e;for(t in n.clearInterval(this._interval),this._handlers)this._core.$element.off(t,this._handlers[t]);for(e in Object.getOwnPropertyNames(this))"function"!=typeof this[e]&&(this[e]=null)},i.fn.owlCarousel.Constructor.Plugins.AutoRefresh=s}(window.Zepto||window.jQuery,window,document),function(a,r,t,e){var i=function t(e){this._core=e,this._loaded=[],this._handlers={"initialized.owl.carousel change.owl.carousel resized.owl.carousel":a.proxy(function(t){if(t.namespace&&this._core.settings&&this._core.settings.lazyLoad&&(t.property&&"position"==t.property.name||"initialized"==t.type)){var e=this._core.settings,i=e.center&&Math.ceil(e.items/2)||e.items,n=e.center&&-1*i||0,s=(t.property&&void 0!==t.property.value?t.property.value:this._core.current())+n,r=this._core.clones().length,o=a.proxy(function(t,e){this.load(e)},this);for(0<e.lazyLoadEager&&(i+=e.lazyLoadEager,e.loop&&(s-=e.lazyLoadEager,i++));n++<i;)this.load(r/2+this._core.relative(s)),r&&a.each(this._core.clones(this._core.relative(s)),o),s++}},this)},this._core.options=a.extend({},t.Defaults,this._core.options),this._core.$element.on(this._handlers)};i.Defaults={lazyLoad:!1,lazyLoadEager:0},i.prototype.load=function(t){var e=this._core.$stage.children().eq(t),i=e&&e.find(".owl-lazy");!i||-1<a.inArray(e.get(0),this._loaded)||(i.each(a.proxy(function(t,e){var i,n=a(e),s=1<r.devicePixelRatio&&n.attr("data-src-retina")||n.attr("data-src")||n.attr("data-srcset");this._core.trigger("load",{element:n,url:s},"lazy"),n.is("img")?n.one("load.owl.lazy",a.proxy(function(){n.css("opacity",1),this._core.trigger("loaded",{element:n,url:s},"lazy")},this)).attr("src",s):n.is("source")?n.one("load.owl.lazy",a.proxy(function(){this._core.trigger("loaded",{element:n,url:s},"lazy")},this)).attr("srcset",s):((i=new Image).onload=a.proxy(function(){n.css({"background-image":'url("'+s+'")',opacity:"1"}),this._core.trigger("loaded",{element:n,url:s},"lazy")},this),i.src=s)},this)),this._loaded.push(e.get(0)))},i.prototype.destroy=function(){var t,e;for(t in this.handlers)this._core.$element.off(t,this.handlers[t]);for(e in Object.getOwnPropertyNames(this))"function"!=typeof this[e]&&(this[e]=null)},a.fn.owlCarousel.Constructor.Plugins.Lazy=i}(window.Zepto||window.jQuery,window,document),function(o,n,t,e){var i=function t(e){this._core=e,this._previousHeight=null,this._handlers={"initialized.owl.carousel refreshed.owl.carousel":o.proxy(function(t){t.namespace&&this._core.settings.autoHeight&&this.update()},this),"changed.owl.carousel":o.proxy(function(t){t.namespace&&this._core.settings.autoHeight&&"position"===t.property.name&&this.update()},this),"loaded.owl.lazy":o.proxy(function(t){t.namespace&&this._core.settings.autoHeight&&t.element.closest("."+this._core.settings.itemClass).index()===this._core.current()&&this.update()},this)},this._core.options=o.extend({},t.Defaults,this._core.options),this._core.$element.on(this._handlers),this._intervalId=null;var i=this;o(n).on("load",function(){i._core.settings.autoHeight&&i.update()}),o(n).resize(function(){i._core.settings.autoHeight&&(null!=i._intervalId&&clearTimeout(i._intervalId),i._intervalId=setTimeout(function(){i.update()},250))})};i.Defaults={autoHeight:!1,autoHeightClass:"owl-height"},i.prototype.update=function(){var t=this._core._current,e=t+this._core.settings.items,i=this._core.settings.lazyLoad,n=this._core.$stage.children().toArray().slice(t,e),s=[],r=0;o.each(n,function(t,e){s.push(o(e).height())}),(r=Math.max.apply(null,s))<=1&&i&&this._previousHeight&&(r=this._previousHeight),this._previousHeight=r,this._core.$stage.parent().height(r).addClass(this._core.settings.autoHeightClass)},i.prototype.destroy=function(){var t,e;for(t in this._handlers)this._core.$element.off(t,this._handlers[t]);for(e in Object.getOwnPropertyNames(this))"function"!=typeof this[e]&&(this[e]=null)},o.fn.owlCarousel.Constructor.Plugins.AutoHeight=i}(window.Zepto||window.jQuery,window,document),function(h,t,e,i){var n=function t(e){this._core=e,this._videos={},this._playing=null,this._handlers={"initialized.owl.carousel":h.proxy(function(t){t.namespace&&this._core.register({type:"state",name:"playing",tags:["interacting"]})},this),"resize.owl.carousel":h.proxy(function(t){t.namespace&&this._core.settings.video&&this.isInFullScreen()&&t.preventDefault()},this),"refreshed.owl.carousel":h.proxy(function(t){t.namespace&&this._core.is("resizing")&&this._core.$stage.find(".cloned .owl-video-frame").remove()},this),"changed.owl.carousel":h.proxy(function(t){t.namespace&&"position"===t.property.name&&this._playing&&this.stop()},this),"prepared.owl.carousel":h.proxy(function(t){if(t.namespace){var e=h(t.content).find(".owl-video");e.length&&(e.css("display","none"),this.fetch(e,h(t.content)))}},this)},this._core.options=h.extend({},t.Defaults,this._core.options),this._core.$element.on(this._handlers),this._core.$element.on("click.owl.video",".owl-video-play-icon",h.proxy(function(t){this.play(t)},this))};n.Defaults={video:!1,videoHeight:!1,videoWidth:!1},n.prototype.fetch=function(t,e){var i=t.attr("data-vimeo-id")?"vimeo":t.attr("data-vzaar-id")?"vzaar":"youtube",n=t.attr("data-vimeo-id")||t.attr("data-youtube-id")||t.attr("data-vzaar-id"),s=t.attr("data-width")||this._core.settings.videoWidth,r=t.attr("data-height")||this._core.settings.videoHeight,o=t.attr("href");if(!o)throw new Error("Missing video URL.");if(-1<(n=o.match(/(http:|https:|)\/\/(player.|www.|app.)?(vimeo\.com|youtu(be\.com|\.be|be\.googleapis\.com|be\-nocookie\.com)|vzaar\.com)\/(video\/|videos\/|embed\/|channels\/.+\/|groups\/.+\/|watch\?v=|v\/)?([A-Za-z0-9._%-]*)(\&\S+)?/))[3].indexOf("youtu"))i="youtube";else if(-1<n[3].indexOf("vimeo"))i="vimeo";else{if(!(-1<n[3].indexOf("vzaar")))throw new Error("Video URL not supported.");i="vzaar"}n=n[6],this._videos[o]={type:i,id:n,width:s,height:r},e.attr("data-video",o),this.thumbnail(t,this._videos[o])},n.prototype.thumbnail=function(e,t){var i,n,s=t.width&&t.height?"width:"+t.width+"px;height:"+t.height+"px;":"",r=e.find("img"),o="src",a="",l=this._core.settings,c=function(t){'<div class="owl-video-play-icon"></div>',i=l.lazyLoad?h("<div/>",{class:"owl-video-tn "+a,srcType:t}):h("<div/>",{class:"owl-video-tn",style:"opacity:1;background-image:url("+t+")"}),e.after(i),e.after('<div class="owl-video-play-icon"></div>')};if(e.wrap(h("<div/>",{class:"owl-video-wrapper",style:s})),this._core.settings.lazyLoad&&(o="data-src",a="owl-lazy"),r.length)return c(r.attr(o)),r.remove(),!1;"youtube"===t.type?(n="//img.youtube.com/vi/"+t.id+"/hqdefault.jpg",c(n)):"vimeo"===t.type?h.ajax({type:"GET",url:"//vimeo.com/api/v2/video/"+t.id+".json",jsonp:"callback",dataType:"jsonp",success:function(t){n=t[0].thumbnail_large,c(n)}}):"vzaar"===t.type&&h.ajax({type:"GET",url:"//vzaar.com/api/videos/"+t.id+".json",jsonp:"callback",dataType:"jsonp",success:function(t){n=t.framegrab_url,c(n)}})},n.prototype.stop=function(){this._core.trigger("stop",null,"video"),this._playing.find(".owl-video-frame").remove(),this._playing.removeClass("owl-video-playing"),this._playing=null,this._core.leave("playing"),this._core.trigger("stopped",null,"video")},n.prototype.play=function(t){var e,i=h(t.target).closest("."+this._core.settings.itemClass),n=this._videos[i.attr("data-video")],s=n.width||"100%",r=n.height||this._core.$stage.height();this._playing||(this._core.enter("playing"),this._core.trigger("play",null,"video"),i=this._core.items(this._core.relative(i.index())),this._core.reset(i.index()),(e=h('<iframe frameborder="0" allowfullscreen mozallowfullscreen webkitAllowFullScreen ></iframe>')).attr("height",r),e.attr("width",s),"youtube"===n.type?e.attr("src","//www.youtube.com/embed/"+n.id+"?autoplay=1&rel=0&v="+n.id):"vimeo"===n.type?e.attr("src","//player.vimeo.com/video/"+n.id+"?autoplay=1"):"vzaar"===n.type&&e.attr("src","//view.vzaar.com/"+n.id+"/player?autoplay=true"),h(e).wrap('<div class="owl-video-frame" />').insertAfter(i.find(".owl-video")),this._playing=i.addClass("owl-video-playing"))},n.prototype.isInFullScreen=function(){var t=e.fullscreenElement||e.mozFullScreenElement||e.webkitFullscreenElement;return t&&h(t).parent().hasClass("owl-video-frame")},n.prototype.destroy=function(){var t,e;for(t in this._core.$element.off("click.owl.video"),this._handlers)this._core.$element.off(t,this._handlers[t]);for(e in Object.getOwnPropertyNames(this))"function"!=typeof this[e]&&(this[e]=null)},h.fn.owlCarousel.Constructor.Plugins.Video=n}(window.Zepto||window.jQuery,window,document),function(o,t,e,i){var n=function t(e){this.core=e,this.core.options=o.extend({},t.Defaults,this.core.options),this.swapping=!0,this.previous=void 0,this.next=void 0,this.handlers={"change.owl.carousel":o.proxy(function(t){t.namespace&&"position"==t.property.name&&(this.previous=this.core.current(),this.next=t.property.value)},this),"drag.owl.carousel dragged.owl.carousel translated.owl.carousel":o.proxy(function(t){t.namespace&&(this.swapping="translated"==t.type)},this),"translate.owl.carousel":o.proxy(function(t){t.namespace&&this.swapping&&(this.core.options.animateOut||this.core.options.animateIn)&&this.swap()},this)},this.core.$element.on(this.handlers)};n.Defaults={animateOut:!1,animateIn:!1},n.prototype.swap=function(){if(1===this.core.settings.items&&o.support.animation&&o.support.transition){this.core.speed(0);var t,e=o.proxy(this.clear,this),i=this.core.$stage.children().eq(this.previous),n=this.core.$stage.children().eq(this.next),s=this.core.settings.animateIn,r=this.core.settings.animateOut;this.core.current()!==this.previous&&(r&&(t=this.core.coordinates(this.previous)-this.core.coordinates(this.next),i.one(o.support.animation.end,e).css({left:t+"px"}).addClass("animated owl-animated-out").addClass(r)),s&&n.one(o.support.animation.end,e).addClass("animated owl-animated-in").addClass(s))}},n.prototype.clear=function(t){o(t.target).css({left:""}).removeClass("animated owl-animated-out owl-animated-in").removeClass(this.core.settings.animateIn).removeClass(this.core.settings.animateOut),this.core.onTransitionEnd()},n.prototype.destroy=function(){var t,e;for(t in this.handlers)this.core.$element.off(t,this.handlers[t]);for(e in Object.getOwnPropertyNames(this))"function"!=typeof this[e]&&(this[e]=null)},o.fn.owlCarousel.Constructor.Plugins.Animate=n}(window.Zepto||window.jQuery,window,document),function(n,s,e,t){var i=function t(e){this._core=e,this._call=null,this._time=0,this._timeout=0,this._paused=!0,this._handlers={"changed.owl.carousel":n.proxy(function(t){t.namespace&&"settings"===t.property.name?this._core.settings.autoplay?this.play():this.stop():t.namespace&&"position"===t.property.name&&this._paused&&(this._time=0)},this),"initialized.owl.carousel":n.proxy(function(t){t.namespace&&this._core.settings.autoplay&&this.play()},this),"play.owl.autoplay":n.proxy(function(t,e,i){t.namespace&&this.play(e,i)},this),"stop.owl.autoplay":n.proxy(function(t){t.namespace&&this.stop()},this),"mouseover.owl.autoplay":n.proxy(function(){this._core.settings.autoplayHoverPause&&this._core.is("rotating")&&this.pause()},this),"mouseleave.owl.autoplay":n.proxy(function(){this._core.settings.autoplayHoverPause&&this._core.is("rotating")&&this.play()},this),"touchstart.owl.core":n.proxy(function(){this._core.settings.autoplayHoverPause&&this._core.is("rotating")&&this.pause()},this),"touchend.owl.core":n.proxy(function(){this._core.settings.autoplayHoverPause&&this.play()},this)},this._core.$element.on(this._handlers),this._core.options=n.extend({},t.Defaults,this._core.options)};i.Defaults={autoplay:!1,autoplayTimeout:5e3,autoplayHoverPause:!1,autoplaySpeed:!1},i.prototype._next=function(t){this._call=s.setTimeout(n.proxy(this._next,this,t),this._timeout*(Math.round(this.read()/this._timeout)+1)-this.read()),this._core.is("interacting")||e.hidden||this._core.next(t||this._core.settings.autoplaySpeed)},i.prototype.read=function(){return(new Date).getTime()-this._time},i.prototype.play=function(t,e){var i;this._core.is("rotating")||this._core.enter("rotating"),t=t||this._core.settings.autoplayTimeout,i=Math.min(this._time%(this._timeout||t),t),this._paused?(this._time=this.read(),this._paused=!1):s.clearTimeout(this._call),this._time+=this.read()%t-i,this._timeout=t,this._call=s.setTimeout(n.proxy(this._next,this,e),t-i)},i.prototype.stop=function(){this._core.is("rotating")&&(this._time=0,this._paused=!0,s.clearTimeout(this._call),this._core.leave("rotating"))},i.prototype.pause=function(){this._core.is("rotating")&&!this._paused&&(this._time=this.read(),this._paused=!0,s.clearTimeout(this._call))},i.prototype.destroy=function(){var t,e;for(t in this.stop(),this._handlers)this._core.$element.off(t,this._handlers[t]);for(e in Object.getOwnPropertyNames(this))"function"!=typeof this[e]&&(this[e]=null)},n.fn.owlCarousel.Constructor.Plugins.autoplay=i}(window.Zepto||window.jQuery,window,document),function(r,t,e,i){"use strict";var n=function t(e){this._core=e,this._initialized=!1,this._pages=[],this._controls={},this._templates=[],this.$element=this._core.$element,this._overrides={next:this._core.next,prev:this._core.prev,to:this._core.to},this._handlers={"prepared.owl.carousel":r.proxy(function(t){t.namespace&&this._core.settings.dotsData&&this._templates.push('<div class="'+this._core.settings.dotClass+'">'+r(t.content).find("[data-dot]").addBack("[data-dot]").attr("data-dot")+"</div>")},this),"added.owl.carousel":r.proxy(function(t){t.namespace&&this._core.settings.dotsData&&this._templates.splice(t.position,0,this._templates.pop())},this),"remove.owl.carousel":r.proxy(function(t){t.namespace&&this._core.settings.dotsData&&this._templates.splice(t.position,1)},this),"changed.owl.carousel":r.proxy(function(t){t.namespace&&"position"==t.property.name&&this.draw()},this),"initialized.owl.carousel":r.proxy(function(t){t.namespace&&!this._initialized&&(this._core.trigger("initialize",null,"navigation"),this.initialize(),this.update(),this.draw(),this._initialized=!0,this._core.trigger("initialized",null,"navigation"))},this),"refreshed.owl.carousel":r.proxy(function(t){t.namespace&&this._initialized&&(this._core.trigger("refresh",null,"navigation"),this.update(),this.draw(),this._core.trigger("refreshed",null,"navigation"))},this)},this._core.options=r.extend({},t.Defaults,this._core.options),this.$element.on(this._handlers)};n.Defaults={nav:!1,navText:['<span aria-label="Previous">&#x2039;</span>','<span aria-label="Next">&#x203a;</span>'],navSpeed:!1,navElement:'button type="button" role="presentation"',navContainer:!1,navContainerClass:"owl-nav",navClass:["owl-prev","owl-next"],slideBy:1,dotClass:"owl-dot",dotsClass:"owl-dots",dots:!0,dotsEach:!1,dotsData:!1,dotsSpeed:!1,dotsContainer:!1},n.prototype.initialize=function(){var t,i=this._core.settings;for(t in this._controls.$relative=(i.navContainer?r(i.navContainer):r("<div>").addClass(i.navContainerClass).appendTo(this.$element)).addClass("disabled"),this._controls.$previous=r("<"+i.navElement+">").addClass(i.navClass[0]).html(i.navText[0]).prependTo(this._controls.$relative).on("click",r.proxy(function(t){this.prev(i.navSpeed)},this)),this._controls.$next=r("<"+i.navElement+">").addClass(i.navClass[1]).html(i.navText[1]).appendTo(this._controls.$relative).on("click",r.proxy(function(t){this.next(i.navSpeed)},this)),i.dotsData||(this._templates=[r('<button role="button">').addClass(i.dotClass).append(r("<span>")).prop("outerHTML")]),this._controls.$absolute=(i.dotsContainer?r(i.dotsContainer):r("<div>").addClass(i.dotsClass).appendTo(this.$element)).addClass("disabled"),this._controls.$absolute.on("click","button",r.proxy(function(t){var e=r(t.target).parent().is(this._controls.$absolute)?r(t.target).index():r(t.target).parent().index();t.preventDefault(),this.to(e,i.dotsSpeed)},this)),this._overrides)this._core[t]=r.proxy(this[t],this)},n.prototype.destroy=function(){var t,e,i,n,s;for(t in s=this._core.settings,this._handlers)this.$element.off(t,this._handlers[t]);for(e in this._controls)"$relative"===e&&s.navContainer?this._controls[e].html(""):this._controls[e].remove();for(n in this.overides)this._core[n]=this._overrides[n];for(i in Object.getOwnPropertyNames(this))"function"!=typeof this[i]&&(this[i]=null)},n.prototype.update=function(){var t,e,i=this._core.clones().length/2,n=i+this._core.items().length,s=this._core.maximum(!0),r=this._core.settings,o=r.center||r.autoWidth||r.dotsData?1:r.dotsEach||r.items;if("page"!==r.slideBy&&(r.slideBy=Math.min(r.slideBy,r.items)),r.dots||"page"==r.slideBy)for(this._pages=[],t=i,e=0;t<n;t++){if(o<=e||0===e){if(this._pages.push({start:Math.min(s,t-i),end:t-i+o-1}),Math.min(s,t-i)===s)break;e=0,0}e+=this._core.mergers(this._core.relative(t))}},n.prototype.draw=function(){var t,e=this._core.settings,i=this._core.items().length<=e.items,n=this._core.relative(this._core.current()),s=e.loop||e.rewind;this._controls.$relative.toggleClass("disabled",!e.nav||i),e.nav&&(this._controls.$previous.toggleClass("disabled",!s&&n<=this._core.minimum(!0)),this._controls.$next.toggleClass("disabled",!s&&n>=this._core.maximum(!0))),this._controls.$absolute.toggleClass("disabled",!e.dots||i),e.dots&&(t=this._pages.length-this._controls.$absolute.children().length,e.dotsData&&0!==t?this._controls.$absolute.html(this._templates.join("")):0<t?this._controls.$absolute.append(new Array(t+1).join(this._templates[0])):t<0&&this._controls.$absolute.children().slice(t).remove(),this._controls.$absolute.find(".active").removeClass("active"),this._controls.$absolute.children().eq(r.inArray(this.current(),this._pages)).addClass("active"))},n.prototype.onTrigger=function(t){var e=this._core.settings;t.page={index:r.inArray(this.current(),this._pages),count:this._pages.length,size:e&&(e.center||e.autoWidth||e.dotsData?1:e.dotsEach||e.items)}},n.prototype.current=function(){var i=this._core.relative(this._core.current());return r.grep(this._pages,r.proxy(function(t,e){return t.start<=i&&t.end>=i},this)).pop()},n.prototype.getPosition=function(t){var e,i,n=this._core.settings;return"page"==n.slideBy?(e=r.inArray(this.current(),this._pages),i=this._pages.length,t?++e:--e,e=this._pages[(e%i+i)%i].start):(e=this._core.relative(this._core.current()),i=this._core.items().length,t?e+=n.slideBy:e-=n.slideBy),e},n.prototype.next=function(t){r.proxy(this._overrides.to,this._core)(this.getPosition(!0),t)},n.prototype.prev=function(t){r.proxy(this._overrides.to,this._core)(this.getPosition(!1),t)},n.prototype.to=function(t,e,i){var n;!i&&this._pages.length?(n=this._pages.length,r.proxy(this._overrides.to,this._core)(this._pages[(t%n+n)%n].start,e)):r.proxy(this._overrides.to,this._core)(t,e)},r.fn.owlCarousel.Constructor.Plugins.Navigation=n}(window.Zepto||window.jQuery,window,document),function(n,s,t,e){"use strict";var i=function t(e){this._core=e,this._hashes={},this.$element=this._core.$element,this._handlers={"initialized.owl.carousel":n.proxy(function(t){t.namespace&&"URLHash"===this._core.settings.startPosition&&n(s).trigger("hashchange.owl.navigation")},this),"prepared.owl.carousel":n.proxy(function(t){if(t.namespace){var e=n(t.content).find("[data-hash]").addBack("[data-hash]").attr("data-hash");if(!e)return;this._hashes[e]=t.content}},this),"changed.owl.carousel":n.proxy(function(t){if(t.namespace&&"position"===t.property.name){var i=this._core.items(this._core.relative(this._core.current())),e=n.map(this._hashes,function(t,e){return t===i?e:null}).join();if(!e||s.location.hash.slice(1)===e)return;s.location.hash=e}},this)},this._core.options=n.extend({},t.Defaults,this._core.options),this.$element.on(this._handlers),n(s).on("hashchange.owl.navigation",n.proxy(function(t){var e=s.location.hash.substring(1),i=this._core.$stage.children(),n=this._hashes[e]&&i.index(this._hashes[e]);void 0!==n&&n!==this._core.current()&&this._core.to(this._core.relative(n),!1,!0)},this))};i.Defaults={URLhashListener:!1},i.prototype.destroy=function(){var t,e;for(t in n(s).off("hashchange.owl.navigation"),this._handlers)this._core.$element.off(t,this._handlers[t]);for(e in Object.getOwnPropertyNames(this))"function"!=typeof this[e]&&(this[e]=null)},n.fn.owlCarousel.Constructor.Plugins.Hash=i}(window.Zepto||window.jQuery,window,document),function(s,t,e,r){var o=s("<support>").get(0).style,a="Webkit Moz O ms".split(" "),i={transition:{end:{WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd",transition:"transitionend"}},animation:{end:{WebkitAnimation:"webkitAnimationEnd",MozAnimation:"animationend",OAnimation:"oAnimationEnd",animation:"animationend"}}},n=function(){return!!h("transform")},l=function(){return!!h("perspective")},c=function(){return!!h("animation")};function h(t,i){var n=!1,e=t.charAt(0).toUpperCase()+t.slice(1);return s.each((t+" "+a.join(e+" ")+e).split(" "),function(t,e){if(o[e]!==r)return n=!i||e,!1}),n}function d(t){return h(t,!0)}(function(){return!!h("transition")})()&&(s.support.transition=new String(d("transition")),s.support.transition.end=i.transition.end[s.support.transition]),c()&&(s.support.animation=new String(d("animation")),s.support.animation.end=i.animation.end[s.support.animation]),n()&&(s.support.transform=new String(d("transform")),s.support.transform3d=l())}(window.Zepto||window.jQuery,window,document),function(p){function l(t){return t*Math.PI/180}function f(t,e,i){var n=p("#"+i+"canvas")[0],s=p("#"+i+"canvas"),r=n.getContext("2d"),o=n.width/2,a=n.height/2;r.beginPath(),r.arc(o,a,p(s).attr("data-radius"),0,2*Math.PI,!1),r.fillStyle="transparent",r.fill(),r.lineWidth=p(s).attr("data-width"),r.strokeStyle=p(s).attr("data-progressBarBackground"),r.stroke(),r.closePath(),r.beginPath(),r.arc(o,a,p(s).attr("data-radius"),-l(90),-l(90)+l(t/100*360),!1),r.fillStyle="transparent",r.fill(),r.lineWidth=p(s).attr("data-width"),r.strokeStyle=p(s).attr("data-stroke"),r.stroke(),r.closePath(),"true"==p(s).attr("data-text").toLocaleLowerCase()&&p("#"+i+" .clProg").val(e+("true"==p(s).attr("data-percent").toLocaleLowerCase()?"%":""))}p.fn.circularloader=function(t){var e=this[0],i=e.id;if(0==p("#"+i+"canvas").length){var n=p.extend({backgroundColor:"#ffffff",fontColor:"#000000",fontSize:"40px",radius:70,progressBarBackground:"#cdcdcd",progressBarColor:"#aaaaaa",progressBarWidth:25,progressPercent:0,progressValue:0,showText:!0,title:""},t),s=parseInt(n.radius),r=parseInt(n.progressBarWidth),o=parseInt(0<parseInt(n.progressValue)?n.progressValue:n.progressPercent),a=parseInt(n.progressPercent),l="color:"+n.fontColor+";font-size:"+parseInt(n.fontSize)+"px;width:"+2*(s+r)+"px;vertical-align:middle;position:relative;background-color:transparent;border:0 none;transform:translateY(-48%);-webkit-transform: translateY(-48%);-ms-transform: translateY(-48%);height:"+2*(s+r)+"px;margin-left:-"+2*(s+r)+"px;text-align:center;padding:0;"+(n.showText?"":"display:none;");p('<canvas data-width="'+r+'" data-radius="'+s+'" data-stroke="'+n.progressBarColor+'" data-progressBarBackground="'+n.progressBarBackground+'" data-backgroundColor="'+n.backgroundColor+'" data-text='+n.showText+" data-percent="+(null==t.progressValue)+' id="'+i+'canvas" width='+2*(s+r)+" height="+2*(s+r)+"></canvas>").appendTo(e),p('<input class="clProg" style="'+l+'" value="'+o+(null==t.progressValue?"%":"")+'" aria-hidden="true"></input>').appendTo(e),""==n.title?p("#"+i).css("height",2*(s+r)):(p("#"+i).css("height",2*(s+r)+20),p("#"+i+"canvas").before("<div class='titleCircularLoader' style='height:19px;text-align:center;'>"+n.title+"</div>"),p(".titleCircularLoader").css("width",2*(s+r)));var c=p("#"+i+"canvas")[0],h=c.getContext("2d"),d=c.width/2,u=c.height/2;p("#"+i+"canvas").offset().left,p("#"+i+"canvas").offset().top,h.beginPath(),h.arc(d,u,s,0,2*Math.PI,!1),h.fillStyle=n.backgroundColor,h.fill(),h.lineWidth=r,h.strokeStyle=n.progressBarBackground,h.stroke(),h.closePath(),0<a&&f(a,o,i)}else if(null!=t.progressPercent||null!=t.progressValue){a=0,o=0;a=null==t.progressPercent?100<parseInt(t.progressValue)?100:parseInt(t.progressValue):100<parseInt(t.progressPercent)?100:parseInt(t.progressPercent),o=null==t.progressValue?100<parseInt(t.progressPercent)?100:parseInt(t.progressPercent):parseInt(t.progressValue),f(a,o,i)}return this}}(jQuery),function(h){"use strict";var e=function(o,a){function l(t){return-1===t?"danger":-2===t?"muted":(t=t<0?0:t)<26?"danger":t<51?"warning":"success"}function c(t,e){for(var i="",n=!1,s=0;s<e.length;s++){n=!0;for(var r=0;r<t&&r+s+t<e.length;r++)n=n&&e.charAt(r+s)===e.charAt(r+s+t);r<t&&(n=!1),n?(s+=t-1,n=!1):i+=e.charAt(s)}return i}return a=h.extend({},{shortPass:"Password molto debole",badPass:"Password debole",goodPass:"Password sicura",strongPass:"Password molto sicura",enterPass:"Inserisci almeno 8 caratteri e una lettera maiuscola",showText:!0,minimumLength:4},a),function(){var s=a.showText,t=h("<div>").addClass("password-meter progress rounded-0 position-absolute");t.append('<div class="row position-absolute w-100 m-0">\n <div class="col-3 border-left border-right border-white"></div>\n <div class="col-3 border-left border-right border-white"></div>\n <div class="col-3 border-left border-right border-white"></div>\n <div class="col-3 border-left border-right border-white"></div>\n </div>');var r=h("<div>").attr({class:"progress-bar",role:"progressbar","aria-valuenow":"0","aria-valuemin":"0","aria-valuemax":"100"}),e=h("<div>").append(t.append(r));return a.showText&&(s=h("<small>").addClass("form-text text-muted").html(a.enterPass),e.prepend(s)),o.after(e),o.keyup(function(){var t=function(t){var e=0;if(t.length<a.minimumLength)return-1;e+=4*t.length,e+=c(1,t).length-t.length,e+=c(2,t).length-t.length,e+=c(3,t).length-t.length,e+=c(4,t).length-t.length,t.match(/(.*[0-9].*[0-9].*[0-9])/)&&(e+=5);var i=".*[!,@,#,$,%,^,&,*,?,_,~]";return i=new RegExp("("+i+i+")"),t.match(i)&&(e+=5),t.match(/([a-z].*[A-Z])|([A-Z].*[a-z])/)&&(e+=10),t.match(/([a-zA-Z])/)&&t.match(/([0-9])/)&&(e+=15),t.match(/([!,@,#,$,%,^,&,*,?,_,~])/)&&t.match(/([0-9])/)&&(e+=15),t.match(/([!,@,#,$,%,^,&,*,?,_,~])/)&&t.match(/([a-zA-Z])/)&&(e+=15),(t.match(/^\w+$/)||t.match(/^\d+$/))&&(e-=10),100<e&&(e=100),e<0&&(e=0),e}(o.val());o.trigger("password.score",[t]);var e,i=t<0?0:t;if(r.removeClass(function(t,e){return(e.match(/(^|\s)bg-\S+/g)||[]).join(" ")}),r.addClass("bg-"+l(t)),r.css({width:i+"%"}),r.attr("aria-valuenow",i),a.showText){var n=-1===(e=t)?a.shortPass:(e=e<0?0:e)<26?a.shortPass:e<51?a.badPass:e<76?a.goodPass:a.strongPass;!o.val().length&&t<=0&&(n=a.enterPass),s.html()!==h("<div>").html(n).html()&&(s.html(n),s.removeClass(function(t,e){return(e.match(/(^|\s)text-\S+/g)||[]).join(" ")}),s.addClass("text-"+l(t)),o.trigger("password.text",[n,t]))}}),this}.call(this)};h.fn.password=function(t){return this.each(function(){new e(h(this),t)})}}(jQuery),$(function(){var i=!1,n=null;$(".input-password").on("keydown",function(t){16==(t.keyCode?t.keyCode:t.which)&&(i=!0)}).on("keyup",function(t){var e=t.keyCode?t.keyCode:t.which;16==e&&(i=!1),20==e&&(n?(n=!1,$(".password-caps").remove()):(n=!0,$("input:focus").each(function(t){showCapsLockMsg($(this))})))}).on("keypress",function(t){var e=t.keyCode?t.keyCode:t.which;65<=e&&e<=90&&!i&&(n=!0,showCapsLockMsg($(this)))}),$(".input-password-strength-meter").password(),$(".password-icon").on("click",function(t){$(this).find('[class^="password-icon"]').toggleClass("d-none");var e=$(this).siblings(".input-password"),i="password"===e.attr("type")?"text":"password";e.attr("type",i)})}),function(){"use strict";void 0===Date.dp_locales&&(Date.dp_locales={texts:{buttonTitle:"Scegli la data ...",buttonLabel:"Fare clic o premere il tasto Invio o la barra spaziatrice per aprire il calendario",prevButtonLabel:"Vai al mese precedente",nextButtonLabel:"Vai al mese successivo",closeButtonTitle:"Chiudere",closeButtonLabel:"Chiudere il calendario",prevMonthButtonLabel:"Vai al precedente esercizio",prevYearButtonLabel:"Vai a vent'anni precedenti",nextMonthButtonLabel:"Vai al prossimo anno",nextYearButtonLabel:"Vai ai prossimi 20 anni",changeMonthButtonLabel:"Fare clic o premere il tasto Invio o la barra spaziatrice per cambiare il mese",changeYearButtonLabel:"Fare clic o premere il tasto Invio o la barra spaziatrice per cambiare l'anno",changeRangeButtonLabel:"Fare clic o premere il tasto Invio o la barra spaziatrice per andare ai prossimi 20 anni",calendarHelp:"- Freccia e Freccia giù - va allo stesso giorno della settimana in settimana precedente o successiva, rispettivamente. Se viene raggiunta la fine del mese, continua nel mese precedente o successivo a seconda dei casi.\r\n- Freccia Sinistra e Freccia destra - avanza un giorno all'altro, anche in un continuum. Visivamente fuoco viene spostato da un giorno all'altro e avvolge da riga a riga nella griglia di giorni.\r\n- Control + Pagina Su - Passa alla stessa data dell'anno precedente.\r\n- Control + Pagina giù - Passa alla stessa data nel prossimo anno.\r\n- Home - Passa al primo giorno del mese in corso.\r\n- End - Passa l'ultimo giorno del mese corrente.\r\n- Pagina Su - Passa alla stessa data del mese precedente.\r\n- Pagina giù - Passa alla stessa data del mese successivo.\r\n- Invio o Espace - chiude il calendario e la data selezionata viene visualizzata nella casella di testo associato.\r\n- Escape - chiude il calendario senza alcuna azione."},directionality:"LTR",month_names:["gennaio","febbraio","marzo","aprile","maggio","giugno","luglio","agosto","settembre","ottobre","novembre","dicembre"],month_names_abbreviated:["gen","feb","mar","apr","mag","giu","lug","ago","set","ott","nov","dic"],month_names_narrow:["G","F","M","A","M","G","L","A","S","O","N","D"],day_names:["domenica","lunedì","martedì","mercoledì","giovedì","venerdì","sabato"],day_names_abbreviated:["dom","lun","mar","mer","gio","ven","sab"],day_names_short:["dom","lun","mar","mer","gio","ven","sab"],day_names_narrow:["D","L","M","M","G","V","S"],day_periods:{am:"AM",noon:"mezzogiorno",pm:"PM"},day_periods_abbreviated:{am:"AM",noon:"mezzogiorno",pm:"PM"},day_periods_narrow:{am:"m.",noon:"n",pm:"p."},quarter_names:["1º trimestre","2º trimestre","3º trimestre","4º trimestre"],quarter_names_abbreviated:["T1","T2","T3","T4"],quarter_names_narrow:["1","2","3","4"],era_names:["a.C.","d.C."],era_names_abbreviated:["aC","dC"],era_names_narrow:["aC","dC"],full_format:"EEEE d MMMM y",long_format:"d MMMM y",medium_format:"dd MMM y",short_format:"dd/MM/yy",firstday_of_week:1})}(),function(){"use strict";void 0===Date.dp_locales&&(Date.dp_locales={texts:{buttonTitle:"Select date ...",buttonLabel:"Click or press the Enter key or the spacebar to open the calendar",prevButtonLabel:"Go to previous month",prevMonthButtonLabel:"Go to the previous year",prevYearButtonLabel:"Go to the previous twenty years",nextButtonLabel:"Go to next month",nextMonthButtonLabel:"Go to the next year",nextYearButtonLabel:"Go to the next twenty years",changeMonthButtonLabel:"Click or press the Enter key or the spacebar to change the month",changeYearButtonLabel:"Click or press the Enter key or the spacebar to change the year",changeRangeButtonLabel:"Click or press the Enter key or the spacebar to go to the next twenty years",closeButtonTitle:"Close",closeButtonLabel:"Close the calendar",calendarHelp:"- Up Arrow and Down Arrow - goes to the same day of the week in the previous or next week respectively. If the end of the month is reached, continues into the next or previous month as appropriate.\r\n- Left Arrow and Right Arrow - advances one day to the next, also in a continuum. Visually focus is moved from day to day and wraps from row to row in the grid of days.\r\n- Control+Page Up - Moves to the same date in the previous year.\r\n- Control+Page Down - Moves to the same date in the next year.\r\n- Home - Moves to the first day of the current month.\r\n- End - Moves to the last day of the current month.\r\n- Page Up - Moves to the same date in the previous month.\r\n- Page Down - Moves to the same date in the next month.\r\n- Enter or Espace - closes the calendar, and the selected date is shown in the associated text box.\r\n- Escape - closes the calendar without any action."},directionality:"LTR",month_names:["January","February","March","April","May","June","July","August","September","October","November","December"],month_names_abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],month_names_narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],day_names:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],day_names_abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],day_names_short:["Su","Mo","Tu","We","Th","Fr","Sa"],day_names_narrow:["S","M","T","W","T","F","S"],day_periods:{am:"AM",noon:"noon",pm:"PM"},day_periods_abbreviated:{am:"AM",noon:"noon",pm:"PM"},day_periods_narrow:{am:"a",noon:"n",pm:"p"},quarter_names:["1st quarter","2nd quarter","3rd quarter","4th quarter"],quarter_names_abbreviated:["Q1","Q2","Q3","Q4"],quarter_names_narrow:["1","2","3","4"],era_names:["Before Christ","Anno Domini"],era_names_abbreviated:["BC","AD"],era_names_narrow:["B","A"],full_format:"EEEE, MMMM d, y",long_format:"MMMM d, y",medium_format:"MMM d, y",short_format:"M/d/yy",firstday_of_week:0})}(),function(t){if("function"==typeof define&&define.amd)define(["jquery"],t);else if("object"==typeof exports)t(require("jquery"));else{if("undefined"==typeof jQuery)throw new Error("Datepicker's JavaScript requires jQuery");t(jQuery)}}(function(y,d){"use strict";var o=['<a class="datepicker-button input-group-addon btn" role="button" aria-haspopup="true" tabindex="0" aria-labelledby="datepicker-bn-open-label-CALENDARID">','\t<svg class="icon" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><title>it-calendar</title><g><path d="M21,9V8a3,3,0,0,0-3-3h-.55V4a1,1,0,0,0-2,0V5h-7V4a1,1,0,1,0-2,0V5H6A3,3,0,0,0,3,8V18a3,3,0,0,0,3,3H18a3,3,0,0,0,3-3V9ZM15.46,5h2V6a1,1,0,1,1-2,0Zm-9,0h2V6a1,1,0,1,1-2,0ZM20,18a2,2,0,0,1-2,2H6a2,2,0,0,1-2-2V10H20Z"/></g></svg>',"</a>"],a=['<div class="datepicker-calendar" id="datepicker-calendar-CALENDARID" aria-hidden="false">','\t<div class="datepicker-month-wrap">','\t\t<div class="datepicker-month-fast-next pull-right" role="button" aria-labelledby="datepicker-bn-fast-next-label-CALENDARID" tabindex="0"><span class="icon-right"></span><span class="icon-right"></span></div>','\t\t<div class="datepicker-month-next pull-right" role="button" aria-labelledby="datepicker-bn-next-label-CALENDARID" tabindex="0"><span class="icon-right"></span></div>','\t\t<div class="datepicker-month-fast-prev pull-left" role="button" aria-labelledby="datepicker-bn-fast-prev-label-CALENDARID" tabindex="0"><span class="icon-left"></span><span class="icon-left"></span></div>','\t\t<div class="datepicker-month-prev pull-left" role="button" aria-labelledby="datepicker-bn-prev-label-CALENDARID" tabindex="0"><span class="icon-left"></span></div>','\t\t<div id="datepicker-month-CALENDARID" class="datepicker-month" tabindex="0" role="heading" aria-live="assertive" aria-atomic="true" title="Click or press the Enter key or the spacebar to change the month">July 2015</div>',"\t</div>",'\t<table class="datepicker-grid" role="grid" aria-readonly="true" aria-activedescendant="datepicker-err-msg-CALENDARID" aria-labelledby="datepicker-month-CALENDARID" tabindex="0">',"\t\t<thead>",'\t\t\t<tr class="datepicker-weekdays" role="row">','\t\t\t\t<th scope="col" id="day0-header-CALENDARID" class="datepicker-day" role="columnheader" aria-label="Sunday"><abbr title="Sunday">Su</abbr></th>','\t\t\t\t<th scope="col" id="day1-header-CALENDARID" class="datepicker-day" role="columnheader" aria-label="Monday"><abbr title="Monday">Mo</abbr></th>','\t\t\t\t<th scope="col" id="day2-header-CALENDARID" class="datepicker-day" role="columnheader" aria-label="Tuesday"><abbr title="Tuesday">Tu</abbr></th>','\t\t\t\t<th scope="col" id="day3-header-CALENDARID" class="datepicker-day" role="columnheader" aria-label="Wednesday"><abbr title="Wednesday">We</abbr></th>','\t\t\t\t<th scope="col" id="day4-header-CALENDARID" class="datepicker-day" role="columnheader" aria-label="Thursday"><abbr title="Thursday">Th</abbr></th>','\t\t\t\t<th scope="col" id="day5-header-CALENDARID" class="datepicker-day" role="columnheader" aria-label="Friday"><abbr title="Friday">Fr</abbr></th>','\t\t\t\t<th scope="col" id="day6-header-CALENDARID" class="datepicker-day" role="columnheader" aria-label="Saturday"><abbr title="Saturday">Sa</abbr></th>',"\t\t\t</tr>","\t\t</thead>","\t\t<tbody>","\t\t\t<tr>",'\t\t\t\t<td id="datepicker-err-msg-CALENDARID" colspan="7"><span>Javascript must be enabled</span></td>',"\t\t\t</tr>","\t\t</tbody>","\t</table>",'\t<div class="datepicker-close-wrap">','\t\t<button class="datepicker-close" id="datepicker-close-CALENDARID" aria-labelledby="datepicker-bn-close-label-CALENDARID">Close</button>',"\t</div>",'\t<div id="datepicker-bn-open-label-CALENDARID" class="datepicker-bn-open-label offscreen">Click or press the Enter key or the spacebar to open the calendar</div>','\t<div id="datepicker-bn-prev-label-CALENDARID" class="datepicker-bn-prev-label offscreen">Go to previous month</div>','\t<div id="datepicker-bn-next-label-CALENDARID" class="datepicker-bn-next-label offscreen">Go to next month</div>','\t<div id="datepicker-bn-fast-prev-label-CALENDARID" class="datepicker-bn-fast-prev-label offscreen">Go to previous year</div>','\t<div id="datepicker-bn-fast-next-label-CALENDARID" class="datepicker-bn-fast-next-label offscreen">Go to next year</div>','\t<div id="datepicker-bn-close-label-CALENDARID" class="datepicker-bn-close-label offscreen">Close the date picker</div>',"</div>"],r=function t(e,i){var n=this;this.$target=y(e),this.options=y.extend({},t.DEFAULTS,i),this.locales=Date.dp_locales,this.startview(this.options.startView),"string"==typeof this.options.inputFormat&&(this.options.inputFormat=[this.options.inputFormat]),y.isArray(this.options.datesDisabled)||(this.options.datesDisabled=[this.options.datesDisabled]),y.each(this.options.datesDisabled,function(t,e){if("string"==typeof e){var i=n.parseDate(e);n.options.datesDisabled[t]=null===i?null:n.format(i)}else e instanceof Date&&!isNaN(e.valueOf())?n.options.datesDisabled[t]=n.format(e):n.options.datesDisabled[t]=null}),null!=this.options.min?this.options.min=this.parseDate(this.options.min):this.$target.attr("min")&&(this.options.min=this.parseDate(this.$target.attr("min"))),null!=this.options.max?this.options.max=this.parseDate(this.options.max):this.$target.attr("max")&&(this.options.max=this.parseDate(this.$target.attr("max"))),"string"==typeof this.options.previous?this.options.previous=y(this.options.previous):this.options.previous instanceof jQuery||(this.options.previous=null),"string"==typeof this.options.next?this.options.next=y(this.options.next):this.options.next instanceof jQuery||(this.options.next=null),this.id=this.$target.attr("id")||"datepicker-"+Math.floor(1e5*Math.random());var s=a.join("");s=s.replace(/CALENDARID/g,this.id+""),0==this.$target.parent(".input-group").length&&this.$target.wrap('<div class="input-group"></div>'),this.$label=this.$target.parents().find("label[for="+this.id+"]"),this.$group=this.$target.parent(".input-group"),this.$target.attr("aria-autocomplete","none"),this.$target.css("min-width","7em"),this.$target.addClass("form-control"),this.$target.attr("placeholder")||this.$target.attr("placeholder",this.options.inputFormat[0]);var r=o.join("");r=r.replace(/CALENDARID/g,this.id+""),this.$button=y(r),this.$button.addClass(this.options.theme),this.$calendar=y(s),this.$calendar.addClass(this.options.theme),this.$target.after(this.$button),"static"===this.$calendar.parent().css("position")&&this.$calendar.parent().css("position","relative"),this.$calendar.find(".datepicker-bn-open-label").html(this.options.buttonLabel),this.$target.attr("id")&&this.$calendar.attr("aria-controls",this.$target.attr("id")),this.$button.find("span").attr("title",this.options.buttonTitle),this.$calendar.css("left",this.$target.parent().position().left+"px"),this.$monthObj=this.$calendar.find(".datepicker-month"),this.$prev=this.$calendar.find(".datepicker-month-prev"),this.$next=this.$calendar.find(".datepicker-month-next"),this.$fastprev=this.$calendar.find(".datepicker-month-fast-prev"),this.$fastnext=this.$calendar.find(".datepicker-month-fast-next"),this.$grid=this.$calendar.find(".datepicker-grid"),"RTL"===this.locales.directionality&&this.$grid.addClass("rtl");this.$grid.find("th.datepicker-day abbr");(this.drawCalendarHeader(),0==this.options.inline&&1==this.options.modal?(this.$close=this.$calendar.find(".datepicker-close"),this.$close.html(this.options.closeButtonTitle).attr("title",this.options.closeButtonLabel),this.$calendar.find(".datepicker-bn-close-label").html(this.options.closeButtonLabel)):(this.hideObject(this.$calendar.find(".datepicker-close-wrap")),this.hideObject(this.$calendar.find(".datepicker-bn-close-label"))),0!=this.options.inline)?(this.hideObject(this.$button),("string"==typeof this.options.inline?y("#"+this.options.inline):this.options.inline).append(this.$calendar),this.$calendar.css({position:"relative",left:"0px"}),this.initializeDate()):(this.$calendar.css({display:"none"}),this.$target.parent().after(this.$calendar),this.hide(!this.options.gainFocusOnConstruction));this.keys={tab:9,enter:13,esc:27,space:32,pageup:33,pagedown:34,end:35,home:36,left:37,up:38,right:39,down:40},this.bindHandlers(),this.$button.click(function(t){return y(this).hasClass("disabled")||("true"===n.$calendar.attr("aria-hidden")?(n.initializeDate(),n.show()):n.hide(),n.selectGridCell(n.$grid.attr("aria-activedescendant"))),t.stopPropagation(),!1}),this.$button.keydown(function(t){var e=t||event;if(e.keyCode==n.keys.enter||e.keyCode==n.keys.space)return y(this).trigger("click"),!1}),this.$calendar.on("blur",function(t){"false"===n.$calendar.attr("aria-hidden")&&n.hide()})};r.VERSION="2.1.10",r.DEFAULTS={firstDayOfWeek:Date.dp_locales.firstday_of_week,weekDayFormat:"short",startView:0,daysOfWeekDisabled:[],datesDisabled:[],isDateDisabled:null,isMonthDisabled:null,isYearDisabled:null,inputFormat:[Date.dp_locales.short_format],outputFormat:Date.dp_locales.short_format,titleFormat:Date.dp_locales.full_format,buttonTitle:Date.dp_locales.texts.buttonTitle,buttonLabel:Date.dp_locales.texts.buttonLabel,prevButtonLabel:Date.dp_locales.texts.prevButtonLabel,prevMonthButtonLabel:Date.dp_locales.texts.prevMonthButtonLabel,prevYearButtonLabel:Date.dp_locales.texts.prevYearButtonLabel,nextButtonLabel:Date.dp_locales.texts.nextButtonLabel,nextMonthButtonLabel:Date.dp_locales.texts.nextMonthButtonLabel,nextYearButtonLabel:Date.dp_locales.texts.nextYearButtonLabel,changeMonthButtonLabel:Date.dp_locales.texts.changeMonthButtonLabel,changeYearButtonLabel:Date.dp_locales.texts.changeYearButtonLabel,changeRangeButtonLabel:Date.dp_locales.texts.changeRangeButtonLabel,closeButtonTitle:Date.dp_locales.texts.closeButtonTitle,closeButtonLabel:Date.dp_locales.texts.closeButtonLabel,onUpdate:function(t){},previous:null,next:null,theme:"default",modal:!1,inline:!1,gainFocusOnConstruction:!1,min:null,max:null},r.prototype.initializeDate=function(){var t=this.$target.val(),e=""===t?new Date:this.parseDate(t);this.setDate(e,!0)},r.prototype.getDate=function(){var t=this.$target.val();return""===t?new Date:this.parseDate(t)},r.prototype.setDate=function(t,e){switch(this.dateObj=t,e=void 0!==e&&e,null==this.dateObj&&(this.$target.attr("aria-invalid",!0),this.$target.parents(".form-group").addClass("has-error"),this.dateObj=new Date,this.dateObj.setHours(0,0,0,0)),null!=this.options.min&&this.dateObj<this.options.min?(this.$target.attr("aria-invalid",!0),this.$target.parents(".form-group").addClass("has-error"),this.dateObj=this.options.min):null!=this.options.max&&this.dateObj>this.options.max&&(this.$target.attr("aria-invalid",!0),this.$target.parents(".form-group").addClass("has-error"),this.dateObj=this.options.max),e&&""==this.$target.val()||this.$target.val(this.format(this.dateObj)),this.curYear=this.dateObj.getFullYear(),this.year=this.curYear,this.curMonth=this.dateObj.getMonth(),this.month=this.curMonth,this.date=this.dateObj.getDate(),this.options.startView){case 1:this.populateMonthsCalendar(),this.$grid.attr("aria-activedescendant",this.$grid.find(".curMonth").attr("id"));break;case 2:this.populateYearsCalendar(),this.$grid.attr("aria-activedescendant",this.$grid.find(".curYear").attr("id"));break;default:this.populateDaysCalendar(),this.$grid.attr("aria-activedescendant",this.$grid.find(".curDay").attr("id"))}},r.prototype.drawCalendarHeader=function(){for(var t=this.$grid.find("th.datepicker-day"),e=this.options.firstDayOfWeek,i=0;i<7;i++)t.eq(i).attr("aria-label",this.locales.day_names[e]),t.children("abbr").eq(i).attr("title",this.locales.day_names[e]).text("short"===this.options.weekDayFormat?this.locales.day_names_short[e]:this.locales.day_names_narrow[e]),e=(e+1)%7},r.prototype.populateDaysCalendar=function(){this.$calendar.find(".datepicker-bn-prev-label").html(this.options.prevButtonLabel),this.$calendar.find(".datepicker-bn-next-label").html(this.options.nextButtonLabel),this.$calendar.find(".datepicker-bn-fast-prev-label").html(this.options.prevMonthButtonLabel),this.$calendar.find(".datepicker-bn-fast-next-label").html(this.options.nextMonthButtonLabel),null!=this.options.min&&(this.year-1<this.options.min.getFullYear()||this.year-1==this.options.min.getFullYear()&&this.month<this.options.min.getMonth())?(this.$fastprev.attr("title",""),this.$fastprev.addClass("disabled"),this.$fastprev.removeClass("enabled")):(this.$fastprev.attr("title",this.options.prevMonthButtonLabel),this.$fastprev.addClass("enabled"),this.$fastprev.removeClass("disabled"));var t=this.previousMonth(this.year,this.month);null!=this.options.min&&(t.year<this.options.min.getFullYear()||t.year==this.options.min.getFullYear()&&t.month<this.options.min.getMonth())?(this.$prev.attr("title",""),this.$prev.addClass("disabled"),this.$prev.removeClass("enabled")):(this.$prev.attr("title",this.options.prevButtonLabel),this.$prev.addClass("enabled"),this.$prev.removeClass("disabled")),this.$monthObj.attr("title",this.options.changeMonthButtonLabel);var e=this.nextMonth(this.year,this.month);null!=this.options.max&&(e.year>this.options.max.getFullYear()||e.year==this.options.max.getFullYear()&&e.month>this.options.max.getMonth())?(this.$next.attr("title",""),this.$next.addClass("disabled"),this.$next.removeClass("enabled")):(this.$next.attr("title",this.options.nextButtonLabel),this.$next.addClass("enabled"),this.$next.removeClass("disabled")),null!=this.options.max&&(this.year+1>this.options.max.getFullYear()||this.year+1==this.options.max.getFullYear()&&this.month>this.options.max.getMonth())?(this.$fastnext.attr("title",""),this.$fastnext.addClass("disabled"),this.$fastnext.removeClass("enabled")):(this.$fastnext.attr("title",this.options.nextMonthButtonLabel),this.$fastnext.addClass("enabled"),this.$fastnext.removeClass("disabled")),this.showObject(this.$fastprev),this.showObject(this.$fastnext);var i=this.getDaysInMonth(this.year,this.month),n=this.getDaysInMonth(t.year,t.month),s=new Date(this.year,this.month,1).getDay(),r=(this.options.firstDayOfWeek+6)%7,o=1,a=1;this.$monthObj.html(this.locales.month_names[this.month]+" "+this.year),this.showObject(this.$grid.find("thead"));for(var l='\t<tr id="row0-'+this.id+'" role="row">\n',c=0,h=this.options.firstDayOfWeek;h!=s;)c++,h=(h+1)%7;for(;0<c;c--)l+='\t\t<td class="empty">'+(n-c+1)+"</td>\n";var d=this.options.isYearDisabled&&this.options.isYearDisabled(this.year),u=this.options.isMonthDisabled&&this.options.isMonthDisabled(this.year,this.month+1);for(o=1;o<=i;o++){var p=new Date(this.year,this.month,o,0,0,0,0),f=this.formatDate(p,this.options.titleFormat),m=o==this.date&&this.month==this.curMonth&&this.year==this.curYear?" curDay":"";d||u?l+='\t\t<td id="cell'+o+"-"+this.id+'" class="day unselectable'+m+'"':-1<y.inArray(h,this.options.daysOfWeekDisabled)?l+='\t\t<td id="cell'+o+"-"+this.id+'" class="day unselectable'+m+'"':null!=this.options.min&&p<this.options.min?l+='\t\t<td id="cell'+o+"-"+this.id+'" class="day unselectable'+m+'"':null!=this.options.max&&p>this.options.max?l+='\t\t<td id="cell'+o+"-"+this.id+'" class="day unselectable'+m+'"':-1<y.inArray(this.format(p),this.options.datesDisabled)?l+='\t\t<td id="cell'+o+"-"+this.id+'" class="day unselectable'+m+'"':this.options.isDateDisabled&&this.options.isDateDisabled(p)?l+='\t\t<td id="cell'+o+"-"+this.id+'" class="day unselectable'+m+'"':l+='\t\t<td id="cell'+o+"-"+this.id+'" class="day selectable'+m+'"',l+=' data-value="'+o+'"',l+=' title="'+f+'"',l+=' aria-label="'+f+'"',l+=' headers="day'+h+"-header-"+this.id+'" role="gridcell" tabindex="-1" aria-selected="false"><span>'+o+"</span>",l+="</td>",h==r&&o<i&&(l+='\t</tr>\n\t<tr id="row'+a+"-"+this.id+'" role="row">\n',a++),o<i&&(h=(h+1)%7)}for(;h!=r;)l+='\t\t<td class="empty">'+ ++c+"</td>\n",h=(h+1)%7;l+="\t</tr>";var g=this.$grid.find("tbody");g.empty(),g.append(l),this.gridType=0},r.prototype.populateMonthsCalendar=function(){this.$calendar.find(".datepicker-bn-prev-label").html(this.options.prevMonthButtonLabel),this.$calendar.find(".datepicker-bn-next-label").html(this.options.nextMonthButtonLabel),this.hideObject(this.$fastprev),this.hideObject(this.$fastnext),null!=this.options.min&&this.year-1<this.options.min.getFullYear()?(this.$prev.attr("title",""),this.$prev.addClass("disabled"),this.$prev.removeClass("enabled")):(this.$prev.attr("title",this.options.prevMonthButtonLabel),this.$prev.addClass("enabled"),this.$prev.removeClass("disabled")),this.$monthObj.attr("title",this.options.changeYearButtonLabel),null!=this.options.max&&this.year+1>this.options.max.getFullYear()?(this.$next.attr("title",""),this.$next.addClass("disabled"),this.$next.removeClass("enabled")):(this.$next.attr("title",this.options.nextMonthButtonLabel),this.$next.addClass("enabled"),this.$next.removeClass("disabled"));var t=0,e=1,i=this.$grid.find("tbody");this.$monthObj.html(this.year),this.hideObject(this.$grid.find("thead")),i.empty(),y("#datepicker-err-msg-"+this.id).empty();var n='\t<tr id="row0-'+this.id+'" role="row">\n',s=this.options.isYearDisabled&&this.options.isYearDisabled(this.year);for(t=0;t<12;t++)s?n+='\t\t<td id="cell'+(t+1)+"-"+this.id+'" class="month unselectable"':t==this.month&&this.year==this.curYear?n+='\t\t<td id="cell'+(t+1)+"-"+this.id+'" class="month curMonth selectable"':null!=this.options.min&&(this.year<this.options.min.getFullYear()||this.year==this.options.min.getFullYear()&&t<this.options.min.getMonth())?n+='\t\t<td id="cell'+(t+1)+"-"+this.id+'" class="month unselectable"':null!=this.options.max&&(this.year>this.options.max.getFullYear()||this.year==this.options.max.getFullYear()&&t>this.options.max.getMonth())?n+='\t\t<td id="cell'+(t+1)+"-"+this.id+'" class="month unselectable"':this.options.isMonthDisabled&&this.options.isMonthDisabled(this.year,t+1)?n+='\t\t<td id="cell'+(t+1)+"-"+this.id+'" class="month unselectable"':n+='\t\t<td id="cell'+(t+1)+"-"+this.id+'" class="month selectable"',n+=' data-value="'+t+'"',n+=' title="'+this.locales.month_names[t]+" "+this.year+'"',n+=' aria-label="'+this.locales.month_names[t]+" "+this.year+'"',n+=' role="gridcell" tabindex="-1" aria-selected="false">'+this.locales.month_names_abbreviated[t],n+="</td>",3!=t&&7!=t||(n+='\t</tr>\n\t<tr id="row'+e+"-"+this.id+'" role="row">\n',e++);n+="\t</tr>",i.append(n),this.gridType=1},r.prototype.populateYearsCalendar=function(){this.$calendar.find(".datepicker-bn-prev-label").html(this.options.prevYearButtonLabel),this.$calendar.find(".datepicker-bn-next-label").html(this.options.nextYearButtonLabel),this.hideObject(this.$fastprev),this.hideObject(this.$fastnext),null!=this.options.min&&this.year-20<this.options.min.getFullYear()?(this.$prev.attr("title",""),this.$prev.addClass("disabled"),this.$prev.removeClass("enabled")):(this.$prev.attr("title",this.options.prevYearButtonLabel),this.$prev.addClass("enabled"),this.$prev.removeClass("disabled")),this.$monthObj.attr("title",this.options.changeRangeButtonLabel),null!=this.options.max&&this.year+20>this.options.max.getFullYear()?(this.$next.attr("title",""),this.$next.addClass("disabled"),this.$next.removeClass("enabled")):(this.$next.attr("title",this.options.nextYearButtonLabel),this.$next.addClass("enabled"),this.$next.removeClass("disabled"));var t=10*Math.floor(this.year/10),e=t+19,i=1,n=this.$grid.find("tbody");this.$monthObj.html(t+"-"+e),this.hideObject(this.$grid.find("thead")),n.empty(),y("#datepicker-err-msg-"+this.id).empty();for(var s='\t<tr id="row0-'+this.id+'" role="row">\n',r=t;r<=e;r++){r==this.year?s+='\t\t<td id="cell'+(r-t+1)+"-"+this.id+'" class="year curYear selectable"':null!=this.options.min&&r<this.options.min.getFullYear()?s+='\t\t<td id="cell'+(r-t+1)+"-"+this.id+'" class="year unselectable"':null!=this.options.max&&r>this.options.max.getFullYear()?s+='\t\t<td id="cell'+(r-t+1)+"-"+this.id+'" class="year unselectable"':this.options.isYearDisabled&&this.options.isYearDisabled(r)?s+='\t\t<td id="cell'+(r-t+1)+"-"+this.id+'" class="year unselectable"':s+='\t\t<td id="cell'+(r-t+1)+"-"+this.id+'" class="year selectable"',s+=' data-value="'+r+'"',s+=' title="'+r+'"',s+=' role="gridcell" tabindex="-1" aria-selected="false">'+r,s+="</td>";var o=r-t;4!=o&&9!=o&&14!=o||(s+='\t</tr>\n\t<tr id="row'+i+"-"+this.id+'" role="row">\n',i++)}s+="\t</tr>",n.append(s),this.gridType=2},r.prototype.showDaysOfPrevMonth=function(t){var e=this.previousMonth(this.year,this.month);if(null!=this.options.min&&(e.year<this.options.min.getFullYear()||e.year==this.options.min.getFullYear()&&e.month<this.options.min.getMonth()))return!1;if(this.month=e.month,this.year=e.year,this.populateDaysCalendar(),null!=t){var i="cell"+(this.getDaysInMonth(this.year,this.month)-t)+"-"+this.id;this.$grid.attr("aria-activedescendant",i),this.selectGridCell(i)}return!0},r.prototype.showDaysOfMonth=function(t){if(null!=this.options.min&&(this.year<this.options.min.getFullYear()||this.year==this.options.min.getFullYear()&&t<this.options.min.getMonth()))return!1;if(null!=this.options.max&&(this.year>this.options.max.getFullYear()||this.year==this.options.max.getFullYear()&&t>this.options.max.getMonth()))return!1;this.month=t,this.date=Math.min(this.date,this.getDaysInMonth(this.year,this.month)),this.populateDaysCalendar();var e=this.$grid.find("tbody td[data-value='"+this.date+"']");return this.selectGridCell(e.attr("id")),!0},r.prototype.showMonthsOfPrevYear=function(t){if(null!=this.options.min&&this.year-1<this.options.min.getFullYear())return!1;if(this.year--,this.populateMonthsCalendar(),null!=t){var e="cell"+(12-t)+"-"+this.id;this.$grid.attr("aria-activedescendant",e),this.selectGridCell(e)}return!0},r.prototype.showMonthsOfYear=function(t){if(null!=this.options.min&&t<this.options.min.getFullYear())return!1;if(null!=this.options.max&&t>this.options.max.getFullYear())return!1;this.year=t,this.populateMonthsCalendar();var e=this.$grid.find("tbody td[data-value='"+this.month+"']");return this.$grid.attr("aria-activedescendant",e.attr("id")),this.selectGridCell(e.attr("id")),!0},r.prototype.showYearsOfPrevRange=function(t){if(null!=this.options.min&&this.year-20<this.options.min.getFullYear())return!1;if(this.year-=20,this.populateYearsCalendar(),null!=t){var e="cell"+(20-t)+"-"+this.id;this.$grid.attr("aria-activedescendant",e),this.selectGridCell(e)}return!0},r.prototype.showDaysOfNextMonth=function(t){var e=this.nextMonth(this.year,this.month);if(null!=this.options.max&&(e.year>this.options.max.getFullYear()||e.year==this.options.max.getFullYear()&&e.month>this.options.max.getMonth()))return!1;if(this.month=e.month,this.year=e.year,this.populateDaysCalendar(),null!=t){var i="cell"+t+"-"+this.id;this.$grid.attr("aria-activedescendant",i),this.selectGridCell(i)}return!0},r.prototype.showMonthsOfNextYear=function(t){if(null!=this.options.max&&this.year+1>this.options.max.getFullYear())return!1;if(this.year++,this.populateMonthsCalendar(),null!=t){var e="cell"+t+"-"+this.id;this.$grid.attr("aria-activedescendant",e),this.selectGridCell(e)}return!0},r.prototype.showYearsOfNextRange=function(t){if(null!=this.options.max&&this.year+20>this.options.max.getFullYear())return!1;if(this.year+=20,this.populateYearsCalendar(),null!=t){var e="cell"+t+"-"+this.id;this.$grid.attr("aria-activedescendant",e),this.selectGridCell(e)}return!0},r.prototype.showDaysOfPrevYear=function(){return(null==this.options.min||!(this.year-1<this.options.min.getFullYear()||this.year-1==this.options.min.getFullYear()&&this.month<this.options.min.getMonth()))&&(this.year--,this.populateDaysCalendar(),!0)},r.prototype.showDaysOfNextYear=function(){return(null==this.options.max||!(this.year+1>this.options.max.getFullYear()||this.year+1==this.options.max.getFullYear()&&this.month>this.options.max.getMonth()))&&(this.year++,this.populateDaysCalendar(),!0)},r.prototype.bindHandlers=function(){var i=this;this.$fastprev.click(function(t){return i.handleFastPrevClick(t)}),this.$prev.click(function(t){return i.handlePrevClick(t)}),this.$next.click(function(t){return i.handleNextClick(t)}),this.$fastnext.click(function(t){return i.handleFastNextClick(t)}),this.$monthObj.click(function(t){return i.handleMonthClick(t)}),this.$monthObj.keydown(function(t){return i.handleMonthKeyDown(t)}),this.$fastprev.keydown(function(t){return i.handleFastPrevKeyDown(t)}),this.$prev.keydown(function(t){return i.handlePrevKeyDown(t)}),this.$next.keydown(function(t){return i.handleNextKeyDown(t)}),this.$fastnext.keydown(function(t){return i.handleFastNextKeyDown(t)}),1==this.options.modal&&(this.$close.click(function(t){return i.handleCloseClick(t)}),this.$close.keydown(function(t){return i.handleCloseKeyDown(t)})),this.$grid.keydown(function(t){return i.handleGridKeyDown(t)}),this.$grid.keypress(function(t){return i.handleGridKeyPress(t)}),this.$grid.focus(function(t){return i.handleGridFocus(t)}),this.$grid.blur(function(t){return i.handleGridBlur(t)}),this.$grid.delegate("td","click",function(t){return i.handleGridClick(this,t)}),this.$target.change(function(t){var e=i.parseDate(y(this).val());i.updateLinked(e)})},r.prototype.handleFastPrevClick=function(t){if(this.showDaysOfPrevYear()){var e=this.$grid.attr("aria-activedescendant");this.month!=this.curMonth||this.year!=this.curYear?(this.$grid.attr("aria-activedescendant","cell1-"+this.id),this.selectGridCell("cell1-"+this.id)):(this.$grid.attr("aria-activedescendant",e),this.selectGridCell(e))}return t.stopPropagation(),!1},r.prototype.handlePrevClick=function(t){var e=this.$grid.attr("aria-activedescendant");switch(this.gridType){case 0:(t.ctrlKey?this.showDaysOfPrevYear():this.showDaysOfPrevMonth())&&(this.month!=this.curMonth||this.year!=this.curYear?(this.$grid.attr("aria-activedescendant","cell1-"+this.id),this.selectGridCell("cell1-"+this.id)):(this.$grid.attr("aria-activedescendant",e),this.selectGridCell(e)));break;case 1:this.showMonthsOfPrevYear()&&(this.year!=this.curYear?(this.$grid.attr("aria-activedescendant","cell1-"+this.id),this.selectGridCell("cell1-"+this.id)):(this.$grid.attr("aria-activedescendant",e),this.selectGridCell(e)));break;case 2:this.showYearsOfPrevRange()&&(this.$grid.attr("aria-activedescendant","cell1-"+this.id),this.selectGridCell("cell1-"+this.id))}return t.stopPropagation(),!1},r.prototype.handleMonthClick=function(t){return this.changeGrid(t),t.stopPropagation(),!1},r.prototype.handleNextClick=function(t){var e=this.$grid.attr("aria-activedescendant");switch(this.gridType){case 0:(t.ctrlKey?this.showDaysOfNextYear():this.showDaysOfNextMonth())&&(this.month!=this.curMonth||this.year!=this.curYear?(this.$grid.attr("aria-activedescendant","cell1-"+this.id),this.selectGridCell("cell1-"+this.id)):(this.$grid.attr("aria-activedescendant",e),this.selectGridCell(e)));break;case 1:this.showMonthsOfNextYear()&&(this.year!=this.curYear?(this.$grid.attr("aria-activedescendant","cell1-"+this.id),this.selectGridCell("cell1-"+this.id)):(this.$grid.attr("aria-activedescendant",e),this.selectGridCell(e)));break;case 2:this.showYearsOfNextRange()&&(this.$grid.attr("aria-activedescendant","cell1-"+this.id),this.selectGridCell("cell1-"+this.id))}return t.stopPropagation(),!1},r.prototype.handleFastNextClick=function(t){if(this.showDaysOfNextYear()){var e=this.$grid.attr("aria-activedescendant");this.month!=this.curMonth||this.year!=this.curYear?(this.$grid.attr("aria-activedescendant","cell1-"+this.id),this.selectGridCell("cell1-"+this.id)):(this.$grid.attr("aria-activedescendant",e),this.selectGridCell(e))}return t.stopPropagation(),!1},r.prototype.handleCloseClick=function(t){return this.hide(),t.stopPropagation(),!1},r.prototype.handleFastPrevKeyDown=function(t){if(t.altKey)return!0;switch(t.keyCode){case this.keys.tab:return!(0!=this.options.modal&&!t.ctrlKey)||(t.shiftKey?this.$close.focus():this.$prev.focus(),t.stopPropagation(),!1);case this.keys.enter:case this.keys.space:return!(!t.shiftKey&&!t.ctrlKey)||(this.showDaysOfPrevYear(),t.stopPropagation(),!1);case this.keys.esc:return this.hide(),t.stopPropagation(),!1}return!0},r.prototype.handlePrevKeyDown=function(t){if(t.altKey)return!0;switch(t.keyCode){case this.keys.tab:return!(0!=this.options.modal&&!t.ctrlKey)||(t.shiftKey?0==this.gridType?this.$fastprev.focus():this.$close.focus():this.$monthObj.focus(),t.stopPropagation(),!1);case this.keys.enter:case this.keys.space:if(t.shiftKey)return!0;switch(this.gridType){case 0:t.ctrlKey?this.showDaysOfPrevYear():this.showDaysOfPrevMonth();break;case 1:this.showMonthsOfPrevYear();break;case 2:this.showYearsOfPrevRange()}return t.stopPropagation(),!1;case this.keys.esc:return this.hide(),t.stopPropagation(),!1}return!0},r.prototype.handleMonthKeyDown=function(t){if(t.altKey)return!0;switch(t.keyCode){case this.keys.tab:return!(0!=this.options.modal&&!t.ctrlKey)||(t.shiftKey?this.$prev.focus():this.$next.focus(),t.stopPropagation(),!1);case this.keys.enter:case this.keys.space:return this.changeGrid(t),t.stopPropagation(),!1;case this.keys.esc:return this.hide(),t.stopPropagation(),!1}return!0},r.prototype.handleNextKeyDown=function(t){if(t.altKey)return!0;switch(t.keyCode){case this.keys.tab:return!(0!=this.options.modal&&!t.ctrlKey)||(t.shiftKey?this.$monthObj.focus():0==this.gridType?this.$fastnext.focus():this.$grid.focus(),t.stopPropagation(),!1);case this.keys.enter:case this.keys.space:switch(this.gridType){case 0:t.ctrlKey?this.showDaysOfNextYear():this.showDaysOfNextMonth();break;case 1:this.showMonthsOfNextYear();break;case 2:this.showYearsOfNextRange()}return t.stopPropagation(),!1;case this.keys.esc:return this.hide(),t.stopPropagation(),!1}return!0},r.prototype.handleFastNextKeyDown=function(t){if(t.altKey)return!0;switch(t.keyCode){case this.keys.tab:return!(0!=this.options.modal&&!t.ctrlKey)||(t.shiftKey?this.$next.focus():this.$grid.focus(),t.stopPropagation(),!1);case this.keys.enter:case this.keys.space:return this.showDaysOfNextYear(),t.stopPropagation(),!1;case this.keys.esc:return this.hide(),t.stopPropagation(),!1}return!0},r.prototype.handleCloseKeyDown=function(t){if(t.altKey)return!0;switch(t.keyCode){case this.keys.tab:return!!t.ctrlKey||(t.shiftKey?this.$grid.focus():0==this.gridType?this.$fastprev.focus():this.$prev.focus(),t.stopPropagation(),!1);case this.keys.enter:case this.keys.esc:case this.keys.space:return!(!t.shiftKey&&!t.ctrlKey)||(this.hide(),t.stopPropagation(),!1)}return!0},r.prototype.handleGridKeyDown=function(t){var e=y("#"+this.$grid.attr("aria-activedescendant")),i=this.$grid.find("td.selectable"),n=this.$grid.find("tbody tr").eq(0).find("td").length;if(t.altKey&&t.keyCode!=this.keys.pageup&&t.keyCode!=this.keys.pagedown)return!0;switch(t.keyCode){case this.keys.tab:return 1==this.options.modal?t.shiftKey?0==this.gridType?this.$fastnext.focus():this.$next.focus():this.$close.focus():(this.hide(),this.handleTabOut(t)),t.stopPropagation(),!1;case this.keys.enter:case this.keys.space:if(t.ctrlKey)return!0;switch(this.gridType){case 0:this.update(),this.hide();break;case 1:this.showDaysOfMonth(parseInt(e.attr("data-value"),10));break;case 2:this.showMonthsOfYear(parseInt(e.attr("data-value"),10))}return t.stopPropagation(),!1;case this.keys.esc:return this.hide(),t.stopPropagation(),!1;case this.keys.left:case this.keys.right:if(t.keyCode==this.keys.left&&"LTR"===this.locales.directionality||t.keyCode==this.keys.right&&"RTL"===this.locales.directionality){if(t.ctrlKey||t.shiftKey)return!0;var s=null;if(0<=(o=i.index(e)-1))s=i.eq(o),this.unSelectGridCell(e.attr("id")),this.$grid.attr("aria-activedescendant",s.attr("id")),this.selectGridCell(s.attr("id"));else switch(this.gridType){case 0:this.showDaysOfPrevMonth(0);break;case 1:this.showMonthsOfPrevYear(0);break;case 2:this.showYearsOfPrevRange(0)}return t.stopPropagation(),!1}if(t.ctrlKey||t.shiftKey)return!0;var r=null;if((o=i.index(e)+1)<i.length)r=i.eq(o),this.unSelectGridCell(e.attr("id")),this.$grid.attr("aria-activedescendant",r.attr("id")),this.selectGridCell(r.attr("id"));else switch(this.gridType){case 0:this.showDaysOfNextMonth(1);break;case 1:this.showMonthsOfNextYear(1);break;case 2:this.showYearsOfNextRange(1)}return t.stopPropagation(),!1;case this.keys.up:if(t.ctrlKey||t.shiftKey)return!0;s=null;if(0<=(o=i.index(e)-n))s=i.eq(o),this.unSelectGridCell(e.attr("id")),this.$grid.attr("aria-activedescendant",s.attr("id")),this.selectGridCell(s.attr("id"));else switch(o=n-1-i.index(e),this.gridType){case 0:this.showDaysOfPrevMonth(o);break;case 1:this.showMonthsOfPrevYear(o);break;case 2:this.showYearsOfPrevRange(o)}return t.stopPropagation(),!1;case this.keys.down:if(t.ctrlKey||t.shiftKey)return!0;var o;r=null;if((o=i.index(e)+n)<i.length)r=i.eq(o),this.unSelectGridCell(e.attr("id")),this.$grid.attr("aria-activedescendant",r.attr("id")),this.selectGridCell(r.attr("id"));else switch(o=n+1-(i.length-i.index(e)),this.gridType){case 0:this.showDaysOfNextMonth(o);break;case 1:this.showMonthsOfNextYear(o);break;case 2:this.showYearsOfNextRange(o)}return t.stopPropagation(),!1;case this.keys.pageup:var a=this.$grid.attr("aria-activedescendant");if(t.shiftKey||t.ctrlKey)return!0;t.preventDefault();var l=!1;switch(this.gridType){case 0:l=t.altKey?(t.stopImmediatePropagation(),this.showDaysOfPrevYear()):this.showDaysOfPrevMonth();break;case 1:l=this.showMonthsOfPrevYear();break;case 2:l=this.showYearsOfPrevRange()}if(l)if(y("#"+a).attr("id")==d){var c=(i=this.$grid.find("td.selectable")).eq(i.length-1);this.$grid.attr("aria-activedescendant",c.attr("id")),this.selectGridCell(c.attr("id"))}else this.selectGridCell(a);return t.stopPropagation(),!1;case this.keys.pagedown:a=this.$grid.attr("aria-activedescendant");if(t.shiftKey||t.ctrlKey)return!0;t.preventDefault();l=!1;switch(this.gridType){case 0:l=t.altKey?(t.stopImmediatePropagation(),this.showDaysOfNextYear()):this.showDaysOfNextMonth();break;case 1:l=this.showMonthsOfNextYear();break;case 2:l=this.showYearsOfNextRange()}if(l)if(y("#"+a).attr("id")==d){c=(i=this.$grid.find("td.selectable")).eq(i.length-1);this.$grid.attr("aria-activedescendant",c.attr("id")),this.selectGridCell(c.attr("id"))}else this.selectGridCell(a);return t.stopPropagation(),!1;case this.keys.home:if(t.ctrlKey||t.shiftKey)return!0;var h=i.eq(0);return this.unSelectGridCell(e.attr("id")),this.$grid.attr("aria-activedescendant",h.attr("id")),this.selectGridCell(h.attr("id")),t.stopPropagation(),!1;case this.keys.end:if(t.ctrlKey||t.shiftKey)return!0;c=i.eq(i.length-1);return this.unSelectGridCell(e.attr("id")),this.$grid.attr("aria-activedescendant",c.attr("id")),this.selectGridCell(c.attr("id")),t.stopPropagation(),!1}return!0},r.prototype.handleGridKeyPress=function(t){if(t.altKey)return!0;switch(t.keyCode){case this.keys.tab:case this.keys.enter:case this.keys.space:case this.keys.esc:case this.keys.left:case this.keys.right:case this.keys.up:case this.keys.down:case this.keys.pageup:case this.keys.pagedown:case this.keys.home:case this.keys.end:return t.stopPropagation(),!1}return!0},r.prototype.handleGridClick=function(t,e){var i=y(t);if(i.is(".empty")||i.is(".unselectable"))return!0;switch(this.$grid.find(".focus").removeClass("focus").attr("aria-selected","false").attr("tabindex",-1),this.gridType){case 0:this.$grid.attr("aria-activedescendant",i.attr("id")),this.selectGridCell(i.attr("id")),this.update(),this.hide();break;case 1:this.showDaysOfMonth(parseInt(i.attr("data-value"),10));break;case 2:this.showMonthsOfYear(parseInt(i.attr("data-value"),10))}return e.stopPropagation(),!1},r.prototype.handleGridFocus=function(t){var e=this.$grid.attr("aria-activedescendant");if(y("#"+e).attr("id")==d){var i=this.$grid.find("td.selectable"),n=i.eq(i.length-1);this.$grid.attr("aria-activedescendant",n.attr("id")),this.selectGridCell(n.attr("id"))}else this.selectGridCell(e);return!0},r.prototype.handleGridBlur=function(t){return this.unSelectGridCell(this.$grid.attr("aria-activedescendant")),!0},r.prototype.handleTabOut=function(t){var e=y("body").find("input:visible,textarea:visible,select:visible"),i=e.index(this.$target);return-1<i&&i<e.length&&(t.shiftKey?0<i&&i--:i+1<e.length&&i++,e.eq(i).focus()),!0},r.prototype.changeGrid=function(t){switch(this.gridType){case 0:if(this.populateMonthsCalendar(),this.year!=this.curYear){var e=this.$grid.find("td.selectable");this.$grid.attr("aria-activedescendant",e.eq(0).attr("id"))}else this.$grid.attr("aria-activedescendant",this.$grid.find(".curMonth").attr("id"));this.selectGridCell(this.$grid.attr("aria-activedescendant"));break;case 2:t.shiftKey?this.year-=20:this.year+=20;case 1:if(this.populateYearsCalendar(),this.year!=this.curYear){e=this.$grid.find("td.selectable");this.$grid.attr("aria-activedescendant",e.eq(0).attr("id"))}else this.$grid.attr("aria-activedescendant",this.$grid.find(".curYear").attr("id"));this.selectGridCell(this.$grid.attr("aria-activedescendant"))}return!0},r.prototype.selectGridCell=function(t){y("#"+t).addClass("focus").attr("aria-selected","true").attr("tabindex",0).focus()},r.prototype.unSelectGridCell=function(t){y("#"+t).removeClass("focus").attr("aria-selected","false").attr("tabindex",-1)},r.prototype.update=function(){var t=y("#"+this.$grid.attr("aria-activedescendant")),e=new Date(this.year,this.month,parseInt(t.attr("data-value"),10)),i=this.formatDate(e,this.options.outputFormat);this.$target.val(i),this.$target.removeAttr("aria-invalid"),this.$target.parents(".form-group").removeClass("has-error"),this.$target.trigger("change"),this.options.onUpdate&&this.options.onUpdate(i)},r.prototype.updateLinked=function(t){if(null!==this.options.previous&&""!==this.options.previous.val()&&t<this.options.previous.datepicker("getDate")){var e=this.formatDate(t,this.options.previous.datepicker("outputFormat"));this.options.previous.val(e)}if(null!==this.options.next&&""!==this.options.next.val()&&this.options.next.datepicker("getDate")<t){var i=this.formatDate(t,this.options.next.datepicker("outputFormat"));this.options.next.val(i)}},r.prototype.hideObject=function(t){t.attr("aria-hidden",!0),t.fadeOut(100)},r.prototype.showObject=function(t){t.attr("aria-hidden",!1),t.fadeIn(100)},r.prototype.show=function(){var i=this;if(y(".datepicker-calendar").trigger("ab.datepicker.opening",[i.id]),1==this.options.modal){this.modalEventHandler||(this.modalEventHandler=function(t){return i.$grid.focus(),t.stopPropagation,!1}),y(document).on("click mousedown mouseup",this.modalEventHandler),this.greyOut(!0);var t=parseInt(y("#datepicker-overlay").css("z-index"),10)||40;this.$calendar.css("z-index",t+1)}else y(document).on("click",y.proxy(this.handleDocumentClick,this)),this.$calendar.on("ab.datepicker.opening",function(t,e){e!=i.id?i.hide():i.$grid.focus()});this.$calendar.on("ab.datepicker.opened",function(t,e){e==i.id&&i.$grid.focus()});var e=Math.max(0,Math.floor(this.$group.offset().top-this.$label.offset().top)),n=Math.max(0,Math.floor(this.$group.offset().left-this.$label.offset().left)),s=parseInt(this.$calendar.parent().css("padding-left"),10),r=this.$calendar.outerHeight(),o=this.$group.offset().top,a=(this.$group.offset().left,this.$group.outerHeight(!0)),l=Math.floor(o-y(window).scrollTop()),c=Math.floor(y(window).height()-(o+a-y(window).scrollTop()));c<r&&c<l?(this.$calendar.addClass("above"),this.$calendar.css({top:e-r+"px",left:n+s+"px"})):(this.$calendar.addClass("below"),this.$calendar.css({top:a+e+"px",left:n+s+"px"})),this.$calendar.attr("aria-hidden","false"),this.$calendar.fadeIn(100),y(".datepicker-calendar").trigger("ab.datepicker.opened",[i.id])},r.prototype.refresh=function(){switch(this.drawCalendarHeader(),this.gridType){case 0:this.populateDaysCalendar();break;case 1:this.populateMonthsCalendar();break;case 2:this.populateYearsCalendar()}},r.prototype.handleDocumentClick=function(t){return 0==y(t.target).parents("#datepicker-calendar-"+this.id).length?(this.hide(),!0):(this.$grid.focus(),t.stopPropagation,!1)},r.prototype.hide=function(t){if(0==this.options.inline){1==this.options.modal?(this.modalEventHandler&&y(document).off("click mousedown mouseup",this.modalEventHandler),this.greyOut(!1)):(y(document).off("click",this.handleDocumentClick),this.$calendar.off("ab.datepicker.opening")),this.$calendar.removeClass("above below"),this.$calendar.attr("aria-hidden","true"),this.$calendar.fadeOut(100),y(".datepicker-calendar").trigger("ab.datepicker.closed",[this.id]),t||this.$target.focus()}},r.prototype.greyOut=function(t){var e=y("#datepicker-overlay");0==e.length&&t&&(y("body").append('<div id="datepicker-overlay" class="datepicker-overlay"></div>'),e=y("#datepicker-overlay")),t?e.fadeIn(100):e.fadeOut(100)},r.prototype.absolutePosition=function(t){var e=0,i=0;if(t.getBoundingClientRect){var n=t.getBoundingClientRect(),s=document.body,r=document.documentElement,o=window.pageYOffset||r.scrollTop||s.scrollTop,a=window.pageXOffset||r.scrollLeft||s.scrollLeft,l=r.clientTop||s.clientTop||0,c=r.clientLeft||s.clientLeft||0;e=Math.round(n.top+o-l),i=Math.round(n.left+a-c)}else for(;t;)e+=parseInt(t.offsetTop,10),i+=parseInt(t.offsetLeft,10),t=t.offsetParent;return{top:e,left:i}},r.prototype.getDaysInMonth=function(t,e){return 32-new Date(t,e,32).getDate()},r.prototype.previousMonth=function(t,e){return 0==e?(e=11,t--):e--,{year:t,month:e}},r.prototype.nextMonth=function(t,e){return 11==e?(e=0,t++):e++,{year:t,month:e}},r.prototype.formatDate=function(t,e){var i,n,s,r,o,a=function(t){return(t<0||9<t?"":"0")+t},l=function(t){var e=new Date(t.getTime());return e.setHours(0),t-e},c=t.getFullYear()+"",h=t.getMonth()+1,d=t.getDate(),u=(i=t,n=new Date(i.getFullYear(),0,0),Math.floor((i-n)/864e5)),p=t.getDay(),f=t.getHours(),m=t.getMinutes(),g=t.getSeconds(),v=(s=t,r=new Date(s.getFullYear(),0,1),Math.ceil(((s-r)/864e5+r.getDay()+1)/7)),y=(o=t,Math.ceil((o.getDate()-1-o.getDay())/7)),b=Math.floor(t.getDate()/7)+1,w=Math.ceil((t.getMonth()+1)/3),_=t.getFullYear()<1?0:1,x={y:""+c,yyyy:c,yy:c.substring(2,4),L:h,LL:a(h),LLL:this.locales.month_names_abbreviated[h-1],LLLL:this.locales.month_names[h-1],LLLLL:this.locales.month_names_narrow[h-1],M:h,MM:a(h),MMM:this.locales.month_names_abbreviated[h-1],MMMM:this.locales.month_names[h-1],MMMMM:this.locales.month_names_narrow[h-1],d:d,dd:a(d),D:u,DD:u,DDD:u,A:Math.round(l(t)*Math.pow(10,-2)),AA:Math.round(l(t)*Math.pow(10,-1)),AAA:Math.round(l(t)*Math.pow(10,0)),AAAA:Math.round(l(t)*Math.pow(10,1)),AAAAA:Math.round(l(t)*Math.pow(10,2)),AAAAAA:Math.round(l(t)*Math.pow(10,3)),E:this.locales.day_names_abbreviated[p],EE:this.locales.day_names_abbreviated[p],EEE:this.locales.day_names_abbreviated[p],EEEE:this.locales.day_names[p],EEEEE:this.locales.day_names_narrow[p],EEEEEE:this.locales.day_names_short[p],e:p,ee:p,eee:this.locales.day_names_abbreviated[p],eeee:this.locales.day_names[p],eeeee:this.locales.day_names_narrow[p],eeeeee:this.locales.day_names_short[p],c:p,cc:p,ccc:this.locales.day_names_abbreviated[p],cccc:this.locales.day_names[p],ccccc:this.locales.day_names_narrow[p],cccccc:this.locales.day_names_short[p],F:b,G:this.locales.era_names_abbreviated[_],GG:this.locales.era_names_abbreviated[_],GGG:this.locales.era_names_abbreviated[_],GGGG:this.locales.era_names[_],GGGGG:this.locales.era_names_narrow[_],Q:w,QQ:a(w),QQQ:this.locales.quarter_names_abbreviated[w-1],QQQQ:this.locales.quarter_names[w-1],QQQQQ:this.locales.quarter_names_narrow[w-1],q:w,qq:a(w),qqq:this.locales.quarter_names_abbreviated[w-1],qqqq:this.locales.quarter_names[w-1],qqqqq:this.locales.quarter_names_narrow[w-1],H:f,HH:a(f),h:0==f?12:12<f?f-12:f,hh:a(0==f?12:12<f?f-12:f),K:11<f?f-12:f,k:f+1,KK:a(11<f?f-12:f),kk:a(f+1),a:11<f?this.locales.day_periods.pm:this.locales.day_periods.am,m:m,mm:a(m),s:g,ss:a(g),w:v,ww:a(v),W:y};return e.replace(/('[^']+'|y{1,4}|L{1,5}|M{1,5}|c{1,6}|d{1,2}|D{1,3}|E{1,6}|e{1,6}|F{1,1}|G{1,5}|Q{1,5}|q{1,5}|H{1,2}|h{1,2}|K{1,2}|k{1,2}|m{1,2}|s{1,2}|w{1,2}|W{1,1}|A{1,6})/g,function(t){return"'"===t.charAt(0)?t.substr(1,t.length-2):x[t]||t})},r.prototype.createDateFromFormat=function(t,o){var a=function(t,e,i,n){for(var s=n;i<=s;s--){var r=t.substring(e,e+s);if(r.length<i)return null;if(/^\d+$/.test(r))return r}return null},l=function(t,e){for(var i=0;i<t.length;i++){var n=t[i];if(o.substring(e,e+n.length).toLowerCase()==n.toLowerCase())return n.length}return 0},c=0,e=new Date,h=e.getYear(),d=e.getMonth()+1,u=1,p=0,f=0,m=0,g="",v=this;if(y.each(t.match(/(.).*?\1*/g),function(t,e){switch(e){case"yyyy":null!=(h=a(o,c,4,4))&&(c+=h.length);break;case"yy":null!=(h=a(o,c,2,2))&&(c+=h.length);break;case"y":null!=(h=a(o,c,2,4))&&(c+=h.length);break;case"MMM":case"LLL":for(var i=d=0;i<v.locales.month_names_abbreviated.length;i++){var n=v.locales.month_names_abbreviated[i];if(o.substring(c,c+n.length).toLowerCase()==n.toLowerCase()){d=i+1,c+=n.length;break}}break;case"MMMM":case"LLLL":for(i=d=0;i<v.locales.month_names.length;i++){n=v.locales.month_names[i];if(o.substring(c,c+n.length).toLowerCase()==n.toLowerCase()){d=i+1,c+=n.length;break}}break;case"EEE":case"EE":case"E":case"eee":c+=l(v.locales.day_names_abbreviated,c);break;case"EEEE":case"eeee":case"cccc":c+=l(v.locales.day_names,c);break;case"EEEEEE":case"eeeeee":case"cccccc":c+=l(v.locales.day_names_short,c);break;case"MM":case"M":case"LL":case"L":if(null==(d=a(o,c,e.length,2))||d<1||12<d)return null;c+=d.length;break;case"dd":case"d":if(null==(u=a(o,c,e.length,2))||u<1||31<u)return null;c+=u.length;break;case"hh":case"h":if(null==(p=a(o,c,e.length,2))||p<1||12<p)return null;c+=p.length;break;case"HH":case"H":if(null==(p=a(o,c,e.length,2))||p<0||23<p)return null;c+=p.length;break;case"KK":case"K":if(null==(p=a(o,c,e.length,2))||p<0||11<p)return null;c+=p.length;break;case"kk":case"k":if(null==(p=a(o,c,e.length,2))||p<1||24<p)return null;c+=p.length,p--;break;case"mm":case"m":if(null==(f=a(o,c,e.length,2))||f<0||59<f)return null;c+=f.length;break;case"ss":case"s":if(null==(m=a(o,c,e.length,2))||m<0||59<m)return null;c+=m.length;break;case"a":var s=v.locales.day_periods.am.length,r=v.locales.day_periods.pm.length;if(o.substring(c,c+s)==v.locales.day_periods.am)g="AM",c+=s;else{if(o.substring(c,c+r)!=v.locales.day_periods.pm)return null;g="PM",c+=r}break;default:if(o.substring(c,c+e.length)!=e)return null;c+=e.length}}),c!=o.length)return null;if(null==h)return null;if(2==h.length&&(h=50<h?h-0+1900:h-0+2e3),d<1||12<d)return null;if(2==d)if(h%4==0&&h%100!=0||h%400==0){if(29<u)return null}else if(28<u)return null;return(4==d||6==d||9==d||11==d)&&30<u?null:(p<12&&"PM"==g?p=p-0+12:11<p&&"AM"==g&&(p-=12),new Date(h,d-1,u,p,f,m))},r.prototype.parseDate=function(i){var n=null,s=this;return y.each(this.options.inputFormat,function(t,e){if(null!=(n=s.createDateFromFormat(e,i)))return!1}),null==n&&(n=s.createDateFromFormat(this.options.outputFormat,i)),n},r.prototype.min=function(t){return null!=t&&(this.options.min=t instanceof Date?t:this.parseDate(t),null!=this.options.min&&this.dateObj<this.options.min&&(this.$target.attr("aria-invalid",!0),this.$target.parents(".form-group").addClass("has-error"),this.dateObj=this.options.min),0!=this.options.inline&&this.refresh()),this.options.min},r.prototype.max=function(t){return null!=t&&(this.options.max=t instanceof Date?t:this.parseDate(t),null!=this.options.max&&this.dateObj>this.options.max&&(this.$target.attr("aria-invalid",!0),this.$target.parents(".form-group").addClass("has-error"),this.dateObj=this.options.max),0!=this.options.inline&&this.refresh()),this.options.max},r.prototype.theme=function(t){return null!=t&&(this.$button.removeClass(this.options.theme),this.$calendar.removeClass(this.options.theme),this.options.theme=t,this.$button.addClass(this.options.theme),this.$calendar.addClass(this.options.theme)),this.options.theme},r.prototype.firstDayOfWeek=function(t){return null!=t&&(this.options.firstDayOfWeek=parseInt(t,10),0==this.options.inline?this.drawCalendarHeader():this.refresh()),this.options.firstDayOfWeek},r.prototype.daysOfWeekDisabled=function(t){if(null!=t){this.options.daysOfWeekDisabled=[],y.isArray(t)||(t=[t]);var i=this;y.each(t,function(t,e){"number"==typeof e?i.options.daysOfWeekDisabled.push(e):"string"==typeof e&&i.options.daysOfWeekDisabled.push(parseInt(e,10))})}return this.options.daysOfWeekDisabled},r.prototype.weekDayFormat=function(t){return null!=t&&(this.options.weekDayFormat=t,this.drawCalendarHeader()),this.options.weekDayFormat},r.prototype.inputFormat=function(t){return null!=t&&(y.isArray(t)||(t=[t]),this.$target.attr("placeholder")==this.options.inputFormat[0]&&this.$target.attr("placeholder",t[0]),this.options.inputFormat=t),this.options.inputFormat},r.prototype.outputFormat=function(t){return null!=t&&(this.options.outputFormat=t),this.options.outputFormat},r.prototype.modal=function(t){if(null!=t)if(this.options.modal=t,1==this.options.modal){0==this.options.inline&&(this.showObject(this.$calendar.find(".datepicker-close-wrap")),this.showObject(this.$calendar.find(".datepicker-bn-close-label"))),this.$close=this.$calendar.find(".datepicker-close"),this.$close.html(this.options.closeButtonTitle).attr("title",this.options.closeButtonLabel),this.$calendar.find(".datepicker-bn-close-label").html(this.options.closeButtonLabel);var e=this;this.$close.click(function(t){return e.handleCloseClick(t)}),this.$close.keydown(function(t){return e.handleCloseKeyDown(t)})}else this.hideObject(this.$calendar.find(".datepicker-close-wrap")),this.hideObject(this.$calendar.find(".datepicker-bn-close-label"));return this.options.modal},r.prototype.inline=function(t){null!=t&&(0!=t?(this.hideObject(this.$button),this.hideObject(this.$calendar.find(".datepicker-close-wrap")),this.hideObject(this.$calendar.find(".datepicker-bn-close-label")),("string"==typeof t?y("#"+t):t).append(this.$calendar),this.$calendar.css({position:"relative",left:"0px",top:"0px"}),this.options.inline=t,this.initializeDate(),this.showObject(this.$calendar)):(this.$target.parent().after(this.$calendar),this.showObject(this.$button),1==this.options.modal&&(this.showObject(this.$calendar.find(".datepicker-close-wrap")),this.showObject(this.$calendar.find(".datepicker-bn-close-label"))),"static"===this.$calendar.parent().css("position")&&this.$calendar.parent().css("position","relative"),this.$calendar.css({position:"absolute"}),this.options.inline=t,this.hide()));return this.options.inline},r.prototype.format=function(t){return this.formatDate(t,this.options.outputFormat)},r.prototype.enable=function(){this.$button.removeClass("disabled"),this.$button.attr("aria-disabled",!1),this.$button.attr("tabindex",0)},r.prototype.disable=function(){this.hide(),this.$button.addClass("disabled"),this.$button.attr("aria-disabled",!0),this.$button.attr("tabindex",-1)},r.prototype.datesDisabled=function(t){this.options.datesDisabled=[],y.isArray(t)||(t=[t]);var n=this;y.each(t,function(t,e){if("string"==typeof e){var i=n.parseDate(e);null!==i&&n.options.datesDisabled.push(n.format(i))}else e instanceof Date&&!isNaN(e.valueOf())&&n.options.datesDisabled.push(n.format(e))})},r.prototype.startview=function(t){switch(t){case 1:case"months":this.options.startView=1;break;case 2:case"years":this.options.startView=2;break;default:this.options.startView=0}},r.prototype.setLocales=function(t){this.locales=t,this.options.inputFormat=[this.locales.short_format],this.options.outputFormat=this.locales.short_format,this.options.titleFormat=this.locales.full_format,this.options.firstDayOfWeek=this.locales.firstday_of_week,this.options.buttonTitle=this.locales.texts.buttonTitle,this.$button.find("span").attr("title",this.options.buttonTitle),this.options.buttonLabel=this.locales.texts.buttonLabel,this.options.prevButtonLabel=this.locales.texts.prevButtonLabel,this.options.prevMonthButtonLabel=this.locales.texts.prevMonthButtonLabel,this.options.prevYearButtonLabel=this.locales.texts.prevYearButtonLabel,this.options.nextButtonLabel=this.locales.texts.nextButtonLabel,this.options.nextMonthButtonLabel=this.locales.texts.nextMonthButtonLabel,this.options.nextYearButtonLabel=this.locales.texts.nextYearButtonLabel,this.options.changeMonthButtonLabel=this.locales.texts.changeMonthButtonLabel,this.options.changeYearButtonLabel=this.locales.texts.changeYearButtonLabel,this.options.changeRangeButtonLabel=this.locales.texts.changeRangeButtonLabel,this.options.closeButtonTitle=this.locales.texts.closeButtonTitle,this.options.closeButtonLabel=this.locales.texts.closeButtonLabel,this.options.calendarHelp=this.locales.texts.calendarHelp,this.drawCalendarHeader(),"RTL"===this.locales.directionality?this.$grid.addClass("rtl"):this.$grid.removeClass("rtl")};var t=y.fn.datepicker;y.fn.datepicker=function(n,s){if("string"!=typeof n||1!=y(this).length)return this.each(function(){var t=y(this),e=t.data("ab.datepicker"),i=y.extend({},r.DEFAULTS,t.data(),"object"==typeof n&&n);e||t.data("ab.datepicker",e=new r(this,i)),"string"==typeof n&&e[n](s)});var t=y(this).eq(0).data("ab.datepicker");return t?t[n](s):void 0},y.fn.datepicker.Constructor=r,y.fn.datepicker.noConflict=function(){return y.fn.datepicker=t,this}}),function(a){var t,e=["","-webkit-","-ms-","-moz-","-o-"],i=document.createElement("div"),n=!1,s=!1,b=!1,w=0,r=["56"],o=window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame,l=0,_=[],c={unstick:function(){for(var t,e,i=a(this).data("sticky-id"),n=_.length-1;0<=n;n--)if(_[n].id==i){t=n;break}return void 0!==t&&(e=_.splice(t,1)),void 0!==e&&a(this).removeAttr("style").next("."+e[0].options.holderClass).remove(),this}};if(!function(){if(!window.chrome)return!1;var t=/Chrom(e|ium)\/(\d+)/.exec(navigator.appVersion);return t&&~r.indexOf(t[2])}())for(var h=0,d=e.length;h<d;h++)if(i.setAttribute("style","position:"+e[h]+"sticky"),""!==i.style.position){n=!0;break}function x(t){var e,i,n,s,r,o,a,l={top:0,left:0},c=t&&t.ownerDocument;if(c)return(i=c.body)===t?{top:i.offsetTop,left:i.offsetLeft}:(e=c.documentElement,void 0!==t.getBoundingClientRect&&(l=t.getBoundingClientRect()),n=window,s=e.clientTop||i.clientTop||0,r=e.clientLeft||i.clientLeft||0,o=n.pageYOffset||e.scrollTop,a=n.pageXOffset||e.scrollLeft,{top:l.top+o-s,left:l.left+a-r});options.debug&&console.error("i-sticky: no element.ownerDocument defined")}function u(){var t=w,e=window.pageXOffset||document.documentElement.scrollLeft,i=t+(window.innerHeight||document.documentElement.clientHeight);b=!1;for(var n=0,s=_.length;n<s;n++){var r=_[n],o=r.el.offsetHeight,a=x(r.parent),l=r.style.isStuck?x(r.holder):x(r.el),c=r.style.top?r.style.top.px:0,h=r.style.bottom?r.style.bottom.px:0,d=r.style.home,u=!0,p=r.el.className.split(" "),f=0,m=(a.top,l.top-c),g=a.top+r.parent.offsetHeight-o-c,v=a.top+o+h,y=l.top+o+h;for(f in p)p[f]===r.options.stuckClass&&p.splice(f,1);r.el.className=p.join(" "),r.style.bottom&&i<=v?d=r.style.bottom.opposite:r.style.bottom&&v<i&&i<y?d=r.style.bottom.fixed:r.style.top&&m<t&&t<g?d=r.style.top.fixed:r.style.top&&g<=t?d=r.style.top.opposite:u=!1,r.style.isStuck!==u&&(r.holder.style.display=u?"block":"none"),u&&r.options.stuckClass&&(r.el.className+=" "+r.options.stuckClass),u&&(d+="margin-left:-"+(e-r.style.margin.left)+"px;"),r.options.fixWidth?d+="width:"+(u?r.holder.offsetWidth+"px;":"auto;"):d+="min-width:"+(u?r.holder.offsetWidth+"px;":"auto;"),d!==r.style.current&&(r.el.setAttribute("style",d),r.style.isStuck=u,r.style.current=d),r.options.holderAutoHeight&&u&&o!=r.style.height&&(r.holder.style.height=o+"px",r.style.height=o)}e}function p(){_.length&&(w=document.documentElement.scrollTop||document.body.scrollTop,b||(b=!0,o?o(u):(t&&clearTimeout(t),t=setTimeout(u,15))))}function f(){s||(a(window).on("scroll",p).on("resize",p),p(),s=!0)}a.fn.iSticky=function(t){if(n){if("object"!=typeof t||!t.force)return this;f()}if("string"==typeof t&&c[t])return c[t].apply(this,Array.prototype.slice.call(arguments,1));var r=a.extend({holderClass:"i-sticky__holder",holderAutoHeight:!0,debug:!1,fixWidth:!0,stuckClass:""},t),o=this.selector;return this.each(function(){var t,e,i,n=a(this),s="sticky-"+ ++l;n.hide(),t=n.css("top"),e=n.css("bottom"),n.show(),t||e?(n.data("sticky-id",s).after('<span class="'+r.holderClass+'" style="display:none;"></span>'),i={id:s,el:this,parent:this.parentElement,holder:this.nextSibling,style:{home:"position:static;",top:void 0,bottom:void 0,current:"",height:0,isStuck:!1,margin:{left:parseInt(n.css("margin-left"),10)}},options:{holderClass:r.holderClass,holderAutoHeight:r.holderAutoHeight,fixWidth:r.fixWidth,stuckClass:r.stuckClass||""}},"auto"!==t&&(i.style.top={fixed:"position:fixed;top:"+t+";bottom:auto;",opposite:"position:absolute;bottom:0;top:auto;",px:parseInt(t,10)}),"auto"!==e&&(i.style.bottom={fixed:"position:fixed;bottom:"+e+";top:auto;",opposite:"position:absolute;top:0;bottom:auto;",px:parseInt(e,10)}),_.push(i),p()):r.debug&&console.warn("i-sticky: element `top` or `bottom` properties must be set in pixels",o,this)})},n||f()}(jQuery),$(function(){$.fn.autocomplete=function(t){return t=$.extend({data:{}},t),this.each(function(){var c=$(this),h=null,d=c.data("autocomplete");Object.keys(d).length&&((h=$('<ul class="autocomplete-list"></ul>')).insertAfter($(this).next()),c.on("keyup",function(t){var e=c.val();if(h.empty(),e.length)for(var i in d){var n=new RegExp("("+e+")","gi"),s=d[i].text.replace(n,"<mark>$1</mark>"),r=d[i].label?"<em>"+d[i].label+"</em>":"",o=d[i].icon?d[i].icon:"",a=d[i].link?d[i].link:"#";if(-1!==s.toLowerCase().indexOf(e.toLowerCase())){$(this).closest(".form-group").find(".autocomplete-list").addClass("autocomplete-list-show");var l=$('<li>\n <a href="'+a+'">\n '+o+'\n <span class="autocomplete-list-text">\n <span>'+s+"</span>\n "+r+"\n </span>\n </a>\n </li>");h.append(l)}}else $(this).closest(".form-group").find(".autocomplete-list").removeClass("autocomplete-list-show")}))})},$(".autocomplete").autocomplete()}),$(function(){var t=$('a[data-attribute*="back-to-top"]');$(window).on("scroll",function(){t.toggleClass("back-to-top-show",t.length&&100<=$(this).scrollTop())}),t.on("click",function(){$("body,html").animate({scrollTop:0},800,"easeOutExpo")})});var ComponenteBase=function(s){var t="componenteBase",r="bs.componente-base",e=s.fn[t],i={CLICK_DATA_API:"click.bs.componente-base.data-api"},n=function(){function n(t){this._element=t}return n.prototype.publicFunction=function(t){console.log(s(t).data("value"),n.VERSION)},n._jQueryInterface=function(i){return this.each(function(){var t=s(this),e=t.data(r);if(e||(e=new n(this),t.data(r,e)),"string"==typeof i){if(void 0===e[i])throw new TypeError('No method named "'+i+'"');e[i](this)}})},n._handleConsole=function(e){return function(t){t&&t.preventDefault(),e.publicFunction(this)}},_createClass2(n,null,[{key:"VERSION",get:function(){return"1.0.0"}}]),n}();return s(document).on(i.CLICK_DATA_API,".componente-base",n._handleConsole(new n)),s.fn[t]=n._jQueryInterface,s.fn[t].Constructor=n,s.fn[t].noConflict=function(){return s.fn[t]=e,n._jQueryInterface},n}($),Cookiebar=function(s,r){var t="cookiebar",o="bs.cookiebar",e="."+o,i=s.fn[t],a="cookies_consent",n=".cookiebar",l='[data-accept="cookiebar"]',c={CLOSE:"close"+e,CLOSED:"closed"+e,LOAD_DATA_API:"load"+e+".data-api",CLICK_DATA_API:"click"+e+".data-api"},h="cookiebar",d="show",u=function(){function n(t){this._element=t}var t=n.prototype;return t.show=function(t){s(t).addClass(d).attr("aria-hidden","false").attr("aria-live","polite")},t.close=function(t){t=t||this._element;var e=this._getRootElement(t);this._triggerCloseEvent(e).isDefaultPrevented()||(this._setCookieEU(),this._removeElement(e))},t.dispose=function(){s.removeData(this._element,o),this._element=null},t._setCookieEU=function(){var t=new Date;t.setDate(t.getDate()+30);var e=escape("true")+"; expires="+t.toUTCString();document.cookie=a+"="+e+"; path=/"},t._getRootElement=function(t){var e=r.getSelectorFromElement(t),i=!1;return e&&(i=s(e)[0]),i||(i=s(t).closest("."+h)[0]),i},t._triggerCloseEvent=function(t){var e=s.Event(c.CLOSE);return s(t).trigger(e),e},t._removeElement=function(t){s(t).removeClass(d).attr("aria-hidden","true").attr("aria-live","off"),this._destroyElement(t)},t._destroyElement=function(t){s(t).detach().trigger(c.CLOSED).remove()},n._jQueryInterface=function(i){return this.each(function(){var t=s(this),e=t.data(o);if(e||(e=new n(this),t.data(o,e)),"string"==typeof i){if(void 0===e[i])throw new TypeError('No method named "'+i+'"');e[i](this)}})},n._handleAccept=function(e){return function(t){t&&t.preventDefault(),e.close(this)}},n._handleConsent=function(e){return function(t){t&&t.preventDefault(),e.close(this)}},n._getCookieEU=function(){var t,e,i,n=document.cookie.split(";");for(t=0;t<n.length;t++)if(e=n[t].substr(0,n[t].indexOf("=")),i=n[t].substr(n[t].indexOf("=")+1),(e=e.replace(/^\s+|\s+$/g,""))==a)return unescape(i)},_createClass2(n,null,[{key:"VERSION",get:function(){return"4.0.0"}}]),n}();return s(document).on(c.CLICK_DATA_API,l,u._handleAccept(new u)),s(window).on(c.LOAD_DATA_API,function(){var t=s.makeArray(s(n));if(!u._getCookieEU())for(var e=t.length;e--;){var i=s(t[e]);u._jQueryInterface.call(i,"show")}}),s.fn[t]=u._jQueryInterface,s.fn[t].Constructor=u,s.fn[t].noConflict=function(){return s.fn[t]=i,u._jQueryInterface},u}($,bootstrap.Util);function notificationShow(t,e){if($("#"+t).fadeIn(300),!$("#"+t).hasClass("dismissable")){if($("#"+t).fadeIn(300),"number"==typeof e)var i=e;else i=7e3;setTimeout(function(){$("#"+t).fadeOut(100)},i)}}$(function(){$(".navbar .dropdown").on("show.bs.dropdown",function(){window.matchMedia("(max-width: 992px)").matches&&$(this).find(".dropdown-menu").first().stop(!0,!0).slideDown(180)}),$(".navbar .dropdown").on("hide.bs.dropdown",function(){window.matchMedia("(max-width: 992px)").matches&&$(this).find(".dropdown-menu").first().stop(!0,!0).slideUp(180)}),$(window).resize(function(){window.matchMedia("(min-width: 993px)").matches&&$(".navbar .dropdown-menu.show").removeAttr("style")})}),$(function(){var t='input[type="text"],input[type="password"],input[type="email"],input[type="email"],input[type="url"],input[type="tel"],input[type="number"],input[type="search"],textarea',e='input[type="file"]';$(document).on("focus",t,function(t){$(t.target).siblings("label, i").addClass("active")}).on("blur",t,function(t){var e=$(t.target),i=!e.val(),n=!e.attr("placeholder");i&&n&&e.siblings("label, i").removeClass("active")}).on("change",t,function(t){var e=$(t.target);n(e),s(e)}).on("blur",e,function(t){$(t.target).siblings("label").addClass("active")}).on("change",e,function(t){var e=$(t.target),n=t.currentTarget.files.length,s="",r="";for(i=0;i<n;i++)fileSize=parseInt(t.currentTarget.files[i].size,10)/1024,filesize=Math.round(fileSize),s=s+t.currentTarget.files[i].name+" ("+filesize+"kb); ";1<n&&(r=n+" file da caricare: "),e.siblings(".form-file-name").text(r+s)});var n=function(t){var e=t.siblings("label, i"),i=t.val().length,n=!!t.attr("placeholder");i||n?e.addClass("active"):e.removeClass("active")},s=function(t){if(t.hasClass("validate")){var e=t.val(),i=!e.length,n=!t[0].validity.badInput;if(i&&n)t.removeClass("valid").removeClass("invalid");else{var s=t.is(":valid"),r=Number(t.attr("length"))||0;s&&(!r||r>e.length)?t.removeClass("invalid").addClass("valid"):t.removeClass("valid").addClass("invalid")}}};$("body").find(t).removeClass("valid invalid").each(function(t,e){var i=$(e),n=!!i.val(),s=!!i.attr("placeholder");(n||s)&&i.siblings("label, i").css("transition","none").addClass("active")})}),$(function(){var e;$(document).on("keydown mousedown",function(t){e="mousedown"===t.type}).on("focusin",function(t){e&&t.target.classList.add("focus--mouse")}).on("focusout",function(t){t.target.classList.remove("focus--mouse")})}),$(function(){$('a[data-attribute*="forward"]').on("click",function(t){var e=$(this.hash);e.length&&(t.preventDefault(),$("html, body").animate({scrollTop:e.offset().top},500))})}),$(function(){var t=$(".custom-navbar-toggler"),e=$(".close-div"),i=$(".overlay"),n=$(".it-back-button"),s=$(".navbar-collapsable a");$(t).on("click",function(t){var e=$(this).attr("data-target"),i=$(e).find(".overlay");$(this).attr("aria-expanded","true"),$(n).fadeIn(),$(e).show(),$(i).fadeIn(),$(e).addClass("expanded")}),$(i).on("click",function(){var t=$(this).closest(".navbar-collapsable"),e=$(this).closest(".navbar").find(".custom-navbar-toggler"),i=$(t).find(".overlay");$(e).attr("aria-expanded","false"),$(t).removeClass("expanded"),$(i).fadeOut(),setTimeout(function(){$(t).hide()},300)}),$(e).on("click",function(t){var e=$(this).closest(".navbar-collapsable"),i=$(this).closest(".navbar").find(".custom-navbar-toggler"),n=$(e).find(".overlay");$(i).attr("aria-expanded","false"),$(e).removeClass("expanded"),$(n).fadeOut(),setTimeout(function(){$(e).hide()},300)}),$(s).on("blur",function(t){closemenu=$(this).closest(".navbar-collapsable").find(".close-div .btn"),$(this).closest(".navbar-collapsable").hasClass("expanded")&&setTimeout(function(){var t=document.activeElement;0==$(t).closest(".navbar-collapsable").length&&$(closemenu).trigger("click")},50)}),$(e).on("blur",function(t){closemenu=$(this),$(this).closest(".navbar-collapsable").hasClass("expanded")&&setTimeout(function(){var t=document.activeElement;0==$(t).closest(".navbar-collapsable").length&&$(closemenu).trigger("click")},50)})}),$(function(){var t=$(".it-back-button");$('.it-bottom-navscroll ul li a[href^="#"]').on("click",function(t){t.preventDefault();var e=this.hash;$("html, body").animate({scrollTop:$(e).offset().top-150},600,function(){history.pushState?history.pushState(null,null,e):location.hash=e}),$(overlay).trigger("click")}),$(t).click(function(t){$(overlay).trigger("click"),$(this).fadeOut(),t.preventDefault()}),$(window).on("scroll",function(){var o=$(window).scrollTop();$(".it-page-section").each(function(t){if($(this).position().top<=o){$(".it-navscroll-wrapper .menu-wrapper a.active").removeClass("active"),$(".it-navscroll-wrapper .menu-wrapper a").eq(t).addClass("active");var e=$(".it-navscroll-wrapper .menu-wrapper a").eq(t).closest("ul").prev("a"),i=$(e).closest("ul").prev("a");$(e).addClass("active"),$(i).addClass("active");var n=$(".it-navscroll-wrapper .menu-wrapper a").eq(t).find("span").text(),s=$(".it-bottom-navscroll .custom-navbar-toggler"),r=s.find("span.it-list");s.text(n),s.prepend(r)}})}).scroll()}),$(function(){$(".go-back").on("click",function(){return window.history.back(),!1})}),$(document).on("click",".notification-close",function(){$(this).closest(".notification").fadeOut(100)}),$(function(){$(".upload-dragdrop:not(.success)").on("drag dragstart dragend dragover dragenter dragleave drop",function(t){t.preventDefault(),t.stopPropagation()}).on("dragover dragenter",function(){$(this).addClass("dragover")}).on("dragleave dragend drop",function(){$(this).removeClass("dragover")}).on("drop",function(t){$(this).addClass("loading"),$(this).find(".upload-progress").circularloader({backgroundColor:"#ffffff",fontColor:"#000000",fontSize:"40px",radius:130,progressBarBackground:"transparent",progressBarColor:"#0073e6",progressBarWidth:96,progressPercent:0})})});var progressDonut=function(i){return{generate:function(t,e){i(t).circularloader({backgroundColor:"#fff",fontColor:"#000",fontSize:40,radius:130,progressBarBackground:"transparent",progressBarColor:"#0073e6",progressBarWidth:96,progressPercent:e}),i(t).next().html("Progresso "+e+"%")},update:function(t,e){i(t).circularloader({progressPercent:e})}}}($);$(function(){$(".it-has-checkbox").on("click",function(t){var e=$(this).find("input");$(e).prop("checked")?($(e).prop("checked",!1),$(this).removeClass("active")):($(e).prop("checked",!0),$(this).addClass("active")),t.preventDefault()})}),$(function(){var t;t=window.navigator.userAgent,/msie|Trident.*rv[ :]*11\./gi.test(t)&&$(".img-wrapper").each(function(){var t=$(this),e=t.find("img").prop("src");e&&t.css("backgroundImage","url("+e+")").addClass("custom-object-fit")})}),$(function(){function a(t){var e=t.closest(".input-number");e.hasClass("input-number-adaptive")&&(e.hasClass("input-number-percentage")||t.css("width",2*t.val().length+"ch"),e.hasClass("input-number-currency")&&t.css("width","calc(40px + "+2*t.val().length+"ch)"))}$(".input-number input[type=number]").each(function(t){a($(this))}),$(".input-number button").click(function(t){t.preventDefault();var e=$(this).closest(".input-number").find("input[type=number]"),i=parseFloat(e.val());if(!isNaN(i)){var n=0,s=parseFloat(e.attr("max")),r=parseFloat(e.attr("min")),o=parseFloat(e.attr("step"));o||(o=1),$(this).hasClass("input-number-add")&&(n=!isNaN(s)&&s<=i+o?s:i+o,e.val(n)),$(this).hasClass("input-number-sub")&&(n=!isNaN(r)&&i-o<=r?r:i-o,e.val(n))}a(e)}),$(".input-number input[type=number]").change(function(t){var e=$(this),i=parseFloat(e.val());if(!isNaN(i)){var n=parseFloat(e.attr("max")),s=parseFloat(e.attr("min"));s&&i<s&&(i=s),n&&n<i&&(i=n),e.val(i)}a(e)})}),$(function(){var t,e,i,n,s,r,o,a,l,c,h,d,u,p,f,m,g,v,y,b,w,_,x,C,k,E,D,T,I,S,A,O,L,N=$(".owl-carousel.it-carousel-all");$(N).each(function(){$(this).closest(".it-carousel-wrapper").hasClass("it-carousel-landscape-abstract-three-cols")&&(n=[],s=300,r=500,o=200,h=!(c=l=a=!(e=!(t=!0))),u=u,f=!(p=!(d="page")),m=1,b=!(y=!(v=24)),w=2,_=g=40,k=!(C=!(x=24)),S=!(I=!(E=i=3)),A=3,L=O=T=D=0,$(this).hasClass("it-card-bg")&&(_=g=40,O=D=12,L=T=x=v=24),$(this).hasClass("it-img-card")&&(_=g=40,O=D=0,L=T=x=v=24),$(this).hasClass("it-img-card")&&$(this).hasClass("it-big-img")&&(e=!0,v=g=0,_=160,x=24,O=D=320,L=T=48,A=E=w=1),$(this).hasClass("it-img-card")&&$(this).hasClass("it-standard-image")&&(e=!0,g=40,m=1,w=2,D=68,O=_=48,L=T=x=v=24,A=E=3)),$(this).closest(".it-carousel-wrapper").hasClass("it-carousel-landscape-abstract")&&(n=[],s=300,r=500,o=200,h=!(c=l=a=!(e=!(t=!0))),u=u,f=!(p=!(d="page")),b=!(y=!(v=24)),k=!(C=!(x=_=24)),S=!(I=!(E=w=m=i=1)),A=1,L=O=T=D=g=0),$(this).owlCarousel&&$(this).owlCarousel({nav:t,loop:e,margin:24,items:i,navText:n,navSpeed:s,smartSpeed:r,dotsSpeed:o,navElement:"button",dotElement:"button",controlsAriaHidden:a,mouseDrag:l,touchDrag:c,dots:h,slideBy:d,stagePadding:u,responsive:{0:{nav:p,dots:f,items:m,stagePadding:g,margin:v},768:{nav:y,dots:b,stagePadding:_,items:w,margin:x},992:{nav:C,dots:k,items:E,stagePadding:D,margin:T},1200:{nav:I,dots:S,stagePadding:O,items:A,margin:L}},onInitialized:function(t){$(t.target).find(".owl-dot").each(function(t){$(this).attr("aria-labelledby","owl-dot-"+t)})}})})}),$(function(){var t=$(".transfer-header input"),e=$(".transfer-group input"),r=$(".it-transfer-block").find("a.transfer"),o=$(".it-transfer-block").find("a.backtransfer"),n=$(".it-transfer-block").find("a.reset");function s(t,e){var i=t.find(".transfer-group input:checked"),n=i.closest(".form-check"),s=t.find(".transfer-header input"),r=t.find(".transfer-header span.num"),o=i.length,a=t.find(".transfer-group input").length,l=e.find(".transfer-group"),c=e.find(".transfer-group input").length+o,h=e.find(".transfer-header span.num"),d=e.find(".transfer-header input");n.each(function(){$(this).detach().appendTo(l).find("input").prop("checked",!1)});var u=a-o,p=c;r.text(u),h.text(p),0==u&&s.prop("disabled",!0),0<p&&d.prop("disabled",!1),s.removeClass("semi-checked").prop("checked",!1)}$(t).click(function(){var t,e,i,n,s=$(this).closest(".it-transfer-wrapper");t=s,e=$(t).find(".transfer-group input"),i=$(t).find(".transfer-group input:checked"),n=$(t).find(".transfer-header input"),r=t.closest(".it-transfer-block").find("a.transfer"),o=t.closest(".it-transfer-block").find("a.backtransfer"),0<i.length?($(e).prop("checked",!1),$(n).removeClass("semi-checked").prop("checked",!1),t.hasClass("source")?r.removeClass("active"):o.removeClass("active")):($(e).prop("checked",!0),t.hasClass("source")?r.addClass("active"):o.addClass("active"))}),$(e).click(function(){var t,e,i,n,s=$(this).closest(".it-transfer-wrapper");t=s,e=$(t).find(".transfer-group input"),i=$(t).find(".transfer-group input:checked"),n=$(t).find(".transfer-header input"),r=t.closest(".it-transfer-block").find("a.transfer"),o=t.closest(".it-transfer-block").find("a.backtransfer"),0==i.length?(n.removeClass("semi-checked").prop("checked",!1),t.hasClass("source")?r.removeClass("active"):o.removeClass("active")):i.length==e.length?n.removeClass("semi-checked").prop("checked",!0):(n.addClass("semi-checked").prop("checked",!1),t.hasClass("source")?r.addClass("active"):o.addClass("active"))}),$(r).click(function(t){var e=$(this).closest(".it-transfer-block").find(".source"),i=$(this).closest(".it-transfer-block").find(".target");(n=$(this).closest(".it-transfer-block").find("a.reset")).addClass("active"),$(this).removeClass("active"),s(e,i),t.preventDefault()}),$(o).click(function(t){var e=$(this).closest(".it-transfer-block").find(".source"),i=$(this).closest(".it-transfer-block").find(".target");n=$(this).closest(".it-transfer-block").find("a.reset"),$(this).removeClass("active"),n.addClass("active"),s(i,e),t.preventDefault()});var d=$(".source .transfer-group .form-check"),u=$(".target .transfer-group .form-check"),p=d.length,f=u.length;$(d).each(function(t){this}),$(u).each(function(t){this}),$(n).click(function(t){var e,i,n,s,r,o,a,l=$(this).closest(".it-transfer-block"),c=l.find("a.transfer"),h=l.find("a.backtransfer");c.removeClass("active"),h.removeClass("active"),$(this).removeClass("active"),i=(e=l).find(".source .transfer-group"),n=e.find(".target .transfer-group"),s=e.find(".source .transfer-header span.num"),r=e.find(".target .transfer-header span.num"),o=e.find(".transfer-header input"),a=e.find(".transfer-group input"),$(i).find(".form-check").detach(),$(n).find(".form-check").detach(),$(i).append(d),$(n).append(u),$(s).text(p),$(r).text(f),$(o).prop("disabled",!1).removeClass("semi-checked"),$(o).prop("checked",!1),$(a).prop("checked",!1),t.preventDefault()})}),$(function(){$(".bootstrap-select-wrapper select").selectpicker().on("changed.bs.select",function(){$(".dropdown-menu li.selected").find('input[type="checkbox"]').prop("checked",!0),$(".dropdown-menu li:not(.selected)").find('input[type="checkbox"]').prop("checked",!1)})}),$(function(){$(".rating.rating-label input[type=radio]").on("click",function(t){var e=$(this).val(),i="stelle";1==e&&(i="stella"),$(this).closest(".rating-label").find("legend span:not(.sr-only)").text(e+" "+i)})}),$(function(){$.fn.dimmerShow=function(){return this.each(function(){"flex"!=$(this).css("display")&&$(this).css("display","flex").hide().fadeIn(200)})},$.fn.dimmerHide=function(t){return this.each(function(){$(this).fadeOut(200)})}});
//# sourceMappingURL=bootstrap-italia.bundle.min.js.map