upd
This commit is contained in:
1 parent
a5f474f5bc
commit
42393ce6fc
42 files changed
+1483
-192
No files matched your search
BIN
Binary file not shown.
File renamed without changes.
+3
-3
@@ -3,12 +3,12 @@
|
||||
// export dynamically through wrangler, or we can potentially let users directly
|
||||
// add them as a sort of "plugin" system.
|
||||
|
||||
import ENTRY, { __INTERNAL_WRANGLER_MIDDLEWARE__ } from "/Users/songjunxi/Desktop/repos/vmail/.wrangler/tmp/bundle-5rCH3B/middleware-insertion-facade.js";
|
||||
import ENTRY, { __INTERNAL_WRANGLER_MIDDLEWARE__ } from "/Users/songjunxi/Desktop/repos/vmail/.wrangler/tmp/bundle-Gs6nOV/middleware-insertion-facade.js";
|
||||
import { __facade_invoke__, __facade_register__, Dispatcher } from "/Users/songjunxi/Desktop/repos/vmail/node_modules/.pnpm/wrangler@3.114.15/node_modules/wrangler/templates/middleware/common.ts";
|
||||
import type { WorkerEntrypointConstructor } from "/Users/songjunxi/Desktop/repos/vmail/.wrangler/tmp/bundle-5rCH3B/middleware-insertion-facade.js";
|
||||
import type { WorkerEntrypointConstructor } from "/Users/songjunxi/Desktop/repos/vmail/.wrangler/tmp/bundle-Gs6nOV/middleware-insertion-facade.js";
|
||||
|
||||
// Preserve all the exports from the worker
|
||||
export * from "/Users/songjunxi/Desktop/repos/vmail/.wrangler/tmp/bundle-5rCH3B/middleware-insertion-facade.js";
|
||||
export * from "/Users/songjunxi/Desktop/repos/vmail/.wrangler/tmp/bundle-Gs6nOV/middleware-insertion-facade.js";
|
||||
|
||||
class __Facade_ScheduledController__ implements ScheduledController {
|
||||
readonly #noRetry: ScheduledController["noRetry"];
|
||||
File renamed without changes.
@@ -0,0 +1,11 @@
|
||||
import worker, * as OTHER_EXPORTS from "/Users/songjunxi/Desktop/repos/vmail/worker/src/index.ts";
|
||||
import * as __MIDDLEWARE_0__ from "/Users/songjunxi/Desktop/repos/vmail/node_modules/.pnpm/wrangler@3.114.15/node_modules/wrangler/templates/middleware/middleware-ensure-req-body-drained.ts";
|
||||
import * as __MIDDLEWARE_1__ from "/Users/songjunxi/Desktop/repos/vmail/node_modules/.pnpm/wrangler@3.114.15/node_modules/wrangler/templates/middleware/middleware-miniflare3-json-error.ts";
|
||||
|
||||
export * from "/Users/songjunxi/Desktop/repos/vmail/worker/src/index.ts";
|
||||
|
||||
export const __INTERNAL_WRANGLER_MIDDLEWARE__ = [
|
||||
|
||||
__MIDDLEWARE_0__.default,__MIDDLEWARE_1__.default
|
||||
]
|
||||
export default worker;
|
||||
@@ -0,0 +1,134 @@
|
||||
// This loads all middlewares exposed on the middleware object and then starts
|
||||
// the invocation chain. The big idea is that we can add these to the middleware
|
||||
// export dynamically through wrangler, or we can potentially let users directly
|
||||
// add them as a sort of "plugin" system.
|
||||
|
||||
import ENTRY, { __INTERNAL_WRANGLER_MIDDLEWARE__ } from "/Users/songjunxi/Desktop/repos/vmail/.wrangler/tmp/bundle-MJIuJQ/middleware-insertion-facade.js";
|
||||
import { __facade_invoke__, __facade_register__, Dispatcher } from "/Users/songjunxi/Desktop/repos/vmail/node_modules/.pnpm/wrangler@3.114.15/node_modules/wrangler/templates/middleware/common.ts";
|
||||
import type { WorkerEntrypointConstructor } from "/Users/songjunxi/Desktop/repos/vmail/.wrangler/tmp/bundle-MJIuJQ/middleware-insertion-facade.js";
|
||||
|
||||
// Preserve all the exports from the worker
|
||||
export * from "/Users/songjunxi/Desktop/repos/vmail/.wrangler/tmp/bundle-MJIuJQ/middleware-insertion-facade.js";
|
||||
|
||||
class __Facade_ScheduledController__ implements ScheduledController {
|
||||
readonly #noRetry: ScheduledController["noRetry"];
|
||||
|
||||
constructor(
|
||||
readonly scheduledTime: number,
|
||||
readonly cron: string,
|
||||
noRetry: ScheduledController["noRetry"]
|
||||
) {
|
||||
this.#noRetry = noRetry;
|
||||
}
|
||||
|
||||
noRetry() {
|
||||
if (!(this instanceof __Facade_ScheduledController__)) {
|
||||
throw new TypeError("Illegal invocation");
|
||||
}
|
||||
// Need to call native method immediately in case uncaught error thrown
|
||||
this.#noRetry();
|
||||
}
|
||||
}
|
||||
|
||||
function wrapExportedHandler(worker: ExportedHandler): ExportedHandler {
|
||||
// If we don't have any middleware defined, just return the handler as is
|
||||
if (
|
||||
__INTERNAL_WRANGLER_MIDDLEWARE__ === undefined ||
|
||||
__INTERNAL_WRANGLER_MIDDLEWARE__.length === 0
|
||||
) {
|
||||
return worker;
|
||||
}
|
||||
// Otherwise, register all middleware once
|
||||
for (const middleware of __INTERNAL_WRANGLER_MIDDLEWARE__) {
|
||||
__facade_register__(middleware);
|
||||
}
|
||||
|
||||
const fetchDispatcher: ExportedHandlerFetchHandler = function (
|
||||
request,
|
||||
env,
|
||||
ctx
|
||||
) {
|
||||
if (worker.fetch === undefined) {
|
||||
throw new Error("Handler does not export a fetch() function.");
|
||||
}
|
||||
return worker.fetch(request, env, ctx);
|
||||
};
|
||||
|
||||
return {
|
||||
...worker,
|
||||
fetch(request, env, ctx) {
|
||||
const dispatcher: Dispatcher = function (type, init) {
|
||||
if (type === "scheduled" && worker.scheduled !== undefined) {
|
||||
const controller = new __Facade_ScheduledController__(
|
||||
Date.now(),
|
||||
init.cron ?? "",
|
||||
() => {}
|
||||
);
|
||||
return worker.scheduled(controller, env, ctx);
|
||||
}
|
||||
};
|
||||
return __facade_invoke__(request, env, ctx, dispatcher, fetchDispatcher);
|
||||
},
|
||||
};
|
||||
}
|
||||
|
||||
function wrapWorkerEntrypoint(
|
||||
klass: WorkerEntrypointConstructor
|
||||
): WorkerEntrypointConstructor {
|
||||
// If we don't have any middleware defined, just return the handler as is
|
||||
if (
|
||||
__INTERNAL_WRANGLER_MIDDLEWARE__ === undefined ||
|
||||
__INTERNAL_WRANGLER_MIDDLEWARE__.length === 0
|
||||
) {
|
||||
return klass;
|
||||
}
|
||||
// Otherwise, register all middleware once
|
||||
for (const middleware of __INTERNAL_WRANGLER_MIDDLEWARE__) {
|
||||
__facade_register__(middleware);
|
||||
}
|
||||
|
||||
// `extend`ing `klass` here so other RPC methods remain callable
|
||||
return class extends klass {
|
||||
#fetchDispatcher: ExportedHandlerFetchHandler<Record<string, unknown>> = (
|
||||
request,
|
||||
env,
|
||||
ctx
|
||||
) => {
|
||||
this.env = env;
|
||||
this.ctx = ctx;
|
||||
if (super.fetch === undefined) {
|
||||
throw new Error("Entrypoint class does not define a fetch() function.");
|
||||
}
|
||||
return super.fetch(request);
|
||||
};
|
||||
|
||||
#dispatcher: Dispatcher = (type, init) => {
|
||||
if (type === "scheduled" && super.scheduled !== undefined) {
|
||||
const controller = new __Facade_ScheduledController__(
|
||||
Date.now(),
|
||||
init.cron ?? "",
|
||||
() => {}
|
||||
);
|
||||
return super.scheduled(controller);
|
||||
}
|
||||
};
|
||||
|
||||
fetch(request: Request<unknown, IncomingRequestCfProperties>) {
|
||||
return __facade_invoke__(
|
||||
request,
|
||||
this.env,
|
||||
this.ctx,
|
||||
this.#dispatcher,
|
||||
this.#fetchDispatcher
|
||||
);
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
let WRAPPED_ENTRY: ExportedHandler | WorkerEntrypointConstructor | undefined;
|
||||
if (typeof ENTRY === "object") {
|
||||
WRAPPED_ENTRY = wrapExportedHandler(ENTRY);
|
||||
} else if (typeof ENTRY === "function") {
|
||||
WRAPPED_ENTRY = wrapWorkerEntrypoint(ENTRY);
|
||||
}
|
||||
export default WRAPPED_ENTRY;
|
||||
@@ -0,0 +1,13 @@
|
||||
function stripCfConnectingIPHeader(input, init) {
|
||||
const request = new Request(input, init);
|
||||
request.headers.delete("CF-Connecting-IP");
|
||||
return request;
|
||||
}
|
||||
|
||||
globalThis.fetch = new Proxy(globalThis.fetch, {
|
||||
apply(target, thisArg, argArray) {
|
||||
return Reflect.apply(target, thisArg, [
|
||||
stripCfConnectingIPHeader.apply(null, argArray),
|
||||
]);
|
||||
},
|
||||
});
|
||||
@@ -0,0 +1,11 @@
|
||||
import worker, * as OTHER_EXPORTS from "/Users/songjunxi/Desktop/repos/vmail/worker/src/index.ts";
|
||||
import * as __MIDDLEWARE_0__ from "/Users/songjunxi/Desktop/repos/vmail/node_modules/.pnpm/wrangler@3.114.15/node_modules/wrangler/templates/middleware/middleware-ensure-req-body-drained.ts";
|
||||
import * as __MIDDLEWARE_1__ from "/Users/songjunxi/Desktop/repos/vmail/node_modules/.pnpm/wrangler@3.114.15/node_modules/wrangler/templates/middleware/middleware-miniflare3-json-error.ts";
|
||||
|
||||
export * from "/Users/songjunxi/Desktop/repos/vmail/worker/src/index.ts";
|
||||
|
||||
export const __INTERNAL_WRANGLER_MIDDLEWARE__ = [
|
||||
|
||||
__MIDDLEWARE_0__.default,__MIDDLEWARE_1__.default
|
||||
]
|
||||
export default worker;
|
||||
@@ -0,0 +1,134 @@
|
||||
// This loads all middlewares exposed on the middleware object and then starts
|
||||
// the invocation chain. The big idea is that we can add these to the middleware
|
||||
// export dynamically through wrangler, or we can potentially let users directly
|
||||
// add them as a sort of "plugin" system.
|
||||
|
||||
import ENTRY, { __INTERNAL_WRANGLER_MIDDLEWARE__ } from "/Users/songjunxi/Desktop/repos/vmail/.wrangler/tmp/bundle-SY4zl5/middleware-insertion-facade.js";
|
||||
import { __facade_invoke__, __facade_register__, Dispatcher } from "/Users/songjunxi/Desktop/repos/vmail/node_modules/.pnpm/wrangler@3.114.15/node_modules/wrangler/templates/middleware/common.ts";
|
||||
import type { WorkerEntrypointConstructor } from "/Users/songjunxi/Desktop/repos/vmail/.wrangler/tmp/bundle-SY4zl5/middleware-insertion-facade.js";
|
||||
|
||||
// Preserve all the exports from the worker
|
||||
export * from "/Users/songjunxi/Desktop/repos/vmail/.wrangler/tmp/bundle-SY4zl5/middleware-insertion-facade.js";
|
||||
|
||||
class __Facade_ScheduledController__ implements ScheduledController {
|
||||
readonly #noRetry: ScheduledController["noRetry"];
|
||||
|
||||
constructor(
|
||||
readonly scheduledTime: number,
|
||||
readonly cron: string,
|
||||
noRetry: ScheduledController["noRetry"]
|
||||
) {
|
||||
this.#noRetry = noRetry;
|
||||
}
|
||||
|
||||
noRetry() {
|
||||
if (!(this instanceof __Facade_ScheduledController__)) {
|
||||
throw new TypeError("Illegal invocation");
|
||||
}
|
||||
// Need to call native method immediately in case uncaught error thrown
|
||||
this.#noRetry();
|
||||
}
|
||||
}
|
||||
|
||||
function wrapExportedHandler(worker: ExportedHandler): ExportedHandler {
|
||||
// If we don't have any middleware defined, just return the handler as is
|
||||
if (
|
||||
__INTERNAL_WRANGLER_MIDDLEWARE__ === undefined ||
|
||||
__INTERNAL_WRANGLER_MIDDLEWARE__.length === 0
|
||||
) {
|
||||
return worker;
|
||||
}
|
||||
// Otherwise, register all middleware once
|
||||
for (const middleware of __INTERNAL_WRANGLER_MIDDLEWARE__) {
|
||||
__facade_register__(middleware);
|
||||
}
|
||||
|
||||
const fetchDispatcher: ExportedHandlerFetchHandler = function (
|
||||
request,
|
||||
env,
|
||||
ctx
|
||||
) {
|
||||
if (worker.fetch === undefined) {
|
||||
throw new Error("Handler does not export a fetch() function.");
|
||||
}
|
||||
return worker.fetch(request, env, ctx);
|
||||
};
|
||||
|
||||
return {
|
||||
...worker,
|
||||
fetch(request, env, ctx) {
|
||||
const dispatcher: Dispatcher = function (type, init) {
|
||||
if (type === "scheduled" && worker.scheduled !== undefined) {
|
||||
const controller = new __Facade_ScheduledController__(
|
||||
Date.now(),
|
||||
init.cron ?? "",
|
||||
() => {}
|
||||
);
|
||||
return worker.scheduled(controller, env, ctx);
|
||||
}
|
||||
};
|
||||
return __facade_invoke__(request, env, ctx, dispatcher, fetchDispatcher);
|
||||
},
|
||||
};
|
||||
}
|
||||
|
||||
function wrapWorkerEntrypoint(
|
||||
klass: WorkerEntrypointConstructor
|
||||
): WorkerEntrypointConstructor {
|
||||
// If we don't have any middleware defined, just return the handler as is
|
||||
if (
|
||||
__INTERNAL_WRANGLER_MIDDLEWARE__ === undefined ||
|
||||
__INTERNAL_WRANGLER_MIDDLEWARE__.length === 0
|
||||
) {
|
||||
return klass;
|
||||
}
|
||||
// Otherwise, register all middleware once
|
||||
for (const middleware of __INTERNAL_WRANGLER_MIDDLEWARE__) {
|
||||
__facade_register__(middleware);
|
||||
}
|
||||
|
||||
// `extend`ing `klass` here so other RPC methods remain callable
|
||||
return class extends klass {
|
||||
#fetchDispatcher: ExportedHandlerFetchHandler<Record<string, unknown>> = (
|
||||
request,
|
||||
env,
|
||||
ctx
|
||||
) => {
|
||||
this.env = env;
|
||||
this.ctx = ctx;
|
||||
if (super.fetch === undefined) {
|
||||
throw new Error("Entrypoint class does not define a fetch() function.");
|
||||
}
|
||||
return super.fetch(request);
|
||||
};
|
||||
|
||||
#dispatcher: Dispatcher = (type, init) => {
|
||||
if (type === "scheduled" && super.scheduled !== undefined) {
|
||||
const controller = new __Facade_ScheduledController__(
|
||||
Date.now(),
|
||||
init.cron ?? "",
|
||||
() => {}
|
||||
);
|
||||
return super.scheduled(controller);
|
||||
}
|
||||
};
|
||||
|
||||
fetch(request: Request<unknown, IncomingRequestCfProperties>) {
|
||||
return __facade_invoke__(
|
||||
request,
|
||||
this.env,
|
||||
this.ctx,
|
||||
this.#dispatcher,
|
||||
this.#fetchDispatcher
|
||||
);
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
let WRAPPED_ENTRY: ExportedHandler | WorkerEntrypointConstructor | undefined;
|
||||
if (typeof ENTRY === "object") {
|
||||
WRAPPED_ENTRY = wrapExportedHandler(ENTRY);
|
||||
} else if (typeof ENTRY === "function") {
|
||||
WRAPPED_ENTRY = wrapWorkerEntrypoint(ENTRY);
|
||||
}
|
||||
export default WRAPPED_ENTRY;
|
||||
@@ -0,0 +1,13 @@
|
||||
function stripCfConnectingIPHeader(input, init) {
|
||||
const request = new Request(input, init);
|
||||
request.headers.delete("CF-Connecting-IP");
|
||||
return request;
|
||||
}
|
||||
|
||||
globalThis.fetch = new Proxy(globalThis.fetch, {
|
||||
apply(target, thisArg, argArray) {
|
||||
return Reflect.apply(target, thisArg, [
|
||||
stripCfConnectingIPHeader.apply(null, argArray),
|
||||
]);
|
||||
},
|
||||
});
|
||||
@@ -0,0 +1,11 @@
|
||||
import worker, * as OTHER_EXPORTS from "/Users/songjunxi/Desktop/repos/vmail/worker/src/index.ts";
|
||||
import * as __MIDDLEWARE_0__ from "/Users/songjunxi/Desktop/repos/vmail/node_modules/.pnpm/wrangler@3.114.15/node_modules/wrangler/templates/middleware/middleware-ensure-req-body-drained.ts";
|
||||
import * as __MIDDLEWARE_1__ from "/Users/songjunxi/Desktop/repos/vmail/node_modules/.pnpm/wrangler@3.114.15/node_modules/wrangler/templates/middleware/middleware-miniflare3-json-error.ts";
|
||||
|
||||
export * from "/Users/songjunxi/Desktop/repos/vmail/worker/src/index.ts";
|
||||
|
||||
export const __INTERNAL_WRANGLER_MIDDLEWARE__ = [
|
||||
|
||||
__MIDDLEWARE_0__.default,__MIDDLEWARE_1__.default
|
||||
]
|
||||
export default worker;
|
||||
@@ -0,0 +1,134 @@
|
||||
// This loads all middlewares exposed on the middleware object and then starts
|
||||
// the invocation chain. The big idea is that we can add these to the middleware
|
||||
// export dynamically through wrangler, or we can potentially let users directly
|
||||
// add them as a sort of "plugin" system.
|
||||
|
||||
import ENTRY, { __INTERNAL_WRANGLER_MIDDLEWARE__ } from "/Users/songjunxi/Desktop/repos/vmail/.wrangler/tmp/bundle-nk20cv/middleware-insertion-facade.js";
|
||||
import { __facade_invoke__, __facade_register__, Dispatcher } from "/Users/songjunxi/Desktop/repos/vmail/node_modules/.pnpm/wrangler@3.114.15/node_modules/wrangler/templates/middleware/common.ts";
|
||||
import type { WorkerEntrypointConstructor } from "/Users/songjunxi/Desktop/repos/vmail/.wrangler/tmp/bundle-nk20cv/middleware-insertion-facade.js";
|
||||
|
||||
// Preserve all the exports from the worker
|
||||
export * from "/Users/songjunxi/Desktop/repos/vmail/.wrangler/tmp/bundle-nk20cv/middleware-insertion-facade.js";
|
||||
|
||||
class __Facade_ScheduledController__ implements ScheduledController {
|
||||
readonly #noRetry: ScheduledController["noRetry"];
|
||||
|
||||
constructor(
|
||||
readonly scheduledTime: number,
|
||||
readonly cron: string,
|
||||
noRetry: ScheduledController["noRetry"]
|
||||
) {
|
||||
this.#noRetry = noRetry;
|
||||
}
|
||||
|
||||
noRetry() {
|
||||
if (!(this instanceof __Facade_ScheduledController__)) {
|
||||
throw new TypeError("Illegal invocation");
|
||||
}
|
||||
// Need to call native method immediately in case uncaught error thrown
|
||||
this.#noRetry();
|
||||
}
|
||||
}
|
||||
|
||||
function wrapExportedHandler(worker: ExportedHandler): ExportedHandler {
|
||||
// If we don't have any middleware defined, just return the handler as is
|
||||
if (
|
||||
__INTERNAL_WRANGLER_MIDDLEWARE__ === undefined ||
|
||||
__INTERNAL_WRANGLER_MIDDLEWARE__.length === 0
|
||||
) {
|
||||
return worker;
|
||||
}
|
||||
// Otherwise, register all middleware once
|
||||
for (const middleware of __INTERNAL_WRANGLER_MIDDLEWARE__) {
|
||||
__facade_register__(middleware);
|
||||
}
|
||||
|
||||
const fetchDispatcher: ExportedHandlerFetchHandler = function (
|
||||
request,
|
||||
env,
|
||||
ctx
|
||||
) {
|
||||
if (worker.fetch === undefined) {
|
||||
throw new Error("Handler does not export a fetch() function.");
|
||||
}
|
||||
return worker.fetch(request, env, ctx);
|
||||
};
|
||||
|
||||
return {
|
||||
...worker,
|
||||
fetch(request, env, ctx) {
|
||||
const dispatcher: Dispatcher = function (type, init) {
|
||||
if (type === "scheduled" && worker.scheduled !== undefined) {
|
||||
const controller = new __Facade_ScheduledController__(
|
||||
Date.now(),
|
||||
init.cron ?? "",
|
||||
() => {}
|
||||
);
|
||||
return worker.scheduled(controller, env, ctx);
|
||||
}
|
||||
};
|
||||
return __facade_invoke__(request, env, ctx, dispatcher, fetchDispatcher);
|
||||
},
|
||||
};
|
||||
}
|
||||
|
||||
function wrapWorkerEntrypoint(
|
||||
klass: WorkerEntrypointConstructor
|
||||
): WorkerEntrypointConstructor {
|
||||
// If we don't have any middleware defined, just return the handler as is
|
||||
if (
|
||||
__INTERNAL_WRANGLER_MIDDLEWARE__ === undefined ||
|
||||
__INTERNAL_WRANGLER_MIDDLEWARE__.length === 0
|
||||
) {
|
||||
return klass;
|
||||
}
|
||||
// Otherwise, register all middleware once
|
||||
for (const middleware of __INTERNAL_WRANGLER_MIDDLEWARE__) {
|
||||
__facade_register__(middleware);
|
||||
}
|
||||
|
||||
// `extend`ing `klass` here so other RPC methods remain callable
|
||||
return class extends klass {
|
||||
#fetchDispatcher: ExportedHandlerFetchHandler<Record<string, unknown>> = (
|
||||
request,
|
||||
env,
|
||||
ctx
|
||||
) => {
|
||||
this.env = env;
|
||||
this.ctx = ctx;
|
||||
if (super.fetch === undefined) {
|
||||
throw new Error("Entrypoint class does not define a fetch() function.");
|
||||
}
|
||||
return super.fetch(request);
|
||||
};
|
||||
|
||||
#dispatcher: Dispatcher = (type, init) => {
|
||||
if (type === "scheduled" && super.scheduled !== undefined) {
|
||||
const controller = new __Facade_ScheduledController__(
|
||||
Date.now(),
|
||||
init.cron ?? "",
|
||||
() => {}
|
||||
);
|
||||
return super.scheduled(controller);
|
||||
}
|
||||
};
|
||||
|
||||
fetch(request: Request<unknown, IncomingRequestCfProperties>) {
|
||||
return __facade_invoke__(
|
||||
request,
|
||||
this.env,
|
||||
this.ctx,
|
||||
this.#dispatcher,
|
||||
this.#fetchDispatcher
|
||||
);
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
let WRAPPED_ENTRY: ExportedHandler | WorkerEntrypointConstructor | undefined;
|
||||
if (typeof ENTRY === "object") {
|
||||
WRAPPED_ENTRY = wrapExportedHandler(ENTRY);
|
||||
} else if (typeof ENTRY === "function") {
|
||||
WRAPPED_ENTRY = wrapWorkerEntrypoint(ENTRY);
|
||||
}
|
||||
export default WRAPPED_ENTRY;
|
||||
@@ -0,0 +1,13 @@
|
||||
function stripCfConnectingIPHeader(input, init) {
|
||||
const request = new Request(input, init);
|
||||
request.headers.delete("CF-Connecting-IP");
|
||||
return request;
|
||||
}
|
||||
|
||||
globalThis.fetch = new Proxy(globalThis.fetch, {
|
||||
apply(target, thisArg, argArray) {
|
||||
return Reflect.apply(target, thisArg, [
|
||||
stripCfConnectingIPHeader.apply(null, argArray),
|
||||
]);
|
||||
},
|
||||
});
|
||||
@@ -1,21 +1,21 @@
|
||||
var Rn=Object.defineProperty;var eu=(r,e,t)=>e in r?Rn(r,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):r[e]=t;var o=(r,e)=>Rn(r,"name",{value:e,configurable:!0});var tu=(r,e)=>{for(var t in e)Rn(r,t,{get:e[t],enumerable:!0})};var h=(r,e,t)=>(eu(r,typeof e!="symbol"?e+"":e,t),t);function ru(r,e){let t=new Request(r,e);return t.headers.delete("CF-Connecting-IP"),t}o(ru,"stripCfConnectingIPHeader");globalThis.fetch=new Proxy(globalThis.fetch,{apply(r,e,t){return Reflect.apply(r,e,[ru.apply(null,t)])}});function L(r){return new Error(`[unenv] ${r} is not implemented yet!`)}o(L,"createNotImplementedError");function Ue(r){return Object.assign(o(()=>{throw L(r)},"fn"),{__unenv__:!0})}o(Ue,"notImplemented");function qi(r){return class{__unenv__=!0;constructor(){throw new Error(`[unenv] ${r} is not implemented yet!`)}}}o(qi,"notImplementedClass");var On=globalThis.performance?.timeOrigin??Date.now(),Bn=globalThis.performance?.now?globalThis.performance.now.bind(globalThis.performance):()=>Date.now()-On,su={name:"node",entryType:"node",startTime:0,duration:0,nodeStart:0,v8Start:0,bootstrapComplete:0,environment:0,loopStart:0,loopExit:0,idleTime:0,uvMetricsInfo:{loopCount:0,events:0,eventsWaiting:0},detail:void 0,toJSON(){return this}},rt=class{__unenv__=!0;detail;entryType="event";name;startTime;constructor(e,t){this.name=e,this.startTime=t?.startTime||Bn(),this.detail=t?.detail}get duration(){return Bn()-this.startTime}toJSON(){return{name:this.name,entryType:this.entryType,startTime:this.startTime,duration:this.duration,detail:this.detail}}};o(rt,"PerformanceEntry");var qn=o(class extends rt{entryType="mark";constructor(){super(...arguments)}get duration(){return 0}},"PerformanceMark"),ar=class extends rt{entryType="measure"};o(ar,"PerformanceMeasure");var or=class extends rt{entryType="resource";serverTiming=[];connectEnd=0;connectStart=0;decodedBodySize=0;domainLookupEnd=0;domainLookupStart=0;encodedBodySize=0;fetchStart=0;initiatorType="";name="";nextHopProtocol="";redirectEnd=0;redirectStart=0;requestStart=0;responseEnd=0;responseStart=0;secureConnectionStart=0;startTime=0;transferSize=0;workerStart=0;responseStatus=0};o(or,"PerformanceResourceTiming");var Kr=class{__unenv__=!0;getEntries(){return[]}getEntriesByName(e,t){return[]}getEntriesByType(e){return[]}};o(Kr,"PerformanceObserverEntryList");var ur=class{__unenv__=!0;timeOrigin=On;eventCounts=new Map;_entries=[];_resourceTimingBufferSize=0;navigation=void 0;timing=void 0;timerify(e,t){throw L("Performance.timerify")}get nodeTiming(){return su}eventLoopUtilization(){return{}}markResourceTiming(){return new or("")}onresourcetimingbufferfull=null;now(){return this.timeOrigin===On?Bn():Date.now()-this.timeOrigin}clearMarks(e){this._entries=e?this._entries.filter(t=>t.name!==e):this._entries.filter(t=>t.entryType!=="mark")}clearMeasures(e){this._entries=e?this._entries.filter(t=>t.name!==e):this._entries.filter(t=>t.entryType!=="measure")}clearResourceTimings(){this._entries=this._entries.filter(e=>e.entryType!=="resource"||e.entryType!=="navigation")}getEntries(){return this._entries}getEntriesByName(e,t){return this._entries.filter(s=>s.name===e&&(!t||s.entryType===t))}getEntriesByType(e){return this._entries.filter(t=>t.entryType===e)}mark(e,t){let s=new qn(e,t);return this._entries.push(s),s}measure(e,t,s){let n,i;typeof t=="string"?(n=this.getEntriesByName(t,"mark")[0]?.startTime,i=this.getEntriesByName(s,"mark")[0]?.startTime):(n=Number.parseFloat(t?.start)||this.now(),i=Number.parseFloat(t?.end)||this.now());let a=new ar(e,{startTime:n,detail:{start:n,end:i}});return this._entries.push(a),a}setResourceTimingBufferSize(e){this._resourceTimingBufferSize=e}addEventListener(e,t,s){throw L("Performance.addEventListener")}removeEventListener(e,t,s){throw L("Performance.removeEventListener")}dispatchEvent(e){throw L("Performance.dispatchEvent")}toJSON(){return this}};o(ur,"Performance");var ir=class{__unenv__=!0;_callback=null;constructor(e){this._callback=e}takeRecords(){return[]}disconnect(){throw L("PerformanceObserver.disconnect")}observe(e){throw L("PerformanceObserver.observe")}bind(e){return e}runInAsyncScope(e,t,...s){return e.call(t,...s)}asyncId(){return 0}triggerAsyncId(){return 0}emitDestroy(){return this}};o(ir,"PerformanceObserver"),h(ir,"supportedEntryTypes",[]);var Fi=globalThis.performance&&"addEventListener"in globalThis.performance?globalThis.performance:new ur;globalThis.performance=Fi;globalThis.Performance=ur;globalThis.PerformanceEntry=rt;globalThis.PerformanceMark=qn;globalThis.PerformanceMeasure=ar;globalThis.PerformanceObserver=ir;globalThis.PerformanceObserverEntryList=Kr;globalThis.PerformanceResourceTiming=or;import{Writable as ji}from"node:stream";var te=Object.assign(()=>{},{__unenv__:!0});var Q=globalThis.console,Ii=!0,Mi=new ji,$i=new ji,$s=Q?.log??te,nu=Q?.info??$s,Vp=Q?.trace??nu,Kp=Q?.debug??$s,Hp=Q?.table??$s,iu=Q?.error??$s,Qp=Q?.warn??iu,Gp=Q?.createTask??Ue("console.createTask");var Wp=Q?.clear??te,Jp=Q?.count??Line truncated
|
||||
var qn=Object.defineProperty;var uu=(r,e,t)=>e in r?qn(r,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):r[e]=t;var o=(r,e)=>qn(r,"name",{value:e,configurable:!0});var lu=(r,e)=>{for(var t in e)qn(r,t,{get:e[t],enumerable:!0})};var h=(r,e,t)=>(uu(r,typeof e!="symbol"?e+"":e,t),t);function cu(r,e){let t=new Request(r,e);return t.headers.delete("CF-Connecting-IP"),t}o(cu,"stripCfConnectingIPHeader");globalThis.fetch=new Proxy(globalThis.fetch,{apply(r,e,t){return Reflect.apply(r,e,[cu.apply(null,t)])}});function L(r){return new Error(`[unenv] ${r} is not implemented yet!`)}o(L,"createNotImplementedError");function Ue(r){return Object.assign(o(()=>{throw L(r)},"fn"),{__unenv__:!0})}o(Ue,"notImplemented");function $i(r){return class{__unenv__=!0;constructor(){throw new Error(`[unenv] ${r} is not implemented yet!`)}}}o($i,"notImplementedClass");var Fn=globalThis.performance?.timeOrigin??Date.now(),jn=globalThis.performance?.now?globalThis.performance.now.bind(globalThis.performance):()=>Date.now()-Fn,du={name:"node",entryType:"node",startTime:0,duration:0,nodeStart:0,v8Start:0,bootstrapComplete:0,environment:0,loopStart:0,loopExit:0,idleTime:0,uvMetricsInfo:{loopCount:0,events:0,eventsWaiting:0},detail:void 0,toJSON(){return this}},st=class{__unenv__=!0;detail;entryType="event";name;startTime;constructor(e,t){this.name=e,this.startTime=t?.startTime||jn(),this.detail=t?.detail}get duration(){return jn()-this.startTime}toJSON(){return{name:this.name,entryType:this.entryType,startTime:this.startTime,duration:this.duration,detail:this.detail}}};o(st,"PerformanceEntry");var In=o(class extends st{entryType="mark";constructor(){super(...arguments)}get duration(){return 0}},"PerformanceMark"),ur=class extends st{entryType="measure"};o(ur,"PerformanceMeasure");var lr=class extends st{entryType="resource";serverTiming=[];connectEnd=0;connectStart=0;decodedBodySize=0;domainLookupEnd=0;domainLookupStart=0;encodedBodySize=0;fetchStart=0;initiatorType="";name="";nextHopProtocol="";redirectEnd=0;redirectStart=0;requestStart=0;responseEnd=0;responseStart=0;secureConnectionStart=0;startTime=0;transferSize=0;workerStart=0;responseStatus=0};o(lr,"PerformanceResourceTiming");var Qr=class{__unenv__=!0;getEntries(){return[]}getEntriesByName(e,t){return[]}getEntriesByType(e){return[]}};o(Qr,"PerformanceObserverEntryList");var cr=class{__unenv__=!0;timeOrigin=Fn;eventCounts=new Map;_entries=[];_resourceTimingBufferSize=0;navigation=void 0;timing=void 0;timerify(e,t){throw L("Performance.timerify")}get nodeTiming(){return du}eventLoopUtilization(){return{}}markResourceTiming(){return new lr("")}onresourcetimingbufferfull=null;now(){return this.timeOrigin===Fn?jn():Date.now()-this.timeOrigin}clearMarks(e){this._entries=e?this._entries.filter(t=>t.name!==e):this._entries.filter(t=>t.entryType!=="mark")}clearMeasures(e){this._entries=e?this._entries.filter(t=>t.name!==e):this._entries.filter(t=>t.entryType!=="measure")}clearResourceTimings(){this._entries=this._entries.filter(e=>e.entryType!=="resource"||e.entryType!=="navigation")}getEntries(){return this._entries}getEntriesByName(e,t){return this._entries.filter(s=>s.name===e&&(!t||s.entryType===t))}getEntriesByType(e){return this._entries.filter(t=>t.entryType===e)}mark(e,t){let s=new In(e,t);return this._entries.push(s),s}measure(e,t,s){let n,i;typeof t=="string"?(n=this.getEntriesByName(t,"mark")[0]?.startTime,i=this.getEntriesByName(s,"mark")[0]?.startTime):(n=Number.parseFloat(t?.start)||this.now(),i=Number.parseFloat(t?.end)||this.now());let a=new ur(e,{startTime:n,detail:{start:n,end:i}});return this._entries.push(a),a}setResourceTimingBufferSize(e){this._resourceTimingBufferSize=e}addEventListener(e,t,s){throw L("Performance.addEventListener")}removeEventListener(e,t,s){throw L("Performance.removeEventListener")}dispatchEvent(e){throw L("Performance.dispatchEvent")}toJSON(){return this}};o(cr,"Performance");var or=class{__unenv__=!0;_callback=null;constructor(e){this._callback=e}takeRecords(){return[]}disconnect(){throw L("PerformanceObserver.disconnect")}observe(e){throw L("PerformanceObserver.observe")}bind(e){return e}runInAsyncScope(e,t,...s){return e.call(t,...s)}asyncId(){return 0}triggerAsyncId(){return 0}emitDestroy(){return this}};o(or,"PerformanceObserver"),h(or,"supportedEntryTypes",[]);var Mi=globalThis.performance&&"addEventListener"in globalThis.performance?globalThis.performance:new cr;globalThis.performance=Mi;globalThis.Performance=cr;globalThis.PerformanceEntry=st;globalThis.PerformanceMark=In;globalThis.PerformanceMeasure=ur;globalThis.PerformanceObserver=or;globalThis.PerformanceObserverEntryList=Qr;globalThis.PerformanceResourceTiming=lr;import{Writable as Li}from"node:stream";var re=Object.assign(()=>{},{__unenv__:!0});var Q=globalThis.console,Pi=!0,zi=new Li,Ki=new Li,zs=Q?.log??re,fu=Q?.info??zs,Xp=Q?.trace??fu,Zp=Q?.debug??zs,em=Q?.table??zs,hu=Q?.error??zs,tm=Q?.warn??hu,rm=Q?.createTask??Ue("console.createTask");var sm=Q?.clear??re,nm=Q?.count??Line truncated
|
||||
CREATE TABLE IF NOT EXISTS ${f.identifier(n)} (
|
||||
id SERIAL PRIMARY KEY,
|
||||
hash text NOT NULL,
|
||||
created_at numeric
|
||||
)
|
||||
`;t.run(i);let u=t.values(f`SELECT id, hash, created_at FROM ${f.identifier(n)} ORDER BY created_at DESC LIMIT 1`)[0]??void 0;t.run(f`BEGIN`);try{for(let l of e)if(!u||Number(u[2])<l.folderMillis){for(let c of l.sql)t.run(f.raw(c));t.run(f`INSERT INTO ${f.identifier(n)} ("hash", "created_at") VALUES(${l.hash}, ${l.folderMillis})`)}t.run(f`COMMIT`)}catch(l){throw t.run(f`ROLLBACK`),l}}};o(xr,"SQLiteSyncDialect"),Rd=p,h(xr,Rd,"SQLiteSyncDialect");var Od,vr=class extends br{async migrate(e,t,s){let n=typeof s=="string"?"__drizzle_migrations":s.migrationsTable??"__drizzle_migrations",i=f`
|
||||
`;t.run(i);let u=t.values(f`SELECT id, hash, created_at FROM ${f.identifier(n)} ORDER BY created_at DESC LIMIT 1`)[0]??void 0;t.run(f`BEGIN`);try{for(let l of e)if(!u||Number(u[2])<l.folderMillis){for(let c of l.sql)t.run(f.raw(c));t.run(f`INSERT INTO ${f.identifier(n)} ("hash", "created_at") VALUES(${l.hash}, ${l.folderMillis})`)}t.run(f`COMMIT`)}catch(l){throw t.run(f`ROLLBACK`),l}}};o(wr,"SQLiteSyncDialect"),Md=p,h(wr,Md,"SQLiteSyncDialect");var Ld,Ar=class extends vr{async migrate(e,t,s){let n=typeof s=="string"?"__drizzle_migrations":s.migrationsTable??"__drizzle_migrations",i=f`
|
||||
CREATE TABLE IF NOT EXISTS ${f.identifier(n)} (
|
||||
id SERIAL PRIMARY KEY,
|
||||
hash text NOT NULL,
|
||||
created_at numeric
|
||||
)
|
||||
`;await t.run(i);let u=(await t.values(f`SELECT id, hash, created_at FROM ${f.identifier(n)} ORDER BY created_at DESC LIMIT 1`))[0]??void 0;await t.transaction(async l=>{for(let c of e)if(!u||Number(u[2])<c.folderMillis){for(let d of c.sql)await l.run(f.raw(d));await l.run(f`INSERT INTO ${f.identifier(n)} ("hash", "created_at") VALUES(${c.hash}, ${c.folderMillis})`)}})}};o(vr,"SQLiteAsyncDialect"),Od=p,h(vr,Od,"SQLiteAsyncDialect");var Bd,wr=class{getSelectedFields(){return this._.selectedFields}};o(wr,"TypedQueryBuilder"),Bd=p,h(wr,Bd,"TypedQueryBuilder");var $d,fe=class{fields;session;dialect;withList;distinct;constructor(e){this.fields=e.fields,this.session=e.session,this.dialect=e.dialect,this.withList=e.withList,this.distinct=e.distinct}from(e){let t=!!this.fields,s;return this.fields?s=this.fields:g(e,ee)?s=Object.fromEntries(Object.keys(e[J].selection).map(n=>[n,e[n]])):g(e,at)?s=e[Y].selectedFields:g(e,D)?s={}:s=ln(e),new Ar({table:e,fields:s,isPartialSelect:t,session:this.session,dialect:this.dialect,withList:this.withList,distinct:this.distinct})}};o(fe,"SQLiteSelectBuilder"),$d=p,h(fe,$d,"SQLiteSelectBuilder");var Ld,ms=class extends wr{_;config;joinsNotNullableMap;tableName;isPartialSelect;session;dialect;constructor({table:e,fields:t,isPartialSelect:s,session:n,dialect:i,withList:a,distinct:u}){super(),this.config={withList:a,table:e,fields:{...t},distinct:u,setOperators:[]},this.isPartialSelect=s,this.session=n,this.dialect=i,this._={selectedFields:t},this.tableName=ai(e),this.joinsNotNullableMap=typeof this.tableName=="string"?{[this.tableName]:!0}:{}}createJoin(e){return(t,s)=>{let n=this.tableName,i=ai(t);if(typeof i=="string"&&this.config.joins?.some(a=>a.alias===i))throw new Error(`Alias "${i}" is already used in this query`);if(!this.isPartialSelect&&(Object.keys(this.joinsNotNullableMap).length===1&&typeof n=="string"&&(this.config.fields={[n]:this.config.fields}),typeof i=="string"&&!g(t,D))){let a=g(t,ee)?t[J].selection:g(t,le)?t[Y].selectedFields:t[v.Symbol.Columns];this.config.fields[i]=a}if(typeof s=="function"&&(s=s(new Proxy(this.config.fields,new ae({sqlAliasedBehavior:"sql",sqlBehavior:"sql"})))),this.config.joins||(this.config.joins=[]),this.config.joins.push({on:s,table:t,joinType:e,alias:i}),typeof i=="string")switch(e){case"left":{this.joinsNotNullableMap[i]=!1;break}case"right":{this.joinsNotNullableMap=Object.fromEntries(Object.entries(this.joinsNotNullableMap).map(([a])=>[a,!1])),this.joinsNotNullableMap[i]=!0;break}case"inner":{this.joinsNotNullableMap[i]=!0;break}case"full":{this.joinsNotNullableMap=Object.fromEntries(Object.entries(this.joinsNotNullableMap).map(([a])=>[a,!1])),this.joinsNotNullableMap[i]=!1;break}}return this}}leftJoin=this.createJoin("left");rightJoin=this.createJoin("right");innerJoin=this.createJoin("inner");fullJoin=this.createJoin("full");createSetOperator(e,t){return s=>{let n=typeof s=="function"?s(qd()):s;if(!ii(this.getSelectedFields(),n.getSelectedFields()))throw new Error("Set operator error (union / intersect / except): selected fields are not the same or are in a different order");return this.config.setOperators.push({type:e,isAll:t,rightSelect:n}),this}}union=this.createSetOperator("union",!1);unionAll=this.createSetOperator("union",!0);intersect=this.createSetOperator("intersect",!1);except=this.createSetOperator("except",!1);addSetOperators(e){return this.config.setOperators.push(...e),this}where(e){return typeof e=="function"&&(e=e(new Proxy(this.config.fields,new ae({sqlAliasedBehavior:"sql",sqlBehavior:"sql"})))),this.config.where=e,this}having(e){return typeof e=="function"&&(e=e(new Proxy(this.config.fields,new ae({sqlAliasedBehavior:"sql",sqlBehavior:"sql"})))),this.config.having=e,this}groupBy(...e){if(typeof e[0]=="function"){let t=e[0](new Proxy(this.config.fields,new ae({sqlAliasedBehavior:"alias",sqlBehavior:"sql"})));this.config.groupBy=Array.isArray(t)?t:[t]}else this.config.groupBy=e;return this}orderBy(...e){if(typeof e[0]=="function"){let t=e[0](new Proxy(this.config.fields,new ae({sqlAliasedBehavior:"alias",sqlBehavior:"sql"}))),s=Array.isArray(t)?t:[t];this.config.setOperators.length>0?this.config.setOperators.at(-1).orderBy=s:this.config.orderBy=s}else{let t=e;this.config.setOperators.length>0?this.config.setOperators.at(-1).orderBy=t:this.config.orderBy=t}return this}limit(e){return this.config.setOperators.length>0?this.config.setOperators.at(-1).limit=e:this.config.limit=e,this}offset(e){return this.config.setOperators.length>0?this.config.setOperators.at(-1).offset=e:this.config.offset=e,this}getSQL(){return this.dialect.buildSelectQuery(this.config)}toSQL(){let{typings:e,...t}=this.dialect.sqlToQuery(this.getSQL());return t}as(e){return new Proxy(new ee(this.getSQL(),this.config.fields,e),new ae({alias:e,sqlAliasedBehavior:"alias",sqlBehavior:"error"}))}getSelectedFields(){return new Proxy(this.config.fields,new ae({alias:this.tableName,sqlAliasedBehavior:"alias",sqlBehavior:"error"}))}$dynamic(){return this}
Line truncated
|
||||
`)}finalize(){return Dt(new Blob(this.chunks,{type:"application/octet-stream"}))}};o($r,"PassThroughDecoder");var Lr=class{constructor(e){e=e||{},this.decoder=e.decoder||new TextDecoder,this.maxChunkSize=100*1024,this.chunks=[],this.remainder=""}update(e){let t=this.decoder.decode(e);if(/[^a-zA-Z0-9+\/]/.test(t)&&(t=t.replace(/[^a-zA-Z0-9+\/]+/g,"")),this.remainder+=t,this.remainder.length>=this.maxChunkSize){let s=Math.floor(this.remainder.length/4)*4,n;s===this.remainder.length?(n=this.remainder,this.remainder=""):(n=this.remainder.substr(0,s),this.remainder=this.remainder.substr(s)),n.length&&this.chunks.push(Cn(n))}}finalize(){return this.remainder&&!/^=+$/.test(this.remainder)&&this.chunks.push(Cn(this.remainder)),Dt(new Blob(this.chunks,{type:"application/octet-stream"}))}};o(Lr,"Base64Decoder");var Io=/^=[a-f0-9]{2}$/i,Gh=/(?==[a-f0-9]{2})/i,Wh=/=\r?\n/g,Jh=/=[a-fA-F0-9]?$/,Pr=class{constructor(e){e=e||{},this.decoder=e.decoder||new TextDecoder,this.maxChunkSize=100*1024,this.remainder="",this.chunks=[]}decodeQPBytes(e){let t=new ArrayBuffer(e.length),s=new DataView(t);for(let n=0,i=e.length;n<i;n++)s.setUint8(n,parseInt(e[n],16));return t}decodeChunks(e){e=e.replace(Wh,"");let t=e.split(Gh),s=[];for(let n of t){if(n.charAt(0)!=="="){s.length&&(this.chunks.push(this.decodeQPBytes(s)),s=[]),this.chunks.push(n);continue}if(n.length===3){Io.test(n)?s.push(n.substr(1)):(s.length&&(this.chunks.push(this.decodeQPBytes(s)),s=[]),this.chunks.push(n));continue}if(n.length>3){let i=n.substr(0,3);Io.test(i)?(s.push(n.substr(1,2)),this.chunks.push(this.decodeQPBytes(s)),s=[],n=n.substr(3),this.chunks.push(n)):(s.length&&(this.chunks.push(this.decodeQPBytes(s)),s=[]),this.chunks.push(n))}}s.length&&(this.chunks.push(this.decodeQPBytes(s)),s=[])}update(e){let t=this.decoder.decode(e)+`
|
||||
`;if(t=this.remainder+t,t.length<this.maxChunkSize){this.remainder=t;return}this.remainder="";let s=t.match(Jh);if(s){if(s.index===0){this.remainder=t;return}this.remainder=t.substr(s.index),t=t.substr(0,s.index)}this.decodeChunks(t)}finalize(){return this.remainder.length&&(this.decodeChunks(this.remainder),this.remainder=""),Dt(new Blob(this.chunks,{type:"application/octet-stream"}))}};o(Pr,"QPDecoder");var Zt=class{constructor(e){if(this.options=e||{},this.postalMime=this.options.postalMime,this.root=!!this.options.parentNode,this.childNodes=[],this.options.parentNode){if(this.parentNode=this.options.parentNode,this.depth=this.parentNode.depth+1,this.depth>this.options.maxNestingDepth)throw new Error(`Maximum MIME nesting depth of ${this.options.maxNestingDepth} levels exceeded`);this.options.parentNode.childNodes.push(this)}else this.depth=0;this.state="header",this.headerLines=[],this.headerSize=0,this.contentType={value:"text/plain",default:!0},this.contentTransferEncoding={value:"8bit"},this.contentDisposition={value:""},this.headers=[],this.contentDecoder=!1}setupContentDecoder(e){/base64/i.test(e)?this.contentDecoder=new Lr:/quoted-printable/i.test(e)?this.contentDecoder=new Pr({decoder:Mr(this.contentType.parsed.params.charset)}):this.contentDecoder=new $r}async finalize(){if(this.state==="finished")return;this.state==="header"&&this.processHeaders();let e=this.postalMime.boundaries;for(let t=e.length-1;t>=0;t--)if(e[t].node===this){e.splice(t,1);break}await this.finalizeChildNodes(),this.content=this.contentDecoder?await this.contentDecoder.finalize():null,this.state="finished"}async finalizeChildNodes(){for(let e of this.childNodes)await e.finalize()}parseStructuredHeader(e){let t={value:!1,params:{}},s=!1,n="",i="value",a=!1,u=!1,l;for(let c=0,d=e.length;c<d;c++)switch(l=e.charAt(c),i){case"key":if(l==="="){s=n.trim().toLowerCase(),i="value",n="";break}n+=l;break;case"value":if(u)n+=l;else if(l==="\\"){u=!0;continue}else a&&l===a?a=!1:!a&&l==='"'?a=l:!a&&l===";"?(s===!1?t.value=n.trim():t.params[s]=n.trim(),i="key",n=""):n+=l;u=!1;break}return n=n.trim(),i==="value"?s===!1?t.value=n:t.params[s]=n:n&&(t.params[n.toLowerCase()]=""),t.value&&(t.value=t.value.toLowerCase()),jo(t),t}decodeFlowedText(e,t){return e.split(/\r?\n/).reduce((s,n)=>/ $/.test(s)&&!/(^|\n)-- $/.test(s)?t?s.slice(0,-1)+n:s+n:s+`
|
||||
`+n).replace(/^ /gm,"")}getTextContent(){if(!this.content)return"";let e=Mr(this.contentType.parsed.params.charset).decode(this.content);return/^flowed$/i.test(this.contentType.parsed.params.format)&&(e=this.decodeFlowedText(e,/^yes$/i.test(this.contentType.parsed.params.delsp))),e}processHeaders(){for(let e=this.headerLines.length-1;e>=0;e--){let t=this.headerLines[e];if(e&&/^\s/.test(t))this.headerLines[e-1]+=`
|
||||
`+t,this.headerLines.splice(e,1);else{t=t.replace(/\s+/g," ");let s=t.indexOf(":"),n=s<0?t.trim():t.substr(0,s).trim(),i=s<0?"":t.substr(s+1).trim();switch(this.headers.push({key:n.toLowerCase(),originalKey:n,value:i}),n.toLowerCase()){case"content-type":this.contentType.default&&(this.contentType={value:i,parsed:{}});break;case"content-transfer-encoding":this.contentTransferEncoding={value:i,parsed:{}};break;case"content-disposition":this.contentDisposition={value:i,parsed:{}};break;case"content-id":this.contentId=i;break;case"content-description":this.contentDescription=i;break}}}this.contentType.parsed=this.parseStructuredHeader(this.contentType.value),this.contentType.multipart=/^multipart\//i.test(this.contentType.parsed.value)?this.contentType.parsed.value.substr(this.contentType.parsed.value.indexOf("/")+1):!1,this.contentType.multipart&&this.contentType.parsed.params.boundary&&this.postalMime.boundaries.push({value:At.encode(this.contentType.parsed.params.boundary),node:this}),this.contentDisposition.parsed=this.parseStructuredHeader(this.contentDisposition.value),this.contentTransferEncoding.encoding=this.contentTransferEncoding.value.toLowerCase().split(/[^\w-]/).shift(),this.setupContentDecoder(this.contentTransferEncoding.encoding)}feed(e){switch(this.state){case"header":if(!e.length)return this.state="body",this.processHeaders();if(this.headerSize+=e.length,this.headerSize>this.options.maxHeadersSize)throw new Error(`Maximum header size of ${this.options.maxHeadersSize} bytes exceeded`);this.headerLines.push(Mr().decode(e));break;case"body":this.contentDecoder.update(e)}}};o(Zt,"MimeNode");var Yh={"Æ":"\xC6","Æ":"\xC6","&":"&","&":"&","Á":"\xC1","Á":"\xC1","Ă":"\u0102","Â":"\xC2","Â":"\xC2","А":"\u0410","𝔄":"\u{1D504}","À":"\xC0","À":"\xC0","Α":"\u0391","Ā":"\u0100","⩓":"\u2A53","Ą":"\u0104","𝔸":"\u{1D538}","⁡":"\u2061","Å":"\xC5","Å":"\xC5","𝒜":"\u{1D49C}","≔":"\u2254","Ã":"\xC3","Ã":"\xC3","Ä":"\xC4","Ä":"\xC4","∖":"\u2216","⫧":"\u2AE7","⌆":"\u2306","Б":"\u0411","∵":"\u2235","ℬ":"\u212C","Β":"\u0392","𝔅":"\u{1D505}","𝔹":"\u{1D539}","˘":"\u02D8","ℬ":"\u212C","≎":"\u224E","Ч":"\u0427","©":"\xA9","©":"\xA9","Ć":"\u0106","⋒":"\u22D2","ⅅ":"\u2145","ℭ":"\u212D","Č":"\u010C","Ç":"\xC7","Ç":"\xC7","Ĉ":"\u0108","∰":"\u2230","Ċ":"\u010A","¸":"\xB8","·":"\xB7","ℭ":"\u212D","Χ":"\u03A7","⊙":"\u2299","⊖":"\u2296","⊕":"\u2295","⊗":"\u2297","∲":"\u2232","”":"\u201D","’":"\u2019","∷":"\u2237","⩴":"\u2A74","≡":"\u2261","∯":"\u222F","∮":"\u222E","ℂ":"\u2102","∐":"\u2210","∳":"\u2233","⨯":"\u2A2F","𝒞":"\u{1D49E}","⋓":"\u22D3","≍":"\u224D","ⅅ":"\u2145","⤑":"\u2911","Ђ":"\u0402","Ѕ":"\u0405","Џ":"\u040F","‡":"\u2021","↡":"\u21A1","⫤":"\u2AE4","Ď":"\u010E","Д":"\u0414","∇":"\u2207","Δ":"\u0394","𝔇":"\u{1D507}","´":"\xB4","˙":"\u02D9","˝":"\u02DD","`":"`","˜":"\u02DC","⋄":"\u22C4","ⅆ":"\u2146","𝔻":"\u{1D53B}","¨":"\xA8","⃜":"\u20DC","≐":"\u2250","∯":"\u222F","¨":"\xA8","⇓":"\u21D3","⇐":"\u21D0","⇔":"\u21D4","⫤":"\u2AE4","⟸":"\u27F8","⟺":"\u27FA","⟹":"\u27F9","⇒":"\u21D2","⊨":"\u22A8","⇑":"\u21D1","⇕":"\u21D5","∥":"\u2225","↓":"\u2193","⤓":"\u2913","⇵":"\u21F5","̑":"\u0311","⥐":"\u2950","⥞":"\u295E","↽":"\u21BD","⥖":"\u2956","⥟":"\u295F","⇁":"\u21C1","⥗":"\u2957","⊤":"\u22A4","↧":"\u21A7","⇓":"\u21D3","𝒟":"\u{1D49F}","Đ":"\u0110","Ŋ":"\u014A","Ð":"\xD0","Ð":"\xD0","É":"\xC9","É":"\xC9","Ě":"\u011A","Ê":"\xCA","Ê":"\xCA","Э":"\u042D","Ė":"\u0116","𝔈":"\u{1D508}","È":"\xC8","È":"\xC8","∈":"\u2208","Ē":"\u0112","◻":"\u25FB","▫":"\u25AB","Ę":"\u0118","𝔼":"\u{1D53C}","Ε":"\u0395","⩵":"\u2A75","≂":"\u2242","⇌":"\u21CC","ℰ":"\u213Line truncated
|
||||
`,"𝔑":"\u{1D511}","⁠":"\u2060"," ":"\xA0","ℕ":"\u2115","⫬":"\u2AEC","≢":"\u2262","≭":"\u226D","∦":"\u2226","∉":"\u2209","≠":"\u2260","≂̸":"\u2242\u0338","∄":"\u2204","≯":"\u226F","≱":"\u2271","≧̸":"\u2267\u0338","≫̸":"\u226B\u0338","≹":"\u2279","⩾̸":"\u2A7E\u0338","≵":"\u2275","≎̸":"\u224E\u0338","≏̸":"\u224F\u0338","⋪":"\u22EA","⧏̸":"\u29CF\u0338","⋬":"\u22EC","≮":"\u226E","≰":"\u2270","≸":"\u2278","≪̸":"\u226A\u0338","⩽̸":"\u2A7D\u0338","≴":"\u2274","⪢̸":"\u2AA2\u0338","⪡̸":"\u2AA1\u0338","⊀":"\u2280","⪯̸":"\u2AAF\u0338","⋠":"\u22E0","∌":"\u220C","⋫":"\u22EB","⧐̸":"\u29D0\u0338","⋭":"\u22ED","⊏̸":"\u228F\u0338","⋢":"\u22E2","⊐̸":"\u2290\u0338","⋣":"\u22E3","⊂⃒":"\u2282\u20D2","⊈":"\u2288","⊁":"\u2281","⪰̸":"\u2AB0\u0338","⋡":"\u22E1","≿̸":"\u227F\u0338","⊃⃒":"\u2283\u20D2","⊉":"\u2289","≁":"\u2241","≄":"\u2244","≇":"\u2247","≉":"\u2249","∤":"\u2224","𝒩":"\u{1D4A9}","Ñ":"\xD1","Ñ":"\xD1","Ν":"\u039D","Œ":"\u0152","Ó":"\xD3","Ó":"\xD3","Ô":"\xD4","Ô":"\xD4","О":"\u041E","Ő":"\u0150","𝔒":"\u{1D512}","Ò":"\xD2","Ò":"\xD2","Ō":"\u014C","Ω":"\u03A9","Ο":"\u039F","𝕆":"\u{1D546}","“":"\u201C","‘":"\u2018","⩔":"\u2A54","𝒪":"\u{1D4AA}","Ø":"\xD8","Ø":"\xD8","Õ":"\xD5","Õ":"\xD5","⨷":"\u2A37","Ö":"\xD6","Ö":"\xD6","‾":"\u203E","⏞":"\u23DE","⎴":"\u23B4","⏜":"\u23DC","∂":"\u2202","П":"\u041F","𝔓":"\u{1D513}","Φ":"\u03A6","Π":"\u03A0","±":"\xB1","ℌ":"\u210C","ℙ":"\u2119","⪻":"\u2ABB","≺":"\u227A","⪯":"\u2AAF","≼":"\u227C","≾":"\u227E","″":"\u2033","∏":"\u220F","∷":"\u2237","∝":"\u221D","𝒫":"\u{1D4AB}","Ψ":"\u03A8",""":'"',""":'"',"𝔔":"\u{1D514}","ℚ":"\u211A","𝒬":"\u{1D4AC}","⤐":"\u2910","®":"\xAE","®":"\xAE","Ŕ":"\u0154","⟫":"\u27EB","↠":"\u21A0","⤖":"\u2916","Ř":"\u0158","Ŗ":"\u0156","Р":"\u0420","ℜ":"\u211C","∋":"\u220B","⇋":"\u21CB","⥯":"\u296F","ℜ":"\u211C","Ρ":"\u03A1","⟩":"\u27E9","→":"\u2192","⇥":"\u21E5","⇄":"\u21C4","⌉":"\u2309","⟧":"\u27E7","⥝":"\u295D","⇂":"\u21C2","⥕":"\u2955","⌋":"\u230B","⊢":"\u22A2","↦":"\u21A6","⥛":"\u295B","⊳":"\u22B3","⧐":"\u29D0","⊵":"\u22B5","⥏":"\u294F","⥜":"\u295C","↾":"\u21BE","⥔":"\u2954","⇀":"\u21C0","⥓":"\u2953","⇒":"\u21D2","ℝ":"\u211D","⥰":"\u2970","⇛":"\u21DB","ℛ":"\u211B","↱":"\u21B1","⧴":"\u29F4","Щ":"\u0429","Ш":"\u0428","Ь":"\u042C","Ś":"\u015A","⪼":"\u2ABC","Š":"\u0160","Ş":"\u015E","Ŝ":"\u015C","С":"\u0421","𝔖":"\u{1D516}","↓":"\u2193","←":"\u2190","→":"\u2192","↑":"\u2191","Σ":"\u03A3","∘":"\u2218","𝕊":"\u{1D54A}","√":"\u221A","□":"\u25A1","⊓":"\u2293","⊏":"\u228F","⊑":"\u2291","⊐":"\u2290","⊒":"\u2292","⊔":"\u2294","𝒮":"\u{1D4AE}","⋆":"\u22C6","⋐":"\u22D0","⋐":"\u22D0","⊆":"\u2286","≻":"\u227B","⪰":"\u2AB0","≽":"\u227D","≿":"\u227F","∋":"\u220B","∑":"\u2211","⋑":"\u22D1","⊃":"\u2283","⊇":"\u2287","⋑":"\u22D1","Þ":"\xDE","Þ":"\xDE","™":"\u2122","Ћ":"\u040B","Ц":"\u0426","	":" ","Τ":"\u03A4","Ť":"\u0164","&Tcedil
Line truncated
|
||||
`;await t.run(i);let u=(await t.values(f`SELECT id, hash, created_at FROM ${f.identifier(n)} ORDER BY created_at DESC LIMIT 1`))[0]??void 0;await t.transaction(async l=>{for(let c of e)if(!u||Number(u[2])<c.folderMillis){for(let d of c.sql)await l.run(f.raw(d));await l.run(f`INSERT INTO ${f.identifier(n)} ("hash", "created_at") VALUES(${c.hash}, ${c.folderMillis})`)}})}};o(Ar,"SQLiteAsyncDialect"),Ld=p,h(Ar,Ld,"SQLiteAsyncDialect");var Pd,Dr=class{getSelectedFields(){return this._.selectedFields}};o(Dr,"TypedQueryBuilder"),Pd=p,h(Dr,Pd,"TypedQueryBuilder");var Qd,pe=class{fields;session;dialect;withList;distinct;constructor(e){this.fields=e.fields,this.session=e.session,this.dialect=e.dialect,this.withList=e.withList,this.distinct=e.distinct}from(e){let t=!!this.fields,s;return this.fields?s=this.fields:g(e,te)?s=Object.fromEntries(Object.keys(e[Y].selection).map(n=>[n,e[n]])):g(e,ot)?s=e[X].selectedFields:g(e,D)?s={}:s=fn(e),new _r({table:e,fields:s,isPartialSelect:t,session:this.session,dialect:this.dialect,withList:this.withList,distinct:this.distinct})}};o(pe,"SQLiteSelectBuilder"),Qd=p,h(pe,Qd,"SQLiteSelectBuilder");var Gd,bs=class extends Dr{_;config;joinsNotNullableMap;tableName;isPartialSelect;session;dialect;constructor({table:e,fields:t,isPartialSelect:s,session:n,dialect:i,withList:a,distinct:u}){super(),this.config={withList:a,table:e,fields:{...t},distinct:u,setOperators:[]},this.isPartialSelect=s,this.session=n,this.dialect=i,this._={selectedFields:t},this.tableName=li(e),this.joinsNotNullableMap=typeof this.tableName=="string"?{[this.tableName]:!0}:{}}createJoin(e){return(t,s)=>{let n=this.tableName,i=li(t);if(typeof i=="string"&&this.config.joins?.some(a=>a.alias===i))throw new Error(`Alias "${i}" is already used in this query`);if(!this.isPartialSelect&&(Object.keys(this.joinsNotNullableMap).length===1&&typeof n=="string"&&(this.config.fields={[n]:this.config.fields}),typeof i=="string"&&!g(t,D))){let a=g(t,te)?t[Y].selection:g(t,fe)?t[X].selectedFields:t[v.Symbol.Columns];this.config.fields[i]=a}if(typeof s=="function"&&(s=s(new Proxy(this.config.fields,new oe({sqlAliasedBehavior:"sql",sqlBehavior:"sql"})))),this.config.joins||(this.config.joins=[]),this.config.joins.push({on:s,table:t,joinType:e,alias:i}),typeof i=="string")switch(e){case"left":{this.joinsNotNullableMap[i]=!1;break}case"right":{this.joinsNotNullableMap=Object.fromEntries(Object.entries(this.joinsNotNullableMap).map(([a])=>[a,!1])),this.joinsNotNullableMap[i]=!0;break}case"inner":{this.joinsNotNullableMap[i]=!0;break}case"full":{this.joinsNotNullableMap=Object.fromEntries(Object.entries(this.joinsNotNullableMap).map(([a])=>[a,!1])),this.joinsNotNullableMap[i]=!1;break}}return this}}leftJoin=this.createJoin("left");rightJoin=this.createJoin("right");innerJoin=this.createJoin("inner");fullJoin=this.createJoin("full");createSetOperator(e,t){return s=>{let n=typeof s=="function"?s(zd()):s;if(!ui(this.getSelectedFields(),n.getSelectedFields()))throw new Error("Set operator error (union / intersect / except): selected fields are not the same or are in a different order");return this.config.setOperators.push({type:e,isAll:t,rightSelect:n}),this}}union=this.createSetOperator("union",!1);unionAll=this.createSetOperator("union",!0);intersect=this.createSetOperator("intersect",!1);except=this.createSetOperator("except",!1);addSetOperators(e){return this.config.setOperators.push(...e),this}where(e){return typeof e=="function"&&(e=e(new Proxy(this.config.fields,new oe({sqlAliasedBehavior:"sql",sqlBehavior:"sql"})))),this.config.where=e,this}having(e){return typeof e=="function"&&(e=e(new Proxy(this.config.fields,new oe({sqlAliasedBehavior:"sql",sqlBehavior:"sql"})))),this.config.having=e,this}groupBy(...e){if(typeof e[0]=="function"){let t=e[0](new Proxy(this.config.fields,new oe({sqlAliasedBehavior:"alias",sqlBehavior:"sql"})));this.config.groupBy=Array.isArray(t)?t:[t]}else this.config.groupBy=e;return this}orderBy(...e){if(typeof e[0]=="function"){let t=e[0](new Proxy(this.config.fields,new oe({sqlAliasedBehavior:"alias",sqlBehavior:"sql"}))),s=Array.isArray(t)?t:[t];this.config.setOperators.length>0?this.config.setOperators.at(-1).orderBy=s:this.config.orderBy=s}else{let t=e;this.config.setOperators.length>0?this.config.setOperators.at(-1).orderBy=t:this.config.orderBy=t}return this}limit(e){return this.config.setOperators.length>0?this.config.setOperators.at(-1).limit=e:this.config.limit=e,this}offset(e){return this.config.setOperators.length>0?this.config.setOperators.at(-1).offset=e:this.config.offset=e,this}getSQL(){return this.dialect.buildSelectQuery(this.config)}toSQL(){let{typings:e,...t}=this.dialect.sqlToQuery(this.getSQL());return t}as(e){return new Proxy(new te(this.getSQL(),this.config.fields,e),new oe({alias:e,sqlAliasedBehavior:"alias",sqlBehavior:"error"}))}getSelectedFields(){return new Proxy(this.config.fields,new oe({alias:this.tableName,sqlAliasedBehavior:"alias",sqlBehavior:"error"}))}$dynamic(){return this}
Line truncated
|
||||
`)}finalize(){return _t(new Blob(this.chunks,{type:"application/octet-stream"}))}};o(zr,"PassThroughDecoder");var Kr=class{constructor(e){e=e||{},this.decoder=e.decoder||new TextDecoder,this.maxChunkSize=100*1024,this.chunks=[],this.remainder=""}update(e){let t=this.decoder.decode(e);if(/[^a-zA-Z0-9+\/]/.test(t)&&(t=t.replace(/[^a-zA-Z0-9+\/]+/g,"")),this.remainder+=t,this.remainder.length>=this.maxChunkSize){let s=Math.floor(this.remainder.length/4)*4,n;s===this.remainder.length?(n=this.remainder,this.remainder=""):(n=this.remainder.substr(0,s),this.remainder=this.remainder.substr(s)),n.length&&this.chunks.push(Nn(n))}}finalize(){return this.remainder&&!/^=+$/.test(this.remainder)&&this.chunks.push(Nn(this.remainder)),_t(new Blob(this.chunks,{type:"application/octet-stream"}))}};o(Kr,"Base64Decoder");var Vo=/^=[a-f0-9]{2}$/i,rp=/(?==[a-f0-9]{2})/i,sp=/=\r?\n/g,np=/=[a-fA-F0-9]?$/,Ur=class{constructor(e){e=e||{},this.decoder=e.decoder||new TextDecoder,this.maxChunkSize=100*1024,this.remainder="",this.chunks=[]}decodeQPBytes(e){let t=new ArrayBuffer(e.length),s=new DataView(t);for(let n=0,i=e.length;n<i;n++)s.setUint8(n,parseInt(e[n],16));return t}decodeChunks(e){e=e.replace(sp,"");let t=e.split(rp),s=[];for(let n of t){if(n.charAt(0)!=="="){s.length&&(this.chunks.push(this.decodeQPBytes(s)),s=[]),this.chunks.push(n);continue}if(n.length===3){Vo.test(n)?s.push(n.substr(1)):(s.length&&(this.chunks.push(this.decodeQPBytes(s)),s=[]),this.chunks.push(n));continue}if(n.length>3){let i=n.substr(0,3);Vo.test(i)?(s.push(n.substr(1,2)),this.chunks.push(this.decodeQPBytes(s)),s=[],n=n.substr(3),this.chunks.push(n)):(s.length&&(this.chunks.push(this.decodeQPBytes(s)),s=[]),this.chunks.push(n))}}s.length&&(this.chunks.push(this.decodeQPBytes(s)),s=[])}update(e){let t=this.decoder.decode(e)+`
|
||||
`;if(t=this.remainder+t,t.length<this.maxChunkSize){this.remainder=t;return}this.remainder="";let s=t.match(np);if(s){if(s.index===0){this.remainder=t;return}this.remainder=t.substr(s.index),t=t.substr(0,s.index)}this.decodeChunks(t)}finalize(){return this.remainder.length&&(this.decodeChunks(this.remainder),this.remainder=""),_t(new Blob(this.chunks,{type:"application/octet-stream"}))}};o(Ur,"QPDecoder");var er=class{constructor(e){if(this.options=e||{},this.postalMime=this.options.postalMime,this.root=!!this.options.parentNode,this.childNodes=[],this.options.parentNode){if(this.parentNode=this.options.parentNode,this.depth=this.parentNode.depth+1,this.depth>this.options.maxNestingDepth)throw new Error(`Maximum MIME nesting depth of ${this.options.maxNestingDepth} levels exceeded`);this.options.parentNode.childNodes.push(this)}else this.depth=0;this.state="header",this.headerLines=[],this.headerSize=0,this.contentType={value:"text/plain",default:!0},this.contentTransferEncoding={value:"8bit"},this.contentDisposition={value:""},this.headers=[],this.contentDecoder=!1}setupContentDecoder(e){/base64/i.test(e)?this.contentDecoder=new Kr:/quoted-printable/i.test(e)?this.contentDecoder=new Ur({decoder:Pr(this.contentType.parsed.params.charset)}):this.contentDecoder=new zr}async finalize(){if(this.state==="finished")return;this.state==="header"&&this.processHeaders();let e=this.postalMime.boundaries;for(let t=e.length-1;t>=0;t--)if(e[t].node===this){e.splice(t,1);break}await this.finalizeChildNodes(),this.content=this.contentDecoder?await this.contentDecoder.finalize():null,this.state="finished"}async finalizeChildNodes(){for(let e of this.childNodes)await e.finalize()}parseStructuredHeader(e){let t={value:!1,params:{}},s=!1,n="",i="value",a=!1,u=!1,l;for(let c=0,d=e.length;c<d;c++)switch(l=e.charAt(c),i){case"key":if(l==="="){s=n.trim().toLowerCase(),i="value",n="";break}n+=l;break;case"value":if(u)n+=l;else if(l==="\\"){u=!0;continue}else a&&l===a?a=!1:!a&&l==='"'?a=l:!a&&l===";"?(s===!1?t.value=n.trim():t.params[s]=n.trim(),i="key",n=""):n+=l;u=!1;break}return n=n.trim(),i==="value"?s===!1?t.value=n:t.params[s]=n:n&&(t.params[n.toLowerCase()]=""),t.value&&(t.value=t.value.toLowerCase()),Uo(t),t}decodeFlowedText(e,t){return e.split(/\r?\n/).reduce((s,n)=>/ $/.test(s)&&!/(^|\n)-- $/.test(s)?t?s.slice(0,-1)+n:s+n:s+`
|
||||
`+n).replace(/^ /gm,"")}getTextContent(){if(!this.content)return"";let e=Pr(this.contentType.parsed.params.charset).decode(this.content);return/^flowed$/i.test(this.contentType.parsed.params.format)&&(e=this.decodeFlowedText(e,/^yes$/i.test(this.contentType.parsed.params.delsp))),e}processHeaders(){for(let e=this.headerLines.length-1;e>=0;e--){let t=this.headerLines[e];if(e&&/^\s/.test(t))this.headerLines[e-1]+=`
|
||||
`+t,this.headerLines.splice(e,1);else{t=t.replace(/\s+/g," ");let s=t.indexOf(":"),n=s<0?t.trim():t.substr(0,s).trim(),i=s<0?"":t.substr(s+1).trim();switch(this.headers.push({key:n.toLowerCase(),originalKey:n,value:i}),n.toLowerCase()){case"content-type":this.contentType.default&&(this.contentType={value:i,parsed:{}});break;case"content-transfer-encoding":this.contentTransferEncoding={value:i,parsed:{}};break;case"content-disposition":this.contentDisposition={value:i,parsed:{}};break;case"content-id":this.contentId=i;break;case"content-description":this.contentDescription=i;break}}}this.contentType.parsed=this.parseStructuredHeader(this.contentType.value),this.contentType.multipart=/^multipart\//i.test(this.contentType.parsed.value)?this.contentType.parsed.value.substr(this.contentType.parsed.value.indexOf("/")+1):!1,this.contentType.multipart&&this.contentType.parsed.params.boundary&&this.postalMime.boundaries.push({value:Dt.encode(this.contentType.parsed.params.boundary),node:this}),this.contentDisposition.parsed=this.parseStructuredHeader(this.contentDisposition.value),this.contentTransferEncoding.encoding=this.contentTransferEncoding.value.toLowerCase().split(/[^\w-]/).shift(),this.setupContentDecoder(this.contentTransferEncoding.encoding)}feed(e){switch(this.state){case"header":if(!e.length)return this.state="body",this.processHeaders();if(this.headerSize+=e.length,this.headerSize>this.options.maxHeadersSize)throw new Error(`Maximum header size of ${this.options.maxHeadersSize} bytes exceeded`);this.headerLines.push(Pr().decode(e));break;case"body":this.contentDecoder.update(e)}}};o(er,"MimeNode");var ip={"Æ":"\xC6","Æ":"\xC6","&":"&","&":"&","Á":"\xC1","Á":"\xC1","Ă":"\u0102","Â":"\xC2","Â":"\xC2","А":"\u0410","𝔄":"\u{1D504}","À":"\xC0","À":"\xC0","Α":"\u0391","Ā":"\u0100","⩓":"\u2A53","Ą":"\u0104","𝔸":"\u{1D538}","⁡":"\u2061","Å":"\xC5","Å":"\xC5","𝒜":"\u{1D49C}","≔":"\u2254","Ã":"\xC3","Ã":"\xC3","Ä":"\xC4","Ä":"\xC4","∖":"\u2216","⫧":"\u2AE7","⌆":"\u2306","Б":"\u0411","∵":"\u2235","ℬ":"\u212C","Β":"\u0392","𝔅":"\u{1D505}","𝔹":"\u{1D539}","˘":"\u02D8","ℬ":"\u212C","≎":"\u224E","Ч":"\u0427","©":"\xA9","©":"\xA9","Ć":"\u0106","⋒":"\u22D2","ⅅ":"\u2145","ℭ":"\u212D","Č":"\u010C","Ç":"\xC7","Ç":"\xC7","Ĉ":"\u0108","∰":"\u2230","Ċ":"\u010A","¸":"\xB8","·":"\xB7","ℭ":"\u212D","Χ":"\u03A7","⊙":"\u2299","⊖":"\u2296","⊕":"\u2295","⊗":"\u2297","∲":"\u2232","”":"\u201D","’":"\u2019","∷":"\u2237","⩴":"\u2A74","≡":"\u2261","∯":"\u222F","∮":"\u222E","ℂ":"\u2102","∐":"\u2210","∳":"\u2233","⨯":"\u2A2F","𝒞":"\u{1D49E}","⋓":"\u22D3","≍":"\u224D","ⅅ":"\u2145","⤑":"\u2911","Ђ":"\u0402","Ѕ":"\u0405","Џ":"\u040F","‡":"\u2021","↡":"\u21A1","⫤":"\u2AE4","Ď":"\u010E","Д":"\u0414","∇":"\u2207","Δ":"\u0394","𝔇":"\u{1D507}","´":"\xB4","˙":"\u02D9","˝":"\u02DD","`":"`","˜":"\u02DC","⋄":"\u22C4","ⅆ":"\u2146","𝔻":"\u{1D53B}","¨":"\xA8","⃜":"\u20DC","≐":"\u2250","∯":"\u222F","¨":"\xA8","⇓":"\u21D3","⇐":"\u21D0","⇔":"\u21D4","⫤":"\u2AE4","⟸":"\u27F8","⟺":"\u27FA","⟹":"\u27F9","⇒":"\u21D2","⊨":"\u22A8","⇑":"\u21D1","⇕":"\u21D5","∥":"\u2225","↓":"\u2193","⤓":"\u2913","⇵":"\u21F5","̑":"\u0311","⥐":"\u2950","⥞":"\u295E","↽":"\u21BD","⥖":"\u2956","⥟":"\u295F","⇁":"\u21C1","⥗":"\u2957","⊤":"\u22A4","↧":"\u21A7","⇓":"\u21D3","𝒟":"\u{1D49F}","Đ":"\u0110","Ŋ":"\u014A","Ð":"\xD0","Ð":"\xD0","É":"\xC9","É":"\xC9","Ě":"\u011A","Ê":"\xCA","Ê":"\xCA","Э":"\u042D","Ė":"\u0116","𝔈":"\u{1D508}","È":"\xC8","È":"\xC8","∈":"\u2208","Ē":"\u0112","◻":"\u25FB","▫":"\u25AB","Ę":"\u0118","𝔼":"\u{1D53C}","Ε":"\u0395","⩵":"\u2A75","≂":"\u2242","⇌":"\u21CC","ℰ":"\u213Line truncated
|
||||
`,"𝔑":"\u{1D511}","⁠":"\u2060"," ":"\xA0","ℕ":"\u2115","⫬":"\u2AEC","≢":"\u2262","≭":"\u226D","∦":"\u2226","∉":"\u2209","≠":"\u2260","≂̸":"\u2242\u0338","∄":"\u2204","≯":"\u226F","≱":"\u2271","≧̸":"\u2267\u0338","≫̸":"\u226B\u0338","≹":"\u2279","⩾̸":"\u2A7E\u0338","≵":"\u2275","≎̸":"\u224E\u0338","≏̸":"\u224F\u0338","⋪":"\u22EA","⧏̸":"\u29CF\u0338","⋬":"\u22EC","≮":"\u226E","≰":"\u2270","≸":"\u2278","≪̸":"\u226A\u0338","⩽̸":"\u2A7D\u0338","≴":"\u2274","⪢̸":"\u2AA2\u0338","⪡̸":"\u2AA1\u0338","⊀":"\u2280","⪯̸":"\u2AAF\u0338","⋠":"\u22E0","∌":"\u220C","⋫":"\u22EB","⧐̸":"\u29D0\u0338","⋭":"\u22ED","⊏̸":"\u228F\u0338","⋢":"\u22E2","⊐̸":"\u2290\u0338","⋣":"\u22E3","⊂⃒":"\u2282\u20D2","⊈":"\u2288","⊁":"\u2281","⪰̸":"\u2AB0\u0338","⋡":"\u22E1","≿̸":"\u227F\u0338","⊃⃒":"\u2283\u20D2","⊉":"\u2289","≁":"\u2241","≄":"\u2244","≇":"\u2247","≉":"\u2249","∤":"\u2224","𝒩":"\u{1D4A9}","Ñ":"\xD1","Ñ":"\xD1","Ν":"\u039D","Œ":"\u0152","Ó":"\xD3","Ó":"\xD3","Ô":"\xD4","Ô":"\xD4","О":"\u041E","Ő":"\u0150","𝔒":"\u{1D512}","Ò":"\xD2","Ò":"\xD2","Ō":"\u014C","Ω":"\u03A9","Ο":"\u039F","𝕆":"\u{1D546}","“":"\u201C","‘":"\u2018","⩔":"\u2A54","𝒪":"\u{1D4AA}","Ø":"\xD8","Ø":"\xD8","Õ":"\xD5","Õ":"\xD5","⨷":"\u2A37","Ö":"\xD6","Ö":"\xD6","‾":"\u203E","⏞":"\u23DE","⎴":"\u23B4","⏜":"\u23DC","∂":"\u2202","П":"\u041F","𝔓":"\u{1D513}","Φ":"\u03A6","Π":"\u03A0","±":"\xB1","ℌ":"\u210C","ℙ":"\u2119","⪻":"\u2ABB","≺":"\u227A","⪯":"\u2AAF","≼":"\u227C","≾":"\u227E","″":"\u2033","∏":"\u220F","∷":"\u2237","∝":"\u221D","𝒫":"\u{1D4AB}","Ψ":"\u03A8",""":'"',""":'"',"𝔔":"\u{1D514}","ℚ":"\u211A","𝒬":"\u{1D4AC}","⤐":"\u2910","®":"\xAE","®":"\xAE","Ŕ":"\u0154","⟫":"\u27EB","↠":"\u21A0","⤖":"\u2916","Ř":"\u0158","Ŗ":"\u0156","Р":"\u0420","ℜ":"\u211C","∋":"\u220B","⇋":"\u21CB","⥯":"\u296F","ℜ":"\u211C","Ρ":"\u03A1","⟩":"\u27E9","→":"\u2192","⇥":"\u21E5","⇄":"\u21C4","⌉":"\u2309","⟧":"\u27E7","⥝":"\u295D","⇂":"\u21C2","⥕":"\u2955","⌋":"\u230B","⊢":"\u22A2","↦":"\u21A6","⥛":"\u295B","⊳":"\u22B3","⧐":"\u29D0","⊵":"\u22B5","⥏":"\u294F","⥜":"\u295C","↾":"\u21BE","⥔":"\u2954","⇀":"\u21C0","⥓":"\u2953","⇒":"\u21D2","ℝ":"\u211D","⥰":"\u2970","⇛":"\u21DB","ℛ":"\u211B","↱":"\u21B1","⧴":"\u29F4","Щ":"\u0429","Ш":"\u0428","Ь":"\u042C","Ś":"\u015A","⪼":"\u2ABC","Š":"\u0160","Ş":"\u015E","Ŝ":"\u015C","С":"\u0421","𝔖":"\u{1D516}","↓":"\u2193","←":"\u2190","→":"\u2192","↑":"\u2191","Σ":"\u03A3","∘":"\u2218","𝕊":"\u{1D54A}","√":"\u221A","□":"\u25A1","⊓":"\u2293","⊏":"\u228F","⊑":"\u2291","⊐":"\u2290","⊒":"\u2292","⊔":"\u2294","𝒮":"\u{1D4AE}","⋆":"\u22C6","⋐":"\u22D0","⋐":"\u22D0","⊆":"\u2286","≻":"\u227B","⪰":"\u2AB0","≽":"\u227D","≿":"\u227F","∋":"\u220B","∑":"\u2211","⋑":"\u22D1","⊃":"\u2283","⊇":"\u2287","⋑":"\u22D1","Þ":"\xDE","Þ":"\xDE","™":"\u2122","Ћ":"\u040B","Ц":"\u0426","	":" ","Τ":"\u03A4","Ť":"\u0164","&Tcedil
Line truncated
|
||||
`).replace(/<\/?(p|div|table|tr|td|th)\b[^>]*>/gi,`
|
||||
|
||||
`).replace(/<script\b[^>]*>.*?<\/script\b[^>]*>/gi," ").replace(/^.*<body\b[^>]*>/i,"").replace(/^.*<\/head\b[^>]*>/i,"").replace(/^.*<\!doctype\b[^>]*>/i,"").replace(/<\/body\b[^>]*>.*$/i,"").replace(/<\/html\b[^>]*>.*$/i,"").replace(/<a\b[^>]*href\s*=\s*["']?([^\s"']+)[^>]*>/gi," ($1) ").replace(/<\/?(span|em|i|strong|b|u|a)\b[^>]*>/gi,"").replace(/<li\b[^>]*>[\n\u0001\s]*/gi,"* ").replace(/<hr\b[^>]*>/g,`
|
||||
@@ -25,17 +25,17 @@ var Rn=Object.defineProperty;var eu=(r,e,t)=>e in r?Rn(r,e,{enumerable:!0,config
|
||||
|
||||
`).replace(/^\n+/,`
|
||||
`).replace(/\n+$/,`
|
||||
`),r=Xh(r),r}o($o,"htmlToText");function Lo(r){return[].concat(r.name||[]).concat(r.name?`<${r.address}>`:r.address).join(" ")}o(Lo,"formatTextAddress");function Di(r){let e=[],t=o((s,n)=>{if(n&&e.push(", "),s.group){let i=`${s.name}:`,a=";";e.push(i),s.group.forEach(t),e.push(a)}else e.push(Lo(s))},"processAddress");return r.forEach(t),e.join("")}o(Di,"formatTextAddresses");function Po(r){return`<a href="mailto:${er(r.address)}" class="postal-email-address">${er(r.name||`<${r.address}>`)}</a>`}o(Po,"formatHtmlAddress");function _i(r){let e=[],t=o((s,n)=>{if(n&&e.push('<span class="postal-email-address-separator">, </span>'),s.group){let i=`<span class="postal-email-address-group">${er(s.name)}:</span>`,a='<span class="postal-email-address-group">;</span>';e.push(i),s.group.forEach(t),e.push(a)}else e.push(Po(s))},"processAddress");return r.forEach(t),e.join(" ")}o(_i,"formatHtmlAddresses");function Zh(r,e,t){r=(r||"").toString(),e=e||76;let s=0,n=r.length,i="",a,u;for(;s<n;){if(a=r.substr(s,e),a.length<e){i+=a;break}if(u=a.match(/^[^\n\r]*(\r?\n|\r)/)){a=u[0],i+=a,s+=a.length;continue}else(u=a.match(/(\s+)[^\s]*$/))&&u[0].length-(t?(u[1]||"").length:0)<a.length?a=a.substr(0,a.length-(u[0].length-(t?(u[1]||"").length:0))):(u=r.substr(s+a.length).match(/^[^\s]+(\s*)/))&&(a=a+u[0].substr(0,u[0].length-(t?0:(u[1]||"").length)));i+=a,s+=a.length,s<n&&(i+=`\r
|
||||
`)}return i}o(Zh,"foldLines");function Ei(r){let e=[];if(r.from&&e.push({key:"From",val:Lo(r.from)}),r.subject&&e.push({key:"Subject",val:r.subject}),r.date){let a={year:"numeric",month:"numeric",day:"numeric",hour:"numeric",minute:"numeric",second:"numeric",hour12:!1},u=typeof Intl>"u"?r.date:new Intl.DateTimeFormat("default",a).format(new Date(r.date));e.push({key:"Date",val:u})}r.to&&r.to.length&&e.push({key:"To",val:Di(r.to)}),r.cc&&r.cc.length&&e.push({key:"Cc",val:Di(r.cc)}),r.bcc&&r.bcc.length&&e.push({key:"Bcc",val:Di(r.bcc)});let t=e.map(a=>a.key.length).reduce((a,u)=>u>a?u:a,0);e=e.flatMap(a=>{let u=t-a.key.length,l=`${a.key}: ${" ".repeat(u)}`,c=`${" ".repeat(a.key.length+1)} ${" ".repeat(u)}`;return Zh(a.val,80,!0).split(/\r?\n/).map(m=>m.trim()).map((m,x)=>`${x?c:l}${m}`)});let s=e.map(a=>a.length).reduce((a,u)=>u>a?u:a,0),n="-".repeat(s);return`
|
||||
`),r=ap(r),r}o(Qo,"htmlToText");function Go(r){return[].concat(r.name||[]).concat(r.name?`<${r.address}>`:r.address).join(" ")}o(Go,"formatTextAddress");function Si(r){let e=[],t=o((s,n)=>{if(n&&e.push(", "),s.group){let i=`${s.name}:`,a=";";e.push(i),s.group.forEach(t),e.push(a)}else e.push(Go(s))},"processAddress");return r.forEach(t),e.join("")}o(Si,"formatTextAddresses");function Wo(r){return`<a href="mailto:${tr(r.address)}" class="postal-email-address">${tr(r.name||`<${r.address}>`)}</a>`}o(Wo,"formatHtmlAddress");function Ti(r){let e=[],t=o((s,n)=>{if(n&&e.push('<span class="postal-email-address-separator">, </span>'),s.group){let i=`<span class="postal-email-address-group">${tr(s.name)}:</span>`,a='<span class="postal-email-address-group">;</span>';e.push(i),s.group.forEach(t),e.push(a)}else e.push(Wo(s))},"processAddress");return r.forEach(t),e.join(" ")}o(Ti,"formatHtmlAddresses");function op(r,e,t){r=(r||"").toString(),e=e||76;let s=0,n=r.length,i="",a,u;for(;s<n;){if(a=r.substr(s,e),a.length<e){i+=a;break}if(u=a.match(/^[^\n\r]*(\r?\n|\r)/)){a=u[0],i+=a,s+=a.length;continue}else(u=a.match(/(\s+)[^\s]*$/))&&u[0].length-(t?(u[1]||"").length:0)<a.length?a=a.substr(0,a.length-(u[0].length-(t?(u[1]||"").length:0))):(u=r.substr(s+a.length).match(/^[^\s]+(\s*)/))&&(a=a+u[0].substr(0,u[0].length-(t?0:(u[1]||"").length)));i+=a,s+=a.length,s<n&&(i+=`\r
|
||||
`)}return i}o(op,"foldLines");function Ni(r){let e=[];if(r.from&&e.push({key:"From",val:Go(r.from)}),r.subject&&e.push({key:"Subject",val:r.subject}),r.date){let a={year:"numeric",month:"numeric",day:"numeric",hour:"numeric",minute:"numeric",second:"numeric",hour12:!1},u=typeof Intl>"u"?r.date:new Intl.DateTimeFormat("default",a).format(new Date(r.date));e.push({key:"Date",val:u})}r.to&&r.to.length&&e.push({key:"To",val:Si(r.to)}),r.cc&&r.cc.length&&e.push({key:"Cc",val:Si(r.cc)}),r.bcc&&r.bcc.length&&e.push({key:"Bcc",val:Si(r.bcc)});let t=e.map(a=>a.key.length).reduce((a,u)=>u>a?u:a,0);e=e.flatMap(a=>{let u=t-a.key.length,l=`${a.key}: ${" ".repeat(u)}`,c=`${" ".repeat(a.key.length+1)} ${" ".repeat(u)}`;return op(a.val,80,!0).split(/\r?\n/).map(m=>m.trim()).map((m,x)=>`${x?c:l}${m}`)});let s=e.map(a=>a.length).reduce((a,u)=>u>a?u:a,0),n="-".repeat(s);return`
|
||||
${n}
|
||||
${e.join(`
|
||||
`)}
|
||||
${n}
|
||||
`}o(Ei,"formatTextHeader");function Ci(r){let e=[];if(r.from&&e.push(`<div class="postal-email-header-key">From</div><div class="postal-email-header-value">${Po(r.from)}</div>`),r.subject&&e.push(`<div class="postal-email-header-key">Subject</div><div class="postal-email-header-value postal-email-header-subject">${er(r.subject)}</div>`),r.date){let s={year:"numeric",month:"numeric",day:"numeric",hour:"numeric",minute:"numeric",second:"numeric",hour12:!1},n=typeof Intl>"u"?r.date:new Intl.DateTimeFormat("default",s).format(new Date(r.date));e.push(`<div class="postal-email-header-key">Date</div><div class="postal-email-header-value postal-email-header-date" data-date="${er(r.date)}">${er(n)}</div>`)}return r.to&&r.to.length&&e.push(`<div class="postal-email-header-key">To</div><div class="postal-email-header-value">${_i(r.to)}</div>`),r.cc&&r.cc.length&&e.push(`<div class="postal-email-header-key">Cc</div><div class="postal-email-header-value">${_i(r.cc)}</div>`),r.bcc&&r.bcc.length&&e.push(`<div class="postal-email-header-key">Bcc</div><div class="postal-email-header-value">${_i(r.bcc)}</div>`),`<div class="postal-email-header">${e.length?'<div class="postal-email-header-row">':""}${e.join(`</div>
|
||||
<div class="postal-email-header-row">`)}${e.length?"</div>":""}</div>`}o(Ci,"formatHtmlHeader");function ep(r){let e=!1,t="text",s,n=[],i={address:[],comment:[],group:[],text:[],textWasQuoted:[]},a,u,l=!1;for(a=0,u=r.length;a<u;a++){let c=r[a],d=a?r[a-1]:null;if(c.type==="operator")switch(c.value){case"<":t="address",l=!1;break;case"(":t="comment",l=!1;break;case":":t="group",e=!0,l=!1;break;case'"':l=!l,t="text";break;default:t="text",l=!1;break}else c.value&&(t==="address"&&(c.value=c.value.replace(/^[^<]*<\s*/,"")),d&&d.noBreak&&i[t].length?(i[t][i[t].length-1]+=c.value,t==="text"&&l&&(i.textWasQuoted[i.textWasQuoted.length-1]=!0)):(i[t].push(c.value),t==="text"&&i.textWasQuoted.push(l)))}if(!i.text.length&&i.comment.length&&(i.text=i.comment,i.comment=[]),e){i.text=i.text.join(" ");let c=[];i.group.length&&Ti(i.group.join(",")).forEach(m=>{m.group?c=c.concat(m.group):c.push(m)}),n.push({name:Xt(i.text||s&&s.name),group:c})}else{if(!i.address.length&&i.text.length){for(a=i.text.length-1;a>=0;a--)if(!i.textWasQuoted[a]&&i.text[a].match(/^[^@\s]+@[^@\s]+$/)){i.address=i.text.splice(a,1),i.textWasQuoted.splice(a,1);break}let c=o(function(d){return i.address.length?d:(i.address=[d.trim()]," ")},"_regexHandler");if(!i.address.length)for(a=i.text.length-1;a>=0&&!(!i.textWasQuoted[a]&&(i.text[a]=i.text[a].replace(/\s*\b[^@\s]+@[^\s]+\b\s*/,c).trim(),i.address.length));a--);}if(!i.text.length&&i.comment.length&&(i.text=i.comment,i.comment=[]),i.address.length>1&&(i.text=i.text.concat(i.address.splice(1))),i.text=i.text.join(" "),i.address=i.address.join(" "),!i.address&&/^=\?[^=]+?=$/.test(i.text.trim())){let c=Ti(Xt(i.text));if(c&&c.length)return c}if(!i.address&&e)return[];s={address:i.address||i.text||"",name:Xt(i.text||i.address||"")},s.address===s.name&&((s.address||"").match(/@/)?s.name="":s.address=""),n.push(s)}return n}o(ep,"_handleAddress");var Tn=class{constructor(e){this.str=(e||"").toString(),this.operatorCurrent="",this.operatorExpecting="",this.node=null,this.escaped=!1,this.list=[],this.operators={'"':'"',"(":")","<":">",",":"",":":";",";":""}}tokenize(){let e=[];for(let t=0,s=this.str.length;t<s;t++){let n=this.str.charAt(t),i=t<s-1?this.str.charAt(t+1):null;this.checkChar(n,i)}return this.list.forEach(t=>{t.value=(t.value||"").toString().trim(),t.value&&e.push(t)}),e}checkChar(e,t){if(!this.escaped){if(e===this.operatorExpecting){this.node={type:"operator",value:e},t&&![" "," ","\r",`
|
||||
`}o(Ni,"formatTextHeader");function ki(r){let e=[];if(r.from&&e.push(`<div class="postal-email-header-key">From</div><div class="postal-email-header-value">${Wo(r.from)}</div>`),r.subject&&e.push(`<div class="postal-email-header-key">Subject</div><div class="postal-email-header-value postal-email-header-subject">${tr(r.subject)}</div>`),r.date){let s={year:"numeric",month:"numeric",day:"numeric",hour:"numeric",minute:"numeric",second:"numeric",hour12:!1},n=typeof Intl>"u"?r.date:new Intl.DateTimeFormat("default",s).format(new Date(r.date));e.push(`<div class="postal-email-header-key">Date</div><div class="postal-email-header-value postal-email-header-date" data-date="${tr(r.date)}">${tr(n)}</div>`)}return r.to&&r.to.length&&e.push(`<div class="postal-email-header-key">To</div><div class="postal-email-header-value">${Ti(r.to)}</div>`),r.cc&&r.cc.length&&e.push(`<div class="postal-email-header-key">Cc</div><div class="postal-email-header-value">${Ti(r.cc)}</div>`),r.bcc&&r.bcc.length&&e.push(`<div class="postal-email-header-key">Bcc</div><div class="postal-email-header-value">${Ti(r.bcc)}</div>`),`<div class="postal-email-header">${e.length?'<div class="postal-email-header-row">':""}${e.join(`</div>
|
||||
<div class="postal-email-header-row">`)}${e.length?"</div>":""}</div>`}o(ki,"formatHtmlHeader");function up(r){let e=!1,t="text",s,n=[],i={address:[],comment:[],group:[],text:[],textWasQuoted:[]},a,u,l=!1;for(a=0,u=r.length;a<u;a++){let c=r[a],d=a?r[a-1]:null;if(c.type==="operator")switch(c.value){case"<":t="address",l=!1;break;case"(":t="comment",l=!1;break;case":":t="group",e=!0,l=!1;break;case'"':l=!l,t="text";break;default:t="text",l=!1;break}else c.value&&(t==="address"&&(c.value=c.value.replace(/^[^<]*<\s*/,"")),d&&d.noBreak&&i[t].length?(i[t][i[t].length-1]+=c.value,t==="text"&&l&&(i.textWasQuoted[i.textWasQuoted.length-1]=!0)):(i[t].push(c.value),t==="text"&&i.textWasQuoted.push(l)))}if(!i.text.length&&i.comment.length&&(i.text=i.comment,i.comment=[]),e){i.text=i.text.join(" ");let c=[];i.group.length&&Ri(i.group.join(",")).forEach(m=>{m.group?c=c.concat(m.group):c.push(m)}),n.push({name:Zt(i.text||s&&s.name),group:c})}else{if(!i.address.length&&i.text.length){for(a=i.text.length-1;a>=0;a--)if(!i.textWasQuoted[a]&&i.text[a].match(/^[^@\s]+@[^@\s]+$/)){i.address=i.text.splice(a,1),i.textWasQuoted.splice(a,1);break}let c=o(function(d){return i.address.length?d:(i.address=[d.trim()]," ")},"_regexHandler");if(!i.address.length)for(a=i.text.length-1;a>=0&&!(!i.textWasQuoted[a]&&(i.text[a]=i.text[a].replace(/\s*\b[^@\s]+@[^\s]+\b\s*/,c).trim(),i.address.length));a--);}if(!i.text.length&&i.comment.length&&(i.text=i.comment,i.comment=[]),i.address.length>1&&(i.text=i.text.concat(i.address.splice(1))),i.text=i.text.join(" "),i.address=i.address.join(" "),!i.address&&/^=\?[^=]+?=$/.test(i.text.trim())){let c=Ri(Zt(i.text));if(c&&c.length)return c}if(!i.address&&e)return[];s={address:i.address||i.text||"",name:Zt(i.text||i.address||"")},s.address===s.name&&((s.address||"").match(/@/)?s.name="":s.address=""),n.push(s)}return n}o(up,"_handleAddress");var kn=class{constructor(e){this.str=(e||"").toString(),this.operatorCurrent="",this.operatorExpecting="",this.node=null,this.escaped=!1,this.list=[],this.operators={'"':'"',"(":")","<":">",",":"",":":";",";":""}}tokenize(){let e=[];for(let t=0,s=this.str.length;t<s;t++){let n=this.str.charAt(t),i=t<s-1?this.str.charAt(t+1):null;this.checkChar(n,i)}return this.list.forEach(t=>{t.value=(t.value||"").toString().trim(),t.value&&e.push(t)}),e}checkChar(e,t){if(!this.escaped){if(e===this.operatorExpecting){this.node={type:"operator",value:e},t&&![" "," ","\r",`
|
||||
`,",",";"].includes(t)&&(this.node.noBreak=!0),this.list.push(this.node),this.node=null,this.operatorExpecting="",this.escaped=!1;return}else if(!this.operatorExpecting&&e in this.operators){this.node={type:"operator",value:e},this.list.push(this.node),this.node=null,this.operatorExpecting=this.operators[e],this.escaped=!1;return}else if(['"',"'"].includes(this.operatorExpecting)&&e==="\\"){this.escaped=!0;return}}this.node||(this.node={type:"text",value:""},this.list.push(this.node)),e===`
|
||||
`&&(e=" "),(e.charCodeAt(0)>=33||[" "," "].includes(e))&&(this.node.value+=e),this.escaped=!1}};o(Tn,"Tokenizer");function Ti(r,e){e=e||{};let s=new Tn(r).tokenize(),n=[],i=[],a=[];if(s.forEach(u=>{u.type==="operator"&&(u.value===","||u.value===";")?(i.length&&n.push(i),i=[]):i.push(u)}),i.length&&n.push(i),n.forEach(u=>{u=ep(u),u.length&&(a=a.concat(u))}),e.flatten){let u=[],l=o(c=>{c.forEach(d=>{if(d.group)return l(d.group);u.push(d)})},"walkAddressList");return l(a),u}return a}o(Ti,"addressParser");var Sn=Ti;function zo(r){for(var e="",t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",s=new Uint8Array(r),n=s.byteLength,i=n%3,a=n-i,u,l,c,d,m,x=0;x<a;x=x+3)m=s[x]<<16|s[x+1]<<8|s[x+2],u=(m&16515072)>>18,l=(m&258048)>>12,c=(m&4032)>>6,d=m&63,e+=t[u]+t[l]+t[c]+t[d];return i==1?(m=s[a],u=(m&252)>>2,l=(m&3)<<4,e+=t[u]+t[l]+"=="):i==2&&(m=s[a]<<8|s[a+1],u=(m&64512)>>10,l=(m&1008)>>4,c=(m&15)<<2,e+=t[u]+t[l]+t[c]+"="),e}o(zo,"base64ArrayBuffer");var tp=256,rp=2*1024*1024,tt=class{static parse(e,t){return new tt(t).parse(e)}constructor(e){this.options=e||{},this.mimeOptions={maxNestingDepth:this.options.maxNestingDepth||tp,maxHeadersSize:this.options.maxHeadersSize||rp},this.root=this.currentNode=new Zt({postalMime:this,...this.mimeOptions}),this.boundaries=[],this.textContent={},this.attachments=[],this.attachmentEncoding=(this.options.attachmentEncoding||"").toString().replace(/[-_\s]/g,"").trim().toLowerCase()||"arraybuffer",this.started=!1}async finalize(){await this.root.finalize()}async processLine(e,t){let s=this.boundaries;if(s.length&&e.length>2&&e[0]===45&&e[1]===45)for(let n=s.length-1;n>=0;n--){let i=s[n];if(e.length!==i.value.length+2&&e.length!==i.value.length+4)continue;let a=e.length===i.value.length+4;if(a&&(e[e.length-2]!==45||e[e.length-1]!==45))continue;let u=!0;for(let l=0;l<i.value.length;l++)if(e[l+2]!==i.value[l]){u=!1;break}if(u)return a?(await i.node.finalize(),this.currentNode=i.node.parentNode||this.root):(await i.node.finalizeChildNodes(),this.currentNode=new Zt({postalMime:this,parentNode:i.node,...this.mimeOptions})),t?this.finalize():void 0}if(this.currentNode.feed(e),t)return this.finalize()}readLine(){let e=this.readPos,t=this.readPos,s=o(()=>({bytes:new Uint8Array(this.buf,e,t-e),done:this.readPos>=this.av.length}),"res");for(;this.readPos<this.av.length;){let n=this.av[this.readPos++];if(n!==13&&n!==10&&(t=this.readPos),n===10)return s()}return s()}async processNodeTree(){let e={},t=new Set,s=this.textMap=new Map,n=this.forceRfc822Attachments(),i=o(async(a,u,l)=>{if(u=u||!1,l=l||!1,a.contentType.multipart)a.contentType.multipart==="alternative"?u=a:a.contentType.multipart==="related"&&(l=a);else if(this.isInlineMessageRfc822(a)&&!n){let c=new tt;a.subMessage=await c.parse(a.content),s.has(a)||s.set(a,{});let d=s.get(a);(a.subMessage.text||!a.subMessage.html)&&(d.plain=d.plain||[],d.plain.push({type:"subMessage",value:a.subMessage}),t.add("plain")),a.subMessage.html&&(d.html=d.html||[],d.html.push({type:"subMessage",value:a.subMessage}),t.add("html")),c.textMap&&c.textMap.forEach((m,x)=>{s.set(x,m)});for(let m of a.subMessage.attachments||[])this.attachments.push(m)}else if(this.isInlineTextNode(a)){let c=a.contentType.parsed.value.substr(a.contentType.parsed.value.indexOf("/")+1),d=u||a;s.has(d)||s.set(d,{});let m=s.get(d);m[c]=m[c]||[],m[c].push({type:"text",value:a.getTextContent()}),t.add(c)}else if(a.content){let c=a.contentDisposition.parsed.params.filename||a.contentType.parsed.params.name||null,d={filename:c?Xt(c):null,mimeType:a.contentType.parsed.value,disposition:a.contentDisposition.parsed.value||null};switch(l&&a.contentId&&(d.related=!0),a.contentDescription&&(d.description=a.contentDescription),a.contentId&&(d.contentId=a.contentId),a.contentType.parsed.value){case"text/calendar":case"application/ics":{a.contentType.parsed.params.method&&(d.method=a.contentType.parsed.params.method.toString().toUpperCase().trim());let m=a.getTextContent().replace(/\r?\n/g,`
|
||||
`&&(e=" "),(e.charCodeAt(0)>=33||[" "," "].includes(e))&&(this.node.value+=e),this.escaped=!1}};o(kn,"Tokenizer");function Ri(r,e){e=e||{};let s=new kn(r).tokenize(),n=[],i=[],a=[];if(s.forEach(u=>{u.type==="operator"&&(u.value===","||u.value===";")?(i.length&&n.push(i),i=[]):i.push(u)}),i.length&&n.push(i),n.forEach(u=>{u=up(u),u.length&&(a=a.concat(u))}),e.flatten){let u=[],l=o(c=>{c.forEach(d=>{if(d.group)return l(d.group);u.push(d)})},"walkAddressList");return l(a),u}return a}o(Ri,"addressParser");var Rn=Ri;function Jo(r){for(var e="",t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",s=new Uint8Array(r),n=s.byteLength,i=n%3,a=n-i,u,l,c,d,m,x=0;x<a;x=x+3)m=s[x]<<16|s[x+1]<<8|s[x+2],u=(m&16515072)>>18,l=(m&258048)>>12,c=(m&4032)>>6,d=m&63,e+=t[u]+t[l]+t[c]+t[d];return i==1?(m=s[a],u=(m&252)>>2,l=(m&3)<<4,e+=t[u]+t[l]+"=="):i==2&&(m=s[a]<<8|s[a+1],u=(m&64512)>>10,l=(m&1008)>>4,c=(m&15)<<2,e+=t[u]+t[l]+t[c]+"="),e}o(Jo,"base64ArrayBuffer");var lp=256,cp=2*1024*1024,rt=class{static parse(e,t){return new rt(t).parse(e)}constructor(e){this.options=e||{},this.mimeOptions={maxNestingDepth:this.options.maxNestingDepth||lp,maxHeadersSize:this.options.maxHeadersSize||cp},this.root=this.currentNode=new er({postalMime:this,...this.mimeOptions}),this.boundaries=[],this.textContent={},this.attachments=[],this.attachmentEncoding=(this.options.attachmentEncoding||"").toString().replace(/[-_\s]/g,"").trim().toLowerCase()||"arraybuffer",this.started=!1}async finalize(){await this.root.finalize()}async processLine(e,t){let s=this.boundaries;if(s.length&&e.length>2&&e[0]===45&&e[1]===45)for(let n=s.length-1;n>=0;n--){let i=s[n];if(e.length!==i.value.length+2&&e.length!==i.value.length+4)continue;let a=e.length===i.value.length+4;if(a&&(e[e.length-2]!==45||e[e.length-1]!==45))continue;let u=!0;for(let l=0;l<i.value.length;l++)if(e[l+2]!==i.value[l]){u=!1;break}if(u)return a?(await i.node.finalize(),this.currentNode=i.node.parentNode||this.root):(await i.node.finalizeChildNodes(),this.currentNode=new er({postalMime:this,parentNode:i.node,...this.mimeOptions})),t?this.finalize():void 0}if(this.currentNode.feed(e),t)return this.finalize()}readLine(){let e=this.readPos,t=this.readPos,s=o(()=>({bytes:new Uint8Array(this.buf,e,t-e),done:this.readPos>=this.av.length}),"res");for(;this.readPos<this.av.length;){let n=this.av[this.readPos++];if(n!==13&&n!==10&&(t=this.readPos),n===10)return s()}return s()}async processNodeTree(){let e={},t=new Set,s=this.textMap=new Map,n=this.forceRfc822Attachments(),i=o(async(a,u,l)=>{if(u=u||!1,l=l||!1,a.contentType.multipart)a.contentType.multipart==="alternative"?u=a:a.contentType.multipart==="related"&&(l=a);else if(this.isInlineMessageRfc822(a)&&!n){let c=new rt;a.subMessage=await c.parse(a.content),s.has(a)||s.set(a,{});let d=s.get(a);(a.subMessage.text||!a.subMessage.html)&&(d.plain=d.plain||[],d.plain.push({type:"subMessage",value:a.subMessage}),t.add("plain")),a.subMessage.html&&(d.html=d.html||[],d.html.push({type:"subMessage",value:a.subMessage}),t.add("html")),c.textMap&&c.textMap.forEach((m,x)=>{s.set(x,m)});for(let m of a.subMessage.attachments||[])this.attachments.push(m)}else if(this.isInlineTextNode(a)){let c=a.contentType.parsed.value.substr(a.contentType.parsed.value.indexOf("/")+1),d=u||a;s.has(d)||s.set(d,{});let m=s.get(d);m[c]=m[c]||[],m[c].push({type:"text",value:a.getTextContent()}),t.add(c)}else if(a.content){let c=a.contentDisposition.parsed.params.filename||a.contentType.parsed.params.name||null,d={filename:c?Zt(c):null,mimeType:a.contentType.parsed.value,disposition:a.contentDisposition.parsed.value||null};switch(l&&a.contentId&&(d.related=!0),a.contentDescription&&(d.description=a.contentDescription),a.contentId&&(d.contentId=a.contentId),a.contentType.parsed.value){case"text/calendar":case"application/ics":{a.contentType.parsed.params.method&&(d.method=a.contentType.parsed.params.method.toString().toUpperCase().trim());let m=a.getTextContent().replace(/\r?\n/g,`
|
||||
`).replace(/\n*$/,`
|
||||
`);d.content=At.encode(m);break}default:d.content=a.content}this.attachments.push(d)}for(let c of a.childNodes)await i(c,u,l)},"walk");await i(this.root,!1,[]),s.forEach(a=>{t.forEach(u=>{if(e[u]||(e[u]=[]),a[u])a[u].forEach(l=>{switch(l.type){case"text":e[u].push(l.value);break;case"subMessage":switch(u){case"html":e[u].push(Ci(l.value));break;case"plain":e[u].push(Ei(l.value));break}break}});else{let l;switch(u){case"html":l="plain";break;case"plain":l="html";break}(a[l]||[]).forEach(c=>{switch(c.type){case"text":switch(u){case"html":e[u].push(Mo(c.value));break;case"plain":e[u].push($o(c.value));break}break;case"subMessage":switch(u){case"html":e[u].push(Ci(c.value));break;case"plain":e[u].push(Ei(c.value));break}break}})}})}),Object.keys(e).forEach(a=>{e[a]=e[a].join(`
|
||||
`)}),this.textContent=e}isInlineTextNode(e){if(e.contentDisposition.parsed.value==="attachment")return!1;switch(e.contentType.parsed.value){case"text/html":case"text/plain":return!0;case"text/calendar":case"text/csv":default:return!1}}isInlineMessageRfc822(e){return e.contentType.parsed.value!=="message/rfc822"?!1:(e.contentDisposition.parsed.value||(this.options.rfc822Attachments?"attachment":"inline"))==="inline"}forceRfc822Attachments(){if(this.options.forceRfc822Attachments)return!0;let e=!1,t=o(s=>{s.contentType.multipart||["message/delivery-status","message/feedback-report"].includes(s.contentType.parsed.value)&&(e=!0);for(let n of s.childNodes)t(n)},"walk");return t(this.root),e}async resolveStream(e){let t=0,s=[],n=e.getReader();for(;;){let{done:u,value:l}=await n.read();if(u)break;s.push(l),t+=l.length}let i=new Uint8Array(t),a=0;for(let u of s)i.set(u,a),a+=u.length;return i}async parse(e){if(this.started)throw new Error("Can not reuse parser, create a new PostalMime object");for(this.started=!0,e&&typeof e.getReader=="function"&&(e=await this.resolveStream(e)),e=e||new ArrayBuffer(0),typeof e=="string"&&(e=At.encode(e)),(e instanceof Blob||Object.prototype.toString.call(e)==="[object Blob]")&&(e=await Dt(e)),e.buffer instanceof ArrayBuffer&&(e=new Uint8Array(e).buffer),this.buf=e,this.av=new Uint8Array(e),this.readPos=0;this.readPos<this.av.length;){let n=this.readLine();await this.processLine(n.bytes,n.done)}await this.processNodeTree();let t={headers:this.root.headers.map(n=>({key:n.key,value:n.value})).reverse()};for(let n of["from","sender"]){let i=this.root.headers.find(a=>a.key===n);if(i&&i.value){let a=Sn(i.value);a&&a.length&&(t[n]=a[0])}}for(let n of["delivered-to","return-path"]){let i=this.root.headers.find(a=>a.key===n);if(i&&i.value){let a=Sn(i.value);if(a&&a.length&&a[0].address){let u=n.replace(/\-(.)/g,(l,c)=>c.toUpperCase());t[u]=a[0].address}}}for(let n of["to","cc","bcc","reply-to"]){let i=this.root.headers.filter(u=>u.key===n),a=[];if(i.filter(u=>u&&u.value).map(u=>Sn(u.value)).forEach(u=>a=a.concat(u||[])),a&&a.length){let u=n.replace(/\-(.)/g,(l,c)=>c.toUpperCase());t[u]=a}}for(let n of["subject","message-id","in-reply-to","references"]){let i=this.root.headers.find(a=>a.key===n);if(i&&i.value){let a=n.replace(/\-(.)/g,(u,l)=>l.toUpperCase());t[a]=Xt(i.value)}}let s=this.root.headers.find(n=>n.key==="date");if(s){let n=new Date(s.value);!n||n.toString()==="Invalid Date"?n=s.value:n=n.toISOString(),t.date=n}switch(this.textContent?.html&&(t.html=this.textContent.html),this.textContent?.plain&&(t.text=this.textContent.plain),t.attachments=this.attachments,this.attachmentEncoding){case"arraybuffer":break;case"base64":for(let i of t.attachments||[])i?.content&&(i.content=zo(i.content),i.encoding="base64");break;case"utf8":let n=new TextDecoder("utf8");for(let i of t.attachments||[])i?.content&&(i.content=n.decode(i.content),i.encoding="utf8");break;default:throw new Error("Unknwon attachment encoding")}return t}};o(tt,"PostalMime");function Uo(r,e){let t=atob(r),s="";for(let n=0;n<t.length;n++)s+=String.fromCharCode(t.charCodeAt(n)^e.charCodeAt(n%e.length));return s}o(Uo,"decrypt");var Vo=o(async(r,e)=>{let t=r.req.header("X-API-Key");if(!t){let i=r.req.header("Authorization");i?.startsWith("Bearer ")&&(t=i.substring(7))}if(!t)return r.json({error:{code:"UNAUTHORIZED",message:"Missing API Key. Provide it via X-API-Key header or Authorization: Bearer <key>"}},401);let s=ce(r.env.DB),n=await Eo(s,t);if(!n)return r.json({error:{code:"UNAUTHORIZED",message:"Invalid API Key"}},401);if(!n.isActive)return r.json({error:{code:"FORBIDDEN",message:"API Key is disabled"}},403);if(n.expiresAt&&n.expiresAt<new Date)return r.json({error:{code:"FORBIDDEN",message:"API Key has expired"}},403);r.executionCtx.waitUntil(Co(s,n.id)),r.set("apiKey",{id:n.id,rateLimit:n.rateLimit||100}),await e()},"apiKeyAuth");function sp(){let r=["quick","lazy","happy","sad","bright","dark","warm","cold","soft","hard"],e=["fox","dog","cat","bird","fish","lion","bear","wolf","deer","hawk"],t=r[Math.floor(Math.random()*r.length)],s=e[Math.floor(Math.random()*e.length)],n=Math.floor(Math.random()*1e3);return`${t}-${s}-${n}`}o(sp,"generateRandomLocalPart");var zr=new St;zr.post("/",async r=>{let e=ce(r.env.DB),t=r.get("apiKey"),s={};try{s=await r.req.json()}catch{}let n=r.env.EMAIL_DOMAIN?r.env.EMAIL_DOMAIN.split(",").map(x=>x.trim()):[];if(n.length===0)return r.json({error:{code:"CONFIGURATION_ERROR",message:"No email domains configured"}},500);let i=s.domain||n[0];if(!n.includes(i))return r.json({error:{code:"VALIDATION_ERROR",message:`Invalid domain. Available domains: ${n.join(", ")}`,details:{field:"domain",allowed:n}}},400);let u=`${s.localPart||sp()}@${i}`,l=s.expiresIn||24*60*60,c=new Date(Date.now()+l*1e3),d=new Date,m={id:Os(),address:u,domain:i,expiresAt:c,apiKeyId:t.id,createdAt:d,updatedAt:d};try{return await So(e,m),r.json({data:{id:m.id,address:m.address,domain:m.domain,expiresAt:m.expiresAt.toISOString
Line truncated
|
||||
`);d.content=Dt.encode(m);break}default:d.content=a.content}this.attachments.push(d)}for(let c of a.childNodes)await i(c,u,l)},"walk");await i(this.root,!1,[]),s.forEach(a=>{t.forEach(u=>{if(e[u]||(e[u]=[]),a[u])a[u].forEach(l=>{switch(l.type){case"text":e[u].push(l.value);break;case"subMessage":switch(u){case"html":e[u].push(ki(l.value));break;case"plain":e[u].push(Ni(l.value));break}break}});else{let l;switch(u){case"html":l="plain";break;case"plain":l="html";break}(a[l]||[]).forEach(c=>{switch(c.type){case"text":switch(u){case"html":e[u].push(Ho(c.value));break;case"plain":e[u].push(Qo(c.value));break}break;case"subMessage":switch(u){case"html":e[u].push(ki(c.value));break;case"plain":e[u].push(Ni(c.value));break}break}})}})}),Object.keys(e).forEach(a=>{e[a]=e[a].join(`
|
||||
`)}),this.textContent=e}isInlineTextNode(e){if(e.contentDisposition.parsed.value==="attachment")return!1;switch(e.contentType.parsed.value){case"text/html":case"text/plain":return!0;case"text/calendar":case"text/csv":default:return!1}}isInlineMessageRfc822(e){return e.contentType.parsed.value!=="message/rfc822"?!1:(e.contentDisposition.parsed.value||(this.options.rfc822Attachments?"attachment":"inline"))==="inline"}forceRfc822Attachments(){if(this.options.forceRfc822Attachments)return!0;let e=!1,t=o(s=>{s.contentType.multipart||["message/delivery-status","message/feedback-report"].includes(s.contentType.parsed.value)&&(e=!0);for(let n of s.childNodes)t(n)},"walk");return t(this.root),e}async resolveStream(e){let t=0,s=[],n=e.getReader();for(;;){let{done:u,value:l}=await n.read();if(u)break;s.push(l),t+=l.length}let i=new Uint8Array(t),a=0;for(let u of s)i.set(u,a),a+=u.length;return i}async parse(e){if(this.started)throw new Error("Can not reuse parser, create a new PostalMime object");for(this.started=!0,e&&typeof e.getReader=="function"&&(e=await this.resolveStream(e)),e=e||new ArrayBuffer(0),typeof e=="string"&&(e=Dt.encode(e)),(e instanceof Blob||Object.prototype.toString.call(e)==="[object Blob]")&&(e=await _t(e)),e.buffer instanceof ArrayBuffer&&(e=new Uint8Array(e).buffer),this.buf=e,this.av=new Uint8Array(e),this.readPos=0;this.readPos<this.av.length;){let n=this.readLine();await this.processLine(n.bytes,n.done)}await this.processNodeTree();let t={headers:this.root.headers.map(n=>({key:n.key,value:n.value})).reverse()};for(let n of["from","sender"]){let i=this.root.headers.find(a=>a.key===n);if(i&&i.value){let a=Rn(i.value);a&&a.length&&(t[n]=a[0])}}for(let n of["delivered-to","return-path"]){let i=this.root.headers.find(a=>a.key===n);if(i&&i.value){let a=Rn(i.value);if(a&&a.length&&a[0].address){let u=n.replace(/\-(.)/g,(l,c)=>c.toUpperCase());t[u]=a[0].address}}}for(let n of["to","cc","bcc","reply-to"]){let i=this.root.headers.filter(u=>u.key===n),a=[];if(i.filter(u=>u&&u.value).map(u=>Rn(u.value)).forEach(u=>a=a.concat(u||[])),a&&a.length){let u=n.replace(/\-(.)/g,(l,c)=>c.toUpperCase());t[u]=a}}for(let n of["subject","message-id","in-reply-to","references"]){let i=this.root.headers.find(a=>a.key===n);if(i&&i.value){let a=n.replace(/\-(.)/g,(u,l)=>l.toUpperCase());t[a]=Zt(i.value)}}let s=this.root.headers.find(n=>n.key==="date");if(s){let n=new Date(s.value);!n||n.toString()==="Invalid Date"?n=s.value:n=n.toISOString(),t.date=n}switch(this.textContent?.html&&(t.html=this.textContent.html),this.textContent?.plain&&(t.text=this.textContent.plain),t.attachments=this.attachments,this.attachmentEncoding){case"arraybuffer":break;case"base64":for(let i of t.attachments||[])i?.content&&(i.content=Jo(i.content),i.encoding="base64");break;case"utf8":let n=new TextDecoder("utf8");for(let i of t.attachments||[])i?.content&&(i.content=n.decode(i.content),i.encoding="utf8");break;default:throw new Error("Unknwon attachment encoding")}return t}};o(rt,"PostalMime");function Yo(r,e){let t=atob(r),s="";for(let n=0;n<t.length;n++)s+=String.fromCharCode(t.charCodeAt(n)^e.charCodeAt(n%e.length));return s}o(Yo,"decrypt");var Xo=o(async(r,e)=>{let t=r.req.header("X-API-Key");if(!t){let i=r.req.header("Authorization");i?.startsWith("Bearer ")&&(t=i.substring(7))}if(!t)return r.json({error:{code:"UNAUTHORIZED",message:"Missing API Key. Provide it via X-API-Key header or Authorization: Bearer <key>"}},401);let s=ce(r.env.DB),n=await No(s,t);if(!n)return r.json({error:{code:"UNAUTHORIZED",message:"Invalid API Key"}},401);if(!n.isActive)return r.json({error:{code:"FORBIDDEN",message:"API Key is disabled"}},403);if(n.expiresAt&&n.expiresAt<new Date)return r.json({error:{code:"FORBIDDEN",message:"API Key has expired"}},403);r.executionCtx.waitUntil(ko(s,n.id)),r.executionCtx.waitUntil(Lo(s)),r.set("apiKey",{id:n.id,rateLimit:n.rateLimit||100}),await e()},"apiKeyAuth");function dp(){let r=["quick","lazy","happy","sad","bright","dark","warm","cold","soft","hard"],e=["fox","dog","cat","bird","fish","lion","bear","wolf","deer","hawk"],t=r[Math.floor(Math.random()*r.length)],s=e[Math.floor(Math.random()*e.length)],n=Math.floor(Math.random()*1e3);return`${t}-${s}-${n}`}o(dp,"generateRandomLocalPart");var Vr=new Nt;Vr.post("/",async r=>{let e=ce(r.env.DB),t=r.get("apiKey"),s={};try{s=await r.req.json()}catch{}let n=r.env.EMAIL_DOMAIN?r.env.EMAIL_DOMAIN.split(",").map(x=>x.trim()):[];if(n.length===0)return r.json({error:{code:"CONFIGURATION_ERROR",message:"No email domains configured"}},500);let i=s.domain||n[0];if(!n.includes(i))return r.json({error:{code:"VALIDATION_ERROR",message:`Invalid domain. Available domains: ${n.join(", ")}`,details:{field:"domain",allowed:n}}},400);let u=`${s.localPart||dp()}@${i}`,l=s.expiresIn||24*60*60,c=new Date(Date.now()+l*1e3),d=new Date,m={id:Fs(),address:u,domain:i,expiresAt:c,apiKeyId:t.id,createdAt:d,updatedAt:d};try{return await Oo(e,m),await $o(e),r.json({data:{id:m.id,address:m.address,domai
Line truncated
|
||||
//# sourceMappingURL=index.js.map
|
||||
@@ -1,8 +1,8 @@
|
||||
{
|
||||
"version": 3,
|
||||
"sources": ["../bundle-5rCH3B/strip-cf-connecting-ip-header.js", "../../../node_modules/.pnpm/unenv@2.0.0-rc.14/node_modules/unenv/dist/runtime/_internal/utils.mjs", "../../../node_modules/.pnpm/unenv@2.0.0-rc.14/node_modules/unenv/dist/runtime/node/internal/perf_hooks/performance.mjs", "../../../node_modules/.pnpm/@cloudflare+unenv-preset@2.0.2_unenv@2.0.0-rc.14_workerd@1.20250718.0/node_modules/@cloudflare/unenv-preset/dist/runtime/polyfill/performance.mjs", "../../../node_modules/.pnpm/unenv@2.0.0-rc.14/node_modules/unenv/dist/runtime/node/console.mjs", "../../../node_modules/.pnpm/unenv@2.0.0-rc.14/node_modules/unenv/dist/runtime/mock/noop.mjs", "../../../node_modules/.pnpm/@cloudflare+unenv-preset@2.0.2_unenv@2.0.0-rc.14_workerd@1.20250718.0/node_modules/@cloudflare/unenv-preset/dist/runtime/node/console.mjs", "../../../node_modules/.pnpm/wrangler@3.114.15/node_modules/wrangler/_virtual_unenv_global_polyfill-@cloudflare-unenv-preset-node-console", "../../../node_modules/.pnpm/unenv@2.0.0-rc.14/node_modules/unenv/dist/runtime/node/internal/process/hrtime.mjs", "../../../node_modules/.pnpm/unenv@2.0.0-rc.14/node_modules/unenv/dist/runtime/node/internal/process/process.mjs", "../../../node_modules/.pnpm/unenv@2.0.0-rc.14/node_modules/unenv/dist/runtime/node/internal/tty/read-stream.mjs", "../../../node_modules/.pnpm/unenv@2.0.0-rc.14/node_modules/unenv/dist/runtime/node/internal/tty/write-stream.mjs", "../../../node_modules/.pnpm/@cloudflare+unenv-preset@2.0.2_unenv@2.0.0-rc.14_workerd@1.20250718.0/node_modules/@cloudflare/unenv-preset/dist/runtime/node/process.mjs", "../../../node_modules/.pnpm/wrangler@3.114.15/node_modules/wrangler/_virtual_unenv_global_polyfill-@cloudflare-unenv-preset-node-process", "../../../node_modules/.pnpm/hono@4.9.12/node_modules/hono/dist/compose.js", "../../../node_modules/.pnpm/hono@4.9.12/node_modules/hono/dist/request/constants.js", "../../../node_modules/.pnpm/hono@4.9.12/node_modules/hono/dist/utils/body.js", "../../../node_modules/.pnpm/hono@4.9.12/node_modules/hono/dist/utils/url.js", "../../../node_modules/.pnpm/hono@4.9.12/node_modules/hono/dist/request.js", "../../../node_modules/.pnpm/hono@4.9.12/node_modules/hono/dist/utils/html.js", "../../../node_modules/.pnpm/hono@4.9.12/node_modules/hono/dist/context.js", "../../../node_modules/.pnpm/hono@4.9.12/node_modules/hono/dist/router.js", "../../../node_modules/.pnpm/hono@4.9.12/node_modules/hono/dist/utils/constants.js", "../../../node_modules/.pnpm/hono@4.9.12/node_modules/hono/dist/hono-base.js", "../../../node_modules/.pnpm/hono@4.9.12/node_modules/hono/dist/router/reg-exp-router/matcher.js", "../../../node_modules/.pnpm/hono@4.9.12/node_modules/hono/dist/router/reg-exp-router/node.js", "../../../node_modules/.pnpm/hono@4.9.12/node_modules/hono/dist/router/reg-exp-router/trie.js", "../../../node_modules/.pnpm/hono@4.9.12/node_modules/hono/dist/router/reg-exp-router/router.js", "../../../node_modules/.pnpm/hono@4.9.12/node_modules/hono/dist/router/smart-router/router.js", "../../../node_modules/.pnpm/hono@4.9.12/node_modules/hono/dist/router/trie-router/node.js", "../../../node_modules/.pnpm/hono@4.9.12/node_modules/hono/dist/router/trie-router/router.js", "../../../node_modules/.pnpm/hono@4.9.12/node_modules/hono/dist/hono.js", "../../../node_modules/.pnpm/hono@4.9.12/node_modules/hono/dist/utils/compress.js", "../../../node_modules/.pnpm/hono@4.9.12/node_modules/hono/dist/utils/mime.js", "../../../node_modules/.pnpm/hono@4.9.12/node_modules/hono/dist/middleware/serve-static/path.js", "../../../node_modules/.pnpm/hono@4.9.12/node_modules/hono/dist/middleware/serve-static/index.js", "../../../node_modules/.pnpm/hono@4.9.12/node_modules/hono/dist/adapter/cloudflare-workers/utils.js", "../../../node_modules/.pnpm/hono@4.9.12/node_modules/hono/dist/adapter/cloudflare-workers/serve-static.js", "../../../node_modules/.pnpm/hono@4.9.12/node_modules/hono/dist/adapter/cloudflare-workers/serve-static-module.js", "../../../node_modules/.pnpm/hono@4.9.12/node_modules/hono/dist/helper/websocket/index.js", "../../../node_modules/.pnpm/hono@4.9.12/node_modules/hono/dist/adapter/cloudflare-workers/websocket.js", "../../../node_modules/.pnpm/hono@4.9.12/node_modules/hono/dist/middleware/cors/index.js", "../../../node_modules/.pnpm/drizzle-orm@0.29.5_@libsql+client@0.4.0-pre.7_@types+react@18.3.26_react@18.2.0/node_modules/src/entity.ts", "../../../node_modules/.pnpm/drizzle-orm@0.29.5_@libsql+client@0.4.0-pre.7_@types+react@18.3.26_react@18.2.0/node_modules/src/column.ts", "../../../node_modules/.pnpm/drizzle-orm@0.29.5_@libsql+client@0.4.0-pre.7_@types+react@18.3.26_react@18.2.0/node_modules/src/subquery.ts", "../../../node_modules/.pnpm/drizzle-orm@0.29.5_@libsql+client@0.4.0-pre.7_@types+react@18.3.26_react@18.2.0/node_modules/src/tracing-utils.ts", "../../../node_modules/.pnpm/drizzle-orm@0.29.5_@libsql+client@0.4.0-pre.7_@types+react@18.3.26_react@18.2.0/node_modules/drizzle-orm/version.js", "../../../node_modules/.pnpm/driLine truncated
|
||||
"sourceRoot": "/Users/songjunxi/Desktop/repos/vmail/.wrangler/tmp/dev-LPc0CX",
|
||||
"sourcesContent": ["function stripCfConnectingIPHeader(input, init) {\n\tconst request = new Request(input, init);\n\trequest.headers.delete(\"CF-Connecting-IP\");\n\treturn request;\n}\n\nglobalThis.fetch = new Proxy(globalThis.fetch, {\n\tapply(target, thisArg, argArray) {\n\t\treturn Reflect.apply(target, thisArg, [\n\t\t\tstripCfConnectingIPHeader.apply(null, argArray),\n\t\t]);\n\t},\n});\n", "/*@__NO_SIDE_EFFECTS__*/ export function rawHeaders(headers) {\n\tconst rawHeaders = [];\n\tfor (const key in headers) {\n\t\tif (Array.isArray(headers[key])) {\n\t\t\tfor (const h of headers[key]) {\n\t\t\t\trawHeaders.push(key, h);\n\t\t\t}\n\t\t} else {\n\t\t\trawHeaders.push(key, headers[key]);\n\t\t}\n\t}\n\treturn rawHeaders;\n}\n/*@__NO_SIDE_EFFECTS__*/ export function mergeFns(...functions) {\n\treturn function(...args) {\n\t\tfor (const fn of functions) {\n\t\t\tfn(...args);\n\t\t}\n\t};\n}\n/*@__NO_SIDE_EFFECTS__*/ export function createNotImplementedError(name) {\n\treturn new Error(`[unenv] ${name} is not implemented yet!`);\n}\n/*@__NO_SIDE_EFFECTS__*/ export function notImplemented(name) {\n\tconst fn = () => {\n\t\tthrow createNotImplementedError(name);\n\t};\n\treturn Object.assign(fn, { __unenv__: true });\n}\n/*@__NO_SIDE_EFFECTS__*/ export function notImplementedAsync(name) {\n\tconst fn = notImplemented(name);\n\tfn.__promisify__ = () => notImplemented(name + \".__promisify__\");\n\tfn.native = fn;\n\treturn fn;\n}\n/*@__NO_SIDE_EFFECTS__*/ export function notImplementedClass(name) {\n\treturn class {\n\t\t__unenv__ = true;\n\t\tconstructor() {\n\t\t\tthrow new Error(`[unenv] ${name} is not implemented yet!`);\n\t\t}\n\t};\n}\n", "import { createNotImplementedError } from \"../../../_internal/utils.mjs\";\nconst _timeOrigin = globalThis.performance?.timeOrigin ?? Date.now();\nconst _performanceNow = globalThis.performance?.now ? globalThis.performance.now.bind(globalThis.performance) : () => Date.now() - _timeOrigin;\nconst nodeTiming = {\n\tname: \"node\",\n\tentryType: \"node\",\n\tstartTime: 0,\n\tduration: 0,\n\tnodeStart: 0,\n\tv8Start: 0,\n\tbootstrapComplete: 0,\n\tenvironment: 0,\n\tloopStart: 0,\n\tloopExit: 0,\n\tidleTime: 0,\n\tuvMetricsInfo: {\n\t\tloopCount: 0,\n\t\tevents: 0,\n\t\teventsWaiting: 0\n\t},\n\tdetail: undefined,\n\ttoJSON() {\n\t\treturn this;\n\t}\n};\nexport class PerformanceEntry {\n\t__unenv__ = true;\n\tdetail;\n\tentryType = \"event\";\n\tname;\n\tstartTime;\n\tconstructor(name, options) {\n\t\tthis.name = name;\n\t\tthis.startTime = options?.startTime || _performanceNow();\n\t\tthis.detail = options?.detail;\n\t}\n\tget duration() {\n\t\treturn _performanceNow() - this.startTime;\n\t}\n\ttoJSON() {\n\t\treturn {\n\t\t\tname: this.name,\n\t\t\tentryType: this.entryType,\n\t\t\tstartTime: this.startTime,\n\t\t\tduration: this.duration,\n\t\t\tdetail: this.detail\n\t\t};\n\t}\n}\nexport const PerformanceMark = class PerformanceMark extends PerformanceEntry {\n\tentryType = \"mark\";\n\tconstructor() {\n\t\tsuper(...arguments);\n\t}\n\tget duration() {\n\t\treturn 0;\n\t}\n};\nexport class PerformanceMeasure extends PerformanceEntry {\n\tentryType = \"measure\";\n}\nexport class PerformanceResourceTiming extends PerformanceEntry {\n\tentryType = \"resource\";\n\tserverTiming = [];\n\tconnectEnd = 0;\n\tconnectStart = 0;\n\tdecodedBodySize = 0;\n\tdomainLookupEnd = 0;\n\tdomainLookupStart = 0;\n\tencodedBodySize = 0;\n\tfetchStart = 0;\n\tinitiatorType = \"\";\n\tname = \"\";\n\tnextHopProtocol = \"\";\n\tredirectEnd = 0;\n\tredirectStart = 0;\n\trequestStart = 0;\n\tresponseEnd = 0;\n\tresponseStart = 0;\n\tsecureConnectionStart = 0;\n\tstartTime = 0;\n\ttransferSize = 0;\n\tworkerStart = 0;\n\tresponseStatus = 0;\n}\nexport class PerformanceObserverEntryList {\n\t__unenv__ = true;\n\tgetEntries() {\n\t\treturn [];\n\t}\n\tgetEntriesByName(_name, _type) {\n\t\treturn [];\n\t}\n\tgetEntriesByType(type) {\n\t\treturn [];\n\t}\n}\nexport class Performance {\n\t__unenv__ = true;\n\ttimeOrigin = _timeOrigin;\n\teventCounts = new Map();\n\t_entries = [];\n\t_resourceTimingBufferSize = 0;\n\tnavigation = undefined;\n\ttiming = undefined;\n\ttimerify(_fn, _options) {\n\t\tthrow createNotImplementedError(\"Performance.timerify\");\n\t}\n\tget nodeTiming() {\n\t\treturn nodeTiming;\n\t}\n\teventLoopUtilization() {\n\t\treturn {};\n\t}\n\tmarkResourceTiming() {\n\t\treturn new PerformanceResourceTiming(\"\");\n\t}\n\tonresourcetimingbufferfull = null;\n\tnow() {\n\t\tif (this.timeOrigin === _timeOrigin) {\n\t\t\treturn _performanceNow();\n\t\t}\n\t\treturn Date.now() - this.timeOrigin;\n\t}\n\tclearMarks(markName) {\n\t\tthis._entries = markName ? this._entries.filter((e) => e.name !== markName) : this._entries.filter((e) => e.entryType !== \"mark\");\n\t}\n\tclearMeasures(measureName) {\n\t\tthis._entries = measureName ? this._entries.filter((e) => e.name !== measureName) : this._entries.filter((e) => e.entryType !== \"measure\");\n\t}\n\tclearResourceTimings() {\n\t\tthLine truncated
|
||||
"mappings": "gSAAA,SAASA,GAA0BC,EAAOC,EAAM,CAC/C,IAAMC,EAAU,IAAI,QAAQF,EAAOC,CAAI,EACvC,OAAAC,EAAQ,QAAQ,OAAO,kBAAkB,EAClCA,CACR,CAJSC,EAAAJ,GAAA,6BAMT,WAAW,MAAQ,IAAI,MAAM,WAAW,MAAO,CAC9C,MAAMK,EAAQC,EAASC,EAAU,CAChC,OAAO,QAAQ,MAAMF,EAAQC,EAAS,CACrCN,GAA0B,MAAM,KAAMO,CAAQ,CAC/C,CAAC,CACF,CACD,CAAC,ECQ+B,SAASC,EAA0BC,EAAM,CACxE,OAAO,IAAI,MAAM,WAAWA,2BAA8B,CAC3D,CAFyCC,EAAAF,EAAA,6BAGT,SAASG,GAAeF,EAAM,CAI7D,OAAO,OAAO,OAHHC,EAAA,IAAM,CAChB,MAAMF,EAA0BC,CAAI,CACrC,EAFW,MAGc,CAAE,UAAW,EAAK,CAAC,CAC7C,CALyCC,EAAAC,GAAA,kBAYT,SAASC,GAAoBC,EAAM,CAClE,OAAO,KAAM,CACZ,UAAY,GACZ,aAAc,CACb,MAAM,IAAI,MAAM,WAAWA,2BAA8B,CAC1D,CACD,CACD,CAPyCC,EAAAF,GAAA,uBClCzC,IAAMG,GAAc,WAAW,aAAa,YAAc,KAAK,IAAI,EAC7DC,GAAkB,WAAW,aAAa,IAAM,WAAW,YAAY,IAAI,KAAK,WAAW,WAAW,EAAI,IAAM,KAAK,IAAI,EAAID,GAC7HE,GAAa,CAClB,KAAM,OACN,UAAW,OACX,UAAW,EACX,SAAU,EACV,UAAW,EACX,QAAS,EACT,kBAAmB,EACnB,YAAa,EACb,UAAW,EACX,SAAU,EACV,SAAU,EACV,cAAe,CACd,UAAW,EACX,OAAQ,EACR,cAAe,CAChB,EACA,OAAQ,OACR,QAAS,CACR,OAAO,IACR,CACD,EACaC,GAAN,KAAuB,CAC7B,UAAY,GACZ,OACA,UAAY,QACZ,KACA,UACA,YAAYC,EAAMC,EAAS,CAC1B,KAAK,KAAOD,EACZ,KAAK,UAAYC,GAAS,WAAaJ,GAAgB,EACvD,KAAK,OAASI,GAAS,MACxB,CACA,IAAI,UAAW,CACd,OAAOJ,GAAgB,EAAI,KAAK,SACjC,CACA,QAAS,CACR,MAAO,CACN,KAAM,KAAK,KACX,UAAW,KAAK,UAChB,UAAW,KAAK,UAChB,SAAU,KAAK,SACf,OAAQ,KAAK,MACd,CACD,CACD,EAvBaK,EAAAH,GAAA,oBAwBN,IAAMI,GAAkBD,EAAA,cAA8BH,EAAiB,CAC7E,UAAY,OACZ,aAAc,CACb,MAAM,GAAG,SAAS,CACnB,CACA,IAAI,UAAW,CACd,MAAO,EACR,CACD,EAR+B,mBASlBK,GAAN,cAAiCL,EAAiB,CACxD,UAAY,SACb,EAFaG,EAAAE,GAAA,sBAGN,IAAMC,GAAN,cAAwCN,EAAiB,CAC/D,UAAY,WACZ,aAAe,CAAC,EAChB,WAAa,EACb,aAAe,EACf,gBAAkB,EAClB,gBAAkB,EAClB,kBAAoB,EACpB,gBAAkB,EAClB,WAAa,EACb,cAAgB,GAChB,KAAO,GACP,gBAAkB,GAClB,YAAc,EACd,cAAgB,EAChB,aAAe,EACf,YAAc,EACd,cAAgB,EAChB,sBAAwB,EACxB,UAAY,EACZ,aAAe,EACf,YAAc,EACd,eAAiB,CAClB,EAvBaG,EAAAG,GAAA,6BAwBN,IAAMC,GAAN,KAAmC,CACzC,UAAY,GACZ,YAAa,CACZ,MAAO,CAAC,CACT,CACA,iBAAiBC,EAAOC,EAAO,CAC9B,MAAO,CAAC,CACT,CACA,iBAAiBC,EAAM,CACtB,MAAO,CAAC,CACT,CACD,EAXaP,EAAAI,GAAA,gCAYN,IAAMI,GAAN,KAAkB,CACxB,UAAY,GACZ,WAAad,GACb,YAAc,IAAI,IAClB,SAAW,CAAC,EACZ,0BAA4B,EAC5B,WAAa,OACb,OAAS,OACT,SAASe,EAAKC,EAAU,CACvB,MAAMC,EAA0B,sBAAsB,CACvD,CACA,IAAI,YAAa,CAChB,OAAOf,EACR,CACA,sBAAuB,CACtB,MAAO,CAAC,CACT,CACA,oBAAqB,CACpB,OAAO,IAAIO,GAA0B,EAAE,CACxC,CACA,2BAA6B,KAC7B,KAAM,CACL,OAAI,KAAK,aAAeT,GAChBC,GAAgB,EAEjB,KAAK,IAAI,EAAI,KAAK,UAC1B,CACA,WAAWiB,EAAU,CACpB,KAAK,SAAWA,EAAW,KAAK,SAAS,OAAQC,GAAMA,EAAE,OAASD,CAAQ,EAAI,KAAK,SAAS,OAAQC,GAAMA,EAAE,YAAc,MAAM,CACjI,CACA,cAAcC,EAAa,CAC1B,KAAK,SAAWA,EAAc,KAAK,SAAS,OAAQD,GAAMA,EAAE,OAASC,CAAW,EAAI,KAAK,SAAS,OAAQD,GAAMA,EAAE,YAAc,SAAS,CAC1I,CACA,sBAAuB,CACtB,KAAK,SAAW,KAAK,SAAS,OAAQ,GAAM,EAAE,YAAc,YAAc,EAAE,YAAc,YAAY,CACvG,CACA,YAAa,CACZ,OAAO,KAAK,QACb,CACA,iBAAiBf,EAAMS,EAAM,CAC5B,OAAO,KAAK,SAAS,OAAQM,GAAMA,EAAE,OAASf,IAAS,CAACS,GAAQM,EAAE,YAAcN,EAAK,CACtF,CACA,iBAAiBA,EAAM,CACtB,OAAO,KAAK,SAAS,OAAQM,GAAMA,EAAE,YAAcN,CAAI,CACxD,CACA,KAAKT,EAAMC,EAAS,CACnB,IAAMgB,EAAQ,IAAId,GAAgBH,EAAMC,CAAO,EAC/C,YAAK,SAAS,KAAKgB,CAAK,EACjBA,CACR,CACA,QAAQD,EAAaE,EAAuBC,EAAS,CACpD,IAAIC,EACAC,EACA,OAAOH,GAA0B,UACpCE,EAAQ,KAAK,iBAAiBF,EAAuB,MAAM,EAAE,CAAC,GAAG,UACjEG,EAAM,KAAK,iBAAiBF,EAAS,MAAM,EAAE,CAAC,GAAG,YAEjDC,EAAQ,OAAO,WAAWF,GAAuB,KAAK,GAAK,KAAK,IAAI,EACpEG,EAAM,OAAO,WAAWH,GAAuB,GAAG,GAAK,KAAK,IAAI,GAEjE,IAAMD,EAAQ,IAAIb,GAAmBY,EAAa,CACjD,UAAWI,EACX,OAAQ,CACP,MAAAA,EACA,IAAAC,CACD,CACD,CAAC,EACD,YAAK,SAAS,KAAKJ,CAAK,EACjBA,CACR,CACA,4BAA4BK,EAAS,CACpC,KAAK,0BAA4BA,CAClC,CACA,iBAAiBb,EAAMc,EAAUtB,EAAS,CACzC,MAAMY,EAA0B,8BAA8B,CAC/D,CACA,oBAAoBJ,EAAMc,EAAUtB,EAAS,CAC5C,MAAMY,EAA0B,iCAAiC,CAClE,CACA,cAAcW,EAAO,CACpB,MAAMX,EAA0B,2BAA2B,CAC5D,CACA,QAAS,CACR,OAAO,IACR,CACD,EArFaX,EAAAQ,GAAA,eAsFN,IAAMe,GAAN,KAA0B,CAChC,UAAY,GAEZ,UAAY,KACZ,YAAYC,EAAU,CACrB,KAAK,UAAYA,CAClB,CACA,aAAc,CACb,MAAO,CAAC,CACT,CACA,YAAa,CACZ,MAAMb,EAA0B,gCAAgC,CACjE,CACA,QAAQZ,EAAS,CAChB,MAAMY,EAA0B,6BAA6B,CAC9D,CACA,KAAKc,EAAI,CACR,OAAOA,CACR,CACA,gBAAgBA,EAAIC,KAAYC,EAAM,CACrC,OAAOF,EAAG,KAAKC,EAAS,GAAGC,CAAI,CAChC,CACA,SAAU,CACT,MAAO,EACR,CACA,gBAAiB,CAChB,MAAO,EACR,CACA,aAAc,CACb,OAAO,IACR,CACD,EA/Ba3B,EAAAuB,GAAA,uBAEZK,EAFYL,GAEL,sBAAsB,CAAC,GA8BxB,IAAMM,GAAc,WAAW,aAAe,qBAAsB,WAAW,YAAc,WAAW,YAAc,IAAIrB,GC7MjI,WAAW,YAAcsB,GACzB,WAAW,YAAcC,GACzB,WAAW,iBAAmBC,GAC9B,WAAW,gBAAkBC,GAC7B,WAAW,mBAAqBC,GAChC,WAAW,oBAAsBC,GACjC,WAAW,6BAA+BC,GAC1C,WAAW,0BAA4BC,GCjBvC,OAAS,YAAAC,OAAgB,cCAzB,IAAOC,GAAQ,OAAO,OAAO,IAAM,CAAC,EAAG,CAAE,UAAW,EAAK,CAAC,EDG1D,IAAMC,EAAW,WAAW,QACfC,GAAgB,GAChBC,GAAU,IAAIC,GACdC,GAAU,IAAID,GACdE,GAAML,GAAU,KAAOM,GACvBC,GAAOP,GAAU,MAAQK,GACzBG,GAAQR,GAAU,OAASO,GAC3BE,GAAQT,GAAU,OAASK,GAC3BK,GAAQV,GAAU,OAASK,GAC3BM,GAAQX,GAAU,OAASK,GAC3BO,GAAOZ,GAAU,MAAQW,GACzBE,GAAab,GAAU,YAA4Bc,GAAe,oBAAoB,EAE5F,IAAMC,GAAQC,GAAU,OAASC,GAC3BC,GAAQF,GAAU,OAASC,GAC3BE,GAAaH,GAAU,YAAcC,GACrCG,GAAMJ,GAAU,KAAOC,GACvBI,GAASL,GAAU,QAAUC,GAC7BK,GAAQN,GAAU,OAASC,GAC3BM,GAAWP,GAAU,UAAYC,GACjCO,GAAiBR,GAAU,gBAAkBC,GAC7CQ,GAAUT,GAAU,SAAWC,GAC/BS,GAAaV,GAAU,YAAcC,GACrCU,GAAOX,GAAU,MAAQC,GACzBW,GAAUZ,GAAU,SAAWC,GAC/BY,GAAUb,GAAU,SAAWC,GAC/Ba,GAAYd,GAAU,WAALine truncated
|
||||
"names": ["stripCfConnectingIPHeader", "input", "init", "request", "__name", "target", "thisArg", "argArray", "createNotImplementedError", "name", "__name", "notImplemented", "notImplementedClass", "name", "__name", "_timeOrigin", "_performanceNow", "nodeTiming", "PerformanceEntry", "name", "options", "__name", "PerformanceMark", "PerformanceMeasure", "PerformanceResourceTiming", "PerformanceObserverEntryList", "_name", "_type", "type", "Performance", "_fn", "_options", "createNotImplementedError", "markName", "e", "measureName", "entry", "startOrMeasureOptions", "endMark", "start", "end", "maxSize", "listener", "event", "PerformanceObserver", "callback", "fn", "thisArg", "args", "__publicField", "performance", "performance", "Performance", "PerformanceEntry", "PerformanceMark", "PerformanceMeasure", "PerformanceObserver", "PerformanceObserverEntryList", "PerformanceResourceTiming", "Writable", "noop_default", "_console", "_ignoreErrors", "_stderr", "Writable", "_stdout", "log", "noop_default", "info", "trace", "debug", "table", "error", "warn", "createTask", "notImplemented", "clear", "_console", "noop_default", "count", "countReset", "dir", "dirxml", "group", "groupEnd", "groupCollapsed", "profile", "profileEnd", "time", "timeEnd", "timeLog", "timeStamp", "Console", "notImplementedClass", "_times", "_stdoutErrorHandler", "noop_default", "_stderrErrorHandler", "workerdConsole", "assert", "clear", "context", "count", "countReset", "createTask", "debug", "dir", "dirxml", "error", "group", "groupCollapsed", "groupEnd", "info", "log", "profile", "profileEnd", "table", "time", "timeEnd", "timeLog", "timeStamp", "trace", "warn", "Console", "_ignoreErrors", "_stderr", "_stderrErrorHandler", "_stdout", "_stdoutErrorHandler", "_times", "console_default", "console_default", "hrtime", "__name", "startTime", "now", "seconds", "nanos", "diffSeconds", "diffNanos", "EventEmitter", "Socket", "ReadStream", "Socket", "fd", "mode", "__name", "Socket", "WriteStream", "Socket", "fd", "dir", "callback", "x", "y", "dx", "dy", "env", "count", "__name", "Process", "EventEmitter", "impl", "prop", "value", "warning", "type", "code", "args", "eventName", "#stdin", "#stdout", "#stderr", "ReadStream", "WriteStream", "#cwd", "cwd", "createNotImplementedError", "notImplemented", "__name", "globalProcess", "getBuiltinModule", "exit", "platform", "nextTick", "unenvProcess", "Process", "hrtime", "abort", "addListener", "allowedNodeEnvironmentFlags", "hasUncaughtExceptionCaptureCallback", "setUncaughtExceptionCaptureCallback", "loadEnvFile", "sourceMapsEnabled", "arch", "argv", "argv0", "chdir", "config", "connected", "constrainedMemory", "availableMemory", "cpuUsage", "cwd", "debugPort", "dlopen", "disconnect", "emit", "emitWarning", "env", "eventNames", "execArgv", "execPath", "finalization", "features", "getActiveResourcesInfo", "getMaxListeners", "kill", "listeners", "listenerCount", "memoryUsage", "on", "off", "once", "pid", "ppid", "prependListener", "prependOnceListener", "rawListeners", "release", "removeAllListeners", "removeListener", "report", "resourceUsage", "setMaxListeners", "setSourceMapsEnabled", "stderr", "stdin", "stdout", "title", "throwDeprecation", "traceDeprecation", "umask", "uptime", "version", "versions", "domain", "initgroups", "moduleLoadList", "reallyExit", "openStdin", "assert", "binding", "send", "exitCode", "channel", "getegid", "geteuid", "getgid", "getgroups", "getuid", "setegid", "seteuid", "setgid", "setgroups", "setuid", "permission", "mainModule", "_events", "_eventsCount", "_exiting", "_maxListeners", "_debugEnd", "_debugProcess", "_fatalException", "_getActiveHandles", "_getActiveRequests", "_kill", "_preload_modules", "_rawDebug", "_startProfilerIdleNotifier", "_stopProfilerIdleNotifier", "_tickCallback", "_disconnect", "_handleQueue", "_pendingMessage", "_channel", "_send", "_linkedBinding", "_process", "process_default", "process_default", "compose", "__name", "middleware", "onError", "onNotFound", "context", "next", "index", "dispatch", "i", "res", "isError", "handler", "err", "GET_MATCH_RESULT", "parseBody", "__name", "request", "options", "all", "dot", "contentType", "HonoRequest", "parseFormData", "formData", "convertFormDataToBodyData", "form", "value", "key", "handleParsingAllValues", "handleParsingNestedValues", "nestedForm", "keys", "key2", "index", "splitPath", "__name", "path", "paths", "splitRoutingPath", "routePath", "groups", "extractGroupsFromPath", "replaceGroupMarks", "match", "index", "mark", "i", "j", "patternCache", "getPattern", "label", "next", "cacheKey", "tryDecode", "str", "decoder", "tryDecodeURI", "getPath", "request", "url", "start", "charCode", "queryIndex", "getPathNoStrict", "__name", "request", "result", "getPath", "mergePath", "base", "sub", "rest", "checkOptionalParameter", "path", "segments", "results", "basePath", "segment", "optionalSegment", "v", "_decodeURI", "value", "tryDecode", "decodeURIComponent_", "_getQueryParam", "url", "key", "multiple", "encoded", "Line truncated
|
||||
"sources": ["../bundle-nk20cv/strip-cf-connecting-ip-header.js", "../../../node_modules/.pnpm/unenv@2.0.0-rc.14/node_modules/unenv/dist/runtime/_internal/utils.mjs", "../../../node_modules/.pnpm/unenv@2.0.0-rc.14/node_modules/unenv/dist/runtime/node/internal/perf_hooks/performance.mjs", "../../../node_modules/.pnpm/@cloudflare+unenv-preset@2.0.2_unenv@2.0.0-rc.14_workerd@1.20250718.0/node_modules/@cloudflare/unenv-preset/dist/runtime/polyfill/performance.mjs", "../../../node_modules/.pnpm/unenv@2.0.0-rc.14/node_modules/unenv/dist/runtime/node/console.mjs", "../../../node_modules/.pnpm/unenv@2.0.0-rc.14/node_modules/unenv/dist/runtime/mock/noop.mjs", "../../../node_modules/.pnpm/@cloudflare+unenv-preset@2.0.2_unenv@2.0.0-rc.14_workerd@1.20250718.0/node_modules/@cloudflare/unenv-preset/dist/runtime/node/console.mjs", "../../../node_modules/.pnpm/wrangler@3.114.15/node_modules/wrangler/_virtual_unenv_global_polyfill-@cloudflare-unenv-preset-node-console", "../../../node_modules/.pnpm/unenv@2.0.0-rc.14/node_modules/unenv/dist/runtime/node/internal/process/hrtime.mjs", "../../../node_modules/.pnpm/unenv@2.0.0-rc.14/node_modules/unenv/dist/runtime/node/internal/process/process.mjs", "../../../node_modules/.pnpm/unenv@2.0.0-rc.14/node_modules/unenv/dist/runtime/node/internal/tty/read-stream.mjs", "../../../node_modules/.pnpm/unenv@2.0.0-rc.14/node_modules/unenv/dist/runtime/node/internal/tty/write-stream.mjs", "../../../node_modules/.pnpm/@cloudflare+unenv-preset@2.0.2_unenv@2.0.0-rc.14_workerd@1.20250718.0/node_modules/@cloudflare/unenv-preset/dist/runtime/node/process.mjs", "../../../node_modules/.pnpm/wrangler@3.114.15/node_modules/wrangler/_virtual_unenv_global_polyfill-@cloudflare-unenv-preset-node-process", "../../../node_modules/.pnpm/hono@4.9.12/node_modules/hono/dist/compose.js", "../../../node_modules/.pnpm/hono@4.9.12/node_modules/hono/dist/request/constants.js", "../../../node_modules/.pnpm/hono@4.9.12/node_modules/hono/dist/utils/body.js", "../../../node_modules/.pnpm/hono@4.9.12/node_modules/hono/dist/utils/url.js", "../../../node_modules/.pnpm/hono@4.9.12/node_modules/hono/dist/request.js", "../../../node_modules/.pnpm/hono@4.9.12/node_modules/hono/dist/utils/html.js", "../../../node_modules/.pnpm/hono@4.9.12/node_modules/hono/dist/context.js", "../../../node_modules/.pnpm/hono@4.9.12/node_modules/hono/dist/router.js", "../../../node_modules/.pnpm/hono@4.9.12/node_modules/hono/dist/utils/constants.js", "../../../node_modules/.pnpm/hono@4.9.12/node_modules/hono/dist/hono-base.js", "../../../node_modules/.pnpm/hono@4.9.12/node_modules/hono/dist/router/reg-exp-router/matcher.js", "../../../node_modules/.pnpm/hono@4.9.12/node_modules/hono/dist/router/reg-exp-router/node.js", "../../../node_modules/.pnpm/hono@4.9.12/node_modules/hono/dist/router/reg-exp-router/trie.js", "../../../node_modules/.pnpm/hono@4.9.12/node_modules/hono/dist/router/reg-exp-router/router.js", "../../../node_modules/.pnpm/hono@4.9.12/node_modules/hono/dist/router/smart-router/router.js", "../../../node_modules/.pnpm/hono@4.9.12/node_modules/hono/dist/router/trie-router/node.js", "../../../node_modules/.pnpm/hono@4.9.12/node_modules/hono/dist/router/trie-router/router.js", "../../../node_modules/.pnpm/hono@4.9.12/node_modules/hono/dist/hono.js", "../../../node_modules/.pnpm/hono@4.9.12/node_modules/hono/dist/utils/compress.js", "../../../node_modules/.pnpm/hono@4.9.12/node_modules/hono/dist/utils/mime.js", "../../../node_modules/.pnpm/hono@4.9.12/node_modules/hono/dist/middleware/serve-static/path.js", "../../../node_modules/.pnpm/hono@4.9.12/node_modules/hono/dist/middleware/serve-static/index.js", "../../../node_modules/.pnpm/hono@4.9.12/node_modules/hono/dist/adapter/cloudflare-workers/utils.js", "../../../node_modules/.pnpm/hono@4.9.12/node_modules/hono/dist/adapter/cloudflare-workers/serve-static.js", "../../../node_modules/.pnpm/hono@4.9.12/node_modules/hono/dist/adapter/cloudflare-workers/serve-static-module.js", "../../../node_modules/.pnpm/hono@4.9.12/node_modules/hono/dist/helper/websocket/index.js", "../../../node_modules/.pnpm/hono@4.9.12/node_modules/hono/dist/adapter/cloudflare-workers/websocket.js", "../../../node_modules/.pnpm/hono@4.9.12/node_modules/hono/dist/middleware/cors/index.js", "../../../node_modules/.pnpm/drizzle-orm@0.29.5_@libsql+client@0.4.0-pre.7_@types+react@18.3.26_react@18.2.0/node_modules/src/entity.ts", "../../../node_modules/.pnpm/drizzle-orm@0.29.5_@libsql+client@0.4.0-pre.7_@types+react@18.3.26_react@18.2.0/node_modules/src/column.ts", "../../../node_modules/.pnpm/drizzle-orm@0.29.5_@libsql+client@0.4.0-pre.7_@types+react@18.3.26_react@18.2.0/node_modules/src/subquery.ts", "../../../node_modules/.pnpm/drizzle-orm@0.29.5_@libsql+client@0.4.0-pre.7_@types+react@18.3.26_react@18.2.0/node_modules/src/tracing-utils.ts", "../../../node_modules/.pnpm/drizzle-orm@0.29.5_@libsql+client@0.4.0-pre.7_@types+react@18.3.26_react@18.2.0/node_modules/drizzle-orm/version.js", "../../../node_modules/.pnpm/driLine truncated
|
||||
"sourceRoot": "/Users/songjunxi/Desktop/repos/vmail/.wrangler/tmp/dev-PnrrLK",
|
||||
"sourcesContent": ["function stripCfConnectingIPHeader(input, init) {\n\tconst request = new Request(input, init);\n\trequest.headers.delete(\"CF-Connecting-IP\");\n\treturn request;\n}\n\nglobalThis.fetch = new Proxy(globalThis.fetch, {\n\tapply(target, thisArg, argArray) {\n\t\treturn Reflect.apply(target, thisArg, [\n\t\t\tstripCfConnectingIPHeader.apply(null, argArray),\n\t\t]);\n\t},\n});\n", "/*@__NO_SIDE_EFFECTS__*/ export function rawHeaders(headers) {\n\tconst rawHeaders = [];\n\tfor (const key in headers) {\n\t\tif (Array.isArray(headers[key])) {\n\t\t\tfor (const h of headers[key]) {\n\t\t\t\trawHeaders.push(key, h);\n\t\t\t}\n\t\t} else {\n\t\t\trawHeaders.push(key, headers[key]);\n\t\t}\n\t}\n\treturn rawHeaders;\n}\n/*@__NO_SIDE_EFFECTS__*/ export function mergeFns(...functions) {\n\treturn function(...args) {\n\t\tfor (const fn of functions) {\n\t\t\tfn(...args);\n\t\t}\n\t};\n}\n/*@__NO_SIDE_EFFECTS__*/ export function createNotImplementedError(name) {\n\treturn new Error(`[unenv] ${name} is not implemented yet!`);\n}\n/*@__NO_SIDE_EFFECTS__*/ export function notImplemented(name) {\n\tconst fn = () => {\n\t\tthrow createNotImplementedError(name);\n\t};\n\treturn Object.assign(fn, { __unenv__: true });\n}\n/*@__NO_SIDE_EFFECTS__*/ export function notImplementedAsync(name) {\n\tconst fn = notImplemented(name);\n\tfn.__promisify__ = () => notImplemented(name + \".__promisify__\");\n\tfn.native = fn;\n\treturn fn;\n}\n/*@__NO_SIDE_EFFECTS__*/ export function notImplementedClass(name) {\n\treturn class {\n\t\t__unenv__ = true;\n\t\tconstructor() {\n\t\t\tthrow new Error(`[unenv] ${name} is not implemented yet!`);\n\t\t}\n\t};\n}\n", "import { createNotImplementedError } from \"../../../_internal/utils.mjs\";\nconst _timeOrigin = globalThis.performance?.timeOrigin ?? Date.now();\nconst _performanceNow = globalThis.performance?.now ? globalThis.performance.now.bind(globalThis.performance) : () => Date.now() - _timeOrigin;\nconst nodeTiming = {\n\tname: \"node\",\n\tentryType: \"node\",\n\tstartTime: 0,\n\tduration: 0,\n\tnodeStart: 0,\n\tv8Start: 0,\n\tbootstrapComplete: 0,\n\tenvironment: 0,\n\tloopStart: 0,\n\tloopExit: 0,\n\tidleTime: 0,\n\tuvMetricsInfo: {\n\t\tloopCount: 0,\n\t\tevents: 0,\n\t\teventsWaiting: 0\n\t},\n\tdetail: undefined,\n\ttoJSON() {\n\t\treturn this;\n\t}\n};\nexport class PerformanceEntry {\n\t__unenv__ = true;\n\tdetail;\n\tentryType = \"event\";\n\tname;\n\tstartTime;\n\tconstructor(name, options) {\n\t\tthis.name = name;\n\t\tthis.startTime = options?.startTime || _performanceNow();\n\t\tthis.detail = options?.detail;\n\t}\n\tget duration() {\n\t\treturn _performanceNow() - this.startTime;\n\t}\n\ttoJSON() {\n\t\treturn {\n\t\t\tname: this.name,\n\t\t\tentryType: this.entryType,\n\t\t\tstartTime: this.startTime,\n\t\t\tduration: this.duration,\n\t\t\tdetail: this.detail\n\t\t};\n\t}\n}\nexport const PerformanceMark = class PerformanceMark extends PerformanceEntry {\n\tentryType = \"mark\";\n\tconstructor() {\n\t\tsuper(...arguments);\n\t}\n\tget duration() {\n\t\treturn 0;\n\t}\n};\nexport class PerformanceMeasure extends PerformanceEntry {\n\tentryType = \"measure\";\n}\nexport class PerformanceResourceTiming extends PerformanceEntry {\n\tentryType = \"resource\";\n\tserverTiming = [];\n\tconnectEnd = 0;\n\tconnectStart = 0;\n\tdecodedBodySize = 0;\n\tdomainLookupEnd = 0;\n\tdomainLookupStart = 0;\n\tencodedBodySize = 0;\n\tfetchStart = 0;\n\tinitiatorType = \"\";\n\tname = \"\";\n\tnextHopProtocol = \"\";\n\tredirectEnd = 0;\n\tredirectStart = 0;\n\trequestStart = 0;\n\tresponseEnd = 0;\n\tresponseStart = 0;\n\tsecureConnectionStart = 0;\n\tstartTime = 0;\n\ttransferSize = 0;\n\tworkerStart = 0;\n\tresponseStatus = 0;\n}\nexport class PerformanceObserverEntryList {\n\t__unenv__ = true;\n\tgetEntries() {\n\t\treturn [];\n\t}\n\tgetEntriesByName(_name, _type) {\n\t\treturn [];\n\t}\n\tgetEntriesByType(type) {\n\t\treturn [];\n\t}\n}\nexport class Performance {\n\t__unenv__ = true;\n\ttimeOrigin = _timeOrigin;\n\teventCounts = new Map();\n\t_entries = [];\n\t_resourceTimingBufferSize = 0;\n\tnavigation = undefined;\n\ttiming = undefined;\n\ttimerify(_fn, _options) {\n\t\tthrow createNotImplementedError(\"Performance.timerify\");\n\t}\n\tget nodeTiming() {\n\t\treturn nodeTiming;\n\t}\n\teventLoopUtilization() {\n\t\treturn {};\n\t}\n\tmarkResourceTiming() {\n\t\treturn new PerformanceResourceTiming(\"\");\n\t}\n\tonresourcetimingbufferfull = null;\n\tnow() {\n\t\tif (this.timeOrigin === _timeOrigin) {\n\t\t\treturn _performanceNow();\n\t\t}\n\t\treturn Date.now() - this.timeOrigin;\n\t}\n\tclearMarks(markName) {\n\t\tthis._entries = markName ? this._entries.filter((e) => e.name !== markName) : this._entries.filter((e) => e.entryType !== \"mark\");\n\t}\n\tclearMeasures(measureName) {\n\t\tthis._entries = measureName ? this._entries.filter((e) => e.name !== measureName) : this._entries.filter((e) => e.entryType !== \"measure\");\n\t}\n\tclearResourceTimings() {\n\t\tthLine truncated
|
||||
"mappings": "gSAAA,SAASA,GAA0BC,EAAOC,EAAM,CAC/C,IAAMC,EAAU,IAAI,QAAQF,EAAOC,CAAI,EACvC,OAAAC,EAAQ,QAAQ,OAAO,kBAAkB,EAClCA,CACR,CAJSC,EAAAJ,GAAA,6BAMT,WAAW,MAAQ,IAAI,MAAM,WAAW,MAAO,CAC9C,MAAMK,EAAQC,EAASC,EAAU,CAChC,OAAO,QAAQ,MAAMF,EAAQC,EAAS,CACrCN,GAA0B,MAAM,KAAMO,CAAQ,CAC/C,CAAC,CACF,CACD,CAAC,ECQ+B,SAASC,EAA0BC,EAAM,CACxE,OAAO,IAAI,MAAM,WAAWA,2BAA8B,CAC3D,CAFyCC,EAAAF,EAAA,6BAGT,SAASG,GAAeF,EAAM,CAI7D,OAAO,OAAO,OAHHC,EAAA,IAAM,CAChB,MAAMF,EAA0BC,CAAI,CACrC,EAFW,MAGc,CAAE,UAAW,EAAK,CAAC,CAC7C,CALyCC,EAAAC,GAAA,kBAYT,SAASC,GAAoBC,EAAM,CAClE,OAAO,KAAM,CACZ,UAAY,GACZ,aAAc,CACb,MAAM,IAAI,MAAM,WAAWA,2BAA8B,CAC1D,CACD,CACD,CAPyCC,EAAAF,GAAA,uBClCzC,IAAMG,GAAc,WAAW,aAAa,YAAc,KAAK,IAAI,EAC7DC,GAAkB,WAAW,aAAa,IAAM,WAAW,YAAY,IAAI,KAAK,WAAW,WAAW,EAAI,IAAM,KAAK,IAAI,EAAID,GAC7HE,GAAa,CAClB,KAAM,OACN,UAAW,OACX,UAAW,EACX,SAAU,EACV,UAAW,EACX,QAAS,EACT,kBAAmB,EACnB,YAAa,EACb,UAAW,EACX,SAAU,EACV,SAAU,EACV,cAAe,CACd,UAAW,EACX,OAAQ,EACR,cAAe,CAChB,EACA,OAAQ,OACR,QAAS,CACR,OAAO,IACR,CACD,EACaC,GAAN,KAAuB,CAC7B,UAAY,GACZ,OACA,UAAY,QACZ,KACA,UACA,YAAYC,EAAMC,EAAS,CAC1B,KAAK,KAAOD,EACZ,KAAK,UAAYC,GAAS,WAAaJ,GAAgB,EACvD,KAAK,OAASI,GAAS,MACxB,CACA,IAAI,UAAW,CACd,OAAOJ,GAAgB,EAAI,KAAK,SACjC,CACA,QAAS,CACR,MAAO,CACN,KAAM,KAAK,KACX,UAAW,KAAK,UAChB,UAAW,KAAK,UAChB,SAAU,KAAK,SACf,OAAQ,KAAK,MACd,CACD,CACD,EAvBaK,EAAAH,GAAA,oBAwBN,IAAMI,GAAkBD,EAAA,cAA8BH,EAAiB,CAC7E,UAAY,OACZ,aAAc,CACb,MAAM,GAAG,SAAS,CACnB,CACA,IAAI,UAAW,CACd,MAAO,EACR,CACD,EAR+B,mBASlBK,GAAN,cAAiCL,EAAiB,CACxD,UAAY,SACb,EAFaG,EAAAE,GAAA,sBAGN,IAAMC,GAAN,cAAwCN,EAAiB,CAC/D,UAAY,WACZ,aAAe,CAAC,EAChB,WAAa,EACb,aAAe,EACf,gBAAkB,EAClB,gBAAkB,EAClB,kBAAoB,EACpB,gBAAkB,EAClB,WAAa,EACb,cAAgB,GAChB,KAAO,GACP,gBAAkB,GAClB,YAAc,EACd,cAAgB,EAChB,aAAe,EACf,YAAc,EACd,cAAgB,EAChB,sBAAwB,EACxB,UAAY,EACZ,aAAe,EACf,YAAc,EACd,eAAiB,CAClB,EAvBaG,EAAAG,GAAA,6BAwBN,IAAMC,GAAN,KAAmC,CACzC,UAAY,GACZ,YAAa,CACZ,MAAO,CAAC,CACT,CACA,iBAAiBC,EAAOC,EAAO,CAC9B,MAAO,CAAC,CACT,CACA,iBAAiBC,EAAM,CACtB,MAAO,CAAC,CACT,CACD,EAXaP,EAAAI,GAAA,gCAYN,IAAMI,GAAN,KAAkB,CACxB,UAAY,GACZ,WAAad,GACb,YAAc,IAAI,IAClB,SAAW,CAAC,EACZ,0BAA4B,EAC5B,WAAa,OACb,OAAS,OACT,SAASe,EAAKC,EAAU,CACvB,MAAMC,EAA0B,sBAAsB,CACvD,CACA,IAAI,YAAa,CAChB,OAAOf,EACR,CACA,sBAAuB,CACtB,MAAO,CAAC,CACT,CACA,oBAAqB,CACpB,OAAO,IAAIO,GAA0B,EAAE,CACxC,CACA,2BAA6B,KAC7B,KAAM,CACL,OAAI,KAAK,aAAeT,GAChBC,GAAgB,EAEjB,KAAK,IAAI,EAAI,KAAK,UAC1B,CACA,WAAWiB,EAAU,CACpB,KAAK,SAAWA,EAAW,KAAK,SAAS,OAAQC,GAAMA,EAAE,OAASD,CAAQ,EAAI,KAAK,SAAS,OAAQC,GAAMA,EAAE,YAAc,MAAM,CACjI,CACA,cAAcC,EAAa,CAC1B,KAAK,SAAWA,EAAc,KAAK,SAAS,OAAQD,GAAMA,EAAE,OAASC,CAAW,EAAI,KAAK,SAAS,OAAQD,GAAMA,EAAE,YAAc,SAAS,CAC1I,CACA,sBAAuB,CACtB,KAAK,SAAW,KAAK,SAAS,OAAQ,GAAM,EAAE,YAAc,YAAc,EAAE,YAAc,YAAY,CACvG,CACA,YAAa,CACZ,OAAO,KAAK,QACb,CACA,iBAAiBf,EAAMS,EAAM,CAC5B,OAAO,KAAK,SAAS,OAAQM,GAAMA,EAAE,OAASf,IAAS,CAACS,GAAQM,EAAE,YAAcN,EAAK,CACtF,CACA,iBAAiBA,EAAM,CACtB,OAAO,KAAK,SAAS,OAAQM,GAAMA,EAAE,YAAcN,CAAI,CACxD,CACA,KAAKT,EAAMC,EAAS,CACnB,IAAMgB,EAAQ,IAAId,GAAgBH,EAAMC,CAAO,EAC/C,YAAK,SAAS,KAAKgB,CAAK,EACjBA,CACR,CACA,QAAQD,EAAaE,EAAuBC,EAAS,CACpD,IAAIC,EACAC,EACA,OAAOH,GAA0B,UACpCE,EAAQ,KAAK,iBAAiBF,EAAuB,MAAM,EAAE,CAAC,GAAG,UACjEG,EAAM,KAAK,iBAAiBF,EAAS,MAAM,EAAE,CAAC,GAAG,YAEjDC,EAAQ,OAAO,WAAWF,GAAuB,KAAK,GAAK,KAAK,IAAI,EACpEG,EAAM,OAAO,WAAWH,GAAuB,GAAG,GAAK,KAAK,IAAI,GAEjE,IAAMD,EAAQ,IAAIb,GAAmBY,EAAa,CACjD,UAAWI,EACX,OAAQ,CACP,MAAAA,EACA,IAAAC,CACD,CACD,CAAC,EACD,YAAK,SAAS,KAAKJ,CAAK,EACjBA,CACR,CACA,4BAA4BK,EAAS,CACpC,KAAK,0BAA4BA,CAClC,CACA,iBAAiBb,EAAMc,EAAUtB,EAAS,CACzC,MAAMY,EAA0B,8BAA8B,CAC/D,CACA,oBAAoBJ,EAAMc,EAAUtB,EAAS,CAC5C,MAAMY,EAA0B,iCAAiC,CAClE,CACA,cAAcW,EAAO,CACpB,MAAMX,EAA0B,2BAA2B,CAC5D,CACA,QAAS,CACR,OAAO,IACR,CACD,EArFaX,EAAAQ,GAAA,eAsFN,IAAMe,GAAN,KAA0B,CAChC,UAAY,GAEZ,UAAY,KACZ,YAAYC,EAAU,CACrB,KAAK,UAAYA,CAClB,CACA,aAAc,CACb,MAAO,CAAC,CACT,CACA,YAAa,CACZ,MAAMb,EAA0B,gCAAgC,CACjE,CACA,QAAQZ,EAAS,CAChB,MAAMY,EAA0B,6BAA6B,CAC9D,CACA,KAAKc,EAAI,CACR,OAAOA,CACR,CACA,gBAAgBA,EAAIC,KAAYC,EAAM,CACrC,OAAOF,EAAG,KAAKC,EAAS,GAAGC,CAAI,CAChC,CACA,SAAU,CACT,MAAO,EACR,CACA,gBAAiB,CAChB,MAAO,EACR,CACA,aAAc,CACb,OAAO,IACR,CACD,EA/Ba3B,EAAAuB,GAAA,uBAEZK,EAFYL,GAEL,sBAAsB,CAAC,GA8BxB,IAAMM,GAAc,WAAW,aAAe,qBAAsB,WAAW,YAAc,WAAW,YAAc,IAAIrB,GC7MjI,WAAW,YAAcsB,GACzB,WAAW,YAAcC,GACzB,WAAW,iBAAmBC,GAC9B,WAAW,gBAAkBC,GAC7B,WAAW,mBAAqBC,GAChC,WAAW,oBAAsBC,GACjC,WAAW,6BAA+BC,GAC1C,WAAW,0BAA4BC,GCjBvC,OAAS,YAAAC,OAAgB,cCAzB,IAAOC,GAAQ,OAAO,OAAO,IAAM,CAAC,EAAG,CAAE,UAAW,EAAK,CAAC,EDG1D,IAAMC,EAAW,WAAW,QACfC,GAAgB,GAChBC,GAAU,IAAIC,GACdC,GAAU,IAAID,GACdE,GAAML,GAAU,KAAOM,GACvBC,GAAOP,GAAU,MAAQK,GACzBG,GAAQR,GAAU,OAASO,GAC3BE,GAAQT,GAAU,OAASK,GAC3BK,GAAQV,GAAU,OAASK,GAC3BM,GAAQX,GAAU,OAASK,GAC3BO,GAAOZ,GAAU,MAAQW,GACzBE,GAAab,GAAU,YAA4Bc,GAAe,oBAAoB,EAE5F,IAAMC,GAAQC,GAAU,OAASC,GAC3BC,GAAQF,GAAU,OAASC,GAC3BE,GAAaH,GAAU,YAAcC,GACrCG,GAAMJ,GAAU,KAAOC,GACvBI,GAASL,GAAU,QAAUC,GAC7BK,GAAQN,GAAU,OAASC,GAC3BM,GAAWP,GAAU,UAAYC,GACjCO,GAAiBR,GAAU,gBAAkBC,GAC7CQ,GAAUT,GAAU,SAAWC,GAC/BS,GAAaV,GAAU,YAAcC,GACrCU,GAAOX,GAAU,MAAQC,GACzBW,GAAUZ,GAAU,SAAWC,GAC/BY,GAAUb,GAAU,SAAWC,GAC/Ba,GAAYd,GAAU,WAALine truncated
|
||||
"names": ["stripCfConnectingIPHeader", "input", "init", "request", "__name", "target", "thisArg", "argArray", "createNotImplementedError", "name", "__name", "notImplemented", "notImplementedClass", "name", "__name", "_timeOrigin", "_performanceNow", "nodeTiming", "PerformanceEntry", "name", "options", "__name", "PerformanceMark", "PerformanceMeasure", "PerformanceResourceTiming", "PerformanceObserverEntryList", "_name", "_type", "type", "Performance", "_fn", "_options", "createNotImplementedError", "markName", "e", "measureName", "entry", "startOrMeasureOptions", "endMark", "start", "end", "maxSize", "listener", "event", "PerformanceObserver", "callback", "fn", "thisArg", "args", "__publicField", "performance", "performance", "Performance", "PerformanceEntry", "PerformanceMark", "PerformanceMeasure", "PerformanceObserver", "PerformanceObserverEntryList", "PerformanceResourceTiming", "Writable", "noop_default", "_console", "_ignoreErrors", "_stderr", "Writable", "_stdout", "log", "noop_default", "info", "trace", "debug", "table", "error", "warn", "createTask", "notImplemented", "clear", "_console", "noop_default", "count", "countReset", "dir", "dirxml", "group", "groupEnd", "groupCollapsed", "profile", "profileEnd", "time", "timeEnd", "timeLog", "timeStamp", "Console", "notImplementedClass", "_times", "_stdoutErrorHandler", "noop_default", "_stderrErrorHandler", "workerdConsole", "assert", "clear", "context", "count", "countReset", "createTask", "debug", "dir", "dirxml", "error", "group", "groupCollapsed", "groupEnd", "info", "log", "profile", "profileEnd", "table", "time", "timeEnd", "timeLog", "timeStamp", "trace", "warn", "Console", "_ignoreErrors", "_stderr", "_stderrErrorHandler", "_stdout", "_stdoutErrorHandler", "_times", "console_default", "console_default", "hrtime", "__name", "startTime", "now", "seconds", "nanos", "diffSeconds", "diffNanos", "EventEmitter", "Socket", "ReadStream", "Socket", "fd", "mode", "__name", "Socket", "WriteStream", "Socket", "fd", "dir", "callback", "x", "y", "dx", "dy", "env", "count", "__name", "Process", "EventEmitter", "impl", "prop", "value", "warning", "type", "code", "args", "eventName", "#stdin", "#stdout", "#stderr", "ReadStream", "WriteStream", "#cwd", "cwd", "createNotImplementedError", "notImplemented", "__name", "globalProcess", "getBuiltinModule", "exit", "platform", "nextTick", "unenvProcess", "Process", "hrtime", "abort", "addListener", "allowedNodeEnvironmentFlags", "hasUncaughtExceptionCaptureCallback", "setUncaughtExceptionCaptureCallback", "loadEnvFile", "sourceMapsEnabled", "arch", "argv", "argv0", "chdir", "config", "connected", "constrainedMemory", "availableMemory", "cpuUsage", "cwd", "debugPort", "dlopen", "disconnect", "emit", "emitWarning", "env", "eventNames", "execArgv", "execPath", "finalization", "features", "getActiveResourcesInfo", "getMaxListeners", "kill", "listeners", "listenerCount", "memoryUsage", "on", "off", "once", "pid", "ppid", "prependListener", "prependOnceListener", "rawListeners", "release", "removeAllListeners", "removeListener", "report", "resourceUsage", "setMaxListeners", "setSourceMapsEnabled", "stderr", "stdin", "stdout", "title", "throwDeprecation", "traceDeprecation", "umask", "uptime", "version", "versions", "domain", "initgroups", "moduleLoadList", "reallyExit", "openStdin", "assert", "binding", "send", "exitCode", "channel", "getegid", "geteuid", "getgid", "getgroups", "getuid", "setegid", "seteuid", "setgid", "setgroups", "setuid", "permission", "mainModule", "_events", "_eventsCount", "_exiting", "_maxListeners", "_debugEnd", "_debugProcess", "_fatalException", "_getActiveHandles", "_getActiveRequests", "_kill", "_preload_modules", "_rawDebug", "_startProfilerIdleNotifier", "_stopProfilerIdleNotifier", "_tickCallback", "_disconnect", "_handleQueue", "_pendingMessage", "_channel", "_send", "_linkedBinding", "_process", "process_default", "process_default", "compose", "__name", "middleware", "onError", "onNotFound", "context", "next", "index", "dispatch", "i", "res", "isError", "handler", "err", "GET_MATCH_RESULT", "parseBody", "__name", "request", "options", "all", "dot", "contentType", "HonoRequest", "parseFormData", "formData", "convertFormDataToBodyData", "form", "value", "key", "handleParsingAllValues", "handleParsingNestedValues", "nestedForm", "keys", "key2", "index", "splitPath", "__name", "path", "paths", "splitRoutingPath", "routePath", "groups", "extractGroupsFromPath", "replaceGroupMarks", "match", "index", "mark", "i", "j", "patternCache", "getPattern", "label", "next", "cacheKey", "tryDecode", "str", "decoder", "tryDecodeURI", "getPath", "request", "url", "start", "charCode", "queryIndex", "getPathNoStrict", "__name", "request", "result", "getPath", "mergePath", "base", "sub", "rest", "checkOptionalParameter", "path", "segments", "results", "basePath", "segment", "optionalSegment", "v", "_decodeURI", "value", "tryDecode", "decodeURIComponent_", "_getQueryParam", "url", "key", "multiple", "encoded", "Line truncated
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]{display:none}*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.inset-0{top:0;right:0;bottom:0;left:0}.inset-x-0{left:0;right:0}.bottom-0{bottom:0}.right-0{right:0}.right-4{right:1rem}.top-0{top:0}.top-4{top:1rem}.z-20{z-index:20}.z-30{z-index:30}.z-40{z-index:40}.z-50{z-index:50}.mx-6{margin-left:1.5rem;margin-right:1.5rem}.mx-auto{margin-left:auto;margin-right:auto}.my-4{margin-top:1rem;margin-bottom:1rem}.-mb-1{margin-bottom:-.25rem}.-mr-1{margin-right:-.25rem}.mb-1{margin-boLine truncated
|
||||
+47
-47
@@ -1,4 +1,4 @@
|
||||
var sb=Object.defineProperty;var zh=e=>{throw TypeError(e)};var ob=(e,t,n)=>t in e?sb(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var Wh=(e,t,n)=>ob(e,typeof t!="symbol"?t+"":t,n),cu=(e,t,n)=>t.has(e)||zh("Cannot "+n);var k=(e,t,n)=>(cu(e,t,"read from private field"),n?n.call(e):t.get(e)),H=(e,t,n)=>t.has(e)?zh("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,n),F=(e,t,n,r)=>(cu(e,t,"write to private field"),r?r.call(e,n):t.set(e,n),n),G=(e,t,n)=>(cu(e,t,"access private method"),n);var _o=(e,t,n,r)=>({set _(i){F(e,t,i,n)},get _(){return k(e,t,r)}});function zy(e,t){for(var n=0;n<t.length;n++){const r=t[n];if(typeof r!="string"&&!Array.isArray(r)){for(const i in r)if(i!=="default"&&!(i in e)){const s=Object.getOwnPropertyDescriptor(r,i);s&&Object.defineProperty(e,i,s.get?s:{enumerable:!0,get:()=>r[i]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const i of document.querySelectorAll('link[rel="modulepreload"]'))r(i);new MutationObserver(i=>{for(const s of i)if(s.type==="childList")for(const o of s.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&r(o)}).observe(document,{childList:!0,subtree:!0});function n(i){const s={};return i.integrity&&(s.integrity=i.integrity),i.referrerPolicy&&(s.referrerPolicy=i.referrerPolicy),i.crossOrigin==="use-credentials"?s.credentials="include":i.crossOrigin==="anonymous"?s.credentials="omit":s.credentials="same-origin",s}function r(i){if(i.ep)return;i.ep=!0;const s=n(i);fetch(i.href,s)}})();var Es=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Wy(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Uy={exports:{}},jl={},By={exports:{}},Z={};/**
|
||||
var ub=Object.defineProperty;var Uh=e=>{throw TypeError(e)};var cb=(e,t,n)=>t in e?ub(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var Bh=(e,t,n)=>cb(e,typeof t!="symbol"?t+"":t,n),du=(e,t,n)=>t.has(e)||Uh("Cannot "+n);var k=(e,t,n)=>(du(e,t,"read from private field"),n?n.call(e):t.get(e)),H=(e,t,n)=>t.has(e)?Uh("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,n),F=(e,t,n,r)=>(du(e,t,"write to private field"),r?r.call(e,n):t.set(e,n),n),G=(e,t,n)=>(du(e,t,"access private method"),n);var zo=(e,t,n,r)=>({set _(i){F(e,t,i,n)},get _(){return k(e,t,r)}});function Uy(e,t){for(var n=0;n<t.length;n++){const r=t[n];if(typeof r!="string"&&!Array.isArray(r)){for(const i in r)if(i!=="default"&&!(i in e)){const s=Object.getOwnPropertyDescriptor(r,i);s&&Object.defineProperty(e,i,s.get?s:{enumerable:!0,get:()=>r[i]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const i of document.querySelectorAll('link[rel="modulepreload"]'))r(i);new MutationObserver(i=>{for(const s of i)if(s.type==="childList")for(const o of s.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&r(o)}).observe(document,{childList:!0,subtree:!0});function n(i){const s={};return i.integrity&&(s.integrity=i.integrity),i.referrerPolicy&&(s.referrerPolicy=i.referrerPolicy),i.crossOrigin==="use-credentials"?s.credentials="include":i.crossOrigin==="anonymous"?s.credentials="omit":s.credentials="same-origin",s}function r(i){if(i.ep)return;i.ep=!0;const s=n(i);fetch(i.href,s)}})();var Es=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function By(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Hy={exports:{}},Ml={},qy={exports:{}},Z={};/**
|
||||
* @license React
|
||||
* react.production.min.js
|
||||
*
|
||||
@@ -6,7 +6,7 @@ var sb=Object.defineProperty;var zh=e=>{throw TypeError(e)};var ob=(e,t,n)=>t in
|
||||
*
|
||||
* This source code is licensed under the MIT license found in the
|
||||
* LICENSE file in the root directory of this source tree.
|
||||
*/var ko=Symbol.for("react.element"),ab=Symbol.for("react.portal"),lb=Symbol.for("react.fragment"),ub=Symbol.for("react.strict_mode"),cb=Symbol.for("react.profiler"),db=Symbol.for("react.provider"),fb=Symbol.for("react.context"),hb=Symbol.for("react.forward_ref"),mb=Symbol.for("react.suspense"),pb=Symbol.for("react.memo"),gb=Symbol.for("react.lazy"),Uh=Symbol.iterator;function yb(e){return e===null||typeof e!="object"?null:(e=Uh&&e[Uh]||e["@@iterator"],typeof e=="function"?e:null)}var Hy={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},qy=Object.assign,Ky={};function Qi(e,t,n){this.props=e,this.context=t,this.refs=Ky,this.updater=n||Hy}Qi.prototype.isReactComponent={};Qi.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")};Qi.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function Qy(){}Qy.prototype=Qi.prototype;function Qd(e,t,n){this.props=e,this.context=t,this.refs=Ky,this.updater=n||Hy}var Xd=Qd.prototype=new Qy;Xd.constructor=Qd;qy(Xd,Qi.prototype);Xd.isPureReactComponent=!0;var Bh=Array.isArray,Xy=Object.prototype.hasOwnProperty,Gd={current:null},Gy={key:!0,ref:!0,__self:!0,__source:!0};function Yy(e,t,n){var r,i={},s=null,o=null;if(t!=null)for(r in t.ref!==void 0&&(o=t.ref),t.key!==void 0&&(s=""+t.key),t)Xy.call(t,r)&&!Gy.hasOwnProperty(r)&&(i[r]=t[r]);var a=arguments.length-2;if(a===1)i.children=n;else if(1<a){for(var l=Array(a),u=0;u<a;u++)l[u]=arguments[u+2];i.children=l}if(e&&e.defaultProps)for(r in a=e.defaultProps,a)i[r]===void 0&&(i[r]=a[r]);return{$$typeof:ko,type:e,key:s,ref:o,props:i,_owner:Gd.current}}function vb(e,t){return{$$typeof:ko,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}function Yd(e){return typeof e=="object"&&e!==null&&e.$$typeof===ko}function wb(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(n){return t[n]})}var Hh=/\/+/g;function du(e,t){return typeof e=="object"&&e!==null&&e.key!=null?wb(""+e.key):t.toString(36)}function ma(e,t,n,r,i){var s=typeof e;(s==="undefined"||s==="boolean")&&(e=null);var o=!1;if(e===null)o=!0;else switch(s){case"string":case"number":o=!0;break;case"object":switch(e.$$typeof){case ko:case ab:o=!0}}if(o)return o=e,i=i(o),e=r===""?"."+du(o,0):r,Bh(i)?(n="",e!=null&&(n=e.replace(Hh,"$&/")+"/"),ma(i,t,n,"",function(u){return u})):i!=null&&(Yd(i)&&(i=vb(i,n+(!i.key||o&&o.key===i.key?"":(""+i.key).replace(Hh,"$&/")+"/")+e)),t.push(i)),1;if(o=0,r=r===""?".":r+":",Bh(e))for(var a=0;a<e.length;a++){s=e[a];var l=r+du(s,a);o+=ma(s,t,n,l,i)}else if(l=yb(e),typeof l=="function")for(e=l.call(e),a=0;!(s=e.next()).done;)s=s.value,l=r+du(s,a++),o+=ma(s,t,n,l,i);else if(s==="object")throw t=String(e),Error("Objects are not valid as a React child (found: "+(t==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.");return o}function zo(e,t,n){if(e==null)return e;var r=[],i=0;return ma(e,r,"","",function(s){return t.call(n,s,i++)}),r}function xb(e){if(e._status===-1){var t=e._result;t=t(),t.then(function(n){(e._status===0||e._status===-1)&&(e._status=1,e._result=n)},function(n){(e._status===0||e._status===-1)&&(e._status=2,e._result=n)}),e._status===-1&&(e._status=0,e._result=t)}if(e._status===1)return e._result.default;throw e._result}var Je={current:null},pa={transition:null},bb={ReactCurrentDispatcher:Je,ReactCurrentBatchConfig:pa,ReactCurrentOwner:Gd};Z.Children={map:zo,forEach:function(e,t,n){zo(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return zo(e,function(){t++}),t},toArray:function(e){return zo(e,function(t){return t})||[]},only:function(e){if(!Yd(e))throw Error("React.Children.only expected to receive a single React element child.");return e}};Z.Component=Qi;Z.Fragment=lb;Z.Profiler=cb;Z.PureComponent=Qd;Z.StrictMode=ub;Z.Suspense=mb;Z.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=bb;Z.cloneElement=function(e,t,n){if(e==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var r=qy({},e.props),i=e.key,s=e.ref,o=e._owner;if(t!=null){if(t.ref!==void 0&&(s=t.ref,o=Gd.current),t.key!==void 0&&(i=""+t.key),e.type&&e.type.defaultProps)var a=e.type.defaultProps;for(l in t)Xy.call(t,l)&&!Gy.hasOwnProperty(l)&&(r[l]=t[l]===void 0&&a!==void 0?a[l]:t[l])}var l=arguments.length-2;if(l===1)r.children=n;else if(1<l){a=Array(l);for(var u=0;u<l;u++)a[u]=arguments[u+2];r.children=a}return{$$typeof:ko,type:e.type,key:i,ref:s,props:r,_owner:o}};Z.createContext=function(e){return e={$$typeof:fb,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},e.Provider={$$typeof:db,_context:e},e.Line truncated
|
||||
*/var ko=Symbol.for("react.element"),db=Symbol.for("react.portal"),fb=Symbol.for("react.fragment"),hb=Symbol.for("react.strict_mode"),mb=Symbol.for("react.profiler"),pb=Symbol.for("react.provider"),gb=Symbol.for("react.context"),yb=Symbol.for("react.forward_ref"),vb=Symbol.for("react.suspense"),wb=Symbol.for("react.memo"),xb=Symbol.for("react.lazy"),Hh=Symbol.iterator;function bb(e){return e===null||typeof e!="object"?null:(e=Hh&&e[Hh]||e["@@iterator"],typeof e=="function"?e:null)}var Ky={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},Qy=Object.assign,Xy={};function Qi(e,t,n){this.props=e,this.context=t,this.refs=Xy,this.updater=n||Ky}Qi.prototype.isReactComponent={};Qi.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")};Qi.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function Gy(){}Gy.prototype=Qi.prototype;function Xd(e,t,n){this.props=e,this.context=t,this.refs=Xy,this.updater=n||Ky}var Gd=Xd.prototype=new Gy;Gd.constructor=Xd;Qy(Gd,Qi.prototype);Gd.isPureReactComponent=!0;var qh=Array.isArray,Yy=Object.prototype.hasOwnProperty,Yd={current:null},Jy={key:!0,ref:!0,__self:!0,__source:!0};function Zy(e,t,n){var r,i={},s=null,o=null;if(t!=null)for(r in t.ref!==void 0&&(o=t.ref),t.key!==void 0&&(s=""+t.key),t)Yy.call(t,r)&&!Jy.hasOwnProperty(r)&&(i[r]=t[r]);var a=arguments.length-2;if(a===1)i.children=n;else if(1<a){for(var l=Array(a),u=0;u<a;u++)l[u]=arguments[u+2];i.children=l}if(e&&e.defaultProps)for(r in a=e.defaultProps,a)i[r]===void 0&&(i[r]=a[r]);return{$$typeof:ko,type:e,key:s,ref:o,props:i,_owner:Yd.current}}function Sb(e,t){return{$$typeof:ko,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}function Jd(e){return typeof e=="object"&&e!==null&&e.$$typeof===ko}function Pb(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(n){return t[n]})}var Kh=/\/+/g;function fu(e,t){return typeof e=="object"&&e!==null&&e.key!=null?Pb(""+e.key):t.toString(36)}function ga(e,t,n,r,i){var s=typeof e;(s==="undefined"||s==="boolean")&&(e=null);var o=!1;if(e===null)o=!0;else switch(s){case"string":case"number":o=!0;break;case"object":switch(e.$$typeof){case ko:case db:o=!0}}if(o)return o=e,i=i(o),e=r===""?"."+fu(o,0):r,qh(i)?(n="",e!=null&&(n=e.replace(Kh,"$&/")+"/"),ga(i,t,n,"",function(u){return u})):i!=null&&(Jd(i)&&(i=Sb(i,n+(!i.key||o&&o.key===i.key?"":(""+i.key).replace(Kh,"$&/")+"/")+e)),t.push(i)),1;if(o=0,r=r===""?".":r+":",qh(e))for(var a=0;a<e.length;a++){s=e[a];var l=r+fu(s,a);o+=ga(s,t,n,l,i)}else if(l=bb(e),typeof l=="function")for(e=l.call(e),a=0;!(s=e.next()).done;)s=s.value,l=r+fu(s,a++),o+=ga(s,t,n,l,i);else if(s==="object")throw t=String(e),Error("Objects are not valid as a React child (found: "+(t==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.");return o}function Wo(e,t,n){if(e==null)return e;var r=[],i=0;return ga(e,r,"","",function(s){return t.call(n,s,i++)}),r}function kb(e){if(e._status===-1){var t=e._result;t=t(),t.then(function(n){(e._status===0||e._status===-1)&&(e._status=1,e._result=n)},function(n){(e._status===0||e._status===-1)&&(e._status=2,e._result=n)}),e._status===-1&&(e._status=0,e._result=t)}if(e._status===1)return e._result.default;throw e._result}var Je={current:null},ya={transition:null},Cb={ReactCurrentDispatcher:Je,ReactCurrentBatchConfig:ya,ReactCurrentOwner:Yd};Z.Children={map:Wo,forEach:function(e,t,n){Wo(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return Wo(e,function(){t++}),t},toArray:function(e){return Wo(e,function(t){return t})||[]},only:function(e){if(!Jd(e))throw Error("React.Children.only expected to receive a single React element child.");return e}};Z.Component=Qi;Z.Fragment=fb;Z.Profiler=mb;Z.PureComponent=Xd;Z.StrictMode=hb;Z.Suspense=vb;Z.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Cb;Z.cloneElement=function(e,t,n){if(e==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var r=Qy({},e.props),i=e.key,s=e.ref,o=e._owner;if(t!=null){if(t.ref!==void 0&&(s=t.ref,o=Yd.current),t.key!==void 0&&(i=""+t.key),e.type&&e.type.defaultProps)var a=e.type.defaultProps;for(l in t)Yy.call(t,l)&&!Jy.hasOwnProperty(l)&&(r[l]=t[l]===void 0&&a!==void 0?a[l]:t[l])}var l=arguments.length-2;if(l===1)r.children=n;else if(1<l){a=Array(l);for(var u=0;u<l;u++)a[u]=arguments[u+2];r.children=a}return{$$typeof:ko,type:e.type,key:i,ref:s,props:r,_owner:o}};Z.createContext=function(e){return e={$$typeof:gb,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},e.Provider={$$typeof:pb,_context:e},e.Line truncated
|
||||
* @license React
|
||||
* react-jsx-runtime.production.min.js
|
||||
*
|
||||
@@ -14,7 +14,7 @@ var sb=Object.defineProperty;var zh=e=>{throw TypeError(e)};var ob=(e,t,n)=>t in
|
||||
*
|
||||
* This source code is licensed under the MIT license found in the
|
||||
* LICENSE file in the root directory of this source tree.
|
||||
*/var Pb=b,kb=Symbol.for("react.element"),Cb=Symbol.for("react.fragment"),Eb=Object.prototype.hasOwnProperty,Tb=Pb.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,jb={key:!0,ref:!0,__self:!0,__source:!0};function Jy(e,t,n){var r,i={},s=null,o=null;n!==void 0&&(s=""+n),t.key!==void 0&&(s=""+t.key),t.ref!==void 0&&(o=t.ref);for(r in t)Eb.call(t,r)&&!jb.hasOwnProperty(r)&&(i[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps,t)i[r]===void 0&&(i[r]=t[r]);return{$$typeof:kb,type:e,key:s,ref:o,props:i,_owner:Tb.current}}jl.Fragment=Cb;jl.jsx=Jy;jl.jsxs=Jy;Uy.exports=jl;var h=Uy.exports,oc={},Zy={exports:{}},gt={},e0={exports:{}},t0={};/**
|
||||
*/var Tb=b,jb=Symbol.for("react.element"),Nb=Symbol.for("react.fragment"),Mb=Object.prototype.hasOwnProperty,Ob=Tb.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,Rb={key:!0,ref:!0,__self:!0,__source:!0};function e0(e,t,n){var r,i={},s=null,o=null;n!==void 0&&(s=""+n),t.key!==void 0&&(s=""+t.key),t.ref!==void 0&&(o=t.ref);for(r in t)Mb.call(t,r)&&!Rb.hasOwnProperty(r)&&(i[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps,t)i[r]===void 0&&(i[r]=t[r]);return{$$typeof:jb,type:e,key:s,ref:o,props:i,_owner:Ob.current}}Ml.Fragment=Nb;Ml.jsx=e0;Ml.jsxs=e0;Hy.exports=Ml;var h=Hy.exports,ac={},t0={exports:{}},gt={},n0={exports:{}},r0={};/**
|
||||
* @license React
|
||||
* scheduler.production.min.js
|
||||
*
|
||||
@@ -22,7 +22,7 @@ var sb=Object.defineProperty;var zh=e=>{throw TypeError(e)};var ob=(e,t,n)=>t in
|
||||
*
|
||||
* This source code is licensed under the MIT license found in the
|
||||
* LICENSE file in the root directory of this source tree.
|
||||
*/(function(e){function t(N,L){var D=N.length;N.push(L);e:for(;0<D;){var A=D-1>>>1,z=N[A];if(0<i(z,L))N[A]=L,N[D]=z,D=A;else break e}}function n(N){return N.length===0?null:N[0]}function r(N){if(N.length===0)return null;var L=N[0],D=N.pop();if(D!==L){N[0]=D;e:for(var A=0,z=N.length,Q=z>>>1;A<Q;){var be=2*(A+1)-1,vt=N[be],q=be+1,Le=N[q];if(0>i(vt,D))q<z&&0>i(Le,vt)?(N[A]=Le,N[q]=D,A=q):(N[A]=vt,N[be]=D,A=be);else if(q<z&&0>i(Le,D))N[A]=Le,N[q]=D,A=q;else break e}}return L}function i(N,L){var D=N.sortIndex-L.sortIndex;return D!==0?D:N.id-L.id}if(typeof performance=="object"&&typeof performance.now=="function"){var s=performance;e.unstable_now=function(){return s.now()}}else{var o=Date,a=o.now();e.unstable_now=function(){return o.now()-a}}var l=[],u=[],c=1,d=null,f=3,m=!1,p=!1,v=!1,x=typeof setTimeout=="function"?setTimeout:null,y=typeof clearTimeout=="function"?clearTimeout:null,g=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function w(N){for(var L=n(u);L!==null;){if(L.callback===null)r(u);else if(L.startTime<=N)r(u),L.sortIndex=L.expirationTime,t(l,L);else break;L=n(u)}}function S(N){if(v=!1,w(N),!p)if(n(l)!==null)p=!0,O(P);else{var L=n(u);L!==null&&V(S,L.startTime-N)}}function P(N,L){p=!1,v&&(v=!1,y(j),j=-1),m=!0;var D=f;try{for(w(L),d=n(l);d!==null&&(!(d.expirationTime>L)||N&&!W());){var A=d.callback;if(typeof A=="function"){d.callback=null,f=d.priorityLevel;var z=A(d.expirationTime<=L);L=e.unstable_now(),typeof z=="function"?d.callback=z:d===n(l)&&r(l),w(L)}else r(l);d=n(l)}if(d!==null)var Q=!0;else{var be=n(u);be!==null&&V(S,be.startTime-L),Q=!1}return Q}finally{d=null,f=D,m=!1}}var T=!1,C=null,j=-1,$=5,_=-1;function W(){return!(e.unstable_now()-_<$)}function ee(){if(C!==null){var N=e.unstable_now();_=N;var L=!0;try{L=C(!0,N)}finally{L?ve():(T=!1,C=null)}}else T=!1}var ve;if(typeof g=="function")ve=function(){g(ee)};else if(typeof MessageChannel<"u"){var te=new MessageChannel,E=te.port2;te.port1.onmessage=ee,ve=function(){E.postMessage(null)}}else ve=function(){x(ee,0)};function O(N){C=N,T||(T=!0,ve())}function V(N,L){j=x(function(){N(e.unstable_now())},L)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(N){N.callback=null},e.unstable_continueExecution=function(){p||m||(p=!0,O(P))},e.unstable_forceFrameRate=function(N){0>N||125<N?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):$=0<N?Math.floor(1e3/N):5},e.unstable_getCurrentPriorityLevel=function(){return f},e.unstable_getFirstCallbackNode=function(){return n(l)},e.unstable_next=function(N){switch(f){case 1:case 2:case 3:var L=3;break;default:L=f}var D=f;f=L;try{return N()}finally{f=D}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(N,L){switch(N){case 1:case 2:case 3:case 4:case 5:break;default:N=3}var D=f;f=N;try{return L()}finally{f=D}},e.unstable_scheduleCallback=function(N,L,D){var A=e.unstable_now();switch(typeof D=="object"&&D!==null?(D=D.delay,D=typeof D=="number"&&0<D?A+D:A):D=A,N){case 1:var z=-1;break;case 2:z=250;break;case 5:z=1073741823;break;case 4:z=1e4;break;default:z=5e3}return z=D+z,N={id:c++,callback:L,priorityLevel:N,startTime:D,expirationTime:z,sortIndex:-1},D>A?(N.sortIndex=D,t(u,N),n(l)===null&&N===n(u)&&(v?(y(j),j=-1):v=!0,V(S,D-A))):(N.sortIndex=z,t(l,N),p||m||(p=!0,O(P))),N},e.unstable_shouldYield=W,e.unstable_wrapCallback=function(N){var L=f;return function(){var D=f;f=L;try{return N.apply(this,arguments)}finally{f=D}}}})(t0);e0.exports=t0;var Mb=e0.exports;/**
|
||||
*/(function(e){function t(M,L){var D=M.length;M.push(L);e:for(;0<D;){var A=D-1>>>1,z=M[A];if(0<i(z,L))M[A]=L,M[D]=z,D=A;else break e}}function n(M){return M.length===0?null:M[0]}function r(M){if(M.length===0)return null;var L=M[0],D=M.pop();if(D!==L){M[0]=D;e:for(var A=0,z=M.length,Q=z>>>1;A<Q;){var be=2*(A+1)-1,vt=M[be],q=be+1,Le=M[q];if(0>i(vt,D))q<z&&0>i(Le,vt)?(M[A]=Le,M[q]=D,A=q):(M[A]=vt,M[be]=D,A=be);else if(q<z&&0>i(Le,D))M[A]=Le,M[q]=D,A=q;else break e}}return L}function i(M,L){var D=M.sortIndex-L.sortIndex;return D!==0?D:M.id-L.id}if(typeof performance=="object"&&typeof performance.now=="function"){var s=performance;e.unstable_now=function(){return s.now()}}else{var o=Date,a=o.now();e.unstable_now=function(){return o.now()-a}}var l=[],u=[],c=1,d=null,f=3,m=!1,p=!1,v=!1,x=typeof setTimeout=="function"?setTimeout:null,y=typeof clearTimeout=="function"?clearTimeout:null,g=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function w(M){for(var L=n(u);L!==null;){if(L.callback===null)r(u);else if(L.startTime<=M)r(u),L.sortIndex=L.expirationTime,t(l,L);else break;L=n(u)}}function S(M){if(v=!1,w(M),!p)if(n(l)!==null)p=!0,O(P);else{var L=n(u);L!==null&&I(S,L.startTime-M)}}function P(M,L){p=!1,v&&(v=!1,y(j),j=-1),m=!0;var D=f;try{for(w(L),d=n(l);d!==null&&(!(d.expirationTime>L)||M&&!W());){var A=d.callback;if(typeof A=="function"){d.callback=null,f=d.priorityLevel;var z=A(d.expirationTime<=L);L=e.unstable_now(),typeof z=="function"?d.callback=z:d===n(l)&&r(l),w(L)}else r(l);d=n(l)}if(d!==null)var Q=!0;else{var be=n(u);be!==null&&I(S,be.startTime-L),Q=!1}return Q}finally{d=null,f=D,m=!1}}var T=!1,C=null,j=-1,$=5,_=-1;function W(){return!(e.unstable_now()-_<$)}function ee(){if(C!==null){var M=e.unstable_now();_=M;var L=!0;try{L=C(!0,M)}finally{L?ve():(T=!1,C=null)}}else T=!1}var ve;if(typeof g=="function")ve=function(){g(ee)};else if(typeof MessageChannel<"u"){var te=new MessageChannel,E=te.port2;te.port1.onmessage=ee,ve=function(){E.postMessage(null)}}else ve=function(){x(ee,0)};function O(M){C=M,T||(T=!0,ve())}function I(M,L){j=x(function(){M(e.unstable_now())},L)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(M){M.callback=null},e.unstable_continueExecution=function(){p||m||(p=!0,O(P))},e.unstable_forceFrameRate=function(M){0>M||125<M?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):$=0<M?Math.floor(1e3/M):5},e.unstable_getCurrentPriorityLevel=function(){return f},e.unstable_getFirstCallbackNode=function(){return n(l)},e.unstable_next=function(M){switch(f){case 1:case 2:case 3:var L=3;break;default:L=f}var D=f;f=L;try{return M()}finally{f=D}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(M,L){switch(M){case 1:case 2:case 3:case 4:case 5:break;default:M=3}var D=f;f=M;try{return L()}finally{f=D}},e.unstable_scheduleCallback=function(M,L,D){var A=e.unstable_now();switch(typeof D=="object"&&D!==null?(D=D.delay,D=typeof D=="number"&&0<D?A+D:A):D=A,M){case 1:var z=-1;break;case 2:z=250;break;case 5:z=1073741823;break;case 4:z=1e4;break;default:z=5e3}return z=D+z,M={id:c++,callback:L,priorityLevel:M,startTime:D,expirationTime:z,sortIndex:-1},D>A?(M.sortIndex=D,t(u,M),n(l)===null&&M===n(u)&&(v?(y(j),j=-1):v=!0,I(S,D-A))):(M.sortIndex=z,t(l,M),p||m||(p=!0,O(P))),M},e.unstable_shouldYield=W,e.unstable_wrapCallback=function(M){var L=f;return function(){var D=f;f=L;try{return M.apply(this,arguments)}finally{f=D}}}})(r0);n0.exports=r0;var Db=n0.exports;/**
|
||||
* @license React
|
||||
* react-dom.production.min.js
|
||||
*
|
||||
@@ -30,19 +30,19 @@ var sb=Object.defineProperty;var zh=e=>{throw TypeError(e)};var ob=(e,t,n)=>t in
|
||||
*
|
||||
* This source code is licensed under the MIT license found in the
|
||||
* LICENSE file in the root directory of this source tree.
|
||||
*/var n0=b,mt=Mb;function R(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var r0=new Set,Ws={};function Br(e,t){Ai(e,t),Ai(e+"Capture",t)}function Ai(e,t){for(Ws[e]=t,e=0;e<t.length;e++)r0.add(t[e])}var gn=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),ac=Object.prototype.hasOwnProperty,Nb=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,qh={},Kh={};function Ob(e){return ac.call(Kh,e)?!0:ac.call(qh,e)?!1:Nb.test(e)?Kh[e]=!0:(qh[e]=!0,!1)}function Rb(e,t,n,r){if(n!==null&&n.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return r?!1:n!==null?!n.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function Db(e,t,n,r){if(t===null||typeof t>"u"||Rb(e,t,n,r))return!0;if(r)return!1;if(n!==null)switch(n.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function Ze(e,t,n,r,i,s,o){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=i,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=s,this.removeEmptyString=o}var Ve={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){Ve[e]=new Ze(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];Ve[t]=new Ze(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){Ve[e]=new Ze(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){Ve[e]=new Ze(e,2,!1,e,null,!1,!1)});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){Ve[e]=new Ze(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){Ve[e]=new Ze(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){Ve[e]=new Ze(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){Ve[e]=new Ze(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){Ve[e]=new Ze(e,5,!1,e.toLowerCase(),null,!1,!1)});var Jd=/[\-:]([a-z])/g;function Zd(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(Jd,Zd);Ve[t]=new Ze(t,1,!1,e,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(Jd,Zd);Ve[t]=new Ze(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(Jd,Zd);Ve[t]=new Ze(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){Ve[e]=new Ze(e,1,!1,e.toLowerCase(),null,!1,!1)});Ve.xlinkHref=new Ze("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){Ve[e]=new Ze(e,1,!1,e.toLowerCase(),null,!0,!0)});function ef(e,t,n,r){var i=Ve.hasOwnProperty(t)?Ve[t]:null;(i!==null?i.type!==0:r||!(2<t.length)||t[0]!=="o"&&t[0]!=="
Line truncated
|
||||
`+fu+e}var hu=!1;function mu(e,t){if(!e||hu)return"";hu=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(t,[])}catch(u){var r=u}Reflect.construct(e,[],t)}else{try{t.call()}catch(u){r=u}e.call(t.prototype)}else{try{throw Error()}catch(u){r=u}e()}}catch(u){if(u&&r&&typeof u.stack=="string"){for(var i=u.stack.split(`
|
||||
*/var i0=b,mt=Db;function R(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var s0=new Set,Ws={};function Br(e,t){Ai(e,t),Ai(e+"Capture",t)}function Ai(e,t){for(Ws[e]=t,e=0;e<t.length;e++)s0.add(t[e])}var gn=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),lc=Object.prototype.hasOwnProperty,Lb=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,Qh={},Xh={};function Ab(e){return lc.call(Xh,e)?!0:lc.call(Qh,e)?!1:Lb.test(e)?Xh[e]=!0:(Qh[e]=!0,!1)}function $b(e,t,n,r){if(n!==null&&n.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return r?!1:n!==null?!n.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function Fb(e,t,n,r){if(t===null||typeof t>"u"||$b(e,t,n,r))return!0;if(r)return!1;if(n!==null)switch(n.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function Ze(e,t,n,r,i,s,o){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=i,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=s,this.removeEmptyString=o}var Ie={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){Ie[e]=new Ze(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];Ie[t]=new Ze(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){Ie[e]=new Ze(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){Ie[e]=new Ze(e,2,!1,e,null,!1,!1)});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){Ie[e]=new Ze(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){Ie[e]=new Ze(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){Ie[e]=new Ze(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){Ie[e]=new Ze(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){Ie[e]=new Ze(e,5,!1,e.toLowerCase(),null,!1,!1)});var Zd=/[\-:]([a-z])/g;function ef(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(Zd,ef);Ie[t]=new Ze(t,1,!1,e,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(Zd,ef);Ie[t]=new Ze(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(Zd,ef);Ie[t]=new Ze(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){Ie[e]=new Ze(e,1,!1,e.toLowerCase(),null,!1,!1)});Ie.xlinkHref=new Ze("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){Ie[e]=new Ze(e,1,!1,e.toLowerCase(),null,!0,!0)});function tf(e,t,n,r){var i=Ie.hasOwnProperty(t)?Ie[t]:null;(i!==null?i.type!==0:r||!(2<t.length)||t[0]!=="o"&&t[0]!=="
Line truncated
|
||||
`+hu+e}var mu=!1;function pu(e,t){if(!e||mu)return"";mu=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(t,[])}catch(u){var r=u}Reflect.construct(e,[],t)}else{try{t.call()}catch(u){r=u}e.call(t.prototype)}else{try{throw Error()}catch(u){r=u}e()}}catch(u){if(u&&r&&typeof u.stack=="string"){for(var i=u.stack.split(`
|
||||
`),s=r.stack.split(`
|
||||
`),o=i.length-1,a=s.length-1;1<=o&&0<=a&&i[o]!==s[a];)a--;for(;1<=o&&0<=a;o--,a--)if(i[o]!==s[a]){if(o!==1||a!==1)do if(o--,a--,0>a||i[o]!==s[a]){var l=`
|
||||
`+i[o].replace(" at new "," at ");return e.displayName&&l.includes("<anonymous>")&&(l=l.replace("<anonymous>",e.displayName)),l}while(1<=o&&0<=a);break}}}finally{hu=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?vs(e):""}function Lb(e){switch(e.tag){case 5:return vs(e.type);case 16:return vs("Lazy");case 13:return vs("Suspense");case 19:return vs("SuspenseList");case 0:case 2:case 15:return e=mu(e.type,!1),e;case 11:return e=mu(e.type.render,!1),e;case 1:return e=mu(e.type,!0),e;default:return""}}function dc(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case Zr:return"Fragment";case Jr:return"Portal";case lc:return"Profiler";case tf:return"StrictMode";case uc:return"Suspense";case cc:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case s0:return(e.displayName||"Context")+".Consumer";case i0:return(e._context.displayName||"Context")+".Provider";case nf:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case rf:return t=e.displayName||null,t!==null?t:dc(e.type)||"Memo";case Tn:t=e._payload,e=e._init;try{return dc(e(t))}catch{}}return null}function Ab(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=t.render,e=e.displayName||e.name||"",t.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return dc(t);case 8:return t===tf?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t}return null}function Jn(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function a0(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function $b(e){var t=a0(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var i=n.get,s=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return i.call(this)},set:function(o){r=""+o,s.call(this,o)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(o){r=""+o},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function Uo(e){e._valueTracker||(e._valueTracker=$b(e))}function l0(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=a0(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function Va(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function fc(e,t){var n=t.checked;return ye({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function Xh(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=Jn(t.value!=null?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function u0(e,t){t=t.checked,t!=null&&ef(e,"checked",t,!1)}function hc(e,t){u0(e,t);var n=Jn(t.value),r=t.type;if(n!=null)r==="number"?(n===0&&e.value===""||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if(r==="submit"||r==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?mc(e,t.type,n):t.hasOwnProperty("defaultValue")&&mc(e,t.type,Jn(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function Gh(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!(r!=="submit"&&r!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}n=e.name,n!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,n!==""&&(e.name=n)}function mc(e,t,n){(t!=="number"||Va(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var ws=Array.isArray;function pi(e,t,n,r){if(e=e.options,t){t={};for(var i=0;i<n.length;i++)t["$"+n[i]]=!0;for(n=0;n<e.length;n++)i=t.hasOwnProperty("$"+e[n].value),e[n].selected!==i&&(e[n].selected=i),i&&r&&(e[n].defaultSelected=!0)}else{for(n=""+Jn(n),t=null,i=0;i<e.length;i++){if(e[i].value===n){e[i].selected=!0,r&&(e[i].defaultSelected=!0);return}t!==null||e[i].disabled||(t=e[i])}t!==null&&(t.selected=!0)}}function pc(e,t){if(t.dan
Line truncated
|
||||
`).replace(q2,"")}function Yo(e,t,n){if(t=wm(t),wm(e)!==t&&n)throw Error(R(425))}function qa(){}var jc=null,Mc=null;function Nc(e,t){return e==="textarea"||e==="noscript"||typeof t.children=="string"||typeof t.children=="number"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}var Oc=typeof setTimeout=="function"?setTimeout:void 0,K2=typeof clearTimeout=="function"?clearTimeout:void 0,xm=typeof Promise=="function"?Promise:void 0,Q2=typeof queueMicrotask=="function"?queueMicrotask:typeof xm<"u"?function(e){return xm.resolve(null).then(e).catch(X2)}:Oc;function X2(e){setTimeout(function(){throw e})}function Tu(e,t){var n=t,r=0;do{var i=n.nextSibling;if(e.removeChild(n),i&&i.nodeType===8)if(n=i.data,n==="/$"){if(r===0){e.removeChild(i),Ks(t);return}r--}else n!=="$"&&n!=="$?"&&n!=="$!"||r++;n=i}while(n);Ks(t)}function qn(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===1||t===3)break;if(t===8){if(t=e.data,t==="$"||t==="$!"||t==="$?")break;if(t==="/$")return null}}return e}function bm(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="$"||n==="$!"||n==="$?"){if(t===0)return e;t--}else n==="/$"&&t++}e=e.previousSibling}return null}var Gi=Math.random().toString(36).slice(2),Gt="__reactFiber$"+Gi,Js="__reactProps$"+Gi,yn="__reactContainer$"+Gi,Rc="__reactEvents$"+Gi,G2="__reactListeners$"+Gi,Y2="__reactHandles$"+Gi;function yr(e){var t=e[Gt];if(t)return t;for(var n=e.parentNode;n;){if(t=n[yn]||n[Gt]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=bm(e);e!==null;){if(n=e[Gt])return n;e=bm(e)}return t}e=n,n=e.parentNode}return null}function To(e){return e=e[Gt]||e[yn],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function ri(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(R(33))}function Dl(e){return e[Js]||null}var Dc=[],ii=-1;function ir(e){return{current:e}}function de(e){0>ii||(e.current=Dc[ii],Dc[ii]=null,ii--)}function ae(e,t){ii++,Dc[ii]=e.current,e.current=t}var Zn={},He=ir(Zn),rt=ir(!1),Lr=Zn;function $i(e,t){var n=e.type.contextTypes;if(!n)return Zn;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var i={},s;for(s in n)i[s]=t[s];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=i),i}function it(e){return e=e.childContextTypes,e!=null}function Ka(){de(rt),de(He)}function Sm(e,t,n){if(He.current!==Zn)throw Error(R(168));ae(He,t),ae(rt,n)}function Y0(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var i in r)if(!(i in t))throw Error(R(108,Ab(e)||"Unknown",i));return ye({},n,r)}function Qa(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Zn,Lr=He.current,ae(He,e),ae(rt,rt.current),!0}function Pm(e,t,n){var r=e.stateNode;if(!r)throw Error(R(169));n?(e=Y0(e,t,Lr),r.__reactInternalMemoizedMergedChildContext=e,de(rt),de(He),ae(He,e)):de(rt),ae(rt,n)}var an=null,Ll=!1,ju=!1;function J0(e){an===null?an=[e]:an.push(e)}function J2(e){Ll=!0,J0(e)}function sr(){if(!ju&&an!==null){ju=!0;var e=0,t=oe;try{var n=an;for(oe=1;e<n.length;e++){var r=n[e];do r=r(!0);while(r!==null)}an=null,Ll=!1}catch(i){throw an!==null&&(an=an.slice(e+1)),P0(of,sr),i}finally{oe=t,ju=!1}}return null}var si=[],oi=0,Xa=null,Ga=0,Ct=[],Et=0,Ar=null,cn=1,dn="";function fr(e,t){si[oi++]=Ga,si[oi++]=Xa,Xa=e,Ga=t}function Z0(e,t,n){Ct[Et++]=cn,Ct[Et++]=dn,Ct[Et++]=Ar,Ar=e;var r=cn;e=dn;var i=32-$t(r)-1;r&=~(1<<i),n+=1;var s=32-$t(t)+i;if(30<s){var o=i-i%5;s=(r&(1<<o)-1).toString(32),r>>=o,i-=o,cn=1<<32-$t(t)+i|n<<i|r,dn=s+e}else cn=1<<s|n<<i|r,dn=e}function pf(e){e.return!==null&&(fr(e,1),Z0(e,1,0))}function gf(e){for(;e===Xa;)Xa=si[--oi],si[oi]=null,Ga=si[--oi],si[oi]=null;for(;e===Ar;)Ar=Ct[--Et],Ct[Et]=null,dn=Ct[--Et],Ct[Et]=null,cn=Ct[--Et],Ct[Et]=null}var ft=null,dt=null,he=!1,At=null;function ev(e,t){var n=Tt(5,null,null,0);n.elementType="DELETED",n.stateNode=t,n.return=e,t=e.deletions,t===null?(e.deletions=[n],e.flags|=16):t.push(n)}function km(e,t){switch(e.tag){case 5:var n=e.type;return t=t.nodeType!==1||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t,t!==null?(e.stateNode=t,ft=e,dt=qn(t.firstChild),!0):!1;case 6:return t=e.pendingProps===""||t.nodeType!==3?null:t,t!==null?(e.stateNode=t,ft=e,dt=null,!0):!1;case 13:return t=t.nodeType!==8?null:t,t!==null?(n=Ar!==null?{id:cn,overflow:dn}:null,e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},n=Tt(18,null,null,0),n.stateNode=t,n.return=e,e.child=n,ft=e,dt=null,!0):!1;default:return!1}}function Lc(e){return(e.mode&1)!==0&&(e.flags&128)===0}function Ac(e){if(he){var t=dt;if(t){var n=t;if(!km(e,t)){if(Lc(e))throw Error(R(418));t=qn(n.nextSibling);var r=ft;t&&km(e,t)?ev(r,n):(e.flags=e.flags&-4097|2,he=!1,ft=e)}}else{if(Lc(e))throw Error(R(418));e.flags=e.flags&-4097|2,he=!1,ft=e}}}function Cm(e){for(e=e
Line truncated
|
||||
`+i[o].replace(" at new "," at ");return e.displayName&&l.includes("<anonymous>")&&(l=l.replace("<anonymous>",e.displayName)),l}while(1<=o&&0<=a);break}}}finally{mu=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?vs(e):""}function Ib(e){switch(e.tag){case 5:return vs(e.type);case 16:return vs("Lazy");case 13:return vs("Suspense");case 19:return vs("SuspenseList");case 0:case 2:case 15:return e=pu(e.type,!1),e;case 11:return e=pu(e.type.render,!1),e;case 1:return e=pu(e.type,!0),e;default:return""}}function fc(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case Zr:return"Fragment";case Jr:return"Portal";case uc:return"Profiler";case nf:return"StrictMode";case cc:return"Suspense";case dc:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case a0:return(e.displayName||"Context")+".Consumer";case o0:return(e._context.displayName||"Context")+".Provider";case rf:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case sf:return t=e.displayName||null,t!==null?t:fc(e.type)||"Memo";case jn:t=e._payload,e=e._init;try{return fc(e(t))}catch{}}return null}function Vb(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=t.render,e=e.displayName||e.name||"",t.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return fc(t);case 8:return t===nf?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t}return null}function Zn(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function u0(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function _b(e){var t=u0(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var i=n.get,s=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return i.call(this)},set:function(o){r=""+o,s.call(this,o)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(o){r=""+o},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function Bo(e){e._valueTracker||(e._valueTracker=_b(e))}function c0(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=u0(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function _a(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function hc(e,t){var n=t.checked;return ye({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function Yh(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=Zn(t.value!=null?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function d0(e,t){t=t.checked,t!=null&&tf(e,"checked",t,!1)}function mc(e,t){d0(e,t);var n=Zn(t.value),r=t.type;if(n!=null)r==="number"?(n===0&&e.value===""||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if(r==="submit"||r==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?pc(e,t.type,n):t.hasOwnProperty("defaultValue")&&pc(e,t.type,Zn(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function Jh(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!(r!=="submit"&&r!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}n=e.name,n!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,n!==""&&(e.name=n)}function pc(e,t,n){(t!=="number"||_a(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var ws=Array.isArray;function pi(e,t,n,r){if(e=e.options,t){t={};for(var i=0;i<n.length;i++)t["$"+n[i]]=!0;for(n=0;n<e.length;n++)i=t.hasOwnProperty("$"+e[n].value),e[n].selected!==i&&(e[n].selected=i),i&&r&&(e[n].defaultSelected=!0)}else{for(n=""+Zn(n),t=null,i=0;i<e.length;i++){if(e[i].value===n){e[i].selected=!0,r&&(e[i].defaultSelected=!0);return}t!==null||e[i].disabled||(t=e[i])}t!==null&&(t.selected=!0)}}function gc(e,t){if(t.dan
Line truncated
|
||||
`).replace(G2,"")}function Jo(e,t,n){if(t=bm(t),bm(e)!==t&&n)throw Error(R(425))}function Qa(){}var Nc=null,Mc=null;function Oc(e,t){return e==="textarea"||e==="noscript"||typeof t.children=="string"||typeof t.children=="number"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}var Rc=typeof setTimeout=="function"?setTimeout:void 0,Y2=typeof clearTimeout=="function"?clearTimeout:void 0,Sm=typeof Promise=="function"?Promise:void 0,J2=typeof queueMicrotask=="function"?queueMicrotask:typeof Sm<"u"?function(e){return Sm.resolve(null).then(e).catch(Z2)}:Rc;function Z2(e){setTimeout(function(){throw e})}function ju(e,t){var n=t,r=0;do{var i=n.nextSibling;if(e.removeChild(n),i&&i.nodeType===8)if(n=i.data,n==="/$"){if(r===0){e.removeChild(i),Ks(t);return}r--}else n!=="$"&&n!=="$?"&&n!=="$!"||r++;n=i}while(n);Ks(t)}function Kn(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===1||t===3)break;if(t===8){if(t=e.data,t==="$"||t==="$!"||t==="$?")break;if(t==="/$")return null}}return e}function Pm(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="$"||n==="$!"||n==="$?"){if(t===0)return e;t--}else n==="/$"&&t++}e=e.previousSibling}return null}var Gi=Math.random().toString(36).slice(2),Gt="__reactFiber$"+Gi,Js="__reactProps$"+Gi,yn="__reactContainer$"+Gi,Dc="__reactEvents$"+Gi,eS="__reactListeners$"+Gi,tS="__reactHandles$"+Gi;function yr(e){var t=e[Gt];if(t)return t;for(var n=e.parentNode;n;){if(t=n[yn]||n[Gt]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=Pm(e);e!==null;){if(n=e[Gt])return n;e=Pm(e)}return t}e=n,n=e.parentNode}return null}function To(e){return e=e[Gt]||e[yn],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function ri(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(R(33))}function Al(e){return e[Js]||null}var Lc=[],ii=-1;function sr(e){return{current:e}}function de(e){0>ii||(e.current=Lc[ii],Lc[ii]=null,ii--)}function ae(e,t){ii++,Lc[ii]=e.current,e.current=t}var er={},He=sr(er),rt=sr(!1),Lr=er;function $i(e,t){var n=e.type.contextTypes;if(!n)return er;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var i={},s;for(s in n)i[s]=t[s];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=i),i}function it(e){return e=e.childContextTypes,e!=null}function Xa(){de(rt),de(He)}function km(e,t,n){if(He.current!==er)throw Error(R(168));ae(He,t),ae(rt,n)}function Z0(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var i in r)if(!(i in t))throw Error(R(108,Vb(e)||"Unknown",i));return ye({},n,r)}function Ga(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||er,Lr=He.current,ae(He,e),ae(rt,rt.current),!0}function Cm(e,t,n){var r=e.stateNode;if(!r)throw Error(R(169));n?(e=Z0(e,t,Lr),r.__reactInternalMemoizedMergedChildContext=e,de(rt),de(He),ae(He,e)):de(rt),ae(rt,n)}var an=null,$l=!1,Nu=!1;function ev(e){an===null?an=[e]:an.push(e)}function nS(e){$l=!0,ev(e)}function or(){if(!Nu&&an!==null){Nu=!0;var e=0,t=oe;try{var n=an;for(oe=1;e<n.length;e++){var r=n[e];do r=r(!0);while(r!==null)}an=null,$l=!1}catch(i){throw an!==null&&(an=an.slice(e+1)),C0(af,or),i}finally{oe=t,Nu=!1}}return null}var si=[],oi=0,Ya=null,Ja=0,Ct=[],Et=0,Ar=null,cn=1,dn="";function fr(e,t){si[oi++]=Ja,si[oi++]=Ya,Ya=e,Ja=t}function tv(e,t,n){Ct[Et++]=cn,Ct[Et++]=dn,Ct[Et++]=Ar,Ar=e;var r=cn;e=dn;var i=32-$t(r)-1;r&=~(1<<i),n+=1;var s=32-$t(t)+i;if(30<s){var o=i-i%5;s=(r&(1<<o)-1).toString(32),r>>=o,i-=o,cn=1<<32-$t(t)+i|n<<i|r,dn=s+e}else cn=1<<s|n<<i|r,dn=e}function gf(e){e.return!==null&&(fr(e,1),tv(e,1,0))}function yf(e){for(;e===Ya;)Ya=si[--oi],si[oi]=null,Ja=si[--oi],si[oi]=null;for(;e===Ar;)Ar=Ct[--Et],Ct[Et]=null,dn=Ct[--Et],Ct[Et]=null,cn=Ct[--Et],Ct[Et]=null}var ft=null,dt=null,he=!1,At=null;function nv(e,t){var n=Tt(5,null,null,0);n.elementType="DELETED",n.stateNode=t,n.return=e,t=e.deletions,t===null?(e.deletions=[n],e.flags|=16):t.push(n)}function Em(e,t){switch(e.tag){case 5:var n=e.type;return t=t.nodeType!==1||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t,t!==null?(e.stateNode=t,ft=e,dt=Kn(t.firstChild),!0):!1;case 6:return t=e.pendingProps===""||t.nodeType!==3?null:t,t!==null?(e.stateNode=t,ft=e,dt=null,!0):!1;case 13:return t=t.nodeType!==8?null:t,t!==null?(n=Ar!==null?{id:cn,overflow:dn}:null,e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},n=Tt(18,null,null,0),n.stateNode=t,n.return=e,e.child=n,ft=e,dt=null,!0):!1;default:return!1}}function Ac(e){return(e.mode&1)!==0&&(e.flags&128)===0}function $c(e){if(he){var t=dt;if(t){var n=t;if(!Em(e,t)){if(Ac(e))throw Error(R(418));t=Kn(n.nextSibling);var r=ft;t&&Em(e,t)?nv(r,n):(e.flags=e.flags&-4097|2,he=!1,ft=e)}}else{if(Ac(e))throw Error(R(418));e.flags=e.flags&-4097|2,he=!1,ft=e}}}function Tm(e){for(e=e
Line truncated
|
||||
Error generating stack: `+s.message+`
|
||||
`+s.stack}return{value:e,source:t,stack:i,digest:null}}function Du(e,t,n){return{value:e,source:null,stack:n??null,digest:t??null}}function Ic(e,t){try{console.error(t.value)}catch(n){setTimeout(function(){throw n})}}var aS=typeof WeakMap=="function"?WeakMap:Map;function jv(e,t,n){n=fn(-1,n),n.tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){il||(il=!0,Xc=r),Ic(e,t)},n}function Mv(e,t,n){n=fn(-1,n),n.tag=3;var r=e.type.getDerivedStateFromError;if(typeof r=="function"){var i=t.value;n.payload=function(){return r(i)},n.callback=function(){Ic(e,t)}}var s=e.stateNode;return s!==null&&typeof s.componentDidCatch=="function"&&(n.callback=function(){Ic(e,t),typeof r!="function"&&(Qn===null?Qn=new Set([this]):Qn.add(this));var o=t.stack;this.componentDidCatch(t.value,{componentStack:o!==null?o:""})}),n}function Dm(e,t,n){var r=e.pingCache;if(r===null){r=e.pingCache=new aS;var i=new Set;r.set(t,i)}else i=r.get(t),i===void 0&&(i=new Set,r.set(t,i));i.has(n)||(i.add(n),e=bS.bind(null,e,t,n),t.then(e,e))}function Lm(e){do{var t;if((t=e.tag===13)&&(t=e.memoizedState,t=t!==null?t.dehydrated!==null:!0),t)return e;e=e.return}while(e!==null);return null}function Am(e,t,n,r,i){return e.mode&1?(e.flags|=65536,e.lanes=i,e):(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,n.tag===1&&(n.alternate===null?n.tag=17:(t=fn(-1,1),t.tag=2,Kn(n,t,1))),n.lanes|=1),e)}var lS=Sn.ReactCurrentOwner,nt=!1;function Xe(e,t,n,r){t.child=e===null?av(t,null,n,r):Vi(t,e.child,n,r)}function $m(e,t,n,r,i){n=n.render;var s=t.ref;return wi(t,i),r=Tf(e,t,n,r,s,i),n=jf(),e!==null&&!nt?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,wn(e,t,i)):(he&&n&&pf(t),t.flags|=1,Xe(e,t,r,i),t.child)}function Fm(e,t,n,r,i){if(e===null){var s=n.type;return typeof s=="function"&&!Vf(s)&&s.defaultProps===void 0&&n.compare===null&&n.defaultProps===void 0?(t.tag=15,t.type=s,Nv(e,t,s,r,i)):(e=Ca(n.type,null,r,t,t.mode,i),e.ref=t.ref,e.return=t,t.child=e)}if(s=e.child,!(e.lanes&i)){var o=s.memoizedProps;if(n=n.compare,n=n!==null?n:Xs,n(o,r)&&e.ref===t.ref)return wn(e,t,i)}return t.flags|=1,e=Gn(s,r),e.ref=t.ref,e.return=t,t.child=e}function Nv(e,t,n,r,i){if(e!==null){var s=e.memoizedProps;if(Xs(s,r)&&e.ref===t.ref)if(nt=!1,t.pendingProps=r=s,(e.lanes&i)!==0)e.flags&131072&&(nt=!0);else return t.lanes=e.lanes,wn(e,t,i)}return _c(e,t,n,r,i)}function Ov(e,t,n){var r=t.pendingProps,i=r.children,s=e!==null?e.memoizedState:null;if(r.mode==="hidden")if(!(t.mode&1))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},ae(ui,ct),ct|=n;else{if(!(n&1073741824))return e=s!==null?s.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,ae(ui,ct),ct|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=s!==null?s.baseLanes:n,ae(ui,ct),ct|=r}else s!==null?(r=s.baseLanes|n,t.memoizedState=null):r=n,ae(ui,ct),ct|=r;return Xe(e,t,i,n),t.child}function Rv(e,t){var n=t.ref;(e===null&&n!==null||e!==null&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function _c(e,t,n,r,i){var s=it(n)?Lr:He.current;return s=$i(t,s),wi(t,i),n=Tf(e,t,n,r,s,i),r=jf(),e!==null&&!nt?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,wn(e,t,i)):(he&&r&&pf(t),t.flags|=1,Xe(e,t,n,i),t.child)}function Vm(e,t,n,r,i){if(it(n)){var s=!0;Qa(t)}else s=!1;if(wi(t,i),t.stateNode===null)Sa(e,t),sv(t,n,r),Vc(t,n,r,i),r=!0;else if(e===null){var o=t.stateNode,a=t.memoizedProps;o.props=a;var l=o.context,u=n.contextType;typeof u=="object"&&u!==null?u=Mt(u):(u=it(n)?Lr:He.current,u=$i(t,u));var c=n.getDerivedStateFromProps,d=typeof c=="function"||typeof o.getSnapshotBeforeUpdate=="function";d||typeof o.UNSAFE_componentWillReceiveProps!="function"&&typeof o.componentWillReceiveProps!="function"||(a!==r||l!==u)&&Mm(t,o,r,u),jn=!1;var f=t.memoizedState;o.state=f,Za(t,r,o,i),l=t.memoizedState,a!==r||f!==l||rt.current||jn?(typeof c=="function"&&(Fc(t,n,c,r),l=t.memoizedState),(a=jn||jm(t,n,a,r,f,l,u))?(d||typeof o.UNSAFE_componentWillMount!="function"&&typeof o.componentWillMount!="function"||(typeof o.componentWillMount=="function"&&o.componentWillMount(),typeof o.UNSAFE_componentWillMount=="function"&&o.UNSAFE_componentWillMount()),typeof o.componentDidMount=="function"&&(t.flags|=4194308)):(typeof o.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=l),o.props=r,o.state=l,o.context=u,r=a):(typeof o.componentDidMount=="function"&&(t.flags|=4194308),r=!1)}else{o=t.stateNode,rv(e,t),a=t.memoizedProps,u=t.type===t.elementType?a:Dt(t.type,a),o.props=u,d=t.pendingProps,f=o.context,l=n.contextType,typeof l=="object"&&l!==null?l=Mt(l):(l=it(n)?Lr:He.current,l=$i(t,l));var m=n.getDerivedStateFromProps;(c=typeof m=="function"||typeof o.getSnapshotBeforeUpdate=="function")||typeof o.UNSAFE_componentWillReceiveProps!="function"&&typeof o.componentWillReceiveProps!="function"||(a!==d||f!==l)&&Mm(t,o,r,l),jn=!1,f=t.memoizedState,o.state=f,Za(t,r,o,i);var p=t.memoizedS
Line truncated
|
||||
`).forEach(function(o){i=o.indexOf(":"),n=o.substring(0,i).trim().toLowerCase(),r=o.substring(i+1).trim(),!(!n||t[n]&&pk[n])&&(n==="set-cookie"?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)}),t},up=Symbol("internals");function ds(e){return e&&String(e).trim().toLowerCase()}function Ma(e){return e===!1||e==null?e:M.isArray(e)?e.map(Ma):String(e)}function yk(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=n.exec(e);)t[r[1]]=r[2];return t}const vk=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function Vu(e,t,n,r,i){if(M.isFunction(r))return r.call(this,t,n);if(i&&(t=n),!!M.isString(t)){if(M.isString(r))return t.indexOf(r)!==-1;if(M.isRegExp(r))return r.test(t)}}function wk(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,r)=>n.toUpperCase()+r)}function xk(e,t){const n=M.toCamelCase(" "+t);["get","set","has"].forEach(r=>{Object.defineProperty(e,r+n,{value:function(i,s,o){return this[r].call(this,t,i,s,o)},configurable:!0})})}let at=class{constructor(t){t&&this.set(t)}set(t,n,r){const i=this;function s(a,l,u){const c=ds(l);if(!c)throw new Error("header name must be a non-empty string");const d=M.findKey(i,c);(!d||i[d]===void 0||u===!0||u===void 0&&i[d]!==!1)&&(i[d||l]=Ma(a))}const o=(a,l)=>M.forEach(a,(u,c)=>s(u,c,l));if(M.isPlainObject(t)||t instanceof this.constructor)o(t,n);else if(M.isString(t)&&(t=t.trim())&&!vk(t))o(gk(t),n);else if(M.isObject(t)&&M.isIterable(t)){let a={},l,u;for(const c of t){if(!M.isArray(c))throw TypeError("Object iterator must return a key-value pair");a[u=c[0]]=(l=a[u])?M.isArray(l)?[...l,c[1]]:[l,c[1]]:c[1]}o(a,n)}else t!=null&&s(n,t,r);return this}get(t,n){if(t=ds(t),t){const r=M.findKey(this,t);if(r){const i=this[r];if(!n)return i;if(n===!0)return yk(i);if(M.isFunction(n))return n.call(this,i,r);if(M.isRegExp(n))return n.exec(i);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=ds(t),t){const r=M.findKey(this,t);return!!(r&&this[r]!==void 0&&(!n||Vu(this,this[r],r,n)))}return!1}delete(t,n){const r=this;let i=!1;function s(o){if(o=ds(o),o){const a=M.findKey(r,o);a&&(!n||Vu(r,r[a],a,n))&&(delete r[a],i=!0)}}return M.isArray(t)?t.forEach(s):s(t),i}clear(t){const n=Object.keys(this);let r=n.length,i=!1;for(;r--;){const s=n[r];(!t||Vu(this,this[s],s,t,!0))&&(delete this[s],i=!0)}return i}normalize(t){const n=this,r={};return M.forEach(this,(i,s)=>{const o=M.findKey(r,s);if(o){n[o]=Ma(i),delete n[s];return}const a=t?wk(s):String(s).trim();a!==s&&delete n[s],n[a]=Ma(i),r[a]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return M.forEach(this,(r,i)=>{r!=null&&r!==!1&&(n[i]=t&&M.isArray(r)?r.join(", "):r)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,n])=>t+": "+n).join(`
|
||||
`)}getSetCookie(){return this.get("set-cookie")||[]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...n){const r=new this(t);return n.forEach(i=>r.set(i)),r}static accessor(t){const r=(this[up]=this[up]={accessors:{}}).accessors,i=this.prototype;function s(o){const a=ds(o);r[a]||(xk(i,o),r[a]=!0)}return M.isArray(t)?t.forEach(s):s(t),this}};at.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);M.reduceDescriptors(at.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(r){this[n]=r}}});M.freezeMethods(at);function Iu(e,t){const n=this||Ro,r=t||n,i=at.from(r.headers);let s=r.data;return M.forEach(e,function(a){s=a.call(n,s,i.normalize(),t?t.status:void 0)}),i.normalize(),s}function T1(e){return!!(e&&e.__CANCEL__)}function Zi(e,t,n){Y.call(this,e??"canceled",Y.ERR_CANCELED,t,n),this.name="CanceledError"}M.inherits(Zi,Y,{__CANCEL__:!0});function j1(e,t,n){const r=n.config.validateStatus;!n.status||!r||r(n.status)?e(n):t(new Y("Request failed with status code "+n.status,[Y.ERR_BAD_REQUEST,Y.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}function bk(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function Sk(e,t){e=e||10;const n=new Array(e),r=new Array(e);let i=0,s=0,o;return t=t!==void 0?t:1e3,function(l){const u=Date.now(),c=r[s];o||(o=u),n[i]=l,r[i]=u;let d=s,f=0;for(;d!==i;)f+=n[d++],d=d%e;if(i=(i+1)%e,i===s&&(s=(s+1)%e),u-o<t)return;const m=c&&u-c;return m?Math.round(f*1e3/m):void 0}}function Pk(e,t){let n=0,r=1e3/t,i,s;const o=(u,c=Date.now())=>{n=c,i=null,s&&(clearTimeout(s),s=null),e(...u)};return[(...u)=>{const c=Date.now(),d=c-n;d>=r?o(u,c):(i=u,s||(s=setTimeout(()=>{s=null,o(i)},r-d)))},()=>i&&o(i)]}const dl=(e,t,n=3)=>{let r=0;const i=Sk(50,250);return Pk(s=>{const o=s.loaded,a=s.lengthComputable?s.total:void 0,l=o-r,u=i(l),c=o<=a;r=o;const d={loaded:o,total:a,progress:a?o/a:void 0,bytes:l,rate:u||void 0,estimated:u&&a&&c?(a-o)/u:void 0,event:s,lengthComputable:a!=null,[t?"download":"upload"]:!0};e(d)},n)},cp=(e,t)=>{const n=e!=null;return[r=>t[0]({lengthComputable:n,total:e,loaded:r}),t[1]]},dp=e=>(...t)=>M.asap(()=>e(...t)),kk=Ue.hasStandardBrowserEnv?((e,t)=>n=>(n=new URL(n,Ue.origin),e.protocol===n.protocol&&e.host===n.host&&(t||e.port===n.port)))(new URL(Ue.origin),Ue.navigator&&/(msie|trident)/i.test(Ue.navigator.userAgent)):()=>!0,Ck=Ue.hasStandardBrowserEnv?{write(e,t,n,r,i,s){const o=[e+"="+encodeURIComponent(t)];M.isNumber(n)&&o.push("expires="+new Date(n).toGMTString()),M.isString(r)&&o.push("path="+r),M.isString(i)&&o.push("domain="+i),s===!0&&o.push("secure"),document.cookie=o.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function Ek(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function Tk(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function M1(e,t,n){let r=!Ek(t);return e&&(r||n==!1)?Tk(e,t):t}const fp=e=>e instanceof at?{...e}:e;function _r(e,t){t=t||{};const n={};function r(u,c,d,f){return M.isPlainObject(u)&&M.isPlainObject(c)?M.merge.call({caseless:f},u,c):M.isPlainObject(c)?M.merge({},c):M.isArray(c)?c.slice():c}function i(u,c,d,f){if(M.isUndefined(c)){if(!M.isUndefined(u))return r(void 0,u,d,f)}else return r(u,c,d,f)}function s(u,c){if(!M.isUndefined(c))return r(void 0,c)}function o(u,c){if(M.isUndefined(c)){if(!M.isUndefined(u))return r(void 0,u)}else return r(void 0,c)}function a(u,c,d){if(d in t)return r(u,c);if(d in e)return r(void 0,u)}const l={url:s,method:s,data:s,baseURL:o,transformRequest:o,transformResponse:o,paramsSerializer:o,timeout:o,timeoutMessage:o,withCredentials:o,withXSRFToken:o,adapter:o,responseType:o,xsrfCookieName:o,xsrfHeaderName:o,onUploadProgress:o,onDownloadProgress:o,decompress:o,maxContentLength:o,maxBodyLength:o,beforeRedirect:o,transport:o,httpAgent:o,httpsAgent:o,cancelToken:o,socketPath:o,responseEncoding:o,validateStatus:a,headers:(u,c,d)=>i(fp(u),fp(c),d,!0)};return M.forEach(Object.keys({...e,...t}),function(c){const d=l[c]||i,f=d(e[c],t[c],c);M.isUndefined(f)&&d!==a||(n[c]=f)}),n}const N1=e=>{const t=_r({},e);let{data:n,withXSRFToken:r,xsrfHeaderName:i,xsrfCookieName:s,headers:o,auth:a}=t;if(t.headers=o=at.from(o),t.url=k1(M1(t.baseURL,t.url,t.allowAbsoluteUrls),e.params,e.paramsSerializer),a&&o.set("Authorization","Basic "+btoa((a.username||"")+":"+(a.password?unescape(encodeURIComponent(a.password)):""))),M.isFormData(n)){if(Ue.hasStandardBrowserEnv||Ue.hasStandardBrowserWebWorkerEnv)o.setContentType(void 0);else if(M.isFunction(n.getHeaders)){const l=n.getHeaders(),u=["content-type","content-length"];Object.entries(l).forEach(([c,d])=>{u.includes(c.toLowerCase())&&o.set(c,d)})}}if(Ue.hasStandardBrowserEnv&&(r&&M.isFunction(r)&&(r=r(t)),r||r!==!1&&kk(t.url))){const
Line truncated
|
||||
`+o.map(vp).join(`
|
||||
`):" "+vp(o[0]):"as no adapter specified";throw new Y("There is no suitable adapter to dispatch the request "+a,"ERR_NOT_SUPPORT")}return i},adapters:md};function _u(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new Zi(null,e)}function wp(e){return _u(e),e.headers=at.from(e.headers),e.data=Iu.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),R1.getAdapter(e.adapter||Ro.adapter,e)(e).then(function(r){return _u(e),r.data=Iu.call(e,e.transformResponse,r),r.headers=at.from(r.headers),r},function(r){return T1(r)||(_u(e),r&&r.response&&(r.response.data=Iu.call(e,e.transformResponse,r.response),r.response.headers=at.from(r.response.headers))),Promise.reject(r)})}const D1="1.12.2",Xl={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{Xl[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}});const xp={};Xl.transitional=function(t,n,r){function i(s,o){return"[Axios v"+D1+"] Transitional option '"+s+"'"+o+(r?". "+r:"")}return(s,o,a)=>{if(t===!1)throw new Y(i(o," has been removed"+(n?" in "+n:"")),Y.ERR_DEPRECATED);return n&&!xp[o]&&(xp[o]=!0,console.warn(i(o," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(s,o,a):!0}};Xl.spelling=function(t){return(n,r)=>(console.warn(`${r} is likely a misspelling of ${t}`),!0)};function Vk(e,t,n){if(typeof e!="object")throw new Y("options must be an object",Y.ERR_BAD_OPTION_VALUE);const r=Object.keys(e);let i=r.length;for(;i-- >0;){const s=r[i],o=t[s];if(o){const a=e[s],l=a===void 0||o(a,s,e);if(l!==!0)throw new Y("option "+s+" must be "+l,Y.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new Y("Unknown option "+s,Y.ERR_BAD_OPTION)}}const Na={assertOptions:Vk,validators:Xl},Ut=Na.validators;let Or=class{constructor(t){this.defaults=t||{},this.interceptors={request:new lp,response:new lp}}async request(t,n){try{return await this._request(t,n)}catch(r){if(r instanceof Error){let i={};Error.captureStackTrace?Error.captureStackTrace(i):i=new Error;const s=i.stack?i.stack.replace(/^.+\n/,""):"";try{r.stack?s&&!String(r.stack).endsWith(s.replace(/^.+\n.+\n/,""))&&(r.stack+=`
|
||||
`+s):r.stack=s}catch{}}throw r}}_request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=_r(this.defaults,n);const{transitional:r,paramsSerializer:i,headers:s}=n;r!==void 0&&Na.assertOptions(r,{silentJSONParsing:Ut.transitional(Ut.boolean),forcedJSONParsing:Ut.transitional(Ut.boolean),clarifyTimeoutError:Ut.transitional(Ut.boolean)},!1),i!=null&&(M.isFunction(i)?n.paramsSerializer={serialize:i}:Na.assertOptions(i,{encode:Ut.function,serialize:Ut.function},!0)),n.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls!==void 0?n.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:n.allowAbsoluteUrls=!0),Na.assertOptions(n,{baseUrl:Ut.spelling("baseURL"),withXsrfToken:Ut.spelling("withXSRFToken")},!0),n.method=(n.method||this.defaults.method||"get").toLowerCase();let o=s&&M.merge(s.common,s[n.method]);s&&M.forEach(["delete","get","head","post","put","patch","common"],p=>{delete s[p]}),n.headers=at.concat(o,s);const a=[];let l=!0;this.interceptors.request.forEach(function(v){typeof v.runWhen=="function"&&v.runWhen(n)===!1||(l=l&&v.synchronous,a.unshift(v.fulfilled,v.rejected))});const u=[];this.interceptors.response.forEach(function(v){u.push(v.fulfilled,v.rejected)});let c,d=0,f;if(!l){const p=[wp.bind(this),void 0];for(p.unshift(...a),p.push(...u),f=p.length,c=Promise.resolve(n);d<f;)c=c.then(p[d++],p[d++]);return c}f=a.length;let m=n;for(;d<f;){const p=a[d++],v=a[d++];try{m=p(m)}catch(x){v.call(this,x);break}}try{c=wp.call(this,m)}catch(p){return Promise.reject(p)}for(d=0,f=u.length;d<f;)c=c.then(u[d++],u[d++]);return c}getUri(t){t=_r(this.defaults,t);const n=M1(t.baseURL,t.url,t.allowAbsoluteUrls);return k1(n,t.params,t.paramsSerializer)}};M.forEach(["delete","get","head","options"],function(t){Or.prototype[t]=function(n,r){return this.request(_r(r||{},{method:t,url:n,data:(r||{}).data}))}});M.forEach(["post","put","patch"],function(t){function n(r){return function(s,o,a){return this.request(_r(a||{},{method:t,headers:r?{"Content-Type":"multipart/form-data"}:{},url:s,data:o}))}}Or.prototype[t]=n(),Or.prototype[t+"Form"]=n(!0)});let Ik=class L1{constructor(t){if(typeof t!="function")throw new TypeError("executor must be a function.");let n;this.promise=new Promise(function(s){n=s});const r=this;this.promise.then(i=>{if(!r._listeners)return;let s=r._listeners.length;for(;s-- >0;)r._listeners[s](i);r._listeners=null}),this.promise.then=i=>{let s;const o=new Promise(a=>{r.subscribe(a),s=a}).then(i);return o.cancel=function(){r.unsubscribe(s)},o},t(function(s,o,a){r.reason||(r.reason=new Zi(s,o,a),n(r.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const n=this._listeners.indexOf(t);n!==-1&&this._listeners.splice(n,1)}toAbortSignal(){const t=new AbortController,n=r=>{t.abort(r)};return this.subscribe(n),t.signal.unsubscribe=()=>this.unsubscribe(n),t.signal}static source(){let t;return{token:new L1(function(i){t=i}),cancel:t}}};function _k(e){return function(n){return e.apply(null,n)}}function zk(e){return M.isObject(e)&&e.isAxiosError===!0}const pd={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(pd).forEach(([e,t])=>{pd[t]=e});function A1(e){const t=new Or(e),n=f1(Or.prototype.request,t);return M.extend(n,Or.prototype,t,{allOwnKeys:!0}),M.extend(n,t,null,{allOwnKeys:!0}),n.create=function(i){return A1(_r(e,i))},n}const ke=A1(Ro);ke.Axios=Or;ke.CanceledError=Zi;ke.CancelToken=Ik;ke.isCancel=T1;ke.VERSION=D1;ke.toFormData=Ql;ke.AxiosError=Y;ke.Cancel=ke.CanceledError;ke.all=function(t){return Promise.all(t)};ke.spread=_k;ke.isAxiosError=zk;ke.mergeConfig=_r;ke.AxiosHeaders=at;ke.formToJSON=e=>E1(M.isHTMLForm(e)?new FormData(e):e);ke.getAdapter=R1.getAdapter;ke.HttpStatusCode=pd;ke.default=ke;const{Axi
Line truncated
|
||||
`+s.stack}return{value:e,source:t,stack:i,digest:null}}function Lu(e,t,n){return{value:e,source:null,stack:n??null,digest:t??null}}function _c(e,t){try{console.error(t.value)}catch(n){setTimeout(function(){throw n})}}var dS=typeof WeakMap=="function"?WeakMap:Map;function Mv(e,t,n){n=fn(-1,n),n.tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){ol||(ol=!0,Gc=r),_c(e,t)},n}function Ov(e,t,n){n=fn(-1,n),n.tag=3;var r=e.type.getDerivedStateFromError;if(typeof r=="function"){var i=t.value;n.payload=function(){return r(i)},n.callback=function(){_c(e,t)}}var s=e.stateNode;return s!==null&&typeof s.componentDidCatch=="function"&&(n.callback=function(){_c(e,t),typeof r!="function"&&(Xn===null?Xn=new Set([this]):Xn.add(this));var o=t.stack;this.componentDidCatch(t.value,{componentStack:o!==null?o:""})}),n}function Am(e,t,n){var r=e.pingCache;if(r===null){r=e.pingCache=new dS;var i=new Set;r.set(t,i)}else i=r.get(t),i===void 0&&(i=new Set,r.set(t,i));i.has(n)||(i.add(n),e=CS.bind(null,e,t,n),t.then(e,e))}function $m(e){do{var t;if((t=e.tag===13)&&(t=e.memoizedState,t=t!==null?t.dehydrated!==null:!0),t)return e;e=e.return}while(e!==null);return null}function Fm(e,t,n,r,i){return e.mode&1?(e.flags|=65536,e.lanes=i,e):(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,n.tag===1&&(n.alternate===null?n.tag=17:(t=fn(-1,1),t.tag=2,Qn(n,t,1))),n.lanes|=1),e)}var fS=Sn.ReactCurrentOwner,nt=!1;function Xe(e,t,n,r){t.child=e===null?uv(t,null,n,r):Ii(t,e.child,n,r)}function Im(e,t,n,r,i){n=n.render;var s=t.ref;return wi(t,i),r=jf(e,t,n,r,s,i),n=Nf(),e!==null&&!nt?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,wn(e,t,i)):(he&&n&&gf(t),t.flags|=1,Xe(e,t,r,i),t.child)}function Vm(e,t,n,r,i){if(e===null){var s=n.type;return typeof s=="function"&&!Vf(s)&&s.defaultProps===void 0&&n.compare===null&&n.defaultProps===void 0?(t.tag=15,t.type=s,Rv(e,t,s,r,i)):(e=Ta(n.type,null,r,t,t.mode,i),e.ref=t.ref,e.return=t,t.child=e)}if(s=e.child,!(e.lanes&i)){var o=s.memoizedProps;if(n=n.compare,n=n!==null?n:Xs,n(o,r)&&e.ref===t.ref)return wn(e,t,i)}return t.flags|=1,e=Yn(s,r),e.ref=t.ref,e.return=t,t.child=e}function Rv(e,t,n,r,i){if(e!==null){var s=e.memoizedProps;if(Xs(s,r)&&e.ref===t.ref)if(nt=!1,t.pendingProps=r=s,(e.lanes&i)!==0)e.flags&131072&&(nt=!0);else return t.lanes=e.lanes,wn(e,t,i)}return zc(e,t,n,r,i)}function Dv(e,t,n){var r=t.pendingProps,i=r.children,s=e!==null?e.memoizedState:null;if(r.mode==="hidden")if(!(t.mode&1))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},ae(ui,ct),ct|=n;else{if(!(n&1073741824))return e=s!==null?s.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,ae(ui,ct),ct|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=s!==null?s.baseLanes:n,ae(ui,ct),ct|=r}else s!==null?(r=s.baseLanes|n,t.memoizedState=null):r=n,ae(ui,ct),ct|=r;return Xe(e,t,i,n),t.child}function Lv(e,t){var n=t.ref;(e===null&&n!==null||e!==null&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function zc(e,t,n,r,i){var s=it(n)?Lr:He.current;return s=$i(t,s),wi(t,i),n=jf(e,t,n,r,s,i),r=Nf(),e!==null&&!nt?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,wn(e,t,i)):(he&&r&&gf(t),t.flags|=1,Xe(e,t,n,i),t.child)}function _m(e,t,n,r,i){if(it(n)){var s=!0;Ga(t)}else s=!1;if(wi(t,i),t.stateNode===null)ka(e,t),av(t,n,r),Vc(t,n,r,i),r=!0;else if(e===null){var o=t.stateNode,a=t.memoizedProps;o.props=a;var l=o.context,u=n.contextType;typeof u=="object"&&u!==null?u=Nt(u):(u=it(n)?Lr:He.current,u=$i(t,u));var c=n.getDerivedStateFromProps,d=typeof c=="function"||typeof o.getSnapshotBeforeUpdate=="function";d||typeof o.UNSAFE_componentWillReceiveProps!="function"&&typeof o.componentWillReceiveProps!="function"||(a!==r||l!==u)&&Om(t,o,r,u),Nn=!1;var f=t.memoizedState;o.state=f,tl(t,r,o,i),l=t.memoizedState,a!==r||f!==l||rt.current||Nn?(typeof c=="function"&&(Ic(t,n,c,r),l=t.memoizedState),(a=Nn||Mm(t,n,a,r,f,l,u))?(d||typeof o.UNSAFE_componentWillMount!="function"&&typeof o.componentWillMount!="function"||(typeof o.componentWillMount=="function"&&o.componentWillMount(),typeof o.UNSAFE_componentWillMount=="function"&&o.UNSAFE_componentWillMount()),typeof o.componentDidMount=="function"&&(t.flags|=4194308)):(typeof o.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=l),o.props=r,o.state=l,o.context=u,r=a):(typeof o.componentDidMount=="function"&&(t.flags|=4194308),r=!1)}else{o=t.stateNode,sv(e,t),a=t.memoizedProps,u=t.type===t.elementType?a:Dt(t.type,a),o.props=u,d=t.pendingProps,f=o.context,l=n.contextType,typeof l=="object"&&l!==null?l=Nt(l):(l=it(n)?Lr:He.current,l=$i(t,l));var m=n.getDerivedStateFromProps;(c=typeof m=="function"||typeof o.getSnapshotBeforeUpdate=="function")||typeof o.UNSAFE_componentWillReceiveProps!="function"&&typeof o.componentWillReceiveProps!="function"||(a!==d||f!==l)&&Om(t,o,r,l),Nn=!1,f=t.memoizedState,o.state=f,tl(t,r,o,i);var p=t.memoizedS
Line truncated
|
||||
`).forEach(function(o){i=o.indexOf(":"),n=o.substring(0,i).trim().toLowerCase(),r=o.substring(i+1).trim(),!(!n||t[n]&&wk[n])&&(n==="set-cookie"?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)}),t},dp=Symbol("internals");function ds(e){return e&&String(e).trim().toLowerCase()}function Oa(e){return e===!1||e==null?e:N.isArray(e)?e.map(Oa):String(e)}function bk(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=n.exec(e);)t[r[1]]=r[2];return t}const Sk=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function Vu(e,t,n,r,i){if(N.isFunction(r))return r.call(this,t,n);if(i&&(t=n),!!N.isString(t)){if(N.isString(r))return t.indexOf(r)!==-1;if(N.isRegExp(r))return r.test(t)}}function Pk(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,r)=>n.toUpperCase()+r)}function kk(e,t){const n=N.toCamelCase(" "+t);["get","set","has"].forEach(r=>{Object.defineProperty(e,r+n,{value:function(i,s,o){return this[r].call(this,t,i,s,o)},configurable:!0})})}let at=class{constructor(t){t&&this.set(t)}set(t,n,r){const i=this;function s(a,l,u){const c=ds(l);if(!c)throw new Error("header name must be a non-empty string");const d=N.findKey(i,c);(!d||i[d]===void 0||u===!0||u===void 0&&i[d]!==!1)&&(i[d||l]=Oa(a))}const o=(a,l)=>N.forEach(a,(u,c)=>s(u,c,l));if(N.isPlainObject(t)||t instanceof this.constructor)o(t,n);else if(N.isString(t)&&(t=t.trim())&&!Sk(t))o(xk(t),n);else if(N.isObject(t)&&N.isIterable(t)){let a={},l,u;for(const c of t){if(!N.isArray(c))throw TypeError("Object iterator must return a key-value pair");a[u=c[0]]=(l=a[u])?N.isArray(l)?[...l,c[1]]:[l,c[1]]:c[1]}o(a,n)}else t!=null&&s(n,t,r);return this}get(t,n){if(t=ds(t),t){const r=N.findKey(this,t);if(r){const i=this[r];if(!n)return i;if(n===!0)return bk(i);if(N.isFunction(n))return n.call(this,i,r);if(N.isRegExp(n))return n.exec(i);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=ds(t),t){const r=N.findKey(this,t);return!!(r&&this[r]!==void 0&&(!n||Vu(this,this[r],r,n)))}return!1}delete(t,n){const r=this;let i=!1;function s(o){if(o=ds(o),o){const a=N.findKey(r,o);a&&(!n||Vu(r,r[a],a,n))&&(delete r[a],i=!0)}}return N.isArray(t)?t.forEach(s):s(t),i}clear(t){const n=Object.keys(this);let r=n.length,i=!1;for(;r--;){const s=n[r];(!t||Vu(this,this[s],s,t,!0))&&(delete this[s],i=!0)}return i}normalize(t){const n=this,r={};return N.forEach(this,(i,s)=>{const o=N.findKey(r,s);if(o){n[o]=Oa(i),delete n[s];return}const a=t?Pk(s):String(s).trim();a!==s&&delete n[s],n[a]=Oa(i),r[a]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return N.forEach(this,(r,i)=>{r!=null&&r!==!1&&(n[i]=t&&N.isArray(r)?r.join(", "):r)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,n])=>t+": "+n).join(`
|
||||
`)}getSetCookie(){return this.get("set-cookie")||[]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...n){const r=new this(t);return n.forEach(i=>r.set(i)),r}static accessor(t){const r=(this[dp]=this[dp]={accessors:{}}).accessors,i=this.prototype;function s(o){const a=ds(o);r[a]||(kk(i,o),r[a]=!0)}return N.isArray(t)?t.forEach(s):s(t),this}};at.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);N.reduceDescriptors(at.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(r){this[n]=r}}});N.freezeMethods(at);function _u(e,t){const n=this||Ro,r=t||n,i=at.from(r.headers);let s=r.data;return N.forEach(e,function(a){s=a.call(n,s,i.normalize(),t?t.status:void 0)}),i.normalize(),s}function N1(e){return!!(e&&e.__CANCEL__)}function Zi(e,t,n){Y.call(this,e??"canceled",Y.ERR_CANCELED,t,n),this.name="CanceledError"}N.inherits(Zi,Y,{__CANCEL__:!0});function M1(e,t,n){const r=n.config.validateStatus;!n.status||!r||r(n.status)?e(n):t(new Y("Request failed with status code "+n.status,[Y.ERR_BAD_REQUEST,Y.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}function Ck(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function Ek(e,t){e=e||10;const n=new Array(e),r=new Array(e);let i=0,s=0,o;return t=t!==void 0?t:1e3,function(l){const u=Date.now(),c=r[s];o||(o=u),n[i]=l,r[i]=u;let d=s,f=0;for(;d!==i;)f+=n[d++],d=d%e;if(i=(i+1)%e,i===s&&(s=(s+1)%e),u-o<t)return;const m=c&&u-c;return m?Math.round(f*1e3/m):void 0}}function Tk(e,t){let n=0,r=1e3/t,i,s;const o=(u,c=Date.now())=>{n=c,i=null,s&&(clearTimeout(s),s=null),e(...u)};return[(...u)=>{const c=Date.now(),d=c-n;d>=r?o(u,c):(i=u,s||(s=setTimeout(()=>{s=null,o(i)},r-d)))},()=>i&&o(i)]}const hl=(e,t,n=3)=>{let r=0;const i=Ek(50,250);return Tk(s=>{const o=s.loaded,a=s.lengthComputable?s.total:void 0,l=o-r,u=i(l),c=o<=a;r=o;const d={loaded:o,total:a,progress:a?o/a:void 0,bytes:l,rate:u||void 0,estimated:u&&a&&c?(a-o)/u:void 0,event:s,lengthComputable:a!=null,[t?"download":"upload"]:!0};e(d)},n)},fp=(e,t)=>{const n=e!=null;return[r=>t[0]({lengthComputable:n,total:e,loaded:r}),t[1]]},hp=e=>(...t)=>N.asap(()=>e(...t)),jk=Ue.hasStandardBrowserEnv?((e,t)=>n=>(n=new URL(n,Ue.origin),e.protocol===n.protocol&&e.host===n.host&&(t||e.port===n.port)))(new URL(Ue.origin),Ue.navigator&&/(msie|trident)/i.test(Ue.navigator.userAgent)):()=>!0,Nk=Ue.hasStandardBrowserEnv?{write(e,t,n,r,i,s){const o=[e+"="+encodeURIComponent(t)];N.isNumber(n)&&o.push("expires="+new Date(n).toGMTString()),N.isString(r)&&o.push("path="+r),N.isString(i)&&o.push("domain="+i),s===!0&&o.push("secure"),document.cookie=o.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function Mk(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function Ok(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function O1(e,t,n){let r=!Mk(t);return e&&(r||n==!1)?Ok(e,t):t}const mp=e=>e instanceof at?{...e}:e;function _r(e,t){t=t||{};const n={};function r(u,c,d,f){return N.isPlainObject(u)&&N.isPlainObject(c)?N.merge.call({caseless:f},u,c):N.isPlainObject(c)?N.merge({},c):N.isArray(c)?c.slice():c}function i(u,c,d,f){if(N.isUndefined(c)){if(!N.isUndefined(u))return r(void 0,u,d,f)}else return r(u,c,d,f)}function s(u,c){if(!N.isUndefined(c))return r(void 0,c)}function o(u,c){if(N.isUndefined(c)){if(!N.isUndefined(u))return r(void 0,u)}else return r(void 0,c)}function a(u,c,d){if(d in t)return r(u,c);if(d in e)return r(void 0,u)}const l={url:s,method:s,data:s,baseURL:o,transformRequest:o,transformResponse:o,paramsSerializer:o,timeout:o,timeoutMessage:o,withCredentials:o,withXSRFToken:o,adapter:o,responseType:o,xsrfCookieName:o,xsrfHeaderName:o,onUploadProgress:o,onDownloadProgress:o,decompress:o,maxContentLength:o,maxBodyLength:o,beforeRedirect:o,transport:o,httpAgent:o,httpsAgent:o,cancelToken:o,socketPath:o,responseEncoding:o,validateStatus:a,headers:(u,c,d)=>i(mp(u),mp(c),d,!0)};return N.forEach(Object.keys({...e,...t}),function(c){const d=l[c]||i,f=d(e[c],t[c],c);N.isUndefined(f)&&d!==a||(n[c]=f)}),n}const R1=e=>{const t=_r({},e);let{data:n,withXSRFToken:r,xsrfHeaderName:i,xsrfCookieName:s,headers:o,auth:a}=t;if(t.headers=o=at.from(o),t.url=E1(O1(t.baseURL,t.url,t.allowAbsoluteUrls),e.params,e.paramsSerializer),a&&o.set("Authorization","Basic "+btoa((a.username||"")+":"+(a.password?unescape(encodeURIComponent(a.password)):""))),N.isFormData(n)){if(Ue.hasStandardBrowserEnv||Ue.hasStandardBrowserWebWorkerEnv)o.setContentType(void 0);else if(N.isFunction(n.getHeaders)){const l=n.getHeaders(),u=["content-type","content-length"];Object.entries(l).forEach(([c,d])=>{u.includes(c.toLowerCase())&&o.set(c,d)})}}if(Ue.hasStandardBrowserEnv&&(r&&N.isFunction(r)&&(r=r(t)),r||r!==!1&&jk(t.url))){const
Line truncated
|
||||
`+o.map(xp).join(`
|
||||
`):" "+xp(o[0]):"as no adapter specified";throw new Y("There is no suitable adapter to dispatch the request "+a,"ERR_NOT_SUPPORT")}return i},adapters:pd};function zu(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new Zi(null,e)}function bp(e){return zu(e),e.headers=at.from(e.headers),e.data=_u.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),L1.getAdapter(e.adapter||Ro.adapter,e)(e).then(function(r){return zu(e),r.data=_u.call(e,e.transformResponse,r),r.headers=at.from(r.headers),r},function(r){return N1(r)||(zu(e),r&&r.response&&(r.response.data=_u.call(e,e.transformResponse,r.response),r.response.headers=at.from(r.response.headers))),Promise.reject(r)})}const A1="1.12.2",Yl={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{Yl[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}});const Sp={};Yl.transitional=function(t,n,r){function i(s,o){return"[Axios v"+A1+"] Transitional option '"+s+"'"+o+(r?". "+r:"")}return(s,o,a)=>{if(t===!1)throw new Y(i(o," has been removed"+(n?" in "+n:"")),Y.ERR_DEPRECATED);return n&&!Sp[o]&&(Sp[o]=!0,console.warn(i(o," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(s,o,a):!0}};Yl.spelling=function(t){return(n,r)=>(console.warn(`${r} is likely a misspelling of ${t}`),!0)};function Wk(e,t,n){if(typeof e!="object")throw new Y("options must be an object",Y.ERR_BAD_OPTION_VALUE);const r=Object.keys(e);let i=r.length;for(;i-- >0;){const s=r[i],o=t[s];if(o){const a=e[s],l=a===void 0||o(a,s,e);if(l!==!0)throw new Y("option "+s+" must be "+l,Y.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new Y("Unknown option "+s,Y.ERR_BAD_OPTION)}}const Ra={assertOptions:Wk,validators:Yl},Ut=Ra.validators;let Or=class{constructor(t){this.defaults=t||{},this.interceptors={request:new cp,response:new cp}}async request(t,n){try{return await this._request(t,n)}catch(r){if(r instanceof Error){let i={};Error.captureStackTrace?Error.captureStackTrace(i):i=new Error;const s=i.stack?i.stack.replace(/^.+\n/,""):"";try{r.stack?s&&!String(r.stack).endsWith(s.replace(/^.+\n.+\n/,""))&&(r.stack+=`
|
||||
`+s):r.stack=s}catch{}}throw r}}_request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=_r(this.defaults,n);const{transitional:r,paramsSerializer:i,headers:s}=n;r!==void 0&&Ra.assertOptions(r,{silentJSONParsing:Ut.transitional(Ut.boolean),forcedJSONParsing:Ut.transitional(Ut.boolean),clarifyTimeoutError:Ut.transitional(Ut.boolean)},!1),i!=null&&(N.isFunction(i)?n.paramsSerializer={serialize:i}:Ra.assertOptions(i,{encode:Ut.function,serialize:Ut.function},!0)),n.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls!==void 0?n.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:n.allowAbsoluteUrls=!0),Ra.assertOptions(n,{baseUrl:Ut.spelling("baseURL"),withXsrfToken:Ut.spelling("withXSRFToken")},!0),n.method=(n.method||this.defaults.method||"get").toLowerCase();let o=s&&N.merge(s.common,s[n.method]);s&&N.forEach(["delete","get","head","post","put","patch","common"],p=>{delete s[p]}),n.headers=at.concat(o,s);const a=[];let l=!0;this.interceptors.request.forEach(function(v){typeof v.runWhen=="function"&&v.runWhen(n)===!1||(l=l&&v.synchronous,a.unshift(v.fulfilled,v.rejected))});const u=[];this.interceptors.response.forEach(function(v){u.push(v.fulfilled,v.rejected)});let c,d=0,f;if(!l){const p=[bp.bind(this),void 0];for(p.unshift(...a),p.push(...u),f=p.length,c=Promise.resolve(n);d<f;)c=c.then(p[d++],p[d++]);return c}f=a.length;let m=n;for(;d<f;){const p=a[d++],v=a[d++];try{m=p(m)}catch(x){v.call(this,x);break}}try{c=bp.call(this,m)}catch(p){return Promise.reject(p)}for(d=0,f=u.length;d<f;)c=c.then(u[d++],u[d++]);return c}getUri(t){t=_r(this.defaults,t);const n=O1(t.baseURL,t.url,t.allowAbsoluteUrls);return E1(n,t.params,t.paramsSerializer)}};N.forEach(["delete","get","head","options"],function(t){Or.prototype[t]=function(n,r){return this.request(_r(r||{},{method:t,url:n,data:(r||{}).data}))}});N.forEach(["post","put","patch"],function(t){function n(r){return function(s,o,a){return this.request(_r(a||{},{method:t,headers:r?{"Content-Type":"multipart/form-data"}:{},url:s,data:o}))}}Or.prototype[t]=n(),Or.prototype[t+"Form"]=n(!0)});let Uk=class $1{constructor(t){if(typeof t!="function")throw new TypeError("executor must be a function.");let n;this.promise=new Promise(function(s){n=s});const r=this;this.promise.then(i=>{if(!r._listeners)return;let s=r._listeners.length;for(;s-- >0;)r._listeners[s](i);r._listeners=null}),this.promise.then=i=>{let s;const o=new Promise(a=>{r.subscribe(a),s=a}).then(i);return o.cancel=function(){r.unsubscribe(s)},o},t(function(s,o,a){r.reason||(r.reason=new Zi(s,o,a),n(r.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const n=this._listeners.indexOf(t);n!==-1&&this._listeners.splice(n,1)}toAbortSignal(){const t=new AbortController,n=r=>{t.abort(r)};return this.subscribe(n),t.signal.unsubscribe=()=>this.unsubscribe(n),t.signal}static source(){let t;return{token:new $1(function(i){t=i}),cancel:t}}};function Bk(e){return function(n){return e.apply(null,n)}}function Hk(e){return N.isObject(e)&&e.isAxiosError===!0}const gd={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(gd).forEach(([e,t])=>{gd[t]=e});function F1(e){const t=new Or(e),n=m1(Or.prototype.request,t);return N.extend(n,Or.prototype,t,{allOwnKeys:!0}),N.extend(n,t,null,{allOwnKeys:!0}),n.create=function(i){return F1(_r(e,i))},n}const ke=F1(Ro);ke.Axios=Or;ke.CanceledError=Zi;ke.CancelToken=Uk;ke.isCancel=N1;ke.VERSION=A1;ke.toFormData=Gl;ke.AxiosError=Y;ke.Cancel=ke.CanceledError;ke.all=function(t){return Promise.all(t)};ke.spread=Bk;ke.isAxiosError=Hk;ke.mergeConfig=_r;ke.AxiosHeaders=at;ke.formToJSON=e=>j1(N.isHTMLForm(e)?new FormData(e):e);ke.getAdapter=L1.getAdapter;ke.HttpStatusCode=gd;ke.default=ke;const{Axi
Line truncated
|
||||
* @remix-run/router v1.23.0
|
||||
*
|
||||
* Copyright (c) Remix Software Inc.
|
||||
@@ -51,7 +51,7 @@ Error generating stack: `+s.message+`
|
||||
* LICENSE.md file in the root directory of this source tree.
|
||||
*
|
||||
* @license MIT
|
||||
*/function oo(){return oo=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},oo.apply(this,arguments)}var Wn;(function(e){e.Pop="POP",e.Push="PUSH",e.Replace="REPLACE"})(Wn||(Wn={}));const bp="popstate";function Wk(e){e===void 0&&(e={});function t(r,i){let{pathname:s,search:o,hash:a}=r.location;return gd("",{pathname:s,search:o,hash:a},i.state&&i.state.usr||null,i.state&&i.state.key||"default")}function n(r,i){return typeof i=="string"?i:fl(i)}return Bk(t,n,null,e)}function Ee(e,t){if(e===!1||e===null||typeof e>"u")throw new Error(t)}function $1(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function Uk(){return Math.random().toString(36).substr(2,8)}function Sp(e,t){return{usr:e.state,key:e.key,idx:t}}function gd(e,t,n,r){return n===void 0&&(n=null),oo({pathname:typeof e=="string"?e:e.pathname,search:"",hash:""},typeof t=="string"?es(t):t,{state:n,key:t&&t.key||r||Uk()})}function fl(e){let{pathname:t="/",search:n="",hash:r=""}=e;return n&&n!=="?"&&(t+=n.charAt(0)==="?"?n:"?"+n),r&&r!=="#"&&(t+=r.charAt(0)==="#"?r:"#"+r),t}function es(e){let t={};if(e){let n=e.indexOf("#");n>=0&&(t.hash=e.substr(n),e=e.substr(0,n));let r=e.indexOf("?");r>=0&&(t.search=e.substr(r),e=e.substr(0,r)),e&&(t.pathname=e)}return t}function Bk(e,t,n,r){r===void 0&&(r={});let{window:i=document.defaultView,v5Compat:s=!1}=r,o=i.history,a=Wn.Pop,l=null,u=c();u==null&&(u=0,o.replaceState(oo({},o.state,{idx:u}),""));function c(){return(o.state||{idx:null}).idx}function d(){a=Wn.Pop;let x=c(),y=x==null?null:x-u;u=x,l&&l({action:a,location:v.location,delta:y})}function f(x,y){a=Wn.Push;let g=gd(v.location,x,y);u=c()+1;let w=Sp(g,u),S=v.createHref(g);try{o.pushState(w,"",S)}catch(P){if(P instanceof DOMException&&P.name==="DataCloneError")throw P;i.location.assign(S)}s&&l&&l({action:a,location:v.location,delta:1})}function m(x,y){a=Wn.Replace;let g=gd(v.location,x,y);u=c();let w=Sp(g,u),S=v.createHref(g);o.replaceState(w,"",S),s&&l&&l({action:a,location:v.location,delta:0})}function p(x){let y=i.location.origin!=="null"?i.location.origin:i.location.href,g=typeof x=="string"?x:fl(x);return g=g.replace(/ $/,"%20"),Ee(y,"No window.location.(origin|href) available to create URL for href: "+g),new URL(g,y)}let v={get action(){return a},get location(){return e(i,o)},listen(x){if(l)throw new Error("A history only accepts one active listener");return i.addEventListener(bp,d),l=x,()=>{i.removeEventListener(bp,d),l=null}},createHref(x){return t(i,x)},createURL:p,encodeLocation(x){let y=p(x);return{pathname:y.pathname,search:y.search,hash:y.hash}},push:f,replace:m,go(x){return o.go(x)}};return v}var Pp;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(Pp||(Pp={}));function Hk(e,t,n){return n===void 0&&(n="/"),qk(e,t,n)}function qk(e,t,n,r){let i=typeof t=="string"?es(t):t,s=Xf(i.pathname||"/",n);if(s==null)return null;let o=F1(e);Kk(o);let a=null;for(let l=0;a==null&&l<o.length;++l){let u=sC(s);a=nC(o[l],u)}return a}function F1(e,t,n,r){t===void 0&&(t=[]),n===void 0&&(n=[]),r===void 0&&(r="");let i=(s,o,a)=>{let l={relativePath:a===void 0?s.path||"":a,caseSensitive:s.caseSensitive===!0,childrenIndex:o,route:s};l.relativePath.startsWith("/")&&(Ee(l.relativePath.startsWith(r),'Absolute route path "'+l.relativePath+'" nested under path '+('"'+r+'" is not valid. An absolute child route path ')+"must start with the combined path of all its parent routes."),l.relativePath=l.relativePath.slice(r.length));let u=Yn([r,l.relativePath]),c=n.concat(l);s.children&&s.children.length>0&&(Ee(s.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+u+'".')),F1(s.children,t,c,u)),!(s.path==null&&!s.index)&&t.push({path:u,score:eC(u,s.index),routesMeta:c})};return e.forEach((s,o)=>{var a;if(s.path===""||!((a=s.path)!=null&&a.includes("?")))i(s,o);else for(let l of V1(s.path))i(s,o,l)}),t}function V1(e){let t=e.split("/");if(t.length===0)return[];let[n,...r]=t,i=n.endsWith("?"),s=n.replace(/\?$/,"");if(r.length===0)return i?[s,""]:[s];let o=V1(r.join("/")),a=[];return a.push(...o.map(l=>l===""?s:[s,l].join("/"))),i&&a.push(...o),a.map(l=>e.startsWith("/")&&l===""?"/":l)}function Kk(e){e.sort((t,n)=>t.score!==n.score?n.score-t.score:tC(t.routesMeta.map(r=>r.childrenIndex),n.routesMeta.map(r=>r.childrenIndex)))}const Qk=/^:[\w-]+$/,Xk=3,Gk=2,Yk=1,Jk=10,Zk=-2,kp=e=>e==="*";function eC(e,t){let n=e.split("/"),r=n.length;return n.some(kp)&&(r+=Zk),t&&(r+=Gk),n.filter(i=>!kp(i)).reduce((i,s)=>i+(Qk.test(s)?Xk:s===""?Yk:Jk),r)}function tC(e,t){return e.length===t.length&&e.slice(0,-1).every((r,i)=>r===t[i])?e[e.length-1]-t[t.length-1]:0}function nC(e,t,n){let{routesMeta:r}=e,i={},s="/",o=[];for(let a=0;a<r.length;++a){let l=r[a],u=a===r.length-1,c=s==="/"?t:t.slice(s.length)||"/",d=rC({path:l.relativePath,caseSensitive:l.caseSeLine truncated
|
||||
*/function oo(){return oo=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},oo.apply(this,arguments)}var Un;(function(e){e.Pop="POP",e.Push="PUSH",e.Replace="REPLACE"})(Un||(Un={}));const Pp="popstate";function qk(e){e===void 0&&(e={});function t(r,i){let{pathname:s,search:o,hash:a}=r.location;return yd("",{pathname:s,search:o,hash:a},i.state&&i.state.usr||null,i.state&&i.state.key||"default")}function n(r,i){return typeof i=="string"?i:ml(i)}return Qk(t,n,null,e)}function Ee(e,t){if(e===!1||e===null||typeof e>"u")throw new Error(t)}function I1(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function Kk(){return Math.random().toString(36).substr(2,8)}function kp(e,t){return{usr:e.state,key:e.key,idx:t}}function yd(e,t,n,r){return n===void 0&&(n=null),oo({pathname:typeof e=="string"?e:e.pathname,search:"",hash:""},typeof t=="string"?es(t):t,{state:n,key:t&&t.key||r||Kk()})}function ml(e){let{pathname:t="/",search:n="",hash:r=""}=e;return n&&n!=="?"&&(t+=n.charAt(0)==="?"?n:"?"+n),r&&r!=="#"&&(t+=r.charAt(0)==="#"?r:"#"+r),t}function es(e){let t={};if(e){let n=e.indexOf("#");n>=0&&(t.hash=e.substr(n),e=e.substr(0,n));let r=e.indexOf("?");r>=0&&(t.search=e.substr(r),e=e.substr(0,r)),e&&(t.pathname=e)}return t}function Qk(e,t,n,r){r===void 0&&(r={});let{window:i=document.defaultView,v5Compat:s=!1}=r,o=i.history,a=Un.Pop,l=null,u=c();u==null&&(u=0,o.replaceState(oo({},o.state,{idx:u}),""));function c(){return(o.state||{idx:null}).idx}function d(){a=Un.Pop;let x=c(),y=x==null?null:x-u;u=x,l&&l({action:a,location:v.location,delta:y})}function f(x,y){a=Un.Push;let g=yd(v.location,x,y);u=c()+1;let w=kp(g,u),S=v.createHref(g);try{o.pushState(w,"",S)}catch(P){if(P instanceof DOMException&&P.name==="DataCloneError")throw P;i.location.assign(S)}s&&l&&l({action:a,location:v.location,delta:1})}function m(x,y){a=Un.Replace;let g=yd(v.location,x,y);u=c();let w=kp(g,u),S=v.createHref(g);o.replaceState(w,"",S),s&&l&&l({action:a,location:v.location,delta:0})}function p(x){let y=i.location.origin!=="null"?i.location.origin:i.location.href,g=typeof x=="string"?x:ml(x);return g=g.replace(/ $/,"%20"),Ee(y,"No window.location.(origin|href) available to create URL for href: "+g),new URL(g,y)}let v={get action(){return a},get location(){return e(i,o)},listen(x){if(l)throw new Error("A history only accepts one active listener");return i.addEventListener(Pp,d),l=x,()=>{i.removeEventListener(Pp,d),l=null}},createHref(x){return t(i,x)},createURL:p,encodeLocation(x){let y=p(x);return{pathname:y.pathname,search:y.search,hash:y.hash}},push:f,replace:m,go(x){return o.go(x)}};return v}var Cp;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(Cp||(Cp={}));function Xk(e,t,n){return n===void 0&&(n="/"),Gk(e,t,n)}function Gk(e,t,n,r){let i=typeof t=="string"?es(t):t,s=Gf(i.pathname||"/",n);if(s==null)return null;let o=V1(e);Yk(o);let a=null;for(let l=0;a==null&&l<o.length;++l){let u=uC(s);a=oC(o[l],u)}return a}function V1(e,t,n,r){t===void 0&&(t=[]),n===void 0&&(n=[]),r===void 0&&(r="");let i=(s,o,a)=>{let l={relativePath:a===void 0?s.path||"":a,caseSensitive:s.caseSensitive===!0,childrenIndex:o,route:s};l.relativePath.startsWith("/")&&(Ee(l.relativePath.startsWith(r),'Absolute route path "'+l.relativePath+'" nested under path '+('"'+r+'" is not valid. An absolute child route path ')+"must start with the combined path of all its parent routes."),l.relativePath=l.relativePath.slice(r.length));let u=Jn([r,l.relativePath]),c=n.concat(l);s.children&&s.children.length>0&&(Ee(s.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+u+'".')),V1(s.children,t,c,u)),!(s.path==null&&!s.index)&&t.push({path:u,score:iC(u,s.index),routesMeta:c})};return e.forEach((s,o)=>{var a;if(s.path===""||!((a=s.path)!=null&&a.includes("?")))i(s,o);else for(let l of _1(s.path))i(s,o,l)}),t}function _1(e){let t=e.split("/");if(t.length===0)return[];let[n,...r]=t,i=n.endsWith("?"),s=n.replace(/\?$/,"");if(r.length===0)return i?[s,""]:[s];let o=_1(r.join("/")),a=[];return a.push(...o.map(l=>l===""?s:[s,l].join("/"))),i&&a.push(...o),a.map(l=>e.startsWith("/")&&l===""?"/":l)}function Yk(e){e.sort((t,n)=>t.score!==n.score?n.score-t.score:sC(t.routesMeta.map(r=>r.childrenIndex),n.routesMeta.map(r=>r.childrenIndex)))}const Jk=/^:[\w-]+$/,Zk=3,eC=2,tC=1,nC=10,rC=-2,Ep=e=>e==="*";function iC(e,t){let n=e.split("/"),r=n.length;return n.some(Ep)&&(r+=rC),t&&(r+=eC),n.filter(i=>!Ep(i)).reduce((i,s)=>i+(Jk.test(s)?Zk:s===""?tC:nC),r)}function sC(e,t){return e.length===t.length&&e.slice(0,-1).every((r,i)=>r===t[i])?e[e.length-1]-t[t.length-1]:0}function oC(e,t,n){let{routesMeta:r}=e,i={},s="/",o=[];for(let a=0;a<r.length;++a){let l=r[a],u=a===r.length-1,c=s==="/"?t:t.slice(s.length)||"/",d=aC({path:l.relativePath,caseSensitive:l.caseSeLine truncated
|
||||
* React Router v6.30.1
|
||||
*
|
||||
* Copyright (c) Remix Software Inc.
|
||||
@@ -60,7 +60,7 @@ Error generating stack: `+s.message+`
|
||||
* LICENSE.md file in the root directory of this source tree.
|
||||
*
|
||||
* @license MIT
|
||||
*/function ao(){return ao=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},ao.apply(this,arguments)}const Gf=b.createContext(null),mC=b.createContext(null),qr=b.createContext(null),Gl=b.createContext(null),or=b.createContext({outlet:null,matches:[],isDataRoute:!1}),W1=b.createContext(null);function pC(e,t){let{relative:n}=t===void 0?{}:t;Do()||Ee(!1);let{basename:r,navigator:i}=b.useContext(qr),{hash:s,pathname:o,search:a}=B1(e,{relative:n}),l=o;return r!=="/"&&(l=o==="/"?r:Yn([r,o])),i.createHref({pathname:l,search:a,hash:s})}function Do(){return b.useContext(Gl)!=null}function Yl(){return Do()||Ee(!1),b.useContext(Gl).location}function U1(e){b.useContext(qr).static||b.useLayoutEffect(e)}function gC(){let{isDataRoute:e}=b.useContext(or);return e?OC():yC()}function yC(){Do()||Ee(!1);let e=b.useContext(Gf),{basename:t,future:n,navigator:r}=b.useContext(qr),{matches:i}=b.useContext(or),{pathname:s}=Yl(),o=JSON.stringify(I1(i,n.v7_relativeSplatPath)),a=b.useRef(!1);return U1(()=>{a.current=!0}),b.useCallback(function(u,c){if(c===void 0&&(c={}),!a.current)return;if(typeof u=="number"){r.go(u);return}let d=_1(u,JSON.parse(o),s,c.relative==="path");e==null&&t!=="/"&&(d.pathname=d.pathname==="/"?t:Yn([t,d.pathname])),(c.replace?r.replace:r.push)(d,c.state,c)},[t,r,o,s,e])}const vC=b.createContext(null);function wC(e){let t=b.useContext(or).outlet;return t&&b.createElement(vC.Provider,{value:e},t)}function B1(e,t){let{relative:n}=t===void 0?{}:t,{future:r}=b.useContext(qr),{matches:i}=b.useContext(or),{pathname:s}=Yl(),o=JSON.stringify(I1(i,r.v7_relativeSplatPath));return b.useMemo(()=>_1(e,JSON.parse(o),s,n==="path"),[e,o,s,n])}function xC(e,t){return bC(e,t)}function bC(e,t,n,r){Do()||Ee(!1);let{navigator:i}=b.useContext(qr),{matches:s}=b.useContext(or),o=s[s.length-1],a=o?o.params:{};o&&o.pathname;let l=o?o.pathnameBase:"/";o&&o.route;let u=Yl(),c;if(t){var d;let x=typeof t=="string"?es(t):t;l==="/"||(d=x.pathname)!=null&&d.startsWith(l)||Ee(!1),c=x}else c=u;let f=c.pathname||"/",m=f;if(l!=="/"){let x=l.replace(/^\//,"").split("/");m="/"+f.replace(/^\//,"").split("/").slice(x.length).join("/")}let p=Hk(e,{pathname:m}),v=EC(p&&p.map(x=>Object.assign({},x,{params:Object.assign({},a,x.params),pathname:Yn([l,i.encodeLocation?i.encodeLocation(x.pathname).pathname:x.pathname]),pathnameBase:x.pathnameBase==="/"?l:Yn([l,i.encodeLocation?i.encodeLocation(x.pathnameBase).pathname:x.pathnameBase])})),s,n,r);return t&&v?b.createElement(Gl.Provider,{value:{location:ao({pathname:"/",search:"",hash:"",state:null,key:"default"},c),navigationType:Wn.Pop}},v):v}function SC(){let e=NC(),t=fC(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,i={padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"};return b.createElement(b.Fragment,null,b.createElement("h2",null,"Unexpected Application Error!"),b.createElement("h3",{style:{fontStyle:"italic"}},t),n?b.createElement("pre",{style:i},n):null,null)}const PC=b.createElement(SC,null);class kC extends b.Component{constructor(t){super(t),this.state={location:t.location,revalidation:t.revalidation,error:t.error}}static getDerivedStateFromError(t){return{error:t}}static getDerivedStateFromProps(t,n){return n.location!==t.location||n.revalidation!=="idle"&&t.revalidation==="idle"?{error:t.error,location:t.location,revalidation:t.revalidation}:{error:t.error!==void 0?t.error:n.error,location:n.location,revalidation:t.revalidation||n.revalidation}}componentDidCatch(t,n){console.error("React Router caught the following error during render",t,n)}render(){return this.state.error!==void 0?b.createElement(or.Provider,{value:this.props.routeContext},b.createElement(W1.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function CC(e){let{routeContext:t,match:n,children:r}=e,i=b.useContext(Gf);return i&&i.static&&i.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(i.staticContext._deepestRenderedBoundaryId=n.route.id),b.createElement(or.Provider,{value:t},r)}function EC(e,t,n,r){var i;if(t===void 0&&(t=[]),n===void 0&&(n=null),r===void 0&&(r=null),e==null){var s;if(!n)return null;if(n.errors)e=n.matches;else if((s=r)!=null&&s.v7_partialHydration&&t.length===0&&!n.initialized&&n.matches.length>0)e=n.matches;else return null}let o=e,a=(i=n)==null?void 0:i.errors;if(a!=null){let c=o.findIndex(d=>d.route.id&&(a==null?void 0:a[d.route.id])!==void 0);c>=0||Ee(!1),o=o.slice(0,Math.min(o.length,c+1))}let l=!1,u=-1;if(n&&r&&r.v7_partialHydration)for(let c=0;c<o.length;c++){let d=o[c];if((d.route.HydrateFallback||d.route.hydrateFallbackElement)&&(u=c),d.route.id){let{loaderData:f,errors:m}=n,p=d.route.loader&&f[d.route.id]===void 0&&(!m||m[d.route.id]===void 0);if(d.route.lazy||p){l=!0,u>=0?o=o.slice(0,u+1):o=[o[0]];break}}}return o.reduceRight((c,d,f)=>{let m,p=!1,v=nuLine truncated
|
||||
*/function ao(){return ao=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},ao.apply(this,arguments)}const Yf=b.createContext(null),vC=b.createContext(null),qr=b.createContext(null),Jl=b.createContext(null),ar=b.createContext({outlet:null,matches:[],isDataRoute:!1}),B1=b.createContext(null);function wC(e,t){let{relative:n}=t===void 0?{}:t;Do()||Ee(!1);let{basename:r,navigator:i}=b.useContext(qr),{hash:s,pathname:o,search:a}=q1(e,{relative:n}),l=o;return r!=="/"&&(l=o==="/"?r:Jn([r,o])),i.createHref({pathname:l,search:a,hash:s})}function Do(){return b.useContext(Jl)!=null}function Zl(){return Do()||Ee(!1),b.useContext(Jl).location}function H1(e){b.useContext(qr).static||b.useLayoutEffect(e)}function xC(){let{isDataRoute:e}=b.useContext(ar);return e?AC():bC()}function bC(){Do()||Ee(!1);let e=b.useContext(Yf),{basename:t,future:n,navigator:r}=b.useContext(qr),{matches:i}=b.useContext(ar),{pathname:s}=Zl(),o=JSON.stringify(z1(i,n.v7_relativeSplatPath)),a=b.useRef(!1);return H1(()=>{a.current=!0}),b.useCallback(function(u,c){if(c===void 0&&(c={}),!a.current)return;if(typeof u=="number"){r.go(u);return}let d=W1(u,JSON.parse(o),s,c.relative==="path");e==null&&t!=="/"&&(d.pathname=d.pathname==="/"?t:Jn([t,d.pathname])),(c.replace?r.replace:r.push)(d,c.state,c)},[t,r,o,s,e])}const SC=b.createContext(null);function PC(e){let t=b.useContext(ar).outlet;return t&&b.createElement(SC.Provider,{value:e},t)}function q1(e,t){let{relative:n}=t===void 0?{}:t,{future:r}=b.useContext(qr),{matches:i}=b.useContext(ar),{pathname:s}=Zl(),o=JSON.stringify(z1(i,r.v7_relativeSplatPath));return b.useMemo(()=>W1(e,JSON.parse(o),s,n==="path"),[e,o,s,n])}function kC(e,t){return CC(e,t)}function CC(e,t,n,r){Do()||Ee(!1);let{navigator:i}=b.useContext(qr),{matches:s}=b.useContext(ar),o=s[s.length-1],a=o?o.params:{};o&&o.pathname;let l=o?o.pathnameBase:"/";o&&o.route;let u=Zl(),c;if(t){var d;let x=typeof t=="string"?es(t):t;l==="/"||(d=x.pathname)!=null&&d.startsWith(l)||Ee(!1),c=x}else c=u;let f=c.pathname||"/",m=f;if(l!=="/"){let x=l.replace(/^\//,"").split("/");m="/"+f.replace(/^\//,"").split("/").slice(x.length).join("/")}let p=Xk(e,{pathname:m}),v=MC(p&&p.map(x=>Object.assign({},x,{params:Object.assign({},a,x.params),pathname:Jn([l,i.encodeLocation?i.encodeLocation(x.pathname).pathname:x.pathname]),pathnameBase:x.pathnameBase==="/"?l:Jn([l,i.encodeLocation?i.encodeLocation(x.pathnameBase).pathname:x.pathnameBase])})),s,n,r);return t&&v?b.createElement(Jl.Provider,{value:{location:ao({pathname:"/",search:"",hash:"",state:null,key:"default"},c),navigationType:Un.Pop}},v):v}function EC(){let e=LC(),t=gC(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,i={padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"};return b.createElement(b.Fragment,null,b.createElement("h2",null,"Unexpected Application Error!"),b.createElement("h3",{style:{fontStyle:"italic"}},t),n?b.createElement("pre",{style:i},n):null,null)}const TC=b.createElement(EC,null);class jC extends b.Component{constructor(t){super(t),this.state={location:t.location,revalidation:t.revalidation,error:t.error}}static getDerivedStateFromError(t){return{error:t}}static getDerivedStateFromProps(t,n){return n.location!==t.location||n.revalidation!=="idle"&&t.revalidation==="idle"?{error:t.error,location:t.location,revalidation:t.revalidation}:{error:t.error!==void 0?t.error:n.error,location:n.location,revalidation:t.revalidation||n.revalidation}}componentDidCatch(t,n){console.error("React Router caught the following error during render",t,n)}render(){return this.state.error!==void 0?b.createElement(ar.Provider,{value:this.props.routeContext},b.createElement(B1.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function NC(e){let{routeContext:t,match:n,children:r}=e,i=b.useContext(Yf);return i&&i.static&&i.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(i.staticContext._deepestRenderedBoundaryId=n.route.id),b.createElement(ar.Provider,{value:t},r)}function MC(e,t,n,r){var i;if(t===void 0&&(t=[]),n===void 0&&(n=null),r===void 0&&(r=null),e==null){var s;if(!n)return null;if(n.errors)e=n.matches;else if((s=r)!=null&&s.v7_partialHydration&&t.length===0&&!n.initialized&&n.matches.length>0)e=n.matches;else return null}let o=e,a=(i=n)==null?void 0:i.errors;if(a!=null){let c=o.findIndex(d=>d.route.id&&(a==null?void 0:a[d.route.id])!==void 0);c>=0||Ee(!1),o=o.slice(0,Math.min(o.length,c+1))}let l=!1,u=-1;if(n&&r&&r.v7_partialHydration)for(let c=0;c<o.length;c++){let d=o[c];if((d.route.HydrateFallback||d.route.hydrateFallbackElement)&&(u=c),d.route.id){let{loaderData:f,errors:m}=n,p=d.route.loader&&f[d.route.id]===void 0&&(!m||m[d.route.id]===void 0);if(d.route.lazy||p){l=!0,u>=0?o=o.slice(0,u+1):o=[o[0]];break}}}return o.reduceRight((c,d,f)=>{let m,p=!1,v=nuLine truncated
|
||||
* React Router DOM v6.30.1
|
||||
*
|
||||
* Copyright (c) Remix Software Inc.
|
||||
@@ -69,7 +69,7 @@ Error generating stack: `+s.message+`
|
||||
* LICENSE.md file in the root directory of this source tree.
|
||||
*
|
||||
* @license MIT
|
||||
*/function vd(){return vd=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},vd.apply(this,arguments)}function FC(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,s;for(s=0;s<r.length;s++)i=r[s],!(t.indexOf(i)>=0)&&(n[i]=e[i]);return n}function VC(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function IC(e,t){return e.button===0&&(!t||t==="_self")&&!VC(e)}const _C=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","viewTransition"],zC="6";try{window.__reactRouterVersion=zC}catch{}const WC="startTransition",Ep=Sb[WC];function UC(e){let{basename:t,children:n,future:r,window:i}=e,s=b.useRef();s.current==null&&(s.current=Wk({window:i,v5Compat:!0}));let o=s.current,[a,l]=b.useState({action:o.action,location:o.location}),{v7_startTransition:u}=r||{},c=b.useCallback(d=>{u&&Ep?Ep(()=>l(d)):l(d)},[l,u]);return b.useLayoutEffect(()=>o.listen(c),[o,c]),b.useEffect(()=>DC(r),[r]),b.createElement(AC,{basename:t,children:n,location:a.location,navigationType:a.action,navigator:o,future:r})}const BC=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",HC=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,Yf=b.forwardRef(function(t,n){let{onClick:r,relative:i,reloadDocument:s,replace:o,state:a,target:l,to:u,preventScrollReset:c,viewTransition:d}=t,f=FC(t,_C),{basename:m}=b.useContext(qr),p,v=!1;if(typeof u=="string"&&HC.test(u)&&(p=u,BC))try{let w=new URL(window.location.href),S=u.startsWith("//")?new URL(w.protocol+u):new URL(u),P=Xf(S.pathname,m);S.origin===w.origin&&P!=null?u=P+S.search+S.hash:v=!0}catch{}let x=pC(u,{relative:i}),y=qC(u,{replace:o,state:a,target:l,preventScrollReset:c,relative:i,viewTransition:d});function g(w){r&&r(w),w.defaultPrevented||y(w)}return b.createElement("a",vd({},f,{href:p||x,onClick:v||s?r:g,ref:n,target:l}))});var Tp;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(Tp||(Tp={}));var jp;(function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(jp||(jp={}));function qC(e,t){let{target:n,replace:r,state:i,preventScrollReset:s,relative:o,viewTransition:a}=t===void 0?{}:t,l=gC(),u=Yl(),c=B1(e,{relative:o});return b.useCallback(d=>{if(IC(d,n)){d.preventDefault();let f=r!==void 0?r:fl(u)===fl(c);l(e,{replace:f,state:i,preventScrollReset:s,relative:o,viewTransition:a})}},[u,l,c,r,i,n,e,s,o,a])}var KC=({as:e="div",...t},n)=>h.jsx(e,{...t,ref:n}),QC=b.forwardRef(KC),XC="https://challenges.cloudflare.com/turnstile/v0/api.js",Jf="cf-turnstile-script",GC="cf-turnstile",Zf="onloadTurnstileCallback",Q1=e=>!!document.getElementById(e),YC=({render:e="explicit",onLoadCallbackName:t=Zf,scriptOptions:{nonce:n="",defer:r=!0,async:i=!0,id:s="",appendTo:o,onError:a,crossOrigin:l=""}={}})=>{let u=s||Jf;if(Q1(u))return;let c=document.createElement("script");c.id=u,c.src=`${XC}?onload=${t}&render=${e}`,!document.querySelector(`script[src="${c.src}"]`)&&(c.defer=!!r,c.async=!!i,n&&(c.nonce=n),l&&(c.crossOrigin=l),a&&(c.onerror=a,delete window[t]),(o==="body"?document.body:document.getElementsByTagName("head")[0]).appendChild(c))},cr={normal:{width:300,height:65},compact:{width:150,height:140},invisible:{width:0,height:0,overflow:"hidden"},flexible:{minWidth:300,width:"100%",height:65},interactionOnly:{width:"fit-content",height:"auto",display:"flex"}};function JC(e){if(e!=="invisible"&&e!=="interactionOnly")return e}function ZC(e=Jf){let[t,n]=b.useState(!1);return b.useEffect(()=>{let r=()=>{Q1(e)&&n(!0)},i=new MutationObserver(r);return i.observe(document,{childList:!0,subtree:!0}),r(),()=>{i.disconnect()}},[e]),t}var $s="unloaded",X1,eE=new Promise((e,t)=>{X1={resolve:e,reject:t},$s==="ready"&&e(void 0)}),tE=(e=Zf)=>($s==="unloaded"&&($s="loading",window[e]=()=>{X1.resolve(),$s="ready",delete window[e]}),eE),eh=b.forwardRef((e,t)=>{let{scriptOptions:n,options:r={},siteKey:i,onWidgetLoad:s,onSuccess:o,onExpire:a,onError:l,onBeforeInteractive:u,onAfterInteractive:c,onUnsupported:d,onTimeout:f,onLoadScript:m,id:p,style:v,as:x="div",injectScript:y=!0,rerenderOnCallbackChange:g=!1,...w}=e,S=r.size,P=b.useCallback(()=>typeof S>"u"?{}:r.execution==="execute"?cr.invisible:r.appearance==="interaction-only"?cr.interactionOnly:cr[S],[r.execution,S,r.appearance]),[T,C]=b.useState(P()),j=b.useRef(null),[$,_]=b.useState(!1),W=b.useRef(),ee=b.useRef(!1),ve=p||GC,te=b.useRef({onSuccess:o,onError:l,onExpire:a,onBeforeInteractive:u,onAfterInteractive:c,onUnsupported:d,onTimeout:f});b.useEffect(()=>{g||(te.current={onSuccess:o,onError:l,onExpire:a,onBeforeInteractive:u,onAfterInteractive:c,onUnsupported:d,onTimeout:f})});let E=(n==null?void 0:n.id)||Jf,O=ZC(E),V=(n==null?void 0:n.onLoadCallbackName)||Zf,N=r.appearance||"always",L=Line truncated
|
||||
*/function wd(){return wd=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},wd.apply(this,arguments)}function zC(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,s;for(s=0;s<r.length;s++)i=r[s],!(t.indexOf(i)>=0)&&(n[i]=e[i]);return n}function WC(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function UC(e,t){return e.button===0&&(!t||t==="_self")&&!WC(e)}const BC=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","viewTransition"],HC="6";try{window.__reactRouterVersion=HC}catch{}const qC="startTransition",jp=Eb[qC];function KC(e){let{basename:t,children:n,future:r,window:i}=e,s=b.useRef();s.current==null&&(s.current=qk({window:i,v5Compat:!0}));let o=s.current,[a,l]=b.useState({action:o.action,location:o.location}),{v7_startTransition:u}=r||{},c=b.useCallback(d=>{u&&jp?jp(()=>l(d)):l(d)},[l,u]);return b.useLayoutEffect(()=>o.listen(c),[o,c]),b.useEffect(()=>FC(r),[r]),b.createElement(VC,{basename:t,children:n,location:a.location,navigationType:a.action,navigator:o,future:r})}const QC=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",XC=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,Jf=b.forwardRef(function(t,n){let{onClick:r,relative:i,reloadDocument:s,replace:o,state:a,target:l,to:u,preventScrollReset:c,viewTransition:d}=t,f=zC(t,BC),{basename:m}=b.useContext(qr),p,v=!1;if(typeof u=="string"&&XC.test(u)&&(p=u,QC))try{let w=new URL(window.location.href),S=u.startsWith("//")?new URL(w.protocol+u):new URL(u),P=Gf(S.pathname,m);S.origin===w.origin&&P!=null?u=P+S.search+S.hash:v=!0}catch{}let x=wC(u,{relative:i}),y=GC(u,{replace:o,state:a,target:l,preventScrollReset:c,relative:i,viewTransition:d});function g(w){r&&r(w),w.defaultPrevented||y(w)}return b.createElement("a",wd({},f,{href:p||x,onClick:v||s?r:g,ref:n,target:l}))});var Np;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(Np||(Np={}));var Mp;(function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(Mp||(Mp={}));function GC(e,t){let{target:n,replace:r,state:i,preventScrollReset:s,relative:o,viewTransition:a}=t===void 0?{}:t,l=xC(),u=Zl(),c=q1(e,{relative:o});return b.useCallback(d=>{if(UC(d,n)){d.preventDefault();let f=r!==void 0?r:ml(u)===ml(c);l(e,{replace:f,state:i,preventScrollReset:s,relative:o,viewTransition:a})}},[u,l,c,r,i,n,e,s,o,a])}var YC=({as:e="div",...t},n)=>h.jsx(e,{...t,ref:n}),JC=b.forwardRef(YC),ZC="https://challenges.cloudflare.com/turnstile/v0/api.js",Zf="cf-turnstile-script",eE="cf-turnstile",eh="onloadTurnstileCallback",G1=e=>!!document.getElementById(e),tE=({render:e="explicit",onLoadCallbackName:t=eh,scriptOptions:{nonce:n="",defer:r=!0,async:i=!0,id:s="",appendTo:o,onError:a,crossOrigin:l=""}={}})=>{let u=s||Zf;if(G1(u))return;let c=document.createElement("script");c.id=u,c.src=`${ZC}?onload=${t}&render=${e}`,!document.querySelector(`script[src="${c.src}"]`)&&(c.defer=!!r,c.async=!!i,n&&(c.nonce=n),l&&(c.crossOrigin=l),a&&(c.onerror=a,delete window[t]),(o==="body"?document.body:document.getElementsByTagName("head")[0]).appendChild(c))},cr={normal:{width:300,height:65},compact:{width:150,height:140},invisible:{width:0,height:0,overflow:"hidden"},flexible:{minWidth:300,width:"100%",height:65},interactionOnly:{width:"fit-content",height:"auto",display:"flex"}};function nE(e){if(e!=="invisible"&&e!=="interactionOnly")return e}function rE(e=Zf){let[t,n]=b.useState(!1);return b.useEffect(()=>{let r=()=>{G1(e)&&n(!0)},i=new MutationObserver(r);return i.observe(document,{childList:!0,subtree:!0}),r(),()=>{i.disconnect()}},[e]),t}var $s="unloaded",Y1,iE=new Promise((e,t)=>{Y1={resolve:e,reject:t},$s==="ready"&&e(void 0)}),sE=(e=eh)=>($s==="unloaded"&&($s="loading",window[e]=()=>{Y1.resolve(),$s="ready",delete window[e]}),iE),th=b.forwardRef((e,t)=>{let{scriptOptions:n,options:r={},siteKey:i,onWidgetLoad:s,onSuccess:o,onExpire:a,onError:l,onBeforeInteractive:u,onAfterInteractive:c,onUnsupported:d,onTimeout:f,onLoadScript:m,id:p,style:v,as:x="div",injectScript:y=!0,rerenderOnCallbackChange:g=!1,...w}=e,S=r.size,P=b.useCallback(()=>typeof S>"u"?{}:r.execution==="execute"?cr.invisible:r.appearance==="interaction-only"?cr.interactionOnly:cr[S],[r.execution,S,r.appearance]),[T,C]=b.useState(P()),j=b.useRef(null),[$,_]=b.useState(!1),W=b.useRef(),ee=b.useRef(!1),ve=p||eE,te=b.useRef({onSuccess:o,onError:l,onExpire:a,onBeforeInteractive:u,onAfterInteractive:c,onUnsupported:d,onTimeout:f});b.useEffect(()=>{g||(te.current={onSuccess:o,onError:l,onExpire:a,onBeforeInteractive:u,onAfterInteractive:c,onUnsupported:d,onTimeout:f})});let E=(n==null?void 0:n.id)||Zf,O=rE(E),I=(n==null?void 0:n.onLoadCallbackName)||eh,M=r.appearance||"always",L=Line truncated
|
||||
from {
|
||||
transform: scale(0) rotate(45deg);
|
||||
opacity: 0;
|
||||
@@ -77,7 +77,7 @@ from {
|
||||
to {
|
||||
transform: scale(1) rotate(45deg);
|
||||
opacity: 1;
|
||||
}`,FE=xn`
|
||||
}`,zE=xn`
|
||||
from {
|
||||
transform: scale(0);
|
||||
opacity: 0;
|
||||
@@ -85,7 +85,7 @@ from {
|
||||
to {
|
||||
transform: scale(1);
|
||||
opacity: 1;
|
||||
}`,VE=xn`
|
||||
}`,WE=xn`
|
||||
from {
|
||||
transform: scale(0) rotate(90deg);
|
||||
opacity: 0;
|
||||
@@ -93,7 +93,7 @@ from {
|
||||
to {
|
||||
transform: scale(1) rotate(90deg);
|
||||
opacity: 1;
|
||||
}`,IE=lr("div")`
|
||||
}`,UE=lr("div")`
|
||||
width: 20px;
|
||||
opacity: 0;
|
||||
height: 20px;
|
||||
@@ -102,14 +102,14 @@ to {
|
||||
position: relative;
|
||||
transform: rotate(45deg);
|
||||
|
||||
animation: ${$E} 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275)
|
||||
animation: ${_E} 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275)
|
||||
forwards;
|
||||
animation-delay: 100ms;
|
||||
|
||||
&:after,
|
||||
&:before {
|
||||
content: '';
|
||||
animation: ${FE} 0.15s ease-out forwards;
|
||||
animation: ${zE} 0.15s ease-out forwards;
|
||||
animation-delay: 150ms;
|
||||
position: absolute;
|
||||
border-radius: 3px;
|
||||
@@ -122,18 +122,18 @@ to {
|
||||
}
|
||||
|
||||
&:before {
|
||||
animation: ${VE} 0.15s ease-out forwards;
|
||||
animation: ${WE} 0.15s ease-out forwards;
|
||||
animation-delay: 180ms;
|
||||
transform: rotate(90deg);
|
||||
}
|
||||
`,_E=xn`
|
||||
`,BE=xn`
|
||||
from {
|
||||
transform: rotate(0deg);
|
||||
}
|
||||
to {
|
||||
transform: rotate(360deg);
|
||||
}
|
||||
`,zE=lr("div")`
|
||||
`,HE=lr("div")`
|
||||
width: 12px;
|
||||
height: 12px;
|
||||
box-sizing: border-box;
|
||||
@@ -141,8 +141,8 @@ to {
|
||||
border-radius: 100%;
|
||||
border-color: ${e=>e.secondary||"#e0e0e0"};
|
||||
border-right-color: ${e=>e.primary||"#616161"};
|
||||
animation: ${_E} 1s linear infinite;
|
||||
`,WE=xn`
|
||||
animation: ${BE} 1s linear infinite;
|
||||
`,qE=xn`
|
||||
from {
|
||||
transform: scale(0) rotate(45deg);
|
||||
opacity: 0;
|
||||
@@ -150,7 +150,7 @@ from {
|
||||
to {
|
||||
transform: scale(1) rotate(45deg);
|
||||
opacity: 1;
|
||||
}`,UE=xn`
|
||||
}`,KE=xn`
|
||||
0% {
|
||||
height: 0;
|
||||
width: 0;
|
||||
@@ -164,7 +164,7 @@ to {
|
||||
100% {
|
||||
opacity: 1;
|
||||
height: 10px;
|
||||
}`,BE=lr("div")`
|
||||
}`,QE=lr("div")`
|
||||
width: 20px;
|
||||
opacity: 0;
|
||||
height: 20px;
|
||||
@@ -173,13 +173,13 @@ to {
|
||||
position: relative;
|
||||
transform: rotate(45deg);
|
||||
|
||||
animation: ${WE} 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275)
|
||||
animation: ${qE} 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275)
|
||||
forwards;
|
||||
animation-delay: 100ms;
|
||||
&:after {
|
||||
content: '';
|
||||
box-sizing: border-box;
|
||||
animation: ${UE} 0.2s ease-out forwards;
|
||||
animation: ${KE} 0.2s ease-out forwards;
|
||||
opacity: 0;
|
||||
animation-delay: 200ms;
|
||||
position: absolute;
|
||||
@@ -191,16 +191,16 @@ to {
|
||||
height: 10px;
|
||||
width: 6px;
|
||||
}
|
||||
`,HE=lr("div")`
|
||||
`,XE=lr("div")`
|
||||
position: absolute;
|
||||
`,qE=lr("div")`
|
||||
`,GE=lr("div")`
|
||||
position: relative;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
min-width: 20px;
|
||||
min-height: 20px;
|
||||
`,KE=xn`
|
||||
`,YE=xn`
|
||||
from {
|
||||
transform: scale(0.6);
|
||||
opacity: 0.4;
|
||||
@@ -208,20 +208,20 @@ from {
|
||||
to {
|
||||
transform: scale(1);
|
||||
opacity: 1;
|
||||
}`,QE=lr("div")`
|
||||
}`,JE=lr("div")`
|
||||
position: relative;
|
||||
transform: scale(0.6);
|
||||
opacity: 0.4;
|
||||
min-width: 20px;
|
||||
animation: ${KE} 0.3s 0.12s cubic-bezier(0.175, 0.885, 0.32, 1.275)
|
||||
animation: ${YE} 0.3s 0.12s cubic-bezier(0.175, 0.885, 0.32, 1.275)
|
||||
forwards;
|
||||
`,XE=({toast:e})=>{let{icon:t,type:n,iconTheme:r}=e;return t!==void 0?typeof t=="string"?b.createElement(QE,null,t):t:n==="blank"?null:b.createElement(qE,null,b.createElement(zE,{...r}),n!=="loading"&&b.createElement(HE,null,n==="error"?b.createElement(IE,{...r}):b.createElement(BE,{...r})))},GE=e=>`
|
||||
`,ZE=({toast:e})=>{let{icon:t,type:n,iconTheme:r}=e;return t!==void 0?typeof t=="string"?b.createElement(JE,null,t):t:n==="blank"?null:b.createElement(GE,null,b.createElement(HE,{...r}),n!=="loading"&&b.createElement(XE,null,n==="error"?b.createElement(UE,{...r}):b.createElement(QE,{...r})))},e3=e=>`
|
||||
0% {transform: translate3d(0,${e*-200}%,0) scale(.6); opacity:.5;}
|
||||
100% {transform: translate3d(0,0,0) scale(1); opacity:1;}
|
||||
`,YE=e=>`
|
||||
`,t3=e=>`
|
||||
0% {transform: translate3d(0,0,-1px) scale(1); opacity:1;}
|
||||
100% {transform: translate3d(0,${e*-150}%,-1px) scale(.6); opacity:0;}
|
||||
`,JE="0%{opacity:0;} 100%{opacity:1;}",ZE="0%{opacity:1;} 100%{opacity:0;}",e3=lr("div")`
|
||||
`,n3="0%{opacity:0;} 100%{opacity:1;}",r3="0%{opacity:1;} 100%{opacity:0;}",i3=lr("div")`
|
||||
display: flex;
|
||||
align-items: center;
|
||||
background: #fff;
|
||||
@@ -233,19 +233,19 @@ to {
|
||||
pointer-events: auto;
|
||||
padding: 8px 10px;
|
||||
border-radius: 8px;
|
||||
`,t3=lr("div")`
|
||||
`,s3=lr("div")`
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
margin: 4px 10px;
|
||||
color: inherit;
|
||||
flex: 1 1 auto;
|
||||
white-space: pre-line;
|
||||
`,n3=(e,t)=>{let n=e.includes("top")?1:-1,[r,i]=nw()?[JE,ZE]:[GE(n),YE(n)];return{animation:t?`${xn(r)} 0.35s cubic-bezier(.21,1.02,.73,1) forwards`:`${xn(i)} 0.4s forwards cubic-bezier(.06,.71,.55,1)`}},r3=b.memo(({toast:e,position:t,style:n,children:r})=>{let i=e.height?n3(e.position||t||"top-center",e.visible):{opacity:0},s=b.createElement(XE,{toast:e}),o=b.createElement(t3,{...e.ariaProps},hl(e.message,e));return b.createElement(e3,{className:e.className,style:{...i,...n,...e.style}},typeof r=="function"?r({icon:s,message:o}):b.createElement(b.Fragment,null,s,o))});EE(b.createElement);var i3=({id:e,className:t,style:n,onHeightUpdate:r,children:i})=>{let s=b.useCallback(o=>{if(o){let a=()=>{let l=o.getBoundingClientRect().height;r(e,l)};a(),new MutationObserver(a).observe(o,{subtree:!0,childList:!0,characterData:!0})}},[e,r]);return b.createElement("div",{ref:s,className:t,style:n},i)},s3=(e,t)=>{let n=e.includes("top"),r=n?{top:0}:{bottom:0},i=e.includes("center")?{justifyContent:"center"}:e.includes("right")?{justifyContent:"flex-end"}:{};return{left:0,right:0,display:"flex",position:"absolute",transition:nw()?void 0:"all 230ms cubic-bezier(.21,1.02,.73,1)",transform:`translateY(${t*(n?1:-1)}px)`,...r,...i}},o3=Jl`
|
||||
`,o3=(e,t)=>{let n=e.includes("top")?1:-1,[r,i]=iw()?[n3,r3]:[e3(n),t3(n)];return{animation:t?`${xn(r)} 0.35s cubic-bezier(.21,1.02,.73,1) forwards`:`${xn(i)} 0.4s forwards cubic-bezier(.06,.71,.55,1)`}},a3=b.memo(({toast:e,position:t,style:n,children:r})=>{let i=e.height?o3(e.position||t||"top-center",e.visible):{opacity:0},s=b.createElement(ZE,{toast:e}),o=b.createElement(s3,{...e.ariaProps},pl(e.message,e));return b.createElement(i3,{className:e.className,style:{...i,...n,...e.style}},typeof r=="function"?r({icon:s,message:o}):b.createElement(b.Fragment,null,s,o))});ME(b.createElement);var l3=({id:e,className:t,style:n,onHeightUpdate:r,children:i})=>{let s=b.useCallback(o=>{if(o){let a=()=>{let l=o.getBoundingClientRect().height;r(e,l)};a(),new MutationObserver(a).observe(o,{subtree:!0,childList:!0,characterData:!0})}},[e,r]);return b.createElement("div",{ref:s,className:t,style:n},i)},u3=(e,t)=>{let n=e.includes("top"),r=n?{top:0}:{bottom:0},i=e.includes("center")?{justifyContent:"center"}:e.includes("right")?{justifyContent:"flex-end"}:{};return{left:0,right:0,display:"flex",position:"absolute",transition:iw()?void 0:"all 230ms cubic-bezier(.21,1.02,.73,1)",transform:`translateY(${t*(n?1:-1)}px)`,...r,...i}},c3=eu`
|
||||
z-index: 9999;
|
||||
> * {
|
||||
pointer-events: auto;
|
||||
}
|
||||
`,oa=16,a3=({reverseOrder:e,position:t="top-center",toastOptions:n,gutter:r,children:i,toasterId:s,containerStyle:o,containerClassName:a})=>{let{toasts:l,handlers:u}=AE(n,s);return b.createElement("div",{"data-rht-toaster":s||"",style:{position:"fixed",zIndex:9999,top:oa,left:oa,right:oa,bottom:oa,pointerEvents:"none",...o},className:a,onMouseEnter:u.startPause,onMouseLeave:u.endPause},l.map(c=>{let d=c.position||t,f=u.calculateOffset(c,{reverseOrder:e,gutter:r,defaultPosition:t}),m=s3(d,f);return b.createElement(i3,{id:c.id,key:c.id,onHeightUpdate:u.updateHeight,className:c.visible?o3:"",style:m},c.type==="custom"?hl(c.message,c):i?i(c):b.createElement(r3,{toast:c,position:d}))}))},l3=J;function le(e){const t=Object.prototype.toString.call(e);return e instanceof Date||typeof e=="object"&&t==="[object Date]"?new e.constructor(+e):typeof e=="number"||t==="[object Number]"||typeof e=="string"||t==="[object String]"?new Date(e):new Date(NaN)}function zr(e,t){return e instanceof Date?new e.constructor(t):new Date(t)}const aw=6048e5,u3=864e5,aa=43200,Ap=1440;let c3={};function Ao(){return c3}function Wr(e,t){var a,l,u,c;const n=Ao(),r=(t==null?void 0:t.weekStartsOn)??((l=(a=t==null?void 0:t.locale)==null?void 0:a.options)==null?void 0:l.weekStartsOn)??n.weekStartsOn??((c=(u=n.locale)==null?void 0:u.options)==null?void 0:c.weekStartsOn)??0,i=le(e),s=i.getDay(),o=(s<r?7:0)+s-r;return i.setDate(i.getDate()-o),i.setHours(0,0,0,0),i}function ml(e){return Wr(e,{weekStartsOn:1})}function lw(e){const t=le(e),n=t.getFullYear(),r=zr(e,0);r.setFullYear(n+1,0,4),r.setHours(0,0,0,0);const i=ml(r),s=zr(e,0);s.setFullYear(n,0,4),s.setHours(0,0,0,0);const o=ml(s);return t.getTime()>=i.getTime()?n+1:t.getTime()>=o.getTime()?n:n-1}function $p(e){const t=le(e);return t.setHours(0,0,0,0),t}function pl(e){const t=new Date(Date.UTC(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()));return t.setUTCFullYear(e.getFullYear()),e.getTime()-t.getTime()}function d3(e,t){const n=$p(e),r=$p(t),i=n.getTime()-pl(n),s=r.getTime()-pl(r);return Math.round((i-s)/u3)}function f3(e){const t=lw(e),n=zr(e,0);return n.setFullYear(t,0,4),n.setHours(0,0,0,0),ml(n)}function Da(e,t){const n=le(e),r=le(t),i=n.getTime()-r.getTime();return i<0?-1:i>0?1:i}function h3(e){return e instanceof Date||typeof e=="object"&&Object.prototype.toString.call(e)==="[object Date]"}function m3(e){if(!h3(e)&&typeof e!="number")return!1;const t=le(e);return!isNaN(Number(t))}function p3(e,t){const n=le(e),r=le(t),i=n.getFullYear()-r.getFullYear(),s=n.getMonth()-r.getMonth();return i*12+s}function g3(e){return e?Math[e]:Math.trunc}function y3(e,t){return le(e).getTime()-le(t).getTime()}function v3(e){const t=le(e);return t.setHours(23,59,59,999),t}function w3(e){const t=le(e),n=t.getMonth();return t.setFullYear(t.getFullYear(),n+1,0),t.setHours(23,59,59,999),t}function x3(e){const t=le(e);return+v3(t)==+w3(t)}function b3(e,t){const n=le(e),r=le(t),i=Da(n,r),s=Math.abs(p3(n,r));let o;if(s<1)o=0;else{n.getMonth()===1&&n.getDate()>27&&n.setDate(30),n.setMonth(n.getMonth()-i*s);let a=Da(n,r)===-i;x3(le(e))&&s===1&&Da(e,r)===1&&(a=!1),o=i*(s-Number(a))}return o===0?0:o}function S3(e,t,n){const r=y3(e,t)/1e3;return g3(n==null?void 0:n.roundingMethod)(r)}function P3(e){const t=le(e),n=zr(e,0);return n.setFullYear(t.getFullYear(),0,1),n.setHours(0,0,0,0),n}const k3={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}},C3=(e,t,n)=>{let r;const i=k3[e];return typeof i=="string"?r=i:t===1?r=i.one:r=i.other.replace("{{count}}",t.toString()),n!=null&&n.addSuffix?n.comparison&&n.comparison>0?"in "+r:r+" ago":r};function re(e){return(t={})=>{const n=t.width?String(t.width):e.defaultWidth;return e.formats[n]||e.formats[e.defaultWidth]}}const E3={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},T3={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},j3={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},M3={date:re({formats:E3,defaultWidth:"full"}),time:re({formats:T3,defaultWidth:"full"}),d
Line truncated
|
||||
`,aa=16,d3=({reverseOrder:e,position:t="top-center",toastOptions:n,gutter:r,children:i,toasterId:s,containerStyle:o,containerClassName:a})=>{let{toasts:l,handlers:u}=VE(n,s);return b.createElement("div",{"data-rht-toaster":s||"",style:{position:"fixed",zIndex:9999,top:aa,left:aa,right:aa,bottom:aa,pointerEvents:"none",...o},className:a,onMouseEnter:u.startPause,onMouseLeave:u.endPause},l.map(c=>{let d=c.position||t,f=u.calculateOffset(c,{reverseOrder:e,gutter:r,defaultPosition:t}),m=u3(d,f);return b.createElement(l3,{id:c.id,key:c.id,onHeightUpdate:u.updateHeight,className:c.visible?c3:"",style:m},c.type==="custom"?pl(c.message,c):i?i(c):b.createElement(a3,{toast:c,position:d}))}))},f3=J;function le(e){const t=Object.prototype.toString.call(e);return e instanceof Date||typeof e=="object"&&t==="[object Date]"?new e.constructor(+e):typeof e=="number"||t==="[object Number]"||typeof e=="string"||t==="[object String]"?new Date(e):new Date(NaN)}function zr(e,t){return e instanceof Date?new e.constructor(t):new Date(t)}const uw=6048e5,h3=864e5,la=43200,Fp=1440;let m3={};function Ao(){return m3}function Wr(e,t){var a,l,u,c;const n=Ao(),r=(t==null?void 0:t.weekStartsOn)??((l=(a=t==null?void 0:t.locale)==null?void 0:a.options)==null?void 0:l.weekStartsOn)??n.weekStartsOn??((c=(u=n.locale)==null?void 0:u.options)==null?void 0:c.weekStartsOn)??0,i=le(e),s=i.getDay(),o=(s<r?7:0)+s-r;return i.setDate(i.getDate()-o),i.setHours(0,0,0,0),i}function gl(e){return Wr(e,{weekStartsOn:1})}function cw(e){const t=le(e),n=t.getFullYear(),r=zr(e,0);r.setFullYear(n+1,0,4),r.setHours(0,0,0,0);const i=gl(r),s=zr(e,0);s.setFullYear(n,0,4),s.setHours(0,0,0,0);const o=gl(s);return t.getTime()>=i.getTime()?n+1:t.getTime()>=o.getTime()?n:n-1}function Ip(e){const t=le(e);return t.setHours(0,0,0,0),t}function yl(e){const t=new Date(Date.UTC(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()));return t.setUTCFullYear(e.getFullYear()),e.getTime()-t.getTime()}function p3(e,t){const n=Ip(e),r=Ip(t),i=n.getTime()-yl(n),s=r.getTime()-yl(r);return Math.round((i-s)/h3)}function g3(e){const t=cw(e),n=zr(e,0);return n.setFullYear(t,0,4),n.setHours(0,0,0,0),gl(n)}function Aa(e,t){const n=le(e),r=le(t),i=n.getTime()-r.getTime();return i<0?-1:i>0?1:i}function y3(e){return e instanceof Date||typeof e=="object"&&Object.prototype.toString.call(e)==="[object Date]"}function v3(e){if(!y3(e)&&typeof e!="number")return!1;const t=le(e);return!isNaN(Number(t))}function w3(e,t){const n=le(e),r=le(t),i=n.getFullYear()-r.getFullYear(),s=n.getMonth()-r.getMonth();return i*12+s}function x3(e){return e?Math[e]:Math.trunc}function b3(e,t){return le(e).getTime()-le(t).getTime()}function S3(e){const t=le(e);return t.setHours(23,59,59,999),t}function P3(e){const t=le(e),n=t.getMonth();return t.setFullYear(t.getFullYear(),n+1,0),t.setHours(23,59,59,999),t}function k3(e){const t=le(e);return+S3(t)==+P3(t)}function C3(e,t){const n=le(e),r=le(t),i=Aa(n,r),s=Math.abs(w3(n,r));let o;if(s<1)o=0;else{n.getMonth()===1&&n.getDate()>27&&n.setDate(30),n.setMonth(n.getMonth()-i*s);let a=Aa(n,r)===-i;k3(le(e))&&s===1&&Aa(e,r)===1&&(a=!1),o=i*(s-Number(a))}return o===0?0:o}function E3(e,t,n){const r=b3(e,t)/1e3;return x3(n==null?void 0:n.roundingMethod)(r)}function T3(e){const t=le(e),n=zr(e,0);return n.setFullYear(t.getFullYear(),0,1),n.setHours(0,0,0,0),n}const j3={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}},N3=(e,t,n)=>{let r;const i=j3[e];return typeof i=="string"?r=i:t===1?r=i.one:r=i.other.replace("{{count}}",t.toString()),n!=null&&n.addSuffix?n.comparison&&n.comparison>0?"in "+r:r+" ago":r};function re(e){return(t={})=>{const n=t.width?String(t.width):e.defaultWidth;return e.formats[n]||e.formats[e.defaultWidth]}}const M3={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},O3={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},R3={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},D3={date:re({formats:M3,defaultWidth:"full"}),time:re({formats:O3,defaultWidth:"full"}),d
Line truncated
|
||||
[data-motion-pop-id="${n}"] {
|
||||
position: absolute !important;
|
||||
width: ${o}px !important;
|
||||
@@ -253,7 +253,7 @@ to {
|
||||
top: ${l}px !important;
|
||||
left: ${u}px !important;
|
||||
}
|
||||
`),()=>{document.head.removeChild(c)}},[t]),h.jsx(yR,{isPresent:t,childRef:r,sizeRef:i,children:b.cloneElement(e,{ref:r})})}const wR=({children:e,initial:t,isPresent:n,onExitComplete:r,custom:i,presenceAffectsLayout:s,mode:o})=>{const a=nu(xR),l=b.useId(),u=b.useCallback(d=>{a.set(d,!0);for(const f of a.values())if(!f)return;r&&r()},[a,r]),c=b.useMemo(()=>({id:l,initial:t,isPresent:n,custom:i,onExitComplete:u,register:d=>(a.set(d,!1),()=>a.delete(d))}),s?[Math.random(),u]:[n,u]);return b.useMemo(()=>{a.forEach((d,f)=>a.set(f,!1))},[n]),b.useEffect(()=>{!n&&!a.size&&r&&r()},[n]),o==="popLayout"&&(e=h.jsx(vR,{isPresent:n,children:e})),h.jsx(ru.Provider,{value:c,children:e})};function xR(){return new Map}function yw(e=!0){const t=b.useContext(ru);if(t===null)return[!0,null];const{isPresent:n,onExitComplete:r,register:i}=t,s=b.useId();b.useEffect(()=>{e&&i(s)},[e]);const o=b.useCallback(()=>e&&r&&r(s),[s,r,e]);return!n&&r?[!1,o]:[!0]}const la=e=>e.key||"";function Kp(e){const t=[];return b.Children.forEach(e,n=>{b.isValidElement(n)&&t.push(n)}),t}const oh=typeof window<"u",ah=oh?b.useLayoutEffect:b.useEffect,bR=({children:e,custom:t,initial:n=!0,onExitComplete:r,presenceAffectsLayout:i=!0,mode:s="sync",propagate:o=!1})=>{const[a,l]=yw(o),u=b.useMemo(()=>Kp(e),[e]),c=o&&!a?[]:u.map(la),d=b.useRef(!0),f=b.useRef(u),m=nu(()=>new Map),[p,v]=b.useState(u),[x,y]=b.useState(u);ah(()=>{d.current=!1,f.current=u;for(let S=0;S<x.length;S++){const P=la(x[S]);c.includes(P)?m.delete(P):m.get(P)!==!0&&m.set(P,!1)}},[x,c.length,c.join("-")]);const g=[];if(u!==p){let S=[...u];for(let P=0;P<x.length;P++){const T=x[P],C=la(T);c.includes(C)||(S.splice(P,0,T),g.push(T))}s==="wait"&&g.length&&(S=g),y(Kp(S)),v(u);return}const{forceRender:w}=b.useContext(ih);return h.jsx(h.Fragment,{children:x.map(S=>{const P=la(S),T=o&&!a?!1:u===x||c.includes(P),C=()=>{if(m.has(P))m.set(P,!0);else return;let j=!0;m.forEach($=>{$||(j=!1)}),j&&(w==null||w(),y(f.current),o&&(l==null||l()),r&&r())};return h.jsx(wR,{isPresent:T,initial:!d.current||n?void 0:!1,custom:T?void 0:t,presenceAffectsLayout:i,mode:s,onExitComplete:T?void 0:C,children:S},P)})})},ht=e=>e;let vw=ht;function lh(e){let t;return()=>(t===void 0&&(t=e()),t)}const Bi=(e,t,n)=>{const r=t-e;return r===0?1:(n-e)/r},hn=e=>e*1e3,mn=e=>e/1e3,SR={useManualTiming:!1};function PR(e){let t=new Set,n=new Set,r=!1,i=!1;const s=new WeakSet;let o={delta:0,timestamp:0,isProcessing:!1};function a(u){s.has(u)&&(l.schedule(u),e()),u(o)}const l={schedule:(u,c=!1,d=!1)=>{const m=d&&r?t:n;return c&&s.add(u),m.has(u)||m.add(u),u},cancel:u=>{n.delete(u),s.delete(u)},process:u=>{if(o=u,r){i=!0;return}r=!0,[t,n]=[n,t],t.forEach(a),t.clear(),r=!1,i&&(i=!1,l.process(u))}};return l}const ua=["read","resolveKeyframes","update","preRender","render","postRender"],kR=40;function ww(e,t){let n=!1,r=!0;const i={delta:0,timestamp:0,isProcessing:!1},s=()=>n=!0,o=ua.reduce((y,g)=>(y[g]=PR(s),y),{}),{read:a,resolveKeyframes:l,update:u,preRender:c,render:d,postRender:f}=o,m=()=>{const y=performance.now();n=!1,i.delta=r?1e3/60:Math.max(Math.min(y-i.timestamp,kR),1),i.timestamp=y,i.isProcessing=!0,a.process(i),l.process(i),u.process(i),c.process(i),d.process(i),f.process(i),i.isProcessing=!1,n&&t&&(r=!1,e(m))},p=()=>{n=!0,r=!0,i.isProcessing||e(m)};return{schedule:ua.reduce((y,g)=>{const w=o[g];return y[g]=(S,P=!1,T=!1)=>(n||p(),w.schedule(S,P,T)),y},{}),cancel:y=>{for(let g=0;g<ua.length;g++)o[ua[g]].cancel(y)},state:i,steps:o}}const{schedule:fe,cancel:er,state:$e,steps:Wu}=ww(typeof requestAnimationFrame<"u"?requestAnimationFrame:ht,!0),xw=b.createContext({strict:!1}),Qp={animation:["animate","variants","whileHover","whileTap","exit","whileInView","whileFocus","whileDrag"],exit:["exit"],drag:["drag","dragControls"],focus:["whileFocus"],hover:["whileHover","onHoverStart","onHoverEnd"],tap:["whileTap","onTap","onTapStart","onTapCancel"],pan:["onPan","onPanStart","onPanSessionStart","onPanEnd"],inView:["whileInView","onViewportEnter","onViewportLeave"],layout:["layout","layoutId"]},Hi={};for(const e in Qp)Hi[e]={isEnabled:t=>Qp[e].some(n=>!!t[n])};function CR(e){for(const t in e)Hi[t]={...Hi[t],...e[t]}}const ER=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","ignoreStrict","viewport"]);function gl(e){return e.startsWith("while")||e.startsWith("drag")&&e!=="draggable"||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||e.startsWith("onLayout")||ER.has(e)}let bw=e=>!gl(e);function TR(e){e&&(bw=t=>t.startsWith("on")?!gl(t):e(t))}try{TR(require("@emotion/is-prop-valid").default)}catch{}function jR(e,t,n){const r={};for(const i in e)i==="values"&&typeof e.v
Line truncated
|
||||
`),()=>{document.head.removeChild(c)}},[t]),h.jsx(SR,{isPresent:t,childRef:r,sizeRef:i,children:b.cloneElement(e,{ref:r})})}const kR=({children:e,initial:t,isPresent:n,onExitComplete:r,custom:i,presenceAffectsLayout:s,mode:o})=>{const a=ru(CR),l=b.useId(),u=b.useCallback(d=>{a.set(d,!0);for(const f of a.values())if(!f)return;r&&r()},[a,r]),c=b.useMemo(()=>({id:l,initial:t,isPresent:n,custom:i,onExitComplete:u,register:d=>(a.set(d,!1),()=>a.delete(d))}),s?[Math.random(),u]:[n,u]);return b.useMemo(()=>{a.forEach((d,f)=>a.set(f,!1))},[n]),b.useEffect(()=>{!n&&!a.size&&r&&r()},[n]),o==="popLayout"&&(e=h.jsx(PR,{isPresent:n,children:e})),h.jsx(iu.Provider,{value:c,children:e})};function CR(){return new Map}function bw(e=!0){const t=b.useContext(iu);if(t===null)return[!0,null];const{isPresent:n,onExitComplete:r,register:i}=t,s=b.useId();b.useEffect(()=>{e&&i(s)},[e]);const o=b.useCallback(()=>e&&r&&r(s),[s,r,e]);return!n&&r?[!1,o]:[!0]}const ca=e=>e.key||"";function Xp(e){const t=[];return b.Children.forEach(e,n=>{b.isValidElement(n)&&t.push(n)}),t}const lh=typeof window<"u",uh=lh?b.useLayoutEffect:b.useEffect,ER=({children:e,custom:t,initial:n=!0,onExitComplete:r,presenceAffectsLayout:i=!0,mode:s="sync",propagate:o=!1})=>{const[a,l]=bw(o),u=b.useMemo(()=>Xp(e),[e]),c=o&&!a?[]:u.map(ca),d=b.useRef(!0),f=b.useRef(u),m=ru(()=>new Map),[p,v]=b.useState(u),[x,y]=b.useState(u);uh(()=>{d.current=!1,f.current=u;for(let S=0;S<x.length;S++){const P=ca(x[S]);c.includes(P)?m.delete(P):m.get(P)!==!0&&m.set(P,!1)}},[x,c.length,c.join("-")]);const g=[];if(u!==p){let S=[...u];for(let P=0;P<x.length;P++){const T=x[P],C=ca(T);c.includes(C)||(S.splice(P,0,T),g.push(T))}s==="wait"&&g.length&&(S=g),y(Xp(S)),v(u);return}const{forceRender:w}=b.useContext(oh);return h.jsx(h.Fragment,{children:x.map(S=>{const P=ca(S),T=o&&!a?!1:u===x||c.includes(P),C=()=>{if(m.has(P))m.set(P,!0);else return;let j=!0;m.forEach($=>{$||(j=!1)}),j&&(w==null||w(),y(f.current),o&&(l==null||l()),r&&r())};return h.jsx(kR,{isPresent:T,initial:!d.current||n?void 0:!1,custom:T?void 0:t,presenceAffectsLayout:i,mode:s,onExitComplete:T?void 0:C,children:S},P)})})},ht=e=>e;let Sw=ht;function ch(e){let t;return()=>(t===void 0&&(t=e()),t)}const Bi=(e,t,n)=>{const r=t-e;return r===0?1:(n-e)/r},hn=e=>e*1e3,mn=e=>e/1e3,TR={useManualTiming:!1};function jR(e){let t=new Set,n=new Set,r=!1,i=!1;const s=new WeakSet;let o={delta:0,timestamp:0,isProcessing:!1};function a(u){s.has(u)&&(l.schedule(u),e()),u(o)}const l={schedule:(u,c=!1,d=!1)=>{const m=d&&r?t:n;return c&&s.add(u),m.has(u)||m.add(u),u},cancel:u=>{n.delete(u),s.delete(u)},process:u=>{if(o=u,r){i=!0;return}r=!0,[t,n]=[n,t],t.forEach(a),t.clear(),r=!1,i&&(i=!1,l.process(u))}};return l}const da=["read","resolveKeyframes","update","preRender","render","postRender"],NR=40;function Pw(e,t){let n=!1,r=!0;const i={delta:0,timestamp:0,isProcessing:!1},s=()=>n=!0,o=da.reduce((y,g)=>(y[g]=jR(s),y),{}),{read:a,resolveKeyframes:l,update:u,preRender:c,render:d,postRender:f}=o,m=()=>{const y=performance.now();n=!1,i.delta=r?1e3/60:Math.max(Math.min(y-i.timestamp,NR),1),i.timestamp=y,i.isProcessing=!0,a.process(i),l.process(i),u.process(i),c.process(i),d.process(i),f.process(i),i.isProcessing=!1,n&&t&&(r=!1,e(m))},p=()=>{n=!0,r=!0,i.isProcessing||e(m)};return{schedule:da.reduce((y,g)=>{const w=o[g];return y[g]=(S,P=!1,T=!1)=>(n||p(),w.schedule(S,P,T)),y},{}),cancel:y=>{for(let g=0;g<da.length;g++)o[da[g]].cancel(y)},state:i,steps:o}}const{schedule:fe,cancel:tr,state:$e,steps:Uu}=Pw(typeof requestAnimationFrame<"u"?requestAnimationFrame:ht,!0),kw=b.createContext({strict:!1}),Gp={animation:["animate","variants","whileHover","whileTap","exit","whileInView","whileFocus","whileDrag"],exit:["exit"],drag:["drag","dragControls"],focus:["whileFocus"],hover:["whileHover","onHoverStart","onHoverEnd"],tap:["whileTap","onTap","onTapStart","onTapCancel"],pan:["onPan","onPanStart","onPanSessionStart","onPanEnd"],inView:["whileInView","onViewportEnter","onViewportLeave"],layout:["layout","layoutId"]},Hi={};for(const e in Gp)Hi[e]={isEnabled:t=>Gp[e].some(n=>!!t[n])};function MR(e){for(const t in e)Hi[t]={...Hi[t],...e[t]}}const OR=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","ignoreStrict","viewport"]);function vl(e){return e.startsWith("while")||e.startsWith("drag")&&e!=="draggable"||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||e.startsWith("onLayout")||OR.has(e)}let Cw=e=>!vl(e);function RR(e){e&&(Cw=t=>t.startsWith("on")?!vl(t):e(t))}try{RR(require("@emotion/is-prop-valid").default)}catch{}function DR(e,t,n){const r={};for(const i in e)i==="values"&&typeof e.v
Line truncated
|
||||
"localPart": "mytest", // Optional: custom local part
|
||||
"domain": "example.com", // Optional: email domain
|
||||
"expiresIn": 86400 // Optional: expiry in seconds (default: 24h)
|
||||
@@ -330,12 +330,12 @@ curl https://vmail.dev/api/v1/mailboxes/abc123/messages \\
|
||||
|
||||
# Get specific message
|
||||
curl https://vmail.dev/api/v1/mailboxes/abc123/messages/msg_001 \\
|
||||
-H "X-API-Key: your-api-key"`})})]})]}),h.jsxs("section",{className:"mb-8",children:[h.jsx("h2",{className:"text-2xl font-semibold text-cyan-300 mb-4",children:e("Rate Limits")}),h.jsx("div",{className:"bg-gray-800 rounded-lg p-4",children:h.jsx("p",{className:"text-gray-300",children:e("API requests are rate limited based on your API Key configuration. Default limit is 100 requests per minute.")})})]})]})})}function i6(){return h.jsxs("svg",{id:"iconce.com",width:"32",height:"32",viewBox:"0 0 256 256",fill:"none",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",children:[h.jsxs("defs",{children:[h.jsxs("linearGradient",{id:"r5",gradientUnits:"userSpaceOnUse",gradientTransform:"rotate(45)",style:{transformOrigin:"center center"},children:[h.jsx("stop",{stopColor:"#5C5C5C"}),h.jsx("stop",{offset:"1",stopColor:"#0F1015"})]}),h.jsxs("radialGradient",{id:"r6",cx:"0",cy:"0",r:"1",gradientUnits:"userSpaceOnUse",gradientTransform:"translate(256) rotate(90) scale(512)",children:[h.jsx("stop",{stopColor:"white"}),h.jsx("stop",{offset:"1",stopColor:"white",stopOpacity:"0"})]})]}),h.jsx("rect",{id:"r4",width:"256",height:"256",x:"0",y:"0",rx:"48",fill:"url(#r5)",stroke:"#FFFFFF",strokeWidth:"0",strokeOpacity:"100%",paintOrder:"stroke"}),h.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"170",height:"170",viewBox:"0 0 24 24",fill:"none",stroke:"#FFFFFF",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",className:"text-white",alignmentBaseline:"middle",x:"43",y:"43",children:[h.jsx("path",{d:"M22 17a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V9.5C2 7 4 5 6.5 5H18c2.2 0 4 1.8 4 4v8Z"}),h.jsx("polyline",{points:"15,9 18,9 18,11"}),h.jsx("path",{d:"M6.5 5C9 5 11 7 11 9.5V17a2 2 0 0 1-2 2v0"}),h.jsx("line",{x1:"6",x2:"7",y1:"10",y2:"10"})]})]})}function s6({className:e}){return h.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",className:"mb-[1px]",children:h.jsx("path",{d:"M9 19c-4.3 1.4 -4.3 -2.5 -6 -3m12 5v-3.5c0 -1 .1 -1.4 -.5 -2c2.8 -.3 5.5 -1.4 5.5 -6a4.6 4.6 0 0 0 -1.3 -3.2a4.2 4.2 0 0 0 -.1 -3.2s-1.1 -.3 -3.5 1.3a12.3 12.3 0 0 0 -6.2 0c-2.4 -1.6 -3.5 -1.3 -3.5 -1.3a4.2 4.2 0 0 0 -.1 3.2a4.6 4.6 0 0 0 -1.3 3.2c0 4.6 2.7 5.7 5.5 6c-.6 .6 -.6 1.2 -.5 2v3.5"})})}function o6(){return h.jsx("div",{children:h.jsxs("div",{className:"max-w-[1400px] ",children:[h.jsxs("p",{className:"mt-8",children:[h.jsx("strong",{children:"Vmail.DEV "})," is a Virtual temporary email service."," "]}),h.jsxs("p",{className:"mt-4",children:["You can get a temporary email without revealing any personal information, which greatly protects your privacy."," "]}),h.jsxs("p",{className:"mt-4",children:["It supports selecting one domain names, making it convenient for you to use in different scenarios."," "]}),h.jsxs("p",{className:"mt-4",children:["100% running on the ",h.jsx("strong",{children:"Cloudflare "})," network, providing you with a super-fast experience."," "]}),h.jsx("p",{className:"mt-4",children:"Misuse of the temporary email service not only violates our terms of service but can also impact the normal use of other users. We encourage each user to use our services responsibly to ensure that resources are allocated and used appropriately."}),h.jsx("h2",{className:"mt-8 text-2xl font-bold",id:"copyrights",children:h.jsx("a",{href:"#copyrights",children:"Copyrights "})}),h.jsxs("p",{className:"mt-4",children:["All copyrights belong to"," ",h.jsxs("a",{href:"https://vmail.dev",rel:"nofollow",children:[h.jsx("strong",{children:"Vmail.DEV "})," "]}),"."," "]})]})})}function a6(){return h.jsx("div",{children:h.jsxs("div",{className:"max-w-[1400px] ",children:[h.jsx("p",{className:"mt-8",children:"At Vmail.DEV, we value the privacy of our users and are committed to protecting their personal information. This Privacy Policy outlines the practices we follow regarding the collection, use, storage, and deletion of data on our one-time email website."}),h.jsx("h2",{className:"mt-8 text-2xl font-bold",id:"Collection of Information",children:"1. Collection of Information"}),h.jsx("p",{className:"mt-4",children:"We only collect and store an email name for the duration of the session. This information is necessary to facilitate the functioning of our one-time email service."}),h.jsx("h2",{className:"mt-8 text-2xl font-bold",id:"Storage of Emails",children:"2. Storage of Emails"}),h.jsx("p",{className:"mt-4",children:"All emails sent and received through our one-time email service are temporarily stored in Cloudflare data centers. This storage is essential for the proper delivery and retrieval of emails during the active session."}),h.jsx("h2",{className:"mt-8 text-2xl font-bold",id:"Deletion of Emails",children:"3. Deletion of Emails"}),h.jsx("p",{className:"mt-4",children:"Once an email expires, we ensure the complete deletion of the email from our system. This means that all associated
Line truncated
|
||||
-H "X-API-Key: your-api-key"`})})]})]}),h.jsxs("section",{className:"mb-8",children:[h.jsx("h2",{className:"text-2xl font-semibold text-cyan-300 mb-4",children:e("Rate Limits")}),h.jsx("div",{className:"bg-gray-800 rounded-lg p-4",children:h.jsx("p",{className:"text-gray-300",children:e("API requests are rate limited based on your API Key configuration. Default limit is 100 requests per minute.")})})]})]})})}function a$(){return h.jsxs("svg",{id:"iconce.com",width:"32",height:"32",viewBox:"0 0 256 256",fill:"none",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",children:[h.jsxs("defs",{children:[h.jsxs("linearGradient",{id:"r5",gradientUnits:"userSpaceOnUse",gradientTransform:"rotate(45)",style:{transformOrigin:"center center"},children:[h.jsx("stop",{stopColor:"#5C5C5C"}),h.jsx("stop",{offset:"1",stopColor:"#0F1015"})]}),h.jsxs("radialGradient",{id:"r6",cx:"0",cy:"0",r:"1",gradientUnits:"userSpaceOnUse",gradientTransform:"translate(256) rotate(90) scale(512)",children:[h.jsx("stop",{stopColor:"white"}),h.jsx("stop",{offset:"1",stopColor:"white",stopOpacity:"0"})]})]}),h.jsx("rect",{id:"r4",width:"256",height:"256",x:"0",y:"0",rx:"48",fill:"url(#r5)",stroke:"#FFFFFF",strokeWidth:"0",strokeOpacity:"100%",paintOrder:"stroke"}),h.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"170",height:"170",viewBox:"0 0 24 24",fill:"none",stroke:"#FFFFFF",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",className:"text-white",alignmentBaseline:"middle",x:"43",y:"43",children:[h.jsx("path",{d:"M22 17a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V9.5C2 7 4 5 6.5 5H18c2.2 0 4 1.8 4 4v8Z"}),h.jsx("polyline",{points:"15,9 18,9 18,11"}),h.jsx("path",{d:"M6.5 5C9 5 11 7 11 9.5V17a2 2 0 0 1-2 2v0"}),h.jsx("line",{x1:"6",x2:"7",y1:"10",y2:"10"})]})]})}function l$({className:e}){return h.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",className:"mb-[1px]",children:h.jsx("path",{d:"M9 19c-4.3 1.4 -4.3 -2.5 -6 -3m12 5v-3.5c0 -1 .1 -1.4 -.5 -2c2.8 -.3 5.5 -1.4 5.5 -6a4.6 4.6 0 0 0 -1.3 -3.2a4.2 4.2 0 0 0 -.1 -3.2s-1.1 -.3 -3.5 1.3a12.3 12.3 0 0 0 -6.2 0c-2.4 -1.6 -3.5 -1.3 -3.5 -1.3a4.2 4.2 0 0 0 -.1 3.2a4.6 4.6 0 0 0 -1.3 3.2c0 4.6 2.7 5.7 5.5 6c-.6 .6 -.6 1.2 -.5 2v3.5"})})}function u$(){return h.jsx("div",{children:h.jsxs("div",{className:"max-w-[1400px] ",children:[h.jsxs("p",{className:"mt-8",children:[h.jsx("strong",{children:"Vmail.DEV "})," is a Virtual temporary email service."," "]}),h.jsxs("p",{className:"mt-4",children:["You can get a temporary email without revealing any personal information, which greatly protects your privacy."," "]}),h.jsxs("p",{className:"mt-4",children:["It supports selecting one domain names, making it convenient for you to use in different scenarios."," "]}),h.jsxs("p",{className:"mt-4",children:["100% running on the ",h.jsx("strong",{children:"Cloudflare "})," network, providing you with a super-fast experience."," "]}),h.jsx("p",{className:"mt-4",children:"Misuse of the temporary email service not only violates our terms of service but can also impact the normal use of other users. We encourage each user to use our services responsibly to ensure that resources are allocated and used appropriately."}),h.jsx("h2",{className:"mt-8 text-2xl font-bold",id:"copyrights",children:h.jsx("a",{href:"#copyrights",children:"Copyrights "})}),h.jsxs("p",{className:"mt-4",children:["All copyrights belong to"," ",h.jsxs("a",{href:"https://vmail.dev",rel:"nofollow",children:[h.jsx("strong",{children:"Vmail.DEV "})," "]}),"."," "]})]})})}function c$(){return h.jsx("div",{children:h.jsxs("div",{className:"max-w-[1400px] ",children:[h.jsx("p",{className:"mt-8",children:"At Vmail.DEV, we value the privacy of our users and are committed to protecting their personal information. This Privacy Policy outlines the practices we follow regarding the collection, use, storage, and deletion of data on our one-time email website."}),h.jsx("h2",{className:"mt-8 text-2xl font-bold",id:"Collection of Information",children:"1. Collection of Information"}),h.jsx("p",{className:"mt-4",children:"We only collect and store an email name for the duration of the session. This information is necessary to facilitate the functioning of our one-time email service."}),h.jsx("h2",{className:"mt-8 text-2xl font-bold",id:"Storage of Emails",children:"2. Storage of Emails"}),h.jsx("p",{className:"mt-4",children:"All emails sent and received through our one-time email service are temporarily stored in Cloudflare data centers. This storage is essential for the proper delivery and retrieval of emails during the active session."}),h.jsx("h2",{className:"mt-8 text-2xl font-bold",id:"Deletion of Emails",children:"3. Deletion of Emails"}),h.jsx("p",{className:"mt-4",children:"Once an email expires, we ensure the complete deletion of the email from our system. This means that all associated
Line truncated
|
||||
M8.5 2h2.5L11 2h-2.5zM13 2h2.5L15.5 2h-2.5zM10.5 2h5v0h-5zM8.5 2h5v0h-5zM10 2h3.5L13.5 2h-3.5z;
|
||||
M8.5 2h2.5L11 22h-2.5zM13 2h2.5L15.5 22h-2.5zM10.5 2h5v2h-5zM8.5 20h5v2h-5zM10 2h3.5L13.5 22h-3.5z;
|
||||
M8.5 2h2.5L11 22h-2.5zM13 2h2.5L15.5 22h-2.5zM10.5 2h5v2h-5zM8.5 20h5v2h-5zM10 2h3.5L13.5 22h-3.5z;
|
||||
M1 2h2.5L18.5 22h-2.5zM5.5 2h2.5L23 22h-2.5zM3 2h5v2h-5zM16 20h5v2h-5zM18.5 2h3.5L5 22h-3.5z`})})})}function d6({className:e}){return h.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"512",height:"512",viewBox:"0 0 24 24",className:"h-6 w-6",fill:"currentColor",children:h.jsx("path",{d:"M1 150c-6.626 0-12 5.373-12 12 0 5.302 3.438 9.8 8.207 11.387.599.111.793-.261.793-.577v-2.234c-3.338.726-4.033-1.416-4.033-1.416-.546-1.387-1.333-1.756-1.333-1.756-1.089-.745.083-.729.083-.729 1.205.084 1.839 1.237 1.839 1.237 1.07 1.834 2.807 1.304 3.492.997.107-.775.418-1.305.762-1.604-2.665-.305-5.467-1.334-5.467-5.931 0-1.311.469-2.381 1.236-3.221-.124-.303-.535-1.524.117-3.176 0 0 1.008-.322 3.301 1.23.957-.266 1.983-.399 3.003-.404 1.02.005 2.047.138 3.006.404 2.291-1.552 3.297-1.23 3.297-1.23.653 1.653.242 2.874.118 3.176.77.84 1.235 1.911 1.235 3.221 0 4.609-2.807 5.624-5.479 5.921.43.372.823 1.102.823 2.222v3.293c0 .319.192.694.801.576 4.765-1.589 8.199-6.086 8.199-11.386 0-6.627-5.373-12-12-12z",children:h.jsx("animate",{fill:"freeze",attributeName:"d",dur:"0.4s",keyTimes:"0;0.3;0.5;1",values:`M4 0c-6.626 0-12 5.373-12 12 0 5.302 3.438 9.8 8.207 11.387.599.111.793-.261.793-.577v-2.234c-3.338.726-4.033-1.416-4.033-1.416-.546-1.387-1.333-1.756-1.333-1.756-1.089-.745.083-.729.083-.729 1.205.084 1.839 1.237 1.839 1.237 1.07 1.834 2.807 1.304 3.492.997.107-.775.418-1.305.762-1.604-2.665-.305-5.467-1.334-5.467-5.931 0-1.311.469-2.381 1.236-3.221-.124-.303-.535-1.524.117-3.176 0 0 1.008-.322 3.301 1.23.957-.266 1.983-.399 3.003-.404 1.02.005 2.047.138 3.006.404 2.291-1.552 3.297-1.23 3.297-1.23.653 1.653.242 2.874.118 3.176.77.84 1.235 1.911 1.235 3.221 0 4.609-2.807 5.624-5.479 5.921.43.372.823 1.102.823 2.222v3.293c0 .319.192.694.801.576 4.765-1.589 8.199-6.086 8.199-11.386 0-6.627-5.373-12-12-12z;
|
||||
M1 2h2.5L18.5 22h-2.5zM5.5 2h2.5L23 22h-2.5zM3 2h5v2h-5zM16 20h5v2h-5zM18.5 2h3.5L5 22h-3.5z`})})})}function m$({className:e}){return h.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"512",height:"512",viewBox:"0 0 24 24",className:"h-6 w-6",fill:"currentColor",children:h.jsx("path",{d:"M1 150c-6.626 0-12 5.373-12 12 0 5.302 3.438 9.8 8.207 11.387.599.111.793-.261.793-.577v-2.234c-3.338.726-4.033-1.416-4.033-1.416-.546-1.387-1.333-1.756-1.333-1.756-1.089-.745.083-.729.083-.729 1.205.084 1.839 1.237 1.839 1.237 1.07 1.834 2.807 1.304 3.492.997.107-.775.418-1.305.762-1.604-2.665-.305-5.467-1.334-5.467-5.931 0-1.311.469-2.381 1.236-3.221-.124-.303-.535-1.524.117-3.176 0 0 1.008-.322 3.301 1.23.957-.266 1.983-.399 3.003-.404 1.02.005 2.047.138 3.006.404 2.291-1.552 3.297-1.23 3.297-1.23.653 1.653.242 2.874.118 3.176.77.84 1.235 1.911 1.235 3.221 0 4.609-2.807 5.624-5.479 5.921.43.372.823 1.102.823 2.222v3.293c0 .319.192.694.801.576 4.765-1.589 8.199-6.086 8.199-11.386 0-6.627-5.373-12-12-12z",children:h.jsx("animate",{fill:"freeze",attributeName:"d",dur:"0.4s",keyTimes:"0;0.3;0.5;1",values:`M4 0c-6.626 0-12 5.373-12 12 0 5.302 3.438 9.8 8.207 11.387.599.111.793-.261.793-.577v-2.234c-3.338.726-4.033-1.416-4.033-1.416-.546-1.387-1.333-1.756-1.333-1.756-1.089-.745.083-.729.083-.729 1.205.084 1.839 1.237 1.839 1.237 1.07 1.834 2.807 1.304 3.492.997.107-.775.418-1.305.762-1.604-2.665-.305-5.467-1.334-5.467-5.931 0-1.311.469-2.381 1.236-3.221-.124-.303-.535-1.524.117-3.176 0 0 1.008-.322 3.301 1.23.957-.266 1.983-.399 3.003-.404 1.02.005 2.047.138 3.006.404 2.291-1.552 3.297-1.23 3.297-1.23.653 1.653.242 2.874.118 3.176.77.84 1.235 1.911 1.235 3.221 0 4.609-2.807 5.624-5.479 5.921.43.372.823 1.102.823 2.222v3.293c0 .319.192.694.801.576 4.765-1.589 8.199-6.086 8.199-11.386 0-6.627-5.373-12-12-12z;
|
||||
M8 0c-6.626 0-12 5.373-12 12 0 5.302 3.438 9.8 8.207 11.387.599.111.793-.261.793-.577v-2.234c-3.338.726-4.033-1.416-4.033-1.416-.546-1.387-1.333-1.756-1.333-1.756-1.089-.745.083-.729.083-.729 1.205.084 1.839 1.237 1.839 1.237 1.07 1.834 2.807 1.304 3.492.997.107-.775.418-1.305.762-1.604-2.665-.305-5.467-1.334-5.467-5.931 0-1.311.469-2.381 1.236-3.221-.124-.303-.535-1.524.117-3.176 0 0 1.008-.322 3.301 1.23.957-.266 1.983-.399 3.003-.404 1.02.005 2.047.138 3.006.404 2.291-1.552 3.297-1.23 3.297-1.23.653 1.653.242 2.874.118 3.176.77.84 1.235 1.911 1.235 3.221 0 4.609-2.807 5.624-5.479 5.921.43.372.823 1.102.823 2.222v3.293c0 .319.192.694.801.576 4.765-1.589 8.199-6.086 8.199-11.386 0-6.627-5.373-12-12-12z;
|
||||
M10 0c-6.626 0-12 5.373-12 12 0 5.302 3.438 9.8 8.207 11.387.599.111.793-.261.793-.577v-2.234c-3.338.726-4.033-1.416-4.033-1.416-.546-1.387-1.333-1.756-1.333-1.756-1.089-.745.083-.729.083-.729 1.205.084 1.839 1.237 1.839 1.237 1.07 1.834 2.807 1.304 3.492.997.107-.775.418-1.305.762-1.604-2.665-.305-5.467-1.334-5.467-5.931 0-1.311.469-2.381 1.236-3.221-.124-.303-.535-1.524.117-3.176 0 0 1.008-.322 3.301 1.23.957-.266 1.983-.399 3.003-.404 1.02.005 2.047.138 3.006.404 2.291-1.552 3.297-1.23 3.297-1.23.653 1.653.242 2.874.118 3.176.77.84 1.235 1.911 1.235 3.221 0 4.609-2.807 5.624-5.479 5.921.43.372.823 1.102.823 2.222v3.293c0 .319.192.694.801.576 4.765-1.589 8.199-6.086 8.199-11.386 0-6.627-5.373-12-12-12z;
|
||||
M12 0c-6.626 0-12 5.373-12 12 0 5.302 3.438 9.8 8.207 11.387.599.111.793-.261.793-.577v-2.234c-3.338.726-4.033-1.416-4.033-1.416-.546-1.387-1.333-1.756-1.333-1.756-1.089-.745.083-.729.083-.729 1.205.084 1.839 1.237 1.839 1.237 1.07 1.834 2.807 1.304 3.492.997.107-.775.418-1.305.762-1.604-2.665-.305-5.467-1.334-5.467-5.931 0-1.311.469-2.381 1.236-3.221-.124-.303-.535-1.524.117-3.176 0 0 1.008-.322 3.301 1.23.957-.266 1.983-.399 3.003-.404 1.02.005 2.047.138 3.006.404 2.291-1.552 3.297-1.23 3.297-1.23.653 1.653.242 2.874.118 3.176.77.84 1.235 1.911 1.235 3.221 0 4.609-2.807 5.624-5.479 5.921.43.372.823 1.102.823 2.222v3.293c0 .319.192.694.801.576 4.765-1.589 8.199-6.086 8.199-11.386 0-6.627-5.373-12-12-12z`})})})}function f6(){return h.jsxs("div",{className:"text-white w-full mt-auto flex flex-col items-center justify-between px-5 pt-16 mb-10 md:px-10 mx-auto sm:flex-row",children:[h.jsx(Yf,{to:"/",className:"text-xl font-black leading-none select-none logo",children:"VMAIL.DEV"})," ",h.jsxs("p",{className:"mt-4 text-sm text-gray-400 sm:ml-4 sm:pl-4 sm:border-l sm:border-gray-200 sm:mt-0",children:["© 2024 Products of"," ",h.jsx("a",{className:"font-semibold underline hover:text-gray-600",href:"https://www.oiov.dev",target:"_blank",rel:"noopener noreferrer",children:"oiov"}),"."]}),h.jsxs("div",{className:"inline-flex justify-center mt-4 space-x-5 sm:ml-auto sm:mt-0 sm:justify-start",children:[h.jsx("a",{href:"https://like.do",target:"_blank",rel:"noopener noreferrer",title:"LikeDo",className:"text-gray-400 hover:text-gray-500 scale-[1.2]",children:h.jsx("img",{src:"/likedo.svg",alt:"LikeDo",className:"w-6 h-6"})}),h.jsx("a",{href:"mailto:hi@oiov.dev",title:"Email",className:"text-gray-400 hover:text-gray-500",children:h.jsx(fw,{className:"w-6 h-6"})}),h.jsx("a",{href:"https://twitter.com/yesmoree",target:"_blank",rel:"noopener noreferrer",title:"Twitter",className:"text-gray-400 hover:text-gray-500",children:h.jsx(c6,{})}),h.jsx("a",{href:"https://github.com/oiov/vmail",target:"_blank",rel:"noopener noreferrer",title:"Github",className:"text-gray-400 hover:text-gray-500",children:h.jsx(d6,{})})]})]})}function h6(){return h.jsxs("div",{className:"mx-auto min-h-screen flex flex-col bg-[#1f2023]",children:[h.jsx(u6,{}),h.jsx(LC,{}),h.jsx(f6,{}),h.jsx(a3,{position:"bottom-right",toastOptions:{style:{background:"#333",color:"#fff"}}})]})}const m6=new QS;function p6(){const[e,t]=b.useState(null);return b.useEffect(()=>{ke.get("/config").then(n=>{t(n.data)})},[]),e?h.jsx(pw.Provider,{value:e,children:h.jsx(ZS,{client:m6,children:h.jsx(UC,{children:h.jsx($C,{children:h.jsxs(Oa,{element:h.jsx(h6,{}),children:[h.jsx(Oa,{path:"/",element:h.jsx(n6,{})}),h.jsx(Oa,{path:"/api-docs",element:h.jsx(r6,{})})]})})})})}):h.jsx("div",{className:"bg-[#1f2023] text-white w-screen h-screen flex items-center justify-center",children:"Loading..."})}const X=e=>typeof e=="string",ps=()=>{let e,t;const n=new Promise((r,i)=>{e=r,t=i});return n.resolve=e,n.reject=t,n},uy=e=>e==null?"":""+e,g6=(e,t,n)=>{e.forEach(r=>{t[r]&&(n[r]=t[r])})},y6=/###/g,cy=e=>e&&e.indexOf("###")>-1?e.replace(y6,"."):e,dy=e=>!e||X(e),zs=(e,t,n)=>{const r=X(t)?t.split("."):t;let i=0;for(;i<r.length-1;){if(dy(e))return{};const s=cy(r[i]);!e[s]&&n&&(e[s]=new n),Object.prototype.hasOwnProperty.call(e,s)?e=e[s]:e={},++i}return dy(e)?{}:{obj:e,k:cy(r[i])}},fy=(e,t,n)=>{const{obj:r,k:i}=zs(e,t,Object);if(r!==void 0||t.length===1){r[i]=n;return}let s=t[t.length-1],o=t.slice(0,t.length-1),a=zs(e,o,Object);for(;a.obj===void 0&&o.length;)s=`${o[o.length-1]}.${s}`,o=o.slice(0,o.length-1),a=zs(e,o,Object),a&&a.obj&&typeof a.obj[`${a.k}.${s}`]<"u"&&(a.obj=void 0);a.obj[`${a.k}.${s}`]=n},v6=(e,t,n,r)=>{const{obj:i,k:s}=zs(e,t,Object);i[s]=i[s]||[],i[s].push(n)},Pl=(e,t)=>{const{obj:n,k:r}=zs(e,t);if(n)return n[r]},w6=(e,t,n)=>{const r=Pl(e,n);return r!==void 0?r:Pl(t,n)},Kx=(e,t,n)=>{for(const r in t)r!=="__proto__"&&r!=="constructor"&&(r in e?X(e[r])||e[r]instanceof String||X(t[r])||t[r]instanceof String?n&&(e[r]=t[r]):Kx(e[r],t[r],n):e[r]=t[r]);return e},Gr=e=>e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&");var x6={"&":"&","<":"<",">":">",'"':""","'":"'","/":"/"};const b6=e=>X(e)?e.replace(/[&<>"'\/]/g,t=>x6[t]):e;class S6{constructor(t){this.capacity=t,this.regExpMap=new Map,this.regExpQueue=[]}getRegExp(t){const n=this.regExpMap.get(t);if(n!==void 0)return n;const r=new RegExp(t);return this.regExpQueue.length===this.capacity&&this.regExpMap.delete(this.regExpQueue.shift()),this.regExpMap.set(t,r),this.regExpQueue.push(t),r}}const P6=[" ",",","?","!",";"],k6=new S6(20),C6=(e,t,n)=>{t=t||"",n=n||"";const r=P6.filter(o=>t.indexOf(o)<0&&n.indexOf(o)<0);if(r.length===0)return!0;const i=k6.getRegExp(`(${r.map(o=>o==="?"?"\\?":o).join("|")})`);let s=!i.test(e);if(!s){const o=e.indexOf(n);o>0&&!i.test(e.substring(0,o))&&(s=!0)}return s},Bd=function(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:".";if(!e)return;if(e[t
Line truncated
|
||||
`)===0?N.substr(1,N.length):N}).forEach(function(N){var L=N.split(":"),D=L.shift().trim();if(D){var A=L.join(":").trim();O.append(D,A)}}),O}T.call($.prototype);function ee(E,O){if(!(this instanceof ee))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');O||(O={}),this.type="default",this.status=O.status===void 0?200:O.status,this.ok=this.status>=200&&this.status<300,this.statusText=O.statusText===void 0?"":""+O.statusText,this.headers=new v(O.headers),this.url=O.url||"",this._initBody(E)}T.call(ee.prototype),ee.prototype.clone=function(){return new ee(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new v(this.headers),url:this.url})},ee.error=function(){var E=new ee(null,{status:0,statusText:""});return E.type="error",E};var ve=[301,302,303,307,308];ee.redirect=function(E,O){if(ve.indexOf(O)===-1)throw new RangeError("Invalid status code");return new ee(null,{status:O,headers:{location:E}})},o.DOMException=a.DOMException;try{new o.DOMException}catch{o.DOMException=function(O,V){this.message=O,this.name=V;var N=Error(O);this.stack=N.stack},o.DOMException.prototype=Object.create(Error.prototype),o.DOMException.prototype.constructor=o.DOMException}function te(E,O){return new Promise(function(V,N){var L=new $(E,O);if(L.signal&&L.signal.aborted)return N(new o.DOMException("Aborted","AbortError"));var D=new XMLHttpRequest;function A(){D.abort()}D.onload=function(){var Q={status:D.status,statusText:D.statusText,headers:W(D.getAllResponseHeaders()||"")};Q.url="responseURL"in D?D.responseURL:Q.headers.get("X-Request-URL");var be="response"in D?D.response:D.responseText;setTimeout(function(){V(new ee(be,Q))},0)},D.onerror=function(){setTimeout(function(){N(new TypeError("Network request failed"))},0)},D.ontimeout=function(){setTimeout(function(){N(new TypeError("Network request failed"))},0)},D.onabort=function(){setTimeout(function(){N(new o.DOMException("Aborted","AbortError"))},0)};function z(Q){try{return Q===""&&a.location.href?a.location.href:Q}catch{return Q}}D.open(L.method,z(L.url),!0),L.credentials==="include"?D.withCredentials=!0:L.credentials==="omit"&&(D.withCredentials=!1),"responseType"in D&&(l.blob?D.responseType="blob":l.arrayBuffer&&L.headers.get("Content-Type")&&L.headers.get("Content-Type").indexOf("application/octet-stream")!==-1&&(D.responseType="arraybuffer")),O&&typeof O.headers=="object"&&!(O.headers instanceof v)?Object.getOwnPropertyNames(O.headers).forEach(function(Q){D.setRequestHeader(Q,m(O.headers[Q]))}):L.headers.forEach(function(Q,be){D.setRequestHeader(be,Q)}),L.signal&&(L.signal.addEventListener("abort",A),D.onreadystatechange=function(){D.readyState===4&&L.signal.removeEventListener("abort",A)}),D.send(typeof L._bodyInit>"u"?null:L._bodyInit)})}return te.polyfill=!0,a.fetch||(a.fetch=te,a.Headers=v,a.Request=$,a.Response=ee),o.Headers=v,o.Request=$,o.Response=ee,o.fetch=te,o})({})})(r),r.fetch.ponyfill=!0,delete r.fetch.polyfill;var i=n.fetch?n:r;t=i.fetch,t.default=i.fetch,t.fetch=i.fetch,t.Headers=i.Headers,t.Request=i.Request,t.Response=i.Response,e.exports=t}(ha,ha.exports)),ha.exports}(function(e,t){var n=typeof fetch=="function"?fetch:void 0;if(typeof Es<"u"&&Es.fetch?n=Es.fetch:typeof window<"u"&&window.fetch&&(n=window.fetch),typeof s$<"u"&&typeof window>"u"){var r=n||o$();r.default&&(r=r.default),t.default=r,e.exports=t.default}})(qd,qd.exports);var eb=qd.exports;const tb=Wy(eb),Cy=zy({__proto__:null,default:tb},[eb]);function Ey(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function Ty(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Ey(Object(n),!0).forEach(function(r){a$(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ey(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function a$(e,t,n){return(t=l$(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function l$(e){var t=u$(e,"string");return Ur(t)=="symbol"?t:t+""}function u$(e,t){if(Ur(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(Ur(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function Ur(e){"@babel/helpers - typeof";return Ur=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Ur(e)}var nr=typeof fetch=="function"?fetch:void 0;typeof global<"u"&&global.fetch?nr=global.fetch:typeof window<"u"&&window.fetch&&(nr=window.fetch);var vo;Zx()&&(typeof global<"u"&&global.XMLHttpRequest?vo=global.XMLHttpRequest:typeof
Line truncated
|
||||
M12 0c-6.626 0-12 5.373-12 12 0 5.302 3.438 9.8 8.207 11.387.599.111.793-.261.793-.577v-2.234c-3.338.726-4.033-1.416-4.033-1.416-.546-1.387-1.333-1.756-1.333-1.756-1.089-.745.083-.729.083-.729 1.205.084 1.839 1.237 1.839 1.237 1.07 1.834 2.807 1.304 3.492.997.107-.775.418-1.305.762-1.604-2.665-.305-5.467-1.334-5.467-5.931 0-1.311.469-2.381 1.236-3.221-.124-.303-.535-1.524.117-3.176 0 0 1.008-.322 3.301 1.23.957-.266 1.983-.399 3.003-.404 1.02.005 2.047.138 3.006.404 2.291-1.552 3.297-1.23 3.297-1.23.653 1.653.242 2.874.118 3.176.77.84 1.235 1.911 1.235 3.221 0 4.609-2.807 5.624-5.479 5.921.43.372.823 1.102.823 2.222v3.293c0 .319.192.694.801.576 4.765-1.589 8.199-6.086 8.199-11.386 0-6.627-5.373-12-12-12z`})})})}function p$(){return h.jsxs("div",{className:"text-white w-full mt-auto flex flex-col items-center justify-between px-5 pt-16 mb-10 md:px-10 mx-auto sm:flex-row",children:[h.jsx(Jf,{to:"/",className:"text-xl font-black leading-none select-none logo",children:"VMAIL.DEV"})," ",h.jsxs("p",{className:"mt-4 text-sm text-gray-400 sm:ml-4 sm:pl-4 sm:border-l sm:border-gray-200 sm:mt-0",children:["© 2024-2026 Products of"," ",h.jsx("a",{className:"font-semibold underline hover:text-gray-600",href:"https://www.oiov.dev",target:"_blank",rel:"noopener noreferrer",children:"oiov"}),"."]}),h.jsxs("div",{className:"inline-flex justify-center mt-4 space-x-5 sm:ml-auto sm:mt-0 sm:justify-start",children:[h.jsx("a",{href:"https://like.do",target:"_blank",rel:"noopener noreferrer",title:"LikeDo",className:"text-gray-400 hover:text-gray-500 scale-[1.2]",children:h.jsx("img",{src:"/likedo.svg",alt:"LikeDo",className:"w-6 h-6"})}),h.jsx("a",{href:"mailto:hi@oiov.dev",title:"Email",className:"text-gray-400 hover:text-gray-500",children:h.jsx(sh,{className:"w-6 h-6"})}),h.jsx("a",{href:"https://twitter.com/yesmoree",target:"_blank",rel:"noopener noreferrer",title:"Twitter",className:"text-gray-400 hover:text-gray-500",children:h.jsx(h$,{})}),h.jsx("a",{href:"https://github.com/oiov/vmail",target:"_blank",rel:"noopener noreferrer",title:"Github",className:"text-gray-400 hover:text-gray-500",children:h.jsx(m$,{})})]})]})}function g$(){return h.jsxs("div",{className:"mx-auto min-h-screen flex flex-col bg-[#1f2023]",children:[h.jsx(f$,{}),h.jsx(IC,{}),h.jsx(p$,{}),h.jsx(d3,{position:"bottom-right",toastOptions:{style:{background:"#333",color:"#fff"}}})]})}const y$=new JS;function v$(){const[e,t]=b.useState(null);return b.useEffect(()=>{ke.get("/config").then(n=>{t(n.data)})},[]),e?h.jsx(ww.Provider,{value:e,children:h.jsx(rP,{client:y$,children:h.jsx(KC,{children:h.jsx(_C,{children:h.jsxs(Da,{element:h.jsx(g$,{}),children:[h.jsx(Da,{path:"/",element:h.jsx(s$,{})}),h.jsx(Da,{path:"/api-docs",element:h.jsx(o$,{})})]})})})})}):h.jsx("div",{className:"bg-[#1f2023] text-white w-screen h-screen flex items-center justify-center",children:"Loading..."})}const X=e=>typeof e=="string",ps=()=>{let e,t;const n=new Promise((r,i)=>{e=r,t=i});return n.resolve=e,n.reject=t,n},dy=e=>e==null?"":""+e,w$=(e,t,n)=>{e.forEach(r=>{t[r]&&(n[r]=t[r])})},x$=/###/g,fy=e=>e&&e.indexOf("###")>-1?e.replace(x$,"."):e,hy=e=>!e||X(e),zs=(e,t,n)=>{const r=X(t)?t.split("."):t;let i=0;for(;i<r.length-1;){if(hy(e))return{};const s=fy(r[i]);!e[s]&&n&&(e[s]=new n),Object.prototype.hasOwnProperty.call(e,s)?e=e[s]:e={},++i}return hy(e)?{}:{obj:e,k:fy(r[i])}},my=(e,t,n)=>{const{obj:r,k:i}=zs(e,t,Object);if(r!==void 0||t.length===1){r[i]=n;return}let s=t[t.length-1],o=t.slice(0,t.length-1),a=zs(e,o,Object);for(;a.obj===void 0&&o.length;)s=`${o[o.length-1]}.${s}`,o=o.slice(0,o.length-1),a=zs(e,o,Object),a&&a.obj&&typeof a.obj[`${a.k}.${s}`]<"u"&&(a.obj=void 0);a.obj[`${a.k}.${s}`]=n},b$=(e,t,n,r)=>{const{obj:i,k:s}=zs(e,t,Object);i[s]=i[s]||[],i[s].push(n)},Cl=(e,t)=>{const{obj:n,k:r}=zs(e,t);if(n)return n[r]},S$=(e,t,n)=>{const r=Cl(e,n);return r!==void 0?r:Cl(t,n)},Yx=(e,t,n)=>{for(const r in t)r!=="__proto__"&&r!=="constructor"&&(r in e?X(e[r])||e[r]instanceof String||X(t[r])||t[r]instanceof String?n&&(e[r]=t[r]):Yx(e[r],t[r],n):e[r]=t[r]);return e},Gr=e=>e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&");var P$={"&":"&","<":"<",">":">",'"':""","'":"'","/":"/"};const k$=e=>X(e)?e.replace(/[&<>"'\/]/g,t=>P$[t]):e;class C${constructor(t){this.capacity=t,this.regExpMap=new Map,this.regExpQueue=[]}getRegExp(t){const n=this.regExpMap.get(t);if(n!==void 0)return n;const r=new RegExp(t);return this.regExpQueue.length===this.capacity&&this.regExpMap.delete(this.regExpQueue.shift()),this.regExpMap.set(t,r),this.regExpQueue.push(t),r}}const E$=[" ",",","?","!",";"],T$=new C$(20),j$=(e,t,n)=>{t=t||"",n=n||"";const r=E$.filter(o=>t.indexOf(o)<0&&n.indexOf(o)<0);if(r.length===0)return!0;const i=T$.getRegExp(`(${r.map(o=>o==="?"?"\\?":o).join("|")})`);let s=!i.test(e);if(!s){const o=e.indexOf(n);o>0&&!i.test(e.substring(0,o))&&(s=!0)}return s},Hd=function(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:".";if(!e)return;i
Line truncated
|
||||
`)===0?M.substr(1,M.length):M}).forEach(function(M){var L=M.split(":"),D=L.shift().trim();if(D){var A=L.join(":").trim();O.append(D,A)}}),O}T.call($.prototype);function ee(E,O){if(!(this instanceof ee))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');O||(O={}),this.type="default",this.status=O.status===void 0?200:O.status,this.ok=this.status>=200&&this.status<300,this.statusText=O.statusText===void 0?"":""+O.statusText,this.headers=new v(O.headers),this.url=O.url||"",this._initBody(E)}T.call(ee.prototype),ee.prototype.clone=function(){return new ee(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new v(this.headers),url:this.url})},ee.error=function(){var E=new ee(null,{status:0,statusText:""});return E.type="error",E};var ve=[301,302,303,307,308];ee.redirect=function(E,O){if(ve.indexOf(O)===-1)throw new RangeError("Invalid status code");return new ee(null,{status:O,headers:{location:E}})},o.DOMException=a.DOMException;try{new o.DOMException}catch{o.DOMException=function(O,I){this.message=O,this.name=I;var M=Error(O);this.stack=M.stack},o.DOMException.prototype=Object.create(Error.prototype),o.DOMException.prototype.constructor=o.DOMException}function te(E,O){return new Promise(function(I,M){var L=new $(E,O);if(L.signal&&L.signal.aborted)return M(new o.DOMException("Aborted","AbortError"));var D=new XMLHttpRequest;function A(){D.abort()}D.onload=function(){var Q={status:D.status,statusText:D.statusText,headers:W(D.getAllResponseHeaders()||"")};Q.url="responseURL"in D?D.responseURL:Q.headers.get("X-Request-URL");var be="response"in D?D.response:D.responseText;setTimeout(function(){I(new ee(be,Q))},0)},D.onerror=function(){setTimeout(function(){M(new TypeError("Network request failed"))},0)},D.ontimeout=function(){setTimeout(function(){M(new TypeError("Network request failed"))},0)},D.onabort=function(){setTimeout(function(){M(new o.DOMException("Aborted","AbortError"))},0)};function z(Q){try{return Q===""&&a.location.href?a.location.href:Q}catch{return Q}}D.open(L.method,z(L.url),!0),L.credentials==="include"?D.withCredentials=!0:L.credentials==="omit"&&(D.withCredentials=!1),"responseType"in D&&(l.blob?D.responseType="blob":l.arrayBuffer&&L.headers.get("Content-Type")&&L.headers.get("Content-Type").indexOf("application/octet-stream")!==-1&&(D.responseType="arraybuffer")),O&&typeof O.headers=="object"&&!(O.headers instanceof v)?Object.getOwnPropertyNames(O.headers).forEach(function(Q){D.setRequestHeader(Q,m(O.headers[Q]))}):L.headers.forEach(function(Q,be){D.setRequestHeader(be,Q)}),L.signal&&(L.signal.addEventListener("abort",A),D.onreadystatechange=function(){D.readyState===4&&L.signal.removeEventListener("abort",A)}),D.send(typeof L._bodyInit>"u"?null:L._bodyInit)})}return te.polyfill=!0,a.fetch||(a.fetch=te,a.Headers=v,a.Request=$,a.Response=ee),o.Headers=v,o.Request=$,o.Response=ee,o.fetch=te,o})({})})(r),r.fetch.ponyfill=!0,delete r.fetch.polyfill;var i=n.fetch?n:r;t=i.fetch,t.default=i.fetch,t.fetch=i.fetch,t.Headers=i.Headers,t.Request=i.Request,t.Response=i.Response,e.exports=t}(pa,pa.exports)),pa.exports}(function(e,t){var n=typeof fetch=="function"?fetch:void 0;if(typeof Es<"u"&&Es.fetch?n=Es.fetch:typeof window<"u"&&window.fetch&&(n=window.fetch),typeof l6<"u"&&typeof window>"u"){var r=n||u6();r.default&&(r=r.default),t.default=r,e.exports=t.default}})(Kd,Kd.exports);var ib=Kd.exports;const sb=By(ib),Ty=Uy({__proto__:null,default:sb},[ib]);function jy(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function Ny(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?jy(Object(n),!0).forEach(function(r){c6(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):jy(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function c6(e,t,n){return(t=d6(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function d6(e){var t=f6(e,"string");return Ur(t)=="symbol"?t:t+""}function f6(e,t){if(Ur(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(Ur(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function Ur(e){"@babel/helpers - typeof";return Ur=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Ur(e)}var rr=typeof fetch=="function"?fetch:void 0;typeof global<"u"&&global.fetch?rr=global.fetch:typeof window<"u"&&window.fetch&&(rr=window.fetch);var vo;rb()&&(typeof global<"u"&&global.XMLHttpRequest?vo=global.XMLHttpRequest:typeof
Line truncated
|
||||
@@ -1 +0,0 @@
|
||||
*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]{display:none}*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.inset-0{top:0;right:0;bottom:0;left:0}.inset-x-0{left:0;right:0}.bottom-0{bottom:0}.right-0{right:0}.right-4{right:1rem}.top-0{top:0}.top-4{top:1rem}.z-20{z-index:20}.z-30{z-index:30}.z-40{z-index:40}.z-50{z-index:50}.mx-6{margin-left:1.5rem;margin-right:1.5rem}.mx-auto{margin-left:auto;margin-right:auto}.my-4{margin-top:1rem;margin-bottom:1rem}.-mb-1{margin-bottom:-.25rem}.-mr-1{margin-right:-.25rem}.mb-1{margin-boLine truncated
|
||||
@@ -5,8 +5,8 @@
|
||||
<link rel="icon" type="image/x-icon" href="/favicon.ico" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<title>VMAIL - Virtual Temporary Email</title>
|
||||
<script type="module" crossorigin src="/assets/main-BVoEAjX-.js"></script>
|
||||
<link rel="stylesheet" crossorigin href="/assets/main-D8baTJqc.css">
|
||||
<script type="module" crossorigin src="/assets/main-Csk5C9VY.js"></script>
|
||||
<link rel="stylesheet" crossorigin href="/assets/main-C1FJcYwI.css">
|
||||
</head>
|
||||
<script
|
||||
defer
|
||||
|
||||
@@ -5,13 +5,18 @@
|
||||
"Valid for 1 Day": "Gültig für 1 Tag",
|
||||
"AD friendly": "AD-freundlich",
|
||||
"100% Run on Cloudflare": "100% auf Cloudflare ausgeführt",
|
||||
"Open Source": "Open Source",
|
||||
"Stable - 1M+ emails processed": "Stabil - Über 1M E-Mails verarbeitet",
|
||||
"Open RESTful API": "Offene RESTful API",
|
||||
"Multi-domain configurable": "Multi-Domain konfigurierbar",
|
||||
"Domain": "Domain",
|
||||
"Email address": "E-Mail-Adresse",
|
||||
"Stop": "Stopp",
|
||||
"Validater": "Validierer",
|
||||
"Create temporary email": "Erstelle temporäre E-Mail",
|
||||
"Create temporary email": "Temporäre E-Mail erstellen",
|
||||
"No captcha response": "Keine Captcha-Antwort",
|
||||
"Failed to verify captcha": "Captcha-Verifizierung fehlgeschlagen",
|
||||
"Back Home": "Zurück nach Hause",
|
||||
"Back Home": "Zurück zur Startseite",
|
||||
"Reply-To:": "Antwort an:",
|
||||
"About": "Über",
|
||||
"Privacy": "Datenschutz",
|
||||
@@ -20,20 +25,20 @@
|
||||
"Try it": "Ausprobieren",
|
||||
"Forward only, no storage": "Nur weiterleiten, keine Speicherung",
|
||||
"Sending email *": "E-Mail senden *",
|
||||
"Sending name": "Senden von Name",
|
||||
"Sending name": "Absendername",
|
||||
"Recipient email *": "Empfänger-E-Mail *",
|
||||
"Email subject *": "E-Mail-Betreff *",
|
||||
"Email content *": "E-Mail-Inhalt *",
|
||||
"Sending...": "Senden...",
|
||||
"Send": "Senden",
|
||||
"Please do not send illegal content such as politics, pornography, etc": "Bitte senden Sie keine illegalen Inhalte wie Politik, Pornografie, usw.",
|
||||
"Please do not send illegal content such as politics, pornography, etc": "Bitte senden Sie keine illegalen Inhalte wie Politik, Pornografie usw.",
|
||||
"Message sent": "Nachricht gesendet",
|
||||
"Have a password? Login.": "Haben Sie ein Passwort? Einloggen.",
|
||||
"Save password": "Passwort speichern",
|
||||
"Save your password and continue using this email in 1 day": "Speichern Sie Ihr Passwort und verwenden Sie diese E-Mail für 1 weitere Tag",
|
||||
"Save your password and continue using this email in 1 day": "Speichern Sie Ihr Passwort und verwenden Sie diese E-Mail 1 weiteren Tag",
|
||||
"Login": "Anmeldung",
|
||||
"Submitting...": "Einsenden...",
|
||||
"Remember your password, otherwise your email will expire and cannot be retrieved": "Vergessen Sie nicht Ihr Passwort, andernfalls läuft Ihre E-Mail ab und kann nicht abgerufen werden",
|
||||
"Remember your password, otherwise your email will expire and cannot be retrieved": "Vergessen Sie nicht Ihr Passwort, sonst läuft Ihre E-Mail ab und kann nicht abgerufen werden",
|
||||
"Enter your password *": "Geben Sie Ihr Passwort ein *",
|
||||
"Log out": "Abmeldung",
|
||||
"Terms": "Bedingungen",
|
||||
@@ -61,5 +66,55 @@
|
||||
"Expires in": "Läuft ab in",
|
||||
"Email expired": "E-Mail abgelaufen",
|
||||
"Reset validity": "Gültigkeit zurücksetzen",
|
||||
"Validity reset successfully": "Gültigkeit erfolgreich zurückgesetzt"
|
||||
}
|
||||
"Validity reset successfully": "Gültigkeit erfolgreich zurückgesetzt",
|
||||
"Expand": "Erweitern",
|
||||
"Delete": "Löschen",
|
||||
"API Documentation": "API-Dokumentation",
|
||||
"RESTful API for programmatic access to temporary email services": "RESTful API für programmatischen Zugriff auf temporäre E-Mail-Dienste",
|
||||
"Authentication": "Authentifizierung",
|
||||
"All API requests require an API Key. Include it in the request header:": "Alle API-Anfragen erfordern einen API-Schlüssel. Fügen Sie ihn im Anfrage-Header ein:",
|
||||
"Or use Authorization header:": "Oder verwenden Sie den Authorization-Header:",
|
||||
"Endpoints": "Endpunkte",
|
||||
"Create a new temporary mailbox": "Neue temporäre Mailbox erstellen",
|
||||
"Request Body": "Anfrage-Body",
|
||||
"Response": "Antwort",
|
||||
"Get mailbox information": "Mailbox-Informationen abrufen",
|
||||
"Get inbox messages with pagination": "Posteingang-Nachrichten mit Paginierung abrufen",
|
||||
"Query Parameters": "Abfrageparameter",
|
||||
"Parameter": "Parameter",
|
||||
"Type": "Typ",
|
||||
"Default": "Standard",
|
||||
"Description": "Beschreibung",
|
||||
"Page number": "Seitennummer",
|
||||
"Items per page (max 100)": "Elemente pro Seite (max 100)",
|
||||
"Sort order (asc/desc)": "Sortierreihenfolge (asc/desc)",
|
||||
"Get full message details": "Vollständige Nachrichtendetails abrufen",
|
||||
"Delete a specific message": "Eine bestimmte Nachricht löschen",
|
||||
"Error Responses": "Fehlerantworten",
|
||||
"All errors follow a consistent format:": "Alle Fehler folgen einem einheitlichen Format:",
|
||||
"Error Codes": "Fehlercodes",
|
||||
"Missing or invalid API Key": "API-Schlüssel fehlt oder ist ungültig",
|
||||
"API Key disabled/expired or no access": "API-Schlüssel deaktiviert/abgelaufen oder kein Zugriff",
|
||||
"Resource not found": "Ressource nicht gefunden",
|
||||
"Invalid request parameters": "Ungültige Anfrageparameter",
|
||||
"Resource already exists": "Ressource existiert bereits",
|
||||
"Example Usage": "Beispielverwendung",
|
||||
"Create mailbox and check for messages": "Mailbox erstellen und Nachrichten prüfen",
|
||||
"Rate Limits": "Ratenbegrenzungen",
|
||||
"API requests are rate limited based on your API Key configuration. Default limit is 100 requests per minute.": "API-Anfragen sind basierend auf Ihrer API-Schlüssel-Konfiguration ratenbegrenzt. Standardlimit ist 100 Anfragen pro Minute.",
|
||||
"Get API Key": "API-Schlüssel erhalten",
|
||||
"Created": "Erstellt",
|
||||
"Important: Save your API Key now!": "Wichtig: Speichern Sie jetzt Ihren API-Schlüssel!",
|
||||
"This is the only time you will see the full API Key. It cannot be retrieved later.": "Dies ist das einzige Mal, dass Sie den vollständigen API-Schlüssel sehen. Er kann später nicht abgerufen werden.",
|
||||
"Create another API Key": "Einen weiteren API-Schlüssel erstellen",
|
||||
"Create a free API Key to access the API. Each key has a rate limit of 100 requests per minute.": "Erstellen Sie einen kostenlosen API-Schlüssel für den API-Zugriff. Jeder Schlüssel hat ein Limit von 100 Anfragen pro Minute.",
|
||||
"Key Name": "Schlüsselname",
|
||||
"optional": "optional",
|
||||
"e.g., My Project": "z.B., Mein Projekt",
|
||||
"Verification": "Verifizierung",
|
||||
"Creating...": "Erstellen...",
|
||||
"Create API Key": "API-Schlüssel erstellen",
|
||||
"Please complete the verification first": "Bitte schließen Sie zuerst die Verifizierung ab",
|
||||
"API Key created successfully": "API-Schlüssel erfolgreich erstellt",
|
||||
"Failed to create API Key": "Fehler beim Erstellen des API-Schlüssels"
|
||||
}
|
||||
@@ -119,5 +119,10 @@
|
||||
"Create API Key": "Create API Key",
|
||||
"Please complete the verification first": "Please complete the verification first",
|
||||
"API Key created successfully": "API Key created successfully",
|
||||
"Failed to create API Key": "Failed to create API Key"
|
||||
"Failed to create API Key": "Failed to create API Key",
|
||||
"Site Statistics": "Site Statistics",
|
||||
"Addresses Created": "Addresses Created",
|
||||
"Emails Received": "Emails Received",
|
||||
"API Keys Created": "API Keys Created",
|
||||
"API Calls": "API Calls"
|
||||
}
|
||||
@@ -5,17 +5,22 @@
|
||||
"Valid for 1 Day": "Valable pour 1 jour",
|
||||
"AD friendly": "Amical avec les publicités",
|
||||
"100% Run on Cloudflare": "100% Exécuté sur Cloudflare",
|
||||
"Open Source": "Open Source",
|
||||
"Stable - 1M+ emails processed": "Stable - Plus d'1M d'emails traités",
|
||||
"Open RESTful API": "API RESTful ouverte",
|
||||
"Multi-domain configurable": "Multi-domaine configurable",
|
||||
"Domain": "Domaine",
|
||||
"Email address": "Adresse e-mail",
|
||||
"Stop": "Arrêter",
|
||||
"Validater": "Validateur",
|
||||
"Create temporary email": "Créer un courriel temporaire",
|
||||
"No captcha response": "Aucune réponse captcha",
|
||||
"Failed to verify captcha": "Échec de la vérification du captcha",
|
||||
"Back Home": "Retour à la maison",
|
||||
"Back Home": "Retour à l'accueil",
|
||||
"Reply-To:": "Répondre à :",
|
||||
"About": "À propos",
|
||||
"Privacy": "Vie privée",
|
||||
"INBOX": "BOÎTE DE RECEPTION",
|
||||
"INBOX": "BOÎTE DE RÉCEPTION",
|
||||
"Waiting for emails...": "En attente de courriels...",
|
||||
"Try it": "Essayer",
|
||||
"Forward only, no storage": "Transférer uniquement, pas de stockage",
|
||||
@@ -60,5 +65,55 @@
|
||||
"Expires in": "Expire dans",
|
||||
"Email expired": "E-mail expiré",
|
||||
"Reset validity": "Réinitialiser la validité",
|
||||
"Validity reset successfully": "Validité réinitialisée avec succès"
|
||||
}
|
||||
"Validity reset successfully": "Validité réinitialisée avec succès",
|
||||
"Expand": "Agrandir",
|
||||
"Delete": "Supprimer",
|
||||
"API Documentation": "Documentation API",
|
||||
"RESTful API for programmatic access to temporary email services": "API RESTful pour un accès programmatique aux services de messagerie temporaire",
|
||||
"Authentication": "Authentification",
|
||||
"All API requests require an API Key. Include it in the request header:": "Toutes les requêtes API nécessitent une clé API. Incluez-la dans l'en-tête de la requête :",
|
||||
"Or use Authorization header:": "Ou utilisez l'en-tête Authorization :",
|
||||
"Endpoints": "Points de terminaison",
|
||||
"Create a new temporary mailbox": "Créer une nouvelle boîte mail temporaire",
|
||||
"Request Body": "Corps de la requête",
|
||||
"Response": "Réponse",
|
||||
"Get mailbox information": "Obtenir les informations de la boîte mail",
|
||||
"Get inbox messages with pagination": "Obtenir les messages avec pagination",
|
||||
"Query Parameters": "Paramètres de requête",
|
||||
"Parameter": "Paramètre",
|
||||
"Type": "Type",
|
||||
"Default": "Défaut",
|
||||
"Description": "Description",
|
||||
"Page number": "Numéro de page",
|
||||
"Items per page (max 100)": "Éléments par page (max 100)",
|
||||
"Sort order (asc/desc)": "Ordre de tri (asc/desc)",
|
||||
"Get full message details": "Obtenir les détails complets du message",
|
||||
"Delete a specific message": "Supprimer un message spécifique",
|
||||
"Error Responses": "Réponses d'erreur",
|
||||
"All errors follow a consistent format:": "Toutes les erreurs suivent un format cohérent :",
|
||||
"Error Codes": "Codes d'erreur",
|
||||
"Missing or invalid API Key": "Clé API manquante ou invalide",
|
||||
"API Key disabled/expired or no access": "Clé API désactivée/expirée ou sans accès",
|
||||
"Resource not found": "Ressource non trouvée",
|
||||
"Invalid request parameters": "Paramètres de requête invalides",
|
||||
"Resource already exists": "La ressource existe déjà",
|
||||
"Example Usage": "Exemple d'utilisation",
|
||||
"Create mailbox and check for messages": "Créer une boîte mail et vérifier les messages",
|
||||
"Rate Limits": "Limites de débit",
|
||||
"API requests are rate limited based on your API Key configuration. Default limit is 100 requests per minute.": "Les requêtes API sont limitées en fonction de la configuration de votre clé API. La limite par défaut est de 100 requêtes par minute.",
|
||||
"Get API Key": "Obtenir une clé API",
|
||||
"Created": "Créé",
|
||||
"Important: Save your API Key now!": "Important : Sauvegardez votre clé API maintenant !",
|
||||
"This is the only time you will see the full API Key. It cannot be retrieved later.": "C'est la seule fois où vous verrez la clé API complète. Elle ne peut pas être récupérée plus tard.",
|
||||
"Create another API Key": "Créer une autre clé API",
|
||||
"Create a free API Key to access the API. Each key has a rate limit of 100 requests per minute.": "Créez une clé API gratuite pour accéder à l'API. Chaque clé a une limite de 100 requêtes par minute.",
|
||||
"Key Name": "Nom de la clé",
|
||||
"optional": "optionnel",
|
||||
"e.g., My Project": "ex., Mon Projet",
|
||||
"Verification": "Vérification",
|
||||
"Creating...": "Création...",
|
||||
"Create API Key": "Créer une clé API",
|
||||
"Please complete the verification first": "Veuillez d'abord compléter la vérification",
|
||||
"API Key created successfully": "Clé API créée avec succès",
|
||||
"Failed to create API Key": "Échec de la création de la clé API"
|
||||
}
|
||||
@@ -1,44 +1,49 @@
|
||||
{
|
||||
"Donate": "दान दें",
|
||||
"Virtual Temporary Email": "वर्चुअल टेम्परेरी ईमेल",
|
||||
"Privacy friendly": "गोपनीयता यात्रा",
|
||||
"Donate": "दान करें",
|
||||
"Virtual Temporary Email": "वर्चुअल अस्थायी ईमेल",
|
||||
"Privacy friendly": "गोपनीयता अनुकूल",
|
||||
"Valid for 1 Day": "1 दिन के लिए मान्य",
|
||||
"AD friendly": "एडी अनुकूल",
|
||||
"100% Run on Cloudflare": "Cloudflare पर 100% चलने वाला",
|
||||
"AD friendly": "विज्ञापन अनुकूल",
|
||||
"100% Run on Cloudflare": "Cloudflare पर 100% चलता है",
|
||||
"Open Source": "ओपन सोर्स",
|
||||
"Stable - 1M+ emails processed": "स्थिर - 1M+ ईमेल संसाधित",
|
||||
"Open RESTful API": "ओपन RESTful API",
|
||||
"Multi-domain configurable": "मल्टी-डोमेन कॉन्फ़िगर करने योग्य",
|
||||
"Domain": "डोमेन",
|
||||
"Email address": "ईमेल पता",
|
||||
"Stop": "रुकें",
|
||||
"Stop": "रोकें",
|
||||
"Validater": "मान्यकर्ता",
|
||||
"Create temporary email": "अस्थायी ईमेल बनाएं",
|
||||
"No captcha response": "कोई कैप्चा प्रतिक्रिया",
|
||||
"Failed to verify captcha": "कैप्चा की सत्यापन की विफलता",
|
||||
"Back Home": "घर वापस",
|
||||
"Create temporary email": "बनाएं",
|
||||
"No captcha response": "कोई कैप्चा प्रतिक्रिया नहीं",
|
||||
"Failed to verify captcha": "कैप्चा सत्यापन विफल",
|
||||
"Back Home": "होम पर वापस जाएं",
|
||||
"Reply-To:": "जवाब दें:",
|
||||
"About": "के बारे में",
|
||||
"Privacy": "गोपनीयता",
|
||||
"INBOX": "इनबॉक्स",
|
||||
"Waiting for emails...": "ईमेल की प्रतीक्षा कर रहा है...",
|
||||
"Try it": "इसे प्रयास करें",
|
||||
"Forward only, no storage": "केवल आगे भेजें, कोई संग्रहण नहीं",
|
||||
"Try it": "इसे आज़माएं",
|
||||
"Forward only, no storage": "केवल फॉरवर्ड, कोई स्टोरेज नहीं",
|
||||
"Sending email *": "ईमेल भेजना *",
|
||||
"Sending name": "भेजने वाले का नाम",
|
||||
"Recipient email *": "प्राप्तकर्ता ईमेल *",
|
||||
"Email subject *": "ईमेल विषय *",
|
||||
"Email content *": "ईमेल की सामग्री *",
|
||||
"Email content *": "ईमेल सामग्री *",
|
||||
"Sending...": "भेज रहा है...",
|
||||
"Send": "भेजें",
|
||||
"Please do not send illegal content such as politics, pornography, etc": "कृपया राजनीति, अश्लीलता आदि जैसी अवैध सामग्री न भेजें",
|
||||
"Message sent": "संदेश भेजा गया",
|
||||
"Have a password? Login.": "कृपया पासवर्ड दर्ज करें? लॉगिन करें।",
|
||||
"Have a password? Login.": "पासवर्ड है? लॉगिन करें।",
|
||||
"Save password": "पासवर्ड सहेजें",
|
||||
"Save your password and continue using this email in 1 day": "अपना पासवर्ड सहेजें और 1 दिन के लिए इस ईमेल का उपयोग जारी रखें",
|
||||
"Login": "लॉगिन",
|
||||
"Submitting...": "जमा कर रहा है...",
|
||||
"Remember your password, otherwise your email will expire and cannot be retrieved": "अपना पासवर्ड याद रखें, अन्यथा ваш ईमेल समाप्त हो जाएगा और पुनर्प्राप्त नहीं हो सकता",
|
||||
"Remember your password, otherwise your email will expire and cannot be retrieved": "अपना पासवर्ड याद रखें, अन्यथा आपका ईमेल समाप्त हो जाएगा और पुनर्प्राप्त नहीं किया जा सकता",
|
||||
"Enter your password *": "अपना पासवर्ड दर्ज करें *",
|
||||
"Log out": "लॉगआउट",
|
||||
"Terms": "नियम",
|
||||
"Log out": "लॉग आउट",
|
||||
"Terms": "शर्तें",
|
||||
"Emails deleted": "ईमेल हटा दिए गए",
|
||||
"Deletion failed": "हटाना विफल रहा",
|
||||
"Deletion failed": "हटाना विफल",
|
||||
"Close": "बंद करें",
|
||||
"Login successful": "लॉगिन सफल",
|
||||
"Invalid password": "अमान्य पासवर्ड",
|
||||
@@ -51,14 +56,64 @@
|
||||
"Failed to get emails": "ईमेल प्राप्त करने में विफल",
|
||||
"Please select emails to delete": "कृपया हटाने के लिए ईमेल चुनें",
|
||||
"Password is required": "पासवर्ड आवश्यक है",
|
||||
"Return to email list": "ईमेल सूची पर वापस लौटें",
|
||||
"Return to email list": "ईमेल सूची पर वापस जाएं",
|
||||
"View password": "पासवर्ड देखें",
|
||||
"Select all": "सभी का चयन करें",
|
||||
"Select all": "सभी चुनें",
|
||||
"Delete selected": "चयनित हटाएं",
|
||||
"Please create a temporary email address first": "कृपया पहले एक अस्थायी ईमेल पता बनाएं",
|
||||
"Email Detail": "ईमेल विवरण",
|
||||
"Expires in": "में समाप्त होता है",
|
||||
"Email expired": "ईमेल समाप्त हो गया है",
|
||||
"Email expired": "ईमेल समाप्त हो गया",
|
||||
"Reset validity": "वैधता रीसेट करें",
|
||||
"Validity reset successfully": "वैधता सफलतापूर्वक रीसेट की गई"
|
||||
}
|
||||
"Validity reset successfully": "वैधता सफलतापूर्वक रीसेट की गई",
|
||||
"Expand": "विस्तार करें",
|
||||
"Delete": "हटाएं",
|
||||
"API Documentation": "API दस्तावेज़ीकरण",
|
||||
"RESTful API for programmatic access to temporary email services": "अस्थायी ईमेल सेवाओं तक प्रोग्रामेटिक पहुंच के लिए RESTful API",
|
||||
"Authentication": "प्रमाणीकरण",
|
||||
"All API requests require an API Key. Include it in the request header:": "सभी API अनुरोधों के लिए API कुंजी आवश्यक है। इसे अनुरोध हेडर में शामिल करें:",
|
||||
"Or use Authorization header:": "या Authorization हेडर का उपयोग करें:",
|
||||
"Endpoints": "एंडपॉइंट्स",
|
||||
"Create a new temporary mailbox": "नया अस्थायी मेलबॉक्स बनाएं",
|
||||
"Request Body": "अनुरोध बॉडी",
|
||||
"Response": "प्रतिक्रिया",
|
||||
"Get mailbox information": "मेलबॉक्स जानकारी प्राप्त करें",
|
||||
"Get inbox messages with pagination": "पेजिनेशन के साथ इनबॉक्स संदेश प्राप्त करें",
|
||||
"Query Parameters": "क्वेरी पैरामीटर",
|
||||
"Parameter": "पैरामीटर",
|
||||
"Type": "प्रकार",
|
||||
"Default": "डिफ़ॉल्ट",
|
||||
"Description": "विवरण",
|
||||
"Page number": "पृष्ठ संख्या",
|
||||
"Items per page (max 100)": "प्रति पृष्ठ आइटम (अधिकतम 100)",
|
||||
"Sort order (asc/desc)": "क्रमबद्ध क्रम (asc/desc)",
|
||||
"Get full message details": "पूर्ण संदेश विवरण प्राप्त करें",
|
||||
"Delete a specific message": "विशिष्ट संदेश हटाएं",
|
||||
"Error Responses": "त्रुटि प्रतिक्रियाएं",
|
||||
"All errors follow a consistent format:": "सभी त्रुटियां एक सुसंगत प्रारूप का पालन करती हैं:",
|
||||
"Error Codes": "त्रुटि कोड",
|
||||
"Missing or invalid API Key": "API कुंजी गायब या अमान्य है",
|
||||
"API Key disabled/expired or no access": "API कुंजी अक्षम/समाप्त या पहुंच नहीं",
|
||||
"Resource not found": "संसाधन नहीं मिला",
|
||||
"Invalid request parameters": "अमान्य अनुरोध पैरामीटर",
|
||||
"Resource already exists": "संसाधन पहले से मौजूद है",
|
||||
"Example Usage": "उदाहरण उपयोग",
|
||||
"Create mailbox and check for messages": "मेलबॉक्स बनाएं और संदेश जांचें",
|
||||
"Rate Limits": "दर सीमाएं",
|
||||
"API requests are rate limited based on your API Key configuration. Default limit is 100 requests per minute.": "API अनुरोध आपकी API कुंजी कॉन्फ़िगरेशन के आधार पर सीमित हैं। डिफ़ॉल्ट सीमा प्रति मिनट 100 अनुरोध है।",
|
||||
"Get API Key": "API कुंजी प्राप्त करें",
|
||||
"Created": "बनाया गया",
|
||||
"Important: Save your API Key now!": "महत्वपूर्ण: अभी अपनी API कुंजी सहेजें!",
|
||||
"This is the only time you will see the full API Key. It cannot be retrieved later.": "यह एकमात्र समय है जब आप पूर्ण API कुंजी देखेंगे। इसे बाद में पुनर्प्राप्त नहीं किया जा सकता।",
|
||||
"Create another API Key": "एक और API कुंजी बनाएं",
|
||||
"Create a free API Key to access the API. Each key has a rate limit of 100 requests per minute.": "API तक पहुंचने के लिए मुफ्त API कुंजी बनाएं। प्रत्येक कुंजी की प्रति मिनट 100 अनुरोध की सीमा है।",
|
||||
"Key Name": "कुंजी नाम",
|
||||
"optional": "वैकल्पिक",
|
||||
"e.g., My Project": "उदा., मेरा प्रोजेक्ट",
|
||||
"Verification": "सत्यापन",
|
||||
"Creating...": "बना रहा है...",
|
||||
"Create API Key": "API कुंजी बनाएं",
|
||||
"Please complete the verification first": "कृपया पहले सत्यापन पूरा करें",
|
||||
"API Key created successfully": "API कुंजी सफलतापूर्वक बनाई गई",
|
||||
"Failed to create API Key": "API कुंजी बनाने में विफल"
|
||||
}
|
||||
@@ -5,6 +5,11 @@
|
||||
"Valid for 1 Day": "Valido per 1 giorno",
|
||||
"AD friendly": "Amichevole con la pubblicità",
|
||||
"100% Run on Cloudflare": "Eseguito al 100% su Cloudflare",
|
||||
"Open Source": "Open Source",
|
||||
"Stable - 1M+ emails processed": "Stabile - Oltre 1M di email elaborate",
|
||||
"Open RESTful API": "API RESTful aperta",
|
||||
"Multi-domain configurable": "Multi-dominio configurabile",
|
||||
"Domain": "Dominio",
|
||||
"Email address": "Indirizzo email",
|
||||
"Stop": "Ferma",
|
||||
"Validater": "Validatore",
|
||||
@@ -41,7 +46,7 @@
|
||||
"Deletion failed": "Eliminazione non riuscita",
|
||||
"Close": "Chiudi",
|
||||
"Login successful": "Accesso riuscito",
|
||||
"Invalid password": "password non valida",
|
||||
"Invalid password": "Password non valida",
|
||||
"Login failed": "Accesso non riuscito",
|
||||
"Email created successfully": "Email creata con successo",
|
||||
"Emails deleted successfully": "Email eliminate con successo",
|
||||
@@ -60,5 +65,55 @@
|
||||
"Expires in": "Scade tra",
|
||||
"Email expired": "Email scaduta",
|
||||
"Reset validity": "Reimposta validità",
|
||||
"Validity reset successfully": "Validità reimpostata con successo"
|
||||
}
|
||||
"Validity reset successfully": "Validità reimpostata con successo",
|
||||
"Expand": "Espandi",
|
||||
"Delete": "Elimina",
|
||||
"API Documentation": "Documentazione API",
|
||||
"RESTful API for programmatic access to temporary email services": "API RESTful per l'accesso programmatico ai servizi di email temporanea",
|
||||
"Authentication": "Autenticazione",
|
||||
"All API requests require an API Key. Include it in the request header:": "Tutte le richieste API richiedono una chiave API. Includila nell'header della richiesta:",
|
||||
"Or use Authorization header:": "Oppure usa l'header Authorization:",
|
||||
"Endpoints": "Endpoint",
|
||||
"Create a new temporary mailbox": "Crea una nuova casella email temporanea",
|
||||
"Request Body": "Corpo della richiesta",
|
||||
"Response": "Risposta",
|
||||
"Get mailbox information": "Ottieni informazioni sulla casella email",
|
||||
"Get inbox messages with pagination": "Ottieni messaggi della posta in arrivo con paginazione",
|
||||
"Query Parameters": "Parametri di query",
|
||||
"Parameter": "Parametro",
|
||||
"Type": "Tipo",
|
||||
"Default": "Predefinito",
|
||||
"Description": "Descrizione",
|
||||
"Page number": "Numero di pagina",
|
||||
"Items per page (max 100)": "Elementi per pagina (max 100)",
|
||||
"Sort order (asc/desc)": "Ordine di ordinamento (asc/desc)",
|
||||
"Get full message details": "Ottieni dettagli completi del messaggio",
|
||||
"Delete a specific message": "Elimina un messaggio specifico",
|
||||
"Error Responses": "Risposte di errore",
|
||||
"All errors follow a consistent format:": "Tutti gli errori seguono un formato coerente:",
|
||||
"Error Codes": "Codici di errore",
|
||||
"Missing or invalid API Key": "Chiave API mancante o non valida",
|
||||
"API Key disabled/expired or no access": "Chiave API disabilitata/scaduta o nessun accesso",
|
||||
"Resource not found": "Risorsa non trovata",
|
||||
"Invalid request parameters": "Parametri di richiesta non validi",
|
||||
"Resource already exists": "La risorsa esiste già",
|
||||
"Example Usage": "Esempio di utilizzo",
|
||||
"Create mailbox and check for messages": "Crea casella email e controlla i messaggi",
|
||||
"Rate Limits": "Limiti di frequenza",
|
||||
"API requests are rate limited based on your API Key configuration. Default limit is 100 requests per minute.": "Le richieste API sono limitate in base alla configurazione della tua chiave API. Il limite predefinito è di 100 richieste al minuto.",
|
||||
"Get API Key": "Ottieni chiave API",
|
||||
"Created": "Creato",
|
||||
"Important: Save your API Key now!": "Importante: Salva subito la tua chiave API!",
|
||||
"This is the only time you will see the full API Key. It cannot be retrieved later.": "Questa è l'unica volta che vedrai la chiave API completa. Non può essere recuperata in seguito.",
|
||||
"Create another API Key": "Crea un'altra chiave API",
|
||||
"Create a free API Key to access the API. Each key has a rate limit of 100 requests per minute.": "Crea una chiave API gratuita per accedere all'API. Ogni chiave ha un limite di 100 richieste al minuto.",
|
||||
"Key Name": "Nome chiave",
|
||||
"optional": "opzionale",
|
||||
"e.g., My Project": "es., Il mio progetto",
|
||||
"Verification": "Verifica",
|
||||
"Creating...": "Creazione...",
|
||||
"Create API Key": "Crea chiave API",
|
||||
"Please complete the verification first": "Per favore completa prima la verifica",
|
||||
"API Key created successfully": "Chiave API creata con successo",
|
||||
"Failed to create API Key": "Impossibile creare la chiave API"
|
||||
}
|
||||
@@ -5,6 +5,11 @@
|
||||
"Valid for 1 Day": "1일 동안 유효함",
|
||||
"AD friendly": "광고 친화적",
|
||||
"100% Run on Cloudflare": "Cloudflare에서 100% 실행",
|
||||
"Open Source": "오픈 소스",
|
||||
"Stable - 1M+ emails processed": "안정적 - 100만 통 이상의 이메일 처리",
|
||||
"Open RESTful API": "오픈 RESTful API",
|
||||
"Multi-domain configurable": "다중 도메인 구성 가능",
|
||||
"Domain": "도메인",
|
||||
"Email address": "이메일 주소",
|
||||
"Stop": "중지",
|
||||
"Validater": "유효성 검사기",
|
||||
@@ -60,5 +65,55 @@
|
||||
"Expires in": "만료까지 남은 시간",
|
||||
"Email expired": "이메일이 만료되었습니다",
|
||||
"Reset validity": "유효 기간 재설정",
|
||||
"Validity reset successfully": "유효 기간이 성공적으로 재설정되었습니다"
|
||||
}
|
||||
"Validity reset successfully": "유효 기간이 성공적으로 재설정되었습니다",
|
||||
"Expand": "확대",
|
||||
"Delete": "삭제",
|
||||
"API Documentation": "API 문서",
|
||||
"RESTful API for programmatic access to temporary email services": "임시 이메일 서비스에 프로그래밍 방식으로 액세스하기 위한 RESTful API",
|
||||
"Authentication": "인증",
|
||||
"All API requests require an API Key. Include it in the request header:": "모든 API 요청에는 API 키가 필요합니다. 요청 헤더에 포함하세요:",
|
||||
"Or use Authorization header:": "또는 Authorization 헤더 사용:",
|
||||
"Endpoints": "엔드포인트",
|
||||
"Create a new temporary mailbox": "새 임시 메일박스 생성",
|
||||
"Request Body": "요청 본문",
|
||||
"Response": "응답",
|
||||
"Get mailbox information": "메일박스 정보 가져오기",
|
||||
"Get inbox messages with pagination": "페이지네이션으로 받은 메시지 가져오기",
|
||||
"Query Parameters": "쿼리 매개변수",
|
||||
"Parameter": "매개변수",
|
||||
"Type": "유형",
|
||||
"Default": "기본값",
|
||||
"Description": "설명",
|
||||
"Page number": "페이지 번호",
|
||||
"Items per page (max 100)": "페이지당 항목 수 (최대 100)",
|
||||
"Sort order (asc/desc)": "정렬 순서 (asc/desc)",
|
||||
"Get full message details": "전체 메시지 세부 정보 가져오기",
|
||||
"Delete a specific message": "특정 메시지 삭제",
|
||||
"Error Responses": "오류 응답",
|
||||
"All errors follow a consistent format:": "모든 오류는 일관된 형식을 따릅니다:",
|
||||
"Error Codes": "오류 코드",
|
||||
"Missing or invalid API Key": "API 키가 없거나 유효하지 않음",
|
||||
"API Key disabled/expired or no access": "API 키가 비활성화/만료되었거나 액세스 권한 없음",
|
||||
"Resource not found": "리소스를 찾을 수 없음",
|
||||
"Invalid request parameters": "잘못된 요청 매개변수",
|
||||
"Resource already exists": "리소스가 이미 존재합니다",
|
||||
"Example Usage": "사용 예",
|
||||
"Create mailbox and check for messages": "메일박스를 만들고 메시지 확인",
|
||||
"Rate Limits": "속도 제한",
|
||||
"API requests are rate limited based on your API Key configuration. Default limit is 100 requests per minute.": "API 요청은 API 키 구성에 따라 속도가 제한됩니다. 기본 제한은 분당 100개의 요청입니다.",
|
||||
"Get API Key": "API 키 받기",
|
||||
"Created": "생성됨",
|
||||
"Important: Save your API Key now!": "중요: 지금 API 키를 저장하세요!",
|
||||
"This is the only time you will see the full API Key. It cannot be retrieved later.": "전체 API 키를 볼 수 있는 유일한 기회입니다. 나중에 검색할 수 없습니다.",
|
||||
"Create another API Key": "다른 API 키 생성",
|
||||
"Create a free API Key to access the API. Each key has a rate limit of 100 requests per minute.": "API에 액세스하려면 무료 API 키를 생성하세요. 각 키에는 분당 100개의 요청 속도 제한이 있습니다.",
|
||||
"Key Name": "키 이름",
|
||||
"optional": "선택 사항",
|
||||
"e.g., My Project": "예: 내 프로젝트",
|
||||
"Verification": "확인",
|
||||
"Creating...": "생성 중...",
|
||||
"Create API Key": "API 키 생성",
|
||||
"Please complete the verification first": "먼저 확인을 완료하세요",
|
||||
"API Key created successfully": "API 키가 성공적으로 생성되었습니다",
|
||||
"Failed to create API Key": "API 키 생성 실패"
|
||||
}
|
||||
@@ -5,6 +5,11 @@
|
||||
"Valid for 1 Day": "Válido por 1 Dia",
|
||||
"AD friendly": "Amigável com anúncios",
|
||||
"100% Run on Cloudflare": "100% Executado no Cloudflare",
|
||||
"Open Source": "Código Aberto",
|
||||
"Stable - 1M+ emails processed": "Estável - Mais de 1M de e-mails processados",
|
||||
"Open RESTful API": "API RESTful aberta",
|
||||
"Multi-domain configurable": "Multi-domínio configurável",
|
||||
"Domain": "Domínio",
|
||||
"Email address": "Endereço de E-mail",
|
||||
"Stop": "Parar",
|
||||
"Validater": "Validador",
|
||||
@@ -60,5 +65,55 @@
|
||||
"Expires in": "Expira em",
|
||||
"Email expired": "E-mail expirado",
|
||||
"Reset validity": "Redefinir validade",
|
||||
"Validity reset successfully": "Validade redefinida com sucesso"
|
||||
}
|
||||
"Validity reset successfully": "Validade redefinida com sucesso",
|
||||
"Expand": "Expandir",
|
||||
"Delete": "Excluir",
|
||||
"API Documentation": "Documentação da API",
|
||||
"RESTful API for programmatic access to temporary email services": "API RESTful para acesso programático aos serviços de e-mail temporário",
|
||||
"Authentication": "Autenticação",
|
||||
"All API requests require an API Key. Include it in the request header:": "Todas as solicitações de API requerem uma chave de API. Inclua-a no cabeçalho da solicitação:",
|
||||
"Or use Authorization header:": "Ou use o cabeçalho Authorization:",
|
||||
"Endpoints": "Endpoints",
|
||||
"Create a new temporary mailbox": "Criar uma nova caixa de correio temporária",
|
||||
"Request Body": "Corpo da solicitação",
|
||||
"Response": "Resposta",
|
||||
"Get mailbox information": "Obter informações da caixa de correio",
|
||||
"Get inbox messages with pagination": "Obter mensagens da caixa de entrada com paginação",
|
||||
"Query Parameters": "Parâmetros de consulta",
|
||||
"Parameter": "Parâmetro",
|
||||
"Type": "Tipo",
|
||||
"Default": "Padrão",
|
||||
"Description": "Descrição",
|
||||
"Page number": "Número da página",
|
||||
"Items per page (max 100)": "Itens por página (máx 100)",
|
||||
"Sort order (asc/desc)": "Ordem de classificação (asc/desc)",
|
||||
"Get full message details": "Obter detalhes completos da mensagem",
|
||||
"Delete a specific message": "Excluir uma mensagem específica",
|
||||
"Error Responses": "Respostas de erro",
|
||||
"All errors follow a consistent format:": "Todos os erros seguem um formato consistente:",
|
||||
"Error Codes": "Códigos de erro",
|
||||
"Missing or invalid API Key": "Chave de API ausente ou inválida",
|
||||
"API Key disabled/expired or no access": "Chave de API desativada/expirada ou sem acesso",
|
||||
"Resource not found": "Recurso não encontrado",
|
||||
"Invalid request parameters": "Parâmetros de solicitação inválidos",
|
||||
"Resource already exists": "O recurso já existe",
|
||||
"Example Usage": "Exemplo de uso",
|
||||
"Create mailbox and check for messages": "Criar caixa de correio e verificar mensagens",
|
||||
"Rate Limits": "Limites de taxa",
|
||||
"API requests are rate limited based on your API Key configuration. Default limit is 100 requests per minute.": "As solicitações de API são limitadas com base na configuração da sua chave de API. O limite padrão é de 100 solicitações por minuto.",
|
||||
"Get API Key": "Obter chave de API",
|
||||
"Created": "Criado",
|
||||
"Important: Save your API Key now!": "Importante: Salve sua chave de API agora!",
|
||||
"This is the only time you will see the full API Key. It cannot be retrieved later.": "Esta é a única vez que você verá a chave de API completa. Ela não pode ser recuperada posteriormente.",
|
||||
"Create another API Key": "Criar outra chave de API",
|
||||
"Create a free API Key to access the API. Each key has a rate limit of 100 requests per minute.": "Crie uma chave de API gratuita para acessar a API. Cada chave tem um limite de 100 solicitações por minuto.",
|
||||
"Key Name": "Nome da chave",
|
||||
"optional": "opcional",
|
||||
"e.g., My Project": "ex., Meu Projeto",
|
||||
"Verification": "Verificação",
|
||||
"Creating...": "Criando...",
|
||||
"Create API Key": "Criar chave de API",
|
||||
"Please complete the verification first": "Por favor, complete a verificação primeiro",
|
||||
"API Key created successfully": "Chave de API criada com sucesso",
|
||||
"Failed to create API Key": "Falha ao criar chave de API"
|
||||
}
|
||||
@@ -1,10 +1,15 @@
|
||||
{
|
||||
"Donate": "Donate",
|
||||
"Donate": "Пожертвовать",
|
||||
"Virtual Temporary Email": "Виртуальная временная почта",
|
||||
"Privacy friendly": "Дружественный к конфиденциальности",
|
||||
"Valid for 1 Day": "Действительно в течение 1 дня",
|
||||
"AD friendly": "Дружественный к рекламе",
|
||||
"100% Run on Cloudflare": "100% работает на Cloudflare",
|
||||
"Open Source": "Открытый исходный код",
|
||||
"Stable - 1M+ emails processed": "Стабильный - Обработано более 1М писем",
|
||||
"Open RESTful API": "Открытый RESTful API",
|
||||
"Multi-domain configurable": "Настраиваемый мультидомен",
|
||||
"Domain": "Домен",
|
||||
"Email address": "Адрес электронной почты",
|
||||
"Stop": "Стоп",
|
||||
"Validater": "Проверка",
|
||||
@@ -41,7 +46,7 @@
|
||||
"Deletion failed": "Ошибка удаления",
|
||||
"Close": "Закрыть",
|
||||
"Login successful": "Вход выполнен успешно",
|
||||
"Invalid password": "неверный пароль",
|
||||
"Invalid password": "Неверный пароль",
|
||||
"Login failed": "Ошибка входа",
|
||||
"Email created successfully": "Письмо успешно создано",
|
||||
"Emails deleted successfully": "Письма успешно удалены",
|
||||
@@ -60,5 +65,55 @@
|
||||
"Expires in": "Истекает через",
|
||||
"Email expired": "Срок действия электронной почты истек",
|
||||
"Reset validity": "Сбросить срок действия",
|
||||
"Validity reset successfully": "Срок действия успешно сброшен"
|
||||
}
|
||||
"Validity reset successfully": "Срок действия успешно сброшен",
|
||||
"Expand": "Развернуть",
|
||||
"Delete": "Удалить",
|
||||
"API Documentation": "Документация API",
|
||||
"RESTful API for programmatic access to temporary email services": "RESTful API для программного доступа к временным почтовым сервисам",
|
||||
"Authentication": "Аутентификация",
|
||||
"All API requests require an API Key. Include it in the request header:": "Все запросы API требуют ключ API. Включите его в заголовок запроса:",
|
||||
"Or use Authorization header:": "Или используйте заголовок Authorization:",
|
||||
"Endpoints": "Конечные точки",
|
||||
"Create a new temporary mailbox": "Создать новый временный почтовый ящик",
|
||||
"Request Body": "Тело запроса",
|
||||
"Response": "Ответ",
|
||||
"Get mailbox information": "Получить информацию о почтовом ящике",
|
||||
"Get inbox messages with pagination": "Получить входящие сообщения с пагинацией",
|
||||
"Query Parameters": "Параметры запроса",
|
||||
"Parameter": "Параметр",
|
||||
"Type": "Тип",
|
||||
"Default": "По умолчанию",
|
||||
"Description": "Описание",
|
||||
"Page number": "Номер страницы",
|
||||
"Items per page (max 100)": "Элементов на странице (макс 100)",
|
||||
"Sort order (asc/desc)": "Порядок сортировки (asc/desc)",
|
||||
"Get full message details": "Получить полную информацию о сообщении",
|
||||
"Delete a specific message": "Удалить конкретное сообщение",
|
||||
"Error Responses": "Ответы об ошибках",
|
||||
"All errors follow a consistent format:": "Все ошибки следуют единому формату:",
|
||||
"Error Codes": "Коды ошибок",
|
||||
"Missing or invalid API Key": "Отсутствует или недействительный ключ API",
|
||||
"API Key disabled/expired or no access": "Ключ API отключен/истек или нет доступа",
|
||||
"Resource not found": "Ресурс не найден",
|
||||
"Invalid request parameters": "Недопустимые параметры запроса",
|
||||
"Resource already exists": "Ресурс уже существует",
|
||||
"Example Usage": "Пример использования",
|
||||
"Create mailbox and check for messages": "Создать почтовый ящик и проверить сообщения",
|
||||
"Rate Limits": "Ограничения скорости",
|
||||
"API requests are rate limited based on your API Key configuration. Default limit is 100 requests per minute.": "Запросы API ограничены в зависимости от конфигурации вашего ключа API. Ограничение по умолчанию - 100 запросов в минуту.",
|
||||
"Get API Key": "Получить ключ API",
|
||||
"Created": "Создано",
|
||||
"Important: Save your API Key now!": "Важно: Сохраните свой ключ API сейчас!",
|
||||
"This is the only time you will see the full API Key. It cannot be retrieved later.": "Это единственный раз, когда вы увидите полный ключ API. Его нельзя будет получить позже.",
|
||||
"Create another API Key": "Создать другой ключ API",
|
||||
"Create a free API Key to access the API. Each key has a rate limit of 100 requests per minute.": "Создайте бесплатный ключ API для доступа к API. Каждый ключ имеет ограничение в 100 запросов в минуту.",
|
||||
"Key Name": "Название ключа",
|
||||
"optional": "необязательно",
|
||||
"e.g., My Project": "напр., Мой проект",
|
||||
"Verification": "Верификация",
|
||||
"Creating...": "Создание...",
|
||||
"Create API Key": "Создать ключ API",
|
||||
"Please complete the verification first": "Пожалуйста, сначала пройдите верификацию",
|
||||
"API Key created successfully": "Ключ API успешно создан",
|
||||
"Failed to create API Key": "Не удалось создать ключ API"
|
||||
}
|
||||
@@ -1,64 +1,119 @@
|
||||
{
|
||||
"Donate": "Bağış Yap",
|
||||
"Virtual Temporary Email": "Sanal Geçici E-Posta",
|
||||
"Donate": "Bagis Yap",
|
||||
"Virtual Temporary Email": "Sanal Gecici E-Posta",
|
||||
"Privacy friendly": "Gizlilik Dostu",
|
||||
"Valid for 1 Day": "1 Gün için Geçerli",
|
||||
"Valid for 1 Day": "1 Gun icin Gecerli",
|
||||
"AD friendly": "Reklam Dostu",
|
||||
"100% Run on Cloudflare": "%100 Cloudflare'da Çalışır",
|
||||
"100% Run on Cloudflare": "%100 Cloudflare'da Calisir",
|
||||
"Open Source": "Acik Kaynak",
|
||||
"Stable - 1M+ emails processed": "Kararli - 1M+ e-posta islendi",
|
||||
"Open RESTful API": "Acik RESTful API",
|
||||
"Multi-domain configurable": "Coklu alan adi yapilandirmasi",
|
||||
"Domain": "Alan Adi",
|
||||
"Email address": "E-Posta Adresi",
|
||||
"Stop": "Durdur",
|
||||
"Validater": "Doğrulayıcı",
|
||||
"Create temporary email": "Geçici E-Posta Oluştur",
|
||||
"No captcha response": "Captcha Yanıtı Yok",
|
||||
"Failed to verify captcha": "Captcha Doğrulama Başarısız",
|
||||
"Back Home": "Ana Sayfaya Dön",
|
||||
"Validater": "Dogrulayici",
|
||||
"Create temporary email": "Olustur",
|
||||
"No captcha response": "Captcha Yaniti Yok",
|
||||
"Failed to verify captcha": "Captcha Dogrulama Basarisiz",
|
||||
"Back Home": "Ana Sayfaya Don",
|
||||
"Reply-To:": "Cevapla:",
|
||||
"About": "Hakkında",
|
||||
"About": "Hakkinda",
|
||||
"Privacy": "Gizlilik",
|
||||
"INBOX": "GİRİŞ",
|
||||
"INBOX": "GELEN KUTUSU",
|
||||
"Waiting for emails...": "E-Postalar Bekleniyor...",
|
||||
"Try it": "Deneyin",
|
||||
"Forward only, no storage": "Sadece ileri, depolama yok",
|
||||
"Sending email *": "E-posta gönderme *",
|
||||
"Sending name": "Gönderen adı",
|
||||
"Recipient email *": "Alıcı e-posta *",
|
||||
"Forward only, no storage": "Sadece ilet, depolama yok",
|
||||
"Sending email *": "E-posta gonderme *",
|
||||
"Sending name": "Gonderen adi",
|
||||
"Recipient email *": "Alici e-posta *",
|
||||
"Email subject *": "E-posta konusu *",
|
||||
"Email content *": "E-posta içeriği *",
|
||||
"Sending...": "Gönderiliyor...",
|
||||
"Send": "Gönder",
|
||||
"Please do not send illegal content such as politics, pornography, etc": "Lütfen siyaset, pornografi vb. gibi yasa dışı içerikler göndermeyin",
|
||||
"Message sent": "Mesaj gönderildi",
|
||||
"Have a password? Login.": "Parolanız var mı? Giriş yapın.",
|
||||
"Save password": "Parolayı kaydet",
|
||||
"Save your password and continue using this email in 1 day": "Parolanızı kaydedin ve bu e-postayı 1 gün devam etdirin",
|
||||
"Login": "Giriş Yap",
|
||||
"Submitting...": "Gönderiliyor...",
|
||||
"Remember your password, otherwise your email will expire and cannot be retrieved": "Parolanızı unutmayın, aksi takdirde e-postanız sona erecek ve alınamayacak",
|
||||
"Enter your password *": "Parolanızı girin *",
|
||||
"Log out": "Çıkış Yap",
|
||||
"Terms": "Şartlar",
|
||||
"Email content *": "E-posta icerigi *",
|
||||
"Sending...": "Gonderiliyor...",
|
||||
"Send": "Gonder",
|
||||
"Please do not send illegal content such as politics, pornography, etc": "Lutfen siyaset, pornografi vb. gibi yasa disi icerikler gondermeyin",
|
||||
"Message sent": "Mesaj gonderildi",
|
||||
"Have a password? Login.": "Parolaniz var mi? Giris yapin.",
|
||||
"Save password": "Parolayi kaydet",
|
||||
"Save your password and continue using this email in 1 day": "Parolanizi kaydedin ve bu e-postayi 1 gun daha kullanin",
|
||||
"Login": "Giris Yap",
|
||||
"Submitting...": "Gonderiliyor...",
|
||||
"Remember your password, otherwise your email will expire and cannot be retrieved": "Parolanizi unutmayin, aksi takdirde e-postaniz sona erecek ve alinamayacak",
|
||||
"Enter your password *": "Parolanizi girin *",
|
||||
"Log out": "Cikis Yap",
|
||||
"Terms": "Sartlar",
|
||||
"Emails deleted": "E-postalar silindi",
|
||||
"Deletion failed": "Silme işlemi başarısız oldu",
|
||||
"Deletion failed": "Silme islemi basarisiz oldu",
|
||||
"Close": "Kapat",
|
||||
"Login successful": "Giriş başarılı",
|
||||
"Invalid password": "Geçersiz parola",
|
||||
"Login failed": "Giriş başarısız",
|
||||
"Email created successfully": "E-posta başarıyla oluşturuldu",
|
||||
"Emails deleted successfully": "E-postalar başarıyla silindi",
|
||||
"Login successful": "Giris basarili",
|
||||
"Invalid password": "Gecersiz parola",
|
||||
"Login failed": "Giris basarisiz",
|
||||
"Email created successfully": "E-posta basariyla olusturuldu",
|
||||
"Emails deleted successfully": "E-postalar basariyla silindi",
|
||||
"Failed to delete emails": "E-postalar silinemedi",
|
||||
"Mailbox refreshed": "Posta kutusu yenilendi",
|
||||
"Copied to clipboard": "Panoya kopyalandı",
|
||||
"Failed to get emails": "E-postalar alınamadı",
|
||||
"Please select emails to delete": "Lütfen silinecek e-postaları seçin",
|
||||
"Copied to clipboard": "Panoya kopyalandi",
|
||||
"Failed to get emails": "E-postalar alinamadi",
|
||||
"Please select emails to delete": "Lutfen silinecek e-postalari secin",
|
||||
"Password is required": "Parola gerekli",
|
||||
"Return to email list": "E-posta listesine geri dön",
|
||||
"View password": "Parolayı görüntüle",
|
||||
"Select all": "Tümünü seç",
|
||||
"Delete selected": "Seçilenleri sil",
|
||||
"Please create a temporary email address first": "Lütfen önce geçici bir e-posta adresi oluşturun",
|
||||
"Email Detail": "E-posta Detayı",
|
||||
"Expires in": "Şu tarihte sona eriyor:",
|
||||
"Email expired": "E-posta süresi doldu",
|
||||
"Reset validity": "Geçerliliği Sıfırla",
|
||||
"Validity reset successfully": "Geçerlilik başarıyla sıfırlandı"
|
||||
}
|
||||
"Return to email list": "E-posta listesine geri don",
|
||||
"View password": "Parolayi goruntule",
|
||||
"Select all": "Tumunu sec",
|
||||
"Delete selected": "Secilenleri sil",
|
||||
"Please create a temporary email address first": "Lutfen once gecici bir e-posta adresi olusturun",
|
||||
"Email Detail": "E-posta Detayi",
|
||||
"Expires in": "Su tarihte sona eriyor",
|
||||
"Email expired": "E-posta suresi doldu",
|
||||
"Reset validity": "Gecerliligi Sifirla",
|
||||
"Validity reset successfully": "Gecerlilik basariyla sifirlandi",
|
||||
"Expand": "Genislet",
|
||||
"Delete": "Sil",
|
||||
"API Documentation": "API Dokumantasyonu",
|
||||
"RESTful API for programmatic access to temporary email services": "Gecici e-posta hizmetlerine programatik erisim icin RESTful API",
|
||||
"Authentication": "Kimlik Dogrulama",
|
||||
"All API requests require an API Key. Include it in the request header:": "Tum API istekleri bir API Anahtari gerektirir. Istek basligina ekleyin:",
|
||||
"Or use Authorization header:": "Veya Authorization basligini kullanin:",
|
||||
"Endpoints": "Uclar",
|
||||
"Create a new temporary mailbox": "Yeni gecici posta kutusu olustur",
|
||||
"Request Body": "Istek Govdesi",
|
||||
"Response": "Yanit",
|
||||
"Get mailbox information": "Posta kutusu bilgilerini al",
|
||||
"Get inbox messages with pagination": "Sayfalandirma ile gelen kutusundaki mesajlari al",
|
||||
"Query Parameters": "Sorgu Parametreleri",
|
||||
"Parameter": "Parametre",
|
||||
"Type": "Tip",
|
||||
"Default": "Varsayilan",
|
||||
"Description": "Aciklama",
|
||||
"Page number": "Sayfa numarasi",
|
||||
"Items per page (max 100)": "Sayfa basina oge (maks 100)",
|
||||
"Sort order (asc/desc)": "Siralama (asc/desc)",
|
||||
"Get full message details": "Tam mesaj ayrintilarini al",
|
||||
"Delete a specific message": "Belirli bir mesaji sil",
|
||||
"Error Responses": "Hata Yanitlari",
|
||||
"All errors follow a consistent format:": "Tum hatalar tutarli bir formati takip eder:",
|
||||
"Error Codes": "Hata Kodlari",
|
||||
"Missing or invalid API Key": "Eksik veya gecersiz API Anahtari",
|
||||
"API Key disabled/expired or no access": "API Anahtari devre disi/suresi doldu veya erisim yok",
|
||||
"Resource not found": "Kaynak bulunamadi",
|
||||
"Invalid request parameters": "Gecersiz istek parametreleri",
|
||||
"Resource already exists": "Kaynak zaten mevcut",
|
||||
"Example Usage": "Ornek Kullanim",
|
||||
"Create mailbox and check for messages": "Posta kutusu olustur ve mesajlari kontrol et",
|
||||
"Rate Limits": "Hiz Sinirlari",
|
||||
"API requests are rate limited based on your API Key configuration. Default limit is 100 requests per minute.": "API istekleri API Anahtari yapilandirmaniza gore sinirlandirilmistir. Varsayilan sinir dakikada 100 istektir.",
|
||||
"Get API Key": "API Anahtari Al",
|
||||
"Created": "Olusturuldu",
|
||||
"Important: Save your API Key now!": "Onemli: API Anahtarinizi simdi kaydedin!",
|
||||
"This is the only time you will see the full API Key. It cannot be retrieved later.": "Tam API Anahtarini goreceksiniz tek sefer budur. Daha sonra alinamaz.",
|
||||
"Create another API Key": "Baska bir API Anahtari olustur",
|
||||
"Create a free API Key to access the API. Each key has a rate limit of 100 requests per minute.": "API'ye erismek icin ucretsiz bir API Anahtari olusturun. Her anahtarin dakikada 100 istek siniri vardir.",
|
||||
"Key Name": "Anahtar Adi",
|
||||
"optional": "istege bagli",
|
||||
"e.g., My Project": "ornek, Projem",
|
||||
"Verification": "Dogrulama",
|
||||
"Creating...": "Olusturuluyor...",
|
||||
"Create API Key": "API Anahtari Olustur",
|
||||
"Please complete the verification first": "Lutfen once dogrulamayi tamamlayin",
|
||||
"API Key created successfully": "API Anahtari basariyla olusturuldu",
|
||||
"Failed to create API Key": "API Anahtari olusturulamadi"
|
||||
}
|
||||
@@ -5,11 +5,16 @@
|
||||
"Valid for 1 Day": "有效期 1 天",
|
||||
"AD friendly": "廣告友善",
|
||||
"100% Run on Cloudflare": "100% 在Cloudflare上運行",
|
||||
"Open Source": "開放原始碼",
|
||||
"Stable - 1M+ emails processed": "穩定 - 已處理超過100萬封郵件",
|
||||
"Open RESTful API": "開放 RESTful API",
|
||||
"Multi-domain configurable": "多網域可配置",
|
||||
"Domain": "網域",
|
||||
"Email address": "電子郵件地址",
|
||||
"Stop": "停止",
|
||||
"Validater": "驗證器",
|
||||
"Create temporary email": "建立臨時電子郵件",
|
||||
"No captcha response": "無验证码回應",
|
||||
"Create temporary email": "建立",
|
||||
"No captcha response": "無驗證碼回應",
|
||||
"Failed to verify captcha": "驗證碼驗證失敗",
|
||||
"Back Home": "返回首頁",
|
||||
"Reply-To:": "回覆至:",
|
||||
@@ -37,7 +42,6 @@
|
||||
"Enter your password *": "輸入您的密碼 *",
|
||||
"Log out": "登出",
|
||||
"Terms": "條款",
|
||||
"Blog": "博客",
|
||||
"Emails deleted": "郵件已刪除",
|
||||
"Deletion failed": "刪除失敗",
|
||||
"Close": "關閉",
|
||||
@@ -61,5 +65,55 @@
|
||||
"Expires in": "有效期剩餘",
|
||||
"Email expired": "郵箱已過期",
|
||||
"Reset validity": "重設有效期",
|
||||
"Validity reset successfully": "有效期重設成功"
|
||||
}
|
||||
"Validity reset successfully": "有效期重設成功",
|
||||
"Expand": "展開",
|
||||
"Delete": "刪除",
|
||||
"API Documentation": "API 文件",
|
||||
"RESTful API for programmatic access to temporary email services": "用於程式化存取臨時電子郵件服務的 RESTful API",
|
||||
"Authentication": "身份驗證",
|
||||
"All API requests require an API Key. Include it in the request header:": "所有 API 請求都需要 API 金鑰。將其包含在請求標頭中:",
|
||||
"Or use Authorization header:": "或使用 Authorization 標頭:",
|
||||
"Endpoints": "端點",
|
||||
"Create a new temporary mailbox": "建立新的臨時郵箱",
|
||||
"Request Body": "請求主體",
|
||||
"Response": "回應",
|
||||
"Get mailbox information": "獲取郵箱資訊",
|
||||
"Get inbox messages with pagination": "獲取收件匣郵件(分頁)",
|
||||
"Query Parameters": "查詢參數",
|
||||
"Parameter": "參數",
|
||||
"Type": "類型",
|
||||
"Default": "預設",
|
||||
"Description": "描述",
|
||||
"Page number": "頁碼",
|
||||
"Items per page (max 100)": "每頁項目數(最多 100)",
|
||||
"Sort order (asc/desc)": "排序順序(asc/desc)",
|
||||
"Get full message details": "獲取完整郵件詳情",
|
||||
"Delete a specific message": "刪除特定郵件",
|
||||
"Error Responses": "錯誤回應",
|
||||
"All errors follow a consistent format:": "所有錯誤遵循一致的格式:",
|
||||
"Error Codes": "錯誤代碼",
|
||||
"Missing or invalid API Key": "缺少或無效的 API 金鑰",
|
||||
"API Key disabled/expired or no access": "API 金鑰已停用/過期或無存取權限",
|
||||
"Resource not found": "找不到資源",
|
||||
"Invalid request parameters": "無效的請求參數",
|
||||
"Resource already exists": "資源已存在",
|
||||
"Example Usage": "使用範例",
|
||||
"Create mailbox and check for messages": "建立郵箱並檢查郵件",
|
||||
"Rate Limits": "速率限制",
|
||||
"API requests are rate limited based on your API Key configuration. Default limit is 100 requests per minute.": "API 請求根據您的 API 金鑰配置進行速率限制。預設限制為每分鐘 100 個請求。",
|
||||
"Get API Key": "獲取 API 金鑰",
|
||||
"Created": "已建立",
|
||||
"Important: Save your API Key now!": "重要:立即儲存您的 API 金鑰!",
|
||||
"This is the only time you will see the full API Key. It cannot be retrieved later.": "這是您唯一一次看到完整 API 金鑰的機會。之後將無法再次取得。",
|
||||
"Create another API Key": "建立另一個 API 金鑰",
|
||||
"Create a free API Key to access the API. Each key has a rate limit of 100 requests per minute.": "建立免費 API 金鑰以存取 API。每個金鑰的速率限制為每分鐘 100 個請求。",
|
||||
"Key Name": "金鑰名稱",
|
||||
"optional": "選填",
|
||||
"e.g., My Project": "例如,我的專案",
|
||||
"Verification": "驗證",
|
||||
"Creating...": "建立中...",
|
||||
"Create API Key": "建立 API 金鑰",
|
||||
"Please complete the verification first": "請先完成驗證",
|
||||
"API Key created successfully": "API 金鑰建立成功",
|
||||
"Failed to create API Key": "建立 API 金鑰失敗"
|
||||
}
|
||||
@@ -119,5 +119,10 @@
|
||||
"Create API Key": "创建 API Key",
|
||||
"Please complete the verification first": "请先完成人机验证",
|
||||
"API Key created successfully": "API Key 创建成功",
|
||||
"Failed to create API Key": "创建 API Key 失败"
|
||||
"Failed to create API Key": "创建 API Key 失败",
|
||||
"Site Statistics": "站点统计",
|
||||
"Addresses Created": "累计创建邮址",
|
||||
"Emails Received": "累计接收邮件",
|
||||
"API Keys Created": "累计创建 API Key",
|
||||
"API Calls": "累计 API 调用"
|
||||
}
|
||||
@@ -119,5 +119,10 @@
|
||||
"Create API Key": "Create API Key",
|
||||
"Please complete the verification first": "Please complete the verification first",
|
||||
"API Key created successfully": "API Key created successfully",
|
||||
"Failed to create API Key": "Failed to create API Key"
|
||||
"Failed to create API Key": "Failed to create API Key",
|
||||
"Site Statistics": "Site Statistics",
|
||||
"Addresses Created": "Addresses Created",
|
||||
"Emails Received": "Emails Received",
|
||||
"API Keys Created": "API Keys Created",
|
||||
"API Calls": "API Calls"
|
||||
}
|
||||
@@ -115,5 +115,10 @@
|
||||
"Create API Key": "APIキーを作成",
|
||||
"Please complete the verification first": "まず検証を完了してください",
|
||||
"API Key created successfully": "APIキーが正常に作成されました",
|
||||
"Failed to create API Key": "APIキーの作成に失敗しました"
|
||||
"Failed to create API Key": "APIキーの作成に失敗しました",
|
||||
"Site Statistics": "サイト統計",
|
||||
"Addresses Created": "作成されたアドレス",
|
||||
"Emails Received": "受信したメール",
|
||||
"API Keys Created": "作成されたAPIキー",
|
||||
"API Calls": "API呼び出し"
|
||||
}
|
||||
@@ -119,5 +119,10 @@
|
||||
"Create API Key": "创建 API Key",
|
||||
"Please complete the verification first": "请先完成人机验证",
|
||||
"API Key created successfully": "API Key 创建成功",
|
||||
"Failed to create API Key": "创建 API Key 失败"
|
||||
"Failed to create API Key": "创建 API Key 失败",
|
||||
"Site Statistics": "站点统计",
|
||||
"Addresses Created": "累计创建邮址",
|
||||
"Emails Received": "累计接收邮件",
|
||||
"API Keys Created": "累计创建 API Key",
|
||||
"API Calls": "累计 API 调用"
|
||||
}
|
||||
@@ -1,6 +1,5 @@
|
||||
import { Link } from "react-router-dom";
|
||||
import { useTranslation } from "react-i18next";
|
||||
import { formatDistanceToNow } from "date-fns";
|
||||
import { formatDistanceToNow, type Locale } from "date-fns";
|
||||
import { zhCN, enUS, fr, ja, de, ko, zhTW, it, pt, tr, ru } from "date-fns/locale";
|
||||
import clsx from "clsx";
|
||||
// refactor: 将导入从 'database' 包更改为本地的类型定义文件
|
||||
@@ -10,13 +9,13 @@ import type { Email } from "../database_types";
|
||||
import MailIcon from "./icons/MailIcon.tsx";
|
||||
import RefreshIcon from "./icons/RefreshIcon.tsx";
|
||||
import Loader from "./icons/Loader.tsx";
|
||||
import { WaitingEmail } from "./icons/waiting-email.tsx";
|
||||
import { TrashIcon } from "./icons/TrashIcon.tsx";
|
||||
import PasswordIcon from "./icons/Password.tsx"; // feat: 导入密码图标
|
||||
// feat: 导入新组件
|
||||
import { MailDetail } from "../pages/MailDetail.tsx";
|
||||
import ArrowUturnLeft from "./icons/ArrowUturnLeft.tsx";
|
||||
import Expand from "./icons/Expand.tsx"; // feat: 导入 Expand 图标
|
||||
import { SiteStats } from "./SiteStats.tsx"; // feat: 导入 SiteStats 组件
|
||||
|
||||
// 语言到 date-fns locale 的映射
|
||||
const localeMap: Record<string, Locale> = {
|
||||
@@ -95,14 +94,11 @@ export function MailList({
|
||||
return <MailDetail email={selectedEmail} onClose={onCloseDetail} />;
|
||||
}
|
||||
|
||||
// 状态 1: 还未创建地址
|
||||
// 状态 1: 还未创建地址 - 展示站点统计数据
|
||||
if (!isAddressCreated) {
|
||||
return (
|
||||
<div className="w-full items-center h-full flex-col justify-center flex">
|
||||
<WaitingEmail />
|
||||
<p className="text-zinc-400 mt-6">
|
||||
{t("Please create a temporary email address first")}
|
||||
</p>
|
||||
<SiteStats />
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
||||
@@ -0,0 +1,112 @@
|
||||
import { useEffect, useState } from "react";
|
||||
import { useTranslation } from "react-i18next";
|
||||
import { getSiteStats, type SiteStats as SiteStatsType } from "../services/api";
|
||||
import MailIcon from "./icons/MailIcon";
|
||||
import UserCircleIcon from "./icons/UserCircleIcon";
|
||||
import ApiIcon from "./icons/ApiIcon";
|
||||
import ServerIcon from "./icons/ServerIcon";
|
||||
|
||||
// 格式化数字,添加千分位分隔符
|
||||
function formatNumber(num: number): string {
|
||||
return num.toLocaleString();
|
||||
}
|
||||
|
||||
interface StatCardProps {
|
||||
icon: React.ReactNode;
|
||||
label: string;
|
||||
value: number;
|
||||
color: string;
|
||||
}
|
||||
|
||||
function StatCard({ icon, label, value, color }: StatCardProps) {
|
||||
return (
|
||||
<div className="flex flex-col items-center p-4 rounded-lg bg-zinc-800/50 border border-zinc-700/50 hover:border-zinc-600 transition-colors">
|
||||
<div className={`p-2 rounded-full mb-2 ${color}`}>
|
||||
{icon}
|
||||
</div>
|
||||
<span className="text-2xl font-bold text-white mb-1">
|
||||
{formatNumber(value)}
|
||||
</span>
|
||||
<span className="text-xs text-zinc-400 text-center">
|
||||
{label}
|
||||
</span>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
||||
export function SiteStats() {
|
||||
const { t } = useTranslation();
|
||||
const [stats, setStats] = useState<SiteStatsType | null>(null);
|
||||
const [loading, setLoading] = useState(true);
|
||||
|
||||
useEffect(() => {
|
||||
const fetchStats = async () => {
|
||||
try {
|
||||
const data = await getSiteStats();
|
||||
setStats(data);
|
||||
} catch (error) {
|
||||
console.error("Failed to fetch site stats:", error);
|
||||
} finally {
|
||||
setLoading(false);
|
||||
}
|
||||
};
|
||||
|
||||
fetchStats();
|
||||
}, []);
|
||||
|
||||
if (loading) {
|
||||
return (
|
||||
<div className="w-full flex flex-col items-center justify-center py-8">
|
||||
<div className="animate-pulse flex flex-col items-center">
|
||||
<div className="h-4 w-32 bg-zinc-700 rounded mb-4"></div>
|
||||
<div className="grid grid-cols-2 gap-3 w-full max-w-xs">
|
||||
{[...Array(4)].map((_, i) => (
|
||||
<div key={i} className="h-24 bg-zinc-700/50 rounded-lg"></div>
|
||||
))}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
||||
if (!stats) {
|
||||
return null;
|
||||
}
|
||||
|
||||
return (
|
||||
<div className="w-full flex flex-col items-center py-4 px-2">
|
||||
<h3 className="text-zinc-400 text-sm mb-4 font-medium">
|
||||
{t("Site Statistics")}
|
||||
</h3>
|
||||
<div className="grid grid-cols-2 gap-3 w-full max-w-sm">
|
||||
<StatCard
|
||||
icon={<UserCircleIcon className="w-5 h-5 text-cyan-400" />}
|
||||
label={t("Addresses Created")}
|
||||
value={stats.totalAddressesCreated}
|
||||
color="bg-cyan-500/10"
|
||||
/>
|
||||
<StatCard
|
||||
icon={<MailIcon className="w-5 h-5 text-green-400" />}
|
||||
label={t("Emails Received")}
|
||||
value={stats.totalEmailsReceived}
|
||||
color="bg-green-500/10"
|
||||
/>
|
||||
<StatCard
|
||||
icon={<ApiIcon className="w-5 h-5 text-purple-400" />}
|
||||
label={t("API Keys Created")}
|
||||
value={stats.totalApiKeysCreated}
|
||||
color="bg-purple-500/10"
|
||||
/>
|
||||
<StatCard
|
||||
icon={<ServerIcon className="w-5 h-5 text-orange-400" />}
|
||||
label={t("API Calls")}
|
||||
value={stats.totalApiCalls}
|
||||
color="bg-orange-500/10"
|
||||
/>
|
||||
</div>
|
||||
<p className="text-zinc-500 text-xs mt-4 text-center">
|
||||
{t("Please create a temporary email address first")}
|
||||
</p>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
@@ -72,3 +72,20 @@ export async function loginByPassword(password: string): Promise<{ address: stri
|
||||
}
|
||||
return response.json();
|
||||
}
|
||||
|
||||
// 站点统计数据类型
|
||||
export interface SiteStats {
|
||||
totalAddressesCreated: number;
|
||||
totalEmailsReceived: number;
|
||||
totalApiCalls: number;
|
||||
totalApiKeysCreated: number;
|
||||
}
|
||||
|
||||
// 获取站点统计数据
|
||||
export async function getSiteStats(): Promise<SiteStats> {
|
||||
const response = await fetch(`${API_BASE_URL}/stats`);
|
||||
if (!response.ok) {
|
||||
throw new Error('Failed to fetch site stats');
|
||||
}
|
||||
return response.json();
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
-- Site Stats 表:用于存储站点累计统计数据
|
||||
CREATE TABLE IF NOT EXISTS `site_stats` (
|
||||
`id` text PRIMARY KEY NOT NULL,
|
||||
`total_addresses_created` integer DEFAULT 0 NOT NULL,
|
||||
`total_emails_received` integer DEFAULT 0 NOT NULL,
|
||||
`total_api_calls` integer DEFAULT 0 NOT NULL,
|
||||
`total_api_keys_created` integer DEFAULT 0 NOT NULL,
|
||||
`updated_at` integer NOT NULL
|
||||
);
|
||||
|
||||
-- 插入初始记录
|
||||
INSERT OR IGNORE INTO `site_stats` (`id`, `total_addresses_created`, `total_emails_received`, `total_api_calls`, `total_api_keys_created`, `updated_at`)
|
||||
VALUES ('global', 0, 0, 0, 0, strftime('%s', 'now') * 1000);
|
||||
@@ -1,6 +1,6 @@
|
||||
import { Context, Next } from 'hono';
|
||||
import { getD1DB } from '../../../database/db';
|
||||
import { findApiKeyByKey, updateApiKeyLastUsed } from '../../../database/dao';
|
||||
import { findApiKeyByKey, updateApiKeyLastUsed, incrementApiCalls } from '../../../database/dao';
|
||||
import type { Env } from '../../../index';
|
||||
|
||||
/**
|
||||
@@ -63,7 +63,10 @@ export const apiKeyAuth = async (c: Context<{ Bindings: Env }>, next: Next) => {
|
||||
// 5. 更新最后使用时间 (异步,不阻塞请求)
|
||||
c.executionCtx.waitUntil(updateApiKeyLastUsed(db, keyRecord.id));
|
||||
|
||||
// 6. 将 API Key 信息存入上下文
|
||||
// 6. 增加 API 调用计数 (异步,不阻塞请求)
|
||||
c.executionCtx.waitUntil(incrementApiCalls(db));
|
||||
|
||||
// 7. 将 API Key 信息存入上下文
|
||||
c.set('apiKey', {
|
||||
id: keyRecord.id,
|
||||
rateLimit: keyRecord.rateLimit || 100,
|
||||
|
||||
@@ -9,6 +9,7 @@ import {
|
||||
findMailboxMessage,
|
||||
deleteMailboxMessage,
|
||||
getMailboxMessageCount,
|
||||
incrementAddressesCreated,
|
||||
} from '../../../database/dao';
|
||||
|
||||
// 随机邮箱名称生成
|
||||
@@ -79,6 +80,8 @@ mailboxesRouter.post('/', async (c) => {
|
||||
|
||||
try {
|
||||
await insertMailbox(db, mailbox);
|
||||
// 增加邮箱地址创建计数
|
||||
await incrementAddressesCreated(db);
|
||||
return c.json({
|
||||
data: {
|
||||
id: mailbox.id,
|
||||
|
||||
+120
-2
@@ -1,8 +1,8 @@
|
||||
import { count, desc, asc, eq, and, inArray, lt } from "drizzle-orm";
|
||||
import { count, desc, asc, eq, and, inArray, lt, sql } from "drizzle-orm";
|
||||
// fix: 将数据库类型从 LibSQLDatabase 更改为 DrizzleD1Database,以匹配 Cloudflare D1
|
||||
import { DrizzleD1Database } from "drizzle-orm/d1";
|
||||
// refactor: 更新 schema 的导入路径
|
||||
import { emails, InsertEmail, apiKeys, InsertApiKey, mailboxes, InsertMailbox } from "./schema";
|
||||
import { emails, InsertEmail, apiKeys, InsertApiKey, mailboxes, InsertMailbox, siteStats, SiteStats } from "./schema";
|
||||
|
||||
export async function insertEmail(db: DrizzleD1Database, email: InsertEmail) {
|
||||
try {
|
||||
@@ -314,4 +314,122 @@ export async function deleteExpiredMailboxes(db: DrizzleD1Database) {
|
||||
console.error('deleteExpiredMailboxes error:', e);
|
||||
return { count: 0 };
|
||||
}
|
||||
}
|
||||
|
||||
// ==================== Site Stats 相关函数 ====================
|
||||
|
||||
const GLOBAL_STATS_ID = 'global';
|
||||
|
||||
/**
|
||||
* 获取站点统计数据
|
||||
*/
|
||||
export async function getSiteStats(db: DrizzleD1Database): Promise<SiteStats | null> {
|
||||
try {
|
||||
const result = await db
|
||||
.select()
|
||||
.from(siteStats)
|
||||
.where(eq(siteStats.id, GLOBAL_STATS_ID))
|
||||
.execute();
|
||||
return result.length === 1 ? result[0] : null;
|
||||
} catch (e) {
|
||||
console.error('getSiteStats error:', e);
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* 初始化站点统计记录(如果不存在)
|
||||
*/
|
||||
export async function initSiteStats(db: DrizzleD1Database) {
|
||||
try {
|
||||
const existing = await getSiteStats(db);
|
||||
if (!existing) {
|
||||
await db.insert(siteStats).values({
|
||||
id: GLOBAL_STATS_ID,
|
||||
totalAddressesCreated: 0,
|
||||
totalEmailsReceived: 0,
|
||||
totalApiCalls: 0,
|
||||
totalApiKeysCreated: 0,
|
||||
updatedAt: new Date(),
|
||||
}).execute();
|
||||
}
|
||||
} catch (e) {
|
||||
console.error('initSiteStats error:', e);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* 增加邮件接收计数
|
||||
*/
|
||||
export async function incrementEmailsReceived(db: DrizzleD1Database, amount: number = 1) {
|
||||
try {
|
||||
await initSiteStats(db);
|
||||
await db
|
||||
.update(siteStats)
|
||||
.set({
|
||||
totalEmailsReceived: sql`${siteStats.totalEmailsReceived} + ${amount}`,
|
||||
updatedAt: new Date(),
|
||||
})
|
||||
.where(eq(siteStats.id, GLOBAL_STATS_ID))
|
||||
.execute();
|
||||
} catch (e) {
|
||||
console.error('incrementEmailsReceived error:', e);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* 增加邮箱地址创建计数
|
||||
*/
|
||||
export async function incrementAddressesCreated(db: DrizzleD1Database, amount: number = 1) {
|
||||
try {
|
||||
await initSiteStats(db);
|
||||
await db
|
||||
.update(siteStats)
|
||||
.set({
|
||||
totalAddressesCreated: sql`${siteStats.totalAddressesCreated} + ${amount}`,
|
||||
updatedAt: new Date(),
|
||||
})
|
||||
.where(eq(siteStats.id, GLOBAL_STATS_ID))
|
||||
.execute();
|
||||
} catch (e) {
|
||||
console.error('incrementAddressesCreated error:', e);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* 增加 API Key 创建计数
|
||||
*/
|
||||
export async function incrementApiKeysCreated(db: DrizzleD1Database, amount: number = 1) {
|
||||
try {
|
||||
await initSiteStats(db);
|
||||
await db
|
||||
.update(siteStats)
|
||||
.set({
|
||||
totalApiKeysCreated: sql`${siteStats.totalApiKeysCreated} + ${amount}`,
|
||||
updatedAt: new Date(),
|
||||
})
|
||||
.where(eq(siteStats.id, GLOBAL_STATS_ID))
|
||||
.execute();
|
||||
} catch (e) {
|
||||
console.error('incrementApiKeysCreated error:', e);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* 增加 API 调用计数
|
||||
*/
|
||||
export async function incrementApiCalls(db: DrizzleD1Database, amount: number = 1) {
|
||||
try {
|
||||
await initSiteStats(db);
|
||||
await db
|
||||
.update(siteStats)
|
||||
.set({
|
||||
totalApiCalls: sql`${siteStats.totalApiCalls} + ${amount}`,
|
||||
updatedAt: new Date(),
|
||||
})
|
||||
.where(eq(siteStats.id, GLOBAL_STATS_ID))
|
||||
.execute();
|
||||
} catch (e) {
|
||||
console.error('incrementApiCalls error:', e);
|
||||
}
|
||||
}
|
||||
@@ -90,4 +90,16 @@ export const insertEmailSchema = createInsertSchema(emails, {
|
||||
});
|
||||
|
||||
// 定义 InsertEmail 类型,从 Zod schema 推断
|
||||
export type InsertEmail = z.infer<typeof insertEmailSchema>;
|
||||
export type InsertEmail = z.infer<typeof insertEmailSchema>;
|
||||
|
||||
// ==================== Site Stats 表 ====================
|
||||
export const siteStats = sqliteTable("site_stats", {
|
||||
id: text("id").primaryKey(), // 统计项 ID (固定为 'global')
|
||||
totalAddressesCreated: integer("total_addresses_created").default(0).notNull(), // 累计创建邮址数量
|
||||
totalEmailsReceived: integer("total_emails_received").default(0).notNull(), // 累计接收邮件数量
|
||||
totalApiCalls: integer("total_api_calls").default(0).notNull(), // 累计 API 调用次数
|
||||
totalApiKeysCreated: integer("total_api_keys_created").default(0).notNull(), // 累计创建 API Key 数量
|
||||
updatedAt: integer("updated_at", { mode: "timestamp" }).notNull(),
|
||||
});
|
||||
|
||||
export type SiteStats = typeof siteStats.$inferSelect;
|
||||
+25
-1
@@ -2,7 +2,7 @@ import { Hono } from 'hono';
|
||||
import { serveStatic } from 'hono/cloudflare-workers';
|
||||
import { cors } from 'hono/cors';
|
||||
// 导入数据库相关的模块
|
||||
import { deleteEmails, findEmailById, getEmailsByMessageTo, insertEmail, deleteExpiredEmails, insertApiKey } from './database/dao';
|
||||
import { deleteEmails, findEmailById, getEmailsByMessageTo, insertEmail, deleteExpiredEmails, insertApiKey, getSiteStats, incrementEmailsReceived, incrementApiKeysCreated, incrementAddressesCreated } from './database/dao';
|
||||
import { getD1DB } from './database/db';
|
||||
import { InsertEmail, insertEmailSchema } from './database/schema';
|
||||
import { nanoid } from 'nanoid/non-secure';
|
||||
@@ -127,6 +127,8 @@ api.post('/api-keys', turnstile, async (c) => {
|
||||
|
||||
try {
|
||||
await insertApiKey(db, newApiKey);
|
||||
// 增加 API Key 创建计数
|
||||
await incrementApiKeysCreated(db);
|
||||
// 只返回一次完整的 API Key,之后无法再获取
|
||||
return c.json({
|
||||
data: {
|
||||
@@ -244,6 +246,26 @@ app.get('/config', (c) => {
|
||||
});
|
||||
});
|
||||
|
||||
// 站点统计数据接口(公开)
|
||||
api.get('/stats', async (c) => {
|
||||
const db = getD1DB(c.env.DB);
|
||||
const stats = await getSiteStats(db);
|
||||
if (!stats) {
|
||||
return c.json({
|
||||
totalAddressesCreated: 0,
|
||||
totalEmailsReceived: 0,
|
||||
totalApiCalls: 0,
|
||||
totalApiKeysCreated: 0,
|
||||
});
|
||||
}
|
||||
return c.json({
|
||||
totalAddressesCreated: stats.totalAddressesCreated,
|
||||
totalEmailsReceived: stats.totalEmailsReceived,
|
||||
totalApiCalls: stats.totalApiCalls,
|
||||
totalApiKeysCreated: stats.totalApiKeysCreated,
|
||||
});
|
||||
});
|
||||
|
||||
// 挂载 v1 API 路由
|
||||
app.route('/api/v1', v1Api);
|
||||
|
||||
@@ -297,6 +319,8 @@ export default {
|
||||
const email = insertEmailSchema.parse(newEmail);
|
||||
// 插入数据库
|
||||
await insertEmail(db, email);
|
||||
// 增加邮件接收计数
|
||||
await incrementEmailsReceived(db);
|
||||
} catch (e: any) {
|
||||
// **关键修复**:向 Cloudflare 发出拒绝信号
|
||||
// 当发生任何错误时,调用 message.setReject() 告知 Cloudflare 处理失败。
|
||||
|
||||
Reference in new issue
Block a user