10 lines
235 KiB
JavaScript
10 lines
235 KiB
JavaScript
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;o<c;o++)t.call(null,n[o],o,n);else{if(Cn(n))return;const d=r?Object.getOwnPropertyNames(n):Object.keys(n),h=d.length;let p;for(o=0;o<h;o++)p=d[o],t.call(null,n[p],p,n)}}function ca(n,t){if(Cn(n))return null;t=t.toLowerCase();const r=Object.keys(n);let o=r.length,c;for(;o-- >0;)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<d;c++)arguments[c]&&Nn(arguments[c],o);return r}const tu=(n,t,r,{allOwnKeys:o}={})=>(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<c;o++)d=r[o],t[d]=n[d];return t}function _a(n){function t(r,o,c,d){let h=r[d++];if(h==="__proto__")return!0;const p=Number.isFinite(+h),m=d>=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<t)return;const I=v&&_-v;return I?Math.round(R*1e3/I):void 0}}function Ku(n,t){let r=0,o=1e3/t,c,d;const h=(_,v=Date.now())=>{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<t){yield n;return}let o=0,c;for(;o<r;)c=o+t,yield n.slice(o,c),o=c},nf=async function*(n,t){for await(const r of rf(n))yield*tf(r,t)},rf=async function*(n){if(n[Symbol.asyncIterator]){yield*n;return}const t=n.getReader();try{for(;;){const{done:r,value:o}=await t.read();if(r)break;yield o}}finally{await t.cancel()}},ro=(n,t,r,o)=>{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<r;h++){o=n[h];let p;if(c=o,!lf(o)&&(c=Ur[(p=String(o)).toLowerCase()],c===void 0))throw new ie(`Unknown adapter '${p}'`);if(c&&(O.isFunction(c)||(c=c.get(t))))break;d[p||"#"+h]=c}if(!c){const h=Object.entries(d).map(([m,_])=>`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<R;)v=v.then(E[C++],E[C++]);return v}R=p.length;let I=r;for(;C<R;){const E=p[C++],S=p[C++];try{I=E(I)}catch(x){S.call(this,x);break}}try{v=uo.call(this,I)}catch(E){return Promise.reject(E)}for(C=0,R=_.length;C<R;)v=v.then(_[C++],_[C++]);return v}getUri(t){t=Ot(this.defaults,t);const r=Ta(t.baseURL,t.url,t.allowAbsoluteUrls);return ya(r,t.params,t.paramsSerializer)}};O.forEach(["delete","get","head","options"],function(t){At.prototype[t]=function(r,o){return this.request(Ot(o||{},{method:t,url:r,data:(o||{}).data}))}});O.forEach(["post","put","patch"],function(t){function r(o){return function(d,h,p){return this.request(Ot(p||{},{method:t,headers:o?{"Content-Type":"multipart/form-data"}:{},url:d,data:h}))}}At.prototype[t]=r(),At.prototype[t+"Form"]=r(!0)});let ff=class Ca{constructor(t){if(typeof t!="function")throw new TypeError("executor must be a function.");let r;this.promise=new Promise(function(d){r=d});const o=this;this.promise.then(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<B.length;Q++){var fe=B[Q],de=Qe(fe),D=tn(fe)===Nt,j=[Te,De].indexOf(de)>=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;r++)t[r]=arguments[r];return!t.some(function(o){return!(o&&typeof o.getBoundingClientRect=="function")})}function il(n){n===void 0&&(n={});var t=n,r=t.defaultModifiers,o=r===void 0?[]:r,c=t.defaultOptions,d=c===void 0?_o:c;return function(p,m,_){_===void 0&&(_=d);var v={placement:"bottom",orderedModifiers:[],options:Object.assign({},_o,d),modifiersData:{},elements:{reference:p,popper:m},attributes:{},styles:{}},C=[],R=!1,I={state:v,setOptions:function(P){var V=typeof P=="function"?P(v.options):P;S(),v.options=Object.assign({},d,v.options,V),v.scrollParents={reference:Dt(p)?An(p):p.contextElement?An(p.contextElement):[],popper:An(m)};var U=Kf(Gf([].concat(o,v.options.modifiers)));return v.orderedModifiers=U.filter(function(B){return B.enabled}),E(),I.update()},forceUpdate:function(){if(!R){var P=v.elements,V=P.reference,U=P.popper;if(bo(V,U)){v.rects={reference:Vf(V,Ln(U),v.options.strategy==="fixed"),popper:Kr(U)},v.reset=!1,v.placement=v.options.placement,v.orderedModifiers.forEach(function(Q){return v.modifiersData[Q.name]=Object.assign({},Q.data)});for(var B=0;B<v.orderedModifiers.length;B++){if(v.reset===!0){v.reset=!1,B=-1;continue}var X=v.orderedModifiers[B],l=X.fn,F=X.options,ae=F===void 0?{}:F,z=X.name;typeof l=="function"&&(v=l({state:v,options:ae,name:z,instance:I})||v)}}}},update:Yf(function(){return new Promise(function(x){I.forceUpdate(),x(v)})}),destroy:function(){S(),R=!0}};if(!bo(p,m))return I;I.setOptions(_).then(function(x){!R&&_.onFirstUpdate&&_.onFirstUpdate(x)});function E(){v.orderedModifiers.forEach(function(x){var P=x.name,V=x.options,U=V===void 0?{}:V,B=x.effect;if(typeof B=="function"){var X=B({state:v,name:P,instance:I,options:U}),l=function(){};C.push(X||l)}})}function S(){C.forEach(function(x){return x()}),C=[]}return I}}var Xf=[Ga,tl,Ya,Ba,el,Ja,nl,Ka,Za],Jr=il({defaultModifiers:Xf});const rl=Object.freeze(Object.defineProperty({__proto__:null,afterMain:Ma,afterRead:Ra,afterWrite:$a,applyStyles:Ba,arrow:Ka,auto:Ci,basePlacements:ln,beforeMain:ka,beforeRead:La,beforeWrite:ja,bottom:De,clippingParents:Na,computeStyles:Ya,createPopper:Jr,detectOverflow:nn,end:Jt,eventListeners:Ga,flip:Ja,hide:Za,left:we,main:Ia,modifierPhases:Fa,offset:el,placements:Vr,popper:Kt,popperGenerator:il,popperOffsets:tl,preventOverflow:nl,read:Pa,reference:Da,right:Le,start:Nt,top:Te,variationPlacements:Rr,viewport:Wr,write:Ha},Symbol.toStringTag,{value:"Module"}));const ut=new Map,or={set(n,t,r){ut.has(n)||ut.set(n,new Map);const o=ut.get(n);if(!o.has(t)&&o.size!==0){console.error(`Bootstrap doesn't allow more than one instance per element. Bound instance: ${Array.from(o.keys())[0]}.`);return}o.set(t,r)},get(n,t){return ut.has(n)&&ut.get(n).get(t)||null},remove(n,t){if(!ut.has(n))return;const r=ut.get(n);r.delete(t),r.size===0&&ut.delete(n)}},Qf=1e6,Jf=1e3,Mr="transitionend",sl=n=>(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:"<div></div>"},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:'<div class="tooltip" role="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>',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:'<div class="popover" role="tooltip"><div class="popover-arrow"></div><h3 class="popover-header"></h3><div class="popover-body"></div></div>',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<i?[this[s]]:[])},end:function(){return this.prevObject||this.constructor()}},l.extend=l.fn.extend=function(){var e,i,s,a,u,f,g=arguments[0]||{},b=1,y=arguments.length,T=!1;for(typeof g=="boolean"&&(T=g,g=arguments[b]||{},b++),typeof g!="object"&&typeof g!="function"&&(g={}),b===y&&(g=this,b--);b<y;b++)if((e=arguments[b])!=null)for(i in e)a=e[i],!(i==="__proto__"||g===a)&&(T&&a&&(l.isPlainObject(a)||(u=Array.isArray(a)))?(s=g[i],u&&!Array.isArray(s)?f=[]:!u&&!l.isPlainObject(s)?f={}:f=s,u=!1,g[i]=l.extend(T,f,a)):a!==void 0&&(g[i]=a));return g},l.extend({expando:"jQuery"+(B+Math.random()).replace(/\D/g,""),isReady:!0,error:function(e){throw new Error(e)},noop:function(){},isPlainObject:function(e){var i,s;return!e||_.call(e)!=="[object Object]"?!1:(i=o(e),i?(s=v.call(i,"constructor")&&i.constructor,typeof s=="function"&&C.call(s)===R):!0)},isEmptyObject:function(e){var i;for(i in e)return!1;return!0},globalEval:function(e,i,s){U(e,{nonce:i&&i.nonce},s)},each:function(e,i){var s,a=0;if(x(e))for(s=e.length;a<s&&i.call(e[a],a,e[a])!==!1;a++);else for(a in e)if(i.call(e[a],a,e[a])===!1)break;return e},text:function(e){var i,s="",a=0,u=e.nodeType;if(!u)for(;i=e[a++];)s+=l.text(i);return u===1||u===11?e.textContent:u===9?e.documentElement.textContent:u===3||u===4?e.nodeValue:s},makeArray:function(e,i){var s=i||[];return e!=null&&(x(Object(e))?l.merge(s,typeof e=="string"?[e]:e):h.call(s,e)),s},inArray:function(e,i,s){return i==null?-1:p.call(i,e,s)},isXMLDoc:function(e){var i=e&&e.namespaceURI,s=e&&(e.ownerDocument||e).documentElement;return!X.test(i||s&&s.nodeName||"HTML")},contains:function(e,i){var s=i&&i.parentNode;return e===s||!!(s&&s.nodeType===1&&(e.contains?e.contains(s):e.compareDocumentPosition&&e.compareDocumentPosition(s)&16))},merge:function(e,i){for(var s=+i.length,a=0,u=e.length;a<s;a++)e[u++]=i[a];return e.length=u,e},grep:function(e,i,s){for(var a,u=[],f=0,g=e.length,b=!s;f<g;f++)a=!i(e[f],f),a!==b&&u.push(e[f]);return u},map:function(e,i,s){var a,u,f=0,g=[];if(x(e))for(a=e.length;f<a;f++)u=i(e[f],f,s),u!=null&&g.push(u);else for(f in e)u=i(e[f],f,s),u!=null&&g.push(u);return d(g)},guid:1,support:I}),typeof Symbol=="function"&&(l.fn[Symbol.iterator]=r[Symbol.iterator]),l.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(e,i){m["[object "+i+"]"]=i.toLowerCase()});function F(e,i){return e.nodeName&&e.nodeName.toLowerCase()===i.toLowerCase()}var ae=r.pop,z="[\\x20\\t\\r\\n\\f]",Q=P.documentMode,fe=Q&&new RegExp(":enabled|:disabled|\\["+z+"*name"+z+"*="+z+`*(?:''|"")`),de=new RegExp("^"+z+"+|((?:^|[^\\\\])(?:\\\\.)*)"+z+"+$","g"),D="(?:\\\\[\\da-fA-F]{1,6}"+z+"?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+",j=new RegExp("^"+z+"*([>+~]|"+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="";i<s;i++)a+=e[i].value;return a}function Be(e,i,s,a,u,f,g){var b=0,y=e.length,T=s==null;if(E(s)==="object"){u=!0;for(b in s)Be(e,i,b,s[b],!0,f,g)}else if(a!==void 0&&(u=!0,typeof a!="function"&&(g=!0),T&&(g?(i.call(e,a),i=null):(T=i,i=function(A,L,w){return T.call(l(A),w)})),i))for(;b<y;b++)i(e[b],s,g?a:a.call(e[b],b,i(e[b],s)));return u?e:T?i.call(e):y?i(e[0],s):f}var Re=/[^\x20\t\r\n\f]+/g;l.fn.extend({attr:function(e,i){return Be(this,l.attr,e,i,arguments.length>1)},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"?"<22>":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;s<i;s+=2)e.push(s);return e}),odd:_t(function(e,i){for(var s=1;s<i;s+=2)e.push(s);return e}),lt:_t(function(e,i,s){var a;for(s<0?a=s+i:s>i?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;++a<i;)e.push(a);return e})}},l.expr.pseudos.nth=l.expr.pseudos.eq;for(tt in{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})l.expr.pseudos[tt]=ql(tt);for(tt in{submit:!0,reset:!0})l.expr.pseudos[tt]=Ul(tt);function ls(){}ls.prototype=l.expr.pseudos,l.expr.setFilters=new ls;function Bn(e,i,s){var a=i.dir,u=i.next,f=u||a,g=s&&f==="parentNode",b=$n++;return i.first?function(y,T,A){for(;y=y[a];)if(y.nodeType===1||g)return e(y,T,A);return!1}:function(y,T,A){var L,w,N=[Ie,b];if(A){for(;y=y[a];)if((y.nodeType===1||g)&&e(y,T,A))return!0}else for(;y=y[a];)if(y.nodeType===1||g)if(w=y[l.expando]||(y[l.expando]={}),u&&F(y,u))y=y[a]||y;else{if((L=w[f])&&L[0]===Ie&&L[1]===b)return N[2]=L[2];if(w[f]=N,N[2]=e(y,T,A))return!0}return!1}}function ji(e){return e.length>1?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<u;a++)Ue(e,i[a],s);return s}function qn(e,i,s,a,u){for(var f,g=[],b=0,y=e.length,T=i!=null;b<y;b++)(f=e[b])&&(!s||s(f,a,u))&&(g.push(f),T&&i.push(b));return g}function Hi(e,i,s,a,u,f){return a&&!a[l.expando]&&(a=Hi(a)),u&&!u[l.expando]&&(u=Hi(u,f)),Ye(function(g,b,y,T){var A,L,w,N,$=[],ee=[],G=b.length,ge=g||Wl(i||"*",y.nodeType?[y]:y,[]),pe=e&&(g||!i)?qn(ge,$,e,y,T):ge;if(s?(N=u||(g?e:G||a)?[]:b,s(pe,N,y,T)):N=pe,a)for(A=qn(N,ee),a(A,[],y,T),L=A.length;L--;)(w=A[L])&&(N[ee[L]]=!(pe[ee[L]]=w));if(g){if(u||e){if(u){for(A=[],L=N.length;L--;)(w=N[L])&&A.push(pe[L]=w);u(null,N=[],A,T)}for(L=N.length;L--;)(w=N[L])&&(A=u?p.call(g,w):$[L])>-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,$}];b<u;b++)if(s=l.expr.relative[e[b].type])A=[Bn(ji(A),s)];else{if(s=l.expr.filter[e[b].type].apply(null,e[b].matches),s[l.expando]){for(a=++b;a<u&&!l.expr.relative[e[a].type];a++);return Hi(b>1&&ji(A),b>1&&yt(e.slice(0,b-1).concat({value:e[b-2].type===" "?"*":""})).replace(de,"$1"),s,b<a&&$i(e.slice(b,a)),a<u&&$i(e=e.slice(a)),a<u&&yt(e))}A.push(s)}return ji(A)}function Vl(e,i){var s=i.length>0,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;i<a;i++)if(l.contains(u[i],this))return!0}));for(s=this.pushStack([]),i=0;i<a;i++)l.find(e,u[i],s);return a>1?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<s;a++)if(l.contains(this,i[a]))return!0})},closest:function(e,i){var s,a=0,u=this.length,f=[],g=typeof e!="string"&&l(e);if(!fs.test(e)){for(;a<u;a++)for(s=this[a];s&&s!==i;s=s.parentNode)if(s.nodeType<11&&(g?g.index(s)>-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<f.length;)f[b].apply(s[0],s[1])===!1&&e.stopOnFalse&&(b=f.length,s=!1);e.memory||(s=!1),i=!1,u&&(s?f=[]:f="")},T={add:function(){return f&&(s&&!i&&(b=f.length-1,g.push(s)),(function A(L){l.each(L,function(w,N){typeof N=="function"?(!e.unique||!T.has(N))&&f.push(N):N&&N.length&&E(N)!=="string"&&A(N)})})(arguments),s&&!i&&y()),this},remove:function(){return l.each(arguments,function(A,L){for(var w;(w=l.inArray(L,f,w))>-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)){if(pe=w.apply($,ee),pe===L.promise())throw new TypeError("Thenable self-resolution");xe=pe&&(typeof pe=="object"||typeof pe=="function")&&pe.then,typeof xe=="function"?N?xe.call(pe,T(y,L,Mt,N),T(y,L,Wn,N)):(y++,xe.call(pe,T(y,L,Mt,N),T(y,L,Wn,N),T(y,L,Mt,L.notifyWith))):(w!==Mt&&($=void 0,ee=[pe]),(N||L.resolveWith)($,ee))}},ge=N?G:function(){try{G()}catch(pe){l.Deferred.exceptionHook&&l.Deferred.exceptionHook(pe,ge.error),A+1>=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<s?l.queue(this[0],e):i===void 0?this:this.each(function(){var a=l.queue(this,e,i);l._queueHooks(this,e),e==="fx"&&a[0]!=="inprogress"&&l.dequeue(this,e)})},dequeue:function(e){return this.each(function(){l.dequeue(this,e)})},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,i){var s,a=1,u=l.Deferred(),f=this,g=this.length,b=function(){--a||u.resolveWith(f,[f])};for(typeof e!="string"&&(i=e,e=void 0),e=e||"fx";g--;)s=ne.get(f[g],e+"queueHooks"),s&&s.empty&&(a++,s.empty.add(b));return b(),u.promise(i)}});var ys=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,yn=new RegExp("^(?:([+-])=|)("+ys+")([a-z%]*)$","i"),at=["Top","Right","Bottom","Left"];function zn(e,i){return e=i||e,e.style.display==="none"||e.style.display===""&&l.css(e,"display")==="none"}var ic=/^[a-z]/,rc=/^(?:Border(?:Top|Right|Bottom|Left)?(?:Width|)|(?:Margin|Padding)?(?:Top|Right|Bottom|Left)?|(?:Min|Max)?(?:Width|Height))$/;function Kn(e){return ic.test(e)&&rc.test(e[0].toUpperCase()+e.slice(1))}function vs(e,i,s,a){var u,f,g=20,b=a?function(){return a.cur()}:function(){return l.css(e,i,"")},y=b(),T=s&&s[3]||(Kn(i)?"px":""),A=e.nodeType&&(!Kn(i)||T!=="px"&&+y)&&yn.exec(l.css(e,i));if(A&&A[3]!==T){for(y=y/2,T=T||A[3],A=+y||1;g--;)l.style(e,i,A+T),(1-f)*(1-(f=b()/y||.5))<=0&&(g=0),A=A/f;A=A*2,l.style(e,i,A+T),s=s||[]}return s&&(A=+A||+y||0,u=s[1]?A+(s[1]+1)*s[2]:+s[2],a&&(a.unit=T,a.start=A,a.end=u)),u}var sc=/^-ms-/;function Ui(e){return bt(e.replace(sc,"ms-"))}var _s={};function oc(e){var i,s=e.ownerDocument,a=e.nodeName,u=_s[a];return u||(i=s.body.appendChild(s.createElement(a)),u=l.css(i,"display"),i.parentNode.removeChild(i),u==="none"&&(u="block"),_s[a]=u,u)}function jt(e,i){for(var s,a,u=[],f=0,g=e.length;f<g;f++)a=e[f],a.style&&(s=a.style.display,i?(s==="none"&&(u[f]=ne.get(a,"display")||null,u[f]||(a.style.display="")),a.style.display===""&&zn(a)&&(u[f]=oc(a))):s!=="none"&&(u[f]="none",ne.set(a,"display",s)));for(f=0;f<g;f++)u[f]!=null&&(e[f].style.display=u[f]);return e}l.fn.extend({show:function(){return jt(this,!0)},hide:function(){return jt(this)},toggle:function(e){return typeof e=="boolean"?e?this.show():this.hide():this.each(function(){zn(this)?l(this).show():l(this).hide()})}});var vn=function(e){return l.contains(e.ownerDocument,e)||e.getRootNode(ac)===e.ownerDocument},ac={composed:!0};te.getRootNode||(vn=function(e){return l.contains(e.ownerDocument,e)});var bs=/<([a-z][^\/\0>\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<a;s++)ne.set(e[s],"globalEval",!i||ne.get(i[s],"globalEval"))}var lc=/<|&#?\w+;/;function Ts(e,i,s,a,u){for(var f,g,b,y,T,A,L=i.createDocumentFragment(),w=[],N=0,$=e.length;N<$;N++)if(f=e[N],f||f===0)if(E(f)==="object"&&(f.nodeType||x(f)))l.merge(w,f.nodeType?[f]:f);else if(!lc.test(f))w.push(i.createTextNode(f));else{for(g=g||L.appendChild(i.createElement("div")),b=(bs.exec(f)||["",""])[1].toLowerCase(),y=nt[b]||r,A=y.length;--A>-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<L;A++)y=u,A!==w&&(y=l.clone(y,!0,!0),b&&l.merge(g,Ae(y,"script"))),s.call(e[A],y,A);if(b)for(T=g[g.length-1].ownerDocument,l.map(g,uc),A=0;A<b;A++)y=g[A],Es.test(y.type||"")&&!ne.get(y,"globalEval")&&l.contains(T,y)&&(y.src&&(y.type||"").toLowerCase()!=="module"?l._evalUrl&&!y.noModule&&l._evalUrl(y.src,{nonce:y.nonce,crossOrigin:y.crossOrigin},T):U(y.textContent,y,T))}return e}var Yn=/^(?:checkbox|radio)$/i,ws=/^([^.]*)(?:\.(.+)|)/;function $t(){return!0}function Ft(){return!1}function Vi(e,i,s,a,u,f){var g,b;if(typeof i=="object"){typeof s!="string"&&(a=a||s,s=void 0);for(b in i)Vi(e,b,s,a,i[b],f);return e}if(a==null&&u==null?(u=s,a=s=void 0):u==null&&(typeof s=="string"?(u=a,a=void 0):(u=a,a=s,s=void 0)),u===!1)u=Ft;else if(!u)return e;return f===1&&(g=u,u=function(y){return l().off(y),g.apply(this,arguments)},u.guid=g.guid||(g.guid=l.guid++)),e.each(function(){l.event.add(this,i,u,a,s)})}l.event={add:function(e,i,s,a,u){var f,g,b,y,T,A,L,w,N,$,ee,G=ne.get(e);if(gn(e))for(s.handler&&(f=s,s=f.handler,u=f.selector),u&&l.find.matchesSelector(te,u),s.guid||(s.guid=l.guid++),(y=G.events)||(y=G.events=Object.create(null)),(g=G.handle)||(g=G.handle=function(ge){return typeof l<"u"&&l.event.triggered!==ge.type?l.event.dispatch.apply(e,arguments):void 0}),i=(i||"").match(Re)||[""],T=i.length;T--;)b=ws.exec(i[T])||[],N=ee=b[1],$=(b[2]||"").split(".").sort(),N&&(L=l.event.special[N]||{},N=(u?L.delegateType:L.bindType)||N,L=l.event.special[N]||{},A=l.extend({type:N,origType:ee,data:a,handler:s,guid:s.guid,selector:u,needsContext:u&&l.expr.match.needsContext.test(u),namespace:$.join(".")},f),(w=y[N])||(w=y[N]=[],w.delegateCount=0,(!L.setup||L.setup.call(e,a,$,g)===!1)&&e.addEventListener&&e.addEventListener(N,g)),L.add&&(L.add.call(e,A),A.handler.guid||(A.handler.guid=s.guid)),u?w.splice(w.delegateCount++,0,A):w.push(A))},remove:function(e,i,s,a,u){var f,g,b,y,T,A,L,w,N,$,ee,G=ne.hasData(e)&&ne.get(e);if(!(!G||!(y=G.events))){for(i=(i||"").match(Re)||[""],T=i.length;T--;){if(b=ws.exec(i[T])||[],N=ee=b[1],$=(b[2]||"").split(".").sort(),!N){for(N in y)l.event.remove(e,N+i[T],s,a,!0);continue}for(L=l.event.special[N]||{},N=(a?L.delegateType:L.bindType)||N,w=y[N]||[],b=b[2]&&new RegExp("(^|\\.)"+$.join("\\.(?:.*\\.|)")+"(\\.|$)"),g=f=w.length;f--;)A=w[f],(u||ee===A.origType)&&(!s||s.guid===A.guid)&&(!b||b.test(A.namespace))&&(!a||a===A.selector||a==="**"&&A.selector)&&(w.splice(f,1),A.selector&&w.delegateCount--,L.remove&&L.remove.call(e,A));g&&!w.length&&((!L.teardown||L.teardown.call(e,$,G.handle)===!1)&&l.removeEvent(e,N,G.handle),delete y[N])}l.isEmptyObject(y)&&ne.remove(e,"handle events")}},dispatch:function(e){var i,s,a,u,f,g,b=new Array(arguments.length),y=l.event.fix(e),T=(ne.get(this,"events")||Object.create(null))[y.type]||[],A=l.event.special[y.type]||{};for(b[0]=y,i=1;i<arguments.length;i++)b[i]=arguments[i];if(y.delegateTarget=this,!(A.preDispatch&&A.preDispatch.call(this,y)===!1)){for(g=l.event.handlers.call(this,y,T),i=0;(u=g[i++])&&!y.isPropagationStopped();)for(y.currentTarget=u.elem,s=0;(f=u.handlers[s++])&&!y.isImmediatePropagationStopped();)(!y.rnamespace||f.namespace===!1||y.rnamespace.test(f.namespace))&&(y.handleObj=f,y.data=f.data,a=((l.event.special[f.origType]||{}).handle||f.handler).apply(u.elem,b),a!==void 0&&(y.result=a)===!1&&(y.preventDefault(),y.stopPropagation()));return A.postDispatch&&A.postDispatch.call(this,y),y.result}},handlers:function(e,i){var s,a,u,f,g,b=[],y=i.delegateCount,T=e.target;if(y&&!(e.type==="click"&&e.button>=1)){for(;T!==this;T=T.parentNode||this)if(T.nodeType===1&&!(e.type==="click"&&T.disabled===!0)){for(f=[],g={},s=0;s<y;s++)a=i[s],u=a.selector+" ",g[u]===void 0&&(g[u]=a.needsContext?l(u,this).index(T)>-1:l.find(u,this,null,[T]).length),g[u]&&f.push(a);f.length&&b.push({elem:T,handlers:f})}}return T=this,y<i.length&&b.push({elem:T,handlers:i.slice(y)}),b},addProp:function(e,i){Object.defineProperty(l.Event.prototype,e,{enumerable:!0,configurable:!0,get:typeof i=="function"?function(){if(this.originalEvent)return i(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[e]},set:function(s){Object.defineProperty(this,e,{enumerable:!0,configurable:!0,writable:!0,value:s})}})},fix:function(e){return e[l.expando]?e:new l.Event(e)},special:l.extend(Object.create(null),{load:{noBubble:!0},click:{setup:function(e){var i=this||e;return Yn.test(i.type)&&i.click&&F(i,"input")&&Gn(i,"click",!0),!1},trigger:function(e){var i=this||e;return Yn.test(i.type)&&i.click&&F(i,"input")&&Gn(i,"click"),!0},_default:function(e){var i=e.target;return Yn.test(i.type)&&i.click&&F(i,"input")&&ne.get(i,"click")||F(i,"a")}},beforeunload:{postDispatch:function(e){e.result!==void 0&&e.preventDefault()}}})};function Gn(e,i,s){if(!s){ne.get(e,i)===void 0&&l.event.add(e,i,$t);return}ne.set(e,i,!1),l.event.add(e,i,{namespace:!1,handler:function(a){var u,f=ne.get(this,i);if(a.isTrigger&1&&this[i]){if(f.length)(l.event.special[i]||{}).delegateType&&a.stopPropagation();else if(f=c.call(arguments),ne.set(this,i,f),this[i](),u=ne.get(this,i),ne.set(this,i,!1),f!==u)return a.stopImmediatePropagation(),a.preventDefault(),u&&u.value}else f.length&&(ne.set(this,i,{value:l.event.trigger(f[0],f.slice(1),this)}),a.stopPropagation(),a.isImmediatePropagationStopped=$t)}})}l.removeEvent=function(e,i,s){e.removeEventListener&&e.removeEventListener(i,s)},l.Event=function(e,i){if(!(this instanceof l.Event))return new l.Event(e,i);e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented?$t:Ft,this.target=e.target,this.currentTarget=e.currentTarget,this.relatedTarget=e.relatedTarget):this.type=e,i&&l.extend(this,i),this.timeStamp=e&&e.timeStamp||Date.now(),this[l.expando]=!0},l.Event.prototype={constructor:l.Event,isDefaultPrevented:Ft,isPropagationStopped:Ft,isImmediatePropagationStopped:Ft,isSimulated:!1,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=$t,e&&!this.isSimulated&&e.preventDefault()},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=$t,e&&!this.isSimulated&&e.stopPropagation()},stopImmediatePropagation:function(){var e=this.originalEvent;this.isImmediatePropagationStopped=$t,e&&!this.isSimulated&&e.stopImmediatePropagation(),this.stopPropagation()}},l.each({altKey:!0,bubbles:!0,cancelable:!0,changedTouches:!0,ctrlKey:!0,detail:!0,eventPhase:!0,metaKey:!0,pageX:!0,pageY:!0,shiftKey:!0,view:!0,char:!0,code:!0,charCode:!0,key:!0,keyCode:!0,button:!0,buttons:!0,clientX:!0,clientY:!0,offsetX:!0,offsetY:!0,pointerId:!0,pointerType:!0,screenX:!0,screenY:!0,targetTouches:!0,toElement:!0,touches:!0,which:!0},l.event.addProp),l.each({focus:"focusin",blur:"focusout"},function(e,i){function s(a){var u=l.event.fix(a);u.type=a.type==="focusin"?"focus":"blur",u.isSimulated=!0,u.target===u.currentTarget&&ne.get(this,"handle")(u)}l.event.special[e]={setup:function(){if(Gn(this,e,!0),Q)this.addEventListener(i,s);else return!1},trigger:function(){return Gn(this,e),!0},teardown:function(){if(Q)this.removeEventListener(i,s);else return!1},_default:function(a){return ne.get(a.target,e)},delegateType:i}}),l.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(e,i){l.event.special[e]={delegateType:i,bindType:i,handle:function(s){var a,u=this,f=s.relatedTarget,g=s.handleObj;return(!f||f!==u&&!l.contains(u,f))&&(s.type=g.origType,a=g.handler.apply(this,arguments),s.type=i),a}}}),l.fn.extend({on:function(e,i,s,a){return Vi(this,e,i,s,a)},one:function(e,i,s,a){return Vi(this,e,i,s,a,1)},off:function(e,i,s){var a,u;if(e&&e.preventDefault&&e.handleObj)return a=e.handleObj,l(e.delegateTarget).off(a.namespace?a.origType+"."+a.namespace:a.origType,a.selector,a.handler),this;if(typeof e=="object"){for(u in e)this.off(u,i,e[u]);return this}return(i===!1||typeof i=="function")&&(s=i,i=void 0),s===!1&&(s=Ft),this.each(function(){l.event.remove(this,e,s,i)})}});var fc=/<script|<style|<link/i;function Ss(e,i){return F(e,"table")&&F(i.nodeType!==11?i:i.firstChild,"tr")&&l(e).children("tbody")[0]||e}function As(e,i){var s,a,u,f=ne.get(e,"events");if(i.nodeType===1){if(f){ne.remove(i,"handle events");for(s in f)for(a=0,u=f[s].length;a<u;a++)l.event.add(i,s,f[s][a])}Se.hasData(e)&&Se.set(i,l.extend({},Se.get(e)))}}function xs(e,i,s){for(var a,u=i?l.filter(i,e):e,f=0;(a=u[f])!=null;f++)!s&&a.nodeType===1&&l.cleanData(Ae(a)),a.parentNode&&(s&&vn(a)&&Wi(Ae(a,"script")),a.parentNode.removeChild(a));return e}l.extend({htmlPrefilter:function(e){return e},clone:function(e,i,s){var a,u,f,g,b=e.cloneNode(!0),y=vn(e);if(Q&&(e.nodeType===1||e.nodeType===11)&&!l.isXMLDoc(e))for(g=Ae(b),f=Ae(e),a=0,u=f.length;a<u;a++)F(g[a],"textarea")&&(g[a].defaultValue=f[a].defaultValue);if(i)if(s)for(f=f||Ae(e),g=g||Ae(b),a=0,u=f.length;a<u;a++)As(f[a],g[a]);else As(e,b);return g=Ae(b,"script"),g.length>0&&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<u;a++)s=this[a]||{},s.nodeType===1&&(l.cleanData(Ae(s,!1)),s.innerHTML=i);s=0}catch{}}s&&this.empty().append(i)},null,e,arguments.length)},replaceWith:function(){var e=[];return Ht(this,arguments,function(i){var s=this.parentNode;l.inArray(this,e)<0&&(l.cleanData(Ae(this)),s&&s.replaceChild(i,this))},e)}}),l.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(e,i){l.fn[e]=function(s){for(var a,u=[],f=l(s),g=f.length-1,b=0;b<=g;b++)a=b===g?this:this.clone(!0),l(f[b])[i](a),h.apply(u,a);return this.pushStack(u)}});var dc=new RegExp("^("+ys+")(?!px)[a-z%]+$","i"),zi=/^--/;function Xn(e){var i=e.ownerDocument.defaultView;return i||(i=n),i.getComputedStyle(e)}function hc(e,i,s){var a,u,f={};for(u in i)f[u]=e.style[u],e.style[u]=i[u];a=s.call(e);for(u in i)e.style[u]=f[u];return a}function Cs(e,i,s){var a,u=zi.test(i);return s=s||Xn(e),s&&(a=s.getPropertyValue(i)||s[i],u&&a&&(a=a.replace(de,"$1")||void 0),a===""&&!vn(e)&&(a=l.style(e,i))),a!==void 0?a+"":a}var Os=["Webkit","Moz","ms"],Ns=P.createElement("div").style;function pc(e){for(var i=e[0].toUpperCase()+e.slice(1),s=Os.length;s--;)if(e=Os[s]+i,e in Ns)return e}function Ki(e){return e in Ns?e:pc(e)||e}var Ds,Ls,lt=P.createElement("table");function Ps(){if(!(!lt||!lt.style)){var e,i=P.createElement("col"),s=P.createElement("tr"),a=P.createElement("td");if(lt.style.cssText="position:absolute;left:-11111px;border-collapse:separate;border-spacing:0",s.style.cssText="box-sizing:content-box;border:1px solid;height:1px",a.style.cssText="height:9px;width:9px;padding:0",i.span=2,te.appendChild(lt).appendChild(i).parentNode.appendChild(s).appendChild(a).parentNode.appendChild(a.cloneNode(!0)),lt.offsetWidth===0){te.removeChild(lt);return}e=n.getComputedStyle(s),Ls=Q||Math.round(parseFloat(n.getComputedStyle(i).width))===18,Ds=Math.round(parseFloat(e.height)+parseFloat(e.borderTopWidth)+parseFloat(e.borderBottomWidth))===s.offsetHeight,te.removeChild(lt),lt=null}}l.extend(I,{reliableTrDimensions:function(){return Ps(),Ds},reliableColDimensions:function(){return Ps(),Ls}});var gc={position:"absolute",visibility:"hidden",display:"block"},Rs={letterSpacing:"0",fontWeight:"400"};function ks(e,i,s){var a=yn.exec(i);return a?Math.max(0,a[2]-(s||0))+(a[3]||"px"):i}function Is(e,i,s,a,u,f){var g=i==="width"?1:0,b=0,y=0,T=0;if(s===(a?"border":"content"))return 0;for(;g<4;g+=2)s==="margin"&&(T+=l.css(e,s+at[g],!0,u)),a?(s==="content"&&(y-=l.css(e,"padding"+at[g],!0,u)),s!=="margin"&&(y-=l.css(e,"border"+at[g]+"Width",!0,u))):(y+=l.css(e,"padding"+at[g],!0,u),s!=="padding"?y+=l.css(e,"border"+at[g]+"Width",!0,u):b+=l.css(e,"border"+at[g]+"Width",!0,u));return!a&&f>=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;y<g;y++)b[a[y]]=l.css(s,a[y],!1,f);return b}return u!==void 0?l.style(s,a,u):l.css(s,a)},e,i,arguments.length>1)}});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;f<g;f++)if(a=u[f].call(s,i,e))return a}function vc(e,i,s){var a,u,f,g,b,y,T,A,L="width"in i||"height"in i,w=this,N={},$=e.style,ee=e.nodeType&&zn(e),G=ne.get(e,"fxshow");s.queue||(g=l._queueHooks(e,"fx"),g.unqueued==null&&(g.unqueued=0,b=g.empty.fire,g.empty.fire=function(){g.unqueued||b()}),g.unqueued++,w.always(function(){w.always(function(){g.unqueued--,l.queue(e,"fx").length||g.empty.fire()})}));for(a in i)if(u=i[a],mc.test(u)){if(delete i[a],f=f||u==="toggle",u===(ee?"hide":"show"))if(u==="show"&&G&&G[a]!==void 0)ee=!0;else continue;N[a]=G&&G[a]||l.style(e,a)}if(y=!l.isEmptyObject(i),!(!y&&l.isEmptyObject(N))){L&&e.nodeType===1&&(s.overflow=[$.overflow,$.overflowX,$.overflowY],T=G&&G.display,T==null&&(T=ne.get(e,"display")),A=l.css(e,"display"),A==="none"&&(T?A=T:(jt([e],!0),T=e.style.display||T,A=l.css(e,"display"),jt([e]))),(A==="inline"||A==="inline-block"&&T!=null)&&l.css(e,"float")==="none"&&(y||(w.done(function(){$.display=T}),T==null&&(A=$.display,T=A==="none"?"":A)),$.display="inline-block")),s.overflow&&($.overflow="hidden",w.always(function(){$.overflow=s.overflow[0],$.overflowX=s.overflow[1],$.overflowY=s.overflow[2]})),y=!1;for(a in N)y||(G?"hidden"in G&&(ee=G.hidden):G=ne.set(e,"fxshow",{display:T}),f&&(G.hidden=!ee),ee&&jt([e],!0),w.done(function(){ee||jt([e]),ne.remove(e,"fxshow");for(a in N)l.style(e,a,N[a])})),y=Hs(ee?G[a]:0,a,w),a in G||(G[a]=y.start,ee&&(y.end=y.start,y.start=0))}}function _c(e,i){var s,a,u,f,g;for(s in e)if(a=Ui(s),u=i[a],f=e[s],Array.isArray(f)&&(u=f[1],f=e[s]=f[0]),s!==a&&(e[a]=f,delete e[s]),g=l.cssHooks[a],g&&"expand"in g){f=g.expand(f),delete e[a];for(s in f)s in e||(e[s]=f[s],i[s]=u)}else i[a]=u}function We(e,i,s){var a,u,f=0,g=We.prefilters.length,b=l.Deferred().always(function(){delete y.elem}),y=function(){if(u)return!1;for(var L=Bt||js(),w=Math.max(0,T.startTime+T.duration-L),N=1-(w/T.duration||0),$=0,ee=T.tweens.length;$<ee;$++)T.tweens[$].run(N);return b.notifyWith(e,[T,N,w]),N<1&&ee?w:(ee||b.notifyWith(e,[T,1,0]),b.resolveWith(e,[T]),!1)},T=b.promise({elem:e,props:l.extend({},i),opts:l.extend(!0,{specialEasing:{},easing:l.easing._default},s),originalProperties:i,originalOptions:s,startTime:Bt||js(),duration:s.duration,tweens:[],createTween:function(L,w){var N=l.Tween(e,T.opts,L,w,T.opts.specialEasing[L]||T.opts.easing);return T.tweens.push(N),N},stop:function(L){var w=0,N=L?T.tweens.length:0;if(u)return this;for(u=!0;w<N;w++)T.tweens[w].run(1);return L?(b.notifyWith(e,[T,1,0]),b.resolveWith(e,[T,L])):b.rejectWith(e,[T,L]),this}}),A=T.props;for(_c(A,T.opts.specialEasing);f<g;f++)if(a=We.prefilters[f].call(T,e,A,T.opts),a)return typeof a.stop=="function"&&(l._queueHooks(T.elem,T.opts.queue).stop=a.stop.bind(a)),a;return l.map(A,Hs,T),typeof T.opts.start=="function"&&T.opts.start.call(e,T),T.progress(T.opts.progress).done(T.opts.done,T.opts.complete).fail(T.opts.fail).always(T.opts.always),l.fx.timer(l.extend(y,{elem:e,anim:T,queue:T.opts.queue})),T}l.Animation=l.extend(We,{tweeners:{"*":[function(e,i){var s=this.createTween(e,i);return vs(s.elem,e,yn.exec(i),s),s}]},tweener:function(e,i){typeof e=="function"?(i=e,e=["*"]):e=e.match(Re);for(var s,a=0,u=e.length;a<u;a++)s=e[a],We.tweeners[s]=We.tweeners[s]||[],We.tweeners[s].unshift(i)},prefilters:[vc],prefilter:function(e,i){i?We.prefilters.unshift(e):We.prefilters.push(e)}}),l.speed=function(e,i,s){var a=e&&typeof e=="object"?l.extend({},e):{complete:s||i||typeof e=="function"&&e,duration:e,easing:s&&i||i&&typeof i!="function"&&i};return l.fx.off?a.duration=0:typeof a.duration!="number"&&(a.duration in l.fx.speeds?a.duration=l.fx.speeds[a.duration]:a.duration=l.fx.speeds._default),(a.queue==null||a.queue===!0)&&(a.queue="fx"),a.old=a.complete,a.complete=function(){typeof a.old=="function"&&a.old.call(this),a.queue&&l.dequeue(this,a.queue)},a},l.fn.extend({fadeTo:function(e,i,s,a){return this.filter(zn).css("opacity",0).show().end().animate({opacity:i},e,s,a)},animate:function(e,i,s,a){var u=l.isEmptyObject(e),f=l.speed(i,s,a),g=function(){var b=We(this,l.extend({},e),f);(u||ne.get(this,"finish"))&&b.stop(!0)};return g.finish=g,u||f.queue===!1?this.each(g):this.queue(f.queue,g)},stop:function(e,i,s){var a=function(u){var f=u.stop;delete u.stop,f(s)};return typeof e!="string"&&(s=i,i=e,e=void 0),i&&this.queue(e||"fx",[]),this.each(function(){var u=!0,f=e!=null&&e+"queueHooks",g=l.timers,b=ne.get(this);if(f)b[f]&&b[f].stop&&a(b[f]);else for(f in b)b[f]&&b[f].stop&&yc.test(f)&&a(b[f]);for(f=g.length;f--;)g[f].elem===this&&(e==null||g[f].queue===e)&&(g[f].anim.stop(s),u=!1,g.splice(f,1));(u||!s)&&l.dequeue(this,e)})},finish:function(e){return e!==!1&&(e=e||"fx"),this.each(function(){var i,s=ne.get(this),a=s[e+"queue"],u=s[e+"queueHooks"],f=l.timers,g=a?a.length:0;for(s.finish=!0,l.queue(this,e,[]),u&&u.stop&&u.stop.call(this,!0),i=f.length;i--;)f[i].elem===this&&f[i].queue===e&&(f[i].anim.stop(!0),f.splice(i,1));for(i=0;i<g;i++)a[i]&&a[i].finish&&a[i].finish.call(this);delete s.finish})}}),l.each(["toggle","show","hide"],function(e,i){var s=l.fn[i];l.fn[i]=function(a,u,f){return a==null||typeof a=="boolean"?s.apply(this,arguments):this.animate(Jn(i,!0),a,u,f)}}),l.each({slideDown:Jn("show"),slideUp:Jn("hide"),slideToggle:Jn("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(e,i){l.fn[e]=function(s,a,u){return this.animate(i,s,a,u)}}),l.timers=[],l.fx.tick=function(){var e,i=0,s=l.timers;for(Bt=Date.now();i<s.length;i++)e=s[i],!e()&&s[i]===e&&s.splice(i--,1);s.length||l.fx.stop(),Bt=void 0},l.fx.timer=function(e){l.timers.push(e),l.fx.start()},l.fx.start=function(){Qn||(Qn=!0,Yi())},l.fx.stop=function(){Qn=null},l.fx.speeds={slow:600,fast:200,_default:400},l.fn.delay=function(e,i){return e=l.fx&&l.fx.speeds[e]||e,i=i||"fx",this.queue(i,function(s,a){var u=n.setTimeout(s,e);a.stop=function(){n.clearTimeout(u)}})};var bc=/^(?:input|select|textarea|button)$/i,Ec=/^(?:a|area)$/i;l.fn.extend({prop:function(e,i){return Be(this,l.prop,e,i,arguments.length>1)},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<i.length;f++)u=i[f],s.indexOf(" "+u+" ")<0&&(s+=u+" ");g=Et(s),a!==g&&this.setAttribute("class",g)}}):this)},removeClass:function(e){var i,s,a,u,f,g;return typeof e=="function"?this.each(function(b){l(this).removeClass(e.call(this,b,qt(this)))}):arguments.length?(i=Gi(e),i.length?this.each(function(){if(a=qt(this),s=this.nodeType===1&&" "+Et(a)+" ",s){for(f=0;f<i.length;f++)for(u=i[f];s.indexOf(" "+u+" ")>-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<s.length;u++)a=s[u],f.hasClass(a)?f.removeClass(a):f.addClass(a)}):this)},hasClass:function(e){var i,s,a=0;for(i=" "+e+" ";s=this[a++];)if(s.nodeType===1&&(" "+Et(qt(s))+" ").indexOf(i)>-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<y;a++)if(s=u[a],s.selected&&!s.disabled&&(!s.parentNode.disabled||!F(s.parentNode,"optgroup"))){if(i=l(s).val(),g)return i;b.push(i)}return b},set:function(e,i){for(var s,a,u=e.options,f=l.makeArray(i),g=u.length;g--;)a=u[g],(a.selected=l.inArray(l(a).val(),f)>-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("<script>").attr(e.scriptAttrs||{}).prop({charset:e.scriptCharset,src:e.url}).on("load error",s=function(f){i.remove(),s=null,f&&u(f.type==="error"?404:200,f.type)}),P.head.appendChild(i[0])},abort:function(){s&&s()}}}});var Ys=[],tr=/(=)\?(?=&|$)|\?\?/;l.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=Ys.pop()||l.expando+"_"+Bs.guid++;return this[e]=!0,e}}),l.ajaxPrefilter("jsonp",function(e,i,s){var a,u,f,g=e.jsonp!==!1&&(tr.test(e.url)?"url":typeof e.data=="string"&&(e.contentType||"").indexOf("application/x-www-form-urlencoded")===0&&tr.test(e.data)&&"data");return a=e.jsonpCallback=typeof e.jsonpCallback=="function"?e.jsonpCallback():e.jsonpCallback,g?e[g]=e[g].replace(tr,"$1"+a):e.jsonp!==!1&&(e.url+=(Xi.test(e.url)?"&":"?")+e.jsonp+"="+a),e.converters["script json"]=function(){return f||l.error(a+" was not called"),f[0]},e.dataTypes[0]="json",u=n[a],n[a]=function(){f=arguments},s.always(function(){u===void 0?l(n).removeProp(a):n[a]=u,e[a]&&(e.jsonpCallback=i.jsonpCallback,Ys.push(a)),f&&typeof u=="function"&&u(f[0]),f=u=void 0}),"script"}),l.ajaxPrefilter(function(e,i){typeof e.data!="string"&&!l.isPlainObject(e.data)&&!Array.isArray(e.data)&&!("processData"in i)&&(e.processData=!1),e.data instanceof n.FormData&&(e.contentType=!1)}),l.parseHTML=function(e,i,s){if(typeof e!="string"&&!hs(e+""))return[];typeof i=="boolean"&&(s=i,i=!1);var a,u;return i||(i=new n.DOMParser().parseFromString("","text/html")),a=ds.exec(e),u=!s&&[],a?[i.createElement(a[1])]:(a=Ts([e],i,u),u&&u.length&&l(u).remove(),l.merge([],a.childNodes))},l.fn.load=function(e,i,s){var a,u,f,g=this,b=e.indexOf(" ");return b>-1&&(a=Et(e.slice(b)),e=e.slice(0,b)),typeof i=="function"?(s=i,i=void 0):i&&typeof i=="object"&&(u="POST"),g.length>0&&l.ajax({url:e,type:u||"GET",dataType:"html",data:i}).done(function(y){f=arguments,g.html(a?l("<div>").append(l.parseHTML(y)).find(a):y)}).always(s&&function(y,T){g.each(function(){s.apply(this,f||[y.responseText,T,y])})}),this},l.expr.pseudos.animated=function(e){return l.grep(l.timers,function(i){return e===i.elem}).length},l.offset={setOffset:function(e,i,s){var a,u,f,g,b,y,T,A=l.css(e,"position"),L=l(e),w={};A==="static"&&(e.style.position="relative"),b=L.offset(),f=l.css(e,"top"),y=l.css(e,"left"),T=(A==="absolute"||A==="fixed")&&(f+y).indexOf("auto")>-1,T?(a=L.position(),g=a.top,u=a.left):(g=parseFloat(f)||0,u=parseFloat(y)||0),typeof i=="function"&&(i=i.call(e,s,l.extend({},b))),i.top!=null&&(w.top=i.top-b.top+g),i.left!=null&&(w.left=i.left-b.left+u),"using"in i?i.using.call(e,w):L.css(w)}},l.fn.extend({offset:function(e){if(arguments.length)return e===void 0?this:this.each(function(u){l.offset.setOffset(this,e,u)});var i,s,a=this[0];if(a)return a.getClientRects().length?(i=a.getBoundingClientRect(),s=a.ownerDocument.defaultView,{top:i.top+s.pageYOffset,left:i.left+s.pageXOffset}):{top:0,left:0}},position:function(){if(this[0]){var e,i,s,a=this[0],u={top:0,left:0};if(l.css(a,"position")==="fixed")i=a.getBoundingClientRect();else{for(i=this.offset(),s=a.ownerDocument,e=a.offsetParent||s.documentElement;e&&e!==s.documentElement&&l.css(e,"position")==="static";)e=e.offsetParent||s.documentElement;e&&e!==a&&e.nodeType===1&&l.css(e,"position")!=="static"&&(u=l(e).offset(),u.top+=l.css(e,"borderTopWidth",!0),u.left+=l.css(e,"borderLeftWidth",!0))}return{top:i.top-u.top-l.css(a,"marginTop",!0),left:i.left-u.left-l.css(a,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var e=this.offsetParent;e&&l.css(e,"position")==="static";)e=e.offsetParent;return e||te})}}),l.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(e,i){var s=i==="pageYOffset";l.fn[e]=function(a){return Be(this,function(u,f,g){var b;if(S(u)?b=u:u.nodeType===9&&(b=u.defaultView),g===void 0)return b?b[i]:u[f];b?b.scrollTo(s?b.pageXOffset:g,s?g:b.pageYOffset):u[f]=g},e,a,arguments.length)}}),l.each({Height:"height",Width:"width"},function(e,i){l.each({padding:"inner"+e,content:i,"":"outer"+e},function(s,a){l.fn[a]=function(u,f){var g=arguments.length&&(s||typeof u!="boolean"),b=s||(u===!0||f===!0?"margin":"border");return Be(this,function(y,T,A){var L;return S(y)?a.indexOf("outer")===0?y["inner"+e]:y.document.documentElement["client"+e]:y.nodeType===9?(L=y.documentElement,Math.max(y.body["scroll"+e],L["scroll"+e],y.body["offset"+e],L["offset"+e],L["client"+e])):A===void 0?l.css(y,T,b):l.style(y,T,A,b)},i,g?u:void 0,g)}})}),l.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,i){l.fn[i]=function(s){return this.on(i,s)}}),l.fn.extend({bind:function(e,i,s){return this.on(e,null,i,s)},unbind:function(e,i){return this.off(e,null,i)},delegate:function(e,i,s,a){return this.on(i,e,s,a)},undelegate:function(e,i,s){return arguments.length===1?this.off(e,"**"):this.off(i,e||"**",s)},hover:function(e,i){return this.on("mouseenter",e).on("mouseleave",i||e)}}),l.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(e,i){l.fn[i]=function(s,a){return arguments.length>0?this.on(i,null,s,a):this.trigger(i)}}),l.proxy=function(e,i){var s,a,u;if(typeof i=="string"&&(s=e[i],i=e,e=s),typeof e=="function")return a=c.call(arguments,2),u=function(){return e.apply(i||this,a.concat(c.call(arguments)))},u.guid=e.guid=e.guid||l.guid++,u},l.holdReady=function(e){e?l.readyWait++:l.ready(!0)},l.expr[":"]=l.expr.filters=l.expr.pseudos,typeof define=="function"&&define.amd&&define("jquery",[],function(){return l});var Ic=n.jQuery,Mc=n.$;return l.noConflict=function(e){return n.$===l&&(n.$=Mc),e&&n.jQuery===l&&(n.jQuery=Ic),l},l}var Ct=um(window);function kl(n){return n&&n.__esModule&&Object.prototype.hasOwnProperty.call(n,"default")?n.default:n}var Tr={exports:{}},wr={exports:{}},pi={exports:{}},fm=pi.exports,Go;function dm(){return Go||(Go=1,(function(n){(function(t,r){n.exports?n.exports=r():t.EvEmitter=r()})(typeof window<"u"?window:fm,function(){function t(){}let r=t.prototype;return r.on=function(o,c){if(!o||!c)return this;let d=this._events=this._events||{},h=d[o]=d[o]||[];return h.includes(c)||h.push(c),this},r.once=function(o,c){if(!o||!c)return this;this.on(o,c);let d=this._onceEvents=this._onceEvents||{},h=d[o]=d[o]||{};return h[c]=!0,this},r.off=function(o,c){let d=this._events&&this._events[o];if(!d||!d.length)return this;let h=d.indexOf(c);return h!=-1&&d.splice(h,1),this},r.emitEvent=function(o,c){let d=this._events&&this._events[o];if(!d||!d.length)return this;d=d.slice(0),c=c||[];let h=this._onceEvents&&this._onceEvents[o];for(let p of d)h&&h[p]&&(this.off(o,p),delete h[p]),p.apply(this,c);return this},r.allOff=function(){return delete this._events,delete this._onceEvents,this},t})})(pi)),pi.exports}var gi={exports:{}},hm=gi.exports,Xo;function Mn(){return Xo||(Xo=1,(function(n){(function(t,r){n.exports?n.exports=r(t):t.fizzyUIUtils=r(t)})(hm,function(r){let o={};o.extend=function(d,h){return Object.assign(d,h)},o.modulo=function(d,h){return(d%h+h)%h},o.makeArray=function(d){return Array.isArray(d)?d:d==null?[]:typeof d=="object"&&typeof d.length=="number"?[...d]:[d]},o.removeFrom=function(d,h){let p=d.indexOf(h);p!=-1&&d.splice(p,1)},o.getParent=function(d,h){for(;d.parentNode&&d!=document.body;)if(d=d.parentNode,d.matches(h))return d},o.getQueryElement=function(d){return typeof d=="string"?document.querySelector(d):d},o.handleEvent=function(d){let h="on"+d.type;this[h]&&this[h](d)},o.filterFindElements=function(d,h){return d=o.makeArray(d),d.filter(p=>p instanceof HTMLElement).reduce((p,m)=>{if(!h)return p.push(m),p;m.matches(h)&&p.push(m);let _=m.querySelectorAll(h);return p=p.concat(..._),p},[])},o.debounceMethod=function(d,h,p){p=p||100;let m=d.prototype[h],_=h+"Timeout";d.prototype[h]=function(){clearTimeout(this[_]);let v=arguments;this[_]=setTimeout(()=>{m.apply(this,v),delete this[_]},p)}},o.docReady=function(d){let h=document.readyState;h=="complete"||h=="interactive"?setTimeout(d):document.addEventListener("DOMContentLoaded",d)},o.toDashed=function(d){return d.replace(/(.)([A-Z])/g,function(h,p,m){return p+"-"+m}).toLowerCase()};let c=r.console;return o.htmlInit=function(d,h){o.docReady(function(){let m="data-"+o.toDashed(h),_=document.querySelectorAll(`[${m}]`),v=r.jQuery;[..._].forEach(C=>{let R=C.getAttribute(m),I;try{I=R&&JSON.parse(R)}catch(S){c&&c.error(`Error parsing ${m} on ${C.className}: ${S}`);return}let E=new d(C,I);v&&v.data(C,h,E)})})},o})})(gi)),gi.exports}var Qo;function dn(){return Qo||(Qo=1,(function(n){(function(t,r){n.exports?n.exports=r(t,dm(),Mn()):t.InfiniteScroll=r(t,t.EvEmitter,t.fizzyUIUtils)})(window,function(r,o,c){let d=r.jQuery,h={};function p(E,S){let x=c.getQueryElement(E);if(!x){console.error("Bad element for InfiniteScroll: "+(x||E));return}if(E=x,E.infiniteScrollGUID){let P=h[E.infiniteScrollGUID];return P.option(S),P}this.element=E,this.options={...p.defaults},this.option(S),d&&(this.$element=d(this.element)),this.create()}p.defaults={},p.create={},p.destroy={};let m=p.prototype;Object.assign(m,o.prototype);let _=0;m.create=function(){let E=this.guid=++_;if(this.element.infiniteScrollGUID=E,h[E]=this,this.pageIndex=1,this.loadCount=0,this.updateGetPath(),!(this.getPath&&this.getPath())){console.error("Disabling InfiniteScroll");return}this.updateGetAbsolutePath(),this.log("initialized",[this.element.className]),this.callOnInit();for(let x in p.create)p.create[x].call(this)},m.option=function(E){Object.assign(this.options,E)},m.callOnInit=function(){let E=this.options.onInit;E&&E.call(this,this)},m.dispatchEvent=function(E,S,x){this.log(E,x);let P=S?[S].concat(x):x;if(this.emitEvent(E,P),!d||!this.$element)return;E+=".infiniteScroll";let V=E;if(S){let U=d.Event(S);U.type=E,V=U}this.$element.trigger(V,x)};let v={initialized:E=>`on ${E}`,request:E=>`URL: ${E}`,load:(E,S)=>`${E.title||""}. URL: ${S}`,error:(E,S)=>`${E}. URL: ${S}`,append:(E,S,x)=>`${x.length} items. URL: ${S}`,last:(E,S)=>`URL: ${S}`,history:(E,S)=>`URL: ${S}`,pageIndex:function(E,S){return`current page determined to be: ${E} from ${S}`}};m.log=function(E,S){if(!this.options.debug)return;let x=`[InfiniteScroll] ${E}`,P=v[E];P&&(x+=". "+P.apply(this,S)),console.log(x)},m.updateMeasurements=function(){this.windowHeight=r.innerHeight;let E=this.element.getBoundingClientRect();this.top=E.top+r.scrollY},m.updateScroller=function(){let E=this.options.elementScroll;if(!E){this.scroller=r;return}if(this.scroller=E===!0?this.element:c.getQueryElement(E),!this.scroller)throw new Error(`Unable to find elementScroll: ${E}`)},m.updateGetPath=function(){let E=this.options.path;if(!E){console.error(`InfiniteScroll path option required. Set as: ${E}`);return}let S=typeof E;if(S=="function"){this.getPath=E;return}if(S=="string"&&E.match("{{#}}")){this.updateGetPathTemplate(E);return}this.updateGetPathSelector(E)},m.updateGetPathTemplate=function(E){this.getPath=()=>{let V=this.pageIndex+1;return E.replace("{{#}}",V)};let S=E.replace(/(\\\?|\?)/,"\\?").replace("{{#}}","(\\d\\d?\\d?)"),x=new RegExp(S),P=location.href.match(x);P&&(this.pageIndex=parseInt(P[1],10),this.log("pageIndex",[this.pageIndex,"template string"]))};let C=[/^(.*?\/?page\/?)(\d\d?\d?)(.*?$)/,/^(.*?\/?\?page=)(\d\d?\d?)(.*?$)/,/(.*?)(\d\d?\d?)(?!.*\d)(.*?$)/],R=p.getPathParts=function(E){if(E)for(let S of C){let x=E.match(S);if(x){let[,P,V,U]=x;return{begin:P,index:V,end:U}}}};m.updateGetPathSelector=function(E){let S=document.querySelector(E);if(!S){console.error(`Bad InfiniteScroll path option. Next link not found: ${E}`);return}let x=S.getAttribute("href"),P=R(x);if(!P){console.error(`InfiniteScroll unable to parse next link href: ${x}`);return}let{begin:V,index:U,end:B}=P;this.isPathSelector=!0,this.getPath=()=>V+(this.pageIndex+1)+B,this.pageIndex=parseInt(U,10)-1,this.log("pageIndex",[this.pageIndex,"next link"])},m.updateGetAbsolutePath=function(){let E=this.getPath();if(E.match(/^http/)||E.match(/^\//)){this.getAbsolutePath=this.getPath;return}let{pathname:x}=location,P=E.match(/^\?/),V=x.substring(0,x.lastIndexOf("/")),U=P?x:V+"/";this.getAbsolutePath=()=>U+this.getPath()},p.create.hideNav=function(){let E=c.getQueryElement(this.options.hideNav);E&&(E.style.display="none",this.nav=E)},p.destroy.hideNav=function(){this.nav&&(this.nav.style.display="")},m.destroy=function(){this.allOff();for(let E in p.destroy)p.destroy[E].call(this);delete this.element.infiniteScrollGUID,delete h[this.guid],d&&this.$element&&d.removeData(this.element,"infiniteScroll")},p.throttle=function(E,S){S=S||200;let x,P;return function(){let V=+new Date,U=arguments,B=()=>{x=V,E.apply(this,U)};x&&V<x+S?(clearTimeout(P),P=setTimeout(B,S)):B()}},p.data=function(E){E=c.getQueryElement(E);let S=E&&E.infiniteScrollGUID;return S&&h[S]},p.setJQuery=function(E){d=E},c.htmlInit(p,"infinite-scroll"),m._init=function(){};let{jQueryBridget:I}=r;return d&&I&&I("infiniteScroll",p,d),p})})(wr)),wr.exports}var Sr={exports:{}},Jo;function pm(){return Jo||(Jo=1,(function(n){(function(t,r){n.exports?n.exports=r(t,dn()):r(t,t.InfiniteScroll)})(window,function(r,o){let c=o.prototype;Object.assign(o.defaults,{loadOnScroll:!0,checkLastPage:!0,responseBody:"text",domParseResponse:!0}),o.create.pageLoad=function(){this.canLoad=!0,this.on("scrollThreshold",this.onScrollThresholdLoad),this.on("load",this.checkLastPage),this.options.outlayer&&this.on("append",this.onAppendOutlayer)},c.onScrollThresholdLoad=function(){this.options.loadOnScroll&&this.loadNextPage()};let d=new DOMParser;c.loadNextPage=function(){if(this.isLoading||!this.canLoad)return;let{responseBody:m,domParseResponse:_,fetchOptions:v}=this.options,C=this.getAbsolutePath();this.isLoading=!0,typeof v=="function"&&(v=v());let R=fetch(C,v).then(I=>{if(!I.ok){let E=new Error(I.statusText);return this.onPageError(E,C,I),{response:I}}return I[m]().then(E=>(m=="text"&&_&&(E=d.parseFromString(E,"text/html")),I.status==204?(this.lastPageReached(E,C),{body:E,response:I}):this.onPageLoad(E,C,I)))}).catch(I=>{this.onPageError(I,C)});return this.dispatchEvent("request",null,[C,R]),R},c.onPageLoad=function(m,_,v){return this.options.append||(this.isLoading=!1),this.pageIndex++,this.loadCount++,this.dispatchEvent("load",null,[m,_,v]),this.appendNextPage(m,_,v)},c.appendNextPage=function(m,_,v){let{append:C,responseBody:R,domParseResponse:I}=this.options;if(!(R=="text"&&I)||!C)return{body:m,response:v};let S=m.querySelectorAll(C),x={body:m,response:v,items:S};if(!S||!S.length)return this.lastPageReached(m,_),x;let P=h(S),V=()=>(this.appendItems(S,P),this.isLoading=!1,this.dispatchEvent("append",null,[m,_,S,v]),x);return this.options.outlayer?this.appendOutlayerItems(P,V):V()},c.appendItems=function(m,_){!m||!m.length||(_=_||h(m),p(_),this.element.appendChild(_))};function h(m){let _=document.createDocumentFragment();return m&&_.append(...m),_}function p(m){let _=m.querySelectorAll("script");for(let v of _){let C=document.createElement("script"),R=v.attributes;for(let I of R)C.setAttribute(I.name,I.value);C.innerHTML=v.innerHTML,v.parentNode.replaceChild(C,v)}}return c.appendOutlayerItems=function(m,_){let v=o.imagesLoaded||r.imagesLoaded;if(!v){console.error("[InfiniteScroll] imagesLoaded required for outlayer option"),this.isLoading=!1;return}return new Promise(function(C){v(m,function(){let R=_();C(R)})})},c.onAppendOutlayer=function(m,_,v){this.options.outlayer.appended(v)},c.checkLastPage=function(m,_){let{checkLastPage:v,path:C}=this.options;if(!v)return;if(typeof C=="function"&&!this.getPath()){this.lastPageReached(m,_);return}let R;if(typeof v=="string"?R=v:this.isPathSelector&&(R=C),!R||!m.querySelector)return;m.querySelector(R)||this.lastPageReached(m,_)},c.lastPageReached=function(m,_){this.canLoad=!1,this.dispatchEvent("last",null,[m,_])},c.onPageError=function(m,_,v){return this.isLoading=!1,this.canLoad=!1,this.dispatchEvent("error",null,[m,_,v]),m},o.create.prefill=function(){if(!this.options.prefill)return;let m=this.options.append;if(!m){console.error(`append option required for prefill. Set as :${m}`);return}this.updateMeasurements(),this.updateScroller(),this.isPrefilling=!0,this.on("append",this.prefill),this.once("error",this.stopPrefill),this.once("last",this.stopPrefill),this.prefill()},c.prefill=function(){let m=this.getPrefillDistance();this.isPrefilling=m>=0,this.isPrefilling?(this.log("prefill"),this.loadNextPage()):this.stopPrefill()},c.getPrefillDistance=function(){return this.options.elementScroll?this.scroller.clientHeight-this.scroller.scrollHeight:this.windowHeight-this.element.clientHeight},c.stopPrefill=function(){this.log("stopPrefill"),this.off("append",this.prefill)},o})})(Sr)),Sr.exports}var Ar={exports:{}},Zo;function gm(){return Zo||(Zo=1,(function(n){(function(t,r){n.exports?n.exports=r(t,dn(),Mn()):r(t,t.InfiniteScroll,t.fizzyUIUtils)})(window,function(r,o,c){let d=o.prototype;return Object.assign(o.defaults,{scrollThreshold:400}),o.create.scrollWatch=function(){this.pageScrollHandler=this.onPageScroll.bind(this),this.resizeHandler=this.onResize.bind(this);let h=this.options.scrollThreshold;(h||h===0)&&this.enableScrollWatch()},o.destroy.scrollWatch=function(){this.disableScrollWatch()},d.enableScrollWatch=function(){this.isScrollWatching||(this.isScrollWatching=!0,this.updateMeasurements(),this.updateScroller(),this.on("last",this.disableScrollWatch),this.bindScrollWatchEvents(!0))},d.disableScrollWatch=function(){this.isScrollWatching&&(this.bindScrollWatchEvents(!1),delete this.isScrollWatching)},d.bindScrollWatchEvents=function(h){let p=h?"addEventListener":"removeEventListener";this.scroller[p]("scroll",this.pageScrollHandler),r[p]("resize",this.resizeHandler)},d.onPageScroll=o.throttle(function(){this.getBottomDistance()<=this.options.scrollThreshold&&this.dispatchEvent("scrollThreshold")}),d.getBottomDistance=function(){let h,p;return this.options.elementScroll?(h=this.scroller.scrollHeight,p=this.scroller.scrollTop+this.scroller.clientHeight):(h=this.top+this.element.clientHeight,p=r.scrollY+this.windowHeight),h-p},d.onResize=function(){this.updateMeasurements()},c.debounceMethod(o,"onResize",150),o})})(Ar)),Ar.exports}var xr={exports:{}},ea;function mm(){return ea||(ea=1,(function(n){(function(t,r){n.exports?n.exports=r(t,dn(),Mn()):r(t,t.InfiniteScroll,t.fizzyUIUtils)})(window,function(r,o,c){let d=o.prototype;Object.assign(o.defaults,{history:"replace"});let h=document.createElement("a");return o.create.history=function(){if(!this.options.history)return;if(h.href=this.getAbsolutePath(),!((h.origin||h.protocol+"//"+h.host)==location.origin)){console.error(`[InfiniteScroll] cannot set history with different origin: ${h.origin} on ${location.origin} . History behavior disabled.`);return}this.options.append?this.createHistoryAppend():this.createHistoryPageLoad()},d.createHistoryAppend=function(){this.updateMeasurements(),this.updateScroller(),this.scrollPages=[{top:0,path:location.href,title:document.title}],this.scrollPage=this.scrollPages[0],this.scrollHistoryHandler=this.onScrollHistory.bind(this),this.unloadHandler=this.onUnload.bind(this),this.scroller.addEventListener("scroll",this.scrollHistoryHandler),this.on("append",this.onAppendHistory),this.bindHistoryAppendEvents(!0)},d.bindHistoryAppendEvents=function(p){let m=p?"addEventListener":"removeEventListener";this.scroller[m]("scroll",this.scrollHistoryHandler),r[m]("unload",this.unloadHandler)},d.createHistoryPageLoad=function(){this.on("load",this.onPageLoadHistory)},o.destroy.history=d.destroyHistory=function(){this.options.history&&this.options.append&&this.bindHistoryAppendEvents(!1)},d.onAppendHistory=function(p,m,_){if(!_||!_.length)return;let v=_[0],C=this.getElementScrollY(v);h.href=m,this.scrollPages.push({top:C,path:h.href,title:p.title})},d.getElementScrollY=function(p){return this.options.elementScroll?p.offsetTop-this.top:p.getBoundingClientRect().top+r.scrollY},d.onScrollHistory=function(){let p=this.getClosestScrollPage();p!=this.scrollPage&&(this.scrollPage=p,this.setHistory(p.title,p.path))},c.debounceMethod(o,"onScrollHistory",150),d.getClosestScrollPage=function(){let p;this.options.elementScroll?p=this.scroller.scrollTop+this.scroller.clientHeight/2:p=r.scrollY+this.windowHeight/2;let m;for(let _ of this.scrollPages){if(_.top>=p)break;m=_}return m},d.setHistory=function(p,m){let _=this.options.history;_&&history[_+"State"]&&(history[_+"State"](null,p,m),this.options.historyTitle&&(document.title=p),this.dispatchEvent("history",null,[p,m]))},d.onUnload=function(){if(this.scrollPage.top===0)return;let p=r.scrollY-this.scrollPage.top+this.top;this.destroyHistory(),scrollTo(0,p)},d.onPageLoadHistory=function(p,m){this.setHistory(p.title,m)},o})})(xr)),xr.exports}var Cr={exports:{}},ta;function ym(){return ta||(ta=1,(function(n){(function(t,r){n.exports?n.exports=r(t,dn(),Mn()):r(t,t.InfiniteScroll,t.fizzyUIUtils)})(window,function(r,o,c){class d{constructor(p,m){this.element=p,this.infScroll=m,this.clickHandler=this.onClick.bind(this),this.element.addEventListener("click",this.clickHandler),m.on("request",this.disable.bind(this)),m.on("load",this.enable.bind(this)),m.on("error",this.hide.bind(this)),m.on("last",this.hide.bind(this))}onClick(p){p.preventDefault(),this.infScroll.loadNextPage()}enable(){this.element.removeAttribute("disabled")}disable(){this.element.disabled="disabled"}hide(){this.element.style.display="none"}destroy(){this.element.removeEventListener("click",this.clickHandler)}}return o.create.button=function(){let h=c.getQueryElement(this.options.button);h&&(this.button=new d(h,this))},o.destroy.button=function(){this.button&&this.button.destroy()},o.Button=d,o})})(Cr)),Cr.exports}var Or={exports:{}},na;function vm(){return na||(na=1,(function(n){(function(t,r){n.exports?n.exports=r(t,dn(),Mn()):r(t,t.InfiniteScroll,t.fizzyUIUtils)})(window,function(r,o,c){let d=o.prototype;o.create.status=function(){let _=c.getQueryElement(this.options.status);_&&(this.statusElement=_,this.statusEventElements={request:_.querySelector(".infinite-scroll-request"),error:_.querySelector(".infinite-scroll-error"),last:_.querySelector(".infinite-scroll-last")},this.on("request",this.showRequestStatus),this.on("error",this.showErrorStatus),this.on("last",this.showLastStatus),this.bindHideStatus("on"))},d.bindHideStatus=function(_){let v=this.options.append?"append":"load";this[_](v,this.hideAllStatus)},d.showRequestStatus=function(){this.showStatus("request")},d.showErrorStatus=function(){this.showStatus("error")},d.showLastStatus=function(){this.showStatus("last"),this.bindHideStatus("off")},d.showStatus=function(_){p(this.statusElement),this.hideStatusEventElements();let v=this.statusEventElements[_];p(v)},d.hideAllStatus=function(){h(this.statusElement),this.hideStatusEventElements()},d.hideStatusEventElements=function(){for(let _ in this.statusEventElements){let v=this.statusEventElements[_];h(v)}};function h(_){m(_,"none")}function p(_){m(_,"block")}function m(_,v){_&&(_.style.display=v)}return o})})(Or)),Or.exports}var ia;function _m(){return ia||(ia=1,(function(n){(function(t,r){n.exports&&(n.exports=r(dn(),pm(),gm(),mm(),ym(),vm()))})(window,function(r){return r})})(Tr)),Tr.exports}var bm=_m();const Em=kl(bm);var mi={exports:{}};var Tm=mi.exports,ra;function wm(){return ra||(ra=1,(function(n,t){(function(o,c){n.exports=c()})(Tm,function(){return(function(){var r={686:(function(d,h,p){p.d(h,{default:function(){return ce}});var m=p(279),_=p.n(m),v=p(370),C=p.n(v),R=p(817),I=p.n(R);function E(q){try{return document.execCommand(q)}catch{return!1}}var S=function(k){var H=I()(k);return E("cut"),H},x=S;function P(q){var k=document.documentElement.getAttribute("dir")==="rtl",H=document.createElement("textarea");H.style.fontSize="12pt",H.style.border="0",H.style.padding="0",H.style.margin="0",H.style.position="absolute",H.style[k?"right":"left"]="-9999px";var W=window.pageYOffset||document.documentElement.scrollTop;return H.style.top="".concat(W,"px"),H.setAttribute("readonly",""),H.value=q,H}var V=function(k,H){var W=P(k);H.container.appendChild(W);var Y=I()(W);return E("copy"),W.remove(),Y},U=function(k){var H=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{container:document.body},W="";return typeof k=="string"?W=V(k,H):k instanceof HTMLInputElement&&!["text","search","url","tel","password"].includes(k?.type)?W=V(k.value,H):(W=I()(k),E("copy")),W},B=U;function X(q){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?X=function(H){return typeof H}:X=function(H){return H&&typeof Symbol=="function"&&H.constructor===Symbol&&H!==Symbol.prototype?"symbol":typeof H},X(q)}var l=function(){var k=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},H=k.action,W=H===void 0?"copy":H,Y=k.container,Z=k.target,he=k.text;if(W!=="copy"&&W!=="cut")throw new Error('Invalid "action" value, use either "copy" or "cut"');if(Z!==void 0)if(Z&&X(Z)==="object"&&Z.nodeType===1){if(W==="copy"&&Z.hasAttribute("disabled"))throw new Error('Invalid "target" attribute. Please use "readonly" instead of "disabled" attribute');if(W==="cut"&&(Z.hasAttribute("readonly")||Z.hasAttribute("disabled")))throw new Error(`Invalid "target" attribute. You can't cut text from elements with "readonly" or "disabled" attributes`)}else throw new Error('Invalid "target" value, use a valid Element');if(he)return B(he,{container:Y});if(Z)return W==="cut"?x(Z):B(Z,{container:Y})},F=l;function ae(q){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?ae=function(H){return typeof H}:ae=function(H){return H&&typeof Symbol=="function"&&H.constructor===Symbol&&H!==Symbol.prototype?"symbol":typeof H},ae(q)}function z(q,k){if(!(q instanceof k))throw new TypeError("Cannot call a class as a function")}function Q(q,k){for(var H=0;H<k.length;H++){var W=k[H];W.enumerable=W.enumerable||!1,W.configurable=!0,"value"in W&&(W.writable=!0),Object.defineProperty(q,W.key,W)}}function fe(q,k,H){return k&&Q(q.prototype,k),H&&Q(q,H),q}function de(q,k){if(typeof k!="function"&&k!==null)throw new TypeError("Super expression must either be null or a function");q.prototype=Object.create(k&&k.prototype,{constructor:{value:q,writable:!0,configurable:!0}}),k&&D(q,k)}function D(q,k){return D=Object.setPrototypeOf||function(W,Y){return W.__proto__=Y,W},D(q,k)}function j(q){var k=te();return function(){var W=oe(q),Y;if(k){var Z=oe(this).constructor;Y=Reflect.construct(W,arguments,Z)}else Y=W.apply(this,arguments);return re(this,Y)}}function re(q,k){return k&&(ae(k)==="object"||typeof k=="function")?k:J(q)}function J(q){if(q===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return q}function te(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}function oe(q){return oe=Object.setPrototypeOf?Object.getPrototypeOf:function(H){return H.__proto__||Object.getPrototypeOf(H)},oe(q)}function me(q,k){var H="data-clipboard-".concat(q);if(k.hasAttribute(H))return k.getAttribute(H)}var se=(function(q){de(H,q);var k=j(H);function H(W,Y){var Z;return z(this,H),Z=k.call(this),Z.resolveOptions(Y),Z.listenClick(W),Z}return fe(H,[{key:"resolveOptions",value:function(){var Y=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.action=typeof Y.action=="function"?Y.action:this.defaultAction,this.target=typeof Y.target=="function"?Y.target:this.defaultTarget,this.text=typeof Y.text=="function"?Y.text:this.defaultText,this.container=ae(Y.container)==="object"?Y.container:document.body}},{key:"listenClick",value:function(Y){var Z=this;this.listener=C()(Y,"click",function(he){return Z.onClick(he)})}},{key:"onClick",value:function(Y){var Z=Y.delegateTarget||Y.currentTarget,he=this.action(Z)||"copy",Ke=F({action:he,container:this.container,target:this.target(Z),text:this.text(Z)});this.emit(Ke?"success":"error",{action:he,text:Ke,trigger:Z,clearSelection:function(){Z&&Z.focus(),window.getSelection().removeAllRanges()}})}},{key:"defaultAction",value:function(Y){return me("action",Y)}},{key:"defaultTarget",value:function(Y){var Z=me("target",Y);if(Z)return document.querySelector(Z)}},{key:"defaultText",value:function(Y){return me("text",Y)}},{key:"destroy",value:function(){this.listener.destroy()}}],[{key:"copy",value:function(Y){var Z=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{container:document.body};return B(Y,Z)}},{key:"cut",value:function(Y){return x(Y)}},{key:"isSupported",value:function(){var Y=arguments.length>0&&arguments[0]!==void 0?arguments[0]:["copy","cut"],Z=typeof Y=="string"?[Y]:Y,he=!!document.queryCommandSupported;return Z.forEach(function(Ke){he=he&&!!document.queryCommandSupported(Ke)}),he}}]),H})(_()),ce=se}),828:(function(d){var h=9;if(typeof Element<"u"&&!Element.prototype.matches){var p=Element.prototype;p.matches=p.matchesSelector||p.mozMatchesSelector||p.msMatchesSelector||p.oMatchesSelector||p.webkitMatchesSelector}function m(_,v){for(;_&&_.nodeType!==h;){if(typeof _.matches=="function"&&_.matches(v))return _;_=_.parentNode}}d.exports=m}),438:(function(d,h,p){var m=p(828);function _(R,I,E,S,x){var P=C.apply(this,arguments);return R.addEventListener(E,P,x),{destroy:function(){R.removeEventListener(E,P,x)}}}function v(R,I,E,S,x){return typeof R.addEventListener=="function"?_.apply(null,arguments):typeof E=="function"?_.bind(null,document).apply(null,arguments):(typeof R=="string"&&(R=document.querySelectorAll(R)),Array.prototype.map.call(R,function(P){return _(P,I,E,S,x)}))}function C(R,I,E,S){return function(x){x.delegateTarget=m(x.target,I),x.delegateTarget&&S.call(R,x)}}d.exports=v}),879:(function(d,h){h.node=function(p){return p!==void 0&&p instanceof HTMLElement&&p.nodeType===1},h.nodeList=function(p){var m=Object.prototype.toString.call(p);return p!==void 0&&(m==="[object NodeList]"||m==="[object HTMLCollection]")&&"length"in p&&(p.length===0||h.node(p[0]))},h.string=function(p){return typeof p=="string"||p instanceof String},h.fn=function(p){var m=Object.prototype.toString.call(p);return m==="[object Function]"}}),370:(function(d,h,p){var m=p(879),_=p(438);function v(E,S,x){if(!E&&!S&&!x)throw new Error("Missing required arguments");if(!m.string(S))throw new TypeError("Second argument must be a String");if(!m.fn(x))throw new TypeError("Third argument must be a Function");if(m.node(E))return C(E,S,x);if(m.nodeList(E))return R(E,S,x);if(m.string(E))return I(E,S,x);throw new TypeError("First argument must be a String, HTMLElement, HTMLCollection, or NodeList")}function C(E,S,x){return E.addEventListener(S,x),{destroy:function(){E.removeEventListener(S,x)}}}function R(E,S,x){return Array.prototype.forEach.call(E,function(P){P.addEventListener(S,x)}),{destroy:function(){Array.prototype.forEach.call(E,function(P){P.removeEventListener(S,x)})}}}function I(E,S,x){return _(document.body,E,S,x)}d.exports=v}),817:(function(d){function h(p){var m;if(p.nodeName==="SELECT")p.focus(),m=p.value;else if(p.nodeName==="INPUT"||p.nodeName==="TEXTAREA"){var _=p.hasAttribute("readonly");_||p.setAttribute("readonly",""),p.select(),p.setSelectionRange(0,p.value.length),_||p.removeAttribute("readonly"),m=p.value}else{p.hasAttribute("contenteditable")&&p.focus();var v=window.getSelection(),C=document.createRange();C.selectNodeContents(p),v.removeAllRanges(),v.addRange(C),m=v.toString()}return m}d.exports=h}),279:(function(d){function h(){}h.prototype={on:function(p,m,_){var v=this.e||(this.e={});return(v[p]||(v[p]=[])).push({fn:m,ctx:_}),this},once:function(p,m,_){var v=this;function C(){v.off(p,C),m.apply(_,arguments)}return C._=m,this.on(p,C,_)},emit:function(p){var m=[].slice.call(arguments,1),_=((this.e||(this.e={}))[p]||[]).slice(),v=0,C=_.length;for(v;v<C;v++)_[v].fn.apply(_[v].ctx,m);return this},off:function(p,m){var _=this.e||(this.e={}),v=_[p],C=[];if(v&&m)for(var R=0,I=v.length;R<I;R++)v[R].fn!==m&&v[R].fn._!==m&&C.push(v[R]);return C.length?_[p]=C:delete _[p],this}},d.exports=h,d.exports.TinyEmitter=h})},o={};function c(d){if(o[d])return o[d].exports;var h=o[d]={exports:{}};return r[d](h,h.exports,c),h.exports}return(function(){c.n=function(d){var h=d&&d.__esModule?function(){return d.default}:function(){return d};return c.d(h,{a:h}),h}})(),(function(){c.d=function(d,h){for(var p in h)c.o(h,p)&&!c.o(d,p)&&Object.defineProperty(d,p,{enumerable:!0,get:h[p]})}})(),(function(){c.o=function(d,h){return Object.prototype.hasOwnProperty.call(d,h)}})(),c(686)})().default})})(mi)),mi.exports}var Sm=wm();const Am=kl(Sm);window.$=window.jQuery=Ct;const xm=n=>{console.log("检查点1:函数跑起来了,选择器是:");const t=Ct(n),r=t.outerHeight(),o=document.documentElement;if(t.length===0)return;let c=0;const d=5;Ct(window).on("scroll",()=>{console.log("检查点3:你在滚,我也在动");let h=Ct(window).scrollTop();Math.abs(h-c)<=d||(h>c&&h>t.outerHeight()?(t.addClass("is-hidden"),o.style.setProperty("--header-offset","0px")):(t.removeClass("is-hidden"),o.style.setProperty("--header-offset",r+"px")),h<=0&&(t.removeClass("is-hidden"),o.style.setProperty("--header-offset",r+"px")),c=h)})},Cm=n=>{const t=Ct(n);if(t.length===0)return;const r=new Em(t[0],{path:function(){let o=window.location.search,c=this.loadCount+2;return o?o.indexOf("page=")>-1?o.replace(/page=\d+/,"page="+c):o+"&page="+c:"?page="+c},append:".ajax-item",history:!1,status:".page-load-status",scrollThreshold:600,responseBody:"text"});t.on("append.infiniteScroll",(o,c,d,h)=>{const p=Ct(h);p.addClass("ajax-item-fade-in"),setTimeout(()=>{p.addClass("is-visible")},50),console.log(`[ArticleLoader] s-Hungarian 风格追加成功: ${d}`)}),window.oMainInfScroll=r};Ct(()=>{if(typeof jQuery<"u")var n=jQuery.noConflict();new Am(".copy-permalink",{container:document.body}).on("success",function(D){o(1,"复制成功"),D.clearSelection(),D.trigger.blur()}),n(document).on("click",".post-like-button",function(D){D.preventDefault();var j=n(".post-like-button"),re=n(this).data("id");return j.hasClass("requesting")||(j.addClass("requesting"),n.ajax({url:"/like/"+re,type:"GET",dataType:"json"}).done(function(J){o(1,J.msg),n(".like-count").html(J.iLikeCount),j.removeClass("requesting")}).fail(function(J){let te="系统开小差了";J.responseJSON&&J.responseJSON.msg&&(te=J.responseJSON.msg),o(0,te),j.removeClass("requesting")})),!1}),xm("#header"),document.getElementById("searchform").addEventListener("submit",function(D){D.preventDefault();let j=document.getElementById("s").value;j.trim()!==""&&(window.location.href="/search/"+encodeURIComponent(j))}),Cm(".list-home");var r={};function o(D,j){var re=D?"success":"error",J="<i class='icon me-2'></i>",te='<div class="nice-popup nice-popup-sm nice-popup-error '+re+'"><div class="nice-popup-body"><div class="nice-popup-content">'+J+j+"</div></div></div>",oe=n(te);n("body").append(oe),setTimeout(function(){oe.addClass("nice-popup-open")},300),typeof lazyLoadInstance<"u"&&lazyLoadInstance.update(),setTimeout(function(){oe.removeClass("nice-popup-open"),setTimeout(function(){setTimeout(function(){oe.remove()},600)},1e3)},1600)}function c(D,j,te,J){var te=te?'style="'+te+'"':"",oe="";D=="big"?oe="nice-popup-lg":D=="no-padding"?oe="nice-popup-nopd":D=="cover"?oe="nice-popup-cover nice-popup-nopd":D=="full"?oe="nice-popup-xl":D=="scroll"?oe="nice-popup-scroll":D=="middle"?oe="nice-popup-md":D=="small"&&(oe="nice-popup-sm");var me=' <div class="nice-popup nice-popup-center '+oe+'"> <div class="nice-popup-overlay" '+te+'></div> <div class="nice-popup-body"> <div class="nice-popup-close"> <span class="svg-white"></span> <span class="svg-dark"></span> </div> <div class="nice-popup-content"> '+j+" </div> </div> </div> ",se=n(me);n("body").append(se),n("body").addClass("nice-popup-hidden"),setTimeout(function(){se.addClass("nice-popup-open")},300),typeof lazyLoadInstance<"u"&&lazyLoadInstance.update();var ce=function(){n("body").removeClass("nice-popup-hidden"),n(se).removeClass("nice-popup-open"),setTimeout(function(){setTimeout(function(){se.remove()},300)},600)};return n(se).on("click touchstart",".nice-popup-close, .nice-popup-overlay",function(q){q.preventDefault(),ce()}),se}(function(D){D.fn.theiaStickySidebar=function(j){const re={sContainerSelector:"",iAdditionalMarginTop:0,iAdditionalMarginBottom:0,bUpdateSidebarHeight:!0,iMinWidth:0,bDisableOnResponsiveLayouts:!0,sSidebarBehavior:"modern",sDefaultPosition:"relative",sNamespace:"TSS"};j=D.extend(re,j),j.iAdditionalMarginTop=parseInt(j.iAdditionalMarginTop)||0,j.iAdditionalMarginBottom=parseInt(j.iAdditionalMarginBottom)||0;function J(se,ce){te(se,ce)||(console.log("TSS: Body width smaller than options.minWidth. Init delayed."),D(document).on("scroll."+se.sNamespace,function(k){te(se,ce)&&D(this).unbind(k)}),D(window).on("resize."+se.sNamespace,function(k){te(se,ce)&&D(this).unbind(k)}))}function te(se,ce){return se.bInitialized===!0?!0:D("body").width()<se.iMinWidth?!1:(me(se,ce),!0)}function oe(se){let ce;try{ce=se[0].getBoundingClientRect().width}catch{ce=se.width()}return ce}function me(se,ce){se.bInitialized=!0;const q="theia-sticky-sidebar-stylesheet-"+se.sNamespace;D("#"+q).length===0&&D("head").append(`<style id="${q}">.theiaStickySidebar:after {content: ""; display: table; clear: both;}</style>`),ce.each(function(){const k={oSidebar:D(this),oOptions:se,oContainer:D(se.sContainerSelector),iPreviousScrollTop:null,iFixedScrollTop:0};k.oContainer.length===0&&(k.oContainer=k.oSidebar.parent()),k.oSidebar.parents().css("-webkit-transform","none"),k.oSidebar.css({position:k.oOptions.sDefaultPosition,overflow:"visible","box-sizing":"border-box"}),k.oStickySidebar=k.oSidebar.find(".theiaStickySidebar"),k.oStickySidebar.length===0&&(k.oSidebar.find("script").remove(),k.oStickySidebar=D("<div>").addClass("theiaStickySidebar").append(k.oSidebar.children()),k.oSidebar.append(k.oStickySidebar));const H=()=>{k.iFixedScrollTop=0,k.oSidebar.css({"min-height":"1px"}),k.oStickySidebar.css({position:"static",width:"",transform:"none"})};k.fnOnScroll=function(){if(!k.oStickySidebar.is(":visible"))return;if(D("body").width()<k.oOptions.iMinWidth||k.oOptions.bDisableOnResponsiveLayouts&&k.oSidebar.outerWidth(k.oSidebar.css("float")==="none")+50>k.oContainer.width())return H();const W=D(document).scrollTop();let Y="static";W>=k.oSidebar.offset().top+(parseInt(k.oSidebar.css("padding-top"))-k.oOptions.iAdditionalMarginTop)&&(Y="fixed"),Y==="fixed"?k.oStickySidebar.css({position:"fixed",width:oe(k.oStickySidebar)+"px",left:k.oSidebar.offset().left+parseInt(k.oSidebar.css("padding-left"))-D(document).scrollLeft()+"px"}):H(),k.iPreviousScrollTop=W},D(document).on("scroll."+k.oOptions.sNamespace,k.fnOnScroll),D(window).on("resize."+k.oOptions.sNamespace,()=>{k.oStickySidebar.css({position:"static"}),k.fnOnScroll()})})}return J(j,this),this}})(jQuery),n("meta[name=apollo-enabled]").attr("content");function d(){n("body").removeClass("nice-dark-mode"),n(".logo-dark").removeClass("d-inline-block"),n(".logo-dark").addClass("d-none"),n(".logo-light").removeClass("d-none"),n(".logo-light").addClass("d-inline-block")}function h(){n.ajax({url:r.ajax_url,type:"POST",dataType:"html",data:{toggle_action:"on",action:"pandapro_toggle_dark_mode"}}).done(function(){p()})}function p(){n("body").addClass("nice-dark-mode"),n(".logo-dark").removeClass("d-none"),n(".logo-dark").addClass("d-inline-block"),n(".logo-light").removeClass("d-inline-block"),n(".logo-light").addClass("d-none")}function m(){n.ajax({url:r.ajax_url,type:"POST",dataType:"html",data:{toggle_action:"off",action:"pandapro_toggle_dark_mode"}}).done(function(){d()})}function _(){n(".sidebar-close, .mobile-overlay").on("click",function(){n("body").removeClass("modal-open"),n(".mobile-sidebar").removeClass("active"),n(".mobile-overlay").removeClass("active")}),n("#sidebarCollapse").on("click",function(){n("body").addClass("modal-open"),n(".mobile-sidebar").addClass("active"),n(".mobile-overlay").addClass("active"),n(".collapse.in").toggleClass("in"),n("a[aria-expanded=true]").attr("aria-expanded","false")})}function v(){var D=n(".mobile-sidebar-menu .current-menu-parent");D.hasClass("current-menu-ancestor")&&D.children().siblings(".sub-menu").stop(!0).slideDown(300)}_(),v();const C='<div class="text-center"><div class="spinner-border spinner-border-sm text-light" role="status"></div></div>';var R=window.innerHeight,I=n("main").innerHeight();if(I>R){var E=n(".header").height();n(window).on("scroll",{TopPrev:0},function(){var D=n(window).scrollTop();D<this.TopPrev?D>0&&n(".header").hasClass("fixed-header")?n(".header").addClass("visible-scroll-up"):n(".header").removeClass("visible-scroll-up fixed-header"):(n(".header").removeClass("visible-scroll-up"),D>E&&!n(".header").hasClass("fixed-header")&&n(".header").addClass("fixed-header")),this.TopPrev=D})}n(window).scroll(function(){var D=n(window),j=D.width();n(this).scrollTop()>200&&j>=1024?n("#scrollToTOP").filter(":hidden").fadeIn("fast"):n("#scrollToTOP").filter(":visible").fadeOut("fast")}),n("#scrollToTOP").on("click",function(){return n("html, body").animate({scrollTop:0},"slow"),!1}),n('a.js-scroll-trigger[href*="#"]:not([href="#"])').click(function(){if(location.pathname.replace(/^\//,"")==this.pathname.replace(/^\//,"")&&location.hostname==this.hostname){var D=n(this.hash);if(D=D.length?D:n("[name="+this.hash.slice(1)+"]"),D.length)return n("html, body").animate({scrollTop:D.offset().top-60},1e3,"easeInOutExpo"),!1}}),n(".sidebar").theiaStickySidebar({additionalMarginTop:20,additionalMarginBottom:20}),n(".main-menu li").hasClass("menu-item-has-children")&&n(".main-menu .menu-item-has-children").prepend('<div class="submenu-arrow iconfont icon-jiantou1"></div>'),n(".mobile-sidebar-menu .menu-item-has-children > a").append('<div class="dropdown-sub-menu"><span class="iconfont icon-right"></span></div>'),n(document).on("click",".mobile-sidebar-menu .menu-item-has-children > a",function(D){var j=n(this);j.siblings(".mobile-sidebar-menu .sub-menu")[0]&&(D.preventDefault(),j.parent().hasClass("in")?(j.parent().removeClass("in"),j.parent().find(".in").removeClass("in"),j.parent().find(".sub-menu").stop(!0).slideUp(300)):(j.closest(".in")[0]||(j.find(".menu-item-has-children.in .sub-menu").stop(!0).slideUp(300),j.find(".menu-item-has-children.in").removeClass("in")),j.parent().addClass("in"),j.parent().siblings(".in").find(".sub-menu").stop(!0).slideUp(300),j.parent().siblings(".current-menu-parent").find(".sub-menu").stop(!0).slideUp(300),j.parent().siblings(".in").removeClass("in"),j.siblings(".sub-menu").stop(!0).slideDown(300)))});var S=n(".slide-style-1");if(S.length>0)var S=new Swiper(".slide-style-1",{loop:!0,spaceBetween:15,autoplay:{delay:5e3,disableOnInteraction:!1},pagination:{el:".swiper-pagination",clickable:!0}});var x=n(".slide-style-2");if(x.length>0)var x=new Swiper(".slide-style-2",{loop:!0,spaceBetween:15,autoplay:{delay:5e3,disableOnInteraction:!1},pagination:{el:".swiper-pagination",clickable:!0}});var P=n(".slide-style-3 .swiper");if(P.length>0)var P=new Swiper(".slide-style-3 .swiper",{loop:!0,spaceBetween:15,autoplay:{delay:5e3,disableOnInteraction:!1},pagination:{el:".swiper-pagination",clickable:!0}});var V=n(".slide-style-4");if(V.length>0)var x=new Swiper(".slide-style-4",{loop:!0,spaceBetween:15,autoplay:{delay:5e3,disableOnInteraction:!1},pagination:{el:".swiper-pagination",clickable:!0}});var U=n(".slide-ajax-menu");if(U.length>0)var U=new Swiper(".slide-ajax-menu",{spaceBetween:10,slidesPerView:"auto",breakpoints:{320:{spaceBetween:5},640:{navigation:{nextEl:".slide-ajax-menu .button-next",prevEl:".slide-ajax-menu .button-prev"}}}});var B=n(".index-columns-cat");if(B.length>0)var B=new Swiper(".index-columns-cat",{freeMode:!0,breakpoints:{320:{spaceBetween:8,slidesPerView:"auto"},640:{spaceBetween:6,slidesPerView:"auto"},768:{spaceBetween:8,slidesPerView:"auto"},1200:{spaceBetween:8,slidesPerView:10}}});n(document).on("click",".list-ajax-menu .btn-ajaxpost",function(D){D.preventDefault();var j=n(this),re=j.data("cid");n(".list-ajax-menu .btn-ajaxpost").removeClass("active"),j.addClass("active"),re?n(".dposts-ajax-load").data("tabcid",re):n(".dposts-ajax-load").removeData("tabcid"),n(".dposts-ajax-load").data("paged",1),n("."+n(".dposts-ajax-load").data().append).html(""),n(".dposts-ajax-load").addClass("loading").text(__("Load more...","pandapro")),n(".list-ajax-menu .btn-ajaxpost").attr("disabled","disabled"),n(".dposts-ajax-load").removeAttr("disabled"),de(n(".dposts-ajax-load").data(),function(){n(".list-ajax-menu .btn-ajaxpost").removeAttr("disabled")})});function X(D){const j=n("#comments-next-button"),re=j.text();j.html(C).attr("disabled","disabled"),n.ajax({url:r.ajax_url,type:"POST",dataType:"html",data:D}).done(function(J){J?(D.commentspage=="newest"?j.data("paged",D.paged*1-1):j.data("paged",D.paged*1+1),n("."+D.append).append(J),j.text(re).removeAttr("disabled")):j.hide()})}if(n(".toc").length>0){var l="h2,h3,h4",F=".toc-class",ae={};n(".post-content").find(l).parent().addClass("toc-class"),n(F).children(l).each(function(){var D=n(this).text().replace(/[\s|\~|`|\!|\@|\#|\$|\%|\^|\&|\*|\(|\)|\_|\+|\=|\||\|\[|\]|\{|\}|\;|\:|\"|\'|\,|\<|\.|\>|\/|\?|\:|\,|\。]/g,"");D=D.toLowerCase(),ae[D]?(n(this).attr("id",D+"-"+ae[D]),ae[D]++):(ae[D]=1,n(this).attr("id",D))}),tocbot.init({tocSelector:".toc",contentSelector:F,headingSelector:l,positionFixedSelector:".toc",positionFixedClass:"is-position-fixed",scrollSmooth:!0,scrollSmoothOffset:-100,headingsOffset:100})}n(document).on("click","#comments-next-button",function(D){D.preventDefault(),X(n("#comments-next-button").data())}),n(document).on("click",".single-popup",function(D){D.preventDefault();var j=n(this).data("img"),re=n(this).data("title"),J=n(this).data("desc"),te='<div class="text-center"><h6 class="py-1">'+re+'</h6> <div class="text-muted text-sm mb-2" > '+J+' </div> <img src="'+j+'" alt="'+re+'" style="width:100%;height:auto;"> </div>';c("small",te)}),n(document).on("click",".plus-power-popup",function(D){D.preventDefault();var j=n("#plus-power-popup-wrap");c("no-padding",j.html())}),n(document).on("click",".btn-share-toggler",function(D){D.preventDefault(),c("middle",n("#single-share-template").html())});function z(D){var j=D.getBoundingClientRect();return j.top>=0&&j.left>=0&&j.bottom<=(window.innerHeight||document.documentElement.clientHeight)&&j.right<=(window.innerWidth||document.documentElement.clientWidth)}function Q(D,j){return function(){z(D)&&j.call()}}function fe(D,j){window.addEventListener?(addEventListener("DOMContentLiteSpeedLoaded",Q(D,j),!1),addEventListener("load",Q(D,j),!1),addEventListener("scroll",Q(D,j),!1),addEventListener("resize",Q(D,j),!1)):window.attachEvent&&(attachEvent("DOMContentLiteSpeedLoaded",Q(D,j)),attachEvent("load",Q(D,j)),attachEvent("scroll",Q(D,j)),attachEvent("resize",Q(D,j)))}n(".list-ajax-load").length>0&&fe(document.querySelector(".list-ajax-load"),function(){if(n(".dposts-ajax-load").data("comments")=="comments")return!1;n(".list-ajax-load").hasClass("loading")===!1&&(n(".dposts-ajax-load").data(),n(".dposts-ajax-load").data("paged")<=3&&(n(".list-ajax-load").addClass("loading"),de(n(".dposts-ajax-load").data())))}),n(document).on("click",".refresh-random-post",function(D){D.preventDefault();var j=jQuery(this);n.ajax({url:r.ajax_url,type:"POST",dataType:"html",data:{action:"ajax_refresh_random_post",id:j.data().id}}).done(function(re){re.trim()&&j.parents(".widget_post_card").html(re.trim())})}),r.allow_switch_darkmode!=="0"&&(r.allow_switch_darkmode==="device"&&window.matchMedia&&window.matchMedia("(prefers-color-scheme)").media!=="not all"&&(window.matchMedia("(prefers-color-scheme: dark)").matches&&h(),window.matchMedia("(prefers-color-scheme: dark)").addListener(function(D){D.matches&&h()}),window.matchMedia("(prefers-color-scheme: light)").matches&&m(),window.matchMedia("(prefers-color-scheme: light)").addListener(function(D){D.matches&&m()})),n(document).on("click",".switch-dark-mode",function(D){D.preventDefault(),n.ajax({url:r.ajax_url,type:"POST",dataType:"html",data:{toggle_action:n("body").hasClass("nice-dark-mode")===!0?"off":"on",action:"pandapro_toggle_dark_mode"}}).done(function(j){if(!n("body").hasClass("nice-dark-mode")){p();return}d()})})),n(document).on("click",".dposts-ajax-load",function(D){D.preventDefault();var j=jQuery(this);n(".list-ajax-load").hasClass("loading")===!1&&(n(".list-ajax-load").addClass("loading"),de(j.data()))});function de(D,j=function(){}){const re=n(".dposts-ajax-load"),J=n(".list-ajax-load");if(re.attr("disabled"))return!1;re.html(C).attr("disabled","disabled"),n.ajax({url:r.ajax_url,type:"POST",dataType:"html",data:D}).done(function(te){j(),te.trim()?(re.removeAttr("disabled"),re.data("paged",D.paged*1+1),n("."+D.append).append(te),J.removeClass("loading"),re.text(__("Load more...","pandapro"))):(re.attr("disabled","disabled"),re.text(__("You've reached the end.","pandapro")))})}});
|