!function(){"use strict";!function(){const t={NODE_ENV:"production"};try{if(process)return process.env=Object.assign({},process.env),void Object.assign(process.env,t)}catch(t){}globalThis.process={env:t}}();const t={fatal:0,error:0,warn:1,log:2,info:3,success:3,fail:3,debug:4,trace:5,verbose:Number.POSITIVE_INFINITY},e={silent:{level:-1},fatal:{level:t.fatal},error:{level:t.error},warn:{level:t.warn},log:{level:t.log},info:{level:t.info},success:{level:t.success},fail:{level:t.fail},ready:{level:t.info},start:{level:t.info},box:{level:t.info},debug:{level:t.debug},trace:{level:t.trace},verbose:{level:t.verbose}};function n(t){if(null===t||"object"!=typeof t)return!1;const e=Object.getPrototypeOf(t);return(null===e||e===Object.prototype||null===Object.getPrototypeOf(e))&&(!(Symbol.iterator in t)&&(!(Symbol.toStringTag in t)||"[object Module]"===Object.prototype.toString.call(t)))}function i(t,e,o=".",r){if(!n(e))return i(t,{},o);const s=Object.assign({},e);for(const e in t){if("__proto__"===e||"constructor"===e)continue;const r=t[e];null!=r&&(Array.isArray(r)&&Array.isArray(s[e])?s[e]=[...r,...s[e]]:n(r)&&n(s[e])?s[e]=i(r,s[e],(o?`${o}.`:"")+e.toString()):s[e]=r)}return s}const o=(...t)=>t.reduce((t,e)=>i(t,e,""),{});function r(t){return e=t,"[object Object]"===Object.prototype.toString.call(e)&&(!(!t.message&&!t.args)&&!t.stack);var e}let s=!1;const a=[];class l{options;_lastLog;_mockFn;constructor(t={}){const n=t.types||e;this.options=o({...t,defaults:{...t.defaults},level:c(t.level,n),reporters:[...t.reporters||[]]},{types:e,throttle:1e3,throttleMin:5,formatOptions:{date:!0,colors:!1,compact:!0}});for(const t in n){const e={type:t,...this.options.defaults,...n[t]};this[t]=this._wrapLogFn(e),this[t].raw=this._wrapLogFn(e,!0)}this.options.mockFn&&this.mockTypes(),this._lastLog={}}get level(){return this.options.level}set level(t){this.options.level=c(t,this.options.types,this.options.level)}prompt(t,e){if(!this.options.prompt)throw new Error("prompt is not supported!");return this.options.prompt(t,e)}create(t){const e=new l({...this.options,...t});return this._mockFn&&e.mockTypes(this._mockFn),e}withDefaults(t){return this.create({...this.options,defaults:{...this.options.defaults,...t}})}withTag(t){return this.withDefaults({tag:this.options.defaults.tag?this.options.defaults.tag+":"+t:t})}addReporter(t){return this.options.reporters.push(t),this}removeReporter(t){if(t){const e=this.options.reporters.indexOf(t);if(-1!==e)return this.options.reporters.splice(e,1)}else this.options.reporters.splice(0);return this}setReporters(t){return this.options.reporters=Array.isArray(t)?t:[t],this}wrapAll(){this.wrapConsole(),this.wrapStd()}restoreAll(){this.restoreConsole(),this.restoreStd()}wrapConsole(){for(const t in this.options.types)console["__"+t]||(console["__"+t]=console[t]),console[t]=this[t].raw}restoreConsole(){for(const t in this.options.types)console["__"+t]&&(console[t]=console["__"+t],delete console["__"+t])}wrapStd(){this._wrapStream(this.options.stdout,"log"),this._wrapStream(this.options.stderr,"log")}_wrapStream(t,e){t&&(t.__write||(t.__write=t.write),t.write=t=>{this[e].raw(String(t).trim())})}restoreStd(){this._restoreStream(this.options.stdout),this._restoreStream(this.options.stderr)}_restoreStream(t){t&&t.__write&&(t.write=t.__write,delete t.__write)}pauseLogs(){s=!0}resumeLogs(){s=!1;const t=a.splice(0);for(const e of t)e[0]._logFn(e[1],e[2])}mockTypes(t){const e=t||this.options.mockFn;if(this._mockFn=e,"function"==typeof e)for(const t in this.options.types)this[t]=e(t,this.options.types[t])||this[t],this[t].raw=this[t]}_wrapLogFn(t,e){return(...n)=>{if(!s)return this._logFn(t,n,e);a.push([this,t,n,e])}}_logFn(t,e,n){if((t.level||0)>this.level)return!1;const i={date:new Date,args:[],...t,level:c(t.level,this.options.types)};!n&&1===e.length&&r(e[0])?Object.assign(i,e[0]):i.args=[...e],i.message&&(i.args.unshift(i.message),delete i.message),
i.additional&&(Array.isArray(i.additional)||(i.additional=i.additional.split("\n")),i.args.push("\n"+i.additional.join("\n")),delete i.additional),i.type="string"==typeof i.type?i.type.toLowerCase():"log",i.tag="string"==typeof i.tag?i.tag:"";const o=(t=!1)=>{const e=(this._lastLog.count||0)-this.options.throttleMin;if(this._lastLog.object&&e>0){const t=[...this._lastLog.object.args];e>1&&t.push(`(repeated ${e} times)`),this._log({...this._lastLog.object,args:t}),this._lastLog.count=1}t&&(this._lastLog.object=i,this._log(i))};clearTimeout(this._lastLog.timeout);const s=this._lastLog.time&&i.date?i.date.getTime()-this._lastLog.time.getTime():0;if(this._lastLog.time=i.date,s<this.options.throttle)try{const t=JSON.stringify([i.type,i.tag,i.args]),e=this._lastLog.serialized===t;if(this._lastLog.serialized=t,e&&(this._lastLog.count=(this._lastLog.count||0)+1,this._lastLog.count>this.options.throttleMin))return void(this._lastLog.timeout=setTimeout(o,this.options.throttle))}catch{}o(!0)}_log(t){for(const e of this.options.reporters)e.log(t,{options:this.options})}}function c(t,e={},n=3){return void 0===t?n:"number"==typeof t?t:e[t]&&void 0!==e[t].level?e[t].level:n}l.prototype.add=l.prototype.addReporter,l.prototype.remove=l.prototype.removeReporter,l.prototype.clear=l.prototype.removeReporter,l.prototype.withScope=l.prototype.withTag,l.prototype.mock=l.prototype.mockTypes,l.prototype.pause=l.prototype.pauseLogs,l.prototype.resume=l.prototype.resumeLogs;class u{options;defaultColor;levelColorMap;typeColorMap;constructor(t){this.options={...t},this.defaultColor="#7f8c8d",this.levelColorMap={0:"#c0392b",1:"#f39c12",3:"#00BCD4"},this.typeColorMap={success:"#2ecc71"}}_getLogFn(t){return t<1?console.__error||console.error:1===t?console.__warn||console.warn:console.__log||console.log}log(t){const e=this._getLogFn(t.level),n="log"===t.type?"":t.type,i=t.tag||"",o=`\n      background: ${this.typeColorMap[t.type]||this.levelColorMap[t.level]||this.defaultColor};\n      border-radius: 0.5em;\n      color: white;\n      font-weight: bold;\n      padding: 2px 0.5em;\n    `,r=`%c${[i,n].filter(Boolean).join(":")}`;"string"==typeof t.args[0]?e(`${r}%c ${t.args[0]}`,o,"",...t.args.slice(1)):e(r,o,...t.args)}}const d=function(t={}){return function(t={}){return new l(t)}({reporters:t.reporters||[new u({})],prompt:(t,e={})=>"confirm"===e.type?Promise.resolve(confirm(t)):Promise.resolve(prompt(t)),...t})}();var p="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function h(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var f,m={exports:{}},g=m.exports;function y(){return f||(f=1,t=m,function(e,n){t.exports=e.document?n(e,!0):function(t){if(!t.document)throw new Error("jQuery requires a window with a document");return n(t)}}("undefined"!=typeof window?window:g,function(t,e){var n=[],i=Object.getPrototypeOf,o=n.slice,r=n.flat?function(t){return n.flat.call(t)}:function(t){return n.concat.apply([],t)},s=n.push,a=n.indexOf,l={},c=l.toString,u=l.hasOwnProperty,d=u.toString,p=d.call(Object),h={},f=function(t){return"function"==typeof t&&"number"!=typeof t.nodeType&&"function"!=typeof t.item},m=function(t){return null!=t&&t===t.window},g=t.document,v={type:!0,src:!0,nonce:!0,noModule:!0};function y(t,e,n){var i,o,r=(n=n||g).createElement("script");if(r.text=t,e)for(i in v)(o=e[i]||e.getAttribute&&e.getAttribute(i))&&r.setAttribute(i,o);n.head.appendChild(r).parentNode.removeChild(r)}function w(t){return null==t?t+"":"object"==typeof t||"function"==typeof t?l[c.call(t)]||"object":typeof t}var b="3.7.1",x=/HTML$/i,A=function(t,e){return new A.fn.init(t,e)};function T(t){var e=!!t&&"length"in t&&t.length,n=w(t);return!f(t)&&!m(t)&&("array"===n||0===e||"number"==typeof e&&e>0&&e-1 in t)}function C(t,e){return t.nodeName&&t.nodeName.toLowerCase()===e.toLowerCase()}A.fn=A.prototype={jquery:b,constructor:A,length:0,
toArray:function(){return o.call(this)},get:function(t){return null==t?o.call(this):t<0?this[t+this.length]:this[t]},pushStack:function(t){var e=A.merge(this.constructor(),t);return e.prevObject=this,e},each:function(t){return A.each(this,t)},map:function(t){return this.pushStack(A.map(this,function(e,n){return t.call(e,n,e)}))},slice:function(){return this.pushStack(o.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(A.grep(this,function(t,e){return(e+1)%2}))},odd:function(){return this.pushStack(A.grep(this,function(t,e){return e%2}))},eq:function(t){var e=this.length,n=+t+(t<0?e:0);return this.pushStack(n>=0&&n<e?[this[n]]:[])},end:function(){return this.prevObject||this.constructor()},push:s,sort:n.sort,splice:n.splice},A.extend=A.fn.extend=function(){var t,e,n,i,o,r,s=arguments[0]||{},a=1,l=arguments.length,c=!1;for("boolean"==typeof s&&(c=s,s=arguments[a]||{},a++),"object"==typeof s||f(s)||(s={}),a===l&&(s=this,a--);a<l;a++)if(null!=(t=arguments[a]))for(e in t)i=t[e],"__proto__"!==e&&s!==i&&(c&&i&&(A.isPlainObject(i)||(o=Array.isArray(i)))?(n=s[e],r=o&&!Array.isArray(n)?[]:o||A.isPlainObject(n)?n:{},o=!1,s[e]=A.extend(c,r,i)):void 0!==i&&(s[e]=i));return s},A.extend({expando:"jQuery"+(b+Math.random()).replace(/\D/g,""),isReady:!0,error:function(t){throw new Error(t)},noop:function(){},isPlainObject:function(t){var e,n;return!(!t||"[object Object]"!==c.call(t)||(e=i(t))&&("function"!=typeof(n=u.call(e,"constructor")&&e.constructor)||d.call(n)!==p))},isEmptyObject:function(t){var e;for(e in t)return!1;return!0},globalEval:function(t,e,n){y(t,{nonce:e&&e.nonce},n)},each:function(t,e){var n,i=0;if(T(t))for(n=t.length;i<n&&!1!==e.call(t[i],i,t[i]);i++);else for(i in t)if(!1===e.call(t[i],i,t[i]))break;return t},text:function(t){var e,n="",i=0,o=t.nodeType;if(!o)for(;e=t[i++];)n+=A.text(e);return 1===o||11===o?t.textContent:9===o?t.documentElement.textContent:3===o||4===o?t.nodeValue:n},makeArray:function(t,e){var n=e||[];return null!=t&&(T(Object(t))?A.merge(n,"string"==typeof t?[t]:t):s.call(n,t)),n},inArray:function(t,e,n){return null==e?-1:a.call(e,t,n)},isXMLDoc:function(t){var e=t&&t.namespaceURI,n=t&&(t.ownerDocument||t).documentElement;return!x.test(e||n&&n.nodeName||"HTML")},merge:function(t,e){for(var n=+e.length,i=0,o=t.length;i<n;i++)t[o++]=e[i];return t.length=o,t},grep:function(t,e,n){for(var i=[],o=0,r=t.length,s=!n;o<r;o++)!e(t[o],o)!==s&&i.push(t[o]);return i},map:function(t,e,n){var i,o,s=0,a=[];if(T(t))for(i=t.length;s<i;s++)null!=(o=e(t[s],s,n))&&a.push(o);else for(s in t)null!=(o=e(t[s],s,n))&&a.push(o);return r(a)},guid:1,support:h}),"function"==typeof Symbol&&(A.fn[Symbol.iterator]=n[Symbol.iterator]),A.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(t,e){l["[object "+e+"]"]=e.toLowerCase()});var k=n.pop,S=n.sort,$=n.splice,E="[\\x20\\t\\r\\n\\f]",D=new RegExp("^"+E+"+|((?:^|[^\\\\])(?:\\\\.)*)"+E+"+$","g");A.contains=function(t,e){var n=e&&e.parentNode;return t===n||!(!n||1!==n.nodeType||!(t.contains?t.contains(n):t.compareDocumentPosition&&16&t.compareDocumentPosition(n)))};var j=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\x80-\uFFFF\w-]/g;function L(t,e){return e?"\0"===t?"�":t.slice(0,-1)+"\\"+t.charCodeAt(t.length-1).toString(16)+" ":"\\"+t}A.escapeSelector=function(t){return(t+"").replace(j,L)};var N=g,O=s;!function(){var e,i,r,s,l,c,d,p,f,m,g=O,v=A.expando,y=0,w=0,b=tt(),x=tt(),T=tt(),j=tt(),L=function(t,e){return t===e&&(l=!0),0
},_="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",I="(?:\\\\[\\da-fA-F]{1,6}"+E+"?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+",H="\\["+E+"*("+I+")(?:"+E+"*([*^$|!~]?=)"+E+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+I+"))|)"+E+"*\\]",R=":("+I+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+H+")*)|.*)\\)|)",P=new RegExp(E+"+","g"),F=new RegExp("^"+E+"*,"+E+"*"),M=new RegExp("^"+E+"*([>+~]|"+E+")"+E+"*"),B=new RegExp(E+"|>"),Q=new RegExp(R),q=new RegExp("^"+I+"$"),W={ID:new RegExp("^#("+I+")"),CLASS:new RegExp("^\\.("+I+")"),TAG:new RegExp("^("+I+"|[*])"),ATTR:new RegExp("^"+H),PSEUDO:new RegExp("^"+R),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+E+"*(even|odd|(([+-]|)(\\d*)n|)"+E+"*(?:([+-]|)"+E+"*(\\d+)|))"+E+"*\\)|)","i"),bool:new RegExp("^(?:"+_+")$","i"),needsContext:new RegExp("^"+E+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+E+"*((?:-\\d)?\\d*)"+E+"*\\)|)(?=[^-]|$)","i")},U=/^(?:input|select|textarea|button)$/i,z=/^h\d$/i,G=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,V=/[+~]/,X=new RegExp("\\\\[\\da-fA-F]{1,6}"+E+"?|\\\\([^\\r\\n\\f])","g"),Y=function(t,e){var n="0x"+t.slice(1)-65536;return e||(n<0?String.fromCharCode(n+65536):String.fromCharCode(n>>10|55296,1023&n|56320))},J=function(){lt()},K=pt(function(t){return!0===t.disabled&&C(t,"fieldset")},{dir:"parentNode",next:"legend"});try{g.apply(n=o.call(N.childNodes),N.childNodes),n[N.childNodes.length].nodeType}catch(t){g={apply:function(t,e){O.apply(t,o.call(e))},call:function(t){O.apply(t,o.call(arguments,1))}}}function Z(t,e,n,i){var o,r,s,a,l,u,d,m=e&&e.ownerDocument,y=e?e.nodeType:9;if(n=n||[],"string"!=typeof t||!t||1!==y&&9!==y&&11!==y)return n;if(!i&&(lt(e),e=e||c,p)){if(11!==y&&(l=G.exec(t)))if(o=l[1]){if(9===y){if(!(s=e.getElementById(o)))return n;if(s.id===o)return g.call(n,s),n}else if(m&&(s=m.getElementById(o))&&Z.contains(e,s)&&s.id===o)return g.call(n,s),n}else{if(l[2])return g.apply(n,e.getElementsByTagName(t)),n;if((o=l[3])&&e.getElementsByClassName)return g.apply(n,e.getElementsByClassName(o)),n}if(!(j[t+" "]||f&&f.test(t))){if(d=t,m=e,1===y&&(B.test(t)||M.test(t))){for((m=V.test(t)&&at(e.parentNode)||e)==e&&h.scope||((a=e.getAttribute("id"))?a=A.escapeSelector(a):e.setAttribute("id",a=v)),r=(u=ut(t)).length;r--;)u[r]=(a?"#"+a:":scope")+" "+dt(u[r]);d=u.join(",")}try{return g.apply(n,m.querySelectorAll(d)),n}catch(e){j(t,!0)}finally{a===v&&e.removeAttribute("id")}}}return yt(t.replace(D,"$1"),e,n,i)}function tt(){var t=[];return function e(n,o){return t.push(n+" ")>i.cacheLength&&delete e[t.shift()],e[n+" "]=o}}function et(t){return t[v]=!0,t}function nt(t){var e=c.createElement("fieldset");try{return!!t(e)}catch(t){return!1}finally{e.parentNode&&e.parentNode.removeChild(e),e=null}}function it(t){return function(e){return C(e,"input")&&e.type===t}}function ot(t){return function(e){return(C(e,"input")||C(e,"button"))&&e.type===t}}function rt(t){return function(e){return"form"in e?e.parentNode&&!1===e.disabled?"label"in e?"label"in e.parentNode?e.parentNode.disabled===t:e.disabled===t:e.isDisabled===t||e.isDisabled!==!t&&K(e)===t:e.disabled===t:"label"in e&&e.disabled===t}}function st(t){return et(function(e){return e=+e,et(function(n,i){for(var o,r=t([],n.length,e),s=r.length;s--;)n[o=r[s]]&&(n[o]=!(i[o]=n[o]))})})}function at(t){return t&&void 0!==t.getElementsByTagName&&t}function lt(t){var e,n=t?t.ownerDocument||t:N;return n!=c&&9===n.nodeType&&n.documentElement?(d=(c=n).documentElement,p=!A.isXMLDoc(c),m=d.matches||d.webkitMatchesSelector||d.msMatchesSelector,d.msMatchesSelector&&N!=c&&(e=c.defaultView)&&e.top!==e&&e.addEventListener("unload",J),h.getById=nt(function(t){return d.appendChild(t).id=A.expando,!c.getElementsByName||!c.getElementsByName(A.expando).length}),h.disconnectedMatch=nt(function(t){return m.call(t,"*")}),h.scope=nt(function(){return c.querySelectorAll(":scope")}),
h.cssHas=nt(function(){try{return c.querySelector(":has(*,:jqfake)"),!1}catch(t){return!0}}),h.getById?(i.filter.ID=function(t){var e=t.replace(X,Y);return function(t){return t.getAttribute("id")===e}},i.find.ID=function(t,e){if(void 0!==e.getElementById&&p){var n=e.getElementById(t);return n?[n]:[]}}):(i.filter.ID=function(t){var e=t.replace(X,Y);return function(t){var n=void 0!==t.getAttributeNode&&t.getAttributeNode("id");return n&&n.value===e}},i.find.ID=function(t,e){if(void 0!==e.getElementById&&p){var n,i,o,r=e.getElementById(t);if(r){if((n=r.getAttributeNode("id"))&&n.value===t)return[r];for(o=e.getElementsByName(t),i=0;r=o[i++];)if((n=r.getAttributeNode("id"))&&n.value===t)return[r]}return[]}}),i.find.TAG=function(t,e){return void 0!==e.getElementsByTagName?e.getElementsByTagName(t):e.querySelectorAll(t)},i.find.CLASS=function(t,e){if(void 0!==e.getElementsByClassName&&p)return e.getElementsByClassName(t)},f=[],nt(function(t){var e;d.appendChild(t).innerHTML="<a id='"+v+"' href='' disabled='disabled'></a><select id='"+v+"-\r\\' disabled='disabled'><option selected=''></option></select>",t.querySelectorAll("[selected]").length||f.push("\\["+E+"*(?:value|"+_+")"),t.querySelectorAll("[id~="+v+"-]").length||f.push("~="),t.querySelectorAll("a#"+v+"+*").length||f.push(".#.+[+~]"),t.querySelectorAll(":checked").length||f.push(":checked"),(e=c.createElement("input")).setAttribute("type","hidden"),t.appendChild(e).setAttribute("name","D"),d.appendChild(t).disabled=!0,2!==t.querySelectorAll(":disabled").length&&f.push(":enabled",":disabled"),(e=c.createElement("input")).setAttribute("name",""),t.appendChild(e),t.querySelectorAll("[name='']").length||f.push("\\["+E+"*name"+E+"*="+E+"*(?:''|\"\")")}),h.cssHas||f.push(":has"),f=f.length&&new RegExp(f.join("|")),L=function(t,e){if(t===e)return l=!0,0;var n=!t.compareDocumentPosition-!e.compareDocumentPosition;return n||(1&(n=(t.ownerDocument||t)==(e.ownerDocument||e)?t.compareDocumentPosition(e):1)||!h.sortDetached&&e.compareDocumentPosition(t)===n?t===c||t.ownerDocument==N&&Z.contains(N,t)?-1:e===c||e.ownerDocument==N&&Z.contains(N,e)?1:s?a.call(s,t)-a.call(s,e):0:4&n?-1:1)},c):c}for(e in Z.matches=function(t,e){return Z(t,null,null,e)},Z.matchesSelector=function(t,e){if(lt(t),p&&!j[e+" "]&&(!f||!f.test(e)))try{var n=m.call(t,e);if(n||h.disconnectedMatch||t.document&&11!==t.document.nodeType)return n}catch(t){j(e,!0)}return Z(e,c,null,[t]).length>0},Z.contains=function(t,e){return(t.ownerDocument||t)!=c&&lt(t),A.contains(t,e)},Z.attr=function(t,e){(t.ownerDocument||t)!=c&&lt(t);var n=i.attrHandle[e.toLowerCase()],o=n&&u.call(i.attrHandle,e.toLowerCase())?n(t,e,!p):void 0;return void 0!==o?o:t.getAttribute(e)},Z.error=function(t){throw new Error("Syntax error, unrecognized expression: "+t)},A.uniqueSort=function(t){var e,n=[],i=0,r=0;if(l=!h.sortStable,s=!h.sortStable&&o.call(t,0),S.call(t,L),l){for(;e=t[r++];)e===t[r]&&(i=n.push(r));for(;i--;)$.call(t,n[i],1)}return s=null,t},A.fn.uniqueSort=function(){return this.pushStack(A.uniqueSort(o.apply(this)))},i=A.expr={cacheLength:50,createPseudo:et,match:W,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(X,Y),t[3]=(t[3]||t[4]||t[5]||"").replace(X,Y),"~="===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]||Z.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]&&Z.error(t[0]),t},PSEUDO:function(t){var e,n=!t[6]&&t[2];return W.CHILD.test(t[0])?null:(t[3]?t[2]=t[4]||t[5]||"":n&&Q.test(n)&&(e=ut(n,!0))&&(e=n.indexOf(")",n.length-e)-n.length)&&(t[0]=t[0].slice(0,e),t[2]=n.slice(0,e)),t.slice(0,3))}},filter:{TAG:function(t){var e=t.replace(X,Y).toLowerCase();return"*"===t?function(){return!0}:function(t){return C(t,e)}},CLASS:function(t){var e=b[t+" "]
;return e||(e=new RegExp("(^|"+E+")"+t+"("+E+"|$)"))&&b(t,function(t){return e.test("string"==typeof t.className&&t.className||void 0!==t.getAttribute&&t.getAttribute("class")||"")})},ATTR:function(t,e,n){return function(i){var o=Z.attr(i,t);return null==o?"!="===e:!e||(o+="","="===e?o===n:"!="===e?o!==n:"^="===e?n&&0===o.indexOf(n):"*="===e?n&&o.indexOf(n)>-1:"$="===e?n&&o.slice(-n.length)===n:"~="===e?(" "+o.replace(P," ")+" ").indexOf(n)>-1:"|="===e&&(o===n||o.slice(0,n.length+1)===n+"-"))}},CHILD:function(t,e,n,i,o){var r="nth"!==t.slice(0,3),s="last"!==t.slice(-4),a="of-type"===e;return 1===i&&0===o?function(t){return!!t.parentNode}:function(e,n,l){var c,u,d,p,h,f=r!==s?"nextSibling":"previousSibling",m=e.parentNode,g=a&&e.nodeName.toLowerCase(),w=!l&&!a,b=!1;if(m){if(r){for(;f;){for(d=e;d=d[f];)if(a?C(d,g):1===d.nodeType)return!1;h=f="only"===t&&!h&&"nextSibling"}return!0}if(h=[s?m.firstChild:m.lastChild],s&&w){for(b=(p=(c=(u=m[v]||(m[v]={}))[t]||[])[0]===y&&c[1])&&c[2],d=p&&m.childNodes[p];d=++p&&d&&d[f]||(b=p=0)||h.pop();)if(1===d.nodeType&&++b&&d===e){u[t]=[y,p,b];break}}else if(w&&(b=p=(c=(u=e[v]||(e[v]={}))[t]||[])[0]===y&&c[1]),!1===b)for(;(d=++p&&d&&d[f]||(b=p=0)||h.pop())&&(!(a?C(d,g):1===d.nodeType)||!++b||(w&&((u=d[v]||(d[v]={}))[t]=[y,b]),d!==e)););return(b-=o)===i||b%i===0&&b/i>=0}}},PSEUDO:function(t,e){var n,o=i.pseudos[t]||i.setFilters[t.toLowerCase()]||Z.error("unsupported pseudo: "+t);return o[v]?o(e):o.length>1?(n=[t,t,"",e],i.setFilters.hasOwnProperty(t.toLowerCase())?et(function(t,n){for(var i,r=o(t,e),s=r.length;s--;)t[i=a.call(t,r[s])]=!(n[i]=r[s])}):function(t){return o(t,0,n)}):o}},pseudos:{not:et(function(t){var e=[],n=[],i=vt(t.replace(D,"$1"));return i[v]?et(function(t,e,n,o){for(var r,s=i(t,null,o,[]),a=t.length;a--;)(r=s[a])&&(t[a]=!(e[a]=r))}):function(t,o,r){return e[0]=t,i(e,null,r,n),e[0]=null,!n.pop()}}),has:et(function(t){return function(e){return Z(t,e).length>0}}),contains:et(function(t){return t=t.replace(X,Y),function(e){return(e.textContent||A.text(e)).indexOf(t)>-1}}),lang:et(function(t){return q.test(t||"")||Z.error("unsupported lang: "+t),t=t.replace(X,Y).toLowerCase(),function(e){var n;do{if(n=p?e.lang:e.getAttribute("xml:lang")||e.getAttribute("lang"))return(n=n.toLowerCase())===t||0===n.indexOf(t+"-")}while((e=e.parentNode)&&1===e.nodeType);return!1}}),target:function(e){var n=t.location&&t.location.hash;return n&&n.slice(1)===e.id},root:function(t){return t===d},focus:function(t){return t===function(){try{return c.activeElement}catch(t){}}()&&c.hasFocus()&&!!(t.type||t.href||~t.tabIndex)},enabled:rt(!1),disabled:rt(!0),checked:function(t){return C(t,"input")&&!!t.checked||C(t,"option")&&!!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!i.pseudos.empty(t)},header:function(t){return z.test(t.nodeName)},input:function(t){return U.test(t.nodeName)},button:function(t){return C(t,"input")&&"button"===t.type||C(t,"button")},text:function(t){var e;return C(t,"input")&&"text"===t.type&&(null==(e=t.getAttribute("type"))||"text"===e.toLowerCase())},first:st(function(){return[0]}),last:st(function(t,e){return[e-1]}),eq:st(function(t,e,n){return[n<0?n+e:n]}),even:st(function(t,e){for(var n=0;n<e;n+=2)t.push(n);return t}),odd:st(function(t,e){for(var n=1;n<e;n+=2)t.push(n);return t}),lt:st(function(t,e,n){var i;for(i=n<0?n+e:n>e?e:n;--i>=0;)t.push(i);return t}),gt:st(function(t,e,n){for(var i=n<0?n+e:n;++i<e;)t.push(i);return t})}},i.pseudos.nth=i.pseudos.eq,{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})i.pseudos[e]=it(e);for(e in{submit:!0,reset:!0})i.pseudos[e]=ot(e);function ct(){}function ut(t,e){var n,o,r,s,a,l,c,u=x[t+" "];if(u)return e?0:u.slice(0);for(a=t,l=[],c=i.preFilter;a;){for(s in n&&!(o=F.exec(a))||(o&&(a=a.slice(o[0].length)||a),l.push(r=[])),n=!1,(o=M.exec(a))&&(n=o.shift(),r.push({value:n,
type:o[0].replace(D," ")}),a=a.slice(n.length)),i.filter)!(o=W[s].exec(a))||c[s]&&!(o=c[s](o))||(n=o.shift(),r.push({value:n,type:s,matches:o}),a=a.slice(n.length));if(!n)break}return e?a.length:a?Z.error(t):x(t,l).slice(0)}function dt(t){for(var e=0,n=t.length,i="";e<n;e++)i+=t[e].value;return i}function pt(t,e,n){var i=e.dir,o=e.next,r=o||i,s=n&&"parentNode"===r,a=w++;return e.first?function(e,n,o){for(;e=e[i];)if(1===e.nodeType||s)return t(e,n,o);return!1}:function(e,n,l){var c,u,d=[y,a];if(l){for(;e=e[i];)if((1===e.nodeType||s)&&t(e,n,l))return!0}else for(;e=e[i];)if(1===e.nodeType||s)if(u=e[v]||(e[v]={}),o&&C(e,o))e=e[i]||e;else{if((c=u[r])&&c[0]===y&&c[1]===a)return d[2]=c[2];if(u[r]=d,d[2]=t(e,n,l))return!0}return!1}}function ht(t){return t.length>1?function(e,n,i){for(var o=t.length;o--;)if(!t[o](e,n,i))return!1;return!0}:t[0]}function ft(t,e,n,i,o){for(var r,s=[],a=0,l=t.length,c=null!=e;a<l;a++)(r=t[a])&&(n&&!n(r,i,o)||(s.push(r),c&&e.push(a)));return s}function mt(t,e,n,i,o,r){return i&&!i[v]&&(i=mt(i)),o&&!o[v]&&(o=mt(o,r)),et(function(r,s,l,c){var u,d,p,h,f=[],m=[],v=s.length,y=r||function(t,e,n){for(var i=0,o=e.length;i<o;i++)Z(t,e[i],n);return n}(e||"*",l.nodeType?[l]:l,[]),w=!t||!r&&e?y:ft(y,f,t,l,c);if(n?n(w,h=o||(r?t:v||i)?[]:s,l,c):h=w,i)for(u=ft(h,m),i(u,[],l,c),d=u.length;d--;)(p=u[d])&&(h[m[d]]=!(w[m[d]]=p));if(r){if(o||t){if(o){for(u=[],d=h.length;d--;)(p=h[d])&&u.push(w[d]=p);o(null,h=[],u,c)}for(d=h.length;d--;)(p=h[d])&&(u=o?a.call(r,p):f[d])>-1&&(r[u]=!(s[u]=p))}}else h=ft(h===s?h.splice(v,h.length):h),o?o(null,s,h,c):g.apply(s,h)})}function gt(t){for(var e,n,o,s=t.length,l=i.relative[t[0].type],c=l||i.relative[" "],u=l?1:0,d=pt(function(t){return t===e},c,!0),p=pt(function(t){return a.call(e,t)>-1},c,!0),h=[function(t,n,i){var o=!l&&(i||n!=r)||((e=n).nodeType?d(t,n,i):p(t,n,i));return e=null,o}];u<s;u++)if(n=i.relative[t[u].type])h=[pt(ht(h),n)];else{if((n=i.filter[t[u].type].apply(null,t[u].matches))[v]){for(o=++u;o<s&&!i.relative[t[o].type];o++);return mt(u>1&&ht(h),u>1&&dt(t.slice(0,u-1).concat({value:" "===t[u-2].type?"*":""})).replace(D,"$1"),n,u<o&&gt(t.slice(u,o)),o<s&&gt(t=t.slice(o)),o<s&&dt(t))}h.push(n)}return ht(h)}function vt(t,e){var n,o=[],s=[],a=T[t+" "];if(!a){for(e||(e=ut(t)),n=e.length;n--;)(a=gt(e[n]))[v]?o.push(a):s.push(a);a=T(t,function(t,e){var n=e.length>0,o=t.length>0,s=function(s,a,l,u,d){var h,f,m,v=0,w="0",b=s&&[],x=[],T=r,C=s||o&&i.find.TAG("*",d),S=y+=null==T?1:Math.random()||.1,$=C.length;for(d&&(r=a==c||a||d);w!==$&&null!=(h=C[w]);w++){if(o&&h){for(f=0,a||h.ownerDocument==c||(lt(h),l=!p);m=t[f++];)if(m(h,a||c,l)){g.call(u,h);break}d&&(y=S)}n&&((h=!m&&h)&&v--,s&&b.push(h))}if(v+=w,n&&w!==v){for(f=0;m=e[f++];)m(b,x,a,l);if(s){if(v>0)for(;w--;)b[w]||x[w]||(x[w]=k.call(u));x=ft(x)}g.apply(u,x),d&&!s&&x.length>0&&v+e.length>1&&A.uniqueSort(u)}return d&&(y=S,r=T),b};return n?et(s):s}(s,o)),a.selector=t}return a}function yt(t,e,n,o){var r,s,a,l,c,u="function"==typeof t&&t,d=!o&&ut(t=u.selector||t);if(n=n||[],1===d.length){if((s=d[0]=d[0].slice(0)).length>2&&"ID"===(a=s[0]).type&&9===e.nodeType&&p&&i.relative[s[1].type]){if(!(e=(i.find.ID(a.matches[0].replace(X,Y),e)||[])[0]))return n;u&&(e=e.parentNode),t=t.slice(s.shift().value.length)}for(r=W.needsContext.test(t)?0:s.length;r--&&(a=s[r],!i.relative[l=a.type]);)if((c=i.find[l])&&(o=c(a.matches[0].replace(X,Y),V.test(s[0].type)&&at(e.parentNode)||e))){if(s.splice(r,1),!(t=o.length&&dt(s)))return g.apply(n,o),n;break}}return(u||vt(t,d))(o,e,!p,n,!e||V.test(t)&&at(e.parentNode)||e),n}ct.prototype=i.filters=i.pseudos,i.setFilters=new ct,h.sortStable=v.split("").sort(L).join("")===v,lt(),h.sortDetached=nt(function(t){return 1&t.compareDocumentPosition(c.createElement("fieldset"))}),A.find=Z,A.expr[":"]=A.expr.pseudos,A.unique=A.uniqueSort,Z.compile=vt,Z.select=yt,Z.setDocument=lt,Z.tokenize=ut,Z.escape=A.escapeSelector,Z.getText=A.text,Z.isXML=A.isXMLDoc,Z.selectors=A.expr,Z.support=A.support,Z.uniqueSort=A.uniqueSort}()
;var _=function(t,e,n){for(var i=[],o=void 0!==n;(t=t[e])&&9!==t.nodeType;)if(1===t.nodeType){if(o&&A(t).is(n))break;i.push(t)}return i},I=function(t,e){for(var n=[];t;t=t.nextSibling)1===t.nodeType&&t!==e&&n.push(t);return n},H=A.expr.match.needsContext,R=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function P(t,e,n){return f(e)?A.grep(t,function(t,i){return!!e.call(t,i,t)!==n}):e.nodeType?A.grep(t,function(t){return t===e!==n}):"string"!=typeof e?A.grep(t,function(t){return a.call(e,t)>-1!==n}):A.filter(e,t,n)}A.filter=function(t,e,n){var i=e[0];return n&&(t=":not("+t+")"),1===e.length&&1===i.nodeType?A.find.matchesSelector(i,t)?[i]:[]:A.find.matches(t,A.grep(e,function(t){return 1===t.nodeType}))},A.fn.extend({find:function(t){var e,n,i=this.length,o=this;if("string"!=typeof t)return this.pushStack(A(t).filter(function(){for(e=0;e<i;e++)if(A.contains(o[e],this))return!0}));for(n=this.pushStack([]),e=0;e<i;e++)A.find(t,o[e],n);return i>1?A.uniqueSort(n):n},filter:function(t){return this.pushStack(P(this,t||[],!1))},not:function(t){return this.pushStack(P(this,t||[],!0))},is:function(t){return!!P(this,"string"==typeof t&&H.test(t)?A(t):t||[],!1).length}});var F,M=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(A.fn.init=function(t,e,n){var i,o;if(!t)return this;if(n=n||F,"string"==typeof t){if(!(i="<"===t[0]&&">"===t[t.length-1]&&t.length>=3?[null,t,null]:M.exec(t))||!i[1]&&e)return!e||e.jquery?(e||n).find(t):this.constructor(e).find(t);if(i[1]){if(e=e instanceof A?e[0]:e,A.merge(this,A.parseHTML(i[1],e&&e.nodeType?e.ownerDocument||e:g,!0)),R.test(i[1])&&A.isPlainObject(e))for(i in e)f(this[i])?this[i](e[i]):this.attr(i,e[i]);return this}return(o=g.getElementById(i[2]))&&(this[0]=o,this.length=1),this}return t.nodeType?(this[0]=t,this.length=1,this):f(t)?void 0!==n.ready?n.ready(t):t(A):A.makeArray(t,this)}).prototype=A.fn,F=A(g);var B=/^(?:parents|prev(?:Until|All))/,Q={children:!0,contents:!0,next:!0,prev:!0};function q(t,e){for(;(t=t[e])&&1!==t.nodeType;);return t}A.fn.extend({has:function(t){var e=A(t,this),n=e.length;return this.filter(function(){for(var t=0;t<n;t++)if(A.contains(this,e[t]))return!0})},closest:function(t,e){var n,i=0,o=this.length,r=[],s="string"!=typeof t&&A(t);if(!H.test(t))for(;i<o;i++)for(n=this[i];n&&n!==e;n=n.parentNode)if(n.nodeType<11&&(s?s.index(n)>-1:1===n.nodeType&&A.find.matchesSelector(n,t))){r.push(n);break}return this.pushStack(r.length>1?A.uniqueSort(r):r)},index:function(t){return t?"string"==typeof t?a.call(A(t),this[0]):a.call(this,t.jquery?t[0]:t):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(t,e){return this.pushStack(A.uniqueSort(A.merge(this.get(),A(t,e))))},addBack:function(t){return this.add(null==t?this.prevObject:this.prevObject.filter(t))}}),A.each({parent:function(t){var e=t.parentNode;return e&&11!==e.nodeType?e:null},parents:function(t){return _(t,"parentNode")},parentsUntil:function(t,e,n){return _(t,"parentNode",n)},next:function(t){return q(t,"nextSibling")},prev:function(t){return q(t,"previousSibling")},nextAll:function(t){return _(t,"nextSibling")},prevAll:function(t){return _(t,"previousSibling")},nextUntil:function(t,e,n){return _(t,"nextSibling",n)},prevUntil:function(t,e,n){return _(t,"previousSibling",n)},siblings:function(t){return I((t.parentNode||{}).firstChild,t)},children:function(t){return I(t.firstChild)},contents:function(t){return null!=t.contentDocument&&i(t.contentDocument)?t.contentDocument:(C(t,"template")&&(t=t.content||t),A.merge([],t.childNodes))}},function(t,e){A.fn[t]=function(n,i){var o=A.map(this,e,n);return"Until"!==t.slice(-5)&&(i=n),i&&"string"==typeof i&&(o=A.filter(i,o)),this.length>1&&(Q[t]||A.uniqueSort(o),B.test(t)&&o.reverse()),this.pushStack(o)}});var W=/[^\x20\t\r\n\f]+/g;function U(t){return t}function z(t){throw t}function G(t,e,n,i){var o;try{t&&f(o=t.promise)?o.call(t).done(e).fail(n):t&&f(o=t.then)?o.call(t,e,n):e.apply(void 0,[t].slice(i))}catch(t){n.apply(void 0,[t])}}
A.Callbacks=function(t){t="string"==typeof t?function(t){var e={};return A.each(t.match(W)||[],function(t,n){e[n]=!0}),e}(t):A.extend({},t);var e,n,i,o,r=[],s=[],a=-1,l=function(){for(o=o||t.once,i=e=!0;s.length;a=-1)for(n=s.shift();++a<r.length;)!1===r[a].apply(n[0],n[1])&&t.stopOnFalse&&(a=r.length,n=!1);t.memory||(n=!1),e=!1,o&&(r=n?[]:"")},c={add:function(){return r&&(n&&!e&&(a=r.length-1,s.push(n)),function e(n){A.each(n,function(n,i){f(i)?t.unique&&c.has(i)||r.push(i):i&&i.length&&"string"!==w(i)&&e(i)})}(arguments),n&&!e&&l()),this},remove:function(){return A.each(arguments,function(t,e){for(var n;(n=A.inArray(e,r,n))>-1;)r.splice(n,1),n<=a&&a--}),this},has:function(t){return t?A.inArray(t,r)>-1:r.length>0},empty:function(){return r&&(r=[]),this},disable:function(){return o=s=[],r=n="",this},disabled:function(){return!r},lock:function(){return o=s=[],n||e||(r=n=""),this},locked:function(){return!!o},fireWith:function(t,n){return o||(n=[t,(n=n||[]).slice?n.slice():n],s.push(n),e||l()),this},fire:function(){return c.fireWith(this,arguments),this},fired:function(){return!!i}};return c},A.extend({Deferred:function(e){var n=[["notify","progress",A.Callbacks("memory"),A.Callbacks("memory"),2],["resolve","done",A.Callbacks("once memory"),A.Callbacks("once memory"),0,"resolved"],["reject","fail",A.Callbacks("once memory"),A.Callbacks("once memory"),1,"rejected"]],i="pending",o={state:function(){return i},always:function(){return r.done(arguments).fail(arguments),this},catch:function(t){return o.then(null,t)},pipe:function(){var t=arguments;return A.Deferred(function(e){A.each(n,function(n,i){var o=f(t[i[4]])&&t[i[4]];r[i[1]](function(){var t=o&&o.apply(this,arguments);t&&f(t.promise)?t.promise().progress(e.notify).done(e.resolve).fail(e.reject):e[i[0]+"With"](this,o?[t]:arguments)})}),t=null}).promise()},then:function(e,i,o){var r=0;function s(e,n,i,o){return function(){var a=this,l=arguments,c=function(){var t,c;if(!(e<r)){if((t=i.apply(a,l))===n.promise())throw new TypeError("Thenable self-resolution");c=t&&("object"==typeof t||"function"==typeof t)&&t.then,f(c)?o?c.call(t,s(r,n,U,o),s(r,n,z,o)):(r++,c.call(t,s(r,n,U,o),s(r,n,z,o),s(r,n,U,n.notifyWith))):(i!==U&&(a=void 0,l=[t]),(o||n.resolveWith)(a,l))}},u=o?c:function(){try{c()}catch(t){A.Deferred.exceptionHook&&A.Deferred.exceptionHook(t,u.error),e+1>=r&&(i!==z&&(a=void 0,l=[t]),n.rejectWith(a,l))}};e?u():(A.Deferred.getErrorHook?u.error=A.Deferred.getErrorHook():A.Deferred.getStackHook&&(u.error=A.Deferred.getStackHook()),t.setTimeout(u))}}return A.Deferred(function(t){n[0][3].add(s(0,t,f(o)?o:U,t.notifyWith)),n[1][3].add(s(0,t,f(e)?e:U)),n[2][3].add(s(0,t,f(i)?i:z))}).promise()},promise:function(t){return null!=t?A.extend(t,o):o}},r={};return A.each(n,function(t,e){var s=e[2],a=e[5];o[e[1]]=s.add,a&&s.add(function(){i=a},n[3-t][2].disable,n[3-t][3].disable,n[0][2].lock,n[0][3].lock),s.add(e[3].fire),r[e[0]]=function(){return r[e[0]+"With"](this===r?void 0:this,arguments),this},r[e[0]+"With"]=s.fireWith}),o.promise(r),e&&e.call(r,r),r},when:function(t){var e=arguments.length,n=e,i=Array(n),r=o.call(arguments),s=A.Deferred(),a=function(t){return function(n){i[t]=this,r[t]=arguments.length>1?o.call(arguments):n,--e||s.resolveWith(i,r)}};if(e<=1&&(G(t,s.done(a(n)).resolve,s.reject,!e),"pending"===s.state()||f(r[n]&&r[n].then)))return s.then();for(;n--;)G(r[n],a(n),s.reject);return s.promise()}});var V=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;A.Deferred.exceptionHook=function(e,n){t.console&&t.console.warn&&e&&V.test(e.name)&&t.console.warn("jQuery.Deferred exception: "+e.message,e.stack,n)},A.readyException=function(e){t.setTimeout(function(){throw e})};var X=A.Deferred();function Y(){g.removeEventListener("DOMContentLoaded",Y),t.removeEventListener("load",Y),A.ready()}A.fn.ready=function(t){return X.then(t).catch(function(t){A.readyException(t)}),this},A.extend({isReady:!1,readyWait:1,ready:function(t){(!0===t?--A.readyWait:A.isReady)||(A.isReady=!0,
!0!==t&&--A.readyWait>0||X.resolveWith(g,[A]))}}),A.ready.then=X.then,"complete"===g.readyState||"loading"!==g.readyState&&!g.documentElement.doScroll?t.setTimeout(A.ready):(g.addEventListener("DOMContentLoaded",Y),t.addEventListener("load",Y));var J=function(t,e,n,i,o,r,s){var a=0,l=t.length,c=null==n;if("object"===w(n))for(a in o=!0,n)J(t,e,a,n[a],!0,r,s);else if(void 0!==i&&(o=!0,f(i)||(s=!0),c&&(s?(e.call(t,i),e=null):(c=e,e=function(t,e,n){return c.call(A(t),n)})),e))for(;a<l;a++)e(t[a],n,s?i:i.call(t[a],a,e(t[a],n)));return o?t:c?e.call(t):l?e(t[0],n):r},K=/^-ms-/,Z=/-([a-z])/g;function tt(t,e){return e.toUpperCase()}function et(t){return t.replace(K,"ms-").replace(Z,tt)}var nt=function(t){return 1===t.nodeType||9===t.nodeType||!+t.nodeType};function it(){this.expando=A.expando+it.uid++}it.uid=1,it.prototype={cache:function(t){var e=t[this.expando];return e||(e={},nt(t)&&(t.nodeType?t[this.expando]=e:Object.defineProperty(t,this.expando,{value:e,configurable:!0}))),e},set:function(t,e,n){var i,o=this.cache(t);if("string"==typeof e)o[et(e)]=n;else for(i in e)o[et(i)]=e[i];return o},get:function(t,e){return void 0===e?this.cache(t):t[this.expando]&&t[this.expando][et(e)]},access:function(t,e,n){return void 0===e||e&&"string"==typeof e&&void 0===n?this.get(t,e):(this.set(t,e,n),void 0!==n?n:e)},remove:function(t,e){var n,i=t[this.expando];if(void 0!==i){if(void 0!==e){n=(e=Array.isArray(e)?e.map(et):(e=et(e))in i?[e]:e.match(W)||[]).length;for(;n--;)delete i[e[n]]}(void 0===e||A.isEmptyObject(i))&&(t.nodeType?t[this.expando]=void 0:delete t[this.expando])}},hasData:function(t){var e=t[this.expando];return void 0!==e&&!A.isEmptyObject(e)}};var ot=new it,rt=new it,st=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,at=/[A-Z]/g;function lt(t,e,n){var i;if(void 0===n&&1===t.nodeType)if(i="data-"+e.replace(at,"-$&").toLowerCase(),"string"==typeof(n=t.getAttribute(i))){try{n=function(t){return"true"===t||"false"!==t&&("null"===t?null:t===+t+""?+t:st.test(t)?JSON.parse(t):t)}(n)}catch(t){}rt.set(t,e,n)}else n=void 0;return n}A.extend({hasData:function(t){return rt.hasData(t)||ot.hasData(t)},data:function(t,e,n){return rt.access(t,e,n)},removeData:function(t,e){rt.remove(t,e)},_data:function(t,e,n){return ot.access(t,e,n)},_removeData:function(t,e){ot.remove(t,e)}}),A.fn.extend({data:function(t,e){var n,i,o,r=this[0],s=r&&r.attributes;if(void 0===t){if(this.length&&(o=rt.get(r),1===r.nodeType&&!ot.get(r,"hasDataAttrs"))){for(n=s.length;n--;)s[n]&&0===(i=s[n].name).indexOf("data-")&&(i=et(i.slice(5)),lt(r,i,o[i]));ot.set(r,"hasDataAttrs",!0)}return o}return"object"==typeof t?this.each(function(){rt.set(this,t)}):J(this,function(e){var n;if(r&&void 0===e)return void 0!==(n=rt.get(r,t))||void 0!==(n=lt(r,t))?n:void 0;this.each(function(){rt.set(this,t,e)})},null,e,arguments.length>1,null,!0)},removeData:function(t){return this.each(function(){rt.remove(this,t)})}}),A.extend({queue:function(t,e,n){var i;if(t)return e=(e||"fx")+"queue",i=ot.get(t,e),n&&(!i||Array.isArray(n)?i=ot.access(t,e,A.makeArray(n)):i.push(n)),i||[]},dequeue:function(t,e){e=e||"fx";var n=A.queue(t,e),i=n.length,o=n.shift(),r=A._queueHooks(t,e);"inprogress"===o&&(o=n.shift(),i--),o&&("fx"===e&&n.unshift("inprogress"),delete r.stop,o.call(t,function(){A.dequeue(t,e)},r)),!i&&r&&r.empty.fire()},_queueHooks:function(t,e){var n=e+"queueHooks";return ot.get(t,n)||ot.access(t,n,{empty:A.Callbacks("once memory").add(function(){ot.remove(t,[e+"queue",n])})})}}),A.fn.extend({queue:function(t,e){var n=2;return"string"!=typeof t&&(e=t,t="fx",n--),arguments.length<n?A.queue(this[0],t):void 0===e?this:this.each(function(){var n=A.queue(this,t,e);A._queueHooks(this,t),"fx"===t&&"inprogress"!==n[0]&&A.dequeue(this,t)})},dequeue:function(t){return this.each(function(){A.dequeue(this,t)})},clearQueue:function(t){return this.queue(t||"fx",[])},promise:function(t,e){var n,i=1,o=A.Deferred(),r=this,s=this.length,a=function(){--i||o.resolveWith(r,[r])};for("string"!=typeof t&&(e=t,t=void 0),
t=t||"fx";s--;)(n=ot.get(r[s],t+"queueHooks"))&&n.empty&&(i++,n.empty.add(a));return a(),o.promise(e)}});var ct=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,ut=new RegExp("^(?:([+-])=|)("+ct+")([a-z%]*)$","i"),dt=["Top","Right","Bottom","Left"],pt=g.documentElement,ht=function(t){return A.contains(t.ownerDocument,t)},ft={composed:!0};pt.getRootNode&&(ht=function(t){return A.contains(t.ownerDocument,t)||t.getRootNode(ft)===t.ownerDocument});var mt=function(t,e){return"none"===(t=e||t).style.display||""===t.style.display&&ht(t)&&"none"===A.css(t,"display")};function gt(t,e,n,i){var o,r,s=20,a=i?function(){return i.cur()}:function(){return A.css(t,e,"")},l=a(),c=n&&n[3]||(A.cssNumber[e]?"":"px"),u=t.nodeType&&(A.cssNumber[e]||"px"!==c&&+l)&&ut.exec(A.css(t,e));if(u&&u[3]!==c){for(l/=2,c=c||u[3],u=+l||1;s--;)A.style(t,e,u+c),(1-r)*(1-(r=a()/l||.5))<=0&&(s=0),u/=r;u*=2,A.style(t,e,u+c),n=n||[]}return n&&(u=+u||+l||0,o=n[1]?u+(n[1]+1)*n[2]:+n[2],i&&(i.unit=c,i.start=u,i.end=o)),o}var vt={};function yt(t){var e,n=t.ownerDocument,i=t.nodeName,o=vt[i];return o||(e=n.body.appendChild(n.createElement(i)),o=A.css(e,"display"),e.parentNode.removeChild(e),"none"===o&&(o="block"),vt[i]=o,o)}function wt(t,e){for(var n,i,o=[],r=0,s=t.length;r<s;r++)(i=t[r]).style&&(n=i.style.display,e?("none"===n&&(o[r]=ot.get(i,"display")||null,o[r]||(i.style.display="")),""===i.style.display&&mt(i)&&(o[r]=yt(i))):"none"!==n&&(o[r]="none",ot.set(i,"display",n)));for(r=0;r<s;r++)null!=o[r]&&(t[r].style.display=o[r]);return t}A.fn.extend({show:function(){return wt(this,!0)},hide:function(){return wt(this)},toggle:function(t){return"boolean"==typeof t?t?this.show():this.hide():this.each(function(){mt(this)?A(this).show():A(this).hide()})}});var bt,xt,At=/^(?:checkbox|radio)$/i,Tt=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i,Ct=/^$|^module$|\/(?:java|ecma)script/i;bt=g.createDocumentFragment().appendChild(g.createElement("div")),(xt=g.createElement("input")).setAttribute("type","radio"),xt.setAttribute("checked","checked"),xt.setAttribute("name","t"),bt.appendChild(xt),h.checkClone=bt.cloneNode(!0).cloneNode(!0).lastChild.checked,bt.innerHTML="<textarea>x</textarea>",h.noCloneChecked=!!bt.cloneNode(!0).lastChild.defaultValue,bt.innerHTML="<option></option>",h.option=!!bt.lastChild;var kt={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 St(t,e){var n;return n=void 0!==t.getElementsByTagName?t.getElementsByTagName(e||"*"):void 0!==t.querySelectorAll?t.querySelectorAll(e||"*"):[],void 0===e||e&&C(t,e)?A.merge([t],n):n}function $t(t,e){for(var n=0,i=t.length;n<i;n++)ot.set(t[n],"globalEval",!e||ot.get(e[n],"globalEval"))}kt.tbody=kt.tfoot=kt.colgroup=kt.caption=kt.thead,kt.th=kt.td,h.option||(kt.optgroup=kt.option=[1,"<select multiple='multiple'>","</select>"]);var Et=/<|&#?\w+;/;function Dt(t,e,n,i,o){for(var r,s,a,l,c,u,d=e.createDocumentFragment(),p=[],h=0,f=t.length;h<f;h++)if((r=t[h])||0===r)if("object"===w(r))A.merge(p,r.nodeType?[r]:r);else if(Et.test(r)){for(s=s||d.appendChild(e.createElement("div")),a=(Tt.exec(r)||["",""])[1].toLowerCase(),l=kt[a]||kt._default,s.innerHTML=l[1]+A.htmlPrefilter(r)+l[2],u=l[0];u--;)s=s.lastChild;A.merge(p,s.childNodes),(s=d.firstChild).textContent=""}else p.push(e.createTextNode(r));for(d.textContent="",h=0;r=p[h++];)if(i&&A.inArray(r,i)>-1)o&&o.push(r);else if(c=ht(r),s=St(d.appendChild(r),"script"),c&&$t(s),n)for(u=0;r=s[u++];)Ct.test(r.type||"")&&n.push(r);return d}var jt=/^([^.]*)(?:\.(.+)|)/;function Lt(){return!0}function Nt(){return!1}function Ot(t,e,n,i,o,r){var s,a;if("object"==typeof e){for(a in"string"!=typeof n&&(i=i||n,n=void 0),e)Ot(t,a,n,i,e[a],r);return t}if(null==i&&null==o?(o=n,i=n=void 0):null==o&&("string"==typeof n?(o=i,i=void 0):(o=i,i=n,n=void 0)),!1===o)o=Nt;else if(!o)return t;return 1===r&&(s=o,o=function(t){return A().off(t),s.apply(this,arguments)},
o.guid=s.guid||(s.guid=A.guid++)),t.each(function(){A.event.add(this,e,o,i,n)})}function _t(t,e,n){n?(ot.set(t,e,!1),A.event.add(t,e,{namespace:!1,handler:function(t){var n,i=ot.get(this,e);if(1&t.isTrigger&&this[e]){if(i)(A.event.special[e]||{}).delegateType&&t.stopPropagation();else if(i=o.call(arguments),ot.set(this,e,i),this[e](),n=ot.get(this,e),ot.set(this,e,!1),i!==n)return t.stopImmediatePropagation(),t.preventDefault(),n}else i&&(ot.set(this,e,A.event.trigger(i[0],i.slice(1),this)),t.stopPropagation(),t.isImmediatePropagationStopped=Lt)}})):void 0===ot.get(t,e)&&A.event.add(t,e,Lt)}A.event={global:{},add:function(t,e,n,i,o){var r,s,a,l,c,u,d,p,h,f,m,g=ot.get(t);if(nt(t))for(n.handler&&(n=(r=n).handler,o=r.selector),o&&A.find.matchesSelector(pt,o),n.guid||(n.guid=A.guid++),(l=g.events)||(l=g.events=Object.create(null)),(s=g.handle)||(s=g.handle=function(e){return void 0!==A&&A.event.triggered!==e.type?A.event.dispatch.apply(t,arguments):void 0}),c=(e=(e||"").match(W)||[""]).length;c--;)h=m=(a=jt.exec(e[c])||[])[1],f=(a[2]||"").split(".").sort(),h&&(d=A.event.special[h]||{},h=(o?d.delegateType:d.bindType)||h,d=A.event.special[h]||{},u=A.extend({type:h,origType:m,data:i,handler:n,guid:n.guid,selector:o,needsContext:o&&A.expr.match.needsContext.test(o),namespace:f.join(".")},r),(p=l[h])||((p=l[h]=[]).delegateCount=0,d.setup&&!1!==d.setup.call(t,i,f,s)||t.addEventListener&&t.addEventListener(h,s)),d.add&&(d.add.call(t,u),u.handler.guid||(u.handler.guid=n.guid)),o?p.splice(p.delegateCount++,0,u):p.push(u),A.event.global[h]=!0)},remove:function(t,e,n,i,o){var r,s,a,l,c,u,d,p,h,f,m,g=ot.hasData(t)&&ot.get(t);if(g&&(l=g.events)){for(c=(e=(e||"").match(W)||[""]).length;c--;)if(h=m=(a=jt.exec(e[c])||[])[1],f=(a[2]||"").split(".").sort(),h){for(d=A.event.special[h]||{},p=l[h=(i?d.delegateType:d.bindType)||h]||[],a=a[2]&&new RegExp("(^|\\.)"+f.join("\\.(?:.*\\.|)")+"(\\.|$)"),s=r=p.length;r--;)u=p[r],!o&&m!==u.origType||n&&n.guid!==u.guid||a&&!a.test(u.namespace)||i&&i!==u.selector&&("**"!==i||!u.selector)||(p.splice(r,1),u.selector&&p.delegateCount--,d.remove&&d.remove.call(t,u));s&&!p.length&&(d.teardown&&!1!==d.teardown.call(t,f,g.handle)||A.removeEvent(t,h,g.handle),delete l[h])}else for(h in l)A.event.remove(t,h+e[c],n,i,!0);A.isEmptyObject(l)&&ot.remove(t,"handle events")}},dispatch:function(t){var e,n,i,o,r,s,a=new Array(arguments.length),l=A.event.fix(t),c=(ot.get(this,"events")||Object.create(null))[l.type]||[],u=A.event.special[l.type]||{};for(a[0]=l,e=1;e<arguments.length;e++)a[e]=arguments[e];if(l.delegateTarget=this,!u.preDispatch||!1!==u.preDispatch.call(this,l)){for(s=A.event.handlers.call(this,l,c),e=0;(o=s[e++])&&!l.isPropagationStopped();)for(l.currentTarget=o.elem,n=0;(r=o.handlers[n++])&&!l.isImmediatePropagationStopped();)l.rnamespace&&!1!==r.namespace&&!l.rnamespace.test(r.namespace)||(l.handleObj=r,l.data=r.data,void 0!==(i=((A.event.special[r.origType]||{}).handle||r.handler).apply(o.elem,a))&&!1===(l.result=i)&&(l.preventDefault(),l.stopPropagation()));return u.postDispatch&&u.postDispatch.call(this,l),l.result}},handlers:function(t,e){var n,i,o,r,s,a=[],l=e.delegateCount,c=t.target;if(l&&c.nodeType&&!("click"===t.type&&t.button>=1))for(;c!==this;c=c.parentNode||this)if(1===c.nodeType&&("click"!==t.type||!0!==c.disabled)){for(r=[],s={},n=0;n<l;n++)void 0===s[o=(i=e[n]).selector+" "]&&(s[o]=i.needsContext?A(o,this).index(c)>-1:A.find(o,this,null,[c]).length),s[o]&&r.push(i);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(t,e){Object.defineProperty(A.Event.prototype,t,{enumerable:!0,configurable:!0,get:f(e)?function(){if(this.originalEvent)return e(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[t]},set:function(e){Object.defineProperty(this,t,{enumerable:!0,configurable:!0,writable:!0,value:e})}})},fix:function(t){return t[A.expando]?t:new A.Event(t)},special:{load:{noBubble:!0},click:{setup:function(t){
var e=this||t;return At.test(e.type)&&e.click&&C(e,"input")&&_t(e,"click",!0),!1},trigger:function(t){var e=this||t;return At.test(e.type)&&e.click&&C(e,"input")&&_t(e,"click"),!0},_default:function(t){var e=t.target;return At.test(e.type)&&e.click&&C(e,"input")&&ot.get(e,"click")||C(e,"a")}},beforeunload:{postDispatch:function(t){void 0!==t.result&&t.originalEvent&&(t.originalEvent.returnValue=t.result)}}}},A.removeEvent=function(t,e,n){t.removeEventListener&&t.removeEventListener(e,n)},A.Event=function(t,e){if(!(this instanceof A.Event))return new A.Event(t,e);t&&t.type?(this.originalEvent=t,this.type=t.type,this.isDefaultPrevented=t.defaultPrevented||void 0===t.defaultPrevented&&!1===t.returnValue?Lt:Nt,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&&A.extend(this,e),this.timeStamp=t&&t.timeStamp||Date.now(),this[A.expando]=!0},A.Event.prototype={constructor:A.Event,isDefaultPrevented:Nt,isPropagationStopped:Nt,isImmediatePropagationStopped:Nt,isSimulated:!1,preventDefault:function(){var t=this.originalEvent;this.isDefaultPrevented=Lt,t&&!this.isSimulated&&t.preventDefault()},stopPropagation:function(){var t=this.originalEvent;this.isPropagationStopped=Lt,t&&!this.isSimulated&&t.stopPropagation()},stopImmediatePropagation:function(){var t=this.originalEvent;this.isImmediatePropagationStopped=Lt,t&&!this.isSimulated&&t.stopImmediatePropagation(),this.stopPropagation()}},A.each({altKey:!0,bubbles:!0,cancelable:!0,changedTouches:!0,ctrlKey:!0,detail:!0,eventPhase:!0,metaKey:!0,pageX:!0,pageY:!0,shiftKey:!0,view:!0,char:!0,code:!0,charCode:!0,key:!0,keyCode:!0,button:!0,buttons:!0,clientX:!0,clientY:!0,offsetX:!0,offsetY:!0,pointerId:!0,pointerType:!0,screenX:!0,screenY:!0,targetTouches:!0,toElement:!0,touches:!0,which:!0},A.event.addProp),A.each({focus:"focusin",blur:"focusout"},function(t,e){function n(t){if(g.documentMode){var n=ot.get(this,"handle"),i=A.event.fix(t);i.type="focusin"===t.type?"focus":"blur",i.isSimulated=!0,n(t),i.target===i.currentTarget&&n(i)}else A.event.simulate(e,t.target,A.event.fix(t))}A.event.special[t]={setup:function(){var i;if(_t(this,t,!0),!g.documentMode)return!1;(i=ot.get(this,e))||this.addEventListener(e,n),ot.set(this,e,(i||0)+1)},trigger:function(){return _t(this,t),!0},teardown:function(){var t;if(!g.documentMode)return!1;(t=ot.get(this,e)-1)?ot.set(this,e,t):(this.removeEventListener(e,n),ot.remove(this,e))},_default:function(e){return ot.get(e.target,t)},delegateType:e},A.event.special[e]={setup:function(){var i=this.ownerDocument||this.document||this,o=g.documentMode?this:i,r=ot.get(o,e);r||(g.documentMode?this.addEventListener(e,n):i.addEventListener(t,n,!0)),ot.set(o,e,(r||0)+1)},teardown:function(){var i=this.ownerDocument||this.document||this,o=g.documentMode?this:i,r=ot.get(o,e)-1;r?ot.set(o,e,r):(g.documentMode?this.removeEventListener(e,n):i.removeEventListener(t,n,!0),ot.remove(o,e))}}}),A.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(t,e){A.event.special[t]={delegateType:e,bindType:e,handle:function(t){var n,i=t.relatedTarget,o=t.handleObj;return i&&(i===this||A.contains(this,i))||(t.type=o.origType,n=o.handler.apply(this,arguments),t.type=e),n}}}),A.fn.extend({on:function(t,e,n,i){return Ot(this,t,e,n,i)},one:function(t,e,n,i){return Ot(this,t,e,n,i,1)},off:function(t,e,n){var i,o;if(t&&t.preventDefault&&t.handleObj)return i=t.handleObj,A(t.delegateTarget).off(i.namespace?i.origType+"."+i.namespace:i.origType,i.selector,i.handler),this;if("object"==typeof t){for(o in t)this.off(o,e,t[o]);return this}return!1!==e&&"function"!=typeof e||(n=e,e=void 0),!1===n&&(n=Nt),this.each(function(){A.event.remove(this,t,n,e)})}});var It=/<script|<style|<link/i,Ht=/checked\s*(?:[^=]|=\s*.checked.)/i,Rt=/^\s*<!\[CDATA\[|\]\]>\s*$/g;function Pt(t,e){
return C(t,"table")&&C(11!==e.nodeType?e:e.firstChild,"tr")&&A(t).children("tbody")[0]||t}function Ft(t){return t.type=(null!==t.getAttribute("type"))+"/"+t.type,t}function Mt(t){return"true/"===(t.type||"").slice(0,5)?t.type=t.type.slice(5):t.removeAttribute("type"),t}function Bt(t,e){var n,i,o,r,s,a;if(1===e.nodeType){if(ot.hasData(t)&&(a=ot.get(t).events))for(o in ot.remove(e,"handle events"),a)for(n=0,i=a[o].length;n<i;n++)A.event.add(e,o,a[o][n]);rt.hasData(t)&&(r=rt.access(t),s=A.extend({},r),rt.set(e,s))}}function Qt(t,e){var n=e.nodeName.toLowerCase();"input"===n&&At.test(t.type)?e.checked=t.checked:"input"!==n&&"textarea"!==n||(e.defaultValue=t.defaultValue)}function qt(t,e,n,i){e=r(e);var o,s,a,l,c,u,d=0,p=t.length,m=p-1,g=e[0],v=f(g);if(v||p>1&&"string"==typeof g&&!h.checkClone&&Ht.test(g))return t.each(function(o){var r=t.eq(o);v&&(e[0]=g.call(this,o,r.html())),qt(r,e,n,i)});if(p&&(s=(o=Dt(e,t[0].ownerDocument,!1,t,i)).firstChild,1===o.childNodes.length&&(o=s),s||i)){for(l=(a=A.map(St(o,"script"),Ft)).length;d<p;d++)c=o,d!==m&&(c=A.clone(c,!0,!0),l&&A.merge(a,St(c,"script"))),n.call(t[d],c,d);if(l)for(u=a[a.length-1].ownerDocument,A.map(a,Mt),d=0;d<l;d++)c=a[d],Ct.test(c.type||"")&&!ot.access(c,"globalEval")&&A.contains(u,c)&&(c.src&&"module"!==(c.type||"").toLowerCase()?A._evalUrl&&!c.noModule&&A._evalUrl(c.src,{nonce:c.nonce||c.getAttribute("nonce")},u):y(c.textContent.replace(Rt,""),c,u))}return t}function Wt(t,e,n){for(var i,o=e?A.filter(e,t):t,r=0;null!=(i=o[r]);r++)n||1!==i.nodeType||A.cleanData(St(i)),i.parentNode&&(n&&ht(i)&&$t(St(i,"script")),i.parentNode.removeChild(i));return t}A.extend({htmlPrefilter:function(t){return t},clone:function(t,e,n){var i,o,r,s,a=t.cloneNode(!0),l=ht(t);if(!(h.noCloneChecked||1!==t.nodeType&&11!==t.nodeType||A.isXMLDoc(t)))for(s=St(a),i=0,o=(r=St(t)).length;i<o;i++)Qt(r[i],s[i]);if(e)if(n)for(r=r||St(t),s=s||St(a),i=0,o=r.length;i<o;i++)Bt(r[i],s[i]);else Bt(t,a);return(s=St(a,"script")).length>0&&$t(s,!l&&St(t,"script")),a},cleanData:function(t){for(var e,n,i,o=A.event.special,r=0;void 0!==(n=t[r]);r++)if(nt(n)){if(e=n[ot.expando]){if(e.events)for(i in e.events)o[i]?A.event.remove(n,i):A.removeEvent(n,i,e.handle);n[ot.expando]=void 0}n[rt.expando]&&(n[rt.expando]=void 0)}}}),A.fn.extend({detach:function(t){return Wt(this,t,!0)},remove:function(t){return Wt(this,t)},text:function(t){return J(this,function(t){return void 0===t?A.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 qt(this,arguments,function(t){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||Pt(this,t).appendChild(t)})},prepend:function(){return qt(this,arguments,function(t){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var e=Pt(this,t);e.insertBefore(t,e.firstChild)}})},before:function(){return qt(this,arguments,function(t){this.parentNode&&this.parentNode.insertBefore(t,this)})},after:function(){return qt(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&&(A.cleanData(St(t,!1)),t.textContent="");return this},clone:function(t,e){return t=null!=t&&t,e=null==e?t:e,this.map(function(){return A.clone(this,t,e)})},html:function(t){return J(this,function(t){var e=this[0]||{},n=0,i=this.length;if(void 0===t&&1===e.nodeType)return e.innerHTML;if("string"==typeof t&&!It.test(t)&&!kt[(Tt.exec(t)||["",""])[1].toLowerCase()]){t=A.htmlPrefilter(t);try{for(;n<i;n++)1===(e=this[n]||{}).nodeType&&(A.cleanData(St(e,!1)),e.innerHTML=t);e=0}catch(t){}}e&&this.empty().append(t)},null,t,arguments.length)},replaceWith:function(){var t=[];return qt(this,arguments,function(e){var n=this.parentNode;A.inArray(this,t)<0&&(A.cleanData(St(this)),n&&n.replaceChild(e,this))},t)}}),A.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",
replaceAll:"replaceWith"},function(t,e){A.fn[t]=function(t){for(var n,i=[],o=A(t),r=o.length-1,a=0;a<=r;a++)n=a===r?this:this.clone(!0),A(o[a])[e](n),s.apply(i,n.get());return this.pushStack(i)}});var Ut=new RegExp("^("+ct+")(?!px)[a-z%]+$","i"),zt=/^--/,Gt=function(e){var n=e.ownerDocument.defaultView;return n&&n.opener||(n=t),n.getComputedStyle(e)},Vt=function(t,e,n){var i,o,r={};for(o in e)r[o]=t.style[o],t.style[o]=e[o];for(o in i=n.call(t),e)t.style[o]=r[o];return i},Xt=new RegExp(dt.join("|"),"i");function Yt(t,e,n){var i,o,r,s,a=zt.test(e),l=t.style;return(n=n||Gt(t))&&(s=n.getPropertyValue(e)||n[e],a&&s&&(s=s.replace(D,"$1")||void 0),""!==s||ht(t)||(s=A.style(t,e)),!h.pixelBoxStyles()&&Ut.test(s)&&Xt.test(e)&&(i=l.width,o=l.minWidth,r=l.maxWidth,l.minWidth=l.maxWidth=l.width=s,s=n.width,l.width=i,l.minWidth=o,l.maxWidth=r)),void 0!==s?s+"":s}function Jt(t,e){return{get:function(){if(!t())return(this.get=e).apply(this,arguments);delete this.get}}}!function(){function e(){if(u){c.style.cssText="position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0",u.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%",pt.appendChild(c).appendChild(u);var e=t.getComputedStyle(u);i="1%"!==e.top,l=12===n(e.marginLeft),u.style.right="60%",s=36===n(e.right),o=36===n(e.width),u.style.position="absolute",r=12===n(u.offsetWidth/3),pt.removeChild(c),u=null}}function n(t){return Math.round(parseFloat(t))}var i,o,r,s,a,l,c=g.createElement("div"),u=g.createElement("div");u.style&&(u.style.backgroundClip="content-box",u.cloneNode(!0).style.backgroundClip="",h.clearCloneStyle="content-box"===u.style.backgroundClip,A.extend(h,{boxSizingReliable:function(){return e(),o},pixelBoxStyles:function(){return e(),s},pixelPosition:function(){return e(),i},reliableMarginLeft:function(){return e(),l},scrollboxSize:function(){return e(),r},reliableTrDimensions:function(){var e,n,i,o;return null==a&&(e=g.createElement("table"),n=g.createElement("tr"),i=g.createElement("div"),e.style.cssText="position:absolute;left:-11111px;border-collapse:separate",n.style.cssText="box-sizing:content-box;border:1px solid",n.style.height="1px",i.style.height="9px",i.style.display="block",pt.appendChild(e).appendChild(n).appendChild(i),o=t.getComputedStyle(n),a=parseInt(o.height,10)+parseInt(o.borderTopWidth,10)+parseInt(o.borderBottomWidth,10)===n.offsetHeight,pt.removeChild(e)),a}}))}();var Kt=["Webkit","Moz","ms"],Zt=g.createElement("div").style,te={};function ee(t){var e=A.cssProps[t]||te[t];return e||(t in Zt?t:te[t]=function(t){for(var e=t[0].toUpperCase()+t.slice(1),n=Kt.length;n--;)if((t=Kt[n]+e)in Zt)return t}(t)||t)}var ne=/^(none|table(?!-c[ea]).+)/,ie={position:"absolute",visibility:"hidden",display:"block"},oe={letterSpacing:"0",fontWeight:"400"};function re(t,e,n){var i=ut.exec(e);return i?Math.max(0,i[2]-(n||0))+(i[3]||"px"):e}function se(t,e,n,i,o,r){var s="width"===e?1:0,a=0,l=0,c=0;if(n===(i?"border":"content"))return 0;for(;s<4;s+=2)"margin"===n&&(c+=A.css(t,n+dt[s],!0,o)),i?("content"===n&&(l-=A.css(t,"padding"+dt[s],!0,o)),"margin"!==n&&(l-=A.css(t,"border"+dt[s]+"Width",!0,o))):(l+=A.css(t,"padding"+dt[s],!0,o),"padding"!==n?l+=A.css(t,"border"+dt[s]+"Width",!0,o):a+=A.css(t,"border"+dt[s]+"Width",!0,o));return!i&&r>=0&&(l+=Math.max(0,Math.ceil(t["offset"+e[0].toUpperCase()+e.slice(1)]-r-l-a-.5))||0),l+c}function ae(t,e,n){var i=Gt(t),o=(!h.boxSizingReliable()||n)&&"border-box"===A.css(t,"boxSizing",!1,i),r=o,s=Yt(t,e,i),a="offset"+e[0].toUpperCase()+e.slice(1);if(Ut.test(s)){if(!n)return s;s="auto"}return(!h.boxSizingReliable()&&o||!h.reliableTrDimensions()&&C(t,"tr")||"auto"===s||!parseFloat(s)&&"inline"===A.css(t,"display",!1,i))&&t.getClientRects().length&&(o="border-box"===A.css(t,"boxSizing",!1,i),(r=a in t)&&(s=t[a])),(s=parseFloat(s)||0)+se(t,e,n||(o?"border":"content"),r,i,s)+"px"}function le(t,e,n,i,o){return new le.prototype.init(t,e,n,i,o)}
A.extend({cssHooks:{opacity:{get:function(t,e){if(e){var n=Yt(t,"opacity");return""===n?"1":n}}}},cssNumber:{animationIterationCount:!0,aspectRatio:!0,borderImageSlice:!0,columnCount:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,gridArea:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,scale:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeMiterlimit:!0,strokeOpacity:!0},cssProps:{},style:function(t,e,n,i){if(t&&3!==t.nodeType&&8!==t.nodeType&&t.style){var o,r,s,a=et(e),l=zt.test(e),c=t.style;if(l||(e=ee(a)),s=A.cssHooks[e]||A.cssHooks[a],void 0===n)return s&&"get"in s&&void 0!==(o=s.get(t,!1,i))?o:c[e];"string"==(r=typeof n)&&(o=ut.exec(n))&&o[1]&&(n=gt(t,e,o),r="number"),null!=n&&n==n&&("number"!==r||l||(n+=o&&o[3]||(A.cssNumber[a]?"":"px")),h.clearCloneStyle||""!==n||0!==e.indexOf("background")||(c[e]="inherit"),s&&"set"in s&&void 0===(n=s.set(t,n,i))||(l?c.setProperty(e,n):c[e]=n))}},css:function(t,e,n,i){var o,r,s,a=et(e);return zt.test(e)||(e=ee(a)),(s=A.cssHooks[e]||A.cssHooks[a])&&"get"in s&&(o=s.get(t,!0,n)),void 0===o&&(o=Yt(t,e,i)),"normal"===o&&e in oe&&(o=oe[e]),""===n||n?(r=parseFloat(o),!0===n||isFinite(r)?r||0:o):o}}),A.each(["height","width"],function(t,e){A.cssHooks[e]={get:function(t,n,i){if(n)return!ne.test(A.css(t,"display"))||t.getClientRects().length&&t.getBoundingClientRect().width?ae(t,e,i):Vt(t,ie,function(){return ae(t,e,i)})},set:function(t,n,i){var o,r=Gt(t),s=!h.scrollboxSize()&&"absolute"===r.position,a=(s||i)&&"border-box"===A.css(t,"boxSizing",!1,r),l=i?se(t,e,i,a,r):0;return a&&s&&(l-=Math.ceil(t["offset"+e[0].toUpperCase()+e.slice(1)]-parseFloat(r[e])-se(t,e,"border",!1,r)-.5)),l&&(o=ut.exec(n))&&"px"!==(o[3]||"px")&&(t.style[e]=n,n=A.css(t,e)),re(0,n,l)}}}),A.cssHooks.marginLeft=Jt(h.reliableMarginLeft,function(t,e){if(e)return(parseFloat(Yt(t,"marginLeft"))||t.getBoundingClientRect().left-Vt(t,{marginLeft:0},function(){return t.getBoundingClientRect().left}))+"px"}),A.each({margin:"",padding:"",border:"Width"},function(t,e){A.cssHooks[t+e]={expand:function(n){for(var i=0,o={},r="string"==typeof n?n.split(" "):[n];i<4;i++)o[t+dt[i]+e]=r[i]||r[i-2]||r[0];return o}},"margin"!==t&&(A.cssHooks[t+e].set=re)}),A.fn.extend({css:function(t,e){return J(this,function(t,e,n){var i,o,r={},s=0;if(Array.isArray(e)){for(i=Gt(t),o=e.length;s<o;s++)r[e[s]]=A.css(t,e[s],!1,i);return r}return void 0!==n?A.style(t,e,n):A.css(t,e)},t,e,arguments.length>1)}}),A.Tween=le,le.prototype={constructor:le,init:function(t,e,n,i,o,r){this.elem=t,this.prop=n,this.easing=o||A.easing._default,this.options=e,this.start=this.now=this.cur(),this.end=i,this.unit=r||(A.cssNumber[n]?"":"px")},cur:function(){var t=le.propHooks[this.prop];return t&&t.get?t.get(this):le.propHooks._default.get(this)},run:function(t){var e,n=le.propHooks[this.prop];return this.options.duration?this.pos=e=A.easing[this.easing](t,this.options.duration*t,0,1,this.options.duration):this.pos=e=t,this.now=(this.end-this.start)*e+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):le.propHooks._default.set(this),this}},le.prototype.init.prototype=le.prototype,le.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=A.css(t.elem,t.prop,""))&&"auto"!==e?e:0},set:function(t){A.fx.step[t.prop]?A.fx.step[t.prop](t):1!==t.elem.nodeType||!A.cssHooks[t.prop]&&null==t.elem.style[ee(t.prop)]?t.elem[t.prop]=t.now:A.style(t.elem,t.prop,t.now+t.unit)}}},le.propHooks.scrollTop=le.propHooks.scrollLeft={set:function(t){t.elem.nodeType&&t.elem.parentNode&&(t.elem[t.prop]=t.now)}},A.easing={linear:function(t){return t},swing:function(t){return.5-Math.cos(t*Math.PI)/2},_default:"swing"},A.fx=le.prototype.init,A.fx.step={};var ce,ue,de=/^(?:toggle|show|hide)$/,pe=/queueHooks$/;function he(){
ue&&(!1===g.hidden&&t.requestAnimationFrame?t.requestAnimationFrame(he):t.setTimeout(he,A.fx.interval),A.fx.tick())}function fe(){return t.setTimeout(function(){ce=void 0}),ce=Date.now()}function me(t,e){var n,i=0,o={height:t};for(e=e?1:0;i<4;i+=2-e)o["margin"+(n=dt[i])]=o["padding"+n]=t;return e&&(o.opacity=o.width=t),o}function ge(t,e,n){for(var i,o=(ve.tweeners[e]||[]).concat(ve.tweeners["*"]),r=0,s=o.length;r<s;r++)if(i=o[r].call(n,e,t))return i}function ve(t,e,n){var i,o,r=0,s=ve.prefilters.length,a=A.Deferred().always(function(){delete l.elem}),l=function(){if(o)return!1;for(var e=ce||fe(),n=Math.max(0,c.startTime+c.duration-e),i=1-(n/c.duration||0),r=0,s=c.tweens.length;r<s;r++)c.tweens[r].run(i);return a.notifyWith(t,[c,i,n]),i<1&&s?n:(s||a.notifyWith(t,[c,1,0]),a.resolveWith(t,[c]),!1)},c=a.promise({elem:t,props:A.extend({},e),opts:A.extend(!0,{specialEasing:{},easing:A.easing._default},n),originalProperties:e,originalOptions:n,startTime:ce||fe(),duration:n.duration,tweens:[],createTween:function(e,n){var i=A.Tween(t,c.opts,e,n,c.opts.specialEasing[e]||c.opts.easing);return c.tweens.push(i),i},stop:function(e){var n=0,i=e?c.tweens.length:0;if(o)return this;for(o=!0;n<i;n++)c.tweens[n].run(1);return e?(a.notifyWith(t,[c,1,0]),a.resolveWith(t,[c,e])):a.rejectWith(t,[c,e]),this}}),u=c.props;for(function(t,e){var n,i,o,r,s;for(n in t)if(o=e[i=et(n)],r=t[n],Array.isArray(r)&&(o=r[1],r=t[n]=r[0]),n!==i&&(t[i]=r,delete t[n]),(s=A.cssHooks[i])&&"expand"in s)for(n in r=s.expand(r),delete t[i],r)n in t||(t[n]=r[n],e[n]=o);else e[i]=o}(u,c.opts.specialEasing);r<s;r++)if(i=ve.prefilters[r].call(c,t,u,c.opts))return f(i.stop)&&(A._queueHooks(c.elem,c.opts.queue).stop=i.stop.bind(i)),i;return A.map(u,ge,c),f(c.opts.start)&&c.opts.start.call(t,c),c.progress(c.opts.progress).done(c.opts.done,c.opts.complete).fail(c.opts.fail).always(c.opts.always),A.fx.timer(A.extend(l,{elem:t,anim:c,queue:c.opts.queue})),c}A.Animation=A.extend(ve,{tweeners:{"*":[function(t,e){var n=this.createTween(t,e);return gt(n.elem,t,ut.exec(e),n),n}]},tweener:function(t,e){f(t)?(e=t,t=["*"]):t=t.match(W);for(var n,i=0,o=t.length;i<o;i++)n=t[i],ve.tweeners[n]=ve.tweeners[n]||[],ve.tweeners[n].unshift(e)},prefilters:[function(t,e,n){var i,o,r,s,a,l,c,u,d="width"in e||"height"in e,p=this,h={},f=t.style,m=t.nodeType&&mt(t),g=ot.get(t,"fxshow");for(i in n.queue||(null==(s=A._queueHooks(t,"fx")).unqueued&&(s.unqueued=0,a=s.empty.fire,s.empty.fire=function(){s.unqueued||a()}),s.unqueued++,p.always(function(){p.always(function(){s.unqueued--,A.queue(t,"fx").length||s.empty.fire()})})),e)if(o=e[i],de.test(o)){if(delete e[i],r=r||"toggle"===o,o===(m?"hide":"show")){if("show"!==o||!g||void 0===g[i])continue;m=!0}h[i]=g&&g[i]||A.style(t,i)}if((l=!A.isEmptyObject(e))||!A.isEmptyObject(h))for(i in d&&1===t.nodeType&&(n.overflow=[f.overflow,f.overflowX,f.overflowY],null==(c=g&&g.display)&&(c=ot.get(t,"display")),"none"===(u=A.css(t,"display"))&&(c?u=c:(wt([t],!0),c=t.style.display||c,u=A.css(t,"display"),wt([t]))),("inline"===u||"inline-block"===u&&null!=c)&&"none"===A.css(t,"float")&&(l||(p.done(function(){f.display=c}),null==c&&(u=f.display,c="none"===u?"":u)),f.display="inline-block")),n.overflow&&(f.overflow="hidden",p.always(function(){f.overflow=n.overflow[0],f.overflowX=n.overflow[1],f.overflowY=n.overflow[2]})),l=!1,h)l||(g?"hidden"in g&&(m=g.hidden):g=ot.access(t,"fxshow",{display:c}),r&&(g.hidden=!m),m&&wt([t],!0),p.done(function(){for(i in m||wt([t]),ot.remove(t,"fxshow"),h)A.style(t,i,h[i])})),l=ge(m?g[i]:0,i,p),i in g||(g[i]=l.start,m&&(l.end=l.start,l.start=0))}],prefilter:function(t,e){e?ve.prefilters.unshift(t):ve.prefilters.push(t)}}),A.speed=function(t,e,n){var i=t&&"object"==typeof t?A.extend({},t):{complete:n||!n&&e||f(t)&&t,duration:t,easing:n&&e||e&&!f(e)&&e};return A.fx.off?i.duration=0:"number"!=typeof i.duration&&(i.duration in A.fx.speeds?i.duration=A.fx.speeds[i.duration]:i.duration=A.fx.speeds._default),null!=i.queue&&!0!==i.queue||(i.queue="fx"),
i.old=i.complete,i.complete=function(){f(i.old)&&i.old.call(this),i.queue&&A.dequeue(this,i.queue)},i},A.fn.extend({fadeTo:function(t,e,n,i){return this.filter(mt).css("opacity",0).show().end().animate({opacity:e},t,n,i)},animate:function(t,e,n,i){var o=A.isEmptyObject(t),r=A.speed(e,n,i),s=function(){var e=ve(this,A.extend({},t),r);(o||ot.get(this,"finish"))&&e.stop(!0)};return s.finish=s,o||!1===r.queue?this.each(s):this.queue(r.queue,s)},stop:function(t,e,n){var i=function(t){var e=t.stop;delete t.stop,e(n)};return"string"!=typeof t&&(n=e,e=t,t=void 0),e&&this.queue(t||"fx",[]),this.each(function(){var e=!0,o=null!=t&&t+"queueHooks",r=A.timers,s=ot.get(this);if(o)s[o]&&s[o].stop&&i(s[o]);else for(o in s)s[o]&&s[o].stop&&pe.test(o)&&i(s[o]);for(o=r.length;o--;)r[o].elem!==this||null!=t&&r[o].queue!==t||(r[o].anim.stop(n),e=!1,r.splice(o,1));!e&&n||A.dequeue(this,t)})},finish:function(t){return!1!==t&&(t=t||"fx"),this.each(function(){var e,n=ot.get(this),i=n[t+"queue"],o=n[t+"queueHooks"],r=A.timers,s=i?i.length:0;for(n.finish=!0,A.queue(this,t,[]),o&&o.stop&&o.stop.call(this,!0),e=r.length;e--;)r[e].elem===this&&r[e].queue===t&&(r[e].anim.stop(!0),r.splice(e,1));for(e=0;e<s;e++)i[e]&&i[e].finish&&i[e].finish.call(this);delete n.finish})}}),A.each(["toggle","show","hide"],function(t,e){var n=A.fn[e];A.fn[e]=function(t,i,o){return null==t||"boolean"==typeof t?n.apply(this,arguments):this.animate(me(e,!0),t,i,o)}}),A.each({slideDown:me("show"),slideUp:me("hide"),slideToggle:me("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(t,e){A.fn[t]=function(t,n,i){return this.animate(e,t,n,i)}}),A.timers=[],A.fx.tick=function(){var t,e=0,n=A.timers;for(ce=Date.now();e<n.length;e++)(t=n[e])()||n[e]!==t||n.splice(e--,1);n.length||A.fx.stop(),ce=void 0},A.fx.timer=function(t){A.timers.push(t),A.fx.start()},A.fx.interval=13,A.fx.start=function(){ue||(ue=!0,he())},A.fx.stop=function(){ue=null},A.fx.speeds={slow:600,fast:200,_default:400},A.fn.delay=function(e,n){return e=A.fx&&A.fx.speeds[e]||e,n=n||"fx",this.queue(n,function(n,i){var o=t.setTimeout(n,e);i.stop=function(){t.clearTimeout(o)}})},function(){var t=g.createElement("input"),e=g.createElement("select").appendChild(g.createElement("option"));t.type="checkbox",h.checkOn=""!==t.value,h.optSelected=e.selected,(t=g.createElement("input")).value="t",t.type="radio",h.radioValue="t"===t.value}();var ye,we=A.expr.attrHandle;A.fn.extend({attr:function(t,e){return J(this,A.attr,t,e,arguments.length>1)},removeAttr:function(t){return this.each(function(){A.removeAttr(this,t)})}}),A.extend({attr:function(t,e,n){var i,o,r=t.nodeType;if(3!==r&&8!==r&&2!==r)return void 0===t.getAttribute?A.prop(t,e,n):(1===r&&A.isXMLDoc(t)||(o=A.attrHooks[e.toLowerCase()]||(A.expr.match.bool.test(e)?ye:void 0)),void 0!==n?null===n?void A.removeAttr(t,e):o&&"set"in o&&void 0!==(i=o.set(t,n,e))?i:(t.setAttribute(e,n+""),n):o&&"get"in o&&null!==(i=o.get(t,e))?i:null==(i=A.find.attr(t,e))?void 0:i)},attrHooks:{type:{set:function(t,e){if(!h.radioValue&&"radio"===e&&C(t,"input")){var n=t.value;return t.setAttribute("type",e),n&&(t.value=n),e}}}},removeAttr:function(t,e){var n,i=0,o=e&&e.match(W);if(o&&1===t.nodeType)for(;n=o[i++];)t.removeAttribute(n)}}),ye={set:function(t,e,n){return!1===e?A.removeAttr(t,n):t.setAttribute(n,n),n}},A.each(A.expr.match.bool.source.match(/\w+/g),function(t,e){var n=we[e]||A.find.attr;we[e]=function(t,e,i){var o,r,s=e.toLowerCase();return i||(r=we[s],we[s]=o,o=null!=n(t,e,i)?s:null,we[s]=r),o}});var be=/^(?:input|select|textarea|button)$/i,xe=/^(?:a|area)$/i;function Ae(t){return(t.match(W)||[]).join(" ")}function Te(t){return t.getAttribute&&t.getAttribute("class")||""}function Ce(t){return Array.isArray(t)?t:"string"==typeof t&&t.match(W)||[]}A.fn.extend({prop:function(t,e){return J(this,A.prop,t,e,arguments.length>1)},removeProp:function(t){return this.each(function(){delete this[A.propFix[t]||t]})}}),A.extend({prop:function(t,e,n){
var i,o,r=t.nodeType;if(3!==r&&8!==r&&2!==r)return 1===r&&A.isXMLDoc(t)||(e=A.propFix[e]||e,o=A.propHooks[e]),void 0!==n?o&&"set"in o&&void 0!==(i=o.set(t,n,e))?i:t[e]=n:o&&"get"in o&&null!==(i=o.get(t,e))?i:t[e]},propHooks:{tabIndex:{get:function(t){var e=A.find.attr(t,"tabindex");return e?parseInt(e,10):be.test(t.nodeName)||xe.test(t.nodeName)&&t.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),h.optSelected||(A.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)}}),A.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){A.propFix[this.toLowerCase()]=this}),A.fn.extend({addClass:function(t){var e,n,i,o,r,s;return f(t)?this.each(function(e){A(this).addClass(t.call(this,e,Te(this)))}):(e=Ce(t)).length?this.each(function(){if(i=Te(this),n=1===this.nodeType&&" "+Ae(i)+" "){for(r=0;r<e.length;r++)o=e[r],n.indexOf(" "+o+" ")<0&&(n+=o+" ");s=Ae(n),i!==s&&this.setAttribute("class",s)}}):this},removeClass:function(t){var e,n,i,o,r,s;return f(t)?this.each(function(e){A(this).removeClass(t.call(this,e,Te(this)))}):arguments.length?(e=Ce(t)).length?this.each(function(){if(i=Te(this),n=1===this.nodeType&&" "+Ae(i)+" "){for(r=0;r<e.length;r++)for(o=e[r];n.indexOf(" "+o+" ")>-1;)n=n.replace(" "+o+" "," ");s=Ae(n),i!==s&&this.setAttribute("class",s)}}):this:this.attr("class","")},toggleClass:function(t,e){var n,i,o,r,s=typeof t,a="string"===s||Array.isArray(t);return f(t)?this.each(function(n){A(this).toggleClass(t.call(this,n,Te(this),e),e)}):"boolean"==typeof e&&a?e?this.addClass(t):this.removeClass(t):(n=Ce(t),this.each(function(){if(a)for(r=A(this),o=0;o<n.length;o++)i=n[o],r.hasClass(i)?r.removeClass(i):r.addClass(i);else void 0!==t&&"boolean"!==s||((i=Te(this))&&ot.set(this,"__className__",i),this.setAttribute&&this.setAttribute("class",i||!1===t?"":ot.get(this,"__className__")||""))}))},hasClass:function(t){var e,n,i=0;for(e=" "+t+" ";n=this[i++];)if(1===n.nodeType&&(" "+Ae(Te(n))+" ").indexOf(e)>-1)return!0;return!1}});var ke=/\r/g;A.fn.extend({val:function(t){var e,n,i,o=this[0];return arguments.length?(i=f(t),this.each(function(n){var o;1===this.nodeType&&(null==(o=i?t.call(this,n,A(this).val()):t)?o="":"number"==typeof o?o+="":Array.isArray(o)&&(o=A.map(o,function(t){return null==t?"":t+""})),(e=A.valHooks[this.type]||A.valHooks[this.nodeName.toLowerCase()])&&"set"in e&&void 0!==e.set(this,o,"value")||(this.value=o))})):o?(e=A.valHooks[o.type]||A.valHooks[o.nodeName.toLowerCase()])&&"get"in e&&void 0!==(n=e.get(o,"value"))?n:"string"==typeof(n=o.value)?n.replace(ke,""):null==n?"":n:void 0}}),A.extend({valHooks:{option:{get:function(t){var e=A.find.attr(t,"value");return null!=e?e:Ae(A.text(t))}},select:{get:function(t){var e,n,i,o=t.options,r=t.selectedIndex,s="select-one"===t.type,a=s?null:[],l=s?r+1:o.length;for(i=r<0?l:s?r:0;i<l;i++)if(((n=o[i]).selected||i===r)&&!n.disabled&&(!n.parentNode.disabled||!C(n.parentNode,"optgroup"))){if(e=A(n).val(),s)return e;a.push(e)}return a},set:function(t,e){for(var n,i,o=t.options,r=A.makeArray(e),s=o.length;s--;)((i=o[s]).selected=A.inArray(A.valHooks.option.get(i),r)>-1)&&(n=!0);return n||(t.selectedIndex=-1),r}}}}),A.each(["radio","checkbox"],function(){A.valHooks[this]={set:function(t,e){if(Array.isArray(e))return t.checked=A.inArray(A(t).val(),e)>-1}},h.checkOn||(A.valHooks[this].get=function(t){return null===t.getAttribute("value")?"on":t.value})});var Se=t.location,$e={guid:Date.now()},Ee=/\?/;A.parseXML=function(e){var n,i;if(!e||"string"!=typeof e)return null;try{n=(new t.DOMParser).parseFromString(e,"text/xml")}catch(t){}return i=n&&n.getElementsByTagName("parsererror")[0],n&&!i||A.error("Invalid XML: "+(i?A.map(i.childNodes,function(t){return t.textContent}).join("\n"):e)),n};var De=/^(?:focusinfocus|focusoutblur)$/,je=function(t){
t.stopPropagation()};A.extend(A.event,{trigger:function(e,n,i,o){var r,s,a,l,c,d,p,h,v=[i||g],y=u.call(e,"type")?e.type:e,w=u.call(e,"namespace")?e.namespace.split("."):[];if(s=h=a=i=i||g,3!==i.nodeType&&8!==i.nodeType&&!De.test(y+A.event.triggered)&&(y.indexOf(".")>-1&&(w=y.split("."),y=w.shift(),w.sort()),c=y.indexOf(":")<0&&"on"+y,(e=e[A.expando]?e:new A.Event(y,"object"==typeof e&&e)).isTrigger=o?2:3,e.namespace=w.join("."),e.rnamespace=e.namespace?new RegExp("(^|\\.)"+w.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,e.result=void 0,e.target||(e.target=i),n=null==n?[e]:A.makeArray(n,[e]),p=A.event.special[y]||{},o||!p.trigger||!1!==p.trigger.apply(i,n))){if(!o&&!p.noBubble&&!m(i)){for(l=p.delegateType||y,De.test(l+y)||(s=s.parentNode);s;s=s.parentNode)v.push(s),a=s;a===(i.ownerDocument||g)&&v.push(a.defaultView||a.parentWindow||t)}for(r=0;(s=v[r++])&&!e.isPropagationStopped();)h=s,e.type=r>1?l:p.bindType||y,(d=(ot.get(s,"events")||Object.create(null))[e.type]&&ot.get(s,"handle"))&&d.apply(s,n),(d=c&&s[c])&&d.apply&&nt(s)&&(e.result=d.apply(s,n),!1===e.result&&e.preventDefault());return e.type=y,o||e.isDefaultPrevented()||p._default&&!1!==p._default.apply(v.pop(),n)||!nt(i)||c&&f(i[y])&&!m(i)&&((a=i[c])&&(i[c]=null),A.event.triggered=y,e.isPropagationStopped()&&h.addEventListener(y,je),i[y](),e.isPropagationStopped()&&h.removeEventListener(y,je),A.event.triggered=void 0,a&&(i[c]=a)),e.result}},simulate:function(t,e,n){var i=A.extend(new A.Event,n,{type:t,isSimulated:!0});A.event.trigger(i,null,e)}}),A.fn.extend({trigger:function(t,e){return this.each(function(){A.event.trigger(t,e,this)})},triggerHandler:function(t,e){var n=this[0];if(n)return A.event.trigger(t,e,n,!0)}});var Le=/\[\]$/,Ne=/\r?\n/g,Oe=/^(?:submit|button|image|reset|file)$/i,_e=/^(?:input|select|textarea|keygen)/i;function Ie(t,e,n,i){var o;if(Array.isArray(e))A.each(e,function(e,o){n||Le.test(t)?i(t,o):Ie(t+"["+("object"==typeof o&&null!=o?e:"")+"]",o,n,i)});else if(n||"object"!==w(e))i(t,e);else for(o in e)Ie(t+"["+o+"]",e[o],n,i)}A.param=function(t,e){var n,i=[],o=function(t,e){var n=f(e)?e():e;i[i.length]=encodeURIComponent(t)+"="+encodeURIComponent(null==n?"":n)};if(null==t)return"";if(Array.isArray(t)||t.jquery&&!A.isPlainObject(t))A.each(t,function(){o(this.name,this.value)});else for(n in t)Ie(n,t[n],e,o);return i.join("&")},A.fn.extend({serialize:function(){return A.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var t=A.prop(this,"elements");return t?A.makeArray(t):this}).filter(function(){var t=this.type;return this.name&&!A(this).is(":disabled")&&_e.test(this.nodeName)&&!Oe.test(t)&&(this.checked||!At.test(t))}).map(function(t,e){var n=A(this).val();return null==n?null:Array.isArray(n)?A.map(n,function(t){return{name:e.name,value:t.replace(Ne,"\r\n")}}):{name:e.name,value:n.replace(Ne,"\r\n")}}).get()}});var He=/%20/g,Re=/#.*$/,Pe=/([?&])_=[^&]*/,Fe=/^(.*?):[ \t]*([^\r\n]*)$/gm,Me=/^(?:GET|HEAD)$/,Be=/^\/\//,Qe={},qe={},We="*/".concat("*"),Ue=g.createElement("a");function ze(t){return function(e,n){"string"!=typeof e&&(n=e,e="*");var i,o=0,r=e.toLowerCase().match(W)||[];if(f(n))for(;i=r[o++];)"+"===i[0]?(i=i.slice(1)||"*",(t[i]=t[i]||[]).unshift(n)):(t[i]=t[i]||[]).push(n)}}function Ge(t,e,n,i){var o={},r=t===qe;function s(a){var l;return o[a]=!0,A.each(t[a]||[],function(t,a){var c=a(e,n,i);return"string"!=typeof c||r||o[c]?r?!(l=c):void 0:(e.dataTypes.unshift(c),s(c),!1)}),l}return s(e.dataTypes[0])||!o["*"]&&s("*")}function Ve(t,e){var n,i,o=A.ajaxSettings.flatOptions||{};for(n in e)void 0!==e[n]&&((o[n]?t:i||(i={}))[n]=e[n]);return i&&A.extend(!0,t,i),t}Ue.href=Se.href,A.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:Se.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(Se.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":We,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",
json:"application/json, text/javascript"},contents:{xml:/\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":A.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(t,e){return e?Ve(Ve(t,A.ajaxSettings),e):Ve(A.ajaxSettings,t)},ajaxPrefilter:ze(Qe),ajaxTransport:ze(qe),ajax:function(e,n){"object"==typeof e&&(n=e,e=void 0),n=n||{};var i,o,r,s,a,l,c,u,d,p,h=A.ajaxSetup({},n),f=h.context||h,m=h.context&&(f.nodeType||f.jquery)?A(f):A.event,v=A.Deferred(),y=A.Callbacks("once memory"),w=h.statusCode||{},b={},x={},T="canceled",C={readyState:0,getResponseHeader:function(t){var e;if(c){if(!s)for(s={};e=Fe.exec(r);)s[e[1].toLowerCase()+" "]=(s[e[1].toLowerCase()+" "]||[]).concat(e[2]);e=s[t.toLowerCase()+" "]}return null==e?null:e.join(", ")},getAllResponseHeaders:function(){return c?r:null},setRequestHeader:function(t,e){return null==c&&(t=x[t.toLowerCase()]=x[t.toLowerCase()]||t,b[t]=e),this},overrideMimeType:function(t){return null==c&&(h.mimeType=t),this},statusCode:function(t){var e;if(t)if(c)C.always(t[C.status]);else for(e in t)w[e]=[w[e],t[e]];return this},abort:function(t){var e=t||T;return i&&i.abort(e),k(0,e),this}};if(v.promise(C),h.url=((e||h.url||Se.href)+"").replace(Be,Se.protocol+"//"),h.type=n.method||n.type||h.method||h.type,h.dataTypes=(h.dataType||"*").toLowerCase().match(W)||[""],null==h.crossDomain){l=g.createElement("a");try{l.href=h.url,l.href=l.href,h.crossDomain=Ue.protocol+"//"+Ue.host!=l.protocol+"//"+l.host}catch(t){h.crossDomain=!0}}if(h.data&&h.processData&&"string"!=typeof h.data&&(h.data=A.param(h.data,h.traditional)),Ge(Qe,h,n,C),c)return C;for(d in(u=A.event&&h.global)&&0===A.active++&&A.event.trigger("ajaxStart"),h.type=h.type.toUpperCase(),h.hasContent=!Me.test(h.type),o=h.url.replace(Re,""),h.hasContent?h.data&&h.processData&&0===(h.contentType||"").indexOf("application/x-www-form-urlencoded")&&(h.data=h.data.replace(He,"+")):(p=h.url.slice(o.length),h.data&&(h.processData||"string"==typeof h.data)&&(o+=(Ee.test(o)?"&":"?")+h.data,delete h.data),!1===h.cache&&(o=o.replace(Pe,"$1"),p=(Ee.test(o)?"&":"?")+"_="+$e.guid+++p),h.url=o+p),h.ifModified&&(A.lastModified[o]&&C.setRequestHeader("If-Modified-Since",A.lastModified[o]),A.etag[o]&&C.setRequestHeader("If-None-Match",A.etag[o])),(h.data&&h.hasContent&&!1!==h.contentType||n.contentType)&&C.setRequestHeader("Content-Type",h.contentType),C.setRequestHeader("Accept",h.dataTypes[0]&&h.accepts[h.dataTypes[0]]?h.accepts[h.dataTypes[0]]+("*"!==h.dataTypes[0]?", "+We+"; q=0.01":""):h.accepts["*"]),h.headers)C.setRequestHeader(d,h.headers[d]);if(h.beforeSend&&(!1===h.beforeSend.call(f,C,h)||c))return C.abort();if(T="abort",y.add(h.complete),C.done(h.success),C.fail(h.error),i=Ge(qe,h,n,C)){if(C.readyState=1,u&&m.trigger("ajaxSend",[C,h]),c)return C;h.async&&h.timeout>0&&(a=t.setTimeout(function(){C.abort("timeout")},h.timeout));try{c=!1,i.send(b,k)}catch(t){if(c)throw t;k(-1,t)}}else k(-1,"No Transport");function k(e,n,s,l){var d,p,g,b,x,T=n;c||(c=!0,a&&t.clearTimeout(a),i=void 0,r=l||"",C.readyState=e>0?4:0,d=e>=200&&e<300||304===e,s&&(b=function(t,e,n){for(var i,o,r,s,a=t.contents,l=t.dataTypes;"*"===l[0];)l.shift(),void 0===i&&(i=t.mimeType||e.getResponseHeader("Content-Type"));if(i)for(o in a)if(a[o]&&a[o].test(i)){l.unshift(o);break}if(l[0]in n)r=l[0];else{for(o in n){if(!l[0]||t.converters[o+" "+l[0]]){r=o;break}s||(s=o)}r=r||s}if(r)return r!==l[0]&&l.unshift(r),n[r]}(h,C,s)),!d&&A.inArray("script",h.dataTypes)>-1&&A.inArray("json",h.dataTypes)<0&&(h.converters["text script"]=function(){}),b=function(t,e,n,i){var o,r,s,a,l,c={},u=t.dataTypes.slice();if(u[1])for(s in t.converters)c[s.toLowerCase()]=t.converters[s];for(r=u.shift();r;)if(t.responseFields[r]&&(n[t.responseFields[r]]=e),!l&&i&&t.dataFilter&&(e=t.dataFilter(e,t.dataType)),l=r,r=u.shift())if("*"===r)r=l;else if("*"!==l&&l!==r){
if(!(s=c[l+" "+r]||c["* "+r]))for(o in c)if((a=o.split(" "))[1]===r&&(s=c[l+" "+a[0]]||c["* "+a[0]])){!0===s?s=c[o]:!0!==c[o]&&(r=a[0],u.unshift(a[1]));break}if(!0!==s)if(s&&t.throws)e=s(e);else try{e=s(e)}catch(t){return{state:"parsererror",error:s?t:"No conversion from "+l+" to "+r}}}return{state:"success",data:e}}(h,b,C,d),d?(h.ifModified&&((x=C.getResponseHeader("Last-Modified"))&&(A.lastModified[o]=x),(x=C.getResponseHeader("etag"))&&(A.etag[o]=x)),204===e||"HEAD"===h.type?T="nocontent":304===e?T="notmodified":(T=b.state,p=b.data,d=!(g=b.error))):(g=T,!e&&T||(T="error",e<0&&(e=0))),C.status=e,C.statusText=(n||T)+"",d?v.resolveWith(f,[p,T,C]):v.rejectWith(f,[C,T,g]),C.statusCode(w),w=void 0,u&&m.trigger(d?"ajaxSuccess":"ajaxError",[C,h,d?p:g]),y.fireWith(f,[C,T]),u&&(m.trigger("ajaxComplete",[C,h]),--A.active||A.event.trigger("ajaxStop")))}return C},getJSON:function(t,e,n){return A.get(t,e,n,"json")},getScript:function(t,e){return A.get(t,void 0,e,"script")}}),A.each(["get","post"],function(t,e){A[e]=function(t,n,i,o){return f(n)&&(o=o||i,i=n,n=void 0),A.ajax(A.extend({url:t,type:e,dataType:o,data:n,success:i},A.isPlainObject(t)&&t))}}),A.ajaxPrefilter(function(t){var e;for(e in t.headers)"content-type"===e.toLowerCase()&&(t.contentType=t.headers[e]||"")}),A._evalUrl=function(t,e,n){return A.ajax({url:t,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(t){A.globalEval(t,e,n)}})},A.fn.extend({wrapAll:function(t){var e;return this[0]&&(f(t)&&(t=t.call(this[0])),e=A(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(t){return f(t)?this.each(function(e){A(this).wrapInner(t.call(this,e))}):this.each(function(){var e=A(this),n=e.contents();n.length?n.wrapAll(t):e.append(t)})},wrap:function(t){var e=f(t);return this.each(function(n){A(this).wrapAll(e?t.call(this,n):t)})},unwrap:function(t){return this.parent(t).not("body").each(function(){A(this).replaceWith(this.childNodes)}),this}}),A.expr.pseudos.hidden=function(t){return!A.expr.pseudos.visible(t)},A.expr.pseudos.visible=function(t){return!!(t.offsetWidth||t.offsetHeight||t.getClientRects().length)},A.ajaxSettings.xhr=function(){try{return new t.XMLHttpRequest}catch(t){}};var Xe={0:200,1223:204},Ye=A.ajaxSettings.xhr();h.cors=!!Ye&&"withCredentials"in Ye,h.ajax=Ye=!!Ye,A.ajaxTransport(function(e){var n,i;if(h.cors||Ye&&!e.crossDomain)return{send:function(o,r){var s,a=e.xhr();if(a.open(e.type,e.url,e.async,e.username,e.password),e.xhrFields)for(s in e.xhrFields)a[s]=e.xhrFields[s];for(s in e.mimeType&&a.overrideMimeType&&a.overrideMimeType(e.mimeType),e.crossDomain||o["X-Requested-With"]||(o["X-Requested-With"]="XMLHttpRequest"),o)a.setRequestHeader(s,o[s]);n=function(t){return function(){n&&(n=i=a.onload=a.onerror=a.onabort=a.ontimeout=a.onreadystatechange=null,"abort"===t?a.abort():"error"===t?"number"!=typeof a.status?r(0,"error"):r(a.status,a.statusText):r(Xe[a.status]||a.status,a.statusText,"text"!==(a.responseType||"text")||"string"!=typeof a.responseText?{binary:a.response}:{text:a.responseText},a.getAllResponseHeaders()))}},a.onload=n(),i=a.onerror=a.ontimeout=n("error"),void 0!==a.onabort?a.onabort=i:a.onreadystatechange=function(){4===a.readyState&&t.setTimeout(function(){n&&i()})},n=n("abort");try{a.send(e.hasContent&&e.data||null)}catch(t){if(n)throw t}},abort:function(){n&&n()}}}),A.ajaxPrefilter(function(t){t.crossDomain&&(t.contents.script=!1)}),A.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 A.globalEval(t),t}}}),A.ajaxPrefilter("script",function(t){void 0===t.cache&&(t.cache=!1),t.crossDomain&&(t.type="GET")}),A.ajaxTransport("script",function(t){var e,n
;if(t.crossDomain||t.scriptAttrs)return{send:function(i,o){e=A("<script>").attr(t.scriptAttrs||{}).prop({charset:t.scriptCharset,src:t.url}).on("load error",n=function(t){e.remove(),n=null,t&&o("error"===t.type?404:200,t.type)}),g.head.appendChild(e[0])},abort:function(){n&&n()}}});var Je,Ke=[],Ze=/(=)\?(?=&|$)|\?\?/;A.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var t=Ke.pop()||A.expando+"_"+$e.guid++;return this[t]=!0,t}}),A.ajaxPrefilter("json jsonp",function(e,n,i){var o,r,s,a=!1!==e.jsonp&&(Ze.test(e.url)?"url":"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&Ze.test(e.data)&&"data");if(a||"jsonp"===e.dataTypes[0])return o=e.jsonpCallback=f(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,a?e[a]=e[a].replace(Ze,"$1"+o):!1!==e.jsonp&&(e.url+=(Ee.test(e.url)?"&":"?")+e.jsonp+"="+o),e.converters["script json"]=function(){return s||A.error(o+" was not called"),s[0]},e.dataTypes[0]="json",r=t[o],t[o]=function(){s=arguments},i.always(function(){void 0===r?A(t).removeProp(o):t[o]=r,e[o]&&(e.jsonpCallback=n.jsonpCallback,Ke.push(o)),s&&f(r)&&r(s[0]),s=r=void 0}),"script"}),h.createHTMLDocument=((Je=g.implementation.createHTMLDocument("").body).innerHTML="<form></form><form></form>",2===Je.childNodes.length),A.parseHTML=function(t,e,n){return"string"!=typeof t?[]:("boolean"==typeof e&&(n=e,e=!1),e||(h.createHTMLDocument?((i=(e=g.implementation.createHTMLDocument("")).createElement("base")).href=g.location.href,e.head.appendChild(i)):e=g),r=!n&&[],(o=R.exec(t))?[e.createElement(o[1])]:(o=Dt([t],e,r),r&&r.length&&A(r).remove(),A.merge([],o.childNodes)));var i,o,r},A.fn.load=function(t,e,n){var i,o,r,s=this,a=t.indexOf(" ");return a>-1&&(i=Ae(t.slice(a)),t=t.slice(0,a)),f(e)?(n=e,e=void 0):e&&"object"==typeof e&&(o="POST"),s.length>0&&A.ajax({url:t,type:o||"GET",dataType:"html",data:e}).done(function(t){r=arguments,s.html(i?A("<div>").append(A.parseHTML(t)).find(i):t)}).always(n&&function(t,e){s.each(function(){n.apply(this,r||[t.responseText,e,t])})}),this},A.expr.pseudos.animated=function(t){return A.grep(A.timers,function(e){return t===e.elem}).length},A.offset={setOffset:function(t,e,n){var i,o,r,s,a,l,c=A.css(t,"position"),u=A(t),d={};"static"===c&&(t.style.position="relative"),a=u.offset(),r=A.css(t,"top"),l=A.css(t,"left"),("absolute"===c||"fixed"===c)&&(r+l).indexOf("auto")>-1?(s=(i=u.position()).top,o=i.left):(s=parseFloat(r)||0,o=parseFloat(l)||0),f(e)&&(e=e.call(t,n,A.extend({},a))),null!=e.top&&(d.top=e.top-a.top+s),null!=e.left&&(d.left=e.left-a.left+o),"using"in e?e.using.call(t,d):u.css(d)}},A.fn.extend({offset:function(t){if(arguments.length)return void 0===t?this:this.each(function(e){A.offset.setOffset(this,t,e)});var e,n,i=this[0];return i?i.getClientRects().length?(e=i.getBoundingClientRect(),n=i.ownerDocument.defaultView,{top:e.top+n.pageYOffset,left:e.left+n.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var t,e,n,i=this[0],o={top:0,left:0};if("fixed"===A.css(i,"position"))e=i.getBoundingClientRect();else{for(e=this.offset(),n=i.ownerDocument,t=i.offsetParent||n.documentElement;t&&(t===n.body||t===n.documentElement)&&"static"===A.css(t,"position");)t=t.parentNode;t&&t!==i&&1===t.nodeType&&((o=A(t).offset()).top+=A.css(t,"borderTopWidth",!0),o.left+=A.css(t,"borderLeftWidth",!0))}return{top:e.top-o.top-A.css(i,"marginTop",!0),left:e.left-o.left-A.css(i,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var t=this.offsetParent;t&&"static"===A.css(t,"position");)t=t.offsetParent;return t||pt})}}),A.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(t,e){var n="pageYOffset"===e;A.fn[t]=function(i){return J(this,function(t,i,o){var r;if(m(t)?r=t:9===t.nodeType&&(r=t.defaultView),void 0===o)return r?r[e]:t[i];r?r.scrollTo(n?r.pageXOffset:o,n?o:r.pageYOffset):t[i]=o},t,i,arguments.length)}}),A.each(["top","left"],function(t,e){A.cssHooks[e]=Jt(h.pixelPosition,function(t,n){if(n)return n=Yt(t,e),
Ut.test(n)?A(t).position()[e]+"px":n})}),A.each({Height:"height",Width:"width"},function(t,e){A.each({padding:"inner"+t,content:e,"":"outer"+t},function(n,i){A.fn[i]=function(o,r){var s=arguments.length&&(n||"boolean"!=typeof o),a=n||(!0===o||!0===r?"margin":"border");return J(this,function(e,n,o){var r;return m(e)?0===i.indexOf("outer")?e["inner"+t]:e.document.documentElement["client"+t]:9===e.nodeType?(r=e.documentElement,Math.max(e.body["scroll"+t],r["scroll"+t],e.body["offset"+t],r["offset"+t],r["client"+t])):void 0===o?A.css(e,n,a):A.style(e,n,o,a)},e,s?o:void 0,s)}})}),A.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(t,e){A.fn[e]=function(t){return this.on(e,t)}}),A.fn.extend({bind:function(t,e,n){return this.on(t,null,e,n)},unbind:function(t,e){return this.off(t,null,e)},delegate:function(t,e,n,i){return this.on(e,t,n,i)},undelegate:function(t,e,n){return 1===arguments.length?this.off(t,"**"):this.off(e,t||"**",n)},hover:function(t,e){return this.on("mouseenter",t).on("mouseleave",e||t)}}),A.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,e){A.fn[e]=function(t,n){return arguments.length>0?this.on(e,null,t,n):this.trigger(e)}});var tn=/^[\s\uFEFF\xA0]+|([^\s\uFEFF\xA0])[\s\uFEFF\xA0]+$/g;A.proxy=function(t,e){var n,i,r;if("string"==typeof e&&(n=t[e],e=t,t=n),f(t))return i=o.call(arguments,2),r=function(){return t.apply(e||this,i.concat(o.call(arguments)))},r.guid=t.guid=t.guid||A.guid++,r},A.holdReady=function(t){t?A.readyWait++:A.ready(!0)},A.isArray=Array.isArray,A.parseJSON=JSON.parse,A.nodeName=C,A.isFunction=f,A.isWindow=m,A.camelCase=et,A.type=w,A.now=Date.now,A.isNumeric=function(t){var e=A.type(t);return("number"===e||"string"===e)&&!isNaN(t-parseFloat(t))},A.trim=function(t){return null==t?"":(t+"").replace(tn,"$1")};var en=t.jQuery,nn=t.$;return A.noConflict=function(e){return t.$===A&&(t.$=nn),e&&t.jQuery===A&&(t.jQuery=en),A},void 0===e&&(t.jQuery=t.$=A),A})),m.exports;var t}var w,b=h(y()),x={exports:{}};var A=h((w||(w=1,x.exports=function(){function t(){return"undefined"!=typeof window}function e(){var t=!1;try{var e={get passive(){t=!0}};window.addEventListener("test",e,e),window.removeEventListener("test",e,e)}catch(e){t=!1}return t}function n(){return!!(t()&&function(){}.bind&&"classList"in document.documentElement&&Object.assign&&Object.keys&&requestAnimationFrame)}function i(t){return 9===t.nodeType}function o(t){return t&&t.document&&i(t.document)}function r(t){var e=t.document,n=e.body,i=e.documentElement;return{scrollHeight:function(){return Math.max(n.scrollHeight,i.scrollHeight,n.offsetHeight,i.offsetHeight,n.clientHeight,i.clientHeight)},height:function(){return t.innerHeight||i.clientHeight||n.clientHeight},scrollY:function(){return void 0!==t.pageYOffset?t.pageYOffset:(i||n.parentNode||n).scrollTop}}}function s(t){return{scrollHeight:function(){return Math.max(t.scrollHeight,t.offsetHeight,t.clientHeight)},height:function(){return Math.max(t.offsetHeight,t.clientHeight)},scrollY:function(){return t.scrollTop}}}function a(t){return o(t)?r(t):s(t)}function l(t,n,i){var o,r=e(),s=!1,l=a(t),c=l.scrollY(),u={};function d(){var t=Math.round(l.scrollY()),e=l.height(),o=l.scrollHeight();u.scrollY=t,u.lastScrollY=c,u.direction=t>c?"down":"up",u.distance=Math.abs(t-c),u.isOutOfBounds=t<0||t+e>o,u.top=t<=n.offset[u.direction],u.bottom=t+e>=o,u.toleranceExceeded=u.distance>n.tolerance[u.direction],i(u),c=t,s=!1}function p(){s||(s=!0,o=requestAnimationFrame(d))}var h=!!r&&{passive:!0,capture:!1};return t.addEventListener("scroll",p,h),d(),{destroy:function(){cancelAnimationFrame(o),t.removeEventListener("scroll",p,h)}}}function c(t){return t===Object(t)?t:{down:t,up:t}}function u(t,e){e=e||{},Object.assign(this,u.options,e),this.classes=Object.assign({},u.options.classes,e.classes),this.elem=t,
this.tolerance=c(this.tolerance),this.offset=c(this.offset),this.initialised=!1,this.frozen=!1}return u.prototype={constructor:u,init:function(){return u.cutsTheMustard&&!this.initialised&&(this.addClass("initial"),this.initialised=!0,setTimeout(function(t){t.scrollTracker=l(t.scroller,{offset:t.offset,tolerance:t.tolerance},t.update.bind(t))},100,this)),this},destroy:function(){this.initialised=!1,Object.keys(this.classes).forEach(this.removeClass,this),this.scrollTracker.destroy()},unpin:function(){!this.hasClass("pinned")&&this.hasClass("unpinned")||(this.addClass("unpinned"),this.removeClass("pinned"),this.onUnpin&&this.onUnpin.call(this))},pin:function(){this.hasClass("unpinned")&&(this.addClass("pinned"),this.removeClass("unpinned"),this.onPin&&this.onPin.call(this))},freeze:function(){this.frozen=!0,this.addClass("frozen")},unfreeze:function(){this.frozen=!1,this.removeClass("frozen")},top:function(){this.hasClass("top")||(this.addClass("top"),this.removeClass("notTop"),this.onTop&&this.onTop.call(this))},notTop:function(){this.hasClass("notTop")||(this.addClass("notTop"),this.removeClass("top"),this.onNotTop&&this.onNotTop.call(this))},bottom:function(){this.hasClass("bottom")||(this.addClass("bottom"),this.removeClass("notBottom"),this.onBottom&&this.onBottom.call(this))},notBottom:function(){this.hasClass("notBottom")||(this.addClass("notBottom"),this.removeClass("bottom"),this.onNotBottom&&this.onNotBottom.call(this))},shouldUnpin:function(t){return"down"===t.direction&&!t.top&&t.toleranceExceeded},shouldPin:function(t){return"up"===t.direction&&t.toleranceExceeded||t.top},addClass:function(t){this.elem.classList.add.apply(this.elem.classList,this.classes[t].split(" "))},removeClass:function(t){this.elem.classList.remove.apply(this.elem.classList,this.classes[t].split(" "))},hasClass:function(t){return this.classes[t].split(" ").every(function(t){return this.classList.contains(t)},this.elem)},update:function(t){t.isOutOfBounds||!0!==this.frozen&&(t.top?this.top():this.notTop(),t.bottom?this.bottom():this.notBottom(),this.shouldUnpin(t)?this.unpin():this.shouldPin(t)&&this.pin())}},u.options={tolerance:{up:0,down:0},offset:0,scroller:t()?window:null,classes:{frozen:"headroom--frozen",pinned:"headroom--pinned",unpinned:"headroom--unpinned",top:"headroom--top",notTop:"headroom--not-top",bottom:"headroom--bottom",notBottom:"headroom--not-bottom",initial:"headroom"}},u.cutsTheMustard=n(),u}()),x.exports));window.jQuery=b,window.Headroom=A;var T,C,k={},S={};function $(){return T||(T=1,function(t){t.fn.emulateTransitionEnd=function(e){var n=!1,i=this;t(this).one("bsTransitionEnd",function(){n=!0});return setTimeout(function(){n||t(i).trigger(t.support.transition.end)},e),this},t(function(){t.support.transition=function(){var t=document.createElement("bootstrap"),e={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"};for(var n in e)if(void 0!==t.style[n])return{end:e[n]};return!1}(),t.support.transition&&(t.event.special.bsTransitionEnd={bindType:t.support.transition.end,delegateType:t.support.transition.end,handle:function(e){if(t(e.target).is(this))return e.handleObj.handler.apply(this,arguments)}})})}(jQuery)),S}function E(){return C||(C=1,$()),k}E();var D,j;j||(j=1,D||(D=1,function(t){var e=function(n,i){this.$element=t(n),this.options=t.extend({},e.DEFAULTS,i),this.isLoading=!1};function n(n){return this.each(function(){var i=t(this),o=i.data("bs.button"),r="object"==typeof n&&n;o||i.data("bs.button",o=new e(this,r)),"toggle"==n?o.toggle():n&&o.setState(n)})}e.VERSION="3.4.1",e.DEFAULTS={loadingText:"loading..."},e.prototype.setState=function(e){var n="disabled",i=this.$element,o=i.is("input")?"val":"html",r=i.data();e+="Text",null==r.resetText&&i.data("resetText",i[o]()),setTimeout(t.proxy(function(){i[o](null==r[e]?this.options[e]:r[e]),"loadingText"==e?(this.isLoading=!0,
i.addClass(n).attr(n,n).prop(n,!0)):this.isLoading&&(this.isLoading=!1,i.removeClass(n).removeAttr(n).prop(n,!1))},this),0)},e.prototype.toggle=function(){var t=!0,e=this.$element.closest('[data-toggle="buttons"]');if(e.length){var n=this.$element.find("input");"radio"==n.prop("type")?(n.prop("checked")&&(t=!1),e.find(".active").removeClass("active"),this.$element.addClass("active")):"checkbox"==n.prop("type")&&(n.prop("checked")!==this.$element.hasClass("active")&&(t=!1),this.$element.toggleClass("active")),n.prop("checked",this.$element.hasClass("active")),t&&n.trigger("change")}else this.$element.attr("aria-pressed",!this.$element.hasClass("active")),this.$element.toggleClass("active")};var i=t.fn.button;t.fn.button=n,t.fn.button.Constructor=e,t.fn.button.noConflict=function(){return t.fn.button=i,this},t(document).on("click.bs.button.data-api",'[data-toggle^="button"]',function(e){var i=t(e.target).closest(".btn");n.call(i,"toggle"),t(e.target).is('input[type="radio"], input[type="checkbox"]')||(e.preventDefault(),i.is("input,button")?i.trigger("focus"):i.find("input:visible,button:visible").first().trigger("focus"))}).on("focus.bs.button.data-api blur.bs.button.data-api",'[data-toggle^="button"]',function(e){t(e.target).closest(".btn").toggleClass("focus",/^focus(in)?$/.test(e.type))})}(jQuery)));var L,N;N||(N=1,L||(L=1,function(t){var e=function(e,n){this.$element=t(e),this.$indicators=this.$element.find(".carousel-indicators"),this.options=n,this.paused=null,this.sliding=null,this.interval=null,this.$active=null,this.$items=null,this.options.keyboard&&this.$element.on("keydown.bs.carousel",t.proxy(this.keydown,this)),"hover"==this.options.pause&&!("ontouchstart"in document.documentElement)&&this.$element.on("mouseenter.bs.carousel",t.proxy(this.pause,this)).on("mouseleave.bs.carousel",t.proxy(this.cycle,this))};function n(n){return this.each(function(){const i=t(this);let o=i.data("bs.carousel");const r=t.extend({},e.DEFAULTS,i.data(),"object"==typeof n&&n),s="string"==typeof n?n:r.slide;o||i.data("bs.carousel",o=new e(this,r)),"number"==typeof n?o.to(n):s?o[s]():r.interval&&o.pause().cycle()})}e.VERSION="3.4.1",e.TRANSITION_DURATION=600,e.DEFAULTS={interval:5e3,pause:"hover",wrap:!0,keyboard:!0},e.prototype.keydown=function(t){if(!/input|textarea/i.test(t.target.tagName)){switch(t.which){case 37:this.prev();break;case 39:this.next();break;default:return}t.preventDefault()}},e.prototype.cycle=function(e){return e||(this.paused=!1),this.interval&&clearInterval(this.interval),this.options.interval&&!this.paused&&(this.interval=setInterval(t.proxy(this.next,this),this.options.interval)),this},e.prototype.getItemIndex=function(t){return this.$items=t.parent().children(".item"),this.$items.index(t||this.$active)},e.prototype.getItemForDirection=function(t,e){var n=this.getItemIndex(e);if(("prev"==t&&0===n||"next"==t&&n==this.$items.length-1)&&!this.options.wrap)return e;var i=(n+("prev"==t?-1:1))%this.$items.length;return this.$items.eq(i)},e.prototype.to=function(t){var e=this,n=this.getItemIndex(this.$active=this.$element.find(".item.active"));if(!(t>this.$items.length-1||t<0))return this.sliding?this.$element.one("slid.bs.carousel",function(){e.to(t)}):n==t?this.pause().cycle():this.slide(t>n?"next":"prev",this.$items.eq(t))},e.prototype.pause=function(e){return e||(this.paused=!0),this.$element.find(".next, .prev").length&&t.support.transition&&(this.$element.trigger(t.support.transition.end),this.cycle(!0)),this.interval=clearInterval(this.interval),this},e.prototype.next=function(){if(!this.sliding)return this.slide("next")},e.prototype.prev=function(){if(!this.sliding)return this.slide("prev")},e.prototype.slide=function(n,i){const o=this.$element.find(".item.active"),r=i||this.getItemForDirection(n,o),s=this.interval,a="next"==n?"left":"right",l=this;if(r.hasClass("active"))return this.sliding=!1;const c=r[0],u=t.Event("slide.bs.carousel",{relatedTarget:c,direction:a});if(this.$element.trigger(u),
u.isDefaultPrevented())return;if(this.sliding=!0,s&&this.pause(),this.$indicators.length){this.$indicators.find(".active").removeClass("active");const e=t(this.$indicators.children()[this.getItemIndex(r)]);e&&e.addClass("active")}const d=t.Event("slid.bs.carousel",{relatedTarget:c,direction:a});return t.support.transition&&this.$element.hasClass("slide")?(r.addClass(n),"object"==typeof r&&r.length&&r[0].offsetWidth,o.addClass(a),r.addClass(a),o.one("bsTransitionEnd",function(){r.removeClass([n,a].join(" ")).addClass("active"),o.removeClass(["active",a].join(" ")),l.sliding=!1,setTimeout(function(){l.$element.trigger(d)},0)}).emulateTransitionEnd(e.TRANSITION_DURATION)):(o.removeClass("active"),r.addClass("active"),this.sliding=!1,this.$element.trigger(d)),s&&this.cycle(),this};const i=t.fn.carousel;t.fn.carousel=n,t.fn.carousel.Constructor=e,t.fn.carousel.noConflict=function(){return t.fn.carousel=i,this};const o=function(e){e.preventDefault();const i=t(this);let o=i.attr("href");o&&(o=o.replace(/.*(?=#[^\s]+$)/,""));const r=i.attr("data-target")||o,s=t(document).find(r);if(!s.hasClass("carousel"))return;const a=t.extend({},s.data(),i.data()),l=i.attr("data-slide-to");l&&(a.interval=!1),n.call(s,a),l&&s.data("bs.carousel").to(l)};t(document).on("click.bs.carousel.data-api","[data-slide]",o).on("click.bs.carousel.data-api","[data-slide-to]",o),t(window).on("load",function(){t('[data-ride="carousel"]').each(function(){const e=t(this);n.call(e,e.data())})})}(jQuery)));var O,_;_||(_=1,E(),O||(O=1,function(t){var e=function(n,i){this.$element=t(n),this.options=t.extend({},e.DEFAULTS,i),this.$trigger=t('[data-toggle="collapse"][href="#'+n.id+'"],[data-toggle="collapse"][data-target="#'+n.id+'"]'),this.transitioning=null,this.options.parent?this.$parent=this.getParent():this.addAriaAndCollapsedClass(this.$element,this.$trigger),this.options.toggle&&this.toggle()};function n(e){var n,i=e.attr("data-target")||(n=e.attr("href"))&&n.replace(/.*(?=#[^\s]+$)/,"");return t(document).find(i)}function i(n){return this.each(function(){var i=t(this),o=i.data("bs.collapse"),r=t.extend({},e.DEFAULTS,i.data(),"object"==typeof n&&n);!o&&r.toggle&&/show|hide/.test(n)&&(r.toggle=!1),o||i.data("bs.collapse",o=new e(this,r)),"string"==typeof n&&o[n]()})}e.VERSION="3.4.1",e.TRANSITION_DURATION=350,e.DEFAULTS={toggle:!0},e.prototype.dimension=function(){return this.$element.hasClass("width")?"width":"height"},e.prototype.show=function(){if(!this.transitioning&&!this.$element.hasClass("in")){var n,o=this.$parent&&this.$parent.children(".panel").children(".in, .collapsing");if(!(o&&o.length&&(n=o.data("bs.collapse"))&&n.transitioning)){var r=t.Event("show.bs.collapse");if(this.$element.trigger(r),!r.isDefaultPrevented()){o&&o.length&&(i.call(o,"hide"),n||o.data("bs.collapse",null));var s=this.dimension();this.$element.removeClass("collapse").addClass("collapsing")[s](0).attr("aria-expanded",!0),this.$trigger.removeClass("collapsed").attr("aria-expanded",!0),this.transitioning=1;var a=function(){this.$element.removeClass("collapsing").addClass("collapse in")[s](""),this.transitioning=0,this.$element.trigger("shown.bs.collapse")};if(!t.support.transition)return a.call(this);var l=t.camelCase(["scroll",s].join("-"));this.$element.one("bsTransitionEnd",t.proxy(a,this)).emulateTransitionEnd(e.TRANSITION_DURATION)[s](this.$element[0][l])}}}},e.prototype.hide=function(){if(!this.transitioning&&this.$element.hasClass("in")){var n=t.Event("hide.bs.collapse");if(this.$element.trigger(n),!n.isDefaultPrevented()){var i=this.dimension();this.$element[i](this.$element[i]())[0].offsetHeight,this.$element.addClass("collapsing").removeClass("collapse in").attr("aria-expanded",!1),this.$trigger.addClass("collapsed").attr("aria-expanded",!1),this.transitioning=1;var o=function(){this.transitioning=0,this.$element.removeClass("collapsing").addClass("collapse").trigger("hidden.bs.collapse")};if(!t.support.transition)return o.call(this)
;this.$element[i](0).one("bsTransitionEnd",t.proxy(o,this)).emulateTransitionEnd(e.TRANSITION_DURATION)}}},e.prototype.toggle=function(){this[this.$element.hasClass("in")?"hide":"show"]()},e.prototype.getParent=function(){return t(document).find(this.options.parent).find('[data-toggle="collapse"][data-parent="'+this.options.parent+'"]').each(t.proxy(function(e,i){var o=t(i);this.addAriaAndCollapsedClass(n(o),o)},this)).end()},e.prototype.addAriaAndCollapsedClass=function(t,e){var n=t.hasClass("in");t.attr("aria-expanded",n),e.toggleClass("collapsed",!n).attr("aria-expanded",n)};var o=t.fn.collapse;t.fn.collapse=i,t.fn.collapse.Constructor=e,t.fn.collapse.noConflict=function(){return t.fn.collapse=o,this},t(document).on("click.bs.collapse.data-api",'[data-toggle="collapse"]',function(e){var o=t(this);o.attr("data-target")||e.preventDefault();var r=n(o),s=r.data("bs.collapse")?"toggle":o.data();i.call(r,s)})}(jQuery)));var I,H,R={};!function(){if(H)return R;H=1;const t=window.jQuery;I||(I=1,function(t){var e='[data-toggle="dropdown"]',n=function(e){t(e).on("click.bs.dropdown",this.toggle)};function i(e){var n=e.attr("data-target");n||(n=(n=e.attr("href"))&&/#[A-Za-z]/.test(n)&&n.replace(/.*(?=#[^\s]*$)/,""));var i="#"!==n?t(document).find(n):null;return i&&i.length?i:e.parent()}function o(n){n&&3===n.which||(t(".dropdown-backdrop").remove(),t(e).each(function(){var e=t(this),o=i(e),r={relatedTarget:this};o.hasClass("open")&&(n&&"click"==n.type&&/input|textarea/i.test(n.target.tagName)&&t.contains(o[0],n.target)||(o.trigger(n=t.Event("hide.bs.dropdown",r)),n.isDefaultPrevented()||(e.attr("aria-expanded","false"),o.removeClass("open").trigger(t.Event("hidden.bs.dropdown",r)))))}))}n.VERSION="3.4.1",n.prototype.toggle=function(e){var n=t(this);if(!n.is(".disabled, :disabled")){var r=i(n),s=r.hasClass("open");if(o(),!s){"ontouchstart"in document.documentElement&&!r.closest(".navbar-nav").length&&t(document.createElement("div")).addClass("dropdown-backdrop").insertAfter(t(this)).on("click",o);var a={relatedTarget:this};if(r.trigger(e=t.Event("show.bs.dropdown",a)),e.isDefaultPrevented())return;n.trigger("focus").attr("aria-expanded","true"),r.toggleClass("open").trigger(t.Event("shown.bs.dropdown",a))}return!1}},n.prototype.keydown=function(n){if(/(38|40|27|32)/.test(n.which)&&!/input|textarea/i.test(n.target.tagName)){var o=t(this);if(n.preventDefault(),n.stopPropagation(),!o.is(".disabled, :disabled")){var r=i(o),s=r.hasClass("open");if(!s&&27!=n.which||s&&27==n.which)return 27==n.which&&r.find(e).trigger("focus"),o.trigger("click");var a=r.find(".dropdown-menu li:not(.disabled):visible a");if(a.length){var l=a.index(n.target);38==n.which&&l>0&&l--,40==n.which&&l<a.length-1&&l++,~l||(l=0),a.eq(l).trigger("focus")}}}};var r=t.fn.dropdown;t.fn.dropdown=function(e){return this.each(function(){var i=t(this),o=i.data("bs.dropdown");o||i.data("bs.dropdown",o=new n(this)),"string"==typeof e&&o[e].call(i)})},t.fn.dropdown.Constructor=n,t.fn.dropdown.noConflict=function(){return t.fn.dropdown=r,this},t(document).on("click.bs.dropdown.data-api",o).on("click.bs.dropdown.data-api",".dropdown form",function(t){t.stopPropagation()}).on("click.bs.dropdown.data-api",e,n.prototype.toggle).on("keydown.bs.dropdown.data-api",e,n.prototype.keydown).on("keydown.bs.dropdown.data-api",".dropdown-menu",n.prototype.keydown)}(jQuery)),t(document).off("keydown.bs.dropdown.data-api",'[data-toggle="dropdown"]',t.fn.dropdown.Constructor.prototype.keydown),t(document).off("keydown.bs.dropdown.data-api",".dropdown-menu",t.fn.dropdown.Constructor.prototype.keydown),t.fn.dropdown.Constructor.prototype.keydown=function(e){if(/input|textarea/i.test(e.target.tagName)||!/(38|40|27|32)/.test(e.which)&&(e.which<65||e.which>90))return;if(e.ctrlKey||e.altKey)return;const n=t(this);if(e.preventDefault(),e.stopPropagation(),n.is(".disabled, :disabled"))return;const i=function(e){var n=e.attr("data-target")
;n||(n=(n=e.attr("href"))&&/#[A-Za-z]/.test(n)&&n.replace(/.*(?=#[^\s]*$)/,""));var i="#"!==n?t(document).find(n):null;return i&&i.length?i:e.parent()}(n),o=i.hasClass("open");(!o&&27!==e.which||o&&27===e.which)&&(27===e.which&&i.find('[data-toggle="dropdown"]').trigger("focus"),t(".dropdown-backdrop").remove(),t('[data-toggle="dropdown"]').each(function(){var o={relatedTarget:this};i.hasClass("open")&&(i.trigger(e=t.Event("hide.bs.dropdown",o)),n.attr("aria-expanded","false"),i.removeClass("open").trigger(t.Event("hidden.bs.dropdown",o)))}));const r=i.find(".dropdown-menu li:not(.disabled):visible a");if(!r.length)return;let s=r.index(e.target);if(38===e.which&&(s=(s-1)%r.length),40===e.which&&(s=(s+1)%r.length),e.which>=65&&e.which<=90&&r.length<100){var a=e.key.toLowerCase();let n=r.index(e.target);var l=r.filter(function(){return 0===t(this).text().trim().toLowerCase().indexOf(a)});l.each(function(){var i=t(this),o=r.index(i);if(o>n||t(e.target).text().trim().toLowerCase().charAt(0)!==a)return s=o,!1}),s===n&&l.length>0&&(s=r.index(l.eq(0)))}r.eq(s).trigger("focus")},t(document).on("keydown.bs.dropdown.data-api",'[data-toggle="dropdown"]',t.fn.dropdown.Constructor.prototype.keydown),t(document).on("keydown.bs.dropdown.data-api",".dropdown-menu",t.fn.dropdown.Constructor.prototype.keydown)}();var P,F,M={};!function(){if(F)return M;F=1;const t=window.jQuery;P||(P=1,function(t){var e=function(e,n){this.options=n,this.$body=t(document.body),this.$element=t(e),this.$dialog=this.$element.find(".modal-dialog"),this.$backdrop=null,this.isShown=null,this.originalBodyPad=null,this.scrollbarWidth=0,this.ignoreBackdropClick=!1,this.fixedContent=".navbar-fixed-top, .navbar-fixed-bottom",this.options.remote&&this.$element.find(".modal-content").load(this.options.remote,t.proxy(function(){this.$element.trigger("loaded.bs.modal")},this))};function n(n,i){return this.each(function(){var o=t(this),r=o.data("bs.modal"),s=t.extend({},e.DEFAULTS,o.data(),"object"==typeof n&&n);r||o.data("bs.modal",r=new e(this,s)),"string"==typeof n?r[n](i):s.show&&r.show(i)})}e.VERSION="3.4.1",e.TRANSITION_DURATION=300,e.BACKDROP_TRANSITION_DURATION=150,e.DEFAULTS={backdrop:!0,keyboard:!0,show:!0},e.prototype.toggle=function(t){return this.isShown?this.hide():this.show(t)},e.prototype.show=function(n){var i=this,o=t.Event("show.bs.modal",{relatedTarget:n});this.$element.trigger(o),this.isShown||o.isDefaultPrevented()||(this.isShown=!0,this.checkScrollbar(),this.setScrollbar(),this.$body.addClass("modal-open"),this.escape(),this.resize(),this.$element.on("click.dismiss.bs.modal",'[data-dismiss="modal"]',t.proxy(this.hide,this)),this.$dialog.on("mousedown.dismiss.bs.modal",function(){i.$element.one("mouseup.dismiss.bs.modal",function(e){t(e.target).is(i.$element)&&(i.ignoreBackdropClick=!0)})}),this.backdrop(function(){var o=t.support.transition&&i.$element.hasClass("fade");i.$element.parent().length||i.$element.appendTo(i.$body),i.$element.show().scrollTop(0),i.adjustDialog(),o&&i.$element[0].offsetWidth,i.$element.addClass("in"),i.enforceFocus();var r=t.Event("shown.bs.modal",{relatedTarget:n});o?i.$dialog.one("bsTransitionEnd",function(){i.$element.trigger("focus").trigger(r)}).emulateTransitionEnd(e.TRANSITION_DURATION):i.$element.trigger("focus").trigger(r)}))},e.prototype.hide=function(n){n&&n.preventDefault(),n=t.Event("hide.bs.modal"),this.$element.trigger(n),this.isShown&&!n.isDefaultPrevented()&&(this.isShown=!1,this.escape(),this.resize(),t(document).off("focusin.bs.modal"),this.$element.removeClass("in").off("click.dismiss.bs.modal").off("mouseup.dismiss.bs.modal"),this.$dialog.off("mousedown.dismiss.bs.modal"),t.support.transition&&this.$element.hasClass("fade")?this.$element.one("bsTransitionEnd",t.proxy(this.hideModal,this)).emulateTransitionEnd(e.TRANSITION_DURATION):this.hideModal())},e.prototype.enforceFocus=function(){t(document).off("focusin.bs.modal").on("focusin.bs.modal",t.proxy(function(t){
document===t.target||this.$element[0]===t.target||this.$element.has(t.target).length||this.$element.trigger("focus")},this))},e.prototype.escape=function(){this.isShown&&this.options.keyboard?this.$element.on("keydown.dismiss.bs.modal",t.proxy(function(t){27==t.which&&this.hide()},this)):this.isShown||this.$element.off("keydown.dismiss.bs.modal")},e.prototype.resize=function(){this.isShown?t(window).on("resize.bs.modal",t.proxy(this.handleUpdate,this)):t(window).off("resize.bs.modal")},e.prototype.hideModal=function(){var t=this;this.$element.hide(),this.backdrop(function(){t.$body.removeClass("modal-open"),t.resetAdjustments(),t.resetScrollbar(),t.$element.trigger("hidden.bs.modal")})},e.prototype.removeBackdrop=function(){this.$backdrop&&this.$backdrop.remove(),this.$backdrop=null},e.prototype.backdrop=function(n){var i=this,o=this.$element.hasClass("fade")?"fade":"";if(this.isShown&&this.options.backdrop){var r=t.support.transition&&o;if(this.$backdrop=t(document.createElement("div")).addClass("modal-backdrop "+o).appendTo(this.$body),this.$element.on("click.dismiss.bs.modal",t.proxy(function(t){this.ignoreBackdropClick?this.ignoreBackdropClick=!1:t.target===t.currentTarget&&("static"==this.options.backdrop?this.$element[0].focus():this.hide())},this)),r&&this.$backdrop[0].offsetWidth,this.$backdrop.addClass("in"),!n)return;r?this.$backdrop.one("bsTransitionEnd",n).emulateTransitionEnd(e.BACKDROP_TRANSITION_DURATION):n()}else if(!this.isShown&&this.$backdrop){this.$backdrop.removeClass("in");var s=function(){i.removeBackdrop(),n&&n()};t.support.transition&&this.$element.hasClass("fade")?this.$backdrop.one("bsTransitionEnd",s).emulateTransitionEnd(e.BACKDROP_TRANSITION_DURATION):s()}else n&&n()},e.prototype.handleUpdate=function(){this.adjustDialog()},e.prototype.adjustDialog=function(){var t=this.$element[0].scrollHeight>document.documentElement.clientHeight;this.$element.css({paddingLeft:!this.bodyIsOverflowing&&t?this.scrollbarWidth:"",paddingRight:this.bodyIsOverflowing&&!t?this.scrollbarWidth:""})},e.prototype.resetAdjustments=function(){this.$element.css({paddingLeft:"",paddingRight:""})},e.prototype.checkScrollbar=function(){var t=window.innerWidth;if(!t){var e=document.documentElement.getBoundingClientRect();t=e.right-Math.abs(e.left)}this.bodyIsOverflowing=document.body.clientWidth<t,this.scrollbarWidth=this.measureScrollbar()},e.prototype.setScrollbar=function(){var e=parseInt(this.$body.css("padding-right")||0,10);this.originalBodyPad=document.body.style.paddingRight||"";var n=this.scrollbarWidth;this.bodyIsOverflowing&&(this.$body.css("padding-right",e+n),t(this.fixedContent).each(function(e,i){var o=i.style.paddingRight,r=t(i).css("padding-right");t(i).data("padding-right",o).css("padding-right",parseFloat(r)+n+"px")}))},e.prototype.resetScrollbar=function(){this.$body.css("padding-right",this.originalBodyPad),t(this.fixedContent).each(function(e,n){var i=t(n).data("padding-right");t(n).removeData("padding-right"),n.style.paddingRight=i||""})},e.prototype.measureScrollbar=function(){var t=document.createElement("div");t.className="modal-scrollbar-measure",this.$body.append(t);var e=t.offsetWidth-t.clientWidth;return this.$body[0].removeChild(t),e};var i=t.fn.modal;t.fn.modal=n,t.fn.modal.Constructor=e,t.fn.modal.noConflict=function(){return t.fn.modal=i,this},t(document).on("click.bs.modal.data-api",'[data-toggle="modal"]',function(e){var i=t(this),o=i.attr("href"),r=i.attr("data-target")||o&&o.replace(/.*(?=#[^\s]+$)/,""),s=t(document).find(r),a=s.data("bs.modal")?"toggle":t.extend({remote:!/#/.test(o)&&o},s.data(),i.data());i.is("a")&&e.preventDefault(),s.one("show.bs.modal",function(t){t.isDefaultPrevented()||s.one("hidden.bs.modal",function(){i.is(":visible")&&i.trigger("focus")})}),n.call(s,a,this)})}(jQuery));const e=t.fn.modal.Constructor.prototype.backdrop;t.fn.modal.Constructor.prototype.backdrop=function(t){if(t){const n=()=>{const{$element:e,$backdrop:n}=this,i=e.closest(".id7-fixed-width-container")
;n&&1===i.length&&n.appendTo(i),t()};e.call(this,n)}else e.call(this,t)}}();var B,Q,q={};function W(){if(Q)return q;Q=1;const t=window.jQuery;B||(B=1,function(t){var e=["sanitize","whiteList","sanitizeFn"],n=["background","cite","href","itemtype","longdesc","poster","src","xlink:href"],i={"*":["class","dir","id","lang","role",/^aria-[\w-]*$/i],a:["target","href","title","rel"],area:[],b:[],br:[],col:[],code:[],div:[],em:[],hr:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],i:[],img:["src","alt","title","width","height"],li:[],ol:[],p:[],pre:[],s:[],small:[],span:[],sub:[],sup:[],strong:[],u:[],ul:[]},o=/^(?:(?:https?|mailto|ftp|tel|file):|[^&:/?#]*(?:[/?#]|$))/gi,r=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[a-z0-9+/]+=*$/i;function s(e,i){var s=e.nodeName.toLowerCase();if(-1!==t.inArray(s,i))return-1===t.inArray(s,n)||Boolean(e.nodeValue.match(o)||e.nodeValue.match(r));for(var a=t(i).filter(function(t,e){return e instanceof RegExp}),l=0,c=a.length;l<c;l++)if(s.match(a[l]))return!0;return!1}function a(e,n,i){if(0===e.length)return e;if(i&&"function"==typeof i)return i(e);if(!document.implementation||!document.implementation.createHTMLDocument)return e;var o=document.implementation.createHTMLDocument("sanitization");o.body.innerHTML=e;for(var r=t.map(n,function(t,e){return e}),a=t(o.body).find("*"),l=0,c=a.length;l<c;l++){var u=a[l],d=u.nodeName.toLowerCase();if(-1!==t.inArray(d,r))for(var p=t.map(u.attributes,function(t){return t}),h=[].concat(n["*"]||[],n[d]||[]),f=0,m=p.length;f<m;f++)s(p[f],h)||u.removeAttribute(p[f].nodeName);else u.parentNode.removeChild(u)}return o.body.innerHTML}var l=function(t,e){this.type=null,this.options=null,this.enabled=null,this.timeout=null,this.hoverState=null,this.$element=null,this.inState=null,this.init("tooltip",t,e)};l.VERSION="3.4.1",l.TRANSITION_DURATION=150,l.DEFAULTS={animation:!0,placement:"top",selector:!1,template:'<div class="tooltip" role="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>',trigger:"hover focus",title:"",delay:0,html:!1,container:!1,viewport:{selector:"body",padding:0},sanitize:!0,sanitizeFn:null,whiteList:i},l.prototype.init=function(e,n,i){if(this.enabled=!0,this.type=e,this.$element=t(n),this.options=this.getOptions(i),this.$viewport=this.options.viewport&&t(document).find(t.isFunction(this.options.viewport)?this.options.viewport.call(this,this.$element):this.options.viewport.selector||this.options.viewport),this.inState={click:!1,hover:!1,focus:!1},this.$element[0]instanceof document.constructor&&!this.options.selector)throw new Error("`selector` option must be specified when initializing "+this.type+" on the window.document object!");for(var o=this.options.trigger.split(" "),r=o.length;r--;){var s=o[r];if("click"==s)this.$element.on("click."+this.type,this.options.selector,t.proxy(this.toggle,this));else if("manual"!=s){var a="hover"==s?"mouseenter":"focusin",l="hover"==s?"mouseleave":"focusout";this.$element.on(a+"."+this.type,this.options.selector,t.proxy(this.enter,this)),this.$element.on(l+"."+this.type,this.options.selector,t.proxy(this.leave,this))}}this.options.selector?this._options=t.extend({},this.options,{trigger:"manual",selector:""}):this.fixTitle()},l.prototype.getDefaults=function(){return l.DEFAULTS},l.prototype.getOptions=function(n){var i=this.$element.data();for(var o in i)i.hasOwnProperty(o)&&-1!==t.inArray(o,e)&&delete i[o];return(n=t.extend({},this.getDefaults(),i,n)).delay&&"number"==typeof n.delay&&(n.delay={show:n.delay,hide:n.delay}),n.sanitize&&(n.template=a(n.template,n.whiteList,n.sanitizeFn)),n},l.prototype.getDelegateOptions=function(){var e={},n=this.getDefaults();return this._options&&t.each(this._options,function(t,i){n[t]!=i&&(e[t]=i)}),e},l.prototype.enter=function(e){var n=e instanceof this.constructor?e:t(e.currentTarget).data("bs."+this.type);if(n||(n=new this.constructor(e.currentTarget,this.getDelegateOptions()),
t(e.currentTarget).data("bs."+this.type,n)),e instanceof t.Event&&(n.inState["focusin"==e.type?"focus":"hover"]=!0),n.tip().hasClass("in")||"in"==n.hoverState)n.hoverState="in";else{if(clearTimeout(n.timeout),n.hoverState="in",!n.options.delay||!n.options.delay.show)return n.show();n.timeout=setTimeout(function(){"in"==n.hoverState&&n.show()},n.options.delay.show)}},l.prototype.isInStateTrue=function(){for(var t in this.inState)if(this.inState[t])return!0;return!1},l.prototype.leave=function(e){var n=e instanceof this.constructor?e:t(e.currentTarget).data("bs."+this.type);if(n||(n=new this.constructor(e.currentTarget,this.getDelegateOptions()),t(e.currentTarget).data("bs."+this.type,n)),e instanceof t.Event&&(n.inState["focusout"==e.type?"focus":"hover"]=!1),!n.isInStateTrue()){if(clearTimeout(n.timeout),n.hoverState="out",!n.options.delay||!n.options.delay.hide)return n.hide();n.timeout=setTimeout(function(){"out"==n.hoverState&&n.hide()},n.options.delay.hide)}},l.prototype.show=function(){var e=t.Event("show.bs."+this.type);if(this.hasContent()&&this.enabled){this.$element.trigger(e);var n=t.contains(this.$element[0].ownerDocument.documentElement,this.$element[0]);if(e.isDefaultPrevented()||!n)return;var i=this,o=this.tip(),r=this.getUID(this.type);this.setContent(),o.attr("id",r),this.$element.attr("aria-describedby",r),this.options.animation&&o.addClass("fade");var s="function"==typeof this.options.placement?this.options.placement.call(this,o[0],this.$element[0]):this.options.placement,a=/\s?auto?\s?/i,c=a.test(s);c&&(s=s.replace(a,"")||"top"),o.detach().css({top:0,left:0,display:"block"}).addClass(s).data("bs."+this.type,this),this.options.container?o.appendTo(t(document).find(this.options.container)):o.insertAfter(this.$element),this.$element.trigger("inserted.bs."+this.type);var u=this.getPosition(),d=o[0].offsetWidth,p=o[0].offsetHeight;if(c){var h=s,f=this.getPosition(this.$viewport);s="bottom"==s&&u.bottom+p>f.bottom?"top":"top"==s&&u.top-p<f.top?"bottom":"right"==s&&u.right+d>f.width?"left":"left"==s&&u.left-d<f.left?"right":s,o.removeClass(h).addClass(s)}var m=this.getCalculatedOffset(s,u,d,p);this.applyPlacement(m,s);var g=function(){var t=i.hoverState;i.$element.trigger("shown.bs."+i.type),i.hoverState=null,"out"==t&&i.leave(i)};t.support.transition&&this.$tip.hasClass("fade")?o.one("bsTransitionEnd",g).emulateTransitionEnd(l.TRANSITION_DURATION):g()}},l.prototype.applyPlacement=function(e,n){var i=this.tip(),o=i[0].offsetWidth,r=i[0].offsetHeight,s=parseInt(i.css("margin-top"),10),a=parseInt(i.css("margin-left"),10);isNaN(s)&&(s=0),isNaN(a)&&(a=0),e.top+=s,e.left+=a,t.offset.setOffset(i[0],t.extend({using:function(t){i.css({top:Math.round(t.top),left:Math.round(t.left)})}},e),0),i.addClass("in");var l=i[0].offsetWidth,c=i[0].offsetHeight;"top"==n&&c!=r&&(e.top=e.top+r-c);var u=this.getViewportAdjustedDelta(n,e,l,c);u.left?e.left+=u.left:e.top+=u.top;var d=/top|bottom/.test(n),p=d?2*u.left-o+l:2*u.top-r+c,h=d?"offsetWidth":"offsetHeight";i.offset(e),this.replaceArrow(p,i[0][h],d)},l.prototype.replaceArrow=function(t,e,n){this.arrow().css(n?"left":"top",50*(1-t/e)+"%").css(n?"top":"left","")},l.prototype.setContent=function(){var t=this.tip(),e=this.getTitle();this.options.html?(this.options.sanitize&&(e=a(e,this.options.whiteList,this.options.sanitizeFn)),t.find(".tooltip-inner").html(e)):t.find(".tooltip-inner").text(e),t.removeClass("fade in top bottom left right")},l.prototype.hide=function(e){var n=this,i=t(this.$tip),o=t.Event("hide.bs."+this.type);function r(){"in"!=n.hoverState&&i.detach(),n.$element&&n.$element.removeAttr("aria-describedby").trigger("hidden.bs."+n.type),e&&e()}if(this.$element.trigger(o),!o.isDefaultPrevented())return i.removeClass("in"),t.support.transition&&i.hasClass("fade")?i.one("bsTransitionEnd",r).emulateTransitionEnd(l.TRANSITION_DURATION):r(),this.hoverState=null,this},l.prototype.fixTitle=function(){var t=this.$element
;(t.attr("title")||"string"!=typeof t.attr("data-original-title"))&&t.attr("data-original-title",t.attr("title")||"").attr("title","")},l.prototype.hasContent=function(){return this.getTitle()},l.prototype.getPosition=function(e){var n=(e=e||this.$element)[0],i="BODY"==n.tagName,o=n.getBoundingClientRect();null==o.width&&(o=t.extend({},o,{width:o.right-o.left,height:o.bottom-o.top}));var r=window.SVGElement&&n instanceof window.SVGElement,s=i?{top:0,left:0}:r?null:e.offset(),a={scroll:i?document.documentElement.scrollTop||document.body.scrollTop:e.scrollTop()},l=i?{width:t(window).width(),height:t(window).height()}:null;return t.extend({},o,a,l,s)},l.prototype.getCalculatedOffset=function(t,e,n,i){return"bottom"==t?{top:e.top+e.height,left:e.left+e.width/2-n/2}:"top"==t?{top:e.top-i,left:e.left+e.width/2-n/2}:"left"==t?{top:e.top+e.height/2-i/2,left:e.left-n}:{top:e.top+e.height/2-i/2,left:e.left+e.width}},l.prototype.getViewportAdjustedDelta=function(t,e,n,i){var o={top:0,left:0};if(!this.$viewport)return o;var r=this.options.viewport&&this.options.viewport.padding||0,s=this.getPosition(this.$viewport);if(/right|left/.test(t)){var a=e.top-r-s.scroll,l=e.top+r-s.scroll+i;a<s.top?o.top=s.top-a:l>s.top+s.height&&(o.top=s.top+s.height-l)}else{var c=e.left-r,u=e.left+r+n;c<s.left?o.left=s.left-c:u>s.right&&(o.left=s.left+s.width-u)}return o},l.prototype.getTitle=function(){var t=this.$element,e=this.options;return t.attr("data-original-title")||("function"==typeof e.title?e.title.call(t[0]):e.title)},l.prototype.getUID=function(t){do{t+=~~(1e6*Math.random())}while(document.getElementById(t));return t},l.prototype.tip=function(){if(!this.$tip&&(this.$tip=t(this.options.template),1!=this.$tip.length))throw new Error(this.type+" `template` option must consist of exactly 1 top-level element!");return this.$tip},l.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".tooltip-arrow")},l.prototype.enable=function(){this.enabled=!0},l.prototype.disable=function(){this.enabled=!1},l.prototype.toggleEnabled=function(){this.enabled=!this.enabled},l.prototype.toggle=function(e){var n=this;e&&((n=t(e.currentTarget).data("bs."+this.type))||(n=new this.constructor(e.currentTarget,this.getDelegateOptions()),t(e.currentTarget).data("bs."+this.type,n))),e?(n.inState.click=!n.inState.click,n.isInStateTrue()?n.enter(n):n.leave(n)):n.tip().hasClass("in")?n.leave(n):n.enter(n)},l.prototype.destroy=function(){var t=this;clearTimeout(this.timeout),this.hide(function(){t.$element.off("."+t.type).removeData("bs."+t.type),t.$tip&&t.$tip.detach(),t.$tip=null,t.$arrow=null,t.$viewport=null,t.$element=null})},l.prototype.sanitizeHtml=function(t){return a(t,this.options.whiteList,this.options.sanitizeFn)};var c=t.fn.tooltip;t.fn.tooltip=function(e){return this.each(function(){var n=t(this),i=n.data("bs.tooltip"),o="object"==typeof e&&e;!i&&/destroy|hide/.test(e)||(i||n.data("bs.tooltip",i=new l(this,o)),"string"==typeof e&&i[e]())})},t.fn.tooltip.Constructor=l,t.fn.tooltip.noConflict=function(){return t.fn.tooltip=c,this}}(jQuery));return t.fn.tooltip.Constructor.DEFAULTS.whiteList.iframe=["src","scrolling","frameborder","allowtransparency","seamless","sandbox"],q}W();var U,z;z||(z=1,W(),U||(U=1,function(t){var e=function(t,e){this.init("popover",t,e)};if(!t.fn.tooltip)throw new Error("Popover requires tooltip.js");e.VERSION="3.4.1",e.DEFAULTS=t.extend({},t.fn.tooltip.Constructor.DEFAULTS,{placement:"right",trigger:"click",content:"",template:'<div class="popover" role="tooltip"><div class="arrow"></div><h3 class="popover-title"></h3><div class="popover-content"></div></div>'}),(e.prototype=t.extend({},t.fn.tooltip.Constructor.prototype)).constructor=e,e.prototype.getDefaults=function(){return e.DEFAULTS},e.prototype.setContent=function(){var t=this.tip(),e=this.getTitle(),n=this.getContent();if(this.options.html){var i=typeof n;this.options.sanitize&&(e=this.sanitizeHtml(e),"string"===i&&(n=this.sanitizeHtml(n))),
t.find(".popover-title").html(e),t.find(".popover-content").children().detach().end()["string"===i?"html":"append"](n)}else t.find(".popover-title").text(e),t.find(".popover-content").children().detach().end().text(n);t.removeClass("fade top bottom left right in"),t.find(".popover-title").html()||t.find(".popover-title").hide()},e.prototype.hasContent=function(){return this.getTitle()||this.getContent()},e.prototype.getContent=function(){var t=this.$element,e=this.options;return t.attr("data-content")||("function"==typeof e.content?e.content.call(t[0]):e.content)},e.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".arrow")};var n=t.fn.popover;t.fn.popover=function(n){return this.each(function(){var i=t(this),o=i.data("bs.popover"),r="object"==typeof n&&n;!o&&/destroy|hide/.test(n)||(o||i.data("bs.popover",o=new e(this,r)),"string"==typeof n&&o[n]())})},t.fn.popover.Constructor=e,t.fn.popover.noConflict=function(){return t.fn.popover=n,this}}(jQuery)));var G,V;V||(V=1,G||(G=1,function(t){var e=function(e){this.element=t(e)};function n(n){return this.each(function(){var i=t(this),o=i.data("bs.tab");o||i.data("bs.tab",o=new e(this)),"string"==typeof n&&o[n]()})}e.VERSION="3.4.1",e.TRANSITION_DURATION=150,e.prototype.show=function(){var e=this.element,n=e.closest("ul:not(.dropdown-menu)"),i=e.data("target");if(i||(i=(i=e.attr("href"))&&i.replace(/.*(?=#[^\s]*$)/,"")),!e.parent("li").hasClass("active")){var o=n.find(".active:last a"),r=t.Event("hide.bs.tab",{relatedTarget:e[0]}),s=t.Event("show.bs.tab",{relatedTarget:o[0]});if(o.trigger(r),e.trigger(s),!s.isDefaultPrevented()&&!r.isDefaultPrevented()){var a=t(document).find(i);this.activate(e.closest("li"),n),this.activate(a,a.parent(),function(){o.trigger({type:"hidden.bs.tab",relatedTarget:e[0]}),e.trigger({type:"shown.bs.tab",relatedTarget:o[0]})})}}},e.prototype.activate=function(n,i,o){var r=i.find("> .active"),s=o&&t.support.transition&&(r.length&&r.hasClass("fade")||!!i.find("> .fade").length);function a(){r.removeClass("active").find("> .dropdown-menu > .active").removeClass("active").end().find('[data-toggle="tab"]').attr("aria-expanded",!1),n.addClass("active").find('[data-toggle="tab"]').attr("aria-expanded",!0),s?(n[0].offsetWidth,n.addClass("in")):n.removeClass("fade"),n.parent(".dropdown-menu").length&&n.closest("li.dropdown").addClass("active").end().find('[data-toggle="tab"]').attr("aria-expanded",!0),o&&o()}r.length&&s?r.one("bsTransitionEnd",a).emulateTransitionEnd(e.TRANSITION_DURATION):a(),r.removeClass("in")};var i=t.fn.tab;t.fn.tab=n,t.fn.tab.Constructor=e,t.fn.tab.noConflict=function(){return t.fn.tab=i,this};var o=function(e){e.preventDefault(),n.call(t(this),"show")};t(document).on("click.bs.tab.data-api",'[data-toggle="tab"]',o).on("click.bs.tab.data-api",'[data-toggle="pill"]',o)}(jQuery)));var X,Y;Y||(Y=1,X||(X=1,function(t){var e=function(n,i){this.options=t.extend({},e.DEFAULTS,i);var o=this.options.target===e.DEFAULTS.target?t(this.options.target):t(document).find(this.options.target);this.$target=o.on("scroll.bs.affix.data-api",t.proxy(this.checkPosition,this)).on("click.bs.affix.data-api",t.proxy(this.checkPositionWithEventLoop,this)),this.$element=t(n),this.affixed=null,this.unpin=null,this.pinnedOffset=null,this.checkPosition()};function n(n){return this.each(function(){var i=t(this),o=i.data("bs.affix"),r="object"==typeof n&&n;o||i.data("bs.affix",o=new e(this,r)),"string"==typeof n&&o[n]()})}e.VERSION="3.4.1",e.RESET="affix affix-top affix-bottom",e.DEFAULTS={offset:0,target:window},e.prototype.getState=function(t,e,n,i){var o=this.$target.scrollTop(),r=this.$element.offset(),s=this.$target.height();if(null!=n&&"top"==this.affixed)return o<n&&"top";if("bottom"==this.affixed)return null!=n?!(o+this.unpin<=r.top)&&"bottom":!(o+s<=t-i)&&"bottom";var a=null==this.affixed,l=a?o:r.top;return null!=n&&o<=n?"top":null!=i&&l+(a?s:e)>=t-i&&"bottom"},e.prototype.getPinnedOffset=function(){
if(this.pinnedOffset)return this.pinnedOffset;this.$element.removeClass(e.RESET).addClass("affix");var t=this.$target.scrollTop(),n=this.$element.offset();return this.pinnedOffset=n.top-t},e.prototype.checkPositionWithEventLoop=function(){setTimeout(t.proxy(this.checkPosition,this),1)},e.prototype.checkPosition=function(){if(this.$element.is(":visible")){var n=this.$element.height(),i=this.options.offset,o=i.top,r=i.bottom,s=Math.max(t(document).height(),t(document.body).height());"object"!=typeof i&&(r=o=i),"function"==typeof o&&(o=i.top(this.$element)),"function"==typeof r&&(r=i.bottom(this.$element));var a=this.getState(s,n,o,r);if(this.affixed!=a){null!=this.unpin&&this.$element.css("top","");var l="affix"+(a?"-"+a:""),c=t.Event(l+".bs.affix");if(this.$element.trigger(c),c.isDefaultPrevented())return;this.affixed=a,this.unpin="bottom"==a?this.getPinnedOffset():null,this.$element.removeClass(e.RESET).addClass(l).trigger(l.replace("affix","affixed")+".bs.affix")}"bottom"==a&&this.$element.offset({top:s-n-r})}};var i=t.fn.affix;t.fn.affix=n,t.fn.affix.Constructor=e,t.fn.affix.noConflict=function(){return t.fn.affix=i,this},t(window).on("load",function(){t('[data-spy="affix"]').each(function(){var e=t(this),i=e.data();i.offset=i.offset||{},null!=i.offsetBottom&&(i.offset.bottom=i.offsetBottom),null!=i.offsetTop&&(i.offset.top=i.offsetTop),n.call(e,i)})})}(jQuery)));var J,K,Z={},tt={exports:{}},et=tt.exports;function nt(){return J||(J=1,e=et,n=function(t){var e=1e5;function n(t){var n=t.getAttribute("id");return n||(n="gen-id-"+e++,t.setAttribute("id",n)),n}var i=function(e,n){this.$element=t(e),this.$parent=this.$element.parent(),this.options=t.extend({},i.defaults,n),this.matcher=this.options.matcher||this.matcher,this.sorter=this.options.sorter||this.sorter,this.select=this.options.select||this.select,this.autoSelect="boolean"!=typeof this.options.autoSelect||this.options.autoSelect,this.highlighter=this.options.highlighter||this.highlighter,this.render=this.options.render||this.render,this.updater=this.options.updater||this.updater,this.displayText=this.options.displayText||this.displayText,this.itemLink=this.options.itemLink||this.itemLink,this.itemTitle=this.options.itemTitle||this.itemTitle,this.followLinkOnSelect=this.options.followLinkOnSelect||this.followLinkOnSelect,this.source=this.options.source,this.delay=this.options.delay,this.theme=this.options.theme&&this.options.themes&&this.options.themes[this.options.theme]||i.defaults.themes[i.defaults.theme],this.$menu=t(this.options.menu||this.theme.menu),this.$appendTo=this.options.appendTo?t(this.options.appendTo):null,this.fitToElement="boolean"==typeof this.options.fitToElement&&this.options.fitToElement,this.shown=!1,this.listen(),this.showHintOnFocus=("boolean"==typeof this.options.showHintOnFocus||"all"===this.options.showHintOnFocus)&&this.options.showHintOnFocus,this.afterSelect=this.options.afterSelect,this.afterEmptySelect=this.options.afterEmptySelect,this.addItem=!1,this.value=this.$element.val()||this.$element.text(),this.keyPressed=!1,this.focused=this.$element.is(":focus"),this.changeInputOnSelect=this.options.changeInputOnSelect||this.changeInputOnSelect,this.changeInputOnMove=this.options.changeInputOnMove||this.changeInputOnMove,this.openLinkInNewTab=this.options.openLinkInNewTab||this.openLinkInNewTab,this.selectOnBlur=this.options.selectOnBlur||this.selectOnBlur,this.selectOnTab=this.options.selectOnTab,this.showCategoryHeader=this.options.showCategoryHeader||this.showCategoryHeader,this.prevItems=[],this.$statusRegion=t("<div></div>").addClass("sr-only").attr({role:"status","aria-live":"polite"}),this.$element.after(this.$statusRegion),this.$parent.attr({role:"combobox","aria-haspopup":"listbox"}),this.$element.attr({"aria-autocomplete":"list"}),this.show(),this.hide()};i.prototype={constructor:i,setDefault:function(t){if(this.$element.data("active",t),this.autoSelect||t){var e=this.updater(t);e||(e=""),
this.$element.val(this.displayText(e)||e).text(this.displayText(e)||e).change(),this.afterSelect(e)}return this.hide()},select:function(){var t=this.$menu.find(".active").data("value");if(this.$element.data("active",t),this.autoSelect||t){var e=this.updater(t);e||(e=""),this.changeInputOnSelect&&this.$element.val(this.displayText(e)||e).text(this.displayText(e)||e).change(),this.followLinkOnSelect&&this.itemLink(t)?(this.openLinkInNewTab?window.open(this.itemLink(t),"_blank"):document.location=this.itemLink(t),this.afterSelect(e)):this.followLinkOnSelect&&!this.itemLink(t)?this.afterEmptySelect(e):this.afterSelect(e)}else this.afterEmptySelect();return this.hide()},updater:function(t){return t},setSource:function(t){this.source=t},show:function(){var e,i=t.extend({},this.$element.position(),{height:this.$element[0].offsetHeight}),o="function"==typeof this.options.scrollHeight?this.options.scrollHeight.call():this.options.scrollHeight;if(this.shown?e=this.$menu:this.$appendTo?(e=this.$menu.appendTo(this.$appendTo),this.hasSameParent=this.$appendTo.is(this.$element.parent())):(e=this.$menu.insertAfter(this.$element),this.hasSameParent=!0),!this.hasSameParent){e.css("position","fixed");var r=this.$element.offset();i.top=r.top,i.left=r.left}var s=t(e).parent().hasClass("dropup")?"auto":i.top+i.height+o,a=t(e).hasClass("dropdown-menu-right")?"auto":i.left;return e.css({top:s,left:a}).show(),!0===this.options.fitToElement&&e.css("width",this.$element.outerWidth()+"px"),this.shown=!0,this.$parent.attr("aria-expanded","true"),this.$parent.attr("aria-owns",n(e[0])),this.$element.attr("aria-controls",n(e[0])),this},hide:function(){return this.$menu.hide(),this.prevItems=[],this.shown=!1,this.$parent.attr("aria-expanded","false"),this.$element.attr("aria-activedescendant",null),this},lookup:function(e){if(this.query=null!=e?e:this.$element.val(),this.query.length<this.options.minLength&&!this.options.showHintOnFocus)return this.shown?this.hide():this;var n=t.proxy(function(){t.isFunction(this.source)&&3===this.source.length?this.source(this.query,t.proxy(this.process,this),t.proxy(this.process,this)):t.isFunction(this.source)?this.source(this.query,t.proxy(this.process,this)):this.source&&this.process(this.source)},this);clearTimeout(this.lookupWorker),this.lookupWorker=setTimeout(n,this.delay)},process:function(e){var n=this,i=this.prevItems;return this.prevItems=e,this.onItemsChanged(i||[],e),e=t.grep(e,function(t){return n.matcher(t)}),(e=this.sorter(e)).length||this.options.addItem?(e.length>0?this.$element.data("active",e[0]):this.$element.data("active",null),e=this._limitListSize(e),this.options.addItem&&e.push(this.options.addItem),this.render(e).show()):this.shown?this.hide():this},_limitListSize:function(t){return"all"===this.options.items?t:t.slice(0,this.options.items)},matcher:function(t){return~this.displayText(t).toLowerCase().indexOf(this.query.toLowerCase())},sorter:function(t){for(var e,n=[],i=[],o=[];e=t.shift();){var r=this.displayText(e);r.toLowerCase().indexOf(this.query.toLowerCase())?~r.indexOf(this.query)?i.push(e):o.push(e):n.push(e)}return n.concat(i,o)},highlighter:function(t){var e=this.query;if(""===e)return t;var n,i=t.match(/(>)([^<]*)(<)/g),o=[],r=[];if(i&&i.length)for(n=0;n<i.length;++n)i[n].length>2&&o.push(i[n]);else(o=[]).push(t);e=e.replace(/[\(\)\/\.\*\+\?\[\]]/g,function(t){return"\\"+t});var s,a=new RegExp(e,"g");for(n=0;n<o.length;++n)(s=o[n].match(a))&&s.length>0&&r.push(o[n]);for(n=0;n<r.length;++n)t=t.replace(r[n],r[n].replace(a,"<strong>$&</strong>"));return t},onItemsChanged:function(t,e){var n=this._limitListSize(t),i=this._limitListSize(e);!n.length&&i.length?this._setLiveStatus(i.length+" results, use arrow keys"):n.length&&!i.length&&this._setLiveStatus("No results, try another query")},render:function(e){var n=this,i=this,o=!1,r=[],s=n.options.separator;return t.each(e,function(t,i){t>0&&i[s]!==e[t-1][s]&&r.push({__type:"divider"}),
n.showCategoryHeader&&(!i[s]||0!==t&&i[s]===e[t-1][s]||r.push({__type:"category",name:i[s]})),r.push(i)}),e=t(r).map(function(e,r){if("category"==(r.__type||!1))return t(n.options.headerHtml||n.theme.headerHtml).text(r.name)[0];if("divider"==(r.__type||!1))return t(n.options.headerDivider||n.theme.headerDivider)[0];var s,a,l=i.displayText(r),c=i.itemTitle(r),u=c||(s=l,(a=t("<div></div>").html(s)).find("div,p,section,h1,h2,h3,h4,h5,h6").append(" "),a.text());return(e=t(n.options.item||n.theme.item).data("value",r)).find(n.options.itemContentSelector||n.theme.itemContentSelector).addBack(n.options.itemContentSelector||n.theme.itemContentSelector).attr("aria-label",u).html(n.highlighter(l,r)),n.options.followLinkOnSelect&&e.find("a").attr("href",i.itemLink(r)),e.find("a").attr("title",c),l==i.$element.val()&&(i._markActive(e),i.$element.data("active",r),o=!0),e[0]}),this.autoSelect&&!o&&(this._markActive(e.filter(":not(.dropdown-header)").first()),this.$element.data("active",e.first().data("value"))),this.$menu.html(e),this},displayText:function(t){return void 0!==t&&void 0!==t.name?t.name:t},itemLink:function(t){return null},itemTitle:function(t){return null},_markActive:function(t){t.addClass("active"),t.attr("aria-selected","true"),this.$element.attr("aria-activedescendant",n(t[0]))},next:function(e){var n=this.$menu.find(".active").removeClass("active").attr("aria-selected","false").next();for(n.length||(n=t(this.$menu.find(t(this.options.item||this.theme.item).prop("tagName"))[0]));n.hasClass("divider")||n.hasClass("dropdown-header");)n=n.next();this._markActive(n);var i=this.updater(n.data("value"));this.changeInputOnMove&&this.$element.val(this.displayText(i)||i)},prev:function(e){var n=this.$menu.find(".active").removeClass("active").attr("aria-selected","false").prev();for(n.length||(n=this.$menu.find(t(this.options.item||this.theme.item).prop("tagName")).last());n.hasClass("divider")||n.hasClass("dropdown-header");)n=n.prev();this._markActive(n);var i=this.updater(n.data("value"));this.changeInputOnMove&&this.$element.val(this.displayText(i)||i)},listen:function(){this.$element.on("focus.bootstrap3Typeahead",t.proxy(this.focus,this)).on("blur.bootstrap3Typeahead",t.proxy(this.blur,this)).on("keypress.bootstrap3Typeahead",t.proxy(this.keypress,this)).on("propertychange.bootstrap3Typeahead input.bootstrap3Typeahead",t.proxy(this.input,this)).on("keyup.bootstrap3Typeahead",t.proxy(this.keyup,this)),this.eventSupported("keydown")&&this.$element.on("keydown.bootstrap3Typeahead",t.proxy(this.keydown,this));var e=t(this.options.item||this.theme.item).prop("tagName")+":not(.divider):not(.dropdown-header)";"ontouchstart"in document.documentElement&&"onmousemove"in document.documentElement?this.$menu.on("touchstart",e,t.proxy(this.touchstart,this)).on("touchend",e,t.proxy(this.click,this)).on("click",e,t.proxy(this.click,this)).on("mouseenter",e,t.proxy(this.mouseenter,this)).on("mouseleave",e,t.proxy(this.mouseleave,this)).on("mousedown",t.proxy(this.mousedown,this)):"ontouchstart"in document.documentElement?this.$menu.on("touchstart",e,t.proxy(this.touchstart,this)).on("touchend",e,t.proxy(this.click,this)):this.$menu.on("click",e,t.proxy(this.click,this)).on("mouseenter",e,t.proxy(this.mouseenter,this)).on("mouseleave",e,t.proxy(this.mouseleave,this)).on("mousedown",t.proxy(this.mousedown,this))},destroy:function(){this.$element.data("typeahead",null),this.$element.data("active",null),this.$element.unbind("focus.bootstrap3Typeahead").unbind("blur.bootstrap3Typeahead").unbind("keypress.bootstrap3Typeahead").unbind("propertychange.bootstrap3Typeahead input.bootstrap3Typeahead").unbind("keyup.bootstrap3Typeahead"),this.eventSupported("keydown")&&this.$element.unbind("keydown.bootstrap3Typeahead"),this.$menu.remove(),this.destroyed=!0},eventSupported:function(t){var e=t in this.$element;return e||(this.$element.setAttribute(t,"return;"),e="function"==typeof this.$element[t]),e},move:function(t){if(this.shown)switch(t.keyCode){
case 9:this.selectOnTab?t.preventDefault():this.hide();break;case 13:case 27:t.preventDefault();break;case 38:if(t.shiftKey)return;t.preventDefault(),this.prev();break;case 40:if(t.shiftKey)return;t.preventDefault(),this.next()}},keydown:function(e){17!==e.keyCode&&(this.keyPressed=!0,this.suppressKeyPressRepeat=~t.inArray(e.keyCode,[40,38,9,13,27]),this.shown||40!==e.keyCode?this.move(e):this.lookup())},keypress:function(t){this.suppressKeyPressRepeat||this.move(t)},input:function(t){var e=this.$element.val()||this.$element.text();this.value!==e&&(this.value=e,this.lookup())},keyup:function(t){if(!this.destroyed)switch(t.keyCode){case 40:case 38:case 16:case 17:case 18:break;case 9:if(this.selectOnTab||t.preventDefault(),!this.selectOnTab||!this.shown||this.showHintOnFocus&&!this.keyPressed)return;this.select();break;case 13:if(!this.shown)return;this.select();break;case 27:if(!this.shown)return;this.hide()}},focus:function(t){this.focused||(this.focused=!0,this.keyPressed=!1,this.options.showHintOnFocus&&!0!==this.skipShowHintOnFocus&&("all"===this.options.showHintOnFocus?this.lookup(""):this.lookup())),this.skipShowHintOnFocus&&(this.skipShowHintOnFocus=!1)},blur:function(t){this.mousedover||this.mouseddown||!this.shown?this.mouseddown&&(this.skipShowHintOnFocus=!0,this.$element.focus(),this.mouseddown=!1):(this.selectOnBlur&&this.select(),this.hide(),this.focused=!1,this.keyPressed=!1)},click:function(t){t.preventDefault(),this.skipShowHintOnFocus=!0,this.select(),this.$element.focus(),this.hide()},mouseenter:function(e){this.mousedover=!0,this.$menu.find(".active").removeClass("active").attr("aria-selected","false"),this._markActive(t(e.currentTarget))},mouseleave:function(t){this.mousedover=!1,!this.focused&&this.shown&&this.hide()},mousedown:function(t){this.mouseddown=!0,this.$menu.one("mouseup",function(t){this.mouseddown=!1}.bind(this))},touchstart:function(e){e.preventDefault(),this.$menu.find(".active").removeClass("active").attr("aria-selected","false"),this._markActive(t(e.currentTarget))},touchend:function(t){t.preventDefault(),this.select(),this.$element.focus()},_setLiveStatus:function(t){this.$statusRegion.text(t)}};var o=t.fn.typeahead;t.fn.typeahead=function(e){var n=arguments;return"string"==typeof e&&"getActive"===e?this.data("active"):this.each(function(){var o=t(this),r=o.data("typeahead"),s="object"==typeof e&&e;r||o.data("typeahead",r=new i(this,s)),"string"==typeof e&&r[e]&&(n.length>1?r[e].apply(r,Array.prototype.slice.call(n,1)):r[e]())})},i.defaults={source:[],items:8,minLength:1,scrollHeight:0,autoSelect:!0,afterSelect:t.noop,afterEmptySelect:t.noop,addItem:!1,followLinkOnSelect:!1,delay:0,separator:"category",changeInputOnSelect:!0,changeInputOnMove:!0,openLinkInNewTab:!1,selectOnBlur:!0,selectOnTab:!0,showCategoryHeader:!0,theme:"bootstrap3",themes:{bootstrap3:{menu:'<ul class="typeahead dropdown-menu" role="listbox" aria-label="Search results"></ul>',item:'<li role="option"><a class="dropdown-item" href="#"></a></li>',itemContentSelector:"a",headerHtml:'<li class="dropdown-header"></li>',headerDivider:'<li class="divider" role="separator"></li>'},bootstrap4:{menu:'<div class="typeahead dropdown-menu" role="listbox" aria-label="Search results"></div>',item:'<button class="dropdown-item" role="option"></button>',itemContentSelector:".dropdown-item",headerHtml:'<h6 class="dropdown-header"></h6>',headerDivider:'<div class="dropdown-divider"></div>'}}},t.fn.typeahead.Constructor=i,t.fn.typeahead.noConflict=function(){return t.fn.typeahead=o,this},t(document).on("focus.typeahead.data-api",'[data-provide="typeahead"]',function(e){var n=t(this);n.data("typeahead")||n.typeahead(n.data())})},(t=tt).exports?t.exports=n(y()):n(e.jQuery)),tt.exports;var t,e,n}!function(){if(K)return Z;K=1;const t=window.jQuery;nt(),function(){let t=!1;try{const e=Object.defineProperty({},"passive",{get:()=>{t=!0}}),n=()=>{};window.addEventListener("testPassiveEventSupport",n,e),
window.removeEventListener("testPassiveEventSupport",n,e)}catch(e){t=!1}return t}()&&"ontouchstart"in document.documentElement&&"addEventListener"in document&&(t.event.special.touchstart={setup(t,e,n){this.addEventListener&&this.addEventListener("touchstart",n,{passive:!0})}},t.event.special.touchend={setup(t,e,n){this.addEventListener&&this.addEventListener("touchend",n,{passive:!0})}})}(),function(t){t&&(t.fn.headroom=function(e){return this.each(function(){var n=t(this),i=n.data("headroom"),o="object"==typeof e&&e;o=t.extend(!0,{},Headroom.options,o),i||((i=new Headroom(this,o)).init(),n.data("headroom",i)),"string"==typeof e&&(i[e](),"destroy"===e&&n.removeData("headroom"))})},t("[data-headroom]").each(function(){var e=t(this);e.headroom(e.data())}))}(window.Zepto||window.jQuery);const it=window.matchMedia||window.msMatchMedia||(()=>!1);class ot{constructor(){this.tests={}}static mq(t){const e=it(t);return e&&e.matches||!1}static toggleClasses(t,e,n){n?(t.classList.remove(`no-${e}`),t.classList.add(e)):(t.classList.remove(e),t.classList.add(`no-${e}`))}addTest(t,e){this.tests[t]=e,ot.prototype[t]=e,this.container&&ot.toggleClasses(this.container,t,e)}addClasses(t){this.container=t,Object.keys(this.tests).forEach(e=>{ot.toggleClasses(t,e,this.tests[e])})}}const rt=new ot;rt.addTest("js",!0),rt.addTest("flexbox",!0);let st=!1;try{st="SVGFEColorMatrixElement"in window&&2===SVGFEColorMatrixElement.SVG_FECOLORMATRIX_TYPE_SATURATE}catch(t){}rt.addTest("svgfilters",st);const at={webp:"data:image/webp;base64,UklGRiQAAABXRUJQVlA4IBgAAAAwAQCdASoBAAEAAwA0JaQAA3AA/vuUAAA=","webp-alpha":"data:image/webp;base64,UklGRkoAAABXRUJQVlA4WAoAAAAQAAAAAAAAAAAAQUxQSAwAAAABBxAR/Q9ERP8DAABWUDggGAAAADABAJ0BKgEAAQADADQlpAADcAD++/1QAA==","webp-animation":"data:image/webp;base64,UklGRlIAAABXRUJQVlA4WAoAAAASAAAAAAAAAAAAQU5JTQYAAAD/////AABBTk1GJgAAAAAAAAAAAAAAAAAAAGQAAABWUDhMDQAAAC8AAAAQBxAREYiI/gcA","webp-lossless":"data:image/webp;base64,UklGRh4AAABXRUJQVlA4TBEAAAAvAAAAAAfQ//73v/+BiOh/AAA=",avif:"data:image/avif;base64,AAAAIGZ0eXBhdmlmAAAAAGF2aWZtaWYxbWlhZk1BMUIAAAEcbWV0YQAAAAAAAABIaGRscgAAAAAAAAAAcGljdAAAAAAAAAAAAAAAAGNhdmlmIC0gaHR0cHM6Ly9naXRodWIuY29tL2xpbmstdS9jYXZpZgAAAAAeaWxvYwAAAAAEQAABAAEAAAAAAUQAAQAAABcAAAAqaWluZgEAAAAAAAABAAAAGmluZmUCAAAAAAEAAGF2MDFJbWFnZQAAAAAOcGl0bQAAAAAAAQAAAHJpcHJwAAAAUmlwY28AAAAQcGFzcAAAAAEAAAABAAAAFGlzcGUAAAAAAAAAAQAAAAEAAAAQcGl4aQAAAAADCAgIAAAAFmF2MUOBAAwACggYAAYICGgIIAAAABhpcG1hAAAAAAAAAAEAAQUBAoMDhAAAAB9tZGF0CggYAAYICGgIIBoFHiAAAEQiBACwDoA="};function lt(t,e){const n=new Image;function i(i){const o=!(!i||"load"!==i.type)&&1===n.width;rt.addTest(t,o),e&&e(i)}n.onerror=i,n.onload=i,n.src=at[t]}lt("webp",t=>{t&&"load"===t.type&&(lt("webp-alpha"),lt("webp-animation"),lt("webp-lossless"))}),lt("avif");const{userAgent:ct}=window.navigator;rt.addTest("safari",ct.indexOf("Safari/")>=0&&-1===ct.indexOf("Chrome/")),rt.addTest("ie-or-edge",/MSIE (?:9|7|10)/i.test(ct)||/rv:11.0/i.test(ct)||/Edge\/\d./i.test(ct)),rt.addTest("embedded-ie",/MSIE 7/i.test(ct)&&/\.NET/.test(ct)),rt.addClasses(document.documentElement),window.Modernizr=rt,window.Modernizr.mq=ot.mq;const ut=[{name:"lg",matcher:()=>window.matchMedia("(min-width: 1200px)"),container:1170},{name:"md",matcher:()=>window.matchMedia("(min-width: 992px) and (max-width: 1199px)"),container:970},{name:"sm",matcher:()=>window.matchMedia("(min-width: 768px) and (max-width: 991px)"),container:750},{name:"xs",matcher:()=>window.matchMedia("(max-width: 767px)")}];function dt(){return ut.find(t=>t.matcher().matches)}const pt={eventName:"id7:reflow"};class ht{constructor(t){this.options=b.extend({},pt,t),this.onScreenResize(),this.wireEventHandlers()}onScreenResize(){const t=dt();this.options.container.trigger(this.options.eventName,[t])}reflow(){"xs"===dt().name?b(window).on("resize.id7.reflow.onScreenResize",b.proxy(this.onScreenResize,this)):b(window).off("resize.id7.reflow.onScreenResize"),this.onScreenResize()}wireEventHandlers(){ut.forEach(t=>{const{matcher:e,name:n}=t
;e().addListener(e=>{e.matches&&(this.options.container.trigger(this.options.eventName,[t]),"xs"===n?b(window).on("resize.id7.reflow.onScreenResize",b.proxy(this.onScreenResize,this)):b(window).off("resize.id7.reflow.onScreenResize"))})}),"complete"===document.readyState?this.reflow():b(window).on("load",b.proxy(this.reflow,this))}}b.fn.reflow=function(t){return this.each(function(e,n){const i=b(n);let o=i.data("id7.reflow");const r=b.extend({},i.data(),{container:i},"object"==typeof t&&t);o||i.data("id7.reflow",o=new ht(r)),"reflow"!==t&&"force"!==t&&!0!==t||o.reflow()})},b(()=>b(window).reflow());var ft,mt={exports:{}};var gt,vt,yt,wt=(ft||(ft=1,vt=mt.exports,yt=function(){var t=function(){},e="undefined",n=typeof window!==e&&typeof window.navigator!==e&&/Trident\/|MSIE /.test(window.navigator.userAgent),i=["trace","debug","info","warn","error"];function o(t,e){var n=t[e];if("function"==typeof n.bind)return n.bind(t);try{return Function.prototype.bind.call(n,t)}catch(e){return function(){return Function.prototype.apply.apply(n,[t,arguments])}}}function r(){console.log&&(console.log.apply?console.log.apply(console,arguments):Function.prototype.apply.apply(console.log,[console,arguments])),console.trace&&console.trace()}function s(e,n){for(var o=0;o<i.length;o++){var r=i[o];this[r]=o<e?t:this.methodFactory(r,e,n)}this.log=this.debug}function a(t,n,i){return function(){typeof console!==e&&(s.call(this,n,i),this[t].apply(this,arguments))}}function l(i,s,l){return function(i){return"debug"===i&&(i="log"),typeof console!==e&&("trace"===i&&n?r:void 0!==console[i]?o(console,i):void 0!==console.log?o(console,"log"):t)}(i)||a.apply(this,arguments)}function c(t,n,o){var r,a=this,c="loglevel";function u(){var t;if(typeof window!==e&&c){try{t=window.localStorage[c]}catch(t){}if(typeof t===e)try{var n=window.document.cookie,i=n.indexOf(encodeURIComponent(c)+"=");-1!==i&&(t=/^([^;]+)/.exec(n.slice(i))[1])}catch(t){}return void 0===a.levels[t]&&(t=void 0),t}}"string"==typeof t?c+=":"+t:"symbol"==typeof t&&(c=void 0),a.name=t,a.levels={TRACE:0,DEBUG:1,INFO:2,WARN:3,ERROR:4,SILENT:5},a.methodFactory=o||l,a.getLevel=function(){return r},a.setLevel=function(n,o){if("string"==typeof n&&void 0!==a.levels[n.toUpperCase()]&&(n=a.levels[n.toUpperCase()]),!("number"==typeof n&&n>=0&&n<=a.levels.SILENT))throw"log.setLevel() called with invalid level: "+n;if(r=n,!1!==o&&function(t){var n=(i[t]||"silent").toUpperCase();if(typeof window!==e&&c){try{return void(window.localStorage[c]=n)}catch(t){}try{window.document.cookie=encodeURIComponent(c)+"="+n+";"}catch(t){}}}(n),s.call(a,n,t),typeof console===e&&n<a.levels.SILENT)return"No console available for logging"},a.setDefaultLevel=function(t){u()||a.setLevel(t,!1)},a.enableAll=function(t){a.setLevel(a.levels.TRACE,t)},a.disableAll=function(t){a.setLevel(a.levels.SILENT,t)};var d=u();null==d&&(d=null==n?"WARN":n),a.setLevel(d,!1)}var u=new c,d={};u.getLogger=function(t){if("symbol"!=typeof t&&"string"!=typeof t||""===t)throw new TypeError("You must supply a name when creating a logger.");var e=d[t];return e||(e=d[t]=new c(t,u.getLevel(),u.methodFactory)),e};var p=typeof window!==e?window.log:void 0;return u.noConflict=function(){return typeof window!==e&&window.log===u&&(window.log=p),u},u.getLoggers=function(){return d},u.default=u,u},(gt=mt).exports?gt.exports=yt():vt.log=yt()),mt.exports),bt=h(wt);const xt={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},At=/[&<>"']/g;function Tt(t){return t.replace(At,t=>xt[t])}const Ct={Templates:{
Popover:t=>`<div class="account-info">\n        <iframe src="${Tt(t.useMwIframe?`${t.iframelink}?embedded`:t.legacyIframeLink)}" \n                scrolling="auto" frameborder="0" allowtransparency="true" \n                seamless \n                sandbox="allow-same-origin allow-scripts allow-top-navigation allow-forms allow-popups allow-popups-to-escape-sandbox"></iframe>\n        </div>\n        <div class="actions">\n          <div class="action">\n            <a href="${Tt(t.logoutlink)}" class="btn btn-default btn-block sign-out">Sign out</a>\n          </div>\n        </div>`,Action:t=>`<div class="action">\n        <a href="${Tt(t.href)}" \n           title="${Tt(t.tooltip)}" \n           class="btn btn-default btn-block ${Tt(t.classes)}">${Tt(t.title)}</a>\n        </div>`},Defaults:{container:!1,iframelink:"https://my.warwick.ac.uk/",notificationsApi:"https://my.warwick.ac.uk/api/id7/notifications/unreads",legacyIframeLink:"https://websignon.warwick.ac.uk/origin/account/popover",showNotificationsBadge:!0,useMwIframe:!0,maxNumberNotifications:99,template:'\n      <div class="popover my-warwick hybrid-overlay">\n        <div class="arrow"></div>\n        <div class="popover-inner">\n            <div class="popover-content"><p></p></div>\n        </div>\n      </div>'.trim()},MessagePrefix:"message.id7.account-popover."};class kt{constructor(t){const e=b.extend({},Ct.Defaults,t);this.$trigger=e.trigger,this.options=e,void 0===this.options.logoutlink&&(this.options.logoutlink=this.$trigger.attr("href")),this.wireEventHandlers()}createPopover(t){const e={container:this.options.container,content:Ct.Templates.Popover(this.options),template:this.options.template,html:!0,placement:"bottom",title:"Account information",trigger:"manual"};t.popover(e)}static isBlacklistedDevice(){const{userAgent:t}=navigator;return-1!==t.indexOf("iPad")}static isMwFeatureAvailable(){return!kt.isBlacklistedDevice()}dismissPopover(){this.$trigger.attr("aria-expanded","false"),this.$trigger.popover("hide"),this.$trigger.data("bs.popover").inState.click=!1}wireEventHandlers(){const{$trigger:t}=this,e=this,n=this.options.iframelink;if(this.options.name){let e='<span class="fa-stack id7-notifications-badge">\n        <i class="fa fa-circle fa-stack-2x" aria-hidden="true"></i>\n        <strong class="fa-stack-1x fa fa-spinner fa-spin brand-text counter-value" title="Notifications"></strong>\n        <span class="sr-only">notifications</span>\n      </span>';kt.isMwFeatureAvailable()&&this.options.showNotificationsBadge||(e=""),t.html(`${this.options.name}${e}<span class="caret"></span>`)}const i=t.find(".id7-notifications-badge");var o,r,s;t.on("click",o=>(o.preventDefault(),o.stopPropagation(),t.popover("toggle"),i.find(".counter-value:not(.fa-exclamation-triangle):not(.fa-spinner)").text("0"),e.options.iframelink=n,t.data("bs.popover").options.content=Ct.Templates.Popover(e.options),i.removeClass("animating"),t.attr("aria-expanded","true"),!1)),this.createPopover(t),this.options.showNotificationsBadge&&kt.isMwFeatureAvailable()&&(o=this.options.notificationsApi,r=o=>{const r=Math.min(o.unreads,99);i.find(".counter-value").removeClass("fa-spinner").removeClass("fa-spin").addClass("slideInDown").text(r),r>0&&(i.fadeIn().addClass("animating"),e.options.iframelink=`${n}alerts`,t.data("bs.popover").options.content=Ct.Templates.Popover(e.options))},s=()=>{i.find(".counter-value").removeClass("fa-spinner").removeClass("fa-spin").addClass("fa-exclamation-triangle"),i.attr("title","There was a problem communicating with the MyWarwick notifications service")},b.ajax({url:o,success:r,error:s,dataType:"json",xhrFields:{withCredentials:!0}})),b("html").on("click.popoverDismiss",n=>{const i=b(n.target);0===i.closest(".popover").length&&0===i.closest(".use-popover").length&&0===i.closest(t).length&&e.dismissPopover()});const a=b.proxy((e,n)=>{if(this.options.useMwIframe=this.options.useMwIframe&&"xs"!==n.name&&b(window).height()>=512&&kt.isMwFeatureAvailable(),
t.find(".id7-notifications-badge").toggle(this.options.useMwIframe),void 0!==t.data("bs.popover")){t.data("bs.popover").options.content=Ct.Templates.Popover(this.options);const e=this.options.useMwIframe&&kt.isMwFeatureAvailable()?"my-warwick":"account-information",n=t.data("bs.popover");n.tip().removeClass("account-information","my-warwick").addClass(e),n.tip().hasClass("in")&&(t.popover("show"),t.attr("aria-expanded","true"),t.next(".popover").removeClass("loading"))}},this);b(window).on("id7:reflow",a),"complete"===document.readyState&&void 0!==b(window).data("id7.reflow")&&a({},dt())}onMessage(t,e){const n=this.$trigger.next(".popover");switch(t){case"addAction":{const t={...e,classes:"",tooltip:""};n.find(".actions").prepend(Ct.Templates.Action(t)),n.find(".actions > .action").first().find('[title]:not([title=""])').tooltip({placement:"bottom"});break}case"resizeIframe":n.find(".account-info iframe").height(e.height);break;case"layoutDidMount":n.addClass("loaded"),this.updateColourTheme(e.colourTheme);break;case"colourThemeChange":this.updateColourTheme(e.colourTheme);break;case"signedOut":{const{loginlink:t}=this.options;n.find(".actions > .action > .sign-out").parent().replaceWith(Ct.Templates.Action({href:t,classes:"sign-in",title:"Sign in",tooltip:""}));break}case"close":this.dismissPopover(),this.$trigger.focus();break;default:bt.error(`Unexpected message type: ${t}`)}}updateColourTheme(t){this.$trigger.next(".popover").removeClass((t,e)=>b.grep(e.split(" "),t=>0===t.indexOf("theme-")).join(" ")).addClass(`theme-${t}`)}}function St(t,e){t.parentNode.insertBefore(e,t),e.appendChild(t)}b.fn.accountPopover=function(t){const e=t||{};return this.each(function(t,n){const i=b(n),o=new kt(b.extend({},i.data(),e,{trigger:i}));i.attr("aria-expanded","false"),i.data("id7.account-popover",o)})},b(()=>{b('[data-toggle="id7:account-popover"]').accountPopover(),b(window).on("message",t=>{const{origin:e}=t.originalEvent;try{const n=t.originalEvent.data;if("string"!=typeof n||!n.startsWith("{"))return;const i=JSON.parse(n);if(i.type&&0===i.type.indexOf(Ct.MessagePrefix)){const t=i.type.substring(Ct.MessagePrefix.length);b('[data-toggle="id7:account-popover"]').each(function(){const n=b(this).data("id7.account-popover");0!==n.options.iframelink.indexOf(e)&&0!==n.options.legacyIframeLink.indexOf(e)?bt.error(`Ignored message of type ${t} because origin ${e} didn't match iframe link ${n.options.iframelink}`):n.onMessage(t,i)})}}catch(t){bt.error("Error parsing message data",t)}})});const $t=window.Headroom,Et={Templates:{moreContainer:'<ul class="nav navbar-nav navbar-right">\n        <li class="dropdown">\n          <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false"><i class="fas fa-caret-down" aria-hidden="true"></i><span class="sr-only">Display more items</span></a>\n          <ul class="dropdown-menu" role="menu"></ul>\n        </li>\n      </ul>'.trim(),marker:'<div class="id7-navigation-marker"></div>'},Defaults:{fixedHeader:$t.cutsTheMustard,fixedNav:$t.cutsTheMustard,fitToWidth:!1,collapseSmallscreen:!1,keyboard:!0,trimLinkTitles:{maxLength:60,append:"…"}},HeadroomEvents:{onPin(){b(this.elem).trigger("id7:headroom:onPin")},onUnpin(){b(this.elem).trigger("id7:headroom:onUnpin")}}};class Dt{constructor(t){const e=b.extend({},Et.Defaults,t);this.$container=e.container,e.trimLinkTitles&&"object"!=typeof e.trimLinkTitles&&(e.trimLinkTitles=b.extend({},Et.Defaults.trimLinkTitles)),this.options=e,this.options.fixedHeader&&Dt.markHeaderFixedPosition(),this.options.fixedNav&&this.markFixedPosition(),e.trimLinkTitles&&this.trimLinkTitles(),this.wireEventHandlers()}trimLinkTitles(){const{maxLength:t,append:e}=this.options.trimLinkTitles;function n(){const t=document.createElement("span");return t.setAttribute("aria-hidden","true"),t}this.$container.find(".nav a").each(function(){const i=function(t){const e=[];return function t(n){
if(n.nodeType===Node.ELEMENT_NODE&&n.classList.contains("sr-only"));else if(n.nodeType===Node.TEXT_NODE)e.push(n);else for(let e=0,i=n.childNodes.length;e<i;e+=1)t(n.childNodes[e])}(t),e}(this),o=b(i).text();if(o.length<=t)return!0;const r=b(this);r.prepend(b("<span>").addClass("sr-only").text(o)),r.attr("title",o);let s=0,a=!1;return b.each(i,(i,o)=>{const r=o.length;if(a)o.parentNode.removeChild(o);else if(s+r<=t)s+=r,St(o,n());else{a=!0;const i=o.textContent.split(/\s+/g),r=[];b.each(i,(e,n)=>!(`${r.join(" ")} ${n}`.length>t)&&(r.push(n),!0)),o.textContent=r.join(" ")+e,s+=o.length,St(o,n())}}),!0})}static affixHeader(){const t=b(".id7-header-text");if(t.length){Dt.markHeaderFixedPosition();const e=t.offset().top;let n=e;const i=b(".id7-main-content-area");i.length>0&&(n=i.offset().top);const o=b.extend(Et.HeadroomEvents,{offset:n});t.affix({offset:{top:e}}).headroom(o)}}affixNav(){const t=this.$container,e=b(".id7-header-text");let n;n=e.length?e.offset().top:t.offset().top;let i=n;b(".id7-main-content-area").length>0&&(i=b(".id7-main-content-area").offset().top);const o=b.extend(Et.HeadroomEvents,{offset:i});t.affix({offset:{top:n}}).headroom(o)}fitToWidth(t){const{options:e}=this;this.$container.find(".navbar:not(.navbar-secondary)").each(function(){const n=b(this),i=n.find("> .nav").first();let o=n.find("> .navbar-right");if(o.find("> .dropdown > .dropdown-menu > li").each(function(){const t=b(this);i.append(t)}),0===o.length&&(o=b(Et.Templates.moreContainer),n.append(o)),o.addClass("hidden"),!e.collapseSmallscreen||"xs"!==t.name){const t=()=>[...i.find("> li").get(),...o.get()].some(t=>b(t).is(":visible")&&b(t).position().top>0);if(t()){o.removeClass("hidden");do{o.find("> .dropdown > .dropdown-menu").prepend(i.find("> li:not(.nav-breadcrumb)").last().css("height",""))}while(t()&&i.find("> li:not(.nav-breadcrumb)").length>0);const e=o.find("> .dropdown");e.toggleClass("active",e.find("li.active").length>0)}}})}updateWrappedState(){this.$container.find(".navbar").each(function(){const t=b(this),e=t.hasClass("navbar-wrapped"),n=t.find("> .nav > li:last"),i=n.length&&n.position().top>0;i!==e&&(t.addClass("important-no-transition"),t.toggleClass("navbar-wrapped",i),setTimeout(()=>t.removeClass("important-no-transition"),1))})}updateDropdownBehaviour(t){this.$container.find(".navbar").each(function(){const e=b(this);"xs"===t.name?e.find(".dropdown-toggle").attr("data-toggle","dropdown").attr("role","button").attr("aria-expanded",!1):e.find(".dropdown-toggle").removeAttr("data-toggle").removeAttr("role").removeAttr("aria-expanded").parent().removeClass("open")})}getAffixedHeight(){let t=0;return this.options.fixedHeader&&(t+=b(".id7-header-text").outerHeight()),this.options.fixedNav&&(t+=this.$container.outerHeight()),t}hashChanged(){const t=this.getAffixedHeight();setTimeout(()=>window.scrollBy(0,-t),1)}static markHeaderFixedPosition(){const t=b(".id7-header-text"),e=t.parent();e.css("height","");const n=t.hasClass("affix");n&&t.removeClass("affix"),e.height(e.height()),n&&t.addClass("affix")}markFixedPosition(){let t=this.$container.next(".id7-navigation-marker");0===t.length&&(t=b(Et.Templates.marker),this.$container.after(t)),t.height(this.$container.height())}wireEventHandlers(){"complete"===document.readyState?(this.options.fixedNav&&this.affixNav(),this.options.fixedHeader&&Dt.affixHeader(),this.updateWrappedState()):b(window).on("load",b.proxy(function(){this.options.fixedNav&&this.affixNav(),this.options.fixedHeader&&Dt.affixHeader(),this.updateWrappedState()},this));const t=b.proxy(function(t,e){this.options.fitToWidth&&this.fitToWidth(e),this.options.fixedHeader&&Dt.markHeaderFixedPosition(),this.options.fixedNav&&this.markFixedPosition(),this.updateWrappedState(),this.updateDropdownBehaviour(e)},this);b(window).on("id7:reflow",t),"complete"===document.readyState&&void 0!==b(window).data("id7.reflow")&&t({},dt()),this.$container.on("click",".nav > li",function(t){let e=b(t.target).closest("a")
;if(!(e.length>0))return e=b(this).find("a").first(),e.length>0?(t.stopPropagation(),t.preventDefault(),e[0].click(),!1):void 0}),document.location.hash&&this.hashChanged(),b(window).on("hashchange",b.proxy(this.hashChanged,this)),this.options.keyboard&&(this.$container.on("keydown",t=>{const e=b(document.activeElement),n=e.parent(),i="ArrowDown"===t.key,o="ArrowUp"===t.key,r=n.find(".dropdown-menu").parent().hasClass("open");if(n.hasClass("dropdown")&&(i&&!r||o&&r)){n.find("> a").dropdown("toggle"),t.preventDefault();return(r?n.find("> a"):n.find(".dropdown-menu").find("li:first-child a")).focus(),!1}const s=n.parent().hasClass("navbar-nav"),a=n.parent().hasClass("dropdown-menu"),l="ArrowRight"===t.key;if(l&&s)n.next().length>0&&n.next().children().length>0?n.next().children().first().focus():Dt.tryNextNav(e);else if(l&&a){const t=n.parents().eq(1).next();return Dt.openOrFocusNav(n,t),!1}const c="ArrowLeft"===t.key;if(c&&s)n.prev().length>0&&n.prev().children().length>0?n.prev().children().first().focus():Dt.tryPrevNav(e);else if(c&&a){const t=n.parents().eq(1).prev();return Dt.openOrFocusNav(n,t),!1}return!0}),b(".dropdown-menu",this.$container).each((t,e)=>{const n=b(e),i=n.parent().find("> a"),o="dropdown";i.length>0&&i.attr("data-toggle")!==o&&(i.attr("data-toggle",o),i.dropdown()),i.length>0&&"true"!==i.attr("aria-haspopup")&&i.attr("aria-haspopup","true");const r=b("<span></span>");function s(t){const e=t?"Hide":"Show";r.text(`${e} submenu`),r.append(b('<span class="sr-only"></span>').text(` for ${i.text()}`))}s(!1);const a=b('<button class="nav-dropdown-button sr-only sr-only-focusable"></button>').append(r);a.on("click",t=>{t.preventDefault();const e=Dt.toggleDropdown(n);return a.attr("aria-expanded",i.attr("aria-expanded")),e&&a.focus(),s(e),!1}),i.after(a),n.parent().find("> ul > li").attr("role","menuitem"),i.on("click keypress",t=>{"click"!==t.type&&"Enter"!==t.key||(void 0!==i.attr("href")&&(window.location=i.attr("href")),t.stopPropagation())})}))}static toggleDropdown(t){const e=t.closest(".dropdown").find("> a");return e.dropdown("toggle"),"true"===e.attr("aria-expanded")}static openOrFocusNav(t,e){0!==e.length&&(Dt.toggleDropdown(t),e.hasClass("dropdown")?(e.find("> a").dropdown("toggle"),e.find("> ul > li:first-child > a").focus()):e.find("> a").focus())}static tryNextNav(t){Dt.tryNextPrevNav(t.parents(".navbar"),!0)}static tryPrevNav(t){Dt.tryNextPrevNav(t.parents(".navbar"),!1)}static tryNextPrevNav(t,e){const n=e?t.next(".navbar"):t.prev(".navbar"),i=n.find("a:visible");if(n.length>0&&i.length>0){(e?i.first():i.last()).focus()}if(n.length>0)return this.tryNextPrevNav(n.first(),e)}}b.fn.id7Navigation=function(t){const e=t||{};return this.each(function(t,n){const i=b(n),o=new Dt(b.extend({},i.data(),e,{container:i}));i.data("id7.navigation",o)})},b(()=>{const t=b(".id7-navigation");t.id7Navigation(),document.body.hasAttribute("id")||document.body.setAttribute("id","top");const e="primary-nav",n=b('.sr-only.sr-only-focusable[href="#main"]'),i=t.first(),o=1===n.length,r=1===i.length,s=0===b(`.sr-only.sr-only-focusable[href="#${e}"]`).length;if(r&&void 0===i.attr("id")&&i.attr("id",e),s&&o&&r){const t=b("<a>").addClass("sr-only").addClass("sr-only-focusable").attr("href",`#${i.attr("id")}`).text("Skip to navigation");n.after(t)}const a=document.location.toString();if(a.match("#")&&a.split("#")[1].length){const t=b(`.nav-tabs a[href="#${a.split("#")[1]}"]`);t&&t.tab("show")}b(".nav-tabs a").on("shown.bs.tab.id7Navigation",t=>{return e=t.target.hash,void("replaceState"in window.history?e?window.history.replaceState({},null,e):window.history.replaceState({},null,window.location.pathname+window.location.search):window.location.hash=e);var e})}),b.fn.searchSuggest=function(t){const e=t||{};return this.each(function(t,n){const i=b(n);!function(t){const e=t||{},n=e.input;n.attr("autocomplete","off").typeahead({minLength:e.minLength,source:e.source,displayText:e.displayText,
appendTo:void 0!==e.appendTo?b(e.appendTo):void 0,fitToElement:e.fitToElement,matcher:()=>!0,highlighter:t=>t,changeInputOnSelect:!1,changeInputOnMove:!1,followLinkOnSelect:!0,openLinkInNewTab:!1,selectOnBlur:!1,selectOnTab:!1,showHintOnFocus:!0,itemLink:e.itemLink,afterSelect:()=>n.trigger("blur")}).on("keydown",t=>{switch(t.which||t.keyCode){case 38:case 40:t.altKey||t.ctrlKey||t.metaKey||t.shiftKey||t.stopPropagation()}})}(b.extend({},i.data(),e,{input:i}))})},b.fn.goSearchSuggest=function(t={}){return this.each(function(e,n){b(n).next(".fa,.fas,.fal,.fab,.far").on("click",t=>{t.preventDefault(),t.stopPropagation(),b(n).closest("form").submit()});let i=3,o=3;ot.mq("only all and (min-width: 768px)")&&(i=2,o=6);const r=b(n);r.searchSuggest(b.extend(t,r.data(),{source:(t,e)=>{b.getJSON(`https://sitebuilder.warwick.ac.uk/sitebuilder2/api/go/redirects.json?maxResults=${o}&prefix=${encodeURIComponent(t)}`,e)},minLength:i,display:t=>t.path,displayText:t=>`<div><p class="go-path">${Tt(t.path)}</p><p class="go-description">${void 0!==t.description?Tt(t.description):""}</p></div>`,itemLink:t=>`https://go.warwick.ac.uk/${t.path}?goSearchReferer=${encodeURIComponent(window.location)}&goSearchQuery=${encodeURIComponent(b(n).val())}`})),r.width()<88&&r.attr("placeholder","Search")})},b(()=>b('input[data-suggest="go"]').goSearchSuggest());const jt={Templates:{PopoutLink:'<span class="id7-table-wrapper-popout">(<a href="#" data-toggle="id7:popout-table">Pop-out table</a>)</span>',Modal:'\n      <div class="id7-wide-table-popout-modal modal fade" tabindex="-1" role="dialog" aria-hidden="true">\n        <div class="modal-dialog">\n          <div class="modal-content">\n            <div class="modal-header">\n              <button type="button" class="close" data-dismiss="modal" aria-label="Close">\n                <span aria-hidden="true">&times;</span>\n              </button>\n              <span class="modal-title">&nbsp;</span>\n            </div>\n            <div class="modal-body">\n            </div>\n          </div>\n        </div>\n      </div>'.trim()},Defaults:{container:"id7-wide-table-wrapper-container",wrapper:"table-responsive",popout:()=>ot.mq("only all and (min-width: 768px)"),doublescroll:!0}};class Lt{constructor(t){const e=b.extend({},jt.Defaults,t);Lt.findWideTables(e.container).each(function(t,n){const i=b(n),o=b.extend({},e,i.data());if(o.wrapper&&"string"!=typeof o.wrapper&&(o.wrapper=jt.Defaults.wrapper),o.container&&"string"!=typeof o.container&&(o.container=jt.Defaults.container),o.wrapper){Lt.wrap(i,o.wrapper,o.container);const t=i.parent(),e=t.parent();let{popout:n,doublescroll:r}=o;"function"==typeof o.popout&&(n=o.popout()),"function"==typeof o.doublescroll&&(r=o.doublescroll()),n&&Lt.popout(i,t,e),r&&Lt.doubleScroll(i,t)}})}static findWideTables(t){return t.find("table").filter(function(){return 0===b(this).parents(".no-wide-tables").length}).filter(function(){const t=b(this),e=t.css("max-width");t.css("max-width","none");const n=!t.data("id7.wide-tables.wrapped")&&Math.floor(t.width())>t.parent().width();return t.css("max-width",e),n})}static wrap(t,e,n){return t.wrap(b("<div />").addClass(n).append(b("<div />").addClass(e))).data("id7.wide-tables.wrapped",!0),t.parent()}static popout(t,e,n){if(t.is(":visible")&&!t.hasClass("sb-no-wrapper-table-popout")){n.prepend(jt.Templates.PopoutLink).append(jt.Templates.PopoutLink);const t=b(b.parseHTML(jt.Templates.Modal)).appendTo(document.body);n.on("click",'[data-toggle="id7:popout-table"]',n=>(n.stopPropagation(),n.preventDefault(),t.find(".modal-body").html(e.html()),t.modal().modal("show"),!1))}return t}static doubleScroll(t,e){return e.doubleScroll(),t}}if(b.fn.wideTables=function(t){const e=t||{};return this.each(function(t,n){const i=b(n),o=new Lt(b.extend({},i.data(),e,{container:i}));i.data("id7.wide-tables",o)})},b(window).on("load id7:ready",()=>b(".id7-main-content").wideTables()),b(()=>b(window).trigger("id7:ready")),b.extend(b.expr[":"],{
focusable:function(t){return function(t,e){var n,i,o,r,s,a=t.nodeName.toLowerCase();return"area"===a?(i=(n=t.parentNode).name,!(!t.href||!i||"map"!==n.nodeName.toLowerCase())&&(o=b("img[usemap='#"+i+"']")).length>0&&o.is(":visible")):(/^(input|select|textarea|button|object)$/.test(a)?(r=!t.disabled)&&(s=b(t).closest("fieldset")[0])&&(r=!s.disabled):r="a"===a&&t.href||e,r&&b(t).is(":visible")&&function(t){for(var e=t.css("visibility");"inherit"===e;)e=(t=t.parent()).css("visibility");return"hidden"!==e}(b(t)))}(t,null!=b.attr(t,"tabindex"))}}),b(()=>{const t=b(".id7-site-links"),e=t.find(":focusable").last()[0];t.on("keyup",t=>{if("Escape"===t.key){const t=b(":focusable");t.each((n,i)=>{t[n-1]===e&&n>0&&i.focus()})}})}),window.$===window.jQuery)try{delete window.$}catch(t){window.$=void 0}if(function(t){window.SitebuilderInfo=t.extend({},{url:null,lastContentUpdated:null,setupHeight:jQuery.noop},window.SitebuilderInfo),window.is_ie=!(!window.attachEvent||window.opera),String.prototype.startsWith||(String.prototype.startsWith=function(t){return 0===this.lastIndexOf(t,0)}),String.prototype.endsWith||(String.prototype.endsWith=function(t){var e=this.length-t.length;return e>=0&&this.indexOf(t,e)===e}),window.redirectToGo=function(t,e){var n="/go/"+t;n=n+"?goSearchReferer="+encodeURIComponent(window.location),e&&(n=n+"&goSearchQuery="+e),window.location=n};var e=function(t,e,n){this.element=t,this.over=e,this.out=n,this.element.onmouseover=e,this.element.onmouseout=n};e.prototype.disable=function(){this.element.onmouseover=null,this.element.onmouseout=null},e.prototype.enable=function(){this.element.onmouseover=this.over,this.element.onmouseout=this.out},window.WRollback=e;var n=function(e,n,i,o){this.$button=t("#"+e),this.$div=t("#"+n),this.duration=.2,this.closeOnDocumentClick=i||!1,this.callback=o||function(){},this.$button.click(t.proxy(this.toggle,this))};n.prototype.toggle=function(e){var n;return e&&e.preventDefault(),n=this.closeOnDocumentClick?t.proxy(function(){this.$div.is(":visible")?(t(document).click(t.proxy(this.hideIfVisible,this)),this.callback(!0)):(t(document).unbind("click",t.proxy(this.hideIfVisible,this)),this.callback(!1))},this):t.proxy(function(){this.$div.is(":visible")?this.callback(!0):this.callback(!1)},this),this.$div.toggle(this.duration,n),!1},n.prototype.hideIfVisible=function(t){return this.$div.is(":visible")&&this.toggle(t),!0},window.WTogglePopup=n;var i=function(t,e,n,o){this.name=t,this.expires="",this.path="/",this.value="",e?(this.value=e,n?(this.hours=n,this.expires="; expires="+i._getGMTStringForHoursAhead(n)):this.expires="",this.path=o||"/",this.save()):this.value=this.load()};if(i._getGMTStringForHoursAhead=function(t){var e=new Date;return e.setTime(e.getTime()+60*t*60*1e3),e.toGMTString()},i.prototype.load=function(){for(var t=this.name+"=",e=document.cookie.split(";"),n=0;n<e.length;n++){for(var i=e[n];" "==i.charAt(0);)i=i.substring(1,i.length);if(0==i.indexOf(t))return i.substring(t.length,i.length)}return null},i.prototype.save=function(){document.cookie=this.name+"="+this.value+this.expires+"; path="+this.path},i.prototype.erase=function(){this.value="",this.hours=-1,this.expires="; expires="+i._getGMTStringForHoursAhead(this.hours),this.save()},window.WCookie=i,void 0===window.StringBuilder){var o=function(t){this.strings=new Array(""),this.append(t)};o.prototype.append=function(t){t&&this.strings.push(t)},o.prototype.clear=function(){this.strings.length=1},o.prototype.toString=function(){return this.strings.join("")},window.StringBuilder=o}String.prototype.postEncode=function(){for(var t=new o,e=this.length,n=0;n<e;n++){var i=this.charCodeAt(n).toString();i>127?(t.append("%26%23"),t.append(i),t.append("%3B")):t.append(encodeURIComponent(this.substr(n,1)))}return t.toString()},String.prototype.characterEscape=function(){for(var t=new o,e=this.length,n=0;n<e;n++){var i=this.charCodeAt(n).toString();i>127?(t.append("&#"),t.append(i),t.append(";")):t.append(this.substr(n,1))}
return t.toString()},window.WForm={postEncode:function(e){return t(e).serializeArray().map(function(t,e){return null==e?null:jQuery.isArray(e)?jQuery.map(e,function(t,e){return{name:t.name,value:WForm.Element.postEncode(t.value)}}):{name:e.name,value:WForm.Element.postEncode(e.value)}}).join("&")},Element:{postEncode:function(e){var n=t(e).val();return null==n?null:jQuery.isArray(n)?jQuery.map(n,function(t,n){return{name:e.name,value:WForm.Element.postEncode(t)}}):{name:e.name,value:WForm.Element.postEncode(n)}}}},window.addEvent=function(e,n,i){t(e).bind(n,i)},window.cancelDefaultEvents=function(t){t.preventDefault&&t.preventDefault(),t.returnValue=!1},window.sbrToAbsoluteUrl=function(t){var e=t;if(e.indexOf(":")<0){var n=""+window.location.href,i=document.getElementsByTagName("base");i.length>0&&(n=i[0].href),e.startsWith("//")?e=n.substring(0,n.indexOf(":")+1)+e:(0===e.indexOf("/")&&(e=e.substring(1),n=n.substring(0,n.indexOf("/",7))),"/"!==n.charAt(n.length-1)&&(n+="/"),e=n+e)}return e},window.Url||(window.Url={}),window.Url.unparam=function(t,e){if(void 0===t||null==t)return{};var n=t.trim().match(/([^?#]*)(#.*)?$/);if(!n)return{};for(var i={},o=n[1].split(e||"&"),r=0;r<o.length;r++){var s=o[r].split("=",2);i[decodeURIComponent(s[0])]=2===s.length?decodeURIComponent(s[1]):null}return i},void 0===window.Event&&(window.Event={}),window.Event.onDOMReady=t.proxy(t(document).ready,t(document))}(jQuery),void 0===window.Modernizr&&(window.Modernizr={}),"function"!=typeof window.Modernizr.mq){var Nt=window.matchMedia||window.msMatchMedia||function(){return!1};window.Modernizr.mq=function(t){var e=Nt(t);return e&&e.matches||!1}}var Ot;window.jQuery(function(t){const e=t("#main");var n=t("#sb-edit-link"),i=n.children(".sb-edit-link");n.data("href",i.attr("href")),i.attr("href","#").css("cursor","pointer"),n.on("dblclick click",function(e){if("dblclick"===e.type||n.hasClass("open")&&!t(e.target).closest("ul").hasClass("dropdown-menu"))return window.location.href=n.data("href"),!1});t(window).on("id7:reflow",function(e,n){"xs"===n.name?(t(".id7-current-site-link.visible-xs-inline a").attr("accesskey","1"),t(".id7-current-site-link.hidden-xs a").removeAttr("accesskey")):(t(".id7-current-site-link.hidden-xs a").attr("accesskey","1"),t(".id7-current-site-link.visible-xs-inline a").removeAttr("accesskey"))}),t(".id7-header-text span").each(function(){const e=t(this),n=e.data("short-title");n&&(e.removeData("shortTitle").removeAttr("data-short-title").clone().addClass("visible-xs-inline").insertBefore(e).children("a, span").html(n),e.addClass("hidden-xs"))}),t(".id7-utility-bar a").each(function(){this.hide=t.noop}),t(".id7-utility-bar li").each(function(){this.hide=t.noop});var o=t("body");if(o.on("click",function(e){var n=t(e.target);0===n.closest('[data-toggle="popover"]').length&&0===n.closest(".popover").length&&t('[data-toggle="popover"]').popover("hide")}).on("show.bs.popover",function(){o.hasClass("popover-open")||o.addClass("popover-open")}).on("hide.bs.popover",function(){o.removeClass("popover-open")}),void 0!==typeof t.fn.tooltip.Constructor){var r=t.fn.tooltip.Constructor?.DEFAULTS?.whiteList;r&&(r.a.push(/^data-[\w-]+/),r.table=["border","role","align","style"],r.tr=[],r.td=["colspan","rowspan","style","align","valign"],r.tbody=[],r.thead=[],r.span=["class","category"],r.time=["class","title"])}e.find(".new-window-link").each((e,n)=>{"true"!==t(n).attr("aria-hidden")&&t(n).attr("aria-hidden","true").after('<span class="sr-only">Link opens in a new window</span>')})}),function(t){window.CtrlAltShortcuts={E:function(e){t("#edit-tool-container").length>0&&0==t("#edit-tool-container:visible").length&&t("#edit-link").mouseenter()}},t(function(){t(document).keydown(function(t){var e=String.fromCharCode(t.which),n=t.altKey;t.ctrlKey&&n&&CtrlAltShortcuts[e]&&(t.preventDefault(),CtrlAltShortcuts[e](t))})})}(jQuery),function(t){window.ButtonPlayer=function(e,n){var i="",o="",r="",s=!1,a=0;function l(t){var e="",n=a
;return jQuery.each(new Array("s","m","h"),function(i,o){if(v=t%60,e=(v<10?"0":"")+Math.floor(v)+o+" "+e,t=(t-v)/60,--n<=0)return!1}),e}t("main").length>0&&(i='<button class="btn btn-default" aria-label="Play"><i class="fa fa-play fa-lg fa-fw" aria-hidden="true"></i></button>',o='<button class="btn btn-default active" aria-label="Pause"><i class="fa fa-pause fa-lg fa-fw" aria-hidden="true"></i></button>',r='<button class="btn btn-default" aria-label="Rewind"><i class="fa fa-fast-backward fa-fw" aria-hidden="true"></i></button>',s=!0),this.$container=t("#"+n),s&&this.$container.append('<button style="width:0; display: none;" class="btn btn-default time-indicator"><span class="time-elapsed"></span><span class="time-duration"></span></button>'),this.basename=e.getBasename(),this.$container.attr("title",this.basename+" | Click to play"),this.$container.addClass("buttonPlayer"),this.$playButton=t('<div class="play button"><div class="glyph">'+i+"</div></div>"),this.$container.append(this.$playButton),this.$pauseButton=t('<div class="pause button"><div class="glyph">'+o+"</div></div>"),this.$container.append(this.$pauseButton),this.$progressContainer=t('<div class="progressContainer" />'),this.$container.append(this.$progressContainer),this.$progressLoading=t('<div class="progressLoading" />'),this.$progress=t('<div class="progress" />'),this.$progressLoading.append(this.$progress),this.$progressContainer.append(this.$progressLoading),this.$stopButton=t('<div class="stop button"><div class="glyph">'+r+"</div></div>"),this.$container.append(this.$stopButton),this.$pauseButton.hide(),this.audio=e,this.duration=null,this.executor=null,this.$playButton.click(t.proxy(function(){this.$playButton.hide(),this.$pauseButton.show(),this.audio.play(),null==this.executor&&(this.executor=setTimeout(t.proxy(function(){var t=this.audio.a,e=0;t.buffered.length>0&&(e=parseInt(t.buffered.end(0)/t.duration*100)),this.$progressLoading.css({width:e+"%"})},this),400),this.$pauseButton.click(t.proxy(function(){this.$pauseButton.hide(),this.$playButton.show(),this.audio.pause()},this)),this.$stopButton.click(t.proxy(function(){this.$pauseButton.hide(),this.$playButton.show(),this.audio.stop(),clearTimeout(this.executor)},this)),this.audio.observeEnd(t.proxy(function(){this.$pauseButton.hide(),this.$playButton.show(),this.$progress.css({width:"0%"}),clearTimeout(this.executor)},this)),this.audio.observeDurationchange(t.proxy(function(t){if(this.duration=t,NaN!=t&&t!=1/0){var e=parseInt(t),n="";jQuery.each(new Array("s","m","h"),function(t,i){if(v=e%60,n=""+v+i+" "+n,e=(e-v)/60,a++,e<=0)return!1}),this.$container.attr("title",this.basename+" | Duration: "+n),s&&(this.$container.find(".time-elapsed").text(l(0)),this.$container.find(".time-duration").text("/"+n),this.$container.find(".time-indicator").css({display:"block"}).animate({width:38*a*2},850))}},this)),this.audio.observeTimeupdate(t.proxy(function(t){if(null!=this.duration){s&&this.$container.find(".time-elapsed").text(l(t));var e=100*t/this.duration;this.$progress.css({width:e+"%"})}},this)))},this))},window.LongPlayer=function(t,e){var n=jQuery;this.$container=n("#"+e),this.$container.addClass("longPlayer"),this.added=!1;var i=n('<div class="clicktoplay"><div class="playicon"></div></div>');this.$container.append(i),i.click(n.proxy(function(e){i.hide(),this.added||t.addSelf(this.$container),t.a.controls=!0,t.play()},this))};var e=function(t){this.delayedSrc=t};e.prototype.lazyInit=function(){this.a||(this.a=document.createElement("audio"),this.delayedSrc&&(this.a.src=this.delayedSrc,this.delayedSrc=null))},e.prototype.play=function(){this.lazyInit(),this.a.play()},e.prototype.getBasename=function(){var t=this.delayedSrc||this.a.src,e=t.lastIndexOf("/");return e>-1&&e<t.length&&(t=t.substring(e+1)),t},e.prototype.pause=function(){this.lazyInit(),this.a.pause()},e.prototype.stop=function(){this.a.pause(),this.a.currentTime=0},e.prototype.seek=function(t){this.lazyInit(),this.a.currentTime=t},
e.prototype.observeTimeupdate=function(e){t(this.a).bind("timeupdate",t.proxy(function(){e(this.a.currentTime)},this))},e.prototype.observeDurationchange=function(e){t(this.a).bind("durationchange",t.proxy(function(){e(this.a.duration)},this))},e.prototype.observeEnd=function(e){t(this.a).bind("ended",e),t(this.a).bind("timeupdate",t.proxy(function(){this.a.currentTime==this.a.duration&&e()},this))},e.prototype.addSelf=function(t){this.lazyInit(),t.append(this.a)},e.canPlayType=function(t){var e=document.createElement("audio"),n=navigator.userAgent;return!(n.match(/Windows.+Safari/)&&!n.match(/Chrome/)||!e.canPlayType||!e.canPlayType(t).replace(/no/,""))},e.canPlayMp3=function(){return e.canPlayType("audio/mpeg;")},window.NativeAudio=e}(jQuery),function(t){t(function(){t("html").on("click",".glossaryDefinition",function(e){var n=t(this);e.preventDefault(),e.stopPropagation(),n.attr("aria-describedby")?n.popover("hide"):t.get("/sitebuilder2/api/ajax/glossary.html",{page:n.data("page"),term:n.data("term"),rn:Math.round(1e4*Math.random())}).done(function(t){n.popover({placement:"bottom",trigger:"manual",content:t,html:!0,template:'<div class="popover" role="tooltip"><div class="arrow"></div><div class="popover-content"></div></div>'}),n.popover("show")})})})}(jQuery),document.addEventListener("DOMContentLoaded",function(){Ot={tables:{},init:function(){const t=document.querySelectorAll("table.sitebuilder_sortable");var e;for(e=0;e<t.length;e+=1)t[e].id||(t[e].id="sortableTable_"+Math.floor(1e5*Math.random())),Ot.tables[t[e].id]=new d(t[e])}};const t=/^(\d\d?)[\/\.-](\d\d?)[\/\.-]((\d\d)?\d\d)$/,e=/^\(?([\d\.]+)\s([KM]B)\)?$/,n=new RegExp("(£|&pound;)","g"),i={};function o(t,e,n){const i=r(t),o=a(t.cells[i]),s=a(e.cells[i]),l=c(o,n),u=c(s,n);return l.parsedSuccessfully&&u.parsedSuccessfully?l.fullDate===u.fullDate?0:l.fullDate<u.fullDate?-1:1:-1}function r(t){return l(t,"table").dataset.sortColumn}function s(t,e){var n=parseFloat(t);n=n!=n?0:n;var i=parseFloat(e);return n-(i=i!=i?0:i)}function a(t){return t.innerText.trim()}function l(t,e){return null===t?null:t.nodeType===Node.ELEMENT_NODE&&t.tagName.toLowerCase()===e.toLowerCase()?t:l(t.parentNode,e)}function c(e,n){const i=e.match(t);if(null===i)return{parsedSuccessfully:!1};const o=n?i[2]:i[1],r=n?i[1]:i[2],s=i[3];return{parsedSuccessfully:!0,year:s,day:1===o.length?"0"+o:o,month:1===r.length?"0"+r:r,fullDate:s+r+o}}function u(t){const n=t.match(e);return n?"MB"===n[2].toUpperCase()?1024*n[1]*1024:1024*n[1]:0}function d(t){var e;this.table=t;const n=this;if(t.rows&&0!==t.rows.length)for(this.firstRow=t.rows[0],this.columnTitles=[],e=0;e<this.firstRow.cells.length;e+=1){const t=this.firstRow.cells[e];if(t.classList.contains("sortable")){const i=a(t),o=t.title?t.title:i,r=document.createElement("a");this.columnTitles.push(i),r.href="javascript:void(0);",r.className="sortheader",r.dataset.column=e,r.addEventListener("click",function(t){t.preventDefault(),n.sort(r)}),r.innerHTML=i+'<span class="sr-only">Select to sort  <span class="sort-direction-text">(ascending)</span></span>',r.dataset.sortType=this.determineSorterForColumn(e),r.setAttribute("role","button"),t.title="Select to sort by "+o.toLowerCase(),t.innerHTML="",t.appendChild(r),this.ariaAnnouncer=document.createElement("div"),this.ariaAnnouncer.className="sr-only",this.ariaAnnouncer.setAttribute("aria-live","polite"),document.body.appendChild(this.ariaAnnouncer)}}}i.caseInsensitive=function(t,e){const n=r(t),i=a(t.cells[n]).toLowerCase(),o=a(e.cells[n]).toLowerCase();return i===o?0:i<o?-1:1},i.numeric=function(t,e){const n=r(t);return s(a(t.cells[n]),a(e.cells[n]))},i.pounds=function(t,e){const i=r(t);return s(a(t.cells[i]).replace(n,"").replace(",",""),a(e.cells[i]).replace(n,"").replace(",",""))},i.ddmm=function(t,e){return o(t,e,!1)},i.mmdd=function(t,e){return o(t,e,!0)},i.filesize=function(t,e){const n=r(t),i=a(t.cells[n]),o=a(e.cells[n]);return s(u(i),u(o))},d.prototype.sort=function(t){
if(this.table.rows.length<=1)return;const e=t.querySelector("span.sort-direction-text"),n=t.dataset.column,o=i[t.dataset.sortType],r=Array.prototype.slice.call(this.table.querySelectorAll("tr")),s=this.columnTitles[n];var a;r.shift(),this.table.dataset.sortColumn=n,r.sort(o),"down"===t.dataset.sortDirection?(r.reverse(),t.dataset.sortDirection="up",t.className="sortheader sortup",e.innerText="(ascending)",this.ariaAnnouncer.innerText="Sorted by "+s+" (descending)"):(t.dataset.sortDirection="down",t.className="sortheader sortdown",e.innerText="(descending)",this.ariaAnnouncer.innerText="Sorted by "+s+" (ascending)");const c=[];for(a=0;a<r.length;a+=1)r[a].classList.contains("sortbottom")?c.push(r[a]):this.table.tBodies[0].appendChild(r[a]);for(a=0;a<c.length;a+=1)this.table.tBodies[0].appendChild(c[a]);const u=l(t,"tr").getElementsByTagName("a");for(a=0;a<u.length;a+=1)u[a]!==t&&(u[a].className="sortheader")},d.prototype.determineSorterForColumn=function(t){const e=a(this.firstCellWithContentInColumn(t));var i="caseInsensitive";e.match(/^[\d\.]+$/)&&(i="numeric"),e.match(n)&&(i="pounds");const o=c(e,!1);return o.parsedSuccessfully&&(i=o.day>12?"ddmm":o.month>12?"mmdd":"ddmm"),this.firstRow.cells[t].classList.contains("sortable_filesize")&&(i="filesize"),i},d.prototype.firstCellWithContentInColumn=function(t){var e;for(e=1;e<this.table.rows.length;e+=1){const n=this.table.rows[e].cells[t];if(a(n))return n}},Ot.init(),window.SortableTables=Ot});var _t,It,Ht,Rt,Pt,Ft,Mt,Bt,Qt,qt,Wt,Ut,zt,Gt,Vt,Xt,Yt,Jt,Kt,Zt,te,ee,ne,ie,oe,re,se,ae,le='<i class="fa fa-fw fa-spin fa-spinner" aria-hidden="true"></i> Loading comments&hellip;',ce=function(t,e,n){this.url=t,this.$div=e,this.$rootList=null,this.$replyTo=null,this.replyToId=null,this.$link=n,this.hideDeletedComments=null,ce.C||(ce.C={PERMA_REGEX:/^#c([0-9a-f]){16,32}$/,URL:"/sitebuilder2/api/comment"},ce.L={LOADING:le,DENIED_MESSAGE:'<span class="permission_denied">You do not have permission to view these comments.</span>',FAILED_MESSAGE:'<span class="error_unknown">Sorry, there was a problem loading comments.</span>',REPLY_HEADING:"Reply to comment"})};function ue(){if(It)return _t;return It=1,_t=function(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}}function de(){if(Ft)return Pt;Ft=1;var t=function(){if(Rt)return Ht;Rt=1;var t="object"==typeof p&&p&&p.Object===Object&&p;return Ht=t}(),e="object"==typeof self&&self&&self.Object===Object&&self,n=t||e||Function("return this")();return Pt=n}function pe(){if(Ut)return Wt;Ut=1;var t=function(){if(qt)return Qt;qt=1;var t=/\s/;return Qt=function(e){for(var n=e.length;n--&&t.test(e.charAt(n)););return n}}(),e=/^\s+/;return Wt=function(n){return n?n.slice(0,t(n)+1).replace(e,""):n}}function he(){if(Gt)return zt;Gt=1;var t=de().Symbol;return zt=t}function fe(){if(Zt)return Kt;Zt=1;var t=he(),e=function(){if(Xt)return Vt;Xt=1;var t=he(),e=Object.prototype,n=e.hasOwnProperty,i=e.toString,o=t?t.toStringTag:void 0;return Vt=function(t){var e=n.call(t,o),r=t[o];try{t[o]=void 0;var s=!0}catch(t){}var a=i.call(t);return s&&(e?t[o]=r:delete t[o]),a}}(),n=function(){if(Jt)return Yt;Jt=1;var t=Object.prototype.toString;return Yt=function(e){return t.call(e)}}(),i=t?t.toStringTag:void 0;return Kt=function(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":i&&i in Object(t)?e(t):n(t)}}function me(){if(ie)return ne;ie=1;var t=fe(),e=ee?te:(ee=1,te=function(t){return null!=t&&"object"==typeof t});return ne=function(n){return"symbol"==typeof n||e(n)&&"[object Symbol]"==t(n)}}ce.showPageComments=!1,jQuery(function(t){var e=t(".page-comments-container");if(e.length>0){var n=e.find(".comments-link"),i=ce.showPageComments,o={},r=Url.unparam(window.location.href);void 0!==r.comments&&(i="no"!=r.comments&&"false"!=r.comments&&"off"!=r.comments),o.waitForClick=!i,window.pageComments=ce.fromLink(n,o)}var s=t(".lightbox-comments .comments-link");s.each(function(){var e=jQuery(this),n=e.data("id");e.popover({html:!0,
template:'<div class="popover comments-popover" role="tooltip"><a href="#" class="close">&times;<span class="sr-only"> Close comments popup</span></a><div class="arrow"></div><div id="popover_'+n+'" class="popover-content"></div></div>',content:le+"\x3c!-- placeholder content mandatory for bootstrap --\x3e"}),e.on("shown.bs.popover",function(){const i=t(this);i.data("bs.popover").tip().find(".close").on("click",function(){i.popover("hide")}),s.not(t(this)).popover("hide");var o=new ce(e.data("url"),t("#popover_"+n),e);o.keepLink=!0,o.open()}),e.on("hide.bs.popover",function(){e.data("bs.popover").inState.click=!1})}),t("body").on("sitebuilder.comments.updated",function(e,n){var i=t(e.target),o=(i.is(".popover")?i:i.closest(".popover")).data("bs.popover");if(o&&o.tip().hasClass("in")&&n&&n.refreshCount){var r=o.tip().find('.root-comments .page-comment:not([class~="deleted"]):not([class~="not-approved"])').length;o.$element.text(r+" comment"+(1==r?"":"s"))}})}),ce.fromLink=function(t,e){e=e||{};var n=Url.unparam(t.attr("href")).page;if(n){var i=e.divId||"commentsFor"+n.replace(/[^a-z0-9]+/g,"_"),o=jQuery("<div/>").attr("id",i),r=new ce(n,o,t),s=!!(window.location.hash||"").match(ce.C.PERMA_REGEX);return e.waitForClick&&!s&&t.length>0?t.click(jQuery.proxy(function(t){return t.preventDefault(),t.stopPropagation(),this.open(),!1},r)):r.open(),r}},ce.decorateLinks=function(){jQuery(".comments-link").each(function(t,e){ce.fromLink(jQuery(e))})},ce.prototype={init:function(){this._loadingMessage(),jQuery.ajax({url:ce.C.URL,data:this.params({page:this.url,random:this._rand()}),success:jQuery.proxy(this.initDone,this),error:jQuery.proxy(this.initFail,this)})},_rand:function(t){var e=(window.SitebuilderInfo||{}).lastUpdated||parseInt(999999999999999*Math.random());return new WCookie("WarwickSSO").value&&(e+="U"),e},params:function(t){return"boolean"==typeof this.hideDeletedComments&&(t.HideDeletedComments=this.hideDeletedComments),t},setHideDeletedComments:function(t){t!=this.hideDeletedComments&&(this.hideDeletedComments=t,this.init())},_loadingMessage:function(){this.$div.html(ce.L.LOADING),this.$div.trigger("sitebuilder.comments.updated")},initDone:function(t){this.$div.html(t),this.$div.trigger("sitebuilder.comments.updated",{refreshCount:!0}),(window.location.hash||"").match(ce.C.PERMA_REGEX)&&(window.location.hash=window.location.hash),this.decorateEverything(),this.initialHeading=this._getFormHolder().find("h5:first").html(),this.initialSubmitText=this._getFormHolder().find("input[name=postSubmit]")?this._getFormHolder().find("input[name=postSubmit]").val():null},initFail:function(t){403==t.status||(301==t.status||302==t.status)&&t.getResponseHeader("Location").indexOf("websignon")>-1?this.$div.html(ce.L.DENIED_MESSAGE):this.$div.html(ce.L.FAILED_MESSAGE),this.$div.trigger("sitebuilder.comments.updated")},_paramsToObject:function(t){for(var e={},n=0;n<t.length;n++)e[t[n].name]=t[n].value;return e},previewClick:function(t){var e=t.target;const n=this._paramsToObject(jQuery(e).closest("form").serializeArray());n.previewSubmit="Preview",delete n.postSubmit,jQuery.ajax({type:"POST",url:ce.C.URL,data:jQuery.param(n),success:jQuery.proxy(function(t){var e=t,n=this.$div.find(".previewContainer"),i=jQuery('<div class="well"></div>');i.html(e),jQuery(n).html(i).prepend("<h5>Preview</h5>"),this.$div.trigger("sitebuilder.comments.updated")},this)}),t.preventDefault(),t.stopPropagation()},unfollowClick:function(t){var e=t.target;params=jQuery(e).closest("form").serialize(),jQuery.ajax({url:ce.C.URL,type:"POST",data:params,success:jQuery.proxy(function(t){this.$div.html(t),this.$div.trigger("sitebuilder.comments.updated",{refreshCount:!0}),this.decorateEverything()},this)}),t.preventDefault(),t.stopPropagation()},decorateForm:function(){this.$div.find("input[name=previewSubmit]").length>0&&this.$div.find("input[name=previewSubmit]").click(jQuery.proxy(this.previewClick,this));var t=this.$div.find("input[name=postSubmit]")
;t.length>0&&(jQuery(t).removeAttr("disabled"),jQuery(t).click(jQuery.proxy(this.submitClick,this)));var e=this.$div.find("input[name=unfollowSubmit]");e.length>0&&e.click(jQuery.proxy(this.unfollowClick,this)),this._reassignFormTabindex()},resetForm:function(){var t=this._getForm();if(t.length>0){var e=this._getFormHolder();t.find("textarea").val(""),this.$div.find(".previewContainer").html(""),this.$div.trigger("sitebuilder.comments.updated"),jQuery(t.find("input[name=postSubmit]")).removeAttr("disabled"),t.find(".user_error").remove(),t.find("input[name=commentId]").remove(),e.find(".editReplyText").remove(),e.find("h5:first").html(this.initialHeading),e.find("input[name=postSubmit]").val(this.initialSubmitText)}this.resetFlags()},resetFlags:function(){this.$editing=null,this.editingId=null,this.$replyTo=null,this.replyToId=null},decorateListWithin:function(t){this.$rootList=this.$div.find("ul"),t.length>0&&(t.find("a.reply-comment").each(jQuery.proxy(function(t,e){var n=jQuery(e),i=Url.unparam(n.attr("href")).replyTo;n.click(jQuery.proxy(function(t){return t.preventDefault(),t.stopPropagation(),i!=this.replyToId&&(this.resetForm(),this.$replyTo=jQuery("#pageComment_"+i).closest("li"),this.replyToId=i,this.$replyTo.append(this._getFormHolder()),this._getFormHolder().find("h2").html(ce.L.REPLY_HEADING),this.$div.trigger("sitebuilder.comments.updated")),!1},this))},this)),t.find("a.permalink").each(jQuery.proxy(function(t,e){var n=jQuery(e),i=n.attr("href").match(/#(.+)/)[1];i&&n.click(jQuery.proxy(function(t){return t.preventDefault(),t.stopPropagation(),window.location.hash=i,!1},this))},this))),this._replaceClick(t,"a.delete-comment",!0,function(t,e){var n="Are you sure you want to delete this comment? ",i=jQuery(t.target).closest("li").find("li").length;1==i?n+=" one reply will also be deleted.":i>1&&(n+=i+" replies will also be deleted."),confirm(n)&&this.deleteComment(e)}),this._replaceClick(t,"a.approve-comment",!0,function(t,e){confirm("Are you sure you want to approve this comment?")&&this.approveComment(e)}),this._replaceClick(t,"a.show-deleted-comments",!1,function(){this.setHideDeletedComments(!1)}),this._replaceClick(t,"a.hide-deleted-comments",!1,function(){this.setHideDeletedComments(!0)}),this._replaceClick(this.$div,"a.edit-comment",!0,function(t,e){e!=this.editingId&&(this.resetForm(),this.$editing=jQuery(t.target).closest("li"),this.editingId=e,jQuery.ajax({url:ce.C.URL,type:"GET",data:jQuery.param({commentId:e,random:this._rand(!0),page:this._getForm()?this._getForm().find("input[name=page]").val():""}),success:jQuery.proxy(function(t){this._getFormHolder().html(t),this._getFormHolder().find(".cancelEditingLink").remove(),this.decorateForm(),this.$editing.append(this._getFormHolder());var e=this.$editing.find("ul");e.length>0&&this.$editing.append(e),this.$div.trigger("sitebuilder.comments.updated")},this)}))})},_replaceClick:function(t,e,n,i){t.length>0&&t.find(e).each(jQuery.proxy(function(t,e){var o=jQuery(e),r=null;if(n){var s=o.closest(".page-comment");r=this._commentIdFromDiv(s)}o.click(jQuery.proxy(function(t){return t.preventDefault(),t.stopPropagation(),jQuery.proxy(i,this)(t,r),!1},this))},this))},decorateList:function(){this.decorateListWithin(this.$div)},decorateEverything:function(){this.decorateList(),this.decorateForm()},deleteComment:function(t){jQuery.ajax({url:ce.C.URL,type:"post",data:jQuery.param(this.params({action:"delete",commentId:t,page:this._getForm().find("input[name=page]").val()})),success:jQuery.proxy(this.onDeleteSuccess,this),error:jQuery.proxy(this.onDeleteFailure,this)})},onDeleteSuccess:function(t){this.$div.html(t),this.$div.trigger("sitebuilder.comments.updated",{refreshCount:!0}),this.decorateEverything()},onDeleteFailure:function(t){},approveComment:function(t){jQuery.ajax({url:ce.C.URL,type:"post",data:jQuery.param({action:"approve",commentId:t,page:this._getForm().find("input[name=page]").val()}),success:jQuery.proxy(this.onApproveSuccess,this),
error:jQuery.proxy(this.onApproveFailure,this)})},onApproveSuccess:function(t){this.$div.html(t),this.$div.trigger("sitebuilder.comments.updated",{refreshCount:!0}),this.decorateEverything()},onApproveFailure:function(t){},submitClick:function(t){t.preventDefault(),t.stopPropagation();var e=t.target;jQuery(e).attr("disabled","disabled");var n=this._paramsToObject(this._getForm().serializeArray());return n.postSubmit="Submit",delete n.previewSubmit,this.replyToId&&(n.replyTo=this.replyToId),jQuery.ajax({url:ce.C.URL,type:"post",data:jQuery.param(n),success:jQuery.proxy(this.onSubmitSuccess,this),error:jQuery.proxy(this.onSubmitFailure,this)}),!1},onSubmitSuccess:function(t){-1!=t.indexOf("user_error")?(this._getFormHolder().html(t),this.decorateForm()):(this.$div.html(t),this.$div.trigger("sitebuilder.comments.updated",{refreshCount:!0}),this.decorateEverything(),this.resetFlags())},onSubmitFailure:function(t){this._getFormHolder().html(t),this.decorateForm()},open:function(){this.$link.length>0&&!this.keepLink&&this.$link.replaceWith(this.$div),this.init()},resetFormPosition:function(){this._insertAfter(this._getListHolder(),this._getFormHolder())},_commentIdFromDiv:function(t){return t.attr("id").substring(12)},_greatestTabindex:function(){var t=0;return jQuery("[tabindex]").each(function(e,n){t=Math.max(t,jQuery(n).attr("tabindex"))}),t},_reassignFormTabindex:function(){var t=this._greatestTabindex();this._getForm().length>0&&this._getForm().find("[tabindex]").each(function(e,n){jQuery(n).attr("tabindex",++t)})},_getForm:function(){return this.$div.find("form")},_getFormHolder:function(){return this.$div.find(".comment_form_holder")},_getListHolder:function(){return this.$div.find(".comment_list_holder")},_insertAfter:function(t,e){t.parentNode.insertBefore(e,t.nextSibling)}},window.Comments=ce,jQuery(function(t){t(".mapLink").on("click",function(e){const n=t(this),i=n.data("location"),o=n.data("mapv2");if(e.preventDefault(),e.stopPropagation(),i&&!n.attr("aria-describedby")){const t=n.data("slid"),e=n.data("location-id");let r=o?`/sitebuilder2/api/campus_map/location/${encodeURIComponent(e)}`:`/sitebuilder2/api/campus_map/slid/${encodeURIComponent(i)}`;o||null==t||(r=r+"?slid="+encodeURIComponent(t)),window.open(r,"_blank")}})}),window.twitterList=function(){var t,e,n,i,o,r,s,a=function(){return e},l=function(){return o},c=function(){return r},u=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],d=["Sun","Mon","Tue","Wed","Thurs","Fri","Sat"],p=0,h=this,f=function(t){var e=t.split(" "),n=e[3].split(":"),i=new Date(e[5],function(t){var e;for(e=0;e<u.length;e++)if(u[e]==t)return e}(e[1]),e[2],n[0],n[1],n[2],0);i.setMinutes(i.getMinutes()-i.getTimezoneOffset());var o=new Date,r="th",s=i.getDate();11!=s&&12!=s&&13!=s&&(s>9&&(s%=10),1==s&&(r="st"),2==s&&(r="nd"),3==s&&(r="rd"));var a=!0,l=i.getHours(),c=i.getMinutes();c=(c<10?"0":"")+c,l>12?(a=!1,l-=12):12==l?a=!1:0==l&&(l=12);var p=a?"am":"pm";o.setHours(0,0,0,0),i.setHours(0,0,0,0);var h=Math.floor((o-i)/864e5);return(0==h?"Today":1==h?"Yesterday":d[i.getDay()]+" "+i.getDate()+r+" "+u[i.getMonth()]+" "+i.getFullYear())+", "+l+":"+c+p},m=function(t,e){var n={};return jQuery.each(t||[],function(t,i){n[e(i)]=i}),n},g=function(e){var n=e.text;if(e.entities){var i=m(e.entities.hashtags,function(t){return t.text}),o=m(e.entities.urls,function(t){return t.url}),r=m(e.entities.user_mentions,function(t){return t.screen_name});jQuery.each(i,function(t,e){n=n.replace(new RegExp("#"+e.text,"g"),"<a target='_blank' title='Search for "+e.text+" on X' href='http://www.twitter.com/search?q="+e.text+"'>#"+e.text+"</a>")}),jQuery.each(o,function(t,e){n=n.replace(new RegExp(e.url,"g"),"<a target='_blank' title='Link opens in a new window' href='"+e.url+"'>"+e.url+"</a>")});jQuery.each(r,function(t,e){
n=n.replace(new RegExp("@"+e.screen_name+"([^a-z0-9_]|$)","ig"),"<a target='_blank' title='Read @"+e.screen_name+"&#39;s tweets on X' href='http://www.twitter.com/"+e.screen_name+"'>@"+e.screen_name+"</a>$1")})}var a=f(e.created_at);return n='<div class="tweet"><p class="tweet-text">'+n+'</p><span class="date-posted"><a href="https://twitter.com/'+t+"/statuses/"+e.id_str+'" title="Read this tweet on X">'+a+"</a></span>","plaintext"!=s&&(n=n+'<span class="tweet-actions"><a href="https://twitter.com/intent/tweet?in_reply_to='+e.id_str+'" class="tweet-reply"><i class="fa fa-fw fa-reply"></i><span class="action">Reply</span></a><a href="https://twitter.com/intent/retweet?tweet_id='+e.id_str+'" class="tweet-retweet"><i class="fa fa-fw fa-retweet"></i><span class="action">Retweet</span></a><a href="https://twitter.com/intent/favorite?tweet_id='+e.id_str+'" class="tweet-fav"><i class="fa fa-fw fa-star-o"></i><span class="action">Favorite</span></a></span>'),n+="</div>"},v=function(){if(a()){var t="/sitebuilder2/api/twitter_timeline.json?account="+encodeURIComponent(a());t+="&count="+(l()+20)+"&include_entities=true&include_rts="+n+"&exclude_replies="+(i?"false":"true")+"&callback=?",jQuery.getJSON(t,function(t){var e=0;jQuery.each(t,function(t,n){if(e<l()){var i=g(n);jQuery("#twitter-container-"+c()).append(i),e+=1}});var n=t[0].user,i=jQuery("<img />").attr("src",n.profile_image_url_https||n.profile_image_url).attr("alt",n.name);jQuery(i).appendTo("#twitter-container-"+c()+" .twitter-image-link"),jQuery("#twitter-container-"+c()+" .twitter-name").prepend(t[0].user.name)})}else"undefined"!=typeof console&&"function"==typeof console.error&&console.error("Can't call Twitter API without encrypted account name!")};return{init:function(a,l,c,u,d,p,h){t=a,n=l,o=c,r=u,s=d,e=p,i=h,void 0!==window.twitterLoaded&&!0===window.twitterLoaded[u]||(v(),void 0===window.twitterLoaded&&(window.twitterLoaded=[]),window.twitterLoaded[u]=!0)},pgetJSON:function(t,e){var n=document.createElement("script"),i="__jsonp"+p;h[i]=e,n.src=t.replace(/\?(&|$)/,"__jsonp"+p+"$1"),n.onload=function(){n.remove(),n=null,delete h[i]},undefined.appendChild(n),p++},_transformItem:g,_parseDate:f}},window.WPopupBox=function(){this.anchor=null,this.options={placement:"bottom",html:!0,content:'<i class="fa fa-spin fa-spinner" aria-hidden="true"> Loading...</i>',template:'<div class="popover role="tooltip"><div class="arrow"></div><div class="popover-content"></div></div>'},this.positionAbove=function(t){this.options.placement="top",this.showPopover(t)},this.positionBelow=function(t){this.options.placement="bottom",this.showPopover(t)},this.positionRight=function(t){this.options.placement="right",this.showPopover(t)},this.show=function(){this.anchor&&this.anchor.popover("show")},this.hide=function(){this.anchor&&this.anchor.popover("hide")},this.setContent=function(t){this.anchor&&(this.options.content=t,this.anchor.data("bs.popover").options.content=t,this.anchor.popover("show"))},this.setSize=function(t,e){this.anchor&&(this.anchor.data("bs.popover").tip().find(".popover-content").css({width:t+"px",height:e+"px","max-width":t+"px","max-height":e+"px","overflow-y":"scroll"}),this.anchor.popover("show"))},this.showPopover=function(t){jQuery(t).length&&(t.hide=jQuery.noop,this.anchor=jQuery(t),this.anchor=jQuery(t),this.anchor.popover(this.options),this.anchor.popover("show"))}};var ge=function(){if(ae)return se;ae=1;var t=ue(),e=function(){if(Bt)return Mt;Bt=1;var t=de();return Mt=function(){return t.Date.now()}}(),n=function(){if(re)return oe;re=1;var t=pe(),e=ue(),n=me(),i=/^[-+]0x[0-9a-f]+$/i,o=/^0b[01]+$/i,r=/^0o[0-7]+$/i,s=parseInt;return oe=function(a){if("number"==typeof a)return a;if(n(a))return NaN;if(e(a)){var l="function"==typeof a.valueOf?a.valueOf():a;a=e(l)?l+"":l}if("string"!=typeof a)return 0===a?a:+a;a=t(a);var c=o.test(a);return c||r.test(a)?s(a.slice(2),c?2:8):i.test(a)?NaN:+a}}(),i=Math.max,o=Math.min;return se=function(r,s,a){
var l,c,u,d,p,h,f=0,m=!1,g=!1,v=!0;if("function"!=typeof r)throw new TypeError("Expected a function");function y(t){var e=l,n=c;return l=c=void 0,f=t,d=r.apply(n,e)}function w(t){var e=t-h;return void 0===h||e>=s||e<0||g&&t-f>=u}function b(){var t=e();if(w(t))return x(t);p=setTimeout(b,function(t){var e=s-(t-h);return g?o(e,u-(t-f)):e}(t))}function x(t){return p=void 0,v&&l?y(t):(l=c=void 0,d)}function A(){var t=e(),n=w(t);if(l=arguments,c=this,h=t,n){if(void 0===p)return function(t){return f=t,p=setTimeout(b,s),m?y(t):d}(h);if(g)return clearTimeout(p),p=setTimeout(b,s),y(h)}return void 0===p&&(p=setTimeout(b,s)),d}return s=n(s)||0,t(a)&&(m=!!a.leading,u=(g="maxWait"in a)?i(n(a.maxWait)||0,s):u,v="trailing"in a?!!a.trailing:v),A.cancel=function(){void 0!==p&&clearTimeout(p),f=0,l=h=c=p=void 0},A.flush=function(){return void 0===p?d:x(e())},A},se}(),ve=h(ge);d.box("ID7 render bundle"),window._={debounce:ve},b.fn.doubleScroll=function(){return this},window.moment=function(){return{format:()=>""}}}();//# sourceMappingURL=id7-bundle-render.js.map
