File manager - Edit - /var/www/html/portal/public/pmar/build/assets/app.js
Back
function or(e,t){return function(){return e.apply(t,arguments)}}const{toString:Mi}=Object.prototype,{getPrototypeOf:$n}=Object,{iterator:Fe,toStringTag:ar}=Symbol,Ve=(e=>t=>{const n=Mi.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),nt=e=>(e=e.toLowerCase(),t=>Ve(t)===e),He=e=>t=>typeof t===e,{isArray:Gt}=Array,Bt=He("undefined");function ce(e){return e!==null&&!Bt(e)&&e.constructor!==null&&!Bt(e.constructor)&&j(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const cr=nt("ArrayBuffer");function ki(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&cr(e.buffer),t}const Fi=He("string"),j=He("function"),lr=He("number"),le=e=>e!==null&&typeof e=="object",Vi=e=>e===!0||e===!1,Ce=e=>{if(Ve(e)!=="object")return!1;const t=$n(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(ar in e)&&!(Fe in e)},Hi=e=>{if(!le(e)||ce(e))return!1;try{return Object.keys(e).length===0&&Object.getPrototypeOf(e)===Object.prototype}catch{return!1}},Bi=nt("Date"),ji=nt("File"),Ui=nt("Blob"),Wi=nt("FileList"),Ki=e=>le(e)&&j(e.pipe),qi=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||j(e.append)&&((t=Ve(e))==="formdata"||t==="object"&&j(e.toString)&&e.toString()==="[object FormData]"))},zi=nt("URLSearchParams"),[Yi,Gi,Xi,Ji]=["ReadableStream","Request","Response","Headers"].map(nt),Qi=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function ue(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let s,r;if(typeof e!="object"&&(e=[e]),Gt(e))for(s=0,r=e.length;s<r;s++)t.call(null,e[s],s,e);else{if(ce(e))return;const i=n?Object.getOwnPropertyNames(e):Object.keys(e),o=i.length;let a;for(s=0;s<o;s++)a=i[s],t.call(null,e[a],a,e)}}function ur(e,t){if(ce(e))return null;t=t.toLowerCase();const n=Object.keys(e);let s=n.length,r;for(;s-- >0;)if(r=n[s],t===r.toLowerCase())return r;return null}const wt=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,fr=e=>!Bt(e)&&e!==wt;function vn(){const{caseless:e,skipUndefined:t}=fr(this)&&this||{},n={},s=(r,i)=>{const o=e&&ur(n,i)||i;Ce(n[o])&&Ce(r)?n[o]=vn(n[o],r):Ce(r)?n[o]=vn({},r):Gt(r)?n[o]=r.slice():(!t||!Bt(r))&&(n[o]=r)};for(let r=0,i=arguments.length;r<i;r++)arguments[r]&&ue(arguments[r],s);return n}const Zi=(e,t,n,{allOwnKeys:s}={})=>(ue(t,(r,i)=>{n&&j(r)?e[i]=or(r,n):e[i]=r},{allOwnKeys:s}),e),to=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),eo=(e,t,n,s)=>{e.prototype=Object.create(t.prototype,s),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},no=(e,t,n,s)=>{let r,i,o;const a={};if(t=t||{},e==null)return t;do{for(r=Object.getOwnPropertyNames(e),i=r.length;i-- >0;)o=r[i],(!s||s(o,e,t))&&!a[o]&&(t[o]=e[o],a[o]=!0);e=n!==!1&&$n(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},so=(e,t,n)=>{e=String(e),(n===void 0||n>e.length)&&(n=e.length),n-=t.length;const s=e.indexOf(t,n);return s!==-1&&s===n},ro=e=>{if(!e)return null;if(Gt(e))return e;let t=e.length;if(!lr(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},io=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&$n(Uint8Array)),oo=(e,t)=>{const s=(e&&e[Fe]).call(e);let r;for(;(r=s.next())&&!r.done;){const i=r.value;t.call(e,i[0],i[1])}},ao=(e,t)=>{let n;const s=[];for(;(n=e.exec(t))!==null;)s.push(n);return s},co=nt("HTMLFormElement"),lo=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,s,r){return s.toUpperCase()+r}),cs=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),uo=nt("RegExp"),dr=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),s={};ue(n,(r,i)=>{let o;(o=t(r,i,e))!==!1&&(s[i]=o||r)}),Object.defineProperties(e,s)},fo=e=>{dr(e,(t,n)=>{if(j(e)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const s=e[n];if(j(s)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},ho=(e,t)=>{const n={},s=r=>{r.forEach(i=>{n[i]=!0})};return Gt(e)?s(e):s(String(e).split(t)),n},po=()=>{},mo=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t;function _o(e){return!!(e&&j(e.append)&&e[ar]==="FormData"&&e[Fe])}const go=e=>{const t=new Array(10),n=(s,r)=>{if(le(s)){if(t.indexOf(s)>=0)return;if(ce(s))return s;if(!("toJSON"in s)){t[r]=s;const i=Gt(s)?[]:{};return ue(s,(o,a)=>{const l=n(o,r+1);!Bt(l)&&(i[a]=l)}),t[r]=void 0,i}}return s};return n(e,0)},Eo=nt("AsyncFunction"),bo=e=>e&&(le(e)||j(e))&&j(e.then)&&j(e.catch),hr=((e,t)=>e?setImmediate:t?((n,s)=>(wt.addEventListener("message",({source:r,data:i})=>{r===wt&&i===n&&s.length&&s.shift()()},!1),r=>{s.push(r),wt.postMessage(n,"*")}))(`axios@${Math.random()}`,[]):n=>setTimeout(n))(typeof setImmediate=="function",j(wt.postMessage)),vo=typeof queueMicrotask<"u"?queueMicrotask.bind(wt):typeof process<"u"&&process.nextTick||hr,yo=e=>e!=null&&j(e[Fe]),f={isArray:Gt,isArrayBuffer:cr,isBuffer:ce,isFormData:qi,isArrayBufferView:ki,isString:Fi,isNumber:lr,isBoolean:Vi,isObject:le,isPlainObject:Ce,isEmptyObject:Hi,isReadableStream:Yi,isRequest:Gi,isResponse:Xi,isHeaders:Ji,isUndefined:Bt,isDate:Bi,isFile:ji,isBlob:Ui,isRegExp:uo,isFunction:j,isStream:Ki,isURLSearchParams:zi,isTypedArray:io,isFileList:Wi,forEach:ue,merge:vn,extend:Zi,trim:Qi,stripBOM:to,inherits:eo,toFlatObject:no,kindOf:Ve,kindOfTest:nt,endsWith:so,toArray:ro,forEachEntry:oo,matchAll:ao,isHTMLForm:co,hasOwnProperty:cs,hasOwnProp:cs,reduceDescriptors:dr,freezeMethods:fo,toObjectSet:ho,toCamelCase:lo,noop:po,toFiniteNumber:mo,findKey:ur,global:wt,isContextDefined:fr,isSpecCompliantForm:_o,toJSONObject:go,isAsyncFn:Eo,isThenable:bo,setImmediate:hr,asap:vo,isIterable:yo};function A(e,t,n,s,r){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),s&&(this.request=s),r&&(this.response=r,this.status=r.status?r.status:null)}f.inherits(A,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:f.toJSONObject(this.config),code:this.code,status:this.status}}});const pr=A.prototype,mr={};["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(e=>{mr[e]={value:e}});Object.defineProperties(A,mr);Object.defineProperty(pr,"isAxiosError",{value:!0});A.from=(e,t,n,s,r,i)=>{const o=Object.create(pr);f.toFlatObject(e,o,function(c){return c!==Error.prototype},u=>u!=="isAxiosError");const a=e&&e.message?e.message:"Error",l=t==null&&e?e.code:t;return A.call(o,a,l,n,s,r),e&&o.cause==null&&Object.defineProperty(o,"cause",{value:e,configurable:!0}),o.name=e&&e.name||"Error",i&&Object.assign(o,i),o};const Ao=null;function yn(e){return f.isPlainObject(e)||f.isArray(e)}function _r(e){return f.endsWith(e,"[]")?e.slice(0,-2):e}function ls(e,t,n){return e?e.concat(t).map(function(r,i){return r=_r(r),!n&&i?"["+r+"]":r}).join(n?".":""):t}function To(e){return f.isArray(e)&&!e.some(yn)}const wo=f.toFlatObject(f,{},null,function(t){return/^is[A-Z]/.test(t)});function Be(e,t,n){if(!f.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,n=f.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(_,m){return!f.isUndefined(m[_])});const s=n.metaTokens,r=n.visitor||c,i=n.dots,o=n.indexes,l=(n.Blob||typeof Blob<"u"&&Blob)&&f.isSpecCompliantForm(t);if(!f.isFunction(r))throw new TypeError("visitor must be a function");function u(d){if(d===null)return"";if(f.isDate(d))return d.toISOString();if(f.isBoolean(d))return d.toString();if(!l&&f.isBlob(d))throw new A("Blob is not supported. Use a Buffer instead.");return f.isArrayBuffer(d)||f.isTypedArray(d)?l&&typeof Blob=="function"?new Blob([d]):Buffer.from(d):d}function c(d,_,m){let y=d;if(d&&!m&&typeof d=="object"){if(f.endsWith(_,"{}"))_=s?_:_.slice(0,-2),d=JSON.stringify(d);else if(f.isArray(d)&&To(d)||(f.isFileList(d)||f.endsWith(_,"[]"))&&(y=f.toArray(d)))return _=_r(_),y.forEach(function(T,v){!(f.isUndefined(T)||T===null)&&t.append(o===!0?ls([_],v,i):o===null?_:_+"[]",u(T))}),!1}return yn(d)?!0:(t.append(ls(m,_,i),u(d)),!1)}const p=[],g=Object.assign(wo,{defaultVisitor:c,convertValue:u,isVisitable:yn});function E(d,_){if(!f.isUndefined(d)){if(p.indexOf(d)!==-1)throw Error("Circular reference detected in "+_.join("."));p.push(d),f.forEach(d,function(y,C){(!(f.isUndefined(y)||y===null)&&r.call(t,y,f.isString(C)?C.trim():C,_,g))===!0&&E(y,_?_.concat(C):[C])}),p.pop()}}if(!f.isObject(e))throw new TypeError("data must be an object");return E(e),t}function us(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(s){return t[s]})}function In(e,t){this._pairs=[],e&&Be(e,this,t)}const gr=In.prototype;gr.append=function(t,n){this._pairs.push([t,n])};gr.toString=function(t){const n=t?function(s){return t.call(this,s,us)}:us;return this._pairs.map(function(r){return n(r[0])+"="+n(r[1])},"").join("&")};function Oo(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+")}function Er(e,t,n){if(!t)return e;const s=n&&n.encode||Oo;f.isFunction(n)&&(n={serialize:n});const r=n&&n.serialize;let i;if(r?i=r(t,n):i=f.isURLSearchParams(t)?t.toString():new In(t,n).toString(s),i){const o=e.indexOf("#");o!==-1&&(e=e.slice(0,o)),e+=(e.indexOf("?")===-1?"?":"&")+i}return e}class fs{constructor(){this.handlers=[]}use(t,n,s){return this.handlers.push({fulfilled:t,rejected:n,synchronous:s?s.synchronous:!1,runWhen:s?s.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){f.forEach(this.handlers,function(s){s!==null&&t(s)})}}const br={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},So=typeof URLSearchParams<"u"?URLSearchParams:In,Co=typeof FormData<"u"?FormData:null,No=typeof Blob<"u"?Blob:null,Do={isBrowser:!0,classes:{URLSearchParams:So,FormData:Co,Blob:No},protocols:["http","https","file","blob","url","data"]},xn=typeof window<"u"&&typeof document<"u",An=typeof navigator=="object"&&navigator||void 0,Lo=xn&&(!An||["ReactNative","NativeScript","NS"].indexOf(An.product)<0),Ro=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",$o=xn&&window.location.href||"http://localhost",Io=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:xn,hasStandardBrowserEnv:Lo,hasStandardBrowserWebWorkerEnv:Ro,navigator:An,origin:$o},Symbol.toStringTag,{value:"Module"})),M={...Io,...Do};function xo(e,t){return Be(e,new M.classes.URLSearchParams,{visitor:function(n,s,r,i){return M.isNode&&f.isBuffer(n)?(this.append(s,n.toString("base64")),!1):i.defaultVisitor.apply(this,arguments)},...t})}function Po(e){return f.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function Mo(e){const t={},n=Object.keys(e);let s;const r=n.length;let i;for(s=0;s<r;s++)i=n[s],t[i]=e[i];return t}function vr(e){function t(n,s,r,i){let o=n[i++];if(o==="__proto__")return!0;const a=Number.isFinite(+o),l=i>=n.length;return o=!o&&f.isArray(r)?r.length:o,l?(f.hasOwnProp(r,o)?r[o]=[r[o],s]:r[o]=s,!a):((!r[o]||!f.isObject(r[o]))&&(r[o]=[]),t(n,s,r[o],i)&&f.isArray(r[o])&&(r[o]=Mo(r[o])),!a)}if(f.isFormData(e)&&f.isFunction(e.entries)){const n={};return f.forEachEntry(e,(s,r)=>{t(Po(s),r,n,0)}),n}return null}function ko(e,t,n){if(f.isString(e))try{return(t||JSON.parse)(e),f.trim(e)}catch(s){if(s.name!=="SyntaxError")throw s}return(n||JSON.stringify)(e)}const fe={transitional:br,adapter:["xhr","http","fetch"],transformRequest:[function(t,n){const s=n.getContentType()||"",r=s.indexOf("application/json")>-1,i=f.isObject(t);if(i&&f.isHTMLForm(t)&&(t=new FormData(t)),f.isFormData(t))return r?JSON.stringify(vr(t)):t;if(f.isArrayBuffer(t)||f.isBuffer(t)||f.isStream(t)||f.isFile(t)||f.isBlob(t)||f.isReadableStream(t))return t;if(f.isArrayBufferView(t))return t.buffer;if(f.isURLSearchParams(t))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let a;if(i){if(s.indexOf("application/x-www-form-urlencoded")>-1)return xo(t,this.formSerializer).toString();if((a=f.isFileList(t))||s.indexOf("multipart/form-data")>-1){const l=this.env&&this.env.FormData;return Be(a?{"files[]":t}:t,l&&new l,this.formSerializer)}}return i||r?(n.setContentType("application/json",!1),ko(t)):t}],transformResponse:[function(t){const n=this.transitional||fe.transitional,s=n&&n.forcedJSONParsing,r=this.responseType==="json";if(f.isResponse(t)||f.isReadableStream(t))return t;if(t&&f.isString(t)&&(s&&!this.responseType||r)){const o=!(n&&n.silentJSONParsing)&&r;try{return JSON.parse(t,this.parseReviver)}catch(a){if(o)throw a.name==="SyntaxError"?A.from(a,A.ERR_BAD_RESPONSE,this,null,this.response):a}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:M.classes.FormData,Blob:M.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};f.forEach(["delete","get","head","post","put","patch"],e=>{fe.headers[e]={}});const Fo=f.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"]),Vo=e=>{const t={};let n,s,r;return e&&e.split(` `).forEach(function(o){r=o.indexOf(":"),n=o.substring(0,r).trim().toLowerCase(),s=o.substring(r+1).trim(),!(!n||t[n]&&Fo[n])&&(n==="set-cookie"?t[n]?t[n].push(s):t[n]=[s]:t[n]=t[n]?t[n]+", "+s:s)}),t},ds=Symbol("internals");function ne(e){return e&&String(e).trim().toLowerCase()}function Ne(e){return e===!1||e==null?e:f.isArray(e)?e.map(Ne):String(e)}function Ho(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let s;for(;s=n.exec(e);)t[s[1]]=s[2];return t}const Bo=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function tn(e,t,n,s,r){if(f.isFunction(s))return s.call(this,t,n);if(r&&(t=n),!!f.isString(t)){if(f.isString(s))return t.indexOf(s)!==-1;if(f.isRegExp(s))return s.test(t)}}function jo(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,s)=>n.toUpperCase()+s)}function Uo(e,t){const n=f.toCamelCase(" "+t);["get","set","has"].forEach(s=>{Object.defineProperty(e,s+n,{value:function(r,i,o){return this[s].call(this,t,r,i,o)},configurable:!0})})}let U=class{constructor(t){t&&this.set(t)}set(t,n,s){const r=this;function i(a,l,u){const c=ne(l);if(!c)throw new Error("header name must be a non-empty string");const p=f.findKey(r,c);(!p||r[p]===void 0||u===!0||u===void 0&&r[p]!==!1)&&(r[p||l]=Ne(a))}const o=(a,l)=>f.forEach(a,(u,c)=>i(u,c,l));if(f.isPlainObject(t)||t instanceof this.constructor)o(t,n);else if(f.isString(t)&&(t=t.trim())&&!Bo(t))o(Vo(t),n);else if(f.isObject(t)&&f.isIterable(t)){let a={},l,u;for(const c of t){if(!f.isArray(c))throw TypeError("Object iterator must return a key-value pair");a[u=c[0]]=(l=a[u])?f.isArray(l)?[...l,c[1]]:[l,c[1]]:c[1]}o(a,n)}else t!=null&&i(n,t,s);return this}get(t,n){if(t=ne(t),t){const s=f.findKey(this,t);if(s){const r=this[s];if(!n)return r;if(n===!0)return Ho(r);if(f.isFunction(n))return n.call(this,r,s);if(f.isRegExp(n))return n.exec(r);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=ne(t),t){const s=f.findKey(this,t);return!!(s&&this[s]!==void 0&&(!n||tn(this,this[s],s,n)))}return!1}delete(t,n){const s=this;let r=!1;function i(o){if(o=ne(o),o){const a=f.findKey(s,o);a&&(!n||tn(s,s[a],a,n))&&(delete s[a],r=!0)}}return f.isArray(t)?t.forEach(i):i(t),r}clear(t){const n=Object.keys(this);let s=n.length,r=!1;for(;s--;){const i=n[s];(!t||tn(this,this[i],i,t,!0))&&(delete this[i],r=!0)}return r}normalize(t){const n=this,s={};return f.forEach(this,(r,i)=>{const o=f.findKey(s,i);if(o){n[o]=Ne(r),delete n[i];return}const a=t?jo(i):String(i).trim();a!==i&&delete n[i],n[a]=Ne(r),s[a]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return f.forEach(this,(s,r)=>{s!=null&&s!==!1&&(n[r]=t&&f.isArray(s)?s.join(", "):s)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,n])=>t+": "+n).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,...n){const s=new this(t);return n.forEach(r=>s.set(r)),s}static accessor(t){const s=(this[ds]=this[ds]={accessors:{}}).accessors,r=this.prototype;function i(o){const a=ne(o);s[a]||(Uo(r,o),s[a]=!0)}return f.isArray(t)?t.forEach(i):i(t),this}};U.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);f.reduceDescriptors(U.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(s){this[n]=s}}});f.freezeMethods(U);function en(e,t){const n=this||fe,s=t||n,r=U.from(s.headers);let i=s.data;return f.forEach(e,function(a){i=a.call(n,i,r.normalize(),t?t.status:void 0)}),r.normalize(),i}function yr(e){return!!(e&&e.__CANCEL__)}function Xt(e,t,n){A.call(this,e??"canceled",A.ERR_CANCELED,t,n),this.name="CanceledError"}f.inherits(Xt,A,{__CANCEL__:!0});function Ar(e,t,n){const s=n.config.validateStatus;!n.status||!s||s(n.status)?e(n):t(new A("Request failed with status code "+n.status,[A.ERR_BAD_REQUEST,A.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}function Wo(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function Ko(e,t){e=e||10;const n=new Array(e),s=new Array(e);let r=0,i=0,o;return t=t!==void 0?t:1e3,function(l){const u=Date.now(),c=s[i];o||(o=u),n[r]=l,s[r]=u;let p=i,g=0;for(;p!==r;)g+=n[p++],p=p%e;if(r=(r+1)%e,r===i&&(i=(i+1)%e),u-o<t)return;const E=c&&u-c;return E?Math.round(g*1e3/E):void 0}}function qo(e,t){let n=0,s=1e3/t,r,i;const o=(u,c=Date.now())=>{n=c,r=null,i&&(clearTimeout(i),i=null),e(...u)};return[(...u)=>{const c=Date.now(),p=c-n;p>=s?o(u,c):(r=u,i||(i=setTimeout(()=>{i=null,o(r)},s-p)))},()=>r&&o(r)]}const Ie=(e,t,n=3)=>{let s=0;const r=Ko(50,250);return qo(i=>{const o=i.loaded,a=i.lengthComputable?i.total:void 0,l=o-s,u=r(l),c=o<=a;s=o;const p={loaded:o,total:a,progress:a?o/a:void 0,bytes:l,rate:u||void 0,estimated:u&&a&&c?(a-o)/u:void 0,event:i,lengthComputable:a!=null,[t?"download":"upload"]:!0};e(p)},n)},hs=(e,t)=>{const n=e!=null;return[s=>t[0]({lengthComputable:n,total:e,loaded:s}),t[1]]},ps=e=>(...t)=>f.asap(()=>e(...t)),zo=M.hasStandardBrowserEnv?((e,t)=>n=>(n=new URL(n,M.origin),e.protocol===n.protocol&&e.host===n.host&&(t||e.port===n.port)))(new URL(M.origin),M.navigator&&/(msie|trident)/i.test(M.navigator.userAgent)):()=>!0,Yo=M.hasStandardBrowserEnv?{write(e,t,n,s,r,i){const o=[e+"="+encodeURIComponent(t)];f.isNumber(n)&&o.push("expires="+new Date(n).toGMTString()),f.isString(s)&&o.push("path="+s),f.isString(r)&&o.push("domain="+r),i===!0&&o.push("secure"),document.cookie=o.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function Go(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function Xo(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function Tr(e,t,n){let s=!Go(t);return e&&(s||n==!1)?Xo(e,t):t}const ms=e=>e instanceof U?{...e}:e;function Dt(e,t){t=t||{};const n={};function s(u,c,p,g){return f.isPlainObject(u)&&f.isPlainObject(c)?f.merge.call({caseless:g},u,c):f.isPlainObject(c)?f.merge({},c):f.isArray(c)?c.slice():c}function r(u,c,p,g){if(f.isUndefined(c)){if(!f.isUndefined(u))return s(void 0,u,p,g)}else return s(u,c,p,g)}function i(u,c){if(!f.isUndefined(c))return s(void 0,c)}function o(u,c){if(f.isUndefined(c)){if(!f.isUndefined(u))return s(void 0,u)}else return s(void 0,c)}function a(u,c,p){if(p in t)return s(u,c);if(p in e)return s(void 0,u)}const l={url:i,method:i,data:i,baseURL:o,transformRequest:o,transformResponse:o,paramsSerializer:o,timeout:o,timeoutMessage:o,withCredentials:o,withXSRFToken:o,adapter:o,responseType:o,xsrfCookieName:o,xsrfHeaderName:o,onUploadProgress:o,onDownloadProgress:o,decompress:o,maxContentLength:o,maxBodyLength:o,beforeRedirect:o,transport:o,httpAgent:o,httpsAgent:o,cancelToken:o,socketPath:o,responseEncoding:o,validateStatus:a,headers:(u,c,p)=>r(ms(u),ms(c),p,!0)};return f.forEach(Object.keys({...e,...t}),function(c){const p=l[c]||r,g=p(e[c],t[c],c);f.isUndefined(g)&&p!==a||(n[c]=g)}),n}const wr=e=>{const t=Dt({},e);let{data:n,withXSRFToken:s,xsrfHeaderName:r,xsrfCookieName:i,headers:o,auth:a}=t;if(t.headers=o=U.from(o),t.url=Er(Tr(t.baseURL,t.url,t.allowAbsoluteUrls),e.params,e.paramsSerializer),a&&o.set("Authorization","Basic "+btoa((a.username||"")+":"+(a.password?unescape(encodeURIComponent(a.password)):""))),f.isFormData(n)){if(M.hasStandardBrowserEnv||M.hasStandardBrowserWebWorkerEnv)o.setContentType(void 0);else if(f.isFunction(n.getHeaders)){const l=n.getHeaders(),u=["content-type","content-length"];Object.entries(l).forEach(([c,p])=>{u.includes(c.toLowerCase())&&o.set(c,p)})}}if(M.hasStandardBrowserEnv&&(s&&f.isFunction(s)&&(s=s(t)),s||s!==!1&&zo(t.url))){const l=r&&i&&Yo.read(i);l&&o.set(r,l)}return t},Jo=typeof XMLHttpRequest<"u",Qo=Jo&&function(e){return new Promise(function(n,s){const r=wr(e);let i=r.data;const o=U.from(r.headers).normalize();let{responseType:a,onUploadProgress:l,onDownloadProgress:u}=r,c,p,g,E,d;function _(){E&&E(),d&&d(),r.cancelToken&&r.cancelToken.unsubscribe(c),r.signal&&r.signal.removeEventListener("abort",c)}let m=new XMLHttpRequest;m.open(r.method.toUpperCase(),r.url,!0),m.timeout=r.timeout;function y(){if(!m)return;const T=U.from("getAllResponseHeaders"in m&&m.getAllResponseHeaders()),w={data:!a||a==="text"||a==="json"?m.responseText:m.response,status:m.status,statusText:m.statusText,headers:T,config:e,request:m};Ar(function(S){n(S),_()},function(S){s(S),_()},w),m=null}"onloadend"in m?m.onloadend=y:m.onreadystatechange=function(){!m||m.readyState!==4||m.status===0&&!(m.responseURL&&m.responseURL.indexOf("file:")===0)||setTimeout(y)},m.onabort=function(){m&&(s(new A("Request aborted",A.ECONNABORTED,e,m)),m=null)},m.onerror=function(v){const w=v&&v.message?v.message:"Network Error",O=new A(w,A.ERR_NETWORK,e,m);O.event=v||null,s(O),m=null},m.ontimeout=function(){let v=r.timeout?"timeout of "+r.timeout+"ms exceeded":"timeout exceeded";const w=r.transitional||br;r.timeoutErrorMessage&&(v=r.timeoutErrorMessage),s(new A(v,w.clarifyTimeoutError?A.ETIMEDOUT:A.ECONNABORTED,e,m)),m=null},i===void 0&&o.setContentType(null),"setRequestHeader"in m&&f.forEach(o.toJSON(),function(v,w){m.setRequestHeader(w,v)}),f.isUndefined(r.withCredentials)||(m.withCredentials=!!r.withCredentials),a&&a!=="json"&&(m.responseType=r.responseType),u&&([g,d]=Ie(u,!0),m.addEventListener("progress",g)),l&&m.upload&&([p,E]=Ie(l),m.upload.addEventListener("progress",p),m.upload.addEventListener("loadend",E)),(r.cancelToken||r.signal)&&(c=T=>{m&&(s(!T||T.type?new Xt(null,e,m):T),m.abort(),m=null)},r.cancelToken&&r.cancelToken.subscribe(c),r.signal&&(r.signal.aborted?c():r.signal.addEventListener("abort",c)));const C=Wo(r.url);if(C&&M.protocols.indexOf(C)===-1){s(new A("Unsupported protocol "+C+":",A.ERR_BAD_REQUEST,e));return}m.send(i||null)})},Zo=(e,t)=>{const{length:n}=e=e?e.filter(Boolean):[];if(t||n){let s=new AbortController,r;const i=function(u){if(!r){r=!0,a();const c=u instanceof Error?u:this.reason;s.abort(c instanceof A?c:new Xt(c instanceof Error?c.message:c))}};let o=t&&setTimeout(()=>{o=null,i(new A(`timeout ${t} of ms exceeded`,A.ETIMEDOUT))},t);const a=()=>{e&&(o&&clearTimeout(o),o=null,e.forEach(u=>{u.unsubscribe?u.unsubscribe(i):u.removeEventListener("abort",i)}),e=null)};e.forEach(u=>u.addEventListener("abort",i));const{signal:l}=s;return l.unsubscribe=()=>f.asap(a),l}},ta=function*(e,t){let n=e.byteLength;if(n<t){yield e;return}let s=0,r;for(;s<n;)r=s+t,yield e.slice(s,r),s=r},ea=async function*(e,t){for await(const n of na(e))yield*ta(n,t)},na=async function*(e){if(e[Symbol.asyncIterator]){yield*e;return}const t=e.getReader();try{for(;;){const{done:n,value:s}=await t.read();if(n)break;yield s}}finally{await t.cancel()}},_s=(e,t,n,s)=>{const r=ea(e,t);let i=0,o,a=l=>{o||(o=!0,s&&s(l))};return new ReadableStream({async pull(l){try{const{done:u,value:c}=await r.next();if(u){a(),l.close();return}let p=c.byteLength;if(n){let g=i+=p;n(g)}l.enqueue(new Uint8Array(c))}catch(u){throw a(u),u}},cancel(l){return a(l),r.return()}},{highWaterMark:2})},gs=64*1024,{isFunction:be}=f,sa=(({Request:e,Response:t})=>({Request:e,Response:t}))(f.global),{ReadableStream:Es,TextEncoder:bs}=f.global,vs=(e,...t)=>{try{return!!e(...t)}catch{return!1}},ra=e=>{e=f.merge.call({skipUndefined:!0},sa,e);const{fetch:t,Request:n,Response:s}=e,r=t?be(t):typeof fetch=="function",i=be(n),o=be(s);if(!r)return!1;const a=r&&be(Es),l=r&&(typeof bs=="function"?(d=>_=>d.encode(_))(new bs):async d=>new Uint8Array(await new n(d).arrayBuffer())),u=i&&a&&vs(()=>{let d=!1;const _=new n(M.origin,{body:new Es,method:"POST",get duplex(){return d=!0,"half"}}).headers.has("Content-Type");return d&&!_}),c=o&&a&&vs(()=>f.isReadableStream(new s("").body)),p={stream:c&&(d=>d.body)};r&&["text","arrayBuffer","blob","formData","stream"].forEach(d=>{!p[d]&&(p[d]=(_,m)=>{let y=_&&_[d];if(y)return y.call(_);throw new A(`Response type '${d}' is not supported`,A.ERR_NOT_SUPPORT,m)})});const g=async d=>{if(d==null)return 0;if(f.isBlob(d))return d.size;if(f.isSpecCompliantForm(d))return(await new n(M.origin,{method:"POST",body:d}).arrayBuffer()).byteLength;if(f.isArrayBufferView(d)||f.isArrayBuffer(d))return d.byteLength;if(f.isURLSearchParams(d)&&(d=d+""),f.isString(d))return(await l(d)).byteLength},E=async(d,_)=>{const m=f.toFiniteNumber(d.getContentLength());return m??g(_)};return async d=>{let{url:_,method:m,data:y,signal:C,cancelToken:T,timeout:v,onDownloadProgress:w,onUploadProgress:O,responseType:S,headers:R,withCredentials:D="same-origin",fetchOptions:L}=wr(d),x=t||fetch;S=S?(S+"").toLowerCase():"text";let P=Zo([C,T&&T.toAbortSignal()],v),$=null;const k=P&&P.unsubscribe&&(()=>{P.unsubscribe()});let rt;try{if(O&&u&&m!=="get"&&m!=="head"&&(rt=await E(R,y))!==0){let Y=new n(_,{method:"POST",body:y,duplex:"half"}),G;if(f.isFormData(y)&&(G=Y.headers.get("content-type"))&&R.setContentType(G),Y.body){const[pt,tt]=hs(rt,Ie(ps(O)));y=_s(Y.body,gs,pt,tt)}}f.isString(D)||(D=D?"include":"omit");const N=i&&"credentials"in n.prototype,H={...L,signal:P,method:m.toUpperCase(),headers:R.normalize().toJSON(),body:y,duplex:"half",credentials:N?D:void 0};$=i&&new n(_,H);let W=await(i?x($,L):x(_,H));const it=c&&(S==="stream"||S==="response");if(c&&(w||it&&k)){const Y={};["status","statusText","headers"].forEach(et=>{Y[et]=W[et]});const G=f.toFiniteNumber(W.headers.get("content-length")),[pt,tt]=w&&hs(G,Ie(ps(w),!0))||[];W=new s(_s(W.body,gs,pt,()=>{tt&&tt(),k&&k()}),Y)}S=S||"text";let xt=await p[f.findKey(p,S)||"text"](W,d);return!it&&k&&k(),await new Promise((Y,G)=>{Ar(Y,G,{data:xt,headers:U.from(W.headers),status:W.status,statusText:W.statusText,config:d,request:$})})}catch(N){throw k&&k(),N&&N.name==="TypeError"&&/Load failed|fetch/i.test(N.message)?Object.assign(new A("Network Error",A.ERR_NETWORK,d,$),{cause:N.cause||N}):A.from(N,N&&N.code,d,$)}}},ia=new Map,Or=e=>{let t=e?e.env:{};const{fetch:n,Request:s,Response:r}=t,i=[s,r,n];let o=i.length,a=o,l,u,c=ia;for(;a--;)l=i[a],u=c.get(l),u===void 0&&c.set(l,u=a?new Map:ra(t)),c=u;return u};Or();const Tn={http:Ao,xhr:Qo,fetch:{get:Or}};f.forEach(Tn,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const ys=e=>`- ${e}`,oa=e=>f.isFunction(e)||e===null||e===!1,Sr={getAdapter:(e,t)=>{e=f.isArray(e)?e:[e];const{length:n}=e;let s,r;const i={};for(let o=0;o<n;o++){s=e[o];let a;if(r=s,!oa(s)&&(r=Tn[(a=String(s)).toLowerCase()],r===void 0))throw new A(`Unknown adapter '${a}'`);if(r&&(f.isFunction(r)||(r=r.get(t))))break;i[a||"#"+o]=r}if(!r){const o=Object.entries(i).map(([l,u])=>`adapter ${l} `+(u===!1?"is not supported by the environment":"is not available in the build"));let a=n?o.length>1?`since : `+o.map(ys).join(` `):" "+ys(o[0]):"as no adapter specified";throw new A("There is no suitable adapter to dispatch the request "+a,"ERR_NOT_SUPPORT")}return r},adapters:Tn};function nn(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new Xt(null,e)}function As(e){return nn(e),e.headers=U.from(e.headers),e.data=en.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),Sr.getAdapter(e.adapter||fe.adapter,e)(e).then(function(s){return nn(e),s.data=en.call(e,e.transformResponse,s),s.headers=U.from(s.headers),s},function(s){return yr(s)||(nn(e),s&&s.response&&(s.response.data=en.call(e,e.transformResponse,s.response),s.response.headers=U.from(s.response.headers))),Promise.reject(s)})}const Cr="1.12.2",je={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{je[e]=function(s){return typeof s===e||"a"+(t<1?"n ":" ")+e}});const Ts={};je.transitional=function(t,n,s){function r(i,o){return"[Axios v"+Cr+"] Transitional option '"+i+"'"+o+(s?". "+s:"")}return(i,o,a)=>{if(t===!1)throw new A(r(o," has been removed"+(n?" in "+n:"")),A.ERR_DEPRECATED);return n&&!Ts[o]&&(Ts[o]=!0,console.warn(r(o," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(i,o,a):!0}};je.spelling=function(t){return(n,s)=>(console.warn(`${s} is likely a misspelling of ${t}`),!0)};function aa(e,t,n){if(typeof e!="object")throw new A("options must be an object",A.ERR_BAD_OPTION_VALUE);const s=Object.keys(e);let r=s.length;for(;r-- >0;){const i=s[r],o=t[i];if(o){const a=e[i],l=a===void 0||o(a,i,e);if(l!==!0)throw new A("option "+i+" must be "+l,A.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new A("Unknown option "+i,A.ERR_BAD_OPTION)}}const De={assertOptions:aa,validators:je},ot=De.validators;let Ct=class{constructor(t){this.defaults=t||{},this.interceptors={request:new fs,response:new fs}}async request(t,n){try{return await this._request(t,n)}catch(s){if(s instanceof Error){let r={};Error.captureStackTrace?Error.captureStackTrace(r):r=new Error;const i=r.stack?r.stack.replace(/^.+\n/,""):"";try{s.stack?i&&!String(s.stack).endsWith(i.replace(/^.+\n.+\n/,""))&&(s.stack+=` `+i):s.stack=i}catch{}}throw s}}_request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=Dt(this.defaults,n);const{transitional:s,paramsSerializer:r,headers:i}=n;s!==void 0&&De.assertOptions(s,{silentJSONParsing:ot.transitional(ot.boolean),forcedJSONParsing:ot.transitional(ot.boolean),clarifyTimeoutError:ot.transitional(ot.boolean)},!1),r!=null&&(f.isFunction(r)?n.paramsSerializer={serialize:r}:De.assertOptions(r,{encode:ot.function,serialize:ot.function},!0)),n.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls!==void 0?n.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:n.allowAbsoluteUrls=!0),De.assertOptions(n,{baseUrl:ot.spelling("baseURL"),withXsrfToken:ot.spelling("withXSRFToken")},!0),n.method=(n.method||this.defaults.method||"get").toLowerCase();let o=i&&f.merge(i.common,i[n.method]);i&&f.forEach(["delete","get","head","post","put","patch","common"],d=>{delete i[d]}),n.headers=U.concat(o,i);const a=[];let l=!0;this.interceptors.request.forEach(function(_){typeof _.runWhen=="function"&&_.runWhen(n)===!1||(l=l&&_.synchronous,a.unshift(_.fulfilled,_.rejected))});const u=[];this.interceptors.response.forEach(function(_){u.push(_.fulfilled,_.rejected)});let c,p=0,g;if(!l){const d=[As.bind(this),void 0];for(d.unshift(...a),d.push(...u),g=d.length,c=Promise.resolve(n);p<g;)c=c.then(d[p++],d[p++]);return c}g=a.length;let E=n;for(;p<g;){const d=a[p++],_=a[p++];try{E=d(E)}catch(m){_.call(this,m);break}}try{c=As.call(this,E)}catch(d){return Promise.reject(d)}for(p=0,g=u.length;p<g;)c=c.then(u[p++],u[p++]);return c}getUri(t){t=Dt(this.defaults,t);const n=Tr(t.baseURL,t.url,t.allowAbsoluteUrls);return Er(n,t.params,t.paramsSerializer)}};f.forEach(["delete","get","head","options"],function(t){Ct.prototype[t]=function(n,s){return this.request(Dt(s||{},{method:t,url:n,data:(s||{}).data}))}});f.forEach(["post","put","patch"],function(t){function n(s){return function(i,o,a){return this.request(Dt(a||{},{method:t,headers:s?{"Content-Type":"multipart/form-data"}:{},url:i,data:o}))}}Ct.prototype[t]=n(),Ct.prototype[t+"Form"]=n(!0)});let ca=class Nr{constructor(t){if(typeof t!="function")throw new TypeError("executor must be a function.");let n;this.promise=new Promise(function(i){n=i});const s=this;this.promise.then(r=>{if(!s._listeners)return;let i=s._listeners.length;for(;i-- >0;)s._listeners[i](r);s._listeners=null}),this.promise.then=r=>{let i;const o=new Promise(a=>{s.subscribe(a),i=a}).then(r);return o.cancel=function(){s.unsubscribe(i)},o},t(function(i,o,a){s.reason||(s.reason=new Xt(i,o,a),n(s.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 n=this._listeners.indexOf(t);n!==-1&&this._listeners.splice(n,1)}toAbortSignal(){const t=new AbortController,n=s=>{t.abort(s)};return this.subscribe(n),t.signal.unsubscribe=()=>this.unsubscribe(n),t.signal}static source(){let t;return{token:new Nr(function(r){t=r}),cancel:t}}};function la(e){return function(n){return e.apply(null,n)}}function ua(e){return f.isObject(e)&&e.isAxiosError===!0}const wn={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};Object.entries(wn).forEach(([e,t])=>{wn[t]=e});function Dr(e){const t=new Ct(e),n=or(Ct.prototype.request,t);return f.extend(n,Ct.prototype,t,{allOwnKeys:!0}),f.extend(n,t,null,{allOwnKeys:!0}),n.create=function(r){return Dr(Dt(e,r))},n}const I=Dr(fe);I.Axios=Ct;I.CanceledError=Xt;I.CancelToken=ca;I.isCancel=yr;I.VERSION=Cr;I.toFormData=Be;I.AxiosError=A;I.Cancel=I.CanceledError;I.all=function(t){return Promise.all(t)};I.spread=la;I.isAxiosError=ua;I.mergeConfig=Dt;I.AxiosHeaders=U;I.formToJSON=e=>vr(f.isHTMLForm(e)?new FormData(e):e);I.getAdapter=Sr.getAdapter;I.HttpStatusCode=wn;I.default=I;const{Axios:hd,AxiosError:pd,CanceledError:md,isCancel:_d,CancelToken:gd,VERSION:Ed,all:bd,Cancel:vd,isAxiosError:yd,spread:Ad,toFormData:Td,AxiosHeaders:wd,HttpStatusCode:Od,formToJSON:Sd,getAdapter:Cd,mergeConfig:Nd}=I;window.axios=I;window.axios.defaults.headers.common["X-Requested-With"]="XMLHttpRequest";var F="top",K="bottom",q="right",V="left",Ue="auto",Jt=[F,K,q,V],Lt="start",jt="end",Lr="clippingParents",Pn="viewport",kt="popper",Rr="reference",On=Jt.reduce(function(e,t){return e.concat([t+"-"+Lt,t+"-"+jt])},[]),Mn=[].concat(Jt,[Ue]).reduce(function(e,t){return e.concat([t,t+"-"+Lt,t+"-"+jt])},[]),$r="beforeRead",Ir="read",xr="afterRead",Pr="beforeMain",Mr="main",kr="afterMain",Fr="beforeWrite",Vr="write",Hr="afterWrite",Br=[$r,Ir,xr,Pr,Mr,kr,Fr,Vr,Hr];function lt(e){return e?(e.nodeName||"").toLowerCase():null}function z(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function Rt(e){var t=z(e).Element;return e instanceof t||e instanceof Element}function X(e){var t=z(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function kn(e){if(typeof ShadowRoot>"u")return!1;var t=z(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function fa(e){var t=e.state;Object.keys(t.elements).forEach(function(n){var s=t.styles[n]||{},r=t.attributes[n]||{},i=t.elements[n];!X(i)||!lt(i)||(Object.assign(i.style,s),Object.keys(r).forEach(function(o){var a=r[o];a===!1?i.removeAttribute(o):i.setAttribute(o,a===!0?"":a)}))})}function da(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach(function(s){var r=t.elements[s],i=t.attributes[s]||{},o=Object.keys(t.styles.hasOwnProperty(s)?t.styles[s]:n[s]),a=o.reduce(function(l,u){return l[u]="",l},{});!X(r)||!lt(r)||(Object.assign(r.style,a),Object.keys(i).forEach(function(l){r.removeAttribute(l)}))})}}const Fn={name:"applyStyles",enabled:!0,phase:"write",fn:fa,effect:da,requires:["computeStyles"]};function at(e){return e.split("-")[0]}var Nt=Math.max,xe=Math.min,Ut=Math.round;function Sn(){var e=navigator.userAgentData;return e!=null&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(t){return t.brand+"/"+t.version}).join(" "):navigator.userAgent}function jr(){return!/^((?!chrome|android).)*safari/i.test(Sn())}function Wt(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!1);var s=e.getBoundingClientRect(),r=1,i=1;t&&X(e)&&(r=e.offsetWidth>0&&Ut(s.width)/e.offsetWidth||1,i=e.offsetHeight>0&&Ut(s.height)/e.offsetHeight||1);var o=Rt(e)?z(e):window,a=o.visualViewport,l=!jr()&&n,u=(s.left+(l&&a?a.offsetLeft:0))/r,c=(s.top+(l&&a?a.offsetTop:0))/i,p=s.width/r,g=s.height/i;return{width:p,height:g,top:c,right:u+p,bottom:c+g,left:u,x:u,y:c}}function Vn(e){var t=Wt(e),n=e.offsetWidth,s=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-s)<=1&&(s=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:s}}function Ur(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&kn(n)){var s=t;do{if(s&&e.isSameNode(s))return!0;s=s.parentNode||s.host}while(s)}return!1}function dt(e){return z(e).getComputedStyle(e)}function ha(e){return["table","td","th"].indexOf(lt(e))>=0}function bt(e){return((Rt(e)?e.ownerDocument:e.document)||window.document).documentElement}function We(e){return lt(e)==="html"?e:e.assignedSlot||e.parentNode||(kn(e)?e.host:null)||bt(e)}function ws(e){return!X(e)||dt(e).position==="fixed"?null:e.offsetParent}function pa(e){var t=/firefox/i.test(Sn()),n=/Trident/i.test(Sn());if(n&&X(e)){var s=dt(e);if(s.position==="fixed")return null}var r=We(e);for(kn(r)&&(r=r.host);X(r)&&["html","body"].indexOf(lt(r))<0;){var i=dt(r);if(i.transform!=="none"||i.perspective!=="none"||i.contain==="paint"||["transform","perspective"].indexOf(i.willChange)!==-1||t&&i.willChange==="filter"||t&&i.filter&&i.filter!=="none")return r;r=r.parentNode}return null}function de(e){for(var t=z(e),n=ws(e);n&&ha(n)&&dt(n).position==="static";)n=ws(n);return n&&(lt(n)==="html"||lt(n)==="body"&&dt(n).position==="static")?t:n||pa(e)||t}function Hn(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function ie(e,t,n){return Nt(e,xe(t,n))}function ma(e,t,n){var s=ie(e,t,n);return s>n?n:s}function Wr(){return{top:0,right:0,bottom:0,left:0}}function Kr(e){return Object.assign({},Wr(),e)}function qr(e,t){return t.reduce(function(n,s){return n[s]=e,n},{})}var _a=function(t,n){return t=typeof t=="function"?t(Object.assign({},n.rects,{placement:n.placement})):t,Kr(typeof t!="number"?t:qr(t,Jt))};function ga(e){var t,n=e.state,s=e.name,r=e.options,i=n.elements.arrow,o=n.modifiersData.popperOffsets,a=at(n.placement),l=Hn(a),u=[V,q].indexOf(a)>=0,c=u?"height":"width";if(!(!i||!o)){var p=_a(r.padding,n),g=Vn(i),E=l==="y"?F:V,d=l==="y"?K:q,_=n.rects.reference[c]+n.rects.reference[l]-o[l]-n.rects.popper[c],m=o[l]-n.rects.reference[l],y=de(i),C=y?l==="y"?y.clientHeight||0:y.clientWidth||0:0,T=_/2-m/2,v=p[E],w=C-g[c]-p[d],O=C/2-g[c]/2+T,S=ie(v,O,w),R=l;n.modifiersData[s]=(t={},t[R]=S,t.centerOffset=S-O,t)}}function Ea(e){var t=e.state,n=e.options,s=n.element,r=s===void 0?"[data-popper-arrow]":s;r!=null&&(typeof r=="string"&&(r=t.elements.popper.querySelector(r),!r)||Ur(t.elements.popper,r)&&(t.elements.arrow=r))}const zr={name:"arrow",enabled:!0,phase:"main",fn:ga,effect:Ea,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Kt(e){return e.split("-")[1]}var ba={top:"auto",right:"auto",bottom:"auto",left:"auto"};function va(e,t){var n=e.x,s=e.y,r=t.devicePixelRatio||1;return{x:Ut(n*r)/r||0,y:Ut(s*r)/r||0}}function Os(e){var t,n=e.popper,s=e.popperRect,r=e.placement,i=e.variation,o=e.offsets,a=e.position,l=e.gpuAcceleration,u=e.adaptive,c=e.roundOffsets,p=e.isFixed,g=o.x,E=g===void 0?0:g,d=o.y,_=d===void 0?0:d,m=typeof c=="function"?c({x:E,y:_}):{x:E,y:_};E=m.x,_=m.y;var y=o.hasOwnProperty("x"),C=o.hasOwnProperty("y"),T=V,v=F,w=window;if(u){var O=de(n),S="clientHeight",R="clientWidth";if(O===z(n)&&(O=bt(n),dt(O).position!=="static"&&a==="absolute"&&(S="scrollHeight",R="scrollWidth")),O=O,r===F||(r===V||r===q)&&i===jt){v=K;var D=p&&O===w&&w.visualViewport?w.visualViewport.height:O[S];_-=D-s.height,_*=l?1:-1}if(r===V||(r===F||r===K)&&i===jt){T=q;var L=p&&O===w&&w.visualViewport?w.visualViewport.width:O[R];E-=L-s.width,E*=l?1:-1}}var x=Object.assign({position:a},u&&ba),P=c===!0?va({x:E,y:_},z(n)):{x:E,y:_};if(E=P.x,_=P.y,l){var $;return Object.assign({},x,($={},$[v]=C?"0":"",$[T]=y?"0":"",$.transform=(w.devicePixelRatio||1)<=1?"translate("+E+"px, "+_+"px)":"translate3d("+E+"px, "+_+"px, 0)",$))}return Object.assign({},x,(t={},t[v]=C?_+"px":"",t[T]=y?E+"px":"",t.transform="",t))}function ya(e){var t=e.state,n=e.options,s=n.gpuAcceleration,r=s===void 0?!0:s,i=n.adaptive,o=i===void 0?!0:i,a=n.roundOffsets,l=a===void 0?!0:a,u={placement:at(t.placement),variation:Kt(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:r,isFixed:t.options.strategy==="fixed"};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,Os(Object.assign({},u,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:o,roundOffsets:l})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,Os(Object.assign({},u,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}const Bn={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:ya,data:{}};var ve={passive:!0};function Aa(e){var t=e.state,n=e.instance,s=e.options,r=s.scroll,i=r===void 0?!0:r,o=s.resize,a=o===void 0?!0:o,l=z(t.elements.popper),u=[].concat(t.scrollParents.reference,t.scrollParents.popper);return i&&u.forEach(function(c){c.addEventListener("scroll",n.update,ve)}),a&&l.addEventListener("resize",n.update,ve),function(){i&&u.forEach(function(c){c.removeEventListener("scroll",n.update,ve)}),a&&l.removeEventListener("resize",n.update,ve)}}const jn={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:Aa,data:{}};var Ta={left:"right",right:"left",bottom:"top",top:"bottom"};function Le(e){return e.replace(/left|right|bottom|top/g,function(t){return Ta[t]})}var wa={start:"end",end:"start"};function Ss(e){return e.replace(/start|end/g,function(t){return wa[t]})}function Un(e){var t=z(e),n=t.pageXOffset,s=t.pageYOffset;return{scrollLeft:n,scrollTop:s}}function Wn(e){return Wt(bt(e)).left+Un(e).scrollLeft}function Oa(e,t){var n=z(e),s=bt(e),r=n.visualViewport,i=s.clientWidth,o=s.clientHeight,a=0,l=0;if(r){i=r.width,o=r.height;var u=jr();(u||!u&&t==="fixed")&&(a=r.offsetLeft,l=r.offsetTop)}return{width:i,height:o,x:a+Wn(e),y:l}}function Sa(e){var t,n=bt(e),s=Un(e),r=(t=e.ownerDocument)==null?void 0:t.body,i=Nt(n.scrollWidth,n.clientWidth,r?r.scrollWidth:0,r?r.clientWidth:0),o=Nt(n.scrollHeight,n.clientHeight,r?r.scrollHeight:0,r?r.clientHeight:0),a=-s.scrollLeft+Wn(e),l=-s.scrollTop;return dt(r||n).direction==="rtl"&&(a+=Nt(n.clientWidth,r?r.clientWidth:0)-i),{width:i,height:o,x:a,y:l}}function Kn(e){var t=dt(e),n=t.overflow,s=t.overflowX,r=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+r+s)}function Yr(e){return["html","body","#document"].indexOf(lt(e))>=0?e.ownerDocument.body:X(e)&&Kn(e)?e:Yr(We(e))}function oe(e,t){var n;t===void 0&&(t=[]);var s=Yr(e),r=s===((n=e.ownerDocument)==null?void 0:n.body),i=z(s),o=r?[i].concat(i.visualViewport||[],Kn(s)?s:[]):s,a=t.concat(o);return r?a:a.concat(oe(We(o)))}function Cn(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function Ca(e,t){var n=Wt(e,!1,t==="fixed");return n.top=n.top+e.clientTop,n.left=n.left+e.clientLeft,n.bottom=n.top+e.clientHeight,n.right=n.left+e.clientWidth,n.width=e.clientWidth,n.height=e.clientHeight,n.x=n.left,n.y=n.top,n}function Cs(e,t,n){return t===Pn?Cn(Oa(e,n)):Rt(t)?Ca(t,n):Cn(Sa(bt(e)))}function Na(e){var t=oe(We(e)),n=["absolute","fixed"].indexOf(dt(e).position)>=0,s=n&&X(e)?de(e):e;return Rt(s)?t.filter(function(r){return Rt(r)&&Ur(r,s)&<(r)!=="body"}):[]}function Da(e,t,n,s){var r=t==="clippingParents"?Na(e):[].concat(t),i=[].concat(r,[n]),o=i[0],a=i.reduce(function(l,u){var c=Cs(e,u,s);return l.top=Nt(c.top,l.top),l.right=xe(c.right,l.right),l.bottom=xe(c.bottom,l.bottom),l.left=Nt(c.left,l.left),l},Cs(e,o,s));return a.width=a.right-a.left,a.height=a.bottom-a.top,a.x=a.left,a.y=a.top,a}function Gr(e){var t=e.reference,n=e.element,s=e.placement,r=s?at(s):null,i=s?Kt(s):null,o=t.x+t.width/2-n.width/2,a=t.y+t.height/2-n.height/2,l;switch(r){case F:l={x:o,y:t.y-n.height};break;case K:l={x:o,y:t.y+t.height};break;case q:l={x:t.x+t.width,y:a};break;case V:l={x:t.x-n.width,y:a};break;default:l={x:t.x,y:t.y}}var u=r?Hn(r):null;if(u!=null){var c=u==="y"?"height":"width";switch(i){case Lt:l[u]=l[u]-(t[c]/2-n[c]/2);break;case jt:l[u]=l[u]+(t[c]/2-n[c]/2);break}}return l}function qt(e,t){t===void 0&&(t={});var n=t,s=n.placement,r=s===void 0?e.placement:s,i=n.strategy,o=i===void 0?e.strategy:i,a=n.boundary,l=a===void 0?Lr:a,u=n.rootBoundary,c=u===void 0?Pn:u,p=n.elementContext,g=p===void 0?kt:p,E=n.altBoundary,d=E===void 0?!1:E,_=n.padding,m=_===void 0?0:_,y=Kr(typeof m!="number"?m:qr(m,Jt)),C=g===kt?Rr:kt,T=e.rects.popper,v=e.elements[d?C:g],w=Da(Rt(v)?v:v.contextElement||bt(e.elements.popper),l,c,o),O=Wt(e.elements.reference),S=Gr({reference:O,element:T,placement:r}),R=Cn(Object.assign({},T,S)),D=g===kt?R:O,L={top:w.top-D.top+y.top,bottom:D.bottom-w.bottom+y.bottom,left:w.left-D.left+y.left,right:D.right-w.right+y.right},x=e.modifiersData.offset;if(g===kt&&x){var P=x[r];Object.keys(L).forEach(function($){var k=[q,K].indexOf($)>=0?1:-1,rt=[F,K].indexOf($)>=0?"y":"x";L[$]+=P[rt]*k})}return L}function La(e,t){t===void 0&&(t={});var n=t,s=n.placement,r=n.boundary,i=n.rootBoundary,o=n.padding,a=n.flipVariations,l=n.allowedAutoPlacements,u=l===void 0?Mn:l,c=Kt(s),p=c?a?On:On.filter(function(d){return Kt(d)===c}):Jt,g=p.filter(function(d){return u.indexOf(d)>=0});g.length===0&&(g=p);var E=g.reduce(function(d,_){return d[_]=qt(e,{placement:_,boundary:r,rootBoundary:i,padding:o})[at(_)],d},{});return Object.keys(E).sort(function(d,_){return E[d]-E[_]})}function Ra(e){if(at(e)===Ue)return[];var t=Le(e);return[Ss(e),t,Ss(t)]}function $a(e){var t=e.state,n=e.options,s=e.name;if(!t.modifiersData[s]._skip){for(var r=n.mainAxis,i=r===void 0?!0:r,o=n.altAxis,a=o===void 0?!0:o,l=n.fallbackPlacements,u=n.padding,c=n.boundary,p=n.rootBoundary,g=n.altBoundary,E=n.flipVariations,d=E===void 0?!0:E,_=n.allowedAutoPlacements,m=t.options.placement,y=at(m),C=y===m,T=l||(C||!d?[Le(m)]:Ra(m)),v=[m].concat(T).reduce(function(tt,et){return tt.concat(at(et)===Ue?La(t,{placement:et,boundary:c,rootBoundary:p,padding:u,flipVariations:d,allowedAutoPlacements:_}):et)},[]),w=t.rects.reference,O=t.rects.popper,S=new Map,R=!0,D=v[0],L=0;L<v.length;L++){var x=v[L],P=at(x),$=Kt(x)===Lt,k=[F,K].indexOf(P)>=0,rt=k?"width":"height",N=qt(t,{placement:x,boundary:c,rootBoundary:p,altBoundary:g,padding:u}),H=k?$?q:V:$?K:F;w[rt]>O[rt]&&(H=Le(H));var W=Le(H),it=[];if(i&&it.push(N[P]<=0),a&&it.push(N[H]<=0,N[W]<=0),it.every(function(tt){return tt})){D=x,R=!1;break}S.set(x,it)}if(R)for(var xt=d?3:1,Y=function(et){var ee=v.find(function(ge){var At=S.get(ge);if(At)return At.slice(0,et).every(function(Je){return Je})});if(ee)return D=ee,"break"},G=xt;G>0;G--){var pt=Y(G);if(pt==="break")break}t.placement!==D&&(t.modifiersData[s]._skip=!0,t.placement=D,t.reset=!0)}}const Xr={name:"flip",enabled:!0,phase:"main",fn:$a,requiresIfExists:["offset"],data:{_skip:!1}};function Ns(e,t,n){return n===void 0&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function Ds(e){return[F,q,K,V].some(function(t){return e[t]>=0})}function Ia(e){var t=e.state,n=e.name,s=t.rects.reference,r=t.rects.popper,i=t.modifiersData.preventOverflow,o=qt(t,{elementContext:"reference"}),a=qt(t,{altBoundary:!0}),l=Ns(o,s),u=Ns(a,r,i),c=Ds(l),p=Ds(u);t.modifiersData[n]={referenceClippingOffsets:l,popperEscapeOffsets:u,isReferenceHidden:c,hasPopperEscaped:p},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":c,"data-popper-escaped":p})}const Jr={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:Ia};function xa(e,t,n){var s=at(e),r=[V,F].indexOf(s)>=0?-1:1,i=typeof n=="function"?n(Object.assign({},t,{placement:e})):n,o=i[0],a=i[1];return o=o||0,a=(a||0)*r,[V,q].indexOf(s)>=0?{x:a,y:o}:{x:o,y:a}}function Pa(e){var t=e.state,n=e.options,s=e.name,r=n.offset,i=r===void 0?[0,0]:r,o=Mn.reduce(function(c,p){return c[p]=xa(p,t.rects,i),c},{}),a=o[t.placement],l=a.x,u=a.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=l,t.modifiersData.popperOffsets.y+=u),t.modifiersData[s]=o}const Qr={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:Pa};function Ma(e){var t=e.state,n=e.name;t.modifiersData[n]=Gr({reference:t.rects.reference,element:t.rects.popper,placement:t.placement})}const qn={name:"popperOffsets",enabled:!0,phase:"read",fn:Ma,data:{}};function ka(e){return e==="x"?"y":"x"}function Fa(e){var t=e.state,n=e.options,s=e.name,r=n.mainAxis,i=r===void 0?!0:r,o=n.altAxis,a=o===void 0?!1:o,l=n.boundary,u=n.rootBoundary,c=n.altBoundary,p=n.padding,g=n.tether,E=g===void 0?!0:g,d=n.tetherOffset,_=d===void 0?0:d,m=qt(t,{boundary:l,rootBoundary:u,padding:p,altBoundary:c}),y=at(t.placement),C=Kt(t.placement),T=!C,v=Hn(y),w=ka(v),O=t.modifiersData.popperOffsets,S=t.rects.reference,R=t.rects.popper,D=typeof _=="function"?_(Object.assign({},t.rects,{placement:t.placement})):_,L=typeof D=="number"?{mainAxis:D,altAxis:D}:Object.assign({mainAxis:0,altAxis:0},D),x=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,P={x:0,y:0};if(O){if(i){var $,k=v==="y"?F:V,rt=v==="y"?K:q,N=v==="y"?"height":"width",H=O[v],W=H+m[k],it=H-m[rt],xt=E?-R[N]/2:0,Y=C===Lt?S[N]:R[N],G=C===Lt?-R[N]:-S[N],pt=t.elements.arrow,tt=E&&pt?Vn(pt):{width:0,height:0},et=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:Wr(),ee=et[k],ge=et[rt],At=ie(0,S[N],tt[N]),Je=T?S[N]/2-xt-At-ee-L.mainAxis:Y-At-ee-L.mainAxis,Li=T?-S[N]/2+xt+At+ge+L.mainAxis:G+At+ge+L.mainAxis,Qe=t.elements.arrow&&de(t.elements.arrow),Ri=Qe?v==="y"?Qe.clientTop||0:Qe.clientLeft||0:0,Zn=($=x?.[v])!=null?$:0,$i=H+Je-Zn-Ri,Ii=H+Li-Zn,ts=ie(E?xe(W,$i):W,H,E?Nt(it,Ii):it);O[v]=ts,P[v]=ts-H}if(a){var es,xi=v==="x"?F:V,Pi=v==="x"?K:q,Tt=O[w],Ee=w==="y"?"height":"width",ns=Tt+m[xi],ss=Tt-m[Pi],Ze=[F,V].indexOf(y)!==-1,rs=(es=x?.[w])!=null?es:0,is=Ze?ns:Tt-S[Ee]-R[Ee]-rs+L.altAxis,os=Ze?Tt+S[Ee]+R[Ee]-rs-L.altAxis:ss,as=E&&Ze?ma(is,Tt,os):ie(E?is:ns,Tt,E?os:ss);O[w]=as,P[w]=as-Tt}t.modifiersData[s]=P}}const Zr={name:"preventOverflow",enabled:!0,phase:"main",fn:Fa,requiresIfExists:["offset"]};function Va(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function Ha(e){return e===z(e)||!X(e)?Un(e):Va(e)}function Ba(e){var t=e.getBoundingClientRect(),n=Ut(t.width)/e.offsetWidth||1,s=Ut(t.height)/e.offsetHeight||1;return n!==1||s!==1}function ja(e,t,n){n===void 0&&(n=!1);var s=X(t),r=X(t)&&Ba(t),i=bt(t),o=Wt(e,r,n),a={scrollLeft:0,scrollTop:0},l={x:0,y:0};return(s||!s&&!n)&&((lt(t)!=="body"||Kn(i))&&(a=Ha(t)),X(t)?(l=Wt(t,!0),l.x+=t.clientLeft,l.y+=t.clientTop):i&&(l.x=Wn(i))),{x:o.left+a.scrollLeft-l.x,y:o.top+a.scrollTop-l.y,width:o.width,height:o.height}}function Ua(e){var t=new Map,n=new Set,s=[];e.forEach(function(i){t.set(i.name,i)});function r(i){n.add(i.name);var o=[].concat(i.requires||[],i.requiresIfExists||[]);o.forEach(function(a){if(!n.has(a)){var l=t.get(a);l&&r(l)}}),s.push(i)}return e.forEach(function(i){n.has(i.name)||r(i)}),s}function Wa(e){var t=Ua(e);return Br.reduce(function(n,s){return n.concat(t.filter(function(r){return r.phase===s}))},[])}function Ka(e){var t;return function(){return t||(t=new Promise(function(n){Promise.resolve().then(function(){t=void 0,n(e())})})),t}}function qa(e){var t=e.reduce(function(n,s){var r=n[s.name];return n[s.name]=r?Object.assign({},r,s,{options:Object.assign({},r.options,s.options),data:Object.assign({},r.data,s.data)}):s,n},{});return Object.keys(t).map(function(n){return t[n]})}var Ls={placement:"bottom",modifiers:[],strategy:"absolute"};function Rs(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return!t.some(function(s){return!(s&&typeof s.getBoundingClientRect=="function")})}function Ke(e){e===void 0&&(e={});var t=e,n=t.defaultModifiers,s=n===void 0?[]:n,r=t.defaultOptions,i=r===void 0?Ls:r;return function(a,l,u){u===void 0&&(u=i);var c={placement:"bottom",orderedModifiers:[],options:Object.assign({},Ls,i),modifiersData:{},elements:{reference:a,popper:l},attributes:{},styles:{}},p=[],g=!1,E={state:c,setOptions:function(y){var C=typeof y=="function"?y(c.options):y;_(),c.options=Object.assign({},i,c.options,C),c.scrollParents={reference:Rt(a)?oe(a):a.contextElement?oe(a.contextElement):[],popper:oe(l)};var T=Wa(qa([].concat(s,c.options.modifiers)));return c.orderedModifiers=T.filter(function(v){return v.enabled}),d(),E.update()},forceUpdate:function(){if(!g){var y=c.elements,C=y.reference,T=y.popper;if(Rs(C,T)){c.rects={reference:ja(C,de(T),c.options.strategy==="fixed"),popper:Vn(T)},c.reset=!1,c.placement=c.options.placement,c.orderedModifiers.forEach(function(L){return c.modifiersData[L.name]=Object.assign({},L.data)});for(var v=0;v<c.orderedModifiers.length;v++){if(c.reset===!0){c.reset=!1,v=-1;continue}var w=c.orderedModifiers[v],O=w.fn,S=w.options,R=S===void 0?{}:S,D=w.name;typeof O=="function"&&(c=O({state:c,options:R,name:D,instance:E})||c)}}}},update:Ka(function(){return new Promise(function(m){E.forceUpdate(),m(c)})}),destroy:function(){_(),g=!0}};if(!Rs(a,l))return E;E.setOptions(u).then(function(m){!g&&u.onFirstUpdate&&u.onFirstUpdate(m)});function d(){c.orderedModifiers.forEach(function(m){var y=m.name,C=m.options,T=C===void 0?{}:C,v=m.effect;if(typeof v=="function"){var w=v({state:c,name:y,instance:E,options:T}),O=function(){};p.push(w||O)}})}function _(){p.forEach(function(m){return m()}),p=[]}return E}}var za=Ke(),Ya=[jn,qn,Bn,Fn],Ga=Ke({defaultModifiers:Ya}),Xa=[jn,qn,Bn,Fn,Qr,Xr,Zr,zr,Jr],zn=Ke({defaultModifiers:Xa});const ti=Object.freeze(Object.defineProperty({__proto__:null,afterMain:kr,afterRead:xr,afterWrite:Hr,applyStyles:Fn,arrow:zr,auto:Ue,basePlacements:Jt,beforeMain:Pr,beforeRead:$r,beforeWrite:Fr,bottom:K,clippingParents:Lr,computeStyles:Bn,createPopper:zn,createPopperBase:za,createPopperLite:Ga,detectOverflow:qt,end:jt,eventListeners:jn,flip:Xr,hide:Jr,left:V,main:Mr,modifierPhases:Br,offset:Qr,placements:Mn,popper:kt,popperGenerator:Ke,popperOffsets:qn,preventOverflow:Zr,read:Ir,reference:Rr,right:q,start:Lt,top:F,variationPlacements:On,viewport:Pn,write:Vr},Symbol.toStringTag,{value:"Module"}));/*! * Bootstrap v5.3.8 (https://getbootstrap.com/) * Copyright 2011-2025 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors) * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE) */const mt=new Map,sn={set(e,t,n){mt.has(e)||mt.set(e,new Map);const s=mt.get(e);if(!s.has(t)&&s.size!==0){console.error(`Bootstrap doesn't allow more than one instance per element. Bound instance: ${Array.from(s.keys())[0]}.`);return}s.set(t,n)},get(e,t){return mt.has(e)&&mt.get(e).get(t)||null},remove(e,t){if(!mt.has(e))return;const n=mt.get(e);n.delete(t),n.size===0&&mt.delete(e)}},Ja=1e6,Qa=1e3,Nn="transitionend",ei=e=>(e&&window.CSS&&window.CSS.escape&&(e=e.replace(/#([^\s"#']+)/g,(t,n)=>`#${CSS.escape(n)}`)),e),Za=e=>e==null?`${e}`:Object.prototype.toString.call(e).match(/\s([a-z]+)/i)[1].toLowerCase(),tc=e=>{do e+=Math.floor(Math.random()*Ja);while(document.getElementById(e));return e},ec=e=>{if(!e)return 0;let{transitionDuration:t,transitionDelay:n}=window.getComputedStyle(e);const s=Number.parseFloat(t),r=Number.parseFloat(n);return!s&&!r?0:(t=t.split(",")[0],n=n.split(",")[0],(Number.parseFloat(t)+Number.parseFloat(n))*Qa)},ni=e=>{e.dispatchEvent(new Event(Nn))},ut=e=>!e||typeof e!="object"?!1:(typeof e.jquery<"u"&&(e=e[0]),typeof e.nodeType<"u"),_t=e=>ut(e)?e.jquery?e[0]:e:typeof e=="string"&&e.length>0?document.querySelector(ei(e)):null,Qt=e=>{if(!ut(e)||e.getClientRects().length===0)return!1;const t=getComputedStyle(e).getPropertyValue("visibility")==="visible",n=e.closest("details:not([open])");if(!n)return t;if(n!==e){const s=e.closest("summary");if(s&&s.parentNode!==n||s===null)return!1}return t},gt=e=>!e||e.nodeType!==Node.ELEMENT_NODE||e.classList.contains("disabled")?!0:typeof e.disabled<"u"?e.disabled:e.hasAttribute("disabled")&&e.getAttribute("disabled")!=="false",si=e=>{if(!document.documentElement.attachShadow)return null;if(typeof e.getRootNode=="function"){const t=e.getRootNode();return t instanceof ShadowRoot?t:null}return e instanceof ShadowRoot?e:e.parentNode?si(e.parentNode):null},Pe=()=>{},he=e=>{e.offsetHeight},ri=()=>window.jQuery&&!document.body.hasAttribute("data-bs-no-jquery")?window.jQuery:null,rn=[],nc=e=>{document.readyState==="loading"?(rn.length||document.addEventListener("DOMContentLoaded",()=>{for(const t of rn)t()}),rn.push(e)):e()},J=()=>document.documentElement.dir==="rtl",Z=e=>{nc(()=>{const t=ri();if(t){const n=e.NAME,s=t.fn[n];t.fn[n]=e.jQueryInterface,t.fn[n].Constructor=e,t.fn[n].noConflict=()=>(t.fn[n]=s,e.jQueryInterface)}})},B=(e,t=[],n=e)=>typeof e=="function"?e.call(...t):n,ii=(e,t,n=!0)=>{if(!n){B(e);return}const r=ec(t)+5;let i=!1;const o=({target:a})=>{a===t&&(i=!0,t.removeEventListener(Nn,o),B(e))};t.addEventListener(Nn,o),setTimeout(()=>{i||ni(t)},r)},Yn=(e,t,n,s)=>{const r=e.length;let i=e.indexOf(t);return i===-1?!n&&s?e[r-1]:e[0]:(i+=n?1:-1,s&&(i=(i+r)%r),e[Math.max(0,Math.min(i,r-1))])},sc=/[^.]*(?=\..*)\.|.*/,rc=/\..*/,ic=/::\d+$/,on={};let $s=1;const oi={mouseenter:"mouseover",mouseleave:"mouseout"},oc=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 ai(e,t){return t&&`${t}::${$s++}`||e.uidEvent||$s++}function ci(e){const t=ai(e);return e.uidEvent=t,on[t]=on[t]||{},on[t]}function ac(e,t){return function n(s){return Gn(s,{delegateTarget:e}),n.oneOff&&h.off(e,s.type,t),t.apply(e,[s])}}function cc(e,t,n){return function s(r){const i=e.querySelectorAll(t);for(let{target:o}=r;o&&o!==this;o=o.parentNode)for(const a of i)if(a===o)return Gn(r,{delegateTarget:o}),s.oneOff&&h.off(e,r.type,t,n),n.apply(o,[r])}}function li(e,t,n=null){return Object.values(e).find(s=>s.callable===t&&s.delegationSelector===n)}function ui(e,t,n){const s=typeof t=="string",r=s?n:t||n;let i=fi(e);return oc.has(i)||(i=e),[s,r,i]}function Is(e,t,n,s,r){if(typeof t!="string"||!e)return;let[i,o,a]=ui(t,n,s);t in oi&&(o=(d=>function(_){if(!_.relatedTarget||_.relatedTarget!==_.delegateTarget&&!_.delegateTarget.contains(_.relatedTarget))return d.call(this,_)})(o));const l=ci(e),u=l[a]||(l[a]={}),c=li(u,o,i?n:null);if(c){c.oneOff=c.oneOff&&r;return}const p=ai(o,t.replace(sc,"")),g=i?cc(e,n,o):ac(e,o);g.delegationSelector=i?n:null,g.callable=o,g.oneOff=r,g.uidEvent=p,u[p]=g,e.addEventListener(a,g,i)}function Dn(e,t,n,s,r){const i=li(t[n],s,r);i&&(e.removeEventListener(n,i,!!r),delete t[n][i.uidEvent])}function lc(e,t,n,s){const r=t[n]||{};for(const[i,o]of Object.entries(r))i.includes(s)&&Dn(e,t,n,o.callable,o.delegationSelector)}function fi(e){return e=e.replace(rc,""),oi[e]||e}const h={on(e,t,n,s){Is(e,t,n,s,!1)},one(e,t,n,s){Is(e,t,n,s,!0)},off(e,t,n,s){if(typeof t!="string"||!e)return;const[r,i,o]=ui(t,n,s),a=o!==t,l=ci(e),u=l[o]||{},c=t.startsWith(".");if(typeof i<"u"){if(!Object.keys(u).length)return;Dn(e,l,o,i,r?n:null);return}if(c)for(const p of Object.keys(l))lc(e,l,p,t.slice(1));for(const[p,g]of Object.entries(u)){const E=p.replace(ic,"");(!a||t.includes(E))&&Dn(e,l,o,g.callable,g.delegationSelector)}},trigger(e,t,n){if(typeof t!="string"||!e)return null;const s=ri(),r=fi(t),i=t!==r;let o=null,a=!0,l=!0,u=!1;i&&s&&(o=s.Event(t,n),s(e).trigger(o),a=!o.isPropagationStopped(),l=!o.isImmediatePropagationStopped(),u=o.isDefaultPrevented());const c=Gn(new Event(t,{bubbles:a,cancelable:!0}),n);return u&&c.preventDefault(),l&&e.dispatchEvent(c),c.defaultPrevented&&o&&o.preventDefault(),c}};function Gn(e,t={}){for(const[n,s]of Object.entries(t))try{e[n]=s}catch{Object.defineProperty(e,n,{configurable:!0,get(){return s}})}return e}function xs(e){if(e==="true")return!0;if(e==="false")return!1;if(e===Number(e).toString())return Number(e);if(e===""||e==="null")return null;if(typeof e!="string")return e;try{return JSON.parse(decodeURIComponent(e))}catch{return e}}function an(e){return e.replace(/[A-Z]/g,t=>`-${t.toLowerCase()}`)}const ft={setDataAttribute(e,t,n){e.setAttribute(`data-bs-${an(t)}`,n)},removeDataAttribute(e,t){e.removeAttribute(`data-bs-${an(t)}`)},getDataAttributes(e){if(!e)return{};const t={},n=Object.keys(e.dataset).filter(s=>s.startsWith("bs")&&!s.startsWith("bsConfig"));for(const s of n){let r=s.replace(/^bs/,"");r=r.charAt(0).toLowerCase()+r.slice(1),t[r]=xs(e.dataset[s])}return t},getDataAttribute(e,t){return xs(e.getAttribute(`data-bs-${an(t)}`))}};class pe{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,n){const s=ut(n)?ft.getDataAttribute(n,"config"):{};return{...this.constructor.Default,...typeof s=="object"?s:{},...ut(n)?ft.getDataAttributes(n):{},...typeof t=="object"?t:{}}}_typeCheckConfig(t,n=this.constructor.DefaultType){for(const[s,r]of Object.entries(n)){const i=t[s],o=ut(i)?"element":Za(i);if(!new RegExp(r).test(o))throw new TypeError(`${this.constructor.NAME.toUpperCase()}: Option "${s}" provided type "${o}" but expected type "${r}".`)}}}const uc="5.3.8";class st extends pe{constructor(t,n){super(),t=_t(t),t&&(this._element=t,this._config=this._getConfig(n),sn.set(this._element,this.constructor.DATA_KEY,this))}dispose(){sn.remove(this._element,this.constructor.DATA_KEY),h.off(this._element,this.constructor.EVENT_KEY);for(const t of Object.getOwnPropertyNames(this))this[t]=null}_queueCallback(t,n,s=!0){ii(t,n,s)}_getConfig(t){return t=this._mergeConfigObj(t,this._element),t=this._configAfterMerge(t),this._typeCheckConfig(t),t}static getInstance(t){return sn.get(_t(t),this.DATA_KEY)}static getOrCreateInstance(t,n={}){return this.getInstance(t)||new this(t,typeof n=="object"?n:null)}static get VERSION(){return uc}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 cn=e=>{let t=e.getAttribute("data-bs-target");if(!t||t==="#"){let n=e.getAttribute("href");if(!n||!n.includes("#")&&!n.startsWith("."))return null;n.includes("#")&&!n.startsWith("#")&&(n=`#${n.split("#")[1]}`),t=n&&n!=="#"?n.trim():null}return t?t.split(",").map(n=>ei(n)).join(","):null},b={find(e,t=document.documentElement){return[].concat(...Element.prototype.querySelectorAll.call(t,e))},findOne(e,t=document.documentElement){return Element.prototype.querySelector.call(t,e)},children(e,t){return[].concat(...e.children).filter(n=>n.matches(t))},parents(e,t){const n=[];let s=e.parentNode.closest(t);for(;s;)n.push(s),s=s.parentNode.closest(t);return n},prev(e,t){let n=e.previousElementSibling;for(;n;){if(n.matches(t))return[n];n=n.previousElementSibling}return[]},next(e,t){let n=e.nextElementSibling;for(;n;){if(n.matches(t))return[n];n=n.nextElementSibling}return[]},focusableChildren(e){const t=["a","button","input","textarea","select","details","[tabindex]",'[contenteditable="true"]'].map(n=>`${n}:not([tabindex^="-"])`).join(",");return this.find(t,e).filter(n=>!gt(n)&&Qt(n))},getSelectorFromElement(e){const t=cn(e);return t&&b.findOne(t)?t:null},getElementFromSelector(e){const t=cn(e);return t?b.findOne(t):null},getMultipleElementsFromSelector(e){const t=cn(e);return t?b.find(t):[]}},qe=(e,t="hide")=>{const n=`click.dismiss${e.EVENT_KEY}`,s=e.NAME;h.on(document,n,`[data-bs-dismiss="${s}"]`,function(r){if(["A","AREA"].includes(this.tagName)&&r.preventDefault(),gt(this))return;const i=b.getElementFromSelector(this)||this.closest(`.${s}`);e.getOrCreateInstance(i)[t]()})},fc="alert",dc="bs.alert",di=`.${dc}`,hc=`close${di}`,pc=`closed${di}`,mc="fade",_c="show";class ze extends st{static get NAME(){return fc}close(){if(h.trigger(this._element,hc).defaultPrevented)return;this._element.classList.remove(_c);const n=this._element.classList.contains(mc);this._queueCallback(()=>this._destroyElement(),this._element,n)}_destroyElement(){this._element.remove(),h.trigger(this._element,pc),this.dispose()}static jQueryInterface(t){return this.each(function(){const n=ze.getOrCreateInstance(this);if(typeof t=="string"){if(n[t]===void 0||t.startsWith("_")||t==="constructor")throw new TypeError(`No method named "${t}"`);n[t](this)}})}}qe(ze,"close");Z(ze);const gc="button",Ec="bs.button",bc=`.${Ec}`,vc=".data-api",yc="active",Ps='[data-bs-toggle="button"]',Ac=`click${bc}${vc}`;class Ye extends st{static get NAME(){return gc}toggle(){this._element.setAttribute("aria-pressed",this._element.classList.toggle(yc))}static jQueryInterface(t){return this.each(function(){const n=Ye.getOrCreateInstance(this);t==="toggle"&&n[t]()})}}h.on(document,Ac,Ps,e=>{e.preventDefault();const t=e.target.closest(Ps);Ye.getOrCreateInstance(t).toggle()});Z(Ye);const Tc="swipe",Zt=".bs.swipe",wc=`touchstart${Zt}`,Oc=`touchmove${Zt}`,Sc=`touchend${Zt}`,Cc=`pointerdown${Zt}`,Nc=`pointerup${Zt}`,Dc="touch",Lc="pen",Rc="pointer-event",$c=40,Ic={endCallback:null,leftCallback:null,rightCallback:null},xc={endCallback:"(function|null)",leftCallback:"(function|null)",rightCallback:"(function|null)"};class Me extends pe{constructor(t,n){super(),this._element=t,!(!t||!Me.isSupported())&&(this._config=this._getConfig(n),this._deltaX=0,this._supportPointerEvents=!!window.PointerEvent,this._initEvents())}static get Default(){return Ic}static get DefaultType(){return xc}static get NAME(){return Tc}dispose(){h.off(this._element,Zt)}_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(),B(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<=$c)return;const n=t/this._deltaX;this._deltaX=0,n&&B(n>0?this._config.rightCallback:this._config.leftCallback)}_initEvents(){this._supportPointerEvents?(h.on(this._element,Cc,t=>this._start(t)),h.on(this._element,Nc,t=>this._end(t)),this._element.classList.add(Rc)):(h.on(this._element,wc,t=>this._start(t)),h.on(this._element,Oc,t=>this._move(t)),h.on(this._element,Sc,t=>this._end(t)))}_eventIsPointerPenTouch(t){return this._supportPointerEvents&&(t.pointerType===Lc||t.pointerType===Dc)}static isSupported(){return"ontouchstart"in document.documentElement||navigator.maxTouchPoints>0}}const Pc="carousel",Mc="bs.carousel",vt=`.${Mc}`,hi=".data-api",kc="ArrowLeft",Fc="ArrowRight",Vc=500,se="next",Pt="prev",Ft="left",Re="right",Hc=`slide${vt}`,ln=`slid${vt}`,Bc=`keydown${vt}`,jc=`mouseenter${vt}`,Uc=`mouseleave${vt}`,Wc=`dragstart${vt}`,Kc=`load${vt}${hi}`,qc=`click${vt}${hi}`,pi="carousel",ye="active",zc="slide",Yc="carousel-item-end",Gc="carousel-item-start",Xc="carousel-item-next",Jc="carousel-item-prev",mi=".active",_i=".carousel-item",Qc=mi+_i,Zc=".carousel-item img",tl=".carousel-indicators",el="[data-bs-slide], [data-bs-slide-to]",nl='[data-bs-ride="carousel"]',sl={[kc]:Re,[Fc]:Ft},rl={interval:5e3,keyboard:!0,pause:"hover",ride:!1,touch:!0,wrap:!0},il={interval:"(number|boolean)",keyboard:"boolean",pause:"(string|boolean)",ride:"(boolean|string)",touch:"boolean",wrap:"boolean"};class me extends st{constructor(t,n){super(t,n),this._interval=null,this._activeElement=null,this._isSliding=!1,this.touchTimeout=null,this._swipeHelper=null,this._indicatorsElement=b.findOne(tl,this._element),this._addEventListeners(),this._config.ride===pi&&this.cycle()}static get Default(){return rl}static get DefaultType(){return il}static get NAME(){return Pc}next(){this._slide(se)}nextWhenVisible(){!document.hidden&&Qt(this._element)&&this.next()}prev(){this._slide(Pt)}pause(){this._isSliding&&ni(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){h.one(this._element,ln,()=>this.cycle());return}this.cycle()}}to(t){const n=this._getItems();if(t>n.length-1||t<0)return;if(this._isSliding){h.one(this._element,ln,()=>this.to(t));return}const s=this._getItemIndex(this._getActive());if(s===t)return;const r=t>s?se:Pt;this._slide(r,n[t])}dispose(){this._swipeHelper&&this._swipeHelper.dispose(),super.dispose()}_configAfterMerge(t){return t.defaultInterval=t.interval,t}_addEventListeners(){this._config.keyboard&&h.on(this._element,Bc,t=>this._keydown(t)),this._config.pause==="hover"&&(h.on(this._element,jc,()=>this.pause()),h.on(this._element,Uc,()=>this._maybeEnableCycle())),this._config.touch&&Me.isSupported()&&this._addTouchEventListeners()}_addTouchEventListeners(){for(const s of b.find(Zc,this._element))h.on(s,Wc,r=>r.preventDefault());const n={leftCallback:()=>this._slide(this._directionToOrder(Ft)),rightCallback:()=>this._slide(this._directionToOrder(Re)),endCallback:()=>{this._config.pause==="hover"&&(this.pause(),this.touchTimeout&&clearTimeout(this.touchTimeout),this.touchTimeout=setTimeout(()=>this._maybeEnableCycle(),Vc+this._config.interval))}};this._swipeHelper=new Me(this._element,n)}_keydown(t){if(/input|textarea/i.test(t.target.tagName))return;const n=sl[t.key];n&&(t.preventDefault(),this._slide(this._directionToOrder(n)))}_getItemIndex(t){return this._getItems().indexOf(t)}_setActiveIndicatorElement(t){if(!this._indicatorsElement)return;const n=b.findOne(mi,this._indicatorsElement);n.classList.remove(ye),n.removeAttribute("aria-current");const s=b.findOne(`[data-bs-slide-to="${t}"]`,this._indicatorsElement);s&&(s.classList.add(ye),s.setAttribute("aria-current","true"))}_updateInterval(){const t=this._activeElement||this._getActive();if(!t)return;const n=Number.parseInt(t.getAttribute("data-bs-interval"),10);this._config.interval=n||this._config.defaultInterval}_slide(t,n=null){if(this._isSliding)return;const s=this._getActive(),r=t===se,i=n||Yn(this._getItems(),s,r,this._config.wrap);if(i===s)return;const o=this._getItemIndex(i),a=E=>h.trigger(this._element,E,{relatedTarget:i,direction:this._orderToDirection(t),from:this._getItemIndex(s),to:o});if(a(Hc).defaultPrevented||!s||!i)return;const u=!!this._interval;this.pause(),this._isSliding=!0,this._setActiveIndicatorElement(o),this._activeElement=i;const c=r?Gc:Yc,p=r?Xc:Jc;i.classList.add(p),he(i),s.classList.add(c),i.classList.add(c);const g=()=>{i.classList.remove(c,p),i.classList.add(ye),s.classList.remove(ye,p,c),this._isSliding=!1,a(ln)};this._queueCallback(g,s,this._isAnimated()),u&&this.cycle()}_isAnimated(){return this._element.classList.contains(zc)}_getActive(){return b.findOne(Qc,this._element)}_getItems(){return b.find(_i,this._element)}_clearInterval(){this._interval&&(clearInterval(this._interval),this._interval=null)}_directionToOrder(t){return J()?t===Ft?Pt:se:t===Ft?se:Pt}_orderToDirection(t){return J()?t===Pt?Ft:Re:t===Pt?Re:Ft}static jQueryInterface(t){return this.each(function(){const n=me.getOrCreateInstance(this,t);if(typeof t=="number"){n.to(t);return}if(typeof t=="string"){if(n[t]===void 0||t.startsWith("_")||t==="constructor")throw new TypeError(`No method named "${t}"`);n[t]()}})}}h.on(document,qc,el,function(e){const t=b.getElementFromSelector(this);if(!t||!t.classList.contains(pi))return;e.preventDefault();const n=me.getOrCreateInstance(t),s=this.getAttribute("data-bs-slide-to");if(s){n.to(s),n._maybeEnableCycle();return}if(ft.getDataAttribute(this,"slide")==="next"){n.next(),n._maybeEnableCycle();return}n.prev(),n._maybeEnableCycle()});h.on(window,Kc,()=>{const e=b.find(nl);for(const t of e)me.getOrCreateInstance(t)});Z(me);const ol="collapse",al="bs.collapse",_e=`.${al}`,cl=".data-api",ll=`show${_e}`,ul=`shown${_e}`,fl=`hide${_e}`,dl=`hidden${_e}`,hl=`click${_e}${cl}`,un="show",Ht="collapse",Ae="collapsing",pl="collapsed",ml=`:scope .${Ht} .${Ht}`,_l="collapse-horizontal",gl="width",El="height",bl=".collapse.show, .collapse.collapsing",Ln='[data-bs-toggle="collapse"]',vl={parent:null,toggle:!0},yl={parent:"(null|element)",toggle:"boolean"};class ae extends st{constructor(t,n){super(t,n),this._isTransitioning=!1,this._triggerArray=[];const s=b.find(Ln);for(const r of s){const i=b.getSelectorFromElement(r),o=b.find(i).filter(a=>a===this._element);i!==null&&o.length&&this._triggerArray.push(r)}this._initializeChildren(),this._config.parent||this._addAriaAndCollapsedClass(this._triggerArray,this._isShown()),this._config.toggle&&this.toggle()}static get Default(){return vl}static get DefaultType(){return yl}static get NAME(){return ol}toggle(){this._isShown()?this.hide():this.show()}show(){if(this._isTransitioning||this._isShown())return;let t=[];if(this._config.parent&&(t=this._getFirstLevelChildren(bl).filter(a=>a!==this._element).map(a=>ae.getOrCreateInstance(a,{toggle:!1}))),t.length&&t[0]._isTransitioning||h.trigger(this._element,ll).defaultPrevented)return;for(const a of t)a.hide();const s=this._getDimension();this._element.classList.remove(Ht),this._element.classList.add(Ae),this._element.style[s]=0,this._addAriaAndCollapsedClass(this._triggerArray,!0),this._isTransitioning=!0;const r=()=>{this._isTransitioning=!1,this._element.classList.remove(Ae),this._element.classList.add(Ht,un),this._element.style[s]="",h.trigger(this._element,ul)},o=`scroll${s[0].toUpperCase()+s.slice(1)}`;this._queueCallback(r,this._element,!0),this._element.style[s]=`${this._element[o]}px`}hide(){if(this._isTransitioning||!this._isShown()||h.trigger(this._element,fl).defaultPrevented)return;const n=this._getDimension();this._element.style[n]=`${this._element.getBoundingClientRect()[n]}px`,he(this._element),this._element.classList.add(Ae),this._element.classList.remove(Ht,un);for(const r of this._triggerArray){const i=b.getElementFromSelector(r);i&&!this._isShown(i)&&this._addAriaAndCollapsedClass([r],!1)}this._isTransitioning=!0;const s=()=>{this._isTransitioning=!1,this._element.classList.remove(Ae),this._element.classList.add(Ht),h.trigger(this._element,dl)};this._element.style[n]="",this._queueCallback(s,this._element,!0)}_isShown(t=this._element){return t.classList.contains(un)}_configAfterMerge(t){return t.toggle=!!t.toggle,t.parent=_t(t.parent),t}_getDimension(){return this._element.classList.contains(_l)?gl:El}_initializeChildren(){if(!this._config.parent)return;const t=this._getFirstLevelChildren(Ln);for(const n of t){const s=b.getElementFromSelector(n);s&&this._addAriaAndCollapsedClass([n],this._isShown(s))}}_getFirstLevelChildren(t){const n=b.find(ml,this._config.parent);return b.find(t,this._config.parent).filter(s=>!n.includes(s))}_addAriaAndCollapsedClass(t,n){if(t.length)for(const s of t)s.classList.toggle(pl,!n),s.setAttribute("aria-expanded",n)}static jQueryInterface(t){const n={};return typeof t=="string"&&/show|hide/.test(t)&&(n.toggle=!1),this.each(function(){const s=ae.getOrCreateInstance(this,n);if(typeof t=="string"){if(typeof s[t]>"u")throw new TypeError(`No method named "${t}"`);s[t]()}})}}h.on(document,hl,Ln,function(e){(e.target.tagName==="A"||e.delegateTarget&&e.delegateTarget.tagName==="A")&&e.preventDefault();for(const t of b.getMultipleElementsFromSelector(this))ae.getOrCreateInstance(t,{toggle:!1}).toggle()});Z(ae);const Ms="dropdown",Al="bs.dropdown",$t=`.${Al}`,Xn=".data-api",Tl="Escape",ks="Tab",wl="ArrowUp",Fs="ArrowDown",Ol=2,Sl=`hide${$t}`,Cl=`hidden${$t}`,Nl=`show${$t}`,Dl=`shown${$t}`,gi=`click${$t}${Xn}`,Ei=`keydown${$t}${Xn}`,Ll=`keyup${$t}${Xn}`,Vt="show",Rl="dropup",$l="dropend",Il="dropstart",xl="dropup-center",Pl="dropdown-center",Ot='[data-bs-toggle="dropdown"]:not(.disabled):not(:disabled)',Ml=`${Ot}.${Vt}`,$e=".dropdown-menu",kl=".navbar",Fl=".navbar-nav",Vl=".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",Hl=J()?"top-end":"top-start",Bl=J()?"top-start":"top-end",jl=J()?"bottom-end":"bottom-start",Ul=J()?"bottom-start":"bottom-end",Wl=J()?"left-start":"right-start",Kl=J()?"right-start":"left-start",ql="top",zl="bottom",Yl={autoClose:!0,boundary:"clippingParents",display:"dynamic",offset:[0,2],popperConfig:null,reference:"toggle"},Gl={autoClose:"(boolean|string)",boundary:"(string|element)",display:"string",offset:"(array|string|function)",popperConfig:"(null|object|function)",reference:"(string|element|object)"};class ct extends st{constructor(t,n){super(t,n),this._popper=null,this._parent=this._element.parentNode,this._menu=b.next(this._element,$e)[0]||b.prev(this._element,$e)[0]||b.findOne($e,this._parent),this._inNavbar=this._detectNavbar()}static get Default(){return Yl}static get DefaultType(){return Gl}static get NAME(){return Ms}toggle(){return this._isShown()?this.hide():this.show()}show(){if(gt(this._element)||this._isShown())return;const t={relatedTarget:this._element};if(!h.trigger(this._element,Nl,t).defaultPrevented){if(this._createPopper(),"ontouchstart"in document.documentElement&&!this._parent.closest(Fl))for(const s of[].concat(...document.body.children))h.on(s,"mouseover",Pe);this._element.focus(),this._element.setAttribute("aria-expanded",!0),this._menu.classList.add(Vt),this._element.classList.add(Vt),h.trigger(this._element,Dl,t)}}hide(){if(gt(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(!h.trigger(this._element,Sl,t).defaultPrevented){if("ontouchstart"in document.documentElement)for(const s of[].concat(...document.body.children))h.off(s,"mouseover",Pe);this._popper&&this._popper.destroy(),this._menu.classList.remove(Vt),this._element.classList.remove(Vt),this._element.setAttribute("aria-expanded","false"),ft.removeDataAttribute(this._menu,"popper"),h.trigger(this._element,Cl,t)}}_getConfig(t){if(t=super._getConfig(t),typeof t.reference=="object"&&!ut(t.reference)&&typeof t.reference.getBoundingClientRect!="function")throw new TypeError(`${Ms.toUpperCase()}: Option "reference" provided type "object" without a required "getBoundingClientRect" method.`);return t}_createPopper(){if(typeof ti>"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:ut(this._config.reference)?t=_t(this._config.reference):typeof this._config.reference=="object"&&(t=this._config.reference);const n=this._getPopperConfig();this._popper=zn(t,this._menu,n)}_isShown(){return this._menu.classList.contains(Vt)}_getPlacement(){const t=this._parent;if(t.classList.contains($l))return Wl;if(t.classList.contains(Il))return Kl;if(t.classList.contains(xl))return ql;if(t.classList.contains(Pl))return zl;const n=getComputedStyle(this._menu).getPropertyValue("--bs-position").trim()==="end";return t.classList.contains(Rl)?n?Bl:Hl:n?Ul:jl}_detectNavbar(){return this._element.closest(kl)!==null}_getOffset(){const{offset:t}=this._config;return typeof t=="string"?t.split(",").map(n=>Number.parseInt(n,10)):typeof t=="function"?n=>t(n,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")&&(ft.setDataAttribute(this._menu,"popper","static"),t.modifiers=[{name:"applyStyles",enabled:!1}]),{...t,...B(this._config.popperConfig,[void 0,t])}}_selectMenuItem({key:t,target:n}){const s=b.find(Vl,this._menu).filter(r=>Qt(r));s.length&&Yn(s,n,t===Fs,!s.includes(n)).focus()}static jQueryInterface(t){return this.each(function(){const n=ct.getOrCreateInstance(this,t);if(typeof t=="string"){if(typeof n[t]>"u")throw new TypeError(`No method named "${t}"`);n[t]()}})}static clearMenus(t){if(t.button===Ol||t.type==="keyup"&&t.key!==ks)return;const n=b.find(Ml);for(const s of n){const r=ct.getInstance(s);if(!r||r._config.autoClose===!1)continue;const i=t.composedPath(),o=i.includes(r._menu);if(i.includes(r._element)||r._config.autoClose==="inside"&&!o||r._config.autoClose==="outside"&&o||r._menu.contains(t.target)&&(t.type==="keyup"&&t.key===ks||/input|select|option|textarea|form/i.test(t.target.tagName)))continue;const a={relatedTarget:r._element};t.type==="click"&&(a.clickEvent=t),r._completeHide(a)}}static dataApiKeydownHandler(t){const n=/input|textarea/i.test(t.target.tagName),s=t.key===Tl,r=[wl,Fs].includes(t.key);if(!r&&!s||n&&!s)return;t.preventDefault();const i=this.matches(Ot)?this:b.prev(this,Ot)[0]||b.next(this,Ot)[0]||b.findOne(Ot,t.delegateTarget.parentNode),o=ct.getOrCreateInstance(i);if(r){t.stopPropagation(),o.show(),o._selectMenuItem(t);return}o._isShown()&&(t.stopPropagation(),o.hide(),i.focus())}}h.on(document,Ei,Ot,ct.dataApiKeydownHandler);h.on(document,Ei,$e,ct.dataApiKeydownHandler);h.on(document,gi,ct.clearMenus);h.on(document,Ll,ct.clearMenus);h.on(document,gi,Ot,function(e){e.preventDefault(),ct.getOrCreateInstance(this).toggle()});Z(ct);const bi="backdrop",Xl="fade",Vs="show",Hs=`mousedown.bs.${bi}`,Jl={className:"modal-backdrop",clickCallback:null,isAnimated:!1,isVisible:!0,rootElement:"body"},Ql={className:"string",clickCallback:"(function|null)",isAnimated:"boolean",isVisible:"boolean",rootElement:"(element|string)"};class vi extends pe{constructor(t){super(),this._config=this._getConfig(t),this._isAppended=!1,this._element=null}static get Default(){return Jl}static get DefaultType(){return Ql}static get NAME(){return bi}show(t){if(!this._config.isVisible){B(t);return}this._append();const n=this._getElement();this._config.isAnimated&&he(n),n.classList.add(Vs),this._emulateAnimation(()=>{B(t)})}hide(t){if(!this._config.isVisible){B(t);return}this._getElement().classList.remove(Vs),this._emulateAnimation(()=>{this.dispose(),B(t)})}dispose(){this._isAppended&&(h.off(this._element,Hs),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(Xl),this._element=t}return this._element}_configAfterMerge(t){return t.rootElement=_t(t.rootElement),t}_append(){if(this._isAppended)return;const t=this._getElement();this._config.rootElement.append(t),h.on(t,Hs,()=>{B(this._config.clickCallback)}),this._isAppended=!0}_emulateAnimation(t){ii(t,this._getElement(),this._config.isAnimated)}}const Zl="focustrap",tu="bs.focustrap",ke=`.${tu}`,eu=`focusin${ke}`,nu=`keydown.tab${ke}`,su="Tab",ru="forward",Bs="backward",iu={autofocus:!0,trapElement:null},ou={autofocus:"boolean",trapElement:"element"};class yi extends pe{constructor(t){super(),this._config=this._getConfig(t),this._isActive=!1,this._lastTabNavDirection=null}static get Default(){return iu}static get DefaultType(){return ou}static get NAME(){return Zl}activate(){this._isActive||(this._config.autofocus&&this._config.trapElement.focus(),h.off(document,ke),h.on(document,eu,t=>this._handleFocusin(t)),h.on(document,nu,t=>this._handleKeydown(t)),this._isActive=!0)}deactivate(){this._isActive&&(this._isActive=!1,h.off(document,ke))}_handleFocusin(t){const{trapElement:n}=this._config;if(t.target===document||t.target===n||n.contains(t.target))return;const s=b.focusableChildren(n);s.length===0?n.focus():this._lastTabNavDirection===Bs?s[s.length-1].focus():s[0].focus()}_handleKeydown(t){t.key===su&&(this._lastTabNavDirection=t.shiftKey?Bs:ru)}}const js=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",Us=".sticky-top",Te="padding-right",Ws="margin-right";class Rn{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,Te,n=>n+t),this._setElementAttributes(js,Te,n=>n+t),this._setElementAttributes(Us,Ws,n=>n-t)}reset(){this._resetElementAttributes(this._element,"overflow"),this._resetElementAttributes(this._element,Te),this._resetElementAttributes(js,Te),this._resetElementAttributes(Us,Ws)}isOverflowing(){return this.getWidth()>0}_disableOverFlow(){this._saveInitialAttribute(this._element,"overflow"),this._element.style.overflow="hidden"}_setElementAttributes(t,n,s){const r=this.getWidth(),i=o=>{if(o!==this._element&&window.innerWidth>o.clientWidth+r)return;this._saveInitialAttribute(o,n);const a=window.getComputedStyle(o).getPropertyValue(n);o.style.setProperty(n,`${s(Number.parseFloat(a))}px`)};this._applyManipulationCallback(t,i)}_saveInitialAttribute(t,n){const s=t.style.getPropertyValue(n);s&&ft.setDataAttribute(t,n,s)}_resetElementAttributes(t,n){const s=r=>{const i=ft.getDataAttribute(r,n);if(i===null){r.style.removeProperty(n);return}ft.removeDataAttribute(r,n),r.style.setProperty(n,i)};this._applyManipulationCallback(t,s)}_applyManipulationCallback(t,n){if(ut(t)){n(t);return}for(const s of b.find(t,this._element))n(s)}}const au="modal",cu="bs.modal",Q=`.${cu}`,lu=".data-api",uu="Escape",fu=`hide${Q}`,du=`hidePrevented${Q}`,Ai=`hidden${Q}`,Ti=`show${Q}`,hu=`shown${Q}`,pu=`resize${Q}`,mu=`click.dismiss${Q}`,_u=`mousedown.dismiss${Q}`,gu=`keydown.dismiss${Q}`,Eu=`click${Q}${lu}`,Ks="modal-open",bu="fade",qs="show",fn="modal-static",vu=".modal.show",yu=".modal-dialog",Au=".modal-body",Tu='[data-bs-toggle="modal"]',wu={backdrop:!0,focus:!0,keyboard:!0},Ou={backdrop:"(boolean|string)",focus:"boolean",keyboard:"boolean"};class zt extends st{constructor(t,n){super(t,n),this._dialog=b.findOne(yu,this._element),this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._isShown=!1,this._isTransitioning=!1,this._scrollBar=new Rn,this._addEventListeners()}static get Default(){return wu}static get DefaultType(){return Ou}static get NAME(){return au}toggle(t){return this._isShown?this.hide():this.show(t)}show(t){this._isShown||this._isTransitioning||h.trigger(this._element,Ti,{relatedTarget:t}).defaultPrevented||(this._isShown=!0,this._isTransitioning=!0,this._scrollBar.hide(),document.body.classList.add(Ks),this._adjustDialog(),this._backdrop.show(()=>this._showElement(t)))}hide(){!this._isShown||this._isTransitioning||h.trigger(this._element,fu).defaultPrevented||(this._isShown=!1,this._isTransitioning=!0,this._focustrap.deactivate(),this._element.classList.remove(qs),this._queueCallback(()=>this._hideModal(),this._element,this._isAnimated()))}dispose(){h.off(window,Q),h.off(this._dialog,Q),this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}handleUpdate(){this._adjustDialog()}_initializeBackDrop(){return new vi({isVisible:!!this._config.backdrop,isAnimated:this._isAnimated()})}_initializeFocusTrap(){return new yi({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 n=b.findOne(Au,this._dialog);n&&(n.scrollTop=0),he(this._element),this._element.classList.add(qs);const s=()=>{this._config.focus&&this._focustrap.activate(),this._isTransitioning=!1,h.trigger(this._element,hu,{relatedTarget:t})};this._queueCallback(s,this._dialog,this._isAnimated())}_addEventListeners(){h.on(this._element,gu,t=>{if(t.key===uu){if(this._config.keyboard){this.hide();return}this._triggerBackdropTransition()}}),h.on(window,pu,()=>{this._isShown&&!this._isTransitioning&&this._adjustDialog()}),h.on(this._element,_u,t=>{h.one(this._element,mu,n=>{if(!(this._element!==t.target||this._element!==n.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(Ks),this._resetAdjustments(),this._scrollBar.reset(),h.trigger(this._element,Ai)})}_isAnimated(){return this._element.classList.contains(bu)}_triggerBackdropTransition(){if(h.trigger(this._element,du).defaultPrevented)return;const n=this._element.scrollHeight>document.documentElement.clientHeight,s=this._element.style.overflowY;s==="hidden"||this._element.classList.contains(fn)||(n||(this._element.style.overflowY="hidden"),this._element.classList.add(fn),this._queueCallback(()=>{this._element.classList.remove(fn),this._queueCallback(()=>{this._element.style.overflowY=s},this._dialog)},this._dialog),this._element.focus())}_adjustDialog(){const t=this._element.scrollHeight>document.documentElement.clientHeight,n=this._scrollBar.getWidth(),s=n>0;if(s&&!t){const r=J()?"paddingLeft":"paddingRight";this._element.style[r]=`${n}px`}if(!s&&t){const r=J()?"paddingRight":"paddingLeft";this._element.style[r]=`${n}px`}}_resetAdjustments(){this._element.style.paddingLeft="",this._element.style.paddingRight=""}static jQueryInterface(t,n){return this.each(function(){const s=zt.getOrCreateInstance(this,t);if(typeof t=="string"){if(typeof s[t]>"u")throw new TypeError(`No method named "${t}"`);s[t](n)}})}}h.on(document,Eu,Tu,function(e){const t=b.getElementFromSelector(this);["A","AREA"].includes(this.tagName)&&e.preventDefault(),h.one(t,Ti,r=>{r.defaultPrevented||h.one(t,Ai,()=>{Qt(this)&&this.focus()})});const n=b.findOne(vu);n&&zt.getInstance(n).hide(),zt.getOrCreateInstance(t).toggle(this)});qe(zt);Z(zt);const Su="offcanvas",Cu="bs.offcanvas",ht=`.${Cu}`,wi=".data-api",Nu=`load${ht}${wi}`,Du="Escape",zs="show",Ys="showing",Gs="hiding",Lu="offcanvas-backdrop",Oi=".offcanvas.show",Ru=`show${ht}`,$u=`shown${ht}`,Iu=`hide${ht}`,Xs=`hidePrevented${ht}`,Si=`hidden${ht}`,xu=`resize${ht}`,Pu=`click${ht}${wi}`,Mu=`keydown.dismiss${ht}`,ku='[data-bs-toggle="offcanvas"]',Fu={backdrop:!0,keyboard:!0,scroll:!1},Vu={backdrop:"(boolean|string)",keyboard:"boolean",scroll:"boolean"};class Et extends st{constructor(t,n){super(t,n),this._isShown=!1,this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._addEventListeners()}static get Default(){return Fu}static get DefaultType(){return Vu}static get NAME(){return Su}toggle(t){return this._isShown?this.hide():this.show(t)}show(t){if(this._isShown||h.trigger(this._element,Ru,{relatedTarget:t}).defaultPrevented)return;this._isShown=!0,this._backdrop.show(),this._config.scroll||new Rn().hide(),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.classList.add(Ys);const s=()=>{(!this._config.scroll||this._config.backdrop)&&this._focustrap.activate(),this._element.classList.add(zs),this._element.classList.remove(Ys),h.trigger(this._element,$u,{relatedTarget:t})};this._queueCallback(s,this._element,!0)}hide(){if(!this._isShown||h.trigger(this._element,Iu).defaultPrevented)return;this._focustrap.deactivate(),this._element.blur(),this._isShown=!1,this._element.classList.add(Gs),this._backdrop.hide();const n=()=>{this._element.classList.remove(zs,Gs),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._config.scroll||new Rn().reset(),h.trigger(this._element,Si)};this._queueCallback(n,this._element,!0)}dispose(){this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}_initializeBackDrop(){const t=()=>{if(this._config.backdrop==="static"){h.trigger(this._element,Xs);return}this.hide()},n=!!this._config.backdrop;return new vi({className:Lu,isVisible:n,isAnimated:!0,rootElement:this._element.parentNode,clickCallback:n?t:null})}_initializeFocusTrap(){return new yi({trapElement:this._element})}_addEventListeners(){h.on(this._element,Mu,t=>{if(t.key===Du){if(this._config.keyboard){this.hide();return}h.trigger(this._element,Xs)}})}static jQueryInterface(t){return this.each(function(){const n=Et.getOrCreateInstance(this,t);if(typeof t=="string"){if(n[t]===void 0||t.startsWith("_")||t==="constructor")throw new TypeError(`No method named "${t}"`);n[t](this)}})}}h.on(document,Pu,ku,function(e){const t=b.getElementFromSelector(this);if(["A","AREA"].includes(this.tagName)&&e.preventDefault(),gt(this))return;h.one(t,Si,()=>{Qt(this)&&this.focus()});const n=b.findOne(Oi);n&&n!==t&&Et.getInstance(n).hide(),Et.getOrCreateInstance(t).toggle(this)});h.on(window,Nu,()=>{for(const e of b.find(Oi))Et.getOrCreateInstance(e).show()});h.on(window,xu,()=>{for(const e of b.find("[aria-modal][class*=show][class*=offcanvas-]"))getComputedStyle(e).position!=="fixed"&&Et.getOrCreateInstance(e).hide()});qe(Et);Z(Et);const Hu=/^aria-[\w-]*$/i,Ci={"*":["class","dir","id","lang","role",Hu],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:[]},Bu=new Set(["background","cite","href","itemtype","longdesc","poster","src","xlink:href"]),ju=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:/?#]*(?:[/?#]|$))/i,Uu=(e,t)=>{const n=e.nodeName.toLowerCase();return t.includes(n)?Bu.has(n)?!!ju.test(e.nodeValue):!0:t.filter(s=>s instanceof RegExp).some(s=>s.test(n))};function Wu(e,t,n){if(!e.length)return e;if(n&&typeof n=="function")return n(e);const r=new window.DOMParser().parseFromString(e,"text/html"),i=[].concat(...r.body.querySelectorAll("*"));for(const o of i){const a=o.nodeName.toLowerCase();if(!Object.keys(t).includes(a)){o.remove();continue}const l=[].concat(...o.attributes),u=[].concat(t["*"]||[],t[a]||[]);for(const c of l)Uu(c,u)||o.removeAttribute(c.nodeName)}return r.body.innerHTML}const Ku="TemplateFactory",qu={allowList:Ci,content:{},extraClass:"",html:!1,sanitize:!0,sanitizeFn:null,template:"<div></div>"},zu={allowList:"object",content:"object",extraClass:"(string|function)",html:"boolean",sanitize:"boolean",sanitizeFn:"(null|function)",template:"string"},Yu={entry:"(string|element|function|null)",selector:"(string|element)"};class Gu extends pe{constructor(t){super(),this._config=this._getConfig(t)}static get Default(){return qu}static get DefaultType(){return zu}static get NAME(){return Ku}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[r,i]of Object.entries(this._config.content))this._setContent(t,i,r);const n=t.children[0],s=this._resolvePossibleFunction(this._config.extraClass);return s&&n.classList.add(...s.split(" ")),n}_typeCheckConfig(t){super._typeCheckConfig(t),this._checkContent(t.content)}_checkContent(t){for(const[n,s]of Object.entries(t))super._typeCheckConfig({selector:n,entry:s},Yu)}_setContent(t,n,s){const r=b.findOne(s,t);if(r){if(n=this._resolvePossibleFunction(n),!n){r.remove();return}if(ut(n)){this._putElementInTemplate(_t(n),r);return}if(this._config.html){r.innerHTML=this._maybeSanitize(n);return}r.textContent=n}}_maybeSanitize(t){return this._config.sanitize?Wu(t,this._config.allowList,this._config.sanitizeFn):t}_resolvePossibleFunction(t){return B(t,[void 0,this])}_putElementInTemplate(t,n){if(this._config.html){n.innerHTML="",n.append(t);return}n.textContent=t.textContent}}const Xu="tooltip",Ju=new Set(["sanitize","allowList","sanitizeFn"]),dn="fade",Qu="modal",we="show",Zu=".tooltip-inner",Js=`.${Qu}`,Qs="hide.bs.modal",re="hover",hn="focus",pn="click",tf="manual",ef="hide",nf="hidden",sf="show",rf="shown",of="inserted",af="click",cf="focusin",lf="focusout",uf="mouseenter",ff="mouseleave",df={AUTO:"auto",TOP:"top",RIGHT:J()?"left":"right",BOTTOM:"bottom",LEFT:J()?"right":"left"},hf={allowList:Ci,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"},pf={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 te extends st{constructor(t,n){if(typeof ti>"u")throw new TypeError("Bootstrap's tooltips require Popper (https://popper.js.org/docs/v2/)");super(t,n),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 hf}static get DefaultType(){return pf}static get NAME(){return Xu}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),h.off(this._element.closest(Js),Qs,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=h.trigger(this._element,this.constructor.eventName(sf)),s=(si(this._element)||this._element.ownerDocument.documentElement).contains(this._element);if(t.defaultPrevented||!s)return;this._disposePopper();const r=this._getTipElement();this._element.setAttribute("aria-describedby",r.getAttribute("id"));const{container:i}=this._config;if(this._element.ownerDocument.documentElement.contains(this.tip)||(i.append(r),h.trigger(this._element,this.constructor.eventName(of))),this._popper=this._createPopper(r),r.classList.add(we),"ontouchstart"in document.documentElement)for(const a of[].concat(...document.body.children))h.on(a,"mouseover",Pe);const o=()=>{h.trigger(this._element,this.constructor.eventName(rf)),this._isHovered===!1&&this._leave(),this._isHovered=!1};this._queueCallback(o,this.tip,this._isAnimated())}hide(){if(!this._isShown()||h.trigger(this._element,this.constructor.eventName(ef)).defaultPrevented)return;if(this._getTipElement().classList.remove(we),"ontouchstart"in document.documentElement)for(const r of[].concat(...document.body.children))h.off(r,"mouseover",Pe);this._activeTrigger[pn]=!1,this._activeTrigger[hn]=!1,this._activeTrigger[re]=!1,this._isHovered=null;const s=()=>{this._isWithActiveTrigger()||(this._isHovered||this._disposePopper(),this._element.removeAttribute("aria-describedby"),h.trigger(this._element,this.constructor.eventName(nf)))};this._queueCallback(s,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 n=this._getTemplateFactory(t).toHtml();if(!n)return null;n.classList.remove(dn,we),n.classList.add(`bs-${this.constructor.NAME}-auto`);const s=tc(this.constructor.NAME).toString();return n.setAttribute("id",s),this._isAnimated()&&n.classList.add(dn),n}setContent(t){this._newContent=t,this._isShown()&&(this._disposePopper(),this.show())}_getTemplateFactory(t){return this._templateFactory?this._templateFactory.changeContent(t):this._templateFactory=new Gu({...this._config,content:t,extraClass:this._resolvePossibleFunction(this._config.customClass)}),this._templateFactory}_getContentForTemplate(){return{[Zu]: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(dn)}_isShown(){return this.tip&&this.tip.classList.contains(we)}_createPopper(t){const n=B(this._config.placement,[this,t,this._element]),s=df[n.toUpperCase()];return zn(this._element,t,this._getPopperConfig(s))}_getOffset(){const{offset:t}=this._config;return typeof t=="string"?t.split(",").map(n=>Number.parseInt(n,10)):typeof t=="function"?n=>t(n,this._element):t}_resolvePossibleFunction(t){return B(t,[this._element,this._element])}_getPopperConfig(t){const n={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:s=>{this._getTipElement().setAttribute("data-popper-placement",s.state.placement)}}]};return{...n,...B(this._config.popperConfig,[void 0,n])}}_setListeners(){const t=this._config.trigger.split(" ");for(const n of t)if(n==="click")h.on(this._element,this.constructor.eventName(af),this._config.selector,s=>{const r=this._initializeOnDelegatedTarget(s);r._activeTrigger[pn]=!(r._isShown()&&r._activeTrigger[pn]),r.toggle()});else if(n!==tf){const s=n===re?this.constructor.eventName(uf):this.constructor.eventName(cf),r=n===re?this.constructor.eventName(ff):this.constructor.eventName(lf);h.on(this._element,s,this._config.selector,i=>{const o=this._initializeOnDelegatedTarget(i);o._activeTrigger[i.type==="focusin"?hn:re]=!0,o._enter()}),h.on(this._element,r,this._config.selector,i=>{const o=this._initializeOnDelegatedTarget(i);o._activeTrigger[i.type==="focusout"?hn:re]=o._element.contains(i.relatedTarget),o._leave()})}this._hideModalHandler=()=>{this._element&&this.hide()},h.on(this._element.closest(Js),Qs,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,n){clearTimeout(this._timeout),this._timeout=setTimeout(t,n)}_isWithActiveTrigger(){return Object.values(this._activeTrigger).includes(!0)}_getConfig(t){const n=ft.getDataAttributes(this._element);for(const s of Object.keys(n))Ju.has(s)&&delete n[s];return t={...n,...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:_t(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[n,s]of Object.entries(this._config))this.constructor.Default[n]!==s&&(t[n]=s);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 n=te.getOrCreateInstance(this,t);if(typeof t=="string"){if(typeof n[t]>"u")throw new TypeError(`No method named "${t}"`);n[t]()}})}}Z(te);const mf="popover",_f=".popover-header",gf=".popover-body",Ef={...te.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"},bf={...te.DefaultType,content:"(null|string|element|function)"};class Jn extends te{static get Default(){return Ef}static get DefaultType(){return bf}static get NAME(){return mf}_isWithContent(){return this._getTitle()||this._getContent()}_getContentForTemplate(){return{[_f]:this._getTitle(),[gf]:this._getContent()}}_getContent(){return this._resolvePossibleFunction(this._config.content)}static jQueryInterface(t){return this.each(function(){const n=Jn.getOrCreateInstance(this,t);if(typeof t=="string"){if(typeof n[t]>"u")throw new TypeError(`No method named "${t}"`);n[t]()}})}}Z(Jn);const vf="scrollspy",yf="bs.scrollspy",Qn=`.${yf}`,Af=".data-api",Tf=`activate${Qn}`,Zs=`click${Qn}`,wf=`load${Qn}${Af}`,Of="dropdown-item",Mt="active",Sf='[data-bs-spy="scroll"]',mn="[href]",Cf=".nav, .list-group",tr=".nav-link",Nf=".nav-item",Df=".list-group-item",Lf=`${tr}, ${Nf} > ${tr}, ${Df}`,Rf=".dropdown",$f=".dropdown-toggle",If={offset:null,rootMargin:"0px 0px -25%",smoothScroll:!1,target:null,threshold:[.1,.5,1]},xf={offset:"(number|null)",rootMargin:"string",smoothScroll:"boolean",target:"element",threshold:"array"};class Ge extends st{constructor(t,n){super(t,n),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 If}static get DefaultType(){return xf}static get NAME(){return vf}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=_t(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(n=>Number.parseFloat(n))),t}_maybeEnableSmoothScroll(){this._config.smoothScroll&&(h.off(this._config.target,Zs),h.on(this._config.target,Zs,mn,t=>{const n=this._observableSections.get(t.target.hash);if(n){t.preventDefault();const s=this._rootElement||window,r=n.offsetTop-this._element.offsetTop;if(s.scrollTo){s.scrollTo({top:r,behavior:"smooth"});return}s.scrollTop=r}}))}_getNewObserver(){const t={root:this._rootElement,threshold:this._config.threshold,rootMargin:this._config.rootMargin};return new IntersectionObserver(n=>this._observerCallback(n),t)}_observerCallback(t){const n=o=>this._targetLinks.get(`#${o.target.id}`),s=o=>{this._previousScrollData.visibleEntryTop=o.target.offsetTop,this._process(n(o))},r=(this._rootElement||document.documentElement).scrollTop,i=r>=this._previousScrollData.parentScrollTop;this._previousScrollData.parentScrollTop=r;for(const o of t){if(!o.isIntersecting){this._activeTarget=null,this._clearActiveClass(n(o));continue}const a=o.target.offsetTop>=this._previousScrollData.visibleEntryTop;if(i&&a){if(s(o),!r)return;continue}!i&&!a&&s(o)}}_initializeTargetsAndObservables(){this._targetLinks=new Map,this._observableSections=new Map;const t=b.find(mn,this._config.target);for(const n of t){if(!n.hash||gt(n))continue;const s=b.findOne(decodeURI(n.hash),this._element);Qt(s)&&(this._targetLinks.set(decodeURI(n.hash),n),this._observableSections.set(n.hash,s))}}_process(t){this._activeTarget!==t&&(this._clearActiveClass(this._config.target),this._activeTarget=t,t.classList.add(Mt),this._activateParents(t),h.trigger(this._element,Tf,{relatedTarget:t}))}_activateParents(t){if(t.classList.contains(Of)){b.findOne($f,t.closest(Rf)).classList.add(Mt);return}for(const n of b.parents(t,Cf))for(const s of b.prev(n,Lf))s.classList.add(Mt)}_clearActiveClass(t){t.classList.remove(Mt);const n=b.find(`${mn}.${Mt}`,t);for(const s of n)s.classList.remove(Mt)}static jQueryInterface(t){return this.each(function(){const n=Ge.getOrCreateInstance(this,t);if(typeof t=="string"){if(n[t]===void 0||t.startsWith("_")||t==="constructor")throw new TypeError(`No method named "${t}"`);n[t]()}})}}h.on(window,wf,()=>{for(const e of b.find(Sf))Ge.getOrCreateInstance(e)});Z(Ge);const Pf="tab",Mf="bs.tab",It=`.${Mf}`,kf=`hide${It}`,Ff=`hidden${It}`,Vf=`show${It}`,Hf=`shown${It}`,Bf=`click${It}`,jf=`keydown${It}`,Uf=`load${It}`,Wf="ArrowLeft",er="ArrowRight",Kf="ArrowUp",nr="ArrowDown",_n="Home",sr="End",St="active",rr="fade",gn="show",qf="dropdown",Ni=".dropdown-toggle",zf=".dropdown-menu",En=`:not(${Ni})`,Yf='.list-group, .nav, [role="tablist"]',Gf=".nav-item, .list-group-item",Xf=`.nav-link${En}, .list-group-item${En}, [role="tab"]${En}`,Di='[data-bs-toggle="tab"], [data-bs-toggle="pill"], [data-bs-toggle="list"]',bn=`${Xf}, ${Di}`,Jf=`.${St}[data-bs-toggle="tab"], .${St}[data-bs-toggle="pill"], .${St}[data-bs-toggle="list"]`;class Yt extends st{constructor(t){super(t),this._parent=this._element.closest(Yf),this._parent&&(this._setInitialAttributes(this._parent,this._getChildren()),h.on(this._element,jf,n=>this._keydown(n)))}static get NAME(){return Pf}show(){const t=this._element;if(this._elemIsActive(t))return;const n=this._getActiveElem(),s=n?h.trigger(n,kf,{relatedTarget:t}):null;h.trigger(t,Vf,{relatedTarget:n}).defaultPrevented||s&&s.defaultPrevented||(this._deactivate(n,t),this._activate(t,n))}_activate(t,n){if(!t)return;t.classList.add(St),this._activate(b.getElementFromSelector(t));const s=()=>{if(t.getAttribute("role")!=="tab"){t.classList.add(gn);return}t.removeAttribute("tabindex"),t.setAttribute("aria-selected",!0),this._toggleDropDown(t,!0),h.trigger(t,Hf,{relatedTarget:n})};this._queueCallback(s,t,t.classList.contains(rr))}_deactivate(t,n){if(!t)return;t.classList.remove(St),t.blur(),this._deactivate(b.getElementFromSelector(t));const s=()=>{if(t.getAttribute("role")!=="tab"){t.classList.remove(gn);return}t.setAttribute("aria-selected",!1),t.setAttribute("tabindex","-1"),this._toggleDropDown(t,!1),h.trigger(t,Ff,{relatedTarget:n})};this._queueCallback(s,t,t.classList.contains(rr))}_keydown(t){if(![Wf,er,Kf,nr,_n,sr].includes(t.key))return;t.stopPropagation(),t.preventDefault();const n=this._getChildren().filter(r=>!gt(r));let s;if([_n,sr].includes(t.key))s=n[t.key===_n?0:n.length-1];else{const r=[er,nr].includes(t.key);s=Yn(n,t.target,r,!0)}s&&(s.focus({preventScroll:!0}),Yt.getOrCreateInstance(s).show())}_getChildren(){return b.find(bn,this._parent)}_getActiveElem(){return this._getChildren().find(t=>this._elemIsActive(t))||null}_setInitialAttributes(t,n){this._setAttributeIfNotExists(t,"role","tablist");for(const s of n)this._setInitialAttributesOnChild(s)}_setInitialAttributesOnChild(t){t=this._getInnerElement(t);const n=this._elemIsActive(t),s=this._getOuterElement(t);t.setAttribute("aria-selected",n),s!==t&&this._setAttributeIfNotExists(s,"role","presentation"),n||t.setAttribute("tabindex","-1"),this._setAttributeIfNotExists(t,"role","tab"),this._setInitialAttributesOnTargetPanel(t)}_setInitialAttributesOnTargetPanel(t){const n=b.getElementFromSelector(t);n&&(this._setAttributeIfNotExists(n,"role","tabpanel"),t.id&&this._setAttributeIfNotExists(n,"aria-labelledby",`${t.id}`))}_toggleDropDown(t,n){const s=this._getOuterElement(t);if(!s.classList.contains(qf))return;const r=(i,o)=>{const a=b.findOne(i,s);a&&a.classList.toggle(o,n)};r(Ni,St),r(zf,gn),s.setAttribute("aria-expanded",n)}_setAttributeIfNotExists(t,n,s){t.hasAttribute(n)||t.setAttribute(n,s)}_elemIsActive(t){return t.classList.contains(St)}_getInnerElement(t){return t.matches(bn)?t:b.findOne(bn,t)}_getOuterElement(t){return t.closest(Gf)||t}static jQueryInterface(t){return this.each(function(){const n=Yt.getOrCreateInstance(this);if(typeof t=="string"){if(n[t]===void 0||t.startsWith("_")||t==="constructor")throw new TypeError(`No method named "${t}"`);n[t]()}})}}h.on(document,Bf,Di,function(e){["A","AREA"].includes(this.tagName)&&e.preventDefault(),!gt(this)&&Yt.getOrCreateInstance(this).show()});h.on(window,Uf,()=>{for(const e of b.find(Jf))Yt.getOrCreateInstance(e)});Z(Yt);const Qf="toast",Zf="bs.toast",yt=`.${Zf}`,td=`mouseover${yt}`,ed=`mouseout${yt}`,nd=`focusin${yt}`,sd=`focusout${yt}`,rd=`hide${yt}`,id=`hidden${yt}`,od=`show${yt}`,ad=`shown${yt}`,cd="fade",ir="hide",Oe="show",Se="showing",ld={animation:"boolean",autohide:"boolean",delay:"number"},ud={animation:!0,autohide:!0,delay:5e3};class Xe extends st{constructor(t,n){super(t,n),this._timeout=null,this._hasMouseInteraction=!1,this._hasKeyboardInteraction=!1,this._setListeners()}static get Default(){return ud}static get DefaultType(){return ld}static get NAME(){return Qf}show(){if(h.trigger(this._element,od).defaultPrevented)return;this._clearTimeout(),this._config.animation&&this._element.classList.add(cd);const n=()=>{this._element.classList.remove(Se),h.trigger(this._element,ad),this._maybeScheduleHide()};this._element.classList.remove(ir),he(this._element),this._element.classList.add(Oe,Se),this._queueCallback(n,this._element,this._config.animation)}hide(){if(!this.isShown()||h.trigger(this._element,rd).defaultPrevented)return;const n=()=>{this._element.classList.add(ir),this._element.classList.remove(Se,Oe),h.trigger(this._element,id)};this._element.classList.add(Se),this._queueCallback(n,this._element,this._config.animation)}dispose(){this._clearTimeout(),this.isShown()&&this._element.classList.remove(Oe),super.dispose()}isShown(){return this._element.classList.contains(Oe)}_maybeScheduleHide(){this._config.autohide&&(this._hasMouseInteraction||this._hasKeyboardInteraction||(this._timeout=setTimeout(()=>{this.hide()},this._config.delay)))}_onInteraction(t,n){switch(t.type){case"mouseover":case"mouseout":{this._hasMouseInteraction=n;break}case"focusin":case"focusout":{this._hasKeyboardInteraction=n;break}}if(n){this._clearTimeout();return}const s=t.relatedTarget;this._element===s||this._element.contains(s)||this._maybeScheduleHide()}_setListeners(){h.on(this._element,td,t=>this._onInteraction(t,!0)),h.on(this._element,ed,t=>this._onInteraction(t,!1)),h.on(this._element,nd,t=>this._onInteraction(t,!0)),h.on(this._element,sd,t=>this._onInteraction(t,!1))}_clearTimeout(){clearTimeout(this._timeout),this._timeout=null}static jQueryInterface(t){return this.each(function(){const n=Xe.getOrCreateInstance(this,t);if(typeof t=="string"){if(typeof n[t]>"u")throw new TypeError(`No method named "${t}"`);n[t](this)}})}}qe(Xe);Z(Xe);document.addEventListener("DOMContentLoaded",()=>{console.log("App loaded via Vite")});
| ver. 1.4 |
Github
|
.
| PHP 8.3.28 | Generation time: 0.03 |
proxy
|
phpinfo
|
Settings