!function(L,U){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=L.document?U(L,!0):function(re){if(!re.document)throw new Error("jQuery requires a window with a document");return U(re)}:U(L)}(typeof window<"u"?window:this,function(L,U){"use strict";var re=[],ye=Object.getPrototypeOf,de=re.slice,Le=re.flat?function(t){return re.flat.call(t)}:function(t){return re.concat.apply([],t)},xe=re.push,Ee=re.indexOf,ze={},De=ze.toString,He=ze.hasOwnProperty,Ye=He.toString,rt=Ye.call(Object),J={},Z=function(t){return"function"==typeof t&&"number"!=typeof t.nodeType&&"function"!=typeof t.item},pe=function(t){return null!=t&&t===t.window},z=L.document,me={type:!0,src:!0,nonce:!0,noModule:!0};function nt(t,n,e){var i,r,s=(e=e||z).createElement("script");if(s.text=t,n)for(i in me)(r=n[i]||n.getAttribute&&n.getAttribute(i))&&s.setAttribute(i,r);e.head.appendChild(s).parentNode.removeChild(s)}function G(t){return null==t?t+"":"object"==typeof t||"function"==typeof t?ze[De.call(t)]||"object":typeof t}var ht=/HTML$/i,o=function(t,n){return new o.fn.init(t,n)};function y(t){var n=!!t&&"length"in t&&t.length,e=G(t);return!Z(t)&&!pe(t)&&("array"===e||0===n||"number"==typeof n&&0<n&&n-1 in t)}function p(t,n){return t.nodeName&&t.nodeName.toLowerCase()===n.toLowerCase()}o.fn=o.prototype={jquery:"3.7.1",constructor:o,length:0,toArray:function(){return de.call(this)},get:function(t){return null==t?de.call(this):t<0?this[t+this.length]:this[t]},pushStack:function(t){var n=o.merge(this.constructor(),t);return n.prevObject=this,n},each:function(t){return o.each(this,t)},map:function(t){return this.pushStack(o.map(this,function(n,e){return t.call(n,e,n)}))},slice:function(){return this.pushStack(de.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(o.grep(this,function(t,n){return(n+1)%2}))},odd:function(){return this.pushStack(o.grep(this,function(t,n){return n%2}))},eq:function(t){var n=this.length,e=+t+(t<0?n:0);return this.pushStack(0<=e&&e<n?[this[e]]:[])},end:function(){return this.prevObject||this.constructor()},push:xe,sort:re.sort,splice:re.splice},o.extend=o.fn.extend=function(){var t,n,e,i,r,s,a=arguments[0]||{},c=1,d=arguments.length,m=!1;for("boolean"==typeof a&&(m=a,a=arguments[c]||{},c++),"object"==typeof a||Z(a)||(a={}),c===d&&(a=this,c--);c<d;c++)if(null!=(t=arguments[c]))for(n in t)i=t[n],"__proto__"!==n&&a!==i&&(m&&i&&(o.isPlainObject(i)||(r=Array.isArray(i)))?(e=a[n],s=r&&!Array.isArray(e)?[]:r||o.isPlainObject(e)?e:{},r=!1,a[n]=o.extend(m,s,i)):void 0!==i&&(a[n]=i));return a},o.extend({expando:"jQuery"+("3.7.1"+Math.random()).replace(/\D/g,""),isReady:!0,error:function(t){throw new Error(t)},noop:function(){},isPlainObject:function(t){var n,e;return!(!t||"[object Object]"!==De.call(t)||(n=ye(t))&&("function"!=typeof(e=He.call(n,"constructor")&&n.constructor)||Ye.call(e)!==rt))},isEmptyObject:function(t){var n;for(n in t)return!1;return!0},globalEval:function(t,n,e){nt(t,{nonce:n&&n.nonce},e)},each:function(t,n){var e,i=0;if(y(t))for(e=t.length;i<e&&!1!==n.call(t[i],i,t[i]);i++);else for(i in t)if(!1===n.call(t[i],i,t[i]))break;return t},text:function(t){var n,e="",i=0,r=t.nodeType;if(!r)for(;n=t[i++];)e+=o.text(n);return 1===r||11===r?t.textContent:9===r?t.documentElement.textContent:3===r||4===r?t.nodeValue:e},makeArray:function(t,n){var e=n||[];return null!=t&&(y(Object(t))?o.merge(e,"string"==typeof t?[t]:t):xe.call(e,t)),e},inArray:function(t,n,e){return null==n?-1:Ee.call(n,t,e)},isXMLDoc:function(t){var e=t&&(t.ownerDocument||t).documentElement;return!ht.test(t&&t.namespaceURI||e&&e.nodeName||"HTML")},merge:function(t,n){for(var e=+n.length,i=0,r=t.length;i<e;i++)t[r++]=n[i];return t.length=r,t},grep:function(t,n,e){for(var i=[],r=0,s=t.length,a=!e;r<s;r++)!n(t[r],r)!==a&&i.push(t[r]);return i},map:function(t,n,e){var i,r,s=0,a=[];if(y(t))for(i=t.length;s<i;s++)null!=(r=n(t[s],s,e))&&a.push(r);else for(s in t)null!=(r=n(t[s],s,e))&&a.push(r);return Le(a)},guid:1,support:J}),"function"==typeof Symbol&&(o.fn[Symbol.iterator]=re[Symbol.iterator]),o.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(t,n){ze["[object "+n+"]"]=n.toLowerCase()});var _=re.pop,E=re.sort,A=re.splice,h="[\\x20\\t\\r\\n\\f]",j=new RegExp("^"+h+"+|((?:^|[^\\\\])(?:\\\\.)*)"+h+"+$","g");o.contains=function(t,n){var e=n&&n.parentNode;return t===e||!(!e||1!==e.nodeType||!(t.contains?t.contains(e):t.compareDocumentPosition&&16&t.compareDocumentPosition(e)))};var P=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\x80-\uFFFF\w-]/g;function B(t,n){return n?"\0"===t?"\ufffd":t.slice(0,-1)+"\\"+t.charCodeAt(t.length-1).toString(16)+" ":"\\"+t}o.escapeSelector=function(t){return(t+"").replace(P,B)};var Q=z,be=xe;!function(){var t,n,e,i,r,s,a,c,d,m,w=be,C=o.expando,b=0,I=0,W=et(),ne=et(),K=et(),Se=et(),Fe=function(f,v){return f===v&&(r=!0),0},Tt="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",Ze="(?:\\\\[\\da-fA-F]{1,6}"+h+"?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+",fe="\\["+h+"*("+Ze+")(?:"+h+"*([*^$|!~]?=)"+h+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+Ze+"))|)"+h+"*\\]",gn=":("+Ze+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+fe+")*)|.*)\\)|)",_e=new RegExp(h+"+","g"),We=new RegExp("^"+h+"*,"+h+"*"),mi=new RegExp("^"+h+"*([>+~]|"+h+")"+h+"*"),Ei=new RegExp(h+"|>"),mn=new RegExp(gn),vi=new RegExp("^"+Ze+"$"),kn={ID:new RegExp("^#("+Ze+")"),CLASS:new RegExp("^\\.("+Ze+")"),TAG:new RegExp("^("+Ze+"|[*])"),ATTR:new RegExp("^"+fe),PSEUDO:new RegExp("^"+gn),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+h+"*(even|odd|(([+-]|)(\\d*)n|)"+h+"*(?:([+-]|)"+h+"*(\\d+)|))"+h+"*\\)|)","i"),bool:new RegExp("^(?:"+Tt+")$","i"),needsContext:new RegExp("^"+h+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+h+"*((?:-\\d)?\\d*)"+h+"*\\)|)(?=[^-]|$)","i")},Rn=/^(?:input|select|textarea|button)$/i,ui=/^h\d$/i,Yt=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ct=/[+~]/,it=new RegExp("\\\\[\\da-fA-F]{1,6}"+h+"?|\\\\([^\\r\\n\\f])","g"),St=function(f,v){var x="0x"+f.slice(1)-65536;return v||(x<0?String.fromCharCode(x+65536):String.fromCharCode(x>>10|55296,1023&x|56320))},Bn=function(){Fn()},kt=wi(function(f){return!0===f.disabled&&p(f,"fieldset")},{dir:"parentNode",next:"legend"});try{w.apply(re=de.call(Q.childNodes),Q.childNodes)}catch{w={apply:function(v,x){be.apply(v,de.call(x))},call:function(v){be.apply(v,de.call(arguments,1))}}}function ie(f,v,x,T){var O,Y,V,ee,q,ke,se,le=v&&v.ownerDocument,Ce=v?v.nodeType:9;if(x=x||[],"string"!=typeof f||!f||1!==Ce&&9!==Ce&&11!==Ce)return x;if(!T&&(Fn(v),v=v||s,c)){if(11!==Ce&&(q=Yt.exec(f)))if(O=q[1]){if(9===Ce){if(!(V=v.getElementById(O)))return x;if(V.id===O)return w.call(x,V),x}else if(le&&(V=le.getElementById(O))&&ie.contains(v,V)&&V.id===O)return w.call(x,V),x}else{if(q[2])return w.apply(x,v.getElementsByTagName(f)),x;if((O=q[3])&&v.getElementsByClassName)return w.apply(x,v.getElementsByClassName(O)),x}if(!(Se[f+" "]||d&&d.test(f))){if(se=f,le=v,1===Ce&&(Ei.test(f)||mi.test(f))){for((le=ct.test(f)&&Ci(v.parentNode)||v)==v&&J.scope||((ee=v.getAttribute("id"))?ee=o.escapeSelector(ee):v.setAttribute("id",ee=C)),Y=(ke=yi(f)).length;Y--;)ke[Y]=(ee?"#"+ee:":scope")+" "+Ai(ke[Y]);se=ke.join(",")}try{return w.apply(x,le.querySelectorAll(se)),x}catch{Se(f,!0)}finally{ee===C&&v.removeAttribute("id")}}}return Oi(f.replace(j,"$1"),v,x,T)}function et(){var f=[];return function v(x,T){return f.push(x+" ")>n.cacheLength&&delete v[f.shift()],v[x+" "]=T}}function tt(f){return f[C]=!0,f}function qe(f){var v=s.createElement("fieldset");try{return!!f(v)}catch{return!1}finally{v.parentNode&&v.parentNode.removeChild(v),v=null}}function vn(f){return function(v){return p(v,"input")&&v.type===f}}function di(f){return function(v){return(p(v,"input")||p(v,"button"))&&v.type===f}}function bi(f){return function(v){return"form"in v?v.parentNode&&!1===v.disabled?"label"in v?"label"in v.parentNode?v.parentNode.disabled===f:v.disabled===f:v.isDisabled===f||v.isDisabled!==!f&&kt(v)===f:v.disabled===f:"label"in v&&v.disabled===f}}function ei(f){return tt(function(v){return v=+v,tt(function(x,T){for(var O,Y=f([],x.length,v),V=Y.length;V--;)x[O=Y[V]]&&(x[O]=!(T[O]=x[O]))})})}function Ci(f){return f&&typeof f.getElementsByTagName<"u"&&f}function Fn(f){var v,x=f?f.ownerDocument||f:Q;return x!=s&&9===x.nodeType&&x.documentElement&&(a=(s=x).documentElement,c=!o.isXMLDoc(s),m=a.matches||a.webkitMatchesSelector||a.msMatchesSelector,a.msMatchesSelector&&Q!=s&&(v=s.defaultView)&&v.top!==v&&v.addEventListener("unload",Bn),J.getById=qe(function(T){return a.appendChild(T).id=o.expando,!s.getElementsByName||!s.getElementsByName(o.expando).length}),J.disconnectedMatch=qe(function(T){return m.call(T,"*")}),J.scope=qe(function(){return s.querySelectorAll(":scope")}),J.cssHas=qe(function(){try{return s.querySelector(":has(*,:jqfake)"),!1}catch{return!0}}),J.getById?(n.filter.ID=function(T){var O=T.replace(it,St);return function(Y){return Y.getAttribute("id")===O}},n.find.ID=function(T,O){if(typeof O.getElementById<"u"&&c){var Y=O.getElementById(T);return Y?[Y]:[]}}):(n.filter.ID=function(T){var O=T.replace(it,St);return function(Y){var V=typeof Y.getAttributeNode<"u"&&Y.getAttributeNode("id");return V&&V.value===O}},n.find.ID=function(T,O){if(typeof O.getElementById<"u"&&c){var Y,V,ee,q=O.getElementById(T);if(q){if((Y=q.getAttributeNode("id"))&&Y.value===T)return[q];for(ee=O.getElementsByName(T),V=0;q=ee[V++];)if((Y=q.getAttributeNode("id"))&&Y.value===T)return[q]}return[]}}),n.find.TAG=function(T,O){return typeof O.getElementsByTagName<"u"?O.getElementsByTagName(T):O.querySelectorAll(T)},n.find.CLASS=function(T,O){if(typeof O.getElementsByClassName<"u"&&c)return O.getElementsByClassName(T)},d=[],qe(function(T){var O;a.appendChild(T).innerHTML="<a id='"+C+"' href='' disabled='disabled'></a><select id='"+C+"-\r\\' disabled='disabled'><option selected=''></option></select>",T.querySelectorAll("[selected]").length||d.push("\\["+h+"*(?:value|"+Tt+")"),T.querySelectorAll("[id~="+C+"-]").length||d.push("~="),T.querySelectorAll("a#"+C+"+*").length||d.push(".#.+[+~]"),T.querySelectorAll(":checked").length||d.push(":checked"),(O=s.createElement("input")).setAttribute("type","hidden"),T.appendChild(O).setAttribute("name","D"),a.appendChild(T).disabled=!0,2!==T.querySelectorAll(":disabled").length&&d.push(":enabled",":disabled"),(O=s.createElement("input")).setAttribute("name",""),T.appendChild(O),T.querySelectorAll("[name='']").length||d.push("\\["+h+"*name"+h+"*="+h+"*(?:''|\"\")")}),J.cssHas||d.push(":has"),d=d.length&&new RegExp(d.join("|")),Fe=function(T,O){if(T===O)return r=!0,0;var Y=!T.compareDocumentPosition-!O.compareDocumentPosition;return Y||(1&(Y=(T.ownerDocument||T)==(O.ownerDocument||O)?T.compareDocumentPosition(O):1)||!J.sortDetached&&O.compareDocumentPosition(T)===Y?T===s||T.ownerDocument==Q&&ie.contains(Q,T)?-1:O===s||O.ownerDocument==Q&&ie.contains(Q,O)?1:i?Ee.call(i,T)-Ee.call(i,O):0:4&Y?-1:1)}),s}for(t in ie.matches=function(f,v){return ie(f,null,null,v)},ie.matchesSelector=function(f,v){if(Fn(f),c&&!Se[v+" "]&&(!d||!d.test(v)))try{var x=m.call(f,v);if(x||J.disconnectedMatch||f.document&&11!==f.document.nodeType)return x}catch{Se(v,!0)}return 0<ie(v,s,null,[f]).length},ie.contains=function(f,v){return(f.ownerDocument||f)!=s&&Fn(f),o.contains(f,v)},ie.attr=function(f,v){(f.ownerDocument||f)!=s&&Fn(f);var x=n.attrHandle[v.toLowerCase()],T=x&&He.call(n.attrHandle,v.toLowerCase())?x(f,v,!c):void 0;return void 0!==T?T:f.getAttribute(v)},ie.error=function(f){throw new Error("Syntax error, unrecognized expression: "+f)},o.uniqueSort=function(f){var v,x=[],T=0,O=0;if(r=!J.sortStable,i=!J.sortStable&&de.call(f,0),E.call(f,Fe),r){for(;v=f[O++];)v===f[O]&&(T=x.push(O));for(;T--;)A.call(f,x[T],1)}return i=null,f},o.fn.uniqueSort=function(){return this.pushStack(o.uniqueSort(de.apply(this)))},(n=o.expr={cacheLength:50,createPseudo:tt,match:kn,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(f){return f[1]=f[1].replace(it,St),f[3]=(f[3]||f[4]||f[5]||"").replace(it,St),"~="===f[2]&&(f[3]=" "+f[3]+" "),f.slice(0,4)},CHILD:function(f){return f[1]=f[1].toLowerCase(),"nth"===f[1].slice(0,3)?(f[3]||ie.error(f[0]),f[4]=+(f[4]?f[5]+(f[6]||1):2*("even"===f[3]||"odd"===f[3])),f[5]=+(f[7]+f[8]||"odd"===f[3])):f[3]&&ie.error(f[0]),f},PSEUDO:function(f){var v,x=!f[6]&&f[2];return kn.CHILD.test(f[0])?null:(f[3]?f[2]=f[4]||f[5]||"":x&&mn.test(x)&&(v=yi(x,!0))&&(v=x.indexOf(")",x.length-v)-x.length)&&(f[0]=f[0].slice(0,v),f[2]=x.slice(0,v)),f.slice(0,3))}},filter:{TAG:function(f){var v=f.replace(it,St).toLowerCase();return"*"===f?function(){return!0}:function(x){return p(x,v)}},CLASS:function(f){var v=W[f+" "];return v||(v=new RegExp("(^|"+h+")"+f+"("+h+"|$)"))&&W(f,function(x){return v.test("string"==typeof x.className&&x.className||typeof x.getAttribute<"u"&&x.getAttribute("class")||"")})},ATTR:function(f,v,x){return function(T){var O=ie.attr(T,f);return null==O?"!="===v:!v||(O+="","="===v?O===x:"!="===v?O!==x:"^="===v?x&&0===O.indexOf(x):"*="===v?x&&-1<O.indexOf(x):"$="===v?x&&O.slice(-x.length)===x:"~="===v?-1<(" "+O.replace(_e," ")+" ").indexOf(x):"|="===v&&(O===x||O.slice(0,x.length+1)===x+"-"))}},CHILD:function(f,v,x,T,O){var Y="nth"!==f.slice(0,3),V="last"!==f.slice(-4),ee="of-type"===v;return 1===T&&0===O?function(q){return!!q.parentNode}:function(q,ke,se){var le,Ce,oe,at,wt,ut=Y!==V?"nextSibling":"previousSibling",Pt=q.parentNode,Qt=ee&&q.nodeName.toLowerCase(),nn=!se&&!ee,Ue=!1;if(Pt){if(Y){for(;ut;){for(oe=q;oe=oe[ut];)if(ee?p(oe,Qt):1===oe.nodeType)return!1;wt=ut="only"===f&&!wt&&"nextSibling"}return!0}if(wt=[V?Pt.firstChild:Pt.lastChild],V&&nn){for(Ue=(at=(le=(Ce=Pt[C]||(Pt[C]={}))[f]||[])[0]===b&&le[1])&&le[2],oe=at&&Pt.childNodes[at];oe=++at&&oe&&oe[ut]||(Ue=at=0)||wt.pop();)if(1===oe.nodeType&&++Ue&&oe===q){Ce[f]=[b,at,Ue];break}}else if(nn&&(Ue=at=(le=(Ce=q[C]||(q[C]={}))[f]||[])[0]===b&&le[1]),!1===Ue)for(;(oe=++at&&oe&&oe[ut]||(Ue=at=0)||wt.pop())&&(!(ee?p(oe,Qt):1===oe.nodeType)||!++Ue||(nn&&((Ce=oe[C]||(oe[C]={}))[f]=[b,Ue]),oe!==q)););return(Ue-=O)===T||Ue%T==0&&0<=Ue/T}}},PSEUDO:function(f,v){var x,T=n.pseudos[f]||n.setFilters[f.toLowerCase()]||ie.error("unsupported pseudo: "+f);return T[C]?T(v):1<T.length?(x=[f,f,"",v],n.setFilters.hasOwnProperty(f.toLowerCase())?tt(function(O,Y){for(var V,ee=T(O,v),q=ee.length;q--;)O[V=Ee.call(O,ee[q])]=!(Y[V]=ee[q])}):function(O){return T(O,0,x)}):T}},pseudos:{not:tt(function(f){var v=[],x=[],T=Ii(f.replace(j,"$1"));return T[C]?tt(function(O,Y,V,ee){for(var q,ke=T(O,null,ee,[]),se=O.length;se--;)(q=ke[se])&&(O[se]=!(Y[se]=q))}):function(O,Y,V){return v[0]=O,T(v,null,V,x),v[0]=null,!x.pop()}}),has:tt(function(f){return function(v){return 0<ie(f,v).length}}),contains:tt(function(f){return f=f.replace(it,St),function(v){return-1<(v.textContent||o.text(v)).indexOf(f)}}),lang:tt(function(f){return vi.test(f||"")||ie.error("unsupported lang: "+f),f=f.replace(it,St).toLowerCase(),function(v){var x;do{if(x=c?v.lang:v.getAttribute("xml:lang")||v.getAttribute("lang"))return(x=x.toLowerCase())===f||0===x.indexOf(f+"-")}while((v=v.parentNode)&&1===v.nodeType);return!1}}),target:function(f){var v=L.location&&L.location.hash;return v&&v.slice(1)===f.id},root:function(f){return f===a},focus:function(f){return f===function(){try{return s.activeElement}catch{}}()&&s.hasFocus()&&!!(f.type||f.href||~f.tabIndex)},enabled:bi(!1),disabled:bi(!0),checked:function(f){return p(f,"input")&&!!f.checked||p(f,"option")&&!!f.selected},selected:function(f){return!0===f.selected},empty:function(f){for(f=f.firstChild;f;f=f.nextSibling)if(f.nodeType<6)return!1;return!0},parent:function(f){return!n.pseudos.empty(f)},header:function(f){return ui.test(f.nodeName)},input:function(f){return Rn.test(f.nodeName)},button:function(f){return p(f,"input")&&"button"===f.type||p(f,"button")},text:function(f){var v;return p(f,"input")&&"text"===f.type&&(null==(v=f.getAttribute("type"))||"text"===v.toLowerCase())},first:ei(function(){return[0]}),last:ei(function(f,v){return[v-1]}),eq:ei(function(f,v,x){return[x<0?x+v:x]}),even:ei(function(f,v){for(var x=0;x<v;x+=2)f.push(x);return f}),odd:ei(function(f,v){for(var x=1;x<v;x+=2)f.push(x);return f}),lt:ei(function(f,v,x){var T;for(T=x<0?x+v:v<x?v:x;0<=--T;)f.push(T);return f}),gt:ei(function(f,v,x){for(var T=x<0?x+v:x;++T<v;)f.push(T);return f})}}).pseudos.nth=n.pseudos.eq,{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})n.pseudos[t]=vn(t);for(t in{submit:!0,reset:!0})n.pseudos[t]=di(t);function Di(){}function yi(f,v){var x,T,O,Y,V,ee,q,ke=ne[f+" "];if(ke)return v?0:ke.slice(0);for(V=f,ee=[],q=n.preFilter;V;){for(Y in x&&!(T=We.exec(V))||(T&&(V=V.slice(T[0].length)||V),ee.push(O=[])),x=!1,(T=mi.exec(V))&&(x=T.shift(),O.push({value:x,type:T[0].replace(j," ")}),V=V.slice(x.length)),n.filter)!(T=kn[Y].exec(V))||q[Y]&&!(T=q[Y](T))||(x=T.shift(),O.push({value:x,type:Y,matches:T}),V=V.slice(x.length));if(!x)break}return v?V.length:V?ie.error(f):ne(f,ee).slice(0)}function Ai(f){for(var v=0,x=f.length,T="";v<x;v++)T+=f[v].value;return T}function wi(f,v,x){var T=v.dir,O=v.next,Y=O||T,V=x&&"parentNode"===Y,ee=I++;return v.first?function(q,ke,se){for(;q=q[T];)if(1===q.nodeType||V)return f(q,ke,se);return!1}:function(q,ke,se){var le,Ce,oe=[b,ee];if(se){for(;q=q[T];)if((1===q.nodeType||V)&&f(q,ke,se))return!0}else for(;q=q[T];)if(1===q.nodeType||V)if(Ce=q[C]||(q[C]={}),O&&p(q,O))q=q[T]||q;else{if((le=Ce[Y])&&le[0]===b&&le[1]===ee)return oe[2]=le[2];if((Ce[Y]=oe)[2]=f(q,ke,se))return!0}return!1}}function Ti(f){return 1<f.length?function(v,x,T){for(var O=f.length;O--;)if(!f[O](v,x,T))return!1;return!0}:f[0]}function _i(f,v,x,T,O){for(var Y,V=[],ee=0,q=f.length,ke=null!=v;ee<q;ee++)(Y=f[ee])&&(x&&!x(Y,T,O)||(V.push(Y),ke&&v.push(ee)));return V}function Si(f,v,x,T,O,Y){return T&&!T[C]&&(T=Si(T)),O&&!O[C]&&(O=Si(O,Y)),tt(function(V,ee,q,ke){var se,le,Ce,oe,at=[],wt=[],ut=ee.length,Pt=V||function(nn,Ue,ti){for(var rn=0,xi=Ue.length;rn<xi;rn++)ie(nn,Ue[rn],ti);return ti}(v||"*",q.nodeType?[q]:q,[]),Qt=!f||!V&&v?Pt:_i(Pt,at,f,q,ke);if(x?x(Qt,oe=O||(V?f:ut||T)?[]:ee,q,ke):oe=Qt,T)for(se=_i(oe,wt),T(se,[],q,ke),le=se.length;le--;)(Ce=se[le])&&(oe[wt[le]]=!(Qt[wt[le]]=Ce));if(V){if(O||f){if(O){for(se=[],le=oe.length;le--;)(Ce=oe[le])&&se.push(Qt[le]=Ce);O(null,oe=[],se,ke)}for(le=oe.length;le--;)(Ce=oe[le])&&-1<(se=O?Ee.call(V,Ce):at[le])&&(V[se]=!(ee[se]=Ce))}}else oe=_i(oe===ee?oe.splice(ut,oe.length):oe),O?O(null,ee,oe,ke):w.apply(ee,oe)})}function ki(f){for(var v,x,T,O=f.length,Y=n.relative[f[0].type],V=Y||n.relative[" "],ee=Y?1:0,q=wi(function(le){return le===v},V,!0),ke=wi(function(le){return-1<Ee.call(v,le)},V,!0),se=[function(le,Ce,oe){var at=!Y&&(oe||Ce!=e)||((v=Ce).nodeType?q(le,Ce,oe):ke(le,Ce,oe));return v=null,at}];ee<O;ee++)if(x=n.relative[f[ee].type])se=[wi(Ti(se),x)];else{if((x=n.filter[f[ee].type].apply(null,f[ee].matches))[C]){for(T=++ee;T<O&&!n.relative[f[T].type];T++);return Si(1<ee&&Ti(se),1<ee&&Ai(f.slice(0,ee-1).concat({value:" "===f[ee-2].type?"*":""})).replace(j,"$1"),x,ee<T&&ki(f.slice(ee,T)),T<O&&ki(f=f.slice(T)),T<O&&Ai(f))}se.push(x)}return Ti(se)}function Ii(f,v){var x,T,O,Y,V,ee,q=[],ke=[],se=K[f+" "];if(!se){for(v||(v=yi(f)),x=v.length;x--;)(se=ki(v[x]))[C]?q.push(se):ke.push(se);(se=K(f,(T=ke,Y=0<(O=q).length,V=0<T.length,ee=function(le,Ce,oe,at,wt){var ut,Pt,Qt,nn=0,Ue="0",ti=le&&[],rn=[],xi=e,ji=le||V&&n.find.TAG("*",wt),Li=b+=null==xi?1:Math.random()||.1,Pi=ji.length;for(wt&&(e=Ce==s||Ce||wt);Ue!==Pi&&null!=(ut=ji[Ue]);Ue++){if(V&&ut){for(Pt=0,Ce||ut.ownerDocument==s||(Fn(ut),oe=!c);Qt=T[Pt++];)if(Qt(ut,Ce||s,oe)){w.call(at,ut);break}wt&&(b=Li)}Y&&((ut=!Qt&&ut)&&nn--,le&&ti.push(ut))}if(nn+=Ue,Y&&Ue!==nn){for(Pt=0;Qt=O[Pt++];)Qt(ti,rn,Ce,oe);if(le){if(0<nn)for(;Ue--;)ti[Ue]||rn[Ue]||(rn[Ue]=_.call(at));rn=_i(rn)}w.apply(at,rn),wt&&!le&&0<rn.length&&1<nn+O.length&&o.uniqueSort(at)}return wt&&(b=Li,e=xi),ti},Y?tt(ee):ee))).selector=f}return se}function Oi(f,v,x,T){var O,Y,V,ee,q,ke="function"==typeof f&&f,se=!T&&yi(f=ke.selector||f);if(x=x||[],1===se.length){if(2<(Y=se[0]=se[0].slice(0)).length&&"ID"===(V=Y[0]).type&&9===v.nodeType&&c&&n.relative[Y[1].type]){if(!(v=(n.find.ID(V.matches[0].replace(it,St),v)||[])[0]))return x;ke&&(v=v.parentNode),f=f.slice(Y.shift().value.length)}for(O=kn.needsContext.test(f)?0:Y.length;O--&&!n.relative[ee=(V=Y[O]).type];)if((q=n.find[ee])&&(T=q(V.matches[0].replace(it,St),ct.test(Y[0].type)&&Ci(v.parentNode)||v))){if(Y.splice(O,1),!(f=T.length&&Ai(Y)))return w.apply(x,T),x;break}}return(ke||Ii(f,se))(T,v,!c,x,!v||ct.test(f)&&Ci(v.parentNode)||v),x}Di.prototype=n.filters=n.pseudos,n.setFilters=new Di,J.sortStable=C.split("").sort(Fe).join("")===C,Fn(),J.sortDetached=qe(function(f){return 1&f.compareDocumentPosition(s.createElement("fieldset"))}),o.find=ie,o.expr[":"]=o.expr.pseudos,o.unique=o.uniqueSort,ie.compile=Ii,ie.select=Oi,ie.setDocument=Fn,ie.tokenize=yi,ie.escape=o.escapeSelector,ie.getText=o.text,ie.isXML=o.isXMLDoc,ie.selectors=o.expr,ie.support=o.support,ie.uniqueSort=o.uniqueSort}();var ve=function(t,n,e){for(var i=[],r=void 0!==e;(t=t[n])&&9!==t.nodeType;)if(1===t.nodeType){if(r&&o(t).is(e))break;i.push(t)}return i},D=function(t,n){for(var e=[];t;t=t.nextSibling)1===t.nodeType&&t!==n&&e.push(t);return e},It=o.expr.match.needsContext,gt=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function Wt(t,n,e){return Z(n)?o.grep(t,function(i,r){return!!n.call(i,r,i)!==e}):n.nodeType?o.grep(t,function(i){return i===n!==e}):"string"!=typeof n?o.grep(t,function(i){return-1<Ee.call(n,i)!==e}):o.filter(n,t,e)}o.filter=function(t,n,e){var i=n[0];return e&&(t=":not("+t+")"),1===n.length&&1===i.nodeType?o.find.matchesSelector(i,t)?[i]:[]:o.find.matches(t,o.grep(n,function(r){return 1===r.nodeType}))},o.fn.extend({find:function(t){var n,e,i=this.length,r=this;if("string"!=typeof t)return this.pushStack(o(t).filter(function(){for(n=0;n<i;n++)if(o.contains(r[n],this))return!0}));for(e=this.pushStack([]),n=0;n<i;n++)o.find(t,r[n],e);return 1<i?o.uniqueSort(e):e},filter:function(t){return this.pushStack(Wt(this,t||[],!1))},not:function(t){return this.pushStack(Wt(this,t||[],!0))},is:function(t){return!!Wt(this,"string"==typeof t&&It.test(t)?o(t):t||[],!1).length}});var Vt,Hn=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(o.fn.init=function(t,n,e){var i,r;if(!t)return this;if(e=e||Vt,"string"==typeof t){if(!(i="<"===t[0]&&">"===t[t.length-1]&&3<=t.length?[null,t,null]:Hn.exec(t))||!i[1]&&n)return!n||n.jquery?(n||e).find(t):this.constructor(n).find(t);if(i[1]){if(o.merge(this,o.parseHTML(i[1],(n=n instanceof o?n[0]:n)&&n.nodeType?n.ownerDocument||n:z,!0)),gt.test(i[1])&&o.isPlainObject(n))for(i in n)Z(this[i])?this[i](n[i]):this.attr(i,n[i]);return this}return(r=z.getElementById(i[2]))&&(this[0]=r,this.length=1),this}return t.nodeType?(this[0]=t,this.length=1,this):Z(t)?void 0!==e.ready?e.ready(t):t(o):o.makeArray(t,this)}).prototype=o.fn,Vt=o(z);var Dt=/^(?:parents|prev(?:Until|All))/,on={children:!0,contents:!0,next:!0,prev:!0};function mt(t,n){for(;(t=t[n])&&1!==t.nodeType;);return t}o.fn.extend({has:function(t){var n=o(t,this),e=n.length;return this.filter(function(){for(var i=0;i<e;i++)if(o.contains(this,n[i]))return!0})},closest:function(t,n){var e,i=0,r=this.length,s=[],a="string"!=typeof t&&o(t);if(!It.test(t))for(;i<r;i++)for(e=this[i];e&&e!==n;e=e.parentNode)if(e.nodeType<11&&(a?-1<a.index(e):1===e.nodeType&&o.find.matchesSelector(e,t))){s.push(e);break}return this.pushStack(1<s.length?o.uniqueSort(s):s)},index:function(t){return t?"string"==typeof t?Ee.call(o(t),this[0]):Ee.call(this,t.jquery?t[0]:t):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(t,n){return this.pushStack(o.uniqueSort(o.merge(this.get(),o(t,n))))},addBack:function(t){return this.add(null==t?this.prevObject:this.prevObject.filter(t))}}),o.each({parent:function(t){var n=t.parentNode;return n&&11!==n.nodeType?n:null},parents:function(t){return ve(t,"parentNode")},parentsUntil:function(t,n,e){return ve(t,"parentNode",e)},next:function(t){return mt(t,"nextSibling")},prev:function(t){return mt(t,"previousSibling")},nextAll:function(t){return ve(t,"nextSibling")},prevAll:function(t){return ve(t,"previousSibling")},nextUntil:function(t,n,e){return ve(t,"nextSibling",e)},prevUntil:function(t,n,e){return ve(t,"previousSibling",e)},siblings:function(t){return D((t.parentNode||{}).firstChild,t)},children:function(t){return D(t.firstChild)},contents:function(t){return null!=t.contentDocument&&ye(t.contentDocument)?t.contentDocument:(p(t,"template")&&(t=t.content||t),o.merge([],t.childNodes))}},function(t,n){o.fn[t]=function(e,i){var r=o.map(this,n,e);return"Until"!==t.slice(-5)&&(i=e),i&&"string"==typeof i&&(r=o.filter(i,r)),1<this.length&&(on[t]||o.uniqueSort(r),Dt.test(t)&&r.reverse()),this.pushStack(r)}});var vt=/[^\x20\t\r\n\f]+/g;function $(t){return t}function zt(t){throw t}function sn(t,n,e,i){var r;try{t&&Z(r=t.promise)?r.call(t).done(n).fail(e):t&&Z(r=t.then)?r.call(t,n,e):n.apply(void 0,[t].slice(i))}catch(s){e.apply(void 0,[s])}}o.Callbacks=function(t){var e;t="string"==typeof t?(e={},o.each(t.match(vt)||[],function(b,I){e[I]=!0}),e):o.extend({},t);var i,r,s,a,c=[],d=[],m=-1,w=function(){for(a=a||t.once,s=i=!0;d.length;m=-1)for(r=d.shift();++m<c.length;)!1===c[m].apply(r[0],r[1])&&t.stopOnFalse&&(m=c.length,r=!1);t.memory||(r=!1),i=!1,a&&(c=r?[]:"")},C={add:function(){return c&&(r&&!i&&(m=c.length-1,d.push(r)),function b(I){o.each(I,function(W,ne){Z(ne)?t.unique&&C.has(ne)||c.push(ne):ne&&ne.length&&"string"!==G(ne)&&b(ne)})}(arguments),r&&!i&&w()),this},remove:function(){return o.each(arguments,function(b,I){for(var W;-1<(W=o.inArray(I,c,W));)c.splice(W,1),W<=m&&m--}),this},has:function(b){return b?-1<o.inArray(b,c):0<c.length},empty:function(){return c&&(c=[]),this},disable:function(){return a=d=[],c=r="",this},disabled:function(){return!c},lock:function(){return a=d=[],r||i||(c=r=""),this},locked:function(){return!!a},fireWith:function(b,I){return a||(I=[b,(I=I||[]).slice?I.slice():I],d.push(I),i||w()),this},fire:function(){return C.fireWith(this,arguments),this},fired:function(){return!!s}};return C},o.extend({Deferred:function(t){var n=[["notify","progress",o.Callbacks("memory"),o.Callbacks("memory"),2],["resolve","done",o.Callbacks("once memory"),o.Callbacks("once memory"),0,"resolved"],["reject","fail",o.Callbacks("once memory"),o.Callbacks("once memory"),1,"rejected"]],e="pending",i={state:function(){return e},always:function(){return r.done(arguments).fail(arguments),this},catch:function(s){return i.then(null,s)},pipe:function(){var s=arguments;return o.Deferred(function(a){o.each(n,function(c,d){var m=Z(s[d[4]])&&s[d[4]];r[d[1]](function(){var w=m&&m.apply(this,arguments);w&&Z(w.promise)?w.promise().progress(a.notify).done(a.resolve).fail(a.reject):a[d[0]+"With"](this,m?[w]:arguments)})}),s=null}).promise()},then:function(s,a,c){var d=0;function m(w,C,b,I){return function(){var W=this,ne=arguments,K=function(){var Fe,Tt;if(!(w<d)){if((Fe=b.apply(W,ne))===C.promise())throw new TypeError("Thenable self-resolution");Z(Tt=Fe&&("object"==typeof Fe||"function"==typeof Fe)&&Fe.then)?I?Tt.call(Fe,m(d,C,$,I),m(d,C,zt,I)):(d++,Tt.call(Fe,m(d,C,$,I),m(d,C,zt,I),m(d,C,$,C.notifyWith))):(b!==$&&(W=void 0,ne=[Fe]),(I||C.resolveWith)(W,ne))}},Se=I?K:function(){try{K()}catch(Fe){o.Deferred.exceptionHook&&o.Deferred.exceptionHook(Fe,Se.error),d<=w+1&&(b!==zt&&(W=void 0,ne=[Fe]),C.rejectWith(W,ne))}};w?Se():(o.Deferred.getErrorHook?Se.error=o.Deferred.getErrorHook():o.Deferred.getStackHook&&(Se.error=o.Deferred.getStackHook()),L.setTimeout(Se))}}return o.Deferred(function(w){n[0][3].add(m(0,w,Z(c)?c:$,w.notifyWith)),n[1][3].add(m(0,w,Z(s)?s:$)),n[2][3].add(m(0,w,Z(a)?a:zt))}).promise()},promise:function(s){return null!=s?o.extend(s,i):i}},r={};return o.each(n,function(s,a){var c=a[2],d=a[5];i[a[1]]=c.add,d&&c.add(function(){e=d},n[3-s][2].disable,n[3-s][3].disable,n[0][2].lock,n[0][3].lock),c.add(a[3].fire),r[a[0]]=function(){return r[a[0]+"With"](this===r?void 0:this,arguments),this},r[a[0]+"With"]=c.fireWith}),i.promise(r),t&&t.call(r,r),r},when:function(t){var n=arguments.length,e=n,i=Array(e),r=de.call(arguments),s=o.Deferred(),a=function(c){return function(d){i[c]=this,r[c]=1<arguments.length?de.call(arguments):d,--n||s.resolveWith(i,r)}};if(n<=1&&(sn(t,s.done(a(e)).resolve,s.reject,!n),"pending"===s.state()||Z(r[e]&&r[e].then)))return s.then();for(;e--;)sn(r[e],a(e),s.reject);return s.promise()}});var ni=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;o.Deferred.exceptionHook=function(t,n){L.console&&L.console.warn&&t&&ni.test(t.name)&&L.console.warn("jQuery.Deferred exception: "+t.message,t.stack,n)},o.readyException=function(t){L.setTimeout(function(){throw t})};var Gt=o.Deferred();function In(){z.removeEventListener("DOMContentLoaded",In),L.removeEventListener("load",In),o.ready()}o.fn.ready=function(t){return Gt.then(t).catch(function(n){o.readyException(n)}),this},o.extend({isReady:!1,readyWait:1,ready:function(t){(!0===t?--o.readyWait:o.isReady)||(o.isReady=!0)!==t&&0<--o.readyWait||Gt.resolveWith(z,[o])}}),o.ready.then=Gt.then,"complete"===z.readyState||"loading"!==z.readyState&&!z.documentElement.doScroll?L.setTimeout(o.ready):(z.addEventListener("DOMContentLoaded",In),L.addEventListener("load",In));var Nt=function(t,n,e,i,r,s,a){var c=0,d=t.length,m=null==e;if("object"===G(e))for(c in r=!0,e)Nt(t,n,c,e[c],!0,s,a);else if(void 0!==i&&(r=!0,Z(i)||(a=!0),m&&(a?(n.call(t,i),n=null):(m=n,n=function(w,C,b){return m.call(o(w),b)})),n))for(;c<d;c++)n(t[c],e,a?i:i.call(t[c],c,n(t[c],e)));return r?t:m?n.call(t):d?n(t[0],e):s},an=/^-ms-/,yn=/-([a-z])/g;function ln(t,n){return n.toUpperCase()}function ot(t){return t.replace(an,"ms-").replace(yn,ln)}var st=function(t){return 1===t.nodeType||9===t.nodeType||!+t.nodeType};function dt(){this.expando=o.expando+dt.uid++}dt.uid=1,dt.prototype={cache:function(t){var n=t[this.expando];return n||(n={},st(t)&&(t.nodeType?t[this.expando]=n:Object.defineProperty(t,this.expando,{value:n,configurable:!0}))),n},set:function(t,n,e){var i,r=this.cache(t);if("string"==typeof n)r[ot(n)]=e;else for(i in n)r[ot(i)]=n[i];return r},get:function(t,n){return void 0===n?this.cache(t):t[this.expando]&&t[this.expando][ot(n)]},access:function(t,n,e){return void 0===n||n&&"string"==typeof n&&void 0===e?this.get(t,n):(this.set(t,n,e),void 0!==e?e:n)},remove:function(t,n){var e,i=t[this.expando];if(void 0!==i){if(void 0!==n)for((e=(n=Array.isArray(n)?n.map(ot):(n=ot(n))in i?[n]:n.match(vt)||[]).length);e--;)delete i[n[e]];(void 0===n||o.isEmptyObject(i))&&(t.nodeType?t[this.expando]=void 0:delete t[this.expando])}},hasData:function(t){var n=t[this.expando];return void 0!==n&&!o.isEmptyObject(n)}};var X=new dt,Ge=new dt,fi=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,pi=/[A-Z]/g;function yt(t,n,e){var i,r;if(void 0===e&&1===t.nodeType)if(i="data-"+n.replace(pi,"-$&").toLowerCase(),"string"==typeof(e=t.getAttribute(i))){try{e="true"===(r=e)||"false"!==r&&("null"===r?null:r===+r+""?+r:fi.test(r)?JSON.parse(r):r)}catch{}Ge.set(t,n,e)}else e=void 0;return e}o.extend({hasData:function(t){return Ge.hasData(t)||X.hasData(t)},data:function(t,n,e){return Ge.access(t,n,e)},removeData:function(t,n){Ge.remove(t,n)},_data:function(t,n,e){return X.access(t,n,e)},_removeData:function(t,n){X.remove(t,n)}}),o.fn.extend({data:function(t,n){var e,i,r,s=this[0],a=s&&s.attributes;if(void 0===t){if(this.length&&(r=Ge.get(s),1===s.nodeType&&!X.get(s,"hasDataAttrs"))){for(e=a.length;e--;)a[e]&&0===(i=a[e].name).indexOf("data-")&&(i=ot(i.slice(5)),yt(s,i,r[i]));X.set(s,"hasDataAttrs",!0)}return r}return"object"==typeof t?this.each(function(){Ge.set(this,t)}):Nt(this,function(c){var d;if(s&&void 0===c)return void 0!==(d=Ge.get(s,t))||void 0!==(d=yt(s,t))?d:void 0;this.each(function(){Ge.set(this,t,c)})},null,n,1<arguments.length,null,!0)},removeData:function(t){return this.each(function(){Ge.remove(this,t)})}}),o.extend({queue:function(t,n,e){var i;if(t)return i=X.get(t,n=(n||"fx")+"queue"),e&&(!i||Array.isArray(e)?i=X.access(t,n,o.makeArray(e)):i.push(e)),i||[]},dequeue:function(t,n){var e=o.queue(t,n=n||"fx"),i=e.length,r=e.shift(),s=o._queueHooks(t,n);"inprogress"===r&&(r=e.shift(),i--),r&&("fx"===n&&e.unshift("inprogress"),delete s.stop,r.call(t,function(){o.dequeue(t,n)},s)),!i&&s&&s.empty.fire()},_queueHooks:function(t,n){var e=n+"queueHooks";return X.get(t,e)||X.access(t,e,{empty:o.Callbacks("once memory").add(function(){X.remove(t,[n+"queue",e])})})}}),o.fn.extend({queue:function(t,n){var e=2;return"string"!=typeof t&&(n=t,t="fx",e--),arguments.length<e?o.queue(this[0],t):void 0===n?this:this.each(function(){var i=o.queue(this,t,n);o._queueHooks(this,t),"fx"===t&&"inprogress"!==i[0]&&o.dequeue(this,t)})},dequeue:function(t){return this.each(function(){o.dequeue(this,t)})},clearQueue:function(t){return this.queue(t||"fx",[])},promise:function(t,n){var e,i=1,r=o.Deferred(),s=this,a=this.length,c=function(){--i||r.resolveWith(s,[s])};for("string"!=typeof t&&(n=t,t=void 0),t=t||"fx";a--;)(e=X.get(s[a],t+"queueHooks"))&&e.empty&&(i++,e.empty.add(c));return c(),r.promise(n)}});var Kt=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,Jt=new RegExp("^(?:([+-])=|)("+Kt+")([a-z%]*)$","i"),bt=["Top","Right","Bottom","Left"],_t=z.documentElement,Ot=function(t){return o.contains(t.ownerDocument,t)},hi={composed:!0};_t.getRootNode&&(Ot=function(t){return o.contains(t.ownerDocument,t)||t.getRootNode(hi)===t.ownerDocument});var bn=function(t,n){return"none"===(t=n||t).style.display||""===t.style.display&&Ot(t)&&"none"===o.css(t,"display")};function Zt(t,n,e,i){var r,s,a=20,c=i?function(){return i.cur()}:function(){return o.css(t,n,"")},d=c(),m=e&&e[3]||(o.cssNumber[n]?"":"px"),w=t.nodeType&&(o.cssNumber[n]||"px"!==m&&+d)&&Jt.exec(o.css(t,n));if(w&&w[3]!==m){for(m=m||w[3],w=+(d/=2)||1;a--;)o.style(t,n,w+m),(1-s)*(1-(s=c()/d||.5))<=0&&(a=0),w/=s;o.style(t,n,(w*=2)+m),e=e||[]}return e&&(w=+w||+d||0,r=e[1]?w+(e[1]+1)*e[2]:+e[2],i&&(i.unit=m,i.start=w,i.end=r)),r}var Qn={};function xt(t,n){for(var e,i,r,s,a,c,d,m=[],w=0,C=t.length;w<C;w++)(i=t[w]).style&&(e=i.style.display,n?("none"===e&&(m[w]=X.get(i,"display")||null,m[w]||(i.style.display="")),""===i.style.display&&bn(i)&&(m[w]=(d=a=s=void 0,a=(r=i).ownerDocument,(d=Qn[c=r.nodeName])||(s=a.body.appendChild(a.createElement(c)),d=o.css(s,"display"),s.parentNode.removeChild(s),"none"===d&&(d="block"),Qn[c]=d)))):"none"!==e&&(m[w]="none",X.set(i,"display",e)));for(w=0;w<C;w++)null!=m[w]&&(t[w].style.display=m[w]);return t}o.fn.extend({show:function(){return xt(this,!0)},hide:function(){return xt(this)},toggle:function(t){return"boolean"==typeof t?t?this.show():this.hide():this.each(function(){bn(this)?o(this).show():o(this).hide()})}});var jt,cn,$t=/^(?:checkbox|radio)$/i,Xt=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i,Mt=/^$|^module$|\/(?:java|ecma)script/i;jt=z.createDocumentFragment().appendChild(z.createElement("div")),(cn=z.createElement("input")).setAttribute("type","radio"),cn.setAttribute("checked","checked"),cn.setAttribute("name","t"),jt.appendChild(cn),J.checkClone=jt.cloneNode(!0).cloneNode(!0).lastChild.checked,jt.innerHTML="<textarea>x</textarea>",J.noCloneChecked=!!jt.cloneNode(!0).lastChild.defaultValue,jt.innerHTML="<option></option>",J.option=!!jt.lastChild;var $e={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 Ke(t,n){var e;return e=typeof t.getElementsByTagName<"u"?t.getElementsByTagName(n||"*"):typeof t.querySelectorAll<"u"?t.querySelectorAll(n||"*"):[],void 0===n||n&&p(t,n)?o.merge([t],e):e}function Wn(t,n){for(var e=0,i=t.length;e<i;e++)X.set(t[e],"globalEval",!n||X.get(n[e],"globalEval"))}$e.tbody=$e.tfoot=$e.colgroup=$e.caption=$e.thead,$e.th=$e.td,J.option||($e.optgroup=$e.option=[1,"<select multiple='multiple'>","</select>"]);var ii=/<|&#?\w+;/;function qn(t,n,e,i,r){for(var s,a,c,d,m,w,C=n.createDocumentFragment(),b=[],I=0,W=t.length;I<W;I++)if((s=t[I])||0===s)if("object"===G(s))o.merge(b,s.nodeType?[s]:s);else if(ii.test(s)){for(a=a||C.appendChild(n.createElement("div")),c=(Xt.exec(s)||["",""])[1].toLowerCase(),a.innerHTML=(d=$e[c]||$e._default)[1]+o.htmlPrefilter(s)+d[2],w=d[0];w--;)a=a.lastChild;o.merge(b,a.childNodes),(a=C.firstChild).textContent=""}else b.push(n.createTextNode(s));for(C.textContent="",I=0;s=b[I++];)if(i&&-1<o.inArray(s,i))r&&r.push(s);else if(m=Ot(s),a=Ke(C.appendChild(s),"script"),m&&Wn(a),e)for(w=0;s=a[w++];)Mt.test(s.type||"")&&e.push(s);return C}var Dn=/^([^.]*)(?:\.(.+)|)/;function Rt(){return!0}function un(){return!1}function An(t,n,e,i,r,s){var a,c;if("object"==typeof n){for(c in"string"!=typeof e&&(i=i||e,e=void 0),n)An(t,c,e,i,n[c],s);return t}if(null==i&&null==r?(r=e,i=e=void 0):null==r&&("string"==typeof e?(r=i,i=void 0):(r=i,i=e,e=void 0)),!1===r)r=un;else if(!r)return t;return 1===s&&(a=r,(r=function(d){return o().off(d),a.apply(this,arguments)}).guid=a.guid||(a.guid=o.guid++)),t.each(function(){o.event.add(this,n,r,i,e)})}function On(t,n,e){e?(X.set(t,n,!1),o.event.add(t,n,{namespace:!1,handler:function(i){var r,s=X.get(this,n);if(1&i.isTrigger&&this[n]){if(s)(o.event.special[n]||{}).delegateType&&i.stopPropagation();else if(s=de.call(arguments),X.set(this,n,s),this[n](),r=X.get(this,n),X.set(this,n,!1),s!==r)return i.stopImmediatePropagation(),i.preventDefault(),r}else s&&(X.set(this,n,o.event.trigger(s[0],s.slice(1),this)),i.stopPropagation(),i.isImmediatePropagationStopped=Rt)}})):void 0===X.get(t,n)&&o.event.add(t,n,Rt)}o.event={global:{},add:function(t,n,e,i,r){var s,a,c,d,m,w,C,b,I,W,ne,K=X.get(t);if(st(t))for(e.handler&&(e=(s=e).handler,r=s.selector),r&&o.find.matchesSelector(_t,r),e.guid||(e.guid=o.guid++),(d=K.events)||(d=K.events=Object.create(null)),(a=K.handle)||(a=K.handle=function(Se){return typeof o<"u"&&o.event.triggered!==Se.type?o.event.dispatch.apply(t,arguments):void 0}),m=(n=(n||"").match(vt)||[""]).length;m--;)I=ne=(c=Dn.exec(n[m])||[])[1],W=(c[2]||"").split(".").sort(),I&&(C=o.event.special[I]||{},C=o.event.special[I=(r?C.delegateType:C.bindType)||I]||{},w=o.extend({type:I,origType:ne,data:i,handler:e,guid:e.guid,selector:r,needsContext:r&&o.expr.match.needsContext.test(r),namespace:W.join(".")},s),(b=d[I])||((b=d[I]=[]).delegateCount=0,C.setup&&!1!==C.setup.call(t,i,W,a)||t.addEventListener&&t.addEventListener(I,a)),C.add&&(C.add.call(t,w),w.handler.guid||(w.handler.guid=e.guid)),r?b.splice(b.delegateCount++,0,w):b.push(w),o.event.global[I]=!0)},remove:function(t,n,e,i,r){var s,a,c,d,m,w,C,b,I,W,ne,K=X.hasData(t)&&X.get(t);if(K&&(d=K.events)){for(m=(n=(n||"").match(vt)||[""]).length;m--;)if(I=ne=(c=Dn.exec(n[m])||[])[1],W=(c[2]||"").split(".").sort(),I){for(C=o.event.special[I]||{},b=d[I=(i?C.delegateType:C.bindType)||I]||[],c=c[2]&&new RegExp("(^|\\.)"+W.join("\\.(?:.*\\.|)")+"(\\.|$)"),a=s=b.length;s--;)w=b[s],!r&&ne!==w.origType||e&&e.guid!==w.guid||c&&!c.test(w.namespace)||i&&i!==w.selector&&("**"!==i||!w.selector)||(b.splice(s,1),w.selector&&b.delegateCount--,C.remove&&C.remove.call(t,w));a&&!b.length&&(C.teardown&&!1!==C.teardown.call(t,W,K.handle)||o.removeEvent(t,I,K.handle),delete d[I])}else for(I in d)o.event.remove(t,I+n[m],e,i,!0);o.isEmptyObject(d)&&X.remove(t,"handle events")}},dispatch:function(t){var n,e,i,r,s,a,c=new Array(arguments.length),d=o.event.fix(t),m=(X.get(this,"events")||Object.create(null))[d.type]||[],w=o.event.special[d.type]||{};for(c[0]=d,n=1;n<arguments.length;n++)c[n]=arguments[n];if(d.delegateTarget=this,!w.preDispatch||!1!==w.preDispatch.call(this,d)){for(a=o.event.handlers.call(this,d,m),n=0;(r=a[n++])&&!d.isPropagationStopped();)for(d.currentTarget=r.elem,e=0;(s=r.handlers[e++])&&!d.isImmediatePropagationStopped();)d.rnamespace&&!1!==s.namespace&&!d.rnamespace.test(s.namespace)||(d.handleObj=s,d.data=s.data,void 0!==(i=((o.event.special[s.origType]||{}).handle||s.handler).apply(r.elem,c))&&!1===(d.result=i)&&(d.preventDefault(),d.stopPropagation()));return w.postDispatch&&w.postDispatch.call(this,d),d.result}},handlers:function(t,n){var e,i,r,s,a,c=[],d=n.delegateCount,m=t.target;if(d&&m.nodeType&&!("click"===t.type&&1<=t.button))for(;m!==this;m=m.parentNode||this)if(1===m.nodeType&&("click"!==t.type||!0!==m.disabled)){for(s=[],a={},e=0;e<d;e++)void 0===a[r=(i=n[e]).selector+" "]&&(a[r]=i.needsContext?-1<o(r,this).index(m):o.find(r,this,null,[m]).length),a[r]&&s.push(i);s.length&&c.push({elem:m,handlers:s})}return m=this,d<n.length&&c.push({elem:m,handlers:n.slice(d)}),c},addProp:function(t,n){Object.defineProperty(o.Event.prototype,t,{enumerable:!0,configurable:!0,get:Z(n)?function(){if(this.originalEvent)return n(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[t]},set:function(e){Object.defineProperty(this,t,{enumerable:!0,configurable:!0,writable:!0,value:e})}})},fix:function(t){return t[o.expando]?t:new o.Event(t)},special:{load:{noBubble:!0},click:{setup:function(t){var n=this||t;return $t.test(n.type)&&n.click&&p(n,"input")&&On(n,"click",!0),!1},trigger:function(t){var n=this||t;return $t.test(n.type)&&n.click&&p(n,"input")&&On(n,"click"),!0},_default:function(t){var n=t.target;return $t.test(n.type)&&n.click&&p(n,"input")&&X.get(n,"click")||p(n,"a")}},beforeunload:{postDispatch:function(t){void 0!==t.result&&t.originalEvent&&(t.originalEvent.returnValue=t.result)}}}},o.removeEvent=function(t,n,e){t.removeEventListener&&t.removeEventListener(n,e)},o.Event=function(t,n){if(!(this instanceof o.Event))return new o.Event(t,n);t&&t.type?(this.originalEvent=t,this.type=t.type,this.isDefaultPrevented=t.defaultPrevented||void 0===t.defaultPrevented&&!1===t.returnValue?Rt:un,this.target=t.target&&3===t.target.nodeType?t.target.parentNode:t.target,this.currentTarget=t.currentTarget,this.relatedTarget=t.relatedTarget):this.type=t,n&&o.extend(this,n),this.timeStamp=t&&t.timeStamp||Date.now(),this[o.expando]=!0},o.Event.prototype={constructor:o.Event,isDefaultPrevented:un,isPropagationStopped:un,isImmediatePropagationStopped:un,isSimulated:!1,preventDefault:function(){var t=this.originalEvent;this.isDefaultPrevented=Rt,t&&!this.isSimulated&&t.preventDefault()},stopPropagation:function(){var t=this.originalEvent;this.isPropagationStopped=Rt,t&&!this.isSimulated&&t.stopPropagation()},stopImmediatePropagation:function(){var t=this.originalEvent;this.isImmediatePropagationStopped=Rt,t&&!this.isSimulated&&t.stopImmediatePropagation(),this.stopPropagation()}},o.each({altKey:!0,bubbles:!0,cancelable:!0,changedTouches:!0,ctrlKey:!0,detail:!0,eventPhase:!0,metaKey:!0,pageX:!0,pageY:!0,shiftKey:!0,view:!0,char:!0,code:!0,charCode:!0,key:!0,keyCode:!0,button:!0,buttons:!0,clientX:!0,clientY:!0,offsetX:!0,offsetY:!0,pointerId:!0,pointerType:!0,screenX:!0,screenY:!0,targetTouches:!0,toElement:!0,touches:!0,which:!0},o.event.addProp),o.each({focus:"focusin",blur:"focusout"},function(t,n){function e(i){if(z.documentMode){var r=X.get(this,"handle"),s=o.event.fix(i);s.type="focusin"===i.type?"focus":"blur",s.isSimulated=!0,r(i),s.target===s.currentTarget&&r(s)}else o.event.simulate(n,i.target,o.event.fix(i))}o.event.special[t]={setup:function(){var i;if(On(this,t,!0),!z.documentMode)return!1;(i=X.get(this,n))||this.addEventListener(n,e),X.set(this,n,(i||0)+1)},trigger:function(){return On(this,t),!0},teardown:function(){var i;if(!z.documentMode)return!1;(i=X.get(this,n)-1)?X.set(this,n,i):(this.removeEventListener(n,e),X.remove(this,n))},_default:function(i){return X.get(i.target,t)},delegateType:n},o.event.special[n]={setup:function(){var i=this.ownerDocument||this.document||this,r=z.documentMode?this:i,s=X.get(r,n);s||(z.documentMode?this.addEventListener(n,e):i.addEventListener(t,e,!0)),X.set(r,n,(s||0)+1)},teardown:function(){var i=this.ownerDocument||this.document||this,r=z.documentMode?this:i,s=X.get(r,n)-1;s?X.set(r,n,s):(z.documentMode?this.removeEventListener(n,e):i.removeEventListener(t,e,!0),X.remove(r,n))}}}),o.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(t,n){o.event.special[t]={delegateType:n,bindType:n,handle:function(e){var i,r=e.relatedTarget,s=e.handleObj;return r&&(r===this||o.contains(this,r))||(e.type=s.origType,i=s.handler.apply(this,arguments),e.type=n),i}}}),o.fn.extend({on:function(t,n,e,i){return An(this,t,n,e,i)},one:function(t,n,e,i){return An(this,t,n,e,i,1)},off:function(t,n,e){var i,r;if(t&&t.preventDefault&&t.handleObj)return i=t.handleObj,o(t.delegateTarget).off(i.namespace?i.origType+"."+i.namespace:i.origType,i.selector,i.handler),this;if("object"==typeof t){for(r in t)this.off(r,n,t[r]);return this}return!1!==n&&"function"!=typeof n||(e=n,n=void 0),!1===e&&(e=un),this.each(function(){o.event.remove(this,t,e,n)})}});var ft=/<script|<style|<link/i,ri=/checked\s*(?:[^=]|=\s*.checked.)/i,oi=/^\s*<!\[CDATA\[|\]\]>\s*$/g;function dn(t,n){return p(t,"table")&&p(11!==n.nodeType?n:n.firstChild,"tr")&&o(t).children("tbody")[0]||t}function si(t){return t.type=(null!==t.getAttribute("type"))+"/"+t.type,t}function wn(t){return"true/"===(t.type||"").slice(0,5)?t.type=t.type.slice(5):t.removeAttribute("type"),t}function Un(t,n){var e,i,r,s,a,c;if(1===n.nodeType){if(X.hasData(t)&&(c=X.get(t).events))for(r in X.remove(n,"handle events"),c)for(e=0,i=c[r].length;e<i;e++)o.event.add(n,r,c[r][e]);Ge.hasData(t)&&(s=Ge.access(t),a=o.extend({},s),Ge.set(n,a))}}function en(t,n,e,i){n=Le(n);var r,s,a,c,d,m,w=0,C=t.length,b=C-1,I=n[0],W=Z(I);if(W||1<C&&"string"==typeof I&&!J.checkClone&&ri.test(I))return t.each(function(ne){var K=t.eq(ne);W&&(n[0]=I.call(this,ne,K.html())),en(K,n,e,i)});if(C&&(s=(r=qn(n,t[0].ownerDocument,!1,t,i)).firstChild,1===r.childNodes.length&&(r=s),s||i)){for(c=(a=o.map(Ke(r,"script"),si)).length;w<C;w++)d=r,w!==b&&(d=o.clone(d,!0,!0),c&&o.merge(a,Ke(d,"script"))),e.call(t[w],d,w);if(c)for(m=a[a.length-1].ownerDocument,o.map(a,wn),w=0;w<c;w++)Mt.test((d=a[w]).type||"")&&!X.access(d,"globalEval")&&o.contains(m,d)&&(d.src&&"module"!==(d.type||"").toLowerCase()?o._evalUrl&&!d.noModule&&o._evalUrl(d.src,{nonce:d.nonce||d.getAttribute("nonce")},m):nt(d.textContent.replace(oi,""),d,m))}return t}function jn(t,n,e){for(var i,r=n?o.filter(n,t):t,s=0;null!=(i=r[s]);s++)e||1!==i.nodeType||o.cleanData(Ke(i)),i.parentNode&&(e&&Ot(i)&&Wn(Ke(i,"script")),i.parentNode.removeChild(i));return t}o.extend({htmlPrefilter:function(t){return t},clone:function(t,n,e){var i,r,s,a,c,d,m,w=t.cloneNode(!0),C=Ot(t);if(!(J.noCloneChecked||1!==t.nodeType&&11!==t.nodeType||o.isXMLDoc(t)))for(a=Ke(w),i=0,r=(s=Ke(t)).length;i<r;i++)c=s[i],"input"===(m=(d=a[i]).nodeName.toLowerCase())&&$t.test(c.type)?d.checked=c.checked:"input"!==m&&"textarea"!==m||(d.defaultValue=c.defaultValue);if(n)if(e)for(s=s||Ke(t),a=a||Ke(w),i=0,r=s.length;i<r;i++)Un(s[i],a[i]);else Un(t,w);return 0<(a=Ke(w,"script")).length&&Wn(a,!C&&Ke(t,"script")),w},cleanData:function(t){for(var n,e,i,r=o.event.special,s=0;void 0!==(e=t[s]);s++)if(st(e)){if(n=e[X.expando]){if(n.events)for(i in n.events)r[i]?o.event.remove(e,i):o.removeEvent(e,i,n.handle);e[X.expando]=void 0}e[Ge.expando]&&(e[Ge.expando]=void 0)}}}),o.fn.extend({detach:function(t){return jn(this,t,!0)},remove:function(t){return jn(this,t)},text:function(t){return Nt(this,function(n){return void 0===n?o.text(this):this.empty().each(function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=n)})},null,t,arguments.length)},append:function(){return en(this,arguments,function(t){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||dn(this,t).appendChild(t)})},prepend:function(){return en(this,arguments,function(t){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var n=dn(this,t);n.insertBefore(t,n.firstChild)}})},before:function(){return en(this,arguments,function(t){this.parentNode&&this.parentNode.insertBefore(t,this)})},after:function(){return en(this,arguments,function(t){this.parentNode&&this.parentNode.insertBefore(t,this.nextSibling)})},empty:function(){for(var t,n=0;null!=(t=this[n]);n++)1===t.nodeType&&(o.cleanData(Ke(t,!1)),t.textContent="");return this},clone:function(t,n){return t=null!=t&&t,n=n??t,this.map(function(){return o.clone(this,t,n)})},html:function(t){return Nt(this,function(n){var e=this[0]||{},i=0,r=this.length;if(void 0===n&&1===e.nodeType)return e.innerHTML;if("string"==typeof n&&!ft.test(n)&&!$e[(Xt.exec(n)||["",""])[1].toLowerCase()]){n=o.htmlPrefilter(n);try{for(;i<r;i++)1===(e=this[i]||{}).nodeType&&(o.cleanData(Ke(e,!1)),e.innerHTML=n);e=0}catch{}}e&&this.empty().append(n)},null,t,arguments.length)},replaceWith:function(){var t=[];return en(this,arguments,function(n){var e=this.parentNode;o.inArray(this,t)<0&&(o.cleanData(Ke(this)),e&&e.replaceChild(n,this))},t)}}),o.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(t,n){o.fn[t]=function(e){for(var i,r=[],s=o(e),a=s.length-1,c=0;c<=a;c++)i=c===a?this:this.clone(!0),o(s[c])[n](i),xe.apply(r,i.get());return this.pushStack(r)}});var Yn=new RegExp("^("+Kt+")(?!px)[a-z%]+$","i"),Ln=/^--/,fn=function(t){var n=t.ownerDocument.defaultView;return n&&n.opener||(n=L),n.getComputedStyle(t)},Vn=function(t,n,e){var i,r,s={};for(r in n)s[r]=t.style[r],t.style[r]=n[r];for(r in i=e.call(t),n)t.style[r]=s[r];return i},Pn=new RegExp(bt.join("|"),"i");function _n(t,n,e){var i,r,s,a,c=Ln.test(n),d=t.style;return(e=e||fn(t))&&(a=e.getPropertyValue(n)||e[n],c&&a&&(a=a.replace(j,"$1")||void 0),""!==a||Ot(t)||(a=o.style(t,n)),!J.pixelBoxStyles()&&Yn.test(a)&&Pn.test(n)&&(i=d.width,r=d.minWidth,s=d.maxWidth,d.minWidth=d.maxWidth=d.width=a,a=e.width,d.width=i,d.minWidth=r,d.maxWidth=s)),void 0!==a?a+"":a}function Nn(t,n){return{get:function(){if(!t())return(this.get=n).apply(this,arguments);delete this.get}}}!function(){function t(){if(m){d.style.cssText="position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0",m.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%",_t.appendChild(d).appendChild(m);var w=L.getComputedStyle(m);e="1%"!==w.top,c=12===n(w.marginLeft),m.style.right="60%",s=36===n(w.right),i=36===n(w.width),m.style.position="absolute",r=12===n(m.offsetWidth/3),_t.removeChild(d),m=null}}function n(w){return Math.round(parseFloat(w))}var e,i,r,s,a,c,d=z.createElement("div"),m=z.createElement("div");m.style&&(m.style.backgroundClip="content-box",m.cloneNode(!0).style.backgroundClip="",J.clearCloneStyle="content-box"===m.style.backgroundClip,o.extend(J,{boxSizingReliable:function(){return t(),i},pixelBoxStyles:function(){return t(),s},pixelPosition:function(){return t(),e},reliableMarginLeft:function(){return t(),c},scrollboxSize:function(){return t(),r},reliableTrDimensions:function(){var w,C,b,I;return null==a&&(w=z.createElement("table"),C=z.createElement("tr"),b=z.createElement("div"),w.style.cssText="position:absolute;left:-11111px;border-collapse:separate",C.style.cssText="box-sizing:content-box;border:1px solid",C.style.height="1px",b.style.height="9px",b.style.display="block",_t.appendChild(w).appendChild(C).appendChild(b),I=L.getComputedStyle(C),a=parseInt(I.height,10)+parseInt(I.borderTopWidth,10)+parseInt(I.borderBottomWidth,10)===C.offsetHeight,_t.removeChild(w)),a}}))}();var zn=["Webkit","Moz","ms"],Gn=z.createElement("div").style,Kn={};function xn(t){return o.cssProps[t]||Kn[t]||(t in Gn?t:Kn[t]=function(e){for(var i=e[0].toUpperCase()+e.slice(1),r=zn.length;r--;)if((e=zn[r]+i)in Gn)return e}(t)||t)}var Jn=/^(none|table(?!-c[ea]).+)/,En={position:"absolute",visibility:"hidden",display:"block"},ai={letterSpacing:"0",fontWeight:"400"};function qt(t,n,e){var i=Jt.exec(n);return i?Math.max(0,i[2]-(e||0))+(i[3]||"px"):n}function Cn(t,n,e,i,r,s){var a="width"===n?1:0,c=0,d=0,m=0;if(e===(i?"border":"content"))return 0;for(;a<4;a+=2)"margin"===e&&(m+=o.css(t,e+bt[a],!0,r)),i?("content"===e&&(d-=o.css(t,"padding"+bt[a],!0,r)),"margin"!==e&&(d-=o.css(t,"border"+bt[a]+"Width",!0,r))):(d+=o.css(t,"padding"+bt[a],!0,r),"padding"!==e?d+=o.css(t,"border"+bt[a]+"Width",!0,r):c+=o.css(t,"border"+bt[a]+"Width",!0,r));return!i&&0<=s&&(d+=Math.max(0,Math.ceil(t["offset"+n[0].toUpperCase()+n.slice(1)]-s-d-c-.5))||0),d+m}function Zn(t,n,e){var i=fn(t),r=(!J.boxSizingReliable()||e)&&"border-box"===o.css(t,"boxSizing",!1,i),s=r,a=_n(t,n,i),c="offset"+n[0].toUpperCase()+n.slice(1);if(Yn.test(a)){if(!e)return a;a="auto"}return(!J.boxSizingReliable()&&r||!J.reliableTrDimensions()&&p(t,"tr")||"auto"===a||!parseFloat(a)&&"inline"===o.css(t,"display",!1,i))&&t.getClientRects().length&&(r="border-box"===o.css(t,"boxSizing",!1,i),(s=c in t)&&(a=t[c])),(a=parseFloat(a)||0)+Cn(t,n,e||(r?"border":"content"),s,i,a)+"px"}function At(t,n,e,i,r){return new At.prototype.init(t,n,e,i,r)}o.extend({cssHooks:{opacity:{get:function(t,n){if(n){var e=_n(t,"opacity");return""===e?"1":e}}}},cssNumber:{animationIterationCount:!0,aspectRatio:!0,borderImageSlice:!0,columnCount:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,gridArea:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,scale:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeMiterlimit:!0,strokeOpacity:!0},cssProps:{},style:function(t,n,e,i){if(t&&3!==t.nodeType&&8!==t.nodeType&&t.style){var r,s,a,c=ot(n),d=Ln.test(n),m=t.style;if(d||(n=xn(c)),a=o.cssHooks[n]||o.cssHooks[c],void 0===e)return a&&"get"in a&&void 0!==(r=a.get(t,!1,i))?r:m[n];"string"==(s=typeof e)&&(r=Jt.exec(e))&&r[1]&&(e=Zt(t,n,r),s="number"),null!=e&&e==e&&("number"!==s||d||(e+=r&&r[3]||(o.cssNumber[c]?"":"px")),J.clearCloneStyle||""!==e||0!==n.indexOf("background")||(m[n]="inherit"),a&&"set"in a&&void 0===(e=a.set(t,e,i))||(d?m.setProperty(n,e):m[n]=e))}},css:function(t,n,e,i){var r,s,a,c=ot(n);return Ln.test(n)||(n=xn(c)),(a=o.cssHooks[n]||o.cssHooks[c])&&"get"in a&&(r=a.get(t,!0,e)),void 0===r&&(r=_n(t,n,i)),"normal"===r&&n in ai&&(r=ai[n]),""===e||e?(s=parseFloat(r),!0===e||isFinite(s)?s||0:r):r}}),o.each(["height","width"],function(t,n){o.cssHooks[n]={get:function(e,i,r){if(i)return!Jn.test(o.css(e,"display"))||e.getClientRects().length&&e.getBoundingClientRect().width?Zn(e,n,r):Vn(e,En,function(){return Zn(e,n,r)})},set:function(e,i,r){var s,a=fn(e),c=!J.scrollboxSize()&&"absolute"===a.position,d=(c||r)&&"border-box"===o.css(e,"boxSizing",!1,a),m=r?Cn(e,n,r,d,a):0;return d&&c&&(m-=Math.ceil(e["offset"+n[0].toUpperCase()+n.slice(1)]-parseFloat(a[n])-Cn(e,n,"border",!1,a)-.5)),m&&(s=Jt.exec(i))&&"px"!==(s[3]||"px")&&(e.style[n]=i,i=o.css(e,n)),qt(0,i,m)}}}),o.cssHooks.marginLeft=Nn(J.reliableMarginLeft,function(t,n){if(n)return(parseFloat(_n(t,"marginLeft"))||t.getBoundingClientRect().left-Vn(t,{marginLeft:0},function(){return t.getBoundingClientRect().left}))+"px"}),o.each({margin:"",padding:"",border:"Width"},function(t,n){o.cssHooks[t+n]={expand:function(e){for(var i=0,r={},s="string"==typeof e?e.split(" "):[e];i<4;i++)r[t+bt[i]+n]=s[i]||s[i-2]||s[0];return r}},"margin"!==t&&(o.cssHooks[t+n].set=qt)}),o.fn.extend({css:function(t,n){return Nt(this,function(e,i,r){var s,a,c={},d=0;if(Array.isArray(i)){for(s=fn(e),a=i.length;d<a;d++)c[i[d]]=o.css(e,i[d],!1,s);return c}return void 0!==r?o.style(e,i,r):o.css(e,i)},t,n,1<arguments.length)}}),((o.Tween=At).prototype={constructor:At,init:function(t,n,e,i,r,s){this.elem=t,this.prop=e,this.easing=r||o.easing._default,this.options=n,this.start=this.now=this.cur(),this.end=i,this.unit=s||(o.cssNumber[e]?"":"px")},cur:function(){var t=At.propHooks[this.prop];return t&&t.get?t.get(this):At.propHooks._default.get(this)},run:function(t){var n,e=At.propHooks[this.prop];return this.pos=n=this.options.duration?o.easing[this.easing](t,this.options.duration*t,0,1,this.options.duration):t,this.now=(this.end-this.start)*n+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),e&&e.set?e.set(this):At.propHooks._default.set(this),this}}).init.prototype=At.prototype,(At.propHooks={_default:{get:function(t){var n;return 1!==t.elem.nodeType||null!=t.elem[t.prop]&&null==t.elem.style[t.prop]?t.elem[t.prop]:(n=o.css(t.elem,t.prop,""))&&"auto"!==n?n:0},set:function(t){o.fx.step[t.prop]?o.fx.step[t.prop](t):1!==t.elem.nodeType||!o.cssHooks[t.prop]&&null==t.elem.style[xn(t.prop)]?t.elem[t.prop]=t.now:o.style(t.elem,t.prop,t.now+t.unit)}}}).scrollTop=At.propHooks.scrollLeft={set:function(t){t.elem.nodeType&&t.elem.parentNode&&(t.elem[t.prop]=t.now)}},o.easing={linear:function(t){return t},swing:function(t){return.5-Math.cos(t*Math.PI)/2},_default:"swing"},o.fx=At.prototype.init,o.fx.step={};var tn,pn,Ut,$n,gi=/^(?:toggle|show|hide)$/,Lt=/queueHooks$/;function Xn(){pn&&(!1===z.hidden&&L.requestAnimationFrame?L.requestAnimationFrame(Xn):L.setTimeout(Xn,o.fx.interval),o.fx.tick())}function li(){return L.setTimeout(function(){tn=void 0}),tn=Date.now()}function Tn(t,n){var e,i=0,r={height:t};for(n=n?1:0;i<4;i+=2-n)r["margin"+(e=bt[i])]=r["padding"+e]=t;return n&&(r.opacity=r.width=t),r}function ci(t,n,e){for(var i,r=(u.tweeners[n]||[]).concat(u.tweeners["*"]),s=0,a=r.length;s<a;s++)if(i=r[s].call(e,n,t))return i}function u(t,n,e){var i,r,s=0,a=u.prefilters.length,c=o.Deferred().always(function(){delete d.elem}),d=function(){if(r)return!1;for(var C=tn||li(),b=Math.max(0,m.startTime+m.duration-C),I=1-(b/m.duration||0),W=0,ne=m.tweens.length;W<ne;W++)m.tweens[W].run(I);return c.notifyWith(t,[m,I,b]),I<1&&ne?b:(ne||c.notifyWith(t,[m,1,0]),c.resolveWith(t,[m]),!1)},m=c.promise({elem:t,props:o.extend({},n),opts:o.extend(!0,{specialEasing:{},easing:o.easing._default},e),originalProperties:n,originalOptions:e,startTime:tn||li(),duration:e.duration,tweens:[],createTween:function(C,b){var I=o.Tween(t,m.opts,C,b,m.opts.specialEasing[C]||m.opts.easing);return m.tweens.push(I),I},stop:function(C){var b=0,I=C?m.tweens.length:0;if(r)return this;for(r=!0;b<I;b++)m.tweens[b].run(1);return C?(c.notifyWith(t,[m,1,0]),c.resolveWith(t,[m,C])):c.rejectWith(t,[m,C]),this}}),w=m.props;for(function(C,b){var I,W,ne,K,Se;for(I in C)if(ne=b[W=ot(I)],K=C[I],Array.isArray(K)&&(ne=K[1],K=C[I]=K[0]),I!==W&&(C[W]=K,delete C[I]),(Se=o.cssHooks[W])&&"expand"in Se)for(I in K=Se.expand(K),delete C[W],K)I in C||(C[I]=K[I],b[I]=ne);else b[W]=ne}(w,m.opts.specialEasing);s<a;s++)if(i=u.prefilters[s].call(m,t,w,m.opts))return Z(i.stop)&&(o._queueHooks(m.elem,m.opts.queue).stop=i.stop.bind(i)),i;return o.map(w,ci,m),Z(m.opts.start)&&m.opts.start.call(t,m),m.progress(m.opts.progress).done(m.opts.done,m.opts.complete).fail(m.opts.fail).always(m.opts.always),o.fx.timer(o.extend(d,{elem:t,anim:m,queue:m.opts.queue})),m}o.Animation=o.extend(u,{tweeners:{"*":[function(t,n){var e=this.createTween(t,n);return Zt(e.elem,t,Jt.exec(n),e),e}]},tweener:function(t,n){Z(t)?(n=t,t=["*"]):t=t.match(vt);for(var e,i=0,r=t.length;i<r;i++)(u.tweeners[e=t[i]]=u.tweeners[e]||[]).unshift(n)},prefilters:[function(t,n,e){var i,r,s,a,c,d,m,w,C="width"in n||"height"in n,b=this,I={},W=t.style,ne=t.nodeType&&bn(t),K=X.get(t,"fxshow");for(i in e.queue||(null==(a=o._queueHooks(t,"fx")).unqueued&&(a.unqueued=0,c=a.empty.fire,a.empty.fire=function(){a.unqueued||c()}),a.unqueued++,b.always(function(){b.always(function(){a.unqueued--,o.queue(t,"fx").length||a.empty.fire()})})),n)if(gi.test(r=n[i])){if(delete n[i],s=s||"toggle"===r,r===(ne?"hide":"show")){if("show"!==r||!K||void 0===K[i])continue;ne=!0}I[i]=K&&K[i]||o.style(t,i)}if((d=!o.isEmptyObject(n))||!o.isEmptyObject(I))for(i in C&&1===t.nodeType&&(e.overflow=[W.overflow,W.overflowX,W.overflowY],null==(m=K&&K.display)&&(m=X.get(t,"display")),"none"===(w=o.css(t,"display"))&&(m?w=m:(xt([t],!0),m=t.style.display||m,w=o.css(t,"display"),xt([t]))),("inline"===w||"inline-block"===w&&null!=m)&&"none"===o.css(t,"float")&&(d||(b.done(function(){W.display=m}),null==m&&(m="none"===(w=W.display)?"":w)),W.display="inline-block")),e.overflow&&(W.overflow="hidden",b.always(function(){W.overflow=e.overflow[0],W.overflowX=e.overflow[1],W.overflowY=e.overflow[2]})),d=!1,I)d||(K?"hidden"in K&&(ne=K.hidden):K=X.access(t,"fxshow",{display:m}),s&&(K.hidden=!ne),ne&&xt([t],!0),b.done(function(){for(i in ne||xt([t]),X.remove(t,"fxshow"),I)o.style(t,i,I[i])})),d=ci(ne?K[i]:0,i,b),i in K||(K[i]=d.start,ne&&(d.end=d.start,d.start=0))}],prefilter:function(t,n){n?u.prefilters.unshift(t):u.prefilters.push(t)}}),o.speed=function(t,n,e){var i=t&&"object"==typeof t?o.extend({},t):{complete:e||!e&&n||Z(t)&&t,duration:t,easing:e&&n||n&&!Z(n)&&n};return o.fx.off?i.duration=0:"number"!=typeof i.duration&&(i.duration=i.duration in o.fx.speeds?o.fx.speeds[i.duration]:o.fx.speeds._default),null!=i.queue&&!0!==i.queue||(i.queue="fx"),i.old=i.complete,i.complete=function(){Z(i.old)&&i.old.call(this),i.queue&&o.dequeue(this,i.queue)},i},o.fn.extend({fadeTo:function(t,n,e,i){return this.filter(bn).css("opacity",0).show().end().animate({opacity:n},t,e,i)},animate:function(t,n,e,i){var r=o.isEmptyObject(t),s=o.speed(n,e,i),a=function(){var c=u(this,o.extend({},t),s);(r||X.get(this,"finish"))&&c.stop(!0)};return a.finish=a,r||!1===s.queue?this.each(a):this.queue(s.queue,a)},stop:function(t,n,e){var i=function(r){var s=r.stop;delete r.stop,s(e)};return"string"!=typeof t&&(e=n,n=t,t=void 0),n&&this.queue(t||"fx",[]),this.each(function(){var r=!0,s=null!=t&&t+"queueHooks",a=o.timers,c=X.get(this);if(s)c[s]&&c[s].stop&&i(c[s]);else for(s in c)c[s]&&c[s].stop&&Lt.test(s)&&i(c[s]);for(s=a.length;s--;)a[s].elem!==this||null!=t&&a[s].queue!==t||(a[s].anim.stop(e),r=!1,a.splice(s,1));!r&&e||o.dequeue(this,t)})},finish:function(t){return!1!==t&&(t=t||"fx"),this.each(function(){var n,e=X.get(this),i=e[t+"queue"],r=e[t+"queueHooks"],s=o.timers,a=i?i.length:0;for(e.finish=!0,o.queue(this,t,[]),r&&r.stop&&r.stop.call(this,!0),n=s.length;n--;)s[n].elem===this&&s[n].queue===t&&(s[n].anim.stop(!0),s.splice(n,1));for(n=0;n<a;n++)i[n]&&i[n].finish&&i[n].finish.call(this);delete e.finish})}}),o.each(["toggle","show","hide"],function(t,n){var e=o.fn[n];o.fn[n]=function(i,r,s){return null==i||"boolean"==typeof i?e.apply(this,arguments):this.animate(Tn(n,!0),i,r,s)}}),o.each({slideDown:Tn("show"),slideUp:Tn("hide"),slideToggle:Tn("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(t,n){o.fn[t]=function(e,i,r){return this.animate(n,e,i,r)}}),o.timers=[],o.fx.tick=function(){var t,n=0,e=o.timers;for(tn=Date.now();n<e.length;n++)(t=e[n])()||e[n]!==t||e.splice(n--,1);e.length||o.fx.stop(),tn=void 0},o.fx.timer=function(t){o.timers.push(t),o.fx.start()},o.fx.interval=13,o.fx.start=function(){pn||(pn=!0,Xn())},o.fx.stop=function(){pn=null},o.fx.speeds={slow:600,fast:200,_default:400},o.fn.delay=function(t,n){return t=o.fx&&o.fx.speeds[t]||t,this.queue(n=n||"fx",function(e,i){var r=L.setTimeout(e,t);i.stop=function(){L.clearTimeout(r)}})},Ut=z.createElement("input"),$n=z.createElement("select").appendChild(z.createElement("option")),Ut.type="checkbox",J.checkOn=""!==Ut.value,J.optSelected=$n.selected,(Ut=z.createElement("input")).value="t",Ut.type="radio",J.radioValue="t"===Ut.value;var l,g=o.expr.attrHandle;o.fn.extend({attr:function(t,n){return Nt(this,o.attr,t,n,1<arguments.length)},removeAttr:function(t){return this.each(function(){o.removeAttr(this,t)})}}),o.extend({attr:function(t,n,e){var i,r,s=t.nodeType;if(3!==s&&8!==s&&2!==s)return typeof t.getAttribute>"u"?o.prop(t,n,e):(1===s&&o.isXMLDoc(t)||(r=o.attrHooks[n.toLowerCase()]||(o.expr.match.bool.test(n)?l:void 0)),void 0!==e?null===e?void o.removeAttr(t,n):r&&"set"in r&&void 0!==(i=r.set(t,e,n))?i:(t.setAttribute(n,e+""),e):r&&"get"in r&&null!==(i=r.get(t,n))?i:null==(i=o.find.attr(t,n))?void 0:i)},attrHooks:{type:{set:function(t,n){if(!J.radioValue&&"radio"===n&&p(t,"input")){var e=t.value;return t.setAttribute("type",n),e&&(t.value=e),n}}}},removeAttr:function(t,n){var e,i=0,r=n&&n.match(vt);if(r&&1===t.nodeType)for(;e=r[i++];)t.removeAttribute(e)}}),l={set:function(t,n,e){return!1===n?o.removeAttr(t,e):t.setAttribute(e,e),e}},o.each(o.expr.match.bool.source.match(/\w+/g),function(t,n){var e=g[n]||o.find.attr;g[n]=function(i,r,s){var a,c,d=r.toLowerCase();return s||(c=g[d],g[d]=a,a=null!=e(i,r,s)?d:null,g[d]=c),a}});var S=/^(?:input|select|textarea|button)$/i,k=/^(?:a|area)$/i;function N(t){return(t.match(vt)||[]).join(" ")}function H(t){return t.getAttribute&&t.getAttribute("class")||""}function M(t){return Array.isArray(t)?t:"string"==typeof t&&t.match(vt)||[]}o.fn.extend({prop:function(t,n){return Nt(this,o.prop,t,n,1<arguments.length)},removeProp:function(t){return this.each(function(){delete this[o.propFix[t]||t]})}}),o.extend({prop:function(t,n,e){var i,r,s=t.nodeType;if(3!==s&&8!==s&&2!==s)return 1===s&&o.isXMLDoc(t)||(r=o.propHooks[n=o.propFix[n]||n]),void 0!==e?r&&"set"in r&&void 0!==(i=r.set(t,e,n))?i:t[n]=e:r&&"get"in r&&null!==(i=r.get(t,n))?i:t[n]},propHooks:{tabIndex:{get:function(t){var n=o.find.attr(t,"tabindex");return n?parseInt(n,10):S.test(t.nodeName)||k.test(t.nodeName)&&t.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),J.optSelected||(o.propHooks.selected={get:function(t){return null},set:function(t){}}),o.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){o.propFix[this.toLowerCase()]=this}),o.fn.extend({addClass:function(t){var n,e,i,r,s,a;return Z(t)?this.each(function(c){o(this).addClass(t.call(this,c,H(this)))}):(n=M(t)).length?this.each(function(){if(i=H(this),e=1===this.nodeType&&" "+N(i)+" "){for(s=0;s<n.length;s++)e.indexOf(" "+(r=n[s])+" ")<0&&(e+=r+" ");a=N(e),i!==a&&this.setAttribute("class",a)}}):this},removeClass:function(t){var n,e,i,r,s,a;return Z(t)?this.each(function(c){o(this).removeClass(t.call(this,c,H(this)))}):arguments.length?(n=M(t)).length?this.each(function(){if(i=H(this),e=1===this.nodeType&&" "+N(i)+" "){for(s=0;s<n.length;s++)for(r=n[s];-1<e.indexOf(" "+r+" ");)e=e.replace(" "+r+" "," ");a=N(e),i!==a&&this.setAttribute("class",a)}}):this:this.attr("class","")},toggleClass:function(t,n){var e,i,r,s,a=typeof t,c="string"===a||Array.isArray(t);return Z(t)?this.each(function(d){o(this).toggleClass(t.call(this,d,H(this),n),n)}):"boolean"==typeof n&&c?n?this.addClass(t):this.removeClass(t):(e=M(t),this.each(function(){if(c)for(s=o(this),r=0;r<e.length;r++)s.hasClass(i=e[r])?s.removeClass(i):s.addClass(i);else void 0!==t&&"boolean"!==a||((i=H(this))&&X.set(this,"__className__",i),this.setAttribute&&this.setAttribute("class",i||!1===t?"":X.get(this,"__className__")||""))}))},hasClass:function(t){var n,e,i=0;for(n=" "+t+" ";e=this[i++];)if(1===e.nodeType&&-1<(" "+N(H(e))+" ").indexOf(n))return!0;return!1}});var R=/\r/g;o.fn.extend({val:function(t){var n,e,i,r=this[0];return arguments.length?(i=Z(t),this.each(function(s){var a;1===this.nodeType&&(null==(a=i?t.call(this,s,o(this).val()):t)?a="":"number"==typeof a?a+="":Array.isArray(a)&&(a=o.map(a,function(c){return null==c?"":c+""})),(n=o.valHooks[this.type]||o.valHooks[this.nodeName.toLowerCase()])&&"set"in n&&void 0!==n.set(this,a,"value")||(this.value=a))})):r?(n=o.valHooks[r.type]||o.valHooks[r.nodeName.toLowerCase()])&&"get"in n&&void 0!==(e=n.get(r,"value"))?e:"string"==typeof(e=r.value)?e.replace(R,""):e??"":void 0}}),o.extend({valHooks:{option:{get:function(t){return o.find.attr(t,"value")??N(o.text(t))}},select:{get:function(t){var n,e,i,r=t.options,s=t.selectedIndex,a="select-one"===t.type,c=a?null:[],d=a?s+1:r.length;for(i=s<0?d:a?s:0;i<d;i++)if(((e=r[i]).selected||i===s)&&!e.disabled&&(!e.parentNode.disabled||!p(e.parentNode,"optgroup"))){if(n=o(e).val(),a)return n;c.push(n)}return c},set:function(t,n){for(var e,i,r=t.options,s=o.makeArray(n),a=r.length;a--;)((i=r[a]).selected=-1<o.inArray(o.valHooks.option.get(i),s))&&(e=!0);return e||(t.selectedIndex=-1),s}}}}),o.each(["radio","checkbox"],function(){o.valHooks[this]={set:function(t,n){if(Array.isArray(n))return t.checked=-1<o.inArray(o(t).val(),n)}},J.checkOn||(o.valHooks[this].get=function(t){return null===t.getAttribute("value")?"on":t.value})});var te=L.location,F={guid:Date.now()},he=/\?/;o.parseXML=function(t){var n,e;if(!t||"string"!=typeof t)return null;try{n=(new L.DOMParser).parseFromString(t,"text/xml")}catch{}return e=n&&n.getElementsByTagName("parsererror")[0],n&&!e||o.error("Invalid XML: "+(e?o.map(e.childNodes,function(i){return i.textContent}).join("\n"):t)),n};var Ie=/^(?:focusinfocus|focusoutblur)$/,ae=function(t){t.stopPropagation()};o.extend(o.event,{trigger:function(t,n,e,i){var r,s,a,c,d,m,w,C,b=[e||z],I=He.call(t,"type")?t.type:t,W=He.call(t,"namespace")?t.namespace.split("."):[];if(s=C=a=e=e||z,3!==e.nodeType&&8!==e.nodeType&&!Ie.test(I+o.event.triggered)&&(-1<I.indexOf(".")&&(I=(W=I.split(".")).shift(),W.sort()),d=I.indexOf(":")<0&&"on"+I,(t=t[o.expando]?t:new o.Event(I,"object"==typeof t&&t)).isTrigger=i?2:3,t.namespace=W.join("."),t.rnamespace=t.namespace?new RegExp("(^|\\.)"+W.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,t.result=void 0,t.target||(t.target=e),n=null==n?[t]:o.makeArray(n,[t]),w=o.event.special[I]||{},i||!w.trigger||!1!==w.trigger.apply(e,n))){if(!i&&!w.noBubble&&!pe(e)){for(Ie.test((c=w.delegateType||I)+I)||(s=s.parentNode);s;s=s.parentNode)b.push(s),a=s;a===(e.ownerDocument||z)&&b.push(a.defaultView||a.parentWindow||L)}for(r=0;(s=b[r++])&&!t.isPropagationStopped();)C=s,t.type=1<r?c:w.bindType||I,(m=(X.get(s,"events")||Object.create(null))[t.type]&&X.get(s,"handle"))&&m.apply(s,n),(m=d&&s[d])&&m.apply&&st(s)&&(t.result=m.apply(s,n),!1===t.result&&t.preventDefault());return t.type=I,i||t.isDefaultPrevented()||w._default&&!1!==w._default.apply(b.pop(),n)||!st(e)||d&&Z(e[I])&&!pe(e)&&((a=e[d])&&(e[d]=null),o.event.triggered=I,t.isPropagationStopped()&&C.addEventListener(I,ae),e[I](),t.isPropagationStopped()&&C.removeEventListener(I,ae),o.event.triggered=void 0,a&&(e[d]=a)),t.result}},simulate:function(t,n,e){var i=o.extend(new o.Event,e,{type:t,isSimulated:!0});o.event.trigger(i,null,n)}}),o.fn.extend({trigger:function(t,n){return this.each(function(){o.event.trigger(t,n,this)})},triggerHandler:function(t,n){var e=this[0];if(e)return o.event.trigger(t,n,e,!0)}});var Pe=/\[\]$/,ce=/\r?\n/g,Ae=/^(?:submit|button|image|reset|file)$/i,je=/^(?:input|select|textarea|keygen)/i;function Oe(t,n,e,i){var r;if(Array.isArray(n))o.each(n,function(s,a){e||Pe.test(t)?i(t,a):Oe(t+"["+("object"==typeof a&&null!=a?s:"")+"]",a,e,i)});else if(e||"object"!==G(n))i(t,n);else for(r in n)Oe(t+"["+r+"]",n[r],e,i)}o.param=function(t,n){var e,i=[],r=function(s,a){var c=Z(a)?a():a;i[i.length]=encodeURIComponent(s)+"="+encodeURIComponent(c??"")};if(null==t)return"";if(Array.isArray(t)||t.jquery&&!o.isPlainObject(t))o.each(t,function(){r(this.name,this.value)});else for(e in t)Oe(e,t[e],n,r);return i.join("&")},o.fn.extend({serialize:function(){return o.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var t=o.prop(this,"elements");return t?o.makeArray(t):this}).filter(function(){var t=this.type;return this.name&&!o(this).is(":disabled")&&je.test(this.nodeName)&&!Ae.test(t)&&(this.checked||!$t.test(t))}).map(function(t,n){var e=o(this).val();return null==e?null:Array.isArray(e)?o.map(e,function(i){return{name:n.name,value:i.replace(ce,"\r\n")}}):{name:n.name,value:e.replace(ce,"\r\n")}}).get()}});var Re=/%20/g,ue=/#.*$/,we=/([?&])_=[^&]*/,ge=/^(.*?):[ \t]*([^\r\n]*)$/gm,Ne=/^(?:GET|HEAD)$/,Me=/^\/\//,Qe={},Be={},Te="*/".concat("*"),Je=z.createElement("a");function Ve(t){return function(n,e){"string"!=typeof n&&(e=n,n="*");var i,r=0,s=n.toLowerCase().match(vt)||[];if(Z(e))for(;i=s[r++];)"+"===i[0]?(i=i.slice(1)||"*",(t[i]=t[i]||[]).unshift(e)):(t[i]=t[i]||[]).push(e)}}function Bt(t,n,e,i){var r={},s=t===Be;function a(c){var d;return r[c]=!0,o.each(t[c]||[],function(m,w){var C=w(n,e,i);return"string"!=typeof C||s||r[C]?s?!(d=C):void 0:(n.dataTypes.unshift(C),a(C),!1)}),d}return a(n.dataTypes[0])||!r["*"]&&a("*")}function Et(t,n){var e,i,r=o.ajaxSettings.flatOptions||{};for(e in n)void 0!==n[e]&&((r[e]?t:i||(i={}))[e]=n[e]);return i&&o.extend(!0,t,i),t}Je.href=te.href,o.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:te.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(te.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Te,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":o.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(t,n){return n?Et(Et(t,o.ajaxSettings),n):Et(o.ajaxSettings,t)},ajaxPrefilter:Ve(Qe),ajaxTransport:Ve(Be),ajax:function(t,n){"object"==typeof t&&(n=t,t=void 0);var e,i,r,s,a,c,d,m,w,C,b=o.ajaxSetup({},n=n||{}),I=b.context||b,W=b.context&&(I.nodeType||I.jquery)?o(I):o.event,ne=o.Deferred(),K=o.Callbacks("once memory"),Se=b.statusCode||{},Fe={},Tt={},Ze="canceled",fe={readyState:0,getResponseHeader:function(_e){var We;if(d){if(!s)for(s={};We=ge.exec(r);)s[We[1].toLowerCase()+" "]=(s[We[1].toLowerCase()+" "]||[]).concat(We[2]);We=s[_e.toLowerCase()+" "]}return null==We?null:We.join(", ")},getAllResponseHeaders:function(){return d?r:null},setRequestHeader:function(_e,We){return null==d&&(_e=Tt[_e.toLowerCase()]=Tt[_e.toLowerCase()]||_e,Fe[_e]=We),this},overrideMimeType:function(_e){return null==d&&(b.mimeType=_e),this},statusCode:function(_e){var We;if(_e)if(d)fe.always(_e[fe.status]);else for(We in _e)Se[We]=[Se[We],_e[We]];return this},abort:function(_e){var We=_e||Ze;return e&&e.abort(We),gn(0,We),this}};if(ne.promise(fe),b.url=((t||b.url||te.href)+"").replace(Me,te.protocol+"//"),b.type=n.method||n.type||b.method||b.type,b.dataTypes=(b.dataType||"*").toLowerCase().match(vt)||[""],null==b.crossDomain){c=z.createElement("a");try{c.href=b.url,c.href=c.href,b.crossDomain=Je.protocol+"//"+Je.host!=c.protocol+"//"+c.host}catch{b.crossDomain=!0}}if(b.data&&b.processData&&"string"!=typeof b.data&&(b.data=o.param(b.data,b.traditional)),Bt(Qe,b,n,fe),d)return fe;for(w in(m=o.event&&b.global)&&0==o.active++&&o.event.trigger("ajaxStart"),b.type=b.type.toUpperCase(),b.hasContent=!Ne.test(b.type),i=b.url.replace(ue,""),b.hasContent?b.data&&b.processData&&0===(b.contentType||"").indexOf("application/x-www-form-urlencoded")&&(b.data=b.data.replace(Re,"+")):(C=b.url.slice(i.length),b.data&&(b.processData||"string"==typeof b.data)&&(i+=(he.test(i)?"&":"?")+b.data,delete b.data),!1===b.cache&&(i=i.replace(we,"$1"),C=(he.test(i)?"&":"?")+"_="+F.guid+++C),b.url=i+C),b.ifModified&&(o.lastModified[i]&&fe.setRequestHeader("If-Modified-Since",o.lastModified[i]),o.etag[i]&&fe.setRequestHeader("If-None-Match",o.etag[i])),(b.data&&b.hasContent&&!1!==b.contentType||n.contentType)&&fe.setRequestHeader("Content-Type",b.contentType),fe.setRequestHeader("Accept",b.dataTypes[0]&&b.accepts[b.dataTypes[0]]?b.accepts[b.dataTypes[0]]+("*"!==b.dataTypes[0]?", "+Te+"; q=0.01":""):b.accepts["*"]),b.headers)fe.setRequestHeader(w,b.headers[w]);if(b.beforeSend&&(!1===b.beforeSend.call(I,fe,b)||d))return fe.abort();if(Ze="abort",K.add(b.complete),fe.done(b.success),fe.fail(b.error),e=Bt(Be,b,n,fe)){if(fe.readyState=1,m&&W.trigger("ajaxSend",[fe,b]),d)return fe;b.async&&0<b.timeout&&(a=L.setTimeout(function(){fe.abort("timeout")},b.timeout));try{d=!1,e.send(Fe,gn)}catch(_e){if(d)throw _e;gn(-1,_e)}}else gn(-1,"No Transport");function gn(_e,We,mi,Ei){var mn,vi,kn,Rn,ui,Yt=We;d||(d=!0,a&&L.clearTimeout(a),e=void 0,r=Ei||"",fe.readyState=0<_e?4:0,mn=200<=_e&&_e<300||304===_e,mi&&(Rn=function(ct,it,St){for(var Bn,kt,ie,et,tt=ct.contents,qe=ct.dataTypes;"*"===qe[0];)qe.shift(),void 0===Bn&&(Bn=ct.mimeType||it.getResponseHeader("Content-Type"));if(Bn)for(kt in tt)if(tt[kt]&&tt[kt].test(Bn)){qe.unshift(kt);break}if(qe[0]in St)ie=qe[0];else{for(kt in St){if(!qe[0]||ct.converters[kt+" "+qe[0]]){ie=kt;break}et||(et=kt)}ie=ie||et}if(ie)return ie!==qe[0]&&qe.unshift(ie),St[ie]}(b,fe,mi)),!mn&&-1<o.inArray("script",b.dataTypes)&&o.inArray("json",b.dataTypes)<0&&(b.converters["text script"]=function(){}),Rn=function(ct,it,St,Bn){var kt,ie,et,tt,qe,vn={},di=ct.dataTypes.slice();if(di[1])for(et in ct.converters)vn[et.toLowerCase()]=ct.converters[et];for(ie=di.shift();ie;)if(ct.responseFields[ie]&&(St[ct.responseFields[ie]]=it),!qe&&Bn&&ct.dataFilter&&(it=ct.dataFilter(it,ct.dataType)),qe=ie,ie=di.shift())if("*"===ie)ie=qe;else if("*"!==qe&&qe!==ie){if(!(et=vn[qe+" "+ie]||vn["* "+ie]))for(kt in vn)if((tt=kt.split(" "))[1]===ie&&(et=vn[qe+" "+tt[0]]||vn["* "+tt[0]])){!0===et?et=vn[kt]:!0!==vn[kt]&&(ie=tt[0],di.unshift(tt[1]));break}if(!0!==et)if(et&&ct.throws)it=et(it);else try{it=et(it)}catch(bi){return{state:"parsererror",error:et?bi:"No conversion from "+qe+" to "+ie}}}return{state:"success",data:it}}(b,Rn,fe,mn),mn?(b.ifModified&&((ui=fe.getResponseHeader("Last-Modified"))&&(o.lastModified[i]=ui),(ui=fe.getResponseHeader("etag"))&&(o.etag[i]=ui)),204===_e||"HEAD"===b.type?Yt="nocontent":304===_e?Yt="notmodified":(Yt=Rn.state,vi=Rn.data,mn=!(kn=Rn.error))):(kn=Yt,!_e&&Yt||(Yt="error",_e<0&&(_e=0))),fe.status=_e,fe.statusText=(We||Yt)+"",mn?ne.resolveWith(I,[vi,Yt,fe]):ne.rejectWith(I,[fe,Yt,kn]),fe.statusCode(Se),Se=void 0,m&&W.trigger(mn?"ajaxSuccess":"ajaxError",[fe,b,mn?vi:kn]),K.fireWith(I,[fe,Yt]),m&&(W.trigger("ajaxComplete",[fe,b]),--o.active||o.event.trigger("ajaxStop")))}return fe},getJSON:function(t,n,e){return o.get(t,n,e,"json")},getScript:function(t,n){return o.get(t,void 0,n,"script")}}),o.each(["get","post"],function(t,n){o[n]=function(e,i,r,s){return Z(i)&&(s=s||r,r=i,i=void 0),o.ajax(o.extend({url:e,type:n,dataType:s,data:i,success:r},o.isPlainObject(e)&&e))}}),o.ajaxPrefilter(function(t){var n;for(n in t.headers)"content-type"===n.toLowerCase()&&(t.contentType=t.headers[n]||"")}),o._evalUrl=function(t,n,e){return o.ajax({url:t,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(i){o.globalEval(i,n,e)}})},o.fn.extend({wrapAll:function(t){var n;return this[0]&&(Z(t)&&(t=t.call(this[0])),n=o(t,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&n.insertBefore(this[0]),n.map(function(){for(var e=this;e.firstElementChild;)e=e.firstElementChild;return e}).append(this)),this},wrapInner:function(t){return Z(t)?this.each(function(n){o(this).wrapInner(t.call(this,n))}):this.each(function(){var n=o(this),e=n.contents();e.length?e.wrapAll(t):n.append(t)})},wrap:function(t){var n=Z(t);return this.each(function(e){o(this).wrapAll(n?t.call(this,e):t)})},unwrap:function(t){return this.parent(t).not("body").each(function(){o(this).replaceWith(this.childNodes)}),this}}),o.expr.pseudos.hidden=function(t){return!o.expr.pseudos.visible(t)},o.expr.pseudos.visible=function(t){return!!(t.offsetWidth||t.offsetHeight||t.getClientRects().length)},o.ajaxSettings.xhr=function(){try{return new L.XMLHttpRequest}catch{}};var lt={0:200,1223:204},Xe=o.ajaxSettings.xhr();J.cors=!!Xe&&"withCredentials"in Xe,J.ajax=Xe=!!Xe,o.ajaxTransport(function(t){var n,e;if(J.cors||Xe&&!t.crossDomain)return{send:function(i,r){var s,a=t.xhr();if(a.open(t.type,t.url,t.async,t.username,t.password),t.xhrFields)for(s in t.xhrFields)a[s]=t.xhrFields[s];for(s in t.mimeType&&a.overrideMimeType&&a.overrideMimeType(t.mimeType),t.crossDomain||i["X-Requested-With"]||(i["X-Requested-With"]="XMLHttpRequest"),i)a.setRequestHeader(s,i[s]);n=function(c){return function(){n&&(n=e=a.onload=a.onerror=a.onabort=a.ontimeout=a.onreadystatechange=null,"abort"===c?a.abort():"error"===c?"number"!=typeof a.status?r(0,"error"):r(a.status,a.statusText):r(lt[a.status]||a.status,a.statusText,"text"!==(a.responseType||"text")||"string"!=typeof a.responseText?{binary:a.response}:{text:a.responseText},a.getAllResponseHeaders()))}},a.onload=n(),e=a.onerror=a.ontimeout=n("error"),void 0!==a.onabort?a.onabort=e:a.onreadystatechange=function(){4===a.readyState&&L.setTimeout(function(){n&&e()})},n=n("abort");try{a.send(t.hasContent&&t.data||null)}catch(c){if(n)throw c}},abort:function(){n&&n()}}}),o.ajaxPrefilter(function(t){t.crossDomain&&(t.contents.script=!1)}),o.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(t){return o.globalEval(t),t}}}),o.ajaxPrefilter("script",function(t){void 0===t.cache&&(t.cache=!1),t.crossDomain&&(t.type="GET")}),o.ajaxTransport("script",function(t){var n,e;if(t.crossDomain||t.scriptAttrs)return{send:function(i,r){n=o("<script>").attr(t.scriptAttrs||{}).prop({charset:t.scriptCharset,src:t.url}).on("load error",e=function(s){n.remove(),e=null,s&&r("error"===s.type?404:200,s.type)}),z.head.appendChild(n[0])},abort:function(){e&&e()}}});var Ct,Ft=[],Ht=/(=)\?(?=&|$)|\?\?/;o.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var t=Ft.pop()||o.expando+"_"+F.guid++;return this[t]=!0,t}}),o.ajaxPrefilter("json jsonp",function(t,n,e){var i,r,s,a=!1!==t.jsonp&&(Ht.test(t.url)?"url":"string"==typeof t.data&&0===(t.contentType||"").indexOf("application/x-www-form-urlencoded")&&Ht.test(t.data)&&"data");if(a||"jsonp"===t.dataTypes[0])return i=t.jsonpCallback=Z(t.jsonpCallback)?t.jsonpCallback():t.jsonpCallback,a?t[a]=t[a].replace(Ht,"$1"+i):!1!==t.jsonp&&(t.url+=(he.test(t.url)?"&":"?")+t.jsonp+"="+i),t.converters["script json"]=function(){return s||o.error(i+" was not called"),s[0]},t.dataTypes[0]="json",r=L[i],L[i]=function(){s=arguments},e.always(function(){void 0===r?o(L).removeProp(i):L[i]=r,t[i]&&(t.jsonpCallback=n.jsonpCallback,Ft.push(i)),s&&Z(r)&&r(s[0]),s=r=void 0}),"script"}),J.createHTMLDocument=((Ct=z.implementation.createHTMLDocument("").body).innerHTML="<form></form><form></form>",2===Ct.childNodes.length),o.parseHTML=function(t,n,e){return"string"!=typeof t?[]:("boolean"==typeof n&&(e=n,n=!1),n||(J.createHTMLDocument?((i=(n=z.implementation.createHTMLDocument("")).createElement("base")).href=z.location.href,n.head.appendChild(i)):n=z),s=!e&&[],(r=gt.exec(t))?[n.createElement(r[1])]:(r=qn([t],n,s),s&&s.length&&o(s).remove(),o.merge([],r.childNodes)));var i,r,s},o.fn.load=function(t,n,e){var i,r,s,a=this,c=t.indexOf(" ");return-1<c&&(i=N(t.slice(c)),t=t.slice(0,c)),Z(n)?(e=n,n=void 0):n&&"object"==typeof n&&(r="POST"),0<a.length&&o.ajax({url:t,type:r||"GET",dataType:"html",data:n}).done(function(d){s=arguments,a.html(i?o("<div>").append(o.parseHTML(d)).find(i):d)}).always(e&&function(d,m){a.each(function(){e.apply(this,s||[d.responseText,m,d])})}),this},o.expr.pseudos.animated=function(t){return o.grep(o.timers,function(n){return t===n.elem}).length},o.offset={setOffset:function(t,n,e){var i,r,s,a,c,d,m=o.css(t,"position"),w=o(t),C={};"static"===m&&(t.style.position="relative"),c=w.offset(),s=o.css(t,"top"),d=o.css(t,"left"),("absolute"===m||"fixed"===m)&&-1<(s+d).indexOf("auto")?(a=(i=w.position()).top,r=i.left):(a=parseFloat(s)||0,r=parseFloat(d)||0),Z(n)&&(n=n.call(t,e,o.extend({},c))),null!=n.top&&(C.top=n.top-c.top+a),null!=n.left&&(C.left=n.left-c.left+r),"using"in n?n.using.call(t,C):w.css(C)}},o.fn.extend({offset:function(t){if(arguments.length)return void 0===t?this:this.each(function(r){o.offset.setOffset(this,t,r)});var n,e,i=this[0];return i?i.getClientRects().length?{top:(n=i.getBoundingClientRect()).top+(e=i.ownerDocument.defaultView).pageYOffset,left:n.left+e.pageXOffset}:{top:0,left:0}:void 0},position:function(){if(this[0]){var t,n,e,i=this[0],r={top:0,left:0};if("fixed"===o.css(i,"position"))n=i.getBoundingClientRect();else{for(n=this.offset(),e=i.ownerDocument,t=i.offsetParent||e.documentElement;t&&(t===e.body||t===e.documentElement)&&"static"===o.css(t,"position");)t=t.parentNode;t&&t!==i&&1===t.nodeType&&((r=o(t).offset()).top+=o.css(t,"borderTopWidth",!0),r.left+=o.css(t,"borderLeftWidth",!0))}return{top:n.top-r.top-o.css(i,"marginTop",!0),left:n.left-r.left-o.css(i,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var t=this.offsetParent;t&&"static"===o.css(t,"position");)t=t.offsetParent;return t||_t})}}),o.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(t,n){var e="pageYOffset"===n;o.fn[t]=function(i){return Nt(this,function(r,s,a){var c;if(pe(r)?c=r:9===r.nodeType&&(c=r.defaultView),void 0===a)return c?c[n]:r[s];c?c.scrollTo(e?c.pageXOffset:a,e?a:c.pageYOffset):r[s]=a},t,i,arguments.length)}}),o.each(["top","left"],function(t,n){o.cssHooks[n]=Nn(J.pixelPosition,function(e,i){if(i)return i=_n(e,n),Yn.test(i)?o(e).position()[n]+"px":i})}),o.each({Height:"height",Width:"width"},function(t,n){o.each({padding:"inner"+t,content:n,"":"outer"+t},function(e,i){o.fn[i]=function(r,s){var a=arguments.length&&(e||"boolean"!=typeof r),c=e||(!0===r||!0===s?"margin":"border");return Nt(this,function(d,m,w){var C;return pe(d)?0===i.indexOf("outer")?d["inner"+t]:d.document.documentElement["client"+t]:9===d.nodeType?(C=d.documentElement,Math.max(d.body["scroll"+t],C["scroll"+t],d.body["offset"+t],C["offset"+t],C["client"+t])):void 0===w?o.css(d,m,c):o.style(d,m,w,c)},n,a?r:void 0,a)}})}),o.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(t,n){o.fn[n]=function(e){return this.on(n,e)}}),o.fn.extend({bind:function(t,n,e){return this.on(t,null,n,e)},unbind:function(t,n){return this.off(t,null,n)},delegate:function(t,n,e,i){return this.on(n,t,e,i)},undelegate:function(t,n,e){return 1===arguments.length?this.off(t,"**"):this.off(n,t||"**",e)},hover:function(t,n){return this.on("mouseenter",t).on("mouseleave",n||t)}}),o.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(t,n){o.fn[n]=function(e,i){return 0<arguments.length?this.on(n,null,e,i):this.trigger(n)}});var hn=/^[\s\uFEFF\xA0]+|([^\s\uFEFF\xA0])[\s\uFEFF\xA0]+$/g;o.proxy=function(t,n){var e,i,r;if("string"==typeof n&&(e=t[n],n=t,t=e),Z(t))return i=de.call(arguments,2),(r=function(){return t.apply(n||this,i.concat(de.call(arguments)))}).guid=t.guid=t.guid||o.guid++,r},o.holdReady=function(t){t?o.readyWait++:o.ready(!0)},o.isArray=Array.isArray,o.parseJSON=JSON.parse,o.nodeName=p,o.isFunction=Z,o.isWindow=pe,o.camelCase=ot,o.type=G,o.now=Date.now,o.isNumeric=function(t){var n=o.type(t);return("number"===n||"string"===n)&&!isNaN(t-parseFloat(t))},o.trim=function(t){return null==t?"":(t+"").replace(hn,"$1")},"function"==typeof define&&define.amd&&define("jquery",[],function(){return o});var Sn=L.jQuery,Mn=L.$;return o.noConflict=function(t){return L.$===o&&(L.$=Mn),t&&L.jQuery===o&&(L.jQuery=Sn),o},typeof U>"u"&&(L.jQuery=L.$=o),o}),function(L,U){"function"==typeof define&&define.amd?define(U):"object"==typeof module&&"object"==typeof module.exports?module.exports=U():L.Cldr=U()}(this,function(){var p,L=Array.isArray||function(p){return"[object Array]"===Object.prototype.toString.call(p)},U=function(p,_){if(L(p)&&(p=p.join("/")),"string"!=typeof p)throw new Error('invalid path "'+p+'"');return(p=(p=p.replace(/^\//,"").replace(/^cldr\//,"")).replace(/{[a-zA-Z]+}/g,function(E){return E=E.replace(/^{([^}]*)}$/,"$1"),_[E]})).split("/")},re=function(p,_){var E,A;if(p.some)return p.some(_);for(E=0,A=p.length;E<A;E++)if(_(p[E],E,p))return!0;return!1},ye=function(p,_,E,A){var h,P=E[0],B=E[1],Q=p.localeSep,be=E[2],ve=E.slice(3,4);return A=A||{},"und"!==P&&"Zzzz"!==B&&"ZZ"!==be?[P,B,be].concat(ve):typeof _.get("supplemental/likelySubtags")>"u"?void 0:re([[P,B,be],[P,be],[P,B],[P],["und",B]],function(D){return h=!/\b(Zzzz|ZZ)\b/.test(D.join(Q))&&_.get(["supplemental/likelySubtags",D.join(Q)])})?(h=h.split(Q),["und"!==P?P:h[0],"Zzzz"!==B?B:h[1],"ZZ"!==be?be:h[2]].concat(ve)):A.force?_.get("supplemental/likelySubtags/und").split(Q):void 0},de=function(p,_,E){var A,j=E[0],P=E[1],B=E[2],Q=E[3];return re([[[j,"Zzzz","ZZ"],[j]],[[j,"Zzzz",B],[j,B]],[[j,P,"ZZ"],[j,P]]],function(be){var ve=ye(p,_,be[0]);return A=be[1],ve&&ve[0]===E[0]&&ve[1]===E[1]&&ve[2]===E[2]})?(Q&&A.push(Q),A):E},Le=function(p){var _,A=[];return(_=(p=p.replace(/_/,"-")).split("-u-"))[1]&&(_[1]=_[1].split("-t-"),p=_[0]+(_[1][1]?"-t-"+_[1][1]:""),A[4]=_[1][0]),null===(_=p.split("-t-")[0].match(/^(([a-z]{2,3})(-([A-Z][a-z]{3}))?(-([A-Z]{2}|[0-9]{3}))?)((-([a-zA-Z0-9]{5,8}|[0-9][a-zA-Z0-9]{3}))*)$|^(root)$/))?["und","Zzzz","ZZ"]:(A[0]=_[10]||_[2]||"und",A[1]=_[4]||"Zzzz",A[2]=_[6]||"ZZ",_[7]&&_[7].length&&(A[3]=_[7].slice(1)),A)},xe=function(p,_){var E,A;if(p.forEach)return p.forEach(_);for(E=0,A=p.length;E<A;E++)_(p[E],E,p)},Ee=function(p,_,E){var A=p._availableBundleMap,h=p._availableBundleMapQueue;return h.length&&(xe(h,function(j,P){var B,Q,be,ve;if(ve=Le(j),void 0===(Q=ye(p,_,ve)))throw h.splice(P,1),new Error("Could not find likelySubtags for "+j);be=(be=de(p,_,Q)).join(p.localeSep),!((B=A[be])&&B.length<j.length)&&(A[be]=j)}),p._availableBundleMapQueue=[]),A[E]||null},De=function(p,_){var E,A;return A=p+(_&&JSON?": "+JSON.stringify(_):""),(E=new Error(A)).code=p,xe(function(p){var _,E=[];if(Object.keys)return Object.keys(p);for(_ in p)E.push(_);return E}(_),function(h){E[h]=_[h]}),E},He=function(p,_,E){if(!_)throw De(p,E)},Ye=function(p,_){He("E_MISSING_PARAMETER",typeof p<"u",{name:_})},rt=function(p,_,E,A){He("E_INVALID_PAR_TYPE",E,{expected:A,name:_,value:p})},J=function(p,_){rt(p,_,"string"==typeof p||L(p),"String or Array")},pe=function(p,_){rt(p,_,typeof p>"u"||function(p){return null!==p&&""+p=="[object Object]"}(p),"Plain Object")},me=function(p,_){var E,A=p,h=_.length;for(E=0;E<h-1;E++)if(!(A=A[_[E]]))return;return A[_[E]]},nt=function(p,_){var E,A=p._availableBundleMapQueue,h=me(_,["main"]);if(h)for(E in h)h.hasOwnProperty(E)&&"root"!==E&&-1===A.indexOf(E)&&A.push(E)},G=function(p){return L(p)?p:[p]},pt=(p=function(){var _={},E=[].slice.call(arguments,0);return xe(E,function(A){var h;for(h in A)_[h]=h in _&&"object"==typeof _[h]&&!L(_[h])?p(_[h],A[h]):A[h]}),_},p),ht=function(p,_,E){var A,h,j;for(Ye(E[0],"json"),A=0;A<E.length;A++)for(j=G(E[A]),h=0;h<j.length;h++)pe(j[h],"json"),_=pt(_,j[h]),nt(p,j[h]);return _},o=function(p,_,E){var A=U(_,E);return me(p._resolved,A)},y=function(p){this.init(p)};return y._alwaysArray=G,y._coreLoad=ht,y._createError=De,y._itemGetResolved=o,y._jsonMerge=pt,y._pathNormalize=U,y._resourceGet=me,y._validatePresence=Ye,y._validateType=rt,y._validateTypePath=J,y._validateTypePlainObject=pe,y._availableBundleMap={},y._availableBundleMapQueue=[],y._resolved={},y.localeSep="-",y.load=function(){y._resolved=ht(y,y._resolved,arguments)},y.prototype.init=function(p){var _,E,A,h,j,P,B,Q,be,ve=y.localeSep,D="";Ye(p,"locale"),function(p,_){rt(p,"locale","string"==typeof p,"a string")}(p),5===(P=Le(p)).length&&(D=ve+"u"+ve+(Q=P.pop()),P[3]||P.pop()),be=P[3],E=(A=ye(y,this,P,{force:!0})||P)[0],j=A[1],B=A[2],h=de(y,this,A).join(ve),this.attributes=_={bundle:Ee(y,this,h),minLanguageId:h+D,maxLanguageId:A.join(ve)+D,language:E,script:j,territory:B,region:B,variant:be},Q&&("-"+Q).replace(/-[a-z]{3,8}|(-[a-z]{2})-([a-z]{3,8})/g,function(It,gt,Wt){gt?_["u"+gt]=Wt:_["u"+It]=!0}),this.locale=p},y.prototype.get=function(p){return Ye(p,"path"),J(p,"path"),o(y,p,this.attributes)},y.prototype.main=function(p){return Ye(p,"path"),J(p,"path"),He("E_MISSING_BUNDLE",null!==this.attributes.bundle,{locale:this.locale}),p=G(p),this.get(["main/{bundle}"].concat(p))},y}),function(L,U){"function"==typeof define&&define.amd?define(["cldr","cldr/event"],U):"object"==typeof exports?module.exports=U(require("cldrjs")):L.Globalize=U(L.Cldr)}(this,function(L){var re=function(h,j){return h.replace(/{[0-9a-zA-Z-_. ]+}/g,function(P){return P=P.replace(/^{([^}]*)}$/,"$1"),function(h){return"string"==typeof h?h:"number"==typeof h?""+h:JSON.stringify(h)}(j[P])})},ye=function(){var h=arguments[0];return[].slice.call(arguments,1).forEach(function(P){var B;for(B in P)h[B]=P[B]}),h},de=function(h,j,P){var B;return j=h+(j?": "+re(j,P):""),(B=new Error(j)).code=h,ye(B,P),B},Le=function(h,j,P){h.length&&h[h.length-1].type===j?h[h.length-1].value+=P:h.push({type:j,value:P})},ze=function(h){return JSON.stringify(h,function(j,P){return P&&P.runtimeKey?P.runtimeKey:P})},J=function(h,j,P,B){if(!P)throw de(h,j,B)},Z=function(h){return Array.isArray(h)?h:h?[h]:[]},pe=function(h,j,P){var B;B=Z((P=P||{}).skip).some(function(Q){return Q.test(h)}),J("E_MISSING_CLDR","Missing required CLDR content `{path}`.",j||B,{path:h})},me=function(h,j){J("E_MISSING_PARAMETER","Missing required parameter `{name}`.",void 0!==h,{name:j})},G=function(h,j,P,B){J("E_INVALID_PAR_TYPE","Invalid `{name}` parameter ({value}). {expected} expected.",P,{expected:B,name:j,value:h})},pt=function(h,j){G(h,j,void 0===h||"string"==typeof h||h instanceof L,"String or Cldr instance")},ht=function(h){return null!==h&&""+h=="[object Object]"},y=function(h){return h instanceof L?h:new L(h)};function E(h){h.once("get",pe),h.get("supplemental/likelySubtags")}function A(h){if(!(this instanceof A))return new A(h);me(h,"locale"),pt(h,"locale"),this.cldr=y(h),E(this.cldr)}return A.load=function(){L.load.apply(L,arguments)},A.locale=function(h){return pt(h,"locale"),arguments.length&&(this.cldr=y(h),E(this.cldr)),this.cldr},A._alwaysArray=Z,A._createError=de,A._formatMessage=re,A._formatMessageToParts=function(h,j){var P=0,B=[];return h.replace(/{[0-9a-zA-Z-_. ]+}/g,function(Q,be){var ve=Q.slice(1,-1);Le(B,"literal",h.slice(P,be)),Le(B,"variable",j[ve]),B[B.length-1].name=ve,P+=be+Q.length}),B.filter(function(Q){return""!==Q.value})},A._isPlainObject=ht,A._objectExtend=ye,A._partsJoin=function(h){return h.map(function(j){return j.value}).join("")},A._partsPush=Le,A._regexpEscape=function(h){return h.replace(/([.*+?^=!:${}()|\[\]\/\\])/g,"\\$1")},A._runtimeBind=function(h,j,P,B){var Q=ze(h),be=function(h){if(void 0!==h.name)return h.name;var j=/^function\s+([\w\$]+)\s*\(/.exec(h.toString());return j&&j.length>0?j[1]:void 0}(P),ve=j.locale;return be&&(P.runtimeKey=function(h,j,P,B){var Q;return Q=function(h){return[].reduce.call(h,function(j,P){return 0|(j<<5)-j+P.charCodeAt(0)},0)}(h+j+(B=B||ze(null))),Q>0?"a"+Q:"b"+Math.abs(Q)}(be,ve,0,Q),P.generatorString=function(){return'Globalize("'+ve+'").'+be+"("+Q.slice(1,-1)+")"},P.runtimeArgs=B),P},A._stringPad=function(h,j,P){var B;for("string"!=typeof h&&(h=String(h)),B=h.length;B<j;B+=1)h=P?h+"0":"0"+h;return h},A._validate=J,A._validateCldr=pe,A._validateDefaultLocale=function(h){J("E_DEFAULT_LOCALE_NOT_DEFINED","Default locale has not been defined.",void 0!==h,{})},A._validateParameterPresence=me,A._validateParameterRange=function(h,j,P,B){J("E_PAR_OUT_OF_RANGE","Parameter `{name}` has value `{value}` out of range [{minimum}, {maximum}].",void 0===h||h>=P&&h<=B,{maximum:B,minimum:P,name:j,value:h})},A._validateParameterTypePlainObject=function(h,j){G(h,j,void 0===h||ht(h),"Plain Object")},A._validateParameterType=G,A}),function(L,U){"object"==typeof exports&&typeof module<"u"?U(exports):"function"==typeof define&&define.amd?define(["exports"],U):U((L=typeof globalThis<"u"?globalThis:L||self).Popper={})}(this,function(L){"use strict";function U(u){if(null==u)return window;if("[object Window]"!==u.toString()){var l=u.ownerDocument;return l&&l.defaultView||window}return u}function re(u){return u instanceof U(u).Element||u instanceof Element}function ye(u){return u instanceof U(u).HTMLElement||u instanceof HTMLElement}function de(u){return!(typeof ShadowRoot>"u")&&(u instanceof U(u).ShadowRoot||u instanceof ShadowRoot)}var Le=Math.max,xe=Math.min,Ee=Math.round;function ze(){var u=navigator.userAgentData;return null!=u&&u.brands?u.brands.map(function(l){return l.brand+"/"+l.version}).join(" "):navigator.userAgent}function De(){return!/^((?!chrome|android).)*safari/i.test(ze())}function He(u,l,g){void 0===l&&(l=!1),void 0===g&&(g=!1);var S=u.getBoundingClientRect(),k=1,N=1;l&&ye(u)&&(k=u.offsetWidth>0&&Ee(S.width)/u.offsetWidth||1,N=u.offsetHeight>0&&Ee(S.height)/u.offsetHeight||1);var M=(re(u)?U(u):window).visualViewport,R=!De()&&g,te=(S.left+(R&&M?M.offsetLeft:0))/k,F=(S.top+(R&&M?M.offsetTop:0))/N,he=S.width/k,Ie=S.height/N;return{width:he,height:Ie,top:F,right:te+he,bottom:F+Ie,left:te,x:te,y:F}}function Ye(u){var l=U(u);return{scrollLeft:l.pageXOffset,scrollTop:l.pageYOffset}}function Z(u){return u?(u.nodeName||"").toLowerCase():null}function pe(u){return((re(u)?u.ownerDocument:u.document)||window.document).documentElement}function z(u){return He(pe(u)).left+Ye(u).scrollLeft}function me(u){return U(u).getComputedStyle(u)}function nt(u){var l=me(u);return/auto|scroll|overlay|hidden/.test(l.overflow+l.overflowY+l.overflowX)}function pt(u,l,g){void 0===g&&(g=!1);var S=ye(l),k=ye(l)&&function G(u){var l=u.getBoundingClientRect(),g=Ee(l.width)/u.offsetWidth||1,S=Ee(l.height)/u.offsetHeight||1;return 1!==g||1!==S}(l),N=pe(l),H=He(u,k,g),M={scrollLeft:0,scrollTop:0},R={x:0,y:0};return(S||!S&&!g)&&(("body"!==Z(l)||nt(N))&&(M=function J(u){return u!==U(u)&&ye(u)?function rt(u){return{scrollLeft:u.scrollLeft,scrollTop:u.scrollTop}}(u):Ye(u)}(l)),ye(l)?((R=He(l,!0)).x+=l.clientLeft,R.y+=l.clientTop):N&&(R.x=z(N))),{x:H.left+M.scrollLeft-R.x,y:H.top+M.scrollTop-R.y,width:H.width,height:H.height}}function ht(u){var l=He(u),g=u.offsetWidth,S=u.offsetHeight;return Math.abs(l.width-g)<=1&&(g=l.width),Math.abs(l.height-S)<=1&&(S=l.height),{x:u.offsetLeft,y:u.offsetTop,width:g,height:S}}function o(u){return"html"===Z(u)?u:u.assignedSlot||u.parentNode||(de(u)?u.host:null)||pe(u)}function y(u){return["html","body","#document"].indexOf(Z(u))>=0?u.ownerDocument.body:ye(u)&&nt(u)?u:y(o(u))}function p(u,l){var g;void 0===l&&(l=[]);var S=y(u),k=S===(null==(g=u.ownerDocument)?void 0:g.body),N=U(S),H=k?[N].concat(N.visualViewport||[],nt(S)?S:[]):S,M=l.concat(H);return k?M:M.concat(p(o(H)))}function _(u){return["table","td","th"].indexOf(Z(u))>=0}function E(u){return ye(u)&&"fixed"!==me(u).position?u.offsetParent:null}function h(u){for(var l=U(u),g=E(u);g&&_(g)&&"static"===me(g).position;)g=E(g);return g&&("html"===Z(g)||"body"===Z(g)&&"static"===me(g).position)?l:g||function A(u){var l=/firefox/i.test(ze());if(/Trident/i.test(ze())&&ye(u)&&"fixed"===me(u).position)return null;var k=o(u);for(de(k)&&(k=k.host);ye(k)&&["html","body"].indexOf(Z(k))<0;){var N=me(k);if("none"!==N.transform||"none"!==N.perspective||"paint"===N.contain||-1!==["transform","perspective"].indexOf(N.willChange)||l&&"filter"===N.willChange||l&&N.filter&&"none"!==N.filter)return k;k=k.parentNode}return null}(u)||l}var j="top",P="bottom",B="right",Q="left",be="auto",ve=[j,P,B,Q],D="start",It="end",Wt="viewport",Vt="popper",Dt=ve.reduce(function(u,l){return u.concat([l+"-"+D,l+"-"+It])},[]),on=[].concat(ve,[be]).reduce(function(u,l){return u.concat([l,l+"-"+D,l+"-"+It])},[]),an=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function yn(u){var l=new Map,g=new Set,S=[];function k(N){g.add(N.name),[].concat(N.requires||[],N.requiresIfExists||[]).forEach(function(M){if(!g.has(M)){var R=l.get(M);R&&k(R)}}),S.push(N)}return u.forEach(function(N){l.set(N.name,N)}),u.forEach(function(N){g.has(N.name)||k(N)}),S}function ot(u){var l;return function(){return l||(l=new Promise(function(g){Promise.resolve().then(function(){l=void 0,g(u())})})),l}}function st(u){for(var l=arguments.length,g=new Array(l>1?l-1:0),S=1;S<l;S++)g[S-1]=arguments[S];return[].concat(g).reduce(function(k,N){return k.replace(/%s/,N)},u)}var dt='Popper: modifier "%s" provided an invalid %s property, expected %s but got %s',Ge=["name","enabled","phase","fn","effect","requires","options"];function yt(u){return u.split("-")[0]}function _t(u,l){var g=l.getRootNode&&l.getRootNode();if(u.contains(l))return!0;if(g&&de(g)){var S=l;do{if(S&&u.isSameNode(S))return!0;S=S.parentNode||S.host}while(S)}return!1}function Ot(u){return Object.assign({},u,{left:u.x,top:u.y,right:u.x+u.width,bottom:u.y+u.height})}function bn(u,l,g){return l===Wt?Ot(function Jt(u,l){var g=U(u),S=pe(u),k=g.visualViewport,N=S.clientWidth,H=S.clientHeight,M=0,R=0;if(k){N=k.width,H=k.height;var te=De();(te||!te&&"fixed"===l)&&(M=k.offsetLeft,R=k.offsetTop)}return{width:N,height:H,x:M+z(u),y:R}}(u,g)):re(l)?function hi(u,l){var g=He(u,!1,"fixed"===l);return g.top=g.top+u.clientTop,g.left=g.left+u.clientLeft,g.bottom=g.top+u.clientHeight,g.right=g.left+u.clientWidth,g.width=u.clientWidth,g.height=u.clientHeight,g.x=g.left,g.y=g.top,g}(l,g):Ot(function bt(u){var l,g=pe(u),S=Ye(u),k=null==(l=u.ownerDocument)?void 0:l.body,N=Le(g.scrollWidth,g.clientWidth,k?k.scrollWidth:0,k?k.clientWidth:0),H=Le(g.scrollHeight,g.clientHeight,k?k.scrollHeight:0,k?k.clientHeight:0),M=-S.scrollLeft+z(u),R=-S.scrollTop;return"rtl"===me(k||g).direction&&(M+=Le(g.clientWidth,k?k.clientWidth:0)-N),{width:N,height:H,x:M,y:R}}(pe(u)))}function xt(u){return u.split("-")[1]}function jt(u){return["top","bottom"].indexOf(u)>=0?"x":"y"}function cn(u){var R,l=u.reference,g=u.element,S=u.placement,k=S?yt(S):null,N=S?xt(S):null,H=l.x+l.width/2-g.width/2,M=l.y+l.height/2-g.height/2;switch(k){case j:R={x:H,y:l.y-g.height};break;case P:R={x:H,y:l.y+l.height};break;case B:R={x:l.x+l.width,y:M};break;case Q:R={x:l.x-g.width,y:M};break;default:R={x:l.x,y:l.y}}var te=k?jt(k):null;if(null!=te){var F="y"===te?"height":"width";switch(N){case D:R[te]=R[te]-(l[F]/2-g[F]/2);break;case It:R[te]=R[te]+(l[F]/2-g[F]/2)}}return R}function Xt(u){return Object.assign({},{top:0,right:0,bottom:0,left:0},u)}function Mt(u,l){return l.reduce(function(g,S){return g[S]=u,g},{})}function $e(u,l){void 0===l&&(l={});var S=l.placement,k=void 0===S?u.placement:S,N=l.strategy,H=void 0===N?u.strategy:N,M=l.boundary,R=void 0===M?"clippingParents":M,te=l.rootBoundary,F=void 0===te?Wt:te,he=l.elementContext,Ie=void 0===he?Vt:he,ae=l.altBoundary,Pe=void 0!==ae&&ae,ce=l.padding,Ae=void 0===ce?0:ce,je=Xt("number"!=typeof Ae?Ae:Mt(Ae,ve)),Re=u.rects.popper,ue=u.elements[Pe?Ie===Vt?"reference":Vt:Ie],we=function Qn(u,l,g,S){var k="clippingParents"===l?function Zt(u){var l=p(o(u)),S=["absolute","fixed"].indexOf(me(u).position)>=0&&ye(u)?h(u):u;return re(S)?l.filter(function(k){return re(k)&&_t(k,S)&&"body"!==Z(k)}):[]}(u):[].concat(l),N=[].concat(k,[g]),M=N.reduce(function(R,te){var F=bn(u,te,S);return R.top=Le(F.top,R.top),R.right=xe(F.right,R.right),R.bottom=xe(F.bottom,R.bottom),R.left=Le(F.left,R.left),R},bn(u,N[0],S));return M.width=M.right-M.left,M.height=M.bottom-M.top,M.x=M.left,M.y=M.top,M}(re(ue)?ue:ue.contextElement||pe(u.elements.popper),R,F,H),ge=He(u.elements.reference),Ne=cn({reference:ge,element:Re,strategy:"absolute",placement:k}),Me=Ot(Object.assign({},Re,Ne)),Qe=Ie===Vt?Me:ge,Be={top:we.top-Qe.top+je.top,bottom:Qe.bottom-we.bottom+je.bottom,left:we.left-Qe.left+je.left,right:Qe.right-we.right+je.right},Te=u.modifiersData.offset;if(Ie===Vt&&Te){var Je=Te[k];Object.keys(Be).forEach(function(Ve){var Bt=[B,P].indexOf(Ve)>=0?1:-1,Et=[j,P].indexOf(Ve)>=0?"y":"x";Be[Ve]+=Je[Et]*Bt})}return Be}var Ke="Popper: Invalid reference or popper argument provided. They must be either a DOM element or virtual element.",ii={placement:"bottom",modifiers:[],strategy:"absolute"};function qn(){for(var u=arguments.length,l=new Array(u),g=0;g<u;g++)l[g]=arguments[g];return!l.some(function(S){return!(S&&"function"==typeof S.getBoundingClientRect)})}function Dn(u){void 0===u&&(u={});var g=u.defaultModifiers,S=void 0===g?[]:g,k=u.defaultOptions,N=void 0===k?ii:k;return function(M,R,te){void 0===te&&(te=N);var F={placement:"bottom",orderedModifiers:[],options:Object.assign({},ii,N),modifiersData:{},elements:{reference:M,popper:R},attributes:{},styles:{}},he=[],Ie=!1,ae={state:F,setOptions:function(je){var Oe="function"==typeof je?je(F.options):je;ce(),F.options=Object.assign({},N,F.options,Oe),F.scrollParents={reference:re(M)?p(M):M.contextElement?p(M.contextElement):[],popper:p(R)};var Re=function ln(u){var l=yn(u);return an.reduce(function(g,S){return g.concat(l.filter(function(k){return k.phase===S}))},[])}(function Kt(u){var l=u.reduce(function(g,S){var k=g[S.name];return g[S.name]=k?Object.assign({},k,S,{options:Object.assign({},k.options,S.options),data:Object.assign({},k.data,S.data)}):S,g},{});return Object.keys(l).map(function(g){return l[g]})}([].concat(S,F.options.modifiers)));F.orderedModifiers=Re.filter(function(Te){return Te.enabled});var ue=function pi(u,l){var g=new Set;return u.filter(function(S){var k=l(S);if(!g.has(k))return g.add(k),!0})}([].concat(Re,F.options.modifiers),function(Te){return Te.name});(function fi(u){u.forEach(function(l){[].concat(Object.keys(l),Ge).filter(function(g,S,k){return k.indexOf(g)===S}).forEach(function(g){switch(g){case"name":"string"!=typeof l.name&&console.error(st(dt,String(l.name),'"name"','"string"','"'+String(l.name)+'"'));break;case"enabled":"boolean"!=typeof l.enabled&&console.error(st(dt,l.name,'"enabled"','"boolean"','"'+String(l.enabled)+'"'));break;case"phase":an.indexOf(l.phase)<0&&console.error(st(dt,l.name,'"phase"',"either "+an.join(", "),'"'+String(l.phase)+'"'));break;case"fn":"function"!=typeof l.fn&&console.error(st(dt,l.name,'"fn"','"function"','"'+String(l.fn)+'"'));break;case"effect":null!=l.effect&&"function"!=typeof l.effect&&console.error(st(dt,l.name,'"effect"','"function"','"'+String(l.fn)+'"'));break;case"requires":null!=l.requires&&!Array.isArray(l.requires)&&console.error(st(dt,l.name,'"requires"','"array"','"'+String(l.requires)+'"'));break;case"requiresIfExists":Array.isArray(l.requiresIfExists)||console.error(st(dt,l.name,'"requiresIfExists"','"array"','"'+String(l.requiresIfExists)+'"'));break;case"options":case"data":break;default:console.error('PopperJS: an invalid property has been provided to the "'+l.name+'" modifier, valid properties are '+Ge.map(function(S){return'"'+S+'"'}).join(", ")+'; but "'+g+'" was provided.')}l.requires&&l.requires.forEach(function(S){null==u.find(function(k){return k.name===S})&&console.error(st('Popper: modifier "%s" requires "%s", but "%s" modifier is not available',String(l.name),S,S))})})})})(ue),yt(F.options.placement)===be&&(F.orderedModifiers.find(function(Te){return"flip"===Te.name})||console.error(['Popper: "auto" placements require the "flip" modifier be',"present and enabled to work."].join(" ")));var ge=me(R);return[ge.marginTop,ge.marginRight,ge.marginBottom,ge.marginLeft].some(function(Te){return parseFloat(Te)})&&console.warn(['Popper: CSS "margin" styles cannot be used to apply padding',"between the popper and its reference element or boundary.","To replicate margin, use the `offset` modifier, as well as","the `padding` option in the `preventOverflow` and `flip`","modifiers."].join(" ")),function Pe(){F.orderedModifiers.forEach(function(Ae){var Oe=Ae.options,ue=Ae.effect;if("function"==typeof ue){var we=ue({state:F,name:Ae.name,instance:ae,options:void 0===Oe?{}:Oe});he.push(we||function(){})}})}(),ae.update()},forceUpdate:function(){if(!Ie){var je=F.elements,Oe=je.reference,Re=je.popper;if(!qn(Oe,Re))return void console.error(Ke);F.rects={reference:pt(Oe,h(Re),"fixed"===F.options.strategy),popper:ht(Re)},F.reset=!1,F.placement=F.options.placement,F.orderedModifiers.forEach(function(Te){return F.modifiersData[Te.name]=Object.assign({},Te.data)});for(var ue=0,we=0;we<F.orderedModifiers.length;we++){if((ue+=1)>100){console.error("Popper: An infinite loop in the modifiers cycle has been detected! The cycle has been interrupted to prevent a browser crash.");break}if(!0!==F.reset){var ge=F.orderedModifiers[we],Ne=ge.fn,Me=ge.options;"function"==typeof Ne&&(F=Ne({state:F,options:void 0===Me?{}:Me,name:ge.name,instance:ae})||F)}else F.reset=!1,we=-1}}},update:ot(function(){return new Promise(function(Ae){ae.forceUpdate(),Ae(F)})}),destroy:function(){ce(),Ie=!0}};if(!qn(M,R))return console.error(Ke),ae;function ce(){he.forEach(function(Ae){return Ae()}),he=[]}return ae.setOptions(te).then(function(Ae){!Ie&&te.onFirstUpdate&&te.onFirstUpdate(Ae)}),ae}}var Rt={passive:!0},An={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function un(u){var l=u.state,g=u.instance,S=u.options,k=S.scroll,N=void 0===k||k,H=S.resize,M=void 0===H||H,R=U(l.elements.popper),te=[].concat(l.scrollParents.reference,l.scrollParents.popper);return N&&te.forEach(function(F){F.addEventListener("scroll",g.update,Rt)}),M&&R.addEventListener("resize",g.update,Rt),function(){N&&te.forEach(function(F){F.removeEventListener("scroll",g.update,Rt)}),M&&R.removeEventListener("resize",g.update,Rt)}},data:{}},ft={name:"popperOffsets",enabled:!0,phase:"read",fn:function On(u){var l=u.state;l.modifiersData[u.name]=cn({reference:l.rects.reference,element:l.rects.popper,strategy:"absolute",placement:l.placement})},data:{}},ri={top:"auto",right:"auto",bottom:"auto",left:"auto"};function dn(u){var l,g=u.popper,S=u.popperRect,k=u.placement,N=u.variation,H=u.offsets,M=u.position,R=u.gpuAcceleration,te=u.adaptive,F=u.roundOffsets,he=u.isFixed,Ie=H.x,ae=void 0===Ie?0:Ie,Pe=H.y,ce=void 0===Pe?0:Pe,Ae="function"==typeof F?F({x:ae,y:ce}):{x:ae,y:ce};ae=Ae.x,ce=Ae.y;var je=H.hasOwnProperty("x"),Oe=H.hasOwnProperty("y"),Re=Q,ue=j,we=window;if(te){var ge=h(g),Ne="clientHeight",Me="clientWidth";ge===U(g)&&"static"!==me(ge=pe(g)).position&&"absolute"===M&&(Ne="scrollHeight",Me="scrollWidth"),(k===j||(k===Q||k===B)&&N===It)&&(ue=P,ce-=(he&&ge===we&&we.visualViewport?we.visualViewport.height:ge[Ne])-S.height,ce*=R?1:-1),k!==Q&&(k!==j&&k!==P||N!==It)||(Re=B,ae-=(he&&ge===we&&we.visualViewport?we.visualViewport.width:ge[Me])-S.width,ae*=R?1:-1)}var Ve,Te=Object.assign({position:M},te&&ri),Je=!0===F?function oi(u){var g=u.y,k=window.devicePixelRatio||1;return{x:Ee(u.x*k)/k||0,y:Ee(g*k)/k||0}}({x:ae,y:ce}):{x:ae,y:ce};return ae=Je.x,ce=Je.y,Object.assign({},Te,R?((Ve={})[ue]=Oe?"0":"",Ve[Re]=je?"0":"",Ve.transform=(we.devicePixelRatio||1)<=1?"translate("+ae+"px, "+ce+"px)":"translate3d("+ae+"px, "+ce+"px, 0)",Ve):((l={})[ue]=Oe?ce+"px":"",l[Re]=je?ae+"px":"",l.transform="",l))}var wn={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function si(u){var l=u.state,g=u.options,S=g.gpuAcceleration,k=void 0===S||S,N=g.adaptive,H=void 0===N||N,M=g.roundOffsets,R=void 0===M||M,te=me(l.elements.popper).transitionProperty||"";H&&["transform","top","right","bottom","left"].some(function(he){return te.indexOf(he)>=0})&&console.warn(["Popper: Detected CSS transitions on at least one of the following",'CSS properties: "transform", "top", "right", "bottom", "left".',"\n\n",'Disable the "computeStyles" modifier\'s `adaptive` option to allow',"for smooth transitions, or remove these properties from the CSS","transition declaration on the popper element if only transitioning","opacity or background-color for example.","\n\n","We recommend using the popper element as a wrapper around an inner","element that can have any CSS property transitioned for animations."].join(" "));var F={placement:yt(l.placement),variation:xt(l.placement),popper:l.elements.popper,popperRect:l.rects.popper,gpuAcceleration:k,isFixed:"fixed"===l.options.strategy};null!=l.modifiersData.popperOffsets&&(l.styles.popper=Object.assign({},l.styles.popper,dn(Object.assign({},F,{offsets:l.modifiersData.popperOffsets,position:l.options.strategy,adaptive:H,roundOffsets:R})))),null!=l.modifiersData.arrow&&(l.styles.arrow=Object.assign({},l.styles.arrow,dn(Object.assign({},F,{offsets:l.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:R})))),l.attributes.popper=Object.assign({},l.attributes.popper,{"data-popper-placement":l.placement})},data:{}},jn={name:"applyStyles",enabled:!0,phase:"write",fn:function Un(u){var l=u.state;Object.keys(l.elements).forEach(function(g){var S=l.styles[g]||{},k=l.attributes[g]||{},N=l.elements[g];!ye(N)||!Z(N)||(Object.assign(N.style,S),Object.keys(k).forEach(function(H){var M=k[H];!1===M?N.removeAttribute(H):N.setAttribute(H,!0===M?"":M)}))})},effect:function en(u){var l=u.state,g={popper:{position:l.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(l.elements.popper.style,g.popper),l.styles=g,l.elements.arrow&&Object.assign(l.elements.arrow.style,g.arrow),function(){Object.keys(l.elements).forEach(function(S){var k=l.elements[S],N=l.attributes[S]||{},M=Object.keys(l.styles.hasOwnProperty(S)?l.styles[S]:g[S]).reduce(function(R,te){return R[te]="",R},{});!ye(k)||!Z(k)||(Object.assign(k.style,M),Object.keys(N).forEach(function(R){k.removeAttribute(R)}))})}},requires:["computeStyles"]},fn={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function Ln(u){var l=u.state,S=u.name,k=u.options.offset,N=void 0===k?[0,0]:k,H=on.reduce(function(F,he){return F[he]=function Yn(u,l,g){var S=yt(u),k=[Q,j].indexOf(S)>=0?-1:1,N="function"==typeof g?g(Object.assign({},l,{placement:u})):g,H=N[0],M=N[1];return H=H||0,M=(M||0)*k,[Q,B].indexOf(S)>=0?{x:M,y:H}:{x:H,y:M}}(he,l.rects,N),F},{}),M=H[l.placement],te=M.y;null!=l.modifiersData.popperOffsets&&(l.modifiersData.popperOffsets.x+=M.x,l.modifiersData.popperOffsets.y+=te),l.modifiersData[S]=H}},Vn={left:"right",right:"left",bottom:"top",top:"bottom"};function Pn(u){return u.replace(/left|right|bottom|top/g,function(l){return Vn[l]})}var _n={start:"end",end:"start"};function Nn(u){return u.replace(/start|end/g,function(l){return _n[l]})}var xn={name:"flip",enabled:!0,phase:"main",fn:function Kn(u){var l=u.state,g=u.options,S=u.name;if(!l.modifiersData[S]._skip){for(var k=g.mainAxis,N=void 0===k||k,H=g.altAxis,M=void 0===H||H,R=g.fallbackPlacements,te=g.padding,F=g.boundary,he=g.rootBoundary,Ie=g.altBoundary,ae=g.flipVariations,Pe=void 0===ae||ae,ce=g.allowedAutoPlacements,Ae=l.options.placement,je=yt(Ae),Re=R||(je!==Ae&&Pe?function Gn(u){if(yt(u)===be)return[];var l=Pn(u);return[Nn(u),l,Nn(l)]}(Ae):[Pn(Ae)]),ue=[Ae].concat(Re).reduce(function(t,n){return t.concat(yt(n)===be?function zn(u,l){void 0===l&&(l={});var k=l.boundary,N=l.rootBoundary,H=l.padding,M=l.flipVariations,R=l.allowedAutoPlacements,te=void 0===R?on:R,F=xt(l.placement),he=F?M?Dt:Dt.filter(function(Pe){return xt(Pe)===F}):ve,Ie=he.filter(function(Pe){return te.indexOf(Pe)>=0});0===Ie.length&&(Ie=he,console.error(["Popper: The `allowedAutoPlacements` option did not allow any","placements. Ensure the `placement` option matches the variation","of the allowed placements.",'For example, "auto" cannot be used to allow "bottom-start".','Use "auto-start" instead.'].join(" ")));var ae=Ie.reduce(function(Pe,ce){return Pe[ce]=$e(u,{placement:ce,boundary:k,rootBoundary:N,padding:H})[yt(ce)],Pe},{});return Object.keys(ae).sort(function(Pe,ce){return ae[Pe]-ae[ce]})}(l,{placement:n,boundary:F,rootBoundary:he,padding:te,flipVariations:Pe,allowedAutoPlacements:ce}):n)},[]),we=l.rects.reference,ge=l.rects.popper,Ne=new Map,Me=!0,Qe=ue[0],Be=0;Be<ue.length;Be++){var Te=ue[Be],Je=yt(Te),Ve=xt(Te)===D,Bt=[j,P].indexOf(Je)>=0,Et=Bt?"width":"height",lt=$e(l,{placement:Te,boundary:F,rootBoundary:he,altBoundary:Ie,padding:te}),Xe=Bt?Ve?B:Q:Ve?P:j;we[Et]>ge[Et]&&(Xe=Pn(Xe));var Ct=Pn(Xe),Ft=[];if(N&&Ft.push(lt[Je]<=0),M&&Ft.push(lt[Xe]<=0,lt[Ct]<=0),Ft.every(function(t){return t})){Qe=Te,Me=!1;break}Ne.set(Te,Ft)}if(Me)for(var hn=function(n){var e=ue.find(function(i){var r=Ne.get(i);if(r)return r.slice(0,n).every(function(s){return s})});if(e)return Qe=e,"break"},Sn=Pe?3:1;Sn>0&&"break"!==hn(Sn);Sn--);l.placement!==Qe&&(l.modifiersData[S]._skip=!0,l.placement=Qe,l.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function En(u,l,g){return Le(u,xe(l,g))}var Cn={name:"preventOverflow",enabled:!0,phase:"main",fn:function qt(u){var l=u.state,g=u.options,S=u.name,k=g.mainAxis,N=void 0===k||k,H=g.altAxis,M=void 0!==H&&H,Ie=g.tether,ae=void 0===Ie||Ie,Pe=g.tetherOffset,ce=void 0===Pe?0:Pe,Ae=$e(l,{boundary:g.boundary,rootBoundary:g.rootBoundary,padding:g.padding,altBoundary:g.altBoundary}),je=yt(l.placement),Oe=xt(l.placement),Re=!Oe,ue=jt(je),we=function Jn(u){return"x"===u?"y":"x"}(ue),ge=l.modifiersData.popperOffsets,Ne=l.rects.reference,Me=l.rects.popper,Qe="function"==typeof ce?ce(Object.assign({},l.rects,{placement:l.placement})):ce,Be="number"==typeof Qe?{mainAxis:Qe,altAxis:Qe}:Object.assign({mainAxis:0,altAxis:0},Qe),Te=l.modifiersData.offset?l.modifiersData.offset[l.placement]:null,Je={x:0,y:0};if(ge){if(N){var Ve,Bt="y"===ue?j:Q,Et="y"===ue?P:B,lt="y"===ue?"height":"width",Xe=ge[ue],Ct=Xe+Ae[Bt],Ft=Xe-Ae[Et],Ht=ae?-Me[lt]/2:0,hn=Oe===D?Ne[lt]:Me[lt],Sn=Oe===D?-Me[lt]:-Ne[lt],Mn=l.elements.arrow,t=ae&&Mn?ht(Mn):{width:0,height:0},n=l.modifiersData["arrow#persistent"]?l.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},e=n[Bt],i=n[Et],r=En(0,Ne[lt],t[lt]),s=Re?Ne[lt]/2-Ht-r-e-Be.mainAxis:hn-r-e-Be.mainAxis,a=Re?-Ne[lt]/2+Ht+r+i+Be.mainAxis:Sn+r+i+Be.mainAxis,c=l.elements.arrow&&h(l.elements.arrow),d=c?"y"===ue?c.clientTop||0:c.clientLeft||0:0,m=null!=(Ve=Te?.[ue])?Ve:0,C=Xe+a-m,b=En(ae?xe(Ct,Xe+s-m-d):Ct,Xe,ae?Le(Ft,C):Ft);ge[ue]=b,Je[ue]=b-Xe}if(M){var I,K=ge[we],Se="y"===we?"height":"width",Fe=K+Ae["x"===ue?j:Q],Tt=K-Ae["x"===ue?P:B],Ze=-1!==[j,Q].indexOf(je),fe=null!=(I=Te?.[we])?I:0,gn=Ze?Fe:K-Ne[Se]-Me[Se]-fe+Be.altAxis,_e=Ze?K+Ne[Se]+Me[Se]-fe-Be.altAxis:Tt,We=ae&&Ze?function ai(u,l,g){var S=En(u,l,g);return S>g?g:S}(gn,K,_e):En(ae?gn:Fe,K,ae?_e:Tt);ge[we]=We,Je[we]=We-K}l.modifiersData[S]=Je}},requiresIfExists:["offset"]},pn={name:"arrow",enabled:!0,phase:"main",fn:function At(u){var l,g=u.state,S=u.name,k=u.options,N=g.elements.arrow,H=g.modifiersData.popperOffsets,M=yt(g.placement),R=jt(M),F=[Q,B].indexOf(M)>=0?"height":"width";if(N&&H){var he=function(l,g){return Xt("number"!=typeof(l="function"==typeof l?l(Object.assign({},g.rects,{placement:g.placement})):l)?l:Mt(l,ve))}(k.padding,g),Ie=ht(N),ae="y"===R?j:Q,Pe="y"===R?P:B,ce=g.rects.reference[F]+g.rects.reference[R]-H[R]-g.rects.popper[F],Ae=H[R]-g.rects.reference[R],je=h(N),Oe=je?"y"===R?je.clientHeight||0:je.clientWidth||0:0,ge=Oe/2-Ie[F]/2+(ce/2-Ae/2),Ne=En(he[ae],ge,Oe-Ie[F]-he[Pe]);g.modifiersData[S]=((l={})[R]=Ne,l.centerOffset=Ne-ge,l)}},effect:function tn(u){var l=u.state,S=u.options.element,k=void 0===S?"[data-popper-arrow]":S;if(null!=k&&("string"!=typeof k||(k=l.elements.popper.querySelector(k)))){if(ye(k)||console.error(['Popper: "arrow" element must be an HTMLElement (not an SVGElement).',"To use an SVG arrow, wrap it in an HTMLElement that will be used as","the arrow."].join(" ")),!_t(l.elements.popper,k))return void console.error(['Popper: "arrow" modifier\'s `element` must be a child of the popper',"element."].join(" "));l.elements.arrow=k}},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Ut(u,l,g){return void 0===g&&(g={x:0,y:0}),{top:u.top-l.height-g.y,right:u.right-l.width+g.x,bottom:u.bottom-l.height+g.y,left:u.left-l.width-g.x}}function $n(u){return[j,B,P,Q].some(function(l){return u[l]>=0})}var Lt={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function gi(u){var l=u.state,g=u.name,S=l.rects.reference,k=l.rects.popper,N=l.modifiersData.preventOverflow,H=$e(l,{elementContext:"reference"}),M=$e(l,{altBoundary:!0}),R=Ut(H,S),te=Ut(M,k,N),F=$n(R),he=$n(te);l.modifiersData[g]={referenceClippingOffsets:R,popperEscapeOffsets:te,isReferenceHidden:F,hasPopperEscaped:he},l.attributes.popper=Object.assign({},l.attributes.popper,{"data-popper-reference-hidden":F,"data-popper-escaped":he})}},li=Dn({defaultModifiers:[An,ft,wn,jn]}),Tn=[An,ft,wn,jn,fn,xn,Cn,pn,Lt],ci=Dn({defaultModifiers:Tn});L.applyStyles=jn,L.arrow=pn,L.computeStyles=wn,L.createPopper=ci,L.createPopperLite=li,L.defaultModifiers=Tn,L.detectOverflow=$e,L.eventListeners=An,L.flip=xn,L.hide=Lt,L.offset=fn,L.popperGenerator=Dn,L.popperOffsets=ft,L.preventOverflow=Cn,Object.defineProperty(L,"__esModule",{value:!0})}),function(L,U){"object"==typeof exports&&typeof module<"u"?module.exports=U(require("@popperjs/core")):"function"==typeof define&&define.amd?define(["@popperjs/core"],U):(L=typeof globalThis<"u"?globalThis:L||self).bootstrap=U(L.Popper)}(this,function(L){"use strict";const re=function U(n){const e=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(n)for(const i in n)if("default"!==i){const r=Object.getOwnPropertyDescriptor(n,i);Object.defineProperty(e,i,r.get?r:{enumerable:!0,get:()=>n[i]})}return e.default=n,Object.freeze(e)}(L),ye="transitionend",de=n=>(n&&window.CSS&&window.CSS.escape&&(n=n.replace(/#([^\s"#']+)/g,(e,i)=>`#${CSS.escape(i)}`)),n),Le=n=>{n.dispatchEvent(new Event(ye))},xe=n=>!(!n||"object"!=typeof n)&&(void 0!==n.jquery&&(n=n[0]),void 0!==n.nodeType),Ee=n=>xe(n)?n.jquery?n[0]:n:"string"==typeof n&&n.length>0?document.querySelector(de(n)):null,ze=n=>{if(!xe(n)||0===n.getClientRects().length)return!1;const e="visible"===getComputedStyle(n).getPropertyValue("visibility"),i=n.closest("details:not([open])");if(!i)return e;if(i!==n){const r=n.closest("summary");if(r&&r.parentNode!==i||null===r)return!1}return e},De=n=>!n||n.nodeType!==Node.ELEMENT_NODE||!!n.classList.contains("disabled")||(void 0!==n.disabled?n.disabled:n.hasAttribute("disabled")&&"false"!==n.getAttribute("disabled")),He=n=>{if(!document.documentElement.attachShadow)return null;if("function"==typeof n.getRootNode){const e=n.getRootNode();return e instanceof ShadowRoot?e:null}return n instanceof ShadowRoot?n:n.parentNode?He(n.parentNode):null},Ye=()=>{},J=()=>window.jQuery&&!document.body.hasAttribute("data-bs-no-jquery")?window.jQuery:null,Z=[],pe=()=>"rtl"===document.documentElement.dir,z=n=>{var e;e=()=>{const i=J();if(i){const r=n.NAME,s=i.fn[r];i.fn[r]=n.jQueryInterface,i.fn[r].Constructor=n,i.fn[r].noConflict=()=>(i.fn[r]=s,n.jQueryInterface)}},"loading"===document.readyState?(Z.length||document.addEventListener("DOMContentLoaded",()=>{for(const i of Z)i()}),Z.push(e)):e()},me=(n,e=[],i=n)=>"function"==typeof n?n(...e):i,nt=(n,e,i=!0)=>{if(!i)return void me(n);const r=(c=>{if(!c)return 0;let{transitionDuration:d,transitionDelay:m}=window.getComputedStyle(c);const w=Number.parseFloat(d),C=Number.parseFloat(m);return w||C?(d=d.split(",")[0],m=m.split(",")[0],1e3*(Number.parseFloat(d)+Number.parseFloat(m))):0})(e)+5;let s=!1;const a=({target:c})=>{c===e&&(s=!0,e.removeEventListener(ye,a),me(n))};e.addEventListener(ye,a),setTimeout(()=>{s||Le(e)},r)},G=(n,e,i,r)=>{const s=n.length;let a=n.indexOf(e);return-1===a?!i&&r?n[s-1]:n[0]:(a+=i?1:-1,r&&(a=(a+s)%s),n[Math.max(0,Math.min(a,s-1))])},pt=/[^.]*(?=\..*)\.|.*/,ht=/\..*/,o=/::\d+$/,y={};let p=1;const _={mouseenter:"mouseover",mouseleave:"mouseout"},E=new Set(["click","dblclick","mouseup","mousedown","contextmenu","mousewheel","DOMMouseScroll","mouseover","mouseout","mousemove","selectstart","selectend","keydown","keypress","keyup","orientationchange","touchstart","touchmove","touchend","touchcancel","pointerdown","pointermove","pointerup","pointerleave","pointercancel","gesturestart","gesturechange","gestureend","focus","blur","change","reset","select","submit","focusin","focusout","load","unload","beforeunload","resize","move","DOMContentLoaded","readystatechange","error","abort","scroll"]);function A(n,e){return e&&`${e}::${p++}`||n.uidEvent||p++}function h(n){const e=A(n);return n.uidEvent=e,y[e]=y[e]||{},y[e]}function j(n,e,i=null){return Object.values(n).find(r=>r.callable===e&&r.delegationSelector===i)}function P(n,e,i){const r="string"==typeof e,s=r?i:e||i;let a=ve(n);return E.has(a)||(a=n),[r,s,a]}function B(n,e,i,r,s){if("string"!=typeof e||!n)return;let[a,c,d]=P(e,i,r);var ne;e in _&&(ne=c,c=function(K){if(!K.relatedTarget||K.relatedTarget!==K.delegateTarget&&!K.delegateTarget.contains(K.relatedTarget))return ne.call(this,K)});const m=h(n),w=m[d]||(m[d]={}),C=j(w,c,a?i:null);if(C)return void(C.oneOff=C.oneOff&&s);const b=A(c,e.replace(pt,"")),I=a?function(W,ne,K){return function Se(Fe){const Tt=W.querySelectorAll(ne);for(let{target:Ze}=Fe;Ze&&Ze!==this;Ze=Ze.parentNode)for(const fe of Tt)if(fe===Ze)return It(Fe,{delegateTarget:Ze}),Se.oneOff&&D.off(W,Fe.type,ne,K),K.apply(Ze,[Fe])}}(n,i,c):function(W,ne){return function K(Se){return It(Se,{delegateTarget:W}),K.oneOff&&D.off(W,Se.type,ne),ne.apply(W,[Se])}}(n,c);I.delegationSelector=a?i:null,I.callable=c,I.oneOff=s,I.uidEvent=b,w[b]=I,n.addEventListener(d,I,a)}function Q(n,e,i,r,s){const a=j(e[i],r,s);a&&(n.removeEventListener(i,a,!!s),delete e[i][a.uidEvent])}function be(n,e,i,r){const s=e[i]||{};for(const[a,c]of Object.entries(s))a.includes(r)&&Q(n,e,i,c.callable,c.delegationSelector)}function ve(n){return n=n.replace(ht,""),_[n]||n}const D={on(n,e,i,r){B(n,e,i,r,!1)},one(n,e,i,r){B(n,e,i,r,!0)},off(n,e,i,r){if("string"!=typeof e||!n)return;const[s,a,c]=P(e,i,r),d=c!==e,m=h(n),w=m[c]||{},C=e.startsWith(".");if(void 0===a){if(C)for(const b of Object.keys(m))be(n,m,b,e.slice(1));for(const[b,I]of Object.entries(w)){const W=b.replace(o,"");d&&!e.includes(W)||Q(n,m,c,I.callable,I.delegationSelector)}}else{if(!Object.keys(w).length)return;Q(n,m,c,a,s?i:null)}},trigger(n,e,i){if("string"!=typeof e||!n)return null;const r=J();let s=null,a=!0,c=!0,d=!1;e!==ve(e)&&r&&(s=r.Event(e,i),r(n).trigger(s),a=!s.isPropagationStopped(),c=!s.isImmediatePropagationStopped(),d=s.isDefaultPrevented());let m=new Event(e,{bubbles:a,cancelable:!0});return m=It(m,i),d&&m.preventDefault(),c&&n.dispatchEvent(m),m.defaultPrevented&&s&&s.preventDefault(),m}};function It(n,e={}){for(const[i,r]of Object.entries(e))try{n[i]=r}catch{Object.defineProperty(n,i,{configurable:!0,get:()=>r})}return n}const gt=new Map,Wt={set(n,e,i){gt.has(n)||gt.set(n,new Map);const r=gt.get(n);r.has(e)||0===r.size?r.set(e,i):console.error(`Bootstrap doesn't allow more than one instance per element. Bound instance: ${Array.from(r.keys())[0]}.`)},get:(n,e)=>gt.has(n)&&gt.get(n).get(e)||null,remove(n,e){if(!gt.has(n))return;const i=gt.get(n);i.delete(e),0===i.size&&gt.delete(n)}};function Vt(n){if("true"===n)return!0;if("false"===n)return!1;if(n===Number(n).toString())return Number(n);if(""===n||"null"===n)return null;if("string"!=typeof n)return n;try{return JSON.parse(decodeURIComponent(n))}catch{return n}}function Hn(n){return n.replace(/[A-Z]/g,e=>`-${e.toLowerCase()}`)}const Dt={setDataAttribute(n,e,i){n.setAttribute(`data-bs-${Hn(e)}`,i)},removeDataAttribute(n,e){n.removeAttribute(`data-bs-${Hn(e)}`)},getDataAttributes(n){if(!n)return{};const e={},i=Object.keys(n.dataset).filter(r=>r.startsWith("bs")&&!r.startsWith("bsConfig"));for(const r of i){let s=r.replace(/^bs/,"");s=s.charAt(0).toLowerCase()+s.slice(1,s.length),e[s]=Vt(n.dataset[r])}return e},getDataAttribute:(n,e)=>Vt(n.getAttribute(`data-bs-${Hn(e)}`))};class on{static get Default(){return{}}static get DefaultType(){return{}}static get NAME(){throw new Error('You have to implement the static method "NAME", for each component!')}_getConfig(e){return e=this._mergeConfigObj(e),e=this._configAfterMerge(e),this._typeCheckConfig(e),e}_configAfterMerge(e){return e}_mergeConfigObj(e,i){const r=xe(i)?Dt.getDataAttribute(i,"config"):{};return{...this.constructor.Default,..."object"==typeof r?r:{},...xe(i)?Dt.getDataAttributes(i):{},..."object"==typeof e?e:{}}}_typeCheckConfig(e,i=this.constructor.DefaultType){for(const[s,a]of Object.entries(i)){const c=e[s],d=xe(c)?"element":null==(r=c)?`${r}`:Object.prototype.toString.call(r).match(/\s([a-z]+)/i)[1].toLowerCase();if(!new RegExp(a).test(d))throw new TypeError(`${this.constructor.NAME.toUpperCase()}: Option "${s}" provided type "${d}" but expected type "${a}".`)}var r}}class mt extends on{constructor(e,i){super(),(e=Ee(e))&&(this._element=e,this._config=this._getConfig(i),Wt.set(this._element,this.constructor.DATA_KEY,this))}dispose(){Wt.remove(this._element,this.constructor.DATA_KEY),D.off(this._element,this.constructor.EVENT_KEY);for(const e of Object.getOwnPropertyNames(this))this[e]=null}_queueCallback(e,i,r=!0){nt(e,i,r)}_getConfig(e){return e=this._mergeConfigObj(e,this._element),e=this._configAfterMerge(e),this._typeCheckConfig(e),e}static getInstance(e){return Wt.get(Ee(e),this.DATA_KEY)}static getOrCreateInstance(e,i={}){return this.getInstance(e)||new this(e,"object"==typeof i?i:null)}static get VERSION(){return"5.3.0-alpha1"}static get DATA_KEY(){return`bs.${this.NAME}`}static get EVENT_KEY(){return`.${this.DATA_KEY}`}static eventName(e){return`${e}${this.EVENT_KEY}`}}const vt=n=>{let e=n.getAttribute("data-bs-target");if(!e||"#"===e){let i=n.getAttribute("href");if(!i||!i.includes("#")&&!i.startsWith("."))return null;i.includes("#")&&!i.startsWith("#")&&(i=`#${i.split("#")[1]}`),e=i&&"#"!==i?i.trim():null}return de(e)},$={find:(n,e=document.documentElement)=>[].concat(...Element.prototype.querySelectorAll.call(e,n)),findOne:(n,e=document.documentElement)=>Element.prototype.querySelector.call(e,n),children:(n,e)=>[].concat(...n.children).filter(i=>i.matches(e)),parents(n,e){const i=[];let r=n.parentNode.closest(e);for(;r;)i.push(r),r=r.parentNode.closest(e);return i},prev(n,e){let i=n.previousElementSibling;for(;i;){if(i.matches(e))return[i];i=i.previousElementSibling}return[]},next(n,e){let i=n.nextElementSibling;for(;i;){if(i.matches(e))return[i];i=i.nextElementSibling}return[]},focusableChildren(n){const e=["a","button","input","textarea","select","details","[tabindex]",'[contenteditable="true"]'].map(i=>`${i}:not([tabindex^="-"])`).join(",");return this.find(e,n).filter(i=>!De(i)&&ze(i))},getSelectorFromElement(n){const e=vt(n);return e&&$.findOne(e)?e:null},getElementFromSelector(n){const e=vt(n);return e?$.findOne(e):null},getMultipleElementsFromSelector(n){const e=vt(n);return e?$.find(e):[]}},zt=(n,e="hide")=>{const r=n.NAME;D.on(document,`click.dismiss${n.EVENT_KEY}`,`[data-bs-dismiss="${r}"]`,function(s){if(["A","AREA"].includes(this.tagName)&&s.preventDefault(),De(this))return;const a=$.getElementFromSelector(this)||this.closest(`.${r}`);n.getOrCreateInstance(a)[e]()})};class sn extends mt{static get NAME(){return"alert"}close(){if(D.trigger(this._element,"close.bs.alert").defaultPrevented)return;this._element.classList.remove("show");const e=this._element.classList.contains("fade");this._queueCallback(()=>this._destroyElement(),this._element,e)}_destroyElement(){this._element.remove(),D.trigger(this._element,"closed.bs.alert"),this.dispose()}static jQueryInterface(e){return this.each(function(){const i=sn.getOrCreateInstance(this);if("string"==typeof e){if(void 0===i[e]||e.startsWith("_")||"constructor"===e)throw new TypeError(`No method named "${e}"`);i[e](this)}})}}zt(sn,"close"),z(sn);const ni='[data-bs-toggle="button"]';class Gt extends mt{static get NAME(){return"button"}toggle(){this._element.setAttribute("aria-pressed",this._element.classList.toggle("active"))}static jQueryInterface(e){return this.each(function(){const i=Gt.getOrCreateInstance(this);"toggle"===e&&i[e]()})}}D.on(document,"click.bs.button.data-api",ni,n=>{n.preventDefault();const e=n.target.closest(ni);Gt.getOrCreateInstance(e).toggle()}),z(Gt);const In={endCallback:null,leftCallback:null,rightCallback:null},Nt={endCallback:"(function|null)",leftCallback:"(function|null)",rightCallback:"(function|null)"};class an extends on{constructor(e,i){super(),this._element=e,e&&an.isSupported()&&(this._config=this._getConfig(i),this._deltaX=0,this._supportPointerEvents=!!window.PointerEvent,this._initEvents())}static get Default(){return In}static get DefaultType(){return Nt}static get NAME(){return"swipe"}dispose(){D.off(this._element,".bs.swipe")}_start(e){this._supportPointerEvents?this._eventIsPointerPenTouch(e)&&(this._deltaX=e.clientX):this._deltaX=e.touches[0].clientX}_end(e){this._eventIsPointerPenTouch(e)&&(this._deltaX=e.clientX-this._deltaX),this._handleSwipe(),me(this._config.endCallback)}_move(e){this._deltaX=e.touches&&e.touches.length>1?0:e.touches[0].clientX-this._deltaX}_handleSwipe(){const e=Math.abs(this._deltaX);if(e<=40)return;const i=e/this._deltaX;this._deltaX=0,i&&me(i>0?this._config.rightCallback:this._config.leftCallback)}_initEvents(){this._supportPointerEvents?(D.on(this._element,"pointerdown.bs.swipe",e=>this._start(e)),D.on(this._element,"pointerup.bs.swipe",e=>this._end(e)),this._element.classList.add("pointer-event")):(D.on(this._element,"touchstart.bs.swipe",e=>this._start(e)),D.on(this._element,"touchmove.bs.swipe",e=>this._move(e)),D.on(this._element,"touchend.bs.swipe",e=>this._end(e)))}_eventIsPointerPenTouch(e){return this._supportPointerEvents&&("pen"===e.pointerType||"touch"===e.pointerType)}static isSupported(){return"ontouchstart"in document.documentElement||navigator.maxTouchPoints>0}}const yn="next",ln="prev",ot="left",st="right",dt="slid.bs.carousel",X="carousel",Ge="active",fi={ArrowLeft:st,ArrowRight:ot},pi={interval:5e3,keyboard:!0,pause:"hover",ride:!1,touch:!0,wrap:!0},yt={interval:"(number|boolean)",keyboard:"boolean",pause:"(string|boolean)",ride:"(boolean|string)",touch:"boolean",wrap:"boolean"};class Kt extends mt{constructor(e,i){super(e,i),this._interval=null,this._activeElement=null,this._isSliding=!1,this.touchTimeout=null,this._swipeHelper=null,this._indicatorsElement=$.findOne(".carousel-indicators",this._element),this._addEventListeners(),this._config.ride===X&&this.cycle()}static get Default(){return pi}static get DefaultType(){return yt}static get NAME(){return"carousel"}next(){this._slide(yn)}nextWhenVisible(){!document.hidden&&ze(this._element)&&this.next()}prev(){this._slide(ln)}pause(){this._isSliding&&Le(this._element),this._clearInterval()}cycle(){this._clearInterval(),this._updateInterval(),this._interval=setInterval(()=>this.nextWhenVisible(),this._config.interval)}_maybeEnableCycle(){this._config.ride&&(this._isSliding?D.one(this._element,dt,()=>this.cycle()):this.cycle())}to(e){const i=this._getItems();if(e>i.length-1||e<0)return;if(this._isSliding)return void D.one(this._element,dt,()=>this.to(e));const r=this._getItemIndex(this._getActive());r!==e&&this._slide(e>r?yn:ln,i[e])}dispose(){this._swipeHelper&&this._swipeHelper.dispose(),super.dispose()}_configAfterMerge(e){return e.defaultInterval=e.interval,e}_addEventListeners(){this._config.keyboard&&D.on(this._element,"keydown.bs.carousel",e=>this._keydown(e)),"hover"===this._config.pause&&(D.on(this._element,"mouseenter.bs.carousel",()=>this.pause()),D.on(this._element,"mouseleave.bs.carousel",()=>this._maybeEnableCycle())),this._config.touch&&an.isSupported()&&this._addTouchEventListeners()}_addTouchEventListeners(){for(const i of $.find(".carousel-item img",this._element))D.on(i,"dragstart.bs.carousel",r=>r.preventDefault());this._swipeHelper=new an(this._element,{leftCallback:()=>this._slide(this._directionToOrder(ot)),rightCallback:()=>this._slide(this._directionToOrder(st)),endCallback:()=>{"hover"===this._config.pause&&(this.pause(),this.touchTimeout&&clearTimeout(this.touchTimeout),this.touchTimeout=setTimeout(()=>this._maybeEnableCycle(),500+this._config.interval))}})}_keydown(e){if(/input|textarea/i.test(e.target.tagName))return;const i=fi[e.key];i&&(e.preventDefault(),this._slide(this._directionToOrder(i)))}_getItemIndex(e){return this._getItems().indexOf(e)}_setActiveIndicatorElement(e){if(!this._indicatorsElement)return;const i=$.findOne(".active",this._indicatorsElement);i.classList.remove(Ge),i.removeAttribute("aria-current");const r=$.findOne(`[data-bs-slide-to="${e}"]`,this._indicatorsElement);r&&(r.classList.add(Ge),r.setAttribute("aria-current","true"))}_updateInterval(){const e=this._activeElement||this._getActive();if(!e)return;const i=Number.parseInt(e.getAttribute("data-bs-interval"),10);this._config.interval=i||this._config.defaultInterval}_slide(e,i=null){if(this._isSliding)return;const r=this._getActive(),s=e===yn,a=i||G(this._getItems(),r,s,this._config.wrap);if(a===r)return;const c=this._getItemIndex(a),d=b=>D.trigger(this._element,b,{relatedTarget:a,direction:this._orderToDirection(e),from:this._getItemIndex(r),to:c});if(d("slide.bs.carousel").defaultPrevented||!r||!a)return;const m=!!this._interval;this.pause(),this._isSliding=!0,this._setActiveIndicatorElement(c),this._activeElement=a;const w=s?"carousel-item-start":"carousel-item-end",C=s?"carousel-item-next":"carousel-item-prev";a.classList.add(C),r.classList.add(w),a.classList.add(w),this._queueCallback(()=>{a.classList.remove(w,C),a.classList.add(Ge),r.classList.remove(Ge,C,w),this._isSliding=!1,d(dt)},r,this._isAnimated()),m&&this.cycle()}_isAnimated(){return this._element.classList.contains("slide")}_getActive(){return $.findOne(".active.carousel-item",this._element)}_getItems(){return $.find(".carousel-item",this._element)}_clearInterval(){this._interval&&(clearInterval(this._interval),this._interval=null)}_directionToOrder(e){return pe()?e===ot?ln:yn:e===ot?yn:ln}_orderToDirection(e){return pe()?e===ln?ot:st:e===ln?st:ot}static jQueryInterface(e){return this.each(function(){const i=Kt.getOrCreateInstance(this,e);if("number"!=typeof e){if("string"==typeof e){if(void 0===i[e]||e.startsWith("_")||"constructor"===e)throw new TypeError(`No method named "${e}"`);i[e]()}}else i.to(e)})}}D.on(document,"click.bs.carousel.data-api","[data-bs-slide], [data-bs-slide-to]",function(n){const e=$.getElementFromSelector(this);if(!e||!e.classList.contains(X))return;n.preventDefault();const i=Kt.getOrCreateInstance(e),r=this.getAttribute("data-bs-slide-to");return r?(i.to(r),void i._maybeEnableCycle()):"next"===Dt.getDataAttribute(this,"slide")?(i.next(),void i._maybeEnableCycle()):(i.prev(),void i._maybeEnableCycle())}),D.on(window,"load.bs.carousel.data-api",()=>{const n=$.find('[data-bs-ride="carousel"]');for(const e of n)Kt.getOrCreateInstance(e)}),z(Kt);const Jt="show",bt="collapse",_t="collapsing",Ot='[data-bs-toggle="collapse"]',hi={parent:null,toggle:!0},bn={parent:"(null|element)",toggle:"boolean"};class Zt extends mt{constructor(e,i){super(e,i),this._isTransitioning=!1,this._triggerArray=[];const r=$.find(Ot);for(const s of r){const a=$.getSelectorFromElement(s),c=$.find(a).filter(d=>d===this._element);null!==a&&c.length&&this._triggerArray.push(s)}this._initializeChildren(),this._config.parent||this._addAriaAndCollapsedClass(this._triggerArray,this._isShown()),this._config.toggle&&this.toggle()}static get Default(){return hi}static get DefaultType(){return bn}static get NAME(){return"collapse"}toggle(){this._isShown()?this.hide():this.show()}show(){if(this._isTransitioning||this._isShown())return;let e=[];if(this._config.parent&&(e=this._getFirstLevelChildren(".collapse.show, .collapse.collapsing").filter(s=>s!==this._element).map(s=>Zt.getOrCreateInstance(s,{toggle:!1}))),e.length&&e[0]._isTransitioning||D.trigger(this._element,"show.bs.collapse").defaultPrevented)return;for(const s of e)s.hide();const i=this._getDimension();this._element.classList.remove(bt),this._element.classList.add(_t),this._element.style[i]=0,this._addAriaAndCollapsedClass(this._triggerArray,!0),this._isTransitioning=!0;const r=`scroll${i[0].toUpperCase()+i.slice(1)}`;this._queueCallback(()=>{this._isTransitioning=!1,this._element.classList.remove(_t),this._element.classList.add(bt,Jt),this._element.style[i]="",D.trigger(this._element,"shown.bs.collapse")},this._element,!0),this._element.style[i]=`${this._element[r]}px`}hide(){if(this._isTransitioning||!this._isShown()||D.trigger(this._element,"hide.bs.collapse").defaultPrevented)return;const e=this._getDimension();this._element.style[e]=`${this._element.getBoundingClientRect()[e]}px`,this._element.classList.add(_t),this._element.classList.remove(bt,Jt);for(const i of this._triggerArray){const r=$.getElementFromSelector(i);r&&!this._isShown(r)&&this._addAriaAndCollapsedClass([i],!1)}this._isTransitioning=!0,this._element.style[e]="",this._queueCallback(()=>{this._isTransitioning=!1,this._element.classList.remove(_t),this._element.classList.add(bt),D.trigger(this._element,"hidden.bs.collapse")},this._element,!0)}_isShown(e=this._element){return e.classList.contains(Jt)}_configAfterMerge(e){return e.toggle=!!e.toggle,e.parent=Ee(e.parent),e}_getDimension(){return this._element.classList.contains("collapse-horizontal")?"width":"height"}_initializeChildren(){if(!this._config.parent)return;const e=this._getFirstLevelChildren(Ot);for(const i of e){const r=$.getElementFromSelector(i);r&&this._addAriaAndCollapsedClass([i],this._isShown(r))}}_getFirstLevelChildren(e){const i=$.find(":scope .collapse .collapse",this._config.parent);return $.find(e,this._config.parent).filter(r=>!i.includes(r))}_addAriaAndCollapsedClass(e,i){if(e.length)for(const r of e)r.classList.toggle("collapsed",!i),r.setAttribute("aria-expanded",i)}static jQueryInterface(e){const i={};return"string"==typeof e&&/show|hide/.test(e)&&(i.toggle=!1),this.each(function(){const r=Zt.getOrCreateInstance(this,i);if("string"==typeof e){if(void 0===r[e])throw new TypeError(`No method named "${e}"`);r[e]()}})}}D.on(document,"click.bs.collapse.data-api",Ot,function(n){("A"===n.target.tagName||n.delegateTarget&&"A"===n.delegateTarget.tagName)&&n.preventDefault();for(const e of $.getMultipleElementsFromSelector(this))Zt.getOrCreateInstance(e,{toggle:!1}).toggle()}),z(Zt);const Qn="dropdown",xt="ArrowUp",jt="ArrowDown",cn="click.bs.dropdown.data-api",$t="keydown.bs.dropdown.data-api",Xt="show",Mt='[data-bs-toggle="dropdown"]:not(.disabled):not(:disabled)',$e=`${Mt}.show`,Ke=".dropdown-menu",Wn=pe()?"top-end":"top-start",ii=pe()?"top-start":"top-end",qn=pe()?"bottom-end":"bottom-start",Dn=pe()?"bottom-start":"bottom-end",Rt=pe()?"left-start":"right-start",un=pe()?"right-start":"left-start",An={autoClose:!0,boundary:"clippingParents",display:"dynamic",offset:[0,2],popperConfig:null,reference:"toggle"},On={autoClose:"(boolean|string)",boundary:"(string|element)",display:"string",offset:"(array|string|function)",popperConfig:"(null|object|function)",reference:"(string|element|object)"};class ft extends mt{constructor(e,i){super(e,i),this._popper=null,this._parent=this._element.parentNode,this._menu=$.next(this._element,Ke)[0]||$.prev(this._element,Ke)[0]||$.findOne(Ke,this._parent),this._inNavbar=this._detectNavbar()}static get Default(){return An}static get DefaultType(){return On}static get NAME(){return Qn}toggle(){return this._isShown()?this.hide():this.show()}show(){if(De(this._element)||this._isShown())return;const e={relatedTarget:this._element};if(!D.trigger(this._element,"show.bs.dropdown",e).defaultPrevented){if(this._createPopper(),"ontouchstart"in document.documentElement&&!this._parent.closest(".navbar-nav"))for(const i of[].concat(...document.body.children))D.on(i,"mouseover",Ye);this._element.focus(),this._element.setAttribute("aria-expanded",!0),this._menu.classList.add(Xt),this._element.classList.add(Xt),D.trigger(this._element,"shown.bs.dropdown",e)}}hide(){!De(this._element)&&this._isShown()&&this._completeHide({relatedTarget:this._element})}dispose(){this._popper&&this._popper.destroy(),super.dispose()}update(){this._inNavbar=this._detectNavbar(),this._popper&&this._popper.update()}_completeHide(e){if(!D.trigger(this._element,"hide.bs.dropdown",e).defaultPrevented){if("ontouchstart"in document.documentElement)for(const i of[].concat(...document.body.children))D.off(i,"mouseover",Ye);this._popper&&this._popper.destroy(),this._menu.classList.remove(Xt),this._element.classList.remove(Xt),this._element.setAttribute("aria-expanded","false"),Dt.removeDataAttribute(this._menu,"popper"),D.trigger(this._element,"hidden.bs.dropdown",e)}}_getConfig(e){if("object"==typeof(e=super._getConfig(e)).reference&&!xe(e.reference)&&"function"!=typeof e.reference.getBoundingClientRect)throw new TypeError(`${Qn.toUpperCase()}: Option "reference" provided type "object" without a required "getBoundingClientRect" method.`);return e}_createPopper(){if(void 0===re)throw new TypeError("Bootstrap's dropdowns require Popper (https://popper.js.org)");let e=this._element;"parent"===this._config.reference?e=this._parent:xe(this._config.reference)?e=Ee(this._config.reference):"object"==typeof this._config.reference&&(e=this._config.reference);const i=this._getPopperConfig();this._popper=re.createPopper(e,this._menu,i)}_isShown(){return this._menu.classList.contains(Xt)}_getPlacement(){const e=this._parent;if(e.classList.contains("dropend"))return Rt;if(e.classList.contains("dropstart"))return un;if(e.classList.contains("dropup-center"))return"top";if(e.classList.contains("dropdown-center"))return"bottom";const i="end"===getComputedStyle(this._menu).getPropertyValue("--bs-position").trim();return e.classList.contains("dropup")?i?ii:Wn:i?Dn:qn}_detectNavbar(){return null!==this._element.closest(".navbar")}_getOffset(){const{offset:e}=this._config;return"string"==typeof e?e.split(",").map(i=>Number.parseInt(i,10)):"function"==typeof e?i=>e(i,this._element):e}_getPopperConfig(){const e={placement:this._getPlacement(),modifiers:[{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"offset",options:{offset:this._getOffset()}}]};return(this._inNavbar||"static"===this._config.display)&&(Dt.setDataAttribute(this._menu,"popper","static"),e.modifiers=[{name:"applyStyles",enabled:!1}]),{...e,...me(this._config.popperConfig,[e])}}_selectMenuItem({key:e,target:i}){const r=$.find(".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",this._menu).filter(s=>ze(s));r.length&&G(r,i,e===jt,!r.includes(i)).focus()}static jQueryInterface(e){return this.each(function(){const i=ft.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===i[e])throw new TypeError(`No method named "${e}"`);i[e]()}})}static clearMenus(e){if(2===e.button||"keyup"===e.type&&"Tab"!==e.key)return;const i=$.find($e);for(const r of i){const s=ft.getInstance(r);if(!s||!1===s._config.autoClose)continue;const a=e.composedPath(),c=a.includes(s._menu);if(a.includes(s._element)||"inside"===s._config.autoClose&&!c||"outside"===s._config.autoClose&&c||s._menu.contains(e.target)&&("keyup"===e.type&&"Tab"===e.key||/input|select|option|textarea|form/i.test(e.target.tagName)))continue;const d={relatedTarget:s._element};"click"===e.type&&(d.clickEvent=e),s._completeHide(d)}}static dataApiKeydownHandler(e){const i=/input|textarea/i.test(e.target.tagName),r="Escape"===e.key,s=[xt,jt].includes(e.key);if(!s&&!r||i&&!r)return;e.preventDefault();const a=this.matches(Mt)?this:$.prev(this,Mt)[0]||$.next(this,Mt)[0]||$.findOne(Mt,e.delegateTarget.parentNode),c=ft.getOrCreateInstance(a);if(s)return e.stopPropagation(),c.show(),void c._selectMenuItem(e);c._isShown()&&(e.stopPropagation(),c.hide(),a.focus())}}D.on(document,$t,Mt,ft.dataApiKeydownHandler),D.on(document,$t,Ke,ft.dataApiKeydownHandler),D.on(document,cn,ft.clearMenus),D.on(document,"keyup.bs.dropdown.data-api",ft.clearMenus),D.on(document,cn,Mt,function(n){n.preventDefault(),ft.getOrCreateInstance(this).toggle()}),z(ft);const ri=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",oi=".sticky-top",dn="padding-right",si="margin-right";class wn{constructor(){this._element=document.body}getWidth(){const e=document.documentElement.clientWidth;return Math.abs(window.innerWidth-e)}hide(){const e=this.getWidth();this._disableOverFlow(),this._setElementAttributes(this._element,dn,i=>i+e),this._setElementAttributes(ri,dn,i=>i+e),this._setElementAttributes(oi,si,i=>i-e)}reset(){this._resetElementAttributes(this._element,"overflow"),this._resetElementAttributes(this._element,dn),this._resetElementAttributes(ri,dn),this._resetElementAttributes(oi,si)}isOverflowing(){return this.getWidth()>0}_disableOverFlow(){this._saveInitialAttribute(this._element,"overflow"),this._element.style.overflow="hidden"}_setElementAttributes(e,i,r){const s=this.getWidth();this._applyManipulationCallback(e,a=>{if(a!==this._element&&window.innerWidth>a.clientWidth+s)return;this._saveInitialAttribute(a,i);const c=window.getComputedStyle(a).getPropertyValue(i);a.style.setProperty(i,`${r(Number.parseFloat(c))}px`)})}_saveInitialAttribute(e,i){const r=e.style.getPropertyValue(i);r&&Dt.setDataAttribute(e,i,r)}_resetElementAttributes(e,i){this._applyManipulationCallback(e,r=>{const s=Dt.getDataAttribute(r,i);null!==s?(Dt.removeDataAttribute(r,i),r.style.setProperty(i,s)):r.style.removeProperty(i)})}_applyManipulationCallback(e,i){if(xe(e))i(e);else for(const r of $.find(e,this._element))i(r)}}const en="mousedown.bs.backdrop",jn={className:"modal-backdrop",clickCallback:null,isAnimated:!1,isVisible:!0,rootElement:"body"},Yn={className:"string",clickCallback:"(function|null)",isAnimated:"boolean",isVisible:"boolean",rootElement:"(element|string)"};class Ln extends on{constructor(e){super(),this._config=this._getConfig(e),this._isAppended=!1,this._element=null}static get Default(){return jn}static get DefaultType(){return Yn}static get NAME(){return"backdrop"}show(e){if(!this._config.isVisible)return void me(e);this._append();this._getElement().classList.add("show"),this._emulateAnimation(()=>{me(e)})}hide(e){this._config.isVisible?(this._getElement().classList.remove("show"),this._emulateAnimation(()=>{this.dispose(),me(e)})):me(e)}dispose(){this._isAppended&&(D.off(this._element,en),this._element.remove(),this._isAppended=!1)}_getElement(){if(!this._element){const e=document.createElement("div");e.className=this._config.className,this._config.isAnimated&&e.classList.add("fade"),this._element=e}return this._element}_configAfterMerge(e){return e.rootElement=Ee(e.rootElement),e}_append(){if(this._isAppended)return;const e=this._getElement();this._config.rootElement.append(e),D.on(e,en,()=>{me(this._config.clickCallback)}),this._isAppended=!0}_emulateAnimation(e){nt(e,this._getElement(),this._config.isAnimated)}}const fn=".bs.focustrap",Vn="backward",Pn={autofocus:!0,trapElement:null},_n={autofocus:"boolean",trapElement:"element"};class Nn extends on{constructor(e){super(),this._config=this._getConfig(e),this._isActive=!1,this._lastTabNavDirection=null}static get Default(){return Pn}static get DefaultType(){return _n}static get NAME(){return"focustrap"}activate(){this._isActive||(this._config.autofocus&&this._config.trapElement.focus(),D.off(document,fn),D.on(document,"focusin.bs.focustrap",e=>this._handleFocusin(e)),D.on(document,"keydown.tab.bs.focustrap",e=>this._handleKeydown(e)),this._isActive=!0)}deactivate(){this._isActive&&(this._isActive=!1,D.off(document,fn))}_handleFocusin(e){const{trapElement:i}=this._config;if(e.target===document||e.target===i||i.contains(e.target))return;const r=$.focusableChildren(i);0===r.length?i.focus():this._lastTabNavDirection===Vn?r[r.length-1].focus():r[0].focus()}_handleKeydown(e){"Tab"===e.key&&(this._lastTabNavDirection=e.shiftKey?Vn:"forward")}}const zn="hidden.bs.modal",Gn="show.bs.modal",Kn="modal-open",Jn="modal-static",En={backdrop:!0,focus:!0,keyboard:!0},ai={backdrop:"(boolean|string)",focus:"boolean",keyboard:"boolean"};class qt extends mt{constructor(e,i){super(e,i),this._dialog=$.findOne(".modal-dialog",this._element),this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._isShown=!1,this._isTransitioning=!1,this._scrollBar=new wn,this._addEventListeners()}static get Default(){return En}static get DefaultType(){return ai}static get NAME(){return"modal"}toggle(e){return this._isShown?this.hide():this.show(e)}show(e){this._isShown||this._isTransitioning||D.trigger(this._element,Gn,{relatedTarget:e}).defaultPrevented||(this._isShown=!0,this._isTransitioning=!0,this._scrollBar.hide(),document.body.classList.add(Kn),this._adjustDialog(),this._backdrop.show(()=>this._showElement(e)))}hide(){this._isShown&&!this._isTransitioning&&(D.trigger(this._element,"hide.bs.modal").defaultPrevented||(this._isShown=!1,this._isTransitioning=!0,this._focustrap.deactivate(),this._element.classList.remove("show"),this._queueCallback(()=>this._hideModal(),this._element,this._isAnimated())))}dispose(){for(const e of[window,this._dialog])D.off(e,".bs.modal");this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}handleUpdate(){this._adjustDialog()}_initializeBackDrop(){return new Ln({isVisible:!!this._config.backdrop,isAnimated:this._isAnimated()})}_initializeFocusTrap(){return new Nn({trapElement:this._element})}_showElement(e){document.body.contains(this._element)||document.body.append(this._element),this._element.style.display="block",this._element.removeAttribute("aria-hidden"),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.scrollTop=0;const i=$.findOne(".modal-body",this._dialog);i&&(i.scrollTop=0),this._element.classList.add("show"),this._queueCallback(()=>{this._config.focus&&this._focustrap.activate(),this._isTransitioning=!1,D.trigger(this._element,"shown.bs.modal",{relatedTarget:e})},this._dialog,this._isAnimated())}_addEventListeners(){D.on(this._element,"keydown.dismiss.bs.modal",e=>{if("Escape"===e.key)return this._config.keyboard?(e.preventDefault(),void this.hide()):void this._triggerBackdropTransition()}),D.on(window,"resize.bs.modal",()=>{this._isShown&&!this._isTransitioning&&this._adjustDialog()}),D.on(this._element,"mousedown.dismiss.bs.modal",e=>{D.one(this._element,"click.dismiss.bs.modal",i=>{this._element===e.target&&this._element===i.target&&("static"!==this._config.backdrop?this._config.backdrop&&this.hide():this._triggerBackdropTransition())})})}_hideModal(){this._element.style.display="none",this._element.setAttribute("aria-hidden",!0),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._isTransitioning=!1,this._backdrop.hide(()=>{document.body.classList.remove(Kn),this._resetAdjustments(),this._scrollBar.reset(),D.trigger(this._element,zn)})}_isAnimated(){return this._element.classList.contains("fade")}_triggerBackdropTransition(){if(D.trigger(this._element,"hidePrevented.bs.modal").defaultPrevented)return;const e=this._element.scrollHeight>document.documentElement.clientHeight,i=this._element.style.overflowY;"hidden"===i||this._element.classList.contains(Jn)||(e||(this._element.style.overflowY="hidden"),this._element.classList.add(Jn),this._queueCallback(()=>{this._element.classList.remove(Jn),this._queueCallback(()=>{this._element.style.overflowY=i},this._dialog)},this._dialog),this._element.focus())}_adjustDialog(){const e=this._element.scrollHeight>document.documentElement.clientHeight,i=this._scrollBar.getWidth(),r=i>0;if(r&&!e){const s=pe()?"paddingLeft":"paddingRight";this._element.style[s]=`${i}px`}if(!r&&e){const s=pe()?"paddingRight":"paddingLeft";this._element.style[s]=`${i}px`}}_resetAdjustments(){this._element.style.paddingLeft="",this._element.style.paddingRight=""}static jQueryInterface(e,i){return this.each(function(){const r=qt.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===r[e])throw new TypeError(`No method named "${e}"`);r[e](i)}})}}D.on(document,"click.bs.modal.data-api",'[data-bs-toggle="modal"]',function(n){const e=$.getElementFromSelector(this);["A","AREA"].includes(this.tagName)&&n.preventDefault(),D.one(e,Gn,r=>{r.defaultPrevented||D.one(e,zn,()=>{ze(this)&&this.focus()})});const i=$.findOne(".modal.show");i&&qt.getInstance(i).hide(),qt.getOrCreateInstance(e).toggle(this)}),zt(qt),z(qt);const Zn="showing",tn=".offcanvas.show",pn="hidePrevented.bs.offcanvas",Ut="hidden.bs.offcanvas",$n={backdrop:!0,keyboard:!0,scroll:!1},gi={backdrop:"(boolean|string)",keyboard:"boolean",scroll:"boolean"};class Lt extends mt{constructor(e,i){super(e,i),this._isShown=!1,this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._addEventListeners()}static get Default(){return $n}static get DefaultType(){return gi}static get NAME(){return"offcanvas"}toggle(e){return this._isShown?this.hide():this.show(e)}show(e){this._isShown||D.trigger(this._element,"show.bs.offcanvas",{relatedTarget:e}).defaultPrevented||(this._isShown=!0,this._backdrop.show(),this._config.scroll||(new wn).hide(),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.classList.add(Zn),this._queueCallback(()=>{this._config.scroll&&!this._config.backdrop||this._focustrap.activate(),this._element.classList.add("show"),this._element.classList.remove(Zn),D.trigger(this._element,"shown.bs.offcanvas",{relatedTarget:e})},this._element,!0))}hide(){this._isShown&&(D.trigger(this._element,"hide.bs.offcanvas").defaultPrevented||(this._focustrap.deactivate(),this._element.blur(),this._isShown=!1,this._element.classList.add("hiding"),this._backdrop.hide(),this._queueCallback(()=>{this._element.classList.remove("show","hiding"),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._config.scroll||(new wn).reset(),D.trigger(this._element,Ut)},this._element,!0)))}dispose(){this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}_initializeBackDrop(){const e=!!this._config.backdrop;return new Ln({className:"offcanvas-backdrop",isVisible:e,isAnimated:!0,rootElement:this._element.parentNode,clickCallback:e?()=>{"static"!==this._config.backdrop?this.hide():D.trigger(this._element,pn)}:null})}_initializeFocusTrap(){return new Nn({trapElement:this._element})}_addEventListeners(){D.on(this._element,"keydown.dismiss.bs.offcanvas",e=>{"Escape"===e.key&&(this._config.keyboard?this.hide():D.trigger(this._element,pn))})}static jQueryInterface(e){return this.each(function(){const i=Lt.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===i[e]||e.startsWith("_")||"constructor"===e)throw new TypeError(`No method named "${e}"`);i[e](this)}})}}D.on(document,"click.bs.offcanvas.data-api",'[data-bs-toggle="offcanvas"]',function(n){const e=$.getElementFromSelector(this);if(["A","AREA"].includes(this.tagName)&&n.preventDefault(),De(this))return;D.one(e,Ut,()=>{ze(this)&&this.focus()});const i=$.findOne(tn);i&&i!==e&&Lt.getInstance(i).hide(),Lt.getOrCreateInstance(e).toggle(this)}),D.on(window,"load.bs.offcanvas.data-api",()=>{for(const n of $.find(tn))Lt.getOrCreateInstance(n).show()}),D.on(window,"resize.bs.offcanvas",()=>{for(const n of $.find("[aria-modal][class*=show][class*=offcanvas-]"))"fixed"!==getComputedStyle(n).position&&Lt.getOrCreateInstance(n).hide()}),zt(Lt),z(Lt);const Xn=new Set(["background","cite","href","itemtype","longdesc","poster","src","xlink:href"]),li=/^(?:(?:https?|mailto|ftp|tel|file|sms):|[^#&/:?]*(?:[#/?]|$))/i,Tn=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[\d+/a-z]+=*$/i,ci=(n,e)=>{const i=n.nodeName.toLowerCase();return e.includes(i)?!Xn.has(i)||!(!li.test(n.nodeValue)&&!Tn.test(n.nodeValue)):e.filter(r=>r instanceof RegExp).some(r=>r.test(i))},u={"*":["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:[]},l={allowList:u,content:{},extraClass:"",html:!1,sanitize:!0,sanitizeFn:null,template:"<div></div>"},g={allowList:"object",content:"object",extraClass:"(string|function)",html:"boolean",sanitize:"boolean",sanitizeFn:"(null|function)",template:"string"},S={entry:"(string|element|function|null)",selector:"(string|element)"};class k extends on{constructor(e){super(),this._config=this._getConfig(e)}static get Default(){return l}static get DefaultType(){return g}static get NAME(){return"TemplateFactory"}getContent(){return Object.values(this._config.content).map(e=>this._resolvePossibleFunction(e)).filter(Boolean)}hasContent(){return this.getContent().length>0}changeContent(e){return this._checkContent(e),this._config.content={...this._config.content,...e},this}toHtml(){const e=document.createElement("div");e.innerHTML=this._maybeSanitize(this._config.template);for(const[s,a]of Object.entries(this._config.content))this._setContent(e,a,s);const i=e.children[0],r=this._resolvePossibleFunction(this._config.extraClass);return r&&i.classList.add(...r.split(" ")),i}_typeCheckConfig(e){super._typeCheckConfig(e),this._checkContent(e.content)}_checkContent(e){for(const[i,r]of Object.entries(e))super._typeCheckConfig({selector:i,entry:r},S)}_setContent(e,i,r){const s=$.findOne(r,e);s&&((i=this._resolvePossibleFunction(i))?xe(i)?this._putElementInTemplate(Ee(i),s):this._config.html?s.innerHTML=this._maybeSanitize(i):s.textContent=i:s.remove())}_maybeSanitize(e){return this._config.sanitize?function(i,r,s){if(!i.length)return i;if(s&&"function"==typeof s)return s(i);const a=(new window.DOMParser).parseFromString(i,"text/html"),c=[].concat(...a.body.querySelectorAll("*"));for(const d of c){const m=d.nodeName.toLowerCase();if(!Object.keys(r).includes(m)){d.remove();continue}const w=[].concat(...d.attributes),C=[].concat(r["*"]||[],r[m]||[]);for(const b of w)ci(b,C)||d.removeAttribute(b.nodeName)}return a.body.innerHTML}(e,this._config.allowList,this._config.sanitizeFn):e}_resolvePossibleFunction(e){return me(e,[this])}_putElementInTemplate(e,i){if(this._config.html)return i.innerHTML="",void i.append(e);i.textContent=e.textContent}}const N=new Set(["sanitize","allowList","sanitizeFn"]),H="fade",M="show",R=".modal",te="hide.bs.modal",F="hover",Ie={AUTO:"auto",TOP:"top",RIGHT:pe()?"left":"right",BOTTOM:"bottom",LEFT:pe()?"right":"left"},ae={allowList:u,animation:!0,boundary:"clippingParents",container:!1,customClass:"",delay:0,fallbackPlacements:["top","right","bottom","left"],html:!1,offset:[0,0],placement:"top",popperConfig:null,sanitize:!0,sanitizeFn:null,selector:!1,template:'<div class="tooltip" role="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>',title:"",trigger:"hover focus"},Pe={allowList:"object",animation:"boolean",boundary:"(string|element)",container:"(string|element|boolean)",customClass:"(string|function)",delay:"(number|object)",fallbackPlacements:"array",html:"boolean",offset:"(array|string|function)",placement:"(string|function)",popperConfig:"(null|object|function)",sanitize:"boolean",sanitizeFn:"(null|function)",selector:"(string|boolean)",template:"string",title:"(string|element|function)",trigger:"string"};class ce extends mt{constructor(e,i){if(void 0===re)throw new TypeError("Bootstrap's tooltips require Popper (https://popper.js.org)");super(e,i),this._isEnabled=!0,this._timeout=0,this._isHovered=null,this._activeTrigger={},this._popper=null,this._templateFactory=null,this._newContent=null,this.tip=null,this._setListeners(),this._config.selector||this._fixTitle()}static get Default(){return ae}static get DefaultType(){return Pe}static get NAME(){return"tooltip"}enable(){this._isEnabled=!0}disable(){this._isEnabled=!1}toggleEnabled(){this._isEnabled=!this._isEnabled}toggle(){this._isEnabled&&(this._activeTrigger.click=!this._activeTrigger.click,this._isShown()?this._leave():this._enter())}dispose(){clearTimeout(this._timeout),D.off(this._element.closest(R),te,this._hideModalHandler),this._element.getAttribute("data-bs-original-title")&&this._element.setAttribute("title",this._element.getAttribute("data-bs-original-title")),this._disposePopper(),super.dispose()}show(){if("none"===this._element.style.display)throw new Error("Please use show on visible elements");if(!this._isWithContent()||!this._isEnabled)return;const e=D.trigger(this._element,this.constructor.eventName("show")),i=(He(this._element)||this._element.ownerDocument.documentElement).contains(this._element);if(e.defaultPrevented||!i)return;this._disposePopper();const r=this._getTipElement();this._element.setAttribute("aria-describedby",r.getAttribute("id"));const{container:s}=this._config;if(this._element.ownerDocument.documentElement.contains(this.tip)||(s.append(r),D.trigger(this._element,this.constructor.eventName("inserted"))),this._popper=this._createPopper(r),r.classList.add(M),"ontouchstart"in document.documentElement)for(const a of[].concat(...document.body.children))D.on(a,"mouseover",Ye);this._queueCallback(()=>{D.trigger(this._element,this.constructor.eventName("shown")),!1===this._isHovered&&this._leave(),this._isHovered=!1},this.tip,this._isAnimated())}hide(){if(this._isShown()&&!D.trigger(this._element,this.constructor.eventName("hide")).defaultPrevented){if(this._getTipElement().classList.remove(M),"ontouchstart"in document.documentElement)for(const e of[].concat(...document.body.children))D.off(e,"mouseover",Ye);this._activeTrigger.click=!1,this._activeTrigger.focus=!1,this._activeTrigger.hover=!1,this._isHovered=null,this._queueCallback(()=>{this._isWithActiveTrigger()||(this._isHovered||this._disposePopper(),this._element.removeAttribute("aria-describedby"),D.trigger(this._element,this.constructor.eventName("hidden")))},this.tip,this._isAnimated())}}update(){this._popper&&this._popper.update()}_isWithContent(){return!!this._getTitle()}_getTipElement(){return this.tip||(this.tip=this._createTipElement(this._newContent||this._getContentForTemplate())),this.tip}_createTipElement(e){const i=this._getTemplateFactory(e).toHtml();if(!i)return null;i.classList.remove(H,M),i.classList.add(`bs-${this.constructor.NAME}-auto`);const r=(s=>{do{s+=Math.floor(1e6*Math.random())}while(document.getElementById(s));return s})(this.constructor.NAME).toString();return i.setAttribute("id",r),this._isAnimated()&&i.classList.add(H),i}setContent(e){this._newContent=e,this._isShown()&&(this._disposePopper(),this.show())}_getTemplateFactory(e){return this._templateFactory?this._templateFactory.changeContent(e):this._templateFactory=new k({...this._config,content:e,extraClass:this._resolvePossibleFunction(this._config.customClass)}),this._templateFactory}_getContentForTemplate(){return{".tooltip-inner":this._getTitle()}}_getTitle(){return this._resolvePossibleFunction(this._config.title)||this._element.getAttribute("data-bs-original-title")}_initializeOnDelegatedTarget(e){return this.constructor.getOrCreateInstance(e.delegateTarget,this._getDelegateConfig())}_isAnimated(){return this._config.animation||this.tip&&this.tip.classList.contains(H)}_isShown(){return this.tip&&this.tip.classList.contains(M)}_createPopper(e){const i=me(this._config.placement,[this,e,this._element]),r=Ie[i.toUpperCase()];return re.createPopper(this._element,e,this._getPopperConfig(r))}_getOffset(){const{offset:e}=this._config;return"string"==typeof e?e.split(",").map(i=>Number.parseInt(i,10)):"function"==typeof e?i=>e(i,this._element):e}_resolvePossibleFunction(e){return me(e,[this._element])}_getPopperConfig(e){const i={placement:e,modifiers:[{name:"flip",options:{fallbackPlacements:this._config.fallbackPlacements}},{name:"offset",options:{offset:this._getOffset()}},{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"arrow",options:{element:`.${this.constructor.NAME}-arrow`}},{name:"preSetPlacement",enabled:!0,phase:"beforeMain",fn:r=>{this._getTipElement().setAttribute("data-popper-placement",r.state.placement)}}]};return{...i,...me(this._config.popperConfig,[i])}}_setListeners(){const e=this._config.trigger.split(" ");for(const i of e)if("click"===i)D.on(this._element,this.constructor.eventName("click"),this._config.selector,r=>{this._initializeOnDelegatedTarget(r).toggle()});else if("manual"!==i){const r=this.constructor.eventName(i===F?"mouseenter":"focusin"),s=this.constructor.eventName(i===F?"mouseleave":"focusout");D.on(this._element,r,this._config.selector,a=>{const c=this._initializeOnDelegatedTarget(a);c._activeTrigger["focusin"===a.type?"focus":F]=!0,c._enter()}),D.on(this._element,s,this._config.selector,a=>{const c=this._initializeOnDelegatedTarget(a);c._activeTrigger["focusout"===a.type?"focus":F]=c._element.contains(a.relatedTarget),c._leave()})}this._hideModalHandler=()=>{this._element&&this.hide()},D.on(this._element.closest(R),te,this._hideModalHandler)}_fixTitle(){const e=this._element.getAttribute("title");e&&(this._element.getAttribute("aria-label")||this._element.textContent.trim()||this._element.setAttribute("aria-label",e),this._element.setAttribute("data-bs-original-title",e),this._element.removeAttribute("title"))}_enter(){this._isShown()||this._isHovered?this._isHovered=!0:(this._isHovered=!0,this._setTimeout(()=>{this._isHovered&&this.show()},this._config.delay.show))}_leave(){this._isWithActiveTrigger()||(this._isHovered=!1,this._setTimeout(()=>{this._isHovered||this.hide()},this._config.delay.hide))}_setTimeout(e,i){clearTimeout(this._timeout),this._timeout=setTimeout(e,i)}_isWithActiveTrigger(){return Object.values(this._activeTrigger).includes(!0)}_getConfig(e){const i=Dt.getDataAttributes(this._element);for(const r of Object.keys(i))N.has(r)&&delete i[r];return e={...i,..."object"==typeof e&&e?e:{}},e=this._mergeConfigObj(e),e=this._configAfterMerge(e),this._typeCheckConfig(e),e}_configAfterMerge(e){return e.container=!1===e.container?document.body:Ee(e.container),"number"==typeof e.delay&&(e.delay={show:e.delay,hide:e.delay}),"number"==typeof e.title&&(e.title=e.title.toString()),"number"==typeof e.content&&(e.content=e.content.toString()),e}_getDelegateConfig(){const e={};for(const[i,r]of Object.entries(this._config))this.constructor.Default[i]!==r&&(e[i]=r);return e.selector=!1,e.trigger="manual",e}_disposePopper(){this._popper&&(this._popper.destroy(),this._popper=null),this.tip&&(this.tip.remove(),this.tip=null)}static jQueryInterface(e){return this.each(function(){const i=ce.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===i[e])throw new TypeError(`No method named "${e}"`);i[e]()}})}}z(ce);const Ae={...ce.Default,content:"",offset:[0,8],placement:"right",template:'<div class="popover" role="tooltip"><div class="popover-arrow"></div><h3 class="popover-header"></h3><div class="popover-body"></div></div>',trigger:"click"},je={...ce.DefaultType,content:"(null|string|element|function)"};class Oe extends ce{static get Default(){return Ae}static get DefaultType(){return je}static get NAME(){return"popover"}_isWithContent(){return this._getTitle()||this._getContent()}_getContentForTemplate(){return{".popover-header":this._getTitle(),".popover-body":this._getContent()}}_getContent(){return this._resolvePossibleFunction(this._config.content)}static jQueryInterface(e){return this.each(function(){const i=Oe.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===i[e])throw new TypeError(`No method named "${e}"`);i[e]()}})}}z(Oe);const Re="click.bs.scrollspy",ue="active",ge={offset:null,rootMargin:"0px 0px -25%",smoothScroll:!1,target:null,threshold:[.1,.5,1]},Ne={offset:"(number|null)",rootMargin:"string",smoothScroll:"boolean",target:"element",threshold:"array"};class Me extends mt{constructor(e,i){super(e,i),this._targetLinks=new Map,this._observableSections=new Map,this._rootElement="visible"===getComputedStyle(this._element).overflowY?null:this._element,this._activeTarget=null,this._observer=null,this._previousScrollData={visibleEntryTop:0,parentScrollTop:0},this.refresh()}static get Default(){return ge}static get DefaultType(){return Ne}static get NAME(){return"scrollspy"}refresh(){this._initializeTargetsAndObservables(),this._maybeEnableSmoothScroll(),this._observer?this._observer.disconnect():this._observer=this._getNewObserver();for(const e of this._observableSections.values())this._observer.observe(e)}dispose(){this._observer.disconnect(),super.dispose()}_configAfterMerge(e){return e.target=Ee(e.target)||document.body,e.rootMargin=e.offset?`${e.offset}px 0px -30%`:e.rootMargin,"string"==typeof e.threshold&&(e.threshold=e.threshold.split(",").map(i=>Number.parseFloat(i))),e}_maybeEnableSmoothScroll(){this._config.smoothScroll&&(D.off(this._config.target,Re),D.on(this._config.target,Re,"[href]",e=>{const i=this._observableSections.get(e.target.hash);if(i){e.preventDefault();const r=this._rootElement||window,s=i.offsetTop-this._element.offsetTop;if(r.scrollTo)return void r.scrollTo({top:s,behavior:"smooth"});r.scrollTop=s}}))}_getNewObserver(){return new IntersectionObserver(i=>this._observerCallback(i),{root:this._rootElement,threshold:this._config.threshold,rootMargin:this._config.rootMargin})}_observerCallback(e){const i=c=>this._targetLinks.get(`#${c.target.id}`),r=c=>{this._previousScrollData.visibleEntryTop=c.target.offsetTop,this._process(i(c))},s=(this._rootElement||document.documentElement).scrollTop,a=s>=this._previousScrollData.parentScrollTop;this._previousScrollData.parentScrollTop=s;for(const c of e){if(!c.isIntersecting){this._activeTarget=null,this._clearActiveClass(i(c));continue}const d=c.target.offsetTop>=this._previousScrollData.visibleEntryTop;if(a&&d){if(r(c),!s)return}else a||d||r(c)}}_initializeTargetsAndObservables(){this._targetLinks=new Map,this._observableSections=new Map;const e=$.find("[href]",this._config.target);for(const i of e){if(!i.hash||De(i))continue;const r=$.findOne(i.hash,this._element);ze(r)&&(this._targetLinks.set(i.hash,i),this._observableSections.set(i.hash,r))}}_process(e){this._activeTarget!==e&&(this._clearActiveClass(this._config.target),this._activeTarget=e,e.classList.add(ue),this._activateParents(e),D.trigger(this._element,"activate.bs.scrollspy",{relatedTarget:e}))}_activateParents(e){if(e.classList.contains("dropdown-item"))$.findOne(".dropdown-toggle",e.closest(".dropdown")).classList.add(ue);else for(const i of $.parents(e,".nav, .list-group"))for(const r of $.prev(i,".nav-link, .nav-item > .nav-link, .list-group-item"))r.classList.add(ue)}_clearActiveClass(e){e.classList.remove(ue);const i=$.find("[href].active",e);for(const r of i)r.classList.remove(ue)}static jQueryInterface(e){return this.each(function(){const i=Me.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===i[e]||e.startsWith("_")||"constructor"===e)throw new TypeError(`No method named "${e}"`);i[e]()}})}}D.on(window,"load.bs.scrollspy.data-api",()=>{for(const n of $.find('[data-bs-spy="scroll"]'))Me.getOrCreateInstance(n)}),z(Me);const Qe="ArrowLeft",Be="ArrowRight",Te="ArrowUp",Je="ArrowDown",Ve="active",Et="show",lt='[data-bs-toggle="tab"], [data-bs-toggle="pill"], [data-bs-toggle="list"]',Xe=`.nav-link:not(.dropdown-toggle), .list-group-item:not(.dropdown-toggle), [role="tab"]:not(.dropdown-toggle), ${lt}`;class Ct extends mt{constructor(e){super(e),this._parent=this._element.closest('.list-group, .nav, [role="tablist"]'),this._parent&&(this._setInitialAttributes(this._parent,this._getChildren()),D.on(this._element,"keydown.bs.tab",i=>this._keydown(i)))}static get NAME(){return"tab"}show(){const e=this._element;if(this._elemIsActive(e))return;const i=this._getActiveElem(),r=i?D.trigger(i,"hide.bs.tab",{relatedTarget:e}):null;D.trigger(e,"show.bs.tab",{relatedTarget:i}).defaultPrevented||r&&r.defaultPrevented||(this._deactivate(i,e),this._activate(e,i))}_activate(e,i){e&&(e.classList.add(Ve),this._activate($.getElementFromSelector(e)),this._queueCallback(()=>{"tab"===e.getAttribute("role")?(e.removeAttribute("tabindex"),e.setAttribute("aria-selected",!0),this._toggleDropDown(e,!0),D.trigger(e,"shown.bs.tab",{relatedTarget:i})):e.classList.add(Et)},e,e.classList.contains("fade")))}_deactivate(e,i){e&&(e.classList.remove(Ve),e.blur(),this._deactivate($.getElementFromSelector(e)),this._queueCallback(()=>{"tab"===e.getAttribute("role")?(e.setAttribute("aria-selected",!1),e.setAttribute("tabindex","-1"),this._toggleDropDown(e,!1),D.trigger(e,"hidden.bs.tab",{relatedTarget:i})):e.classList.remove(Et)},e,e.classList.contains("fade")))}_keydown(e){if(![Qe,Be,Te,Je].includes(e.key))return;e.stopPropagation(),e.preventDefault();const i=[Be,Je].includes(e.key),r=G(this._getChildren().filter(s=>!De(s)),e.target,i,!0);r&&(r.focus({preventScroll:!0}),Ct.getOrCreateInstance(r).show())}_getChildren(){return $.find(Xe,this._parent)}_getActiveElem(){return this._getChildren().find(e=>this._elemIsActive(e))||null}_setInitialAttributes(e,i){this._setAttributeIfNotExists(e,"role","tablist");for(const r of i)this._setInitialAttributesOnChild(r)}_setInitialAttributesOnChild(e){e=this._getInnerElement(e);const i=this._elemIsActive(e),r=this._getOuterElement(e);e.setAttribute("aria-selected",i),r!==e&&this._setAttributeIfNotExists(r,"role","presentation"),i||e.setAttribute("tabindex","-1"),this._setAttributeIfNotExists(e,"role","tab"),this._setInitialAttributesOnTargetPanel(e)}_setInitialAttributesOnTargetPanel(e){const i=$.getElementFromSelector(e);i&&(this._setAttributeIfNotExists(i,"role","tabpanel"),e.id&&this._setAttributeIfNotExists(i,"aria-labelledby",`#${e.id}`))}_toggleDropDown(e,i){const r=this._getOuterElement(e);if(!r.classList.contains("dropdown"))return;const s=(a,c)=>{const d=$.findOne(a,r);d&&d.classList.toggle(c,i)};s(".dropdown-toggle",Ve),s(".dropdown-menu",Et),r.setAttribute("aria-expanded",i)}_setAttributeIfNotExists(e,i,r){e.hasAttribute(i)||e.setAttribute(i,r)}_elemIsActive(e){return e.classList.contains(Ve)}_getInnerElement(e){return e.matches(Xe)?e:$.findOne(Xe,e)}_getOuterElement(e){return e.closest(".nav-item, .list-group-item")||e}static jQueryInterface(e){return this.each(function(){const i=Ct.getOrCreateInstance(this);if("string"==typeof e){if(void 0===i[e]||e.startsWith("_")||"constructor"===e)throw new TypeError(`No method named "${e}"`);i[e]()}})}}D.on(document,"click.bs.tab",lt,function(n){["A","AREA"].includes(this.tagName)&&n.preventDefault(),De(this)||Ct.getOrCreateInstance(this).show()}),D.on(window,"load.bs.tab",()=>{for(const n of $.find('.active[data-bs-toggle="tab"], .active[data-bs-toggle="pill"], .active[data-bs-toggle="list"]'))Ct.getOrCreateInstance(n)}),z(Ct);const Ht="show",hn="showing",Sn={animation:"boolean",autohide:"boolean",delay:"number"},Mn={animation:!0,autohide:!0,delay:5e3};class t extends mt{constructor(e,i){super(e,i),this._timeout=null,this._hasMouseInteraction=!1,this._hasKeyboardInteraction=!1,this._setListeners()}static get Default(){return Mn}static get DefaultType(){return Sn}static get NAME(){return"toast"}show(){D.trigger(this._element,"show.bs.toast").defaultPrevented||(this._clearTimeout(),this._config.animation&&this._element.classList.add("fade"),this._element.classList.remove("hide"),this._element.classList.add(Ht,hn),this._queueCallback(()=>{this._element.classList.remove(hn),D.trigger(this._element,"shown.bs.toast"),this._maybeScheduleHide()},this._element,this._config.animation))}hide(){this.isShown()&&(D.trigger(this._element,"hide.bs.toast").defaultPrevented||(this._element.classList.add(hn),this._queueCallback(()=>{this._element.classList.add("hide"),this._element.classList.remove(hn,Ht),D.trigger(this._element,"hidden.bs.toast")},this._element,this._config.animation)))}dispose(){this._clearTimeout(),this.isShown()&&this._element.classList.remove(Ht),super.dispose()}isShown(){return this._element.classList.contains(Ht)}_maybeScheduleHide(){this._config.autohide&&(this._hasMouseInteraction||this._hasKeyboardInteraction||(this._timeout=setTimeout(()=>{this.hide()},this._config.delay)))}_onInteraction(e,i){switch(e.type){case"mouseover":case"mouseout":this._hasMouseInteraction=i;break;case"focusin":case"focusout":this._hasKeyboardInteraction=i}if(i)return void this._clearTimeout();const r=e.relatedTarget;this._element===r||this._element.contains(r)||this._maybeScheduleHide()}_setListeners(){D.on(this._element,"mouseover.bs.toast",e=>this._onInteraction(e,!0)),D.on(this._element,"mouseout.bs.toast",e=>this._onInteraction(e,!1)),D.on(this._element,"focusin.bs.toast",e=>this._onInteraction(e,!0)),D.on(this._element,"focusout.bs.toast",e=>this._onInteraction(e,!1))}_clearTimeout(){clearTimeout(this._timeout),this._timeout=null}static jQueryInterface(e){return this.each(function(){const i=t.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===i[e])throw new TypeError(`No method named "${e}"`);i[e](this)}})}}return zt(t),z(t),{Alert:sn,Button:Gt,Carousel:Kt,Collapse:Zt,Dropdown:ft,Modal:qt,Offcanvas:Lt,Popover:Oe,ScrollSpy:Me,Tab:Ct,Toast:t,Tooltip:ce}}),Element.prototype.remove=function(){this.parentElement&&this.parentElement.removeChild(this)},NodeList.prototype.remove=HTMLCollection.prototype.remove=function(){for(var L=this.length-1;0<=L;L--)this[L]&&this[L].parentElement&&this[L].parentElement.removeChild(this[L])};var RealexHpp=function(){"use strict";function L(y,p={}){Ye.enableLogging&&(y=new CustomEvent(rt.logEventName,{detail:{message:y,data:p}}),window.dispatchEvent(y))}function U(){return!z&&(me||(0<window.innerWidth?window.innerWidth:screen.width)<=He||(0<window.innerHeight?window.innerHeight:screen.Height)<=He)}var re,ye,de,Le,xe,Ee="https://pay.realexpayments.com/pay",ze=["https://pay.realexpayments.com/pay","https://pay.sandbox.realexpayments.com/pay"],De=Math.random().toString(16).substr(2,8),He=360,Ye={enableLogging:!1},rt={logEventName:"rxp-log"},J_append="Form appended to the iframe",J_create="Hidden form created",pe=function(y){return y+" initialized"},z=/Windows Phone|IEMobile/.test(navigator.userAgent),me=/Android|iPad|iPhone|iPod/.test(navigator.userAgent),nt=z,G={evtMsg:[],addEvtMsgListener:function(y){this.evtMsg.push({fct:y,opt:!1}),window.addEventListener?window.addEventListener("message",y,!1):window.attachEvent("message",y)},removeOldEvtMsgListener:function(){var y;0<this.evtMsg.length&&(y=this.evtMsg.pop(),window.addEventListener?window.removeEventListener("message",y.fct,y.opt):window.detachEvent("message",y.fct))},base64:{encode:function(y){for(var p,_,E,A,h,j="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",P=(y=escape(y),""),B="",Q=0;E=(p=y.charCodeAt(Q++))>>2,A=(3&p)<<4|(p=y.charCodeAt(Q++))>>4,h=(15&p)<<2|(_=y.charCodeAt(Q++))>>6,B=63&_,isNaN(p)?h=B=64:isNaN(_)&&(B=64),P=P+j.charAt(E)+j.charAt(A)+j.charAt(h)+j.charAt(B),h=B="",Q<y.length;);return P},decode:function(y){if(void 0===y)return y;var p,_,E,A,h,j,P="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",B="",Q=0;if(/[^A-Za-z0-9\+\/\=]/g.exec(y))throw new Error("There were invalid base64 characters in the input text.\nValid base64 characters are A-Z, a-z, 0-9, '+', '/',and '='\nExpect errors in decoding.");for(y=y.replace(/[^A-Za-z0-9\+\/\=]/g,"");E=P.indexOf(y.charAt(Q++)),p=(15&(A=P.indexOf(y.charAt(Q++))))<<4|(h=P.indexOf(y.charAt(Q++)))>>2,_=(3&h)<<6|(j=P.indexOf(y.charAt(Q++))),B+=String.fromCharCode(E<<2|A>>4),64!==h&&(B+=String.fromCharCode(p)),64!==j&&(B+=String.fromCharCode(_)),Q<y.length;);return unescape(B)}},decodeAnswer:function(y){var p;if("string"!=typeof y)return null;try{p=JSON.parse(y)}catch{p={error:!0,message:y}}try{for(var _ in p)p[_]&&(p[_]=G.base64.decode(p[_]))}catch{}return p},createFormHiddenInput:function(y,p){var _=document.createElement("input");return _.setAttribute("type","hidden"),_.setAttribute("name",y),_.setAttribute("value",p),_},checkDevicesOrientation:function(){return 90===window.orientation||-90===window.orientation},createOverlay:function(){var y=document.createElement("div");return y.setAttribute("id","rxp-overlay-"+De),y.style.position="fixed",y.style.width="100%",y.style.height="100%",y.style.top="0",y.style.left="0",y.style.transition="all 0.3s ease-in-out",y.style.zIndex="100",nt&&(y.style.position="absolute !important",y.style.WebkitOverflowScrolling="touch",y.style.overflowX="hidden",y.style.overflowY="scroll"),document.body.appendChild(y),setTimeout(function(){y.style.background="rgba(0, 0, 0, 0.7)"},1),y},closeModal:function(y,p,_,E){y&&y.parentNode&&y.parentNode.removeChild(y),p&&p.parentNode&&p.parentNode.removeChild(p),_&&_.parentNode&&_.parentNode.removeChild(_),E&&(E.className="",setTimeout(function(){E.parentNode&&E.parentNode.removeChild(E)},300))},createCloseButton:function(y){var p;if(null===document.getElementById("rxp-frame-close-"+De))return(p=document.createElement("img")).setAttribute("id","rxp-frame-close-"+De),p.setAttribute("src","data:image/gif;base64,iVBORw0KGgoAAAANSUhEUgAAABEAAAARCAYAAAA7bUf6AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMy1jMDExIDY2LjE0NTY2MSwgMjAxMi8wMi8wNi0xNDo1NjoyNyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNiAoV2luZG93cykiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6QUJFRjU1MEIzMUQ3MTFFNThGQjNERjg2NEZCRjFDOTUiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6QUJFRjU1MEMzMUQ3MTFFNThGQjNERjg2NEZCRjFDOTUiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDpBQkVGNTUwOTMxRDcxMUU1OEZCM0RGODY0RkJGMUM5NSIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDpBQkVGNTUwQTMxRDcxMUU1OEZCM0RGODY0RkJGMUM5NSIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/PlHco5QAAAHpSURBVHjafFRdTsJAEF42JaTKn4glGIg++qgX4AAchHAJkiZcwnAQD8AF4NFHCaC2VgWkIQQsfl/jNJUik8Duzs/XmW9mN7Xb7VRc5vP5zWKxaK5Wq8Zmu72FqobfJG0YQ9M0+/l8/qFQKDzGY1JxENd1288vLy1s786KRZXJZCLber1Wn7MZt4PLarVnWdZ9AmQ8Hncc17UvymVdBMB/MgPQm+cFFcuy6/V6lzqDf57ntWGwYdBIVx0TfkBD6I9M35iRJgfIoAVjBLDZbA4CiJ5+9AdQi/EahibqDTkQx6fRSIHcPwA8Uy9A9Gcc47Xv+w2wzhRDYzqdVihLIbsIiCvP1NNOoX/29FQx3vgOgtt4FyRdCgPRarX4+goB9vkyAMh443cOEsIAAcjncuoI4TXWMAmCIGFhCQLAdZ8jym/cRJ+Y5nC5XCYAhINKpZLgSISZgoqh5iiLQrojAFICVwGS7tCfe5DbZzkP56XS4NVxwvTI/vXVVYIDnqmnnX70ZxzjNS8THHooK5hMpxHQIREA+tEfA9djfHR3MHkdx3Hspe9r3B+VzWaj2RESyR2mlCUE4MoGQDdxiwHURq2t94+PO9bMIYyTyDNLwMoM7g8+BfKeYGniyw2MdfSehF3Qmk1IvCc/AgwAaS86Etp38bUAAAAASUVORK5CYII="),p.setAttribute("style","transition: all 0.5s ease-in-out; opacity: 0; float: left; position: absolute; left: 50%; margin-left: 173px; z-index: 99999999; top: 30px;"),setTimeout(function(){p.style.opacity="1"},500),nt&&(p.style.position="absolute",p.style.float="right",p.style.top="20px",p.style.left="initial",p.style.marginLeft="0px",p.style.right="20px"),p},createForm:function(y,p,_){var E,A=document.createElement("form"),h=(A.setAttribute("method","POST"),A.setAttribute("action",Ee),!1);for(E in p)"HPP_VERSION"===E&&(h=!0),A.appendChild(G.createFormHiddenInput(E,p[E]));return!1===h&&A.appendChild(G.createFormHiddenInput("HPP_VERSION","2")),_?A.appendChild(G.createFormHiddenInput("MERCHANT_RESPONSE_URL",ye)):(_=(_=G.getUrlParser(window.location.href)).protocol+"//"+_.host,A.appendChild(G.createFormHiddenInput("HPP_POST_RESPONSE",_)),A.appendChild(G.createFormHiddenInput("HPP_POST_DIMENSIONS",_))),A},createSpinner:function(){var y=document.createElement("img");return y.setAttribute("src","data:image/gif;base64,R0lGODlhHAAcAPYAAP////OQHv338fzw4frfwPjIkPzx4/nVq/jKlfe7dv337/vo0fvn0Pzy5/WrVv38+vjDhva2bfzq1fe/f/vkyve8d/WoT/nRpP327ve9e/zs2vrWrPWqVPWtWfvmzve5cvazZvrdvPjKlPfAgPnOnPvp0/zx5fawYfe+ff317PnTp/nMmfvgwvfBgv39/PrXsPSeO/vjx/jJkvzz6PnNm/vkyfnUqfjLl/revvnQoPSfPfSgP/348/nPnvratfrYsvWlSvSbNPrZs/vhw/zv4P306vrXrvzq1/359f369vjHjvSjRvOXLfORIfOQHvjDh/rduvSaM/jEifvlzPzu3v37+Pvixfzr2Pzt3Pa1afa3b/nQovnSpfaxYvjFi/rbt/rcufWsWPjGjfSjRPShQfjChPOUJva0aPa2a/awX/e6dPWnTfWkSPScNve4cPWpUfSdOvOSI/OVKPayZPe9efauW/WpUvOYL/SiQ/OZMfScOPOTJfavXfWmSwAAAAAAACH/C05FVFNDQVBFMi4wAwEAAAAh/hpDcmVhdGVkIHdpdGggYWpheGxvYWQuaW5mbwAh+QQJCgAAACwAAAAAHAAcAAAH/4AAgoOEhYaHiIUKKYmNh0ofjoklL4RLUQ+DVZmSAAswOYIKTE1UglUCVZ0AGBYwPwBHTU44AFU8PKuCEzpARB5OTjYAPEi5jQYNgzE7QS1ET1JTD7iqgi6chAcOFRsmABUQBoQuSAIALjwpMwqHCBYcJyrHhulF9xiJFx0WMo0Y99o18oBCWSIXKZI0eoBhkaQHEA0JIIAAQoYPKiSlwIKFyIAUnAYUSBAhAogVkmZc0aChIz0ACiQQCLFAEhIMKXhkO8RiRqMqBnYe0iAigwoXiah4KMEI0QIII1rQyHeoypUFWH0aWjABAgkPLigIKUIIiQQNrDQs8EC2EAMKBlIV9EBgRAHWFEes1DiWpIjWRDVurCCCBAqUGUhqxEC7yoUNBENg4sChbICVaasw3PCBNAkLHAI1DBEoyQSObDGGZMPyV5egElNcNxJAVbZtQoEAACH5BAkKAAAALAAAAAAcABwAAAf/gACCg4SFhoeIhUVFiY2HYlKOiUdDgw9hDg+DPjWSgh4WX4JYY2MagipOBJ4AGF0OnTVkZDEAX05mDawAXg5dGCxBQQRFTE5djkQYgwxhFghYSjIDZU6qgy6ahS8RSj6MEyImhAoFHYJJPAJIhz1ZERVfCi6HVelISDyJNloRCI08ArJrdEQKEUcKtCF6oEDBDEkPIhoSwEKFDCktDkhyuAgDD3oADOR40qIFCi4bZywqkqIKISRYKAwpIalKwCQgD7kYMi6RC0aOsGxB8KLRDA1YBCQqsaLpBqU6DSDVsMzQFRkkXhwBcIUBVHREDmIYgOWKAkMMSpwFwINAiCkCTI5cEaCBwYKBVTAAnYQjBAYFVqx4XLBgwK6dIa4AUFCjxjIDDCTkdIQBzAJBPBrrA0DFw2ZJM2gKcjGFgsIBa3cNOrJVdaKArmMbCgQAIfkECQoAAAAsAAAAABwAHAAAB/+AAIKDhIWGh4iFRSmJjYckK46JEjWECWqEQgSSghJnIYIzaSdFghdRQ5wAPBlalRIdHUcALzBrGKoAPVoJPBQWa1MNbDsJjgOMggtaaDkaCDREKG06OIMDHoYhEzRgpTQiWIQmCJhUEGxOT4dGEy1SYMmGLgVmTk5uiWBlLTQuiSTutXBERcSVRi5OWEtUBUMKE6r+FeJR48cFEjdeSEoigIfHJBIb/MixYgWCDZKQeFz5gFAVE0cWHHRUJUmSKhIRHSnVCENORCZYhJjys5CAGUWQJCISAsdQHolSLCoC1ZABMASmGACApYQCQg+kAkCCocgMpYWIGEBLMQYDBVRMiPAwoUFDEkEPPDrCUiOGAAUePCioogFLg1wuPMSgAkDAggUCAMzQwFiVgCEzkzy+C6DBFbSSiogbJEECoQZfcxEiUlk1IpWuYxsKBAAh+QQJCgAAACwAAAAAHAAcAAAH/4AAgoOEhYaHiIUzDYmNhxckjolXVoQQIy6DX5WSAFQZIYIKFQlFgjZrU50ASUojMZ4fblcAUBxdCqsALy1PKRpoZ0czJ2FKjgYpmQBEZSNbAys5DUpvDh6CVVdDy4M1IiohMwBcKwOEGFwQABIjYW3HhiwIKzQEM0mISmQ7cCOJU2is4PIgUQ44OxA4wrDhSKMqKEo0QpJCQZFuiIqwmGKiUJIrMQjgCFFDUggnTuKQKWNAEA8GLHCMLOkIB0oncuZgIfTAYooUkky8CLEASaIqwxzlczSjRgwGE3nwWHqISAynEowiEsADSddDBoZQOAKUigYehQQAreJVgFZCM1JSVBGEZMGCK1UapEiCoUiRpS6qzG00wO5UDVd4PPCba5ULCQw68tBwFoAAvxgbCfBARNADLFgGK8C3CsO5QUSoEFLwVpcgEy1dJ0LSWrZtQYEAACH5BAkKAAAALAAAAAAcABwAAAf/gACCg4SFhoeIhRgziY2HQgeOiUQ1hDcyLoNgFJKCJiIEggpSEIwALyALnQBVFzdTAANlZVcAQxEVCqsABCs0ClgTKCUCFVo9jg0pVYIpNDc/VBcqRFtZWrUASAtDhlhgLCUpAFAq2Z4XJAAaK2drW4dHITg4CwrMhg8IHQ52CIlUCISw8iARlzd1IjVCwsBEowciBjRKogDDOEdEQsSgUnAQEg0MasSwwkCSiig7loRBcURQEg0eatQgKekASjwcMpQohCRFkYuNDHwhcCVJoipYMDhSosHRjAULWib64STOjUQGGEDVgO8QHSdgMxxq4KEEFQEAZhjo6JEHAAZqUu44EWNIgQB8LzWYqKJAQRIegDsqiPElGRauSWbMQOKCBxK3q1xQ0VCEVZEiSAD85ZGpE5IrDgE8uIwPyd1VAkw1q+yx6y5RSl8nesBWtu1BgQAAIfkECQoAAAAsAAAAABwAHAAAB/+AAIKDhIWGh4iFGEWJjYcEX46JDUeEG1sPgwQlkoIYUAuCPD00M4JfGVedAC5DIRoAMzQrWAA1I14CqwBHODg8JggiVwpPLQeORSlVor4UJj8/RDYTZUSCAiUxLoUGQxRHGABXMSaEA1wqABoXdCAvh0QxNTUlPNyGSDluWhHqiCYoxPCQCRGXLGrAOEoiwVQiJBdSNEKiAIM4R1SGTCFSUFASKhIWLGCgypGKNWHqoJECC0CSAUdEMmjZaMOaDmncILhGKIkABbocmfAgoUGjByaQOGrBwFEKLBrMJbIBh4yMSRqgmsB3CAKZHXAyHCpyBUtSABa5sjoAAoAECG9QgngxJAAJvgdF8lbhwQOAEidOYghSMCVEx0MK8j7Ye4+IHCdzdgHIq+sBX2YHnJhxKCnJjIsuBPAo+BfKqiQKCPEllCOS5EFIlL5OpHa27UAAIfkECQoAAAAsAAAAABwAHAAAB/+AAIKDhIWGh4iFPBiJjYdXDI6JAlSENUMugx4akoJIVpwAVQQ4AoI1Mgadgh5WRAAKOCENAEc3PTyrABo1NQICIVAzPD00Qo4YCg+evR4YFBRFQjcrA4JJWAuGMx4lVAoAV1O0g1QbPgADP0oZYIcmDAsLGjyZhikqZS0Tx4gz8hLsGXJxYQQEAo6SaDCVCMMFE40e8ECSRJKBI0eKCASQxAQRLBo0WHPE5YwbNS1oVOLoEeQViI6MmEwwgsYrQhIpSiqi4UqKjYUeYAAaVMkRRzyKFGGU6IedDjYSKSiSgirRQTLChLGD4JCAGUsrTixU5QCdWivOrNliiKI9iRNNZ3wBY0KKHh1DPJVggRRJrhhOnBgxwIYMGl0AeIw9EjgEACMw2JCT5EKxIAxynFwRhCBKjFUSCQHJs0xQjy+ICbXoUuhqJyIlUss2FAgAIfkECQoAAAAsAAAAABwAHAAAB/+AAIKDhIWGh4iFVQKJjYdEDI6JPESECzVVg0RUkoJVHliCLlMxCoJUYAadglcMAwBJFDFFAA0hBEirACYLCwpJMVYNDyw4U44CPA+CSb0SPAsMKUdQIaqwDVguhQpXWAOmJhIYhBhTx0UhWyIEhykaWBoGSYgKUCQrCCGJCvHXhy583FhRw1GVBvQSpRAyo1GVJFUyORpw5IqBXINcYCjCsUgKST9QlCkjhss1jR1nfHT0BQUEKQUOmCjk4gFESSkGmEixDJELZY14iDjiKAkPJDwa+UDjZkMipEgZIUqyIYGWLDR6EkqSjEcmJTeSDuLxY8QuLi2ybDFUReuAPU5W+KTgkkOCCgsc9gF4wEvrISlOnLAgAiePCgFnHKDQBQCIkycADADR4QPAFAd8Gqwy4ESLIAF2dlAQ5KMPlFULpBACgUezIChfGBOiAUJ2oiJXbOsmFAgAIfkECQoAAAAsAAAAABwAHAAAB/+AAIKDhIWGh4iFDzyJjYcNEo6JSAaEGgtJgyZEkoIPGgODEgwKggZDJp2CAxoNAA8lDEUAKTE1jKopWBoKDwsMMw9TNQuOSUkuglVYWERJWFe6VjGuAFUKJsmESDNFKUgAGAaZgwKxAAILLFDFhjzeRUVViEgSBDghDJPxKY0LISGuOHKBYd4kD6USPVj4QJIJKkQakBvEo2JFAZJCiFhBI4eQVIKQWKwoCQcCGj0ufJlRyEXDTkVmzOiViIgblokU0IjU6EUeJy0a/ZjQQshLQ1ucKE2Dy5ACMFJaTLhgkNAXJ3m6DAFwwwtOQQpeeAnnA8EEG4Y8MMBlgA2cEylSVORY8OVMhBCDihw5emiFDh1gFITp8+LBCC1jVQE40+YJAAUgOOA94sZNqE4mYKiZVyWCA30ArJzB20mClKMtOnylAEVxIR8VXDfiQUW2bUOBAAAh+QQJCgAAACwAAAAAHAAcAAAH/4AAgoOEhYaHiIUuAomNhwpUjokPKYQGGkmDKSaSgi4zlYJUGowAMx4NnYIYRZVVWFiVCgsLPKoAAkVFSA8aGhgAJQtHjg9VLp6tM0kNJjwGDAupAC48RciEVQI8PJkCKdiCrxIASRpTVuSGSTxIPAJViElYNTUxJYna7o1HMTEakqo8aMTDg4JGM6aAYSApRYoiAsIBwABhzB4nTiZIkgAFB44hDGYIUgCBjRyMGh1x9GglZCEMC4ZckYRBQRFbiTDQAZgohQ0ijkKs0TOiEZQbKwhIJLRBxw4dXaYZwmClx4obP5YCINCGTZYQAIx4CTVyg4xqLLggEGLIA4VpCldAcNDS4AIJBkNQtGAhiBKRgYmMOHDAQoGWM2AAyCiz4haAEW+8TKygBSyWMmUMqOJRpwWyBy0iUBDkIQPfTiZIxBNEA41mQRIIOCYUo8zsRDx43t4tKBAAIfkECQoAAAAsAAAAABwAHAAAB/+AAIKDhIWGh4iGSYmMh0gzjYkuPIQYRQ+DPA2RgwKUgilFSIICV5ucAEhIn6ECqVgarqhJPDyLRUUKAFRYVI1HMZAALgJIAg8KGDwKGlinAEkKLoU1Tnt1BABVAtOEKb4PBhIMR4c+cU5OaymILiYlCwtHmIcxQU4fjAYMDFjdiApQSGBU5QgGRjOmEFgQCUMKZf8AKLgBAgiZNvkaURkSo8aUI+wAYJDSYcyONloibexIoYQwQS6oEPgxpOGMXPQOPdjCMFESCgcZHdFiYUROQ0dChCgRkRCFOg4cRMCCiIcGAjhCUDgq6AiHDhWyxShAhJACKFweJJHAAgoFQ1dfrAwQlKRMhAwpfnCZMkXEihqCHmAwUIXRkAgRoLiQgsIHABsrVDRl1OPMDQAPZIzAAcAEjRVzOT2gI+XTjREMBF0RUZMThhyyAGyYYGCQhtaoCJVQMjk3ISQafAtHFAgAIfkECQoAAAAsAAAAABwAHAAAB/+AAIKDhIWGh4iGD4mMh1UCjYkNXlWDSQKVgo+Rgkl3HZkCSEmdMwqcgnNOWoI8SDwAD0VFSKgAP05ONgACPLApKUUujAsesABIek46CkmuAjNFp4IPPIuEQ3p2dDgAJBEmhdAuLikDGljDhTY6OjtZM4guAlRYWFSZhmB9cF3Xhxg0aBjw75ABNVYaGcDACEkDA+EaVUmSJJ8gF2AmgDgRBkWkGQwWlJBA5ViSG3PqOHiTIFIDDwtESkhBqAqRKTgoROJRJAUmRlA8MHoggSEjA16yQKiFiEqMGFgSXaETQcsEKoiSYIlRI0YJdYRMuIkgxYcLCSs0gEVyxcq8K1NhhpQwxCDEgEE3WrQggsPHFCpQcGCNlYKIRUNXyrTA4aIHAigArOAYUrDRhgk0yF1YQQBAChwhGqB6IEbJNCMIpggaAOYKKgwXjAJggSAiAANHbBW6kgMsAN+6q7jWTfxQIAA7AAAAAAAAAAAA"),y.setAttribute("id","rxp-loader-"+De),y.style.left="50%",y.style.position="fixed",y.style.background="#FFFFFF",y.style.borderRadius="50%",y.style.width="30px",y.style.zIndex="200",y.style.marginLeft="-15px",y.style.top="120px",y},createIFrame:function(y,p){var _,E=G.createSpinner(),A=(document.body.appendChild(E),document.createElement("iframe")),h=(A.setAttribute("name","rxp-frame-"+De),A.setAttribute("id","rxp-frame-"+De),A.setAttribute("height","562px"),A.setAttribute("frameBorder","0"),A.setAttribute("width","360px"),A.setAttribute("seamless","seamless"),A.setAttribute("allow","payment "+G.getBaseUrl(Ee)),A.style.zIndex="10001",A.style.position="absolute",A.style.transition="transform 0.5s ease-in-out",A.style.transform="scale(0.7)",A.style.opacity="0",y.appendChild(A),nt?(A.style.top="0px",A.style.bottom="0px",A.style.left="0px",A.style.marginLeft="0px;",A.style.width="100%",A.style.height="100%",A.style.minHeight="100%",A.style.WebkitTransform="translate3d(0,0,0)",A.style.transform="translate3d(0, 0, 0)",(h=document.createElement("meta")).name="viewport",h.content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0",document.getElementsByTagName("head")[0].appendChild(h)):(A.style.top="40px",A.style.left="50%",A.style.marginLeft="-180px"),L("iFrame created",{iFrame:A}),A.onload=function(){A.style.opacity="1",A.style.transform="scale(1)",A.style.backgroundColor="#ffffff",E&&E.parentNode&&E.parentNode.removeChild(E),_=G.createCloseButton(),y&&_&&(y.appendChild(_),_.addEventListener("click",function(){G.closeModal(_,A,E,y)},!0))},G.createForm(document,p));return L(J_create,{form:h}),(A.contentWindow.document.body||A.contentWindow.document).appendChild(h),L(J_append),h.submit(),L("Form submitted"),{spinner:E,iFrame:A,closeButton:_}},openWindow:function(y){var p,_,E,A=window.open();return A?(_=(p=A.document).createElement("meta"),(E=p.createAttribute("name")).value="viewport",_.setAttributeNode(E),(E=p.createAttribute("content")).value="width=device-width",_.setAttributeNode(E),p.head.appendChild(_),E=G.createForm(p,y),p.body.appendChild(E),E.submit(),A):null},getUrlParser:function(y){var p=document.createElement("a");return p.href=y,p},getHostnameFromUrl:function(y){return G.getUrlParser(y).hostname},getBaseUrl:function(y){return(y=G.getUrlParser(y)).protocol+"//"+y.hostname},isHppOrigin:function(y){var p=!1;return ze.forEach(function(_){G.getHostnameFromUrl(_)===y&&(p=!0)}),p},isMessageFromHpp:function(y,p){return(y=G.getHostnameFromUrl(y))===G.getHostnameFromUrl(p)||G.isHppOrigin(y)},receiveMessage:function(y){var p,_,E,A,h;G.isMessageFromHpp(y.event.origin,Ee)&&y.event.data&&null!==(p=G.decodeAnswer(y.event.data))&&(p.iframe?U()||(_=p.iframe.width,E=p.iframe.height,h=!1,A=y.embedded?y.instance.getIframe():document.getElementById("rxp-frame-"+De),y.instance.events&&y.instance.events.onResize&&y.instance.events.onResize(p.iframe),"390px"===_&&"440px"===E&&(A.setAttribute("width",_),A.setAttribute("height",E),h=!0),A.style.backgroundColor="#ffffff",nt?(A.style.marginLeft="0px",A.style.WebkitOverflowScrolling="touch",A.style.overflowX="scroll",A.style.overflowY="scroll",y.embedded||((E=document.getElementById("rxp-overlay-"+De)).style.overflowX="scroll",E.style.overflowY="scroll")):!y.embedded&&h&&(A.style.marginLeft=parseInt(_.replace("px",""),10)/2*-1+"px"),!y.embedded&&h&&setTimeout(function(){document.getElementById("rxp-frame-close-"+De).style.marginLeft=parseInt(_.replace("px",""),10)/2-7+"px"},200)):(E=function(){(U()&&re?re:y.instance).close();var j=document.getElementById("rxp-overlay-"+De);j&&j.remove()},A=y.event.data,"function"==typeof y.url?y.url(p,E):(E(),(h=document.createElement("form")).setAttribute("method","POST"),h.setAttribute("action",y.url),h.appendChild(G.createFormHiddenInput("hppResponse",A)),document.body.appendChild(h),h.submit())))}},pt={getInstance:function(y){var p,_;return de||(G.checkDevicesOrientation(),nt&&window.addEventListener&&window.addEventListener("orientationchange",function(){G.checkDevicesOrientation()},!1),de={lightbox:function(){U()?re=G.openWindow(_):(p=G.createOverlay(),G.createIFrame(p,_))},close:function(){G.closeModal()},setToken:function(E){_=E}}),de.setToken(y),de},init:function(y,p,_){function E(h){return G.receiveMessage({event:h,instance:A,url:p,embedded:!1})}L(pe("RxpLightbox"));var A=pt.getInstance(_);"autoload"===y?A.lightbox():document.getElementById(y).addEventListener?document.getElementById(y).addEventListener("click",A.lightbox,!0):document.getElementById(y).attachEvent("onclick",A.lightbox),G.removeOldEvtMsgListener(),G.evtMsg.push({fct:E,opt:!1}),G.addEvtMsgListener(E)}},ht={getInstance:function(y){var p,_;return(Le=Le||{embedded:function(){var E=G.createForm(document,_);L(J_create,{form:E}),p&&(L("iFrame found",{iFrame:p}),(p.contentWindow.document.body||p.contentWindow.document).appendChild(E),L(J_append),E.submit(),L("Form submitted"),p.style.display="inherit")},close:function(){p.style.display="none"},setToken:function(E){_=E},setIframe:function(E){(p=document.getElementById(E))&&p.setAttribute("allow","payment "+G.getBaseUrl(Ee))},getIframe:function(){return p}}).setToken(y),Le},init:function(y,p,_,E,A){function h(P){return G.receiveMessage({event:P,instance:j,url:_,embedded:!0})}L(pe("RxpEmbedded"));var j=ht.getInstance(E);j.events=A,j.setIframe(p),"autoload"===y?j.embedded():document.getElementById(y).addEventListener?document.getElementById(y).addEventListener("click",j.embedded,!0):document.getElementById(y).attachEvent("onclick",j.embedded),G.removeOldEvtMsgListener(),G.evtMsg.push({fct:h,opt:!1}),G.addEvtMsgListener(h)}},o={getInstance:function(y){var p;return xe||(G.checkDevicesOrientation(),nt&&window.addEventListener&&window.addEventListener("orientationchange",function(){G.checkDevicesOrientation()},!1),xe={redirect:function(){var _=G.createForm(document,p,!0);L(J_create,{form:_}),document.body.append(_),_.submit(),L("Form submitted")},setToken:function(_){p=_}}),xe.setToken(y),xe},init:function(y,p,_){function E(h){return G.receiveMessage({event:h,instance:A,url:p,embedded:!1})}L(pe("RxpRedirect"));var A=o.getInstance(_);ye=p,document.getElementById(y).addEventListener?document.getElementById(y).addEventListener("click",A.redirect,!0):document.getElementById(y).attachEvent("onclick",A.redirect),G.removeOldEvtMsgListener(),G.evtMsg.push({fct:E,opt:!1}),G.addEvtMsgListener(E)}};return{init:pt.init,lightbox:{init:pt.init},embedded:{init:ht.init},redirect:{init:o.init},setHppUrl:function(y){Ee=y},setMobileXSLowerBound:function(y){He=y},setConfigItem:function(y,p){Ye.hasOwnProperty(y)&&(Ye[y]=p)},constants:rt,_internal:G}}(),RealexRemote=function(){"use strict";function L(U){var re;return!(!/^\d{4}$/.test(U)||(re=parseInt(U.substring(0,2),10),parseInt(U.substring(2,4),10),re<1)||12<re)}return{validateCardNumber:function(U){if(!/^\d{12,19}$/.test(U))return!1;for(var re,ye=0,de=0,Le=!1,xe=U.length-1;0<=xe;xe--)re=parseInt(U.substring(xe,xe+1),10),Le?9<(de=2*re)&&(de-=9):de=re,ye+=de,Le=!Le;return ye%10==0},validateCardHolderName:function(U){return!!U&&!!U.trim()&&!!/^[\u0020-\u007E\u00A0-\u00FF]{1,100}$/.test(U)},validateCvn:function(U){return!!/^\d{3}$/.test(U)},validateAmexCvn:function(U){return!!/^\d{4}$/.test(U)},validateExpiryDateFormat:L,validateExpiryDateNotInPast:function(U){var re,ye,de;return!(!L(U)||(re=parseInt(U.substring(0,2),10),U=parseInt(U.substring(2,4),10),ye=(de=new Date).getMonth()+1,U<(de=de.getFullYear())%100)||U===de%100&&re<ye)}}}();