diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index cb8df4c2..1d27ffb5 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -15,6 +15,7 @@ cron4j = '2.2.5' rxjava = '3.1.8' rxjava-ext = '3.1.1' rs = '1.0.4' +uuid = '5.0.0' [libraries] # auth @@ -53,6 +54,9 @@ dagger-auto = { module = "io.github.azahnen:dagger-auto", version.ref = "dagger- #s3 minio = { module = "io.minio:minio", version.ref = "minio" } +#jobs +uuid = { module = "com.fasterxml.uuid:java-uuid-generator", version.ref = "uuid" } + #services cron4j = { module = "it.sauronsoftware.cron4j:cron4j", version.ref = "cron4j" } diff --git a/xtraplatform-base/src/main/java/de/ii/xtraplatform/base/domain/AppContext.java b/xtraplatform-base/src/main/java/de/ii/xtraplatform/base/domain/AppContext.java index 02767577..077f7381 100644 --- a/xtraplatform-base/src/main/java/de/ii/xtraplatform/base/domain/AppContext.java +++ b/xtraplatform-base/src/main/java/de/ii/xtraplatform/base/domain/AppContext.java @@ -27,6 +27,8 @@ public interface AppContext { URI getUri(); + String getInstanceName(); + default boolean isDevEnv() { return getEnvironment() == ENV.DEVELOPMENT; } diff --git a/xtraplatform-base/src/main/java/de/ii/xtraplatform/base/domain/AppLauncher.java b/xtraplatform-base/src/main/java/de/ii/xtraplatform/base/domain/AppLauncher.java index d46186bf..90a930a9 100644 --- a/xtraplatform-base/src/main/java/de/ii/xtraplatform/base/domain/AppLauncher.java +++ b/xtraplatform-base/src/main/java/de/ii/xtraplatform/base/domain/AppLauncher.java @@ -23,7 +23,9 @@ import io.dropwizard.jetty.HttpConnectorFactory; import java.io.IOException; import java.io.InputStream; +import java.net.InetAddress; import java.net.URI; +import java.net.UnknownHostException; import java.nio.file.Files; import java.nio.file.Path; import java.nio.file.Paths; @@ -107,6 +109,11 @@ public AppConfiguration getConfiguration() { return cfg; } + @Override + public String getInstanceName() { + return String.format("%s@%s", name, getRealHostName()); + } + @Override public URI getUri() { return uri; @@ -156,13 +163,10 @@ public String init(String[] args, Map baseConfigs) throws IO String externalUrl = getConfiguration().getServerFactory().getExternalUrl(); if (Strings.isNullOrEmpty(externalUrl)) { this.uri = - URI.create(String.format("%s://%s:%d", getScheme(), getHostName(), getApplicationPort())); + URI.create( + String.format("%s://%s:%d/", getScheme(), getHostName(), getApplicationPort())); } else { - String uri = - externalUrl.endsWith("/") - ? externalUrl.substring(0, externalUrl.length() - 1) - : externalUrl; - this.uri = URI.create(uri); + this.uri = URI.create(externalUrl.endsWith("/") ? externalUrl : externalUrl + "/"); } return String.format( @@ -365,6 +369,25 @@ private String getHostName() { .orElse("localhost"); } + private String getRealHostName() { + String host = System.getenv("HOSTNAME"); + + if (Objects.nonNull(host)) { + return host; + } + + try { + String result = InetAddress.getLocalHost().getHostName(); + if (!Strings.isNullOrEmpty(result)) { + return result; + } + } catch (UnknownHostException e) { + // failed; try alternate means. + } + + return "UNKNOWN"; + } + private int getApplicationPort() { return ((HttpConnectorFactory) ((DefaultServerFactory) getConfiguration().getServerFactory()) diff --git a/xtraplatform-base/src/main/java/de/ii/xtraplatform/base/domain/LogContext.java b/xtraplatform-base/src/main/java/de/ii/xtraplatform/base/domain/LogContext.java index 7048f858..91c9fbf8 100644 --- a/xtraplatform-base/src/main/java/de/ii/xtraplatform/base/domain/LogContext.java +++ b/xtraplatform-base/src/main/java/de/ii/xtraplatform/base/domain/LogContext.java @@ -42,7 +42,8 @@ public enum MARKER implements MyMarker { STACKTRACE, DUMP, DI, - S3; + S3, + JOBS; @Override public String toString() { diff --git a/xtraplatform-base/src/main/java/de/ii/xtraplatform/base/domain/LoggingConfiguration.java b/xtraplatform-base/src/main/java/de/ii/xtraplatform/base/domain/LoggingConfiguration.java index 23a64918..1cfe48ef 100644 --- a/xtraplatform-base/src/main/java/de/ii/xtraplatform/base/domain/LoggingConfiguration.java +++ b/xtraplatform-base/src/main/java/de/ii/xtraplatform/base/domain/LoggingConfiguration.java @@ -98,6 +98,7 @@ public class LoggingConfiguration extends DefaultLoggingFactory { private boolean configDumps; private boolean stackTraces; private boolean wiring; + private boolean jobs; public LoggingConfiguration() { super(); @@ -112,6 +113,7 @@ public LoggingConfiguration() { this.configDumps = false; this.stackTraces = false; this.wiring = false; + this.jobs = false; } public List configure( @@ -162,7 +164,8 @@ public void configure(MetricRegistry metricRegistry, String name) { s3, configDumps, stackTraces, - wiring)); + wiring, + jobs)); } @JsonProperty("showThirdPartyLoggers") @@ -275,6 +278,16 @@ public void setWiring(boolean wiring) { this.wiring = wiring; } + @JsonProperty + public boolean isJobs() { + return jobs; + } + + @JsonProperty + public void setJobs(boolean jobs) { + this.jobs = jobs; + } + @JsonProperty("type") public void setType(String type) {} diff --git a/xtraplatform-base/src/main/java/de/ii/xtraplatform/base/domain/LoggingFilter.java b/xtraplatform-base/src/main/java/de/ii/xtraplatform/base/domain/LoggingFilter.java index 28a699fe..b8de11e7 100644 --- a/xtraplatform-base/src/main/java/de/ii/xtraplatform/base/domain/LoggingFilter.java +++ b/xtraplatform-base/src/main/java/de/ii/xtraplatform/base/domain/LoggingFilter.java @@ -32,6 +32,7 @@ public class LoggingFilter extends TurboFilter { private boolean configDumps; private boolean stackTraces; private boolean wiring; + private boolean jobs; public LoggingFilter( boolean showThirdPartyLoggers, @@ -44,7 +45,8 @@ public LoggingFilter( boolean s3, boolean configDumps, boolean stackTraces, - boolean wiring) { + boolean wiring, + boolean jobs) { this.showThirdPartyLoggers = showThirdPartyLoggers; this.apiRequests = apiRequests; this.apiRequestUsers = apiRequestUsers; @@ -56,6 +58,7 @@ public LoggingFilter( this.configDumps = configDumps; this.stackTraces = stackTraces; this.wiring = wiring; + this.jobs = jobs; } @Override @@ -103,6 +106,10 @@ public FilterReply decide( return FilterReply.ACCEPT; } + if (Objects.equals(marker, MARKER.JOBS)) { + return jobs ? FilterReply.ACCEPT : FilterReply.NEUTRAL; + } + if (Objects.isNull(marker) && (showThirdPartyLoggers || logger.getName().startsWith("de.ii"))) { return FilterReply.NEUTRAL; } @@ -205,4 +212,12 @@ public boolean isWiring() { public void setWiring(boolean wiring) { this.wiring = wiring; } + + public boolean isJobs() { + return jobs; + } + + public void setJobs(boolean jobs) { + this.jobs = jobs; + } } diff --git a/xtraplatform-base/src/main/java/de/ii/xtraplatform/base/domain/resiliency/AbstractVolatileComposed.java b/xtraplatform-base/src/main/java/de/ii/xtraplatform/base/domain/resiliency/AbstractVolatileComposed.java index 893f4484..aa539ca1 100644 --- a/xtraplatform-base/src/main/java/de/ii/xtraplatform/base/domain/resiliency/AbstractVolatileComposed.java +++ b/xtraplatform-base/src/main/java/de/ii/xtraplatform/base/domain/resiliency/AbstractVolatileComposed.java @@ -33,6 +33,7 @@ public abstract class AbstractVolatileComposed extends AbstractVolatile private final boolean noHealth; private State baseState; private boolean ready; + private boolean initialized; public AbstractVolatileComposed(VolatileRegistry volatileRegistry, String... capabilities) { this(null, volatileRegistry, false, capabilities); @@ -85,6 +86,7 @@ protected Tuple volatileInit() { } protected void onInitComponentsAvailable() { + this.initialized = true; Tuple result = volatileInit(); if (Objects.nonNull(result.second())) { @@ -231,7 +233,9 @@ private void checkStates() { return; } if (baseState != State.AVAILABLE) { - if (ready && initComponents.values().stream().allMatch(Volatile2::isAvailable)) { + if (ready + && !initialized + && initComponents.values().stream().allMatch(Volatile2::isAvailable)) { onInitComponentsAvailable(); } return; diff --git a/xtraplatform-blobs/src/main/java/de/ii/xtraplatform/blobs/infra/BlobSourceFs.java b/xtraplatform-blobs/src/main/java/de/ii/xtraplatform/blobs/infra/BlobSourceFs.java index ea799e82..9826a583 100644 --- a/xtraplatform-blobs/src/main/java/de/ii/xtraplatform/blobs/infra/BlobSourceFs.java +++ b/xtraplatform-blobs/src/main/java/de/ii/xtraplatform/blobs/infra/BlobSourceFs.java @@ -190,7 +190,7 @@ public void delete(Path path) throws IOException { LOGGER.trace("Deleting blob at {}", filePath); } - Files.delete(filePath); + Files.deleteIfExists(filePath); } // TODO: remote sources might provide readable locals, but never writable ones @@ -201,7 +201,7 @@ public Optional asLocalPath(Path path, boolean writable) throws IOExceptio } if (writable || has(path)) { - Path filePath = full(path); + Path filePath = full(path).normalize(); if (LOGGER.isTraceEnabled()) { LOGGER.trace("Providing writable local blob at {}", filePath); diff --git a/xtraplatform-jobs/build.gradle b/xtraplatform-jobs/build.gradle new file mode 100644 index 00000000..9029ccf1 --- /dev/null +++ b/xtraplatform-jobs/build.gradle @@ -0,0 +1,11 @@ + +maturity = 'MATURE' +maintenance = 'FULL' +description = 'Job queue.' +descriptionDe = 'Job-Queue.' + +dependencies { + provided project(':xtraplatform-ops') + + embeddedFlat(libs.uuid) +} \ No newline at end of file diff --git a/xtraplatform-jobs/src/main/java/de/ii/xtraplatform/jobs/app/JobQueueRedis.java b/xtraplatform-jobs/src/main/java/de/ii/xtraplatform/jobs/app/JobQueueRedis.java new file mode 100644 index 00000000..458196ce --- /dev/null +++ b/xtraplatform-jobs/src/main/java/de/ii/xtraplatform/jobs/app/JobQueueRedis.java @@ -0,0 +1,112 @@ +/* + * Copyright 2024 interactive instruments GmbH + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + */ +package de.ii.xtraplatform.jobs.app; + +import de.ii.xtraplatform.base.domain.AppContext; +import de.ii.xtraplatform.jobs.domain.BaseJob; +import de.ii.xtraplatform.jobs.domain.Job; +import de.ii.xtraplatform.jobs.domain.JobQueue; +import de.ii.xtraplatform.jobs.domain.JobSet; +import java.util.Collection; +import java.util.Deque; +import java.util.List; +import java.util.Map; +import java.util.Optional; +import org.slf4j.Logger; +import org.slf4j.LoggerFactory; + +// @Singleton +// @AutoBind +public class JobQueueRedis implements JobQueue { + + private static final Logger LOGGER = LoggerFactory.getLogger(JobQueueRedis.class); + + // @Inject + JobQueueRedis(AppContext appContext) { + // TODO: if enabled, connect with jedis + + // TODO: one queue per type, queue has ids, one hash for each id with details + + // TODO: housekeeping might check taken list using RPOPLPUSH with same source and destination + // this way it can check for timeouts, then use a transaction with LREM, LPUSH and HMSET to + // retry + } + + @Override + public synchronized void push(BaseJob job, boolean untake) { + if (job instanceof Job) { + // TODO: LPUSH xtraplatform:jobs:queue and HMSET xtraplatform:jobs:job: + } else if (job instanceof JobSet) { + // TODO: HMSET xtraplatform:jobs:set: + } else { + throw new IllegalArgumentException("Unknown job type: " + job.getClass()); + } + } + + @Override + public synchronized Optional take(String type, String executor) { + // TODO: RPOPLPUSH xtraplatform:jobs:queue xtraplatform:jobs:progress and HMSET + // xtraplatform:jobs:job: + + return Optional.empty(); + } + + @Override + public synchronized boolean done(String jobId) { + // TODO: LREM xtraplatform:jobs:progress 0 + + // TODO: if > 0 then HMGET xtraplatform:jobs:job: + + // TODO: if partOf then HINCRBY xtraplatform:jobs:set: current 1 (if done, mark for + // removal) + + // TODO: if followUps then LPUSH xtraplatform:jobs:queue + + // TODO: HDEL xtraplatform:jobs:job: + + return false; + } + + @Override + public boolean doneSet(String jobSetId) { + // TODO: HDEL xtraplatform:jobs:set: + + return false; + } + + @Override + public synchronized boolean error(String jobId, String error, boolean retry) { + // TODO: retry logic + return false; + } + + @Override + public Collection getSets() { + return List.of(); + } + + @Override + public Map> getOpen() { + return Map.of(); + } + + @Override + public Collection getTaken() { + return List.of(); + } + + @Override + public Collection getFailed() { + return List.of(); + } + + @Override + public JobSet getSet(String setId) { + return null; + } +} diff --git a/xtraplatform-jobs/src/main/java/de/ii/xtraplatform/jobs/app/JobQueueSimple.java b/xtraplatform-jobs/src/main/java/de/ii/xtraplatform/jobs/app/JobQueueSimple.java new file mode 100644 index 00000000..db2e8861 --- /dev/null +++ b/xtraplatform-jobs/src/main/java/de/ii/xtraplatform/jobs/app/JobQueueSimple.java @@ -0,0 +1,181 @@ +/* + * Copyright 2024 interactive instruments GmbH + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + */ +package de.ii.xtraplatform.jobs.app; + +import com.github.azahnen.dagger.annotations.AutoBind; +import de.ii.xtraplatform.base.domain.AppContext; +import de.ii.xtraplatform.jobs.domain.BaseJob; +import de.ii.xtraplatform.jobs.domain.Job; +import de.ii.xtraplatform.jobs.domain.JobQueue; +import de.ii.xtraplatform.jobs.domain.JobSet; +import java.util.ArrayDeque; +import java.util.Collection; +import java.util.Deque; +import java.util.List; +import java.util.Map; +import java.util.Objects; +import java.util.Optional; +import java.util.Queue; +import java.util.concurrent.ConcurrentHashMap; +import java.util.concurrent.CopyOnWriteArrayList; +import javax.inject.Inject; +import javax.inject.Singleton; +import org.slf4j.Logger; +import org.slf4j.LoggerFactory; + +@Singleton +@AutoBind +public class JobQueueSimple implements JobQueue { + + private static final Logger LOGGER = LoggerFactory.getLogger(JobQueueSimple.class); + + private final Map jobSets; + private final Map> queues; + private final Queue openQueue; + private final List takenQueue; + private final List errorQueue; + + @Inject + JobQueueSimple(AppContext appContext) { + // TODO: if enabled, start embedded queue + this.jobSets = new ConcurrentHashMap<>(); + this.queues = new ConcurrentHashMap<>(); + this.openQueue = new ArrayDeque<>(); + this.takenQueue = new CopyOnWriteArrayList<>(); + this.errorQueue = new CopyOnWriteArrayList<>(); + + // TODO: housekeeping + } + + @Override + public synchronized void push(BaseJob job, boolean untake) { + if (!queues.containsKey(job.getType())) { + queues.put(job.getType(), new ArrayDeque<>()); + } + if (job instanceof Job) { + if (untake) { + takenQueue.remove(job); + queues.get(job.getType()).addFirst(((Job) job).reset()); + } else { + queues.get(job.getType()).add((Job) job); + } + } else if (job instanceof JobSet) { + jobSets.put(job.getId(), (JobSet) job); + + if (((JobSet) job).getSetup().isPresent()) { + push(((JobSet) job).getSetup().get()); + } + } else { + throw new IllegalArgumentException("Unknown job type: " + job.getClass()); + } + } + + @Override + public synchronized Optional take(String type, String executor) { + if (!queues.containsKey(type)) { + queues.put(type, new ArrayDeque<>()); + } + if (!queues.get(type).isEmpty()) { + Job job = queues.get(type).remove().started(executor); + takenQueue.add(job); + + return Optional.of(job); + } + + return Optional.empty(); + } + + @Override + public synchronized boolean done(String jobId) { + Optional job = + takenQueue.stream().filter(job1 -> Objects.equals(job1.getId(), jobId)).findFirst(); + + if (job.isPresent()) { + if (job.get().getPartOf().isPresent()) { + String setId = job.get().getPartOf().get(); + + if (jobSets.containsKey(setId)) { + List followUps = jobSets.get(setId).done(job.get()); + followUps.forEach(this::push); + // TODO: if done, mark for removal + } + } + + takenQueue.remove(job.get()); + + job.get().getFollowUps().forEach(this::push); + + return true; + } + + return false; + } + + @Override + public synchronized boolean doneSet(String jobSetId) { + return jobSets.remove(jobSetId) != null; + } + + @Override + public synchronized boolean error(String jobId, String error, boolean retry) { + Optional job = + takenQueue.stream().filter(job1 -> Objects.equals(job1.getId(), jobId)).findFirst(); + + if (job.isPresent()) { + takenQueue.remove(job.get()); + + if (retry) { + int retries = job.get().getRetries().orElse(0); + if (retries < 3) { + push(job.get().retry(error), true); + + return true; + } + } + + errorQueue.add(job.get().failed(error)); + + if (job.get().getPartOf().isPresent()) { + String setId = job.get().getPartOf().get(); + + if (jobSets.containsKey(setId)) { + List followUps = jobSets.get(setId).done(job.get()); + followUps.forEach(this::push); + // TODO: if done, mark for removal + } + } + } + + return false; + } + + @Override + public Collection getSets() { + return jobSets.values(); + } + + @Override + public Map> getOpen() { + return queues; + } + + @Override + public Collection getTaken() { + return takenQueue; + } + + @Override + public Collection getFailed() { + return errorQueue; + } + + @Override + public JobSet getSet(String setId) { + return jobSets.get(setId); + } +} diff --git a/xtraplatform-jobs/src/main/java/de/ii/xtraplatform/jobs/app/JobRunner.java b/xtraplatform-jobs/src/main/java/de/ii/xtraplatform/jobs/app/JobRunner.java new file mode 100644 index 00000000..022123ab --- /dev/null +++ b/xtraplatform-jobs/src/main/java/de/ii/xtraplatform/jobs/app/JobRunner.java @@ -0,0 +1,310 @@ +/* + * Copyright 2024 interactive instruments GmbH + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + */ +package de.ii.xtraplatform.jobs.app; + +import com.github.azahnen.dagger.annotations.AutoBind; +import com.google.common.util.concurrent.MoreExecutors; +import com.google.common.util.concurrent.ThreadFactoryBuilder; +import dagger.Lazy; +import de.ii.xtraplatform.base.domain.AppContext; +import de.ii.xtraplatform.base.domain.AppLifeCycle; +import de.ii.xtraplatform.base.domain.LogContext; +import de.ii.xtraplatform.base.domain.LogContext.MARKER; +import de.ii.xtraplatform.jobs.domain.Job; +import de.ii.xtraplatform.jobs.domain.JobProcessor; +import de.ii.xtraplatform.jobs.domain.JobQueue; +import de.ii.xtraplatform.jobs.domain.JobResult; +import de.ii.xtraplatform.jobs.domain.JobSet; +import java.time.Duration; +import java.time.Instant; +import java.util.Collections; +import java.util.LinkedHashMap; +import java.util.Locale; +import java.util.Map; +import java.util.Objects; +import java.util.Optional; +import java.util.Set; +import java.util.concurrent.CompletionStage; +import java.util.concurrent.ExecutorService; +import java.util.concurrent.Executors; +import java.util.concurrent.ScheduledExecutorService; +import java.util.concurrent.ScheduledThreadPoolExecutor; +import java.util.concurrent.ThreadPoolExecutor; +import java.util.concurrent.TimeUnit; +import java.util.concurrent.atomic.AtomicInteger; +import java.util.function.Supplier; +import javax.inject.Inject; +import javax.inject.Singleton; +import org.slf4j.Logger; +import org.slf4j.LoggerFactory; +import org.threeten.extra.AmountFormats; + +@Singleton +@AutoBind +public class JobRunner implements AppLifeCycle { + + private static final Logger LOGGER = LoggerFactory.getLogger(JobRunner.class); + + private final JobQueue jobQueue; + private final Lazy>> processors; + private final ScheduledExecutorService polling; + private final ExecutorService executor; + private final String executorName; + private final int maxThreads; + private final Supplier activeThreads; + private final Map jobSetConcurrency; + private final Map jobSetConcurrencyMax; + + @Inject + JobRunner(AppContext appContext, JobQueue jobQueue, Lazy>> processors) { + this.jobQueue = jobQueue; + this.processors = processors; + this.polling = + MoreExecutors.getExitingScheduledExecutorService( + (ScheduledThreadPoolExecutor) + Executors.newScheduledThreadPool( + 1, new ThreadFactoryBuilder().setNameFormat("jobs.poll-%d").build())); + ThreadPoolExecutor threadPoolExecutor = + (ThreadPoolExecutor) + Executors.newFixedThreadPool( + appContext.getConfiguration().getBackgroundTasks().getMaxThreads(), + new ThreadFactoryBuilder().setNameFormat("jobs.exec-%d").build()); + this.executor = MoreExecutors.getExitingExecutorService(threadPoolExecutor); + this.executorName = appContext.getInstanceName(); + this.maxThreads = threadPoolExecutor.getMaximumPoolSize(); + this.activeThreads = threadPoolExecutor::getActiveCount; + + this.jobSetConcurrency = + Collections.synchronizedMap( + new LinkedHashMap<>() { + // delete the oldest entry if the map size exceeds 1023 + @Override + protected boolean removeEldestEntry(Map.Entry eldest) { + return size() > 1023; + } + }); + this.jobSetConcurrencyMax = + Collections.synchronizedMap( + new LinkedHashMap<>() { + // delete the oldest entry if the map size exceeds 1023 + @Override + protected boolean removeEldestEntry(Map.Entry eldest) { + return size() > 1023; + } + }); + } + + @Override + public CompletionStage onStart(boolean isStartupAsync) { + // check for new jobs every second + polling.scheduleAtFixedRate( + () -> { + for (JobProcessor processor : processors.get()) { + while (activeThreads.get() < maxThreads) { + Optional optionalJob = jobQueue.take(processor.getJobType(), executorName); + + if (optionalJob.isPresent()) { + if (optionalJob.get().getPartOf().isPresent()) { + JobSet jobSet = jobQueue.getSet(optionalJob.get().getPartOf().get()); + + if (jobSet.getEntity().isPresent()) { + LogContext.put(LogContext.CONTEXT.SERVICE, jobSet.getEntity().get()); + } + + if (shouldSuspend(jobSet, processor)) { + if (logJobsTrace()) { + LOGGER.trace( + MARKER.JOBS, + "Max concurrency reached, suspending job set ({})", + optionalJob.get().getPartOf().get()); + } + + jobQueue.push(optionalJob.get(), true); + + break; + } + + int active = jobSetConcurrency.get(jobSet.getId()).incrementAndGet(); + + if (logJobsTrace()) { + LOGGER.trace( + MARKER.JOBS, + "Increased concurrency for job set to {} ({})", + active, + jobSet.getId()); + } + } + + run(processor, optionalJob.get()); + } else { + break; + } + } + } + }, + 0, + 1, + TimeUnit.SECONDS); + + // check for orphaned jobs every minute + polling.scheduleAtFixedRate( + () -> { + long oneMinuteAgo = Instant.now().minus(Duration.ofMinutes(1)).getEpochSecond(); + + if (logJobsTrace()) { + LOGGER.trace(MARKER.JOBS, "Checking for orphaned jobs (updatedAt < {})", oneMinuteAgo); + } + + for (Job job : jobQueue.getTaken()) { + // TODO: also update vector progress, remove raster check + if (job.getType().equals("tile-seeding:raster:png") + && job.getUpdatedAt().get() < oneMinuteAgo) { + if (logJobsDebug()) { + LOGGER.debug(MARKER.JOBS, "Found orphaned job, adding to queue again: {}", job); + } + jobQueue.push(job, true); + } + } + + if (logJobsTrace()) { + LOGGER.trace(MARKER.JOBS, "Finished checking for orphaned jobs"); + } + + // remove done job sets older than one hour + long oneHourAgo = Instant.now().minus(Duration.ofHours(1)).getEpochSecond(); + + for (JobSet jobSet : jobQueue.getSets()) { + if (jobSet.isDone() && jobSet.getUpdatedAt().get() < oneHourAgo) { + jobQueue.doneSet(jobSet.getId()); + } + } + }, + 1, + 1, + TimeUnit.MINUTES); + + // log progress for active job sets every 5 seconds + polling.scheduleAtFixedRate( + () -> { + if (logJobsDebug()) { + jobSetConcurrency.forEach( + (jobSetId, concurrency) -> { + JobSet jobSet = jobQueue.getSet(jobSetId); + if (Objects.nonNull(jobSet)) { + if (jobSet.getEntity().isPresent()) { + LogContext.put(LogContext.CONTEXT.SERVICE, jobSet.getEntity().get()); + } + LOGGER.debug( + MARKER.JOBS, + "{} at {}%{}", + jobSet.getLabel(), + jobSet.getPercent(), + jobSet.getDescription().orElse("")); + } + }); + } + }, + 5, + 5, + TimeUnit.SECONDS); + + return AppLifeCycle.super.onStart(isStartupAsync); + } + + private boolean shouldSuspend(JobSet jobSet, JobProcessor processor) { + if (!jobSetConcurrencyMax.containsKey(jobSet.getId())) { + jobSetConcurrencyMax.put(jobSet.getId(), processor.getConcurrency(jobSet)); + if (logJobsTrace()) { + LOGGER.trace( + MARKER.JOBS, + "Max concurrency for job set is {} ({})", + jobSetConcurrencyMax.get(jobSet.getId()), + jobSet.getId()); + } + } + + if (!jobSetConcurrency.containsKey(jobSet.getId())) { + jobSetConcurrency.put(jobSet.getId(), new AtomicInteger(0)); + } + + return jobSetConcurrency.get(jobSet.getId()).get() >= jobSetConcurrencyMax.get(jobSet.getId()); + } + + private void run(JobProcessor processor, Job job) { + executor.execute( + () -> { + Instant start = Instant.now(); + Optional jobSet = job.getPartOf().map(jobQueue::getSet); + + if (jobSet.isPresent() && jobSet.get().getEntity().isPresent()) { + LogContext.put(LogContext.CONTEXT.SERVICE, jobSet.get().getEntity().get()); + } + + if (logJobsTrace()) { + LOGGER.trace(MARKER.JOBS, "Processing job: {}", job); + } + + JobResult result; + try { + result = processor.process(job, jobSet.orElse(null), jobQueue::push); + } catch (Throwable e) { + result = JobResult.error(e.getClass() + e.getMessage()); + } + + if (jobSet.isPresent()) { + int active = jobSetConcurrency.get(jobSet.get().getId()).decrementAndGet(); + + if (logJobsTrace()) { + LOGGER.trace( + MARKER.JOBS, + "Decreased concurrency for job set to {} ({})", + active, + jobSet.get().getId()); + } + } + + if (result.isSuccess()) { + jobQueue.done(job.getId()); + } else if (result.isFailure()) { + boolean retry = jobQueue.error(job.getId(), result.getError().get(), result.isRetry()); + if (!retry) { + LOGGER.error("Error while processing job: {}", result.getError().get()); + } + } + + if (jobSet.isPresent()) { + if (jobSet.get().isDone()) { + jobSetConcurrency.remove(jobSet.get().getId()); + jobSetConcurrencyMax.remove(jobSet.get().getId()); + } + } + + if (logJobsTrace()) { + if (result.isOnHold()) { + LOGGER.trace(MARKER.JOBS, "Postponed job: {}", job); + } else { + long duration = Instant.now().toEpochMilli() - start.toEpochMilli(); + LOGGER.trace(MARKER.JOBS, "Processed job in {}: {}", pretty(duration), job); + } + } + }); + } + + private static boolean logJobsTrace() { + return LOGGER.isDebugEnabled(MARKER.JOBS) || LOGGER.isTraceEnabled(); + } + + private static boolean logJobsDebug() { + return LOGGER.isDebugEnabled(MARKER.JOBS) || LOGGER.isDebugEnabled(); + } + + private static String pretty(long milliseconds) { + Duration d = Duration.ofSeconds(milliseconds / 1000); + return AmountFormats.wordBased(d, Locale.ENGLISH); + } +} diff --git a/xtraplatform-jobs/src/main/java/de/ii/xtraplatform/jobs/app/OpsEndpointJobs.java b/xtraplatform-jobs/src/main/java/de/ii/xtraplatform/jobs/app/OpsEndpointJobs.java new file mode 100644 index 00000000..51a7b155 --- /dev/null +++ b/xtraplatform-jobs/src/main/java/de/ii/xtraplatform/jobs/app/OpsEndpointJobs.java @@ -0,0 +1,157 @@ +/* + * Copyright 2024 interactive instruments GmbH + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + */ +package de.ii.xtraplatform.jobs.app; + +import com.fasterxml.jackson.core.JsonProcessingException; +import com.fasterxml.jackson.databind.ObjectMapper; +import com.github.azahnen.dagger.annotations.AutoBind; +import de.ii.xtraplatform.base.domain.AppContext; +import de.ii.xtraplatform.base.domain.Jackson; +import de.ii.xtraplatform.base.domain.LogContext.MARKER; +import de.ii.xtraplatform.jobs.domain.Job; +import de.ii.xtraplatform.jobs.domain.JobQueue; +import de.ii.xtraplatform.jobs.domain.JobSet; +import de.ii.xtraplatform.ops.domain.OpsEndpoint; +import java.util.LinkedHashMap; +import java.util.Map; +import java.util.Objects; +import java.util.Optional; +import javax.inject.Inject; +import javax.inject.Singleton; +import javax.ws.rs.Consumes; +import javax.ws.rs.DELETE; +import javax.ws.rs.GET; +import javax.ws.rs.POST; +import javax.ws.rs.Path; +import javax.ws.rs.PathParam; +import javax.ws.rs.Produces; +import javax.ws.rs.QueryParam; +import javax.ws.rs.core.MediaType; +import javax.ws.rs.core.Response; +import javax.ws.rs.core.Response.Status; +import org.slf4j.Logger; +import org.slf4j.LoggerFactory; + +@Singleton +@AutoBind +public class OpsEndpointJobs implements OpsEndpoint { + + private static final Logger LOGGER = LoggerFactory.getLogger(OpsEndpointJobs.class); + + private final JobQueue jobQueue; + private final ObjectMapper objectMapper; + + @Inject + public OpsEndpointJobs(AppContext appContext, Jackson jackson, JobQueue jobQueue) { + // TODO: if enabled, start embedded queue + this.objectMapper = jackson.getDefaultObjectMapper(); + this.jobQueue = jobQueue; + } + + @Override + public String getEntrypoint() { + return "jobs"; + } + + @GET + @Produces(MediaType.APPLICATION_JSON) + public Response getJobs(@QueryParam("debug") boolean debug) throws JsonProcessingException { + Map jobs = new LinkedHashMap<>(); + jobs.put("sets", jobQueue.getSets()); + + if (debug) { + jobs.put("open", jobQueue.getOpen()); + jobs.put("taken", jobQueue.getTaken()); + jobs.put("failed", jobQueue.getFailed()); + } + + try { + String s = objectMapper.writeValueAsString(jobs); + return Response.ok(s).build(); + } catch (Throwable e) { + LOGGER.error("Error while serializing jobs", e); + throw e; + } + } + + @POST + @Consumes(MediaType.APPLICATION_JSON) + @Produces(MediaType.APPLICATION_JSON) + public synchronized Response takeJob(Map executor) + throws JsonProcessingException { + Optional job = jobQueue.take(executor.get("type"), executor.get("id")); + + if (job.isPresent()) { + if (LOGGER.isTraceEnabled() || LOGGER.isTraceEnabled(MARKER.JOBS)) { + LOGGER.trace( + MARKER.JOBS, + "Job {} taken by remote executor {}", + job.get().getId(), + executor.get("id")); + } + return Response.ok(objectMapper.writeValueAsString(job.get())).build(); + } + + return Response.noContent().build(); + } + + @POST + @Path("/{jobId}") + @Consumes(MediaType.APPLICATION_JSON) + public synchronized Response updateJob( + @PathParam("jobId") String jobId, Map progress) + throws JsonProcessingException { + Optional job = + jobQueue.getTaken().stream() + .filter(job1 -> Objects.equals(job1.getId(), jobId)) + .findFirst(); + + if (job.isPresent()) { + int delta = progress.containsKey("delta") ? Integer.parseInt(progress.get("delta")) : 0; + + job.get().update(delta); + + if (delta > 0 && job.get().getPartOf().isPresent()) { + JobSet set = jobQueue.getSet(job.get().getPartOf().get()); + set.update(delta); + set.getDetails().update(progress); + } + } + + return Response.noContent().build(); + } + + @DELETE + @Path("/{jobId}") + @Consumes(MediaType.APPLICATION_JSON) + @Produces(MediaType.APPLICATION_JSON) + public synchronized Response closeJob( + @PathParam("jobId") String jobId, Map result) throws JsonProcessingException { + if (result.containsKey("error") && Objects.nonNull(result.get("error"))) { + boolean retry = + jobQueue.error(jobId, result.get("error"), Boolean.parseBoolean(result.get("retry"))); + + if (LOGGER.isTraceEnabled() || LOGGER.isTraceEnabled(MARKER.JOBS)) { + LOGGER.trace( + MARKER.JOBS, "Job {} marked as error by remote executor (retry: {})", jobId, retry); + } + + return Response.noContent().build(); + } + + if (jobQueue.done(jobId)) { + if (LOGGER.isTraceEnabled() || LOGGER.isTraceEnabled(MARKER.JOBS)) { + LOGGER.trace(MARKER.JOBS, "Job {} marked as done by remote executor", jobId); + } + + return Response.noContent().build(); + } + + return Response.status(Status.NOT_FOUND).build(); + } +} diff --git a/xtraplatform-jobs/src/main/java/de/ii/xtraplatform/jobs/domain/BaseJob.java b/xtraplatform-jobs/src/main/java/de/ii/xtraplatform/jobs/domain/BaseJob.java new file mode 100644 index 00000000..9225bb75 --- /dev/null +++ b/xtraplatform-jobs/src/main/java/de/ii/xtraplatform/jobs/domain/BaseJob.java @@ -0,0 +1,97 @@ +/* + * Copyright 2024 interactive instruments GmbH + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + */ +package de.ii.xtraplatform.jobs.domain; + +import com.fasterxml.uuid.Generators; +import com.fasterxml.uuid.NoArgGenerator; +import java.time.Instant; +import java.util.List; +import java.util.OptionalInt; +import java.util.concurrent.atomic.AtomicInteger; +import java.util.concurrent.atomic.AtomicLong; +import org.immutables.value.Value; + +public interface BaseJob { + + NoArgGenerator UUID = Generators.defaultTimeBasedGenerator(); + + @Value.Default + default String getId() { + return UUID.generate().toString(); + } + + String getType(); + + Object getDetails(); + + List getFollowUps(); + + List getErrors(); + + OptionalInt getTimeout(); + + OptionalInt getRetries(); + + // TODO: progress wrapper? + + @Value.Default + default AtomicLong getStartedAt() { + return new AtomicLong(-1); + } + + @Value.Default + default AtomicLong getUpdatedAt() { + return new AtomicLong(-1); + } + + @Value.Default + default AtomicInteger getTotal() { + return new AtomicInteger(0); + } + + @Value.Default + default AtomicInteger getCurrent() { + return new AtomicInteger(0); + } + + default int getPercent() { + int total = getTotal().get(); + + if (total == 0) { + if (getStartedAt().get() <= 0) { + return 0; + } + return 100; + } + + if (total == -1) { + return 0; + } + + int current = getCurrent().get(); + + if (current >= total) { + return 100; + } + + return (int) ((((float) Math.max(current, 0)) / total) * 100); + } + + default boolean isDone() { + return getTotal().get() == getCurrent().get(); + } + + default void init(int delta) { + getTotal().addAndGet(delta); + } + + default void update(int delta) { + getCurrent().addAndGet(delta); + getUpdatedAt().set(Instant.now().getEpochSecond()); + } +} diff --git a/xtraplatform-jobs/src/main/java/de/ii/xtraplatform/jobs/domain/Job.java b/xtraplatform-jobs/src/main/java/de/ii/xtraplatform/jobs/domain/Job.java new file mode 100644 index 00000000..b2d32226 --- /dev/null +++ b/xtraplatform-jobs/src/main/java/de/ii/xtraplatform/jobs/domain/Job.java @@ -0,0 +1,78 @@ +/* + * Copyright 2024 interactive instruments GmbH + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + */ +package de.ii.xtraplatform.jobs.domain; + +import java.time.Instant; +import java.util.Collection; +import java.util.Optional; +import java.util.concurrent.atomic.AtomicInteger; +import java.util.concurrent.atomic.AtomicLong; +import org.immutables.value.Value; + +@Value.Immutable +public interface Job extends BaseJob { + + static Job of(String type, Object details) { + return new ImmutableJob.Builder().type(type).details(details).build(); + } + + static Job of(String type, Object details, String partOf, int total) { + return new ImmutableJob.Builder() + .type(type) + .details(details) + .partOf(partOf) + .total(new AtomicInteger(total)) + .build(); + } + + default Job started(String executor) { + return new ImmutableJob.Builder() + .from(this) + .executor(executor) + .startedAt(new AtomicLong(Instant.now().getEpochSecond())) + .updatedAt(new AtomicLong(Instant.now().getEpochSecond())) + .build(); + } + + default Job reset() { + return new ImmutableJob.Builder() + .from(this) + .executor(Optional.empty()) + .startedAt(new AtomicLong(-1)) + .updatedAt(new AtomicLong(-1)) + .build(); + } + + default Job retry(String error) { + return new ImmutableJob.Builder() + .from(this) + .retries(this.getRetries().orElse(0) + 1) + .addErrors(error) + .build(); + } + + default Job failed(String error) { + return new ImmutableJob.Builder().from(this).addErrors(error).build(); + } + + default Job with(String jobSetId) { + return new ImmutableJob.Builder().from(this).partOf(jobSetId).build(); + } + + default Job with(BaseJob... followUps) { + return new ImmutableJob.Builder().from(this).addFollowUps(followUps).build(); + } + + default Job with(Collection followUps) { + return new ImmutableJob.Builder().from(this).addAllFollowUps(followUps).build(); + } + + Optional getExecutor(); + + Optional getPartOf(); +} diff --git a/xtraplatform-jobs/src/main/java/de/ii/xtraplatform/jobs/domain/JobProcessor.java b/xtraplatform-jobs/src/main/java/de/ii/xtraplatform/jobs/domain/JobProcessor.java new file mode 100644 index 00000000..9af378cb --- /dev/null +++ b/xtraplatform-jobs/src/main/java/de/ii/xtraplatform/jobs/domain/JobProcessor.java @@ -0,0 +1,39 @@ +/* + * Copyright 2024 interactive instruments GmbH + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + */ +package de.ii.xtraplatform.jobs.domain; + +import com.github.azahnen.dagger.annotations.AutoMultiBind; +import java.util.Objects; +import java.util.function.Consumer; + +@AutoMultiBind +public interface JobProcessor { + + String getJobType(); + + int getConcurrency(JobSet jobSet); + + JobResult process(Job job, JobSet jobSet, Consumer pushJob); + + Class getDetailsType(); + + Class getSetDetailsType(); + + default boolean canHandle(Job job) { + return Objects.equals(job.getType(), getJobType()) + && (Objects.isNull(job.getDetails()) || getDetailsType().isInstance(job.getDetails())); + } + + default T getDetails(Job job) { + return getDetailsType().cast(job.getDetails()); + } + + default U getSetDetails(JobSet jobSet) { + return getSetDetailsType().cast(jobSet.getDetails()); + } +} diff --git a/xtraplatform-jobs/src/main/java/de/ii/xtraplatform/jobs/domain/JobProgress.java b/xtraplatform-jobs/src/main/java/de/ii/xtraplatform/jobs/domain/JobProgress.java new file mode 100644 index 00000000..81494f46 --- /dev/null +++ b/xtraplatform-jobs/src/main/java/de/ii/xtraplatform/jobs/domain/JobProgress.java @@ -0,0 +1,47 @@ +/* + * Copyright 2024 interactive instruments GmbH + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + */ +package de.ii.xtraplatform.jobs.domain; + +import java.util.concurrent.atomic.AtomicInteger; +import org.immutables.value.Value; + +@Value.Immutable +public interface JobProgress { + @Value.Default + default AtomicInteger getTotal() { + return new AtomicInteger(-1); + } + + @Value.Default + default AtomicInteger getCurrent() { + return new AtomicInteger(0); + } + + default int getPercent() { + int total = getTotal().get(); + + if (total == -1) { + return 0; + } + if (total == 0) { + return 100; + } + + int current = getCurrent().get(); + + if (current >= total) { + return 100; + } + + return (int) ((((float) Math.max(current, 0)) / total) * 100); + } + + default boolean isDone() { + return getPercent() == 100; + } +} diff --git a/xtraplatform-jobs/src/main/java/de/ii/xtraplatform/jobs/domain/JobProgressTime.java b/xtraplatform-jobs/src/main/java/de/ii/xtraplatform/jobs/domain/JobProgressTime.java new file mode 100644 index 00000000..4fe933d1 --- /dev/null +++ b/xtraplatform-jobs/src/main/java/de/ii/xtraplatform/jobs/domain/JobProgressTime.java @@ -0,0 +1,24 @@ +/* + * Copyright 2024 interactive instruments GmbH + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + */ +package de.ii.xtraplatform.jobs.domain; + +import java.util.concurrent.atomic.AtomicLong; +import org.immutables.value.Value; + +@Value.Immutable +public interface JobProgressTime extends JobProgress { + @Value.Default + default AtomicLong getStartedAt() { + return new AtomicLong(-1); + } + + @Value.Default + default AtomicLong getUpdatedAt() { + return new AtomicLong(-1); + } +} diff --git a/xtraplatform-jobs/src/main/java/de/ii/xtraplatform/jobs/domain/JobQueue.java b/xtraplatform-jobs/src/main/java/de/ii/xtraplatform/jobs/domain/JobQueue.java new file mode 100644 index 00000000..e203b3f3 --- /dev/null +++ b/xtraplatform-jobs/src/main/java/de/ii/xtraplatform/jobs/domain/JobQueue.java @@ -0,0 +1,40 @@ +/* + * Copyright 2024 interactive instruments GmbH + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + */ +package de.ii.xtraplatform.jobs.domain; + +import java.util.Collection; +import java.util.Deque; +import java.util.Map; +import java.util.Optional; + +public interface JobQueue { + + void push(BaseJob job, boolean untake); + + default void push(BaseJob job) { + push(job, false); + } + + Optional take(String type, String executor); + + boolean done(String jobId); + + boolean doneSet(String jobSetId); + + boolean error(String jobId, String error, boolean retry); + + Collection getSets(); + + Map> getOpen(); + + Collection getTaken(); + + Collection getFailed(); + + JobSet getSet(String setId); +} diff --git a/xtraplatform-jobs/src/main/java/de/ii/xtraplatform/jobs/domain/JobResult.java b/xtraplatform-jobs/src/main/java/de/ii/xtraplatform/jobs/domain/JobResult.java new file mode 100644 index 00000000..062c8f9d --- /dev/null +++ b/xtraplatform-jobs/src/main/java/de/ii/xtraplatform/jobs/domain/JobResult.java @@ -0,0 +1,53 @@ +/* + * Copyright 2024 interactive instruments GmbH + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + */ +package de.ii.xtraplatform.jobs.domain; + +import java.util.Optional; +import org.immutables.value.Value; + +@Value.Immutable +public interface JobResult { + + static JobResult success() { + return new ImmutableJobResult.Builder().build(); + } + + static JobResult onHold() { + return new ImmutableJobResult.Builder().onHold(true).build(); + } + + static JobResult retry(String error) { + return new ImmutableJobResult.Builder().error(error).retry(true).build(); + } + + static JobResult error(String error) { + return new ImmutableJobResult.Builder().error(error).build(); + } + + Optional getError(); + + @Value.Default + default boolean isRetry() { + return false; + } + + @Value.Default + default boolean isOnHold() { + return false; + } + + @Value.Derived + default boolean isSuccess() { + return getError().isEmpty() && !isOnHold(); + } + + @Value.Derived + default boolean isFailure() { + return getError().isPresent(); + } +} diff --git a/xtraplatform-jobs/src/main/java/de/ii/xtraplatform/jobs/domain/JobSet.java b/xtraplatform-jobs/src/main/java/de/ii/xtraplatform/jobs/domain/JobSet.java new file mode 100644 index 00000000..8efd301c --- /dev/null +++ b/xtraplatform-jobs/src/main/java/de/ii/xtraplatform/jobs/domain/JobSet.java @@ -0,0 +1,99 @@ +/* + * Copyright 2024 interactive instruments GmbH + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + */ +package de.ii.xtraplatform.jobs.domain; + +import java.time.Instant; +import java.util.List; +import java.util.Map; +import java.util.Objects; +import java.util.Optional; +import java.util.concurrent.atomic.AtomicInteger; +import java.util.concurrent.atomic.AtomicLong; +import org.immutables.value.Value; + +@Value.Immutable +public interface JobSet extends BaseJob { + + interface JobSetDetails { + void update(Map parameters); + } + + @Override + JobSetDetails getDetails(); + + static JobSet of( + String type, String entity, String label, String description, JobSetDetails details) { + return new ImmutableJobSet.Builder() + .type(type) + .entity(entity) + .label(label) + .description(description) + .details(details) + .startedAt(new AtomicLong()) + .total(new AtomicInteger(-1)) + .current(new AtomicInteger(0)) + .build(); + } + + default JobSet with(Job setup, Job cleanup) { + return new ImmutableJobSet.Builder() + .from(this) + .setup(setup.with(this.getId())) + .cleanup(cleanup.with(this.getId())) + .build(); + } + + default JobSet with(BaseJob... followUps) { + return new ImmutableJobSet.Builder().from(this).addFollowUps(followUps).build(); + } + + default JobSet with(String description, JobSetDetails details) { + return new ImmutableJobSet.Builder() + .from(this) + .description(description) + .details(details) + .build(); + } + + default void start() { + getStartedAt().set(Instant.now().getEpochSecond()); + getTotal().set(0); + } + + default List done(Job job) { + if (getSetup().isPresent() && Objects.equals(job.getId(), getSetup().get().getId())) { + return List.of(); + } + + if (getCleanup().isPresent() && Objects.equals(job.getId(), getCleanup().get().getId())) { + return getFollowUps(); + } + + // getCurrent().incrementAndGet(); + getUpdatedAt().set(Instant.now().getEpochSecond()); + + if (isDone()) { + return getCleanup().isPresent() ? List.of(getCleanup().get()) : getFollowUps(); + } + + return List.of(); + } + + @Value.Default + default String getLabel() { + return getType(); + } + + Optional getDescription(); + + Optional getEntity(); + + Optional getSetup(); + + Optional getCleanup(); +} diff --git a/xtraplatform-jobs/src/main/java/de/ii/xtraplatform/jobs/domain/package-info.java b/xtraplatform-jobs/src/main/java/de/ii/xtraplatform/jobs/domain/package-info.java new file mode 100644 index 00000000..c9ada194 --- /dev/null +++ b/xtraplatform-jobs/src/main/java/de/ii/xtraplatform/jobs/domain/package-info.java @@ -0,0 +1,12 @@ +@AutoModule(single = true, encapsulate = true) +@Value.Style( + builder = "new", + deepImmutablesDetection = true, + attributeBuilderDetection = true, + passAnnotations = {DocIgnore.class}, + get = {"is*", "get*"}) +package de.ii.xtraplatform.jobs.domain; + +import com.github.azahnen.dagger.annotations.AutoModule; +import org.immutables.value.Value; +import de.ii.xtraplatform.docs.DocIgnore; diff --git a/xtraplatform-ops/src/main/resources/dashboard/404.html b/xtraplatform-ops/src/main/resources/dashboard/404.html index 78a5539a..0e79c898 100644 --- a/xtraplatform-ops/src/main/resources/dashboard/404.html +++ b/xtraplatform-ops/src/main/resources/dashboard/404.html @@ -1 +1 @@ -404: This page could not be found. \ No newline at end of file +404: This page could not be found. \ No newline at end of file diff --git a/xtraplatform-ops/src/main/resources/dashboard/_next/static/nD6-RHq6D_GhmrBRPSlWB/_buildManifest.js b/xtraplatform-ops/src/main/resources/dashboard/_next/static/MuFh4XCQRg0zbfu819Cfz/_buildManifest.js similarity index 100% rename from xtraplatform-ops/src/main/resources/dashboard/_next/static/nD6-RHq6D_GhmrBRPSlWB/_buildManifest.js rename to xtraplatform-ops/src/main/resources/dashboard/_next/static/MuFh4XCQRg0zbfu819Cfz/_buildManifest.js diff --git a/xtraplatform-ops/src/main/resources/dashboard/_next/static/nD6-RHq6D_GhmrBRPSlWB/_ssgManifest.js b/xtraplatform-ops/src/main/resources/dashboard/_next/static/MuFh4XCQRg0zbfu819Cfz/_ssgManifest.js similarity index 100% rename from xtraplatform-ops/src/main/resources/dashboard/_next/static/nD6-RHq6D_GhmrBRPSlWB/_ssgManifest.js rename to xtraplatform-ops/src/main/resources/dashboard/_next/static/MuFh4XCQRg0zbfu819Cfz/_ssgManifest.js diff --git a/xtraplatform-ops/src/main/resources/dashboard/_next/static/chunks/0e5ce63c-1adf26e39f15d56f.js b/xtraplatform-ops/src/main/resources/dashboard/_next/static/chunks/0e5ce63c-1adf26e39f15d56f.js deleted file mode 100644 index 6448f2ad..00000000 --- a/xtraplatform-ops/src/main/resources/dashboard/_next/static/chunks/0e5ce63c-1adf26e39f15d56f.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[310],{2177:function(e,C,r){r.d(C,{BGW:function(){return k},LPM:function(){return m},NhS:function(){return o},QGC:function(){return M},T39:function(){return a},XCv:function(){return v},Xwj:function(){return x},dNJ:function(){return s},jVc:function(){return b},o1U:function(){return O},rG2:function(){return _},ugZ:function(){return H},v4q:function(){return c},wyc:function(){return d},xrR:function(){return g}});var n=r(4090);function t(e,C){if(null==e)return{};var r,n,t={},l=Object.keys(e);for(n=0;n=0||(t[r]=e[r]);return t}var l=["color"],o=(0,n.forwardRef)(function(e,C){var r=e.color,o=t(e,l);return(0,n.createElement)("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},o,{ref:C}),(0,n.createElement)("path",{d:"M7.49991 0.877045C3.84222 0.877045 0.877075 3.84219 0.877075 7.49988C0.877075 11.1575 3.84222 14.1227 7.49991 14.1227C11.1576 14.1227 14.1227 11.1575 14.1227 7.49988C14.1227 3.84219 11.1576 0.877045 7.49991 0.877045ZM1.82708 7.49988C1.82708 4.36686 4.36689 1.82704 7.49991 1.82704C10.6329 1.82704 13.1727 4.36686 13.1727 7.49988C13.1727 10.6329 10.6329 13.1727 7.49991 13.1727C4.36689 13.1727 1.82708 10.6329 1.82708 7.49988ZM10.1589 5.53774C10.3178 5.31191 10.2636 5.00001 10.0378 4.84109C9.81194 4.68217 9.50004 4.73642 9.34112 4.96225L6.51977 8.97154L5.35681 7.78706C5.16334 7.59002 4.84677 7.58711 4.64973 7.78058C4.45268 7.97404 4.44978 8.29061 4.64325 8.48765L6.22658 10.1003C6.33054 10.2062 6.47617 10.2604 6.62407 10.2483C6.77197 10.2363 6.90686 10.1591 6.99226 10.0377L10.1589 5.53774Z",fill:void 0===r?"currentColor":r,fillRule:"evenodd",clipRule:"evenodd"}))}),i=["color"],c=(0,n.forwardRef)(function(e,C){var r=e.color,l=t(e,i);return(0,n.createElement)("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},l,{ref:C}),(0,n.createElement)("path",{d:"M3.13523 6.15803C3.3241 5.95657 3.64052 5.94637 3.84197 6.13523L7.5 9.56464L11.158 6.13523C11.3595 5.94637 11.6759 5.95657 11.8648 6.15803C12.0536 6.35949 12.0434 6.67591 11.842 6.86477L7.84197 10.6148C7.64964 10.7951 7.35036 10.7951 7.15803 10.6148L3.15803 6.86477C2.95657 6.67591 2.94637 6.35949 3.13523 6.15803Z",fill:void 0===r?"currentColor":r,fillRule:"evenodd",clipRule:"evenodd"}))}),f=["color"],d=(0,n.forwardRef)(function(e,C){var r=e.color,l=t(e,f);return(0,n.createElement)("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},l,{ref:C}),(0,n.createElement)("path",{d:"M8.84182 3.13514C9.04327 3.32401 9.05348 3.64042 8.86462 3.84188L5.43521 7.49991L8.86462 11.1579C9.05348 11.3594 9.04327 11.6758 8.84182 11.8647C8.64036 12.0535 8.32394 12.0433 8.13508 11.8419L4.38508 7.84188C4.20477 7.64955 4.20477 7.35027 4.38508 7.15794L8.13508 3.15794C8.32394 2.95648 8.64036 2.94628 8.84182 3.13514Z",fill:void 0===r?"currentColor":r,fillRule:"evenodd",clipRule:"evenodd"}))}),u=["color"],v=(0,n.forwardRef)(function(e,C){var r=e.color,l=t(e,u);return(0,n.createElement)("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},l,{ref:C}),(0,n.createElement)("path",{d:"M6.1584 3.13508C6.35985 2.94621 6.67627 2.95642 6.86514 3.15788L10.6151 7.15788C10.7954 7.3502 10.7954 7.64949 10.6151 7.84182L6.86514 11.8418C6.67627 12.0433 6.35985 12.0535 6.1584 11.8646C5.95694 11.6757 5.94673 11.3593 6.1356 11.1579L9.565 7.49985L6.1356 3.84182C5.94673 3.64036 5.95694 3.32394 6.1584 3.13508Z",fill:void 0===r?"currentColor":r,fillRule:"evenodd",clipRule:"evenodd"}))}),w=["color"],a=(0,n.forwardRef)(function(e,C){var r=e.color,l=t(e,w);return(0,n.createElement)("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},l,{ref:C}),(0,n.createElement)("path",{d:"M7.50009 0.877014C3.84241 0.877014 0.877258 3.84216 0.877258 7.49984C0.877258 11.1575 3.8424 14.1227 7.50009 14.1227C11.1578 14.1227 14.1229 11.1575 14.1229 7.49984C14.1229 3.84216 11.1577 0.877014 7.50009 0.877014ZM1.82726 7.49984C1.82726 4.36683 4.36708 1.82701 7.50009 1.82701C10.6331 1.82701 13.1729 4.36683 13.1729 7.49984C13.1729 10.6328 10.6331 13.1727 7.50009 13.1727C4.36708 13.1727 1.82726 10.6328 1.82726 7.49984ZM8 4.50001C8 4.22387 7.77614 4.00001 7.5 4.00001C7.22386 4.00001 7 4.22387 7 4.50001V7.50001C7 7.63262 7.05268 7.7598 7.14645 7.85357L9.14645 9.85357C9.34171 10.0488 9.65829 10.0488 9.85355 9.85357C10.0488 9.65831 10.0488 9.34172 9.85355 9.14646L8 7.29291V4.50001Z",fill:void 0===r?"currentColor":r,fillRule:"evenodd",clipRule:"evenodd"}))}),L=["color"],s=(0,n.forwardRef)(function(e,C){var r=e.color,l=t(e,L);return(0,n.createElement)("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},l,{ref:C}),(0,n.createElement)("path",{d:"M9.96424 2.68571C10.0668 2.42931 9.94209 2.13833 9.6857 2.03577C9.4293 1.93322 9.13832 2.05792 9.03576 2.31432L5.03576 12.3143C4.9332 12.5707 5.05791 12.8617 5.3143 12.9642C5.5707 13.0668 5.86168 12.9421 5.96424 12.6857L9.96424 2.68571ZM3.85355 5.14646C4.04882 5.34172 4.04882 5.6583 3.85355 5.85356L2.20711 7.50001L3.85355 9.14646C4.04882 9.34172 4.04882 9.6583 3.85355 9.85356C3.65829 10.0488 3.34171 10.0488 3.14645 9.85356L1.14645 7.85356C0.951184 7.6583 0.951184 7.34172 1.14645 7.14646L3.14645 5.14646C3.34171 4.9512 3.65829 4.9512 3.85355 5.14646ZM11.1464 5.14646C11.3417 4.9512 11.6583 4.9512 11.8536 5.14646L13.8536 7.14646C14.0488 7.34172 14.0488 7.6583 13.8536 7.85356L11.8536 9.85356C11.6583 10.0488 11.3417 10.0488 11.1464 9.85356C10.9512 9.6583 10.9512 9.34172 11.1464 9.14646L12.7929 7.50001L11.1464 5.85356C10.9512 5.6583 10.9512 5.34172 11.1464 5.14646Z",fill:void 0===r?"currentColor":r,fillRule:"evenodd",clipRule:"evenodd"}))}),h=["color"],g=(0,n.forwardRef)(function(e,C){var r=e.color,l=t(e,h);return(0,n.createElement)("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},l,{ref:C}),(0,n.createElement)("path",{d:"M0.877075 7.49988C0.877075 3.84219 3.84222 0.877045 7.49991 0.877045C11.1576 0.877045 14.1227 3.84219 14.1227 7.49988C14.1227 11.1575 11.1576 14.1227 7.49991 14.1227C3.84222 14.1227 0.877075 11.1575 0.877075 7.49988ZM7.49991 1.82704C4.36689 1.82704 1.82708 4.36686 1.82708 7.49988C1.82708 10.6329 4.36689 13.1727 7.49991 13.1727C10.6329 13.1727 13.1727 10.6329 13.1727 7.49988C13.1727 4.36686 10.6329 1.82704 7.49991 1.82704ZM9.85358 5.14644C10.0488 5.3417 10.0488 5.65829 9.85358 5.85355L8.20713 7.49999L9.85358 9.14644C10.0488 9.3417 10.0488 9.65829 9.85358 9.85355C9.65832 10.0488 9.34173 10.0488 9.14647 9.85355L7.50002 8.2071L5.85358 9.85355C5.65832 10.0488 5.34173 10.0488 5.14647 9.85355C4.95121 9.65829 4.95121 9.3417 5.14647 9.14644L6.79292 7.49999L5.14647 5.85355C4.95121 5.65829 4.95121 5.3417 5.14647 5.14644C5.34173 4.95118 5.65832 4.95118 5.85358 5.14644L7.50002 6.79289L9.14647 5.14644C9.34173 4.95118 9.65832 4.95118 9.85358 5.14644Z",fill:void 0===r?"currentColor":r,fillRule:"evenodd",clipRule:"evenodd"}))}),p=["color"],M=(0,n.forwardRef)(function(e,C){var r=e.color,l=t(e,p);return(0,n.createElement)("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},l,{ref:C}),(0,n.createElement)("path",{d:"M2.8 1L2.74967 0.99997C2.52122 0.999752 2.32429 0.999564 2.14983 1.04145C1.60136 1.17312 1.17312 1.60136 1.04145 2.14983C0.999564 2.32429 0.999752 2.52122 0.99997 2.74967L1 2.8V5.2L0.99997 5.25033C0.999752 5.47878 0.999564 5.67572 1.04145 5.85017C1.17312 6.39864 1.60136 6.82688 2.14983 6.95856C2.32429 7.00044 2.52122 7.00025 2.74967 7.00003L2.8 7H5.2L5.25033 7.00003C5.47878 7.00025 5.67572 7.00044 5.85017 6.95856C6.39864 6.82688 6.82688 6.39864 6.95856 5.85017C7.00044 5.67572 7.00025 5.47878 7.00003 5.25033L7 5.2V2.8L7.00003 2.74967C7.00025 2.52122 7.00044 2.32429 6.95856 2.14983C6.82688 1.60136 6.39864 1.17312 5.85017 1.04145C5.67572 0.999564 5.47878 0.999752 5.25033 0.99997L5.2 1H2.8ZM2.38328 2.01382C2.42632 2.00348 2.49222 2 2.8 2H5.2C5.50779 2 5.57369 2.00348 5.61672 2.01382C5.79955 2.05771 5.94229 2.20045 5.98619 2.38328C5.99652 2.42632 6 2.49222 6 2.8V5.2C6 5.50779 5.99652 5.57369 5.98619 5.61672C5.94229 5.79955 5.79955 5.94229 5.61672 5.98619C5.57369 5.99652 5.50779 6 5.2 6H2.8C2.49222 6 2.42632 5.99652 2.38328 5.98619C2.20045 5.94229 2.05771 5.79955 2.01382 5.61672C2.00348 5.57369 2 5.50779 2 5.2V2.8C2 2.49222 2.00348 2.42632 2.01382 2.38328C2.05771 2.20045 2.20045 2.05771 2.38328 2.01382ZM9.8 1L9.74967 0.99997C9.52122 0.999752 9.32429 0.999564 9.14983 1.04145C8.60136 1.17312 8.17312 1.60136 8.04145 2.14983C7.99956 2.32429 7.99975 2.52122 7.99997 2.74967L8 2.8V5.2L7.99997 5.25033C7.99975 5.47878 7.99956 5.67572 8.04145 5.85017C8.17312 6.39864 8.60136 6.82688 9.14983 6.95856C9.32429 7.00044 9.52122 7.00025 9.74967 7.00003L9.8 7H12.2L12.2503 7.00003C12.4788 7.00025 12.6757 7.00044 12.8502 6.95856C13.3986 6.82688 13.8269 6.39864 13.9586 5.85017C14.0004 5.67572 14.0003 5.47878 14 5.25033L14 5.2V2.8L14 2.74967C14.0003 2.52122 14.0004 2.32429 13.9586 2.14983C13.8269 1.60136 13.3986 1.17312 12.8502 1.04145C12.6757 0.999564 12.4788 0.999752 12.2503 0.99997L12.2 1H9.8ZM9.38328 2.01382C9.42632 2.00348 9.49222 2 9.8 2H12.2C12.5078 2 12.5737 2.00348 12.6167 2.01382C12.7995 2.05771 12.9423 2.20045 12.9862 2.38328C12.9965 2.42632 13 2.49222 13 2.8V5.2C13 5.50779 12.9965 5.57369 12.9862 5.61672C12.9423 5.79955 12.7995 5.94229 12.6167 5.98619C12.5737 5.99652 12.5078 6 12.2 6H9.8C9.49222 6 9.42632 5.99652 9.38328 5.98619C9.20045 5.94229 9.05771 5.79955 9.01382 5.61672C9.00348 5.57369 9 5.50779 9 5.2V2.8C9 2.49222 9.00348 2.42632 9.01382 2.38328C9.05771 2.20045 9.20045 2.05771 9.38328 2.01382ZM2.74967 7.99997L2.8 8H5.2L5.25033 7.99997C5.47878 7.99975 5.67572 7.99956 5.85017 8.04145C6.39864 8.17312 6.82688 8.60136 6.95856 9.14983C7.00044 9.32429 7.00025 9.52122 7.00003 9.74967L7 9.8V12.2L7.00003 12.2503C7.00025 12.4788 7.00044 12.6757 6.95856 12.8502C6.82688 13.3986 6.39864 13.8269 5.85017 13.9586C5.67572 14.0004 5.47878 14.0003 5.25033 14L5.2 14H2.8L2.74967 14C2.52122 14.0003 2.32429 14.0004 2.14983 13.9586C1.60136 13.8269 1.17312 13.3986 1.04145 12.8502C0.999564 12.6757 0.999752 12.4788 0.99997 12.2503L1 12.2V9.8L0.99997 9.74967C0.999752 9.52122 0.999564 9.32429 1.04145 9.14983C1.17312 8.60136 1.60136 8.17312 2.14983 8.04145C2.32429 7.99956 2.52122 7.99975 2.74967 7.99997ZM2.8 9C2.49222 9 2.42632 9.00348 2.38328 9.01382C2.20045 9.05771 2.05771 9.20045 2.01382 9.38328C2.00348 9.42632 2 9.49222 2 9.8V12.2C2 12.5078 2.00348 12.5737 2.01382 12.6167C2.05771 12.7995 2.20045 12.9423 2.38328 12.9862C2.42632 12.9965 2.49222 13 2.8 13H5.2C5.50779 13 5.57369 12.9965 5.61672 12.9862C5.79955 12.9423 5.94229 12.7995 5.98619 12.6167C5.99652 12.5737 6 12.5078 6 12.2V9.8C6 9.49222 5.99652 9.42632 5.98619 9.38328C5.94229 9.20045 5.79955 9.05771 5.61672 9.01382C5.57369 9.00348 5.50779 9 5.2 9H2.8ZM9.8 8L9.74967 7.99997C9.52122 7.99975 9.32429 7.99956 9.14983 8.04145C8.60136 8.17312 8.17312 8.60136 8.04145 9.14983C7.99956 9.32429 7.99975 9.52122 7.99997 9.74967L8 9.8V12.2L7.99997 12.2503C7.99975 12.4788 7.99956 12.6757 8.04145 12.8502C8.17312 13.3986 8.60136 13.8269 9.14983 13.9586C9.32429 14.0004 9.52122 14.0003 9.74967 14L9.8 14H12.2L12.2503 14C12.4788 14.0003 12.6757 14.0004 12.8502 13.9586C13.3986 13.8269 13.8269 13.3986 13.9586 12.8502C14.0004 12.6757 14.0003 12.4788 14 12.2503L14 12.2V9.8L14 9.74967C14.0003 9.52122 14.0004 9.32429 13.9586 9.14983C13.8269 8.60136 13.3986 8.17312 12.8502 8.04145C12.6757 7.99956 12.4788 7.99975 12.2503 7.99997L12.2 8H9.8ZM9.38328 9.01382C9.42632 9.00348 9.49222 9 9.8 9H12.2C12.5078 9 12.5737 9.00348 12.6167 9.01382C12.7995 9.05771 12.9423 9.20045 12.9862 9.38328C12.9965 9.42632 13 9.49222 13 9.8V12.2C13 12.5078 12.9965 12.5737 12.9862 12.6167C12.9423 12.7995 12.7995 12.9423 12.6167 12.9862C12.5737 12.9965 12.5078 13 12.2 13H9.8C9.49222 13 9.42632 12.9965 9.38328 12.9862C9.20045 12.9423 9.05771 12.7995 9.01382 12.6167C9.00348 12.5737 9 12.5078 9 12.2V9.8C9 9.49222 9.00348 9.42632 9.01382 9.38328C9.05771 9.20045 9.20045 9.05771 9.38328 9.01382Z",fill:void 0===r?"currentColor":r,fillRule:"evenodd",clipRule:"evenodd"}))}),Z=["color"],H=(0,n.forwardRef)(function(e,C){var r=e.color,l=t(e,Z);return(0,n.createElement)("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},l,{ref:C}),(0,n.createElement)("path",{d:"M1 3.25C1 3.11193 1.11193 3 1.25 3H13.75C13.8881 3 14 3.11193 14 3.25V10.75C14 10.8881 13.8881 11 13.75 11H1.25C1.11193 11 1 10.8881 1 10.75V3.25ZM1.25 2C0.559643 2 0 2.55964 0 3.25V10.75C0 11.4404 0.559644 12 1.25 12H5.07341L4.82991 13.2986C4.76645 13.6371 5.02612 13.95 5.37049 13.95H9.62951C9.97389 13.95 10.2336 13.6371 10.1701 13.2986L9.92659 12H13.75C14.4404 12 15 11.4404 15 10.75V3.25C15 2.55964 14.4404 2 13.75 2H1.25ZM9.01091 12H5.98909L5.79222 13.05H9.20778L9.01091 12Z",fill:void 0===r?"currentColor":r,fillRule:"evenodd",clipRule:"evenodd"}))}),R=["color"],m=(0,n.forwardRef)(function(e,C){var r=e.color,l=t(e,R);return(0,n.createElement)("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},l,{ref:C}),(0,n.createElement)("path",{d:"M8.4449 0.608765C8.0183 -0.107015 6.9817 -0.107015 6.55509 0.608766L0.161178 11.3368C-0.275824 12.07 0.252503 13 1.10608 13H13.8939C14.7475 13 15.2758 12.07 14.8388 11.3368L8.4449 0.608765ZM7.4141 1.12073C7.45288 1.05566 7.54712 1.05566 7.5859 1.12073L13.9798 11.8488C14.0196 11.9154 13.9715 12 13.8939 12H1.10608C1.02849 12 0.980454 11.9154 1.02018 11.8488L7.4141 1.12073ZM6.8269 4.48611C6.81221 4.10423 7.11783 3.78663 7.5 3.78663C7.88217 3.78663 8.18778 4.10423 8.1731 4.48612L8.01921 8.48701C8.00848 8.766 7.7792 8.98664 7.5 8.98664C7.2208 8.98664 6.99151 8.766 6.98078 8.48701L6.8269 4.48611ZM8.24989 10.476C8.24989 10.8902 7.9141 11.226 7.49989 11.226C7.08567 11.226 6.74989 10.8902 6.74989 10.476C6.74989 10.0618 7.08567 9.72599 7.49989 9.72599C7.9141 9.72599 8.24989 10.0618 8.24989 10.476Z",fill:void 0===r?"currentColor":r,fillRule:"evenodd",clipRule:"evenodd"}))}),V=["color"],x=(0,n.forwardRef)(function(e,C){var r=e.color,l=t(e,V);return(0,n.createElement)("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},l,{ref:C}),(0,n.createElement)("path",{d:"M14 11.0001V4.00006L1 4.00006L1 11.0001H14ZM15 4.00006V11.0001C15 11.5523 14.5523 12.0001 14 12.0001H1C0.447715 12.0001 0 11.5523 0 11.0001V4.00006C0 3.44778 0.447715 3.00006 1 3.00006H14C14.5523 3.00006 15 3.44778 15 4.00006ZM2 5.25C2 5.11193 2.11193 5 2.25 5H5.75C5.88807 5 6 5.11193 6 5.25V9.75C6 9.88807 5.88807 10 5.75 10H2.25C2.11193 10 2 9.88807 2 9.75V5.25ZM7.5 7C7.22386 7 7 7.22386 7 7.5C7 7.77614 7.22386 8 7.5 8H10.5C10.7761 8 11 7.77614 11 7.5C11 7.22386 10.7761 7 10.5 7H7.5ZM7 9.5C7 9.22386 7.22386 9 7.5 9H12.5C12.7761 9 13 9.22386 13 9.5C13 9.77614 12.7761 10 12.5 10H7.5C7.22386 10 7 9.77614 7 9.5ZM7.5 5C7.22386 5 7 5.22386 7 5.5C7 5.77614 7.22386 6 7.5 6H11.5C11.7761 6 12 5.77614 12 5.5C12 5.22386 11.7761 5 11.5 5H7.5Z",fill:void 0===r?"currentColor":r,fillRule:"evenodd",clipRule:"evenodd"}))}),E=["color"],b=(0,n.forwardRef)(function(e,C){var r=e.color,l=t(e,E);return(0,n.createElement)("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},l,{ref:C}),(0,n.createElement)("path",{d:"M1.5 5.25C1.91421 5.25 2.25 4.91421 2.25 4.5C2.25 4.08579 1.91421 3.75 1.5 3.75C1.08579 3.75 0.75 4.08579 0.75 4.5C0.75 4.91421 1.08579 5.25 1.5 5.25ZM4 4.5C4 4.22386 4.22386 4 4.5 4H13.5C13.7761 4 14 4.22386 14 4.5C14 4.77614 13.7761 5 13.5 5H4.5C4.22386 5 4 4.77614 4 4.5ZM4.5 7C4.22386 7 4 7.22386 4 7.5C4 7.77614 4.22386 8 4.5 8H13.5C13.7761 8 14 7.77614 14 7.5C14 7.22386 13.7761 7 13.5 7H4.5ZM4.5 10C4.22386 10 4 10.2239 4 10.5C4 10.7761 4.22386 11 4.5 11H13.5C13.7761 11 14 10.7761 14 10.5C14 10.2239 13.7761 10 13.5 10H4.5ZM2.25 7.5C2.25 7.91421 1.91421 8.25 1.5 8.25C1.08579 8.25 0.75 7.91421 0.75 7.5C0.75 7.08579 1.08579 6.75 1.5 6.75C1.91421 6.75 2.25 7.08579 2.25 7.5ZM1.5 11.25C1.91421 11.25 2.25 10.9142 2.25 10.5C2.25 10.0858 1.91421 9.75 1.5 9.75C1.08579 9.75 0.75 10.0858 0.75 10.5C0.75 10.9142 1.08579 11.25 1.5 11.25Z",fill:void 0===r?"currentColor":r,fillRule:"evenodd",clipRule:"evenodd"}))}),j=["color"],O=(0,n.forwardRef)(function(e,C){var r=e.color,l=t(e,j);return(0,n.createElement)("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},l,{ref:C}),(0,n.createElement)("path",{d:"M3.24182 2.32181C3.3919 2.23132 3.5784 2.22601 3.73338 2.30781L12.7334 7.05781C12.8974 7.14436 13 7.31457 13 7.5C13 7.68543 12.8974 7.85564 12.7334 7.94219L3.73338 12.6922C3.5784 12.774 3.3919 12.7687 3.24182 12.6782C3.09175 12.5877 3 12.4252 3 12.25V2.75C3 2.57476 3.09175 2.4123 3.24182 2.32181ZM4 3.57925V11.4207L11.4288 7.5L4 3.57925Z",fill:void 0===r?"currentColor":r,fillRule:"evenodd",clipRule:"evenodd"}))}),B=["color"],k=(0,n.forwardRef)(function(e,C){var r=e.color,l=t(e,B);return(0,n.createElement)("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},l,{ref:C}),(0,n.createElement)("path",{d:"M1.84998 7.49998C1.84998 4.66458 4.05979 1.84998 7.49998 1.84998C10.2783 1.84998 11.6515 3.9064 12.2367 5H10.5C10.2239 5 10 5.22386 10 5.5C10 5.77614 10.2239 6 10.5 6H13.5C13.7761 6 14 5.77614 14 5.5V2.5C14 2.22386 13.7761 2 13.5 2C13.2239 2 13 2.22386 13 2.5V4.31318C12.2955 3.07126 10.6659 0.849976 7.49998 0.849976C3.43716 0.849976 0.849976 4.18537 0.849976 7.49998C0.849976 10.8146 3.43716 14.15 7.49998 14.15C9.44382 14.15 11.0622 13.3808 12.2145 12.2084C12.8315 11.5806 13.3133 10.839 13.6418 10.0407C13.7469 9.78536 13.6251 9.49315 13.3698 9.38806C13.1144 9.28296 12.8222 9.40478 12.7171 9.66014C12.4363 10.3425 12.0251 10.9745 11.5013 11.5074C10.5295 12.4963 9.16504 13.15 7.49998 13.15C4.05979 13.15 1.84998 10.3354 1.84998 7.49998Z",fill:void 0===r?"currentColor":r,fillRule:"evenodd",clipRule:"evenodd"}))}),N=["color"],_=(0,n.forwardRef)(function(e,C){var r=e.color,l=t(e,N);return(0,n.createElement)("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},l,{ref:C}),(0,n.createElement)("path",{d:"M7.81825 1.18188C7.64251 1.00615 7.35759 1.00615 7.18185 1.18188L4.18185 4.18188C4.00611 4.35762 4.00611 4.64254 4.18185 4.81828C4.35759 4.99401 4.64251 4.99401 4.81825 4.81828L7.05005 2.58648V9.49996C7.05005 9.74849 7.25152 9.94996 7.50005 9.94996C7.74858 9.94996 7.95005 9.74849 7.95005 9.49996V2.58648L10.1819 4.81828C10.3576 4.99401 10.6425 4.99401 10.8182 4.81828C10.994 4.64254 10.994 4.35762 10.8182 4.18188L7.81825 1.18188ZM2.5 9.99997C2.77614 9.99997 3 10.2238 3 10.5V12C3 12.5538 3.44565 13 3.99635 13H11.0012C11.5529 13 12 12.5528 12 12V10.5C12 10.2238 12.2239 9.99997 12.5 9.99997C12.7761 9.99997 13 10.2238 13 10.5V12C13 13.104 12.1062 14 11.0012 14H3.99635C2.89019 14 2 13.103 2 12V10.5C2 10.2238 2.22386 9.99997 2.5 9.99997Z",fill:void 0===r?"currentColor":r,fillRule:"evenodd",clipRule:"evenodd"}))})}}]); \ No newline at end of file diff --git a/xtraplatform-ops/src/main/resources/dashboard/_next/static/chunks/0e5ce63c-bee405407af375c1.js b/xtraplatform-ops/src/main/resources/dashboard/_next/static/chunks/0e5ce63c-bee405407af375c1.js new file mode 100644 index 00000000..33ffd5b2 --- /dev/null +++ b/xtraplatform-ops/src/main/resources/dashboard/_next/static/chunks/0e5ce63c-bee405407af375c1.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[310],{2177:function(e,C,r){r.d(C,{BGW:function(){return _},LPM:function(){return m},NhS:function(){return o},QGC:function(){return p},T39:function(){return a},XCv:function(){return v},Xwj:function(){return b},dNJ:function(){return s},jVc:function(){return O},o1U:function(){return k},rG2:function(){return y},tvw:function(){return x},ugZ:function(){return Z},v4q:function(){return c},wyc:function(){return d},xrR:function(){return g}});var n=r(4090);function t(e,C){if(null==e)return{};var r,n,t={},l=Object.keys(e);for(n=0;n=0||(t[r]=e[r]);return t}var l=["color"],o=(0,n.forwardRef)(function(e,C){var r=e.color,o=t(e,l);return(0,n.createElement)("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},o,{ref:C}),(0,n.createElement)("path",{d:"M7.49991 0.877045C3.84222 0.877045 0.877075 3.84219 0.877075 7.49988C0.877075 11.1575 3.84222 14.1227 7.49991 14.1227C11.1576 14.1227 14.1227 11.1575 14.1227 7.49988C14.1227 3.84219 11.1576 0.877045 7.49991 0.877045ZM1.82708 7.49988C1.82708 4.36686 4.36689 1.82704 7.49991 1.82704C10.6329 1.82704 13.1727 4.36686 13.1727 7.49988C13.1727 10.6329 10.6329 13.1727 7.49991 13.1727C4.36689 13.1727 1.82708 10.6329 1.82708 7.49988ZM10.1589 5.53774C10.3178 5.31191 10.2636 5.00001 10.0378 4.84109C9.81194 4.68217 9.50004 4.73642 9.34112 4.96225L6.51977 8.97154L5.35681 7.78706C5.16334 7.59002 4.84677 7.58711 4.64973 7.78058C4.45268 7.97404 4.44978 8.29061 4.64325 8.48765L6.22658 10.1003C6.33054 10.2062 6.47617 10.2604 6.62407 10.2483C6.77197 10.2363 6.90686 10.1591 6.99226 10.0377L10.1589 5.53774Z",fill:void 0===r?"currentColor":r,fillRule:"evenodd",clipRule:"evenodd"}))}),i=["color"],c=(0,n.forwardRef)(function(e,C){var r=e.color,l=t(e,i);return(0,n.createElement)("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},l,{ref:C}),(0,n.createElement)("path",{d:"M3.13523 6.15803C3.3241 5.95657 3.64052 5.94637 3.84197 6.13523L7.5 9.56464L11.158 6.13523C11.3595 5.94637 11.6759 5.95657 11.8648 6.15803C12.0536 6.35949 12.0434 6.67591 11.842 6.86477L7.84197 10.6148C7.64964 10.7951 7.35036 10.7951 7.15803 10.6148L3.15803 6.86477C2.95657 6.67591 2.94637 6.35949 3.13523 6.15803Z",fill:void 0===r?"currentColor":r,fillRule:"evenodd",clipRule:"evenodd"}))}),f=["color"],d=(0,n.forwardRef)(function(e,C){var r=e.color,l=t(e,f);return(0,n.createElement)("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},l,{ref:C}),(0,n.createElement)("path",{d:"M8.84182 3.13514C9.04327 3.32401 9.05348 3.64042 8.86462 3.84188L5.43521 7.49991L8.86462 11.1579C9.05348 11.3594 9.04327 11.6758 8.84182 11.8647C8.64036 12.0535 8.32394 12.0433 8.13508 11.8419L4.38508 7.84188C4.20477 7.64955 4.20477 7.35027 4.38508 7.15794L8.13508 3.15794C8.32394 2.95648 8.64036 2.94628 8.84182 3.13514Z",fill:void 0===r?"currentColor":r,fillRule:"evenodd",clipRule:"evenodd"}))}),u=["color"],v=(0,n.forwardRef)(function(e,C){var r=e.color,l=t(e,u);return(0,n.createElement)("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},l,{ref:C}),(0,n.createElement)("path",{d:"M6.1584 3.13508C6.35985 2.94621 6.67627 2.95642 6.86514 3.15788L10.6151 7.15788C10.7954 7.3502 10.7954 7.64949 10.6151 7.84182L6.86514 11.8418C6.67627 12.0433 6.35985 12.0535 6.1584 11.8646C5.95694 11.6757 5.94673 11.3593 6.1356 11.1579L9.565 7.49985L6.1356 3.84182C5.94673 3.64036 5.95694 3.32394 6.1584 3.13508Z",fill:void 0===r?"currentColor":r,fillRule:"evenodd",clipRule:"evenodd"}))}),w=["color"],a=(0,n.forwardRef)(function(e,C){var r=e.color,l=t(e,w);return(0,n.createElement)("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},l,{ref:C}),(0,n.createElement)("path",{d:"M7.50009 0.877014C3.84241 0.877014 0.877258 3.84216 0.877258 7.49984C0.877258 11.1575 3.8424 14.1227 7.50009 14.1227C11.1578 14.1227 14.1229 11.1575 14.1229 7.49984C14.1229 3.84216 11.1577 0.877014 7.50009 0.877014ZM1.82726 7.49984C1.82726 4.36683 4.36708 1.82701 7.50009 1.82701C10.6331 1.82701 13.1729 4.36683 13.1729 7.49984C13.1729 10.6328 10.6331 13.1727 7.50009 13.1727C4.36708 13.1727 1.82726 10.6328 1.82726 7.49984ZM8 4.50001C8 4.22387 7.77614 4.00001 7.5 4.00001C7.22386 4.00001 7 4.22387 7 4.50001V7.50001C7 7.63262 7.05268 7.7598 7.14645 7.85357L9.14645 9.85357C9.34171 10.0488 9.65829 10.0488 9.85355 9.85357C10.0488 9.65831 10.0488 9.34172 9.85355 9.14646L8 7.29291V4.50001Z",fill:void 0===r?"currentColor":r,fillRule:"evenodd",clipRule:"evenodd"}))}),L=["color"],s=(0,n.forwardRef)(function(e,C){var r=e.color,l=t(e,L);return(0,n.createElement)("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},l,{ref:C}),(0,n.createElement)("path",{d:"M9.96424 2.68571C10.0668 2.42931 9.94209 2.13833 9.6857 2.03577C9.4293 1.93322 9.13832 2.05792 9.03576 2.31432L5.03576 12.3143C4.9332 12.5707 5.05791 12.8617 5.3143 12.9642C5.5707 13.0668 5.86168 12.9421 5.96424 12.6857L9.96424 2.68571ZM3.85355 5.14646C4.04882 5.34172 4.04882 5.6583 3.85355 5.85356L2.20711 7.50001L3.85355 9.14646C4.04882 9.34172 4.04882 9.6583 3.85355 9.85356C3.65829 10.0488 3.34171 10.0488 3.14645 9.85356L1.14645 7.85356C0.951184 7.6583 0.951184 7.34172 1.14645 7.14646L3.14645 5.14646C3.34171 4.9512 3.65829 4.9512 3.85355 5.14646ZM11.1464 5.14646C11.3417 4.9512 11.6583 4.9512 11.8536 5.14646L13.8536 7.14646C14.0488 7.34172 14.0488 7.6583 13.8536 7.85356L11.8536 9.85356C11.6583 10.0488 11.3417 10.0488 11.1464 9.85356C10.9512 9.6583 10.9512 9.34172 11.1464 9.14646L12.7929 7.50001L11.1464 5.85356C10.9512 5.6583 10.9512 5.34172 11.1464 5.14646Z",fill:void 0===r?"currentColor":r,fillRule:"evenodd",clipRule:"evenodd"}))}),h=["color"],g=(0,n.forwardRef)(function(e,C){var r=e.color,l=t(e,h);return(0,n.createElement)("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},l,{ref:C}),(0,n.createElement)("path",{d:"M0.877075 7.49988C0.877075 3.84219 3.84222 0.877045 7.49991 0.877045C11.1576 0.877045 14.1227 3.84219 14.1227 7.49988C14.1227 11.1575 11.1576 14.1227 7.49991 14.1227C3.84222 14.1227 0.877075 11.1575 0.877075 7.49988ZM7.49991 1.82704C4.36689 1.82704 1.82708 4.36686 1.82708 7.49988C1.82708 10.6329 4.36689 13.1727 7.49991 13.1727C10.6329 13.1727 13.1727 10.6329 13.1727 7.49988C13.1727 4.36686 10.6329 1.82704 7.49991 1.82704ZM9.85358 5.14644C10.0488 5.3417 10.0488 5.65829 9.85358 5.85355L8.20713 7.49999L9.85358 9.14644C10.0488 9.3417 10.0488 9.65829 9.85358 9.85355C9.65832 10.0488 9.34173 10.0488 9.14647 9.85355L7.50002 8.2071L5.85358 9.85355C5.65832 10.0488 5.34173 10.0488 5.14647 9.85355C4.95121 9.65829 4.95121 9.3417 5.14647 9.14644L6.79292 7.49999L5.14647 5.85355C4.95121 5.65829 4.95121 5.3417 5.14647 5.14644C5.34173 4.95118 5.65832 4.95118 5.85358 5.14644L7.50002 6.79289L9.14647 5.14644C9.34173 4.95118 9.65832 4.95118 9.85358 5.14644Z",fill:void 0===r?"currentColor":r,fillRule:"evenodd",clipRule:"evenodd"}))}),H=["color"],p=(0,n.forwardRef)(function(e,C){var r=e.color,l=t(e,H);return(0,n.createElement)("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},l,{ref:C}),(0,n.createElement)("path",{d:"M2.8 1L2.74967 0.99997C2.52122 0.999752 2.32429 0.999564 2.14983 1.04145C1.60136 1.17312 1.17312 1.60136 1.04145 2.14983C0.999564 2.32429 0.999752 2.52122 0.99997 2.74967L1 2.8V5.2L0.99997 5.25033C0.999752 5.47878 0.999564 5.67572 1.04145 5.85017C1.17312 6.39864 1.60136 6.82688 2.14983 6.95856C2.32429 7.00044 2.52122 7.00025 2.74967 7.00003L2.8 7H5.2L5.25033 7.00003C5.47878 7.00025 5.67572 7.00044 5.85017 6.95856C6.39864 6.82688 6.82688 6.39864 6.95856 5.85017C7.00044 5.67572 7.00025 5.47878 7.00003 5.25033L7 5.2V2.8L7.00003 2.74967C7.00025 2.52122 7.00044 2.32429 6.95856 2.14983C6.82688 1.60136 6.39864 1.17312 5.85017 1.04145C5.67572 0.999564 5.47878 0.999752 5.25033 0.99997L5.2 1H2.8ZM2.38328 2.01382C2.42632 2.00348 2.49222 2 2.8 2H5.2C5.50779 2 5.57369 2.00348 5.61672 2.01382C5.79955 2.05771 5.94229 2.20045 5.98619 2.38328C5.99652 2.42632 6 2.49222 6 2.8V5.2C6 5.50779 5.99652 5.57369 5.98619 5.61672C5.94229 5.79955 5.79955 5.94229 5.61672 5.98619C5.57369 5.99652 5.50779 6 5.2 6H2.8C2.49222 6 2.42632 5.99652 2.38328 5.98619C2.20045 5.94229 2.05771 5.79955 2.01382 5.61672C2.00348 5.57369 2 5.50779 2 5.2V2.8C2 2.49222 2.00348 2.42632 2.01382 2.38328C2.05771 2.20045 2.20045 2.05771 2.38328 2.01382ZM9.8 1L9.74967 0.99997C9.52122 0.999752 9.32429 0.999564 9.14983 1.04145C8.60136 1.17312 8.17312 1.60136 8.04145 2.14983C7.99956 2.32429 7.99975 2.52122 7.99997 2.74967L8 2.8V5.2L7.99997 5.25033C7.99975 5.47878 7.99956 5.67572 8.04145 5.85017C8.17312 6.39864 8.60136 6.82688 9.14983 6.95856C9.32429 7.00044 9.52122 7.00025 9.74967 7.00003L9.8 7H12.2L12.2503 7.00003C12.4788 7.00025 12.6757 7.00044 12.8502 6.95856C13.3986 6.82688 13.8269 6.39864 13.9586 5.85017C14.0004 5.67572 14.0003 5.47878 14 5.25033L14 5.2V2.8L14 2.74967C14.0003 2.52122 14.0004 2.32429 13.9586 2.14983C13.8269 1.60136 13.3986 1.17312 12.8502 1.04145C12.6757 0.999564 12.4788 0.999752 12.2503 0.99997L12.2 1H9.8ZM9.38328 2.01382C9.42632 2.00348 9.49222 2 9.8 2H12.2C12.5078 2 12.5737 2.00348 12.6167 2.01382C12.7995 2.05771 12.9423 2.20045 12.9862 2.38328C12.9965 2.42632 13 2.49222 13 2.8V5.2C13 5.50779 12.9965 5.57369 12.9862 5.61672C12.9423 5.79955 12.7995 5.94229 12.6167 5.98619C12.5737 5.99652 12.5078 6 12.2 6H9.8C9.49222 6 9.42632 5.99652 9.38328 5.98619C9.20045 5.94229 9.05771 5.79955 9.01382 5.61672C9.00348 5.57369 9 5.50779 9 5.2V2.8C9 2.49222 9.00348 2.42632 9.01382 2.38328C9.05771 2.20045 9.20045 2.05771 9.38328 2.01382ZM2.74967 7.99997L2.8 8H5.2L5.25033 7.99997C5.47878 7.99975 5.67572 7.99956 5.85017 8.04145C6.39864 8.17312 6.82688 8.60136 6.95856 9.14983C7.00044 9.32429 7.00025 9.52122 7.00003 9.74967L7 9.8V12.2L7.00003 12.2503C7.00025 12.4788 7.00044 12.6757 6.95856 12.8502C6.82688 13.3986 6.39864 13.8269 5.85017 13.9586C5.67572 14.0004 5.47878 14.0003 5.25033 14L5.2 14H2.8L2.74967 14C2.52122 14.0003 2.32429 14.0004 2.14983 13.9586C1.60136 13.8269 1.17312 13.3986 1.04145 12.8502C0.999564 12.6757 0.999752 12.4788 0.99997 12.2503L1 12.2V9.8L0.99997 9.74967C0.999752 9.52122 0.999564 9.32429 1.04145 9.14983C1.17312 8.60136 1.60136 8.17312 2.14983 8.04145C2.32429 7.99956 2.52122 7.99975 2.74967 7.99997ZM2.8 9C2.49222 9 2.42632 9.00348 2.38328 9.01382C2.20045 9.05771 2.05771 9.20045 2.01382 9.38328C2.00348 9.42632 2 9.49222 2 9.8V12.2C2 12.5078 2.00348 12.5737 2.01382 12.6167C2.05771 12.7995 2.20045 12.9423 2.38328 12.9862C2.42632 12.9965 2.49222 13 2.8 13H5.2C5.50779 13 5.57369 12.9965 5.61672 12.9862C5.79955 12.9423 5.94229 12.7995 5.98619 12.6167C5.99652 12.5737 6 12.5078 6 12.2V9.8C6 9.49222 5.99652 9.42632 5.98619 9.38328C5.94229 9.20045 5.79955 9.05771 5.61672 9.01382C5.57369 9.00348 5.50779 9 5.2 9H2.8ZM9.8 8L9.74967 7.99997C9.52122 7.99975 9.32429 7.99956 9.14983 8.04145C8.60136 8.17312 8.17312 8.60136 8.04145 9.14983C7.99956 9.32429 7.99975 9.52122 7.99997 9.74967L8 9.8V12.2L7.99997 12.2503C7.99975 12.4788 7.99956 12.6757 8.04145 12.8502C8.17312 13.3986 8.60136 13.8269 9.14983 13.9586C9.32429 14.0004 9.52122 14.0003 9.74967 14L9.8 14H12.2L12.2503 14C12.4788 14.0003 12.6757 14.0004 12.8502 13.9586C13.3986 13.8269 13.8269 13.3986 13.9586 12.8502C14.0004 12.6757 14.0003 12.4788 14 12.2503L14 12.2V9.8L14 9.74967C14.0003 9.52122 14.0004 9.32429 13.9586 9.14983C13.8269 8.60136 13.3986 8.17312 12.8502 8.04145C12.6757 7.99956 12.4788 7.99975 12.2503 7.99997L12.2 8H9.8ZM9.38328 9.01382C9.42632 9.00348 9.49222 9 9.8 9H12.2C12.5078 9 12.5737 9.00348 12.6167 9.01382C12.7995 9.05771 12.9423 9.20045 12.9862 9.38328C12.9965 9.42632 13 9.49222 13 9.8V12.2C13 12.5078 12.9965 12.5737 12.9862 12.6167C12.9423 12.7995 12.7995 12.9423 12.6167 12.9862C12.5737 12.9965 12.5078 13 12.2 13H9.8C9.49222 13 9.42632 12.9965 9.38328 12.9862C9.20045 12.9423 9.05771 12.7995 9.01382 12.6167C9.00348 12.5737 9 12.5078 9 12.2V9.8C9 9.49222 9.00348 9.42632 9.01382 9.38328C9.05771 9.20045 9.20045 9.05771 9.38328 9.01382Z",fill:void 0===r?"currentColor":r,fillRule:"evenodd",clipRule:"evenodd"}))}),M=["color"],Z=(0,n.forwardRef)(function(e,C){var r=e.color,l=t(e,M);return(0,n.createElement)("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},l,{ref:C}),(0,n.createElement)("path",{d:"M1 3.25C1 3.11193 1.11193 3 1.25 3H13.75C13.8881 3 14 3.11193 14 3.25V10.75C14 10.8881 13.8881 11 13.75 11H1.25C1.11193 11 1 10.8881 1 10.75V3.25ZM1.25 2C0.559643 2 0 2.55964 0 3.25V10.75C0 11.4404 0.559644 12 1.25 12H5.07341L4.82991 13.2986C4.76645 13.6371 5.02612 13.95 5.37049 13.95H9.62951C9.97389 13.95 10.2336 13.6371 10.1701 13.2986L9.92659 12H13.75C14.4404 12 15 11.4404 15 10.75V3.25C15 2.55964 14.4404 2 13.75 2H1.25ZM9.01091 12H5.98909L5.79222 13.05H9.20778L9.01091 12Z",fill:void 0===r?"currentColor":r,fillRule:"evenodd",clipRule:"evenodd"}))}),R=["color"],m=(0,n.forwardRef)(function(e,C){var r=e.color,l=t(e,R);return(0,n.createElement)("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},l,{ref:C}),(0,n.createElement)("path",{d:"M8.4449 0.608765C8.0183 -0.107015 6.9817 -0.107015 6.55509 0.608766L0.161178 11.3368C-0.275824 12.07 0.252503 13 1.10608 13H13.8939C14.7475 13 15.2758 12.07 14.8388 11.3368L8.4449 0.608765ZM7.4141 1.12073C7.45288 1.05566 7.54712 1.05566 7.5859 1.12073L13.9798 11.8488C14.0196 11.9154 13.9715 12 13.8939 12H1.10608C1.02849 12 0.980454 11.9154 1.02018 11.8488L7.4141 1.12073ZM6.8269 4.48611C6.81221 4.10423 7.11783 3.78663 7.5 3.78663C7.88217 3.78663 8.18778 4.10423 8.1731 4.48612L8.01921 8.48701C8.00848 8.766 7.7792 8.98664 7.5 8.98664C7.2208 8.98664 6.99151 8.766 6.98078 8.48701L6.8269 4.48611ZM8.24989 10.476C8.24989 10.8902 7.9141 11.226 7.49989 11.226C7.08567 11.226 6.74989 10.8902 6.74989 10.476C6.74989 10.0618 7.08567 9.72599 7.49989 9.72599C7.9141 9.72599 8.24989 10.0618 8.24989 10.476Z",fill:void 0===r?"currentColor":r,fillRule:"evenodd",clipRule:"evenodd"}))}),V=["color"],x=(0,n.forwardRef)(function(e,C){var r=e.color,l=t(e,V);return(0,n.createElement)("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},l,{ref:C}),(0,n.createElement)("path",{d:"M7.07926 0.222253C7.31275 -0.007434 7.6873 -0.007434 7.92079 0.222253L14.6708 6.86227C14.907 7.09465 14.9101 7.47453 14.6778 7.71076C14.4454 7.947 14.0655 7.95012 13.8293 7.71773L13 6.90201V12.5C13 12.7761 12.7762 13 12.5 13H2.50002C2.22388 13 2.00002 12.7761 2.00002 12.5V6.90201L1.17079 7.71773C0.934558 7.95012 0.554672 7.947 0.32229 7.71076C0.0899079 7.47453 0.0930283 7.09465 0.32926 6.86227L7.07926 0.222253ZM7.50002 1.49163L12 5.91831V12H10V8.49999C10 8.22385 9.77617 7.99999 9.50002 7.99999H6.50002C6.22388 7.99999 6.00002 8.22385 6.00002 8.49999V12H3.00002V5.91831L7.50002 1.49163ZM7.00002 12H9.00002V8.99999H7.00002V12Z",fill:void 0===r?"currentColor":r,fillRule:"evenodd",clipRule:"evenodd"}))}),E=["color"],b=(0,n.forwardRef)(function(e,C){var r=e.color,l=t(e,E);return(0,n.createElement)("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},l,{ref:C}),(0,n.createElement)("path",{d:"M14 11.0001V4.00006L1 4.00006L1 11.0001H14ZM15 4.00006V11.0001C15 11.5523 14.5523 12.0001 14 12.0001H1C0.447715 12.0001 0 11.5523 0 11.0001V4.00006C0 3.44778 0.447715 3.00006 1 3.00006H14C14.5523 3.00006 15 3.44778 15 4.00006ZM2 5.25C2 5.11193 2.11193 5 2.25 5H5.75C5.88807 5 6 5.11193 6 5.25V9.75C6 9.88807 5.88807 10 5.75 10H2.25C2.11193 10 2 9.88807 2 9.75V5.25ZM7.5 7C7.22386 7 7 7.22386 7 7.5C7 7.77614 7.22386 8 7.5 8H10.5C10.7761 8 11 7.77614 11 7.5C11 7.22386 10.7761 7 10.5 7H7.5ZM7 9.5C7 9.22386 7.22386 9 7.5 9H12.5C12.7761 9 13 9.22386 13 9.5C13 9.77614 12.7761 10 12.5 10H7.5C7.22386 10 7 9.77614 7 9.5ZM7.5 5C7.22386 5 7 5.22386 7 5.5C7 5.77614 7.22386 6 7.5 6H11.5C11.7761 6 12 5.77614 12 5.5C12 5.22386 11.7761 5 11.5 5H7.5Z",fill:void 0===r?"currentColor":r,fillRule:"evenodd",clipRule:"evenodd"}))}),j=["color"],O=(0,n.forwardRef)(function(e,C){var r=e.color,l=t(e,j);return(0,n.createElement)("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},l,{ref:C}),(0,n.createElement)("path",{d:"M1.5 5.25C1.91421 5.25 2.25 4.91421 2.25 4.5C2.25 4.08579 1.91421 3.75 1.5 3.75C1.08579 3.75 0.75 4.08579 0.75 4.5C0.75 4.91421 1.08579 5.25 1.5 5.25ZM4 4.5C4 4.22386 4.22386 4 4.5 4H13.5C13.7761 4 14 4.22386 14 4.5C14 4.77614 13.7761 5 13.5 5H4.5C4.22386 5 4 4.77614 4 4.5ZM4.5 7C4.22386 7 4 7.22386 4 7.5C4 7.77614 4.22386 8 4.5 8H13.5C13.7761 8 14 7.77614 14 7.5C14 7.22386 13.7761 7 13.5 7H4.5ZM4.5 10C4.22386 10 4 10.2239 4 10.5C4 10.7761 4.22386 11 4.5 11H13.5C13.7761 11 14 10.7761 14 10.5C14 10.2239 13.7761 10 13.5 10H4.5ZM2.25 7.5C2.25 7.91421 1.91421 8.25 1.5 8.25C1.08579 8.25 0.75 7.91421 0.75 7.5C0.75 7.08579 1.08579 6.75 1.5 6.75C1.91421 6.75 2.25 7.08579 2.25 7.5ZM1.5 11.25C1.91421 11.25 2.25 10.9142 2.25 10.5C2.25 10.0858 1.91421 9.75 1.5 9.75C1.08579 9.75 0.75 10.0858 0.75 10.5C0.75 10.9142 1.08579 11.25 1.5 11.25Z",fill:void 0===r?"currentColor":r,fillRule:"evenodd",clipRule:"evenodd"}))}),B=["color"],k=(0,n.forwardRef)(function(e,C){var r=e.color,l=t(e,B);return(0,n.createElement)("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},l,{ref:C}),(0,n.createElement)("path",{d:"M3.24182 2.32181C3.3919 2.23132 3.5784 2.22601 3.73338 2.30781L12.7334 7.05781C12.8974 7.14436 13 7.31457 13 7.5C13 7.68543 12.8974 7.85564 12.7334 7.94219L3.73338 12.6922C3.5784 12.774 3.3919 12.7687 3.24182 12.6782C3.09175 12.5877 3 12.4252 3 12.25V2.75C3 2.57476 3.09175 2.4123 3.24182 2.32181ZM4 3.57925V11.4207L11.4288 7.5L4 3.57925Z",fill:void 0===r?"currentColor":r,fillRule:"evenodd",clipRule:"evenodd"}))}),N=["color"],_=(0,n.forwardRef)(function(e,C){var r=e.color,l=t(e,N);return(0,n.createElement)("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},l,{ref:C}),(0,n.createElement)("path",{d:"M1.84998 7.49998C1.84998 4.66458 4.05979 1.84998 7.49998 1.84998C10.2783 1.84998 11.6515 3.9064 12.2367 5H10.5C10.2239 5 10 5.22386 10 5.5C10 5.77614 10.2239 6 10.5 6H13.5C13.7761 6 14 5.77614 14 5.5V2.5C14 2.22386 13.7761 2 13.5 2C13.2239 2 13 2.22386 13 2.5V4.31318C12.2955 3.07126 10.6659 0.849976 7.49998 0.849976C3.43716 0.849976 0.849976 4.18537 0.849976 7.49998C0.849976 10.8146 3.43716 14.15 7.49998 14.15C9.44382 14.15 11.0622 13.3808 12.2145 12.2084C12.8315 11.5806 13.3133 10.839 13.6418 10.0407C13.7469 9.78536 13.6251 9.49315 13.3698 9.38806C13.1144 9.28296 12.8222 9.40478 12.7171 9.66014C12.4363 10.3425 12.0251 10.9745 11.5013 11.5074C10.5295 12.4963 9.16504 13.15 7.49998 13.15C4.05979 13.15 1.84998 10.3354 1.84998 7.49998Z",fill:void 0===r?"currentColor":r,fillRule:"evenodd",clipRule:"evenodd"}))}),G=["color"],y=(0,n.forwardRef)(function(e,C){var r=e.color,l=t(e,G);return(0,n.createElement)("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},l,{ref:C}),(0,n.createElement)("path",{d:"M7.81825 1.18188C7.64251 1.00615 7.35759 1.00615 7.18185 1.18188L4.18185 4.18188C4.00611 4.35762 4.00611 4.64254 4.18185 4.81828C4.35759 4.99401 4.64251 4.99401 4.81825 4.81828L7.05005 2.58648V9.49996C7.05005 9.74849 7.25152 9.94996 7.50005 9.94996C7.74858 9.94996 7.95005 9.74849 7.95005 9.49996V2.58648L10.1819 4.81828C10.3576 4.99401 10.6425 4.99401 10.8182 4.81828C10.994 4.64254 10.994 4.35762 10.8182 4.18188L7.81825 1.18188ZM2.5 9.99997C2.77614 9.99997 3 10.2238 3 10.5V12C3 12.5538 3.44565 13 3.99635 13H11.0012C11.5529 13 12 12.5528 12 12V10.5C12 10.2238 12.2239 9.99997 12.5 9.99997C12.7761 9.99997 13 10.2238 13 10.5V12C13 13.104 12.1062 14 11.0012 14H3.99635C2.89019 14 2 13.103 2 12V10.5C2 10.2238 2.22386 9.99997 2.5 9.99997Z",fill:void 0===r?"currentColor":r,fillRule:"evenodd",clipRule:"evenodd"}))})}}]); \ No newline at end of file diff --git a/xtraplatform-ops/src/main/resources/dashboard/_next/static/chunks/285-75e30224a2290122.js b/xtraplatform-ops/src/main/resources/dashboard/_next/static/chunks/285-75e30224a2290122.js deleted file mode 100644 index 13c610d8..00000000 --- a/xtraplatform-ops/src/main/resources/dashboard/_next/static/chunks/285-75e30224a2290122.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[285],{7907:function(e,r,t){var o=t(5313);t.o(o,"notFound")&&t.d(r,{notFound:function(){return o.notFound}}),t.o(o,"usePathname")&&t.d(r,{usePathname:function(){return o.usePathname}}),t.o(o,"useRouter")&&t.d(r,{useRouter:function(){return o.useRouter}}),t.o(o,"useSearchParams")&&t.d(r,{useSearchParams:function(){return o.useSearchParams}})},2110:function(e,r,t){t.d(r,{Z:function(){return o}});function o(){return(o=Object.assign?Object.assign.bind():function(e){for(var r=1;rr.forEach(r=>{"function"==typeof r?r(e):null!=r&&(r.current=e)})}function l(){for(var e=arguments.length,r=Array(e),t=0;t{let{children:t,...l}=e,i=n.Children.toArray(t),s=i.find(c);if(s){let e=s.props.children,t=i.map(r=>r!==s?r:n.Children.count(e)>1?n.Children.only(null):(0,n.isValidElement)(e)?e.props.children:null);return(0,n.createElement)(a,(0,o.Z)({},l,{ref:r}),(0,n.isValidElement)(e)?(0,n.cloneElement)(e,void 0,t):null)}return(0,n.createElement)(a,(0,o.Z)({},l,{ref:r}),t)});i.displayName="Slot";let a=(0,n.forwardRef)((e,r)=>{let{children:t,...o}=e;return(0,n.isValidElement)(t)?(0,n.cloneElement)(t,{...function(e,r){let t={...r};for(let o in r){let n=e[o],l=r[o];/^on[A-Z]/.test(o)?n&&l?t[o]=function(){for(var e=arguments.length,r=Array(e),t=0;t1?n.Children.only(null):null});a.displayName="SlotClone";let s=e=>{let{children:r}=e;return(0,n.createElement)(n.Fragment,null,r)};function c(e){return(0,n.isValidElement)(e)&&e.type===s}},7742:function(e,r,t){t.d(r,{j:function(){return l}});let o=e=>"boolean"==typeof e?"".concat(e):0===e?"0":e,n=function(){for(var e,r,t=0,o="";tt=>{var l;if((null==r?void 0:r.variants)==null)return n(e,null==t?void 0:t.class,null==t?void 0:t.className);let{variants:i,defaultVariants:a}=r,s=Object.keys(i).map(e=>{let r=null==t?void 0:t[e],n=null==a?void 0:a[e];if(null===r)return null;let l=o(r)||o(n);return i[e][l]}),c=t&&Object.entries(t).reduce((e,r)=>{let[t,o]=r;return void 0===o||(e[t]=o),e},{});return n(e,s,null==r?void 0:null===(l=r.compoundVariants)||void 0===l?void 0:l.reduce((e,r)=>{let{class:t,className:o,...n}=r;return Object.entries(n).every(e=>{let[r,t]=e;return Array.isArray(t)?t.includes({...a,...c}[r]):({...a,...c})[r]===t})?[...e,t,o]:e},[]),null==t?void 0:t.class,null==t?void 0:t.className)}},3167:function(e,r,t){t.d(r,{W:function(){return o}});function o(){for(var e,r,t=0,o="",n=arguments.length;t{t.nextPart.has(e)||t.nextPart.set(e,{nextPart:new Map,validators:[]}),t=t.nextPart.get(e)}),t}let l=/\s+/;function i(){let e,r,t=0,o="";for(;tr[e]||[];return r.isThemeGetter=!0,r}let s=/^\[(?:([a-z-]+):)?(.+)\]$/i,c=/^\d+\/\d+$/,d=new Set(["px","full","screen"]),u=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,p=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,f=/^-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,b=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/;function m(e){return h(e)||d.has(e)||c.test(e)}function g(e){return A(e,"length",O)}function h(e){return!!e&&!Number.isNaN(Number(e))}function v(e){return A(e,"number",h)}function y(e){return!!e&&Number.isInteger(Number(e))}function x(e){return e.endsWith("%")&&h(e.slice(0,-1))}function w(e){return s.test(e)}function k(e){return u.test(e)}let z=new Set(["length","size","percentage"]);function j(e){return A(e,z,G)}function C(e){return A(e,"position",G)}let E=new Set(["image","url"]);function P(e){return A(e,E,M)}function S(e){return A(e,"",R)}function N(){return!0}function A(e,r,t){let o=s.exec(e);return!!o&&(o[1]?"string"==typeof r?o[1]===r:r.has(o[1]):t(o[2]))}function O(e){return p.test(e)}function G(){return!1}function R(e){return f.test(e)}function M(e){return b.test(e)}let I=function(e){let r,t,a;for(var s=arguments.length,c=Array(s>1?s-1:0),d=1;dvoid 0,set:()=>{}};let r=0,t=new Map,o=new Map;function n(n,l){t.set(n,l),++r>e&&(r=0,o=t,t=new Map)}return{get(e){let r=t.get(e);return void 0!==r?r:void 0!==(r=o.get(e))?(n(e,r),r):void 0},set(e,r){t.has(e)?t.set(e,r):n(e,r)}}}((i=c.reduce((e,r)=>r(e),e())).cacheSize),splitModifiers:function(e){let r=e.separator,t=1===r.length,o=r[0],n=r.length;return function(e){let l;let i=[],a=0,s=0;for(let c=0;cs?l-s:void 0}}}(i),...function(e){let r=function(e){var r;let{theme:t,prefix:o}=e,l={nextPart:new Map,validators:[]};return(r=Object.entries(e.classGroups),o?r.map(e=>{let[r,t]=e;return[r,t.map(e=>"string"==typeof e?o+e:"object"==typeof e?Object.fromEntries(Object.entries(e).map(e=>{let[r,t]=e;return[o+r,t]})):e)]}):r).forEach(e=>{let[r,o]=e;(function e(r,t,o,l){r.forEach(r=>{if("string"==typeof r){(""===r?t:n(t,r)).classGroupId=o;return}if("function"==typeof r){if(r.isThemeGetter){e(r(l),t,o,l);return}t.validators.push({validator:r,classGroupId:o});return}Object.entries(r).forEach(r=>{let[i,a]=r;e(a,n(t,i),o,l)})})})(o,l,r,t)}),l}(e),{conflictingClassGroups:t,conflictingClassGroupModifiers:l}=e;return{getClassGroupId:function(e){let t=e.split("-");return""===t[0]&&1!==t.length&&t.shift(),function e(r,t){var o;if(0===r.length)return t.classGroupId;let n=r[0],l=t.nextPart.get(n),i=l?e(r.slice(1),l):void 0;if(i)return i;if(0===t.validators.length)return;let a=r.join("-");return null===(o=t.validators.find(e=>{let{validator:r}=e;return r(a)}))||void 0===o?void 0:o.classGroupId}(t,r)||function(e){if(o.test(e)){let r=o.exec(e)[1],t=null==r?void 0:r.substring(0,r.indexOf(":"));if(t)return"arbitrary.."+t}}(e)},getConflictingClassGroupIds:function(e,r){let o=t[e]||[];return r&&l[e]?[...o,...l[e]]:o}}}(i)}).cache.get,a=r.cache.set,u=p,p(l)};function p(e){let o=t(e);if(o)return o;let n=function(e,r){let{splitModifiers:t,getClassGroupId:o,getConflictingClassGroupIds:n}=r,i=new Set;return e.trim().split(l).map(e=>{let{modifiers:r,hasImportantModifier:n,baseClassName:l,maybePostfixModifierPosition:i}=t(e),a=o(i?l.substring(0,i):l),s=!!i;if(!a){if(!i||!(a=o(l)))return{isTailwindClass:!1,originalClassName:e};s=!1}let c=(function(e){if(e.length<=1)return e;let r=[],t=[];return e.forEach(e=>{"["===e[0]?(r.push(...t.sort(),e),t=[]):t.push(e)}),r.push(...t.sort()),r})(r).join(":");return{isTailwindClass:!0,modifierId:n?c+"!":c,classGroupId:a,originalClassName:e,hasPostfixModifier:s}}).reverse().filter(e=>{if(!e.isTailwindClass)return!0;let{modifierId:r,classGroupId:t,hasPostfixModifier:o}=e,l=r+t;return!i.has(l)&&(i.add(l),n(t,o).forEach(e=>i.add(r+e)),!0)}).reverse().map(e=>e.originalClassName).join(" ")}(e,r);return a(e,n),n}return function(){return u(i.apply(null,arguments))}}(function(){let e=a("colors"),r=a("spacing"),t=a("blur"),o=a("brightness"),n=a("borderColor"),l=a("borderRadius"),i=a("borderSpacing"),s=a("borderWidth"),c=a("contrast"),d=a("grayscale"),u=a("hueRotate"),p=a("invert"),f=a("gap"),b=a("gradientColorStops"),z=a("gradientColorStopPositions"),E=a("inset"),A=a("margin"),O=a("opacity"),G=a("padding"),R=a("saturate"),M=a("scale"),I=a("sepia"),F=a("skew"),$=a("space"),T=a("translate"),V=()=>["auto","contain","none"],W=()=>["auto","hidden","clip","visible","scroll"],_=()=>["auto",w,r],Z=()=>[w,r],q=()=>["",m,g],B=()=>["auto",h,w],D=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],H=()=>["solid","dashed","dotted","double","none"],J=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity","plus-lighter"],K=()=>["start","end","center","between","around","evenly","stretch"],L=()=>["","0",w],Q=()=>["auto","avoid","all","avoid-page","page","left","right","column"],U=()=>[h,v],X=()=>[h,w];return{cacheSize:500,separator:":",theme:{colors:[N],spacing:[m,g],blur:["none","",k,w],brightness:U(),borderColor:[e],borderRadius:["none","","full",k,w],borderSpacing:Z(),borderWidth:q(),contrast:U(),grayscale:L(),hueRotate:X(),invert:L(),gap:Z(),gradientColorStops:[e],gradientColorStopPositions:[x,g],inset:_(),margin:_(),opacity:U(),padding:Z(),saturate:U(),scale:U(),sepia:L(),skew:X(),space:Z(),translate:Z()},classGroups:{aspect:[{aspect:["auto","square","video",w]}],container:["container"],columns:[{columns:[k]}],"break-after":[{"break-after":Q()}],"break-before":[{"break-before":Q()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[...D(),w]}],overflow:[{overflow:W()}],"overflow-x":[{"overflow-x":W()}],"overflow-y":[{"overflow-y":W()}],overscroll:[{overscroll:V()}],"overscroll-x":[{"overscroll-x":V()}],"overscroll-y":[{"overscroll-y":V()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[E]}],"inset-x":[{"inset-x":[E]}],"inset-y":[{"inset-y":[E]}],start:[{start:[E]}],end:[{end:[E]}],top:[{top:[E]}],right:[{right:[E]}],bottom:[{bottom:[E]}],left:[{left:[E]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",y,w]}],basis:[{basis:_()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",w]}],grow:[{grow:L()}],shrink:[{shrink:L()}],order:[{order:["first","last","none",y,w]}],"grid-cols":[{"grid-cols":[N]}],"col-start-end":[{col:["auto",{span:["full",y,w]},w]}],"col-start":[{"col-start":B()}],"col-end":[{"col-end":B()}],"grid-rows":[{"grid-rows":[N]}],"row-start-end":[{row:["auto",{span:[y,w]},w]}],"row-start":[{"row-start":B()}],"row-end":[{"row-end":B()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",w]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",w]}],gap:[{gap:[f]}],"gap-x":[{"gap-x":[f]}],"gap-y":[{"gap-y":[f]}],"justify-content":[{justify:["normal",...K()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...K(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...K(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[G]}],px:[{px:[G]}],py:[{py:[G]}],ps:[{ps:[G]}],pe:[{pe:[G]}],pt:[{pt:[G]}],pr:[{pr:[G]}],pb:[{pb:[G]}],pl:[{pl:[G]}],m:[{m:[A]}],mx:[{mx:[A]}],my:[{my:[A]}],ms:[{ms:[A]}],me:[{me:[A]}],mt:[{mt:[A]}],mr:[{mr:[A]}],mb:[{mb:[A]}],ml:[{ml:[A]}],"space-x":[{"space-x":[$]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[$]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",w,r]}],"min-w":[{"min-w":[w,r,"min","max","fit"]}],"max-w":[{"max-w":[w,r,"none","full","min","max","fit","prose",{screen:[k]},k]}],h:[{h:[w,r,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[w,r,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[w,r,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[w,r,"auto","min","max","fit"]}],"font-size":[{text:["base",k,g]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",v]}],"font-family":[{font:[N]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractons"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",w]}],"line-clamp":[{"line-clamp":["none",h,v]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",m,w]}],"list-image":[{"list-image":["none",w]}],"list-style-type":[{list:["none","disc","decimal",w]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[O]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[O]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...H(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",m,g]}],"underline-offset":[{"underline-offset":["auto",m,w]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:Z()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",w]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",w]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[O]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...D(),C]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",j]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},P]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[z]}],"gradient-via-pos":[{via:[z]}],"gradient-to-pos":[{to:[z]}],"gradient-from":[{from:[b]}],"gradient-via":[{via:[b]}],"gradient-to":[{to:[b]}],rounded:[{rounded:[l]}],"rounded-s":[{"rounded-s":[l]}],"rounded-e":[{"rounded-e":[l]}],"rounded-t":[{"rounded-t":[l]}],"rounded-r":[{"rounded-r":[l]}],"rounded-b":[{"rounded-b":[l]}],"rounded-l":[{"rounded-l":[l]}],"rounded-ss":[{"rounded-ss":[l]}],"rounded-se":[{"rounded-se":[l]}],"rounded-ee":[{"rounded-ee":[l]}],"rounded-es":[{"rounded-es":[l]}],"rounded-tl":[{"rounded-tl":[l]}],"rounded-tr":[{"rounded-tr":[l]}],"rounded-br":[{"rounded-br":[l]}],"rounded-bl":[{"rounded-bl":[l]}],"border-w":[{border:[s]}],"border-w-x":[{"border-x":[s]}],"border-w-y":[{"border-y":[s]}],"border-w-s":[{"border-s":[s]}],"border-w-e":[{"border-e":[s]}],"border-w-t":[{"border-t":[s]}],"border-w-r":[{"border-r":[s]}],"border-w-b":[{"border-b":[s]}],"border-w-l":[{"border-l":[s]}],"border-opacity":[{"border-opacity":[O]}],"border-style":[{border:[...H(),"hidden"]}],"divide-x":[{"divide-x":[s]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[s]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[O]}],"divide-style":[{divide:H()}],"border-color":[{border:[n]}],"border-color-x":[{"border-x":[n]}],"border-color-y":[{"border-y":[n]}],"border-color-t":[{"border-t":[n]}],"border-color-r":[{"border-r":[n]}],"border-color-b":[{"border-b":[n]}],"border-color-l":[{"border-l":[n]}],"divide-color":[{divide:[n]}],"outline-style":[{outline:["",...H()]}],"outline-offset":[{"outline-offset":[m,w]}],"outline-w":[{outline:[m,g]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:q()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[O]}],"ring-offset-w":[{"ring-offset":[m,g]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",k,S]}],"shadow-color":[{shadow:[N]}],opacity:[{opacity:[O]}],"mix-blend":[{"mix-blend":J()}],"bg-blend":[{"bg-blend":J()}],filter:[{filter:["","none"]}],blur:[{blur:[t]}],brightness:[{brightness:[o]}],contrast:[{contrast:[c]}],"drop-shadow":[{"drop-shadow":["","none",k,w]}],grayscale:[{grayscale:[d]}],"hue-rotate":[{"hue-rotate":[u]}],invert:[{invert:[p]}],saturate:[{saturate:[R]}],sepia:[{sepia:[I]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[t]}],"backdrop-brightness":[{"backdrop-brightness":[o]}],"backdrop-contrast":[{"backdrop-contrast":[c]}],"backdrop-grayscale":[{"backdrop-grayscale":[d]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[u]}],"backdrop-invert":[{"backdrop-invert":[p]}],"backdrop-opacity":[{"backdrop-opacity":[O]}],"backdrop-saturate":[{"backdrop-saturate":[R]}],"backdrop-sepia":[{"backdrop-sepia":[I]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[i]}],"border-spacing-x":[{"border-spacing-x":[i]}],"border-spacing-y":[{"border-spacing-y":[i]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",w]}],duration:[{duration:X()}],ease:[{ease:["linear","in","out","in-out",w]}],delay:[{delay:X()}],animate:[{animate:["none","spin","ping","pulse","bounce",w]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[M]}],"scale-x":[{"scale-x":[M]}],"scale-y":[{"scale-y":[M]}],rotate:[{rotate:[y,w]}],"translate-x":[{"translate-x":[T]}],"translate-y":[{"translate-y":[T]}],"skew-x":[{"skew-x":[F]}],"skew-y":[{"skew-y":[F]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",w]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",w]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":Z()}],"scroll-mx":[{"scroll-mx":Z()}],"scroll-my":[{"scroll-my":Z()}],"scroll-ms":[{"scroll-ms":Z()}],"scroll-me":[{"scroll-me":Z()}],"scroll-mt":[{"scroll-mt":Z()}],"scroll-mr":[{"scroll-mr":Z()}],"scroll-mb":[{"scroll-mb":Z()}],"scroll-ml":[{"scroll-ml":Z()}],"scroll-p":[{"scroll-p":Z()}],"scroll-px":[{"scroll-px":Z()}],"scroll-py":[{"scroll-py":Z()}],"scroll-ps":[{"scroll-ps":Z()}],"scroll-pe":[{"scroll-pe":Z()}],"scroll-pt":[{"scroll-pt":Z()}],"scroll-pr":[{"scroll-pr":Z()}],"scroll-pb":[{"scroll-pb":Z()}],"scroll-pl":[{"scroll-pl":Z()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",w]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[m,g,v]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}})}}]); \ No newline at end of file diff --git a/xtraplatform-ops/src/main/resources/dashboard/_next/static/chunks/549-9e802070de5ff105.js b/xtraplatform-ops/src/main/resources/dashboard/_next/static/chunks/549-9e802070de5ff105.js deleted file mode 100644 index fc413b80..00000000 --- a/xtraplatform-ops/src/main/resources/dashboard/_next/static/chunks/549-9e802070de5ff105.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[549],{9539:function(e){var t,r,n,s,a,i,o,c,u,l,d,f,h,m,g,y,p,v,b,x,w,$;e.exports=(t="millisecond",r="second",n="minute",s="hour",a="week",i="month",o="quarter",c="year",u="date",l="Invalid Date",d=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,f=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,h=function(e,t,r){var n=String(e);return!n||n.length>=t?e:""+Array(t+1-n.length).join(r)+e},(g={})[m="en"]={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(e){var t=["th","st","nd","rd"],r=e%100;return"["+e+(t[(r-20)%10]||t[r]||"th")+"]"}},y="$isDayjsObject",p=function(e){return e instanceof w||!(!e||!e[y])},v=function e(t,r,n){var s;if(!t)return m;if("string"==typeof t){var a=t.toLowerCase();g[a]&&(s=a),r&&(g[a]=r,s=a);var i=t.split("-");if(!s&&i.length>1)return e(i[0])}else{var o=t.name;g[o]=t,s=o}return!n&&s&&(m=s),s||!n&&m},b=function(e,t){if(p(e))return e.clone();var r="object"==typeof t?t:{};return r.date=e,r.args=arguments,new w(r)},(x={s:h,z:function(e){var t=-e.utcOffset(),r=Math.abs(t);return(t<=0?"+":"-")+h(Math.floor(r/60),2,"0")+":"+h(r%60,2,"0")},m:function e(t,r){if(t.date(){let{className:r,...s}=e;return(0,n.jsx)("div",{className:"relative w-full overflow-auto",children:(0,n.jsx)("table",{ref:t,className:(0,o.cn)("w-full caption-bottom text-sm",r),...s})})});c.displayName="Table";let u=s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,n.jsx)("thead",{ref:t,className:(0,o.cn)("[&_tr]:border-b",r),...s})});u.displayName="TableHeader";let l=s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,n.jsx)("tbody",{ref:t,className:(0,o.cn)("[&_tr:last-child]:border-0",r),...s})});l.displayName="TableBody",s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,n.jsx)("tfoot",{ref:t,className:(0,o.cn)("border-t bg-muted/50 font-medium [&>tr]:last:border-b-0",r),...s})}).displayName="TableFooter";let d=s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,n.jsx)("tr",{ref:t,className:(0,o.cn)("border-b transition-colors hover:bg-muted/50 data-[state=selected]:bg-muted",r),...s})});d.displayName="TableRow";let f=s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,n.jsx)("th",{ref:t,className:(0,o.cn)("h-10 px-2 text-left align-middle font-medium text-muted-foreground [&:has([role=checkbox])]:pr-0 [&>[role=checkbox]]:translate-y-[2px]",r),...s})});f.displayName="TableHead";let h=s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,n.jsx)("td",{ref:t,className:(0,o.cn)("p-2 align-middle [&:has([role=checkbox])]:pr-0 [&>[role=checkbox]]:translate-y-[2px]",r),...s})});function m(e){var t;let{columns:r,data:o}=e,[m,g]=s.useState({}),[y,p]=s.useState([]),[v,b]=s.useState([]),[x,w]=s.useState({}),$=(0,a.b7)({data:o,columns:r,getCoreRowModel:(0,i.sC)(),onSortingChange:b,getSortedRowModel:(0,i.tj)(),onColumnFiltersChange:p,getFilteredRowModel:(0,i.vL)(),onColumnVisibilityChange:g,getExpandedRowModel:(0,i.rV)(),getSubRows:e=>e.subRows,onExpandedChange:w,state:{sorting:v,columnFilters:y,columnVisibility:m,expanded:x}});return(0,n.jsx)("div",{children:(0,n.jsx)("div",{className:"rounded-md border",children:(0,n.jsxs)(c,{children:[(0,n.jsx)(u,{children:$.getHeaderGroups().map(e=>(0,n.jsx)(d,{children:e.headers.map(e=>(0,n.jsx)(f,{children:e.isPlaceholder?null:(0,a.ie)(e.column.columnDef.header,e.getContext())},e.id))},e.id))}),(0,n.jsx)(l,{children:(null===(t=$.getRowModel().rows)||void 0===t?void 0:t.length)?$.getRowModel().rows.map(e=>(0,n.jsx)(d,{"data-state":e.getIsSelected()&&"selected",className:"".concat(0===e.depth?"":"bg-muted"),children:e.getVisibleCells().map(e=>(0,n.jsx)(h,{children:(0,a.ie)(e.column.columnDef.cell,e.getContext())},e.id))},e.id)):(0,n.jsx)(d,{children:(0,n.jsx)(h,{colSpan:r.length,className:"h-24 text-center",children:"No results."})})})]})})})}h.displayName="TableCell",s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,n.jsx)("caption",{ref:t,className:(0,o.cn)("mt-4 text-sm text-muted-foreground",r),...s})}).displayName="TableCaption"},5815:function(e,t,r){r.d(t,{z:function(){return c}});var n=r(3827),s=r(7521),a=r(8886),i=r(5479),o=r(2177);let c=[{accessorKey:"label",header:e=>{let{column:t}=e;return(0,n.jsxs)(a.z,{variant:"ghost",onClick:()=>t.toggleSorting("asc"===t.getIsSorted()),children:["Name",(0,n.jsx)(s.Z,{className:"ml-2 h-4 w-4"})]})},cell:e=>{let{row:t,getValue:r}=e;return(0,n.jsxs)("div",{className:"".concat(0===t.depth?"ml-4 flex items-center":"ml-8"),children:[r()," ",t.getCanExpand()?(0,n.jsx)("button",{onClick:t.getToggleExpandedHandler(),className:"ml-2",style:{cursor:"pointer"},children:t.getIsExpanded()?(0,n.jsx)(o.v4q,{}):(0,n.jsx)(o.XCv,{})}):""]})}},{accessorKey:"status",header:e=>{let{column:t}=e;return(0,n.jsxs)(a.z,{variant:"ghost",onClick:()=>t.toggleSorting("asc"===t.getIsSorted()),children:["Status",(0,n.jsx)(s.Z,{className:"ml-2 h-4 w-4"})]})},cell:e=>{let{row:t}=e;if(t.original){let e="HEALTHY"===t.original.status||"AVAILABLE"===t.original.status?"success":"LIMITED"===t.original.status?"warning":"destructive";return(0,n.jsx)(i.C,{className:"ml-4",variant:e,children:t.original.status})}return null}},{accessorKey:"message",header:e=>{let{column:t}=e;return(0,n.jsx)("div",{className:"flex items-center justify-start",children:(0,n.jsx)(a.z,{variant:"ghost",children:"Message"})})},cell:e=>{let{row:t,getValue:r}=e;return(0,n.jsx)("div",{className:"ml-4 flex items-center justify-start",children:r()})}},{accessorKey:"checked",header:e=>{let{column:t}=e;return(0,n.jsx)("div",{className:"flex items-center justify-start",children:(0,n.jsx)(a.z,{variant:"ghost",children:"Last checked"})})},cell:e=>{let{row:t,getValue:r}=e;return(0,n.jsx)("div",{className:"ml-4 flex items-center justify-start",children:r()})}}]},5479:function(e,t,r){r.d(t,{C:function(){return o}});var n=r(3827);r(4090);var s=r(7742),a=r(2169);let i=(0,s.j)("inline-flex items-center rounded-full border px-2.5 py-0.5 text-xs font-semibold transition-colors focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2",{variants:{variant:{default:"border-transparent bg-primary text-primary-foreground hover:bg-primary/80",secondary:"border-transparent bg-secondary text-secondary-foreground hover:bg-secondary/80",destructive:"border-transparent bg-destructive text-destructive-foreground hover:bg-destructive/80",success:"border-transparent bg-success text-success-foreground hover:bg-success/80",warning:"border-transparent bg-warning text-warning-foreground hover:bg-warning/80",outline:"text-foreground"}},defaultVariants:{variant:"default"}});function o(e){let{className:t,variant:r,...s}=e;return(0,n.jsx)("div",{className:(0,a.cn)(i({variant:r}),t),...s})}},8886:function(e,t,r){r.d(t,{z:function(){return u}});var n=r(3827),s=r(4090),a=r(9143),i=r(7742),o=r(2169);let c=(0,i.j)("inline-flex items-center justify-center whitespace-nowrap rounded-md text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50",{variants:{variant:{default:"bg-primary text-primary-foreground hover:bg-primary/90",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90",outline:"border border-input bg-background hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-10 px-4 py-2",sm:"h-9 rounded-md px-3",lg:"h-11 rounded-md px-8",icon:"h-10 w-10"}},defaultVariants:{variant:"default",size:"default"}}),u=s.forwardRef((e,t)=>{let{className:r,variant:s,size:i,asChild:u=!1,...l}=e,d=u?a.g7:"button";return(0,n.jsx)(d,{className:(0,o.cn)(c({variant:s,size:i,className:r})),ref:t,...l})});u.displayName="Button"},5744:function(e,t,r){r.d(t,{SP:function(){return u},dr:function(){return c},mQ:function(){return o},nU:function(){return l}});var n=r(3827),s=r(4090),a=r(1639),i=r(2169);let o=a.fC,c=s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,n.jsx)(a.aV,{ref:t,className:(0,i.cn)("inline-flex h-10 items-center justify-center rounded-md bg-muted p-1 text-muted-foreground",r),...s})});c.displayName=a.aV.displayName;let u=s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,n.jsx)(a.xz,{ref:t,className:(0,i.cn)("inline-flex items-center justify-center whitespace-nowrap rounded-sm px-3 py-1.5 text-sm font-medium ring-offset-background transition-all focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 data-[state=active]:bg-background data-[state=active]:text-foreground data-[state=active]:shadow-sm",r),...s})});u.displayName=a.xz.displayName;let l=s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,n.jsx)(a.VY,{ref:t,className:(0,i.cn)("mt-2 ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2",r),...s})});l.displayName=a.VY.displayName},2169:function(e,t,r){r.d(t,{AR:function(){return g},C5:function(){return l},KX:function(){return f},Kt:function(){return d},ZH:function(){return h},cn:function(){return a},fL:function(){return u},fi:function(){return c},hs:function(){return m}});var n=r(3167),s=r(1367);function a(){for(var e=arguments.length,t=Array(e),r=0;r{try{let e=await fetch(i+"/entities"),t=await e.json();return Object.keys(t).flatMap(e=>t[e].map(t=>({type:e,uid:"".concat(e,"_").concat(t.id),...t}))).filter(e=>"DISABLED"!==e.status)}catch(e){throw console.error("Error:",e),e}},u=async()=>{try{let e=await fetch(i+"/health"),t=await e.json();return Object.keys(t).map(e=>({name:e,...t[e],capabilities:t[e].capabilities?Object.keys(t[e].capabilities).map(r=>({name:r,...t[e].capabilities[r]})):void 0,components:t[e].components?Object.keys(t[e].components).map(r=>({name:r,...t[e].components[r]})):void 0}))}catch(e){throw console.error("Error:",e),e}},l=async()=>{try{let e=await fetch(i+"/info");return await e.json()}catch(e){throw console.error("Error:",e),e}},d=async()=>{try{let e=await fetch(i+"/metrics"),t=await e.json();return{uptime:t.gauges["jvm.attribute.uptime"].value,memory:t.gauges["jvm.memory.total.used"].value}}catch(e){throw console.error("Error:",e),e}},f=async()=>{try{let e=await fetch(i+"/values"),t=await e.json();return Object.keys(t).flatMap(e=>t[e].map(t=>({type:e,uid:"".concat(e,"_").concat(t.path),...t})))}catch(e){throw console.error("Error:",e),e}},h=async e=>{try{let t=e.replace(/_/g,"/"),r=await fetch("".concat(o,"/cfg/entities/").concat(t));if(!r.ok)throw Error("HTTP error! status: ".concat(r.status));return await r.json()}catch(e){throw console.error("Error:",e),e}},m=async()=>{try{let e=await fetch(o+"/cfg/global/deployment");if(!e.ok)throw Error("HTTP error! status: ".concat(e.status));return await e.json()}catch(e){throw console.error("Error:",e),e}},g=async e=>{try{let t=e.replace(/_/g,"/"),r=await fetch("".concat(o,"/cfg/values/").concat(t));if(!r.ok)throw Error("HTTP error! status: ".concat(r.status));return await r.json()}catch(e){throw console.error("Error:",e),e}}}}]); \ No newline at end of file diff --git a/xtraplatform-ops/src/main/resources/dashboard/_next/static/chunks/594-485dda5fe4260faf.js b/xtraplatform-ops/src/main/resources/dashboard/_next/static/chunks/594-485dda5fe4260faf.js new file mode 100644 index 00000000..7d0db424 --- /dev/null +++ b/xtraplatform-ops/src/main/resources/dashboard/_next/static/chunks/594-485dda5fe4260faf.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[594],{7907:function(e,t,n){var r=n(5313);n.o(r,"notFound")&&n.d(t,{notFound:function(){return r.notFound}}),n.o(r,"usePathname")&&n.d(t,{usePathname:function(){return r.usePathname}}),n.o(r,"useRouter")&&n.d(t,{useRouter:function(){return r.useRouter}}),n.o(r,"useSearchParams")&&n.d(t,{useSearchParams:function(){return r.useSearchParams}})},2110:function(e,t,n){n.d(t,{Z:function(){return r}});function r(){return(r=Object.assign?Object.assign.bind():function(e){for(var t=1;tt.forEach(t=>{"function"==typeof t?t(e):null!=t&&(t.current=e)})}function u(){for(var e=arguments.length,t=Array(e),n=0;n{let{children:n,...u}=e,l=o.Children.toArray(n),i=l.find(c);if(i){let e=i.props.children,n=l.map(t=>t!==i?t:o.Children.count(e)>1?o.Children.only(null):(0,o.isValidElement)(e)?e.props.children:null);return(0,o.createElement)(a,(0,r.Z)({},u,{ref:t}),(0,o.isValidElement)(e)?(0,o.cloneElement)(e,void 0,n):null)}return(0,o.createElement)(a,(0,r.Z)({},u,{ref:t}),n)});l.displayName="Slot";let a=(0,o.forwardRef)((e,t)=>{let{children:n,...r}=e;return(0,o.isValidElement)(n)?(0,o.cloneElement)(n,{...function(e,t){let n={...t};for(let r in t){let o=e[r],u=t[r];/^on[A-Z]/.test(r)?o&&u?n[r]=function(){for(var e=arguments.length,t=Array(e),n=0;n1?o.Children.only(null):null});a.displayName="SlotClone";let i=e=>{let{children:t}=e;return(0,o.createElement)(o.Fragment,null,t)};function c(e){return(0,o.isValidElement)(e)&&e.type===i}},1639:function(e,t,n){n.d(t,{VY:function(){return X},aV:function(){return Q},fC:function(){return J},xz:function(){return W}});var r=n(2110),o=n(4090),u=n.t(o,2);function l(e,t){let{checkForDefaultPrevented:n=!0}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return function(r){if(null==e||e(r),!1===n||!r.defaultPrevented)return null==t?void 0:t(r)}}function a(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=[],r=()=>{let t=n.map(e=>(0,o.createContext)(e));return function(n){let r=(null==n?void 0:n[e])||t;return(0,o.useMemo)(()=>({["__scope".concat(e)]:{...n,[e]:r}}),[n,r])}};return r.scopeName=e,[function(t,r){let u=(0,o.createContext)(r),l=n.length;function a(t){let{scope:n,children:r,...a}=t,i=(null==n?void 0:n[e][l])||u,c=(0,o.useMemo)(()=>a,Object.values(a));return(0,o.createElement)(i.Provider,{value:c},r)}return n=[...n,r],a.displayName=t+"Provider",[a,function(n,a){let i=(null==a?void 0:a[e][l])||u,c=(0,o.useContext)(i);if(c)return c;if(void 0!==r)return r;throw Error("`".concat(n,"` must be used within `").concat(t,"`"))}]},function(){for(var e=arguments.length,t=Array(e),n=0;n{let e=t.map(e=>({useScope:e(),scopeName:e.scopeName}));return function(t){let n=e.reduce((e,n)=>{let{useScope:r,scopeName:o}=n,u=r(t)["__scope".concat(o)];return{...e,...u}},{});return(0,o.useMemo)(()=>({["__scope".concat(r.scopeName)]:n}),[n])}};return u.scopeName=r.scopeName,u}(r,...t)]}var i=n(1266),c=n(9143);let s=(null==globalThis?void 0:globalThis.document)?o.useLayoutEffect:()=>{},f=u["useId".toString()]||(()=>void 0),d=0;function m(e){let[t,n]=o.useState(f());return s(()=>{e||n(e=>null!=e?e:String(d++))},[e]),e||(t?"radix-".concat(t):"")}var p=n(9542);let v=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"].reduce((e,t)=>{let n=(0,o.forwardRef)((e,n)=>{let{asChild:u,...l}=e,a=u?c.g7:t;return(0,o.useEffect)(()=>{window[Symbol.for("radix-ui")]=!0},[]),(0,o.createElement)(a,(0,r.Z)({},l,{ref:n}))});return n.displayName="Primitive.".concat(t),{...e,[t]:n}},{});function b(e){let t=(0,o.useRef)(e);return(0,o.useEffect)(()=>{t.current=e}),(0,o.useMemo)(()=>function(){for(var e,n=arguments.length,r=Array(n),o=0;o{}}=e,[u,l]=function(e){let{defaultProp:t,onChange:n}=e,r=(0,o.useState)(t),[u]=r,l=(0,o.useRef)(u),a=b(n);return(0,o.useEffect)(()=>{l.current!==u&&(a(u),l.current=u)},[u,l,a]),r}({defaultProp:n,onChange:r}),a=void 0!==t,i=a?t:u,c=b(r);return[i,(0,o.useCallback)(e=>{if(a){let n="function"==typeof e?e(t):e;n!==t&&c(n)}else l(e)},[a,t,l,c])]}let g=(0,o.createContext)(void 0);function E(e){let t=(0,o.useContext)(g);return e||t||"ltr"}let y="rovingFocusGroup.onEntryFocus",w={bubbles:!1,cancelable:!0},C="RovingFocusGroup",[R,N,A]=function(e){let t=e+"CollectionProvider",[n,r]=a(t),[u,l]=n(t,{collectionRef:{current:null},itemMap:new Map}),s=e+"CollectionSlot",f=o.forwardRef((e,t)=>{let{scope:n,children:r}=e,u=l(s,n),a=(0,i.e)(t,u.collectionRef);return o.createElement(c.g7,{ref:a},r)}),d=e+"CollectionItemSlot",m="data-radix-collection-item";return[{Provider:e=>{let{scope:t,children:n}=e,r=o.useRef(null),l=o.useRef(new Map).current;return o.createElement(u,{scope:t,itemMap:l,collectionRef:r},n)},Slot:f,ItemSlot:o.forwardRef((e,t)=>{let{scope:n,children:r,...u}=e,a=o.useRef(null),s=(0,i.e)(t,a),f=l(d,n);return o.useEffect(()=>(f.itemMap.set(a,{ref:a,...u}),()=>void f.itemMap.delete(a))),o.createElement(c.g7,{[m]:"",ref:s},r)})},function(t){let n=l(e+"CollectionConsumer",t);return o.useCallback(()=>{let e=n.collectionRef.current;if(!e)return[];let t=Array.from(e.querySelectorAll("[".concat(m,"]")));return Array.from(n.itemMap.values()).sort((e,n)=>t.indexOf(e.ref.current)-t.indexOf(n.ref.current))},[n.collectionRef,n.itemMap])},r]}(C),[I,T]=a(C,[A]),[S,M]=I(C),F=(0,o.forwardRef)((e,t)=>(0,o.createElement)(R.Provider,{scope:e.__scopeRovingFocusGroup},(0,o.createElement)(R.Slot,{scope:e.__scopeRovingFocusGroup},(0,o.createElement)(_,(0,r.Z)({},e,{ref:t}))))),_=(0,o.forwardRef)((e,t)=>{let{__scopeRovingFocusGroup:n,orientation:u,loop:a=!1,dir:c,currentTabStopId:s,defaultCurrentTabStopId:f,onCurrentTabStopIdChange:d,onEntryFocus:m,...p}=e,g=(0,o.useRef)(null),C=(0,i.e)(t,g),R=E(c),[A=null,I]=h({prop:s,defaultProp:f,onChange:d}),[T,M]=(0,o.useState)(!1),F=b(m),_=N(n),P=(0,o.useRef)(!1),[O,x]=(0,o.useState)(0);return(0,o.useEffect)(()=>{let e=g.current;if(e)return e.addEventListener(y,F),()=>e.removeEventListener(y,F)},[F]),(0,o.createElement)(S,{scope:n,orientation:u,dir:R,loop:a,currentTabStopId:A,onItemFocus:(0,o.useCallback)(e=>I(e),[I]),onItemShiftTab:(0,o.useCallback)(()=>M(!0),[]),onFocusableItemAdd:(0,o.useCallback)(()=>x(e=>e+1),[]),onFocusableItemRemove:(0,o.useCallback)(()=>x(e=>e-1),[])},(0,o.createElement)(v.div,(0,r.Z)({tabIndex:T||0===O?-1:0,"data-orientation":u},p,{ref:C,style:{outline:"none",...e.style},onMouseDown:l(e.onMouseDown,()=>{P.current=!0}),onFocus:l(e.onFocus,e=>{let t=!P.current;if(e.target===e.currentTarget&&t&&!T){let t=new CustomEvent(y,w);if(e.currentTarget.dispatchEvent(t),!t.defaultPrevented){let e=_().filter(e=>e.focusable);D([e.find(e=>e.active),e.find(e=>e.id===A),...e].filter(Boolean).map(e=>e.ref.current))}}P.current=!1}),onBlur:l(e.onBlur,()=>M(!1))})))}),P=(0,o.forwardRef)((e,t)=>{let{__scopeRovingFocusGroup:n,focusable:u=!0,active:a=!1,tabStopId:i,...c}=e,s=m(),f=i||s,d=M("RovingFocusGroupItem",n),p=d.currentTabStopId===f,b=N(n),{onFocusableItemAdd:h,onFocusableItemRemove:g}=d;return(0,o.useEffect)(()=>{if(u)return h(),()=>g()},[u,h,g]),(0,o.createElement)(R.ItemSlot,{scope:n,id:f,focusable:u,active:a},(0,o.createElement)(v.span,(0,r.Z)({tabIndex:p?0:-1,"data-orientation":d.orientation},c,{ref:t,onMouseDown:l(e.onMouseDown,e=>{u?d.onItemFocus(f):e.preventDefault()}),onFocus:l(e.onFocus,()=>d.onItemFocus(f)),onKeyDown:l(e.onKeyDown,e=>{if("Tab"===e.key&&e.shiftKey){d.onItemShiftTab();return}if(e.target!==e.currentTarget)return;let t=function(e,t,n){var r;let o=(r=e.key,"rtl"!==n?r:"ArrowLeft"===r?"ArrowRight":"ArrowRight"===r?"ArrowLeft":r);if(!("vertical"===t&&["ArrowLeft","ArrowRight"].includes(o))&&!("horizontal"===t&&["ArrowUp","ArrowDown"].includes(o)))return O[o]}(e,d.orientation,d.dir);if(void 0!==t){e.preventDefault();let o=b().filter(e=>e.focusable).map(e=>e.ref.current);if("last"===t)o.reverse();else if("prev"===t||"next"===t){var n,r;"prev"===t&&o.reverse();let u=o.indexOf(e.currentTarget);o=d.loop?(n=o,r=u+1,n.map((e,t)=>n[(r+t)%n.length])):o.slice(u+1)}setTimeout(()=>D(o))}})})))}),O={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function D(e){let t=document.activeElement;for(let n of e)if(n===t||(n.focus(),document.activeElement!==t))return}let x=e=>{let{present:t,children:n}=e,r=function(e){var t,n;let[r,u]=(0,o.useState)(),l=(0,o.useRef)({}),a=(0,o.useRef)(e),i=(0,o.useRef)("none"),[c,f]=(t=e?"mounted":"unmounted",n={mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}},(0,o.useReducer)((e,t)=>{let r=n[e][t];return null!=r?r:e},t));return(0,o.useEffect)(()=>{let e=k(l.current);i.current="mounted"===c?e:"none"},[c]),s(()=>{let t=l.current,n=a.current;if(n!==e){let r=i.current,o=k(t);e?f("MOUNT"):"none"===o||(null==t?void 0:t.display)==="none"?f("UNMOUNT"):n&&r!==o?f("ANIMATION_OUT"):f("UNMOUNT"),a.current=e}},[e,f]),s(()=>{if(r){let e=e=>{let t=k(l.current).includes(e.animationName);e.target===r&&t&&(0,p.flushSync)(()=>f("ANIMATION_END"))},t=e=>{e.target===r&&(i.current=k(l.current))};return r.addEventListener("animationstart",t),r.addEventListener("animationcancel",e),r.addEventListener("animationend",e),()=>{r.removeEventListener("animationstart",t),r.removeEventListener("animationcancel",e),r.removeEventListener("animationend",e)}}f("ANIMATION_END")},[r,f]),{isPresent:["mounted","unmountSuspended"].includes(c),ref:(0,o.useCallback)(e=>{e&&(l.current=getComputedStyle(e)),u(e)},[])}}(t),u="function"==typeof n?n({present:r.isPresent}):o.Children.only(n),l=(0,i.e)(r.ref,u.ref);return"function"==typeof n||r.isPresent?(0,o.cloneElement)(u,{ref:l}):null};function k(e){return(null==e?void 0:e.animationName)||"none"}x.displayName="Presence";let L="Tabs",[U,Z]=a(L,[T]),V=T(),[j,G]=U(L),K=(0,o.forwardRef)((e,t)=>{let{__scopeTabs:n,value:u,onValueChange:l,defaultValue:a,orientation:i="horizontal",dir:c,activationMode:s="automatic",...f}=e,d=E(c),[p,b]=h({prop:u,onChange:l,defaultProp:a});return(0,o.createElement)(j,{scope:n,baseId:m(),value:p,onValueChange:b,orientation:i,dir:d,activationMode:s},(0,o.createElement)(v.div,(0,r.Z)({dir:d,"data-orientation":i},f,{ref:t})))}),B=(0,o.forwardRef)((e,t)=>{let{__scopeTabs:n,loop:u=!0,...l}=e,a=G("TabsList",n),i=V(n);return(0,o.createElement)(F,(0,r.Z)({asChild:!0},i,{orientation:a.orientation,dir:a.dir,loop:u}),(0,o.createElement)(v.div,(0,r.Z)({role:"tablist","aria-orientation":a.orientation},l,{ref:t})))}),z=(0,o.forwardRef)((e,t)=>{let{__scopeTabs:n,value:u,disabled:a=!1,...i}=e,c=G("TabsTrigger",n),s=V(n),f=H(c.baseId,u),d=Y(c.baseId,u),m=u===c.value;return(0,o.createElement)(P,(0,r.Z)({asChild:!0},s,{focusable:!a,active:m}),(0,o.createElement)(v.button,(0,r.Z)({type:"button",role:"tab","aria-selected":m,"aria-controls":d,"data-state":m?"active":"inactive","data-disabled":a?"":void 0,disabled:a,id:f},i,{ref:t,onMouseDown:l(e.onMouseDown,e=>{a||0!==e.button||!1!==e.ctrlKey?e.preventDefault():c.onValueChange(u)}),onKeyDown:l(e.onKeyDown,e=>{[" ","Enter"].includes(e.key)&&c.onValueChange(u)}),onFocus:l(e.onFocus,()=>{let e="manual"!==c.activationMode;m||a||!e||c.onValueChange(u)})})))}),q=(0,o.forwardRef)((e,t)=>{let{__scopeTabs:n,value:u,forceMount:l,children:a,...i}=e,c=G("TabsContent",n),s=H(c.baseId,u),f=Y(c.baseId,u),d=u===c.value,m=(0,o.useRef)(d);return(0,o.useEffect)(()=>{let e=requestAnimationFrame(()=>m.current=!1);return()=>cancelAnimationFrame(e)},[]),(0,o.createElement)(x,{present:l||d},n=>{let{present:u}=n;return(0,o.createElement)(v.div,(0,r.Z)({"data-state":d?"active":"inactive","data-orientation":c.orientation,role:"tabpanel","aria-labelledby":s,hidden:!u,id:f,tabIndex:0},i,{ref:t,style:{...e.style,animationDuration:m.current?"0s":void 0}}),u&&a)})});function H(e,t){return"".concat(e,"-trigger-").concat(t)}function Y(e,t){return"".concat(e,"-content-").concat(t)}let J=K,Q=B,W=z,X=q},7742:function(e,t,n){n.d(t,{j:function(){return u}});let r=e=>"boolean"==typeof e?"".concat(e):0===e?"0":e,o=function(){for(var e,t,n=0,r="";nn=>{var u;if((null==t?void 0:t.variants)==null)return o(e,null==n?void 0:n.class,null==n?void 0:n.className);let{variants:l,defaultVariants:a}=t,i=Object.keys(l).map(e=>{let t=null==n?void 0:n[e],o=null==a?void 0:a[e];if(null===t)return null;let u=r(t)||r(o);return l[e][u]}),c=n&&Object.entries(n).reduce((e,t)=>{let[n,r]=t;return void 0===r||(e[n]=r),e},{});return o(e,i,null==t?void 0:null===(u=t.compoundVariants)||void 0===u?void 0:u.reduce((e,t)=>{let{class:n,className:r,...o}=t;return Object.entries(o).every(e=>{let[t,n]=e;return Array.isArray(n)?n.includes({...a,...c}[t]):({...a,...c})[t]===n})?[...e,n,r]:e},[]),null==n?void 0:n.class,null==n?void 0:n.className)}}}]); \ No newline at end of file diff --git a/xtraplatform-ops/src/main/resources/dashboard/_next/static/chunks/617-16bea1354cf938cd.js b/xtraplatform-ops/src/main/resources/dashboard/_next/static/chunks/617-16bea1354cf938cd.js new file mode 100644 index 00000000..c5302928 --- /dev/null +++ b/xtraplatform-ops/src/main/resources/dashboard/_next/static/chunks/617-16bea1354cf938cd.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[617],{4747:function(e,t,r){r.d(t,{Z:function(){return l}});var n=r(3827),a=r(8792),s=r(9084),o=r(2177),i=r(5479);let c=e=>{let{footer:t}=e,r=t.includes("/")?t.split("/")[1]:t.includes("OGC_API")?t:null;return(0,n.jsx)(n.Fragment,{children:t?t.split(" ").map((e,t,a)=>"available"!==e||isNaN(Number(a[t-1]))?"limited"!==e||isNaN(Number(a[t-1]))?"unavailable"!==e||isNaN(Number(a[t-1]))?null!==r?(0,n.jsx)(i.C,{variant:"secondary",children:r},r):isNaN(Number(e))||"available"!==a[t+1]&&"unavailable"!==a[t+1]&&"limited"!==a[t+1]?e+" ":null:[(0,n.jsxs)("span",{className:"text-destructive mr-2",style:{display:"flex",alignItems:"center",marginRight:"15px",fontSize:"20px"},title:"".concat(a[t-1]," ").concat(e),children:[(0,n.jsx)(o.xrR,{className:"text-destructive",width:"20px",height:"20px",style:{marginRight:"5px"}},"CheckCircledIcon"),a[t-1]]},t)]:[(0,n.jsxs)("span",{className:"text-warning mr-2",style:{display:"flex",alignItems:"center",marginRight:"15px",fontSize:"20px"},title:"".concat(a[t-1]," ").concat(e),children:[(0,n.jsx)(o.LPM,{className:"text-warning",width:"20px",height:"20px",style:{marginRight:"5px"}},"CheckCircledIcon"),a[t-1]]},t)]:[(0,n.jsxs)("span",{className:"text-success mr-2",style:{display:"flex",alignItems:"center",marginRight:"15px",fontSize:"20px"},title:"".concat(a[t-1]," ").concat(e),children:[(0,n.jsx)(o.NhS,{className:"text-success",width:"20px",height:"20px",style:{marginRight:"5px"}},"CheckCircledIcon"),a[t-1]]},t)]):null})};function l(e){let{header:t,main:r,footer:o,route:i,total:l,Icon:u,...d}=e,f="AVAILABLE"===t||"ACTIVE"===t||"true"===t?"text-success":"LIMITED"===t?"text-warning":"UNAVAILABLE"===t||"false"===t?"text-destructive":"text-blue-700";return(0,n.jsx)(a.default,{href:i||"#",children:(0,n.jsxs)(s.Zb,{className:"shadow-lg hover:bg-gray-100 transition-colors duration-200",style:{height:"140px"},...d,children:[(0,n.jsx)(s.Ol,{className:"flex flex-row items-center justify-between space-y-0 pb-0",children:(0,n.jsx)(s.ll,{className:"text-sm font-semibold ".concat(f).concat(t?"":"text-2xl font-bold mb-1"),children:t?(0,n.jsx)("span",{className:"text-1xl font-bold mb-1 inline-block",children:t}):(0,n.jsx)("span",{className:"text-2xl font-bold mb-1 mt-[-20px] inline-block",children:l})})}),(0,n.jsxs)(s.aY,{children:[(0,n.jsxs)("div",{className:"text-2xl font-bold",style:{display:"flex",flexDirection:"row",marginBottom:"5px",alignItems:"center",justifyContent:"flex-start",gap:"10px"},children:[u?(0,n.jsx)(u,{className:"h-6 w-6 text-muted-foreground"}):null,(0,n.jsx)("span",{style:{textOverflow:"ellipsis",overflow:"hidden",whiteSpace:"nowrap"},title:"string"==typeof r?r:"",children:r})]}),(0,n.jsx)("div",{style:{display:"flex",flexWrap:"wrap"},children:(0,n.jsx)("p",{className:"text-xs text-muted-foreground",style:{display:"flex",flexDirection:"row",marginTop:"5px"},children:o?(0,n.jsx)(c,{footer:o}):null})})]})]})})}},5479:function(e,t,r){r.d(t,{C:function(){return i}});var n=r(3827);r(4090);var a=r(7742),s=r(2169);let o=(0,a.j)("inline-flex items-center rounded-full border px-2.5 py-0.5 text-xs font-semibold transition-colors focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2",{variants:{variant:{default:"border-transparent bg-primary text-primary-foreground hover:bg-primary/80",secondary:"border-transparent bg-secondary text-secondary-foreground hover:bg-secondary/80",destructive:"border-transparent bg-destructive text-destructive-foreground hover:bg-destructive/80",success:"border-transparent bg-success text-success-foreground hover:bg-success/80",warning:"border-transparent bg-warning text-warning-foreground hover:bg-warning/80",outline:"text-foreground"}},defaultVariants:{variant:"default"}});function i(e){let{className:t,variant:r,...a}=e;return(0,n.jsx)("div",{className:(0,s.cn)(o({variant:r}),t),...a})}},9084:function(e,t,r){r.d(t,{Ol:function(){return i},Zb:function(){return o},aY:function(){return l},ll:function(){return c}});var n=r(3827),a=r(4090),s=r(2169);let o=a.forwardRef((e,t)=>{let{className:r,...a}=e;return(0,n.jsx)("div",{ref:t,className:(0,s.cn)("rounded-lg border bg-card text-card-foreground shadow-sm",r),...a})});o.displayName="Card";let i=a.forwardRef((e,t)=>{let{className:r,...a}=e;return(0,n.jsx)("div",{ref:t,className:(0,s.cn)("flex flex-col space-y-1.5 p-6",r),...a})});i.displayName="CardHeader";let c=a.forwardRef((e,t)=>{let{className:r,...a}=e;return(0,n.jsx)("h3",{ref:t,className:(0,s.cn)("text-2xl font-semibold leading-none tracking-tight",r),...a})});c.displayName="CardTitle",a.forwardRef((e,t)=>{let{className:r,...a}=e;return(0,n.jsx)("p",{ref:t,className:(0,s.cn)("text-sm text-muted-foreground",r),...a})}).displayName="CardDescription";let l=a.forwardRef((e,t)=>{let{className:r,...a}=e;return(0,n.jsx)("div",{ref:t,className:(0,s.cn)("p-6 pt-0",r),...a})});l.displayName="CardContent",a.forwardRef((e,t)=>{let{className:r,...a}=e;return(0,n.jsx)("div",{ref:t,className:(0,s.cn)("flex items-center p-6 pt-0",r),...a})}).displayName="CardFooter"},5744:function(e,t,r){r.d(t,{SP:function(){return l},dr:function(){return c},mQ:function(){return i},nU:function(){return u}});var n=r(3827),a=r(4090),s=r(1639),o=r(2169);let i=s.fC,c=a.forwardRef((e,t)=>{let{className:r,...a}=e;return(0,n.jsx)(s.aV,{ref:t,className:(0,o.cn)("inline-flex h-10 items-center justify-center rounded-md bg-muted p-1 text-muted-foreground",r),...a})});c.displayName=s.aV.displayName;let l=a.forwardRef((e,t)=>{let{className:r,...a}=e;return(0,n.jsx)(s.xz,{ref:t,className:(0,o.cn)("inline-flex items-center justify-center whitespace-nowrap rounded-sm px-3 py-1.5 text-sm font-medium ring-offset-background transition-all focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 data-[state=active]:bg-background data-[state=active]:text-foreground data-[state=active]:shadow-sm",r),...a})});l.displayName=s.xz.displayName;let u=a.forwardRef((e,t)=>{let{className:r,...a}=e;return(0,n.jsx)(s.VY,{ref:t,className:(0,o.cn)("mt-2 ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2",r),...a})});u.displayName=s.VY.displayName},6162:function(e,t,r){r.d(t,{Dh:function(){return n},gi:function(){return s},ke:function(){return a}});let n=!0,a=!1,s=2e3},3702:function(e,t,r){r.d(t,{c:function(){return a},q:function(){return s}});var n=r(2177);let a={Play:"Play",Id:"Id",Code:"Code",ListBullet:"ListBullet",Upload:"Upload",Clock:"Clock",Desktop:"Desktop",Home:"Home"},s=e=>{switch(e){case a.Play:return n.o1U;case a.Id:return n.Xwj;case a.Code:return n.dNJ;case a.ListBullet:return n.jVc;case a.Upload:return n.rG2;case a.Clock:return n.T39;case a.Desktop:return n.ugZ;case a.Home:return n.tvw;default:return}}},2169:function(e,t,r){r.d(t,{AR:function(){return b},C5:function(){return u},KX:function(){return h},Kt:function(){return d},Ly:function(){return f},R_:function(){return x},ZH:function(){return g},b5:function(){return w},cn:function(){return s},fL:function(){return l},fi:function(){return c},hs:function(){return y}});var n=r(3167),a=r(1367);function s(){for(var e=arguments.length,t=Array(e),r=0;r{try{let e=await fetch(o+"/entities"),t=await e.json();return Object.keys(t).flatMap(e=>t[e].map(t=>({type:e,uid:"".concat(e,"_").concat(t.id),...t}))).filter(e=>"DISABLED"!==e.status)}catch(e){throw console.error("Error:",e),e}},l=async()=>{try{let e=await fetch(o+"/health"),t=await e.json();return Object.keys(t).map(e=>({name:e,...t[e],capabilities:t[e].capabilities?Object.keys(t[e].capabilities).map(r=>({name:r,...t[e].capabilities[r]})):void 0,components:t[e].components?Object.keys(t[e].components).map(r=>({name:r,...t[e].components[r]})):void 0}))}catch(e){throw console.error("Error:",e),e}},u=async()=>{try{let e=await fetch(o+"/info");return await e.json()}catch(e){throw console.error("Error:",e),e}},d=async()=>{try{let e=await fetch(o+"/metrics"),t=await e.json();return{uptime:t.gauges["jvm.attribute.uptime"].value,memory:t.gauges["jvm.memory.total.used"].value}}catch(e){throw console.error("Error:",e),e}},f=async()=>{try{let e=await fetch(o+"/jobs"),t=await e.json();return p(t.sets)}catch(e){throw console.error("Error:",e),e}},p=e=>{let t=[...e];for(let r of e.flatMap(m))t.some(e=>e.id===r.id)||t.push(r);return t},m=e=>e.followUps.length>0?[e,...e.followUps.flatMap(m)]:[e],x=async()=>{try{let e=await fetch("/api/deployments");return await e.json()}catch(e){throw console.error("Error:",e),e}},h=async()=>{try{let e=await fetch(o+"/values"),t=await e.json();return Object.keys(t).flatMap(e=>t[e].map(t=>({type:e,uid:"".concat(e,"_").concat(t.path),...t})))}catch(e){throw console.error("Error:",e),e}},g=async e=>{try{let t=e.replace(/_/g,"/"),r=await fetch("".concat(i,"/cfg/entities/").concat(t));if(!r.ok)throw Error("HTTP error! status: ".concat(r.status));return await r.json()}catch(e){throw console.error("Error:",e),e}},y=async()=>{try{let e=await fetch(i+"/cfg/global/deployment");if(!e.ok)throw Error("HTTP error! status: ".concat(e.status));return await e.json()}catch(e){throw console.error("Error:",e),e}},b=async e=>{try{let t=e.replace(/_/g,"/"),r=await fetch("".concat(i,"/cfg/values/").concat(t));if(!r.ok)throw Error("HTTP error! status: ".concat(r.status));return await r.json()}catch(e){throw console.error("Error:",e),e}},w=e=>0===e.length?[]:e.sort((e,t)=>100===e.percent&&100!==t.percent?1:100===t.percent&&100!==e.percent?-1:-1===e.startedAt&&t.startedAt>-1?1:-1===t.startedAt&&e.startedAt>-1?-1:e.updatedAt<=0&&t.updatedAt>0?1:t.updatedAt<=0&&e.updatedAt>0?-1:t.startedAt-e.startedAt)}}]); \ No newline at end of file diff --git a/xtraplatform-ops/src/main/resources/dashboard/_next/static/chunks/639-7ca681a6ddf8c75e.js b/xtraplatform-ops/src/main/resources/dashboard/_next/static/chunks/639-7ca681a6ddf8c75e.js deleted file mode 100644 index c8e79fb8..00000000 --- a/xtraplatform-ops/src/main/resources/dashboard/_next/static/chunks/639-7ca681a6ddf8c75e.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[639],{1639:function(e,t,n){n.d(t,{VY:function(){return X},aV:function(){return Q},fC:function(){return J},xz:function(){return W}});var r=n(2110),o=n(4090),a=n.t(o,2);function u(e,t){let{checkForDefaultPrevented:n=!0}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return function(r){if(null==e||e(r),!1===n||!r.defaultPrevented)return null==t?void 0:t(r)}}function l(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=[],r=()=>{let t=n.map(e=>(0,o.createContext)(e));return function(n){let r=(null==n?void 0:n[e])||t;return(0,o.useMemo)(()=>({["__scope".concat(e)]:{...n,[e]:r}}),[n,r])}};return r.scopeName=e,[function(t,r){let a=(0,o.createContext)(r),u=n.length;function l(t){let{scope:n,children:r,...l}=t,i=(null==n?void 0:n[e][u])||a,c=(0,o.useMemo)(()=>l,Object.values(l));return(0,o.createElement)(i.Provider,{value:c},r)}return n=[...n,r],l.displayName=t+"Provider",[l,function(n,l){let i=(null==l?void 0:l[e][u])||a,c=(0,o.useContext)(i);if(c)return c;if(void 0!==r)return r;throw Error("`".concat(n,"` must be used within `").concat(t,"`"))}]},function(){for(var e=arguments.length,t=Array(e),n=0;n{let e=t.map(e=>({useScope:e(),scopeName:e.scopeName}));return function(t){let n=e.reduce((e,n)=>{let{useScope:r,scopeName:o}=n,a=r(t)["__scope".concat(o)];return{...e,...a}},{});return(0,o.useMemo)(()=>({["__scope".concat(r.scopeName)]:n}),[n])}};return a.scopeName=r.scopeName,a}(r,...t)]}var i=n(1266),c=n(9143);let s=(null==globalThis?void 0:globalThis.document)?o.useLayoutEffect:()=>{},f=a["useId".toString()]||(()=>void 0),d=0;function m(e){let[t,n]=o.useState(f());return s(()=>{e||n(e=>null!=e?e:String(d++))},[e]),e||(t?"radix-".concat(t):"")}var p=n(9542);let v=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"].reduce((e,t)=>{let n=(0,o.forwardRef)((e,n)=>{let{asChild:a,...u}=e,l=a?c.g7:t;return(0,o.useEffect)(()=>{window[Symbol.for("radix-ui")]=!0},[]),(0,o.createElement)(l,(0,r.Z)({},u,{ref:n}))});return n.displayName="Primitive.".concat(t),{...e,[t]:n}},{});function b(e){let t=(0,o.useRef)(e);return(0,o.useEffect)(()=>{t.current=e}),(0,o.useMemo)(()=>function(){for(var e,n=arguments.length,r=Array(n),o=0;o{}}=e,[a,u]=function(e){let{defaultProp:t,onChange:n}=e,r=(0,o.useState)(t),[a]=r,u=(0,o.useRef)(a),l=b(n);return(0,o.useEffect)(()=>{u.current!==a&&(l(a),u.current=a)},[a,u,l]),r}({defaultProp:n,onChange:r}),l=void 0!==t,i=l?t:a,c=b(r);return[i,(0,o.useCallback)(e=>{if(l){let n="function"==typeof e?e(t):e;n!==t&&c(n)}else u(e)},[l,t,u,c])]}let E=(0,o.createContext)(void 0);function h(e){let t=(0,o.useContext)(E);return e||t||"ltr"}let w="rovingFocusGroup.onEntryFocus",C={bubbles:!1,cancelable:!0},R="RovingFocusGroup",[I,T,N]=function(e){let t=e+"CollectionProvider",[n,r]=l(t),[a,u]=n(t,{collectionRef:{current:null},itemMap:new Map}),s=e+"CollectionSlot",f=o.forwardRef((e,t)=>{let{scope:n,children:r}=e,a=u(s,n),l=(0,i.e)(t,a.collectionRef);return o.createElement(c.g7,{ref:l},r)}),d=e+"CollectionItemSlot",m="data-radix-collection-item";return[{Provider:e=>{let{scope:t,children:n}=e,r=o.useRef(null),u=o.useRef(new Map).current;return o.createElement(a,{scope:t,itemMap:u,collectionRef:r},n)},Slot:f,ItemSlot:o.forwardRef((e,t)=>{let{scope:n,children:r,...a}=e,l=o.useRef(null),s=(0,i.e)(t,l),f=u(d,n);return o.useEffect(()=>(f.itemMap.set(l,{ref:l,...a}),()=>void f.itemMap.delete(l))),o.createElement(c.g7,{[m]:"",ref:s},r)})},function(t){let n=u(e+"CollectionConsumer",t);return o.useCallback(()=>{let e=n.collectionRef.current;if(!e)return[];let t=Array.from(e.querySelectorAll("[".concat(m,"]")));return Array.from(n.itemMap.values()).sort((e,n)=>t.indexOf(e.ref.current)-t.indexOf(n.ref.current))},[n.collectionRef,n.itemMap])},r]}(R),[y,M]=l(R,[N]),[A,_]=y(R),S=(0,o.forwardRef)((e,t)=>(0,o.createElement)(I.Provider,{scope:e.__scopeRovingFocusGroup},(0,o.createElement)(I.Slot,{scope:e.__scopeRovingFocusGroup},(0,o.createElement)(F,(0,r.Z)({},e,{ref:t}))))),F=(0,o.forwardRef)((e,t)=>{let{__scopeRovingFocusGroup:n,orientation:a,loop:l=!1,dir:c,currentTabStopId:s,defaultCurrentTabStopId:f,onCurrentTabStopIdChange:d,onEntryFocus:m,...p}=e,E=(0,o.useRef)(null),R=(0,i.e)(t,E),I=h(c),[N=null,y]=g({prop:s,defaultProp:f,onChange:d}),[M,_]=(0,o.useState)(!1),S=b(m),F=T(n),D=(0,o.useRef)(!1),[P,O]=(0,o.useState)(0);return(0,o.useEffect)(()=>{let e=E.current;if(e)return e.addEventListener(w,S),()=>e.removeEventListener(w,S)},[S]),(0,o.createElement)(A,{scope:n,orientation:a,dir:I,loop:l,currentTabStopId:N,onItemFocus:(0,o.useCallback)(e=>y(e),[y]),onItemShiftTab:(0,o.useCallback)(()=>_(!0),[]),onFocusableItemAdd:(0,o.useCallback)(()=>O(e=>e+1),[]),onFocusableItemRemove:(0,o.useCallback)(()=>O(e=>e-1),[])},(0,o.createElement)(v.div,(0,r.Z)({tabIndex:M||0===P?-1:0,"data-orientation":a},p,{ref:R,style:{outline:"none",...e.style},onMouseDown:u(e.onMouseDown,()=>{D.current=!0}),onFocus:u(e.onFocus,e=>{let t=!D.current;if(e.target===e.currentTarget&&t&&!M){let t=new CustomEvent(w,C);if(e.currentTarget.dispatchEvent(t),!t.defaultPrevented){let e=F().filter(e=>e.focusable);x([e.find(e=>e.active),e.find(e=>e.id===N),...e].filter(Boolean).map(e=>e.ref.current))}}D.current=!1}),onBlur:u(e.onBlur,()=>_(!1))})))}),D=(0,o.forwardRef)((e,t)=>{let{__scopeRovingFocusGroup:n,focusable:a=!0,active:l=!1,tabStopId:i,...c}=e,s=m(),f=i||s,d=_("RovingFocusGroupItem",n),p=d.currentTabStopId===f,b=T(n),{onFocusableItemAdd:g,onFocusableItemRemove:E}=d;return(0,o.useEffect)(()=>{if(a)return g(),()=>E()},[a,g,E]),(0,o.createElement)(I.ItemSlot,{scope:n,id:f,focusable:a,active:l},(0,o.createElement)(v.span,(0,r.Z)({tabIndex:p?0:-1,"data-orientation":d.orientation},c,{ref:t,onMouseDown:u(e.onMouseDown,e=>{a?d.onItemFocus(f):e.preventDefault()}),onFocus:u(e.onFocus,()=>d.onItemFocus(f)),onKeyDown:u(e.onKeyDown,e=>{if("Tab"===e.key&&e.shiftKey){d.onItemShiftTab();return}if(e.target!==e.currentTarget)return;let t=function(e,t,n){var r;let o=(r=e.key,"rtl"!==n?r:"ArrowLeft"===r?"ArrowRight":"ArrowRight"===r?"ArrowLeft":r);if(!("vertical"===t&&["ArrowLeft","ArrowRight"].includes(o))&&!("horizontal"===t&&["ArrowUp","ArrowDown"].includes(o)))return P[o]}(e,d.orientation,d.dir);if(void 0!==t){e.preventDefault();let o=b().filter(e=>e.focusable).map(e=>e.ref.current);if("last"===t)o.reverse();else if("prev"===t||"next"===t){var n,r;"prev"===t&&o.reverse();let a=o.indexOf(e.currentTarget);o=d.loop?(n=o,r=a+1,n.map((e,t)=>n[(r+t)%n.length])):o.slice(a+1)}setTimeout(()=>x(o))}})})))}),P={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function x(e){let t=document.activeElement;for(let n of e)if(n===t||(n.focus(),document.activeElement!==t))return}let O=e=>{let{present:t,children:n}=e,r=function(e){var t,n;let[r,a]=(0,o.useState)(),u=(0,o.useRef)({}),l=(0,o.useRef)(e),i=(0,o.useRef)("none"),[c,f]=(t=e?"mounted":"unmounted",n={mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}},(0,o.useReducer)((e,t)=>{let r=n[e][t];return null!=r?r:e},t));return(0,o.useEffect)(()=>{let e=k(u.current);i.current="mounted"===c?e:"none"},[c]),s(()=>{let t=u.current,n=l.current;if(n!==e){let r=i.current,o=k(t);e?f("MOUNT"):"none"===o||(null==t?void 0:t.display)==="none"?f("UNMOUNT"):n&&r!==o?f("ANIMATION_OUT"):f("UNMOUNT"),l.current=e}},[e,f]),s(()=>{if(r){let e=e=>{let t=k(u.current).includes(e.animationName);e.target===r&&t&&(0,p.flushSync)(()=>f("ANIMATION_END"))},t=e=>{e.target===r&&(i.current=k(u.current))};return r.addEventListener("animationstart",t),r.addEventListener("animationcancel",e),r.addEventListener("animationend",e),()=>{r.removeEventListener("animationstart",t),r.removeEventListener("animationcancel",e),r.removeEventListener("animationend",e)}}f("ANIMATION_END")},[r,f]),{isPresent:["mounted","unmountSuspended"].includes(c),ref:(0,o.useCallback)(e=>{e&&(u.current=getComputedStyle(e)),a(e)},[])}}(t),a="function"==typeof n?n({present:r.isPresent}):o.Children.only(n),u=(0,i.e)(r.ref,a.ref);return"function"==typeof n||r.isPresent?(0,o.cloneElement)(a,{ref:u}):null};function k(e){return(null==e?void 0:e.animationName)||"none"}O.displayName="Presence";let L="Tabs",[U,Z]=l(L,[M]),V=M(),[G,K]=U(L),z=(0,o.forwardRef)((e,t)=>{let{__scopeTabs:n,value:a,onValueChange:u,defaultValue:l,orientation:i="horizontal",dir:c,activationMode:s="automatic",...f}=e,d=h(c),[p,b]=g({prop:a,onChange:u,defaultProp:l});return(0,o.createElement)(G,{scope:n,baseId:m(),value:p,onValueChange:b,orientation:i,dir:d,activationMode:s},(0,o.createElement)(v.div,(0,r.Z)({dir:d,"data-orientation":i},f,{ref:t})))}),B=(0,o.forwardRef)((e,t)=>{let{__scopeTabs:n,loop:a=!0,...u}=e,l=K("TabsList",n),i=V(n);return(0,o.createElement)(S,(0,r.Z)({asChild:!0},i,{orientation:l.orientation,dir:l.dir,loop:a}),(0,o.createElement)(v.div,(0,r.Z)({role:"tablist","aria-orientation":l.orientation},u,{ref:t})))}),q=(0,o.forwardRef)((e,t)=>{let{__scopeTabs:n,value:a,disabled:l=!1,...i}=e,c=K("TabsTrigger",n),s=V(n),f=H(c.baseId,a),d=Y(c.baseId,a),m=a===c.value;return(0,o.createElement)(D,(0,r.Z)({asChild:!0},s,{focusable:!l,active:m}),(0,o.createElement)(v.button,(0,r.Z)({type:"button",role:"tab","aria-selected":m,"aria-controls":d,"data-state":m?"active":"inactive","data-disabled":l?"":void 0,disabled:l,id:f},i,{ref:t,onMouseDown:u(e.onMouseDown,e=>{l||0!==e.button||!1!==e.ctrlKey?e.preventDefault():c.onValueChange(a)}),onKeyDown:u(e.onKeyDown,e=>{[" ","Enter"].includes(e.key)&&c.onValueChange(a)}),onFocus:u(e.onFocus,()=>{let e="manual"!==c.activationMode;m||l||!e||c.onValueChange(a)})})))}),j=(0,o.forwardRef)((e,t)=>{let{__scopeTabs:n,value:a,forceMount:u,children:l,...i}=e,c=K("TabsContent",n),s=H(c.baseId,a),f=Y(c.baseId,a),d=a===c.value,m=(0,o.useRef)(d);return(0,o.useEffect)(()=>{let e=requestAnimationFrame(()=>m.current=!1);return()=>cancelAnimationFrame(e)},[]),(0,o.createElement)(O,{present:u||d},n=>{let{present:a}=n;return(0,o.createElement)(v.div,(0,r.Z)({"data-state":d?"active":"inactive","data-orientation":c.orientation,role:"tabpanel","aria-labelledby":s,hidden:!a,id:f,tabIndex:0},i,{ref:t,style:{...e.style,animationDuration:m.current?"0s":void 0}}),a&&l)})});function H(e,t){return"".concat(e,"-trigger-").concat(t)}function Y(e,t){return"".concat(e,"-content-").concat(t)}let J=z,Q=B,W=q,X=j}}]); \ No newline at end of file diff --git a/xtraplatform-ops/src/main/resources/dashboard/_next/static/chunks/658-93ad8c692bdd7f1f.js b/xtraplatform-ops/src/main/resources/dashboard/_next/static/chunks/658-93ad8c692bdd7f1f.js new file mode 100644 index 00000000..127790e1 --- /dev/null +++ b/xtraplatform-ops/src/main/resources/dashboard/_next/static/chunks/658-93ad8c692bdd7f1f.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[658],{9079:function(e,r,t){var o,n;e.exports=(null==(o=t.g.process)?void 0:o.env)&&"object"==typeof(null==(n=t.g.process)?void 0:n.env)?t.g.process:t(3127)},3127:function(e){!function(){var r={229:function(e){var r,t,o,n=e.exports={};function l(){throw Error("setTimeout has not been defined")}function i(){throw Error("clearTimeout has not been defined")}function s(e){if(r===setTimeout)return setTimeout(e,0);if((r===l||!r)&&setTimeout)return r=setTimeout,setTimeout(e,0);try{return r(e,0)}catch(t){try{return r.call(null,e,0)}catch(t){return r.call(this,e,0)}}}!function(){try{r="function"==typeof setTimeout?setTimeout:l}catch(e){r=l}try{t="function"==typeof clearTimeout?clearTimeout:i}catch(e){t=i}}();var a=[],c=!1,d=-1;function u(){c&&o&&(c=!1,o.length?a=o.concat(a):d=-1,a.length&&p())}function p(){if(!c){var e=s(u);c=!0;for(var r=a.length;r;){for(o=a,a=[];++d1)for(var t=1;t{t.nextPart.has(e)||t.nextPart.set(e,{nextPart:new Map,validators:[]}),t=t.nextPart.get(e)}),t}let l=/\s+/;function i(){let e,r,t=0,o="";for(;tr[e]||[];return r.isThemeGetter=!0,r}let a=/^\[(?:([a-z-]+):)?(.+)\]$/i,c=/^\d+\/\d+$/,d=new Set(["px","full","screen"]),u=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,p=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,f=/^-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,b=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/;function m(e){return h(e)||d.has(e)||c.test(e)}function g(e){return P(e,"length",N)}function h(e){return!!e&&!Number.isNaN(Number(e))}function v(e){return P(e,"number",h)}function y(e){return!!e&&Number.isInteger(Number(e))}function x(e){return e.endsWith("%")&&h(e.slice(0,-1))}function w(e){return a.test(e)}function k(e){return u.test(e)}let z=new Set(["length","size","percentage"]);function j(e){return P(e,z,M)}function T(e){return P(e,"position",M)}let C=new Set(["image","url"]);function E(e){return P(e,C,O)}function S(e){return P(e,"",I)}function G(){return!0}function P(e,r,t){let o=a.exec(e);return!!o&&(o[1]?"string"==typeof r?o[1]===r:r.has(o[1]):t(o[2]))}function N(e){return p.test(e)}function M(){return!1}function I(e){return f.test(e)}function O(e){return b.test(e)}let $=function(e){let r,t,s;for(var a=arguments.length,c=Array(a>1?a-1:0),d=1;dvoid 0,set:()=>{}};let r=0,t=new Map,o=new Map;function n(n,l){t.set(n,l),++r>e&&(r=0,o=t,t=new Map)}return{get(e){let r=t.get(e);return void 0!==r?r:void 0!==(r=o.get(e))?(n(e,r),r):void 0},set(e,r){t.has(e)?t.set(e,r):n(e,r)}}}((i=c.reduce((e,r)=>r(e),e())).cacheSize),splitModifiers:function(e){let r=e.separator,t=1===r.length,o=r[0],n=r.length;return function(e){let l;let i=[],s=0,a=0;for(let c=0;ca?l-a:void 0}}}(i),...function(e){let r=function(e){var r;let{theme:t,prefix:o}=e,l={nextPart:new Map,validators:[]};return(r=Object.entries(e.classGroups),o?r.map(e=>{let[r,t]=e;return[r,t.map(e=>"string"==typeof e?o+e:"object"==typeof e?Object.fromEntries(Object.entries(e).map(e=>{let[r,t]=e;return[o+r,t]})):e)]}):r).forEach(e=>{let[r,o]=e;(function e(r,t,o,l){r.forEach(r=>{if("string"==typeof r){(""===r?t:n(t,r)).classGroupId=o;return}if("function"==typeof r){if(r.isThemeGetter){e(r(l),t,o,l);return}t.validators.push({validator:r,classGroupId:o});return}Object.entries(r).forEach(r=>{let[i,s]=r;e(s,n(t,i),o,l)})})})(o,l,r,t)}),l}(e),{conflictingClassGroups:t,conflictingClassGroupModifiers:l}=e;return{getClassGroupId:function(e){let t=e.split("-");return""===t[0]&&1!==t.length&&t.shift(),function e(r,t){var o;if(0===r.length)return t.classGroupId;let n=r[0],l=t.nextPart.get(n),i=l?e(r.slice(1),l):void 0;if(i)return i;if(0===t.validators.length)return;let s=r.join("-");return null===(o=t.validators.find(e=>{let{validator:r}=e;return r(s)}))||void 0===o?void 0:o.classGroupId}(t,r)||function(e){if(o.test(e)){let r=o.exec(e)[1],t=null==r?void 0:r.substring(0,r.indexOf(":"));if(t)return"arbitrary.."+t}}(e)},getConflictingClassGroupIds:function(e,r){let o=t[e]||[];return r&&l[e]?[...o,...l[e]]:o}}}(i)}).cache.get,s=r.cache.set,u=p,p(l)};function p(e){let o=t(e);if(o)return o;let n=function(e,r){let{splitModifiers:t,getClassGroupId:o,getConflictingClassGroupIds:n}=r,i=new Set;return e.trim().split(l).map(e=>{let{modifiers:r,hasImportantModifier:n,baseClassName:l,maybePostfixModifierPosition:i}=t(e),s=o(i?l.substring(0,i):l),a=!!i;if(!s){if(!i||!(s=o(l)))return{isTailwindClass:!1,originalClassName:e};a=!1}let c=(function(e){if(e.length<=1)return e;let r=[],t=[];return e.forEach(e=>{"["===e[0]?(r.push(...t.sort(),e),t=[]):t.push(e)}),r.push(...t.sort()),r})(r).join(":");return{isTailwindClass:!0,modifierId:n?c+"!":c,classGroupId:s,originalClassName:e,hasPostfixModifier:a}}).reverse().filter(e=>{if(!e.isTailwindClass)return!0;let{modifierId:r,classGroupId:t,hasPostfixModifier:o}=e,l=r+t;return!i.has(l)&&(i.add(l),n(t,o).forEach(e=>i.add(r+e)),!0)}).reverse().map(e=>e.originalClassName).join(" ")}(e,r);return s(e,n),n}return function(){return u(i.apply(null,arguments))}}(function(){let e=s("colors"),r=s("spacing"),t=s("blur"),o=s("brightness"),n=s("borderColor"),l=s("borderRadius"),i=s("borderSpacing"),a=s("borderWidth"),c=s("contrast"),d=s("grayscale"),u=s("hueRotate"),p=s("invert"),f=s("gap"),b=s("gradientColorStops"),z=s("gradientColorStopPositions"),C=s("inset"),P=s("margin"),N=s("opacity"),M=s("padding"),I=s("saturate"),O=s("scale"),$=s("sepia"),A=s("skew"),L=s("space"),W=s("translate"),_=()=>["auto","contain","none"],R=()=>["auto","hidden","clip","visible","scroll"],q=()=>["auto",w,r],B=()=>[w,r],D=()=>["",m,g],F=()=>["auto",h,w],H=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],J=()=>["solid","dashed","dotted","double","none"],K=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity","plus-lighter"],Q=()=>["start","end","center","between","around","evenly","stretch"],U=()=>["","0",w],V=()=>["auto","avoid","all","avoid-page","page","left","right","column"],X=()=>[h,v],Y=()=>[h,w];return{cacheSize:500,separator:":",theme:{colors:[G],spacing:[m,g],blur:["none","",k,w],brightness:X(),borderColor:[e],borderRadius:["none","","full",k,w],borderSpacing:B(),borderWidth:D(),contrast:X(),grayscale:U(),hueRotate:Y(),invert:U(),gap:B(),gradientColorStops:[e],gradientColorStopPositions:[x,g],inset:q(),margin:q(),opacity:X(),padding:B(),saturate:X(),scale:X(),sepia:U(),skew:Y(),space:B(),translate:B()},classGroups:{aspect:[{aspect:["auto","square","video",w]}],container:["container"],columns:[{columns:[k]}],"break-after":[{"break-after":V()}],"break-before":[{"break-before":V()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[...H(),w]}],overflow:[{overflow:R()}],"overflow-x":[{"overflow-x":R()}],"overflow-y":[{"overflow-y":R()}],overscroll:[{overscroll:_()}],"overscroll-x":[{"overscroll-x":_()}],"overscroll-y":[{"overscroll-y":_()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[C]}],"inset-x":[{"inset-x":[C]}],"inset-y":[{"inset-y":[C]}],start:[{start:[C]}],end:[{end:[C]}],top:[{top:[C]}],right:[{right:[C]}],bottom:[{bottom:[C]}],left:[{left:[C]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",y,w]}],basis:[{basis:q()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",w]}],grow:[{grow:U()}],shrink:[{shrink:U()}],order:[{order:["first","last","none",y,w]}],"grid-cols":[{"grid-cols":[G]}],"col-start-end":[{col:["auto",{span:["full",y,w]},w]}],"col-start":[{"col-start":F()}],"col-end":[{"col-end":F()}],"grid-rows":[{"grid-rows":[G]}],"row-start-end":[{row:["auto",{span:[y,w]},w]}],"row-start":[{"row-start":F()}],"row-end":[{"row-end":F()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",w]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",w]}],gap:[{gap:[f]}],"gap-x":[{"gap-x":[f]}],"gap-y":[{"gap-y":[f]}],"justify-content":[{justify:["normal",...Q()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...Q(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...Q(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[M]}],px:[{px:[M]}],py:[{py:[M]}],ps:[{ps:[M]}],pe:[{pe:[M]}],pt:[{pt:[M]}],pr:[{pr:[M]}],pb:[{pb:[M]}],pl:[{pl:[M]}],m:[{m:[P]}],mx:[{mx:[P]}],my:[{my:[P]}],ms:[{ms:[P]}],me:[{me:[P]}],mt:[{mt:[P]}],mr:[{mr:[P]}],mb:[{mb:[P]}],ml:[{ml:[P]}],"space-x":[{"space-x":[L]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[L]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",w,r]}],"min-w":[{"min-w":[w,r,"min","max","fit"]}],"max-w":[{"max-w":[w,r,"none","full","min","max","fit","prose",{screen:[k]},k]}],h:[{h:[w,r,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[w,r,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[w,r,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[w,r,"auto","min","max","fit"]}],"font-size":[{text:["base",k,g]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",v]}],"font-family":[{font:[G]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractons"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",w]}],"line-clamp":[{"line-clamp":["none",h,v]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",m,w]}],"list-image":[{"list-image":["none",w]}],"list-style-type":[{list:["none","disc","decimal",w]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[N]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[N]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...J(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",m,g]}],"underline-offset":[{"underline-offset":["auto",m,w]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:B()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",w]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",w]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[N]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...H(),T]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",j]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},E]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[z]}],"gradient-via-pos":[{via:[z]}],"gradient-to-pos":[{to:[z]}],"gradient-from":[{from:[b]}],"gradient-via":[{via:[b]}],"gradient-to":[{to:[b]}],rounded:[{rounded:[l]}],"rounded-s":[{"rounded-s":[l]}],"rounded-e":[{"rounded-e":[l]}],"rounded-t":[{"rounded-t":[l]}],"rounded-r":[{"rounded-r":[l]}],"rounded-b":[{"rounded-b":[l]}],"rounded-l":[{"rounded-l":[l]}],"rounded-ss":[{"rounded-ss":[l]}],"rounded-se":[{"rounded-se":[l]}],"rounded-ee":[{"rounded-ee":[l]}],"rounded-es":[{"rounded-es":[l]}],"rounded-tl":[{"rounded-tl":[l]}],"rounded-tr":[{"rounded-tr":[l]}],"rounded-br":[{"rounded-br":[l]}],"rounded-bl":[{"rounded-bl":[l]}],"border-w":[{border:[a]}],"border-w-x":[{"border-x":[a]}],"border-w-y":[{"border-y":[a]}],"border-w-s":[{"border-s":[a]}],"border-w-e":[{"border-e":[a]}],"border-w-t":[{"border-t":[a]}],"border-w-r":[{"border-r":[a]}],"border-w-b":[{"border-b":[a]}],"border-w-l":[{"border-l":[a]}],"border-opacity":[{"border-opacity":[N]}],"border-style":[{border:[...J(),"hidden"]}],"divide-x":[{"divide-x":[a]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[a]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[N]}],"divide-style":[{divide:J()}],"border-color":[{border:[n]}],"border-color-x":[{"border-x":[n]}],"border-color-y":[{"border-y":[n]}],"border-color-t":[{"border-t":[n]}],"border-color-r":[{"border-r":[n]}],"border-color-b":[{"border-b":[n]}],"border-color-l":[{"border-l":[n]}],"divide-color":[{divide:[n]}],"outline-style":[{outline:["",...J()]}],"outline-offset":[{"outline-offset":[m,w]}],"outline-w":[{outline:[m,g]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:D()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[N]}],"ring-offset-w":[{"ring-offset":[m,g]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",k,S]}],"shadow-color":[{shadow:[G]}],opacity:[{opacity:[N]}],"mix-blend":[{"mix-blend":K()}],"bg-blend":[{"bg-blend":K()}],filter:[{filter:["","none"]}],blur:[{blur:[t]}],brightness:[{brightness:[o]}],contrast:[{contrast:[c]}],"drop-shadow":[{"drop-shadow":["","none",k,w]}],grayscale:[{grayscale:[d]}],"hue-rotate":[{"hue-rotate":[u]}],invert:[{invert:[p]}],saturate:[{saturate:[I]}],sepia:[{sepia:[$]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[t]}],"backdrop-brightness":[{"backdrop-brightness":[o]}],"backdrop-contrast":[{"backdrop-contrast":[c]}],"backdrop-grayscale":[{"backdrop-grayscale":[d]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[u]}],"backdrop-invert":[{"backdrop-invert":[p]}],"backdrop-opacity":[{"backdrop-opacity":[N]}],"backdrop-saturate":[{"backdrop-saturate":[I]}],"backdrop-sepia":[{"backdrop-sepia":[$]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[i]}],"border-spacing-x":[{"border-spacing-x":[i]}],"border-spacing-y":[{"border-spacing-y":[i]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",w]}],duration:[{duration:Y()}],ease:[{ease:["linear","in","out","in-out",w]}],delay:[{delay:Y()}],animate:[{animate:["none","spin","ping","pulse","bounce",w]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[O]}],"scale-x":[{"scale-x":[O]}],"scale-y":[{"scale-y":[O]}],rotate:[{rotate:[y,w]}],"translate-x":[{"translate-x":[W]}],"translate-y":[{"translate-y":[W]}],"skew-x":[{"skew-x":[A]}],"skew-y":[{"skew-y":[A]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",w]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",w]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":B()}],"scroll-mx":[{"scroll-mx":B()}],"scroll-my":[{"scroll-my":B()}],"scroll-ms":[{"scroll-ms":B()}],"scroll-me":[{"scroll-me":B()}],"scroll-mt":[{"scroll-mt":B()}],"scroll-mr":[{"scroll-mr":B()}],"scroll-mb":[{"scroll-mb":B()}],"scroll-ml":[{"scroll-ml":B()}],"scroll-p":[{"scroll-p":B()}],"scroll-px":[{"scroll-px":B()}],"scroll-py":[{"scroll-py":B()}],"scroll-ps":[{"scroll-ps":B()}],"scroll-pe":[{"scroll-pe":B()}],"scroll-pt":[{"scroll-pt":B()}],"scroll-pr":[{"scroll-pr":B()}],"scroll-pb":[{"scroll-pb":B()}],"scroll-pl":[{"scroll-pl":B()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",w]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[m,g,v]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}})}}]); \ No newline at end of file diff --git a/xtraplatform-ops/src/main/resources/dashboard/_next/static/chunks/758-254461fc01af928e.js b/xtraplatform-ops/src/main/resources/dashboard/_next/static/chunks/758-254461fc01af928e.js new file mode 100644 index 00000000..2112ca16 --- /dev/null +++ b/xtraplatform-ops/src/main/resources/dashboard/_next/static/chunks/758-254461fc01af928e.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[758],{9539:function(e){var t,n,r,i,s,a,o,u,c,l,d,f,h,m,p,v,$,g,y,M,b,D;e.exports=(t="millisecond",n="second",r="minute",i="hour",s="week",a="month",o="quarter",u="year",c="date",l="Invalid Date",d=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,f=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,h=function(e,t,n){var r=String(e);return!r||r.length>=t?e:""+Array(t+1-r.length).join(n)+e},(p={})[m="en"]={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(e){var t=["th","st","nd","rd"],n=e%100;return"["+e+(t[(n-20)%10]||t[n]||"th")+"]"}},v="$isDayjsObject",$=function(e){return e instanceof b||!(!e||!e[v])},g=function e(t,n,r){var i;if(!t)return m;if("string"==typeof t){var s=t.toLowerCase();p[s]&&(i=s),n&&(p[s]=n,i=s);var a=t.split("-");if(!i&&a.length>1)return e(a[0])}else{var o=t.name;p[o]=t,i=o}return!r&&i&&(m=i),i||!r&&m},y=function(e,t){if($(e))return e.clone();var n="object"==typeof t?t:{};return n.date=e,n.args=arguments,new b(n)},(M={s:h,z:function(e){var t=-e.utcOffset(),n=Math.abs(t);return(t<=0?"+":"-")+h(Math.floor(n/60),2,"0")+":"+h(n%60,2,"0")},m:function e(t,n){if(t.date(){let{children:n,...s}=e,o=r.Children.toArray(n),c=o.find(u);if(c){let e=c.props.children,n=o.map(t=>t!==c?t:r.Children.count(e)>1?r.Children.only(null):r.isValidElement(e)?e.props.children:null);return(0,i.jsx)(a,{...s,ref:t,children:r.isValidElement(e)?r.cloneElement(e,void 0,n):null})}return(0,i.jsx)(a,{...s,ref:t,children:n})});s.displayName="Slot";var a=r.forwardRef((e,t)=>{let{children:n,...i}=e;if(r.isValidElement(n)){var s,a;let e,o;let u=(e=null===(s=Object.getOwnPropertyDescriptor(n.props,"ref"))||void 0===s?void 0:s.get)&&"isReactWarning"in e&&e.isReactWarning?n.ref:(e=null===(a=Object.getOwnPropertyDescriptor(n,"ref"))||void 0===a?void 0:a.get)&&"isReactWarning"in e&&e.isReactWarning?n.props.ref:n.props.ref||n.ref;return r.cloneElement(n,{...function(e,t){let n={...t};for(let r in t){let i=e[r],s=t[r];/^on[A-Z]/.test(r)?i&&s?n[r]=function(){for(var e=arguments.length,t=Array(e),n=0;nt.forEach(t=>{"function"==typeof t?t(e):null!=t&&(t.current=e)})}(t,u):u})}return r.Children.count(n)>1?r.Children.only(null):null});a.displayName="SlotClone";var o=e=>{let{children:t}=e;return(0,i.jsx)(i.Fragment,{children:t})};function u(e){return r.isValidElement(e)&&e.type===o}var c=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"].reduce((e,t)=>{let n=r.forwardRef((e,n)=>{let{asChild:r,...a}=e,o=r?s:t;return window[Symbol.for("radix-ui")]=!0,(0,i.jsx)(o,{...a,ref:n})});return n.displayName="Primitive.".concat(t),{...e,[t]:n}},{}),l="Progress",[d,f]=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=[],s=()=>{let t=n.map(e=>r.createContext(e));return function(n){let i=(null==n?void 0:n[e])||t;return r.useMemo(()=>({["__scope".concat(e)]:{...n,[e]:i}}),[n,i])}};return s.scopeName=e,[function(t,s){let a=r.createContext(s),o=n.length;function u(t){let{scope:n,children:s,...u}=t,c=(null==n?void 0:n[e][o])||a,l=r.useMemo(()=>u,Object.values(u));return(0,i.jsx)(c.Provider,{value:l,children:s})}return n=[...n,s],u.displayName=t+"Provider",[u,function(n,i){let u=(null==i?void 0:i[e][o])||a,c=r.useContext(u);if(c)return c;if(void 0!==s)return s;throw Error("`".concat(n,"` must be used within `").concat(t,"`"))}]},function(){for(var e=arguments.length,t=Array(e),n=0;n{let e=t.map(e=>({useScope:e(),scopeName:e.scopeName}));return function(t){let n=e.reduce((e,n)=>{let{useScope:r,scopeName:i}=n,s=r(t)["__scope".concat(i)];return{...e,...s}},{});return r.useMemo(()=>({["__scope".concat(i.scopeName)]:n}),[n])}};return s.scopeName=i.scopeName,s}(s,...t)]}(l),[h,m]=d(l),p=r.forwardRef((e,t)=>{var n,r;let{__scopeProgress:s,value:a=null,max:o,getValueLabel:u=g,...l}=e;(o||0===o)&&!b(o)&&console.error((n="".concat(o),"Invalid prop `max` of value `".concat(n,"` supplied to `").concat("Progress","`. Only numbers greater than 0 are valid max values. Defaulting to `").concat(100,"`.")));let d=b(o)?o:100;null===a||D(a,d)||console.error((r="".concat(a),"Invalid prop `value` of value `".concat(r,"` supplied to `").concat("Progress","`. The `value` prop must be:\n - a positive number\n - less than the value passed to `max` (or ").concat(100," if no `max` prop is set)\n - `null` or `undefined` if the progress is indeterminate.\n\nDefaulting to `null`.")));let f=D(a,d)?a:null,m=M(f)?u(f,d):void 0;return(0,i.jsx)(h,{scope:s,value:f,max:d,children:(0,i.jsx)(c.div,{"aria-valuemax":d,"aria-valuemin":0,"aria-valuenow":M(f)?f:void 0,"aria-valuetext":m,role:"progressbar","data-state":y(f,d),"data-value":null!=f?f:void 0,"data-max":d,...l,ref:t})})});p.displayName=l;var v="ProgressIndicator",$=r.forwardRef((e,t)=>{var n;let{__scopeProgress:r,...s}=e,a=m(v,r);return(0,i.jsx)(c.div,{"data-state":y(a.value,a.max),"data-value":null!==(n=a.value)&&void 0!==n?n:void 0,"data-max":a.max,...s,ref:t})});function g(e,t){return"".concat(Math.round(e/t*100),"%")}function y(e,t){return null==e?"indeterminate":e===t?"complete":"loading"}function M(e){return"number"==typeof e}function b(e){return M(e)&&!isNaN(e)&&e>0}function D(e,t){return M(e)&&!isNaN(e)&&e<=t&&e>=0}$.displayName=v;var w=p,N=$},6311:function(e,t,n){n.d(t,{Z:function(){return o}});let r=e=>Number.isFinite(e)?e:0,i=e=>0===e||0n===e,s=(e,t)=>1===t||1n===t?e:"".concat(e,"s"),a=24n*60n*60n*1000n;function o(e,t){let n="bigint"==typeof e;if(!n&&!Number.isFinite(e))throw TypeError("Expected a finite number or bigint");(t={...t}).colonNotation&&(t.compact=!1,t.formatSubMilliseconds=!1,t.separateMilliseconds=!1,t.verbose=!1),t.compact&&(t.unitCount=1,t.secondsDecimalDigits=0,t.millisecondsDecimalDigits=0);let o=[],u=(e,n,r,a)=>{if(!((0===o.length||!t.colonNotation)&&i(e))||t.colonNotation&&"m"===r){if(a=null!=a?a:String(e),t.colonNotation){let e=a.includes(".")?a.split(".")[0].length:a.length,t=o.length>0?2:1;a="0".repeat(Math.max(0,t-e))+a}else a+=t.verbose?" "+s(n,e):r;o.push(a)}},c=function(e){switch(typeof e){case"number":if(Number.isFinite(e))return{days:Math.trunc(e/864e5),hours:Math.trunc(e/36e5%24),minutes:Math.trunc(e/6e4%60),seconds:Math.trunc(e/1e3%60),milliseconds:Math.trunc(e%1e3),microseconds:Math.trunc(r(1e3*e)%1e3),nanoseconds:Math.trunc(r(1e6*e)%1e3)};break;case"bigint":return{days:e/86400000n,hours:e/3600000n%24n,minutes:e/60000n%60n,seconds:e/1000n%60n,milliseconds:e%1000n,microseconds:0n,nanoseconds:0n}}throw TypeError("Expected a finite number or bigint")}(e),l=BigInt(c.days);if(u(l/365n,"year","y"),u(l%365n,"day","d"),u(Number(c.hours),"hour","h"),u(Number(c.minutes),"minute","m"),t.separateMilliseconds||t.formatSubMilliseconds||!t.colonNotation&&e<1e3){let e=Number(c.seconds),n=Number(c.milliseconds),r=Number(c.microseconds),i=Number(c.nanoseconds);if(u(e,"second","s"),t.formatSubMilliseconds)u(n,"millisecond","ms"),u(r,"microsecond","\xb5s"),u(i,"nanosecond","ns");else{let e=n+r/1e3+i/1e6,s="number"==typeof t.millisecondsDecimalDigits?t.millisecondsDecimalDigits:0,a=s?e.toFixed(s):e>=1?Math.round(e):Math.ceil(e);u(Number.parseFloat(a),"millisecond","ms",a)}}else{var d;let r=(Math.round(Math.floor((n?Number(e%a):e)/1e3%60*10**(d="number"==typeof t.secondsDecimalDigits?t.secondsDecimalDigits:1)+1e-7))/10**d).toFixed(d),i=t.keepDecimalsOnWholeSeconds?r:r.replace(/\.0+$/,"");u(Number.parseFloat(i),"second","s",i)}if(0===o.length)return"0"+(t.verbose?" milliseconds":"ms");let f=t.colonNotation?":":" ";return"number"==typeof t.unitCount&&(o=o.slice(0,Math.max(t.unitCount,1))),o.join(f)}}}]); \ No newline at end of file diff --git a/xtraplatform-ops/src/main/resources/dashboard/_next/static/chunks/913-eb258f9bf4d550a2.js b/xtraplatform-ops/src/main/resources/dashboard/_next/static/chunks/913-eb258f9bf4d550a2.js new file mode 100644 index 00000000..83e26db7 --- /dev/null +++ b/xtraplatform-ops/src/main/resources/dashboard/_next/static/chunks/913-eb258f9bf4d550a2.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[913],{594:function(e,t,r){r.d(t,{w:function(){return g}});var s=r(3827),l=r(4090),n=r(1006),a=r(3280),i=r(2169);let o=l.forwardRef((e,t)=>{let{className:r,...l}=e;return(0,s.jsx)("div",{className:"relative w-full overflow-auto",children:(0,s.jsx)("table",{ref:t,className:(0,i.cn)("w-full caption-bottom text-sm",r),...l})})});o.displayName="Table";let c=l.forwardRef((e,t)=>{let{className:r,...l}=e;return(0,s.jsx)("thead",{ref:t,className:(0,i.cn)("[&_tr]:border-b",r),...l})});c.displayName="TableHeader";let d=l.forwardRef((e,t)=>{let{className:r,...l}=e;return(0,s.jsx)("tbody",{ref:t,className:(0,i.cn)("[&_tr:last-child]:border-0",r),...l})});d.displayName="TableBody",l.forwardRef((e,t)=>{let{className:r,...l}=e;return(0,s.jsx)("tfoot",{ref:t,className:(0,i.cn)("border-t bg-muted/50 font-medium [&>tr]:last:border-b-0",r),...l})}).displayName="TableFooter";let x=l.forwardRef((e,t)=>{let{className:r,...l}=e;return(0,s.jsx)("tr",{ref:t,className:(0,i.cn)("border-b transition-colors hover:bg-muted/50 data-[state=selected]:bg-muted",r),...l})});x.displayName="TableRow";let u=l.forwardRef((e,t)=>{let{className:r,...l}=e;return(0,s.jsx)("th",{ref:t,className:(0,i.cn)("h-10 px-2 text-left align-middle font-medium text-muted-foreground [&:has([role=checkbox])]:pr-0 [&>[role=checkbox]]:translate-y-[2px]",r),...l})});u.displayName="TableHead";let m=l.forwardRef((e,t)=>{let{className:r,...l}=e;return(0,s.jsx)("td",{ref:t,className:(0,i.cn)("p-2 align-middle [&:has([role=checkbox])]:pr-0 [&>[role=checkbox]]:translate-y-[2px]",r),...l})});function g(e){var t;let{columns:r,data:i}=e,[g,h]=l.useState({}),[f,p]=l.useState([]),[b,j]=l.useState([]),[v,y]=l.useState({}),w=(0,n.b7)({data:i,columns:r,getCoreRowModel:(0,a.sC)(),onSortingChange:j,getSortedRowModel:(0,a.tj)(),onColumnFiltersChange:p,getFilteredRowModel:(0,a.vL)(),onColumnVisibilityChange:h,getExpandedRowModel:(0,a.rV)(),getSubRows:e=>e.subRows,onExpandedChange:y,state:{sorting:b,columnFilters:f,columnVisibility:g,expanded:v}});return(0,s.jsx)("div",{children:(0,s.jsx)("div",{className:"rounded-md border",children:(0,s.jsxs)(o,{children:[(0,s.jsx)(c,{children:w.getHeaderGroups().map(e=>(0,s.jsx)(x,{children:e.headers.map(e=>(0,s.jsx)(u,{children:e.isPlaceholder?null:(0,n.ie)(e.column.columnDef.header,e.getContext())},e.id))},e.id))}),(0,s.jsx)(d,{children:(null===(t=w.getRowModel().rows)||void 0===t?void 0:t.length)?w.getRowModel().rows.map(e=>(0,s.jsx)(x,{"data-state":e.getIsSelected()&&"selected",className:"".concat(0===e.depth?"":"bg-muted"),children:e.getVisibleCells().map(e=>(0,s.jsx)(m,{children:(0,n.ie)(e.column.columnDef.cell,e.getContext())},e.id))},e.id)):(0,s.jsx)(x,{children:(0,s.jsx)(m,{colSpan:r.length,className:"h-24 text-center",children:"No results."})})})]})})})}m.displayName="TableCell",l.forwardRef((e,t)=>{let{className:r,...l}=e;return(0,s.jsx)("caption",{ref:t,className:(0,i.cn)("mt-4 text-sm text-muted-foreground",r),...l})}).displayName="TableCaption"},5815:function(e,t,r){r.d(t,{z:function(){return o}});var s=r(3827),l=r(7521),n=r(8886),a=r(5479),i=r(2177);let o=[{accessorKey:"label",header:e=>{let{column:t}=e;return(0,s.jsxs)(n.z,{variant:"ghost",onClick:()=>t.toggleSorting("asc"===t.getIsSorted()),children:["Name",(0,s.jsx)(l.Z,{className:"ml-2 h-4 w-4"})]})},cell:e=>{let{row:t,getValue:r}=e;return(0,s.jsxs)("div",{className:"".concat(0===t.depth?"ml-4 flex items-center":"ml-8"),children:[r()," ",t.getCanExpand()?(0,s.jsx)("button",{onClick:t.getToggleExpandedHandler(),className:"ml-2",style:{cursor:"pointer"},children:t.getIsExpanded()?(0,s.jsx)(i.v4q,{}):(0,s.jsx)(i.XCv,{})}):""]})}},{accessorKey:"status",header:e=>{let{column:t}=e;return(0,s.jsxs)(n.z,{variant:"ghost",onClick:()=>t.toggleSorting("asc"===t.getIsSorted()),children:["Status",(0,s.jsx)(l.Z,{className:"ml-2 h-4 w-4"})]})},cell:e=>{let{row:t}=e;if(t.original){let e="HEALTHY"===t.original.status||"AVAILABLE"===t.original.status?"success":"LIMITED"===t.original.status?"warning":"destructive";return(0,s.jsx)(a.C,{className:"ml-4",variant:e,children:t.original.status})}return null}},{accessorKey:"message",header:e=>{let{column:t}=e;return(0,s.jsx)("div",{className:"flex items-center justify-start",children:(0,s.jsx)(n.z,{variant:"ghost",children:"Message"})})},cell:e=>{let{row:t,getValue:r}=e;return(0,s.jsx)("div",{className:"ml-4 flex items-center justify-start",children:r()})}},{accessorKey:"checked",header:e=>{let{column:t}=e;return(0,s.jsx)("div",{className:"flex items-center justify-start",children:(0,s.jsx)(n.z,{variant:"ghost",children:"Last checked"})})},cell:e=>{let{row:t,getValue:r}=e;return(0,s.jsx)("div",{className:"ml-4 flex items-center justify-start",children:r()})}}]},4922:function(e,t,r){r.d(t,{Z:function(){return d}});var s=r(3827),l=r(9084),n=r(4090),a=r(6311),i=r(1632),o=r(2169);let c=n.forwardRef((e,t)=>{let{className:r,value:l,indicatorColor:n,...a}=e;return(0,s.jsx)(i.fC,{ref:t,className:(0,o.cn)("relative h-4 w-full overflow-hidden rounded-full bg-secondary",r),...a,children:(0,s.jsx)(i.z$,{className:"h-full w-full flex-1 transition-all ".concat(n),style:{transform:"translateX(-".concat(100-(l||0),"%)")}})})});function d(e){let{entity:t,tilesets:r,label:i,percent:o,startedAt:d,updatedAt:x,id:u,info:m}=e,g=d<=0?"waiting":x<=0?"starting":(0,a.Z)((x-d)*1e3),[h,f]=(0,n.useState)([]),p=e=>{f(t=>t.includes(e)?t.filter(t=>t!==e):[...t,e])};return(0,s.jsxs)(l.Zb,{className:"shadow-lg",style:{height:"250px",overflow:"auto",boxSizing:"border-box"},children:[(0,s.jsx)(l.Ol,{children:(0,s.jsx)(l.ll,{className:"text-2xl font-bold break-normal mb-5",children:(0,s.jsxs)("div",{style:{display:"flex",flexDirection:"row"},children:[(0,s.jsx)("div",{className:"flex-none ".concat(100===o?"text-green-500":"text-blue-500"),style:{width:"360px",marginRight:"90px",paddingRight:"60px",textAlign:"center"},children:i}),(0,s.jsx)("div",{children:t})]})})}),(0,s.jsxs)(l.aY,{className:"flex items-start",children:[(0,s.jsx)("div",{className:"text-xl font-bold break-normal",style:{width:"360px",marginRight:"90px"},children:(0,s.jsx)("div",{children:(0,s.jsxs)("div",{className:"flex flex-col justify-center items-center w-5/6 ".concat(100===o?"":"animate-pulse"," mt-1"),children:[(0,s.jsx)("div",{className:"text-center",style:{marginTop:"0px",marginBottom:"10px"},children:(0,s.jsx)("span",{children:g})}),(0,s.jsx)(c,{value:o,indicatorColor:"".concat(100===o?"bg-green-400":"bg-blue-400")}),(0,s.jsxs)("span",{className:"w-1/6 text-right mt-3",children:[o,"%"]})]})})}),(0,s.jsx)("div",{className:"flex flex-col w-[360px] mt-[-10px]",children:Object.keys(r).length>0&&(0,s.jsx)("div",{style:{marginRight:"225px",marginTop:"-18px",height:"50px",width:"100%"},children:Object.entries(r).map(e=>{let[t,r]=e;return(0,s.jsxs)("div",{children:[(0,s.jsxs)("div",{style:{display:"flex",flexDirection:"row",color:"dimgray",fontSize:"14px",fontWeight:"bold",marginBottom:"10px"},children:[(0,s.jsx)("button",{onClick:()=>p("".concat(u," + ").concat(t)),style:{background:"none",border:"none",cursor:"pointer",marginRight:"5px",width:"20px",display:"flex",justifyContent:"center"},children:h.includes("".concat(u," + ").concat(t))?"â–¼":"â–¶"}),(0,s.jsx)("div",{style:{width:"300px",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",color:"dimgray",fontSize:"14px",fontWeight:"bold",marginRight:"20px"},title:t,children:t}),r.progress&&void 0!==r.progress.percent&&(0,s.jsx)("div",{className:"flex flex-col justify-center items-center w-1/6 ".concat(100===r.progress.percent?"":"animate-pulse"," mt-1"),children:(0,s.jsx)(c,{value:r.progress.percent,indicatorColor:"".concat(100===r.progress.percent?"bg-green-400":"bg-blue-400")})})]},t),h.includes("".concat(u," + ").concat(t))&&r.progress&&r.progress.levels&&Object.keys(r.progress.levels).map(e=>(0,s.jsxs)("div",{style:{display:"flex",flexDirection:"row",marginLeft:"35px",marginBottom:"5px",color:"#808080",fontSize:"12px",fontWeight:"bold",marginRight:"20px"},children:[(0,s.jsxs)("div",{children:[e,":\xa0\xa0"]}),r.progress&&r.progress.levels&&r.progress.levels[e].map((e,t)=>e>-1?(0,s.jsxs)("span",{className:"".concat(e>0?"animate-pulse":"text-green-400"),style:{marginRight:"5px"},children:[t,"\xa0"]},t):null)]},e))]},t)})})})]})]})}c.displayName=i.fC.displayName},8886:function(e,t,r){r.d(t,{z:function(){return c}});var s=r(3827),l=r(4090),n=r(9143),a=r(7742),i=r(2169);let o=(0,a.j)("inline-flex items-center justify-center whitespace-nowrap rounded-md text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50",{variants:{variant:{default:"bg-primary text-primary-foreground hover:bg-primary/90",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90",outline:"border border-input bg-background hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-10 px-4 py-2",sm:"h-9 rounded-md px-3",lg:"h-11 rounded-md px-8",icon:"h-10 w-10"}},defaultVariants:{variant:"default",size:"default"}}),c=l.forwardRef((e,t)=>{let{className:r,variant:l,size:a,asChild:c=!1,...d}=e,x=c?n.g7:"button";return(0,s.jsx)(x,{className:(0,i.cn)(o({variant:l,size:a,className:r})),ref:t,...d})});c.displayName="Button"}}]); \ No newline at end of file diff --git a/xtraplatform-ops/src/main/resources/dashboard/_next/static/chunks/app/deployment/page-963638aa864605b8.js b/xtraplatform-ops/src/main/resources/dashboard/_next/static/chunks/app/deployment/page-963638aa864605b8.js deleted file mode 100644 index f74d304d..00000000 --- a/xtraplatform-ops/src/main/resources/dashboard/_next/static/chunks/app/deployment/page-963638aa864605b8.js +++ /dev/null @@ -1 +0,0 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[374],{548:function(e,t,s){Promise.resolve().then(s.bind(s,1462))},1462:function(e,t,s){"use strict";s.r(t),s.d(t,{default:function(){return B}});var n=s(3827),i=s(5815),l=s(4747);let r=e=>Number.isFinite(e)?e:0,a=e=>0===e||0n===e,o=(e,t)=>1===t||1n===t?e:"".concat(e,"s"),c=24n*60n*60n*1000n;var d=s(9084),u=s(4090);let m="bits",x="bytes",h="jedec",f={symbol:{iec:{bits:["bit","Kibit","Mibit","Gibit","Tibit","Pibit","Eibit","Zibit","Yibit"],bytes:["B","KiB","MiB","GiB","TiB","PiB","EiB","ZiB","YiB"]},jedec:{bits:["bit","Kbit","Mbit","Gbit","Tbit","Pbit","Ebit","Zbit","Ybit"],bytes:["B","KB","MB","GB","TB","PB","EB","ZB","YB"]}},fullform:{iec:["","kibi","mebi","gibi","tebi","pebi","exbi","zebi","yobi"],jedec:["","kilo","mega","giga","tera","peta","exa","zetta","yotta"]}};function p(e){let{name:t,version:s,uptime:i,memory:l,health:u,Icon:p,IconFooter1:g,IconFooter2:b,IconFooter3:y}=e,N=function(e){let{bits:t=!1,pad:s=!1,base:n=-1,round:i=2,locale:l="",localeOptions:r={},separator:a="",spacer:o=" ",symbols:c={},standard:d="",output:u="string",fullform:p=!1,fullforms:g=[],exponent:b=-1,roundingMethod:y="round",precision:N=0}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},j=b,v=Number(e),w=[],E=0,I="";"si"===d?(n=10,d=h):"iec"===d||d===h?n=2:2===n?d="iec":(n=10,d=h);let M=10===n?1e3:1024,C=v<0,B=Math[y];if("bigint"!=typeof e&&isNaN(e))throw TypeError("Invalid number");if("function"!=typeof B)throw TypeError("Invalid rounding method");if(C&&(v=-v),(-1===j||isNaN(j))&&(j=Math.floor(Math.log(v)/Math.log(M)))<0&&(j=0),j>8&&(N>0&&(N+=8-j),j=8),"exponent"===u)return j;if(0===v)w[0]=0,I=w[1]=f.symbol[d][t?m:x][j];else{E=v/(2===n?Math.pow(2,10*j):Math.pow(1e3,j)),t&&(E*=8)>=M&&j<8&&(E/=M,j++);let e=Math.pow(10,j>0?i:0);w[0]=B(E*e)/e,w[0]===M&&j<8&&-1===b&&(w[0]=1,j++),I=w[1]=10===n&&1===j?t?"kbit":"kB":f.symbol[d][t?m:x][j]}if(C&&(w[0]=-w[0]),N>0&&(w[0]=w[0].toPrecision(N)),w[1]=c[w[1]]||w[1],!0===l?w[0]=w[0].toLocaleString():l.length>0?w[0]=w[0].toLocaleString(l,r):a.length>0&&(w[0]=w[0].toString().replace(".",a)),s&&!1===Number.isInteger(w[0])&&i>0){let e=a||".",t=w[0].toString().split(e),s=t[1]||"",n=s.length;w[0]="".concat(t[0]).concat(e).concat(s.padEnd(n+(i-n),"0"))}return!0===p&&(w[1]=g[j]?g[j]:f.fullform[d][j]+(t?"bit":"byte")+(1===w[0]?"":"s")),"array"===u?w:"object"===u?{value:w[0],symbol:w[1],exponent:j,unit:I}:w.join(o)}(l,{base:10}),j=function(e,t){let s="bigint"==typeof e;if(!s&&!Number.isFinite(e))throw TypeError("Expected a finite number or bigint");(t={...t}).colonNotation&&(t.compact=!1,t.formatSubMilliseconds=!1,t.separateMilliseconds=!1,t.verbose=!1),t.compact&&(t.unitCount=1,t.secondsDecimalDigits=0,t.millisecondsDecimalDigits=0);let n=[],i=(e,s,i,l)=>{if(!((0===n.length||!t.colonNotation)&&a(e))||t.colonNotation&&"m"===i){if(l=null!=l?l:String(e),t.colonNotation){let e=l.includes(".")?l.split(".")[0].length:l.length,t=n.length>0?2:1;l="0".repeat(Math.max(0,t-e))+l}else l+=t.verbose?" "+o(s,e):i;n.push(l)}},l=function(e){switch(typeof e){case"number":if(Number.isFinite(e))return{days:Math.trunc(e/864e5),hours:Math.trunc(e/36e5%24),minutes:Math.trunc(e/6e4%60),seconds:Math.trunc(e/1e3%60),milliseconds:Math.trunc(e%1e3),microseconds:Math.trunc(r(1e3*e)%1e3),nanoseconds:Math.trunc(r(1e6*e)%1e3)};break;case"bigint":return{days:e/86400000n,hours:e/3600000n%24n,minutes:e/60000n%60n,seconds:e/1000n%60n,milliseconds:e%1000n,microseconds:0n,nanoseconds:0n}}throw TypeError("Expected a finite number or bigint")}(e),d=BigInt(l.days);if(i(d/365n,"year","y"),i(d%365n,"day","d"),i(Number(l.hours),"hour","h"),i(Number(l.minutes),"minute","m"),t.separateMilliseconds||t.formatSubMilliseconds||!t.colonNotation&&e<1e3){let e=Number(l.seconds),s=Number(l.milliseconds),n=Number(l.microseconds),r=Number(l.nanoseconds);if(i(e,"second","s"),t.formatSubMilliseconds)i(s,"millisecond","ms"),i(n,"microsecond","\xb5s"),i(r,"nanosecond","ns");else{let e=s+n/1e3+r/1e6,l="number"==typeof t.millisecondsDecimalDigits?t.millisecondsDecimalDigits:0,a=l?e.toFixed(l):e>=1?Math.round(e):Math.ceil(e);i(Number.parseFloat(a),"millisecond","ms",a)}}else{var u;let n=(Math.round(Math.floor((s?Number(e%c):e)/1e3%60*10**(u="number"==typeof t.secondsDecimalDigits?t.secondsDecimalDigits:1)+1e-7))/10**u).toFixed(u),l=t.keepDecimalsOnWholeSeconds?n:n.replace(/\.0+$/,"");i(Number.parseFloat(l),"second","s",l)}if(0===n.length)return"0"+(t.verbose?" milliseconds":"ms");let m=t.colonNotation?":":" ";return"number"==typeof t.unitCount&&(n=n.slice(0,Math.max(t.unitCount,1))),n.join(m)}(i,{secondsDecimalDigits:0});return(0,n.jsxs)(d.Zb,{className:"shadow-lg",children:[(0,n.jsxs)(d.Ol,{className:"flex flex-row items-center justify-between space-y-0 pb-2",children:[(0,n.jsx)(d.ll,{className:"text-sm font-semibold ".concat("ACTIVE"===u||"true"===u||"HEALTHY"===u?"text-success":"text-destructive"),children:u}),p?(0,n.jsx)(p,{className:"h-4 w-4 text-muted-foreground"}):null]}),(0,n.jsxs)(d.aY,{className:"flex justify-between items-center",children:[(0,n.jsx)("div",{className:"text-2xl font-bold break-normal",style:{marginBottom:"3px"},children:t}),(0,n.jsxs)("div",{style:{marginRight:"225px",marginTop:"-30px"},children:[(0,n.jsxs)("div",{style:{display:"flex",flexDirection:"row",alignItems:"center"},children:[y?(0,n.jsx)(y,{className:"h-4 w-4 text-muted-foreground",style:{marginRight:"5px",marginTop:"2px"}}):null,(0,n.jsx)("span",{style:{color:"dimgray",width:"65px",fontSize:"14px",fontWeight:"bold"},children:"Version:"}),(0,n.jsx)("span",{style:{color:"dimgray",fontSize:"14px",fontWeight:"bold"},children:s})]}),(0,n.jsxs)("div",{style:{display:"flex",flexDirection:"row",alignItems:"center"},children:[g?(0,n.jsx)(g,{className:"h-4 w-4 text-muted-foreground",style:{marginRight:"5px",marginTop:"2px"}}):null,(0,n.jsx)("span",{style:{color:"dimgray",width:"65px",fontSize:"14px",fontWeight:"bold"},children:"Uptime:"}),(0,n.jsx)("span",{style:{color:"dimgray",fontSize:"14px",fontWeight:"bold"},children:j})]}),(0,n.jsxs)("div",{style:{display:"flex",flexDirection:"row",alignItems:"center"},children:[b?(0,n.jsx)(b,{className:"h-4 w-4 text-muted-foreground",style:{marginRight:"5px",marginTop:"2px"}}):null,(0,n.jsx)("span",{style:{color:"dimgray",width:"65px",fontSize:"14px",fontWeight:"bold"},children:"Memory:"}),(0,n.jsx)("span",{style:{color:"dimgray",fontSize:"14px",fontWeight:"bold"},children:N})]})]})]})]})}var g=s(9539),b=s.n(g),y=s(5744),N=s(2169),j=s(3702),v=s(594),w=s(6054),E=s.n(w);s(1209),s(7613);var I=s(7907),M=s(7780),C=s(8403);function B(){let[e,t]=(0,u.useState)([]),[s,r]=(0,u.useState)("overview"),[a,o]=(0,u.useState)([]),[c,d]=(0,u.useState)({uptime:0,memory:0}),[m,x]=(0,u.useState)({name:"",version:"",url:"",env:"",status:""}),[h,f]=(0,u.useState)([]),[g,w]=(0,u.useState)([]),[B,S]=(0,u.useState)(!0),[k,D]=(0,u.useState)({}),[L,T]=(0,u.useState)(!1),A=(0,I.useRouter)(),R=(0,I.usePathname)();(0,u.useEffect)(()=>{w(e.filter(e=>e.name.startsWith("app/")&&"app/store/values2"!==e.name).map(e=>({label:e.name.substring(4),status:e.state,checked:b()(e.timestamp).format("HH:mm:ss")})))},[e]);let P=async()=>{try{let e=await (0,N.C5)();x(e)}catch(e){console.error("Error loading info:",e)}},U=async()=>{try{let e=await (0,N.hs)();"Method not allowed"===e.message?T(!0):D(e)}catch(e){T(!0),console.error("Error loading cfg:",e)}},O=async()=>{try{let e=await (0,N.Kt)();d(e)}catch(e){console.error("Error loading metrics:",e)}},V=async()=>{try{let e=await (0,N.fi)(),t=await (0,N.fL)();e.forEach(e=>{let s=t.find(t=>t.name==="entities/".concat(e.type,"/").concat(e.id));e.status=s&&s.state?s.state:"UNKNOWN"}),o(e)}catch(e){console.error("Error loading entities:",e)}},F=async()=>{try{let e=await (0,N.fL)();t(e)}catch(e){console.error("Error loading health checks:",e)}},H=async()=>{try{let e=await (0,N.KX)();f(e)}catch(e){console.error("Error loading health values:",e)}};(0,u.useEffect)(()=>{R&&r(window.location.hash.slice(1)||"overview"),F(),V(),P(),O(),H(),U()},[]);let Y=e.length>0?e.some(e=>"AVAILABLE"!==e.state)?"UNHEALTHY":"HEALTHY":"",Z=g.length,z=h.length;console.log("Values:",z),console.log("totalSources:",Z);let W=a.length,_=(0,C.lY)(a),K=(0,C.Ph)(_);return(0,n.jsxs)("div",{className:"flex-1 space-y-4 p-8 pt-0",children:[(0,n.jsx)("div",{className:"flex items-center justify-between space-y-2",children:(0,n.jsx)("h2",{className:"text-2xl font-semibold tracking-tight",children:"Deployment"})}),(0,n.jsxs)(y.mQ,{value:s,onValueChange:e=>{r(e),A.push("".concat(R,"#").concat(e))},className:"h-full space-y-6",children:[(0,n.jsx)("div",{className:"space-between flex items-center",children:(0,n.jsxs)(y.dr,{children:[(0,n.jsx)(y.SP,{value:"overview",children:(0,n.jsx)("span",{children:"Overview"})}),(0,n.jsx)(y.SP,{value:"store",children:(0,n.jsx)("span",{children:"Base Health"})})]})}),(0,n.jsxs)(y.nU,{value:"overview",children:[(0,n.jsx)("div",{className:"grid gap-4 md:grid-cols-1 lg:grid-cols-1",style:{marginBottom:"10px"},children:(0,n.jsx)(p,{name:m.url.replace("https://","").replace("http://",""),version:m.version,uptime:c.uptime,memory:c.memory,health:Y,IconFooter1:(0,j.q)("Clock"),IconFooter2:(0,j.q)("Upload"),IconFooter3:(0,j.q)("Desktop")},"Entities")}),(0,n.jsxs)("div",{className:"grid gap-4 md:grid-cols-2 lg:grid-cols-4",children:[(0,n.jsx)(l.Z,{main:"Entities",route:"/entities",footer:K,total:W,Icon:(0,j.q)("Id")},"Entities"),(0,n.jsx)(l.Z,{main:"Values",route:"/values",footer:"\xa0",total:z,Icon:(0,j.q)("Code")},"Values")]})]}),(0,n.jsx)(y.nU,{value:"store",children:(0,n.jsxs)("div",{children:[(0,n.jsx)("p",{className:"text-sm text-muted-foreground mb-4",children:"Health checks for global components that are used by all entities."}),(0,n.jsx)(v.w,{columns:i.z,data:g})]})}),(0,n.jsx)(y.nU,{value:"cfg",children:(0,n.jsx)("div",{style:{backgroundColor:"#f5f5f5",borderRadius:"8px",padding:"16px",border:"1px solid lightgray"},children:L?"No results.":0===Object.keys(k).length?(0,n.jsxs)("div",{className:"flex items-center",children:[(0,n.jsx)(M.Z,{color:"#123abc",loading:!0,size:20}),(0,n.jsx)("span",{style:{marginLeft:"5px"},children:"Loading..."})]}):Object.entries(k).map(e=>{let[t,s]=e,i=JSON.stringify(s,null,2),l=E().highlight(i,E().languages.json,"json");return(0,n.jsxs)("div",{style:{display:"flex"},children:[(0,n.jsxs)("span",{children:[t,":"]}),(0,n.jsx)("pre",{dangerouslySetInnerHTML:{__html:l},style:{margin:"0 0 0 10px"}})]},t)})})})]})]})}},4747:function(e,t,s){"use strict";s.d(t,{Z:function(){return c}});var n=s(3827),i=s(8792),l=s(9084),r=s(2177),a=s(5479);let o=e=>{let{footer:t}=e,s=t.includes("/")?t.split("/")[1]:t.includes("OGC_API")?t:null;return console.log("footer: ",t),console.log("type1: ",s),(0,n.jsx)(n.Fragment,{children:t?t.split(" ").map((e,t,i)=>"available"!==e||isNaN(Number(i[t-1]))?"limited"!==e||isNaN(Number(i[t-1]))?"unavailable"!==e||isNaN(Number(i[t-1]))?null!==s?(0,n.jsx)(a.C,{variant:"secondary",children:s},s):isNaN(Number(e))||"available"!==i[t+1]&&"unavailable"!==i[t+1]&&"limited"!==i[t+1]?e+" ":null:[(0,n.jsxs)("span",{className:"text-destructive mr-2",style:{display:"flex",alignItems:"center"},children:[(0,n.jsx)(r.xrR,{className:"text-destructive",style:{marginRight:"3px"}},"CheckCircledIcon"),i[t-1]," ",e]},t)]:[(0,n.jsxs)("span",{className:"text-warning mr-2",style:{display:"flex",alignItems:"center"},children:[(0,n.jsx)(r.LPM,{className:"text-warning",style:{marginRight:"3px"}},"CheckCircledIcon"),i[t-1]," ",e]},t)]:[(0,n.jsxs)("span",{className:"text-success mr-2",style:{display:"flex",alignItems:"center",marginRight:"15px"},children:[(0,n.jsx)(r.NhS,{className:"text-success",style:{marginRight:"3px"}},"CheckCircledIcon"),i[t-1]," ",e]},t)]):null})};function c(e){let{header:t,main:s,footer:r,route:a,total:c,Icon:d,...u}=e,m="AVAILABLE"===t||"ACTIVE"===t||"true"===t?"text-success":"LIMITED"===t?"text-warning":"UNAVAILABLE"===t||"false"===t?"text-destructive":"text-blue-700";return(0,n.jsx)(i.default,{href:a||"#",children:(0,n.jsxs)(l.Zb,{className:"shadow-lg hover:bg-gray-100 transition-colors duration-200",...u,children:[(0,n.jsx)(l.Ol,{className:"flex flex-row items-center justify-between space-y-0 pb-0",children:(0,n.jsx)(l.ll,{className:"text-sm font-semibold ".concat(m).concat(t?"":"text-2xl font-bold mb-1"),children:t||(0,n.jsx)("span",{className:"text-2xl font-bold mb-1",children:c})})}),(0,n.jsxs)(l.aY,{children:[(0,n.jsxs)("div",{className:"text-2xl font-bold",style:{display:"flex",flexDirection:"row",marginBottom:"5px",alignItems:"center",justifyContent:"flex-start",gap:"10px"},children:[d?(0,n.jsx)(d,{className:"h-6 w-6 text-muted-foreground"}):null,(0,n.jsx)("span",{style:{textOverflow:"ellipsis",overflow:"hidden",whiteSpace:"nowrap"},title:"string"==typeof s?s:"",children:s})]}),(0,n.jsx)("div",{style:{display:"flex",flexWrap:"wrap"},children:(0,n.jsx)("p",{className:"text-xs text-muted-foreground",style:{display:"flex",flexDirection:"row"},children:r?(0,n.jsx)(o,{footer:r}):null})})]})]})})}},9084:function(e,t,s){"use strict";s.d(t,{Ol:function(){return a},Zb:function(){return r},aY:function(){return c},ll:function(){return o}});var n=s(3827),i=s(4090),l=s(2169);let r=i.forwardRef((e,t)=>{let{className:s,...i}=e;return(0,n.jsx)("div",{ref:t,className:(0,l.cn)("rounded-lg border bg-card text-card-foreground shadow-sm",s),...i})});r.displayName="Card";let a=i.forwardRef((e,t)=>{let{className:s,...i}=e;return(0,n.jsx)("div",{ref:t,className:(0,l.cn)("flex flex-col space-y-1.5 p-6",s),...i})});a.displayName="CardHeader";let o=i.forwardRef((e,t)=>{let{className:s,...i}=e;return(0,n.jsx)("h3",{ref:t,className:(0,l.cn)("text-2xl font-semibold leading-none tracking-tight",s),...i})});o.displayName="CardTitle",i.forwardRef((e,t)=>{let{className:s,...i}=e;return(0,n.jsx)("p",{ref:t,className:(0,l.cn)("text-sm text-muted-foreground",s),...i})}).displayName="CardDescription";let c=i.forwardRef((e,t)=>{let{className:s,...i}=e;return(0,n.jsx)("div",{ref:t,className:(0,l.cn)("p-6 pt-0",s),...i})});c.displayName="CardContent",i.forwardRef((e,t)=>{let{className:s,...i}=e;return(0,n.jsx)("div",{ref:t,className:(0,l.cn)("flex items-center p-6 pt-0",s),...i})}).displayName="CardFooter"},8403:function(e,t,s){"use strict";s.d(t,{Ph:function(){return a},RL:function(){return n},Xd:function(){return i},lY:function(){return l},zM:function(){return r}});let n=e=>"services"===e.type?"API":e.subType.split(/[/]/)[0],i=e=>e[0].toUpperCase()+e.substring(1)+"s",l=e=>e.reduce((e,t)=>(n(t),e||(e={available:0,limited:0,unavailable:0}),"AVAILABLE"===t.status?e.available++:"LIMITED"===t.status?e.limited++:"UNAVAILABLE"===t.status&&e.unavailable++,e),{available:0,limited:0,unavailable:0}),r=(e,t)=>t.reduce((t,s)=>(t[s]=l(e.filter(e=>n(e)===s)),t),{}),a=e=>{if(!e||!e)return"No entities found";let t="";return e.available&&(t+="".concat(e.available," available")),e.limited&&(t.length>0&&(t+=" "),t+="".concat(e.limited," limited")),e.unavailable&&(t.length>0&&(t+=" "),t+="".concat(e.unavailable," unavailable")),t}},3702:function(e,t,s){"use strict";s.d(t,{c:function(){return i},q:function(){return l}});var n=s(2177);let i={Play:"Play",Id:"Id",Code:"Code",ListBullet:"ListBullet",Upload:"Upload",Clock:"Clock",Desktop:"Desktop"},l=e=>{switch(e){case i.Play:return n.o1U;case i.Id:return n.Xwj;case i.Code:return n.dNJ;case i.ListBullet:return n.jVc;case i.Upload:return n.rG2;case i.Clock:return n.T39;case i.Desktop:return n.ugZ;default:return}}}},function(e){e.O(0,[310,285,792,639,788,267,549,971,69,744],function(){return e(e.s=548)}),_N_E=e.O()}]); \ No newline at end of file diff --git a/xtraplatform-ops/src/main/resources/dashboard/_next/static/chunks/app/deployment/page-f0f06471e43c0f19.js b/xtraplatform-ops/src/main/resources/dashboard/_next/static/chunks/app/deployment/page-f0f06471e43c0f19.js new file mode 100644 index 00000000..168915a3 --- /dev/null +++ b/xtraplatform-ops/src/main/resources/dashboard/_next/static/chunks/app/deployment/page-f0f06471e43c0f19.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[374],{548:function(e,t,i){Promise.resolve().then(i.bind(i,4228))},4228:function(e,t,i){"use strict";i.r(t),i.d(t,{default:function(){return I}});var s=i(3827),l=i(5815),a=i(4747),n=i(6311),r=i(9084),o=i(4090);let c="bits",d="bytes",u="jedec",m={symbol:{iec:{bits:["bit","Kibit","Mibit","Gibit","Tibit","Pibit","Eibit","Zibit","Yibit"],bytes:["B","KiB","MiB","GiB","TiB","PiB","EiB","ZiB","YiB"]},jedec:{bits:["bit","Kbit","Mbit","Gbit","Tbit","Pbit","Ebit","Zbit","Ybit"],bytes:["B","KB","MB","GB","TB","PB","EB","ZB","YB"]}},fullform:{iec:["","kibi","mebi","gibi","tebi","pebi","exbi","zebi","yobi"],jedec:["","kilo","mega","giga","tera","peta","exa","zetta","yotta"]}};function h(e){let{name:t,version:i,uptime:l,memory:a,health:o,Icon:h,IconFooter1:g,IconFooter2:x,IconFooter3:p}=e,b=function(e){let{bits:t=!1,pad:i=!1,base:s=-1,round:l=2,locale:a="",localeOptions:n={},separator:r="",spacer:o=" ",symbols:h={},standard:g="",output:x="string",fullform:p=!1,fullforms:b=[],exponent:f=-1,roundingMethod:y="round",precision:j=0}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},v=f,w=Number(e),N=[],E=0,S="";"si"===g?(s=10,g=u):"iec"===g||g===u?s=2:2===s?g="iec":(s=10,g=u);let B=10===s?1e3:1024,I=w<0,L=Math[y];if("bigint"!=typeof e&&isNaN(e))throw TypeError("Invalid number");if("function"!=typeof L)throw TypeError("Invalid rounding method");if(I&&(w=-w),(-1===v||isNaN(v))&&(v=Math.floor(Math.log(w)/Math.log(B)))<0&&(v=0),v>8&&(j>0&&(j+=8-v),v=8),"exponent"===x)return v;if(0===w)N[0]=0,S=N[1]=m.symbol[g][t?c:d][v];else{E=w/(2===s?Math.pow(2,10*v):Math.pow(1e3,v)),t&&(E*=8)>=B&&v<8&&(E/=B,v++);let e=Math.pow(10,v>0?l:0);N[0]=L(E*e)/e,N[0]===B&&v<8&&-1===f&&(N[0]=1,v++),S=N[1]=10===s&&1===v?t?"kbit":"kB":m.symbol[g][t?c:d][v]}if(I&&(N[0]=-N[0]),j>0&&(N[0]=N[0].toPrecision(j)),N[1]=h[N[1]]||N[1],!0===a?N[0]=N[0].toLocaleString():a.length>0?N[0]=N[0].toLocaleString(a,n):r.length>0&&(N[0]=N[0].toString().replace(".",r)),i&&!1===Number.isInteger(N[0])&&l>0){let e=r||".",t=N[0].toString().split(e),i=t[1]||"",s=i.length;N[0]="".concat(t[0]).concat(e).concat(i.padEnd(s+(l-s),"0"))}return!0===p&&(N[1]=b[v]?b[v]:m.fullform[g][v]+(t?"bit":"byte")+(1===N[0]?"":"s")),"array"===x?N:"object"===x?{value:N[0],symbol:N[1],exponent:v,unit:S}:N.join(o)}(a,{base:10}),f=(0,n.Z)(l,{secondsDecimalDigits:0});return(0,s.jsxs)(r.Zb,{className:"shadow-lg",children:[(0,s.jsxs)(r.Ol,{className:"flex flex-row items-center justify-between space-y-0 pb-2",children:[(0,s.jsx)(r.ll,{className:"text-sm font-semibold ".concat("ACTIVE"===o||"true"===o||"HEALTHY"===o?"text-success":"text-destructive"),children:o}),h?(0,s.jsx)(h,{className:"h-4 w-4 text-muted-foreground"}):null]}),(0,s.jsxs)(r.aY,{className:"flex justify-between items-center",children:[(0,s.jsx)("div",{className:"text-2xl font-bold break-normal",style:{marginBottom:"3px"},children:t}),(0,s.jsxs)("div",{style:{marginRight:"225px",marginTop:"-30px"},children:[(0,s.jsxs)("div",{style:{display:"flex",flexDirection:"row",alignItems:"center"},children:[p?(0,s.jsx)(p,{className:"h-4 w-4 text-muted-foreground",style:{marginRight:"5px",marginTop:"2px"}}):null,(0,s.jsx)("span",{style:{color:"dimgray",width:"65px",fontSize:"14px",fontWeight:"bold"},children:"Version:"}),(0,s.jsx)("span",{style:{color:"dimgray",fontSize:"14px",fontWeight:"bold"},children:i})]}),(0,s.jsxs)("div",{style:{display:"flex",flexDirection:"row",alignItems:"center"},children:[g?(0,s.jsx)(g,{className:"h-4 w-4 text-muted-foreground",style:{marginRight:"5px",marginTop:"2px"}}):null,(0,s.jsx)("span",{style:{color:"dimgray",width:"65px",fontSize:"14px",fontWeight:"bold"},children:"Uptime:"}),(0,s.jsx)("span",{style:{color:"dimgray",fontSize:"14px",fontWeight:"bold"},children:-1===l?"":f})]}),(0,s.jsxs)("div",{style:{display:"flex",flexDirection:"row",alignItems:"center"},children:[x?(0,s.jsx)(x,{className:"h-4 w-4 text-muted-foreground",style:{marginRight:"5px",marginTop:"2px"}}):null,(0,s.jsx)("span",{style:{color:"dimgray",width:"65px",fontSize:"14px",fontWeight:"bold"},children:"Memory:"}),(0,s.jsx)("span",{style:{color:"dimgray",fontSize:"14px",fontWeight:"bold"},children:-1===a?"":b})]})]})]})]})}var g=i(4922),x=i(9539),p=i.n(x),b=i(5744),f=i(2169),y=i(3702),j=i(594),v=i(6162),w=i(6054),N=i.n(w);i(1209),i(7613);var E=i(7907),S=i(7780),B=i(8403);function I(){let[e,t]=(0,o.useState)([]),[i,n]=(0,o.useState)("overview"),[r,c]=(0,o.useState)([]),[d,u]=(0,o.useState)({uptime:-1,memory:-1}),[m,x]=(0,o.useState)([]),[w,I]=(0,o.useState)({name:"",version:"",url:"",env:"",status:""}),[L,k]=(0,o.useState)([]),[A,T]=(0,o.useState)([]),[M,P]=(0,o.useState)(!0),[z,H]=(0,o.useState)({}),[Z,U]=(0,o.useState)(!1),Y=(0,E.useRouter)(),C=(0,E.usePathname)(),[V,D]=(0,o.useState)([{name:"",url:""}]),[O,W]=(0,o.useState)("");(0,o.useEffect)(()=>{T(e.filter(e=>e.name.startsWith("app/")&&"app/store/values2"!==e.name).map(e=>({label:e.name.substring(4),status:e.state,checked:p()(e.timestamp).format("HH:mm:ss")})))},[e]);let _=async()=>{try{let e=await (0,f.C5)();I(e)}catch(e){console.error("Error loading info:",e)}},K=async()=>{try{let e=await (0,f.Kt)();u(e)}catch(e){console.error("Error loading metrics:",e)}},R=async()=>{try{let e=await (0,f.Ly)();x(e)}catch(e){console.error("Error loading jobs:",e)}},q=async()=>{try{let e=await (0,f.fi)(),t=await (0,f.fL)();e.forEach(e=>{let i=t.find(t=>t.name==="entities/".concat(e.type,"/").concat(e.id));e.status=i&&i.state?i.state:"UNKNOWN"}),c(e)}catch(e){console.error("Error loading entities:",e)}},F=async()=>{try{let e=await (0,f.fL)();t(e)}catch(e){console.error("Error loading health checks:",e)}},G=async()=>{try{let e=await (0,f.KX)();k(e)}catch(e){console.error("Error loading health values:",e)}};(0,o.useEffect)(()=>{C&&n(window.location.hash.slice(1)||"overview");let e=setInterval(()=>{F(),q(),_(),K(),R(),G()},v.gi);return()=>clearInterval(e)},[C]);let J=e.length>0?e.some(e=>"AVAILABLE"!==e.state)?"UNHEALTHY":"HEALTHY":"",X=A.length,Q=L.length;v.ke&&(console.log("Values:",Q),console.log("totalSources:",X),console.log("Jobs",m));let $=r.length,ee=(0,B.lY)(r),et=(0,B.Ph)(ee),ei=[];return m.length>0&&(ei=(0,f.b5)(m)),(0,s.jsxs)("div",{className:"flex-1 space-y-4 p-8 pt-0",children:[(0,s.jsxs)("div",{className:"flex items-center justify-between space-y-2",children:[(0,s.jsx)("h2",{className:"text-2xl font-semibold tracking-tight",children:"Deployment"}),-1===d.uptime&&-1===d.memory&&(0,s.jsx)("div",{className:"ml-auto",children:(0,s.jsx)(S.Z,{color:"#123abc",loading:!0,size:20})})]}),(0,s.jsxs)(b.mQ,{value:i,onValueChange:e=>{n(e),Y.push("".concat(C,"#").concat(e))},className:"h-full space-y-6",children:[(0,s.jsx)("div",{className:"space-between flex items-center",children:(0,s.jsxs)(b.dr,{children:[(0,s.jsx)(b.SP,{value:"overview",children:(0,s.jsx)("span",{children:"Overview"})}),(0,s.jsx)(b.SP,{value:"store",children:(0,s.jsx)("span",{children:"Base Health"})}),(0,s.jsx)(b.SP,{value:"jobs",children:(0,s.jsx)("span",{children:"Jobs"})})]})}),(0,s.jsxs)(b.nU,{value:"overview",children:[(0,s.jsx)("div",{className:"grid gap-4 md:grid-cols-1 lg:grid-cols-1",style:{marginBottom:"10px"},children:(0,s.jsx)(h,{name:"".concat(w.url.replace("https://","").replace("http://","")).concat(O?" (".concat(O,")"):""),version:w.version,uptime:d.uptime,memory:d.memory,health:J,IconFooter1:(0,y.q)("Clock"),IconFooter2:(0,y.q)("Upload"),IconFooter3:(0,y.q)("Desktop")},"Entities")}),(0,s.jsxs)("div",{className:"grid gap-4 md:grid-cols-2 lg:grid-cols-4",children:[(0,s.jsx)(a.Z,{main:"Entities",route:"/entities",footer:et,total:$,Icon:(0,y.q)("Id")},"Entities"),(0,s.jsx)(a.Z,{main:"Values",route:"/values",footer:"\xa0",total:Q,Icon:(0,y.q)("Code")},"Values")]})]}),(0,s.jsx)(b.nU,{value:"store",children:(0,s.jsxs)("div",{children:[(0,s.jsx)("p",{className:"text-sm text-muted-foreground mb-4",children:"Health checks for global components that are used by all entities."}),(0,s.jsx)(j.w,{columns:l.z,data:A})]})}),(0,s.jsx)(b.nU,{value:"jobs",children:ei.length>0?ei.map(e=>(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("div",{className:"grid gap-4 md:grid-cols-1 lg:grid-cols-1",style:{marginBottom:"10px"},children:(0,s.jsx)(g.Z,{entity:e.entity,label:e.label,tilesets:e.details.tileSets,percent:e.percent,startedAt:e.startedAt,updatedAt:e.updatedAt,info:"".concat(e.current,"/").concat(e.total),id:e.id},e.id)}),(0,s.jsx)("div",{className:"grid gap-4 md:grid-cols-2 lg:grid-cols-4"})]})):null}),(0,s.jsx)(b.nU,{value:"cfg",children:(0,s.jsx)("div",{style:{backgroundColor:"#f5f5f5",borderRadius:"8px",padding:"16px",border:"1px solid lightgray"},children:Z?"No results.":0===Object.keys(z).length?(0,s.jsxs)("div",{className:"flex items-center",children:[(0,s.jsx)(S.Z,{color:"#123abc",loading:!0,size:20}),(0,s.jsx)("span",{style:{marginLeft:"5px"},children:"Loading..."})]}):Object.entries(z).map(e=>{let[t,i]=e,l=JSON.stringify(i,null,2),a=N().highlight(l,N().languages.json,"json");return(0,s.jsxs)("div",{style:{display:"flex"},children:[(0,s.jsxs)("span",{children:[t,":"]}),(0,s.jsx)("pre",{dangerouslySetInnerHTML:{__html:a},style:{margin:"0 0 0 10px"}})]},t)})})})]})]})}},8403:function(e,t,i){"use strict";i.d(t,{Ph:function(){return r},RL:function(){return s},Xd:function(){return l},lY:function(){return a},zM:function(){return n}});let s=e=>"services"===e.type?"API":e.subType.split(/[/]/)[0],l=e=>e[0].toUpperCase()+e.substring(1)+"s",a=e=>e.reduce((e,t)=>(s(t),e||(e={available:0,limited:0,unavailable:0}),"AVAILABLE"===t.status?e.available++:"LIMITED"===t.status?e.limited++:"UNAVAILABLE"===t.status&&e.unavailable++,e),{available:0,limited:0,unavailable:0}),n=(e,t)=>t.reduce((t,i)=>(t[i]=a(e.filter(e=>s(e)===i)),t),{}),r=e=>{if(!e||!e)return"No entities found";let t="";return e.available&&(t+="".concat(e.available," available")),e.limited&&(t.length>0&&(t+=" "),t+="".concat(e.limited," limited")),e.unavailable&&(t.length>0&&(t+=" "),t+="".concat(e.unavailable," unavailable")),t}}},function(e){e.O(0,[310,658,792,594,788,267,758,617,913,971,69,744],function(){return e(e.s=548)}),_N_E=e.O()}]); \ No newline at end of file diff --git a/xtraplatform-ops/src/main/resources/dashboard/_next/static/chunks/app/entities/details/page-b738fac965ef055f.js b/xtraplatform-ops/src/main/resources/dashboard/_next/static/chunks/app/entities/details/page-b738fac965ef055f.js deleted file mode 100644 index ad3d920a..00000000 --- a/xtraplatform-ops/src/main/resources/dashboard/_next/static/chunks/app/entities/details/page-b738fac965ef055f.js +++ /dev/null @@ -1 +0,0 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[58],{9476:function(e,s,t){Promise.resolve().then(t.bind(t,767))},767:function(e,s,t){"use strict";t.r(s);var n=t(3827),a=t(2169),l=t(2177),i=t(7907),c=t(4090),r=t(6162),o=t(5815),d=t(594),m=t(7780),u=t(5744),h=t(6054),x=t.n(h);t(1209),t(7613);var f=t(9539),p=t.n(f);function g(){let e=(0,i.useRouter)(),[s,t]=(0,c.useState)([]),[h,f]=(0,c.useState)(null),[g,j]=(0,c.useState)([]),[b,y]=(0,c.useState)({}),[v,w]=(0,c.useState)(!0),[N,k]=(0,c.useState)([]),[S,E]=(0,c.useState)("overview"),[_,L]=(0,c.useState)(!1),C="",H=(0,i.useSearchParams)();null!==H&&(C=H.get("id")),(0,c.useEffect)(()=>{if(g&&h){let e=g.filter(e=>e.name==="entities/".concat(h.type,"/").concat(h.id)).flatMap(e=>e.capabilities?e.capabilities.map(s=>({...s,timestamp:e.timestamp,components:e.components?e.components.filter(e=>e.capabilities.includes(s.name)).map(e=>({...e,capability:s.name,component:!0})):[]})):[]).map(e=>({label:e.name,status:e.state,message:e.message,checked:p()(e.timestamp).format("HH:mm:ss"),subRows:e.components.map(e=>({label:e.name,status:e.state,message:e.message,checked:""}))}));k(e),r.D&&console.log("myCheck:",e)}},[g,h]);let O=async()=>{try{let e=await (0,a.fL)();j(e)}catch(e){console.error("Error loading health checks:",e)}},D=async()=>{try{if(null!==C){let e=await (0,a.ZH)(C);"Method not allowed"===e.message?L(!0):y(e)}}catch(e){console.error("Error loading cfg:",e),L(!0)}},z=async()=>{try{let e=await (0,a.fi)();if(!e)return(0,i.notFound)();t(e);let s=e.find(e=>e.uid===C);f(s),r.D&&(console.log("newEntities",e),console.log("myEntity",s))}catch(e){console.error("Error loading entities:",e)}};return((0,c.useEffect)(()=>{(async()=>{await z(),await O(),await D(),w(!1),r.D&&(console.log("entities[id]",s),console.log("entity[id]",h),console.log("cfg",b))})()},[]),v)?(0,n.jsxs)("div",{className:"flex items-center",children:[(0,n.jsx)(m.Z,{color:"#123abc",loading:!0,size:20}),(0,n.jsx)("span",{style:{marginLeft:"10px"},children:"Loading..."})]}):(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("div",{className:"flex justify-between items-center",children:(0,n.jsxs)("div",{className:"flex items-center",children:[(0,n.jsx)("a",{onClick:()=>e.back(),className:"font-bold flex items-center cursor-pointer text-blue-500 hover:text-blue-400",children:(0,n.jsx)(l.wyc,{className:"mr-[-1px] h-6 w-6"})}),(0,n.jsx)("h2",{className:"text-2xl font-semibold tracking-tight ml-2",children:h?h.id:"Not Found..."})]})}),(0,n.jsx)("div",{className:"p-8 pt-6",children:(0,n.jsxs)(u.mQ,{value:S,onValueChange:e=>{E(e)},className:"h-full space-y-6",children:[(0,n.jsx)("div",{className:"space-between flex items-center",children:(0,n.jsx)(u.dr,{children:(0,n.jsx)(u.SP,{value:"overview",children:(0,n.jsx)("span",{children:"Health"})})})}),(0,n.jsx)(u.nU,{value:"overview",children:(0,n.jsxs)("div",{children:[(0,n.jsx)("p",{className:"text-sm text-muted-foreground mb-4",children:"Health checks for the capabilities of this entity."}),(0,n.jsx)(d.w,{columns:o.z,data:N})]})}),(0,n.jsx)(u.nU,{value:"cfg",children:(0,n.jsx)("div",{style:{backgroundColor:"#f5f5f5",borderRadius:"8px",padding:"16px",border:"1px solid lightgray"},children:_?"No results.":0===Object.keys(b).length?(0,n.jsxs)("div",{className:"flex items-center",children:[(0,n.jsx)(m.Z,{color:"#123abc",loading:!0,size:20}),(0,n.jsx)("span",{style:{marginLeft:"5px"},children:"Loading..."})]}):Object.entries(b).map(e=>{let[s,t]=e,a=JSON.stringify(t,null,2),l=x().highlight(a,x().languages.json,"json");return(0,n.jsxs)("div",{style:{display:"flex"},children:[(0,n.jsxs)("span",{children:[s,":"]}),(0,n.jsx)("pre",{dangerouslySetInnerHTML:{__html:l},style:{margin:"0 0 0 10px"}})]},s)})})})]})})]})}s.default=()=>(0,n.jsx)(c.Suspense,{fallback:(0,n.jsx)("div",{children:"Loading..."}),children:(0,n.jsx)(g,{})})},6162:function(e,s,t){"use strict";t.d(s,{D:function(){return n}});let n=!0}},function(e){e.O(0,[310,285,639,788,267,549,971,69,744],function(){return e(e.s=9476)}),_N_E=e.O()}]); \ No newline at end of file diff --git a/xtraplatform-ops/src/main/resources/dashboard/_next/static/chunks/app/entities/details/page-bacc3c8612f881f4.js b/xtraplatform-ops/src/main/resources/dashboard/_next/static/chunks/app/entities/details/page-bacc3c8612f881f4.js new file mode 100644 index 00000000..0ba416db --- /dev/null +++ b/xtraplatform-ops/src/main/resources/dashboard/_next/static/chunks/app/entities/details/page-bacc3c8612f881f4.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[58],{9476:function(e,t,r){Promise.resolve().then(r.bind(r,767))},767:function(e,t,r){"use strict";r.r(t);var n=r(3827),a=r(2169),s=r(2177),i=r(7907),o=r(4090),c=r(6162),l=r(5815),u=r(594),d=r(7780),f=r(4922),m=r(5744),p=r(6054),h=r.n(p);r(1209),r(7613);var g=r(9539),x=r.n(g);function y(){let e=(0,i.useRouter)(),[t,r]=(0,o.useState)([]),[p,g]=(0,o.useState)(null),[y,b]=(0,o.useState)([]),[j,v]=(0,o.useState)({}),[w,N]=(0,o.useState)(!0),[k,E]=(0,o.useState)([]),[S,_]=(0,o.useState)("overview"),[A,C]=(0,o.useState)(!1),[L,R]=(0,o.useState)(!1),[O,H]=(0,o.useState)([]),P="",T=(0,i.useSearchParams)();null!==T&&(P=T.get("id")),(0,o.useEffect)(()=>{P&&R(P.endsWith("tiles"))},[P]),(0,o.useEffect)(()=>{if(y&&p){let e=y.filter(e=>e.name==="entities/".concat(p.type,"/").concat(p.id)).flatMap(e=>e.capabilities?e.capabilities.map(t=>({...t,timestamp:e.timestamp,components:e.components?e.components.filter(e=>e.capabilities.includes(t.name)).map(e=>({...e,capability:t.name,component:!0})):[]})):[]).map(e=>({label:e.name,status:e.state,message:e.message,checked:x()(e.timestamp).format("HH:mm:ss"),subRows:e.components.map(e=>({label:e.name,status:e.state,message:e.message,checked:""}))}));E(e),c.Dh&&console.log("myCheck:",e)}},[y,p]);let D=async()=>{try{let e=await (0,a.fL)();b(e)}catch(e){console.error("Error loading health checks:",e)}},M=async()=>{try{let e=await (0,a.Ly)();H(e)}catch(e){console.error("Error loading jobs:",e)}},U=async()=>{try{let e=await (0,a.fi)();if(!e)return(0,i.notFound)();r(e);let t=e.find(e=>e.uid===P);g(t),c.Dh&&(console.log("newEntities",e),console.log("myEntity",t))}catch(e){console.error("Error loading entities:",e)}};(0,o.useEffect)(()=>{let e=async()=>{await U(),await D(),await M(),N(!1),c.Dh&&(console.log("entities[id]",t),console.log("entity[id]",p),console.log("cfg",j))},r=setInterval(()=>{e()},c.gi);return()=>clearInterval(r)},[L]);let V=[];return(O.length>0&&(V=(0,a.b5)(O)),w)?(0,n.jsxs)("div",{className:"flex items-center",children:[(0,n.jsx)(d.Z,{color:"#123abc",loading:!0,size:20}),(0,n.jsx)("span",{style:{marginLeft:"10px"},children:"Loading..."})]}):(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("div",{className:"flex justify-between items-center",children:(0,n.jsxs)("div",{className:"flex items-center",children:[(0,n.jsx)("a",{onClick:()=>e.back(),className:"font-bold flex items-center cursor-pointer text-blue-500 hover:text-blue-400",children:(0,n.jsx)(s.wyc,{className:"mr-[-1px] h-6 w-6"})}),(0,n.jsx)("h2",{className:"text-2xl font-semibold tracking-tight ml-2",children:p?p.id:"Not Found..."})]})}),(0,n.jsx)("div",{className:"p-8 pt-6",children:(0,n.jsxs)(m.mQ,{value:S,onValueChange:e=>{_(e)},className:"h-full space-y-6",children:[(0,n.jsx)("div",{className:"space-between flex items-center",children:(0,n.jsxs)(m.dr,{children:[(0,n.jsx)(m.SP,{value:"overview",children:(0,n.jsx)("span",{children:"Health"})}),P&&L&&O&&O.some(e=>e.entity===(null==P?void 0:P.split("_").slice(1).join("_")))&&(0,n.jsx)(m.SP,{value:"jobs",children:(0,n.jsx)("span",{children:"Jobs"})})]})}),(0,n.jsx)(m.nU,{value:"overview",children:(0,n.jsxs)("div",{children:[(0,n.jsx)("p",{className:"text-sm text-muted-foreground mb-4",children:"Health checks for the capabilities of this entity."}),(0,n.jsx)(u.w,{columns:l.z,data:k})]})}),(0,n.jsx)(m.nU,{value:"jobs",children:P&&V.length>0&&V.filter(e=>e.entity===(null==P?void 0:P.split("_").slice(1).join("_"))).length>0?V.filter(e=>e.entity===(null==P?void 0:P.split("_").slice(1).join("_"))).map(e=>(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("div",{className:"grid gap-4 md:grid-cols-1 lg:grid-cols-1",style:{marginBottom:"10px"},children:(0,n.jsx)(f.Z,{entity:e.entity,label:e.label,tilesets:e.details.tileSets,percent:e.percent,startedAt:e.startedAt,updatedAt:e.updatedAt,info:"".concat(e.current,"/").concat(e.total),id:e.id},e.id)}),(0,n.jsx)("div",{className:"grid gap-4 md:grid-cols-2 lg:grid-cols-4"})]})):null}),(0,n.jsx)(m.nU,{value:"cfg",children:(0,n.jsx)("div",{style:{backgroundColor:"#f5f5f5",borderRadius:"8px",padding:"16px",border:"1px solid lightgray"},children:A?"No results.":0===Object.keys(j).length?(0,n.jsxs)("div",{className:"flex items-center",children:[(0,n.jsx)(d.Z,{color:"#123abc",loading:!0,size:20}),(0,n.jsx)("span",{style:{marginLeft:"5px"},children:"Loading..."})]}):Object.entries(j).map(e=>{let[t,r]=e,a=JSON.stringify(r,null,2),s=h().highlight(a,h().languages.json,"json");return(0,n.jsxs)("div",{style:{display:"flex"},children:[(0,n.jsxs)("span",{children:[t,":"]}),(0,n.jsx)("pre",{dangerouslySetInnerHTML:{__html:s},style:{margin:"0 0 0 10px"}})]},t)})})})]})})]})}t.default=()=>(0,n.jsx)(o.Suspense,{fallback:(0,n.jsx)("div",{children:"Loading..."}),children:(0,n.jsx)(y,{})})},5479:function(e,t,r){"use strict";r.d(t,{C:function(){return o}});var n=r(3827);r(4090);var a=r(7742),s=r(2169);let i=(0,a.j)("inline-flex items-center rounded-full border px-2.5 py-0.5 text-xs font-semibold transition-colors focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2",{variants:{variant:{default:"border-transparent bg-primary text-primary-foreground hover:bg-primary/80",secondary:"border-transparent bg-secondary text-secondary-foreground hover:bg-secondary/80",destructive:"border-transparent bg-destructive text-destructive-foreground hover:bg-destructive/80",success:"border-transparent bg-success text-success-foreground hover:bg-success/80",warning:"border-transparent bg-warning text-warning-foreground hover:bg-warning/80",outline:"text-foreground"}},defaultVariants:{variant:"default"}});function o(e){let{className:t,variant:r,...a}=e;return(0,n.jsx)("div",{className:(0,s.cn)(i({variant:r}),t),...a})}},9084:function(e,t,r){"use strict";r.d(t,{Ol:function(){return o},Zb:function(){return i},aY:function(){return l},ll:function(){return c}});var n=r(3827),a=r(4090),s=r(2169);let i=a.forwardRef((e,t)=>{let{className:r,...a}=e;return(0,n.jsx)("div",{ref:t,className:(0,s.cn)("rounded-lg border bg-card text-card-foreground shadow-sm",r),...a})});i.displayName="Card";let o=a.forwardRef((e,t)=>{let{className:r,...a}=e;return(0,n.jsx)("div",{ref:t,className:(0,s.cn)("flex flex-col space-y-1.5 p-6",r),...a})});o.displayName="CardHeader";let c=a.forwardRef((e,t)=>{let{className:r,...a}=e;return(0,n.jsx)("h3",{ref:t,className:(0,s.cn)("text-2xl font-semibold leading-none tracking-tight",r),...a})});c.displayName="CardTitle",a.forwardRef((e,t)=>{let{className:r,...a}=e;return(0,n.jsx)("p",{ref:t,className:(0,s.cn)("text-sm text-muted-foreground",r),...a})}).displayName="CardDescription";let l=a.forwardRef((e,t)=>{let{className:r,...a}=e;return(0,n.jsx)("div",{ref:t,className:(0,s.cn)("p-6 pt-0",r),...a})});l.displayName="CardContent",a.forwardRef((e,t)=>{let{className:r,...a}=e;return(0,n.jsx)("div",{ref:t,className:(0,s.cn)("flex items-center p-6 pt-0",r),...a})}).displayName="CardFooter"},5744:function(e,t,r){"use strict";r.d(t,{SP:function(){return l},dr:function(){return c},mQ:function(){return o},nU:function(){return u}});var n=r(3827),a=r(4090),s=r(1639),i=r(2169);let o=s.fC,c=a.forwardRef((e,t)=>{let{className:r,...a}=e;return(0,n.jsx)(s.aV,{ref:t,className:(0,i.cn)("inline-flex h-10 items-center justify-center rounded-md bg-muted p-1 text-muted-foreground",r),...a})});c.displayName=s.aV.displayName;let l=a.forwardRef((e,t)=>{let{className:r,...a}=e;return(0,n.jsx)(s.xz,{ref:t,className:(0,i.cn)("inline-flex items-center justify-center whitespace-nowrap rounded-sm px-3 py-1.5 text-sm font-medium ring-offset-background transition-all focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 data-[state=active]:bg-background data-[state=active]:text-foreground data-[state=active]:shadow-sm",r),...a})});l.displayName=s.xz.displayName;let u=a.forwardRef((e,t)=>{let{className:r,...a}=e;return(0,n.jsx)(s.VY,{ref:t,className:(0,i.cn)("mt-2 ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2",r),...a})});u.displayName=s.VY.displayName},6162:function(e,t,r){"use strict";r.d(t,{Dh:function(){return n},gi:function(){return s},ke:function(){return a}});let n=!0,a=!1,s=2e3},2169:function(e,t,r){"use strict";r.d(t,{AR:function(){return b},C5:function(){return u},KX:function(){return g},Kt:function(){return d},Ly:function(){return f},R_:function(){return h},ZH:function(){return x},b5:function(){return j},cn:function(){return s},fL:function(){return l},fi:function(){return c},hs:function(){return y}});var n=r(3167),a=r(1367);function s(){for(var e=arguments.length,t=Array(e),r=0;r{try{let e=await fetch(i+"/entities"),t=await e.json();return Object.keys(t).flatMap(e=>t[e].map(t=>({type:e,uid:"".concat(e,"_").concat(t.id),...t}))).filter(e=>"DISABLED"!==e.status)}catch(e){throw console.error("Error:",e),e}},l=async()=>{try{let e=await fetch(i+"/health"),t=await e.json();return Object.keys(t).map(e=>({name:e,...t[e],capabilities:t[e].capabilities?Object.keys(t[e].capabilities).map(r=>({name:r,...t[e].capabilities[r]})):void 0,components:t[e].components?Object.keys(t[e].components).map(r=>({name:r,...t[e].components[r]})):void 0}))}catch(e){throw console.error("Error:",e),e}},u=async()=>{try{let e=await fetch(i+"/info");return await e.json()}catch(e){throw console.error("Error:",e),e}},d=async()=>{try{let e=await fetch(i+"/metrics"),t=await e.json();return{uptime:t.gauges["jvm.attribute.uptime"].value,memory:t.gauges["jvm.memory.total.used"].value}}catch(e){throw console.error("Error:",e),e}},f=async()=>{try{let e=await fetch(i+"/jobs"),t=await e.json();return m(t.sets)}catch(e){throw console.error("Error:",e),e}},m=e=>{let t=[...e];for(let r of e.flatMap(p))t.some(e=>e.id===r.id)||t.push(r);return t},p=e=>e.followUps.length>0?[e,...e.followUps.flatMap(p)]:[e],h=async()=>{try{let e=await fetch("/api/deployments");return await e.json()}catch(e){throw console.error("Error:",e),e}},g=async()=>{try{let e=await fetch(i+"/values"),t=await e.json();return Object.keys(t).flatMap(e=>t[e].map(t=>({type:e,uid:"".concat(e,"_").concat(t.path),...t})))}catch(e){throw console.error("Error:",e),e}},x=async e=>{try{let t=e.replace(/_/g,"/"),r=await fetch("".concat(o,"/cfg/entities/").concat(t));if(!r.ok)throw Error("HTTP error! status: ".concat(r.status));return await r.json()}catch(e){throw console.error("Error:",e),e}},y=async()=>{try{let e=await fetch(o+"/cfg/global/deployment");if(!e.ok)throw Error("HTTP error! status: ".concat(e.status));return await e.json()}catch(e){throw console.error("Error:",e),e}},b=async e=>{try{let t=e.replace(/_/g,"/"),r=await fetch("".concat(o,"/cfg/values/").concat(t));if(!r.ok)throw Error("HTTP error! status: ".concat(r.status));return await r.json()}catch(e){throw console.error("Error:",e),e}},j=e=>0===e.length?[]:e.sort((e,t)=>100===e.percent&&100!==t.percent?1:100===t.percent&&100!==e.percent?-1:-1===e.startedAt&&t.startedAt>-1?1:-1===t.startedAt&&e.startedAt>-1?-1:e.updatedAt<=0&&t.updatedAt>0?1:t.updatedAt<=0&&e.updatedAt>0?-1:t.startedAt-e.startedAt)}},function(e){e.O(0,[310,658,594,788,267,758,913,971,69,744],function(){return e(e.s=9476)}),_N_E=e.O()}]); \ No newline at end of file diff --git a/xtraplatform-ops/src/main/resources/dashboard/_next/static/chunks/app/entities/page-bffaaf9cc978e3ba.js b/xtraplatform-ops/src/main/resources/dashboard/_next/static/chunks/app/entities/page-bffaaf9cc978e3ba.js new file mode 100644 index 00000000..fb2e4f3d --- /dev/null +++ b/xtraplatform-ops/src/main/resources/dashboard/_next/static/chunks/app/entities/page-bffaaf9cc978e3ba.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[146],{5531:function(e,t,a){Promise.resolve().then(a.bind(a,3813))},3813:function(e,t,a){"use strict";a.r(t),a.d(t,{default:function(){return v}});var i=a(3827),n=a(4747),l=a(5744),s=a(7907),c=a(2169),r=a(4090),o=a(6162),u=a(3702),d=a(8403);function v(){let[e,t]=(0,r.useState)([]),[a,v]=(0,r.useState)("overview"),f=(0,s.useRouter)(),h=(0,s.usePathname)(),p=e.map(d.RL).filter((e,t,a)=>a.indexOf(e)===t),m=e.reduce((e,t)=>{let a=(0,d.RL)(t);return e[a]||(e[a]=0),e[a]++,e},{}),g=(0,d.zM)(e,p),x=async()=>{try{let e=await (0,c.fi)(),a=await (0,c.fL)();e.forEach(e=>{let t=a.find(t=>t.name==="entities/".concat(e.type,"/").concat(e.id));e.status=t&&t.state?t.state:"UNKNOWN"}),t(e)}catch(e){console.error("Error loading entities:",e)}};return(0,r.useEffect)(()=>{let e=setInterval(()=>{x()},o.gi);return h&&v(window.location.hash.slice(1)||"overview"),()=>clearInterval(e)},[h]),o.Dh&&(console.log("entityTypeStatusCounts:",g),console.log("entities",e),console.log("Counts:",m.API),console.log("entityTypes",p)),(0,i.jsxs)("div",{className:"flex-1 space-y-4 p-8 pt-0",children:[(0,i.jsx)("div",{className:"flex items-center justify-between space-y-2",children:(0,i.jsx)("h2",{className:"text-2xl font-semibold tracking-tight",children:"Entities"})}),(0,i.jsxs)(l.mQ,{value:a,onValueChange:e=>{v(e),f.push("".concat(h,"#").concat(e))},className:"h-full space-y-6",children:[(0,i.jsx)("div",{className:"space-between flex items-center",children:(0,i.jsxs)(l.dr,{children:[(0,i.jsx)(l.SP,{value:"overview",children:(0,i.jsx)("span",{children:"Overview"})}),p.map(e=>(0,i.jsx)(l.SP,{value:e,children:(0,i.jsx)("span",{children:(0,d.Xd)(e)})},e))]})}),(0,i.jsx)(l.nU,{value:"overview",children:(0,i.jsx)("div",{className:"grid gap-4 md:grid-cols-2 lg:grid-cols-4",children:p.map(e=>(0,i.jsx)(n.Z,{main:(0,d.Xd)(e),footer:(0,d.Ph)(g[e]),total:m[e],onClick:()=>v(e),route:"".concat(h,"#").concat(e),Icon:(0,u.q)("Id")},e))})}),p.map(t=>(0,i.jsx)(l.nU,{value:t,children:(0,i.jsx)("div",{className:"grid gap-4 md:grid-cols-2 lg:grid-cols-4",children:e.filter(e=>(0,d.RL)(e)===t).map(e=>(0,i.jsx)(n.Z,{header:e.status,main:e.id,footer:e.subType.toUpperCase(),route:"/entities/details?id=".concat(e.uid)},e.uid))})},t))]})]})}},8403:function(e,t,a){"use strict";a.d(t,{Ph:function(){return c},RL:function(){return i},Xd:function(){return n},lY:function(){return l},zM:function(){return s}});let i=e=>"services"===e.type?"API":e.subType.split(/[/]/)[0],n=e=>e[0].toUpperCase()+e.substring(1)+"s",l=e=>e.reduce((e,t)=>(i(t),e||(e={available:0,limited:0,unavailable:0}),"AVAILABLE"===t.status?e.available++:"LIMITED"===t.status?e.limited++:"UNAVAILABLE"===t.status&&e.unavailable++,e),{available:0,limited:0,unavailable:0}),s=(e,t)=>t.reduce((t,a)=>(t[a]=l(e.filter(e=>i(e)===a)),t),{}),c=e=>{if(!e||!e)return"No entities found";let t="";return e.available&&(t+="".concat(e.available," available")),e.limited&&(t.length>0&&(t+=" "),t+="".concat(e.limited," limited")),e.unavailable&&(t.length>0&&(t+=" "),t+="".concat(e.unavailable," unavailable")),t}}},function(e){e.O(0,[310,658,792,594,617,971,69,744],function(){return e(e.s=5531)}),_N_E=e.O()}]); \ No newline at end of file diff --git a/xtraplatform-ops/src/main/resources/dashboard/_next/static/chunks/app/entities/page-dc18e2ae0b3649cf.js b/xtraplatform-ops/src/main/resources/dashboard/_next/static/chunks/app/entities/page-dc18e2ae0b3649cf.js deleted file mode 100644 index a2fa709c..00000000 --- a/xtraplatform-ops/src/main/resources/dashboard/_next/static/chunks/app/entities/page-dc18e2ae0b3649cf.js +++ /dev/null @@ -1 +0,0 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[146],{5531:function(e,t,r){Promise.resolve().then(r.bind(r,3813))},3813:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return f}});var n=r(3827),a=r(4747),s=r(5744),i=r(7907),c=r(2169),l=r(4090),o=r(6162),u=r(3702),d=r(8403);function f(){let[e,t]=(0,l.useState)([]),[r,f]=(0,l.useState)("overview"),m=(0,i.useRouter)(),p=(0,i.usePathname)(),x=e.map(d.RL).filter((e,t,r)=>r.indexOf(e)===t),g=e.reduce((e,t)=>{let r=(0,d.RL)(t);return e[r]||(e[r]=0),e[r]++,e},{}),h=(0,d.zM)(e,x),v=async()=>{try{let e=await (0,c.fi)(),r=await (0,c.fL)();e.forEach(e=>{let t=r.find(t=>t.name==="entities/".concat(e.type,"/").concat(e.id));e.status=t&&t.state?t.state:"UNKNOWN"}),t(e)}catch(e){console.error("Error loading entities:",e)}};return(0,l.useEffect)(()=>{v(),p&&f(window.location.hash.slice(1)||"overview")},[]),o.D&&(console.log("entityTypeStatusCounts:",h),console.log("entities",e),console.log("Counts:",g.API),console.log("entityTypes",x)),(0,n.jsxs)("div",{className:"flex-1 space-y-4 p-8 pt-0",children:[(0,n.jsx)("div",{className:"flex items-center justify-between space-y-2",children:(0,n.jsx)("h2",{className:"text-2xl font-semibold tracking-tight",children:"Entities"})}),(0,n.jsxs)(s.mQ,{value:r,onValueChange:e=>{f(e),m.push("".concat(p,"#").concat(e))},className:"h-full space-y-6",children:[(0,n.jsx)("div",{className:"space-between flex items-center",children:(0,n.jsxs)(s.dr,{children:[(0,n.jsx)(s.SP,{value:"overview",children:(0,n.jsx)("span",{children:"Overview"})}),x.map(e=>(0,n.jsx)(s.SP,{value:e,children:(0,n.jsx)("span",{children:(0,d.Xd)(e)})},e))]})}),(0,n.jsx)(s.nU,{value:"overview",children:(0,n.jsx)("div",{className:"grid gap-4 md:grid-cols-2 lg:grid-cols-4",children:x.map(e=>(0,n.jsx)(a.Z,{main:(0,d.Xd)(e),footer:(0,d.Ph)(h[e]),total:g[e],onClick:()=>f(e),route:"".concat(p,"#").concat(e),Icon:(0,u.q)("Id")},e))})}),x.map(t=>(0,n.jsx)(s.nU,{value:t,children:(0,n.jsx)("div",{className:"grid gap-4 md:grid-cols-2 lg:grid-cols-4",children:e.filter(e=>(0,d.RL)(e)===t).map(e=>(0,n.jsx)(a.Z,{header:e.status,main:e.id,footer:e.subType.toUpperCase(),route:"/entities/details?id=".concat(e.uid)},e.uid))})},t))]})]})}},4747:function(e,t,r){"use strict";r.d(t,{Z:function(){return o}});var n=r(3827),a=r(8792),s=r(9084),i=r(2177),c=r(5479);let l=e=>{let{footer:t}=e,r=t.includes("/")?t.split("/")[1]:t.includes("OGC_API")?t:null;return console.log("footer: ",t),console.log("type1: ",r),(0,n.jsx)(n.Fragment,{children:t?t.split(" ").map((e,t,a)=>"available"!==e||isNaN(Number(a[t-1]))?"limited"!==e||isNaN(Number(a[t-1]))?"unavailable"!==e||isNaN(Number(a[t-1]))?null!==r?(0,n.jsx)(c.C,{variant:"secondary",children:r},r):isNaN(Number(e))||"available"!==a[t+1]&&"unavailable"!==a[t+1]&&"limited"!==a[t+1]?e+" ":null:[(0,n.jsxs)("span",{className:"text-destructive mr-2",style:{display:"flex",alignItems:"center"},children:[(0,n.jsx)(i.xrR,{className:"text-destructive",style:{marginRight:"3px"}},"CheckCircledIcon"),a[t-1]," ",e]},t)]:[(0,n.jsxs)("span",{className:"text-warning mr-2",style:{display:"flex",alignItems:"center"},children:[(0,n.jsx)(i.LPM,{className:"text-warning",style:{marginRight:"3px"}},"CheckCircledIcon"),a[t-1]," ",e]},t)]:[(0,n.jsxs)("span",{className:"text-success mr-2",style:{display:"flex",alignItems:"center",marginRight:"15px"},children:[(0,n.jsx)(i.NhS,{className:"text-success",style:{marginRight:"3px"}},"CheckCircledIcon"),a[t-1]," ",e]},t)]):null})};function o(e){let{header:t,main:r,footer:i,route:c,total:o,Icon:u,...d}=e,f="AVAILABLE"===t||"ACTIVE"===t||"true"===t?"text-success":"LIMITED"===t?"text-warning":"UNAVAILABLE"===t||"false"===t?"text-destructive":"text-blue-700";return(0,n.jsx)(a.default,{href:c||"#",children:(0,n.jsxs)(s.Zb,{className:"shadow-lg hover:bg-gray-100 transition-colors duration-200",...d,children:[(0,n.jsx)(s.Ol,{className:"flex flex-row items-center justify-between space-y-0 pb-0",children:(0,n.jsx)(s.ll,{className:"text-sm font-semibold ".concat(f).concat(t?"":"text-2xl font-bold mb-1"),children:t||(0,n.jsx)("span",{className:"text-2xl font-bold mb-1",children:o})})}),(0,n.jsxs)(s.aY,{children:[(0,n.jsxs)("div",{className:"text-2xl font-bold",style:{display:"flex",flexDirection:"row",marginBottom:"5px",alignItems:"center",justifyContent:"flex-start",gap:"10px"},children:[u?(0,n.jsx)(u,{className:"h-6 w-6 text-muted-foreground"}):null,(0,n.jsx)("span",{style:{textOverflow:"ellipsis",overflow:"hidden",whiteSpace:"nowrap"},title:"string"==typeof r?r:"",children:r})]}),(0,n.jsx)("div",{style:{display:"flex",flexWrap:"wrap"},children:(0,n.jsx)("p",{className:"text-xs text-muted-foreground",style:{display:"flex",flexDirection:"row"},children:i?(0,n.jsx)(l,{footer:i}):null})})]})]})})}},5479:function(e,t,r){"use strict";r.d(t,{C:function(){return c}});var n=r(3827);r(4090);var a=r(7742),s=r(2169);let i=(0,a.j)("inline-flex items-center rounded-full border px-2.5 py-0.5 text-xs font-semibold transition-colors focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2",{variants:{variant:{default:"border-transparent bg-primary text-primary-foreground hover:bg-primary/80",secondary:"border-transparent bg-secondary text-secondary-foreground hover:bg-secondary/80",destructive:"border-transparent bg-destructive text-destructive-foreground hover:bg-destructive/80",success:"border-transparent bg-success text-success-foreground hover:bg-success/80",warning:"border-transparent bg-warning text-warning-foreground hover:bg-warning/80",outline:"text-foreground"}},defaultVariants:{variant:"default"}});function c(e){let{className:t,variant:r,...a}=e;return(0,n.jsx)("div",{className:(0,s.cn)(i({variant:r}),t),...a})}},9084:function(e,t,r){"use strict";r.d(t,{Ol:function(){return c},Zb:function(){return i},aY:function(){return o},ll:function(){return l}});var n=r(3827),a=r(4090),s=r(2169);let i=a.forwardRef((e,t)=>{let{className:r,...a}=e;return(0,n.jsx)("div",{ref:t,className:(0,s.cn)("rounded-lg border bg-card text-card-foreground shadow-sm",r),...a})});i.displayName="Card";let c=a.forwardRef((e,t)=>{let{className:r,...a}=e;return(0,n.jsx)("div",{ref:t,className:(0,s.cn)("flex flex-col space-y-1.5 p-6",r),...a})});c.displayName="CardHeader";let l=a.forwardRef((e,t)=>{let{className:r,...a}=e;return(0,n.jsx)("h3",{ref:t,className:(0,s.cn)("text-2xl font-semibold leading-none tracking-tight",r),...a})});l.displayName="CardTitle",a.forwardRef((e,t)=>{let{className:r,...a}=e;return(0,n.jsx)("p",{ref:t,className:(0,s.cn)("text-sm text-muted-foreground",r),...a})}).displayName="CardDescription";let o=a.forwardRef((e,t)=>{let{className:r,...a}=e;return(0,n.jsx)("div",{ref:t,className:(0,s.cn)("p-6 pt-0",r),...a})});o.displayName="CardContent",a.forwardRef((e,t)=>{let{className:r,...a}=e;return(0,n.jsx)("div",{ref:t,className:(0,s.cn)("flex items-center p-6 pt-0",r),...a})}).displayName="CardFooter"},5744:function(e,t,r){"use strict";r.d(t,{SP:function(){return o},dr:function(){return l},mQ:function(){return c},nU:function(){return u}});var n=r(3827),a=r(4090),s=r(1639),i=r(2169);let c=s.fC,l=a.forwardRef((e,t)=>{let{className:r,...a}=e;return(0,n.jsx)(s.aV,{ref:t,className:(0,i.cn)("inline-flex h-10 items-center justify-center rounded-md bg-muted p-1 text-muted-foreground",r),...a})});l.displayName=s.aV.displayName;let o=a.forwardRef((e,t)=>{let{className:r,...a}=e;return(0,n.jsx)(s.xz,{ref:t,className:(0,i.cn)("inline-flex items-center justify-center whitespace-nowrap rounded-sm px-3 py-1.5 text-sm font-medium ring-offset-background transition-all focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 data-[state=active]:bg-background data-[state=active]:text-foreground data-[state=active]:shadow-sm",r),...a})});o.displayName=s.xz.displayName;let u=a.forwardRef((e,t)=>{let{className:r,...a}=e;return(0,n.jsx)(s.VY,{ref:t,className:(0,i.cn)("mt-2 ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2",r),...a})});u.displayName=s.VY.displayName},6162:function(e,t,r){"use strict";r.d(t,{D:function(){return n}});let n=!0},8403:function(e,t,r){"use strict";r.d(t,{Ph:function(){return c},RL:function(){return n},Xd:function(){return a},lY:function(){return s},zM:function(){return i}});let n=e=>"services"===e.type?"API":e.subType.split(/[/]/)[0],a=e=>e[0].toUpperCase()+e.substring(1)+"s",s=e=>e.reduce((e,t)=>(n(t),e||(e={available:0,limited:0,unavailable:0}),"AVAILABLE"===t.status?e.available++:"LIMITED"===t.status?e.limited++:"UNAVAILABLE"===t.status&&e.unavailable++,e),{available:0,limited:0,unavailable:0}),i=(e,t)=>t.reduce((t,r)=>(t[r]=s(e.filter(e=>n(e)===r)),t),{}),c=e=>{if(!e||!e)return"No entities found";let t="";return e.available&&(t+="".concat(e.available," available")),e.limited&&(t.length>0&&(t+=" "),t+="".concat(e.limited," limited")),e.unavailable&&(t.length>0&&(t+=" "),t+="".concat(e.unavailable," unavailable")),t}},3702:function(e,t,r){"use strict";r.d(t,{c:function(){return a},q:function(){return s}});var n=r(2177);let a={Play:"Play",Id:"Id",Code:"Code",ListBullet:"ListBullet",Upload:"Upload",Clock:"Clock",Desktop:"Desktop"},s=e=>{switch(e){case a.Play:return n.o1U;case a.Id:return n.Xwj;case a.Code:return n.dNJ;case a.ListBullet:return n.jVc;case a.Upload:return n.rG2;case a.Clock:return n.T39;case a.Desktop:return n.ugZ;default:return}}},2169:function(e,t,r){"use strict";r.d(t,{AR:function(){return x},C5:function(){return u},KX:function(){return f},Kt:function(){return d},ZH:function(){return m},cn:function(){return s},fL:function(){return o},fi:function(){return l},hs:function(){return p}});var n=r(3167),a=r(1367);function s(){for(var e=arguments.length,t=Array(e),r=0;r{try{let e=await fetch(i+"/entities"),t=await e.json();return Object.keys(t).flatMap(e=>t[e].map(t=>({type:e,uid:"".concat(e,"_").concat(t.id),...t}))).filter(e=>"DISABLED"!==e.status)}catch(e){throw console.error("Error:",e),e}},o=async()=>{try{let e=await fetch(i+"/health"),t=await e.json();return Object.keys(t).map(e=>({name:e,...t[e],capabilities:t[e].capabilities?Object.keys(t[e].capabilities).map(r=>({name:r,...t[e].capabilities[r]})):void 0,components:t[e].components?Object.keys(t[e].components).map(r=>({name:r,...t[e].components[r]})):void 0}))}catch(e){throw console.error("Error:",e),e}},u=async()=>{try{let e=await fetch(i+"/info");return await e.json()}catch(e){throw console.error("Error:",e),e}},d=async()=>{try{let e=await fetch(i+"/metrics"),t=await e.json();return{uptime:t.gauges["jvm.attribute.uptime"].value,memory:t.gauges["jvm.memory.total.used"].value}}catch(e){throw console.error("Error:",e),e}},f=async()=>{try{let e=await fetch(i+"/values"),t=await e.json();return Object.keys(t).flatMap(e=>t[e].map(t=>({type:e,uid:"".concat(e,"_").concat(t.path),...t})))}catch(e){throw console.error("Error:",e),e}},m=async e=>{try{let t=e.replace(/_/g,"/"),r=await fetch("".concat(c,"/cfg/entities/").concat(t));if(!r.ok)throw Error("HTTP error! status: ".concat(r.status));return await r.json()}catch(e){throw console.error("Error:",e),e}},p=async()=>{try{let e=await fetch(c+"/cfg/global/deployment");if(!e.ok)throw Error("HTTP error! status: ".concat(e.status));return await e.json()}catch(e){throw console.error("Error:",e),e}},x=async e=>{try{let t=e.replace(/_/g,"/"),r=await fetch("".concat(c,"/cfg/values/").concat(t));if(!r.ok)throw Error("HTTP error! status: ".concat(r.status));return await r.json()}catch(e){throw console.error("Error:",e),e}}}},function(e){e.O(0,[310,285,792,639,971,69,744],function(){return e(e.s=5531)}),_N_E=e.O()}]); \ No newline at end of file diff --git a/xtraplatform-ops/src/main/resources/dashboard/_next/static/chunks/app/home/page-3c1b52fce65ef1b2.js b/xtraplatform-ops/src/main/resources/dashboard/_next/static/chunks/app/home/page-3c1b52fce65ef1b2.js new file mode 100644 index 00000000..6d4c2043 --- /dev/null +++ b/xtraplatform-ops/src/main/resources/dashboard/_next/static/chunks/app/home/page-3c1b52fce65ef1b2.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[951],{86:function(t,e,r){Promise.resolve().then(r.bind(r,6829))},6829:function(t,e,r){"use strict";r.r(e),r.d(e,{default:function(){return i}});var a=r(3827),n=r(4090),o=r(2169),c=r(9084),s=r(3702),l=r(8792);function i(){let[t,e]=(0,n.useState)([]),r=(0,s.q)("Home");return(0,n.useEffect)(()=>{(0,o.R_)().then(t=>e(t))},[]),(0,a.jsx)("div",{className:"flex-1 space-y-4 p-8 pt-0",children:(0,a.jsxs)("div",{className:"justify-between space-y-2",children:[(0,a.jsx)("h2",{className:"text-2xl font-semibold tracking-tight",style:{marginBottom:"50px"},children:"Deployments"}),(0,a.jsx)("div",{className:"grid gap-4 md:grid-cols-2 lg:grid-cols-4",children:t.map((t,e)=>(0,a.jsx)(l.default,{href:t.url||"#",children:(0,a.jsx)(c.Zb,{className:"shadow-lg hover:bg-gray-100 transition-colors duration-200 cursor-pointer",children:(0,a.jsx)(c.aY,{children:(0,a.jsx)(c.Ol,{children:(0,a.jsx)(c.ll,{style:{marginTop:"20px",fontSize:"1.5em"},children:(0,a.jsxs)("div",{className:"flex items-center text-blue-600",children:[r?(0,a.jsx)(r,{className:"h-6 w-6 text-blue-600 mr-2"}):null,(0,a.jsx)("span",{className:"ml-2",style:{fontSize:"1.0em"},children:t.name})]})})})})},e)},e))})]})})}},9084:function(t,e,r){"use strict";r.d(e,{Ol:function(){return s},Zb:function(){return c},aY:function(){return i},ll:function(){return l}});var a=r(3827),n=r(4090),o=r(2169);let c=n.forwardRef((t,e)=>{let{className:r,...n}=t;return(0,a.jsx)("div",{ref:e,className:(0,o.cn)("rounded-lg border bg-card text-card-foreground shadow-sm",r),...n})});c.displayName="Card";let s=n.forwardRef((t,e)=>{let{className:r,...n}=t;return(0,a.jsx)("div",{ref:e,className:(0,o.cn)("flex flex-col space-y-1.5 p-6",r),...n})});s.displayName="CardHeader";let l=n.forwardRef((t,e)=>{let{className:r,...n}=t;return(0,a.jsx)("h3",{ref:e,className:(0,o.cn)("text-2xl font-semibold leading-none tracking-tight",r),...n})});l.displayName="CardTitle",n.forwardRef((t,e)=>{let{className:r,...n}=t;return(0,a.jsx)("p",{ref:e,className:(0,o.cn)("text-sm text-muted-foreground",r),...n})}).displayName="CardDescription";let i=n.forwardRef((t,e)=>{let{className:r,...n}=t;return(0,a.jsx)("div",{ref:e,className:(0,o.cn)("p-6 pt-0",r),...n})});i.displayName="CardContent",n.forwardRef((t,e)=>{let{className:r,...n}=t;return(0,a.jsx)("div",{ref:e,className:(0,o.cn)("flex items-center p-6 pt-0",r),...n})}).displayName="CardFooter"},3702:function(t,e,r){"use strict";r.d(e,{c:function(){return n},q:function(){return o}});var a=r(2177);let n={Play:"Play",Id:"Id",Code:"Code",ListBullet:"ListBullet",Upload:"Upload",Clock:"Clock",Desktop:"Desktop",Home:"Home"},o=t=>{switch(t){case n.Play:return a.o1U;case n.Id:return a.Xwj;case n.Code:return a.dNJ;case n.ListBullet:return a.jVc;case n.Upload:return a.rG2;case n.Clock:return a.T39;case n.Desktop:return a.ugZ;case n.Home:return a.tvw;default:return}}},2169:function(t,e,r){"use strict";r.d(e,{AR:function(){return x},C5:function(){return u},KX:function(){return w},Kt:function(){return d},Ly:function(){return f},R_:function(){return m},ZH:function(){return y},b5:function(){return g},cn:function(){return o},fL:function(){return i},fi:function(){return l},hs:function(){return j}});var a=r(3167),n=r(1367);function o(){for(var t=arguments.length,e=Array(t),r=0;r{try{let t=await fetch(c+"/entities"),e=await t.json();return Object.keys(e).flatMap(t=>e[t].map(e=>({type:t,uid:"".concat(t,"_").concat(e.id),...e}))).filter(t=>"DISABLED"!==t.status)}catch(t){throw console.error("Error:",t),t}},i=async()=>{try{let t=await fetch(c+"/health"),e=await t.json();return Object.keys(e).map(t=>({name:t,...e[t],capabilities:e[t].capabilities?Object.keys(e[t].capabilities).map(r=>({name:r,...e[t].capabilities[r]})):void 0,components:e[t].components?Object.keys(e[t].components).map(r=>({name:r,...e[t].components[r]})):void 0}))}catch(t){throw console.error("Error:",t),t}},u=async()=>{try{let t=await fetch(c+"/info");return await t.json()}catch(t){throw console.error("Error:",t),t}},d=async()=>{try{let t=await fetch(c+"/metrics"),e=await t.json();return{uptime:e.gauges["jvm.attribute.uptime"].value,memory:e.gauges["jvm.memory.total.used"].value}}catch(t){throw console.error("Error:",t),t}},f=async()=>{try{let t=await fetch(c+"/jobs"),e=await t.json();return p(e.sets)}catch(t){throw console.error("Error:",t),t}},p=t=>{let e=[...t];for(let r of t.flatMap(h))e.some(t=>t.id===r.id)||e.push(r);return e},h=t=>t.followUps.length>0?[t,...t.followUps.flatMap(h)]:[t],m=async()=>{try{let t=await fetch("/api/deployments");return await t.json()}catch(t){throw console.error("Error:",t),t}},w=async()=>{try{let t=await fetch(c+"/values"),e=await t.json();return Object.keys(e).flatMap(t=>e[t].map(e=>({type:t,uid:"".concat(t,"_").concat(e.path),...e})))}catch(t){throw console.error("Error:",t),t}},y=async t=>{try{let e=t.replace(/_/g,"/"),r=await fetch("".concat(s,"/cfg/entities/").concat(e));if(!r.ok)throw Error("HTTP error! status: ".concat(r.status));return await r.json()}catch(t){throw console.error("Error:",t),t}},j=async()=>{try{let t=await fetch(s+"/cfg/global/deployment");if(!t.ok)throw Error("HTTP error! status: ".concat(t.status));return await t.json()}catch(t){throw console.error("Error:",t),t}},x=async t=>{try{let e=t.replace(/_/g,"/"),r=await fetch("".concat(s,"/cfg/values/").concat(e));if(!r.ok)throw Error("HTTP error! status: ".concat(r.status));return await r.json()}catch(t){throw console.error("Error:",t),t}},g=t=>0===t.length?[]:t.sort((t,e)=>100===t.percent&&100!==e.percent?1:100===e.percent&&100!==t.percent?-1:-1===t.startedAt&&e.startedAt>-1?1:-1===e.startedAt&&t.startedAt>-1?-1:t.updatedAt<=0&&e.updatedAt>0?1:e.updatedAt<=0&&t.updatedAt>0?-1:e.startedAt-t.startedAt)}},function(t){t.O(0,[310,658,792,971,69,744],function(){return t(t.s=86)}),_N_E=t.O()}]); \ No newline at end of file diff --git a/xtraplatform-ops/src/main/resources/dashboard/_next/static/chunks/app/layout-85f076f6052b8a97.js b/xtraplatform-ops/src/main/resources/dashboard/_next/static/chunks/app/layout-85f076f6052b8a97.js deleted file mode 100644 index 5c10e406..00000000 --- a/xtraplatform-ops/src/main/resources/dashboard/_next/static/chunks/app/layout-85f076f6052b8a97.js +++ /dev/null @@ -1 +0,0 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[185],{9383:function(e,t,n){Promise.resolve().then(n.bind(n,4456))},4456:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return _}});var r=n(3827),a=n(3763),c=n.n(a),s=n(8792),o=n(2169),l=n(4090);let i=["light","dark"],u="(prefers-color-scheme: dark)",d=(0,l.createContext)(void 0),m=e=>(0,l.useContext)(d)?l.createElement(l.Fragment,null,e.children):l.createElement(f,e),h=["light","dark"],f=e=>{let{forcedTheme:t,disableTransitionOnChange:n=!1,enableSystem:r=!0,enableColorScheme:a=!0,storageKey:c="theme",themes:s=h,defaultTheme:o=r?"system":"light",attribute:m="data-theme",value:f,children:b,nonce:x}=e,[w,j]=(0,l.useState)(()=>p(c,o)),[k,N]=(0,l.useState)(()=>p(c)),E=f?Object.values(f):s,C=(0,l.useCallback)(e=>{let t=e;if(!t)return;"system"===e&&r&&(t=v());let c=f?f[t]:t,s=n?g():null,l=document.documentElement;if("class"===m?(l.classList.remove(...E),c&&l.classList.add(c)):c?l.setAttribute(m,c):l.removeAttribute(m),a){let e=i.includes(o)?o:null,n=i.includes(t)?t:e;l.style.colorScheme=n}null==s||s()},[]),_=(0,l.useCallback)(e=>{j(e);try{localStorage.setItem(c,e)}catch(e){}},[t]),S=(0,l.useCallback)(e=>{N(v(e)),"system"===w&&r&&!t&&C("system")},[w,t]);(0,l.useEffect)(()=>{let e=window.matchMedia(u);return e.addListener(S),S(e),()=>e.removeListener(S)},[S]),(0,l.useEffect)(()=>{let e=e=>{e.key===c&&_(e.newValue||o)};return window.addEventListener("storage",e),()=>window.removeEventListener("storage",e)},[_]),(0,l.useEffect)(()=>{C(null!=t?t:w)},[t,w]);let T=(0,l.useMemo)(()=>({theme:w,setTheme:_,forcedTheme:t,resolvedTheme:"system"===w?k:w,themes:r?[...s,"system"]:s,systemTheme:r?k:void 0}),[w,_,t,k,r,s]);return l.createElement(d.Provider,{value:T},l.createElement(y,{forcedTheme:t,disableTransitionOnChange:n,enableSystem:r,enableColorScheme:a,storageKey:c,themes:s,defaultTheme:o,attribute:m,value:f,children:b,attrs:E,nonce:x}),b)},y=(0,l.memo)(e=>{let{forcedTheme:t,storageKey:n,attribute:r,enableSystem:a,enableColorScheme:c,defaultTheme:s,value:o,attrs:d,nonce:m}=e,h="system"===s,f="class"===r?"var d=document.documentElement,c=d.classList;c.remove(".concat(d.map(e=>"'".concat(e,"'")).join(","),");"):"var d=document.documentElement,n='".concat(r,"',s='setAttribute';"),y=c?i.includes(s)&&s?"if(e==='light'||e==='dark'||!e)d.style.colorScheme=e||'".concat(s,"'"):"if(e==='light'||e==='dark')d.style.colorScheme=e":"",p=function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=!(arguments.length>2)||void 0===arguments[2]||arguments[2],a=o?o[e]:e,s=t?e+"|| ''":"'".concat(a,"'"),l="";return c&&n&&!t&&i.includes(e)&&(l+="d.style.colorScheme = '".concat(e,"';")),"class"===r?l+=t||a?"c.add(".concat(s,")"):"null":a&&(l+="d[s](n,".concat(s,")")),l},g=t?"!function(){".concat(f).concat(p(t),"}()"):a?"!function(){try{".concat(f,"var e=localStorage.getItem('").concat(n,"');if('system'===e||(!e&&").concat(h,")){var t='").concat(u,"',m=window.matchMedia(t);if(m.media!==t||m.matches){").concat(p("dark"),"}else{").concat(p("light"),"}}else if(e){").concat(o?"var x=".concat(JSON.stringify(o),";"):"").concat(p(o?"x[e]":"e",!0),"}").concat(h?"":"else{"+p(s,!1,!1)+"}").concat(y,"}catch(e){}}()"):"!function(){try{".concat(f,"var e=localStorage.getItem('").concat(n,"');if(e){").concat(o?"var x=".concat(JSON.stringify(o),";"):"").concat(p(o?"x[e]":"e",!0),"}else{").concat(p(s,!1,!1),";}").concat(y,"}catch(t){}}();");return l.createElement("script",{nonce:m,dangerouslySetInnerHTML:{__html:g}})},()=>!0),p=(e,t)=>{let n;try{n=localStorage.getItem(e)||void 0}catch(e){}return n||t},g=()=>{let e=document.createElement("style");return e.appendChild(document.createTextNode("*{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}")),document.head.appendChild(e),()=>{window.getComputedStyle(document.body),setTimeout(()=>{document.head.removeChild(e)},1)}},v=e=>(e||(e=window.matchMedia(u)),e.matches?"dark":"light");function b(e){let{children:t,...n}=e;return(0,r.jsx)(m,{...n,children:t})}var x=n(8886),w=n(7907),j=n(3702);function k(e){let{title:t,route:n,icon:a}=e,c=(0,w.usePathname)(),o=a?(0,j.q)(a):null;return(0,r.jsx)(x.z,{variant:c&&c.startsWith(n)?"secondary":"ghost",className:"w-full justify-start",asChild:!0,children:(0,r.jsxs)(s.default,{href:n,children:[o?(0,r.jsx)(o,{className:"mr-2 h-4 w-4"}):null,t]})},t)}function N(e){let{title:t,entries:n}=e;return(0,r.jsxs)("div",{className:"px-3 py-2",children:[(0,r.jsx)("h2",{className:"mb-2 px-4 text-lg font-semibold tracking-tight",children:t}),(0,r.jsx)("div",{className:"space-y-1",children:n.map(e=>{let{title:t,selected:n,route:a,icon:c}=e;return a?(0,r.jsx)(k,{title:t,route:a,icon:c},t):(0,r.jsxs)(x.z,{variant:n?"secondary":"ghost",className:"w-full justify-start",children:[(()=>{let e=c?(0,j.q)(c):null;return e?(0,r.jsx)(e,{className:"mr-2 h-4 w-4"}):null})(),t]},t)})})]})}function E(e){let{className:t,sections:n}=e;return(0,r.jsx)("div",{className:(0,o.cn)("pb-12",t),children:(0,r.jsx)("div",{className:"space-y-4 py-4",children:n.map(e=>{let{title:t,entries:n}=e;return(0,r.jsx)(N,{title:t,entries:n},t)})})})}var C=n(2177);function _(e){let{children:t}=e;return(0,r.jsx)("html",{lang:"en",children:(0,r.jsx)("body",{className:(0,o.cn)("min-h-screen bg-background font-sans antialiased",c().variable),children:(0,r.jsx)(b,{attribute:"class",storageKey:"ldproxy-portal",enableSystem:!0,disableTransitionOnChange:!0,children:(0,r.jsxs)("div",{className:"hidden h-full flex-col md:flex",children:[(0,r.jsxs)("div",{className:"flex flex-col items-start justify-between space-y-2 py-4 px-4 lg:px-8 sm:flex-row sm:items-center sm:space-y-0 md:h-16",children:[(0,r.jsx)("h2",{className:"text-lg font-semibold whitespace-nowrap",children:(0,r.jsxs)(s.default,{href:"/",children:[(0,r.jsx)(C.QGC,{className:"mr-2 h-4 w-4 inline"}),(0,r.jsx)("span",{children:"dashboard"})]})}),(0,r.jsx)("div",{className:"ml-auto flex w-full space-x-2 sm:justify-end",children:(0,r.jsx)(s.default,{href:"/api",target:"_blank",children:(0,r.jsx)("span",{children:"API"})})})]}),(0,r.jsx)("div",{className:"border-t",children:(0,r.jsx)("div",{className:"bg-background",children:(0,r.jsxs)("div",{className:"grid lg:grid-cols-5",children:[(0,r.jsx)(E,{sections:[{title:"",entries:[{title:"Deployment",icon:j.c.Play,route:"/deployment"},{title:"Entities",icon:j.c.Id,route:"/entities"},{title:"Values",icon:j.c.Code,route:"/values"}]}],className:"hidden lg:block"}),(0,r.jsx)("div",{className:"col-span-3 lg:col-span-4 lg:border-l",children:(0,r.jsx)("div",{className:"h-full px-4 py-6 lg:px-8",children:t})})]})})})]})})})})}n(3385)},8886:function(e,t,n){"use strict";n.d(t,{z:function(){return i}});var r=n(3827),a=n(4090),c=n(9143),s=n(7742),o=n(2169);let l=(0,s.j)("inline-flex items-center justify-center whitespace-nowrap rounded-md text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50",{variants:{variant:{default:"bg-primary text-primary-foreground hover:bg-primary/90",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90",outline:"border border-input bg-background hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-10 px-4 py-2",sm:"h-9 rounded-md px-3",lg:"h-11 rounded-md px-8",icon:"h-10 w-10"}},defaultVariants:{variant:"default",size:"default"}}),i=a.forwardRef((e,t)=>{let{className:n,variant:a,size:s,asChild:i=!1,...u}=e,d=i?c.g7:"button";return(0,r.jsx)(d,{className:(0,o.cn)(l({variant:a,size:s,className:n})),ref:t,...u})});i.displayName="Button"},3702:function(e,t,n){"use strict";n.d(t,{c:function(){return a},q:function(){return c}});var r=n(2177);let a={Play:"Play",Id:"Id",Code:"Code",ListBullet:"ListBullet",Upload:"Upload",Clock:"Clock",Desktop:"Desktop"},c=e=>{switch(e){case a.Play:return r.o1U;case a.Id:return r.Xwj;case a.Code:return r.dNJ;case a.ListBullet:return r.jVc;case a.Upload:return r.rG2;case a.Clock:return r.T39;case a.Desktop:return r.ugZ;default:return}}},2169:function(e,t,n){"use strict";n.d(t,{AR:function(){return y},C5:function(){return u},KX:function(){return m},Kt:function(){return d},ZH:function(){return h},cn:function(){return c},fL:function(){return i},fi:function(){return l},hs:function(){return f}});var r=n(3167),a=n(1367);function c(){for(var e=arguments.length,t=Array(e),n=0;n{try{let e=await fetch(s+"/entities"),t=await e.json();return Object.keys(t).flatMap(e=>t[e].map(t=>({type:e,uid:"".concat(e,"_").concat(t.id),...t}))).filter(e=>"DISABLED"!==e.status)}catch(e){throw console.error("Error:",e),e}},i=async()=>{try{let e=await fetch(s+"/health"),t=await e.json();return Object.keys(t).map(e=>({name:e,...t[e],capabilities:t[e].capabilities?Object.keys(t[e].capabilities).map(n=>({name:n,...t[e].capabilities[n]})):void 0,components:t[e].components?Object.keys(t[e].components).map(n=>({name:n,...t[e].components[n]})):void 0}))}catch(e){throw console.error("Error:",e),e}},u=async()=>{try{let e=await fetch(s+"/info");return await e.json()}catch(e){throw console.error("Error:",e),e}},d=async()=>{try{let e=await fetch(s+"/metrics"),t=await e.json();return{uptime:t.gauges["jvm.attribute.uptime"].value,memory:t.gauges["jvm.memory.total.used"].value}}catch(e){throw console.error("Error:",e),e}},m=async()=>{try{let e=await fetch(s+"/values"),t=await e.json();return Object.keys(t).flatMap(e=>t[e].map(t=>({type:e,uid:"".concat(e,"_").concat(t.path),...t})))}catch(e){throw console.error("Error:",e),e}},h=async e=>{try{let t=e.replace(/_/g,"/"),n=await fetch("".concat(o,"/cfg/entities/").concat(t));if(!n.ok)throw Error("HTTP error! status: ".concat(n.status));return await n.json()}catch(e){throw console.error("Error:",e),e}},f=async()=>{try{let e=await fetch(o+"/cfg/global/deployment");if(!e.ok)throw Error("HTTP error! status: ".concat(e.status));return await e.json()}catch(e){throw console.error("Error:",e),e}},y=async e=>{try{let t=e.replace(/_/g,"/"),n=await fetch("".concat(o,"/cfg/values/").concat(t));if(!n.ok)throw Error("HTTP error! status: ".concat(n.status));return await n.json()}catch(e){throw console.error("Error:",e),e}}},3385:function(){},3763:function(e){e.exports={style:{fontFamily:"'__Inter_aaf875', '__Inter_Fallback_aaf875'",fontStyle:"normal"},className:"__className_aaf875",variable:"__variable_aaf875"}}},function(e){e.O(0,[310,285,792,971,69,744],function(){return e(e.s=9383)}),_N_E=e.O()}]); \ No newline at end of file diff --git a/xtraplatform-ops/src/main/resources/dashboard/_next/static/chunks/app/layout-dada1cbc7ecffa87.js b/xtraplatform-ops/src/main/resources/dashboard/_next/static/chunks/app/layout-dada1cbc7ecffa87.js new file mode 100644 index 00000000..de82faa5 --- /dev/null +++ b/xtraplatform-ops/src/main/resources/dashboard/_next/static/chunks/app/layout-dada1cbc7ecffa87.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[185],{9383:function(e,t,n){Promise.resolve().then(n.bind(n,4456))},7907:function(e,t,n){"use strict";var r=n(5313);n.o(r,"notFound")&&n.d(t,{notFound:function(){return r.notFound}}),n.o(r,"usePathname")&&n.d(t,{usePathname:function(){return r.usePathname}}),n.o(r,"useRouter")&&n.d(t,{useRouter:function(){return r.useRouter}}),n.o(r,"useSearchParams")&&n.d(t,{useSearchParams:function(){return r.useSearchParams}})},4456:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return _}});var r=n(3827),a=n(3763),o=n.n(a),c=n(8792),s=n(2169),l=n(4090);let i=["light","dark"],u="(prefers-color-scheme: dark)",d=(0,l.createContext)(void 0),m=e=>(0,l.useContext)(d)?l.createElement(l.Fragment,null,e.children):l.createElement(h,e),f=["light","dark"],h=e=>{let{forcedTheme:t,disableTransitionOnChange:n=!1,enableSystem:r=!0,enableColorScheme:a=!0,storageKey:o="theme",themes:c=f,defaultTheme:s=r?"system":"light",attribute:m="data-theme",value:h,children:b,nonce:w}=e,[j,x]=(0,l.useState)(()=>y(o,s)),[E,k]=(0,l.useState)(()=>y(o)),N=h?Object.values(h):c,C=(0,l.useCallback)(e=>{let t=e;if(!t)return;"system"===e&&r&&(t=g());let o=h?h[t]:t,c=n?v():null,l=document.documentElement;if("class"===m?(l.classList.remove(...N),o&&l.classList.add(o)):o?l.setAttribute(m,o):l.removeAttribute(m),a){let e=i.includes(s)?s:null,n=i.includes(t)?t:e;l.style.colorScheme=n}null==c||c()},[]),S=(0,l.useCallback)(e=>{x(e);try{localStorage.setItem(o,e)}catch(e){}},[t]),_=(0,l.useCallback)(e=>{k(g(e)),"system"===j&&r&&!t&&C("system")},[j,t]);(0,l.useEffect)(()=>{let e=window.matchMedia(u);return e.addListener(_),_(e),()=>e.removeListener(_)},[_]),(0,l.useEffect)(()=>{let e=e=>{e.key===o&&S(e.newValue||s)};return window.addEventListener("storage",e),()=>window.removeEventListener("storage",e)},[S]),(0,l.useEffect)(()=>{C(null!=t?t:j)},[t,j]);let T=(0,l.useMemo)(()=>({theme:j,setTheme:S,forcedTheme:t,resolvedTheme:"system"===j?E:j,themes:r?[...c,"system"]:c,systemTheme:r?E:void 0}),[j,S,t,E,r,c]);return l.createElement(d.Provider,{value:T},l.createElement(p,{forcedTheme:t,disableTransitionOnChange:n,enableSystem:r,enableColorScheme:a,storageKey:o,themes:c,defaultTheme:s,attribute:m,value:h,children:b,attrs:N,nonce:w}),b)},p=(0,l.memo)(e=>{let{forcedTheme:t,storageKey:n,attribute:r,enableSystem:a,enableColorScheme:o,defaultTheme:c,value:s,attrs:d,nonce:m}=e,f="system"===c,h="class"===r?"var d=document.documentElement,c=d.classList;c.remove(".concat(d.map(e=>"'".concat(e,"'")).join(","),");"):"var d=document.documentElement,n='".concat(r,"',s='setAttribute';"),p=o?i.includes(c)&&c?"if(e==='light'||e==='dark'||!e)d.style.colorScheme=e||'".concat(c,"'"):"if(e==='light'||e==='dark')d.style.colorScheme=e":"",y=function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=!(arguments.length>2)||void 0===arguments[2]||arguments[2],a=s?s[e]:e,c=t?e+"|| ''":"'".concat(a,"'"),l="";return o&&n&&!t&&i.includes(e)&&(l+="d.style.colorScheme = '".concat(e,"';")),"class"===r?l+=t||a?"c.add(".concat(c,")"):"null":a&&(l+="d[s](n,".concat(c,")")),l},v=t?"!function(){".concat(h).concat(y(t),"}()"):a?"!function(){try{".concat(h,"var e=localStorage.getItem('").concat(n,"');if('system'===e||(!e&&").concat(f,")){var t='").concat(u,"',m=window.matchMedia(t);if(m.media!==t||m.matches){").concat(y("dark"),"}else{").concat(y("light"),"}}else if(e){").concat(s?"var x=".concat(JSON.stringify(s),";"):"").concat(y(s?"x[e]":"e",!0),"}").concat(f?"":"else{"+y(c,!1,!1)+"}").concat(p,"}catch(e){}}()"):"!function(){try{".concat(h,"var e=localStorage.getItem('").concat(n,"');if(e){").concat(s?"var x=".concat(JSON.stringify(s),";"):"").concat(y(s?"x[e]":"e",!0),"}else{").concat(y(c,!1,!1),";}").concat(p,"}catch(t){}}();");return l.createElement("script",{nonce:m,dangerouslySetInnerHTML:{__html:v}})},()=>!0),y=(e,t)=>{let n;try{n=localStorage.getItem(e)||void 0}catch(e){}return n||t},v=()=>{let e=document.createElement("style");return e.appendChild(document.createTextNode("*{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}")),document.head.appendChild(e),()=>{window.getComputedStyle(document.body),setTimeout(()=>{document.head.removeChild(e)},1)}},g=e=>(e||(e=window.matchMedia(u)),e.matches?"dark":"light");function b(e){let{children:t,...n}=e;return(0,r.jsx)(m,{...n,children:t})}var w=n(8886),j=n(7907),x=n(3702);function E(e){let{title:t,route:n,icon:a}=e,o=(0,j.usePathname)(),s=a?(0,x.q)(a):null;return(0,r.jsx)(w.z,{variant:o&&o.startsWith(n)?"secondary":"ghost",className:"w-full justify-start",asChild:!0,children:(0,r.jsxs)(c.default,{href:n,children:[s?(0,r.jsx)(s,{className:"mr-2 h-4 w-4"}):null,t]})},t)}var k=n(9079);function N(e){let{title:t,entries:n}=e,[a,o]=(0,l.useState)([{name:"",url:""}]),[c,s]=(0,l.useState)(""),i=(0,j.usePathname)(),[u,d]=(0,l.useState)(!0),m=k.env.NEXT_PUBLIC_MULTIPLE_DEPLOYMENTS;if((0,l.useEffect)(()=>{d("/home"===i)},[m,i]),!u||"true"!==m)return(0,r.jsxs)("div",{className:"px-3 py-2",children:[(0,r.jsx)("h2",{className:"mb-2 px-4 text-lg font-semibold tracking-tight",children:c}),(0,r.jsx)("div",{className:"space-y-1",children:n.map(e=>{let{title:t,selected:n,route:a,icon:o}=e;return a?(0,r.jsx)(E,{title:t,route:a,icon:o},t):(0,r.jsxs)(w.z,{variant:n?"secondary":"ghost",className:"w-full justify-start",children:[(()=>{let e=o?(0,x.q)(o):null;return e?(0,r.jsx)(e,{className:"mr-2 h-4 w-4"}):null})(),t]},t)})})]})}function C(e){let{className:t,sections:n}=e;return(0,r.jsx)("div",{className:(0,s.cn)("pb-12",t),children:(0,r.jsx)("div",{className:"space-y-4 py-4",children:n.map(e=>{let{title:t,entries:n}=e;return(0,r.jsx)(N,{title:t,entries:n},t)})})})}var S=n(2177);function _(e){let{children:t}=e;return(0,r.jsx)("html",{lang:"en",children:(0,r.jsx)("body",{className:(0,s.cn)("min-h-screen bg-background font-sans antialiased",o().variable),children:(0,r.jsx)(b,{attribute:"class",storageKey:"ldproxy-portal",enableSystem:!0,disableTransitionOnChange:!0,children:(0,r.jsxs)("div",{className:"hidden h-full flex-col md:flex",children:[(0,r.jsxs)("div",{className:"flex flex-col items-start justify-between space-y-2 py-4 px-4 lg:px-8 sm:flex-row sm:items-center sm:space-y-0 md:h-16",children:[(0,r.jsx)("h2",{className:"text-lg font-semibold whitespace-nowrap",children:(0,r.jsxs)(c.default,{href:"/",children:[(0,r.jsx)(S.QGC,{className:"mr-2 h-4 w-4 inline"}),(0,r.jsx)("span",{children:"dashboard"})]})}),(0,r.jsx)("div",{className:"ml-auto flex w-full space-x-2 sm:justify-end",children:(0,r.jsx)(c.default,{href:"/api",target:"_blank",children:(0,r.jsx)("span",{children:"API"})})})]}),(0,r.jsx)("div",{className:"border-t",children:(0,r.jsx)("div",{className:"bg-background",children:(0,r.jsxs)("div",{className:"grid lg:grid-cols-5",children:[(0,r.jsx)(C,{sections:[{title:"",entries:[{title:"Deployment",icon:x.c.Play,route:"/deployment"},{title:"Entities",icon:x.c.Id,route:"/entities"},{title:"Values",icon:x.c.Code,route:"/values"}]}],className:"hidden lg:block"}),(0,r.jsx)("div",{className:"col-span-3 lg:col-span-4 lg:border-l",children:(0,r.jsx)("div",{className:"h-full px-4 py-6 lg:px-8",children:t})})]})})})]})})})})}n(3385)},8886:function(e,t,n){"use strict";n.d(t,{z:function(){return i}});var r=n(3827),a=n(4090),o=n(9143),c=n(7742),s=n(2169);let l=(0,c.j)("inline-flex items-center justify-center whitespace-nowrap rounded-md text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50",{variants:{variant:{default:"bg-primary text-primary-foreground hover:bg-primary/90",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90",outline:"border border-input bg-background hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-10 px-4 py-2",sm:"h-9 rounded-md px-3",lg:"h-11 rounded-md px-8",icon:"h-10 w-10"}},defaultVariants:{variant:"default",size:"default"}}),i=a.forwardRef((e,t)=>{let{className:n,variant:a,size:c,asChild:i=!1,...u}=e,d=i?o.g7:"button";return(0,r.jsx)(d,{className:(0,s.cn)(l({variant:a,size:c,className:n})),ref:t,...u})});i.displayName="Button"},3702:function(e,t,n){"use strict";n.d(t,{c:function(){return a},q:function(){return o}});var r=n(2177);let a={Play:"Play",Id:"Id",Code:"Code",ListBullet:"ListBullet",Upload:"Upload",Clock:"Clock",Desktop:"Desktop",Home:"Home"},o=e=>{switch(e){case a.Play:return r.o1U;case a.Id:return r.Xwj;case a.Code:return r.dNJ;case a.ListBullet:return r.jVc;case a.Upload:return r.rG2;case a.Clock:return r.T39;case a.Desktop:return r.ugZ;case a.Home:return r.tvw;default:return}}},2169:function(e,t,n){"use strict";n.d(t,{AR:function(){return b},C5:function(){return u},KX:function(){return y},Kt:function(){return d},Ly:function(){return m},R_:function(){return p},ZH:function(){return v},b5:function(){return w},cn:function(){return o},fL:function(){return i},fi:function(){return l},hs:function(){return g}});var r=n(3167),a=n(1367);function o(){for(var e=arguments.length,t=Array(e),n=0;n{try{let e=await fetch(c+"/entities"),t=await e.json();return Object.keys(t).flatMap(e=>t[e].map(t=>({type:e,uid:"".concat(e,"_").concat(t.id),...t}))).filter(e=>"DISABLED"!==e.status)}catch(e){throw console.error("Error:",e),e}},i=async()=>{try{let e=await fetch(c+"/health"),t=await e.json();return Object.keys(t).map(e=>({name:e,...t[e],capabilities:t[e].capabilities?Object.keys(t[e].capabilities).map(n=>({name:n,...t[e].capabilities[n]})):void 0,components:t[e].components?Object.keys(t[e].components).map(n=>({name:n,...t[e].components[n]})):void 0}))}catch(e){throw console.error("Error:",e),e}},u=async()=>{try{let e=await fetch(c+"/info");return await e.json()}catch(e){throw console.error("Error:",e),e}},d=async()=>{try{let e=await fetch(c+"/metrics"),t=await e.json();return{uptime:t.gauges["jvm.attribute.uptime"].value,memory:t.gauges["jvm.memory.total.used"].value}}catch(e){throw console.error("Error:",e),e}},m=async()=>{try{let e=await fetch(c+"/jobs"),t=await e.json();return f(t.sets)}catch(e){throw console.error("Error:",e),e}},f=e=>{let t=[...e];for(let n of e.flatMap(h))t.some(e=>e.id===n.id)||t.push(n);return t},h=e=>e.followUps.length>0?[e,...e.followUps.flatMap(h)]:[e],p=async()=>{try{let e=await fetch("/api/deployments");return await e.json()}catch(e){throw console.error("Error:",e),e}},y=async()=>{try{let e=await fetch(c+"/values"),t=await e.json();return Object.keys(t).flatMap(e=>t[e].map(t=>({type:e,uid:"".concat(e,"_").concat(t.path),...t})))}catch(e){throw console.error("Error:",e),e}},v=async e=>{try{let t=e.replace(/_/g,"/"),n=await fetch("".concat(s,"/cfg/entities/").concat(t));if(!n.ok)throw Error("HTTP error! status: ".concat(n.status));return await n.json()}catch(e){throw console.error("Error:",e),e}},g=async()=>{try{let e=await fetch(s+"/cfg/global/deployment");if(!e.ok)throw Error("HTTP error! status: ".concat(e.status));return await e.json()}catch(e){throw console.error("Error:",e),e}},b=async e=>{try{let t=e.replace(/_/g,"/"),n=await fetch("".concat(s,"/cfg/values/").concat(t));if(!n.ok)throw Error("HTTP error! status: ".concat(n.status));return await n.json()}catch(e){throw console.error("Error:",e),e}},w=e=>0===e.length?[]:e.sort((e,t)=>100===e.percent&&100!==t.percent?1:100===t.percent&&100!==e.percent?-1:-1===e.startedAt&&t.startedAt>-1?1:-1===t.startedAt&&e.startedAt>-1?-1:e.updatedAt<=0&&t.updatedAt>0?1:t.updatedAt<=0&&e.updatedAt>0?-1:t.startedAt-e.startedAt)},3385:function(){},3763:function(e){e.exports={style:{fontFamily:"'__Inter_36bd41', '__Inter_Fallback_36bd41'",fontStyle:"normal"},className:"__className_36bd41",variable:"__variable_36bd41"}},2110:function(e,t,n){"use strict";function r(){return(r=Object.assign?Object.assign.bind():function(e){for(var t=1;tt.forEach(t=>{"function"==typeof t?t(e):null!=t&&(t.current=e)})}function o(){for(var e=arguments.length,t=Array(e),n=0;n{let{children:n,...o}=e,c=a.Children.toArray(n),l=c.find(i);if(l){let e=l.props.children,n=c.map(t=>t!==l?t:a.Children.count(e)>1?a.Children.only(null):(0,a.isValidElement)(e)?e.props.children:null);return(0,a.createElement)(s,(0,r.Z)({},o,{ref:t}),(0,a.isValidElement)(e)?(0,a.cloneElement)(e,void 0,n):null)}return(0,a.createElement)(s,(0,r.Z)({},o,{ref:t}),n)});c.displayName="Slot";let s=(0,a.forwardRef)((e,t)=>{let{children:n,...r}=e;return(0,a.isValidElement)(n)?(0,a.cloneElement)(n,{...function(e,t){let n={...t};for(let r in t){let a=e[r],o=t[r];/^on[A-Z]/.test(r)?a&&o?n[r]=function(){for(var e=arguments.length,t=Array(e),n=0;n1?a.Children.only(null):null});s.displayName="SlotClone";let l=e=>{let{children:t}=e;return(0,a.createElement)(a.Fragment,null,t)};function i(e){return(0,a.isValidElement)(e)&&e.type===l}},7742:function(e,t,n){"use strict";n.d(t,{j:function(){return o}});let r=e=>"boolean"==typeof e?"".concat(e):0===e?"0":e,a=function(){for(var e,t,n=0,r="";nn=>{var o;if((null==t?void 0:t.variants)==null)return a(e,null==n?void 0:n.class,null==n?void 0:n.className);let{variants:c,defaultVariants:s}=t,l=Object.keys(c).map(e=>{let t=null==n?void 0:n[e],a=null==s?void 0:s[e];if(null===t)return null;let o=r(t)||r(a);return c[e][o]}),i=n&&Object.entries(n).reduce((e,t)=>{let[n,r]=t;return void 0===r||(e[n]=r),e},{});return a(e,l,null==t?void 0:null===(o=t.compoundVariants)||void 0===o?void 0:o.reduce((e,t)=>{let{class:n,className:r,...a}=t;return Object.entries(a).every(e=>{let[t,n]=e;return Array.isArray(n)?n.includes({...s,...i}[t]):({...s,...i})[t]===n})?[...e,n,r]:e},[]),null==n?void 0:n.class,null==n?void 0:n.className)}}},function(e){e.O(0,[310,658,792,971,69,744],function(){return e(e.s=9383)}),_N_E=e.O()}]); \ No newline at end of file diff --git a/xtraplatform-ops/src/main/resources/dashboard/_next/static/chunks/app/page-83e28707c73b949f.js b/xtraplatform-ops/src/main/resources/dashboard/_next/static/chunks/app/page-83e28707c73b949f.js new file mode 100644 index 00000000..c7901eb0 --- /dev/null +++ b/xtraplatform-ops/src/main/resources/dashboard/_next/static/chunks/app/page-83e28707c73b949f.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[931],{3318:function(e,t,n){Promise.resolve().then(n.bind(n,8836))},7907:function(e,t,n){"use strict";var r=n(5313);n.o(r,"notFound")&&n.d(t,{notFound:function(){return r.notFound}}),n.o(r,"usePathname")&&n.d(t,{usePathname:function(){return r.usePathname}}),n.o(r,"useRouter")&&n.d(t,{useRouter:function(){return r.useRouter}}),n.o(r,"useSearchParams")&&n.d(t,{useSearchParams:function(){return r.useSearchParams}})},9079:function(e,t,n){"use strict";var r,o;e.exports=(null==(r=n.g.process)?void 0:r.env)&&"object"==typeof(null==(o=n.g.process)?void 0:o.env)?n.g.process:n(3127)},3127:function(e){"use strict";!function(){var t={229:function(e){var t,n,r,o=e.exports={};function u(){throw Error("setTimeout has not been defined")}function i(){throw Error("clearTimeout has not been defined")}function s(e){if(t===setTimeout)return setTimeout(e,0);if((t===u||!t)&&setTimeout)return t=setTimeout,setTimeout(e,0);try{return t(e,0)}catch(n){try{return t.call(null,e,0)}catch(n){return t.call(this,e,0)}}}!function(){try{t="function"==typeof setTimeout?setTimeout:u}catch(e){t=u}try{n="function"==typeof clearTimeout?clearTimeout:i}catch(e){n=i}}();var c=[],a=!1,f=-1;function l(){a&&r&&(a=!1,r.length?c=r.concat(c):f=-1,c.length&&h())}function h(){if(!a){var e=s(l);a=!0;for(var t=c.length;t;){for(r=c,c=[];++f1)for(var n=1;n{"false"===t?e.push("/deployment"):"true"===t&&e.push("/home")},[e,t]),(0,r.jsx)("div",{className:"flex-1 space-y-4 p-8 pt-0",children:(0,r.jsx)("div",{className:"flex items-center justify-between space-y-2"})})}}},function(e){e.O(0,[971,69,744],function(){return e(e.s=3318)}),_N_E=e.O()}]); \ No newline at end of file diff --git a/xtraplatform-ops/src/main/resources/dashboard/_next/static/chunks/app/page-b88e8470efa74c73.js b/xtraplatform-ops/src/main/resources/dashboard/_next/static/chunks/app/page-b88e8470efa74c73.js deleted file mode 100644 index 643119d6..00000000 --- a/xtraplatform-ops/src/main/resources/dashboard/_next/static/chunks/app/page-b88e8470efa74c73.js +++ /dev/null @@ -1 +0,0 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[931],{3318:function(e,n,u){Promise.resolve().then(u.bind(u,8836))},7907:function(e,n,u){"use strict";var t=u(5313);u.o(t,"notFound")&&u.d(n,{notFound:function(){return t.notFound}}),u.o(t,"usePathname")&&u.d(n,{usePathname:function(){return t.usePathname}}),u.o(t,"useRouter")&&u.d(n,{useRouter:function(){return t.useRouter}}),u.o(t,"useSearchParams")&&u.d(n,{useSearchParams:function(){return t.useSearchParams}})},8836:function(e,n,u){"use strict";u.r(n),u.d(n,{default:function(){return o}});var t=u(3827),s=u(4090),r=u(7907);function o(){let e=(0,r.useRouter)();return(0,s.useEffect)(()=>{e.push("/deployment")},[]),(0,t.jsx)("div",{className:"flex-1 space-y-4 p-8 pt-0",children:(0,t.jsx)("div",{className:"flex items-center justify-between space-y-2"})})}}},function(e){e.O(0,[971,69,744],function(){return e(e.s=3318)}),_N_E=e.O()}]); \ No newline at end of file diff --git a/xtraplatform-ops/src/main/resources/dashboard/_next/static/chunks/app/values/details/page-c112a5c848929656.js b/xtraplatform-ops/src/main/resources/dashboard/_next/static/chunks/app/values/details/page-c112a5c848929656.js deleted file mode 100644 index 1943e5a8..00000000 --- a/xtraplatform-ops/src/main/resources/dashboard/_next/static/chunks/app/values/details/page-c112a5c848929656.js +++ /dev/null @@ -1 +0,0 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[582],{6091:function(e,t,r){Promise.resolve().then(r.bind(r,8376))},8376:function(e,t,r){"use strict";r.r(t);var n=r(3827),a=r(8886),o=r(2169),s=r(2177),c=r(4090),i=r(7907),l=r(6054),u=r.n(l);r(1209),r(7613);var d=r(7780);function f(){let[e,t]=(0,c.useState)({}),[r,l]=(0,c.useState)(!1),f=(0,i.useRouter)(),h="",m=(0,i.useSearchParams)();null!==m&&(h=m.get("id"));let p=async()=>{try{if(null!==h){let e=await (0,o.AR)(h);"Method not allowed"===e.message?l(!0):t(e)}}catch(e){l(!0),console.error("Error loading cfg:",e)}};return(0,c.useEffect)(()=>{p()},[]),(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)("div",{className:"flex justify-between items-center",children:[(0,n.jsxs)("div",{className:"flex items-center",children:[(0,n.jsx)("a",{onClick:()=>f.back(),className:"font-bold flex items-center cursor-pointer text-blue-500 hover:text-blue-400",children:(0,n.jsx)(s.wyc,{className:"mr-[-1px] h-6 w-6"})}),(0,n.jsx)("h2",{className:"text-2xl font-semibold tracking-tight ml-2",children:h?h.split("_")[1]:"Not Found..."})]}),(0,n.jsx)("div",{className:"p-8 pt-6",children:(0,n.jsxs)(a.z,{onClick:()=>{p()},className:"font-bold",children:[(0,n.jsx)(s.BGW,{className:"mr-2 h-4 w-4"}),"Reload"]})})]}),(0,n.jsx)("div",{className:"p-8 pt-6",children:(0,n.jsx)("div",{style:{backgroundColor:"#f5f5f5",borderRadius:"8px",padding:"16px",border:"1px solid lightgray"},children:r?"No results.":0===Object.keys(e).length?(0,n.jsxs)("div",{className:"flex items-center",children:[(0,n.jsx)(d.Z,{color:"#123abc",loading:!0,size:20}),(0,n.jsx)("span",{style:{marginLeft:"5px"},children:"Loading..."})]}):Object.entries(e).map(e=>{let[t,r]=e,a=JSON.stringify(r,null,2),o=u().highlight(a,u().languages.json,"json");return(0,n.jsxs)("div",{style:{display:"flex"},children:[(0,n.jsxs)("span",{children:[t,":"]}),(0,n.jsx)("pre",{dangerouslySetInnerHTML:{__html:o},style:{margin:"0 0 0 10px"}})]},t)})})})]})}t.default=()=>(0,n.jsx)(c.Suspense,{fallback:(0,n.jsx)("div",{children:"Loading..."}),children:(0,n.jsx)(f,{})})},8886:function(e,t,r){"use strict";r.d(t,{z:function(){return l}});var n=r(3827),a=r(4090),o=r(9143),s=r(7742),c=r(2169);let i=(0,s.j)("inline-flex items-center justify-center whitespace-nowrap rounded-md text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50",{variants:{variant:{default:"bg-primary text-primary-foreground hover:bg-primary/90",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90",outline:"border border-input bg-background hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-10 px-4 py-2",sm:"h-9 rounded-md px-3",lg:"h-11 rounded-md px-8",icon:"h-10 w-10"}},defaultVariants:{variant:"default",size:"default"}}),l=a.forwardRef((e,t)=>{let{className:r,variant:a,size:s,asChild:l=!1,...u}=e,d=l?o.g7:"button";return(0,n.jsx)(d,{className:(0,c.cn)(i({variant:a,size:s,className:r})),ref:t,...u})});l.displayName="Button"},2169:function(e,t,r){"use strict";r.d(t,{AR:function(){return p},C5:function(){return u},KX:function(){return f},Kt:function(){return d},ZH:function(){return h},cn:function(){return o},fL:function(){return l},fi:function(){return i},hs:function(){return m}});var n=r(3167),a=r(1367);function o(){for(var e=arguments.length,t=Array(e),r=0;r{try{let e=await fetch(s+"/entities"),t=await e.json();return Object.keys(t).flatMap(e=>t[e].map(t=>({type:e,uid:"".concat(e,"_").concat(t.id),...t}))).filter(e=>"DISABLED"!==e.status)}catch(e){throw console.error("Error:",e),e}},l=async()=>{try{let e=await fetch(s+"/health"),t=await e.json();return Object.keys(t).map(e=>({name:e,...t[e],capabilities:t[e].capabilities?Object.keys(t[e].capabilities).map(r=>({name:r,...t[e].capabilities[r]})):void 0,components:t[e].components?Object.keys(t[e].components).map(r=>({name:r,...t[e].components[r]})):void 0}))}catch(e){throw console.error("Error:",e),e}},u=async()=>{try{let e=await fetch(s+"/info");return await e.json()}catch(e){throw console.error("Error:",e),e}},d=async()=>{try{let e=await fetch(s+"/metrics"),t=await e.json();return{uptime:t.gauges["jvm.attribute.uptime"].value,memory:t.gauges["jvm.memory.total.used"].value}}catch(e){throw console.error("Error:",e),e}},f=async()=>{try{let e=await fetch(s+"/values"),t=await e.json();return Object.keys(t).flatMap(e=>t[e].map(t=>({type:e,uid:"".concat(e,"_").concat(t.path),...t})))}catch(e){throw console.error("Error:",e),e}},h=async e=>{try{let t=e.replace(/_/g,"/"),r=await fetch("".concat(c,"/cfg/entities/").concat(t));if(!r.ok)throw Error("HTTP error! status: ".concat(r.status));return await r.json()}catch(e){throw console.error("Error:",e),e}},m=async()=>{try{let e=await fetch(c+"/cfg/global/deployment");if(!e.ok)throw Error("HTTP error! status: ".concat(e.status));return await e.json()}catch(e){throw console.error("Error:",e),e}},p=async e=>{try{let t=e.replace(/_/g,"/"),r=await fetch("".concat(c,"/cfg/values/").concat(t));if(!r.ok)throw Error("HTTP error! status: ".concat(r.status));return await r.json()}catch(e){throw console.error("Error:",e),e}}}},function(e){e.O(0,[310,285,267,971,69,744],function(){return e(e.s=6091)}),_N_E=e.O()}]); \ No newline at end of file diff --git a/xtraplatform-ops/src/main/resources/dashboard/_next/static/chunks/app/values/details/page-d41f4290b2c7fd6a.js b/xtraplatform-ops/src/main/resources/dashboard/_next/static/chunks/app/values/details/page-d41f4290b2c7fd6a.js new file mode 100644 index 00000000..1fdb025a --- /dev/null +++ b/xtraplatform-ops/src/main/resources/dashboard/_next/static/chunks/app/values/details/page-d41f4290b2c7fd6a.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[582],{6091:function(e,t,r){Promise.resolve().then(r.bind(r,8376))},7907:function(e,t,r){"use strict";var n=r(5313);r.o(n,"notFound")&&r.d(t,{notFound:function(){return n.notFound}}),r.o(n,"usePathname")&&r.d(t,{usePathname:function(){return n.usePathname}}),r.o(n,"useRouter")&&r.d(t,{useRouter:function(){return n.useRouter}}),r.o(n,"useSearchParams")&&r.d(t,{useSearchParams:function(){return n.useSearchParams}})},8376:function(e,t,r){"use strict";r.r(t);var n=r(3827),o=r(8886),a=r(2169),s=r(2177),i=r(4090),c=r(7907),l=r(6054),u=r.n(l);r(1209),r(7613);var d=r(7780),f=r(6162);function h(){let[e,t]=(0,i.useState)({}),[r,l]=(0,i.useState)(!1),h=(0,c.useRouter)(),p="",m=(0,c.useSearchParams)();null!==m&&(p=m.get("id"));let y=async()=>{try{if(null!==p){let e=await (0,a.AR)(p);"Method not allowed"===e.message?l(!0):t(e)}}catch(e){l(!0),console.error("Error loading cfg:",e)}};return(0,i.useEffect)(()=>{let e=setInterval(()=>{y()},f.gi);return()=>clearInterval(e)},[]),(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)("div",{className:"flex justify-between items-center",children:[(0,n.jsxs)("div",{className:"flex items-center",children:[(0,n.jsx)("a",{onClick:()=>h.back(),className:"font-bold flex items-center cursor-pointer text-blue-500 hover:text-blue-400",children:(0,n.jsx)(s.wyc,{className:"mr-[-1px] h-6 w-6"})}),(0,n.jsx)("h2",{className:"text-2xl font-semibold tracking-tight ml-2",children:p?p.split("_")[1]:"Not Found..."})]}),(0,n.jsx)("div",{className:"p-8 pt-6",children:(0,n.jsxs)(o.z,{onClick:()=>{y()},className:"font-bold",children:[(0,n.jsx)(s.BGW,{className:"mr-2 h-4 w-4"}),"Reload"]})})]}),(0,n.jsx)("div",{className:"p-8 pt-6",children:(0,n.jsx)("div",{style:{backgroundColor:"#f5f5f5",borderRadius:"8px",padding:"16px",border:"1px solid lightgray"},children:r?"No results.":0===Object.keys(e).length?(0,n.jsxs)("div",{className:"flex items-center",children:[(0,n.jsx)(d.Z,{color:"#123abc",loading:!0,size:20}),(0,n.jsx)("span",{style:{marginLeft:"5px"},children:"Loading..."})]}):Object.entries(e).map(e=>{let[t,r]=e,o=JSON.stringify(r,null,2),a=u().highlight(o,u().languages.json,"json");return(0,n.jsxs)("div",{style:{display:"flex"},children:[(0,n.jsxs)("span",{children:[t,":"]}),(0,n.jsx)("pre",{dangerouslySetInnerHTML:{__html:a},style:{margin:"0 0 0 10px"}})]},t)})})})]})}t.default=()=>(0,n.jsx)(i.Suspense,{fallback:(0,n.jsx)("div",{children:"Loading..."}),children:(0,n.jsx)(h,{})})},8886:function(e,t,r){"use strict";r.d(t,{z:function(){return l}});var n=r(3827),o=r(4090),a=r(9143),s=r(7742),i=r(2169);let c=(0,s.j)("inline-flex items-center justify-center whitespace-nowrap rounded-md text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50",{variants:{variant:{default:"bg-primary text-primary-foreground hover:bg-primary/90",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90",outline:"border border-input bg-background hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-10 px-4 py-2",sm:"h-9 rounded-md px-3",lg:"h-11 rounded-md px-8",icon:"h-10 w-10"}},defaultVariants:{variant:"default",size:"default"}}),l=o.forwardRef((e,t)=>{let{className:r,variant:o,size:s,asChild:l=!1,...u}=e,d=l?a.g7:"button";return(0,n.jsx)(d,{className:(0,i.cn)(c({variant:o,size:s,className:r})),ref:t,...u})});l.displayName="Button"},6162:function(e,t,r){"use strict";r.d(t,{Dh:function(){return n},gi:function(){return a},ke:function(){return o}});let n=!0,o=!1,a=2e3},2169:function(e,t,r){"use strict";r.d(t,{AR:function(){return b},C5:function(){return u},KX:function(){return y},Kt:function(){return d},Ly:function(){return f},R_:function(){return m},ZH:function(){return g},b5:function(){return j},cn:function(){return a},fL:function(){return l},fi:function(){return c},hs:function(){return v}});var n=r(3167),o=r(1367);function a(){for(var e=arguments.length,t=Array(e),r=0;r{try{let e=await fetch(s+"/entities"),t=await e.json();return Object.keys(t).flatMap(e=>t[e].map(t=>({type:e,uid:"".concat(e,"_").concat(t.id),...t}))).filter(e=>"DISABLED"!==e.status)}catch(e){throw console.error("Error:",e),e}},l=async()=>{try{let e=await fetch(s+"/health"),t=await e.json();return Object.keys(t).map(e=>({name:e,...t[e],capabilities:t[e].capabilities?Object.keys(t[e].capabilities).map(r=>({name:r,...t[e].capabilities[r]})):void 0,components:t[e].components?Object.keys(t[e].components).map(r=>({name:r,...t[e].components[r]})):void 0}))}catch(e){throw console.error("Error:",e),e}},u=async()=>{try{let e=await fetch(s+"/info");return await e.json()}catch(e){throw console.error("Error:",e),e}},d=async()=>{try{let e=await fetch(s+"/metrics"),t=await e.json();return{uptime:t.gauges["jvm.attribute.uptime"].value,memory:t.gauges["jvm.memory.total.used"].value}}catch(e){throw console.error("Error:",e),e}},f=async()=>{try{let e=await fetch(s+"/jobs"),t=await e.json();return h(t.sets)}catch(e){throw console.error("Error:",e),e}},h=e=>{let t=[...e];for(let r of e.flatMap(p))t.some(e=>e.id===r.id)||t.push(r);return t},p=e=>e.followUps.length>0?[e,...e.followUps.flatMap(p)]:[e],m=async()=>{try{let e=await fetch("/api/deployments");return await e.json()}catch(e){throw console.error("Error:",e),e}},y=async()=>{try{let e=await fetch(s+"/values"),t=await e.json();return Object.keys(t).flatMap(e=>t[e].map(t=>({type:e,uid:"".concat(e,"_").concat(t.path),...t})))}catch(e){throw console.error("Error:",e),e}},g=async e=>{try{let t=e.replace(/_/g,"/"),r=await fetch("".concat(i,"/cfg/entities/").concat(t));if(!r.ok)throw Error("HTTP error! status: ".concat(r.status));return await r.json()}catch(e){throw console.error("Error:",e),e}},v=async()=>{try{let e=await fetch(i+"/cfg/global/deployment");if(!e.ok)throw Error("HTTP error! status: ".concat(e.status));return await e.json()}catch(e){throw console.error("Error:",e),e}},b=async e=>{try{let t=e.replace(/_/g,"/"),r=await fetch("".concat(i,"/cfg/values/").concat(t));if(!r.ok)throw Error("HTTP error! status: ".concat(r.status));return await r.json()}catch(e){throw console.error("Error:",e),e}},j=e=>0===e.length?[]:e.sort((e,t)=>100===e.percent&&100!==t.percent?1:100===t.percent&&100!==e.percent?-1:-1===e.startedAt&&t.startedAt>-1?1:-1===t.startedAt&&e.startedAt>-1?-1:e.updatedAt<=0&&t.updatedAt>0?1:t.updatedAt<=0&&e.updatedAt>0?-1:t.startedAt-e.startedAt)},2110:function(e,t,r){"use strict";function n(){return(n=Object.assign?Object.assign.bind():function(e){for(var t=1;tt.forEach(t=>{"function"==typeof t?t(e):null!=t&&(t.current=e)})}function a(){for(var e=arguments.length,t=Array(e),r=0;r{let{children:r,...a}=e,s=o.Children.toArray(r),c=s.find(l);if(c){let e=c.props.children,r=s.map(t=>t!==c?t:o.Children.count(e)>1?o.Children.only(null):(0,o.isValidElement)(e)?e.props.children:null);return(0,o.createElement)(i,(0,n.Z)({},a,{ref:t}),(0,o.isValidElement)(e)?(0,o.cloneElement)(e,void 0,r):null)}return(0,o.createElement)(i,(0,n.Z)({},a,{ref:t}),r)});s.displayName="Slot";let i=(0,o.forwardRef)((e,t)=>{let{children:r,...n}=e;return(0,o.isValidElement)(r)?(0,o.cloneElement)(r,{...function(e,t){let r={...t};for(let n in t){let o=e[n],a=t[n];/^on[A-Z]/.test(n)?o&&a?r[n]=function(){for(var e=arguments.length,t=Array(e),r=0;r1?o.Children.only(null):null});i.displayName="SlotClone";let c=e=>{let{children:t}=e;return(0,o.createElement)(o.Fragment,null,t)};function l(e){return(0,o.isValidElement)(e)&&e.type===c}},7742:function(e,t,r){"use strict";r.d(t,{j:function(){return a}});let n=e=>"boolean"==typeof e?"".concat(e):0===e?"0":e,o=function(){for(var e,t,r=0,n="";rr=>{var a;if((null==t?void 0:t.variants)==null)return o(e,null==r?void 0:r.class,null==r?void 0:r.className);let{variants:s,defaultVariants:i}=t,c=Object.keys(s).map(e=>{let t=null==r?void 0:r[e],o=null==i?void 0:i[e];if(null===t)return null;let a=n(t)||n(o);return s[e][a]}),l=r&&Object.entries(r).reduce((e,t)=>{let[r,n]=t;return void 0===n||(e[r]=n),e},{});return o(e,c,null==t?void 0:null===(a=t.compoundVariants)||void 0===a?void 0:a.reduce((e,t)=>{let{class:r,className:n,...o}=t;return Object.entries(o).every(e=>{let[t,r]=e;return Array.isArray(r)?r.includes({...i,...l}[t]):({...i,...l})[t]===r})?[...e,r,n]:e},[]),null==r?void 0:r.class,null==r?void 0:r.className)}}},function(e){e.O(0,[310,658,267,971,69,744],function(){return e(e.s=6091)}),_N_E=e.O()}]); \ No newline at end of file diff --git a/xtraplatform-ops/src/main/resources/dashboard/_next/static/chunks/app/values/page-36f92cb02552aed5.js b/xtraplatform-ops/src/main/resources/dashboard/_next/static/chunks/app/values/page-36f92cb02552aed5.js new file mode 100644 index 00000000..25e5e1cf --- /dev/null +++ b/xtraplatform-ops/src/main/resources/dashboard/_next/static/chunks/app/values/page-36f92cb02552aed5.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[548],{1645:function(e,t,r){Promise.resolve().then(r.bind(r,5949))},5949:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return x}});var a=r(3827),l=r(4747),s=r(5744),n=r(2169),o=r(4090),d=r(3702),i=r(7521),c=r(8886);let u=[{accessorKey:"label",header:e=>{let{column:t}=e;return(0,a.jsxs)(c.z,{variant:"ghost",onClick:()=>t.toggleSorting("asc"===t.getIsSorted()),children:["Name",(0,a.jsx)(i.Z,{className:"ml-2 h-4 w-4"})]})},cell:e=>{let{row:t}=e;return(0,a.jsx)("div",{className:"ml-4",children:t.original.label})}}];var f=r(594),m=r(7907),h=r(6162);function x(){let[e,t]=(0,o.useState)([]),[r,i]=(0,o.useState)("overview"),[c,x]=(0,o.useState)([]),g=(0,m.useRouter)(),p=(0,m.usePathname)(),b=async()=>{try{let e=await (0,n.KX)();t(e);let r=e.map(e=>({label:e.path,type:e.type}));x(r)}catch(e){console.error("Error loading values:",e)}};(0,o.useEffect)(()=>{let e=setInterval(()=>{b()},h.gi);return p&&i(window.location.hash.slice(1)||"overview"),()=>clearInterval(e)},[p]);let v=e.map(e=>e.type).filter((e,t,r)=>r.indexOf(e)===t),j=e.reduce((e,t)=>{let r=t.type;return e[r]||(e[r]=0),e[r]++,e},{});return(0,a.jsxs)("div",{className:"flex-1 space-y-4 p-8 pt-0",children:[(0,a.jsx)("div",{className:"flex items-center justify-between space-y-2",children:(0,a.jsx)("h2",{className:"text-2xl font-semibold tracking-tight",children:"Values"})}),(0,a.jsxs)(s.mQ,{value:r,onValueChange:e=>{i(e),g.push("".concat(p,"#").concat(e))},className:"h-full space-y-6",children:[(0,a.jsx)("div",{className:"space-between flex items-center",children:(0,a.jsxs)(s.dr,{children:[(0,a.jsx)(s.SP,{value:"overview",children:(0,a.jsx)("span",{children:"Overview"})}),v.map(e=>(0,a.jsx)(s.SP,{value:e,children:(0,a.jsx)("span",{children:e})},e))]})}),(0,a.jsx)(s.nU,{value:"overview",children:(0,a.jsx)("div",{className:"grid gap-4 md:grid-cols-2 lg:grid-cols-4",children:v.map(e=>(0,a.jsx)(l.Z,{main:e,total:j[e],onClick:()=>{i(e)},Icon:(0,d.q)("Code"),route:"".concat(p,"#").concat(e)},e))})}),v.map(e=>(0,a.jsx)(s.nU,{value:e,children:(0,a.jsx)(f.w,{columns:u,data:c.filter(t=>t.type===e)})},e))]})]})}},594:function(e,t,r){"use strict";r.d(t,{w:function(){return h}});var a=r(3827),l=r(4090),s=r(1006),n=r(3280),o=r(2169);let d=l.forwardRef((e,t)=>{let{className:r,...l}=e;return(0,a.jsx)("div",{className:"relative w-full overflow-auto",children:(0,a.jsx)("table",{ref:t,className:(0,o.cn)("w-full caption-bottom text-sm",r),...l})})});d.displayName="Table";let i=l.forwardRef((e,t)=>{let{className:r,...l}=e;return(0,a.jsx)("thead",{ref:t,className:(0,o.cn)("[&_tr]:border-b",r),...l})});i.displayName="TableHeader";let c=l.forwardRef((e,t)=>{let{className:r,...l}=e;return(0,a.jsx)("tbody",{ref:t,className:(0,o.cn)("[&_tr:last-child]:border-0",r),...l})});c.displayName="TableBody",l.forwardRef((e,t)=>{let{className:r,...l}=e;return(0,a.jsx)("tfoot",{ref:t,className:(0,o.cn)("border-t bg-muted/50 font-medium [&>tr]:last:border-b-0",r),...l})}).displayName="TableFooter";let u=l.forwardRef((e,t)=>{let{className:r,...l}=e;return(0,a.jsx)("tr",{ref:t,className:(0,o.cn)("border-b transition-colors hover:bg-muted/50 data-[state=selected]:bg-muted",r),...l})});u.displayName="TableRow";let f=l.forwardRef((e,t)=>{let{className:r,...l}=e;return(0,a.jsx)("th",{ref:t,className:(0,o.cn)("h-10 px-2 text-left align-middle font-medium text-muted-foreground [&:has([role=checkbox])]:pr-0 [&>[role=checkbox]]:translate-y-[2px]",r),...l})});f.displayName="TableHead";let m=l.forwardRef((e,t)=>{let{className:r,...l}=e;return(0,a.jsx)("td",{ref:t,className:(0,o.cn)("p-2 align-middle [&:has([role=checkbox])]:pr-0 [&>[role=checkbox]]:translate-y-[2px]",r),...l})});function h(e){var t;let{columns:r,data:o}=e,[h,x]=l.useState({}),[g,p]=l.useState([]),[b,v]=l.useState([]),[j,w]=l.useState({}),y=(0,s.b7)({data:o,columns:r,getCoreRowModel:(0,n.sC)(),onSortingChange:v,getSortedRowModel:(0,n.tj)(),onColumnFiltersChange:p,getFilteredRowModel:(0,n.vL)(),onColumnVisibilityChange:x,getExpandedRowModel:(0,n.rV)(),getSubRows:e=>e.subRows,onExpandedChange:w,state:{sorting:b,columnFilters:g,columnVisibility:h,expanded:j}});return(0,a.jsx)("div",{children:(0,a.jsx)("div",{className:"rounded-md border",children:(0,a.jsxs)(d,{children:[(0,a.jsx)(i,{children:y.getHeaderGroups().map(e=>(0,a.jsx)(u,{children:e.headers.map(e=>(0,a.jsx)(f,{children:e.isPlaceholder?null:(0,s.ie)(e.column.columnDef.header,e.getContext())},e.id))},e.id))}),(0,a.jsx)(c,{children:(null===(t=y.getRowModel().rows)||void 0===t?void 0:t.length)?y.getRowModel().rows.map(e=>(0,a.jsx)(u,{"data-state":e.getIsSelected()&&"selected",className:"".concat(0===e.depth?"":"bg-muted"),children:e.getVisibleCells().map(e=>(0,a.jsx)(m,{children:(0,s.ie)(e.column.columnDef.cell,e.getContext())},e.id))},e.id)):(0,a.jsx)(u,{children:(0,a.jsx)(m,{colSpan:r.length,className:"h-24 text-center",children:"No results."})})})]})})})}m.displayName="TableCell",l.forwardRef((e,t)=>{let{className:r,...l}=e;return(0,a.jsx)("caption",{ref:t,className:(0,o.cn)("mt-4 text-sm text-muted-foreground",r),...l})}).displayName="TableCaption"},8886:function(e,t,r){"use strict";r.d(t,{z:function(){return i}});var a=r(3827),l=r(4090),s=r(9143),n=r(7742),o=r(2169);let d=(0,n.j)("inline-flex items-center justify-center whitespace-nowrap rounded-md text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50",{variants:{variant:{default:"bg-primary text-primary-foreground hover:bg-primary/90",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90",outline:"border border-input bg-background hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-10 px-4 py-2",sm:"h-9 rounded-md px-3",lg:"h-11 rounded-md px-8",icon:"h-10 w-10"}},defaultVariants:{variant:"default",size:"default"}}),i=l.forwardRef((e,t)=>{let{className:r,variant:l,size:n,asChild:i=!1,...c}=e,u=i?s.g7:"button";return(0,a.jsx)(u,{className:(0,o.cn)(d({variant:l,size:n,className:r})),ref:t,...c})});i.displayName="Button"}},function(e){e.O(0,[310,658,792,594,788,617,971,69,744],function(){return e(e.s=1645)}),_N_E=e.O()}]); \ No newline at end of file diff --git a/xtraplatform-ops/src/main/resources/dashboard/_next/static/chunks/app/values/page-e4c21ceec8b7b171.js b/xtraplatform-ops/src/main/resources/dashboard/_next/static/chunks/app/values/page-e4c21ceec8b7b171.js deleted file mode 100644 index 8fe3df82..00000000 --- a/xtraplatform-ops/src/main/resources/dashboard/_next/static/chunks/app/values/page-e4c21ceec8b7b171.js +++ /dev/null @@ -1 +0,0 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[548],{1645:function(e,t,r){Promise.resolve().then(r.bind(r,5949))},5949:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return x}});var a=r(3827),n=r(4747),s=r(5744),l=r(2169),o=r(4090),i=r(3702),c=r(7521),d=r(8886);let u=[{accessorKey:"label",header:e=>{let{column:t}=e;return(0,a.jsxs)(d.z,{variant:"ghost",onClick:()=>t.toggleSorting("asc"===t.getIsSorted()),children:["Name",(0,a.jsx)(c.Z,{className:"ml-2 h-4 w-4"})]})},cell:e=>{let{row:t}=e;return(0,a.jsx)("div",{className:"ml-4",children:t.original.label})}}];var f=r(594),m=r(7907);function x(){let[e,t]=(0,o.useState)([]),[r,c]=(0,o.useState)("overview"),[d,x]=(0,o.useState)([]),p=(0,m.useRouter)(),h=(0,m.usePathname)(),g=async()=>{try{let e=await (0,l.KX)();t(e);let r=e.map(e=>({label:e.path,type:e.type}));x(r)}catch(e){console.error("Error loading values:",e)}};(0,o.useEffect)(()=>{g(),h&&c(window.location.hash.slice(1)||"overview")},[]);let b=e.map(e=>e.type).filter((e,t,r)=>r.indexOf(e)===t),v=e.reduce((e,t)=>{let r=t.type;return e[r]||(e[r]=0),e[r]++,e},{});return(0,a.jsxs)("div",{className:"flex-1 space-y-4 p-8 pt-0",children:[(0,a.jsx)("div",{className:"flex items-center justify-between space-y-2",children:(0,a.jsx)("h2",{className:"text-2xl font-semibold tracking-tight",children:"Values"})}),(0,a.jsxs)(s.mQ,{value:r,onValueChange:e=>{c(e),p.push("".concat(h,"#").concat(e))},className:"h-full space-y-6",children:[(0,a.jsx)("div",{className:"space-between flex items-center",children:(0,a.jsxs)(s.dr,{children:[(0,a.jsx)(s.SP,{value:"overview",children:(0,a.jsx)("span",{children:"Overview"})}),b.map(e=>(0,a.jsx)(s.SP,{value:e,children:(0,a.jsx)("span",{children:e})},e))]})}),(0,a.jsx)(s.nU,{value:"overview",children:(0,a.jsx)("div",{className:"grid gap-4 md:grid-cols-2 lg:grid-cols-4",children:b.map(e=>(0,a.jsx)(n.Z,{main:e,total:v[e],onClick:()=>{c(e)},Icon:(0,i.q)("Code"),route:"".concat(h,"#").concat(e)},e))})}),b.map(e=>(0,a.jsx)(s.nU,{value:e,children:(0,a.jsx)(f.w,{columns:u,data:d.filter(t=>t.type===e)})},e))]})]})}},594:function(e,t,r){"use strict";r.d(t,{w:function(){return x}});var a=r(3827),n=r(4090),s=r(1006),l=r(3280),o=r(2169);let i=n.forwardRef((e,t)=>{let{className:r,...n}=e;return(0,a.jsx)("div",{className:"relative w-full overflow-auto",children:(0,a.jsx)("table",{ref:t,className:(0,o.cn)("w-full caption-bottom text-sm",r),...n})})});i.displayName="Table";let c=n.forwardRef((e,t)=>{let{className:r,...n}=e;return(0,a.jsx)("thead",{ref:t,className:(0,o.cn)("[&_tr]:border-b",r),...n})});c.displayName="TableHeader";let d=n.forwardRef((e,t)=>{let{className:r,...n}=e;return(0,a.jsx)("tbody",{ref:t,className:(0,o.cn)("[&_tr:last-child]:border-0",r),...n})});d.displayName="TableBody",n.forwardRef((e,t)=>{let{className:r,...n}=e;return(0,a.jsx)("tfoot",{ref:t,className:(0,o.cn)("border-t bg-muted/50 font-medium [&>tr]:last:border-b-0",r),...n})}).displayName="TableFooter";let u=n.forwardRef((e,t)=>{let{className:r,...n}=e;return(0,a.jsx)("tr",{ref:t,className:(0,o.cn)("border-b transition-colors hover:bg-muted/50 data-[state=selected]:bg-muted",r),...n})});u.displayName="TableRow";let f=n.forwardRef((e,t)=>{let{className:r,...n}=e;return(0,a.jsx)("th",{ref:t,className:(0,o.cn)("h-10 px-2 text-left align-middle font-medium text-muted-foreground [&:has([role=checkbox])]:pr-0 [&>[role=checkbox]]:translate-y-[2px]",r),...n})});f.displayName="TableHead";let m=n.forwardRef((e,t)=>{let{className:r,...n}=e;return(0,a.jsx)("td",{ref:t,className:(0,o.cn)("p-2 align-middle [&:has([role=checkbox])]:pr-0 [&>[role=checkbox]]:translate-y-[2px]",r),...n})});function x(e){var t;let{columns:r,data:o}=e,[x,p]=n.useState({}),[h,g]=n.useState([]),[b,v]=n.useState([]),[y,w]=n.useState({}),j=(0,s.b7)({data:o,columns:r,getCoreRowModel:(0,l.sC)(),onSortingChange:v,getSortedRowModel:(0,l.tj)(),onColumnFiltersChange:g,getFilteredRowModel:(0,l.vL)(),onColumnVisibilityChange:p,getExpandedRowModel:(0,l.rV)(),getSubRows:e=>e.subRows,onExpandedChange:w,state:{sorting:b,columnFilters:h,columnVisibility:x,expanded:y}});return(0,a.jsx)("div",{children:(0,a.jsx)("div",{className:"rounded-md border",children:(0,a.jsxs)(i,{children:[(0,a.jsx)(c,{children:j.getHeaderGroups().map(e=>(0,a.jsx)(u,{children:e.headers.map(e=>(0,a.jsx)(f,{children:e.isPlaceholder?null:(0,s.ie)(e.column.columnDef.header,e.getContext())},e.id))},e.id))}),(0,a.jsx)(d,{children:(null===(t=j.getRowModel().rows)||void 0===t?void 0:t.length)?j.getRowModel().rows.map(e=>(0,a.jsx)(u,{"data-state":e.getIsSelected()&&"selected",className:"".concat(0===e.depth?"":"bg-muted"),children:e.getVisibleCells().map(e=>(0,a.jsx)(m,{children:(0,s.ie)(e.column.columnDef.cell,e.getContext())},e.id))},e.id)):(0,a.jsx)(u,{children:(0,a.jsx)(m,{colSpan:r.length,className:"h-24 text-center",children:"No results."})})})]})})})}m.displayName="TableCell",n.forwardRef((e,t)=>{let{className:r,...n}=e;return(0,a.jsx)("caption",{ref:t,className:(0,o.cn)("mt-4 text-sm text-muted-foreground",r),...n})}).displayName="TableCaption"},4747:function(e,t,r){"use strict";r.d(t,{Z:function(){return c}});var a=r(3827),n=r(8792),s=r(9084),l=r(2177),o=r(5479);let i=e=>{let{footer:t}=e,r=t.includes("/")?t.split("/")[1]:t.includes("OGC_API")?t:null;return console.log("footer: ",t),console.log("type1: ",r),(0,a.jsx)(a.Fragment,{children:t?t.split(" ").map((e,t,n)=>"available"!==e||isNaN(Number(n[t-1]))?"limited"!==e||isNaN(Number(n[t-1]))?"unavailable"!==e||isNaN(Number(n[t-1]))?null!==r?(0,a.jsx)(o.C,{variant:"secondary",children:r},r):isNaN(Number(e))||"available"!==n[t+1]&&"unavailable"!==n[t+1]&&"limited"!==n[t+1]?e+" ":null:[(0,a.jsxs)("span",{className:"text-destructive mr-2",style:{display:"flex",alignItems:"center"},children:[(0,a.jsx)(l.xrR,{className:"text-destructive",style:{marginRight:"3px"}},"CheckCircledIcon"),n[t-1]," ",e]},t)]:[(0,a.jsxs)("span",{className:"text-warning mr-2",style:{display:"flex",alignItems:"center"},children:[(0,a.jsx)(l.LPM,{className:"text-warning",style:{marginRight:"3px"}},"CheckCircledIcon"),n[t-1]," ",e]},t)]:[(0,a.jsxs)("span",{className:"text-success mr-2",style:{display:"flex",alignItems:"center",marginRight:"15px"},children:[(0,a.jsx)(l.NhS,{className:"text-success",style:{marginRight:"3px"}},"CheckCircledIcon"),n[t-1]," ",e]},t)]):null})};function c(e){let{header:t,main:r,footer:l,route:o,total:c,Icon:d,...u}=e,f="AVAILABLE"===t||"ACTIVE"===t||"true"===t?"text-success":"LIMITED"===t?"text-warning":"UNAVAILABLE"===t||"false"===t?"text-destructive":"text-blue-700";return(0,a.jsx)(n.default,{href:o||"#",children:(0,a.jsxs)(s.Zb,{className:"shadow-lg hover:bg-gray-100 transition-colors duration-200",...u,children:[(0,a.jsx)(s.Ol,{className:"flex flex-row items-center justify-between space-y-0 pb-0",children:(0,a.jsx)(s.ll,{className:"text-sm font-semibold ".concat(f).concat(t?"":"text-2xl font-bold mb-1"),children:t||(0,a.jsx)("span",{className:"text-2xl font-bold mb-1",children:c})})}),(0,a.jsxs)(s.aY,{children:[(0,a.jsxs)("div",{className:"text-2xl font-bold",style:{display:"flex",flexDirection:"row",marginBottom:"5px",alignItems:"center",justifyContent:"flex-start",gap:"10px"},children:[d?(0,a.jsx)(d,{className:"h-6 w-6 text-muted-foreground"}):null,(0,a.jsx)("span",{style:{textOverflow:"ellipsis",overflow:"hidden",whiteSpace:"nowrap"},title:"string"==typeof r?r:"",children:r})]}),(0,a.jsx)("div",{style:{display:"flex",flexWrap:"wrap"},children:(0,a.jsx)("p",{className:"text-xs text-muted-foreground",style:{display:"flex",flexDirection:"row"},children:l?(0,a.jsx)(i,{footer:l}):null})})]})]})})}},5479:function(e,t,r){"use strict";r.d(t,{C:function(){return o}});var a=r(3827);r(4090);var n=r(7742),s=r(2169);let l=(0,n.j)("inline-flex items-center rounded-full border px-2.5 py-0.5 text-xs font-semibold transition-colors focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2",{variants:{variant:{default:"border-transparent bg-primary text-primary-foreground hover:bg-primary/80",secondary:"border-transparent bg-secondary text-secondary-foreground hover:bg-secondary/80",destructive:"border-transparent bg-destructive text-destructive-foreground hover:bg-destructive/80",success:"border-transparent bg-success text-success-foreground hover:bg-success/80",warning:"border-transparent bg-warning text-warning-foreground hover:bg-warning/80",outline:"text-foreground"}},defaultVariants:{variant:"default"}});function o(e){let{className:t,variant:r,...n}=e;return(0,a.jsx)("div",{className:(0,s.cn)(l({variant:r}),t),...n})}},8886:function(e,t,r){"use strict";r.d(t,{z:function(){return c}});var a=r(3827),n=r(4090),s=r(9143),l=r(7742),o=r(2169);let i=(0,l.j)("inline-flex items-center justify-center whitespace-nowrap rounded-md text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50",{variants:{variant:{default:"bg-primary text-primary-foreground hover:bg-primary/90",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90",outline:"border border-input bg-background hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-10 px-4 py-2",sm:"h-9 rounded-md px-3",lg:"h-11 rounded-md px-8",icon:"h-10 w-10"}},defaultVariants:{variant:"default",size:"default"}}),c=n.forwardRef((e,t)=>{let{className:r,variant:n,size:l,asChild:c=!1,...d}=e,u=c?s.g7:"button";return(0,a.jsx)(u,{className:(0,o.cn)(i({variant:n,size:l,className:r})),ref:t,...d})});c.displayName="Button"},9084:function(e,t,r){"use strict";r.d(t,{Ol:function(){return o},Zb:function(){return l},aY:function(){return c},ll:function(){return i}});var a=r(3827),n=r(4090),s=r(2169);let l=n.forwardRef((e,t)=>{let{className:r,...n}=e;return(0,a.jsx)("div",{ref:t,className:(0,s.cn)("rounded-lg border bg-card text-card-foreground shadow-sm",r),...n})});l.displayName="Card";let o=n.forwardRef((e,t)=>{let{className:r,...n}=e;return(0,a.jsx)("div",{ref:t,className:(0,s.cn)("flex flex-col space-y-1.5 p-6",r),...n})});o.displayName="CardHeader";let i=n.forwardRef((e,t)=>{let{className:r,...n}=e;return(0,a.jsx)("h3",{ref:t,className:(0,s.cn)("text-2xl font-semibold leading-none tracking-tight",r),...n})});i.displayName="CardTitle",n.forwardRef((e,t)=>{let{className:r,...n}=e;return(0,a.jsx)("p",{ref:t,className:(0,s.cn)("text-sm text-muted-foreground",r),...n})}).displayName="CardDescription";let c=n.forwardRef((e,t)=>{let{className:r,...n}=e;return(0,a.jsx)("div",{ref:t,className:(0,s.cn)("p-6 pt-0",r),...n})});c.displayName="CardContent",n.forwardRef((e,t)=>{let{className:r,...n}=e;return(0,a.jsx)("div",{ref:t,className:(0,s.cn)("flex items-center p-6 pt-0",r),...n})}).displayName="CardFooter"},5744:function(e,t,r){"use strict";r.d(t,{SP:function(){return c},dr:function(){return i},mQ:function(){return o},nU:function(){return d}});var a=r(3827),n=r(4090),s=r(1639),l=r(2169);let o=s.fC,i=n.forwardRef((e,t)=>{let{className:r,...n}=e;return(0,a.jsx)(s.aV,{ref:t,className:(0,l.cn)("inline-flex h-10 items-center justify-center rounded-md bg-muted p-1 text-muted-foreground",r),...n})});i.displayName=s.aV.displayName;let c=n.forwardRef((e,t)=>{let{className:r,...n}=e;return(0,a.jsx)(s.xz,{ref:t,className:(0,l.cn)("inline-flex items-center justify-center whitespace-nowrap rounded-sm px-3 py-1.5 text-sm font-medium ring-offset-background transition-all focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 data-[state=active]:bg-background data-[state=active]:text-foreground data-[state=active]:shadow-sm",r),...n})});c.displayName=s.xz.displayName;let d=n.forwardRef((e,t)=>{let{className:r,...n}=e;return(0,a.jsx)(s.VY,{ref:t,className:(0,l.cn)("mt-2 ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2",r),...n})});d.displayName=s.VY.displayName},3702:function(e,t,r){"use strict";r.d(t,{c:function(){return n},q:function(){return s}});var a=r(2177);let n={Play:"Play",Id:"Id",Code:"Code",ListBullet:"ListBullet",Upload:"Upload",Clock:"Clock",Desktop:"Desktop"},s=e=>{switch(e){case n.Play:return a.o1U;case n.Id:return a.Xwj;case n.Code:return a.dNJ;case n.ListBullet:return a.jVc;case n.Upload:return a.rG2;case n.Clock:return a.T39;case n.Desktop:return a.ugZ;default:return}}},2169:function(e,t,r){"use strict";r.d(t,{AR:function(){return p},C5:function(){return d},KX:function(){return f},Kt:function(){return u},ZH:function(){return m},cn:function(){return s},fL:function(){return c},fi:function(){return i},hs:function(){return x}});var a=r(3167),n=r(1367);function s(){for(var e=arguments.length,t=Array(e),r=0;r{try{let e=await fetch(l+"/entities"),t=await e.json();return Object.keys(t).flatMap(e=>t[e].map(t=>({type:e,uid:"".concat(e,"_").concat(t.id),...t}))).filter(e=>"DISABLED"!==e.status)}catch(e){throw console.error("Error:",e),e}},c=async()=>{try{let e=await fetch(l+"/health"),t=await e.json();return Object.keys(t).map(e=>({name:e,...t[e],capabilities:t[e].capabilities?Object.keys(t[e].capabilities).map(r=>({name:r,...t[e].capabilities[r]})):void 0,components:t[e].components?Object.keys(t[e].components).map(r=>({name:r,...t[e].components[r]})):void 0}))}catch(e){throw console.error("Error:",e),e}},d=async()=>{try{let e=await fetch(l+"/info");return await e.json()}catch(e){throw console.error("Error:",e),e}},u=async()=>{try{let e=await fetch(l+"/metrics"),t=await e.json();return{uptime:t.gauges["jvm.attribute.uptime"].value,memory:t.gauges["jvm.memory.total.used"].value}}catch(e){throw console.error("Error:",e),e}},f=async()=>{try{let e=await fetch(l+"/values"),t=await e.json();return Object.keys(t).flatMap(e=>t[e].map(t=>({type:e,uid:"".concat(e,"_").concat(t.path),...t})))}catch(e){throw console.error("Error:",e),e}},m=async e=>{try{let t=e.replace(/_/g,"/"),r=await fetch("".concat(o,"/cfg/entities/").concat(t));if(!r.ok)throw Error("HTTP error! status: ".concat(r.status));return await r.json()}catch(e){throw console.error("Error:",e),e}},x=async()=>{try{let e=await fetch(o+"/cfg/global/deployment");if(!e.ok)throw Error("HTTP error! status: ".concat(e.status));return await e.json()}catch(e){throw console.error("Error:",e),e}},p=async e=>{try{let t=e.replace(/_/g,"/"),r=await fetch("".concat(o,"/cfg/values/").concat(t));if(!r.ok)throw Error("HTTP error! status: ".concat(r.status));return await r.json()}catch(e){throw console.error("Error:",e),e}}}},function(e){e.O(0,[310,285,792,639,788,971,69,744],function(){return e(e.s=1645)}),_N_E=e.O()}]); \ No newline at end of file diff --git a/xtraplatform-ops/src/main/resources/dashboard/_next/static/chunks/main-19830238f7518458.js b/xtraplatform-ops/src/main/resources/dashboard/_next/static/chunks/main-032c05b369c6280b.js similarity index 70% rename from xtraplatform-ops/src/main/resources/dashboard/_next/static/chunks/main-19830238f7518458.js rename to xtraplatform-ops/src/main/resources/dashboard/_next/static/chunks/main-032c05b369c6280b.js index c1f75993..d57ecca5 100644 --- a/xtraplatform-ops/src/main/resources/dashboard/_next/static/chunks/main-19830238f7518458.js +++ b/xtraplatform-ops/src/main/resources/dashboard/_next/static/chunks/main-032c05b369c6280b.js @@ -1 +1 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[179],{4878:function(e,t){"use strict";function r(){return""}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getDeploymentIdQueryOrEmptyString",{enumerable:!0,get:function(){return r}})},37:function(){"trimStart"in String.prototype||(String.prototype.trimStart=String.prototype.trimLeft),"trimEnd"in String.prototype||(String.prototype.trimEnd=String.prototype.trimRight),"description"in Symbol.prototype||Object.defineProperty(Symbol.prototype,"description",{configurable:!0,get:function(){var e=/\((.*)\)/.exec(this.toString());return e?e[1]:void 0}}),Array.prototype.flat||(Array.prototype.flat=function(e,t){return t=this.concat.apply([],this),e>1&&t.some(Array.isArray)?t.flat(e-1):t},Array.prototype.flatMap=function(e,t){return this.map(e,t).flat()}),Promise.prototype.finally||(Promise.prototype.finally=function(e){if("function"!=typeof e)return this.then(e,e);var t=this.constructor||Promise;return this.then(function(r){return t.resolve(e()).then(function(){return r})},function(r){return t.resolve(e()).then(function(){throw r})})}),Object.fromEntries||(Object.fromEntries=function(e){return Array.from(e).reduce(function(e,t){return e[t[0]]=t[1],e},{})}),Array.prototype.at||(Array.prototype.at=function(e){var t=Math.trunc(e)||0;if(t<0&&(t+=this.length),!(t<0||t>=this.length))return this[t]})},9290:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"addBasePath",{enumerable:!0,get:function(){return a}});let n=r(138),o=r(4648);function a(e,t){return(0,o.normalizePathTrailingSlash)((0,n.addPathPrefix)(e,""))}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},2208:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"addLocale",{enumerable:!0,get:function(){return n}}),r(4648);let n=function(e){for(var t=arguments.length,r=Array(t>1?t-1:0),n=1;n25){window.location.reload();return}clearTimeout(o),o=setTimeout(t,i>5?5e3:1e3)}r&&r.close();let{hostname:u,port:l}=location,s=function(e){let t=location.protocol;try{t=new URL(e).protocol}catch(e){}return"http:"===t?"ws":"wss"}(e.assetPrefix||""),c=e.assetPrefix.replace(/^\/+/,""),f=s+"://"+u+":"+l+(c?"/"+c:"");c.startsWith("http")&&(f=s+"://"+c.split("://",2)[1]),(r=new window.WebSocket(""+f+e.path)).onopen=function(){i=0,window.console.log("[HMR] connected")},r.onerror=a,r.onclose=a,r.onmessage=function(e){let t=JSON.parse(e.data);for(let e of n)e(t)}}()}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},7232:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"hasBasePath",{enumerable:!0,get:function(){return o}});let n=r(7559);function o(e){return(0,n.pathHasPrefix)(e,"")}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},7113:function(e,t){"use strict";let r;Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{DOMAttributeNames:function(){return n},isEqualNode:function(){return a},default:function(){return i}});let n={acceptCharset:"accept-charset",className:"class",htmlFor:"for",httpEquiv:"http-equiv",noModule:"noModule"};function o(e){let{type:t,props:r}=e,o=document.createElement(t);for(let e in r){if(!r.hasOwnProperty(e)||"children"===e||"dangerouslySetInnerHTML"===e||void 0===r[e])continue;let a=n[e]||e.toLowerCase();"script"===t&&("async"===a||"defer"===a||"noModule"===a)?o[a]=!!r[e]:o.setAttribute(a,r[e])}let{children:a,dangerouslySetInnerHTML:i}=r;return i?o.innerHTML=i.__html||"":a&&(o.textContent="string"==typeof a?a:Array.isArray(a)?a.join(""):""),o}function a(e,t){if(e instanceof HTMLElement&&t instanceof HTMLElement){let r=t.getAttribute("nonce");if(r&&!e.getAttribute("nonce")){let n=t.cloneNode(!0);return n.setAttribute("nonce",""),n.nonce=r,r===e.nonce&&e.isEqualNode(n)}}return e.isEqualNode(t)}function i(){return{mountedInstances:new Set,updateHead:e=>{let t={};e.forEach(e=>{if("link"===e.type&&e.props["data-optimized-fonts"]){if(document.querySelector('style[data-href="'+e.props["data-href"]+'"]'))return;e.props.href=e.props["data-href"],e.props["data-href"]=void 0}let r=t[e.type]||[];r.push(e),t[e.type]=r});let n=t.title?t.title[0]:null,o="";if(n){let{children:e}=n.props;o="string"==typeof e?e:Array.isArray(e)?e.join(""):""}o!==document.title&&(document.title=o),["meta","base","link","style","script"].forEach(e=>{r(e,t[e]||[])})}}}r=(e,t)=>{let r=document.getElementsByTagName("head")[0],n=r.querySelector("meta[name=next-head-count]"),i=Number(n.content),u=[];for(let t=0,r=n.previousElementSibling;t{for(let t=0,r=u.length;t{var t;return null==(t=e.parentNode)?void 0:t.removeChild(e)}),s.forEach(e=>r.insertBefore(e,n)),n.content=(i-u.length+s.length).toString()},("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},8060:function(e,t,r){"use strict";let n,o,a,i,u,l,s,c,f,d,p,h;Object.defineProperty(t,"__esModule",{value:!0});let m=r(1757);Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{version:function(){return G},router:function(){return n},emitter:function(){return z},initialize:function(){return $},hydrate:function(){return ef}});let _=r(8754),g=r(5893);r(37);let y=_._(r(7294)),b=_._(r(745)),v=r(3537),P=_._(r(3947)),E=r(5832),S=r(3939),j=r(8741),w=r(8050),O=r(8384),R=r(5522),T=r(5180),M=_._(r(7113)),x=_._(r(5410)),I=_._(r(3289)),C=r(1532),A=r(4546),L=r(676),N=r(3334),D=r(5055),k=r(7232),F=r(2497),B=r(3559),U=r(1844),H=_._(r(4100)),W=_._(r(9394)),q=_._(r(3023)),G="14.1.0",z=(0,P.default)(),V=e=>[].slice.call(e),X=!1;class Y extends y.default.Component{componentDidCatch(e,t){this.props.fn(e,t)}componentDidMount(){this.scrollToHash(),n.isSsr&&(o.isFallback||o.nextExport&&((0,j.isDynamicRoute)(n.pathname)||location.search||X)||o.props&&o.props.__N_SSG&&(location.search||X))&&n.replace(n.pathname+"?"+String((0,w.assign)((0,w.urlQueryToSearchParams)(n.query),new URLSearchParams(location.search))),a,{_h:1,shallow:!o.isFallback&&!X}).catch(e=>{if(!e.cancelled)throw e})}componentDidUpdate(){this.scrollToHash()}scrollToHash(){let{hash:e}=location;if(!(e=e&&e.substring(1)))return;let t=document.getElementById(e);t&&setTimeout(()=>t.scrollIntoView(),0)}render(){return this.props.children}}async function $(e){void 0===e&&(e={}),W.default.onSpanEnd(q.default),o=JSON.parse(document.getElementById("__NEXT_DATA__").textContent),window.__NEXT_DATA__=o,h=o.defaultLocale;let t=o.assetPrefix||"";if(self.__next_set_public_path__(""+t+"/_next/"),(0,O.setConfig)({serverRuntimeConfig:{},publicRuntimeConfig:o.runtimeConfig||{}}),a=(0,R.getURL)(),(0,k.hasBasePath)(a)&&(a=(0,D.removeBasePath)(a)),o.scriptLoader){let{initScriptLoader:e}=r(3104);e(o.scriptLoader)}i=new x.default(o.buildId,t);let s=e=>{let[t,r]=e;return i.routeLoader.onEntrypoint(t,r)};return window.__NEXT_P&&window.__NEXT_P.map(e=>setTimeout(()=>s(e),0)),window.__NEXT_P=[],window.__NEXT_P.push=s,(l=(0,M.default)()).getIsSsr=()=>n.isSsr,u=document.getElementById("__next"),{assetPrefix:t}}function K(e,t){return(0,g.jsx)(e,{...t})}function J(e){var t;let{children:r}=e,o=y.default.useMemo(()=>(0,B.adaptForAppRouterInstance)(n),[]);return(0,g.jsx)(Y,{fn:e=>Z({App:f,err:e}).catch(e=>console.error("Error rendering page: ",e)),children:(0,g.jsx)(F.AppRouterContext.Provider,{value:o,children:(0,g.jsx)(U.SearchParamsContext.Provider,{value:(0,B.adaptForSearchParams)(n),children:(0,g.jsx)(B.PathnameContextProviderAdapter,{router:n,isAutoExport:null!=(t=self.__NEXT_DATA__.autoExport)&&t,children:(0,g.jsx)(U.PathParamsContext.Provider,{value:(0,B.adaptForPathParams)(n),children:(0,g.jsx)(E.RouterContext.Provider,{value:(0,A.makePublicRouterInstance)(n),children:(0,g.jsx)(v.HeadManagerContext.Provider,{value:l,children:(0,g.jsx)(N.ImageConfigContext.Provider,{value:{deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[16,32,48,64,96,128,256,384],path:"/_next/image",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!1},children:r})})})})})})})})}let Q=e=>t=>{let r={...t,Component:p,err:o.err,router:n};return(0,g.jsx)(J,{children:K(e,r)})};function Z(e){let{App:t,err:u}=e;return console.error(u),console.error("A client-side exception has occurred, see here for more info: https://nextjs.org/docs/messages/client-side-exception-occurred"),i.loadPage("/_error").then(n=>{let{page:o,styleSheets:a}=n;return(null==s?void 0:s.Component)===o?Promise.resolve().then(()=>m._(r(5103))).then(n=>Promise.resolve().then(()=>m._(r(7174))).then(r=>(t=r.default,e.App=t,n))).then(e=>({ErrorComponent:e.default,styleSheets:[]})):{ErrorComponent:o,styleSheets:a}}).then(r=>{var i;let{ErrorComponent:l,styleSheets:s}=r,c=Q(t),f={Component:l,AppTree:c,router:n,ctx:{err:u,pathname:o.page,query:o.query,asPath:a,AppTree:c}};return Promise.resolve((null==(i=e.props)?void 0:i.err)?e.props:(0,R.loadGetInitialProps)(t,f)).then(t=>es({...e,err:u,Component:l,styleSheets:s,props:t}))})}function ee(e){let{callback:t}=e;return y.default.useLayoutEffect(()=>t(),[t]),null}let et={navigationStart:"navigationStart",beforeRender:"beforeRender",afterRender:"afterRender",afterHydrate:"afterHydrate",routeChange:"routeChange"},er={hydration:"Next.js-hydration",beforeHydration:"Next.js-before-hydration",routeChangeToRender:"Next.js-route-change-to-render",render:"Next.js-render"},en=null,eo=!0;function ea(){[et.beforeRender,et.afterHydrate,et.afterRender,et.routeChange].forEach(e=>performance.clearMarks(e))}function ei(){R.ST&&(performance.mark(et.afterHydrate),performance.getEntriesByName(et.beforeRender,"mark").length&&(performance.measure(er.beforeHydration,et.navigationStart,et.beforeRender),performance.measure(er.hydration,et.beforeRender,et.afterHydrate)),d&&performance.getEntriesByName(er.hydration).forEach(d),ea())}function eu(){if(!R.ST)return;performance.mark(et.afterRender);let e=performance.getEntriesByName(et.routeChange,"mark");e.length&&(performance.getEntriesByName(et.beforeRender,"mark").length&&(performance.measure(er.routeChangeToRender,e[0].name,et.beforeRender),performance.measure(er.render,et.beforeRender,et.afterRender),d&&(performance.getEntriesByName(er.render).forEach(d),performance.getEntriesByName(er.routeChangeToRender).forEach(d))),ea(),[er.routeChangeToRender,er.render].forEach(e=>performance.clearMeasures(e)))}function el(e){let{callbacks:t,children:r}=e;return y.default.useLayoutEffect(()=>t.forEach(e=>e()),[t]),y.default.useEffect(()=>{(0,I.default)(d)},[]),r}function es(e){let t,{App:r,Component:o,props:a,err:i}=e,l="initial"in e?void 0:e.styleSheets;o=o||s.Component;let f={...a=a||s.props,Component:o,err:i,router:n};s=f;let d=!1,p=new Promise((e,r)=>{c&&c(),t=()=>{c=null,e()},c=()=>{d=!0,c=null;let e=Error("Cancel rendering route");e.cancelled=!0,r(e)}});function h(){t()}!function(){if(!l)return;let e=V(document.querySelectorAll("style[data-n-href]")),t=new Set(e.map(e=>e.getAttribute("data-n-href"))),r=document.querySelector("noscript[data-n-css]"),n=null==r?void 0:r.getAttribute("data-n-css");l.forEach(e=>{let{href:r,text:o}=e;if(!t.has(r)){let e=document.createElement("style");e.setAttribute("data-n-href",r),e.setAttribute("media","x"),n&&e.setAttribute("nonce",n),document.head.appendChild(e),e.appendChild(document.createTextNode(o))}})}();let m=(0,g.jsxs)(g.Fragment,{children:[(0,g.jsx)(ee,{callback:function(){if(l&&!d){let e=new Set(l.map(e=>e.href)),t=V(document.querySelectorAll("style[data-n-href]")),r=t.map(e=>e.getAttribute("data-n-href"));for(let n=0;n{let{href:t}=e,r=document.querySelector('style[data-n-href="'+t+'"]');r&&(n.parentNode.insertBefore(r,n.nextSibling),n=r)}),V(document.querySelectorAll("link[data-n-p]")).forEach(e=>{e.parentNode.removeChild(e)})}if(e.scroll){let{x:t,y:r}=e.scroll;(0,S.handleSmoothScroll)(()=>{window.scrollTo(t,r)})}}}),(0,g.jsxs)(J,{children:[K(r,f),(0,g.jsx)(T.Portal,{type:"next-route-announcer",children:(0,g.jsx)(C.RouteAnnouncer,{})})]})]});return!function(e,t){R.ST&&performance.mark(et.beforeRender);let r=t(eo?ei:eu);en?(0,y.default.startTransition)(()=>{en.render(r)}):(en=b.default.hydrateRoot(e,r,{onRecoverableError:H.default}),eo=!1)}(u,e=>(0,g.jsx)(el,{callbacks:[e,h],children:m})),p}async function ec(e){if(e.err){await Z(e);return}try{await es(e)}catch(r){let t=(0,L.getProperError)(r);if(t.cancelled)throw t;await Z({...e,err:t})}}async function ef(e){let t=o.err;try{let e=await i.routeLoader.whenEntrypoint("/_app");if("error"in e)throw e.error;let{component:t,exports:r}=e;f=t,r&&r.reportWebVitals&&(d=e=>{let t,{id:n,name:o,startTime:a,value:i,duration:u,entryType:l,entries:s,attribution:c}=e,f=Date.now()+"-"+(Math.floor(Math.random()*(9e12-1))+1e12);s&&s.length&&(t=s[0].startTime);let d={id:n||f,name:o,startTime:a||t,value:null==i?u:i,label:"mark"===l||"measure"===l?"custom":"web-vital"};c&&(d.attribution=c),r.reportWebVitals(d)});let n=await i.routeLoader.whenEntrypoint(o.page);if("error"in n)throw n.error;p=n.component}catch(e){t=(0,L.getProperError)(e)}window.__NEXT_PRELOADREADY&&await window.__NEXT_PRELOADREADY(o.dynamicIds),n=(0,A.createRouter)(o.page,o.query,a,{initialProps:o.props,pageLoader:i,App:f,Component:p,wrapApp:Q,err:t,isFallback:!!o.isFallback,subscription:(e,t,r)=>ec(Object.assign({},e,{App:t,scroll:r})),locale:o.locale,locales:o.locales,defaultLocale:h,domainLocales:o.domainLocales,isPreview:o.isPreview}),X=await n._initialMatchesMiddlewarePromise;let r={App:f,initial:!0,Component:p,props:o.props,err:t};(null==e?void 0:e.beforeRender)&&await e.beforeRender(),ec(r)}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},1775:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),r(9907);let n=r(8060);window.next={version:n.version,get router(){return n.router},emitter:n.emitter},(0,n.initialize)({}).then(()=>(0,n.hydrate)()).catch(console.error),("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},4648:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"normalizePathTrailingSlash",{enumerable:!0,get:function(){return a}});let n=r(8290),o=r(5997),a=e=>{if(!e.startsWith("/"))return e;let{pathname:t,query:r,hash:a}=(0,o.parsePath)(e);return""+(0,n.removeTrailingSlash)(t)+r+a};("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},4100:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return o}});let n=r(1349);function o(e){let t="function"==typeof reportError?reportError:e=>{window.console.error(e)};(0,n.isBailoutToCSRError)(e)||t(e)}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},5410:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return d}});let n=r(8754),o=r(9290),a=r(3523),i=n._(r(6165)),u=r(2208),l=r(8741),s=r(3974),c=r(8290),f=r(5455);r(1602);class d{getPageList(){return(0,f.getClientBuildManifest)().then(e=>e.sortedPages)}getMiddleware(){return window.__MIDDLEWARE_MATCHERS=[],window.__MIDDLEWARE_MATCHERS}getDataHref(e){let{asPath:t,href:r,locale:n}=e,{pathname:f,query:d,search:p}=(0,s.parseRelativeUrl)(r),{pathname:h}=(0,s.parseRelativeUrl)(t),m=(0,c.removeTrailingSlash)(f);if("/"!==m[0])throw Error('Route name should start with a "/", got "'+m+'"');return(e=>{let t=(0,i.default)((0,c.removeTrailingSlash)((0,u.addLocale)(e,n)),".json");return(0,o.addBasePath)("/_next/data/"+this.buildId+t+p,!0)})(e.skipInterpolation?h:(0,l.isDynamicRoute)(m)?(0,a.interpolateAs)(f,h,d).result:m)}_isSsg(e){return this.promisedSsgManifest.then(t=>t.has(e))}loadPage(e){return this.routeLoader.loadRoute(e).then(e=>{if("component"in e)return{page:e.component,mod:e.exports,styleSheets:e.styles.map(e=>({href:e.href,text:e.content}))};throw e.error})}prefetch(e){return this.routeLoader.prefetch(e)}constructor(e,t){this.routeLoader=(0,f.createRouteLoader)(t),this.buildId=e,this.assetPrefix=t,this.promisedSsgManifest=new Promise(e=>{window.__SSG_MANIFEST?e(window.__SSG_MANIFEST):window.__SSG_MANIFEST_CB=()=>{e(window.__SSG_MANIFEST)}})}}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},3289:function(e,t,r){"use strict";let n;Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return u}});let o=["CLS","FCP","FID","INP","LCP","TTFB"];location.href;let a=!1;function i(e){n&&n(e)}let u=e=>{if(n=e,!a)for(let e of(a=!0,o))try{let t;t||(t=r(8018)),t["on"+e](i)}catch(t){console.warn("Failed to track "+e+" web-vital",t)}};("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},5180:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Portal",{enumerable:!0,get:function(){return a}});let n=r(7294),o=r(3935),a=e=>{let{children:t,type:r}=e,[a,i]=(0,n.useState)(null);return(0,n.useEffect)(()=>{let e=document.createElement(r);return document.body.appendChild(e),i(e),()=>{document.body.removeChild(e)}},[r]),a?(0,o.createPortal)(t,a):null};("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},5055:function(e,t,r){"use strict";function n(e){return e}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"removeBasePath",{enumerable:!0,get:function(){return n}}),r(7232),("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},2354:function(e,t,r){"use strict";function n(e,t){return e}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"removeLocale",{enumerable:!0,get:function(){return n}}),r(5997),("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},9833:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{requestIdleCallback:function(){return r},cancelIdleCallback:function(){return n}});let r="undefined"!=typeof self&&self.requestIdleCallback&&self.requestIdleCallback.bind(window)||function(e){let t=Date.now();return self.setTimeout(function(){e({didTimeout:!1,timeRemaining:function(){return Math.max(0,50-(Date.now()-t))}})},1)},n="undefined"!=typeof self&&self.cancelIdleCallback&&self.cancelIdleCallback.bind(window)||function(e){return clearTimeout(e)};("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},5203:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"resolveHref",{enumerable:!0,get:function(){return f}});let n=r(8050),o=r(1024),a=r(1646),i=r(5522),u=r(4648),l=r(298),s=r(6277),c=r(3523);function f(e,t,r){let f;let d="string"==typeof t?t:(0,o.formatWithValidation)(t),p=d.match(/^[a-zA-Z]{1,}:\/\//),h=p?d.slice(p[0].length):d;if((h.split("?",1)[0]||"").match(/(\/\/|\\)/)){console.error("Invalid href '"+d+"' passed to next/router in page: '"+e.pathname+"'. Repeated forward-slashes (//) or backslashes \\ are not valid in the href.");let t=(0,i.normalizeRepeatedSlashes)(h);d=(p?p[0]:"")+t}if(!(0,l.isLocalURL)(d))return r?[d]:d;try{f=new URL(d.startsWith("#")?e.asPath:e.pathname,"http://n")}catch(e){f=new URL("/","http://n")}try{let e=new URL(d,f);e.pathname=(0,u.normalizePathTrailingSlash)(e.pathname);let t="";if((0,s.isDynamicRoute)(e.pathname)&&e.searchParams&&r){let r=(0,n.searchParamsToUrlQuery)(e.searchParams),{result:i,params:u}=(0,c.interpolateAs)(e.pathname,e.pathname,r);i&&(t=(0,o.formatWithValidation)({pathname:i,hash:e.hash,query:(0,a.omit)(r,u)}))}let i=e.origin===f.origin?e.href.slice(e.origin.length):e.href;return r?[i,t||i]:i}catch(e){return r?[d]:d}}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},1532:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{RouteAnnouncer:function(){return l},default:function(){return s}});let n=r(8754),o=r(5893),a=n._(r(7294)),i=r(4546),u={border:0,clip:"rect(0 0 0 0)",height:"1px",margin:"-1px",overflow:"hidden",padding:0,position:"absolute",top:0,width:"1px",whiteSpace:"nowrap",wordWrap:"normal"},l=()=>{let{asPath:e}=(0,i.useRouter)(),[t,r]=a.default.useState(""),n=a.default.useRef(e);return a.default.useEffect(()=>{if(n.current!==e){if(n.current=e,document.title)r(document.title);else{var t;let n=document.querySelector("h1");r((null!=(t=null==n?void 0:n.innerText)?t:null==n?void 0:n.textContent)||e)}}},[e]),(0,o.jsx)("p",{"aria-live":"assertive",id:"__next-route-announcer__",role:"alert",style:u,children:t})},s=l;("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},5455:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{markAssetError:function(){return l},isAssetError:function(){return s},getClientBuildManifest:function(){return p},createRouteLoader:function(){return m}}),r(8754),r(6165);let n=r(106),o=r(9833),a=r(4878);function i(e,t,r){let n,o=t.get(e);if(o)return"future"in o?o.future:Promise.resolve(o);let a=new Promise(e=>{n=e});return t.set(e,o={resolve:n,future:a}),r?r().then(e=>(n(e),e)).catch(r=>{throw t.delete(e),r}):a}let u=Symbol("ASSET_LOAD_ERROR");function l(e){return Object.defineProperty(e,u,{})}function s(e){return e&&u in e}let c=function(e){try{return e=document.createElement("link"),!!window.MSInputMethodContext&&!!document.documentMode||e.relList.supports("prefetch")}catch(e){return!1}}(),f=()=>(0,a.getDeploymentIdQueryOrEmptyString)();function d(e,t,r){return new Promise((n,a)=>{let i=!1;e.then(e=>{i=!0,n(e)}).catch(a),(0,o.requestIdleCallback)(()=>setTimeout(()=>{i||a(r)},t))})}function p(){return self.__BUILD_MANIFEST?Promise.resolve(self.__BUILD_MANIFEST):d(new Promise(e=>{let t=self.__BUILD_MANIFEST_CB;self.__BUILD_MANIFEST_CB=()=>{e(self.__BUILD_MANIFEST),t&&t()}}),3800,l(Error("Failed to load client build manifest")))}function h(e,t){return p().then(r=>{if(!(t in r))throw l(Error("Failed to lookup route: "+t));let o=r[t].map(t=>e+"/_next/"+encodeURI(t));return{scripts:o.filter(e=>e.endsWith(".js")).map(e=>(0,n.__unsafeCreateTrustedScriptURL)(e)+f()),css:o.filter(e=>e.endsWith(".css")).map(e=>e+f())}})}function m(e){let t=new Map,r=new Map,n=new Map,a=new Map;function u(e){{var t;let n=r.get(e.toString());return n||(document.querySelector('script[src^="'+e+'"]')?Promise.resolve():(r.set(e.toString(),n=new Promise((r,n)=>{(t=document.createElement("script")).onload=r,t.onerror=()=>n(l(Error("Failed to load script: "+e))),t.crossOrigin=void 0,t.src=e,document.body.appendChild(t)})),n))}}function s(e){let t=n.get(e);return t||n.set(e,t=fetch(e).then(t=>{if(!t.ok)throw Error("Failed to load stylesheet: "+e);return t.text().then(t=>({href:e,content:t}))}).catch(e=>{throw l(e)})),t}return{whenEntrypoint:e=>i(e,t),onEntrypoint(e,r){(r?Promise.resolve().then(()=>r()).then(e=>({component:e&&e.default||e,exports:e}),e=>({error:e})):Promise.resolve(void 0)).then(r=>{let n=t.get(e);n&&"resolve"in n?r&&(t.set(e,r),n.resolve(r)):(r?t.set(e,r):t.delete(e),a.delete(e))})},loadRoute(r,n){return i(r,a,()=>{let o;return d(h(e,r).then(e=>{let{scripts:n,css:o}=e;return Promise.all([t.has(r)?[]:Promise.all(n.map(u)),Promise.all(o.map(s))])}).then(e=>this.whenEntrypoint(r).then(t=>({entrypoint:t,styles:e[1]}))),3800,l(Error("Route did not complete loading: "+r))).then(e=>{let{entrypoint:t,styles:r}=e,n=Object.assign({styles:r},t);return"error"in t?t:n}).catch(e=>{if(n)throw e;return{error:e}}).finally(()=>null==o?void 0:o())})},prefetch(t){let r;return(r=navigator.connection)&&(r.saveData||/2g/.test(r.effectiveType))?Promise.resolve():h(e,t).then(e=>Promise.all(c?e.scripts.map(e=>{var t,r,n;return t=e.toString(),r="script",new Promise((e,o)=>{if(document.querySelector('\n link[rel="prefetch"][href^="'+t+'"],\n link[rel="preload"][href^="'+t+'"],\n script[src^="'+t+'"]'))return e();n=document.createElement("link"),r&&(n.as=r),n.rel="prefetch",n.crossOrigin=void 0,n.onload=e,n.onerror=()=>o(l(Error("Failed to prefetch: "+t))),n.href=t,document.head.appendChild(n)})}):[])).then(()=>{(0,o.requestIdleCallback)(()=>this.loadRoute(t,!0).catch(()=>{}))}).catch(()=>{})}}}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},4546:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{Router:function(){return a.default},default:function(){return p},withRouter:function(){return l.default},useRouter:function(){return h},createRouter:function(){return m},makePublicRouterInstance:function(){return _}});let n=r(8754),o=n._(r(7294)),a=n._(r(2595)),i=r(5832),u=n._(r(676)),l=n._(r(7440)),s={router:null,readyCallbacks:[],ready(e){if(this.router)return e();this.readyCallbacks.push(e)}},c=["pathname","route","query","asPath","components","isFallback","basePath","locale","locales","defaultLocale","isReady","isPreview","isLocaleDomain","domainLocales"],f=["push","replace","reload","back","prefetch","beforePopState"];function d(){if(!s.router)throw Error('No router instance found.\nYou should only use "next/router" on the client side of your app.\n');return s.router}Object.defineProperty(s,"events",{get:()=>a.default.events}),c.forEach(e=>{Object.defineProperty(s,e,{get:()=>d()[e]})}),f.forEach(e=>{s[e]=function(){for(var t=arguments.length,r=Array(t),n=0;n{s.ready(()=>{a.default.events.on(e,function(){for(var t=arguments.length,r=Array(t),n=0;ne()),s.readyCallbacks=[],s.router}function _(e){let t={};for(let r of c){if("object"==typeof e[r]){t[r]=Object.assign(Array.isArray(e[r])?[]:{},e[r]);continue}t[r]=e[r]}return t.events=a.default.events,f.forEach(r=>{t[r]=function(){for(var t=arguments.length,n=Array(t),o=0;o{if(i.default.preinit){e.forEach(e=>{i.default.preinit(e,{as:"style"})});return}{let t=document.head;e.forEach(e=>{let r=document.createElement("link");r.type="text/css",r.rel="stylesheet",r.href=e,t.appendChild(r)})}},m=e=>{let{src:t,id:r,onLoad:n=()=>{},onReady:o=null,dangerouslySetInnerHTML:a,children:i="",strategy:u="afterInteractive",onError:l,stylesheets:c}=e,m=r||t;if(m&&d.has(m))return;if(f.has(t)){d.add(m),f.get(t).then(n,l);return}let _=()=>{o&&o(),d.add(m)},g=document.createElement("script"),y=new Promise((e,t)=>{g.addEventListener("load",function(t){e(),n&&n.call(this,t),_()}),g.addEventListener("error",function(e){t(e)})}).catch(function(e){l&&l(e)});for(let[r,n]of(a?(g.innerHTML=a.__html||"",_()):i?(g.textContent="string"==typeof i?i:Array.isArray(i)?i.join(""):"",_()):t&&(g.src=t,f.set(t,y)),Object.entries(e))){if(void 0===n||p.includes(r))continue;let e=s.DOMAttributeNames[r]||r.toLowerCase();g.setAttribute(e,n)}"worker"===u&&g.setAttribute("type","text/partytown"),g.setAttribute("data-nscript",u),c&&h(c),document.body.appendChild(g)};function _(e){let{strategy:t="afterInteractive"}=e;"lazyOnload"===t?window.addEventListener("load",()=>{(0,c.requestIdleCallback)(()=>m(e))}):m(e)}function g(e){e.forEach(_),[...document.querySelectorAll('[data-nscript="beforeInteractive"]'),...document.querySelectorAll('[data-nscript="beforePageRender"]')].forEach(e=>{let t=e.id||e.getAttribute("src");d.add(t)})}function y(e){let{id:t,src:r="",onLoad:n=()=>{},onReady:o=null,strategy:s="afterInteractive",onError:f,stylesheets:p,...h}=e,{updateScripts:_,scripts:g,getIsSsr:y,appDir:b,nonce:v}=(0,u.useContext)(l.HeadManagerContext),P=(0,u.useRef)(!1);(0,u.useEffect)(()=>{let e=t||r;P.current||(o&&e&&d.has(e)&&o(),P.current=!0)},[o,t,r]);let E=(0,u.useRef)(!1);if((0,u.useEffect)(()=>{!E.current&&("afterInteractive"===s?m(e):"lazyOnload"===s&&("complete"===document.readyState?(0,c.requestIdleCallback)(()=>m(e)):window.addEventListener("load",()=>{(0,c.requestIdleCallback)(()=>m(e))})),E.current=!0)},[e,s]),("beforeInteractive"===s||"worker"===s)&&(_?(g[s]=(g[s]||[]).concat([{id:t,src:r,onLoad:n,onReady:o,onError:f,...h}]),_(g)):y&&y()?d.add(t||r):y&&!y()&&m(e)),b){if(p&&p.forEach(e=>{i.default.preinit(e,{as:"style"})}),"beforeInteractive"===s)return r?(i.default.preload(r,h.integrity?{as:"script",integrity:h.integrity}:{as:"script"}),(0,a.jsx)("script",{nonce:v,dangerouslySetInnerHTML:{__html:"(self.__next_s=self.__next_s||[]).push("+JSON.stringify([r,{...h,id:t}])+")"}})):(h.dangerouslySetInnerHTML&&(h.children=h.dangerouslySetInnerHTML.__html,delete h.dangerouslySetInnerHTML),(0,a.jsx)("script",{nonce:v,dangerouslySetInnerHTML:{__html:"(self.__next_s=self.__next_s||[]).push("+JSON.stringify([0,{...h,id:t}])+")"}}));"afterInteractive"===s&&r&&i.default.preload(r,h.integrity?{as:"script",integrity:h.integrity}:{as:"script"})}return null}Object.defineProperty(y,"__nextScript",{value:!0});let b=y;("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},3023:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return o}});let n=r(4142);function o(e){if("ended"!==e.state.state)throw Error("Expected span to be ended");(0,n.sendMessage)(JSON.stringify({event:"span-end",startTime:e.startTime,endTime:e.state.endTime,spanName:e.name,attributes:e.attributes}))}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},9394:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i}});let n=r(8754)._(r(3947));class o{end(e){if("ended"===this.state.state)throw Error("Span has already ended");this.state={state:"ended",endTime:null!=e?e:Date.now()},this.onSpanEnd(this)}constructor(e,t,r){var n,o;this.name=e,this.attributes=null!=(n=t.attributes)?n:{},this.startTime=null!=(o=t.startTime)?o:Date.now(),this.onSpanEnd=r,this.state={state:"inprogress"}}}class a{startSpan(e,t){return new o(e,t,this.handleSpanEnd)}onSpanEnd(e){return this._emitter.on("spanend",e),()=>{this._emitter.off("spanend",e)}}constructor(){this._emitter=(0,n.default)(),this.handleSpanEnd=e=>{this._emitter.emit("spanend",e)}}}let i=new a;("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},106:function(e,t){"use strict";let r;function n(e){var t;return(null==(t=function(){if(void 0===r){var e;r=(null==(e=window.trustedTypes)?void 0:e.createPolicy("nextjs",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e}))||null}return r}())?void 0:t.createScriptURL(e))||e}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"__unsafeCreateTrustedScriptURL",{enumerable:!0,get:function(){return n}}),("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},9907:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),r(4878),self.__next_set_public_path__=e=>{r.p=e},("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},7440:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return a}}),r(8754);let n=r(5893);r(7294);let o=r(4546);function a(e){function t(t){return(0,n.jsx)(e,{router:(0,o.useRouter)(),...t})}return t.getInitialProps=e.getInitialProps,t.origGetInitialProps=e.origGetInitialProps,t}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},7174:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return l}});let n=r(8754),o=r(5893),a=n._(r(7294)),i=r(5522);async function u(e){let{Component:t,ctx:r}=e;return{pageProps:await (0,i.loadGetInitialProps)(t,r)}}class l extends a.default.Component{render(){let{Component:e,pageProps:t}=this.props;return(0,o.jsx)(e,{...t})}}l.origGetInitialProps=u,l.getInitialProps=u,("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},5103:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return c}});let n=r(8754),o=r(5893),a=n._(r(7294)),i=n._(r(3709)),u={400:"Bad Request",404:"This page could not be found",405:"Method Not Allowed",500:"Internal Server Error"};function l(e){let{res:t,err:r}=e;return{statusCode:t&&t.statusCode?t.statusCode:r?r.statusCode:404}}let s={error:{fontFamily:'system-ui,"Segoe UI",Roboto,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji"',height:"100vh",textAlign:"center",display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center"},desc:{lineHeight:"48px"},h1:{display:"inline-block",margin:"0 20px 0 0",paddingRight:23,fontSize:24,fontWeight:500,verticalAlign:"top"},h2:{fontSize:14,fontWeight:400,lineHeight:"28px"},wrap:{display:"inline-block"}};class c extends a.default.Component{render(){let{statusCode:e,withDarkMode:t=!0}=this.props,r=this.props.title||u[e]||"An unexpected error has occurred";return(0,o.jsxs)("div",{style:s.error,children:[(0,o.jsx)(i.default,{children:(0,o.jsx)("title",{children:e?e+": "+r:"Application error: a client-side exception has occurred"})}),(0,o.jsxs)("div",{style:s.desc,children:[(0,o.jsx)("style",{dangerouslySetInnerHTML:{__html:"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}"+(t?"@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}":"")}}),e?(0,o.jsx)("h1",{className:"next-error-h1",style:s.h1,children:e}):null,(0,o.jsx)("div",{style:s.wrap,children:(0,o.jsxs)("h2",{style:s.h2,children:[this.props.title||e?r:(0,o.jsx)(o.Fragment,{children:"Application error: a client-side exception has occurred (see the browser console for more information)"}),"."]})})]})]})}}c.displayName="ErrorPage",c.getInitialProps=l,c.origGetInitialProps=l,("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},3530:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"AmpStateContext",{enumerable:!0,get:function(){return n}});let n=r(8754)._(r(7294)).default.createContext({})},9181:function(e,t){"use strict";function r(e){let{ampFirst:t=!1,hybrid:r=!1,hasQuery:n=!1}=void 0===e?{}:e;return t||r&&n}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"isInAmpMode",{enumerable:!0,get:function(){return r}})},2497:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{AppRouterContext:function(){return o},LayoutRouterContext:function(){return a},GlobalLayoutRouterContext:function(){return i},TemplateContext:function(){return u},MissingSlotContext:function(){return l}});let n=r(8754)._(r(7294)),o=n.default.createContext(null),a=n.default.createContext(null),i=n.default.createContext(null),u=n.default.createContext(null),l=n.default.createContext(new Set)},9337:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"BloomFilter",{enumerable:!0,get:function(){return r}});class r{static from(e,t){void 0===t&&(t=1e-4);let n=new r(e.length,t);for(let t of e)n.add(t);return n}export(){return{numItems:this.numItems,errorRate:this.errorRate,numBits:this.numBits,numHashes:this.numHashes,bitArray:this.bitArray}}import(e){this.numItems=e.numItems,this.errorRate=e.errorRate,this.numBits=e.numBits,this.numHashes=e.numHashes,this.bitArray=e.bitArray}add(e){this.getHashValues(e).forEach(e=>{this.bitArray[e]=1})}contains(e){return this.getHashValues(e).every(e=>this.bitArray[e])}getHashValues(e){let t=[];for(let r=1;r<=this.numHashes;r++){let n=function(e){let t=0;for(let r=0;r>>13,t=Math.imul(t,1540483477);return t>>>0}(""+e+r)%this.numBits;t.push(n)}return t}constructor(e,t=1e-4){this.numItems=e,this.errorRate=t,this.numBits=Math.ceil(-(e*Math.log(t))/(Math.log(2)*Math.log(2))),this.numHashes=Math.ceil(this.numBits/e*Math.log(2)),this.bitArray=Array(this.numBits).fill(0)}}},1602:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{MODERN_BROWSERSLIST_TARGET:function(){return n.default},COMPILER_NAMES:function(){return o},INTERNAL_HEADERS:function(){return a},COMPILER_INDEXES:function(){return i},PHASE_EXPORT:function(){return u},PHASE_PRODUCTION_BUILD:function(){return l},PHASE_PRODUCTION_SERVER:function(){return s},PHASE_DEVELOPMENT_SERVER:function(){return c},PHASE_TEST:function(){return f},PHASE_INFO:function(){return d},PAGES_MANIFEST:function(){return p},APP_PATHS_MANIFEST:function(){return h},APP_PATH_ROUTES_MANIFEST:function(){return m},BUILD_MANIFEST:function(){return _},APP_BUILD_MANIFEST:function(){return g},FUNCTIONS_CONFIG_MANIFEST:function(){return y},SUBRESOURCE_INTEGRITY_MANIFEST:function(){return b},NEXT_FONT_MANIFEST:function(){return v},EXPORT_MARKER:function(){return P},EXPORT_DETAIL:function(){return E},PRERENDER_MANIFEST:function(){return S},ROUTES_MANIFEST:function(){return j},IMAGES_MANIFEST:function(){return w},SERVER_FILES_MANIFEST:function(){return O},DEV_CLIENT_PAGES_MANIFEST:function(){return R},MIDDLEWARE_MANIFEST:function(){return T},DEV_MIDDLEWARE_MANIFEST:function(){return M},REACT_LOADABLE_MANIFEST:function(){return x},FONT_MANIFEST:function(){return I},SERVER_DIRECTORY:function(){return C},CONFIG_FILES:function(){return A},BUILD_ID_FILE:function(){return L},BLOCKED_PAGES:function(){return N},CLIENT_PUBLIC_FILES_PATH:function(){return D},CLIENT_STATIC_FILES_PATH:function(){return k},STRING_LITERAL_DROP_BUNDLE:function(){return F},NEXT_BUILTIN_DOCUMENT:function(){return B},BARREL_OPTIMIZATION_PREFIX:function(){return U},CLIENT_REFERENCE_MANIFEST:function(){return H},SERVER_REFERENCE_MANIFEST:function(){return W},MIDDLEWARE_BUILD_MANIFEST:function(){return q},MIDDLEWARE_REACT_LOADABLE_MANIFEST:function(){return G},CLIENT_STATIC_FILES_RUNTIME_MAIN:function(){return z},CLIENT_STATIC_FILES_RUNTIME_MAIN_APP:function(){return V},APP_CLIENT_INTERNALS:function(){return X},CLIENT_STATIC_FILES_RUNTIME_REACT_REFRESH:function(){return Y},CLIENT_STATIC_FILES_RUNTIME_AMP:function(){return $},CLIENT_STATIC_FILES_RUNTIME_WEBPACK:function(){return K},CLIENT_STATIC_FILES_RUNTIME_POLYFILLS:function(){return J},CLIENT_STATIC_FILES_RUNTIME_POLYFILLS_SYMBOL:function(){return Q},EDGE_RUNTIME_WEBPACK:function(){return Z},STATIC_PROPS_ID:function(){return ee},SERVER_PROPS_ID:function(){return et},GOOGLE_FONT_PROVIDER:function(){return er},OPTIMIZED_FONT_PROVIDERS:function(){return en},DEFAULT_SERIF_FONT:function(){return eo},DEFAULT_SANS_SERIF_FONT:function(){return ea},STATIC_STATUS_PAGES:function(){return ei},TRACE_OUTPUT_VERSION:function(){return eu},TURBO_TRACE_DEFAULT_MEMORY_LIMIT:function(){return el},RSC_MODULE_TYPES:function(){return es},EDGE_UNSUPPORTED_NODE_APIS:function(){return ec},SYSTEM_ENTRYPOINTS:function(){return ef}});let n=r(8754)._(r(2908)),o={client:"client",server:"server",edgeServer:"edge-server"},a=["x-invoke-error","x-invoke-output","x-invoke-path","x-invoke-query","x-invoke-status","x-middleware-invoke"],i={[o.client]:0,[o.server]:1,[o.edgeServer]:2},u="phase-export",l="phase-production-build",s="phase-production-server",c="phase-development-server",f="phase-test",d="phase-info",p="pages-manifest.json",h="app-paths-manifest.json",m="app-path-routes-manifest.json",_="build-manifest.json",g="app-build-manifest.json",y="functions-config-manifest.json",b="subresource-integrity-manifest",v="next-font-manifest",P="export-marker.json",E="export-detail.json",S="prerender-manifest.json",j="routes-manifest.json",w="images-manifest.json",O="required-server-files.json",R="_devPagesManifest.json",T="middleware-manifest.json",M="_devMiddlewareManifest.json",x="react-loadable-manifest.json",I="font-manifest.json",C="server",A=["next.config.js","next.config.mjs"],L="BUILD_ID",N=["/_document","/_app","/_error"],D="public",k="static",F="__NEXT_DROP_CLIENT_FILE__",B="__NEXT_BUILTIN_DOCUMENT__",U="__barrel_optimize__",H="client-reference-manifest",W="server-reference-manifest",q="middleware-build-manifest",G="middleware-react-loadable-manifest",z="main",V=""+z+"-app",X="app-pages-internals",Y="react-refresh",$="amp",K="webpack",J="polyfills",Q=Symbol(J),Z="edge-runtime-webpack",ee="__N_SSG",et="__N_SSP",er="https://fonts.googleapis.com/",en=[{url:er,preconnect:"https://fonts.gstatic.com"},{url:"https://use.typekit.net",preconnect:"https://use.typekit.net"}],eo={name:"Times New Roman",xAvgCharWidth:821,azAvgWidth:854.3953488372093,unitsPerEm:2048},ea={name:"Arial",xAvgCharWidth:904,azAvgWidth:934.5116279069767,unitsPerEm:2048},ei=["/500"],eu=1,el=6e3,es={client:"client",server:"server"},ec=["clearImmediate","setImmediate","BroadcastChannel","ByteLengthQueuingStrategy","CompressionStream","CountQueuingStrategy","DecompressionStream","DomException","MessageChannel","MessageEvent","MessagePort","ReadableByteStreamController","ReadableStreamBYOBRequest","ReadableStreamDefaultController","TransformStreamDefaultController","WritableStreamDefaultController"],ef=new Set([z,Y,$,V]);("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},4613:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"escapeStringRegexp",{enumerable:!0,get:function(){return o}});let r=/[|\\{}()[\]^$+*?.-]/,n=/[|\\{}()[\]^$+*?.-]/g;function o(e){return r.test(e)?e.replace(n,"\\$&"):e}},3537:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"HeadManagerContext",{enumerable:!0,get:function(){return n}});let n=r(8754)._(r(7294)).default.createContext({})},3709:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{defaultHead:function(){return f},default:function(){return m}});let n=r(8754),o=r(1757),a=r(5893),i=o._(r(7294)),u=n._(r(738)),l=r(3530),s=r(3537),c=r(9181);function f(e){void 0===e&&(e=!1);let t=[(0,a.jsx)("meta",{charSet:"utf-8"})];return e||t.push((0,a.jsx)("meta",{name:"viewport",content:"width=device-width"})),t}function d(e,t){return"string"==typeof t||"number"==typeof t?e:t.type===i.default.Fragment?e.concat(i.default.Children.toArray(t.props.children).reduce((e,t)=>"string"==typeof t||"number"==typeof t?e:e.concat(t),[])):e.concat(t)}r(6415);let p=["name","httpEquiv","charSet","itemProp"];function h(e,t){let{inAmpMode:r}=t;return e.reduce(d,[]).reverse().concat(f(r).reverse()).filter(function(){let e=new Set,t=new Set,r=new Set,n={};return o=>{let a=!0,i=!1;if(o.key&&"number"!=typeof o.key&&o.key.indexOf("$")>0){i=!0;let t=o.key.slice(o.key.indexOf("$")+1);e.has(t)?a=!1:e.add(t)}switch(o.type){case"title":case"base":t.has(o.type)?a=!1:t.add(o.type);break;case"meta":for(let e=0,t=p.length;e{let n=e.key||t;if(!r&&"link"===e.type&&e.props.href&&["https://fonts.googleapis.com/css","https://use.typekit.net/"].some(t=>e.props.href.startsWith(t))){let t={...e.props||{}};return t["data-href"]=t.href,t.href=void 0,t["data-optimized-fonts"]=!0,i.default.cloneElement(e,t)}return i.default.cloneElement(e,{key:n})})}let m=function(e){let{children:t}=e,r=(0,i.useContext)(l.AmpStateContext),n=(0,i.useContext)(s.HeadManagerContext);return(0,a.jsx)(u.default,{reduceComponentsToState:h,headManager:n,inAmpMode:(0,c.isInAmpMode)(r),children:t})};("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},1844:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{SearchParamsContext:function(){return o},PathnameContext:function(){return a},PathParamsContext:function(){return i}});let n=r(7294),o=(0,n.createContext)(null),a=(0,n.createContext)(null),i=(0,n.createContext)(null)},1254:function(e,t){"use strict";function r(e,t){let r;let n=e.split("/");return(t||[]).some(t=>!!n[1]&&n[1].toLowerCase()===t.toLowerCase()&&(r=t,n.splice(1,1),e=n.join("/")||"/",!0)),{pathname:e,detectedLocale:r}}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"normalizeLocalePath",{enumerable:!0,get:function(){return r}})},3334:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"ImageConfigContext",{enumerable:!0,get:function(){return a}});let n=r(8754)._(r(7294)),o=r(6270),a=n.default.createContext(o.imageConfigDefault)},6270:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{VALID_LOADERS:function(){return r},imageConfigDefault:function(){return n}});let r=["default","imgix","cloudinary","akamai","custom"],n={deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[16,32,48,64,96,128,256,384],path:"/_next/image",loader:"default",loaderFile:"",domains:[],disableStaticImages:!1,minimumCacheTTL:60,formats:["image/webp"],dangerouslyAllowSVG:!1,contentSecurityPolicy:"script-src 'none'; frame-src 'none'; sandbox;",contentDispositionType:"inline",remotePatterns:[],unoptimized:!1}},8286:function(e,t){"use strict";function r(e){return Object.prototype.toString.call(e)}function n(e){if("[object Object]"!==r(e))return!1;let t=Object.getPrototypeOf(e);return null===t||t.hasOwnProperty("isPrototypeOf")}Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{getObjectClassLabel:function(){return r},isPlainObject:function(){return n}})},1349:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{BailoutToCSRError:function(){return n},isBailoutToCSRError:function(){return o}});let r="BAILOUT_TO_CLIENT_SIDE_RENDERING";class n extends Error{constructor(e){super("Bail out to client-side rendering: "+e),this.reason=e,this.digest=r}}function o(e){return"object"==typeof e&&null!==e&&"digest"in e&&e.digest===r}},3947:function(e,t){"use strict";function r(){let e=Object.create(null);return{on(t,r){(e[t]||(e[t]=[])).push(r)},off(t,r){e[t]&&e[t].splice(e[t].indexOf(r)>>>0,1)},emit(t){for(var r=arguments.length,n=Array(r>1?r-1:0),o=1;o{e(...n)})}}}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return r}})},2908:function(e){"use strict";e.exports=["chrome 64","edge 79","firefox 67","opera 51","safari 12"]},3492:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"denormalizePagePath",{enumerable:!0,get:function(){return a}});let n=r(6277),o=r(5791);function a(e){let t=(0,o.normalizePathSep)(e);return t.startsWith("/index/")&&!(0,n.isDynamicRoute)(t)?t.slice(6):"/index"!==t?t:"/"}},3953:function(e,t){"use strict";function r(e){return e.startsWith("/")?e:"/"+e}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"ensureLeadingSlash",{enumerable:!0,get:function(){return r}})},5791:function(e,t){"use strict";function r(e){return e.replace(/\\/g,"/")}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"normalizePathSep",{enumerable:!0,get:function(){return r}})},5832:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"RouterContext",{enumerable:!0,get:function(){return n}});let n=r(8754)._(r(7294)).default.createContext(null)},3559:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{adaptForAppRouterInstance:function(){return c},adaptForSearchParams:function(){return f},adaptForPathParams:function(){return d},PathnameContextProviderAdapter:function(){return p}});let n=r(1757),o=r(5893),a=n._(r(7294)),i=r(1844),u=r(6277),l=r(901),s=r(5504);function c(e){return{back(){e.back()},forward(){e.forward()},refresh(){e.reload()},push(t,r){let{scroll:n}=void 0===r?{}:r;e.push(t,void 0,{scroll:n})},replace(t,r){let{scroll:n}=void 0===r?{}:r;e.replace(t,void 0,{scroll:n})},prefetch(t){e.prefetch(t)}}}function f(e){return e.isReady&&e.query?(0,l.asPathToSearchParams)(e.asPath):new URLSearchParams}function d(e){if(!e.isReady||!e.query)return null;let t={};for(let r of Object.keys((0,s.getRouteRegex)(e.pathname).groups))t[r]=e.query[r];return t}function p(e){let{children:t,router:r,...n}=e,l=(0,a.useRef)(n.isAutoExport),s=(0,a.useMemo)(()=>{let e;let t=l.current;if(t&&(l.current=!1),(0,u.isDynamicRoute)(r.pathname)&&(r.isFallback||t&&!r.isReady))return null;try{e=new URL(r.asPath,"http://f")}catch(e){return"/"}return e.pathname},[r.asPath,r.isFallback,r.isReady,r.pathname]);return(0,o.jsx)(i.PathnameContext.Provider,{value:s,children:t})}},2595:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{default:function(){return V},matchesMiddleware:function(){return N},createKey:function(){return q}});let n=r(8754),o=r(1757),a=r(8290),i=r(5455),u=r(3104),l=o._(r(676)),s=r(3492),c=r(1254),f=n._(r(3947)),d=r(5522),p=r(8741),h=r(3974);r(2431);let m=r(995),_=r(5504),g=r(1024);r(9440);let y=r(5997),b=r(2208),v=r(2354),P=r(5055),E=r(9290),S=r(7232),j=r(5203),w=r(9423),O=r(5186),R=r(1726),T=r(5126),M=r(298),x=r(2074),I=r(1646),C=r(3523),A=r(3939);function L(){return Object.assign(Error("Route Cancelled"),{cancelled:!0})}async function N(e){let t=await Promise.resolve(e.router.pageLoader.getMiddleware());if(!t)return!1;let{pathname:r}=(0,y.parsePath)(e.asPath),n=(0,S.hasBasePath)(r)?(0,P.removeBasePath)(r):r,o=(0,E.addBasePath)((0,b.addLocale)(n,e.locale));return t.some(e=>new RegExp(e.regexp).test(o))}function D(e){let t=(0,d.getLocationOrigin)();return e.startsWith(t)?e.substring(t.length):e}function k(e,t,r){let[n,o]=(0,j.resolveHref)(e,t,!0),a=(0,d.getLocationOrigin)(),i=n.startsWith(a),u=o&&o.startsWith(a);n=D(n),o=o?D(o):o;let l=i?n:(0,E.addBasePath)(n),s=r?D((0,j.resolveHref)(e,r)):o||n;return{url:l,as:u?s:(0,E.addBasePath)(s)}}function F(e,t){let r=(0,a.removeTrailingSlash)((0,s.denormalizePagePath)(e));return"/404"===r||"/_error"===r?e:(t.includes(r)||t.some(t=>{if((0,p.isDynamicRoute)(t)&&(0,_.getRouteRegex)(t).re.test(r))return e=t,!0}),(0,a.removeTrailingSlash)(e))}async function B(e){if(!await N(e)||!e.fetchData)return null;try{let t=await e.fetchData(),r=await function(e,t,r){let n={basePath:r.router.basePath,i18n:{locales:r.router.locales},trailingSlash:!1},o=t.headers.get("x-nextjs-rewrite"),u=o||t.headers.get("x-nextjs-matched-path"),l=t.headers.get("x-matched-path");if(!l||u||l.includes("__next_data_catchall")||l.includes("/_error")||l.includes("/404")||(u=l),u){if(u.startsWith("/")){let t=(0,h.parseRelativeUrl)(u),l=(0,O.getNextPathnameInfo)(t.pathname,{nextConfig:n,parseData:!0}),s=(0,a.removeTrailingSlash)(l.pathname);return Promise.all([r.router.pageLoader.getPageList(),(0,i.getClientBuildManifest)()]).then(a=>{let[i,{__rewrites:u}]=a,f=(0,b.addLocale)(l.pathname,l.locale);if((0,p.isDynamicRoute)(f)||!o&&i.includes((0,c.normalizeLocalePath)((0,P.removeBasePath)(f),r.router.locales).pathname)){let r=(0,O.getNextPathnameInfo)((0,h.parseRelativeUrl)(e).pathname,{nextConfig:n,parseData:!0});f=(0,E.addBasePath)(r.pathname),t.pathname=f}if(!i.includes(s)){let e=F(s,i);e!==s&&(s=e)}let d=i.includes(s)?s:F((0,c.normalizeLocalePath)((0,P.removeBasePath)(t.pathname),r.router.locales).pathname,i);if((0,p.isDynamicRoute)(d)){let e=(0,m.getRouteMatcher)((0,_.getRouteRegex)(d))(f);Object.assign(t.query,e||{})}return{type:"rewrite",parsedAs:t,resolvedHref:d}})}let t=(0,y.parsePath)(e);return Promise.resolve({type:"redirect-external",destination:""+(0,R.formatNextPathnameInfo)({...(0,O.getNextPathnameInfo)(t.pathname,{nextConfig:n,parseData:!0}),defaultLocale:r.router.defaultLocale,buildId:""})+t.query+t.hash})}let s=t.headers.get("x-nextjs-redirect");if(s){if(s.startsWith("/")){let e=(0,y.parsePath)(s),t=(0,R.formatNextPathnameInfo)({...(0,O.getNextPathnameInfo)(e.pathname,{nextConfig:n,parseData:!0}),defaultLocale:r.router.defaultLocale,buildId:""});return Promise.resolve({type:"redirect-internal",newAs:""+t+e.query+e.hash,newUrl:""+t+e.query+e.hash})}return Promise.resolve({type:"redirect-external",destination:s})}return Promise.resolve({type:"next"})}(t.dataHref,t.response,e);return{dataHref:t.dataHref,json:t.json,response:t.response,text:t.text,cacheKey:t.cacheKey,effect:r}}catch(e){return null}}let U=Symbol("SSG_DATA_NOT_FOUND");function H(e){try{return JSON.parse(e)}catch(e){return null}}function W(e){var t;let{dataHref:r,inflightCache:n,isPrefetch:o,hasMiddleware:a,isServerRender:u,parseJSON:l,persistCache:s,isBackground:c,unstable_skipClientCache:f}=e,{href:d}=new URL(r,window.location.href),p=e=>(function e(t,r,n){return fetch(t,{credentials:"same-origin",method:n.method||"GET",headers:Object.assign({},n.headers,{"x-nextjs-data":"1"})}).then(o=>!o.ok&&r>1&&o.status>=500?e(t,r-1,n):o)})(r,u?3:1,{headers:Object.assign({},o?{purpose:"prefetch"}:{},o&&a?{"x-middleware-prefetch":"1"}:{}),method:null!=(t=null==e?void 0:e.method)?t:"GET"}).then(t=>t.ok&&(null==e?void 0:e.method)==="HEAD"?{dataHref:r,response:t,text:"",json:{},cacheKey:d}:t.text().then(e=>{if(!t.ok){if(a&&[301,302,307,308].includes(t.status))return{dataHref:r,response:t,text:e,json:{},cacheKey:d};if(404===t.status){var n;if(null==(n=H(e))?void 0:n.notFound)return{dataHref:r,json:{notFound:U},response:t,text:e,cacheKey:d}}let o=Error("Failed to load static props");throw u||(0,i.markAssetError)(o),o}return{dataHref:r,json:l?H(e):null,response:t,text:e,cacheKey:d}})).then(e=>(s&&"no-cache"!==e.response.headers.get("x-middleware-cache")||delete n[d],e)).catch(e=>{throw f||delete n[d],("Failed to fetch"===e.message||"NetworkError when attempting to fetch resource."===e.message||"Load failed"===e.message)&&(0,i.markAssetError)(e),e});return f&&s?p({}).then(e=>(n[d]=Promise.resolve(e),e)):void 0!==n[d]?n[d]:n[d]=p(c?{method:"HEAD"}:{})}function q(){return Math.random().toString(36).slice(2,10)}function G(e){let{url:t,router:r}=e;if(t===(0,E.addBasePath)((0,b.addLocale)(r.asPath,r.locale)))throw Error("Invariant: attempted to hard navigate to the same URL "+t+" "+location.href);window.location.href=t}let z=e=>{let{route:t,router:r}=e,n=!1,o=r.clc=()=>{n=!0};return()=>{if(n){let e=Error('Abort fetching component for route: "'+t+'"');throw e.cancelled=!0,e}o===r.clc&&(r.clc=null)}};class V{reload(){window.location.reload()}back(){window.history.back()}forward(){window.history.forward()}push(e,t,r){return void 0===r&&(r={}),{url:e,as:t}=k(this,e,t),this.change("pushState",e,t,r)}replace(e,t,r){return void 0===r&&(r={}),{url:e,as:t}=k(this,e,t),this.change("replaceState",e,t,r)}async _bfl(e,t,r,n){{let l=!1,s=!1;for(let c of[e,t])if(c){let t=(0,a.removeTrailingSlash)(new URL(c,"http://n").pathname),f=(0,E.addBasePath)((0,b.addLocale)(t,r||this.locale));if(t!==(0,a.removeTrailingSlash)(new URL(this.asPath,"http://n").pathname)){var o,i,u;for(let e of(l=l||!!(null==(o=this._bfl_s)?void 0:o.contains(t))||!!(null==(i=this._bfl_s)?void 0:i.contains(f)),[t,f])){let t=e.split("/");for(let e=0;!s&&e{})}}}}return!1}async change(e,t,r,n,o){var s,c,f,j,w,O,R,x,A;let D,B;if(!(0,M.isLocalURL)(t))return G({url:t,router:this}),!1;let H=1===n._h;H||n.shallow||await this._bfl(r,void 0,n.locale);let W=H||n._shouldResolveHref||(0,y.parsePath)(t).pathname===(0,y.parsePath)(r).pathname,q={...this.state},z=!0!==this.isReady;this.isReady=!0;let X=this.isSsr;if(H||(this.isSsr=!1),H&&this.clc)return!1;let Y=q.locale;d.ST&&performance.mark("routeChange");let{shallow:$=!1,scroll:K=!0}=n,J={shallow:$};this._inFlightRoute&&this.clc&&(X||V.events.emit("routeChangeError",L(),this._inFlightRoute,J),this.clc(),this.clc=null),r=(0,E.addBasePath)((0,b.addLocale)((0,S.hasBasePath)(r)?(0,P.removeBasePath)(r):r,n.locale,this.defaultLocale));let Q=(0,v.removeLocale)((0,S.hasBasePath)(r)?(0,P.removeBasePath)(r):r,q.locale);this._inFlightRoute=r;let Z=Y!==q.locale;if(!H&&this.onlyAHashChange(Q)&&!Z){q.asPath=Q,V.events.emit("hashChangeStart",r,J),this.changeState(e,t,r,{...n,scroll:!1}),K&&this.scrollToHash(Q);try{await this.set(q,this.components[q.route],null)}catch(e){throw(0,l.default)(e)&&e.cancelled&&V.events.emit("routeChangeError",e,Q,J),e}return V.events.emit("hashChangeComplete",r,J),!0}let ee=(0,h.parseRelativeUrl)(t),{pathname:et,query:er}=ee;try{[D,{__rewrites:B}]=await Promise.all([this.pageLoader.getPageList(),(0,i.getClientBuildManifest)(),this.pageLoader.getMiddleware()])}catch(e){return G({url:r,router:this}),!1}this.urlIsNew(Q)||Z||(e="replaceState");let en=r;et=et?(0,a.removeTrailingSlash)((0,P.removeBasePath)(et)):et;let eo=(0,a.removeTrailingSlash)(et),ea=r.startsWith("/")&&(0,h.parseRelativeUrl)(r).pathname;if(null==(s=this.components[et])?void 0:s.__appRouter)return G({url:r,router:this}),new Promise(()=>{});let ei=!!(ea&&eo!==ea&&(!(0,p.isDynamicRoute)(eo)||!(0,m.getRouteMatcher)((0,_.getRouteRegex)(eo))(ea))),eu=!n.shallow&&await N({asPath:r,locale:q.locale,router:this});if(H&&eu&&(W=!1),W&&"/_error"!==et&&(n._shouldResolveHref=!0,ee.pathname=F(et,D),ee.pathname===et||(et=ee.pathname,ee.pathname=(0,E.addBasePath)(et),eu||(t=(0,g.formatWithValidation)(ee)))),!(0,M.isLocalURL)(r))return G({url:r,router:this}),!1;en=(0,v.removeLocale)((0,P.removeBasePath)(en),q.locale),eo=(0,a.removeTrailingSlash)(et);let el=!1;if((0,p.isDynamicRoute)(eo)){let e=(0,h.parseRelativeUrl)(en),n=e.pathname,o=(0,_.getRouteRegex)(eo);el=(0,m.getRouteMatcher)(o)(n);let a=eo===n,i=a?(0,C.interpolateAs)(eo,n,er):{};if(el&&(!a||i.result))a?r=(0,g.formatWithValidation)(Object.assign({},e,{pathname:i.result,query:(0,I.omit)(er,i.params)})):Object.assign(er,el);else{let e=Object.keys(o.groups).filter(e=>!er[e]&&!o.groups[e].optional);if(e.length>0&&!eu)throw Error((a?"The provided `href` ("+t+") value is missing query values ("+e.join(", ")+") to be interpolated properly. ":"The provided `as` value ("+n+") is incompatible with the `href` value ("+eo+"). ")+"Read more: https://nextjs.org/docs/messages/"+(a?"href-interpolation-failed":"incompatible-href-as"))}}H||V.events.emit("routeChangeStart",r,J);let es="/404"===this.pathname||"/_error"===this.pathname;try{let a=await this.getRouteInfo({route:eo,pathname:et,query:er,as:r,resolvedAs:en,routeProps:J,locale:q.locale,isPreview:q.isPreview,hasMiddleware:eu,unstable_skipClientCache:n.unstable_skipClientCache,isQueryUpdating:H&&!this.isFallback,isMiddlewareRewrite:ei});if(H||n.shallow||await this._bfl(r,"resolvedAs"in a?a.resolvedAs:void 0,q.locale),"route"in a&&eu){eo=et=a.route||eo,J.shallow||(er=Object.assign({},a.query||{},er));let e=(0,S.hasBasePath)(ee.pathname)?(0,P.removeBasePath)(ee.pathname):ee.pathname;if(el&&et!==e&&Object.keys(el).forEach(e=>{el&&er[e]===el[e]&&delete er[e]}),(0,p.isDynamicRoute)(et)){let e=!J.shallow&&a.resolvedAs?a.resolvedAs:(0,E.addBasePath)((0,b.addLocale)(new URL(r,location.href).pathname,q.locale),!0);(0,S.hasBasePath)(e)&&(e=(0,P.removeBasePath)(e));let t=(0,_.getRouteRegex)(et),n=(0,m.getRouteMatcher)(t)(new URL(e,location.href).pathname);n&&Object.assign(er,n)}}if("type"in a){if("redirect-internal"===a.type)return this.change(e,a.newUrl,a.newAs,n);return G({url:a.destination,router:this}),new Promise(()=>{})}let i=a.Component;if(i&&i.unstable_scriptLoader&&[].concat(i.unstable_scriptLoader()).forEach(e=>{(0,u.handleClientScriptLoad)(e.props)}),(a.__N_SSG||a.__N_SSP)&&a.props){if(a.props.pageProps&&a.props.pageProps.__N_REDIRECT){n.locale=!1;let t=a.props.pageProps.__N_REDIRECT;if(t.startsWith("/")&&!1!==a.props.pageProps.__N_REDIRECT_BASE_PATH){let r=(0,h.parseRelativeUrl)(t);r.pathname=F(r.pathname,D);let{url:o,as:a}=k(this,t,t);return this.change(e,o,a,n)}return G({url:t,router:this}),new Promise(()=>{})}if(q.isPreview=!!a.props.__N_PREVIEW,a.props.notFound===U){let e;try{await this.fetchComponent("/404"),e="/404"}catch(t){e="/_error"}if(a=await this.getRouteInfo({route:e,pathname:e,query:er,as:r,resolvedAs:en,routeProps:{shallow:!1},locale:q.locale,isPreview:q.isPreview,isNotFound:!0}),"type"in a)throw Error("Unexpected middleware effect on /404")}}H&&"/_error"===this.pathname&&(null==(f=self.__NEXT_DATA__.props)?void 0:null==(c=f.pageProps)?void 0:c.statusCode)===500&&(null==(j=a.props)?void 0:j.pageProps)&&(a.props.pageProps.statusCode=500);let s=n.shallow&&q.route===(null!=(w=a.route)?w:eo),d=null!=(O=n.scroll)?O:!H&&!s,g=null!=o?o:d?{x:0,y:0}:null,y={...q,route:eo,pathname:et,query:er,asPath:Q,isFallback:!1};if(H&&es){if(a=await this.getRouteInfo({route:this.pathname,pathname:this.pathname,query:er,as:r,resolvedAs:en,routeProps:{shallow:!1},locale:q.locale,isPreview:q.isPreview,isQueryUpdating:H&&!this.isFallback}),"type"in a)throw Error("Unexpected middleware effect on "+this.pathname);"/_error"===this.pathname&&(null==(x=self.__NEXT_DATA__.props)?void 0:null==(R=x.pageProps)?void 0:R.statusCode)===500&&(null==(A=a.props)?void 0:A.pageProps)&&(a.props.pageProps.statusCode=500);try{await this.set(y,a,g)}catch(e){throw(0,l.default)(e)&&e.cancelled&&V.events.emit("routeChangeError",e,Q,J),e}return!0}if(V.events.emit("beforeHistoryChange",r,J),this.changeState(e,t,r,n),!(H&&!g&&!z&&!Z&&(0,T.compareRouterStates)(y,this.state))){try{await this.set(y,a,g)}catch(e){if(e.cancelled)a.error=a.error||e;else throw e}if(a.error)throw H||V.events.emit("routeChangeError",a.error,Q,J),a.error;H||V.events.emit("routeChangeComplete",r,J),d&&/#.+$/.test(r)&&this.scrollToHash(r)}return!0}catch(e){if((0,l.default)(e)&&e.cancelled)return!1;throw e}}changeState(e,t,r,n){void 0===n&&(n={}),("pushState"!==e||(0,d.getURL)()!==r)&&(this._shallow=n.shallow,window.history[e]({url:t,as:r,options:n,__N:!0,key:this._key="pushState"!==e?this._key:q()},"",r))}async handleRouteInfoError(e,t,r,n,o,a){if(console.error(e),e.cancelled)throw e;if((0,i.isAssetError)(e)||a)throw V.events.emit("routeChangeError",e,n,o),G({url:n,router:this}),L();try{let n;let{page:o,styleSheets:a}=await this.fetchComponent("/_error"),i={props:n,Component:o,styleSheets:a,err:e,error:e};if(!i.props)try{i.props=await this.getInitialProps(o,{err:e,pathname:t,query:r})}catch(e){console.error("Error in error page `getInitialProps`: ",e),i.props={}}return i}catch(e){return this.handleRouteInfoError((0,l.default)(e)?e:Error(e+""),t,r,n,o,!0)}}async getRouteInfo(e){let{route:t,pathname:r,query:n,as:o,resolvedAs:i,routeProps:u,locale:s,hasMiddleware:f,isPreview:d,unstable_skipClientCache:p,isQueryUpdating:h,isMiddlewareRewrite:m,isNotFound:_}=e,y=t;try{var b,v,E,S;let e=z({route:y,router:this}),t=this.components[y];if(u.shallow&&t&&this.route===y)return t;f&&(t=void 0);let l=!t||"initial"in t?void 0:t,j={dataHref:this.pageLoader.getDataHref({href:(0,g.formatWithValidation)({pathname:r,query:n}),skipInterpolation:!0,asPath:_?"/404":i,locale:s}),hasMiddleware:!0,isServerRender:this.isSsr,parseJSON:!0,inflightCache:h?this.sbc:this.sdc,persistCache:!d,isPrefetch:!1,unstable_skipClientCache:p,isBackground:h},O=h&&!m?null:await B({fetchData:()=>W(j),asPath:_?"/404":i,locale:s,router:this}).catch(e=>{if(h)return null;throw e});if(O&&("/_error"===r||"/404"===r)&&(O.effect=void 0),h&&(O?O.json=self.__NEXT_DATA__.props:O={json:self.__NEXT_DATA__.props}),e(),(null==O?void 0:null==(b=O.effect)?void 0:b.type)==="redirect-internal"||(null==O?void 0:null==(v=O.effect)?void 0:v.type)==="redirect-external")return O.effect;if((null==O?void 0:null==(E=O.effect)?void 0:E.type)==="rewrite"){let e=(0,a.removeTrailingSlash)(O.effect.resolvedHref),o=await this.pageLoader.getPageList();if((!h||o.includes(e))&&(y=e,r=O.effect.resolvedHref,n={...n,...O.effect.parsedAs.query},i=(0,P.removeBasePath)((0,c.normalizeLocalePath)(O.effect.parsedAs.pathname,this.locales).pathname),t=this.components[y],u.shallow&&t&&this.route===y&&!f))return{...t,route:y}}if((0,w.isAPIRoute)(y))return G({url:o,router:this}),new Promise(()=>{});let R=l||await this.fetchComponent(y).then(e=>({Component:e.page,styleSheets:e.styleSheets,__N_SSG:e.mod.__N_SSG,__N_SSP:e.mod.__N_SSP})),T=null==O?void 0:null==(S=O.response)?void 0:S.headers.get("x-middleware-skip"),M=R.__N_SSG||R.__N_SSP;T&&(null==O?void 0:O.dataHref)&&delete this.sdc[O.dataHref];let{props:x,cacheKey:I}=await this._getData(async()=>{if(M){if((null==O?void 0:O.json)&&!T)return{cacheKey:O.cacheKey,props:O.json};let e=(null==O?void 0:O.dataHref)?O.dataHref:this.pageLoader.getDataHref({href:(0,g.formatWithValidation)({pathname:r,query:n}),asPath:i,locale:s}),t=await W({dataHref:e,isServerRender:this.isSsr,parseJSON:!0,inflightCache:T?{}:this.sdc,persistCache:!d,isPrefetch:!1,unstable_skipClientCache:p});return{cacheKey:t.cacheKey,props:t.json||{}}}return{headers:{},props:await this.getInitialProps(R.Component,{pathname:r,query:n,asPath:o,locale:s,locales:this.locales,defaultLocale:this.defaultLocale})}});return R.__N_SSP&&j.dataHref&&I&&delete this.sdc[I],this.isPreview||!R.__N_SSG||h||W(Object.assign({},j,{isBackground:!0,persistCache:!1,inflightCache:this.sbc})).catch(()=>{}),x.pageProps=Object.assign({},x.pageProps),R.props=x,R.route=y,R.query=n,R.resolvedAs=i,this.components[y]=R,R}catch(e){return this.handleRouteInfoError((0,l.getProperError)(e),r,n,o,u)}}set(e,t,r){return this.state=e,this.sub(t,this.components["/_app"].Component,r)}beforePopState(e){this._bps=e}onlyAHashChange(e){if(!this.asPath)return!1;let[t,r]=this.asPath.split("#",2),[n,o]=e.split("#",2);return!!o&&t===n&&r===o||t===n&&r!==o}scrollToHash(e){let[,t=""]=e.split("#",2);(0,A.handleSmoothScroll)(()=>{if(""===t||"top"===t){window.scrollTo(0,0);return}let e=decodeURIComponent(t),r=document.getElementById(e);if(r){r.scrollIntoView();return}let n=document.getElementsByName(e)[0];n&&n.scrollIntoView()},{onlyHashChange:this.onlyAHashChange(e)})}urlIsNew(e){return this.asPath!==e}async prefetch(e,t,r){if(void 0===t&&(t=e),void 0===r&&(r={}),(0,x.isBot)(window.navigator.userAgent))return;let n=(0,h.parseRelativeUrl)(e),o=n.pathname,{pathname:i,query:u}=n,l=i,s=await this.pageLoader.getPageList(),c=t,f=void 0!==r.locale?r.locale||void 0:this.locale,d=await N({asPath:t,locale:f,router:this});n.pathname=F(n.pathname,s),(0,p.isDynamicRoute)(n.pathname)&&(i=n.pathname,n.pathname=i,Object.assign(u,(0,m.getRouteMatcher)((0,_.getRouteRegex)(n.pathname))((0,y.parsePath)(t).pathname)||{}),d||(e=(0,g.formatWithValidation)(n)));let b=await B({fetchData:()=>W({dataHref:this.pageLoader.getDataHref({href:(0,g.formatWithValidation)({pathname:l,query:u}),skipInterpolation:!0,asPath:c,locale:f}),hasMiddleware:!0,isServerRender:this.isSsr,parseJSON:!0,inflightCache:this.sdc,persistCache:!this.isPreview,isPrefetch:!0}),asPath:t,locale:f,router:this});if((null==b?void 0:b.effect.type)==="rewrite"&&(n.pathname=b.effect.resolvedHref,i=b.effect.resolvedHref,u={...u,...b.effect.parsedAs.query},c=b.effect.parsedAs.pathname,e=(0,g.formatWithValidation)(n)),(null==b?void 0:b.effect.type)==="redirect-external")return;let v=(0,a.removeTrailingSlash)(i);await this._bfl(t,c,r.locale,!0)&&(this.components[o]={__appRouter:!0}),await Promise.all([this.pageLoader._isSsg(v).then(t=>!!t&&W({dataHref:(null==b?void 0:b.json)?null==b?void 0:b.dataHref:this.pageLoader.getDataHref({href:e,asPath:c,locale:f}),isServerRender:!1,parseJSON:!0,inflightCache:this.sdc,persistCache:!this.isPreview,isPrefetch:!0,unstable_skipClientCache:r.unstable_skipClientCache||r.priority&&!0}).then(()=>!1).catch(()=>!1)),this.pageLoader[r.priority?"loadPage":"prefetch"](v)])}async fetchComponent(e){let t=z({route:e,router:this});try{let r=await this.pageLoader.loadPage(e);return t(),r}catch(e){throw t(),e}}_getData(e){let t=!1,r=()=>{t=!0};return this.clc=r,e().then(e=>{if(r===this.clc&&(this.clc=null),t){let e=Error("Loading initial props cancelled");throw e.cancelled=!0,e}return e})}_getFlightData(e){return W({dataHref:e,isServerRender:!0,parseJSON:!1,inflightCache:this.sdc,persistCache:!1,isPrefetch:!1}).then(e=>{let{text:t}=e;return{data:t}})}getInitialProps(e,t){let{Component:r}=this.components["/_app"],n=this._wrapApp(r);return t.AppTree=n,(0,d.loadGetInitialProps)(r,{AppTree:n,Component:e,router:this,ctx:t})}get route(){return this.state.route}get pathname(){return this.state.pathname}get query(){return this.state.query}get asPath(){return this.state.asPath}get locale(){return this.state.locale}get isFallback(){return this.state.isFallback}get isPreview(){return this.state.isPreview}constructor(e,t,n,{initialProps:o,pageLoader:i,App:u,wrapApp:l,Component:s,err:c,subscription:f,isFallback:m,locale:_,locales:y,defaultLocale:b,domainLocales:v,isPreview:P}){this.sdc={},this.sbc={},this.isFirstPopStateEvent=!0,this._key=q(),this.onPopState=e=>{let t;let{isFirstPopStateEvent:r}=this;this.isFirstPopStateEvent=!1;let n=e.state;if(!n){let{pathname:e,query:t}=this;this.changeState("replaceState",(0,g.formatWithValidation)({pathname:(0,E.addBasePath)(e),query:t}),(0,d.getURL)());return}if(n.__NA){window.location.reload();return}if(!n.__N||r&&this.locale===n.options.locale&&n.as===this.asPath)return;let{url:o,as:a,options:i,key:u}=n;this._key=u;let{pathname:l}=(0,h.parseRelativeUrl)(o);(!this.isSsr||a!==(0,E.addBasePath)(this.asPath)||l!==(0,E.addBasePath)(this.pathname))&&(!this._bps||this._bps(n))&&this.change("replaceState",o,a,Object.assign({},i,{shallow:i.shallow&&this._shallow,locale:i.locale||this.defaultLocale,_h:0}),t)};let S=(0,a.removeTrailingSlash)(e);this.components={},"/_error"!==e&&(this.components[S]={Component:s,initial:!0,props:o,err:c,__N_SSG:o&&o.__N_SSG,__N_SSP:o&&o.__N_SSP}),this.components["/_app"]={Component:u,styleSheets:[]};{let{BloomFilter:e}=r(9337),t={numItems:8,errorRate:1e-4,numBits:154,numHashes:14,bitArray:[0,0,1,1,0,1,0,0,0,0,0,0,1,1,1,1,1,1,1,0,1,0,1,0,1,0,0,0,1,0,0,0,0,1,1,0,0,1,1,1,1,0,0,1,1,1,0,1,1,0,1,0,1,1,0,0,0,1,1,0,0,1,0,1,1,1,0,1,0,1,1,0,0,0,1,1,1,1,0,1,0,0,1,1,1,1,1,1,1,0,0,1,0,1,0,0,0,0,1,1,1,0,1,0,1,0,1,0,0,1,1,1,1,0,1,1,1,1,1,1,1,0,1,0,0,0,1,1,1,0,0,0,0,0,0,1,1,0,0,1,0,0,0,1,1,1,1,1,0,0,1,0,1,0]},n={numItems:0,errorRate:1e-4,numBits:0,numHashes:null,bitArray:[]};(null==t?void 0:t.numHashes)&&(this._bfl_s=new e(t.numItems,t.errorRate),this._bfl_s.import(t)),(null==n?void 0:n.numHashes)&&(this._bfl_d=new e(n.numItems,n.errorRate),this._bfl_d.import(n))}this.events=V.events,this.pageLoader=i;let j=(0,p.isDynamicRoute)(e)&&self.__NEXT_DATA__.autoExport;if(this.basePath="",this.sub=f,this.clc=null,this._wrapApp=l,this.isSsr=!0,this.isLocaleDomain=!1,this.isReady=!!(self.__NEXT_DATA__.gssp||self.__NEXT_DATA__.gip||self.__NEXT_DATA__.isExperimentalCompile||self.__NEXT_DATA__.appGip&&!self.__NEXT_DATA__.gsp||!j&&!self.location.search),this.state={route:S,pathname:e,query:t,asPath:j?e:n,isPreview:!!P,locale:void 0,isFallback:m},this._initialMatchesMiddlewarePromise=Promise.resolve(!1),!n.startsWith("//")){let r={locale:_},o=(0,d.getURL)();this._initialMatchesMiddlewarePromise=N({router:this,locale:_,asPath:o}).then(a=>(r._shouldResolveHref=n!==e,this.changeState("replaceState",a?o:(0,g.formatWithValidation)({pathname:(0,E.addBasePath)(e),query:t}),o,r),a))}window.addEventListener("popstate",this.onPopState)}}V.events=(0,f.default)()},8697:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"addLocale",{enumerable:!0,get:function(){return a}});let n=r(138),o=r(7559);function a(e,t,r,a){if(!t||t===r)return e;let i=e.toLowerCase();return!a&&((0,o.pathHasPrefix)(i,"/api")||(0,o.pathHasPrefix)(i,"/"+t.toLowerCase()))?e:(0,n.addPathPrefix)(e,"/"+t)}},138:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"addPathPrefix",{enumerable:!0,get:function(){return o}});let n=r(5997);function o(e,t){if(!e.startsWith("/")||!t)return e;let{pathname:r,query:o,hash:a}=(0,n.parsePath)(e);return""+t+r+o+a}},6346:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"addPathSuffix",{enumerable:!0,get:function(){return o}});let n=r(5997);function o(e,t){if(!e.startsWith("/")||!t)return e;let{pathname:r,query:o,hash:a}=(0,n.parsePath)(e);return""+r+t+o+a}},2594:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{normalizeAppPath:function(){return a},normalizeRscURL:function(){return i}});let n=r(3953),o=r(1665);function a(e){return(0,n.ensureLeadingSlash)(e.split("/").reduce((e,t,r,n)=>!t||(0,o.isGroupSegment)(t)||"@"===t[0]||("page"===t||"route"===t)&&r===n.length-1?e:e+"/"+t,""))}function i(e){return e.replace(/\.rsc($|\?)/,"$1")}},901:function(e,t){"use strict";function r(e){return new URL(e,"http://n").searchParams}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"asPathToSearchParams",{enumerable:!0,get:function(){return r}})},5126:function(e,t){"use strict";function r(e,t){let r=Object.keys(e);if(r.length!==Object.keys(t).length)return!1;for(let n=r.length;n--;){let o=r[n];if("query"===o){let r=Object.keys(e.query);if(r.length!==Object.keys(t.query).length)return!1;for(let n=r.length;n--;){let o=r[n];if(!t.query.hasOwnProperty(o)||e.query[o]!==t.query[o])return!1}}else if(!t.hasOwnProperty(o)||e[o]!==t[o])return!1}return!0}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"compareRouterStates",{enumerable:!0,get:function(){return r}})},1726:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"formatNextPathnameInfo",{enumerable:!0,get:function(){return u}});let n=r(8290),o=r(138),a=r(6346),i=r(8697);function u(e){let t=(0,i.addLocale)(e.pathname,e.locale,e.buildId?void 0:e.defaultLocale,e.ignorePrefix);return(e.buildId||!e.trailingSlash)&&(t=(0,n.removeTrailingSlash)(t)),e.buildId&&(t=(0,a.addPathSuffix)((0,o.addPathPrefix)(t,"/_next/data/"+e.buildId),"/"===e.pathname?"index.json":".json")),t=(0,o.addPathPrefix)(t,e.basePath),!e.buildId&&e.trailingSlash?t.endsWith("/")?t:(0,a.addPathSuffix)(t,"/"):(0,n.removeTrailingSlash)(t)}},1024:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{formatUrl:function(){return a},urlObjectKeys:function(){return i},formatWithValidation:function(){return u}});let n=r(1757)._(r(8050)),o=/https?|ftp|gopher|file/;function a(e){let{auth:t,hostname:r}=e,a=e.protocol||"",i=e.pathname||"",u=e.hash||"",l=e.query||"",s=!1;t=t?encodeURIComponent(t).replace(/%3A/i,":")+"@":"",e.host?s=t+e.host:r&&(s=t+(~r.indexOf(":")?"["+r+"]":r),e.port&&(s+=":"+e.port)),l&&"object"==typeof l&&(l=String(n.urlQueryToSearchParams(l)));let c=e.search||l&&"?"+l||"";return a&&!a.endsWith(":")&&(a+=":"),e.slashes||(!a||o.test(a))&&!1!==s?(s="//"+(s||""),i&&"/"!==i[0]&&(i="/"+i)):s||(s=""),u&&"#"!==u[0]&&(u="#"+u),c&&"?"!==c[0]&&(c="?"+c),""+a+s+(i=i.replace(/[?#]/g,encodeURIComponent))+(c=c.replace("#","%23"))+u}let i=["auth","hash","host","hostname","href","path","pathname","port","protocol","query","search","slashes"];function u(e){return a(e)}},6165:function(e,t){"use strict";function r(e,t){return void 0===t&&(t=""),("/"===e?"/index":/^\/index(\/|$)/.test(e)?"/index"+e:e)+t}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return r}})},5186:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getNextPathnameInfo",{enumerable:!0,get:function(){return i}});let n=r(1254),o=r(530),a=r(7559);function i(e,t){var r,i;let{basePath:u,i18n:l,trailingSlash:s}=null!=(r=t.nextConfig)?r:{},c={pathname:e,trailingSlash:"/"!==e?e.endsWith("/"):s};u&&(0,a.pathHasPrefix)(c.pathname,u)&&(c.pathname=(0,o.removePathPrefix)(c.pathname,u),c.basePath=u);let f=c.pathname;if(c.pathname.startsWith("/_next/data/")&&c.pathname.endsWith(".json")){let e=c.pathname.replace(/^\/_next\/data\//,"").replace(/\.json$/,"").split("/"),r=e[0];c.buildId=r,f="index"!==e[1]?"/"+e.slice(1).join("/"):"/",!0===t.parseData&&(c.pathname=f)}if(l){let e=t.i18nProvider?t.i18nProvider.analyze(c.pathname):(0,n.normalizeLocalePath)(c.pathname,l.locales);c.locale=e.detectedLocale,c.pathname=null!=(i=e.pathname)?i:c.pathname,!e.detectedLocale&&c.buildId&&(e=t.i18nProvider?t.i18nProvider.analyze(f):(0,n.normalizeLocalePath)(f,l.locales)).detectedLocale&&(c.locale=e.detectedLocale)}return c}},3939:function(e,t){"use strict";function r(e,t){if(void 0===t&&(t={}),t.onlyHashChange){e();return}let r=document.documentElement,n=r.style.scrollBehavior;r.style.scrollBehavior="auto",t.dontForceLayout||r.getClientRects(),e(),r.style.scrollBehavior=n}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"handleSmoothScroll",{enumerable:!0,get:function(){return r}})},6277:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{getSortedRoutes:function(){return n.getSortedRoutes},isDynamicRoute:function(){return o.isDynamicRoute}});let n=r(2903),o=r(8741)},3523:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"interpolateAs",{enumerable:!0,get:function(){return a}});let n=r(995),o=r(5504);function a(e,t,r){let a="",i=(0,o.getRouteRegex)(e),u=i.groups,l=(t!==e?(0,n.getRouteMatcher)(i)(t):"")||r;a=e;let s=Object.keys(u);return s.every(e=>{let t=l[e]||"",{repeat:r,optional:n}=u[e],o="["+(r?"...":"")+e+"]";return n&&(o=(t?"":"/")+"["+o+"]"),r&&!Array.isArray(t)&&(t=[t]),(n||e in l)&&(a=a.replace(o,r?t.map(e=>encodeURIComponent(e)).join("/"):encodeURIComponent(t))||"/")})||(a=""),{params:s,result:a}}},2074:function(e,t){"use strict";function r(e){return/Googlebot|Mediapartners-Google|AdsBot-Google|googleweblight|Storebot-Google|Google-PageRenderer|Bingbot|BingPreview|Slurp|DuckDuckBot|baiduspider|yandex|sogou|LinkedInBot|bitlybot|tumblr|vkShare|quora link preview|facebookexternalhit|facebookcatalog|Twitterbot|applebot|redditbot|Slackbot|Discordbot|WhatsApp|SkypeUriPreview|ia_archiver/i.test(e)}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"isBot",{enumerable:!0,get:function(){return r}})},8741:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"isDynamicRoute",{enumerable:!0,get:function(){return a}});let n=r(2407),o=/\/\[[^/]+?\](?=\/|$)/;function a(e){return(0,n.isInterceptionRouteAppPath)(e)&&(e=(0,n.extractInterceptionRouteInformation)(e).interceptedRoute),o.test(e)}},298:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"isLocalURL",{enumerable:!0,get:function(){return a}});let n=r(5522),o=r(7232);function a(e){if(!(0,n.isAbsoluteUrl)(e))return!0;try{let t=(0,n.getLocationOrigin)(),r=new URL(e,t);return r.origin===t&&(0,o.hasBasePath)(r.pathname)}catch(e){return!1}}},1646:function(e,t){"use strict";function r(e,t){let r={};return Object.keys(e).forEach(n=>{t.includes(n)||(r[n]=e[n])}),r}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"omit",{enumerable:!0,get:function(){return r}})},5997:function(e,t){"use strict";function r(e){let t=e.indexOf("#"),r=e.indexOf("?"),n=r>-1&&(t<0||r-1?{pathname:e.substring(0,n?r:t),query:n?e.substring(r,t>-1?t:void 0):"",hash:t>-1?e.slice(t):""}:{pathname:e,query:"",hash:""}}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"parsePath",{enumerable:!0,get:function(){return r}})},3974:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"parseRelativeUrl",{enumerable:!0,get:function(){return a}});let n=r(5522),o=r(8050);function a(e,t){let r=new URL((0,n.getLocationOrigin)()),a=t?new URL(t,r):e.startsWith(".")?new URL(window.location.href):r,{pathname:i,searchParams:u,search:l,hash:s,href:c,origin:f}=new URL(e,a);if(f!==r.origin)throw Error("invariant: invalid relative URL, router received "+e);return{pathname:i,query:(0,o.searchParamsToUrlQuery)(u),search:l,hash:s,href:c.slice(r.origin.length)}}},7559:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"pathHasPrefix",{enumerable:!0,get:function(){return o}});let n=r(5997);function o(e,t){if("string"!=typeof e)return!1;let{pathname:r}=(0,n.parsePath)(e);return r===t||r.startsWith(t+"/")}},8050:function(e,t){"use strict";function r(e){let t={};return e.forEach((e,r)=>{void 0===t[r]?t[r]=e:Array.isArray(t[r])?t[r].push(e):t[r]=[t[r],e]}),t}function n(e){return"string"!=typeof e&&("number"!=typeof e||isNaN(e))&&"boolean"!=typeof e?"":String(e)}function o(e){let t=new URLSearchParams;return Object.entries(e).forEach(e=>{let[r,o]=e;Array.isArray(o)?o.forEach(e=>t.append(r,n(e))):t.set(r,n(o))}),t}function a(e){for(var t=arguments.length,r=Array(t>1?t-1:0),n=1;n{Array.from(t.keys()).forEach(t=>e.delete(t)),t.forEach((t,r)=>e.append(r,t))}),e}Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{searchParamsToUrlQuery:function(){return r},urlQueryToSearchParams:function(){return o},assign:function(){return a}})},530:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"removePathPrefix",{enumerable:!0,get:function(){return o}});let n=r(7559);function o(e,t){if(!(0,n.pathHasPrefix)(e,t))return e;let r=e.slice(t.length);return r.startsWith("/")?r:"/"+r}},8290:function(e,t){"use strict";function r(e){return e.replace(/\/$/,"")||"/"}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"removeTrailingSlash",{enumerable:!0,get:function(){return r}})},995:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getRouteMatcher",{enumerable:!0,get:function(){return o}});let n=r(5522);function o(e){let{re:t,groups:r}=e;return e=>{let o=t.exec(e);if(!o)return!1;let a=e=>{try{return decodeURIComponent(e)}catch(e){throw new n.DecodeError("failed to decode param")}},i={};return Object.keys(r).forEach(e=>{let t=r[e],n=o[t.pos];void 0!==n&&(i[e]=~n.indexOf("/")?n.split("/").map(e=>a(e)):t.repeat?[a(n)]:a(n))}),i}}},5504:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{getRouteRegex:function(){return l},getNamedRouteRegex:function(){return f},getNamedMiddlewareRegex:function(){return d}});let n=r(2407),o=r(4613),a=r(8290);function i(e){let t=e.startsWith("[")&&e.endsWith("]");t&&(e=e.slice(1,-1));let r=e.startsWith("...");return r&&(e=e.slice(3)),{key:e,repeat:r,optional:t}}function u(e){let t=(0,a.removeTrailingSlash)(e).slice(1).split("/"),r={},u=1;return{parameterizedRoute:t.map(e=>{let t=n.INTERCEPTION_ROUTE_MARKERS.find(t=>e.startsWith(t)),a=e.match(/\[((?:\[.*\])|.+)\]/);if(t&&a){let{key:e,optional:n,repeat:l}=i(a[1]);return r[e]={pos:u++,repeat:l,optional:n},"/"+(0,o.escapeStringRegexp)(t)+"([^/]+?)"}if(!a)return"/"+(0,o.escapeStringRegexp)(e);{let{key:e,repeat:t,optional:n}=i(a[1]);return r[e]={pos:u++,repeat:t,optional:n},t?n?"(?:/(.+?))?":"/(.+?)":"/([^/]+?)"}}).join(""),groups:r}}function l(e){let{parameterizedRoute:t,groups:r}=u(e);return{re:RegExp("^"+t+"(?:/)?$"),groups:r}}function s(e){let{interceptionMarker:t,getSafeRouteKey:r,segment:n,routeKeys:a,keyPrefix:u}=e,{key:l,optional:s,repeat:c}=i(n),f=l.replace(/\W/g,"");u&&(f=""+u+f);let d=!1;(0===f.length||f.length>30)&&(d=!0),isNaN(parseInt(f.slice(0,1)))||(d=!0),d&&(f=r()),u?a[f]=""+u+l:a[f]=l;let p=t?(0,o.escapeStringRegexp)(t):"";return c?s?"(?:/"+p+"(?<"+f+">.+?))?":"/"+p+"(?<"+f+">.+?)":"/"+p+"(?<"+f+">[^/]+?)"}function c(e,t){let r;let i=(0,a.removeTrailingSlash)(e).slice(1).split("/"),u=(r=0,()=>{let e="",t=++r;for(;t>0;)e+=String.fromCharCode(97+(t-1)%26),t=Math.floor((t-1)/26);return e}),l={};return{namedParameterizedRoute:i.map(e=>{let r=n.INTERCEPTION_ROUTE_MARKERS.some(t=>e.startsWith(t)),a=e.match(/\[((?:\[.*\])|.+)\]/);if(r&&a){let[r]=e.split(a[0]);return s({getSafeRouteKey:u,interceptionMarker:r,segment:a[1],routeKeys:l,keyPrefix:t?"nxtI":void 0})}return a?s({getSafeRouteKey:u,segment:a[1],routeKeys:l,keyPrefix:t?"nxtP":void 0}):"/"+(0,o.escapeStringRegexp)(e)}).join(""),routeKeys:l}}function f(e,t){let r=c(e,t);return{...l(e),namedRegex:"^"+r.namedParameterizedRoute+"(?:/)?$",routeKeys:r.routeKeys}}function d(e,t){let{parameterizedRoute:r}=u(e),{catchAll:n=!0}=t;if("/"===r)return{namedRegex:"^/"+(n?".*":"")+"$"};let{namedParameterizedRoute:o}=c(e,!1);return{namedRegex:"^"+o+(n?"(?:(/.*)?)":"")+"$"}}},2903:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getSortedRoutes",{enumerable:!0,get:function(){return n}});class r{insert(e){this._insert(e.split("/").filter(Boolean),[],!1)}smoosh(){return this._smoosh()}_smoosh(e){void 0===e&&(e="/");let t=[...this.children.keys()].sort();null!==this.slugName&&t.splice(t.indexOf("[]"),1),null!==this.restSlugName&&t.splice(t.indexOf("[...]"),1),null!==this.optionalRestSlugName&&t.splice(t.indexOf("[[...]]"),1);let r=t.map(t=>this.children.get(t)._smoosh(""+e+t+"/")).reduce((e,t)=>[...e,...t],[]);if(null!==this.slugName&&r.push(...this.children.get("[]")._smoosh(e+"["+this.slugName+"]/")),!this.placeholder){let t="/"===e?"/":e.slice(0,-1);if(null!=this.optionalRestSlugName)throw Error('You cannot define a route with the same specificity as a optional catch-all route ("'+t+'" and "'+t+"[[..."+this.optionalRestSlugName+']]").');r.unshift(t)}return null!==this.restSlugName&&r.push(...this.children.get("[...]")._smoosh(e+"[..."+this.restSlugName+"]/")),null!==this.optionalRestSlugName&&r.push(...this.children.get("[[...]]")._smoosh(e+"[[..."+this.optionalRestSlugName+"]]/")),r}_insert(e,t,n){if(0===e.length){this.placeholder=!1;return}if(n)throw Error("Catch-all must be the last part of the URL.");let o=e[0];if(o.startsWith("[")&&o.endsWith("]")){let r=o.slice(1,-1),i=!1;if(r.startsWith("[")&&r.endsWith("]")&&(r=r.slice(1,-1),i=!0),r.startsWith("...")&&(r=r.substring(3),n=!0),r.startsWith("[")||r.endsWith("]"))throw Error("Segment names may not start or end with extra brackets ('"+r+"').");if(r.startsWith("."))throw Error("Segment names may not start with erroneous periods ('"+r+"').");function a(e,r){if(null!==e&&e!==r)throw Error("You cannot use different slug names for the same dynamic path ('"+e+"' !== '"+r+"').");t.forEach(e=>{if(e===r)throw Error('You cannot have the same slug name "'+r+'" repeat within a single dynamic path');if(e.replace(/\W/g,"")===o.replace(/\W/g,""))throw Error('You cannot have the slug names "'+e+'" and "'+r+'" differ only by non-word symbols within a single dynamic path')}),t.push(r)}if(n){if(i){if(null!=this.restSlugName)throw Error('You cannot use both an required and optional catch-all route at the same level ("[...'+this.restSlugName+']" and "'+e[0]+'" ).');a(this.optionalRestSlugName,r),this.optionalRestSlugName=r,o="[[...]]"}else{if(null!=this.optionalRestSlugName)throw Error('You cannot use both an optional and required catch-all route at the same level ("[[...'+this.optionalRestSlugName+']]" and "'+e[0]+'").');a(this.restSlugName,r),this.restSlugName=r,o="[...]"}}else{if(i)throw Error('Optional route parameters are not yet supported ("'+e[0]+'").');a(this.slugName,r),this.slugName=r,o="[]"}}this.children.has(o)||this.children.set(o,new r),this.children.get(o)._insert(e.slice(1),t,n)}constructor(){this.placeholder=!0,this.children=new Map,this.slugName=null,this.restSlugName=null,this.optionalRestSlugName=null}}function n(e){let t=new r;return e.forEach(e=>t.insert(e)),t.smoosh()}},8384:function(e,t){"use strict";let r;Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{default:function(){return n},setConfig:function(){return o}});let n=()=>r;function o(e){r=e}},1665:function(e,t){"use strict";function r(e){return"("===e[0]&&e.endsWith(")")}Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{isGroupSegment:function(){return r},PAGE_SEGMENT_KEY:function(){return n},DEFAULT_SEGMENT_KEY:function(){return o}});let n="__PAGE__",o="__DEFAULT__"},738:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i}});let n=r(7294),o=n.useLayoutEffect,a=n.useEffect;function i(e){let{headManager:t,reduceComponentsToState:r}=e;function i(){if(t&&t.mountedInstances){let o=n.Children.toArray(Array.from(t.mountedInstances).filter(Boolean));t.updateHead(r(o,e))}}return o(()=>{var r;return null==t||null==(r=t.mountedInstances)||r.add(e.children),()=>{var r;null==t||null==(r=t.mountedInstances)||r.delete(e.children)}}),o(()=>(t&&(t._pendingUpdate=i),()=>{t&&(t._pendingUpdate=i)})),a(()=>(t&&t._pendingUpdate&&(t._pendingUpdate(),t._pendingUpdate=null),()=>{t&&t._pendingUpdate&&(t._pendingUpdate(),t._pendingUpdate=null)})),null}},5522:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{WEB_VITALS:function(){return r},execOnce:function(){return n},isAbsoluteUrl:function(){return a},getLocationOrigin:function(){return i},getURL:function(){return u},getDisplayName:function(){return l},isResSent:function(){return s},normalizeRepeatedSlashes:function(){return c},loadGetInitialProps:function(){return f},SP:function(){return d},ST:function(){return p},DecodeError:function(){return h},NormalizeError:function(){return m},PageNotFoundError:function(){return _},MissingStaticPage:function(){return g},MiddlewareNotFoundError:function(){return y},stringifyError:function(){return b}});let r=["CLS","FCP","FID","INP","LCP","TTFB"];function n(e){let t,r=!1;return function(){for(var n=arguments.length,o=Array(n),a=0;ao.test(e);function i(){let{protocol:e,hostname:t,port:r}=window.location;return e+"//"+t+(r?":"+r:"")}function u(){let{href:e}=window.location,t=i();return e.substring(t.length)}function l(e){return"string"==typeof e?e:e.displayName||e.name||"Unknown"}function s(e){return e.finished||e.headersSent}function c(e){let t=e.split("?");return t[0].replace(/\\/g,"/").replace(/\/\/+/g,"/")+(t[1]?"?"+t.slice(1).join("?"):"")}async function f(e,t){let r=t.res||t.ctx&&t.ctx.res;if(!e.getInitialProps)return t.ctx&&t.Component?{pageProps:await f(t.Component,t.ctx)}:{};let n=await e.getInitialProps(t);if(r&&s(r))return n;if(!n)throw Error('"'+l(e)+'.getInitialProps()" should resolve to an object. But found "'+n+'" instead.');return n}let d="undefined"!=typeof performance,p=d&&["mark","measure","getEntriesByName"].every(e=>"function"==typeof performance[e]);class h extends Error{}class m extends Error{}class _ extends Error{constructor(e){super(),this.code="ENOENT",this.name="PageNotFoundError",this.message="Cannot find module for page: "+e}}class g extends Error{constructor(e,t){super(),this.message="Failed to load static file for page: "+e+" "+t}}class y extends Error{constructor(){super(),this.code="ENOENT",this.message="Cannot find the middleware module"}}function b(e){return JSON.stringify({message:e.message,stack:e.stack})}},6415:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"warnOnce",{enumerable:!0,get:function(){return r}});let r=e=>{}},8018:function(e){var t,r,n,o,a,i,u,l,s,c,f,d,p,h,m,_,g,y,b,v,P,E,S,j,w,O,R,T,M,x,I,C,A,L,N,D,k,F,B,U,H,W,q,G,z,V;(t={}).d=function(e,r){for(var n in r)t.o(r,n)&&!t.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:r[n]})},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},void 0!==t&&(t.ab="//"),r={},t.r(r),t.d(r,{getCLS:function(){return S},getFCP:function(){return v},getFID:function(){return x},getINP:function(){return W},getLCP:function(){return G},getTTFB:function(){return V},onCLS:function(){return S},onFCP:function(){return v},onFID:function(){return x},onINP:function(){return W},onLCP:function(){return G},onTTFB:function(){return V}}),l=-1,s=function(e){addEventListener("pageshow",function(t){t.persisted&&(l=t.timeStamp,e(t))},!0)},c=function(){return window.performance&&performance.getEntriesByType&&performance.getEntriesByType("navigation")[0]},f=function(){var e=c();return e&&e.activationStart||0},d=function(e,t){var r=c(),n="navigate";return l>=0?n="back-forward-cache":r&&(n=document.prerendering||f()>0?"prerender":r.type.replace(/_/g,"-")),{name:e,value:void 0===t?-1:t,rating:"good",delta:0,entries:[],id:"v3-".concat(Date.now(),"-").concat(Math.floor(8999999999999*Math.random())+1e12),navigationType:n}},p=function(e,t,r){try{if(PerformanceObserver.supportedEntryTypes.includes(e)){var n=new PerformanceObserver(function(e){t(e.getEntries())});return n.observe(Object.assign({type:e,buffered:!0},r||{})),n}}catch(e){}},h=function(e,t){var r=function r(n){"pagehide"!==n.type&&"hidden"!==document.visibilityState||(e(n),t&&(removeEventListener("visibilitychange",r,!0),removeEventListener("pagehide",r,!0)))};addEventListener("visibilitychange",r,!0),addEventListener("pagehide",r,!0)},m=function(e,t,r,n){var o,a;return function(i){var u;t.value>=0&&(i||n)&&((a=t.value-(o||0))||void 0===o)&&(o=t.value,t.delta=a,t.rating=(u=t.value)>r[1]?"poor":u>r[0]?"needs-improvement":"good",e(t))}},_=-1,g=function(){return"hidden"!==document.visibilityState||document.prerendering?1/0:0},y=function(){h(function(e){_=e.timeStamp},!0)},b=function(){return _<0&&(_=g(),y(),s(function(){setTimeout(function(){_=g(),y()},0)})),{get firstHiddenTime(){return _}}},v=function(e,t){t=t||{};var r,n=[1800,3e3],o=b(),a=d("FCP"),i=function(e){e.forEach(function(e){"first-contentful-paint"===e.name&&(l&&l.disconnect(),e.startTime-1&&e(t)},a=d("CLS",0),i=0,u=[],l=function(e){e.forEach(function(e){if(!e.hadRecentInput){var t=u[0],r=u[u.length-1];i&&e.startTime-r.startTime<1e3&&e.startTime-t.startTime<5e3?(i+=e.value,u.push(e)):(i=e.value,u=[e]),i>a.value&&(a.value=i,a.entries=u,n())}})},c=p("layout-shift",l);c&&(n=m(o,a,r,t.reportAllChanges),h(function(){l(c.takeRecords()),n(!0)}),s(function(){i=0,E=-1,n=m(o,a=d("CLS",0),r,t.reportAllChanges)}))},j={passive:!0,capture:!0},w=new Date,O=function(e,t){n||(n=t,o=e,a=new Date,M(removeEventListener),R())},R=function(){if(o>=0&&o1e12?new Date:performance.now())-e.timeStamp;"pointerdown"==e.type?(t=function(){O(o,e),n()},r=function(){n()},n=function(){removeEventListener("pointerup",t,j),removeEventListener("pointercancel",r,j)},addEventListener("pointerup",t,j),addEventListener("pointercancel",r,j)):O(o,e)}},M=function(e){["mousedown","keydown","touchstart","pointerdown"].forEach(function(t){return e(t,T,j)})},x=function(e,t){t=t||{};var r,a=[100,300],u=b(),l=d("FID"),c=function(e){e.startTimet.latency){if(r)r.entries.push(e),r.latency=Math.max(r.latency,e.duration);else{var n={id:e.interactionId,latency:e.duration,entries:[e]};U[n.id]=n,B.push(n)}B.sort(function(e,t){return t.latency-e.latency}),B.splice(10).forEach(function(e){delete U[e.id]})}},W=function(e,t){t=t||{};var r=[200,500];D();var n,o=d("INP"),a=function(e){e.forEach(function(e){e.interactionId&&H(e),"first-input"!==e.entryType||B.some(function(t){return t.entries.some(function(t){return e.duration===t.duration&&e.startTime===t.startTime})})||H(e)});var t,r=(t=Math.min(B.length-1,Math.floor(F()/50)),B[t]);r&&r.latency!==o.value&&(o.value=r.latency,o.entries=r.entries,n())},i=p("event",a,{durationThreshold:t.durationThreshold||40});n=m(e,o,r,t.reportAllChanges),i&&(i.observe({type:"first-input",buffered:!0}),h(function(){a(i.takeRecords()),o.value<0&&F()>0&&(o.value=0,o.entries=[]),n(!0)}),s(function(){B=[],k=N(),n=m(e,o=d("INP"),r,t.reportAllChanges)}))},q={},G=function(e,t){t=t||{};var r,n=[2500,4e3],o=b(),a=d("LCP"),i=function(e){var t=e[e.length-1];if(t){var n=t.startTime-f();nperformance.now())return;n.entries=[a],o(!0),s(function(){(o=m(e,n=d("TTFB",0),r,t.reportAllChanges))(!0)})}})},e.exports=r},9423:function(e,t){"use strict";function r(e){return"/api"===e||!!(null==e?void 0:e.startsWith("/api/"))}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"isAPIRoute",{enumerable:!0,get:function(){return r}})},676:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{default:function(){return o},getProperError:function(){return a}});let n=r(8286);function o(e){return"object"==typeof e&&null!==e&&"name"in e&&"message"in e}function a(e){return o(e)?e:Error((0,n.isPlainObject)(e)?JSON.stringify(e):e+"")}},2407:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{INTERCEPTION_ROUTE_MARKERS:function(){return o},isInterceptionRouteAppPath:function(){return a},extractInterceptionRouteInformation:function(){return i}});let n=r(2594),o=["(..)(..)","(.)","(..)","(...)"];function a(e){return void 0!==e.split("/").find(e=>o.find(t=>e.startsWith(t)))}function i(e){let t,r,a;for(let n of e.split("/"))if(r=o.find(e=>n.startsWith(e))){[t,a]=e.split(r,2);break}if(!t||!r||!a)throw Error(`Invalid interception route: ${e}. Must be in the format //(..|...|..)(..)/`);switch(t=(0,n.normalizeAppPath)(t),r){case"(.)":a="/"===t?`/${a}`:t+"/"+a;break;case"(..)":if("/"===t)throw Error(`Invalid interception route: ${e}. Cannot use (..) marker at the root level, use (.) instead.`);a=t.split("/").slice(0,-1).concat(a).join("/");break;case"(...)":a="/"+a;break;case"(..)(..)":let i=t.split("/");if(i.length<=2)throw Error(`Invalid interception route: ${e}. Cannot use (..)(..) marker at the root level or one level up.`);a=i.slice(0,-2).concat(a).join("/");break;default:throw Error("Invariant: unexpected marker")}return{interceptingRoute:t,interceptedRoute:a}}},2431:function(){},8754:function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}r.r(t),r.d(t,{_:function(){return n},_interop_require_default:function(){return n}})},1757:function(e,t,r){"use strict";function n(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(n=function(e){return e?r:t})(e)}function o(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=n(t);if(r&&r.has(e))return r.get(e);var o={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var u=a?Object.getOwnPropertyDescriptor(e,i):null;u&&(u.get||u.set)?Object.defineProperty(o,i,u):o[i]=e[i]}return o.default=e,r&&r.set(e,o),o}r.r(t),r.d(t,{_:function(){return o},_interop_require_wildcard:function(){return o}})}},function(e){e.O(0,[774],function(){return e(e.s=1775)}),_N_E=e.O()}]); \ No newline at end of file +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[179],{4878:function(e,t){"use strict";function r(){return""}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getDeploymentIdQueryOrEmptyString",{enumerable:!0,get:function(){return r}})},37:function(){"trimStart"in String.prototype||(String.prototype.trimStart=String.prototype.trimLeft),"trimEnd"in String.prototype||(String.prototype.trimEnd=String.prototype.trimRight),"description"in Symbol.prototype||Object.defineProperty(Symbol.prototype,"description",{configurable:!0,get:function(){var e=/\((.*)\)/.exec(this.toString());return e?e[1]:void 0}}),Array.prototype.flat||(Array.prototype.flat=function(e,t){return t=this.concat.apply([],this),e>1&&t.some(Array.isArray)?t.flat(e-1):t},Array.prototype.flatMap=function(e,t){return this.map(e,t).flat()}),Promise.prototype.finally||(Promise.prototype.finally=function(e){if("function"!=typeof e)return this.then(e,e);var t=this.constructor||Promise;return this.then(function(r){return t.resolve(e()).then(function(){return r})},function(r){return t.resolve(e()).then(function(){throw r})})}),Object.fromEntries||(Object.fromEntries=function(e){return Array.from(e).reduce(function(e,t){return e[t[0]]=t[1],e},{})}),Array.prototype.at||(Array.prototype.at=function(e){var t=Math.trunc(e)||0;if(t<0&&(t+=this.length),!(t<0||t>=this.length))return this[t]})},9290:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"addBasePath",{enumerable:!0,get:function(){return a}});let n=r(138),o=r(4648);function a(e,t){return(0,o.normalizePathTrailingSlash)((0,n.addPathPrefix)(e,""))}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},2208:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"addLocale",{enumerable:!0,get:function(){return n}}),r(4648);let n=function(e){for(var t=arguments.length,r=Array(t>1?t-1:0),n=1;n25){window.location.reload();return}clearTimeout(o),o=setTimeout(t,i>5?5e3:1e3)}r&&r.close();let{hostname:u,port:l}=location,s=function(e){let t=location.protocol;try{t=new URL(e).protocol}catch(e){}return"http:"===t?"ws":"wss"}(e.assetPrefix||""),c=e.assetPrefix.replace(/^\/+/,""),f=s+"://"+u+":"+l+(c?"/"+c:"");c.startsWith("http")&&(f=s+"://"+c.split("://",2)[1]),(r=new window.WebSocket(""+f+e.path)).onopen=function(){i=0,window.console.log("[HMR] connected")},r.onerror=a,r.onclose=a,r.onmessage=function(e){let t=JSON.parse(e.data);for(let e of n)e(t)}}()}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},7232:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"hasBasePath",{enumerable:!0,get:function(){return o}});let n=r(7559);function o(e){return(0,n.pathHasPrefix)(e,"")}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},7113:function(e,t){"use strict";let r;Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{DOMAttributeNames:function(){return n},isEqualNode:function(){return a},default:function(){return i}});let n={acceptCharset:"accept-charset",className:"class",htmlFor:"for",httpEquiv:"http-equiv",noModule:"noModule"};function o(e){let{type:t,props:r}=e,o=document.createElement(t);for(let e in r){if(!r.hasOwnProperty(e)||"children"===e||"dangerouslySetInnerHTML"===e||void 0===r[e])continue;let a=n[e]||e.toLowerCase();"script"===t&&("async"===a||"defer"===a||"noModule"===a)?o[a]=!!r[e]:o.setAttribute(a,r[e])}let{children:a,dangerouslySetInnerHTML:i}=r;return i?o.innerHTML=i.__html||"":a&&(o.textContent="string"==typeof a?a:Array.isArray(a)?a.join(""):""),o}function a(e,t){if(e instanceof HTMLElement&&t instanceof HTMLElement){let r=t.getAttribute("nonce");if(r&&!e.getAttribute("nonce")){let n=t.cloneNode(!0);return n.setAttribute("nonce",""),n.nonce=r,r===e.nonce&&e.isEqualNode(n)}}return e.isEqualNode(t)}function i(){return{mountedInstances:new Set,updateHead:e=>{let t={};e.forEach(e=>{if("link"===e.type&&e.props["data-optimized-fonts"]){if(document.querySelector('style[data-href="'+e.props["data-href"]+'"]'))return;e.props.href=e.props["data-href"],e.props["data-href"]=void 0}let r=t[e.type]||[];r.push(e),t[e.type]=r});let n=t.title?t.title[0]:null,o="";if(n){let{children:e}=n.props;o="string"==typeof e?e:Array.isArray(e)?e.join(""):""}o!==document.title&&(document.title=o),["meta","base","link","style","script"].forEach(e=>{r(e,t[e]||[])})}}}r=(e,t)=>{let r=document.getElementsByTagName("head")[0],n=r.querySelector("meta[name=next-head-count]"),i=Number(n.content),u=[];for(let t=0,r=n.previousElementSibling;t{for(let t=0,r=u.length;t{var t;return null==(t=e.parentNode)?void 0:t.removeChild(e)}),s.forEach(e=>r.insertBefore(e,n)),n.content=(i-u.length+s.length).toString()},("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},8060:function(e,t,r){"use strict";let n,o,a,i,u,l,s,c,f,d,p,h;Object.defineProperty(t,"__esModule",{value:!0});let m=r(1757);Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{version:function(){return G},router:function(){return n},emitter:function(){return z},initialize:function(){return $},hydrate:function(){return ef}});let _=r(8754),g=r(5893);r(37);let y=_._(r(7294)),b=_._(r(745)),v=r(3537),P=_._(r(3947)),E=r(5832),S=r(3939),j=r(8741),w=r(8050),O=r(8384),R=r(5522),T=r(5180),M=_._(r(7113)),x=_._(r(5410)),I=_._(r(3289)),C=r(1532),A=r(4546),L=r(676),N=r(3334),D=r(5055),k=r(7232),F=r(2497),B=r(3559),U=r(1844),H=_._(r(4100)),W=_._(r(9394)),q=_._(r(3023)),G="14.1.0",z=(0,P.default)(),V=e=>[].slice.call(e),X=!1;class Y extends y.default.Component{componentDidCatch(e,t){this.props.fn(e,t)}componentDidMount(){this.scrollToHash(),n.isSsr&&(o.isFallback||o.nextExport&&((0,j.isDynamicRoute)(n.pathname)||location.search||X)||o.props&&o.props.__N_SSG&&(location.search||X))&&n.replace(n.pathname+"?"+String((0,w.assign)((0,w.urlQueryToSearchParams)(n.query),new URLSearchParams(location.search))),a,{_h:1,shallow:!o.isFallback&&!X}).catch(e=>{if(!e.cancelled)throw e})}componentDidUpdate(){this.scrollToHash()}scrollToHash(){let{hash:e}=location;if(!(e=e&&e.substring(1)))return;let t=document.getElementById(e);t&&setTimeout(()=>t.scrollIntoView(),0)}render(){return this.props.children}}async function $(e){void 0===e&&(e={}),W.default.onSpanEnd(q.default),o=JSON.parse(document.getElementById("__NEXT_DATA__").textContent),window.__NEXT_DATA__=o,h=o.defaultLocale;let t=o.assetPrefix||"";if(self.__next_set_public_path__(""+t+"/_next/"),(0,O.setConfig)({serverRuntimeConfig:{},publicRuntimeConfig:o.runtimeConfig||{}}),a=(0,R.getURL)(),(0,k.hasBasePath)(a)&&(a=(0,D.removeBasePath)(a)),o.scriptLoader){let{initScriptLoader:e}=r(3104);e(o.scriptLoader)}i=new x.default(o.buildId,t);let s=e=>{let[t,r]=e;return i.routeLoader.onEntrypoint(t,r)};return window.__NEXT_P&&window.__NEXT_P.map(e=>setTimeout(()=>s(e),0)),window.__NEXT_P=[],window.__NEXT_P.push=s,(l=(0,M.default)()).getIsSsr=()=>n.isSsr,u=document.getElementById("__next"),{assetPrefix:t}}function K(e,t){return(0,g.jsx)(e,{...t})}function J(e){var t;let{children:r}=e,o=y.default.useMemo(()=>(0,B.adaptForAppRouterInstance)(n),[]);return(0,g.jsx)(Y,{fn:e=>Z({App:f,err:e}).catch(e=>console.error("Error rendering page: ",e)),children:(0,g.jsx)(F.AppRouterContext.Provider,{value:o,children:(0,g.jsx)(U.SearchParamsContext.Provider,{value:(0,B.adaptForSearchParams)(n),children:(0,g.jsx)(B.PathnameContextProviderAdapter,{router:n,isAutoExport:null!=(t=self.__NEXT_DATA__.autoExport)&&t,children:(0,g.jsx)(U.PathParamsContext.Provider,{value:(0,B.adaptForPathParams)(n),children:(0,g.jsx)(E.RouterContext.Provider,{value:(0,A.makePublicRouterInstance)(n),children:(0,g.jsx)(v.HeadManagerContext.Provider,{value:l,children:(0,g.jsx)(N.ImageConfigContext.Provider,{value:{deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[16,32,48,64,96,128,256,384],path:"/_next/image",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!1},children:r})})})})})})})})}let Q=e=>t=>{let r={...t,Component:p,err:o.err,router:n};return(0,g.jsx)(J,{children:K(e,r)})};function Z(e){let{App:t,err:u}=e;return console.error(u),console.error("A client-side exception has occurred, see here for more info: https://nextjs.org/docs/messages/client-side-exception-occurred"),i.loadPage("/_error").then(n=>{let{page:o,styleSheets:a}=n;return(null==s?void 0:s.Component)===o?Promise.resolve().then(()=>m._(r(5103))).then(n=>Promise.resolve().then(()=>m._(r(7174))).then(r=>(t=r.default,e.App=t,n))).then(e=>({ErrorComponent:e.default,styleSheets:[]})):{ErrorComponent:o,styleSheets:a}}).then(r=>{var i;let{ErrorComponent:l,styleSheets:s}=r,c=Q(t),f={Component:l,AppTree:c,router:n,ctx:{err:u,pathname:o.page,query:o.query,asPath:a,AppTree:c}};return Promise.resolve((null==(i=e.props)?void 0:i.err)?e.props:(0,R.loadGetInitialProps)(t,f)).then(t=>es({...e,err:u,Component:l,styleSheets:s,props:t}))})}function ee(e){let{callback:t}=e;return y.default.useLayoutEffect(()=>t(),[t]),null}let et={navigationStart:"navigationStart",beforeRender:"beforeRender",afterRender:"afterRender",afterHydrate:"afterHydrate",routeChange:"routeChange"},er={hydration:"Next.js-hydration",beforeHydration:"Next.js-before-hydration",routeChangeToRender:"Next.js-route-change-to-render",render:"Next.js-render"},en=null,eo=!0;function ea(){[et.beforeRender,et.afterHydrate,et.afterRender,et.routeChange].forEach(e=>performance.clearMarks(e))}function ei(){R.ST&&(performance.mark(et.afterHydrate),performance.getEntriesByName(et.beforeRender,"mark").length&&(performance.measure(er.beforeHydration,et.navigationStart,et.beforeRender),performance.measure(er.hydration,et.beforeRender,et.afterHydrate)),d&&performance.getEntriesByName(er.hydration).forEach(d),ea())}function eu(){if(!R.ST)return;performance.mark(et.afterRender);let e=performance.getEntriesByName(et.routeChange,"mark");e.length&&(performance.getEntriesByName(et.beforeRender,"mark").length&&(performance.measure(er.routeChangeToRender,e[0].name,et.beforeRender),performance.measure(er.render,et.beforeRender,et.afterRender),d&&(performance.getEntriesByName(er.render).forEach(d),performance.getEntriesByName(er.routeChangeToRender).forEach(d))),ea(),[er.routeChangeToRender,er.render].forEach(e=>performance.clearMeasures(e)))}function el(e){let{callbacks:t,children:r}=e;return y.default.useLayoutEffect(()=>t.forEach(e=>e()),[t]),y.default.useEffect(()=>{(0,I.default)(d)},[]),r}function es(e){let t,{App:r,Component:o,props:a,err:i}=e,l="initial"in e?void 0:e.styleSheets;o=o||s.Component;let f={...a=a||s.props,Component:o,err:i,router:n};s=f;let d=!1,p=new Promise((e,r)=>{c&&c(),t=()=>{c=null,e()},c=()=>{d=!0,c=null;let e=Error("Cancel rendering route");e.cancelled=!0,r(e)}});function h(){t()}!function(){if(!l)return;let e=V(document.querySelectorAll("style[data-n-href]")),t=new Set(e.map(e=>e.getAttribute("data-n-href"))),r=document.querySelector("noscript[data-n-css]"),n=null==r?void 0:r.getAttribute("data-n-css");l.forEach(e=>{let{href:r,text:o}=e;if(!t.has(r)){let e=document.createElement("style");e.setAttribute("data-n-href",r),e.setAttribute("media","x"),n&&e.setAttribute("nonce",n),document.head.appendChild(e),e.appendChild(document.createTextNode(o))}})}();let m=(0,g.jsxs)(g.Fragment,{children:[(0,g.jsx)(ee,{callback:function(){if(l&&!d){let e=new Set(l.map(e=>e.href)),t=V(document.querySelectorAll("style[data-n-href]")),r=t.map(e=>e.getAttribute("data-n-href"));for(let n=0;n{let{href:t}=e,r=document.querySelector('style[data-n-href="'+t+'"]');r&&(n.parentNode.insertBefore(r,n.nextSibling),n=r)}),V(document.querySelectorAll("link[data-n-p]")).forEach(e=>{e.parentNode.removeChild(e)})}if(e.scroll){let{x:t,y:r}=e.scroll;(0,S.handleSmoothScroll)(()=>{window.scrollTo(t,r)})}}}),(0,g.jsxs)(J,{children:[K(r,f),(0,g.jsx)(T.Portal,{type:"next-route-announcer",children:(0,g.jsx)(C.RouteAnnouncer,{})})]})]});return!function(e,t){R.ST&&performance.mark(et.beforeRender);let r=t(eo?ei:eu);en?(0,y.default.startTransition)(()=>{en.render(r)}):(en=b.default.hydrateRoot(e,r,{onRecoverableError:H.default}),eo=!1)}(u,e=>(0,g.jsx)(el,{callbacks:[e,h],children:m})),p}async function ec(e){if(e.err){await Z(e);return}try{await es(e)}catch(r){let t=(0,L.getProperError)(r);if(t.cancelled)throw t;await Z({...e,err:t})}}async function ef(e){let t=o.err;try{let e=await i.routeLoader.whenEntrypoint("/_app");if("error"in e)throw e.error;let{component:t,exports:r}=e;f=t,r&&r.reportWebVitals&&(d=e=>{let t,{id:n,name:o,startTime:a,value:i,duration:u,entryType:l,entries:s,attribution:c}=e,f=Date.now()+"-"+(Math.floor(Math.random()*(9e12-1))+1e12);s&&s.length&&(t=s[0].startTime);let d={id:n||f,name:o,startTime:a||t,value:null==i?u:i,label:"mark"===l||"measure"===l?"custom":"web-vital"};c&&(d.attribution=c),r.reportWebVitals(d)});let n=await i.routeLoader.whenEntrypoint(o.page);if("error"in n)throw n.error;p=n.component}catch(e){t=(0,L.getProperError)(e)}window.__NEXT_PRELOADREADY&&await window.__NEXT_PRELOADREADY(o.dynamicIds),n=(0,A.createRouter)(o.page,o.query,a,{initialProps:o.props,pageLoader:i,App:f,Component:p,wrapApp:Q,err:t,isFallback:!!o.isFallback,subscription:(e,t,r)=>ec(Object.assign({},e,{App:t,scroll:r})),locale:o.locale,locales:o.locales,defaultLocale:h,domainLocales:o.domainLocales,isPreview:o.isPreview}),X=await n._initialMatchesMiddlewarePromise;let r={App:f,initial:!0,Component:p,props:o.props,err:t};(null==e?void 0:e.beforeRender)&&await e.beforeRender(),ec(r)}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},1775:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),r(9907);let n=r(8060);window.next={version:n.version,get router(){return n.router},emitter:n.emitter},(0,n.initialize)({}).then(()=>(0,n.hydrate)()).catch(console.error),("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},4648:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"normalizePathTrailingSlash",{enumerable:!0,get:function(){return a}});let n=r(8290),o=r(5997),a=e=>{if(!e.startsWith("/"))return e;let{pathname:t,query:r,hash:a}=(0,o.parsePath)(e);return""+(0,n.removeTrailingSlash)(t)+r+a};("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},4100:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return o}});let n=r(1349);function o(e){let t="function"==typeof reportError?reportError:e=>{window.console.error(e)};(0,n.isBailoutToCSRError)(e)||t(e)}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},5410:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return d}});let n=r(8754),o=r(9290),a=r(3523),i=n._(r(6165)),u=r(2208),l=r(8741),s=r(3974),c=r(8290),f=r(5455);r(1602);class d{getPageList(){return(0,f.getClientBuildManifest)().then(e=>e.sortedPages)}getMiddleware(){return window.__MIDDLEWARE_MATCHERS=[],window.__MIDDLEWARE_MATCHERS}getDataHref(e){let{asPath:t,href:r,locale:n}=e,{pathname:f,query:d,search:p}=(0,s.parseRelativeUrl)(r),{pathname:h}=(0,s.parseRelativeUrl)(t),m=(0,c.removeTrailingSlash)(f);if("/"!==m[0])throw Error('Route name should start with a "/", got "'+m+'"');return(e=>{let t=(0,i.default)((0,c.removeTrailingSlash)((0,u.addLocale)(e,n)),".json");return(0,o.addBasePath)("/_next/data/"+this.buildId+t+p,!0)})(e.skipInterpolation?h:(0,l.isDynamicRoute)(m)?(0,a.interpolateAs)(f,h,d).result:m)}_isSsg(e){return this.promisedSsgManifest.then(t=>t.has(e))}loadPage(e){return this.routeLoader.loadRoute(e).then(e=>{if("component"in e)return{page:e.component,mod:e.exports,styleSheets:e.styles.map(e=>({href:e.href,text:e.content}))};throw e.error})}prefetch(e){return this.routeLoader.prefetch(e)}constructor(e,t){this.routeLoader=(0,f.createRouteLoader)(t),this.buildId=e,this.assetPrefix=t,this.promisedSsgManifest=new Promise(e=>{window.__SSG_MANIFEST?e(window.__SSG_MANIFEST):window.__SSG_MANIFEST_CB=()=>{e(window.__SSG_MANIFEST)}})}}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},3289:function(e,t,r){"use strict";let n;Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return u}});let o=["CLS","FCP","FID","INP","LCP","TTFB"];location.href;let a=!1;function i(e){n&&n(e)}let u=e=>{if(n=e,!a)for(let e of(a=!0,o))try{let t;t||(t=r(8018)),t["on"+e](i)}catch(t){console.warn("Failed to track "+e+" web-vital",t)}};("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},5180:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Portal",{enumerable:!0,get:function(){return a}});let n=r(7294),o=r(3935),a=e=>{let{children:t,type:r}=e,[a,i]=(0,n.useState)(null);return(0,n.useEffect)(()=>{let e=document.createElement(r);return document.body.appendChild(e),i(e),()=>{document.body.removeChild(e)}},[r]),a?(0,o.createPortal)(t,a):null};("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},5055:function(e,t,r){"use strict";function n(e){return e}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"removeBasePath",{enumerable:!0,get:function(){return n}}),r(7232),("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},2354:function(e,t,r){"use strict";function n(e,t){return e}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"removeLocale",{enumerable:!0,get:function(){return n}}),r(5997),("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},9833:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{requestIdleCallback:function(){return r},cancelIdleCallback:function(){return n}});let r="undefined"!=typeof self&&self.requestIdleCallback&&self.requestIdleCallback.bind(window)||function(e){let t=Date.now();return self.setTimeout(function(){e({didTimeout:!1,timeRemaining:function(){return Math.max(0,50-(Date.now()-t))}})},1)},n="undefined"!=typeof self&&self.cancelIdleCallback&&self.cancelIdleCallback.bind(window)||function(e){return clearTimeout(e)};("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},5203:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"resolveHref",{enumerable:!0,get:function(){return f}});let n=r(8050),o=r(1024),a=r(1646),i=r(5522),u=r(4648),l=r(298),s=r(6277),c=r(3523);function f(e,t,r){let f;let d="string"==typeof t?t:(0,o.formatWithValidation)(t),p=d.match(/^[a-zA-Z]{1,}:\/\//),h=p?d.slice(p[0].length):d;if((h.split("?",1)[0]||"").match(/(\/\/|\\)/)){console.error("Invalid href '"+d+"' passed to next/router in page: '"+e.pathname+"'. Repeated forward-slashes (//) or backslashes \\ are not valid in the href.");let t=(0,i.normalizeRepeatedSlashes)(h);d=(p?p[0]:"")+t}if(!(0,l.isLocalURL)(d))return r?[d]:d;try{f=new URL(d.startsWith("#")?e.asPath:e.pathname,"http://n")}catch(e){f=new URL("/","http://n")}try{let e=new URL(d,f);e.pathname=(0,u.normalizePathTrailingSlash)(e.pathname);let t="";if((0,s.isDynamicRoute)(e.pathname)&&e.searchParams&&r){let r=(0,n.searchParamsToUrlQuery)(e.searchParams),{result:i,params:u}=(0,c.interpolateAs)(e.pathname,e.pathname,r);i&&(t=(0,o.formatWithValidation)({pathname:i,hash:e.hash,query:(0,a.omit)(r,u)}))}let i=e.origin===f.origin?e.href.slice(e.origin.length):e.href;return r?[i,t||i]:i}catch(e){return r?[d]:d}}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},1532:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{RouteAnnouncer:function(){return l},default:function(){return s}});let n=r(8754),o=r(5893),a=n._(r(7294)),i=r(4546),u={border:0,clip:"rect(0 0 0 0)",height:"1px",margin:"-1px",overflow:"hidden",padding:0,position:"absolute",top:0,width:"1px",whiteSpace:"nowrap",wordWrap:"normal"},l=()=>{let{asPath:e}=(0,i.useRouter)(),[t,r]=a.default.useState(""),n=a.default.useRef(e);return a.default.useEffect(()=>{if(n.current!==e){if(n.current=e,document.title)r(document.title);else{var t;let n=document.querySelector("h1");r((null!=(t=null==n?void 0:n.innerText)?t:null==n?void 0:n.textContent)||e)}}},[e]),(0,o.jsx)("p",{"aria-live":"assertive",id:"__next-route-announcer__",role:"alert",style:u,children:t})},s=l;("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},5455:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{markAssetError:function(){return l},isAssetError:function(){return s},getClientBuildManifest:function(){return p},createRouteLoader:function(){return m}}),r(8754),r(6165);let n=r(106),o=r(9833),a=r(4878);function i(e,t,r){let n,o=t.get(e);if(o)return"future"in o?o.future:Promise.resolve(o);let a=new Promise(e=>{n=e});return t.set(e,o={resolve:n,future:a}),r?r().then(e=>(n(e),e)).catch(r=>{throw t.delete(e),r}):a}let u=Symbol("ASSET_LOAD_ERROR");function l(e){return Object.defineProperty(e,u,{})}function s(e){return e&&u in e}let c=function(e){try{return e=document.createElement("link"),!!window.MSInputMethodContext&&!!document.documentMode||e.relList.supports("prefetch")}catch(e){return!1}}(),f=()=>(0,a.getDeploymentIdQueryOrEmptyString)();function d(e,t,r){return new Promise((n,a)=>{let i=!1;e.then(e=>{i=!0,n(e)}).catch(a),(0,o.requestIdleCallback)(()=>setTimeout(()=>{i||a(r)},t))})}function p(){return self.__BUILD_MANIFEST?Promise.resolve(self.__BUILD_MANIFEST):d(new Promise(e=>{let t=self.__BUILD_MANIFEST_CB;self.__BUILD_MANIFEST_CB=()=>{e(self.__BUILD_MANIFEST),t&&t()}}),3800,l(Error("Failed to load client build manifest")))}function h(e,t){return p().then(r=>{if(!(t in r))throw l(Error("Failed to lookup route: "+t));let o=r[t].map(t=>e+"/_next/"+encodeURI(t));return{scripts:o.filter(e=>e.endsWith(".js")).map(e=>(0,n.__unsafeCreateTrustedScriptURL)(e)+f()),css:o.filter(e=>e.endsWith(".css")).map(e=>e+f())}})}function m(e){let t=new Map,r=new Map,n=new Map,a=new Map;function u(e){{var t;let n=r.get(e.toString());return n||(document.querySelector('script[src^="'+e+'"]')?Promise.resolve():(r.set(e.toString(),n=new Promise((r,n)=>{(t=document.createElement("script")).onload=r,t.onerror=()=>n(l(Error("Failed to load script: "+e))),t.crossOrigin=void 0,t.src=e,document.body.appendChild(t)})),n))}}function s(e){let t=n.get(e);return t||n.set(e,t=fetch(e).then(t=>{if(!t.ok)throw Error("Failed to load stylesheet: "+e);return t.text().then(t=>({href:e,content:t}))}).catch(e=>{throw l(e)})),t}return{whenEntrypoint:e=>i(e,t),onEntrypoint(e,r){(r?Promise.resolve().then(()=>r()).then(e=>({component:e&&e.default||e,exports:e}),e=>({error:e})):Promise.resolve(void 0)).then(r=>{let n=t.get(e);n&&"resolve"in n?r&&(t.set(e,r),n.resolve(r)):(r?t.set(e,r):t.delete(e),a.delete(e))})},loadRoute(r,n){return i(r,a,()=>{let o;return d(h(e,r).then(e=>{let{scripts:n,css:o}=e;return Promise.all([t.has(r)?[]:Promise.all(n.map(u)),Promise.all(o.map(s))])}).then(e=>this.whenEntrypoint(r).then(t=>({entrypoint:t,styles:e[1]}))),3800,l(Error("Route did not complete loading: "+r))).then(e=>{let{entrypoint:t,styles:r}=e,n=Object.assign({styles:r},t);return"error"in t?t:n}).catch(e=>{if(n)throw e;return{error:e}}).finally(()=>null==o?void 0:o())})},prefetch(t){let r;return(r=navigator.connection)&&(r.saveData||/2g/.test(r.effectiveType))?Promise.resolve():h(e,t).then(e=>Promise.all(c?e.scripts.map(e=>{var t,r,n;return t=e.toString(),r="script",new Promise((e,o)=>{if(document.querySelector('\n link[rel="prefetch"][href^="'+t+'"],\n link[rel="preload"][href^="'+t+'"],\n script[src^="'+t+'"]'))return e();n=document.createElement("link"),r&&(n.as=r),n.rel="prefetch",n.crossOrigin=void 0,n.onload=e,n.onerror=()=>o(l(Error("Failed to prefetch: "+t))),n.href=t,document.head.appendChild(n)})}):[])).then(()=>{(0,o.requestIdleCallback)(()=>this.loadRoute(t,!0).catch(()=>{}))}).catch(()=>{})}}}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},4546:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{Router:function(){return a.default},default:function(){return p},withRouter:function(){return l.default},useRouter:function(){return h},createRouter:function(){return m},makePublicRouterInstance:function(){return _}});let n=r(8754),o=n._(r(7294)),a=n._(r(2595)),i=r(5832),u=n._(r(676)),l=n._(r(7440)),s={router:null,readyCallbacks:[],ready(e){if(this.router)return e();this.readyCallbacks.push(e)}},c=["pathname","route","query","asPath","components","isFallback","basePath","locale","locales","defaultLocale","isReady","isPreview","isLocaleDomain","domainLocales"],f=["push","replace","reload","back","prefetch","beforePopState"];function d(){if(!s.router)throw Error('No router instance found.\nYou should only use "next/router" on the client side of your app.\n');return s.router}Object.defineProperty(s,"events",{get:()=>a.default.events}),c.forEach(e=>{Object.defineProperty(s,e,{get:()=>d()[e]})}),f.forEach(e=>{s[e]=function(){for(var t=arguments.length,r=Array(t),n=0;n{s.ready(()=>{a.default.events.on(e,function(){for(var t=arguments.length,r=Array(t),n=0;ne()),s.readyCallbacks=[],s.router}function _(e){let t={};for(let r of c){if("object"==typeof e[r]){t[r]=Object.assign(Array.isArray(e[r])?[]:{},e[r]);continue}t[r]=e[r]}return t.events=a.default.events,f.forEach(r=>{t[r]=function(){for(var t=arguments.length,n=Array(t),o=0;o{if(i.default.preinit){e.forEach(e=>{i.default.preinit(e,{as:"style"})});return}{let t=document.head;e.forEach(e=>{let r=document.createElement("link");r.type="text/css",r.rel="stylesheet",r.href=e,t.appendChild(r)})}},m=e=>{let{src:t,id:r,onLoad:n=()=>{},onReady:o=null,dangerouslySetInnerHTML:a,children:i="",strategy:u="afterInteractive",onError:l,stylesheets:c}=e,m=r||t;if(m&&d.has(m))return;if(f.has(t)){d.add(m),f.get(t).then(n,l);return}let _=()=>{o&&o(),d.add(m)},g=document.createElement("script"),y=new Promise((e,t)=>{g.addEventListener("load",function(t){e(),n&&n.call(this,t),_()}),g.addEventListener("error",function(e){t(e)})}).catch(function(e){l&&l(e)});for(let[r,n]of(a?(g.innerHTML=a.__html||"",_()):i?(g.textContent="string"==typeof i?i:Array.isArray(i)?i.join(""):"",_()):t&&(g.src=t,f.set(t,y)),Object.entries(e))){if(void 0===n||p.includes(r))continue;let e=s.DOMAttributeNames[r]||r.toLowerCase();g.setAttribute(e,n)}"worker"===u&&g.setAttribute("type","text/partytown"),g.setAttribute("data-nscript",u),c&&h(c),document.body.appendChild(g)};function _(e){let{strategy:t="afterInteractive"}=e;"lazyOnload"===t?window.addEventListener("load",()=>{(0,c.requestIdleCallback)(()=>m(e))}):m(e)}function g(e){e.forEach(_),[...document.querySelectorAll('[data-nscript="beforeInteractive"]'),...document.querySelectorAll('[data-nscript="beforePageRender"]')].forEach(e=>{let t=e.id||e.getAttribute("src");d.add(t)})}function y(e){let{id:t,src:r="",onLoad:n=()=>{},onReady:o=null,strategy:s="afterInteractive",onError:f,stylesheets:p,...h}=e,{updateScripts:_,scripts:g,getIsSsr:y,appDir:b,nonce:v}=(0,u.useContext)(l.HeadManagerContext),P=(0,u.useRef)(!1);(0,u.useEffect)(()=>{let e=t||r;P.current||(o&&e&&d.has(e)&&o(),P.current=!0)},[o,t,r]);let E=(0,u.useRef)(!1);if((0,u.useEffect)(()=>{!E.current&&("afterInteractive"===s?m(e):"lazyOnload"===s&&("complete"===document.readyState?(0,c.requestIdleCallback)(()=>m(e)):window.addEventListener("load",()=>{(0,c.requestIdleCallback)(()=>m(e))})),E.current=!0)},[e,s]),("beforeInteractive"===s||"worker"===s)&&(_?(g[s]=(g[s]||[]).concat([{id:t,src:r,onLoad:n,onReady:o,onError:f,...h}]),_(g)):y&&y()?d.add(t||r):y&&!y()&&m(e)),b){if(p&&p.forEach(e=>{i.default.preinit(e,{as:"style"})}),"beforeInteractive"===s)return r?(i.default.preload(r,h.integrity?{as:"script",integrity:h.integrity}:{as:"script"}),(0,a.jsx)("script",{nonce:v,dangerouslySetInnerHTML:{__html:"(self.__next_s=self.__next_s||[]).push("+JSON.stringify([r,{...h,id:t}])+")"}})):(h.dangerouslySetInnerHTML&&(h.children=h.dangerouslySetInnerHTML.__html,delete h.dangerouslySetInnerHTML),(0,a.jsx)("script",{nonce:v,dangerouslySetInnerHTML:{__html:"(self.__next_s=self.__next_s||[]).push("+JSON.stringify([0,{...h,id:t}])+")"}}));"afterInteractive"===s&&r&&i.default.preload(r,h.integrity?{as:"script",integrity:h.integrity}:{as:"script"})}return null}Object.defineProperty(y,"__nextScript",{value:!0});let b=y;("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},3023:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return o}});let n=r(4142);function o(e){if("ended"!==e.state.state)throw Error("Expected span to be ended");(0,n.sendMessage)(JSON.stringify({event:"span-end",startTime:e.startTime,endTime:e.state.endTime,spanName:e.name,attributes:e.attributes}))}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},9394:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i}});let n=r(8754)._(r(3947));class o{end(e){if("ended"===this.state.state)throw Error("Span has already ended");this.state={state:"ended",endTime:null!=e?e:Date.now()},this.onSpanEnd(this)}constructor(e,t,r){var n,o;this.name=e,this.attributes=null!=(n=t.attributes)?n:{},this.startTime=null!=(o=t.startTime)?o:Date.now(),this.onSpanEnd=r,this.state={state:"inprogress"}}}class a{startSpan(e,t){return new o(e,t,this.handleSpanEnd)}onSpanEnd(e){return this._emitter.on("spanend",e),()=>{this._emitter.off("spanend",e)}}constructor(){this._emitter=(0,n.default)(),this.handleSpanEnd=e=>{this._emitter.emit("spanend",e)}}}let i=new a;("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},106:function(e,t){"use strict";let r;function n(e){var t;return(null==(t=function(){if(void 0===r){var e;r=(null==(e=window.trustedTypes)?void 0:e.createPolicy("nextjs",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e}))||null}return r}())?void 0:t.createScriptURL(e))||e}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"__unsafeCreateTrustedScriptURL",{enumerable:!0,get:function(){return n}}),("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},9907:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),r(4878),self.__next_set_public_path__=e=>{r.p=e},("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},7440:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return a}}),r(8754);let n=r(5893);r(7294);let o=r(4546);function a(e){function t(t){return(0,n.jsx)(e,{router:(0,o.useRouter)(),...t})}return t.getInitialProps=e.getInitialProps,t.origGetInitialProps=e.origGetInitialProps,t}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},7174:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return l}});let n=r(8754),o=r(5893),a=n._(r(7294)),i=r(5522);async function u(e){let{Component:t,ctx:r}=e;return{pageProps:await (0,i.loadGetInitialProps)(t,r)}}class l extends a.default.Component{render(){let{Component:e,pageProps:t}=this.props;return(0,o.jsx)(e,{...t})}}l.origGetInitialProps=u,l.getInitialProps=u,("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},5103:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return c}});let n=r(8754),o=r(5893),a=n._(r(7294)),i=n._(r(3709)),u={400:"Bad Request",404:"This page could not be found",405:"Method Not Allowed",500:"Internal Server Error"};function l(e){let{res:t,err:r}=e;return{statusCode:t&&t.statusCode?t.statusCode:r?r.statusCode:404}}let s={error:{fontFamily:'system-ui,"Segoe UI",Roboto,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji"',height:"100vh",textAlign:"center",display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center"},desc:{lineHeight:"48px"},h1:{display:"inline-block",margin:"0 20px 0 0",paddingRight:23,fontSize:24,fontWeight:500,verticalAlign:"top"},h2:{fontSize:14,fontWeight:400,lineHeight:"28px"},wrap:{display:"inline-block"}};class c extends a.default.Component{render(){let{statusCode:e,withDarkMode:t=!0}=this.props,r=this.props.title||u[e]||"An unexpected error has occurred";return(0,o.jsxs)("div",{style:s.error,children:[(0,o.jsx)(i.default,{children:(0,o.jsx)("title",{children:e?e+": "+r:"Application error: a client-side exception has occurred"})}),(0,o.jsxs)("div",{style:s.desc,children:[(0,o.jsx)("style",{dangerouslySetInnerHTML:{__html:"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}"+(t?"@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}":"")}}),e?(0,o.jsx)("h1",{className:"next-error-h1",style:s.h1,children:e}):null,(0,o.jsx)("div",{style:s.wrap,children:(0,o.jsxs)("h2",{style:s.h2,children:[this.props.title||e?r:(0,o.jsx)(o.Fragment,{children:"Application error: a client-side exception has occurred (see the browser console for more information)"}),"."]})})]})]})}}c.displayName="ErrorPage",c.getInitialProps=l,c.origGetInitialProps=l,("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},3530:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"AmpStateContext",{enumerable:!0,get:function(){return n}});let n=r(8754)._(r(7294)).default.createContext({})},9181:function(e,t){"use strict";function r(e){let{ampFirst:t=!1,hybrid:r=!1,hasQuery:n=!1}=void 0===e?{}:e;return t||r&&n}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"isInAmpMode",{enumerable:!0,get:function(){return r}})},2497:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{AppRouterContext:function(){return o},LayoutRouterContext:function(){return a},GlobalLayoutRouterContext:function(){return i},TemplateContext:function(){return u},MissingSlotContext:function(){return l}});let n=r(8754)._(r(7294)),o=n.default.createContext(null),a=n.default.createContext(null),i=n.default.createContext(null),u=n.default.createContext(null),l=n.default.createContext(new Set)},9337:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"BloomFilter",{enumerable:!0,get:function(){return r}});class r{static from(e,t){void 0===t&&(t=1e-4);let n=new r(e.length,t);for(let t of e)n.add(t);return n}export(){return{numItems:this.numItems,errorRate:this.errorRate,numBits:this.numBits,numHashes:this.numHashes,bitArray:this.bitArray}}import(e){this.numItems=e.numItems,this.errorRate=e.errorRate,this.numBits=e.numBits,this.numHashes=e.numHashes,this.bitArray=e.bitArray}add(e){this.getHashValues(e).forEach(e=>{this.bitArray[e]=1})}contains(e){return this.getHashValues(e).every(e=>this.bitArray[e])}getHashValues(e){let t=[];for(let r=1;r<=this.numHashes;r++){let n=function(e){let t=0;for(let r=0;r>>13,t=Math.imul(t,1540483477);return t>>>0}(""+e+r)%this.numBits;t.push(n)}return t}constructor(e,t=1e-4){this.numItems=e,this.errorRate=t,this.numBits=Math.ceil(-(e*Math.log(t))/(Math.log(2)*Math.log(2))),this.numHashes=Math.ceil(this.numBits/e*Math.log(2)),this.bitArray=Array(this.numBits).fill(0)}}},1602:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{MODERN_BROWSERSLIST_TARGET:function(){return n.default},COMPILER_NAMES:function(){return o},INTERNAL_HEADERS:function(){return a},COMPILER_INDEXES:function(){return i},PHASE_EXPORT:function(){return u},PHASE_PRODUCTION_BUILD:function(){return l},PHASE_PRODUCTION_SERVER:function(){return s},PHASE_DEVELOPMENT_SERVER:function(){return c},PHASE_TEST:function(){return f},PHASE_INFO:function(){return d},PAGES_MANIFEST:function(){return p},APP_PATHS_MANIFEST:function(){return h},APP_PATH_ROUTES_MANIFEST:function(){return m},BUILD_MANIFEST:function(){return _},APP_BUILD_MANIFEST:function(){return g},FUNCTIONS_CONFIG_MANIFEST:function(){return y},SUBRESOURCE_INTEGRITY_MANIFEST:function(){return b},NEXT_FONT_MANIFEST:function(){return v},EXPORT_MARKER:function(){return P},EXPORT_DETAIL:function(){return E},PRERENDER_MANIFEST:function(){return S},ROUTES_MANIFEST:function(){return j},IMAGES_MANIFEST:function(){return w},SERVER_FILES_MANIFEST:function(){return O},DEV_CLIENT_PAGES_MANIFEST:function(){return R},MIDDLEWARE_MANIFEST:function(){return T},DEV_MIDDLEWARE_MANIFEST:function(){return M},REACT_LOADABLE_MANIFEST:function(){return x},FONT_MANIFEST:function(){return I},SERVER_DIRECTORY:function(){return C},CONFIG_FILES:function(){return A},BUILD_ID_FILE:function(){return L},BLOCKED_PAGES:function(){return N},CLIENT_PUBLIC_FILES_PATH:function(){return D},CLIENT_STATIC_FILES_PATH:function(){return k},STRING_LITERAL_DROP_BUNDLE:function(){return F},NEXT_BUILTIN_DOCUMENT:function(){return B},BARREL_OPTIMIZATION_PREFIX:function(){return U},CLIENT_REFERENCE_MANIFEST:function(){return H},SERVER_REFERENCE_MANIFEST:function(){return W},MIDDLEWARE_BUILD_MANIFEST:function(){return q},MIDDLEWARE_REACT_LOADABLE_MANIFEST:function(){return G},CLIENT_STATIC_FILES_RUNTIME_MAIN:function(){return z},CLIENT_STATIC_FILES_RUNTIME_MAIN_APP:function(){return V},APP_CLIENT_INTERNALS:function(){return X},CLIENT_STATIC_FILES_RUNTIME_REACT_REFRESH:function(){return Y},CLIENT_STATIC_FILES_RUNTIME_AMP:function(){return $},CLIENT_STATIC_FILES_RUNTIME_WEBPACK:function(){return K},CLIENT_STATIC_FILES_RUNTIME_POLYFILLS:function(){return J},CLIENT_STATIC_FILES_RUNTIME_POLYFILLS_SYMBOL:function(){return Q},EDGE_RUNTIME_WEBPACK:function(){return Z},STATIC_PROPS_ID:function(){return ee},SERVER_PROPS_ID:function(){return et},GOOGLE_FONT_PROVIDER:function(){return er},OPTIMIZED_FONT_PROVIDERS:function(){return en},DEFAULT_SERIF_FONT:function(){return eo},DEFAULT_SANS_SERIF_FONT:function(){return ea},STATIC_STATUS_PAGES:function(){return ei},TRACE_OUTPUT_VERSION:function(){return eu},TURBO_TRACE_DEFAULT_MEMORY_LIMIT:function(){return el},RSC_MODULE_TYPES:function(){return es},EDGE_UNSUPPORTED_NODE_APIS:function(){return ec},SYSTEM_ENTRYPOINTS:function(){return ef}});let n=r(8754)._(r(2908)),o={client:"client",server:"server",edgeServer:"edge-server"},a=["x-invoke-error","x-invoke-output","x-invoke-path","x-invoke-query","x-invoke-status","x-middleware-invoke"],i={[o.client]:0,[o.server]:1,[o.edgeServer]:2},u="phase-export",l="phase-production-build",s="phase-production-server",c="phase-development-server",f="phase-test",d="phase-info",p="pages-manifest.json",h="app-paths-manifest.json",m="app-path-routes-manifest.json",_="build-manifest.json",g="app-build-manifest.json",y="functions-config-manifest.json",b="subresource-integrity-manifest",v="next-font-manifest",P="export-marker.json",E="export-detail.json",S="prerender-manifest.json",j="routes-manifest.json",w="images-manifest.json",O="required-server-files.json",R="_devPagesManifest.json",T="middleware-manifest.json",M="_devMiddlewareManifest.json",x="react-loadable-manifest.json",I="font-manifest.json",C="server",A=["next.config.js","next.config.mjs"],L="BUILD_ID",N=["/_document","/_app","/_error"],D="public",k="static",F="__NEXT_DROP_CLIENT_FILE__",B="__NEXT_BUILTIN_DOCUMENT__",U="__barrel_optimize__",H="client-reference-manifest",W="server-reference-manifest",q="middleware-build-manifest",G="middleware-react-loadable-manifest",z="main",V=""+z+"-app",X="app-pages-internals",Y="react-refresh",$="amp",K="webpack",J="polyfills",Q=Symbol(J),Z="edge-runtime-webpack",ee="__N_SSG",et="__N_SSP",er="https://fonts.googleapis.com/",en=[{url:er,preconnect:"https://fonts.gstatic.com"},{url:"https://use.typekit.net",preconnect:"https://use.typekit.net"}],eo={name:"Times New Roman",xAvgCharWidth:821,azAvgWidth:854.3953488372093,unitsPerEm:2048},ea={name:"Arial",xAvgCharWidth:904,azAvgWidth:934.5116279069767,unitsPerEm:2048},ei=["/500"],eu=1,el=6e3,es={client:"client",server:"server"},ec=["clearImmediate","setImmediate","BroadcastChannel","ByteLengthQueuingStrategy","CompressionStream","CountQueuingStrategy","DecompressionStream","DomException","MessageChannel","MessageEvent","MessagePort","ReadableByteStreamController","ReadableStreamBYOBRequest","ReadableStreamDefaultController","TransformStreamDefaultController","WritableStreamDefaultController"],ef=new Set([z,Y,$,V]);("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},4613:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"escapeStringRegexp",{enumerable:!0,get:function(){return o}});let r=/[|\\{}()[\]^$+*?.-]/,n=/[|\\{}()[\]^$+*?.-]/g;function o(e){return r.test(e)?e.replace(n,"\\$&"):e}},3537:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"HeadManagerContext",{enumerable:!0,get:function(){return n}});let n=r(8754)._(r(7294)).default.createContext({})},3709:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{defaultHead:function(){return f},default:function(){return m}});let n=r(8754),o=r(1757),a=r(5893),i=o._(r(7294)),u=n._(r(738)),l=r(3530),s=r(3537),c=r(9181);function f(e){void 0===e&&(e=!1);let t=[(0,a.jsx)("meta",{charSet:"utf-8"})];return e||t.push((0,a.jsx)("meta",{name:"viewport",content:"width=device-width"})),t}function d(e,t){return"string"==typeof t||"number"==typeof t?e:t.type===i.default.Fragment?e.concat(i.default.Children.toArray(t.props.children).reduce((e,t)=>"string"==typeof t||"number"==typeof t?e:e.concat(t),[])):e.concat(t)}r(6415);let p=["name","httpEquiv","charSet","itemProp"];function h(e,t){let{inAmpMode:r}=t;return e.reduce(d,[]).reverse().concat(f(r).reverse()).filter(function(){let e=new Set,t=new Set,r=new Set,n={};return o=>{let a=!0,i=!1;if(o.key&&"number"!=typeof o.key&&o.key.indexOf("$")>0){i=!0;let t=o.key.slice(o.key.indexOf("$")+1);e.has(t)?a=!1:e.add(t)}switch(o.type){case"title":case"base":t.has(o.type)?a=!1:t.add(o.type);break;case"meta":for(let e=0,t=p.length;e{let n=e.key||t;if(!r&&"link"===e.type&&e.props.href&&["https://fonts.googleapis.com/css","https://use.typekit.net/"].some(t=>e.props.href.startsWith(t))){let t={...e.props||{}};return t["data-href"]=t.href,t.href=void 0,t["data-optimized-fonts"]=!0,i.default.cloneElement(e,t)}return i.default.cloneElement(e,{key:n})})}let m=function(e){let{children:t}=e,r=(0,i.useContext)(l.AmpStateContext),n=(0,i.useContext)(s.HeadManagerContext);return(0,a.jsx)(u.default,{reduceComponentsToState:h,headManager:n,inAmpMode:(0,c.isInAmpMode)(r),children:t})};("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},1844:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{SearchParamsContext:function(){return o},PathnameContext:function(){return a},PathParamsContext:function(){return i}});let n=r(7294),o=(0,n.createContext)(null),a=(0,n.createContext)(null),i=(0,n.createContext)(null)},1254:function(e,t){"use strict";function r(e,t){let r;let n=e.split("/");return(t||[]).some(t=>!!n[1]&&n[1].toLowerCase()===t.toLowerCase()&&(r=t,n.splice(1,1),e=n.join("/")||"/",!0)),{pathname:e,detectedLocale:r}}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"normalizeLocalePath",{enumerable:!0,get:function(){return r}})},3334:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"ImageConfigContext",{enumerable:!0,get:function(){return a}});let n=r(8754)._(r(7294)),o=r(6270),a=n.default.createContext(o.imageConfigDefault)},6270:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{VALID_LOADERS:function(){return r},imageConfigDefault:function(){return n}});let r=["default","imgix","cloudinary","akamai","custom"],n={deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[16,32,48,64,96,128,256,384],path:"/_next/image",loader:"default",loaderFile:"",domains:[],disableStaticImages:!1,minimumCacheTTL:60,formats:["image/webp"],dangerouslyAllowSVG:!1,contentSecurityPolicy:"script-src 'none'; frame-src 'none'; sandbox;",contentDispositionType:"inline",remotePatterns:[],unoptimized:!1}},8286:function(e,t){"use strict";function r(e){return Object.prototype.toString.call(e)}function n(e){if("[object Object]"!==r(e))return!1;let t=Object.getPrototypeOf(e);return null===t||t.hasOwnProperty("isPrototypeOf")}Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{getObjectClassLabel:function(){return r},isPlainObject:function(){return n}})},1349:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{BailoutToCSRError:function(){return n},isBailoutToCSRError:function(){return o}});let r="BAILOUT_TO_CLIENT_SIDE_RENDERING";class n extends Error{constructor(e){super("Bail out to client-side rendering: "+e),this.reason=e,this.digest=r}}function o(e){return"object"==typeof e&&null!==e&&"digest"in e&&e.digest===r}},3947:function(e,t){"use strict";function r(){let e=Object.create(null);return{on(t,r){(e[t]||(e[t]=[])).push(r)},off(t,r){e[t]&&e[t].splice(e[t].indexOf(r)>>>0,1)},emit(t){for(var r=arguments.length,n=Array(r>1?r-1:0),o=1;o{e(...n)})}}}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return r}})},2908:function(e){"use strict";e.exports=["chrome 64","edge 79","firefox 67","opera 51","safari 12"]},3492:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"denormalizePagePath",{enumerable:!0,get:function(){return a}});let n=r(6277),o=r(5791);function a(e){let t=(0,o.normalizePathSep)(e);return t.startsWith("/index/")&&!(0,n.isDynamicRoute)(t)?t.slice(6):"/index"!==t?t:"/"}},3953:function(e,t){"use strict";function r(e){return e.startsWith("/")?e:"/"+e}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"ensureLeadingSlash",{enumerable:!0,get:function(){return r}})},5791:function(e,t){"use strict";function r(e){return e.replace(/\\/g,"/")}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"normalizePathSep",{enumerable:!0,get:function(){return r}})},5832:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"RouterContext",{enumerable:!0,get:function(){return n}});let n=r(8754)._(r(7294)).default.createContext(null)},3559:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{adaptForAppRouterInstance:function(){return c},adaptForSearchParams:function(){return f},adaptForPathParams:function(){return d},PathnameContextProviderAdapter:function(){return p}});let n=r(1757),o=r(5893),a=n._(r(7294)),i=r(1844),u=r(6277),l=r(901),s=r(5504);function c(e){return{back(){e.back()},forward(){e.forward()},refresh(){e.reload()},push(t,r){let{scroll:n}=void 0===r?{}:r;e.push(t,void 0,{scroll:n})},replace(t,r){let{scroll:n}=void 0===r?{}:r;e.replace(t,void 0,{scroll:n})},prefetch(t){e.prefetch(t)}}}function f(e){return e.isReady&&e.query?(0,l.asPathToSearchParams)(e.asPath):new URLSearchParams}function d(e){if(!e.isReady||!e.query)return null;let t={};for(let r of Object.keys((0,s.getRouteRegex)(e.pathname).groups))t[r]=e.query[r];return t}function p(e){let{children:t,router:r,...n}=e,l=(0,a.useRef)(n.isAutoExport),s=(0,a.useMemo)(()=>{let e;let t=l.current;if(t&&(l.current=!1),(0,u.isDynamicRoute)(r.pathname)&&(r.isFallback||t&&!r.isReady))return null;try{e=new URL(r.asPath,"http://f")}catch(e){return"/"}return e.pathname},[r.asPath,r.isFallback,r.isReady,r.pathname]);return(0,o.jsx)(i.PathnameContext.Provider,{value:s,children:t})}},2595:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{default:function(){return V},matchesMiddleware:function(){return N},createKey:function(){return q}});let n=r(8754),o=r(1757),a=r(8290),i=r(5455),u=r(3104),l=o._(r(676)),s=r(3492),c=r(1254),f=n._(r(3947)),d=r(5522),p=r(8741),h=r(3974);r(2431);let m=r(995),_=r(5504),g=r(1024);r(9440);let y=r(5997),b=r(2208),v=r(2354),P=r(5055),E=r(9290),S=r(7232),j=r(5203),w=r(9423),O=r(5186),R=r(1726),T=r(5126),M=r(298),x=r(2074),I=r(1646),C=r(3523),A=r(3939);function L(){return Object.assign(Error("Route Cancelled"),{cancelled:!0})}async function N(e){let t=await Promise.resolve(e.router.pageLoader.getMiddleware());if(!t)return!1;let{pathname:r}=(0,y.parsePath)(e.asPath),n=(0,S.hasBasePath)(r)?(0,P.removeBasePath)(r):r,o=(0,E.addBasePath)((0,b.addLocale)(n,e.locale));return t.some(e=>new RegExp(e.regexp).test(o))}function D(e){let t=(0,d.getLocationOrigin)();return e.startsWith(t)?e.substring(t.length):e}function k(e,t,r){let[n,o]=(0,j.resolveHref)(e,t,!0),a=(0,d.getLocationOrigin)(),i=n.startsWith(a),u=o&&o.startsWith(a);n=D(n),o=o?D(o):o;let l=i?n:(0,E.addBasePath)(n),s=r?D((0,j.resolveHref)(e,r)):o||n;return{url:l,as:u?s:(0,E.addBasePath)(s)}}function F(e,t){let r=(0,a.removeTrailingSlash)((0,s.denormalizePagePath)(e));return"/404"===r||"/_error"===r?e:(t.includes(r)||t.some(t=>{if((0,p.isDynamicRoute)(t)&&(0,_.getRouteRegex)(t).re.test(r))return e=t,!0}),(0,a.removeTrailingSlash)(e))}async function B(e){if(!await N(e)||!e.fetchData)return null;try{let t=await e.fetchData(),r=await function(e,t,r){let n={basePath:r.router.basePath,i18n:{locales:r.router.locales},trailingSlash:!1},o=t.headers.get("x-nextjs-rewrite"),u=o||t.headers.get("x-nextjs-matched-path"),l=t.headers.get("x-matched-path");if(!l||u||l.includes("__next_data_catchall")||l.includes("/_error")||l.includes("/404")||(u=l),u){if(u.startsWith("/")){let t=(0,h.parseRelativeUrl)(u),l=(0,O.getNextPathnameInfo)(t.pathname,{nextConfig:n,parseData:!0}),s=(0,a.removeTrailingSlash)(l.pathname);return Promise.all([r.router.pageLoader.getPageList(),(0,i.getClientBuildManifest)()]).then(a=>{let[i,{__rewrites:u}]=a,f=(0,b.addLocale)(l.pathname,l.locale);if((0,p.isDynamicRoute)(f)||!o&&i.includes((0,c.normalizeLocalePath)((0,P.removeBasePath)(f),r.router.locales).pathname)){let r=(0,O.getNextPathnameInfo)((0,h.parseRelativeUrl)(e).pathname,{nextConfig:n,parseData:!0});f=(0,E.addBasePath)(r.pathname),t.pathname=f}if(!i.includes(s)){let e=F(s,i);e!==s&&(s=e)}let d=i.includes(s)?s:F((0,c.normalizeLocalePath)((0,P.removeBasePath)(t.pathname),r.router.locales).pathname,i);if((0,p.isDynamicRoute)(d)){let e=(0,m.getRouteMatcher)((0,_.getRouteRegex)(d))(f);Object.assign(t.query,e||{})}return{type:"rewrite",parsedAs:t,resolvedHref:d}})}let t=(0,y.parsePath)(e);return Promise.resolve({type:"redirect-external",destination:""+(0,R.formatNextPathnameInfo)({...(0,O.getNextPathnameInfo)(t.pathname,{nextConfig:n,parseData:!0}),defaultLocale:r.router.defaultLocale,buildId:""})+t.query+t.hash})}let s=t.headers.get("x-nextjs-redirect");if(s){if(s.startsWith("/")){let e=(0,y.parsePath)(s),t=(0,R.formatNextPathnameInfo)({...(0,O.getNextPathnameInfo)(e.pathname,{nextConfig:n,parseData:!0}),defaultLocale:r.router.defaultLocale,buildId:""});return Promise.resolve({type:"redirect-internal",newAs:""+t+e.query+e.hash,newUrl:""+t+e.query+e.hash})}return Promise.resolve({type:"redirect-external",destination:s})}return Promise.resolve({type:"next"})}(t.dataHref,t.response,e);return{dataHref:t.dataHref,json:t.json,response:t.response,text:t.text,cacheKey:t.cacheKey,effect:r}}catch(e){return null}}let U=Symbol("SSG_DATA_NOT_FOUND");function H(e){try{return JSON.parse(e)}catch(e){return null}}function W(e){var t;let{dataHref:r,inflightCache:n,isPrefetch:o,hasMiddleware:a,isServerRender:u,parseJSON:l,persistCache:s,isBackground:c,unstable_skipClientCache:f}=e,{href:d}=new URL(r,window.location.href),p=e=>(function e(t,r,n){return fetch(t,{credentials:"same-origin",method:n.method||"GET",headers:Object.assign({},n.headers,{"x-nextjs-data":"1"})}).then(o=>!o.ok&&r>1&&o.status>=500?e(t,r-1,n):o)})(r,u?3:1,{headers:Object.assign({},o?{purpose:"prefetch"}:{},o&&a?{"x-middleware-prefetch":"1"}:{}),method:null!=(t=null==e?void 0:e.method)?t:"GET"}).then(t=>t.ok&&(null==e?void 0:e.method)==="HEAD"?{dataHref:r,response:t,text:"",json:{},cacheKey:d}:t.text().then(e=>{if(!t.ok){if(a&&[301,302,307,308].includes(t.status))return{dataHref:r,response:t,text:e,json:{},cacheKey:d};if(404===t.status){var n;if(null==(n=H(e))?void 0:n.notFound)return{dataHref:r,json:{notFound:U},response:t,text:e,cacheKey:d}}let o=Error("Failed to load static props");throw u||(0,i.markAssetError)(o),o}return{dataHref:r,json:l?H(e):null,response:t,text:e,cacheKey:d}})).then(e=>(s&&"no-cache"!==e.response.headers.get("x-middleware-cache")||delete n[d],e)).catch(e=>{throw f||delete n[d],("Failed to fetch"===e.message||"NetworkError when attempting to fetch resource."===e.message||"Load failed"===e.message)&&(0,i.markAssetError)(e),e});return f&&s?p({}).then(e=>(n[d]=Promise.resolve(e),e)):void 0!==n[d]?n[d]:n[d]=p(c?{method:"HEAD"}:{})}function q(){return Math.random().toString(36).slice(2,10)}function G(e){let{url:t,router:r}=e;if(t===(0,E.addBasePath)((0,b.addLocale)(r.asPath,r.locale)))throw Error("Invariant: attempted to hard navigate to the same URL "+t+" "+location.href);window.location.href=t}let z=e=>{let{route:t,router:r}=e,n=!1,o=r.clc=()=>{n=!0};return()=>{if(n){let e=Error('Abort fetching component for route: "'+t+'"');throw e.cancelled=!0,e}o===r.clc&&(r.clc=null)}};class V{reload(){window.location.reload()}back(){window.history.back()}forward(){window.history.forward()}push(e,t,r){return void 0===r&&(r={}),{url:e,as:t}=k(this,e,t),this.change("pushState",e,t,r)}replace(e,t,r){return void 0===r&&(r={}),{url:e,as:t}=k(this,e,t),this.change("replaceState",e,t,r)}async _bfl(e,t,r,n){{let l=!1,s=!1;for(let c of[e,t])if(c){let t=(0,a.removeTrailingSlash)(new URL(c,"http://n").pathname),f=(0,E.addBasePath)((0,b.addLocale)(t,r||this.locale));if(t!==(0,a.removeTrailingSlash)(new URL(this.asPath,"http://n").pathname)){var o,i,u;for(let e of(l=l||!!(null==(o=this._bfl_s)?void 0:o.contains(t))||!!(null==(i=this._bfl_s)?void 0:i.contains(f)),[t,f])){let t=e.split("/");for(let e=0;!s&&e{})}}}}return!1}async change(e,t,r,n,o){var s,c,f,j,w,O,R,x,A;let D,B;if(!(0,M.isLocalURL)(t))return G({url:t,router:this}),!1;let H=1===n._h;H||n.shallow||await this._bfl(r,void 0,n.locale);let W=H||n._shouldResolveHref||(0,y.parsePath)(t).pathname===(0,y.parsePath)(r).pathname,q={...this.state},z=!0!==this.isReady;this.isReady=!0;let X=this.isSsr;if(H||(this.isSsr=!1),H&&this.clc)return!1;let Y=q.locale;d.ST&&performance.mark("routeChange");let{shallow:$=!1,scroll:K=!0}=n,J={shallow:$};this._inFlightRoute&&this.clc&&(X||V.events.emit("routeChangeError",L(),this._inFlightRoute,J),this.clc(),this.clc=null),r=(0,E.addBasePath)((0,b.addLocale)((0,S.hasBasePath)(r)?(0,P.removeBasePath)(r):r,n.locale,this.defaultLocale));let Q=(0,v.removeLocale)((0,S.hasBasePath)(r)?(0,P.removeBasePath)(r):r,q.locale);this._inFlightRoute=r;let Z=Y!==q.locale;if(!H&&this.onlyAHashChange(Q)&&!Z){q.asPath=Q,V.events.emit("hashChangeStart",r,J),this.changeState(e,t,r,{...n,scroll:!1}),K&&this.scrollToHash(Q);try{await this.set(q,this.components[q.route],null)}catch(e){throw(0,l.default)(e)&&e.cancelled&&V.events.emit("routeChangeError",e,Q,J),e}return V.events.emit("hashChangeComplete",r,J),!0}let ee=(0,h.parseRelativeUrl)(t),{pathname:et,query:er}=ee;try{[D,{__rewrites:B}]=await Promise.all([this.pageLoader.getPageList(),(0,i.getClientBuildManifest)(),this.pageLoader.getMiddleware()])}catch(e){return G({url:r,router:this}),!1}this.urlIsNew(Q)||Z||(e="replaceState");let en=r;et=et?(0,a.removeTrailingSlash)((0,P.removeBasePath)(et)):et;let eo=(0,a.removeTrailingSlash)(et),ea=r.startsWith("/")&&(0,h.parseRelativeUrl)(r).pathname;if(null==(s=this.components[et])?void 0:s.__appRouter)return G({url:r,router:this}),new Promise(()=>{});let ei=!!(ea&&eo!==ea&&(!(0,p.isDynamicRoute)(eo)||!(0,m.getRouteMatcher)((0,_.getRouteRegex)(eo))(ea))),eu=!n.shallow&&await N({asPath:r,locale:q.locale,router:this});if(H&&eu&&(W=!1),W&&"/_error"!==et&&(n._shouldResolveHref=!0,ee.pathname=F(et,D),ee.pathname===et||(et=ee.pathname,ee.pathname=(0,E.addBasePath)(et),eu||(t=(0,g.formatWithValidation)(ee)))),!(0,M.isLocalURL)(r))return G({url:r,router:this}),!1;en=(0,v.removeLocale)((0,P.removeBasePath)(en),q.locale),eo=(0,a.removeTrailingSlash)(et);let el=!1;if((0,p.isDynamicRoute)(eo)){let e=(0,h.parseRelativeUrl)(en),n=e.pathname,o=(0,_.getRouteRegex)(eo);el=(0,m.getRouteMatcher)(o)(n);let a=eo===n,i=a?(0,C.interpolateAs)(eo,n,er):{};if(el&&(!a||i.result))a?r=(0,g.formatWithValidation)(Object.assign({},e,{pathname:i.result,query:(0,I.omit)(er,i.params)})):Object.assign(er,el);else{let e=Object.keys(o.groups).filter(e=>!er[e]&&!o.groups[e].optional);if(e.length>0&&!eu)throw Error((a?"The provided `href` ("+t+") value is missing query values ("+e.join(", ")+") to be interpolated properly. ":"The provided `as` value ("+n+") is incompatible with the `href` value ("+eo+"). ")+"Read more: https://nextjs.org/docs/messages/"+(a?"href-interpolation-failed":"incompatible-href-as"))}}H||V.events.emit("routeChangeStart",r,J);let es="/404"===this.pathname||"/_error"===this.pathname;try{let a=await this.getRouteInfo({route:eo,pathname:et,query:er,as:r,resolvedAs:en,routeProps:J,locale:q.locale,isPreview:q.isPreview,hasMiddleware:eu,unstable_skipClientCache:n.unstable_skipClientCache,isQueryUpdating:H&&!this.isFallback,isMiddlewareRewrite:ei});if(H||n.shallow||await this._bfl(r,"resolvedAs"in a?a.resolvedAs:void 0,q.locale),"route"in a&&eu){eo=et=a.route||eo,J.shallow||(er=Object.assign({},a.query||{},er));let e=(0,S.hasBasePath)(ee.pathname)?(0,P.removeBasePath)(ee.pathname):ee.pathname;if(el&&et!==e&&Object.keys(el).forEach(e=>{el&&er[e]===el[e]&&delete er[e]}),(0,p.isDynamicRoute)(et)){let e=!J.shallow&&a.resolvedAs?a.resolvedAs:(0,E.addBasePath)((0,b.addLocale)(new URL(r,location.href).pathname,q.locale),!0);(0,S.hasBasePath)(e)&&(e=(0,P.removeBasePath)(e));let t=(0,_.getRouteRegex)(et),n=(0,m.getRouteMatcher)(t)(new URL(e,location.href).pathname);n&&Object.assign(er,n)}}if("type"in a){if("redirect-internal"===a.type)return this.change(e,a.newUrl,a.newAs,n);return G({url:a.destination,router:this}),new Promise(()=>{})}let i=a.Component;if(i&&i.unstable_scriptLoader&&[].concat(i.unstable_scriptLoader()).forEach(e=>{(0,u.handleClientScriptLoad)(e.props)}),(a.__N_SSG||a.__N_SSP)&&a.props){if(a.props.pageProps&&a.props.pageProps.__N_REDIRECT){n.locale=!1;let t=a.props.pageProps.__N_REDIRECT;if(t.startsWith("/")&&!1!==a.props.pageProps.__N_REDIRECT_BASE_PATH){let r=(0,h.parseRelativeUrl)(t);r.pathname=F(r.pathname,D);let{url:o,as:a}=k(this,t,t);return this.change(e,o,a,n)}return G({url:t,router:this}),new Promise(()=>{})}if(q.isPreview=!!a.props.__N_PREVIEW,a.props.notFound===U){let e;try{await this.fetchComponent("/404"),e="/404"}catch(t){e="/_error"}if(a=await this.getRouteInfo({route:e,pathname:e,query:er,as:r,resolvedAs:en,routeProps:{shallow:!1},locale:q.locale,isPreview:q.isPreview,isNotFound:!0}),"type"in a)throw Error("Unexpected middleware effect on /404")}}H&&"/_error"===this.pathname&&(null==(f=self.__NEXT_DATA__.props)?void 0:null==(c=f.pageProps)?void 0:c.statusCode)===500&&(null==(j=a.props)?void 0:j.pageProps)&&(a.props.pageProps.statusCode=500);let s=n.shallow&&q.route===(null!=(w=a.route)?w:eo),d=null!=(O=n.scroll)?O:!H&&!s,g=null!=o?o:d?{x:0,y:0}:null,y={...q,route:eo,pathname:et,query:er,asPath:Q,isFallback:!1};if(H&&es){if(a=await this.getRouteInfo({route:this.pathname,pathname:this.pathname,query:er,as:r,resolvedAs:en,routeProps:{shallow:!1},locale:q.locale,isPreview:q.isPreview,isQueryUpdating:H&&!this.isFallback}),"type"in a)throw Error("Unexpected middleware effect on "+this.pathname);"/_error"===this.pathname&&(null==(x=self.__NEXT_DATA__.props)?void 0:null==(R=x.pageProps)?void 0:R.statusCode)===500&&(null==(A=a.props)?void 0:A.pageProps)&&(a.props.pageProps.statusCode=500);try{await this.set(y,a,g)}catch(e){throw(0,l.default)(e)&&e.cancelled&&V.events.emit("routeChangeError",e,Q,J),e}return!0}if(V.events.emit("beforeHistoryChange",r,J),this.changeState(e,t,r,n),!(H&&!g&&!z&&!Z&&(0,T.compareRouterStates)(y,this.state))){try{await this.set(y,a,g)}catch(e){if(e.cancelled)a.error=a.error||e;else throw e}if(a.error)throw H||V.events.emit("routeChangeError",a.error,Q,J),a.error;H||V.events.emit("routeChangeComplete",r,J),d&&/#.+$/.test(r)&&this.scrollToHash(r)}return!0}catch(e){if((0,l.default)(e)&&e.cancelled)return!1;throw e}}changeState(e,t,r,n){void 0===n&&(n={}),("pushState"!==e||(0,d.getURL)()!==r)&&(this._shallow=n.shallow,window.history[e]({url:t,as:r,options:n,__N:!0,key:this._key="pushState"!==e?this._key:q()},"",r))}async handleRouteInfoError(e,t,r,n,o,a){if(console.error(e),e.cancelled)throw e;if((0,i.isAssetError)(e)||a)throw V.events.emit("routeChangeError",e,n,o),G({url:n,router:this}),L();try{let n;let{page:o,styleSheets:a}=await this.fetchComponent("/_error"),i={props:n,Component:o,styleSheets:a,err:e,error:e};if(!i.props)try{i.props=await this.getInitialProps(o,{err:e,pathname:t,query:r})}catch(e){console.error("Error in error page `getInitialProps`: ",e),i.props={}}return i}catch(e){return this.handleRouteInfoError((0,l.default)(e)?e:Error(e+""),t,r,n,o,!0)}}async getRouteInfo(e){let{route:t,pathname:r,query:n,as:o,resolvedAs:i,routeProps:u,locale:s,hasMiddleware:f,isPreview:d,unstable_skipClientCache:p,isQueryUpdating:h,isMiddlewareRewrite:m,isNotFound:_}=e,y=t;try{var b,v,E,S;let e=z({route:y,router:this}),t=this.components[y];if(u.shallow&&t&&this.route===y)return t;f&&(t=void 0);let l=!t||"initial"in t?void 0:t,j={dataHref:this.pageLoader.getDataHref({href:(0,g.formatWithValidation)({pathname:r,query:n}),skipInterpolation:!0,asPath:_?"/404":i,locale:s}),hasMiddleware:!0,isServerRender:this.isSsr,parseJSON:!0,inflightCache:h?this.sbc:this.sdc,persistCache:!d,isPrefetch:!1,unstable_skipClientCache:p,isBackground:h},O=h&&!m?null:await B({fetchData:()=>W(j),asPath:_?"/404":i,locale:s,router:this}).catch(e=>{if(h)return null;throw e});if(O&&("/_error"===r||"/404"===r)&&(O.effect=void 0),h&&(O?O.json=self.__NEXT_DATA__.props:O={json:self.__NEXT_DATA__.props}),e(),(null==O?void 0:null==(b=O.effect)?void 0:b.type)==="redirect-internal"||(null==O?void 0:null==(v=O.effect)?void 0:v.type)==="redirect-external")return O.effect;if((null==O?void 0:null==(E=O.effect)?void 0:E.type)==="rewrite"){let e=(0,a.removeTrailingSlash)(O.effect.resolvedHref),o=await this.pageLoader.getPageList();if((!h||o.includes(e))&&(y=e,r=O.effect.resolvedHref,n={...n,...O.effect.parsedAs.query},i=(0,P.removeBasePath)((0,c.normalizeLocalePath)(O.effect.parsedAs.pathname,this.locales).pathname),t=this.components[y],u.shallow&&t&&this.route===y&&!f))return{...t,route:y}}if((0,w.isAPIRoute)(y))return G({url:o,router:this}),new Promise(()=>{});let R=l||await this.fetchComponent(y).then(e=>({Component:e.page,styleSheets:e.styleSheets,__N_SSG:e.mod.__N_SSG,__N_SSP:e.mod.__N_SSP})),T=null==O?void 0:null==(S=O.response)?void 0:S.headers.get("x-middleware-skip"),M=R.__N_SSG||R.__N_SSP;T&&(null==O?void 0:O.dataHref)&&delete this.sdc[O.dataHref];let{props:x,cacheKey:I}=await this._getData(async()=>{if(M){if((null==O?void 0:O.json)&&!T)return{cacheKey:O.cacheKey,props:O.json};let e=(null==O?void 0:O.dataHref)?O.dataHref:this.pageLoader.getDataHref({href:(0,g.formatWithValidation)({pathname:r,query:n}),asPath:i,locale:s}),t=await W({dataHref:e,isServerRender:this.isSsr,parseJSON:!0,inflightCache:T?{}:this.sdc,persistCache:!d,isPrefetch:!1,unstable_skipClientCache:p});return{cacheKey:t.cacheKey,props:t.json||{}}}return{headers:{},props:await this.getInitialProps(R.Component,{pathname:r,query:n,asPath:o,locale:s,locales:this.locales,defaultLocale:this.defaultLocale})}});return R.__N_SSP&&j.dataHref&&I&&delete this.sdc[I],this.isPreview||!R.__N_SSG||h||W(Object.assign({},j,{isBackground:!0,persistCache:!1,inflightCache:this.sbc})).catch(()=>{}),x.pageProps=Object.assign({},x.pageProps),R.props=x,R.route=y,R.query=n,R.resolvedAs=i,this.components[y]=R,R}catch(e){return this.handleRouteInfoError((0,l.getProperError)(e),r,n,o,u)}}set(e,t,r){return this.state=e,this.sub(t,this.components["/_app"].Component,r)}beforePopState(e){this._bps=e}onlyAHashChange(e){if(!this.asPath)return!1;let[t,r]=this.asPath.split("#",2),[n,o]=e.split("#",2);return!!o&&t===n&&r===o||t===n&&r!==o}scrollToHash(e){let[,t=""]=e.split("#",2);(0,A.handleSmoothScroll)(()=>{if(""===t||"top"===t){window.scrollTo(0,0);return}let e=decodeURIComponent(t),r=document.getElementById(e);if(r){r.scrollIntoView();return}let n=document.getElementsByName(e)[0];n&&n.scrollIntoView()},{onlyHashChange:this.onlyAHashChange(e)})}urlIsNew(e){return this.asPath!==e}async prefetch(e,t,r){if(void 0===t&&(t=e),void 0===r&&(r={}),(0,x.isBot)(window.navigator.userAgent))return;let n=(0,h.parseRelativeUrl)(e),o=n.pathname,{pathname:i,query:u}=n,l=i,s=await this.pageLoader.getPageList(),c=t,f=void 0!==r.locale?r.locale||void 0:this.locale,d=await N({asPath:t,locale:f,router:this});n.pathname=F(n.pathname,s),(0,p.isDynamicRoute)(n.pathname)&&(i=n.pathname,n.pathname=i,Object.assign(u,(0,m.getRouteMatcher)((0,_.getRouteRegex)(n.pathname))((0,y.parsePath)(t).pathname)||{}),d||(e=(0,g.formatWithValidation)(n)));let b=await B({fetchData:()=>W({dataHref:this.pageLoader.getDataHref({href:(0,g.formatWithValidation)({pathname:l,query:u}),skipInterpolation:!0,asPath:c,locale:f}),hasMiddleware:!0,isServerRender:this.isSsr,parseJSON:!0,inflightCache:this.sdc,persistCache:!this.isPreview,isPrefetch:!0}),asPath:t,locale:f,router:this});if((null==b?void 0:b.effect.type)==="rewrite"&&(n.pathname=b.effect.resolvedHref,i=b.effect.resolvedHref,u={...u,...b.effect.parsedAs.query},c=b.effect.parsedAs.pathname,e=(0,g.formatWithValidation)(n)),(null==b?void 0:b.effect.type)==="redirect-external")return;let v=(0,a.removeTrailingSlash)(i);await this._bfl(t,c,r.locale,!0)&&(this.components[o]={__appRouter:!0}),await Promise.all([this.pageLoader._isSsg(v).then(t=>!!t&&W({dataHref:(null==b?void 0:b.json)?null==b?void 0:b.dataHref:this.pageLoader.getDataHref({href:e,asPath:c,locale:f}),isServerRender:!1,parseJSON:!0,inflightCache:this.sdc,persistCache:!this.isPreview,isPrefetch:!0,unstable_skipClientCache:r.unstable_skipClientCache||r.priority&&!0}).then(()=>!1).catch(()=>!1)),this.pageLoader[r.priority?"loadPage":"prefetch"](v)])}async fetchComponent(e){let t=z({route:e,router:this});try{let r=await this.pageLoader.loadPage(e);return t(),r}catch(e){throw t(),e}}_getData(e){let t=!1,r=()=>{t=!0};return this.clc=r,e().then(e=>{if(r===this.clc&&(this.clc=null),t){let e=Error("Loading initial props cancelled");throw e.cancelled=!0,e}return e})}_getFlightData(e){return W({dataHref:e,isServerRender:!0,parseJSON:!1,inflightCache:this.sdc,persistCache:!1,isPrefetch:!1}).then(e=>{let{text:t}=e;return{data:t}})}getInitialProps(e,t){let{Component:r}=this.components["/_app"],n=this._wrapApp(r);return t.AppTree=n,(0,d.loadGetInitialProps)(r,{AppTree:n,Component:e,router:this,ctx:t})}get route(){return this.state.route}get pathname(){return this.state.pathname}get query(){return this.state.query}get asPath(){return this.state.asPath}get locale(){return this.state.locale}get isFallback(){return this.state.isFallback}get isPreview(){return this.state.isPreview}constructor(e,t,n,{initialProps:o,pageLoader:i,App:u,wrapApp:l,Component:s,err:c,subscription:f,isFallback:m,locale:_,locales:y,defaultLocale:b,domainLocales:v,isPreview:P}){this.sdc={},this.sbc={},this.isFirstPopStateEvent=!0,this._key=q(),this.onPopState=e=>{let t;let{isFirstPopStateEvent:r}=this;this.isFirstPopStateEvent=!1;let n=e.state;if(!n){let{pathname:e,query:t}=this;this.changeState("replaceState",(0,g.formatWithValidation)({pathname:(0,E.addBasePath)(e),query:t}),(0,d.getURL)());return}if(n.__NA){window.location.reload();return}if(!n.__N||r&&this.locale===n.options.locale&&n.as===this.asPath)return;let{url:o,as:a,options:i,key:u}=n;this._key=u;let{pathname:l}=(0,h.parseRelativeUrl)(o);(!this.isSsr||a!==(0,E.addBasePath)(this.asPath)||l!==(0,E.addBasePath)(this.pathname))&&(!this._bps||this._bps(n))&&this.change("replaceState",o,a,Object.assign({},i,{shallow:i.shallow&&this._shallow,locale:i.locale||this.defaultLocale,_h:0}),t)};let S=(0,a.removeTrailingSlash)(e);this.components={},"/_error"!==e&&(this.components[S]={Component:s,initial:!0,props:o,err:c,__N_SSG:o&&o.__N_SSG,__N_SSP:o&&o.__N_SSP}),this.components["/_app"]={Component:u,styleSheets:[]};{let{BloomFilter:e}=r(9337),t={numItems:9,errorRate:1e-4,numBits:173,numHashes:14,bitArray:[1,1,1,1,1,1,0,0,0,1,1,0,0,1,0,1,1,1,1,0,0,1,1,1,0,0,1,1,1,1,0,0,1,0,0,0,0,1,1,0,1,1,0,1,1,1,1,1,0,1,0,1,0,0,1,0,1,0,0,0,1,0,1,0,1,0,1,1,0,0,1,0,0,0,1,0,0,1,0,1,0,0,0,1,0,0,1,0,0,1,1,1,1,0,1,0,1,1,1,1,0,0,1,0,1,0,0,1,0,1,1,0,1,0,0,0,1,1,1,1,0,0,1,1,0,1,0,0,0,1,0,0,1,0,0,1,1,0,1,0,1,1,1,0,0,0,1,0,1,1,0,1,0,0,0,1,1,1,1,1,1,1,0,0,1,1,0,1,1,0,0,1,0]},n={numItems:0,errorRate:1e-4,numBits:0,numHashes:null,bitArray:[]};(null==t?void 0:t.numHashes)&&(this._bfl_s=new e(t.numItems,t.errorRate),this._bfl_s.import(t)),(null==n?void 0:n.numHashes)&&(this._bfl_d=new e(n.numItems,n.errorRate),this._bfl_d.import(n))}this.events=V.events,this.pageLoader=i;let j=(0,p.isDynamicRoute)(e)&&self.__NEXT_DATA__.autoExport;if(this.basePath="",this.sub=f,this.clc=null,this._wrapApp=l,this.isSsr=!0,this.isLocaleDomain=!1,this.isReady=!!(self.__NEXT_DATA__.gssp||self.__NEXT_DATA__.gip||self.__NEXT_DATA__.isExperimentalCompile||self.__NEXT_DATA__.appGip&&!self.__NEXT_DATA__.gsp||!j&&!self.location.search),this.state={route:S,pathname:e,query:t,asPath:j?e:n,isPreview:!!P,locale:void 0,isFallback:m},this._initialMatchesMiddlewarePromise=Promise.resolve(!1),!n.startsWith("//")){let r={locale:_},o=(0,d.getURL)();this._initialMatchesMiddlewarePromise=N({router:this,locale:_,asPath:o}).then(a=>(r._shouldResolveHref=n!==e,this.changeState("replaceState",a?o:(0,g.formatWithValidation)({pathname:(0,E.addBasePath)(e),query:t}),o,r),a))}window.addEventListener("popstate",this.onPopState)}}V.events=(0,f.default)()},8697:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"addLocale",{enumerable:!0,get:function(){return a}});let n=r(138),o=r(7559);function a(e,t,r,a){if(!t||t===r)return e;let i=e.toLowerCase();return!a&&((0,o.pathHasPrefix)(i,"/api")||(0,o.pathHasPrefix)(i,"/"+t.toLowerCase()))?e:(0,n.addPathPrefix)(e,"/"+t)}},138:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"addPathPrefix",{enumerable:!0,get:function(){return o}});let n=r(5997);function o(e,t){if(!e.startsWith("/")||!t)return e;let{pathname:r,query:o,hash:a}=(0,n.parsePath)(e);return""+t+r+o+a}},6346:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"addPathSuffix",{enumerable:!0,get:function(){return o}});let n=r(5997);function o(e,t){if(!e.startsWith("/")||!t)return e;let{pathname:r,query:o,hash:a}=(0,n.parsePath)(e);return""+r+t+o+a}},2594:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{normalizeAppPath:function(){return a},normalizeRscURL:function(){return i}});let n=r(3953),o=r(1665);function a(e){return(0,n.ensureLeadingSlash)(e.split("/").reduce((e,t,r,n)=>!t||(0,o.isGroupSegment)(t)||"@"===t[0]||("page"===t||"route"===t)&&r===n.length-1?e:e+"/"+t,""))}function i(e){return e.replace(/\.rsc($|\?)/,"$1")}},901:function(e,t){"use strict";function r(e){return new URL(e,"http://n").searchParams}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"asPathToSearchParams",{enumerable:!0,get:function(){return r}})},5126:function(e,t){"use strict";function r(e,t){let r=Object.keys(e);if(r.length!==Object.keys(t).length)return!1;for(let n=r.length;n--;){let o=r[n];if("query"===o){let r=Object.keys(e.query);if(r.length!==Object.keys(t.query).length)return!1;for(let n=r.length;n--;){let o=r[n];if(!t.query.hasOwnProperty(o)||e.query[o]!==t.query[o])return!1}}else if(!t.hasOwnProperty(o)||e[o]!==t[o])return!1}return!0}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"compareRouterStates",{enumerable:!0,get:function(){return r}})},1726:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"formatNextPathnameInfo",{enumerable:!0,get:function(){return u}});let n=r(8290),o=r(138),a=r(6346),i=r(8697);function u(e){let t=(0,i.addLocale)(e.pathname,e.locale,e.buildId?void 0:e.defaultLocale,e.ignorePrefix);return(e.buildId||!e.trailingSlash)&&(t=(0,n.removeTrailingSlash)(t)),e.buildId&&(t=(0,a.addPathSuffix)((0,o.addPathPrefix)(t,"/_next/data/"+e.buildId),"/"===e.pathname?"index.json":".json")),t=(0,o.addPathPrefix)(t,e.basePath),!e.buildId&&e.trailingSlash?t.endsWith("/")?t:(0,a.addPathSuffix)(t,"/"):(0,n.removeTrailingSlash)(t)}},1024:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{formatUrl:function(){return a},urlObjectKeys:function(){return i},formatWithValidation:function(){return u}});let n=r(1757)._(r(8050)),o=/https?|ftp|gopher|file/;function a(e){let{auth:t,hostname:r}=e,a=e.protocol||"",i=e.pathname||"",u=e.hash||"",l=e.query||"",s=!1;t=t?encodeURIComponent(t).replace(/%3A/i,":")+"@":"",e.host?s=t+e.host:r&&(s=t+(~r.indexOf(":")?"["+r+"]":r),e.port&&(s+=":"+e.port)),l&&"object"==typeof l&&(l=String(n.urlQueryToSearchParams(l)));let c=e.search||l&&"?"+l||"";return a&&!a.endsWith(":")&&(a+=":"),e.slashes||(!a||o.test(a))&&!1!==s?(s="//"+(s||""),i&&"/"!==i[0]&&(i="/"+i)):s||(s=""),u&&"#"!==u[0]&&(u="#"+u),c&&"?"!==c[0]&&(c="?"+c),""+a+s+(i=i.replace(/[?#]/g,encodeURIComponent))+(c=c.replace("#","%23"))+u}let i=["auth","hash","host","hostname","href","path","pathname","port","protocol","query","search","slashes"];function u(e){return a(e)}},6165:function(e,t){"use strict";function r(e,t){return void 0===t&&(t=""),("/"===e?"/index":/^\/index(\/|$)/.test(e)?"/index"+e:e)+t}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return r}})},5186:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getNextPathnameInfo",{enumerable:!0,get:function(){return i}});let n=r(1254),o=r(530),a=r(7559);function i(e,t){var r,i;let{basePath:u,i18n:l,trailingSlash:s}=null!=(r=t.nextConfig)?r:{},c={pathname:e,trailingSlash:"/"!==e?e.endsWith("/"):s};u&&(0,a.pathHasPrefix)(c.pathname,u)&&(c.pathname=(0,o.removePathPrefix)(c.pathname,u),c.basePath=u);let f=c.pathname;if(c.pathname.startsWith("/_next/data/")&&c.pathname.endsWith(".json")){let e=c.pathname.replace(/^\/_next\/data\//,"").replace(/\.json$/,"").split("/"),r=e[0];c.buildId=r,f="index"!==e[1]?"/"+e.slice(1).join("/"):"/",!0===t.parseData&&(c.pathname=f)}if(l){let e=t.i18nProvider?t.i18nProvider.analyze(c.pathname):(0,n.normalizeLocalePath)(c.pathname,l.locales);c.locale=e.detectedLocale,c.pathname=null!=(i=e.pathname)?i:c.pathname,!e.detectedLocale&&c.buildId&&(e=t.i18nProvider?t.i18nProvider.analyze(f):(0,n.normalizeLocalePath)(f,l.locales)).detectedLocale&&(c.locale=e.detectedLocale)}return c}},3939:function(e,t){"use strict";function r(e,t){if(void 0===t&&(t={}),t.onlyHashChange){e();return}let r=document.documentElement,n=r.style.scrollBehavior;r.style.scrollBehavior="auto",t.dontForceLayout||r.getClientRects(),e(),r.style.scrollBehavior=n}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"handleSmoothScroll",{enumerable:!0,get:function(){return r}})},6277:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{getSortedRoutes:function(){return n.getSortedRoutes},isDynamicRoute:function(){return o.isDynamicRoute}});let n=r(2903),o=r(8741)},3523:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"interpolateAs",{enumerable:!0,get:function(){return a}});let n=r(995),o=r(5504);function a(e,t,r){let a="",i=(0,o.getRouteRegex)(e),u=i.groups,l=(t!==e?(0,n.getRouteMatcher)(i)(t):"")||r;a=e;let s=Object.keys(u);return s.every(e=>{let t=l[e]||"",{repeat:r,optional:n}=u[e],o="["+(r?"...":"")+e+"]";return n&&(o=(t?"":"/")+"["+o+"]"),r&&!Array.isArray(t)&&(t=[t]),(n||e in l)&&(a=a.replace(o,r?t.map(e=>encodeURIComponent(e)).join("/"):encodeURIComponent(t))||"/")})||(a=""),{params:s,result:a}}},2074:function(e,t){"use strict";function r(e){return/Googlebot|Mediapartners-Google|AdsBot-Google|googleweblight|Storebot-Google|Google-PageRenderer|Bingbot|BingPreview|Slurp|DuckDuckBot|baiduspider|yandex|sogou|LinkedInBot|bitlybot|tumblr|vkShare|quora link preview|facebookexternalhit|facebookcatalog|Twitterbot|applebot|redditbot|Slackbot|Discordbot|WhatsApp|SkypeUriPreview|ia_archiver/i.test(e)}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"isBot",{enumerable:!0,get:function(){return r}})},8741:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"isDynamicRoute",{enumerable:!0,get:function(){return a}});let n=r(2407),o=/\/\[[^/]+?\](?=\/|$)/;function a(e){return(0,n.isInterceptionRouteAppPath)(e)&&(e=(0,n.extractInterceptionRouteInformation)(e).interceptedRoute),o.test(e)}},298:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"isLocalURL",{enumerable:!0,get:function(){return a}});let n=r(5522),o=r(7232);function a(e){if(!(0,n.isAbsoluteUrl)(e))return!0;try{let t=(0,n.getLocationOrigin)(),r=new URL(e,t);return r.origin===t&&(0,o.hasBasePath)(r.pathname)}catch(e){return!1}}},1646:function(e,t){"use strict";function r(e,t){let r={};return Object.keys(e).forEach(n=>{t.includes(n)||(r[n]=e[n])}),r}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"omit",{enumerable:!0,get:function(){return r}})},5997:function(e,t){"use strict";function r(e){let t=e.indexOf("#"),r=e.indexOf("?"),n=r>-1&&(t<0||r-1?{pathname:e.substring(0,n?r:t),query:n?e.substring(r,t>-1?t:void 0):"",hash:t>-1?e.slice(t):""}:{pathname:e,query:"",hash:""}}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"parsePath",{enumerable:!0,get:function(){return r}})},3974:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"parseRelativeUrl",{enumerable:!0,get:function(){return a}});let n=r(5522),o=r(8050);function a(e,t){let r=new URL((0,n.getLocationOrigin)()),a=t?new URL(t,r):e.startsWith(".")?new URL(window.location.href):r,{pathname:i,searchParams:u,search:l,hash:s,href:c,origin:f}=new URL(e,a);if(f!==r.origin)throw Error("invariant: invalid relative URL, router received "+e);return{pathname:i,query:(0,o.searchParamsToUrlQuery)(u),search:l,hash:s,href:c.slice(r.origin.length)}}},7559:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"pathHasPrefix",{enumerable:!0,get:function(){return o}});let n=r(5997);function o(e,t){if("string"!=typeof e)return!1;let{pathname:r}=(0,n.parsePath)(e);return r===t||r.startsWith(t+"/")}},8050:function(e,t){"use strict";function r(e){let t={};return e.forEach((e,r)=>{void 0===t[r]?t[r]=e:Array.isArray(t[r])?t[r].push(e):t[r]=[t[r],e]}),t}function n(e){return"string"!=typeof e&&("number"!=typeof e||isNaN(e))&&"boolean"!=typeof e?"":String(e)}function o(e){let t=new URLSearchParams;return Object.entries(e).forEach(e=>{let[r,o]=e;Array.isArray(o)?o.forEach(e=>t.append(r,n(e))):t.set(r,n(o))}),t}function a(e){for(var t=arguments.length,r=Array(t>1?t-1:0),n=1;n{Array.from(t.keys()).forEach(t=>e.delete(t)),t.forEach((t,r)=>e.append(r,t))}),e}Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{searchParamsToUrlQuery:function(){return r},urlQueryToSearchParams:function(){return o},assign:function(){return a}})},530:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"removePathPrefix",{enumerable:!0,get:function(){return o}});let n=r(7559);function o(e,t){if(!(0,n.pathHasPrefix)(e,t))return e;let r=e.slice(t.length);return r.startsWith("/")?r:"/"+r}},8290:function(e,t){"use strict";function r(e){return e.replace(/\/$/,"")||"/"}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"removeTrailingSlash",{enumerable:!0,get:function(){return r}})},995:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getRouteMatcher",{enumerable:!0,get:function(){return o}});let n=r(5522);function o(e){let{re:t,groups:r}=e;return e=>{let o=t.exec(e);if(!o)return!1;let a=e=>{try{return decodeURIComponent(e)}catch(e){throw new n.DecodeError("failed to decode param")}},i={};return Object.keys(r).forEach(e=>{let t=r[e],n=o[t.pos];void 0!==n&&(i[e]=~n.indexOf("/")?n.split("/").map(e=>a(e)):t.repeat?[a(n)]:a(n))}),i}}},5504:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{getRouteRegex:function(){return l},getNamedRouteRegex:function(){return f},getNamedMiddlewareRegex:function(){return d}});let n=r(2407),o=r(4613),a=r(8290);function i(e){let t=e.startsWith("[")&&e.endsWith("]");t&&(e=e.slice(1,-1));let r=e.startsWith("...");return r&&(e=e.slice(3)),{key:e,repeat:r,optional:t}}function u(e){let t=(0,a.removeTrailingSlash)(e).slice(1).split("/"),r={},u=1;return{parameterizedRoute:t.map(e=>{let t=n.INTERCEPTION_ROUTE_MARKERS.find(t=>e.startsWith(t)),a=e.match(/\[((?:\[.*\])|.+)\]/);if(t&&a){let{key:e,optional:n,repeat:l}=i(a[1]);return r[e]={pos:u++,repeat:l,optional:n},"/"+(0,o.escapeStringRegexp)(t)+"([^/]+?)"}if(!a)return"/"+(0,o.escapeStringRegexp)(e);{let{key:e,repeat:t,optional:n}=i(a[1]);return r[e]={pos:u++,repeat:t,optional:n},t?n?"(?:/(.+?))?":"/(.+?)":"/([^/]+?)"}}).join(""),groups:r}}function l(e){let{parameterizedRoute:t,groups:r}=u(e);return{re:RegExp("^"+t+"(?:/)?$"),groups:r}}function s(e){let{interceptionMarker:t,getSafeRouteKey:r,segment:n,routeKeys:a,keyPrefix:u}=e,{key:l,optional:s,repeat:c}=i(n),f=l.replace(/\W/g,"");u&&(f=""+u+f);let d=!1;(0===f.length||f.length>30)&&(d=!0),isNaN(parseInt(f.slice(0,1)))||(d=!0),d&&(f=r()),u?a[f]=""+u+l:a[f]=l;let p=t?(0,o.escapeStringRegexp)(t):"";return c?s?"(?:/"+p+"(?<"+f+">.+?))?":"/"+p+"(?<"+f+">.+?)":"/"+p+"(?<"+f+">[^/]+?)"}function c(e,t){let r;let i=(0,a.removeTrailingSlash)(e).slice(1).split("/"),u=(r=0,()=>{let e="",t=++r;for(;t>0;)e+=String.fromCharCode(97+(t-1)%26),t=Math.floor((t-1)/26);return e}),l={};return{namedParameterizedRoute:i.map(e=>{let r=n.INTERCEPTION_ROUTE_MARKERS.some(t=>e.startsWith(t)),a=e.match(/\[((?:\[.*\])|.+)\]/);if(r&&a){let[r]=e.split(a[0]);return s({getSafeRouteKey:u,interceptionMarker:r,segment:a[1],routeKeys:l,keyPrefix:t?"nxtI":void 0})}return a?s({getSafeRouteKey:u,segment:a[1],routeKeys:l,keyPrefix:t?"nxtP":void 0}):"/"+(0,o.escapeStringRegexp)(e)}).join(""),routeKeys:l}}function f(e,t){let r=c(e,t);return{...l(e),namedRegex:"^"+r.namedParameterizedRoute+"(?:/)?$",routeKeys:r.routeKeys}}function d(e,t){let{parameterizedRoute:r}=u(e),{catchAll:n=!0}=t;if("/"===r)return{namedRegex:"^/"+(n?".*":"")+"$"};let{namedParameterizedRoute:o}=c(e,!1);return{namedRegex:"^"+o+(n?"(?:(/.*)?)":"")+"$"}}},2903:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getSortedRoutes",{enumerable:!0,get:function(){return n}});class r{insert(e){this._insert(e.split("/").filter(Boolean),[],!1)}smoosh(){return this._smoosh()}_smoosh(e){void 0===e&&(e="/");let t=[...this.children.keys()].sort();null!==this.slugName&&t.splice(t.indexOf("[]"),1),null!==this.restSlugName&&t.splice(t.indexOf("[...]"),1),null!==this.optionalRestSlugName&&t.splice(t.indexOf("[[...]]"),1);let r=t.map(t=>this.children.get(t)._smoosh(""+e+t+"/")).reduce((e,t)=>[...e,...t],[]);if(null!==this.slugName&&r.push(...this.children.get("[]")._smoosh(e+"["+this.slugName+"]/")),!this.placeholder){let t="/"===e?"/":e.slice(0,-1);if(null!=this.optionalRestSlugName)throw Error('You cannot define a route with the same specificity as a optional catch-all route ("'+t+'" and "'+t+"[[..."+this.optionalRestSlugName+']]").');r.unshift(t)}return null!==this.restSlugName&&r.push(...this.children.get("[...]")._smoosh(e+"[..."+this.restSlugName+"]/")),null!==this.optionalRestSlugName&&r.push(...this.children.get("[[...]]")._smoosh(e+"[[..."+this.optionalRestSlugName+"]]/")),r}_insert(e,t,n){if(0===e.length){this.placeholder=!1;return}if(n)throw Error("Catch-all must be the last part of the URL.");let o=e[0];if(o.startsWith("[")&&o.endsWith("]")){let r=o.slice(1,-1),i=!1;if(r.startsWith("[")&&r.endsWith("]")&&(r=r.slice(1,-1),i=!0),r.startsWith("...")&&(r=r.substring(3),n=!0),r.startsWith("[")||r.endsWith("]"))throw Error("Segment names may not start or end with extra brackets ('"+r+"').");if(r.startsWith("."))throw Error("Segment names may not start with erroneous periods ('"+r+"').");function a(e,r){if(null!==e&&e!==r)throw Error("You cannot use different slug names for the same dynamic path ('"+e+"' !== '"+r+"').");t.forEach(e=>{if(e===r)throw Error('You cannot have the same slug name "'+r+'" repeat within a single dynamic path');if(e.replace(/\W/g,"")===o.replace(/\W/g,""))throw Error('You cannot have the slug names "'+e+'" and "'+r+'" differ only by non-word symbols within a single dynamic path')}),t.push(r)}if(n){if(i){if(null!=this.restSlugName)throw Error('You cannot use both an required and optional catch-all route at the same level ("[...'+this.restSlugName+']" and "'+e[0]+'" ).');a(this.optionalRestSlugName,r),this.optionalRestSlugName=r,o="[[...]]"}else{if(null!=this.optionalRestSlugName)throw Error('You cannot use both an optional and required catch-all route at the same level ("[[...'+this.optionalRestSlugName+']]" and "'+e[0]+'").');a(this.restSlugName,r),this.restSlugName=r,o="[...]"}}else{if(i)throw Error('Optional route parameters are not yet supported ("'+e[0]+'").');a(this.slugName,r),this.slugName=r,o="[]"}}this.children.has(o)||this.children.set(o,new r),this.children.get(o)._insert(e.slice(1),t,n)}constructor(){this.placeholder=!0,this.children=new Map,this.slugName=null,this.restSlugName=null,this.optionalRestSlugName=null}}function n(e){let t=new r;return e.forEach(e=>t.insert(e)),t.smoosh()}},8384:function(e,t){"use strict";let r;Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{default:function(){return n},setConfig:function(){return o}});let n=()=>r;function o(e){r=e}},1665:function(e,t){"use strict";function r(e){return"("===e[0]&&e.endsWith(")")}Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{isGroupSegment:function(){return r},PAGE_SEGMENT_KEY:function(){return n},DEFAULT_SEGMENT_KEY:function(){return o}});let n="__PAGE__",o="__DEFAULT__"},738:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i}});let n=r(7294),o=n.useLayoutEffect,a=n.useEffect;function i(e){let{headManager:t,reduceComponentsToState:r}=e;function i(){if(t&&t.mountedInstances){let o=n.Children.toArray(Array.from(t.mountedInstances).filter(Boolean));t.updateHead(r(o,e))}}return o(()=>{var r;return null==t||null==(r=t.mountedInstances)||r.add(e.children),()=>{var r;null==t||null==(r=t.mountedInstances)||r.delete(e.children)}}),o(()=>(t&&(t._pendingUpdate=i),()=>{t&&(t._pendingUpdate=i)})),a(()=>(t&&t._pendingUpdate&&(t._pendingUpdate(),t._pendingUpdate=null),()=>{t&&t._pendingUpdate&&(t._pendingUpdate(),t._pendingUpdate=null)})),null}},5522:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{WEB_VITALS:function(){return r},execOnce:function(){return n},isAbsoluteUrl:function(){return a},getLocationOrigin:function(){return i},getURL:function(){return u},getDisplayName:function(){return l},isResSent:function(){return s},normalizeRepeatedSlashes:function(){return c},loadGetInitialProps:function(){return f},SP:function(){return d},ST:function(){return p},DecodeError:function(){return h},NormalizeError:function(){return m},PageNotFoundError:function(){return _},MissingStaticPage:function(){return g},MiddlewareNotFoundError:function(){return y},stringifyError:function(){return b}});let r=["CLS","FCP","FID","INP","LCP","TTFB"];function n(e){let t,r=!1;return function(){for(var n=arguments.length,o=Array(n),a=0;ao.test(e);function i(){let{protocol:e,hostname:t,port:r}=window.location;return e+"//"+t+(r?":"+r:"")}function u(){let{href:e}=window.location,t=i();return e.substring(t.length)}function l(e){return"string"==typeof e?e:e.displayName||e.name||"Unknown"}function s(e){return e.finished||e.headersSent}function c(e){let t=e.split("?");return t[0].replace(/\\/g,"/").replace(/\/\/+/g,"/")+(t[1]?"?"+t.slice(1).join("?"):"")}async function f(e,t){let r=t.res||t.ctx&&t.ctx.res;if(!e.getInitialProps)return t.ctx&&t.Component?{pageProps:await f(t.Component,t.ctx)}:{};let n=await e.getInitialProps(t);if(r&&s(r))return n;if(!n)throw Error('"'+l(e)+'.getInitialProps()" should resolve to an object. But found "'+n+'" instead.');return n}let d="undefined"!=typeof performance,p=d&&["mark","measure","getEntriesByName"].every(e=>"function"==typeof performance[e]);class h extends Error{}class m extends Error{}class _ extends Error{constructor(e){super(),this.code="ENOENT",this.name="PageNotFoundError",this.message="Cannot find module for page: "+e}}class g extends Error{constructor(e,t){super(),this.message="Failed to load static file for page: "+e+" "+t}}class y extends Error{constructor(){super(),this.code="ENOENT",this.message="Cannot find the middleware module"}}function b(e){return JSON.stringify({message:e.message,stack:e.stack})}},6415:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"warnOnce",{enumerable:!0,get:function(){return r}});let r=e=>{}},8018:function(e){var t,r,n,o,a,i,u,l,s,c,f,d,p,h,m,_,g,y,b,v,P,E,S,j,w,O,R,T,M,x,I,C,A,L,N,D,k,F,B,U,H,W,q,G,z,V;(t={}).d=function(e,r){for(var n in r)t.o(r,n)&&!t.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:r[n]})},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},void 0!==t&&(t.ab="//"),r={},t.r(r),t.d(r,{getCLS:function(){return S},getFCP:function(){return v},getFID:function(){return x},getINP:function(){return W},getLCP:function(){return G},getTTFB:function(){return V},onCLS:function(){return S},onFCP:function(){return v},onFID:function(){return x},onINP:function(){return W},onLCP:function(){return G},onTTFB:function(){return V}}),l=-1,s=function(e){addEventListener("pageshow",function(t){t.persisted&&(l=t.timeStamp,e(t))},!0)},c=function(){return window.performance&&performance.getEntriesByType&&performance.getEntriesByType("navigation")[0]},f=function(){var e=c();return e&&e.activationStart||0},d=function(e,t){var r=c(),n="navigate";return l>=0?n="back-forward-cache":r&&(n=document.prerendering||f()>0?"prerender":r.type.replace(/_/g,"-")),{name:e,value:void 0===t?-1:t,rating:"good",delta:0,entries:[],id:"v3-".concat(Date.now(),"-").concat(Math.floor(8999999999999*Math.random())+1e12),navigationType:n}},p=function(e,t,r){try{if(PerformanceObserver.supportedEntryTypes.includes(e)){var n=new PerformanceObserver(function(e){t(e.getEntries())});return n.observe(Object.assign({type:e,buffered:!0},r||{})),n}}catch(e){}},h=function(e,t){var r=function r(n){"pagehide"!==n.type&&"hidden"!==document.visibilityState||(e(n),t&&(removeEventListener("visibilitychange",r,!0),removeEventListener("pagehide",r,!0)))};addEventListener("visibilitychange",r,!0),addEventListener("pagehide",r,!0)},m=function(e,t,r,n){var o,a;return function(i){var u;t.value>=0&&(i||n)&&((a=t.value-(o||0))||void 0===o)&&(o=t.value,t.delta=a,t.rating=(u=t.value)>r[1]?"poor":u>r[0]?"needs-improvement":"good",e(t))}},_=-1,g=function(){return"hidden"!==document.visibilityState||document.prerendering?1/0:0},y=function(){h(function(e){_=e.timeStamp},!0)},b=function(){return _<0&&(_=g(),y(),s(function(){setTimeout(function(){_=g(),y()},0)})),{get firstHiddenTime(){return _}}},v=function(e,t){t=t||{};var r,n=[1800,3e3],o=b(),a=d("FCP"),i=function(e){e.forEach(function(e){"first-contentful-paint"===e.name&&(l&&l.disconnect(),e.startTime-1&&e(t)},a=d("CLS",0),i=0,u=[],l=function(e){e.forEach(function(e){if(!e.hadRecentInput){var t=u[0],r=u[u.length-1];i&&e.startTime-r.startTime<1e3&&e.startTime-t.startTime<5e3?(i+=e.value,u.push(e)):(i=e.value,u=[e]),i>a.value&&(a.value=i,a.entries=u,n())}})},c=p("layout-shift",l);c&&(n=m(o,a,r,t.reportAllChanges),h(function(){l(c.takeRecords()),n(!0)}),s(function(){i=0,E=-1,n=m(o,a=d("CLS",0),r,t.reportAllChanges)}))},j={passive:!0,capture:!0},w=new Date,O=function(e,t){n||(n=t,o=e,a=new Date,M(removeEventListener),R())},R=function(){if(o>=0&&o1e12?new Date:performance.now())-e.timeStamp;"pointerdown"==e.type?(t=function(){O(o,e),n()},r=function(){n()},n=function(){removeEventListener("pointerup",t,j),removeEventListener("pointercancel",r,j)},addEventListener("pointerup",t,j),addEventListener("pointercancel",r,j)):O(o,e)}},M=function(e){["mousedown","keydown","touchstart","pointerdown"].forEach(function(t){return e(t,T,j)})},x=function(e,t){t=t||{};var r,a=[100,300],u=b(),l=d("FID"),c=function(e){e.startTimet.latency){if(r)r.entries.push(e),r.latency=Math.max(r.latency,e.duration);else{var n={id:e.interactionId,latency:e.duration,entries:[e]};U[n.id]=n,B.push(n)}B.sort(function(e,t){return t.latency-e.latency}),B.splice(10).forEach(function(e){delete U[e.id]})}},W=function(e,t){t=t||{};var r=[200,500];D();var n,o=d("INP"),a=function(e){e.forEach(function(e){e.interactionId&&H(e),"first-input"!==e.entryType||B.some(function(t){return t.entries.some(function(t){return e.duration===t.duration&&e.startTime===t.startTime})})||H(e)});var t,r=(t=Math.min(B.length-1,Math.floor(F()/50)),B[t]);r&&r.latency!==o.value&&(o.value=r.latency,o.entries=r.entries,n())},i=p("event",a,{durationThreshold:t.durationThreshold||40});n=m(e,o,r,t.reportAllChanges),i&&(i.observe({type:"first-input",buffered:!0}),h(function(){a(i.takeRecords()),o.value<0&&F()>0&&(o.value=0,o.entries=[]),n(!0)}),s(function(){B=[],k=N(),n=m(e,o=d("INP"),r,t.reportAllChanges)}))},q={},G=function(e,t){t=t||{};var r,n=[2500,4e3],o=b(),a=d("LCP"),i=function(e){var t=e[e.length-1];if(t){var n=t.startTime-f();nperformance.now())return;n.entries=[a],o(!0),s(function(){(o=m(e,n=d("TTFB",0),r,t.reportAllChanges))(!0)})}})},e.exports=r},9423:function(e,t){"use strict";function r(e){return"/api"===e||!!(null==e?void 0:e.startsWith("/api/"))}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"isAPIRoute",{enumerable:!0,get:function(){return r}})},676:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{default:function(){return o},getProperError:function(){return a}});let n=r(8286);function o(e){return"object"==typeof e&&null!==e&&"name"in e&&"message"in e}function a(e){return o(e)?e:Error((0,n.isPlainObject)(e)?JSON.stringify(e):e+"")}},2407:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{INTERCEPTION_ROUTE_MARKERS:function(){return o},isInterceptionRouteAppPath:function(){return a},extractInterceptionRouteInformation:function(){return i}});let n=r(2594),o=["(..)(..)","(.)","(..)","(...)"];function a(e){return void 0!==e.split("/").find(e=>o.find(t=>e.startsWith(t)))}function i(e){let t,r,a;for(let n of e.split("/"))if(r=o.find(e=>n.startsWith(e))){[t,a]=e.split(r,2);break}if(!t||!r||!a)throw Error(`Invalid interception route: ${e}. Must be in the format //(..|...|..)(..)/`);switch(t=(0,n.normalizeAppPath)(t),r){case"(.)":a="/"===t?`/${a}`:t+"/"+a;break;case"(..)":if("/"===t)throw Error(`Invalid interception route: ${e}. Cannot use (..) marker at the root level, use (.) instead.`);a=t.split("/").slice(0,-1).concat(a).join("/");break;case"(...)":a="/"+a;break;case"(..)(..)":let i=t.split("/");if(i.length<=2)throw Error(`Invalid interception route: ${e}. Cannot use (..)(..) marker at the root level or one level up.`);a=i.slice(0,-2).concat(a).join("/");break;default:throw Error("Invariant: unexpected marker")}return{interceptingRoute:t,interceptedRoute:a}}},2431:function(){},8754:function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}r.r(t),r.d(t,{_:function(){return n},_interop_require_default:function(){return n}})},1757:function(e,t,r){"use strict";function n(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(n=function(e){return e?r:t})(e)}function o(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=n(t);if(r&&r.has(e))return r.get(e);var o={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var u=a?Object.getOwnPropertyDescriptor(e,i):null;u&&(u.get||u.set)?Object.defineProperty(o,i,u):o[i]=e[i]}return o.default=e,r&&r.set(e,o),o}r.r(t),r.d(t,{_:function(){return o},_interop_require_wildcard:function(){return o}})}},function(e){e.O(0,[774],function(){return e(e.s=1775)}),_N_E=e.O()}]); \ No newline at end of file diff --git a/xtraplatform-ops/src/main/resources/dashboard/_next/static/chunks/webpack-aa1765caf5e12e45.js b/xtraplatform-ops/src/main/resources/dashboard/_next/static/chunks/webpack-fb804174df4a63c2.js similarity index 98% rename from xtraplatform-ops/src/main/resources/dashboard/_next/static/chunks/webpack-aa1765caf5e12e45.js rename to xtraplatform-ops/src/main/resources/dashboard/_next/static/chunks/webpack-fb804174df4a63c2.js index 308fa0b1..3a00297f 100644 --- a/xtraplatform-ops/src/main/resources/dashboard/_next/static/chunks/webpack-aa1765caf5e12e45.js +++ b/xtraplatform-ops/src/main/resources/dashboard/_next/static/chunks/webpack-fb804174df4a63c2.js @@ -1 +1 @@ -!function(){"use strict";var e,t,n,r,o,u,i,c,f,a={},l={};function d(e){var t=l[e];if(void 0!==t)return t.exports;var n=l[e]={exports:{}},r=!0;try{a[e](n,n.exports,d),r=!1}finally{r&&delete l[e]}return n.exports}d.m=a,e=[],d.O=function(t,n,r,o){if(n){o=o||0;for(var u=e.length;u>0&&e[u-1][2]>o;u--)e[u]=e[u-1];e[u]=[n,r,o];return}for(var i=1/0,u=0;u=o&&Object.keys(d.O).every(function(e){return d.O[e](n[f])})?n.splice(f--,1):(c=!1,o0&&e[u-1][2]>o;u--)e[u]=e[u-1];e[u]=[n,r,o];return}for(var i=1/0,u=0;u=o&&Object.keys(d.O).every(function(e){return d.O[e](n[f])})?n.splice(f--,1):(c=!1,o:not([hidden])~:not([hidden]){--tw-space-x-reverse:0;margin-right:calc(.25rem * var(--tw-space-x-reverse));margin-left:calc(.25rem * calc(1 - var(--tw-space-x-reverse)))}.space-x-2>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0;margin-right:calc(.5rem * var(--tw-space-x-reverse));margin-left:calc(.5rem * calc(1 - var(--tw-space-x-reverse)))}.space-y-0>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-top:calc(0px * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(0px * var(--tw-space-y-reverse))}.space-y-1>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-top:calc(.25rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.25rem * var(--tw-space-y-reverse))}.space-y-1\.5>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-top:calc(.375rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.375rem * var(--tw-space-y-reverse))}.space-y-2>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-top:calc(.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.5rem * var(--tw-space-y-reverse))}.space-y-4>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-top:calc(1rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1rem * var(--tw-space-y-reverse))}.space-y-6>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-top:calc(1.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1.5rem * var(--tw-space-y-reverse))}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.overflow-y-auto{overflow-y:auto}.overflow-x-hidden{overflow-x:hidden}.whitespace-nowrap{white-space:nowrap}.break-normal{overflow-wrap:normal;word-break:normal}.rounded-\[inherit\]{border-radius:inherit}.rounded-full{border-radius:9999px}.rounded-lg{border-radius:var(--radius)}.rounded-md{border-radius:calc(var(--radius) - 2px)}.rounded-sm{border-radius:calc(var(--radius) - 4px)}.border{border-width:1px}.border-b{border-bottom-width:1px}.border-l{border-left-width:1px}.border-t{border-top-width:1px}.border-input{border-color:hsl(var(--input))}.border-transparent{border-color:transparent}.border-l-transparent{border-left-color:transparent}.border-t-transparent{border-top-color:transparent}.bg-background{background-color:hsl(var(--background))}.bg-black\/80{background-color:rgba(0,0,0,.8)}.bg-blue-400{--tw-bg-opacity:1;background-color:rgb(96 165 250/var(--tw-bg-opacity))}.bg-border{background-color:hsl(var(--border))}.bg-card{background-color:hsl(var(--card))}.bg-destructive{background-color:hsl(var(--destructive))}.bg-green-400{--tw-bg-opacity:1;background-color:rgb(74 222 128/var(--tw-bg-opacity))}.bg-muted{background-color:hsl(var(--muted))}.bg-muted\/50{background-color:hsl(var(--muted)/.5)}.bg-popover{background-color:hsl(var(--popover))}.bg-primary{background-color:hsl(var(--primary))}.bg-secondary{background-color:hsl(var(--secondary))}.bg-success{background-color:hsl(var(--success))}.bg-transparent{background-color:transparent}.bg-warning{background-color:hsl(var(--warning))}.fill-current{fill:currentColor}.p-0{padding:0}.p-1{padding:.25rem}.p-2{padding:.5rem}.p-4{padding:1rem}.p-6{padding:1.5rem}.p-8{padding:2rem}.p-\[1px\]{padding:1px}.px-2{padding-left:.5rem;padding-right:.5rem}.px-2\.5{padding-left:.625rem;padding-right:.625rem}.px-3{padding-left:.75rem;padding-right:.75rem}.px-4{padding-left:1rem;padding-right:1rem}.px-8{padding-left:2rem;padding-right:2rem}.py-0{padding-top:0;padding-bottom:0}.py-0\.5{padding-top:.125rem;padding-bottom:.125rem}.py-1{padding-top:.25rem;padding-bottom:.25rem}.py-1\.5{padding-top:.375rem;padding-bottom:.375rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.py-3{padding-top:.75rem;padding-bottom:.75rem}.py-4{padding-top:1rem;padding-bottom:1rem}.py-6{padding-top:1.5rem;padding-bottom:1.5rem}.pb-0{padding-bottom:0}.pb-12{padding-bottom:3rem}.pb-2{padding-bottom:.5rem}.pl-8{padding-left:2rem}.pr-2{padding-right:.5rem}.pt-0{padding-top:0}.pt-6{padding-top:1.5rem}.text-left{text-align:left}.text-center{text-align:center}.text-right{text-align:right}.align-middle{vertical-align:middle}.font-sans{font-family:var(--font-sans),ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji"}.text-2xl{font-size:1.5rem;line-height:2rem}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xl{font-size:1.25rem;line-height:1.75rem}.text-xs{font-size:.75rem;line-height:1rem}.font-bold{font-weight:700}.font-medium{font-weight:500}.font-semibold{font-weight:600}.capitalize{text-transform:capitalize}.leading-none{line-height:1}.tracking-tight{letter-spacing:-.025em}.tracking-widest{letter-spacing:.1em}.text-blue-500{--tw-text-opacity:1;color:rgb(59 130 246/var(--tw-text-opacity))}.text-blue-600{--tw-text-opacity:1;color:rgb(37 99 235/var(--tw-text-opacity))}.text-blue-700{--tw-text-opacity:1;color:rgb(29 78 216/var(--tw-text-opacity))}.text-card-foreground{color:hsl(var(--card-foreground))}.text-destructive{color:hsl(var(--destructive))}.text-destructive-foreground{color:hsl(var(--destructive-foreground))}.text-foreground{color:hsl(var(--foreground))}.text-green-400{--tw-text-opacity:1;color:rgb(74 222 128/var(--tw-text-opacity))}.text-green-500{--tw-text-opacity:1;color:rgb(34 197 94/var(--tw-text-opacity))}.text-muted-foreground{color:hsl(var(--muted-foreground))}.text-popover-foreground{color:hsl(var(--popover-foreground))}.text-primary{color:hsl(var(--primary))}.text-primary-foreground{color:hsl(var(--primary-foreground))}.text-secondary-foreground{color:hsl(var(--secondary-foreground))}.text-success{color:hsl(var(--success))}.text-success-foreground{color:hsl(var(--destructive-foreground))}.text-warning{color:hsl(var(--warning))}.text-warning-foreground{color:hsl(var(--destructive-foreground))}.underline-offset-4{text-underline-offset:4px}.antialiased{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.opacity-50{opacity:.5}.opacity-60{opacity:.6}.opacity-70{opacity:.7}.shadow-lg{--tw-shadow:0 10px 15px -3px rgba(0,0,0,.1),0 4px 6px -4px rgba(0,0,0,.1);--tw-shadow-colored:0 10px 15px -3px var(--tw-shadow-color),0 4px 6px -4px var(--tw-shadow-color)}.shadow-lg,.shadow-md{box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.shadow-md{--tw-shadow:0 4px 6px -1px rgba(0,0,0,.1),0 2px 4px -2px rgba(0,0,0,.1);--tw-shadow-colored:0 4px 6px -1px var(--tw-shadow-color),0 2px 4px -2px var(--tw-shadow-color)}.shadow-sm{--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.outline-none{outline:2px solid transparent;outline-offset:2px}.outline{outline-style:solid}.ring-offset-background{--tw-ring-offset-color:hsl(var(--background))}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.transition-all{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-colors{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-opacity{transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.duration-200{transition-duration:.2s}@keyframes enter{0%{opacity:var(--tw-enter-opacity,1);transform:translate3d(var(--tw-enter-translate-x,0),var(--tw-enter-translate-y,0),0) scale3d(var(--tw-enter-scale,1),var(--tw-enter-scale,1),var(--tw-enter-scale,1)) rotate(var(--tw-enter-rotate,0))}}@keyframes exit{to{opacity:var(--tw-exit-opacity,1);transform:translate3d(var(--tw-exit-translate-x,0),var(--tw-exit-translate-y,0),0) scale3d(var(--tw-exit-scale,1),var(--tw-exit-scale,1),var(--tw-exit-scale,1)) rotate(var(--tw-exit-rotate,0))}}.animate-in{animation-name:enter;animation-duration:.15s;--tw-enter-opacity:initial;--tw-enter-scale:initial;--tw-enter-rotate:initial;--tw-enter-translate-x:initial;--tw-enter-translate-y:initial}.fade-in-80{--tw-enter-opacity:0.8}.duration-200{animation-duration:.2s}.token.number{color:#be0c0c!important}.token.boolean{color:rgba(0,0,255,.804)!important}.token.string{color:#0c9b0c!important}.token.null{color:#0b0bdb!important}.file\:border-0::file-selector-button{border-width:0}.file\:bg-transparent::file-selector-button{background-color:transparent}.file\:text-sm::file-selector-button{font-size:.875rem;line-height:1.25rem}.file\:font-medium::file-selector-button{font-weight:500}.placeholder\:text-muted-foreground::-moz-placeholder{color:hsl(var(--muted-foreground))}.placeholder\:text-muted-foreground::placeholder{color:hsl(var(--muted-foreground))}.hover\:bg-accent:hover{background-color:hsl(var(--accent))}.hover\:bg-destructive\/80:hover{background-color:hsl(var(--destructive)/.8)}.hover\:bg-destructive\/90:hover{background-color:hsl(var(--destructive)/.9)}.hover\:bg-gray-100:hover{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.hover\:bg-muted\/50:hover{background-color:hsl(var(--muted)/.5)}.hover\:bg-primary\/80:hover{background-color:hsl(var(--primary)/.8)}.hover\:bg-primary\/90:hover{background-color:hsl(var(--primary)/.9)}.hover\:bg-secondary\/80:hover{background-color:hsl(var(--secondary)/.8)}.hover\:bg-success\/80:hover{background-color:hsl(var(--success)/.8)}.hover\:bg-warning\/80:hover{background-color:hsl(var(--warning)/.8)}.hover\:text-accent-foreground:hover{color:hsl(var(--accent-foreground))}.hover\:text-blue-400:hover{--tw-text-opacity:1;color:rgb(96 165 250/var(--tw-text-opacity))}.hover\:underline:hover{text-decoration-line:underline}.hover\:opacity-100:hover{opacity:1}.focus\:bg-accent:focus{background-color:hsl(var(--accent))}.focus\:text-accent-foreground:focus{color:hsl(var(--accent-foreground))}.focus\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}.focus\:ring-2:focus{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.focus\:ring-ring:focus{--tw-ring-color:hsl(var(--ring))}.focus\:ring-offset-2:focus{--tw-ring-offset-width:2px}.focus-visible\:outline-none:focus-visible{outline:2px solid transparent;outline-offset:2px}.focus-visible\:ring-2:focus-visible{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.focus-visible\:ring-ring:focus-visible{--tw-ring-color:hsl(var(--ring))}.focus-visible\:ring-offset-2:focus-visible{--tw-ring-offset-width:2px}.disabled\:pointer-events-none:disabled{pointer-events:none}.disabled\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\:opacity-50:disabled{opacity:.5}.peer:disabled~.peer-disabled\:cursor-not-allowed{cursor:not-allowed}.peer:disabled~.peer-disabled\:opacity-70{opacity:.7}.aria-selected\:bg-accent[aria-selected=true]{background-color:hsl(var(--accent))}.aria-selected\:text-accent-foreground[aria-selected=true]{color:hsl(var(--accent-foreground))}.data-\[disabled\]\:pointer-events-none[data-disabled]{pointer-events:none}.data-\[side\=bottom\]\:translate-y-1[data-side=bottom]{--tw-translate-y:0.25rem}.data-\[side\=bottom\]\:translate-y-1[data-side=bottom],.data-\[side\=left\]\:-translate-x-1[data-side=left]{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.data-\[side\=left\]\:-translate-x-1[data-side=left]{--tw-translate-x:-0.25rem}.data-\[side\=right\]\:translate-x-1[data-side=right]{--tw-translate-x:0.25rem}.data-\[side\=right\]\:translate-x-1[data-side=right],.data-\[side\=top\]\:-translate-y-1[data-side=top]{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.data-\[side\=top\]\:-translate-y-1[data-side=top]{--tw-translate-y:-0.25rem}.data-\[state\=active\]\:bg-background[data-state=active]{background-color:hsl(var(--background))}.data-\[state\=open\]\:bg-accent[data-state=open]{background-color:hsl(var(--accent))}.data-\[state\=selected\]\:bg-muted[data-state=selected]{background-color:hsl(var(--muted))}.data-\[state\=active\]\:text-foreground[data-state=active]{color:hsl(var(--foreground))}.data-\[state\=open\]\:text-accent-foreground[data-state=open]{color:hsl(var(--accent-foreground))}.data-\[state\=open\]\:text-muted-foreground[data-state=open]{color:hsl(var(--muted-foreground))}.data-\[disabled\]\:opacity-50[data-disabled]{opacity:.5}.data-\[state\=active\]\:shadow-sm[data-state=active]{--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.data-\[state\=open\]\:animate-in[data-state=open]{animation-name:enter;animation-duration:.15s;--tw-enter-opacity:initial;--tw-enter-scale:initial;--tw-enter-rotate:initial;--tw-enter-translate-x:initial;--tw-enter-translate-y:initial}.data-\[state\=closed\]\:animate-out[data-state=closed]{animation-name:exit;animation-duration:.15s;--tw-exit-opacity:initial;--tw-exit-scale:initial;--tw-exit-rotate:initial;--tw-exit-translate-x:initial;--tw-exit-translate-y:initial}.data-\[state\=closed\]\:fade-out-0[data-state=closed]{--tw-exit-opacity:0}.data-\[state\=open\]\:fade-in-0[data-state=open]{--tw-enter-opacity:0}.data-\[state\=closed\]\:zoom-out-95[data-state=closed]{--tw-exit-scale:.95}.data-\[state\=open\]\:zoom-in-95[data-state=open]{--tw-enter-scale:.95}.data-\[side\=bottom\]\:slide-in-from-top-2[data-side=bottom]{--tw-enter-translate-y:-0.5rem}.data-\[side\=left\]\:slide-in-from-right-2[data-side=left]{--tw-enter-translate-x:0.5rem}.data-\[side\=right\]\:slide-in-from-left-2[data-side=right]{--tw-enter-translate-x:-0.5rem}.data-\[side\=top\]\:slide-in-from-bottom-2[data-side=top]{--tw-enter-translate-y:0.5rem}.data-\[state\=closed\]\:slide-out-to-left-1\/2[data-state=closed]{--tw-exit-translate-x:-50%}.data-\[state\=closed\]\:slide-out-to-top-\[48\%\][data-state=closed]{--tw-exit-translate-y:-48%}.data-\[state\=open\]\:slide-in-from-left-1\/2[data-state=open]{--tw-enter-translate-x:-50%}.data-\[state\=open\]\:slide-in-from-top-\[48\%\][data-state=open]{--tw-enter-translate-y:-48%}@media (min-width:640px){.sm\:flex-row{flex-direction:row}.sm\:items-center{align-items:center}.sm\:justify-end{justify-content:flex-end}.sm\:space-x-2>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0;margin-right:calc(.5rem * var(--tw-space-x-reverse));margin-left:calc(.5rem * calc(1 - var(--tw-space-x-reverse)))}.sm\:space-y-0>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-top:calc(0px * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(0px * var(--tw-space-y-reverse))}.sm\:rounded-lg{border-radius:var(--radius)}.sm\:text-left{text-align:left}}@media (min-width:768px){.md\:flex{display:flex}.md\:h-16{height:4rem}.md\:grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.md\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (min-width:1024px){.lg\:col-span-4{grid-column:span 4/span 4}.lg\:block{display:block}.lg\:grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.lg\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.lg\:grid-cols-5{grid-template-columns:repeat(5,minmax(0,1fr))}.lg\:border-l{border-left-width:1px}.lg\:px-8{padding-left:2rem;padding-right:2rem}}.\[\&\:has\(\[role\=checkbox\]\)\]\:pr-0:has([role=checkbox]){padding-right:0}.\[\&\>\[role\=checkbox\]\]\:translate-y-\[2px\]>[role=checkbox]{--tw-translate-y:2px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.\[\&\>span\]\:line-clamp-1>span{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:1}.\[\&\>tr\]\:last\:border-b-0:last-child>tr{border-bottom-width:0}.\[\&_\[cmdk-group-heading\]\]\:px-2 [cmdk-group-heading]{padding-left:.5rem;padding-right:.5rem}.\[\&_\[cmdk-group-heading\]\]\:py-1\.5 [cmdk-group-heading]{padding-top:.375rem;padding-bottom:.375rem}.\[\&_\[cmdk-group-heading\]\]\:text-xs [cmdk-group-heading]{font-size:.75rem;line-height:1rem}.\[\&_\[cmdk-group-heading\]\]\:font-medium [cmdk-group-heading]{font-weight:500}.\[\&_\[cmdk-group-heading\]\]\:text-muted-foreground [cmdk-group-heading]{color:hsl(var(--muted-foreground))}.\[\&_\[cmdk-group\]\:not\(\[hidden\]\)_\~\[cmdk-group\]\]\:pt-0 [cmdk-group]:not([hidden])~[cmdk-group]{padding-top:0}.\[\&_\[cmdk-group\]\]\:px-2 [cmdk-group]{padding-left:.5rem;padding-right:.5rem}.\[\&_\[cmdk-input-wrapper\]_svg\]\:h-5 [cmdk-input-wrapper] svg{height:1.25rem}.\[\&_\[cmdk-input-wrapper\]_svg\]\:w-5 [cmdk-input-wrapper] svg{width:1.25rem}.\[\&_\[cmdk-input\]\]\:h-12 [cmdk-input]{height:3rem}.\[\&_\[cmdk-item\]\]\:px-2 [cmdk-item]{padding-left:.5rem;padding-right:.5rem}.\[\&_\[cmdk-item\]\]\:py-3 [cmdk-item]{padding-top:.75rem;padding-bottom:.75rem}.\[\&_\[cmdk-item\]_svg\]\:h-5 [cmdk-item] svg{height:1.25rem}.\[\&_\[cmdk-item\]_svg\]\:w-5 [cmdk-item] svg{width:1.25rem}.\[\&_tr\:last-child\]\:border-0 tr:last-child{border-width:0}.\[\&_tr\]\:border-b tr{border-bottom-width:1px}@font-face{font-family:__Inter_36bd41;font-style:normal;font-weight:100 900;font-display:swap;src:url(/_next/static/media/55c55f0601d81cf3-s.woff2) format("woff2");unicode-range:u+0460-052f,u+1c80-1c88,u+20b4,u+2de0-2dff,u+a640-a69f,u+fe2e-fe2f}@font-face{font-family:__Inter_36bd41;font-style:normal;font-weight:100 900;font-display:swap;src:url(/_next/static/media/26a46d62cd723877-s.woff2) format("woff2");unicode-range:u+0301,u+0400-045f,u+0490-0491,u+04b0-04b1,u+2116}@font-face{font-family:__Inter_36bd41;font-style:normal;font-weight:100 900;font-display:swap;src:url(/_next/static/media/97e0cb1ae144a2a9-s.woff2) format("woff2");unicode-range:u+1f??}@font-face{font-family:__Inter_36bd41;font-style:normal;font-weight:100 900;font-display:swap;src:url(/_next/static/media/581909926a08bbc8-s.woff2) format("woff2");unicode-range:u+0370-0377,u+037a-037f,u+0384-038a,u+038c,u+038e-03a1,u+03a3-03ff}@font-face{font-family:__Inter_36bd41;font-style:normal;font-weight:100 900;font-display:swap;src:url(/_next/static/media/df0a9ae256c0569c-s.woff2) format("woff2");unicode-range:u+0102-0103,u+0110-0111,u+0128-0129,u+0168-0169,u+01a0-01a1,u+01af-01b0,u+0300-0301,u+0303-0304,u+0308-0309,u+0323,u+0329,u+1ea0-1ef9,u+20ab}@font-face{font-family:__Inter_36bd41;font-style:normal;font-weight:100 900;font-display:swap;src:url(/_next/static/media/6d93bde91c0c2823-s.woff2) format("woff2");unicode-range:u+0100-02af,u+0304,u+0308,u+0329,u+1e00-1e9f,u+1ef2-1eff,u+2020,u+20a0-20ab,u+20ad-20c0,u+2113,u+2c60-2c7f,u+a720-a7ff}@font-face{font-family:__Inter_36bd41;font-style:normal;font-weight:100 900;font-display:swap;src:url(/_next/static/media/a34f9d1faa5f3315-s.p.woff2) format("woff2");unicode-range:u+00??,u+0131,u+0152-0153,u+02bb-02bc,u+02c6,u+02da,u+02dc,u+0304,u+0308,u+0329,u+2000-206f,u+2074,u+20ac,u+2122,u+2191,u+2193,u+2212,u+2215,u+feff,u+fffd}@font-face{font-family:__Inter_Fallback_36bd41;src:local("Arial");ascent-override:90.20%;descent-override:22.48%;line-gap-override:0.00%;size-adjust:107.40%}.__className_36bd41{font-family:__Inter_36bd41,__Inter_Fallback_36bd41;font-style:normal}.__variable_36bd41{--font-sans:"__Inter_36bd41","__Inter_Fallback_36bd41"} \ No newline at end of file diff --git a/xtraplatform-ops/src/main/resources/dashboard/_next/static/css/638ae1adeca02e8b.css b/xtraplatform-ops/src/main/resources/dashboard/_next/static/css/638ae1adeca02e8b.css deleted file mode 100644 index dfe4b90c..00000000 --- a/xtraplatform-ops/src/main/resources/dashboard/_next/static/css/638ae1adeca02e8b.css +++ /dev/null @@ -1,3 +0,0 @@ -/* -! tailwindcss v3.4.1 | MIT License | https://tailwindcss.com -*/*,:after,:before{box-sizing:border-box;border:0 solid #e5e7eb}:after,:before{--tw-content:""}:host,html{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:var(--font-sans),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,pre,samp{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}[type=button],[type=reset],[type=submit],button{-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,dd,dl,figure,h1,h2,h3,h4,h5,h6,hr,p,pre{margin:0}fieldset{margin:0}fieldset,legend{padding:0}menu,ol,ul{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}[role=button],button{cursor:pointer}:disabled{cursor:default}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]{display:none}:root{--background:0 0% 100%;--foreground:222.2 84% 4.9%;--card:0 0% 100%;--card-foreground:222.2 84% 4.9%;--popover:0 0% 100%;--popover-foreground:222.2 84% 4.9%;--primary:221.2 83.2% 53.3%;--primary-foreground:210 40% 98%;--secondary:210 40% 96.1%;--secondary-foreground:222.2 47.4% 11.2%;--muted:210 40% 96.1%;--muted-foreground:215.4 16.3% 46.9%;--accent:210 40% 96.1%;--accent-foreground:222.2 47.4% 11.2%;--destructive:0 84.2% 60.2%;--destructive-foreground:210 40% 98%;--success:102,84%,60%;--warning:48,84%,60%;--border:214.3 31.8% 91.4%;--input:214.3 31.8% 91.4%;--ring:221.2 83.2% 53.3%;--radius:0.5rem}*{border-color:hsl(var(--border))}body{background-color:hsl(var(--background));color:hsl(var(--foreground))}*,:after,:before{--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:rgba(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:rgba(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: }.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.inset-0{inset:0}.left-2{left:.5rem}.left-\[50\%\]{left:50%}.right-4{right:1rem}.top-4{top:1rem}.top-\[50\%\]{top:50%}.z-50{z-index:50}.col-span-3{grid-column:span 3/span 3}.-mx-1{margin-left:-.25rem;margin-right:-.25rem}.my-1{margin-top:.25rem}.mb-1,.my-1{margin-bottom:.25rem}.mb-2{margin-bottom:.5rem}.mb-4{margin-bottom:1rem}.ml-2{margin-left:.5rem}.ml-4{margin-left:1rem}.ml-8{margin-left:2rem}.ml-auto{margin-left:auto}.mr-2{margin-right:.5rem}.mr-\[-1px\]{margin-right:-1px}.mt-2{margin-top:.5rem}.mt-4{margin-top:1rem}.inline{display:inline}.flex{display:flex}.inline-flex{display:inline-flex}.\!table{display:table!important}.table{display:table}.grid{display:grid}.hidden{display:none}.h-10{height:2.5rem}.h-11{height:2.75rem}.h-2{height:.5rem}.h-2\.5{height:.625rem}.h-24{height:6rem}.h-3{height:.75rem}.h-3\.5{height:.875rem}.h-4{height:1rem}.h-6{height:1.5rem}.h-9{height:2.25rem}.h-\[1px\]{height:1px}.h-\[var\(--radix-select-trigger-height\)\]{height:var(--radix-select-trigger-height)}.h-full{height:100%}.h-px{height:1px}.max-h-96{max-height:24rem}.max-h-\[300px\]{max-height:300px}.min-h-screen{min-height:100vh}.w-10{width:2.5rem}.w-2{width:.5rem}.w-2\.5{width:.625rem}.w-3{width:.75rem}.w-3\.5{width:.875rem}.w-4{width:1rem}.w-6{width:1.5rem}.w-72{width:18rem}.w-\[1px\]{width:1px}.w-full{width:100%}.min-w-\[12rem\]{min-width:12rem}.min-w-\[8rem\]{min-width:8rem}.min-w-\[var\(--radix-select-trigger-width\)\]{min-width:var(--radix-select-trigger-width)}.max-w-lg{max-width:32rem}.max-w-sm{max-width:24rem}.flex-1{flex:1 1 0%}.shrink-0{flex-shrink:0}.caption-bottom{caption-side:bottom}.translate-x-\[-50\%\]{--tw-translate-x:-50%}.translate-x-\[-50\%\],.translate-y-\[-50\%\]{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-y-\[-50\%\]{--tw-translate-y:-50%}.cursor-default{cursor:default}.cursor-pointer{cursor:pointer}.touch-none{touch-action:none}.select-none{-webkit-user-select:none;-moz-user-select:none;user-select:none}.flex-row{flex-direction:row}.flex-col{flex-direction:column}.flex-col-reverse{flex-direction:column-reverse}.items-start{align-items:flex-start}.items-center{align-items:center}.justify-start{justify-content:flex-start}.justify-end{justify-content:flex-end}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-4{gap:1rem}.space-x-1>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0;margin-right:calc(.25rem * var(--tw-space-x-reverse));margin-left:calc(.25rem * calc(1 - var(--tw-space-x-reverse)))}.space-x-2>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0;margin-right:calc(.5rem * var(--tw-space-x-reverse));margin-left:calc(.5rem * calc(1 - var(--tw-space-x-reverse)))}.space-y-0>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-top:calc(0px * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(0px * var(--tw-space-y-reverse))}.space-y-1>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-top:calc(.25rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.25rem * var(--tw-space-y-reverse))}.space-y-1\.5>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-top:calc(.375rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.375rem * var(--tw-space-y-reverse))}.space-y-2>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-top:calc(.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.5rem * var(--tw-space-y-reverse))}.space-y-4>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-top:calc(1rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1rem * var(--tw-space-y-reverse))}.space-y-6>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-top:calc(1.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1.5rem * var(--tw-space-y-reverse))}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.overflow-y-auto{overflow-y:auto}.overflow-x-hidden{overflow-x:hidden}.whitespace-nowrap{white-space:nowrap}.break-normal{overflow-wrap:normal;word-break:normal}.rounded-\[inherit\]{border-radius:inherit}.rounded-full{border-radius:9999px}.rounded-lg{border-radius:var(--radius)}.rounded-md{border-radius:calc(var(--radius) - 2px)}.rounded-sm{border-radius:calc(var(--radius) - 4px)}.border{border-width:1px}.border-b{border-bottom-width:1px}.border-l{border-left-width:1px}.border-t{border-top-width:1px}.border-input{border-color:hsl(var(--input))}.border-transparent{border-color:transparent}.border-l-transparent{border-left-color:transparent}.border-t-transparent{border-top-color:transparent}.bg-background{background-color:hsl(var(--background))}.bg-black\/80{background-color:rgba(0,0,0,.8)}.bg-border{background-color:hsl(var(--border))}.bg-card{background-color:hsl(var(--card))}.bg-destructive{background-color:hsl(var(--destructive))}.bg-muted{background-color:hsl(var(--muted))}.bg-muted\/50{background-color:hsl(var(--muted)/.5)}.bg-popover{background-color:hsl(var(--popover))}.bg-primary{background-color:hsl(var(--primary))}.bg-secondary{background-color:hsl(var(--secondary))}.bg-success{background-color:hsl(var(--success))}.bg-transparent{background-color:transparent}.bg-warning{background-color:hsl(var(--warning))}.fill-current{fill:currentColor}.p-0{padding:0}.p-1{padding:.25rem}.p-2{padding:.5rem}.p-4{padding:1rem}.p-6{padding:1.5rem}.p-8{padding:2rem}.p-\[1px\]{padding:1px}.px-2{padding-left:.5rem;padding-right:.5rem}.px-2\.5{padding-left:.625rem;padding-right:.625rem}.px-3{padding-left:.75rem;padding-right:.75rem}.px-4{padding-left:1rem;padding-right:1rem}.px-8{padding-left:2rem;padding-right:2rem}.py-0{padding-top:0;padding-bottom:0}.py-0\.5{padding-top:.125rem;padding-bottom:.125rem}.py-1{padding-top:.25rem;padding-bottom:.25rem}.py-1\.5{padding-top:.375rem;padding-bottom:.375rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.py-3{padding-top:.75rem;padding-bottom:.75rem}.py-4{padding-top:1rem;padding-bottom:1rem}.py-6{padding-top:1.5rem;padding-bottom:1.5rem}.pb-0{padding-bottom:0}.pb-12{padding-bottom:3rem}.pb-2{padding-bottom:.5rem}.pl-8{padding-left:2rem}.pr-2{padding-right:.5rem}.pt-0{padding-top:0}.pt-6{padding-top:1.5rem}.text-left{text-align:left}.text-center{text-align:center}.align-middle{vertical-align:middle}.font-sans{font-family:var(--font-sans),ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji"}.text-2xl{font-size:1.5rem;line-height:2rem}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xs{font-size:.75rem;line-height:1rem}.font-bold{font-weight:700}.font-medium{font-weight:500}.font-semibold{font-weight:600}.capitalize{text-transform:capitalize}.leading-none{line-height:1}.tracking-tight{letter-spacing:-.025em}.tracking-widest{letter-spacing:.1em}.text-blue-500{--tw-text-opacity:1;color:rgb(59 130 246/var(--tw-text-opacity))}.text-blue-700{--tw-text-opacity:1;color:rgb(29 78 216/var(--tw-text-opacity))}.text-card-foreground{color:hsl(var(--card-foreground))}.text-destructive{color:hsl(var(--destructive))}.text-destructive-foreground{color:hsl(var(--destructive-foreground))}.text-foreground{color:hsl(var(--foreground))}.text-muted-foreground{color:hsl(var(--muted-foreground))}.text-popover-foreground{color:hsl(var(--popover-foreground))}.text-primary{color:hsl(var(--primary))}.text-primary-foreground{color:hsl(var(--primary-foreground))}.text-secondary-foreground{color:hsl(var(--secondary-foreground))}.text-success{color:hsl(var(--success))}.text-success-foreground{color:hsl(var(--destructive-foreground))}.text-warning{color:hsl(var(--warning))}.text-warning-foreground{color:hsl(var(--destructive-foreground))}.underline-offset-4{text-underline-offset:4px}.antialiased{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.opacity-50{opacity:.5}.opacity-60{opacity:.6}.opacity-70{opacity:.7}.shadow-lg{--tw-shadow:0 10px 15px -3px rgba(0,0,0,.1),0 4px 6px -4px rgba(0,0,0,.1);--tw-shadow-colored:0 10px 15px -3px var(--tw-shadow-color),0 4px 6px -4px var(--tw-shadow-color)}.shadow-lg,.shadow-md{box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.shadow-md{--tw-shadow:0 4px 6px -1px rgba(0,0,0,.1),0 2px 4px -2px rgba(0,0,0,.1);--tw-shadow-colored:0 4px 6px -1px var(--tw-shadow-color),0 2px 4px -2px var(--tw-shadow-color)}.shadow-sm{--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.outline-none{outline:2px solid transparent;outline-offset:2px}.outline{outline-style:solid}.ring-offset-background{--tw-ring-offset-color:hsl(var(--background))}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.transition-all{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-colors{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-opacity{transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.duration-200{transition-duration:.2s}@keyframes enter{0%{opacity:var(--tw-enter-opacity,1);transform:translate3d(var(--tw-enter-translate-x,0),var(--tw-enter-translate-y,0),0) scale3d(var(--tw-enter-scale,1),var(--tw-enter-scale,1),var(--tw-enter-scale,1)) rotate(var(--tw-enter-rotate,0))}}@keyframes exit{to{opacity:var(--tw-exit-opacity,1);transform:translate3d(var(--tw-exit-translate-x,0),var(--tw-exit-translate-y,0),0) scale3d(var(--tw-exit-scale,1),var(--tw-exit-scale,1),var(--tw-exit-scale,1)) rotate(var(--tw-exit-rotate,0))}}.animate-in{animation-name:enter;animation-duration:.15s;--tw-enter-opacity:initial;--tw-enter-scale:initial;--tw-enter-rotate:initial;--tw-enter-translate-x:initial;--tw-enter-translate-y:initial}.fade-in-80{--tw-enter-opacity:0.8}.duration-200{animation-duration:.2s}.token.number{color:#be0c0c!important}.token.boolean{color:rgba(0,0,255,.804)!important}.token.string{color:#0c9b0c!important}.token.null{color:#0b0bdb!important}.file\:border-0::file-selector-button{border-width:0}.file\:bg-transparent::file-selector-button{background-color:transparent}.file\:text-sm::file-selector-button{font-size:.875rem;line-height:1.25rem}.file\:font-medium::file-selector-button{font-weight:500}.placeholder\:text-muted-foreground::-moz-placeholder{color:hsl(var(--muted-foreground))}.placeholder\:text-muted-foreground::placeholder{color:hsl(var(--muted-foreground))}.hover\:bg-accent:hover{background-color:hsl(var(--accent))}.hover\:bg-destructive\/80:hover{background-color:hsl(var(--destructive)/.8)}.hover\:bg-destructive\/90:hover{background-color:hsl(var(--destructive)/.9)}.hover\:bg-gray-100:hover{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.hover\:bg-muted\/50:hover{background-color:hsl(var(--muted)/.5)}.hover\:bg-primary\/80:hover{background-color:hsl(var(--primary)/.8)}.hover\:bg-primary\/90:hover{background-color:hsl(var(--primary)/.9)}.hover\:bg-secondary\/80:hover{background-color:hsl(var(--secondary)/.8)}.hover\:bg-success\/80:hover{background-color:hsl(var(--success)/.8)}.hover\:bg-warning\/80:hover{background-color:hsl(var(--warning)/.8)}.hover\:text-accent-foreground:hover{color:hsl(var(--accent-foreground))}.hover\:text-blue-400:hover{--tw-text-opacity:1;color:rgb(96 165 250/var(--tw-text-opacity))}.hover\:underline:hover{text-decoration-line:underline}.hover\:opacity-100:hover{opacity:1}.focus\:bg-accent:focus{background-color:hsl(var(--accent))}.focus\:text-accent-foreground:focus{color:hsl(var(--accent-foreground))}.focus\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}.focus\:ring-2:focus{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.focus\:ring-ring:focus{--tw-ring-color:hsl(var(--ring))}.focus\:ring-offset-2:focus{--tw-ring-offset-width:2px}.focus-visible\:outline-none:focus-visible{outline:2px solid transparent;outline-offset:2px}.focus-visible\:ring-2:focus-visible{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.focus-visible\:ring-ring:focus-visible{--tw-ring-color:hsl(var(--ring))}.focus-visible\:ring-offset-2:focus-visible{--tw-ring-offset-width:2px}.disabled\:pointer-events-none:disabled{pointer-events:none}.disabled\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\:opacity-50:disabled{opacity:.5}.peer:disabled~.peer-disabled\:cursor-not-allowed{cursor:not-allowed}.peer:disabled~.peer-disabled\:opacity-70{opacity:.7}.aria-selected\:bg-accent[aria-selected=true]{background-color:hsl(var(--accent))}.aria-selected\:text-accent-foreground[aria-selected=true]{color:hsl(var(--accent-foreground))}.data-\[disabled\]\:pointer-events-none[data-disabled]{pointer-events:none}.data-\[side\=bottom\]\:translate-y-1[data-side=bottom]{--tw-translate-y:0.25rem}.data-\[side\=bottom\]\:translate-y-1[data-side=bottom],.data-\[side\=left\]\:-translate-x-1[data-side=left]{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.data-\[side\=left\]\:-translate-x-1[data-side=left]{--tw-translate-x:-0.25rem}.data-\[side\=right\]\:translate-x-1[data-side=right]{--tw-translate-x:0.25rem}.data-\[side\=right\]\:translate-x-1[data-side=right],.data-\[side\=top\]\:-translate-y-1[data-side=top]{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.data-\[side\=top\]\:-translate-y-1[data-side=top]{--tw-translate-y:-0.25rem}.data-\[state\=active\]\:bg-background[data-state=active]{background-color:hsl(var(--background))}.data-\[state\=open\]\:bg-accent[data-state=open]{background-color:hsl(var(--accent))}.data-\[state\=selected\]\:bg-muted[data-state=selected]{background-color:hsl(var(--muted))}.data-\[state\=active\]\:text-foreground[data-state=active]{color:hsl(var(--foreground))}.data-\[state\=open\]\:text-accent-foreground[data-state=open]{color:hsl(var(--accent-foreground))}.data-\[state\=open\]\:text-muted-foreground[data-state=open]{color:hsl(var(--muted-foreground))}.data-\[disabled\]\:opacity-50[data-disabled]{opacity:.5}.data-\[state\=active\]\:shadow-sm[data-state=active]{--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.data-\[state\=open\]\:animate-in[data-state=open]{animation-name:enter;animation-duration:.15s;--tw-enter-opacity:initial;--tw-enter-scale:initial;--tw-enter-rotate:initial;--tw-enter-translate-x:initial;--tw-enter-translate-y:initial}.data-\[state\=closed\]\:animate-out[data-state=closed]{animation-name:exit;animation-duration:.15s;--tw-exit-opacity:initial;--tw-exit-scale:initial;--tw-exit-rotate:initial;--tw-exit-translate-x:initial;--tw-exit-translate-y:initial}.data-\[state\=closed\]\:fade-out-0[data-state=closed]{--tw-exit-opacity:0}.data-\[state\=open\]\:fade-in-0[data-state=open]{--tw-enter-opacity:0}.data-\[state\=closed\]\:zoom-out-95[data-state=closed]{--tw-exit-scale:.95}.data-\[state\=open\]\:zoom-in-95[data-state=open]{--tw-enter-scale:.95}.data-\[side\=bottom\]\:slide-in-from-top-2[data-side=bottom]{--tw-enter-translate-y:-0.5rem}.data-\[side\=left\]\:slide-in-from-right-2[data-side=left]{--tw-enter-translate-x:0.5rem}.data-\[side\=right\]\:slide-in-from-left-2[data-side=right]{--tw-enter-translate-x:-0.5rem}.data-\[side\=top\]\:slide-in-from-bottom-2[data-side=top]{--tw-enter-translate-y:0.5rem}.data-\[state\=closed\]\:slide-out-to-left-1\/2[data-state=closed]{--tw-exit-translate-x:-50%}.data-\[state\=closed\]\:slide-out-to-top-\[48\%\][data-state=closed]{--tw-exit-translate-y:-48%}.data-\[state\=open\]\:slide-in-from-left-1\/2[data-state=open]{--tw-enter-translate-x:-50%}.data-\[state\=open\]\:slide-in-from-top-\[48\%\][data-state=open]{--tw-enter-translate-y:-48%}@media (min-width:640px){.sm\:flex-row{flex-direction:row}.sm\:items-center{align-items:center}.sm\:justify-end{justify-content:flex-end}.sm\:space-x-2>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0;margin-right:calc(.5rem * var(--tw-space-x-reverse));margin-left:calc(.5rem * calc(1 - var(--tw-space-x-reverse)))}.sm\:space-y-0>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-top:calc(0px * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(0px * var(--tw-space-y-reverse))}.sm\:rounded-lg{border-radius:var(--radius)}.sm\:text-left{text-align:left}}@media (min-width:768px){.md\:flex{display:flex}.md\:h-16{height:4rem}.md\:grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.md\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (min-width:1024px){.lg\:col-span-4{grid-column:span 4/span 4}.lg\:block{display:block}.lg\:grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.lg\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.lg\:grid-cols-5{grid-template-columns:repeat(5,minmax(0,1fr))}.lg\:border-l{border-left-width:1px}.lg\:px-8{padding-left:2rem;padding-right:2rem}}.\[\&\:has\(\[role\=checkbox\]\)\]\:pr-0:has([role=checkbox]){padding-right:0}.\[\&\>\[role\=checkbox\]\]\:translate-y-\[2px\]>[role=checkbox]{--tw-translate-y:2px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.\[\&\>span\]\:line-clamp-1>span{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:1}.\[\&\>tr\]\:last\:border-b-0:last-child>tr{border-bottom-width:0}.\[\&_\[cmdk-group-heading\]\]\:px-2 [cmdk-group-heading]{padding-left:.5rem;padding-right:.5rem}.\[\&_\[cmdk-group-heading\]\]\:py-1\.5 [cmdk-group-heading]{padding-top:.375rem;padding-bottom:.375rem}.\[\&_\[cmdk-group-heading\]\]\:text-xs [cmdk-group-heading]{font-size:.75rem;line-height:1rem}.\[\&_\[cmdk-group-heading\]\]\:font-medium [cmdk-group-heading]{font-weight:500}.\[\&_\[cmdk-group-heading\]\]\:text-muted-foreground [cmdk-group-heading]{color:hsl(var(--muted-foreground))}.\[\&_\[cmdk-group\]\:not\(\[hidden\]\)_\~\[cmdk-group\]\]\:pt-0 [cmdk-group]:not([hidden])~[cmdk-group]{padding-top:0}.\[\&_\[cmdk-group\]\]\:px-2 [cmdk-group]{padding-left:.5rem;padding-right:.5rem}.\[\&_\[cmdk-input-wrapper\]_svg\]\:h-5 [cmdk-input-wrapper] svg{height:1.25rem}.\[\&_\[cmdk-input-wrapper\]_svg\]\:w-5 [cmdk-input-wrapper] svg{width:1.25rem}.\[\&_\[cmdk-input\]\]\:h-12 [cmdk-input]{height:3rem}.\[\&_\[cmdk-item\]\]\:px-2 [cmdk-item]{padding-left:.5rem;padding-right:.5rem}.\[\&_\[cmdk-item\]\]\:py-3 [cmdk-item]{padding-top:.75rem;padding-bottom:.75rem}.\[\&_\[cmdk-item\]_svg\]\:h-5 [cmdk-item] svg{height:1.25rem}.\[\&_\[cmdk-item\]_svg\]\:w-5 [cmdk-item] svg{width:1.25rem}.\[\&_tr\:last-child\]\:border-0 tr:last-child{border-width:0}.\[\&_tr\]\:border-b tr{border-bottom-width:1px}@font-face{font-family:__Inter_aaf875;font-style:normal;font-weight:100 900;font-display:swap;src:url(/_next/static/media/ec159349637c90ad-s.woff2) format("woff2");unicode-range:u+0460-052f,u+1c80-1c88,u+20b4,u+2de0-2dff,u+a640-a69f,u+fe2e-fe2f}@font-face{font-family:__Inter_aaf875;font-style:normal;font-weight:100 900;font-display:swap;src:url(/_next/static/media/513657b02c5c193f-s.woff2) format("woff2");unicode-range:u+0301,u+0400-045f,u+0490-0491,u+04b0-04b1,u+2116}@font-face{font-family:__Inter_aaf875;font-style:normal;font-weight:100 900;font-display:swap;src:url(/_next/static/media/fd4db3eb5472fc27-s.woff2) format("woff2");unicode-range:u+1f??}@font-face{font-family:__Inter_aaf875;font-style:normal;font-weight:100 900;font-display:swap;src:url(/_next/static/media/51ed15f9841b9f9d-s.woff2) format("woff2");unicode-range:u+0370-0377,u+037a-037f,u+0384-038a,u+038c,u+038e-03a1,u+03a3-03ff}@font-face{font-family:__Inter_aaf875;font-style:normal;font-weight:100 900;font-display:swap;src:url(/_next/static/media/05a31a2ca4975f99-s.woff2) format("woff2");unicode-range:u+0102-0103,u+0110-0111,u+0128-0129,u+0168-0169,u+01a0-01a1,u+01af-01b0,u+0300-0301,u+0303-0304,u+0308-0309,u+0323,u+0329,u+1ea0-1ef9,u+20ab}@font-face{font-family:__Inter_aaf875;font-style:normal;font-weight:100 900;font-display:swap;src:url(/_next/static/media/d6b16ce4a6175f26-s.woff2) format("woff2");unicode-range:u+0100-02af,u+0304,u+0308,u+0329,u+1e00-1e9f,u+1ef2-1eff,u+2020,u+20a0-20ab,u+20ad-20c0,u+2113,u+2c60-2c7f,u+a720-a7ff}@font-face{font-family:__Inter_aaf875;font-style:normal;font-weight:100 900;font-display:swap;src:url(/_next/static/media/c9a5bc6a7c948fb0-s.p.woff2) format("woff2");unicode-range:u+00??,u+0131,u+0152-0153,u+02bb-02bc,u+02c6,u+02da,u+02dc,u+0304,u+0308,u+0329,u+2000-206f,u+2074,u+20ac,u+2122,u+2191,u+2193,u+2212,u+2215,u+feff,u+fffd}@font-face{font-family:__Inter_Fallback_aaf875;src:local("Arial");ascent-override:90.20%;descent-override:22.48%;line-gap-override:0.00%;size-adjust:107.40%}.__className_aaf875{font-family:__Inter_aaf875,__Inter_Fallback_aaf875;font-style:normal}.__variable_aaf875{--font-sans:"__Inter_aaf875","__Inter_Fallback_aaf875"} \ No newline at end of file diff --git a/xtraplatform-ops/src/main/resources/dashboard/_next/static/media/05a31a2ca4975f99-s.woff2 b/xtraplatform-ops/src/main/resources/dashboard/_next/static/media/05a31a2ca4975f99-s.woff2 deleted file mode 100644 index cbcdad70..00000000 Binary files a/xtraplatform-ops/src/main/resources/dashboard/_next/static/media/05a31a2ca4975f99-s.woff2 and /dev/null differ diff --git a/xtraplatform-ops/src/main/resources/dashboard/_next/static/media/26a46d62cd723877-s.woff2 b/xtraplatform-ops/src/main/resources/dashboard/_next/static/media/26a46d62cd723877-s.woff2 new file mode 100644 index 00000000..3a27e632 Binary files /dev/null and b/xtraplatform-ops/src/main/resources/dashboard/_next/static/media/26a46d62cd723877-s.woff2 differ diff --git a/xtraplatform-ops/src/main/resources/dashboard/_next/static/media/513657b02c5c193f-s.woff2 b/xtraplatform-ops/src/main/resources/dashboard/_next/static/media/513657b02c5c193f-s.woff2 deleted file mode 100644 index fd86d822..00000000 Binary files a/xtraplatform-ops/src/main/resources/dashboard/_next/static/media/513657b02c5c193f-s.woff2 and /dev/null differ diff --git a/xtraplatform-ops/src/main/resources/dashboard/_next/static/media/51ed15f9841b9f9d-s.woff2 b/xtraplatform-ops/src/main/resources/dashboard/_next/static/media/51ed15f9841b9f9d-s.woff2 deleted file mode 100644 index 49132b59..00000000 Binary files a/xtraplatform-ops/src/main/resources/dashboard/_next/static/media/51ed15f9841b9f9d-s.woff2 and /dev/null differ diff --git a/xtraplatform-ops/src/main/resources/dashboard/_next/static/media/55c55f0601d81cf3-s.woff2 b/xtraplatform-ops/src/main/resources/dashboard/_next/static/media/55c55f0601d81cf3-s.woff2 new file mode 100644 index 00000000..bcf38fd1 Binary files /dev/null and b/xtraplatform-ops/src/main/resources/dashboard/_next/static/media/55c55f0601d81cf3-s.woff2 differ diff --git a/xtraplatform-ops/src/main/resources/dashboard/_next/static/media/581909926a08bbc8-s.woff2 b/xtraplatform-ops/src/main/resources/dashboard/_next/static/media/581909926a08bbc8-s.woff2 new file mode 100644 index 00000000..b419d430 Binary files /dev/null and b/xtraplatform-ops/src/main/resources/dashboard/_next/static/media/581909926a08bbc8-s.woff2 differ diff --git a/xtraplatform-ops/src/main/resources/dashboard/_next/static/media/6d93bde91c0c2823-s.woff2 b/xtraplatform-ops/src/main/resources/dashboard/_next/static/media/6d93bde91c0c2823-s.woff2 new file mode 100644 index 00000000..47b01cc0 Binary files /dev/null and b/xtraplatform-ops/src/main/resources/dashboard/_next/static/media/6d93bde91c0c2823-s.woff2 differ diff --git a/xtraplatform-ops/src/main/resources/dashboard/_next/static/media/97e0cb1ae144a2a9-s.woff2 b/xtraplatform-ops/src/main/resources/dashboard/_next/static/media/97e0cb1ae144a2a9-s.woff2 new file mode 100644 index 00000000..7fdf0b94 Binary files /dev/null and b/xtraplatform-ops/src/main/resources/dashboard/_next/static/media/97e0cb1ae144a2a9-s.woff2 differ diff --git a/xtraplatform-ops/src/main/resources/dashboard/_next/static/media/a34f9d1faa5f3315-s.p.woff2 b/xtraplatform-ops/src/main/resources/dashboard/_next/static/media/a34f9d1faa5f3315-s.p.woff2 new file mode 100644 index 00000000..0d91b7ab Binary files /dev/null and b/xtraplatform-ops/src/main/resources/dashboard/_next/static/media/a34f9d1faa5f3315-s.p.woff2 differ diff --git a/xtraplatform-ops/src/main/resources/dashboard/_next/static/media/c9a5bc6a7c948fb0-s.p.woff2 b/xtraplatform-ops/src/main/resources/dashboard/_next/static/media/c9a5bc6a7c948fb0-s.p.woff2 deleted file mode 100644 index 3edd2e53..00000000 Binary files a/xtraplatform-ops/src/main/resources/dashboard/_next/static/media/c9a5bc6a7c948fb0-s.p.woff2 and /dev/null differ diff --git a/xtraplatform-ops/src/main/resources/dashboard/_next/static/media/d6b16ce4a6175f26-s.woff2 b/xtraplatform-ops/src/main/resources/dashboard/_next/static/media/d6b16ce4a6175f26-s.woff2 deleted file mode 100644 index 725ee6b6..00000000 Binary files a/xtraplatform-ops/src/main/resources/dashboard/_next/static/media/d6b16ce4a6175f26-s.woff2 and /dev/null differ diff --git a/xtraplatform-ops/src/main/resources/dashboard/_next/static/media/df0a9ae256c0569c-s.woff2 b/xtraplatform-ops/src/main/resources/dashboard/_next/static/media/df0a9ae256c0569c-s.woff2 new file mode 100644 index 00000000..072229b8 Binary files /dev/null and b/xtraplatform-ops/src/main/resources/dashboard/_next/static/media/df0a9ae256c0569c-s.woff2 differ diff --git a/xtraplatform-ops/src/main/resources/dashboard/_next/static/media/ec159349637c90ad-s.woff2 b/xtraplatform-ops/src/main/resources/dashboard/_next/static/media/ec159349637c90ad-s.woff2 deleted file mode 100644 index 3c039fcc..00000000 Binary files a/xtraplatform-ops/src/main/resources/dashboard/_next/static/media/ec159349637c90ad-s.woff2 and /dev/null differ diff --git a/xtraplatform-ops/src/main/resources/dashboard/_next/static/media/fd4db3eb5472fc27-s.woff2 b/xtraplatform-ops/src/main/resources/dashboard/_next/static/media/fd4db3eb5472fc27-s.woff2 deleted file mode 100644 index 7f60b426..00000000 Binary files a/xtraplatform-ops/src/main/resources/dashboard/_next/static/media/fd4db3eb5472fc27-s.woff2 and /dev/null differ diff --git a/xtraplatform-ops/src/main/resources/dashboard/deployment.html b/xtraplatform-ops/src/main/resources/dashboard/deployment.html index f7ea43dd..23fb8592 100644 --- a/xtraplatform-ops/src/main/resources/dashboard/deployment.html +++ b/xtraplatform-ops/src/main/resources/dashboard/deployment.html @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/xtraplatform-ops/src/main/resources/dashboard/deployment.txt b/xtraplatform-ops/src/main/resources/dashboard/deployment.txt index 2de4db58..2b390994 100644 --- a/xtraplatform-ops/src/main/resources/dashboard/deployment.txt +++ b/xtraplatform-ops/src/main/resources/dashboard/deployment.txt @@ -1,9 +1,9 @@ 2:I[7831,[],""] -3:I[1462,["310","static/chunks/0e5ce63c-1adf26e39f15d56f.js","285","static/chunks/285-75e30224a2290122.js","792","static/chunks/792-45682e6b42908294.js","639","static/chunks/639-7ca681a6ddf8c75e.js","788","static/chunks/788-92a9a86f4c7e197a.js","267","static/chunks/267-65ac11d9b36d01fb.js","549","static/chunks/549-9e802070de5ff105.js","374","static/chunks/app/deployment/page-963638aa864605b8.js"],""] +3:I[4228,["310","static/chunks/0e5ce63c-bee405407af375c1.js","658","static/chunks/658-93ad8c692bdd7f1f.js","792","static/chunks/792-45682e6b42908294.js","594","static/chunks/594-485dda5fe4260faf.js","788","static/chunks/788-92a9a86f4c7e197a.js","267","static/chunks/267-65ac11d9b36d01fb.js","758","static/chunks/758-254461fc01af928e.js","617","static/chunks/617-16bea1354cf938cd.js","913","static/chunks/913-eb258f9bf4d550a2.js","374","static/chunks/app/deployment/page-f0f06471e43c0f19.js"],""] 4:I[5613,[],""] 5:I[1778,[],""] -6:I[4456,["310","static/chunks/0e5ce63c-1adf26e39f15d56f.js","285","static/chunks/285-75e30224a2290122.js","792","static/chunks/792-45682e6b42908294.js","185","static/chunks/app/layout-85f076f6052b8a97.js"],""] +6:I[4456,["310","static/chunks/0e5ce63c-bee405407af375c1.js","658","static/chunks/658-93ad8c692bdd7f1f.js","792","static/chunks/792-45682e6b42908294.js","185","static/chunks/app/layout-dada1cbc7ecffa87.js"],""] 7:{} -0:["nD6-RHq6D_GhmrBRPSlWB",[[["",{"children":["deployment",{"children":["__PAGE__",{}]}]},"$undefined","$undefined",true],["",{"children":["deployment",{"children":["__PAGE__",{},["$L1",["$","$L2",null,{"propsForComponent":{"params":{}},"Component":"$3","isStaticGeneration":true}],null]]},["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","deployment","children"],"loading":"$undefined","loadingStyles":"$undefined","loadingScripts":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined","styles":[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/01def51f7bdb826d.css","precedence":"next","crossOrigin":""}]]}]]},[null,["$","$L6",null,{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children"],"loading":"$undefined","loadingStyles":"$undefined","loadingScripts":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":"404"}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],"notFoundStyles":[],"styles":null}],"params":"$7"}],null]],[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/638ae1adeca02e8b.css","precedence":"next","crossOrigin":""}]],"$L8"]]]] +0:["MuFh4XCQRg0zbfu819Cfz",[[["",{"children":["deployment",{"children":["__PAGE__",{}]}]},"$undefined","$undefined",true],["",{"children":["deployment",{"children":["__PAGE__",{},["$L1",["$","$L2",null,{"propsForComponent":{"params":{}},"Component":"$3","isStaticGeneration":true}],null]]},["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","deployment","children"],"loading":"$undefined","loadingStyles":"$undefined","loadingScripts":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined","styles":[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/01def51f7bdb826d.css","precedence":"next","crossOrigin":""}]]}]]},[null,["$","$L6",null,{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children"],"loading":"$undefined","loadingStyles":"$undefined","loadingScripts":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":"404"}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],"notFoundStyles":[],"styles":null}],"params":"$7"}],null]],[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/3dc49d221dc166f4.css","precedence":"next","crossOrigin":""}]],"$L8"]]]] 8:[["$","meta","0",{"name":"viewport","content":"width=device-width, initial-scale=1"}],["$","meta","1",{"charSet":"utf-8"}],["$","link","2",{"rel":"icon","href":"/favicon.ico","type":"image/x-icon","sizes":"16x16"}],["$","meta","3",{"name":"next-size-adjust"}]] 1:null diff --git a/xtraplatform-ops/src/main/resources/dashboard/entities.html b/xtraplatform-ops/src/main/resources/dashboard/entities.html index 7b81a487..3f91c661 100644 --- a/xtraplatform-ops/src/main/resources/dashboard/entities.html +++ b/xtraplatform-ops/src/main/resources/dashboard/entities.html @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/xtraplatform-ops/src/main/resources/dashboard/entities.txt b/xtraplatform-ops/src/main/resources/dashboard/entities.txt index 75be50b2..6236d7b6 100644 --- a/xtraplatform-ops/src/main/resources/dashboard/entities.txt +++ b/xtraplatform-ops/src/main/resources/dashboard/entities.txt @@ -1,9 +1,9 @@ 2:I[7831,[],""] -3:I[3813,["310","static/chunks/0e5ce63c-1adf26e39f15d56f.js","285","static/chunks/285-75e30224a2290122.js","792","static/chunks/792-45682e6b42908294.js","639","static/chunks/639-7ca681a6ddf8c75e.js","146","static/chunks/app/entities/page-dc18e2ae0b3649cf.js"],""] +3:I[3813,["310","static/chunks/0e5ce63c-bee405407af375c1.js","658","static/chunks/658-93ad8c692bdd7f1f.js","792","static/chunks/792-45682e6b42908294.js","594","static/chunks/594-485dda5fe4260faf.js","617","static/chunks/617-16bea1354cf938cd.js","146","static/chunks/app/entities/page-bffaaf9cc978e3ba.js"],""] 4:I[5613,[],""] 5:I[1778,[],""] -6:I[4456,["310","static/chunks/0e5ce63c-1adf26e39f15d56f.js","285","static/chunks/285-75e30224a2290122.js","792","static/chunks/792-45682e6b42908294.js","185","static/chunks/app/layout-85f076f6052b8a97.js"],""] +6:I[4456,["310","static/chunks/0e5ce63c-bee405407af375c1.js","658","static/chunks/658-93ad8c692bdd7f1f.js","792","static/chunks/792-45682e6b42908294.js","185","static/chunks/app/layout-dada1cbc7ecffa87.js"],""] 7:{} -0:["nD6-RHq6D_GhmrBRPSlWB",[[["",{"children":["entities",{"children":["__PAGE__",{}]}]},"$undefined","$undefined",true],["",{"children":["entities",{"children":["__PAGE__",{},["$L1",["$","$L2",null,{"propsForComponent":{"params":{}},"Component":"$3","isStaticGeneration":true}],null]]},["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","entities","children"],"loading":"$undefined","loadingStyles":"$undefined","loadingScripts":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined","styles":null}]]},[null,["$","$L6",null,{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children"],"loading":"$undefined","loadingStyles":"$undefined","loadingScripts":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":"404"}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],"notFoundStyles":[],"styles":null}],"params":"$7"}],null]],[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/638ae1adeca02e8b.css","precedence":"next","crossOrigin":""}]],"$L8"]]]] +0:["MuFh4XCQRg0zbfu819Cfz",[[["",{"children":["entities",{"children":["__PAGE__",{}]}]},"$undefined","$undefined",true],["",{"children":["entities",{"children":["__PAGE__",{},["$L1",["$","$L2",null,{"propsForComponent":{"params":{}},"Component":"$3","isStaticGeneration":true}],null]]},["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","entities","children"],"loading":"$undefined","loadingStyles":"$undefined","loadingScripts":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined","styles":null}]]},[null,["$","$L6",null,{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children"],"loading":"$undefined","loadingStyles":"$undefined","loadingScripts":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":"404"}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],"notFoundStyles":[],"styles":null}],"params":"$7"}],null]],[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/3dc49d221dc166f4.css","precedence":"next","crossOrigin":""}]],"$L8"]]]] 8:[["$","meta","0",{"name":"viewport","content":"width=device-width, initial-scale=1"}],["$","meta","1",{"charSet":"utf-8"}],["$","link","2",{"rel":"icon","href":"/favicon.ico","type":"image/x-icon","sizes":"16x16"}],["$","meta","3",{"name":"next-size-adjust"}]] 1:null diff --git a/xtraplatform-ops/src/main/resources/dashboard/entities/details.html b/xtraplatform-ops/src/main/resources/dashboard/entities/details.html index e63a3fbe..48b31369 100644 --- a/xtraplatform-ops/src/main/resources/dashboard/entities/details.html +++ b/xtraplatform-ops/src/main/resources/dashboard/entities/details.html @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/xtraplatform-ops/src/main/resources/dashboard/entities/details.txt b/xtraplatform-ops/src/main/resources/dashboard/entities/details.txt index 4f06fe03..776069a9 100644 --- a/xtraplatform-ops/src/main/resources/dashboard/entities/details.txt +++ b/xtraplatform-ops/src/main/resources/dashboard/entities/details.txt @@ -1,9 +1,9 @@ 2:I[7831,[],""] -3:I[767,["310","static/chunks/0e5ce63c-1adf26e39f15d56f.js","285","static/chunks/285-75e30224a2290122.js","639","static/chunks/639-7ca681a6ddf8c75e.js","788","static/chunks/788-92a9a86f4c7e197a.js","267","static/chunks/267-65ac11d9b36d01fb.js","549","static/chunks/549-9e802070de5ff105.js","58","static/chunks/app/entities/details/page-b738fac965ef055f.js"],""] +3:I[767,["310","static/chunks/0e5ce63c-bee405407af375c1.js","658","static/chunks/658-93ad8c692bdd7f1f.js","594","static/chunks/594-485dda5fe4260faf.js","788","static/chunks/788-92a9a86f4c7e197a.js","267","static/chunks/267-65ac11d9b36d01fb.js","758","static/chunks/758-254461fc01af928e.js","913","static/chunks/913-eb258f9bf4d550a2.js","58","static/chunks/app/entities/details/page-bacc3c8612f881f4.js"],""] 4:I[5613,[],""] 5:I[1778,[],""] -6:I[4456,["310","static/chunks/0e5ce63c-1adf26e39f15d56f.js","285","static/chunks/285-75e30224a2290122.js","792","static/chunks/792-45682e6b42908294.js","185","static/chunks/app/layout-85f076f6052b8a97.js"],""] +6:I[4456,["310","static/chunks/0e5ce63c-bee405407af375c1.js","658","static/chunks/658-93ad8c692bdd7f1f.js","792","static/chunks/792-45682e6b42908294.js","185","static/chunks/app/layout-dada1cbc7ecffa87.js"],""] 7:{} -0:["nD6-RHq6D_GhmrBRPSlWB",[[["",{"children":["entities",{"children":["details",{"children":["__PAGE__",{}]}]}]},"$undefined","$undefined",true],["",{"children":["entities",{"children":["details",{"children":["__PAGE__",{},["$L1",["$","$L2",null,{"propsForComponent":{"params":{}},"Component":"$3","isStaticGeneration":true}],null]]},["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","entities","children","details","children"],"loading":"$undefined","loadingStyles":"$undefined","loadingScripts":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined","styles":[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/01def51f7bdb826d.css","precedence":"next","crossOrigin":""}]]}]]},["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","entities","children"],"loading":"$undefined","loadingStyles":"$undefined","loadingScripts":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined","styles":null}]]},[null,["$","$L6",null,{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children"],"loading":"$undefined","loadingStyles":"$undefined","loadingScripts":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":"404"}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],"notFoundStyles":[],"styles":null}],"params":"$7"}],null]],[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/638ae1adeca02e8b.css","precedence":"next","crossOrigin":""}]],"$L8"]]]] +0:["MuFh4XCQRg0zbfu819Cfz",[[["",{"children":["entities",{"children":["details",{"children":["__PAGE__",{}]}]}]},"$undefined","$undefined",true],["",{"children":["entities",{"children":["details",{"children":["__PAGE__",{},["$L1",["$","$L2",null,{"propsForComponent":{"params":{}},"Component":"$3","isStaticGeneration":true}],null]]},["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","entities","children","details","children"],"loading":"$undefined","loadingStyles":"$undefined","loadingScripts":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined","styles":[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/01def51f7bdb826d.css","precedence":"next","crossOrigin":""}]]}]]},["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","entities","children"],"loading":"$undefined","loadingStyles":"$undefined","loadingScripts":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined","styles":null}]]},[null,["$","$L6",null,{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children"],"loading":"$undefined","loadingStyles":"$undefined","loadingScripts":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":"404"}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],"notFoundStyles":[],"styles":null}],"params":"$7"}],null]],[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/3dc49d221dc166f4.css","precedence":"next","crossOrigin":""}]],"$L8"]]]] 8:[["$","meta","0",{"name":"viewport","content":"width=device-width, initial-scale=1"}],["$","meta","1",{"charSet":"utf-8"}],["$","link","2",{"rel":"icon","href":"/favicon.ico","type":"image/x-icon","sizes":"16x16"}],["$","meta","3",{"name":"next-size-adjust"}]] 1:null diff --git a/xtraplatform-ops/src/main/resources/dashboard/home.html b/xtraplatform-ops/src/main/resources/dashboard/home.html new file mode 100644 index 00000000..8c33d95b --- /dev/null +++ b/xtraplatform-ops/src/main/resources/dashboard/home.html @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/xtraplatform-ops/src/main/resources/dashboard/home.txt b/xtraplatform-ops/src/main/resources/dashboard/home.txt new file mode 100644 index 00000000..117ae036 --- /dev/null +++ b/xtraplatform-ops/src/main/resources/dashboard/home.txt @@ -0,0 +1,9 @@ +2:I[7831,[],""] +3:I[6829,["310","static/chunks/0e5ce63c-bee405407af375c1.js","658","static/chunks/658-93ad8c692bdd7f1f.js","792","static/chunks/792-45682e6b42908294.js","951","static/chunks/app/home/page-3c1b52fce65ef1b2.js"],""] +4:I[5613,[],""] +5:I[1778,[],""] +6:I[4456,["310","static/chunks/0e5ce63c-bee405407af375c1.js","658","static/chunks/658-93ad8c692bdd7f1f.js","792","static/chunks/792-45682e6b42908294.js","185","static/chunks/app/layout-dada1cbc7ecffa87.js"],""] +7:{} +0:["MuFh4XCQRg0zbfu819Cfz",[[["",{"children":["home",{"children":["__PAGE__",{}]}]},"$undefined","$undefined",true],["",{"children":["home",{"children":["__PAGE__",{},["$L1",["$","$L2",null,{"propsForComponent":{"params":{}},"Component":"$3","isStaticGeneration":true}],null]]},["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","home","children"],"loading":"$undefined","loadingStyles":"$undefined","loadingScripts":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined","styles":null}]]},[null,["$","$L6",null,{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children"],"loading":"$undefined","loadingStyles":"$undefined","loadingScripts":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":"404"}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],"notFoundStyles":[],"styles":null}],"params":"$7"}],null]],[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/3dc49d221dc166f4.css","precedence":"next","crossOrigin":""}]],"$L8"]]]] +8:[["$","meta","0",{"name":"viewport","content":"width=device-width, initial-scale=1"}],["$","meta","1",{"charSet":"utf-8"}],["$","link","2",{"rel":"icon","href":"/favicon.ico","type":"image/x-icon","sizes":"16x16"}],["$","meta","3",{"name":"next-size-adjust"}]] +1:null diff --git a/xtraplatform-ops/src/main/resources/dashboard/index.html b/xtraplatform-ops/src/main/resources/dashboard/index.html index b06d3269..427676a3 100644 --- a/xtraplatform-ops/src/main/resources/dashboard/index.html +++ b/xtraplatform-ops/src/main/resources/dashboard/index.html @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/xtraplatform-ops/src/main/resources/dashboard/index.txt b/xtraplatform-ops/src/main/resources/dashboard/index.txt index 3b53355d..da167b6e 100644 --- a/xtraplatform-ops/src/main/resources/dashboard/index.txt +++ b/xtraplatform-ops/src/main/resources/dashboard/index.txt @@ -1,9 +1,9 @@ 2:I[7831,[],""] -3:I[8836,["931","static/chunks/app/page-b88e8470efa74c73.js"],""] -4:I[4456,["310","static/chunks/0e5ce63c-1adf26e39f15d56f.js","285","static/chunks/285-75e30224a2290122.js","792","static/chunks/792-45682e6b42908294.js","185","static/chunks/app/layout-85f076f6052b8a97.js"],""] +3:I[8836,["931","static/chunks/app/page-83e28707c73b949f.js"],""] +4:I[4456,["310","static/chunks/0e5ce63c-bee405407af375c1.js","658","static/chunks/658-93ad8c692bdd7f1f.js","792","static/chunks/792-45682e6b42908294.js","185","static/chunks/app/layout-dada1cbc7ecffa87.js"],""] 5:I[5613,[],""] 6:I[1778,[],""] 7:{} -0:["nD6-RHq6D_GhmrBRPSlWB",[[["",{"children":["__PAGE__",{}]},"$undefined","$undefined",true],["",{"children":["__PAGE__",{},["$L1",["$","$L2",null,{"propsForComponent":{"params":{}},"Component":"$3","isStaticGeneration":true}],null]]},[null,["$","$L4",null,{"children":["$","$L5",null,{"parallelRouterKey":"children","segmentPath":["children"],"loading":"$undefined","loadingStyles":"$undefined","loadingScripts":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L6",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":"404"}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],"notFoundStyles":[],"styles":null}],"params":"$7"}],null]],[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/638ae1adeca02e8b.css","precedence":"next","crossOrigin":""}]],"$L8"]]]] +0:["MuFh4XCQRg0zbfu819Cfz",[[["",{"children":["__PAGE__",{}]},"$undefined","$undefined",true],["",{"children":["__PAGE__",{},["$L1",["$","$L2",null,{"propsForComponent":{"params":{}},"Component":"$3","isStaticGeneration":true}],null]]},[null,["$","$L4",null,{"children":["$","$L5",null,{"parallelRouterKey":"children","segmentPath":["children"],"loading":"$undefined","loadingStyles":"$undefined","loadingScripts":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L6",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":"404"}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],"notFoundStyles":[],"styles":null}],"params":"$7"}],null]],[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/3dc49d221dc166f4.css","precedence":"next","crossOrigin":""}]],"$L8"]]]] 8:[["$","meta","0",{"name":"viewport","content":"width=device-width, initial-scale=1"}],["$","meta","1",{"charSet":"utf-8"}],["$","link","2",{"rel":"icon","href":"/favicon.ico","type":"image/x-icon","sizes":"16x16"}],["$","meta","3",{"name":"next-size-adjust"}]] 1:null diff --git a/xtraplatform-ops/src/main/resources/dashboard/values.html b/xtraplatform-ops/src/main/resources/dashboard/values.html index 3fdc1c99..5d49cfb5 100644 --- a/xtraplatform-ops/src/main/resources/dashboard/values.html +++ b/xtraplatform-ops/src/main/resources/dashboard/values.html @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/xtraplatform-ops/src/main/resources/dashboard/values.txt b/xtraplatform-ops/src/main/resources/dashboard/values.txt index af910aa8..cdd5b003 100644 --- a/xtraplatform-ops/src/main/resources/dashboard/values.txt +++ b/xtraplatform-ops/src/main/resources/dashboard/values.txt @@ -1,9 +1,9 @@ 2:I[7831,[],""] -3:I[5949,["310","static/chunks/0e5ce63c-1adf26e39f15d56f.js","285","static/chunks/285-75e30224a2290122.js","792","static/chunks/792-45682e6b42908294.js","639","static/chunks/639-7ca681a6ddf8c75e.js","788","static/chunks/788-92a9a86f4c7e197a.js","548","static/chunks/app/values/page-e4c21ceec8b7b171.js"],""] +3:I[5949,["310","static/chunks/0e5ce63c-bee405407af375c1.js","658","static/chunks/658-93ad8c692bdd7f1f.js","792","static/chunks/792-45682e6b42908294.js","594","static/chunks/594-485dda5fe4260faf.js","788","static/chunks/788-92a9a86f4c7e197a.js","617","static/chunks/617-16bea1354cf938cd.js","548","static/chunks/app/values/page-36f92cb02552aed5.js"],""] 4:I[5613,[],""] 5:I[1778,[],""] -6:I[4456,["310","static/chunks/0e5ce63c-1adf26e39f15d56f.js","285","static/chunks/285-75e30224a2290122.js","792","static/chunks/792-45682e6b42908294.js","185","static/chunks/app/layout-85f076f6052b8a97.js"],""] +6:I[4456,["310","static/chunks/0e5ce63c-bee405407af375c1.js","658","static/chunks/658-93ad8c692bdd7f1f.js","792","static/chunks/792-45682e6b42908294.js","185","static/chunks/app/layout-dada1cbc7ecffa87.js"],""] 7:{} -0:["nD6-RHq6D_GhmrBRPSlWB",[[["",{"children":["values",{"children":["__PAGE__",{}]}]},"$undefined","$undefined",true],["",{"children":["values",{"children":["__PAGE__",{},["$L1",["$","$L2",null,{"propsForComponent":{"params":{}},"Component":"$3","isStaticGeneration":true}],null]]},["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","values","children"],"loading":"$undefined","loadingStyles":"$undefined","loadingScripts":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined","styles":null}]]},[null,["$","$L6",null,{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children"],"loading":"$undefined","loadingStyles":"$undefined","loadingScripts":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":"404"}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],"notFoundStyles":[],"styles":null}],"params":"$7"}],null]],[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/638ae1adeca02e8b.css","precedence":"next","crossOrigin":""}]],"$L8"]]]] +0:["MuFh4XCQRg0zbfu819Cfz",[[["",{"children":["values",{"children":["__PAGE__",{}]}]},"$undefined","$undefined",true],["",{"children":["values",{"children":["__PAGE__",{},["$L1",["$","$L2",null,{"propsForComponent":{"params":{}},"Component":"$3","isStaticGeneration":true}],null]]},["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","values","children"],"loading":"$undefined","loadingStyles":"$undefined","loadingScripts":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined","styles":null}]]},[null,["$","$L6",null,{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children"],"loading":"$undefined","loadingStyles":"$undefined","loadingScripts":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":"404"}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],"notFoundStyles":[],"styles":null}],"params":"$7"}],null]],[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/3dc49d221dc166f4.css","precedence":"next","crossOrigin":""}]],"$L8"]]]] 8:[["$","meta","0",{"name":"viewport","content":"width=device-width, initial-scale=1"}],["$","meta","1",{"charSet":"utf-8"}],["$","link","2",{"rel":"icon","href":"/favicon.ico","type":"image/x-icon","sizes":"16x16"}],["$","meta","3",{"name":"next-size-adjust"}]] 1:null diff --git a/xtraplatform-ops/src/main/resources/dashboard/values/details.html b/xtraplatform-ops/src/main/resources/dashboard/values/details.html index cfeaeb09..cc71084d 100644 --- a/xtraplatform-ops/src/main/resources/dashboard/values/details.html +++ b/xtraplatform-ops/src/main/resources/dashboard/values/details.html @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/xtraplatform-ops/src/main/resources/dashboard/values/details.txt b/xtraplatform-ops/src/main/resources/dashboard/values/details.txt index 0799393e..5f2173ef 100644 --- a/xtraplatform-ops/src/main/resources/dashboard/values/details.txt +++ b/xtraplatform-ops/src/main/resources/dashboard/values/details.txt @@ -1,9 +1,9 @@ 2:I[7831,[],""] -3:I[8376,["310","static/chunks/0e5ce63c-1adf26e39f15d56f.js","285","static/chunks/285-75e30224a2290122.js","267","static/chunks/267-65ac11d9b36d01fb.js","582","static/chunks/app/values/details/page-c112a5c848929656.js"],""] +3:I[8376,["310","static/chunks/0e5ce63c-bee405407af375c1.js","658","static/chunks/658-93ad8c692bdd7f1f.js","267","static/chunks/267-65ac11d9b36d01fb.js","582","static/chunks/app/values/details/page-d41f4290b2c7fd6a.js"],""] 4:I[5613,[],""] 5:I[1778,[],""] -6:I[4456,["310","static/chunks/0e5ce63c-1adf26e39f15d56f.js","285","static/chunks/285-75e30224a2290122.js","792","static/chunks/792-45682e6b42908294.js","185","static/chunks/app/layout-85f076f6052b8a97.js"],""] +6:I[4456,["310","static/chunks/0e5ce63c-bee405407af375c1.js","658","static/chunks/658-93ad8c692bdd7f1f.js","792","static/chunks/792-45682e6b42908294.js","185","static/chunks/app/layout-dada1cbc7ecffa87.js"],""] 7:{} -0:["nD6-RHq6D_GhmrBRPSlWB",[[["",{"children":["values",{"children":["details",{"children":["__PAGE__",{}]}]}]},"$undefined","$undefined",true],["",{"children":["values",{"children":["details",{"children":["__PAGE__",{},["$L1",["$","$L2",null,{"propsForComponent":{"params":{}},"Component":"$3","isStaticGeneration":true}],null]]},["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","values","children","details","children"],"loading":"$undefined","loadingStyles":"$undefined","loadingScripts":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined","styles":[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/01def51f7bdb826d.css","precedence":"next","crossOrigin":""}]]}]]},["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","values","children"],"loading":"$undefined","loadingStyles":"$undefined","loadingScripts":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined","styles":null}]]},[null,["$","$L6",null,{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children"],"loading":"$undefined","loadingStyles":"$undefined","loadingScripts":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":"404"}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],"notFoundStyles":[],"styles":null}],"params":"$7"}],null]],[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/638ae1adeca02e8b.css","precedence":"next","crossOrigin":""}]],"$L8"]]]] +0:["MuFh4XCQRg0zbfu819Cfz",[[["",{"children":["values",{"children":["details",{"children":["__PAGE__",{}]}]}]},"$undefined","$undefined",true],["",{"children":["values",{"children":["details",{"children":["__PAGE__",{},["$L1",["$","$L2",null,{"propsForComponent":{"params":{}},"Component":"$3","isStaticGeneration":true}],null]]},["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","values","children","details","children"],"loading":"$undefined","loadingStyles":"$undefined","loadingScripts":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined","styles":[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/01def51f7bdb826d.css","precedence":"next","crossOrigin":""}]]}]]},["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","values","children"],"loading":"$undefined","loadingStyles":"$undefined","loadingScripts":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined","styles":null}]]},[null,["$","$L6",null,{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children"],"loading":"$undefined","loadingStyles":"$undefined","loadingScripts":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":"404"}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],"notFoundStyles":[],"styles":null}],"params":"$7"}],null]],[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/3dc49d221dc166f4.css","precedence":"next","crossOrigin":""}]],"$L8"]]]] 8:[["$","meta","0",{"name":"viewport","content":"width=device-width, initial-scale=1"}],["$","meta","1",{"charSet":"utf-8"}],["$","link","2",{"rel":"icon","href":"/favicon.ico","type":"image/x-icon","sizes":"16x16"}],["$","meta","3",{"name":"next-size-adjust"}]] 1:null diff --git a/xtraplatform-ops/src/main/resources/openapi.json b/xtraplatform-ops/src/main/resources/openapi.json index 6072a2a6..7e684f26 100644 --- a/xtraplatform-ops/src/main/resources/openapi.json +++ b/xtraplatform-ops/src/main/resources/openapi.json @@ -83,7 +83,7 @@ }, "/ping": { "get": { - "summary": "Metrics", + "summary": "Ping", "responses": { "200": { "description": "successful operation", @@ -103,7 +103,7 @@ }, "/threads": { "get": { - "summary": "Metrics", + "summary": "Threads", "responses": { "200": { "description": "successful operation", @@ -117,6 +117,23 @@ } } } + }, + "/jobs": { + "get": { + "summary": "Jobs", + "responses": { + "200": { + "description": "successful operation", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + } + } + } } } } \ No newline at end of file diff --git a/xtraplatform-ops/src/main/resources/openapi.yml b/xtraplatform-ops/src/main/resources/openapi.yml index 7566f5e0..75117845 100644 --- a/xtraplatform-ops/src/main/resources/openapi.yml +++ b/xtraplatform-ops/src/main/resources/openapi.yml @@ -49,7 +49,7 @@ paths: type: object /ping: get: - summary: Metrics + summary: Ping responses: '200': description: successful operation @@ -61,7 +61,7 @@ paths: - pong /threads: get: - summary: Metrics + summary: Threads responses: '200': description: successful operation @@ -69,3 +69,13 @@ paths: text/plain: schema: type: string + /jobs: + get: + summary: Jobs + responses: + '200': + description: successful operation + content: + application/json: + schema: + type: object diff --git a/xtraplatform-services/src/main/java/de/ii/xtraplatform/services/app/SchedulerCron4j.java b/xtraplatform-services/src/main/java/de/ii/xtraplatform/services/app/SchedulerCron4j.java index a534f710..f5ae061f 100644 --- a/xtraplatform-services/src/main/java/de/ii/xtraplatform/services/app/SchedulerCron4j.java +++ b/xtraplatform-services/src/main/java/de/ii/xtraplatform/services/app/SchedulerCron4j.java @@ -254,6 +254,10 @@ private void addLogging(TaskCron4j taskCron4j, TaskStatus taskStatus, int thread String threadName = "bg-task-" + threadNum; Thread.currentThread().setName(threadName); + if (taskCron4j.getTask().isSilent()) { + return; + } + Task task = taskCron4j.getTask(); task.logContext(); String partialSuffix = diff --git a/xtraplatform-services/src/main/java/de/ii/xtraplatform/services/domain/ServiceBackgroundTask.java b/xtraplatform-services/src/main/java/de/ii/xtraplatform/services/domain/ServiceBackgroundTask.java index 67082171..845920cd 100644 --- a/xtraplatform-services/src/main/java/de/ii/xtraplatform/services/domain/ServiceBackgroundTask.java +++ b/xtraplatform-services/src/main/java/de/ii/xtraplatform/services/domain/ServiceBackgroundTask.java @@ -39,23 +39,33 @@ default String getQueue() { } default Task getTask(T service, String label) { - return new BoundTask<>(service, label, getMaxPartials(service), this::run); + return new BoundTask<>(service, label, getMaxPartials(service), isSilent(), this::run); } default void setTrigger(Consumer trigger) {} + default boolean isSilent() { + return false; + } + class BoundTask implements Task { private final T service; private final String label; private final int maxPartials; + private final boolean silent; private final BiConsumer runnable; public BoundTask( - T service, String label, int maxPartials, BiConsumer runnable) { + T service, + String label, + int maxPartials, + boolean silent, + BiConsumer runnable) { this.service = service; this.label = label; this.maxPartials = maxPartials; + this.silent = silent; this.runnable = runnable; } @@ -74,6 +84,11 @@ public int getMaxPartials() { return maxPartials; } + @Override + public boolean isSilent() { + return silent; + } + @Override public void run(TaskContext taskContext) { Runnable taskWithMdc = diff --git a/xtraplatform-services/src/main/java/de/ii/xtraplatform/services/domain/Task.java b/xtraplatform-services/src/main/java/de/ii/xtraplatform/services/domain/Task.java index 635b2052..099c5ae0 100644 --- a/xtraplatform-services/src/main/java/de/ii/xtraplatform/services/domain/Task.java +++ b/xtraplatform-services/src/main/java/de/ii/xtraplatform/services/domain/Task.java @@ -20,6 +20,8 @@ public interface Task { int getMaxPartials(); + boolean isSilent(); + void run(TaskContext taskContext); default void logContext() { diff --git a/xtraplatform-values/src/main/java/de/ii/xtraplatform/values/app/ValueStoreImpl.java b/xtraplatform-values/src/main/java/de/ii/xtraplatform/values/app/ValueStoreImpl.java index 5af4b77a..367fe501 100644 --- a/xtraplatform-values/src/main/java/de/ii/xtraplatform/values/app/ValueStoreImpl.java +++ b/xtraplatform-values/src/main/java/de/ii/xtraplatform/values/app/ValueStoreImpl.java @@ -378,6 +378,11 @@ public CompletableFuture onReady() { return ready; } + @Override + public BlobStore asBlobStore() { + return blobStore; + } + @Override public KeyValueStore forTypeWritable(Class type) { return new ValueStoreDecorator() { diff --git a/xtraplatform-values/src/main/java/de/ii/xtraplatform/values/domain/ValueStore.java b/xtraplatform-values/src/main/java/de/ii/xtraplatform/values/domain/ValueStore.java index 7d3cf9da..a0f9ba9a 100644 --- a/xtraplatform-values/src/main/java/de/ii/xtraplatform/values/domain/ValueStore.java +++ b/xtraplatform-values/src/main/java/de/ii/xtraplatform/values/domain/ValueStore.java @@ -8,6 +8,7 @@ package de.ii.xtraplatform.values.domain; import de.ii.xtraplatform.base.domain.resiliency.Volatile2; +import de.ii.xtraplatform.blobs.domain.BlobStore; import java.util.concurrent.CompletableFuture; public interface ValueStore extends Volatile2 { @@ -17,4 +18,6 @@ public interface ValueStore extends Volatile2 { Values forType(Class type); CompletableFuture onReady(); + + BlobStore asBlobStore(); }