/*! * jQuery JavaScript Library v3.5.1 * https://jquery.com/ * * Includes Sizzle.js * https://sizzlejs.com/ * * Copyright JS Foundation and other contributors * Released under the MIT license * https://jquery.org/license * * Date: 2020-05-04T22:49Z */ !function(e,t){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=e.document?t(e,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return t(e)}:t(e)}("undefined"!=typeof window?window:this,function(T,e){"use strict";function g(e){return"function"==typeof e&&"number"!=typeof e.nodeType}function v(e){return null!=e&&e===e.window}var t=[],n=Object.getPrototypeOf,s=t.slice,y=t.flat?function(e){return t.flat.call(e)}:function(e){return t.concat.apply([],e)},u=t.push,i=t.indexOf,r={},o=r.toString,m=r.hasOwnProperty,a=m.toString,l=a.call(Object),x={},C=T.document,c={type:!0,src:!0,nonce:!0,noModule:!0};function b(e,t,n){var r,i,o=(n=n||C).createElement("script");if(o.text=e,t)for(r in c)(i=t[r]||t.getAttribute&&t.getAttribute(r))&&o.setAttribute(r,i);n.head.appendChild(o).parentNode.removeChild(o)}function h(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?r[o.call(e)]||"object":typeof e}var f="3.5.1",E=function(e,t){return new E.fn.init(e,t)};function p(e){var t=!!e&&"length"in e&&e.length,n=h(e);return!g(e)&&!v(e)&&("array"===n||0===t||"number"==typeof t&&0<t&&t-1 in e)}E.fn=E.prototype={jquery:f,constructor:E,length:0,toArray:function(){return s.call(this)},get:function(e){return null==e?s.call(this):e<0?this[e+this.length]:this[e]},pushStack:function(e){e=E.merge(this.constructor(),e);return e.prevObject=this,e},each:function(e){return E.each(this,e)},map:function(n){return this.pushStack(E.map(this,function(e,t){return n.call(e,t,e)}))},slice:function(){return this.pushStack(s.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(E.grep(this,function(e,t){return(t+1)%2}))},odd:function(){return this.pushStack(E.grep(this,function(e,t){return t%2}))},eq:function(e){var t=this.length,e=+e+(e<0?t:0);return this.pushStack(0<=e&&e<t?[this[e]]:[])},end:function(){return this.prevObject||this.constructor()},push:u,sort:t.sort,splice:t.splice},E.extend=E.fn.extend=function(){var e,t,n,r,i,o=arguments[0]||{},a=1,s=arguments.length,u=!1;for("boolean"==typeof o&&(u=o,o=arguments[a]||{},a++),"object"==typeof o||g(o)||(o={}),a===s&&(o=this,a--);a<s;a++)if(null!=(e=arguments[a]))for(t in e)n=e[t],"__proto__"!==t&&o!==n&&(u&&n&&(E.isPlainObject(n)||(r=Array.isArray(n)))?(i=o[t],i=r&&!Array.isArray(i)?[]:r||E.isPlainObject(i)?i:{},r=!1,o[t]=E.extend(u,i,n)):void 0!==n&&(o[t]=n));return o},E.extend({expando:"jQuery"+(f+Math.random()).replace(/\D/g,""),isReady:!0,error:function(e){throw new Error(e)},noop:function(){},isPlainObject:function(e){return!(!e||"[object Object]"!==o.call(e))&&(!(e=n(e))||"function"==typeof(e=m.call(e,"constructor")&&e.constructor)&&a.call(e)===l)},isEmptyObject:function(e){for(var t in e)return!1;return!0},globalEval:function(e,t,n){b(e,{nonce:t&&t.nonce},n)},each:function(e,t){var n,r=0;if(p(e))for(n=e.length;r<n&&!1!==t.call(e[r],r,e[r]);r++);else for(r in e)if(!1===t.call(e[r],r,e[r]))break;return e},makeArray:function(e,t){t=t||[];return null!=e&&(p(Object(e))?E.merge(t,"string"==typeof e?[e]:e):u.call(t,e)),t},inArray:function(e,t,n){return null==t?-1:i.call(t,e,n)},merge:function(e,t){for(var n=+t.length,r=0,i=e.length;r<n;r++)e[i++]=t[r];return e.length=i,e},grep:function(e,t,n){for(var r=[],i=0,o=e.length,a=!n;i<o;i++)!t(e[i],i)!=a&&r.push(e[i]);return r},map:function(e,t,n){var r,i,o=0,a=[];if(p(e))for(r=e.length;o<r;o++)null!=(i=t(e[o],o,n))&&a.push(i);else for(o in e)null!=(i=t(e[o],o,n))&&a.push(i);return y(a)},guid:1,support:x}),"function"==typeof Symbol&&(E.fn[Symbol.iterator]=t[Symbol.iterator]),E.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(e,t){r["[object "+t+"]"]=t.toLowerCase()});var d= /*! * Sizzle CSS Selector Engine v2.3.5 * https://sizzlejs.com/ * * Copyright JS Foundation and other contributors * Released under the MIT license * https://js.foundation/ * * Date: 2020-03-14 */ function(n){function f(e,t){return e="0x"+e.slice(1)-65536,t||(e<0?String.fromCharCode(65536+e):String.fromCharCode(e>>10|55296,1023&e|56320))}function p(e,t){return t?"\0"===e?"�":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e}function r(){T()}var e,d,b,o,i,h,g,v,w,u,l,T,C,a,E,y,s,c,m,S="sizzle"+ +new Date,x=n.document,k=0,A=0,N=ue(),D=ue(),j=ue(),q=ue(),L=function(e,t){return e===t&&(l=!0),0},H={}.hasOwnProperty,t=[],O=t.pop,P=t.push,R=t.push,M=t.slice,I=function(e,t){for(var n=0,r=e.length;n<r;n++)if(e[n]===t)return n;return-1},W="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",F="[\\x20\\t\\r\\n\\f]",B="(?:\\\\[\\da-fA-F]{1,6}"+F+"?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+",$="\\["+F+"*("+B+")(?:"+F+"*([*^$|!~]?=)"+F+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+B+"))|)"+F+"*\\]",_=":("+B+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+$+")*)|.*)\\)|)",z=new RegExp(F+"+","g"),U=new RegExp("^"+F+"+|((?:^|[^\\\\])(?:\\\\.)*)"+F+"+$","g"),X=new RegExp("^"+F+"*,"+F+"*"),V=new RegExp("^"+F+"*([>+~]|"+F+")"+F+"*"),G=new RegExp(F+"|>"),Y=new RegExp(_),Q=new RegExp("^"+B+"$"),J={ID:new RegExp("^#("+B+")"),CLASS:new RegExp("^\\.("+B+")"),TAG:new RegExp("^("+B+"|[*])"),ATTR:new RegExp("^"+$),PSEUDO:new RegExp("^"+_),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+F+"*(even|odd|(([+-]|)(\\d*)n|)"+F+"*(?:([+-]|)"+F+"*(\\d+)|))"+F+"*\\)|)","i"),bool:new RegExp("^(?:"+W+")$","i"),needsContext:new RegExp("^"+F+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+F+"*((?:-\\d)?\\d*)"+F+"*\\)|)(?=[^-]|$)","i")},K=/HTML$/i,Z=/^(?:input|select|textarea|button)$/i,ee=/^h\d$/i,te=/^[^{]+\{\s*\[native \w/,ne=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,re=/[+~]/,ie=new RegExp("\\\\[\\da-fA-F]{1,6}"+F+"?|\\\\([^\\r\\n\\f])","g"),oe=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,ae=me(function(e){return!0===e.disabled&&"fieldset"===e.nodeName.toLowerCase()},{dir:"parentNode",next:"legend"});try{R.apply(t=M.call(x.childNodes),x.childNodes),t[x.childNodes.length].nodeType}catch(e){R={apply:t.length?function(e,t){P.apply(e,M.call(t))}:function(e,t){for(var n=e.length,r=0;e[n++]=t[r++];);e.length=n-1}}}function se(t,e,n,r){var i,o,a,s,u,l,c=e&&e.ownerDocument,f=e?e.nodeType:9;if(n=n||[],"string"!=typeof t||!t||1!==f&&9!==f&&11!==f)return n;if(!r&&(T(e),e=e||C,E)){if(11!==f&&(s=ne.exec(t)))if(l=s[1]){if(9===f){if(!(o=e.getElementById(l)))return n;if(o.id===l)return n.push(o),n}else if(c&&(o=c.getElementById(l))&&m(e,o)&&o.id===l)return n.push(o),n}else{if(s[2])return R.apply(n,e.getElementsByTagName(t)),n;if((l=s[3])&&d.getElementsByClassName&&e.getElementsByClassName)return R.apply(n,e.getElementsByClassName(l)),n}if(d.qsa&&!q[t+" "]&&(!y||!y.test(t))&&(1!==f||"object"!==e.nodeName.toLowerCase())){if(l=t,c=e,1===f&&(G.test(t)||V.test(t))){for((c=re.test(t)&&ge(e.parentNode)||e)===e&&d.scope||((a=e.getAttribute("id"))?a=a.replace(oe,p):e.setAttribute("id",a=S)),i=(u=h(t)).length;i--;)u[i]=(a?"#"+a:":scope")+" "+ye(u[i]);l=u.join(",")}try{return R.apply(n,c.querySelectorAll(l)),n}catch(e){q(t,!0)}finally{a===S&&e.removeAttribute("id")}}}return v(t.replace(U,"$1"),e,n,r)}function ue(){var n=[];function r(e,t){return n.push(e+" ")>b.cacheLength&&delete r[n.shift()],r[e+" "]=t}return r}function le(e){return e[S]=!0,e}function ce(e){var t=C.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t)}}function fe(e,t){for(var n=e.split("|"),r=n.length;r--;)b.attrHandle[n[r]]=t}function pe(e,t){var n=t&&e,r=n&&1===e.nodeType&&1===t.nodeType&&e.sourceIndex-t.sourceIndex;if(r)return r;if(n)for(;n=n.nextSibling;)if(n===t)return-1;return e?1:-1}function de(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&&ae(e)===t:e.disabled===t:"label"in e&&e.disabled===t}}function he(a){return le(function(o){return o=+o,le(function(e,t){for(var n,r=a([],e.length,o),i=r.length;i--;)e[n=r[i]]&&(e[n]=!(t[n]=e[n]))})})}function ge(e){return e&&void 0!==e.getElementsByTagName&&e}for(e in d=se.support={},i=se.isXML=function(e){var t=e.namespaceURI,e=(e.ownerDocument||e).documentElement;return!K.test(t||e&&e.nodeName||"HTML")},T=se.setDocument=function(e){var t,e=e?e.ownerDocument||e:x;return e!=C&&9===e.nodeType&&e.documentElement&&(a=(C=e).documentElement,E=!i(C),x!=C&&(t=C.defaultView)&&t.top!==t&&(t.addEventListener?t.addEventListener("unload",r,!1):t.attachEvent&&t.attachEvent("onunload",r)),d.scope=ce(function(e){return a.appendChild(e).appendChild(C.createElement("div")),void 0!==e.querySelectorAll&&!e.querySelectorAll(":scope fieldset div").length}),d.attributes=ce(function(e){return e.className="i",!e.getAttribute("className")}),d.getElementsByTagName=ce(function(e){return e.appendChild(C.createComment("")),!e.getElementsByTagName("*").length}),d.getElementsByClassName=te.test(C.getElementsByClassName),d.getById=ce(function(e){return a.appendChild(e).id=S,!C.getElementsByName||!C.getElementsByName(S).length}),d.getById?(b.filter.ID=function(e){var t=e.replace(ie,f);return function(e){return e.getAttribute("id")===t}},b.find.ID=function(e,t){if(void 0!==t.getElementById&&E){e=t.getElementById(e);return e?[e]:[]}}):(b.filter.ID=function(e){var t=e.replace(ie,f);return function(e){e=void 0!==e.getAttributeNode&&e.getAttributeNode("id");return e&&e.value===t}},b.find.ID=function(e,t){if(void 0!==t.getElementById&&E){var n,r,i,o=t.getElementById(e);if(o){if((n=o.getAttributeNode("id"))&&n.value===e)return[o];for(i=t.getElementsByName(e),r=0;o=i[r++];)if((n=o.getAttributeNode("id"))&&n.value===e)return[o]}return[]}}),b.find.TAG=d.getElementsByTagName?function(e,t){return void 0!==t.getElementsByTagName?t.getElementsByTagName(e):d.qsa?t.querySelectorAll(e):void 0}:function(e,t){var n,r=[],i=0,o=t.getElementsByTagName(e);if("*"!==e)return o;for(;n=o[i++];)1===n.nodeType&&r.push(n);return r},b.find.CLASS=d.getElementsByClassName&&function(e,t){if(void 0!==t.getElementsByClassName&&E)return t.getElementsByClassName(e)},s=[],y=[],(d.qsa=te.test(C.querySelectorAll))&&(ce(function(e){var t;a.appendChild(e).innerHTML="<a id='"+S+"'></a><select id='"+S+"-\r\\' msallowcapture=''><option selected=''></option></select>",e.querySelectorAll("[msallowcapture^='']").length&&y.push("[*^$]="+F+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||y.push("\\["+F+"*(?:value|"+W+")"),e.querySelectorAll("[id~="+S+"-]").length||y.push("~="),(t=C.createElement("input")).setAttribute("name",""),e.appendChild(t),e.querySelectorAll("[name='']").length||y.push("\\["+F+"*name"+F+"*="+F+"*(?:''|\"\")"),e.querySelectorAll(":checked").length||y.push(":checked"),e.querySelectorAll("a#"+S+"+*").length||y.push(".#.+[+~]"),e.querySelectorAll("\\\f"),y.push("[\\r\\n\\f]")}),ce(function(e){e.innerHTML="<a href='' disabled='disabled'></a><select disabled='disabled'><option/></select>";var t=C.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&y.push("name"+F+"*[*^$|!~]?="),2!==e.querySelectorAll(":enabled").length&&y.push(":enabled",":disabled"),a.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&y.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),y.push(",.*:")})),(d.matchesSelector=te.test(c=a.matches||a.webkitMatchesSelector||a.mozMatchesSelector||a.oMatchesSelector||a.msMatchesSelector))&&ce(function(e){d.disconnectedMatch=c.call(e,"*"),c.call(e,"[s!='']:x"),s.push("!=",_)}),y=y.length&&new RegExp(y.join("|")),s=s.length&&new RegExp(s.join("|")),t=te.test(a.compareDocumentPosition),m=t||te.test(a.contains)?function(e,t){var n=9===e.nodeType?e.documentElement:e,t=t&&t.parentNode;return e===t||!(!t||1!==t.nodeType||!(n.contains?n.contains(t):e.compareDocumentPosition&&16&e.compareDocumentPosition(t)))}:function(e,t){if(t)for(;t=t.parentNode;)if(t===e)return!0;return!1},L=t?function(e,t){if(e===t)return l=!0,0;var n=!e.compareDocumentPosition-!t.compareDocumentPosition;return n||(1&(n=(e.ownerDocument||e)==(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!d.sortDetached&&t.compareDocumentPosition(e)===n?e==C||e.ownerDocument==x&&m(x,e)?-1:t==C||t.ownerDocument==x&&m(x,t)?1:u?I(u,e)-I(u,t):0:4&n?-1:1)}:function(e,t){if(e===t)return l=!0,0;var n,r=0,i=e.parentNode,o=t.parentNode,a=[e],s=[t];if(!i||!o)return e==C?-1:t==C?1:i?-1:o?1:u?I(u,e)-I(u,t):0;if(i===o)return pe(e,t);for(n=e;n=n.parentNode;)a.unshift(n);for(n=t;n=n.parentNode;)s.unshift(n);for(;a[r]===s[r];)r++;return r?pe(a[r],s[r]):a[r]==x?-1:s[r]==x?1:0}),C},se.matches=function(e,t){return se(e,null,null,t)},se.matchesSelector=function(e,t){if(T(e),d.matchesSelector&&E&&!q[t+" "]&&(!s||!s.test(t))&&(!y||!y.test(t)))try{var n=c.call(e,t);if(n||d.disconnectedMatch||e.document&&11!==e.document.nodeType)return n}catch(e){q(t,!0)}return 0<se(t,C,null,[e]).length},se.contains=function(e,t){return(e.ownerDocument||e)!=C&&T(e),m(e,t)},se.attr=function(e,t){(e.ownerDocument||e)!=C&&T(e);var n=b.attrHandle[t.toLowerCase()],n=n&&H.call(b.attrHandle,t.toLowerCase())?n(e,t,!E):void 0;return void 0!==n?n:d.attributes||!E?e.getAttribute(t):(n=e.getAttributeNode(t))&&n.specified?n.value:null},se.escape=function(e){return(e+"").replace(oe,p)},se.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},se.uniqueSort=function(e){var t,n=[],r=0,i=0;if(l=!d.detectDuplicates,u=!d.sortStable&&e.slice(0),e.sort(L),l){for(;t=e[i++];)t===e[i]&&(r=n.push(i));for(;r--;)e.splice(n[r],1)}return u=null,e},o=se.getText=function(e){var t,n="",r=0,i=e.nodeType;if(i){if(1===i||9===i||11===i){if("string"==typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)n+=o(e)}else if(3===i||4===i)return e.nodeValue}else for(;t=e[r++];)n+=o(t);return n},(b=se.selectors={cacheLength:50,createPseudo:le,match:J,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(ie,f),e[3]=(e[3]||e[4]||e[5]||"").replace(ie,f),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||se.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&se.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return J.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&Y.test(n)&&(t=h(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(ie,f).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=N[e+" "];return t||(t=new RegExp("(^|"+F+")"+e+"("+F+"|$)"))&&N(e,function(e){return t.test("string"==typeof e.className&&e.className||void 0!==e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(t,n,r){return function(e){e=se.attr(e,t);return null==e?"!="===n:!n||(e+="","="===n?e===r:"!="===n?e!==r:"^="===n?r&&0===e.indexOf(r):"*="===n?r&&-1<e.indexOf(r):"$="===n?r&&e.slice(-r.length)===r:"~="===n?-1<(" "+e.replace(z," ")+" ").indexOf(r):"|="===n&&(e===r||e.slice(0,r.length+1)===r+"-"))}},CHILD:function(h,e,t,g,v){var y="nth"!==h.slice(0,3),m="last"!==h.slice(-4),x="of-type"===e;return 1===g&&0===v?function(e){return!!e.parentNode}:function(e,t,n){var r,i,o,a,s,u,l=y!=m?"nextSibling":"previousSibling",c=e.parentNode,f=x&&e.nodeName.toLowerCase(),p=!n&&!x,d=!1;if(c){if(y){for(;l;){for(a=e;a=a[l];)if(x?a.nodeName.toLowerCase()===f:1===a.nodeType)return!1;u=l="only"===h&&!u&&"nextSibling"}return!0}if(u=[m?c.firstChild:c.lastChild],m&&p){for(d=(s=(r=(i=(o=(a=c)[S]||(a[S]={}))[a.uniqueID]||(o[a.uniqueID]={}))[h]||[])[0]===k&&r[1])&&r[2],a=s&&c.childNodes[s];a=++s&&a&&a[l]||(d=s=0)||u.pop();)if(1===a.nodeType&&++d&&a===e){i[h]=[k,s,d];break}}else if(!1===(d=p?s=(r=(i=(o=(a=e)[S]||(a[S]={}))[a.uniqueID]||(o[a.uniqueID]={}))[h]||[])[0]===k&&r[1]:d))for(;(a=++s&&a&&a[l]||(d=s=0)||u.pop())&&((x?a.nodeName.toLowerCase()!==f:1!==a.nodeType)||!++d||(p&&((i=(o=a[S]||(a[S]={}))[a.uniqueID]||(o[a.uniqueID]={}))[h]=[k,d]),a!==e)););return(d-=v)===g||d%g==0&&0<=d/g}}},PSEUDO:function(e,o){var t,a=b.pseudos[e]||b.setFilters[e.toLowerCase()]||se.error("unsupported pseudo: "+e);return a[S]?a(o):1<a.length?(t=[e,e,"",o],b.setFilters.hasOwnProperty(e.toLowerCase())?le(function(e,t){for(var n,r=a(e,o),i=r.length;i--;)e[n=I(e,r[i])]=!(t[n]=r[i])}):function(e){return a(e,0,t)}):a}},pseudos:{not:le(function(e){var r=[],i=[],s=g(e.replace(U,"$1"));return s[S]?le(function(e,t,n,r){for(var i,o=s(e,null,r,[]),a=e.length;a--;)(i=o[a])&&(e[a]=!(t[a]=i))}):function(e,t,n){return r[0]=e,s(r,null,n,i),r[0]=null,!i.pop()}}),has:le(function(t){return function(e){return 0<se(t,e).length}}),contains:le(function(t){return t=t.replace(ie,f),function(e){return-1<(e.textContent||o(e)).indexOf(t)}}),lang:le(function(n){return Q.test(n||"")||se.error("unsupported lang: "+n),n=n.replace(ie,f).toLowerCase(),function(e){var t;do{if(t=E?e.lang:e.getAttribute("xml:lang")||e.getAttribute("lang"))return(t=t.toLowerCase())===n||0===t.indexOf(n+"-")}while((e=e.parentNode)&&1===e.nodeType);return!1}}),target:function(e){var t=n.location&&n.location.hash;return t&&t.slice(1)===e.id},root:function(e){return e===a},focus:function(e){return e===C.activeElement&&(!C.hasFocus||C.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:de(!1),disabled:de(!0),checked:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&!!e.checked||"option"===t&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,!0===e.selected},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeType<6)return!1;return!0},parent:function(e){return!b.pseudos.empty(e)},header:function(e){return ee.test(e.nodeName)},input:function(e){return Z.test(e.nodeName)},button:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&"button"===e.type||"button"===t},text:function(e){return"input"===e.nodeName.toLowerCase()&&"text"===e.type&&(null==(e=e.getAttribute("type"))||"text"===e.toLowerCase())},first:he(function(){return[0]}),last:he(function(e,t){return[t-1]}),eq:he(function(e,t,n){return[n<0?n+t:n]}),even:he(function(e,t){for(var n=0;n<t;n+=2)e.push(n);return e}),odd:he(function(e,t){for(var n=1;n<t;n+=2)e.push(n);return e}),lt:he(function(e,t,n){for(var r=n<0?n+t:t<n?t:n;0<=--r;)e.push(r);return e}),gt:he(function(e,t,n){for(var r=n<0?n+t:n;++r<t;)e.push(r);return e})}}).pseudos.nth=b.pseudos.eq,{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})b.pseudos[e]=function(t){return function(e){return"input"===e.nodeName.toLowerCase()&&e.type===t}}(e);for(e in{submit:!0,reset:!0})b.pseudos[e]=function(n){return function(e){var t=e.nodeName.toLowerCase();return("input"===t||"button"===t)&&e.type===n}}(e);function ve(){}function ye(e){for(var t=0,n=e.length,r="";t<n;t++)r+=e[t].value;return r}function me(a,e,t){var s=e.dir,u=e.next,l=u||s,c=t&&"parentNode"===l,f=A++;return e.first?function(e,t,n){for(;e=e[s];)if(1===e.nodeType||c)return a(e,t,n);return!1}:function(e,t,n){var r,i,o=[k,f];if(n){for(;e=e[s];)if((1===e.nodeType||c)&&a(e,t,n))return!0}else for(;e=e[s];)if(1===e.nodeType||c)if(r=(i=e[S]||(e[S]={}))[e.uniqueID]||(i[e.uniqueID]={}),u&&u===e.nodeName.toLowerCase())e=e[s]||e;else{if((i=r[l])&&i[0]===k&&i[1]===f)return o[2]=i[2];if((r[l]=o)[2]=a(e,t,n))return!0}return!1}}function xe(i){return 1<i.length?function(e,t,n){for(var r=i.length;r--;)if(!i[r](e,t,n))return!1;return!0}:i[0]}function be(e,t,n,r,i){for(var o,a=[],s=0,u=e.length,l=null!=t;s<u;s++)(o=e[s])&&(n&&!n(o,r,i)||(a.push(o),l&&t.push(s)));return a}function we(d,h,g,v,y,e){return v&&!v[S]&&(v=we(v)),y&&!y[S]&&(y=we(y,e)),le(function(e,t,n,r){var i,o,a,s=[],u=[],l=t.length,c=e||function(e,t,n){for(var r=0,i=t.length;r<i;r++)se(e,t[r],n);return n}(h||"*",n.nodeType?[n]:n,[]),f=!d||!e&&h?c:be(c,s,d,n,r),p=g?y||(e?d:l||v)?[]:t:f;if(g&&g(f,p,n,r),v)for(i=be(p,u),v(i,[],n,r),o=i.length;o--;)(a=i[o])&&(p[u[o]]=!(f[u[o]]=a));if(e){if(y||d){if(y){for(i=[],o=p.length;o--;)(a=p[o])&&i.push(f[o]=a);y(null,p=[],i,r)}for(o=p.length;o--;)(a=p[o])&&-1<(i=y?I(e,a):s[o])&&(e[i]=!(t[i]=a))}}else p=be(p===t?p.splice(l,p.length):p),y?y(null,t,p,r):R.apply(t,p)})}function Te(v,y){function e(e,t,n,r,i){var o,a,s,u=0,l="0",c=e&&[],f=[],p=w,d=e||x&&b.find.TAG("*",i),h=k+=null==p?1:Math.random()||.1,g=d.length;for(i&&(w=t==C||t||i);l!==g&&null!=(o=d[l]);l++){if(x&&o){for(a=0,t||o.ownerDocument==C||(T(o),n=!E);s=v[a++];)if(s(o,t||C,n)){r.push(o);break}i&&(k=h)}m&&((o=!s&&o)&&u--,e&&c.push(o))}if(u+=l,m&&l!==u){for(a=0;s=y[a++];)s(c,f,t,n);if(e){if(0<u)for(;l--;)c[l]||f[l]||(f[l]=O.call(r));f=be(f)}R.apply(r,f),i&&!e&&0<f.length&&1<u+y.length&&se.uniqueSort(r)}return i&&(k=h,w=p),c}var m=0<y.length,x=0<v.length;return m?le(e):e}return ve.prototype=b.filters=b.pseudos,b.setFilters=new ve,h=se.tokenize=function(e,t){var n,r,i,o,a,s,u,l=D[e+" "];if(l)return t?0:l.slice(0);for(a=e,s=[],u=b.preFilter;a;){for(o in n&&!(r=X.exec(a))||(r&&(a=a.slice(r[0].length)||a),s.push(i=[])),n=!1,(r=V.exec(a))&&(n=r.shift(),i.push({value:n,type:r[0].replace(U," ")}),a=a.slice(n.length)),b.filter)!(r=J[o].exec(a))||u[o]&&!(r=u[o](r))||(n=r.shift(),i.push({value:n,type:o,matches:r}),a=a.slice(n.length));if(!n)break}return t?a.length:a?se.error(e):D(e,s).slice(0)},g=se.compile=function(e,t){var n,r=[],i=[],o=j[e+" "];if(!o){for(n=(t=t||h(e)).length;n--;)((o=function e(t){for(var r,n,i,o=t.length,a=b.relative[t[0].type],s=a||b.relative[" "],u=a?1:0,l=me(function(e){return e===r},s,!0),c=me(function(e){return-1<I(r,e)},s,!0),f=[function(e,t,n){return n=!a&&(n||t!==w)||((r=t).nodeType?l:c)(e,t,n),r=null,n}];u<o;u++)if(n=b.relative[t[u].type])f=[me(xe(f),n)];else{if((n=b.filter[t[u].type].apply(null,t[u].matches))[S]){for(i=++u;i<o&&!b.relative[t[i].type];i++);return we(1<u&&xe(f),1<u&&ye(t.slice(0,u-1).concat({value:" "===t[u-2].type?"*":""})).replace(U,"$1"),n,u<i&&e(t.slice(u,i)),i<o&&e(t=t.slice(i)),i<o&&ye(t))}f.push(n)}return xe(f)}(t[n]))[S]?r:i).push(o);(o=j(e,Te(i,r))).selector=e}return o},v=se.select=function(e,t,n,r){var i,o,a,s,u,l="function"==typeof e&&e,c=!r&&h(e=l.selector||e);if(n=n||[],1===c.length){if(2<(o=c[0]=c[0].slice(0)).length&&"ID"===(a=o[0]).type&&9===t.nodeType&&E&&b.relative[o[1].type]){if(!(t=(b.find.ID(a.matches[0].replace(ie,f),t)||[])[0]))return n;l&&(t=t.parentNode),e=e.slice(o.shift().value.length)}for(i=J.needsContext.test(e)?0:o.length;i--&&(a=o[i],!b.relative[s=a.type]);)if((u=b.find[s])&&(r=u(a.matches[0].replace(ie,f),re.test(o[0].type)&&ge(t.parentNode)||t))){if(o.splice(i,1),!(e=r.length&&ye(o)))return R.apply(n,r),n;break}}return(l||g(e,c))(r,t,!E,n,!t||re.test(e)&&ge(t.parentNode)||t),n},d.sortStable=S.split("").sort(L).join("")===S,d.detectDuplicates=!!l,T(),d.sortDetached=ce(function(e){return 1&e.compareDocumentPosition(C.createElement("fieldset"))}),ce(function(e){return e.innerHTML="<a href='#'></a>","#"===e.firstChild.getAttribute("href")})||fe("type|href|height|width",function(e,t,n){if(!n)return e.getAttribute(t,"type"===t.toLowerCase()?1:2)}),d.attributes&&ce(function(e){return e.innerHTML="<input/>",e.firstChild.setAttribute("value",""),""===e.firstChild.getAttribute("value")})||fe("value",function(e,t,n){if(!n&&"input"===e.nodeName.toLowerCase())return e.defaultValue}),ce(function(e){return null==e.getAttribute("disabled")})||fe(W,function(e,t,n){if(!n)return!0===e[t]?t.toLowerCase():(t=e.getAttributeNode(t))&&t.specified?t.value:null}),se}(T);E.find=d,E.expr=d.selectors,E.expr[":"]=E.expr.pseudos,E.uniqueSort=E.unique=d.uniqueSort,E.text=d.getText,E.isXMLDoc=d.isXML,E.contains=d.contains,E.escapeSelector=d.escape;function w(e,t,n){for(var r=[],i=void 0!==n;(e=e[t])&&9!==e.nodeType;)if(1===e.nodeType){if(i&&E(e).is(n))break;r.push(e)}return r}function S(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n}var k=E.expr.match.needsContext;function A(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()}var N=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function D(e,n,r){return g(n)?E.grep(e,function(e,t){return!!n.call(e,t,e)!==r}):n.nodeType?E.grep(e,function(e){return e===n!==r}):"string"!=typeof n?E.grep(e,function(e){return-1<i.call(n,e)!==r}):E.filter(n,e,r)}E.filter=function(e,t,n){var r=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===r.nodeType?E.find.matchesSelector(r,e)?[r]:[]:E.find.matches(e,E.grep(t,function(e){return 1===e.nodeType}))},E.fn.extend({find:function(e){var t,n,r=this.length,i=this;if("string"!=typeof e)return this.pushStack(E(e).filter(function(){for(t=0;t<r;t++)if(E.contains(i[t],this))return!0}));for(n=this.pushStack([]),t=0;t<r;t++)E.find(e,i[t],n);return 1<r?E.uniqueSort(n):n},filter:function(e){return this.pushStack(D(this,e||[],!1))},not:function(e){return this.pushStack(D(this,e||[],!0))},is:function(e){return!!D(this,"string"==typeof e&&k.test(e)?E(e):e||[],!1).length}});var j=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(E.fn.init=function(e,t,n){if(!e)return this;if(n=n||q,"string"!=typeof e)return e.nodeType?(this[0]=e,this.length=1,this):g(e)?void 0!==n.ready?n.ready(e):e(E):E.makeArray(e,this);if(!(r="<"===e[0]&&">"===e[e.length-1]&&3<=e.length?[null,e,null]:j.exec(e))||!r[1]&&t)return(!t||t.jquery?t||n:this.constructor(t)).find(e);if(r[1]){if(t=t instanceof E?t[0]:t,E.merge(this,E.parseHTML(r[1],t&&t.nodeType?t.ownerDocument||t:C,!0)),N.test(r[1])&&E.isPlainObject(t))for(var r in t)g(this[r])?this[r](t[r]):this.attr(r,t[r]);return this}return(e=C.getElementById(r[2]))&&(this[0]=e,this.length=1),this}).prototype=E.fn;var q=E(C),L=/^(?:parents|prev(?:Until|All))/,H={children:!0,contents:!0,next:!0,prev:!0};function O(e,t){for(;(e=e[t])&&1!==e.nodeType;);return e}E.fn.extend({has:function(e){var t=E(e,this),n=t.length;return this.filter(function(){for(var e=0;e<n;e++)if(E.contains(this,t[e]))return!0})},closest:function(e,t){var n,r=0,i=this.length,o=[],a="string"!=typeof e&&E(e);if(!k.test(e))for(;r<i;r++)for(n=this[r];n&&n!==t;n=n.parentNode)if(n.nodeType<11&&(a?-1<a.index(n):1===n.nodeType&&E.find.matchesSelector(n,e))){o.push(n);break}return this.pushStack(1<o.length?E.uniqueSort(o):o)},index:function(e){return e?"string"==typeof e?i.call(E(e),this[0]):i.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(E.uniqueSort(E.merge(this.get(),E(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),E.each({parent:function(e){e=e.parentNode;return e&&11!==e.nodeType?e:null},parents:function(e){return w(e,"parentNode")},parentsUntil:function(e,t,n){return w(e,"parentNode",n)},next:function(e){return O(e,"nextSibling")},prev:function(e){return O(e,"previousSibling")},nextAll:function(e){return w(e,"nextSibling")},prevAll:function(e){return w(e,"previousSibling")},nextUntil:function(e,t,n){return w(e,"nextSibling",n)},prevUntil:function(e,t,n){return w(e,"previousSibling",n)},siblings:function(e){return S((e.parentNode||{}).firstChild,e)},children:function(e){return S(e.firstChild)},contents:function(e){return null!=e.contentDocument&&n(e.contentDocument)?e.contentDocument:(A(e,"template")&&(e=e.content||e),E.merge([],e.childNodes))}},function(r,i){E.fn[r]=function(e,t){var n=E.map(this,i,e);return(t="Until"!==r.slice(-5)?e:t)&&"string"==typeof t&&(n=E.filter(t,n)),1<this.length&&(H[r]||E.uniqueSort(n),L.test(r)&&n.reverse()),this.pushStack(n)}});var P=/[^\x20\t\r\n\f]+/g;function R(e){return e}function M(e){throw e}function I(e,t,n,r){var i;try{e&&g(i=e.promise)?i.call(e).done(t).fail(n):e&&g(i=e.then)?i.call(e,t,n):t.apply(void 0,[e].slice(r))}catch(e){n.apply(void 0,[e])}}E.Callbacks=function(r){var e,n;r="string"==typeof r?(e=r,n={},E.each(e.match(P)||[],function(e,t){n[t]=!0}),n):E.extend({},r);function i(){for(s=s||r.once,a=o=!0;l.length;c=-1)for(t=l.shift();++c<u.length;)!1===u[c].apply(t[0],t[1])&&r.stopOnFalse&&(c=u.length,t=!1);r.memory||(t=!1),o=!1,s&&(u=t?[]:"")}var o,t,a,s,u=[],l=[],c=-1,f={add:function(){return u&&(t&&!o&&(c=u.length-1,l.push(t)),function n(e){E.each(e,function(e,t){g(t)?r.unique&&f.has(t)||u.push(t):t&&t.length&&"string"!==h(t)&&n(t)})}(arguments),t&&!o&&i()),this},remove:function(){return E.each(arguments,function(e,t){for(var n;-1<(n=E.inArray(t,u,n));)u.splice(n,1),n<=c&&c--}),this},has:function(e){return e?-1<E.inArray(e,u):0<u.length},empty:function(){return u=u&&[],this},disable:function(){return s=l=[],u=t="",this},disabled:function(){return!u},lock:function(){return s=l=[],t||o||(u=t=""),this},locked:function(){return!!s},fireWith:function(e,t){return s||(t=[e,(t=t||[]).slice?t.slice():t],l.push(t),o||i()),this},fire:function(){return f.fireWith(this,arguments),this},fired:function(){return!!a}};return f},E.extend({Deferred:function(e){var o=[["notify","progress",E.Callbacks("memory"),E.Callbacks("memory"),2],["resolve","done",E.Callbacks("once memory"),E.Callbacks("once memory"),0,"resolved"],["reject","fail",E.Callbacks("once memory"),E.Callbacks("once memory"),1,"rejected"]],i="pending",a={state:function(){return i},always:function(){return s.done(arguments).fail(arguments),this},catch:function(e){return a.then(null,e)},pipe:function(){var i=arguments;return E.Deferred(function(r){E.each(o,function(e,t){var n=g(i[t[4]])&&i[t[4]];s[t[1]](function(){var e=n&&n.apply(this,arguments);e&&g(e.promise)?e.promise().progress(r.notify).done(r.resolve).fail(r.reject):r[t[0]+"With"](this,n?[e]:arguments)})}),i=null}).promise()},then:function(t,n,r){var u=0;function l(i,o,a,s){return function(){function e(){var e,t;if(!(i<u)){if((e=a.apply(n,r))===o.promise())throw new TypeError("Thenable self-resolution");t=e&&("object"==typeof e||"function"==typeof e)&&e.then,g(t)?s?t.call(e,l(u,o,R,s),l(u,o,M,s)):(u++,t.call(e,l(u,o,R,s),l(u,o,M,s),l(u,o,R,o.notifyWith))):(a!==R&&(n=void 0,r=[e]),(s||o.resolveWith)(n,r))}}var n=this,r=arguments,t=s?e:function(){try{e()}catch(e){E.Deferred.exceptionHook&&E.Deferred.exceptionHook(e,t.stackTrace),u<=i+1&&(a!==M&&(n=void 0,r=[e]),o.rejectWith(n,r))}};i?t():(E.Deferred.getStackHook&&(t.stackTrace=E.Deferred.getStackHook()),T.setTimeout(t))}}return E.Deferred(function(e){o[0][3].add(l(0,e,g(r)?r:R,e.notifyWith)),o[1][3].add(l(0,e,g(t)?t:R)),o[2][3].add(l(0,e,g(n)?n:M))}).promise()},promise:function(e){return null!=e?E.extend(e,a):a}},s={};return E.each(o,function(e,t){var n=t[2],r=t[5];a[t[1]]=n.add,r&&n.add(function(){i=r},o[3-e][2].disable,o[3-e][3].disable,o[0][2].lock,o[0][3].lock),n.add(t[3].fire),s[t[0]]=function(){return s[t[0]+"With"](this===s?void 0:this,arguments),this},s[t[0]+"With"]=n.fireWith}),a.promise(s),e&&e.call(s,s),s},when:function(e){function t(t){return function(e){i[t]=this,o[t]=1<arguments.length?s.call(arguments):e,--n||a.resolveWith(i,o)}}var n=arguments.length,r=n,i=Array(r),o=s.call(arguments),a=E.Deferred();if(n<=1&&(I(e,a.done(t(r)).resolve,a.reject,!n),"pending"===a.state()||g(o[r]&&o[r].then)))return a.then();for(;r--;)I(o[r],t(r),a.reject);return a.promise()}});var W=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;E.Deferred.exceptionHook=function(e,t){T.console&&T.console.warn&&e&&W.test(e.name)&&T.console.warn("jQuery.Deferred exception: "+e.message,e.stack,t)},E.readyException=function(e){T.setTimeout(function(){throw e})};var F=E.Deferred();function B(){C.removeEventListener("DOMContentLoaded",B),T.removeEventListener("load",B),E.ready()}E.fn.ready=function(e){return F.then(e).catch(function(e){E.readyException(e)}),this},E.extend({isReady:!1,readyWait:1,ready:function(e){(!0===e?--E.readyWait:E.isReady)||(E.isReady=!0)!==e&&0<--E.readyWait||F.resolveWith(C,[E])}}),E.ready.then=F.then,"complete"===C.readyState||"loading"!==C.readyState&&!C.documentElement.doScroll?T.setTimeout(E.ready):(C.addEventListener("DOMContentLoaded",B),T.addEventListener("load",B));function $(e,t,n,r,i,o,a){var s=0,u=e.length,l=null==n;if("object"===h(n))for(s in i=!0,n)$(e,t,s,n[s],!0,o,a);else if(void 0!==r&&(i=!0,g(r)||(a=!0),t=l?a?(t.call(e,r),null):(l=t,function(e,t,n){return l.call(E(e),n)}):t))for(;s<u;s++)t(e[s],n,a?r:r.call(e[s],s,t(e[s],n)));return i?e:l?t.call(e):u?t(e[0],n):o}var _=/^-ms-/,z=/-([a-z])/g;function U(e,t){return t.toUpperCase()}function X(e){return e.replace(_,"ms-").replace(z,U)}function V(e){return 1===e.nodeType||9===e.nodeType||!+e.nodeType}function G(){this.expando=E.expando+G.uid++}G.uid=1,G.prototype={cache:function(e){var t=e[this.expando];return t||(t={},V(e)&&(e.nodeType?e[this.expando]=t:Object.defineProperty(e,this.expando,{value:t,configurable:!0}))),t},set:function(e,t,n){var r,i=this.cache(e);if("string"==typeof t)i[X(t)]=n;else for(r in t)i[X(r)]=t[r];return i},get:function(e,t){return void 0===t?this.cache(e):e[this.expando]&&e[this.expando][X(t)]},access:function(e,t,n){return void 0===t||t&&"string"==typeof t&&void 0===n?this.get(e,t):(this.set(e,t,n),void 0!==n?n:t)},remove:function(e,t){var n,r=e[this.expando];if(void 0!==r){if(void 0!==t){n=(t=Array.isArray(t)?t.map(X):(t=X(t))in r?[t]:t.match(P)||[]).length;for(;n--;)delete r[t[n]]}void 0!==t&&!E.isEmptyObject(r)||(e.nodeType?e[this.expando]=void 0:delete e[this.expando])}},hasData:function(e){e=e[this.expando];return void 0!==e&&!E.isEmptyObject(e)}};var Y=new G,Q=new G,J=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,K=/[A-Z]/g;function Z(e,t,n){var r,i;if(void 0===n&&1===e.nodeType)if(r="data-"+t.replace(K,"-$&").toLowerCase(),"string"==typeof(n=e.getAttribute(r))){try{n="true"===(i=n)||"false"!==i&&("null"===i?null:i===+i+""?+i:J.test(i)?JSON.parse(i):i)}catch(e){}Q.set(e,t,n)}else n=void 0;return n}E.extend({hasData:function(e){return Q.hasData(e)||Y.hasData(e)},data:function(e,t,n){return Q.access(e,t,n)},removeData:function(e,t){Q.remove(e,t)},_data:function(e,t,n){return Y.access(e,t,n)},_removeData:function(e,t){Y.remove(e,t)}}),E.fn.extend({data:function(n,e){var t,r,i,o=this[0],a=o&&o.attributes;if(void 0!==n)return"object"==typeof n?this.each(function(){Q.set(this,n)}):$(this,function(e){var t;return o&&void 0===e?void 0!==(t=Q.get(o,n))||void 0!==(t=Z(o,n))?t:void 0:void this.each(function(){Q.set(this,n,e)})},null,e,1<arguments.length,null,!0);if(this.length&&(i=Q.get(o),1===o.nodeType&&!Y.get(o,"hasDataAttrs"))){for(t=a.length;t--;)a[t]&&0===(r=a[t].name).indexOf("data-")&&(r=X(r.slice(5)),Z(o,r,i[r]));Y.set(o,"hasDataAttrs",!0)}return i},removeData:function(e){return this.each(function(){Q.remove(this,e)})}}),E.extend({queue:function(e,t,n){var r;if(e)return r=Y.get(e,t=(t||"fx")+"queue"),n&&(!r||Array.isArray(n)?r=Y.access(e,t,E.makeArray(n)):r.push(n)),r||[]},dequeue:function(e,t){t=t||"fx";var n=E.queue(e,t),r=n.length,i=n.shift(),o=E._queueHooks(e,t);"inprogress"===i&&(i=n.shift(),r--),i&&("fx"===t&&n.unshift("inprogress"),delete o.stop,i.call(e,function(){E.dequeue(e,t)},o)),!r&&o&&o.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return Y.get(e,n)||Y.access(e,n,{empty:E.Callbacks("once memory").add(function(){Y.remove(e,[t+"queue",n])})})}}),E.fn.extend({queue:function(t,n){var e=2;return"string"!=typeof t&&(n=t,t="fx",e--),arguments.length<e?E.queue(this[0],t):void 0===n?this:this.each(function(){var e=E.queue(this,t,n);E._queueHooks(this,t),"fx"===t&&"inprogress"!==e[0]&&E.dequeue(this,t)})},dequeue:function(e){return this.each(function(){E.dequeue(this,e)})},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,t){function n(){--i||o.resolveWith(a,[a])}var r,i=1,o=E.Deferred(),a=this,s=this.length;for("string"!=typeof e&&(t=e,e=void 0),e=e||"fx";s--;)(r=Y.get(a[s],e+"queueHooks"))&&r.empty&&(i++,r.empty.add(n));return n(),o.promise(t)}});var ee=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,te=new RegExp("^(?:([+-])=|)("+ee+")([a-z%]*)$","i"),ne=["Top","Right","Bottom","Left"],re=C.documentElement,ie=function(e){return E.contains(e.ownerDocument,e)},oe={composed:!0};re.getRootNode&&(ie=function(e){return E.contains(e.ownerDocument,e)||e.getRootNode(oe)===e.ownerDocument});function ae(e,t){return"none"===(e=t||e).style.display||""===e.style.display&&ie(e)&&"none"===E.css(e,"display")}function se(e,t,n,r){var i,o,a=20,s=r?function(){return r.cur()}:function(){return E.css(e,t,"")},u=s(),l=n&&n[3]||(E.cssNumber[t]?"":"px"),c=e.nodeType&&(E.cssNumber[t]||"px"!==l&&+u)&&te.exec(E.css(e,t));if(c&&c[3]!==l){for(l=l||c[3],c=+(u/=2)||1;a--;)E.style(e,t,c+l),(1-o)*(1-(o=s()/u||.5))<=0&&(a=0),c/=o;E.style(e,t,(c*=2)+l),n=n||[]}return n&&(c=+c||+u||0,i=n[1]?c+(n[1]+1)*n[2]:+n[2],r&&(r.unit=l,r.start=c,r.end=i)),i}var ue={};function le(e,t){for(var n,r,i,o,a,s=[],u=0,l=e.length;u<l;u++)(r=e[u]).style&&(n=r.style.display,t?("none"===n&&(s[u]=Y.get(r,"display")||null,s[u]||(r.style.display="")),""===r.style.display&&ae(r)&&(s[u]=(a=o=void 0,o=(i=r).ownerDocument,a=i.nodeName,(i=ue[a])||(o=o.body.appendChild(o.createElement(a)),i=E.css(o,"display"),o.parentNode.removeChild(o),ue[a]=i="none"===i?"block":i)))):"none"!==n&&(s[u]="none",Y.set(r,"display",n)));for(u=0;u<l;u++)null!=s[u]&&(e[u].style.display=s[u]);return e}E.fn.extend({show:function(){return le(this,!0)},hide:function(){return le(this)},toggle:function(e){return"boolean"==typeof e?e?this.show():this.hide():this.each(function(){ae(this)?E(this).show():E(this).hide()})}});var ce=/^(?:checkbox|radio)$/i,fe=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i,pe=/^$|^module$|\/(?:java|ecma)script/i;f=C.createDocumentFragment().appendChild(C.createElement("div")),(d=C.createElement("input")).setAttribute("type","radio"),d.setAttribute("checked","checked"),d.setAttribute("name","t"),f.appendChild(d),x.checkClone=f.cloneNode(!0).cloneNode(!0).lastChild.checked,f.innerHTML="<textarea>x</textarea>",x.noCloneChecked=!!f.cloneNode(!0).lastChild.defaultValue,f.innerHTML="<option></option>",x.option=!!f.lastChild;var de={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 he(e,t){var n=void 0!==e.getElementsByTagName?e.getElementsByTagName(t||"*"):void 0!==e.querySelectorAll?e.querySelectorAll(t||"*"):[];return void 0===t||t&&A(e,t)?E.merge([e],n):n}function ge(e,t){for(var n=0,r=e.length;n<r;n++)Y.set(e[n],"globalEval",!t||Y.get(t[n],"globalEval"))}de.tbody=de.tfoot=de.colgroup=de.caption=de.thead,de.th=de.td,x.option||(de.optgroup=de.option=[1,"<select multiple='multiple'>","</select>"]);var ve=/<|&#?\w+;/;function ye(e,t,n,r,i){for(var o,a,s,u,l,c=t.createDocumentFragment(),f=[],p=0,d=e.length;p<d;p++)if((o=e[p])||0===o)if("object"===h(o))E.merge(f,o.nodeType?[o]:o);else if(ve.test(o)){for(a=a||c.appendChild(t.createElement("div")),s=(fe.exec(o)||["",""])[1].toLowerCase(),s=de[s]||de._default,a.innerHTML=s[1]+E.htmlPrefilter(o)+s[2],l=s[0];l--;)a=a.lastChild;E.merge(f,a.childNodes),(a=c.firstChild).textContent=""}else f.push(t.createTextNode(o));for(c.textContent="",p=0;o=f[p++];)if(r&&-1<E.inArray(o,r))i&&i.push(o);else if(u=ie(o),a=he(c.appendChild(o),"script"),u&&ge(a),n)for(l=0;o=a[l++];)pe.test(o.type||"")&&n.push(o);return c}var me=/^key/,xe=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,be=/^([^.]*)(?:\.(.+)|)/;function we(){return!0}function Te(){return!1}function Ce(e,t){return e===function(){try{return C.activeElement}catch(e){}}()==("focus"===t)}function Ee(e,t,n,r,i,o){var a,s;if("object"==typeof t){for(s in"string"!=typeof n&&(r=r||n,n=void 0),t)Ee(e,s,n,r,t[s],o);return e}if(null==r&&null==i?(i=n,r=n=void 0):null==i&&("string"==typeof n?(i=r,r=void 0):(i=r,r=n,n=void 0)),!1===i)i=Te;else if(!i)return e;return 1===o&&(a=i,(i=function(e){return E().off(e),a.apply(this,arguments)}).guid=a.guid||(a.guid=E.guid++)),e.each(function(){E.event.add(this,t,i,r,n)})}function Se(e,i,o){o?(Y.set(e,i,!1),E.event.add(e,i,{namespace:!1,handler:function(e){var t,n,r=Y.get(this,i);if(1&e.isTrigger&&this[i]){if(r.length)(E.event.special[i]||{}).delegateType&&e.stopPropagation();else if(r=s.call(arguments),Y.set(this,i,r),t=o(this,i),this[i](),r!==(n=Y.get(this,i))||t?Y.set(this,i,!1):n={},r!==n)return e.stopImmediatePropagation(),e.preventDefault(),n.value}else r.length&&(Y.set(this,i,{value:E.event.trigger(E.extend(r[0],E.Event.prototype),r.slice(1),this)}),e.stopImmediatePropagation())}})):void 0===Y.get(e,i)&&E.event.add(e,i,we)}E.event={global:{},add:function(t,e,n,r,i){var o,a,s,u,l,c,f,p,d,h=Y.get(t);if(V(t))for(n.handler&&(n=(o=n).handler,i=o.selector),i&&E.find.matchesSelector(re,i),n.guid||(n.guid=E.guid++),(s=h.events)||(s=h.events=Object.create(null)),(a=h.handle)||(a=h.handle=function(e){return void 0!==E&&E.event.triggered!==e.type?E.event.dispatch.apply(t,arguments):void 0}),u=(e=(e||"").match(P)||[""]).length;u--;)f=d=(l=be.exec(e[u])||[])[1],p=(l[2]||"").split(".").sort(),f&&(c=E.event.special[f]||{},f=(i?c.delegateType:c.bindType)||f,c=E.event.special[f]||{},l=E.extend({type:f,origType:d,data:r,handler:n,guid:n.guid,selector:i,needsContext:i&&E.expr.match.needsContext.test(i),namespace:p.join(".")},o),(d=s[f])||((d=s[f]=[]).delegateCount=0,c.setup&&!1!==c.setup.call(t,r,p,a)||t.addEventListener&&t.addEventListener(f,a)),c.add&&(c.add.call(t,l),l.handler.guid||(l.handler.guid=n.guid)),i?d.splice(d.delegateCount++,0,l):d.push(l),E.event.global[f]=!0)},remove:function(e,t,n,r,i){var o,a,s,u,l,c,f,p,d,h,g,v=Y.hasData(e)&&Y.get(e);if(v&&(u=v.events)){for(l=(t=(t||"").match(P)||[""]).length;l--;)if(d=g=(s=be.exec(t[l])||[])[1],h=(s[2]||"").split(".").sort(),d){for(f=E.event.special[d]||{},p=u[d=(r?f.delegateType:f.bindType)||d]||[],s=s[2]&&new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"),a=o=p.length;o--;)c=p[o],!i&&g!==c.origType||n&&n.guid!==c.guid||s&&!s.test(c.namespace)||r&&r!==c.selector&&("**"!==r||!c.selector)||(p.splice(o,1),c.selector&&p.delegateCount--,f.remove&&f.remove.call(e,c));a&&!p.length&&(f.teardown&&!1!==f.teardown.call(e,h,v.handle)||E.removeEvent(e,d,v.handle),delete u[d])}else for(d in u)E.event.remove(e,d+t[l],n,r,!0);E.isEmptyObject(u)&&Y.remove(e,"handle events")}},dispatch:function(e){var t,n,r,i,o,a=new Array(arguments.length),s=E.event.fix(e),u=(Y.get(this,"events")||Object.create(null))[s.type]||[],e=E.event.special[s.type]||{};for(a[0]=s,t=1;t<arguments.length;t++)a[t]=arguments[t];if(s.delegateTarget=this,!e.preDispatch||!1!==e.preDispatch.call(this,s)){for(o=E.event.handlers.call(this,s,u),t=0;(r=o[t++])&&!s.isPropagationStopped();)for(s.currentTarget=r.elem,n=0;(i=r.handlers[n++])&&!s.isImmediatePropagationStopped();)s.rnamespace&&!1!==i.namespace&&!s.rnamespace.test(i.namespace)||(s.handleObj=i,s.data=i.data,void 0!==(i=((E.event.special[i.origType]||{}).handle||i.handler).apply(r.elem,a))&&!1===(s.result=i)&&(s.preventDefault(),s.stopPropagation()));return e.postDispatch&&e.postDispatch.call(this,s),s.result}},handlers:function(e,t){var n,r,i,o,a,s=[],u=t.delegateCount,l=e.target;if(u&&l.nodeType&&!("click"===e.type&&1<=e.button))for(;l!==this;l=l.parentNode||this)if(1===l.nodeType&&("click"!==e.type||!0!==l.disabled)){for(o=[],a={},n=0;n<u;n++)void 0===a[i=(r=t[n]).selector+" "]&&(a[i]=r.needsContext?-1<E(i,this).index(l):E.find(i,this,null,[l]).length),a[i]&&o.push(r);o.length&&s.push({elem:l,handlers:o})}return l=this,u<t.length&&s.push({elem:l,handlers:t.slice(u)}),s},addProp:function(t,e){Object.defineProperty(E.Event.prototype,t,{enumerable:!0,configurable:!0,get:g(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(e){return e[E.expando]?e:new E.Event(e)},special:{load:{noBubble:!0},click:{setup:function(e){e=this||e;return ce.test(e.type)&&e.click&&A(e,"input")&&Se(e,"click",we),!1},trigger:function(e){e=this||e;return ce.test(e.type)&&e.click&&A(e,"input")&&Se(e,"click"),!0},_default:function(e){e=e.target;return ce.test(e.type)&&e.click&&A(e,"input")&&Y.get(e,"click")||A(e,"a")}},beforeunload:{postDispatch:function(e){void 0!==e.result&&e.originalEvent&&(e.originalEvent.returnValue=e.result)}}}},E.removeEvent=function(e,t,n){e.removeEventListener&&e.removeEventListener(t,n)},E.Event=function(e,t){if(!(this instanceof E.Event))return new E.Event(e,t);e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||void 0===e.defaultPrevented&&!1===e.returnValue?we:Te,this.target=e.target&&3===e.target.nodeType?e.target.parentNode:e.target,this.currentTarget=e.currentTarget,this.relatedTarget=e.relatedTarget):this.type=e,t&&E.extend(this,t),this.timeStamp=e&&e.timeStamp||Date.now(),this[E.expando]=!0},E.Event.prototype={constructor:E.Event,isDefaultPrevented:Te,isPropagationStopped:Te,isImmediatePropagationStopped:Te,isSimulated:!1,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=we,e&&!this.isSimulated&&e.preventDefault()},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=we,e&&!this.isSimulated&&e.stopPropagation()},stopImmediatePropagation:function(){var e=this.originalEvent;this.isImmediatePropagationStopped=we,e&&!this.isSimulated&&e.stopImmediatePropagation(),this.stopPropagation()}},E.each({altKey:!0,bubbles:!0,cancelable:!0,changedTouches:!0,ctrlKey:!0,detail:!0,eventPhase:!0,metaKey:!0,pageX:!0,pageY:!0,shiftKey:!0,view:!0,char:!0,code:!0,charCode:!0,key:!0,keyCode:!0,button:!0,buttons:!0,clientX:!0,clientY:!0,offsetX:!0,offsetY:!0,pointerId:!0,pointerType:!0,screenX:!0,screenY:!0,targetTouches:!0,toElement:!0,touches:!0,which:function(e){var t=e.button;return null==e.which&&me.test(e.type)?null!=e.charCode?e.charCode:e.keyCode:!e.which&&void 0!==t&&xe.test(e.type)?1&t?1:2&t?3:4&t?2:0:e.which}},E.event.addProp),E.each({focus:"focusin",blur:"focusout"},function(e,t){E.event.special[e]={setup:function(){return Se(this,e,Ce),!1},trigger:function(){return Se(this,e),!0},delegateType:t}}),E.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(e,i){E.event.special[e]={delegateType:i,bindType:i,handle:function(e){var t,n=e.relatedTarget,r=e.handleObj;return n&&(n===this||E.contains(this,n))||(e.type=r.origType,t=r.handler.apply(this,arguments),e.type=i),t}}}),E.fn.extend({on:function(e,t,n,r){return Ee(this,e,t,n,r)},one:function(e,t,n,r){return Ee(this,e,t,n,r,1)},off:function(e,t,n){var r,i;if(e&&e.preventDefault&&e.handleObj)return r=e.handleObj,E(e.delegateTarget).off(r.namespace?r.origType+"."+r.namespace:r.origType,r.selector,r.handler),this;if("object"!=typeof e)return!1!==t&&"function"!=typeof t||(n=t,t=void 0),!1===n&&(n=Te),this.each(function(){E.event.remove(this,e,n,t)});for(i in e)this.off(i,t,e[i]);return this}});var ke=/<script|<style|<link/i,Ae=/checked\s*(?:[^=]|=\s*.checked.)/i,Ne=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g;function De(e,t){return A(e,"table")&&A(11!==t.nodeType?t:t.firstChild,"tr")&&E(e).children("tbody")[0]||e}function je(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function qe(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function Le(e,t){var n,r,i,o;if(1===t.nodeType){if(Y.hasData(e)&&(o=Y.get(e).events))for(i in Y.remove(t,"handle events"),o)for(n=0,r=o[i].length;n<r;n++)E.event.add(t,i,o[i][n]);Q.hasData(e)&&(e=Q.access(e),e=E.extend({},e),Q.set(t,e))}}function He(n,r,i,o){r=y(r);var e,t,a,s,u,l,c=0,f=n.length,p=f-1,d=r[0],h=g(d);if(h||1<f&&"string"==typeof d&&!x.checkClone&&Ae.test(d))return n.each(function(e){var t=n.eq(e);h&&(r[0]=d.call(this,e,t.html())),He(t,r,i,o)});if(f&&(t=(e=ye(r,n[0].ownerDocument,!1,n,o)).firstChild,1===e.childNodes.length&&(e=t),t||o)){for(s=(a=E.map(he(e,"script"),je)).length;c<f;c++)u=e,c!==p&&(u=E.clone(u,!0,!0),s&&E.merge(a,he(u,"script"))),i.call(n[c],u,c);if(s)for(l=a[a.length-1].ownerDocument,E.map(a,qe),c=0;c<s;c++)u=a[c],pe.test(u.type||"")&&!Y.access(u,"globalEval")&&E.contains(l,u)&&(u.src&&"module"!==(u.type||"").toLowerCase()?E._evalUrl&&!u.noModule&&E._evalUrl(u.src,{nonce:u.nonce||u.getAttribute("nonce")},l):b(u.textContent.replace(Ne,""),u,l))}return n}function Oe(e,t,n){for(var r,i=t?E.filter(t,e):e,o=0;null!=(r=i[o]);o++)n||1!==r.nodeType||E.cleanData(he(r)),r.parentNode&&(n&&ie(r)&&ge(he(r,"script")),r.parentNode.removeChild(r));return e}E.extend({htmlPrefilter:function(e){return e},clone:function(e,t,n){var r,i,o,a,s,u,l,c=e.cloneNode(!0),f=ie(e);if(!(x.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||E.isXMLDoc(e)))for(a=he(c),r=0,i=(o=he(e)).length;r<i;r++)s=o[r],u=a[r],l=void 0,"input"===(l=u.nodeName.toLowerCase())&&ce.test(s.type)?u.checked=s.checked:"input"!==l&&"textarea"!==l||(u.defaultValue=s.defaultValue);if(t)if(n)for(o=o||he(e),a=a||he(c),r=0,i=o.length;r<i;r++)Le(o[r],a[r]);else Le(e,c);return 0<(a=he(c,"script")).length&&ge(a,!f&&he(e,"script")),c},cleanData:function(e){for(var t,n,r,i=E.event.special,o=0;void 0!==(n=e[o]);o++)if(V(n)){if(t=n[Y.expando]){if(t.events)for(r in t.events)i[r]?E.event.remove(n,r):E.removeEvent(n,r,t.handle);n[Y.expando]=void 0}n[Q.expando]&&(n[Q.expando]=void 0)}}}),E.fn.extend({detach:function(e){return Oe(this,e,!0)},remove:function(e){return Oe(this,e)},text:function(e){return $(this,function(e){return void 0===e?E.text(this):this.empty().each(function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=e)})},null,e,arguments.length)},append:function(){return He(this,arguments,function(e){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||De(this,e).appendChild(e)})},prepend:function(){return He(this,arguments,function(e){var t;1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(t=De(this,e)).insertBefore(e,t.firstChild)})},before:function(){return He(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this)})},after:function(){return He(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)})},empty:function(){for(var e,t=0;null!=(e=this[t]);t++)1===e.nodeType&&(E.cleanData(he(e,!1)),e.textContent="");return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map(function(){return E.clone(this,e,t)})},html:function(e){return $(this,function(e){var t=this[0]||{},n=0,r=this.length;if(void 0===e&&1===t.nodeType)return t.innerHTML;if("string"==typeof e&&!ke.test(e)&&!de[(fe.exec(e)||["",""])[1].toLowerCase()]){e=E.htmlPrefilter(e);try{for(;n<r;n++)1===(t=this[n]||{}).nodeType&&(E.cleanData(he(t,!1)),t.innerHTML=e);t=0}catch(e){}}t&&this.empty().append(e)},null,e,arguments.length)},replaceWith:function(){var n=[];return He(this,arguments,function(e){var t=this.parentNode;E.inArray(this,n)<0&&(E.cleanData(he(this)),t&&t.replaceChild(e,this))},n)}}),E.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(e,a){E.fn[e]=function(e){for(var t,n=[],r=E(e),i=r.length-1,o=0;o<=i;o++)t=o===i?this:this.clone(!0),E(r[o])[a](t),u.apply(n,t.get());return this.pushStack(n)}});function Pe(e){var t=e.ownerDocument.defaultView;return(t=!t||!t.opener?T:t).getComputedStyle(e)}function Re(e,t,n){var r,i={};for(r in t)i[r]=e.style[r],e.style[r]=t[r];for(r in n=n.call(e),t)e.style[r]=i[r];return n}var Me,Ie,We,Fe,Be,$e,_e,ze,Ue=new RegExp("^("+ee+")(?!px)[a-z%]+$","i"),Xe=new RegExp(ne.join("|"),"i");function Ve(){var e;ze&&(_e.style.cssText="position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0",ze.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%",re.appendChild(_e).appendChild(ze),e=T.getComputedStyle(ze),Me="1%"!==e.top,$e=12===Ge(e.marginLeft),ze.style.right="60%",Fe=36===Ge(e.right),Ie=36===Ge(e.width),ze.style.position="absolute",We=12===Ge(ze.offsetWidth/3),re.removeChild(_e),ze=null)}function Ge(e){return Math.round(parseFloat(e))}function Ye(e,t,n){var r,i,o=e.style;return(n=n||Pe(e))&&(""!==(i=n.getPropertyValue(t)||n[t])||ie(e)||(i=E.style(e,t)),!x.pixelBoxStyles()&&Ue.test(i)&&Xe.test(t)&&(r=o.width,e=o.minWidth,t=o.maxWidth,o.minWidth=o.maxWidth=o.width=i,i=n.width,o.width=r,o.minWidth=e,o.maxWidth=t)),void 0!==i?i+"":i}function Qe(e,t){return{get:function(){if(!e())return(this.get=t).apply(this,arguments);delete this.get}}}_e=C.createElement("div"),(ze=C.createElement("div")).style&&(ze.style.backgroundClip="content-box",ze.cloneNode(!0).style.backgroundClip="",x.clearCloneStyle="content-box"===ze.style.backgroundClip,E.extend(x,{boxSizingReliable:function(){return Ve(),Ie},pixelBoxStyles:function(){return Ve(),Fe},pixelPosition:function(){return Ve(),Me},reliableMarginLeft:function(){return Ve(),$e},scrollboxSize:function(){return Ve(),We},reliableTrDimensions:function(){var e,t,n;return null==Be&&(e=C.createElement("table"),n=C.createElement("tr"),t=C.createElement("div"),e.style.cssText="position:absolute;left:-11111px",n.style.height="1px",t.style.height="9px",re.appendChild(e).appendChild(n).appendChild(t),n=T.getComputedStyle(n),Be=3<parseInt(n.height),re.removeChild(e)),Be}}));var Je=["Webkit","Moz","ms"],Ke=C.createElement("div").style,Ze={};function et(e){var t=E.cssProps[e]||Ze[e];return t||(e in Ke?e:Ze[e]=function(e){for(var t=e[0].toUpperCase()+e.slice(1),n=Je.length;n--;)if((e=Je[n]+t)in Ke)return e}(e)||e)}var tt=/^(none|table(?!-c[ea]).+)/,nt=/^--/,rt={position:"absolute",visibility:"hidden",display:"block"},it={letterSpacing:"0",fontWeight:"400"};function ot(e,t,n){var r=te.exec(t);return r?Math.max(0,r[2]-(n||0))+(r[3]||"px"):t}function at(e,t,n,r,i,o){var a="width"===t?1:0,s=0,u=0;if(n===(r?"border":"content"))return 0;for(;a<4;a+=2)"margin"===n&&(u+=E.css(e,n+ne[a],!0,i)),r?("content"===n&&(u-=E.css(e,"padding"+ne[a],!0,i)),"margin"!==n&&(u-=E.css(e,"border"+ne[a]+"Width",!0,i))):(u+=E.css(e,"padding"+ne[a],!0,i),"padding"!==n?u+=E.css(e,"border"+ne[a]+"Width",!0,i):s+=E.css(e,"border"+ne[a]+"Width",!0,i));return!r&&0<=o&&(u+=Math.max(0,Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-o-u-s-.5))||0),u}function st(e,t,n){var r=Pe(e),i=(!x.boxSizingReliable()||n)&&"border-box"===E.css(e,"boxSizing",!1,r),o=i,a=Ye(e,t,r),s="offset"+t[0].toUpperCase()+t.slice(1);if(Ue.test(a)){if(!n)return a;a="auto"}return(!x.boxSizingReliable()&&i||!x.reliableTrDimensions()&&A(e,"tr")||"auto"===a||!parseFloat(a)&&"inline"===E.css(e,"display",!1,r))&&e.getClientRects().length&&(i="border-box"===E.css(e,"boxSizing",!1,r),(o=s in e)&&(a=e[s])),(a=parseFloat(a)||0)+at(e,t,n||(i?"border":"content"),o,r,a)+"px"}function ut(e,t,n,r,i){return new ut.prototype.init(e,t,n,r,i)}E.extend({cssHooks:{opacity:{get:function(e,t){if(t){e=Ye(e,"opacity");return""===e?"1":e}}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,gridArea:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{},style:function(e,t,n,r){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var i,o,a,s=X(t),u=nt.test(t),l=e.style;if(u||(t=et(s)),a=E.cssHooks[t]||E.cssHooks[s],void 0===n)return a&&"get"in a&&void 0!==(i=a.get(e,!1,r))?i:l[t];"string"===(o=typeof n)&&(i=te.exec(n))&&i[1]&&(n=se(e,t,i),o="number"),null!=n&&n==n&&("number"!==o||u||(n+=i&&i[3]||(E.cssNumber[s]?"":"px")),x.clearCloneStyle||""!==n||0!==t.indexOf("background")||(l[t]="inherit"),a&&"set"in a&&void 0===(n=a.set(e,n,r))||(u?l.setProperty(t,n):l[t]=n))}},css:function(e,t,n,r){var i,o=X(t);return nt.test(t)||(t=et(o)),"normal"===(i=void 0===(i=(o=E.cssHooks[t]||E.cssHooks[o])&&"get"in o?o.get(e,!0,n):i)?Ye(e,t,r):i)&&t in it&&(i=it[t]),""===n||n?(t=parseFloat(i),!0===n||isFinite(t)?t||0:i):i}}),E.each(["height","width"],function(e,s){E.cssHooks[s]={get:function(e,t,n){if(t)return!tt.test(E.css(e,"display"))||e.getClientRects().length&&e.getBoundingClientRect().width?st(e,s,n):Re(e,rt,function(){return st(e,s,n)})},set:function(e,t,n){var r,i=Pe(e),o=!x.scrollboxSize()&&"absolute"===i.position,a=(o||n)&&"border-box"===E.css(e,"boxSizing",!1,i),n=n?at(e,s,n,a,i):0;return a&&o&&(n-=Math.ceil(e["offset"+s[0].toUpperCase()+s.slice(1)]-parseFloat(i[s])-at(e,s,"border",!1,i)-.5)),n&&(r=te.exec(t))&&"px"!==(r[3]||"px")&&(e.style[s]=t,t=E.css(e,s)),ot(0,t,n)}}}),E.cssHooks.marginLeft=Qe(x.reliableMarginLeft,function(e,t){if(t)return(parseFloat(Ye(e,"marginLeft"))||e.getBoundingClientRect().left-Re(e,{marginLeft:0},function(){return e.getBoundingClientRect().left}))+"px"}),E.each({margin:"",padding:"",border:"Width"},function(i,o){E.cssHooks[i+o]={expand:function(e){for(var t=0,n={},r="string"==typeof e?e.split(" "):[e];t<4;t++)n[i+ne[t]+o]=r[t]||r[t-2]||r[0];return n}},"margin"!==i&&(E.cssHooks[i+o].set=ot)}),E.fn.extend({css:function(e,t){return $(this,function(e,t,n){var r,i,o={},a=0;if(Array.isArray(t)){for(r=Pe(e),i=t.length;a<i;a++)o[t[a]]=E.css(e,t[a],!1,r);return o}return void 0!==n?E.style(e,t,n):E.css(e,t)},e,t,1<arguments.length)}}),((E.Tween=ut).prototype={constructor:ut,init:function(e,t,n,r,i,o){this.elem=e,this.prop=n,this.easing=i||E.easing._default,this.options=t,this.start=this.now=this.cur(),this.end=r,this.unit=o||(E.cssNumber[n]?"":"px")},cur:function(){var e=ut.propHooks[this.prop];return(e&&e.get?e:ut.propHooks._default).get(this)},run:function(e){var t,n=ut.propHooks[this.prop];return this.options.duration?this.pos=t=E.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):this.pos=t=e,this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),(n&&n.set?n:ut.propHooks._default).set(this),this}}).init.prototype=ut.prototype,(ut.propHooks={_default:{get:function(e){return 1!==e.elem.nodeType||null!=e.elem[e.prop]&&null==e.elem.style[e.prop]?e.elem[e.prop]:(e=E.css(e.elem,e.prop,""))&&"auto"!==e?e:0},set:function(e){E.fx.step[e.prop]?E.fx.step[e.prop](e):1!==e.elem.nodeType||!E.cssHooks[e.prop]&&null==e.elem.style[et(e.prop)]?e.elem[e.prop]=e.now:E.style(e.elem,e.prop,e.now+e.unit)}}}).scrollTop=ut.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},E.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},_default:"swing"},E.fx=ut.prototype.init,E.fx.step={};var lt,ct,ft=/^(?:toggle|show|hide)$/,pt=/queueHooks$/;function dt(){ct&&(!1===C.hidden&&T.requestAnimationFrame?T.requestAnimationFrame(dt):T.setTimeout(dt,E.fx.interval),E.fx.tick())}function ht(){return T.setTimeout(function(){lt=void 0}),lt=Date.now()}function gt(e,t){var n,r=0,i={height:e};for(t=t?1:0;r<4;r+=2-t)i["margin"+(n=ne[r])]=i["padding"+n]=e;return t&&(i.opacity=i.width=e),i}function vt(e,t,n){for(var r,i=(yt.tweeners[t]||[]).concat(yt.tweeners["*"]),o=0,a=i.length;o<a;o++)if(r=i[o].call(n,t,e))return r}function yt(i,e,t){var n,o,r=0,a=yt.prefilters.length,s=E.Deferred().always(function(){delete u.elem}),u=function(){if(o)return!1;for(var e=lt||ht(),e=Math.max(0,l.startTime+l.duration-e),t=1-(e/l.duration||0),n=0,r=l.tweens.length;n<r;n++)l.tweens[n].run(t);return s.notifyWith(i,[l,t,e]),t<1&&r?e:(r||s.notifyWith(i,[l,1,0]),s.resolveWith(i,[l]),!1)},l=s.promise({elem:i,props:E.extend({},e),opts:E.extend(!0,{specialEasing:{},easing:E.easing._default},t),originalProperties:e,originalOptions:t,startTime:lt||ht(),duration:t.duration,tweens:[],createTween:function(e,t){e=E.Tween(i,l.opts,e,t,l.opts.specialEasing[e]||l.opts.easing);return l.tweens.push(e),e},stop:function(e){var t=0,n=e?l.tweens.length:0;if(o)return this;for(o=!0;t<n;t++)l.tweens[t].run(1);return e?(s.notifyWith(i,[l,1,0]),s.resolveWith(i,[l,e])):s.rejectWith(i,[l,e]),this}}),c=l.props;for(!function(e,t){var n,r,i,o,a;for(n in e)if(i=t[r=X(n)],o=e[n],Array.isArray(o)&&(i=o[1],o=e[n]=o[0]),n!==r&&(e[r]=o,delete e[n]),(a=E.cssHooks[r])&&"expand"in a)for(n in o=a.expand(o),delete e[r],o)n in e||(e[n]=o[n],t[n]=i);else t[r]=i}(c,l.opts.specialEasing);r<a;r++)if(n=yt.prefilters[r].call(l,i,c,l.opts))return g(n.stop)&&(E._queueHooks(l.elem,l.opts.queue).stop=n.stop.bind(n)),n;return E.map(c,vt,l),g(l.opts.start)&&l.opts.start.call(i,l),l.progress(l.opts.progress).done(l.opts.done,l.opts.complete).fail(l.opts.fail).always(l.opts.always),E.fx.timer(E.extend(u,{elem:i,anim:l,queue:l.opts.queue})),l}E.Animation=E.extend(yt,{tweeners:{"*":[function(e,t){var n=this.createTween(e,t);return se(n.elem,e,te.exec(t),n),n}]},tweener:function(e,t){for(var n,r=0,i=(e=g(e)?(t=e,["*"]):e.match(P)).length;r<i;r++)n=e[r],yt.tweeners[n]=yt.tweeners[n]||[],yt.tweeners[n].unshift(t)},prefilters:[function(e,t,n){var r,i,o,a,s,u,l,c="width"in t||"height"in t,f=this,p={},d=e.style,h=e.nodeType&&ae(e),g=Y.get(e,"fxshow");for(r in n.queue||(null==(a=E._queueHooks(e,"fx")).unqueued&&(a.unqueued=0,s=a.empty.fire,a.empty.fire=function(){a.unqueued||s()}),a.unqueued++,f.always(function(){f.always(function(){a.unqueued--,E.queue(e,"fx").length||a.empty.fire()})})),t)if(i=t[r],ft.test(i)){if(delete t[r],o=o||"toggle"===i,i===(h?"hide":"show")){if("show"!==i||!g||void 0===g[r])continue;h=!0}p[r]=g&&g[r]||E.style(e,r)}if((u=!E.isEmptyObject(t))||!E.isEmptyObject(p))for(r in c&&1===e.nodeType&&(n.overflow=[d.overflow,d.overflowX,d.overflowY],null==(l=g&&g.display)&&(l=Y.get(e,"display")),"none"===(c=E.css(e,"display"))&&(l?c=l:(le([e],!0),l=e.style.display||l,c=E.css(e,"display"),le([e]))),("inline"===c||"inline-block"===c&&null!=l)&&"none"===E.css(e,"float")&&(u||(f.done(function(){d.display=l}),null==l&&(c=d.display,l="none"===c?"":c)),d.display="inline-block")),n.overflow&&(d.overflow="hidden",f.always(function(){d.overflow=n.overflow[0],d.overflowX=n.overflow[1],d.overflowY=n.overflow[2]})),u=!1,p)u||(g?"hidden"in g&&(h=g.hidden):g=Y.access(e,"fxshow",{display:l}),o&&(g.hidden=!h),h&&le([e],!0),f.done(function(){for(r in h||le([e]),Y.remove(e,"fxshow"),p)E.style(e,r,p[r])})),u=vt(h?g[r]:0,r,f),r in g||(g[r]=u.start,h&&(u.end=u.start,u.start=0))}],prefilter:function(e,t){t?yt.prefilters.unshift(e):yt.prefilters.push(e)}}),E.speed=function(e,t,n){var r=e&&"object"==typeof e?E.extend({},e):{complete:n||!n&&t||g(e)&&e,duration:e,easing:n&&t||t&&!g(t)&&t};return E.fx.off?r.duration=0:"number"!=typeof r.duration&&(r.duration in E.fx.speeds?r.duration=E.fx.speeds[r.duration]:r.duration=E.fx.speeds._default),null!=r.queue&&!0!==r.queue||(r.queue="fx"),r.old=r.complete,r.complete=function(){g(r.old)&&r.old.call(this),r.queue&&E.dequeue(this,r.queue)},r},E.fn.extend({fadeTo:function(e,t,n,r){return this.filter(ae).css("opacity",0).show().end().animate({opacity:t},e,n,r)},animate:function(t,e,n,r){function i(){var e=yt(this,E.extend({},t),a);(o||Y.get(this,"finish"))&&e.stop(!0)}var o=E.isEmptyObject(t),a=E.speed(e,n,r);return i.finish=i,o||!1===a.queue?this.each(i):this.queue(a.queue,i)},stop:function(i,e,o){function a(e){var t=e.stop;delete e.stop,t(o)}return"string"!=typeof i&&(o=e,e=i,i=void 0),e&&this.queue(i||"fx",[]),this.each(function(){var e=!0,t=null!=i&&i+"queueHooks",n=E.timers,r=Y.get(this);if(t)r[t]&&r[t].stop&&a(r[t]);else for(t in r)r[t]&&r[t].stop&&pt.test(t)&&a(r[t]);for(t=n.length;t--;)n[t].elem!==this||null!=i&&n[t].queue!==i||(n[t].anim.stop(o),e=!1,n.splice(t,1));!e&&o||E.dequeue(this,i)})},finish:function(a){return!1!==a&&(a=a||"fx"),this.each(function(){var e,t=Y.get(this),n=t[a+"queue"],r=t[a+"queueHooks"],i=E.timers,o=n?n.length:0;for(t.finish=!0,E.queue(this,a,[]),r&&r.stop&&r.stop.call(this,!0),e=i.length;e--;)i[e].elem===this&&i[e].queue===a&&(i[e].anim.stop(!0),i.splice(e,1));for(e=0;e<o;e++)n[e]&&n[e].finish&&n[e].finish.call(this);delete t.finish})}}),E.each(["toggle","show","hide"],function(e,r){var i=E.fn[r];E.fn[r]=function(e,t,n){return null==e||"boolean"==typeof e?i.apply(this,arguments):this.animate(gt(r,!0),e,t,n)}}),E.each({slideDown:gt("show"),slideUp:gt("hide"),slideToggle:gt("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(e,r){E.fn[e]=function(e,t,n){return this.animate(r,e,t,n)}}),E.timers=[],E.fx.tick=function(){var e,t=0,n=E.timers;for(lt=Date.now();t<n.length;t++)(e=n[t])()||n[t]!==e||n.splice(t--,1);n.length||E.fx.stop(),lt=void 0},E.fx.timer=function(e){E.timers.push(e),E.fx.start()},E.fx.interval=13,E.fx.start=function(){ct||(ct=!0,dt())},E.fx.stop=function(){ct=null},E.fx.speeds={slow:600,fast:200,_default:400},E.fn.delay=function(r,e){return r=E.fx&&E.fx.speeds[r]||r,this.queue(e=e||"fx",function(e,t){var n=T.setTimeout(e,r);t.stop=function(){T.clearTimeout(n)}})},f=C.createElement("input"),ee=C.createElement("select").appendChild(C.createElement("option")),f.type="checkbox",x.checkOn=""!==f.value,x.optSelected=ee.selected,(f=C.createElement("input")).value="t",f.type="radio",x.radioValue="t"===f.value;var mt,xt=E.expr.attrHandle;E.fn.extend({attr:function(e,t){return $(this,E.attr,e,t,1<arguments.length)},removeAttr:function(e){return this.each(function(){E.removeAttr(this,e)})}}),E.extend({attr:function(e,t,n){var r,i,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return void 0===e.getAttribute?E.prop(e,t,n):(1===o&&E.isXMLDoc(e)||(i=E.attrHooks[t.toLowerCase()]||(E.expr.match.bool.test(t)?mt:void 0)),void 0!==n?null===n?void E.removeAttr(e,t):i&&"set"in i&&void 0!==(r=i.set(e,n,t))?r:(e.setAttribute(t,n+""),n):!(i&&"get"in i&&null!==(r=i.get(e,t)))&&null==(r=E.find.attr(e,t))?void 0:r)},attrHooks:{type:{set:function(e,t){if(!x.radioValue&&"radio"===t&&A(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}}},removeAttr:function(e,t){var n,r=0,i=t&&t.match(P);if(i&&1===e.nodeType)for(;n=i[r++];)e.removeAttribute(n)}}),mt={set:function(e,t,n){return!1===t?E.removeAttr(e,n):e.setAttribute(n,n),n}},E.each(E.expr.match.bool.source.match(/\w+/g),function(e,t){var a=xt[t]||E.find.attr;xt[t]=function(e,t,n){var r,i,o=t.toLowerCase();return n||(i=xt[o],xt[o]=r,r=null!=a(e,t,n)?o:null,xt[o]=i),r}});var bt=/^(?:input|select|textarea|button)$/i,wt=/^(?:a|area)$/i;function Tt(e){return(e.match(P)||[]).join(" ")}function Ct(e){return e.getAttribute&&e.getAttribute("class")||""}function Et(e){return Array.isArray(e)?e:"string"==typeof e&&e.match(P)||[]}E.fn.extend({prop:function(e,t){return $(this,E.prop,e,t,1<arguments.length)},removeProp:function(e){return this.each(function(){delete this[E.propFix[e]||e]})}}),E.extend({prop:function(e,t,n){var r,i,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return 1===o&&E.isXMLDoc(e)||(t=E.propFix[t]||t,i=E.propHooks[t]),void 0!==n?i&&"set"in i&&void 0!==(r=i.set(e,n,t))?r:e[t]=n:i&&"get"in i&&null!==(r=i.get(e,t))?r:e[t]},propHooks:{tabIndex:{get:function(e){var t=E.find.attr(e,"tabindex");return t?parseInt(t,10):bt.test(e.nodeName)||wt.test(e.nodeName)&&e.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),x.optSelected||(E.propHooks.selected={get:function(e){e=e.parentNode;return e&&e.parentNode&&e.parentNode.selectedIndex,null},set:function(e){e=e.parentNode;e&&(e.selectedIndex,e.parentNode&&e.parentNode.selectedIndex)}}),E.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){E.propFix[this.toLowerCase()]=this}),E.fn.extend({addClass:function(t){var e,n,r,i,o,a,s=0;if(g(t))return this.each(function(e){E(this).addClass(t.call(this,e,Ct(this)))});if((e=Et(t)).length)for(;n=this[s++];)if(a=Ct(n),r=1===n.nodeType&&" "+Tt(a)+" "){for(o=0;i=e[o++];)r.indexOf(" "+i+" ")<0&&(r+=i+" ");a!==(a=Tt(r))&&n.setAttribute("class",a)}return this},removeClass:function(t){var e,n,r,i,o,a,s=0;if(g(t))return this.each(function(e){E(this).removeClass(t.call(this,e,Ct(this)))});if(!arguments.length)return this.attr("class","");if((e=Et(t)).length)for(;n=this[s++];)if(a=Ct(n),r=1===n.nodeType&&" "+Tt(a)+" "){for(o=0;i=e[o++];)for(;-1<r.indexOf(" "+i+" ");)r=r.replace(" "+i+" "," ");a!==(a=Tt(r))&&n.setAttribute("class",a)}return this},toggleClass:function(i,t){var o=typeof i,a="string"==o||Array.isArray(i);return"boolean"==typeof t&&a?t?this.addClass(i):this.removeClass(i):g(i)?this.each(function(e){E(this).toggleClass(i.call(this,e,Ct(this),t),t)}):this.each(function(){var e,t,n,r;if(a)for(t=0,n=E(this),r=Et(i);e=r[t++];)n.hasClass(e)?n.removeClass(e):n.addClass(e);else void 0!==i&&"boolean"!=o||((e=Ct(this))&&Y.set(this,"__className__",e),this.setAttribute&&this.setAttribute("class",!e&&!1!==i&&Y.get(this,"__className__")||""))})},hasClass:function(e){for(var t,n=0,r=" "+e+" ";t=this[n++];)if(1===t.nodeType&&-1<(" "+Tt(Ct(t))+" ").indexOf(r))return!0;return!1}});var St=/\r/g;E.fn.extend({val:function(t){var n,e,r,i=this[0];return arguments.length?(r=g(t),this.each(function(e){1===this.nodeType&&(null==(e=r?t.call(this,e,E(this).val()):t)?e="":"number"==typeof e?e+="":Array.isArray(e)&&(e=E.map(e,function(e){return null==e?"":e+""})),(n=E.valHooks[this.type]||E.valHooks[this.nodeName.toLowerCase()])&&"set"in n&&void 0!==n.set(this,e,"value")||(this.value=e))})):i?(n=E.valHooks[i.type]||E.valHooks[i.nodeName.toLowerCase()])&&"get"in n&&void 0!==(e=n.get(i,"value"))?e:"string"==typeof(e=i.value)?e.replace(St,""):null==e?"":e:void 0}}),E.extend({valHooks:{option:{get:function(e){var t=E.find.attr(e,"value");return null!=t?t:Tt(E.text(e))}},select:{get:function(e){for(var t,n=e.options,r=e.selectedIndex,i="select-one"===e.type,o=i?null:[],a=i?r+1:n.length,s=r<0?a:i?r:0;s<a;s++)if(((t=n[s]).selected||s===r)&&!t.disabled&&(!t.parentNode.disabled||!A(t.parentNode,"optgroup"))){if(t=E(t).val(),i)return t;o.push(t)}return o},set:function(e,t){for(var n,r,i=e.options,o=E.makeArray(t),a=i.length;a--;)((r=i[a]).selected=-1<E.inArray(E.valHooks.option.get(r),o))&&(n=!0);return n||(e.selectedIndex=-1),o}}}}),E.each(["radio","checkbox"],function(){E.valHooks[this]={set:function(e,t){if(Array.isArray(t))return e.checked=-1<E.inArray(E(e).val(),t)}},x.checkOn||(E.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})}),x.focusin="onfocusin"in T;function kt(e){e.stopPropagation()}var At=/^(?:focusinfocus|focusoutblur)$/;E.extend(E.event,{trigger:function(e,t,n,r){var i,o,a,s,u,l,c,f=[n||C],p=m.call(e,"type")?e.type:e,d=m.call(e,"namespace")?e.namespace.split("."):[],h=c=o=n=n||C;if(3!==n.nodeType&&8!==n.nodeType&&!At.test(p+E.event.triggered)&&(-1<p.indexOf(".")&&(p=(d=p.split(".")).shift(),d.sort()),s=p.indexOf(":")<0&&"on"+p,(e=e[E.expando]?e:new E.Event(p,"object"==typeof e&&e)).isTrigger=r?2:3,e.namespace=d.join("."),e.rnamespace=e.namespace?new RegExp("(^|\\.)"+d.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,e.result=void 0,e.target||(e.target=n),t=null==t?[e]:E.makeArray(t,[e]),l=E.event.special[p]||{},r||!l.trigger||!1!==l.trigger.apply(n,t))){if(!r&&!l.noBubble&&!v(n)){for(a=l.delegateType||p,At.test(a+p)||(h=h.parentNode);h;h=h.parentNode)f.push(h),o=h;o===(n.ownerDocument||C)&&f.push(o.defaultView||o.parentWindow||T)}for(i=0;(h=f[i++])&&!e.isPropagationStopped();)c=h,e.type=1<i?a:l.bindType||p,(u=(Y.get(h,"events")||Object.create(null))[e.type]&&Y.get(h,"handle"))&&u.apply(h,t),(u=s&&h[s])&&u.apply&&V(h)&&(e.result=u.apply(h,t),!1===e.result&&e.preventDefault());return e.type=p,r||e.isDefaultPrevented()||l._default&&!1!==l._default.apply(f.pop(),t)||!V(n)||s&&g(n[p])&&!v(n)&&((o=n[s])&&(n[s]=null),E.event.triggered=p,e.isPropagationStopped()&&c.addEventListener(p,kt),n[p](),e.isPropagationStopped()&&c.removeEventListener(p,kt),E.event.triggered=void 0,o&&(n[s]=o)),e.result}},simulate:function(e,t,n){e=E.extend(new E.Event,n,{type:e,isSimulated:!0});E.event.trigger(e,null,t)}}),E.fn.extend({trigger:function(e,t){return this.each(function(){E.event.trigger(e,t,this)})},triggerHandler:function(e,t){var n=this[0];if(n)return E.event.trigger(e,t,n,!0)}}),x.focusin||E.each({focus:"focusin",blur:"focusout"},function(n,r){function i(e){E.event.simulate(r,e.target,E.event.fix(e))}E.event.special[r]={setup:function(){var e=this.ownerDocument||this.document||this,t=Y.access(e,r);t||e.addEventListener(n,i,!0),Y.access(e,r,(t||0)+1)},teardown:function(){var e=this.ownerDocument||this.document||this,t=Y.access(e,r)-1;t?Y.access(e,r,t):(e.removeEventListener(n,i,!0),Y.remove(e,r))}}});var Nt=T.location,Dt={guid:Date.now()},jt=/\?/;E.parseXML=function(e){var t;if(!e||"string"!=typeof e)return null;try{t=(new T.DOMParser).parseFromString(e,"text/xml")}catch(e){t=void 0}return t&&!t.getElementsByTagName("parsererror").length||E.error("Invalid XML: "+e),t};var qt=/\[\]$/,Lt=/\r?\n/g,Ht=/^(?:submit|button|image|reset|file)$/i,Ot=/^(?:input|select|textarea|keygen)/i;E.param=function(e,t){function n(e,t){t=g(t)?t():t,i[i.length]=encodeURIComponent(e)+"="+encodeURIComponent(null==t?"":t)}var r,i=[];if(null==e)return"";if(Array.isArray(e)||e.jquery&&!E.isPlainObject(e))E.each(e,function(){n(this.name,this.value)});else for(r in e)!function n(r,e,i,o){if(Array.isArray(e))E.each(e,function(e,t){i||qt.test(r)?o(r,t):n(r+"["+("object"==typeof t&&null!=t?e:"")+"]",t,i,o)});else if(i||"object"!==h(e))o(r,e);else for(var t in e)n(r+"["+t+"]",e[t],i,o)}(r,e[r],t,n);return i.join("&")},E.fn.extend({serialize:function(){return E.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var e=E.prop(this,"elements");return e?E.makeArray(e):this}).filter(function(){var e=this.type;return this.name&&!E(this).is(":disabled")&&Ot.test(this.nodeName)&&!Ht.test(e)&&(this.checked||!ce.test(e))}).map(function(e,t){var n=E(this).val();return null==n?null:Array.isArray(n)?E.map(n,function(e){return{name:t.name,value:e.replace(Lt,"\r\n")}}):{name:t.name,value:n.replace(Lt,"\r\n")}}).get()}});var Pt=/%20/g,Rt=/#.*$/,Mt=/([?&])_=[^&]*/,It=/^(.*?):[ \t]*([^\r\n]*)$/gm,Wt=/^(?:GET|HEAD)$/,Ft=/^\/\//,Bt={},$t={},_t="*/".concat("*"),zt=C.createElement("a");function Ut(o){return function(e,t){"string"!=typeof e&&(t=e,e="*");var n,r=0,i=e.toLowerCase().match(P)||[];if(g(t))for(;n=i[r++];)"+"===n[0]?(n=n.slice(1)||"*",(o[n]=o[n]||[]).unshift(t)):(o[n]=o[n]||[]).push(t)}}function Xt(t,r,i,o){var a={},s=t===$t;function u(e){var n;return a[e]=!0,E.each(t[e]||[],function(e,t){t=t(r,i,o);return"string"!=typeof t||s||a[t]?s?!(n=t):void 0:(r.dataTypes.unshift(t),u(t),!1)}),n}return u(r.dataTypes[0])||!a["*"]&&u("*")}function Vt(e,t){var n,r,i=E.ajaxSettings.flatOptions||{};for(n in t)void 0!==t[n]&&((i[n]?e:r=r||{})[n]=t[n]);return r&&E.extend(!0,e,r),e}zt.href=Nt.href,E.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:Nt.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(Nt.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":_t,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":E.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?Vt(Vt(e,E.ajaxSettings),t):Vt(E.ajaxSettings,e)},ajaxPrefilter:Ut(Bt),ajaxTransport:Ut($t),ajax:function(e,t){"object"==typeof e&&(t=e,e=void 0);var u,l,c,n,f,p,d,r,i,h=E.ajaxSetup({},t=t||{}),g=h.context||h,v=h.context&&(g.nodeType||g.jquery)?E(g):E.event,y=E.Deferred(),m=E.Callbacks("once memory"),x=h.statusCode||{},o={},a={},s="canceled",b={readyState:0,getResponseHeader:function(e){var t;if(p){if(!n)for(n={};t=It.exec(c);)n[t[1].toLowerCase()+" "]=(n[t[1].toLowerCase()+" "]||[]).concat(t[2]);t=n[e.toLowerCase()+" "]}return null==t?null:t.join(", ")},getAllResponseHeaders:function(){return p?c:null},setRequestHeader:function(e,t){return null==p&&(e=a[e.toLowerCase()]=a[e.toLowerCase()]||e,o[e]=t),this},overrideMimeType:function(e){return null==p&&(h.mimeType=e),this},statusCode:function(e){if(e)if(p)b.always(e[b.status]);else for(var t in e)x[t]=[x[t],e[t]];return this},abort:function(e){e=e||s;return u&&u.abort(e),w(0,e),this}};if(y.promise(b),h.url=((e||h.url||Nt.href)+"").replace(Ft,Nt.protocol+"//"),h.type=t.method||t.type||h.method||h.type,h.dataTypes=(h.dataType||"*").toLowerCase().match(P)||[""],null==h.crossDomain){i=C.createElement("a");try{i.href=h.url,i.href=i.href,h.crossDomain=zt.protocol+"//"+zt.host!=i.protocol+"//"+i.host}catch(e){h.crossDomain=!0}}if(h.data&&h.processData&&"string"!=typeof h.data&&(h.data=E.param(h.data,h.traditional)),Xt(Bt,h,t,b),p)return b;for(r in(d=E.event&&h.global)&&0==E.active++&&E.event.trigger("ajaxStart"),h.type=h.type.toUpperCase(),h.hasContent=!Wt.test(h.type),l=h.url.replace(Rt,""),h.hasContent?h.data&&h.processData&&0===(h.contentType||"").indexOf("application/x-www-form-urlencoded")&&(h.data=h.data.replace(Pt,"+")):(i=h.url.slice(l.length),h.data&&(h.processData||"string"==typeof h.data)&&(l+=(jt.test(l)?"&":"?")+h.data,delete h.data),!1===h.cache&&(l=l.replace(Mt,"$1"),i=(jt.test(l)?"&":"?")+"_="+Dt.guid+++i),h.url=l+i),h.ifModified&&(E.lastModified[l]&&b.setRequestHeader("If-Modified-Since",E.lastModified[l]),E.etag[l]&&b.setRequestHeader("If-None-Match",E.etag[l])),(h.data&&h.hasContent&&!1!==h.contentType||t.contentType)&&b.setRequestHeader("Content-Type",h.contentType),b.setRequestHeader("Accept",h.dataTypes[0]&&h.accepts[h.dataTypes[0]]?h.accepts[h.dataTypes[0]]+("*"!==h.dataTypes[0]?", "+_t+"; q=0.01":""):h.accepts["*"]),h.headers)b.setRequestHeader(r,h.headers[r]);if(h.beforeSend&&(!1===h.beforeSend.call(g,b,h)||p))return b.abort();if(s="abort",m.add(h.complete),b.done(h.success),b.fail(h.error),u=Xt($t,h,t,b)){if(b.readyState=1,d&&v.trigger("ajaxSend",[b,h]),p)return b;h.async&&0<h.timeout&&(f=T.setTimeout(function(){b.abort("timeout")},h.timeout));try{p=!1,u.send(o,w)}catch(e){if(p)throw e;w(-1,e)}}else w(-1,"No Transport");function w(e,t,n,r){var i,o,a,s=t;p||(p=!0,f&&T.clearTimeout(f),u=void 0,c=r||"",b.readyState=0<e?4:0,r=200<=e&&e<300||304===e,n&&(a=function(e,t,n){for(var r,i,o,a,s=e.contents,u=e.dataTypes;"*"===u[0];)u.shift(),void 0===r&&(r=e.mimeType||t.getResponseHeader("Content-Type"));if(r)for(i in s)if(s[i]&&s[i].test(r)){u.unshift(i);break}if(u[0]in n)o=u[0];else{for(i in n){if(!u[0]||e.converters[i+" "+u[0]]){o=i;break}a=a||i}o=o||a}if(o)return o!==u[0]&&u.unshift(o),n[o]}(h,b,n)),!r&&-1<E.inArray("script",h.dataTypes)&&(h.converters["text script"]=function(){}),a=function(e,t,n,r){var i,o,a,s,u,l={},c=e.dataTypes.slice();if(c[1])for(a in e.converters)l[a.toLowerCase()]=e.converters[a];for(o=c.shift();o;)if(e.responseFields[o]&&(n[e.responseFields[o]]=t),!u&&r&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),u=o,o=c.shift())if("*"===o)o=u;else if("*"!==u&&u!==o){if(!(a=l[u+" "+o]||l["* "+o]))for(i in l)if((s=i.split(" "))[1]===o&&(a=l[u+" "+s[0]]||l["* "+s[0]])){!0===a?a=l[i]:!0!==l[i]&&(o=s[0],c.unshift(s[1]));break}if(!0!==a)if(a&&e.throws)t=a(t);else try{t=a(t)}catch(e){return{state:"parsererror",error:a?e:"No conversion from "+u+" to "+o}}}return{state:"success",data:t}}(h,a,b,r),r?(h.ifModified&&((n=b.getResponseHeader("Last-Modified"))&&(E.lastModified[l]=n),(n=b.getResponseHeader("etag"))&&(E.etag[l]=n)),204===e||"HEAD"===h.type?s="nocontent":304===e?s="notmodified":(s=a.state,i=a.data,r=!(o=a.error))):(o=s,!e&&s||(s="error",e<0&&(e=0))),b.status=e,b.statusText=(t||s)+"",r?y.resolveWith(g,[i,s,b]):y.rejectWith(g,[b,s,o]),b.statusCode(x),x=void 0,d&&v.trigger(r?"ajaxSuccess":"ajaxError",[b,h,r?i:o]),m.fireWith(g,[b,s]),d&&(v.trigger("ajaxComplete",[b,h]),--E.active||E.event.trigger("ajaxStop")))}return b},getJSON:function(e,t,n){return E.get(e,t,n,"json")},getScript:function(e,t){return E.get(e,void 0,t,"script")}}),E.each(["get","post"],function(e,i){E[i]=function(e,t,n,r){return g(t)&&(r=r||n,n=t,t=void 0),E.ajax(E.extend({url:e,type:i,dataType:r,data:t,success:n},E.isPlainObject(e)&&e))}}),E.ajaxPrefilter(function(e){for(var t in e.headers)"content-type"===t.toLowerCase()&&(e.contentType=e.headers[t]||"")}),E._evalUrl=function(e,t,n){return E.ajax({url:e,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(e){E.globalEval(e,t,n)}})},E.fn.extend({wrapAll:function(e){return this[0]&&(g(e)&&(e=e.call(this[0])),e=E(e,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&e.insertBefore(this[0]),e.map(function(){for(var e=this;e.firstElementChild;)e=e.firstElementChild;return e}).append(this)),this},wrapInner:function(n){return g(n)?this.each(function(e){E(this).wrapInner(n.call(this,e))}):this.each(function(){var e=E(this),t=e.contents();t.length?t.wrapAll(n):e.append(n)})},wrap:function(t){var n=g(t);return this.each(function(e){E(this).wrapAll(n?t.call(this,e):t)})},unwrap:function(e){return this.parent(e).not("body").each(function(){E(this).replaceWith(this.childNodes)}),this}}),E.expr.pseudos.hidden=function(e){return!E.expr.pseudos.visible(e)},E.expr.pseudos.visible=function(e){return!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)},E.ajaxSettings.xhr=function(){try{return new T.XMLHttpRequest}catch(e){}};var Gt={0:200,1223:204},Yt=E.ajaxSettings.xhr();x.cors=!!Yt&&"withCredentials"in Yt,x.ajax=Yt=!!Yt,E.ajaxTransport(function(i){var o,a;if(x.cors||Yt&&!i.crossDomain)return{send:function(e,t){var n,r=i.xhr();if(r.open(i.type,i.url,i.async,i.username,i.password),i.xhrFields)for(n in i.xhrFields)r[n]=i.xhrFields[n];for(n in i.mimeType&&r.overrideMimeType&&r.overrideMimeType(i.mimeType),i.crossDomain||e["X-Requested-With"]||(e["X-Requested-With"]="XMLHttpRequest"),e)r.setRequestHeader(n,e[n]);o=function(e){return function(){o&&(o=a=r.onload=r.onerror=r.onabort=r.ontimeout=r.onreadystatechange=null,"abort"===e?r.abort():"error"===e?"number"!=typeof r.status?t(0,"error"):t(r.status,r.statusText):t(Gt[r.status]||r.status,r.statusText,"text"!==(r.responseType||"text")||"string"!=typeof r.responseText?{binary:r.response}:{text:r.responseText},r.getAllResponseHeaders()))}},r.onload=o(),a=r.onerror=r.ontimeout=o("error"),void 0!==r.onabort?r.onabort=a:r.onreadystatechange=function(){4===r.readyState&&T.setTimeout(function(){o&&a()})},o=o("abort");try{r.send(i.hasContent&&i.data||null)}catch(e){if(o)throw e}},abort:function(){o&&o()}}}),E.ajaxPrefilter(function(e){e.crossDomain&&(e.contents.script=!1)}),E.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(e){return E.globalEval(e),e}}}),E.ajaxPrefilter("script",function(e){void 0===e.cache&&(e.cache=!1),e.crossDomain&&(e.type="GET")}),E.ajaxTransport("script",function(n){var r,i;if(n.crossDomain||n.scriptAttrs)return{send:function(e,t){r=E("<script>").attr(n.scriptAttrs||{}).prop({charset:n.scriptCharset,src:n.url}).on("load error",i=function(e){r.remove(),i=null,e&&t("error"===e.type?404:200,e.type)}),C.head.appendChild(r[0])},abort:function(){i&&i()}}});var Qt=[],Jt=/(=)\?(?=&|$)|\?\?/;E.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=Qt.pop()||E.expando+"_"+Dt.guid++;return this[e]=!0,e}}),E.ajaxPrefilter("json jsonp",function(e,t,n){var r,i,o,a=!1!==e.jsonp&&(Jt.test(e.url)?"url":"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&Jt.test(e.data)&&"data");if(a||"jsonp"===e.dataTypes[0])return r=e.jsonpCallback=g(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,a?e[a]=e[a].replace(Jt,"$1"+r):!1!==e.jsonp&&(e.url+=(jt.test(e.url)?"&":"?")+e.jsonp+"="+r),e.converters["script json"]=function(){return o||E.error(r+" was not called"),o[0]},e.dataTypes[0]="json",i=T[r],T[r]=function(){o=arguments},n.always(function(){void 0===i?E(T).removeProp(r):T[r]=i,e[r]&&(e.jsonpCallback=t.jsonpCallback,Qt.push(r)),o&&g(i)&&i(o[0]),o=i=void 0}),"script"}),x.createHTMLDocument=((f=C.implementation.createHTMLDocument("").body).innerHTML="<form></form><form></form>",2===f.childNodes.length),E.parseHTML=function(e,t,n){return"string"!=typeof e?[]:("boolean"==typeof t&&(n=t,t=!1),t||(x.createHTMLDocument?((r=(t=C.implementation.createHTMLDocument("")).createElement("base")).href=C.location.href,t.head.appendChild(r)):t=C),r=!n&&[],(n=N.exec(e))?[t.createElement(n[1])]:(n=ye([e],t,r),r&&r.length&&E(r).remove(),E.merge([],n.childNodes)));var r},E.fn.load=function(e,t,n){var r,i,o,a=this,s=e.indexOf(" ");return-1<s&&(r=Tt(e.slice(s)),e=e.slice(0,s)),g(t)?(n=t,t=void 0):t&&"object"==typeof t&&(i="POST"),0<a.length&&E.ajax({url:e,type:i||"GET",dataType:"html",data:t}).done(function(e){o=arguments,a.html(r?E("<div>").append(E.parseHTML(e)).find(r):e)}).always(n&&function(e,t){a.each(function(){n.apply(this,o||[e.responseText,t,e])})}),this},E.expr.pseudos.animated=function(t){return E.grep(E.timers,function(e){return t===e.elem}).length},E.offset={setOffset:function(e,t,n){var r,i,o,a,s=E.css(e,"position"),u=E(e),l={};"static"===s&&(e.style.position="relative"),o=u.offset(),r=E.css(e,"top"),a=E.css(e,"left"),a=("absolute"===s||"fixed"===s)&&-1<(r+a).indexOf("auto")?(i=(s=u.position()).top,s.left):(i=parseFloat(r)||0,parseFloat(a)||0),null!=(t=g(t)?t.call(e,n,E.extend({},o)):t).top&&(l.top=t.top-o.top+i),null!=t.left&&(l.left=t.left-o.left+a),"using"in t?t.using.call(e,l):("number"==typeof l.top&&(l.top+="px"),"number"==typeof l.left&&(l.left+="px"),u.css(l))}},E.fn.extend({offset:function(t){if(arguments.length)return void 0===t?this:this.each(function(e){E.offset.setOffset(this,t,e)});var e,n=this[0];return n?n.getClientRects().length?(e=n.getBoundingClientRect(),n=n.ownerDocument.defaultView,{top:e.top+n.pageYOffset,left:e.left+n.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var e,t,n,r=this[0],i={top:0,left:0};if("fixed"===E.css(r,"position"))t=r.getBoundingClientRect();else{for(t=this.offset(),n=r.ownerDocument,e=r.offsetParent||n.documentElement;e&&(e===n.body||e===n.documentElement)&&"static"===E.css(e,"position");)e=e.parentNode;e&&e!==r&&1===e.nodeType&&((i=E(e).offset()).top+=E.css(e,"borderTopWidth",!0),i.left+=E.css(e,"borderLeftWidth",!0))}return{top:t.top-i.top-E.css(r,"marginTop",!0),left:t.left-i.left-E.css(r,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var e=this.offsetParent;e&&"static"===E.css(e,"position");)e=e.offsetParent;return e||re})}}),E.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(t,i){var o="pageYOffset"===i;E.fn[t]=function(e){return $(this,function(e,t,n){var r;return v(e)?r=e:9===e.nodeType&&(r=e.defaultView),void 0===n?r?r[i]:e[t]:void(r?r.scrollTo(o?r.pageXOffset:n,o?n:r.pageYOffset):e[t]=n)},t,e,arguments.length)}}),E.each(["top","left"],function(e,n){E.cssHooks[n]=Qe(x.pixelPosition,function(e,t){if(t)return t=Ye(e,n),Ue.test(t)?E(e).position()[n]+"px":t})}),E.each({Height:"height",Width:"width"},function(a,s){E.each({padding:"inner"+a,content:s,"":"outer"+a},function(r,o){E.fn[o]=function(e,t){var n=arguments.length&&(r||"boolean"!=typeof e),i=r||(!0===e||!0===t?"margin":"border");return $(this,function(e,t,n){var r;return v(e)?0===o.indexOf("outer")?e["inner"+a]:e.document.documentElement["client"+a]:9===e.nodeType?(r=e.documentElement,Math.max(e.body["scroll"+a],r["scroll"+a],e.body["offset"+a],r["offset"+a],r["client"+a])):void 0===n?E.css(e,t,i):E.style(e,t,n,i)},s,n?e:void 0,n)}})}),E.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){E.fn[t]=function(e){return this.on(t,e)}}),E.fn.extend({bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,n,r){return this.on(t,e,n,r)},undelegate:function(e,t,n){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",n)},hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)}}),E.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(e,n){E.fn[n]=function(e,t){return 0<arguments.length?this.on(n,null,e,t):this.trigger(n)}});var Kt=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g;E.proxy=function(e,t){var n,r;if("string"==typeof t&&(r=e[t],t=e,e=r),g(e))return n=s.call(arguments,2),(r=function(){return e.apply(t||this,n.concat(s.call(arguments)))}).guid=e.guid=e.guid||E.guid++,r},E.holdReady=function(e){e?E.readyWait++:E.ready(!0)},E.isArray=Array.isArray,E.parseJSON=JSON.parse,E.nodeName=A,E.isFunction=g,E.isWindow=v,E.camelCase=X,E.type=h,E.now=Date.now,E.isNumeric=function(e){var t=E.type(e);return("number"===t||"string"===t)&&!isNaN(e-parseFloat(e))},E.trim=function(e){return null==e?"":(e+"").replace(Kt,"")},"function"==typeof define&&define.amd&&define("jquery",[],function(){return E});var Zt=T.jQuery,en=T.$;return E.noConflict=function(e){return T.$===E&&(T.$=en),e&&T.jQuery===E&&(T.jQuery=Zt),E},void 0===e&&(T.jQuery=T.$=E),E}); /** * Cloudinary's JavaScript library - Version 2.5.0 * Copyright Cloudinary * see https://github.com/cloudinary/cloudinary_js * */ var slice=[].slice,extend=function(t,e){for(var n in e)hasProp.call(e,n)&&(t[n]=e[n]);function i(){this.constructor=t}return i.prototype=e.prototype,t.prototype=new i,t.__super__=e.prototype,t},hasProp={}.hasOwnProperty;!function(t,e){var n,i,r,o;if("function"==typeof define&&define.amd)return define(["jquery"],e);if("object"==typeof exports)return module.exports=e(require("jquery"));for(n in t.cloudinary||(t.cloudinary={}),r=[],i=e(jQuery))o=i[n],r.push(t.cloudinary[n]=o)}(this,function(a){var s,l,u,e,f,n,y,i,r,o,p,c,h,d,m,g,t,_,v,A,D,C,E,B,b,w,F,x,S,P,O,z,R,T,j,k,I,U,V,N,L,M,H,q,W,$,X,G,Z,Y,K,Q,J,tt,et,nt,it,rt;function ot(n){var i;this.options={},null!=n&&["resourceType","type","publicId","format"].forEach((i=this,function(t){var e;return i.options[t]=null!=(e=n[t])?e:n[m.snakeCase(t)]}))}function st(t){st.__super__.constructor.call(this,t),m.isString(t)?this.options.url=t:null!=t&&t.url&&(this.options.url=t.url)}function ut(n){var i;ut.__super__.constructor.call(this,n),null!=n&&["resourceType","resourceType","fontFamily","fontSize","fontWeight","fontStyle","textDecoration","textAlign","stroke","letterSpacing","lineSpacing","text"].forEach((i=this,function(t){var e;return i.options[t]=null!=(e=n[t])?e:n[m.snakeCase(t)]})),this.options.resourceType="text"}function at(t){at.__super__.constructor.call(this,t),this.options.resourceType="subtitles"}function lt(t,e,n){null==n&&(n=A.Util.identity),this.name=t,this.shortName=e,this.process=n}function pt(t,e,n,i){this.sep=n=null==n?".":n,pt.__super__.constructor.call(this,t,e,i)}function ct(t,e,n,i){null==e&&(e="t"),this.sep=n=null==n?".":n,ct.__super__.constructor.call(this,t,e,i)}function ht(t,e,n){null==n&&(n=this.norm_range_value),ht.__super__.constructor.call(this,t,e,n)}function ft(t,e,n){null==n&&(n=A.Util.identity),ft.__super__.constructor.call(this,t,e,n)}function dt(){return dt.__super__.constructor.apply(this,arguments)}function yt(){return yt.__super__.constructor.apply(this,arguments)}function mt(t){this.expressions=[],null!=t&&this.expressions.push(mt.normalize(t))}function gt(t){gt.__super__.constructor.call(this,t)}function _t(t){this.configuration=m.cloneDeep(t=null==t?{}:t),m.defaults(this.configuration,U)}function vt(t){var e,u;null==t&&(t={}),e=void 0,u={},this.toOptions||(this.toOptions=function(t){var e,n,i,r,o,s;for(e in null==t&&(t=!0),n={},u)s=u[e],n[e]=s.origValue;for(e in i=this.otherOptions)void 0!==(s=i[e])&&(n[e]=s);if(t&&!m.isEmpty(this.chained)){for(e in(t=function(){for(var t=this.chained,e=[],n=0,i=t.length;n<i;n++)o=t[n],e.push(o.toOptions());return e}.call(this)).push(n),n={},r=this.otherOptions)void 0!==(s=r[e])&&(n[e]=s);n.transformation=t}return n}),this.setParent||(this.setParent=function(t){return null!=(e=t)&&this.fromOptions("function"==typeof t.toOptions?t.toOptions():void 0),this}),this.getParent||(this.getParent=function(){return e}),this.param||(this.param=function(t,e,n,i,r){return null==r&&(r=m.isFunction(i)?i:m.identity),u[e]=new o(e,n,r).set(t),this}),this.rawParam||(this.rawParam=function(t,e,n,i,r){return null==r&&(r=m.identity),r=L(arguments),u[e]=new c(e,n,r).set(t),this}),this.rangeParam||(this.rangeParam=function(t,e,n,i,r){return null==r&&(r=m.identity),r=L(arguments),u[e]=new p(e,n,r).set(t),this}),this.arrayParam||(this.arrayParam=function(t,e,n,i,r,o){return null==i&&(i=":"),null==r&&(r=[]),null==o&&(o=m.identity),o=L(arguments),u[e]=new s(e,n,i,o).set(t),this}),this.transformationParam||(this.transformationParam=function(t,e,n,i,r,o){return null==i&&(i="."),null==o&&(o=m.identity),o=L(arguments),u[e]=new d(e,n,i,o).set(t),this}),this.layerParam||(this.layerParam=function(t,e,n){return u[e]=new r(e,n).set(t),this}),this.getValue||(this.getValue=function(t){var e;return null!=(e=null!=(e=u[t])?e.value():void 0)?e:this.otherOptions[t]}),this.get||(this.get=function(t){return u[t]}),this.remove||(this.remove=function(t){var e;switch(!1){case null==u[t]:return e=u[t],delete u[t],e.origValue;case null==this.otherOptions[t]:return e=this.otherOptions[t],delete this.otherOptions[t],e;default:return null}}),this.keys||(this.keys=function(){var e;return function(){var t=[];for(e in u)null!=e&&t.push(e.match(N)?e:m.snakeCase(e));return t}().sort()}),this.toPlainObject||(this.toPlainObject=function(){var t,e,r,n={};for(t in u)n[t]=u[t].value(),m.isPlainObject(n[t])&&(n[t]=m.cloneDeep(n[t]));return m.isEmpty(this.chained)||((e=function(){for(var t=this.chained,e=[],n=0,i=t.length;n<i;n++)r=t[n],e.push(r.toPlainObject());return e}.call(this)).push(n),n={transformation:e}),n}),this.chain||(this.chain=function(){var t;return 0!==Object.getOwnPropertyNames(u).length&&(t=new this.constructor(this.toOptions(!1)),this.resetTransformations(),this.chained.push(t)),this}),this.resetTransformations||(this.resetTransformations=function(){return u={},this}),this.otherOptions||(this.otherOptions={}),this.chained=[],m.isEmpty(t)||this.fromOptions(t)}function At(t){At.__super__.constructor.call(this,t=null==t?{}:t)}function Dt(t,e,n){var i;this.name=t,this.publicId=e,null==n&&(m.isPlainObject(e)?(n=e,this.publicId=void 0):n={}),(i=new h(n)).setParent(this),this.transformation=function(){return i}}function Ct(t,e){Ct.__super__.constructor.call(this,"img",t,e=null==e?{}:e)}function Et(t,e){e=m.defaults({},e=null==e?{}:e,l.DEFAULT_VIDEO_PARAMS),Et.__super__.constructor.call(this,"video",t.replace(/\.(mp4|ogv|webm)$/,""),e)}function Bt(t){Bt.__super__.constructor.call(this,"meta",void 0,m.assign({"http-equiv":"Accept-CH",content:"DPR, Viewport-Width, Width"},t))}function bt(t){var n;this.devicePixelRatioCache={},this.responsiveConfig={},this.responsiveResizeInitialized=!1,n=new e(t),this.config=function(t,e){return n.config(t,e)},this.fromDocument=function(){return n.fromDocument(),this},this.fromEnvironment=function(){return n.fromEnvironment(),this},this.init=function(){return n.init(),this}}function wt(t){wt.__super__.constructor.call(this,t)}return t=function(t){for(var e,n=0,i=t.length;n<i;n++)if(e=t[n],!m.isString(e))return!1;return!0},I=function(t,e){for(var n=[],i=-1,r=t.length;++i<r;)t[i]!==e&&n.push(t[i]);return n},w=function(t){return null!=t&&!isNaN(parseFloat(t))},O=function(t,e){return t.replace(e=null==e?/([^a-zA-Z0-9_.\-\/:]+)/g:e,function(t){return t.split("").map(function(t){return"%"+t.charCodeAt(0).toString(16).toUpperCase()}).join("")})},B=function(){var t=arguments[0];return(2<=arguments.length?slice.call(arguments,1):[]).reduce(function(t,e){var n,i;for(n in e)i=e[n],void 0===t[n]&&(t[n]=i);return t},t)},k=Object.prototype,S=k.toString,F=function(t){var e=typeof t;return!!t&&("object"==e||"function"==e)},b=function(t){return F(t)&&"[object Function]"===S.call(t)},P=RegExp("[A-Z]+(?=[A-Z][a-z]+)|[A-Z]?[a-z]+|[A-Z]+|[0-9]+","g"),v=function(t){var i,r,o=t.match(P);return(o=function(){var t,e,n=[];for(i=t=0,e=o.length;t<e;i=++t)r=(r=o[i]).toLocaleLowerCase(),i?n.push(r.charAt(0).toLocaleUpperCase()+r.slice(1)):n.push(r);return n}()).join("")},z=function(t){var i,r,o=t.match(P);return(o=function(){var t,e,n=[];for(i=t=0,e=o.length;t<e;i=++t)r=o[i],n.push(r.toLocaleLowerCase());return n}()).join("_")},C=function(t,e){var n,i,r;for(n in null==e&&(e=m.identity),i={},t)r=t[n],n=e(n),m.isEmpty(n)||(i[n]=r);return i},X=function(t){return C(t,m.camelCase)},k=function(t){return C(t,m.snakeCase)},_="undefined"!=typeof btoa&&b(btoa)?btoa:"undefined"!=typeof Buffer&&b(Buffer)?function(t){return(t=!(t instanceof Buffer)?new Buffer.from(String(t),"binary"):t).toString("base64")}:function(t){throw new Error("No base64 encoding function found")},j=function(t){return a(t).width()},m=a.extend({allStrings:t,camelCase:v,convertKeys:C,defaults:B,snakeCase:z,without:I,isFunction:b,isNumberLike:w,smartEscape:O,withCamelCaseKeys:X,withSnakeCaseKeys:k,base64EncodeURL:function(t){try{t=decodeURI(t)}catch(t){0}return t=encodeURI(t),_(t)}},{hasClass:function(t,e){return a(t).hasClass(e)},addClass:function(t,e){return a(t).addClass(e)},getAttribute:function(t,e){return a(t).attr(e)},setAttribute:function(t,e,n){return a(t).attr(e,n)},removeAttribute:function(t,e){return a(t).removeAttr(e)},setAttributes:function(t,e){return a(t).attr(e)},getData:function(t,e){return a(t).data(e)},setData:function(t,e,n){return a(t).data(e,n)},width:j,isString:function(t){return"string"==typeof t||"[object String]"===(null!=t?t.toString():void 0)},isArray:a.isArray,isEmpty:function(t){return null==t||(a.isArray(t)||m.isString(t))&&0===t.length||a.isPlainObject(t)&&a.isEmptyObject(t)},assign:a.extend,merge:function(){var i,t=function(){for(var t=[],e=0,n=arguments.length;e<n;e++)i=arguments[e],t.push(i);return t}.apply(this,arguments);return t.unshift(!0),a.extend.apply(this,t)},cloneDeep:function(){var t=a.makeArray(arguments);return t.unshift({}),t.unshift(!0),a.extend.apply(this,t)},compact:function(t){for(var e,n=[],i=0,r=t.length;i<r;i++)(e=t[i])&&n.push(e);return n},contains:D=function(t,e){for(var n=0,i=t.length;n<i;n++)if(t[n]===e)return!0;return!1},difference:function(t,e){for(var n,i=[],r=0,o=t.length;r<o;r++)n=t[r],D(e,n)||i.push(n);return i},functions:function(t){var e,n=[];for(e in t)a.isFunction(t[e])&&n.push(e);return n},identity:function(t){return t},isPlainObject:a.isPlainObject,trim:a.trim}),R=function(t){var e,n,i,r,o,s,u,a;if(null==t)return"";for(i=o=void 0,o=i=0,u=(s=t+(a="")).length,r=0;r<u;)n=null,(e=s.charCodeAt(r))<128?i++:n=127<e&&e<2048?String.fromCharCode(e>>6|192,63&e|128):String.fromCharCode(e>>12|224,e>>6&63|128,63&e|128),null!==n&&(o<i&&(a+=s.slice(o,i)),a+=n,o=i=r+1),r++;return o<i&&(a+=s.slice(o,u)),a},E=function(t){var e,n,i,r=0;for(r^=-1,e=0,n=(t=R(t)).length;e<n;)i=255&(r^t.charCodeAt(e)),r=r>>>8^"0x"+"00000000 77073096 EE0E612C 990951BA 076DC419 706AF48F E963A535 9E6495A3 0EDB8832 79DCB8A4 E0D5E91E 97D2D988 09B64C2B 7EB17CBD E7B82D07 90BF1D91 1DB71064 6AB020F2 F3B97148 84BE41DE 1ADAD47D 6DDDE4EB F4D4B551 83D385C7 136C9856 646BA8C0 FD62F97A 8A65C9EC 14015C4F 63066CD9 FA0F3D63 8D080DF5 3B6E20C8 4C69105E D56041E4 A2677172 3C03E4D1 4B04D447 D20D85FD A50AB56B 35B5A8FA 42B2986C DBBBC9D6 ACBCF940 32D86CE3 45DF5C75 DCD60DCF ABD13D59 26D930AC 51DE003A C8D75180 BFD06116 21B4F4B5 56B3C423 CFBA9599 B8BDA50F 2802B89E 5F058808 C60CD9B2 B10BE924 2F6F7C87 58684C11 C1611DAB B6662D3D 76DC4190 01DB7106 98D220BC EFD5102A 71B18589 06B6B51F 9FBFE4A5 E8B8D433 7807C9A2 0F00F934 9609A88E E10E9818 7F6A0DBB 086D3D2D 91646C97 E6635C01 6B6B51F4 1C6C6162 856530D8 F262004E 6C0695ED 1B01A57B 8208F4C1 F50FC457 65B0D9C6 12B7E950 8BBEB8EA FCB9887C 62DD1DDF 15DA2D49 8CD37CF3 FBD44C65 4DB26158 3AB551CE A3BC0074 D4BB30E2 4ADFA541 3DD895D7 A4D1C46D D3D6F4FB 4369E96A 346ED9FC AD678846 DA60B8D0 44042D73 33031DE5 AA0A4C5F DD0D7CC9 5005713C 270241AA BE0B1010 C90C2086 5768B525 206F85B3 B966D409 CE61E49F 5EDEF90E 29D9C998 B0D09822 C7D7A8B4 59B33D17 2EB40D81 B7BD5C3B C0BA6CAD EDB88320 9ABFB3B6 03B6E20C 74B1D29A EAD54739 9DD277AF 04DB2615 73DC1683 E3630B12 94643B84 0D6D6A3E 7A6A5AA8 E40ECF0B 9309FF9D 0A00AE27 7D079EB1 F00F9344 8708A3D2 1E01F268 6906C2FE F762575D 806567CB 196C3671 6E6B06E7 FED41B76 89D32BE0 10DA7A5A 67DD4ACC F9B9DF6F 8EBEEFF9 17B7BE43 60B08ED5 D6D6A3E8 A1D1937E 38D8C2C4 4FDFF252 D1BB67F1 A6BC5767 3FB506DD 48B2364B D80D2BDA AF0A1B4C 36034AF6 41047A60 DF60EFC3 A867DF55 316E8EEF 4669BE79 CB61B38C BC66831A 256FD2A0 5268E236 CC0C7795 BB0B4703 220216B9 5505262F C5BA3BBE B2BD0B28 2BB45A92 5CB36A04 C2D7FFA7 B5D0CF31 2CD99E8B 5BDEAE1D 9B64C2B0 EC63F226 756AA39C 026D930A 9C0906A9 EB0E363F 72076785 05005713 95BF4A82 E2B87A14 7BB12BAE 0CB61B38 92D28E9B E5D5BE0D 7CDCEFB7 0BDBDF21 86D3D2D4 F1D4E242 68DDB3F8 1FDA836E 81BE16CD F6B9265B 6FB077E1 18B74777 88085AE6 FF0F6A70 66063BCA 11010B5C 8F659EFF F862AE69 616BFFD3 166CCF45 A00AE278 D70DD2EE 4E048354 3903B3C2 A7672661 D06016F7 4969474D 3E6E77DB AED16A4A D9D65ADC 40DF0B66 37D83BF0 A9BCAE53 DEBB9EC5 47B2CF7F 30B5FFE9 BDBDF21C CABAC28A 53B39330 24B4A3A6 BAD03605 CDD70693 54DE5729 23D967BF B3667A2E C4614AB8 5D681B02 2A6F2B94 B40BBE37 C30C8EA1 5A05DF1B 2D02EF8D".substr(9*i,8),e++;return(r^=-1)<0&&(r+=4294967296),r},ot.prototype.resourceType=function(t){return this.options.resourceType=t,this},ot.prototype.type=function(t){return this.options.type=t,this},ot.prototype.publicId=function(t){return this.options.publicId=t,this},ot.prototype.getPublicId=function(){var t;return null!=(t=this.options.publicId)?t.replace(/\//g,":"):void 0},ot.prototype.getFullPublicId=function(){return null!=this.options.format?this.getPublicId()+"."+this.options.format:this.getPublicId()},ot.prototype.format=function(t){return this.options.format=t,this},ot.prototype.toString=function(){var t=[];if(null==this.options.publicId)throw"Must supply publicId";return"image"!==this.options.resourceType&&t.push(this.options.resourceType),"upload"!==this.options.type&&t.push(this.options.type),t.push(this.getFullPublicId()),m.compact(t).join(":")},extend(st,b=ot),st.prototype.url=function(t){return this.options.url=t,this},st.prototype.toString=function(){return"fetch:"+A.Util.base64EncodeURL(this.options.url)},n=st,extend(ut,b),ut.prototype.resourceType=function(t){throw"Cannot modify resourceType for text layers"},ut.prototype.type=function(t){throw"Cannot modify type for text layers"},ut.prototype.format=function(t){throw"Cannot modify format for text layers"},ut.prototype.fontFamily=function(t){return this.options.fontFamily=t,this},ut.prototype.fontSize=function(t){return this.options.fontSize=t,this},ut.prototype.fontWeight=function(t){return this.options.fontWeight=t,this},ut.prototype.fontStyle=function(t){return this.options.fontStyle=t,this},ut.prototype.textDecoration=function(t){return this.options.textDecoration=t,this},ut.prototype.textAlign=function(t){return this.options.textAlign=t,this},ut.prototype.stroke=function(t){return this.options.stroke=t,this},ut.prototype.letterSpacing=function(t){return this.options.letterSpacing=t,this},ut.prototype.lineSpacing=function(t){return this.options.lineSpacing=t,this},ut.prototype.text=function(t){return this.options.text=t,this},ut.prototype.toString=function(){var t,e,n,i,r,o,s,u,a=this.textStyleIdentifier();if(null!=this.options.publicId&&(n=this.getFullPublicId()),null!=this.options.text){if(t=!m.isEmpty(n),e=!m.isEmpty(a),t&&e||!t&&!e)throw"Must supply either style parameters or a public_id when providing text parameter in a text overlay/underlay, but not both!";for(i=/\$\([a-zA-Z]\w*\)/g,o=0,u=m.smartEscape(this.options.text,/[,\/]/g),s="";r=i.exec(u);)s+=m.smartEscape(u.slice(o,r.index)),s+=r[0],o=r.index+r[0].length;s+=m.smartEscape(u.slice(o))}return n=[this.options.resourceType,a,n,s],m.compact(n).join(":")},ut.prototype.textStyleIdentifier=function(){var t=[];if("normal"!==this.options.fontWeight&&t.push(this.options.fontWeight),"normal"!==this.options.fontStyle&&t.push(this.options.fontStyle),"none"!==this.options.textDecoration&&t.push(this.options.textDecoration),t.push(this.options.textAlign),"none"!==this.options.stroke&&t.push(this.options.stroke),m.isEmpty(this.options.letterSpacing)&&!m.isNumberLike(this.options.letterSpacing)||t.push("letter_spacing_"+this.options.letterSpacing),m.isEmpty(this.options.lineSpacing)&&!m.isNumberLike(this.options.lineSpacing)||t.push("line_spacing_"+this.options.lineSpacing),!m.isEmpty(m.compact(t))){if(m.isEmpty(this.options.fontFamily))throw"Must supply fontFamily. "+t;if(m.isEmpty(this.options.fontSize)&&!m.isNumberLike(this.options.fontSize))throw"Must supply fontSize."}return t.unshift(this.options.fontFamily,this.options.fontSize),t=m.compact(t).join("_")},extend(at,w=ut),O=at,lt.prototype.set=function(t){return this.origValue=t,this},lt.prototype.serialize=function(){var t=this.value(),e=A.Util.isArray(t)||A.Util.isPlainObject(t)||A.Util.isString(t)?!A.Util.isEmpty(t):null!=t;return null!=this.shortName&&e?this.shortName+"_"+t:""},lt.prototype.value=function(){return this.process(this.origValue)},lt.norm_color=function(t){return null!=t?t.replace(/^#/,"rgb:"):void 0},lt.prototype.build_array=function(t){return A.Util.isArray(t=null==t?[]:t)?t:[t]},lt.process_video_params=function(t){var e;switch(t.constructor){case Object:return e="","codec"in t&&(e=t.codec,"profile"in t&&(e+=":"+t.profile,"level"in t&&(e+=":"+t.level))),e;case String:return t;default:return null}},extend(pt,o=lt),pt.prototype.serialize=function(){var i,t,r;return null!=this.shortName?(i=this.value(),A.Util.isEmpty(i)?"":A.Util.isString(i)?this.shortName+"_"+i:(t=function(){for(var t=[],e=0,n=i.length;e<n;e++)r=i[e],A.Util.isFunction(r.serialize)?t.push(r.serialize()):t.push(r);return t}(),this.shortName+"_"+t.join(this.sep))):""},pt.prototype.value=function(){var t,e,n,i,r;if(A.Util.isArray(this.origValue)){for(i=[],t=0,e=(n=this.origValue).length;t<e;t++)r=n[t],i.push(this.process(r));return i}return this.process(this.origValue)},pt.prototype.set=function(t){return null==t||A.Util.isArray(t)?pt.__super__.set.call(this,t):pt.__super__.set.call(this,[t])},s=pt,extend(ct,o),ct.prototype.serialize=function(){var t,r;return A.Util.isEmpty(this.value())?"":A.Util.allStrings(this.value())?(t=this.value().join(this.sep),A.Util.isEmpty(t)?"":this.shortName+"_"+t):(t=function(){for(var t=this.value(),e=[],n=0,i=t.length;n<i;n++)null!=(r=t[n])&&(A.Util.isString(r)&&!A.Util.isEmpty(r)?e.push(this.shortName+"_"+r):A.Util.isFunction(r.serialize)?e.push(r.serialize()):A.Util.isPlainObject(r)&&!A.Util.isEmpty(r)?e.push(new h(r).serialize()):e.push(void 0));return e}.call(this),A.Util.compact(t))},ct.prototype.set=function(t){return this.origValue=t,A.Util.isArray(this.origValue)?ct.__super__.set.call(this,this.origValue):ct.__super__.set.call(this,[this.origValue])},d=ct,extend(ht,o),ht.norm_range_value=function(t){var e,n=String(t).match(new RegExp("^"+offset_any_pattern+"$"));return n&&(e=null!=n[5]?"p":"",t=(n[1]||n[4])+e),t},p=ht,extend(ft,o),ft.prototype.serialize=function(){return this.value()},c=ft,extend(dt,o),dt.prototype.value=function(){var t=this.origValue,t=A.Util.isPlainObject(t)?new("text"===(t=m.withCamelCaseKeys(t)).resourceType||null!=t.text?A.TextLayer:"subtitles"===t.resourceType?A.SubtitlesLayer:"fetch"===t.resourceType||null!=t.url?A.FetchLayer:A.Layer)(t).toString():/^fetch:.+/.test(t)?new n(t.substr(6)).toString():t;return t},dt.prototype.textStyle=function(t){return new A.TextLayer(t).textStyleIdentifier()},r=dt,extend(yt,o),yt.prototype.serialize=function(){return f.normalize(yt.__super__.serialize.call(this))},X=yt,(k={}).Param=o,k.ArrayParam=s,k.RangeParam=p,k.RawParam=c,k.TransformationParam=d,k.LayerParam=r,k.ExpressionParam=X,mt.OPERATORS={"=":"eq","!=":"ne","<":"lt",">":"gt","<=":"lte",">=":"gte","&&":"and","||":"or","*":"mul","/":"div","+":"add","-":"sub"},mt.PREDEFINED_VARS={aspect_ratio:"ar",aspectRatio:"ar",current_page:"cp",currentPage:"cp",face_count:"fc",faceCount:"fc",height:"h",initial_aspect_ratio:"iar",initial_height:"ih",initial_width:"iw",initialAspectRatio:"iar",initialHeight:"ih",initialWidth:"iw",page_count:"pc",page_x:"px",page_y:"py",pageCount:"pc",pageX:"px",pageY:"py",tags:"tags",width:"w"},mt.BOUNDRY="[ _]+",mt.new=function(t){return new this(t)},mt.normalize=function(t){var e;return null==t?t:(t=String(t),e="((\\|\\||>=|<=|&&|!=|>|=|<|/|-|\\+|\\*)(?=[ _])|"+Object.keys(mt.PREDEFINED_VARS).join("|")+")",e=new RegExp(e,"g"),(t=t.replace(e,function(t){return mt.OPERATORS[t]||mt.PREDEFINED_VARS[t]})).replace(/[ _]+/g,"_"))},mt.prototype.serialize=function(){return mt.normalize(this.expressions.join("_"))},mt.prototype.toString=function(){return this.serialize()},mt.prototype.getParent=function(){return this.parent},mt.prototype.setParent=function(t){return this.parent=t,this},mt.prototype.predicate=function(t,e,n){return null!=mt.OPERATORS[e]&&(e=mt.OPERATORS[e]),this.expressions.push(t+"_"+e+"_"+n),this},mt.prototype.and=function(){return this.expressions.push("and"),this},mt.prototype.or=function(){return this.expressions.push("or"),this},mt.prototype.then=function(){return this.getParent().if(this.toString())},mt.prototype.height=function(t,e){return this.predicate("h",t,e)},mt.prototype.width=function(t,e){return this.predicate("w",t,e)},mt.prototype.aspectRatio=function(t,e){return this.predicate("ar",t,e)},mt.prototype.pageCount=function(t,e){return this.predicate("pc",t,e)},mt.prototype.faceCount=function(t,e){return this.predicate("fc",t,e)},mt.prototype.value=function(t){return this.expressions.push(t),this},mt.variable=function(t,e){return new this(t).value(e)},mt.width=function(){return new this("width")},mt.height=function(){return new this("height")},mt.initialWidth=function(){return new this("initialWidth")},mt.initialHeight=function(){return new this("initialHeight")},mt.aspectRatio=function(){return new this("aspectRatio")},mt.initialAspectRatio=function(){return new this("initialAspectRatio")},mt.pageCount=function(){return new this("pageCount")},mt.currentPage=function(){return new this("currentPage")},mt.tags=function(){return new this("tags")},mt.pageX=function(){return new this("pageX")},mt.pageY=function(){return new this("pageY")},extend(gt,f=mt),gt.prototype.height=function(t,e){return this.predicate("h",t,e)},gt.prototype.width=function(t,e){return this.predicate("w",t,e)},gt.prototype.aspectRatio=function(t,e){return this.predicate("ar",t,e)},gt.prototype.pageCount=function(t,e){return this.predicate("pc",t,e)},gt.prototype.faceCount=function(t,e){return this.predicate("fc",t,e)},u=gt,U={responsive_class:"cld-responsive",responsive_use_breakpoints:!0,round_dpr:!0,secure:"https:"===("undefined"!=typeof window&&null!==window&&null!=(V=window.location)?V.protocol:void 0)},_t.CONFIG_PARAMS=["api_key","api_secret","callback","cdn_subdomain","cloud_name","cname","private_cdn","protocol","resource_type","responsive","responsive_class","responsive_use_breakpoints","responsive_width","round_dpr","secure","secure_cdn_subdomain","secure_distribution","shorten","type","upload_preset","url_suffix","use_root_path","version"],_t.prototype.init=function(){return this.fromEnvironment(),this.fromDocument(),this},_t.prototype.set=function(t,e){return this.configuration[t]=e,this},_t.prototype.get=function(t){return this.configuration[t]},_t.prototype.merge=function(t){return m.assign(this.configuration,m.cloneDeep(t=null==t?{}:t)),this},_t.prototype.fromDocument=function(){var t,e,n,i="undefined"!=typeof document&&null!==document?document.querySelectorAll('meta[name^="cloudinary_"]'):void 0;if(i)for(e=0,n=i.length;e<n;e++)t=i[e],this.configuration[t.getAttribute("name").replace("cloudinary_","")]=t.getAttribute("content");return this},_t.prototype.fromEnvironment=function(){var t,e,n,i,r,o,s,u="undefined"!=typeof process&&null!==process&&null!=(u=process.env)?u.CLOUDINARY_URL:void 0;if(null!=u&&(o=/cloudinary:\/\/(?:(\w+)(?:\:([\w-]+))?@)?([\w\.-]+)(?:\/([^?]*))?(?:\?(.+))?/.exec(u))&&(null!=o[3]&&(this.configuration.cloud_name=o[3]),null!=o[1]&&(this.configuration.api_key=o[1]),null!=o[2]&&(this.configuration.api_secret=o[2]),null!=o[4]&&(this.configuration.private_cdn=null!=o[4]),null!=o[4]&&(this.configuration.secure_distribution=o[4]),null!=(i=o[5])))for(t=0,n=(r=i.split("&")).length;t<n;t++)e=(s=r[t].split("="))[0],null==(s=s[1])&&(s=!0),this.configuration[e]=s;return this},_t.prototype.config=function(t,e){switch(!1){case void 0===e:return this.set(t,e),this.configuration;case!m.isString(t):return this.get(t);case!m.isPlainObject(t):return this.merge(t),this.configuration;default:return this.configuration}},_t.prototype.toOptions=function(){return m.cloneDeep(this.configuration)},e=_t,N=/^\$[a-zA-Z0-9]+$/,vt.prototype.trans_separator="/",vt.prototype.param_separator=",",L=function(t){t=null!=t?t[t.length-1]:void 0;if(m.isFunction(t))return t},vt.prototype.fromOptions=function(t){var e,n;if(t instanceof vt)this.fromTransformation(t);else for(e in(m.isString(t=t||{})||m.isArray(t))&&(t={transformation:t}),(t=m.cloneDeep(t,function(t){if(t instanceof vt)return new t.constructor(t.toOptions())})).if&&(this.set("if",t.if),delete t.if),t)n=t[e],e.match(N)?"$attr"!==e&&this.set("variable",e,n):this.set(e,n);return this},vt.prototype.fromTransformation=function(t){var e,n,i,r;if(t instanceof vt)for(e=0,i=(r=t.keys()).length;e<i;e++)n=r[e],this.set(n,t.get(n).origValue);return this},vt.prototype.set=function(){var t=arguments[0],e=2<=arguments.length?slice.call(arguments,1):[],n=m.camelCase(t);return m.contains(h.methods,n)?this[n].apply(this,e):this.otherOptions[t]=e[0],this},vt.prototype.hasLayer=function(){return this.getValue("overlay")||this.getValue("underlay")},vt.prototype.serialize=function(){var t,e,n,i,r,o,s,u,a=function(){for(var t=this.chained,e=[],n=0,i=t.length;n<i;n++)r=t[n],e.push(r.serialize());return e}.call(this),l=this.keys(),p=null!=(c=this.get("transformation"))?c.serialize():void 0,c=null!=(h=this.get("if"))?h.serialize():void 0,h=M(null!=(h=this.get("variables"))?h.value():void 0);for(l=m.difference(l,["transformation","if","variables"]),u=[],o=[],t=0,e=l.length;t<e;t++)(i=l[t]).match(N)?u.push(i+"_"+f.normalize(null!=(n=this.get(i))?n.value():void 0)):o.push(null!=(i=this.get(i))?i.serialize():void 0);switch(!1){case!m.isString(p):o.push(p);break;case!m.isArray(p):a=a.concat(p)}return o=function(){for(var t=[],e=0,n=o.length;e<n;e++)s=o[e],(m.isArray(s)&&!m.isEmpty(s)||!m.isArray(s)&&s)&&t.push(s);return t}(),o=u.sort().concat(h).concat(o.sort()),"if_end"===c?o.push(c):m.isEmpty(c)||o.unshift(c),c=m.compact(o).join(this.param_separator),m.isEmpty(c)||a.push(c),m.compact(a).join(this.trans_separator)},vt.prototype.listNames=function(){return h.methods},vt.prototype.toHtmlAttributes=function(){var t,e,n,i,r,o,s={},u=this.otherOptions;for(e in u)o=u[e],m.contains(h.PARAM_NAMES,m.snakeCase(e))||(s[/^html_/.test(e)?e.slice(5):e]=o);for(t=0,n=(i=this.keys()).length;t<n;t++)e=i[t],/^html_/.test(e)&&(s[m.camelCase(e.slice(5))]=this.getValue(e));return this.hasLayer()||this.getValue("angle")||m.contains(["fit","limit","lfill"],this.getValue("crop"))||(j=null!=(r=this.get("width"))?r.origValue:void 0,r=null!=(r=this.get("height"))?r.origValue:void 0,1<=parseFloat(j)&&null==s.width&&(s.width=j),1<=parseFloat(r)&&null==s.height&&(s.height=r)),s},vt.prototype.isValidParamName=function(t){return 0<=h.methods.indexOf(m.camelCase(t))},vt.prototype.toHtml=function(){var t;return null!=(t=this.getParent())&&"function"==typeof t.toHtml?t.toHtml():void 0},vt.prototype.toString=function(){return this.serialize()},M=function(t){var e,n,i,r,o;if(m.isArray(t)){for(r=[],e=0,n=t.length;e<n;e++)i=(o=t[e])[0],o=o[1],r.push(i+"_"+f.normalize(o));return r}return t},extend(At,X=vt),At.new=function(t){return new At(t)},At.prototype.angle=function(t){return this.arrayParam(t,"angle","a",".",f.normalize)},At.prototype.audioCodec=function(t){return this.param(t,"audio_codec","ac")},At.prototype.audioFrequency=function(t){return this.param(t,"audio_frequency","af")},At.prototype.aspectRatio=function(t){return this.param(t,"aspect_ratio","ar",f.normalize)},At.prototype.background=function(t){return this.param(t,"background","b",o.norm_color)},At.prototype.bitRate=function(t){return this.param(t,"bit_rate","br")},At.prototype.border=function(t){return this.param(t,"border","bo",function(t){return m.isPlainObject(t)?(t=m.assign({},{color:"black",width:2},t)).width+"px_solid_"+o.norm_color(t.color):t})},At.prototype.color=function(t){return this.param(t,"color","co",o.norm_color)},At.prototype.colorSpace=function(t){return this.param(t,"color_space","cs")},At.prototype.crop=function(t){return this.param(t,"crop","c")},At.prototype.defaultImage=function(t){return this.param(t,"default_image","d")},At.prototype.delay=function(t){return this.param(t,"delay","dl")},At.prototype.density=function(t){return this.param(t,"density","dn")},At.prototype.duration=function(t){return this.rangeParam(t,"duration","du")},At.prototype.dpr=function(t){return this.param(t,"dpr","dpr",function(t){return null!=(t=t.toString())&&t.match(/^\d+$/)?t+".0":f.normalize(t)})},At.prototype.effect=function(t){return this.arrayParam(t,"effect","e",":",f.normalize)},At.prototype.else=function(){return this.if("else")},At.prototype.endIf=function(){return this.if("end")},At.prototype.endOffset=function(t){return this.rangeParam(t,"end_offset","eo")},At.prototype.fallbackContent=function(t){return this.param(t,"fallback_content")},At.prototype.fetchFormat=function(t){return this.param(t,"fetch_format","f")},At.prototype.format=function(t){return this.param(t,"format")},At.prototype.flags=function(t){return this.arrayParam(t,"flags","fl",".")},At.prototype.gravity=function(t){return this.param(t,"gravity","g")},At.prototype.fps=function(t){return this.param(t,"fps","fps",function(t){return!m.isString(t)&&m.isArray(t)?t.join("-"):t})},At.prototype.height=function(t){return this.param(t,"height","h",(e=this,function(){return e.getValue("crop")||e.getValue("overlay")||e.getValue("underlay")?f.normalize(t):null}));var e},At.prototype.htmlHeight=function(t){return this.param(t,"html_height")},At.prototype.htmlWidth=function(t){return this.param(t,"html_width")},At.prototype.if=function(t){var e,n,i,r,o;switch(t=null==t?"":t){case"else":return this.chain(),this.param(t,"if","if");case"end":for(this.chain(),e=i=this.chained.length-1;0<=i&&"end"!==(n=this.chained[e].getValue("if"))&&(null==n||(r=At.new().if(n),this.chained[e].remove("if"),o=this.chained[e],this.chained[e]=At.new().transformation([r,o]),"else"===n));e=i+=-1);return this.param(t,"if","if");case"":return u.new().setParent(this);default:return this.param(t,"if","if",function(t){return u.new(t).toString()})}},At.prototype.keyframeInterval=function(t){return this.param(t,"keyframe_interval","ki")},At.prototype.offset=function(t){var e=m.isFunction(null!=t?t.split:void 0)?t.split(".."):m.isArray(t)?t:[null,null],t=e[0],e=e[1];if(null!=t&&this.startOffset(t),null!=e)return this.endOffset(e)},At.prototype.opacity=function(t){return this.param(t,"opacity","o",f.normalize)},At.prototype.overlay=function(t){return this.layerParam(t,"overlay","l")},At.prototype.page=function(t){return this.param(t,"page","pg")},At.prototype.poster=function(t){return this.param(t,"poster")},At.prototype.prefix=function(t){return this.param(t,"prefix","p")},At.prototype.quality=function(t){return this.param(t,"quality","q",f.normalize)},At.prototype.radius=function(t){return this.param(t,"radius","r",f.normalize)},At.prototype.rawTransformation=function(t){return this.rawParam(t,"raw_transformation")},At.prototype.size=function(t){if(m.isFunction(null!=t?t.split:void 0))return t=t.split("x"),j=t[0],t=t[1],this.width(j),this.height(t)},At.prototype.sourceTypes=function(t){return this.param(t,"source_types")},At.prototype.sourceTransformation=function(t){return this.param(t,"source_transformation")},At.prototype.startOffset=function(t){return this.rangeParam(t,"start_offset","so")},At.prototype.streamingProfile=function(t){return this.param(t,"streaming_profile","sp")},At.prototype.transformation=function(t){return this.transformationParam(t,"transformation","t")},At.prototype.underlay=function(t){return this.layerParam(t,"underlay","u")},At.prototype.variable=function(t,e){return this.param(e,t,t)},At.prototype.variables=function(t){return this.arrayParam(t,"variables")},At.prototype.videoCodec=function(t){return this.param(t,"video_codec","vc",o.process_video_params)},At.prototype.videoSampling=function(t){return this.param(t,"video_sampling","vs")},At.prototype.width=function(t){return this.param(t,"width","w",(e=this,function(){return e.getValue("crop")||e.getValue("overlay")||e.getValue("underlay")?f.normalize(t):null}));var e},At.prototype.x=function(t){return this.param(t,"x","x",f.normalize)},At.prototype.y=function(t){return this.param(t,"y","y",f.normalize)},At.prototype.zoom=function(t){return this.param(t,"zoom","z",f.normalize)},(h=At).methods||(h.methods=m.difference(m.functions(h.prototype),m.functions(X.prototype))),h.PARAM_NAMES||(h.PARAM_NAMES=function(){for(var t=h.methods,e=[],n=0,i=t.length;n<i;n++)x=t[n],e.push(m.snakeCase(x));return e}().concat(e.CONFIG_PARAMS)),Dt.new=function(t,e,n){return new this(t,e,n)},H=function(t,e){if(e)return!0===e?t:t+'="'+e+'"'},Dt.prototype.htmlAttrs=function(e){var n,i;return function(){var t=[];for(n in e)(i=e[n])&&t.push(H(n,i));return t}().sort().join(" ")},Dt.prototype.getOptions=function(){return this.transformation().toOptions()},Dt.prototype.getOption=function(t){return this.transformation().getValue(t)},Dt.prototype.attributes=function(){return this.transformation().toHtmlAttributes()},Dt.prototype.setAttr=function(t,e){return this.transformation().set("html_"+t,e),this},Dt.prototype.getAttr=function(t){return this.attributes()["html_"+t]||this.attributes()[t]},Dt.prototype.removeAttr=function(t){var e;return null!=(e=this.transformation().remove("html_"+t))?e:this.transformation().remove(t)},Dt.prototype.content=function(){return""},Dt.prototype.openTag=function(){return"<"+this.name+" "+this.htmlAttrs(this.attributes())+">"},Dt.prototype.closeTag=function(){return"</"+this.name+">"},Dt.prototype.toHtml=function(){return this.openTag()+this.content()+this.closeTag()},Dt.prototype.toDOM=function(){var t,e,n,i;if(!m.isFunction("undefined"!=typeof document&&null!==document?document.createElement:void 0))throw"Can't create DOM if document is not present!";for(e in t=document.createElement(this.name),n=this.attributes())i=n[e],t[e]=i;return t},Dt.isResponsive=function(t,e){var n=m.getData(t,"src-cache")||m.getData(t,"src");return m.hasClass(t,e)&&/\bw_auto\b/.exec(n)},extend(Ct,y=Dt),Ct.prototype.closeTag=function(){return""},Ct.prototype.attributes=function(){var t=Ct.__super__.attributes.call(this)||[],e=this.getOptions(),e=e.responsive&&!e.client_hints?"data-src":"src";return null==t[e]&&(t[e]=new l(this.getOptions()).url(this.publicId)),t},i=Ct,extend(Et,y),W=["source_types","source_transformation","fallback_content","poster"],q={format:"jpg",resource_type:"video"},Et.prototype.setSourceTransformation=function(t){return this.transformation().sourceTransformation(t),this},Et.prototype.setSourceTypes=function(t){return this.transformation().sourceTypes(t),this},Et.prototype.setPoster=function(t){return this.transformation().poster(t),this},Et.prototype.setFallbackContent=function(t){return this.transformation().fallbackContent(t),this},Et.prototype.content=function(){var i,r,o,s=this.transformation().getValue("source_types"),u=this.transformation().getValue("source_transformation"),t=this.transformation().getValue("fallback_content"),e=m.isArray(s)?(i=new l(this.getOptions()),function(){for(var t=[],e=0,n=s.length;e<n;e++)r=s[e],o=u[r]||{},o=i.url(""+this.publicId,m.defaults({},o,{resource_type:"video",format:r})),r="video/"+("ogv"===r?"ogg":r),t.push("<source "+this.htmlAttrs({src:o,type:r})+">");return t}.call(this)):[];return e.join("")+t},Et.prototype.attributes=function(){var t,e,n,i,r,o=this.getOption("source_types"),s=null!=(r=this.getOption("poster"))?r:{};for(m.isPlainObject(s)&&(B=null!=s.public_id?l.DEFAULT_IMAGE_PARAMS:q,s=new l(this.getOptions()).url(null!=(r=s.public_id)?r:this.publicId,m.defaults({},s,B))),n=0,i=(e=Et.__super__.attributes.call(this)||[]).length;n<i;n++)t=e[n],m.contains(W)||(e=t);return m.isArray(o)||(e.src=new l(this.getOptions()).url(this.publicId,{resource_type:"video",format:o})),null!=s&&(e.poster=s),e},g=Et,extend(Bt,y),Bt.prototype.closeTag=function(){return""},V=Bt,$={format:"jpg",resource_type:"video"},X=["webm","mp4","ogv"],G={"image/upload":"images","image/private":"private_images","image/authenticated":"authenticated_images","raw/upload":"files","video/upload":"videos"},bt.DEFAULT_IMAGE_PARAMS={resource_type:"image",transformation:[],type:"upload"},bt.DEFAULT_VIDEO_PARAMS={fallback_content:"",resource_type:"video",source_transformation:{},source_types:X,transformation:[],type:"upload"},bt.new=function(t){return new this(t)},et=function(t,e,n,i,r){var o,s;if(null==e&&(e="upload"),m.isPlainObject(t=null==t?"image":t)&&(t=(s=t).resource_type,e=s.type,n=s.url_suffix,i=s.use_root_path,r=s.shorten),null==e&&(e="upload"),null!=n&&(t=G[t+"/"+e],(e=null)==t))throw new Error("URL Suffix only supported for "+function(){var t=[];for(o in G)t.push(o);return t}().join(", "));if(i){if(("image"!==t||"upload"!==e)&&"images"!==t)throw new Error("Root path only supported for image/upload");e=t=null}return r&&"image"===t&&"upload"===e&&(t="iu",e=null),[t,e].join("/")},Z=function(t){var e;return t.match(/^https?:\//)||(e=document.location.protocol+"//"+document.location.host,"?"===t[0]?e+=document.location.pathname:"/"!==t[0]&&(e+=document.location.pathname.replace(/\/[^\/]*$/,"/")),t=e+t),t},bt.prototype.url=function(t,e){var n,i,r,o;if(!t)return t;if((e=null==e?{}:e)instanceof h&&(e=e.toOptions()),"fetch"===(e=m.defaults({},e,this.config(),bt.DEFAULT_IMAGE_PARAMS)).type&&(e.fetch_format=e.fetch_format||e.format,t=Z(t)),r=new h(e).serialize(),!e.cloud_name)throw"Unknown cloud_name";if(!(0<=t.search("/"))||t.match(/^v[0-9]+/)||t.match(/^https?:\//)||null!=(i=e.version)&&i.toString()||(e.version=1),t.match(/^https?:/))"upload"===e.type||"asset"===e.type?o=t:t=encodeURIComponent(t).replace(/%3A/g,":").replace(/%2F/g,"/");else{try{t=decodeURIComponent(t)}catch(t){0}if(t=encodeURIComponent(t).replace(/%3A/g,":").replace(/%2F/g,"/"),e.url_suffix){if(e.url_suffix.match(/[\.\/]/))throw"url_suffix should not include . or /";t=t+"/"+e.url_suffix}e.format&&(t=(t=!e.trust_public_id?t.replace(/\.(jpg|png|gif|webp)$/,""):t)+"."+e.format)}return n=J(t,e),i=et(e.resource_type,e.type,e.url_suffix,e.use_root_path,e.shorten),e=e.version?"v"+e.version:"",o||m.compact([n,i,r,e,t]).join("/").replace(/([^:])\/+/g,"$1/")},bt.prototype.video_url=function(t,e){return e=m.assign({resource_type:"video"},e),this.url(t,e)},bt.prototype.video_thumbnail_url=function(t,e){return e=m.assign({},$,e),this.url(t,e)},bt.prototype.transformation_string=function(t){return new h(t).serialize()},bt.prototype.image=function(t,e){var n=this.imageTag(t,e=null==e?{}:e),i=null!=(i=null!=(i=e.client_hints)?i:this.config("client_hints"))&&i;return null!=e.src||i||n.setAttr("src",""),n=n.toDOM(),i||(m.setData(n,"src-cache",this.url(t,e)),this.cloudinary_update(n,e)),n},bt.prototype.imageTag=function(t,e){t=new i(t,this.config());return t.transformation().fromOptions(e),t},bt.prototype.video_thumbnail=function(t,e){return this.image(t,m.merge({},$,e))},bt.prototype.facebook_profile_image=function(t,e){return this.image(t,m.assign({type:"facebook"},e))},bt.prototype.twitter_profile_image=function(t,e){return this.image(t,m.assign({type:"twitter"},e))},bt.prototype.twitter_name_profile_image=function(t,e){return this.image(t,m.assign({type:"twitter_name"},e))},bt.prototype.gravatar_image=function(t,e){return this.image(t,m.assign({type:"gravatar"},e))},bt.prototype.fetch_image=function(t,e){return this.image(t,m.assign({type:"fetch"},e))},bt.prototype.video=function(t,e){return this.videoTag(t,e=null==e?{}:e).toHtml()},bt.prototype.videoTag=function(t,e){return e=m.defaults({},e,this.config()),new g(t,e)},bt.prototype.sprite_css=function(t,e){return e=m.assign({type:"sprite"},e),t.match(/.css$/)||(e.format="css"),this.url(t,e)},bt.prototype.responsive=function(t,e){var o,s,u;if(null==e&&(e=!0),this.responsiveConfig=m.merge(this.responsiveConfig||{},t),o=null!=(t=this.responsiveConfig.responsive_class)?t:this.config("responsive_class"),e&&this.cloudinary_update("img."+o+", img.cld-hidpi",this.responsiveConfig),(null==(e=null!=(e=this.responsiveConfig.responsive_resize)?e:this.config("responsive_resize"))||e)&&!this.responsiveResizeInitialized)return this.responsiveConfig.resizing=this.responsiveResizeInitialized=!0,s=null,window.addEventListener("resize",(u=this,function(){var t,e=null!=(t=null!=(t=u.responsiveConfig.responsive_debounce)?t:u.config("responsive_debounce"))?t:100,n=function(){if(s)return clearTimeout(s),s=null},i=function(){return u.cloudinary_update("img."+o,u.responsiveConfig)},r=function(){return n(),i()};return(e?function(){return n(),s=setTimeout(r,e)}:i)()}))},bt.prototype.calc_stoppoint=bt.prototype.calc_breakpoint=function(t,e,n){var r,o=m.getData(t,"breakpoints")||m.getData(t,"stoppoints")||this.config("breakpoints")||this.config("stoppoints")||tt;return m.isFunction(o)?o(e,n):(m.isString(o)&&(o=function(){for(var t=o.split(","),e=[],n=0,i=t.length;n<i;n++)r=t[n],e.push(parseInt(r));return e}().sort(function(t,e){return t-e})),Q(o,e))},bt.prototype.device_pixel_ratio=function(t){var e;return null==t&&(t=!0),e=("undefined"!=typeof window&&null!==window?window.devicePixelRatio:void 0)||1,(e=(e=(e=t?Math.ceil(e):e)<=0||NaN===e?1:e).toString()).match(/^\d+$/)&&(e+=".0"),e},tt=function(t,e){return(e=null==e?100:e)*Math.ceil(t/e)},Q=function(t,e){for(var n=t.length-2;0<=n&&t[n]>=e;)n--;return t[n+1]},K=function(t){return E(t)%5+1},J=function(t,e){var n,i,r,o,s;return 0===(null!=(o=e.cloud_name)?o.indexOf("/"):void 0)?"/res"+e.cloud_name:(r="http://",n="",s="res",i=".cloudinary.com",o="/"+e.cloud_name,e.protocol&&(r=e.protocol+"//"),e.private_cdn&&(n=e.cloud_name+"-",o=""),e.cdn_subdomain&&(s="res-"+K(t)),e.secure?(!(r="https://")===e.secure_cdn_subdomain&&(s="res"),null!=e.secure_distribution&&"cloudinary-a.akamaihd.net"!==e.secure_distribution&&"res.cloudinary.com"!==e.secure_distribution&&(s=n="",i=e.secure_distribution)):e.cname&&(r="http://",n="",s=e.cdn_subdomain?"a"+(E(t)%5+1)+".":"",i=e.cname),[r,n,s,i,o].join(""))},bt.prototype.processImageTags=function(r,o){var t,s,u,a;return null==o&&(o={}),m.isEmpty(r)||(o=m.defaults({},o,this.config()),t=function(){for(var t,e=[],n=0,i=r.length;n<i;n++)"IMG"===(null!=(t=(u=r[n]).tagName)?t.toUpperCase():void 0)&&(s=m.assign({width:u.getAttribute("width"),height:u.getAttribute("height"),src:u.getAttribute("src")},o),a=s.source||s.src,delete s.source,delete s.src,a=this.url(a,s),s=new h(s).toHtmlAttributes(),m.setData(u,"src-cache",a),u.setAttribute("width",s.width),u.setAttribute("height",s.height),e.push(u));return e}.call(this),this.cloudinary_update(t,o)),this},Y=function(t,e,n,i){var r=null!=(r=null!=(r=null!=(r=i.responsive_use_breakpoints)?r:i.responsive_use_stoppoints)?r:this.config("responsive_use_breakpoints"))?r:this.config("responsive_use_stoppoints");return!r||"resize"===r&&!i.resizing?e:this.calc_breakpoint(t,e,n)},nt=function(t){for(var e,n=0;(t=null!=t?t.parentNode:void 0)instanceof Element&&!n;)e=window.getComputedStyle(t),/^inline/.test(e.display)||(n=m.width(t));return n},rt=function(t,e){return t.replace(/\bdpr_(1\.0|auto)\b/g,"dpr_"+this.device_pixel_ratio(e))},it=function(t,e){m.getData(e,"width");return m.setData(e,"width",t=t),t},bt.prototype.cloudinary_update=function(t,e){var n,i,r,o,s,u,a,l,p,c,h,f,d;if(null===t)return this;for(p=null!=(u=null!=(u=(e=null==e?{}:e).responsive)?u:this.config("responsive"))&&u,t=function(){switch(!1){case!m.isArray(t):case"NodeList"!==t.constructor.name:return t;case!m.isString(t):return document.querySelectorAll(t);default:return[t]}}(),c=null!=(u=null!=(u=this.responsiveConfig.responsive_class)?u:e.responsive_class)?u:this.config("responsive_class"),h=null!=(u=e.round_dpr)?u:this.config("round_dpr"),r=0,o=t.length;r<o;r++)if(null!=(a=(d=t[r]).tagName)&&a.match(/img/i)&&(f=!0,p&&m.addClass(d,c),i=m.getData(d,"src-cache")||m.getData(d,"src"),!m.isEmpty(i))){if(i=rt.call(this,i,h),y.isResponsive(d,c))if(0!==(n=nt(d))){switch(!1){case!/w_auto:breakpoints/.test(i):l=it(n,d),i=i.replace(/w_auto:breakpoints([_0-9]*)(:[0-9]+)?/,"w_auto:breakpoints$1:"+l);break;case!(s=/w_auto(:(\d+))?/.exec(i)):l=Y.call(this,d,n,s[2],e),l=it(l,d),i=i.replace(/w_auto[^,\/]*/g,"w_"+l)}m.removeAttribute(d,"width"),e.responsive_preserve_height||m.removeAttribute(d,"height")}else f=!1;f&&m.setAttribute(d,"src",i)}return this},bt.prototype.transformation=function(t){return h.new(this.config()).fromOptions(t).setParent(this)},extend(wt,l=bt),wt.prototype.image=function(t,e){var n=this.imageTag(t,e=null==e?{}:e),i=null!=(i=null!=(i=e.client_hints)?i:this.config("client_hints"))&&i;return null!=e.src||i||n.setAttr("src",""),n=a(n.toHtml()),i||n.data("src-cache",this.url(t,e)).cloudinary_update(e),n},wt.prototype.responsive=function(t){var e,r,o,s=a.extend({},t),u=null!=(t=this.responsiveConfig.responsive_class)?t:this.config("responsive_class");if(a("img."+u+", img.cld-hidpi").cloudinary_update(s),(null==(t=null!=(t=s.responsive_resize)?t:this.config("responsive_resize"))||t)&&!e)return s.resizing=e=!0,r=null,a(window).on("resize",(o=this,function(){var t,e=null!=(t=null!=(t=s.responsive_debounce)?t:o.config("responsive_debounce"))?t:100,n=function(){if(r)return clearTimeout(r),r=null},i=function(){return a("img."+u).cloudinary_update(s)};return(e?function(){return n(),setTimeout(function(){return n(),i()},e)}:i)()}))},X=wt,a.fn.cloudinary=function(n){return this.filter("img").each(function(){var t=a.extend({width:a(this).attr("width"),height:a(this).attr("height"),src:a(this).attr("src")},a(this).data(),n),e=t.source||t.src;return delete t.source,delete t.src,e=a.cloudinary.url(e,t),t=new h(t).toHtmlAttributes(),a(this).data("src-cache",e).attr({width:t.width,height:t.height})}).cloudinary_update(n),this},a.fn.cloudinary_update=function(t){return null==t&&(t={}),a.cloudinary.cloudinary_update(this.filter("img").toArray(),t),this},T=null,a.fn.webpify=function(t,e){var n,i;return null==t&&(t={}),n=this,e=null!=e?e:t,T||(T=a.Deferred(),(i=new Image).onerror=T.reject,i.onload=T.resolve,i.src="data:image/webp;base64,UklGRi4AAABXRUJQVlA4TCEAAAAvAUAAEB8wAiMwAgSSNtse/cXjxyCCmrYNWPwmHRH9jwMA"),a(function(){return T.done(function(){return a(n).cloudinary(a.extend({},e,{format:"webp"}))}).fail(function(){return a(n).cloudinary(t)})}),this},a.fn.fetchify=function(t){return this.cloudinary(a.extend(t,{type:"fetch"}))},a.cloudinary=new X,a.cloudinary.fromDocument(),X.prototype.delete_by_token=function(t,e){var n=(n=(e=e||{}).url)||"https://api.cloudinary.com/v1_1/"+(e.cloud_name||a.cloudinary.config().cloud_name)+"/delete_by_token",e=a.support.xhrFileUpload?"json":"iframe json";return a.ajax({url:n,method:"POST",data:{token:t},headers:{"X-Requested-With":"XMLHttpRequest"},dataType:e})},X.prototype.unsigned_upload_tag=function(t,e,n){return a("<input/>").attr({type:"file",name:"file"}).unsigned_cloudinary_upload(t,e,n)},a.fn.cloudinary_fileupload=function(t){var e,n;return m.isFunction(a.fn.fileupload)&&((n=!this.data("blueimpFileupload"))&&(t=a.extend({maxFileSize:2e7,dataType:"json",headers:{"X-Requested-With":"XMLHttpRequest"}},t)),this.fileupload(t),n&&(this.bind("fileuploaddone",function(t,e){var n,i,r;if(!e.result.error)return e.result.path=["v",e.result.version,"/",e.result.public_id,e.result.format?"."+e.result.format:""].join(""),e.cloudinaryField&&0<e.form.length&&(r=[e.result.resource_type,e.result.type,e.result.path].join("/")+"#"+e.result.signature,n=function(){return a("<input/>").attr({type:"hidden",name:e.cloudinaryField}).val(r).appendTo(e.form)},!a(t.target).prop("multiple")&&0<(i=a(e.form).find('input[name="'+e.cloudinaryField+'"]')).length?i.val(r):n()),a(t.target).trigger("cloudinarydone",e)}),this.bind("fileuploadsend",function(t,e){return e.headers=a.extend({},e.headers,{"X-Unique-Upload-Id":(1e10*Math.random()).toString(16)}),!0}),this.bind("fileuploadstart",function(t){return a(t.target).trigger("cloudinarystart")}),this.bind("fileuploadstop",function(t){return a(t.target).trigger("cloudinarystop")}),this.bind("fileuploadprogress",function(t,e){return a(t.target).trigger("cloudinaryprogress",e)}),this.bind("fileuploadprogressall",function(t,e){return a(t.target).trigger("cloudinaryprogressall",e)}),this.bind("fileuploadfail",function(t,e){return a(t.target).trigger("cloudinaryfail",e)}),this.bind("fileuploadalways",function(t,e){return a(t.target).trigger("cloudinaryalways",e)}),this.fileupload("option").url||(e=t.cloud_name||a.cloudinary.config().cloud_name,n=t.resource_type||"auto",t=t.type||"upload",this.fileupload("option","url","https://api.cloudinary.com/v1_1/"+e+"/"+n+"/"+t)))),this},a.fn.cloudinary_upload_url=function(t){return m.isFunction(a.fn.fileupload)&&(this.fileupload("option","formData").file=t,this.fileupload("add",{files:[t]}),delete this.fileupload("option","formData").file),this},a.fn.unsigned_cloudinary_upload=function(t,e,n){var i,r,o,s,u;for(null==n&&(n={}),e=m.cloneDeep(e=null==e?{}:e),n=m.cloneDeep(n),r=["cloud_name","resource_type","type"],o=0;o<r.length;)e[i=r[o]]&&(n[i]=e[i],delete e[i]),o++;for(s in e)u=e[s],m.isPlainObject(u)?e[s]=a.map(u,function(t,e){return e+"="+(t=m.isString(t)?t.replace(/[\|=]/g,"\\$&"):t)}).join("|"):m.isArray(u)&&(0<u.length&&a.isArray(u[0])?e[s]=a.map(u,function(t){return t.join(",")}).join("|"):e[s]=u.join(","));return e.callback||(e.callback="/cloudinary_cors.html"),e.upload_preset=t,n.formData=e,n.cloudinary_field&&(n.cloudinaryField=n.cloudinary_field,delete n.cloudinary_field),(t=n.html||{}).class=m.trim("cloudinary_fileupload "+(t.class||"")),n.multiple&&(t.multiple=!0),this.attr(t).cloudinary_fileupload(n),this},a.cloudinary=new X,A={utf8_encode:R,crc32:E,Util:m,Condition:u,Transformation:h,Configuration:e,HtmlTag:y,ImageTag:i,VideoTag:g,ClientHintsMetaTag:V,Layer:b,FetchLayer:n,TextLayer:w,SubtitlesLayer:O,Cloudinary:l,VERSION:"2.5.0",CloudinaryJQuery:X}}); /**! * @fileOverview Kickass library to create and place poppers near their reference elements. * @version 1.14.3 * @license * Copyright (c) 2016 Federico Zivolo and contributors * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell * copies of the Software, and to permit persons to whom the Software is * furnished to do so, subject to the following conditions: * * The above copyright notice and this permission notice shall be included in all * copies or substantial portions of the Software. * * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * SOFTWARE. */ !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):e.Popper=t()}(this,function(){"use strict";for(var e="undefined"!=typeof window&&"undefined"!=typeof document,t=["Edge","Trident","Firefox"],n=0,o=0;o<t.length;o+=1)if(e&&0<=navigator.userAgent.indexOf(t[o])){n=1;break}var r=e&&window.Promise?function(e){var t=!1;return function(){t||(t=!0,window.Promise.resolve().then(function(){t=!1,e()}))}}:function(e){var t=!1;return function(){t||(t=!0,setTimeout(function(){t=!1,e()},n))}};function i(e){return e&&"[object Function]"==={}.toString.call(e)}function d(e,t){if(1!==e.nodeType)return[];e=getComputedStyle(e,null);return t?e[t]:e}function f(e){return"HTML"===e.nodeName?e:e.parentNode||e.host}function l(e){if(!e)return document.body;switch(e.nodeName){case"HTML":case"BODY":return e.ownerDocument.body;case"#document":return e.body}var t=d(e),n=t.overflow,o=t.overflowX,t=t.overflowY;return/(auto|scroll|overlay)/.test(n+t+o)?e:l(f(e))}var s=e&&!(!window.MSInputMethodContext||!document.documentMode),a=e&&/MSIE 10/.test(navigator.userAgent);function u(e){return 11===e?s:10!==e&&s||a}function c(e){if(!e)return document.documentElement;for(var t=u(10)?document.body:null,n=e.offsetParent;n===t&&e.nextElementSibling;)n=(e=e.nextElementSibling).offsetParent;var o=n&&n.nodeName;return o&&"BODY"!==o&&"HTML"!==o?-1!==["TD","TABLE"].indexOf(n.nodeName)&&"static"===d(n,"position")?c(n):n:(e?e.ownerDocument:document).documentElement}function p(e){return null!==e.parentNode?p(e.parentNode):e}function h(e,t){if(!(e&&e.nodeType&&t&&t.nodeType))return document.documentElement;var n=e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_FOLLOWING,o=n?e:t,r=n?t:e,n=document.createRange();n.setStart(o,0),n.setEnd(r,0);n=n.commonAncestorContainer;if(e!==n&&t!==n||o.contains(r))return"BODY"===(r=(o=n).nodeName)||"HTML"!==r&&c(o.firstElementChild)!==o?c(n):n;n=p(e);return n.host?h(n.host,t):h(e,p(t).host)}function m(e,t){var n="top"===(1<arguments.length&&void 0!==t?t:"top")?"scrollTop":"scrollLeft",t=e.nodeName;if("BODY"!==t&&"HTML"!==t)return e[n];t=e.ownerDocument.documentElement;return(e.ownerDocument.scrollingElement||t)[n]}function g(e,t){var n="x"===t?"Left":"Top",t="Left"==n?"Right":"Bottom";return parseFloat(e["border"+n+"Width"],10)+parseFloat(e["border"+t+"Width"],10)}function v(e,t,n,o){return Math.max(t["offset"+e],t["scroll"+e],n["client"+e],n["offset"+e],n["scroll"+e],u(10)?n["offset"+e]+o["margin"+("Height"===e?"Top":"Left")]+o["margin"+("Height"===e?"Bottom":"Right")]:0)}function b(){var e=document.body,t=document.documentElement,n=u(10)&&getComputedStyle(t);return{height:v("Height",e,t,n),width:v("Width",e,t,n)}}var w=function(e,t,n){return t&&y(e.prototype,t),n&&y(e,n),e};function y(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function x(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var E=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n,o=arguments[t];for(n in o)Object.prototype.hasOwnProperty.call(o,n)&&(e[n]=o[n])}return e};function O(e){return E({},e,{right:e.left+e.width,bottom:e.top+e.height})}function L(e){var t={};try{u(10)?(t=e.getBoundingClientRect(),n=m(e,"top"),o=m(e,"left"),t.top+=n,t.left+=o,t.bottom+=n,t.right+=o):t=e.getBoundingClientRect()}catch(e){}var n={left:t.left,top:t.top,width:t.right-t.left,height:t.bottom-t.top},o="HTML"===e.nodeName?b():{},t=o.width||e.clientWidth||n.right-n.left,o=o.height||e.clientHeight||n.bottom-n.top,t=e.offsetWidth-t,o=e.offsetHeight-o;return(t||o)&&(t-=g(e=d(e),"x"),o-=g(e,"y"),n.width-=t,n.height-=o),O(n)}function M(e,t,n){var o=2<arguments.length&&void 0!==n&&n,r=u(10),i="HTML"===t.nodeName,s=L(e),a=L(t),f=l(e),p=d(t),n=parseFloat(p.borderTopWidth,10),e=parseFloat(p.borderLeftWidth,10);o&&"HTML"===t.nodeName&&(a.top=Math.max(a.top,0),a.left=Math.max(a.left,0));s=O({top:s.top-a.top-n,left:s.left-a.left-e,width:s.width,height:s.height});return s.marginTop=0,s.marginLeft=0,!r&&i&&(i=parseFloat(p.marginTop,10),p=parseFloat(p.marginLeft,10),s.top-=n-i,s.bottom-=n-i,s.left-=e-p,s.right-=e-p,s.marginTop=i,s.marginLeft=p),s=(r&&!o?t.contains(f):t===f&&"BODY"!==f.nodeName)?function(e,t,n){var o=2<arguments.length&&void 0!==n&&n,n=m(t,"top"),t=m(t,"left"),o=o?-1:1;return e.top+=n*o,e.bottom+=n*o,e.left+=t*o,e.right+=t*o,e}(s,t):s}function T(e){if(!e||!e.parentElement||u())return document.documentElement;for(var t=e.parentElement;t&&"none"===d(t,"transform");)t=t.parentElement;return t||document.documentElement}function D(e,t,n,o,r){var i=4<arguments.length&&void 0!==r&&r,s={top:0,left:0},a=i?T(e):h(e,t);return"viewport"===o?s=function(e,t){var n=1<arguments.length&&void 0!==t&&t,o=e.ownerDocument.documentElement,r=M(e,o),i=Math.max(o.clientWidth,window.innerWidth||0),t=Math.max(o.clientHeight,window.innerHeight||0),e=n?0:m(o),o=n?0:m(o,"left");return O({top:e-r.top+r.marginTop,left:o-r.left+r.marginLeft,width:i,height:t})}(a,i):(r=void 0,"scrollParent"===o?"BODY"===(r=l(f(t))).nodeName&&(r=e.ownerDocument.documentElement):r="window"===o?e.ownerDocument.documentElement:o,i=M(r,a,i),"HTML"!==r.nodeName||function e(t){var n=t.nodeName;return"BODY"!==n&&"HTML"!==n&&("fixed"===d(t,"position")||e(f(t)))}(a)?s=i:(a=(r=b()).height,r=r.width,s.top+=i.top-i.marginTop,s.bottom=a+i.top,s.left+=i.left-i.marginLeft,s.right=r+i.left)),s.left+=n,s.top+=n,s.right-=n,s.bottom-=n,s}function N(e,t,n,o,r,i){i=5<arguments.length&&void 0!==i?i:0;if(-1===e.indexOf("auto"))return e;var r=D(n,o,i,r),s={top:{width:r.width,height:t.top-r.top},right:{width:r.right-t.right,height:r.height},bottom:{width:r.width,height:r.bottom-t.bottom},left:{width:t.left-r.left,height:r.height}},t=Object.keys(s).map(function(e){return E({key:e},s[e],{area:(e=s[e]).width*e.height})}).sort(function(e,t){return t.area-e.area}),r=t.filter(function(e){var t=e.width,e=e.height;return t>=n.clientWidth&&e>=n.clientHeight}),t=(0<r.length?r:t)[0].key,e=e.split("-")[1];return t+(e?"-"+e:"")}function F(e,t,n,o){o=3<arguments.length&&void 0!==o?o:null;return M(n,o?T(t):h(t,n),o)}function k(e){var t=getComputedStyle(e),n=parseFloat(t.marginTop)+parseFloat(t.marginBottom),t=parseFloat(t.marginLeft)+parseFloat(t.marginRight);return{width:e.offsetWidth+t,height:e.offsetHeight+n}}function C(e){var t={left:"right",right:"left",bottom:"top",top:"bottom"};return e.replace(/left|right|bottom|top/g,function(e){return t[e]})}function H(e,t,n){n=n.split("-")[0];var o=k(e),r={width:o.width,height:o.height},i=-1!==["right","left"].indexOf(n),s=i?"top":"left",a=i?"left":"top",e=i?"height":"width",i=i?"width":"height";return r[s]=t[s]+t[e]/2-o[e]/2,r[a]=n===a?t[a]-o[i]:t[C(a)],r}function S(e,t){return Array.prototype.find?e.find(t):e.filter(t)[0]}function A(e,n,t){return(void 0===t?e:e.slice(0,function(e,t,n){if(Array.prototype.findIndex)return e.findIndex(function(e){return e[t]===n});var o=S(e,function(e){return e[t]===n});return e.indexOf(o)}(e,"name",t))).forEach(function(e){e.function&&console.warn("`modifier.function` is deprecated, use `modifier.fn`!");var t=e.function||e.fn;e.enabled&&i(t)&&(n.offsets.popper=O(n.offsets.popper),n.offsets.reference=O(n.offsets.reference),n=t(n,e))}),n}function B(e,n){return e.some(function(e){var t=e.name;return e.enabled&&t===n})}function P(e){for(var t=[!1,"ms","Webkit","Moz","O"],n=e.charAt(0).toUpperCase()+e.slice(1),o=0;o<t.length;o++){var r=t[o],r=r?""+r+n:e;if(void 0!==document.body.style[r])return r}return null}function W(e){e=e.ownerDocument;return e?e.defaultView:window}function j(e,t,n,o){n.updateBound=o,W(e).addEventListener("resize",n.updateBound,{passive:!0});e=l(e);return function e(t,n,o,r){var i="BODY"===t.nodeName,t=i?t.ownerDocument.defaultView:t;t.addEventListener(n,o,{passive:!0}),i||e(l(t.parentNode),n,o,r),r.push(t)}(e,"scroll",n.updateBound,n.scrollParents),n.scrollElement=e,n.eventsEnabled=!0,n}function R(){var e,t;this.state.eventsEnabled&&(cancelAnimationFrame(this.scheduleUpdate),this.state=(e=this.reference,t=this.state,W(e).removeEventListener("resize",t.updateBound),t.scrollParents.forEach(function(e){e.removeEventListener("scroll",t.updateBound)}),t.updateBound=null,t.scrollParents=[],t.scrollElement=null,t.eventsEnabled=!1,t))}function I(e){return""!==e&&!isNaN(parseFloat(e))&&isFinite(e)}function U(n,o){Object.keys(o).forEach(function(e){var t="";-1!==["width","height","top","right","bottom","left"].indexOf(e)&&I(o[e])&&(t="px"),n.style[e]=o[e]+t})}function Y(e,t,n){var o=S(e,function(e){return e.name===t}),r=!!o&&e.some(function(e){return e.name===n&&e.enabled&&e.order<o.order});return r||(e="`"+t+"`",console.warn("`"+n+"`"+" modifier is required by "+e+" modifier in order to work, be sure to include it before "+e+"!")),r}var q=["auto-start","auto","auto-end","top-start","top","top-end","right-start","right","right-end","bottom-end","bottom","bottom-start","left-end","left","left-start"],z=q.slice(3);function G(e,t){t=1<arguments.length&&void 0!==t&&t,e=z.indexOf(e),e=z.slice(e+1).concat(z.slice(0,e));return t?e.reverse():e}var V="flip",_="clockwise",X="counterclockwise";function J(e,a,f,t){var r=[0,0],o=-1!==["right","left"].indexOf(t),n=e.split(/(\+|\-)/).map(function(e){return e.trim()}),t=n.indexOf(S(n,function(e){return-1!==e.search(/,|\s/)}));n[t]&&-1===n[t].indexOf(",")&&console.warn("Offsets separated by white space(s) are deprecated, use a comma (,) instead.");e=/\s*,\s*|\s+/;return(-1!==t?[n.slice(0,t).concat([n[t].split(e)[0]]),[n[t].split(e)[1]].concat(n.slice(t+1))]:[n]).map(function(e,t){var s=(1===t?!o:o)?"height":"width",n=!1;return e.reduce(function(e,t){return""===e[e.length-1]&&-1!==["+","-"].indexOf(t)?(e[e.length-1]=t,n=!0,e):n?(e[e.length-1]+=t,n=!1,e):e.concat(t)},[]).map(function(e){return n=s,o=a,r=f,e=+(i=(t=e).match(/((?:\-|\+)?\d*\.?\d*)(.*)/))[1],i=i[2],e?0===i.indexOf("%")?O("%p"===i?o:r)[n]/100*e:"vh"!==i&&"vw"!==i?e:("vh"===i?Math.max(document.documentElement.clientHeight,window.innerHeight||0):Math.max(document.documentElement.clientWidth,window.innerWidth||0))/100*e:t;var t,n,o,r,i})}).forEach(function(n,o){n.forEach(function(e,t){I(e)&&(r[o]+=e*("-"===n[t-1]?-1:1))})}),r}var K={placement:"bottom",positionFixed:!1,eventsEnabled:!0,removeOnDestroy:!1,onCreate:function(){},onUpdate:function(){},modifiers:{shift:{order:100,enabled:!0,fn:function(e){var t,n,o=e.placement,r=o.split("-")[0],i=o.split("-")[1];return i&&(t=(n=e.offsets).reference,o=n.popper,r=(n=-1!==["bottom","top"].indexOf(r))?"width":"height",r={start:x({},n=n?"left":"top",t[n]),end:x({},n,t[n]+t[r]-o[r])},e.offsets.popper=E({},o,r[i])),e}},offset:{order:200,enabled:!0,fn:function(e,t){var n=t.offset,o=e.placement,r=(i=e.offsets).popper,t=i.reference,i=o.split("-")[0],o=void 0,o=I(+n)?[+n,0]:J(n,r,t,i);return"left"===i?(r.top+=o[0],r.left-=o[1]):"right"===i?(r.top+=o[0],r.left+=o[1]):"top"===i?(r.left+=o[0],r.top-=o[1]):"bottom"===i&&(r.left+=o[0],r.top+=o[1]),e.popper=r,e},offset:0},preventOverflow:{order:300,enabled:!0,fn:function(e,o){var t=o.boundariesElement||c(e.instance.popper);e.instance.reference===t&&(t=c(t));var n=P("transform"),r=e.instance.popper.style,i=r.top,s=r.left,a=r[n];r.top="",r.left="",r[n]="";var f=D(e.instance.popper,e.instance.reference,o.padding,t,e.positionFixed);r.top=i,r.left=s,r[n]=a,o.boundaries=f;var a=o.priority,p=e.offsets.popper,l={primary:function(e){var t=p[e];return p[e]<f[e]&&!o.escapeWithReference&&(t=Math.max(p[e],f[e])),x({},e,t)},secondary:function(e){var t="right"===e?"left":"top",n=p[t];return p[e]>f[e]&&!o.escapeWithReference&&(n=Math.min(p[t],f[e]-("right"===e?p.width:p.height))),x({},t,n)}};return a.forEach(function(e){var t=-1!==["left","top"].indexOf(e)?"primary":"secondary";p=E({},p,l[t](e))}),e.offsets.popper=p,e},priority:["left","right","top","bottom"],padding:5,boundariesElement:"scrollParent"},keepTogether:{order:400,enabled:!0,fn:function(e){var t=(i=e.offsets).popper,n=i.reference,o=e.placement.split("-")[0],r=Math.floor,i=(s=-1!==["top","bottom"].indexOf(o))?"right":"bottom",o=s?"left":"top",s=s?"width":"height";return t[i]<r(n[o])&&(e.offsets.popper[o]=r(n[o])-t[s]),t[o]>r(n[i])&&(e.offsets.popper[o]=r(n[i])),e}},arrow:{order:500,enabled:!0,fn:function(e,t){if(!Y(e.instance.modifiers,"arrow","keepTogether"))return e;var n=t.element;if("string"==typeof n){if(!(n=e.instance.popper.querySelector(n)))return e}else if(!e.instance.popper.contains(n))return console.warn("WARNING: `arrow.element` must be child of its popper element!"),e;var o=e.placement.split("-")[0],r=(l=e.offsets).popper,i=l.reference,s=-1!==["left","right"].indexOf(o),a=s?"height":"width",f=s?"Top":"Left",p=f.toLowerCase(),t=s?"left":"top",l=s?"bottom":"right",o=k(n)[a];return i[l]-o<r[p]&&(e.offsets.popper[p]-=r[p]-(i[l]-o)),i[p]+o>r[l]&&(e.offsets.popper[p]+=i[p]+o-r[l]),e.offsets.popper=O(e.offsets.popper),s=i[p]+i[a]/2-o/2,l=d(e.instance.popper),i=parseFloat(l["margin"+f],10),f=parseFloat(l["border"+f+"Width"],10),f=s-e.offsets.popper[p]-i-f,f=Math.max(Math.min(r[a]-o,f),0),e.arrowElement=n,e.offsets.arrow=(x(n={},p,Math.round(f)),x(n,t,""),n),e},element:"[x-arrow]"},flip:{order:600,enabled:!0,fn:function(f,p){if(B(f.instance.modifiers,"inner"))return f;if(f.flipped&&f.placement===f.originalPlacement)return f;var l=D(f.instance.popper,f.instance.reference,p.padding,p.boundariesElement,f.positionFixed),d=f.placement.split("-")[0],u=C(d),c=f.placement.split("-")[1]||"",h=[];switch(p.behavior){case V:h=[d,u];break;case _:h=G(d);break;case X:h=G(d,!0);break;default:h=p.behavior}return h.forEach(function(e,t){if(d!==e||h.length===t+1)return f;d=f.placement.split("-")[0],u=C(d);var n=f.offsets.popper,o=f.offsets.reference,r=Math.floor,i="left"===d&&r(n.right)>r(o.left)||"right"===d&&r(n.left)<r(o.right)||"top"===d&&r(n.bottom)>r(o.top)||"bottom"===d&&r(n.top)<r(o.bottom),s=r(n.left)<r(l.left),a=r(n.right)>r(l.right),e=r(n.top)<r(l.top),o=r(n.bottom)>r(l.bottom),n="left"===d&&s||"right"===d&&a||"top"===d&&e||"bottom"===d&&o,r=-1!==["top","bottom"].indexOf(d),o=!!p.flipVariations&&(r&&"start"===c&&s||r&&"end"===c&&a||!r&&"start"===c&&e||!r&&"end"===c&&o);(i||n||o)&&(f.flipped=!0,(i||n)&&(d=h[t+1]),o&&(c="end"===(o=c)?"start":"start"===o?"end":o),f.placement=d+(c?"-"+c:""),f.offsets.popper=E({},f.offsets.popper,H(f.instance.popper,f.offsets.reference,f.placement)),f=A(f.instance.modifiers,f,"flip"))}),f},behavior:"flip",padding:5,boundariesElement:"viewport"},inner:{order:700,enabled:!1,fn:function(e){var t=e.placement,n=t.split("-")[0],o=(s=e.offsets).popper,r=s.reference,i=-1!==["left","right"].indexOf(n),s=-1===["top","left"].indexOf(n);return o[i?"left":"top"]=r[n]-(s?o[i?"width":"height"]:0),e.placement=C(t),e.offsets.popper=O(o),e}},hide:{order:800,enabled:!0,fn:function(e){if(!Y(e.instance.modifiers,"hide","preventOverflow"))return e;var t=e.offsets.reference,n=S(e.instance.modifiers,function(e){return"preventOverflow"===e.name}).boundaries;if(t.bottom<n.top||t.left>n.right||t.top>n.bottom||t.right<n.left){if(!0===e.hide)return e;e.hide=!0,e.attributes["x-out-of-boundaries"]=""}else{if(!1===e.hide)return e;e.hide=!1,e.attributes["x-out-of-boundaries"]=!1}return e}},computeStyle:{order:850,enabled:!0,fn:function(e,t){var n=t.x,o=t.y,r=e.offsets.popper;void 0!==(p=S(e.instance.modifiers,function(e){return"applyStyle"===e.name}).gpuAcceleration)&&console.warn("WARNING: `gpuAcceleration` option moved to `computeStyle` modifier and will not be supported in future versions of Popper.js!");var i=void 0!==p?p:t.gpuAcceleration,s=L(c(e.instance.popper)),a={position:r.position},f={left:Math.floor(r.left),top:Math.round(r.top),bottom:Math.round(r.bottom),right:Math.floor(r.right)},p="bottom"===n?"top":"bottom",t="right"===o?"left":"right",r=P("transform"),n=void 0,o=void 0,o="bottom"==p?-s.height+f.bottom:f.top,n="right"==t?-s.width+f.right:f.left;return i&&r?(a[r]="translate3d("+n+"px, "+o+"px, 0)",a[p]=0,a[t]=0,a.willChange="transform"):(r="right"==t?-1:1,a[p]=o*("bottom"==p?-1:1),a[t]=n*r,a.willChange=p+", "+t),t={"x-placement":e.placement},e.attributes=E({},t,e.attributes),e.styles=E({},a,e.styles),e.arrowStyles=E({},e.offsets.arrow,e.arrowStyles),e},gpuAcceleration:!0,x:"bottom",y:"right"},applyStyle:{order:900,enabled:!0,fn:function(e){var t,n;return U(e.instance.popper,e.styles),t=e.instance.popper,n=e.attributes,Object.keys(n).forEach(function(e){!1!==n[e]?t.setAttribute(e,n[e]):t.removeAttribute(e)}),e.arrowElement&&Object.keys(e.arrowStyles).length&&U(e.arrowElement,e.arrowStyles),e},onLoad:function(e,t,n,o,r){return r=F(r,t,e,n.positionFixed),e=N(n.placement,r,t,e,n.modifiers.flip.boundariesElement,n.modifiers.flip.padding),t.setAttribute("x-placement",e),U(t,{position:n.positionFixed?"fixed":"absolute"}),n},gpuAcceleration:void 0}}},w=(w(Q,[{key:"update",value:function(){return function(){var e;this.state.isDestroyed||((e={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}}).offsets.reference=F(this.state,this.popper,this.reference,this.options.positionFixed),e.placement=N(this.options.placement,e.offsets.reference,this.popper,this.reference,this.options.modifiers.flip.boundariesElement,this.options.modifiers.flip.padding),e.originalPlacement=e.placement,e.positionFixed=this.options.positionFixed,e.offsets.popper=H(this.popper,e.offsets.reference,e.placement),e.offsets.popper.position=this.options.positionFixed?"fixed":"absolute",e=A(this.modifiers,e),this.state.isCreated?this.options.onUpdate(e):(this.state.isCreated=!0,this.options.onCreate(e)))}.call(this)}},{key:"destroy",value:function(){return function(){return this.state.isDestroyed=!0,B(this.modifiers,"applyStyle")&&(this.popper.removeAttribute("x-placement"),this.popper.style.position="",this.popper.style.top="",this.popper.style.left="",this.popper.style.right="",this.popper.style.bottom="",this.popper.style.willChange="",this.popper.style[P("transform")]=""),this.disableEventListeners(),this.options.removeOnDestroy&&this.popper.parentNode.removeChild(this.popper),this}.call(this)}},{key:"enableEventListeners",value:function(){return function(){this.state.eventsEnabled||(this.state=j(this.reference,this.options,this.state,this.scheduleUpdate))}.call(this)}},{key:"disableEventListeners",value:function(){return R.call(this)}}]),Q);function Q(e,t){var n=this,o=2<arguments.length&&void 0!==arguments[2]?arguments[2]:{};!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,Q),this.scheduleUpdate=function(){return requestAnimationFrame(n.update)},this.update=r(this.update.bind(this)),this.options=E({},Q.Defaults,o),this.state={isDestroyed:!1,isCreated:!1,scrollParents:[]},this.reference=e&&e.jquery?e[0]:e,this.popper=t&&t.jquery?t[0]:t,this.options.modifiers={},Object.keys(E({},Q.Defaults.modifiers,o.modifiers)).forEach(function(e){n.options.modifiers[e]=E({},Q.Defaults.modifiers[e]||{},o.modifiers?o.modifiers[e]:{})}),this.modifiers=Object.keys(this.options.modifiers).map(function(e){return E({name:e},n.options.modifiers[e])}).sort(function(e,t){return e.order-t.order}),this.modifiers.forEach(function(e){e.enabled&&i(e.onLoad)&&e.onLoad(n.reference,n.popper,n.options,e,n.state)}),this.update();t=this.options.eventsEnabled;t&&this.enableEventListeners(),this.state.eventsEnabled=t}return w.Utils=("undefined"!=typeof window?window:global).PopperUtils,w.placements=q,w.Defaults=K,w}); /*! * Bootstrap v4.5.3 (https://getbootstrap.com/) * Copyright 2011-2020 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors) * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE) */ !function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports,require("jquery"),require("popper.js")):"function"==typeof define&&define.amd?define(["exports","jquery","popper.js"],e):e((t="undefined"!=typeof globalThis?globalThis:t||self).bootstrap={},t.jQuery,t.Popper)}(this,function(t,e,n){"use strict";function i(t){return t&&"object"==typeof t&&"default"in t?t:{default:t}}var d=i(e),a=i(n);function o(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function s(t,e,n){return e&&o(t.prototype,e),n&&o(t,n),t}function l(){return(l=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n,i=arguments[e];for(n in i)Object.prototype.hasOwnProperty.call(i,n)&&(t[n]=i[n])}return t}).apply(this,arguments)} /** * -------------------------------------------------------------------------- * Bootstrap (v4.5.3): util.js * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE) * -------------------------------------------------------------------------- */ var r="transitionend";function u(t){var e=this,n=!1;return d.default(this).one(c.TRANSITION_END,function(){n=!0}),setTimeout(function(){n||c.triggerTransitionEnd(e)},t),this}var c={TRANSITION_END:"bsTransitionEnd",getUID:function(t){for(;t+=~~(1e6*Math.random()),document.getElementById(t););return t},getSelectorFromElement:function(t){var e=t.getAttribute("data-target");e&&"#"!==e||(e=(t=t.getAttribute("href"))&&"#"!==t?t.trim():"");try{return document.querySelector(e)?e:null}catch(t){return null}},getTransitionDurationFromElement:function(t){if(!t)return 0;var e=d.default(t).css("transition-duration"),n=d.default(t).css("transition-delay"),i=parseFloat(e),t=parseFloat(n);return i||t?(e=e.split(",")[0],n=n.split(",")[0],1e3*(parseFloat(e)+parseFloat(n))):0},reflow:function(t){return t.offsetHeight},triggerTransitionEnd:function(t){d.default(t).trigger(r)},supportsTransitionEnd:function(){return Boolean(r)},isElement:function(t){return(t[0]||t).nodeType},typeCheckConfig:function(t,e,n){for(var i in n)if(Object.prototype.hasOwnProperty.call(n,i)){var o=n[i],a=e[i],s=a&&c.isElement(a)?"element":null==(s=a)?""+s:{}.toString.call(s).match(/\s([a-z]+)/i)[1].toLowerCase();if(!new RegExp(o).test(s))throw new Error(t.toUpperCase()+': Option "'+i+'" provided type "'+s+'" but expected type "'+o+'".')}var s},findShadowRoot:function(t){if(!document.documentElement.attachShadow)return null;if("function"!=typeof t.getRootNode)return t instanceof ShadowRoot?t:t.parentNode?c.findShadowRoot(t.parentNode):null;t=t.getRootNode();return t instanceof ShadowRoot?t:null},jQueryDetection:function(){if(void 0===d.default)throw new TypeError("Bootstrap's JavaScript requires jQuery. jQuery must be included before Bootstrap's JavaScript.");var t=d.default.fn.jquery.split(" ")[0].split(".");if(t[0]<2&&t[1]<9||1===t[0]&&9===t[1]&&t[2]<1||4<=t[0])throw new Error("Bootstrap's JavaScript requires at least jQuery v1.9.1 but less than v4.0.0")}};c.jQueryDetection(),d.default.fn.emulateTransitionEnd=u,d.default.event.special[c.TRANSITION_END]={bindType:r,delegateType:r,handle:function(t){if(d.default(t.target).is(this))return t.handleObj.handler.apply(this,arguments)}};var f="alert",h="bs.alert",g=d.default.fn[f],m=function(){function i(t){this._element=t}var t=i.prototype;return t.close=function(t){var e=this._element;t&&(e=this._getRootElement(t)),this._triggerCloseEvent(e).isDefaultPrevented()||this._removeElement(e)},t.dispose=function(){d.default.removeData(this._element,h),this._element=null},t._getRootElement=function(t){var e=c.getSelectorFromElement(t),n=!1;return n=(n=e?document.querySelector(e):n)||d.default(t).closest(".alert")[0]},t._triggerCloseEvent=function(t){var e=d.default.Event("close.bs.alert");return d.default(t).trigger(e),e},t._removeElement=function(e){var t,n=this;d.default(e).removeClass("show"),d.default(e).hasClass("fade")?(t=c.getTransitionDurationFromElement(e),d.default(e).one(c.TRANSITION_END,function(t){return n._destroyElement(e,t)}).emulateTransitionEnd(t)):this._destroyElement(e)},t._destroyElement=function(t){d.default(t).detach().trigger("closed.bs.alert").remove()},i._jQueryInterface=function(n){return this.each(function(){var t=d.default(this),e=t.data(h);e||(e=new i(this),t.data(h,e)),"close"===n&&e[n](this)})},i._handleDismiss=function(e){return function(t){t&&t.preventDefault(),e.close(this)}},s(i,null,[{key:"VERSION",get:function(){return"4.5.3"}}]),i}();d.default(document).on("click.bs.alert.data-api",'[data-dismiss="alert"]',m._handleDismiss(new m)),d.default.fn[f]=m._jQueryInterface,d.default.fn[f].Constructor=m,d.default.fn[f].noConflict=function(){return d.default.fn[f]=g,m._jQueryInterface};var _="button",p="bs.button",v=d.default.fn[_],y="active",e='[data-toggle^="button"]',b='input:not([type="hidden"])',E=".btn",T=function(){function o(t){this._element=t,this.shouldAvoidTriggerChange=!1}var t=o.prototype;return t.toggle=function(){var t,e=!0,n=!0,i=d.default(this._element).closest('[data-toggle="buttons"]')[0];!i||(t=this._element.querySelector(b))&&("radio"===t.type&&(t.checked&&this._element.classList.contains(y)?e=!1:(i=i.querySelector(".active"))&&d.default(i).removeClass(y)),e&&("checkbox"!==t.type&&"radio"!==t.type||(t.checked=!this._element.classList.contains(y)),this.shouldAvoidTriggerChange||d.default(t).trigger("change")),t.focus(),n=!1),this._element.hasAttribute("disabled")||this._element.classList.contains("disabled")||(n&&this._element.setAttribute("aria-pressed",!this._element.classList.contains(y)),e&&d.default(this._element).toggleClass(y))},t.dispose=function(){d.default.removeData(this._element,p),this._element=null},o._jQueryInterface=function(n,i){return this.each(function(){var t=d.default(this),e=t.data(p);e||(e=new o(this),t.data(p,e)),e.shouldAvoidTriggerChange=i,"toggle"===n&&e[n]()})},s(o,null,[{key:"VERSION",get:function(){return"4.5.3"}}]),o}();d.default(document).on("click.bs.button.data-api",e,function(t){var e,n=t.target,i=n;!(n=!d.default(n).hasClass("btn")?d.default(n).closest(E)[0]:n)||n.hasAttribute("disabled")||n.classList.contains("disabled")||(e=n.querySelector(b))&&(e.hasAttribute("disabled")||e.classList.contains("disabled"))?t.preventDefault():"INPUT"!==i.tagName&&"LABEL"===n.tagName||T._jQueryInterface.call(d.default(n),"toggle","INPUT"===i.tagName)}).on("focus.bs.button.data-api blur.bs.button.data-api",e,function(t){var e=d.default(t.target).closest(E)[0];d.default(e).toggleClass("focus",/^focus(in)?$/.test(t.type))}),d.default(window).on("load.bs.button.data-api",function(){for(var t=[].slice.call(document.querySelectorAll('[data-toggle="buttons"] .btn')),e=0,n=t.length;e<n;e++){var i=t[e],o=i.querySelector(b);o.checked||o.hasAttribute("checked")?i.classList.add(y):i.classList.remove(y)}for(var a=0,s=(t=[].slice.call(document.querySelectorAll('[data-toggle="button"]'))).length;a<s;a++){var l=t[a];"true"===l.getAttribute("aria-pressed")?l.classList.add(y):l.classList.remove(y)}}),d.default.fn[_]=T._jQueryInterface,d.default.fn[_].Constructor=T,d.default.fn[_].noConflict=function(){return d.default.fn[_]=v,T._jQueryInterface};var w="carousel",C="bs.carousel",S="."+C,N=d.default.fn[w],D={interval:5e3,keyboard:!0,slide:!1,pause:"hover",wrap:!0,touch:!0},A={interval:"(number|boolean)",keyboard:"boolean",slide:"(boolean|string)",pause:"(string|boolean)",wrap:"boolean",touch:"boolean"},I="next",k="prev",j="slid"+S,O="active",P=".active.carousel-item",R={TOUCH:"touch",PEN:"pen"},L=function(){function o(t,e){this._items=null,this._interval=null,this._activeElement=null,this._isPaused=!1,this._isSliding=!1,this.touchTimeout=null,this.touchStartX=0,this.touchDeltaX=0,this._config=this._getConfig(e),this._element=t,this._indicatorsElement=this._element.querySelector(".carousel-indicators"),this._touchSupported="ontouchstart"in document.documentElement||0<navigator.maxTouchPoints,this._pointerEvent=Boolean(window.PointerEvent||window.MSPointerEvent),this._addEventListeners()}var t=o.prototype;return t.next=function(){this._isSliding||this._slide(I)},t.nextWhenVisible=function(){var t=d.default(this._element);!document.hidden&&t.is(":visible")&&"hidden"!==t.css("visibility")&&this.next()},t.prev=function(){this._isSliding||this._slide(k)},t.pause=function(t){t||(this._isPaused=!0),this._element.querySelector(".carousel-item-next, .carousel-item-prev")&&(c.triggerTransitionEnd(this._element),this.cycle(!0)),clearInterval(this._interval),this._interval=null},t.cycle=function(t){t||(this._isPaused=!1),this._interval&&(clearInterval(this._interval),this._interval=null),this._config.interval&&!this._isPaused&&(this._interval=setInterval((document.visibilityState?this.nextWhenVisible:this.next).bind(this),this._config.interval))},t.to=function(t){var e=this;this._activeElement=this._element.querySelector(P);var n=this._getItemIndex(this._activeElement);if(!(t>this._items.length-1||t<0))if(this._isSliding)d.default(this._element).one(j,function(){return e.to(t)});else{if(n===t)return this.pause(),void this.cycle();this._slide(n<t?I:k,this._items[t])}},t.dispose=function(){d.default(this._element).off(S),d.default.removeData(this._element,C),this._items=null,this._config=null,this._element=null,this._interval=null,this._isPaused=null,this._isSliding=null,this._activeElement=null,this._indicatorsElement=null},t._getConfig=function(t){return t=l({},D,t),c.typeCheckConfig(w,t,A),t},t._handleSwipe=function(){var t=Math.abs(this.touchDeltaX);t<=40||(t=t/this.touchDeltaX,(this.touchDeltaX=0)<t&&this.prev(),t<0&&this.next())},t._addEventListeners=function(){var e=this;this._config.keyboard&&d.default(this._element).on("keydown.bs.carousel",function(t){return e._keydown(t)}),"hover"===this._config.pause&&d.default(this._element).on("mouseenter.bs.carousel",function(t){return e.pause(t)}).on("mouseleave.bs.carousel",function(t){return e.cycle(t)}),this._config.touch&&this._addTouchEventListeners()},t._addTouchEventListeners=function(){var t,e,n=this;this._touchSupported&&(t=function(t){n._pointerEvent&&R[t.originalEvent.pointerType.toUpperCase()]?n.touchStartX=t.originalEvent.clientX:n._pointerEvent||(n.touchStartX=t.originalEvent.touches[0].clientX)},e=function(t){n._pointerEvent&&R[t.originalEvent.pointerType.toUpperCase()]&&(n.touchDeltaX=t.originalEvent.clientX-n.touchStartX),n._handleSwipe(),"hover"===n._config.pause&&(n.pause(),n.touchTimeout&&clearTimeout(n.touchTimeout),n.touchTimeout=setTimeout(function(t){return n.cycle(t)},500+n._config.interval))},d.default(this._element.querySelectorAll(".carousel-item img")).on("dragstart.bs.carousel",function(t){return t.preventDefault()}),this._pointerEvent?(d.default(this._element).on("pointerdown.bs.carousel",t),d.default(this._element).on("pointerup.bs.carousel",e),this._element.classList.add("pointer-event")):(d.default(this._element).on("touchstart.bs.carousel",t),d.default(this._element).on("touchmove.bs.carousel",function(t){(t=t).originalEvent.touches&&1<t.originalEvent.touches.length?n.touchDeltaX=0:n.touchDeltaX=t.originalEvent.touches[0].clientX-n.touchStartX}),d.default(this._element).on("touchend.bs.carousel",e)))},t._keydown=function(t){if(!/input|textarea/i.test(t.target.tagName))switch(t.which){case 37:t.preventDefault(),this.prev();break;case 39:t.preventDefault(),this.next()}},t._getItemIndex=function(t){return this._items=t&&t.parentNode?[].slice.call(t.parentNode.querySelectorAll(".carousel-item")):[],this._items.indexOf(t)},t._getItemByDirection=function(t,e){var n=t===I,i=t===k,o=this._getItemIndex(e),a=this._items.length-1;if((i&&0===o||n&&o===a)&&!this._config.wrap)return e;t=(o+(t===k?-1:1))%this._items.length;return-1==t?this._items[this._items.length-1]:this._items[t]},t._triggerSlideEvent=function(t,e){var n=this._getItemIndex(t),i=this._getItemIndex(this._element.querySelector(P)),n=d.default.Event("slide.bs.carousel",{relatedTarget:t,direction:e,from:i,to:n});return d.default(this._element).trigger(n),n},t._setActiveIndicatorElement=function(t){var e;this._indicatorsElement&&(e=[].slice.call(this._indicatorsElement.querySelectorAll(".active")),d.default(e).removeClass(O),(t=this._indicatorsElement.children[this._getItemIndex(t)])&&d.default(t).addClass(O))},t._slide=function(t,e){var n,i,o,a=this,s=this._element.querySelector(P),l=this._getItemIndex(s),r=e||s&&this._getItemByDirection(t,s),u=this._getItemIndex(r),e=Boolean(this._interval),t=t===I?(n="carousel-item-left",i="carousel-item-next","left"):(n="carousel-item-right",i="carousel-item-prev","right");r&&d.default(r).hasClass(O)?this._isSliding=!1:this._triggerSlideEvent(r,t).isDefaultPrevented()||s&&r&&(this._isSliding=!0,e&&this.pause(),this._setActiveIndicatorElement(r),o=d.default.Event(j,{relatedTarget:r,direction:t,from:l,to:u}),d.default(this._element).hasClass("slide")?(d.default(r).addClass(i),c.reflow(r),d.default(s).addClass(n),d.default(r).addClass(n),(u=parseInt(r.getAttribute("data-interval"),10))?(this._config.defaultInterval=this._config.defaultInterval||this._config.interval,this._config.interval=u):this._config.interval=this._config.defaultInterval||this._config.interval,u=c.getTransitionDurationFromElement(s),d.default(s).one(c.TRANSITION_END,function(){d.default(r).removeClass(n+" "+i).addClass(O),d.default(s).removeClass(O+" "+i+" "+n),a._isSliding=!1,setTimeout(function(){return d.default(a._element).trigger(o)},0)}).emulateTransitionEnd(u)):(d.default(s).removeClass(O),d.default(r).addClass(O),this._isSliding=!1,d.default(this._element).trigger(o)),e&&this.cycle())},o._jQueryInterface=function(i){return this.each(function(){var t=d.default(this).data(C),e=l({},D,d.default(this).data());"object"==typeof i&&(e=l({},e,i));var n="string"==typeof i?i:e.slide;if(t||(t=new o(this,e),d.default(this).data(C,t)),"number"==typeof i)t.to(i);else if("string"==typeof n){if(void 0===t[n])throw new TypeError('No method named "'+n+'"');t[n]()}else e.interval&&e.ride&&(t.pause(),t.cycle())})},o._dataApiClickHandler=function(t){var e,n,i=c.getSelectorFromElement(this);!i||(e=d.default(i)[0])&&d.default(e).hasClass("carousel")&&(n=l({},d.default(e).data(),d.default(this).data()),(i=this.getAttribute("data-slide-to"))&&(n.interval=!1),o._jQueryInterface.call(d.default(e),n),i&&d.default(e).data(C).to(i),t.preventDefault())},s(o,null,[{key:"VERSION",get:function(){return"4.5.3"}},{key:"Default",get:function(){return D}}]),o}();d.default(document).on("click.bs.carousel.data-api","[data-slide], [data-slide-to]",L._dataApiClickHandler),d.default(window).on("load.bs.carousel.data-api",function(){for(var t=[].slice.call(document.querySelectorAll('[data-ride="carousel"]')),e=0,n=t.length;e<n;e++){var i=d.default(t[e]);L._jQueryInterface.call(i,i.data())}}),d.default.fn[w]=L._jQueryInterface,d.default.fn[w].Constructor=L,d.default.fn[w].noConflict=function(){return d.default.fn[w]=N,L._jQueryInterface};var x="collapse",q="bs.collapse",F=d.default.fn[x],Q={toggle:!0,parent:""},B={toggle:"boolean",parent:"(string|element)"},H="show",U="collapse",M="collapsing",W="collapsed",V='[data-toggle="collapse"]',z=function(){function a(e,t){this._isTransitioning=!1,this._element=e,this._config=this._getConfig(t),this._triggerArray=[].slice.call(document.querySelectorAll('[data-toggle="collapse"][href="#'+e.id+'"],[data-toggle="collapse"][data-target="#'+e.id+'"]'));for(var n=[].slice.call(document.querySelectorAll(V)),i=0,o=n.length;i<o;i++){var a=n[i],s=c.getSelectorFromElement(a),l=[].slice.call(document.querySelectorAll(s)).filter(function(t){return t===e});null!==s&&0<l.length&&(this._selector=s,this._triggerArray.push(a))}this._parent=this._config.parent?this._getParent():null,this._config.parent||this._addAriaAndCollapsedClass(this._element,this._triggerArray),this._config.toggle&&this.toggle()}var t=a.prototype;return t.toggle=function(){d.default(this._element).hasClass(H)?this.hide():this.show()},t.show=function(){var t,e,n,i,o=this;this._isTransitioning||d.default(this._element).hasClass(H)||(i=this._parent&&0===(i=[].slice.call(this._parent.querySelectorAll(".show, .collapsing")).filter(function(t){return"string"==typeof o._config.parent?t.getAttribute("data-parent")===o._config.parent:t.classList.contains(U)})).length?null:i)&&(n=d.default(i).not(this._selector).data(q))&&n._isTransitioning||(t=d.default.Event("show.bs.collapse"),d.default(this._element).trigger(t),t.isDefaultPrevented()||(i&&(a._jQueryInterface.call(d.default(i).not(this._selector),"hide"),n||d.default(i).data(q,null)),e=this._getDimension(),d.default(this._element).removeClass(U).addClass(M),this._element.style[e]=0,this._triggerArray.length&&d.default(this._triggerArray).removeClass(W).attr("aria-expanded",!0),this.setTransitioning(!0),n="scroll"+(e[0].toUpperCase()+e.slice(1)),i=c.getTransitionDurationFromElement(this._element),d.default(this._element).one(c.TRANSITION_END,function(){d.default(o._element).removeClass(M).addClass(U+" "+H),o._element.style[e]="",o.setTransitioning(!1),d.default(o._element).trigger("shown.bs.collapse")}).emulateTransitionEnd(i),this._element.style[e]=this._element[n]+"px"))},t.hide=function(){var t=this;if(!this._isTransitioning&&d.default(this._element).hasClass(H)){var e=d.default.Event("hide.bs.collapse");if(d.default(this._element).trigger(e),!e.isDefaultPrevented()){e=this._getDimension();this._element.style[e]=this._element.getBoundingClientRect()[e]+"px",c.reflow(this._element),d.default(this._element).addClass(M).removeClass(U+" "+H);var n=this._triggerArray.length;if(0<n)for(var i=0;i<n;i++){var o=this._triggerArray[i],a=c.getSelectorFromElement(o);null!==a&&(d.default([].slice.call(document.querySelectorAll(a))).hasClass(H)||d.default(o).addClass(W).attr("aria-expanded",!1))}this.setTransitioning(!0);this._element.style[e]="";e=c.getTransitionDurationFromElement(this._element);d.default(this._element).one(c.TRANSITION_END,function(){t.setTransitioning(!1),d.default(t._element).removeClass(M).addClass(U).trigger("hidden.bs.collapse")}).emulateTransitionEnd(e)}}},t.setTransitioning=function(t){this._isTransitioning=t},t.dispose=function(){d.default.removeData(this._element,q),this._config=null,this._parent=null,this._element=null,this._triggerArray=null,this._isTransitioning=null},t._getConfig=function(t){return(t=l({},Q,t)).toggle=Boolean(t.toggle),c.typeCheckConfig(x,t,B),t},t._getDimension=function(){return d.default(this._element).hasClass("width")?"width":"height"},t._getParent=function(){var t,n=this;c.isElement(this._config.parent)?(t=this._config.parent,void 0!==this._config.parent.jquery&&(t=this._config.parent[0])):t=document.querySelector(this._config.parent);var e='[data-toggle="collapse"][data-parent="'+this._config.parent+'"]',e=[].slice.call(t.querySelectorAll(e));return d.default(e).each(function(t,e){n._addAriaAndCollapsedClass(a._getTargetFromElement(e),[e])}),t},t._addAriaAndCollapsedClass=function(t,e){t=d.default(t).hasClass(H);e.length&&d.default(e).toggleClass(W,!t).attr("aria-expanded",t)},a._getTargetFromElement=function(t){t=c.getSelectorFromElement(t);return t?document.querySelector(t):null},a._jQueryInterface=function(i){return this.each(function(){var t=d.default(this),e=t.data(q),n=l({},Q,t.data(),"object"==typeof i&&i?i:{});if(!e&&n.toggle&&"string"==typeof i&&/show|hide/.test(i)&&(n.toggle=!1),e||(e=new a(this,n),t.data(q,e)),"string"==typeof i){if(void 0===e[i])throw new TypeError('No method named "'+i+'"');e[i]()}})},s(a,null,[{key:"VERSION",get:function(){return"4.5.3"}},{key:"Default",get:function(){return Q}}]),a}();d.default(document).on("click.bs.collapse.data-api",V,function(t){"A"===t.currentTarget.tagName&&t.preventDefault();var n=d.default(this),t=c.getSelectorFromElement(this),t=[].slice.call(document.querySelectorAll(t));d.default(t).each(function(){var t=d.default(this),e=t.data(q)?"toggle":n.data();z._jQueryInterface.call(t,e)})}),d.default.fn[x]=z._jQueryInterface,d.default.fn[x].Constructor=z,d.default.fn[x].noConflict=function(){return d.default.fn[x]=F,z._jQueryInterface};var K="dropdown",X="bs.dropdown",Y="."+X,n=".data-api",$=d.default.fn[K],J=new RegExp("38|40|27"),G="hide"+Y,Z="hidden"+Y,e="click"+Y+n,n="keydown"+Y+n,tt="disabled",et="show",nt="dropdown-menu-right",it='[data-toggle="dropdown"]',ot=".dropdown-menu",at={offset:0,flip:!0,boundary:"scrollParent",reference:"toggle",display:"dynamic",popperConfig:null},st={offset:"(number|string|function)",flip:"boolean",boundary:"(string|element)",reference:"(string|element)",display:"string",popperConfig:"(null|object)"},lt=function(){function u(t,e){this._element=t,this._popper=null,this._config=this._getConfig(e),this._menu=this._getMenuElement(),this._inNavbar=this._detectNavbar(),this._addEventListeners()}var t=u.prototype;return t.toggle=function(){var t;this._element.disabled||d.default(this._element).hasClass(tt)||(t=d.default(this._menu).hasClass(et),u._clearMenus(),t||this.show(!0))},t.show=function(t){if(void 0===t&&(t=!1),!(this._element.disabled||d.default(this._element).hasClass(tt)||d.default(this._menu).hasClass(et))){var e={relatedTarget:this._element},n=d.default.Event("show.bs.dropdown",e),i=u._getParentFromElement(this._element);if(d.default(i).trigger(n),!n.isDefaultPrevented()){if(!this._inNavbar&&t){if(void 0===a.default)throw new TypeError("Bootstrap's dropdowns require Popper.js (https://popper.js.org/)");t=this._element;"parent"===this._config.reference?t=i:c.isElement(this._config.reference)&&(t=this._config.reference,void 0!==this._config.reference.jquery&&(t=this._config.reference[0])),"scrollParent"!==this._config.boundary&&d.default(i).addClass("position-static"),this._popper=new a.default(t,this._menu,this._getPopperConfig())}"ontouchstart"in document.documentElement&&0===d.default(i).closest(".navbar-nav").length&&d.default(document.body).children().on("mouseover",null,d.default.noop),this._element.focus(),this._element.setAttribute("aria-expanded",!0),d.default(this._menu).toggleClass(et),d.default(i).toggleClass(et).trigger(d.default.Event("shown.bs.dropdown",e))}}},t.hide=function(){var t,e,n;this._element.disabled||d.default(this._element).hasClass(tt)||!d.default(this._menu).hasClass(et)||(t={relatedTarget:this._element},e=d.default.Event(G,t),n=u._getParentFromElement(this._element),d.default(n).trigger(e),e.isDefaultPrevented()||(this._popper&&this._popper.destroy(),d.default(this._menu).toggleClass(et),d.default(n).toggleClass(et).trigger(d.default.Event(Z,t))))},t.dispose=function(){d.default.removeData(this._element,X),d.default(this._element).off(Y),this._element=null,(this._menu=null)!==this._popper&&(this._popper.destroy(),this._popper=null)},t.update=function(){this._inNavbar=this._detectNavbar(),null!==this._popper&&this._popper.scheduleUpdate()},t._addEventListeners=function(){var e=this;d.default(this._element).on("click.bs.dropdown",function(t){t.preventDefault(),t.stopPropagation(),e.toggle()})},t._getConfig=function(t){return t=l({},this.constructor.Default,d.default(this._element).data(),t),c.typeCheckConfig(K,t,this.constructor.DefaultType),t},t._getMenuElement=function(){var t;return this._menu||(t=u._getParentFromElement(this._element))&&(this._menu=t.querySelector(ot)),this._menu},t._getPlacement=function(){var t=d.default(this._element.parentNode),e="bottom-start";return t.hasClass("dropup")?e=d.default(this._menu).hasClass(nt)?"top-end":"top-start":t.hasClass("dropright")?e="right-start":t.hasClass("dropleft")?e="left-start":d.default(this._menu).hasClass(nt)&&(e="bottom-end"),e},t._detectNavbar=function(){return 0<d.default(this._element).closest(".navbar").length},t._getOffset=function(){var e=this,t={};return"function"==typeof this._config.offset?t.fn=function(t){return t.offsets=l({},t.offsets,e._config.offset(t.offsets,e._element)||{}),t}:t.offset=this._config.offset,t},t._getPopperConfig=function(){var t={placement:this._getPlacement(),modifiers:{offset:this._getOffset(),flip:{enabled:this._config.flip},preventOverflow:{boundariesElement:this._config.boundary}}};return"static"===this._config.display&&(t.modifiers.applyStyle={enabled:!1}),l({},t,this._config.popperConfig)},u._jQueryInterface=function(e){return this.each(function(){var t=d.default(this).data(X);if(t||(t=new u(this,"object"==typeof e?e:null),d.default(this).data(X,t)),"string"==typeof e){if(void 0===t[e])throw new TypeError('No method named "'+e+'"');t[e]()}})},u._clearMenus=function(t){if(!t||3!==t.which&&("keyup"!==t.type||9===t.which))for(var e=[].slice.call(document.querySelectorAll(it)),n=0,i=e.length;n<i;n++){var o,a,s=u._getParentFromElement(e[n]),l=d.default(e[n]).data(X),r={relatedTarget:e[n]};t&&"click"===t.type&&(r.clickEvent=t),l&&(o=l._menu,d.default(s).hasClass(et)&&(t&&("click"===t.type&&/input|textarea/i.test(t.target.tagName)||"keyup"===t.type&&9===t.which)&&d.default.contains(s,t.target)||(a=d.default.Event(G,r),d.default(s).trigger(a),a.isDefaultPrevented()||("ontouchstart"in document.documentElement&&d.default(document.body).children().off("mouseover",null,d.default.noop),e[n].setAttribute("aria-expanded","false"),l._popper&&l._popper.destroy(),d.default(o).removeClass(et),d.default(s).removeClass(et).trigger(d.default.Event(Z,r))))))}},u._getParentFromElement=function(t){var e,n=c.getSelectorFromElement(t);return(e=n?document.querySelector(n):e)||t.parentNode},u._dataApiKeydownHandler=function(t){if((/input|textarea/i.test(t.target.tagName)?!(32===t.which||27!==t.which&&(40!==t.which&&38!==t.which||d.default(t.target).closest(ot).length)):J.test(t.which))&&!this.disabled&&!d.default(this).hasClass(tt)){var e=u._getParentFromElement(this),n=d.default(e).hasClass(et);if(n||27!==t.which){if(t.preventDefault(),t.stopPropagation(),!n||27===t.which||32===t.which)return 27===t.which&&d.default(e.querySelector(it)).trigger("focus"),void d.default(this).trigger("click");n=[].slice.call(e.querySelectorAll(".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)")).filter(function(t){return d.default(t).is(":visible")});0!==n.length&&(e=n.indexOf(t.target),38===t.which&&0<e&&e--,40===t.which&&e<n.length-1&&e++,n[e=e<0?0:e].focus())}}},s(u,null,[{key:"VERSION",get:function(){return"4.5.3"}},{key:"Default",get:function(){return at}},{key:"DefaultType",get:function(){return st}}]),u}();d.default(document).on(n,it,lt._dataApiKeydownHandler).on(n,ot,lt._dataApiKeydownHandler).on(e+" keyup.bs.dropdown.data-api",lt._clearMenus).on(e,it,function(t){t.preventDefault(),t.stopPropagation(),lt._jQueryInterface.call(d.default(this),"toggle")}).on(e,".dropdown form",function(t){t.stopPropagation()}),d.default.fn[K]=lt._jQueryInterface,d.default.fn[K].Constructor=lt,d.default.fn[K].noConflict=function(){return d.default.fn[K]=$,lt._jQueryInterface};var rt="modal",ut="bs.modal",dt="."+ut,ct=d.default.fn[rt],ft={backdrop:!0,keyboard:!0,focus:!0,show:!0},ht={backdrop:"(boolean|string)",keyboard:"boolean",focus:"boolean",show:"boolean"},gt="hidden"+dt,mt="show"+dt,_t="focusin"+dt,pt="resize"+dt,vt="click.dismiss"+dt,yt="keydown.dismiss"+dt,bt="mousedown.dismiss"+dt,Et="modal-open",Tt="fade",wt="show",Ct="modal-static",St=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",Nt=".sticky-top",Dt=function(){function o(t,e){this._config=this._getConfig(e),this._element=t,this._dialog=t.querySelector(".modal-dialog"),this._backdrop=null,this._isShown=!1,this._isBodyOverflowing=!1,this._ignoreBackdropClick=!1,this._isTransitioning=!1,this._scrollbarWidth=0}var t=o.prototype;return t.toggle=function(t){return this._isShown?this.hide():this.show(t)},t.show=function(t){var e,n=this;this._isShown||this._isTransitioning||(d.default(this._element).hasClass(Tt)&&(this._isTransitioning=!0),e=d.default.Event(mt,{relatedTarget:t}),d.default(this._element).trigger(e),this._isShown||e.isDefaultPrevented()||(this._isShown=!0,this._checkScrollbar(),this._setScrollbar(),this._adjustDialog(),this._setEscapeEvent(),this._setResizeEvent(),d.default(this._element).on(vt,'[data-dismiss="modal"]',function(t){return n.hide(t)}),d.default(this._dialog).on(bt,function(){d.default(n._element).one("mouseup.dismiss.bs.modal",function(t){d.default(t.target).is(n._element)&&(n._ignoreBackdropClick=!0)})}),this._showBackdrop(function(){return n._showElement(t)})))},t.hide=function(t){var e=this;t&&t.preventDefault(),this._isShown&&!this._isTransitioning&&(t=d.default.Event("hide.bs.modal"),d.default(this._element).trigger(t),this._isShown&&!t.isDefaultPrevented()&&(this._isShown=!1,(t=d.default(this._element).hasClass(Tt))&&(this._isTransitioning=!0),this._setEscapeEvent(),this._setResizeEvent(),d.default(document).off(_t),d.default(this._element).removeClass(wt),d.default(this._element).off(vt),d.default(this._dialog).off(bt),t?(t=c.getTransitionDurationFromElement(this._element),d.default(this._element).one(c.TRANSITION_END,function(t){return e._hideModal(t)}).emulateTransitionEnd(t)):this._hideModal()))},t.dispose=function(){[window,this._element,this._dialog].forEach(function(t){return d.default(t).off(dt)}),d.default(document).off(_t),d.default.removeData(this._element,ut),this._config=null,this._element=null,this._dialog=null,this._backdrop=null,this._isShown=null,this._isBodyOverflowing=null,this._ignoreBackdropClick=null,this._isTransitioning=null,this._scrollbarWidth=null},t.handleUpdate=function(){this._adjustDialog()},t._getConfig=function(t){return t=l({},ft,t),c.typeCheckConfig(rt,t,ht),t},t._triggerBackdropTransition=function(){var t,e,n,i=this;"static"===this._config.backdrop?(t=d.default.Event("hidePrevented.bs.modal"),d.default(this._element).trigger(t),t.isDefaultPrevented()||((e=this._element.scrollHeight>document.documentElement.clientHeight)||(this._element.style.overflowY="hidden"),this._element.classList.add(Ct),n=c.getTransitionDurationFromElement(this._dialog),d.default(this._element).off(c.TRANSITION_END),d.default(this._element).one(c.TRANSITION_END,function(){i._element.classList.remove(Ct),e||d.default(i._element).one(c.TRANSITION_END,function(){i._element.style.overflowY=""}).emulateTransitionEnd(i._element,n)}).emulateTransitionEnd(n),this._element.focus())):this.hide()},t._showElement=function(t){var e=this,n=d.default(this._element).hasClass(Tt),i=this._dialog?this._dialog.querySelector(".modal-body"):null;this._element.parentNode&&this._element.parentNode.nodeType===Node.ELEMENT_NODE||document.body.appendChild(this._element),this._element.style.display="block",this._element.removeAttribute("aria-hidden"),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),d.default(this._dialog).hasClass("modal-dialog-scrollable")&&i?i.scrollTop=0:this._element.scrollTop=0,n&&c.reflow(this._element),d.default(this._element).addClass(wt),this._config.focus&&this._enforceFocus();function o(){e._config.focus&&e._element.focus(),e._isTransitioning=!1,d.default(e._element).trigger(a)}var a=d.default.Event("shown.bs.modal",{relatedTarget:t});n?(n=c.getTransitionDurationFromElement(this._dialog),d.default(this._dialog).one(c.TRANSITION_END,o).emulateTransitionEnd(n)):o()},t._enforceFocus=function(){var e=this;d.default(document).off(_t).on(_t,function(t){document!==t.target&&e._element!==t.target&&0===d.default(e._element).has(t.target).length&&e._element.focus()})},t._setEscapeEvent=function(){var e=this;this._isShown?d.default(this._element).on(yt,function(t){e._config.keyboard&&27===t.which?(t.preventDefault(),e.hide()):e._config.keyboard||27!==t.which||e._triggerBackdropTransition()}):this._isShown||d.default(this._element).off(yt)},t._setResizeEvent=function(){var e=this;this._isShown?d.default(window).on(pt,function(t){return e.handleUpdate(t)}):d.default(window).off(pt)},t._hideModal=function(){var t=this;this._element.style.display="none",this._element.setAttribute("aria-hidden",!0),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._isTransitioning=!1,this._showBackdrop(function(){d.default(document.body).removeClass(Et),t._resetAdjustments(),t._resetScrollbar(),d.default(t._element).trigger(gt)})},t._removeBackdrop=function(){this._backdrop&&(d.default(this._backdrop).remove(),this._backdrop=null)},t._showBackdrop=function(t){var e,n=this,i=d.default(this._element).hasClass(Tt)?Tt:"";this._isShown&&this._config.backdrop?(this._backdrop=document.createElement("div"),this._backdrop.className="modal-backdrop",i&&this._backdrop.classList.add(i),d.default(this._backdrop).appendTo(document.body),d.default(this._element).on(vt,function(t){n._ignoreBackdropClick?n._ignoreBackdropClick=!1:t.target===t.currentTarget&&n._triggerBackdropTransition()}),i&&c.reflow(this._backdrop),d.default(this._backdrop).addClass(wt),t&&(i?(e=c.getTransitionDurationFromElement(this._backdrop),d.default(this._backdrop).one(c.TRANSITION_END,t).emulateTransitionEnd(e)):t())):!this._isShown&&this._backdrop?(d.default(this._backdrop).removeClass(wt),i=function(){n._removeBackdrop(),t&&t()},d.default(this._element).hasClass(Tt)?(e=c.getTransitionDurationFromElement(this._backdrop),d.default(this._backdrop).one(c.TRANSITION_END,i).emulateTransitionEnd(e)):i()):t&&t()},t._adjustDialog=function(){var t=this._element.scrollHeight>document.documentElement.clientHeight;!this._isBodyOverflowing&&t&&(this._element.style.paddingLeft=this._scrollbarWidth+"px"),this._isBodyOverflowing&&!t&&(this._element.style.paddingRight=this._scrollbarWidth+"px")},t._resetAdjustments=function(){this._element.style.paddingLeft="",this._element.style.paddingRight=""},t._checkScrollbar=function(){var t=document.body.getBoundingClientRect();this._isBodyOverflowing=Math.round(t.left+t.right)<window.innerWidth,this._scrollbarWidth=this._getScrollbarWidth()},t._setScrollbar=function(){var t,e,o=this;this._isBodyOverflowing&&(t=[].slice.call(document.querySelectorAll(St)),e=[].slice.call(document.querySelectorAll(Nt)),d.default(t).each(function(t,e){var n=e.style.paddingRight,i=d.default(e).css("padding-right");d.default(e).data("padding-right",n).css("padding-right",parseFloat(i)+o._scrollbarWidth+"px")}),d.default(e).each(function(t,e){var n=e.style.marginRight,i=d.default(e).css("margin-right");d.default(e).data("margin-right",n).css("margin-right",parseFloat(i)-o._scrollbarWidth+"px")}),t=document.body.style.paddingRight,e=d.default(document.body).css("padding-right"),d.default(document.body).data("padding-right",t).css("padding-right",parseFloat(e)+this._scrollbarWidth+"px")),d.default(document.body).addClass(Et)},t._resetScrollbar=function(){var t=[].slice.call(document.querySelectorAll(St));d.default(t).each(function(t,e){var n=d.default(e).data("padding-right");d.default(e).removeData("padding-right"),e.style.paddingRight=n||""});t=[].slice.call(document.querySelectorAll(Nt));d.default(t).each(function(t,e){var n=d.default(e).data("margin-right");void 0!==n&&d.default(e).css("margin-right",n).removeData("margin-right")});t=d.default(document.body).data("padding-right");d.default(document.body).removeData("padding-right"),document.body.style.paddingRight=t||""},t._getScrollbarWidth=function(){var t=document.createElement("div");t.className="modal-scrollbar-measure",document.body.appendChild(t);var e=t.getBoundingClientRect().width-t.clientWidth;return document.body.removeChild(t),e},o._jQueryInterface=function(n,i){return this.each(function(){var t=d.default(this).data(ut),e=l({},ft,d.default(this).data(),"object"==typeof n&&n?n:{});if(t||(t=new o(this,e),d.default(this).data(ut,t)),"string"==typeof n){if(void 0===t[n])throw new TypeError('No method named "'+n+'"');t[n](i)}else e.show&&t.show(i)})},s(o,null,[{key:"VERSION",get:function(){return"4.5.3"}},{key:"Default",get:function(){return ft}}]),o}();d.default(document).on("click.bs.modal.data-api",'[data-toggle="modal"]',function(t){var e,n=this,i=c.getSelectorFromElement(this);i&&(e=document.querySelector(i));i=d.default(e).data(ut)?"toggle":l({},d.default(e).data(),d.default(this).data());"A"!==this.tagName&&"AREA"!==this.tagName||t.preventDefault();var o=d.default(e).one(mt,function(t){t.isDefaultPrevented()||o.one(gt,function(){d.default(n).is(":visible")&&n.focus()})});Dt._jQueryInterface.call(d.default(e),i,this)}),d.default.fn[rt]=Dt._jQueryInterface,d.default.fn[rt].Constructor=Dt,d.default.fn[rt].noConflict=function(){return d.default.fn[rt]=ct,Dt._jQueryInterface}; /** * -------------------------------------------------------------------------- * Bootstrap (v4.5.3): tools/sanitizer.js * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE) * -------------------------------------------------------------------------- */ var At=["background","cite","href","itemtype","longdesc","poster","src","xlink:href"],e={"*":["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","srcset","alt","title","width","height"],li:[],ol:[],p:[],pre:[],s:[],small:[],span:[],sub:[],sup:[],strong:[],u:[],ul:[]},It=/^(?:(?:https?|mailto|ftp|tel|file):|[^#&/:?]*(?:[#/?]|$))/gi,kt=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[\d+/a-z]+=*$/i;function jt(t,a,e){if(0===t.length)return t;if(e&&"function"==typeof e)return e(t);for(var t=(new window.DOMParser).parseFromString(t,"text/html"),s=Object.keys(a),l=[].slice.call(t.body.querySelectorAll("*")),n=function(t,e){var n=l[t],i=n.nodeName.toLowerCase();if(-1===s.indexOf(n.nodeName.toLowerCase()))return n.parentNode.removeChild(n),"continue";var t=[].slice.call(n.attributes),o=[].concat(a["*"]||[],a[i]||[]);t.forEach(function(t){!function(t,e){var n=t.nodeName.toLowerCase();if(-1!==e.indexOf(n))return-1===At.indexOf(n)||Boolean(t.nodeValue.match(It)||t.nodeValue.match(kt));for(var i=e.filter(function(t){return t instanceof RegExp}),o=0,a=i.length;o<a;o++)if(n.match(i[o]))return 1}(t,o)&&n.removeAttribute(t.nodeName)})},i=0,o=l.length;i<o;i++)n(i);return t.body.innerHTML}var Ot="tooltip",Pt="bs.tooltip",Rt="."+Pt,Lt=d.default.fn[Ot],xt="bs-tooltip",qt=new RegExp("(^|\\s)"+xt+"\\S+","g"),Ft=["sanitize","whiteList","sanitizeFn"],Qt={animation:"boolean",template:"string",title:"(string|element|function)",trigger:"string",delay:"(number|object)",html:"boolean",selector:"(string|boolean)",placement:"(string|function)",offset:"(number|string|function)",container:"(string|element|boolean)",fallbackPlacement:"(string|array)",boundary:"(string|element)",sanitize:"boolean",sanitizeFn:"(null|function)",whiteList:"object",popperConfig:"(null|object)"},Bt={AUTO:"auto",TOP:"top",RIGHT:"right",BOTTOM:"bottom",LEFT:"left"},Ht={animation:!0,template:'<div class="tooltip" role="tooltip"><div class="arrow"></div><div class="tooltip-inner"></div></div>',trigger:"hover focus",title:"",delay:0,html:!1,selector:!1,placement:"top",offset:0,container:!1,fallbackPlacement:"flip",boundary:"scrollParent",sanitize:!0,sanitizeFn:null,whiteList:e,popperConfig:null},Ut="show",Mt={HIDE:"hide"+Rt,HIDDEN:"hidden"+Rt,SHOW:"show"+Rt,SHOWN:"shown"+Rt,INSERTED:"inserted"+Rt,CLICK:"click"+Rt,FOCUSIN:"focusin"+Rt,FOCUSOUT:"focusout"+Rt,MOUSEENTER:"mouseenter"+Rt,MOUSELEAVE:"mouseleave"+Rt},Wt="fade",Vt="show",zt="hover",Kt="focus",Xt=function(){function o(t,e){if(void 0===a.default)throw new TypeError("Bootstrap's tooltips require Popper.js (https://popper.js.org/)");this._isEnabled=!0,this._timeout=0,this._hoverState="",this._activeTrigger={},this._popper=null,this.element=t,this.config=this._getConfig(e),this.tip=null,this._setListeners()}var t=o.prototype;return t.enable=function(){this._isEnabled=!0},t.disable=function(){this._isEnabled=!1},t.toggleEnabled=function(){this._isEnabled=!this._isEnabled},t.toggle=function(t){var e,n;this._isEnabled&&(t?(e=this.constructor.DATA_KEY,(n=d.default(t.currentTarget).data(e))||(n=new this.constructor(t.currentTarget,this._getDelegateConfig()),d.default(t.currentTarget).data(e,n)),n._activeTrigger.click=!n._activeTrigger.click,n._isWithActiveTrigger()?n._enter(null,n):n._leave(null,n)):d.default(this.getTipElement()).hasClass(Vt)?this._leave(null,this):this._enter(null,this))},t.dispose=function(){clearTimeout(this._timeout),d.default.removeData(this.element,this.constructor.DATA_KEY),d.default(this.element).off(this.constructor.EVENT_KEY),d.default(this.element).closest(".modal").off("hide.bs.modal",this._hideModalHandler),this.tip&&d.default(this.tip).remove(),this._isEnabled=null,this._timeout=null,this._hoverState=null,this._activeTrigger=null,this._popper&&this._popper.destroy(),this._popper=null,this.element=null,this.config=null,this.tip=null},t.show=function(){var e=this;if("none"===d.default(this.element).css("display"))throw new Error("Please use show on visible elements");var t,n,i=d.default.Event(this.constructor.Event.SHOW);this.isWithContent()&&this._isEnabled&&(d.default(this.element).trigger(i),n=c.findShadowRoot(this.element),t=d.default.contains(null!==n?n:this.element.ownerDocument.documentElement,this.element),!i.isDefaultPrevented()&&t&&(n=this.getTipElement(),i=c.getUID(this.constructor.NAME),n.setAttribute("id",i),this.element.setAttribute("aria-describedby",i),this.setContent(),this.config.animation&&d.default(n).addClass(Wt),t="function"==typeof this.config.placement?this.config.placement.call(this,n,this.element):this.config.placement,i=this._getAttachment(t),this.addAttachmentClass(i),t=this._getContainer(),d.default(n).data(this.constructor.DATA_KEY,this),d.default.contains(this.element.ownerDocument.documentElement,this.tip)||d.default(n).appendTo(t),d.default(this.element).trigger(this.constructor.Event.INSERTED),this._popper=new a.default(this.element,n,this._getPopperConfig(i)),d.default(n).addClass(Vt),"ontouchstart"in document.documentElement&&d.default(document.body).children().on("mouseover",null,d.default.noop),i=function(){e.config.animation&&e._fixTransition();var t=e._hoverState;e._hoverState=null,d.default(e.element).trigger(e.constructor.Event.SHOWN),"out"===t&&e._leave(null,e)},d.default(this.tip).hasClass(Wt)?(n=c.getTransitionDurationFromElement(this.tip),d.default(this.tip).one(c.TRANSITION_END,i).emulateTransitionEnd(n)):i()))},t.hide=function(t){function e(){n._hoverState!==Ut&&i.parentNode&&i.parentNode.removeChild(i),n._cleanTipClass(),n.element.removeAttribute("aria-describedby"),d.default(n.element).trigger(n.constructor.Event.HIDDEN),null!==n._popper&&n._popper.destroy(),t&&t()}var n=this,i=this.getTipElement(),o=d.default.Event(this.constructor.Event.HIDE);d.default(this.element).trigger(o),o.isDefaultPrevented()||(d.default(i).removeClass(Vt),"ontouchstart"in document.documentElement&&d.default(document.body).children().off("mouseover",null,d.default.noop),this._activeTrigger.click=!1,this._activeTrigger[Kt]=!1,this._activeTrigger[zt]=!1,d.default(this.tip).hasClass(Wt)?(o=c.getTransitionDurationFromElement(i),d.default(i).one(c.TRANSITION_END,e).emulateTransitionEnd(o)):e(),this._hoverState="")},t.update=function(){null!==this._popper&&this._popper.scheduleUpdate()},t.isWithContent=function(){return Boolean(this.getTitle())},t.addAttachmentClass=function(t){d.default(this.getTipElement()).addClass(xt+"-"+t)},t.getTipElement=function(){return this.tip=this.tip||d.default(this.config.template)[0],this.tip},t.setContent=function(){var t=this.getTipElement();this.setElementContent(d.default(t.querySelectorAll(".tooltip-inner")),this.getTitle()),d.default(t).removeClass(Wt+" "+Vt)},t.setElementContent=function(t,e){"object"!=typeof e||!e.nodeType&&!e.jquery?this.config.html?(this.config.sanitize&&(e=jt(e,this.config.whiteList,this.config.sanitizeFn)),t.html(e)):t.text(e):this.config.html?d.default(e).parent().is(t)||t.empty().append(e):t.text(d.default(e).text())},t.getTitle=function(){return this.element.getAttribute("data-original-title")||("function"==typeof this.config.title?this.config.title.call(this.element):this.config.title)},t._getPopperConfig=function(t){var e=this;return l({},{placement:t,modifiers:{offset:this._getOffset(),flip:{behavior:this.config.fallbackPlacement},arrow:{element:".arrow"},preventOverflow:{boundariesElement:this.config.boundary}},onCreate:function(t){t.originalPlacement!==t.placement&&e._handlePopperPlacementChange(t)},onUpdate:function(t){return e._handlePopperPlacementChange(t)}},this.config.popperConfig)},t._getOffset=function(){var e=this,t={};return"function"==typeof this.config.offset?t.fn=function(t){return t.offsets=l({},t.offsets,e.config.offset(t.offsets,e.element)||{}),t}:t.offset=this.config.offset,t},t._getContainer=function(){return!1===this.config.container?document.body:c.isElement(this.config.container)?d.default(this.config.container):d.default(document).find(this.config.container)},t._getAttachment=function(t){return Bt[t.toUpperCase()]},t._setListeners=function(){var n=this;this.config.trigger.split(" ").forEach(function(t){var e;"click"===t?d.default(n.element).on(n.constructor.Event.CLICK,n.config.selector,function(t){return n.toggle(t)}):"manual"!==t&&(e=t===zt?n.constructor.Event.MOUSEENTER:n.constructor.Event.FOCUSIN,t=t===zt?n.constructor.Event.MOUSELEAVE:n.constructor.Event.FOCUSOUT,d.default(n.element).on(e,n.config.selector,function(t){return n._enter(t)}).on(t,n.config.selector,function(t){return n._leave(t)}))}),this._hideModalHandler=function(){n.element&&n.hide()},d.default(this.element).closest(".modal").on("hide.bs.modal",this._hideModalHandler),this.config.selector?this.config=l({},this.config,{trigger:"manual",selector:""}):this._fixTitle()},t._fixTitle=function(){var t=typeof this.element.getAttribute("data-original-title");!this.element.getAttribute("title")&&"string"==t||(this.element.setAttribute("data-original-title",this.element.getAttribute("title")||""),this.element.setAttribute("title",""))},t._enter=function(t,e){var n=this.constructor.DATA_KEY;(e=e||d.default(t.currentTarget).data(n))||(e=new this.constructor(t.currentTarget,this._getDelegateConfig()),d.default(t.currentTarget).data(n,e)),t&&(e._activeTrigger["focusin"===t.type?Kt:zt]=!0),d.default(e.getTipElement()).hasClass(Vt)||e._hoverState===Ut?e._hoverState=Ut:(clearTimeout(e._timeout),e._hoverState=Ut,e.config.delay&&e.config.delay.show?e._timeout=setTimeout(function(){e._hoverState===Ut&&e.show()},e.config.delay.show):e.show())},t._leave=function(t,e){var n=this.constructor.DATA_KEY;(e=e||d.default(t.currentTarget).data(n))||(e=new this.constructor(t.currentTarget,this._getDelegateConfig()),d.default(t.currentTarget).data(n,e)),t&&(e._activeTrigger["focusout"===t.type?Kt:zt]=!1),e._isWithActiveTrigger()||(clearTimeout(e._timeout),e._hoverState="out",e.config.delay&&e.config.delay.hide?e._timeout=setTimeout(function(){"out"===e._hoverState&&e.hide()},e.config.delay.hide):e.hide())},t._isWithActiveTrigger=function(){for(var t in this._activeTrigger)if(this._activeTrigger[t])return!0;return!1},t._getConfig=function(t){var e=d.default(this.element).data();return Object.keys(e).forEach(function(t){-1!==Ft.indexOf(t)&&delete e[t]}),"number"==typeof(t=l({},this.constructor.Default,e,"object"==typeof t&&t?t:{})).delay&&(t.delay={show:t.delay,hide:t.delay}),"number"==typeof t.title&&(t.title=t.title.toString()),"number"==typeof t.content&&(t.content=t.content.toString()),c.typeCheckConfig(Ot,t,this.constructor.DefaultType),t.sanitize&&(t.template=jt(t.template,t.whiteList,t.sanitizeFn)),t},t._getDelegateConfig=function(){var t={};if(this.config)for(var e in this.config)this.constructor.Default[e]!==this.config[e]&&(t[e]=this.config[e]);return t},t._cleanTipClass=function(){var t=d.default(this.getTipElement()),e=t.attr("class").match(qt);null!==e&&e.length&&t.removeClass(e.join(""))},t._handlePopperPlacementChange=function(t){this.tip=t.instance.popper,this._cleanTipClass(),this.addAttachmentClass(this._getAttachment(t.placement))},t._fixTransition=function(){var t=this.getTipElement(),e=this.config.animation;null===t.getAttribute("x-placement")&&(d.default(t).removeClass(Wt),this.config.animation=!1,this.hide(),this.show(),this.config.animation=e)},o._jQueryInterface=function(i){return this.each(function(){var t=d.default(this),e=t.data(Pt),n="object"==typeof i&&i;if((e||!/dispose|hide/.test(i))&&(e||(e=new o(this,n),t.data(Pt,e)),"string"==typeof i)){if(void 0===e[i])throw new TypeError('No method named "'+i+'"');e[i]()}})},s(o,null,[{key:"VERSION",get:function(){return"4.5.3"}},{key:"Default",get:function(){return Ht}},{key:"NAME",get:function(){return Ot}},{key:"DATA_KEY",get:function(){return Pt}},{key:"Event",get:function(){return Mt}},{key:"EVENT_KEY",get:function(){return Rt}},{key:"DefaultType",get:function(){return Qt}}]),o}();d.default.fn[Ot]=Xt._jQueryInterface,d.default.fn[Ot].Constructor=Xt,d.default.fn[Ot].noConflict=function(){return d.default.fn[Ot]=Lt,Xt._jQueryInterface};var Yt="popover",$t="bs.popover",Jt="."+$t,Gt=d.default.fn[Yt],Zt="bs-popover",te=new RegExp("(^|\\s)"+Zt+"\\S+","g"),ee=l({},Xt.Default,{placement:"right",trigger:"click",content:"",template:'<div class="popover" role="tooltip"><div class="arrow"></div><h3 class="popover-header"></h3><div class="popover-body"></div></div>'}),ne=l({},Xt.DefaultType,{content:"(string|element|function)"}),ie={HIDE:"hide"+Jt,HIDDEN:"hidden"+Jt,SHOW:"show"+Jt,SHOWN:"shown"+Jt,INSERTED:"inserted"+Jt,CLICK:"click"+Jt,FOCUSIN:"focusin"+Jt,FOCUSOUT:"focusout"+Jt,MOUSEENTER:"mouseenter"+Jt,MOUSELEAVE:"mouseleave"+Jt},oe=function(t){var e;function i(){return t.apply(this,arguments)||this}n=t,(e=i).prototype=Object.create(n.prototype),(e.prototype.constructor=e).__proto__=n;var n=i.prototype;return n.isWithContent=function(){return this.getTitle()||this._getContent()},n.addAttachmentClass=function(t){d.default(this.getTipElement()).addClass(Zt+"-"+t)},n.getTipElement=function(){return this.tip=this.tip||d.default(this.config.template)[0],this.tip},n.setContent=function(){var t=d.default(this.getTipElement());this.setElementContent(t.find(".popover-header"),this.getTitle());var e=this._getContent();"function"==typeof e&&(e=e.call(this.element)),this.setElementContent(t.find(".popover-body"),e),t.removeClass("fade show")},n._getContent=function(){return this.element.getAttribute("data-content")||this.config.content},n._cleanTipClass=function(){var t=d.default(this.getTipElement()),e=t.attr("class").match(te);null!==e&&0<e.length&&t.removeClass(e.join(""))},i._jQueryInterface=function(n){return this.each(function(){var t=d.default(this).data($t),e="object"==typeof n?n:null;if((t||!/dispose|hide/.test(n))&&(t||(t=new i(this,e),d.default(this).data($t,t)),"string"==typeof n)){if(void 0===t[n])throw new TypeError('No method named "'+n+'"');t[n]()}})},s(i,null,[{key:"VERSION",get:function(){return"4.5.3"}},{key:"Default",get:function(){return ee}},{key:"NAME",get:function(){return Yt}},{key:"DATA_KEY",get:function(){return $t}},{key:"Event",get:function(){return ie}},{key:"EVENT_KEY",get:function(){return Jt}},{key:"DefaultType",get:function(){return ne}}]),i}(Xt);d.default.fn[Yt]=oe._jQueryInterface,d.default.fn[Yt].Constructor=oe,d.default.fn[Yt].noConflict=function(){return d.default.fn[Yt]=Gt,oe._jQueryInterface};var ae="scrollspy",se="bs.scrollspy",le="."+se,re=d.default.fn[ae],ue={offset:10,method:"auto",target:""},de={offset:"number",method:"string",target:"(string|element)"},ce="active",fe=".nav, .list-group",he=".nav-link",ge=".list-group-item",me="position",_e=function(){function n(t,e){var n=this;this._element=t,this._scrollElement="BODY"===t.tagName?window:t,this._config=this._getConfig(e),this._selector=this._config.target+" "+he+","+this._config.target+" "+ge+","+this._config.target+" .dropdown-item",this._offsets=[],this._targets=[],this._activeTarget=null,this._scrollHeight=0,d.default(this._scrollElement).on("scroll.bs.scrollspy",function(t){return n._process(t)}),this.refresh(),this._process()}var t=n.prototype;return t.refresh=function(){var e=this,t=this._scrollElement===this._scrollElement.window?"offset":me,i="auto"===this._config.method?t:this._config.method,o=i===me?this._getScrollTop():0;this._offsets=[],this._targets=[],this._scrollHeight=this._getScrollHeight(),[].slice.call(document.querySelectorAll(this._selector)).map(function(t){var e,n=c.getSelectorFromElement(t);if(e=n?document.querySelector(n):e){t=e.getBoundingClientRect();if(t.width||t.height)return[d.default(e)[i]().top+o,n]}return null}).filter(function(t){return t}).sort(function(t,e){return t[0]-e[0]}).forEach(function(t){e._offsets.push(t[0]),e._targets.push(t[1])})},t.dispose=function(){d.default.removeData(this._element,se),d.default(this._scrollElement).off(le),this._element=null,this._scrollElement=null,this._config=null,this._selector=null,this._offsets=null,this._targets=null,this._activeTarget=null,this._scrollHeight=null},t._getConfig=function(t){var e;return"string"!=typeof(t=l({},ue,"object"==typeof t&&t?t:{})).target&&c.isElement(t.target)&&((e=d.default(t.target).attr("id"))||(e=c.getUID(ae),d.default(t.target).attr("id",e)),t.target="#"+e),c.typeCheckConfig(ae,t,de),t},t._getScrollTop=function(){return this._scrollElement===window?this._scrollElement.pageYOffset:this._scrollElement.scrollTop},t._getScrollHeight=function(){return this._scrollElement.scrollHeight||Math.max(document.body.scrollHeight,document.documentElement.scrollHeight)},t._getOffsetHeight=function(){return this._scrollElement===window?window.innerHeight:this._scrollElement.getBoundingClientRect().height},t._process=function(){var t=this._getScrollTop()+this._config.offset,e=this._getScrollHeight(),n=this._config.offset+e-this._getOffsetHeight();if(this._scrollHeight!==e&&this.refresh(),n<=t){n=this._targets[this._targets.length-1];this._activeTarget!==n&&this._activate(n)}else{if(this._activeTarget&&t<this._offsets[0]&&0<this._offsets[0])return this._activeTarget=null,void this._clear();for(var i=this._offsets.length;i--;)this._activeTarget!==this._targets[i]&&t>=this._offsets[i]&&(void 0===this._offsets[i+1]||t<this._offsets[i+1])&&this._activate(this._targets[i])}},t._activate=function(e){this._activeTarget=e,this._clear();var t=this._selector.split(",").map(function(t){return t+'[data-target="'+e+'"],'+t+'[href="'+e+'"]'}),t=d.default([].slice.call(document.querySelectorAll(t.join(","))));t.hasClass("dropdown-item")?(t.closest(".dropdown").find(".dropdown-toggle").addClass(ce),t.addClass(ce)):(t.addClass(ce),t.parents(fe).prev(he+", "+ge).addClass(ce),t.parents(fe).prev(".nav-item").children(he).addClass(ce)),d.default(this._scrollElement).trigger("activate.bs.scrollspy",{relatedTarget:e})},t._clear=function(){[].slice.call(document.querySelectorAll(this._selector)).filter(function(t){return t.classList.contains(ce)}).forEach(function(t){return t.classList.remove(ce)})},n._jQueryInterface=function(e){return this.each(function(){var t=d.default(this).data(se);if(t||(t=new n(this,"object"==typeof e&&e),d.default(this).data(se,t)),"string"==typeof e){if(void 0===t[e])throw new TypeError('No method named "'+e+'"');t[e]()}})},s(n,null,[{key:"VERSION",get:function(){return"4.5.3"}},{key:"Default",get:function(){return ue}}]),n}();d.default(window).on("load.bs.scrollspy.data-api",function(){for(var t=[].slice.call(document.querySelectorAll('[data-spy="scroll"]')),e=t.length;e--;){var n=d.default(t[e]);_e._jQueryInterface.call(n,n.data())}}),d.default.fn[ae]=_e._jQueryInterface,d.default.fn[ae].Constructor=_e,d.default.fn[ae].noConflict=function(){return d.default.fn[ae]=re,_e._jQueryInterface};var pe="bs.tab",ve=d.default.fn.tab,ye="active",be=".active",Ee="> li > .active",Te=function(){function i(t){this._element=t}var t=i.prototype;return t.show=function(){var t,e,n,i,o,a,s=this;this._element.parentNode&&this._element.parentNode.nodeType===Node.ELEMENT_NODE&&d.default(this._element).hasClass(ye)||d.default(this._element).hasClass("disabled")||(a=d.default(this._element).closest(".nav, .list-group")[0],e=c.getSelectorFromElement(this._element),a&&(o="UL"===a.nodeName||"OL"===a.nodeName?Ee:be,n=(n=d.default.makeArray(d.default(a).find(o)))[n.length-1]),i=d.default.Event("hide.bs.tab",{relatedTarget:this._element}),o=d.default.Event("show.bs.tab",{relatedTarget:n}),n&&d.default(n).trigger(i),d.default(this._element).trigger(o),o.isDefaultPrevented()||i.isDefaultPrevented()||(e&&(t=document.querySelector(e)),this._activate(this._element,a),a=function(){var t=d.default.Event("hidden.bs.tab",{relatedTarget:s._element}),e=d.default.Event("shown.bs.tab",{relatedTarget:n});d.default(n).trigger(t),d.default(s._element).trigger(e)},t?this._activate(t,t.parentNode,a):a()))},t.dispose=function(){d.default.removeData(this._element,pe),this._element=null},t._activate=function(t,e,n){function i(){return o._transitionComplete(t,a,n)}var o=this,a=(!e||"UL"!==e.nodeName&&"OL"!==e.nodeName?d.default(e).children(be):d.default(e).find(Ee))[0],e=n&&a&&d.default(a).hasClass("fade");a&&e?(e=c.getTransitionDurationFromElement(a),d.default(a).removeClass("show").one(c.TRANSITION_END,i).emulateTransitionEnd(e)):i()},t._transitionComplete=function(t,e,n){var i;e&&(d.default(e).removeClass(ye),(i=d.default(e.parentNode).find("> .dropdown-menu .active")[0])&&d.default(i).removeClass(ye),"tab"===e.getAttribute("role")&&e.setAttribute("aria-selected",!1)),d.default(t).addClass(ye),"tab"===t.getAttribute("role")&&t.setAttribute("aria-selected",!0),c.reflow(t),t.classList.contains("fade")&&t.classList.add("show"),t.parentNode&&d.default(t.parentNode).hasClass("dropdown-menu")&&((e=d.default(t).closest(".dropdown")[0])&&(e=[].slice.call(e.querySelectorAll(".dropdown-toggle")),d.default(e).addClass(ye)),t.setAttribute("aria-expanded",!0)),n&&n()},i._jQueryInterface=function(n){return this.each(function(){var t=d.default(this),e=t.data(pe);if(e||(e=new i(this),t.data(pe,e)),"string"==typeof n){if(void 0===e[n])throw new TypeError('No method named "'+n+'"');e[n]()}})},s(i,null,[{key:"VERSION",get:function(){return"4.5.3"}}]),i}();d.default(document).on("click.bs.tab.data-api",'[data-toggle="tab"], [data-toggle="pill"], [data-toggle="list"]',function(t){t.preventDefault(),Te._jQueryInterface.call(d.default(this),"show")}),d.default.fn.tab=Te._jQueryInterface,d.default.fn.tab.Constructor=Te,d.default.fn.tab.noConflict=function(){return d.default.fn.tab=ve,Te._jQueryInterface};var we="toast",Ce="bs.toast",e="."+Ce,Se=d.default.fn[we],Ne="click.dismiss"+e,De="show",Ae="showing",Ie={animation:"boolean",autohide:"boolean",delay:"number"},ke={animation:!0,autohide:!0,delay:500},je=function(){function i(t,e){this._element=t,this._config=this._getConfig(e),this._timeout=null,this._setListeners()}var t=i.prototype;return t.show=function(){var t,e=this,n=d.default.Event("show.bs.toast");d.default(this._element).trigger(n),n.isDefaultPrevented()||(this._clearTimeout(),this._config.animation&&this._element.classList.add("fade"),t=function(){e._element.classList.remove(Ae),e._element.classList.add(De),d.default(e._element).trigger("shown.bs.toast"),e._config.autohide&&(e._timeout=setTimeout(function(){e.hide()},e._config.delay))},this._element.classList.remove("hide"),c.reflow(this._element),this._element.classList.add(Ae),this._config.animation?(n=c.getTransitionDurationFromElement(this._element),d.default(this._element).one(c.TRANSITION_END,t).emulateTransitionEnd(n)):t())},t.hide=function(){var t;this._element.classList.contains(De)&&(t=d.default.Event("hide.bs.toast"),d.default(this._element).trigger(t),t.isDefaultPrevented()||this._close())},t.dispose=function(){this._clearTimeout(),this._element.classList.contains(De)&&this._element.classList.remove(De),d.default(this._element).off(Ne),d.default.removeData(this._element,Ce),this._element=null,this._config=null},t._getConfig=function(t){return t=l({},ke,d.default(this._element).data(),"object"==typeof t&&t?t:{}),c.typeCheckConfig(we,t,this.constructor.DefaultType),t},t._setListeners=function(){var t=this;d.default(this._element).on(Ne,'[data-dismiss="toast"]',function(){return t.hide()})},t._close=function(){function t(){n._element.classList.add("hide"),d.default(n._element).trigger("hidden.bs.toast")}var e,n=this;this._element.classList.remove(De),this._config.animation?(e=c.getTransitionDurationFromElement(this._element),d.default(this._element).one(c.TRANSITION_END,t).emulateTransitionEnd(e)):t()},t._clearTimeout=function(){clearTimeout(this._timeout),this._timeout=null},i._jQueryInterface=function(n){return this.each(function(){var t=d.default(this),e=t.data(Ce);if(e||(e=new i(this,"object"==typeof n&&n),t.data(Ce,e)),"string"==typeof n){if(void 0===e[n])throw new TypeError('No method named "'+n+'"');e[n](this)}})},s(i,null,[{key:"VERSION",get:function(){return"4.5.3"}},{key:"DefaultType",get:function(){return Ie}},{key:"Default",get:function(){return ke}}]),i}();d.default.fn[we]=je._jQueryInterface,d.default.fn[we].Constructor=je,d.default.fn[we].noConflict=function(){return d.default.fn[we]=Se,je._jQueryInterface},t.Alert=m,t.Button=T,t.Carousel=L,t.Collapse=z,t.Dropdown=lt,t.Modal=Dt,t.Popover=oe,t.Scrollspy=_e,t.Tab=Te,t.Toast=je,t.Tooltip=Xt,t.Util=c,Object.defineProperty(t,"__esModule",{value:!0})}); $suggestions=$("#search-suggestions"),$(document).ready(function(){new Array;function a(e){e&&$("#searchResultForm").attr("action",e),$("#searchResultForm").submit(),$("input").prop("disabled",!0),showLoader("#searchResultForm #product-list, #searchResultForm #page-list, #searchResultForm #no-result")}function t(e){e&&$("#searchForm").attr("action",e),$("#searchForm").submit(),$("input").prop("disabled",!0),showLoader("#searchResultForm #product-list, #searchResultForm #page-list, #searchResultForm #no-result")}function o(e){$("#showProducts").val(e)}$("#btnSearch").on("click",function(){$("#q").val()&&t($("#formURL").val()+"?q="+$("#q").val())}),0<$("input#product-suggestions-url").length&&$("#q").on("keyup",function(e){2<$(this).val().length?$.post($("input#product-suggestions-url").val(),{key:$(this).val()},function(e){try{var n;"undefined"!==e&&"undefined"!==e.response&&"undefined"!==e.response.numFound&&0<e.response.numFound?(n="",$(e.response.docs).each(function(e,t){void 0!==t.url&&(void 0===t.modelName?n+='<div><a href="'+t.url+'"><span>'+t.modelNumber+"</span></a></div>":n+='<div><a href="'+t.url+'"><span>'+t.modelName+"</span> <span>("+t.modelNumber+")</span></a></div>")}),$suggestions.html(n),$(".search-autofill").removeClass("d-none")):($suggestions.html(""),$(".search-autofill").addClass("d-none"))}catch(e){console.error(e),$suggestions.html(""),$(".search-autofill").addClass("d-none")}},"json").fail(function(e,t,n){console.log(n),$(".search-autofill").addClass("d-none")}):($suggestions.html(""),$(".search-autofill").addClass("d-none"))}),$("#q").on("keypress",function(e){13==e.which&&(e.preventDefault(),$("#q").val()&&t($("#formURL").val()+"?q="+$("#q").val()))}),$("#btnShowProducts").on("click",function(){var e=new Date,e=e.getDate().toString()+e.getMonth().toString()+e.getYear().toString(),e=$("#formURL").val()+"?q="+$("#q").val()+"&selected=showallproducts&d="+e;$("input[name='facetFilters']").prop("checked",!1),$("input[name='facetFilters'][value='section|Products']").prop("checked",!0),$("#searchResultForm").attr("action",e),console.log($("#searchResultForm").attr("action")),o(1),a()}),$("#btnSearchResultsMain").on("click",function(){$("#searchBox").val()&&a(document.location.pathname+"?q="+$("#searchBox").val())}),$("#searchBox").keypress(function(e){13==e.which&&(e.preventDefault(),$("#searchBox").val()&&a(document.location.pathname+"?q="+$("#searchBox").val()))}),$("#searchClearFilter").on("click",function(){$("input[name='facetFilters']").each(function(){$(this).attr("checked",!1)}),$("input[name='facetFilters']").prop("checked",!1);var e=new Date,e=e.getMonth().toString()+e.getDate().toString()+e.getYear().toString(),e=$("#formURL").val()+"?q="+$("#q").val()+"&d="+e;$("#searchResultForm").attr("action",e),o(0),a()}),$("input[name='facetFilters']").each(function(){$(this).on("change",function(){var e=new Date,t=e.getDate().toString()+e.getMonth().toString()+e.getYear().toString(),e=$("#formURL").val()+"?q="+$("#q").val(),n=new Array;$("input[name='facetFilters']:checked").each(function(){n.push($(this).attr("id"))}),0<n.length&&(e=e+"&selected="+n.join("-")+"&d="+t),$("#searchResultForm").attr("action",e),1<$("input[name='facetFilters'][value*='section|']:checked").length?o(0):1==$("input[name='facetFilters'][value='section|Products']:checked").length||1==$("input[name='facetFilters'][value='"+$("#translatedProductsSectionText").val()+"']:checked").length?o(1):1<=$("input[name='facetFilters'][value!='section|Products']:checked").length||1<=$("input[name='facetFilters'][value='"+$("#translatedProductsSectionText").val()+"']:checked").length?o(2):o(0),console.log($("#searchResultForm").attr("action")),a()}),"section|Products"==$(this).val()&&1==$("#showProducts").val()&&$(this).attr("checked",!0)}),$("#searchResultForm ul.pagination li.page-item a.page-link").each(function(){var e=window.location.search,t=new URLSearchParams(e).get("selected"),e=new Date,e=e.getDate().toString()+e.getMonth().toString()+e.getYear().toString(),n=null!==t?"&selected="+t+"&d="+e:"";$(this).on("click",function(){event.preventDefault(),event.stopPropagation(),a(document.location.pathname+$(this).attr("href")+n)})}),$("#searchResultForm .btn-accordion").on("click",function(){event.preventDefault()})}); /* Functions for create, read, erase cookies start */ function createCookie(e,o,t){var n;n=t?((n=new Date).setTime(n.getTime()+24*t*60*60*1e3),"; expires="+n.toGMTString()):"",document.cookie=e+"="+o+n+"; path=/"}function readCookie(e){for(var o=e+"=",t=document.cookie.split(";"),n=0;n<t.length;n++){for(var i=t[n];" "==i.charAt(0);)i=i.substring(1,i.length);if(0==i.indexOf(o))return i.substring(o.length,i.length)}return null}function eraseCookie(e){createCookie(e,"",-1)}function paginationLinks(){768<=$(window).width()?$(".ct-pagination-basic ul.pagination li").show():($(".ct-pagination-basic ul.pagination li:gt(4)").hide(),$(".ct-pagination-basic ul.pagination li:last-child").show())}function setTopHeightBodySection(){var e,o=0,t=0;$("header .fixed-top").length&&(t=$("header .fixed-top").height(),o+=parseInt(t)),$("main .position-static-breadcrumb").length&&(e=$("main .position-static-breadcrumb").outerHeight(),o+=parseInt(e)),$(".position-static-breadcrumb").css("top",t),$(".header-static-margin").css("margin-top",o)}function heroCarouselA(){jQuery(".ct-hero-carousel-a").length&&(jQuery(".carousel-control-prev").height(jQuery(".carousel-item.active .carousel-item-image-holder").height()),jQuery(".carousel-control-next").height(jQuery(".carousel-item.active .carousel-item-image-holder").height()),jQuery(".carousel-thumbnails li").on("click",function(){jQuery(".carousel-thumbnails li").each(function(){jQuery(this).removeClass("active")}),jQuery(this).addClass("active")}),jQuery(".carousel").on("slid.bs.carousel",function(e){var o;cl.responsive(),jQuery(".carousel-item").each(function(){jQuery(this).hasClass("active")&&(o=jQuery(this).data("slide"))}),jQuery(".carousel-thumbnails li").each(function(){jQuery(this).data("slide-to")==o?jQuery(this).addClass("active"):jQuery(this).removeClass("active")})}))}function heroCarouselD(){jQuery(".ct-hero-carousel-d").length&&(jQuery(".slide-header[data-slide='0']").siblings(".slide-content").css("bottom",0),jQuery(".carousel").on("slid.bs.carousel",function(e){cl.responsive(),jQuery(".slide-content").each(function(){jQuery(this).css("bottom","-500px")}),jQuery(".slide-header[data-slide='"+jQuery(this).find(".active").index()+"']").siblings(".slide-content").css("bottom",0)}),jQuery(".slide-header").hover(function(){var e=jQuery(this).data("slide");jQuery("#ct-hero-carousel-d").carousel(e),jQuery(".slide-content").each(function(){jQuery(this).css("bottom","-500px")}),jQuery(this).siblings(".slide-content").css("bottom",0),cl.responsive(),jQuery(".slide-content").hover(function(){},function(){jQuery(".slide-content").each(function(){jQuery(this).css("bottom","-500px")})})},function(){}),jQuery(".carousel").on("slide",function(e){}))}function animationCTs(){(jQuery(".ct-card-collection-w4-animation").length||jQuery(".ct-card-collection-w3-animation").length||jQuery(".ct-1blks-w100-animation").length)&&(document.getElementsByClassName("ct-video-animation-container").controls=!1,$(".ct-video-animation-container").hover(function(){$(this).children("video").get(0).play()},function(){$(this).children("video").get(0).pause()}),$(window).scroll(function(){$(".ct-video-animation-container").each(function(){var e=$(this).offset().top,o=$(this).offset().top+$(this).outerHeight(),t=$(window).scrollTop();e<$(window).scrollTop()+$(window).innerHeight()&&t<o?$(this).children("video").get(0).play():$(this).children("video").get(0).pause()})}))}function heroCarouselE(){jQuery(".ct-hero-carousel-e").length&&jQuery(".carousel").on("slid.bs.carousel",function(e){cl.responsive()})}function heroCarouselF(){jQuery(".ct-hero-carousel-f").length&&jQuery(".carousel").on("slid.bs.carousel",function(e){cl.responsive()})}function heroCarouselG(){jQuery(".ct-hero-carousel-g").length&&jQuery(".carousel").on("slid.bs.carousel",function(e){cl.responsive()})}function heroCarouselH(){jQuery(".ct-hero-carousel-h").length&&jQuery(".carousel").on("slid.bs.carousel",function(e){cl.responsive()})}function heroCarouselI(){jQuery(".ct-hero-carousel-i").length&&jQuery(".carousel").on("slid.bs.carousel",function(e){cl.responsive()})}function bindHeaderModal(){jQuery("header nav#navHeader div.modal").each(function(e,o){jQuery(o).remove(),jQuery("body").append(o)})}function headerBasicSecondaryMenuResponsive(){0<$("nav#siteMainMenu ul#navbarSecondaryMenuItem").length&&($(window).width()<768?$("nav#siteMainMenu ul#navbarSecondaryMenuItem").removeClass("d-md-none"):$("nav#siteMainMenu ul#navbarSecondaryMenuItem").addClass("d-md-none"))}function headerBasicSecondaryMenuUpdate(){var e;0<$(".ct-header-basic-secondary #navbarNavDropdown2 ul.navbar-nav").length?(e=$(".ct-header-basic-secondary #navbarNavDropdown2 ul.navbar-nav").clone().attr("id","navbarSecondaryMenuItem").addClass("d-md-none"),$("nav#siteMainMenu ul:first").after(e),$("nav#siteMainMenu ul#navbarSecondaryMenuItem li a").each(function(e,o){$(this).removeClass("btn").addClass("nav-link")}),0<$(".language-select button").length&&($languageSelect=$(".language-select").html(),$("nav#siteMainMenu ul#navbarSecondaryMenuItem").append("<li class='nav-item'>"+$languageSelect+"</li>")),$("nav#siteMainMenu ul#navbarSecondaryMenuItem li button").each(function(e,o){$(this).attr("id",$(this).attr("id")+"Mobile")})):($("nav#siteMainMenu ul.navbar-nav").after("<ul class='navbar-nav mr-auto' id='navbarSecondaryMenuItem'></ul>"),0<$(".language-select button").length&&($languageSelect=$(".language-select").html(),$("nav#siteMainMenu ul#navbarSecondaryMenuItem").append("<li class='nav-item'>"+$languageSelect+"</li>")),$("nav#siteMainMenu ul#navbarSecondaryMenuItem li a").each(function(e,o){$(this).removeClass("btn").addClass("nav-link")}),$("nav#siteMainMenu ul#navbarSecondaryMenuItem li button").each(function(e,o){$(this).attr("id",$(this).attr("id")+"Mobile")}))}function isMobileDeviceFlag(e){e?$(".nav-item.dropdown").on("click",function(e){currentMenuSelected($(e))}):($(".nav-item.dropdown").on("mouseover",function(){currentMenuSelected($(this))}),$(".nav-item.dropdown").on("mouseout",function(){mouseOutOnMenu()}))}$(window).resize(function(){setTopHeightBodySection(),heroCarouselA(),headerBasicSecondaryMenuResponsive(),isMobileDeviceFlag("ontouchstart"in document.documentElement),0<$(".ct-pagination-basic").length&&paginationLinks()}).resize(),$(window).on("load",function(){setTopHeightBodySection()}),jQuery(".ct-hero-carousel-c").length&&(jQuery(".hero-item-container").each(function(){var e,o=jQuery(this).data("slide");jQuery(".hero-image").each(function(){jQuery(this).data("slide")==o&&(e=jQuery(this).children("img").attr("src"))}),jQuery(this).css("background-image","url("+e+")")}),jQuery(".hero-item-container").hover(function(){var e;992<jQuery(window).width()&&(e=jQuery(this).data("slide"),jQuery(".hero-image-container .hero-image").each(function(){jQuery(this).data("slide")==e?jQuery(this).addClass("active"):jQuery(this).removeClass("active")}),jQuery(".hero-item").each(function(){jQuery(this).removeClass("active")}),jQuery(this).children(".hero-item").addClass("active"))},function(){992<jQuery(window).width()&&jQuery(".hero-item").each(function(){jQuery(this).removeClass("active")})})),$(document).ready(function(){var n,e=$(".ct-menu-vertical-b, .ct-menu-vertical-a");function o(e){e&&(window.location.href=e,$("input").prop("disabled",!0),$("#loading").show())}if(e&&e.click(function(){$(this).toggleClass("open-leftmenu")}),$("#navbarNavDropdown1").on("show.bs.collapse",function(){lockScroll()}),$("#navbarNavDropdown1").on("hide.bs.collapse",function(){unLockScroll(),$("#navbarNavDropdown1").toggleClass("show")}),$(window).on("scroll touchmove",function(){$('[data-toggle="tooltip"]').tooltip("hide"),$('[data-toggle="tooltip"]').on("click",function(){$(this).tooltip("show")})}),0<$("#locationSelectorUrl").length&&(0<$("#hdnLocationTitleUrl").length&&$("#hdnLocationTitleUrl").val()&&$.post($("#hdnLocationTitleUrl").val()).done(function(e){$("#btnLocationTitle").html(e+$("#btnLocationTitle").html()),0<$("#btnLocationTitleMobile").length&&$("#btnLocationTitleMobile").html($("#btnLocationTitle").html())}).fail(function(e,o,t){console.log(t)}),$.post($("#locationSelectorUrl").val(),{categoryName:"Region (ISO 2 letter code)",view:"LocationSelector"}).done(function(e){$("body").append(e);var l="";$("#selectRegion .tab-pane .container-fluid .row .flex-column").each(function(e,o){var t=$(o).find("li").length,n=$(o).parent(),i=Math.floor(t/4),a="";3<t?l="col-sm-3":3==t&&(l="col-sm-4"),2==t&&(l="col-sm-6"),1==t&&(l="col-sm-12"),$(o).find("li").each(function(e,o){0==e?a+='<div class="'+l+'"><ul class="nav flex-column">':e%(i+1)==0&&(a+='</ul></div><div class="'+l+'"><ul class="nav flex-column">'),a+="<li>"+$(o).html()+"</li>",t-1==e&&(a+="</ul></div>")}),$(n).html(""),$(n).html(a)})}).fail(function(e,o,t){console.log(t)})),$('[data-toggle="tooltip"]').tooltip({html:!0}),heroCarouselA(),heroCarouselD(),heroCarouselE(),heroCarouselF(),heroCarouselG(),heroCarouselH(),heroCarouselI(),getTabbedContent(),setTimeout(setTopHeightBodySection(),1e3),headerBasicSecondaryMenuUpdate(),headerBasicSecondaryMenuResponsive(),animationCTs(),jQuery("header nav#navHeader div.modal").length&&bindHeaderModal(),0<$("#languageSelector").length&&$("#languageSelector").on("change",function(){var e=$(this).find(":selected").attr("data-href");""!=e&&(window.location.href=e)}),$("#btnSearchResults").on("click",function(){$("#searchBoxMobile").val()&&o($("#formURL").val()+"?q="+$("#searchBoxMobile").val())}),$("#searchBoxMobile").keypress(function(e){13==e.which&&(e.preventDefault(),$("#searchBoxMobile").val()&&o($("#formURL").val()+"?q="+$("#searchBoxMobile").val()))}),0<window.location.href.indexOf("#")&&($(".ct-tabs-basic").length||$(".ct-tabs-desktop").length)&&(1<(e=window.location.href.split("#")).length&&e instanceof Array&&(e=e[e.length-1],($(".ct-tabs-basic").find("#".lastValue)||$(".ct-tabs-desktop").find("#".lastValue))&&($(".nav-link,.tab-pane").removeClass("active show"),$("[aria-controls='"+e+"']").addClass("active show"),$("#"+e).addClass("active show")))),$("#privacyModel").on("show.bs.modal",function(e){$(".btn-resolution a").removeClass("selected"),$(e.relatedTarget).addClass("selected")}),$("#accept-terms-conditions").click(function(){$(this).is(":checked")?$("#btndownload").removeAttr("disabled"):$("#btndownload").attr("disabled",!0)}),$("#btndownload").on("click",function(){var e;$("#accept-terms-conditions").is(":checked")&&(e=$(".btn-resolution .selected"),window.open(e.data("image-src"),"_blank").focus())}),$(".close-modal,.btn-outline-primary").on("click",function(){$("#btndownload").attr("disabled",!0),$("#accept-terms-conditions").prop("checked",!1)}),isMobileDeviceFlag("ontouchstart"in document.documentElement),$(".cd-single-point").on("click",function(e){$(this).attr("clicked")||($(document).on("click","body",function(e){$(e.target).closest(".cd-single-point").length||($(".cd-single-point").removeClass("is-open").removeAttr("clicked"),$(document).off("click","body"))}),$(".cd-single-point").removeClass("is-open"),$(this).addClass("is-open visited").attr("clicked","clicked"))}),0<$(".ct-card-collection-w3-carousel").length){l(),$(window).resize(function(){l()}).resize();var t=$(".ct-card-collection-w3-carousel .carousel-cards");for(i=0;i<t.length;i++)a(t[i]);function a(e){var o,t;e&&(o=$(e).attr("id"),(t=$(e).find(".carousel-item.active")).nextAll(".carousel-item").length<n?$(e).find(".carousel-control-next").attr("href","javascript:void(0)").addClass("disabled"):$(e).find(".carousel-control-next").attr("href","#"+o).removeClass("disabled"),0<t.prev(".carousel-item").length?$(e).find(".carousel-control-prev").attr("href","#"+o).removeClass("disabled"):$(e).find(".carousel-control-prev").attr("href","javascript:void(0)").addClass("disabled"))}function l(){n=991<jQuery(window).width()?3:jQuery(window).width()<992&&767<jQuery(window).width()?2:1}$(".ct-card-collection-w3-carousel .carousel-cards").on("slid.bs.carousel",function(){var e=$(this),o=$(e).find(".carousel-item"),t=o.length;o.removeClass("previous-item"),o.removeClass("previous-item-right"),o.removeClass("last-item"),a(e),n<t&&((e=$(e).find(".carousel-item.active")).prev(".carousel-item").length&&e.prev(".carousel-item").addClass("previous-item"))})}0<$("a[download]").length&&$("a[download]").on("click",function(e){e.preventDefault(),$(this).attr("id",Date.now());var o=$(this).attr("href"),e=o.substring(o.lastIndexOf("/")+1);o&&e&&function(e,n,o){var i=new XMLHttpRequest;i.open("GET",e,!0),i.responseType="blob",0<$("#downloadingText").length&&i.addEventListener("loadend",function(e){$("#"+o).html($("#"+o).attr("data-text")),$("#"+o).removeAttr("data-text"),$("#"+o).removeClass("disabled")});i.onload=function(e){var o=i.response,t=document.createElement("a");t.href=window.URL.createObjectURL(o),t.download=n,t.click()},0<$("#downloadingText").length&&($("#"+o).attr("data-text",$("#"+o).html()),$("#"+o).html($("#downloadingText").val()),$("#"+o).addClass("disabled"));i.send()}(o,e,$(this).attr("id"))})});var closeMenu=$(".close-menu");function showLoader(e){0<$(e).length?($(e).hide(),$("#loading").show()):0==e.length&&$("#loading").show()}function hideLoader(e){0<$(e).length&&$(e).show(),$("#loading").hide()}function printElement(e){var o,t=e.replace(/[\.#\s]/g,""),n=document.getElementsByTagName("link"),i="<html><head>";for(o in i+="<script>function printPage() { window.print(); window.close(); } <\/script>",i+=$("title")[0].outerHTML,n)"stylesheet"==n[o].rel&&(i+='<link rel="stylesheet" href="'+n[o].href+'" media="all"/>');i+="<style>.product-item-list .product-data-compare:first-child { height: auto;} .product-item-list .product-data-compare:first-child img { max-width: 100px;} .ct-product-compare-modal table.product-data-compare td.r2, .ct-product-compare-modal table.product-data-compare th {min-height: 80px;}</style>",i+='</head><body onload="printPage()"><div id="ct-product-compare-print" class="'+t+'">'+$(e).html()+"</div></body></html>";e=window.open("","");e.document.write(i),e.document.close()}function currentMenuSelected(e){$(".nav-item.dropdown").removeClass("show"),$(".nav-item.dropdown>.nav-link").blur(),$("div.dropdown-menu,ul.dropdown-menu").removeClass("show"),$(e).addClass("show"),$(e).find("div.dropdown-menu").addClass("show"),$(e).find("ul.dropdown-menu").addClass("show")}function mouseOutOnMenu(){$(".nav-item.dropdown").removeClass("show"),$(".nav-item.dropdown>.nav-link").blur(),$("div.dropdown-menu,ul.dropdown-menu").removeClass("show")}function scrollAnchor(e){var o;"#"!=e&&("tabs"==e?o=$("#tabList"):window.location.hash==e?(e=(e=window.location.hash).replace("#","").split("%20").join(" "),(o=$("[name='"+e+"']")).length<=0&&(o=$("#"+e))):o=$(e),o.length&&(e=$(o).offset(),o={top:0},$(".header-static-margin").length&&(o=$(".header-static-margin").offset()),$("html, body").animate({scrollTop:e.top-o.top},500)))}function locationHashChanged(){window.location.hash.length&&(-1!=window.location.hash.indexOf("tab-")?scrollAnchor("tabs"):scrollAnchor(window.location.hash))}closeMenu&&closeMenu.click(function(){$("ul.dropdown-menu").removeClass("show")}),$("#dealer-widget").length&&(url=$("input#dealerWidgetUrl").val())&&$.post(url).done(function(e){$("#dealer-widget").html(e)}).fail(function(e,o,t){console.log(t)}),jQuery(".back-to-top").on("click",function(e){return e.preventDefault(),jQuery("html, body").animate({scrollTop:0},800),!1}),jQuery(".ct-footer-power .twitter-block").on("DOMSubtreeModified propertychange","#twitter-widget-0",function(){jQuery(".twitter-timeline").contents().find(".timeline-Tweet-media").remove()}),$(document).on("click",".cd-close-info",function(){$(".cd-single-point").removeClass("is-open").removeAttr("clicked"),$(document).off("click","body")}),window.onhashchange=locationHashChanged;var url,cookiePrefix,getCookie,isIE=!!navigator.userAgent.match(/Trident/g)||!!navigator.userAgent.match(/MSIE/g);function getTabbedContent(){$(".ct-menusub-basic-header .nav-item a[href*='#tab'], .card-footer a[href*='#tab']").click(function(){var e="#"+$(this).attr("href").split("#")[1];console.log(e),$(".ct-tabs-basic a, .tab-content .tab-pane").removeClass("active show"),$(".ct-tabs-basic a[href='"+e+"'], .tab-content "+e).addClass("active show")})}function lockScroll(){$("html").addClass("lock-scroll"),$("body").addClass("lock-scroll")}function unLockScroll(){$("html").removeClass("lock-scroll"),$("body").removeClass("lock-scroll")}function productListHeight(e){var o;$(window).on("ready load resize",(o=0,void e.each(function(){var e=$(this).height();o<e&&(o=Math.max(o,e))}).height("").height(o)))}window.location.hash.length&&(isIE?window.load=$(function(){-1!=window.location.hash.indexOf("tab-")?scrollAnchor("tabs"):scrollAnchor(window.location.hash)}):$(window).on("load",function(){-1!=window.location.hash.indexOf("tab-")?scrollAnchor("tabs"):scrollAnchor(window.location.hash)})),jQuery('a[href^="#"]').on("click",function(){var e=$(this).attr("href"),o=$(this).attr("role");"#"!=e&&0!=e.indexOf("#tab")&&"tab"!=o&&$(window).trigger("hashchange")}),0<$("#formHomeZipCode").length&&(url=$("#formHomeZipCode #hdnLocationZipUrl").val(),cookiePrefix=$("#formHomeZipCode #hdnZipCookiePrefix").val(),url&&cookiePrefix&&$.post(url,{name:cookiePrefix}).done(function(e){$("#formHomeZipCode #zipCode").val(e)}).fail(function(e){console.log(e)}),$("#formHomeZipCode #btnSubmit").on("click",function(){event.preventDefault(),createCookie(cookiePrefix+"_Zipcode",encodeURIComponent($("#formHomeZipCode #zipCode").val().replace(" ","").toUpperCase()),30),$("#formHomeZipCode").submit()})),0<$(".ct-breakingnews-banner").length&&(null!=(getCookie=readCookie("ImportantNotice"))&&"True"==getCookie?$(".ct-breakingnews-banner").hide():$(".ct-breakingnews-banner").show(),$(".ct-breakingnews-banner .alert").on("click",".close",function(){document.cookie.indexOf("ImportantNotice")<0&&(document.cookie="ImportantNotice=True; path=/;")})),isIE&&jQuery(function(e){e(".product-list .col-md-4, #product-list .col-md-4, .product-list .col-md-6").each(function(){productListHeight(e("img",this))})}),$(document).click(function(e){$(e.target).closest(".container-fluid ct-header-basic-primary",".container").length||$("#searchFormMobile").is(":visible")||$(".navbar-collapse").collapse("hide")}); function initializeVideos(){var e;function t(){var i,e=$(".modal-video.show").find(".video-class-bc").attr("id");0<$("#"+e).length&&(i=$("#"+e).parent().width(),$("#"+e).width(i),$("#"+e).height(9*i/16))}$(window).resize(function(){t()}),$(window).bind("orientationchange",function(i){setTimeout(function(){t()},500)}),$(".modal-video").on("shown.bs.modal",function(){videojs.registerPlugin("pluginBrightcove",function(){""!=(e=this)&&e.play()});var i=$(this).find(".video-class-bc").attr("id");videojs.getPlayer(i).pluginBrightcove(),t()}),$(".modal-video").on("hidden.bs.modal",function(){""!=e&&e.pause()})}function loadScript(i,e){var t;"js"==e?((t=document.createElement("script")).type="text/javascript",t.async=!1,t.src=i,document.getElementsByTagName("head")[0].appendChild(t)):"css"==e&&((t=document.createElement("link")).setAttribute("rel","stylesheet"),t.setAttribute("type","text/css"),t.setAttribute("href",i),document.getElementsByTagName("head")[0].appendChild(t))}function initializeBrightcove(){var i=$("#hdnBrightcovePlayerId").val();loadScript("//players.brightcove.net/"+$("#hdnBrightcoveAccountId").val()+"/"+i+"_default/index.min.js","js"),setTimeout(500)}function checkVideoType(){var i=$(".iframe-video").first().attr("data-src");null!=i&&i.includes("youtube")&&(initializeYoutube(),initializeYoutubeVideos())}function initializeYoutube(){loadScript("https://www.youtube.com/iframe_api","js")}var YTIframeID;function initializeYoutubeVideos(){var e;function t(){var i,e=$(".modal-video.show").find(".iframe-video").attr("id");0<$("#"+e).length&&(i=$("#"+e).parent().width(),$("#"+e).width(i),$("#"+e).height(9*i/16))}$(window).resize(function(){t()}),$(window).bind("orientationchange",function(i){setTimeout(function(){t()},500)}),$(".modal-video").on("shown.bs.modal",function(){var i=$(this).find(".iframe-video").attr("data-src");i=i.substring(i.lastIndexOf("/")),YTIframeID=$(this).find(".iframe-video").attr("id"),e=new YT.Player($(this).find(".iframe-video").attr("id"),{height:"390",width:"640",videoId:i,playerVars:{rel:0},events:{onReady:function(i){e.unMute(),i.target.playVideo()}}}),t()}),$(".modal-video .close").on("click",function(){$("#"+YTIframeID)[0].contentWindow.postMessage('{"event":"command","func":"pauseVideo","args":""}',"*")}),$(".modal-video").on("hidden.bs.modal",function(){e&&e.pauseVideo&&e.pauseVideo()})}0<$(".videoparent .video-class-bc").length&&(initializeBrightcove(),initializeVideos()),0<$(".iframe-video").length&&checkVideoType(); dataLayer=[];var gtmid=$("#hdn_gtmcontainerid").val();!function(e,t,a,n,g){e[n]=e[n]||[],e[n].push({"gtm.start":(new Date).getTime(),event:"gtm.js"});n=t.getElementsByTagName(a)[0],a=t.createElement(a);a.async=!0,a.src="//www.googletagmanager.com/gtm.js?id="+g,n.parentNode.insertBefore(a,n)}(window,document,"script","dataLayer",gtmid);