function sa(n,t){return function(){return n.apply(t,arguments)}}const{toString:Hc}=Object.prototype,{getPrototypeOf:Fr}=Object,{iterator:Ti,toStringTag:oa}=Symbol,wi=(n=>t=>{const r=Hc.call(t);return n[r]||(n[r]=r.slice(8,-1).toLowerCase())})(Object.create(null)),Ve=n=>(n=n.toLowerCase(),t=>wi(t)===n),Si=n=>t=>typeof t===n,{isArray:on}=Array,Qt=Si("undefined");function Cn(n){return n!==null&&!Qt(n)&&n.constructor!==null&&!Qt(n.constructor)&&Oe(n.constructor.isBuffer)&&n.constructor.isBuffer(n)}const aa=Ve("ArrayBuffer");function $c(n){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(n):t=n&&n.buffer&&aa(n.buffer),t}const Fc=Si("string"),Oe=Si("function"),la=Si("number"),On=n=>n!==null&&typeof n=="object",Bc=n=>n===!0||n===!1,li=n=>{if(wi(n)!=="object")return!1;const t=Fr(n);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(oa in n)&&!(Ti in n)},qc=n=>{if(!On(n)||Cn(n))return!1;try{return Object.keys(n).length===0&&Object.getPrototypeOf(n)===Object.prototype}catch{return!1}},Uc=Ve("Date"),Wc=Ve("File"),Vc=Ve("Blob"),zc=Ve("FileList"),Kc=n=>On(n)&&Oe(n.pipe),Yc=n=>{let t;return n&&(typeof FormData=="function"&&n instanceof FormData||Oe(n.append)&&((t=wi(n))==="formdata"||t==="object"&&Oe(n.toString)&&n.toString()==="[object FormData]"))},Gc=Ve("URLSearchParams"),[Xc,Qc,Jc,Zc]=["ReadableStream","Request","Response","Headers"].map(Ve),eu=n=>n.trim?n.trim():n.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function Nn(n,t,{allOwnKeys:r=!1}={}){if(n===null||typeof n>"u")return;let o,c;if(typeof n!="object"&&(n=[n]),on(n))for(o=0,c=n.length;o0;)if(c=r[o],t===c.toLowerCase())return c;return null}const Tt=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,ua=n=>!Qt(n)&&n!==Tt;function Nr(){const{caseless:n,skipUndefined:t}=ua(this)&&this||{},r={},o=(c,d)=>{const h=n&&ca(r,d)||d;li(r[h])&&li(c)?r[h]=Nr(r[h],c):li(c)?r[h]=Nr({},c):on(c)?r[h]=c.slice():(!t||!Qt(c))&&(r[h]=c)};for(let c=0,d=arguments.length;c(Nn(t,(c,d)=>{r&&Oe(c)?n[d]=sa(c,r):n[d]=c},{allOwnKeys:o}),n),nu=n=>(n.charCodeAt(0)===65279&&(n=n.slice(1)),n),iu=(n,t,r,o)=>{n.prototype=Object.create(t.prototype,o),n.prototype.constructor=n,Object.defineProperty(n,"super",{value:t.prototype}),r&&Object.assign(n.prototype,r)},ru=(n,t,r,o)=>{let c,d,h;const p={};if(t=t||{},n==null)return t;do{for(c=Object.getOwnPropertyNames(n),d=c.length;d-- >0;)h=c[d],(!o||o(h,n,t))&&!p[h]&&(t[h]=n[h],p[h]=!0);n=r!==!1&&Fr(n)}while(n&&(!r||r(n,t))&&n!==Object.prototype);return t},su=(n,t,r)=>{n=String(n),(r===void 0||r>n.length)&&(r=n.length),r-=t.length;const o=n.indexOf(t,r);return o!==-1&&o===r},ou=n=>{if(!n)return null;if(on(n))return n;let t=n.length;if(!la(t))return null;const r=new Array(t);for(;t-- >0;)r[t]=n[t];return r},au=(n=>t=>n&&t instanceof n)(typeof Uint8Array<"u"&&Fr(Uint8Array)),lu=(n,t)=>{const o=(n&&n[Ti]).call(n);let c;for(;(c=o.next())&&!c.done;){const d=c.value;t.call(n,d[0],d[1])}},cu=(n,t)=>{let r;const o=[];for(;(r=n.exec(t))!==null;)o.push(r);return o},uu=Ve("HTMLFormElement"),fu=n=>n.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(r,o,c){return o.toUpperCase()+c}),Xs=(({hasOwnProperty:n})=>(t,r)=>n.call(t,r))(Object.prototype),du=Ve("RegExp"),fa=(n,t)=>{const r=Object.getOwnPropertyDescriptors(n),o={};Nn(r,(c,d)=>{let h;(h=t(c,d,n))!==!1&&(o[d]=h||c)}),Object.defineProperties(n,o)},hu=n=>{fa(n,(t,r)=>{if(Oe(n)&&["arguments","caller","callee"].indexOf(r)!==-1)return!1;const o=n[r];if(Oe(o)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+r+"'")})}})},pu=(n,t)=>{const r={},o=c=>{c.forEach(d=>{r[d]=!0})};return on(n)?o(n):o(String(n).split(t)),r},gu=()=>{},mu=(n,t)=>n!=null&&Number.isFinite(n=+n)?n:t;function yu(n){return!!(n&&Oe(n.append)&&n[oa]==="FormData"&&n[Ti])}const vu=n=>{const t=new Array(10),r=(o,c)=>{if(On(o)){if(t.indexOf(o)>=0)return;if(Cn(o))return o;if(!("toJSON"in o)){t[c]=o;const d=on(o)?[]:{};return Nn(o,(h,p)=>{const m=r(h,c+1);!Qt(m)&&(d[p]=m)}),t[c]=void 0,d}}return o};return r(n,0)},_u=Ve("AsyncFunction"),bu=n=>n&&(On(n)||Oe(n))&&Oe(n.then)&&Oe(n.catch),da=((n,t)=>n?setImmediate:t?((r,o)=>(Tt.addEventListener("message",({source:c,data:d})=>{c===Tt&&d===r&&o.length&&o.shift()()},!1),c=>{o.push(c),Tt.postMessage(r,"*")}))(`axios@${Math.random()}`,[]):r=>setTimeout(r))(typeof setImmediate=="function",Oe(Tt.postMessage)),Eu=typeof queueMicrotask<"u"?queueMicrotask.bind(Tt):typeof process<"u"&&process.nextTick||da,Tu=n=>n!=null&&Oe(n[Ti]),O={isArray:on,isArrayBuffer:aa,isBuffer:Cn,isFormData:Yc,isArrayBufferView:$c,isString:Fc,isNumber:la,isBoolean:Bc,isObject:On,isPlainObject:li,isEmptyObject:qc,isReadableStream:Xc,isRequest:Qc,isResponse:Jc,isHeaders:Zc,isUndefined:Qt,isDate:Uc,isFile:Wc,isBlob:Vc,isRegExp:du,isFunction:Oe,isStream:Kc,isURLSearchParams:Gc,isTypedArray:au,isFileList:zc,forEach:Nn,merge:Nr,extend:tu,trim:eu,stripBOM:nu,inherits:iu,toFlatObject:ru,kindOf:wi,kindOfTest:Ve,endsWith:su,toArray:ou,forEachEntry:lu,matchAll:cu,isHTMLForm:uu,hasOwnProperty:Xs,hasOwnProp:Xs,reduceDescriptors:fa,freezeMethods:hu,toObjectSet:pu,toCamelCase:fu,noop:gu,toFiniteNumber:mu,findKey:ca,global:Tt,isContextDefined:ua,isSpecCompliantForm:yu,toJSONObject:vu,isAsyncFn:_u,isThenable:bu,setImmediate:da,asap:Eu,isIterable:Tu};function ie(n,t,r,o,c){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=n,this.name="AxiosError",t&&(this.code=t),r&&(this.config=r),o&&(this.request=o),c&&(this.response=c,this.status=c.status?c.status:null)}O.inherits(ie,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:O.toJSONObject(this.config),code:this.code,status:this.status}}});const ha=ie.prototype,pa={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(n=>{pa[n]={value:n}});Object.defineProperties(ie,pa);Object.defineProperty(ha,"isAxiosError",{value:!0});ie.from=(n,t,r,o,c,d)=>{const h=Object.create(ha);O.toFlatObject(n,h,function(v){return v!==Error.prototype},_=>_!=="isAxiosError");const p=n&&n.message?n.message:"Error",m=t==null&&n?n.code:t;return ie.call(h,p,m,r,o,c),n&&h.cause==null&&Object.defineProperty(h,"cause",{value:n,configurable:!0}),h.name=n&&n.name||"Error",d&&Object.assign(h,d),h};const wu=null;function Dr(n){return O.isPlainObject(n)||O.isArray(n)}function ga(n){return O.endsWith(n,"[]")?n.slice(0,-2):n}function Qs(n,t,r){return n?n.concat(t).map(function(c,d){return c=ga(c),!r&&d?"["+c+"]":c}).join(r?".":""):t}function Su(n){return O.isArray(n)&&!n.some(Dr)}const Au=O.toFlatObject(O,{},null,function(t){return/^is[A-Z]/.test(t)});function Ai(n,t,r){if(!O.isObject(n))throw new TypeError("target must be an object");t=t||new FormData,r=O.toFlatObject(r,{metaTokens:!0,dots:!1,indexes:!1},!1,function(S,x){return!O.isUndefined(x[S])});const o=r.metaTokens,c=r.visitor||v,d=r.dots,h=r.indexes,m=(r.Blob||typeof Blob<"u"&&Blob)&&O.isSpecCompliantForm(t);if(!O.isFunction(c))throw new TypeError("visitor must be a function");function _(E){if(E===null)return"";if(O.isDate(E))return E.toISOString();if(O.isBoolean(E))return E.toString();if(!m&&O.isBlob(E))throw new ie("Blob is not supported. Use a Buffer instead.");return O.isArrayBuffer(E)||O.isTypedArray(E)?m&&typeof Blob=="function"?new Blob([E]):Buffer.from(E):E}function v(E,S,x){let P=E;if(E&&!x&&typeof E=="object"){if(O.endsWith(S,"{}"))S=o?S:S.slice(0,-2),E=JSON.stringify(E);else if(O.isArray(E)&&Su(E)||(O.isFileList(E)||O.endsWith(S,"[]"))&&(P=O.toArray(E)))return S=ga(S),P.forEach(function(U,B){!(O.isUndefined(U)||U===null)&&t.append(h===!0?Qs([S],B,d):h===null?S:S+"[]",_(U))}),!1}return Dr(E)?!0:(t.append(Qs(x,S,d),_(E)),!1)}const C=[],R=Object.assign(Au,{defaultVisitor:v,convertValue:_,isVisitable:Dr});function I(E,S){if(!O.isUndefined(E)){if(C.indexOf(E)!==-1)throw Error("Circular reference detected in "+S.join("."));C.push(E),O.forEach(E,function(P,V){(!(O.isUndefined(P)||P===null)&&c.call(t,P,O.isString(V)?V.trim():V,S,R))===!0&&I(P,S?S.concat(V):[V])}),C.pop()}}if(!O.isObject(n))throw new TypeError("data must be an object");return I(n),t}function Js(n){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(n).replace(/[!'()~]|%20|%00/g,function(o){return t[o]})}function Br(n,t){this._pairs=[],n&&Ai(n,this,t)}const ma=Br.prototype;ma.append=function(t,r){this._pairs.push([t,r])};ma.toString=function(t){const r=t?function(o){return t.call(this,o,Js)}:Js;return this._pairs.map(function(c){return r(c[0])+"="+r(c[1])},"").join("&")};function xu(n){return encodeURIComponent(n).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+")}function ya(n,t,r){if(!t)return n;const o=r&&r.encode||xu;O.isFunction(r)&&(r={serialize:r});const c=r&&r.serialize;let d;if(c?d=c(t,r):d=O.isURLSearchParams(t)?t.toString():new Br(t,r).toString(o),d){const h=n.indexOf("#");h!==-1&&(n=n.slice(0,h)),n+=(n.indexOf("?")===-1?"?":"&")+d}return n}class Zs{constructor(){this.handlers=[]}use(t,r,o){return this.handlers.push({fulfilled:t,rejected:r,synchronous:o?o.synchronous:!1,runWhen:o?o.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){O.forEach(this.handlers,function(o){o!==null&&t(o)})}}const va={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},Cu=typeof URLSearchParams<"u"?URLSearchParams:Br,Ou=typeof FormData<"u"?FormData:null,Nu=typeof Blob<"u"?Blob:null,Du={isBrowser:!0,classes:{URLSearchParams:Cu,FormData:Ou,Blob:Nu},protocols:["http","https","file","blob","url","data"]},qr=typeof window<"u"&&typeof document<"u",Lr=typeof navigator=="object"&&navigator||void 0,Lu=qr&&(!Lr||["ReactNative","NativeScript","NS"].indexOf(Lr.product)<0),Pu=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",Ru=qr&&window.location.href||"http://localhost",ku=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:qr,hasStandardBrowserEnv:Lu,hasStandardBrowserWebWorkerEnv:Pu,navigator:Lr,origin:Ru},Symbol.toStringTag,{value:"Module"})),Ee={...ku,...Du};function Iu(n,t){return Ai(n,new Ee.classes.URLSearchParams,{visitor:function(r,o,c,d){return Ee.isNode&&O.isBuffer(r)?(this.append(o,r.toString("base64")),!1):d.defaultVisitor.apply(this,arguments)},...t})}function Mu(n){return O.matchAll(/\w+|\[(\w*)]/g,n).map(t=>t[0]==="[]"?"":t[1]||t[0])}function ju(n){const t={},r=Object.keys(n);let o;const c=r.length;let d;for(o=0;o=r.length;return h=!h&&O.isArray(c)?c.length:h,m?(O.hasOwnProp(c,h)?c[h]=[c[h],o]:c[h]=o,!p):((!c[h]||!O.isObject(c[h]))&&(c[h]=[]),t(r,o,c[h],d)&&O.isArray(c[h])&&(c[h]=ju(c[h])),!p)}if(O.isFormData(n)&&O.isFunction(n.entries)){const r={};return O.forEachEntry(n,(o,c)=>{t(Mu(o),c,r,0)}),r}return null}function Hu(n,t,r){if(O.isString(n))try{return(t||JSON.parse)(n),O.trim(n)}catch(o){if(o.name!=="SyntaxError")throw o}return(r||JSON.stringify)(n)}const Dn={transitional:va,adapter:["xhr","http","fetch"],transformRequest:[function(t,r){const o=r.getContentType()||"",c=o.indexOf("application/json")>-1,d=O.isObject(t);if(d&&O.isHTMLForm(t)&&(t=new FormData(t)),O.isFormData(t))return c?JSON.stringify(_a(t)):t;if(O.isArrayBuffer(t)||O.isBuffer(t)||O.isStream(t)||O.isFile(t)||O.isBlob(t)||O.isReadableStream(t))return t;if(O.isArrayBufferView(t))return t.buffer;if(O.isURLSearchParams(t))return r.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let p;if(d){if(o.indexOf("application/x-www-form-urlencoded")>-1)return Iu(t,this.formSerializer).toString();if((p=O.isFileList(t))||o.indexOf("multipart/form-data")>-1){const m=this.env&&this.env.FormData;return Ai(p?{"files[]":t}:t,m&&new m,this.formSerializer)}}return d||c?(r.setContentType("application/json",!1),Hu(t)):t}],transformResponse:[function(t){const r=this.transitional||Dn.transitional,o=r&&r.forcedJSONParsing,c=this.responseType==="json";if(O.isResponse(t)||O.isReadableStream(t))return t;if(t&&O.isString(t)&&(o&&!this.responseType||c)){const h=!(r&&r.silentJSONParsing)&&c;try{return JSON.parse(t,this.parseReviver)}catch(p){if(h)throw p.name==="SyntaxError"?ie.from(p,ie.ERR_BAD_RESPONSE,this,null,this.response):p}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:Ee.classes.FormData,Blob:Ee.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};O.forEach(["delete","get","head","post","put","patch"],n=>{Dn.headers[n]={}});const $u=O.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),Fu=n=>{const t={};let r,o,c;return n&&n.split(` `).forEach(function(h){c=h.indexOf(":"),r=h.substring(0,c).trim().toLowerCase(),o=h.substring(c+1).trim(),!(!r||t[r]&&$u[r])&&(r==="set-cookie"?t[r]?t[r].push(o):t[r]=[o]:t[r]=t[r]?t[r]+", "+o:o)}),t},eo=Symbol("internals");function En(n){return n&&String(n).trim().toLowerCase()}function ci(n){return n===!1||n==null?n:O.isArray(n)?n.map(ci):String(n)}function Bu(n){const t=Object.create(null),r=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let o;for(;o=r.exec(n);)t[o[1]]=o[2];return t}const qu=n=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(n.trim());function ir(n,t,r,o,c){if(O.isFunction(o))return o.call(this,t,r);if(c&&(t=r),!!O.isString(t)){if(O.isString(o))return t.indexOf(o)!==-1;if(O.isRegExp(o))return o.test(t)}}function Uu(n){return n.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,r,o)=>r.toUpperCase()+o)}function Wu(n,t){const r=O.toCamelCase(" "+t);["get","set","has"].forEach(o=>{Object.defineProperty(n,o+r,{value:function(c,d,h){return this[o].call(this,t,c,d,h)},configurable:!0})})}let Ne=class{constructor(t){t&&this.set(t)}set(t,r,o){const c=this;function d(p,m,_){const v=En(m);if(!v)throw new Error("header name must be a non-empty string");const C=O.findKey(c,v);(!C||c[C]===void 0||_===!0||_===void 0&&c[C]!==!1)&&(c[C||m]=ci(p))}const h=(p,m)=>O.forEach(p,(_,v)=>d(_,v,m));if(O.isPlainObject(t)||t instanceof this.constructor)h(t,r);else if(O.isString(t)&&(t=t.trim())&&!qu(t))h(Fu(t),r);else if(O.isObject(t)&&O.isIterable(t)){let p={},m,_;for(const v of t){if(!O.isArray(v))throw TypeError("Object iterator must return a key-value pair");p[_=v[0]]=(m=p[_])?O.isArray(m)?[...m,v[1]]:[m,v[1]]:v[1]}h(p,r)}else t!=null&&d(r,t,o);return this}get(t,r){if(t=En(t),t){const o=O.findKey(this,t);if(o){const c=this[o];if(!r)return c;if(r===!0)return Bu(c);if(O.isFunction(r))return r.call(this,c,o);if(O.isRegExp(r))return r.exec(c);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,r){if(t=En(t),t){const o=O.findKey(this,t);return!!(o&&this[o]!==void 0&&(!r||ir(this,this[o],o,r)))}return!1}delete(t,r){const o=this;let c=!1;function d(h){if(h=En(h),h){const p=O.findKey(o,h);p&&(!r||ir(o,o[p],p,r))&&(delete o[p],c=!0)}}return O.isArray(t)?t.forEach(d):d(t),c}clear(t){const r=Object.keys(this);let o=r.length,c=!1;for(;o--;){const d=r[o];(!t||ir(this,this[d],d,t,!0))&&(delete this[d],c=!0)}return c}normalize(t){const r=this,o={};return O.forEach(this,(c,d)=>{const h=O.findKey(o,d);if(h){r[h]=ci(c),delete r[d];return}const p=t?Uu(d):String(d).trim();p!==d&&delete r[d],r[p]=ci(c),o[p]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const r=Object.create(null);return O.forEach(this,(o,c)=>{o!=null&&o!==!1&&(r[c]=t&&O.isArray(o)?o.join(", "):o)}),r}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,r])=>t+": "+r).join(` `)}getSetCookie(){return this.get("set-cookie")||[]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...r){const o=new this(t);return r.forEach(c=>o.set(c)),o}static accessor(t){const o=(this[eo]=this[eo]={accessors:{}}).accessors,c=this.prototype;function d(h){const p=En(h);o[p]||(Wu(c,h),o[p]=!0)}return O.isArray(t)?t.forEach(d):d(t),this}};Ne.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);O.reduceDescriptors(Ne.prototype,({value:n},t)=>{let r=t[0].toUpperCase()+t.slice(1);return{get:()=>n,set(o){this[r]=o}}});O.freezeMethods(Ne);function rr(n,t){const r=this||Dn,o=t||r,c=Ne.from(o.headers);let d=o.data;return O.forEach(n,function(p){d=p.call(r,d,c.normalize(),t?t.status:void 0)}),c.normalize(),d}function ba(n){return!!(n&&n.__CANCEL__)}function an(n,t,r){ie.call(this,n??"canceled",ie.ERR_CANCELED,t,r),this.name="CanceledError"}O.inherits(an,ie,{__CANCEL__:!0});function Ea(n,t,r){const o=r.config.validateStatus;!r.status||!o||o(r.status)?n(r):t(new ie("Request failed with status code "+r.status,[ie.ERR_BAD_REQUEST,ie.ERR_BAD_RESPONSE][Math.floor(r.status/100)-4],r.config,r.request,r))}function Vu(n){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(n);return t&&t[1]||""}function zu(n,t){n=n||10;const r=new Array(n),o=new Array(n);let c=0,d=0,h;return t=t!==void 0?t:1e3,function(m){const _=Date.now(),v=o[d];h||(h=_),r[c]=m,o[c]=_;let C=d,R=0;for(;C!==c;)R+=r[C++],C=C%n;if(c=(c+1)%n,c===d&&(d=(d+1)%n),_-h{r=v,c=null,d&&(clearTimeout(d),d=null),n(..._)};return[(..._)=>{const v=Date.now(),C=v-r;C>=o?h(_,v):(c=_,d||(d=setTimeout(()=>{d=null,h(c)},o-C)))},()=>c&&h(c)]}const yi=(n,t,r=3)=>{let o=0;const c=zu(50,250);return Ku(d=>{const h=d.loaded,p=d.lengthComputable?d.total:void 0,m=h-o,_=c(m),v=h<=p;o=h;const C={loaded:h,total:p,progress:p?h/p:void 0,bytes:m,rate:_||void 0,estimated:_&&p&&v?(p-h)/_:void 0,event:d,lengthComputable:p!=null,[t?"download":"upload"]:!0};n(C)},r)},to=(n,t)=>{const r=n!=null;return[o=>t[0]({lengthComputable:r,total:n,loaded:o}),t[1]]},no=n=>(...t)=>O.asap(()=>n(...t)),Yu=Ee.hasStandardBrowserEnv?((n,t)=>r=>(r=new URL(r,Ee.origin),n.protocol===r.protocol&&n.host===r.host&&(t||n.port===r.port)))(new URL(Ee.origin),Ee.navigator&&/(msie|trident)/i.test(Ee.navigator.userAgent)):()=>!0,Gu=Ee.hasStandardBrowserEnv?{write(n,t,r,o,c,d,h){if(typeof document>"u")return;const p=[`${n}=${encodeURIComponent(t)}`];O.isNumber(r)&&p.push(`expires=${new Date(r).toUTCString()}`),O.isString(o)&&p.push(`path=${o}`),O.isString(c)&&p.push(`domain=${c}`),d===!0&&p.push("secure"),O.isString(h)&&p.push(`SameSite=${h}`),document.cookie=p.join("; ")},read(n){if(typeof document>"u")return null;const t=document.cookie.match(new RegExp("(?:^|; )"+n+"=([^;]*)"));return t?decodeURIComponent(t[1]):null},remove(n){this.write(n,"",Date.now()-864e5,"/")}}:{write(){},read(){return null},remove(){}};function Xu(n){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(n)}function Qu(n,t){return t?n.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):n}function Ta(n,t,r){let o=!Xu(t);return n&&(o||r==!1)?Qu(n,t):t}const io=n=>n instanceof Ne?{...n}:n;function Ot(n,t){t=t||{};const r={};function o(_,v,C,R){return O.isPlainObject(_)&&O.isPlainObject(v)?O.merge.call({caseless:R},_,v):O.isPlainObject(v)?O.merge({},v):O.isArray(v)?v.slice():v}function c(_,v,C,R){if(O.isUndefined(v)){if(!O.isUndefined(_))return o(void 0,_,C,R)}else return o(_,v,C,R)}function d(_,v){if(!O.isUndefined(v))return o(void 0,v)}function h(_,v){if(O.isUndefined(v)){if(!O.isUndefined(_))return o(void 0,_)}else return o(void 0,v)}function p(_,v,C){if(C in t)return o(_,v);if(C in n)return o(void 0,_)}const m={url:d,method:d,data:d,baseURL:h,transformRequest:h,transformResponse:h,paramsSerializer:h,timeout:h,timeoutMessage:h,withCredentials:h,withXSRFToken:h,adapter:h,responseType:h,xsrfCookieName:h,xsrfHeaderName:h,onUploadProgress:h,onDownloadProgress:h,decompress:h,maxContentLength:h,maxBodyLength:h,beforeRedirect:h,transport:h,httpAgent:h,httpsAgent:h,cancelToken:h,socketPath:h,responseEncoding:h,validateStatus:p,headers:(_,v,C)=>c(io(_),io(v),C,!0)};return O.forEach(Object.keys({...n,...t}),function(v){const C=m[v]||c,R=C(n[v],t[v],v);O.isUndefined(R)&&C!==p||(r[v]=R)}),r}const wa=n=>{const t=Ot({},n);let{data:r,withXSRFToken:o,xsrfHeaderName:c,xsrfCookieName:d,headers:h,auth:p}=t;if(t.headers=h=Ne.from(h),t.url=ya(Ta(t.baseURL,t.url,t.allowAbsoluteUrls),n.params,n.paramsSerializer),p&&h.set("Authorization","Basic "+btoa((p.username||"")+":"+(p.password?unescape(encodeURIComponent(p.password)):""))),O.isFormData(r)){if(Ee.hasStandardBrowserEnv||Ee.hasStandardBrowserWebWorkerEnv)h.setContentType(void 0);else if(O.isFunction(r.getHeaders)){const m=r.getHeaders(),_=["content-type","content-length"];Object.entries(m).forEach(([v,C])=>{_.includes(v.toLowerCase())&&h.set(v,C)})}}if(Ee.hasStandardBrowserEnv&&(o&&O.isFunction(o)&&(o=o(t)),o||o!==!1&&Yu(t.url))){const m=c&&d&&Gu.read(d);m&&h.set(c,m)}return t},Ju=typeof XMLHttpRequest<"u",Zu=Ju&&function(n){return new Promise(function(r,o){const c=wa(n);let d=c.data;const h=Ne.from(c.headers).normalize();let{responseType:p,onUploadProgress:m,onDownloadProgress:_}=c,v,C,R,I,E;function S(){I&&I(),E&&E(),c.cancelToken&&c.cancelToken.unsubscribe(v),c.signal&&c.signal.removeEventListener("abort",v)}let x=new XMLHttpRequest;x.open(c.method.toUpperCase(),c.url,!0),x.timeout=c.timeout;function P(){if(!x)return;const U=Ne.from("getAllResponseHeaders"in x&&x.getAllResponseHeaders()),X={data:!p||p==="text"||p==="json"?x.responseText:x.response,status:x.status,statusText:x.statusText,headers:U,config:n,request:x};Ea(function(F){r(F),S()},function(F){o(F),S()},X),x=null}"onloadend"in x?x.onloadend=P:x.onreadystatechange=function(){!x||x.readyState!==4||x.status===0&&!(x.responseURL&&x.responseURL.indexOf("file:")===0)||setTimeout(P)},x.onabort=function(){x&&(o(new ie("Request aborted",ie.ECONNABORTED,n,x)),x=null)},x.onerror=function(B){const X=B&&B.message?B.message:"Network Error",l=new ie(X,ie.ERR_NETWORK,n,x);l.event=B||null,o(l),x=null},x.ontimeout=function(){let B=c.timeout?"timeout of "+c.timeout+"ms exceeded":"timeout exceeded";const X=c.transitional||va;c.timeoutErrorMessage&&(B=c.timeoutErrorMessage),o(new ie(B,X.clarifyTimeoutError?ie.ETIMEDOUT:ie.ECONNABORTED,n,x)),x=null},d===void 0&&h.setContentType(null),"setRequestHeader"in x&&O.forEach(h.toJSON(),function(B,X){x.setRequestHeader(X,B)}),O.isUndefined(c.withCredentials)||(x.withCredentials=!!c.withCredentials),p&&p!=="json"&&(x.responseType=c.responseType),_&&([R,E]=yi(_,!0),x.addEventListener("progress",R)),m&&x.upload&&([C,I]=yi(m),x.upload.addEventListener("progress",C),x.upload.addEventListener("loadend",I)),(c.cancelToken||c.signal)&&(v=U=>{x&&(o(!U||U.type?new an(null,n,x):U),x.abort(),x=null)},c.cancelToken&&c.cancelToken.subscribe(v),c.signal&&(c.signal.aborted?v():c.signal.addEventListener("abort",v)));const V=Vu(c.url);if(V&&Ee.protocols.indexOf(V)===-1){o(new ie("Unsupported protocol "+V+":",ie.ERR_BAD_REQUEST,n));return}x.send(d||null)})},ef=(n,t)=>{const{length:r}=n=n?n.filter(Boolean):[];if(t||r){let o=new AbortController,c;const d=function(_){if(!c){c=!0,p();const v=_ instanceof Error?_:this.reason;o.abort(v instanceof ie?v:new an(v instanceof Error?v.message:v))}};let h=t&&setTimeout(()=>{h=null,d(new ie(`timeout ${t} of ms exceeded`,ie.ETIMEDOUT))},t);const p=()=>{n&&(h&&clearTimeout(h),h=null,n.forEach(_=>{_.unsubscribe?_.unsubscribe(d):_.removeEventListener("abort",d)}),n=null)};n.forEach(_=>_.addEventListener("abort",d));const{signal:m}=o;return m.unsubscribe=()=>O.asap(p),m}},tf=function*(n,t){let r=n.byteLength;if(r{const c=nf(n,t);let d=0,h,p=m=>{h||(h=!0,o&&o(m))};return new ReadableStream({async pull(m){try{const{done:_,value:v}=await c.next();if(_){p(),m.close();return}let C=v.byteLength;if(r){let R=d+=C;r(R)}m.enqueue(new Uint8Array(v))}catch(_){throw p(_),_}},cancel(m){return p(m),c.return()}},{highWaterMark:2})},so=64*1024,{isFunction:ei}=O,sf=(({Request:n,Response:t})=>({Request:n,Response:t}))(O.global),{ReadableStream:oo,TextEncoder:ao}=O.global,lo=(n,...t)=>{try{return!!n(...t)}catch{return!1}},of=n=>{n=O.merge.call({skipUndefined:!0},sf,n);const{fetch:t,Request:r,Response:o}=n,c=t?ei(t):typeof fetch=="function",d=ei(r),h=ei(o);if(!c)return!1;const p=c&&ei(oo),m=c&&(typeof ao=="function"?(E=>S=>E.encode(S))(new ao):async E=>new Uint8Array(await new r(E).arrayBuffer())),_=d&&p&&lo(()=>{let E=!1;const S=new r(Ee.origin,{body:new oo,method:"POST",get duplex(){return E=!0,"half"}}).headers.has("Content-Type");return E&&!S}),v=h&&p&&lo(()=>O.isReadableStream(new o("").body)),C={stream:v&&(E=>E.body)};c&&["text","arrayBuffer","blob","formData","stream"].forEach(E=>{!C[E]&&(C[E]=(S,x)=>{let P=S&&S[E];if(P)return P.call(S);throw new ie(`Response type '${E}' is not supported`,ie.ERR_NOT_SUPPORT,x)})});const R=async E=>{if(E==null)return 0;if(O.isBlob(E))return E.size;if(O.isSpecCompliantForm(E))return(await new r(Ee.origin,{method:"POST",body:E}).arrayBuffer()).byteLength;if(O.isArrayBufferView(E)||O.isArrayBuffer(E))return E.byteLength;if(O.isURLSearchParams(E)&&(E=E+""),O.isString(E))return(await m(E)).byteLength},I=async(E,S)=>{const x=O.toFiniteNumber(E.getContentLength());return x??R(S)};return async E=>{let{url:S,method:x,data:P,signal:V,cancelToken:U,timeout:B,onDownloadProgress:X,onUploadProgress:l,responseType:F,headers:ae,withCredentials:z="same-origin",fetchOptions:Q}=wa(E),fe=t||fetch;F=F?(F+"").toLowerCase():"text";let de=ef([V,U&&U.toAbortSignal()],B),D=null;const j=de&&de.unsubscribe&&(()=>{de.unsubscribe()});let re;try{if(l&&_&&x!=="get"&&x!=="head"&&(re=await I(ae,P))!==0){let ce=new r(S,{method:"POST",body:P,duplex:"half"}),q;if(O.isFormData(P)&&(q=ce.headers.get("content-type"))&&ae.setContentType(q),ce.body){const[k,H]=to(re,yi(no(l)));P=ro(ce.body,so,k,H)}}O.isString(z)||(z=z?"include":"omit");const J=d&&"credentials"in r.prototype,te={...Q,signal:de,method:x.toUpperCase(),headers:ae.normalize().toJSON(),body:P,duplex:"half",credentials:J?z:void 0};D=d&&new r(S,te);let oe=await(d?fe(D,Q):fe(S,te));const me=v&&(F==="stream"||F==="response");if(v&&(X||me&&j)){const ce={};["status","statusText","headers"].forEach(W=>{ce[W]=oe[W]});const q=O.toFiniteNumber(oe.headers.get("content-length")),[k,H]=X&&to(q,yi(no(X),!0))||[];oe=new o(ro(oe.body,so,k,()=>{H&&H(),j&&j()}),ce)}F=F||"text";let se=await C[O.findKey(C,F)||"text"](oe,E);return!me&&j&&j(),await new Promise((ce,q)=>{Ea(ce,q,{data:se,headers:Ne.from(oe.headers),status:oe.status,statusText:oe.statusText,config:E,request:D})})}catch(J){throw j&&j(),J&&J.name==="TypeError"&&/Load failed|fetch/i.test(J.message)?Object.assign(new ie("Network Error",ie.ERR_NETWORK,E,D),{cause:J.cause||J}):ie.from(J,J&&J.code,E,D)}}},af=new Map,Sa=n=>{let t=n&&n.env||{};const{fetch:r,Request:o,Response:c}=t,d=[o,c,r];let h=d.length,p=h,m,_,v=af;for(;p--;)m=d[p],_=v.get(m),_===void 0&&v.set(m,_=p?new Map:of(t)),v=_;return _};Sa();const Ur={http:wu,xhr:Zu,fetch:{get:Sa}};O.forEach(Ur,(n,t)=>{if(n){try{Object.defineProperty(n,"name",{value:t})}catch{}Object.defineProperty(n,"adapterName",{value:t})}});const co=n=>`- ${n}`,lf=n=>O.isFunction(n)||n===null||n===!1;function cf(n,t){n=O.isArray(n)?n:[n];const{length:r}=n;let o,c;const d={};for(let h=0;h`adapter ${m} `+(_===!1?"is not supported by the environment":"is not available in the build"));let p=r?h.length>1?`since : `+h.map(co).join(` `):" "+co(h[0]):"as no adapter specified";throw new ie("There is no suitable adapter to dispatch the request "+p,"ERR_NOT_SUPPORT")}return c}const Aa={getAdapter:cf,adapters:Ur};function sr(n){if(n.cancelToken&&n.cancelToken.throwIfRequested(),n.signal&&n.signal.aborted)throw new an(null,n)}function uo(n){return sr(n),n.headers=Ne.from(n.headers),n.data=rr.call(n,n.transformRequest),["post","put","patch"].indexOf(n.method)!==-1&&n.headers.setContentType("application/x-www-form-urlencoded",!1),Aa.getAdapter(n.adapter||Dn.adapter,n)(n).then(function(o){return sr(n),o.data=rr.call(n,n.transformResponse,o),o.headers=Ne.from(o.headers),o},function(o){return ba(o)||(sr(n),o&&o.response&&(o.response.data=rr.call(n,n.transformResponse,o.response),o.response.headers=Ne.from(o.response.headers))),Promise.reject(o)})}const xa="1.13.2",xi={};["object","boolean","number","function","string","symbol"].forEach((n,t)=>{xi[n]=function(o){return typeof o===n||"a"+(t<1?"n ":" ")+n}});const fo={};xi.transitional=function(t,r,o){function c(d,h){return"[Axios v"+xa+"] Transitional option '"+d+"'"+h+(o?". "+o:"")}return(d,h,p)=>{if(t===!1)throw new ie(c(h," has been removed"+(r?" in "+r:"")),ie.ERR_DEPRECATED);return r&&!fo[h]&&(fo[h]=!0,console.warn(c(h," has been deprecated since v"+r+" and will be removed in the near future"))),t?t(d,h,p):!0}};xi.spelling=function(t){return(r,o)=>(console.warn(`${o} is likely a misspelling of ${t}`),!0)};function uf(n,t,r){if(typeof n!="object")throw new ie("options must be an object",ie.ERR_BAD_OPTION_VALUE);const o=Object.keys(n);let c=o.length;for(;c-- >0;){const d=o[c],h=t[d];if(h){const p=n[d],m=p===void 0||h(p,d,n);if(m!==!0)throw new ie("option "+d+" must be "+m,ie.ERR_BAD_OPTION_VALUE);continue}if(r!==!0)throw new ie("Unknown option "+d,ie.ERR_BAD_OPTION)}}const ui={assertOptions:uf,validators:xi},Xe=ui.validators;let At=class{constructor(t){this.defaults=t||{},this.interceptors={request:new Zs,response:new Zs}}async request(t,r){try{return await this._request(t,r)}catch(o){if(o instanceof Error){let c={};Error.captureStackTrace?Error.captureStackTrace(c):c=new Error;const d=c.stack?c.stack.replace(/^.+\n/,""):"";try{o.stack?d&&!String(o.stack).endsWith(d.replace(/^.+\n.+\n/,""))&&(o.stack+=` `+d):o.stack=d}catch{}}throw o}}_request(t,r){typeof t=="string"?(r=r||{},r.url=t):r=t||{},r=Ot(this.defaults,r);const{transitional:o,paramsSerializer:c,headers:d}=r;o!==void 0&&ui.assertOptions(o,{silentJSONParsing:Xe.transitional(Xe.boolean),forcedJSONParsing:Xe.transitional(Xe.boolean),clarifyTimeoutError:Xe.transitional(Xe.boolean)},!1),c!=null&&(O.isFunction(c)?r.paramsSerializer={serialize:c}:ui.assertOptions(c,{encode:Xe.function,serialize:Xe.function},!0)),r.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls!==void 0?r.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:r.allowAbsoluteUrls=!0),ui.assertOptions(r,{baseUrl:Xe.spelling("baseURL"),withXsrfToken:Xe.spelling("withXSRFToken")},!0),r.method=(r.method||this.defaults.method||"get").toLowerCase();let h=d&&O.merge(d.common,d[r.method]);d&&O.forEach(["delete","get","head","post","put","patch","common"],E=>{delete d[E]}),r.headers=Ne.concat(h,d);const p=[];let m=!0;this.interceptors.request.forEach(function(S){typeof S.runWhen=="function"&&S.runWhen(r)===!1||(m=m&&S.synchronous,p.unshift(S.fulfilled,S.rejected))});const _=[];this.interceptors.response.forEach(function(S){_.push(S.fulfilled,S.rejected)});let v,C=0,R;if(!m){const E=[uo.bind(this),void 0];for(E.unshift(...p),E.push(..._),R=E.length,v=Promise.resolve(r);C{if(!o._listeners)return;let d=o._listeners.length;for(;d-- >0;)o._listeners[d](c);o._listeners=null}),this.promise.then=c=>{let d;const h=new Promise(p=>{o.subscribe(p),d=p}).then(c);return h.cancel=function(){o.unsubscribe(d)},h},t(function(d,h,p){o.reason||(o.reason=new an(d,h,p),r(o.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const r=this._listeners.indexOf(t);r!==-1&&this._listeners.splice(r,1)}toAbortSignal(){const t=new AbortController,r=o=>{t.abort(o)};return this.subscribe(r),t.signal.unsubscribe=()=>this.unsubscribe(r),t.signal}static source(){let t;return{token:new Ca(function(c){t=c}),cancel:t}}};function df(n){return function(r){return n.apply(null,r)}}function hf(n){return O.isObject(n)&&n.isAxiosError===!0}const Pr={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511,WebServerIsDown:521,ConnectionTimedOut:522,OriginIsUnreachable:523,TimeoutOccurred:524,SslHandshakeFailed:525,InvalidSslCertificate:526};Object.entries(Pr).forEach(([n,t])=>{Pr[t]=n});function Oa(n){const t=new At(n),r=sa(At.prototype.request,t);return O.extend(r,At.prototype,t,{allOwnKeys:!0}),O.extend(r,t,null,{allOwnKeys:!0}),r.create=function(c){return Oa(Ot(n,c))},r}const ye=Oa(Dn);ye.Axios=At;ye.CanceledError=an;ye.CancelToken=ff;ye.isCancel=ba;ye.VERSION=xa;ye.toFormData=Ai;ye.AxiosError=ie;ye.Cancel=ye.CanceledError;ye.all=function(t){return Promise.all(t)};ye.spread=df;ye.isAxiosError=hf;ye.mergeConfig=Ot;ye.AxiosHeaders=Ne;ye.formToJSON=n=>_a(O.isHTMLForm(n)?new FormData(n):n);ye.getAdapter=Aa.getAdapter;ye.HttpStatusCode=Pr;ye.default=ye;const{Axios:Dm,AxiosError:Lm,CanceledError:Pm,isCancel:Rm,CancelToken:km,VERSION:Im,all:Mm,Cancel:jm,isAxiosError:Hm,spread:$m,toFormData:Fm,AxiosHeaders:Bm,HttpStatusCode:qm,formToJSON:Um,getAdapter:Wm,mergeConfig:Vm}=ye;window.axios=ye;window.axios.defaults.headers.common["X-Requested-With"]="XMLHttpRequest";var Te="top",De="bottom",Le="right",we="left",Ci="auto",ln=[Te,De,Le,we],Nt="start",Jt="end",Na="clippingParents",Wr="viewport",Kt="popper",Da="reference",Rr=ln.reduce(function(n,t){return n.concat([t+"-"+Nt,t+"-"+Jt])},[]),Vr=[].concat(ln,[Ci]).reduce(function(n,t){return n.concat([t,t+"-"+Nt,t+"-"+Jt])},[]),La="beforeRead",Pa="read",Ra="afterRead",ka="beforeMain",Ia="main",Ma="afterMain",ja="beforeWrite",Ha="write",$a="afterWrite",Fa=[La,Pa,Ra,ka,Ia,Ma,ja,Ha,$a];function Ze(n){return n?(n.nodeName||"").toLowerCase():null}function Pe(n){if(n==null)return window;if(n.toString()!=="[object Window]"){var t=n.ownerDocument;return t&&t.defaultView||window}return n}function Dt(n){var t=Pe(n).Element;return n instanceof t||n instanceof Element}function je(n){var t=Pe(n).HTMLElement;return n instanceof t||n instanceof HTMLElement}function zr(n){if(typeof ShadowRoot>"u")return!1;var t=Pe(n).ShadowRoot;return n instanceof t||n instanceof ShadowRoot}function pf(n){var t=n.state;Object.keys(t.elements).forEach(function(r){var o=t.styles[r]||{},c=t.attributes[r]||{},d=t.elements[r];!je(d)||!Ze(d)||(Object.assign(d.style,o),Object.keys(c).forEach(function(h){var p=c[h];p===!1?d.removeAttribute(h):d.setAttribute(h,p===!0?"":p)}))})}function gf(n){var t=n.state,r={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,r.popper),t.styles=r,t.elements.arrow&&Object.assign(t.elements.arrow.style,r.arrow),function(){Object.keys(t.elements).forEach(function(o){var c=t.elements[o],d=t.attributes[o]||{},h=Object.keys(t.styles.hasOwnProperty(o)?t.styles[o]:r[o]),p=h.reduce(function(m,_){return m[_]="",m},{});!je(c)||!Ze(c)||(Object.assign(c.style,p),Object.keys(d).forEach(function(m){c.removeAttribute(m)}))})}}const Ba={name:"applyStyles",enabled:!0,phase:"write",fn:pf,effect:gf,requires:["computeStyles"]};function Qe(n){return n.split("-")[0]}var xt=Math.max,vi=Math.min,Zt=Math.round;function kr(){var n=navigator.userAgentData;return n!=null&&n.brands&&Array.isArray(n.brands)?n.brands.map(function(t){return t.brand+"/"+t.version}).join(" "):navigator.userAgent}function qa(){return!/^((?!chrome|android).)*safari/i.test(kr())}function en(n,t,r){t===void 0&&(t=!1),r===void 0&&(r=!1);var o=n.getBoundingClientRect(),c=1,d=1;t&&je(n)&&(c=n.offsetWidth>0&&Zt(o.width)/n.offsetWidth||1,d=n.offsetHeight>0&&Zt(o.height)/n.offsetHeight||1);var h=Dt(n)?Pe(n):window,p=h.visualViewport,m=!qa()&&r,_=(o.left+(m&&p?p.offsetLeft:0))/c,v=(o.top+(m&&p?p.offsetTop:0))/d,C=o.width/c,R=o.height/d;return{width:C,height:R,top:v,right:_+C,bottom:v+R,left:_,x:_,y:v}}function Kr(n){var t=en(n),r=n.offsetWidth,o=n.offsetHeight;return Math.abs(t.width-r)<=1&&(r=t.width),Math.abs(t.height-o)<=1&&(o=t.height),{x:n.offsetLeft,y:n.offsetTop,width:r,height:o}}function Ua(n,t){var r=t.getRootNode&&t.getRootNode();if(n.contains(t))return!0;if(r&&zr(r)){var o=t;do{if(o&&n.isSameNode(o))return!0;o=o.parentNode||o.host}while(o)}return!1}function st(n){return Pe(n).getComputedStyle(n)}function mf(n){return["table","td","th"].indexOf(Ze(n))>=0}function pt(n){return((Dt(n)?n.ownerDocument:n.document)||window.document).documentElement}function Oi(n){return Ze(n)==="html"?n:n.assignedSlot||n.parentNode||(zr(n)?n.host:null)||pt(n)}function ho(n){return!je(n)||st(n).position==="fixed"?null:n.offsetParent}function yf(n){var t=/firefox/i.test(kr()),r=/Trident/i.test(kr());if(r&&je(n)){var o=st(n);if(o.position==="fixed")return null}var c=Oi(n);for(zr(c)&&(c=c.host);je(c)&&["html","body"].indexOf(Ze(c))<0;){var d=st(c);if(d.transform!=="none"||d.perspective!=="none"||d.contain==="paint"||["transform","perspective"].indexOf(d.willChange)!==-1||t&&d.willChange==="filter"||t&&d.filter&&d.filter!=="none")return c;c=c.parentNode}return null}function Ln(n){for(var t=Pe(n),r=ho(n);r&&mf(r)&&st(r).position==="static";)r=ho(r);return r&&(Ze(r)==="html"||Ze(r)==="body"&&st(r).position==="static")?t:r||yf(n)||t}function Yr(n){return["top","bottom"].indexOf(n)>=0?"x":"y"}function Sn(n,t,r){return xt(n,vi(t,r))}function vf(n,t,r){var o=Sn(n,t,r);return o>r?r:o}function Wa(){return{top:0,right:0,bottom:0,left:0}}function Va(n){return Object.assign({},Wa(),n)}function za(n,t){return t.reduce(function(r,o){return r[o]=n,r},{})}var _f=function(t,r){return t=typeof t=="function"?t(Object.assign({},r.rects,{placement:r.placement})):t,Va(typeof t!="number"?t:za(t,ln))};function bf(n){var t,r=n.state,o=n.name,c=n.options,d=r.elements.arrow,h=r.modifiersData.popperOffsets,p=Qe(r.placement),m=Yr(p),_=[we,Le].indexOf(p)>=0,v=_?"height":"width";if(!(!d||!h)){var C=_f(c.padding,r),R=Kr(d),I=m==="y"?Te:we,E=m==="y"?De:Le,S=r.rects.reference[v]+r.rects.reference[m]-h[m]-r.rects.popper[v],x=h[m]-r.rects.reference[m],P=Ln(d),V=P?m==="y"?P.clientHeight||0:P.clientWidth||0:0,U=S/2-x/2,B=C[I],X=V-R[v]-C[E],l=V/2-R[v]/2+U,F=Sn(B,l,X),ae=m;r.modifiersData[o]=(t={},t[ae]=F,t.centerOffset=F-l,t)}}function Ef(n){var t=n.state,r=n.options,o=r.element,c=o===void 0?"[data-popper-arrow]":o;c!=null&&(typeof c=="string"&&(c=t.elements.popper.querySelector(c),!c)||Ua(t.elements.popper,c)&&(t.elements.arrow=c))}const Ka={name:"arrow",enabled:!0,phase:"main",fn:bf,effect:Ef,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function tn(n){return n.split("-")[1]}var Tf={top:"auto",right:"auto",bottom:"auto",left:"auto"};function wf(n,t){var r=n.x,o=n.y,c=t.devicePixelRatio||1;return{x:Zt(r*c)/c||0,y:Zt(o*c)/c||0}}function po(n){var t,r=n.popper,o=n.popperRect,c=n.placement,d=n.variation,h=n.offsets,p=n.position,m=n.gpuAcceleration,_=n.adaptive,v=n.roundOffsets,C=n.isFixed,R=h.x,I=R===void 0?0:R,E=h.y,S=E===void 0?0:E,x=typeof v=="function"?v({x:I,y:S}):{x:I,y:S};I=x.x,S=x.y;var P=h.hasOwnProperty("x"),V=h.hasOwnProperty("y"),U=we,B=Te,X=window;if(_){var l=Ln(r),F="clientHeight",ae="clientWidth";if(l===Pe(r)&&(l=pt(r),st(l).position!=="static"&&p==="absolute"&&(F="scrollHeight",ae="scrollWidth")),l=l,c===Te||(c===we||c===Le)&&d===Jt){B=De;var z=C&&l===X&&X.visualViewport?X.visualViewport.height:l[F];S-=z-o.height,S*=m?1:-1}if(c===we||(c===Te||c===De)&&d===Jt){U=Le;var Q=C&&l===X&&X.visualViewport?X.visualViewport.width:l[ae];I-=Q-o.width,I*=m?1:-1}}var fe=Object.assign({position:p},_&&Tf),de=v===!0?wf({x:I,y:S},Pe(r)):{x:I,y:S};if(I=de.x,S=de.y,m){var D;return Object.assign({},fe,(D={},D[B]=V?"0":"",D[U]=P?"0":"",D.transform=(X.devicePixelRatio||1)<=1?"translate("+I+"px, "+S+"px)":"translate3d("+I+"px, "+S+"px, 0)",D))}return Object.assign({},fe,(t={},t[B]=V?S+"px":"",t[U]=P?I+"px":"",t.transform="",t))}function Sf(n){var t=n.state,r=n.options,o=r.gpuAcceleration,c=o===void 0?!0:o,d=r.adaptive,h=d===void 0?!0:d,p=r.roundOffsets,m=p===void 0?!0:p,_={placement:Qe(t.placement),variation:tn(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:c,isFixed:t.options.strategy==="fixed"};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,po(Object.assign({},_,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:h,roundOffsets:m})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,po(Object.assign({},_,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:m})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}const Ya={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:Sf,data:{}};var ti={passive:!0};function Af(n){var t=n.state,r=n.instance,o=n.options,c=o.scroll,d=c===void 0?!0:c,h=o.resize,p=h===void 0?!0:h,m=Pe(t.elements.popper),_=[].concat(t.scrollParents.reference,t.scrollParents.popper);return d&&_.forEach(function(v){v.addEventListener("scroll",r.update,ti)}),p&&m.addEventListener("resize",r.update,ti),function(){d&&_.forEach(function(v){v.removeEventListener("scroll",r.update,ti)}),p&&m.removeEventListener("resize",r.update,ti)}}const Ga={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:Af,data:{}};var xf={left:"right",right:"left",bottom:"top",top:"bottom"};function fi(n){return n.replace(/left|right|bottom|top/g,function(t){return xf[t]})}var Cf={start:"end",end:"start"};function go(n){return n.replace(/start|end/g,function(t){return Cf[t]})}function Gr(n){var t=Pe(n),r=t.pageXOffset,o=t.pageYOffset;return{scrollLeft:r,scrollTop:o}}function Xr(n){return en(pt(n)).left+Gr(n).scrollLeft}function Of(n,t){var r=Pe(n),o=pt(n),c=r.visualViewport,d=o.clientWidth,h=o.clientHeight,p=0,m=0;if(c){d=c.width,h=c.height;var _=qa();(_||!_&&t==="fixed")&&(p=c.offsetLeft,m=c.offsetTop)}return{width:d,height:h,x:p+Xr(n),y:m}}function Nf(n){var t,r=pt(n),o=Gr(n),c=(t=n.ownerDocument)==null?void 0:t.body,d=xt(r.scrollWidth,r.clientWidth,c?c.scrollWidth:0,c?c.clientWidth:0),h=xt(r.scrollHeight,r.clientHeight,c?c.scrollHeight:0,c?c.clientHeight:0),p=-o.scrollLeft+Xr(n),m=-o.scrollTop;return st(c||r).direction==="rtl"&&(p+=xt(r.clientWidth,c?c.clientWidth:0)-d),{width:d,height:h,x:p,y:m}}function Qr(n){var t=st(n),r=t.overflow,o=t.overflowX,c=t.overflowY;return/auto|scroll|overlay|hidden/.test(r+c+o)}function Xa(n){return["html","body","#document"].indexOf(Ze(n))>=0?n.ownerDocument.body:je(n)&&Qr(n)?n:Xa(Oi(n))}function An(n,t){var r;t===void 0&&(t=[]);var o=Xa(n),c=o===((r=n.ownerDocument)==null?void 0:r.body),d=Pe(o),h=c?[d].concat(d.visualViewport||[],Qr(o)?o:[]):o,p=t.concat(h);return c?p:p.concat(An(Oi(h)))}function Ir(n){return Object.assign({},n,{left:n.x,top:n.y,right:n.x+n.width,bottom:n.y+n.height})}function Df(n,t){var r=en(n,!1,t==="fixed");return r.top=r.top+n.clientTop,r.left=r.left+n.clientLeft,r.bottom=r.top+n.clientHeight,r.right=r.left+n.clientWidth,r.width=n.clientWidth,r.height=n.clientHeight,r.x=r.left,r.y=r.top,r}function mo(n,t,r){return t===Wr?Ir(Of(n,r)):Dt(t)?Df(t,r):Ir(Nf(pt(n)))}function Lf(n){var t=An(Oi(n)),r=["absolute","fixed"].indexOf(st(n).position)>=0,o=r&&je(n)?Ln(n):n;return Dt(o)?t.filter(function(c){return Dt(c)&&Ua(c,o)&&Ze(c)!=="body"}):[]}function Pf(n,t,r,o){var c=t==="clippingParents"?Lf(n):[].concat(t),d=[].concat(c,[r]),h=d[0],p=d.reduce(function(m,_){var v=mo(n,_,o);return m.top=xt(v.top,m.top),m.right=vi(v.right,m.right),m.bottom=vi(v.bottom,m.bottom),m.left=xt(v.left,m.left),m},mo(n,h,o));return p.width=p.right-p.left,p.height=p.bottom-p.top,p.x=p.left,p.y=p.top,p}function Qa(n){var t=n.reference,r=n.element,o=n.placement,c=o?Qe(o):null,d=o?tn(o):null,h=t.x+t.width/2-r.width/2,p=t.y+t.height/2-r.height/2,m;switch(c){case Te:m={x:h,y:t.y-r.height};break;case De:m={x:h,y:t.y+t.height};break;case Le:m={x:t.x+t.width,y:p};break;case we:m={x:t.x-r.width,y:p};break;default:m={x:t.x,y:t.y}}var _=c?Yr(c):null;if(_!=null){var v=_==="y"?"height":"width";switch(d){case Nt:m[_]=m[_]-(t[v]/2-r[v]/2);break;case Jt:m[_]=m[_]+(t[v]/2-r[v]/2);break}}return m}function nn(n,t){t===void 0&&(t={});var r=t,o=r.placement,c=o===void 0?n.placement:o,d=r.strategy,h=d===void 0?n.strategy:d,p=r.boundary,m=p===void 0?Na:p,_=r.rootBoundary,v=_===void 0?Wr:_,C=r.elementContext,R=C===void 0?Kt:C,I=r.altBoundary,E=I===void 0?!1:I,S=r.padding,x=S===void 0?0:S,P=Va(typeof x!="number"?x:za(x,ln)),V=R===Kt?Da:Kt,U=n.rects.popper,B=n.elements[E?V:R],X=Pf(Dt(B)?B:B.contextElement||pt(n.elements.popper),m,v,h),l=en(n.elements.reference),F=Qa({reference:l,element:U,placement:c}),ae=Ir(Object.assign({},U,F)),z=R===Kt?ae:l,Q={top:X.top-z.top+P.top,bottom:z.bottom-X.bottom+P.bottom,left:X.left-z.left+P.left,right:z.right-X.right+P.right},fe=n.modifiersData.offset;if(R===Kt&&fe){var de=fe[c];Object.keys(Q).forEach(function(D){var j=[Le,De].indexOf(D)>=0?1:-1,re=[Te,De].indexOf(D)>=0?"y":"x";Q[D]+=de[re]*j})}return Q}function Rf(n,t){t===void 0&&(t={});var r=t,o=r.placement,c=r.boundary,d=r.rootBoundary,h=r.padding,p=r.flipVariations,m=r.allowedAutoPlacements,_=m===void 0?Vr:m,v=tn(o),C=v?p?Rr:Rr.filter(function(E){return tn(E)===v}):ln,R=C.filter(function(E){return _.indexOf(E)>=0});R.length===0&&(R=C);var I=R.reduce(function(E,S){return E[S]=nn(n,{placement:S,boundary:c,rootBoundary:d,padding:h})[Qe(S)],E},{});return Object.keys(I).sort(function(E,S){return I[E]-I[S]})}function kf(n){if(Qe(n)===Ci)return[];var t=fi(n);return[go(n),t,go(t)]}function If(n){var t=n.state,r=n.options,o=n.name;if(!t.modifiersData[o]._skip){for(var c=r.mainAxis,d=c===void 0?!0:c,h=r.altAxis,p=h===void 0?!0:h,m=r.fallbackPlacements,_=r.padding,v=r.boundary,C=r.rootBoundary,R=r.altBoundary,I=r.flipVariations,E=I===void 0?!0:I,S=r.allowedAutoPlacements,x=t.options.placement,P=Qe(x),V=P===x,U=m||(V||!E?[fi(x)]:kf(x)),B=[x].concat(U).reduce(function(H,W){return H.concat(Qe(W)===Ci?Rf(t,{placement:W,boundary:v,rootBoundary:C,padding:_,flipVariations:E,allowedAutoPlacements:S}):W)},[]),X=t.rects.reference,l=t.rects.popper,F=new Map,ae=!0,z=B[0],Q=0;Q=0,re=j?"width":"height",J=nn(t,{placement:fe,boundary:v,rootBoundary:C,altBoundary:R,padding:_}),te=j?D?Le:we:D?De:Te;X[re]>l[re]&&(te=fi(te));var oe=fi(te),me=[];if(d&&me.push(J[de]<=0),p&&me.push(J[te]<=0,J[oe]<=0),me.every(function(H){return H})){z=fe,ae=!1;break}F.set(fe,me)}if(ae)for(var se=E?3:1,ce=function(W){var Y=B.find(function(Z){var he=F.get(Z);if(he)return he.slice(0,W).every(function(Ke){return Ke})});if(Y)return z=Y,"break"},q=se;q>0;q--){var k=ce(q);if(k==="break")break}t.placement!==z&&(t.modifiersData[o]._skip=!0,t.placement=z,t.reset=!0)}}const Ja={name:"flip",enabled:!0,phase:"main",fn:If,requiresIfExists:["offset"],data:{_skip:!1}};function yo(n,t,r){return r===void 0&&(r={x:0,y:0}),{top:n.top-t.height-r.y,right:n.right-t.width+r.x,bottom:n.bottom-t.height+r.y,left:n.left-t.width-r.x}}function vo(n){return[Te,Le,De,we].some(function(t){return n[t]>=0})}function Mf(n){var t=n.state,r=n.name,o=t.rects.reference,c=t.rects.popper,d=t.modifiersData.preventOverflow,h=nn(t,{elementContext:"reference"}),p=nn(t,{altBoundary:!0}),m=yo(h,o),_=yo(p,c,d),v=vo(m),C=vo(_);t.modifiersData[r]={referenceClippingOffsets:m,popperEscapeOffsets:_,isReferenceHidden:v,hasPopperEscaped:C},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":v,"data-popper-escaped":C})}const Za={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:Mf};function jf(n,t,r){var o=Qe(n),c=[we,Te].indexOf(o)>=0?-1:1,d=typeof r=="function"?r(Object.assign({},t,{placement:n})):r,h=d[0],p=d[1];return h=h||0,p=(p||0)*c,[we,Le].indexOf(o)>=0?{x:p,y:h}:{x:h,y:p}}function Hf(n){var t=n.state,r=n.options,o=n.name,c=r.offset,d=c===void 0?[0,0]:c,h=Vr.reduce(function(v,C){return v[C]=jf(C,t.rects,d),v},{}),p=h[t.placement],m=p.x,_=p.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=m,t.modifiersData.popperOffsets.y+=_),t.modifiersData[o]=h}const el={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:Hf};function $f(n){var t=n.state,r=n.name;t.modifiersData[r]=Qa({reference:t.rects.reference,element:t.rects.popper,placement:t.placement})}const tl={name:"popperOffsets",enabled:!0,phase:"read",fn:$f,data:{}};function Ff(n){return n==="x"?"y":"x"}function Bf(n){var t=n.state,r=n.options,o=n.name,c=r.mainAxis,d=c===void 0?!0:c,h=r.altAxis,p=h===void 0?!1:h,m=r.boundary,_=r.rootBoundary,v=r.altBoundary,C=r.padding,R=r.tether,I=R===void 0?!0:R,E=r.tetherOffset,S=E===void 0?0:E,x=nn(t,{boundary:m,rootBoundary:_,padding:C,altBoundary:v}),P=Qe(t.placement),V=tn(t.placement),U=!V,B=Yr(P),X=Ff(B),l=t.modifiersData.popperOffsets,F=t.rects.reference,ae=t.rects.popper,z=typeof S=="function"?S(Object.assign({},t.rects,{placement:t.placement})):S,Q=typeof z=="number"?{mainAxis:z,altAxis:z}:Object.assign({mainAxis:0,altAxis:0},z),fe=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,de={x:0,y:0};if(l){if(d){var D,j=B==="y"?Te:we,re=B==="y"?De:Le,J=B==="y"?"height":"width",te=l[B],oe=te+x[j],me=te-x[re],se=I?-ae[J]/2:0,ce=V===Nt?F[J]:ae[J],q=V===Nt?-ae[J]:-F[J],k=t.elements.arrow,H=I&&k?Kr(k):{width:0,height:0},W=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:Wa(),Y=W[j],Z=W[re],he=Sn(0,F[J],H[J]),Ke=U?F[J]/2-se-he-Y-Q.mainAxis:ce-he-Y-Q.mainAxis,hn=U?-F[J]/2+se+he+Z+Q.mainAxis:q+he+Z+Q.mainAxis,et=t.elements.arrow&&Ln(t.elements.arrow),ki=et?B==="y"?et.clientTop||0:et.clientLeft||0:0,yt=(D=fe?.[B])!=null?D:0,Be=te+Ke-yt-ki,Re=te+hn-yt,jn=Sn(I?vi(oe,Be):oe,te,I?xt(me,Re):me);l[B]=jn,de[B]=jn-te}if(p){var Hn,Ii=B==="x"?Te:we,Mi=B==="x"?De:Le,qe=l[X],Rt=X==="y"?"height":"width",tt=qe+x[Ii],vt=qe-x[Mi],_e=[Te,we].indexOf(P)!==-1,pn=(Hn=fe?.[X])!=null?Hn:0,ke=_e?tt:qe-F[Rt]-ae[Rt]-pn+Q.altAxis,Ie=_e?qe+F[Rt]+ae[Rt]-pn-Q.altAxis:vt,$n=I&&_e?vf(ke,qe,Ie):Sn(I?ke:tt,qe,I?Ie:vt);l[X]=$n,de[X]=$n-qe}t.modifiersData[o]=de}}const nl={name:"preventOverflow",enabled:!0,phase:"main",fn:Bf,requiresIfExists:["offset"]};function qf(n){return{scrollLeft:n.scrollLeft,scrollTop:n.scrollTop}}function Uf(n){return n===Pe(n)||!je(n)?Gr(n):qf(n)}function Wf(n){var t=n.getBoundingClientRect(),r=Zt(t.width)/n.offsetWidth||1,o=Zt(t.height)/n.offsetHeight||1;return r!==1||o!==1}function Vf(n,t,r){r===void 0&&(r=!1);var o=je(t),c=je(t)&&Wf(t),d=pt(t),h=en(n,c,r),p={scrollLeft:0,scrollTop:0},m={x:0,y:0};return(o||!o&&!r)&&((Ze(t)!=="body"||Qr(d))&&(p=Uf(t)),je(t)?(m=en(t,!0),m.x+=t.clientLeft,m.y+=t.clientTop):d&&(m.x=Xr(d))),{x:h.left+p.scrollLeft-m.x,y:h.top+p.scrollTop-m.y,width:h.width,height:h.height}}function zf(n){var t=new Map,r=new Set,o=[];n.forEach(function(d){t.set(d.name,d)});function c(d){r.add(d.name);var h=[].concat(d.requires||[],d.requiresIfExists||[]);h.forEach(function(p){if(!r.has(p)){var m=t.get(p);m&&c(m)}}),o.push(d)}return n.forEach(function(d){r.has(d.name)||c(d)}),o}function Kf(n){var t=zf(n);return Fa.reduce(function(r,o){return r.concat(t.filter(function(c){return c.phase===o}))},[])}function Yf(n){var t;return function(){return t||(t=new Promise(function(r){Promise.resolve().then(function(){t=void 0,r(n())})})),t}}function Gf(n){var t=n.reduce(function(r,o){var c=r[o.name];return r[o.name]=c?Object.assign({},c,o,{options:Object.assign({},c.options,o.options),data:Object.assign({},c.data,o.data)}):o,r},{});return Object.keys(t).map(function(r){return t[r]})}var _o={placement:"bottom",modifiers:[],strategy:"absolute"};function bo(){for(var n=arguments.length,t=new Array(n),r=0;r(n&&window.CSS&&window.CSS.escape&&(n=n.replace(/#([^\s"#']+)/g,(t,r)=>`#${CSS.escape(r)}`)),n),Zf=n=>n==null?`${n}`:Object.prototype.toString.call(n).match(/\s([a-z]+)/i)[1].toLowerCase(),ed=n=>{do n+=Math.floor(Math.random()*Qf);while(document.getElementById(n));return n},td=n=>{if(!n)return 0;let{transitionDuration:t,transitionDelay:r}=window.getComputedStyle(n);const o=Number.parseFloat(t),c=Number.parseFloat(r);return!o&&!c?0:(t=t.split(",")[0],r=r.split(",")[0],(Number.parseFloat(t)+Number.parseFloat(r))*Jf)},ol=n=>{n.dispatchEvent(new Event(Mr))},it=n=>!n||typeof n!="object"?!1:(typeof n.jquery<"u"&&(n=n[0]),typeof n.nodeType<"u"),ft=n=>it(n)?n.jquery?n[0]:n:typeof n=="string"&&n.length>0?document.querySelector(sl(n)):null,cn=n=>{if(!it(n)||n.getClientRects().length===0)return!1;const t=getComputedStyle(n).getPropertyValue("visibility")==="visible",r=n.closest("details:not([open])");if(!r)return t;if(r!==n){const o=n.closest("summary");if(o&&o.parentNode!==r||o===null)return!1}return t},dt=n=>!n||n.nodeType!==Node.ELEMENT_NODE||n.classList.contains("disabled")?!0:typeof n.disabled<"u"?n.disabled:n.hasAttribute("disabled")&&n.getAttribute("disabled")!=="false",al=n=>{if(!document.documentElement.attachShadow)return null;if(typeof n.getRootNode=="function"){const t=n.getRootNode();return t instanceof ShadowRoot?t:null}return n instanceof ShadowRoot?n:n.parentNode?al(n.parentNode):null},_i=()=>{},Pn=n=>{n.offsetHeight},ll=()=>window.jQuery&&!document.body.hasAttribute("data-bs-no-jquery")?window.jQuery:null,ar=[],nd=n=>{document.readyState==="loading"?(ar.length||document.addEventListener("DOMContentLoaded",()=>{for(const t of ar)t()}),ar.push(n)):n()},He=()=>document.documentElement.dir==="rtl",Fe=n=>{nd(()=>{const t=ll();if(t){const r=n.NAME,o=t.fn[r];t.fn[r]=n.jQueryInterface,t.fn[r].Constructor=n,t.fn[r].noConflict=()=>(t.fn[r]=o,n.jQueryInterface)}})},Ce=(n,t=[],r=n)=>typeof n=="function"?n.call(...t):r,cl=(n,t,r=!0)=>{if(!r){Ce(n);return}const c=td(t)+5;let d=!1;const h=({target:p})=>{p===t&&(d=!0,t.removeEventListener(Mr,h),Ce(n))};t.addEventListener(Mr,h),setTimeout(()=>{d||ol(t)},c)},Zr=(n,t,r,o)=>{const c=n.length;let d=n.indexOf(t);return d===-1?!r&&o?n[c-1]:n[0]:(d+=r?1:-1,o&&(d=(d+c)%c),n[Math.max(0,Math.min(d,c-1))])},id=/[^.]*(?=\..*)\.|.*/,rd=/\..*/,sd=/::\d+$/,lr={};let Eo=1;const ul={mouseenter:"mouseover",mouseleave:"mouseout"},od=new Set(["click","dblclick","mouseup","mousedown","contextmenu","mousewheel","DOMMouseScroll","mouseover","mouseout","mousemove","selectstart","selectend","keydown","keypress","keyup","orientationchange","touchstart","touchmove","touchend","touchcancel","pointerdown","pointermove","pointerup","pointerleave","pointercancel","gesturestart","gesturechange","gestureend","focus","blur","change","reset","select","submit","focusin","focusout","load","unload","beforeunload","resize","move","DOMContentLoaded","readystatechange","error","abort","scroll"]);function fl(n,t){return t&&`${t}::${Eo++}`||n.uidEvent||Eo++}function dl(n){const t=fl(n);return n.uidEvent=t,lr[t]=lr[t]||{},lr[t]}function ad(n,t){return function r(o){return es(o,{delegateTarget:n}),r.oneOff&&M.off(n,o.type,t),t.apply(n,[o])}}function ld(n,t,r){return function o(c){const d=n.querySelectorAll(t);for(let{target:h}=c;h&&h!==this;h=h.parentNode)for(const p of d)if(p===h)return es(c,{delegateTarget:h}),o.oneOff&&M.off(n,c.type,t,r),r.apply(h,[c])}}function hl(n,t,r=null){return Object.values(n).find(o=>o.callable===t&&o.delegationSelector===r)}function pl(n,t,r){const o=typeof t=="string",c=o?r:t||r;let d=gl(n);return od.has(d)||(d=n),[o,c,d]}function To(n,t,r,o,c){if(typeof t!="string"||!n)return;let[d,h,p]=pl(t,r,o);t in ul&&(h=(E=>function(S){if(!S.relatedTarget||S.relatedTarget!==S.delegateTarget&&!S.delegateTarget.contains(S.relatedTarget))return E.call(this,S)})(h));const m=dl(n),_=m[p]||(m[p]={}),v=hl(_,h,d?r:null);if(v){v.oneOff=v.oneOff&&c;return}const C=fl(h,t.replace(id,"")),R=d?ld(n,r,h):ad(n,h);R.delegationSelector=d?r:null,R.callable=h,R.oneOff=c,R.uidEvent=C,_[C]=R,n.addEventListener(p,R,d)}function jr(n,t,r,o,c){const d=hl(t[r],o,c);d&&(n.removeEventListener(r,d,!!c),delete t[r][d.uidEvent])}function cd(n,t,r,o){const c=t[r]||{};for(const[d,h]of Object.entries(c))d.includes(o)&&jr(n,t,r,h.callable,h.delegationSelector)}function gl(n){return n=n.replace(rd,""),ul[n]||n}const M={on(n,t,r,o){To(n,t,r,o,!1)},one(n,t,r,o){To(n,t,r,o,!0)},off(n,t,r,o){if(typeof t!="string"||!n)return;const[c,d,h]=pl(t,r,o),p=h!==t,m=dl(n),_=m[h]||{},v=t.startsWith(".");if(typeof d<"u"){if(!Object.keys(_).length)return;jr(n,m,h,d,c?r:null);return}if(v)for(const C of Object.keys(m))cd(n,m,C,t.slice(1));for(const[C,R]of Object.entries(_)){const I=C.replace(sd,"");(!p||t.includes(I))&&jr(n,m,h,R.callable,R.delegationSelector)}},trigger(n,t,r){if(typeof t!="string"||!n)return null;const o=ll(),c=gl(t),d=t!==c;let h=null,p=!0,m=!0,_=!1;d&&o&&(h=o.Event(t,r),o(n).trigger(h),p=!h.isPropagationStopped(),m=!h.isImmediatePropagationStopped(),_=h.isDefaultPrevented());const v=es(new Event(t,{bubbles:p,cancelable:!0}),r);return _&&v.preventDefault(),m&&n.dispatchEvent(v),v.defaultPrevented&&h&&h.preventDefault(),v}};function es(n,t={}){for(const[r,o]of Object.entries(t))try{n[r]=o}catch{Object.defineProperty(n,r,{configurable:!0,get(){return o}})}return n}function wo(n){if(n==="true")return!0;if(n==="false")return!1;if(n===Number(n).toString())return Number(n);if(n===""||n==="null")return null;if(typeof n!="string")return n;try{return JSON.parse(decodeURIComponent(n))}catch{return n}}function cr(n){return n.replace(/[A-Z]/g,t=>`-${t.toLowerCase()}`)}const rt={setDataAttribute(n,t,r){n.setAttribute(`data-bs-${cr(t)}`,r)},removeDataAttribute(n,t){n.removeAttribute(`data-bs-${cr(t)}`)},getDataAttributes(n){if(!n)return{};const t={},r=Object.keys(n.dataset).filter(o=>o.startsWith("bs")&&!o.startsWith("bsConfig"));for(const o of r){let c=o.replace(/^bs/,"");c=c.charAt(0).toLowerCase()+c.slice(1),t[c]=wo(n.dataset[o])}return t},getDataAttribute(n,t){return wo(n.getAttribute(`data-bs-${cr(t)}`))}};class Rn{static get Default(){return{}}static get DefaultType(){return{}}static get NAME(){throw new Error('You have to implement the static method "NAME", for each component!')}_getConfig(t){return t=this._mergeConfigObj(t),t=this._configAfterMerge(t),this._typeCheckConfig(t),t}_configAfterMerge(t){return t}_mergeConfigObj(t,r){const o=it(r)?rt.getDataAttribute(r,"config"):{};return{...this.constructor.Default,...typeof o=="object"?o:{},...it(r)?rt.getDataAttributes(r):{},...typeof t=="object"?t:{}}}_typeCheckConfig(t,r=this.constructor.DefaultType){for(const[o,c]of Object.entries(r)){const d=t[o],h=it(d)?"element":Zf(d);if(!new RegExp(c).test(h))throw new TypeError(`${this.constructor.NAME.toUpperCase()}: Option "${o}" provided type "${h}" but expected type "${c}".`)}}}const ud="5.3.8";class ze extends Rn{constructor(t,r){super(),t=ft(t),t&&(this._element=t,this._config=this._getConfig(r),or.set(this._element,this.constructor.DATA_KEY,this))}dispose(){or.remove(this._element,this.constructor.DATA_KEY),M.off(this._element,this.constructor.EVENT_KEY);for(const t of Object.getOwnPropertyNames(this))this[t]=null}_queueCallback(t,r,o=!0){cl(t,r,o)}_getConfig(t){return t=this._mergeConfigObj(t,this._element),t=this._configAfterMerge(t),this._typeCheckConfig(t),t}static getInstance(t){return or.get(ft(t),this.DATA_KEY)}static getOrCreateInstance(t,r={}){return this.getInstance(t)||new this(t,typeof r=="object"?r:null)}static get VERSION(){return ud}static get DATA_KEY(){return`bs.${this.NAME}`}static get EVENT_KEY(){return`.${this.DATA_KEY}`}static eventName(t){return`${t}${this.EVENT_KEY}`}}const ur=n=>{let t=n.getAttribute("data-bs-target");if(!t||t==="#"){let r=n.getAttribute("href");if(!r||!r.includes("#")&&!r.startsWith("."))return null;r.includes("#")&&!r.startsWith("#")&&(r=`#${r.split("#")[1]}`),t=r&&r!=="#"?r.trim():null}return t?t.split(",").map(r=>sl(r)).join(","):null},K={find(n,t=document.documentElement){return[].concat(...Element.prototype.querySelectorAll.call(t,n))},findOne(n,t=document.documentElement){return Element.prototype.querySelector.call(t,n)},children(n,t){return[].concat(...n.children).filter(r=>r.matches(t))},parents(n,t){const r=[];let o=n.parentNode.closest(t);for(;o;)r.push(o),o=o.parentNode.closest(t);return r},prev(n,t){let r=n.previousElementSibling;for(;r;){if(r.matches(t))return[r];r=r.previousElementSibling}return[]},next(n,t){let r=n.nextElementSibling;for(;r;){if(r.matches(t))return[r];r=r.nextElementSibling}return[]},focusableChildren(n){const t=["a","button","input","textarea","select","details","[tabindex]",'[contenteditable="true"]'].map(r=>`${r}:not([tabindex^="-"])`).join(",");return this.find(t,n).filter(r=>!dt(r)&&cn(r))},getSelectorFromElement(n){const t=ur(n);return t&&K.findOne(t)?t:null},getElementFromSelector(n){const t=ur(n);return t?K.findOne(t):null},getMultipleElementsFromSelector(n){const t=ur(n);return t?K.find(t):[]}},Ni=(n,t="hide")=>{const r=`click.dismiss${n.EVENT_KEY}`,o=n.NAME;M.on(document,r,`[data-bs-dismiss="${o}"]`,function(c){if(["A","AREA"].includes(this.tagName)&&c.preventDefault(),dt(this))return;const d=K.getElementFromSelector(this)||this.closest(`.${o}`);n.getOrCreateInstance(d)[t]()})},fd="alert",dd="bs.alert",ml=`.${dd}`,hd=`close${ml}`,pd=`closed${ml}`,gd="fade",md="show";class Di extends ze{static get NAME(){return fd}close(){if(M.trigger(this._element,hd).defaultPrevented)return;this._element.classList.remove(md);const r=this._element.classList.contains(gd);this._queueCallback(()=>this._destroyElement(),this._element,r)}_destroyElement(){this._element.remove(),M.trigger(this._element,pd),this.dispose()}static jQueryInterface(t){return this.each(function(){const r=Di.getOrCreateInstance(this);if(typeof t=="string"){if(r[t]===void 0||t.startsWith("_")||t==="constructor")throw new TypeError(`No method named "${t}"`);r[t](this)}})}}Ni(Di,"close");Fe(Di);const yd="button",vd="bs.button",_d=`.${vd}`,bd=".data-api",Ed="active",So='[data-bs-toggle="button"]',Td=`click${_d}${bd}`;class Li extends ze{static get NAME(){return yd}toggle(){this._element.setAttribute("aria-pressed",this._element.classList.toggle(Ed))}static jQueryInterface(t){return this.each(function(){const r=Li.getOrCreateInstance(this);t==="toggle"&&r[t]()})}}M.on(document,Td,So,n=>{n.preventDefault();const t=n.target.closest(So);Li.getOrCreateInstance(t).toggle()});Fe(Li);const wd="swipe",un=".bs.swipe",Sd=`touchstart${un}`,Ad=`touchmove${un}`,xd=`touchend${un}`,Cd=`pointerdown${un}`,Od=`pointerup${un}`,Nd="touch",Dd="pen",Ld="pointer-event",Pd=40,Rd={endCallback:null,leftCallback:null,rightCallback:null},kd={endCallback:"(function|null)",leftCallback:"(function|null)",rightCallback:"(function|null)"};class bi extends Rn{constructor(t,r){super(),this._element=t,!(!t||!bi.isSupported())&&(this._config=this._getConfig(r),this._deltaX=0,this._supportPointerEvents=!!window.PointerEvent,this._initEvents())}static get Default(){return Rd}static get DefaultType(){return kd}static get NAME(){return wd}dispose(){M.off(this._element,un)}_start(t){if(!this._supportPointerEvents){this._deltaX=t.touches[0].clientX;return}this._eventIsPointerPenTouch(t)&&(this._deltaX=t.clientX)}_end(t){this._eventIsPointerPenTouch(t)&&(this._deltaX=t.clientX-this._deltaX),this._handleSwipe(),Ce(this._config.endCallback)}_move(t){this._deltaX=t.touches&&t.touches.length>1?0:t.touches[0].clientX-this._deltaX}_handleSwipe(){const t=Math.abs(this._deltaX);if(t<=Pd)return;const r=t/this._deltaX;this._deltaX=0,r&&Ce(r>0?this._config.rightCallback:this._config.leftCallback)}_initEvents(){this._supportPointerEvents?(M.on(this._element,Cd,t=>this._start(t)),M.on(this._element,Od,t=>this._end(t)),this._element.classList.add(Ld)):(M.on(this._element,Sd,t=>this._start(t)),M.on(this._element,Ad,t=>this._move(t)),M.on(this._element,xd,t=>this._end(t)))}_eventIsPointerPenTouch(t){return this._supportPointerEvents&&(t.pointerType===Dd||t.pointerType===Nd)}static isSupported(){return"ontouchstart"in document.documentElement||navigator.maxTouchPoints>0}}const Id="carousel",Md="bs.carousel",gt=`.${Md}`,yl=".data-api",jd="ArrowLeft",Hd="ArrowRight",$d=500,Tn="next",Vt="prev",Yt="left",di="right",Fd=`slide${gt}`,fr=`slid${gt}`,Bd=`keydown${gt}`,qd=`mouseenter${gt}`,Ud=`mouseleave${gt}`,Wd=`dragstart${gt}`,Vd=`load${gt}${yl}`,zd=`click${gt}${yl}`,vl="carousel",ni="active",Kd="slide",Yd="carousel-item-end",Gd="carousel-item-start",Xd="carousel-item-next",Qd="carousel-item-prev",_l=".active",bl=".carousel-item",Jd=_l+bl,Zd=".carousel-item img",eh=".carousel-indicators",th="[data-bs-slide], [data-bs-slide-to]",nh='[data-bs-ride="carousel"]',ih={[jd]:di,[Hd]:Yt},rh={interval:5e3,keyboard:!0,pause:"hover",ride:!1,touch:!0,wrap:!0},sh={interval:"(number|boolean)",keyboard:"boolean",pause:"(string|boolean)",ride:"(boolean|string)",touch:"boolean",wrap:"boolean"};class kn extends ze{constructor(t,r){super(t,r),this._interval=null,this._activeElement=null,this._isSliding=!1,this.touchTimeout=null,this._swipeHelper=null,this._indicatorsElement=K.findOne(eh,this._element),this._addEventListeners(),this._config.ride===vl&&this.cycle()}static get Default(){return rh}static get DefaultType(){return sh}static get NAME(){return Id}next(){this._slide(Tn)}nextWhenVisible(){!document.hidden&&cn(this._element)&&this.next()}prev(){this._slide(Vt)}pause(){this._isSliding&&ol(this._element),this._clearInterval()}cycle(){this._clearInterval(),this._updateInterval(),this._interval=setInterval(()=>this.nextWhenVisible(),this._config.interval)}_maybeEnableCycle(){if(this._config.ride){if(this._isSliding){M.one(this._element,fr,()=>this.cycle());return}this.cycle()}}to(t){const r=this._getItems();if(t>r.length-1||t<0)return;if(this._isSliding){M.one(this._element,fr,()=>this.to(t));return}const o=this._getItemIndex(this._getActive());if(o===t)return;const c=t>o?Tn:Vt;this._slide(c,r[t])}dispose(){this._swipeHelper&&this._swipeHelper.dispose(),super.dispose()}_configAfterMerge(t){return t.defaultInterval=t.interval,t}_addEventListeners(){this._config.keyboard&&M.on(this._element,Bd,t=>this._keydown(t)),this._config.pause==="hover"&&(M.on(this._element,qd,()=>this.pause()),M.on(this._element,Ud,()=>this._maybeEnableCycle())),this._config.touch&&bi.isSupported()&&this._addTouchEventListeners()}_addTouchEventListeners(){for(const o of K.find(Zd,this._element))M.on(o,Wd,c=>c.preventDefault());const r={leftCallback:()=>this._slide(this._directionToOrder(Yt)),rightCallback:()=>this._slide(this._directionToOrder(di)),endCallback:()=>{this._config.pause==="hover"&&(this.pause(),this.touchTimeout&&clearTimeout(this.touchTimeout),this.touchTimeout=setTimeout(()=>this._maybeEnableCycle(),$d+this._config.interval))}};this._swipeHelper=new bi(this._element,r)}_keydown(t){if(/input|textarea/i.test(t.target.tagName))return;const r=ih[t.key];r&&(t.preventDefault(),this._slide(this._directionToOrder(r)))}_getItemIndex(t){return this._getItems().indexOf(t)}_setActiveIndicatorElement(t){if(!this._indicatorsElement)return;const r=K.findOne(_l,this._indicatorsElement);r.classList.remove(ni),r.removeAttribute("aria-current");const o=K.findOne(`[data-bs-slide-to="${t}"]`,this._indicatorsElement);o&&(o.classList.add(ni),o.setAttribute("aria-current","true"))}_updateInterval(){const t=this._activeElement||this._getActive();if(!t)return;const r=Number.parseInt(t.getAttribute("data-bs-interval"),10);this._config.interval=r||this._config.defaultInterval}_slide(t,r=null){if(this._isSliding)return;const o=this._getActive(),c=t===Tn,d=r||Zr(this._getItems(),o,c,this._config.wrap);if(d===o)return;const h=this._getItemIndex(d),p=I=>M.trigger(this._element,I,{relatedTarget:d,direction:this._orderToDirection(t),from:this._getItemIndex(o),to:h});if(p(Fd).defaultPrevented||!o||!d)return;const _=!!this._interval;this.pause(),this._isSliding=!0,this._setActiveIndicatorElement(h),this._activeElement=d;const v=c?Gd:Yd,C=c?Xd:Qd;d.classList.add(C),Pn(d),o.classList.add(v),d.classList.add(v);const R=()=>{d.classList.remove(v,C),d.classList.add(ni),o.classList.remove(ni,C,v),this._isSliding=!1,p(fr)};this._queueCallback(R,o,this._isAnimated()),_&&this.cycle()}_isAnimated(){return this._element.classList.contains(Kd)}_getActive(){return K.findOne(Jd,this._element)}_getItems(){return K.find(bl,this._element)}_clearInterval(){this._interval&&(clearInterval(this._interval),this._interval=null)}_directionToOrder(t){return He()?t===Yt?Vt:Tn:t===Yt?Tn:Vt}_orderToDirection(t){return He()?t===Vt?Yt:di:t===Vt?di:Yt}static jQueryInterface(t){return this.each(function(){const r=kn.getOrCreateInstance(this,t);if(typeof t=="number"){r.to(t);return}if(typeof t=="string"){if(r[t]===void 0||t.startsWith("_")||t==="constructor")throw new TypeError(`No method named "${t}"`);r[t]()}})}}M.on(document,zd,th,function(n){const t=K.getElementFromSelector(this);if(!t||!t.classList.contains(vl))return;n.preventDefault();const r=kn.getOrCreateInstance(t),o=this.getAttribute("data-bs-slide-to");if(o){r.to(o),r._maybeEnableCycle();return}if(rt.getDataAttribute(this,"slide")==="next"){r.next(),r._maybeEnableCycle();return}r.prev(),r._maybeEnableCycle()});M.on(window,Vd,()=>{const n=K.find(nh);for(const t of n)kn.getOrCreateInstance(t)});Fe(kn);const oh="collapse",ah="bs.collapse",In=`.${ah}`,lh=".data-api",ch=`show${In}`,uh=`shown${In}`,fh=`hide${In}`,dh=`hidden${In}`,hh=`click${In}${lh}`,dr="show",Xt="collapse",ii="collapsing",ph="collapsed",gh=`:scope .${Xt} .${Xt}`,mh="collapse-horizontal",yh="width",vh="height",_h=".collapse.show, .collapse.collapsing",Hr='[data-bs-toggle="collapse"]',bh={parent:null,toggle:!0},Eh={parent:"(null|element)",toggle:"boolean"};class xn extends ze{constructor(t,r){super(t,r),this._isTransitioning=!1,this._triggerArray=[];const o=K.find(Hr);for(const c of o){const d=K.getSelectorFromElement(c),h=K.find(d).filter(p=>p===this._element);d!==null&&h.length&&this._triggerArray.push(c)}this._initializeChildren(),this._config.parent||this._addAriaAndCollapsedClass(this._triggerArray,this._isShown()),this._config.toggle&&this.toggle()}static get Default(){return bh}static get DefaultType(){return Eh}static get NAME(){return oh}toggle(){this._isShown()?this.hide():this.show()}show(){if(this._isTransitioning||this._isShown())return;let t=[];if(this._config.parent&&(t=this._getFirstLevelChildren(_h).filter(p=>p!==this._element).map(p=>xn.getOrCreateInstance(p,{toggle:!1}))),t.length&&t[0]._isTransitioning||M.trigger(this._element,ch).defaultPrevented)return;for(const p of t)p.hide();const o=this._getDimension();this._element.classList.remove(Xt),this._element.classList.add(ii),this._element.style[o]=0,this._addAriaAndCollapsedClass(this._triggerArray,!0),this._isTransitioning=!0;const c=()=>{this._isTransitioning=!1,this._element.classList.remove(ii),this._element.classList.add(Xt,dr),this._element.style[o]="",M.trigger(this._element,uh)},h=`scroll${o[0].toUpperCase()+o.slice(1)}`;this._queueCallback(c,this._element,!0),this._element.style[o]=`${this._element[h]}px`}hide(){if(this._isTransitioning||!this._isShown()||M.trigger(this._element,fh).defaultPrevented)return;const r=this._getDimension();this._element.style[r]=`${this._element.getBoundingClientRect()[r]}px`,Pn(this._element),this._element.classList.add(ii),this._element.classList.remove(Xt,dr);for(const c of this._triggerArray){const d=K.getElementFromSelector(c);d&&!this._isShown(d)&&this._addAriaAndCollapsedClass([c],!1)}this._isTransitioning=!0;const o=()=>{this._isTransitioning=!1,this._element.classList.remove(ii),this._element.classList.add(Xt),M.trigger(this._element,dh)};this._element.style[r]="",this._queueCallback(o,this._element,!0)}_isShown(t=this._element){return t.classList.contains(dr)}_configAfterMerge(t){return t.toggle=!!t.toggle,t.parent=ft(t.parent),t}_getDimension(){return this._element.classList.contains(mh)?yh:vh}_initializeChildren(){if(!this._config.parent)return;const t=this._getFirstLevelChildren(Hr);for(const r of t){const o=K.getElementFromSelector(r);o&&this._addAriaAndCollapsedClass([r],this._isShown(o))}}_getFirstLevelChildren(t){const r=K.find(gh,this._config.parent);return K.find(t,this._config.parent).filter(o=>!r.includes(o))}_addAriaAndCollapsedClass(t,r){if(t.length)for(const o of t)o.classList.toggle(ph,!r),o.setAttribute("aria-expanded",r)}static jQueryInterface(t){const r={};return typeof t=="string"&&/show|hide/.test(t)&&(r.toggle=!1),this.each(function(){const o=xn.getOrCreateInstance(this,r);if(typeof t=="string"){if(typeof o[t]>"u")throw new TypeError(`No method named "${t}"`);o[t]()}})}}M.on(document,hh,Hr,function(n){(n.target.tagName==="A"||n.delegateTarget&&n.delegateTarget.tagName==="A")&&n.preventDefault();for(const t of K.getMultipleElementsFromSelector(this))xn.getOrCreateInstance(t,{toggle:!1}).toggle()});Fe(xn);const Ao="dropdown",Th="bs.dropdown",Lt=`.${Th}`,ts=".data-api",wh="Escape",xo="Tab",Sh="ArrowUp",Co="ArrowDown",Ah=2,xh=`hide${Lt}`,Ch=`hidden${Lt}`,Oh=`show${Lt}`,Nh=`shown${Lt}`,El=`click${Lt}${ts}`,Tl=`keydown${Lt}${ts}`,Dh=`keyup${Lt}${ts}`,Gt="show",Lh="dropup",Ph="dropend",Rh="dropstart",kh="dropup-center",Ih="dropdown-center",wt='[data-bs-toggle="dropdown"]:not(.disabled):not(:disabled)',Mh=`${wt}.${Gt}`,hi=".dropdown-menu",jh=".navbar",Hh=".navbar-nav",$h=".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",Fh=He()?"top-end":"top-start",Bh=He()?"top-start":"top-end",qh=He()?"bottom-end":"bottom-start",Uh=He()?"bottom-start":"bottom-end",Wh=He()?"left-start":"right-start",Vh=He()?"right-start":"left-start",zh="top",Kh="bottom",Yh={autoClose:!0,boundary:"clippingParents",display:"dynamic",offset:[0,2],popperConfig:null,reference:"toggle"},Gh={autoClose:"(boolean|string)",boundary:"(string|element)",display:"string",offset:"(array|string|function)",popperConfig:"(null|object|function)",reference:"(string|element|object)"};class Je extends ze{constructor(t,r){super(t,r),this._popper=null,this._parent=this._element.parentNode,this._menu=K.next(this._element,hi)[0]||K.prev(this._element,hi)[0]||K.findOne(hi,this._parent),this._inNavbar=this._detectNavbar()}static get Default(){return Yh}static get DefaultType(){return Gh}static get NAME(){return Ao}toggle(){return this._isShown()?this.hide():this.show()}show(){if(dt(this._element)||this._isShown())return;const t={relatedTarget:this._element};if(!M.trigger(this._element,Oh,t).defaultPrevented){if(this._createPopper(),"ontouchstart"in document.documentElement&&!this._parent.closest(Hh))for(const o of[].concat(...document.body.children))M.on(o,"mouseover",_i);this._element.focus(),this._element.setAttribute("aria-expanded",!0),this._menu.classList.add(Gt),this._element.classList.add(Gt),M.trigger(this._element,Nh,t)}}hide(){if(dt(this._element)||!this._isShown())return;const t={relatedTarget:this._element};this._completeHide(t)}dispose(){this._popper&&this._popper.destroy(),super.dispose()}update(){this._inNavbar=this._detectNavbar(),this._popper&&this._popper.update()}_completeHide(t){if(!M.trigger(this._element,xh,t).defaultPrevented){if("ontouchstart"in document.documentElement)for(const o of[].concat(...document.body.children))M.off(o,"mouseover",_i);this._popper&&this._popper.destroy(),this._menu.classList.remove(Gt),this._element.classList.remove(Gt),this._element.setAttribute("aria-expanded","false"),rt.removeDataAttribute(this._menu,"popper"),M.trigger(this._element,Ch,t)}}_getConfig(t){if(t=super._getConfig(t),typeof t.reference=="object"&&!it(t.reference)&&typeof t.reference.getBoundingClientRect!="function")throw new TypeError(`${Ao.toUpperCase()}: Option "reference" provided type "object" without a required "getBoundingClientRect" method.`);return t}_createPopper(){if(typeof rl>"u")throw new TypeError("Bootstrap's dropdowns require Popper (https://popper.js.org/docs/v2/)");let t=this._element;this._config.reference==="parent"?t=this._parent:it(this._config.reference)?t=ft(this._config.reference):typeof this._config.reference=="object"&&(t=this._config.reference);const r=this._getPopperConfig();this._popper=Jr(t,this._menu,r)}_isShown(){return this._menu.classList.contains(Gt)}_getPlacement(){const t=this._parent;if(t.classList.contains(Ph))return Wh;if(t.classList.contains(Rh))return Vh;if(t.classList.contains(kh))return zh;if(t.classList.contains(Ih))return Kh;const r=getComputedStyle(this._menu).getPropertyValue("--bs-position").trim()==="end";return t.classList.contains(Lh)?r?Bh:Fh:r?Uh:qh}_detectNavbar(){return this._element.closest(jh)!==null}_getOffset(){const{offset:t}=this._config;return typeof t=="string"?t.split(",").map(r=>Number.parseInt(r,10)):typeof t=="function"?r=>t(r,this._element):t}_getPopperConfig(){const t={placement:this._getPlacement(),modifiers:[{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"offset",options:{offset:this._getOffset()}}]};return(this._inNavbar||this._config.display==="static")&&(rt.setDataAttribute(this._menu,"popper","static"),t.modifiers=[{name:"applyStyles",enabled:!1}]),{...t,...Ce(this._config.popperConfig,[void 0,t])}}_selectMenuItem({key:t,target:r}){const o=K.find($h,this._menu).filter(c=>cn(c));o.length&&Zr(o,r,t===Co,!o.includes(r)).focus()}static jQueryInterface(t){return this.each(function(){const r=Je.getOrCreateInstance(this,t);if(typeof t=="string"){if(typeof r[t]>"u")throw new TypeError(`No method named "${t}"`);r[t]()}})}static clearMenus(t){if(t.button===Ah||t.type==="keyup"&&t.key!==xo)return;const r=K.find(Mh);for(const o of r){const c=Je.getInstance(o);if(!c||c._config.autoClose===!1)continue;const d=t.composedPath(),h=d.includes(c._menu);if(d.includes(c._element)||c._config.autoClose==="inside"&&!h||c._config.autoClose==="outside"&&h||c._menu.contains(t.target)&&(t.type==="keyup"&&t.key===xo||/input|select|option|textarea|form/i.test(t.target.tagName)))continue;const p={relatedTarget:c._element};t.type==="click"&&(p.clickEvent=t),c._completeHide(p)}}static dataApiKeydownHandler(t){const r=/input|textarea/i.test(t.target.tagName),o=t.key===wh,c=[Sh,Co].includes(t.key);if(!c&&!o||r&&!o)return;t.preventDefault();const d=this.matches(wt)?this:K.prev(this,wt)[0]||K.next(this,wt)[0]||K.findOne(wt,t.delegateTarget.parentNode),h=Je.getOrCreateInstance(d);if(c){t.stopPropagation(),h.show(),h._selectMenuItem(t);return}h._isShown()&&(t.stopPropagation(),h.hide(),d.focus())}}M.on(document,Tl,wt,Je.dataApiKeydownHandler);M.on(document,Tl,hi,Je.dataApiKeydownHandler);M.on(document,El,Je.clearMenus);M.on(document,Dh,Je.clearMenus);M.on(document,El,wt,function(n){n.preventDefault(),Je.getOrCreateInstance(this).toggle()});Fe(Je);const wl="backdrop",Xh="fade",Oo="show",No=`mousedown.bs.${wl}`,Qh={className:"modal-backdrop",clickCallback:null,isAnimated:!1,isVisible:!0,rootElement:"body"},Jh={className:"string",clickCallback:"(function|null)",isAnimated:"boolean",isVisible:"boolean",rootElement:"(element|string)"};class Sl extends Rn{constructor(t){super(),this._config=this._getConfig(t),this._isAppended=!1,this._element=null}static get Default(){return Qh}static get DefaultType(){return Jh}static get NAME(){return wl}show(t){if(!this._config.isVisible){Ce(t);return}this._append();const r=this._getElement();this._config.isAnimated&&Pn(r),r.classList.add(Oo),this._emulateAnimation(()=>{Ce(t)})}hide(t){if(!this._config.isVisible){Ce(t);return}this._getElement().classList.remove(Oo),this._emulateAnimation(()=>{this.dispose(),Ce(t)})}dispose(){this._isAppended&&(M.off(this._element,No),this._element.remove(),this._isAppended=!1)}_getElement(){if(!this._element){const t=document.createElement("div");t.className=this._config.className,this._config.isAnimated&&t.classList.add(Xh),this._element=t}return this._element}_configAfterMerge(t){return t.rootElement=ft(t.rootElement),t}_append(){if(this._isAppended)return;const t=this._getElement();this._config.rootElement.append(t),M.on(t,No,()=>{Ce(this._config.clickCallback)}),this._isAppended=!0}_emulateAnimation(t){cl(t,this._getElement(),this._config.isAnimated)}}const Zh="focustrap",ep="bs.focustrap",Ei=`.${ep}`,tp=`focusin${Ei}`,np=`keydown.tab${Ei}`,ip="Tab",rp="forward",Do="backward",sp={autofocus:!0,trapElement:null},op={autofocus:"boolean",trapElement:"element"};class Al extends Rn{constructor(t){super(),this._config=this._getConfig(t),this._isActive=!1,this._lastTabNavDirection=null}static get Default(){return sp}static get DefaultType(){return op}static get NAME(){return Zh}activate(){this._isActive||(this._config.autofocus&&this._config.trapElement.focus(),M.off(document,Ei),M.on(document,tp,t=>this._handleFocusin(t)),M.on(document,np,t=>this._handleKeydown(t)),this._isActive=!0)}deactivate(){this._isActive&&(this._isActive=!1,M.off(document,Ei))}_handleFocusin(t){const{trapElement:r}=this._config;if(t.target===document||t.target===r||r.contains(t.target))return;const o=K.focusableChildren(r);o.length===0?r.focus():this._lastTabNavDirection===Do?o[o.length-1].focus():o[0].focus()}_handleKeydown(t){t.key===ip&&(this._lastTabNavDirection=t.shiftKey?Do:rp)}}const Lo=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",Po=".sticky-top",ri="padding-right",Ro="margin-right";class $r{constructor(){this._element=document.body}getWidth(){const t=document.documentElement.clientWidth;return Math.abs(window.innerWidth-t)}hide(){const t=this.getWidth();this._disableOverFlow(),this._setElementAttributes(this._element,ri,r=>r+t),this._setElementAttributes(Lo,ri,r=>r+t),this._setElementAttributes(Po,Ro,r=>r-t)}reset(){this._resetElementAttributes(this._element,"overflow"),this._resetElementAttributes(this._element,ri),this._resetElementAttributes(Lo,ri),this._resetElementAttributes(Po,Ro)}isOverflowing(){return this.getWidth()>0}_disableOverFlow(){this._saveInitialAttribute(this._element,"overflow"),this._element.style.overflow="hidden"}_setElementAttributes(t,r,o){const c=this.getWidth(),d=h=>{if(h!==this._element&&window.innerWidth>h.clientWidth+c)return;this._saveInitialAttribute(h,r);const p=window.getComputedStyle(h).getPropertyValue(r);h.style.setProperty(r,`${o(Number.parseFloat(p))}px`)};this._applyManipulationCallback(t,d)}_saveInitialAttribute(t,r){const o=t.style.getPropertyValue(r);o&&rt.setDataAttribute(t,r,o)}_resetElementAttributes(t,r){const o=c=>{const d=rt.getDataAttribute(c,r);if(d===null){c.style.removeProperty(r);return}rt.removeDataAttribute(c,r),c.style.setProperty(r,d)};this._applyManipulationCallback(t,o)}_applyManipulationCallback(t,r){if(it(t)){r(t);return}for(const o of K.find(t,this._element))r(o)}}const ap="modal",lp="bs.modal",$e=`.${lp}`,cp=".data-api",up="Escape",fp=`hide${$e}`,dp=`hidePrevented${$e}`,xl=`hidden${$e}`,Cl=`show${$e}`,hp=`shown${$e}`,pp=`resize${$e}`,gp=`click.dismiss${$e}`,mp=`mousedown.dismiss${$e}`,yp=`keydown.dismiss${$e}`,vp=`click${$e}${cp}`,ko="modal-open",_p="fade",Io="show",hr="modal-static",bp=".modal.show",Ep=".modal-dialog",Tp=".modal-body",wp='[data-bs-toggle="modal"]',Sp={backdrop:!0,focus:!0,keyboard:!0},Ap={backdrop:"(boolean|string)",focus:"boolean",keyboard:"boolean"};class rn extends ze{constructor(t,r){super(t,r),this._dialog=K.findOne(Ep,this._element),this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._isShown=!1,this._isTransitioning=!1,this._scrollBar=new $r,this._addEventListeners()}static get Default(){return Sp}static get DefaultType(){return Ap}static get NAME(){return ap}toggle(t){return this._isShown?this.hide():this.show(t)}show(t){this._isShown||this._isTransitioning||M.trigger(this._element,Cl,{relatedTarget:t}).defaultPrevented||(this._isShown=!0,this._isTransitioning=!0,this._scrollBar.hide(),document.body.classList.add(ko),this._adjustDialog(),this._backdrop.show(()=>this._showElement(t)))}hide(){!this._isShown||this._isTransitioning||M.trigger(this._element,fp).defaultPrevented||(this._isShown=!1,this._isTransitioning=!0,this._focustrap.deactivate(),this._element.classList.remove(Io),this._queueCallback(()=>this._hideModal(),this._element,this._isAnimated()))}dispose(){M.off(window,$e),M.off(this._dialog,$e),this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}handleUpdate(){this._adjustDialog()}_initializeBackDrop(){return new Sl({isVisible:!!this._config.backdrop,isAnimated:this._isAnimated()})}_initializeFocusTrap(){return new Al({trapElement:this._element})}_showElement(t){document.body.contains(this._element)||document.body.append(this._element),this._element.style.display="block",this._element.removeAttribute("aria-hidden"),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.scrollTop=0;const r=K.findOne(Tp,this._dialog);r&&(r.scrollTop=0),Pn(this._element),this._element.classList.add(Io);const o=()=>{this._config.focus&&this._focustrap.activate(),this._isTransitioning=!1,M.trigger(this._element,hp,{relatedTarget:t})};this._queueCallback(o,this._dialog,this._isAnimated())}_addEventListeners(){M.on(this._element,yp,t=>{if(t.key===up){if(this._config.keyboard){this.hide();return}this._triggerBackdropTransition()}}),M.on(window,pp,()=>{this._isShown&&!this._isTransitioning&&this._adjustDialog()}),M.on(this._element,mp,t=>{M.one(this._element,gp,r=>{if(!(this._element!==t.target||this._element!==r.target)){if(this._config.backdrop==="static"){this._triggerBackdropTransition();return}this._config.backdrop&&this.hide()}})})}_hideModal(){this._element.style.display="none",this._element.setAttribute("aria-hidden",!0),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._isTransitioning=!1,this._backdrop.hide(()=>{document.body.classList.remove(ko),this._resetAdjustments(),this._scrollBar.reset(),M.trigger(this._element,xl)})}_isAnimated(){return this._element.classList.contains(_p)}_triggerBackdropTransition(){if(M.trigger(this._element,dp).defaultPrevented)return;const r=this._element.scrollHeight>document.documentElement.clientHeight,o=this._element.style.overflowY;o==="hidden"||this._element.classList.contains(hr)||(r||(this._element.style.overflowY="hidden"),this._element.classList.add(hr),this._queueCallback(()=>{this._element.classList.remove(hr),this._queueCallback(()=>{this._element.style.overflowY=o},this._dialog)},this._dialog),this._element.focus())}_adjustDialog(){const t=this._element.scrollHeight>document.documentElement.clientHeight,r=this._scrollBar.getWidth(),o=r>0;if(o&&!t){const c=He()?"paddingLeft":"paddingRight";this._element.style[c]=`${r}px`}if(!o&&t){const c=He()?"paddingRight":"paddingLeft";this._element.style[c]=`${r}px`}}_resetAdjustments(){this._element.style.paddingLeft="",this._element.style.paddingRight=""}static jQueryInterface(t,r){return this.each(function(){const o=rn.getOrCreateInstance(this,t);if(typeof t=="string"){if(typeof o[t]>"u")throw new TypeError(`No method named "${t}"`);o[t](r)}})}}M.on(document,vp,wp,function(n){const t=K.getElementFromSelector(this);["A","AREA"].includes(this.tagName)&&n.preventDefault(),M.one(t,Cl,c=>{c.defaultPrevented||M.one(t,xl,()=>{cn(this)&&this.focus()})});const r=K.findOne(bp);r&&rn.getInstance(r).hide(),rn.getOrCreateInstance(t).toggle(this)});Ni(rn);Fe(rn);const xp="offcanvas",Cp="bs.offcanvas",ot=`.${Cp}`,Ol=".data-api",Op=`load${ot}${Ol}`,Np="Escape",Mo="show",jo="showing",Ho="hiding",Dp="offcanvas-backdrop",Nl=".offcanvas.show",Lp=`show${ot}`,Pp=`shown${ot}`,Rp=`hide${ot}`,$o=`hidePrevented${ot}`,Dl=`hidden${ot}`,kp=`resize${ot}`,Ip=`click${ot}${Ol}`,Mp=`keydown.dismiss${ot}`,jp='[data-bs-toggle="offcanvas"]',Hp={backdrop:!0,keyboard:!0,scroll:!1},$p={backdrop:"(boolean|string)",keyboard:"boolean",scroll:"boolean"};class ht extends ze{constructor(t,r){super(t,r),this._isShown=!1,this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._addEventListeners()}static get Default(){return Hp}static get DefaultType(){return $p}static get NAME(){return xp}toggle(t){return this._isShown?this.hide():this.show(t)}show(t){if(this._isShown||M.trigger(this._element,Lp,{relatedTarget:t}).defaultPrevented)return;this._isShown=!0,this._backdrop.show(),this._config.scroll||new $r().hide(),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.classList.add(jo);const o=()=>{(!this._config.scroll||this._config.backdrop)&&this._focustrap.activate(),this._element.classList.add(Mo),this._element.classList.remove(jo),M.trigger(this._element,Pp,{relatedTarget:t})};this._queueCallback(o,this._element,!0)}hide(){if(!this._isShown||M.trigger(this._element,Rp).defaultPrevented)return;this._focustrap.deactivate(),this._element.blur(),this._isShown=!1,this._element.classList.add(Ho),this._backdrop.hide();const r=()=>{this._element.classList.remove(Mo,Ho),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._config.scroll||new $r().reset(),M.trigger(this._element,Dl)};this._queueCallback(r,this._element,!0)}dispose(){this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}_initializeBackDrop(){const t=()=>{if(this._config.backdrop==="static"){M.trigger(this._element,$o);return}this.hide()},r=!!this._config.backdrop;return new Sl({className:Dp,isVisible:r,isAnimated:!0,rootElement:this._element.parentNode,clickCallback:r?t:null})}_initializeFocusTrap(){return new Al({trapElement:this._element})}_addEventListeners(){M.on(this._element,Mp,t=>{if(t.key===Np){if(this._config.keyboard){this.hide();return}M.trigger(this._element,$o)}})}static jQueryInterface(t){return this.each(function(){const r=ht.getOrCreateInstance(this,t);if(typeof t=="string"){if(r[t]===void 0||t.startsWith("_")||t==="constructor")throw new TypeError(`No method named "${t}"`);r[t](this)}})}}M.on(document,Ip,jp,function(n){const t=K.getElementFromSelector(this);if(["A","AREA"].includes(this.tagName)&&n.preventDefault(),dt(this))return;M.one(t,Dl,()=>{cn(this)&&this.focus()});const r=K.findOne(Nl);r&&r!==t&&ht.getInstance(r).hide(),ht.getOrCreateInstance(t).toggle(this)});M.on(window,Op,()=>{for(const n of K.find(Nl))ht.getOrCreateInstance(n).show()});M.on(window,kp,()=>{for(const n of K.find("[aria-modal][class*=show][class*=offcanvas-]"))getComputedStyle(n).position!=="fixed"&&ht.getOrCreateInstance(n).hide()});Ni(ht);Fe(ht);const Fp=/^aria-[\w-]*$/i,Ll={"*":["class","dir","id","lang","role",Fp],a:["target","href","title","rel"],area:[],b:[],br:[],col:[],code:[],dd:[],div:[],dl:[],dt:[],em:[],hr:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],i:[],img:["src","srcset","alt","title","width","height"],li:[],ol:[],p:[],pre:[],s:[],small:[],span:[],sub:[],sup:[],strong:[],u:[],ul:[]},Bp=new Set(["background","cite","href","itemtype","longdesc","poster","src","xlink:href"]),qp=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:/?#]*(?:[/?#]|$))/i,Up=(n,t)=>{const r=n.nodeName.toLowerCase();return t.includes(r)?Bp.has(r)?!!qp.test(n.nodeValue):!0:t.filter(o=>o instanceof RegExp).some(o=>o.test(r))};function Wp(n,t,r){if(!n.length)return n;if(r&&typeof r=="function")return r(n);const c=new window.DOMParser().parseFromString(n,"text/html"),d=[].concat(...c.body.querySelectorAll("*"));for(const h of d){const p=h.nodeName.toLowerCase();if(!Object.keys(t).includes(p)){h.remove();continue}const m=[].concat(...h.attributes),_=[].concat(t["*"]||[],t[p]||[]);for(const v of m)Up(v,_)||h.removeAttribute(v.nodeName)}return c.body.innerHTML}const Vp="TemplateFactory",zp={allowList:Ll,content:{},extraClass:"",html:!1,sanitize:!0,sanitizeFn:null,template:"
"},Kp={allowList:"object",content:"object",extraClass:"(string|function)",html:"boolean",sanitize:"boolean",sanitizeFn:"(null|function)",template:"string"},Yp={entry:"(string|element|function|null)",selector:"(string|element)"};class Gp extends Rn{constructor(t){super(),this._config=this._getConfig(t)}static get Default(){return zp}static get DefaultType(){return Kp}static get NAME(){return Vp}getContent(){return Object.values(this._config.content).map(t=>this._resolvePossibleFunction(t)).filter(Boolean)}hasContent(){return this.getContent().length>0}changeContent(t){return this._checkContent(t),this._config.content={...this._config.content,...t},this}toHtml(){const t=document.createElement("div");t.innerHTML=this._maybeSanitize(this._config.template);for(const[c,d]of Object.entries(this._config.content))this._setContent(t,d,c);const r=t.children[0],o=this._resolvePossibleFunction(this._config.extraClass);return o&&r.classList.add(...o.split(" ")),r}_typeCheckConfig(t){super._typeCheckConfig(t),this._checkContent(t.content)}_checkContent(t){for(const[r,o]of Object.entries(t))super._typeCheckConfig({selector:r,entry:o},Yp)}_setContent(t,r,o){const c=K.findOne(o,t);if(c){if(r=this._resolvePossibleFunction(r),!r){c.remove();return}if(it(r)){this._putElementInTemplate(ft(r),c);return}if(this._config.html){c.innerHTML=this._maybeSanitize(r);return}c.textContent=r}}_maybeSanitize(t){return this._config.sanitize?Wp(t,this._config.allowList,this._config.sanitizeFn):t}_resolvePossibleFunction(t){return Ce(t,[void 0,this])}_putElementInTemplate(t,r){if(this._config.html){r.innerHTML="",r.append(t);return}r.textContent=t.textContent}}const Xp="tooltip",Qp=new Set(["sanitize","allowList","sanitizeFn"]),pr="fade",Jp="modal",si="show",Zp=".tooltip-inner",Fo=`.${Jp}`,Bo="hide.bs.modal",wn="hover",gr="focus",mr="click",eg="manual",tg="hide",ng="hidden",ig="show",rg="shown",sg="inserted",og="click",ag="focusin",lg="focusout",cg="mouseenter",ug="mouseleave",fg={AUTO:"auto",TOP:"top",RIGHT:He()?"left":"right",BOTTOM:"bottom",LEFT:He()?"right":"left"},dg={allowList:Ll,animation:!0,boundary:"clippingParents",container:!1,customClass:"",delay:0,fallbackPlacements:["top","right","bottom","left"],html:!1,offset:[0,6],placement:"top",popperConfig:null,sanitize:!0,sanitizeFn:null,selector:!1,template:'',title:"",trigger:"hover focus"},hg={allowList:"object",animation:"boolean",boundary:"(string|element)",container:"(string|element|boolean)",customClass:"(string|function)",delay:"(number|object)",fallbackPlacements:"array",html:"boolean",offset:"(array|string|function)",placement:"(string|function)",popperConfig:"(null|object|function)",sanitize:"boolean",sanitizeFn:"(null|function)",selector:"(string|boolean)",template:"string",title:"(string|element|function)",trigger:"string"};class fn extends ze{constructor(t,r){if(typeof rl>"u")throw new TypeError("Bootstrap's tooltips require Popper (https://popper.js.org/docs/v2/)");super(t,r),this._isEnabled=!0,this._timeout=0,this._isHovered=null,this._activeTrigger={},this._popper=null,this._templateFactory=null,this._newContent=null,this.tip=null,this._setListeners(),this._config.selector||this._fixTitle()}static get Default(){return dg}static get DefaultType(){return hg}static get NAME(){return Xp}enable(){this._isEnabled=!0}disable(){this._isEnabled=!1}toggleEnabled(){this._isEnabled=!this._isEnabled}toggle(){if(this._isEnabled){if(this._isShown()){this._leave();return}this._enter()}}dispose(){clearTimeout(this._timeout),M.off(this._element.closest(Fo),Bo,this._hideModalHandler),this._element.getAttribute("data-bs-original-title")&&this._element.setAttribute("title",this._element.getAttribute("data-bs-original-title")),this._disposePopper(),super.dispose()}show(){if(this._element.style.display==="none")throw new Error("Please use show on visible elements");if(!(this._isWithContent()&&this._isEnabled))return;const t=M.trigger(this._element,this.constructor.eventName(ig)),o=(al(this._element)||this._element.ownerDocument.documentElement).contains(this._element);if(t.defaultPrevented||!o)return;this._disposePopper();const c=this._getTipElement();this._element.setAttribute("aria-describedby",c.getAttribute("id"));const{container:d}=this._config;if(this._element.ownerDocument.documentElement.contains(this.tip)||(d.append(c),M.trigger(this._element,this.constructor.eventName(sg))),this._popper=this._createPopper(c),c.classList.add(si),"ontouchstart"in document.documentElement)for(const p of[].concat(...document.body.children))M.on(p,"mouseover",_i);const h=()=>{M.trigger(this._element,this.constructor.eventName(rg)),this._isHovered===!1&&this._leave(),this._isHovered=!1};this._queueCallback(h,this.tip,this._isAnimated())}hide(){if(!this._isShown()||M.trigger(this._element,this.constructor.eventName(tg)).defaultPrevented)return;if(this._getTipElement().classList.remove(si),"ontouchstart"in document.documentElement)for(const c of[].concat(...document.body.children))M.off(c,"mouseover",_i);this._activeTrigger[mr]=!1,this._activeTrigger[gr]=!1,this._activeTrigger[wn]=!1,this._isHovered=null;const o=()=>{this._isWithActiveTrigger()||(this._isHovered||this._disposePopper(),this._element.removeAttribute("aria-describedby"),M.trigger(this._element,this.constructor.eventName(ng)))};this._queueCallback(o,this.tip,this._isAnimated())}update(){this._popper&&this._popper.update()}_isWithContent(){return!!this._getTitle()}_getTipElement(){return this.tip||(this.tip=this._createTipElement(this._newContent||this._getContentForTemplate())),this.tip}_createTipElement(t){const r=this._getTemplateFactory(t).toHtml();if(!r)return null;r.classList.remove(pr,si),r.classList.add(`bs-${this.constructor.NAME}-auto`);const o=ed(this.constructor.NAME).toString();return r.setAttribute("id",o),this._isAnimated()&&r.classList.add(pr),r}setContent(t){this._newContent=t,this._isShown()&&(this._disposePopper(),this.show())}_getTemplateFactory(t){return this._templateFactory?this._templateFactory.changeContent(t):this._templateFactory=new Gp({...this._config,content:t,extraClass:this._resolvePossibleFunction(this._config.customClass)}),this._templateFactory}_getContentForTemplate(){return{[Zp]:this._getTitle()}}_getTitle(){return this._resolvePossibleFunction(this._config.title)||this._element.getAttribute("data-bs-original-title")}_initializeOnDelegatedTarget(t){return this.constructor.getOrCreateInstance(t.delegateTarget,this._getDelegateConfig())}_isAnimated(){return this._config.animation||this.tip&&this.tip.classList.contains(pr)}_isShown(){return this.tip&&this.tip.classList.contains(si)}_createPopper(t){const r=Ce(this._config.placement,[this,t,this._element]),o=fg[r.toUpperCase()];return Jr(this._element,t,this._getPopperConfig(o))}_getOffset(){const{offset:t}=this._config;return typeof t=="string"?t.split(",").map(r=>Number.parseInt(r,10)):typeof t=="function"?r=>t(r,this._element):t}_resolvePossibleFunction(t){return Ce(t,[this._element,this._element])}_getPopperConfig(t){const r={placement:t,modifiers:[{name:"flip",options:{fallbackPlacements:this._config.fallbackPlacements}},{name:"offset",options:{offset:this._getOffset()}},{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"arrow",options:{element:`.${this.constructor.NAME}-arrow`}},{name:"preSetPlacement",enabled:!0,phase:"beforeMain",fn:o=>{this._getTipElement().setAttribute("data-popper-placement",o.state.placement)}}]};return{...r,...Ce(this._config.popperConfig,[void 0,r])}}_setListeners(){const t=this._config.trigger.split(" ");for(const r of t)if(r==="click")M.on(this._element,this.constructor.eventName(og),this._config.selector,o=>{const c=this._initializeOnDelegatedTarget(o);c._activeTrigger[mr]=!(c._isShown()&&c._activeTrigger[mr]),c.toggle()});else if(r!==eg){const o=r===wn?this.constructor.eventName(cg):this.constructor.eventName(ag),c=r===wn?this.constructor.eventName(ug):this.constructor.eventName(lg);M.on(this._element,o,this._config.selector,d=>{const h=this._initializeOnDelegatedTarget(d);h._activeTrigger[d.type==="focusin"?gr:wn]=!0,h._enter()}),M.on(this._element,c,this._config.selector,d=>{const h=this._initializeOnDelegatedTarget(d);h._activeTrigger[d.type==="focusout"?gr:wn]=h._element.contains(d.relatedTarget),h._leave()})}this._hideModalHandler=()=>{this._element&&this.hide()},M.on(this._element.closest(Fo),Bo,this._hideModalHandler)}_fixTitle(){const t=this._element.getAttribute("title");t&&(!this._element.getAttribute("aria-label")&&!this._element.textContent.trim()&&this._element.setAttribute("aria-label",t),this._element.setAttribute("data-bs-original-title",t),this._element.removeAttribute("title"))}_enter(){if(this._isShown()||this._isHovered){this._isHovered=!0;return}this._isHovered=!0,this._setTimeout(()=>{this._isHovered&&this.show()},this._config.delay.show)}_leave(){this._isWithActiveTrigger()||(this._isHovered=!1,this._setTimeout(()=>{this._isHovered||this.hide()},this._config.delay.hide))}_setTimeout(t,r){clearTimeout(this._timeout),this._timeout=setTimeout(t,r)}_isWithActiveTrigger(){return Object.values(this._activeTrigger).includes(!0)}_getConfig(t){const r=rt.getDataAttributes(this._element);for(const o of Object.keys(r))Qp.has(o)&&delete r[o];return t={...r,...typeof t=="object"&&t?t:{}},t=this._mergeConfigObj(t),t=this._configAfterMerge(t),this._typeCheckConfig(t),t}_configAfterMerge(t){return t.container=t.container===!1?document.body:ft(t.container),typeof t.delay=="number"&&(t.delay={show:t.delay,hide:t.delay}),typeof t.title=="number"&&(t.title=t.title.toString()),typeof t.content=="number"&&(t.content=t.content.toString()),t}_getDelegateConfig(){const t={};for(const[r,o]of Object.entries(this._config))this.constructor.Default[r]!==o&&(t[r]=o);return t.selector=!1,t.trigger="manual",t}_disposePopper(){this._popper&&(this._popper.destroy(),this._popper=null),this.tip&&(this.tip.remove(),this.tip=null)}static jQueryInterface(t){return this.each(function(){const r=fn.getOrCreateInstance(this,t);if(typeof t=="string"){if(typeof r[t]>"u")throw new TypeError(`No method named "${t}"`);r[t]()}})}}Fe(fn);const pg="popover",gg=".popover-header",mg=".popover-body",yg={...fn.Default,content:"",offset:[0,8],placement:"right",template:'',trigger:"click"},vg={...fn.DefaultType,content:"(null|string|element|function)"};class ns extends fn{static get Default(){return yg}static get DefaultType(){return vg}static get NAME(){return pg}_isWithContent(){return this._getTitle()||this._getContent()}_getContentForTemplate(){return{[gg]:this._getTitle(),[mg]:this._getContent()}}_getContent(){return this._resolvePossibleFunction(this._config.content)}static jQueryInterface(t){return this.each(function(){const r=ns.getOrCreateInstance(this,t);if(typeof t=="string"){if(typeof r[t]>"u")throw new TypeError(`No method named "${t}"`);r[t]()}})}}Fe(ns);const _g="scrollspy",bg="bs.scrollspy",is=`.${bg}`,Eg=".data-api",Tg=`activate${is}`,qo=`click${is}`,wg=`load${is}${Eg}`,Sg="dropdown-item",zt="active",Ag='[data-bs-spy="scroll"]',yr="[href]",xg=".nav, .list-group",Uo=".nav-link",Cg=".nav-item",Og=".list-group-item",Ng=`${Uo}, ${Cg} > ${Uo}, ${Og}`,Dg=".dropdown",Lg=".dropdown-toggle",Pg={offset:null,rootMargin:"0px 0px -25%",smoothScroll:!1,target:null,threshold:[.1,.5,1]},Rg={offset:"(number|null)",rootMargin:"string",smoothScroll:"boolean",target:"element",threshold:"array"};class Pi extends ze{constructor(t,r){super(t,r),this._targetLinks=new Map,this._observableSections=new Map,this._rootElement=getComputedStyle(this._element).overflowY==="visible"?null:this._element,this._activeTarget=null,this._observer=null,this._previousScrollData={visibleEntryTop:0,parentScrollTop:0},this.refresh()}static get Default(){return Pg}static get DefaultType(){return Rg}static get NAME(){return _g}refresh(){this._initializeTargetsAndObservables(),this._maybeEnableSmoothScroll(),this._observer?this._observer.disconnect():this._observer=this._getNewObserver();for(const t of this._observableSections.values())this._observer.observe(t)}dispose(){this._observer.disconnect(),super.dispose()}_configAfterMerge(t){return t.target=ft(t.target)||document.body,t.rootMargin=t.offset?`${t.offset}px 0px -30%`:t.rootMargin,typeof t.threshold=="string"&&(t.threshold=t.threshold.split(",").map(r=>Number.parseFloat(r))),t}_maybeEnableSmoothScroll(){this._config.smoothScroll&&(M.off(this._config.target,qo),M.on(this._config.target,qo,yr,t=>{const r=this._observableSections.get(t.target.hash);if(r){t.preventDefault();const o=this._rootElement||window,c=r.offsetTop-this._element.offsetTop;if(o.scrollTo){o.scrollTo({top:c,behavior:"smooth"});return}o.scrollTop=c}}))}_getNewObserver(){const t={root:this._rootElement,threshold:this._config.threshold,rootMargin:this._config.rootMargin};return new IntersectionObserver(r=>this._observerCallback(r),t)}_observerCallback(t){const r=h=>this._targetLinks.get(`#${h.target.id}`),o=h=>{this._previousScrollData.visibleEntryTop=h.target.offsetTop,this._process(r(h))},c=(this._rootElement||document.documentElement).scrollTop,d=c>=this._previousScrollData.parentScrollTop;this._previousScrollData.parentScrollTop=c;for(const h of t){if(!h.isIntersecting){this._activeTarget=null,this._clearActiveClass(r(h));continue}const p=h.target.offsetTop>=this._previousScrollData.visibleEntryTop;if(d&&p){if(o(h),!c)return;continue}!d&&!p&&o(h)}}_initializeTargetsAndObservables(){this._targetLinks=new Map,this._observableSections=new Map;const t=K.find(yr,this._config.target);for(const r of t){if(!r.hash||dt(r))continue;const o=K.findOne(decodeURI(r.hash),this._element);cn(o)&&(this._targetLinks.set(decodeURI(r.hash),r),this._observableSections.set(r.hash,o))}}_process(t){this._activeTarget!==t&&(this._clearActiveClass(this._config.target),this._activeTarget=t,t.classList.add(zt),this._activateParents(t),M.trigger(this._element,Tg,{relatedTarget:t}))}_activateParents(t){if(t.classList.contains(Sg)){K.findOne(Lg,t.closest(Dg)).classList.add(zt);return}for(const r of K.parents(t,xg))for(const o of K.prev(r,Ng))o.classList.add(zt)}_clearActiveClass(t){t.classList.remove(zt);const r=K.find(`${yr}.${zt}`,t);for(const o of r)o.classList.remove(zt)}static jQueryInterface(t){return this.each(function(){const r=Pi.getOrCreateInstance(this,t);if(typeof t=="string"){if(r[t]===void 0||t.startsWith("_")||t==="constructor")throw new TypeError(`No method named "${t}"`);r[t]()}})}}M.on(window,wg,()=>{for(const n of K.find(Ag))Pi.getOrCreateInstance(n)});Fe(Pi);const kg="tab",Ig="bs.tab",Pt=`.${Ig}`,Mg=`hide${Pt}`,jg=`hidden${Pt}`,Hg=`show${Pt}`,$g=`shown${Pt}`,Fg=`click${Pt}`,Bg=`keydown${Pt}`,qg=`load${Pt}`,Ug="ArrowLeft",Wo="ArrowRight",Wg="ArrowUp",Vo="ArrowDown",vr="Home",zo="End",St="active",Ko="fade",_r="show",Vg="dropdown",Pl=".dropdown-toggle",zg=".dropdown-menu",br=`:not(${Pl})`,Kg='.list-group, .nav, [role="tablist"]',Yg=".nav-item, .list-group-item",Gg=`.nav-link${br}, .list-group-item${br}, [role="tab"]${br}`,Rl='[data-bs-toggle="tab"], [data-bs-toggle="pill"], [data-bs-toggle="list"]',Er=`${Gg}, ${Rl}`,Xg=`.${St}[data-bs-toggle="tab"], .${St}[data-bs-toggle="pill"], .${St}[data-bs-toggle="list"]`;class sn extends ze{constructor(t){super(t),this._parent=this._element.closest(Kg),this._parent&&(this._setInitialAttributes(this._parent,this._getChildren()),M.on(this._element,Bg,r=>this._keydown(r)))}static get NAME(){return kg}show(){const t=this._element;if(this._elemIsActive(t))return;const r=this._getActiveElem(),o=r?M.trigger(r,Mg,{relatedTarget:t}):null;M.trigger(t,Hg,{relatedTarget:r}).defaultPrevented||o&&o.defaultPrevented||(this._deactivate(r,t),this._activate(t,r))}_activate(t,r){if(!t)return;t.classList.add(St),this._activate(K.getElementFromSelector(t));const o=()=>{if(t.getAttribute("role")!=="tab"){t.classList.add(_r);return}t.removeAttribute("tabindex"),t.setAttribute("aria-selected",!0),this._toggleDropDown(t,!0),M.trigger(t,$g,{relatedTarget:r})};this._queueCallback(o,t,t.classList.contains(Ko))}_deactivate(t,r){if(!t)return;t.classList.remove(St),t.blur(),this._deactivate(K.getElementFromSelector(t));const o=()=>{if(t.getAttribute("role")!=="tab"){t.classList.remove(_r);return}t.setAttribute("aria-selected",!1),t.setAttribute("tabindex","-1"),this._toggleDropDown(t,!1),M.trigger(t,jg,{relatedTarget:r})};this._queueCallback(o,t,t.classList.contains(Ko))}_keydown(t){if(![Ug,Wo,Wg,Vo,vr,zo].includes(t.key))return;t.stopPropagation(),t.preventDefault();const r=this._getChildren().filter(c=>!dt(c));let o;if([vr,zo].includes(t.key))o=r[t.key===vr?0:r.length-1];else{const c=[Wo,Vo].includes(t.key);o=Zr(r,t.target,c,!0)}o&&(o.focus({preventScroll:!0}),sn.getOrCreateInstance(o).show())}_getChildren(){return K.find(Er,this._parent)}_getActiveElem(){return this._getChildren().find(t=>this._elemIsActive(t))||null}_setInitialAttributes(t,r){this._setAttributeIfNotExists(t,"role","tablist");for(const o of r)this._setInitialAttributesOnChild(o)}_setInitialAttributesOnChild(t){t=this._getInnerElement(t);const r=this._elemIsActive(t),o=this._getOuterElement(t);t.setAttribute("aria-selected",r),o!==t&&this._setAttributeIfNotExists(o,"role","presentation"),r||t.setAttribute("tabindex","-1"),this._setAttributeIfNotExists(t,"role","tab"),this._setInitialAttributesOnTargetPanel(t)}_setInitialAttributesOnTargetPanel(t){const r=K.getElementFromSelector(t);r&&(this._setAttributeIfNotExists(r,"role","tabpanel"),t.id&&this._setAttributeIfNotExists(r,"aria-labelledby",`${t.id}`))}_toggleDropDown(t,r){const o=this._getOuterElement(t);if(!o.classList.contains(Vg))return;const c=(d,h)=>{const p=K.findOne(d,o);p&&p.classList.toggle(h,r)};c(Pl,St),c(zg,_r),o.setAttribute("aria-expanded",r)}_setAttributeIfNotExists(t,r,o){t.hasAttribute(r)||t.setAttribute(r,o)}_elemIsActive(t){return t.classList.contains(St)}_getInnerElement(t){return t.matches(Er)?t:K.findOne(Er,t)}_getOuterElement(t){return t.closest(Yg)||t}static jQueryInterface(t){return this.each(function(){const r=sn.getOrCreateInstance(this);if(typeof t=="string"){if(r[t]===void 0||t.startsWith("_")||t==="constructor")throw new TypeError(`No method named "${t}"`);r[t]()}})}}M.on(document,Fg,Rl,function(n){["A","AREA"].includes(this.tagName)&&n.preventDefault(),!dt(this)&&sn.getOrCreateInstance(this).show()});M.on(window,qg,()=>{for(const n of K.find(Xg))sn.getOrCreateInstance(n)});Fe(sn);const Qg="toast",Jg="bs.toast",mt=`.${Jg}`,Zg=`mouseover${mt}`,em=`mouseout${mt}`,tm=`focusin${mt}`,nm=`focusout${mt}`,im=`hide${mt}`,rm=`hidden${mt}`,sm=`show${mt}`,om=`shown${mt}`,am="fade",Yo="hide",oi="show",ai="showing",lm={animation:"boolean",autohide:"boolean",delay:"number"},cm={animation:!0,autohide:!0,delay:5e3};class Ri extends ze{constructor(t,r){super(t,r),this._timeout=null,this._hasMouseInteraction=!1,this._hasKeyboardInteraction=!1,this._setListeners()}static get Default(){return cm}static get DefaultType(){return lm}static get NAME(){return Qg}show(){if(M.trigger(this._element,sm).defaultPrevented)return;this._clearTimeout(),this._config.animation&&this._element.classList.add(am);const r=()=>{this._element.classList.remove(ai),M.trigger(this._element,om),this._maybeScheduleHide()};this._element.classList.remove(Yo),Pn(this._element),this._element.classList.add(oi,ai),this._queueCallback(r,this._element,this._config.animation)}hide(){if(!this.isShown()||M.trigger(this._element,im).defaultPrevented)return;const r=()=>{this._element.classList.add(Yo),this._element.classList.remove(ai,oi),M.trigger(this._element,rm)};this._element.classList.add(ai),this._queueCallback(r,this._element,this._config.animation)}dispose(){this._clearTimeout(),this.isShown()&&this._element.classList.remove(oi),super.dispose()}isShown(){return this._element.classList.contains(oi)}_maybeScheduleHide(){this._config.autohide&&(this._hasMouseInteraction||this._hasKeyboardInteraction||(this._timeout=setTimeout(()=>{this.hide()},this._config.delay)))}_onInteraction(t,r){switch(t.type){case"mouseover":case"mouseout":{this._hasMouseInteraction=r;break}case"focusin":case"focusout":{this._hasKeyboardInteraction=r;break}}if(r){this._clearTimeout();return}const o=t.relatedTarget;this._element===o||this._element.contains(o)||this._maybeScheduleHide()}_setListeners(){M.on(this._element,Zg,t=>this._onInteraction(t,!0)),M.on(this._element,em,t=>this._onInteraction(t,!1)),M.on(this._element,tm,t=>this._onInteraction(t,!0)),M.on(this._element,nm,t=>this._onInteraction(t,!1))}_clearTimeout(){clearTimeout(this._timeout),this._timeout=null}static jQueryInterface(t){return this.each(function(){const r=Ri.getOrCreateInstance(this,t);if(typeof t=="string"){if(typeof r[t]>"u")throw new TypeError(`No method named "${t}"`);r[t](this)}})}}Ni(Ri);Fe(Ri);function um(n,t){if(typeof n>"u"||!n.document)throw new Error("jQuery requires a window with a document");var r=[],o=Object.getPrototypeOf,c=r.slice,d=r.flat?function(e){return r.flat.call(e)}:function(e){return r.concat.apply([],e)},h=r.push,p=r.indexOf,m={},_=m.toString,v=m.hasOwnProperty,C=v.toString,R=C.call(Object),I={};function E(e){return e==null?e+"":typeof e=="object"?m[_.call(e)]||"object":typeof e}function S(e){return e!=null&&e===e.window}function x(e){var i=!!e&&e.length,s=E(e);return typeof e=="function"||S(e)?!1:s==="array"||i===0||typeof i=="number"&&i>0&&i-1 in e}var P=n.document,V={type:!0,src:!0,nonce:!0,noModule:!0};function U(e,i,s){s=s||P;var a,u=s.createElement("script");u.text=e;for(a in V)i&&i[a]&&(u[a]=i[a]);s.head.appendChild(u).parentNode&&u.parentNode.removeChild(u)}var B="4.0.0",X=/HTML$/i,l=function(e,i){return new l.fn.init(e,i)};l.fn=l.prototype={jquery:B,constructor:l,length:0,toArray:function(){return c.call(this)},get:function(e){return e==null?c.call(this):e<0?this[e+this.length]:this[e]},pushStack:function(e){var i=l.merge(this.constructor(),e);return i.prevObject=this,i},each:function(e){return l.each(this,e)},map:function(e){return this.pushStack(l.map(this,function(i,s){return e.call(i,s,i)}))},slice:function(){return this.pushStack(c.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(l.grep(this,function(e,i){return(i+1)%2}))},odd:function(){return this.pushStack(l.grep(this,function(e,i){return i%2}))},eq:function(e){var i=this.length,s=+e+(e<0?i:0);return this.pushStack(s>=0&&s+~]|"+z+")"+z+"*"),re=new RegExp(z+"|>"),J=/[+~]/,te=P.documentElement,oe=te.matches||te.msMatchesSelector;function me(){var e=[];function i(s,a){return e.push(s+" ")>l.expr.cacheLength&&delete i[e.shift()],i[s+" "]=a}return i}function se(e){return e&&typeof e.getElementsByTagName<"u"&&e}var ce="\\["+z+"*("+D+")(?:"+z+"*([*^$|!~]?=)"+z+`*(?:'((?:\\\\.|[^\\\\'])*)'|"((?:\\\\.|[^\\\\"])*)"|(`+D+"))|)"+z+"*\\]",q=":("+D+`)(?:\\((('((?:\\\\.|[^\\\\'])*)'|"((?:\\\\.|[^\\\\"])*)")|((?:\\\\.|[^\\\\()[\\]]|`+ce+")*)|.*)\\)|)",k={ID:new RegExp("^#("+D+")"),CLASS:new RegExp("^\\.("+D+")"),TAG:new RegExp("^("+D+"|[*])"),ATTR:new RegExp("^"+ce),PSEUDO:new RegExp("^"+q),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+z+"*(even|odd|(([+-]|)(\\d*)n|)"+z+"*(?:([+-]|)"+z+"*(\\d+)|))"+z+"*\\)|)","i")},H=new RegExp(q),W=new RegExp("\\\\[\\da-fA-F]{1,6}"+z+"?|\\\\([^\\r\\n\\f])","g"),Y=function(e,i){var s="0x"+e.slice(1)-65536;return i||(s<0?String.fromCharCode(s+65536):String.fromCharCode(s>>10|55296,s&1023|56320))};function Z(e){return e.replace(W,Y)}function he(e){l.error("Syntax error, unrecognized expression: "+e)}var Ke=new RegExp("^"+z+"*,"+z+"*"),hn=me();function et(e,i){var s,a,u,f,g,b,y,T=hn[e+" "];if(T)return i?0:T.slice(0);for(g=e,b=[],y=l.expr.preFilter;g;){(!s||(a=Ke.exec(g)))&&(a&&(g=g.slice(a[0].length)||g),b.push(u=[])),s=!1,(a=j.exec(g))&&(s=a.shift(),u.push({value:s,type:a[0].replace(de," ")}),g=g.slice(s.length));for(f in k)(a=l.expr.match[f].exec(g))&&(!y[f]||(a=y[f](a)))&&(s=a.shift(),u.push({value:s,type:f,matches:a}),g=g.slice(s.length));if(!s)break}return i?g.length:g?he(e):hn(e,b).slice(0)}var ki={ATTR:function(e){return e[1]=Z(e[1]),e[3]=Z(e[3]||e[4]||e[5]||""),e[2]==="~="&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),e[1].slice(0,3)==="nth"?(e[3]||he(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*(e[3]==="even"||e[3]==="odd")),e[5]=+(e[7]+e[8]||e[3]==="odd")):e[3]&&he(e[0]),e},PSEUDO:function(e){var i,s=!e[6]&&e[2];return k.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":s&&H.test(s)&&(i=et(s,!0))&&(i=s.indexOf(")",s.length-i)-s.length)&&(e[0]=e[0].slice(0,i),e[2]=s.slice(0,i)),e.slice(0,3))}};function yt(e){for(var i=0,s=e.length,a="";i1)},removeAttr:function(e){return this.each(function(){l.removeAttr(this,e)})}}),l.extend({attr:function(e,i,s){var a,u,f=e.nodeType;if(!(f===3||f===8||f===2)){if(typeof e.getAttribute>"u")return l.prop(e,i,s);if((f!==1||!l.isXMLDoc(e))&&(u=l.attrHooks[i.toLowerCase()]),s!==void 0){if(s===null||s===!1&&i.toLowerCase().indexOf("aria-")!==0){l.removeAttr(e,i);return}return u&&"set"in u&&(a=u.set(e,s,i))!==void 0?a:(e.setAttribute(i,s),s)}return u&&"get"in u&&(a=u.get(e,i))!==null?a:(a=e.getAttribute(i),a??void 0)}},attrHooks:{},removeAttr:function(e,i){var s,a=0,u=i&&i.match(Re);if(u&&e.nodeType===1)for(;s=u[a++];)e.removeAttribute(s)}}),Q&&(l.attrHooks.type={set:function(e,i){if(i==="radio"&&F(e,"input")){var s=e.value;return e.setAttribute("type",i),s&&(e.value=s),i}}});var jn=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\x80-\uFFFF\w-]/g;function Hn(e,i){return i?e==="\0"?"�":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e}l.escapeSelector=function(e){return(e+"").replace(jn,Hn)};var Ii=r.sort,Mi=r.splice,qe;function Rt(e,i){if(e===i)return qe=!0,0;var s=!e.compareDocumentPosition-!i.compareDocumentPosition;return s||(s=(e.ownerDocument||e)==(i.ownerDocument||i)?e.compareDocumentPosition(i):1,s&1?e==P||e.ownerDocument==P&&l.contains(P,e)?-1:i==P||i.ownerDocument==P&&l.contains(P,i)?1:0:s&4?-1:1)}l.uniqueSort=function(e){var i,s=[],a=0,u=0;if(qe=!1,Ii.call(e,Rt),qe){for(;i=e[u++];)i===e[u]&&(a=s.push(u));for(;a--;)Mi.call(e,s[a],1)}return e},l.fn.uniqueSort=function(){return this.pushStack(l.uniqueSort(c.apply(this)))};var tt,vt,_e,pn,ke,Ie=0,$n=0,rs=me(),ss=me(),Fn=me(),Il=new RegExp(z+"+","g"),Ml=new RegExp("^"+D+"$"),os=l.extend({needsContext:new RegExp("^"+z+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+z+"*((?:-\\d)?\\d*)"+z+"*\\)|)(?=[^-]|$)","i")},k),jl=/^(?:input|select|textarea|button)$/i,Hl=/^h\d$/i,$l=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,Fl=function(){kt()},Bl=Bn(function(e){return e.disabled===!0&&F(e,"fieldset")},{dir:"parentNode",next:"legend"});function Ue(e,i,s,a){var u,f,g,b,y,T,A,L=i&&i.ownerDocument,w=i?i.nodeType:9;if(s=s||[],typeof e!="string"||!e||w!==1&&w!==9&&w!==11)return s;if(!a&&(kt(i),i=i||_e,ke)){if(w!==11&&(y=$l.exec(e)))if(u=y[1]){if(w===9)return(g=i.getElementById(u))&&h.call(s,g),s;if(L&&(g=L.getElementById(u))&&l.contains(i,g))return h.call(s,g),s}else{if(y[2])return h.apply(s,i.getElementsByTagName(e)),s;if((u=y[3])&&i.getElementsByClassName)return h.apply(s,i.getElementsByClassName(u)),s}if(!Fn[e+" "]&&(!fe||!fe.test(e))){if(A=e,L=i,w===1&&(re.test(e)||j.test(e))){for(L=J.test(e)&&se(i.parentNode)||i,(L!=i||Q)&&((b=i.getAttribute("id"))?b=l.escapeSelector(b):i.setAttribute("id",b=l.expando)),T=et(e),f=T.length;f--;)T[f]=(b?"#"+b:":scope")+" "+yt(T[f]);A=T.join(",")}try{return h.apply(s,L.querySelectorAll(A)),s}catch{Fn(e,!0)}finally{b===l.expando&&i.removeAttribute("id")}}}return cs(e.replace(de,"$1"),i,s,a)}function Ye(e){return e[l.expando]=!0,e}function ql(e){return function(i){return F(i,"input")&&i.type===e}}function Ul(e){return function(i){return(F(i,"input")||F(i,"button"))&&i.type===e}}function as(e){return function(i){return"form"in i?i.parentNode&&i.disabled===!1?"label"in i?"label"in i.parentNode?i.parentNode.disabled===e:i.disabled===e:i.isDisabled===e||i.isDisabled!==!e&&Bl(i)===e:i.disabled===e:"label"in i?i.disabled===e:!1}}function _t(e){return Ye(function(i){return i=+i,Ye(function(s,a){for(var u,f=e([],s.length,i),g=f.length;g--;)s[u=f[g]]&&(s[u]=!(a[u]=s[u]))})})}function kt(e){var i,s=e?e.ownerDocument||e:P;s==_e||s.nodeType!==9||(_e=s,pn=_e.documentElement,ke=!l.isXMLDoc(_e),Q&&P!=_e&&(i=_e.defaultView)&&i.top!==i&&i.addEventListener("unload",Fl))}Ue.matches=function(e,i){return Ue(e,null,null,i)},Ue.matchesSelector=function(e,i){if(kt(e),ke&&!Fn[i+" "]&&(!fe||!fe.test(i)))try{return oe.call(e,i)}catch{Fn(i,!0)}return Ue(i,_e,null,[e]).length>0},l.expr={cacheLength:50,createPseudo:Ye,match:os,find:{ID:function(e,i){if(typeof i.getElementById<"u"&&ke){var s=i.getElementById(e);return s?[s]:[]}},TAG:function(e,i){return typeof i.getElementsByTagName<"u"?i.getElementsByTagName(e):i.querySelectorAll(e)},CLASS:function(e,i){if(typeof i.getElementsByClassName<"u"&&ke)return i.getElementsByClassName(e)}},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:ki,filter:{ID:function(e){var i=Z(e);return function(s){return s.getAttribute("id")===i}},TAG:function(e){var i=Z(e).toLowerCase();return e==="*"?function(){return!0}:function(s){return F(s,i)}},CLASS:function(e){var i=rs[e+" "];return i||(i=new RegExp("(^|"+z+")"+e+"("+z+"|$)"))&&rs(e,function(s){return i.test(typeof s.className=="string"&&s.className||typeof s.getAttribute<"u"&&s.getAttribute("class")||"")})},ATTR:function(e,i,s){return function(a){var u=l.attr(a,e);return u==null?i==="!=":i?(u+="",i==="="?u===s:i==="!="?u!==s:i==="^="?s&&u.indexOf(s)===0:i==="*="?s&&u.indexOf(s)>-1:i==="$="?s&&u.slice(-s.length)===s:i==="~="?(" "+u.replace(Il," ")+" ").indexOf(s)>-1:i==="|="?u===s||u.slice(0,s.length+1)===s+"-":!1):!0}},CHILD:function(e,i,s,a,u){var f=e.slice(0,3)!=="nth",g=e.slice(-4)!=="last",b=i==="of-type";return a===1&&u===0?function(y){return!!y.parentNode}:function(y,T,A){var L,w,N,$,ee,G=f!==g?"nextSibling":"previousSibling",ge=y.parentNode,pe=b&&y.nodeName.toLowerCase(),xe=!A&&!b,be=!1;if(ge){if(f){for(;G;){for(N=y;N=N[G];)if(b?F(N,pe):N.nodeType===1)return!1;ee=G=e==="only"&&!ee&&"nextSibling"}return!0}if(ee=[g?ge.firstChild:ge.lastChild],g&&xe){for(w=ge[l.expando]||(ge[l.expando]={}),L=w[e]||[],$=L[0]===Ie&&L[1],be=$&&L[2],N=$&&ge.childNodes[$];N=++$&&N&&N[G]||(be=$=0)||ee.pop();)if(N.nodeType===1&&++be&&N===y){w[e]=[Ie,$,be];break}}else if(xe&&(w=y[l.expando]||(y[l.expando]={}),L=w[e]||[],$=L[0]===Ie&&L[1],be=$),be===!1)for(;(N=++$&&N&&N[G]||(be=$=0)||ee.pop())&&!((b?F(N,pe):N.nodeType===1)&&++be&&(xe&&(w=N[l.expando]||(N[l.expando]={}),w[e]=[Ie,be]),N===y)););return be-=u,be===a||be%a===0&&be/a>=0}}},PSEUDO:function(e,i){var s=l.expr.pseudos[e]||l.expr.setFilters[e.toLowerCase()]||he("unsupported pseudo: "+e);return s[l.expando]?s(i):s}},pseudos:{not:Ye(function(e){var i=[],s=[],a=Fi(e.replace(de,"$1"));return a[l.expando]?Ye(function(u,f,g,b){for(var y,T=a(u,null,b,[]),A=u.length;A--;)(y=T[A])&&(u[A]=!(f[A]=y))}):function(u,f,g){return i[0]=u,a(i,null,g,s),i[0]=null,!s.pop()}}),has:Ye(function(e){return function(i){return Ue(e,i).length>0}}),contains:Ye(function(e){return e=Z(e),function(i){return(i.textContent||l.text(i)).indexOf(e)>-1}}),lang:Ye(function(e){return Ml.test(e||"")||he("unsupported lang: "+e),e=Z(e).toLowerCase(),function(i){var s;do if(s=ke?i.lang:i.getAttribute("xml:lang")||i.getAttribute("lang"))return s=s.toLowerCase(),s===e||s.indexOf(e+"-")===0;while((i=i.parentNode)&&i.nodeType===1);return!1}}),target:function(e){var i=n.location&&n.location.hash;return i&&i.slice(1)===e.id},root:function(e){return e===pn},focus:function(e){return e===_e.activeElement&&_e.hasFocus()&&!!(e.type||e.href||~e.tabIndex)},enabled:as(!1),disabled:as(!0),checked:function(e){return F(e,"input")&&!!e.checked||F(e,"option")&&!!e.selected},selected:function(e){return Q&&e.parentNode&&e.parentNode.selectedIndex,e.selected===!0},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeType<6)return!1;return!0},parent:function(e){return!l.expr.pseudos.empty(e)},header:function(e){return Hl.test(e.nodeName)},input:function(e){return jl.test(e.nodeName)},button:function(e){return F(e,"input")&&e.type==="button"||F(e,"button")},text:function(e){return F(e,"input")&&e.type==="text"},first:_t(function(){return[0]}),last:_t(function(e,i){return[i-1]}),eq:_t(function(e,i,s){return[s<0?s+i:s]}),even:_t(function(e,i){for(var s=0;si?a=i:a=s;--a>=0;)e.push(a);return e}),gt:_t(function(e,i,s){for(var a=s<0?s+i:s;++a1?function(i,s,a){for(var u=e.length;u--;)if(!e[u](i,s,a))return!1;return!0}:e[0]}function Wl(e,i,s){for(var a=0,u=i.length;a-1&&(g[A]=!(b[A]=w))}}else N=qn(N===b?N.splice(G,N.length):N),u?u(null,b,N,T):h.apply(b,N)})}function $i(e){for(var i,s,a,u=e.length,f=l.expr.relative[e[0].type],g=f||l.expr.relative[" "],b=f?1:0,y=Bn(function(L){return L===i},g,!0),T=Bn(function(L){return p.call(i,L)>-1},g,!0),A=[function(L,w,N){var $=!f&&(N||w!=vt)||((i=w).nodeType?y(L,w,N):T(L,w,N));return i=null,$}];b1&&ji(A),b>1&&yt(e.slice(0,b-1).concat({value:e[b-2].type===" "?"*":""})).replace(de,"$1"),s,b0,a=e.length>0,u=function(f,g,b,y,T){var A,L,w,N=0,$="0",ee=f&&[],G=[],ge=vt,pe=f||a&&l.expr.find.TAG("*",T),xe=Ie+=ge==null?1:Math.random()||.1;for(T&&(vt=g==_e||g||T);(A=pe[$])!=null;$++){if(a&&A){for(L=0,!g&&A.ownerDocument!=_e&&(kt(A),b=!ke);w=e[L++];)if(w(A,g||_e,b)){h.call(y,A);break}T&&(Ie=xe)}s&&((A=!w&&A)&&N--,f&&ee.push(A))}if(N+=$,s&&$!==N){for(L=0;w=i[L++];)w(ee,G,g,b);if(f){if(N>0)for(;$--;)ee[$]||G[$]||(G[$]=ae.call(y));G=qn(G)}h.apply(y,G),T&&!f&&G.length>0&&N+i.length>1&&l.uniqueSort(y)}return T&&(Ie=xe,vt=ge),ee};return s?Ye(u):u}function Fi(e,i){var s,a=[],u=[],f=ss[e+" "];if(!f){for(i||(i=et(e)),s=i.length;s--;)f=$i(i[s]),f[l.expando]?a.push(f):u.push(f);f=ss(e,Vl(u,a)),f.selector=e}return f}function cs(e,i,s,a){var u,f,g,b,y,T=typeof e=="function"&&e,A=!a&&et(e=T.selector||e);if(s=s||[],A.length===1){if(f=A[0]=A[0].slice(0),f.length>2&&(g=f[0]).type==="ID"&&i.nodeType===9&&ke&&l.expr.relative[f[1].type]){if(i=(l.expr.find.ID(Z(g.matches[0]),i)||[])[0],i)T&&(i=i.parentNode);else return s;e=e.slice(f.shift().value.length)}for(u=os.needsContext.test(e)?0:f.length;u--&&(g=f[u],!l.expr.relative[b=g.type]);)if((y=l.expr.find[b])&&(a=y(Z(g.matches[0]),J.test(f[0].type)&&se(i.parentNode)||i))){if(f.splice(u,1),e=a.length&&yt(f),!e)return h.apply(s,a),s;break}}return(T||Fi(e,A))(a,i,!ke,s,!i||J.test(e)&&se(i.parentNode)||i),s}kt(),l.find=Ue,Ue.compile=Fi,Ue.select=cs,Ue.setDocument=kt,Ue.tokenize=et;function It(e,i,s){for(var a=[],u=s!==void 0;(e=e[i])&&e.nodeType!==9;)if(e.nodeType===1){if(u&&l(e).is(s))break;a.push(e)}return a}function us(e,i){for(var s=[];e;e=e.nextSibling)e.nodeType===1&&e!==i&&s.push(e);return s}var fs=l.expr.match.needsContext,ds=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function hs(e){return e[0]==="<"&&e[e.length-1]===">"&&e.length>=3}function Bi(e,i,s){return typeof i=="function"?l.grep(e,function(a,u){return!!i.call(a,u,a)!==s}):i.nodeType?l.grep(e,function(a){return a===i!==s}):typeof i!="string"?l.grep(e,function(a){return p.call(i,a)>-1!==s}):l.filter(i,e,s)}l.filter=function(e,i,s){var a=i[0];return s&&(e=":not("+e+")"),i.length===1&&a.nodeType===1?l.find.matchesSelector(a,e)?[a]:[]:l.find.matches(e,l.grep(i,function(u){return u.nodeType===1}))},l.fn.extend({find:function(e){var i,s,a=this.length,u=this;if(typeof e!="string")return this.pushStack(l(e).filter(function(){for(i=0;i1?l.uniqueSort(s):s},filter:function(e){return this.pushStack(Bi(this,e||[],!1))},not:function(e){return this.pushStack(Bi(this,e||[],!0))},is:function(e){return!!Bi(this,typeof e=="string"&&fs.test(e)?l(e):e||[],!1).length}});var Un,zl=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/,Kl=l.fn.init=function(e,i){var s,a;if(!e)return this;if(e.nodeType)return this[0]=e,this.length=1,this;if(typeof e=="function")return Un.ready!==void 0?Un.ready(e):e(l);if(s=e+"",hs(s))s=[null,e,null];else if(typeof e=="string")s=zl.exec(e);else return l.makeArray(e,this);if(s&&(s[1]||!i))if(s[1]){if(i=i instanceof l?i[0]:i,l.merge(this,l.parseHTML(s[1],i&&i.nodeType?i.ownerDocument||i:P,!0)),ds.test(s[1])&&l.isPlainObject(i))for(s in i)typeof this[s]=="function"?this[s](i[s]):this.attr(s,i[s]);return this}else return a=P.getElementById(s[2]),a&&(this[0]=a,this.length=1),this;else return!i||i.jquery?(i||Un).find(e):this.constructor(i).find(e)};Kl.prototype=l.fn,Un=l(P);var Yl=/^(?:parents|prev(?:Until|All))/,Gl={children:!0,contents:!0,next:!0,prev:!0};l.fn.extend({has:function(e){var i=l(e,this),s=i.length;return this.filter(function(){for(var a=0;a-1:s.nodeType===1&&l.find.matchesSelector(s,e))){f.push(s);break}}return this.pushStack(f.length>1?l.uniqueSort(f):f)},index:function(e){return e?typeof e=="string"?p.call(l(e),this[0]):p.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,i){return this.pushStack(l.uniqueSort(l.merge(this.get(),l(e,i))))},addBack:function(e){return this.add(e==null?this.prevObject:this.prevObject.filter(e))}});function ps(e,i){for(;(e=e[i])&&e.nodeType!==1;);return e}l.each({parent:function(e){var i=e.parentNode;return i&&i.nodeType!==11?i:null},parents:function(e){return It(e,"parentNode")},parentsUntil:function(e,i,s){return It(e,"parentNode",s)},next:function(e){return ps(e,"nextSibling")},prev:function(e){return ps(e,"previousSibling")},nextAll:function(e){return It(e,"nextSibling")},prevAll:function(e){return It(e,"previousSibling")},nextUntil:function(e,i,s){return It(e,"nextSibling",s)},prevUntil:function(e,i,s){return It(e,"previousSibling",s)},siblings:function(e){return us((e.parentNode||{}).firstChild,e)},children:function(e){return us(e.firstChild)},contents:function(e){return e.contentDocument!=null&&o(e.contentDocument)?e.contentDocument:(F(e,"template")&&(e=e.content||e),l.merge([],e.childNodes))}},function(e,i){l.fn[e]=function(s,a){var u=l.map(this,i,s);return e.slice(-5)!=="Until"&&(a=s),a&&typeof a=="string"&&(u=l.filter(a,u)),this.length>1&&(Gl[e]||l.uniqueSort(u),Yl.test(e)&&u.reverse()),this.pushStack(u)}});function Xl(e){var i={};return l.each(e.match(Re)||[],function(s,a){i[a]=!0}),i}l.Callbacks=function(e){e=typeof e=="string"?Xl(e):l.extend({},e);var i,s,a,u,f=[],g=[],b=-1,y=function(){for(u=u||e.once,a=i=!0;g.length;b=-1)for(s=g.shift();++b-1;)f.splice(w,1),w<=b&&b--}),this},has:function(A){return A?l.inArray(A,f)>-1:f.length>0},empty:function(){return f&&(f=[]),this},disable:function(){return u=g=[],f=s="",this},disabled:function(){return!f},lock:function(){return u=g=[],!s&&!i&&(f=s=""),this},locked:function(){return!!u},fireWith:function(A,L){return u||(L=L||[],L=[A,L.slice?L.slice():L],g.push(L),i||y()),this},fire:function(){return T.fireWith(this,arguments),this},fired:function(){return!!a}};return T};function Mt(e){return e}function Wn(e){throw e}function gs(e,i,s,a){var u;try{e&&typeof(u=e.promise)=="function"?u.call(e).done(i).fail(s):e&&typeof(u=e.then)=="function"?u.call(e,i,s):i.apply(void 0,[e].slice(a))}catch(f){s(f)}}l.extend({Deferred:function(e){var i=[["notify","progress",l.Callbacks("memory"),l.Callbacks("memory"),2],["resolve","done",l.Callbacks("once memory"),l.Callbacks("once memory"),0,"resolved"],["reject","fail",l.Callbacks("once memory"),l.Callbacks("once memory"),1,"rejected"]],s="pending",a={state:function(){return s},always:function(){return u.done(arguments).fail(arguments),this},catch:function(f){return a.then(null,f)},pipe:function(){var f=arguments;return l.Deferred(function(g){l.each(i,function(b,y){var T=typeof f[y[4]]=="function"&&f[y[4]];u[y[1]](function(){var A=T&&T.apply(this,arguments);A&&typeof A.promise=="function"?A.promise().progress(g.notify).done(g.resolve).fail(g.reject):g[y[0]+"With"](this,T?[A]:arguments)})}),f=null}).promise()},then:function(f,g,b){var y=0;function T(A,L,w,N){return function(){var $=this,ee=arguments,G=function(){var pe,xe;if(!(A=y&&(w!==Wn&&($=void 0,ee=[pe]),L.rejectWith($,ee))}};A?ge():(l.Deferred.getErrorHook&&(ge.error=l.Deferred.getErrorHook()),n.setTimeout(ge))}}return l.Deferred(function(A){i[0][3].add(T(0,A,typeof b=="function"?b:Mt,A.notifyWith)),i[1][3].add(T(0,A,typeof f=="function"?f:Mt)),i[2][3].add(T(0,A,typeof g=="function"?g:Wn))}).promise()},promise:function(f){return f!=null?l.extend(f,a):a}},u={};return l.each(i,function(f,g){var b=g[2],y=g[5];a[g[1]]=b.add,y&&b.add(function(){s=y},i[3-f][2].disable,i[3-f][3].disable,i[0][2].lock,i[0][3].lock),b.add(g[3].fire),u[g[0]]=function(){return u[g[0]+"With"](this===u?void 0:this,arguments),this},u[g[0]+"With"]=b.fireWith}),a.promise(u),e&&e.call(u,u),u},when:function(e){var i=arguments.length,s=i,a=Array(s),u=c.call(arguments),f=l.Deferred(),g=function(b){return function(y){a[b]=this,u[b]=arguments.length>1?c.call(arguments):y,--i||f.resolveWith(a,u)}};if(i<=1&&(gs(e,f.done(g(s)).resolve,f.reject,!i),f.state()==="pending"||typeof(u[s]&&u[s].then)=="function"))return f.then();for(;s--;)gs(u[s],g(s),f.reject);return f.promise()}});var Ql=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;l.Deferred.exceptionHook=function(e,i){e&&Ql.test(e.name)&&n.console.warn("jQuery.Deferred exception",e,i)},l.readyException=function(e){n.setTimeout(function(){throw e})};var qi=l.Deferred();l.fn.ready=function(e){return qi.then(e).catch(function(i){l.readyException(i)}),this},l.extend({isReady:!1,readyWait:1,ready:function(e){(e===!0?--l.readyWait:l.isReady)||(l.isReady=!0,!(e!==!0&&--l.readyWait>0)&&qi.resolveWith(P,[l]))}}),l.ready.then=qi.then;function Vn(){P.removeEventListener("DOMContentLoaded",Vn),n.removeEventListener("load",Vn),l.ready()}P.readyState!=="loading"?n.setTimeout(l.ready):(P.addEventListener("DOMContentLoaded",Vn),n.addEventListener("load",Vn));var Jl=/-([a-z])/g;function Zl(e,i){return i.toUpperCase()}function bt(e){return e.replace(Jl,Zl)}function gn(e){return e.nodeType===1||e.nodeType===9||!+e.nodeType}function mn(){this.expando=l.expando+mn.uid++}mn.uid=1,mn.prototype={cache:function(e){var i=e[this.expando];return i||(i=Object.create(null),gn(e)&&(e.nodeType?e[this.expando]=i:Object.defineProperty(e,this.expando,{value:i,configurable:!0}))),i},set:function(e,i,s){var a,u=this.cache(e);if(typeof i=="string")u[bt(i)]=s;else for(a in i)u[bt(a)]=i[a];return s},get:function(e,i){return i===void 0?this.cache(e):e[this.expando]&&e[this.expando][bt(i)]},access:function(e,i,s){return i===void 0||i&&typeof i=="string"&&s===void 0?this.get(e,i):(this.set(e,i,s),s!==void 0?s:i)},remove:function(e,i){var s,a=e[this.expando];if(a!==void 0){if(i!==void 0)for(Array.isArray(i)?i=i.map(bt):(i=bt(i),i=i in a?[i]:i.match(Re)||[]),s=i.length;s--;)delete a[i[s]];(i===void 0||l.isEmptyObject(a))&&(e.nodeType?e[this.expando]=void 0:delete e[this.expando])}},hasData:function(e){var i=e[this.expando];return i!==void 0&&!l.isEmptyObject(i)}};var ne=new mn,Se=new mn,ec=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,tc=/[A-Z]/g;function nc(e){return e==="true"?!0:e==="false"?!1:e==="null"?null:e===+e+""?+e:ec.test(e)?JSON.parse(e):e}function ms(e,i,s){var a;if(s===void 0&&e.nodeType===1)if(a="data-"+i.replace(tc,"-$&").toLowerCase(),s=e.getAttribute(a),typeof s=="string"){try{s=nc(s)}catch{}Se.set(e,i,s)}else s=void 0;return s}l.extend({hasData:function(e){return Se.hasData(e)||ne.hasData(e)},data:function(e,i,s){return Se.access(e,i,s)},removeData:function(e,i){Se.remove(e,i)},_data:function(e,i,s){return ne.access(e,i,s)},_removeData:function(e,i){ne.remove(e,i)}}),l.fn.extend({data:function(e,i){var s,a,u,f=this[0],g=f&&f.attributes;if(e===void 0){if(this.length&&(u=Se.get(f),f.nodeType===1&&!ne.get(f,"hasDataAttrs"))){for(s=g.length;s--;)g[s]&&(a=g[s].name,a.indexOf("data-")===0&&(a=bt(a.slice(5)),ms(f,a,u[a])));ne.set(f,"hasDataAttrs",!0)}return u}return typeof e=="object"?this.each(function(){Se.set(this,e)}):Be(this,function(b){var y;if(f&&b===void 0)return y=Se.get(f,e),y!==void 0||(y=ms(f,e),y!==void 0)?y:void 0;this.each(function(){Se.set(this,e,b)})},null,i,arguments.length>1,null,!0)},removeData:function(e){return this.each(function(){Se.remove(this,e)})}}),l.extend({queue:function(e,i,s){var a;if(e)return i=(i||"fx")+"queue",a=ne.get(e,i),s&&(!a||Array.isArray(s)?a=ne.set(e,i,l.makeArray(s)):a.push(s)),a||[]},dequeue:function(e,i){i=i||"fx";var s=l.queue(e,i),a=s.length,u=s.shift(),f=l._queueHooks(e,i),g=function(){l.dequeue(e,i)};u==="inprogress"&&(u=s.shift(),a--),u&&(i==="fx"&&s.unshift("inprogress"),delete f.stop,u.call(e,g,f)),!a&&f&&f.empty.fire()},_queueHooks:function(e,i){var s=i+"queueHooks";return ne.get(e,s)||ne.set(e,s,{empty:l.Callbacks("once memory").add(function(){ne.remove(e,[i+"queue",s])})})}}),l.fn.extend({queue:function(e,i){var s=2;return typeof e!="string"&&(i=e,e="fx",s--),arguments.length\x20\t\r\n\f]*)/i,nt={thead:["table"],col:["colgroup","table"],tr:["tbody","table"],td:["tr","tbody","table"]};nt.tbody=nt.tfoot=nt.colgroup=nt.caption=nt.thead,nt.th=nt.td;function Ae(e,i){var s;return typeof e.getElementsByTagName<"u"?s=r.slice.call(e.getElementsByTagName(i||"*")):typeof e.querySelectorAll<"u"?s=e.querySelectorAll(i||"*"):s=[],i===void 0||i&&F(e,i)?l.merge([e],s):s}var Es=/^$|^module$|\/(?:java|ecma)script/i;function Wi(e,i){for(var s=0,a=e.length;s-1;)g=g.appendChild(i.createElement(y[A]));g.innerHTML=l.htmlPrefilter(f),l.merge(w,g.childNodes),g=L.firstChild,g.textContent=""}for(L.textContent="",N=0;f=w[N++];){if(a&&l.inArray(f,a)>-1){u&&u.push(f);continue}if(T=vn(f),g=Ae(L.appendChild(f),"script"),T&&Wi(g),s)for(A=0;f=g[A++];)Es.test(f.type||"")&&s.push(f)}return L}function cc(e){return e.type=(e.getAttribute("type")!==null)+"/"+e.type,e}function uc(e){return(e.type||"").slice(0,5)==="true/"?e.type=e.type.slice(5):e.removeAttribute("type"),e}function Ht(e,i,s,a){i=d(i);var u,f,g,b,y,T,A=0,L=e.length,w=L-1,N=i[0],$=typeof N=="function";if($)return e.each(function(ee){var G=e.eq(ee);i[0]=N.call(this,ee,G.html()),Ht(G,i,s,a)});if(L&&(u=Ts(i,e[0].ownerDocument,!1,e,a),f=u.firstChild,u.childNodes.length===1&&(u=f),f||a)){for(g=l.map(Ae(u,"script"),cc),b=g.length;A=1)){for(;T!==this;T=T.parentNode||this)if(T.nodeType===1&&!(e.type==="click"&&T.disabled===!0)){for(f=[],g={},s=0;s-1:l.find(u,this,null,[T]).length),g[u]&&f.push(a);f.length&&b.push({elem:T,handlers:f})}}return T=this,y0&&Wi(g,!y&&Ae(e,"script")),b},cleanData:function(e){for(var i,s,a,u=l.event.special,f=0;(s=e[f])!==void 0;f++)if(gn(s)){if(i=s[ne.expando]){if(i.events)for(a in i.events)u[a]?l.event.remove(s,a):l.removeEvent(s,a,i.handle);s[ne.expando]=void 0}s[Se.expando]&&(s[Se.expando]=void 0)}}}),l.fn.extend({detach:function(e){return xs(this,e,!0)},remove:function(e){return xs(this,e)},text:function(e){return Be(this,function(i){return i===void 0?l.text(this):this.empty().each(function(){(this.nodeType===1||this.nodeType===11||this.nodeType===9)&&(this.textContent=i)})},null,e,arguments.length)},append:function(){return Ht(this,arguments,function(e){if(this.nodeType===1||this.nodeType===11||this.nodeType===9){var i=Ss(this,e);i.appendChild(e)}})},prepend:function(){return Ht(this,arguments,function(e){if(this.nodeType===1||this.nodeType===11||this.nodeType===9){var i=Ss(this,e);i.insertBefore(e,i.firstChild)}})},before:function(){return Ht(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this)})},after:function(){return Ht(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)})},empty:function(){for(var e,i=0;(e=this[i])!=null;i++)e.nodeType===1&&(l.cleanData(Ae(e,!1)),e.textContent="");return this},clone:function(e,i){return e=e??!1,i=i??e,this.map(function(){return l.clone(this,e,i)})},html:function(e){return Be(this,function(i){var s=this[0]||{},a=0,u=this.length;if(i===void 0&&s.nodeType===1)return s.innerHTML;if(typeof i=="string"&&!fc.test(i)&&!nt[(bs.exec(i)||["",""])[1].toLowerCase()]){i=l.htmlPrefilter(i);try{for(;a=0&&(y+=Math.max(0,Math.ceil(e["offset"+i[0].toUpperCase()+i.slice(1)]-f-y-b-.5))||0),y+T}function Ms(e,i,s){var a=Xn(e),u=Q||s,f=u&&l.css(e,"boxSizing",!1,a)==="border-box",g=f,b=Cs(e,i,a),y="offset"+i[0].toUpperCase()+i.slice(1);if(dc.test(b)){if(!s)return b;b="auto"}return(b==="auto"||Q&&f||!I.reliableColDimensions()&&F(e,"col")||!I.reliableTrDimensions()&&F(e,"tr"))&&e.getClientRects().length&&(f=l.css(e,"boxSizing",!1,a)==="border-box",g=y in e,g&&(b=e[y])),b=parseFloat(b)||0,b+Is(e,i,s||(f?"border":"content"),g,a,b)+"px"}l.extend({cssHooks:{},style:function(e,i,s,a){if(!(!e||e.nodeType===3||e.nodeType===8||!e.style)){var u,f,g,b=Ui(i),y=zi.test(i),T=e.style;if(y||(i=Ki(b)),g=l.cssHooks[i]||l.cssHooks[b],s!==void 0){if(f=typeof s,f==="string"&&(u=yn.exec(s))&&u[1]&&(s=vs(e,i,u),f="number"),s==null||s!==s)return;f==="number"&&(s+=u&&u[3]||(Kn(b)?"px":"")),Q&&s===""&&i.indexOf("background")===0&&(T[i]="inherit"),(!g||!("set"in g)||(s=g.set(e,s,a))!==void 0)&&(y?T.setProperty(i,s):T[i]=s)}else return g&&"get"in g&&(u=g.get(e,!1,a))!==void 0?u:T[i]}},css:function(e,i,s,a){var u,f,g,b=Ui(i),y=zi.test(i);return y||(i=Ki(b)),g=l.cssHooks[i]||l.cssHooks[b],g&&"get"in g&&(u=g.get(e,!0,s)),u===void 0&&(u=Cs(e,i,a)),u==="normal"&&i in Rs&&(u=Rs[i]),s===""||s?(f=parseFloat(u),s===!0||isFinite(f)?f||0:u):u}}),l.each(["height","width"],function(e,i){l.cssHooks[i]={get:function(s,a,u){if(a)return l.css(s,"display")==="none"?hc(s,gc,function(){return Ms(s,i,u)}):Ms(s,i,u)},set:function(s,a,u){var f,g=Xn(s),b=u&&l.css(s,"boxSizing",!1,g)==="border-box",y=u?Is(s,i,u,b,g):0;return y&&(f=yn.exec(a))&&(f[3]||"px")!=="px"&&(s.style[i]=a,a=l.css(s,i)),ks(s,a,y)}}}),l.each({margin:"",padding:"",border:"Width"},function(e,i){l.cssHooks[e+i]={expand:function(s){for(var a=0,u={},f=typeof s=="string"?s.split(" "):[s];a<4;a++)u[e+at[a]+i]=f[a]||f[a-2]||f[0];return u}},e!=="margin"&&(l.cssHooks[e+i].set=ks)}),l.fn.extend({css:function(e,i){return Be(this,function(s,a,u){var f,g,b={},y=0;if(Array.isArray(a)){for(f=Xn(s),g=a.length;y1)}});function Me(e,i,s,a,u){return new Me.prototype.init(e,i,s,a,u)}l.Tween=Me,Me.prototype={constructor:Me,init:function(e,i,s,a,u,f){this.elem=e,this.prop=s,this.easing=u||l.easing._default,this.options=i,this.start=this.now=this.cur(),this.end=a,this.unit=f||(Kn(s)?"px":"")},cur:function(){var e=Me.propHooks[this.prop];return e&&e.get?e.get(this):Me.propHooks._default.get(this)},run:function(e){var i,s=Me.propHooks[this.prop];return this.options.duration?this.pos=i=l.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):this.pos=i=e,this.now=(this.end-this.start)*i+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),s&&s.set?s.set(this):Me.propHooks._default.set(this),this}},Me.prototype.init.prototype=Me.prototype,Me.propHooks={_default:{get:function(e){var i;return e.elem.nodeType!==1||e.elem[e.prop]!=null&&e.elem.style[e.prop]==null?e.elem[e.prop]:(i=l.css(e.elem,e.prop,""),!i||i==="auto"?0:i)},set:function(e){l.fx.step[e.prop]?l.fx.step[e.prop](e):e.elem.nodeType===1&&(l.cssHooks[e.prop]||e.elem.style[Ki(e.prop)]!=null)?l.style(e.elem,e.prop,e.now+e.unit):e.elem[e.prop]=e.now}}},l.easing={linear:function(e){return e},swing:function(e){return .5-Math.cos(e*Math.PI)/2},_default:"swing"},l.fx=Me.prototype.init,l.fx.step={};var Bt,Qn,mc=/^(?:toggle|show|hide)$/,yc=/queueHooks$/;function Yi(){Qn&&(P.hidden===!1&&n.requestAnimationFrame?n.requestAnimationFrame(Yi):n.setTimeout(Yi,13),l.fx.tick())}function js(){return n.setTimeout(function(){Bt=void 0}),Bt=Date.now()}function Jn(e,i){var s,a=0,u={height:e};for(i=i?1:0;a<4;a+=2-i)s=at[a],u["margin"+s]=u["padding"+s]=e;return i&&(u.opacity=u.width=e),u}function Hs(e,i,s){for(var a,u=(We.tweeners[i]||[]).concat(We.tweeners["*"]),f=0,g=u.length;f1)},removeProp:function(e){return this.each(function(){delete this[l.propFix[e]||e]})}}),l.extend({prop:function(e,i,s){var a,u,f=e.nodeType;if(!(f===3||f===8||f===2))return(f!==1||!l.isXMLDoc(e))&&(i=l.propFix[i]||i,u=l.propHooks[i]),s!==void 0?u&&"set"in u&&(a=u.set(e,s,i))!==void 0?a:e[i]=s:u&&"get"in u&&(a=u.get(e,i))!==null?a:e[i]},propHooks:{tabIndex:{get:function(e){var i=e.getAttribute("tabindex");return i?parseInt(i,10):bc.test(e.nodeName)||Ec.test(e.nodeName)&&e.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),Q&&(l.propHooks.selected={get:function(e){var i=e.parentNode;return i&&i.parentNode&&i.parentNode.selectedIndex,null},set:function(e){var i=e.parentNode;i&&(i.selectedIndex,i.parentNode&&i.parentNode.selectedIndex)}}),l.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){l.propFix[this.toLowerCase()]=this});function Et(e){var i=e.match(Re)||[];return i.join(" ")}function qt(e){return e.getAttribute&&e.getAttribute("class")||""}function Gi(e){return Array.isArray(e)?e:typeof e=="string"?e.match(Re)||[]:[]}l.fn.extend({addClass:function(e){var i,s,a,u,f,g;return typeof e=="function"?this.each(function(b){l(this).addClass(e.call(this,b,qt(this)))}):(i=Gi(e),i.length?this.each(function(){if(a=qt(this),s=this.nodeType===1&&" "+Et(a)+" ",s){for(f=0;f-1;)s=s.replace(" "+u+" "," ");g=Et(s),a!==g&&this.setAttribute("class",g)}}):this):this.attr("class","")},toggleClass:function(e,i){var s,a,u,f;return typeof e=="function"?this.each(function(g){l(this).toggleClass(e.call(this,g,qt(this),i),i)}):typeof i=="boolean"?i?this.addClass(e):this.removeClass(e):(s=Gi(e),s.length?this.each(function(){for(f=l(this),u=0;u-1)return!0;return!1}}),l.fn.extend({val:function(e){var i,s,a,u=this[0];return arguments.length?(a=typeof e=="function",this.each(function(f){var g;this.nodeType===1&&(a?g=e.call(this,f,l(this).val()):g=e,g==null?g="":typeof g=="number"?g+="":Array.isArray(g)&&(g=l.map(g,function(b){return b==null?"":b+""})),i=l.valHooks[this.type]||l.valHooks[this.nodeName.toLowerCase()],(!i||!("set"in i)||i.set(this,g,"value")===void 0)&&(this.value=g))})):u?(i=l.valHooks[u.type]||l.valHooks[u.nodeName.toLowerCase()],i&&"get"in i&&(s=i.get(u,"value"))!==void 0?s:(s=u.value,s??"")):void 0}}),l.extend({valHooks:{select:{get:function(e){var i,s,a,u=e.options,f=e.selectedIndex,g=e.type==="select-one",b=g?null:[],y=g?f+1:u.length;for(f<0?a=y:a=g?f:0;a-1)&&(s=!0);return s||(e.selectedIndex=-1),f}}}}),Q&&(l.valHooks.option={get:function(e){var i=e.getAttribute("value");return i??Et(l.text(e))}}),l.each(["radio","checkbox"],function(){l.valHooks[this]={set:function(e,i){if(Array.isArray(i))return e.checked=l.inArray(l(e).val(),i)>-1}}});var $s=/^(?:focusinfocus|focusoutblur)$/,Fs=function(e){e.stopPropagation()};l.extend(l.event,{trigger:function(e,i,s,a){var u,f,g,b,y,T,A,L,w=[s||P],N=v.call(e,"type")?e.type:e,$=v.call(e,"namespace")?e.namespace.split("."):[];if(f=L=g=s=s||P,!(s.nodeType===3||s.nodeType===8)&&!$s.test(N+l.event.triggered)&&(N.indexOf(".")>-1&&($=N.split("."),N=$.shift(),$.sort()),y=N.indexOf(":")<0&&"on"+N,e=e[l.expando]?e:new l.Event(N,typeof e=="object"&&e),e.isTrigger=a?2:3,e.namespace=$.join("."),e.rnamespace=e.namespace?new RegExp("(^|\\.)"+$.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,e.result=void 0,e.target||(e.target=s),i=i==null?[e]:l.makeArray(i,[e]),A=l.event.special[N]||{},!(!a&&A.trigger&&A.trigger.apply(s,i)===!1))){if(!a&&!A.noBubble&&!S(s)){for(b=A.delegateType||N,$s.test(b+N)||(f=f.parentNode);f;f=f.parentNode)w.push(f),g=f;g===(s.ownerDocument||P)&&w.push(g.defaultView||g.parentWindow||n)}for(u=0;(f=w[u++])&&!e.isPropagationStopped();)L=f,e.type=u>1?b:A.bindType||N,T=(ne.get(f,"events")||Object.create(null))[e.type]&&ne.get(f,"handle"),T&&T.apply(f,i),T=y&&f[y],T&&T.apply&&gn(f)&&(e.result=T.apply(f,i),e.result===!1&&e.preventDefault());return e.type=N,!a&&!e.isDefaultPrevented()&&(!A._default||A._default.apply(w.pop(),i)===!1)&&gn(s)&&y&&typeof s[N]=="function"&&!S(s)&&(g=s[y],g&&(s[y]=null),l.event.triggered=N,e.isPropagationStopped()&&L.addEventListener(N,Fs),s[N](),e.isPropagationStopped()&&L.removeEventListener(N,Fs),l.event.triggered=void 0,g&&(s[y]=g)),e.result}},simulate:function(e,i,s){var a=l.extend(new l.Event,s,{type:e,isSimulated:!0});l.event.trigger(a,null,i)}}),l.fn.extend({trigger:function(e,i){return this.each(function(){l.event.trigger(e,i,this)})},triggerHandler:function(e,i){var s=this[0];if(s)return l.event.trigger(e,i,s,!0)}});var _n=n.location,Bs={guid:Date.now()},Xi=/\?/;l.parseXML=function(e){var i,s;if(!e||typeof e!="string")return null;try{i=new n.DOMParser().parseFromString(e,"text/xml")}catch{}return s=i&&i.getElementsByTagName("parsererror")[0],(!i||s)&&l.error("Invalid XML: "+(s?l.map(s.childNodes,function(a){return a.textContent}).join(` `):e)),i};var Tc=/\[\]$/,qs=/\r?\n/g,wc=/^(?:submit|button|image|reset|file)$/i,Sc=/^(?:input|select|textarea|keygen)/i;function Qi(e,i,s,a){var u;if(Array.isArray(i))l.each(i,function(f,g){s||Tc.test(e)?a(e,g):Qi(e+"["+(typeof g=="object"&&g!=null?f:"")+"]",g,s,a)});else if(!s&&E(i)==="object")for(u in i)Qi(e+"["+u+"]",i[u],s,a);else a(e,i)}l.param=function(e,i){var s,a=[],u=function(f,g){var b=typeof g=="function"?g():g;a[a.length]=encodeURIComponent(f)+"="+encodeURIComponent(b??"")};if(e==null)return"";if(Array.isArray(e)||e.jquery&&!l.isPlainObject(e))l.each(e,function(){u(this.name,this.value)});else for(s in e)Qi(s,e[s],i,u);return a.join("&")},l.fn.extend({serialize:function(){return l.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var e=l.prop(this,"elements");return e?l.makeArray(e):this}).filter(function(){var e=this.type;return this.name&&!l(this).is(":disabled")&&Sc.test(this.nodeName)&&!wc.test(e)&&(this.checked||!Yn.test(e))}).map(function(e,i){var s=l(this).val();return s==null?null:Array.isArray(s)?l.map(s,function(a){return{name:i.name,value:a.replace(qs,`\r `)}}):{name:i.name,value:s.replace(qs,`\r `)}}).get()}});var Ac=/%20/g,xc=/#.*$/,Cc=/([?&])_=[^&]*/,Oc=/^(.*?):[ \t]*([^\r\n]*)$/mg,Nc=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,Dc=/^(?:GET|HEAD)$/,Lc=/^\/\//,Us={},Ji={},Ws="*/".concat("*"),Zi=P.createElement("a");Zi.href=_n.href;function Vs(e){return function(i,s){typeof i!="string"&&(s=i,i="*");var a,u=0,f=i.toLowerCase().match(Re)||[];if(typeof s=="function")for(;a=f[u++];)a[0]==="+"?(a=a.slice(1)||"*",(e[a]=e[a]||[]).unshift(s)):(e[a]=e[a]||[]).push(s)}}function zs(e,i,s,a){var u={},f=e===Ji;function g(b){var y;return u[b]=!0,l.each(e[b]||[],function(T,A){var L=A(i,s,a);if(typeof L=="string"&&!f&&!u[L])return i.dataTypes.unshift(L),g(L),!1;if(f)return!(y=L)}),y}return g(i.dataTypes[0])||!u["*"]&&g("*")}function er(e,i){var s,a,u=l.ajaxSettings.flatOptions||{};for(s in i)i[s]!==void 0&&((u[s]?e:a||(a={}))[s]=i[s]);return a&&l.extend(!0,e,a),e}function Pc(e,i,s){for(var a,u,f,g,b=e.contents,y=e.dataTypes;y[0]==="*";)y.shift(),a===void 0&&(a=e.mimeType||i.getResponseHeader("Content-Type"));if(a){for(u in b)if(b[u]&&b[u].test(a)){y.unshift(u);break}}if(y[0]in s)f=y[0];else{for(u in s){if(!y[0]||e.converters[u+" "+y[0]]){f=u;break}g||(g=u)}f=f||g}if(f)return f!==y[0]&&y.unshift(f),s[f]}function Rc(e,i,s,a){var u,f,g,b,y,T={},A=e.dataTypes.slice();if(A[1])for(g in e.converters)T[g.toLowerCase()]=e.converters[g];for(f=A.shift();f;)if(e.responseFields[f]&&(s[e.responseFields[f]]=i),!y&&a&&e.dataFilter&&(i=e.dataFilter(i,e.dataType)),y=f,f=A.shift(),f){if(f==="*")f=y;else if(y!=="*"&&y!==f){if(g=T[y+" "+f]||T["* "+f],!g){for(u in T)if(b=u.split(" "),b[1]===f&&(g=T[y+" "+b[0]]||T["* "+b[0]],g)){g===!0?g=T[u]:T[u]!==!0&&(f=b[0],A.unshift(b[1]));break}}if(g!==!0)if(g&&e.throws)i=g(i);else try{i=g(i)}catch(L){return{state:"parsererror",error:g?L:"No conversion from "+y+" to "+f}}}}return{state:"success",data:i}}l.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:_n.href,type:"GET",isLocal:Nc.test(_n.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Ws,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":l.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,i){return i?er(er(e,l.ajaxSettings),i):er(l.ajaxSettings,e)},ajaxPrefilter:Vs(Us),ajaxTransport:Vs(Ji),ajax:function(e,i){typeof e=="object"&&(i=e,e=void 0),i=i||{};var s,a,u,f,g,b,y,T,A,L,w=l.ajaxSetup({},i),N=w.context||w,$=w.context&&(N.nodeType||N.jquery)?l(N):l.event,ee=l.Deferred(),G=l.Callbacks("once memory"),ge=w.statusCode||{},pe={},xe={},be="canceled",le={readyState:0,getResponseHeader:function(ue){var ve;if(y){if(!f)for(f={};ve=Oc.exec(u);)f[ve[1].toLowerCase()+" "]=(f[ve[1].toLowerCase()+" "]||[]).concat(ve[2]);ve=f[ue.toLowerCase()+" "]}return ve==null?null:ve.join(", ")},getAllResponseHeaders:function(){return y?u:null},setRequestHeader:function(ue,ve){return y==null&&(ue=xe[ue.toLowerCase()]=xe[ue.toLowerCase()]||ue,pe[ue]=ve),this},overrideMimeType:function(ue){return y==null&&(w.mimeType=ue),this},statusCode:function(ue){var ve;if(ue)if(y)le.always(ue[le.status]);else for(ve in ue)ge[ve]=[ge[ve],ue[ve]];return this},abort:function(ue){var ve=ue||be;return s&&s.abort(ve),Zn(0,ve),this}};if(ee.promise(le),w.url=((e||w.url||_n.href)+"").replace(Lc,_n.protocol+"//"),w.type=i.method||i.type||w.method||w.type,w.dataTypes=(w.dataType||"*").toLowerCase().match(Re)||[""],w.crossDomain==null){b=P.createElement("a");try{b.href=w.url,b.href=b.href,w.crossDomain=Zi.protocol+"//"+Zi.host!=b.protocol+"//"+b.host}catch{w.crossDomain=!0}}if(zs(Us,w,i,le),w.data&&w.processData&&typeof w.data!="string"&&(w.data=l.param(w.data,w.traditional)),y)return le;T=l.event&&w.global,T&&l.active++===0&&l.event.trigger("ajaxStart"),w.type=w.type.toUpperCase(),w.hasContent=!Dc.test(w.type),a=w.url.replace(xc,""),w.hasContent?w.data&&w.processData&&(w.contentType||"").indexOf("application/x-www-form-urlencoded")===0&&(w.data=w.data.replace(Ac,"+")):(L=w.url.slice(a.length),w.data&&(w.processData||typeof w.data=="string")&&(a+=(Xi.test(a)?"&":"?")+w.data,delete w.data),w.cache===!1&&(a=a.replace(Cc,"$1"),L=(Xi.test(a)?"&":"?")+"_="+Bs.guid+++L),w.url=a+L),w.ifModified&&(l.lastModified[a]&&le.setRequestHeader("If-Modified-Since",l.lastModified[a]),l.etag[a]&&le.setRequestHeader("If-None-Match",l.etag[a])),(w.data&&w.hasContent&&w.contentType!==!1||i.contentType)&&le.setRequestHeader("Content-Type",w.contentType),le.setRequestHeader("Accept",w.dataTypes[0]&&w.accepts[w.dataTypes[0]]?w.accepts[w.dataTypes[0]]+(w.dataTypes[0]!=="*"?", "+Ws+"; q=0.01":""):w.accepts["*"]);for(A in w.headers)le.setRequestHeader(A,w.headers[A]);if(w.beforeSend&&(w.beforeSend.call(N,le,w)===!1||y))return le.abort();if(be="abort",G.add(w.complete),le.done(w.success),le.fail(w.error),s=zs(Ji,w,i,le),!s)Zn(-1,"No Transport");else{if(le.readyState=1,T&&$.trigger("ajaxSend",[le,w]),y)return le;w.async&&w.timeout>0&&(g=n.setTimeout(function(){le.abort("timeout")},w.timeout));try{y=!1,s.send(pe,Zn)}catch(ue){if(y)throw ue;Zn(-1,ue)}}function Zn(ue,ve,Gs,jc){var ct,nr,bn,Ut,Wt,Ge=ve;y||(y=!0,g&&n.clearTimeout(g),s=void 0,u=jc||"",le.readyState=ue>0?4:0,ct=ue>=200&&ue<300||ue===304,Gs&&(Ut=Pc(w,le,Gs)),!ct&&l.inArray("script",w.dataTypes)>-1&&l.inArray("json",w.dataTypes)<0&&(w.converters["text script"]=function(){}),Ut=Rc(w,Ut,le,ct),ct?(w.ifModified&&(Wt=le.getResponseHeader("Last-Modified"),Wt&&(l.lastModified[a]=Wt),Wt=le.getResponseHeader("etag"),Wt&&(l.etag[a]=Wt)),ue===204||w.type==="HEAD"?Ge="nocontent":ue===304?Ge="notmodified":(Ge=Ut.state,nr=Ut.data,bn=Ut.error,ct=!bn)):(bn=Ge,(ue||!Ge)&&(Ge="error",ue<0&&(ue=0))),le.status=ue,le.statusText=(ve||Ge)+"",ct?ee.resolveWith(N,[nr,Ge,le]):ee.rejectWith(N,[le,Ge,bn]),le.statusCode(ge),ge=void 0,T&&$.trigger(ct?"ajaxSuccess":"ajaxError",[le,w,ct?nr:bn]),G.fireWith(N,[le,Ge]),T&&($.trigger("ajaxComplete",[le,w]),--l.active||l.event.trigger("ajaxStop")))}return le},getJSON:function(e,i,s){return l.get(e,i,s,"json")},getScript:function(e,i){return l.get(e,void 0,i,"script")}}),l.each(["get","post"],function(e,i){l[i]=function(s,a,u,f){return(typeof a=="function"||a===null)&&(f=f||u,u=a,a=void 0),l.ajax(l.extend({url:s,type:i,dataType:f,data:a,success:u},l.isPlainObject(s)&&s))}}),l.ajaxPrefilter(function(e){var i;for(i in e.headers)i.toLowerCase()==="content-type"&&(e.contentType=e.headers[i]||"")}),l._evalUrl=function(e,i,s){return l.ajax({url:e,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,scriptAttrs:i.crossOrigin?{crossOrigin:i.crossOrigin}:void 0,converters:{"text script":function(){}},dataFilter:function(a){l.globalEval(a,i,s)}})},l.fn.extend({wrapAll:function(e){var i;return this[0]&&(typeof e=="function"&&(e=e.call(this[0])),i=l(e,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&i.insertBefore(this[0]),i.map(function(){for(var s=this;s.firstElementChild;)s=s.firstElementChild;return s}).append(this)),this},wrapInner:function(e){return typeof e=="function"?this.each(function(i){l(this).wrapInner(e.call(this,i))}):this.each(function(){var i=l(this),s=i.contents();s.length?s.wrapAll(e):i.append(e)})},wrap:function(e){var i=typeof e=="function";return this.each(function(s){l(this).wrapAll(i?e.call(this,s):e)})},unwrap:function(e){return this.parent(e).not("body").each(function(){l(this).replaceWith(this.childNodes)}),this}}),l.expr.pseudos.hidden=function(e){return!l.expr.pseudos.visible(e)},l.expr.pseudos.visible=function(e){return!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)},l.ajaxSettings.xhr=function(){return new n.XMLHttpRequest};var kc={0:200};l.ajaxTransport(function(e){var i;return{send:function(s,a){var u,f=e.xhr();if(f.open(e.type,e.url,e.async,e.username,e.password),e.xhrFields)for(u in e.xhrFields)f[u]=e.xhrFields[u];e.mimeType&&f.overrideMimeType&&f.overrideMimeType(e.mimeType),!e.crossDomain&&!s["X-Requested-With"]&&(s["X-Requested-With"]="XMLHttpRequest");for(u in s)f.setRequestHeader(u,s[u]);i=function(g){return function(){i&&(i=f.onload=f.onerror=f.onabort=f.ontimeout=null,g==="abort"?f.abort():g==="error"?a(f.status,f.statusText):a(kc[f.status]||f.status,f.statusText,(f.responseType||"text")==="text"?{text:f.responseText}:{binary:f.response},f.getAllResponseHeaders()))}},f.onload=i(),f.onabort=f.onerror=f.ontimeout=i("error"),i=i("abort");try{f.send(e.hasContent&&e.data||null)}catch(g){if(i)throw g}},abort:function(){i&&i()}}});function Ks(e){return e.scriptAttrs||!e.headers&&(e.crossDomain||e.async&&l.inArray("json",e.dataTypes)<0)}l.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},converters:{"text script":function(e){return l.globalEval(e),e}}}),l.ajaxPrefilter("script",function(e){e.cache===void 0&&(e.cache=!1),Ks(e)&&(e.type="GET")}),l.ajaxTransport("script",function(e){if(Ks(e)){var i,s;return{send:function(a,u){i=l("