hof 24.3.2 → 24.4.0-proto-fix-beta
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +7 -1
- package/controller/base-controller.js +142 -1
- package/frontend/govuk-template/govuk_template_generated.html +118 -0
- package/package.json +1 -1
- package/sandbox/apps/config-driven-navigation/translations/en/default.json +168 -0
- package/sandbox/apps/sandbox/translations/en/default.json +278 -0
- package/sandbox/apps/task-driven-navigation/translations/en/default.json +161 -0
- package/sandbox/public/css/app.css +11714 -0
- package/sandbox/public/images/govuk-logo.svg +25 -0
- package/sandbox/public/images/icons/icon-caret-left.png +0 -0
- package/sandbox/public/images/icons/icon-complete.png +0 -0
- package/sandbox/public/images/icons/icon-cross-remove-sign.png +0 -0
- package/sandbox/public/js/bundle.js +30 -0
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
(function(){"use strict";var At=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function qa(V){if(Object.prototype.hasOwnProperty.call(V,"__esModule"))return V;var R=V.default;if(typeof R=="function"){var y=function te(){var oe=!1;try{oe=this instanceof te}catch{}return oe?Reflect.construct(R,arguments,this.constructor):R.apply(this,arguments)};y.prototype=R.prototype}else y={};return Object.defineProperty(y,"__esModule",{value:!0}),Object.keys(V).forEach(function(te){var oe=Object.getOwnPropertyDescriptor(V,te);Object.defineProperty(y,te,oe.get?oe:{enumerable:!0,get:function(){return V[te]}})}),y}var Pa={},Ma={},Do={exports:{}};var al=Do.exports,Ha;function mo(){return Ha||(Ha=1,(function(V,R){(function(){var y,te="4.18.1",oe=200,le="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",be="Expected a function",Pe="Invalid `variable` option passed into `_.template`",ke="Invalid `imports` option passed into `_.template`",Le="__lodash_hash_undefined__",Ke=500,Ne="__lodash_placeholder__",De=1,$=2,H=4,k=1,j=2,S=1,N=2,A=4,P=8,z=16,p=32,s=64,se=128,ie=256,he=512,je=30,ut="...",Oe=800,Nt=16,pt=1,kn=2,D=3,G=1/0,Q=9007199254740991,pe=17976931348623157e292,ye=NaN,_e=4294967295,xe=_e-1,de=_e>>>1,Re=[["ary",se],["bind",S],["bindKey",N],["curry",P],["curryRight",z],["flip",he],["partial",p],["partialRight",s],["rearg",ie]],Ce="[object Arguments]",qe="[object Array]",et="[object AsyncFunction]",tt="[object Boolean]",We="[object Date]",Ue="[object DOMException]",ct="[object Error]",st="[object Function]",Qe="[object GeneratorFunction]",Xe="[object Map]",at="[object Number]",It="[object Null]",Ct="[object Object]",oi="[object Promise]",Pi="[object Proxy]",si="[object RegExp]",ft="[object Set]",Kt="[object String]",bt="[object Symbol]",ge="[object Undefined]",rt="[object WeakMap]",Bn="[object WeakSet]",Mi="[object ArrayBuffer]",ai="[object DataView]",xi="[object Float32Array]",zn="[object Float64Array]",Dn="[object Int8Array]",zt="[object Int16Array]",rn="[object Int32Array]",mn="[object Uint8Array]",cr="[object Uint8ClampedArray]",Fn="[object Uint16Array]",Hi="[object Uint32Array]",dr=/\b__p \+= '';/g,Ln=/\b(__p \+=) '' \+/g,Vt=/(__e\(.*?\)|\b__t\)) \+\n'';/g,Rn=/&(?:amp|lt|gt|quot|#39);/g,Xi=/[&<>"']/g,Yi=RegExp(Rn.source),St=RegExp(Xi.source),mt=/<%-([\s\S]+?)%>/g,wi=/<%([\s\S]+?)%>/g,ji=/<%=([\s\S]+?)%>/g,Bi=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,hr=/^\w*$/,pn=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,ln=/[\\^$.*+?()[\]{}|]/g,ui=RegExp(ln.source),$n=/^\s+/,pr=/\s/,jr=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,Ti=/\{\n\/\* \[wrapped with (.+)\] \*/,Ji=/,? & /,Br=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,gr=/[()=,{}\[\]\/\s]/,Zi=/\\(\\)?/g,vr=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,cn=/\w*$/,yr=/^[-+]0x[0-9a-f]+$/i,Fi=/^0b[01]+$/i,$i=/^\[object .+?Constructor\]$/,fi=/^0o[0-7]+$/i,er=/^(?:0|[1-9]\d*)$/,ao=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Zt=/($^)/,_i=/['\n\r\u2028\u2029\\]/g,li="\\ud800-\\udfff",mr="\\u0300-\\u036f",Wi="\\ufe20-\\ufe2f",tr="\\u20d0-\\u20ff",Ci=mr+Wi+tr,Fr="\\u2700-\\u27bf",Qn="a-z\\xdf-\\xf6\\xf8-\\xff",ci="\\xac\\xb1\\xd7\\xf7",di="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",Ye="\\u2000-\\u206f",on=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",kt="A-Z\\xc0-\\xd6\\xd8-\\xde",Cn="\\ufe0e\\ufe0f",Xn=ci+di+Ye+on,nr="['’]",$r="["+li+"]",qn="["+Xn+"]",bn="["+Ci+"]",On="\\d+",br="["+Fr+"]",Wr="["+Qn+"]",Ui="[^"+li+Xn+On+Fr+Qn+kt+"]",Rt="\\ud83c[\\udffb-\\udfff]",xr="(?:"+bn+"|"+Rt+")",Sn="[^"+li+"]",ir="(?:\\ud83c[\\udde6-\\uddff]){2}",wr="[\\ud800-\\udbff][\\udc00-\\udfff]",jt="["+kt+"]",Yt="\\u200d",Si="(?:"+Wr+"|"+Ui+")",Ur="(?:"+jt+"|"+Ui+")",Jt="(?:"+nr+"(?:d|ll|m|re|s|t|ve))?",en="(?:"+nr+"(?:D|LL|M|RE|S|T|VE))?",hi=xr+"?",Ei="["+Cn+"]?",Tr="(?:"+Yt+"(?:"+[Sn,ir,wr].join("|")+")"+Ei+hi+")*",Kr="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",_r="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",Vr=Ei+hi+Tr,Ai="(?:"+[br,ir,wr].join("|")+")"+Vr,Yn="(?:"+[Sn+bn+"?",bn,ir,wr,$r].join("|")+")",Gr=RegExp(nr,"g"),ki=RegExp(bn,"g"),Jn=RegExp(Rt+"(?="+Rt+")|"+Yn+Vr,"g"),Cr=RegExp([jt+"?"+Wr+"+"+Jt+"(?="+[qn,jt,"$"].join("|")+")",Ur+"+"+en+"(?="+[qn,jt+Si,"$"].join("|")+")",jt+"?"+Si+"+"+Jt,jt+"+"+en,_r,Kr,On,Ai].join("|"),"g"),rr=RegExp("["+Yt+li+Ci+Cn+"]"),uo=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,zr=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],or=-1,wt={};wt[xi]=wt[zn]=wt[Dn]=wt[zt]=wt[rn]=wt[mn]=wt[cr]=wt[Fn]=wt[Hi]=!0,wt[Ce]=wt[qe]=wt[Mi]=wt[tt]=wt[ai]=wt[We]=wt[ct]=wt[st]=wt[Xe]=wt[at]=wt[Ct]=wt[si]=wt[ft]=wt[Kt]=wt[rt]=!1;var Dt={};Dt[Ce]=Dt[qe]=Dt[Mi]=Dt[ai]=Dt[tt]=Dt[We]=Dt[xi]=Dt[zn]=Dt[Dn]=Dt[zt]=Dt[rn]=Dt[Xe]=Dt[at]=Dt[Ct]=Dt[si]=Dt[ft]=Dt[Kt]=Dt[bt]=Dt[mn]=Dt[cr]=Dt[Fn]=Dt[Hi]=!0,Dt[ct]=Dt[st]=Dt[rt]=!1;var pi={À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ā:"A",Ă:"A",Ą:"A",ā:"a",ă:"a",ą:"a",Ć:"C",Ĉ:"C",Ċ:"C",Č:"C",ć:"c",ĉ:"c",ċ:"c",č:"c",Ď:"D",Đ:"D",ď:"d",đ:"d",Ē:"E",Ĕ:"E",Ė:"E",Ę:"E",Ě:"E",ē:"e",ĕ:"e",ė:"e",ę:"e",ě:"e",Ĝ:"G",Ğ:"G",Ġ:"G",Ģ:"G",ĝ:"g",ğ:"g",ġ:"g",ģ:"g",Ĥ:"H",Ħ:"H",ĥ:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Į:"I",İ:"I",ĩ:"i",ī:"i",ĭ:"i",į:"i",ı:"i",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",ĸ:"k",Ĺ:"L",Ļ:"L",Ľ:"L",Ŀ:"L",Ł:"L",ĺ:"l",ļ:"l",ľ:"l",ŀ:"l",ł:"l",Ń:"N",Ņ:"N",Ň:"N",Ŋ:"N",ń:"n",ņ:"n",ň:"n",ŋ:"n",Ō:"O",Ŏ:"O",Ő:"O",ō:"o",ŏ:"o",ő:"o",Ŕ:"R",Ŗ:"R",Ř:"R",ŕ:"r",ŗ:"r",ř:"r",Ś:"S",Ŝ:"S",Ş:"S",Š:"S",ś:"s",ŝ:"s",ş:"s",š:"s",Ţ:"T",Ť:"T",Ŧ:"T",ţ:"t",ť:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Ů:"U",Ű:"U",Ų:"U",ũ:"u",ū:"u",ŭ:"u",ů:"u",ű:"u",ų:"u",Ŵ:"W",ŵ:"w",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Œ:"Oe",œ:"oe",ʼn:"'n",ſ:"s"},Di={"&":"&","<":"<",">":">",'"':""","'":"'"},Sr={"&":"&","<":"<",">":">",""":'"',"'":"'"},Li={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},Qr=parseFloat,Xr=parseInt,Yr=typeof At=="object"&&At&&At.Object===Object&&At,In=typeof self=="object"&&self&&self.Object===Object&&self,Gt=Yr||In||Function("return this")(),Zn=R&&!R.nodeType&&R,gn=Zn&&!0&&V&&!V.nodeType&&V,Er=gn&&gn.exports===Zn,Ar=Er&&Yr.process,e=(function(){try{var _=gn&&gn.require&&gn.require("util").types;return _||Ar&&Ar.binding&&Ar.binding("util")}catch{}})(),n=e&&e.isArrayBuffer,o=e&&e.isDate,a=e&&e.isMap,l=e&&e.isRegExp,c=e&&e.isSet,g=e&&e.isTypedArray;function E(_,F,K){switch(K.length){case 0:return _.call(F);case 1:return _.call(F,K[0]);case 2:return _.call(F,K[0],K[1]);case 3:return _.call(F,K[0],K[1],K[2])}return _.apply(F,K)}function T(_,F,K,Y){for(var fe=-1,ue=_==null?0:_.length;++fe<ue;){var ve=_[fe];F(Y,ve,K(ve),_)}return Y}function q(_,F){for(var K=-1,Y=_==null?0:_.length;++K<Y&&F(_[K],K,_)!==!1;);return _}function X(_,F){for(var K=_==null?0:_.length;K--&&F(_[K],K,_)!==!1;);return _}function Z(_,F){for(var K=-1,Y=_==null?0:_.length;++K<Y;)if(!F(_[K],K,_))return!1;return!0}function U(_,F){for(var K=-1,Y=_==null?0:_.length,fe=0,ue=[];++K<Y;){var ve=_[K];F(ve,K,_)&&(ue[fe++]=ve)}return ue}function re(_,F){var K=_==null?0:_.length;return!!K&&sn(_,F,0)>-1}function Ae(_,F,K){for(var Y=-1,fe=_==null?0:_.length;++Y<fe;)if(K(F,_[Y]))return!0;return!1}function Se(_,F){for(var K=-1,Y=_==null?0:_.length,fe=Array(Y);++K<Y;)fe[K]=F(_[K],K,_);return fe}function Ie(_,F){for(var K=-1,Y=F.length,fe=_.length;++K<Y;)_[fe+K]=F[K];return _}function dt(_,F,K,Y){var fe=-1,ue=_==null?0:_.length;for(Y&&ue&&(K=_[++fe]);++fe<ue;)K=F(K,_[fe],fe,_);return K}function ot(_,F,K,Y){var fe=_==null?0:_.length;for(Y&&fe&&(K=_[--fe]);fe--;)K=F(K,_[fe],fe,_);return K}function Ot(_,F){for(var K=-1,Y=_==null?0:_.length;++K<Y;)if(F(_[K],K,_))return!0;return!1}var Ft=Wt("length");function Me(_){return _.split("")}function vn(_){return _.match(Br)||[]}function He(_,F,K){var Y;return K(_,function(fe,ue,ve){if(F(fe,ue,ve))return Y=ue,!1}),Y}function Je(_,F,K,Y){for(var fe=_.length,ue=K+(Y?1:-1);Y?ue--:++ue<fe;)if(F(_[ue],ue,_))return ue;return-1}function sn(_,F,K){return F===F?d(_,F,K):Je(_,$t,K)}function Ki(_,F,K,Y){for(var fe=K-1,ue=_.length;++fe<ue;)if(Y(_[fe],F))return fe;return-1}function $t(_){return _!==_}function Pn(_,F){var K=_==null?0:_.length;return K?gi(_,F)/K:ye}function Wt(_){return function(F){return F==null?y:F[_]}}function Qt(_){return function(F){return _==null?y:_[F]}}function an(_,F,K,Y,fe){return fe(_,function(ue,ve,me){K=Y?(Y=!1,ue):F(K,ue,ve,me)}),K}function Bt(_,F){var K=_.length;for(_.sort(F);K--;)_[K]=_[K].value;return _}function gi(_,F){for(var K,Y=-1,fe=_.length;++Y<fe;){var ue=F(_[Y]);ue!==y&&(K=K===y?ue:K+ue)}return K}function Xt(_,F){for(var K=-1,Y=Array(_);++K<_;)Y[K]=F(K);return Y}function tn(_,F){return Se(F,function(K){return[K,_[K]]})}function Jr(_){return _&&_.slice(0,M(_)+1).replace($n,"")}function xn(_){return function(F){return _(F)}}function sr(_,F){return Se(F,function(K){return _[K]})}function $e(_,F){return _.has(F)}function Wn(_,F){for(var K=-1,Y=_.length;++K<Y&&sn(F,_[K],0)>-1;);return K}function qt(_,F){for(var K=_.length;K--&&sn(F,_[K],0)>-1;);return K}function En(_,F){for(var K=_.length,Y=0;K--;)_[K]===F&&++Y;return Y}var Zr=Qt(pi),kr=Qt(Di);function Dr(_){return"\\"+Li[_]}function wn(_,F){return _==null?y:_[F]}function Mn(_){return rr.test(_)}function un(_){return uo.test(_)}function ar(_){for(var F,K=[];!(F=_.next()).done;)K.push(F.value);return K}function Tn(_){var F=-1,K=Array(_.size);return _.forEach(function(Y,fe){K[++F]=[fe,Y]}),K}function ei(_,F){return function(K){return _(F(K))}}function yn(_,F){for(var K=-1,Y=_.length,fe=0,ue=[];++K<Y;){var ve=_[K];(ve===F||ve===Ne)&&(_[K]=Ne,ue[fe++]=K)}return ue}function r(_){var F=-1,K=Array(_.size);return _.forEach(function(Y){K[++F]=Y}),K}function u(_){var F=-1,K=Array(_.size);return _.forEach(function(Y){K[++F]=[Y,Y]}),K}function d(_,F,K){for(var Y=K-1,fe=_.length;++Y<fe;)if(_[Y]===F)return Y;return-1}function v(_,F,K){for(var Y=K+1;Y--;)if(_[Y]===F)return Y;return Y}function x(_){return Mn(_)?h(_):Ft(_)}function w(_){return Mn(_)?b(_):Me(_)}function M(_){for(var F=_.length;F--&&pr.test(_.charAt(F)););return F}var J=Qt(Sr);function h(_){for(var F=Jn.lastIndex=0;Jn.test(_);)++F;return F}function b(_){return _.match(Jn)||[]}function C(_){return _.match(Cr)||[]}var O=(function _(F){F=F==null?Gt:L.defaults(Gt.Object(),F,L.pick(Gt,zr));var K=F.Array,Y=F.Date,fe=F.Error,ue=F.Function,ve=F.Math,me=F.Object,ce=F.RegExp,Ve=F.String,Fe=F.TypeError,ze=K.prototype,Pt=ue.prototype,Mt=me.prototype,Ut=F["__core-js_shared__"],gt=Pt.toString,Tt=Mt.hasOwnProperty,eo=0,Lr=(function(){var t=/[^.]+$/.exec(Ut&&Ut.keys&&Ut.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""})(),Un=Mt.toString,jl=gt.call(me),Bl=Gt._,Fl=ce("^"+gt.call(Tt).replace(ln,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Jo=Er?F.Buffer:y,to=F.Symbol,Zo=F.Uint8Array,yu=Jo?Jo.allocUnsafe:y,es=ei(me.getPrototypeOf,me),mu=me.create,bu=Mt.propertyIsEnumerable,ts=ze.splice,xu=to?to.isConcatSpreadable:y,Ro=to?to.iterator:y,fo=to?to.toStringTag:y,ns=(function(){try{var t=go(me,"defineProperty");return t({},"",{}),t}catch{}})(),$l=F.clearTimeout!==Gt.clearTimeout&&F.clearTimeout,Wl=Y&&Y.now!==Gt.Date.now&&Y.now,Ul=F.setTimeout!==Gt.setTimeout&&F.setTimeout,is=ve.ceil,rs=ve.floor,Fs=me.getOwnPropertySymbols,Kl=Jo?Jo.isBuffer:y,wu=F.isFinite,Vl=ze.join,Gl=ei(me.keys,me),_n=ve.max,Hn=ve.min,zl=Y.now,Ql=F.parseInt,Tu=ve.random,Xl=ze.reverse,$s=go(F,"DataView"),qo=go(F,"Map"),Ws=go(F,"Promise"),wo=go(F,"Set"),Po=go(F,"WeakMap"),Mo=go(me,"create"),os=Po&&new Po,To={},Yl=vo($s),Jl=vo(qo),Zl=vo(Ws),ec=vo(wo),tc=vo(Po),ss=to?to.prototype:y,Ho=ss?ss.valueOf:y,_u=ss?ss.toString:y;function B(t){if(fn(t)&&!lt(t)&&!(t instanceof _t)){if(t instanceof Oi)return t;if(Tt.call(t,"__wrapped__"))return Sf(t)}return new Oi(t)}var _o=(function(){function t(){}return function(i){if(!nn(i))return{};if(mu)return mu(i);t.prototype=i;var f=new t;return t.prototype=y,f}})();function as(){}function Oi(t,i){this.__wrapped__=t,this.__actions__=[],this.__chain__=!!i,this.__index__=0,this.__values__=y}B.templateSettings={escape:mt,evaluate:wi,interpolate:ji,variable:"",imports:{_:B}},B.prototype=as.prototype,B.prototype.constructor=B,Oi.prototype=_o(as.prototype),Oi.prototype.constructor=Oi;function _t(t){this.__wrapped__=t,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=_e,this.__views__=[]}function nc(){var t=new _t(this.__wrapped__);return t.__actions__=ti(this.__actions__),t.__dir__=this.__dir__,t.__filtered__=this.__filtered__,t.__iteratees__=ti(this.__iteratees__),t.__takeCount__=this.__takeCount__,t.__views__=ti(this.__views__),t}function ic(){if(this.__filtered__){var t=new _t(this);t.__dir__=-1,t.__filtered__=!0}else t=this.clone(),t.__dir__*=-1;return t}function rc(){var t=this.__wrapped__.value(),i=this.__dir__,f=lt(t),m=i<0,I=f?t.length:0,W=vd(0,I,this.__views__),ee=W.start,ne=W.end,ae=ne-ee,we=m?ne:ee-1,Te=this.__iteratees__,Ee=Te.length,Be=0,Ge=Hn(ae,this.__takeCount__);if(!f||!m&&I==ae&&Ge==ae)return Gu(t,this.__actions__);var it=[];e:for(;ae--&&Be<Ge;){we+=i;for(var vt=-1,Ze=t[we];++vt<Ee;){var xt=Te[vt],Et=xt.iteratee,mi=xt.type,Gn=Et(Ze);if(mi==kn)Ze=Gn;else if(!Gn){if(mi==pt)continue e;break e}}it[Be++]=Ze}return it}_t.prototype=_o(as.prototype),_t.prototype.constructor=_t;function lo(t){var i=-1,f=t==null?0:t.length;for(this.clear();++i<f;){var m=t[i];this.set(m[0],m[1])}}function oc(){this.__data__=Mo?Mo(null):{},this.size=0}function sc(t){var i=this.has(t)&&delete this.__data__[t];return this.size-=i?1:0,i}function ac(t){var i=this.__data__;if(Mo){var f=i[t];return f===Le?y:f}return Tt.call(i,t)?i[t]:y}function uc(t){var i=this.__data__;return Mo?i[t]!==y:Tt.call(i,t)}function fc(t,i){var f=this.__data__;return this.size+=this.has(t)?0:1,f[t]=Mo&&i===y?Le:i,this}lo.prototype.clear=oc,lo.prototype.delete=sc,lo.prototype.get=ac,lo.prototype.has=uc,lo.prototype.set=fc;function Or(t){var i=-1,f=t==null?0:t.length;for(this.clear();++i<f;){var m=t[i];this.set(m[0],m[1])}}function lc(){this.__data__=[],this.size=0}function cc(t){var i=this.__data__,f=us(i,t);if(f<0)return!1;var m=i.length-1;return f==m?i.pop():ts.call(i,f,1),--this.size,!0}function dc(t){var i=this.__data__,f=us(i,t);return f<0?y:i[f][1]}function hc(t){return us(this.__data__,t)>-1}function pc(t,i){var f=this.__data__,m=us(f,t);return m<0?(++this.size,f.push([t,i])):f[m][1]=i,this}Or.prototype.clear=lc,Or.prototype.delete=cc,Or.prototype.get=dc,Or.prototype.has=hc,Or.prototype.set=pc;function Ir(t){var i=-1,f=t==null?0:t.length;for(this.clear();++i<f;){var m=t[i];this.set(m[0],m[1])}}function gc(){this.size=0,this.__data__={hash:new lo,map:new(qo||Or),string:new lo}}function vc(t){var i=xs(this,t).delete(t);return this.size-=i?1:0,i}function yc(t){return xs(this,t).get(t)}function mc(t){return xs(this,t).has(t)}function bc(t,i){var f=xs(this,t),m=f.size;return f.set(t,i),this.size+=f.size==m?0:1,this}Ir.prototype.clear=gc,Ir.prototype.delete=vc,Ir.prototype.get=yc,Ir.prototype.has=mc,Ir.prototype.set=bc;function co(t){var i=-1,f=t==null?0:t.length;for(this.__data__=new Ir;++i<f;)this.add(t[i])}function xc(t){return this.__data__.set(t,Le),this}function wc(t){return this.__data__.has(t)}co.prototype.add=co.prototype.push=xc,co.prototype.has=wc;function Vi(t){var i=this.__data__=new Or(t);this.size=i.size}function Tc(){this.__data__=new Or,this.size=0}function _c(t){var i=this.__data__,f=i.delete(t);return this.size=i.size,f}function Cc(t){return this.__data__.get(t)}function Sc(t){return this.__data__.has(t)}function Ec(t,i){var f=this.__data__;if(f instanceof Or){var m=f.__data__;if(!qo||m.length<oe-1)return m.push([t,i]),this.size=++f.size,this;f=this.__data__=new Ir(m)}return f.set(t,i),this.size=f.size,this}Vi.prototype.clear=Tc,Vi.prototype.delete=_c,Vi.prototype.get=Cc,Vi.prototype.has=Sc,Vi.prototype.set=Ec;function Cu(t,i){var f=lt(t),m=!f&&yo(t),I=!f&&!m&&so(t),W=!f&&!m&&!I&&Ao(t),ee=f||m||I||W,ne=ee?Xt(t.length,Ve):[],ae=ne.length;for(var we in t)(i||Tt.call(t,we))&&!(ee&&(we=="length"||I&&(we=="offset"||we=="parent")||W&&(we=="buffer"||we=="byteLength"||we=="byteOffset")||qr(we,ae)))&&ne.push(we);return ne}function Su(t){var i=t.length;return i?t[ea(0,i-1)]:y}function Ac(t,i){return ws(ti(t),ho(i,0,t.length))}function kc(t){return ws(ti(t))}function Us(t,i,f){(f!==y&&!zi(t[i],f)||f===y&&!(i in t))&&ur(t,i,f)}function jo(t,i,f){var m=t[i];(!(Tt.call(t,i)&&zi(m,f))||f===y&&!(i in t))&&ur(t,i,f)}function us(t,i){for(var f=t.length;f--;)if(zi(t[f][0],i))return f;return-1}function Dc(t,i,f,m){return no(t,function(I,W,ee){i(m,I,f(I),ee)}),m}function Eu(t,i){return t&&lr(i,An(i),t)}function Lc(t,i){return t&&lr(i,ii(i),t)}function ur(t,i,f){i=="__proto__"&&ns?ns(t,i,{configurable:!0,enumerable:!0,value:f,writable:!0}):t[i]=f}function Ks(t,i){for(var f=-1,m=i.length,I=K(m),W=t==null;++f<m;)I[f]=W?y:Ea(t,i[f]);return I}function ho(t,i,f){return t===t&&(f!==y&&(t=t<=f?t:f),i!==y&&(t=t>=i?t:i)),t}function Ii(t,i,f,m,I,W){var ee,ne=i&De,ae=i&$,we=i&H;if(f&&(ee=I?f(t,m,I,W):f(t)),ee!==y)return ee;if(!nn(t))return t;var Te=lt(t);if(Te){if(ee=md(t),!ne)return ti(t,ee)}else{var Ee=jn(t),Be=Ee==st||Ee==Qe;if(so(t))return Xu(t,ne);if(Ee==Ct||Ee==Ce||Be&&!I){if(ee=ae||Be?{}:vf(t),!ne)return ae?ad(t,Lc(ee,t)):sd(t,Eu(ee,t))}else{if(!Dt[Ee])return I?t:{};ee=bd(t,Ee,ne)}}W||(W=new Vi);var Ge=W.get(t);if(Ge)return Ge;W.set(t,ee),Kf(t)?t.forEach(function(Ze){ee.add(Ii(Ze,i,f,Ze,t,W))}):Wf(t)&&t.forEach(function(Ze,xt){ee.set(xt,Ii(Ze,i,f,xt,t,W))});var it=we?ae?ca:la:ae?ii:An,vt=Te?y:it(t);return q(vt||t,function(Ze,xt){vt&&(xt=Ze,Ze=t[xt]),jo(ee,xt,Ii(Ze,i,f,xt,t,W))}),ee}function Oc(t){var i=An(t);return function(f){return Au(f,t,i)}}function Au(t,i,f){var m=f.length;if(t==null)return!m;for(t=me(t);m--;){var I=f[m],W=i[I],ee=t[I];if(ee===y&&!(I in t)||!W(ee))return!1}return!0}function ku(t,i,f){if(typeof t!="function")throw new Fe(be);return Vo(function(){t.apply(y,f)},i)}function Bo(t,i,f,m){var I=-1,W=re,ee=!0,ne=t.length,ae=[],we=i.length;if(!ne)return ae;f&&(i=Se(i,xn(f))),m?(W=Ae,ee=!1):i.length>=oe&&(W=$e,ee=!1,i=new co(i));e:for(;++I<ne;){var Te=t[I],Ee=f==null?Te:f(Te);if(Te=m||Te!==0?Te:0,ee&&Ee===Ee){for(var Be=we;Be--;)if(i[Be]===Ee)continue e;ae.push(Te)}else W(i,Ee,m)||ae.push(Te)}return ae}var no=tf(fr),Du=tf(Gs,!0);function Ic(t,i){var f=!0;return no(t,function(m,I,W){return f=!!i(m,I,W),f}),f}function fs(t,i,f){for(var m=-1,I=t.length;++m<I;){var W=t[m],ee=i(W);if(ee!=null&&(ne===y?ee===ee&&!yi(ee):f(ee,ne)))var ne=ee,ae=W}return ae}function Nc(t,i,f,m){var I=t.length;for(f=ht(f),f<0&&(f=-f>I?0:I+f),m=m===y||m>I?I:ht(m),m<0&&(m+=I),m=f>m?0:Gf(m);f<m;)t[f++]=i;return t}function Lu(t,i){var f=[];return no(t,function(m,I,W){i(m,I,W)&&f.push(m)}),f}function Nn(t,i,f,m,I){var W=-1,ee=t.length;for(f||(f=wd),I||(I=[]);++W<ee;){var ne=t[W];i>0&&f(ne)?i>1?Nn(ne,i-1,f,m,I):Ie(I,ne):m||(I[I.length]=ne)}return I}var Vs=nf(),Ou=nf(!0);function fr(t,i){return t&&Vs(t,i,An)}function Gs(t,i){return t&&Ou(t,i,An)}function ls(t,i){return U(i,function(f){return Pr(t[f])})}function po(t,i){i=ro(i,t);for(var f=0,m=i.length;t!=null&&f<m;)t=t[Gi(i[f++])];return f&&f==m?t:y}function Iu(t,i,f){var m=i(t);return lt(t)?m:Ie(m,f(t))}function Kn(t){return t==null?t===y?ge:It:fo&&fo in me(t)?gd(t):kd(t)}function zs(t,i){return t>i}function Rc(t,i){return t!=null&&Tt.call(t,i)}function qc(t,i){return t!=null&&i in me(t)}function Pc(t,i,f){return t>=Hn(i,f)&&t<_n(i,f)}function Qs(t,i,f){for(var m=f?Ae:re,I=t[0].length,W=t.length,ee=W,ne=K(W),ae=1/0,we=[];ee--;){var Te=t[ee];ee&&i&&(Te=Se(Te,xn(i))),ae=Hn(Te.length,ae),ne[ee]=!f&&(i||I>=120&&Te.length>=120)?new co(ee&&Te):y}Te=t[0];var Ee=-1,Be=ne[0];e:for(;++Ee<I&&we.length<ae;){var Ge=Te[Ee],it=i?i(Ge):Ge;if(Ge=f||Ge!==0?Ge:0,!(Be?$e(Be,it):m(we,it,f))){for(ee=W;--ee;){var vt=ne[ee];if(!(vt?$e(vt,it):m(t[ee],it,f)))continue e}Be&&Be.push(it),we.push(Ge)}}return we}function Mc(t,i,f,m){return fr(t,function(I,W,ee){i(m,f(I),W,ee)}),m}function Fo(t,i,f){i=ro(i,t),t=xf(t,i);var m=t==null?t:t[Gi(Ri(i))];return m==null?y:E(m,t,f)}function Nu(t){return fn(t)&&Kn(t)==Ce}function Hc(t){return fn(t)&&Kn(t)==Mi}function jc(t){return fn(t)&&Kn(t)==We}function $o(t,i,f,m,I){return t===i?!0:t==null||i==null||!fn(t)&&!fn(i)?t!==t&&i!==i:Bc(t,i,f,m,$o,I)}function Bc(t,i,f,m,I,W){var ee=lt(t),ne=lt(i),ae=ee?qe:jn(t),we=ne?qe:jn(i);ae=ae==Ce?Ct:ae,we=we==Ce?Ct:we;var Te=ae==Ct,Ee=we==Ct,Be=ae==we;if(Be&&so(t)){if(!so(i))return!1;ee=!0,Te=!1}if(Be&&!Te)return W||(W=new Vi),ee||Ao(t)?hf(t,i,f,m,I,W):hd(t,i,ae,f,m,I,W);if(!(f&k)){var Ge=Te&&Tt.call(t,"__wrapped__"),it=Ee&&Tt.call(i,"__wrapped__");if(Ge||it){var vt=Ge?t.value():t,Ze=it?i.value():i;return W||(W=new Vi),I(vt,Ze,f,m,W)}}return Be?(W||(W=new Vi),pd(t,i,f,m,I,W)):!1}function Fc(t){return fn(t)&&jn(t)==Xe}function Xs(t,i,f,m){var I=f.length,W=I,ee=!m;if(t==null)return!W;for(t=me(t);I--;){var ne=f[I];if(ee&&ne[2]?ne[1]!==t[ne[0]]:!(ne[0]in t))return!1}for(;++I<W;){ne=f[I];var ae=ne[0],we=t[ae],Te=ne[1];if(ee&&ne[2]){if(we===y&&!(ae in t))return!1}else{var Ee=new Vi;if(m)var Be=m(we,Te,ae,t,i,Ee);if(!(Be===y?$o(Te,we,k|j,m,Ee):Be))return!1}}return!0}function Ru(t){if(!nn(t)||_d(t))return!1;var i=Pr(t)?Fl:$i;return i.test(vo(t))}function $c(t){return fn(t)&&Kn(t)==si}function Wc(t){return fn(t)&&jn(t)==ft}function Uc(t){return fn(t)&&As(t.length)&&!!wt[Kn(t)]}function qu(t){return typeof t=="function"?t:t==null?ri:typeof t=="object"?lt(t)?Hu(t[0],t[1]):Mu(t):ol(t)}function Ys(t){if(!Ko(t))return Gl(t);var i=[];for(var f in me(t))Tt.call(t,f)&&f!="constructor"&&i.push(f);return i}function Kc(t){if(!nn(t))return Ad(t);var i=Ko(t),f=[];for(var m in t)m=="constructor"&&(i||!Tt.call(t,m))||f.push(m);return f}function Js(t,i){return t<i}function Pu(t,i){var f=-1,m=ni(t)?K(t.length):[];return no(t,function(I,W,ee){m[++f]=i(I,W,ee)}),m}function Mu(t){var i=ha(t);return i.length==1&&i[0][2]?mf(i[0][0],i[0][1]):function(f){return f===t||Xs(f,t,i)}}function Hu(t,i){return ga(t)&&yf(i)?mf(Gi(t),i):function(f){var m=Ea(f,t);return m===y&&m===i?Aa(f,t):$o(i,m,k|j)}}function cs(t,i,f,m,I){t!==i&&Vs(i,function(W,ee){if(I||(I=new Vi),nn(W))Vc(t,i,ee,f,cs,m,I);else{var ne=m?m(ya(t,ee),W,ee+"",t,i,I):y;ne===y&&(ne=W),Us(t,ee,ne)}},ii)}function Vc(t,i,f,m,I,W,ee){var ne=ya(t,f),ae=ya(i,f),we=ee.get(ae);if(we){Us(t,f,we);return}var Te=W?W(ne,ae,f+"",t,i,ee):y,Ee=Te===y;if(Ee){var Be=lt(ae),Ge=!Be&&so(ae),it=!Be&&!Ge&&Ao(ae);Te=ae,Be||Ge||it?lt(ne)?Te=ne:dn(ne)?Te=ti(ne):Ge?(Ee=!1,Te=Xu(ae,!0)):it?(Ee=!1,Te=Yu(ae,!0)):Te=[]:Go(ae)||yo(ae)?(Te=ne,yo(ne)?Te=zf(ne):(!nn(ne)||Pr(ne))&&(Te=vf(ae))):Ee=!1}Ee&&(ee.set(ae,Te),I(Te,ae,m,W,ee),ee.delete(ae)),Us(t,f,Te)}function ju(t,i){var f=t.length;if(f)return i+=i<0?f:0,qr(i,f)?t[i]:y}function Bu(t,i,f){i.length?i=Se(i,function(W){return lt(W)?function(ee){return po(ee,W.length===1?W[0]:W)}:W}):i=[ri];var m=-1;i=Se(i,xn(nt()));var I=Pu(t,function(W,ee,ne){var ae=Se(i,function(we){return we(W)});return{criteria:ae,index:++m,value:W}});return Bt(I,function(W,ee){return od(W,ee,f)})}function Gc(t,i){return Fu(t,i,function(f,m){return Aa(t,m)})}function Fu(t,i,f){for(var m=-1,I=i.length,W={};++m<I;){var ee=i[m],ne=po(t,ee);f(ne,ee)&&Wo(W,ro(ee,t),ne)}return W}function zc(t){return function(i){return po(i,t)}}function Zs(t,i,f,m){var I=m?Ki:sn,W=-1,ee=i.length,ne=t;for(t===i&&(i=ti(i)),f&&(ne=Se(t,xn(f)));++W<ee;)for(var ae=0,we=i[W],Te=f?f(we):we;(ae=I(ne,Te,ae,m))>-1;)ne!==t&&ts.call(ne,ae,1),ts.call(t,ae,1);return t}function $u(t,i){for(var f=t?i.length:0,m=f-1;f--;){var I=i[f];if(f==m||I!==W){var W=I;qr(I)?ts.call(t,I,1):ia(t,I)}}return t}function ea(t,i){return t+rs(Tu()*(i-t+1))}function Qc(t,i,f,m){for(var I=-1,W=_n(is((i-t)/(f||1)),0),ee=K(W);W--;)ee[m?W:++I]=t,t+=f;return ee}function ta(t,i){var f="";if(!t||i<1||i>Q)return f;do i%2&&(f+=t),i=rs(i/2),i&&(t+=t);while(i);return f}function yt(t,i){return ma(bf(t,i,ri),t+"")}function Xc(t){return Su(ko(t))}function Yc(t,i){var f=ko(t);return ws(f,ho(i,0,f.length))}function Wo(t,i,f,m){if(!nn(t))return t;i=ro(i,t);for(var I=-1,W=i.length,ee=W-1,ne=t;ne!=null&&++I<W;){var ae=Gi(i[I]),we=f;if(ae==="__proto__"||ae==="constructor"||ae==="prototype")return t;if(I!=ee){var Te=ne[ae];we=m?m(Te,ae,ne):y,we===y&&(we=nn(Te)?Te:qr(i[I+1])?[]:{})}jo(ne,ae,we),ne=ne[ae]}return t}var Wu=os?function(t,i){return os.set(t,i),t}:ri,Jc=ns?function(t,i){return ns(t,"toString",{configurable:!0,enumerable:!1,value:Da(i),writable:!0})}:ri;function Zc(t){return ws(ko(t))}function Ni(t,i,f){var m=-1,I=t.length;i<0&&(i=-i>I?0:I+i),f=f>I?I:f,f<0&&(f+=I),I=i>f?0:f-i>>>0,i>>>=0;for(var W=K(I);++m<I;)W[m]=t[m+i];return W}function ed(t,i){var f;return no(t,function(m,I,W){return f=i(m,I,W),!f}),!!f}function ds(t,i,f){var m=0,I=t==null?m:t.length;if(typeof i=="number"&&i===i&&I<=de){for(;m<I;){var W=m+I>>>1,ee=t[W];ee!==null&&!yi(ee)&&(f?ee<=i:ee<i)?m=W+1:I=W}return I}return na(t,i,ri,f)}function na(t,i,f,m){var I=0,W=t==null?0:t.length;if(W===0)return 0;i=f(i);for(var ee=i!==i,ne=i===null,ae=yi(i),we=i===y;I<W;){var Te=rs((I+W)/2),Ee=f(t[Te]),Be=Ee!==y,Ge=Ee===null,it=Ee===Ee,vt=yi(Ee);if(ee)var Ze=m||it;else we?Ze=it&&(m||Be):ne?Ze=it&&Be&&(m||!Ge):ae?Ze=it&&Be&&!Ge&&(m||!vt):Ge||vt?Ze=!1:Ze=m?Ee<=i:Ee<i;Ze?I=Te+1:W=Te}return Hn(W,xe)}function Uu(t,i){for(var f=-1,m=t.length,I=0,W=[];++f<m;){var ee=t[f],ne=i?i(ee):ee;if(!f||!zi(ne,ae)){var ae=ne;W[I++]=ee===0?0:ee}}return W}function Ku(t){return typeof t=="number"?t:yi(t)?ye:+t}function vi(t){if(typeof t=="string")return t;if(lt(t))return Se(t,vi)+"";if(yi(t))return _u?_u.call(t):"";var i=t+"";return i=="0"&&1/t==-G?"-0":i}function io(t,i,f){var m=-1,I=re,W=t.length,ee=!0,ne=[],ae=ne;if(f)ee=!1,I=Ae;else if(W>=oe){var we=i?null:cd(t);if(we)return r(we);ee=!1,I=$e,ae=new co}else ae=i?[]:ne;e:for(;++m<W;){var Te=t[m],Ee=i?i(Te):Te;if(Te=f||Te!==0?Te:0,ee&&Ee===Ee){for(var Be=ae.length;Be--;)if(ae[Be]===Ee)continue e;i&&ae.push(Ee),ne.push(Te)}else I(ae,Ee,f)||(ae!==ne&&ae.push(Ee),ne.push(Te))}return ne}function ia(t,i){i=ro(i,t);var f=-1,m=i.length;if(!m)return!0;for(;++f<m;){var I=Gi(i[f]);if(I==="__proto__"&&!Tt.call(t,"__proto__")||(I==="constructor"||I==="prototype")&&f<m-1)return!1}var W=xf(t,i);return W==null||delete W[Gi(Ri(i))]}function Vu(t,i,f,m){return Wo(t,i,f(po(t,i)),m)}function hs(t,i,f,m){for(var I=t.length,W=m?I:-1;(m?W--:++W<I)&&i(t[W],W,t););return f?Ni(t,m?0:W,m?W+1:I):Ni(t,m?W+1:0,m?I:W)}function Gu(t,i){var f=t;return f instanceof _t&&(f=f.value()),dt(i,function(m,I){return I.func.apply(I.thisArg,Ie([m],I.args))},f)}function ra(t,i,f){var m=t.length;if(m<2)return m?io(t[0]):[];for(var I=-1,W=K(m);++I<m;)for(var ee=t[I],ne=-1;++ne<m;)ne!=I&&(W[I]=Bo(W[I]||ee,t[ne],i,f));return io(Nn(W,1),i,f)}function zu(t,i,f){for(var m=-1,I=t.length,W=i.length,ee={};++m<I;){var ne=m<W?i[m]:y;f(ee,t[m],ne)}return ee}function oa(t){return dn(t)?t:[]}function sa(t){return typeof t=="function"?t:ri}function ro(t,i){return lt(t)?t:ga(t,i)?[t]:Cf(Ht(t))}var td=yt;function oo(t,i,f){var m=t.length;return f=f===y?m:f,!i&&f>=m?t:Ni(t,i,f)}var Qu=$l||function(t){return Gt.clearTimeout(t)};function Xu(t,i){if(i)return t.slice();var f=t.length,m=yu?yu(f):new t.constructor(f);return t.copy(m),m}function aa(t){var i=new t.constructor(t.byteLength);return new Zo(i).set(new Zo(t)),i}function nd(t,i){var f=i?aa(t.buffer):t.buffer;return new t.constructor(f,t.byteOffset,t.byteLength)}function id(t){var i=new t.constructor(t.source,cn.exec(t));return i.lastIndex=t.lastIndex,i}function rd(t){return Ho?me(Ho.call(t)):{}}function Yu(t,i){var f=i?aa(t.buffer):t.buffer;return new t.constructor(f,t.byteOffset,t.length)}function Ju(t,i){if(t!==i){var f=t!==y,m=t===null,I=t===t,W=yi(t),ee=i!==y,ne=i===null,ae=i===i,we=yi(i);if(!ne&&!we&&!W&&t>i||W&&ee&&ae&&!ne&&!we||m&&ee&&ae||!f&&ae||!I)return 1;if(!m&&!W&&!we&&t<i||we&&f&&I&&!m&&!W||ne&&f&&I||!ee&&I||!ae)return-1}return 0}function od(t,i,f){for(var m=-1,I=t.criteria,W=i.criteria,ee=I.length,ne=f.length;++m<ee;){var ae=Ju(I[m],W[m]);if(ae){if(m>=ne)return ae;var we=f[m];return ae*(we=="desc"?-1:1)}}return t.index-i.index}function Zu(t,i,f,m){for(var I=-1,W=t.length,ee=f.length,ne=-1,ae=i.length,we=_n(W-ee,0),Te=K(ae+we),Ee=!m;++ne<ae;)Te[ne]=i[ne];for(;++I<ee;)(Ee||I<W)&&(Te[f[I]]=t[I]);for(;we--;)Te[ne++]=t[I++];return Te}function ef(t,i,f,m){for(var I=-1,W=t.length,ee=-1,ne=f.length,ae=-1,we=i.length,Te=_n(W-ne,0),Ee=K(Te+we),Be=!m;++I<Te;)Ee[I]=t[I];for(var Ge=I;++ae<we;)Ee[Ge+ae]=i[ae];for(;++ee<ne;)(Be||I<W)&&(Ee[Ge+f[ee]]=t[I++]);return Ee}function ti(t,i){var f=-1,m=t.length;for(i||(i=K(m));++f<m;)i[f]=t[f];return i}function lr(t,i,f,m){var I=!f;f||(f={});for(var W=-1,ee=i.length;++W<ee;){var ne=i[W],ae=m?m(f[ne],t[ne],ne,f,t):y;ae===y&&(ae=t[ne]),I?ur(f,ne,ae):jo(f,ne,ae)}return f}function sd(t,i){return lr(t,pa(t),i)}function ad(t,i){return lr(t,pf(t),i)}function ps(t,i){return function(f,m){var I=lt(f)?T:Dc,W=i?i():{};return I(f,t,nt(m,2),W)}}function Co(t){return yt(function(i,f){var m=-1,I=f.length,W=I>1?f[I-1]:y,ee=I>2?f[2]:y;for(W=t.length>3&&typeof W=="function"?(I--,W):y,ee&&Vn(f[0],f[1],ee)&&(W=I<3?y:W,I=1),i=me(i);++m<I;){var ne=f[m];ne&&t(i,ne,m,W)}return i})}function tf(t,i){return function(f,m){if(f==null)return f;if(!ni(f))return t(f,m);for(var I=f.length,W=i?I:-1,ee=me(f);(i?W--:++W<I)&&m(ee[W],W,ee)!==!1;);return f}}function nf(t){return function(i,f,m){for(var I=-1,W=me(i),ee=m(i),ne=ee.length;ne--;){var ae=ee[t?ne:++I];if(f(W[ae],ae,W)===!1)break}return i}}function ud(t,i,f){var m=i&S,I=Uo(t);function W(){var ee=this&&this!==Gt&&this instanceof W?I:t;return ee.apply(m?f:this,arguments)}return W}function rf(t){return function(i){i=Ht(i);var f=Mn(i)?w(i):y,m=f?f[0]:i.charAt(0),I=f?oo(f,1).join(""):i.slice(1);return m[t]()+I}}function So(t){return function(i){return dt(il(nl(i).replace(Gr,"")),t,"")}}function Uo(t){return function(){var i=arguments;switch(i.length){case 0:return new t;case 1:return new t(i[0]);case 2:return new t(i[0],i[1]);case 3:return new t(i[0],i[1],i[2]);case 4:return new t(i[0],i[1],i[2],i[3]);case 5:return new t(i[0],i[1],i[2],i[3],i[4]);case 6:return new t(i[0],i[1],i[2],i[3],i[4],i[5]);case 7:return new t(i[0],i[1],i[2],i[3],i[4],i[5],i[6])}var f=_o(t.prototype),m=t.apply(f,i);return nn(m)?m:f}}function fd(t,i,f){var m=Uo(t);function I(){for(var W=arguments.length,ee=K(W),ne=W,ae=Eo(I);ne--;)ee[ne]=arguments[ne];var we=W<3&&ee[0]!==ae&&ee[W-1]!==ae?[]:yn(ee,ae);if(W-=we.length,W<f)return ff(t,i,gs,I.placeholder,y,ee,we,y,y,f-W);var Te=this&&this!==Gt&&this instanceof I?m:t;return E(Te,this,ee)}return I}function of(t){return function(i,f,m){var I=me(i);if(!ni(i)){var W=nt(f,3);i=An(i),f=function(ne){return W(I[ne],ne,I)}}var ee=t(i,f,m);return ee>-1?I[W?i[ee]:ee]:y}}function sf(t){return Rr(function(i){var f=i.length,m=f,I=Oi.prototype.thru;for(t&&i.reverse();m--;){var W=i[m];if(typeof W!="function")throw new Fe(be);if(I&&!ee&&bs(W)=="wrapper")var ee=new Oi([],!0)}for(m=ee?m:f;++m<f;){W=i[m];var ne=bs(W),ae=ne=="wrapper"?da(W):y;ae&&va(ae[0])&&ae[1]==(se|P|p|ie)&&!ae[4].length&&ae[9]==1?ee=ee[bs(ae[0])].apply(ee,ae[3]):ee=W.length==1&&va(W)?ee[ne]():ee.thru(W)}return function(){var we=arguments,Te=we[0];if(ee&&we.length==1&<(Te))return ee.plant(Te).value();for(var Ee=0,Be=f?i[Ee].apply(this,we):Te;++Ee<f;)Be=i[Ee].call(this,Be);return Be}})}function gs(t,i,f,m,I,W,ee,ne,ae,we){var Te=i&se,Ee=i&S,Be=i&N,Ge=i&(P|z),it=i&he,vt=Be?y:Uo(t);function Ze(){for(var xt=arguments.length,Et=K(xt),mi=xt;mi--;)Et[mi]=arguments[mi];if(Ge)var Gn=Eo(Ze),bi=En(Et,Gn);if(m&&(Et=Zu(Et,m,I,Ge)),W&&(Et=ef(Et,W,ee,Ge)),xt-=bi,Ge&&xt<we){var hn=yn(Et,Gn);return ff(t,i,gs,Ze.placeholder,f,Et,hn,ne,ae,we-xt)}var Qi=Ee?f:this,Hr=Be?Qi[t]:t;return xt=Et.length,ne?Et=Dd(Et,ne):it&&xt>1&&Et.reverse(),Te&&ae<xt&&(Et.length=ae),this&&this!==Gt&&this instanceof Ze&&(Hr=vt||Uo(Hr)),Hr.apply(Qi,Et)}return Ze}function af(t,i){return function(f,m){return Mc(f,t,i(m),{})}}function vs(t,i){return function(f,m){var I;if(f===y&&m===y)return i;if(f!==y&&(I=f),m!==y){if(I===y)return m;typeof f=="string"||typeof m=="string"?(f=vi(f),m=vi(m)):(f=Ku(f),m=Ku(m)),I=t(f,m)}return I}}function ua(t){return Rr(function(i){return i=Se(i,xn(nt())),yt(function(f){var m=this;return t(i,function(I){return E(I,m,f)})})})}function ys(t,i){i=i===y?" ":vi(i);var f=i.length;if(f<2)return f?ta(i,t):i;var m=ta(i,is(t/x(i)));return Mn(i)?oo(w(m),0,t).join(""):m.slice(0,t)}function ld(t,i,f,m){var I=i&S,W=Uo(t);function ee(){for(var ne=-1,ae=arguments.length,we=-1,Te=m.length,Ee=K(Te+ae),Be=this&&this!==Gt&&this instanceof ee?W:t;++we<Te;)Ee[we]=m[we];for(;ae--;)Ee[we++]=arguments[++ne];return E(Be,I?f:this,Ee)}return ee}function uf(t){return function(i,f,m){return m&&typeof m!="number"&&Vn(i,f,m)&&(f=m=y),i=Mr(i),f===y?(f=i,i=0):f=Mr(f),m=m===y?i<f?1:-1:Mr(m),Qc(i,f,m,t)}}function ms(t){return function(i,f){return typeof i=="string"&&typeof f=="string"||(i=qi(i),f=qi(f)),t(i,f)}}function ff(t,i,f,m,I,W,ee,ne,ae,we){var Te=i&P,Ee=Te?ee:y,Be=Te?y:ee,Ge=Te?W:y,it=Te?y:W;i|=Te?p:s,i&=~(Te?s:p),i&A||(i&=-4);var vt=[t,i,I,Ge,Ee,it,Be,ne,ae,we],Ze=f.apply(y,vt);return va(t)&&wf(Ze,vt),Ze.placeholder=m,Tf(Ze,t,i)}function fa(t){var i=ve[t];return function(f,m){if(f=qi(f),m=m==null?0:Hn(ht(m),292),m&&wu(f)){var I=(Ht(f)+"e").split("e"),W=i(I[0]+"e"+(+I[1]+m));return I=(Ht(W)+"e").split("e"),+(I[0]+"e"+(+I[1]-m))}return i(f)}}var cd=wo&&1/r(new wo([,-0]))[1]==G?function(t){return new wo(t)}:Ia;function lf(t){return function(i){var f=jn(i);return f==Xe?Tn(i):f==ft?u(i):tn(i,t(i))}}function Nr(t,i,f,m,I,W,ee,ne){var ae=i&N;if(!ae&&typeof t!="function")throw new Fe(be);var we=m?m.length:0;if(we||(i&=-97,m=I=y),ee=ee===y?ee:_n(ht(ee),0),ne=ne===y?ne:ht(ne),we-=I?I.length:0,i&s){var Te=m,Ee=I;m=I=y}var Be=ae?y:da(t),Ge=[t,i,f,m,I,Te,Ee,W,ee,ne];if(Be&&Ed(Ge,Be),t=Ge[0],i=Ge[1],f=Ge[2],m=Ge[3],I=Ge[4],ne=Ge[9]=Ge[9]===y?ae?0:t.length:_n(Ge[9]-we,0),!ne&&i&(P|z)&&(i&=-25),!i||i==S)var it=ud(t,i,f);else i==P||i==z?it=fd(t,i,ne):(i==p||i==(S|p))&&!I.length?it=ld(t,i,f,m):it=gs.apply(y,Ge);var vt=Be?Wu:wf;return Tf(vt(it,Ge),t,i)}function cf(t,i,f,m){return t===y||zi(t,Mt[f])&&!Tt.call(m,f)?i:t}function df(t,i,f,m,I,W){return nn(t)&&nn(i)&&(W.set(i,t),cs(t,i,y,df,W),W.delete(i)),t}function dd(t){return Go(t)?y:t}function hf(t,i,f,m,I,W){var ee=f&k,ne=t.length,ae=i.length;if(ne!=ae&&!(ee&&ae>ne))return!1;var we=W.get(t),Te=W.get(i);if(we&&Te)return we==i&&Te==t;var Ee=-1,Be=!0,Ge=f&j?new co:y;for(W.set(t,i),W.set(i,t);++Ee<ne;){var it=t[Ee],vt=i[Ee];if(m)var Ze=ee?m(vt,it,Ee,i,t,W):m(it,vt,Ee,t,i,W);if(Ze!==y){if(Ze)continue;Be=!1;break}if(Ge){if(!Ot(i,function(xt,Et){if(!$e(Ge,Et)&&(it===xt||I(it,xt,f,m,W)))return Ge.push(Et)})){Be=!1;break}}else if(!(it===vt||I(it,vt,f,m,W))){Be=!1;break}}return W.delete(t),W.delete(i),Be}function hd(t,i,f,m,I,W,ee){switch(f){case ai:if(t.byteLength!=i.byteLength||t.byteOffset!=i.byteOffset)return!1;t=t.buffer,i=i.buffer;case Mi:return!(t.byteLength!=i.byteLength||!W(new Zo(t),new Zo(i)));case tt:case We:case at:return zi(+t,+i);case ct:return t.name==i.name&&t.message==i.message;case si:case Kt:return t==i+"";case Xe:var ne=Tn;case ft:var ae=m&k;if(ne||(ne=r),t.size!=i.size&&!ae)return!1;var we=ee.get(t);if(we)return we==i;m|=j,ee.set(t,i);var Te=hf(ne(t),ne(i),m,I,W,ee);return ee.delete(t),Te;case bt:if(Ho)return Ho.call(t)==Ho.call(i)}return!1}function pd(t,i,f,m,I,W){var ee=f&k,ne=la(t),ae=ne.length,we=la(i),Te=we.length;if(ae!=Te&&!ee)return!1;for(var Ee=ae;Ee--;){var Be=ne[Ee];if(!(ee?Be in i:Tt.call(i,Be)))return!1}var Ge=W.get(t),it=W.get(i);if(Ge&&it)return Ge==i&&it==t;var vt=!0;W.set(t,i),W.set(i,t);for(var Ze=ee;++Ee<ae;){Be=ne[Ee];var xt=t[Be],Et=i[Be];if(m)var mi=ee?m(Et,xt,Be,i,t,W):m(xt,Et,Be,t,i,W);if(!(mi===y?xt===Et||I(xt,Et,f,m,W):mi)){vt=!1;break}Ze||(Ze=Be=="constructor")}if(vt&&!Ze){var Gn=t.constructor,bi=i.constructor;Gn!=bi&&"constructor"in t&&"constructor"in i&&!(typeof Gn=="function"&&Gn instanceof Gn&&typeof bi=="function"&&bi instanceof bi)&&(vt=!1)}return W.delete(t),W.delete(i),vt}function Rr(t){return ma(bf(t,y,kf),t+"")}function la(t){return Iu(t,An,pa)}function ca(t){return Iu(t,ii,pf)}var da=os?function(t){return os.get(t)}:Ia;function bs(t){for(var i=t.name+"",f=To[i],m=Tt.call(To,i)?f.length:0;m--;){var I=f[m],W=I.func;if(W==null||W==t)return I.name}return i}function Eo(t){var i=Tt.call(B,"placeholder")?B:t;return i.placeholder}function nt(){var t=B.iteratee||La;return t=t===La?qu:t,arguments.length?t(arguments[0],arguments[1]):t}function xs(t,i){var f=t.__data__;return Td(i)?f[typeof i=="string"?"string":"hash"]:f.map}function ha(t){for(var i=An(t),f=i.length;f--;){var m=i[f],I=t[m];i[f]=[m,I,yf(I)]}return i}function go(t,i){var f=wn(t,i);return Ru(f)?f:y}function gd(t){var i=Tt.call(t,fo),f=t[fo];try{t[fo]=y;var m=!0}catch{}var I=Un.call(t);return m&&(i?t[fo]=f:delete t[fo]),I}var pa=Fs?function(t){return t==null?[]:(t=me(t),U(Fs(t),function(i){return bu.call(t,i)}))}:Na,pf=Fs?function(t){for(var i=[];t;)Ie(i,pa(t)),t=es(t);return i}:Na,jn=Kn;($s&&jn(new $s(new ArrayBuffer(1)))!=ai||qo&&jn(new qo)!=Xe||Ws&&jn(Ws.resolve())!=oi||wo&&jn(new wo)!=ft||Po&&jn(new Po)!=rt)&&(jn=function(t){var i=Kn(t),f=i==Ct?t.constructor:y,m=f?vo(f):"";if(m)switch(m){case Yl:return ai;case Jl:return Xe;case Zl:return oi;case ec:return ft;case tc:return rt}return i});function vd(t,i,f){for(var m=-1,I=f.length;++m<I;){var W=f[m],ee=W.size;switch(W.type){case"drop":t+=ee;break;case"dropRight":i-=ee;break;case"take":i=Hn(i,t+ee);break;case"takeRight":t=_n(t,i-ee);break}}return{start:t,end:i}}function yd(t){var i=t.match(Ti);return i?i[1].split(Ji):[]}function gf(t,i,f){i=ro(i,t);for(var m=-1,I=i.length,W=!1;++m<I;){var ee=Gi(i[m]);if(!(W=t!=null&&f(t,ee)))break;t=t[ee]}return W||++m!=I?W:(I=t==null?0:t.length,!!I&&As(I)&&qr(ee,I)&&(lt(t)||yo(t)))}function md(t){var i=t.length,f=new t.constructor(i);return i&&typeof t[0]=="string"&&Tt.call(t,"index")&&(f.index=t.index,f.input=t.input),f}function vf(t){return typeof t.constructor=="function"&&!Ko(t)?_o(es(t)):{}}function bd(t,i,f){var m=t.constructor;switch(i){case Mi:return aa(t);case tt:case We:return new m(+t);case ai:return nd(t,f);case xi:case zn:case Dn:case zt:case rn:case mn:case cr:case Fn:case Hi:return Yu(t,f);case Xe:return new m;case at:case Kt:return new m(t);case si:return id(t);case ft:return new m;case bt:return rd(t)}}function xd(t,i){var f=i.length;if(!f)return t;var m=f-1;return i[m]=(f>1?"& ":"")+i[m],i=i.join(f>2?", ":" "),t.replace(jr,`{
|
|
2
|
+
/* [wrapped with `+i+`] */
|
|
3
|
+
`)}function wd(t){return lt(t)||yo(t)||!!(xu&&t&&t[xu])}function qr(t,i){var f=typeof t;return i=i??Q,!!i&&(f=="number"||f!="symbol"&&er.test(t))&&t>-1&&t%1==0&&t<i}function Vn(t,i,f){if(!nn(f))return!1;var m=typeof i;return(m=="number"?ni(f)&&qr(i,f.length):m=="string"&&i in f)?zi(f[i],t):!1}function ga(t,i){if(lt(t))return!1;var f=typeof t;return f=="number"||f=="symbol"||f=="boolean"||t==null||yi(t)?!0:hr.test(t)||!Bi.test(t)||i!=null&&t in me(i)}function Td(t){var i=typeof t;return i=="string"||i=="number"||i=="symbol"||i=="boolean"?t!=="__proto__":t===null}function va(t){var i=bs(t),f=B[i];if(typeof f!="function"||!(i in _t.prototype))return!1;if(t===f)return!0;var m=da(f);return!!m&&t===m[0]}function _d(t){return!!Lr&&Lr in t}var Cd=Ut?Pr:Ra;function Ko(t){var i=t&&t.constructor,f=typeof i=="function"&&i.prototype||Mt;return t===f}function yf(t){return t===t&&!nn(t)}function mf(t,i){return function(f){return f==null?!1:f[t]===i&&(i!==y||t in me(f))}}function Sd(t){var i=Ss(t,function(m){return f.size===Ke&&f.clear(),m}),f=i.cache;return i}function Ed(t,i){var f=t[1],m=i[1],I=f|m,W=I<(S|N|se),ee=m==se&&f==P||m==se&&f==ie&&t[7].length<=i[8]||m==(se|ie)&&i[7].length<=i[8]&&f==P;if(!(W||ee))return t;m&S&&(t[2]=i[2],I|=f&S?0:A);var ne=i[3];if(ne){var ae=t[3];t[3]=ae?Zu(ae,ne,i[4]):ne,t[4]=ae?yn(t[3],Ne):i[4]}return ne=i[5],ne&&(ae=t[5],t[5]=ae?ef(ae,ne,i[6]):ne,t[6]=ae?yn(t[5],Ne):i[6]),ne=i[7],ne&&(t[7]=ne),m&se&&(t[8]=t[8]==null?i[8]:Hn(t[8],i[8])),t[9]==null&&(t[9]=i[9]),t[0]=i[0],t[1]=I,t}function Ad(t){var i=[];if(t!=null)for(var f in me(t))i.push(f);return i}function kd(t){return Un.call(t)}function bf(t,i,f){return i=_n(i===y?t.length-1:i,0),function(){for(var m=arguments,I=-1,W=_n(m.length-i,0),ee=K(W);++I<W;)ee[I]=m[i+I];I=-1;for(var ne=K(i+1);++I<i;)ne[I]=m[I];return ne[i]=f(ee),E(t,this,ne)}}function xf(t,i){return i.length<2?t:po(t,Ni(i,0,-1))}function Dd(t,i){for(var f=t.length,m=Hn(i.length,f),I=ti(t);m--;){var W=i[m];t[m]=qr(W,f)?I[W]:y}return t}function ya(t,i){if(!(i==="constructor"&&typeof t[i]=="function")&&i!="__proto__")return t[i]}var wf=_f(Wu),Vo=Ul||function(t,i){return Gt.setTimeout(t,i)},ma=_f(Jc);function Tf(t,i,f){var m=i+"";return ma(t,xd(m,Ld(yd(m),f)))}function _f(t){var i=0,f=0;return function(){var m=zl(),I=Nt-(m-f);if(f=m,I>0){if(++i>=Oe)return arguments[0]}else i=0;return t.apply(y,arguments)}}function ws(t,i){var f=-1,m=t.length,I=m-1;for(i=i===y?m:i;++f<i;){var W=ea(f,I),ee=t[W];t[W]=t[f],t[f]=ee}return t.length=i,t}var Cf=Sd(function(t){var i=[];return t.charCodeAt(0)===46&&i.push(""),t.replace(pn,function(f,m,I,W){i.push(I?W.replace(Zi,"$1"):m||f)}),i});function Gi(t){if(typeof t=="string"||yi(t))return t;var i=t+"";return i=="0"&&1/t==-G?"-0":i}function vo(t){if(t!=null){try{return gt.call(t)}catch{}try{return t+""}catch{}}return""}function Ld(t,i){return q(Re,function(f){var m="_."+f[0];i&f[1]&&!re(t,m)&&t.push(m)}),t.sort()}function Sf(t){if(t instanceof _t)return t.clone();var i=new Oi(t.__wrapped__,t.__chain__);return i.__actions__=ti(t.__actions__),i.__index__=t.__index__,i.__values__=t.__values__,i}function Od(t,i,f){(f?Vn(t,i,f):i===y)?i=1:i=_n(ht(i),0);var m=t==null?0:t.length;if(!m||i<1)return[];for(var I=0,W=0,ee=K(is(m/i));I<m;)ee[W++]=Ni(t,I,I+=i);return ee}function Id(t){for(var i=-1,f=t==null?0:t.length,m=0,I=[];++i<f;){var W=t[i];W&&(I[m++]=W)}return I}function Nd(){var t=arguments.length;if(!t)return[];for(var i=K(t-1),f=arguments[0],m=t;m--;)i[m-1]=arguments[m];return Ie(lt(f)?ti(f):[f],Nn(i,1))}var Rd=yt(function(t,i){return dn(t)?Bo(t,Nn(i,1,dn,!0)):[]}),qd=yt(function(t,i){var f=Ri(i);return dn(f)&&(f=y),dn(t)?Bo(t,Nn(i,1,dn,!0),nt(f,2)):[]}),Pd=yt(function(t,i){var f=Ri(i);return dn(f)&&(f=y),dn(t)?Bo(t,Nn(i,1,dn,!0),y,f):[]});function Md(t,i,f){var m=t==null?0:t.length;return m?(i=f||i===y?1:ht(i),Ni(t,i<0?0:i,m)):[]}function Hd(t,i,f){var m=t==null?0:t.length;return m?(i=f||i===y?1:ht(i),i=m-i,Ni(t,0,i<0?0:i)):[]}function jd(t,i){return t&&t.length?hs(t,nt(i,3),!0,!0):[]}function Bd(t,i){return t&&t.length?hs(t,nt(i,3),!0):[]}function Fd(t,i,f,m){var I=t==null?0:t.length;return I?(f&&typeof f!="number"&&Vn(t,i,f)&&(f=0,m=I),Nc(t,i,f,m)):[]}function Ef(t,i,f){var m=t==null?0:t.length;if(!m)return-1;var I=f==null?0:ht(f);return I<0&&(I=_n(m+I,0)),Je(t,nt(i,3),I)}function Af(t,i,f){var m=t==null?0:t.length;if(!m)return-1;var I=m-1;return f!==y&&(I=ht(f),I=f<0?_n(m+I,0):Hn(I,m-1)),Je(t,nt(i,3),I,!0)}function kf(t){var i=t==null?0:t.length;return i?Nn(t,1):[]}function $d(t){var i=t==null?0:t.length;return i?Nn(t,G):[]}function Wd(t,i){var f=t==null?0:t.length;return f?(i=i===y?1:ht(i),Nn(t,i)):[]}function Ud(t){for(var i=-1,f=t==null?0:t.length,m={};++i<f;){var I=t[i];ur(m,I[0],I[1])}return m}function Df(t){return t&&t.length?t[0]:y}function Kd(t,i,f){var m=t==null?0:t.length;if(!m)return-1;var I=f==null?0:ht(f);return I<0&&(I=_n(m+I,0)),sn(t,i,I)}function Vd(t){var i=t==null?0:t.length;return i?Ni(t,0,-1):[]}var Gd=yt(function(t){var i=Se(t,oa);return i.length&&i[0]===t[0]?Qs(i):[]}),zd=yt(function(t){var i=Ri(t),f=Se(t,oa);return i===Ri(f)?i=y:f.pop(),f.length&&f[0]===t[0]?Qs(f,nt(i,2)):[]}),Qd=yt(function(t){var i=Ri(t),f=Se(t,oa);return i=typeof i=="function"?i:y,i&&f.pop(),f.length&&f[0]===t[0]?Qs(f,y,i):[]});function Xd(t,i){return t==null?"":Vl.call(t,i)}function Ri(t){var i=t==null?0:t.length;return i?t[i-1]:y}function Yd(t,i,f){var m=t==null?0:t.length;if(!m)return-1;var I=m;return f!==y&&(I=ht(f),I=I<0?_n(m+I,0):Hn(I,m-1)),i===i?v(t,i,I):Je(t,$t,I,!0)}function Jd(t,i){return t&&t.length?ju(t,ht(i)):y}var Zd=yt(Lf);function Lf(t,i){return t&&t.length&&i&&i.length?Zs(t,i):t}function eh(t,i,f){return t&&t.length&&i&&i.length?Zs(t,i,nt(f,2)):t}function th(t,i,f){return t&&t.length&&i&&i.length?Zs(t,i,y,f):t}var nh=Rr(function(t,i){var f=t==null?0:t.length,m=Ks(t,i);return $u(t,Se(i,function(I){return qr(I,f)?+I:I}).sort(Ju)),m});function ih(t,i){var f=[];if(!(t&&t.length))return f;var m=-1,I=[],W=t.length;for(i=nt(i,3);++m<W;){var ee=t[m];i(ee,m,t)&&(f.push(ee),I.push(m))}return $u(t,I),f}function ba(t){return t==null?t:Xl.call(t)}function rh(t,i,f){var m=t==null?0:t.length;return m?(f&&typeof f!="number"&&Vn(t,i,f)?(i=0,f=m):(i=i==null?0:ht(i),f=f===y?m:ht(f)),Ni(t,i,f)):[]}function oh(t,i){return ds(t,i)}function sh(t,i,f){return na(t,i,nt(f,2))}function ah(t,i){var f=t==null?0:t.length;if(f){var m=ds(t,i);if(m<f&&zi(t[m],i))return m}return-1}function uh(t,i){return ds(t,i,!0)}function fh(t,i,f){return na(t,i,nt(f,2),!0)}function lh(t,i){var f=t==null?0:t.length;if(f){var m=ds(t,i,!0)-1;if(zi(t[m],i))return m}return-1}function ch(t){return t&&t.length?Uu(t):[]}function dh(t,i){return t&&t.length?Uu(t,nt(i,2)):[]}function hh(t){var i=t==null?0:t.length;return i?Ni(t,1,i):[]}function ph(t,i,f){return t&&t.length?(i=f||i===y?1:ht(i),Ni(t,0,i<0?0:i)):[]}function gh(t,i,f){var m=t==null?0:t.length;return m?(i=f||i===y?1:ht(i),i=m-i,Ni(t,i<0?0:i,m)):[]}function vh(t,i){return t&&t.length?hs(t,nt(i,3),!1,!0):[]}function yh(t,i){return t&&t.length?hs(t,nt(i,3)):[]}var mh=yt(function(t){return io(Nn(t,1,dn,!0))}),bh=yt(function(t){var i=Ri(t);return dn(i)&&(i=y),io(Nn(t,1,dn,!0),nt(i,2))}),xh=yt(function(t){var i=Ri(t);return i=typeof i=="function"?i:y,io(Nn(t,1,dn,!0),y,i)});function wh(t){return t&&t.length?io(t):[]}function Th(t,i){return t&&t.length?io(t,nt(i,2)):[]}function _h(t,i){return i=typeof i=="function"?i:y,t&&t.length?io(t,y,i):[]}function xa(t){if(!(t&&t.length))return[];var i=0;return t=U(t,function(f){if(dn(f))return i=_n(f.length,i),!0}),Xt(i,function(f){return Se(t,Wt(f))})}function Of(t,i){if(!(t&&t.length))return[];var f=xa(t);return i==null?f:Se(f,function(m){return E(i,y,m)})}var Ch=yt(function(t,i){return dn(t)?Bo(t,i):[]}),Sh=yt(function(t){return ra(U(t,dn))}),Eh=yt(function(t){var i=Ri(t);return dn(i)&&(i=y),ra(U(t,dn),nt(i,2))}),Ah=yt(function(t){var i=Ri(t);return i=typeof i=="function"?i:y,ra(U(t,dn),y,i)}),kh=yt(xa);function Dh(t,i){return zu(t||[],i||[],jo)}function Lh(t,i){return zu(t||[],i||[],Wo)}var Oh=yt(function(t){var i=t.length,f=i>1?t[i-1]:y;return f=typeof f=="function"?(t.pop(),f):y,Of(t,f)});function If(t){var i=B(t);return i.__chain__=!0,i}function Ih(t,i){return i(t),t}function Ts(t,i){return i(t)}var Nh=Rr(function(t){var i=t.length,f=i?t[0]:0,m=this.__wrapped__,I=function(W){return Ks(W,t)};return i>1||this.__actions__.length||!(m instanceof _t)||!qr(f)?this.thru(I):(m=m.slice(f,+f+(i?1:0)),m.__actions__.push({func:Ts,args:[I],thisArg:y}),new Oi(m,this.__chain__).thru(function(W){return i&&!W.length&&W.push(y),W}))});function Rh(){return If(this)}function qh(){return new Oi(this.value(),this.__chain__)}function Ph(){this.__values__===y&&(this.__values__=Vf(this.value()));var t=this.__index__>=this.__values__.length,i=t?y:this.__values__[this.__index__++];return{done:t,value:i}}function Mh(){return this}function Hh(t){for(var i,f=this;f instanceof as;){var m=Sf(f);m.__index__=0,m.__values__=y,i?I.__wrapped__=m:i=m;var I=m;f=f.__wrapped__}return I.__wrapped__=t,i}function jh(){var t=this.__wrapped__;if(t instanceof _t){var i=t;return this.__actions__.length&&(i=new _t(this)),i=i.reverse(),i.__actions__.push({func:Ts,args:[ba],thisArg:y}),new Oi(i,this.__chain__)}return this.thru(ba)}function Bh(){return Gu(this.__wrapped__,this.__actions__)}var Fh=ps(function(t,i,f){Tt.call(t,f)?++t[f]:ur(t,f,1)});function $h(t,i,f){var m=lt(t)?Z:Ic;return f&&Vn(t,i,f)&&(i=y),m(t,nt(i,3))}function Wh(t,i){var f=lt(t)?U:Lu;return f(t,nt(i,3))}var Uh=of(Ef),Kh=of(Af);function Vh(t,i){return Nn(_s(t,i),1)}function Gh(t,i){return Nn(_s(t,i),G)}function zh(t,i,f){return f=f===y?1:ht(f),Nn(_s(t,i),f)}function Nf(t,i){var f=lt(t)?q:no;return f(t,nt(i,3))}function Rf(t,i){var f=lt(t)?X:Du;return f(t,nt(i,3))}var Qh=ps(function(t,i,f){Tt.call(t,f)?t[f].push(i):ur(t,f,[i])});function Xh(t,i,f,m){t=ni(t)?t:ko(t),f=f&&!m?ht(f):0;var I=t.length;return f<0&&(f=_n(I+f,0)),ks(t)?f<=I&&t.indexOf(i,f)>-1:!!I&&sn(t,i,f)>-1}var Yh=yt(function(t,i,f){var m=-1,I=typeof i=="function",W=ni(t)?K(t.length):[];return no(t,function(ee){W[++m]=I?E(i,ee,f):Fo(ee,i,f)}),W}),Jh=ps(function(t,i,f){ur(t,f,i)});function _s(t,i){var f=lt(t)?Se:Pu;return f(t,nt(i,3))}function Zh(t,i,f,m){return t==null?[]:(lt(i)||(i=i==null?[]:[i]),f=m?y:f,lt(f)||(f=f==null?[]:[f]),Bu(t,i,f))}var ep=ps(function(t,i,f){t[f?0:1].push(i)},function(){return[[],[]]});function tp(t,i,f){var m=lt(t)?dt:an,I=arguments.length<3;return m(t,nt(i,4),f,I,no)}function np(t,i,f){var m=lt(t)?ot:an,I=arguments.length<3;return m(t,nt(i,4),f,I,Du)}function ip(t,i){var f=lt(t)?U:Lu;return f(t,Es(nt(i,3)))}function rp(t){var i=lt(t)?Su:Xc;return i(t)}function op(t,i,f){(f?Vn(t,i,f):i===y)?i=1:i=ht(i);var m=lt(t)?Ac:Yc;return m(t,i)}function sp(t){var i=lt(t)?kc:Zc;return i(t)}function ap(t){if(t==null)return 0;if(ni(t))return ks(t)?x(t):t.length;var i=jn(t);return i==Xe||i==ft?t.size:Ys(t).length}function up(t,i,f){var m=lt(t)?Ot:ed;return f&&Vn(t,i,f)&&(i=y),m(t,nt(i,3))}var fp=yt(function(t,i){if(t==null)return[];var f=i.length;return f>1&&Vn(t,i[0],i[1])?i=[]:f>2&&Vn(i[0],i[1],i[2])&&(i=[i[0]]),Bu(t,Nn(i,1),[])}),Cs=Wl||function(){return Gt.Date.now()};function lp(t,i){if(typeof i!="function")throw new Fe(be);return t=ht(t),function(){if(--t<1)return i.apply(this,arguments)}}function qf(t,i,f){return i=f?y:i,i=t&&i==null?t.length:i,Nr(t,se,y,y,y,y,i)}function Pf(t,i){var f;if(typeof i!="function")throw new Fe(be);return t=ht(t),function(){return--t>0&&(f=i.apply(this,arguments)),t<=1&&(i=y),f}}var wa=yt(function(t,i,f){var m=S;if(f.length){var I=yn(f,Eo(wa));m|=p}return Nr(t,m,i,f,I)}),Mf=yt(function(t,i,f){var m=S|N;if(f.length){var I=yn(f,Eo(Mf));m|=p}return Nr(i,m,t,f,I)});function Hf(t,i,f){i=f?y:i;var m=Nr(t,P,y,y,y,y,y,i);return m.placeholder=Hf.placeholder,m}function jf(t,i,f){i=f?y:i;var m=Nr(t,z,y,y,y,y,y,i);return m.placeholder=jf.placeholder,m}function Bf(t,i,f){var m,I,W,ee,ne,ae,we=0,Te=!1,Ee=!1,Be=!0;if(typeof t!="function")throw new Fe(be);i=qi(i)||0,nn(f)&&(Te=!!f.leading,Ee="maxWait"in f,W=Ee?_n(qi(f.maxWait)||0,i):W,Be="trailing"in f?!!f.trailing:Be);function Ge(hn){var Qi=m,Hr=I;return m=I=y,we=hn,ee=t.apply(Hr,Qi),ee}function it(hn){return we=hn,ne=Vo(xt,i),Te?Ge(hn):ee}function vt(hn){var Qi=hn-ae,Hr=hn-we,sl=i-Qi;return Ee?Hn(sl,W-Hr):sl}function Ze(hn){var Qi=hn-ae,Hr=hn-we;return ae===y||Qi>=i||Qi<0||Ee&&Hr>=W}function xt(){var hn=Cs();if(Ze(hn))return Et(hn);ne=Vo(xt,vt(hn))}function Et(hn){return ne=y,Be&&m?Ge(hn):(m=I=y,ee)}function mi(){ne!==y&&Qu(ne),we=0,m=ae=I=ne=y}function Gn(){return ne===y?ee:Et(Cs())}function bi(){var hn=Cs(),Qi=Ze(hn);if(m=arguments,I=this,ae=hn,Qi){if(ne===y)return it(ae);if(Ee)return Qu(ne),ne=Vo(xt,i),Ge(ae)}return ne===y&&(ne=Vo(xt,i)),ee}return bi.cancel=mi,bi.flush=Gn,bi}var cp=yt(function(t,i){return ku(t,1,i)}),dp=yt(function(t,i,f){return ku(t,qi(i)||0,f)});function hp(t){return Nr(t,he)}function Ss(t,i){if(typeof t!="function"||i!=null&&typeof i!="function")throw new Fe(be);var f=function(){var m=arguments,I=i?i.apply(this,m):m[0],W=f.cache;if(W.has(I))return W.get(I);var ee=t.apply(this,m);return f.cache=W.set(I,ee)||W,ee};return f.cache=new(Ss.Cache||Ir),f}Ss.Cache=Ir;function Es(t){if(typeof t!="function")throw new Fe(be);return function(){var i=arguments;switch(i.length){case 0:return!t.call(this);case 1:return!t.call(this,i[0]);case 2:return!t.call(this,i[0],i[1]);case 3:return!t.call(this,i[0],i[1],i[2])}return!t.apply(this,i)}}function pp(t){return Pf(2,t)}var gp=td(function(t,i){i=i.length==1&<(i[0])?Se(i[0],xn(nt())):Se(Nn(i,1),xn(nt()));var f=i.length;return yt(function(m){for(var I=-1,W=Hn(m.length,f);++I<W;)m[I]=i[I].call(this,m[I]);return E(t,this,m)})}),Ta=yt(function(t,i){var f=yn(i,Eo(Ta));return Nr(t,p,y,i,f)}),Ff=yt(function(t,i){var f=yn(i,Eo(Ff));return Nr(t,s,y,i,f)}),vp=Rr(function(t,i){return Nr(t,ie,y,y,y,i)});function yp(t,i){if(typeof t!="function")throw new Fe(be);return i=i===y?i:ht(i),yt(t,i)}function mp(t,i){if(typeof t!="function")throw new Fe(be);return i=i==null?0:_n(ht(i),0),yt(function(f){var m=f[i],I=oo(f,0,i);return m&&Ie(I,m),E(t,this,I)})}function bp(t,i,f){var m=!0,I=!0;if(typeof t!="function")throw new Fe(be);return nn(f)&&(m="leading"in f?!!f.leading:m,I="trailing"in f?!!f.trailing:I),Bf(t,i,{leading:m,maxWait:i,trailing:I})}function xp(t){return qf(t,1)}function wp(t,i){return Ta(sa(i),t)}function Tp(){if(!arguments.length)return[];var t=arguments[0];return lt(t)?t:[t]}function _p(t){return Ii(t,H)}function Cp(t,i){return i=typeof i=="function"?i:y,Ii(t,H,i)}function Sp(t){return Ii(t,De|H)}function Ep(t,i){return i=typeof i=="function"?i:y,Ii(t,De|H,i)}function Ap(t,i){return i==null||Au(t,i,An(i))}function zi(t,i){return t===i||t!==t&&i!==i}var kp=ms(zs),Dp=ms(function(t,i){return t>=i}),yo=Nu((function(){return arguments})())?Nu:function(t){return fn(t)&&Tt.call(t,"callee")&&!bu.call(t,"callee")},lt=K.isArray,Lp=n?xn(n):Hc;function ni(t){return t!=null&&As(t.length)&&!Pr(t)}function dn(t){return fn(t)&&ni(t)}function Op(t){return t===!0||t===!1||fn(t)&&Kn(t)==tt}var so=Kl||Ra,Ip=o?xn(o):jc;function Np(t){return fn(t)&&t.nodeType===1&&!Go(t)}function Rp(t){if(t==null)return!0;if(ni(t)&&(lt(t)||typeof t=="string"||typeof t.splice=="function"||so(t)||Ao(t)||yo(t)))return!t.length;var i=jn(t);if(i==Xe||i==ft)return!t.size;if(Ko(t))return!Ys(t).length;for(var f in t)if(Tt.call(t,f))return!1;return!0}function qp(t,i){return $o(t,i)}function Pp(t,i,f){f=typeof f=="function"?f:y;var m=f?f(t,i):y;return m===y?$o(t,i,y,f):!!m}function _a(t){if(!fn(t))return!1;var i=Kn(t);return i==ct||i==Ue||typeof t.message=="string"&&typeof t.name=="string"&&!Go(t)}function Mp(t){return typeof t=="number"&&wu(t)}function Pr(t){if(!nn(t))return!1;var i=Kn(t);return i==st||i==Qe||i==et||i==Pi}function $f(t){return typeof t=="number"&&t==ht(t)}function As(t){return typeof t=="number"&&t>-1&&t%1==0&&t<=Q}function nn(t){var i=typeof t;return t!=null&&(i=="object"||i=="function")}function fn(t){return t!=null&&typeof t=="object"}var Wf=a?xn(a):Fc;function Hp(t,i){return t===i||Xs(t,i,ha(i))}function jp(t,i,f){return f=typeof f=="function"?f:y,Xs(t,i,ha(i),f)}function Bp(t){return Uf(t)&&t!=+t}function Fp(t){if(Cd(t))throw new fe(le);return Ru(t)}function $p(t){return t===null}function Wp(t){return t==null}function Uf(t){return typeof t=="number"||fn(t)&&Kn(t)==at}function Go(t){if(!fn(t)||Kn(t)!=Ct)return!1;var i=es(t);if(i===null)return!0;var f=Tt.call(i,"constructor")&&i.constructor;return typeof f=="function"&&f instanceof f&>.call(f)==jl}var Ca=l?xn(l):$c;function Up(t){return $f(t)&&t>=-Q&&t<=Q}var Kf=c?xn(c):Wc;function ks(t){return typeof t=="string"||!lt(t)&&fn(t)&&Kn(t)==Kt}function yi(t){return typeof t=="symbol"||fn(t)&&Kn(t)==bt}var Ao=g?xn(g):Uc;function Kp(t){return t===y}function Vp(t){return fn(t)&&jn(t)==rt}function Gp(t){return fn(t)&&Kn(t)==Bn}var zp=ms(Js),Qp=ms(function(t,i){return t<=i});function Vf(t){if(!t)return[];if(ni(t))return ks(t)?w(t):ti(t);if(Ro&&t[Ro])return ar(t[Ro]());var i=jn(t),f=i==Xe?Tn:i==ft?r:ko;return f(t)}function Mr(t){if(!t)return t===0?t:0;if(t=qi(t),t===G||t===-G){var i=t<0?-1:1;return i*pe}return t===t?t:0}function ht(t){var i=Mr(t),f=i%1;return i===i?f?i-f:i:0}function Gf(t){return t?ho(ht(t),0,_e):0}function qi(t){if(typeof t=="number")return t;if(yi(t))return ye;if(nn(t)){var i=typeof t.valueOf=="function"?t.valueOf():t;t=nn(i)?i+"":i}if(typeof t!="string")return t===0?t:+t;t=Jr(t);var f=Fi.test(t);return f||fi.test(t)?Xr(t.slice(2),f?2:8):yr.test(t)?ye:+t}function zf(t){return lr(t,ii(t))}function Xp(t){return t?ho(ht(t),-Q,Q):t===0?t:0}function Ht(t){return t==null?"":vi(t)}var Yp=Co(function(t,i){if(Ko(i)||ni(i)){lr(i,An(i),t);return}for(var f in i)Tt.call(i,f)&&jo(t,f,i[f])}),Qf=Co(function(t,i){lr(i,ii(i),t)}),Xf=Co(function(t,i,f,m){lr(i,ii(i),t,m)}),Sa=Co(function(t,i,f,m){lr(i,An(i),t,m)}),Jp=Rr(Ks);function Zp(t,i){var f=_o(t);return i==null?f:Eu(f,i)}var eg=yt(function(t,i){t=me(t);var f=-1,m=i.length,I=m>2?i[2]:y;for(I&&Vn(i[0],i[1],I)&&(m=1);++f<m;)for(var W=i[f],ee=ii(W),ne=-1,ae=ee.length;++ne<ae;){var we=ee[ne],Te=t[we];(Te===y||zi(Te,Mt[we])&&!Tt.call(t,we))&&(t[we]=W[we])}return t}),tg=yt(function(t){return t.push(y,df),E(Yf,y,t)});function ng(t,i){return He(t,nt(i,3),fr)}function ig(t,i){return He(t,nt(i,3),Gs)}function rg(t,i){return t==null?t:Vs(t,nt(i,3),ii)}function og(t,i){return t==null?t:Ou(t,nt(i,3),ii)}function sg(t,i){return t&&fr(t,nt(i,3))}function ag(t,i){return t&&Gs(t,nt(i,3))}function ug(t){return t==null?[]:ls(t,An(t))}function fg(t){return t==null?[]:ls(t,ii(t))}function Ea(t,i,f){var m=t==null?y:po(t,i);return m===y?f:m}function lg(t,i){return t!=null&&gf(t,i,Rc)}function Aa(t,i){return t!=null&&gf(t,i,qc)}var cg=af(function(t,i,f){i!=null&&typeof i.toString!="function"&&(i=Un.call(i)),t[i]=f},Da(ri)),dg=af(function(t,i,f){i!=null&&typeof i.toString!="function"&&(i=Un.call(i)),Tt.call(t,i)?t[i].push(f):t[i]=[f]},nt),hg=yt(Fo);function An(t){return ni(t)?Cu(t):Ys(t)}function ii(t){return ni(t)?Cu(t,!0):Kc(t)}function pg(t,i){var f={};return i=nt(i,3),fr(t,function(m,I,W){ur(f,i(m,I,W),m)}),f}function gg(t,i){var f={};return i=nt(i,3),fr(t,function(m,I,W){ur(f,I,i(m,I,W))}),f}var vg=Co(function(t,i,f){cs(t,i,f)}),Yf=Co(function(t,i,f,m){cs(t,i,f,m)}),yg=Rr(function(t,i){var f={};if(t==null)return f;var m=!1;i=Se(i,function(W){return W=ro(W,t),m||(m=W.length>1),W}),lr(t,ca(t),f),m&&(f=Ii(f,De|$|H,dd));for(var I=i.length;I--;)ia(f,i[I]);return f});function mg(t,i){return Jf(t,Es(nt(i)))}var bg=Rr(function(t,i){return t==null?{}:Gc(t,i)});function Jf(t,i){if(t==null)return{};var f=Se(ca(t),function(m){return[m]});return i=nt(i),Fu(t,f,function(m,I){return i(m,I[0])})}function xg(t,i,f){i=ro(i,t);var m=-1,I=i.length;for(I||(I=1,t=y);++m<I;){var W=t==null?y:t[Gi(i[m])];W===y&&(m=I,W=f),t=Pr(W)?W.call(t):W}return t}function wg(t,i,f){return t==null?t:Wo(t,i,f)}function Tg(t,i,f,m){return m=typeof m=="function"?m:y,t==null?t:Wo(t,i,f,m)}var Zf=lf(An),el=lf(ii);function _g(t,i,f){var m=lt(t),I=m||so(t)||Ao(t);if(i=nt(i,4),f==null){var W=t&&t.constructor;I?f=m?new W:[]:nn(t)?f=Pr(W)?_o(es(t)):{}:f={}}return(I?q:fr)(t,function(ee,ne,ae){return i(f,ee,ne,ae)}),f}function Cg(t,i){return t==null?!0:ia(t,i)}function Sg(t,i,f){return t==null?t:Vu(t,i,sa(f))}function Eg(t,i,f,m){return m=typeof m=="function"?m:y,t==null?t:Vu(t,i,sa(f),m)}function ko(t){return t==null?[]:sr(t,An(t))}function Ag(t){return t==null?[]:sr(t,ii(t))}function kg(t,i,f){return f===y&&(f=i,i=y),f!==y&&(f=qi(f),f=f===f?f:0),i!==y&&(i=qi(i),i=i===i?i:0),ho(qi(t),i,f)}function Dg(t,i,f){return i=Mr(i),f===y?(f=i,i=0):f=Mr(f),t=qi(t),Pc(t,i,f)}function Lg(t,i,f){if(f&&typeof f!="boolean"&&Vn(t,i,f)&&(i=f=y),f===y&&(typeof i=="boolean"?(f=i,i=y):typeof t=="boolean"&&(f=t,t=y)),t===y&&i===y?(t=0,i=1):(t=Mr(t),i===y?(i=t,t=0):i=Mr(i)),t>i){var m=t;t=i,i=m}if(f||t%1||i%1){var I=Tu();return Hn(t+I*(i-t+Qr("1e-"+((I+"").length-1))),i)}return ea(t,i)}var Og=So(function(t,i,f){return i=i.toLowerCase(),t+(f?tl(i):i)});function tl(t){return ka(Ht(t).toLowerCase())}function nl(t){return t=Ht(t),t&&t.replace(ao,Zr).replace(ki,"")}function Ig(t,i,f){t=Ht(t),i=vi(i);var m=t.length;f=f===y?m:ho(ht(f),0,m);var I=f;return f-=i.length,f>=0&&t.slice(f,I)==i}function Ng(t){return t=Ht(t),t&&St.test(t)?t.replace(Xi,kr):t}function Rg(t){return t=Ht(t),t&&ui.test(t)?t.replace(ln,"\\$&"):t}var qg=So(function(t,i,f){return t+(f?"-":"")+i.toLowerCase()}),Pg=So(function(t,i,f){return t+(f?" ":"")+i.toLowerCase()}),Mg=rf("toLowerCase");function Hg(t,i,f){t=Ht(t),i=ht(i);var m=i?x(t):0;if(!i||m>=i)return t;var I=(i-m)/2;return ys(rs(I),f)+t+ys(is(I),f)}function jg(t,i,f){t=Ht(t),i=ht(i);var m=i?x(t):0;return i&&m<i?t+ys(i-m,f):t}function Bg(t,i,f){t=Ht(t),i=ht(i);var m=i?x(t):0;return i&&m<i?ys(i-m,f)+t:t}function Fg(t,i,f){return f||i==null?i=0:i&&(i=+i),Ql(Ht(t).replace($n,""),i||0)}function $g(t,i,f){return(f?Vn(t,i,f):i===y)?i=1:i=ht(i),ta(Ht(t),i)}function Wg(){var t=arguments,i=Ht(t[0]);return t.length<3?i:i.replace(t[1],t[2])}var Ug=So(function(t,i,f){return t+(f?"_":"")+i.toLowerCase()});function Kg(t,i,f){return f&&typeof f!="number"&&Vn(t,i,f)&&(i=f=y),f=f===y?_e:f>>>0,f?(t=Ht(t),t&&(typeof i=="string"||i!=null&&!Ca(i))&&(i=vi(i),!i&&Mn(t))?oo(w(t),0,f):t.split(i,f)):[]}var Vg=So(function(t,i,f){return t+(f?" ":"")+ka(i)});function Gg(t,i,f){return t=Ht(t),f=f==null?0:ho(ht(f),0,t.length),i=vi(i),t.slice(f,f+i.length)==i}function zg(t,i,f){var m=B.templateSettings;f&&Vn(t,i,f)&&(i=y),t=Ht(t),i=Sa({},i,m,cf);var I=Sa({},i.imports,m.imports,cf),W=An(I),ee=sr(I,W);q(W,function(Ze){if(gr.test(Ze))throw new fe(ke)});var ne,ae,we=0,Te=i.interpolate||Zt,Ee="__p += '",Be=ce((i.escape||Zt).source+"|"+Te.source+"|"+(Te===ji?vr:Zt).source+"|"+(i.evaluate||Zt).source+"|$","g"),Ge="//# sourceURL="+(Tt.call(i,"sourceURL")?(i.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++or+"]")+`
|
|
4
|
+
`;t.replace(Be,function(Ze,xt,Et,mi,Gn,bi){return Et||(Et=mi),Ee+=t.slice(we,bi).replace(_i,Dr),xt&&(ne=!0,Ee+=`' +
|
|
5
|
+
__e(`+xt+`) +
|
|
6
|
+
'`),Gn&&(ae=!0,Ee+=`';
|
|
7
|
+
`+Gn+`;
|
|
8
|
+
__p += '`),Et&&(Ee+=`' +
|
|
9
|
+
((__t = (`+Et+`)) == null ? '' : __t) +
|
|
10
|
+
'`),we=bi+Ze.length,Ze}),Ee+=`';
|
|
11
|
+
`;var it=Tt.call(i,"variable")&&i.variable;if(!it)Ee=`with (obj) {
|
|
12
|
+
`+Ee+`
|
|
13
|
+
}
|
|
14
|
+
`;else if(gr.test(it))throw new fe(Pe);Ee=(ae?Ee.replace(dr,""):Ee).replace(Ln,"$1").replace(Vt,"$1;"),Ee="function("+(it||"obj")+`) {
|
|
15
|
+
`+(it?"":`obj || (obj = {});
|
|
16
|
+
`)+"var __t, __p = ''"+(ne?", __e = _.escape":"")+(ae?`, __j = Array.prototype.join;
|
|
17
|
+
function print() { __p += __j.call(arguments, '') }
|
|
18
|
+
`:`;
|
|
19
|
+
`)+Ee+`return __p
|
|
20
|
+
}`;var vt=rl(function(){return ue(W,Ge+"return "+Ee).apply(y,ee)});if(vt.source=Ee,_a(vt))throw vt;return vt}function Qg(t){return Ht(t).toLowerCase()}function Xg(t){return Ht(t).toUpperCase()}function Yg(t,i,f){if(t=Ht(t),t&&(f||i===y))return Jr(t);if(!t||!(i=vi(i)))return t;var m=w(t),I=w(i),W=Wn(m,I),ee=qt(m,I)+1;return oo(m,W,ee).join("")}function Jg(t,i,f){if(t=Ht(t),t&&(f||i===y))return t.slice(0,M(t)+1);if(!t||!(i=vi(i)))return t;var m=w(t),I=qt(m,w(i))+1;return oo(m,0,I).join("")}function Zg(t,i,f){if(t=Ht(t),t&&(f||i===y))return t.replace($n,"");if(!t||!(i=vi(i)))return t;var m=w(t),I=Wn(m,w(i));return oo(m,I).join("")}function ev(t,i){var f=je,m=ut;if(nn(i)){var I="separator"in i?i.separator:I;f="length"in i?ht(i.length):f,m="omission"in i?vi(i.omission):m}t=Ht(t);var W=t.length;if(Mn(t)){var ee=w(t);W=ee.length}if(f>=W)return t;var ne=f-x(m);if(ne<1)return m;var ae=ee?oo(ee,0,ne).join(""):t.slice(0,ne);if(I===y)return ae+m;if(ee&&(ne+=ae.length-ne),Ca(I)){if(t.slice(ne).search(I)){var we,Te=ae;for(I.global||(I=ce(I.source,Ht(cn.exec(I))+"g")),I.lastIndex=0;we=I.exec(Te);)var Ee=we.index;ae=ae.slice(0,Ee===y?ne:Ee)}}else if(t.indexOf(vi(I),ne)!=ne){var Be=ae.lastIndexOf(I);Be>-1&&(ae=ae.slice(0,Be))}return ae+m}function tv(t){return t=Ht(t),t&&Yi.test(t)?t.replace(Rn,J):t}var nv=So(function(t,i,f){return t+(f?" ":"")+i.toUpperCase()}),ka=rf("toUpperCase");function il(t,i,f){return t=Ht(t),i=f?y:i,i===y?un(t)?C(t):vn(t):t.match(i)||[]}var rl=yt(function(t,i){try{return E(t,y,i)}catch(f){return _a(f)?f:new fe(f)}}),iv=Rr(function(t,i){return q(i,function(f){f=Gi(f),ur(t,f,wa(t[f],t))}),t});function rv(t){var i=t==null?0:t.length,f=nt();return t=i?Se(t,function(m){if(typeof m[1]!="function")throw new Fe(be);return[f(m[0]),m[1]]}):[],yt(function(m){for(var I=-1;++I<i;){var W=t[I];if(E(W[0],this,m))return E(W[1],this,m)}})}function ov(t){return Oc(Ii(t,De))}function Da(t){return function(){return t}}function sv(t,i){return t==null||t!==t?i:t}var av=sf(),uv=sf(!0);function ri(t){return t}function La(t){return qu(typeof t=="function"?t:Ii(t,De))}function fv(t){return Mu(Ii(t,De))}function lv(t,i){return Hu(t,Ii(i,De))}var cv=yt(function(t,i){return function(f){return Fo(f,t,i)}}),dv=yt(function(t,i){return function(f){return Fo(t,f,i)}});function Oa(t,i,f){var m=An(i),I=ls(i,m);f==null&&!(nn(i)&&(I.length||!m.length))&&(f=i,i=t,t=this,I=ls(i,An(i)));var W=!(nn(f)&&"chain"in f)||!!f.chain,ee=Pr(t);return q(I,function(ne){var ae=i[ne];t[ne]=ae,ee&&(t.prototype[ne]=function(){var we=this.__chain__;if(W||we){var Te=t(this.__wrapped__),Ee=Te.__actions__=ti(this.__actions__);return Ee.push({func:ae,args:arguments,thisArg:t}),Te.__chain__=we,Te}return ae.apply(t,Ie([this.value()],arguments))})}),t}function hv(){return Gt._===this&&(Gt._=Bl),this}function Ia(){}function pv(t){return t=ht(t),yt(function(i){return ju(i,t)})}var gv=ua(Se),vv=ua(Z),yv=ua(Ot);function ol(t){return ga(t)?Wt(Gi(t)):zc(t)}function mv(t){return function(i){return t==null?y:po(t,i)}}var bv=uf(),xv=uf(!0);function Na(){return[]}function Ra(){return!1}function wv(){return{}}function Tv(){return""}function _v(){return!0}function Cv(t,i){if(t=ht(t),t<1||t>Q)return[];var f=_e,m=Hn(t,_e);i=nt(i),t-=_e;for(var I=Xt(m,i);++f<t;)i(f);return I}function Sv(t){return lt(t)?Se(t,Gi):yi(t)?[t]:ti(Cf(Ht(t)))}function Ev(t){var i=++eo;return Ht(t)+i}var Av=vs(function(t,i){return t+i},0),kv=fa("ceil"),Dv=vs(function(t,i){return t/i},1),Lv=fa("floor");function Ov(t){return t&&t.length?fs(t,ri,zs):y}function Iv(t,i){return t&&t.length?fs(t,nt(i,2),zs):y}function Nv(t){return Pn(t,ri)}function Rv(t,i){return Pn(t,nt(i,2))}function qv(t){return t&&t.length?fs(t,ri,Js):y}function Pv(t,i){return t&&t.length?fs(t,nt(i,2),Js):y}var Mv=vs(function(t,i){return t*i},1),Hv=fa("round"),jv=vs(function(t,i){return t-i},0);function Bv(t){return t&&t.length?gi(t,ri):0}function Fv(t,i){return t&&t.length?gi(t,nt(i,2)):0}return B.after=lp,B.ary=qf,B.assign=Yp,B.assignIn=Qf,B.assignInWith=Xf,B.assignWith=Sa,B.at=Jp,B.before=Pf,B.bind=wa,B.bindAll=iv,B.bindKey=Mf,B.castArray=Tp,B.chain=If,B.chunk=Od,B.compact=Id,B.concat=Nd,B.cond=rv,B.conforms=ov,B.constant=Da,B.countBy=Fh,B.create=Zp,B.curry=Hf,B.curryRight=jf,B.debounce=Bf,B.defaults=eg,B.defaultsDeep=tg,B.defer=cp,B.delay=dp,B.difference=Rd,B.differenceBy=qd,B.differenceWith=Pd,B.drop=Md,B.dropRight=Hd,B.dropRightWhile=jd,B.dropWhile=Bd,B.fill=Fd,B.filter=Wh,B.flatMap=Vh,B.flatMapDeep=Gh,B.flatMapDepth=zh,B.flatten=kf,B.flattenDeep=$d,B.flattenDepth=Wd,B.flip=hp,B.flow=av,B.flowRight=uv,B.fromPairs=Ud,B.functions=ug,B.functionsIn=fg,B.groupBy=Qh,B.initial=Vd,B.intersection=Gd,B.intersectionBy=zd,B.intersectionWith=Qd,B.invert=cg,B.invertBy=dg,B.invokeMap=Yh,B.iteratee=La,B.keyBy=Jh,B.keys=An,B.keysIn=ii,B.map=_s,B.mapKeys=pg,B.mapValues=gg,B.matches=fv,B.matchesProperty=lv,B.memoize=Ss,B.merge=vg,B.mergeWith=Yf,B.method=cv,B.methodOf=dv,B.mixin=Oa,B.negate=Es,B.nthArg=pv,B.omit=yg,B.omitBy=mg,B.once=pp,B.orderBy=Zh,B.over=gv,B.overArgs=gp,B.overEvery=vv,B.overSome=yv,B.partial=Ta,B.partialRight=Ff,B.partition=ep,B.pick=bg,B.pickBy=Jf,B.property=ol,B.propertyOf=mv,B.pull=Zd,B.pullAll=Lf,B.pullAllBy=eh,B.pullAllWith=th,B.pullAt=nh,B.range=bv,B.rangeRight=xv,B.rearg=vp,B.reject=ip,B.remove=ih,B.rest=yp,B.reverse=ba,B.sampleSize=op,B.set=wg,B.setWith=Tg,B.shuffle=sp,B.slice=rh,B.sortBy=fp,B.sortedUniq=ch,B.sortedUniqBy=dh,B.split=Kg,B.spread=mp,B.tail=hh,B.take=ph,B.takeRight=gh,B.takeRightWhile=vh,B.takeWhile=yh,B.tap=Ih,B.throttle=bp,B.thru=Ts,B.toArray=Vf,B.toPairs=Zf,B.toPairsIn=el,B.toPath=Sv,B.toPlainObject=zf,B.transform=_g,B.unary=xp,B.union=mh,B.unionBy=bh,B.unionWith=xh,B.uniq=wh,B.uniqBy=Th,B.uniqWith=_h,B.unset=Cg,B.unzip=xa,B.unzipWith=Of,B.update=Sg,B.updateWith=Eg,B.values=ko,B.valuesIn=Ag,B.without=Ch,B.words=il,B.wrap=wp,B.xor=Sh,B.xorBy=Eh,B.xorWith=Ah,B.zip=kh,B.zipObject=Dh,B.zipObjectDeep=Lh,B.zipWith=Oh,B.entries=Zf,B.entriesIn=el,B.extend=Qf,B.extendWith=Xf,Oa(B,B),B.add=Av,B.attempt=rl,B.camelCase=Og,B.capitalize=tl,B.ceil=kv,B.clamp=kg,B.clone=_p,B.cloneDeep=Sp,B.cloneDeepWith=Ep,B.cloneWith=Cp,B.conformsTo=Ap,B.deburr=nl,B.defaultTo=sv,B.divide=Dv,B.endsWith=Ig,B.eq=zi,B.escape=Ng,B.escapeRegExp=Rg,B.every=$h,B.find=Uh,B.findIndex=Ef,B.findKey=ng,B.findLast=Kh,B.findLastIndex=Af,B.findLastKey=ig,B.floor=Lv,B.forEach=Nf,B.forEachRight=Rf,B.forIn=rg,B.forInRight=og,B.forOwn=sg,B.forOwnRight=ag,B.get=Ea,B.gt=kp,B.gte=Dp,B.has=lg,B.hasIn=Aa,B.head=Df,B.identity=ri,B.includes=Xh,B.indexOf=Kd,B.inRange=Dg,B.invoke=hg,B.isArguments=yo,B.isArray=lt,B.isArrayBuffer=Lp,B.isArrayLike=ni,B.isArrayLikeObject=dn,B.isBoolean=Op,B.isBuffer=so,B.isDate=Ip,B.isElement=Np,B.isEmpty=Rp,B.isEqual=qp,B.isEqualWith=Pp,B.isError=_a,B.isFinite=Mp,B.isFunction=Pr,B.isInteger=$f,B.isLength=As,B.isMap=Wf,B.isMatch=Hp,B.isMatchWith=jp,B.isNaN=Bp,B.isNative=Fp,B.isNil=Wp,B.isNull=$p,B.isNumber=Uf,B.isObject=nn,B.isObjectLike=fn,B.isPlainObject=Go,B.isRegExp=Ca,B.isSafeInteger=Up,B.isSet=Kf,B.isString=ks,B.isSymbol=yi,B.isTypedArray=Ao,B.isUndefined=Kp,B.isWeakMap=Vp,B.isWeakSet=Gp,B.join=Xd,B.kebabCase=qg,B.last=Ri,B.lastIndexOf=Yd,B.lowerCase=Pg,B.lowerFirst=Mg,B.lt=zp,B.lte=Qp,B.max=Ov,B.maxBy=Iv,B.mean=Nv,B.meanBy=Rv,B.min=qv,B.minBy=Pv,B.stubArray=Na,B.stubFalse=Ra,B.stubObject=wv,B.stubString=Tv,B.stubTrue=_v,B.multiply=Mv,B.nth=Jd,B.noConflict=hv,B.noop=Ia,B.now=Cs,B.pad=Hg,B.padEnd=jg,B.padStart=Bg,B.parseInt=Fg,B.random=Lg,B.reduce=tp,B.reduceRight=np,B.repeat=$g,B.replace=Wg,B.result=xg,B.round=Hv,B.runInContext=_,B.sample=rp,B.size=ap,B.snakeCase=Ug,B.some=up,B.sortedIndex=oh,B.sortedIndexBy=sh,B.sortedIndexOf=ah,B.sortedLastIndex=uh,B.sortedLastIndexBy=fh,B.sortedLastIndexOf=lh,B.startCase=Vg,B.startsWith=Gg,B.subtract=jv,B.sum=Bv,B.sumBy=Fv,B.template=zg,B.times=Cv,B.toFinite=Mr,B.toInteger=ht,B.toLength=Gf,B.toLower=Qg,B.toNumber=qi,B.toSafeInteger=Xp,B.toString=Ht,B.toUpper=Xg,B.trim=Yg,B.trimEnd=Jg,B.trimStart=Zg,B.truncate=ev,B.unescape=tv,B.uniqueId=Ev,B.upperCase=nv,B.upperFirst=ka,B.each=Nf,B.eachRight=Rf,B.first=Df,Oa(B,(function(){var t={};return fr(B,function(i,f){Tt.call(B.prototype,f)||(t[f]=i)}),t})(),{chain:!1}),B.VERSION=te,q(["bind","bindKey","curry","curryRight","partial","partialRight"],function(t){B[t].placeholder=B}),q(["drop","take"],function(t,i){_t.prototype[t]=function(f){f=f===y?1:_n(ht(f),0);var m=this.__filtered__&&!i?new _t(this):this.clone();return m.__filtered__?m.__takeCount__=Hn(f,m.__takeCount__):m.__views__.push({size:Hn(f,_e),type:t+(m.__dir__<0?"Right":"")}),m},_t.prototype[t+"Right"]=function(f){return this.reverse()[t](f).reverse()}}),q(["filter","map","takeWhile"],function(t,i){var f=i+1,m=f==pt||f==D;_t.prototype[t]=function(I){var W=this.clone();return W.__iteratees__.push({iteratee:nt(I,3),type:f}),W.__filtered__=W.__filtered__||m,W}}),q(["head","last"],function(t,i){var f="take"+(i?"Right":"");_t.prototype[t]=function(){return this[f](1).value()[0]}}),q(["initial","tail"],function(t,i){var f="drop"+(i?"":"Right");_t.prototype[t]=function(){return this.__filtered__?new _t(this):this[f](1)}}),_t.prototype.compact=function(){return this.filter(ri)},_t.prototype.find=function(t){return this.filter(t).head()},_t.prototype.findLast=function(t){return this.reverse().find(t)},_t.prototype.invokeMap=yt(function(t,i){return typeof t=="function"?new _t(this):this.map(function(f){return Fo(f,t,i)})}),_t.prototype.reject=function(t){return this.filter(Es(nt(t)))},_t.prototype.slice=function(t,i){t=ht(t);var f=this;return f.__filtered__&&(t>0||i<0)?new _t(f):(t<0?f=f.takeRight(-t):t&&(f=f.drop(t)),i!==y&&(i=ht(i),f=i<0?f.dropRight(-i):f.take(i-t)),f)},_t.prototype.takeRightWhile=function(t){return this.reverse().takeWhile(t).reverse()},_t.prototype.toArray=function(){return this.take(_e)},fr(_t.prototype,function(t,i){var f=/^(?:filter|find|map|reject)|While$/.test(i),m=/^(?:head|last)$/.test(i),I=B[m?"take"+(i=="last"?"Right":""):i],W=m||/^find/.test(i);I&&(B.prototype[i]=function(){var ee=this.__wrapped__,ne=m?[1]:arguments,ae=ee instanceof _t,we=ne[0],Te=ae||lt(ee),Ee=function(xt){var Et=I.apply(B,Ie([xt],ne));return m&&Be?Et[0]:Et};Te&&f&&typeof we=="function"&&we.length!=1&&(ae=Te=!1);var Be=this.__chain__,Ge=!!this.__actions__.length,it=W&&!Be,vt=ae&&!Ge;if(!W&&Te){ee=vt?ee:new _t(this);var Ze=t.apply(ee,ne);return Ze.__actions__.push({func:Ts,args:[Ee],thisArg:y}),new Oi(Ze,Be)}return it&&vt?t.apply(this,ne):(Ze=this.thru(Ee),it?m?Ze.value()[0]:Ze.value():Ze)})}),q(["pop","push","shift","sort","splice","unshift"],function(t){var i=ze[t],f=/^(?:push|sort|unshift)$/.test(t)?"tap":"thru",m=/^(?:pop|shift)$/.test(t);B.prototype[t]=function(){var I=arguments;if(m&&!this.__chain__){var W=this.value();return i.apply(lt(W)?W:[],I)}return this[f](function(ee){return i.apply(lt(ee)?ee:[],I)})}}),fr(_t.prototype,function(t,i){var f=B[i];if(f){var m=f.name+"";Tt.call(To,m)||(To[m]=[]),To[m].push({name:i,func:f})}}),To[gs(y,N).name]=[{name:"wrapper",func:y}],_t.prototype.clone=nc,_t.prototype.reverse=ic,_t.prototype.value=rc,B.prototype.at=Nh,B.prototype.chain=Rh,B.prototype.commit=qh,B.prototype.next=Ph,B.prototype.plant=Hh,B.prototype.reverse=jh,B.prototype.toJSON=B.prototype.valueOf=B.prototype.value=Bh,B.prototype.first=B.prototype.head,Ro&&(B.prototype[Ro]=Mh),B}),L=O();gn?((gn.exports=L)._=L,Zn._=L):Gt._=L}).call(al)})(Do,Do.exports)),Do.exports}var Ds,ja;function Lo(){if(ja)return Ds;ja=1;var V=mo().forEach,R=769,y={};return Array.prototype.indexOf||(Array.prototype.indexOf=function(te,oe){for(var le=oe||0,be=this.length;le<be;le++)if(this[le]===te)return le;return-1}),y.documentReady=function(te){this.addEvent(document,"DOMContentLoaded",te),this.addEvent(window,"load",te)},y.addEvent=function(te,oe,le){te.addEventListener?te.addEventListener(oe,le,!1):te.attachEvent&&te.attachEvent("on"+oe,le)},y.removeEvent=function(te,oe,le){te.removeEventListener?te.removeEventListener(oe,le,!1):te.detachEvent&&te.detachEvent("on"+oe,le)},y.target=function(te){return te.target||te.srcElement},y.triggerEvent=function(te,oe){var le;document.createEvent?(le=new Event(oe),te.dispatchEvent(le)):(le=document.createEventObject(),te.fireEvent("on"+oe,le))},y.preventDefault=function(te){te.preventDefault?te.preventDefault():event.returnValue=!1},y.hasClass=function(te,oe){return te.className.split(/\s/).indexOf(oe)!==-1},y.addClass=function(te,oe){var le=te.className;le===""?te.className=oe:(le=le.split(" "),le.indexOf(oe)!==-1&&this.stripClasses(le,oe),le.push(oe),te.className=le.join(" "))},y.addClasses=function(te,oe){V(oe,function(le){y.addClass(te,le)})},y.stripClasses=function(te,oe){for(var le=0;le<te.length;le++)te[le]===oe&&(te.splice(le,1),--le)},y.removeClass=function(te,oe){var le=te.className;le!==""&&(le=le.split(" "),this.stripClasses(le,oe),te.className=le.join(" "))},y.getElementsByClass=function(te,oe,le){if(te.getElementsByClassName)return te.getElementsByClassName(le);var be=[];return V(te.getElementsByTagName(oe),function(Pe){y.hasClass(Pe,le)&&be.push(Pe)}),be},y.once=function(te,oe,le){te&&(te.started=te.started||{},te.started[oe]||(te.started[oe]=!0,le(te)))},y.viewportWidth=function(){return window.innerWidth||document.documentElement.clientWidth||document.body.clientWidth},y.scrollY=function(){return window.scrollY||document.documentElement.scrollTop||document.body.scrollTop},y.isDesktop=function(){return y.viewportWidth()>=R},y.isJSWindow=function(){return window.opener!==null},y.getStyle=function(te,oe){var le="";return document.defaultView&&document.defaultView.getComputedStyle?le=document.defaultView.getComputedStyle(te,"").getPropertyValue(oe):te.currentStyle&&(oe=oe.replace(/\-(\w)/g,function(be,Pe){return Pe.toUpperCase()}),le=te.currentStyle[oe]),le},y.pagehide=function(te){"onpagehide"in window?y.addEvent(window,"pagehide",te):y.addEvent(window,"unload",te)},Ds=y,Ds}var Ls,Ba;function ul(){if(Ba)return Ls;Ba=1;var V=mo().forEach,R=mo().groupBy,y="form-focus",te=Lo(),oe,le="block-label",be="focused",Pe="selected";function ke(k){te.addClass(te.target(k).parentNode,be)}function Le(k){te.removeClass(te.target(k).parentNode,be)}function Ke(k,j){j=j||te.target(k),V(oe[j.name],function(S){S.checked?te.addClass(S.parentNode,Pe):te.removeClass(S.parentNode,Pe)})}function Ne(k){if(te.hasClass(k,le)){var j=k.getElementsByTagName("input")[0];j&&j.type&&j.type.match(/radio|checkbox/)&&(te.addEvent(j,"focus",ke),te.addEvent(j,"blur",Le),te.addEvent(j,"click",Ke),Ke(null,j))}}function De(k){te.addEvent(k,"focus",ke),te.addEvent(k,"blur",Le)}function $(k){oe=R(document.getElementsByTagName("input"),"name");for(var j=0,S=k.length;j<S;j++)te.once(k[j],y,Ne)}function H(){var k=document.getElementsByTagName("form"),j=window.location.hash.replace(/^#/,""),S=window.location.pathname.split("/").pop(),N,A,P=j&&S==="edit";j&&document.getElementById(j)&&P&&document.getElementById(j).focus(),j&&document.getElementById(j+"-group")&&P&&document.getElementById(j+"-group").scrollIntoView(),document.getElementById(j+"-day")&&k.length===1&&P&&document.getElementById(j+"-day").focus(),document.getElementById(j+"-amount")&&k.length===1&&P&&document.getElementById(j+"-amount").focus(),k.length>0&&(N=document.getElementsByTagName("label"),N&&$(N)),A=document.getElementsByTagName("summary");for(var z=0,p=A.length;z<p;z++)te.once(A[z],y,De)}return Ls=H,Ls}var Os,Fa;function fl(){if(Fa)return Os;Fa=1;var V=mo().forEach,R=mo().groupBy,y=Lo(),te,oe,le="data-toggle",be="govuk-checkboxes__conditional--hidden",Pe="govuk-radios__conditional--hidden";function ke(Ne,De){De=De||y.target(Ne);var $;V(oe[De.name],function(H){var k=H.type.match(/checkbox/)?be:Pe,j=H.getAttribute("aria-controls"),S=document.getElementById(j);if(S)if(H.checked){S.setAttribute("aria-hidden","false"),y.removeClass(S,k),$=S.id;var N=S.querySelectorAll("input,textarea")[0];H===De&&N&&N.focus()}else $!==S.id&&(S.setAttribute("aria-hidden","true"),y.addClass(S,k))})}function Le(Ne){var De=Ne.getAttribute(le),$=document.getElementById(De+"-panel")?De+"-panel":De,H=document.getElementById($);H&&(Ne.setAttribute("aria-controls",$),ke(null,Ne)),y.addEvent(Ne,"click",ke)}function Ke(){var Ne=document.getElementsByTagName("form"),De;if(Ne.length>0){te=document.querySelectorAll("input,textarea"),oe=R(te,"name");for(var $=0,H=te.length;$<H;$++)De=te[$],De.type.match(/radio|checkbox/)&&y.once(De,"progressive-reveal",Le)}}return Os=Ke,Os}var Is,$a;function ll(){if($a)return Is;$a=1;var V=mo().forEach,R=Lo(),y="VALIDATION",te;function oe(ke){var Le=R.target(ke),Ke=Le.getAttribute("href").replace(/^#/,""),Ne=document.getElementById(Ke+"-group")||document.getElementById(Ke),De;if(Ne&&(Ne.getElementsByTagName("input").length?De=Ne.getElementsByTagName("input"):Ne.getElementsByTagName("textarea").length?De=Ne.getElementsByTagName("textarea"):Ne.getElementsByTagName("select").length&&(De=Ne.getElementsByTagName("select")),De))if(De[0].getAttribute("type")==="hidden"){var $=Ne.querySelectorAll("input[type=text]");$[0].focus()}else De[0].focus()}function le(ke){ke.keyCode===32&&oe(ke)}function be(ke){ke.focus();var Le=ke.getElementsByTagName("a");V(Le,function(Ke){R.addEvent(Ke,"click",oe),R.addEvent(Ke,"keydown",le)})}function Pe(){var ke=[];document.getElementById("content")&&(ke=R.getElementsByClass(document.getElementById("content"),"div","validation-summary")),ke.length&&(te=ke[0],R.once(te,y,function(Le){be(Le)}))}return Is=Pe,Is}var Wa={},Ua;function cl(){return Ua||(Ua=1,(function(){var V=typeof document.createElement("details").open=="boolean";function R(be,Pe,ke){be.addEventListener?be.addEventListener(Pe,function(Le){ke(Le,Le.target)},!1):be.attachEvent&&be.attachEvent("on"+Pe,function(Le){ke(Le,Le.srcElement)})}function y(be,Pe){R(be,"keypress",function(ke,Le){Le.nodeName==="SUMMARY"&&ke.keyCode===32&&(ke.preventDefault?ke.preventDefault():ke.returnValue=!1)}),R(be,"keyup",function(ke,Le){(ke.keyCode===13||ke.keyCode===32)&&Pe(ke,Le)}),R(be,"mouseup",function(ke,Le){Pe(ke,Le)})}function te(be,Pe){do if(!be||be.nodeName.toLowerCase()===Pe)break;while(be=be.parentNode);return be}var oe=!1;function le(be){if(oe||(oe=!0,(be=document.getElementsByTagName("details")).length===0))return;var Pe=be.length,ke=0;for(ke;ke<Pe;ke++){var Le=be[ke];Le.__summary=Le.getElementsByTagName("summary").item(0),Le.__content=Le.getElementsByTagName("div").item(0),Le.__content.id||(Le.__content.id="details-content-"+ke),Le.setAttribute("role","group"),Le.__summary.setAttribute("role","button"),Le.__summary.setAttribute("aria-controls",Le.__content.id),V||(Le.__summary.tabIndex=0);var Ke=Le.getAttribute("open")!==null;if(Ke===!0?(Le.__summary.setAttribute("aria-expanded","true"),Le.__content.setAttribute("aria-hidden","false")):(Le.__summary.setAttribute("aria-expanded","false"),Le.__content.setAttribute("aria-hidden","true"),V||(Le.__content.style.display="none")),Le.__summary.__details=Le,!V){var Ne=document.createElement("i");Ke===!0?(Ne.className="arrow arrow-open",Ne.appendChild(document.createTextNode("▼"))):(Ne.className="arrow arrow-closed",Ne.appendChild(document.createTextNode("►"))),Le.__summary.__twisty=Le.__summary.insertBefore(Ne,Le.__summary.firstChild),Le.__summary.__twisty.setAttribute("aria-hidden","true")}}function De($){var H=$.__details.__summary.getAttribute("aria-expanded")==="true",k=$.__details.__content.getAttribute("aria-hidden")==="true";if($.__details.__summary.setAttribute("aria-expanded",H?"false":"true"),$.__details.__content.setAttribute("aria-hidden",k?"false":"true"),!V){$.__details.__content.style.display=H?"none":"";var j=$.__details.getAttribute("open")!==null;j?$.__details.removeAttribute("open"):$.__details.setAttribute("open","open")}return $.__twisty&&($.__twisty.firstChild.nodeValue=H?"►":"▼",$.__twisty.setAttribute("class",H?"arrow arrow-closed":"arrow arrow-open")),!0}y(document,function($,H){return(H=te(H,"summary"))?De(H):!0})}R(document,"DOMContentLoaded",le),R(window,"load",le)})()),Wa}var Ns,Ka;function dl(){if(Ka)return Ns;Ka=1;var V=Lo();R.prototype.updateCount=function(){var te=this.$textarea.value.length,oe=" characters",le=" remaining";(this.maxLength-te===1||te-this.maxLength===1)&&(oe=" character"),this.maxLength-te<0&&(le=" too many");function be(ke){for(var Le=/(\d+)(\d{3})/;Le.test(ke);)ke=ke.replace(Le,"$1,$2");return ke}var Pe=be(Math.abs(this.maxLength-te).toString());this.$maxlengthHint.innerHTML="You have "+Pe+oe+le,te>=this.maxLength+1?(V.removeClass(this.$maxlengthHint,"govuk-hint"),V.addClass(this.$maxlengthHint,"govuk-error-message"),V.addClass(this.$textarea,"textarea-error")):(V.addClass(this.$maxlengthHint,"govuk-hint"),V.removeClass(this.$maxlengthHint,"govuk-error-message"),V.removeClass(this.$textarea,"textarea-error"))},R.prototype.checkIfLengthChanged=function(){this.$textarea.length!==this.oldLength&&(this.updateCount(),this.oldLength=this.$textarea.value.length)},R.prototype.handleFocus=function(){this.lengthChecker=setInterval(this.checkIfLengthChanged.bind(this),1e3)},R.prototype.handleBlur=function(){clearInterval(this.lengthChecker)},R.prototype.init=function(){this.updateCount(),this.$textarea.removeAttribute("maxlength"),V.addEvent(this.$textarea,"input",this.updateCount.bind(this)),V.addEvent(this.$textarea,"focus",this.handleFocus.bind(this)),V.addEvent(this.$textarea,"blur",this.handleBlur.bind(this))};function R(te){this.$textarea=te,this.$maxlengthHint=document.querySelector("[id="+this.$textarea.id+"-maxlength-hint]"),this.maxLength=parseInt(this.$textarea.getAttribute("maxlength")),this.oldLength=0}function y(){for(var te=document.getElementsByTagName("textarea"),oe=0;oe<te.length;oe++)te[oe].hasAttribute("maxlength")&&new R(te[oe]).init()}return Ns=y,Ns}var Rs,Va;function hl(){return Va||(Va=1,Rs={helpers:Lo(),formFocus:ul(),progressiveReveal:fl(),validation:ll(),detailsSummary:function(){cl()},characterCount:dl()}),Rs}var Oo={exports:{}},pl=Oo.exports,Ga;function gl(){return Ga||(Ga=1,(function(V,R){(function(y,te){te(R)})(pl,(function(y){var te="4.10.1";function oe(D,G){if(window.NodeList.prototype.forEach)return D.forEach(G);for(var Q=0;Q<D.length;Q++)G.call(window,D[Q],Q,D)}function le(){var D=new Date().getTime();return typeof window.performance<"u"&&typeof window.performance.now=="function"&&(D+=window.performance.now()),"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(G){var Q=(D+Math.random()*16)%16|0;return D=Math.floor(D/16),(G==="x"?Q:Q&3|8).toString(16)})}function be(){for(var D=function(_e){var xe={},de=function(Re,Ce){for(var qe in Re)if(Object.prototype.hasOwnProperty.call(Re,qe)){var et=Re[qe],tt=Ce?Ce+"."+qe:qe;typeof et=="object"?de(et,tt):xe[tt]=et}};return de(_e),xe},G={},Q=0;Q<arguments.length;Q++){var pe=D(arguments[Q]);for(var ye in pe)Object.prototype.hasOwnProperty.call(pe,ye)&&(G[ye]=pe[ye])}return G}function Pe(D,G){if(!D||typeof D!="object")throw new Error('Provide a `configObject` of type "object".');var Q={};for(var pe in D){var ye=pe.split(".");if(Object.prototype.hasOwnProperty.call(D,pe)&&ye[0]===G){ye.length>1&&ye.shift();var _e=ye.join(".");Q[_e]=D[pe]}}return Q}(function(D){var G="defineProperty"in Object&&(function(){try{var Q={};return Object.defineProperty(Q,"test",{value:42}),!0}catch{return!1}})();G||(function(Q){var pe=Object.prototype.hasOwnProperty("__defineGetter__"),ye="Getters & setters cannot be defined on this javascript engine",_e="A property cannot both have accessors and be writable or have a value";Object.defineProperty=function(de,Re,Ce){if(Q&&(de===window||de===document||de===Element.prototype||de instanceof Element))return Q(de,Re,Ce);if(de===null||!(de instanceof Object||typeof de=="object"))throw new TypeError("Object.defineProperty called on non-object");if(!(Ce instanceof Object))throw new TypeError("Property description must be an object");var qe=String(Re),et="value"in Ce||"writable"in Ce,tt="get"in Ce&&typeof Ce.get,We="set"in Ce&&typeof Ce.set;if(tt){if(tt!=="function")throw new TypeError("Getter must be a function");if(!pe)throw new TypeError(ye);if(et)throw new TypeError(_e);Object.__defineGetter__.call(de,qe,Ce.get)}else de[qe]=Ce.value;if(We){if(We!=="function")throw new TypeError("Setter must be a function");if(!pe)throw new TypeError(ye);if(et)throw new TypeError(_e);Object.__defineSetter__.call(de,qe,Ce.set)}return"value"in Ce&&(de[qe]=Ce.value),de}})(Object.defineProperty)}).call(typeof window=="object"&&window||typeof self=="object"&&self||typeof At=="object"&&At||{}),(function(D){var G="Document"in this;G||typeof WorkerGlobalScope>"u"&&typeof importScripts!="function"&&(this.HTMLDocument?this.Document=this.HTMLDocument:(this.Document=this.HTMLDocument=document.constructor=new Function("return function Document() {}")(),this.Document.prototype=document))}).call(typeof window=="object"&&window||typeof self=="object"&&self||typeof At=="object"&&At||{}),(function(D){var G="Element"in this&&"HTMLElement"in this;G||(function(){if(window.Element&&!window.HTMLElement){window.HTMLElement=window.Element;return}window.Element=window.HTMLElement=new Function("return function Element() {}")();var Q=document.appendChild(document.createElement("body")),pe=Q.appendChild(document.createElement("iframe")),ye=pe.contentWindow.document,_e=Element.prototype=ye.appendChild(ye.createElement("*")),xe={},de=function(We,Ue){var ct=We.childNodes||[],st=-1,Qe,Xe,at;if(We.nodeType===1&&We.constructor!==Element){We.constructor=Element;for(Qe in xe)Xe=xe[Qe],We[Qe]=Xe}for(;at=Ue&&ct[++st];)de(at,Ue);return We},Re=document.getElementsByTagName("*"),Ce=document.createElement,qe,et=100;_e.attachEvent("onpropertychange",function(We){for(var Ue=We.propertyName,ct=!xe.hasOwnProperty(Ue),st=_e[Ue],Qe=xe[Ue],Xe=-1,at;at=Re[++Xe];)at.nodeType===1&&(ct||at[Ue]===Qe)&&(at[Ue]=st);xe[Ue]=st}),_e.constructor=Element,_e.hasAttribute||(_e.hasAttribute=function(Ue){return this.getAttribute(Ue)!==null});function tt(){return et--||clearTimeout(qe),document.body&&!document.body.prototype&&/(complete|interactive)/.test(document.readyState)?(de(document,!0),qe&&document.body.prototype&&clearTimeout(qe),!!document.body.prototype):!1}tt()||(document.onreadystatechange=tt,qe=setInterval(tt,25)),document.createElement=function(Ue){var ct=Ce(String(Ue).toLowerCase());return de(ct)},document.removeChild(Q)})()}).call(typeof window=="object"&&window||typeof self=="object"&&self||typeof At=="object"&&At||{}),(function(D){var G=(function(){if(!document.documentElement.dataset)return!1;var Q=document.createElement("div");return Q.setAttribute("data-a-b","c"),Q.dataset&&Q.dataset.aB=="c"})();G||Object.defineProperty(Element.prototype,"dataset",{get:function(){for(var Q=this,pe=this.attributes,ye={},_e=0;_e<pe.length;_e++){var xe=pe[_e];if(xe&&xe.name&&/^data-\w[.\w-]*$/.test(xe.name)){var de=xe.name,Re=xe.value,Ce=de.substr(5).replace(/-./g,function(qe){return qe.charAt(1).toUpperCase()});"__defineGetter__"in Object.prototype&&"__defineSetter__"in Object.prototype?Object.defineProperty(ye,Ce,{enumerable:!0,get:(function(){return this.value}).bind({value:Re||""}),set:(function(et,tt){typeof tt<"u"?this.setAttribute(et,tt):this.removeAttribute(et)}).bind(Q,de)}):ye[Ce]=Re}}return ye}})}).call(typeof window=="object"&&window||typeof self=="object"&&self||typeof At=="object"&&At||{}),(function(D){var G="trim"in String.prototype;G||(String.prototype.trim=function(){return this.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")})}).call(typeof window=="object"&&window||typeof self=="object"&&self||typeof At=="object"&&At||{});function ke(D){if(typeof D!="string")return D;var G=D.trim();return G==="true"?!0:G==="false"?!1:G.length>0&&isFinite(Number(G))?Number(G):D}function Le(D){var G={};for(var Q in D)G[Q]=ke(D[Q]);return G}function Ke(D,G){this.translations=D||{},this.locale=G&&G.locale||document.documentElement.lang||"en"}Ke.prototype.t=function(D,G){if(!D)throw new Error("i18n: lookup key missing");G&&typeof G.count=="number"&&(D=D+"."+this.getPluralSuffix(D,G.count));var Q=this.translations[D];if(typeof Q=="string")if(Q.match(/%{(.\S+)}/)){if(!G)throw new Error("i18n: cannot replace placeholders in string if no option data provided");return this.replacePlaceholders(Q,G)}else return Q;else return D},Ke.prototype.replacePlaceholders=function(D,G){var Q;return this.hasIntlNumberFormatSupport()&&(Q=new Intl.NumberFormat(this.locale)),D.replace(/%{(.\S+)}/g,function(pe,ye){if(Object.prototype.hasOwnProperty.call(G,ye)){var _e=G[ye];return _e===!1||typeof _e!="number"&&typeof _e!="string"?"":typeof _e=="number"?Q?Q.format(_e):_e.toString():_e}else throw new Error("i18n: no data found to replace "+pe+" placeholder in string")})},Ke.prototype.hasIntlPluralRulesSupport=function(){return!!(window.Intl&&"PluralRules"in window.Intl&&Intl.PluralRules.supportedLocalesOf(this.locale).length)},Ke.prototype.hasIntlNumberFormatSupport=function(){return!!(window.Intl&&"NumberFormat"in window.Intl&&Intl.NumberFormat.supportedLocalesOf(this.locale).length)},Ke.prototype.getPluralSuffix=function(D,G){if(G=Number(G),!isFinite(G))return"other";var Q;if(this.hasIntlPluralRulesSupport()?Q=new Intl.PluralRules(this.locale).select(G):Q=this.selectPluralFormUsingFallbackRules(G),D+"."+Q in this.translations)return Q;if(D+".other"in this.translations)return console&&"warn"in console&&console.warn('i18n: Missing plural form ".'+Q+'" for "'+this.locale+'" locale. Falling back to ".other".'),"other";throw new Error('i18n: Plural form ".other" is required for "'+this.locale+'" locale')},Ke.prototype.selectPluralFormUsingFallbackRules=function(D){D=Math.abs(Math.floor(D));var G=this.getPluralRulesForLocale();return G?Ke.pluralRules[G](D):"other"},Ke.prototype.getPluralRulesForLocale=function(){var D=this.locale,G=D.split("-")[0];for(var Q in Ke.pluralRulesMap)if(Object.prototype.hasOwnProperty.call(Ke.pluralRulesMap,Q)){for(var pe=Ke.pluralRulesMap[Q],ye=0;ye<pe.length;ye++)if(pe[ye]===D||pe[ye]===G)return Q}},Ke.pluralRulesMap={arabic:["ar"],chinese:["my","zh","id","ja","jv","ko","ms","th","vi"],french:["hy","bn","fr","gu","hi","fa","pa","zu"],german:["af","sq","az","eu","bg","ca","da","nl","en","et","fi","ka","de","el","hu","lb","no","so","sw","sv","ta","te","tr","ur"],irish:["ga"],russian:["ru","uk"],scottish:["gd"],spanish:["pt-PT","it","es"],welsh:["cy"]},Ke.pluralRules={arabic:function(D){return D===0?"zero":D===1?"one":D===2?"two":D%100>=3&&D%100<=10?"few":D%100>=11&&D%100<=99?"many":"other"},chinese:function(){return"other"},french:function(D){return D===0||D===1?"one":"other"},german:function(D){return D===1?"one":"other"},irish:function(D){return D===1?"one":D===2?"two":D>=3&&D<=6?"few":D>=7&&D<=10?"many":"other"},russian:function(D){var G=D%100,Q=G%10;return Q===1&&G!==11?"one":Q>=2&&Q<=4&&!(G>=12&&G<=14)?"few":Q===0||Q>=5&&Q<=9||G>=11&&G<=14?"many":"other"},scottish:function(D){return D===1||D===11?"one":D===2||D===12?"two":D>=3&&D<=10||D>=13&&D<=19?"few":"other"},spanish:function(D){return D===1?"one":D%1e6===0&&D!==0?"many":"other"},welsh:function(D){return D===0?"zero":D===1?"one":D===2?"two":D===3?"few":D===6?"many":"other"}},(function(D){var G="DOMTokenList"in this&&(function(Q){return"classList"in Q?!Q.classList.toggle("x",!1)&&!Q.className:!0})(document.createElement("x"));G||(function(Q){var pe="DOMTokenList"in Q&&Q.DOMTokenList;(!pe||document.createElementNS&&document.createElementNS("http://www.w3.org/2000/svg","svg")&&!(document.createElementNS("http://www.w3.org/2000/svg","svg").classList instanceof DOMTokenList))&&(Q.DOMTokenList=(function(){var ye=!0,_e=function(de,Re,Ce,qe){Object.defineProperty?Object.defineProperty(de,Re,{configurable:ye===!1?!0:!!qe,get:Ce}):de.__defineGetter__(Re,Ce)};try{_e({},"support")}catch{ye=!1}var xe=function(de,Re){var Ce=this,qe=[],et={},tt=0,We=0,Ue=function(Qe){_e(Ce,Qe,function(){return st(),qe[Qe]},!1)},ct=function(){if(tt>=We)for(;We<tt;++We)Ue(We)},st=function(){var Qe,Xe,at=arguments,It=/\s+/;if(at.length){for(Xe=0;Xe<at.length;++Xe)if(It.test(at[Xe]))throw Qe=new SyntaxError('String "'+at[Xe]+'" contains an invalid character'),Qe.code=5,Qe.name="InvalidCharacterError",Qe}for(typeof de[Re]=="object"?qe=(""+de[Re].baseVal).replace(/^\s+|\s+$/g,"").split(It):qe=(""+de[Re]).replace(/^\s+|\s+$/g,"").split(It),qe[0]===""&&(qe=[]),et={},Xe=0;Xe<qe.length;++Xe)et[qe[Xe]]=!0;tt=qe.length,ct()};return st(),_e(Ce,"length",function(){return st(),tt}),Ce.toLocaleString=Ce.toString=function(){return st(),qe.join(" ")},Ce.item=function(Qe){return st(),qe[Qe]},Ce.contains=function(Qe){return st(),!!et[Qe]},Ce.add=function(){st.apply(Ce,Qe=arguments);for(var Qe,Xe,at=0,It=Qe.length;at<It;++at)Xe=Qe[at],et[Xe]||(qe.push(Xe),et[Xe]=!0);tt!==qe.length&&(tt=qe.length>>>0,typeof de[Re]=="object"?de[Re].baseVal=qe.join(" "):de[Re]=qe.join(" "),ct())},Ce.remove=function(){st.apply(Ce,Qe=arguments);for(var Qe,Xe={},at=0,It=[];at<Qe.length;++at)Xe[Qe[at]]=!0,delete et[Qe[at]];for(at=0;at<qe.length;++at)Xe[qe[at]]||It.push(qe[at]);qe=It,tt=It.length>>>0,typeof de[Re]=="object"?de[Re].baseVal=qe.join(" "):de[Re]=qe.join(" "),ct()},Ce.toggle=function(Qe,Xe){return st.apply(Ce,[Qe]),D!==Xe?Xe?(Ce.add(Qe),!0):(Ce.remove(Qe),!1):et[Qe]?(Ce.remove(Qe),!1):(Ce.add(Qe),!0)},Ce};return xe})()),(function(){var ye=document.createElement("span");"classList"in ye&&(ye.classList.toggle("x",!1),ye.classList.contains("x")&&(ye.classList.constructor.prototype.toggle=function(xe){var de=arguments[1];if(de===D){var Re=!this.contains(xe);return this[Re?"add":"remove"](xe),Re}return de=!!de,this[de?"add":"remove"](xe),de}))})(),(function(){var ye=document.createElement("span");if("classList"in ye&&(ye.classList.add("a","b"),!ye.classList.contains("b"))){var _e=ye.classList.constructor.prototype.add;ye.classList.constructor.prototype.add=function(){for(var xe=arguments,de=arguments.length,Re=0;Re<de;Re++)_e.call(this,xe[Re])}}})(),(function(){var ye=document.createElement("span");if("classList"in ye&&(ye.classList.add("a"),ye.classList.add("b"),ye.classList.remove("a","b"),!!ye.classList.contains("b"))){var _e=ye.classList.constructor.prototype.remove;ye.classList.constructor.prototype.remove=function(){for(var xe=arguments,de=arguments.length,Re=0;Re<de;Re++)_e.call(this,xe[Re])}}})()})(this)}).call(typeof window=="object"&&window||typeof self=="object"&&self||typeof At=="object"&&At||{}),(function(D){var G="document"in this&&"classList"in document.documentElement&&"Element"in this&&"classList"in Element.prototype&&(function(){var Q=document.createElement("span");return Q.classList.add("a","b"),Q.classList.contains("b")})();G||(function(Q){var pe=!0,ye=function(xe,de,Re,Ce){Object.defineProperty?Object.defineProperty(xe,de,{configurable:pe===!1?!0:!!Ce,get:Re}):xe.__defineGetter__(de,Re)};try{ye({},"support")}catch{pe=!1}var _e=function(xe,de,Re){ye(xe.prototype,de,function(){var Ce,qe=this,et="__defineGetter__DEFINE_PROPERTY"+de;if(qe[et])return Ce;if(qe[et]=!0,pe===!1){for(var tt,We=_e.mirror||document.createElement("div"),Ue=We.childNodes,ct=Ue.length,st=0;st<ct;++st)if(Ue[st]._R===qe){tt=Ue[st];break}tt||(tt=We.appendChild(document.createElement("div"))),Ce=DOMTokenList.call(tt,qe,Re)}else Ce=new DOMTokenList(qe,Re);return ye(qe,de,function(){return Ce}),delete qe[et],Ce},!0)};_e(Q.Element,"classList","className"),_e(Q.HTMLElement,"classList","className"),_e(Q.HTMLLinkElement,"relList","rel"),_e(Q.HTMLAnchorElement,"relList","rel"),_e(Q.HTMLAreaElement,"relList","rel")})(this)}).call(typeof window=="object"&&window||typeof self=="object"&&self||typeof At=="object"&&At||{}),(function(D){var G="document"in this&&"matches"in document.documentElement;G||(Element.prototype.matches=Element.prototype.webkitMatchesSelector||Element.prototype.oMatchesSelector||Element.prototype.msMatchesSelector||Element.prototype.mozMatchesSelector||function(pe){for(var ye=this,_e=(ye.document||ye.ownerDocument).querySelectorAll(pe),xe=0;_e[xe]&&_e[xe]!==ye;)++xe;return!!_e[xe]})}).call(typeof window=="object"&&window||typeof self=="object"&&self||typeof At=="object"&&At||{}),(function(D){var G="document"in this&&"closest"in document.documentElement;G||(Element.prototype.closest=function(pe){for(var ye=this;ye;){if(ye.matches(pe))return ye;ye="SVGElement"in window&&ye instanceof SVGElement?ye.parentNode:ye.parentElement}return null})}).call(typeof window=="object"&&window||typeof self=="object"&&self||typeof At=="object"&&At||{}),(function(D){var G="Window"in this;G||typeof WorkerGlobalScope>"u"&&typeof importScripts!="function"&&(function(Q){Q.constructor?Q.Window=Q.constructor:(Q.Window=Q.constructor=new Function("return function Window() {}")()).prototype=this})(this)}).call(typeof window=="object"&&window||typeof self=="object"&&self||typeof At=="object"&&At||{}),(function(D){var G=(function(Q){if(!("Event"in Q))return!1;if(typeof Q.Event=="function")return!0;try{return new Event("click"),!0}catch{return!1}})(this);G||(function(){var Q={click:1,dblclick:1,keyup:1,keypress:1,keydown:1,mousedown:1,mouseup:1,mousemove:1,mouseover:1,mouseenter:1,mouseleave:1,mouseout:1,storage:1,storagecommit:1,textinput:1};if(typeof document>"u"||typeof window>"u")return;function pe(_e,xe){for(var de=-1,Re=_e.length;++de<Re;)if(de in _e&&_e[de]===xe)return de;return-1}var ye=window.Event&&window.Event.prototype||null;window.Event=Window.prototype.Event=function(xe,de){if(!xe)throw new Error("Not enough arguments");var Re;if("createEvent"in document){Re=document.createEvent("Event");var Ce=de&&de.bubbles!==D?de.bubbles:!1,qe=de&&de.cancelable!==D?de.cancelable:!1;return Re.initEvent(xe,Ce,qe),Re}return Re=document.createEventObject(),Re.type=xe,Re.bubbles=de&&de.bubbles!==D?de.bubbles:!1,Re.cancelable=de&&de.cancelable!==D?de.cancelable:!1,Re},ye&&Object.defineProperty(window.Event,"prototype",{configurable:!1,enumerable:!1,writable:!0,value:ye}),"createEvent"in document||(window.addEventListener=Window.prototype.addEventListener=Document.prototype.addEventListener=Element.prototype.addEventListener=function(){var xe=this,de=arguments[0],Re=arguments[1];if(xe===window&&de in Q)throw new Error("In IE8 the event: "+de+" is not available on the window object. Please see https://github.com/Financial-Times/polyfill-service/issues/317 for more information.");xe._events||(xe._events={}),xe._events[de]||(xe._events[de]=function(Ce){var qe=xe._events[Ce.type].list,et=qe.slice(),tt=-1,We=et.length,Ue;for(Ce.preventDefault=function(){Ce.cancelable!==!1&&(Ce.returnValue=!1)},Ce.stopPropagation=function(){Ce.cancelBubble=!0},Ce.stopImmediatePropagation=function(){Ce.cancelBubble=!0,Ce.cancelImmediate=!0},Ce.currentTarget=xe,Ce.relatedTarget=Ce.fromElement||null,Ce.target=Ce.target||Ce.srcElement||xe,Ce.timeStamp=new Date().getTime(),Ce.clientX&&(Ce.pageX=Ce.clientX+document.documentElement.scrollLeft,Ce.pageY=Ce.clientY+document.documentElement.scrollTop);++tt<We&&!Ce.cancelImmediate;)tt in et&&(Ue=et[tt],pe(qe,Ue)!==-1&&typeof Ue=="function"&&Ue.call(xe,Ce))},xe._events[de].list=[],xe.attachEvent&&xe.attachEvent("on"+de,xe._events[de])),xe._events[de].list.push(Re)},window.removeEventListener=Window.prototype.removeEventListener=Document.prototype.removeEventListener=Element.prototype.removeEventListener=function(){var xe=this,de=arguments[0],Re=arguments[1],Ce;xe._events&&xe._events[de]&&xe._events[de].list&&(Ce=pe(xe._events[de].list,Re),Ce!==-1&&(xe._events[de].list.splice(Ce,1),xe._events[de].list.length||(xe.detachEvent&&xe.detachEvent("on"+de,xe._events[de]),delete xe._events[de])))},window.dispatchEvent=Window.prototype.dispatchEvent=Document.prototype.dispatchEvent=Element.prototype.dispatchEvent=function(xe){if(!arguments.length)throw new Error("Not enough arguments");if(!xe||typeof xe.type!="string")throw new Error("DOM Events Exception 0");var de=this,Re=xe.type;try{if(!xe.bubbles){xe.cancelBubble=!0;var Ce=function(qe){qe.cancelBubble=!0,(de||window).detachEvent("on"+Re,Ce)};this.attachEvent("on"+Re,Ce)}this.fireEvent("on"+Re,xe)}catch{xe.target=de;do xe.currentTarget=de,"_events"in de&&typeof de._events[Re]=="function"&&de._events[Re].call(de,xe),typeof de["on"+Re]=="function"&&de["on"+Re].call(de,xe),de=de.nodeType===9?de.parentWindow:de.parentNode;while(de&&!xe.cancelBubble)}return!0},document.attachEvent("onreadystatechange",function(){document.readyState==="complete"&&document.dispatchEvent(new Event("DOMContentLoaded",{bubbles:!0}))}))})()}).call(typeof window=="object"&&window||typeof self=="object"&&self||typeof At=="object"&&At||{}),(function(D){var G="bind"in Function.prototype;G||Object.defineProperty(Function.prototype,"bind",{value:function(pe){var ye=Array,_e=Object,xe=_e.prototype,de=ye.prototype,Re=function(){},Ce=xe.toString,qe=typeof Symbol=="function"&&typeof Symbol.toStringTag=="symbol",et,tt=Function.prototype.toString,We=function(ge){try{return tt.call(ge),!0}catch{return!1}},Ue="[object Function]",ct="[object GeneratorFunction]";et=function(ge){if(typeof ge!="function")return!1;if(qe)return We(ge);var rt=Ce.call(ge);return rt===Ue||rt===ct};var st=de.slice,Qe=de.concat,Xe=de.push,at=Math.max,It=this;if(!et(It))throw new TypeError("Function.prototype.bind called on incompatible "+It);for(var Ct=st.call(arguments,1),oi,Pi=function(){if(this instanceof oi){var bt=It.apply(this,Qe.call(Ct,st.call(arguments)));return _e(bt)===bt?bt:this}else return It.apply(pe,Qe.call(Ct,st.call(arguments)))},si=at(0,It.length-Ct.length),ft=[],Kt=0;Kt<si;Kt++)Xe.call(ft,"$"+Kt);return oi=Function("binder","return function ("+ft.join(",")+"){ return binder.apply(this, arguments); }")(Pi),It.prototype&&(Re.prototype=It.prototype,oi.prototype=new Re,Re.prototype=null),oi}})}).call(typeof window=="object"&&window||typeof self=="object"&&self||typeof At=="object"&&At||{});var Ne={hideAllSections:"Hide all sections",hideSection:"Hide",hideSectionAriaLabel:"Hide this section",showAllSections:"Show all sections",showSection:"Show",showSectionAriaLabel:"Show this section"};function De(D,G){if(!(D instanceof HTMLElement))return this;this.$module=D;var Q={i18n:Ne,rememberExpanded:!0};this.config=be(Q,G||{},Le(D.dataset)),this.i18n=new Ke(Pe(this.config,"i18n")),this.controlsClass="govuk-accordion__controls",this.showAllClass="govuk-accordion__show-all",this.showAllTextClass="govuk-accordion__show-all-text",this.sectionClass="govuk-accordion__section",this.sectionExpandedClass="govuk-accordion__section--expanded",this.sectionButtonClass="govuk-accordion__section-button",this.sectionHeaderClass="govuk-accordion__section-header",this.sectionHeadingClass="govuk-accordion__section-heading",this.sectionHeadingDividerClass="govuk-accordion__section-heading-divider",this.sectionHeadingTextClass="govuk-accordion__section-heading-text",this.sectionHeadingTextFocusClass="govuk-accordion__section-heading-text-focus",this.sectionShowHideToggleClass="govuk-accordion__section-toggle",this.sectionShowHideToggleFocusClass="govuk-accordion__section-toggle-focus",this.sectionShowHideTextClass="govuk-accordion__section-toggle-text",this.upChevronIconClass="govuk-accordion-nav__chevron",this.downChevronIconClass="govuk-accordion-nav__chevron--down",this.sectionSummaryClass="govuk-accordion__section-summary",this.sectionSummaryFocusClass="govuk-accordion__section-summary-focus",this.sectionContentClass="govuk-accordion__section-content";var pe=this.$module.querySelectorAll("."+this.sectionClass);if(!pe.length)return this;this.$sections=pe,this.browserSupportsSessionStorage=$.checkForSessionStorage(),this.$showAllButton=null,this.$showAllIcon=null,this.$showAllText=null}De.prototype.init=function(){if(!(!this.$module||!this.$sections)){this.initControls(),this.initSectionHeaders();var D=this.checkIfAllSectionsOpen();this.updateShowAllButton(D)}},De.prototype.initControls=function(){this.$showAllButton=document.createElement("button"),this.$showAllButton.setAttribute("type","button"),this.$showAllButton.setAttribute("class",this.showAllClass),this.$showAllButton.setAttribute("aria-expanded","false"),this.$showAllIcon=document.createElement("span"),this.$showAllIcon.classList.add(this.upChevronIconClass),this.$showAllButton.appendChild(this.$showAllIcon);var D=document.createElement("div");D.setAttribute("class",this.controlsClass),D.appendChild(this.$showAllButton),this.$module.insertBefore(D,this.$module.firstChild),this.$showAllText=document.createElement("span"),this.$showAllText.classList.add(this.showAllTextClass),this.$showAllButton.appendChild(this.$showAllText),this.$showAllButton.addEventListener("click",this.onShowOrHideAllToggle.bind(this)),"onbeforematch"in document&&document.addEventListener("beforematch",this.onBeforeMatch.bind(this))},De.prototype.initSectionHeaders=function(){var D=this,G=this.$sections;oe(G,function(Q,pe){var ye=Q.querySelector("."+D.sectionHeaderClass);ye&&(D.constructHeaderMarkup(ye,pe),D.setExpanded(D.isExpanded(Q),Q),ye.addEventListener("click",D.onSectionToggle.bind(D,Q)),D.setInitialState(Q))})},De.prototype.constructHeaderMarkup=function(D,G){var Q=D.querySelector("."+this.sectionButtonClass),pe=D.querySelector("."+this.sectionHeadingClass),ye=D.querySelector("."+this.sectionSummaryClass);if(!(!Q||!pe)){var _e=document.createElement("button");_e.setAttribute("type","button"),_e.setAttribute("aria-controls",this.$module.id+"-content-"+(G+1).toString());for(var xe=0;xe<Q.attributes.length;xe++){var de=Q.attributes.item(xe);de.nodeName!=="id"&&_e.setAttribute(de.nodeName,de.nodeValue)}var Re=document.createElement("span");Re.classList.add(this.sectionHeadingTextClass),Re.id=Q.id;var Ce=document.createElement("span");Ce.classList.add(this.sectionHeadingTextFocusClass),Re.appendChild(Ce),Ce.innerHTML=Q.innerHTML;var qe=document.createElement("span");qe.classList.add(this.sectionShowHideToggleClass),qe.setAttribute("data-nosnippet","");var et=document.createElement("span");et.classList.add(this.sectionShowHideToggleFocusClass),qe.appendChild(et);var tt=document.createElement("span"),We=document.createElement("span");if(We.classList.add(this.upChevronIconClass),et.appendChild(We),tt.classList.add(this.sectionShowHideTextClass),et.appendChild(tt),_e.appendChild(Re),_e.appendChild(this.getButtonPunctuationEl()),ye){var Ue=document.createElement("span"),ct=document.createElement("span");ct.classList.add(this.sectionSummaryFocusClass),Ue.appendChild(ct);for(var st=0,Qe=ye.attributes.length;st<Qe;++st){var Xe=ye.attributes.item(st).nodeName,at=ye.attributes.item(st).nodeValue;Ue.setAttribute(Xe,at)}ct.innerHTML=ye.innerHTML,ye.parentNode.replaceChild(Ue,ye),_e.appendChild(Ue),_e.appendChild(this.getButtonPunctuationEl())}_e.appendChild(qe),pe.removeChild(Q),pe.appendChild(_e)}},De.prototype.onBeforeMatch=function(D){var G=D.target;if(G instanceof Element){var Q=G.closest("."+this.sectionClass);Q&&this.setExpanded(!0,Q)}},De.prototype.onSectionToggle=function(D){var G=this.isExpanded(D);this.setExpanded(!G,D),this.storeState(D)},De.prototype.onShowOrHideAllToggle=function(){var D=this,G=this.$sections,Q=!this.checkIfAllSectionsOpen();oe(G,function(pe){D.setExpanded(Q,pe),D.storeState(pe)}),D.updateShowAllButton(Q)},De.prototype.setExpanded=function(D,G){var Q=G.querySelector("."+this.upChevronIconClass),pe=G.querySelector("."+this.sectionShowHideTextClass),ye=G.querySelector("."+this.sectionButtonClass),_e=G.querySelector("."+this.sectionContentClass);if(!(!Q||!(pe instanceof HTMLElement)||!ye||!_e)){var xe=D?this.i18n.t("hideSection"):this.i18n.t("showSection");pe.innerText=xe,ye.setAttribute("aria-expanded",D.toString());var de=[],Re=G.querySelector("."+this.sectionHeadingTextClass);Re instanceof HTMLElement&&de.push(Re.innerText.trim());var Ce=G.querySelector("."+this.sectionSummaryClass);Ce instanceof HTMLElement&&de.push(Ce.innerText.trim());var qe=D?this.i18n.t("hideSectionAriaLabel"):this.i18n.t("showSectionAriaLabel");de.push(qe),ye.setAttribute("aria-label",de.join(" , ")),D?(_e.removeAttribute("hidden"),G.classList.add(this.sectionExpandedClass),Q.classList.remove(this.downChevronIconClass)):(_e.setAttribute("hidden","until-found"),G.classList.remove(this.sectionExpandedClass),Q.classList.add(this.downChevronIconClass));var et=this.checkIfAllSectionsOpen();this.updateShowAllButton(et)}},De.prototype.isExpanded=function(D){return D.classList.contains(this.sectionExpandedClass)},De.prototype.checkIfAllSectionsOpen=function(){var D=this.$sections.length,G=this.$module.querySelectorAll("."+this.sectionExpandedClass).length,Q=D===G;return Q},De.prototype.updateShowAllButton=function(D){var G=D?this.i18n.t("hideAllSections"):this.i18n.t("showAllSections");this.$showAllButton.setAttribute("aria-expanded",D.toString()),this.$showAllText.innerText=G,D?this.$showAllIcon.classList.remove(this.downChevronIconClass):this.$showAllIcon.classList.add(this.downChevronIconClass)};var $={checkForSessionStorage:function(){var D="this is the test string",G;try{return window.sessionStorage.setItem(D,D),G=window.sessionStorage.getItem(D)===D.toString(),window.sessionStorage.removeItem(D),G}catch{return!1}}};De.prototype.storeState=function(D){if(this.browserSupportsSessionStorage&&this.config.rememberExpanded){var G=D.querySelector("."+this.sectionButtonClass);if(G){var Q=G.getAttribute("aria-controls"),pe=G.getAttribute("aria-expanded");Q&&pe&&window.sessionStorage.setItem(Q,pe)}}},De.prototype.setInitialState=function(D){if(this.browserSupportsSessionStorage&&this.config.rememberExpanded){var G=D.querySelector("."+this.sectionButtonClass);if(G){var Q=G.getAttribute("aria-controls"),pe=Q?window.sessionStorage.getItem(Q):null;pe!==null&&this.setExpanded(pe==="true",D)}}},De.prototype.getButtonPunctuationEl=function(){var D=document.createElement("span");return D.classList.add("govuk-visually-hidden",this.sectionHeadingDividerClass),D.innerHTML=", ",D};var H=32,k=1;function j(D,G){if(!(D instanceof HTMLElement))return this;this.$module=D,this.debounceFormSubmitTimer=null;var Q={preventDoubleClick:!1};this.config=be(Q,G||{},Le(D.dataset))}j.prototype.init=function(){this.$module&&(this.$module.addEventListener("keydown",this.handleKeyDown),this.$module.addEventListener("click",this.debounce.bind(this)))},j.prototype.handleKeyDown=function(D){var G=D.target;D.keyCode===H&&G instanceof HTMLElement&&G.getAttribute("role")==="button"&&(D.preventDefault(),G.click())},j.prototype.debounce=function(D){if(this.config.preventDoubleClick){if(this.debounceFormSubmitTimer)return D.preventDefault(),!1;this.debounceFormSubmitTimer=setTimeout((function(){this.debounceFormSubmitTimer=null}).bind(this),k*1e3)}};function S(D,G){var Q=D.closest("["+G+"]");return Q?Q.getAttribute(G):null}(function(D){var G="Date"in self&&"now"in self.Date&&"getTime"in self.Date.prototype;G||(Date.now=function(){return new Date().getTime()})}).call(typeof window=="object"&&window||typeof self=="object"&&self||typeof At=="object"&&At||{});var N={charactersUnderLimit:{one:"You have %{count} character remaining",other:"You have %{count} characters remaining"},charactersAtLimit:"You have 0 characters remaining",charactersOverLimit:{one:"You have %{count} character too many",other:"You have %{count} characters too many"},wordsUnderLimit:{one:"You have %{count} word remaining",other:"You have %{count} words remaining"},wordsAtLimit:"You have 0 words remaining",wordsOverLimit:{one:"You have %{count} word too many",other:"You have %{count} words too many"},textareaDescription:{other:""}};function A(D,G){if(!(D instanceof HTMLElement))return this;var Q=D.querySelector(".govuk-js-character-count");if(!(Q instanceof HTMLTextAreaElement||Q instanceof HTMLInputElement))return this;var pe={threshold:0,i18n:N},ye=Le(D.dataset),_e={};if(("maxwords"in ye||"maxlength"in ye)&&(_e={maxlength:!1,maxwords:!1}),this.config=be(pe,G||{},_e,ye),this.i18n=new Ke(Pe(this.config,"i18n"),{locale:S(D,"lang")}),this.maxLength=1/0,"maxwords"in this.config&&this.config.maxwords)this.maxLength=this.config.maxwords;else if("maxlength"in this.config&&this.config.maxlength)this.maxLength=this.config.maxlength;else return;this.$module=D,this.$textarea=Q,this.$visibleCountMessage=null,this.$screenReaderCountMessage=null,this.lastInputTimestamp=null,this.lastInputValue="",this.valueChecker=null}A.prototype.init=function(){if(!(!this.$module||!this.$textarea)){var D=this.$textarea,G=document.getElementById(D.id+"-info");if(G){G.innerText.match(/^\s*$/)&&(G.innerText=this.i18n.t("textareaDescription",{count:this.maxLength})),D.insertAdjacentElement("afterend",G);var Q=document.createElement("div");Q.className="govuk-character-count__sr-status govuk-visually-hidden",Q.setAttribute("aria-live","polite"),this.$screenReaderCountMessage=Q,G.insertAdjacentElement("afterend",Q);var pe=document.createElement("div");pe.className=G.className,pe.classList.add("govuk-character-count__status"),pe.setAttribute("aria-hidden","true"),this.$visibleCountMessage=pe,G.insertAdjacentElement("afterend",pe),G.classList.add("govuk-visually-hidden"),D.removeAttribute("maxlength"),this.bindChangeEvents(),window.addEventListener("onpageshow"in window?"pageshow":"DOMContentLoaded",this.updateCountMessage.bind(this)),this.updateCountMessage()}}},A.prototype.bindChangeEvents=function(){var D=this.$textarea;D.addEventListener("keyup",this.handleKeyUp.bind(this)),D.addEventListener("focus",this.handleFocus.bind(this)),D.addEventListener("blur",this.handleBlur.bind(this))},A.prototype.handleKeyUp=function(){this.updateVisibleCountMessage(),this.lastInputTimestamp=Date.now()},A.prototype.handleFocus=function(){this.valueChecker=setInterval((function(){(!this.lastInputTimestamp||Date.now()-500>=this.lastInputTimestamp)&&this.updateIfValueChanged()}).bind(this),1e3)},A.prototype.handleBlur=function(){clearInterval(this.valueChecker)},A.prototype.updateIfValueChanged=function(){this.$textarea.value!==this.lastInputValue&&(this.lastInputValue=this.$textarea.value,this.updateCountMessage())},A.prototype.updateCountMessage=function(){this.updateVisibleCountMessage(),this.updateScreenReaderCountMessage()},A.prototype.updateVisibleCountMessage=function(){var D=this.$textarea,G=this.$visibleCountMessage,Q=this.maxLength-this.count(D.value);this.isOverThreshold()?G.classList.remove("govuk-character-count__message--disabled"):G.classList.add("govuk-character-count__message--disabled"),Q<0?(D.classList.add("govuk-textarea--error"),G.classList.remove("govuk-hint"),G.classList.add("govuk-error-message")):(D.classList.remove("govuk-textarea--error"),G.classList.remove("govuk-error-message"),G.classList.add("govuk-hint")),G.innerText=this.getCountMessage()},A.prototype.updateScreenReaderCountMessage=function(){var D=this.$screenReaderCountMessage;this.isOverThreshold()?D.removeAttribute("aria-hidden"):D.setAttribute("aria-hidden","true"),D.innerText=this.getCountMessage()},A.prototype.count=function(D){if("maxwords"in this.config&&this.config.maxwords){var G=D.match(/\S+/g)||[];return G.length}else return D.length},A.prototype.getCountMessage=function(){var D=this.maxLength-this.count(this.$textarea.value),G="maxwords"in this.config&&this.config.maxwords?"words":"characters";return this.formatCountMessage(D,G)},A.prototype.formatCountMessage=function(D,G){if(D===0)return this.i18n.t(G+"AtLimit");var Q=D<0?"OverLimit":"UnderLimit";return this.i18n.t(G+Q,{count:Math.abs(D)})},A.prototype.isOverThreshold=function(){if(!this.config.threshold)return!0;var D=this.$textarea,G=this.count(D.value),Q=this.maxLength,pe=Q*this.config.threshold/100;return pe<=G};function P(D){if(!(D instanceof HTMLElement))return this;var G=D.querySelectorAll('input[type="checkbox"]');if(!G.length)return this;this.$module=D,this.$inputs=G}P.prototype.init=function(){if(!(!this.$module||!this.$inputs)){var D=this.$module,G=this.$inputs;oe(G,function(Q){var pe=Q.getAttribute("data-aria-controls");!pe||!document.getElementById(pe)||(Q.setAttribute("aria-controls",pe),Q.removeAttribute("data-aria-controls"))}),window.addEventListener("onpageshow"in window?"pageshow":"DOMContentLoaded",this.syncAllConditionalReveals.bind(this)),this.syncAllConditionalReveals(),D.addEventListener("click",this.handleClick.bind(this))}},P.prototype.syncAllConditionalReveals=function(){oe(this.$inputs,this.syncConditionalRevealWithInputState.bind(this))},P.prototype.syncConditionalRevealWithInputState=function(D){var G=D.getAttribute("aria-controls");if(G){var Q=document.getElementById(G);if(Q&&Q.classList.contains("govuk-checkboxes__conditional")){var pe=D.checked;D.setAttribute("aria-expanded",pe.toString()),Q.classList.toggle("govuk-checkboxes__conditional--hidden",!pe)}}},P.prototype.unCheckAllInputsExcept=function(D){var G=this,Q=document.querySelectorAll('input[type="checkbox"][name="'+D.name+'"]');oe(Q,function(pe){var ye=D.form===pe.form;ye&&pe!==D&&(pe.checked=!1,G.syncConditionalRevealWithInputState(pe))})},P.prototype.unCheckExclusiveInputs=function(D){var G=this,Q=document.querySelectorAll('input[data-behaviour="exclusive"][type="checkbox"][name="'+D.name+'"]');oe(Q,function(pe){var ye=D.form===pe.form;ye&&(pe.checked=!1,G.syncConditionalRevealWithInputState(pe))})},P.prototype.handleClick=function(D){var G=D.target;if(!(!(G instanceof HTMLInputElement)||G.type!=="checkbox")){var Q=G.getAttribute("aria-controls");if(Q&&this.syncConditionalRevealWithInputState(G),!!G.checked){var pe=G.getAttribute("data-behaviour")==="exclusive";pe?this.unCheckAllInputsExcept(G):this.unCheckExclusiveInputs(G)}}};var z=13,p=32;function s(D){if(!(D instanceof HTMLElement))return this;this.$module=D,this.$summary=null,this.$content=null}s.prototype.init=function(){if(this.$module){var D="HTMLDetailsElement"in window&&this.$module instanceof HTMLDetailsElement;D||this.polyfillDetails()}},s.prototype.polyfillDetails=function(){var D=this.$module,G=this.$summary=D.getElementsByTagName("summary").item(0),Q=this.$content=D.getElementsByTagName("div").item(0);!G||!Q||(Q.id||(Q.id="details-content-"+le()),D.setAttribute("role","group"),G.setAttribute("role","button"),G.setAttribute("aria-controls",Q.id),G.tabIndex=0,this.$module.hasAttribute("open")?G.setAttribute("aria-expanded","true"):(G.setAttribute("aria-expanded","false"),Q.style.display="none"),this.polyfillHandleInputs(this.polyfillSetAttributes.bind(this)))},s.prototype.polyfillSetAttributes=function(){return this.$module.hasAttribute("open")?(this.$module.removeAttribute("open"),this.$summary.setAttribute("aria-expanded","false"),this.$content.style.display="none"):(this.$module.setAttribute("open","open"),this.$summary.setAttribute("aria-expanded","true"),this.$content.style.display=""),!0},s.prototype.polyfillHandleInputs=function(D){this.$summary.addEventListener("keypress",function(G){var Q=G.target;(G.keyCode===z||G.keyCode===p)&&Q instanceof HTMLElement&&Q.nodeName.toLowerCase()==="summary"&&(G.preventDefault(),Q.click?Q.click():D(G))}),this.$summary.addEventListener("keyup",function(G){var Q=G.target;G.keyCode===p&&Q instanceof HTMLElement&&Q.nodeName.toLowerCase()==="summary"&&G.preventDefault()}),this.$summary.addEventListener("click",D)};function se(D,G){if(!(D instanceof HTMLElement))return this;this.$module=D;var Q={disableAutoFocus:!1};this.config=be(Q,G||{},Le(D.dataset))}se.prototype.init=function(){if(this.$module){var D=this.$module;this.setFocus(),D.addEventListener("click",this.handleClick.bind(this))}},se.prototype.setFocus=function(){var D=this.$module;this.config.disableAutoFocus||(D.setAttribute("tabindex","-1"),D.addEventListener("blur",function(){D.removeAttribute("tabindex")}),D.focus())},se.prototype.handleClick=function(D){var G=D.target;this.focusTarget(G)&&D.preventDefault()},se.prototype.focusTarget=function(D){if(!(D instanceof HTMLAnchorElement))return!1;var G=this.getFragmentFromUrl(D.href);if(!G)return!1;var Q=document.getElementById(G);if(!Q)return!1;var pe=this.getAssociatedLegendOrLabel(Q);return pe?(pe.scrollIntoView(),Q.focus({preventScroll:!0}),!0):!1},se.prototype.getFragmentFromUrl=function(D){if(D.indexOf("#")!==-1)return D.split("#").pop()},se.prototype.getAssociatedLegendOrLabel=function(D){var G=D.closest("fieldset");if(G){var Q=G.getElementsByTagName("legend");if(Q.length){var pe=Q[0];if(D instanceof HTMLInputElement&&(D.type==="checkbox"||D.type==="radio"))return pe;var ye=pe.getBoundingClientRect().top,_e=D.getBoundingClientRect();if(_e.height&&window.innerHeight){var xe=_e.top+_e.height;if(xe-ye<window.innerHeight/2)return pe}}}return document.querySelector("label[for='"+D.getAttribute("id")+"']")||D.closest("label")};var ie={activated:"Loading.",timedOut:"Exit this page expired.",pressTwoMoreTimes:"Shift, press 2 more times to exit.",pressOneMoreTime:"Shift, press 1 more time to exit."};function he(D,G){var Q={i18n:ie};if(!(D instanceof HTMLElement))return this;var pe=D.querySelector(".govuk-exit-this-page__button");if(!(pe instanceof HTMLElement))return this;this.config=be(Q,G||{},Le(D.dataset)),this.i18n=new Ke(Pe(this.config,"i18n")),this.$module=D,this.$button=pe,this.$skiplinkButton=document.querySelector(".govuk-js-exit-this-page-skiplink"),this.$updateSpan=null,this.$indicatorContainer=null,this.$overlay=null,this.keypressCounter=0,this.lastKeyWasModified=!1,this.timeoutTime=5e3,this.keypressTimeoutId=null,this.timeoutMessageId=null}he.prototype.initUpdateSpan=function(){this.$updateSpan=document.createElement("span"),this.$updateSpan.setAttribute("role","status"),this.$updateSpan.className="govuk-visually-hidden",this.$module.appendChild(this.$updateSpan)},he.prototype.initButtonClickHandler=function(){this.$button.addEventListener("click",this.handleClick.bind(this)),this.$skiplinkButton&&this.$skiplinkButton.addEventListener("click",this.handleClick.bind(this))},he.prototype.buildIndicator=function(){this.$indicatorContainer=document.createElement("div"),this.$indicatorContainer.className="govuk-exit-this-page__indicator",this.$indicatorContainer.setAttribute("aria-hidden","true");for(var D=0;D<3;D++){var G=document.createElement("div");G.className="govuk-exit-this-page__indicator-light",this.$indicatorContainer.appendChild(G)}this.$button.appendChild(this.$indicatorContainer)},he.prototype.updateIndicator=function(){this.keypressCounter>0?this.$indicatorContainer.classList.add("govuk-exit-this-page__indicator--visible"):this.$indicatorContainer.classList.remove("govuk-exit-this-page__indicator--visible");var D=this.$indicatorContainer.querySelectorAll(".govuk-exit-this-page__indicator-light");oe(D,(function(G,Q){G.classList.toggle("govuk-exit-this-page__indicator-light--on",Q<this.keypressCounter)}).bind(this))},he.prototype.exitPage=function(){this.$updateSpan.innerText="",document.body.classList.add("govuk-exit-this-page-hide-content"),this.$overlay=document.createElement("div"),this.$overlay.className="govuk-exit-this-page-overlay",this.$overlay.setAttribute("role","alert"),document.body.appendChild(this.$overlay),this.$overlay.innerText=this.i18n.t("activated"),window.location.href=this.$button.getAttribute("href")},he.prototype.handleClick=function(D){D.preventDefault(),this.exitPage()},he.prototype.handleKeypress=function(D){(D.key==="Shift"||D.keyCode===16||D.which===16)&&!this.lastKeyWasModified?(this.keypressCounter+=1,this.updateIndicator(),this.timeoutMessageId!==null&&(clearTimeout(this.timeoutMessageId),this.timeoutMessageId=null),this.keypressCounter>=3?(this.keypressCounter=0,this.keypressTimeoutId!==null&&(clearTimeout(this.keypressTimeoutId),this.keypressTimeoutId=null),this.exitPage()):this.keypressCounter===1?this.$updateSpan.innerText=this.i18n.t("pressTwoMoreTimes"):this.$updateSpan.innerText=this.i18n.t("pressOneMoreTime"),this.setKeypressTimer()):this.keypressTimeoutId!==null&&this.resetKeypressTimer(),this.lastKeyWasModified=D.shiftKey},he.prototype.setKeypressTimer=function(){clearTimeout(this.keypressTimeoutId),this.keypressTimeoutId=setTimeout(this.resetKeypressTimer.bind(this),this.timeoutTime)},he.prototype.resetKeypressTimer=function(){clearTimeout(this.keypressTimeoutId),this.keypressTimeoutId=null,this.keypressCounter=0,this.$updateSpan.innerText=this.i18n.t("timedOut"),this.timeoutMessageId=setTimeout((function(){this.$updateSpan.innerText=""}).bind(this),this.timeoutTime),this.updateIndicator()},he.prototype.resetPage=function(){document.body.classList.remove("govuk-exit-this-page-hide-content"),this.$overlay&&(this.$overlay.remove(),this.$overlay=null),this.$updateSpan.setAttribute("role","status"),this.$updateSpan.innerText="",this.updateIndicator(),this.keypressTimeoutId&&clearTimeout(this.keypressTimeoutId),this.timeoutMessageId&&clearTimeout(this.timeoutMessageId)},he.prototype.init=function(){this.buildIndicator(),this.initUpdateSpan(),this.initButtonClickHandler(),"govukFrontendExitThisPageKeypress"in document.body.dataset||(document.addEventListener("keyup",this.handleKeypress.bind(this),!0),document.body.dataset.govukFrontendExitThisPageKeypress="true"),window.addEventListener("onpageshow"in window?"pageshow":"DOMContentLoaded",this.resetPage.bind(this))};function je(D){if(!(D instanceof HTMLElement))return this;this.$module=D,this.$menuButton=D.querySelector(".govuk-js-header-toggle"),this.$menu=this.$menuButton&&D.querySelector("#"+this.$menuButton.getAttribute("aria-controls")),this.menuIsOpen=!1,this.mql=null}je.prototype.init=function(){!this.$module||!this.$menuButton||!this.$menu||("matchMedia"in window?(this.mql=window.matchMedia("(min-width: 48.0625em)"),"addEventListener"in this.mql?this.mql.addEventListener("change",this.syncState.bind(this)):this.mql.addListener(this.syncState.bind(this)),this.syncState(),this.$menuButton.addEventListener("click",this.handleMenuButtonClick.bind(this))):this.$menuButton.setAttribute("hidden",""))},je.prototype.syncState=function(){this.mql.matches?(this.$menu.removeAttribute("hidden"),this.$menuButton.setAttribute("hidden","")):(this.$menuButton.removeAttribute("hidden"),this.$menuButton.setAttribute("aria-expanded",this.menuIsOpen.toString()),this.menuIsOpen?this.$menu.removeAttribute("hidden"):this.$menu.setAttribute("hidden",""))},je.prototype.handleMenuButtonClick=function(){this.menuIsOpen=!this.menuIsOpen,this.syncState()};function ut(D,G){if(!(D instanceof HTMLElement))return this;this.$module=D;var Q={disableAutoFocus:!1};this.config=be(Q,G||{},Le(D.dataset))}ut.prototype.init=function(){this.$module&&this.setFocus()},ut.prototype.setFocus=function(){var D=this.$module;this.config.disableAutoFocus||D.getAttribute("role")==="alert"&&(D.getAttribute("tabindex")||(D.setAttribute("tabindex","-1"),D.addEventListener("blur",function(){D.removeAttribute("tabindex")})),D.focus())};function Oe(D){if(!(D instanceof HTMLElement))return this;var G=D.querySelectorAll('input[type="radio"]');if(!G.length)return this;this.$module=D,this.$inputs=G}Oe.prototype.init=function(){if(!(!this.$module||!this.$inputs)){var D=this.$module,G=this.$inputs;oe(G,function(Q){var pe=Q.getAttribute("data-aria-controls");!pe||!document.getElementById(pe)||(Q.setAttribute("aria-controls",pe),Q.removeAttribute("data-aria-controls"))}),window.addEventListener("onpageshow"in window?"pageshow":"DOMContentLoaded",this.syncAllConditionalReveals.bind(this)),this.syncAllConditionalReveals(),D.addEventListener("click",this.handleClick.bind(this))}},Oe.prototype.syncAllConditionalReveals=function(){oe(this.$inputs,this.syncConditionalRevealWithInputState.bind(this))},Oe.prototype.syncConditionalRevealWithInputState=function(D){var G=D.getAttribute("aria-controls");if(G){var Q=document.getElementById(G);if(Q&&Q.classList.contains("govuk-radios__conditional")){var pe=D.checked;D.setAttribute("aria-expanded",pe.toString()),Q.classList.toggle("govuk-radios__conditional--hidden",!pe)}}},Oe.prototype.handleClick=function(D){var G=this,Q=D.target;if(!(!(Q instanceof HTMLInputElement)||Q.type!=="radio")){var pe=document.querySelectorAll('input[type="radio"][aria-controls]'),ye=Q.form,_e=Q.name;oe(pe,function(xe){var de=xe.form===ye,Re=xe.name===_e;Re&&de&&G.syncConditionalRevealWithInputState(xe)})}};function Nt(D){if(!(D instanceof HTMLAnchorElement))return this;this.$module=D,this.$linkedElement=null,this.linkedElementListener=!1}Nt.prototype.init=function(){if(this.$module){var D=this.getLinkedElement();D&&(this.$linkedElement=D,this.$module.addEventListener("click",this.focusLinkedElement.bind(this)))}},Nt.prototype.getLinkedElement=function(){var D=this.getFragmentFromUrl();return D?document.getElementById(D):null},Nt.prototype.focusLinkedElement=function(){var D=this.$linkedElement;D.getAttribute("tabindex")||(D.setAttribute("tabindex","-1"),D.classList.add("govuk-skip-link-focused-element"),this.linkedElementListener||(this.$linkedElement.addEventListener("blur",this.removeFocusProperties.bind(this)),this.linkedElementListener=!0)),D.focus()},Nt.prototype.removeFocusProperties=function(){this.$linkedElement.removeAttribute("tabindex"),this.$linkedElement.classList.remove("govuk-skip-link-focused-element")},Nt.prototype.getFragmentFromUrl=function(){if(this.$module.hash)return this.$module.hash.split("#").pop()},(function(D){var G="document"in this&&"nextElementSibling"in document.documentElement;G||Object.defineProperty(Element.prototype,"nextElementSibling",{get:function(){for(var Q=this.nextSibling;Q&&Q.nodeType!==1;)Q=Q.nextSibling;return Q}})}).call(typeof window=="object"&&window||typeof self=="object"&&self||typeof At=="object"&&At||{}),(function(D){var G="document"in this&&"previousElementSibling"in document.documentElement;G||Object.defineProperty(Element.prototype,"previousElementSibling",{get:function(){for(var Q=this.previousSibling;Q&&Q.nodeType!==1;)Q=Q.previousSibling;return Q}})}).call(typeof window=="object"&&window||typeof self=="object"&&self||typeof At=="object"&&At||{});function pt(D){if(!(D instanceof HTMLElement))return this;var G=D.querySelectorAll("a.govuk-tabs__tab");if(!G.length)return this;this.$module=D,this.$tabs=G,this.keys={left:37,right:39,up:38,down:40},this.jsHiddenClass="govuk-tabs__panel--hidden",this.boundTabClick=this.onTabClick.bind(this),this.boundTabKeydown=this.onTabKeydown.bind(this),this.boundOnHashChange=this.onHashChange.bind(this),this.changingHash=!1}pt.prototype.init=function(){!this.$module||!this.$tabs||(typeof window.matchMedia=="function"?this.setupResponsiveChecks():this.setup())},pt.prototype.setupResponsiveChecks=function(){this.mql=window.matchMedia("(min-width: 40.0625em)"),this.mql.addListener(this.checkMode.bind(this)),this.checkMode()},pt.prototype.checkMode=function(){this.mql.matches?this.setup():this.teardown()},pt.prototype.setup=function(){var D=this,G=this.$module,Q=this.$tabs,pe=G.querySelector(".govuk-tabs__list"),ye=G.querySelectorAll(".govuk-tabs__list-item");if(!(!Q||!pe||!ye)){pe.setAttribute("role","tablist"),oe(ye,function(xe){xe.setAttribute("role","presentation")}),oe(Q,function(xe){D.setAttributes(xe),xe.addEventListener("click",D.boundTabClick,!0),xe.addEventListener("keydown",D.boundTabKeydown,!0),D.hideTab(xe)});var _e=this.getTab(window.location.hash)||this.$tabs[0];_e&&(this.showTab(_e),window.addEventListener("hashchange",this.boundOnHashChange,!0))}},pt.prototype.teardown=function(){var D=this,G=this.$module,Q=this.$tabs,pe=G.querySelector(".govuk-tabs__list"),ye=G.querySelectorAll("a.govuk-tabs__list-item");!Q||!pe||!ye||(pe.removeAttribute("role"),oe(ye,function(_e){_e.removeAttribute("role")}),oe(Q,function(_e){_e.removeEventListener("click",D.boundTabClick,!0),_e.removeEventListener("keydown",D.boundTabKeydown,!0),D.unsetAttributes(_e)}),window.removeEventListener("hashchange",this.boundOnHashChange,!0))},pt.prototype.onHashChange=function(){var D=window.location.hash,G=this.getTab(D);if(G){if(this.changingHash){this.changingHash=!1;return}var Q=this.getCurrentTab();Q&&(this.hideTab(Q),this.showTab(G),G.focus())}},pt.prototype.hideTab=function(D){this.unhighlightTab(D),this.hidePanel(D)},pt.prototype.showTab=function(D){this.highlightTab(D),this.showPanel(D)},pt.prototype.getTab=function(D){return this.$module.querySelector('a.govuk-tabs__tab[href="'+D+'"]')},pt.prototype.setAttributes=function(D){var G=this.getHref(D).slice(1);D.setAttribute("id","tab_"+G),D.setAttribute("role","tab"),D.setAttribute("aria-controls",G),D.setAttribute("aria-selected","false"),D.setAttribute("tabindex","-1");var Q=this.getPanel(D);Q&&(Q.setAttribute("role","tabpanel"),Q.setAttribute("aria-labelledby",D.id),Q.classList.add(this.jsHiddenClass))},pt.prototype.unsetAttributes=function(D){D.removeAttribute("id"),D.removeAttribute("role"),D.removeAttribute("aria-controls"),D.removeAttribute("aria-selected"),D.removeAttribute("tabindex");var G=this.getPanel(D);G&&(G.removeAttribute("role"),G.removeAttribute("aria-labelledby"),G.classList.remove(this.jsHiddenClass))},pt.prototype.onTabClick=function(D){var G=this.getCurrentTab(),Q=D.currentTarget;!G||!(Q instanceof HTMLAnchorElement)||(D.preventDefault(),this.hideTab(G),this.showTab(Q),this.createHistoryEntry(Q))},pt.prototype.createHistoryEntry=function(D){var G=this.getPanel(D);if(G){var Q=G.id;G.id="",this.changingHash=!0,window.location.hash=this.getHref(D).slice(1),G.id=Q}},pt.prototype.onTabKeydown=function(D){switch(D.keyCode){case this.keys.left:case this.keys.up:this.activatePreviousTab(),D.preventDefault();break;case this.keys.right:case this.keys.down:this.activateNextTab(),D.preventDefault();break}},pt.prototype.activateNextTab=function(){var D=this.getCurrentTab();if(!(!D||!D.parentElement)){var G=D.parentElement.nextElementSibling;if(G){var Q=G.querySelector("a.govuk-tabs__tab");Q&&(this.hideTab(D),this.showTab(Q),Q.focus(),this.createHistoryEntry(Q))}}},pt.prototype.activatePreviousTab=function(){var D=this.getCurrentTab();if(!(!D||!D.parentElement)){var G=D.parentElement.previousElementSibling;if(G){var Q=G.querySelector("a.govuk-tabs__tab");Q&&(this.hideTab(D),this.showTab(Q),Q.focus(),this.createHistoryEntry(Q))}}},pt.prototype.getPanel=function(D){return this.$module.querySelector(this.getHref(D))},pt.prototype.showPanel=function(D){var G=this.getPanel(D);G&&G.classList.remove(this.jsHiddenClass)},pt.prototype.hidePanel=function(D){var G=this.getPanel(D);G&&G.classList.add(this.jsHiddenClass)},pt.prototype.unhighlightTab=function(D){D.parentElement&&(D.setAttribute("aria-selected","false"),D.parentElement.classList.remove("govuk-tabs__list-item--selected"),D.setAttribute("tabindex","-1"))},pt.prototype.highlightTab=function(D){D.parentElement&&(D.setAttribute("aria-selected","true"),D.parentElement.classList.add("govuk-tabs__list-item--selected"),D.setAttribute("tabindex","0"))},pt.prototype.getCurrentTab=function(){return this.$module.querySelector(".govuk-tabs__list-item--selected a.govuk-tabs__tab")},pt.prototype.getHref=function(D){var G=D.getAttribute("href"),Q=G.slice(G.indexOf("#"),G.length);return Q};function kn(D){D=typeof D<"u"?D:{};var G=D.scope instanceof HTMLElement?D.scope:document,Q=G.querySelectorAll('[data-module="govuk-accordion"]');oe(Q,function(Ue){new De(Ue,D.accordion).init()});var pe=G.querySelectorAll('[data-module="govuk-button"]');oe(pe,function(Ue){new j(Ue,D.button).init()});var ye=G.querySelectorAll('[data-module="govuk-character-count"]');oe(ye,function(Ue){new A(Ue,D.characterCount).init()});var _e=G.querySelectorAll('[data-module="govuk-checkboxes"]');oe(_e,function(Ue){new P(Ue).init()});var xe=G.querySelectorAll('[data-module="govuk-details"]');oe(xe,function(Ue){new s(Ue).init()});var de=G.querySelector('[data-module="govuk-error-summary"]');de&&new se(de,D.errorSummary).init();var Re=G.querySelectorAll('[data-module="govuk-exit-this-page"]');oe(Re,function(Ue){new he(Ue,D.exitThisPage).init()});var Ce=G.querySelector('[data-module="govuk-header"]');Ce&&new je(Ce).init();var qe=G.querySelectorAll('[data-module="govuk-notification-banner"]');oe(qe,function(Ue){new ut(Ue,D.notificationBanner).init()});var et=G.querySelectorAll('[data-module="govuk-radios"]');oe(et,function(Ue){new Oe(Ue).init()});var tt=G.querySelector('[data-module="govuk-skip-link"]');tt&&new Nt(tt).init();var We=G.querySelectorAll('[data-module="govuk-tabs"]');oe(We,function(Ue){new pt(Ue).init()})}y.initAll=kn,y.version=te,y.Accordion=De,y.Button=j,y.Details=s,y.CharacterCount=A,y.Checkboxes=P,y.ErrorSummary=se,y.ExitThisPage=he,y.Header=je,y.NotificationBanner=ut,y.Radios=Oe,y.SkipLink=Nt,y.Tabs=pt}))})(Oo,Oo.exports)),Oo.exports}var za={},Qa;function vl(){return Qa||(Qa=1,function(){const R=document.getElementById("skip-to-main"),y=R.hash.split("#")[1]?R.hash.split("#")[1]:"main-content";y==="main-content"&&R.setAttribute("href","#main-content"),y&&(R.onclick=function(te){setTimeout(()=>{document.getElementById(y).focus()},10)})}()),za}var Io={},Xa;function yl(){return Xa||(Xa=1,(function(){const V=this;typeof V.GOVUK>"u"&&(V.GOVUK={}),GOVUK.cookie=function(R,y,te){return typeof y<"u"?y===!1||y===null?GOVUK.setCookie(R,"",{days:-1}):GOVUK.setCookie(R,y,te):GOVUK.getCookie(R)},GOVUK.setCookie=function(R,y,te){typeof te>"u"&&(te={});let oe=R+"="+y+"; path=/";if(te.days){const le=new Date;le.setTime(le.getTime()+te.days*24*60*60*1e3),oe=oe+"; expires="+le.toGMTString()}document.location.protocol==="https:"&&(oe=oe+"; Secure"),document.cookie=oe},GOVUK.getCookie=function(R){const y=R+"=",te=document.cookie.split(";");for(let oe=0,le=te.length;oe<le;oe++){let be=te[oe];for(;be.charAt(0)===" ";)be=be.substring(1,be.length);if(be.indexOf(y)===0)return decodeURIComponent(be.substring(y.length))}return null}}).call(Io),(function(){const V=this;typeof V.GOVUK>"u"&&(V.GOVUK={}),GOVUK.addCookieMessage=function(){const R=document.getElementById("global-cookie-message");R&&GOVUK.cookie("seen_cookie_message")===null&&(R.style.display="block",GOVUK.cookie("seen_cookie_message","yes",{days:28}),document.addEventListener("DOMContentLoaded",function(te){GOVUK.analytics&&typeof GOVUK.analytics.trackEvent=="function"&&GOVUK.analytics.trackEvent("cookieBanner","Cookie banner shown",{value:1,nonInteraction:!0})}))}}).call(Io),(function(){if(window.GOVUK&&GOVUK.addCookieMessage&&GOVUK.addCookieMessage(),document.querySelectorAll&&document.addEventListener){const V=document.querySelectorAll(".js-header-toggle");let R,y;for(R=0,y=V.length;R<y;R++)V[R].addEventListener("click",function(te){te.preventDefault();const oe=document.getElementById(this.getAttribute("href").substr(1)),le=oe.getAttribute("class")||"",be=this.getAttribute("class")||"";le.indexOf("js-visible")!==-1?oe.setAttribute("class",le.replace(/(^|\s)js-visible(\s|$)/,"")):oe.setAttribute("class",le+" js-visible"),be.indexOf("js-visible")!==-1?this.setAttribute("class",be.replace(/(^|\s)js-visible(\s|$)/,"")):this.setAttribute("class",be+" js-visible"),this.setAttribute("aria-expanded",this.getAttribute("aria-expanded")!=="true"),oe.setAttribute("aria-hidden",oe.getAttribute("aria-hidden")==="false")})}}).call(Io)),Io}var qs,Ya;function ml(){if(Ya)return qs;Ya=1;function V(Ne){const De=document.getElementById(Ne);if(De===null)return;const $=De.getElementsByClassName("js-disabled");for(let H=0;H<$.length;H++)$[H].style.display="none"}function R(Ne){const De=document.getElementById(Ne);if(De===null)return;const $=De.getElementsByClassName("js-enabled");for(let H=0;H<$.length;H++)$[H].style.display="block"}function y(Ne){GOVUK.cookie("cookie_preferences",JSON.stringify(Ne),{days:30}),Ne.usage||(GOVUK.cookie("_ga",null),GOVUK.cookie("_gat",null),GOVUK.cookie("_gid",null))}function te(){document.getElementById("cookie-banner-info").style.display="none",document.getElementById("cookie-banner-actions").style.display="none";let Ne;document.getElementById("cookie-banner-submitted-accepted").dataset.acceptCookies==="true"?Ne=document.getElementById("cookie-banner-submitted-accepted"):Ne=document.getElementById("cookie-banner-submitted-rejected"),Ne.style.display="block",Ne.focus()}function oe(){document.getElementById("cookie-banner").style.display="none"}function le(){const Ne=document.getElementById("cookie-banner-submitted-accepted");document.getElementById("accept-cookies-button").addEventListener("click",function(){y({essential:!0,usage:!0}),te(),sessionStorage.setItem("reloading","true"),window.location=document.URL}),document.getElementById("reject-cookies-button").addEventListener("click",function(){y({essential:!0,usage:!1}),Ne.dataset.acceptCookies="false",te()}),document.getElementById("hide-accept-cookie-banner").addEventListener("click",oe),document.getElementById("hide-reject-cookie-banner").addEventListener("click",oe)}function be(){if(GOVUK.cookie("cookie_preferences")!==null)return;const De=document.getElementById("global-cookie-message"),$=document.getElementById("cookie-banner");De!==null&&$!==null&&(V("global-cookie-message"),R("global-cookie-message"),De.style.display="block",le())}function Pe(Ne){Ne.preventDefault(),y({essential:!0,usage:document.getElementById("radio-1").checked});const De=document.getElementById("cookie-notification"),$=document.getElementById("cookie-banner");$!==null&&($.style.display="none"),De!==null&&(De.style.display="block",De.focus())}function ke(){const Ne=JSON.parse(GOVUK.cookie("cookie_preferences"));let De;Ne!==null&&Ne.usage!==void 0&&typeof Ne.usage=="boolean"?De=Ne.usage:De=!1,document.getElementById("radio-1").checked=De,document.getElementById("radio-2").checked=!De,document.getElementById("save-cookie-settings").addEventListener("click",Pe)}function Le(){document.getElementById("cookie-settings")!==null&&(V("cookie-settings"),R("cookie-settings"),ke())}function Ke(){window.onload=function(){if(sessionStorage.getItem("reloading")){sessionStorage.removeItem("reloading");const De=document.getElementById("global-cookie-message"),$=document.getElementById("cookie-banner");De!==null&&$!==null&&(De.style.display="block"),le(),te()}}}return qs={initialiseCookieBanner:be,initialiseCookiePage:Le,onLoad:Ke},qs}var Ja={},zo={exports:{}};var bl=zo.exports,Za;function xl(){return Za||(Za=1,(function(V){(function(R,y){V.exports=R.document?y(R,!0):function(te){if(!te.document)throw new Error("jQuery requires a window with a document");return y(te)}})(typeof window<"u"?window:bl,function(R,y){var te=[],oe=Object.getPrototypeOf,le=te.slice,be=te.flat?function(e){return te.flat.call(e)}:function(e){return te.concat.apply([],e)},Pe=te.push,ke=te.indexOf,Le={},Ke=Le.toString,Ne=Le.hasOwnProperty,De=Ne.toString,$=De.call(Object),H={},k=function(n){return typeof n=="function"&&typeof n.nodeType!="number"&&typeof n.item!="function"},j=function(n){return n!=null&&n===n.window},S=R.document,N={type:!0,src:!0,nonce:!0,noModule:!0};function A(e,n,o){o=o||S;var a,l,c=o.createElement("script");if(c.text=e,n)for(a in N)l=n[a]||n.getAttribute&&n.getAttribute(a),l&&c.setAttribute(a,l);o.head.appendChild(c).parentNode.removeChild(c)}function P(e){return e==null?e+"":typeof e=="object"||typeof e=="function"?Le[Ke.call(e)]||"object":typeof e}var z="3.7.1",p=/HTML$/i,s=function(e,n){return new s.fn.init(e,n)};s.fn=s.prototype={jquery:z,constructor:s,length:0,toArray:function(){return le.call(this)},get:function(e){return e==null?le.call(this):e<0?this[e+this.length]:this[e]},pushStack:function(e){var n=s.merge(this.constructor(),e);return n.prevObject=this,n},each:function(e){return s.each(this,e)},map:function(e){return this.pushStack(s.map(this,function(n,o){return e.call(n,o,n)}))},slice:function(){return this.pushStack(le.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(s.grep(this,function(e,n){return(n+1)%2}))},odd:function(){return this.pushStack(s.grep(this,function(e,n){return n%2}))},eq:function(e){var n=this.length,o=+e+(e<0?n:0);return this.pushStack(o>=0&&o<n?[this[o]]:[])},end:function(){return this.prevObject||this.constructor()},push:Pe,sort:te.sort,splice:te.splice},s.extend=s.fn.extend=function(){var e,n,o,a,l,c,g=arguments[0]||{},E=1,T=arguments.length,q=!1;for(typeof g=="boolean"&&(q=g,g=arguments[E]||{},E++),typeof g!="object"&&!k(g)&&(g={}),E===T&&(g=this,E--);E<T;E++)if((e=arguments[E])!=null)for(n in e)a=e[n],!(n==="__proto__"||g===a)&&(q&&a&&(s.isPlainObject(a)||(l=Array.isArray(a)))?(o=g[n],l&&!Array.isArray(o)?c=[]:!l&&!s.isPlainObject(o)?c={}:c=o,l=!1,g[n]=s.extend(q,c,a)):a!==void 0&&(g[n]=a));return g},s.extend({expando:"jQuery"+(z+Math.random()).replace(/\D/g,""),isReady:!0,error:function(e){throw new Error(e)},noop:function(){},isPlainObject:function(e){var n,o;return!e||Ke.call(e)!=="[object Object]"?!1:(n=oe(e),n?(o=Ne.call(n,"constructor")&&n.constructor,typeof o=="function"&&De.call(o)===$):!0)},isEmptyObject:function(e){var n;for(n in e)return!1;return!0},globalEval:function(e,n,o){A(e,{nonce:n&&n.nonce},o)},each:function(e,n){var o,a=0;if(se(e))for(o=e.length;a<o&&n.call(e[a],a,e[a])!==!1;a++);else for(a in e)if(n.call(e[a],a,e[a])===!1)break;return e},text:function(e){var n,o="",a=0,l=e.nodeType;if(!l)for(;n=e[a++];)o+=s.text(n);return l===1||l===11?e.textContent:l===9?e.documentElement.textContent:l===3||l===4?e.nodeValue:o},makeArray:function(e,n){var o=n||[];return e!=null&&(se(Object(e))?s.merge(o,typeof e=="string"?[e]:e):Pe.call(o,e)),o},inArray:function(e,n,o){return n==null?-1:ke.call(n,e,o)},isXMLDoc:function(e){var n=e&&e.namespaceURI,o=e&&(e.ownerDocument||e).documentElement;return!p.test(n||o&&o.nodeName||"HTML")},merge:function(e,n){for(var o=+n.length,a=0,l=e.length;a<o;a++)e[l++]=n[a];return e.length=l,e},grep:function(e,n,o){for(var a,l=[],c=0,g=e.length,E=!o;c<g;c++)a=!n(e[c],c),a!==E&&l.push(e[c]);return l},map:function(e,n,o){var a,l,c=0,g=[];if(se(e))for(a=e.length;c<a;c++)l=n(e[c],c,o),l!=null&&g.push(l);else for(c in e)l=n(e[c],c,o),l!=null&&g.push(l);return be(g)},guid:1,support:H}),typeof Symbol=="function"&&(s.fn[Symbol.iterator]=te[Symbol.iterator]),s.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(e,n){Le["[object "+n+"]"]=n.toLowerCase()});function se(e){var n=!!e&&"length"in e&&e.length,o=P(e);return k(e)||j(e)?!1:o==="array"||n===0||typeof n=="number"&&n>0&&n-1 in e}function ie(e,n){return e.nodeName&&e.nodeName.toLowerCase()===n.toLowerCase()}var he=te.pop,je=te.sort,ut=te.splice,Oe="[\\x20\\t\\r\\n\\f]",Nt=new RegExp("^"+Oe+"+|((?:^|[^\\\\])(?:\\\\.)*)"+Oe+"+$","g");s.contains=function(e,n){var o=n&&n.parentNode;return e===o||!!(o&&o.nodeType===1&&(e.contains?e.contains(o):e.compareDocumentPosition&&e.compareDocumentPosition(o)&16))};var pt=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\x80-\uFFFF\w-]/g;function kn(e,n){return n?e==="\0"?"�":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e}s.escapeSelector=function(e){return(e+"").replace(pt,kn)};var D=S,G=Pe;(function(){var e,n,o,a,l,c=G,g,E,T,q,X,Z=s.expando,U=0,re=0,Ae=Wn(),Se=Wn(),Ie=Wn(),dt=Wn(),ot=function(h,b){return h===b&&(l=!0),0},Ot="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",Ft="(?:\\\\[\\da-fA-F]{1,6}"+Oe+"?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+",Me="\\["+Oe+"*("+Ft+")(?:"+Oe+"*([*^$|!~]?=)"+Oe+`*(?:'((?:\\\\.|[^\\\\'])*)'|"((?:\\\\.|[^\\\\"])*)"|(`+Ft+"))|)"+Oe+"*\\]",vn=":("+Ft+`)(?:\\((('((?:\\\\.|[^\\\\'])*)'|"((?:\\\\.|[^\\\\"])*)")|((?:\\\\.|[^\\\\()[\\]]|`+Me+")*)|.*)\\)|)",He=new RegExp(Oe+"+","g"),Je=new RegExp("^"+Oe+"*,"+Oe+"*"),sn=new RegExp("^"+Oe+"*([>+~]|"+Oe+")"+Oe+"*"),Ki=new RegExp(Oe+"|>"),$t=new RegExp(vn),Pn=new RegExp("^"+Ft+"$"),Wt={ID:new RegExp("^#("+Ft+")"),CLASS:new RegExp("^\\.("+Ft+")"),TAG:new RegExp("^("+Ft+"|[*])"),ATTR:new RegExp("^"+Me),PSEUDO:new RegExp("^"+vn),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+Oe+"*(even|odd|(([+-]|)(\\d*)n|)"+Oe+"*(?:([+-]|)"+Oe+"*(\\d+)|))"+Oe+"*\\)|)","i"),bool:new RegExp("^(?:"+Ot+")$","i"),needsContext:new RegExp("^"+Oe+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+Oe+"*((?:-\\d)?\\d*)"+Oe+"*\\)|)(?=[^-]|$)","i")},Qt=/^(?:input|select|textarea|button)$/i,an=/^h\d$/i,Bt=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,gi=/[+~]/,Xt=new RegExp("\\\\[\\da-fA-F]{1,6}"+Oe+"?|\\\\([^\\r\\n\\f])","g"),tn=function(h,b){var C="0x"+h.slice(1)-65536;return b||(C<0?String.fromCharCode(C+65536):String.fromCharCode(C>>10|55296,C&1023|56320))},Jr=function(){un()},xn=yn(function(h){return h.disabled===!0&&ie(h,"fieldset")},{dir:"parentNode",next:"legend"});function sr(){try{return g.activeElement}catch{}}try{c.apply(te=le.call(D.childNodes),D.childNodes),te[D.childNodes.length].nodeType}catch{c={apply:function(b,C){G.apply(b,le.call(C))},call:function(b){G.apply(b,le.call(arguments,1))}}}function $e(h,b,C,O){var L,_,F,K,Y,fe,ue,ve=b&&b.ownerDocument,me=b?b.nodeType:9;if(C=C||[],typeof h!="string"||!h||me!==1&&me!==9&&me!==11)return C;if(!O&&(un(b),b=b||g,T)){if(me!==11&&(Y=Bt.exec(h)))if(L=Y[1]){if(me===9)if(F=b.getElementById(L)){if(F.id===L)return c.call(C,F),C}else return C;else if(ve&&(F=ve.getElementById(L))&&$e.contains(b,F)&&F.id===L)return c.call(C,F),C}else{if(Y[2])return c.apply(C,b.getElementsByTagName(h)),C;if((L=Y[3])&&b.getElementsByClassName)return c.apply(C,b.getElementsByClassName(L)),C}if(!dt[h+" "]&&(!q||!q.test(h))){if(ue=h,ve=b,me===1&&(Ki.test(h)||sn.test(h))){for(ve=gi.test(h)&&Mn(b.parentNode)||b,(ve!=b||!H.scope)&&((K=b.getAttribute("id"))?K=s.escapeSelector(K):b.setAttribute("id",K=Z)),fe=Tn(h),_=fe.length;_--;)fe[_]=(K?"#"+K:":scope")+" "+ei(fe[_]);ue=fe.join(",")}try{return c.apply(C,ve.querySelectorAll(ue)),C}catch{dt(h,!0)}finally{K===Z&&b.removeAttribute("id")}}}return J(h.replace(Nt,"$1"),b,C,O)}function Wn(){var h=[];function b(C,O){return h.push(C+" ")>n.cacheLength&&delete b[h.shift()],b[C+" "]=O}return b}function qt(h){return h[Z]=!0,h}function En(h){var b=g.createElement("fieldset");try{return!!h(b)}catch{return!1}finally{b.parentNode&&b.parentNode.removeChild(b),b=null}}function Zr(h){return function(b){return ie(b,"input")&&b.type===h}}function kr(h){return function(b){return(ie(b,"input")||ie(b,"button"))&&b.type===h}}function Dr(h){return function(b){return"form"in b?b.parentNode&&b.disabled===!1?"label"in b?"label"in b.parentNode?b.parentNode.disabled===h:b.disabled===h:b.isDisabled===h||b.isDisabled!==!h&&xn(b)===h:b.disabled===h:"label"in b?b.disabled===h:!1}}function wn(h){return qt(function(b){return b=+b,qt(function(C,O){for(var L,_=h([],C.length,b),F=_.length;F--;)C[L=_[F]]&&(C[L]=!(O[L]=C[L]))})})}function Mn(h){return h&&typeof h.getElementsByTagName<"u"&&h}function un(h){var b,C=h?h.ownerDocument||h:D;return C==g||C.nodeType!==9||!C.documentElement||(g=C,E=g.documentElement,T=!s.isXMLDoc(g),X=E.matches||E.webkitMatchesSelector||E.msMatchesSelector,E.msMatchesSelector&&D!=g&&(b=g.defaultView)&&b.top!==b&&b.addEventListener("unload",Jr),H.getById=En(function(O){return E.appendChild(O).id=s.expando,!g.getElementsByName||!g.getElementsByName(s.expando).length}),H.disconnectedMatch=En(function(O){return X.call(O,"*")}),H.scope=En(function(){return g.querySelectorAll(":scope")}),H.cssHas=En(function(){try{return g.querySelector(":has(*,:jqfake)"),!1}catch{return!0}}),H.getById?(n.filter.ID=function(O){var L=O.replace(Xt,tn);return function(_){return _.getAttribute("id")===L}},n.find.ID=function(O,L){if(typeof L.getElementById<"u"&&T){var _=L.getElementById(O);return _?[_]:[]}}):(n.filter.ID=function(O){var L=O.replace(Xt,tn);return function(_){var F=typeof _.getAttributeNode<"u"&&_.getAttributeNode("id");return F&&F.value===L}},n.find.ID=function(O,L){if(typeof L.getElementById<"u"&&T){var _,F,K,Y=L.getElementById(O);if(Y){if(_=Y.getAttributeNode("id"),_&&_.value===O)return[Y];for(K=L.getElementsByName(O),F=0;Y=K[F++];)if(_=Y.getAttributeNode("id"),_&&_.value===O)return[Y]}return[]}}),n.find.TAG=function(O,L){return typeof L.getElementsByTagName<"u"?L.getElementsByTagName(O):L.querySelectorAll(O)},n.find.CLASS=function(O,L){if(typeof L.getElementsByClassName<"u"&&T)return L.getElementsByClassName(O)},q=[],En(function(O){var L;E.appendChild(O).innerHTML="<a id='"+Z+"' href='' disabled='disabled'></a><select id='"+Z+"-\r\\' disabled='disabled'><option selected=''></option></select>",O.querySelectorAll("[selected]").length||q.push("\\["+Oe+"*(?:value|"+Ot+")"),O.querySelectorAll("[id~="+Z+"-]").length||q.push("~="),O.querySelectorAll("a#"+Z+"+*").length||q.push(".#.+[+~]"),O.querySelectorAll(":checked").length||q.push(":checked"),L=g.createElement("input"),L.setAttribute("type","hidden"),O.appendChild(L).setAttribute("name","D"),E.appendChild(O).disabled=!0,O.querySelectorAll(":disabled").length!==2&&q.push(":enabled",":disabled"),L=g.createElement("input"),L.setAttribute("name",""),O.appendChild(L),O.querySelectorAll("[name='']").length||q.push("\\["+Oe+"*name"+Oe+"*="+Oe+`*(?:''|"")`)}),H.cssHas||q.push(":has"),q=q.length&&new RegExp(q.join("|")),ot=function(O,L){if(O===L)return l=!0,0;var _=!O.compareDocumentPosition-!L.compareDocumentPosition;return _||(_=(O.ownerDocument||O)==(L.ownerDocument||L)?O.compareDocumentPosition(L):1,_&1||!H.sortDetached&&L.compareDocumentPosition(O)===_?O===g||O.ownerDocument==D&&$e.contains(D,O)?-1:L===g||L.ownerDocument==D&&$e.contains(D,L)?1:a?ke.call(a,O)-ke.call(a,L):0:_&4?-1:1)}),g}$e.matches=function(h,b){return $e(h,null,null,b)},$e.matchesSelector=function(h,b){if(un(h),T&&!dt[b+" "]&&(!q||!q.test(b)))try{var C=X.call(h,b);if(C||H.disconnectedMatch||h.document&&h.document.nodeType!==11)return C}catch{dt(b,!0)}return $e(b,g,null,[h]).length>0},$e.contains=function(h,b){return(h.ownerDocument||h)!=g&&un(h),s.contains(h,b)},$e.attr=function(h,b){(h.ownerDocument||h)!=g&&un(h);var C=n.attrHandle[b.toLowerCase()],O=C&&Ne.call(n.attrHandle,b.toLowerCase())?C(h,b,!T):void 0;return O!==void 0?O:h.getAttribute(b)},$e.error=function(h){throw new Error("Syntax error, unrecognized expression: "+h)},s.uniqueSort=function(h){var b,C=[],O=0,L=0;if(l=!H.sortStable,a=!H.sortStable&&le.call(h,0),je.call(h,ot),l){for(;b=h[L++];)b===h[L]&&(O=C.push(L));for(;O--;)ut.call(h,C[O],1)}return a=null,h},s.fn.uniqueSort=function(){return this.pushStack(s.uniqueSort(le.apply(this)))},n=s.expr={cacheLength:50,createPseudo:qt,match:Wt,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(h){return h[1]=h[1].replace(Xt,tn),h[3]=(h[3]||h[4]||h[5]||"").replace(Xt,tn),h[2]==="~="&&(h[3]=" "+h[3]+" "),h.slice(0,4)},CHILD:function(h){return h[1]=h[1].toLowerCase(),h[1].slice(0,3)==="nth"?(h[3]||$e.error(h[0]),h[4]=+(h[4]?h[5]+(h[6]||1):2*(h[3]==="even"||h[3]==="odd")),h[5]=+(h[7]+h[8]||h[3]==="odd")):h[3]&&$e.error(h[0]),h},PSEUDO:function(h){var b,C=!h[6]&&h[2];return Wt.CHILD.test(h[0])?null:(h[3]?h[2]=h[4]||h[5]||"":C&&$t.test(C)&&(b=Tn(C,!0))&&(b=C.indexOf(")",C.length-b)-C.length)&&(h[0]=h[0].slice(0,b),h[2]=C.slice(0,b)),h.slice(0,3))}},filter:{TAG:function(h){var b=h.replace(Xt,tn).toLowerCase();return h==="*"?function(){return!0}:function(C){return ie(C,b)}},CLASS:function(h){var b=Ae[h+" "];return b||(b=new RegExp("(^|"+Oe+")"+h+"("+Oe+"|$)"))&&Ae(h,function(C){return b.test(typeof C.className=="string"&&C.className||typeof C.getAttribute<"u"&&C.getAttribute("class")||"")})},ATTR:function(h,b,C){return function(O){var L=$e.attr(O,h);return L==null?b==="!=":b?(L+="",b==="="?L===C:b==="!="?L!==C:b==="^="?C&&L.indexOf(C)===0:b==="*="?C&&L.indexOf(C)>-1:b==="$="?C&&L.slice(-C.length)===C:b==="~="?(" "+L.replace(He," ")+" ").indexOf(C)>-1:b==="|="?L===C||L.slice(0,C.length+1)===C+"-":!1):!0}},CHILD:function(h,b,C,O,L){var _=h.slice(0,3)!=="nth",F=h.slice(-4)!=="last",K=b==="of-type";return O===1&&L===0?function(Y){return!!Y.parentNode}:function(Y,fe,ue){var ve,me,ce,Ve,Fe,ze=_!==F?"nextSibling":"previousSibling",Pt=Y.parentNode,Mt=K&&Y.nodeName.toLowerCase(),Ut=!ue&&!K,gt=!1;if(Pt){if(_){for(;ze;){for(ce=Y;ce=ce[ze];)if(K?ie(ce,Mt):ce.nodeType===1)return!1;Fe=ze=h==="only"&&!Fe&&"nextSibling"}return!0}if(Fe=[F?Pt.firstChild:Pt.lastChild],F&&Ut){for(me=Pt[Z]||(Pt[Z]={}),ve=me[h]||[],Ve=ve[0]===U&&ve[1],gt=Ve&&ve[2],ce=Ve&&Pt.childNodes[Ve];ce=++Ve&&ce&&ce[ze]||(gt=Ve=0)||Fe.pop();)if(ce.nodeType===1&&++gt&&ce===Y){me[h]=[U,Ve,gt];break}}else if(Ut&&(me=Y[Z]||(Y[Z]={}),ve=me[h]||[],Ve=ve[0]===U&&ve[1],gt=Ve),gt===!1)for(;(ce=++Ve&&ce&&ce[ze]||(gt=Ve=0)||Fe.pop())&&!((K?ie(ce,Mt):ce.nodeType===1)&&++gt&&(Ut&&(me=ce[Z]||(ce[Z]={}),me[h]=[U,gt]),ce===Y)););return gt-=L,gt===O||gt%O===0&>/O>=0}}},PSEUDO:function(h,b){var C,O=n.pseudos[h]||n.setFilters[h.toLowerCase()]||$e.error("unsupported pseudo: "+h);return O[Z]?O(b):O.length>1?(C=[h,h,"",b],n.setFilters.hasOwnProperty(h.toLowerCase())?qt(function(L,_){for(var F,K=O(L,b),Y=K.length;Y--;)F=ke.call(L,K[Y]),L[F]=!(_[F]=K[Y])}):function(L){return O(L,0,C)}):O}},pseudos:{not:qt(function(h){var b=[],C=[],O=M(h.replace(Nt,"$1"));return O[Z]?qt(function(L,_,F,K){for(var Y,fe=O(L,null,K,[]),ue=L.length;ue--;)(Y=fe[ue])&&(L[ue]=!(_[ue]=Y))}):function(L,_,F){return b[0]=L,O(b,null,F,C),b[0]=null,!C.pop()}}),has:qt(function(h){return function(b){return $e(h,b).length>0}}),contains:qt(function(h){return h=h.replace(Xt,tn),function(b){return(b.textContent||s.text(b)).indexOf(h)>-1}}),lang:qt(function(h){return Pn.test(h||"")||$e.error("unsupported lang: "+h),h=h.replace(Xt,tn).toLowerCase(),function(b){var C;do if(C=T?b.lang:b.getAttribute("xml:lang")||b.getAttribute("lang"))return C=C.toLowerCase(),C===h||C.indexOf(h+"-")===0;while((b=b.parentNode)&&b.nodeType===1);return!1}}),target:function(h){var b=R.location&&R.location.hash;return b&&b.slice(1)===h.id},root:function(h){return h===E},focus:function(h){return h===sr()&&g.hasFocus()&&!!(h.type||h.href||~h.tabIndex)},enabled:Dr(!1),disabled:Dr(!0),checked:function(h){return ie(h,"input")&&!!h.checked||ie(h,"option")&&!!h.selected},selected:function(h){return h.parentNode&&h.parentNode.selectedIndex,h.selected===!0},empty:function(h){for(h=h.firstChild;h;h=h.nextSibling)if(h.nodeType<6)return!1;return!0},parent:function(h){return!n.pseudos.empty(h)},header:function(h){return an.test(h.nodeName)},input:function(h){return Qt.test(h.nodeName)},button:function(h){return ie(h,"input")&&h.type==="button"||ie(h,"button")},text:function(h){var b;return ie(h,"input")&&h.type==="text"&&((b=h.getAttribute("type"))==null||b.toLowerCase()==="text")},first:wn(function(){return[0]}),last:wn(function(h,b){return[b-1]}),eq:wn(function(h,b,C){return[C<0?C+b:C]}),even:wn(function(h,b){for(var C=0;C<b;C+=2)h.push(C);return h}),odd:wn(function(h,b){for(var C=1;C<b;C+=2)h.push(C);return h}),lt:wn(function(h,b,C){var O;for(C<0?O=C+b:C>b?O=b:O=C;--O>=0;)h.push(O);return h}),gt:wn(function(h,b,C){for(var O=C<0?C+b:C;++O<b;)h.push(O);return h})}},n.pseudos.nth=n.pseudos.eq;for(e in{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})n.pseudos[e]=Zr(e);for(e in{submit:!0,reset:!0})n.pseudos[e]=kr(e);function ar(){}ar.prototype=n.filters=n.pseudos,n.setFilters=new ar;function Tn(h,b){var C,O,L,_,F,K,Y,fe=Se[h+" "];if(fe)return b?0:fe.slice(0);for(F=h,K=[],Y=n.preFilter;F;){(!C||(O=Je.exec(F)))&&(O&&(F=F.slice(O[0].length)||F),K.push(L=[])),C=!1,(O=sn.exec(F))&&(C=O.shift(),L.push({value:C,type:O[0].replace(Nt," ")}),F=F.slice(C.length));for(_ in n.filter)(O=Wt[_].exec(F))&&(!Y[_]||(O=Y[_](O)))&&(C=O.shift(),L.push({value:C,type:_,matches:O}),F=F.slice(C.length));if(!C)break}return b?F.length:F?$e.error(h):Se(h,K).slice(0)}function ei(h){for(var b=0,C=h.length,O="";b<C;b++)O+=h[b].value;return O}function yn(h,b,C){var O=b.dir,L=b.next,_=L||O,F=C&&_==="parentNode",K=re++;return b.first?function(Y,fe,ue){for(;Y=Y[O];)if(Y.nodeType===1||F)return h(Y,fe,ue);return!1}:function(Y,fe,ue){var ve,me,ce=[U,K];if(ue){for(;Y=Y[O];)if((Y.nodeType===1||F)&&h(Y,fe,ue))return!0}else for(;Y=Y[O];)if(Y.nodeType===1||F)if(me=Y[Z]||(Y[Z]={}),L&&ie(Y,L))Y=Y[O]||Y;else{if((ve=me[_])&&ve[0]===U&&ve[1]===K)return ce[2]=ve[2];if(me[_]=ce,ce[2]=h(Y,fe,ue))return!0}return!1}}function r(h){return h.length>1?function(b,C,O){for(var L=h.length;L--;)if(!h[L](b,C,O))return!1;return!0}:h[0]}function u(h,b,C){for(var O=0,L=b.length;O<L;O++)$e(h,b[O],C);return C}function d(h,b,C,O,L){for(var _,F=[],K=0,Y=h.length,fe=b!=null;K<Y;K++)(_=h[K])&&(!C||C(_,O,L))&&(F.push(_),fe&&b.push(K));return F}function v(h,b,C,O,L,_){return O&&!O[Z]&&(O=v(O)),L&&!L[Z]&&(L=v(L,_)),qt(function(F,K,Y,fe){var ue,ve,me,ce,Ve=[],Fe=[],ze=K.length,Pt=F||u(b||"*",Y.nodeType?[Y]:Y,[]),Mt=h&&(F||!b)?d(Pt,Ve,h,Y,fe):Pt;if(C?(ce=L||(F?h:ze||O)?[]:K,C(Mt,ce,Y,fe)):ce=Mt,O)for(ue=d(ce,Fe),O(ue,[],Y,fe),ve=ue.length;ve--;)(me=ue[ve])&&(ce[Fe[ve]]=!(Mt[Fe[ve]]=me));if(F){if(L||h){if(L){for(ue=[],ve=ce.length;ve--;)(me=ce[ve])&&ue.push(Mt[ve]=me);L(null,ce=[],ue,fe)}for(ve=ce.length;ve--;)(me=ce[ve])&&(ue=L?ke.call(F,me):Ve[ve])>-1&&(F[ue]=!(K[ue]=me))}}else ce=d(ce===K?ce.splice(ze,ce.length):ce),L?L(null,K,ce,fe):c.apply(K,ce)})}function x(h){for(var b,C,O,L=h.length,_=n.relative[h[0].type],F=_||n.relative[" "],K=_?1:0,Y=yn(function(ve){return ve===b},F,!0),fe=yn(function(ve){return ke.call(b,ve)>-1},F,!0),ue=[function(ve,me,ce){var Ve=!_&&(ce||me!=o)||((b=me).nodeType?Y(ve,me,ce):fe(ve,me,ce));return b=null,Ve}];K<L;K++)if(C=n.relative[h[K].type])ue=[yn(r(ue),C)];else{if(C=n.filter[h[K].type].apply(null,h[K].matches),C[Z]){for(O=++K;O<L&&!n.relative[h[O].type];O++);return v(K>1&&r(ue),K>1&&ei(h.slice(0,K-1).concat({value:h[K-2].type===" "?"*":""})).replace(Nt,"$1"),C,K<O&&x(h.slice(K,O)),O<L&&x(h=h.slice(O)),O<L&&ei(h))}ue.push(C)}return r(ue)}function w(h,b){var C=b.length>0,O=h.length>0,L=function(_,F,K,Y,fe){var ue,ve,me,ce=0,Ve="0",Fe=_&&[],ze=[],Pt=o,Mt=_||O&&n.find.TAG("*",fe),Ut=U+=Pt==null?1:Math.random()||.1,gt=Mt.length;for(fe&&(o=F==g||F||fe);Ve!==gt&&(ue=Mt[Ve])!=null;Ve++){if(O&&ue){for(ve=0,!F&&ue.ownerDocument!=g&&(un(ue),K=!T);me=h[ve++];)if(me(ue,F||g,K)){c.call(Y,ue);break}fe&&(U=Ut)}C&&((ue=!me&&ue)&&ce--,_&&Fe.push(ue))}if(ce+=Ve,C&&Ve!==ce){for(ve=0;me=b[ve++];)me(Fe,ze,F,K);if(_){if(ce>0)for(;Ve--;)Fe[Ve]||ze[Ve]||(ze[Ve]=he.call(Y));ze=d(ze)}c.apply(Y,ze),fe&&!_&&ze.length>0&&ce+b.length>1&&s.uniqueSort(Y)}return fe&&(U=Ut,o=Pt),Fe};return C?qt(L):L}function M(h,b){var C,O=[],L=[],_=Ie[h+" "];if(!_){for(b||(b=Tn(h)),C=b.length;C--;)_=x(b[C]),_[Z]?O.push(_):L.push(_);_=Ie(h,w(L,O)),_.selector=h}return _}function J(h,b,C,O){var L,_,F,K,Y,fe=typeof h=="function"&&h,ue=!O&&Tn(h=fe.selector||h);if(C=C||[],ue.length===1){if(_=ue[0]=ue[0].slice(0),_.length>2&&(F=_[0]).type==="ID"&&b.nodeType===9&&T&&n.relative[_[1].type]){if(b=(n.find.ID(F.matches[0].replace(Xt,tn),b)||[])[0],b)fe&&(b=b.parentNode);else return C;h=h.slice(_.shift().value.length)}for(L=Wt.needsContext.test(h)?0:_.length;L--&&(F=_[L],!n.relative[K=F.type]);)if((Y=n.find[K])&&(O=Y(F.matches[0].replace(Xt,tn),gi.test(_[0].type)&&Mn(b.parentNode)||b))){if(_.splice(L,1),h=O.length&&ei(_),!h)return c.apply(C,O),C;break}}return(fe||M(h,ue))(O,b,!T,C,!b||gi.test(h)&&Mn(b.parentNode)||b),C}H.sortStable=Z.split("").sort(ot).join("")===Z,un(),H.sortDetached=En(function(h){return h.compareDocumentPosition(g.createElement("fieldset"))&1}),s.find=$e,s.expr[":"]=s.expr.pseudos,s.unique=s.uniqueSort,$e.compile=M,$e.select=J,$e.setDocument=un,$e.tokenize=Tn,$e.escape=s.escapeSelector,$e.getText=s.text,$e.isXML=s.isXMLDoc,$e.selectors=s.expr,$e.support=s.support,$e.uniqueSort=s.uniqueSort})();var Q=function(e,n,o){for(var a=[],l=o!==void 0;(e=e[n])&&e.nodeType!==9;)if(e.nodeType===1){if(l&&s(e).is(o))break;a.push(e)}return a},pe=function(e,n){for(var o=[];e;e=e.nextSibling)e.nodeType===1&&e!==n&&o.push(e);return o},ye=s.expr.match.needsContext,_e=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function xe(e,n,o){return k(n)?s.grep(e,function(a,l){return!!n.call(a,l,a)!==o}):n.nodeType?s.grep(e,function(a){return a===n!==o}):typeof n!="string"?s.grep(e,function(a){return ke.call(n,a)>-1!==o}):s.filter(n,e,o)}s.filter=function(e,n,o){var a=n[0];return o&&(e=":not("+e+")"),n.length===1&&a.nodeType===1?s.find.matchesSelector(a,e)?[a]:[]:s.find.matches(e,s.grep(n,function(l){return l.nodeType===1}))},s.fn.extend({find:function(e){var n,o,a=this.length,l=this;if(typeof e!="string")return this.pushStack(s(e).filter(function(){for(n=0;n<a;n++)if(s.contains(l[n],this))return!0}));for(o=this.pushStack([]),n=0;n<a;n++)s.find(e,l[n],o);return a>1?s.uniqueSort(o):o},filter:function(e){return this.pushStack(xe(this,e||[],!1))},not:function(e){return this.pushStack(xe(this,e||[],!0))},is:function(e){return!!xe(this,typeof e=="string"&&ye.test(e)?s(e):e||[],!1).length}});var de,Re=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/,Ce=s.fn.init=function(e,n,o){var a,l;if(!e)return this;if(o=o||de,typeof e=="string")if(e[0]==="<"&&e[e.length-1]===">"&&e.length>=3?a=[null,e,null]:a=Re.exec(e),a&&(a[1]||!n))if(a[1]){if(n=n instanceof s?n[0]:n,s.merge(this,s.parseHTML(a[1],n&&n.nodeType?n.ownerDocument||n:S,!0)),_e.test(a[1])&&s.isPlainObject(n))for(a in n)k(this[a])?this[a](n[a]):this.attr(a,n[a]);return this}else return l=S.getElementById(a[2]),l&&(this[0]=l,this.length=1),this;else return!n||n.jquery?(n||o).find(e):this.constructor(n).find(e);else{if(e.nodeType)return this[0]=e,this.length=1,this;if(k(e))return o.ready!==void 0?o.ready(e):e(s)}return s.makeArray(e,this)};Ce.prototype=s.fn,de=s(S);var qe=/^(?:parents|prev(?:Until|All))/,et={children:!0,contents:!0,next:!0,prev:!0};s.fn.extend({has:function(e){var n=s(e,this),o=n.length;return this.filter(function(){for(var a=0;a<o;a++)if(s.contains(this,n[a]))return!0})},closest:function(e,n){var o,a=0,l=this.length,c=[],g=typeof e!="string"&&s(e);if(!ye.test(e)){for(;a<l;a++)for(o=this[a];o&&o!==n;o=o.parentNode)if(o.nodeType<11&&(g?g.index(o)>-1:o.nodeType===1&&s.find.matchesSelector(o,e))){c.push(o);break}}return this.pushStack(c.length>1?s.uniqueSort(c):c)},index:function(e){return e?typeof e=="string"?ke.call(s(e),this[0]):ke.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,n){return this.pushStack(s.uniqueSort(s.merge(this.get(),s(e,n))))},addBack:function(e){return this.add(e==null?this.prevObject:this.prevObject.filter(e))}});function tt(e,n){for(;(e=e[n])&&e.nodeType!==1;);return e}s.each({parent:function(e){var n=e.parentNode;return n&&n.nodeType!==11?n:null},parents:function(e){return Q(e,"parentNode")},parentsUntil:function(e,n,o){return Q(e,"parentNode",o)},next:function(e){return tt(e,"nextSibling")},prev:function(e){return tt(e,"previousSibling")},nextAll:function(e){return Q(e,"nextSibling")},prevAll:function(e){return Q(e,"previousSibling")},nextUntil:function(e,n,o){return Q(e,"nextSibling",o)},prevUntil:function(e,n,o){return Q(e,"previousSibling",o)},siblings:function(e){return pe((e.parentNode||{}).firstChild,e)},children:function(e){return pe(e.firstChild)},contents:function(e){return e.contentDocument!=null&&oe(e.contentDocument)?e.contentDocument:(ie(e,"template")&&(e=e.content||e),s.merge([],e.childNodes))}},function(e,n){s.fn[e]=function(o,a){var l=s.map(this,n,o);return e.slice(-5)!=="Until"&&(a=o),a&&typeof a=="string"&&(l=s.filter(a,l)),this.length>1&&(et[e]||s.uniqueSort(l),qe.test(e)&&l.reverse()),this.pushStack(l)}});var We=/[^\x20\t\r\n\f]+/g;function Ue(e){var n={};return s.each(e.match(We)||[],function(o,a){n[a]=!0}),n}s.Callbacks=function(e){e=typeof e=="string"?Ue(e):s.extend({},e);var n,o,a,l,c=[],g=[],E=-1,T=function(){for(l=l||e.once,a=n=!0;g.length;E=-1)for(o=g.shift();++E<c.length;)c[E].apply(o[0],o[1])===!1&&e.stopOnFalse&&(E=c.length,o=!1);e.memory||(o=!1),n=!1,l&&(o?c=[]:c="")},q={add:function(){return c&&(o&&!n&&(E=c.length-1,g.push(o)),(function X(Z){s.each(Z,function(U,re){k(re)?(!e.unique||!q.has(re))&&c.push(re):re&&re.length&&P(re)!=="string"&&X(re)})})(arguments),o&&!n&&T()),this},remove:function(){return s.each(arguments,function(X,Z){for(var U;(U=s.inArray(Z,c,U))>-1;)c.splice(U,1),U<=E&&E--}),this},has:function(X){return X?s.inArray(X,c)>-1:c.length>0},empty:function(){return c&&(c=[]),this},disable:function(){return l=g=[],c=o="",this},disabled:function(){return!c},lock:function(){return l=g=[],!o&&!n&&(c=o=""),this},locked:function(){return!!l},fireWith:function(X,Z){return l||(Z=Z||[],Z=[X,Z.slice?Z.slice():Z],g.push(Z),n||T()),this},fire:function(){return q.fireWith(this,arguments),this},fired:function(){return!!a}};return q};function ct(e){return e}function st(e){throw e}function Qe(e,n,o,a){var l;try{e&&k(l=e.promise)?l.call(e).done(n).fail(o):e&&k(l=e.then)?l.call(e,n,o):n.apply(void 0,[e].slice(a))}catch(c){o.apply(void 0,[c])}}s.extend({Deferred:function(e){var n=[["notify","progress",s.Callbacks("memory"),s.Callbacks("memory"),2],["resolve","done",s.Callbacks("once memory"),s.Callbacks("once memory"),0,"resolved"],["reject","fail",s.Callbacks("once memory"),s.Callbacks("once memory"),1,"rejected"]],o="pending",a={state:function(){return o},always:function(){return l.done(arguments).fail(arguments),this},catch:function(c){return a.then(null,c)},pipe:function(){var c=arguments;return s.Deferred(function(g){s.each(n,function(E,T){var q=k(c[T[4]])&&c[T[4]];l[T[1]](function(){var X=q&&q.apply(this,arguments);X&&k(X.promise)?X.promise().progress(g.notify).done(g.resolve).fail(g.reject):g[T[0]+"With"](this,q?[X]:arguments)})}),c=null}).promise()},then:function(c,g,E){var T=0;function q(X,Z,U,re){return function(){var Ae=this,Se=arguments,Ie=function(){var ot,Ot;if(!(X<T)){if(ot=U.apply(Ae,Se),ot===Z.promise())throw new TypeError("Thenable self-resolution");Ot=ot&&(typeof ot=="object"||typeof ot=="function")&&ot.then,k(Ot)?re?Ot.call(ot,q(T,Z,ct,re),q(T,Z,st,re)):(T++,Ot.call(ot,q(T,Z,ct,re),q(T,Z,st,re),q(T,Z,ct,Z.notifyWith))):(U!==ct&&(Ae=void 0,Se=[ot]),(re||Z.resolveWith)(Ae,Se))}},dt=re?Ie:function(){try{Ie()}catch(ot){s.Deferred.exceptionHook&&s.Deferred.exceptionHook(ot,dt.error),X+1>=T&&(U!==st&&(Ae=void 0,Se=[ot]),Z.rejectWith(Ae,Se))}};X?dt():(s.Deferred.getErrorHook?dt.error=s.Deferred.getErrorHook():s.Deferred.getStackHook&&(dt.error=s.Deferred.getStackHook()),R.setTimeout(dt))}}return s.Deferred(function(X){n[0][3].add(q(0,X,k(E)?E:ct,X.notifyWith)),n[1][3].add(q(0,X,k(c)?c:ct)),n[2][3].add(q(0,X,k(g)?g:st))}).promise()},promise:function(c){return c!=null?s.extend(c,a):a}},l={};return s.each(n,function(c,g){var E=g[2],T=g[5];a[g[1]]=E.add,T&&E.add(function(){o=T},n[3-c][2].disable,n[3-c][3].disable,n[0][2].lock,n[0][3].lock),E.add(g[3].fire),l[g[0]]=function(){return l[g[0]+"With"](this===l?void 0:this,arguments),this},l[g[0]+"With"]=E.fireWith}),a.promise(l),e&&e.call(l,l),l},when:function(e){var n=arguments.length,o=n,a=Array(o),l=le.call(arguments),c=s.Deferred(),g=function(E){return function(T){a[E]=this,l[E]=arguments.length>1?le.call(arguments):T,--n||c.resolveWith(a,l)}};if(n<=1&&(Qe(e,c.done(g(o)).resolve,c.reject,!n),c.state()==="pending"||k(l[o]&&l[o].then)))return c.then();for(;o--;)Qe(l[o],g(o),c.reject);return c.promise()}});var Xe=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;s.Deferred.exceptionHook=function(e,n){R.console&&R.console.warn&&e&&Xe.test(e.name)&&R.console.warn("jQuery.Deferred exception: "+e.message,e.stack,n)},s.readyException=function(e){R.setTimeout(function(){throw e})};var at=s.Deferred();s.fn.ready=function(e){return at.then(e).catch(function(n){s.readyException(n)}),this},s.extend({isReady:!1,readyWait:1,ready:function(e){(e===!0?--s.readyWait:s.isReady)||(s.isReady=!0,!(e!==!0&&--s.readyWait>0)&&at.resolveWith(S,[s]))}}),s.ready.then=at.then;function It(){S.removeEventListener("DOMContentLoaded",It),R.removeEventListener("load",It),s.ready()}S.readyState==="complete"||S.readyState!=="loading"&&!S.documentElement.doScroll?R.setTimeout(s.ready):(S.addEventListener("DOMContentLoaded",It),R.addEventListener("load",It));var Ct=function(e,n,o,a,l,c,g){var E=0,T=e.length,q=o==null;if(P(o)==="object"){l=!0;for(E in o)Ct(e,n,E,o[E],!0,c,g)}else if(a!==void 0&&(l=!0,k(a)||(g=!0),q&&(g?(n.call(e,a),n=null):(q=n,n=function(X,Z,U){return q.call(s(X),U)})),n))for(;E<T;E++)n(e[E],o,g?a:a.call(e[E],E,n(e[E],o)));return l?e:q?n.call(e):T?n(e[0],o):c},oi=/^-ms-/,Pi=/-([a-z])/g;function si(e,n){return n.toUpperCase()}function ft(e){return e.replace(oi,"ms-").replace(Pi,si)}var Kt=function(e){return e.nodeType===1||e.nodeType===9||!+e.nodeType};function bt(){this.expando=s.expando+bt.uid++}bt.uid=1,bt.prototype={cache:function(e){var n=e[this.expando];return n||(n={},Kt(e)&&(e.nodeType?e[this.expando]=n:Object.defineProperty(e,this.expando,{value:n,configurable:!0}))),n},set:function(e,n,o){var a,l=this.cache(e);if(typeof n=="string")l[ft(n)]=o;else for(a in n)l[ft(a)]=n[a];return l},get:function(e,n){return n===void 0?this.cache(e):e[this.expando]&&e[this.expando][ft(n)]},access:function(e,n,o){return n===void 0||n&&typeof n=="string"&&o===void 0?this.get(e,n):(this.set(e,n,o),o!==void 0?o:n)},remove:function(e,n){var o,a=e[this.expando];if(a!==void 0){if(n!==void 0)for(Array.isArray(n)?n=n.map(ft):(n=ft(n),n=n in a?[n]:n.match(We)||[]),o=n.length;o--;)delete a[n[o]];(n===void 0||s.isEmptyObject(a))&&(e.nodeType?e[this.expando]=void 0:delete e[this.expando])}},hasData:function(e){var n=e[this.expando];return n!==void 0&&!s.isEmptyObject(n)}};var ge=new bt,rt=new bt,Bn=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,Mi=/[A-Z]/g;function ai(e){return e==="true"?!0:e==="false"?!1:e==="null"?null:e===+e+""?+e:Bn.test(e)?JSON.parse(e):e}function xi(e,n,o){var a;if(o===void 0&&e.nodeType===1)if(a="data-"+n.replace(Mi,"-$&").toLowerCase(),o=e.getAttribute(a),typeof o=="string"){try{o=ai(o)}catch{}rt.set(e,n,o)}else o=void 0;return o}s.extend({hasData:function(e){return rt.hasData(e)||ge.hasData(e)},data:function(e,n,o){return rt.access(e,n,o)},removeData:function(e,n){rt.remove(e,n)},_data:function(e,n,o){return ge.access(e,n,o)},_removeData:function(e,n){ge.remove(e,n)}}),s.fn.extend({data:function(e,n){var o,a,l,c=this[0],g=c&&c.attributes;if(e===void 0){if(this.length&&(l=rt.get(c),c.nodeType===1&&!ge.get(c,"hasDataAttrs"))){for(o=g.length;o--;)g[o]&&(a=g[o].name,a.indexOf("data-")===0&&(a=ft(a.slice(5)),xi(c,a,l[a])));ge.set(c,"hasDataAttrs",!0)}return l}return typeof e=="object"?this.each(function(){rt.set(this,e)}):Ct(this,function(E){var T;if(c&&E===void 0)return T=rt.get(c,e),T!==void 0||(T=xi(c,e),T!==void 0)?T:void 0;this.each(function(){rt.set(this,e,E)})},null,n,arguments.length>1,null,!0)},removeData:function(e){return this.each(function(){rt.remove(this,e)})}}),s.extend({queue:function(e,n,o){var a;if(e)return n=(n||"fx")+"queue",a=ge.get(e,n),o&&(!a||Array.isArray(o)?a=ge.access(e,n,s.makeArray(o)):a.push(o)),a||[]},dequeue:function(e,n){n=n||"fx";var o=s.queue(e,n),a=o.length,l=o.shift(),c=s._queueHooks(e,n),g=function(){s.dequeue(e,n)};l==="inprogress"&&(l=o.shift(),a--),l&&(n==="fx"&&o.unshift("inprogress"),delete c.stop,l.call(e,g,c)),!a&&c&&c.empty.fire()},_queueHooks:function(e,n){var o=n+"queueHooks";return ge.get(e,o)||ge.access(e,o,{empty:s.Callbacks("once memory").add(function(){ge.remove(e,[n+"queue",o])})})}}),s.fn.extend({queue:function(e,n){var o=2;return typeof e!="string"&&(n=e,e="fx",o--),arguments.length<o?s.queue(this[0],e):n===void 0?this:this.each(function(){var a=s.queue(this,e,n);s._queueHooks(this,e),e==="fx"&&a[0]!=="inprogress"&&s.dequeue(this,e)})},dequeue:function(e){return this.each(function(){s.dequeue(this,e)})},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,n){var o,a=1,l=s.Deferred(),c=this,g=this.length,E=function(){--a||l.resolveWith(c,[c])};for(typeof e!="string"&&(n=e,e=void 0),e=e||"fx";g--;)o=ge.get(c[g],e+"queueHooks"),o&&o.empty&&(a++,o.empty.add(E));return E(),l.promise(n)}});var zn=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,Dn=new RegExp("^(?:([+-])=|)("+zn+")([a-z%]*)$","i"),zt=["Top","Right","Bottom","Left"],rn=S.documentElement,mn=function(e){return s.contains(e.ownerDocument,e)},cr={composed:!0};rn.getRootNode&&(mn=function(e){return s.contains(e.ownerDocument,e)||e.getRootNode(cr)===e.ownerDocument});var Fn=function(e,n){return e=n||e,e.style.display==="none"||e.style.display===""&&mn(e)&&s.css(e,"display")==="none"};function Hi(e,n,o,a){var l,c,g=20,E=a?function(){return a.cur()}:function(){return s.css(e,n,"")},T=E(),q=o&&o[3]||(s.cssNumber[n]?"":"px"),X=e.nodeType&&(s.cssNumber[n]||q!=="px"&&+T)&&Dn.exec(s.css(e,n));if(X&&X[3]!==q){for(T=T/2,q=q||X[3],X=+T||1;g--;)s.style(e,n,X+q),(1-c)*(1-(c=E()/T||.5))<=0&&(g=0),X=X/c;X=X*2,s.style(e,n,X+q),o=o||[]}return o&&(X=+X||+T||0,l=o[1]?X+(o[1]+1)*o[2]:+o[2],a&&(a.unit=q,a.start=X,a.end=l)),l}var dr={};function Ln(e){var n,o=e.ownerDocument,a=e.nodeName,l=dr[a];return l||(n=o.body.appendChild(o.createElement(a)),l=s.css(n,"display"),n.parentNode.removeChild(n),l==="none"&&(l="block"),dr[a]=l,l)}function Vt(e,n){for(var o,a,l=[],c=0,g=e.length;c<g;c++)a=e[c],a.style&&(o=a.style.display,n?(o==="none"&&(l[c]=ge.get(a,"display")||null,l[c]||(a.style.display="")),a.style.display===""&&Fn(a)&&(l[c]=Ln(a))):o!=="none"&&(l[c]="none",ge.set(a,"display",o)));for(c=0;c<g;c++)l[c]!=null&&(e[c].style.display=l[c]);return e}s.fn.extend({show:function(){return Vt(this,!0)},hide:function(){return Vt(this)},toggle:function(e){return typeof e=="boolean"?e?this.show():this.hide():this.each(function(){Fn(this)?s(this).show():s(this).hide()})}});var Rn=/^(?:checkbox|radio)$/i,Xi=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i,Yi=/^$|^module$|\/(?:java|ecma)script/i;(function(){var e=S.createDocumentFragment(),n=e.appendChild(S.createElement("div")),o=S.createElement("input");o.setAttribute("type","radio"),o.setAttribute("checked","checked"),o.setAttribute("name","t"),n.appendChild(o),H.checkClone=n.cloneNode(!0).cloneNode(!0).lastChild.checked,n.innerHTML="<textarea>x</textarea>",H.noCloneChecked=!!n.cloneNode(!0).lastChild.defaultValue,n.innerHTML="<option></option>",H.option=!!n.lastChild})();var St={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,"",""]};St.tbody=St.tfoot=St.colgroup=St.caption=St.thead,St.th=St.td,H.option||(St.optgroup=St.option=[1,"<select multiple='multiple'>","</select>"]);function mt(e,n){var o;return typeof e.getElementsByTagName<"u"?o=e.getElementsByTagName(n||"*"):typeof e.querySelectorAll<"u"?o=e.querySelectorAll(n||"*"):o=[],n===void 0||n&&ie(e,n)?s.merge([e],o):o}function wi(e,n){for(var o=0,a=e.length;o<a;o++)ge.set(e[o],"globalEval",!n||ge.get(n[o],"globalEval"))}var ji=/<|&#?\w+;/;function Bi(e,n,o,a,l){for(var c,g,E,T,q,X,Z=n.createDocumentFragment(),U=[],re=0,Ae=e.length;re<Ae;re++)if(c=e[re],c||c===0)if(P(c)==="object")s.merge(U,c.nodeType?[c]:c);else if(!ji.test(c))U.push(n.createTextNode(c));else{for(g=g||Z.appendChild(n.createElement("div")),E=(Xi.exec(c)||["",""])[1].toLowerCase(),T=St[E]||St._default,g.innerHTML=T[1]+s.htmlPrefilter(c)+T[2],X=T[0];X--;)g=g.lastChild;s.merge(U,g.childNodes),g=Z.firstChild,g.textContent=""}for(Z.textContent="",re=0;c=U[re++];){if(a&&s.inArray(c,a)>-1){l&&l.push(c);continue}if(q=mn(c),g=mt(Z.appendChild(c),"script"),q&&wi(g),o)for(X=0;c=g[X++];)Yi.test(c.type||"")&&o.push(c)}return Z}var hr=/^([^.]*)(?:\.(.+)|)/;function pn(){return!0}function ln(){return!1}function ui(e,n,o,a,l,c){var g,E;if(typeof n=="object"){typeof o!="string"&&(a=a||o,o=void 0);for(E in n)ui(e,E,o,a,n[E],c);return e}if(a==null&&l==null?(l=o,a=o=void 0):l==null&&(typeof o=="string"?(l=a,a=void 0):(l=a,a=o,o=void 0)),l===!1)l=ln;else if(!l)return e;return c===1&&(g=l,l=function(T){return s().off(T),g.apply(this,arguments)},l.guid=g.guid||(g.guid=s.guid++)),e.each(function(){s.event.add(this,n,l,a,o)})}s.event={global:{},add:function(e,n,o,a,l){var c,g,E,T,q,X,Z,U,re,Ae,Se,Ie=ge.get(e);if(Kt(e))for(o.handler&&(c=o,o=c.handler,l=c.selector),l&&s.find.matchesSelector(rn,l),o.guid||(o.guid=s.guid++),(T=Ie.events)||(T=Ie.events=Object.create(null)),(g=Ie.handle)||(g=Ie.handle=function(dt){return typeof s<"u"&&s.event.triggered!==dt.type?s.event.dispatch.apply(e,arguments):void 0}),n=(n||"").match(We)||[""],q=n.length;q--;)E=hr.exec(n[q])||[],re=Se=E[1],Ae=(E[2]||"").split(".").sort(),re&&(Z=s.event.special[re]||{},re=(l?Z.delegateType:Z.bindType)||re,Z=s.event.special[re]||{},X=s.extend({type:re,origType:Se,data:a,handler:o,guid:o.guid,selector:l,needsContext:l&&s.expr.match.needsContext.test(l),namespace:Ae.join(".")},c),(U=T[re])||(U=T[re]=[],U.delegateCount=0,(!Z.setup||Z.setup.call(e,a,Ae,g)===!1)&&e.addEventListener&&e.addEventListener(re,g)),Z.add&&(Z.add.call(e,X),X.handler.guid||(X.handler.guid=o.guid)),l?U.splice(U.delegateCount++,0,X):U.push(X),s.event.global[re]=!0)},remove:function(e,n,o,a,l){var c,g,E,T,q,X,Z,U,re,Ae,Se,Ie=ge.hasData(e)&&ge.get(e);if(!(!Ie||!(T=Ie.events))){for(n=(n||"").match(We)||[""],q=n.length;q--;){if(E=hr.exec(n[q])||[],re=Se=E[1],Ae=(E[2]||"").split(".").sort(),!re){for(re in T)s.event.remove(e,re+n[q],o,a,!0);continue}for(Z=s.event.special[re]||{},re=(a?Z.delegateType:Z.bindType)||re,U=T[re]||[],E=E[2]&&new RegExp("(^|\\.)"+Ae.join("\\.(?:.*\\.|)")+"(\\.|$)"),g=c=U.length;c--;)X=U[c],(l||Se===X.origType)&&(!o||o.guid===X.guid)&&(!E||E.test(X.namespace))&&(!a||a===X.selector||a==="**"&&X.selector)&&(U.splice(c,1),X.selector&&U.delegateCount--,Z.remove&&Z.remove.call(e,X));g&&!U.length&&((!Z.teardown||Z.teardown.call(e,Ae,Ie.handle)===!1)&&s.removeEvent(e,re,Ie.handle),delete T[re])}s.isEmptyObject(T)&&ge.remove(e,"handle events")}},dispatch:function(e){var n,o,a,l,c,g,E=new Array(arguments.length),T=s.event.fix(e),q=(ge.get(this,"events")||Object.create(null))[T.type]||[],X=s.event.special[T.type]||{};for(E[0]=T,n=1;n<arguments.length;n++)E[n]=arguments[n];if(T.delegateTarget=this,!(X.preDispatch&&X.preDispatch.call(this,T)===!1)){for(g=s.event.handlers.call(this,T,q),n=0;(l=g[n++])&&!T.isPropagationStopped();)for(T.currentTarget=l.elem,o=0;(c=l.handlers[o++])&&!T.isImmediatePropagationStopped();)(!T.rnamespace||c.namespace===!1||T.rnamespace.test(c.namespace))&&(T.handleObj=c,T.data=c.data,a=((s.event.special[c.origType]||{}).handle||c.handler).apply(l.elem,E),a!==void 0&&(T.result=a)===!1&&(T.preventDefault(),T.stopPropagation()));return X.postDispatch&&X.postDispatch.call(this,T),T.result}},handlers:function(e,n){var o,a,l,c,g,E=[],T=n.delegateCount,q=e.target;if(T&&q.nodeType&&!(e.type==="click"&&e.button>=1)){for(;q!==this;q=q.parentNode||this)if(q.nodeType===1&&!(e.type==="click"&&q.disabled===!0)){for(c=[],g={},o=0;o<T;o++)a=n[o],l=a.selector+" ",g[l]===void 0&&(g[l]=a.needsContext?s(l,this).index(q)>-1:s.find(l,this,null,[q]).length),g[l]&&c.push(a);c.length&&E.push({elem:q,handlers:c})}}return q=this,T<n.length&&E.push({elem:q,handlers:n.slice(T)}),E},addProp:function(e,n){Object.defineProperty(s.Event.prototype,e,{enumerable:!0,configurable:!0,get:k(n)?function(){if(this.originalEvent)return n(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[e]},set:function(o){Object.defineProperty(this,e,{enumerable:!0,configurable:!0,writable:!0,value:o})}})},fix:function(e){return e[s.expando]?e:new s.Event(e)},special:{load:{noBubble:!0},click:{setup:function(e){var n=this||e;return Rn.test(n.type)&&n.click&&ie(n,"input")&&$n(n,"click",!0),!1},trigger:function(e){var n=this||e;return Rn.test(n.type)&&n.click&&ie(n,"input")&&$n(n,"click"),!0},_default:function(e){var n=e.target;return Rn.test(n.type)&&n.click&&ie(n,"input")&&ge.get(n,"click")||ie(n,"a")}},beforeunload:{postDispatch:function(e){e.result!==void 0&&e.originalEvent&&(e.originalEvent.returnValue=e.result)}}}};function $n(e,n,o){if(!o){ge.get(e,n)===void 0&&s.event.add(e,n,pn);return}ge.set(e,n,!1),s.event.add(e,n,{namespace:!1,handler:function(a){var l,c=ge.get(this,n);if(a.isTrigger&1&&this[n]){if(c)(s.event.special[n]||{}).delegateType&&a.stopPropagation();else if(c=le.call(arguments),ge.set(this,n,c),this[n](),l=ge.get(this,n),ge.set(this,n,!1),c!==l)return a.stopImmediatePropagation(),a.preventDefault(),l}else c&&(ge.set(this,n,s.event.trigger(c[0],c.slice(1),this)),a.stopPropagation(),a.isImmediatePropagationStopped=pn)}})}s.removeEvent=function(e,n,o){e.removeEventListener&&e.removeEventListener(n,o)},s.Event=function(e,n){if(!(this instanceof s.Event))return new s.Event(e,n);e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||e.defaultPrevented===void 0&&e.returnValue===!1?pn:ln,this.target=e.target&&e.target.nodeType===3?e.target.parentNode:e.target,this.currentTarget=e.currentTarget,this.relatedTarget=e.relatedTarget):this.type=e,n&&s.extend(this,n),this.timeStamp=e&&e.timeStamp||Date.now(),this[s.expando]=!0},s.Event.prototype={constructor:s.Event,isDefaultPrevented:ln,isPropagationStopped:ln,isImmediatePropagationStopped:ln,isSimulated:!1,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=pn,e&&!this.isSimulated&&e.preventDefault()},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=pn,e&&!this.isSimulated&&e.stopPropagation()},stopImmediatePropagation:function(){var e=this.originalEvent;this.isImmediatePropagationStopped=pn,e&&!this.isSimulated&&e.stopImmediatePropagation(),this.stopPropagation()}},s.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},s.event.addProp),s.each({focus:"focusin",blur:"focusout"},function(e,n){function o(a){if(S.documentMode){var l=ge.get(this,"handle"),c=s.event.fix(a);c.type=a.type==="focusin"?"focus":"blur",c.isSimulated=!0,l(a),c.target===c.currentTarget&&l(c)}else s.event.simulate(n,a.target,s.event.fix(a))}s.event.special[e]={setup:function(){var a;if($n(this,e,!0),S.documentMode)a=ge.get(this,n),a||this.addEventListener(n,o),ge.set(this,n,(a||0)+1);else return!1},trigger:function(){return $n(this,e),!0},teardown:function(){var a;if(S.documentMode)a=ge.get(this,n)-1,a?ge.set(this,n,a):(this.removeEventListener(n,o),ge.remove(this,n));else return!1},_default:function(a){return ge.get(a.target,e)},delegateType:n},s.event.special[n]={setup:function(){var a=this.ownerDocument||this.document||this,l=S.documentMode?this:a,c=ge.get(l,n);c||(S.documentMode?this.addEventListener(n,o):a.addEventListener(e,o,!0)),ge.set(l,n,(c||0)+1)},teardown:function(){var a=this.ownerDocument||this.document||this,l=S.documentMode?this:a,c=ge.get(l,n)-1;c?ge.set(l,n,c):(S.documentMode?this.removeEventListener(n,o):a.removeEventListener(e,o,!0),ge.remove(l,n))}}}),s.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(e,n){s.event.special[e]={delegateType:n,bindType:n,handle:function(o){var a,l=this,c=o.relatedTarget,g=o.handleObj;return(!c||c!==l&&!s.contains(l,c))&&(o.type=g.origType,a=g.handler.apply(this,arguments),o.type=n),a}}}),s.fn.extend({on:function(e,n,o,a){return ui(this,e,n,o,a)},one:function(e,n,o,a){return ui(this,e,n,o,a,1)},off:function(e,n,o){var a,l;if(e&&e.preventDefault&&e.handleObj)return a=e.handleObj,s(e.delegateTarget).off(a.namespace?a.origType+"."+a.namespace:a.origType,a.selector,a.handler),this;if(typeof e=="object"){for(l in e)this.off(l,n,e[l]);return this}return(n===!1||typeof n=="function")&&(o=n,n=void 0),o===!1&&(o=ln),this.each(function(){s.event.remove(this,e,o,n)})}});var pr=/<script|<style|<link/i,jr=/checked\s*(?:[^=]|=\s*.checked.)/i,Ti=/^\s*<!\[CDATA\[|\]\]>\s*$/g;function Ji(e,n){return ie(e,"table")&&ie(n.nodeType!==11?n:n.firstChild,"tr")&&s(e).children("tbody")[0]||e}function Br(e){return e.type=(e.getAttribute("type")!==null)+"/"+e.type,e}function gr(e){return(e.type||"").slice(0,5)==="true/"?e.type=e.type.slice(5):e.removeAttribute("type"),e}function Zi(e,n){var o,a,l,c,g,E,T;if(n.nodeType===1){if(ge.hasData(e)&&(c=ge.get(e),T=c.events,T)){ge.remove(n,"handle events");for(l in T)for(o=0,a=T[l].length;o<a;o++)s.event.add(n,l,T[l][o])}rt.hasData(e)&&(g=rt.access(e),E=s.extend({},g),rt.set(n,E))}}function vr(e,n){var o=n.nodeName.toLowerCase();o==="input"&&Rn.test(e.type)?n.checked=e.checked:(o==="input"||o==="textarea")&&(n.defaultValue=e.defaultValue)}function cn(e,n,o,a){n=be(n);var l,c,g,E,T,q,X=0,Z=e.length,U=Z-1,re=n[0],Ae=k(re);if(Ae||Z>1&&typeof re=="string"&&!H.checkClone&&jr.test(re))return e.each(function(Se){var Ie=e.eq(Se);Ae&&(n[0]=re.call(this,Se,Ie.html())),cn(Ie,n,o,a)});if(Z&&(l=Bi(n,e[0].ownerDocument,!1,e,a),c=l.firstChild,l.childNodes.length===1&&(l=c),c||a)){for(g=s.map(mt(l,"script"),Br),E=g.length;X<Z;X++)T=l,X!==U&&(T=s.clone(T,!0,!0),E&&s.merge(g,mt(T,"script"))),o.call(e[X],T,X);if(E)for(q=g[g.length-1].ownerDocument,s.map(g,gr),X=0;X<E;X++)T=g[X],Yi.test(T.type||"")&&!ge.access(T,"globalEval")&&s.contains(q,T)&&(T.src&&(T.type||"").toLowerCase()!=="module"?s._evalUrl&&!T.noModule&&s._evalUrl(T.src,{nonce:T.nonce||T.getAttribute("nonce")},q):A(T.textContent.replace(Ti,""),T,q))}return e}function yr(e,n,o){for(var a,l=n?s.filter(n,e):e,c=0;(a=l[c])!=null;c++)!o&&a.nodeType===1&&s.cleanData(mt(a)),a.parentNode&&(o&&mn(a)&&wi(mt(a,"script")),a.parentNode.removeChild(a));return e}s.extend({htmlPrefilter:function(e){return e},clone:function(e,n,o){var a,l,c,g,E=e.cloneNode(!0),T=mn(e);if(!H.noCloneChecked&&(e.nodeType===1||e.nodeType===11)&&!s.isXMLDoc(e))for(g=mt(E),c=mt(e),a=0,l=c.length;a<l;a++)vr(c[a],g[a]);if(n)if(o)for(c=c||mt(e),g=g||mt(E),a=0,l=c.length;a<l;a++)Zi(c[a],g[a]);else Zi(e,E);return g=mt(E,"script"),g.length>0&&wi(g,!T&&mt(e,"script")),E},cleanData:function(e){for(var n,o,a,l=s.event.special,c=0;(o=e[c])!==void 0;c++)if(Kt(o)){if(n=o[ge.expando]){if(n.events)for(a in n.events)l[a]?s.event.remove(o,a):s.removeEvent(o,a,n.handle);o[ge.expando]=void 0}o[rt.expando]&&(o[rt.expando]=void 0)}}}),s.fn.extend({detach:function(e){return yr(this,e,!0)},remove:function(e){return yr(this,e)},text:function(e){return Ct(this,function(n){return n===void 0?s.text(this):this.empty().each(function(){(this.nodeType===1||this.nodeType===11||this.nodeType===9)&&(this.textContent=n)})},null,e,arguments.length)},append:function(){return cn(this,arguments,function(e){if(this.nodeType===1||this.nodeType===11||this.nodeType===9){var n=Ji(this,e);n.appendChild(e)}})},prepend:function(){return cn(this,arguments,function(e){if(this.nodeType===1||this.nodeType===11||this.nodeType===9){var n=Ji(this,e);n.insertBefore(e,n.firstChild)}})},before:function(){return cn(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this)})},after:function(){return cn(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)})},empty:function(){for(var e,n=0;(e=this[n])!=null;n++)e.nodeType===1&&(s.cleanData(mt(e,!1)),e.textContent="");return this},clone:function(e,n){return e=e??!1,n=n??e,this.map(function(){return s.clone(this,e,n)})},html:function(e){return Ct(this,function(n){var o=this[0]||{},a=0,l=this.length;if(n===void 0&&o.nodeType===1)return o.innerHTML;if(typeof n=="string"&&!pr.test(n)&&!St[(Xi.exec(n)||["",""])[1].toLowerCase()]){n=s.htmlPrefilter(n);try{for(;a<l;a++)o=this[a]||{},o.nodeType===1&&(s.cleanData(mt(o,!1)),o.innerHTML=n);o=0}catch{}}o&&this.empty().append(n)},null,e,arguments.length)},replaceWith:function(){var e=[];return cn(this,arguments,function(n){var o=this.parentNode;s.inArray(this,e)<0&&(s.cleanData(mt(this)),o&&o.replaceChild(n,this))},e)}}),s.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(e,n){s.fn[e]=function(o){for(var a,l=[],c=s(o),g=c.length-1,E=0;E<=g;E++)a=E===g?this:this.clone(!0),s(c[E])[n](a),Pe.apply(l,a.get());return this.pushStack(l)}});var Fi=new RegExp("^("+zn+")(?!px)[a-z%]+$","i"),$i=/^--/,fi=function(e){var n=e.ownerDocument.defaultView;return(!n||!n.opener)&&(n=R),n.getComputedStyle(e)},er=function(e,n,o){var a,l,c={};for(l in n)c[l]=e.style[l],e.style[l]=n[l];a=o.call(e);for(l in n)e.style[l]=c[l];return a},ao=new RegExp(zt.join("|"),"i");(function(){function e(){if(q){T.style.cssText="position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0",q.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%",rn.appendChild(T).appendChild(q);var X=R.getComputedStyle(q);o=X.top!=="1%",E=n(X.marginLeft)===12,q.style.right="60%",c=n(X.right)===36,a=n(X.width)===36,q.style.position="absolute",l=n(q.offsetWidth/3)===12,rn.removeChild(T),q=null}}function n(X){return Math.round(parseFloat(X))}var o,a,l,c,g,E,T=S.createElement("div"),q=S.createElement("div");q.style&&(q.style.backgroundClip="content-box",q.cloneNode(!0).style.backgroundClip="",H.clearCloneStyle=q.style.backgroundClip==="content-box",s.extend(H,{boxSizingReliable:function(){return e(),a},pixelBoxStyles:function(){return e(),c},pixelPosition:function(){return e(),o},reliableMarginLeft:function(){return e(),E},scrollboxSize:function(){return e(),l},reliableTrDimensions:function(){var X,Z,U,re;return g==null&&(X=S.createElement("table"),Z=S.createElement("tr"),U=S.createElement("div"),X.style.cssText="position:absolute;left:-11111px;border-collapse:separate",Z.style.cssText="box-sizing:content-box;border:1px solid",Z.style.height="1px",U.style.height="9px",U.style.display="block",rn.appendChild(X).appendChild(Z).appendChild(U),re=R.getComputedStyle(Z),g=parseInt(re.height,10)+parseInt(re.borderTopWidth,10)+parseInt(re.borderBottomWidth,10)===Z.offsetHeight,rn.removeChild(X)),g}}))})();function Zt(e,n,o){var a,l,c,g,E=$i.test(n),T=e.style;return o=o||fi(e),o&&(g=o.getPropertyValue(n)||o[n],E&&g&&(g=g.replace(Nt,"$1")||void 0),g===""&&!mn(e)&&(g=s.style(e,n)),!H.pixelBoxStyles()&&Fi.test(g)&&ao.test(n)&&(a=T.width,l=T.minWidth,c=T.maxWidth,T.minWidth=T.maxWidth=T.width=g,g=o.width,T.width=a,T.minWidth=l,T.maxWidth=c)),g!==void 0?g+"":g}function _i(e,n){return{get:function(){if(e()){delete this.get;return}return(this.get=n).apply(this,arguments)}}}var li=["Webkit","Moz","ms"],mr=S.createElement("div").style,Wi={};function tr(e){for(var n=e[0].toUpperCase()+e.slice(1),o=li.length;o--;)if(e=li[o]+n,e in mr)return e}function Ci(e){var n=s.cssProps[e]||Wi[e];return n||(e in mr?e:Wi[e]=tr(e)||e)}var Fr=/^(none|table(?!-c[ea]).+)/,Qn={position:"absolute",visibility:"hidden",display:"block"},ci={letterSpacing:"0",fontWeight:"400"};function di(e,n,o){var a=Dn.exec(n);return a?Math.max(0,a[2]-(o||0))+(a[3]||"px"):n}function Ye(e,n,o,a,l,c){var g=n==="width"?1:0,E=0,T=0,q=0;if(o===(a?"border":"content"))return 0;for(;g<4;g+=2)o==="margin"&&(q+=s.css(e,o+zt[g],!0,l)),a?(o==="content"&&(T-=s.css(e,"padding"+zt[g],!0,l)),o!=="margin"&&(T-=s.css(e,"border"+zt[g]+"Width",!0,l))):(T+=s.css(e,"padding"+zt[g],!0,l),o!=="padding"?T+=s.css(e,"border"+zt[g]+"Width",!0,l):E+=s.css(e,"border"+zt[g]+"Width",!0,l));return!a&&c>=0&&(T+=Math.max(0,Math.ceil(e["offset"+n[0].toUpperCase()+n.slice(1)]-c-T-E-.5))||0),T+q}function on(e,n,o){var a=fi(e),l=!H.boxSizingReliable()||o,c=l&&s.css(e,"boxSizing",!1,a)==="border-box",g=c,E=Zt(e,n,a),T="offset"+n[0].toUpperCase()+n.slice(1);if(Fi.test(E)){if(!o)return E;E="auto"}return(!H.boxSizingReliable()&&c||!H.reliableTrDimensions()&&ie(e,"tr")||E==="auto"||!parseFloat(E)&&s.css(e,"display",!1,a)==="inline")&&e.getClientRects().length&&(c=s.css(e,"boxSizing",!1,a)==="border-box",g=T in e,g&&(E=e[T])),E=parseFloat(E)||0,E+Ye(e,n,o||(c?"border":"content"),g,a,E)+"px"}s.extend({cssHooks:{opacity:{get:function(e,n){if(n){var o=Zt(e,"opacity");return o===""?"1":o}}}},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(e,n,o,a){if(!(!e||e.nodeType===3||e.nodeType===8||!e.style)){var l,c,g,E=ft(n),T=$i.test(n),q=e.style;if(T||(n=Ci(E)),g=s.cssHooks[n]||s.cssHooks[E],o!==void 0){if(c=typeof o,c==="string"&&(l=Dn.exec(o))&&l[1]&&(o=Hi(e,n,l),c="number"),o==null||o!==o)return;c==="number"&&!T&&(o+=l&&l[3]||(s.cssNumber[E]?"":"px")),!H.clearCloneStyle&&o===""&&n.indexOf("background")===0&&(q[n]="inherit"),(!g||!("set"in g)||(o=g.set(e,o,a))!==void 0)&&(T?q.setProperty(n,o):q[n]=o)}else return g&&"get"in g&&(l=g.get(e,!1,a))!==void 0?l:q[n]}},css:function(e,n,o,a){var l,c,g,E=ft(n),T=$i.test(n);return T||(n=Ci(E)),g=s.cssHooks[n]||s.cssHooks[E],g&&"get"in g&&(l=g.get(e,!0,o)),l===void 0&&(l=Zt(e,n,a)),l==="normal"&&n in ci&&(l=ci[n]),o===""||o?(c=parseFloat(l),o===!0||isFinite(c)?c||0:l):l}}),s.each(["height","width"],function(e,n){s.cssHooks[n]={get:function(o,a,l){if(a)return Fr.test(s.css(o,"display"))&&(!o.getClientRects().length||!o.getBoundingClientRect().width)?er(o,Qn,function(){return on(o,n,l)}):on(o,n,l)},set:function(o,a,l){var c,g=fi(o),E=!H.scrollboxSize()&&g.position==="absolute",T=E||l,q=T&&s.css(o,"boxSizing",!1,g)==="border-box",X=l?Ye(o,n,l,q,g):0;return q&&E&&(X-=Math.ceil(o["offset"+n[0].toUpperCase()+n.slice(1)]-parseFloat(g[n])-Ye(o,n,"border",!1,g)-.5)),X&&(c=Dn.exec(a))&&(c[3]||"px")!=="px"&&(o.style[n]=a,a=s.css(o,n)),di(o,a,X)}}}),s.cssHooks.marginLeft=_i(H.reliableMarginLeft,function(e,n){if(n)return(parseFloat(Zt(e,"marginLeft"))||e.getBoundingClientRect().left-er(e,{marginLeft:0},function(){return e.getBoundingClientRect().left}))+"px"}),s.each({margin:"",padding:"",border:"Width"},function(e,n){s.cssHooks[e+n]={expand:function(o){for(var a=0,l={},c=typeof o=="string"?o.split(" "):[o];a<4;a++)l[e+zt[a]+n]=c[a]||c[a-2]||c[0];return l}},e!=="margin"&&(s.cssHooks[e+n].set=di)}),s.fn.extend({css:function(e,n){return Ct(this,function(o,a,l){var c,g,E={},T=0;if(Array.isArray(a)){for(c=fi(o),g=a.length;T<g;T++)E[a[T]]=s.css(o,a[T],!1,c);return E}return l!==void 0?s.style(o,a,l):s.css(o,a)},e,n,arguments.length>1)}});function kt(e,n,o,a,l){return new kt.prototype.init(e,n,o,a,l)}s.Tween=kt,kt.prototype={constructor:kt,init:function(e,n,o,a,l,c){this.elem=e,this.prop=o,this.easing=l||s.easing._default,this.options=n,this.start=this.now=this.cur(),this.end=a,this.unit=c||(s.cssNumber[o]?"":"px")},cur:function(){var e=kt.propHooks[this.prop];return e&&e.get?e.get(this):kt.propHooks._default.get(this)},run:function(e){var n,o=kt.propHooks[this.prop];return this.options.duration?this.pos=n=s.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):this.pos=n=e,this.now=(this.end-this.start)*n+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),o&&o.set?o.set(this):kt.propHooks._default.set(this),this}},kt.prototype.init.prototype=kt.prototype,kt.propHooks={_default:{get:function(e){var n;return e.elem.nodeType!==1||e.elem[e.prop]!=null&&e.elem.style[e.prop]==null?e.elem[e.prop]:(n=s.css(e.elem,e.prop,""),!n||n==="auto"?0:n)},set:function(e){s.fx.step[e.prop]?s.fx.step[e.prop](e):e.elem.nodeType===1&&(s.cssHooks[e.prop]||e.elem.style[Ci(e.prop)]!=null)?s.style(e.elem,e.prop,e.now+e.unit):e.elem[e.prop]=e.now}}},kt.propHooks.scrollTop=kt.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},s.easing={linear:function(e){return e},swing:function(e){return .5-Math.cos(e*Math.PI)/2},_default:"swing"},s.fx=kt.prototype.init,s.fx.step={};var Cn,Xn,nr=/^(?:toggle|show|hide)$/,$r=/queueHooks$/;function qn(){Xn&&(S.hidden===!1&&R.requestAnimationFrame?R.requestAnimationFrame(qn):R.setTimeout(qn,s.fx.interval),s.fx.tick())}function bn(){return R.setTimeout(function(){Cn=void 0}),Cn=Date.now()}function On(e,n){var o,a=0,l={height:e};for(n=n?1:0;a<4;a+=2-n)o=zt[a],l["margin"+o]=l["padding"+o]=e;return n&&(l.opacity=l.width=e),l}function br(e,n,o){for(var a,l=(Rt.tweeners[n]||[]).concat(Rt.tweeners["*"]),c=0,g=l.length;c<g;c++)if(a=l[c].call(o,n,e))return a}function Wr(e,n,o){var a,l,c,g,E,T,q,X,Z="width"in n||"height"in n,U=this,re={},Ae=e.style,Se=e.nodeType&&Fn(e),Ie=ge.get(e,"fxshow");o.queue||(g=s._queueHooks(e,"fx"),g.unqueued==null&&(g.unqueued=0,E=g.empty.fire,g.empty.fire=function(){g.unqueued||E()}),g.unqueued++,U.always(function(){U.always(function(){g.unqueued--,s.queue(e,"fx").length||g.empty.fire()})}));for(a in n)if(l=n[a],nr.test(l)){if(delete n[a],c=c||l==="toggle",l===(Se?"hide":"show"))if(l==="show"&&Ie&&Ie[a]!==void 0)Se=!0;else continue;re[a]=Ie&&Ie[a]||s.style(e,a)}if(T=!s.isEmptyObject(n),!(!T&&s.isEmptyObject(re))){Z&&e.nodeType===1&&(o.overflow=[Ae.overflow,Ae.overflowX,Ae.overflowY],q=Ie&&Ie.display,q==null&&(q=ge.get(e,"display")),X=s.css(e,"display"),X==="none"&&(q?X=q:(Vt([e],!0),q=e.style.display||q,X=s.css(e,"display"),Vt([e]))),(X==="inline"||X==="inline-block"&&q!=null)&&s.css(e,"float")==="none"&&(T||(U.done(function(){Ae.display=q}),q==null&&(X=Ae.display,q=X==="none"?"":X)),Ae.display="inline-block")),o.overflow&&(Ae.overflow="hidden",U.always(function(){Ae.overflow=o.overflow[0],Ae.overflowX=o.overflow[1],Ae.overflowY=o.overflow[2]})),T=!1;for(a in re)T||(Ie?"hidden"in Ie&&(Se=Ie.hidden):Ie=ge.access(e,"fxshow",{display:q}),c&&(Ie.hidden=!Se),Se&&Vt([e],!0),U.done(function(){Se||Vt([e]),ge.remove(e,"fxshow");for(a in re)s.style(e,a,re[a])})),T=br(Se?Ie[a]:0,a,U),a in Ie||(Ie[a]=T.start,Se&&(T.end=T.start,T.start=0))}}function Ui(e,n){var o,a,l,c,g;for(o in e)if(a=ft(o),l=n[a],c=e[o],Array.isArray(c)&&(l=c[1],c=e[o]=c[0]),o!==a&&(e[a]=c,delete e[o]),g=s.cssHooks[a],g&&"expand"in g){c=g.expand(c),delete e[a];for(o in c)o in e||(e[o]=c[o],n[o]=l)}else n[a]=l}function Rt(e,n,o){var a,l,c=0,g=Rt.prefilters.length,E=s.Deferred().always(function(){delete T.elem}),T=function(){if(l)return!1;for(var Z=Cn||bn(),U=Math.max(0,q.startTime+q.duration-Z),re=U/q.duration||0,Ae=1-re,Se=0,Ie=q.tweens.length;Se<Ie;Se++)q.tweens[Se].run(Ae);return E.notifyWith(e,[q,Ae,U]),Ae<1&&Ie?U:(Ie||E.notifyWith(e,[q,1,0]),E.resolveWith(e,[q]),!1)},q=E.promise({elem:e,props:s.extend({},n),opts:s.extend(!0,{specialEasing:{},easing:s.easing._default},o),originalProperties:n,originalOptions:o,startTime:Cn||bn(),duration:o.duration,tweens:[],createTween:function(Z,U){var re=s.Tween(e,q.opts,Z,U,q.opts.specialEasing[Z]||q.opts.easing);return q.tweens.push(re),re},stop:function(Z){var U=0,re=Z?q.tweens.length:0;if(l)return this;for(l=!0;U<re;U++)q.tweens[U].run(1);return Z?(E.notifyWith(e,[q,1,0]),E.resolveWith(e,[q,Z])):E.rejectWith(e,[q,Z]),this}}),X=q.props;for(Ui(X,q.opts.specialEasing);c<g;c++)if(a=Rt.prefilters[c].call(q,e,X,q.opts),a)return k(a.stop)&&(s._queueHooks(q.elem,q.opts.queue).stop=a.stop.bind(a)),a;return s.map(X,br,q),k(q.opts.start)&&q.opts.start.call(e,q),q.progress(q.opts.progress).done(q.opts.done,q.opts.complete).fail(q.opts.fail).always(q.opts.always),s.fx.timer(s.extend(T,{elem:e,anim:q,queue:q.opts.queue})),q}s.Animation=s.extend(Rt,{tweeners:{"*":[function(e,n){var o=this.createTween(e,n);return Hi(o.elem,e,Dn.exec(n),o),o}]},tweener:function(e,n){k(e)?(n=e,e=["*"]):e=e.match(We);for(var o,a=0,l=e.length;a<l;a++)o=e[a],Rt.tweeners[o]=Rt.tweeners[o]||[],Rt.tweeners[o].unshift(n)},prefilters:[Wr],prefilter:function(e,n){n?Rt.prefilters.unshift(e):Rt.prefilters.push(e)}}),s.speed=function(e,n,o){var a=e&&typeof e=="object"?s.extend({},e):{complete:o||!o&&n||k(e)&&e,duration:e,easing:o&&n||n&&!k(n)&&n};return s.fx.off?a.duration=0:typeof a.duration!="number"&&(a.duration in s.fx.speeds?a.duration=s.fx.speeds[a.duration]:a.duration=s.fx.speeds._default),(a.queue==null||a.queue===!0)&&(a.queue="fx"),a.old=a.complete,a.complete=function(){k(a.old)&&a.old.call(this),a.queue&&s.dequeue(this,a.queue)},a},s.fn.extend({fadeTo:function(e,n,o,a){return this.filter(Fn).css("opacity",0).show().end().animate({opacity:n},e,o,a)},animate:function(e,n,o,a){var l=s.isEmptyObject(e),c=s.speed(n,o,a),g=function(){var E=Rt(this,s.extend({},e),c);(l||ge.get(this,"finish"))&&E.stop(!0)};return g.finish=g,l||c.queue===!1?this.each(g):this.queue(c.queue,g)},stop:function(e,n,o){var a=function(l){var c=l.stop;delete l.stop,c(o)};return typeof e!="string"&&(o=n,n=e,e=void 0),n&&this.queue(e||"fx",[]),this.each(function(){var l=!0,c=e!=null&&e+"queueHooks",g=s.timers,E=ge.get(this);if(c)E[c]&&E[c].stop&&a(E[c]);else for(c in E)E[c]&&E[c].stop&&$r.test(c)&&a(E[c]);for(c=g.length;c--;)g[c].elem===this&&(e==null||g[c].queue===e)&&(g[c].anim.stop(o),l=!1,g.splice(c,1));(l||!o)&&s.dequeue(this,e)})},finish:function(e){return e!==!1&&(e=e||"fx"),this.each(function(){var n,o=ge.get(this),a=o[e+"queue"],l=o[e+"queueHooks"],c=s.timers,g=a?a.length:0;for(o.finish=!0,s.queue(this,e,[]),l&&l.stop&&l.stop.call(this,!0),n=c.length;n--;)c[n].elem===this&&c[n].queue===e&&(c[n].anim.stop(!0),c.splice(n,1));for(n=0;n<g;n++)a[n]&&a[n].finish&&a[n].finish.call(this);delete o.finish})}}),s.each(["toggle","show","hide"],function(e,n){var o=s.fn[n];s.fn[n]=function(a,l,c){return a==null||typeof a=="boolean"?o.apply(this,arguments):this.animate(On(n,!0),a,l,c)}}),s.each({slideDown:On("show"),slideUp:On("hide"),slideToggle:On("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(e,n){s.fn[e]=function(o,a,l){return this.animate(n,o,a,l)}}),s.timers=[],s.fx.tick=function(){var e,n=0,o=s.timers;for(Cn=Date.now();n<o.length;n++)e=o[n],!e()&&o[n]===e&&o.splice(n--,1);o.length||s.fx.stop(),Cn=void 0},s.fx.timer=function(e){s.timers.push(e),s.fx.start()},s.fx.interval=13,s.fx.start=function(){Xn||(Xn=!0,qn())},s.fx.stop=function(){Xn=null},s.fx.speeds={slow:600,fast:200,_default:400},s.fn.delay=function(e,n){return e=s.fx&&s.fx.speeds[e]||e,n=n||"fx",this.queue(n,function(o,a){var l=R.setTimeout(o,e);a.stop=function(){R.clearTimeout(l)}})},(function(){var e=S.createElement("input"),n=S.createElement("select"),o=n.appendChild(S.createElement("option"));e.type="checkbox",H.checkOn=e.value!=="",H.optSelected=o.selected,e=S.createElement("input"),e.value="t",e.type="radio",H.radioValue=e.value==="t"})();var xr,Sn=s.expr.attrHandle;s.fn.extend({attr:function(e,n){return Ct(this,s.attr,e,n,arguments.length>1)},removeAttr:function(e){return this.each(function(){s.removeAttr(this,e)})}}),s.extend({attr:function(e,n,o){var a,l,c=e.nodeType;if(!(c===3||c===8||c===2)){if(typeof e.getAttribute>"u")return s.prop(e,n,o);if((c!==1||!s.isXMLDoc(e))&&(l=s.attrHooks[n.toLowerCase()]||(s.expr.match.bool.test(n)?xr:void 0)),o!==void 0){if(o===null){s.removeAttr(e,n);return}return l&&"set"in l&&(a=l.set(e,o,n))!==void 0?a:(e.setAttribute(n,o+""),o)}return l&&"get"in l&&(a=l.get(e,n))!==null?a:(a=s.find.attr(e,n),a??void 0)}},attrHooks:{type:{set:function(e,n){if(!H.radioValue&&n==="radio"&&ie(e,"input")){var o=e.value;return e.setAttribute("type",n),o&&(e.value=o),n}}}},removeAttr:function(e,n){var o,a=0,l=n&&n.match(We);if(l&&e.nodeType===1)for(;o=l[a++];)e.removeAttribute(o)}}),xr={set:function(e,n,o){return n===!1?s.removeAttr(e,o):e.setAttribute(o,o),o}},s.each(s.expr.match.bool.source.match(/\w+/g),function(e,n){var o=Sn[n]||s.find.attr;Sn[n]=function(a,l,c){var g,E,T=l.toLowerCase();return c||(E=Sn[T],Sn[T]=g,g=o(a,l,c)!=null?T:null,Sn[T]=E),g}});var ir=/^(?:input|select|textarea|button)$/i,wr=/^(?:a|area)$/i;s.fn.extend({prop:function(e,n){return Ct(this,s.prop,e,n,arguments.length>1)},removeProp:function(e){return this.each(function(){delete this[s.propFix[e]||e]})}}),s.extend({prop:function(e,n,o){var a,l,c=e.nodeType;if(!(c===3||c===8||c===2))return(c!==1||!s.isXMLDoc(e))&&(n=s.propFix[n]||n,l=s.propHooks[n]),o!==void 0?l&&"set"in l&&(a=l.set(e,o,n))!==void 0?a:e[n]=o:l&&"get"in l&&(a=l.get(e,n))!==null?a:e[n]},propHooks:{tabIndex:{get:function(e){var n=s.find.attr(e,"tabindex");return n?parseInt(n,10):ir.test(e.nodeName)||wr.test(e.nodeName)&&e.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),H.optSelected||(s.propHooks.selected={get:function(e){var n=e.parentNode;return n&&n.parentNode&&n.parentNode.selectedIndex,null},set:function(e){var n=e.parentNode;n&&(n.selectedIndex,n.parentNode&&n.parentNode.selectedIndex)}}),s.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){s.propFix[this.toLowerCase()]=this});function jt(e){var n=e.match(We)||[];return n.join(" ")}function Yt(e){return e.getAttribute&&e.getAttribute("class")||""}function Si(e){return Array.isArray(e)?e:typeof e=="string"?e.match(We)||[]:[]}s.fn.extend({addClass:function(e){var n,o,a,l,c,g;return k(e)?this.each(function(E){s(this).addClass(e.call(this,E,Yt(this)))}):(n=Si(e),n.length?this.each(function(){if(a=Yt(this),o=this.nodeType===1&&" "+jt(a)+" ",o){for(c=0;c<n.length;c++)l=n[c],o.indexOf(" "+l+" ")<0&&(o+=l+" ");g=jt(o),a!==g&&this.setAttribute("class",g)}}):this)},removeClass:function(e){var n,o,a,l,c,g;return k(e)?this.each(function(E){s(this).removeClass(e.call(this,E,Yt(this)))}):arguments.length?(n=Si(e),n.length?this.each(function(){if(a=Yt(this),o=this.nodeType===1&&" "+jt(a)+" ",o){for(c=0;c<n.length;c++)for(l=n[c];o.indexOf(" "+l+" ")>-1;)o=o.replace(" "+l+" "," ");g=jt(o),a!==g&&this.setAttribute("class",g)}}):this):this.attr("class","")},toggleClass:function(e,n){var o,a,l,c,g=typeof e,E=g==="string"||Array.isArray(e);return k(e)?this.each(function(T){s(this).toggleClass(e.call(this,T,Yt(this),n),n)}):typeof n=="boolean"&&E?n?this.addClass(e):this.removeClass(e):(o=Si(e),this.each(function(){if(E)for(c=s(this),l=0;l<o.length;l++)a=o[l],c.hasClass(a)?c.removeClass(a):c.addClass(a);else(e===void 0||g==="boolean")&&(a=Yt(this),a&&ge.set(this,"__className__",a),this.setAttribute&&this.setAttribute("class",a||e===!1?"":ge.get(this,"__className__")||""))}))},hasClass:function(e){var n,o,a=0;for(n=" "+e+" ";o=this[a++];)if(o.nodeType===1&&(" "+jt(Yt(o))+" ").indexOf(n)>-1)return!0;return!1}});var Ur=/\r/g;s.fn.extend({val:function(e){var n,o,a,l=this[0];return arguments.length?(a=k(e),this.each(function(c){var g;this.nodeType===1&&(a?g=e.call(this,c,s(this).val()):g=e,g==null?g="":typeof g=="number"?g+="":Array.isArray(g)&&(g=s.map(g,function(E){return E==null?"":E+""})),n=s.valHooks[this.type]||s.valHooks[this.nodeName.toLowerCase()],(!n||!("set"in n)||n.set(this,g,"value")===void 0)&&(this.value=g))})):l?(n=s.valHooks[l.type]||s.valHooks[l.nodeName.toLowerCase()],n&&"get"in n&&(o=n.get(l,"value"))!==void 0?o:(o=l.value,typeof o=="string"?o.replace(Ur,""):o??"")):void 0}}),s.extend({valHooks:{option:{get:function(e){var n=s.find.attr(e,"value");return n??jt(s.text(e))}},select:{get:function(e){var n,o,a,l=e.options,c=e.selectedIndex,g=e.type==="select-one",E=g?null:[],T=g?c+1:l.length;for(c<0?a=T:a=g?c:0;a<T;a++)if(o=l[a],(o.selected||a===c)&&!o.disabled&&(!o.parentNode.disabled||!ie(o.parentNode,"optgroup"))){if(n=s(o).val(),g)return n;E.push(n)}return E},set:function(e,n){for(var o,a,l=e.options,c=s.makeArray(n),g=l.length;g--;)a=l[g],(a.selected=s.inArray(s.valHooks.option.get(a),c)>-1)&&(o=!0);return o||(e.selectedIndex=-1),c}}}}),s.each(["radio","checkbox"],function(){s.valHooks[this]={set:function(e,n){if(Array.isArray(n))return e.checked=s.inArray(s(e).val(),n)>-1}},H.checkOn||(s.valHooks[this].get=function(e){return e.getAttribute("value")===null?"on":e.value})});var Jt=R.location,en={guid:Date.now()},hi=/\?/;s.parseXML=function(e){var n,o;if(!e||typeof e!="string")return null;try{n=new R.DOMParser().parseFromString(e,"text/xml")}catch{}return o=n&&n.getElementsByTagName("parsererror")[0],(!n||o)&&s.error("Invalid XML: "+(o?s.map(o.childNodes,function(a){return a.textContent}).join(`
|
|
21
|
+
`):e)),n};var Ei=/^(?:focusinfocus|focusoutblur)$/,Tr=function(e){e.stopPropagation()};s.extend(s.event,{trigger:function(e,n,o,a){var l,c,g,E,T,q,X,Z,U=[o||S],re=Ne.call(e,"type")?e.type:e,Ae=Ne.call(e,"namespace")?e.namespace.split("."):[];if(c=Z=g=o=o||S,!(o.nodeType===3||o.nodeType===8)&&!Ei.test(re+s.event.triggered)&&(re.indexOf(".")>-1&&(Ae=re.split("."),re=Ae.shift(),Ae.sort()),T=re.indexOf(":")<0&&"on"+re,e=e[s.expando]?e:new s.Event(re,typeof e=="object"&&e),e.isTrigger=a?2:3,e.namespace=Ae.join("."),e.rnamespace=e.namespace?new RegExp("(^|\\.)"+Ae.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,e.result=void 0,e.target||(e.target=o),n=n==null?[e]:s.makeArray(n,[e]),X=s.event.special[re]||{},!(!a&&X.trigger&&X.trigger.apply(o,n)===!1))){if(!a&&!X.noBubble&&!j(o)){for(E=X.delegateType||re,Ei.test(E+re)||(c=c.parentNode);c;c=c.parentNode)U.push(c),g=c;g===(o.ownerDocument||S)&&U.push(g.defaultView||g.parentWindow||R)}for(l=0;(c=U[l++])&&!e.isPropagationStopped();)Z=c,e.type=l>1?E:X.bindType||re,q=(ge.get(c,"events")||Object.create(null))[e.type]&&ge.get(c,"handle"),q&&q.apply(c,n),q=T&&c[T],q&&q.apply&&Kt(c)&&(e.result=q.apply(c,n),e.result===!1&&e.preventDefault());return e.type=re,!a&&!e.isDefaultPrevented()&&(!X._default||X._default.apply(U.pop(),n)===!1)&&Kt(o)&&T&&k(o[re])&&!j(o)&&(g=o[T],g&&(o[T]=null),s.event.triggered=re,e.isPropagationStopped()&&Z.addEventListener(re,Tr),o[re](),e.isPropagationStopped()&&Z.removeEventListener(re,Tr),s.event.triggered=void 0,g&&(o[T]=g)),e.result}},simulate:function(e,n,o){var a=s.extend(new s.Event,o,{type:e,isSimulated:!0});s.event.trigger(a,null,n)}}),s.fn.extend({trigger:function(e,n){return this.each(function(){s.event.trigger(e,n,this)})},triggerHandler:function(e,n){var o=this[0];if(o)return s.event.trigger(e,n,o,!0)}});var Kr=/\[\]$/,_r=/\r?\n/g,Vr=/^(?:submit|button|image|reset|file)$/i,Ai=/^(?:input|select|textarea|keygen)/i;function Yn(e,n,o,a){var l;if(Array.isArray(n))s.each(n,function(c,g){o||Kr.test(e)?a(e,g):Yn(e+"["+(typeof g=="object"&&g!=null?c:"")+"]",g,o,a)});else if(!o&&P(n)==="object")for(l in n)Yn(e+"["+l+"]",n[l],o,a);else a(e,n)}s.param=function(e,n){var o,a=[],l=function(c,g){var E=k(g)?g():g;a[a.length]=encodeURIComponent(c)+"="+encodeURIComponent(E??"")};if(e==null)return"";if(Array.isArray(e)||e.jquery&&!s.isPlainObject(e))s.each(e,function(){l(this.name,this.value)});else for(o in e)Yn(o,e[o],n,l);return a.join("&")},s.fn.extend({serialize:function(){return s.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var e=s.prop(this,"elements");return e?s.makeArray(e):this}).filter(function(){var e=this.type;return this.name&&!s(this).is(":disabled")&&Ai.test(this.nodeName)&&!Vr.test(e)&&(this.checked||!Rn.test(e))}).map(function(e,n){var o=s(this).val();return o==null?null:Array.isArray(o)?s.map(o,function(a){return{name:n.name,value:a.replace(_r,`\r
|
|
22
|
+
`)}}):{name:n.name,value:o.replace(_r,`\r
|
|
23
|
+
`)}}).get()}});var Gr=/%20/g,ki=/#.*$/,Jn=/([?&])_=[^&]*/,Cr=/^(.*?):[ \t]*([^\r\n]*)$/mg,rr=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,uo=/^(?:GET|HEAD)$/,zr=/^\/\//,or={},wt={},Dt="*/".concat("*"),pi=S.createElement("a");pi.href=Jt.href;function Di(e){return function(n,o){typeof n!="string"&&(o=n,n="*");var a,l=0,c=n.toLowerCase().match(We)||[];if(k(o))for(;a=c[l++];)a[0]==="+"?(a=a.slice(1)||"*",(e[a]=e[a]||[]).unshift(o)):(e[a]=e[a]||[]).push(o)}}function Sr(e,n,o,a){var l={},c=e===wt;function g(E){var T;return l[E]=!0,s.each(e[E]||[],function(q,X){var Z=X(n,o,a);if(typeof Z=="string"&&!c&&!l[Z])return n.dataTypes.unshift(Z),g(Z),!1;if(c)return!(T=Z)}),T}return g(n.dataTypes[0])||!l["*"]&&g("*")}function Li(e,n){var o,a,l=s.ajaxSettings.flatOptions||{};for(o in n)n[o]!==void 0&&((l[o]?e:a||(a={}))[o]=n[o]);return a&&s.extend(!0,e,a),e}function Qr(e,n,o){for(var a,l,c,g,E=e.contents,T=e.dataTypes;T[0]==="*";)T.shift(),a===void 0&&(a=e.mimeType||n.getResponseHeader("Content-Type"));if(a){for(l in E)if(E[l]&&E[l].test(a)){T.unshift(l);break}}if(T[0]in o)c=T[0];else{for(l in o){if(!T[0]||e.converters[l+" "+T[0]]){c=l;break}g||(g=l)}c=c||g}if(c)return c!==T[0]&&T.unshift(c),o[c]}function Xr(e,n,o,a){var l,c,g,E,T,q={},X=e.dataTypes.slice();if(X[1])for(g in e.converters)q[g.toLowerCase()]=e.converters[g];for(c=X.shift();c;)if(e.responseFields[c]&&(o[e.responseFields[c]]=n),!T&&a&&e.dataFilter&&(n=e.dataFilter(n,e.dataType)),T=c,c=X.shift(),c){if(c==="*")c=T;else if(T!=="*"&&T!==c){if(g=q[T+" "+c]||q["* "+c],!g){for(l in q)if(E=l.split(" "),E[1]===c&&(g=q[T+" "+E[0]]||q["* "+E[0]],g)){g===!0?g=q[l]:q[l]!==!0&&(c=E[0],X.unshift(E[1]));break}}if(g!==!0)if(g&&e.throws)n=g(n);else try{n=g(n)}catch(Z){return{state:"parsererror",error:g?Z:"No conversion from "+T+" to "+c}}}}return{state:"success",data:n}}s.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:Jt.href,type:"GET",isLocal:rr.test(Jt.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Dt,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":s.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,n){return n?Li(Li(e,s.ajaxSettings),n):Li(s.ajaxSettings,e)},ajaxPrefilter:Di(or),ajaxTransport:Di(wt),ajax:function(e,n){typeof e=="object"&&(n=e,e=void 0),n=n||{};var o,a,l,c,g,E,T,q,X,Z,U=s.ajaxSetup({},n),re=U.context||U,Ae=U.context&&(re.nodeType||re.jquery)?s(re):s.event,Se=s.Deferred(),Ie=s.Callbacks("once memory"),dt=U.statusCode||{},ot={},Ot={},Ft="canceled",Me={readyState:0,getResponseHeader:function(He){var Je;if(T){if(!c)for(c={};Je=Cr.exec(l);)c[Je[1].toLowerCase()+" "]=(c[Je[1].toLowerCase()+" "]||[]).concat(Je[2]);Je=c[He.toLowerCase()+" "]}return Je==null?null:Je.join(", ")},getAllResponseHeaders:function(){return T?l:null},setRequestHeader:function(He,Je){return T==null&&(He=Ot[He.toLowerCase()]=Ot[He.toLowerCase()]||He,ot[He]=Je),this},overrideMimeType:function(He){return T==null&&(U.mimeType=He),this},statusCode:function(He){var Je;if(He)if(T)Me.always(He[Me.status]);else for(Je in He)dt[Je]=[dt[Je],He[Je]];return this},abort:function(He){var Je=He||Ft;return o&&o.abort(Je),vn(0,Je),this}};if(Se.promise(Me),U.url=((e||U.url||Jt.href)+"").replace(zr,Jt.protocol+"//"),U.type=n.method||n.type||U.method||U.type,U.dataTypes=(U.dataType||"*").toLowerCase().match(We)||[""],U.crossDomain==null){E=S.createElement("a");try{E.href=U.url,E.href=E.href,U.crossDomain=pi.protocol+"//"+pi.host!=E.protocol+"//"+E.host}catch{U.crossDomain=!0}}if(U.data&&U.processData&&typeof U.data!="string"&&(U.data=s.param(U.data,U.traditional)),Sr(or,U,n,Me),T)return Me;q=s.event&&U.global,q&&s.active++===0&&s.event.trigger("ajaxStart"),U.type=U.type.toUpperCase(),U.hasContent=!uo.test(U.type),a=U.url.replace(ki,""),U.hasContent?U.data&&U.processData&&(U.contentType||"").indexOf("application/x-www-form-urlencoded")===0&&(U.data=U.data.replace(Gr,"+")):(Z=U.url.slice(a.length),U.data&&(U.processData||typeof U.data=="string")&&(a+=(hi.test(a)?"&":"?")+U.data,delete U.data),U.cache===!1&&(a=a.replace(Jn,"$1"),Z=(hi.test(a)?"&":"?")+"_="+en.guid+++Z),U.url=a+Z),U.ifModified&&(s.lastModified[a]&&Me.setRequestHeader("If-Modified-Since",s.lastModified[a]),s.etag[a]&&Me.setRequestHeader("If-None-Match",s.etag[a])),(U.data&&U.hasContent&&U.contentType!==!1||n.contentType)&&Me.setRequestHeader("Content-Type",U.contentType),Me.setRequestHeader("Accept",U.dataTypes[0]&&U.accepts[U.dataTypes[0]]?U.accepts[U.dataTypes[0]]+(U.dataTypes[0]!=="*"?", "+Dt+"; q=0.01":""):U.accepts["*"]);for(X in U.headers)Me.setRequestHeader(X,U.headers[X]);if(U.beforeSend&&(U.beforeSend.call(re,Me,U)===!1||T))return Me.abort();if(Ft="abort",Ie.add(U.complete),Me.done(U.success),Me.fail(U.error),o=Sr(wt,U,n,Me),!o)vn(-1,"No Transport");else{if(Me.readyState=1,q&&Ae.trigger("ajaxSend",[Me,U]),T)return Me;U.async&&U.timeout>0&&(g=R.setTimeout(function(){Me.abort("timeout")},U.timeout));try{T=!1,o.send(ot,vn)}catch(He){if(T)throw He;vn(-1,He)}}function vn(He,Je,sn,Ki){var $t,Pn,Wt,Qt,an,Bt=Je;T||(T=!0,g&&R.clearTimeout(g),o=void 0,l=Ki||"",Me.readyState=He>0?4:0,$t=He>=200&&He<300||He===304,sn&&(Qt=Qr(U,Me,sn)),!$t&&s.inArray("script",U.dataTypes)>-1&&s.inArray("json",U.dataTypes)<0&&(U.converters["text script"]=function(){}),Qt=Xr(U,Qt,Me,$t),$t?(U.ifModified&&(an=Me.getResponseHeader("Last-Modified"),an&&(s.lastModified[a]=an),an=Me.getResponseHeader("etag"),an&&(s.etag[a]=an)),He===204||U.type==="HEAD"?Bt="nocontent":He===304?Bt="notmodified":(Bt=Qt.state,Pn=Qt.data,Wt=Qt.error,$t=!Wt)):(Wt=Bt,(He||!Bt)&&(Bt="error",He<0&&(He=0))),Me.status=He,Me.statusText=(Je||Bt)+"",$t?Se.resolveWith(re,[Pn,Bt,Me]):Se.rejectWith(re,[Me,Bt,Wt]),Me.statusCode(dt),dt=void 0,q&&Ae.trigger($t?"ajaxSuccess":"ajaxError",[Me,U,$t?Pn:Wt]),Ie.fireWith(re,[Me,Bt]),q&&(Ae.trigger("ajaxComplete",[Me,U]),--s.active||s.event.trigger("ajaxStop")))}return Me},getJSON:function(e,n,o){return s.get(e,n,o,"json")},getScript:function(e,n){return s.get(e,void 0,n,"script")}}),s.each(["get","post"],function(e,n){s[n]=function(o,a,l,c){return k(a)&&(c=c||l,l=a,a=void 0),s.ajax(s.extend({url:o,type:n,dataType:c,data:a,success:l},s.isPlainObject(o)&&o))}}),s.ajaxPrefilter(function(e){var n;for(n in e.headers)n.toLowerCase()==="content-type"&&(e.contentType=e.headers[n]||"")}),s._evalUrl=function(e,n,o){return s.ajax({url:e,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(a){s.globalEval(a,n,o)}})},s.fn.extend({wrapAll:function(e){var n;return this[0]&&(k(e)&&(e=e.call(this[0])),n=s(e,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&n.insertBefore(this[0]),n.map(function(){for(var o=this;o.firstElementChild;)o=o.firstElementChild;return o}).append(this)),this},wrapInner:function(e){return k(e)?this.each(function(n){s(this).wrapInner(e.call(this,n))}):this.each(function(){var n=s(this),o=n.contents();o.length?o.wrapAll(e):n.append(e)})},wrap:function(e){var n=k(e);return this.each(function(o){s(this).wrapAll(n?e.call(this,o):e)})},unwrap:function(e){return this.parent(e).not("body").each(function(){s(this).replaceWith(this.childNodes)}),this}}),s.expr.pseudos.hidden=function(e){return!s.expr.pseudos.visible(e)},s.expr.pseudos.visible=function(e){return!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)},s.ajaxSettings.xhr=function(){try{return new R.XMLHttpRequest}catch{}};var Yr={0:200,1223:204},In=s.ajaxSettings.xhr();H.cors=!!In&&"withCredentials"in In,H.ajax=In=!!In,s.ajaxTransport(function(e){var n,o;if(H.cors||In&&!e.crossDomain)return{send:function(a,l){var c,g=e.xhr();if(g.open(e.type,e.url,e.async,e.username,e.password),e.xhrFields)for(c in e.xhrFields)g[c]=e.xhrFields[c];e.mimeType&&g.overrideMimeType&&g.overrideMimeType(e.mimeType),!e.crossDomain&&!a["X-Requested-With"]&&(a["X-Requested-With"]="XMLHttpRequest");for(c in a)g.setRequestHeader(c,a[c]);n=function(E){return function(){n&&(n=o=g.onload=g.onerror=g.onabort=g.ontimeout=g.onreadystatechange=null,E==="abort"?g.abort():E==="error"?typeof g.status!="number"?l(0,"error"):l(g.status,g.statusText):l(Yr[g.status]||g.status,g.statusText,(g.responseType||"text")!=="text"||typeof g.responseText!="string"?{binary:g.response}:{text:g.responseText},g.getAllResponseHeaders()))}},g.onload=n(),o=g.onerror=g.ontimeout=n("error"),g.onabort!==void 0?g.onabort=o:g.onreadystatechange=function(){g.readyState===4&&R.setTimeout(function(){n&&o()})},n=n("abort");try{g.send(e.hasContent&&e.data||null)}catch(E){if(n)throw E}},abort:function(){n&&n()}}}),s.ajaxPrefilter(function(e){e.crossDomain&&(e.contents.script=!1)}),s.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(e){return s.globalEval(e),e}}}),s.ajaxPrefilter("script",function(e){e.cache===void 0&&(e.cache=!1),e.crossDomain&&(e.type="GET")}),s.ajaxTransport("script",function(e){if(e.crossDomain||e.scriptAttrs){var n,o;return{send:function(a,l){n=s("<script>").attr(e.scriptAttrs||{}).prop({charset:e.scriptCharset,src:e.url}).on("load error",o=function(c){n.remove(),o=null,c&&l(c.type==="error"?404:200,c.type)}),S.head.appendChild(n[0])},abort:function(){o&&o()}}}});var Gt=[],Zn=/(=)\?(?=&|$)|\?\?/;s.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=Gt.pop()||s.expando+"_"+en.guid++;return this[e]=!0,e}}),s.ajaxPrefilter("json jsonp",function(e,n,o){var a,l,c,g=e.jsonp!==!1&&(Zn.test(e.url)?"url":typeof e.data=="string"&&(e.contentType||"").indexOf("application/x-www-form-urlencoded")===0&&Zn.test(e.data)&&"data");if(g||e.dataTypes[0]==="jsonp")return a=e.jsonpCallback=k(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,g?e[g]=e[g].replace(Zn,"$1"+a):e.jsonp!==!1&&(e.url+=(hi.test(e.url)?"&":"?")+e.jsonp+"="+a),e.converters["script json"]=function(){return c||s.error(a+" was not called"),c[0]},e.dataTypes[0]="json",l=R[a],R[a]=function(){c=arguments},o.always(function(){l===void 0?s(R).removeProp(a):R[a]=l,e[a]&&(e.jsonpCallback=n.jsonpCallback,Gt.push(a)),c&&k(l)&&l(c[0]),c=l=void 0}),"script"}),H.createHTMLDocument=(function(){var e=S.implementation.createHTMLDocument("").body;return e.innerHTML="<form></form><form></form>",e.childNodes.length===2})(),s.parseHTML=function(e,n,o){if(typeof e!="string")return[];typeof n=="boolean"&&(o=n,n=!1);var a,l,c;return n||(H.createHTMLDocument?(n=S.implementation.createHTMLDocument(""),a=n.createElement("base"),a.href=S.location.href,n.head.appendChild(a)):n=S),l=_e.exec(e),c=!o&&[],l?[n.createElement(l[1])]:(l=Bi([e],n,c),c&&c.length&&s(c).remove(),s.merge([],l.childNodes))},s.fn.load=function(e,n,o){var a,l,c,g=this,E=e.indexOf(" ");return E>-1&&(a=jt(e.slice(E)),e=e.slice(0,E)),k(n)?(o=n,n=void 0):n&&typeof n=="object"&&(l="POST"),g.length>0&&s.ajax({url:e,type:l||"GET",dataType:"html",data:n}).done(function(T){c=arguments,g.html(a?s("<div>").append(s.parseHTML(T)).find(a):T)}).always(o&&function(T,q){g.each(function(){o.apply(this,c||[T.responseText,q,T])})}),this},s.expr.pseudos.animated=function(e){return s.grep(s.timers,function(n){return e===n.elem}).length},s.offset={setOffset:function(e,n,o){var a,l,c,g,E,T,q,X=s.css(e,"position"),Z=s(e),U={};X==="static"&&(e.style.position="relative"),E=Z.offset(),c=s.css(e,"top"),T=s.css(e,"left"),q=(X==="absolute"||X==="fixed")&&(c+T).indexOf("auto")>-1,q?(a=Z.position(),g=a.top,l=a.left):(g=parseFloat(c)||0,l=parseFloat(T)||0),k(n)&&(n=n.call(e,o,s.extend({},E))),n.top!=null&&(U.top=n.top-E.top+g),n.left!=null&&(U.left=n.left-E.left+l),"using"in n?n.using.call(e,U):Z.css(U)}},s.fn.extend({offset:function(e){if(arguments.length)return e===void 0?this:this.each(function(l){s.offset.setOffset(this,e,l)});var n,o,a=this[0];if(a)return a.getClientRects().length?(n=a.getBoundingClientRect(),o=a.ownerDocument.defaultView,{top:n.top+o.pageYOffset,left:n.left+o.pageXOffset}):{top:0,left:0}},position:function(){if(this[0]){var e,n,o,a=this[0],l={top:0,left:0};if(s.css(a,"position")==="fixed")n=a.getBoundingClientRect();else{for(n=this.offset(),o=a.ownerDocument,e=a.offsetParent||o.documentElement;e&&(e===o.body||e===o.documentElement)&&s.css(e,"position")==="static";)e=e.parentNode;e&&e!==a&&e.nodeType===1&&(l=s(e).offset(),l.top+=s.css(e,"borderTopWidth",!0),l.left+=s.css(e,"borderLeftWidth",!0))}return{top:n.top-l.top-s.css(a,"marginTop",!0),left:n.left-l.left-s.css(a,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var e=this.offsetParent;e&&s.css(e,"position")==="static";)e=e.offsetParent;return e||rn})}}),s.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(e,n){var o=n==="pageYOffset";s.fn[e]=function(a){return Ct(this,function(l,c,g){var E;if(j(l)?E=l:l.nodeType===9&&(E=l.defaultView),g===void 0)return E?E[n]:l[c];E?E.scrollTo(o?E.pageXOffset:g,o?g:E.pageYOffset):l[c]=g},e,a,arguments.length)}}),s.each(["top","left"],function(e,n){s.cssHooks[n]=_i(H.pixelPosition,function(o,a){if(a)return a=Zt(o,n),Fi.test(a)?s(o).position()[n]+"px":a})}),s.each({Height:"height",Width:"width"},function(e,n){s.each({padding:"inner"+e,content:n,"":"outer"+e},function(o,a){s.fn[a]=function(l,c){var g=arguments.length&&(o||typeof l!="boolean"),E=o||(l===!0||c===!0?"margin":"border");return Ct(this,function(T,q,X){var Z;return j(T)?a.indexOf("outer")===0?T["inner"+e]:T.document.documentElement["client"+e]:T.nodeType===9?(Z=T.documentElement,Math.max(T.body["scroll"+e],Z["scroll"+e],T.body["offset"+e],Z["offset"+e],Z["client"+e])):X===void 0?s.css(T,q,E):s.style(T,q,X,E)},n,g?l:void 0,g)}})}),s.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,n){s.fn[n]=function(o){return this.on(n,o)}}),s.fn.extend({bind:function(e,n,o){return this.on(e,null,n,o)},unbind:function(e,n){return this.off(e,null,n)},delegate:function(e,n,o,a){return this.on(n,e,o,a)},undelegate:function(e,n,o){return arguments.length===1?this.off(e,"**"):this.off(n,e||"**",o)},hover:function(e,n){return this.on("mouseenter",e).on("mouseleave",n||e)}}),s.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(e,n){s.fn[n]=function(o,a){return arguments.length>0?this.on(n,null,o,a):this.trigger(n)}});var gn=/^[\s\uFEFF\xA0]+|([^\s\uFEFF\xA0])[\s\uFEFF\xA0]+$/g;s.proxy=function(e,n){var o,a,l;if(typeof n=="string"&&(o=e[n],n=e,e=o),!!k(e))return a=le.call(arguments,2),l=function(){return e.apply(n||this,a.concat(le.call(arguments)))},l.guid=e.guid=e.guid||s.guid++,l},s.holdReady=function(e){e?s.readyWait++:s.ready(!0)},s.isArray=Array.isArray,s.parseJSON=JSON.parse,s.nodeName=ie,s.isFunction=k,s.isWindow=j,s.camelCase=ft,s.type=P,s.now=Date.now,s.isNumeric=function(e){var n=s.type(e);return(n==="number"||n==="string")&&!isNaN(e-parseFloat(e))},s.trim=function(e){return e==null?"":(e+"").replace(gn,"$1")};var Er=R.jQuery,Ar=R.$;return s.noConflict=function(e){return R.$===s&&(R.$=Ar),e&&R.jQuery===s&&(R.jQuery=Er),s},typeof y>"u"&&(R.jQuery=R.$=s),s})})(zo)),zo.exports}var bo=window.CustomEvent;(!bo||typeof bo=="object")&&(bo=function(R,y){y=y||{};var te=document.createEvent("CustomEvent");return te.initCustomEvent(R,!!y.bubbles,!!y.cancelable,y.detail||null),te},bo.prototype=window.Event.prototype);function eu(V,R){var y="on"+R.type.toLowerCase();return typeof V[y]=="function"&&V[y](R),V.dispatchEvent(R)}function wl(V){for(;V&&V!==document.body;){var R=window.getComputedStyle(V),y=function(te,oe){return!(R[te]===void 0||R[te]===oe)};if(R.opacity<1||y("zIndex","auto")||y("transform","none")||y("mixBlendMode","normal")||y("filter","none")||y("perspective","none")||R.isolation==="isolate"||R.position==="fixed"||R.webkitOverflowScrolling==="touch")return!0;V=V.parentElement}return!1}function No(V){for(;V;){if(V.localName==="dialog")return V;V.parentElement?V=V.parentElement:V.parentNode?V=V.parentNode.host:V=null}return null}function tu(V){for(;V&&V.shadowRoot&&V.shadowRoot.activeElement;)V=V.shadowRoot.activeElement;V&&V.blur&&V!==document.body&&V.blur()}function Tl(V,R){for(var y=0;y<V.length;++y)if(V[y]===R)return!0;return!1}function Ps(V){return!V||!V.hasAttribute("method")?!1:V.getAttribute("method").toLowerCase()==="dialog"}function nu(V){var R=["button","input","keygen","select","textarea"],y=R.map(function(be){return be+":not([disabled])"});y.push('[tabindex]:not([disabled]):not([tabindex=""])');var te=V.querySelector(y.join(", "));if(!te&&"attachShadow"in Element.prototype)for(var oe=V.querySelectorAll("*"),le=0;le<oe.length&&!(oe[le].tagName&&oe[le].shadowRoot&&(te=nu(oe[le].shadowRoot),te));le++);return te}function iu(V){return V.isConnected||document.body.contains(V)}function ru(V){if(V.submitter)return V.submitter;var R=V.target;if(!(R instanceof HTMLFormElement))return null;var y=Lt.formSubmitter;if(!y){var te=V.target,oe="getRootNode"in te&&te.getRootNode()||document;y=oe.activeElement}return!y||y.form!==R?null:y}function _l(V){if(!V.defaultPrevented){var R=V.target,y=Lt.imagemapUseValue,te=ru(V);y===null&&te&&(y=te.value);var oe=No(R);if(oe){var le=te&&te.getAttribute("formmethod")||R.getAttribute("method");le==="dialog"&&(V.preventDefault(),y!=null?oe.close(y):oe.close())}}}function ou(V){if(this.dialog_=V,this.replacedStyleTop_=!1,this.openAsModal_=!1,V.hasAttribute("role")||V.setAttribute("role","dialog"),V.show=this.show.bind(this),V.showModal=this.showModal.bind(this),V.close=this.close.bind(this),V.addEventListener("submit",_l,!1),"returnValue"in V||(V.returnValue=""),"MutationObserver"in window){var R=new MutationObserver(this.maybeHideModal.bind(this));R.observe(V,{attributes:!0,attributeFilter:["open"]})}else{var y=!1,te=(function(){y?this.downgradeModal():this.maybeHideModal(),y=!1}).bind(this),oe,le=function(be){if(be.target===V){var Pe="DOMNodeRemoved";y|=be.type.substr(0,Pe.length)===Pe,window.clearTimeout(oe),oe=window.setTimeout(te,0)}};["DOMAttrModified","DOMNodeRemoved","DOMNodeRemovedFromDocument"].forEach(function(be){V.addEventListener(be,le)})}Object.defineProperty(V,"open",{set:this.setOpen.bind(this),get:V.hasAttribute.bind(V,"open")}),this.backdrop_=document.createElement("div"),this.backdrop_.className="backdrop",this.backdrop_.addEventListener("mouseup",this.backdropMouseEvent_.bind(this)),this.backdrop_.addEventListener("mousedown",this.backdropMouseEvent_.bind(this)),this.backdrop_.addEventListener("click",this.backdropMouseEvent_.bind(this))}ou.prototype={get dialog(){return this.dialog_},maybeHideModal:function(){this.dialog_.hasAttribute("open")&&iu(this.dialog_)||this.downgradeModal()},downgradeModal:function(){this.openAsModal_&&(this.openAsModal_=!1,this.dialog_.style.zIndex="",this.replacedStyleTop_&&(this.dialog_.style.top="",this.replacedStyleTop_=!1),this.backdrop_.parentNode&&this.backdrop_.parentNode.removeChild(this.backdrop_),Lt.dm.removeDialog(this))},setOpen:function(V){V?this.dialog_.hasAttribute("open")||this.dialog_.setAttribute("open",""):(this.dialog_.removeAttribute("open"),this.maybeHideModal())},backdropMouseEvent_:function(V){if(this.dialog_.hasAttribute("tabindex"))this.dialog_.focus();else{var R=document.createElement("div");this.dialog_.insertBefore(R,this.dialog_.firstChild),R.tabIndex=-1,R.focus(),this.dialog_.removeChild(R)}var y=document.createEvent("MouseEvents");y.initMouseEvent(V.type,V.bubbles,V.cancelable,window,V.detail,V.screenX,V.screenY,V.clientX,V.clientY,V.ctrlKey,V.altKey,V.shiftKey,V.metaKey,V.button,V.relatedTarget),this.dialog_.dispatchEvent(y),V.stopPropagation()},focus_:function(){var V=this.dialog_.querySelector("[autofocus]:not([disabled])");!V&&this.dialog_.tabIndex>=0&&(V=this.dialog_),V||(V=nu(this.dialog_)),tu(document.activeElement),V&&V.focus()},updateZIndex:function(V,R){if(V<R)throw new Error("dialogZ should never be < backdropZ");this.dialog_.style.zIndex=V,this.backdrop_.style.zIndex=R},show:function(){this.dialog_.open||(this.setOpen(!0),this.focus_())},showModal:function(){if(this.dialog_.hasAttribute("open"))throw new Error("Failed to execute 'showModal' on dialog: The element is already open, and therefore cannot be opened modally.");if(!iu(this.dialog_))throw new Error("Failed to execute 'showModal' on dialog: The element is not in a Document.");if(!Lt.dm.pushDialog(this))throw new Error("Failed to execute 'showModal' on dialog: There are too many open modal dialogs.");wl(this.dialog_.parentElement)&&console.warn("A dialog is being shown inside a stacking context. This may cause it to be unusable. For more information, see this link: https://github.com/GoogleChrome/dialog-polyfill/#stacking-context"),this.setOpen(!0),this.openAsModal_=!0,Lt.needsCentering(this.dialog_)?(Lt.reposition(this.dialog_),this.replacedStyleTop_=!0):this.replacedStyleTop_=!1,this.dialog_.parentNode.insertBefore(this.backdrop_,this.dialog_.nextSibling),this.focus_()},close:function(V){if(!this.dialog_.hasAttribute("open"))throw new Error("Failed to execute 'close' on dialog: The element does not have an 'open' attribute, and therefore cannot be closed.");this.setOpen(!1),V!==void 0&&(this.dialog_.returnValue=V);var R=new bo("close",{bubbles:!1,cancelable:!1});eu(this.dialog_,R)}};var Lt={};if(Lt.reposition=function(V){var R=document.body.scrollTop||document.documentElement.scrollTop,y=R+(window.innerHeight-V.offsetHeight)/2;V.style.top=Math.max(R,y)+"px"},Lt.isInlinePositionSetByStylesheet=function(V){for(var R=0;R<document.styleSheets.length;++R){var y=document.styleSheets[R],te=null;try{te=y.cssRules}catch{}if(te)for(var oe=0;oe<te.length;++oe){var le=te[oe],be=null;try{be=document.querySelectorAll(le.selectorText)}catch{}if(!(!be||!Tl(be,V))){var Pe=le.style.getPropertyValue("top"),ke=le.style.getPropertyValue("bottom");if(Pe&&Pe!=="auto"||ke&&ke!=="auto")return!0}}}return!1},Lt.needsCentering=function(V){var R=window.getComputedStyle(V);return R.position!=="absolute"||V.style.top!=="auto"&&V.style.top!==""||V.style.bottom!=="auto"&&V.style.bottom!==""?!1:!Lt.isInlinePositionSetByStylesheet(V)},Lt.forceRegisterDialog=function(V){if((window.HTMLDialogElement||V.showModal)&&console.warn("This browser already supports <dialog>, the polyfill may not work correctly",V),V.localName!=="dialog")throw new Error("Failed to register dialog: The element is not a dialog.");new ou(V)},Lt.registerDialog=function(V){V.showModal||Lt.forceRegisterDialog(V)},Lt.DialogManager=function(){this.pendingDialogStack=[];var V=this.checkDOM_.bind(this);this.overlay=document.createElement("div"),this.overlay.className="_dialog_overlay",this.overlay.addEventListener("click",(function(R){this.forwardTab_=void 0,R.stopPropagation(),V([])}).bind(this)),this.handleKey_=this.handleKey_.bind(this),this.handleFocus_=this.handleFocus_.bind(this),this.zIndexLow_=1e5,this.zIndexHigh_=100150,this.forwardTab_=void 0,"MutationObserver"in window&&(this.mo_=new MutationObserver(function(R){var y=[];R.forEach(function(te){for(var oe=0,le;le=te.removedNodes[oe];++oe){if(le instanceof Element)le.localName==="dialog"&&y.push(le);else continue;y=y.concat(le.querySelectorAll("dialog"))}}),y.length&&V(y)}))},Lt.DialogManager.prototype.blockDocument=function(){document.documentElement.addEventListener("focus",this.handleFocus_,!0),document.addEventListener("keydown",this.handleKey_),this.mo_&&this.mo_.observe(document,{childList:!0,subtree:!0})},Lt.DialogManager.prototype.unblockDocument=function(){document.documentElement.removeEventListener("focus",this.handleFocus_,!0),document.removeEventListener("keydown",this.handleKey_),this.mo_&&this.mo_.disconnect()},Lt.DialogManager.prototype.updateStacking=function(){for(var V=this.zIndexHigh_,R=0,y;y=this.pendingDialogStack[R];++R)y.updateZIndex(--V,--V),R===0&&(this.overlay.style.zIndex=--V);var te=this.pendingDialogStack[0];if(te){var oe=te.dialog.parentNode||document.body;oe.appendChild(this.overlay)}else this.overlay.parentNode&&this.overlay.parentNode.removeChild(this.overlay)},Lt.DialogManager.prototype.containedByTopDialog_=function(V){for(;V=No(V);){for(var R=0,y;y=this.pendingDialogStack[R];++R)if(y.dialog===V)return R===0;V=V.parentElement}return!1},Lt.DialogManager.prototype.handleFocus_=function(V){var R=V.composedPath?V.composedPath()[0]:V.target;if(!this.containedByTopDialog_(R)&&document.activeElement!==document.documentElement&&(V.preventDefault(),V.stopPropagation(),tu(R),this.forwardTab_!==void 0)){var y=this.pendingDialogStack[0],te=y.dialog,oe=te.compareDocumentPosition(R);return oe&Node.DOCUMENT_POSITION_PRECEDING&&(this.forwardTab_?y.focus_():R!==document.documentElement&&document.documentElement.focus()),!1}},Lt.DialogManager.prototype.handleKey_=function(V){if(this.forwardTab_=void 0,V.keyCode===27){V.preventDefault(),V.stopPropagation();var R=new bo("cancel",{bubbles:!1,cancelable:!0}),y=this.pendingDialogStack[0];y&&eu(y.dialog,R)&&y.dialog.close()}else V.keyCode===9&&(this.forwardTab_=!V.shiftKey)},Lt.DialogManager.prototype.checkDOM_=function(V){var R=this.pendingDialogStack.slice();R.forEach(function(y){V.indexOf(y.dialog)!==-1?y.downgradeModal():y.maybeHideModal()})},Lt.DialogManager.prototype.pushDialog=function(V){var R=(this.zIndexHigh_-this.zIndexLow_)/2-1;return this.pendingDialogStack.length>=R?!1:(this.pendingDialogStack.unshift(V)===1&&this.blockDocument(),this.updateStacking(),!0)},Lt.DialogManager.prototype.removeDialog=function(V){var R=this.pendingDialogStack.indexOf(V);R!==-1&&(this.pendingDialogStack.splice(R,1),this.pendingDialogStack.length===0&&this.unblockDocument(),this.updateStacking())},Lt.dm=new Lt.DialogManager,Lt.formSubmitter=null,Lt.imagemapUseValue=null,window.HTMLDialogElement===void 0){var su=document.createElement("form");if(su.setAttribute("method","dialog"),su.method!=="dialog"){var xo=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"method");if(xo){var Cl=xo.get;xo.get=function(){return Ps(this)?"dialog":Cl.call(this)};var Sl=xo.set;xo.set=function(V){return typeof V=="string"&&V.toLowerCase()==="dialog"?this.setAttribute("method",V):Sl.call(this,V)},Object.defineProperty(HTMLFormElement.prototype,"method",xo)}}document.addEventListener("click",function(V){if(Lt.formSubmitter=null,Lt.imagemapUseValue=null,!V.defaultPrevented){var R=V.target;if("composedPath"in V){var y=V.composedPath();R=y.shift()||R}if(!(!R||!Ps(R.form))){var te=R.type==="submit"&&["button","input"].indexOf(R.localName)>-1;if(!te){if(!(R.localName==="input"&&R.type==="image"))return;Lt.imagemapUseValue=V.offsetX+","+V.offsetY}var oe=No(R);oe&&(Lt.formSubmitter=R)}}},!1),document.addEventListener("submit",function(V){var R=V.target,y=No(R);if(!y){var te=ru(V),oe=te&&te.getAttribute("formmethod")||R.getAttribute("method");oe==="dialog"&&V.preventDefault()}});var El=HTMLFormElement.prototype.submit,Al=function(){if(!Ps(this))return El.call(this);var V=No(this);V&&V.close()};HTMLFormElement.prototype.submit=Al}const kl=qa(Object.freeze(Object.defineProperty({__proto__:null,default:Lt},Symbol.toStringTag,{value:"Module"})));var au;function Dl(){if(au)return Ja;au=1;const V=xl();return window.dialogPolyfill=kl,window.GOVUK.sessionDialog={el:document.getElementById("js-modal-dialog"),$el:V("#js-modal-dialog"),$lastFocusedEl:null,$closeButton:V(".modal-dialog .js-dialog-close"),$fallBackElement:V(".govuk-timeout-warning-fallback"),dialogIsOpenClass:"dialog-is-open",timers:[],warningTextPrefix:V(".dialog-text-prefix").text(),warningTextSuffix:".",warningText:V(".dialog-text").text(),warningTextExtra:"",$timer:V("#js-modal-dialog .timer"),$accessibleTimer:V("#js-modal-dialog .at-timer"),secondsSessionTimeout:parseInt(V("#js-modal-dialog").data("session-timeout"),10),secondsTimeoutWarning:parseInt(V("#js-modal-dialog").data("session-timeout-warning"),10),timeoutRedirectUrl:V("#js-modal-dialog").data("url-redirect"),timeSessionRefreshed:new Date,bindUIElements:function(){window.GOVUK.sessionDialog.$closeButton.on("click",function(R){R.preventDefault(),window.GOVUK.sessionDialog.closeDialog()}),V(document).keydown(function(R){window.GOVUK.sessionDialog.isDialogOpen()&&R.keyCode===27&&window.GOVUK.sessionDialog.closeDialog()})},isDialogOpen:function(){return window.GOVUK.sessionDialog.el&&window.GOVUK.sessionDialog.el.open},isConfigured:function(){return window.GOVUK.sessionDialog.$timer.length>0&&window.GOVUK.sessionDialog.$accessibleTimer.length>0&&window.GOVUK.sessionDialog.secondsSessionTimeout&&window.GOVUK.sessionDialog.secondsTimeoutWarning&&window.GOVUK.sessionDialog.timeoutRedirectUrl},openDialog:function(){window.GOVUK.sessionDialog.isDialogOpen()||(V("html, body").addClass(window.GOVUK.sessionDialog.dialogIsOpenClass),window.GOVUK.sessionDialog.saveLastFocusedEl(),window.GOVUK.sessionDialog.makePageContentInert(),window.GOVUK.sessionDialog.el.showModal(),window.GOVUK.sessionDialog.el.open=!0)},closeDialog:function(){window.GOVUK.sessionDialog.isDialogOpen()&&(V("html, body").removeClass(window.GOVUK.sessionDialog.dialogIsOpenClass),window.GOVUK.sessionDialog.el.close(),window.GOVUK.sessionDialog.el.open=!1,window.GOVUK.sessionDialog.setFocusOnLastFocusedEl(),window.GOVUK.sessionDialog.removeInertFromPageContent(),window.GOVUK.sessionDialog.refreshSession())},saveLastFocusedEl:function(){window.GOVUK.sessionDialog.$lastFocusedEl=document.activeElement,!window.GOVUK.sessionDialog.$lastFocusedEl||window.GOVUK.sessionDialog.$lastFocusedEl===document.body?window.GOVUK.sessionDialog.$lastFocusedEl=null:document.querySelector&&(window.GOVUK.sessionDialog.$lastFocusedEl=document.querySelector(":focus"))},setFocusOnLastFocusedEl:function(){window.GOVUK.sessionDialog.$lastFocusedEl&&window.setTimeout(function(){window.GOVUK.sessionDialog.$lastFocusedEl.focus()},0)},makePageContentInert:function(){document.querySelector("#content")&&(document.querySelector("#content").inert=!0,document.querySelector("#content").setAttribute("aria-hidden","true"))},removeInertFromPageContent:function(){document.querySelector("#content")&&(document.querySelector("#content").inert=!1,document.querySelector("#content").setAttribute("aria-hidden","false"))},numberToWords:function(R){const y=R.toString();let te,oe,le,be,Pe,ke="and";if(parseInt(y,10)===0)return"zero";const Le=["","one","two","three","four","five","six","seven","eight","nine","ten","eleven","twelve","thirteen","fourteen","fifteen","sixteen","seventeen","eighteen","nineteen"],Ke=["","","twenty","thirty","forty","fifty","sixty","seventy","eighty","ninety"],Ne=["","thousand","million","billion","trillion","quadrillion","quintillion","sextillion","septillion","octillion","nonillion","decillion","undecillion","duodecillion","tredecillion","quatttuor-decillion","quindecillion","sexdecillion","septen-decillion","octodecillion","novemdecillion","vigintillion","centillion"];te=y.length;const De=[];for(;te>0;)oe=te,De.push(y.slice(te=Math.max(0,te-3),oe));const $=De.length;if($>Ne.length)return"";for(ke=[],Pe=0;Pe<$;Pe++)le=parseInt(De[Pe],10),le&&(be=De[Pe].split("").reverse().map(parseFloat),be[1]===1&&(be[0]+=10),Ne[Pe]&&ke.push(Ne[Pe]),Le[be[0]]&&ke.push(Le[be[0]]),Ke[be[1]]&&ke.push(Ke[be[1]]),Le[be[2]]&&ke.push(Le[be[2]]+" hundred"));return ke.reverse().join(" ")},timeToWords:function(R,y){let te;if(R>0){try{te=window.GOVUK.sessionDialog.numberToWords(R)}catch{te=R}te=te+" "+window.GOVUK.sessionDialog.pluralise(R,y)}else te="";return te},pluralise:function(R,y){return R===1?y:y+"s"},numericSpan:function(R,y){return'<span class="tabular-numbers">'+R+"</span> "+window.GOVUK.sessionDialog.pluralise(R,y)},countdownText:function(R,y){const te=window.GOVUK.sessionDialog.numericSpan(R,"minute"),oe=window.GOVUK.sessionDialog.numericSpan(y,"second");return R>0?te:oe},countdownAtText:function(R,y){const te=window.GOVUK.sessionDialog.timeToWords(R,"minute"),oe=window.GOVUK.sessionDialog.timeToWords(y,"second");return R>0?te:oe},startCountdown:function(){const R=window.GOVUK.sessionDialog.$timer,y=window.GOVUK.sessionDialog.$accessibleTimer;let te=!1;const oe=/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream,be=window.GOVUK.sessionDialog.secondsUntilSessionTimeout()/60;R.text(be+" minute"+(be>1?"s":"")),(function Pe(){const ke=window.GOVUK.sessionDialog.secondsUntilSessionTimeout();if(!(ke<=0)){const Ke=parseInt(ke/60,10),Ne=parseInt(ke%60,10),De=window.GOVUK.sessionDialog.countdownText(Ke,Ne),$=window.GOVUK.sessionDialog.warningTextPrefix+"<strong>"+De+"</strong>"+window.GOVUK.sessionDialog.warningTextSuffix+"<p>"+window.GOVUK.sessionDialog.warningText+"</p>",H=window.GOVUK.sessionDialog.countdownAtText(Ke,Ne),k=window.GOVUK.sessionDialog.warningTextPrefix+H+window.GOVUK.sessionDialog.warningTextSuffix+" "+window.GOVUK.sessionDialog.warningText,j=`
|
|
24
|
+
`+window.GOVUK.sessionDialog.warningTextExtra;R.html($+" "+j),Ne%20===0&&(!te&&!oe?(y.text(k+j),te=!0):y.text(k)),window.GOVUK.sessionDialog.addTimer(Pe,20)}})()},clearTimers:function(){for(let R=0;R<window.GOVUK.sessionDialog.timers.length;R++)clearInterval(window.GOVUK.sessionDialog.timers[R])},refreshSession:function(){V.get("").done(function(){window.GOVUK.sessionDialog.timeSessionRefreshed=new Date,window.GOVUK.sessionDialog.controller()})},redirect:function(){window.location=window.GOVUK.sessionDialog.timeoutRedirectUrl},addTimer:function(R,y){window.GOVUK.sessionDialog.timers.push(setInterval(R,y*1e3))},secondsSinceRefresh:function(){return Math.round(Math.abs((window.GOVUK.sessionDialog.timeSessionRefreshed-new Date)/1e3))},secondsUntilSessionTimeout:function(){return window.GOVUK.sessionDialog.secondsSessionTimeout-window.GOVUK.sessionDialog.secondsSinceRefresh()},secondsUntilTimeoutWarning:function(){return window.GOVUK.sessionDialog.secondsUntilSessionTimeout()-window.GOVUK.sessionDialog.secondsTimeoutWarning},controller:function(){window.GOVUK.sessionDialog.clearTimers();const R=window.GOVUK.sessionDialog.secondsUntilSessionTimeout();R<=0?window.GOVUK.sessionDialog.redirect():R<=window.GOVUK.sessionDialog.secondsTimeoutWarning?(window.GOVUK.sessionDialog.openDialog(),window.GOVUK.sessionDialog.startCountdown(),window.GOVUK.sessionDialog.addTimer(window.GOVUK.sessionDialog.controller,window.GOVUK.sessionDialog.secondsUntilSessionTimeout())):window.GOVUK.sessionDialog.addTimer(window.GOVUK.sessionDialog.controller,window.GOVUK.sessionDialog.secondsUntilTimeoutWarning())},init:function(R){if(V.extend(window.GOVUK.sessionDialog,R),window.GOVUK.sessionDialog.el&&window.GOVUK.sessionDialog.isConfigured()){if(typeof HTMLDialogElement!="function")try{return window.dialogPolyfill.registerDialog(window.GOVUK.sessionDialog.el),!0}catch{return window.GOVUK.sessionDialog.$fallBackElement.classList.add("govuk-!-display-block"),!1}return window.GOVUK.sessionDialog.bindUIElements(),window.GOVUK.sessionDialog.controller(),!0}return!1}},window.GOVUK.sessionDialog.init(),Ja}var uu;function Ll(){if(uu)return Ma;uu=1;var V=hl(),R=V.helpers,y=V.progressiveReveal,te=V.formFocus,oe=V.characterCount,le=V.validation,be=gl();be.initAll(),window.GOVUK=be,vl(),yl();var Pe=ml();return Dl(),V.detailsSummary(),R.documentReady(y),R.documentReady(te),R.documentReady(Pe.initialiseCookieBanner),R.documentReady(Pe.initialiseCookiePage),R.documentReady(Pe.onLoad),R.documentReady(oe),R.documentReady(le),Ma}var Qo={exports:{}};var Ol=Qo.exports,fu;function Il(){return fu||(fu=1,(function(V){(function(R,y){V.exports=R.document?y(R,!0):function(te){if(!te.document)throw new Error("jQuery requires a window with a document");return y(te)}})(typeof window<"u"?window:Ol,function(R,y){var te=[],oe=Object.getPrototypeOf,le=te.slice,be=te.flat?function(e){return te.flat.call(e)}:function(e){return te.concat.apply([],e)},Pe=te.push,ke=te.indexOf,Le={},Ke=Le.toString,Ne=Le.hasOwnProperty,De=Ne.toString,$=De.call(Object),H={},k=function(n){return typeof n=="function"&&typeof n.nodeType!="number"&&typeof n.item!="function"},j=function(n){return n!=null&&n===n.window},S=R.document,N={type:!0,src:!0,nonce:!0,noModule:!0};function A(e,n,o){o=o||S;var a,l,c=o.createElement("script");if(c.text=e,n)for(a in N)l=n[a]||n.getAttribute&&n.getAttribute(a),l&&c.setAttribute(a,l);o.head.appendChild(c).parentNode.removeChild(c)}function P(e){return e==null?e+"":typeof e=="object"||typeof e=="function"?Le[Ke.call(e)]||"object":typeof e}var z="3.7.1",p=/HTML$/i,s=function(e,n){return new s.fn.init(e,n)};s.fn=s.prototype={jquery:z,constructor:s,length:0,toArray:function(){return le.call(this)},get:function(e){return e==null?le.call(this):e<0?this[e+this.length]:this[e]},pushStack:function(e){var n=s.merge(this.constructor(),e);return n.prevObject=this,n},each:function(e){return s.each(this,e)},map:function(e){return this.pushStack(s.map(this,function(n,o){return e.call(n,o,n)}))},slice:function(){return this.pushStack(le.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(s.grep(this,function(e,n){return(n+1)%2}))},odd:function(){return this.pushStack(s.grep(this,function(e,n){return n%2}))},eq:function(e){var n=this.length,o=+e+(e<0?n:0);return this.pushStack(o>=0&&o<n?[this[o]]:[])},end:function(){return this.prevObject||this.constructor()},push:Pe,sort:te.sort,splice:te.splice},s.extend=s.fn.extend=function(){var e,n,o,a,l,c,g=arguments[0]||{},E=1,T=arguments.length,q=!1;for(typeof g=="boolean"&&(q=g,g=arguments[E]||{},E++),typeof g!="object"&&!k(g)&&(g={}),E===T&&(g=this,E--);E<T;E++)if((e=arguments[E])!=null)for(n in e)a=e[n],!(n==="__proto__"||g===a)&&(q&&a&&(s.isPlainObject(a)||(l=Array.isArray(a)))?(o=g[n],l&&!Array.isArray(o)?c=[]:!l&&!s.isPlainObject(o)?c={}:c=o,l=!1,g[n]=s.extend(q,c,a)):a!==void 0&&(g[n]=a));return g},s.extend({expando:"jQuery"+(z+Math.random()).replace(/\D/g,""),isReady:!0,error:function(e){throw new Error(e)},noop:function(){},isPlainObject:function(e){var n,o;return!e||Ke.call(e)!=="[object Object]"?!1:(n=oe(e),n?(o=Ne.call(n,"constructor")&&n.constructor,typeof o=="function"&&De.call(o)===$):!0)},isEmptyObject:function(e){var n;for(n in e)return!1;return!0},globalEval:function(e,n,o){A(e,{nonce:n&&n.nonce},o)},each:function(e,n){var o,a=0;if(se(e))for(o=e.length;a<o&&n.call(e[a],a,e[a])!==!1;a++);else for(a in e)if(n.call(e[a],a,e[a])===!1)break;return e},text:function(e){var n,o="",a=0,l=e.nodeType;if(!l)for(;n=e[a++];)o+=s.text(n);return l===1||l===11?e.textContent:l===9?e.documentElement.textContent:l===3||l===4?e.nodeValue:o},makeArray:function(e,n){var o=n||[];return e!=null&&(se(Object(e))?s.merge(o,typeof e=="string"?[e]:e):Pe.call(o,e)),o},inArray:function(e,n,o){return n==null?-1:ke.call(n,e,o)},isXMLDoc:function(e){var n=e&&e.namespaceURI,o=e&&(e.ownerDocument||e).documentElement;return!p.test(n||o&&o.nodeName||"HTML")},merge:function(e,n){for(var o=+n.length,a=0,l=e.length;a<o;a++)e[l++]=n[a];return e.length=l,e},grep:function(e,n,o){for(var a,l=[],c=0,g=e.length,E=!o;c<g;c++)a=!n(e[c],c),a!==E&&l.push(e[c]);return l},map:function(e,n,o){var a,l,c=0,g=[];if(se(e))for(a=e.length;c<a;c++)l=n(e[c],c,o),l!=null&&g.push(l);else for(c in e)l=n(e[c],c,o),l!=null&&g.push(l);return be(g)},guid:1,support:H}),typeof Symbol=="function"&&(s.fn[Symbol.iterator]=te[Symbol.iterator]),s.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(e,n){Le["[object "+n+"]"]=n.toLowerCase()});function se(e){var n=!!e&&"length"in e&&e.length,o=P(e);return k(e)||j(e)?!1:o==="array"||n===0||typeof n=="number"&&n>0&&n-1 in e}function ie(e,n){return e.nodeName&&e.nodeName.toLowerCase()===n.toLowerCase()}var he=te.pop,je=te.sort,ut=te.splice,Oe="[\\x20\\t\\r\\n\\f]",Nt=new RegExp("^"+Oe+"+|((?:^|[^\\\\])(?:\\\\.)*)"+Oe+"+$","g");s.contains=function(e,n){var o=n&&n.parentNode;return e===o||!!(o&&o.nodeType===1&&(e.contains?e.contains(o):e.compareDocumentPosition&&e.compareDocumentPosition(o)&16))};var pt=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\x80-\uFFFF\w-]/g;function kn(e,n){return n?e==="\0"?"�":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e}s.escapeSelector=function(e){return(e+"").replace(pt,kn)};var D=S,G=Pe;(function(){var e,n,o,a,l,c=G,g,E,T,q,X,Z=s.expando,U=0,re=0,Ae=Wn(),Se=Wn(),Ie=Wn(),dt=Wn(),ot=function(h,b){return h===b&&(l=!0),0},Ot="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",Ft="(?:\\\\[\\da-fA-F]{1,6}"+Oe+"?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+",Me="\\["+Oe+"*("+Ft+")(?:"+Oe+"*([*^$|!~]?=)"+Oe+`*(?:'((?:\\\\.|[^\\\\'])*)'|"((?:\\\\.|[^\\\\"])*)"|(`+Ft+"))|)"+Oe+"*\\]",vn=":("+Ft+`)(?:\\((('((?:\\\\.|[^\\\\'])*)'|"((?:\\\\.|[^\\\\"])*)")|((?:\\\\.|[^\\\\()[\\]]|`+Me+")*)|.*)\\)|)",He=new RegExp(Oe+"+","g"),Je=new RegExp("^"+Oe+"*,"+Oe+"*"),sn=new RegExp("^"+Oe+"*([>+~]|"+Oe+")"+Oe+"*"),Ki=new RegExp(Oe+"|>"),$t=new RegExp(vn),Pn=new RegExp("^"+Ft+"$"),Wt={ID:new RegExp("^#("+Ft+")"),CLASS:new RegExp("^\\.("+Ft+")"),TAG:new RegExp("^("+Ft+"|[*])"),ATTR:new RegExp("^"+Me),PSEUDO:new RegExp("^"+vn),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+Oe+"*(even|odd|(([+-]|)(\\d*)n|)"+Oe+"*(?:([+-]|)"+Oe+"*(\\d+)|))"+Oe+"*\\)|)","i"),bool:new RegExp("^(?:"+Ot+")$","i"),needsContext:new RegExp("^"+Oe+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+Oe+"*((?:-\\d)?\\d*)"+Oe+"*\\)|)(?=[^-]|$)","i")},Qt=/^(?:input|select|textarea|button)$/i,an=/^h\d$/i,Bt=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,gi=/[+~]/,Xt=new RegExp("\\\\[\\da-fA-F]{1,6}"+Oe+"?|\\\\([^\\r\\n\\f])","g"),tn=function(h,b){var C="0x"+h.slice(1)-65536;return b||(C<0?String.fromCharCode(C+65536):String.fromCharCode(C>>10|55296,C&1023|56320))},Jr=function(){un()},xn=yn(function(h){return h.disabled===!0&&ie(h,"fieldset")},{dir:"parentNode",next:"legend"});function sr(){try{return g.activeElement}catch{}}try{c.apply(te=le.call(D.childNodes),D.childNodes),te[D.childNodes.length].nodeType}catch{c={apply:function(b,C){G.apply(b,le.call(C))},call:function(b){G.apply(b,le.call(arguments,1))}}}function $e(h,b,C,O){var L,_,F,K,Y,fe,ue,ve=b&&b.ownerDocument,me=b?b.nodeType:9;if(C=C||[],typeof h!="string"||!h||me!==1&&me!==9&&me!==11)return C;if(!O&&(un(b),b=b||g,T)){if(me!==11&&(Y=Bt.exec(h)))if(L=Y[1]){if(me===9)if(F=b.getElementById(L)){if(F.id===L)return c.call(C,F),C}else return C;else if(ve&&(F=ve.getElementById(L))&&$e.contains(b,F)&&F.id===L)return c.call(C,F),C}else{if(Y[2])return c.apply(C,b.getElementsByTagName(h)),C;if((L=Y[3])&&b.getElementsByClassName)return c.apply(C,b.getElementsByClassName(L)),C}if(!dt[h+" "]&&(!q||!q.test(h))){if(ue=h,ve=b,me===1&&(Ki.test(h)||sn.test(h))){for(ve=gi.test(h)&&Mn(b.parentNode)||b,(ve!=b||!H.scope)&&((K=b.getAttribute("id"))?K=s.escapeSelector(K):b.setAttribute("id",K=Z)),fe=Tn(h),_=fe.length;_--;)fe[_]=(K?"#"+K:":scope")+" "+ei(fe[_]);ue=fe.join(",")}try{return c.apply(C,ve.querySelectorAll(ue)),C}catch{dt(h,!0)}finally{K===Z&&b.removeAttribute("id")}}}return J(h.replace(Nt,"$1"),b,C,O)}function Wn(){var h=[];function b(C,O){return h.push(C+" ")>n.cacheLength&&delete b[h.shift()],b[C+" "]=O}return b}function qt(h){return h[Z]=!0,h}function En(h){var b=g.createElement("fieldset");try{return!!h(b)}catch{return!1}finally{b.parentNode&&b.parentNode.removeChild(b),b=null}}function Zr(h){return function(b){return ie(b,"input")&&b.type===h}}function kr(h){return function(b){return(ie(b,"input")||ie(b,"button"))&&b.type===h}}function Dr(h){return function(b){return"form"in b?b.parentNode&&b.disabled===!1?"label"in b?"label"in b.parentNode?b.parentNode.disabled===h:b.disabled===h:b.isDisabled===h||b.isDisabled!==!h&&xn(b)===h:b.disabled===h:"label"in b?b.disabled===h:!1}}function wn(h){return qt(function(b){return b=+b,qt(function(C,O){for(var L,_=h([],C.length,b),F=_.length;F--;)C[L=_[F]]&&(C[L]=!(O[L]=C[L]))})})}function Mn(h){return h&&typeof h.getElementsByTagName<"u"&&h}function un(h){var b,C=h?h.ownerDocument||h:D;return C==g||C.nodeType!==9||!C.documentElement||(g=C,E=g.documentElement,T=!s.isXMLDoc(g),X=E.matches||E.webkitMatchesSelector||E.msMatchesSelector,E.msMatchesSelector&&D!=g&&(b=g.defaultView)&&b.top!==b&&b.addEventListener("unload",Jr),H.getById=En(function(O){return E.appendChild(O).id=s.expando,!g.getElementsByName||!g.getElementsByName(s.expando).length}),H.disconnectedMatch=En(function(O){return X.call(O,"*")}),H.scope=En(function(){return g.querySelectorAll(":scope")}),H.cssHas=En(function(){try{return g.querySelector(":has(*,:jqfake)"),!1}catch{return!0}}),H.getById?(n.filter.ID=function(O){var L=O.replace(Xt,tn);return function(_){return _.getAttribute("id")===L}},n.find.ID=function(O,L){if(typeof L.getElementById<"u"&&T){var _=L.getElementById(O);return _?[_]:[]}}):(n.filter.ID=function(O){var L=O.replace(Xt,tn);return function(_){var F=typeof _.getAttributeNode<"u"&&_.getAttributeNode("id");return F&&F.value===L}},n.find.ID=function(O,L){if(typeof L.getElementById<"u"&&T){var _,F,K,Y=L.getElementById(O);if(Y){if(_=Y.getAttributeNode("id"),_&&_.value===O)return[Y];for(K=L.getElementsByName(O),F=0;Y=K[F++];)if(_=Y.getAttributeNode("id"),_&&_.value===O)return[Y]}return[]}}),n.find.TAG=function(O,L){return typeof L.getElementsByTagName<"u"?L.getElementsByTagName(O):L.querySelectorAll(O)},n.find.CLASS=function(O,L){if(typeof L.getElementsByClassName<"u"&&T)return L.getElementsByClassName(O)},q=[],En(function(O){var L;E.appendChild(O).innerHTML="<a id='"+Z+"' href='' disabled='disabled'></a><select id='"+Z+"-\r\\' disabled='disabled'><option selected=''></option></select>",O.querySelectorAll("[selected]").length||q.push("\\["+Oe+"*(?:value|"+Ot+")"),O.querySelectorAll("[id~="+Z+"-]").length||q.push("~="),O.querySelectorAll("a#"+Z+"+*").length||q.push(".#.+[+~]"),O.querySelectorAll(":checked").length||q.push(":checked"),L=g.createElement("input"),L.setAttribute("type","hidden"),O.appendChild(L).setAttribute("name","D"),E.appendChild(O).disabled=!0,O.querySelectorAll(":disabled").length!==2&&q.push(":enabled",":disabled"),L=g.createElement("input"),L.setAttribute("name",""),O.appendChild(L),O.querySelectorAll("[name='']").length||q.push("\\["+Oe+"*name"+Oe+"*="+Oe+`*(?:''|"")`)}),H.cssHas||q.push(":has"),q=q.length&&new RegExp(q.join("|")),ot=function(O,L){if(O===L)return l=!0,0;var _=!O.compareDocumentPosition-!L.compareDocumentPosition;return _||(_=(O.ownerDocument||O)==(L.ownerDocument||L)?O.compareDocumentPosition(L):1,_&1||!H.sortDetached&&L.compareDocumentPosition(O)===_?O===g||O.ownerDocument==D&&$e.contains(D,O)?-1:L===g||L.ownerDocument==D&&$e.contains(D,L)?1:a?ke.call(a,O)-ke.call(a,L):0:_&4?-1:1)}),g}$e.matches=function(h,b){return $e(h,null,null,b)},$e.matchesSelector=function(h,b){if(un(h),T&&!dt[b+" "]&&(!q||!q.test(b)))try{var C=X.call(h,b);if(C||H.disconnectedMatch||h.document&&h.document.nodeType!==11)return C}catch{dt(b,!0)}return $e(b,g,null,[h]).length>0},$e.contains=function(h,b){return(h.ownerDocument||h)!=g&&un(h),s.contains(h,b)},$e.attr=function(h,b){(h.ownerDocument||h)!=g&&un(h);var C=n.attrHandle[b.toLowerCase()],O=C&&Ne.call(n.attrHandle,b.toLowerCase())?C(h,b,!T):void 0;return O!==void 0?O:h.getAttribute(b)},$e.error=function(h){throw new Error("Syntax error, unrecognized expression: "+h)},s.uniqueSort=function(h){var b,C=[],O=0,L=0;if(l=!H.sortStable,a=!H.sortStable&&le.call(h,0),je.call(h,ot),l){for(;b=h[L++];)b===h[L]&&(O=C.push(L));for(;O--;)ut.call(h,C[O],1)}return a=null,h},s.fn.uniqueSort=function(){return this.pushStack(s.uniqueSort(le.apply(this)))},n=s.expr={cacheLength:50,createPseudo:qt,match:Wt,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(h){return h[1]=h[1].replace(Xt,tn),h[3]=(h[3]||h[4]||h[5]||"").replace(Xt,tn),h[2]==="~="&&(h[3]=" "+h[3]+" "),h.slice(0,4)},CHILD:function(h){return h[1]=h[1].toLowerCase(),h[1].slice(0,3)==="nth"?(h[3]||$e.error(h[0]),h[4]=+(h[4]?h[5]+(h[6]||1):2*(h[3]==="even"||h[3]==="odd")),h[5]=+(h[7]+h[8]||h[3]==="odd")):h[3]&&$e.error(h[0]),h},PSEUDO:function(h){var b,C=!h[6]&&h[2];return Wt.CHILD.test(h[0])?null:(h[3]?h[2]=h[4]||h[5]||"":C&&$t.test(C)&&(b=Tn(C,!0))&&(b=C.indexOf(")",C.length-b)-C.length)&&(h[0]=h[0].slice(0,b),h[2]=C.slice(0,b)),h.slice(0,3))}},filter:{TAG:function(h){var b=h.replace(Xt,tn).toLowerCase();return h==="*"?function(){return!0}:function(C){return ie(C,b)}},CLASS:function(h){var b=Ae[h+" "];return b||(b=new RegExp("(^|"+Oe+")"+h+"("+Oe+"|$)"))&&Ae(h,function(C){return b.test(typeof C.className=="string"&&C.className||typeof C.getAttribute<"u"&&C.getAttribute("class")||"")})},ATTR:function(h,b,C){return function(O){var L=$e.attr(O,h);return L==null?b==="!=":b?(L+="",b==="="?L===C:b==="!="?L!==C:b==="^="?C&&L.indexOf(C)===0:b==="*="?C&&L.indexOf(C)>-1:b==="$="?C&&L.slice(-C.length)===C:b==="~="?(" "+L.replace(He," ")+" ").indexOf(C)>-1:b==="|="?L===C||L.slice(0,C.length+1)===C+"-":!1):!0}},CHILD:function(h,b,C,O,L){var _=h.slice(0,3)!=="nth",F=h.slice(-4)!=="last",K=b==="of-type";return O===1&&L===0?function(Y){return!!Y.parentNode}:function(Y,fe,ue){var ve,me,ce,Ve,Fe,ze=_!==F?"nextSibling":"previousSibling",Pt=Y.parentNode,Mt=K&&Y.nodeName.toLowerCase(),Ut=!ue&&!K,gt=!1;if(Pt){if(_){for(;ze;){for(ce=Y;ce=ce[ze];)if(K?ie(ce,Mt):ce.nodeType===1)return!1;Fe=ze=h==="only"&&!Fe&&"nextSibling"}return!0}if(Fe=[F?Pt.firstChild:Pt.lastChild],F&&Ut){for(me=Pt[Z]||(Pt[Z]={}),ve=me[h]||[],Ve=ve[0]===U&&ve[1],gt=Ve&&ve[2],ce=Ve&&Pt.childNodes[Ve];ce=++Ve&&ce&&ce[ze]||(gt=Ve=0)||Fe.pop();)if(ce.nodeType===1&&++gt&&ce===Y){me[h]=[U,Ve,gt];break}}else if(Ut&&(me=Y[Z]||(Y[Z]={}),ve=me[h]||[],Ve=ve[0]===U&&ve[1],gt=Ve),gt===!1)for(;(ce=++Ve&&ce&&ce[ze]||(gt=Ve=0)||Fe.pop())&&!((K?ie(ce,Mt):ce.nodeType===1)&&++gt&&(Ut&&(me=ce[Z]||(ce[Z]={}),me[h]=[U,gt]),ce===Y)););return gt-=L,gt===O||gt%O===0&>/O>=0}}},PSEUDO:function(h,b){var C,O=n.pseudos[h]||n.setFilters[h.toLowerCase()]||$e.error("unsupported pseudo: "+h);return O[Z]?O(b):O.length>1?(C=[h,h,"",b],n.setFilters.hasOwnProperty(h.toLowerCase())?qt(function(L,_){for(var F,K=O(L,b),Y=K.length;Y--;)F=ke.call(L,K[Y]),L[F]=!(_[F]=K[Y])}):function(L){return O(L,0,C)}):O}},pseudos:{not:qt(function(h){var b=[],C=[],O=M(h.replace(Nt,"$1"));return O[Z]?qt(function(L,_,F,K){for(var Y,fe=O(L,null,K,[]),ue=L.length;ue--;)(Y=fe[ue])&&(L[ue]=!(_[ue]=Y))}):function(L,_,F){return b[0]=L,O(b,null,F,C),b[0]=null,!C.pop()}}),has:qt(function(h){return function(b){return $e(h,b).length>0}}),contains:qt(function(h){return h=h.replace(Xt,tn),function(b){return(b.textContent||s.text(b)).indexOf(h)>-1}}),lang:qt(function(h){return Pn.test(h||"")||$e.error("unsupported lang: "+h),h=h.replace(Xt,tn).toLowerCase(),function(b){var C;do if(C=T?b.lang:b.getAttribute("xml:lang")||b.getAttribute("lang"))return C=C.toLowerCase(),C===h||C.indexOf(h+"-")===0;while((b=b.parentNode)&&b.nodeType===1);return!1}}),target:function(h){var b=R.location&&R.location.hash;return b&&b.slice(1)===h.id},root:function(h){return h===E},focus:function(h){return h===sr()&&g.hasFocus()&&!!(h.type||h.href||~h.tabIndex)},enabled:Dr(!1),disabled:Dr(!0),checked:function(h){return ie(h,"input")&&!!h.checked||ie(h,"option")&&!!h.selected},selected:function(h){return h.parentNode&&h.parentNode.selectedIndex,h.selected===!0},empty:function(h){for(h=h.firstChild;h;h=h.nextSibling)if(h.nodeType<6)return!1;return!0},parent:function(h){return!n.pseudos.empty(h)},header:function(h){return an.test(h.nodeName)},input:function(h){return Qt.test(h.nodeName)},button:function(h){return ie(h,"input")&&h.type==="button"||ie(h,"button")},text:function(h){var b;return ie(h,"input")&&h.type==="text"&&((b=h.getAttribute("type"))==null||b.toLowerCase()==="text")},first:wn(function(){return[0]}),last:wn(function(h,b){return[b-1]}),eq:wn(function(h,b,C){return[C<0?C+b:C]}),even:wn(function(h,b){for(var C=0;C<b;C+=2)h.push(C);return h}),odd:wn(function(h,b){for(var C=1;C<b;C+=2)h.push(C);return h}),lt:wn(function(h,b,C){var O;for(C<0?O=C+b:C>b?O=b:O=C;--O>=0;)h.push(O);return h}),gt:wn(function(h,b,C){for(var O=C<0?C+b:C;++O<b;)h.push(O);return h})}},n.pseudos.nth=n.pseudos.eq;for(e in{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})n.pseudos[e]=Zr(e);for(e in{submit:!0,reset:!0})n.pseudos[e]=kr(e);function ar(){}ar.prototype=n.filters=n.pseudos,n.setFilters=new ar;function Tn(h,b){var C,O,L,_,F,K,Y,fe=Se[h+" "];if(fe)return b?0:fe.slice(0);for(F=h,K=[],Y=n.preFilter;F;){(!C||(O=Je.exec(F)))&&(O&&(F=F.slice(O[0].length)||F),K.push(L=[])),C=!1,(O=sn.exec(F))&&(C=O.shift(),L.push({value:C,type:O[0].replace(Nt," ")}),F=F.slice(C.length));for(_ in n.filter)(O=Wt[_].exec(F))&&(!Y[_]||(O=Y[_](O)))&&(C=O.shift(),L.push({value:C,type:_,matches:O}),F=F.slice(C.length));if(!C)break}return b?F.length:F?$e.error(h):Se(h,K).slice(0)}function ei(h){for(var b=0,C=h.length,O="";b<C;b++)O+=h[b].value;return O}function yn(h,b,C){var O=b.dir,L=b.next,_=L||O,F=C&&_==="parentNode",K=re++;return b.first?function(Y,fe,ue){for(;Y=Y[O];)if(Y.nodeType===1||F)return h(Y,fe,ue);return!1}:function(Y,fe,ue){var ve,me,ce=[U,K];if(ue){for(;Y=Y[O];)if((Y.nodeType===1||F)&&h(Y,fe,ue))return!0}else for(;Y=Y[O];)if(Y.nodeType===1||F)if(me=Y[Z]||(Y[Z]={}),L&&ie(Y,L))Y=Y[O]||Y;else{if((ve=me[_])&&ve[0]===U&&ve[1]===K)return ce[2]=ve[2];if(me[_]=ce,ce[2]=h(Y,fe,ue))return!0}return!1}}function r(h){return h.length>1?function(b,C,O){for(var L=h.length;L--;)if(!h[L](b,C,O))return!1;return!0}:h[0]}function u(h,b,C){for(var O=0,L=b.length;O<L;O++)$e(h,b[O],C);return C}function d(h,b,C,O,L){for(var _,F=[],K=0,Y=h.length,fe=b!=null;K<Y;K++)(_=h[K])&&(!C||C(_,O,L))&&(F.push(_),fe&&b.push(K));return F}function v(h,b,C,O,L,_){return O&&!O[Z]&&(O=v(O)),L&&!L[Z]&&(L=v(L,_)),qt(function(F,K,Y,fe){var ue,ve,me,ce,Ve=[],Fe=[],ze=K.length,Pt=F||u(b||"*",Y.nodeType?[Y]:Y,[]),Mt=h&&(F||!b)?d(Pt,Ve,h,Y,fe):Pt;if(C?(ce=L||(F?h:ze||O)?[]:K,C(Mt,ce,Y,fe)):ce=Mt,O)for(ue=d(ce,Fe),O(ue,[],Y,fe),ve=ue.length;ve--;)(me=ue[ve])&&(ce[Fe[ve]]=!(Mt[Fe[ve]]=me));if(F){if(L||h){if(L){for(ue=[],ve=ce.length;ve--;)(me=ce[ve])&&ue.push(Mt[ve]=me);L(null,ce=[],ue,fe)}for(ve=ce.length;ve--;)(me=ce[ve])&&(ue=L?ke.call(F,me):Ve[ve])>-1&&(F[ue]=!(K[ue]=me))}}else ce=d(ce===K?ce.splice(ze,ce.length):ce),L?L(null,K,ce,fe):c.apply(K,ce)})}function x(h){for(var b,C,O,L=h.length,_=n.relative[h[0].type],F=_||n.relative[" "],K=_?1:0,Y=yn(function(ve){return ve===b},F,!0),fe=yn(function(ve){return ke.call(b,ve)>-1},F,!0),ue=[function(ve,me,ce){var Ve=!_&&(ce||me!=o)||((b=me).nodeType?Y(ve,me,ce):fe(ve,me,ce));return b=null,Ve}];K<L;K++)if(C=n.relative[h[K].type])ue=[yn(r(ue),C)];else{if(C=n.filter[h[K].type].apply(null,h[K].matches),C[Z]){for(O=++K;O<L&&!n.relative[h[O].type];O++);return v(K>1&&r(ue),K>1&&ei(h.slice(0,K-1).concat({value:h[K-2].type===" "?"*":""})).replace(Nt,"$1"),C,K<O&&x(h.slice(K,O)),O<L&&x(h=h.slice(O)),O<L&&ei(h))}ue.push(C)}return r(ue)}function w(h,b){var C=b.length>0,O=h.length>0,L=function(_,F,K,Y,fe){var ue,ve,me,ce=0,Ve="0",Fe=_&&[],ze=[],Pt=o,Mt=_||O&&n.find.TAG("*",fe),Ut=U+=Pt==null?1:Math.random()||.1,gt=Mt.length;for(fe&&(o=F==g||F||fe);Ve!==gt&&(ue=Mt[Ve])!=null;Ve++){if(O&&ue){for(ve=0,!F&&ue.ownerDocument!=g&&(un(ue),K=!T);me=h[ve++];)if(me(ue,F||g,K)){c.call(Y,ue);break}fe&&(U=Ut)}C&&((ue=!me&&ue)&&ce--,_&&Fe.push(ue))}if(ce+=Ve,C&&Ve!==ce){for(ve=0;me=b[ve++];)me(Fe,ze,F,K);if(_){if(ce>0)for(;Ve--;)Fe[Ve]||ze[Ve]||(ze[Ve]=he.call(Y));ze=d(ze)}c.apply(Y,ze),fe&&!_&&ze.length>0&&ce+b.length>1&&s.uniqueSort(Y)}return fe&&(U=Ut,o=Pt),Fe};return C?qt(L):L}function M(h,b){var C,O=[],L=[],_=Ie[h+" "];if(!_){for(b||(b=Tn(h)),C=b.length;C--;)_=x(b[C]),_[Z]?O.push(_):L.push(_);_=Ie(h,w(L,O)),_.selector=h}return _}function J(h,b,C,O){var L,_,F,K,Y,fe=typeof h=="function"&&h,ue=!O&&Tn(h=fe.selector||h);if(C=C||[],ue.length===1){if(_=ue[0]=ue[0].slice(0),_.length>2&&(F=_[0]).type==="ID"&&b.nodeType===9&&T&&n.relative[_[1].type]){if(b=(n.find.ID(F.matches[0].replace(Xt,tn),b)||[])[0],b)fe&&(b=b.parentNode);else return C;h=h.slice(_.shift().value.length)}for(L=Wt.needsContext.test(h)?0:_.length;L--&&(F=_[L],!n.relative[K=F.type]);)if((Y=n.find[K])&&(O=Y(F.matches[0].replace(Xt,tn),gi.test(_[0].type)&&Mn(b.parentNode)||b))){if(_.splice(L,1),h=O.length&&ei(_),!h)return c.apply(C,O),C;break}}return(fe||M(h,ue))(O,b,!T,C,!b||gi.test(h)&&Mn(b.parentNode)||b),C}H.sortStable=Z.split("").sort(ot).join("")===Z,un(),H.sortDetached=En(function(h){return h.compareDocumentPosition(g.createElement("fieldset"))&1}),s.find=$e,s.expr[":"]=s.expr.pseudos,s.unique=s.uniqueSort,$e.compile=M,$e.select=J,$e.setDocument=un,$e.tokenize=Tn,$e.escape=s.escapeSelector,$e.getText=s.text,$e.isXML=s.isXMLDoc,$e.selectors=s.expr,$e.support=s.support,$e.uniqueSort=s.uniqueSort})();var Q=function(e,n,o){for(var a=[],l=o!==void 0;(e=e[n])&&e.nodeType!==9;)if(e.nodeType===1){if(l&&s(e).is(o))break;a.push(e)}return a},pe=function(e,n){for(var o=[];e;e=e.nextSibling)e.nodeType===1&&e!==n&&o.push(e);return o},ye=s.expr.match.needsContext,_e=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function xe(e,n,o){return k(n)?s.grep(e,function(a,l){return!!n.call(a,l,a)!==o}):n.nodeType?s.grep(e,function(a){return a===n!==o}):typeof n!="string"?s.grep(e,function(a){return ke.call(n,a)>-1!==o}):s.filter(n,e,o)}s.filter=function(e,n,o){var a=n[0];return o&&(e=":not("+e+")"),n.length===1&&a.nodeType===1?s.find.matchesSelector(a,e)?[a]:[]:s.find.matches(e,s.grep(n,function(l){return l.nodeType===1}))},s.fn.extend({find:function(e){var n,o,a=this.length,l=this;if(typeof e!="string")return this.pushStack(s(e).filter(function(){for(n=0;n<a;n++)if(s.contains(l[n],this))return!0}));for(o=this.pushStack([]),n=0;n<a;n++)s.find(e,l[n],o);return a>1?s.uniqueSort(o):o},filter:function(e){return this.pushStack(xe(this,e||[],!1))},not:function(e){return this.pushStack(xe(this,e||[],!0))},is:function(e){return!!xe(this,typeof e=="string"&&ye.test(e)?s(e):e||[],!1).length}});var de,Re=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/,Ce=s.fn.init=function(e,n,o){var a,l;if(!e)return this;if(o=o||de,typeof e=="string")if(e[0]==="<"&&e[e.length-1]===">"&&e.length>=3?a=[null,e,null]:a=Re.exec(e),a&&(a[1]||!n))if(a[1]){if(n=n instanceof s?n[0]:n,s.merge(this,s.parseHTML(a[1],n&&n.nodeType?n.ownerDocument||n:S,!0)),_e.test(a[1])&&s.isPlainObject(n))for(a in n)k(this[a])?this[a](n[a]):this.attr(a,n[a]);return this}else return l=S.getElementById(a[2]),l&&(this[0]=l,this.length=1),this;else return!n||n.jquery?(n||o).find(e):this.constructor(n).find(e);else{if(e.nodeType)return this[0]=e,this.length=1,this;if(k(e))return o.ready!==void 0?o.ready(e):e(s)}return s.makeArray(e,this)};Ce.prototype=s.fn,de=s(S);var qe=/^(?:parents|prev(?:Until|All))/,et={children:!0,contents:!0,next:!0,prev:!0};s.fn.extend({has:function(e){var n=s(e,this),o=n.length;return this.filter(function(){for(var a=0;a<o;a++)if(s.contains(this,n[a]))return!0})},closest:function(e,n){var o,a=0,l=this.length,c=[],g=typeof e!="string"&&s(e);if(!ye.test(e)){for(;a<l;a++)for(o=this[a];o&&o!==n;o=o.parentNode)if(o.nodeType<11&&(g?g.index(o)>-1:o.nodeType===1&&s.find.matchesSelector(o,e))){c.push(o);break}}return this.pushStack(c.length>1?s.uniqueSort(c):c)},index:function(e){return e?typeof e=="string"?ke.call(s(e),this[0]):ke.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,n){return this.pushStack(s.uniqueSort(s.merge(this.get(),s(e,n))))},addBack:function(e){return this.add(e==null?this.prevObject:this.prevObject.filter(e))}});function tt(e,n){for(;(e=e[n])&&e.nodeType!==1;);return e}s.each({parent:function(e){var n=e.parentNode;return n&&n.nodeType!==11?n:null},parents:function(e){return Q(e,"parentNode")},parentsUntil:function(e,n,o){return Q(e,"parentNode",o)},next:function(e){return tt(e,"nextSibling")},prev:function(e){return tt(e,"previousSibling")},nextAll:function(e){return Q(e,"nextSibling")},prevAll:function(e){return Q(e,"previousSibling")},nextUntil:function(e,n,o){return Q(e,"nextSibling",o)},prevUntil:function(e,n,o){return Q(e,"previousSibling",o)},siblings:function(e){return pe((e.parentNode||{}).firstChild,e)},children:function(e){return pe(e.firstChild)},contents:function(e){return e.contentDocument!=null&&oe(e.contentDocument)?e.contentDocument:(ie(e,"template")&&(e=e.content||e),s.merge([],e.childNodes))}},function(e,n){s.fn[e]=function(o,a){var l=s.map(this,n,o);return e.slice(-5)!=="Until"&&(a=o),a&&typeof a=="string"&&(l=s.filter(a,l)),this.length>1&&(et[e]||s.uniqueSort(l),qe.test(e)&&l.reverse()),this.pushStack(l)}});var We=/[^\x20\t\r\n\f]+/g;function Ue(e){var n={};return s.each(e.match(We)||[],function(o,a){n[a]=!0}),n}s.Callbacks=function(e){e=typeof e=="string"?Ue(e):s.extend({},e);var n,o,a,l,c=[],g=[],E=-1,T=function(){for(l=l||e.once,a=n=!0;g.length;E=-1)for(o=g.shift();++E<c.length;)c[E].apply(o[0],o[1])===!1&&e.stopOnFalse&&(E=c.length,o=!1);e.memory||(o=!1),n=!1,l&&(o?c=[]:c="")},q={add:function(){return c&&(o&&!n&&(E=c.length-1,g.push(o)),(function X(Z){s.each(Z,function(U,re){k(re)?(!e.unique||!q.has(re))&&c.push(re):re&&re.length&&P(re)!=="string"&&X(re)})})(arguments),o&&!n&&T()),this},remove:function(){return s.each(arguments,function(X,Z){for(var U;(U=s.inArray(Z,c,U))>-1;)c.splice(U,1),U<=E&&E--}),this},has:function(X){return X?s.inArray(X,c)>-1:c.length>0},empty:function(){return c&&(c=[]),this},disable:function(){return l=g=[],c=o="",this},disabled:function(){return!c},lock:function(){return l=g=[],!o&&!n&&(c=o=""),this},locked:function(){return!!l},fireWith:function(X,Z){return l||(Z=Z||[],Z=[X,Z.slice?Z.slice():Z],g.push(Z),n||T()),this},fire:function(){return q.fireWith(this,arguments),this},fired:function(){return!!a}};return q};function ct(e){return e}function st(e){throw e}function Qe(e,n,o,a){var l;try{e&&k(l=e.promise)?l.call(e).done(n).fail(o):e&&k(l=e.then)?l.call(e,n,o):n.apply(void 0,[e].slice(a))}catch(c){o.apply(void 0,[c])}}s.extend({Deferred:function(e){var n=[["notify","progress",s.Callbacks("memory"),s.Callbacks("memory"),2],["resolve","done",s.Callbacks("once memory"),s.Callbacks("once memory"),0,"resolved"],["reject","fail",s.Callbacks("once memory"),s.Callbacks("once memory"),1,"rejected"]],o="pending",a={state:function(){return o},always:function(){return l.done(arguments).fail(arguments),this},catch:function(c){return a.then(null,c)},pipe:function(){var c=arguments;return s.Deferred(function(g){s.each(n,function(E,T){var q=k(c[T[4]])&&c[T[4]];l[T[1]](function(){var X=q&&q.apply(this,arguments);X&&k(X.promise)?X.promise().progress(g.notify).done(g.resolve).fail(g.reject):g[T[0]+"With"](this,q?[X]:arguments)})}),c=null}).promise()},then:function(c,g,E){var T=0;function q(X,Z,U,re){return function(){var Ae=this,Se=arguments,Ie=function(){var ot,Ot;if(!(X<T)){if(ot=U.apply(Ae,Se),ot===Z.promise())throw new TypeError("Thenable self-resolution");Ot=ot&&(typeof ot=="object"||typeof ot=="function")&&ot.then,k(Ot)?re?Ot.call(ot,q(T,Z,ct,re),q(T,Z,st,re)):(T++,Ot.call(ot,q(T,Z,ct,re),q(T,Z,st,re),q(T,Z,ct,Z.notifyWith))):(U!==ct&&(Ae=void 0,Se=[ot]),(re||Z.resolveWith)(Ae,Se))}},dt=re?Ie:function(){try{Ie()}catch(ot){s.Deferred.exceptionHook&&s.Deferred.exceptionHook(ot,dt.error),X+1>=T&&(U!==st&&(Ae=void 0,Se=[ot]),Z.rejectWith(Ae,Se))}};X?dt():(s.Deferred.getErrorHook?dt.error=s.Deferred.getErrorHook():s.Deferred.getStackHook&&(dt.error=s.Deferred.getStackHook()),R.setTimeout(dt))}}return s.Deferred(function(X){n[0][3].add(q(0,X,k(E)?E:ct,X.notifyWith)),n[1][3].add(q(0,X,k(c)?c:ct)),n[2][3].add(q(0,X,k(g)?g:st))}).promise()},promise:function(c){return c!=null?s.extend(c,a):a}},l={};return s.each(n,function(c,g){var E=g[2],T=g[5];a[g[1]]=E.add,T&&E.add(function(){o=T},n[3-c][2].disable,n[3-c][3].disable,n[0][2].lock,n[0][3].lock),E.add(g[3].fire),l[g[0]]=function(){return l[g[0]+"With"](this===l?void 0:this,arguments),this},l[g[0]+"With"]=E.fireWith}),a.promise(l),e&&e.call(l,l),l},when:function(e){var n=arguments.length,o=n,a=Array(o),l=le.call(arguments),c=s.Deferred(),g=function(E){return function(T){a[E]=this,l[E]=arguments.length>1?le.call(arguments):T,--n||c.resolveWith(a,l)}};if(n<=1&&(Qe(e,c.done(g(o)).resolve,c.reject,!n),c.state()==="pending"||k(l[o]&&l[o].then)))return c.then();for(;o--;)Qe(l[o],g(o),c.reject);return c.promise()}});var Xe=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;s.Deferred.exceptionHook=function(e,n){R.console&&R.console.warn&&e&&Xe.test(e.name)&&R.console.warn("jQuery.Deferred exception: "+e.message,e.stack,n)},s.readyException=function(e){R.setTimeout(function(){throw e})};var at=s.Deferred();s.fn.ready=function(e){return at.then(e).catch(function(n){s.readyException(n)}),this},s.extend({isReady:!1,readyWait:1,ready:function(e){(e===!0?--s.readyWait:s.isReady)||(s.isReady=!0,!(e!==!0&&--s.readyWait>0)&&at.resolveWith(S,[s]))}}),s.ready.then=at.then;function It(){S.removeEventListener("DOMContentLoaded",It),R.removeEventListener("load",It),s.ready()}S.readyState==="complete"||S.readyState!=="loading"&&!S.documentElement.doScroll?R.setTimeout(s.ready):(S.addEventListener("DOMContentLoaded",It),R.addEventListener("load",It));var Ct=function(e,n,o,a,l,c,g){var E=0,T=e.length,q=o==null;if(P(o)==="object"){l=!0;for(E in o)Ct(e,n,E,o[E],!0,c,g)}else if(a!==void 0&&(l=!0,k(a)||(g=!0),q&&(g?(n.call(e,a),n=null):(q=n,n=function(X,Z,U){return q.call(s(X),U)})),n))for(;E<T;E++)n(e[E],o,g?a:a.call(e[E],E,n(e[E],o)));return l?e:q?n.call(e):T?n(e[0],o):c},oi=/^-ms-/,Pi=/-([a-z])/g;function si(e,n){return n.toUpperCase()}function ft(e){return e.replace(oi,"ms-").replace(Pi,si)}var Kt=function(e){return e.nodeType===1||e.nodeType===9||!+e.nodeType};function bt(){this.expando=s.expando+bt.uid++}bt.uid=1,bt.prototype={cache:function(e){var n=e[this.expando];return n||(n={},Kt(e)&&(e.nodeType?e[this.expando]=n:Object.defineProperty(e,this.expando,{value:n,configurable:!0}))),n},set:function(e,n,o){var a,l=this.cache(e);if(typeof n=="string")l[ft(n)]=o;else for(a in n)l[ft(a)]=n[a];return l},get:function(e,n){return n===void 0?this.cache(e):e[this.expando]&&e[this.expando][ft(n)]},access:function(e,n,o){return n===void 0||n&&typeof n=="string"&&o===void 0?this.get(e,n):(this.set(e,n,o),o!==void 0?o:n)},remove:function(e,n){var o,a=e[this.expando];if(a!==void 0){if(n!==void 0)for(Array.isArray(n)?n=n.map(ft):(n=ft(n),n=n in a?[n]:n.match(We)||[]),o=n.length;o--;)delete a[n[o]];(n===void 0||s.isEmptyObject(a))&&(e.nodeType?e[this.expando]=void 0:delete e[this.expando])}},hasData:function(e){var n=e[this.expando];return n!==void 0&&!s.isEmptyObject(n)}};var ge=new bt,rt=new bt,Bn=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,Mi=/[A-Z]/g;function ai(e){return e==="true"?!0:e==="false"?!1:e==="null"?null:e===+e+""?+e:Bn.test(e)?JSON.parse(e):e}function xi(e,n,o){var a;if(o===void 0&&e.nodeType===1)if(a="data-"+n.replace(Mi,"-$&").toLowerCase(),o=e.getAttribute(a),typeof o=="string"){try{o=ai(o)}catch{}rt.set(e,n,o)}else o=void 0;return o}s.extend({hasData:function(e){return rt.hasData(e)||ge.hasData(e)},data:function(e,n,o){return rt.access(e,n,o)},removeData:function(e,n){rt.remove(e,n)},_data:function(e,n,o){return ge.access(e,n,o)},_removeData:function(e,n){ge.remove(e,n)}}),s.fn.extend({data:function(e,n){var o,a,l,c=this[0],g=c&&c.attributes;if(e===void 0){if(this.length&&(l=rt.get(c),c.nodeType===1&&!ge.get(c,"hasDataAttrs"))){for(o=g.length;o--;)g[o]&&(a=g[o].name,a.indexOf("data-")===0&&(a=ft(a.slice(5)),xi(c,a,l[a])));ge.set(c,"hasDataAttrs",!0)}return l}return typeof e=="object"?this.each(function(){rt.set(this,e)}):Ct(this,function(E){var T;if(c&&E===void 0)return T=rt.get(c,e),T!==void 0||(T=xi(c,e),T!==void 0)?T:void 0;this.each(function(){rt.set(this,e,E)})},null,n,arguments.length>1,null,!0)},removeData:function(e){return this.each(function(){rt.remove(this,e)})}}),s.extend({queue:function(e,n,o){var a;if(e)return n=(n||"fx")+"queue",a=ge.get(e,n),o&&(!a||Array.isArray(o)?a=ge.access(e,n,s.makeArray(o)):a.push(o)),a||[]},dequeue:function(e,n){n=n||"fx";var o=s.queue(e,n),a=o.length,l=o.shift(),c=s._queueHooks(e,n),g=function(){s.dequeue(e,n)};l==="inprogress"&&(l=o.shift(),a--),l&&(n==="fx"&&o.unshift("inprogress"),delete c.stop,l.call(e,g,c)),!a&&c&&c.empty.fire()},_queueHooks:function(e,n){var o=n+"queueHooks";return ge.get(e,o)||ge.access(e,o,{empty:s.Callbacks("once memory").add(function(){ge.remove(e,[n+"queue",o])})})}}),s.fn.extend({queue:function(e,n){var o=2;return typeof e!="string"&&(n=e,e="fx",o--),arguments.length<o?s.queue(this[0],e):n===void 0?this:this.each(function(){var a=s.queue(this,e,n);s._queueHooks(this,e),e==="fx"&&a[0]!=="inprogress"&&s.dequeue(this,e)})},dequeue:function(e){return this.each(function(){s.dequeue(this,e)})},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,n){var o,a=1,l=s.Deferred(),c=this,g=this.length,E=function(){--a||l.resolveWith(c,[c])};for(typeof e!="string"&&(n=e,e=void 0),e=e||"fx";g--;)o=ge.get(c[g],e+"queueHooks"),o&&o.empty&&(a++,o.empty.add(E));return E(),l.promise(n)}});var zn=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,Dn=new RegExp("^(?:([+-])=|)("+zn+")([a-z%]*)$","i"),zt=["Top","Right","Bottom","Left"],rn=S.documentElement,mn=function(e){return s.contains(e.ownerDocument,e)},cr={composed:!0};rn.getRootNode&&(mn=function(e){return s.contains(e.ownerDocument,e)||e.getRootNode(cr)===e.ownerDocument});var Fn=function(e,n){return e=n||e,e.style.display==="none"||e.style.display===""&&mn(e)&&s.css(e,"display")==="none"};function Hi(e,n,o,a){var l,c,g=20,E=a?function(){return a.cur()}:function(){return s.css(e,n,"")},T=E(),q=o&&o[3]||(s.cssNumber[n]?"":"px"),X=e.nodeType&&(s.cssNumber[n]||q!=="px"&&+T)&&Dn.exec(s.css(e,n));if(X&&X[3]!==q){for(T=T/2,q=q||X[3],X=+T||1;g--;)s.style(e,n,X+q),(1-c)*(1-(c=E()/T||.5))<=0&&(g=0),X=X/c;X=X*2,s.style(e,n,X+q),o=o||[]}return o&&(X=+X||+T||0,l=o[1]?X+(o[1]+1)*o[2]:+o[2],a&&(a.unit=q,a.start=X,a.end=l)),l}var dr={};function Ln(e){var n,o=e.ownerDocument,a=e.nodeName,l=dr[a];return l||(n=o.body.appendChild(o.createElement(a)),l=s.css(n,"display"),n.parentNode.removeChild(n),l==="none"&&(l="block"),dr[a]=l,l)}function Vt(e,n){for(var o,a,l=[],c=0,g=e.length;c<g;c++)a=e[c],a.style&&(o=a.style.display,n?(o==="none"&&(l[c]=ge.get(a,"display")||null,l[c]||(a.style.display="")),a.style.display===""&&Fn(a)&&(l[c]=Ln(a))):o!=="none"&&(l[c]="none",ge.set(a,"display",o)));for(c=0;c<g;c++)l[c]!=null&&(e[c].style.display=l[c]);return e}s.fn.extend({show:function(){return Vt(this,!0)},hide:function(){return Vt(this)},toggle:function(e){return typeof e=="boolean"?e?this.show():this.hide():this.each(function(){Fn(this)?s(this).show():s(this).hide()})}});var Rn=/^(?:checkbox|radio)$/i,Xi=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i,Yi=/^$|^module$|\/(?:java|ecma)script/i;(function(){var e=S.createDocumentFragment(),n=e.appendChild(S.createElement("div")),o=S.createElement("input");o.setAttribute("type","radio"),o.setAttribute("checked","checked"),o.setAttribute("name","t"),n.appendChild(o),H.checkClone=n.cloneNode(!0).cloneNode(!0).lastChild.checked,n.innerHTML="<textarea>x</textarea>",H.noCloneChecked=!!n.cloneNode(!0).lastChild.defaultValue,n.innerHTML="<option></option>",H.option=!!n.lastChild})();var St={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,"",""]};St.tbody=St.tfoot=St.colgroup=St.caption=St.thead,St.th=St.td,H.option||(St.optgroup=St.option=[1,"<select multiple='multiple'>","</select>"]);function mt(e,n){var o;return typeof e.getElementsByTagName<"u"?o=e.getElementsByTagName(n||"*"):typeof e.querySelectorAll<"u"?o=e.querySelectorAll(n||"*"):o=[],n===void 0||n&&ie(e,n)?s.merge([e],o):o}function wi(e,n){for(var o=0,a=e.length;o<a;o++)ge.set(e[o],"globalEval",!n||ge.get(n[o],"globalEval"))}var ji=/<|&#?\w+;/;function Bi(e,n,o,a,l){for(var c,g,E,T,q,X,Z=n.createDocumentFragment(),U=[],re=0,Ae=e.length;re<Ae;re++)if(c=e[re],c||c===0)if(P(c)==="object")s.merge(U,c.nodeType?[c]:c);else if(!ji.test(c))U.push(n.createTextNode(c));else{for(g=g||Z.appendChild(n.createElement("div")),E=(Xi.exec(c)||["",""])[1].toLowerCase(),T=St[E]||St._default,g.innerHTML=T[1]+s.htmlPrefilter(c)+T[2],X=T[0];X--;)g=g.lastChild;s.merge(U,g.childNodes),g=Z.firstChild,g.textContent=""}for(Z.textContent="",re=0;c=U[re++];){if(a&&s.inArray(c,a)>-1){l&&l.push(c);continue}if(q=mn(c),g=mt(Z.appendChild(c),"script"),q&&wi(g),o)for(X=0;c=g[X++];)Yi.test(c.type||"")&&o.push(c)}return Z}var hr=/^([^.]*)(?:\.(.+)|)/;function pn(){return!0}function ln(){return!1}function ui(e,n,o,a,l,c){var g,E;if(typeof n=="object"){typeof o!="string"&&(a=a||o,o=void 0);for(E in n)ui(e,E,o,a,n[E],c);return e}if(a==null&&l==null?(l=o,a=o=void 0):l==null&&(typeof o=="string"?(l=a,a=void 0):(l=a,a=o,o=void 0)),l===!1)l=ln;else if(!l)return e;return c===1&&(g=l,l=function(T){return s().off(T),g.apply(this,arguments)},l.guid=g.guid||(g.guid=s.guid++)),e.each(function(){s.event.add(this,n,l,a,o)})}s.event={global:{},add:function(e,n,o,a,l){var c,g,E,T,q,X,Z,U,re,Ae,Se,Ie=ge.get(e);if(Kt(e))for(o.handler&&(c=o,o=c.handler,l=c.selector),l&&s.find.matchesSelector(rn,l),o.guid||(o.guid=s.guid++),(T=Ie.events)||(T=Ie.events=Object.create(null)),(g=Ie.handle)||(g=Ie.handle=function(dt){return typeof s<"u"&&s.event.triggered!==dt.type?s.event.dispatch.apply(e,arguments):void 0}),n=(n||"").match(We)||[""],q=n.length;q--;)E=hr.exec(n[q])||[],re=Se=E[1],Ae=(E[2]||"").split(".").sort(),re&&(Z=s.event.special[re]||{},re=(l?Z.delegateType:Z.bindType)||re,Z=s.event.special[re]||{},X=s.extend({type:re,origType:Se,data:a,handler:o,guid:o.guid,selector:l,needsContext:l&&s.expr.match.needsContext.test(l),namespace:Ae.join(".")},c),(U=T[re])||(U=T[re]=[],U.delegateCount=0,(!Z.setup||Z.setup.call(e,a,Ae,g)===!1)&&e.addEventListener&&e.addEventListener(re,g)),Z.add&&(Z.add.call(e,X),X.handler.guid||(X.handler.guid=o.guid)),l?U.splice(U.delegateCount++,0,X):U.push(X),s.event.global[re]=!0)},remove:function(e,n,o,a,l){var c,g,E,T,q,X,Z,U,re,Ae,Se,Ie=ge.hasData(e)&&ge.get(e);if(!(!Ie||!(T=Ie.events))){for(n=(n||"").match(We)||[""],q=n.length;q--;){if(E=hr.exec(n[q])||[],re=Se=E[1],Ae=(E[2]||"").split(".").sort(),!re){for(re in T)s.event.remove(e,re+n[q],o,a,!0);continue}for(Z=s.event.special[re]||{},re=(a?Z.delegateType:Z.bindType)||re,U=T[re]||[],E=E[2]&&new RegExp("(^|\\.)"+Ae.join("\\.(?:.*\\.|)")+"(\\.|$)"),g=c=U.length;c--;)X=U[c],(l||Se===X.origType)&&(!o||o.guid===X.guid)&&(!E||E.test(X.namespace))&&(!a||a===X.selector||a==="**"&&X.selector)&&(U.splice(c,1),X.selector&&U.delegateCount--,Z.remove&&Z.remove.call(e,X));g&&!U.length&&((!Z.teardown||Z.teardown.call(e,Ae,Ie.handle)===!1)&&s.removeEvent(e,re,Ie.handle),delete T[re])}s.isEmptyObject(T)&&ge.remove(e,"handle events")}},dispatch:function(e){var n,o,a,l,c,g,E=new Array(arguments.length),T=s.event.fix(e),q=(ge.get(this,"events")||Object.create(null))[T.type]||[],X=s.event.special[T.type]||{};for(E[0]=T,n=1;n<arguments.length;n++)E[n]=arguments[n];if(T.delegateTarget=this,!(X.preDispatch&&X.preDispatch.call(this,T)===!1)){for(g=s.event.handlers.call(this,T,q),n=0;(l=g[n++])&&!T.isPropagationStopped();)for(T.currentTarget=l.elem,o=0;(c=l.handlers[o++])&&!T.isImmediatePropagationStopped();)(!T.rnamespace||c.namespace===!1||T.rnamespace.test(c.namespace))&&(T.handleObj=c,T.data=c.data,a=((s.event.special[c.origType]||{}).handle||c.handler).apply(l.elem,E),a!==void 0&&(T.result=a)===!1&&(T.preventDefault(),T.stopPropagation()));return X.postDispatch&&X.postDispatch.call(this,T),T.result}},handlers:function(e,n){var o,a,l,c,g,E=[],T=n.delegateCount,q=e.target;if(T&&q.nodeType&&!(e.type==="click"&&e.button>=1)){for(;q!==this;q=q.parentNode||this)if(q.nodeType===1&&!(e.type==="click"&&q.disabled===!0)){for(c=[],g={},o=0;o<T;o++)a=n[o],l=a.selector+" ",g[l]===void 0&&(g[l]=a.needsContext?s(l,this).index(q)>-1:s.find(l,this,null,[q]).length),g[l]&&c.push(a);c.length&&E.push({elem:q,handlers:c})}}return q=this,T<n.length&&E.push({elem:q,handlers:n.slice(T)}),E},addProp:function(e,n){Object.defineProperty(s.Event.prototype,e,{enumerable:!0,configurable:!0,get:k(n)?function(){if(this.originalEvent)return n(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[e]},set:function(o){Object.defineProperty(this,e,{enumerable:!0,configurable:!0,writable:!0,value:o})}})},fix:function(e){return e[s.expando]?e:new s.Event(e)},special:{load:{noBubble:!0},click:{setup:function(e){var n=this||e;return Rn.test(n.type)&&n.click&&ie(n,"input")&&$n(n,"click",!0),!1},trigger:function(e){var n=this||e;return Rn.test(n.type)&&n.click&&ie(n,"input")&&$n(n,"click"),!0},_default:function(e){var n=e.target;return Rn.test(n.type)&&n.click&&ie(n,"input")&&ge.get(n,"click")||ie(n,"a")}},beforeunload:{postDispatch:function(e){e.result!==void 0&&e.originalEvent&&(e.originalEvent.returnValue=e.result)}}}};function $n(e,n,o){if(!o){ge.get(e,n)===void 0&&s.event.add(e,n,pn);return}ge.set(e,n,!1),s.event.add(e,n,{namespace:!1,handler:function(a){var l,c=ge.get(this,n);if(a.isTrigger&1&&this[n]){if(c)(s.event.special[n]||{}).delegateType&&a.stopPropagation();else if(c=le.call(arguments),ge.set(this,n,c),this[n](),l=ge.get(this,n),ge.set(this,n,!1),c!==l)return a.stopImmediatePropagation(),a.preventDefault(),l}else c&&(ge.set(this,n,s.event.trigger(c[0],c.slice(1),this)),a.stopPropagation(),a.isImmediatePropagationStopped=pn)}})}s.removeEvent=function(e,n,o){e.removeEventListener&&e.removeEventListener(n,o)},s.Event=function(e,n){if(!(this instanceof s.Event))return new s.Event(e,n);e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||e.defaultPrevented===void 0&&e.returnValue===!1?pn:ln,this.target=e.target&&e.target.nodeType===3?e.target.parentNode:e.target,this.currentTarget=e.currentTarget,this.relatedTarget=e.relatedTarget):this.type=e,n&&s.extend(this,n),this.timeStamp=e&&e.timeStamp||Date.now(),this[s.expando]=!0},s.Event.prototype={constructor:s.Event,isDefaultPrevented:ln,isPropagationStopped:ln,isImmediatePropagationStopped:ln,isSimulated:!1,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=pn,e&&!this.isSimulated&&e.preventDefault()},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=pn,e&&!this.isSimulated&&e.stopPropagation()},stopImmediatePropagation:function(){var e=this.originalEvent;this.isImmediatePropagationStopped=pn,e&&!this.isSimulated&&e.stopImmediatePropagation(),this.stopPropagation()}},s.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},s.event.addProp),s.each({focus:"focusin",blur:"focusout"},function(e,n){function o(a){if(S.documentMode){var l=ge.get(this,"handle"),c=s.event.fix(a);c.type=a.type==="focusin"?"focus":"blur",c.isSimulated=!0,l(a),c.target===c.currentTarget&&l(c)}else s.event.simulate(n,a.target,s.event.fix(a))}s.event.special[e]={setup:function(){var a;if($n(this,e,!0),S.documentMode)a=ge.get(this,n),a||this.addEventListener(n,o),ge.set(this,n,(a||0)+1);else return!1},trigger:function(){return $n(this,e),!0},teardown:function(){var a;if(S.documentMode)a=ge.get(this,n)-1,a?ge.set(this,n,a):(this.removeEventListener(n,o),ge.remove(this,n));else return!1},_default:function(a){return ge.get(a.target,e)},delegateType:n},s.event.special[n]={setup:function(){var a=this.ownerDocument||this.document||this,l=S.documentMode?this:a,c=ge.get(l,n);c||(S.documentMode?this.addEventListener(n,o):a.addEventListener(e,o,!0)),ge.set(l,n,(c||0)+1)},teardown:function(){var a=this.ownerDocument||this.document||this,l=S.documentMode?this:a,c=ge.get(l,n)-1;c?ge.set(l,n,c):(S.documentMode?this.removeEventListener(n,o):a.removeEventListener(e,o,!0),ge.remove(l,n))}}}),s.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(e,n){s.event.special[e]={delegateType:n,bindType:n,handle:function(o){var a,l=this,c=o.relatedTarget,g=o.handleObj;return(!c||c!==l&&!s.contains(l,c))&&(o.type=g.origType,a=g.handler.apply(this,arguments),o.type=n),a}}}),s.fn.extend({on:function(e,n,o,a){return ui(this,e,n,o,a)},one:function(e,n,o,a){return ui(this,e,n,o,a,1)},off:function(e,n,o){var a,l;if(e&&e.preventDefault&&e.handleObj)return a=e.handleObj,s(e.delegateTarget).off(a.namespace?a.origType+"."+a.namespace:a.origType,a.selector,a.handler),this;if(typeof e=="object"){for(l in e)this.off(l,n,e[l]);return this}return(n===!1||typeof n=="function")&&(o=n,n=void 0),o===!1&&(o=ln),this.each(function(){s.event.remove(this,e,o,n)})}});var pr=/<script|<style|<link/i,jr=/checked\s*(?:[^=]|=\s*.checked.)/i,Ti=/^\s*<!\[CDATA\[|\]\]>\s*$/g;function Ji(e,n){return ie(e,"table")&&ie(n.nodeType!==11?n:n.firstChild,"tr")&&s(e).children("tbody")[0]||e}function Br(e){return e.type=(e.getAttribute("type")!==null)+"/"+e.type,e}function gr(e){return(e.type||"").slice(0,5)==="true/"?e.type=e.type.slice(5):e.removeAttribute("type"),e}function Zi(e,n){var o,a,l,c,g,E,T;if(n.nodeType===1){if(ge.hasData(e)&&(c=ge.get(e),T=c.events,T)){ge.remove(n,"handle events");for(l in T)for(o=0,a=T[l].length;o<a;o++)s.event.add(n,l,T[l][o])}rt.hasData(e)&&(g=rt.access(e),E=s.extend({},g),rt.set(n,E))}}function vr(e,n){var o=n.nodeName.toLowerCase();o==="input"&&Rn.test(e.type)?n.checked=e.checked:(o==="input"||o==="textarea")&&(n.defaultValue=e.defaultValue)}function cn(e,n,o,a){n=be(n);var l,c,g,E,T,q,X=0,Z=e.length,U=Z-1,re=n[0],Ae=k(re);if(Ae||Z>1&&typeof re=="string"&&!H.checkClone&&jr.test(re))return e.each(function(Se){var Ie=e.eq(Se);Ae&&(n[0]=re.call(this,Se,Ie.html())),cn(Ie,n,o,a)});if(Z&&(l=Bi(n,e[0].ownerDocument,!1,e,a),c=l.firstChild,l.childNodes.length===1&&(l=c),c||a)){for(g=s.map(mt(l,"script"),Br),E=g.length;X<Z;X++)T=l,X!==U&&(T=s.clone(T,!0,!0),E&&s.merge(g,mt(T,"script"))),o.call(e[X],T,X);if(E)for(q=g[g.length-1].ownerDocument,s.map(g,gr),X=0;X<E;X++)T=g[X],Yi.test(T.type||"")&&!ge.access(T,"globalEval")&&s.contains(q,T)&&(T.src&&(T.type||"").toLowerCase()!=="module"?s._evalUrl&&!T.noModule&&s._evalUrl(T.src,{nonce:T.nonce||T.getAttribute("nonce")},q):A(T.textContent.replace(Ti,""),T,q))}return e}function yr(e,n,o){for(var a,l=n?s.filter(n,e):e,c=0;(a=l[c])!=null;c++)!o&&a.nodeType===1&&s.cleanData(mt(a)),a.parentNode&&(o&&mn(a)&&wi(mt(a,"script")),a.parentNode.removeChild(a));return e}s.extend({htmlPrefilter:function(e){return e},clone:function(e,n,o){var a,l,c,g,E=e.cloneNode(!0),T=mn(e);if(!H.noCloneChecked&&(e.nodeType===1||e.nodeType===11)&&!s.isXMLDoc(e))for(g=mt(E),c=mt(e),a=0,l=c.length;a<l;a++)vr(c[a],g[a]);if(n)if(o)for(c=c||mt(e),g=g||mt(E),a=0,l=c.length;a<l;a++)Zi(c[a],g[a]);else Zi(e,E);return g=mt(E,"script"),g.length>0&&wi(g,!T&&mt(e,"script")),E},cleanData:function(e){for(var n,o,a,l=s.event.special,c=0;(o=e[c])!==void 0;c++)if(Kt(o)){if(n=o[ge.expando]){if(n.events)for(a in n.events)l[a]?s.event.remove(o,a):s.removeEvent(o,a,n.handle);o[ge.expando]=void 0}o[rt.expando]&&(o[rt.expando]=void 0)}}}),s.fn.extend({detach:function(e){return yr(this,e,!0)},remove:function(e){return yr(this,e)},text:function(e){return Ct(this,function(n){return n===void 0?s.text(this):this.empty().each(function(){(this.nodeType===1||this.nodeType===11||this.nodeType===9)&&(this.textContent=n)})},null,e,arguments.length)},append:function(){return cn(this,arguments,function(e){if(this.nodeType===1||this.nodeType===11||this.nodeType===9){var n=Ji(this,e);n.appendChild(e)}})},prepend:function(){return cn(this,arguments,function(e){if(this.nodeType===1||this.nodeType===11||this.nodeType===9){var n=Ji(this,e);n.insertBefore(e,n.firstChild)}})},before:function(){return cn(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this)})},after:function(){return cn(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)})},empty:function(){for(var e,n=0;(e=this[n])!=null;n++)e.nodeType===1&&(s.cleanData(mt(e,!1)),e.textContent="");return this},clone:function(e,n){return e=e??!1,n=n??e,this.map(function(){return s.clone(this,e,n)})},html:function(e){return Ct(this,function(n){var o=this[0]||{},a=0,l=this.length;if(n===void 0&&o.nodeType===1)return o.innerHTML;if(typeof n=="string"&&!pr.test(n)&&!St[(Xi.exec(n)||["",""])[1].toLowerCase()]){n=s.htmlPrefilter(n);try{for(;a<l;a++)o=this[a]||{},o.nodeType===1&&(s.cleanData(mt(o,!1)),o.innerHTML=n);o=0}catch{}}o&&this.empty().append(n)},null,e,arguments.length)},replaceWith:function(){var e=[];return cn(this,arguments,function(n){var o=this.parentNode;s.inArray(this,e)<0&&(s.cleanData(mt(this)),o&&o.replaceChild(n,this))},e)}}),s.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(e,n){s.fn[e]=function(o){for(var a,l=[],c=s(o),g=c.length-1,E=0;E<=g;E++)a=E===g?this:this.clone(!0),s(c[E])[n](a),Pe.apply(l,a.get());return this.pushStack(l)}});var Fi=new RegExp("^("+zn+")(?!px)[a-z%]+$","i"),$i=/^--/,fi=function(e){var n=e.ownerDocument.defaultView;return(!n||!n.opener)&&(n=R),n.getComputedStyle(e)},er=function(e,n,o){var a,l,c={};for(l in n)c[l]=e.style[l],e.style[l]=n[l];a=o.call(e);for(l in n)e.style[l]=c[l];return a},ao=new RegExp(zt.join("|"),"i");(function(){function e(){if(q){T.style.cssText="position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0",q.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%",rn.appendChild(T).appendChild(q);var X=R.getComputedStyle(q);o=X.top!=="1%",E=n(X.marginLeft)===12,q.style.right="60%",c=n(X.right)===36,a=n(X.width)===36,q.style.position="absolute",l=n(q.offsetWidth/3)===12,rn.removeChild(T),q=null}}function n(X){return Math.round(parseFloat(X))}var o,a,l,c,g,E,T=S.createElement("div"),q=S.createElement("div");q.style&&(q.style.backgroundClip="content-box",q.cloneNode(!0).style.backgroundClip="",H.clearCloneStyle=q.style.backgroundClip==="content-box",s.extend(H,{boxSizingReliable:function(){return e(),a},pixelBoxStyles:function(){return e(),c},pixelPosition:function(){return e(),o},reliableMarginLeft:function(){return e(),E},scrollboxSize:function(){return e(),l},reliableTrDimensions:function(){var X,Z,U,re;return g==null&&(X=S.createElement("table"),Z=S.createElement("tr"),U=S.createElement("div"),X.style.cssText="position:absolute;left:-11111px;border-collapse:separate",Z.style.cssText="box-sizing:content-box;border:1px solid",Z.style.height="1px",U.style.height="9px",U.style.display="block",rn.appendChild(X).appendChild(Z).appendChild(U),re=R.getComputedStyle(Z),g=parseInt(re.height,10)+parseInt(re.borderTopWidth,10)+parseInt(re.borderBottomWidth,10)===Z.offsetHeight,rn.removeChild(X)),g}}))})();function Zt(e,n,o){var a,l,c,g,E=$i.test(n),T=e.style;return o=o||fi(e),o&&(g=o.getPropertyValue(n)||o[n],E&&g&&(g=g.replace(Nt,"$1")||void 0),g===""&&!mn(e)&&(g=s.style(e,n)),!H.pixelBoxStyles()&&Fi.test(g)&&ao.test(n)&&(a=T.width,l=T.minWidth,c=T.maxWidth,T.minWidth=T.maxWidth=T.width=g,g=o.width,T.width=a,T.minWidth=l,T.maxWidth=c)),g!==void 0?g+"":g}function _i(e,n){return{get:function(){if(e()){delete this.get;return}return(this.get=n).apply(this,arguments)}}}var li=["Webkit","Moz","ms"],mr=S.createElement("div").style,Wi={};function tr(e){for(var n=e[0].toUpperCase()+e.slice(1),o=li.length;o--;)if(e=li[o]+n,e in mr)return e}function Ci(e){var n=s.cssProps[e]||Wi[e];return n||(e in mr?e:Wi[e]=tr(e)||e)}var Fr=/^(none|table(?!-c[ea]).+)/,Qn={position:"absolute",visibility:"hidden",display:"block"},ci={letterSpacing:"0",fontWeight:"400"};function di(e,n,o){var a=Dn.exec(n);return a?Math.max(0,a[2]-(o||0))+(a[3]||"px"):n}function Ye(e,n,o,a,l,c){var g=n==="width"?1:0,E=0,T=0,q=0;if(o===(a?"border":"content"))return 0;for(;g<4;g+=2)o==="margin"&&(q+=s.css(e,o+zt[g],!0,l)),a?(o==="content"&&(T-=s.css(e,"padding"+zt[g],!0,l)),o!=="margin"&&(T-=s.css(e,"border"+zt[g]+"Width",!0,l))):(T+=s.css(e,"padding"+zt[g],!0,l),o!=="padding"?T+=s.css(e,"border"+zt[g]+"Width",!0,l):E+=s.css(e,"border"+zt[g]+"Width",!0,l));return!a&&c>=0&&(T+=Math.max(0,Math.ceil(e["offset"+n[0].toUpperCase()+n.slice(1)]-c-T-E-.5))||0),T+q}function on(e,n,o){var a=fi(e),l=!H.boxSizingReliable()||o,c=l&&s.css(e,"boxSizing",!1,a)==="border-box",g=c,E=Zt(e,n,a),T="offset"+n[0].toUpperCase()+n.slice(1);if(Fi.test(E)){if(!o)return E;E="auto"}return(!H.boxSizingReliable()&&c||!H.reliableTrDimensions()&&ie(e,"tr")||E==="auto"||!parseFloat(E)&&s.css(e,"display",!1,a)==="inline")&&e.getClientRects().length&&(c=s.css(e,"boxSizing",!1,a)==="border-box",g=T in e,g&&(E=e[T])),E=parseFloat(E)||0,E+Ye(e,n,o||(c?"border":"content"),g,a,E)+"px"}s.extend({cssHooks:{opacity:{get:function(e,n){if(n){var o=Zt(e,"opacity");return o===""?"1":o}}}},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(e,n,o,a){if(!(!e||e.nodeType===3||e.nodeType===8||!e.style)){var l,c,g,E=ft(n),T=$i.test(n),q=e.style;if(T||(n=Ci(E)),g=s.cssHooks[n]||s.cssHooks[E],o!==void 0){if(c=typeof o,c==="string"&&(l=Dn.exec(o))&&l[1]&&(o=Hi(e,n,l),c="number"),o==null||o!==o)return;c==="number"&&!T&&(o+=l&&l[3]||(s.cssNumber[E]?"":"px")),!H.clearCloneStyle&&o===""&&n.indexOf("background")===0&&(q[n]="inherit"),(!g||!("set"in g)||(o=g.set(e,o,a))!==void 0)&&(T?q.setProperty(n,o):q[n]=o)}else return g&&"get"in g&&(l=g.get(e,!1,a))!==void 0?l:q[n]}},css:function(e,n,o,a){var l,c,g,E=ft(n),T=$i.test(n);return T||(n=Ci(E)),g=s.cssHooks[n]||s.cssHooks[E],g&&"get"in g&&(l=g.get(e,!0,o)),l===void 0&&(l=Zt(e,n,a)),l==="normal"&&n in ci&&(l=ci[n]),o===""||o?(c=parseFloat(l),o===!0||isFinite(c)?c||0:l):l}}),s.each(["height","width"],function(e,n){s.cssHooks[n]={get:function(o,a,l){if(a)return Fr.test(s.css(o,"display"))&&(!o.getClientRects().length||!o.getBoundingClientRect().width)?er(o,Qn,function(){return on(o,n,l)}):on(o,n,l)},set:function(o,a,l){var c,g=fi(o),E=!H.scrollboxSize()&&g.position==="absolute",T=E||l,q=T&&s.css(o,"boxSizing",!1,g)==="border-box",X=l?Ye(o,n,l,q,g):0;return q&&E&&(X-=Math.ceil(o["offset"+n[0].toUpperCase()+n.slice(1)]-parseFloat(g[n])-Ye(o,n,"border",!1,g)-.5)),X&&(c=Dn.exec(a))&&(c[3]||"px")!=="px"&&(o.style[n]=a,a=s.css(o,n)),di(o,a,X)}}}),s.cssHooks.marginLeft=_i(H.reliableMarginLeft,function(e,n){if(n)return(parseFloat(Zt(e,"marginLeft"))||e.getBoundingClientRect().left-er(e,{marginLeft:0},function(){return e.getBoundingClientRect().left}))+"px"}),s.each({margin:"",padding:"",border:"Width"},function(e,n){s.cssHooks[e+n]={expand:function(o){for(var a=0,l={},c=typeof o=="string"?o.split(" "):[o];a<4;a++)l[e+zt[a]+n]=c[a]||c[a-2]||c[0];return l}},e!=="margin"&&(s.cssHooks[e+n].set=di)}),s.fn.extend({css:function(e,n){return Ct(this,function(o,a,l){var c,g,E={},T=0;if(Array.isArray(a)){for(c=fi(o),g=a.length;T<g;T++)E[a[T]]=s.css(o,a[T],!1,c);return E}return l!==void 0?s.style(o,a,l):s.css(o,a)},e,n,arguments.length>1)}});function kt(e,n,o,a,l){return new kt.prototype.init(e,n,o,a,l)}s.Tween=kt,kt.prototype={constructor:kt,init:function(e,n,o,a,l,c){this.elem=e,this.prop=o,this.easing=l||s.easing._default,this.options=n,this.start=this.now=this.cur(),this.end=a,this.unit=c||(s.cssNumber[o]?"":"px")},cur:function(){var e=kt.propHooks[this.prop];return e&&e.get?e.get(this):kt.propHooks._default.get(this)},run:function(e){var n,o=kt.propHooks[this.prop];return this.options.duration?this.pos=n=s.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):this.pos=n=e,this.now=(this.end-this.start)*n+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),o&&o.set?o.set(this):kt.propHooks._default.set(this),this}},kt.prototype.init.prototype=kt.prototype,kt.propHooks={_default:{get:function(e){var n;return e.elem.nodeType!==1||e.elem[e.prop]!=null&&e.elem.style[e.prop]==null?e.elem[e.prop]:(n=s.css(e.elem,e.prop,""),!n||n==="auto"?0:n)},set:function(e){s.fx.step[e.prop]?s.fx.step[e.prop](e):e.elem.nodeType===1&&(s.cssHooks[e.prop]||e.elem.style[Ci(e.prop)]!=null)?s.style(e.elem,e.prop,e.now+e.unit):e.elem[e.prop]=e.now}}},kt.propHooks.scrollTop=kt.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},s.easing={linear:function(e){return e},swing:function(e){return .5-Math.cos(e*Math.PI)/2},_default:"swing"},s.fx=kt.prototype.init,s.fx.step={};var Cn,Xn,nr=/^(?:toggle|show|hide)$/,$r=/queueHooks$/;function qn(){Xn&&(S.hidden===!1&&R.requestAnimationFrame?R.requestAnimationFrame(qn):R.setTimeout(qn,s.fx.interval),s.fx.tick())}function bn(){return R.setTimeout(function(){Cn=void 0}),Cn=Date.now()}function On(e,n){var o,a=0,l={height:e};for(n=n?1:0;a<4;a+=2-n)o=zt[a],l["margin"+o]=l["padding"+o]=e;return n&&(l.opacity=l.width=e),l}function br(e,n,o){for(var a,l=(Rt.tweeners[n]||[]).concat(Rt.tweeners["*"]),c=0,g=l.length;c<g;c++)if(a=l[c].call(o,n,e))return a}function Wr(e,n,o){var a,l,c,g,E,T,q,X,Z="width"in n||"height"in n,U=this,re={},Ae=e.style,Se=e.nodeType&&Fn(e),Ie=ge.get(e,"fxshow");o.queue||(g=s._queueHooks(e,"fx"),g.unqueued==null&&(g.unqueued=0,E=g.empty.fire,g.empty.fire=function(){g.unqueued||E()}),g.unqueued++,U.always(function(){U.always(function(){g.unqueued--,s.queue(e,"fx").length||g.empty.fire()})}));for(a in n)if(l=n[a],nr.test(l)){if(delete n[a],c=c||l==="toggle",l===(Se?"hide":"show"))if(l==="show"&&Ie&&Ie[a]!==void 0)Se=!0;else continue;re[a]=Ie&&Ie[a]||s.style(e,a)}if(T=!s.isEmptyObject(n),!(!T&&s.isEmptyObject(re))){Z&&e.nodeType===1&&(o.overflow=[Ae.overflow,Ae.overflowX,Ae.overflowY],q=Ie&&Ie.display,q==null&&(q=ge.get(e,"display")),X=s.css(e,"display"),X==="none"&&(q?X=q:(Vt([e],!0),q=e.style.display||q,X=s.css(e,"display"),Vt([e]))),(X==="inline"||X==="inline-block"&&q!=null)&&s.css(e,"float")==="none"&&(T||(U.done(function(){Ae.display=q}),q==null&&(X=Ae.display,q=X==="none"?"":X)),Ae.display="inline-block")),o.overflow&&(Ae.overflow="hidden",U.always(function(){Ae.overflow=o.overflow[0],Ae.overflowX=o.overflow[1],Ae.overflowY=o.overflow[2]})),T=!1;for(a in re)T||(Ie?"hidden"in Ie&&(Se=Ie.hidden):Ie=ge.access(e,"fxshow",{display:q}),c&&(Ie.hidden=!Se),Se&&Vt([e],!0),U.done(function(){Se||Vt([e]),ge.remove(e,"fxshow");for(a in re)s.style(e,a,re[a])})),T=br(Se?Ie[a]:0,a,U),a in Ie||(Ie[a]=T.start,Se&&(T.end=T.start,T.start=0))}}function Ui(e,n){var o,a,l,c,g;for(o in e)if(a=ft(o),l=n[a],c=e[o],Array.isArray(c)&&(l=c[1],c=e[o]=c[0]),o!==a&&(e[a]=c,delete e[o]),g=s.cssHooks[a],g&&"expand"in g){c=g.expand(c),delete e[a];for(o in c)o in e||(e[o]=c[o],n[o]=l)}else n[a]=l}function Rt(e,n,o){var a,l,c=0,g=Rt.prefilters.length,E=s.Deferred().always(function(){delete T.elem}),T=function(){if(l)return!1;for(var Z=Cn||bn(),U=Math.max(0,q.startTime+q.duration-Z),re=U/q.duration||0,Ae=1-re,Se=0,Ie=q.tweens.length;Se<Ie;Se++)q.tweens[Se].run(Ae);return E.notifyWith(e,[q,Ae,U]),Ae<1&&Ie?U:(Ie||E.notifyWith(e,[q,1,0]),E.resolveWith(e,[q]),!1)},q=E.promise({elem:e,props:s.extend({},n),opts:s.extend(!0,{specialEasing:{},easing:s.easing._default},o),originalProperties:n,originalOptions:o,startTime:Cn||bn(),duration:o.duration,tweens:[],createTween:function(Z,U){var re=s.Tween(e,q.opts,Z,U,q.opts.specialEasing[Z]||q.opts.easing);return q.tweens.push(re),re},stop:function(Z){var U=0,re=Z?q.tweens.length:0;if(l)return this;for(l=!0;U<re;U++)q.tweens[U].run(1);return Z?(E.notifyWith(e,[q,1,0]),E.resolveWith(e,[q,Z])):E.rejectWith(e,[q,Z]),this}}),X=q.props;for(Ui(X,q.opts.specialEasing);c<g;c++)if(a=Rt.prefilters[c].call(q,e,X,q.opts),a)return k(a.stop)&&(s._queueHooks(q.elem,q.opts.queue).stop=a.stop.bind(a)),a;return s.map(X,br,q),k(q.opts.start)&&q.opts.start.call(e,q),q.progress(q.opts.progress).done(q.opts.done,q.opts.complete).fail(q.opts.fail).always(q.opts.always),s.fx.timer(s.extend(T,{elem:e,anim:q,queue:q.opts.queue})),q}s.Animation=s.extend(Rt,{tweeners:{"*":[function(e,n){var o=this.createTween(e,n);return Hi(o.elem,e,Dn.exec(n),o),o}]},tweener:function(e,n){k(e)?(n=e,e=["*"]):e=e.match(We);for(var o,a=0,l=e.length;a<l;a++)o=e[a],Rt.tweeners[o]=Rt.tweeners[o]||[],Rt.tweeners[o].unshift(n)},prefilters:[Wr],prefilter:function(e,n){n?Rt.prefilters.unshift(e):Rt.prefilters.push(e)}}),s.speed=function(e,n,o){var a=e&&typeof e=="object"?s.extend({},e):{complete:o||!o&&n||k(e)&&e,duration:e,easing:o&&n||n&&!k(n)&&n};return s.fx.off?a.duration=0:typeof a.duration!="number"&&(a.duration in s.fx.speeds?a.duration=s.fx.speeds[a.duration]:a.duration=s.fx.speeds._default),(a.queue==null||a.queue===!0)&&(a.queue="fx"),a.old=a.complete,a.complete=function(){k(a.old)&&a.old.call(this),a.queue&&s.dequeue(this,a.queue)},a},s.fn.extend({fadeTo:function(e,n,o,a){return this.filter(Fn).css("opacity",0).show().end().animate({opacity:n},e,o,a)},animate:function(e,n,o,a){var l=s.isEmptyObject(e),c=s.speed(n,o,a),g=function(){var E=Rt(this,s.extend({},e),c);(l||ge.get(this,"finish"))&&E.stop(!0)};return g.finish=g,l||c.queue===!1?this.each(g):this.queue(c.queue,g)},stop:function(e,n,o){var a=function(l){var c=l.stop;delete l.stop,c(o)};return typeof e!="string"&&(o=n,n=e,e=void 0),n&&this.queue(e||"fx",[]),this.each(function(){var l=!0,c=e!=null&&e+"queueHooks",g=s.timers,E=ge.get(this);if(c)E[c]&&E[c].stop&&a(E[c]);else for(c in E)E[c]&&E[c].stop&&$r.test(c)&&a(E[c]);for(c=g.length;c--;)g[c].elem===this&&(e==null||g[c].queue===e)&&(g[c].anim.stop(o),l=!1,g.splice(c,1));(l||!o)&&s.dequeue(this,e)})},finish:function(e){return e!==!1&&(e=e||"fx"),this.each(function(){var n,o=ge.get(this),a=o[e+"queue"],l=o[e+"queueHooks"],c=s.timers,g=a?a.length:0;for(o.finish=!0,s.queue(this,e,[]),l&&l.stop&&l.stop.call(this,!0),n=c.length;n--;)c[n].elem===this&&c[n].queue===e&&(c[n].anim.stop(!0),c.splice(n,1));for(n=0;n<g;n++)a[n]&&a[n].finish&&a[n].finish.call(this);delete o.finish})}}),s.each(["toggle","show","hide"],function(e,n){var o=s.fn[n];s.fn[n]=function(a,l,c){return a==null||typeof a=="boolean"?o.apply(this,arguments):this.animate(On(n,!0),a,l,c)}}),s.each({slideDown:On("show"),slideUp:On("hide"),slideToggle:On("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(e,n){s.fn[e]=function(o,a,l){return this.animate(n,o,a,l)}}),s.timers=[],s.fx.tick=function(){var e,n=0,o=s.timers;for(Cn=Date.now();n<o.length;n++)e=o[n],!e()&&o[n]===e&&o.splice(n--,1);o.length||s.fx.stop(),Cn=void 0},s.fx.timer=function(e){s.timers.push(e),s.fx.start()},s.fx.interval=13,s.fx.start=function(){Xn||(Xn=!0,qn())},s.fx.stop=function(){Xn=null},s.fx.speeds={slow:600,fast:200,_default:400},s.fn.delay=function(e,n){return e=s.fx&&s.fx.speeds[e]||e,n=n||"fx",this.queue(n,function(o,a){var l=R.setTimeout(o,e);a.stop=function(){R.clearTimeout(l)}})},(function(){var e=S.createElement("input"),n=S.createElement("select"),o=n.appendChild(S.createElement("option"));e.type="checkbox",H.checkOn=e.value!=="",H.optSelected=o.selected,e=S.createElement("input"),e.value="t",e.type="radio",H.radioValue=e.value==="t"})();var xr,Sn=s.expr.attrHandle;s.fn.extend({attr:function(e,n){return Ct(this,s.attr,e,n,arguments.length>1)},removeAttr:function(e){return this.each(function(){s.removeAttr(this,e)})}}),s.extend({attr:function(e,n,o){var a,l,c=e.nodeType;if(!(c===3||c===8||c===2)){if(typeof e.getAttribute>"u")return s.prop(e,n,o);if((c!==1||!s.isXMLDoc(e))&&(l=s.attrHooks[n.toLowerCase()]||(s.expr.match.bool.test(n)?xr:void 0)),o!==void 0){if(o===null){s.removeAttr(e,n);return}return l&&"set"in l&&(a=l.set(e,o,n))!==void 0?a:(e.setAttribute(n,o+""),o)}return l&&"get"in l&&(a=l.get(e,n))!==null?a:(a=s.find.attr(e,n),a??void 0)}},attrHooks:{type:{set:function(e,n){if(!H.radioValue&&n==="radio"&&ie(e,"input")){var o=e.value;return e.setAttribute("type",n),o&&(e.value=o),n}}}},removeAttr:function(e,n){var o,a=0,l=n&&n.match(We);if(l&&e.nodeType===1)for(;o=l[a++];)e.removeAttribute(o)}}),xr={set:function(e,n,o){return n===!1?s.removeAttr(e,o):e.setAttribute(o,o),o}},s.each(s.expr.match.bool.source.match(/\w+/g),function(e,n){var o=Sn[n]||s.find.attr;Sn[n]=function(a,l,c){var g,E,T=l.toLowerCase();return c||(E=Sn[T],Sn[T]=g,g=o(a,l,c)!=null?T:null,Sn[T]=E),g}});var ir=/^(?:input|select|textarea|button)$/i,wr=/^(?:a|area)$/i;s.fn.extend({prop:function(e,n){return Ct(this,s.prop,e,n,arguments.length>1)},removeProp:function(e){return this.each(function(){delete this[s.propFix[e]||e]})}}),s.extend({prop:function(e,n,o){var a,l,c=e.nodeType;if(!(c===3||c===8||c===2))return(c!==1||!s.isXMLDoc(e))&&(n=s.propFix[n]||n,l=s.propHooks[n]),o!==void 0?l&&"set"in l&&(a=l.set(e,o,n))!==void 0?a:e[n]=o:l&&"get"in l&&(a=l.get(e,n))!==null?a:e[n]},propHooks:{tabIndex:{get:function(e){var n=s.find.attr(e,"tabindex");return n?parseInt(n,10):ir.test(e.nodeName)||wr.test(e.nodeName)&&e.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),H.optSelected||(s.propHooks.selected={get:function(e){var n=e.parentNode;return n&&n.parentNode&&n.parentNode.selectedIndex,null},set:function(e){var n=e.parentNode;n&&(n.selectedIndex,n.parentNode&&n.parentNode.selectedIndex)}}),s.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){s.propFix[this.toLowerCase()]=this});function jt(e){var n=e.match(We)||[];return n.join(" ")}function Yt(e){return e.getAttribute&&e.getAttribute("class")||""}function Si(e){return Array.isArray(e)?e:typeof e=="string"?e.match(We)||[]:[]}s.fn.extend({addClass:function(e){var n,o,a,l,c,g;return k(e)?this.each(function(E){s(this).addClass(e.call(this,E,Yt(this)))}):(n=Si(e),n.length?this.each(function(){if(a=Yt(this),o=this.nodeType===1&&" "+jt(a)+" ",o){for(c=0;c<n.length;c++)l=n[c],o.indexOf(" "+l+" ")<0&&(o+=l+" ");g=jt(o),a!==g&&this.setAttribute("class",g)}}):this)},removeClass:function(e){var n,o,a,l,c,g;return k(e)?this.each(function(E){s(this).removeClass(e.call(this,E,Yt(this)))}):arguments.length?(n=Si(e),n.length?this.each(function(){if(a=Yt(this),o=this.nodeType===1&&" "+jt(a)+" ",o){for(c=0;c<n.length;c++)for(l=n[c];o.indexOf(" "+l+" ")>-1;)o=o.replace(" "+l+" "," ");g=jt(o),a!==g&&this.setAttribute("class",g)}}):this):this.attr("class","")},toggleClass:function(e,n){var o,a,l,c,g=typeof e,E=g==="string"||Array.isArray(e);return k(e)?this.each(function(T){s(this).toggleClass(e.call(this,T,Yt(this),n),n)}):typeof n=="boolean"&&E?n?this.addClass(e):this.removeClass(e):(o=Si(e),this.each(function(){if(E)for(c=s(this),l=0;l<o.length;l++)a=o[l],c.hasClass(a)?c.removeClass(a):c.addClass(a);else(e===void 0||g==="boolean")&&(a=Yt(this),a&&ge.set(this,"__className__",a),this.setAttribute&&this.setAttribute("class",a||e===!1?"":ge.get(this,"__className__")||""))}))},hasClass:function(e){var n,o,a=0;for(n=" "+e+" ";o=this[a++];)if(o.nodeType===1&&(" "+jt(Yt(o))+" ").indexOf(n)>-1)return!0;return!1}});var Ur=/\r/g;s.fn.extend({val:function(e){var n,o,a,l=this[0];return arguments.length?(a=k(e),this.each(function(c){var g;this.nodeType===1&&(a?g=e.call(this,c,s(this).val()):g=e,g==null?g="":typeof g=="number"?g+="":Array.isArray(g)&&(g=s.map(g,function(E){return E==null?"":E+""})),n=s.valHooks[this.type]||s.valHooks[this.nodeName.toLowerCase()],(!n||!("set"in n)||n.set(this,g,"value")===void 0)&&(this.value=g))})):l?(n=s.valHooks[l.type]||s.valHooks[l.nodeName.toLowerCase()],n&&"get"in n&&(o=n.get(l,"value"))!==void 0?o:(o=l.value,typeof o=="string"?o.replace(Ur,""):o??"")):void 0}}),s.extend({valHooks:{option:{get:function(e){var n=s.find.attr(e,"value");return n??jt(s.text(e))}},select:{get:function(e){var n,o,a,l=e.options,c=e.selectedIndex,g=e.type==="select-one",E=g?null:[],T=g?c+1:l.length;for(c<0?a=T:a=g?c:0;a<T;a++)if(o=l[a],(o.selected||a===c)&&!o.disabled&&(!o.parentNode.disabled||!ie(o.parentNode,"optgroup"))){if(n=s(o).val(),g)return n;E.push(n)}return E},set:function(e,n){for(var o,a,l=e.options,c=s.makeArray(n),g=l.length;g--;)a=l[g],(a.selected=s.inArray(s.valHooks.option.get(a),c)>-1)&&(o=!0);return o||(e.selectedIndex=-1),c}}}}),s.each(["radio","checkbox"],function(){s.valHooks[this]={set:function(e,n){if(Array.isArray(n))return e.checked=s.inArray(s(e).val(),n)>-1}},H.checkOn||(s.valHooks[this].get=function(e){return e.getAttribute("value")===null?"on":e.value})});var Jt=R.location,en={guid:Date.now()},hi=/\?/;s.parseXML=function(e){var n,o;if(!e||typeof e!="string")return null;try{n=new R.DOMParser().parseFromString(e,"text/xml")}catch{}return o=n&&n.getElementsByTagName("parsererror")[0],(!n||o)&&s.error("Invalid XML: "+(o?s.map(o.childNodes,function(a){return a.textContent}).join(`
|
|
25
|
+
`):e)),n};var Ei=/^(?:focusinfocus|focusoutblur)$/,Tr=function(e){e.stopPropagation()};s.extend(s.event,{trigger:function(e,n,o,a){var l,c,g,E,T,q,X,Z,U=[o||S],re=Ne.call(e,"type")?e.type:e,Ae=Ne.call(e,"namespace")?e.namespace.split("."):[];if(c=Z=g=o=o||S,!(o.nodeType===3||o.nodeType===8)&&!Ei.test(re+s.event.triggered)&&(re.indexOf(".")>-1&&(Ae=re.split("."),re=Ae.shift(),Ae.sort()),T=re.indexOf(":")<0&&"on"+re,e=e[s.expando]?e:new s.Event(re,typeof e=="object"&&e),e.isTrigger=a?2:3,e.namespace=Ae.join("."),e.rnamespace=e.namespace?new RegExp("(^|\\.)"+Ae.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,e.result=void 0,e.target||(e.target=o),n=n==null?[e]:s.makeArray(n,[e]),X=s.event.special[re]||{},!(!a&&X.trigger&&X.trigger.apply(o,n)===!1))){if(!a&&!X.noBubble&&!j(o)){for(E=X.delegateType||re,Ei.test(E+re)||(c=c.parentNode);c;c=c.parentNode)U.push(c),g=c;g===(o.ownerDocument||S)&&U.push(g.defaultView||g.parentWindow||R)}for(l=0;(c=U[l++])&&!e.isPropagationStopped();)Z=c,e.type=l>1?E:X.bindType||re,q=(ge.get(c,"events")||Object.create(null))[e.type]&&ge.get(c,"handle"),q&&q.apply(c,n),q=T&&c[T],q&&q.apply&&Kt(c)&&(e.result=q.apply(c,n),e.result===!1&&e.preventDefault());return e.type=re,!a&&!e.isDefaultPrevented()&&(!X._default||X._default.apply(U.pop(),n)===!1)&&Kt(o)&&T&&k(o[re])&&!j(o)&&(g=o[T],g&&(o[T]=null),s.event.triggered=re,e.isPropagationStopped()&&Z.addEventListener(re,Tr),o[re](),e.isPropagationStopped()&&Z.removeEventListener(re,Tr),s.event.triggered=void 0,g&&(o[T]=g)),e.result}},simulate:function(e,n,o){var a=s.extend(new s.Event,o,{type:e,isSimulated:!0});s.event.trigger(a,null,n)}}),s.fn.extend({trigger:function(e,n){return this.each(function(){s.event.trigger(e,n,this)})},triggerHandler:function(e,n){var o=this[0];if(o)return s.event.trigger(e,n,o,!0)}});var Kr=/\[\]$/,_r=/\r?\n/g,Vr=/^(?:submit|button|image|reset|file)$/i,Ai=/^(?:input|select|textarea|keygen)/i;function Yn(e,n,o,a){var l;if(Array.isArray(n))s.each(n,function(c,g){o||Kr.test(e)?a(e,g):Yn(e+"["+(typeof g=="object"&&g!=null?c:"")+"]",g,o,a)});else if(!o&&P(n)==="object")for(l in n)Yn(e+"["+l+"]",n[l],o,a);else a(e,n)}s.param=function(e,n){var o,a=[],l=function(c,g){var E=k(g)?g():g;a[a.length]=encodeURIComponent(c)+"="+encodeURIComponent(E??"")};if(e==null)return"";if(Array.isArray(e)||e.jquery&&!s.isPlainObject(e))s.each(e,function(){l(this.name,this.value)});else for(o in e)Yn(o,e[o],n,l);return a.join("&")},s.fn.extend({serialize:function(){return s.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var e=s.prop(this,"elements");return e?s.makeArray(e):this}).filter(function(){var e=this.type;return this.name&&!s(this).is(":disabled")&&Ai.test(this.nodeName)&&!Vr.test(e)&&(this.checked||!Rn.test(e))}).map(function(e,n){var o=s(this).val();return o==null?null:Array.isArray(o)?s.map(o,function(a){return{name:n.name,value:a.replace(_r,`\r
|
|
26
|
+
`)}}):{name:n.name,value:o.replace(_r,`\r
|
|
27
|
+
`)}}).get()}});var Gr=/%20/g,ki=/#.*$/,Jn=/([?&])_=[^&]*/,Cr=/^(.*?):[ \t]*([^\r\n]*)$/mg,rr=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,uo=/^(?:GET|HEAD)$/,zr=/^\/\//,or={},wt={},Dt="*/".concat("*"),pi=S.createElement("a");pi.href=Jt.href;function Di(e){return function(n,o){typeof n!="string"&&(o=n,n="*");var a,l=0,c=n.toLowerCase().match(We)||[];if(k(o))for(;a=c[l++];)a[0]==="+"?(a=a.slice(1)||"*",(e[a]=e[a]||[]).unshift(o)):(e[a]=e[a]||[]).push(o)}}function Sr(e,n,o,a){var l={},c=e===wt;function g(E){var T;return l[E]=!0,s.each(e[E]||[],function(q,X){var Z=X(n,o,a);if(typeof Z=="string"&&!c&&!l[Z])return n.dataTypes.unshift(Z),g(Z),!1;if(c)return!(T=Z)}),T}return g(n.dataTypes[0])||!l["*"]&&g("*")}function Li(e,n){var o,a,l=s.ajaxSettings.flatOptions||{};for(o in n)n[o]!==void 0&&((l[o]?e:a||(a={}))[o]=n[o]);return a&&s.extend(!0,e,a),e}function Qr(e,n,o){for(var a,l,c,g,E=e.contents,T=e.dataTypes;T[0]==="*";)T.shift(),a===void 0&&(a=e.mimeType||n.getResponseHeader("Content-Type"));if(a){for(l in E)if(E[l]&&E[l].test(a)){T.unshift(l);break}}if(T[0]in o)c=T[0];else{for(l in o){if(!T[0]||e.converters[l+" "+T[0]]){c=l;break}g||(g=l)}c=c||g}if(c)return c!==T[0]&&T.unshift(c),o[c]}function Xr(e,n,o,a){var l,c,g,E,T,q={},X=e.dataTypes.slice();if(X[1])for(g in e.converters)q[g.toLowerCase()]=e.converters[g];for(c=X.shift();c;)if(e.responseFields[c]&&(o[e.responseFields[c]]=n),!T&&a&&e.dataFilter&&(n=e.dataFilter(n,e.dataType)),T=c,c=X.shift(),c){if(c==="*")c=T;else if(T!=="*"&&T!==c){if(g=q[T+" "+c]||q["* "+c],!g){for(l in q)if(E=l.split(" "),E[1]===c&&(g=q[T+" "+E[0]]||q["* "+E[0]],g)){g===!0?g=q[l]:q[l]!==!0&&(c=E[0],X.unshift(E[1]));break}}if(g!==!0)if(g&&e.throws)n=g(n);else try{n=g(n)}catch(Z){return{state:"parsererror",error:g?Z:"No conversion from "+T+" to "+c}}}}return{state:"success",data:n}}s.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:Jt.href,type:"GET",isLocal:rr.test(Jt.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Dt,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":s.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,n){return n?Li(Li(e,s.ajaxSettings),n):Li(s.ajaxSettings,e)},ajaxPrefilter:Di(or),ajaxTransport:Di(wt),ajax:function(e,n){typeof e=="object"&&(n=e,e=void 0),n=n||{};var o,a,l,c,g,E,T,q,X,Z,U=s.ajaxSetup({},n),re=U.context||U,Ae=U.context&&(re.nodeType||re.jquery)?s(re):s.event,Se=s.Deferred(),Ie=s.Callbacks("once memory"),dt=U.statusCode||{},ot={},Ot={},Ft="canceled",Me={readyState:0,getResponseHeader:function(He){var Je;if(T){if(!c)for(c={};Je=Cr.exec(l);)c[Je[1].toLowerCase()+" "]=(c[Je[1].toLowerCase()+" "]||[]).concat(Je[2]);Je=c[He.toLowerCase()+" "]}return Je==null?null:Je.join(", ")},getAllResponseHeaders:function(){return T?l:null},setRequestHeader:function(He,Je){return T==null&&(He=Ot[He.toLowerCase()]=Ot[He.toLowerCase()]||He,ot[He]=Je),this},overrideMimeType:function(He){return T==null&&(U.mimeType=He),this},statusCode:function(He){var Je;if(He)if(T)Me.always(He[Me.status]);else for(Je in He)dt[Je]=[dt[Je],He[Je]];return this},abort:function(He){var Je=He||Ft;return o&&o.abort(Je),vn(0,Je),this}};if(Se.promise(Me),U.url=((e||U.url||Jt.href)+"").replace(zr,Jt.protocol+"//"),U.type=n.method||n.type||U.method||U.type,U.dataTypes=(U.dataType||"*").toLowerCase().match(We)||[""],U.crossDomain==null){E=S.createElement("a");try{E.href=U.url,E.href=E.href,U.crossDomain=pi.protocol+"//"+pi.host!=E.protocol+"//"+E.host}catch{U.crossDomain=!0}}if(U.data&&U.processData&&typeof U.data!="string"&&(U.data=s.param(U.data,U.traditional)),Sr(or,U,n,Me),T)return Me;q=s.event&&U.global,q&&s.active++===0&&s.event.trigger("ajaxStart"),U.type=U.type.toUpperCase(),U.hasContent=!uo.test(U.type),a=U.url.replace(ki,""),U.hasContent?U.data&&U.processData&&(U.contentType||"").indexOf("application/x-www-form-urlencoded")===0&&(U.data=U.data.replace(Gr,"+")):(Z=U.url.slice(a.length),U.data&&(U.processData||typeof U.data=="string")&&(a+=(hi.test(a)?"&":"?")+U.data,delete U.data),U.cache===!1&&(a=a.replace(Jn,"$1"),Z=(hi.test(a)?"&":"?")+"_="+en.guid+++Z),U.url=a+Z),U.ifModified&&(s.lastModified[a]&&Me.setRequestHeader("If-Modified-Since",s.lastModified[a]),s.etag[a]&&Me.setRequestHeader("If-None-Match",s.etag[a])),(U.data&&U.hasContent&&U.contentType!==!1||n.contentType)&&Me.setRequestHeader("Content-Type",U.contentType),Me.setRequestHeader("Accept",U.dataTypes[0]&&U.accepts[U.dataTypes[0]]?U.accepts[U.dataTypes[0]]+(U.dataTypes[0]!=="*"?", "+Dt+"; q=0.01":""):U.accepts["*"]);for(X in U.headers)Me.setRequestHeader(X,U.headers[X]);if(U.beforeSend&&(U.beforeSend.call(re,Me,U)===!1||T))return Me.abort();if(Ft="abort",Ie.add(U.complete),Me.done(U.success),Me.fail(U.error),o=Sr(wt,U,n,Me),!o)vn(-1,"No Transport");else{if(Me.readyState=1,q&&Ae.trigger("ajaxSend",[Me,U]),T)return Me;U.async&&U.timeout>0&&(g=R.setTimeout(function(){Me.abort("timeout")},U.timeout));try{T=!1,o.send(ot,vn)}catch(He){if(T)throw He;vn(-1,He)}}function vn(He,Je,sn,Ki){var $t,Pn,Wt,Qt,an,Bt=Je;T||(T=!0,g&&R.clearTimeout(g),o=void 0,l=Ki||"",Me.readyState=He>0?4:0,$t=He>=200&&He<300||He===304,sn&&(Qt=Qr(U,Me,sn)),!$t&&s.inArray("script",U.dataTypes)>-1&&s.inArray("json",U.dataTypes)<0&&(U.converters["text script"]=function(){}),Qt=Xr(U,Qt,Me,$t),$t?(U.ifModified&&(an=Me.getResponseHeader("Last-Modified"),an&&(s.lastModified[a]=an),an=Me.getResponseHeader("etag"),an&&(s.etag[a]=an)),He===204||U.type==="HEAD"?Bt="nocontent":He===304?Bt="notmodified":(Bt=Qt.state,Pn=Qt.data,Wt=Qt.error,$t=!Wt)):(Wt=Bt,(He||!Bt)&&(Bt="error",He<0&&(He=0))),Me.status=He,Me.statusText=(Je||Bt)+"",$t?Se.resolveWith(re,[Pn,Bt,Me]):Se.rejectWith(re,[Me,Bt,Wt]),Me.statusCode(dt),dt=void 0,q&&Ae.trigger($t?"ajaxSuccess":"ajaxError",[Me,U,$t?Pn:Wt]),Ie.fireWith(re,[Me,Bt]),q&&(Ae.trigger("ajaxComplete",[Me,U]),--s.active||s.event.trigger("ajaxStop")))}return Me},getJSON:function(e,n,o){return s.get(e,n,o,"json")},getScript:function(e,n){return s.get(e,void 0,n,"script")}}),s.each(["get","post"],function(e,n){s[n]=function(o,a,l,c){return k(a)&&(c=c||l,l=a,a=void 0),s.ajax(s.extend({url:o,type:n,dataType:c,data:a,success:l},s.isPlainObject(o)&&o))}}),s.ajaxPrefilter(function(e){var n;for(n in e.headers)n.toLowerCase()==="content-type"&&(e.contentType=e.headers[n]||"")}),s._evalUrl=function(e,n,o){return s.ajax({url:e,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(a){s.globalEval(a,n,o)}})},s.fn.extend({wrapAll:function(e){var n;return this[0]&&(k(e)&&(e=e.call(this[0])),n=s(e,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&n.insertBefore(this[0]),n.map(function(){for(var o=this;o.firstElementChild;)o=o.firstElementChild;return o}).append(this)),this},wrapInner:function(e){return k(e)?this.each(function(n){s(this).wrapInner(e.call(this,n))}):this.each(function(){var n=s(this),o=n.contents();o.length?o.wrapAll(e):n.append(e)})},wrap:function(e){var n=k(e);return this.each(function(o){s(this).wrapAll(n?e.call(this,o):e)})},unwrap:function(e){return this.parent(e).not("body").each(function(){s(this).replaceWith(this.childNodes)}),this}}),s.expr.pseudos.hidden=function(e){return!s.expr.pseudos.visible(e)},s.expr.pseudos.visible=function(e){return!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)},s.ajaxSettings.xhr=function(){try{return new R.XMLHttpRequest}catch{}};var Yr={0:200,1223:204},In=s.ajaxSettings.xhr();H.cors=!!In&&"withCredentials"in In,H.ajax=In=!!In,s.ajaxTransport(function(e){var n,o;if(H.cors||In&&!e.crossDomain)return{send:function(a,l){var c,g=e.xhr();if(g.open(e.type,e.url,e.async,e.username,e.password),e.xhrFields)for(c in e.xhrFields)g[c]=e.xhrFields[c];e.mimeType&&g.overrideMimeType&&g.overrideMimeType(e.mimeType),!e.crossDomain&&!a["X-Requested-With"]&&(a["X-Requested-With"]="XMLHttpRequest");for(c in a)g.setRequestHeader(c,a[c]);n=function(E){return function(){n&&(n=o=g.onload=g.onerror=g.onabort=g.ontimeout=g.onreadystatechange=null,E==="abort"?g.abort():E==="error"?typeof g.status!="number"?l(0,"error"):l(g.status,g.statusText):l(Yr[g.status]||g.status,g.statusText,(g.responseType||"text")!=="text"||typeof g.responseText!="string"?{binary:g.response}:{text:g.responseText},g.getAllResponseHeaders()))}},g.onload=n(),o=g.onerror=g.ontimeout=n("error"),g.onabort!==void 0?g.onabort=o:g.onreadystatechange=function(){g.readyState===4&&R.setTimeout(function(){n&&o()})},n=n("abort");try{g.send(e.hasContent&&e.data||null)}catch(E){if(n)throw E}},abort:function(){n&&n()}}}),s.ajaxPrefilter(function(e){e.crossDomain&&(e.contents.script=!1)}),s.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(e){return s.globalEval(e),e}}}),s.ajaxPrefilter("script",function(e){e.cache===void 0&&(e.cache=!1),e.crossDomain&&(e.type="GET")}),s.ajaxTransport("script",function(e){if(e.crossDomain||e.scriptAttrs){var n,o;return{send:function(a,l){n=s("<script>").attr(e.scriptAttrs||{}).prop({charset:e.scriptCharset,src:e.url}).on("load error",o=function(c){n.remove(),o=null,c&&l(c.type==="error"?404:200,c.type)}),S.head.appendChild(n[0])},abort:function(){o&&o()}}}});var Gt=[],Zn=/(=)\?(?=&|$)|\?\?/;s.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=Gt.pop()||s.expando+"_"+en.guid++;return this[e]=!0,e}}),s.ajaxPrefilter("json jsonp",function(e,n,o){var a,l,c,g=e.jsonp!==!1&&(Zn.test(e.url)?"url":typeof e.data=="string"&&(e.contentType||"").indexOf("application/x-www-form-urlencoded")===0&&Zn.test(e.data)&&"data");if(g||e.dataTypes[0]==="jsonp")return a=e.jsonpCallback=k(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,g?e[g]=e[g].replace(Zn,"$1"+a):e.jsonp!==!1&&(e.url+=(hi.test(e.url)?"&":"?")+e.jsonp+"="+a),e.converters["script json"]=function(){return c||s.error(a+" was not called"),c[0]},e.dataTypes[0]="json",l=R[a],R[a]=function(){c=arguments},o.always(function(){l===void 0?s(R).removeProp(a):R[a]=l,e[a]&&(e.jsonpCallback=n.jsonpCallback,Gt.push(a)),c&&k(l)&&l(c[0]),c=l=void 0}),"script"}),H.createHTMLDocument=(function(){var e=S.implementation.createHTMLDocument("").body;return e.innerHTML="<form></form><form></form>",e.childNodes.length===2})(),s.parseHTML=function(e,n,o){if(typeof e!="string")return[];typeof n=="boolean"&&(o=n,n=!1);var a,l,c;return n||(H.createHTMLDocument?(n=S.implementation.createHTMLDocument(""),a=n.createElement("base"),a.href=S.location.href,n.head.appendChild(a)):n=S),l=_e.exec(e),c=!o&&[],l?[n.createElement(l[1])]:(l=Bi([e],n,c),c&&c.length&&s(c).remove(),s.merge([],l.childNodes))},s.fn.load=function(e,n,o){var a,l,c,g=this,E=e.indexOf(" ");return E>-1&&(a=jt(e.slice(E)),e=e.slice(0,E)),k(n)?(o=n,n=void 0):n&&typeof n=="object"&&(l="POST"),g.length>0&&s.ajax({url:e,type:l||"GET",dataType:"html",data:n}).done(function(T){c=arguments,g.html(a?s("<div>").append(s.parseHTML(T)).find(a):T)}).always(o&&function(T,q){g.each(function(){o.apply(this,c||[T.responseText,q,T])})}),this},s.expr.pseudos.animated=function(e){return s.grep(s.timers,function(n){return e===n.elem}).length},s.offset={setOffset:function(e,n,o){var a,l,c,g,E,T,q,X=s.css(e,"position"),Z=s(e),U={};X==="static"&&(e.style.position="relative"),E=Z.offset(),c=s.css(e,"top"),T=s.css(e,"left"),q=(X==="absolute"||X==="fixed")&&(c+T).indexOf("auto")>-1,q?(a=Z.position(),g=a.top,l=a.left):(g=parseFloat(c)||0,l=parseFloat(T)||0),k(n)&&(n=n.call(e,o,s.extend({},E))),n.top!=null&&(U.top=n.top-E.top+g),n.left!=null&&(U.left=n.left-E.left+l),"using"in n?n.using.call(e,U):Z.css(U)}},s.fn.extend({offset:function(e){if(arguments.length)return e===void 0?this:this.each(function(l){s.offset.setOffset(this,e,l)});var n,o,a=this[0];if(a)return a.getClientRects().length?(n=a.getBoundingClientRect(),o=a.ownerDocument.defaultView,{top:n.top+o.pageYOffset,left:n.left+o.pageXOffset}):{top:0,left:0}},position:function(){if(this[0]){var e,n,o,a=this[0],l={top:0,left:0};if(s.css(a,"position")==="fixed")n=a.getBoundingClientRect();else{for(n=this.offset(),o=a.ownerDocument,e=a.offsetParent||o.documentElement;e&&(e===o.body||e===o.documentElement)&&s.css(e,"position")==="static";)e=e.parentNode;e&&e!==a&&e.nodeType===1&&(l=s(e).offset(),l.top+=s.css(e,"borderTopWidth",!0),l.left+=s.css(e,"borderLeftWidth",!0))}return{top:n.top-l.top-s.css(a,"marginTop",!0),left:n.left-l.left-s.css(a,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var e=this.offsetParent;e&&s.css(e,"position")==="static";)e=e.offsetParent;return e||rn})}}),s.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(e,n){var o=n==="pageYOffset";s.fn[e]=function(a){return Ct(this,function(l,c,g){var E;if(j(l)?E=l:l.nodeType===9&&(E=l.defaultView),g===void 0)return E?E[n]:l[c];E?E.scrollTo(o?E.pageXOffset:g,o?g:E.pageYOffset):l[c]=g},e,a,arguments.length)}}),s.each(["top","left"],function(e,n){s.cssHooks[n]=_i(H.pixelPosition,function(o,a){if(a)return a=Zt(o,n),Fi.test(a)?s(o).position()[n]+"px":a})}),s.each({Height:"height",Width:"width"},function(e,n){s.each({padding:"inner"+e,content:n,"":"outer"+e},function(o,a){s.fn[a]=function(l,c){var g=arguments.length&&(o||typeof l!="boolean"),E=o||(l===!0||c===!0?"margin":"border");return Ct(this,function(T,q,X){var Z;return j(T)?a.indexOf("outer")===0?T["inner"+e]:T.document.documentElement["client"+e]:T.nodeType===9?(Z=T.documentElement,Math.max(T.body["scroll"+e],Z["scroll"+e],T.body["offset"+e],Z["offset"+e],Z["client"+e])):X===void 0?s.css(T,q,E):s.style(T,q,X,E)},n,g?l:void 0,g)}})}),s.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,n){s.fn[n]=function(o){return this.on(n,o)}}),s.fn.extend({bind:function(e,n,o){return this.on(e,null,n,o)},unbind:function(e,n){return this.off(e,null,n)},delegate:function(e,n,o,a){return this.on(n,e,o,a)},undelegate:function(e,n,o){return arguments.length===1?this.off(e,"**"):this.off(n,e||"**",o)},hover:function(e,n){return this.on("mouseenter",e).on("mouseleave",n||e)}}),s.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(e,n){s.fn[n]=function(o,a){return arguments.length>0?this.on(n,null,o,a):this.trigger(n)}});var gn=/^[\s\uFEFF\xA0]+|([^\s\uFEFF\xA0])[\s\uFEFF\xA0]+$/g;s.proxy=function(e,n){var o,a,l;if(typeof n=="string"&&(o=e[n],n=e,e=o),!!k(e))return a=le.call(arguments,2),l=function(){return e.apply(n||this,a.concat(le.call(arguments)))},l.guid=e.guid=e.guid||s.guid++,l},s.holdReady=function(e){e?s.readyWait++:s.ready(!0)},s.isArray=Array.isArray,s.parseJSON=JSON.parse,s.nodeName=ie,s.isFunction=k,s.isWindow=j,s.camelCase=ft,s.type=P,s.now=Date.now,s.isNumeric=function(e){var n=s.type(e);return(n==="number"||n==="string")&&!isNaN(e-parseFloat(e))},s.trim=function(e){return e==null?"":(e+"").replace(gn,"$1")};var Er=R.jQuery,Ar=R.$;return s.noConflict=function(e){return R.$===s&&(R.$=Ar),e&&R.jQuery===s&&(R.jQuery=Er),s},typeof y>"u"&&(R.jQuery=R.$=s),s})})(Qo)),Qo.exports}var Xo={exports:{}};function Nl(V,R){if(typeof V>"u"||!V.document)throw new Error("jQuery requires a window with a document");var y=[],te=Object.getPrototypeOf,oe=y.slice,le=y.flat?function(r){return y.flat.call(r)}:function(r){return y.concat.apply([],r)},be=y.push,Pe=y.indexOf,ke={},Le=ke.toString,Ke=ke.hasOwnProperty,Ne=Ke.toString,De=Ne.call(Object),$={};function H(r){return r==null?r+"":typeof r=="object"?ke[Le.call(r)]||"object":typeof r}function k(r){return r!=null&&r===r.window}function j(r){var u=!!r&&r.length,d=H(r);return typeof r=="function"||k(r)?!1:d==="array"||u===0||typeof u=="number"&&u>0&&u-1 in r}var S=V.document,N={type:!0,src:!0,nonce:!0,noModule:!0};function A(r,u,d){d=d||S;var v,x=d.createElement("script");x.text=r;for(v in N)u&&u[v]&&(x[v]=u[v]);d.head.appendChild(x).parentNode&&x.parentNode.removeChild(x)}var P="4.0.0",z=/HTML$/i,p=function(r,u){return new p.fn.init(r,u)};p.fn=p.prototype={jquery:P,constructor:p,length:0,toArray:function(){return oe.call(this)},get:function(r){return r==null?oe.call(this):r<0?this[r+this.length]:this[r]},pushStack:function(r){var u=p.merge(this.constructor(),r);return u.prevObject=this,u},each:function(r){return p.each(this,r)},map:function(r){return this.pushStack(p.map(this,function(u,d){return r.call(u,d,u)}))},slice:function(){return this.pushStack(oe.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(p.grep(this,function(r,u){return(u+1)%2}))},odd:function(){return this.pushStack(p.grep(this,function(r,u){return u%2}))},eq:function(r){var u=this.length,d=+r+(r<0?u:0);return this.pushStack(d>=0&&d<u?[this[d]]:[])},end:function(){return this.prevObject||this.constructor()}},p.extend=p.fn.extend=function(){var r,u,d,v,x,w,M=arguments[0]||{},J=1,h=arguments.length,b=!1;for(typeof M=="boolean"&&(b=M,M=arguments[J]||{},J++),typeof M!="object"&&typeof M!="function"&&(M={}),J===h&&(M=this,J--);J<h;J++)if((r=arguments[J])!=null)for(u in r)v=r[u],!(u==="__proto__"||M===v)&&(b&&v&&(p.isPlainObject(v)||(x=Array.isArray(v)))?(d=M[u],x&&!Array.isArray(d)?w=[]:!x&&!p.isPlainObject(d)?w={}:w=d,x=!1,M[u]=p.extend(b,w,v)):v!==void 0&&(M[u]=v));return M},p.extend({expando:"jQuery"+(P+Math.random()).replace(/\D/g,""),isReady:!0,error:function(r){throw new Error(r)},noop:function(){},isPlainObject:function(r){var u,d;return!r||Le.call(r)!=="[object Object]"?!1:(u=te(r),u?(d=Ke.call(u,"constructor")&&u.constructor,typeof d=="function"&&Ne.call(d)===De):!0)},isEmptyObject:function(r){var u;for(u in r)return!1;return!0},globalEval:function(r,u,d){A(r,{nonce:u&&u.nonce},d)},each:function(r,u){var d,v=0;if(j(r))for(d=r.length;v<d&&u.call(r[v],v,r[v])!==!1;v++);else for(v in r)if(u.call(r[v],v,r[v])===!1)break;return r},text:function(r){var u,d="",v=0,x=r.nodeType;if(!x)for(;u=r[v++];)d+=p.text(u);return x===1||x===11?r.textContent:x===9?r.documentElement.textContent:x===3||x===4?r.nodeValue:d},makeArray:function(r,u){var d=u||[];return r!=null&&(j(Object(r))?p.merge(d,typeof r=="string"?[r]:r):be.call(d,r)),d},inArray:function(r,u,d){return u==null?-1:Pe.call(u,r,d)},isXMLDoc:function(r){var u=r&&r.namespaceURI,d=r&&(r.ownerDocument||r).documentElement;return!z.test(u||d&&d.nodeName||"HTML")},contains:function(r,u){var d=u&&u.parentNode;return r===d||!!(d&&d.nodeType===1&&(r.contains?r.contains(d):r.compareDocumentPosition&&r.compareDocumentPosition(d)&16))},merge:function(r,u){for(var d=+u.length,v=0,x=r.length;v<d;v++)r[x++]=u[v];return r.length=x,r},grep:function(r,u,d){for(var v,x=[],w=0,M=r.length,J=!d;w<M;w++)v=!u(r[w],w),v!==J&&x.push(r[w]);return x},map:function(r,u,d){var v,x,w=0,M=[];if(j(r))for(v=r.length;w<v;w++)x=u(r[w],w,d),x!=null&&M.push(x);else for(w in r)x=u(r[w],w,d),x!=null&&M.push(x);return le(M)},guid:1,support:$}),typeof Symbol=="function"&&(p.fn[Symbol.iterator]=y[Symbol.iterator]),p.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(r,u){ke["[object "+u+"]"]=u.toLowerCase()});function s(r,u){return r.nodeName&&r.nodeName.toLowerCase()===u.toLowerCase()}var se=y.pop,ie="[\\x20\\t\\r\\n\\f]",he=S.documentMode,je=he&&new RegExp(":enabled|:disabled|\\["+ie+"*name"+ie+"*="+ie+`*(?:''|"")`),ut=new RegExp("^"+ie+"+|((?:^|[^\\\\])(?:\\\\.)*)"+ie+"+$","g"),Oe="(?:\\\\[\\da-fA-F]{1,6}"+ie+"?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+",Nt=new RegExp("^"+ie+"*([>+~]|"+ie+")"+ie+"*"),pt=new RegExp(ie+"|>"),kn=/[+~]/,D=S.documentElement,G=D.matches||D.msMatchesSelector;function Q(){var r=[];function u(d,v){return r.push(d+" ")>p.expr.cacheLength&&delete u[r.shift()],u[d+" "]=v}return u}function pe(r){return r&&typeof r.getElementsByTagName<"u"&&r}var ye="\\["+ie+"*("+Oe+")(?:"+ie+"*([*^$|!~]?=)"+ie+`*(?:'((?:\\\\.|[^\\\\'])*)'|"((?:\\\\.|[^\\\\"])*)"|(`+Oe+"))|)"+ie+"*\\]",_e=":("+Oe+`)(?:\\((('((?:\\\\.|[^\\\\'])*)'|"((?:\\\\.|[^\\\\"])*)")|((?:\\\\.|[^\\\\()[\\]]|`+ye+")*)|.*)\\)|)",xe={ID:new RegExp("^#("+Oe+")"),CLASS:new RegExp("^\\.("+Oe+")"),TAG:new RegExp("^("+Oe+"|[*])"),ATTR:new RegExp("^"+ye),PSEUDO:new RegExp("^"+_e),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+ie+"*(even|odd|(([+-]|)(\\d*)n|)"+ie+"*(?:([+-]|)"+ie+"*(\\d+)|))"+ie+"*\\)|)","i")},de=new RegExp(_e),Re=new RegExp("\\\\[\\da-fA-F]{1,6}"+ie+"?|\\\\([^\\r\\n\\f])","g"),Ce=function(r,u){var d="0x"+r.slice(1)-65536;return u||(d<0?String.fromCharCode(d+65536):String.fromCharCode(d>>10|55296,d&1023|56320))};function qe(r){return r.replace(Re,Ce)}function et(r){p.error("Syntax error, unrecognized expression: "+r)}var tt=new RegExp("^"+ie+"*,"+ie+"*"),We=Q();function Ue(r,u){var d,v,x,w,M,J,h,b=We[r+" "];if(b)return u?0:b.slice(0);for(M=r,J=[],h=p.expr.preFilter;M;){(!d||(v=tt.exec(M)))&&(v&&(M=M.slice(v[0].length)||M),J.push(x=[])),d=!1,(v=Nt.exec(M))&&(d=v.shift(),x.push({value:d,type:v[0].replace(ut," ")}),M=M.slice(d.length));for(w in xe)(v=p.expr.match[w].exec(M))&&(!h[w]||(v=h[w](v)))&&(d=v.shift(),x.push({value:d,type:w,matches:v}),M=M.slice(d.length));if(!d)break}return u?M.length:M?et(r):We(r,J).slice(0)}var ct={ATTR:function(r){return r[1]=qe(r[1]),r[3]=qe(r[3]||r[4]||r[5]||""),r[2]==="~="&&(r[3]=" "+r[3]+" "),r.slice(0,4)},CHILD:function(r){return r[1]=r[1].toLowerCase(),r[1].slice(0,3)==="nth"?(r[3]||et(r[0]),r[4]=+(r[4]?r[5]+(r[6]||1):2*(r[3]==="even"||r[3]==="odd")),r[5]=+(r[7]+r[8]||r[3]==="odd")):r[3]&&et(r[0]),r},PSEUDO:function(r){var u,d=!r[6]&&r[2];return xe.CHILD.test(r[0])?null:(r[3]?r[2]=r[4]||r[5]||"":d&&de.test(d)&&(u=Ue(d,!0))&&(u=d.indexOf(")",d.length-u)-d.length)&&(r[0]=r[0].slice(0,u),r[2]=d.slice(0,u)),r.slice(0,3))}};function st(r){for(var u=0,d=r.length,v="";u<d;u++)v+=r[u].value;return v}function Qe(r,u,d,v,x,w,M){var J=0,h=r.length,b=d==null;if(H(d)==="object"){x=!0;for(J in d)Qe(r,u,J,d[J],!0,w,M)}else if(v!==void 0&&(x=!0,typeof v!="function"&&(M=!0),b&&(M?(u.call(r,v),u=null):(b=u,u=function(C,O,L){return b.call(p(C),L)})),u))for(;J<h;J++)u(r[J],d,M?v:v.call(r[J],J,u(r[J],d)));return x?r:b?u.call(r):h?u(r[0],d):w}var Xe=/[^\x20\t\r\n\f]+/g;p.fn.extend({attr:function(r,u){return Qe(this,p.attr,r,u,arguments.length>1)},removeAttr:function(r){return this.each(function(){p.removeAttr(this,r)})}}),p.extend({attr:function(r,u,d){var v,x,w=r.nodeType;if(!(w===3||w===8||w===2)){if(typeof r.getAttribute>"u")return p.prop(r,u,d);if((w!==1||!p.isXMLDoc(r))&&(x=p.attrHooks[u.toLowerCase()]),d!==void 0){if(d===null||d===!1&&u.toLowerCase().indexOf("aria-")!==0){p.removeAttr(r,u);return}return x&&"set"in x&&(v=x.set(r,d,u))!==void 0?v:(r.setAttribute(u,d),d)}return x&&"get"in x&&(v=x.get(r,u))!==null?v:(v=r.getAttribute(u),v??void 0)}},attrHooks:{},removeAttr:function(r,u){var d,v=0,x=u&&u.match(Xe);if(x&&r.nodeType===1)for(;d=x[v++];)r.removeAttribute(d)}}),he&&(p.attrHooks.type={set:function(r,u){if(u==="radio"&&s(r,"input")){var d=r.value;return r.setAttribute("type",u),d&&(r.value=d),u}}});var at=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\x80-\uFFFF\w-]/g;function It(r,u){return u?r==="\0"?"�":r.slice(0,-1)+"\\"+r.charCodeAt(r.length-1).toString(16)+" ":"\\"+r}p.escapeSelector=function(r){return(r+"").replace(at,It)};var Ct=y.sort,oi=y.splice,Pi;function si(r,u){if(r===u)return Pi=!0,0;var d=!r.compareDocumentPosition-!u.compareDocumentPosition;return d||(d=(r.ownerDocument||r)==(u.ownerDocument||u)?r.compareDocumentPosition(u):1,d&1?r==S||r.ownerDocument==S&&p.contains(S,r)?-1:u==S||u.ownerDocument==S&&p.contains(S,u)?1:0:d&4?-1:1)}p.uniqueSort=function(r){var u,d=[],v=0,x=0;if(Pi=!1,Ct.call(r,si),Pi){for(;u=r[x++];)u===r[x]&&(v=d.push(x));for(;v--;)oi.call(r,d[v],1)}return r},p.fn.uniqueSort=function(){return this.pushStack(p.uniqueSort(oe.apply(this)))};var ft,Kt,bt,ge,rt,Bn=0,Mi=0,ai=Q(),xi=Q(),zn=Q(),Dn=new RegExp(ie+"+","g"),zt=new RegExp("^"+Oe+"$"),rn=p.extend({needsContext:new RegExp("^"+ie+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+ie+"*((?:-\\d)?\\d*)"+ie+"*\\)|)(?=[^-]|$)","i")},xe),mn=/^(?:input|select|textarea|button)$/i,cr=/^h\d$/i,Fn=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,Hi=function(){mt()},dr=ji(function(r){return r.disabled===!0&&s(r,"fieldset")},{dir:"parentNode",next:"legend"});function Ln(r,u,d,v){var x,w,M,J,h,b,C,O=u&&u.ownerDocument,L=u?u.nodeType:9;if(d=d||[],typeof r!="string"||!r||L!==1&&L!==9&&L!==11)return d;if(!v&&(mt(u),u=u||bt,rt)){if(L!==11&&(h=Fn.exec(r)))if(x=h[1]){if(L===9)return(M=u.getElementById(x))&&be.call(d,M),d;if(O&&(M=O.getElementById(x))&&p.contains(u,M))return be.call(d,M),d}else{if(h[2])return be.apply(d,u.getElementsByTagName(r)),d;if((x=h[3])&&u.getElementsByClassName)return be.apply(d,u.getElementsByClassName(x)),d}if(!zn[r+" "]&&(!je||!je.test(r))){if(C=r,O=u,L===1&&(pt.test(r)||Nt.test(r))){for(O=kn.test(r)&&pe(u.parentNode)||u,(O!=u||he)&&((J=u.getAttribute("id"))?J=p.escapeSelector(J):u.setAttribute("id",J=p.expando)),b=Ue(r),w=b.length;w--;)b[w]=(J?"#"+J:":scope")+" "+st(b[w]);C=b.join(",")}try{return be.apply(d,O.querySelectorAll(C)),d}catch{zn(r,!0)}finally{J===p.expando&&u.removeAttribute("id")}}}return jr(r.replace(ut,"$1"),u,d,v)}function Vt(r){return r[p.expando]=!0,r}function Rn(r){return function(u){return s(u,"input")&&u.type===r}}function Xi(r){return function(u){return(s(u,"input")||s(u,"button"))&&u.type===r}}function Yi(r){return function(u){return"form"in u?u.parentNode&&u.disabled===!1?"label"in u?"label"in u.parentNode?u.parentNode.disabled===r:u.disabled===r:u.isDisabled===r||u.isDisabled!==!r&&dr(u)===r:u.disabled===r:"label"in u?u.disabled===r:!1}}function St(r){return Vt(function(u){return u=+u,Vt(function(d,v){for(var x,w=r([],d.length,u),M=w.length;M--;)d[x=w[M]]&&(d[x]=!(v[x]=d[x]))})})}function mt(r){var u,d=r?r.ownerDocument||r:S;d==bt||d.nodeType!==9||(bt=d,ge=bt.documentElement,rt=!p.isXMLDoc(bt),he&&S!=bt&&(u=bt.defaultView)&&u.top!==u&&u.addEventListener("unload",Hi))}Ln.matches=function(r,u){return Ln(r,null,null,u)},Ln.matchesSelector=function(r,u){if(mt(r),rt&&!zn[u+" "]&&(!je||!je.test(u)))try{return G.call(r,u)}catch{zn(u,!0)}return Ln(u,bt,null,[r]).length>0},p.expr={cacheLength:50,createPseudo:Vt,match:rn,find:{ID:function(r,u){if(typeof u.getElementById<"u"&&rt){var d=u.getElementById(r);return d?[d]:[]}},TAG:function(r,u){return typeof u.getElementsByTagName<"u"?u.getElementsByTagName(r):u.querySelectorAll(r)},CLASS:function(r,u){if(typeof u.getElementsByClassName<"u"&&rt)return u.getElementsByClassName(r)}},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:ct,filter:{ID:function(r){var u=qe(r);return function(d){return d.getAttribute("id")===u}},TAG:function(r){var u=qe(r).toLowerCase();return r==="*"?function(){return!0}:function(d){return s(d,u)}},CLASS:function(r){var u=ai[r+" "];return u||(u=new RegExp("(^|"+ie+")"+r+"("+ie+"|$)"))&&ai(r,function(d){return u.test(typeof d.className=="string"&&d.className||typeof d.getAttribute<"u"&&d.getAttribute("class")||"")})},ATTR:function(r,u,d){return function(v){var x=p.attr(v,r);return x==null?u==="!=":u?(x+="",u==="="?x===d:u==="!="?x!==d:u==="^="?d&&x.indexOf(d)===0:u==="*="?d&&x.indexOf(d)>-1:u==="$="?d&&x.slice(-d.length)===d:u==="~="?(" "+x.replace(Dn," ")+" ").indexOf(d)>-1:u==="|="?x===d||x.slice(0,d.length+1)===d+"-":!1):!0}},CHILD:function(r,u,d,v,x){var w=r.slice(0,3)!=="nth",M=r.slice(-4)!=="last",J=u==="of-type";return v===1&&x===0?function(h){return!!h.parentNode}:function(h,b,C){var O,L,_,F,K,Y=w!==M?"nextSibling":"previousSibling",fe=h.parentNode,ue=J&&h.nodeName.toLowerCase(),ve=!C&&!J,me=!1;if(fe){if(w){for(;Y;){for(_=h;_=_[Y];)if(J?s(_,ue):_.nodeType===1)return!1;K=Y=r==="only"&&!K&&"nextSibling"}return!0}if(K=[M?fe.firstChild:fe.lastChild],M&&ve){for(L=fe[p.expando]||(fe[p.expando]={}),O=L[r]||[],F=O[0]===Bn&&O[1],me=F&&O[2],_=F&&fe.childNodes[F];_=++F&&_&&_[Y]||(me=F=0)||K.pop();)if(_.nodeType===1&&++me&&_===h){L[r]=[Bn,F,me];break}}else if(ve&&(L=h[p.expando]||(h[p.expando]={}),O=L[r]||[],F=O[0]===Bn&&O[1],me=F),me===!1)for(;(_=++F&&_&&_[Y]||(me=F=0)||K.pop())&&!((J?s(_,ue):_.nodeType===1)&&++me&&(ve&&(L=_[p.expando]||(_[p.expando]={}),L[r]=[Bn,me]),_===h)););return me-=x,me===v||me%v===0&&me/v>=0}}},PSEUDO:function(r,u){var d=p.expr.pseudos[r]||p.expr.setFilters[r.toLowerCase()]||et("unsupported pseudo: "+r);return d[p.expando]?d(u):d}},pseudos:{not:Vt(function(r){var u=[],d=[],v=pr(r.replace(ut,"$1"));return v[p.expando]?Vt(function(x,w,M,J){for(var h,b=v(x,null,J,[]),C=x.length;C--;)(h=b[C])&&(x[C]=!(w[C]=h))}):function(x,w,M){return u[0]=x,v(u,null,M,d),u[0]=null,!d.pop()}}),has:Vt(function(r){return function(u){return Ln(r,u).length>0}}),contains:Vt(function(r){return r=qe(r),function(u){return(u.textContent||p.text(u)).indexOf(r)>-1}}),lang:Vt(function(r){return zt.test(r||"")||et("unsupported lang: "+r),r=qe(r).toLowerCase(),function(u){var d;do if(d=rt?u.lang:u.getAttribute("xml:lang")||u.getAttribute("lang"))return d=d.toLowerCase(),d===r||d.indexOf(r+"-")===0;while((u=u.parentNode)&&u.nodeType===1);return!1}}),target:function(r){var u=V.location&&V.location.hash;return u&&u.slice(1)===r.id},root:function(r){return r===ge},focus:function(r){return r===bt.activeElement&&bt.hasFocus()&&!!(r.type||r.href||~r.tabIndex)},enabled:Yi(!1),disabled:Yi(!0),checked:function(r){return s(r,"input")&&!!r.checked||s(r,"option")&&!!r.selected},selected:function(r){return he&&r.parentNode&&r.parentNode.selectedIndex,r.selected===!0},empty:function(r){for(r=r.firstChild;r;r=r.nextSibling)if(r.nodeType<6)return!1;return!0},parent:function(r){return!p.expr.pseudos.empty(r)},header:function(r){return cr.test(r.nodeName)},input:function(r){return mn.test(r.nodeName)},button:function(r){return s(r,"input")&&r.type==="button"||s(r,"button")},text:function(r){return s(r,"input")&&r.type==="text"},first:St(function(){return[0]}),last:St(function(r,u){return[u-1]}),eq:St(function(r,u,d){return[d<0?d+u:d]}),even:St(function(r,u){for(var d=0;d<u;d+=2)r.push(d);return r}),odd:St(function(r,u){for(var d=1;d<u;d+=2)r.push(d);return r}),lt:St(function(r,u,d){var v;for(d<0?v=d+u:d>u?v=u:v=d;--v>=0;)r.push(v);return r}),gt:St(function(r,u,d){for(var v=d<0?d+u:d;++v<u;)r.push(v);return r})}},p.expr.pseudos.nth=p.expr.pseudos.eq;for(ft in{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})p.expr.pseudos[ft]=Rn(ft);for(ft in{submit:!0,reset:!0})p.expr.pseudos[ft]=Xi(ft);function wi(){}wi.prototype=p.expr.pseudos,p.expr.setFilters=new wi;function ji(r,u,d){var v=u.dir,x=u.next,w=x||v,M=d&&w==="parentNode",J=Mi++;return u.first?function(h,b,C){for(;h=h[v];)if(h.nodeType===1||M)return r(h,b,C);return!1}:function(h,b,C){var O,L,_=[Bn,J];if(C){for(;h=h[v];)if((h.nodeType===1||M)&&r(h,b,C))return!0}else for(;h=h[v];)if(h.nodeType===1||M)if(L=h[p.expando]||(h[p.expando]={}),x&&s(h,x))h=h[v]||h;else{if((O=L[w])&&O[0]===Bn&&O[1]===J)return _[2]=O[2];if(L[w]=_,_[2]=r(h,b,C))return!0}return!1}}function Bi(r){return r.length>1?function(u,d,v){for(var x=r.length;x--;)if(!r[x](u,d,v))return!1;return!0}:r[0]}function hr(r,u,d){for(var v=0,x=u.length;v<x;v++)Ln(r,u[v],d);return d}function pn(r,u,d,v,x){for(var w,M=[],J=0,h=r.length,b=u!=null;J<h;J++)(w=r[J])&&(!d||d(w,v,x))&&(M.push(w),b&&u.push(J));return M}function ln(r,u,d,v,x,w){return v&&!v[p.expando]&&(v=ln(v)),x&&!x[p.expando]&&(x=ln(x,w)),Vt(function(M,J,h,b){var C,O,L,_,F=[],K=[],Y=J.length,fe=M||hr(u||"*",h.nodeType?[h]:h,[]),ue=r&&(M||!u)?pn(fe,F,r,h,b):fe;if(d?(_=x||(M?r:Y||v)?[]:J,d(ue,_,h,b)):_=ue,v)for(C=pn(_,K),v(C,[],h,b),O=C.length;O--;)(L=C[O])&&(_[K[O]]=!(ue[K[O]]=L));if(M){if(x||r){if(x){for(C=[],O=_.length;O--;)(L=_[O])&&C.push(ue[O]=L);x(null,_=[],C,b)}for(O=_.length;O--;)(L=_[O])&&(C=x?Pe.call(M,L):F[O])>-1&&(M[C]=!(J[C]=L))}}else _=pn(_===J?_.splice(Y,_.length):_),x?x(null,J,_,b):be.apply(J,_)})}function ui(r){for(var u,d,v,x=r.length,w=p.expr.relative[r[0].type],M=w||p.expr.relative[" "],J=w?1:0,h=ji(function(O){return O===u},M,!0),b=ji(function(O){return Pe.call(u,O)>-1},M,!0),C=[function(O,L,_){var F=!w&&(_||L!=Kt)||((u=L).nodeType?h(O,L,_):b(O,L,_));return u=null,F}];J<x;J++)if(d=p.expr.relative[r[J].type])C=[ji(Bi(C),d)];else{if(d=p.expr.filter[r[J].type].apply(null,r[J].matches),d[p.expando]){for(v=++J;v<x&&!p.expr.relative[r[v].type];v++);return ln(J>1&&Bi(C),J>1&&st(r.slice(0,J-1).concat({value:r[J-2].type===" "?"*":""})).replace(ut,"$1"),d,J<v&&ui(r.slice(J,v)),v<x&&ui(r=r.slice(v)),v<x&&st(r))}C.push(d)}return Bi(C)}function $n(r,u){var d=u.length>0,v=r.length>0,x=function(w,M,J,h,b){var C,O,L,_=0,F="0",K=w&&[],Y=[],fe=Kt,ue=w||v&&p.expr.find.TAG("*",b),ve=Bn+=fe==null?1:Math.random()||.1;for(b&&(Kt=M==bt||M||b);(C=ue[F])!=null;F++){if(v&&C){for(O=0,!M&&C.ownerDocument!=bt&&(mt(C),J=!rt);L=r[O++];)if(L(C,M||bt,J)){be.call(h,C);break}b&&(Bn=ve)}d&&((C=!L&&C)&&_--,w&&K.push(C))}if(_+=F,d&&F!==_){for(O=0;L=u[O++];)L(K,Y,M,J);if(w){if(_>0)for(;F--;)K[F]||Y[F]||(Y[F]=se.call(h));Y=pn(Y)}be.apply(h,Y),b&&!w&&Y.length>0&&_+u.length>1&&p.uniqueSort(h)}return b&&(Bn=ve,Kt=fe),K};return d?Vt(x):x}function pr(r,u){var d,v=[],x=[],w=xi[r+" "];if(!w){for(u||(u=Ue(r)),d=u.length;d--;)w=ui(u[d]),w[p.expando]?v.push(w):x.push(w);w=xi(r,$n(x,v)),w.selector=r}return w}function jr(r,u,d,v){var x,w,M,J,h,b=typeof r=="function"&&r,C=!v&&Ue(r=b.selector||r);if(d=d||[],C.length===1){if(w=C[0]=C[0].slice(0),w.length>2&&(M=w[0]).type==="ID"&&u.nodeType===9&&rt&&p.expr.relative[w[1].type]){if(u=(p.expr.find.ID(qe(M.matches[0]),u)||[])[0],u)b&&(u=u.parentNode);else return d;r=r.slice(w.shift().value.length)}for(x=rn.needsContext.test(r)?0:w.length;x--&&(M=w[x],!p.expr.relative[J=M.type]);)if((h=p.expr.find[J])&&(v=h(qe(M.matches[0]),kn.test(w[0].type)&&pe(u.parentNode)||u))){if(w.splice(x,1),r=v.length&&st(w),!r)return be.apply(d,v),d;break}}return(b||pr(r,C))(v,u,!rt,d,!u||kn.test(r)&&pe(u.parentNode)||u),d}mt(),p.find=Ln,Ln.compile=pr,Ln.select=jr,Ln.setDocument=mt,Ln.tokenize=Ue;function Ti(r,u,d){for(var v=[],x=d!==void 0;(r=r[u])&&r.nodeType!==9;)if(r.nodeType===1){if(x&&p(r).is(d))break;v.push(r)}return v}function Ji(r,u){for(var d=[];r;r=r.nextSibling)r.nodeType===1&&r!==u&&d.push(r);return d}var Br=p.expr.match.needsContext,gr=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function Zi(r){return r[0]==="<"&&r[r.length-1]===">"&&r.length>=3}function vr(r,u,d){return typeof u=="function"?p.grep(r,function(v,x){return!!u.call(v,x,v)!==d}):u.nodeType?p.grep(r,function(v){return v===u!==d}):typeof u!="string"?p.grep(r,function(v){return Pe.call(u,v)>-1!==d}):p.filter(u,r,d)}p.filter=function(r,u,d){var v=u[0];return d&&(r=":not("+r+")"),u.length===1&&v.nodeType===1?p.find.matchesSelector(v,r)?[v]:[]:p.find.matches(r,p.grep(u,function(x){return x.nodeType===1}))},p.fn.extend({find:function(r){var u,d,v=this.length,x=this;if(typeof r!="string")return this.pushStack(p(r).filter(function(){for(u=0;u<v;u++)if(p.contains(x[u],this))return!0}));for(d=this.pushStack([]),u=0;u<v;u++)p.find(r,x[u],d);return v>1?p.uniqueSort(d):d},filter:function(r){return this.pushStack(vr(this,r||[],!1))},not:function(r){return this.pushStack(vr(this,r||[],!0))},is:function(r){return!!vr(this,typeof r=="string"&&Br.test(r)?p(r):r||[],!1).length}});var cn,yr=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/,Fi=p.fn.init=function(r,u){var d,v;if(!r)return this;if(r.nodeType)return this[0]=r,this.length=1,this;if(typeof r=="function")return cn.ready!==void 0?cn.ready(r):r(p);if(d=r+"",Zi(d))d=[null,r,null];else if(typeof r=="string")d=yr.exec(r);else return p.makeArray(r,this);if(d&&(d[1]||!u))if(d[1]){if(u=u instanceof p?u[0]:u,p.merge(this,p.parseHTML(d[1],u&&u.nodeType?u.ownerDocument||u:S,!0)),gr.test(d[1])&&p.isPlainObject(u))for(d in u)typeof this[d]=="function"?this[d](u[d]):this.attr(d,u[d]);return this}else return v=S.getElementById(d[2]),v&&(this[0]=v,this.length=1),this;else return!u||u.jquery?(u||cn).find(r):this.constructor(u).find(r)};Fi.prototype=p.fn,cn=p(S);var $i=/^(?:parents|prev(?:Until|All))/,fi={children:!0,contents:!0,next:!0,prev:!0};p.fn.extend({has:function(r){var u=p(r,this),d=u.length;return this.filter(function(){for(var v=0;v<d;v++)if(p.contains(this,u[v]))return!0})},closest:function(r,u){var d,v=0,x=this.length,w=[],M=typeof r!="string"&&p(r);if(!Br.test(r)){for(;v<x;v++)for(d=this[v];d&&d!==u;d=d.parentNode)if(d.nodeType<11&&(M?M.index(d)>-1:d.nodeType===1&&p.find.matchesSelector(d,r))){w.push(d);break}}return this.pushStack(w.length>1?p.uniqueSort(w):w)},index:function(r){return r?typeof r=="string"?Pe.call(p(r),this[0]):Pe.call(this,r.jquery?r[0]:r):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(r,u){return this.pushStack(p.uniqueSort(p.merge(this.get(),p(r,u))))},addBack:function(r){return this.add(r==null?this.prevObject:this.prevObject.filter(r))}});function er(r,u){for(;(r=r[u])&&r.nodeType!==1;);return r}p.each({parent:function(r){var u=r.parentNode;return u&&u.nodeType!==11?u:null},parents:function(r){return Ti(r,"parentNode")},parentsUntil:function(r,u,d){return Ti(r,"parentNode",d)},next:function(r){return er(r,"nextSibling")},prev:function(r){return er(r,"previousSibling")},nextAll:function(r){return Ti(r,"nextSibling")},prevAll:function(r){return Ti(r,"previousSibling")},nextUntil:function(r,u,d){return Ti(r,"nextSibling",d)},prevUntil:function(r,u,d){return Ti(r,"previousSibling",d)},siblings:function(r){return Ji((r.parentNode||{}).firstChild,r)},children:function(r){return Ji(r.firstChild)},contents:function(r){return r.contentDocument!=null&&te(r.contentDocument)?r.contentDocument:(s(r,"template")&&(r=r.content||r),p.merge([],r.childNodes))}},function(r,u){p.fn[r]=function(d,v){var x=p.map(this,u,d);return r.slice(-5)!=="Until"&&(v=d),v&&typeof v=="string"&&(x=p.filter(v,x)),this.length>1&&(fi[r]||p.uniqueSort(x),$i.test(r)&&x.reverse()),this.pushStack(x)}});function ao(r){var u={};return p.each(r.match(Xe)||[],function(d,v){u[v]=!0}),u}p.Callbacks=function(r){r=typeof r=="string"?ao(r):p.extend({},r);var u,d,v,x,w=[],M=[],J=-1,h=function(){for(x=x||r.once,v=u=!0;M.length;J=-1)for(d=M.shift();++J<w.length;)w[J].apply(d[0],d[1])===!1&&r.stopOnFalse&&(J=w.length,d=!1);r.memory||(d=!1),u=!1,x&&(d?w=[]:w="")},b={add:function(){return w&&(d&&!u&&(J=w.length-1,M.push(d)),(function C(O){p.each(O,function(L,_){typeof _=="function"?(!r.unique||!b.has(_))&&w.push(_):_&&_.length&&H(_)!=="string"&&C(_)})})(arguments),d&&!u&&h()),this},remove:function(){return p.each(arguments,function(C,O){for(var L;(L=p.inArray(O,w,L))>-1;)w.splice(L,1),L<=J&&J--}),this},has:function(C){return C?p.inArray(C,w)>-1:w.length>0},empty:function(){return w&&(w=[]),this},disable:function(){return x=M=[],w=d="",this},disabled:function(){return!w},lock:function(){return x=M=[],!d&&!u&&(w=d=""),this},locked:function(){return!!x},fireWith:function(C,O){return x||(O=O||[],O=[C,O.slice?O.slice():O],M.push(O),u||h()),this},fire:function(){return b.fireWith(this,arguments),this},fired:function(){return!!v}};return b};function Zt(r){return r}function _i(r){throw r}function li(r,u,d,v){var x;try{r&&typeof(x=r.promise)=="function"?x.call(r).done(u).fail(d):r&&typeof(x=r.then)=="function"?x.call(r,u,d):u.apply(void 0,[r].slice(v))}catch(w){d(w)}}p.extend({Deferred:function(r){var u=[["notify","progress",p.Callbacks("memory"),p.Callbacks("memory"),2],["resolve","done",p.Callbacks("once memory"),p.Callbacks("once memory"),0,"resolved"],["reject","fail",p.Callbacks("once memory"),p.Callbacks("once memory"),1,"rejected"]],d="pending",v={state:function(){return d},always:function(){return x.done(arguments).fail(arguments),this},catch:function(w){return v.then(null,w)},pipe:function(){var w=arguments;return p.Deferred(function(M){p.each(u,function(J,h){var b=typeof w[h[4]]=="function"&&w[h[4]];x[h[1]](function(){var C=b&&b.apply(this,arguments);C&&typeof C.promise=="function"?C.promise().progress(M.notify).done(M.resolve).fail(M.reject):M[h[0]+"With"](this,b?[C]:arguments)})}),w=null}).promise()},then:function(w,M,J){var h=0;function b(C,O,L,_){return function(){var F=this,K=arguments,Y=function(){var ue,ve;if(!(C<h)){if(ue=L.apply(F,K),ue===O.promise())throw new TypeError("Thenable self-resolution");ve=ue&&(typeof ue=="object"||typeof ue=="function")&&ue.then,typeof ve=="function"?_?ve.call(ue,b(h,O,Zt,_),b(h,O,_i,_)):(h++,ve.call(ue,b(h,O,Zt,_),b(h,O,_i,_),b(h,O,Zt,O.notifyWith))):(L!==Zt&&(F=void 0,K=[ue]),(_||O.resolveWith)(F,K))}},fe=_?Y:function(){try{Y()}catch(ue){p.Deferred.exceptionHook&&p.Deferred.exceptionHook(ue,fe.error),C+1>=h&&(L!==_i&&(F=void 0,K=[ue]),O.rejectWith(F,K))}};C?fe():(p.Deferred.getErrorHook&&(fe.error=p.Deferred.getErrorHook()),V.setTimeout(fe))}}return p.Deferred(function(C){u[0][3].add(b(0,C,typeof J=="function"?J:Zt,C.notifyWith)),u[1][3].add(b(0,C,typeof w=="function"?w:Zt)),u[2][3].add(b(0,C,typeof M=="function"?M:_i))}).promise()},promise:function(w){return w!=null?p.extend(w,v):v}},x={};return p.each(u,function(w,M){var J=M[2],h=M[5];v[M[1]]=J.add,h&&J.add(function(){d=h},u[3-w][2].disable,u[3-w][3].disable,u[0][2].lock,u[0][3].lock),J.add(M[3].fire),x[M[0]]=function(){return x[M[0]+"With"](this===x?void 0:this,arguments),this},x[M[0]+"With"]=J.fireWith}),v.promise(x),r&&r.call(x,x),x},when:function(r){var u=arguments.length,d=u,v=Array(d),x=oe.call(arguments),w=p.Deferred(),M=function(J){return function(h){v[J]=this,x[J]=arguments.length>1?oe.call(arguments):h,--u||w.resolveWith(v,x)}};if(u<=1&&(li(r,w.done(M(d)).resolve,w.reject,!u),w.state()==="pending"||typeof(x[d]&&x[d].then)=="function"))return w.then();for(;d--;)li(x[d],M(d),w.reject);return w.promise()}});var mr=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;p.Deferred.exceptionHook=function(r,u){r&&mr.test(r.name)&&V.console.warn("jQuery.Deferred exception",r,u)},p.readyException=function(r){V.setTimeout(function(){throw r})};var Wi=p.Deferred();p.fn.ready=function(r){return Wi.then(r).catch(function(u){p.readyException(u)}),this},p.extend({isReady:!1,readyWait:1,ready:function(r){(r===!0?--p.readyWait:p.isReady)||(p.isReady=!0,!(r!==!0&&--p.readyWait>0)&&Wi.resolveWith(S,[p]))}}),p.ready.then=Wi.then;function tr(){S.removeEventListener("DOMContentLoaded",tr),V.removeEventListener("load",tr),p.ready()}S.readyState!=="loading"?V.setTimeout(p.ready):(S.addEventListener("DOMContentLoaded",tr),V.addEventListener("load",tr));var Ci=/-([a-z])/g;function Fr(r,u){return u.toUpperCase()}function Qn(r){return r.replace(Ci,Fr)}function ci(r){return r.nodeType===1||r.nodeType===9||!+r.nodeType}function di(){this.expando=p.expando+di.uid++}di.uid=1,di.prototype={cache:function(r){var u=r[this.expando];return u||(u=Object.create(null),ci(r)&&(r.nodeType?r[this.expando]=u:Object.defineProperty(r,this.expando,{value:u,configurable:!0}))),u},set:function(r,u,d){var v,x=this.cache(r);if(typeof u=="string")x[Qn(u)]=d;else for(v in u)x[Qn(v)]=u[v];return d},get:function(r,u){return u===void 0?this.cache(r):r[this.expando]&&r[this.expando][Qn(u)]},access:function(r,u,d){return u===void 0||u&&typeof u=="string"&&d===void 0?this.get(r,u):(this.set(r,u,d),d!==void 0?d:u)},remove:function(r,u){var d,v=r[this.expando];if(v!==void 0){if(u!==void 0)for(Array.isArray(u)?u=u.map(Qn):(u=Qn(u),u=u in v?[u]:u.match(Xe)||[]),d=u.length;d--;)delete v[u[d]];(u===void 0||p.isEmptyObject(v))&&(r.nodeType?r[this.expando]=void 0:delete r[this.expando])}},hasData:function(r){var u=r[this.expando];return u!==void 0&&!p.isEmptyObject(u)}};var Ye=new di,on=new di,kt=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,Cn=/[A-Z]/g;function Xn(r){return r==="true"?!0:r==="false"?!1:r==="null"?null:r===+r+""?+r:kt.test(r)?JSON.parse(r):r}function nr(r,u,d){var v;if(d===void 0&&r.nodeType===1)if(v="data-"+u.replace(Cn,"-$&").toLowerCase(),d=r.getAttribute(v),typeof d=="string"){try{d=Xn(d)}catch{}on.set(r,u,d)}else d=void 0;return d}p.extend({hasData:function(r){return on.hasData(r)||Ye.hasData(r)},data:function(r,u,d){return on.access(r,u,d)},removeData:function(r,u){on.remove(r,u)},_data:function(r,u,d){return Ye.access(r,u,d)},_removeData:function(r,u){Ye.remove(r,u)}}),p.fn.extend({data:function(r,u){var d,v,x,w=this[0],M=w&&w.attributes;if(r===void 0){if(this.length&&(x=on.get(w),w.nodeType===1&&!Ye.get(w,"hasDataAttrs"))){for(d=M.length;d--;)M[d]&&(v=M[d].name,v.indexOf("data-")===0&&(v=Qn(v.slice(5)),nr(w,v,x[v])));Ye.set(w,"hasDataAttrs",!0)}return x}return typeof r=="object"?this.each(function(){on.set(this,r)}):Qe(this,function(J){var h;if(w&&J===void 0)return h=on.get(w,r),h!==void 0||(h=nr(w,r),h!==void 0)?h:void 0;this.each(function(){on.set(this,r,J)})},null,u,arguments.length>1,null,!0)},removeData:function(r){return this.each(function(){on.remove(this,r)})}}),p.extend({queue:function(r,u,d){var v;if(r)return u=(u||"fx")+"queue",v=Ye.get(r,u),d&&(!v||Array.isArray(d)?v=Ye.set(r,u,p.makeArray(d)):v.push(d)),v||[]},dequeue:function(r,u){u=u||"fx";var d=p.queue(r,u),v=d.length,x=d.shift(),w=p._queueHooks(r,u),M=function(){p.dequeue(r,u)};x==="inprogress"&&(x=d.shift(),v--),x&&(u==="fx"&&d.unshift("inprogress"),delete w.stop,x.call(r,M,w)),!v&&w&&w.empty.fire()},_queueHooks:function(r,u){var d=u+"queueHooks";return Ye.get(r,d)||Ye.set(r,d,{empty:p.Callbacks("once memory").add(function(){Ye.remove(r,[u+"queue",d])})})}}),p.fn.extend({queue:function(r,u){var d=2;return typeof r!="string"&&(u=r,r="fx",d--),arguments.length<d?p.queue(this[0],r):u===void 0?this:this.each(function(){var v=p.queue(this,r,u);p._queueHooks(this,r),r==="fx"&&v[0]!=="inprogress"&&p.dequeue(this,r)})},dequeue:function(r){return this.each(function(){p.dequeue(this,r)})},clearQueue:function(r){return this.queue(r||"fx",[])},promise:function(r,u){var d,v=1,x=p.Deferred(),w=this,M=this.length,J=function(){--v||x.resolveWith(w,[w])};for(typeof r!="string"&&(u=r,r=void 0),r=r||"fx";M--;)d=Ye.get(w[M],r+"queueHooks"),d&&d.empty&&(v++,d.empty.add(J));return J(),x.promise(u)}});var $r=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,qn=new RegExp("^(?:([+-])=|)("+$r+")([a-z%]*)$","i"),bn=["Top","Right","Bottom","Left"];function On(r,u){return r=u||r,r.style.display==="none"||r.style.display===""&&p.css(r,"display")==="none"}var br=/^[a-z]/,Wr=/^(?:Border(?:Top|Right|Bottom|Left)?(?:Width|)|(?:Margin|Padding)?(?:Top|Right|Bottom|Left)?|(?:Min|Max)?(?:Width|Height))$/;function Ui(r){return br.test(r)&&Wr.test(r[0].toUpperCase()+r.slice(1))}function Rt(r,u,d,v){var x,w,M=20,J=v?function(){return v.cur()}:function(){return p.css(r,u,"")},h=J(),b=d&&d[3]||(Ui(u)?"px":""),C=r.nodeType&&(!Ui(u)||b!=="px"&&+h)&&qn.exec(p.css(r,u));if(C&&C[3]!==b){for(h=h/2,b=b||C[3],C=+h||1;M--;)p.style(r,u,C+b),(1-w)*(1-(w=J()/h||.5))<=0&&(M=0),C=C/w;C=C*2,p.style(r,u,C+b),d=d||[]}return d&&(C=+C||+h||0,x=d[1]?C+(d[1]+1)*d[2]:+d[2],v&&(v.unit=b,v.start=C,v.end=x)),x}var xr=/^-ms-/;function Sn(r){return Qn(r.replace(xr,"ms-"))}var ir={};function wr(r){var u,d=r.ownerDocument,v=r.nodeName,x=ir[v];return x||(u=d.body.appendChild(d.createElement(v)),x=p.css(u,"display"),u.parentNode.removeChild(u),x==="none"&&(x="block"),ir[v]=x,x)}function jt(r,u){for(var d,v,x=[],w=0,M=r.length;w<M;w++)v=r[w],v.style&&(d=v.style.display,u?(d==="none"&&(x[w]=Ye.get(v,"display")||null,x[w]||(v.style.display="")),v.style.display===""&&On(v)&&(x[w]=wr(v))):d!=="none"&&(x[w]="none",Ye.set(v,"display",d)));for(w=0;w<M;w++)x[w]!=null&&(r[w].style.display=x[w]);return r}p.fn.extend({show:function(){return jt(this,!0)},hide:function(){return jt(this)},toggle:function(r){return typeof r=="boolean"?r?this.show():this.hide():this.each(function(){On(this)?p(this).show():p(this).hide()})}});var Yt=function(r){return p.contains(r.ownerDocument,r)||r.getRootNode(Si)===r.ownerDocument},Si={composed:!0};D.getRootNode||(Yt=function(r){return p.contains(r.ownerDocument,r)});var Ur=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i,Jt={thead:["table"],col:["colgroup","table"],tr:["tbody","table"],td:["tr","tbody","table"]};Jt.tbody=Jt.tfoot=Jt.colgroup=Jt.caption=Jt.thead,Jt.th=Jt.td;function en(r,u){var d;return typeof r.getElementsByTagName<"u"?d=y.slice.call(r.getElementsByTagName(u||"*")):typeof r.querySelectorAll<"u"?d=r.querySelectorAll(u||"*"):d=[],u===void 0||u&&s(r,u)?p.merge([r],d):d}var hi=/^$|^module$|\/(?:java|ecma)script/i;function Ei(r,u){for(var d=0,v=r.length;d<v;d++)Ye.set(r[d],"globalEval",!u||Ye.get(u[d],"globalEval"))}var Tr=/<|&#?\w+;/;function Kr(r,u,d,v,x){for(var w,M,J,h,b,C,O=u.createDocumentFragment(),L=[],_=0,F=r.length;_<F;_++)if(w=r[_],w||w===0)if(H(w)==="object"&&(w.nodeType||j(w)))p.merge(L,w.nodeType?[w]:w);else if(!Tr.test(w))L.push(u.createTextNode(w));else{for(M=M||O.appendChild(u.createElement("div")),J=(Ur.exec(w)||["",""])[1].toLowerCase(),h=Jt[J]||y,C=h.length;--C>-1;)M=M.appendChild(u.createElement(h[C]));M.innerHTML=p.htmlPrefilter(w),p.merge(L,M.childNodes),M=O.firstChild,M.textContent=""}for(O.textContent="",_=0;w=L[_++];){if(v&&p.inArray(w,v)>-1){x&&x.push(w);continue}if(b=Yt(w),M=en(O.appendChild(w),"script"),b&&Ei(M),d)for(C=0;w=M[C++];)hi.test(w.type||"")&&d.push(w)}return O}function _r(r){return r.type=(r.getAttribute("type")!==null)+"/"+r.type,r}function Vr(r){return(r.type||"").slice(0,5)==="true/"?r.type=r.type.slice(5):r.removeAttribute("type"),r}function Ai(r,u,d,v){u=le(u);var x,w,M,J,h,b,C=0,O=r.length,L=O-1,_=u[0],F=typeof _=="function";if(F)return r.each(function(K){var Y=r.eq(K);u[0]=_.call(this,K,Y.html()),Ai(Y,u,d,v)});if(O&&(x=Kr(u,r[0].ownerDocument,!1,r,v),w=x.firstChild,x.childNodes.length===1&&(x=w),w||v)){for(M=p.map(en(x,"script"),_r),J=M.length;C<O;C++)h=x,C!==L&&(h=p.clone(h,!0,!0),J&&p.merge(M,en(h,"script"))),d.call(r[C],h,C);if(J)for(b=M[M.length-1].ownerDocument,p.map(M,Vr),C=0;C<J;C++)h=M[C],hi.test(h.type||"")&&!Ye.get(h,"globalEval")&&p.contains(b,h)&&(h.src&&(h.type||"").toLowerCase()!=="module"?p._evalUrl&&!h.noModule&&p._evalUrl(h.src,{nonce:h.nonce,crossOrigin:h.crossOrigin},b):A(h.textContent,h,b))}return r}var Yn=/^(?:checkbox|radio)$/i,Gr=/^([^.]*)(?:\.(.+)|)/;function ki(){return!0}function Jn(){return!1}function Cr(r,u,d,v,x,w){var M,J;if(typeof u=="object"){typeof d!="string"&&(v=v||d,d=void 0);for(J in u)Cr(r,J,d,v,u[J],w);return r}if(v==null&&x==null?(x=d,v=d=void 0):x==null&&(typeof d=="string"?(x=v,v=void 0):(x=v,v=d,d=void 0)),x===!1)x=Jn;else if(!x)return r;return w===1&&(M=x,x=function(h){return p().off(h),M.apply(this,arguments)},x.guid=M.guid||(M.guid=p.guid++)),r.each(function(){p.event.add(this,u,x,v,d)})}p.event={add:function(r,u,d,v,x){var w,M,J,h,b,C,O,L,_,F,K,Y=Ye.get(r);if(ci(r))for(d.handler&&(w=d,d=w.handler,x=w.selector),x&&p.find.matchesSelector(D,x),d.guid||(d.guid=p.guid++),(h=Y.events)||(h=Y.events=Object.create(null)),(M=Y.handle)||(M=Y.handle=function(fe){return typeof p<"u"&&p.event.triggered!==fe.type?p.event.dispatch.apply(r,arguments):void 0}),u=(u||"").match(Xe)||[""],b=u.length;b--;)J=Gr.exec(u[b])||[],_=K=J[1],F=(J[2]||"").split(".").sort(),_&&(O=p.event.special[_]||{},_=(x?O.delegateType:O.bindType)||_,O=p.event.special[_]||{},C=p.extend({type:_,origType:K,data:v,handler:d,guid:d.guid,selector:x,needsContext:x&&p.expr.match.needsContext.test(x),namespace:F.join(".")},w),(L=h[_])||(L=h[_]=[],L.delegateCount=0,(!O.setup||O.setup.call(r,v,F,M)===!1)&&r.addEventListener&&r.addEventListener(_,M)),O.add&&(O.add.call(r,C),C.handler.guid||(C.handler.guid=d.guid)),x?L.splice(L.delegateCount++,0,C):L.push(C))},remove:function(r,u,d,v,x){var w,M,J,h,b,C,O,L,_,F,K,Y=Ye.hasData(r)&&Ye.get(r);if(!(!Y||!(h=Y.events))){for(u=(u||"").match(Xe)||[""],b=u.length;b--;){if(J=Gr.exec(u[b])||[],_=K=J[1],F=(J[2]||"").split(".").sort(),!_){for(_ in h)p.event.remove(r,_+u[b],d,v,!0);continue}for(O=p.event.special[_]||{},_=(v?O.delegateType:O.bindType)||_,L=h[_]||[],J=J[2]&&new RegExp("(^|\\.)"+F.join("\\.(?:.*\\.|)")+"(\\.|$)"),M=w=L.length;w--;)C=L[w],(x||K===C.origType)&&(!d||d.guid===C.guid)&&(!J||J.test(C.namespace))&&(!v||v===C.selector||v==="**"&&C.selector)&&(L.splice(w,1),C.selector&&L.delegateCount--,O.remove&&O.remove.call(r,C));M&&!L.length&&((!O.teardown||O.teardown.call(r,F,Y.handle)===!1)&&p.removeEvent(r,_,Y.handle),delete h[_])}p.isEmptyObject(h)&&Ye.remove(r,"handle events")}},dispatch:function(r){var u,d,v,x,w,M,J=new Array(arguments.length),h=p.event.fix(r),b=(Ye.get(this,"events")||Object.create(null))[h.type]||[],C=p.event.special[h.type]||{};for(J[0]=h,u=1;u<arguments.length;u++)J[u]=arguments[u];if(h.delegateTarget=this,!(C.preDispatch&&C.preDispatch.call(this,h)===!1)){for(M=p.event.handlers.call(this,h,b),u=0;(x=M[u++])&&!h.isPropagationStopped();)for(h.currentTarget=x.elem,d=0;(w=x.handlers[d++])&&!h.isImmediatePropagationStopped();)(!h.rnamespace||w.namespace===!1||h.rnamespace.test(w.namespace))&&(h.handleObj=w,h.data=w.data,v=((p.event.special[w.origType]||{}).handle||w.handler).apply(x.elem,J),v!==void 0&&(h.result=v)===!1&&(h.preventDefault(),h.stopPropagation()));return C.postDispatch&&C.postDispatch.call(this,h),h.result}},handlers:function(r,u){var d,v,x,w,M,J=[],h=u.delegateCount,b=r.target;if(h&&!(r.type==="click"&&r.button>=1)){for(;b!==this;b=b.parentNode||this)if(b.nodeType===1&&!(r.type==="click"&&b.disabled===!0)){for(w=[],M={},d=0;d<h;d++)v=u[d],x=v.selector+" ",M[x]===void 0&&(M[x]=v.needsContext?p(x,this).index(b)>-1:p.find(x,this,null,[b]).length),M[x]&&w.push(v);w.length&&J.push({elem:b,handlers:w})}}return b=this,h<u.length&&J.push({elem:b,handlers:u.slice(h)}),J},addProp:function(r,u){Object.defineProperty(p.Event.prototype,r,{enumerable:!0,configurable:!0,get:typeof u=="function"?function(){if(this.originalEvent)return u(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[r]},set:function(d){Object.defineProperty(this,r,{enumerable:!0,configurable:!0,writable:!0,value:d})}})},fix:function(r){return r[p.expando]?r:new p.Event(r)},special:p.extend(Object.create(null),{load:{noBubble:!0},click:{setup:function(r){var u=this||r;return Yn.test(u.type)&&u.click&&s(u,"input")&&rr(u,"click",!0),!1},trigger:function(r){var u=this||r;return Yn.test(u.type)&&u.click&&s(u,"input")&&rr(u,"click"),!0},_default:function(r){var u=r.target;return Yn.test(u.type)&&u.click&&s(u,"input")&&Ye.get(u,"click")||s(u,"a")}},beforeunload:{postDispatch:function(r){r.result!==void 0&&r.preventDefault()}}})};function rr(r,u,d){if(!d){Ye.get(r,u)===void 0&&p.event.add(r,u,ki);return}Ye.set(r,u,!1),p.event.add(r,u,{namespace:!1,handler:function(v){var x,w=Ye.get(this,u);if(v.isTrigger&1&&this[u]){if(w.length)(p.event.special[u]||{}).delegateType&&v.stopPropagation();else if(w=oe.call(arguments),Ye.set(this,u,w),this[u](),x=Ye.get(this,u),Ye.set(this,u,!1),w!==x)return v.stopImmediatePropagation(),v.preventDefault(),x&&x.value}else w.length&&(Ye.set(this,u,{value:p.event.trigger(w[0],w.slice(1),this)}),v.stopPropagation(),v.isImmediatePropagationStopped=ki)}})}p.removeEvent=function(r,u,d){r.removeEventListener&&r.removeEventListener(u,d)},p.Event=function(r,u){if(!(this instanceof p.Event))return new p.Event(r,u);r&&r.type?(this.originalEvent=r,this.type=r.type,this.isDefaultPrevented=r.defaultPrevented?ki:Jn,this.target=r.target,this.currentTarget=r.currentTarget,this.relatedTarget=r.relatedTarget):this.type=r,u&&p.extend(this,u),this.timeStamp=r&&r.timeStamp||Date.now(),this[p.expando]=!0},p.Event.prototype={constructor:p.Event,isDefaultPrevented:Jn,isPropagationStopped:Jn,isImmediatePropagationStopped:Jn,isSimulated:!1,preventDefault:function(){var r=this.originalEvent;this.isDefaultPrevented=ki,r&&!this.isSimulated&&r.preventDefault()},stopPropagation:function(){var r=this.originalEvent;this.isPropagationStopped=ki,r&&!this.isSimulated&&r.stopPropagation()},stopImmediatePropagation:function(){var r=this.originalEvent;this.isImmediatePropagationStopped=ki,r&&!this.isSimulated&&r.stopImmediatePropagation(),this.stopPropagation()}},p.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},p.event.addProp),p.each({focus:"focusin",blur:"focusout"},function(r,u){function d(v){var x=p.event.fix(v);x.type=v.type==="focusin"?"focus":"blur",x.isSimulated=!0,x.target===x.currentTarget&&Ye.get(this,"handle")(x)}p.event.special[r]={setup:function(){if(rr(this,r,!0),he)this.addEventListener(u,d);else return!1},trigger:function(){return rr(this,r),!0},teardown:function(){if(he)this.removeEventListener(u,d);else return!1},_default:function(v){return Ye.get(v.target,r)},delegateType:u}}),p.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(r,u){p.event.special[r]={delegateType:u,bindType:u,handle:function(d){var v,x=this,w=d.relatedTarget,M=d.handleObj;return(!w||w!==x&&!p.contains(x,w))&&(d.type=M.origType,v=M.handler.apply(this,arguments),d.type=u),v}}}),p.fn.extend({on:function(r,u,d,v){return Cr(this,r,u,d,v)},one:function(r,u,d,v){return Cr(this,r,u,d,v,1)},off:function(r,u,d){var v,x;if(r&&r.preventDefault&&r.handleObj)return v=r.handleObj,p(r.delegateTarget).off(v.namespace?v.origType+"."+v.namespace:v.origType,v.selector,v.handler),this;if(typeof r=="object"){for(x in r)this.off(x,u,r[x]);return this}return(u===!1||typeof u=="function")&&(d=u,u=void 0),d===!1&&(d=Jn),this.each(function(){p.event.remove(this,r,d,u)})}});var uo=/<script|<style|<link/i;function zr(r,u){return s(r,"table")&&s(u.nodeType!==11?u:u.firstChild,"tr")&&p(r).children("tbody")[0]||r}function or(r,u){var d,v,x,w=Ye.get(r,"events");if(u.nodeType===1){if(w){Ye.remove(u,"handle events");for(d in w)for(v=0,x=w[d].length;v<x;v++)p.event.add(u,d,w[d][v])}on.hasData(r)&&on.set(u,p.extend({},on.get(r)))}}function wt(r,u,d){for(var v,x=u?p.filter(u,r):r,w=0;(v=x[w])!=null;w++)!d&&v.nodeType===1&&p.cleanData(en(v)),v.parentNode&&(d&&Yt(v)&&Ei(en(v,"script")),v.parentNode.removeChild(v));return r}p.extend({htmlPrefilter:function(r){return r},clone:function(r,u,d){var v,x,w,M,J=r.cloneNode(!0),h=Yt(r);if(he&&(r.nodeType===1||r.nodeType===11)&&!p.isXMLDoc(r))for(M=en(J),w=en(r),v=0,x=w.length;v<x;v++)s(M[v],"textarea")&&(M[v].defaultValue=w[v].defaultValue);if(u)if(d)for(w=w||en(r),M=M||en(J),v=0,x=w.length;v<x;v++)or(w[v],M[v]);else or(r,J);return M=en(J,"script"),M.length>0&&Ei(M,!h&&en(r,"script")),J},cleanData:function(r){for(var u,d,v,x=p.event.special,w=0;(d=r[w])!==void 0;w++)if(ci(d)){if(u=d[Ye.expando]){if(u.events)for(v in u.events)x[v]?p.event.remove(d,v):p.removeEvent(d,v,u.handle);d[Ye.expando]=void 0}d[on.expando]&&(d[on.expando]=void 0)}}}),p.fn.extend({detach:function(r){return wt(this,r,!0)},remove:function(r){return wt(this,r)},text:function(r){return Qe(this,function(u){return u===void 0?p.text(this):this.empty().each(function(){(this.nodeType===1||this.nodeType===11||this.nodeType===9)&&(this.textContent=u)})},null,r,arguments.length)},append:function(){return Ai(this,arguments,function(r){if(this.nodeType===1||this.nodeType===11||this.nodeType===9){var u=zr(this,r);u.appendChild(r)}})},prepend:function(){return Ai(this,arguments,function(r){if(this.nodeType===1||this.nodeType===11||this.nodeType===9){var u=zr(this,r);u.insertBefore(r,u.firstChild)}})},before:function(){return Ai(this,arguments,function(r){this.parentNode&&this.parentNode.insertBefore(r,this)})},after:function(){return Ai(this,arguments,function(r){this.parentNode&&this.parentNode.insertBefore(r,this.nextSibling)})},empty:function(){for(var r,u=0;(r=this[u])!=null;u++)r.nodeType===1&&(p.cleanData(en(r,!1)),r.textContent="");return this},clone:function(r,u){return r=r??!1,u=u??r,this.map(function(){return p.clone(this,r,u)})},html:function(r){return Qe(this,function(u){var d=this[0]||{},v=0,x=this.length;if(u===void 0&&d.nodeType===1)return d.innerHTML;if(typeof u=="string"&&!uo.test(u)&&!Jt[(Ur.exec(u)||["",""])[1].toLowerCase()]){u=p.htmlPrefilter(u);try{for(;v<x;v++)d=this[v]||{},d.nodeType===1&&(p.cleanData(en(d,!1)),d.innerHTML=u);d=0}catch{}}d&&this.empty().append(u)},null,r,arguments.length)},replaceWith:function(){var r=[];return Ai(this,arguments,function(u){var d=this.parentNode;p.inArray(this,r)<0&&(p.cleanData(en(this)),d&&d.replaceChild(u,this))},r)}}),p.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(r,u){p.fn[r]=function(d){for(var v,x=[],w=p(d),M=w.length-1,J=0;J<=M;J++)v=J===M?this:this.clone(!0),p(w[J])[u](v),be.apply(x,v);return this.pushStack(x)}});var Dt=new RegExp("^("+$r+")(?!px)[a-z%]+$","i"),pi=/^--/;function Di(r){var u=r.ownerDocument.defaultView;return u||(u=V),u.getComputedStyle(r)}function Sr(r,u,d){var v,x,w={};for(x in u)w[x]=r.style[x],r.style[x]=u[x];v=d.call(r);for(x in u)r.style[x]=w[x];return v}function Li(r,u,d){var v,x=pi.test(u);return d=d||Di(r),d&&(v=d.getPropertyValue(u)||d[u],x&&v&&(v=v.replace(ut,"$1")||void 0),v===""&&!Yt(r)&&(v=p.style(r,u))),v!==void 0?v+"":v}var Qr=["Webkit","Moz","ms"],Xr=S.createElement("div").style;function Yr(r){for(var u=r[0].toUpperCase()+r.slice(1),d=Qr.length;d--;)if(r=Qr[d]+u,r in Xr)return r}function In(r){return r in Xr?r:Yr(r)||r}var Gt,Zn,gn=S.createElement("table");function Er(){if(!(!gn||!gn.style)){var r,u=S.createElement("col"),d=S.createElement("tr"),v=S.createElement("td");if(gn.style.cssText="position:absolute;left:-11111px;border-collapse:separate;border-spacing:0",d.style.cssText="box-sizing:content-box;border:1px solid;height:1px",v.style.cssText="height:9px;width:9px;padding:0",u.span=2,D.appendChild(gn).appendChild(u).parentNode.appendChild(d).appendChild(v).parentNode.appendChild(v.cloneNode(!0)),gn.offsetWidth===0){D.removeChild(gn);return}r=V.getComputedStyle(d),Zn=he||Math.round(parseFloat(V.getComputedStyle(u).width))===18,Gt=Math.round(parseFloat(r.height)+parseFloat(r.borderTopWidth)+parseFloat(r.borderBottomWidth))===d.offsetHeight,D.removeChild(gn),gn=null}}p.extend($,{reliableTrDimensions:function(){return Er(),Gt},reliableColDimensions:function(){return Er(),Zn}});var Ar={position:"absolute",visibility:"hidden",display:"block"},e={letterSpacing:"0",fontWeight:"400"};function n(r,u,d){var v=qn.exec(u);return v?Math.max(0,v[2]-(d||0))+(v[3]||"px"):u}function o(r,u,d,v,x,w){var M=u==="width"?1:0,J=0,h=0,b=0;if(d===(v?"border":"content"))return 0;for(;M<4;M+=2)d==="margin"&&(b+=p.css(r,d+bn[M],!0,x)),v?(d==="content"&&(h-=p.css(r,"padding"+bn[M],!0,x)),d!=="margin"&&(h-=p.css(r,"border"+bn[M]+"Width",!0,x))):(h+=p.css(r,"padding"+bn[M],!0,x),d!=="padding"?h+=p.css(r,"border"+bn[M]+"Width",!0,x):J+=p.css(r,"border"+bn[M]+"Width",!0,x));return!v&&w>=0&&(h+=Math.max(0,Math.ceil(r["offset"+u[0].toUpperCase()+u.slice(1)]-w-h-J-.5))||0),h+b}function a(r,u,d){var v=Di(r),x=he||d,w=x&&p.css(r,"boxSizing",!1,v)==="border-box",M=w,J=Li(r,u,v),h="offset"+u[0].toUpperCase()+u.slice(1);if(Dt.test(J)){if(!d)return J;J="auto"}return(J==="auto"||he&&w||!$.reliableColDimensions()&&s(r,"col")||!$.reliableTrDimensions()&&s(r,"tr"))&&r.getClientRects().length&&(w=p.css(r,"boxSizing",!1,v)==="border-box",M=h in r,M&&(J=r[h])),J=parseFloat(J)||0,J+o(r,u,d||(w?"border":"content"),M,v,J)+"px"}p.extend({cssHooks:{},style:function(r,u,d,v){if(!(!r||r.nodeType===3||r.nodeType===8||!r.style)){var x,w,M,J=Sn(u),h=pi.test(u),b=r.style;if(h||(u=In(J)),M=p.cssHooks[u]||p.cssHooks[J],d!==void 0){if(w=typeof d,w==="string"&&(x=qn.exec(d))&&x[1]&&(d=Rt(r,u,x),w="number"),d==null||d!==d)return;w==="number"&&(d+=x&&x[3]||(Ui(J)?"px":"")),he&&d===""&&u.indexOf("background")===0&&(b[u]="inherit"),(!M||!("set"in M)||(d=M.set(r,d,v))!==void 0)&&(h?b.setProperty(u,d):b[u]=d)}else return M&&"get"in M&&(x=M.get(r,!1,v))!==void 0?x:b[u]}},css:function(r,u,d,v){var x,w,M,J=Sn(u),h=pi.test(u);return h||(u=In(J)),M=p.cssHooks[u]||p.cssHooks[J],M&&"get"in M&&(x=M.get(r,!0,d)),x===void 0&&(x=Li(r,u,v)),x==="normal"&&u in e&&(x=e[u]),d===""||d?(w=parseFloat(x),d===!0||isFinite(w)?w||0:x):x}}),p.each(["height","width"],function(r,u){p.cssHooks[u]={get:function(d,v,x){if(v)return p.css(d,"display")==="none"?Sr(d,Ar,function(){return a(d,u,x)}):a(d,u,x)},set:function(d,v,x){var w,M=Di(d),J=x&&p.css(d,"boxSizing",!1,M)==="border-box",h=x?o(d,u,x,J,M):0;return h&&(w=qn.exec(v))&&(w[3]||"px")!=="px"&&(d.style[u]=v,v=p.css(d,u)),n(d,v,h)}}}),p.each({margin:"",padding:"",border:"Width"},function(r,u){p.cssHooks[r+u]={expand:function(d){for(var v=0,x={},w=typeof d=="string"?d.split(" "):[d];v<4;v++)x[r+bn[v]+u]=w[v]||w[v-2]||w[0];return x}},r!=="margin"&&(p.cssHooks[r+u].set=n)}),p.fn.extend({css:function(r,u){return Qe(this,function(d,v,x){var w,M,J={},h=0;if(Array.isArray(v)){for(w=Di(d),M=v.length;h<M;h++)J[v[h]]=p.css(d,v[h],!1,w);return J}return x!==void 0?p.style(d,v,x):p.css(d,v)},r,u,arguments.length>1)}});function l(r,u,d,v,x){return new l.prototype.init(r,u,d,v,x)}p.Tween=l,l.prototype={constructor:l,init:function(r,u,d,v,x,w){this.elem=r,this.prop=d,this.easing=x||p.easing._default,this.options=u,this.start=this.now=this.cur(),this.end=v,this.unit=w||(Ui(d)?"px":"")},cur:function(){var r=l.propHooks[this.prop];return r&&r.get?r.get(this):l.propHooks._default.get(this)},run:function(r){var u,d=l.propHooks[this.prop];return this.options.duration?this.pos=u=p.easing[this.easing](r,this.options.duration*r,0,1,this.options.duration):this.pos=u=r,this.now=(this.end-this.start)*u+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),d&&d.set?d.set(this):l.propHooks._default.set(this),this}},l.prototype.init.prototype=l.prototype,l.propHooks={_default:{get:function(r){var u;return r.elem.nodeType!==1||r.elem[r.prop]!=null&&r.elem.style[r.prop]==null?r.elem[r.prop]:(u=p.css(r.elem,r.prop,""),!u||u==="auto"?0:u)},set:function(r){p.fx.step[r.prop]?p.fx.step[r.prop](r):r.elem.nodeType===1&&(p.cssHooks[r.prop]||r.elem.style[In(r.prop)]!=null)?p.style(r.elem,r.prop,r.now+r.unit):r.elem[r.prop]=r.now}}},p.easing={linear:function(r){return r},swing:function(r){return .5-Math.cos(r*Math.PI)/2},_default:"swing"},p.fx=l.prototype.init,p.fx.step={};var c,g,E=/^(?:toggle|show|hide)$/,T=/queueHooks$/;function q(){g&&(S.hidden===!1&&V.requestAnimationFrame?V.requestAnimationFrame(q):V.setTimeout(q,13),p.fx.tick())}function X(){return V.setTimeout(function(){c=void 0}),c=Date.now()}function Z(r,u){var d,v=0,x={height:r};for(u=u?1:0;v<4;v+=2-u)d=bn[v],x["margin"+d]=x["padding"+d]=r;return u&&(x.opacity=x.width=r),x}function U(r,u,d){for(var v,x=(Se.tweeners[u]||[]).concat(Se.tweeners["*"]),w=0,M=x.length;w<M;w++)if(v=x[w].call(d,u,r))return v}function re(r,u,d){var v,x,w,M,J,h,b,C,O="width"in u||"height"in u,L=this,_={},F=r.style,K=r.nodeType&&On(r),Y=Ye.get(r,"fxshow");d.queue||(M=p._queueHooks(r,"fx"),M.unqueued==null&&(M.unqueued=0,J=M.empty.fire,M.empty.fire=function(){M.unqueued||J()}),M.unqueued++,L.always(function(){L.always(function(){M.unqueued--,p.queue(r,"fx").length||M.empty.fire()})}));for(v in u)if(x=u[v],E.test(x)){if(delete u[v],w=w||x==="toggle",x===(K?"hide":"show"))if(x==="show"&&Y&&Y[v]!==void 0)K=!0;else continue;_[v]=Y&&Y[v]||p.style(r,v)}if(h=!p.isEmptyObject(u),!(!h&&p.isEmptyObject(_))){O&&r.nodeType===1&&(d.overflow=[F.overflow,F.overflowX,F.overflowY],b=Y&&Y.display,b==null&&(b=Ye.get(r,"display")),C=p.css(r,"display"),C==="none"&&(b?C=b:(jt([r],!0),b=r.style.display||b,C=p.css(r,"display"),jt([r]))),(C==="inline"||C==="inline-block"&&b!=null)&&p.css(r,"float")==="none"&&(h||(L.done(function(){F.display=b}),b==null&&(C=F.display,b=C==="none"?"":C)),F.display="inline-block")),d.overflow&&(F.overflow="hidden",L.always(function(){F.overflow=d.overflow[0],F.overflowX=d.overflow[1],F.overflowY=d.overflow[2]})),h=!1;for(v in _)h||(Y?"hidden"in Y&&(K=Y.hidden):Y=Ye.set(r,"fxshow",{display:b}),w&&(Y.hidden=!K),K&&jt([r],!0),L.done(function(){K||jt([r]),Ye.remove(r,"fxshow");for(v in _)p.style(r,v,_[v])})),h=U(K?Y[v]:0,v,L),v in Y||(Y[v]=h.start,K&&(h.end=h.start,h.start=0))}}function Ae(r,u){var d,v,x,w,M;for(d in r)if(v=Sn(d),x=u[v],w=r[d],Array.isArray(w)&&(x=w[1],w=r[d]=w[0]),d!==v&&(r[v]=w,delete r[d]),M=p.cssHooks[v],M&&"expand"in M){w=M.expand(w),delete r[v];for(d in w)d in r||(r[d]=w[d],u[d]=x)}else u[v]=x}function Se(r,u,d){var v,x,w=0,M=Se.prefilters.length,J=p.Deferred().always(function(){delete h.elem}),h=function(){if(x)return!1;for(var O=c||X(),L=Math.max(0,b.startTime+b.duration-O),_=1-(L/b.duration||0),F=0,K=b.tweens.length;F<K;F++)b.tweens[F].run(_);return J.notifyWith(r,[b,_,L]),_<1&&K?L:(K||J.notifyWith(r,[b,1,0]),J.resolveWith(r,[b]),!1)},b=J.promise({elem:r,props:p.extend({},u),opts:p.extend(!0,{specialEasing:{},easing:p.easing._default},d),originalProperties:u,originalOptions:d,startTime:c||X(),duration:d.duration,tweens:[],createTween:function(O,L){var _=p.Tween(r,b.opts,O,L,b.opts.specialEasing[O]||b.opts.easing);return b.tweens.push(_),_},stop:function(O){var L=0,_=O?b.tweens.length:0;if(x)return this;for(x=!0;L<_;L++)b.tweens[L].run(1);return O?(J.notifyWith(r,[b,1,0]),J.resolveWith(r,[b,O])):J.rejectWith(r,[b,O]),this}}),C=b.props;for(Ae(C,b.opts.specialEasing);w<M;w++)if(v=Se.prefilters[w].call(b,r,C,b.opts),v)return typeof v.stop=="function"&&(p._queueHooks(b.elem,b.opts.queue).stop=v.stop.bind(v)),v;return p.map(C,U,b),typeof b.opts.start=="function"&&b.opts.start.call(r,b),b.progress(b.opts.progress).done(b.opts.done,b.opts.complete).fail(b.opts.fail).always(b.opts.always),p.fx.timer(p.extend(h,{elem:r,anim:b,queue:b.opts.queue})),b}p.Animation=p.extend(Se,{tweeners:{"*":[function(r,u){var d=this.createTween(r,u);return Rt(d.elem,r,qn.exec(u),d),d}]},tweener:function(r,u){typeof r=="function"?(u=r,r=["*"]):r=r.match(Xe);for(var d,v=0,x=r.length;v<x;v++)d=r[v],Se.tweeners[d]=Se.tweeners[d]||[],Se.tweeners[d].unshift(u)},prefilters:[re],prefilter:function(r,u){u?Se.prefilters.unshift(r):Se.prefilters.push(r)}}),p.speed=function(r,u,d){var v=r&&typeof r=="object"?p.extend({},r):{complete:d||u||typeof r=="function"&&r,duration:r,easing:d&&u||u&&typeof u!="function"&&u};return p.fx.off?v.duration=0:typeof v.duration!="number"&&(v.duration in p.fx.speeds?v.duration=p.fx.speeds[v.duration]:v.duration=p.fx.speeds._default),(v.queue==null||v.queue===!0)&&(v.queue="fx"),v.old=v.complete,v.complete=function(){typeof v.old=="function"&&v.old.call(this),v.queue&&p.dequeue(this,v.queue)},v},p.fn.extend({fadeTo:function(r,u,d,v){return this.filter(On).css("opacity",0).show().end().animate({opacity:u},r,d,v)},animate:function(r,u,d,v){var x=p.isEmptyObject(r),w=p.speed(u,d,v),M=function(){var J=Se(this,p.extend({},r),w);(x||Ye.get(this,"finish"))&&J.stop(!0)};return M.finish=M,x||w.queue===!1?this.each(M):this.queue(w.queue,M)},stop:function(r,u,d){var v=function(x){var w=x.stop;delete x.stop,w(d)};return typeof r!="string"&&(d=u,u=r,r=void 0),u&&this.queue(r||"fx",[]),this.each(function(){var x=!0,w=r!=null&&r+"queueHooks",M=p.timers,J=Ye.get(this);if(w)J[w]&&J[w].stop&&v(J[w]);else for(w in J)J[w]&&J[w].stop&&T.test(w)&&v(J[w]);for(w=M.length;w--;)M[w].elem===this&&(r==null||M[w].queue===r)&&(M[w].anim.stop(d),x=!1,M.splice(w,1));(x||!d)&&p.dequeue(this,r)})},finish:function(r){return r!==!1&&(r=r||"fx"),this.each(function(){var u,d=Ye.get(this),v=d[r+"queue"],x=d[r+"queueHooks"],w=p.timers,M=v?v.length:0;for(d.finish=!0,p.queue(this,r,[]),x&&x.stop&&x.stop.call(this,!0),u=w.length;u--;)w[u].elem===this&&w[u].queue===r&&(w[u].anim.stop(!0),w.splice(u,1));for(u=0;u<M;u++)v[u]&&v[u].finish&&v[u].finish.call(this);delete d.finish})}}),p.each(["toggle","show","hide"],function(r,u){var d=p.fn[u];p.fn[u]=function(v,x,w){return v==null||typeof v=="boolean"?d.apply(this,arguments):this.animate(Z(u,!0),v,x,w)}}),p.each({slideDown:Z("show"),slideUp:Z("hide"),slideToggle:Z("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(r,u){p.fn[r]=function(d,v,x){return this.animate(u,d,v,x)}}),p.timers=[],p.fx.tick=function(){var r,u=0,d=p.timers;for(c=Date.now();u<d.length;u++)r=d[u],!r()&&d[u]===r&&d.splice(u--,1);d.length||p.fx.stop(),c=void 0},p.fx.timer=function(r){p.timers.push(r),p.fx.start()},p.fx.start=function(){g||(g=!0,q())},p.fx.stop=function(){g=null},p.fx.speeds={slow:600,fast:200,_default:400},p.fn.delay=function(r,u){return r=p.fx&&p.fx.speeds[r]||r,u=u||"fx",this.queue(u,function(d,v){var x=V.setTimeout(d,r);v.stop=function(){V.clearTimeout(x)}})};var Ie=/^(?:input|select|textarea|button)$/i,dt=/^(?:a|area)$/i;p.fn.extend({prop:function(r,u){return Qe(this,p.prop,r,u,arguments.length>1)},removeProp:function(r){return this.each(function(){delete this[p.propFix[r]||r]})}}),p.extend({prop:function(r,u,d){var v,x,w=r.nodeType;if(!(w===3||w===8||w===2))return(w!==1||!p.isXMLDoc(r))&&(u=p.propFix[u]||u,x=p.propHooks[u]),d!==void 0?x&&"set"in x&&(v=x.set(r,d,u))!==void 0?v:r[u]=d:x&&"get"in x&&(v=x.get(r,u))!==null?v:r[u]},propHooks:{tabIndex:{get:function(r){var u=r.getAttribute("tabindex");return u?parseInt(u,10):Ie.test(r.nodeName)||dt.test(r.nodeName)&&r.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),he&&(p.propHooks.selected={get:function(r){var u=r.parentNode;return u&&u.parentNode&&u.parentNode.selectedIndex,null},set:function(r){var u=r.parentNode;u&&(u.selectedIndex,u.parentNode&&u.parentNode.selectedIndex)}}),p.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){p.propFix[this.toLowerCase()]=this});function ot(r){var u=r.match(Xe)||[];return u.join(" ")}function Ot(r){return r.getAttribute&&r.getAttribute("class")||""}function Ft(r){return Array.isArray(r)?r:typeof r=="string"?r.match(Xe)||[]:[]}p.fn.extend({addClass:function(r){var u,d,v,x,w,M;return typeof r=="function"?this.each(function(J){p(this).addClass(r.call(this,J,Ot(this)))}):(u=Ft(r),u.length?this.each(function(){if(v=Ot(this),d=this.nodeType===1&&" "+ot(v)+" ",d){for(w=0;w<u.length;w++)x=u[w],d.indexOf(" "+x+" ")<0&&(d+=x+" ");M=ot(d),v!==M&&this.setAttribute("class",M)}}):this)},removeClass:function(r){var u,d,v,x,w,M;return typeof r=="function"?this.each(function(J){p(this).removeClass(r.call(this,J,Ot(this)))}):arguments.length?(u=Ft(r),u.length?this.each(function(){if(v=Ot(this),d=this.nodeType===1&&" "+ot(v)+" ",d){for(w=0;w<u.length;w++)for(x=u[w];d.indexOf(" "+x+" ")>-1;)d=d.replace(" "+x+" "," ");M=ot(d),v!==M&&this.setAttribute("class",M)}}):this):this.attr("class","")},toggleClass:function(r,u){var d,v,x,w;return typeof r=="function"?this.each(function(M){p(this).toggleClass(r.call(this,M,Ot(this),u),u)}):typeof u=="boolean"?u?this.addClass(r):this.removeClass(r):(d=Ft(r),d.length?this.each(function(){for(w=p(this),x=0;x<d.length;x++)v=d[x],w.hasClass(v)?w.removeClass(v):w.addClass(v)}):this)},hasClass:function(r){var u,d,v=0;for(u=" "+r+" ";d=this[v++];)if(d.nodeType===1&&(" "+ot(Ot(d))+" ").indexOf(u)>-1)return!0;return!1}}),p.fn.extend({val:function(r){var u,d,v,x=this[0];return arguments.length?(v=typeof r=="function",this.each(function(w){var M;this.nodeType===1&&(v?M=r.call(this,w,p(this).val()):M=r,M==null?M="":typeof M=="number"?M+="":Array.isArray(M)&&(M=p.map(M,function(J){return J==null?"":J+""})),u=p.valHooks[this.type]||p.valHooks[this.nodeName.toLowerCase()],(!u||!("set"in u)||u.set(this,M,"value")===void 0)&&(this.value=M))})):x?(u=p.valHooks[x.type]||p.valHooks[x.nodeName.toLowerCase()],u&&"get"in u&&(d=u.get(x,"value"))!==void 0?d:(d=x.value,d??"")):void 0}}),p.extend({valHooks:{select:{get:function(r){var u,d,v,x=r.options,w=r.selectedIndex,M=r.type==="select-one",J=M?null:[],h=M?w+1:x.length;for(w<0?v=h:v=M?w:0;v<h;v++)if(d=x[v],d.selected&&!d.disabled&&(!d.parentNode.disabled||!s(d.parentNode,"optgroup"))){if(u=p(d).val(),M)return u;J.push(u)}return J},set:function(r,u){for(var d,v,x=r.options,w=p.makeArray(u),M=x.length;M--;)v=x[M],(v.selected=p.inArray(p(v).val(),w)>-1)&&(d=!0);return d||(r.selectedIndex=-1),w}}}}),he&&(p.valHooks.option={get:function(r){var u=r.getAttribute("value");return u??ot(p.text(r))}}),p.each(["radio","checkbox"],function(){p.valHooks[this]={set:function(r,u){if(Array.isArray(u))return r.checked=p.inArray(p(r).val(),u)>-1}}});var Me=/^(?:focusinfocus|focusoutblur)$/,vn=function(r){r.stopPropagation()};p.extend(p.event,{trigger:function(r,u,d,v){var x,w,M,J,h,b,C,O,L=[d||S],_=Ke.call(r,"type")?r.type:r,F=Ke.call(r,"namespace")?r.namespace.split("."):[];if(w=O=M=d=d||S,!(d.nodeType===3||d.nodeType===8)&&!Me.test(_+p.event.triggered)&&(_.indexOf(".")>-1&&(F=_.split("."),_=F.shift(),F.sort()),h=_.indexOf(":")<0&&"on"+_,r=r[p.expando]?r:new p.Event(_,typeof r=="object"&&r),r.isTrigger=v?2:3,r.namespace=F.join("."),r.rnamespace=r.namespace?new RegExp("(^|\\.)"+F.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,r.result=void 0,r.target||(r.target=d),u=u==null?[r]:p.makeArray(u,[r]),C=p.event.special[_]||{},!(!v&&C.trigger&&C.trigger.apply(d,u)===!1))){if(!v&&!C.noBubble&&!k(d)){for(J=C.delegateType||_,Me.test(J+_)||(w=w.parentNode);w;w=w.parentNode)L.push(w),M=w;M===(d.ownerDocument||S)&&L.push(M.defaultView||M.parentWindow||V)}for(x=0;(w=L[x++])&&!r.isPropagationStopped();)O=w,r.type=x>1?J:C.bindType||_,b=(Ye.get(w,"events")||Object.create(null))[r.type]&&Ye.get(w,"handle"),b&&b.apply(w,u),b=h&&w[h],b&&b.apply&&ci(w)&&(r.result=b.apply(w,u),r.result===!1&&r.preventDefault());return r.type=_,!v&&!r.isDefaultPrevented()&&(!C._default||C._default.apply(L.pop(),u)===!1)&&ci(d)&&h&&typeof d[_]=="function"&&!k(d)&&(M=d[h],M&&(d[h]=null),p.event.triggered=_,r.isPropagationStopped()&&O.addEventListener(_,vn),d[_](),r.isPropagationStopped()&&O.removeEventListener(_,vn),p.event.triggered=void 0,M&&(d[h]=M)),r.result}},simulate:function(r,u,d){var v=p.extend(new p.Event,d,{type:r,isSimulated:!0});p.event.trigger(v,null,u)}}),p.fn.extend({trigger:function(r,u){return this.each(function(){p.event.trigger(r,u,this)})},triggerHandler:function(r,u){var d=this[0];if(d)return p.event.trigger(r,u,d,!0)}});var He=V.location,Je={guid:Date.now()},sn=/\?/;p.parseXML=function(r){var u,d;if(!r||typeof r!="string")return null;try{u=new V.DOMParser().parseFromString(r,"text/xml")}catch{}return d=u&&u.getElementsByTagName("parsererror")[0],(!u||d)&&p.error("Invalid XML: "+(d?p.map(d.childNodes,function(v){return v.textContent}).join(`
|
|
28
|
+
`):r)),u};var Ki=/\[\]$/,$t=/\r?\n/g,Pn=/^(?:submit|button|image|reset|file)$/i,Wt=/^(?:input|select|textarea|keygen)/i;function Qt(r,u,d,v){var x;if(Array.isArray(u))p.each(u,function(w,M){d||Ki.test(r)?v(r,M):Qt(r+"["+(typeof M=="object"&&M!=null?w:"")+"]",M,d,v)});else if(!d&&H(u)==="object")for(x in u)Qt(r+"["+x+"]",u[x],d,v);else v(r,u)}p.param=function(r,u){var d,v=[],x=function(w,M){var J=typeof M=="function"?M():M;v[v.length]=encodeURIComponent(w)+"="+encodeURIComponent(J??"")};if(r==null)return"";if(Array.isArray(r)||r.jquery&&!p.isPlainObject(r))p.each(r,function(){x(this.name,this.value)});else for(d in r)Qt(d,r[d],u,x);return v.join("&")},p.fn.extend({serialize:function(){return p.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var r=p.prop(this,"elements");return r?p.makeArray(r):this}).filter(function(){var r=this.type;return this.name&&!p(this).is(":disabled")&&Wt.test(this.nodeName)&&!Pn.test(r)&&(this.checked||!Yn.test(r))}).map(function(r,u){var d=p(this).val();return d==null?null:Array.isArray(d)?p.map(d,function(v){return{name:u.name,value:v.replace($t,`\r
|
|
29
|
+
`)}}):{name:u.name,value:d.replace($t,`\r
|
|
30
|
+
`)}}).get()}});var an=/%20/g,Bt=/#.*$/,gi=/([?&])_=[^&]*/,Xt=/^(.*?):[ \t]*([^\r\n]*)$/mg,tn=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,Jr=/^(?:GET|HEAD)$/,xn=/^\/\//,sr={},$e={},Wn="*/".concat("*"),qt=S.createElement("a");qt.href=He.href;function En(r){return function(u,d){typeof u!="string"&&(d=u,u="*");var v,x=0,w=u.toLowerCase().match(Xe)||[];if(typeof d=="function")for(;v=w[x++];)v[0]==="+"?(v=v.slice(1)||"*",(r[v]=r[v]||[]).unshift(d)):(r[v]=r[v]||[]).push(d)}}function Zr(r,u,d,v){var x={},w=r===$e;function M(J){var h;return x[J]=!0,p.each(r[J]||[],function(b,C){var O=C(u,d,v);if(typeof O=="string"&&!w&&!x[O])return u.dataTypes.unshift(O),M(O),!1;if(w)return!(h=O)}),h}return M(u.dataTypes[0])||!x["*"]&&M("*")}function kr(r,u){var d,v,x=p.ajaxSettings.flatOptions||{};for(d in u)u[d]!==void 0&&((x[d]?r:v||(v={}))[d]=u[d]);return v&&p.extend(!0,r,v),r}function Dr(r,u,d){for(var v,x,w,M,J=r.contents,h=r.dataTypes;h[0]==="*";)h.shift(),v===void 0&&(v=r.mimeType||u.getResponseHeader("Content-Type"));if(v){for(x in J)if(J[x]&&J[x].test(v)){h.unshift(x);break}}if(h[0]in d)w=h[0];else{for(x in d){if(!h[0]||r.converters[x+" "+h[0]]){w=x;break}M||(M=x)}w=w||M}if(w)return w!==h[0]&&h.unshift(w),d[w]}function wn(r,u,d,v){var x,w,M,J,h,b={},C=r.dataTypes.slice();if(C[1])for(M in r.converters)b[M.toLowerCase()]=r.converters[M];for(w=C.shift();w;)if(r.responseFields[w]&&(d[r.responseFields[w]]=u),!h&&v&&r.dataFilter&&(u=r.dataFilter(u,r.dataType)),h=w,w=C.shift(),w){if(w==="*")w=h;else if(h!=="*"&&h!==w){if(M=b[h+" "+w]||b["* "+w],!M){for(x in b)if(J=x.split(" "),J[1]===w&&(M=b[h+" "+J[0]]||b["* "+J[0]],M)){M===!0?M=b[x]:b[x]!==!0&&(w=J[0],C.unshift(J[1]));break}}if(M!==!0)if(M&&r.throws)u=M(u);else try{u=M(u)}catch(O){return{state:"parsererror",error:M?O:"No conversion from "+h+" to "+w}}}}return{state:"success",data:u}}p.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:He.href,type:"GET",isLocal:tn.test(He.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Wn,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":p.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(r,u){return u?kr(kr(r,p.ajaxSettings),u):kr(p.ajaxSettings,r)},ajaxPrefilter:En(sr),ajaxTransport:En($e),ajax:function(r,u){typeof r=="object"&&(u=r,r=void 0),u=u||{};var d,v,x,w,M,J,h,b,C,O,L=p.ajaxSetup({},u),_=L.context||L,F=L.context&&(_.nodeType||_.jquery)?p(_):p.event,K=p.Deferred(),Y=p.Callbacks("once memory"),fe=L.statusCode||{},ue={},ve={},me="canceled",ce={readyState:0,getResponseHeader:function(Fe){var ze;if(h){if(!w)for(w={};ze=Xt.exec(x);)w[ze[1].toLowerCase()+" "]=(w[ze[1].toLowerCase()+" "]||[]).concat(ze[2]);ze=w[Fe.toLowerCase()+" "]}return ze==null?null:ze.join(", ")},getAllResponseHeaders:function(){return h?x:null},setRequestHeader:function(Fe,ze){return h==null&&(Fe=ve[Fe.toLowerCase()]=ve[Fe.toLowerCase()]||Fe,ue[Fe]=ze),this},overrideMimeType:function(Fe){return h==null&&(L.mimeType=Fe),this},statusCode:function(Fe){var ze;if(Fe)if(h)ce.always(Fe[ce.status]);else for(ze in Fe)fe[ze]=[fe[ze],Fe[ze]];return this},abort:function(Fe){var ze=Fe||me;return d&&d.abort(ze),Ve(0,ze),this}};if(K.promise(ce),L.url=((r||L.url||He.href)+"").replace(xn,He.protocol+"//"),L.type=u.method||u.type||L.method||L.type,L.dataTypes=(L.dataType||"*").toLowerCase().match(Xe)||[""],L.crossDomain==null){J=S.createElement("a");try{J.href=L.url,J.href=J.href,L.crossDomain=qt.protocol+"//"+qt.host!=J.protocol+"//"+J.host}catch{L.crossDomain=!0}}if(Zr(sr,L,u,ce),L.data&&L.processData&&typeof L.data!="string"&&(L.data=p.param(L.data,L.traditional)),h)return ce;b=p.event&&L.global,b&&p.active++===0&&p.event.trigger("ajaxStart"),L.type=L.type.toUpperCase(),L.hasContent=!Jr.test(L.type),v=L.url.replace(Bt,""),L.hasContent?L.data&&L.processData&&(L.contentType||"").indexOf("application/x-www-form-urlencoded")===0&&(L.data=L.data.replace(an,"+")):(O=L.url.slice(v.length),L.data&&(L.processData||typeof L.data=="string")&&(v+=(sn.test(v)?"&":"?")+L.data,delete L.data),L.cache===!1&&(v=v.replace(gi,"$1"),O=(sn.test(v)?"&":"?")+"_="+Je.guid+++O),L.url=v+O),L.ifModified&&(p.lastModified[v]&&ce.setRequestHeader("If-Modified-Since",p.lastModified[v]),p.etag[v]&&ce.setRequestHeader("If-None-Match",p.etag[v])),(L.data&&L.hasContent&&L.contentType!==!1||u.contentType)&&ce.setRequestHeader("Content-Type",L.contentType),ce.setRequestHeader("Accept",L.dataTypes[0]&&L.accepts[L.dataTypes[0]]?L.accepts[L.dataTypes[0]]+(L.dataTypes[0]!=="*"?", "+Wn+"; q=0.01":""):L.accepts["*"]);for(C in L.headers)ce.setRequestHeader(C,L.headers[C]);if(L.beforeSend&&(L.beforeSend.call(_,ce,L)===!1||h))return ce.abort();if(me="abort",Y.add(L.complete),ce.done(L.success),ce.fail(L.error),d=Zr($e,L,u,ce),!d)Ve(-1,"No Transport");else{if(ce.readyState=1,b&&F.trigger("ajaxSend",[ce,L]),h)return ce;L.async&&L.timeout>0&&(M=V.setTimeout(function(){ce.abort("timeout")},L.timeout));try{h=!1,d.send(ue,Ve)}catch(Fe){if(h)throw Fe;Ve(-1,Fe)}}function Ve(Fe,ze,Pt,Mt){var Ut,gt,Tt,eo,Lr,Un=ze;h||(h=!0,M&&V.clearTimeout(M),d=void 0,x=Mt||"",ce.readyState=Fe>0?4:0,Ut=Fe>=200&&Fe<300||Fe===304,Pt&&(eo=Dr(L,ce,Pt)),!Ut&&p.inArray("script",L.dataTypes)>-1&&p.inArray("json",L.dataTypes)<0&&(L.converters["text script"]=function(){}),eo=wn(L,eo,ce,Ut),Ut?(L.ifModified&&(Lr=ce.getResponseHeader("Last-Modified"),Lr&&(p.lastModified[v]=Lr),Lr=ce.getResponseHeader("etag"),Lr&&(p.etag[v]=Lr)),Fe===204||L.type==="HEAD"?Un="nocontent":Fe===304?Un="notmodified":(Un=eo.state,gt=eo.data,Tt=eo.error,Ut=!Tt)):(Tt=Un,(Fe||!Un)&&(Un="error",Fe<0&&(Fe=0))),ce.status=Fe,ce.statusText=(ze||Un)+"",Ut?K.resolveWith(_,[gt,Un,ce]):K.rejectWith(_,[ce,Un,Tt]),ce.statusCode(fe),fe=void 0,b&&F.trigger(Ut?"ajaxSuccess":"ajaxError",[ce,L,Ut?gt:Tt]),Y.fireWith(_,[ce,Un]),b&&(F.trigger("ajaxComplete",[ce,L]),--p.active||p.event.trigger("ajaxStop")))}return ce},getJSON:function(r,u,d){return p.get(r,u,d,"json")},getScript:function(r,u){return p.get(r,void 0,u,"script")}}),p.each(["get","post"],function(r,u){p[u]=function(d,v,x,w){return(typeof v=="function"||v===null)&&(w=w||x,x=v,v=void 0),p.ajax(p.extend({url:d,type:u,dataType:w,data:v,success:x},p.isPlainObject(d)&&d))}}),p.ajaxPrefilter(function(r){var u;for(u in r.headers)u.toLowerCase()==="content-type"&&(r.contentType=r.headers[u]||"")}),p._evalUrl=function(r,u,d){return p.ajax({url:r,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,scriptAttrs:u.crossOrigin?{crossOrigin:u.crossOrigin}:void 0,converters:{"text script":function(){}},dataFilter:function(v){p.globalEval(v,u,d)}})},p.fn.extend({wrapAll:function(r){var u;return this[0]&&(typeof r=="function"&&(r=r.call(this[0])),u=p(r,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&u.insertBefore(this[0]),u.map(function(){for(var d=this;d.firstElementChild;)d=d.firstElementChild;return d}).append(this)),this},wrapInner:function(r){return typeof r=="function"?this.each(function(u){p(this).wrapInner(r.call(this,u))}):this.each(function(){var u=p(this),d=u.contents();d.length?d.wrapAll(r):u.append(r)})},wrap:function(r){var u=typeof r=="function";return this.each(function(d){p(this).wrapAll(u?r.call(this,d):r)})},unwrap:function(r){return this.parent(r).not("body").each(function(){p(this).replaceWith(this.childNodes)}),this}}),p.expr.pseudos.hidden=function(r){return!p.expr.pseudos.visible(r)},p.expr.pseudos.visible=function(r){return!!(r.offsetWidth||r.offsetHeight||r.getClientRects().length)},p.ajaxSettings.xhr=function(){return new V.XMLHttpRequest};var Mn={0:200};p.ajaxTransport(function(r){var u;return{send:function(d,v){var x,w=r.xhr();if(w.open(r.type,r.url,r.async,r.username,r.password),r.xhrFields)for(x in r.xhrFields)w[x]=r.xhrFields[x];r.mimeType&&w.overrideMimeType&&w.overrideMimeType(r.mimeType),!r.crossDomain&&!d["X-Requested-With"]&&(d["X-Requested-With"]="XMLHttpRequest");for(x in d)w.setRequestHeader(x,d[x]);u=function(M){return function(){u&&(u=w.onload=w.onerror=w.onabort=w.ontimeout=null,M==="abort"?w.abort():M==="error"?v(w.status,w.statusText):v(Mn[w.status]||w.status,w.statusText,(w.responseType||"text")==="text"?{text:w.responseText}:{binary:w.response},w.getAllResponseHeaders()))}},w.onload=u(),w.onabort=w.onerror=w.ontimeout=u("error"),u=u("abort");try{w.send(r.hasContent&&r.data||null)}catch(M){if(u)throw M}},abort:function(){u&&u()}}});function un(r){return r.scriptAttrs||!r.headers&&(r.crossDomain||r.async&&p.inArray("json",r.dataTypes)<0)}p.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},converters:{"text script":function(r){return p.globalEval(r),r}}}),p.ajaxPrefilter("script",function(r){r.cache===void 0&&(r.cache=!1),un(r)&&(r.type="GET")}),p.ajaxTransport("script",function(r){if(un(r)){var u,d;return{send:function(v,x){u=p("<script>").attr(r.scriptAttrs||{}).prop({charset:r.scriptCharset,src:r.url}).on("load error",d=function(w){u.remove(),d=null,w&&x(w.type==="error"?404:200,w.type)}),S.head.appendChild(u[0])},abort:function(){d&&d()}}}});var ar=[],Tn=/(=)\?(?=&|$)|\?\?/;p.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var r=ar.pop()||p.expando+"_"+Je.guid++;return this[r]=!0,r}}),p.ajaxPrefilter("jsonp",function(r,u,d){var v,x,w,M=r.jsonp!==!1&&(Tn.test(r.url)?"url":typeof r.data=="string"&&(r.contentType||"").indexOf("application/x-www-form-urlencoded")===0&&Tn.test(r.data)&&"data");return v=r.jsonpCallback=typeof r.jsonpCallback=="function"?r.jsonpCallback():r.jsonpCallback,M?r[M]=r[M].replace(Tn,"$1"+v):r.jsonp!==!1&&(r.url+=(sn.test(r.url)?"&":"?")+r.jsonp+"="+v),r.converters["script json"]=function(){return w||p.error(v+" was not called"),w[0]},r.dataTypes[0]="json",x=V[v],V[v]=function(){w=arguments},d.always(function(){x===void 0?p(V).removeProp(v):V[v]=x,r[v]&&(r.jsonpCallback=u.jsonpCallback,ar.push(v)),w&&typeof x=="function"&&x(w[0]),w=x=void 0}),"script"}),p.ajaxPrefilter(function(r,u){typeof r.data!="string"&&!p.isPlainObject(r.data)&&!Array.isArray(r.data)&&!("processData"in u)&&(r.processData=!1),r.data instanceof V.FormData&&(r.contentType=!1)}),p.parseHTML=function(r,u,d){if(typeof r!="string"&&!Zi(r+""))return[];typeof u=="boolean"&&(d=u,u=!1);var v,x;return u||(u=new V.DOMParser().parseFromString("","text/html")),v=gr.exec(r),x=!d&&[],v?[u.createElement(v[1])]:(v=Kr([r],u,x),x&&x.length&&p(x).remove(),p.merge([],v.childNodes))},p.fn.load=function(r,u,d){var v,x,w,M=this,J=r.indexOf(" ");return J>-1&&(v=ot(r.slice(J)),r=r.slice(0,J)),typeof u=="function"?(d=u,u=void 0):u&&typeof u=="object"&&(x="POST"),M.length>0&&p.ajax({url:r,type:x||"GET",dataType:"html",data:u}).done(function(h){w=arguments,M.html(v?p("<div>").append(p.parseHTML(h)).find(v):h)}).always(d&&function(h,b){M.each(function(){d.apply(this,w||[h.responseText,b,h])})}),this},p.expr.pseudos.animated=function(r){return p.grep(p.timers,function(u){return r===u.elem}).length},p.offset={setOffset:function(r,u,d){var v,x,w,M,J,h,b,C=p.css(r,"position"),O=p(r),L={};C==="static"&&(r.style.position="relative"),J=O.offset(),w=p.css(r,"top"),h=p.css(r,"left"),b=(C==="absolute"||C==="fixed")&&(w+h).indexOf("auto")>-1,b?(v=O.position(),M=v.top,x=v.left):(M=parseFloat(w)||0,x=parseFloat(h)||0),typeof u=="function"&&(u=u.call(r,d,p.extend({},J))),u.top!=null&&(L.top=u.top-J.top+M),u.left!=null&&(L.left=u.left-J.left+x),"using"in u?u.using.call(r,L):O.css(L)}},p.fn.extend({offset:function(r){if(arguments.length)return r===void 0?this:this.each(function(x){p.offset.setOffset(this,r,x)});var u,d,v=this[0];if(v)return v.getClientRects().length?(u=v.getBoundingClientRect(),d=v.ownerDocument.defaultView,{top:u.top+d.pageYOffset,left:u.left+d.pageXOffset}):{top:0,left:0}},position:function(){if(this[0]){var r,u,d,v=this[0],x={top:0,left:0};if(p.css(v,"position")==="fixed")u=v.getBoundingClientRect();else{for(u=this.offset(),d=v.ownerDocument,r=v.offsetParent||d.documentElement;r&&r!==d.documentElement&&p.css(r,"position")==="static";)r=r.offsetParent||d.documentElement;r&&r!==v&&r.nodeType===1&&p.css(r,"position")!=="static"&&(x=p(r).offset(),x.top+=p.css(r,"borderTopWidth",!0),x.left+=p.css(r,"borderLeftWidth",!0))}return{top:u.top-x.top-p.css(v,"marginTop",!0),left:u.left-x.left-p.css(v,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var r=this.offsetParent;r&&p.css(r,"position")==="static";)r=r.offsetParent;return r||D})}}),p.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(r,u){var d=u==="pageYOffset";p.fn[r]=function(v){return Qe(this,function(x,w,M){var J;if(k(x)?J=x:x.nodeType===9&&(J=x.defaultView),M===void 0)return J?J[u]:x[w];J?J.scrollTo(d?J.pageXOffset:M,d?M:J.pageYOffset):x[w]=M},r,v,arguments.length)}}),p.each({Height:"height",Width:"width"},function(r,u){p.each({padding:"inner"+r,content:u,"":"outer"+r},function(d,v){p.fn[v]=function(x,w){var M=arguments.length&&(d||typeof x!="boolean"),J=d||(x===!0||w===!0?"margin":"border");return Qe(this,function(h,b,C){var O;return k(h)?v.indexOf("outer")===0?h["inner"+r]:h.document.documentElement["client"+r]:h.nodeType===9?(O=h.documentElement,Math.max(h.body["scroll"+r],O["scroll"+r],h.body["offset"+r],O["offset"+r],O["client"+r])):C===void 0?p.css(h,b,J):p.style(h,b,C,J)},u,M?x:void 0,M)}})}),p.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(r,u){p.fn[u]=function(d){return this.on(u,d)}}),p.fn.extend({bind:function(r,u,d){return this.on(r,null,u,d)},unbind:function(r,u){return this.off(r,null,u)},delegate:function(r,u,d,v){return this.on(u,r,d,v)},undelegate:function(r,u,d){return arguments.length===1?this.off(r,"**"):this.off(u,r||"**",d)},hover:function(r,u){return this.on("mouseenter",r).on("mouseleave",u||r)}}),p.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(r,u){p.fn[u]=function(d,v){return arguments.length>0?this.on(u,null,d,v):this.trigger(u)}}),p.proxy=function(r,u){var d,v,x;if(typeof u=="string"&&(d=r[u],u=r,r=d),typeof r=="function")return v=oe.call(arguments,2),x=function(){return r.apply(u||this,v.concat(oe.call(arguments)))},x.guid=r.guid=r.guid||p.guid++,x},p.holdReady=function(r){r?p.readyWait++:p.ready(!0)},p.expr[":"]=p.expr.filters=p.expr.pseudos,typeof define=="function"&&define.amd&&define("jquery",[],function(){return p});var ei=V.jQuery,yn=V.$;return p.noConflict=function(r){return V.$===p&&(V.$=yn),r&&V.jQuery===p&&(V.jQuery=ei),p},p}var Ms=Nl(window);const Rl=qa(Object.freeze(Object.defineProperty({__proto__:null,$:Ms,default:Ms,jQuery:Ms},Symbol.toStringTag,{value:"Module"})));var Hs,lu;function js(){if(lu)return Hs;lu=1;const{jQuery:V}=Rl;return Hs=V,Hs}var ql=Xo.exports,cu;function Pl(){return cu||(cu=1,(function(V){(function(R,y){V.exports?V.exports=y(js()):R.Bloodhound=y(R.jQuery)})(ql,function(R){var y=(function(){return{isMsie:function(){return/(msie|trident)/i.test(navigator.userAgent)?navigator.userAgent.match(/(msie |rv:)(\d+(.\d+)?)/i)[2]:!1},isBlankString:function($){return!$||/^\s*$/.test($)},escapeRegExChars:function($){return $.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")},isString:function($){return typeof $=="string"},isNumber:function($){return typeof $=="number"},isArray:R.isArray,isFunction:R.isFunction,isObject:R.isPlainObject,isUndefined:function($){return typeof $>"u"},isElement:function($){return!!($&&$.nodeType===1)},isJQuery:function($){return $ instanceof R},toStr:function(H){return y.isUndefined(H)||H===null?"":H+""},bind:R.proxy,each:function($,H){R.each($,k);function k(j,S){return H(S,j)}},map:R.map,filter:R.grep,every:function($,H){var k=!0;return $?(R.each($,function(j,S){if(!(k=H.call(null,S,j,$)))return!1}),!!k):k},some:function($,H){var k=!1;return $?(R.each($,function(j,S){if(k=H.call(null,S,j,$))return!1}),!!k):k},mixin:R.extend,identity:function($){return $},clone:function($){return R.extend(!0,{},$)},getIdGenerator:function(){var $=0;return function(){return $++}},templatify:function(H){return R.isFunction(H)?H:k;function k(){return String(H)}},defer:function($){setTimeout($,0)},debounce:function($,H,k){var j,S;return function(){var N=this,A=arguments,P,z;return P=function(){j=null,k||(S=$.apply(N,A))},z=k&&!j,clearTimeout(j),j=setTimeout(P,H),z&&(S=$.apply(N,A)),S}},throttle:function($,H){var k,j,S,N,A,P;return A=0,P=function(){A=new Date,S=null,N=$.apply(k,j)},function(){var z=new Date,p=H-(z-A);return k=this,j=arguments,p<=0?(clearTimeout(S),S=null,A=z,N=$.apply(k,j)):S||(S=setTimeout(P,p)),N}},stringify:function($){return y.isString($)?$:JSON.stringify($)},guid:function(){function $(H){var k=(Math.random().toString(16)+"000000000").substr(2,8);return H?"-"+k.substr(0,4)+"-"+k.substr(4,4):k}return"tt-"+$()+$(!0)+$(!0)+$()},noop:function(){}}})(),te="1.0.4",oe=(function(){return{nonword:H,whitespace:$,ngram:k,obj:{nonword:j(H),whitespace:j($),ngram:j(k)}};function $(S){return S=y.toStr(S),S?S.split(/\s+/):[]}function H(S){return S=y.toStr(S),S?S.split(/\W+/):[]}function k(S){S=y.toStr(S);var N=[],A="";return y.each(S.split(""),function(P){P.match(/\s+/)?A="":(N.push(A+P),A+=P)}),N}function j(S){return function(A){return A=y.isArray(A)?A:[].slice.call(arguments,0),function(z){var p=[];return y.each(A,function(s){p=p.concat(S(y.toStr(z[s])))}),p}}}})(),le=(function(){function $(j){this.maxSize=y.isNumber(j)?j:100,this.reset(),this.maxSize<=0&&(this.set=this.get=R.noop)}y.mixin($.prototype,{set:function(S,N){var A=this.list.tail,P;this.size>=this.maxSize&&(this.list.remove(A),delete this.hash[A.key],this.size--),(P=this.hash[S])?(P.val=N,this.list.moveToFront(P)):(P=new k(S,N),this.list.add(P),this.hash[S]=P,this.size++)},get:function(S){var N=this.hash[S];if(N)return this.list.moveToFront(N),N.val},reset:function(){this.size=0,this.hash={},this.list=new H}});function H(){this.head=this.tail=null}y.mixin(H.prototype,{add:function(S){this.head&&(S.next=this.head,this.head.prev=S),this.head=S,this.tail=this.tail||S},remove:function(S){S.prev?S.prev.next=S.next:this.head=S.next,S.next?S.next.prev=S.prev:this.tail=S.prev},moveToFront:function(j){this.remove(j),this.add(j)}});function k(j,S){this.key=j,this.val=S,this.prev=this.next=null}return $})(),be=(function(){var $;try{$=window.localStorage,$.setItem("~~~","!"),$.removeItem("~~~")}catch{$=null}function H(A,P){this.prefix=["__",A,"__"].join(""),this.ttlKey="__ttl__",this.keyMatcher=new RegExp("^"+y.escapeRegExChars(this.prefix)),this.ls=P||$,!this.ls&&this._noop()}return y.mixin(H.prototype,{_prefix:function(A){return this.prefix+A},_ttlKey:function(A){return this._prefix(A)+this.ttlKey},_noop:function(){this.get=this.set=this.remove=this.clear=this.isExpired=y.noop},_safeSet:function(A,P){try{this.ls.setItem(A,P)}catch(z){z.name==="QuotaExceededError"&&(this.clear(),this._noop())}},get:function(A){return this.isExpired(A)&&this.remove(A),S(this.ls.getItem(this._prefix(A)))},set:function(A,P,z){return y.isNumber(z)?this._safeSet(this._ttlKey(A),j(k()+z)):this.ls.removeItem(this._ttlKey(A)),this._safeSet(this._prefix(A),j(P))},remove:function(A){return this.ls.removeItem(this._ttlKey(A)),this.ls.removeItem(this._prefix(A)),this},clear:function(){var A,P=N(this.keyMatcher);for(A=P.length;A--;)this.remove(P[A]);return this},isExpired:function(A){var P=S(this.ls.getItem(this._ttlKey(A)));return!!(y.isNumber(P)&&k()>P)}}),H;function k(){return new Date().getTime()}function j(A){return JSON.stringify(y.isUndefined(A)?null:A)}function S(A){return R.parseJSON(A)}function N(A){var P,z,p=[],s=$.length;for(P=0;P<s;P++)(z=$.key(P)).match(A)&&p.push(z.replace(A,""));return p}})(),Pe=(function(){var $=0,H={},k=new le(10);function j(S){S=S||{},this.maxPendingRequests=S.maxPendingRequests||6,this.cancelled=!1,this.lastReq=null,this._send=S.transport,this._get=S.limiter?S.limiter(this._get):this._get,this._cache=S.cache===!1?new le(0):k}return j.setMaxPendingRequests=function(N){this.maxPendingRequests=N},j.resetCache=function(){k.reset()},y.mixin(j.prototype,{_fingerprint:function(N){return N=N||{},N.url+N.type+R.param(N.data||{})},_get:function(S,N){var A=this,P,z;if(P=this._fingerprint(S),this.cancelled||P!==this.lastReq)return;(z=H[P])?z.done(p).fail(s):$<this.maxPendingRequests?($++,H[P]=this._send(S).done(p).fail(s).always(se)):this.onDeckRequestArgs=[].slice.call(arguments,0);function p(ie){N(null,ie),A._cache.set(P,ie)}function s(){N(!0)}function se(){$--,delete H[P],A.onDeckRequestArgs&&(A._get.apply(A,A.onDeckRequestArgs),A.onDeckRequestArgs=null)}},get:function(S,N){var A,P;N=N||R.noop,S=y.isString(S)?{url:S}:S||{},P=this._fingerprint(S),this.cancelled=!1,this.lastReq=P,(A=this._cache.get(P))?N(null,A):this._get(S,N)},cancel:function(){this.cancelled=!0}}),j})(),ke=window.SearchIndex=(function(){var $="c",H="i";function k(P){P=P||{},(!P.datumTokenizer||!P.queryTokenizer)&&R.error("datumTokenizer and queryTokenizer are both required"),this.identify=P.identify||y.stringify,this.datumTokenizer=P.datumTokenizer,this.queryTokenizer=P.queryTokenizer,this.matchAnyQueryToken=P.matchAnyQueryToken,this.reset()}return y.mixin(k.prototype,{bootstrap:function(z){this.datums=z.datums,this.trie=z.trie},add:function(P){var z=this;P=y.isArray(P)?P:[P],y.each(P,function(p){var s,se;z.datums[s=z.identify(p)]=p,se=j(z.datumTokenizer(p)),y.each(se,function(ie){var he,je,ut;for(he=z.trie,je=ie.split("");ut=je.shift();)he=he[$][ut]||(he[$][ut]=S()),he[H].push(s)})})},get:function(z){var p=this;return y.map(z,function(s){return p.datums[s]})},search:function(z){var p=this,s,se;return s=j(this.queryTokenizer(z)),y.each(s,function(ie){var he,je,ut,Oe;if(se&&se.length===0&&!p.matchAnyQueryToken)return!1;for(he=p.trie,je=ie.split("");he&&(ut=je.shift());)he=he[$][ut];if(he&&je.length===0)Oe=he[H].slice(0),se=se?A(se,Oe):Oe;else if(!p.matchAnyQueryToken)return se=[],!1}),se?y.map(N(se),function(ie){return p.datums[ie]}):[]},all:function(){var z=[];for(var p in this.datums)z.push(this.datums[p]);return z},reset:function(){this.datums={},this.trie=S()},serialize:function(){return{datums:this.datums,trie:this.trie}}}),k;function j(P){return P=y.filter(P,function(z){return!!z}),P=y.map(P,function(z){return z.toLowerCase()}),P}function S(){var P={};return P[H]=[],P[$]={},P}function N(P){for(var z={},p=[],s=0,se=P.length;s<se;s++)z[P[s]]||(z[P[s]]=!0,p.push(P[s]));return p}function A(P,z){var p=0,s=0,se=[];P=P.sort(),z=z.sort();for(var ie=P.length,he=z.length;p<ie&&s<he;)P[p]<z[s]?p++:(P[p]>z[s]||(se.push(P[p]),p++),s++);return se}})(),Le=(function(){var $;$={data:"data",protocol:"protocol",thumbprint:"thumbprint"};function H(k){this.url=k.url,this.ttl=k.ttl,this.cache=k.cache,this.prepare=k.prepare,this.transform=k.transform,this.transport=k.transport,this.thumbprint=k.thumbprint,this.storage=new be(k.cacheKey)}return y.mixin(H.prototype,{_settings:function(){return{url:this.url,type:"GET",dataType:"json"}},store:function(j){this.cache&&(this.storage.set($.data,j,this.ttl),this.storage.set($.protocol,location.protocol,this.ttl),this.storage.set($.thumbprint,this.thumbprint,this.ttl))},fromCache:function(){var j={},S;return this.cache?(j.data=this.storage.get($.data),j.protocol=this.storage.get($.protocol),j.thumbprint=this.storage.get($.thumbprint),S=j.thumbprint!==this.thumbprint||j.protocol!==location.protocol,j.data&&!S?j.data:null):null},fromNetwork:function(k){var j=this,S;if(!k)return;S=this.prepare(this._settings()),this.transport(S).fail(N).done(A);function N(){k(!0)}function A(P){k(null,j.transform(P))}},clear:function(){return this.storage.clear(),this}}),H})(),Ke=(function(){function $(H){this.url=H.url,this.prepare=H.prepare,this.transform=H.transform,this.indexResponse=H.indexResponse,this.transport=new Pe({cache:H.cache,limiter:H.limiter,transport:H.transport,maxPendingRequests:H.maxPendingRequests})}return y.mixin($.prototype,{_settings:function(){return{url:this.url,type:"GET",dataType:"json"}},get:function(k,j){var S=this,N;if(!j)return;return k=k||"",N=this.prepare(k,this._settings()),this.transport.get(N,A);function A(P,z){j(P?[]:S.transform(z))}},cancelLastRequest:function(){this.transport.cancel()}}),$})(),Ne=(function(){return function(A){var P,z;return P={initialize:!0,identify:y.stringify,datumTokenizer:null,queryTokenizer:null,matchAnyQueryToken:!1,sufficient:5,indexRemote:!1,sorter:null,local:[],prefetch:null,remote:null},A=y.mixin(P,A||{}),!A.datumTokenizer&&R.error("datumTokenizer is required"),!A.queryTokenizer&&R.error("queryTokenizer is required"),z=A.sorter,A.sorter=z?function(p){return p.sort(z)}:y.identity,A.local=y.isFunction(A.local)?A.local():A.local,A.prefetch=$(A.prefetch),A.remote=H(A.remote),A};function $(N){var A;return N?(A={url:null,ttl:1440*60*1e3,cache:!0,cacheKey:null,thumbprint:"",prepare:y.identity,transform:y.identity,transport:null},N=y.isString(N)?{url:N}:N,N=y.mixin(A,N),!N.url&&R.error("prefetch requires url to be set"),N.transform=N.filter||N.transform,N.cacheKey=N.cacheKey||N.url,N.thumbprint=te+N.thumbprint,N.transport=N.transport?S(N.transport):R.ajax,N):null}function H(N){var A;if(N)return A={url:null,cache:!0,prepare:null,replace:null,wildcard:null,limiter:null,rateLimitBy:"debounce",rateLimitWait:300,transform:y.identity,transport:null},N=y.isString(N)?{url:N}:N,N=y.mixin(A,N),!N.url&&R.error("remote requires url to be set"),N.transform=N.filter||N.transform,N.prepare=k(N),N.limiter=j(N),N.transport=N.transport?S(N.transport):R.ajax,delete N.replace,delete N.wildcard,delete N.rateLimitBy,delete N.rateLimitWait,N}function k(N){var A,P,z;if(A=N.prepare,P=N.replace,z=N.wildcard,A)return A;return P?A=p:N.wildcard?A=s:A=se,A;function p(ie,he){return he.url=P(he.url,ie),he}function s(ie,he){return he.url=he.url.replace(z,encodeURIComponent(ie)),he}function se(ie,he){return he}}function j(N){var A,P,z;return A=N.limiter,P=N.rateLimitBy,z=N.rateLimitWait,A||(A=/^throttle$/i.test(P)?s(z):p(z)),A;function p(se){return function(he){return y.debounce(he,se)}}function s(se){return function(he){return y.throttle(he,se)}}}function S(N){return function(P){var z=R.Deferred();return N(P,p,s),z;function p(se){y.defer(function(){z.resolve(se)})}function s(se){y.defer(function(){z.reject(se)})}}}})(),De=(function(){var $;$=window&&window.Bloodhound;function H(k){k=Ne(k),this.sorter=k.sorter,this.identify=k.identify,this.sufficient=k.sufficient,this.indexRemote=k.indexRemote,this.local=k.local,this.remote=k.remote?new Ke(k.remote):null,this.prefetch=k.prefetch?new Le(k.prefetch):null,this.index=new ke({identify:this.identify,datumTokenizer:k.datumTokenizer,queryTokenizer:k.queryTokenizer}),k.initialize!==!1&&this.initialize()}return H.noConflict=function(){return window&&(window.Bloodhound=$),H},H.tokenizers=oe,y.mixin(H.prototype,{__ttAdapter:function(){var j=this;return this.remote?S:N;function S(A,P,z){return j.search(A,P,z)}function N(A,P){return j.search(A,P)}},_loadPrefetch:function(){var j=this,S,N;return S=R.Deferred(),this.prefetch?(N=this.prefetch.fromCache())?(this.index.bootstrap(N),S.resolve()):this.prefetch.fromNetwork(A):S.resolve(),S.promise();function A(P,z){if(P)return S.reject();j.add(z),j.prefetch.store(j.index.serialize()),S.resolve()}},_initialize:function(){var j=this;return this.clear(),(this.initPromise=this._loadPrefetch()).done(S),this.initPromise;function S(){j.add(j.local)}},initialize:function(j){return!this.initPromise||j?this._initialize():this.initPromise},add:function(j){return this.index.add(j),this},get:function(j){return j=y.isArray(j)?j:[].slice.call(arguments),this.index.get(j)},search:function(j,S,N){var A=this,P;return S=S||y.noop,N=N||y.noop,P=this.sorter(this.index.search(j)),S(this.remote?P.slice():P),this.remote&&P.length<this.sufficient?this.remote.get(j,z):this.remote&&this.remote.cancelLastRequest(),this;function z(p){var s=[];y.each(p,function(se){!y.some(P,function(ie){return A.identify(se)===A.identify(ie)})&&s.push(se)}),A.indexRemote&&A.add(s),N(s)}},all:function(){return this.index.all()},clear:function(){return this.index.reset(),this},clearPrefetchCache:function(){return this.prefetch&&this.prefetch.clear(),this},clearRemoteCache:function(){return Pe.resetCache(),this},ttAdapter:function(){return this.__ttAdapter()}}),H})();return De})})(Xo)),Xo.exports}var Yo={exports:{}};var du=Yo.exports,hu;function Ml(){return hu||(hu=1,(function(V){(function(R,y){V.exports?V.exports=y(js()):R.Bloodhound=y(R.jQuery)})(du,function(R){var y=(function(){return{isMsie:function(){return/(msie|trident)/i.test(navigator.userAgent)?navigator.userAgent.match(/(msie |rv:)(\d+(.\d+)?)/i)[2]:!1},isBlankString:function($){return!$||/^\s*$/.test($)},escapeRegExChars:function($){return $.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")},isString:function($){return typeof $=="string"},isNumber:function($){return typeof $=="number"},isArray:R.isArray,isFunction:R.isFunction,isObject:R.isPlainObject,isUndefined:function($){return typeof $>"u"},isElement:function($){return!!($&&$.nodeType===1)},isJQuery:function($){return $ instanceof R},toStr:function(H){return y.isUndefined(H)||H===null?"":H+""},bind:R.proxy,each:function($,H){R.each($,k);function k(j,S){return H(S,j)}},map:R.map,filter:R.grep,every:function($,H){var k=!0;return $?(R.each($,function(j,S){if(!(k=H.call(null,S,j,$)))return!1}),!!k):k},some:function($,H){var k=!1;return $?(R.each($,function(j,S){if(k=H.call(null,S,j,$))return!1}),!!k):k},mixin:R.extend,identity:function($){return $},clone:function($){return R.extend(!0,{},$)},getIdGenerator:function(){var $=0;return function(){return $++}},templatify:function(H){return R.isFunction(H)?H:k;function k(){return String(H)}},defer:function($){setTimeout($,0)},debounce:function($,H,k){var j,S;return function(){var N=this,A=arguments,P,z;return P=function(){j=null,k||(S=$.apply(N,A))},z=k&&!j,clearTimeout(j),j=setTimeout(P,H),z&&(S=$.apply(N,A)),S}},throttle:function($,H){var k,j,S,N,A,P;return A=0,P=function(){A=new Date,S=null,N=$.apply(k,j)},function(){var z=new Date,p=H-(z-A);return k=this,j=arguments,p<=0?(clearTimeout(S),S=null,A=z,N=$.apply(k,j)):S||(S=setTimeout(P,p)),N}},stringify:function($){return y.isString($)?$:JSON.stringify($)},guid:function(){function $(H){var k=(Math.random().toString(16)+"000000000").substr(2,8);return H?"-"+k.substr(0,4)+"-"+k.substr(4,4):k}return"tt-"+$()+$(!0)+$(!0)+$()},noop:function(){}}})(),te="1.0.4",oe=(function(){return{nonword:H,whitespace:$,ngram:k,obj:{nonword:j(H),whitespace:j($),ngram:j(k)}};function $(S){return S=y.toStr(S),S?S.split(/\s+/):[]}function H(S){return S=y.toStr(S),S?S.split(/\W+/):[]}function k(S){S=y.toStr(S);var N=[],A="";return y.each(S.split(""),function(P){P.match(/\s+/)?A="":(N.push(A+P),A+=P)}),N}function j(S){return function(A){return A=y.isArray(A)?A:[].slice.call(arguments,0),function(z){var p=[];return y.each(A,function(s){p=p.concat(S(y.toStr(z[s])))}),p}}}})(),le=(function(){function $(j){this.maxSize=y.isNumber(j)?j:100,this.reset(),this.maxSize<=0&&(this.set=this.get=R.noop)}y.mixin($.prototype,{set:function(S,N){var A=this.list.tail,P;this.size>=this.maxSize&&(this.list.remove(A),delete this.hash[A.key],this.size--),(P=this.hash[S])?(P.val=N,this.list.moveToFront(P)):(P=new k(S,N),this.list.add(P),this.hash[S]=P,this.size++)},get:function(S){var N=this.hash[S];if(N)return this.list.moveToFront(N),N.val},reset:function(){this.size=0,this.hash={},this.list=new H}});function H(){this.head=this.tail=null}y.mixin(H.prototype,{add:function(S){this.head&&(S.next=this.head,this.head.prev=S),this.head=S,this.tail=this.tail||S},remove:function(S){S.prev?S.prev.next=S.next:this.head=S.next,S.next?S.next.prev=S.prev:this.tail=S.prev},moveToFront:function(j){this.remove(j),this.add(j)}});function k(j,S){this.key=j,this.val=S,this.prev=this.next=null}return $})(),be=(function(){var $;try{$=window.localStorage,$.setItem("~~~","!"),$.removeItem("~~~")}catch{$=null}function H(A,P){this.prefix=["__",A,"__"].join(""),this.ttlKey="__ttl__",this.keyMatcher=new RegExp("^"+y.escapeRegExChars(this.prefix)),this.ls=P||$,!this.ls&&this._noop()}return y.mixin(H.prototype,{_prefix:function(A){return this.prefix+A},_ttlKey:function(A){return this._prefix(A)+this.ttlKey},_noop:function(){this.get=this.set=this.remove=this.clear=this.isExpired=y.noop},_safeSet:function(A,P){try{this.ls.setItem(A,P)}catch(z){z.name==="QuotaExceededError"&&(this.clear(),this._noop())}},get:function(A){return this.isExpired(A)&&this.remove(A),S(this.ls.getItem(this._prefix(A)))},set:function(A,P,z){return y.isNumber(z)?this._safeSet(this._ttlKey(A),j(k()+z)):this.ls.removeItem(this._ttlKey(A)),this._safeSet(this._prefix(A),j(P))},remove:function(A){return this.ls.removeItem(this._ttlKey(A)),this.ls.removeItem(this._prefix(A)),this},clear:function(){var A,P=N(this.keyMatcher);for(A=P.length;A--;)this.remove(P[A]);return this},isExpired:function(A){var P=S(this.ls.getItem(this._ttlKey(A)));return!!(y.isNumber(P)&&k()>P)}}),H;function k(){return new Date().getTime()}function j(A){return JSON.stringify(y.isUndefined(A)?null:A)}function S(A){return R.parseJSON(A)}function N(A){var P,z,p=[],s=$.length;for(P=0;P<s;P++)(z=$.key(P)).match(A)&&p.push(z.replace(A,""));return p}})(),Pe=(function(){var $=0,H={},k=new le(10);function j(S){S=S||{},this.maxPendingRequests=S.maxPendingRequests||6,this.cancelled=!1,this.lastReq=null,this._send=S.transport,this._get=S.limiter?S.limiter(this._get):this._get,this._cache=S.cache===!1?new le(0):k}return j.setMaxPendingRequests=function(N){this.maxPendingRequests=N},j.resetCache=function(){k.reset()},y.mixin(j.prototype,{_fingerprint:function(N){return N=N||{},N.url+N.type+R.param(N.data||{})},_get:function(S,N){var A=this,P,z;if(P=this._fingerprint(S),this.cancelled||P!==this.lastReq)return;(z=H[P])?z.done(p).fail(s):$<this.maxPendingRequests?($++,H[P]=this._send(S).done(p).fail(s).always(se)):this.onDeckRequestArgs=[].slice.call(arguments,0);function p(ie){N(null,ie),A._cache.set(P,ie)}function s(){N(!0)}function se(){$--,delete H[P],A.onDeckRequestArgs&&(A._get.apply(A,A.onDeckRequestArgs),A.onDeckRequestArgs=null)}},get:function(S,N){var A,P;N=N||R.noop,S=y.isString(S)?{url:S}:S||{},P=this._fingerprint(S),this.cancelled=!1,this.lastReq=P,(A=this._cache.get(P))?N(null,A):this._get(S,N)},cancel:function(){this.cancelled=!0}}),j})(),ke=window.SearchIndex=(function(){var $="c",H="i";function k(P){P=P||{},(!P.datumTokenizer||!P.queryTokenizer)&&R.error("datumTokenizer and queryTokenizer are both required"),this.identify=P.identify||y.stringify,this.datumTokenizer=P.datumTokenizer,this.queryTokenizer=P.queryTokenizer,this.matchAnyQueryToken=P.matchAnyQueryToken,this.reset()}return y.mixin(k.prototype,{bootstrap:function(z){this.datums=z.datums,this.trie=z.trie},add:function(P){var z=this;P=y.isArray(P)?P:[P],y.each(P,function(p){var s,se;z.datums[s=z.identify(p)]=p,se=j(z.datumTokenizer(p)),y.each(se,function(ie){var he,je,ut;for(he=z.trie,je=ie.split("");ut=je.shift();)he=he[$][ut]||(he[$][ut]=S()),he[H].push(s)})})},get:function(z){var p=this;return y.map(z,function(s){return p.datums[s]})},search:function(z){var p=this,s,se;return s=j(this.queryTokenizer(z)),y.each(s,function(ie){var he,je,ut,Oe;if(se&&se.length===0&&!p.matchAnyQueryToken)return!1;for(he=p.trie,je=ie.split("");he&&(ut=je.shift());)he=he[$][ut];if(he&&je.length===0)Oe=he[H].slice(0),se=se?A(se,Oe):Oe;else if(!p.matchAnyQueryToken)return se=[],!1}),se?y.map(N(se),function(ie){return p.datums[ie]}):[]},all:function(){var z=[];for(var p in this.datums)z.push(this.datums[p]);return z},reset:function(){this.datums={},this.trie=S()},serialize:function(){return{datums:this.datums,trie:this.trie}}}),k;function j(P){return P=y.filter(P,function(z){return!!z}),P=y.map(P,function(z){return z.toLowerCase()}),P}function S(){var P={};return P[H]=[],P[$]={},P}function N(P){for(var z={},p=[],s=0,se=P.length;s<se;s++)z[P[s]]||(z[P[s]]=!0,p.push(P[s]));return p}function A(P,z){var p=0,s=0,se=[];P=P.sort(),z=z.sort();for(var ie=P.length,he=z.length;p<ie&&s<he;)P[p]<z[s]?p++:(P[p]>z[s]||(se.push(P[p]),p++),s++);return se}})(),Le=(function(){var $;$={data:"data",protocol:"protocol",thumbprint:"thumbprint"};function H(k){this.url=k.url,this.ttl=k.ttl,this.cache=k.cache,this.prepare=k.prepare,this.transform=k.transform,this.transport=k.transport,this.thumbprint=k.thumbprint,this.storage=new be(k.cacheKey)}return y.mixin(H.prototype,{_settings:function(){return{url:this.url,type:"GET",dataType:"json"}},store:function(j){this.cache&&(this.storage.set($.data,j,this.ttl),this.storage.set($.protocol,location.protocol,this.ttl),this.storage.set($.thumbprint,this.thumbprint,this.ttl))},fromCache:function(){var j={},S;return this.cache?(j.data=this.storage.get($.data),j.protocol=this.storage.get($.protocol),j.thumbprint=this.storage.get($.thumbprint),S=j.thumbprint!==this.thumbprint||j.protocol!==location.protocol,j.data&&!S?j.data:null):null},fromNetwork:function(k){var j=this,S;if(!k)return;S=this.prepare(this._settings()),this.transport(S).fail(N).done(A);function N(){k(!0)}function A(P){k(null,j.transform(P))}},clear:function(){return this.storage.clear(),this}}),H})(),Ke=(function(){function $(H){this.url=H.url,this.prepare=H.prepare,this.transform=H.transform,this.indexResponse=H.indexResponse,this.transport=new Pe({cache:H.cache,limiter:H.limiter,transport:H.transport,maxPendingRequests:H.maxPendingRequests})}return y.mixin($.prototype,{_settings:function(){return{url:this.url,type:"GET",dataType:"json"}},get:function(k,j){var S=this,N;if(!j)return;return k=k||"",N=this.prepare(k,this._settings()),this.transport.get(N,A);function A(P,z){j(P?[]:S.transform(z))}},cancelLastRequest:function(){this.transport.cancel()}}),$})(),Ne=(function(){return function(A){var P,z;return P={initialize:!0,identify:y.stringify,datumTokenizer:null,queryTokenizer:null,matchAnyQueryToken:!1,sufficient:5,indexRemote:!1,sorter:null,local:[],prefetch:null,remote:null},A=y.mixin(P,A||{}),!A.datumTokenizer&&R.error("datumTokenizer is required"),!A.queryTokenizer&&R.error("queryTokenizer is required"),z=A.sorter,A.sorter=z?function(p){return p.sort(z)}:y.identity,A.local=y.isFunction(A.local)?A.local():A.local,A.prefetch=$(A.prefetch),A.remote=H(A.remote),A};function $(N){var A;return N?(A={url:null,ttl:1440*60*1e3,cache:!0,cacheKey:null,thumbprint:"",prepare:y.identity,transform:y.identity,transport:null},N=y.isString(N)?{url:N}:N,N=y.mixin(A,N),!N.url&&R.error("prefetch requires url to be set"),N.transform=N.filter||N.transform,N.cacheKey=N.cacheKey||N.url,N.thumbprint=te+N.thumbprint,N.transport=N.transport?S(N.transport):R.ajax,N):null}function H(N){var A;if(N)return A={url:null,cache:!0,prepare:null,replace:null,wildcard:null,limiter:null,rateLimitBy:"debounce",rateLimitWait:300,transform:y.identity,transport:null},N=y.isString(N)?{url:N}:N,N=y.mixin(A,N),!N.url&&R.error("remote requires url to be set"),N.transform=N.filter||N.transform,N.prepare=k(N),N.limiter=j(N),N.transport=N.transport?S(N.transport):R.ajax,delete N.replace,delete N.wildcard,delete N.rateLimitBy,delete N.rateLimitWait,N}function k(N){var A,P,z;if(A=N.prepare,P=N.replace,z=N.wildcard,A)return A;return P?A=p:N.wildcard?A=s:A=se,A;function p(ie,he){return he.url=P(he.url,ie),he}function s(ie,he){return he.url=he.url.replace(z,encodeURIComponent(ie)),he}function se(ie,he){return he}}function j(N){var A,P,z;return A=N.limiter,P=N.rateLimitBy,z=N.rateLimitWait,A||(A=/^throttle$/i.test(P)?s(z):p(z)),A;function p(se){return function(he){return y.debounce(he,se)}}function s(se){return function(he){return y.throttle(he,se)}}}function S(N){return function(P){var z=R.Deferred();return N(P,p,s),z;function p(se){y.defer(function(){z.resolve(se)})}function s(se){y.defer(function(){z.reject(se)})}}}})(),De=(function(){var $;$=window&&window.Bloodhound;function H(k){k=Ne(k),this.sorter=k.sorter,this.identify=k.identify,this.sufficient=k.sufficient,this.indexRemote=k.indexRemote,this.local=k.local,this.remote=k.remote?new Ke(k.remote):null,this.prefetch=k.prefetch?new Le(k.prefetch):null,this.index=new ke({identify:this.identify,datumTokenizer:k.datumTokenizer,queryTokenizer:k.queryTokenizer}),k.initialize!==!1&&this.initialize()}return H.noConflict=function(){return window&&(window.Bloodhound=$),H},H.tokenizers=oe,y.mixin(H.prototype,{__ttAdapter:function(){var j=this;return this.remote?S:N;function S(A,P,z){return j.search(A,P,z)}function N(A,P){return j.search(A,P)}},_loadPrefetch:function(){var j=this,S,N;return S=R.Deferred(),this.prefetch?(N=this.prefetch.fromCache())?(this.index.bootstrap(N),S.resolve()):this.prefetch.fromNetwork(A):S.resolve(),S.promise();function A(P,z){if(P)return S.reject();j.add(z),j.prefetch.store(j.index.serialize()),S.resolve()}},_initialize:function(){var j=this;return this.clear(),(this.initPromise=this._loadPrefetch()).done(S),this.initPromise;function S(){j.add(j.local)}},initialize:function(j){return!this.initPromise||j?this._initialize():this.initPromise},add:function(j){return this.index.add(j),this},get:function(j){return j=y.isArray(j)?j:[].slice.call(arguments),this.index.get(j)},search:function(j,S,N){var A=this,P;return S=S||y.noop,N=N||y.noop,P=this.sorter(this.index.search(j)),S(this.remote?P.slice():P),this.remote&&P.length<this.sufficient?this.remote.get(j,z):this.remote&&this.remote.cancelLastRequest(),this;function z(p){var s=[];y.each(p,function(se){!y.some(P,function(ie){return A.identify(se)===A.identify(ie)})&&s.push(se)}),A.indexRemote&&A.add(s),N(s)}},all:function(){return this.index.all()},clear:function(){return this.index.reset(),this},clearPrefetchCache:function(){return this.prefetch&&this.prefetch.clear(),this},clearRemoteCache:function(){return Pe.resetCache(),this},ttAdapter:function(){return this.__ttAdapter()}}),H})();return De}),(function(R,y){V.exports?V.exports=y(js()):y(R.jQuery)})(du,function(R){var y=(function(){return{isMsie:function(){return/(msie|trident)/i.test(navigator.userAgent)?navigator.userAgent.match(/(msie |rv:)(\d+(.\d+)?)/i)[2]:!1},isBlankString:function($){return!$||/^\s*$/.test($)},escapeRegExChars:function($){return $.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")},isString:function($){return typeof $=="string"},isNumber:function($){return typeof $=="number"},isArray:R.isArray,isFunction:R.isFunction,isObject:R.isPlainObject,isUndefined:function($){return typeof $>"u"},isElement:function($){return!!($&&$.nodeType===1)},isJQuery:function($){return $ instanceof R},toStr:function(H){return y.isUndefined(H)||H===null?"":H+""},bind:R.proxy,each:function($,H){R.each($,k);function k(j,S){return H(S,j)}},map:R.map,filter:R.grep,every:function($,H){var k=!0;return $?(R.each($,function(j,S){if(!(k=H.call(null,S,j,$)))return!1}),!!k):k},some:function($,H){var k=!1;return $?(R.each($,function(j,S){if(k=H.call(null,S,j,$))return!1}),!!k):k},mixin:R.extend,identity:function($){return $},clone:function($){return R.extend(!0,{},$)},getIdGenerator:function(){var $=0;return function(){return $++}},templatify:function(H){return R.isFunction(H)?H:k;function k(){return String(H)}},defer:function($){setTimeout($,0)},debounce:function($,H,k){var j,S;return function(){var N=this,A=arguments,P,z;return P=function(){j=null,k||(S=$.apply(N,A))},z=k&&!j,clearTimeout(j),j=setTimeout(P,H),z&&(S=$.apply(N,A)),S}},throttle:function($,H){var k,j,S,N,A,P;return A=0,P=function(){A=new Date,S=null,N=$.apply(k,j)},function(){var z=new Date,p=H-(z-A);return k=this,j=arguments,p<=0?(clearTimeout(S),S=null,A=z,N=$.apply(k,j)):S||(S=setTimeout(P,p)),N}},stringify:function($){return y.isString($)?$:JSON.stringify($)},guid:function(){function $(H){var k=(Math.random().toString(16)+"000000000").substr(2,8);return H?"-"+k.substr(0,4)+"-"+k.substr(4,4):k}return"tt-"+$()+$(!0)+$(!0)+$()},noop:function(){}}})(),te=(function(){var $={wrapper:"twitter-typeahead",input:"tt-input",hint:"tt-hint",menu:"tt-menu",dataset:"tt-dataset",suggestion:"tt-suggestion",selectable:"tt-selectable",empty:"tt-empty",open:"tt-open",cursor:"tt-cursor",highlight:"tt-highlight"};return H;function H(N){var A,P;return P=y.mixin({},$,N),A={css:S(),classes:P,html:k(P),selectors:j(P)},{css:A.css,html:A.html,classes:A.classes,selectors:A.selectors,mixin:function(z){y.mixin(z,A)}}}function k(N){return{wrapper:'<span class="'+N.wrapper+'"></span>',menu:'<div role="listbox" class="'+N.menu+'"></div>'}}function j(N){var A={};return y.each(N,function(P,z){A[z]="."+P}),A}function S(){var N={wrapper:{position:"relative",display:"inline-block"},hint:{position:"absolute",top:"0",left:"0",borderColor:"transparent",boxShadow:"none",opacity:"1"},input:{position:"relative",verticalAlign:"top",backgroundColor:"transparent"},inputWithNoHint:{position:"relative",verticalAlign:"top"},menu:{position:"absolute",top:"100%",left:"0",zIndex:"100",display:"none"},ltr:{left:"0",right:"auto"},rtl:{left:"auto",right:" 0"}};return y.isMsie()&&y.mixin(N.input,{backgroundImage:"url(data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7)"}),N}})(),oe=(function(){var $,H;$="typeahead:",H={render:"rendered",cursorchange:"cursorchanged",select:"selected",autocomplete:"autocompleted"};function k(j){(!j||!j.el)&&R.error("EventBus initialized without el"),this.$el=R(j.el)}return y.mixin(k.prototype,{_trigger:function(j,S){var N=R.Event($+j);return this.$el.trigger.call(this.$el,N,S||[]),N},before:function(j){var S,N;return S=[].slice.call(arguments,1),N=this._trigger("before"+j,S),N.isDefaultPrevented()},trigger:function(j){var S;this._trigger(j,[].slice.call(arguments,1)),(S=H[j])&&this._trigger(S,[].slice.call(arguments,1))}}),k})(),le=(function(){var $=/\s+/,H=z();return{onSync:S,onAsync:j,off:N,trigger:A};function k(s,se,ie,he){var je;if(!ie)return this;for(se=se.split($),ie=he?p(ie,he):ie,this._callbacks=this._callbacks||{};je=se.shift();)this._callbacks[je]=this._callbacks[je]||{sync:[],async:[]},this._callbacks[je][s].push(ie);return this}function j(s,se,ie){return k.call(this,"async",s,se,ie)}function S(s,se,ie){return k.call(this,"sync",s,se,ie)}function N(s){var se;if(!this._callbacks)return this;for(s=s.split($);se=s.shift();)delete this._callbacks[se];return this}function A(s){var se,ie,he,je,ut;if(!this._callbacks)return this;for(s=s.split($),he=[].slice.call(arguments,1);(se=s.shift())&&(ie=this._callbacks[se]);)je=P(ie.sync,this,[se].concat(he)),ut=P(ie.async,this,[se].concat(he)),je()&&H(ut);return this}function P(s,se,ie){return he;function he(){for(var je,ut=0,Oe=s.length;!je&&ut<Oe;ut+=1)je=s[ut].apply(se,ie)===!1;return!je}}function z(){var s;return window.setImmediate?s=function(ie){setImmediate(function(){ie()})}:s=function(ie){setTimeout(function(){ie()},0)},s}function p(s,se){return s.bind?s.bind(se):function(){s.apply(se,[].slice.call(arguments,0))}}})(),be=(function($){var H={node:null,pattern:null,tagName:"strong",className:null,wordsOnly:!1,caseSensitive:!1,diacriticInsensitive:!1},k={A:"[AaªÀ-Åà-åĀ-ąǍǎȀ-ȃȦȧᴬᵃḀḁẚẠ-ảₐ℀℁℻⒜Ⓐⓐ㍱-㍴㎀-㎄㎈㎉㎩-㎯㏂㏊㏟㏿Aa]",B:"[BbᴮᵇḂ-ḇℬ⒝Ⓑⓑ㍴㎅-㎇㏃㏈㏔㏝Bb]",C:"[CcÇçĆ-čᶜ℀ℂ℃℅℆ℭⅭⅽ⒞Ⓒⓒ㍶㎈㎉㎝㎠㎤㏄-㏇Cc]",D:"[DdĎďDŽ-džDZ-dzᴰᵈḊ-ḓⅅⅆⅮⅾ⒟Ⓓⓓ㋏㍲㍷-㍹㎗㎭-㎯㏅㏈Dd]",E:"[EeÈ-Ëè-ëĒ-ěȄ-ȇȨȩᴱᵉḘ-ḛẸ-ẽₑ℡ℯℰⅇ⒠Ⓔⓔ㉐㋍㋎Ee]",F:"[FfᶠḞḟ℉ℱ℻⒡Ⓕⓕ㎊-㎌㎙ff-fflFf]",G:"[GgĜ-ģǦǧǴǵᴳᵍḠḡℊ⒢Ⓖⓖ㋌㋍㎇㎍-㎏㎓㎬㏆㏉㏒㏿Gg]",H:"[HhĤĥȞȟʰᴴḢ-ḫẖℋ-ℎ⒣Ⓗⓗ㋌㍱㎐-㎔㏊㏋㏗Hh]",I:"[IiÌ-Ïì-ïĨ-İIJijǏǐȈ-ȋᴵᵢḬḭỈ-ịⁱℐℑℹⅈⅠ-ⅣⅥ-ⅨⅪⅫⅰ-ⅳⅵ-ⅸⅺⅻ⒤Ⓘⓘ㍺㏌㏕fiffiIi]",J:"[JjIJ-ĵLJ-njǰʲᴶⅉ⒥ⒿⓙⱼJj]",K:"[KkĶķǨǩᴷᵏḰ-ḵK⒦Ⓚⓚ㎄㎅㎉㎏㎑㎘㎞㎢㎦㎪㎸㎾㏀㏆㏍-㏏Kk]",L:"[LlĹ-ŀLJ-ljˡᴸḶḷḺ-ḽℒℓ℡Ⅼⅼ⒧Ⓛⓛ㋏㎈㎉㏐-㏓㏕㏖㏿flfflLl]",M:"[MmᴹᵐḾ-ṃ℠™ℳⅯⅿ⒨Ⓜⓜ㍷-㍹㎃㎆㎎㎒㎖㎙-㎨㎫㎳㎷㎹㎽㎿㏁㏂㏎㏐㏔-㏖㏘㏙㏞㏟Mm]",N:"[NnÑñŃ-ʼnNJ-njǸǹᴺṄ-ṋⁿℕ№⒩Ⓝⓝ㎁㎋㎚㎱㎵㎻㏌㏑Nn]",O:"[OoºÒ-Öò-öŌ-őƠơǑǒǪǫȌ-ȏȮȯᴼᵒỌ-ỏₒ℅№ℴ⒪Ⓞⓞ㍵㏇㏒㏖Oo]",P:"[PpᴾᵖṔ-ṗℙ⒫Ⓟⓟ㉐㍱㍶㎀㎊㎩-㎬㎰㎴㎺㏋㏗-㏚Pp]",Q:"[Qqℚ⒬Ⓠⓠ㏃Qq]",R:"[RrŔ-řȐ-ȓʳᴿᵣṘ-ṛṞṟ₨ℛ-ℝ⒭Ⓡⓡ㋍㍴㎭-㎯㏚㏛Rr]",S:"[SsŚ-šſȘșˢṠ-ṣ₨℁℠⒮Ⓢⓢ㎧㎨㎮-㎳㏛㏜stSs]",T:"[TtŢ-ťȚțᵀᵗṪ-ṱẗ℡™⒯Ⓣⓣ㉐㋏㎔㏏ſtstTt]",U:"[UuÙ-Üù-üŨ-ųƯưǓǔȔ-ȗᵁᵘᵤṲ-ṷỤ-ủ℆⒰Ⓤⓤ㍳㍺Uu]",V:"[VvᵛᵥṼ-ṿⅣ-Ⅷⅳ-ⅷ⒱Ⓥⓥⱽ㋎㍵㎴-㎹㏜㏞Vv]",W:"[WwŴŵʷᵂẀ-ẉẘ⒲Ⓦⓦ㎺-㎿㏝Ww]",X:"[XxˣẊ-ẍₓ℻Ⅸ-Ⅻⅸ-ⅻ⒳Ⓧⓧ㏓Xx]",Y:"[YyÝýÿŶ-ŸȲȳʸẎẏẙỲ-ỹ⒴Ⓨⓨ㏉Yy]",Z:"[ZzŹ-žDZ-dzᶻẐ-ẕℤℨ⒵Ⓩⓩ㎐-㎔Zz]"};return function(A){var P;if(A=y.mixin({},H,A),!A.node||!A.pattern)return;A.pattern=y.isArray(A.pattern)?A.pattern:[A.pattern],P=S(A.pattern,A.caseSensitive,A.wordsOnly,A.diacriticInsensitive),p(A.node,z);function z(s){var se,ie,he;return(se=P.exec(s.data))&&(he=$.createElement(A.tagName),A.className&&(he.className=A.className),ie=s.splitText(se.index),ie.splitText(se[0].length),he.appendChild(ie.cloneNode(!0)),s.parentNode.replaceChild(he,ie)),!!se}function p(s,se){for(var ie,he=3,je=0;je<s.childNodes.length;je++)ie=s.childNodes[je],ie.nodeType===he?je+=se(ie)?1:0:p(ie,se)}};function j(N){return k[N.toUpperCase()]||N}function S(N,A,P,z){for(var p=[],s,se=0,ie=N.length;se<ie;se++){var he=y.escapeRegExChars(N[se]);z&&(he=he.replace(/\S/g,j)),p.push(he)}return s=P?"\\b("+p.join("|")+")\\b":"("+p.join("|")+")",A?new RegExp(s):new RegExp(s,"i")}})(window.document),Pe=(function(){var $;$={9:"tab",27:"esc",37:"left",39:"right",13:"enter",38:"up",40:"down"};function H(N,A){N=N||{},N.input||R.error("input is missing"),A.mixin(this),this.$hint=R(N.hint),this.$input=R(N.input),this.$input.attr({"aria-activedescendant":"","aria-owns":this.$input.attr("id")+"_listbox",role:"combobox","aria-readonly":"true","aria-autocomplete":"list"}),R(A.menu).attr("id",this.$input.attr("id")+"_listbox"),this.query=this.$input.val(),this.queryWhenFocused=this.hasFocus()?this.query:null,this.$overflowHelper=k(this.$input),this._checkLanguageDirection(),this.$hint.length===0&&(this.setHint=this.getHint=this.clearHint=this.clearHintIfInvalid=y.noop),this.onSync("cursorchange",this._updateDescendent)}return H.normalizeQuery=function(N){return y.toStr(N).replace(/^\s*/g,"").replace(/\s{2,}/g," ")},y.mixin(H.prototype,le,{_onBlur:function(){this.resetInputValue(),this.trigger("blurred")},_onFocus:function(){this.queryWhenFocused=this.query,this.trigger("focused")},_onKeydown:function(A){var P=$[A.which||A.keyCode];this._managePreventDefault(P,A),P&&this._shouldTrigger(P,A)&&this.trigger(P+"Keyed",A)},_onInput:function(){this._setQuery(this.getInputValue()),this.clearHintIfInvalid(),this._checkLanguageDirection()},_managePreventDefault:function(A,P){var z;switch(A){case"up":case"down":z=!S(P);break;default:z=!1}z&&P.preventDefault()},_shouldTrigger:function(A,P){var z;return A==="tab"?z=!S(P):z=!0,z},_checkLanguageDirection:function(){var A=(this.$input.css("direction")||"ltr").toLowerCase();this.dir!==A&&(this.dir=A,this.$hint.attr("dir",A),this.trigger("langDirChanged",A))},_setQuery:function(A,P){var z,p;z=j(A,this.query),p=z?this.query.length!==A.length:!1,this.query=A,!P&&!z?this.trigger("queryChanged",this.query):!P&&p&&this.trigger("whitespaceChanged",this.query)},_updateDescendent:function(A,P){this.$input.attr("aria-activedescendant",P)},bind:function(){var N=this,A,P,z,p;return A=y.bind(this._onBlur,this),P=y.bind(this._onFocus,this),z=y.bind(this._onKeydown,this),p=y.bind(this._onInput,this),this.$input.on("blur.tt",A).on("focus.tt",P).on("keydown.tt",z),!y.isMsie()||y.isMsie()>9?this.$input.on("input.tt",p):this.$input.on("keydown.tt keypress.tt cut.tt paste.tt",function(s){$[s.which||s.keyCode]||y.defer(y.bind(N._onInput,N,s))}),this},focus:function(){this.$input.focus()},blur:function(){this.$input.blur()},getLangDir:function(){return this.dir},getQuery:function(){return this.query||""},setQuery:function(A,P){this.setInputValue(A),this._setQuery(A,P)},hasQueryChangedSinceLastFocus:function(){return this.query!==this.queryWhenFocused},getInputValue:function(){return this.$input.val()},setInputValue:function(A){this.$input.val(A),this.clearHintIfInvalid(),this._checkLanguageDirection()},resetInputValue:function(){this.setInputValue(this.query)},getHint:function(){return this.$hint.val()},setHint:function(A){this.$hint.val(A)},clearHint:function(){this.setHint("")},clearHintIfInvalid:function(){var A,P,z,p;A=this.getInputValue(),P=this.getHint(),z=A!==P&&P.indexOf(A)===0,p=A!==""&&z&&!this.hasOverflow(),!p&&this.clearHint()},hasFocus:function(){return this.$input.is(":focus")},hasOverflow:function(){var A=this.$input.width()-2;return this.$overflowHelper.text(this.getInputValue()),this.$overflowHelper.width()>=A},isCursorAtEnd:function(){var N,A,P;return N=this.$input.val().length,A=this.$input[0].selectionStart,y.isNumber(A)?A===N:document.selection?(P=document.selection.createRange(),P.moveStart("character",-N),N===P.text.length):!0},destroy:function(){this.$hint.off(".tt"),this.$input.off(".tt"),this.$overflowHelper.remove(),this.$hint=this.$input=this.$overflowHelper=R("<div>")}}),H;function k(N){return R('<pre aria-hidden="true"></pre>').css({position:"absolute",visibility:"hidden",whiteSpace:"pre",fontFamily:N.css("font-family"),fontSize:N.css("font-size"),fontStyle:N.css("font-style"),fontVariant:N.css("font-variant"),fontWeight:N.css("font-weight"),wordSpacing:N.css("word-spacing"),letterSpacing:N.css("letter-spacing"),textIndent:N.css("text-indent"),textRendering:N.css("text-rendering"),textTransform:N.css("text-transform")}).insertAfter(N)}function j(N,A){return H.normalizeQuery(N)===H.normalizeQuery(A)}function S(N){return N.altKey||N.ctrlKey||N.metaKey||N.shiftKey}})(),ke=(function(){var $,H;$={dataset:"tt-selectable-dataset",val:"tt-selectable-display",obj:"tt-selectable-object"},H=y.getIdGenerator();function k(A,P){A=A||{},A.templates=A.templates||{},A.templates.notFound=A.templates.notFound||A.templates.empty,A.source||R.error("missing source"),A.node||R.error("missing node"),A.name&&!N(A.name)&&R.error("invalid dataset name: "+A.name),P.mixin(this),this.highlight=!!A.highlight,this.name=y.toStr(A.name||H()),this.limit=A.limit||5,this.displayFn=j(A.display||A.displayKey),this.templates=S(A.templates,this.displayFn),this.source=A.source.__ttAdapter?A.source.__ttAdapter():A.source,this.async=y.isUndefined(A.async)?this.source.length>2:!!A.async,this._resetLastSuggestion(),this.$el=R(A.node).attr("role","presentation").addClass(this.classes.dataset).addClass(this.classes.dataset+"-"+this.name)}return k.extractData=function(P){var z=R(P);return z.data($.obj)?{dataset:z.data($.dataset)||"",val:z.data($.val)||"",obj:z.data($.obj)||null}:null},y.mixin(k.prototype,le,{_overwrite:function(P,z){z=z||[],z.length?this._renderSuggestions(P,z):this.async&&this.templates.pending?this._renderPending(P):!this.async&&this.templates.notFound?this._renderNotFound(P):this._empty(),this.trigger("rendered",z,!1,this.name)},_append:function(P,z){z=z||[],z.length&&this.$lastSuggestion.length?this._appendSuggestions(P,z):z.length?this._renderSuggestions(P,z):!this.$lastSuggestion.length&&this.templates.notFound&&this._renderNotFound(P),this.trigger("rendered",z,!0,this.name)},_renderSuggestions:function(P,z){var p;p=this._getSuggestionsFragment(P,z),this.$lastSuggestion=p.children().last(),this.$el.html(p).prepend(this._getHeader(P,z)).append(this._getFooter(P,z))},_appendSuggestions:function(P,z){var p,s;p=this._getSuggestionsFragment(P,z),s=p.children().last(),this.$lastSuggestion.after(p),this.$lastSuggestion=s},_renderPending:function(P){var z=this.templates.pending;this._resetLastSuggestion(),z&&this.$el.html(z({query:P,dataset:this.name}))},_renderNotFound:function(P){var z=this.templates.notFound;this._resetLastSuggestion(),z&&this.$el.html(z({query:P,dataset:this.name}))},_empty:function(){this.$el.empty(),this._resetLastSuggestion()},_getSuggestionsFragment:function(P,z){var p=this,s;return s=document.createDocumentFragment(),y.each(z,function(ie){var he,je;je=p._injectQuery(P,ie),he=R(p.templates.suggestion(je)).data($.dataset,p.name).data($.obj,ie).data($.val,p.displayFn(ie)).addClass(p.classes.suggestion+" "+p.classes.selectable),s.appendChild(he[0])}),this.highlight&&be({className:this.classes.highlight,node:s,pattern:P}),R(s)},_getFooter:function(P,z){return this.templates.footer?this.templates.footer({query:P,suggestions:z,dataset:this.name}):null},_getHeader:function(P,z){return this.templates.header?this.templates.header({query:P,suggestions:z,dataset:this.name}):null},_resetLastSuggestion:function(){this.$lastSuggestion=R()},_injectQuery:function(P,z){return y.isObject(z)?y.mixin({_query:P},z):z},update:function(P){var z=this,p=!1,s=!1,se=0;this.cancel(),this.cancel=function(){p=!0,z.cancel=R.noop,z.async&&z.trigger("asyncCanceled",P,z.name)},this.source(P,ie,he),!s&&ie([]);function ie(je){s||(s=!0,je=(je||[]).slice(0,z.limit),se=je.length,z._overwrite(P,je),se<z.limit&&z.async&&z.trigger("asyncRequested",P,z.name))}function he(je){if(je=je||[],!p&&se<z.limit){z.cancel=R.noop;var ut=Math.abs(se-z.limit);se+=ut,z._append(P,je.slice(0,ut)),z.async&&z.trigger("asyncReceived",P,z.name)}}},cancel:R.noop,clear:function(){this._empty(),this.cancel(),this.trigger("cleared")},isEmpty:function(){return this.$el.is(":empty")},destroy:function(){this.$el=R("<div>")}}),k;function j(A){return A=A||y.stringify,y.isFunction(A)?A:P;function P(z){return z[A]}}function S(A,P){return{notFound:A.notFound&&y.templatify(A.notFound),pending:A.pending&&y.templatify(A.pending),header:A.header&&y.templatify(A.header),footer:A.footer&&y.templatify(A.footer),suggestion:A.suggestion||z};function z(p){return R('<div role="option">').attr("id",y.guid()).text(P(p))}}function N(A){return/^[_a-zA-Z0-9-]+$/.test(A)}})(),Le=(function(){function $(H,k){var j=this;H=H||{},H.node||R.error("node is required"),k.mixin(this),this.$node=R(H.node),this.query=null,this.datasets=y.map(H.datasets,S);function S(N){var A=j.$node.find(N.node).first();return N.node=A.length?A:R("<div>").appendTo(j.$node),new ke(N,k)}}return y.mixin($.prototype,le,{_onSelectableClick:function(k){this.trigger("selectableClicked",R(k.currentTarget))},_onRendered:function(k,j,S,N){this.$node.toggleClass(this.classes.empty,this._allDatasetsEmpty()),this.trigger("datasetRendered",j,S,N)},_onCleared:function(){this.$node.toggleClass(this.classes.empty,this._allDatasetsEmpty()),this.trigger("datasetCleared")},_propagate:function(){this.trigger.apply(this,arguments)},_allDatasetsEmpty:function(){return y.every(this.datasets,y.bind(function(j){var S=j.isEmpty();return this.$node.attr("aria-expanded",!S),S},this))},_getSelectables:function(){return this.$node.find(this.selectors.selectable)},_removeCursor:function(){var k=this.getActiveSelectable();k&&k.removeClass(this.classes.cursor)},_ensureVisible:function(k){var j,S,N,A;j=k.position().top,S=j+k.outerHeight(!0),N=this.$node.scrollTop(),A=this.$node.height()+parseInt(this.$node.css("paddingTop"),10)+parseInt(this.$node.css("paddingBottom"),10),j<0?this.$node.scrollTop(N+j):A<S&&this.$node.scrollTop(N+(S-A))},bind:function(){var H=this,k;return k=y.bind(this._onSelectableClick,this),this.$node.on("click.tt",this.selectors.selectable,k),this.$node.on("mouseover",this.selectors.selectable,function(){H.setCursor(R(this))}),this.$node.on("mouseleave",function(){H._removeCursor()}),y.each(this.datasets,function(j){j.onSync("asyncRequested",H._propagate,H).onSync("asyncCanceled",H._propagate,H).onSync("asyncReceived",H._propagate,H).onSync("rendered",H._onRendered,H).onSync("cleared",H._onCleared,H)}),this},isOpen:function(){return this.$node.hasClass(this.classes.open)},open:function(){this.$node.scrollTop(0),this.$node.addClass(this.classes.open)},close:function(){this.$node.attr("aria-expanded",!1),this.$node.removeClass(this.classes.open),this._removeCursor()},setLanguageDirection:function(k){this.$node.attr("dir",k)},selectableRelativeToCursor:function(k){var j,S,N,A;return S=this.getActiveSelectable(),j=this._getSelectables(),N=S?j.index(S):-1,A=N+k,A=(A+1)%(j.length+1)-1,A=A<-1?j.length-1:A,A===-1?null:j.eq(A)},setCursor:function(k){this._removeCursor(),(k=k&&k.first())&&(k.addClass(this.classes.cursor),this._ensureVisible(k))},getSelectableData:function(k){return k&&k.length?ke.extractData(k):null},getActiveSelectable:function(){var k=this._getSelectables().filter(this.selectors.cursor).first();return k.length?k:null},getTopSelectable:function(){var k=this._getSelectables().first();return k.length?k:null},update:function(k){var j=k!==this.query;return j&&(this.query=k,y.each(this.datasets,S)),j;function S(N){N.update(k)}},empty:function(){y.each(this.datasets,k),this.query=null,this.$node.addClass(this.classes.empty);function k(j){j.clear()}},destroy:function(){this.$node.off(".tt"),this.$node=R("<div>"),y.each(this.datasets,k);function k(j){j.destroy()}}}),$})(),Ke=(function(){function $(H){this.el='<span role="status" aria-live="polite" class="visuallyhidden"></span>',this.$el=R(this.el),H.$input.after(this.$el),y.each(H.menu.datasets,y.bind(function(k){k.onSync&&(k.onSync("rendered",y.bind(this.update,this)),k.onSync("cleared",y.bind(this.cleared,this)))},this))}return y.mixin($.prototype,{update:function(k,j){var S=j.length,N;S===1?N={result:"result",is:"is"}:N={result:"results",is:"are"},this.$el.text(S+" "+N.result+" "+N.is+" available, use up and down arrow keys to navigate.")},cleared:function(){this.$el.text("")}}),$})(),Ne=(function(){var $=Le.prototype;function H(){Le.apply(this,[].slice.call(arguments,0))}return y.mixin(H.prototype,Le.prototype,{open:function(){return!this._allDatasetsEmpty()&&this._show(),$.open.apply(this,[].slice.call(arguments,0))},close:function(){return this._hide(),$.close.apply(this,[].slice.call(arguments,0))},_onRendered:function(){return this._allDatasetsEmpty()?this._hide():this.isOpen()&&this._show(),$._onRendered.apply(this,[].slice.call(arguments,0))},_onCleared:function(){return this._allDatasetsEmpty()?this._hide():this.isOpen()&&this._show(),$._onCleared.apply(this,[].slice.call(arguments,0))},setLanguageDirection:function(j){return this.$node.css(j==="ltr"?this.css.ltr:this.css.rtl),$.setLanguageDirection.apply(this,[].slice.call(arguments,0))},_hide:function(){this.$node.hide()},_show:function(){this.$node.css("display","block")}}),H})(),De=(function(){function $(k,j){var S,N,A,P,z,p,s,se,ie,he,je;k=k||{},k.input||R.error("missing input"),k.menu||R.error("missing menu"),k.eventBus||R.error("missing event bus"),j.mixin(this),this.eventBus=k.eventBus,this.minLength=y.isNumber(k.minLength)?k.minLength:1,this.input=k.input,this.menu=k.menu,this.enabled=!0,this.active=!1,this.input.hasFocus()&&this.activate(),this.dir=this.input.getLangDir(),this._hacks(),this.menu.bind().onSync("selectableClicked",this._onSelectableClicked,this).onSync("asyncRequested",this._onAsyncRequested,this).onSync("asyncCanceled",this._onAsyncCanceled,this).onSync("asyncReceived",this._onAsyncReceived,this).onSync("datasetRendered",this._onDatasetRendered,this).onSync("datasetCleared",this._onDatasetCleared,this),S=H(this,"activate","open","_onFocused"),N=H(this,"deactivate","_onBlurred"),A=H(this,"isActive","isOpen","_onEnterKeyed"),P=H(this,"isActive","isOpen","_onTabKeyed"),z=H(this,"isActive","_onEscKeyed"),p=H(this,"isActive","open","_onUpKeyed"),s=H(this,"isActive","open","_onDownKeyed"),se=H(this,"isActive","isOpen","_onLeftKeyed"),ie=H(this,"isActive","isOpen","_onRightKeyed"),he=H(this,"_openIfActive","_onQueryChanged"),je=H(this,"_openIfActive","_onWhitespaceChanged"),this.input.bind().onSync("focused",S,this).onSync("blurred",N,this).onSync("enterKeyed",A,this).onSync("tabKeyed",P,this).onSync("escKeyed",z,this).onSync("upKeyed",p,this).onSync("downKeyed",s,this).onSync("leftKeyed",se,this).onSync("rightKeyed",ie,this).onSync("queryChanged",he,this).onSync("whitespaceChanged",je,this).onSync("langDirChanged",this._onLangDirChanged,this)}return y.mixin($.prototype,{_hacks:function(){var j,S;j=this.input.$input||R("<div>"),S=this.menu.$node||R("<div>"),j.on("blur.tt",function(N){var A,P,z;A=document.activeElement,P=S.is(A),z=S.has(A).length>0,y.isMsie()&&(P||z)&&(N.preventDefault(),N.stopImmediatePropagation(),y.defer(function(){j.focus()}))}),S.on("mousedown.tt",function(N){N.preventDefault()})},_onSelectableClicked:function(j,S){this.select(S)},_onDatasetCleared:function(){this._updateHint()},_onDatasetRendered:function(j,S,N,A){this._updateHint(),this.eventBus.trigger("render",S,N,A)},_onAsyncRequested:function(j,S,N){this.eventBus.trigger("asyncrequest",N,S)},_onAsyncCanceled:function(j,S,N){this.eventBus.trigger("asynccancel",N,S)},_onAsyncReceived:function(j,S,N){this.eventBus.trigger("asyncreceive",N,S)},_onFocused:function(){this._minLengthMet()&&this.menu.update(this.input.getQuery())},_onBlurred:function(){this.input.hasQueryChangedSinceLastFocus()&&this.eventBus.trigger("change",this.input.getQuery())},_onEnterKeyed:function(j,S){var N;(N=this.menu.getActiveSelectable())&&this.select(N)&&(S.preventDefault(),S.stopPropagation())},_onTabKeyed:function(j,S){var N;(N=this.menu.getActiveSelectable())?this.select(N)&&S.preventDefault():(N=this.menu.getTopSelectable())&&this.autocomplete(N)&&S.preventDefault()},_onEscKeyed:function(){this.close()},_onUpKeyed:function(){this.moveCursor(-1)},_onDownKeyed:function(){this.moveCursor(1)},_onLeftKeyed:function(){this.dir==="rtl"&&this.input.isCursorAtEnd()&&this.autocomplete(this.menu.getActiveSelectable()||this.menu.getTopSelectable())},_onRightKeyed:function(){this.dir==="ltr"&&this.input.isCursorAtEnd()&&this.autocomplete(this.menu.getActiveSelectable()||this.menu.getTopSelectable())},_onQueryChanged:function(j,S){this._minLengthMet(S)?this.menu.update(S):this.menu.empty()},_onWhitespaceChanged:function(){this._updateHint()},_onLangDirChanged:function(j,S){this.dir!==S&&(this.dir=S,this.menu.setLanguageDirection(S))},_openIfActive:function(){this.isActive()&&this.open()},_minLengthMet:function(j){return j=y.isString(j)?j:this.input.getQuery()||"",j.length>=this.minLength},_updateHint:function(){var j,S,N,A,P,z,p;j=this.menu.getTopSelectable(),S=this.menu.getSelectableData(j),N=this.input.getInputValue(),S&&!y.isBlankString(N)&&!this.input.hasOverflow()?(A=Pe.normalizeQuery(N),P=y.escapeRegExChars(A),z=new RegExp("^(?:"+P+")(.+$)","i"),p=z.exec(S.val),p&&this.input.setHint(N+p[1])):this.input.clearHint()},isEnabled:function(){return this.enabled},enable:function(){this.enabled=!0},disable:function(){this.enabled=!1},isActive:function(){return this.active},activate:function(){return this.isActive()?!0:!this.isEnabled()||this.eventBus.before("active")?!1:(this.active=!0,this.eventBus.trigger("active"),!0)},deactivate:function(){return this.isActive()?this.eventBus.before("idle")?!1:(this.active=!1,this.close(),this.eventBus.trigger("idle"),!0):!0},isOpen:function(){return this.menu.isOpen()},open:function(){return!this.isOpen()&&!this.eventBus.before("open")&&(this.menu.open(),this._updateHint(),this.eventBus.trigger("open")),this.isOpen()},close:function(){return this.isOpen()&&!this.eventBus.before("close")&&(this.menu.close(),this.input.clearHint(),this.input.resetInputValue(),this.eventBus.trigger("close")),!this.isOpen()},setVal:function(j){this.input.setQuery(y.toStr(j))},getVal:function(){return this.input.getQuery()},select:function(j){var S=this.menu.getSelectableData(j);return S&&!this.eventBus.before("select",S.obj,S.dataset)?(this.input.setQuery(S.val,!0),this.eventBus.trigger("select",S.obj,S.dataset),this.close(),!0):!1},autocomplete:function(j){var S,N,A;return S=this.input.getQuery(),N=this.menu.getSelectableData(j),A=N&&S!==N.val,A&&!this.eventBus.before("autocomplete",N.obj,N.dataset)?(this.input.setQuery(N.val),this.eventBus.trigger("autocomplete",N.obj,N.dataset),!0):!1},moveCursor:function(j){var S,N,A,P,z,p,s;return S=this.input.getQuery(),N=this.menu.selectableRelativeToCursor(j),A=this.menu.getSelectableData(N),P=A?A.obj:null,z=A?A.dataset:null,s=N?N.attr("id"):null,this.input.trigger("cursorchange",s),p=this._minLengthMet()&&this.menu.update(S),!p&&!this.eventBus.before("cursorchange",P,z)?(this.menu.setCursor(N),A?this.input.setInputValue(A.val):(this.input.resetInputValue(),this._updateHint()),this.eventBus.trigger("cursorchange",P,z),!0):!1},destroy:function(){this.input.destroy(),this.menu.destroy()}}),$;function H(k){var j=[].slice.call(arguments,1);return function(){var S=[].slice.call(arguments);y.each(j,function(N){return k[N].apply(k,S)})}}})();(function(){var $,H,k;$=R.fn.typeahead,H={www:"tt-www",attrs:"tt-attrs",typeahead:"tt-typeahead"},k={initialize:function(s,se){var ie;return se=y.isArray(se)?se:[].slice.call(arguments,1),s=s||{},ie=te(s.classNames),this.each(he);function he(){var je,ut,Oe,Nt,pt,kn,D,G,Q,pe,ye;y.each(se,function(_e){_e.highlight=!!s.highlight}),je=R(this),ut=R(ie.html.wrapper),Oe=z(s.hint),Nt=z(s.menu),pt=s.hint!==!1&&!Oe,kn=s.menu!==!1&&!Nt,pt&&(Oe=S(je,ie)),kn&&(Nt=R(ie.html.menu).css(ie.css.menu)),Oe&&Oe.val(""),je=N(je,ie),(pt||kn)&&(ut.css(ie.css.wrapper),je.css(pt?ie.css.input:ie.css.inputWithNoHint),je.wrap(ut).parent().prepend(pt?Oe:null).append(kn?Nt:null)),ye=kn?Ne:Le,D=new oe({el:je}),G=new Pe({hint:Oe,input:je},ie),Q=new ye({node:Nt,datasets:se},ie),new Ke({$input:je,menu:Q}),pe=new De({input:G,menu:Q,eventBus:D,minLength:s.minLength},ie),je.data(H.www,ie),je.data(H.typeahead,pe)}},isEnabled:function(){var s;return j(this.first(),function(se){s=se.isEnabled()}),s},enable:function(){return j(this,function(s){s.enable()}),this},disable:function(){return j(this,function(s){s.disable()}),this},isActive:function(){var s;return j(this.first(),function(se){s=se.isActive()}),s},activate:function(){return j(this,function(s){s.activate()}),this},deactivate:function(){return j(this,function(s){s.deactivate()}),this},isOpen:function(){var s;return j(this.first(),function(se){s=se.isOpen()}),s},open:function(){return j(this,function(s){s.open()}),this},close:function(){return j(this,function(s){s.close()}),this},select:function(s){var se=!1,ie=R(s);return j(this.first(),function(he){se=he.select(ie)}),se},autocomplete:function(s){var se=!1,ie=R(s);return j(this.first(),function(he){se=he.autocomplete(ie)}),se},moveCursor:function(s){var se=!1;return j(this.first(),function(ie){se=ie.moveCursor(s)}),se},val:function(s){var se;return arguments.length?(j(this,function(ie){ie.setVal(y.toStr(s))}),this):(j(this.first(),function(ie){se=ie.getVal()}),se)},destroy:function(){return j(this,function(s,se){P(se),s.destroy()}),this}},R.fn.typeahead=function(p){return k[p]?k[p].apply(this,[].slice.call(arguments,1)):k.initialize.apply(this,arguments)},R.fn.typeahead.noConflict=function(){return R.fn.typeahead=$,this};function j(p,s){p.each(function(){var se=R(this),ie;(ie=se.data(H.typeahead))&&s(ie,se)})}function S(p,s){return p.clone().addClass(s.classes.hint).removeData().css(s.css.hint).css(A(p)).prop("readonly",!0).removeAttr("id name placeholder required").attr({spellcheck:"false",tabindex:-1})}function N(p,s){p.data(H.attrs,{dir:p.attr("dir"),autocomplete:p.attr("autocomplete"),spellcheck:p.attr("spellcheck"),style:p.attr("style")}),p.addClass(s.classes.input).attr({spellcheck:!1});try{!p.attr("dir")&&p.attr("dir","auto")}catch{}return p}function A(p){return{backgroundAttachment:p.css("background-attachment"),backgroundClip:p.css("background-clip"),backgroundColor:p.css("background-color"),backgroundImage:p.css("background-image"),backgroundOrigin:p.css("background-origin"),backgroundPosition:p.css("background-position"),backgroundRepeat:p.css("background-repeat"),backgroundSize:p.css("background-size")}}function P(p){var s,se;s=p.data(H.www),se=p.parent().filter(s.selectors.wrapper),y.each(p.data(H.attrs),function(ie,he){y.isUndefined(ie)?p.removeAttr(he):p.attr(he,ie)}),p.removeData(H.typeahead).removeData(H.www).removeData(H.attr).removeClass(s.classes.input),se.length&&(p.detach().insertAfter(se),se.remove())}function z(p){var s,se;return s=y.isJQuery(p)||y.isElement(p),se=s?R(p).first():[],se.length?se:null}})()})})(Yo)),Yo.exports}var Bs,pu;function gu(){return pu||(pu=1,Bs={Bloodhound:Pl(),loadjQueryPlugin:function(){Ml()}}),Bs}var vu;function Hl(){if(vu)return Pa;vu=1,Ll();var V=Il(),R=gu(),y=gu().Bloodhound;return R.loadjQueryPlugin(),V(".typeahead").each(function(){var oe=V(this),le=oe.parent(),be=oe.prop("attributes"),Pe=V("<input/>"),ke=oe.val(),Le=oe.find("option").map(function(){if(this.value!=="")return this.value}).get();oe.remove(),V.each(be,function(){Pe.attr(this.name,this.value)}),Pe.removeClass("js-hidden"),Pe.addClass("form-control"),Pe.val(ke),le.append(Pe),Pe.typeahead({hint:!1},{source:new y({datumTokenizer:y.tokenizers.whitespace,queryTokenizer:y.tokenizers.whitespace,local:Le,sorter:function(Ne,De){var $=Pe.val(),H=function(A){return A.toLowerCase().substr(0,$.length)===$.toLowerCase()?-1:1},k=function(A,P){var z=A<P?-1:1;return A===P?0:z},j=function(A,P){var z=H(A),p=H(P);return z===p?0:z},S=j(Ne,De);return S===0?k(Ne,De):S}}),limit:100})}),Pa}Hl()})();
|